(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{18510:function(e,n,t){"use strict";let r,i,o,a,s,l,c,u,d,p,h,m,f,g,y,_,v,b,k,C,x,T,w,I,R,E,S,P,A;t.r(n),t.d(n,{Breadcrumbs:function(){return tC},BrowserClient:function(){return n1},BrowserProfilingIntegration:function(){return lc},BrowserTracing:function(){return l5},Dedupe:function(){return tw},ErrorBoundary:function(){return lx},Feedback:function(){return a4},FunctionToString:function(){return eu},GlobalHandlers:function(){return tB},HttpContext:function(){return tD},Hub:function(){return en.Xb},InboundFilters:function(){return eg},Integrations:function(){return cj},LinkedErrors:function(){return tU},ModuleMetadata:function(){return eE},Profiler:function(){return l_},Replay:function(){return ac},ReplayCanvas:function(){return aj},SDK_VERSION:function(){return G.J},SEMANTIC_ATTRIBUTE_SENTRY_OP:function(){return eA},SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:function(){return eB},SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:function(){return eP},SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:function(){return eS},Scope:function(){return eN.sX},TryCatch:function(){return tH},WINDOW:function(){return nU},addBreadcrumb:function(){return Q.n_},addEventProcessor:function(){return eZ},addGlobalEventProcessor:function(){return ee.cc},addIntegration:function(){return eo},addTracingExtensions:function(){return nb},breadcrumbsIntegration:function(){return tk},browserApiErrorsIntegration:function(){return tz},browserProfilingIntegration:function(){return ll},browserTracingIntegration:function(){return l4},captureConsoleIntegration:function(){return a8},captureEvent:function(){return Q.eN},captureException:function(){return Q.Tb},captureMessage:function(){return Q.uT},captureSession:function(){return Q.cg},captureUnderscoreErrorException:function(){return cr},captureUserFeedback:function(){return t1},chromeStackLineParser:function(){return n9},close:function(){return Q.xv},configureScope:function(){return Q.e},contextLinesIntegration:function(){return se},continueTrace:function(){return nn},createReduxEnhancer:function(){return lI},createTransport:function(){return nx},createUserFeedbackEnvelope:function(){return n0},debugIntegration:function(){return st},dedupeIntegration:function(){return si},defaultIntegrations:function(){return tZ},defaultRequestInstrumentationOptions:function(){return sw},defaultStackLineParsers:function(){return tc},defaultStackParser:function(){return tu},endSession:function(){return Q.TM},eventFromException:function(){return nQ},eventFromMessage:function(){return nY},exceptionFromError:function(){return n$},extraErrorDataIntegration:function(){return su},extractTraceparentData:function(){return e1},feedbackIntegration:function(){return a5},flush:function(){return Q.yl},forceLoad:function(){return tJ},functionToStringIntegration:function(){return ec},geckoStackLineParser:function(){return tt},getActiveSpan:function(){return ne},getActiveTransaction:function(){return e0},getClient:function(){return Q.s3},getCurrentHub:function(){return en.Gd},getCurrentScope:function(){return Q.nZ},getDefaultIntegrations:function(){return tQ},getHubFromCarrier:function(){return en.vi},getReplay:function(){return ad},getSpanStatusFromHttpCode:function(){return ns},globalHandlersIntegration:function(){return tA},httpClientIntegration:function(){return sp},httpContextIntegration:function(){return tM},inboundFiltersIntegration:function(){return ef},init:function(){return cU},instrumentOutgoingRequests:function(){return sI},isInitialized:function(){return Q.dk},lastEventId:function(){return Q.eW},linkedErrorsIntegration:function(){return tj},makeBrowserOfflineTransport:function(){return s0},makeFetchTransport:function(){return n3},makeMain:function(){return en.pj},makeMultiplexedTransport:function(){return nI},makeXHRTransport:function(){return n5},metrics:function(){return nM},moduleMetadataIntegration:function(){return eR},nextRouterInstrumentation:function(){return l3},onLoad:function(){return tX},onProfilingStartRouteTransaction:function(){return lo},opera10StackLineParser:function(){return ta},opera11StackLineParser:function(){return tl},parameterize:function(){return nD},reactRouterV3BrowserTracingIntegration:function(){return lR},reactRouterV3Instrumentation:function(){return lE},reactRouterV4BrowserTracingIntegration:function(){return lP},reactRouterV4Instrumentation:function(){return lB},reactRouterV5BrowserTracingIntegration:function(){return lA},reactRouterV5Instrumentation:function(){return lN},reactRouterV6BrowserTracingIntegration:function(){return lF},reactRouterV6Instrumentation:function(){return lj},replayCanvasIntegration:function(){return aF},replayIntegration:function(){return al},reportingObserverIntegration:function(){return sb},rewriteFramesIntegration:function(){return ce},sendFeedback:function(){return aZ},sessionTimingIntegration:function(){return sC},setContext:function(){return Q.v},setCurrentClient:function(){return nF},setExtra:function(){return Q.sU},setExtras:function(){return Q.rJ},setHttpStatus:function(){return nc},setMeasurement:function(){return nj},setTag:function(){return Q.YA},setTags:function(){return Q.mG},setUser:function(){return Q.av},showReportDialog:function(){return tY},spanStatusfromHttpCode:function(){return nl},startBrowserTracingNavigationSpan:function(){return sW},startBrowserTracingPageLoadSpan:function(){return sG},startInactiveSpan:function(){return e9},startSession:function(){return Q.yj},startSpan:function(){return e8},startSpanManual:function(){return e7},startTransaction:function(){return Q.Yr},trace:function(){return e6},useProfiler:function(){return lb},winjsStackLineParser:function(){return ti},withActiveSpan:function(){return Q._d},withErrorBoundary:function(){return lT},withIsolationScope:function(){return Q.wi},withProfiler:function(){return lv},withScope:function(){return Q.$e},withSentryConfig:function(){return cq},withSentryGetServerSideProps:function(){return cw},withSentryGetStaticProps:function(){return cm},withSentryReactRouterV6Routing:function(){return lH},withSentryRouting:function(){return lO},withSentryServerSideAppGetInitialProps:function(){return cv},withSentryServerSideDocumentGetInitialProps:function(){return ck},withSentryServerSideErrorGetInitialProps:function(){return cx},withSentryServerSideGetInitialProps:function(){return cy},withServerActionInstrumentation:function(){return cD},wrap:function(){return t0},wrapApiHandlerWithSentryVercelCrons:function(){return cN},wrapAppGetInitialPropsWithSentry:function(){return c_},wrapCreateBrowserRouter:function(){return l$},wrapDocumentGetInitialPropsWithSentry:function(){return cb},wrapErrorGetInitialPropsWithSentry:function(){return cC},wrapGenerationFunctionWithSentry:function(){return cM},wrapGetInitialPropsWithSentry:function(){return cg},wrapGetServerSidePropsWithSentry:function(){return cT},wrapGetStaticPropsWithSentry:function(){return ch},wrapMiddlewareWithSentry:function(){return cL},wrapPageComponentWithSentry:function(){return cO},wrapRouteHandlerWithSentry:function(){return cB},wrapServerComponentWithSentry:function(){return cA},wrapUseRoutes:function(){return lV}});var B,N,L,O,M,D,F,j,U,K,q,z,H,V={};t.r(V),t.d(V,{FunctionToString:function(){return eu},InboundFilters:function(){return eg},LinkedErrors:function(){return ek}});var $={};t.r($),t.d($,{Breadcrumbs:function(){return tC},Dedupe:function(){return tw},GlobalHandlers:function(){return tB},HttpContext:function(){return tD},LinkedErrors:function(){return tU},TryCatch:function(){return tH}});var G=t(26842);function W(e,n,t=[n],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${n}`,packages:t.map(e=>({name:`${r}:@sentry/${e}`,version:G.J})),version:G.J}),e._metadata=i}var Z=t(18745),Q=t(87784),Y=t(47681),J=t(83531),X=t(27359),ee=t(34831),en=t(1804);let et=[];function er(e,n){for(let t of n)t&&t.afterAllSetup&&t.afterAllSetup(e)}function ei(e,n,t){if(t[n.name]){X.X&&J.kg.log(`Integration skipped because it was already installed: ${n.name}`);return}if(t[n.name]=n,-1===et.indexOf(n.name)&&(n.setupOnce(ee.cc,en.Gd),et.push(n.name)),n.setup&&"function"==typeof n.setup&&n.setup(e),e.on&&"function"==typeof n.preprocessEvent){let t=n.preprocessEvent.bind(n);e.on("preprocessEvent",(n,r)=>t(n,r,e))}if(e.addEventProcessor&&"function"==typeof n.processEvent){let t=n.processEvent.bind(n),r=Object.assign((n,r)=>t(n,r,e),{id:n.name});e.addEventProcessor(r)}X.X&&J.kg.log(`Integration installed: ${n.name}`)}function eo(e){let n=(0,Q.s3)();if(!n||!n.addIntegration){X.X&&J.kg.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}n.addIntegration(e)}function ea(e,n){return Object.assign(function(...e){return n(...e)},{id:e})}let es="FunctionToString",el=new WeakMap,ec=()=>({name:es,setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=(0,Z.HK)(this),t=el.has((0,Q.s3)())&&void 0!==n?n:this;return r.apply(t,e)}}catch(e){}},setup(e){el.set(e,!0)}}),eu=ea(es,ec);var ed=t(78253);let ep=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],eh=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],em="InboundFilters",ef=(e={})=>({name:em,setupOnce(){},processEvent:(n,t,r)=>{var i,o;return((i=function(e={},n={}){return{allowUrls:[...e.allowUrls||[],...n.allowUrls||[]],denyUrls:[...e.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...n.ignoreErrors||[],...e.disableErrorDefaults?[]:ep],ignoreTransactions:[...e.ignoreTransactions||[],...n.ignoreTransactions||[],...e.disableTransactionDefaults?[]:eh],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(n)?(X.X&&J.kg.warn(`Event dropped due to being internal Sentry Error. Event: ${(0,Y.jH)(n)}`),0):(o=i.ignoreErrors,!n.type&&o&&o.length&&(function(e){let n;let t=[];e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),X.X&&0===t.length&&J.kg.error(`Could not extract message for event ${(0,Y.jH)(e)}`),t})(n).some(e=>(0,ed.U0)(e,o)))?(X.X&&J.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${(0,Y.jH)(n)}`),0):!function(e,n){if("transaction"!==e.type||!n||!n.length)return!1;let t=e.transaction;return!!t&&(0,ed.U0)(t,n)}(n,i.ignoreTransactions)?!function(e,n){if(!n||!n.length)return!1;let t=ey(e);return!!t&&(0,ed.U0)(t,n)}(n,i.denyUrls)?function(e,n){if(!n||!n.length)return!0;let t=ey(e);return!t||(0,ed.U0)(t,n)}(n,i.allowUrls)||(X.X&&J.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${(0,Y.jH)(n)}. Url: ${ey(n)}`),0):(X.X&&J.kg.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${(0,Y.jH)(n)}. Url: ${ey(n)}`),0):(X.X&&J.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${(0,Y.jH)(n)}`),0))?n:null}}),eg=ea(em,ef);function ey(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(e){}return n?function(e=[]){for(let n=e.length-1;n>=0;n--){let t=e[n];if(t&&""!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(n):null}catch(n){return X.X&&J.kg.error(`Cannot extract url for event ${(0,Y.jH)(e)}`),null}}var e_=t(67707),ev=t(66895);let eb="LinkedErrors",ek=ea(eb,(e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:eb,setupOnce(){},preprocessEvent(e,r,i){let o=i.getOptions();(0,e_.Z)(ev.GJ,o.stackParser,o.maxValueLength,t,n,e,r)}}});var eC=t(84857),ex=t(89371);let eT=new Map,ew=new Set,eI="ModuleMetadata",eR=()=>({name:eI,setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",e=>{(0,eC.gv)(e,(e,n)=>{if("event"===n){let n=Array.isArray(e)?e[1]:void 0;n&&(!function(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let n of e.stacktrace.frames||[])delete n.module_metadata})}catch(e){}}(n),e[1]=n)}})})},processEvent:(e,n,t)=>(!function(e,n){try{n.exception.values.forEach(n=>{if(n.stacktrace)for(let r of n.stacktrace.frames||[]){var t;if(!r.filename)continue;let n=(t=r.filename,function(e){if(ex.GLOBAL_OBJ._sentryModuleMetadata)for(let n of Object.keys(ex.GLOBAL_OBJ._sentryModuleMetadata)){let t=ex.GLOBAL_OBJ._sentryModuleMetadata[n];if(!ew.has(n)){for(let r of(ew.add(n),e(n).reverse()))if(r.filename){eT.set(r.filename,t);break}}}}(e),eT.get(t));n&&(r.module_metadata=n)}})}catch(e){}}(t.getOptions().stackParser,e),e)}),eE=ea(eI,eR),eS="sentry.source",eP="sentry.sample_rate",eA="sentry.op",eB="sentry.origin";var eN=t(67692),eL=t(86002),eO=t(1769),eM=t(11874),eD=t(64747);function eF(e){let n=e.protocol?`${e.protocol}:`:"",t=e.port?`:${e.port}`:"";return`${n}//${e.host}${t}${e.path?`/${e.path}`:""}/api/`}function ej(e,n={}){let t="string"==typeof n?n:n.tunnel,r="string"!=typeof n&&n._metadata?n._metadata.sdk:void 0;return t||`${eF(e)}${e.projectId}/envelope/?${(0,Z._j)({sentry_key:e.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`}function eU(e,n,t,r){var i;let o=(0,eC.HY)(t),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=t&&t.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=(0,eC.Cd)(e,o,r,n);delete e.sdkProcessingMetadata;let l=[{type:a},e];return(0,eC.Jd)(s,[l])}let eK=[["\n","\\n"],["\r","\\r"],[" ","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];var eq=t(72416),ez=t(66506),eH=t(45687);let eV="Not capturing exception because it's already been captured.";class e${constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,eL.vK)(e.dsn):X.X&&J.kg.warn("No DSN provided, client will not send events."),this._dsn){let n=ej(this._dsn,e);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}}captureException(e,n,t){if((0,Y.YO)(e)){X.X&&J.kg.log(eV);return}let r=n&&n.event_id;return this._process(this.eventFromException(e,n).then(e=>this._captureEvent(e,n,t)).then(e=>{r=e})),r}captureMessage(e,n,t,r){let i=t&&t.event_id,o=(0,eO.Le)(e)?e:String(e),a=(0,eO.pt)(e)?this.eventFromMessage(o,n,t):this.eventFromException(e,t);return this._process(a.then(e=>this._captureEvent(e,t,r)).then(e=>{i=e})),i}captureEvent(e,n,t){if(n&&n.originalException&&(0,Y.YO)(n.originalException)){X.X&&J.kg.log(eV);return}let r=n&&n.event_id,i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,n,i||t).then(e=>{r=e})),r}captureSession(e){"string"!=typeof e.release?X.X&&J.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,eq.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(t=>n.flush(e).then(e=>t&&e))):(0,eM.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(n){return X.X&&J.kg.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){let n=this._integrations[e.name];ei(this,e,this._integrations),n||er(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let t=eU(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of n.attachments||[])t=(0,eC.BO)(t,(0,eC.zQ)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(t);r&&r.then(n=>this.emit("afterSendEvent",e,n),null)}sendSession(e){let n=function(e,n,t,r){let i=(0,eC.HY)(t),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&n&&{dsn:(0,eL.RA)(n)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,eC.Jd)(o,[a])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}recordDroppedEvent(e,n,t){if(this._options.sendClientReports){let r="number"==typeof t?t:1,i=`${e}:${n}`;X.X&&J.kg.log(`Recording outcome: "${i}"${r>1?` (${r} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+r}}captureAggregateMetrics(e){X.X&&J.kg.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);let n=function(e,n,t,r){let i={sent_at:new Date().toISOString()};t&&t.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=(0,eL.RA)(n));let o=function(e){let n=function(e){let n="";for(let t of e){let e=Object.entries(t.tags),r=e.length>0?`|#${e.map(([e,n])=>`${e}:${n}`).join(",")}`:"";n+=`${t.name}@${t.unit}:${t.metric}|${t.metricType}${r}|T${t.timestamp} `}return n}(e);return[{type:"statsd",length:n.length},n]}(e);return(0,eC.Jd)(i,[o])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(e,n){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(n)}emit(e,...n){this._hooks[e]&&this._hooks[e].forEach(e=>e(...n))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,n){let t={};return n.forEach(n=>{n&&ei(e,n,t)}),t}(this,e),er(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,n){let t=!1,r=!1,i=n.exception&&n.exception.values;if(i)for(let e of(r=!0,i)){let n=e.mechanism;if(n&&!1===n.handled){t=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&t)&&((0,eq.CT)(e,{...t&&{status:"crashed"},errors:e.errors||Number(r||t)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eM.cW(n=>{let t=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),n(!0)):(t+=1,e&&t>=e&&(clearInterval(r),n(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,n,t,r=(0,en.aF)()){let i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),this.emit("preprocessEvent",e,n),(0,eH.R)(i,e,n,t,this,r).then(e=>{if(null===e)return e;let n={...r.getPropagationContext(),...t?t.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&n){let{traceId:r,spanId:i,parentSpanId:o,dsc:a}=n;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};let s=a||(0,ez._)(r,this,t);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,n={},t){return this._processEvent(e,n,t).then(e=>e.event_id,e=>{X.X&&("log"===e.logLevel?J.kg.log(e.message):J.kg.warn(e))})}_processEvent(e,n,t){let r=this.getOptions(),{sampleRate:i}=r,o=eW(e),a=eG(e),s=e.type||"error",l=`before send for type \`${s}\``;if(a&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,eM.$2)(new eD.b(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===s?"replay":s,u=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,n,t,u).then(t=>{if(null===t)throw this.recordDroppedEvent("event_processor",c,e),new eD.b("An event processor returned `null`, will not send event.","log");return n.data&&!0===n.data.__sentry__?t:function(e,n){let t=`${n} must return \`null\` or a valid event.`;if((0,eO.J8)(e))return e.then(e=>{if(!(0,eO.PO)(e)&&null!==e)throw new eD.b(t);return e},e=>{throw new eD.b(`${n} rejected with ${e}`)});if(!(0,eO.PO)(e)&&null!==e)throw new eD.b(t);return e}(function(e,n,t){let{beforeSend:r,beforeSendTransaction:i}=e;if(eG(n)&&r)return r(n,t);if(eW(n)&&i){if(n.spans){let e=n.spans.length;n.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(n,t)}return n}(r,t,n),l)}).then(r=>{if(null===r){if(this.recordDroppedEvent("before_send",c,e),o){let n=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",n)}throw new eD.b(`${l} returned \`null\`, will not send event.`,"log")}let i=t&&t.getSession();if(!o&&i&&this._updateSessionFromEvent(i,r),o){let e=(r.sdkProcessingMetadata&&r.sdkProcessingMetadata.spanCountBeforeProcessing||0)-(r.spans?r.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let a=r.transaction_info;return o&&a&&r.transaction!==e.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,n),r}).then(null,e=>{if(e instanceof eD.b)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new eD.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,e=>{X.X&&J.kg.error("Error while sending event:",e)});X.X&&J.kg.error("Transport disabled")}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(n=>{let[t,r]=n.split(":");return{reason:t,category:r,quantity:e[n]}})}}function eG(e){return void 0===e.type}function eW(e){return"transaction"===e.type}function eZ(e){let n=(0,Q.s3)();n&&n.addEventProcessor&&n.addEventProcessor(e)}var eQ=t(30258),eY=t(66326),eJ=t(68943),eX=t(85263);function e0(e){return(e||(0,en.Gd)()).getScope().getTransaction()}let e1=eX.qG,e2=!1;function e3(){let e=e0();if(e){let n="internal_error";X.X&&J.kg.log(`[Tracing] Transaction: ${n} -> Global error occured`),e.setStatus(n)}}e3.tag="sentry_tracingErrorCallback";var e5=t(53725);function e4(e,n,t=()=>{}){var r;let i;try{i=e()}catch(e){throw n(e),t(),e}return r=i,(0,eO.J8)(r)?r.then(e=>(t(),e),e=>{throw n(e),t(),e}):(t(),r)}function e6(e,n,t=()=>{},r=()=>{}){let i=(0,en.Gd)(),o=(0,Q.nZ)(),a=o.getSpan(),s=nt(i,{parentSpan:a,spanContext:nr(e),forceTransaction:!1,scope:o});return o.setSpan(s),e4(()=>n(s),e=>{s&&s.setStatus("internal_error"),t(e,s)},()=>{s&&s.end(),o.setSpan(a),r()})}function e8(e,n){let t=nr(e);return(0,en.Ok)(()=>(0,Q.$e)(e.scope,r=>{let i=(0,en.Gd)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:nt(i,{parentSpan:o,spanContext:t,forceTransaction:e.forceTransaction,scope:r});return e4(()=>n(a),()=>{if(a){let{status:e}=(0,eQ.XU)(a);e&&"ok"!==e||a.setStatus("internal_error")}},()=>a&&a.end())}))}function e7(e,n){let t=nr(e);return(0,en.Ok)(()=>(0,Q.$e)(e.scope,r=>{let i=(0,en.Gd)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:nt(i,{parentSpan:o,spanContext:t,forceTransaction:e.forceTransaction,scope:r});function s(){a&&a.end()}return e4(()=>n(a,s),()=>{if(a&&a.isRecording()){let{status:e}=(0,eQ.XU)(a);e&&"ok"!==e||a.setStatus("internal_error")}})}))}function e9(e){}function ne(){return(0,Q.nZ)().getSpan()}let nn=({sentryTrace:e,baggage:n},t)=>{let r=(0,Q.nZ)(),{traceparentData:i,dynamicSamplingContext:o,propagationContext:a}=(0,eX.KA)(e,n);r.setPropagationContext(a),X.X&&i&&J.kg.log(`[Tracing] Continuing trace ${i.traceId}.`);let s={...i,metadata:(0,Z.Jr)({dynamicSamplingContext:o})};return t?(0,en.Ok)(()=>t(s)):s};function nt(e,{parentSpan:n,spanContext:t,forceTransaction:r,scope:i}){}function nr(e){if(e.startTime){let n={...e};return n.startTimestamp=(0,eQ.$k)(e.startTime),delete n.startTime,n}return e}function ni(e){return i?i.get(e):void 0}function no(e){let n=ni(e);if(!n)return;let t={};for(let[,[e,r]]of n)t[e]||(t[e]=[]),t[e].push((0,Z.Jr)(r));return t}var na=t(20494);function ns(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(B=K||(K={})).Ok="ok",B.DeadlineExceeded="deadline_exceeded",B.Unauthenticated="unauthenticated",B.PermissionDenied="permission_denied",B.NotFound="not_found",B.ResourceExhausted="resource_exhausted",B.InvalidArgument="invalid_argument",B.Unimplemented="unimplemented",B.Unavailable="unavailable",B.InternalError="internal_error",B.UnknownError="unknown_error",B.Cancelled="cancelled",B.AlreadyExists="already_exists",B.FailedPrecondition="failed_precondition",B.Aborted="aborted",B.OutOfRange="out_of_range",B.DataLoss="data_loss";let nl=ns;function nc(e,n){e.setTag("http.status_code",String(n)),e.setData("http.response.status_code",n);let t=ns(n);"unknown_error"!==t&&e.setStatus(t)}class nu{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class nd{constructor(e={}){this._traceId=e.traceId||(0,Y.DM)(),this._spanId=e.spanId||(0,Y.DM)().substring(16),this._startTime=e.startTimestamp||(0,e5.ph)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[eB]:e.origin||"manual",[eA]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[eA]}set op(e){this.setAttribute(eA,e)}get origin(){return this._attributes[eB]}set origin(e){this.setAttribute(eB,e)}spanContext(){let{_spanId:e,_traceId:n,_sampled:t}=this;return{spanId:e,traceId:n,traceFlags:t?eQ.i0:eQ.ve}}startChild(e){let n=new nd({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);let t=(0,na.G)(this);if(n.transaction=t,X.X&&t){let r=e&&e.op||"< unknown op >",i=(0,eQ.XU)(n).description||"< unknown name >",o=t.spanContext().spanId,a=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;J.kg.log(a),this._logMessage=a}return n}setTag(e,n){return this.tags={...this.tags,[e]:n},this}setData(e,n){return this.data={...this.data,[e]:n},this}setAttribute(e,n){void 0===n?delete this._attributes[e]:this._attributes[e]=n}setAttributes(e){Object.keys(e).forEach(n=>this.setAttribute(n,e[n]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return nc(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;let n=(0,na.G)(this);if(X.X&&n&&n.spanContext().spanId!==this._spanId){let e=this._logMessage;e&&J.kg.log(e.replace("Starting","Finishing"))}this._endTime=(0,eQ.$k)(e)}toTraceparent(){return(0,eQ.Hb)(this)}toContext(){return(0,Z.Jr)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,eQ.wy)(this)}getSpanJSON(){return(0,Z.Jr)({data:this._getData(),description:this._name,op:this._attributes[eA],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[eB],_metrics_summary:no(this),profile_id:this._attributes.profile_id,exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:e,_attributes:n}=this,t=Object.keys(e).length>0,r=Object.keys(n).length>0;return t||r?t&&r?{...e,...n}:t?e:n:void 0}}class np extends nd{constructor(e,n){super(e),this._contexts={},this._hub=n||(0,en.Gd)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;let t=this._metadata.dynamicSamplingContext;t&&(this._frozenDynamicSamplingContext={...t})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[eS]&&{source:this._attributes[eS]},...this._attributes[eP]&&{sampleRate:this._attributes[eP]}}}set metadata(e){this._metadata=e}setName(e,n="custom"){this._name=e,this.setAttribute(eS,n)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new nu(e)),this.spanRecorder.add(this)}setContext(e,n){null===n?delete this._contexts[e]:this._contexts[e]=n}setMeasurement(e,n,t=""){this._measurements[e]={value:n,unit:t}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){let n=(0,eQ.$k)(e),t=this._finishTransaction(n);if(t)return this._hub.captureEvent(t)}toContext(){let e=super.toContext();return(0,Z.Jr)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,ez.j)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(X.X&&J.kg.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(e);let n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),!0!==this._sampled){X.X&&J.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let t=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&(0,eQ.XU)(e).timestamp):[];if(this._trimEnd&&t.length>0){let e=t.map(e=>(0,eQ.XU)(e).timestamp).filter(Boolean);this._endTime=e.reduce((e,n)=>e>n?e:n)}let{scope:r,isolationScope:i}={scope:this._sentryScope,isolationScope:this._sentryIsolationScope},{metadata:o}=this,{source:a}=o,s={contexts:{...this._contexts,trace:(0,eQ.wy)(this)},spans:t,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...o,capturedSpanScope:r,capturedSpanIsolationScope:i,...(0,Z.Jr)({dynamicSamplingContext:(0,ez.j)(this)})},_metrics_summary:no(this),...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(X.X&&J.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),X.X&&J.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}}let nh={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class nm extends nu{constructor(e,n,t,r){super(r),this._pushActivity=e,this._popActivity=n,this.transactionSpanId=t}add(e){if(e.spanContext().spanId!==this.transactionSpanId){let n=e.end;e.end=(...t)=>(this._popActivity(e.spanContext().spanId),n.apply(e,t)),void 0===(0,eQ.XU)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class nf extends np{constructor(e,n,t=nh.idleTimeout,r=nh.finalTimeout,i=nh.heartbeatInterval,o=!1,a=!1){super(e,n),this._idleHub=n,this._idleTimeout=t,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason="externalFinish",this._autoFinishAllowed=!a,o&&(X.X&&J.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),a||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason="finalTimeout",this.end())},this._finalTimeout)}end(e){let n=(0,eQ.$k)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){for(let e of(X.X&&J.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*n).toISOString(),this.op),this._beforeFinishCallbacks))e(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;!(0,eQ.XU)(e).timestamp&&(e.setStatus("cancelled"),e.end(n),X.X&&J.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));let{start_timestamp:t,timestamp:r}=(0,eQ.XU)(e),i=t&&t{this._finished||this._pushActivity(e)},e=>{this._finished||this._popActivity(e)},this.spanContext().spanId,e),X.X&&J.kg.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===n,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason="cancelled",this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(X.X&&J.kg.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason="idleTimeout",this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),X.X&&J.kg.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,X.X&&J.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(X.X&&J.kg.log(`[Tracing] popActivity ${e}`),delete this.activities[e],X.X&&J.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let e=(0,e5.ph)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason="cancelled",this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(X.X&&J.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason="heartbeatFailed",this.end()):this._pingHeartbeat()}_pingHeartbeat(){X.X&&J.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function ng(e,n,t){return e.sampled=!1,e}function ny(){let e=this.getScope().getSpan();return e?{"sentry-trace":(0,eQ.Hb)(e)}:{}}function n_(e,n){var t,r,i;let o=this.getClient(),a=o&&o.getOptions()||{},s=a.instrumenter||"sentry",l=e.instrumenter||"sentry";s!==l&&(X.X&&J.kg.error(`A transaction was started with instrumenter=\`${l}\`, but the SDK is configured with the \`${s}\` instrumenter. The transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),e.sampled=!1);let c=new np(e,this);return(t=c,r=0,i=(e.name,e.parentSampled,e.data,e.attributes),t.sampled=!1,c=t).isRecording()&&c.initSpanRecorder(a._experiments&&a._experiments.maxSpans),o&&o.emit&&o.emit("startTransaction",c),c}function nv(e,n,t,r,i,o,a,s=!1){var l,c,u;let d=e.getClient(),p=d&&d.getOptions()||{},h=new nf(n,e,t,r,a,i,s);return(l=h,c=0,u=(n.name,n.parentSampled,n.data,n.attributes),l.sampled=!1,h=l).isRecording()&&h.initSpanRecorder(p._experiments&&p._experiments.maxSpans),d&&d.emit&&d.emit("startTransaction",h),h}function nb(){let e=(0,en.cu)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=n_),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=ny),e2||(e2=!0,(0,eY.V)(e3),(0,eJ.h)(e3)))}var nk=t(70536),nC=t(98131);function nx(e,n,t=(0,nk.x)(e.bufferSize||30)){let r={};function i(i){let o=[];if((0,eC.gv)(i,(n,t)=>{let i=(0,eC.mL)(t);if((0,nC.Q)(r,i)){let r=nT(n,t);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(n)}),0===o.length)return(0,eM.WD)();let a=(0,eC.Jd)(i[0],o),s=n=>{(0,eC.gv)(a,(t,r)=>{let i=nT(t,r);e.recordDroppedEvent(n,(0,eC.mL)(r),i)})};return t.add(()=>n({body:(0,eC.V$)(a,e.textEncoder)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&X.X&&J.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,nC.WG)(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof eD.b)return X.X&&J.kg.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,eM.WD)();throw e})}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>t.drain(e)}}function nT(e,n){if("event"===n||"transaction"===n)return Array.isArray(e)?e[1]:void 0}function nw(e,n){let t;return(0,eC.gv)(e,(e,r)=>(n.includes(r)&&(t=Array.isArray(e)?e[1]:void 0),!!t)),t}function nI(e,n){return t=>{let r=e(t),i=new Map;function o(n,r){let o=r?`${n}:${r}`:n,a=i.get(o);if(!a){let s=(0,eL.U4)(n);if(!s)return;let l=ej(s,t.tunnel);a=r?(n=>{let t=e(n);return{...t,send:async e=>{let n=nw(e,["event","transaction","profile","replay_event"]);return n&&(n.release=r),t.send(e)}}})({...t,url:l}):e({...t,url:l}),i.set(o,a)}return[n,a]}return{send:async function(e){let t=n({envelope:e,getEvent:function(n){return nw(e,n&&n.length?n:["event"])}}).map(e=>"string"==typeof e?o(e,void 0):o(e.dsn,e.release)).filter(e=>!!e);return 0===t.length&&t.push(["",r]),(await Promise.all(t.map(([n,t])=>t.send((0,eC.Jd)(n?{...e[0],dsn:n}:e[0],e[1])))))[0]},flush:async function(e){let n=[await r.flush(e)];for(let[,t]of i)n.push(await t.flush(e));return n.every(e=>e)}}}}class nR{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class nE{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,ethis._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class nS{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class nP{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>"string"==typeof e?function(e){let n=0;for(let t=0;t>>0}(e):e).join(":")}}let nA={c:nR,g:nE,d:nS,s:nP};class nB{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),5e3)}add(e,n,t,r="none",o={},a=(0,e5.ph)()){let s=Math.floor(a),l=n.replace(/[^\w\-.]+/gi,"_"),c=function(e){let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t.replace(/[^\w\-./]+/gi,"")]=[...String(e[t])].reduce((e,n)=>e+function(e){for(let[n,t]of eK)if(e===n)return t;return e}(n),""));return n}(o),u=r.replace(/[^\w]+/gi,"_"),d=function(e,n,t,r){let i=Object.entries((0,Z.Jr)(r)).sort((e,n)=>e[0].localeCompare(n[0]));return`${e}${n}${t}${i}`}(e,l,u,c),p=this._buckets.get(d),h=p&&"s"===e?p.metric.weight:0;p?(p.metric.add(t),p.timestampe);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}let nN="MetricsAggregator",nL=()=>({name:nN,setupOnce(){},setup(e){e.metricsAggregator=new nB(e)}});function nO(e,n,t,r={}){let i=(0,Q.s3)(),o=(0,Q.nZ)();if(i){if(!i.metricsAggregator){X.X&&J.kg.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}let{unit:a,tags:s,timestamp:l}=r,{release:c,environment:u}=i.getOptions(),d=o.getTransaction(),p={};c&&(p.release=c),u&&(p.environment=u),d&&(p.transaction=(0,eQ.XU)(d).description||""),X.X&&J.kg.log(`Adding value of ${t} to ${e} metric ${n}`),i.metricsAggregator.add(e,n,t,a,{...p,...s},l)}}let nM={increment:function(e,n=1,t){nO("c",e,n,t)},distribution:function(e,n,t){nO("d",e,n,t)},set:function(e,n,t){nO("s",e,n,t)},gauge:function(e,n,t){nO("g",e,n,t)},MetricsAggregator:ea(nN,nL),metricsAggregatorIntegration:nL};function nD(e,...n){let t=new String(String.raw(e,...n));return t.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),t.__sentry_template_values__=n,t}function nF(e){let n=(0,en.Gd)().getStackTop();n.client=e,n.scope.setClient(e)}function nj(e,n,t){let r=e0();r&&r.setMeasurement(e,n,t)}let nU=ex.GLOBAL_OBJ,nK=0;function nq(e,n={},t){if("function"!=typeof e)return e;try{let n=e.__sentry_wrapped__;if(n){if("function"==typeof n)return n;return e}if((0,Z.HK)(e))return e}catch(n){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);let i=r.map(e=>nq(e,n));return e.apply(this,i)}catch(e){throw nK++,setTimeout(()=>{nK--}),(0,Q.$e)(t=>{t.addEventProcessor(e=>(n.mechanism&&((0,Y.Db)(e,void 0,void 0),(0,Y.EG)(e,n.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,Q.Tb)(e)}),e}};try{for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}catch(e){}(0,Z.$Q)(r,e),(0,Z.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}var nz=t(58413),nH=t(51943),nV=t(34290);function n$(e,n){let t=nW(e,n),r={type:n&&n.name,value:function(e){let n=e&&e.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}(n)};return t.length&&(r.stacktrace={frames:t}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function nG(e,n){return{exception:{values:[n$(e,n)]}}}function nW(e,n){let t=n.stacktrace||n.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(nZ.test(e.message))return 1}return 0}(n);try{return e(t,r)}catch(e){}return[]}let nZ=/Minified React error #\d+;/i;function nQ(e,n,t,r){let i=nJ(e,n,t&&t.syntheticException||void 0,r);return(0,Y.EG)(i),i.level="error",t&&t.event_id&&(i.event_id=t.event_id),(0,eM.WD)(i)}function nY(e,n,t="info",r,i){let o=nX(e,n,r&&r.syntheticException||void 0,i);return o.level=t,r&&r.event_id&&(o.event_id=r.event_id),(0,eM.WD)(o)}function nJ(e,n,t,r,i){let o;if((0,eO.VW)(n)&&n.error)return nG(e,n.error);if((0,eO.TX)(n)||(0,eO.fm)(n)){if("stack"in n)o=nG(e,n);else{let i=n.name||((0,eO.TX)(n)?"DOMError":"DOMException"),a=n.message?`${i}: ${n.message}`:i;o=nX(e,a,t,r),(0,Y.Db)(o,a)}return"code"in n&&(o.tags={...o.tags,"DOMException.code":`${n.code}`}),o}return(0,eO.VZ)(n)?nG(e,n):((0,eO.PO)(n)||(0,eO.cO)(n)?o=function(e,n,t,r){let i=(0,Q.s3)(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:(0,eO.cO)(n)?n.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:n}){let t=(0,Z.zf)(e),r=n?"promise rejection":"exception";if((0,eO.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,eO.cO)(e)){let n=function(e){try{let n=Object.getPrototypeOf(e);return n?n.constructor.name:void 0}catch(e){}}(e);return`Event \`${n}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${t}`}(n,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,nV.Qy)(n,o)}};if(t){let n=nW(e,t);n.length&&(a.exception.values[0].stacktrace={frames:n})}return a}(e,n,t,i):(o=nX(e,n,t,r),(0,Y.Db)(o,`${n}`,void 0)),(0,Y.EG)(o,{synthetic:!0}),o)}function nX(e,n,t,r){let i={};if(r&&t){let r=nW(e,t);r.length&&(i.exception={values:[{value:n,stacktrace:{frames:r}}]})}if((0,eO.Le)(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return i.logentry={message:e,params:t},i}return i.message=n,i}function n0(e,{metadata:n,tunnel:t,dsn:r}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}},...!!t&&!!r&&{dsn:(0,eL.RA)(r)}};return(0,eC.Jd)(i,[[{type:"user_report"},e]])}class n1 extends e${constructor(e){W(e,"browser",["browser"],nU.SENTRY_SDK_SOURCE||(0,nz.S)()),super(e),e.sendClientReports&&nU.document&&nU.document.addEventListener("visibilitychange",()=>{"hidden"===nU.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,n){return nQ(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",t){return nY(this._options.stackParser,e,n,t,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return;let n=n0(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(e,n,t){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,t)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length||!this._dsn)return;let n=(0,nH.y)(e,this._options.tunnel&&(0,eL.RA)(this._dsn));this._sendEnvelope(n)}}var n2=t(27497);function n3(e,n=function(){if(S)return S;if((0,n2.Du)(nU.fetch))return S=nU.fetch.bind(nU);let e=nU.document,n=nU.fetch;if(e&&"function"==typeof e.createElement)try{let t=e.createElement("iframe");t.hidden=!0,e.head.appendChild(t);let r=t.contentWindow;r&&r.fetch&&(n=r.fetch),e.head.removeChild(t)}catch(e){}return S=n.bind(nU)}()){let t=0,r=0;return nx(e,function(i){let o=i.body.length;t+=o,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:t<=6e4&&r<15,...e.fetchOptions};try{return n(e.url,a).then(e=>(t-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return S=void 0,t-=o,r--,(0,eM.$2)(e)}})}function n5(e){return nx(e,function(n){return new eM.cW((t,r)=>{let i=new XMLHttpRequest;for(let n in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&t({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,n)&&i.setRequestHeader(n,e.headers[n]);i.send(n.body)})})}var n4=t(68036);function n6(e,n,t,r){let i={filename:e,function:n,in_app:!0};return void 0!==t&&(i.lineno=t),void 0!==r&&(i.colno=r),i}let n8=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n7=/\((\S*)(?::(\d+))(?::(\d+))\)/,n9=[30,e=>{let n=n8.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=n7.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=td(n[1]||"?",n[2]);return n6(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],te=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tn=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tt=[50,e=>{let n=te.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){let e=tn.exec(n[3]);e&&(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]="")}let e=n[3],t=n[1]||"?";return[t,e]=td(t,e),n6(e,t,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],tr=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,ti=[40,e=>{let n=tr.exec(e);return n?n6(n[2],n[1]||"?",+n[3],n[4]?+n[4]:void 0):void 0}],to=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,ta=[10,e=>{let n=to.exec(e);return n?n6(n[2],n[3]||"?",+n[1]):void 0}],ts=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,tl=[20,e=>{let n=ts.exec(e);return n?n6(n[5],n[3]||n[4]||"?",+n[1],+n[2]):void 0}],tc=[n9,tt,ti],tu=(0,n4.pE)(...tc),td=(e,n)=>{let t=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return t||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",t?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]};var tp=t(31067),th=t(75240),tm=t(57787),tf=t(49195),tg=t(51354),ty=t(28701),t_=t(19663),tv=t(6726);let tb="Breadcrumbs",tk=(e={})=>{let n={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:tb,setupOnce(){},setup(e){var t;n.console&&(0,th.e)(function(n){if((0,Q.s3)()!==e)return;let t={category:"console",data:{arguments:n.args,logger:"console"},level:(0,t_.VT)(n.level),message:(0,ed.nK)(n.args," ")};if("assert"===n.level){if(!1!==n.args[0])return;t.message=`Assertion failed: ${(0,ed.nK)(n.args.slice(1)," ")||"console.assert"}`,t.data.arguments=n.args.slice(1)}(0,Q.n_)(t,{input:n.args,level:n.level})}),n.dom&&(0,tm.O)((t=n.dom,function(n){let r,i;if((0,Q.s3)()!==e)return;let o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(a=1024),"string"==typeof o&&(o=[o]);try{let e=n.event,t=e&&e.target?e.target:e;r=(0,ty.Rt)(t,{keyAttrs:o,maxStringLength:a}),i=(0,ty.iY)(t)}catch(e){r=""}if(0===r.length)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),(0,Q.n_)(s,{event:n.event,name:n.name,global:n.global})})),n.xhr&&(0,tf.UK)(function(n){if((0,Q.s3)()!==e)return;let{startTimestamp:t,endTimestamp:r}=n,i=n.xhr[tf.xU];if(!t||!r||!i)return;let{method:o,url:a,status_code:s,body:l}=i,c={xhr:n.xhr,input:l,startTimestamp:t,endTimestamp:r};(0,Q.n_)({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},c)}),n.fetch&&(0,tg.U)(function(n){if((0,Q.s3)()!==e)return;let{startTimestamp:t,endTimestamp:r}=n;if(!(!r||n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method)){if(n.error){let e=n.fetchData,i={data:n.error,input:n.args,startTimestamp:t,endTimestamp:r};(0,Q.n_)({category:"fetch",data:e,level:"error",type:"http"},i)}else{let e=n.response,i={...n.fetchData,status_code:e&&e.status},o={input:n.args,response:e,startTimestamp:t,endTimestamp:r};(0,Q.n_)({category:"fetch",data:i,type:"http"},o)}}}),n.history&&(0,tp.a)(function(n){if((0,Q.s3)()!==e)return;let t=n.from,r=n.to,i=(0,tv.en)(nU.location.href),o=t?(0,tv.en)(t):void 0,a=(0,tv.en)(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(t=o.relative),(0,Q.n_)({category:"navigation",data:{from:t,to:r}})}),n.sentry&&e.on&&e.on("beforeSendEvent",function(n){(0,Q.s3)()===e&&(0,Q.n_)({category:`sentry.${"transaction"===n.type?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:(0,Y.jH)(n)},{event:n})})}}},tC=ea(tb,tk),tx="Dedupe",tT=()=>{let e;return{name:tx,setupOnce(){},processEvent(n){if(n.type)return n;try{var t;if((t=e)&&(function(e,n){let t=e.message,r=n.message;return!!((t||r)&&(!t||r)&&(t||!r)&&t===r&&tR(e,n)&&tI(e,n))}(n,t)||function(e,n){let t=tE(n),r=tE(e);return!!(t&&r&&t.type===r.type&&t.value===r.value&&tR(e,n)&&tI(e,n))}(n,t)))return null}catch(e){}return e=n}}},tw=ea(tx,tT);function tI(e,n){let t=tS(e),r=tS(n);if(!t&&!r)return!0;if(t&&!r||!t&&r||r.length!==t.length)return!1;for(let e=0;e{let n={onerror:!0,onunhandledrejection:!0,...e};return{name:tP,setupOnce(){Error.stackTraceLimit=50},setup(e){n.onerror&&(0,eY.V)(n=>{let{stackParser:t,attachStacktrace:r}=tL();if((0,Q.s3)()!==e||nK>0)return;let{msg:i,url:o,line:a,column:s,error:l}=n,c=void 0===l&&(0,eO.HD)(i)?function(e,n,t,r){let i=(0,eO.VW)(e)?e.message:e,o="Error",a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(o=a[1],i=a[2]),tN({exception:{values:[{type:o,value:i}]}},n,t,r)}(i,o,a,s):tN(nJ(t,l||i,void 0,r,!1),o,a,s);c.level="error",(0,Q.eN)(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),n.onunhandledrejection&&(0,eJ.h)(n=>{let{stackParser:t,attachStacktrace:r}=tL();if((0,Q.s3)()!==e||nK>0)return;let i=function(e){if((0,eO.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(n),o=(0,eO.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:nJ(t,i,void 0,r,!0);o.level="error",(0,Q.eN)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}}},tB=ea(tP,tA);function tN(e,n,t,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(t,10))?void 0:t,d=(0,eO.HD)(n)&&n.length>0?n:(0,ty.l4)();return 0===l.length&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function tL(){let e=(0,Q.s3)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tO="HttpContext",tM=()=>({name:tO,setupOnce(){},preprocessEvent(e){if(!nU.navigator&&!nU.location&&!nU.document)return;let n=e.request&&e.request.url||nU.location&&nU.location.href,{referrer:t}=nU.document||{},{userAgent:r}=nU.navigator||{},i={...e.request&&e.request.headers,...t&&{Referer:t},...r&&{"User-Agent":r}},o={...e.request,...n&&{url:n},headers:i};e.request=o}}),tD=ea(tO,tM),tF="LinkedErrors",tj=(e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:tF,setupOnce(){},preprocessEvent(e,r,i){let o=i.getOptions();(0,e_.Z)(n$,o.stackParser,o.maxValueLength,t,n,e,r)}}},tU=ea(tF,tj),tK=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tq="TryCatch",tz=(e={})=>{let n={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:tq,setupOnce(){n.setTimeout&&(0,Z.hl)(nU,"setTimeout",tV),n.setInterval&&(0,Z.hl)(nU,"setInterval",tV),n.requestAnimationFrame&&(0,Z.hl)(nU,"requestAnimationFrame",t$),n.XMLHttpRequest&&"XMLHttpRequest"in nU&&(0,Z.hl)(XMLHttpRequest.prototype,"send",tG);let e=n.eventTarget;e&&(Array.isArray(e)?e:tK).forEach(tW)}}},tH=ea(tq,tz);function tV(e){return function(...n){let t=n[0];return n[0]=nq(t,{mechanism:{data:{function:(0,n4.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,n)}}function t$(e){return function(n){return e.apply(this,[nq(n,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,n4.$P)(e)},handled:!1,type:"instrument"}})])}}function tG(e){return function(...n){let t=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in t&&"function"==typeof t[e]&&(0,Z.hl)(t,e,function(n){let t={mechanism:{data:{function:e,handler:(0,n4.$P)(n)},handled:!1,type:"instrument"}},r=(0,Z.HK)(n);return r&&(t.mechanism.data.handler=(0,n4.$P)(r)),nq(n,t)})}),e.apply(this,n)}}function tW(e){let n=nU[e]&&nU[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,Z.hl)(n,"addEventListener",function(n){return function(t,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=nq(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,n4.$P)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return n.apply(this,[t,nq(r,{mechanism:{data:{function:"addEventListener",handler:(0,n4.$P)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,Z.hl)(n,"removeEventListener",function(e){return function(n,t,r){try{let i=t&&t.__sentry_wrapped__;i&&e.call(this,n,i,r)}catch(e){}return e.call(this,n,t,r)}}))}let tZ=[ef(),ec(),tz(),tk(),tA(),tj(),tT(),tM()];function tQ(e){return[...tZ]}let tY=(e={},n=(0,en.Gd)())=>{if(!nU.document)return;let{client:t,scope:r}=n.getStackTop(),i=e.dsn||t&&t.getDsn();if(!i)return;r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=n.lastEventId());let o=nU.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=function(e,n){let t=(0,eL.vK)(e);if(!t)return"";let r=`${eF(t)}embed/error-page/`,i=`dsn=${(0,eL.RA)(t)}`;for(let e in n)if("dsn"!==e&&"onClose"!==e){if("user"===e){let e=n.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`}return`${r}?${i}`}(i,e),e.onLoad&&(o.onload=e.onLoad);let{onClose:a}=e;if(a){let e=n=>{if("__sentry_reportdialog_closed__"===n.data)try{a()}finally{nU.removeEventListener("message",e)}};nU.addEventListener("message",e)}let s=nU.document.head||nU.document.body;s&&s.appendChild(o)};function tJ(){}function tX(e){e()}function t0(e){return nq(e)()}function t1(e){let n=(0,Q.s3)();n&&n.captureUserFeedback(e)}var t2=t(70007),t3=t(61129);function t5(e,n){let t=n&&void 0!==n.getClient?n.getClient():n,r=t&&t.getDsn(),i=t&&t.getOptions().tunnel;return!!r&&e.includes(r.host)||!!i&&t4(e)===t4(i)}function t4(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var t6=t(26823);let t8=(e,n,t)=>{let r,i;return o=>{n.value>=0&&(o||t)&&((i=n.value-(r||0))||void 0===r)&&(r=n.value,n.delta=i,e(n))}},t7=ex.GLOBAL_OBJ,t9=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,re=()=>{let e=t7.performance.timing,n=t7.performance.navigation.type,t={entryType:"navigation",startTime:0,type:2==n?"back_forward":1===n?"reload":"navigate"};for(let n in e)"navigationStart"!==n&&"toJSON"!==n&&(t[n]=Math.max(e[n]-e.navigationStart,0));return t},rn=()=>t7.__WEB_VITALS_POLYFILL__?t7.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||re()):t7.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],rt=()=>{let e=rn();return e&&e.activationStart||0},rr=(e,n)=>{let t=rn(),r="navigate";return t&&(r=t7.document&&t7.document.prerendering||rt()>0?"prerender":t.type.replace(/_/g,"-")),{name:e,value:void 0===n?-1:n,rating:"good",delta:0,entries:[],id:t9(),navigationType:r}},ri=(e,n,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{n(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},t||{})),r}}catch(e){}},ro=(e,n)=>{let t=r=>{("pagehide"===r.type||"hidden"===t7.document.visibilityState)&&(e(r),n&&(removeEventListener("visibilitychange",t,!0),removeEventListener("pagehide",t,!0)))};t7.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},ra=(e,n={})=>{let t;let r=rr("CLS",0),i=0,o=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let n=o[0],a=o[o.length-1];i&&0!==o.length&&e.startTime-a.startTime<1e3&&e.startTime-n.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e]),i>r.value&&(r.value=i,r.entries=o,t&&t())}})},s=ri("layout-shift",a);if(s){t=t8(e,r,n.reportAllChanges);let i=()=>{a(s.takeRecords()),t(!0)};return ro(i),i}},rs=-1,rl=()=>{t7.document&&t7.document.visibilityState&&(rs="hidden"!==t7.document.visibilityState||t7.document.prerendering?1/0:0)},rc=()=>{ro(({timeStamp:e})=>{rs=e},!0)},ru=()=>(rs<0&&(rl(),rc()),{get firstHiddenTime(){return rs}}),rd=e=>{let n;let t=ru(),r=rr("FID"),i=e=>{e.startTime{e.forEach(i)},a=ri("first-input",o);n=t8(e,r),a&&ro(()=>{o(a.takeRecords()),a.disconnect()},!0)},rp=0,rh=1/0,rm=0,rf=e=>{e.forEach(e=>{e.interactionId&&(rh=Math.min(rh,e.interactionId),rp=(rm=Math.max(rm,e.interactionId))?(rm-rh)/7+1:0)})},rg=()=>o?rp:performance.interactionCount||0,ry=()=>{"interactionCount"in performance||o||(o=ri("event",rf,{type:"event",buffered:!0,durationThreshold:0}))},r_=()=>rg(),rv=[],rb={},rk=e=>{let n=rv[rv.length-1],t=rb[e.interactionId];if(t||rv.length<10||e.duration>n.latency){if(t)t.entries.push(e),t.latency=Math.max(t.latency,e.duration);else{let n={id:e.interactionId,latency:e.duration,entries:[e]};rb[n.id]=n,rv.push(n)}rv.sort((e,n)=>n.latency-e.latency),rv.splice(10).forEach(e=>{delete rb[e.id]})}},rC=()=>{let e=Math.min(rv.length-1,Math.floor(r_()/50));return rv[e]},rx=(e,n)=>{let t;n=n||{},ry();let r=rr("INP"),i=e=>{e.forEach(e=>{e.interactionId&&rk(e),"first-input"!==e.entryType||rv.some(n=>n.entries.some(n=>e.duration===n.duration&&e.startTime===n.startTime))||rk(e)});let n=rC();n&&n.latency!==r.value&&(r.value=n.latency,r.entries=n.entries,t())},o=ri("event",i,{durationThreshold:n.durationThreshold||40});t=t8(e,r,n.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),ro(()=>{i(o.takeRecords()),r.value<0&&r_()>0&&(r.value=0,r.entries=[]),t(!0)}))},rT={},rw=e=>{let n;let t=ru(),r=rr("LCP"),i=e=>{let i=e[e.length-1];if(i){let e=Math.max(i.startTime-rt(),0);e{rT[r.id]||(i(o.takeRecords()),o.disconnect(),rT[r.id]=!0,n(!0))};return["keydown","click"].forEach(e=>{t7.document&&addEventListener(e,t,{once:!0,capture:!0})}),ro(t,!0),t}},rI=e=>{t7.document&&(t7.document.prerendering?addEventListener("prerenderingchange",()=>rI(e),!0):"complete"!==t7.document.readyState?addEventListener("load",()=>rI(e),!0):setTimeout(e,0))},rR=(e,n)=>{n=n||{};let t=rr("TTFB"),r=t8(e,t,n.reportAllChanges);rI(()=>{let e=rn();if(e){if(t.value=Math.max(e.responseStart-rt(),0),t.value<0||t.value>performance.now())return;t.entries=[e],r(!0)}})},rE={},rS={};function rP(e,n=!1){return rF("lcp",e,rO,l,n)}function rA(e,n){return rj(e,n),rS[e]||(function(e){let n={};"event"===e&&(n.durationThreshold=0),ri(e,n=>{rB(e,{entries:n})},n)}(e),rS[e]=!0),rU(e,n)}function rB(e,n){let t=rE[e];if(t&&t.length)for(let e of t)try{e(n)}catch(e){}}function rN(){return ra(e=>{rB("cls",{metric:e}),a=e},{reportAllChanges:!0})}function rL(){return rd(e=>{rB("fid",{metric:e}),s=e})}function rO(){return rw(e=>{rB("lcp",{metric:e}),l=e})}function rM(){return rR(e=>{rB("ttfb",{metric:e}),c=e})}function rD(){return rx(e=>{rB("inp",{metric:e}),u=e})}function rF(e,n,t,r,i=!1){let o;return rj(e,n),rS[e]||(o=t(),rS[e]=!0),r&&n({metric:r}),rU(e,n,i?o:void 0)}function rj(e,n){rE[e]=rE[e]||[],rE[e].push(n)}function rU(e,n,t){return()=>{t&&t();let r=rE[e];if(!r)return;let i=r.indexOf(n);-1!==i&&r.splice(i,1)}}let rK=ex.GLOBAL_OBJ,rq="sentryReplaySession",rz="Unable to send Replay";function rH(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}function rV(e){let n=rH([e,"optionalAccess",e=>e.host]);return rH([n,"optionalAccess",e=>e.shadowRoot])===e}function r$(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function rG(e){try{var n;let t=e.rules||e.cssRules;return t?((n=Array.from(t,rW).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),n):null}catch(e){return null}}function rW(e){let n;if("styleSheet"in e)try{n=rG(e.styleSheet)||function(e){let{cssText:n}=e;if(n.split('"').length<3)return n;let t=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?t.push("layer"):e.layerName&&t.push(`layer(${e.layerName})`),e.supportsText&&t.push(`supports(${e.supportsText})`),e.media.length&&t.push(e.media.mediaText),t.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return n||e.cssText}(N=q||(q={}))[N.Document=0]="Document",N[N.DocumentType=1]="DocumentType",N[N.Element=2]="Element",N[N.Text=3]="Text",N[N.CDATA=4]="CDATA",N[N.Comment=5]="Comment";class rZ{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var n;return e?(()=>-1,null!=(n=rH([this,"access",e=>e.getMeta,"call",n=>n(e),"optionalAccess",e=>e.id]))?n:-1):-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,n){let t=n.id;this.idNodeMap.set(t,e),this.nodeMetaMap.set(e,n)}replace(e,n){let t=this.getNode(e);if(t){let e=this.nodeMetaMap.get(t);e&&this.nodeMetaMap.set(n,e)}this.idNodeMap.set(e,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function rQ({maskInputOptions:e,tagName:n,type:t}){return"OPTION"===n&&(n="SELECT"),!!(e[n.toLowerCase()]||t&&e[t]||"password"===t||"INPUT"===n&&!t&&e.text)}function rY({isMasked:e,element:n,value:t,maskInputFn:r}){let i=t||"";return e?(r&&(i=r(i,n)),"*".repeat(i.length)):i}function rJ(e){return e.toLowerCase()}function rX(e){return e.toUpperCase()}let r0="__rrweb_original__";function r1(e){let n=e.type;return e.hasAttribute("data-rr-is-password")?"password":n?rJ(n):null}function r2(e,n,t){return"INPUT"===n&&("radio"===t||"checkbox"===t)?e.getAttribute("value")||"":e.value}let r3=1,r5=RegExp("[^a-z0-9-_:]");function r4(){return r3++}let r6=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,r8=/^(?:[a-z+]+:)?\/\//i,r7=/^www\..*/i,r9=/^(data:)([^,]*),(.*)/i;function ie(e,n){return(e||"").replace(r6,(e,t,r,i,o,a)=>{let s=r||o||a,l=t||i||"";if(!s)return e;if(r8.test(s)||r7.test(s)||r9.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(n.indexOf("//")>-1?n.split("/").slice(0,3).join("/"):n.split("/")[0]).split("?")[0]+s}${l})`;let c=n.split("/"),u=s.split("/");for(let e of(c.pop(),u))"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`})}let it=/^[^ \t\n\r\u000c]+/,ir=/^[, \t\n\r\u000c]+/;function ii(e,n){if(!n||""===n.trim())return n;let t=e.createElement("a");return t.href=n,t.href}function io(){let e=document.createElement("a");return e.href="",e.href}function ia(e,n,t,r,i,o){return r?"src"!==t&&("href"!==t||"use"===n&&"#"===r[0])&&("xlink:href"!==t||"#"===r[0])&&("background"!==t||"table"!==n&&"td"!==n&&"th"!==n)?"srcset"===t?function(e,n){if(""===n.trim())return n;let t=0;function r(e){let r;let i=e.exec(n.substring(t));return i?(r=i[0],t+=r.length,r):""}let i=[];for(;r(ir),!(t>=n.length);){let o=r(it);if(","===o.slice(-1))o=ii(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=ii(e,o);let a=!1;for(;;){let e=n.charAt(t);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){t+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,t+=1}}}return i.join(", ")}(e,r):"style"===t?ie(r,io()):"object"===n&&"data"===t?ii(e,r):"function"==typeof o?o(t,r,i):r:ii(e,r):r}function is(e,n,t){return("video"===e||"audio"===e)&&"autoplay"===n}function il(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:il(e.parentNode,n,t,r+1)}function ic(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch(e){return!1}}}function iu(e,n,t,r,i,o){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if((l=il(a,ic(r,i)))<0)return!0;s=il(a,ic(n,t),l>=0?l:1/0)}else{if((s=il(a,ic(n,t)))<0)return!1;l=il(a,ic(r,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function id(e){return null==e?"":e.toLowerCase()}function ip(e,n){let t;let{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,skipChild:f=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:k,dataURLOptions:C={},inlineImages:x=!1,recordCanvas:T=!1,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:R=5e3,onStylesheetLoad:E,stylesheetLoadTimeout:S=5e3,keepIframeSrcFn:P=()=>!1,newlyAddedElement:A=!1}=n,{preserveWhiteSpace:B=!0}=n,N=function(e,n){let{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:f,maskInputOptions:g={},maskTextFn:y,maskInputFn:_,dataURLOptions:v={},inlineImages:b,recordCanvas:k,keepIframeSrcFn:C,newlyAddedElement:x=!1}=n,T=function(e,n){if(!n.hasNode(e))return;let t=n.getId(e);return 1===t?void 0:t}(t,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:q.Document,childNodes:[],compatMode:e.compatMode};return{type:q.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:q.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:T};case e.ELEMENT_NODE:return function(e,n){let t;let{doc:r,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:c,maskInputFn:u,dataURLOptions:h={},inlineImages:m,recordCanvas:f,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:_,maskAllText:v,maskTextClass:b,unmaskTextClass:k,maskTextSelector:C,unmaskTextSelector:x}=n,T=function(e,n,t,r){try{if(r&&e.matches(r))return!1;if("string"==typeof n){if(e.classList.contains(n))return!0}else for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}if(t)return e.matches(t)}catch(e){}return!1}(e,i,o,a),w=function(e){if(e instanceof HTMLFormElement)return"form";let n=rJ(e.tagName);return r5.test(n)?"div":n}(e),I={},R=e.attributes.length;for(let n=0;nn.href===e.href),t=null;n&&(t=rG(n)),t&&(delete I.rel,delete I.href,I._cssText=ie(t,n.href))}if("style"===w&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let n=rG(e.sheet);n&&(I._cssText=ie(n,io()))}if("input"===w||"textarea"===w||"select"===w||"option"===w){let n=r1(e),t=r2(e,rX(w),n),r=e.checked;if("submit"!==n&&"button"!==n&&t){let r=iu(e,b,C,k,x,rQ({type:n,tagName:rX(w),maskInputOptions:l}));I.value=rY({isMasked:r,element:e,value:t,maskInputFn:u})}r&&(I.checked=r)}if("option"===w&&(e.selected&&!l.select?I.selected=!0:delete I.selected),"canvas"===w&&f){if("2d"===e.__context)!function(e){let n=e.getContext("2d");if(!n)return!0;for(let t=0;t0!==e))return!1}return!0}(e)&&(I.rr_dataURL=e.toDataURL(h.type,h.quality));else if(!("__context"in e)){let n=e.toDataURL(h.type,h.quality),t=document.createElement("canvas");t.width=e.width,t.height=e.height,n!==t.toDataURL(h.type,h.quality)&&(I.rr_dataURL=n)}}if("img"===w&&m){d||(p=(d=r.createElement("canvas")).getContext("2d"));let n=e.crossOrigin;e.crossOrigin="anonymous";let t=()=>{e.removeEventListener("load",t);try{d.width=e.naturalWidth,d.height=e.naturalHeight,p.drawImage(e,0,0),I.rr_dataURL=d.toDataURL(h.type,h.quality)}catch(n){console.warn(`Cannot inline img src=${e.currentSrc}! Error: ${n}`)}n?I.crossOrigin=n:e.removeAttribute("crossorigin")};e.complete&&0!==e.naturalWidth?t():e.addEventListener("load",t)}if(("audio"===w||"video"===w)&&(I.rr_mediaState=e.paused?"paused":"played",I.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(I.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(I.rr_scrollTop=e.scrollTop)),T){let{width:n,height:t}=e.getBoundingClientRect();I={class:I.class,rr_width:`${n}px`,rr_height:`${t}px`}}"iframe"!==w||g(I.src)||(e.contentDocument||(I.rr_src=I.src),delete I.src);try{customElements.get(w)&&(t=!0)}catch(e){}return{type:q.Element,tagName:w,attributes:I,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:T,rootId:_,isCustom:t}}(e,{doc:t,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:f,maskAttributeFn:l,maskInputOptions:g,maskInputFn:_,dataURLOptions:v,inlineImages:b,recordCanvas:k,keepIframeSrcFn:C,newlyAddedElement:x,rootId:T,maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m});case e.TEXT_NODE:return function(e,n){let{maskAllText:t,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=n,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,h="STYLE"===d||void 0,m="SCRIPT"===d||void 0,f="TEXTAREA"===d||void 0;if(h&&p){try{e.nextSibling||e.previousSibling||rH([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(p=rG(e.parentNode.sheet))}catch(n){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${n}`,e)}p=ie(p,io())}m&&(p="SCRIPT_PLACEHOLDER");let g=iu(e,r,o,i,a,t);return h||m||f||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),f&&p&&(l.textarea||g)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=rY({isMasked:iu(e,r,o,i,a,rQ({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:c})),{type:q.Text,textContent:p||"",isStyle:h,rootId:u}}(e,{maskAllText:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,maskTextFn:y,maskInputOptions:g,maskInputFn:_,rootId:T});case e.CDATA_SECTION_NODE:return{type:q.CDATA,textContent:"",rootId:T};case e.COMMENT_NODE:return{type:q.Comment,textContent:e.textContent||"",rootId:T};default:return!1}}(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,dataURLOptions:C,inlineImages:x,recordCanvas:T,keepIframeSrcFn:P,newlyAddedElement:A});if(!N)return console.warn(e,"not serialized"),null;t=i.hasNode(e)?i.getId(e):!function(e,n){if(n.comment&&e.type===q.Comment)return!0;if(e.type===q.Element){if(n.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js"))||n.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(id(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===id(e.attributes.name)||"icon"===id(e.attributes.rel)||"apple-touch-icon"===id(e.attributes.rel)||"shortcut icon"===id(e.attributes.rel))))return!0;if("meta"===e.tagName){if(n.headMetaDescKeywords&&id(e.attributes.name).match(/^description|keywords$/)||n.headMetaSocial&&(id(e.attributes.property).match(/^(og|twitter|fb):/)||id(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===id(e.attributes.name)))return!0;if(n.headMetaRobots&&("robots"===id(e.attributes.name)||"googlebot"===id(e.attributes.name)||"bingbot"===id(e.attributes.name)))return!0;if(n.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(n.headMetaAuthorship&&("author"===id(e.attributes.name)||"generator"===id(e.attributes.name)||"framework"===id(e.attributes.name)||"publisher"===id(e.attributes.name)||"progid"===id(e.attributes.name)||id(e.attributes.property).match(/^article:/)||id(e.attributes.property).match(/^product:/)))return!0;else if(n.headMetaVerification&&("google-site-verification"===id(e.attributes.name)||"yandex-verification"===id(e.attributes.name)||"csrf-token"===id(e.attributes.name)||"p:domain_verify"===id(e.attributes.name)||"verify-v1"===id(e.attributes.name)||"verification"===id(e.attributes.name)||"shopify-checkout-api-token"===id(e.attributes.name)))return!0}}return!1}(N,k)&&(B||N.type!==q.Text||N.isStyle||N.textContent.replace(/^\s+|\s+$/gm,"").length)?r4():-2;let L=Object.assign(N,{id:t});if(i.add(e,L),-2===t)return null;w&&w(e);let O=!f;if(L.type===q.Element){O=O&&!L.needBlock,delete L.needBlock;let n=e.shadowRoot;n&&r$(n)&&(L.isShadowHost=!0)}if((L.type===q.Document||L.type===q.Element)&&O){k.headWhitespace&&L.type===q.Element&&"head"===L.tagName&&(B=!1);let n={doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,skipChild:f,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:k,dataURLOptions:C,inlineImages:x,recordCanvas:T,preserveWhiteSpace:B,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:R,onStylesheetLoad:E,stylesheetLoadTimeout:S,keepIframeSrcFn:P};for(let t of Array.from(e.childNodes)){let e=ip(t,n);e&&L.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let t of Array.from(e.shadowRoot.childNodes)){let r=ip(t,n);r&&(r$(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}return e.parentNode&&rV(e.parentNode)&&r$(e.parentNode)&&(L.isShadow=!0),L.type===q.Element&&"iframe"===L.tagName&&function(e,n,t){let r;let i=e.contentWindow;if(!i)return;let o=!1;try{r=i.document.readyState}catch(e){return}if("complete"!==r){let r=setTimeout(()=>{o||(n(),o=!0)},t);e.addEventListener("load",()=>{clearTimeout(r),o=!0,n()});return}let a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return setTimeout(n,0),e.addEventListener("load",n);e.addEventListener("load",n)}(e,()=>{let n=e.contentDocument;if(n&&I){let t=ip(n,{doc:n,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:k,dataURLOptions:C,inlineImages:x,recordCanvas:T,preserveWhiteSpace:B,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:R,onStylesheetLoad:E,stylesheetLoadTimeout:S,keepIframeSrcFn:P});t&&I(e,t)}},R),L.type===q.Element&&"link"===L.tagName&&"stylesheet"===L.attributes.rel&&function(e,n,t){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;let o=setTimeout(()=>{i||(n(),i=!0)},t);e.addEventListener("load",()=>{clearTimeout(o),i=!0,n()})}(e,()=>{if(E){let n=ip(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:c,unmaskTextClass:u,maskTextSelector:h,unmaskTextSelector:m,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:k,dataURLOptions:C,inlineImages:x,recordCanvas:T,preserveWhiteSpace:B,onSerialize:w,onIframeLoad:I,iframeLoadTimeout:R,onStylesheetLoad:E,stylesheetLoadTimeout:S,keepIframeSrcFn:P});n&&E(e,n)}},S),L}function ih(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}function im(e,n,t=document){let r={capture:!0,passive:!0};return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}let ig="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",iy={map:{},getId:()=>(console.error(ig),-1),getNode:()=>(console.error(ig),null),removeNodeFromMap(){console.error(ig)},has:()=>(console.error(ig),!1),reset(){console.error(ig)}};function i_(e,n,t={}){let r=null,i=0;return function(...o){let a=Date.now();i||!1!==t.leading||(i=a);let s=n-(a-i),l=this;s<=0||s>n?(r&&(function(...e){iL("clearTimeout")(...e)}(r),r=null),i=a,e.apply(l,o)):r||!1===t.trailing||(r=iO(()=>{i=!1===t.leading?0:Date.now(),r=null,e.apply(l,o)},s))}}function iv(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],i=t(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=i,()=>{e[n]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(iy=new Proxy(iy,{get:(e,n,t)=>("map"===n&&console.error(ig),Reflect.get(e,n,t))}));let ib=Date.now;function ik(e){let n=e.document;return{left:n.scrollingElement?n.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:ih([n,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||ih([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||ih([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:n.scrollingElement?n.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:ih([n,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||ih([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||ih([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function iC(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ix(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function iT(e){return e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null}function iw(e,n,t,r,i){if(!e)return!1;let o=iT(e);if(!o)return!1;let a=ic(n,t);if(!i){let e=r&&o.matches(r);return a(o)&&!e}let s=il(o,a),l=-1;return!(s<0)&&(r&&(l=il(o,ic(null,r))),s>-1&&l<0||se.shadowRoot])}/[1-9][0-9]{12}/.test(Date.now().toString())||(ib=()=>new Date().getTime());class iA{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return(0,t2.h)(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,n){let t;return this.has(e)?this.getId(e):(t=void 0===n?this.id++:n,this.styleIDMap.set(e,t),this.idStyleMap.set(t,e),t)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function iB(e){let n=null;return ih([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(n=e.getRootNode().host),n}let iN={};function iL(e){let n=iN[e];if(n)return n;let t=window.document,r=window[e];if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let i=n.contentWindow;i&&i[e]&&(r=i[e]),t.head.removeChild(n)}catch(e){}return iN[e]=r.bind(window)}function iO(...e){return iL("setTimeout")(...e)}var iM=((L=iM||{})[L.DomContentLoaded=0]="DomContentLoaded",L[L.Load=1]="Load",L[L.FullSnapshot=2]="FullSnapshot",L[L.IncrementalSnapshot=3]="IncrementalSnapshot",L[L.Meta=4]="Meta",L[L.Custom=5]="Custom",L[L.Plugin=6]="Plugin",L),iD=((O=iD||{})[O.Mutation=0]="Mutation",O[O.MouseMove=1]="MouseMove",O[O.MouseInteraction=2]="MouseInteraction",O[O.Scroll=3]="Scroll",O[O.ViewportResize=4]="ViewportResize",O[O.Input=5]="Input",O[O.TouchMove=6]="TouchMove",O[O.MediaInteraction=7]="MediaInteraction",O[O.StyleSheetRule=8]="StyleSheetRule",O[O.CanvasMutation=9]="CanvasMutation",O[O.Font=10]="Font",O[O.Log=11]="Log",O[O.Drag=12]="Drag",O[O.StyleDeclaration=13]="StyleDeclaration",O[O.Selection=14]="Selection",O[O.AdoptedStyleSheet=15]="AdoptedStyleSheet",O[O.CustomElement=16]="CustomElement",O),iF=((M=iF||{})[M.MouseUp=0]="MouseUp",M[M.MouseDown=1]="MouseDown",M[M.Click=2]="Click",M[M.ContextMenu=3]="ContextMenu",M[M.DblClick=4]="DblClick",M[M.Focus=5]="Focus",M[M.Blur=6]="Blur",M[M.TouchStart=7]="TouchStart",M[M.TouchMove_Departed=8]="TouchMove_Departed",M[M.TouchEnd=9]="TouchEnd",M[M.TouchCancel=10]="TouchCancel",M),ij=((D=ij||{})[D.Mouse=0]="Mouse",D[D.Pen=1]="Pen",D[D.Touch=2]="Touch",D);class iU{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let n=this.head;for(let t=0;tt.call(n,...e)),n=void 0)}return t}([n,"optionalAccess",e=>e.next])||null;return n}addNode(e){let n={value:e,previous:null,next:null};if(e.__ln=n,e.previousSibling&&"__ln"in e.previousSibling){let t=e.previousSibling.__ln.next;n.next=t,n.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=n,t&&(t.previous=n)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let t=e.nextSibling.__ln.previous;n.previous=t,n.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=n,t&&(t.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;null===n.next&&(this.tail=n),this.length++}removeNode(e){let n=e.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let iK=(e,n)=>`${e}@${n}`;class iq{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],n=new Set,t=new iU,r=e=>{let n=e,t=-2;for(;-2===t;)t=(n=n&&n.nextSibling)&&this.mirror.getId(n);return t},i=i=>{if(!i.parentNode||!function(e){let n=e.ownerDocument;return!!n&&(n.contains(e)||function(e){let n=e.ownerDocument;if(!n)return!1;let t=function(e){let n,t=e;for(;n=iB(t);)t=n;return t}(e);return n.contains(t)}(e))}(i))return;let o=rV(i.parentNode)?this.mirror.getId(iB(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return t.addNode(i);let s=ip(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{iE(e,this.mirror)&&this.iframeManager.addIframe(e),iS(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),iP(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,n)=>{this.iframeManager.attachIframe(e,n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,n)=>{this.stylesheetManager.attachLinkElement(e,n)}});s&&(e.push({parentId:o,nextId:a,node:s}),n.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!iH(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)iV(this.droppedSet,e)||iH(this.removes,e,this.mirror)?iV(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;t.length;){let e=null;if(o){let n=this.mirror.getId(o.value.parentNode),t=r(o.value);-1!==n&&-1!==t&&(e=o)}if(!e){let n=t.tail;for(;n;){let t=n;if(n=n.previous,t){let n=this.mirror.getId(t.value.parentNode);if(-1===r(t.value))continue;if(-1!==n){e=t;break}{let n=t.value;if(n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=n.parentNode.host;if(-1!==this.mirror.getId(r)){e=t;break}}}}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}o=e.previous,t.removeNode(e.value),i(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!n.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:n}=e;if("string"==typeof n.style){let t=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);t.length!n.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(!iI(e.target,this.mirror))switch(e.type){case"characterData":{let n=e.target.textContent;iw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue||this.texts.push({value:iu(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,iT(e.target)):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{let n=e.target,t=e.attributeName,r=e.target.getAttribute(t);if("value"===t){let t=r1(n),i=n.tagName;r=r2(n,i,t);let o=rQ({maskInputOptions:this.maskInputOptions,tagName:i,type:t});r=rY({isMasked:iu(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:n,value:r,maskInputFn:this.maskInputFn})}if(iw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let i=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===t&&!this.keepIframeSrcFn(r)){if(n.contentDocument)return;t="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===t&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!is(n.tagName,t)&&(i.attributes[t]=ia(this.doc,rJ(n.tagName),rJ(t),r,n,this.maskAttributeFn),"style"===t)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let t=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&t.setAttribute("style",e.oldValue),Array.from(n.style))){let e=n.style.getPropertyValue(r),o=n.style.getPropertyPriority(r);e!==t.style.getPropertyValue(r)||o!==t.style.getPropertyPriority(r)?""===o?i.styleDiff[r]=e:i.styleDiff[r]=[e,o]:i._unchangedStyles[r]=[e,o]}for(let e of Array.from(t.style))""===n.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(iw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(n=>this.genAdds(n,e.target)),e.removedNodes.forEach(n=>{let t=this.mirror.getId(n),r=rV(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);iw(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||iI(n,this.mirror)||-1===this.mirror.getId(n)||(this.addedSet.has(n)?(iz(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(e.target)&&-1===t||function e(n,t){if(rV(n))return!1;let r=t.getId(n);return!t.has(r)||(!n.parentNode||n.parentNode.nodeType!==n.DOCUMENT_NODE)&&(!n.parentNode||e(n.parentNode,t))}(e.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[iK(t,r)]?iz(this.movedSet,n):this.removes.push({parentId:r,id:t,isShadow:!!(rV(e.target)&&r$(e.target))||void 0})),this.mapRemoves.push(n))})}},this.genAdds=(e,n)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(iI(e,this.mirror))return;this.movedSet.add(e);let t=null;n&&this.mirror.hasNode(n)&&(t=this.mirror.getId(n)),t&&-1!==t&&(this.movedMap[iK(this.mirror.getId(e),t)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!iw(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),iP(e)&&e.shadowRoot.childNodes.forEach(n=>{this.processedNodeManager.add(n,this),this.genAdds(n,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=e[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function iz(e,n){e.delete(n),n.childNodes.forEach(n=>iz(e,n))}function iH(e,n,t){return 0!==e.length&&function e(n,t,r){let{parentNode:i}=t;if(!i)return!1;let o=r.getId(i);return!!n.some(e=>e.id===o)||e(n,i,r)}(e,n,t)}function iV(e,n){return 0!==e.size&&function e(n,t){let{parentNode:r}=t;return!!r&&(!!n.has(r)||e(n,r))}(e,n)}let i$=e=>h?(...n)=>{try{return e(...n)}catch(e){if(h&&!0===h(e))return()=>{};throw e}}:e;function iG(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}let iW=[];function iZ(e){try{if("composedPath"in e){let n=e.composedPath();if(n.length)return n[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}let iQ=["INPUT","TEXTAREA","SELECT"],iY=new WeakMap;function iJ(e){var n;return n=[],i1("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||i1("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||i1("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||i1("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?n.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&n.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),n}function iX(e,n,t){let r,i;return e?(e.ownerNode?r=n.getId(e.ownerNode):i=t.getId(e),{styleId:i,id:r}):{}}function i0(e,n={}){let t=e.doc.defaultView;if(!t)return()=>{};let r=function(e,n){let t=new iq;iW.push(t),t.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=iG([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);let o=new r(i$(n=>{e.onMutation&&!1===e.onMutation(n)||t.processMutations.bind(t)(n)}));return o.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}(e,e.doc),i=function({mousemoveCb:e,sampling:n,doc:t,mirror:r}){let i;if(!1===n.mousemove)return()=>{};let o="number"==typeof n.mousemove?n.mousemove:50,a="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,s=[],l=i_(i$(n=>{let t=Date.now()-i;e(s.map(e=>(e.timeOffset-=t,e)),n),s=[],i=null}),a),c=i$(i_(i$(e=>{let n=iZ(e),{clientX:t,clientY:o}=iR(e)?e.changedTouches[0]:e;i||(i=ib()),s.push({x:t,y:o,id:r.getId(n),timeOffset:ib()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?iD.Drag:e instanceof MouseEvent?iD.MouseMove:iD.TouchMove)}),o,{trailing:!1})),u=[im("mousemove",c,t),im("touchmove",c,t),im("drag",c,t)];return i$(()=>{u.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null,u=n=>a=>{let s=iZ(a);if(iw(s,r,i,o,!0))return;let l=null,u=n;if("pointerType"in a){switch(a.pointerType){case"mouse":l=ij.Mouse;break;case"touch":l=ij.Touch;break;case"pen":l=ij.Pen}l===ij.Touch?iF[n]===iF.MouseDown?u="TouchStart":iF[n]===iF.MouseUp&&(u="TouchEnd"):ij.Pen}else iR(a)&&(l=ij.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===ij.Touch||u.startsWith("Mouse")&&l===ij.Mouse)&&(l=null)):iF[n]===iF.Click&&(l=c,c=null);let d=iR(a)?a.changedTouches[0]:a;if(!d)return;let p=t.getId(s),{clientX:h,clientY:m}=d;i$(e)({type:iF[u],id:p,x:h,y:m,...null!==l&&{pointerType:l}})};return Object.keys(iF).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let t=rJ(e),r=u(e);if(window.PointerEvent)switch(iF[e]){case iF.MouseDown:case iF.MouseUp:t=t.replace("mouse","pointer");break;case iF.TouchStart:case iF.TouchEnd:return}l.push(im(t,r,n))}),i$(()=>{l.forEach(e=>e())})}(e),a=function({scrollCb:e,doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return im("scroll",i$(i_(i$(a=>{let s=iZ(a);if(!s||iw(s,r,i,o,!0))return;let l=t.getId(s);if(s===n&&n.defaultView){let t=ik(n.defaultView);e({id:l,x:t.left,y:t.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),n)}(e),s=function({viewportResizeCb:e},{win:n}){let t=-1,r=-1;return im("resize",i$(i_(i$(()=>{let n=iC(),i=ix();(t!==n||r!==i)&&(e({width:Number(i),height:Number(n)}),t=n,r=i)}),200)),n)}(e,{win:t}),l=function({inputCb:e,doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:h,maskTextSelector:m,unmaskTextSelector:f}){function g(e){let t=iZ(e),u=e.isTrusted,g=t&&rX(t.tagName);if("OPTION"===g&&(t=t.parentElement),!t||!g||0>iQ.indexOf(g)||iw(t,r,i,o,!0))return;let _=t;if(_.classList.contains(a)||s&&_.matches(s))return;let v=r1(t),b=r2(_,g,v),k=!1,C=rQ({maskInputOptions:l,tagName:g,type:v}),x=iu(t,p,m,h,f,C);("radio"===v||"checkbox"===v)&&(k=t.checked),b=rY({isMasked:x,element:t,value:b,maskInputFn:c}),y(t,d?{text:b,isChecked:k,userTriggered:u}:{text:b,isChecked:k});let T=t.name;"radio"===v&&T&&k&&n.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==t){let n=rY({isMasked:x,element:e,value:r2(e,g,v),maskInputFn:c});y(e,d?{text:n,isChecked:!k,userTriggered:!1}:{text:n,isChecked:!k})}})}function y(n,r){let i=iY.get(n);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){iY.set(n,r);let i=t.getId(n);i$(e)({...r,id:i})}}let _=("last"===u.input?["change"]:["input","change"]).map(e=>im(e,i$(g),n)),v=n.defaultView;if(!v)return()=>{_.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),k=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&_.push(...k.map(e=>(function e(n,t,r,i,o=window){let a=o.Object.getOwnPropertyDescriptor(n,t);return o.Object.defineProperty(n,t,i?r:{set(e){iO(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>e(n,t,a||{},!0)})(e[0],e[1],{set(){i$(g)({target:this,isTrusted:!1})}},!1,v))),i$(()=>{_.forEach(e=>e())})}(e),c=function({mediaInteractionCb:e,blockClass:n,blockSelector:t,unblockSelector:r,mirror:i,sampling:o,doc:a}){let s=i$(a=>i_(i$(o=>{let s=iZ(o);if(!s||iw(s,n,t,r,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:d}=s;e({type:a,id:i.getId(s),currentTime:l,volume:c,muted:u,playbackRate:d})}),o.media||500)),l=[im("play",s(0),a),im("pause",s(1),a),im("seeked",s(2),a),im("volumechange",s(3),a),im("ratechange",s(4),a)];return i$(()=>{l.forEach(e=>e())})}(e),u=function({styleSheetRuleCb:e,mirror:n,stylesheetManager:t},{win:r}){let i,o;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:i$((r,i,o)=>{let[a,s]=o,{id:l,styleId:c}=iX(i,n,t.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:s}]}),r.apply(i,o)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:i$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iX(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(i,o)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:i$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iX(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(i,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(o=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:i$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iX(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(i,o)})}));let l={};i2("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(i2("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),i2("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),i2("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let c={};return Object.entries(l).forEach(([r,i])=>{c[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(c[r].insertRule,{apply:i$((r,i,o)=>{let[a,s]=o,{id:l,styleId:c}=iX(i.parentStyleSheet,n,t.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:[...iJ(i),s||0]}]}),r.apply(i,o)})}),i.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:i$((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iX(i.parentStyleSheet,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...iJ(i),a]}]}),r.apply(i,o)})})}),i$(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),o&&(r.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,n])=>{n.prototype.insertRule=c[e].insertRule,n.prototype.deleteRule=c[e].deleteRule})})}(e,{win:t}),d=function({mirror:e,stylesheetManager:n},t){let r=null;r="#document"===t.nodeName?e.getId(t):e.getId(t.host);let i="#document"===t.nodeName?iG([t,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):iG([t,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=iG([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(iG([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return iG([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let t=iG([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",n=>n(this,e)]);if(null!==r&&-1!==r)try{n.adoptStyleSheets(e,r)}catch(e){}return t}}),i$(()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}(e,e.doc),p=function({styleDeclarationCb:e,mirror:n,ignoreCSSAttributes:t,stylesheetManager:r},{win:i}){let o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:i$((i,a,s)=>{let[l,c,u]=s;if(t.has(l))return o.apply(a,[l,c,u]);let{id:d,styleId:p}=iX(iG([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),n,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:c,priority:u},index:iJ(a.parentRule)}),i.apply(a,s)})});let a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:i$((i,o,s)=>{let[l]=s;if(t.has(l))return a.apply(o,[l]);let{id:c,styleId:u}=iX(iG([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),n,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:iJ(o.parentRule)}),i.apply(o,s)})}),i$(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:t}),h=e.collectFonts?function({fontCb:e,doc:n}){let t=n.defaultView;if(!t)return()=>{};let r=[],i=new WeakMap,o=t.FontFace;t.FontFace=function(e,n,t){let r=new o(e,n,t);return i.set(r,{family:e,buffer:"string"!=typeof n,descriptors:t,fontSource:"string"==typeof n?n:JSON.stringify(Array.from(new Uint8Array(n)))}),r};let a=iv(n.fonts,"add",function(n){return function(t){return iO(i$(()=>{let n=i.get(t);n&&(e(n),i.delete(t))}),0),n.apply(this,[t])}});return r.push(()=>{t.FontFace=o}),r.push(a),i$(()=>{r.forEach(e=>e())})}(e):()=>{},m=function(e){let{doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e,s=!0,l=i$(()=>{let e=n.getSelection();if(!e||s&&iG([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;let l=[],c=e.rangeCount||0;for(let n=0;n{}}(e),g=[];for(let n of e.plugins)g.push(n.observer(n.callback,t,n.options));return i$(()=>{iW.forEach(e=>e.reset()),r.disconnect(),i(),o(),a(),s(),l(),c(),u(),d(),p(),h(),m(),f(),g.forEach(e=>e())})}function i1(e){return void 0!==window[e]}function i2(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class i3{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,n,t,r){let i=t||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e),a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),o.set(a,n)),a}getIds(e,n){let t=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return n.map(n=>this.getId(e,n,t,r))}getRemoteId(e,n,t){let r=t||this.getRemoteIdToIdMap(e);return"number"!=typeof n?n:r.get(n)||-1}getRemoteIds(e,n){let t=this.getRemoteIdToIdMap(e);return n.map(n=>this.getRemoteId(e,n,t))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let n=this.iframeIdToRemoteIdMap.get(e);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(e,n)),n}getRemoteIdToIdMap(e){let n=this.iframeRemoteIdToIdMap.get(e);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(e,n)),n}}class i5{constructor(){this.crossOriginIframeMirror=new i3(r4),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class i4{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class i6{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class i8{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new iA,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,n){if(0===e.length)return;let t={id:n,styleIds:[]},r=[];for(let n of e){let e;this.styleMirror.has(n)?e=this.styleMirror.getId(n):(e=this.styleMirror.add(n),r.push({styleId:e,rules:Array.from(n.rules||CSSRule,(e,n)=>({rule:rW(e),index:n}))})),t.styleIds.push(e)}r.length>0&&(t.styles=r),this.adoptedStyleSheetCb(t)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class i7{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){iL("requestAnimationFrame")(...e)}(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,n){let t=this.nodeMap.get(e);return t&&Array.from(t).some(e=>e!==n)}add(e,n){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(n))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}let i9=new rZ;function oe(e={}){let n;let{emit:t,checkoutEveryNms:r,checkoutEveryNth:i,blockClass:o="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:c=null,maskAllText:u=!1,maskTextClass:d="rr-mask",unmaskTextClass:p=null,maskTextSelector:g=null,unmaskTextSelector:y=null,inlineStylesheet:_=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:k,maskAttributeFn:C,maskInputFn:x,maskTextFn:T,maxCanvasSize:w=null,packFn:I,sampling:R={},dataURLOptions:E={},mousemoveWait:S,recordCanvas:P=!1,recordCrossOriginIframes:A=!1,recordAfter:B="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:N=!1,collectFonts:L=!1,inlineImages:O=!1,plugins:M,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:j,onMutation:U,getCanvasManager:K}=e;h=j;let q=!A||window.parent===window,z=!1;if(!q)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(q&&!t)throw Error("emit function is required");void 0!==S&&void 0===R.mousemove&&(R.mousemove=S),i9.reset();let H=!0===v?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==b?b:{},V=!0===k||"all"===k?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===k,headMetaDescKeywords:"all"===k}:k||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let n=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}();let $=0,G=e=>{for(let n of M||[])n.eventProcessor&&(e=n.eventProcessor(e));return I&&!z&&(e=I(e)),e};m=(e,o)=>{if(e.timestamp=ib(),(0,t3.x)([iW,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&e.type!==iM.FullSnapshot&&!(e.type===iM.IncrementalSnapshot&&e.data.source===iD.Mutation)&&iW.forEach(e=>e.unfreeze()),q)(0,t3.x)([t,"optionalCall",n=>n(G(e),o)]);else if(z){let n={type:"rrweb",event:G(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(n,"*")}if(e.type===iM.FullSnapshot)n=e,$=0;else if(e.type===iM.IncrementalSnapshot){if(e.data.source===iD.Mutation&&e.data.isAttachIframe)return;$++;let t=i&&$>=i,o=r&&n&&e.timestamp-n.timestamp>r;(t||o)&&et(!0)}};let W=e=>{m({type:iM.IncrementalSnapshot,data:{source:iD.Mutation,...e}})},Z=e=>m({type:iM.IncrementalSnapshot,data:{source:iD.Scroll,...e}}),Q=e=>m({type:iM.IncrementalSnapshot,data:{source:iD.CanvasMutation,...e}}),Y=new i8({mutationCb:W,adoptedStyleSheetCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.AdoptedStyleSheet,...e}})}),J=new i5;for(let e of M||[])e.getMirror&&e.getMirror({nodeMirror:i9,crossOriginIframeMirror:J.crossOriginIframeMirror,crossOriginIframeStyleMirror:J.crossOriginIframeStyleMirror});let X=new i7,ee=function(e,n){try{return e?e(n):new i6}catch(e){return console.warn("Unable to initialize CanvasManager"),new i6}}(K,{mirror:i9,win:window,mutationCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.CanvasMutation,...e}}),recordCanvas:P,blockClass:o,blockSelector:a,unblockSelector:s,maxCanvasSize:w,sampling:R.canvas,dataURLOptions:E,errorHandler:j}),en=new i4,et=(e=!1)=>{m({type:iM.Meta,data:{href:window.location.href,width:ix(),height:iC()}},e),Y.reset(),en.init(),iW.forEach(e=>e.lock());let n=function(e,n){let{mirror:t=new rZ,blockClass:r="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:h=!1,maskAllInputs:m=!1,maskAttributeFn:f,maskTextFn:g,maskInputFn:y,slimDOM:_=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:k,onIframeLoad:C,iframeLoadTimeout:x,onStylesheetLoad:T,stylesheetLoadTimeout:w,keepIframeSrcFn:I=()=>!1}=n||{};return ip(e,{doc:e,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===m?{}:m,maskAttributeFn:f,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===_,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===_?{}:_,dataURLOptions:v,inlineImages:p,recordCanvas:h,preserveWhiteSpace:b,onSerialize:k,onIframeLoad:C,iframeLoadTimeout:x,onStylesheetLoad:T,stylesheetLoadTimeout:w,keepIframeSrcFn:I,newlyAddedElement:!1})}(document,{mirror:i9,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:g,unmaskTextSelector:y,inlineStylesheet:_,maskAllInputs:H,maskAttributeFn:C,maskInputFn:x,maskTextFn:T,slimDOM:V,dataURLOptions:E,recordCanvas:P,inlineImages:O,onSerialize:e=>{iE(e,i9)&&J.addIframe(e),iS(e,i9)&&Y.trackLinkElement(e),iP(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,n)=>{J.attachIframe(e,n),en.observeAttachShadow(e)},onStylesheetLoad:(e,n)=>{Y.attachLinkElement(e,n)},keepIframeSrcFn:D});if(!n)return console.warn("Failed to snapshot the document");m({type:iM.FullSnapshot,data:{node:n,initialOffset:ik(window)}}),iW.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,i9.getId(document))};f=et;try{let e=[],n=e=>i$(i0)({onMutation:U,mutationCb:W,mousemoveCb:(e,n)=>m({type:iM.IncrementalSnapshot,data:{source:n,positions:e}}),mouseInteractionCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.MouseInteraction,...e}}),scrollCb:Z,viewportResizeCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.ViewportResize,...e}}),inputCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.Input,...e}}),mediaInteractionCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.MediaInteraction,...e}}),styleSheetRuleCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.StyleSheetRule,...e}}),styleDeclarationCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.StyleDeclaration,...e}}),canvasMutationCb:Q,fontCb:e=>m({type:iM.IncrementalSnapshot,data:{source:iD.Font,...e}}),selectionCb:e=>{m({type:iM.IncrementalSnapshot,data:{source:iD.Selection,...e}})},customElementCb:e=>{m({type:iM.IncrementalSnapshot,data:{source:iD.CustomElement,...e}})},blockClass:o,ignoreClass:l,ignoreSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:g,unmaskTextSelector:y,maskInputOptions:H,inlineStylesheet:_,sampling:R,recordCanvas:P,inlineImages:O,userTriggeredOnInput:N,collectFonts:L,doc:e,maskAttributeFn:C,maskInputFn:x,maskTextFn:T,keepIframeSrcFn:D,blockSelector:a,unblockSelector:s,slimDOMOptions:V,dataURLOptions:E,mirror:i9,iframeManager:J,stylesheetManager:Y,shadowDomManager:en,processedNodeManager:X,canvasManager:ee,ignoreCSSAttributes:F,plugins:(0,t3.x)([M,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:n=>m({type:iM.Plugin,data:{plugin:e.name,payload:n}})}))])||[]},{});J.addLoadListener(t=>{try{e.push(n(t.contentDocument))}catch(e){console.warn(e)}});let t=()=>{et(),e.push(n(document))};return"interactive"===document.readyState||"complete"===document.readyState?t():(e.push(im("DOMContentLoaded",()=>{m({type:iM.DomContentLoaded,data:{}}),"DOMContentLoaded"===B&&t()})),e.push(im("load",()=>{m({type:iM.Load,data:{}}),"load"===B&&t()},window))),()=>{e.forEach(e=>e()),X.destroy(),f=void 0,h=void 0}}catch(e){console.warn(e)}}function on(e){return e>9999999999?e:1e3*e}function ot(e){return e>9999999999?e/1e3:e}function or(e,n){"sentry.transaction"!==n.category&&(["ui.click","ui.input"].includes(n.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:iM.Custom,timestamp:1e3*(n.timestamp||0),data:{tag:"breadcrumb",payload:(0,nV.Fv)(n,10,1e3)}}),"console"===n.category)))}function oi(e){return e.closest("button,a")||e}function oo(e){let n=oa(e);return n&&n instanceof Element?oi(n):n}function oa(e){return"object"==typeof e&&e&&"target"in e?e.target:e}oe.mirror=i9,oe.takeFullSnapshot=function(e){if(!f)throw Error("please take full snapshot after start recording");f(e)};class os{constructor(e,n,t=or){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=t}addListeners(){var e;let n=(e=()=>{this._lastMutation=oc()},g||(g=[],(0,Z.hl)(rK,"open",function(e){return function(...n){if(g)try{g.forEach(e=>e())}catch(e){}return e.apply(rK,n)}})),g.push(e),()=>{let n=g?g.indexOf(e):-1;n>-1&&g.splice(n,1)});this._teardown=()=>{n(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,n){var t;if(t=this._ignoreSelector,!ol.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||t&&n.matches(t)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let r={timestamp:ot(e.timestamp),clickBreadcrumb:e,clickCount:0,node:n};this._clicks.some(e=>e.node===r.node&&1>Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=ot(e)}registerScroll(e=Date.now()){this._lastScroll=ot(e)}registerClick(e){let n=oi(e);this._handleMultiClick(n)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(n=>n.node===e)}_checkClicks(){let e=[],n=oc();for(let t of(this._clicks.forEach(t=>{!t.mutationAfter&&this._lastMutation&&(t.mutationAfter=t.timestamp<=this._lastMutation?this._lastMutation-t.timestamp:void 0),!t.scrollAfter&&this._lastScroll&&(t.scrollAfter=t.timestamp<=this._lastScroll?this._lastScroll-t.timestamp:void 0),t.timestamp+this._timeout<=n&&e.push(t)}),e)){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let n=this._replay,t=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:o}=e;if(!t&&!r){let t=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=t<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:rK.location.href,route:n.getCurrentRoute(),timeAfterClickMs:t,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(n,a);return}if(i>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:rK.location.href,route:n.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(n,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}let ol=["A","BUTTON","INPUT"];function oc(){return Date.now()/1e3}function ou(e){return{timestamp:Date.now()/1e3,type:"default",...e}}(F=z||(z={}))[F.Document=0]="Document",F[F.DocumentType=1]="DocumentType",F[F.Element=2]="Element",F[F.Text=3]="Text",F[F.CDATA=4]="CDATA",F[F.Comment=5]="Comment";let od=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),op=e=>n=>{if(!e.isEnabled())return;let t=function(e){let{target:n,message:t}=function(e){let n;let t="click"===e.name,r=null;try{r=t?oo(e.event):oa(e.event),n=(0,ty.Rt)(r,{maxStringLength:200})||""}catch(e){n=""}return{target:r,message:n}}(e);return ou({category:`ui.${e.name}`,...oh(n,t)})}(n);if(!t)return;let r="click"===n.name,i=r?n.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&function(e,n,t){e.handleClick(n,t)}(e.clickDetector,t,oo(n.event)),or(e,t)};function oh(e,n){let t=oe.mirror.getId(e),r=t&&oe.mirror.getNode(t),i=r&&oe.mirror.getMeta(r),o=i&&i.type===z.Element?i:null;return{message:n,data:o?{nodeId:t,node:{id:t,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===z.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let n={};for(let t in e)if(od.has(t)){let r=t;("data-testid"===t||"data-test-id"===t)&&(r="testId"),n[r]=e[t]}return n}(o.attributes)}}:{}}}let om={resource:function(e){let{entryType:n,initiatorType:t,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(t)?null:{type:`${n}.${t}`,start:og(o),end:og(i),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){let{duration:n,entryType:t,name:r,startTime:i}=e,o=og(i);return{type:t,name:r,start:o,end:o+n,data:void 0}},navigation:function(e){let{entryType:n,name:t,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:h,transferSize:m,type:f}=e;return 0===i?null:{type:`${n}.${f}`,start:og(h),end:og(o),name:t,data:{size:m,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:o,redirectCount:p}}}};function of(e){return om[e.entryType]?om[e.entryType](e):null}function og(e){return((e5.Z1||rK.performance.timeOrigin)+e)/1e3}class oy extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class o_{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let n=JSON.stringify(e).length;if(this._totalSize+=n,this._totalSize>2e7)throw new oy;this.events.push(e)}finish(){return new Promise(e=>{let n=this.events;this.clear(),e(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?on(e):null}}class ov{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,n)=>{this._worker.addEventListener("message",({data:t})=>{t.success?e():n()},{once:!0}),this._worker.addEventListener("error",e=>{n(e)},{once:!0})})),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(e,n){let t=this._getAndIncrementId();return new Promise((r,i)=>{let o=({data:n})=>{if(n.method===e&&n.id===t){if(this._worker.removeEventListener("message",o),!n.success){i(Error("Error in compression worker"));return}r(n.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:t,method:e,arg:n})})}_getAndIncrementId(){return this._id++}}class ob{constructor(e){this._worker=new ov(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let n=on(e.timestamp);(!this._earliestTimestamp||n2e7)?Promise.reject(new oy):this._sendEventToWorker(t)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class ok{constructor(e){this._fallback=new o_,this._compression=new ob(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:n}=this._fallback,t=[];for(let n of e)t.push(this._compression.addEvent(n));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(t)}catch(e){}}}function oC(){try{return"sessionStorage"in rK&&!!rK.sessionStorage}catch(e){return!1}}function ox(e){return void 0!==e&&Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(e.getOptions()._experiments.traceInternals,!1))}function oL(e){return"transaction"===e.type}function oO(e){return"feedback"===e.type}function oM(e){let n=function(){let e=(0,Q.s3)();if(!e)return!1;let n=e.getTransport();return!!n&&(n.send.__sentry__baseTransport__||!1)}();return(t,r)=>{if(!e.isEnabled()||t.type&&!oL(t))return;let i=r&&r.statusCode;if(!n||i&&!(i<200)&&!(i>=300)){if(oL(t)){!function(e,n){let t=e.getContext();n.contexts&&n.contexts.trace&&n.contexts.trace.trace_id&&t.traceIds.size<100&&t.traceIds.add(n.contexts.trace.trace_id)}(e,t);return}!function(e,n){let t=e.getContext();if(n.event_id&&t.errorIds.size<100&&t.errorIds.add(n.event_id),"buffer"!==e.recordingMode||!n.tags||!n.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(n))&&setTimeout(()=>{e.sendBufferedReplayOrFlush()})}(e,t)}}}function oD(e,n){return n.map(({type:n,start:t,end:r,name:i,data:o})=>{let a=e.throttledAddEvent({type:iM.Custom,timestamp:t,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:t,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a})}function oF(e,n){e.isEnabled()&&null!==n&&(t5(n.name,(0,Q.s3)())||e.addUpdate(()=>(oD(e,[n]),!0)))}function oj(e,n){if(e)try{if("string"==typeof e)return n.encode(e).length;if(e instanceof URLSearchParams)return n.encode(e.toString()).length;if(e instanceof FormData){let t=oG(e);return n.encode(t).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function oU(e){if(!e)return;let n=parseInt(e,10);return isNaN(n)?void 0:n}function oK(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[oG(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}function oq(e,n){if(!e)return{headers:{},size:void 0,_meta:{warnings:[n]}};let t={...e._meta},r=t.warnings||[];return t.warnings=[...r,n],e._meta=t,e}function oz(e,n){if(!n)return null;let{startTimestamp:t,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:l}=n;return{type:e,start:t/1e3,end:r/1e3,name:i,data:(0,Z.Jr)({method:o,statusCode:a,request:s,response:l})}}function oH(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function oV(e,n,t){if(!n&&0===Object.keys(e).length)return;if(!n)return{headers:e};if(!t)return{headers:e,size:n};let r={headers:e,size:n},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};let n=e.length>15e4,t=function(e){let n=e[0],t=e[e.length-1];return"["===n&&"]"===t||"{"===n&&"}"===t}(e);if(n){let n=e.slice(0,15e4);return t?{body:n,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${n}…`,warnings:["TEXT_TRUNCATED"]}}if(t)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(t);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function o$(e,n){return Object.keys(e).reduce((t,r)=>{let i=r.toLowerCase();return n.includes(i)&&e[r]&&(t[i]=e[r]),t},{})}function oG(e){return new URLSearchParams(e).toString()}function oW(e,n){let t=function(e,n=rK.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(rK.location.origin))return e;let t=new URL(e,n);if(t.origin!==new URL(n).origin)return e;let r=t.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,ed.U0)(t,n)}async function oZ(e,n,t){try{let r=await oQ(e,n,t),i=oz("resource.fetch",r);oF(t.replay,i)}catch(e){}}async function oQ(e,n,t){let r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=n,{url:a,method:s,status_code:l=0,request_body_size:c,response_body_size:u}=e.data,d=oW(a,t.networkDetailAllowUrls)&&!oW(a,t.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:n},t,r){let i=t?1===t.length&&"string"!=typeof t[0]?o1(t[0],n):2===t.length?o1(t[1],n):{}:{};if(!e)return oV(i,r,void 0);let[o,a]=oK(oX(t)),s=oV(i,r,o);return a?oq(s,a):s}(t,n.input,c):oH(c),response:await oY(d,t,n.response,u)}}async function oY(e,{networkCaptureBodies:n,textEncoder:t,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return oH(o);let a=i?o0(i.headers,r):{};if(!i||!n&&void 0!==o)return oV(a,o,void 0);let[s,l]=await oJ(i),c=function(e,{networkCaptureBodies:n,textEncoder:t,responseBodySize:r,captureDetails:i,headers:o}){try{let a=e&&e.length&&void 0===r?oj(e,t):r;if(!i)return oH(a);if(n)return oV(o,a,e);return oV(o,a,void 0)}catch(e){return oV(o,r,void 0)}}(s,{networkCaptureBodies:n,textEncoder:t,responseBodySize:o,captureDetails:e,headers:a});return l?oq(c,l):c}async function oJ(e){let n=function(e){try{return e.clone()}catch(e){}}(e);if(!n)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,t)=>{let r=setTimeout(()=>t(Error("Timeout while trying to read response body")),500);o2(n).then(n=>e(n),e=>t(e)).finally(()=>clearTimeout(r))})]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}}function oX(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function o0(e,n){let t={};return n.forEach(n=>{e.get(n)&&(t[n]=e.get(n))}),t}function o1(e,n){if(!e)return{};let t=e.headers;return t?t instanceof Headers?o0(t,n):Array.isArray(t)?{}:o$(t,n):{}}async function o2(e){return await e.text()}async function o3(e,n,t){try{let r=function(e,n,t){let r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:a,xhr:s}=n,{url:l,method:c,status_code:u=0,request_body_size:d,response_body_size:p}=e.data;if(!l)return null;if(!s||!oW(l,t.networkDetailAllowUrls)||oW(l,t.networkDetailDenyUrls)){let e=oH(d);return{startTimestamp:i,endTimestamp:o,url:l,method:c,statusCode:u,request:e,response:oH(p)}}let h=s[tf.xU],m=h?o$(h.request_headers,t.networkRequestHeaders):{},f=o$(function(e){let n=e.getAllResponseHeaders();return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return e[t.toLowerCase()]=r,e},{}):{}}(s),t.networkResponseHeaders),[g,y]=t.networkCaptureBodies?oK(a):[void 0],[_,v]=t.networkCaptureBodies?function(e){let n=[];try{return[e.responseText]}catch(e){n.push(e)}try{return function(e,n){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===n&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){n.push(e)}return[void 0]}(s):[void 0],b=oV(m,d,g),k=oV(f,p,_);return{startTimestamp:i,endTimestamp:o,url:l,method:c,statusCode:u,request:y?oq(b,y):b,response:v?oq(k,v):k}}(e,n,t),i=oz("resource.xhr",r);oF(t.replay,i)}catch(e){}}let o5=null,o4=e=>n=>{if(!e.isEnabled())return;let t=function(e){let n=e.getLastBreadcrumb&&e.getLastBreadcrumb();return o5!==n&&n?(o5=n,!n.category||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui."))?null:"console"===n.category?function(e){let n=e.data&&e.data.arguments;if(!Array.isArray(n)||0===n.length)return ou(e);let t=!1,r=n.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(t=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let n=(0,nV.Fv)(e,7);if(JSON.stringify(n).length>5e3)return t=!0,`${JSON.stringify(n,null,2).slice(0,5e3)}…`;return n}catch(e){}return e});return ou({...e,data:{...e.data,arguments:r,...t?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):ou(n):null}(n);t&&or(e,t)};async function o6(e){try{return Promise.all(oD(e,[function(e){let{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}}}}(rK.performance.memory)]))}catch(e){return[]}}async function o8({client:e,scope:n,replayId:t,event:r}){let i={event_id:t,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);let o=await (0,eH.R)(e.getOptions(),r,i,n,e,(0,en.aF)());if(!o)return null;o.platform=o.platform||"javascript";let a=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:l}=a&&a.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0"},o}async function o7({recordingData:e,replayId:n,segmentId:t,eventContext:r,timestamp:i,session:o}){var a;let s;let l=function({recordingData:e,headers:n}){let t;let r=`${JSON.stringify(n)} `;if("string"==typeof e)t=`${r}${e}`;else{let n=new TextEncoder().encode(r);(t=new Uint8Array(n.length+e.length)).set(n),t.set(e,n.length)}return t}({recordingData:e,headers:{segment_id:t}}),{urls:c,errorIds:u,traceIds:d,initialTimestamp:p}=r,h=(0,Q.s3)(),m=(0,Q.nZ)(),f=h&&h.getTransport(),g=h&&h.getDsn();if(!h||!f||!g||!o.sampled)return;let y={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:i/1e3,error_ids:u,trace_ids:d,urls:c,replay_id:n,segment_id:t,replay_type:o.sampled},_=await o8({scope:m,client:h,replayId:n,event:y});if(!_){h.recordDroppedEvent("event_processor","replay",y);return}delete _.sdkProcessingMetadata;let v=(a=h.getOptions().tunnel,(0,eC.Jd)((0,eC.Cd)(_,(0,eC.HY)(_),a,g),[[{type:"replay_event"},_],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await f.send(v)}catch(n){let e=Error(rz);try{e.cause=n}catch(e){}throw e}if(!s)return s;if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new o9(s.statusCode);let b=(0,nC.WG)({},s);if((0,nC.Q)(b,"replay"))throw new ae(b);return s}class o9 extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class ae extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function an(e,n={count:0,interval:5e3}){let{recordingData:t,options:r}=e;if(t.length)try{return await o7(e),!0}catch(t){if(t instanceof o9||t instanceof ae)throw t;if((0,Q.v)("Replays",{_retryCount:n.count}),n.count>=3){let e=Error(`${rz} - max retries exceeded`);try{e.cause=t}catch(e){}throw e}return n.interval*=++n.count,new Promise((t,r)=>{setTimeout(async()=>{try{await an(e,n),t(!0)}catch(e){r(e)}},n.interval)})}}let at="__THROTTLED";class ar{constructor({options:e,recordingOptions:n}){ar.prototype.__init.call(this),ar.prototype.__init2.call(this),ar.prototype.__init3.call(this),ar.prototype.__init4.call(this),ar.prototype.__init5.call(this),ar.prototype.__init6.call(this),this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=e,this._debouncedFlush=function(e,n,t){let r,i,o;let a=t&&t.maxWait?Math.max(t.maxWait,n):0;function s(){return l(),r=e()}function l(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function c(){return i&&clearTimeout(i),i=setTimeout(s,n),a&&void 0===o&&(o=setTimeout(s,a)),r}return c.cancel=l,c.flush=function(){return void 0!==i||void 0!==o?s():r},c}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,n,t){let r=new Map,i=e=>{let n=e-5;r.forEach((e,t)=>{t[...r.values()].reduce((e,n)=>e+n,0),a=!1;return(...n)=>{let t=Math.floor(Date.now()/1e3);if(i(t),o()>=300){let e=a;return a=!0,e?"__SKIPPED":at}a=!1;let s=r.get(t)||0;return r.set(t,s+1),e(...n)}}((e,n)=>oN(this,e)?oB(this,e,n):Promise.resolve(null),0,0);let{slowClickTimeout:t,slowClickIgnoreSelectors:r}=this.getOptions(),i=t?{threshold:Math.min(3e3,t),timeout:t,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new os(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){let{errorSampleRate:n,sessionSampleRate:t}=this._options;if(!(n<=0)||!(t<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",this.recordingMode,this._options._experiments.traceInternals,this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode)throw Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw Error("Replay buffering is in progress, call `flush()` to save the replay");this._options._experiments.traceInternals,this._updateUserActivity();let e=oP({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw Error("Replay recording is already in progress");this._options._experiments.traceInternals;let e=oP({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let n;let t=this._canvas;this._stopRecording=oe({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:(e=this,n=!1,(t,r)=>{if(!e.checkAndHandleExpiredSession())return;let i=r||!n;n=!0,e.clickDetector&&function(e,n){try{if(3!==n.type)return;let{source:t}=n.data;if(t===iD.Mutation&&e.registerMutation(n.timestamp),t===iD.Scroll&&e.registerScroll(n.timestamp),n.data.source===iD.MouseInteraction){let{type:t,id:r}=n.data,i=oe.mirror.getNode(r);i instanceof HTMLElement&&t===iF.Click&&e.registerClick(i)}}catch(e){}}(e.clickDetector,t),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!oA(e,t,i))return!0;if(!i)return!1;if(i&&e.session&&0===e.session.segmentId&&oA(e,function(e){let n=e.getOptions();return{type:iM.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:n.sessionSampleRate,errorSampleRate:n.errorSampleRate,useCompressionOption:n.useCompression,blockAllMedia:n.blockAllMedia,maskAllText:n.maskAllText,maskAllInputs:n.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:n.networkDetailAllowUrls.length>0,networkCaptureBodies:n.networkCaptureBodies,networkRequestHasHeaders:n.networkRequestHeaders.length>0,networkResponseHasHeaders:n.networkResponseHeaders.length>0}}}}(e),!1),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){let n=e.eventBuffer.getEarliestTimestamp();n&&(e.getOptions()._experiments.traceInternals,e.session.started=n,e.getOptions().stickySession&&ow(e.session))}return"session"===e.recordingMode&&e.flush(),!0})}),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(e){this._handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this._handleException(e),!1}}async stop({forceFlush:e=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1;try{this._options._experiments.traceInternals,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,function(){if(oC())try{rK.sessionStorage.removeItem(rq)}catch(e){}}(),this.session=void 0}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),this._options._experiments.traceInternals)}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),this._options._experiments.traceInternals)}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let n=Date.now();this._options._experiments.traceInternals,await this.flushImmediate();let t=this.stopRecording();e&&t&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let n=e();"buffer"!==this.recordingMode&&!0!==n&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&oR(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${rK.location.pathname}${rK.location.hash}${rK.location.search}`,n=`${rK.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(e,n){let t=this._throttledAddEvent(e,n);if(t===at){let e=ou({category:"replay.throttled"});this.addUpdate(()=>!oA(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return t}getCurrentRoute(){let e=this.lastTransaction||(0,Q.nZ)().getTransaction(),n=(e&&(0,eQ.XU)(e).data||{})[eS];if(e&&n&&["route","custom"].includes(n))return(0,eQ.XU)(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:n}){if(e&&window.Worker){let e=function(e){try{let n=e||"";if(!n)return;let t=new Worker(n);return new ok(t)}catch(e){}}(n);if(e)return e}return new o_}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){}_initializeSessionForSampling(e){let n=this._options.errorSampleRate>0,t=oP({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=t}_checkSession(){if(!this.session)return!1;let e=this.session;return!oS(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{rK.document.addEventListener("visibilitychange",this._handleVisibilityChange),rK.addEventListener("blur",this._handleWindowBlur),rK.addEventListener("focus",this._handleWindowFocus),rK.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){let n=(0,Q.nZ)(),t=(0,Q.s3)();n.addScopeListener(o4(e)),(0,tm.O)(op(e)),(0,tp.a)(n=>{if(!e.isEnabled())return;let t=function(e){let{from:n,to:t}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:t,data:{previous:n}}}(n);null!==t&&(e.getContext().urls.push(t.name),e.triggerUserActivity(),e.addUpdate(()=>(oD(e,[t]),!1)))}),function(e){let n=(0,Q.s3)();try{let t=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),l={replay:e,textEncoder:t,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s};n&&n.on?n.on("beforeAddBreadcrumb",(e,n)=>(function(e,n,t){if(n.data)try{var r,i;"xhr"===n.category&&(r=t)&&r.xhr&&(function(e,n,t){let{xhr:r,input:i}=n;if(!r)return;let o=oj(i,t.textEncoder),a=r.getResponseHeader("content-length")?oU(r.getResponseHeader("content-length")):function(e,n,t){try{let r="json"===n&&e&&"object"==typeof e?JSON.stringify(e):e;return oj(r,t)}catch(e){return}}(r.response,r.responseType,t.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(n,t,e),o3(n,t,e)),"fetch"===n.category&&(i=t)&&i.response&&(function(e,n,t){let{input:r,response:i}=n,o=oj(r?oX(r):void 0,t.textEncoder),a=i?oU(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(n,t,e),oZ(n,t,e))}catch(e){}})(l,e,n)):((0,tg.U)(n=>{e.isEnabled()&&oF(e,function(e){let{startTimestamp:n,endTimestamp:t,fetchData:r,response:i}=e;if(!t)return null;let{method:o,url:a}=r;return{type:"resource.fetch",start:n/1e3,end:t/1e3,name:a,data:{method:o,statusCode:i?i.status:void 0}}}(n))}),(0,tf.UK)(n=>{e.isEnabled()&&oF(e,function(e){let{startTimestamp:n,endTimestamp:t,xhr:r}=e,i=r[tf.xU];if(!n||!t||!i)return null;let{method:o,url:a,status_code:s}=i;return void 0===a?null:{type:"resource.xhr",name:a,start:n/1e3,end:t/1e3,data:{method:o,statusCode:s}}}(n))}))}catch(e){}}(e);let r=function(e,n=!1){let t=n?oM(e):void 0;return Object.assign((n,r)=>e.isEnabled()?"replay_event"===n.type?(delete n.breadcrumbs,n):(!n.type||oL(n)||oO(n))&&e.checkAndHandleExpiredSession()?oO(n)?(e.flush(),n.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!n.timestamp||(e.throttledAddEvent({type:iM.Custom,timestamp:1e3*n.timestamp,data:{tag:"breadcrumb",payload:{timestamp:n.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:n.event_id}}}}),!1)),n):!n.type&&n.exception&&n.exception.values&&n.exception.values.length&&r.originalException&&r.originalException.__rrweb__&&!e.getOptions()._experiments.captureExceptions?null:(("buffer"===e.recordingMode&&n.message!==rz&&n.exception&&!n.type&&ox(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(n.tags={...n.tags,replayId:e.getSessionId()}),t&&t(n,{statusCode:200}),n):n:n,{id:"Replay"})}(e,!(t&&t.on));t&&t.addEventProcessor?t.addEventProcessor(r):eZ(r),t&&t.on&&(t.on("beforeSendEvent",n=>{e.isEnabled()&&!n.type&&function(e,n){let t=n.exception&&n.exception.values&&n.exception.values[0].value;"string"==typeof t&&(t.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||t.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&or(e,ou({category:"replay.hydrate-error"}))}(e,n)}),t.on("afterSendEvent",oM(e)),t.on("createDsc",n=>{let t=e.getSessionId();t&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(n.replay_id=t)}),t.on("startTransaction",n=>{e.lastTransaction=n}),t.on("finishTransaction",n=>{e.lastTransaction=n}),t.on("beforeSendFeedback",(n,t)=>{let r=e.getSessionId();t&&t.includeReplay&&e.isEnabled()&&r&&n.contexts&&n.contexts.feedback&&(n.contexts.feedback.replay_id=r)}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=function(e){function n(n){e.performanceEntries.includes(n)||e.performanceEntries.push(n)}function t({entries:e}){e.forEach(n)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(rA(e,t))}),r.push(rP(({metric:n})=>{e.replayPerformanceEntries.push(function(e){let n=e.entries,t=n[n.length-1],r=t?t.element:void 0,i=e.value,o=og(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:o,end:o,data:{value:i,size:i,nodeId:r?oe.mirror.getId(r):void 0}}}(n))})),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{rK.document.removeEventListener("visibilitychange",this._handleVisibilityChange),rK.removeEventListener("blur",this._handleWindowBlur),rK.removeEventListener("focus",this._handleWindowFocus),rK.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===rK.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=ou({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=ou({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,n){if(!e.isEnabled())return;e.updateUserActivity();let t=function(e){var n;let{metaKey:t,shiftKey:r,ctrlKey:i,altKey:o,key:a,target:s}=e;if(!s||"INPUT"===(n=s).tagName||"TEXTAREA"===n.tagName||n.isContentEditable||!a)return null;let l=t||i||o,c=1===a.length;if(!l&&c)return null;let u=(0,ty.Rt)(s,{maxStringLength:200})||"",d=oh(s,u);return ou({category:"ui.keyDown",message:u,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:i,altKey:o,key:a}})}(n);t&&or(e,t)}(this,e)}}_doChangeToBackgroundTasks(e){!this.session||oE(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){this.session&&this.checkAndHandleExpiredSession()&&e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:iM.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(of).filter(Boolean).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(oD(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:n}=this;if(!e||!n||e.segmentId)return;let t=n.getEarliestTimestamp();t&&tthis._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let t=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await an({replayId:e,recordingData:i,segmentId:r,eventContext:t,session:this.session,options:this.getOptions(),timestamp:n})}catch(n){this._handleException(n),this.stop({reason:"sendReplay"});let e=(0,Q.s3)();e&&e.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e||!this.checkAndHandleExpiredSession()||!this.session)return;let n=this.session.started,t=Date.now()-n;this._debouncedFlush.cancel();let r=tthis._options.maxReplayDuration+5e3;if(r||i){this._options._experiments.traceInternals,r&&this._debouncedFlush();return}let o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&this._options._experiments.traceInternals,!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(e){}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&ow(this.session)}__init6(){this._onMutationHandler=e=>{let n=e.length,t=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,i=t&&n>t;if(n>r||i){let e=ou({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function ai(e,n,t,r){let i=[...e,..."string"==typeof r?r.split(","):[],...n];return void 0!==t&&("string"==typeof t&&i.push(`.${t}`),(0,J.Cf)(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),i.join(",")}let ao='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',aa=["content-length","content-type","accept"],as=!1,al=e=>new ac(e);class ac{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:n=5500,minReplayDuration:t=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},sessionSampleRate:l,errorSampleRate:c,maskAllText:u=!0,maskAllInputs:d=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:h=750,mutationLimit:m=1e4,slowClickTimeout:f=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:_=[],networkCaptureBodies:v=!0,networkRequestHeaders:b=[],networkResponseHeaders:k=[],mask:C=[],maskAttributes:x=["title","placeholder"],unmask:T=[],block:w=[],unblock:I=[],ignore:R=[],maskFn:E,beforeAddRecordingEvent:S,beforeErrorSampling:P,blockClass:A,blockSelector:B,maskInputOptions:N,maskTextClass:L,maskTextSelector:O,ignoreClass:M}={}){this.name=ac.id;let D=function({mask:e,unmask:n,block:t,unblock:r,ignore:i,blockClass:o,blockSelector:a,maskTextClass:s,maskTextSelector:l,ignoreClass:c}){let u={maskTextSelector:ai(e,[".sentry-mask","[data-sentry-mask]"],s,l),unmaskTextSelector:ai(n,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:ai(t,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,a),unblockSelector:ai(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:ai(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],c)};return o instanceof RegExp&&(u.blockClass=o),s instanceof RegExp&&(u.maskTextClass=s),u}({mask:C,unmask:T,block:w,unblock:I,ignore:R,blockClass:A,blockSelector:B,maskTextClass:L,maskTextSelector:O,ignoreClass:M});if(this._recordingOptions={maskAllInputs:d,maskAllText:u,maskInputOptions:{...N||{},password:!0},maskTextFn:E,maskInputFn:E,maskAttributeFn:(e,n,t)=>(function({el:e,key:n,maskAttributes:t,maskAllText:r,privacyOptions:i,value:o}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:t.includes(n)||"value"===n&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:x,maskAllText:u,privacyOptions:D,key:e,value:n,el:t}),...D,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:n,minReplayDuration:Math.min(t,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,sessionSampleRate:l,errorSampleRate:c,useCompression:o,workerUrl:a,blockAllMedia:p,maskAllInputs:d,maskAllText:u,mutationBreadcrumbLimit:h,mutationLimit:m,slowClickTimeout:f,slowClickIgnoreSelectors:g,networkDetailAllowUrls:y,networkDetailDenyUrls:_,networkCaptureBodies:v,networkRequestHeaders:au(b),networkResponseHeaders:au(k),beforeAddRecordingEvent:S,beforeErrorSampling:P,_experiments:s},"number"==typeof l&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),"number"==typeof c&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysOnErrorSampleRate: ${c} })`),this._initialOptions.errorSampleRate=c),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ao}`:ao),this._isInitialized&&(0,t6.j)())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return as}set _isInitialized(e){as=e}setupOnce(){(0,t6.j)()&&(this._setup(),setTimeout(()=>this._initialize()))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay&&this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){let e=function(e){let n=(0,Q.s3)(),t=n&&n.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,Z.Jr)(e)};return t?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==t.replaysSessionSampleRate&&null==t.replaysOnErrorSampleRate&&(0,J.Cf)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),"number"==typeof t.replaysSessionSampleRate&&(r.sessionSampleRate=t.replaysSessionSampleRate),"number"==typeof t.replaysOnErrorSampleRate&&(r.errorSampleRate=t.replaysOnErrorSampleRate)):(0,J.Cf)(()=>{console.warn("SDK client is not available.")}),r}(this._initialOptions);this._replay=new ar({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{let e=(0,Q.s3)().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function au(e){return[...aa,...e.map(e=>e.toLowerCase())]}function ad(){let e=(0,Q.s3)();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")}function ap(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:ap(e.parentNode,n,t,r+1)}function ah(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch(e){return!1}}}ac.__initStatic(),(j=H||(H={}))[j.Document=0]="Document",j[j.DocumentType=1]="DocumentType",j[j.Element=2]="Element",j[j.Text=3]="Text",j[j.CDATA=4]="CDATA",j[j.Comment=5]="Comment";let am="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",af={map:{},getId:()=>(console.error(am),-1),getNode:()=>(console.error(am),null),removeNodeFromMap(){console.error(am)},has:()=>(console.error(am),!1),reset(){console.error(am)}};function ag(e,n,t,r,i=window){let o=i.Object.getOwnPropertyDescriptor(e,n);return i.Object.defineProperty(e,n,r?t:{set(e){aC(()=>{t.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>ag(e,n,o||{},!0)}function ay(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],i=t(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=i,()=>{e[n]=r}}catch(e){return()=>{}}}function a_(e,n,t,r,i){if(!e)return!1;let o=e?e.nodeType===e.ELEMENT_NODE?e:e.parentElement:null;if(!o)return!1;let a=ah(n,t);if(!i){let e=r&&o.matches(r);return a(o)&&!e}let s=ap(o,a),l=-1;return!(s<0)&&(r&&(l=ap(o,ah(null,r))),s>-1&&l<0||s("map"===n&&console.error(am),Reflect.get(e,n,t))})),/[1-9][0-9]{12}/.test(Date.now().toString());let av={};function ab(e){let n=av[e];if(n)return n;let t=window.document,r=window[e];if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let i=n.contentWindow;i&&i[e]&&(r=i[e]),t.head.removeChild(n)}catch(e){}return av[e]=r.bind(window)}function ak(...e){return ab("requestAnimationFrame")(...e)}function aC(...e){return ab("setTimeout")(...e)}var ax=((U=ax||{})[U["2D"]=0]="2D",U[U.WebGL=1]="WebGL",U[U.WebGL2=2]="WebGL2",U);let aT=e=>y?(...n)=>{try{return e(...n)}catch(e){if(y&&!0===y(e))return()=>{};throw e}}:e;for(var aw="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aI="undefined"==typeof Uint8Array?[]:new Uint8Array(256),aR=0;aR>2]+aw[(3&t[n])<<4|t[n+1]>>4]+aw[(15&t[n+1])<<2|t[n+2]>>6]+aw[63&t[n+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i};let aS=new Map,aP=(e,n,t)=>{let r;if(!e||!(aB(e,n)||"object"==typeof e))return;let i=e.constructor.name,o=((r=aS.get(t))||(r=new Map,aS.set(t,r)),r.has(i)||r.set(i,[]),r.get(i)),a=o.indexOf(e);return -1===a&&(a=o.length,o.push(e)),a},aA=(e,n,t)=>e.map(e=>(function e(n,t,r){if(n instanceof Array)return n.map(n=>e(n,t,r));if(null===n);else if(n instanceof Float32Array||n instanceof Float64Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Uint8Array||n instanceof Uint16Array||n instanceof Int16Array||n instanceof Int8Array||n instanceof Uint8ClampedArray)return{rr_type:n.constructor.name,args:[Object.values(n)]};else if(n instanceof ArrayBuffer)return{rr_type:n.constructor.name,base64:aE(n)};else if(n instanceof DataView)return{rr_type:n.constructor.name,args:[e(n.buffer,t,r),n.byteOffset,n.byteLength]};else if(n instanceof HTMLImageElement){let e=n.constructor.name,{src:t}=n;return{rr_type:e,src:t}}else if(n instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:n.toDataURL()};else if(n instanceof ImageData)return{rr_type:n.constructor.name,args:[e(n.data,t,r),n.width,n.height]};else if(aB(n,t)||"object"==typeof n)return{rr_type:n.constructor.name,index:aP(n,t,r)};return n})(e,n,t)),aB=(e,n)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof n[e]).find(t=>e instanceof n[t]);function aN(e,n,t,r,i){let o=[];try{let a=ay(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o,...a){if(!a_(this,n,t,r,!0)){let e="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=e),i&&["webgl","webgl2"].includes(e)){if(a[0]&&"object"==typeof a[0]){let e=a[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}}return e.apply(this,[o,...a])}});o.push(a)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(e=>e())}}function aL(e,n,t,r,i,o,a,s){let l=[];for(let a of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof e[a])continue;let c=ay(e,a,function(e){return function(...l){let c=e.apply(this,l);if(aP(c,s,this),"tagName"in this.canvas&&!a_(this.canvas,r,i,o,!0)){let e=aA(l,s,this),r={type:n,property:a,args:e};t(this.canvas,r)}return c}});l.push(c)}catch(i){let r=ag(e,a,{set(e){t(this.canvas,{type:n,property:a,args:[e],setter:!0})}});l.push(r)}return l}class aO{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,n)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(n)};let{sampling:n="all",win:t,blockClass:r,blockSelector:i,unblockSelector:o,maxCanvasSize:a,recordCanvas:s,dataURLOptions:l,errorHandler:c}=e;if(this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,c&&(y=c),e.enableManualSnapshot)return;aT(()=>{s&&"all"===n&&this.initCanvasMutationObserver(t,r,i,o),s&&"number"==typeof n&&this.initCanvasFPSObserver(n,t,r,i,o,a,{dataURLOptions:l})})()}initCanvasFPSObserver(e,n,t,r,i,o,a){let s=aN(n,t,r,i,!0),l=this.takeSnapshot(!1,e,n,t,r,i,o,a.dataURLOptions);this.resetObservers=()=>{s(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,n,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=aN(e,n,t,r,!1),o=function(e,n,t,r,i){let o=[];for(let a of Object.getOwnPropertyNames(n.CanvasRenderingContext2D.prototype))try{if("function"!=typeof n.CanvasRenderingContext2D.prototype[a])continue;let s=ay(n.CanvasRenderingContext2D.prototype,a,function(o){return function(...s){return a_(this.canvas,t,r,i,!0)||aC(()=>{let t=aA(s,n,this);e(this.canvas,{type:ax["2D"],property:a,args:t})},0),o.apply(this,s)}});o.push(s)}catch(r){let t=ag(n.CanvasRenderingContext2D.prototype,a,{set(n){e(this.canvas,{type:ax["2D"],property:a,args:[n],setter:!0})}});o.push(t)}return()=>{o.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r),a=function(e,n,t,r,i,o){let a=[];return a.push(...aL(n.WebGLRenderingContext.prototype,ax.WebGL,e,t,r,i,o,n)),void 0!==n.WebGL2RenderingContext&&a.push(...aL(n.WebGL2RenderingContext.prototype,ax.WebGL2,e,t,r,i,o,n)),()=>{a.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r,this.mirror);this.resetObservers=()=>{i(),o(),a()}}snapshot(e){let{options:n}=this,t=this.takeSnapshot(!0,"all"===n.sampling?2:n.sampling||2,n.win,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(t)}}takeSnapshot(e,n,t,r,i,o,a,s,l){let c=new Map,u=new Worker(function(){let e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());u.onmessage=e=>{let n=e.data,{id:t}=n;if(c.set(t,!1),!("base64"in n))return;let{base64:r,type:i,width:o,height:a}=n;this.mutationCb({id:t,type:ax["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:i}]},0,0,o,a]}]})};let d=1e3/n,p=0,h=e=>{if(e)return[e];let n=[];return t.document.querySelectorAll("canvas").forEach(e=>{a_(e,r,i,o,!0)||n.push(e)}),n},m=n=>{if(p&&n-p{let t=this.mirror.getId(n);if(!c.get(t)&&n.width&&n.height){if(c.set(t,!0),!e&&["webgl","webgl2"].includes(n.__context)){let e=n.getContext(n.__context);!1===(0,t3.x)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(n).then(e=>{u.postMessage({id:t,bitmap:e,width:n.width,height:n.height,dataURLOptions:s,maxCanvasSize:a},[e])}).catch(e=>{aT(()=>{throw e})()})}}),ak(m)};return ak(m)}startPendingCanvasMutationFlusher(){ak(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=n=>{this.rafStamps.latestId=n,ak(e)};ak(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,n)=>{let t=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,t)}),ak(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,n){if(this.frozen||this.locked)return;let t=this.pendingCanvasMutations.get(e);if(!t||-1===n)return;let r=t.map(e=>{let{type:n,...t}=e;return t}),{type:i}=t[0];this.mutationCb({id:n,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}let aM={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},aD="ReplayCanvas",aF=(e={})=>{let n;let[t,r]=e.maxCanvasSize||[],i={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,1280):1280,r?Math.min(r,1280):1280]},o=new Promise(e=>n=e);return{name:aD,setupOnce(){},getOptions(){let{quality:e,enableManualSnapshot:t,maxCanvasSize:r}=i;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{let i=new aO({...e,enableManualSnapshot:t,maxCanvasSize:r,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return n(i),i},...aM[e||"medium"]||aM.medium}},async snapshot(e){(await o).snapshot(e)}}},aj=ea(aD,aF),aU=ex.GLOBAL_OBJ,aK="#ffffff",aq="inherit",az="rgba(108, 95, 199, 1)",aH={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:aK,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"25px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:az,submitBorder:az,submitOutlineFocus:"#29232f",submitForeground:aK,submitForegroundHover:aK,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:aq,inputForeground:aq,inputBorder:"var(--border)",inputOutlineFocus:az,formBorderRadius:"20px",formContentBorderRadius:"6px"},aV={light:aH,dark:{...aH,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},a$="widget";async function aG({client:e,scope:n,event:t}){let r={};e.emit&&e.emit("preprocessEvent",t,r);let i=await (0,eH.R)(e.getOptions(),t,r,n,e,(0,en.aF)());return null===i?(e.recordDroppedEvent("event_processor","feedback",t),null):(i.platform=i.platform||"javascript",i)}async function aW({feedback:{message:e,email:n,name:t,source:r,url:i}},{includeReplay:o=!0}={}){let a=(0,Q.s3)(),s=a&&a.getTransport(),l=a&&a.getDsn();if(!a||!s||!l)return;let c={contexts:{feedback:{contact_email:n,name:t,message:e,url:i,source:r}},type:"feedback"};return(0,Q.$e)(async e=>{let n;e.clearBreadcrumbs(),["api",a$].includes(String(r))&&e.setLevel("info");let t=await aG({scope:e,client:a,event:c});if(!t)return;a.emit&&a.emit("beforeSendFeedback",t,{includeReplay:!!o});let i=eU(t,l,a.getOptions()._metadata,a.getOptions().tunnel);try{n=await s.send(i)}catch(n){let e=Error("Unable to send Feedback");try{e.cause=n}catch(e){}throw e}if(n){if("number"==typeof n.statusCode&&(n.statusCode<200||n.statusCode>=300))throw Error("Unable to send Feedback");return n}})}function aZ({name:e,email:n,message:t,source:r="api",url:i=(0,ty.l4)()},o={}){if(!t)throw Error("Unable to submit feedback with empty message");return aW({feedback:{name:e,email:n,message:t,url:i,source:r}},o)}function aQ(e,n){return{...e,...n,themeDark:{...e.themeDark,...n.themeDark},themeLight:{...e.themeLight,...n.themeLight}}}function aY(e){return` --background: ${e.background}; --background-hover: ${e.backgroundHover}; --foreground: ${e.foreground}; --error: ${e.error}; --success: ${e.success}; --border: ${e.border}; --border-radius: ${e.borderRadius}; --box-shadow: ${e.boxShadow}; --submit-background: ${e.submitBackground}; --submit-background-hover: ${e.submitBackgroundHover}; --submit-border: ${e.submitBorder}; --submit-outline-focus: ${e.submitOutlineFocus}; --submit-foreground: ${e.submitForeground}; --submit-foreground-hover: ${e.submitForegroundHover}; --cancel-background: ${e.cancelBackground}; --cancel-background-hover: ${e.cancelBackgroundHover}; --cancel-border: ${e.cancelBorder}; --cancel-outline-focus: ${e.cancelOutlineFocus}; --cancel-foreground: ${e.cancelForeground}; --cancel-foreground-hover: ${e.cancelForegroundHover}; --input-background: ${e.inputBackground}; --input-foreground: ${e.inputForeground}; --input-border: ${e.inputBorder}; --input-outline-focus: ${e.inputOutlineFocus}; --form-border-radius: ${e.formBorderRadius}; --form-content-border-radius: ${e.formContentBorderRadius}; `}async function aJ(e,n,t){if(e){e.hideError();try{return await aZ({...n,source:a$},t)}catch(n){e&&e.showError("There was a problem submitting feedback, please wait and try again.")}}}function aX(e,n){return Object.entries(n).forEach(([n,t])=>{e.setAttributeNS(null,n,t)}),e}function a0(e,n,...t){let r=aU.document.createElement(e);for(let e of(n&&Object.entries(n).forEach(([e,n])=>{"className"===e&&"string"==typeof n?r.setAttribute("class",n):"boolean"==typeof n&&n?r.setAttribute(e,""):"string"==typeof n?r.setAttribute(e,n):e.startsWith("on")&&"function"==typeof n&&r.addEventListener(e.substring(2).toLowerCase(),n)}),t))!function e(n,t){let r=aU.document;if(null!=t){if(Array.isArray(t))for(let r of t)e(n,r);else!1===t||("string"==typeof t?n.appendChild(r.createTextNode(t)):t instanceof Node?n.appendChild(t):n.appendChild(r.createTextNode(String(t))))}}(r,e);return r}function a1(e,n){let t=e.get(n);return"string"==typeof t?t.trim():""}function a2({shadow:e,options:{shouldCreateActor:n=!0,...t},attachTo:r}){let i,o;let a=!1;async function s(n){if(!o)return;let r=[];if(t.isNameRequired&&!n.name&&r.push(t.nameLabel),t.isEmailRequired&&!n.email&&r.push(t.emailLabel),n.message||r.push(t.messageLabel),r.length>0){o.showError(`Please enter in the following required fields: ${r.join(", ")}`);return}if(!await aJ(o,n)){t.onSubmitError&&t.onSubmitError();return}h(),function(){if(e)try{let n=function({message:e,onRemove:n}){function t(){r&&(r.remove(),n&&n())}let r=a0("div",{className:"success-message",onClick:t},function(){let e=e=>aU.document.createElementNS("http://www.w3.org/2000/svg",e),n=aX(e("svg"),{class:"success-icon",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"}),t=aX(e("g"),{clipPath:"url(#clip0_57_156)"}),r=aX(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=aX(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});n.appendChild(t).append(i,r);let o=e("defs"),a=aX(e("clipPath"),{id:"clip0_57_156"}),s=aX(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),o.appendChild(a),n.appendChild(o).appendChild(a).appendChild(s),{get el(){return n}}}().el,e);return{el:r,remove:t}}({message:t.successMessageText,onRemove:()=>{r&&clearTimeout(r),c()}});if(!n.el)throw Error("Unable to show success message");e.appendChild(n.el);let r=setTimeout(()=>{n&&n.remove()},5e3)}catch(e){J.kg.error(e)}}(),t.onSubmitSuccess&&t.onSubmitSuccess()}function l(){let e=(0,Q.s3)(),n=e&&e.getIntegrationByName&&e.getIntegrationByName("Replay");n&&n.flush().catch(e=>{})}function c(){i&&i.show()}function u(){i&&i.hide()}function d(){try{if(o){o.open(),a=!0,t.onFormOpen&&t.onFormOpen(),l();return}let n=t.useSentryUser,r=(0,Q.nZ)(),i=r&&r.getUser();if(!(o=function({formTitle:e,showBranding:n,showName:t,showEmail:r,isNameRequired:i,isEmailRequired:o,colorScheme:a,defaultName:s,defaultEmail:l,onClosed:c,onCancel:u,onSubmit:d,...p}){let h=null;function m(){h&&(h.open=!1)}let{el:f,showError:g,hideError:y}=function({nameLabel:e,namePlaceholder:n,emailLabel:t,emailPlaceholder:r,messageLabel:i,messagePlaceholder:o,isRequiredLabel:a,cancelButtonLabel:s,submitButtonLabel:l,showName:c,showEmail:u,isNameRequired:d,isEmailRequired:p,defaultName:h,defaultEmail:m,onCancel:f,onSubmit:g}){let{el:y}=function({label:e}){return{el:a0("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}({label:l}),_=a0("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"}),v=a0("input",{id:"name",type:c?"text":"hidden","aria-hidden":c?"false":"true",name:"name",required:d,className:"form__input",placeholder:n,value:h}),b=a0("input",{id:"email",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"email",required:p,className:"form__input",placeholder:r,value:m}),k=a0("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:o}),C=a0("button",{type:"button",className:"btn btn--default","aria-label":s,onClick:e=>{f&&f(e)}},s),x=a0("form",{className:"form",onSubmit:function(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(g){let n=new FormData(e.target),t={name:a1(n,"name"),email:a1(n,"email"),message:a1(n,"message")};g(t)}}catch(e){}}},[_,c&&a0("label",{htmlFor:"name",className:"form__label"},[a0("span",{className:"form__label__text"},e,d&&a0("span",{className:"form__label__text--required"},` ${a}`)),v]),!c&&v,u&&a0("label",{htmlFor:"email",className:"form__label"},[a0("span",{className:"form__label__text"},t,p&&a0("span",{className:"form__label__text--required"},` ${a}`)),b]),!u&&b,a0("label",{htmlFor:"message",className:"form__label"},[a0("span",{className:"form__label__text"},i,a0("span",{className:"form__label__text--required"},` ${a}`)),k]),a0("div",{className:"btn-group"},[y,C])]);return{get el(){return x},showError:function(e){_.textContent=e,_.classList.remove("form__error-container--hidden"),_.setAttribute("aria-hidden","false")},hideError:function(){_.textContent="",_.classList.add("form__error-container--hidden"),_.setAttribute("aria-hidden","true")}}}({showEmail:r,showName:t,isEmailRequired:o,isNameRequired:i,defaultName:s,defaultEmail:l,onSubmit:d,onCancel:u,...p});return h=a0("dialog",{className:"dialog",open:!0,onClick:function(){m(),c&&c()}},a0("div",{className:"dialog__content",onClick:e=>{e.stopPropagation()}},a0("h2",{className:"dialog__header"},e,n&&a0("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},function({colorScheme:e}){let n=e=>aU.document.createElementNS("http://www.w3.org/2000/svg",e),t=aX(n("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=aX(n("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});t.append(r);let i=n("defs"),o=n("style");return o.textContent=` path { fill: ${"dark"===e?"#fff":"#362d59"}; }`,"system"===e&&(o.textContent+=` @media (prefers-color-scheme: dark) { path: { fill: '#fff'; } } `),i.append(o),t.append(i),{get el(){return t}}}({colorScheme:a}).el)),f)),{get el(){return h},showError:g,hideError:y,open:function(){h&&(h.open=!0)},close:m,checkIsOpen:function(){return h&&!0===h.open||!1}}}({colorScheme:t.colorScheme,showBranding:t.showBranding,showName:t.showName||t.isNameRequired,showEmail:t.showEmail||t.isEmailRequired,isNameRequired:t.isNameRequired,isEmailRequired:t.isEmailRequired,formTitle:t.formTitle,cancelButtonLabel:t.cancelButtonLabel,submitButtonLabel:t.submitButtonLabel,emailLabel:t.emailLabel,emailPlaceholder:t.emailPlaceholder,messageLabel:t.messageLabel,messagePlaceholder:t.messagePlaceholder,nameLabel:t.nameLabel,namePlaceholder:t.namePlaceholder,isRequiredLabel:t.isRequiredLabel,defaultName:n&&i&&i[n.name]||"",defaultEmail:n&&i&&i[n.email]||"",onClosed:()=>{c(),a=!1,t.onFormClose&&t.onFormClose()},onCancel:()=>{p(),c()},onSubmit:s})).el)throw Error("Unable to open Feedback dialog");e.appendChild(o.el),u(),t.onFormOpen&&t.onFormOpen(),l()}catch(e){J.kg.error(e)}}function p(){o&&(o.close(),a=!1,t.onFormClose&&t.onFormClose())}function h(){if(o){p();let e=o.el;e&&e.remove(),o=void 0}}function m(){a||d(),u()}return r?r.addEventListener("click",m):n&&(i=function({buttonLabel:e,onClick:n}){let t=a0("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},function(){let e=e=>aU.document.createElementNS("http://www.w3.org/2000/svg",e),n=aX(e("svg"),{class:"feedback-icon",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"}),t=aX(e("g"),{clipPath:"url(#clip0_57_80)"}),r=aX(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});n.appendChild(t).appendChild(r);let i=e("defs"),o=aX(e("clipPath"),{id:"clip0_57_80"}),a=aX(e("rect"),{width:"20",height:"20",fill:"white"});return o.appendChild(a),i.appendChild(o),n.appendChild(i).appendChild(o).appendChild(a),{get el(){return n}}}().el,e?a0("span",{className:"widget__actor__text"},e):null);return t.addEventListener("click",function(e){n&&n(e)}),{get el(){return t},show:()=>{t.classList.remove("widget__actor--hidden"),t.setAttribute("aria-hidden","false")},hide:()=>{t.classList.add("widget__actor--hidden"),t.setAttribute("aria-hidden","true")}}}({buttonLabel:t.buttonLabel,onClick:m})).el&&e.appendChild(i.el),{get actor(){return i},get dialog(){return o},showActor:c,hideActor:u,removeActor:function(){i&&i.el&&i.el.remove()},openDialog:d,closeDialog:p,removeDialog:h}}let a3=aU.document,a5=e=>new a4(e);class a4{static __initStatic(){this.id="Feedback"}constructor({autoInject:e=!0,id:n="sentry-feedback",isEmailRequired:t=!1,isNameRequired:r=!1,showBranding:i=!0,showEmail:o=!0,showName:a=!0,useSentryUser:s={email:"email",name:"username"},themeDark:l,themeLight:c,colorScheme:u="system",buttonLabel:d="Report a Bug",cancelButtonLabel:p="Cancel",submitButtonLabel:h="Send Bug Report",formTitle:m="Report a Bug",emailPlaceholder:f="your.email@example.org",emailLabel:g="Email",messagePlaceholder:y="What's the bug? What did you expect?",messageLabel:_="Description",namePlaceholder:v="Your Name",nameLabel:b="Name",isRequiredLabel:k="(required)",successMessageText:C="Thank you for your report!",onFormClose:x,onFormOpen:T,onSubmitError:w,onSubmitSuccess:I}={}){this.name=a4.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:e,showBranding:i,id:n,isEmailRequired:t,isNameRequired:r,showEmail:o,showName:a,useSentryUser:s,colorScheme:u,themeDark:{...aV.dark,...l},themeLight:{...aV.light,...c},buttonLabel:d,cancelButtonLabel:p,submitButtonLabel:h,formTitle:m,emailLabel:g,emailPlaceholder:f,messageLabel:_,messagePlaceholder:y,nameLabel:b,namePlaceholder:v,isRequiredLabel:k,successMessageText:C,onFormClose:x,onFormOpen:T,onSubmitError:w,onSubmitSuccess:I}}setupOnce(){if((0,t6.j)())try{this._cleanupWidgetIfExists();let{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,n){try{let t=aQ(this.options,n||{});return this._ensureShadowHost(t,({shadow:n})=>{let r="string"==typeof e?a3.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)return null;let i=a2({shadow:n,options:t,attachTo:r});return this._widgets.add(i),this._widget||(this._widget=i),i})}catch(e){return null}}createWidget(e){try{return this._createWidget(aQ(this.options,e||{}))}catch(e){return null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(e){}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();let e=a3.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,({shadow:n})=>{let t=a2({shadow:n,options:e});return!this._hasInsertedActorStyles&&t.actor&&(n.appendChild(function(e){let n=e.createElement("style");return n.textContent=` .widget__actor { position: fixed; left: var(--left); right: var(--right); bottom: var(--bottom); top: var(--top); z-index: var(--z-index); line-height: 16px; display: flex; align-items: center; gap: 8px; border-radius: var(--border-radius); cursor: pointer; font-family: inherit; font-size: var(--font-size); font-weight: 600; padding: 16px; text-decoration: none; z-index: 9000; color: var(--foreground); background-color: var(--background); border: var(--border); box-shadow: var(--box-shadow); opacity: 1; transition: opacity 0.1s ease-in-out; } .widget__actor:hover { background-color: var(--background-hover); } .widget__actor svg { width: 16px; height: 16px; } .widget__actor--hidden { opacity: 0; pointer-events: none; visibility: hidden; } .widget__actor__text { } @media (max-width: 600px) { .widget__actor__text { display: none; } } .feedback-icon path { fill: var(--foreground); } `,n}(a3)),this._hasInsertedActorStyles=!0),this._widgets.add(t),this._widget||(this._widget=t),t})}_ensureShadowHost(e,n){let t=!1;if(!this._shadow||!this._host){let{id:n,colorScheme:r,themeLight:i,themeDark:o}=e,{shadow:a,host:s}=function({id:e,colorScheme:n,themeDark:t,themeLight:r}){try{let i=aU.document,o=i.createElement("div");o.id=e;let a=o.attachShadow({mode:"open"});return a.appendChild(function(e,n,t){let r=e.createElement("style");return r.textContent=` :host { --bottom: 1rem; --right: 1rem; --top: auto; --left: auto; --z-index: 100000; --font-family: ${t.light.fontFamily}; --font-size: ${t.light.fontSize}; position: fixed; left: var(--left); right: var(--right); bottom: var(--bottom); top: var(--top); z-index: var(--z-index); font-family: var(--font-family); font-size: var(--font-size); ${aY("dark"===n?t.dark:t.light)} } ${"system"===n?` @media (prefers-color-scheme: dark) { :host { ${aY(t.dark)} } }`:""} }`,r}(i,n,{dark:t,light:r})),a.appendChild(function(e){let n=e.createElement("style");return n.textContent=` .dialog { line-height: 25px; background-color: rgba(0, 0, 0, 0.05); border: none; position: fixed; inset: 0; z-index: 10000; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.2s ease-in-out; } .dialog:not([open]) { opacity: 0; pointer-events: none; visibility: hidden; } .dialog:not([open]) .dialog__content { transform: translate(0, -16px) scale(0.98); } .dialog__content { position: fixed; left: var(--left); right: var(--right); bottom: var(--bottom); top: var(--top); border: var(--border); border-radius: var(--form-border-radius); background-color: var(--background); color: var(--foreground); width: 320px; max-width: 100%; max-height: calc(100% - 2rem); display: flex; flex-direction: column; box-shadow: var(--box-shadow); transition: transform 0.2s ease-in-out; transform: translate(0, 0) scale(1); } .dialog__header { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 600; padding: 24px 24px 0 24px; margin: 0; margin-bottom: 16px; } .brand-link { display: inline-flex; } .error { color: var(--error); margin-bottom: 16px; } .form { display: grid; overflow: auto; flex-direction: column; gap: 16px; padding: 0 24px 24px; } .form__error-container { color: var(--error); } .form__error-container--hidden { display: none; } .form__label { display: flex; flex-direction: column; gap: 4px; margin: 0px; } .form__label__text { display: grid; gap: 4px; align-items: center; grid-auto-flow: column; grid-auto-columns: max-content; } .form__label__text--required { font-size: 0.85em; } .form__input { line-height: inherit; background-color: var(--input-background); box-sizing: border-box; border: var(--input-border); border-radius: var(--form-content-border-radius); color: var(--input-foreground); font-family: inherit; font-size: var(--font-size); font-weight: 500; padding: 6px 12px; } .form__input::placeholder { color: var(--input-foreground); opacity: 0.65; } .form__input:focus-visible { outline: 1px auto var(--input-outline-focus); } .form__input--textarea { font-family: inherit; resize: vertical; } .btn-group { display: grid; gap: 8px; margin-top: 8px; } .btn { line-height: inherit; border: var(--cancel-border); border-radius: var(--form-content-border-radius); cursor: pointer; font-family: inherit; font-size: var(--font-size); font-weight: 600; padding: 6px 16px; } .btn[disabled] { opacity: 0.6; pointer-events: none; } .btn--primary { background-color: var(--submit-background); border-color: var(--submit-border); color: var(--submit-foreground); } .btn--primary:hover { background-color: var(--submit-background-hover); color: var(--submit-foreground-hover); } .btn--primary:focus-visible { outline: 1px auto var(--submit-outline-focus); } .btn--default { background-color: var(--cancel-background); color: var(--cancel-foreground); font-weight: 500; } .btn--default:hover { background-color: var(--cancel-background-hover); color: var(--cancel-foreground-hover); } .btn--default:focus-visible { outline: 1px auto var(--cancel-outline-focus); } .success-message { background-color: var(--background); border: var(--border); border-radius: var(--border-radius); box-shadow: var(--box-shadow); font-weight: 600; color: var(--success); padding: 12px 24px; line-height: 25px; display: grid; align-items: center; grid-auto-flow: column; gap: 6px; cursor: default; } .success-icon path { fill: var(--success); } `,n}(i)),{shadow:a,host:o}}catch(e){throw J.kg.warn("[Feedback] Browser does not support shadow DOM API"),Error("Browser does not support shadow DOM API.")}}({id:n,colorScheme:r,themeLight:i,themeDark:o});this._shadow=a,this._host=s,t=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;let r=n({shadow:this._shadow,host:this._host});return t&&a3.body.appendChild(this._host),r}}a4.__initStatic();let a6="CaptureConsole",a8=(e={})=>{let n=e.levels||J.RU;return{name:a6,setupOnce(){},setup(e){"console"in ex.GLOBAL_OBJ&&(0,th.e)(({args:t,level:r})=>{(0,Q.s3)()===e&&n.includes(r)&&function(e,n){let t={level:(0,t_.VT)(n),extra:{arguments:e}};(0,Q.$e)(r=>{if(r.addEventProcessor(e=>(e.logger="console",(0,Y.EG)(e,{handled:!1,type:"console"}),e)),"assert"===n&&!1===e[0]){let n=`Assertion failed: ${(0,ed.nK)(e.slice(1)," ")||"console.assert"}`;r.setExtra("arguments",e.slice(1)),(0,Q.uT)(n,t);return}let i=e.find(e=>e instanceof Error);if("error"===n&&i){(0,Q.Tb)(i,t);return}let o=(0,ed.nK)(e," ");(0,Q.uT)(o,t)})}(t,r)})}}};ea(a6,a8);let a7=ex.GLOBAL_OBJ,a9="ContextLines",se=(e={})=>{let n=null!=e.frameContextLines?e.frameContextLines:7;return{name:a9,setupOnce(){},processEvent:e=>(function(e,n){let t=a7.document,r=a7.location&&(0,tv.rt)(a7.location.href);if(!t||!r)return e;let i=e.exception&&e.exception.values;if(!i||!i.length)return e;let o=t.documentElement.innerHTML;if(!o)return e;let a=["","",...o.split("\n"),""];return i.forEach(e=>{let t=e.stacktrace;t&&t.frames&&(t.frames=t.frames.map(e=>(e.filename===r&&e.lineno&&a.length&&(0,Y.go)(a,e,n),e)))}),e})(e,n)}};ea(a9,se);let sn="Debug",st=(e={})=>{let n={debugger:!1,stringify:!1,...e};return{name:sn,setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",(e,t)=>{n.debugger,(0,J.Cf)(()=>{n.stringify?(console.log(JSON.stringify(e,null,2)),t&&Object.keys(t).length&&console.log(JSON.stringify(t,null,2))):(console.log(e),t&&Object.keys(t).length&&console.log(t))})})}}};ea(sn,st);let sr="Dedupe",si=()=>{let e;return{name:sr,setupOnce(){},processEvent(n){if(n.type)return n;try{var t;if((t=e)&&(function(e,n){let t=e.message,r=n.message;return!!((t||r)&&(!t||r)&&(t||!r)&&t===r&&sa(e,n)&&so(e,n))}(n,t)||function(e,n){let t=ss(n),r=ss(e);return!!(t&&r&&t.type===r.type&&t.value===r.value&&sa(e,n)&&so(e,n))}(n,t)))return null}catch(e){}return e=n}}};function so(e,n){let t=sl(e),r=sl(n);if(!t&&!r)return!0;if(t&&!r||!t&&r||r.length!==t.length)return!1;for(let e=0;e{let n=e.depth||3,t=e.captureErrorCause||!1;return{name:sc,setupOnce(){},processEvent:(e,r)=>(function(e,n={},t,r){if(!n.originalException||!(0,eO.VZ)(n.originalException))return e;let i=n.originalException.name||n.originalException.constructor.name,o=function(e,n){try{let t=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(let n of Object.keys(e)){if(-1!==t.indexOf(n))continue;let i=e[n];r[n]=(0,eO.VZ)(i)?i.toString():i}if(n&&void 0!==e.cause&&(r.cause=(0,eO.VZ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){let n=e.toJSON();for(let e of Object.keys(n)){let t=n[e];r[e]=(0,eO.VZ)(t)?t.toString():t}}return r}catch(e){}return null}(n.originalException,r);if(o){let n={...e.contexts},r=(0,nV.Fv)(o,t);return(0,eO.PO)(r)&&((0,Z.xp)(r,"__sentry_skip_normalization__",!0),n[i]=r),{...e,contexts:n}}return e})(e,r,n,t)}};ea(sc,su);let sd="HttpClient",sp=(e={})=>{let n={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:sd,setupOnce(){},setup(e){(0,n2.t$)()&&(0,tg.U)(t=>{if((0,Q.s3)()!==e)return;let{response:r,args:i}=t,[o,a]=i;r&&function(e,n,t,r){if(sm(e,t.status,t.url)){let e,i,o,a;let s=!r&&n instanceof Request||n instanceof Request&&n.bodyUsed?n:new Request(n,r);sg()&&([{headers:e,cookies:o},{headers:i,cookies:a}]=[{cookieHeader:"Cookie",obj:s},{cookieHeader:"Set-Cookie",obj:t}].map(({cookieHeader:e,obj:n})=>{let t;let r=function(e){let n={};return e.forEach((e,t)=>{n[t]=e}),n}(n.headers);try{let n=r[e]||r[e.toLowerCase()]||void 0;n&&(t=sh(n))}catch(e){}return{headers:r,cookies:t}}));let l=sf({url:s.url,method:s.method,status:t.status,requestHeaders:e,responseHeaders:i,requestCookies:o,responseCookies:a});(0,Q.eN)(l)}}(n,o,r,a)}),"XMLHttpRequest"in ex.GLOBAL_OBJ&&(0,tf.UK)(t=>{if((0,Q.s3)()!==e)return;let r=t.xhr,i=r[tf.xU];if(!i)return;let{method:o,request_headers:a}=i;try{!function(e,n,t,r){if(sm(e,n.status,n.responseURL)){let e,i,o;if(sg()){try{let e=n.getResponseHeader("Set-Cookie")||n.getResponseHeader("set-cookie")||void 0;e&&(i=sh(e))}catch(e){}try{o=function(e){let n=e.getAllResponseHeaders();return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return e[t]=r,e},{}):{}}(n)}catch(e){}e=r}let a=sf({url:n.responseURL,method:t,status:n.status,requestHeaders:e,responseHeaders:o,responseCookies:i});(0,Q.eN)(a)}}(n,r,o,a)}catch(e){}})}}};function sh(e){return e.split("; ").reduce((e,n)=>{let[t,r]=n.split("=");return e[t]=r,e},{})}function sm(e,n,t){return e.failedRequestStatusCodes.some(e=>"number"==typeof e?e===n:n>=e[0]&&n<=e[1])&&e.failedRequestTargets.some(e=>"string"==typeof e?t.includes(e):e.test(t))&&!t5(t,(0,Q.s3)())}function sf(e){let n=`HTTP Client Error with status code: ${e.status}`,t={message:n,exception:{values:[{type:"Error",value:n}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let n=e["Content-Length"]||e["content-length"];if(n)return parseInt(n,10)}}(e.responseHeaders)}}};return(0,Y.EG)(t,{type:"http.client",handled:!1}),t}function sg(){let e=(0,Q.s3)();return!!e&&!!e.getOptions().sendDefaultPii}ea(sd,sp);let sy=ex.GLOBAL_OBJ,s_="ReportingObserver",sv=new WeakMap,sb=(e={})=>{let n=e.types||["crash","deprecation","intervention"];function t(e){if(sv.has((0,Q.s3)()))for(let n of e)(0,Q.$e)(e=>{e.setExtra("url",n.url);let t=`ReportingObserver [${n.type}]`,r="No details available";if(n.body){let t={};for(let e in n.body)t[e]=n.body[e];if(e.setExtra("body",t),"crash"===n.type){let e=n.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=n.body.message||r}(0,Q.uT)(`${t}: ${r}`)})}return{name:s_,setupOnce(){(0,n2.zb)()&&new sy.ReportingObserver(t,{buffered:!0,types:n}).observe()},setup(e){sv.set(e,!0)}}};ea(s_,sb);let sk="SessionTiming",sC=()=>{let e=Date.now();return{name:sk,setupOnce(){},processEvent(n){let t=Date.now();return{...n,extra:{...n.extra,"session:start":e,"session:duration":t-e,"session:end":t}}}}};ea(sk,sC);var sx=t(77526);let sT=["localhost",/^\/(?!\/)/],sw={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:sT,tracePropagationTargets:sT};function sI(e){let{traceFetch:n,traceXHR:t,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a}={traceFetch:sw.traceFetch,traceXHR:sw.traceXHR,...e};n&&(0,tg.U)(e=>{let n=function(e,n,t,r,i="auto.http.browser"){}(0,0,0,0);if(n){let t=function(e){try{return new URL(e,t7.location.origin).href}catch(e){return}}(e.fetchData.url),r=t?(0,tv.en)(t).host:void 0;n.setAttributes({"http.url":t,"server.address":r})}a&&n&&sR(n)}),t&&(0,tf.UK)(e=>{let n=function(e,n,t,r){let i=e.xhr;i&&i[tf.xU]}(e,0,0,0);a&&n&&sR(n)})}function sR(e){let{url:n}=(0,eQ.XU)(e).data||{};if(!n||"string"!=typeof n)return;let t=rA("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(n)&&((function(e){let{name:n,version:t}=function(e){let n="unknown",t="unknown",r="";for(let i of e){if("/"===i){[n,t]=e.split("/");break}if(!isNaN(Number(i))){n="h"===r?"http":r,t=e.split(r)[1];break}r+=i}return r===e&&(n=r),{name:n,version:t}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",t],["network.protocol.name",n]),e5.Z1)?[...r,["http.request.redirect_start",sE(e.redirectStart)],["http.request.fetch_start",sE(e.fetchStart)],["http.request.domain_lookup_start",sE(e.domainLookupStart)],["http.request.domain_lookup_end",sE(e.domainLookupEnd)],["http.request.connect_start",sE(e.connectStart)],["http.request.secure_connection_start",sE(e.secureConnectionStart)],["http.request.connection_end",sE(e.connectEnd)],["http.request.request_start",sE(e.requestStart)],["http.request.response_start",sE(e.responseStart)],["http.request.response_end",sE(e.responseEnd)]]:r})(r).forEach(n=>e.setAttribute(...n)),setTimeout(t))})})}function sE(e=0){return((e5.Z1||performance.timeOrigin)+e)/1e3}function sS(){t7.document&&t7.document.addEventListener("visibilitychange",()=>{let e=e0();if(t7.document.hidden&&e){let{op:n,status:t}=(0,eQ.XU)(e);t||e.setStatus("cancelled"),e.setTag("visibilitychange","document.hidden"),e.end()}})}function sP(e){return[{type:"span"},e]}function sA(e){return"number"==typeof e&&isFinite(e)}function sB(e,{startTimestamp:n,...t}){return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild({startTimestamp:n,...t})}function sN(e){return e/1e3}function sL(){return t7&&t7.addEventListener&&t7.performance}let sO=0,sM={};function sD(){let e=sL();if(e&&e5.Z1){e.mark&&t7.performance.mark("sentry-tracing-init");let n=rF("fid",({metric:e})=>{let n=e.entries[e.entries.length-1];if(!n)return;let t=sN(e5.Z1),r=sN(n.startTime);sM.fid={value:e.value,unit:"millisecond"},sM["mark.fid"]={value:t+r,unit:"second"}},rL,s),t=function(e,n=!1){return rF("cls",e,rN,a,n)}(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(sM.cls={value:e.value,unit:""},v=n)},!0),r=rP(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(sM.lcp={value:e.value,unit:"millisecond"},_=n)},!0),i=rF("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(sM.ttfb={value:e.value,unit:"millisecond"})},rM,c);return()=>{n(),t(),r(),i()}}return()=>void 0}function sF(){rA("longtask",({entries:e})=>{for(let n of e){let e=e0();if(!e)return;let t=sN(e5.Z1+n.startTime),r=sN(n.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r})}})}function sj(){rA("event",({entries:e})=>{for(let n of e){let e=e0();if(!e)return;if("click"===n.name){let t=sN(e5.Z1+n.startTime),r=sN(n.duration),i={description:(0,ty.Rt)(n.target),op:`ui.interaction.${n.name}`,origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r},o=(0,ty.iY)(n.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}})}function sU(e,n){if(sL()&&e5.Z1){let n=rF("inp",({metric:n})=>{var t,r,i;if(void 0===n.value)return;let o=n.entries.find(e=>e.duration===n.value&&void 0!==sK[e.name]),a=(0,Q.s3)();if(!o||!a)return;let s=sK[o.name],l=a.getOptions(),c=sN(e5.Z1+o.startTime),u=sN(n.value),d=void 0!==o.interactionId?e[o.interactionId]:void 0;if(void 0===d)return;let{routeName:p,parentContext:h,activeTransaction:m,user:f,replayId:g}=d,y=void 0!==f?f.email||f.id||f.ip_address:void 0,_=void 0!==m?m.getProfileId():void 0,v=new nd({startTimestamp:c,endTimestamp:c+u,op:`ui.interaction.${s}`,name:(0,ty.Rt)(o.target),attributes:{release:l.release,environment:l.environment,transaction:p,...void 0!==y&&""!==y?{user:y}:{},...void 0!==_?{profile_id:_}:{},...void 0!==g?{replay_id:g}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),b=(t=0,r=0,i=0,!1);if(b&&Math.random(){});return}},rD,u);return()=>{n()}}return()=>void 0}let sK={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function sq(e){let n=sL();if(!n||!t7.performance.getEntries||!e5.Z1)return;let t=sN(e5.Z1),r=n.getEntries(),{op:i,start_timestamp:o}=(0,eQ.XU)(e);if(r.slice(sO).forEach(n=>{let r=sN(n.startTime),i=sN(n.duration);if("navigation"!==e.op||!o||!(t+r{sz(e,n,r,t)}),sz(e,n,"secureConnection",t,"TLS/SSL","connectEnd"),sz(e,n,"fetch",t,"cache","domainLookupStart"),sz(e,n,"domainLookup",t,"DNS"),n.responseEnd&&(sB(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:t+sN(n.requestStart),endTimestamp:t+sN(n.responseEnd)}),sB(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:t+sN(n.responseStart),endTimestamp:t+sN(n.responseEnd)}));break;case"mark":case"paint":case"measure":{(function(e,n,t,r,i){let o=i+t;sB(e,{description:n.name,endTimestamp:o+r,op:n.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})})(e,n,r,i,t);let o=ru(),a=n.startTime{if(!sM[e]||!o||t>=o)return;let n=Math.abs((t+sN(sM[e].value)-o)*1e3);sM[e].value=n});let n=sM["mark.fid"];n&&sM.fid&&(sB(e,{description:"first input delay",endTimestamp:n.value+sN(sM.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:n.value}),delete sM["mark.fid"]),"fcp"in sM||delete sM.cls,Object.keys(sM).forEach(e=>{nj(e,sM[e].value,sM[e].unit)}),_&&(_.element&&e.setTag("lcp.element",(0,ty.Rt)(_.element)),_.id&&e.setTag("lcp.id",_.id),_.url&&e.setTag("lcp.url",_.url.trim().slice(0,200)),e.setTag("lcp.size",_.size)),v&&v.sources&&v.sources.forEach((n,t)=>e.setTag(`cls.source.${t+1}`,(0,ty.Rt)(n.node)))}_=void 0,v=void 0,sM={}}function sz(e,n,t,r,i,o){let a=o?n[o]:n[`${t}End`],s=n[`${t}Start`];s&&a&&sB(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||t,startTimestamp:r+sN(s),endTimestamp:r+sN(a)})}function sH(e,n,t,r){let i=n[t];null!=i&&i<2147483647&&(e[r]=i)}let sV={...nh,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...sw},s$=(e={})=>{nb(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let n={...sV,...e},t=sD(),r={};n.enableInp&&sU(r,n.interactionsSampleRate),n.enableLongTask&&sF(),n._experiments.enableInteractions&&sj();let i={name:void 0,context:void 0};function o(e){let r;let o=(0,en.Gd)(),{beforeStartSpan:a,idleTimeout:s,finalTimeout:l,heartbeatInterval:c}=n,u="pageload"===e.op;if(u){let n=u?sZ("sentry-trace"):"",t=u?sZ("baggage"):void 0,{traceId:i,dsc:o,parentSpanId:a,sampled:s}=(0,eX.pT)(n,t);r={traceId:i,parentSpanId:a,parentSampled:s,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else r={trimEnd:!0,...e};let d=a?a(r):r;d.metadata=d.name!==r.name?{...d.metadata,source:"custom"}:d.metadata,i.name=d.name,i.context=d,d.sampled;let{location:p}=t7,h=nv(o,d,s,l,!0,{location:p},c,u);return u&&t7.document&&(t7.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(t7.document.readyState)&&h.sendAutoFinishSignal()}),["interactive","complete"].includes(t7.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback(e=>{t(),sq(e)}),h}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){let t;let a=e.getOptions(),{markBackgroundSpan:s,traceFetch:l,traceXHR:c,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:p}=n,h=a&&a.tracePropagationTargets||n.tracePropagationTargets,m=t7.location&&t7.location.href;e.on&&(e.on("startNavigationSpan",e=>{t&&t.end(),t=o({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{t&&t.end(),t=o({op:"pageload",...e})})),n.instrumentPageLoad&&e.emit&&t7.location&&sG(e,{name:t7.location.pathname,startTimestamp:e5.Z1?e5.Z1/1e3:void 0,origin:"auto.pageload.browser",attributes:{[eS]:"url"}}),n.instrumentNavigation&&e.emit&&t7.location&&(0,tp.a)(({to:n,from:t})=>{if(void 0===t&&m&&-1!==m.indexOf(n)){m=void 0;return}t!==n&&(m=void 0,sW(e,{name:t7.location.pathname,origin:"auto.navigation.browser",attributes:{[eS]:"url"}}))}),s&&sS(),p.enableInteractions&&function(e,n){let t;let r=()=>{let{idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=e,a=e0();if(a&&a.op&&["navigation","pageload"].includes(a.op)||(t&&(t.setFinishReason("interactionInterrupted"),t.end(),t=void 0),!n.name))return;let{location:s}=t7,l={name:n.name,op:"ui.action.click",trimEnd:!0,data:{[eS]:n.context?function(e){let n=e.attributes&&e.attributes[eS],t=e.data&&e.data[eS],r=e.metadata&&e.metadata.source;return n||t||r}(n.context):"url"}};t=nv((0,en.Gd)(),l,r,i,!0,{location:s},o)};["click"].forEach(e=>{t7.document&&addEventListener(e,r,{once:!1,capture:!0})})}(n,i),n.enableInp&&function(e,n){let t=({entries:t})=>{let r=(0,Q.s3)(),i=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,o=void 0!==i?i.getReplayId():void 0,a=e0(),s=(0,Q.nZ)(),l=void 0!==s?s.getUser():void 0;t.forEach(t=>{if("duration"in t){let r=t.interactionId;if(void 0===r)return;let i=e[r],s=t.duration,c=t.startTime,u=Object.keys(e),d=u.length>0?u.reduce((n,t)=>e[n].duratione[n]).some(e=>e.duration===s&&e.startTime===c))&&r){if(i)i.duration=Math.max(i.duration,s);else if(u.length<10||void 0===d||s>e[d].duration){let t=n.name,i=n.context;t&&i&&(d&&Object.keys(e).length>=10&&delete e[d],e[r]={routeName:t,duration:s,parentContext:i,user:l,activeTransaction:a,replayId:o,startTime:c})}}}})};rA("event",t),rA("first-input",t)}(r,i),sI({traceFetch:l,traceXHR:c,tracePropagationTargets:h,shouldCreateSpanForRequest:u,enableHTTPTimings:d})},options:n}};function sG(e,n){if(!e.emit)return;e.emit("startPageLoadSpan",n);let t=ne();return"pageload"===(t&&(0,eQ.XU)(t).op)?t:void 0}function sW(e,n){if(!e.emit)return;e.emit("startNavigationSpan",n);let t=ne();return"navigation"===(t&&(0,eQ.XU)(t).op)?t:void 0}function sZ(e){let n=(0,ty.qT)(`meta[name=${e}]`);return n?n.getAttribute("content"):void 0}function sQ(e,n){X.X&&J.kg.info(`[Offline]: ${e}`,n)}function sY(e){return new Promise((n,t)=>{e.oncomplete=e.onsuccess=()=>n(e.result),e.onabort=e.onerror=()=>t(e.error)})}function sJ(e){return sY(e.getAllKeys())}function sX(e){let n;function t(){return void 0==n&&(n=function(e,n){let t=indexedDB.open(e);t.onupgradeneeded=()=>t.result.createObjectStore(n);let r=sY(t);return e=>r.then(t=>e(t.transaction(n,"readwrite").objectStore(n)))}(e.dbName||"sentry-offline",e.storeName||"queue")),n}return{insert:async n=>{try{var r,i;let o=await (0,eC.V$)(n,e.textEncoder);await (r=t(),i=e.maxQueueSize||30,r(e=>sJ(e).then(n=>{if(!(n.length>=i))return e.put(o,Math.max(...n,0)+1),sY(e.transaction)})))}catch(e){}},pop:async()=>{try{let n=await t()(e=>sJ(e).then(n=>{if(0!==n.length)return sY(e.get(n[0])).then(t=>(e.delete(n[0]),sY(e.transaction).then(()=>t)))}));if(n)return(0,eC.f4)(n,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function s0(e){var n;return n=n=>{let t;let r=e(n),i=n.createStore?n.createStore(n):void 0,o=5e3;function a(e){i&&(t&&clearTimeout(t),"number"!=typeof(t=setTimeout(async()=>{t=void 0;let e=await i.pop();e&&(sQ("Attempting to send previously queued event"),l(e).catch(e=>{sQ("Failed to retry sending",e)}))},e))&&t.unref&&t.unref())}function s(){t||(a(o),o=Math.min(2*o,36e5))}async function l(e){try{let n=await r.send(e),t=100;if(n){if(n.headers&&n.headers["retry-after"])t=(0,nC.JY)(n.headers["retry-after"]);else if((n.statusCode||0)>=400)return n}return a(t),o=5e3,n}catch(r){var t;if(i&&await (t=o,!(0,eC.R)(e,["replay_event","replay_recording","client_report"])&&(!n.shouldStore||n.shouldStore(e,r,t))))return await i.insert(e),s(),sQ("Error sending. Event queued",r),{};throw r}}return n.flushAtStartup&&s(),{send:l,flush:e=>r.flush(e)}},e=>n({...e,createStore:sX})}var s1=t(88295);let s2=String(0),s3="",s5="",s4="",s6=nU.navigator&&nU.navigator.userAgent||"",s8="",s7=nU.navigator&&nU.navigator.language||nU.navigator&&nU.navigator.languages&&nU.navigator.languages[0]||"",s9=nU.navigator&&nU.navigator.userAgentData;function le(e){return"pageload"===e.op}"object"==typeof s9&&null!==s9&&"getHighEntropyValues"in s9&&s9.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(s3=e.platform||"",s4=e.architecture||"",s8=e.model||"",s5=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let n=e.fullVersionList[e.fullVersionList.length-1];s6=`${n.brand} ${n.version}`}}).catch(e=>void 0);let ln=new WeakMap,lt=!1;function lr(e){if(lt||!e.isRecording())return!1;let n=(0,Q.s3)(),t=n&&n.getOptions();if(!t)return!1;let r=t.profilesSampleRate;return!("number"!=typeof r&&"boolean"!=typeof r||"number"==typeof r&&isNaN(r))&&(!0===r||!1===r||!(r<0)&&!(r>1))&&!!r&&!!(!0===r||Math.random()(o&&(nU.clearTimeout(o),o=void 0),e&&function(e,n){if(li.set(e,n),li.size>30){let e=li.keys().next().value;li.delete(e)}}(r,e),null)).catch(e=>null):null}let o=nU.setTimeout(()=>{i()},3e4),a=e.end.bind(e);return e.end=function(){return e?(i().then(()=>{e.setContext("profile",{profile_id:r,start_timestamp:n}),a()},()=>{a()}),e):a()},e}let ls="BrowserProfiling",ll=()=>({name:ls,setupOnce(){},setup(e){let n=(0,Q.nZ)().getTransaction();if(n&&le(n)&&lr(n)&&la(n),"function"!=typeof e.on){J.kg.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}e.on("startTransaction",e=>{lr(e)&&la(e)}),e.on("beforeEnvelope",e=>{if(!li.size)return;let n=function(e){let n=[];return(0,eC.gv)(e,(e,t)=>{if("transaction"===t)for(let t=1;t{let i;let a=n.get(r);a?i=a:(i=o(r),n.set(r,i));for(let n=i.length-1;n>=0;n--){let o=i[n],a=o&&o.filename;if(o&&a){e[a]=t[r];break}}return e},{}),l=[];for(let n of e)n&&s[n]&&l.push({type:"sourcemap",code_file:n,debug_id:s[n]});return l}(t.resources)},profile:o,transactions:[{name:r.transaction||"",id:r.event_id||(0,Y.DM)(),trace_id:i,active_thread_id:s2,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}(r,i,o,a):null);u&&t.push(u)}!function(e,n){if(n.length)for(let t of n)e[1].push([{type:"profile"},t])}(e,t)})}}),lc=ea(ls,ll),lu={};nU.Sentry&&nU.Sentry.Integrations&&(lu=nU.Sentry.Integrations);let ld={...lu,...V,...$};var lp=t(80845),lh=t.n(lp),lm=t(82201);let lf="ui.react.render",lg="ui.react.mount",ly="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx";class l_ extends lm.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(e){super(e);let{name:n,disabled:t=!1}=this.props;if(t)return;this._mountSpan=e9({name:`<${n}>`,onlyIfParent:!0,op:lg,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":n}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:n=!0}){if(n&&this._mountSpan&&e!==this.props.updateProps){let n=Object.keys(e).filter(n=>e[n]!==this.props.updateProps[n]);if(n.length>0){let e=(0,e5.ph)();this._updateSpan=(0,Q._d)(this._mountSpan,()=>e9({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",origin:"auto.ui.react.profiler",startTimestamp:e,attributes:{"ui.component_name":this.props.name,"ui.react.changed_props":n}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=(0,e5.ph)(),{name:n,includeRender:t=!0}=this.props;if(this._mountSpan&&t){let t=(0,eQ.XU)(this._mountSpan).timestamp;(0,Q._d)(this._mountSpan,()=>{let r=e9({onlyIfParent:!0,name:`<${n}>`,op:lf,origin:"auto.ui.react.profiler",startTimestamp:t,attributes:{"ui.component_name":n}});r&&r.end(e)})}}render(){return this.props.children}}function lv(e,n){let t=n&&n.name||e.displayName||e.name||"unknown",r=r=>lm.createElement(l_,{...n,name:t,updateProps:r,__self:this,__source:{fileName:ly,lineNumber:159}},lm.createElement(e,{...r,__self:this,__source:{fileName:ly,lineNumber:160}}));return r.displayName=`profiler(${t})`,lh()(r,e),r}function lb(e,n={disabled:!1,hasRenderSpan:!0}){let[t]=lm.useState(()=>{if(!n||!n.disabled)return e9({name:`<${e}>`,onlyIfParent:!0,op:lg,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":e}})});lm.useEffect(()=>(t&&t.end(),()=>{if(t&&n.hasRenderSpan){let n=(0,eQ.XU)(t).timestamp,r=(0,e5.ph)(),i=e9({name:`<${e}>`,onlyIfParent:!0,op:lf,origin:"auto.ui.react.profiler",startTimestamp:n,attributes:{"ui.component_name":e}});i&&i.end(r)}}),[])}l_.__initStatic();let lk="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx",lC={componentStack:null,error:null,eventId:null};class lx extends lm.Component{constructor(e){super(e),lx.prototype.__init.call(this),this.state=lC,this._openFallbackReportDialog=!0;let n=(0,Q.s3)();n&&n.on&&e.showDialog&&(this._openFallbackReportDialog=!1,n.on("afterSendEvent",n=>{n.type||n.event_id!==this._lastEventId||tY({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,{componentStack:n}){let{beforeCapture:t,onError:r,showDialog:i,dialogOptions:o}=this.props;(0,Q.$e)(a=>{if(function(e){let n=e.match(/^([^.]+)/);return null!==n&&parseInt(n[0])>=17}(lm.version)&&(0,eO.VZ)(e)){let t=Error(e.message);t.name=`React ErrorBoundary ${e.name}`,t.stack=n,function(e,n){let t=new WeakMap;!function e(n,r){if(!t.has(n)){if(n.cause)return t.set(n,!0),e(n.cause,r);n.cause=r}}(e,n)}(e,t)}t&&t(a,e,n);let s=(0,Q.Tb)(e,{captureContext:{contexts:{react:{componentStack:n}}},mechanism:{handled:!!this.props.fallback}});r&&r(e,n,s),i&&(this._lastEventId=s,this._openFallbackReportDialog&&tY({...o,eventId:s})),this.setState({error:e,componentStack:n,eventId:s})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:n,eventId:t}=this.state,{onUnmount:r}=this.props;r&&r(e,n,t)}__init(){this.resetErrorBoundary=()=>{let{onReset:e}=this.props,{error:n,componentStack:t,eventId:r}=this.state;e&&e(n,t,r),this.setState(lC)}}render(){let{fallback:e,children:n}=this.props,t=this.state;if(t.error){let n;return(n="function"==typeof e?e({error:t.error,componentStack:t.componentStack,resetError:this.resetErrorBoundary,eventId:t.eventId}):e,lm.isValidElement(n))?n:null}return"function"==typeof n?n():n}}function lT(e,n){let t=e.displayName||e.name||"unknown",r=t=>lm.createElement(lx,{...n,__self:this,__source:{fileName:lk,lineNumber:240}},lm.createElement(e,{...t,__self:this,__source:{fileName:lk,lineNumber:241}}));return r.displayName=`errorBoundary(${t})`,lh()(r,e),r}let lw={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function lI(e){let n={...lw,...e};return e=>(t,r)=>(n.attachReduxState&&(0,eN.lW)().addEventProcessor((e,n)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(n.attachments=[...n.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch(e){}return e}),e((e,r)=>{let i=t(e,r),o=(0,Q.nZ)(),a=n.actionTransformer(r);null!=a&&o.addBreadcrumb({category:"redux.action",data:a,type:"info"});let s=n.stateTransformer(i);if(null!=s){let e=(0,Q.s3)(),n=e&&e.getOptions(),t=n&&n.normalizeDepth||3,r={state:{type:"redux",value:s}};(0,Z.xp)(r,"__sentry_override_normalization_depth__",3+t),o.setContext("state",r)}else o.setContext("state",null);let{configureScopeWithState:l}=n;return"function"==typeof l&&l(o,i),i},r))}function lR(e){let n=s$({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,match:i,instrumentPageLoad:o=!0,instrumentNavigation:a=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let s=lE(t,r,i);s(n=>{sG(e,n)},o,!1),s(n=>{sW(e,n)},!1,a)}}}function lE(e,n,t){return(r,i=!0,o=!0)=>{let a,s;i&&nU&&nU.location&&lS(n,nU.location,t,(e,n="url")=>{a=r({name:e,attributes:{[eA]:"pageload",[eB]:"auto.pageload.react.reactrouter_v3",[eS]:n}})}),o&&e.listen&&e.listen(e=>{("PUSH"===e.action||"POP"===e.action)&&(a&&a.end(),lS(n,e,t,(e,n="url")=>{a=r({name:e,attributes:{[eA]:"navigation",[eB]:"auto.navigation.react.reactrouter_v3",[eS]:n}})}))})}}function lS(e,n,t,r){let i=n.pathname;t({location:n,routes:e},(e,n,t)=>{if(e||!t)return r(i);let o=function(e){if(!Array.isArray(e)||0===e.length)return"";let n=e.filter(e=>!!e.path),t=-1;for(let e=n.length-1;e>=0;e--){let r=n[e];if(r.path&&r.path.startsWith("/")){t=e;break}}return n.slice(t).filter(({path:e})=>!!e).map(({path:e})=>e).join("")}(t.routes||[]);return 0===o.length||"/*"===o?r(i):r(i=o,"route")})}function lP(e){let n=s$({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,matchPath:i,instrumentPageLoad:o=!0,instrumentNavigation:a=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let s=lB(t,r,i);s(n=>{sG(e,n)},o,!1),s(n=>{sW(e,n)},!1,a)}}}function lA(e){let n=s$({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,matchPath:i}=e;return{...n,afterAllSetup(o){n.afterAllSetup(o);let a=lN(t,r,i);a(e=>{sG(o,e)},e.instrumentPageLoad,!1),a(e=>{sW(o,e)},!1,e.instrumentNavigation)}}}function lB(e,n,t){return lL(e,"reactrouter_v4",n,t)}function lN(e,n,t){return lL(e,"reactrouter_v5",n,t)}function lL(e,n,t=[],r){function i(e){if(0===t.length||!r)return[e,"url"];let n=function e(n,t,r,i=[]){return n.some(n=>{let o=n.path?r(t,n):i.length?i[i.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===t};return o&&(i.push({route:n,match:o}),n.routes&&e(n.routes,t,r,i)),!!o}),i}(t,e,r);for(let e=0;e{let a=e&&e.location?e.location.pathname:nU&&nU.location?nU.location.pathname:void 0;if(r&&a){let[e,r]=i(a);b=t({name:e,attributes:{[eA]:"pageload",[eB]:`auto.pageload.react.${n}`,[eS]:r}})}o&&e.listen&&e.listen((e,r)=>{if(r&&("PUSH"===r||"POP"===r)){b&&b.end();let[r,o]=i(e.pathname);b=t({name:r,attributes:{[eA]:"navigation",[eB]:`auto.navigation.react.${n}`,[eS]:o}})}})}}function lO(e){let n=e.displayName||e.name,t=n=>{if(n&&n.computedMatch&&n.computedMatch.isExact){let e=n.computedMatch.path,t=function(){if(b)return b;let e=ne(),n=e?(0,na.G)(e):void 0;if(!n)return;let t=(0,eQ.XU)(n).op;return"navigation"===t||"pageload"===t?n:void 0}();t&&(t.updateName(e),t.setAttribute(eS,"route"))}return lm.createElement(e,{...n,__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx",lineNumber:279}})};return t.displayName=`sentryRoute(${n})`,lh()(t,e),t}let lM="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",lD=!1;function lF(e){let n=s$({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:t,useLocation:r,useNavigationType:i,createRoutesFromChildren:o,matchRoutes:a,stripBasename:s,instrumentPageLoad:l=!0,instrumentNavigation:c=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let u=nU&&nU.location&&nU.location.pathname;l&&u&&sG(e,{name:u,attributes:{[eS]:"url",[eA]:"pageload",[eB]:"auto.pageload.react.reactrouter_v6"}}),C=t,x=r,T=i,I=a,w=o,lD=s||!1,R=n=>{sW(e,n)},E=c}}}function lj(e,n,t,r,i,o){return(a,s=!0,l=!0)=>{let c=nU&&nU.location&&nU.location.pathname;s&&c&&(k=a({name:c,attributes:{[eS]:"url",[eA]:"pageload",[eB]:"auto.pageload.react.reactrouter_v6"}})),C=e,x=n,T=t,I=i,w=r,lD=o||!1,R=a,E=l}}function lU(e,n){if(!n||"/"===n||!e.toLowerCase().startsWith(n.toLowerCase()))return e;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&"/"!==r?e:e.slice(t)||"/"}function lK(e,n,t,r=""){if(!e||0===e.length)return[lD?lU(n.pathname,r):n.pathname,"url"];let i="";if(t)for(let e=0;e{let r=x(),i=T();return C(()=>{let e=w(t.children);n?(lq(lG(),r,e),n=!1):lz(r,e,i)},[r,i]),lm.createElement(e,{...t,__self:this,__source:{fileName:lM,lineNumber:329}})};return lh()(t,e),t}function lV(e){if(!C||!x||!T||!I||!R)return e;let n=!0,t=t=>{let{routes:r,locationArg:i}=t,o=e(r,i),a=x(),s=T(),l="string"==typeof i||i&&i.pathname?i:a;return C(()=>{let e="string"==typeof l?{pathname:l}:l;n?(lq(lG(),e,r),n=!1):lz(e,r,s)},[s,l]),o};return(e,n)=>lm.createElement(t,{routes:e,locationArg:n,__self:this,__source:{fileName:lM,lineNumber:386}})}function l$(e){return function(n,t){let r=e(n,t),i=t&&t.basename,o=lG();return"POP"===r.state.historyAction&&o&&lq(o,r.state.location,n,void 0,i),r.subscribe(e=>{let t=e.location;E&&("PUSH"===e.historyAction||"POP"===e.historyAction)&&lz(t,n,e.historyAction,void 0,i)}),r}}function lG(){if(k)return k;let e=ne(),n=e?(0,na.G)(e):void 0;if(!n)return;let t=(0,eQ.XU)(n).op;return"navigation"===t||"pageload"===t?n:void 0}var lW=t(74702);let lZ={...nh,markBackgroundTransactions:!0,routingInstrumentation:function(e,n=!0,t=!0){let r;if(!t7||!t7.location)return;let i=t7.location.href;n&&(r=e({name:t7.location.pathname,startTimestamp:e5.Z1?e5.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),t&&(0,tp.a)(({to:n,from:t})=>{if(void 0===t&&i&&-1!==i.indexOf(n)){i=void 0;return}t!==n&&(i=void 0,r&&r.end(),r=e({name:t7.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...sw};class lQ{constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,nb(),this.options={...lZ,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=sD(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&sU(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&sF(),this.options._experiments.enableInteractions&&sj(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,n){this._getCurrentHub=n;let t=n().getClient(),r=t&&t.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:l,traceXHR:c,shouldCreateSpanForRequest:u,enableHTTPTimings:d,_experiments:p}=this.options,h=r&&r.tracePropagationTargets||this.options.tracePropagationTargets;i(e=>{let t=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(t,e,n),t},a,o),s&&sS(),p.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),sI({traceFetch:l,traceXHR:c,tracePropagationTargets:h,shouldCreateSpanForRequest:u,enableHTTPTimings:d})}_createRouteTransaction(e){let n;if(!this._getCurrentHub)return;let t=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:o,heartbeatInterval:a}=this.options,s="pageload"===e.op;if(s){let t=s?lY("sentry-trace"):"",r=s?lY("baggage"):void 0,{traceId:i,dsc:o,parentSpanId:a,sampled:l}=(0,eX.pT)(t,r);n={traceId:i,parentSpanId:a,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else n={trimEnd:!0,...e};let l="function"==typeof r?r(n):n,c=void 0===l?{...n,sampled:!1}:l;c.metadata=c.name!==n.name?{...c.metadata,source:"custom"}:c.metadata,this._latestRoute.name=c.name,this._latestRoute.context=c,c.sampled;let{location:u}=t7,d=nv(t,c,i,o,!0,{location:u},a,s);return s&&t7.document&&(t7.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(t7.document.readyState)&&d.sendAutoFinishSignal()}),["interactive","complete"].includes(t7.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(e=>{this._collectWebVitals(),sq(e)}),d}_registerInteractionListener(){let e;let n=()=>{let{idleTimeout:n,finalTimeout:t,heartbeatInterval:r}=this.options,i=e0();if(i&&i.op&&["navigation","pageload"].includes(i.op)||(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)||!this._latestRoute.name)return;let o=this._getCurrentHub(),{location:a}=t7;e=nv(o,{name:this._latestRoute.name,op:"ui.action.click",trimEnd:!0,data:{[eS]:this._latestRoute.context?function(e){let n=e.attributes&&e.attributes[eS],t=e.data&&e.data[eS],r=e.metadata&&e.metadata.source;return n||t||r}(this._latestRoute.context):"url"}},n,t,!0,{location:a},r)};["click"].forEach(e=>{t7.document&&addEventListener(e,n,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let n=(0,Q.s3)(),t=void 0!==n&&void 0!==n.getIntegrationByName?n.getIntegrationByName("Replay"):void 0,r=void 0!==t?t.getReplayId():void 0,i=e0(),o=(0,Q.nZ)(),a=void 0!==o?o.getUser():void 0;e.forEach(e=>{if("duration"in e){let n=e.interactionId;if(void 0===n)return;let t=this._interactionIdToRouteNameMapping[n],o=e.duration,s=e.startTime,l=Object.keys(this._interactionIdToRouteNameMapping),c=l.length>0?l.reduce((e,n)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e]).some(e=>e.duration===o&&e.startTime===s))&&n){if(t)t.duration=Math.max(t.duration,o);else if(l.length<10||void 0===c||o>this._interactionIdToRouteNameMapping[c].duration){let e=this._latestRoute.name,t=this._latestRoute.context;e&&t&&(c&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[c],this._interactionIdToRouteNameMapping[n]={routeName:e,duration:o,parentContext:t,user:a,activeTransaction:i,replayId:r,startTime:s})}}}})};rA("event",e),rA("first-input",e)}}function lY(e){let n=(0,ty.qT)(`meta[name=${e}]`);return n?n.getAttribute("content"):void 0}let lJ={"routing.instrumentation":"next-app-router"};var lX=t(55670),l0=t.n(lX);let l1={"routing.instrumentation":"next-pages-router"},l2=(0,Q.s3)();function l3(e,n=!0,t=!0,r,i){nU.document.getElementById("__NEXT_DATA__")?function(e,n=!0,t=!0,r,i){let{route:o,params:a,sentryTrace:s,baggage:l}=function(){let e;let n=nU.document.getElementById("__NEXT_DATA__");if(n&&n.innerHTML)try{e=JSON.parse(n.innerHTML)}catch(e){}if(!e)return{};let t={},{page:r,query:i,props:o}=e;return t.route=r,t.params=i,o&&o.pageProps&&(t.sentryTrace=o.pageProps._sentryTraceData,t.baggage=o.pageProps._sentryBaggage),t}(),{traceparentData:c,dynamicSamplingContext:u,propagationContext:d}=(0,eX.KA)(s,l);if((0,Q.nZ)().setPropagationContext(d),A=o||nU.location.pathname,n){let n={name:A,op:"pageload",origin:"auto.pageload.nextjs.pages_router_instrumentation",tags:l1,startTimestamp:e5.Z1?e5.Z1/1e3:void 0,...a&&l2&&l2.getOptions().sendDefaultPii&&{data:a},...c,metadata:{source:o?"route":"url",dynamicSamplingContext:c&&!u?{}:u}};P=e(n),r(n)}t&&l0().events.on("routeChangeStart",n=>{let t,r;let o=(0,tv.rt)(n),a=function(e){let n=(nU.__BUILD_MANIFEST||{}).sortedPages;if(n)return n.find(n=>{let t=function(e){let n=e.split("/"),t="";n[n.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),t="(?:/(.+?))?");let r=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${t}(?:/)?$`)}(n);return e.match(t)})}(o);a?(t=a,r="route"):(t=o,r="url");let s={...l1,from:A};A=t,P&&P.end();let l={name:t,op:"navigation",origin:"auto.navigation.nextjs.pages_router_instrumentation",tags:s,metadata:{source:r}},c=e(l);if(i(l),c){let e=c.startChild({op:"ui.nextjs.route-change",origin:"auto.ui.nextjs.pages_router_instrumentation",description:"Next.js Route Change"}),n=()=>{e.end(),l0().events.off("routeChangeComplete",n)};l0().events.on("routeChangeComplete",n)}})}(e,n,t,r||(()=>void 0),i||(()=>void 0)):function(e,n=!0,t=!0,r,i){let o;let a=nU.location.pathname;if(n){let n={name:a,op:"pageload",origin:"auto.pageload.nextjs.app_router_instrumentation",tags:lJ,startTimestamp:e5.Z1?e5.Z1/1e3:void 0,metadata:{source:"url"}};o=e(n),r(n)}t&&(0,tg.U)(n=>{if(void 0!==n.endTimestamp||"GET"!==n.fetchData.method)return;let t=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let n=e[0],t=e[1].headers;if("1"!==t.RSC||"1"===t["Next-Router-Prefetch"])return null;return{targetPathname:n.pathname}}catch(e){return null}}(n.args);if(null===t)return;let r=t.targetPathname,s={...lJ,from:a};a=r,o&&o.end();let l={name:r,op:"navigation",origin:"auto.navigation.nextjs.app_router_instrumentation",tags:s,metadata:{source:"url"}};e(l),i(l)})}(e,n,t,r||(()=>void 0),i||(()=>void 0))}class l5 extends lQ{constructor(e){super({tracingOrigins:[...sw.tracingOrigins,/^(api\/)/],routingInstrumentation:l3,...e})}}function l4(e){let n=s$({tracingOrigins:[...sw.tracingOrigins,/^(api\/)/],...e,instrumentNavigation:!1,instrumentPageLoad:!1}),t={...n.options,instrumentPageLoad:!0,instrumentNavigation:!0,...e};return{...n,options:t,afterAllSetup(e){let r=n=>{sG(e,n)},i=n=>{sW(e,n)};l3(()=>void 0,!1,t.instrumentNavigation,r,i),n.afterAllSetup(e),l3(()=>void 0,t.instrumentPageLoad,!1,r,i)}}}var l6=t(29854);let l8="RewriteFrames",l7=(e={})=>{let n=e.root,t=e.prefix||"app:///",r=e.iteratee||(e=>{if(!e.filename)return e;let r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(r||i){let i=r?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,o=n?(0,l6.Gf)(n,i):(0,l6.EZ)(i);e.filename=`${t}${o}`}return e});return{name:l8,setupOnce(){},processEvent(e){let n=e;return e.exception&&Array.isArray(e.exception.values)&&(n=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var n;return{...e,...e.stacktrace&&{stacktrace:{...n=e.stacktrace,frames:n&&n.frames&&n.frames.map(e=>r(e))}}}})}}}catch(n){return e}}(n)),n}}};ea(l8,l7);let l9=ex.GLOBAL_OBJ,ce=e=>{let n=l9.__rewriteFramesAssetPrefixPath__||"";return l7({iteratee:e=>{try{let{origin:t}=new URL(e.filename);e.filename=(0,t3.x)([e,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(t,"app://"),"access",e=>e.replace,"call",e=>e(n,"")])}catch(e){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e},...e})},cn=ex.GLOBAL_OBJ;async function ct(){try{await (0,Q.yl)(2e3)}catch(e){}}async function cr(e){let{req:n,res:t,err:r}=e,i=t&&t.statusCode||e.statusCode;if(i&&i<500||!e.pathname)return Promise.resolve();(0,Q.$e)(e=>{n&&e.setSDKProcessingMetadata({request:n}),(0,Q.Tb)(r||`_error.js called with falsy error (${r})`,{mechanism:{type:"instrument",handled:!1,data:{function:"_error.getInitialProps"}}})}),await ct()}var ci=t(26454),co=t(74702);function ca(){return co.env.NEXT_PHASE===ci.PHASE_PRODUCTION_BUILD}var cs=t(74702);let cl=()=>!cs.env.LAMBDA_TASK_ROOT&&!cs.env.VERCEL;function cc(e){return e._sentrySpan}function cu(e){return async function(...n){try{return await e.apply(this,n)}catch(e){throw(0,Q.Tb)(e,{mechanism:{handled:!1}}),e}}}function cd(e,n,t,r){return async function(...i){return(0,Q.wi)(async o=>(o.setSDKProcessingMetadata({request:n}),nn({sentryTrace:n.headers&&(0,eO.HD)(n.headers["sentry-trace"])?n.headers["sentry-trace"]:void 0,baggage:(0,t3.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.baggage])},()=>{let o=cc(n);if(!o&&(o=e9({name:r.requestedRouteName,op:"http.server",attributes:{[eB]:"auto.function.nextjs",[eS]:"route"}}))){var a,s;o.setStatus("ok"),a=o,n._sentrySpan=a,s=o,t.end&&!t.end.__sentry_original__&&(0,Z.hl)(t,"end",e=>function(...n){return s&&(nc(s,this.statusCode),s.end()),e.call(this,...n)})}let l=()=>e7({op:"function.nextjs",name:`${r.dataFetchingMethodName} (${r.dataFetcherRouteName})`,attributes:{[eB]:"auto.function.nextjs",[eS]:"route"}},async n=>{(0,t3.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]);try{return await e.apply(this,i)}catch(e){throw(0,t3.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,t3.x)([o,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),e}finally{(0,t3.x)([n,"optionalAccess",e=>e.end,"call",e=>e()]),cl()||await ct()}});return o?(0,Q._d)(o,l):l()})))}}async function cp(e,n,t){let{parameterizedRoute:r,dataFetchingMethodName:i}=t;return e8({op:"function.nextjs",name:`${i} (${r})`,attributes:{[eB]:"auto.function.nextjs",[eS]:"route"}},async t=>{(0,t3.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]);try{return await e(...n)}catch(e){throw(0,t3.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Q.Tb)(e,{mechanism:{handled:!1}}),e}finally{(0,t3.x)([t,"optionalAccess",e=>e.end,"call",e=>e()]),cl()||await ct()}})}function ch(e,n){return new Proxy(e,{apply:(e,t,r)=>{if(ca())return e.apply(t,r);nb();let i=cu(e),o=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"===(0,t3.x)([o,"optionalAccess",e=>e.instrumenter])?cp(i,r,{parameterizedRoute:n,dataFetchingMethodName:"getStaticProps"}):i.apply(t,r)}})}let cm=ch;var cf=t(15645);function cg(e){return new Proxy(e,{apply:async(e,n,t)=>{if(ca())return e.apply(n,t);nb();let[r]=t,{req:i,res:o}=r,a=cu(e),s=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t3.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=cd(a,i,o,{dataFetcherRouteName:r.pathname,requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),s=await (0,cf.x)(await e.apply(n,t),async()=>({})),l=ne(),c=(0,t2.h)(cc(i),()=>l?(0,na.G)(l):void 0);if(c){s._sentryTraceData=(0,eQ.Hb)(c);let e=(0,ez.j)(c);s._sentryBaggage=(0,sx.IQ)(e)}return s}}})}let cy=cg;function c_(e){return new Proxy(e,{apply:async(e,n,t)=>{if(ca())return e.apply(n,t);nb();let[r]=t,{req:i,res:o}=r.ctx,a=cu(e),s=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t3.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=cd(a,i,o,{dataFetcherRouteName:"/_app",requestedRouteName:r.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),s=await e.apply(n,t),l=ne(),c=(0,t2.h)(cc(i),()=>l?(0,na.G)(l):void 0);if(s.pageProps||(s.pageProps={}),c){s.pageProps._sentryTraceData=(0,eQ.Hb)(c);let e=(0,ez.j)(c);s.pageProps._sentryBaggage=(0,sx.IQ)(e)}return s}}})}let cv=c_;function cb(e){return new Proxy(e,{apply:(e,n,t)=>{if(ca())return e.apply(n,t);nb();let[r]=t,{req:i,res:o}=r,a=cu(e),s=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return i&&o&&"sentry"===(0,t3.x)([s,"optionalAccess",e=>e.instrumenter])?cd(a,i,o,{dataFetcherRouteName:"/_document",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}).apply(n,t):a.apply(n,t)}})}let ck=cb;function cC(e){return new Proxy(e,{apply:async(e,n,t)=>{if(ca())return e.apply(n,t);nb();let[r]=t,{req:i,res:o}=r,a=cu(e),s=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t3.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=cd(a,i,o,{dataFetcherRouteName:"/_error",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),s=await e.apply(n,t),l=ne(),c=(0,t2.h)(cc(i),()=>l?(0,na.G)(l):void 0);if(c){s._sentryTraceData=(0,eQ.Hb)(c);let e=(0,ez.j)(c);s._sentryBaggage=(0,sx.IQ)(e)}return s}}})}let cx=cC;function cT(e,n){return new Proxy(e,{apply:async(e,t,r)=>{if(ca())return e.apply(t,r);nb();let[i]=r,{req:o,res:a}=i,s=cu(e),l=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if("sentry"!==(0,t3.x)([l,"optionalAccess",e=>e.instrumenter]))return s.apply(t,r);{let e=cd(s,o,a,{dataFetcherRouteName:n,requestedRouteName:n,dataFetchingMethodName:"getServerSideProps"}),i=await e.apply(t,r);if(i&&"props"in i){let e=ne(),n=(0,t2.h)(cc(o),()=>e?(0,na.G)(e):void 0);if(n){i.props._sentryTraceData=(0,eQ.Hb)(n);let e=(0,ez.j)(n);i.props._sentryBaggage=(0,sx.IQ)(e)}}return i}}})}let cw=cT;var cI=t(20403);function cR(e){return(0,eO.VZ)(e)&&"NEXT_NOT_FOUND"===e.digest}function cE(e){return(0,eO.VZ)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}let cS=new WeakMap;function cP(e,n){return"object"==typeof e&&e?cS.get(e)||(cS.set(e,n),n):n}function cA(e,n){nb();let{componentRoute:t,componentType:r}=n;return new Proxy(e,{apply:(e,i,o)=>(0,Q.wi)(a=>{let s=n.headers?(0,cI.Zm)(n.headers):{};a.setSDKProcessingMetadata({request:{headers:s}});let l=(0,eX.pT)((0,t2.h)(n.sentryTraceHeader,()=>s["sentry-trace"]),(0,t2.h)(n.baggageHeader,()=>s.baggage)),c=cP(n.headers,l);return a.setPropagationContext(c),(0,Q.nZ)().setPropagationContext(c),e7({op:"function.nextjs",name:`${r} Server Component (${t})`,attributes:{[eS]:"component",[eB]:"auto.function.nextjs"}},n=>e4(()=>e.apply(i,o),e=>{cR(e)?(0,t3.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):cE(e)?(0,t3.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]):((0,t3.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Q.Tb)(e,{mechanism:{handled:!1}}))},()=>{(0,t3.x)([n,"optionalAccess",e=>e.end,"call",e=>e()]),ct()}))})})}function cB(e,n){nb();let{method:t,parameterizedRoute:r,baggageHeader:i,sentryTraceHeader:o,headers:a}=n;return new Proxy(e,{apply:(e,n,s)=>(0,Q.wi)(async l=>(l.setSDKProcessingMetadata({request:{headers:a?(0,cI.Zm)(a):void 0}}),nn({sentryTrace:(0,t2.h)((0,t2.h)(o,()=>(0,t3.x)([a,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")])),()=>void 0),baggage:(0,t2.h)(i,()=>(0,t3.x)([a,"optionalAccess",e=>e.get,"call",e=>e("baggage")]))},async()=>{try{return await e8({op:"http.server",name:`${t} ${r}`,attributes:{[eS]:"route",[eB]:"auto.function.nextjs"}},async t=>{let r=await e4(()=>e.apply(n,s),e=>{cE(e)||(0,Q.Tb)(e,{mechanism:{handled:!1}})});try{t&&nc(t,r.status)}catch(e){}return r})}finally{cl()||await ct()}})))})}function cN(e,n){return new Proxy(e,{apply:(e,t,r)=>(0,en.Ok)(()=>{let i;if(!r||!r[0])return e.apply(t,r);nb();let[o]=r,a="nextUrl"in o?o.nextUrl.pathname:o.url,s="nextUrl"in o?o.headers.get("user-agent"):o.headers["user-agent"];if(!n||!(0,t3.x)([s,"optionalAccess",e=>e.includes,"call",e=>e("vercel-cron")]))return e.apply(t,r);let l=n.find(e=>e.path===a);if(!l||!l.path||!l.schedule)return e.apply(t,r);let c=l.path,u=(0,Q.c)({monitorSlug:c,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:l.schedule}}),d=Date.now()/1e3,p=()=>{(0,Q.c)({checkInId:u,monitorSlug:c,status:"error",duration:Date.now()/1e3-d})};try{i=e.apply(t,r)}catch(e){throw p(),e}return"object"==typeof i&&null!==i&&"then"in i?Promise.resolve(i).then(()=>{(0,Q.c)({checkInId:u,monitorSlug:c,status:"ok",duration:Date.now()/1e3-d})},()=>{p()}):(0,Q.c)({checkInId:u,monitorSlug:c,status:"ok",duration:Date.now()/1e3-d}),i})})}function cL(e){return new Proxy(e,{apply:(e,n,t)=>{var r;return(r={spanDescription:"middleware",spanOp:"middleware.nextjs",mechanismFunctionName:"withSentryMiddleware"},async function(...n){let t,i;nb();let o=n[0];return o instanceof Request&&(t=o.headers.get("sentry-trace")||"",i=o.headers.get("baggage")),nn({sentryTrace:t,baggage:i},()=>e8({name:r.spanDescription,op:r.spanOp,attributes:{[eS]:"route",[eB]:"auto.function.nextjs.withEdgeWrapping"},metadata:{request:o instanceof Request?(0,cI.se)(o):void 0}},async t=>{let i=await e4(()=>e.apply(this,n),e=>{(0,Q.Tb)(e,{mechanism:{type:"instrument",handled:!1,data:{function:r.mechanismFunctionName}}})});return t&&(i instanceof Response?nc(t,i.status):t.setStatus("ok")),i}).finally(()=>ct()))}).apply(n,t)}})}function cO(e){return(nb(),"function"==typeof e&&(0,t3.x)([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.isReactComponent]))?class extends e{render(...e){return(0,en.Ok)(()=>{let n=(0,Q.nZ)(),t="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(t){let e=(0,eX.qG)(t);n.setContext("trace",{span_id:(0,t3.x)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,t3.x)([e,"optionalAccess",e=>e.traceId])})}try{return super.render(...e)}catch(e){throw(0,Q.Tb)(e,{mechanism:{handled:!1}}),e}})}}:"function"==typeof e?new Proxy(e,{apply:(e,n,t)=>(0,en.Ok)(()=>{let r=(0,Q.nZ)(),i=(0,t3.x)([t,"optionalAccess",e=>e[0],"optionalAccess",e=>e._sentryTraceData]);if(i){let e=(0,eX.qG)(i);r.setContext("trace",{span_id:(0,t3.x)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,t3.x)([e,"optionalAccess",e=>e.traceId])})}try{return e.apply(n,t)}catch(e){throw(0,Q.Tb)(e,{mechanism:{handled:!1}}),e}})}):e}function cM(e,n){nb();let{requestAsyncStorage:t,componentRoute:r,componentType:i,generationFunctionIdentifier:o}=n;return new Proxy(e,{apply:(e,n,a)=>{let s,l;try{s=(0,t3.x)([t,"optionalAccess",e=>e.getStore,"call",e=>e(),"optionalAccess",e=>e.headers])}catch(e){}if((0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii])){let e=a[0];l={params:e&&"object"==typeof e&&"params"in e?e.params:void 0,searchParams:e&&"object"==typeof e&&"searchParams"in e?e.searchParams:void 0}}return(0,Q.wi)(t=>{t.setSDKProcessingMetadata({request:{headers:s?(0,cI.Zm)(s):void 0}}),t.setExtra("route_data",l);let c=(0,eX.pT)((0,t2.h)((0,t3.x)([s,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")]),()=>void 0),(0,t3.x)([s,"optionalAccess",e=>e.get,"call",e=>e("baggage")])),u=cP(s,c);return t.setPropagationContext(u),(0,Q.nZ)().setPropagationContext(u),e7({op:"function.nextjs",name:`${i}.${o} (${r})`,data:l,attributes:{[eS]:"route",[eB]:"auto.function.nextjs"}},t=>e4(()=>e.apply(n,a),e=>{cR(e)?(0,t3.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):cE(e)?(0,t3.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]):((0,t3.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Q.Tb)(e,{mechanism:{handled:!1}}))},()=>{(0,t3.x)([t,"optionalAccess",e=>e.end,"call",e=>e()])}))})}})}function cD(...e){if("function"==typeof e[1]){let[n,t]=e;return cF(n,{},t)}{let[n,t,r]=e;return cF(n,t,r)}}async function cF(e,n,t){return nb(),(0,Q.wi)(r=>{let i,o;let a=(0,t3.x)([Q.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]),s={};try{i=(0,t2.h)((0,t3.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")]),()=>void 0),o=(0,t3.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.get,"call",e=>e("baggage")]),(0,t3.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.forEach,"call",e=>e((e,n)=>{s[n]=e})])}catch(e){}return r.setSDKProcessingMetadata({request:{headers:s}}),nn({sentryTrace:i,baggage:o},async()=>{try{return await e8({op:"function.server_action",name:`serverAction/${e}`,metadata:{source:"route"}},async e=>{let r=await e4(t,n=>{cR(n)?(0,t3.x)([e,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):cE(n)||((0,t3.x)([e,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Q.Tb)(n,{mechanism:{handled:!1}}))});return(void 0!==n.recordResponse?n.recordResponse:a)&&(0,en.aF)().setExtra("server_action_result",r),n.formData&&n.formData.forEach((e,n)=>{(0,en.aF)().setExtra(`server_action_form_data.${n}`,"string"==typeof e?e:"[non-string value]")}),r})}finally{cl()||await ct()}})})}let cj={...ld,BrowserTracing:l5};function cU(e){let n={environment:function(e){let n=e?lW.env.NEXT_PUBLIC_VERCEL_ENV:lW.env.VERCEL_ENV;return n?`vercel-${n}`:void 0}(!0)||"production",defaultIntegrations:[...tQ(e),ce()],...e};(function(e){let{integrations:n}=e;n&&(Array.isArray(n)?e.integrations=cK(n):e.integrations=e=>cK(n(e)))})(n),function(e){let n=cn.__sentryRewritesTunnelPath__;if(n&&e.dsn){let t=(0,eL.U4)(e.dsn);if(!t)return;let r=t.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],o=r[2],a=`${n}?o=${i}&p=${t.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a}}}(n),W(n,"nextjs",["nextjs","react"]),function(e){let n={...e};W(n,"react"),function(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=tQ()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),nU.SENTRY_RELEASE&&nU.SENTRY_RELEASE.id&&(e.release=nU.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,n){!0===n.debug&&(X.X?J.kg.enable():(0,J.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,Q.nZ)().update(n.initialScope);let t=new e(n);nF(t),t.init?t.init():t.setupIntegrations&&t.setupIntegrations()}(n1,{...e,stackParser:(0,n4.Sq)(e.stackParser||tu),integrations:function(e){let n=e.defaultIntegrations||[],t=e.integrations;n.forEach(e=>{e.isDefaultInstance=!0});let r=function(e){let n={};return e.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.keys(n).map(e=>n[e])}(Array.isArray(t)?[...n,...t]:"function"==typeof t?(0,Y.lE)(t(n)):n),i=function(e,n){for(let t=0;t"Debug"===e.name);if(-1!==i){let[e]=r.splice(i,1);r.push(e)}return r}(e),transport:e.transport||((0,n2.Ak)()?n3:n5)}),e.autoSessionTracking&&void 0!==nU.document&&((0,Q.yj)({ignoreDuration:!0}),(0,Q.cg)(),(0,tp.a)(({from:e,to:n})=>{void 0!==e&&e!==n&&((0,Q.yj)({ignoreDuration:!0}),(0,Q.cg)())}))}(n)}(n);let t=(0,Q.nZ)();t.setTag("runtime","browser");let r=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;r.id="NextClient404Filter",t.addEventProcessor(r)}function cK(e){let n=e.find(e=>"BrowserTracing"===e.name);if(!n)return e;if(n.afterAllSetup&&n.options){let{options:t}=n;e[e.indexOf(n)]=l4(t)}if(!(n instanceof l5)){let t=n.options;delete t.routingInstrumentation,delete t.tracingOrigins,e[e.indexOf(n)]=new l5(t)}return e}function cq(e){return e}},75354:function(e,n,t){"use strict";t.d(n,{AS:function(){return p},Bj:function(){return c},QO:function(){return d},af:function(){return h},l5:function(){return l},lB:function(){return s},mU:function(){return a},nz:function(){return o},oK:function(){return u},xN:function(){return r},yA:function(){return i}}),t(36108),t(88655);var r={right:"_1agz5xb1 _1agz5xb0",left:"_1agz5xb2 _1agz5xb0",floatRight:"_1agz5xb3 _1agz5xb0",hideImage:"_1agz5xb0",latestRecirc:"_1agz5xb5"},i="_1agz5xb0",o="_1agz5xbi",a="_1agz5xbj",s={square:"_1agz5xbb",squareMobile:"_1agz5xbc",wide:"_1agz5xbd",semiWide:"_1agz5xbe"},l="_1agz5xbh",c={right:"_1agz5xb7 _1agz5xb6",left:"_1agz5xb8 _1agz5xb6",floatRight:"_1agz5xb9 _1agz5xb6",hideImage:"_1agz5xba"},u="_1agz5xb6",d="_1agz5xbk",p="_1agz5xbg",h="_1agz5xbf"},2354:function(e,n,t){"use strict";t.d(n,{Fp:function(){return i},MI:function(){return r},aS:function(){return o}}),t(53144);var r="fp8pvk1",i="fp8pvk2",o="fp8pvk0"},97456:function(e,n,t){"use strict";t.d(n,{aS:function(){return r},k$:function(){return a},w8:function(){return i},zs:function(){return o}}),t(40403);var r="a0d76n0",i="a0d76n1",o="a0d76n2",a="a0d76n3"},71343:function(e,n,t){"use strict";t.d(n,{BV:function(){return s},aS:function(){return i},er:function(){return r},sq:function(){return o},zs:function(){return a}}),t(6591);var r={1:"_1cz9p5m2",2:"_1cz9p5m3",3:"_1cz9p5m4"},i="_1cz9p5m0",o="_1cz9p5m5",a="_1cz9p5m1",s="_1cz9p5m6"},92015:function(e,n,t){"use strict";t.r(n),t.d(n,{srOnly:function(){return r}}),t(9237);var r="_142ra0g0"},22178:function(e,n,t){"use strict";t.r(n),t.d(n,{articleOffset:function(){return r},aspectRatio:function(){return i},blockSpacing:function(){return o},bodyBg:function(){return a},bodyPadding:function(){return s},bodyPaddingBottom:function(){return l},bodyPaddingTopLarge:function(){return c},bodyPaddingTopSmall:function(){return u},borderTop:function(){return d},fancyBorder:function(){return p},flexAppContainer:function(){return h},growContainer:function(){return m},hide:function(){return f},hideDesktop:function(){return g},hideScrollbar:function(){return y},hideTabletPlus:function(){return _},mainColumn:function(){return v},mainColumnDesktop:function(){return b},navigationOverhangPadding:function(){return k},navigationOverhangPaddingWithoutMobile:function(){return C},pipeSeparator:function(){return x},showDesktop:function(){return T},showTablet:function(){return w},showTabletPlus:function(){return I},singleColumn:function(){return R},spaceSeparator:function(){return E},standardSpacing:function(){return S}}),t(84305);var r="_1agbrixy",i={none:"_1agbrixt",square:"_1agbrixu",horizontal:"_1agbrixv",vertical:"_1agbrixw"},o={small:"_1agbrixh",large:"_1agbrixi",insetSmall:"_1agbrixj",insetLarge:"_1agbrixk"},a="_1agbrix0",s="_1agbrix8 _1agbrix9 _1agbrixa",l="_1agbrixa",c="_1agbrix9",u="_1agbrix8",d="_1agbrixz",p="_1agbrixx",h="_1agbrix1",m="_1agbrix2",f="_1agbrixs",g="_1agbrixo",y="_1agbrix10",_="_1agbrixl",v="_1agbrix3",b="_1agbrix4",k="_1agbrix7",C="_1agbrix6",x="_1agbrixq",T="_1agbrixp",w="_1agbrixn",I="_1agbrixm",R="_1agbrix5",E="_1agbrixr",S={xsmall:"_1agbrixc",small:"_1agbrixd",medium:"_1agbrixe",large:"_1agbrixf",xlarge:"_1agbrixg"}},87024:function(e,n,t){"use strict";t.r(n),t.d(n,{hangingPunctuation:function(){return r},ledeTextColor:function(){return i},linkStyles:function(){return o},metaText:function(){return a},metaTextVariant:function(){return s},paragraphSpacing:function(){return l},paragraphSpacingBetween:function(){return c},standardLinkStyles:function(){return u}}),t(29944);var r="xkp0cg8",i={standard:"xkp0cg9",fullWidth:"xkp0cga",split:"xkp0cgb",specialFullWidth:"xkp0cgc",specialSplit:"xkp0cgd",overlay:"xkp0cge",brandedVertical:"xkp0cgf",brandedFullWidth:"xkp0cgg",stream:"xkp0cgh"},o="xkp0cg0",a="xkp0cg4",s={box:"xkp0cg5 xkp0cg4",standard:"xkp0cg6 xkp0cg4",special:"xkp0cg7 xkp0cg4"},l="xkp0cg2",c="xkp0cg3",u="xkp0cg1"},68689:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(21367)}])},12235:function(e,n,t){"use strict";t.d(n,{Z:function(){return ei}});var r=t(31561),i=t(35458),o=t(55670),a=t(82201),s=t(16934),l=t(31994);let c="undefined"!=typeof document?a.useLayoutEffect:()=>{};"undefined"!=typeof window&&window.document&&window.document.createElement;let u=e=>{var n;return null!==(n=null==e?void 0:e.ownerDocument)&&void 0!==n?n:document},d=e=>e&&"window"in e&&e.window===e?e:u(e).defaultView||window,p=new Map,h=new Set;function m(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let n=t=>{if(!e(t)||!t.target)return;let r=p.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",n),p.delete(t.target)),0===p.size)){for(let e of h)e();h.clear()}};document.body.addEventListener("transitionrun",t=>{if(!e(t)||!t.target)return;let r=p.get(t.target);r||(r=new Set,p.set(t.target,r),t.target.addEventListener("transitioncancel",n,{once:!0})),r.add(t.propertyName)}),document.body.addEventListener("transitionend",n)}"undefined"!=typeof document&&("loading"!==document.readyState?m():document.addEventListener("DOMContentLoaded",m)),"undefined"!=typeof document&&window.visualViewport,new WeakMap,a.createContext({register:()=>{}}).displayName="PressResponderContext";Symbol("linkClicked");let f=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);class g{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=e}}function y(e){let n=(0,a.useRef)({isFocused:!1,observer:null});c(()=>{let e=n.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let t=function(e){let n=(0,a.useRef)(null);return c(()=>{n.current=e},[e]),(0,a.useCallback)((...e)=>{let t=n.current;return null==t?void 0:t(...e)},[])}(n=>{null==e||e(n)});return(0,a.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){n.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{n.current.isFocused=!1,r.disabled&&t(new g("blur",e)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)},{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&r.disabled){var e;null===(e=n.current.observer)||void 0===e||e.disconnect();let t=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}}),n.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[t])}let _=null,v=new Set,b=new Map,k=!1,C=!1,x={Tab:!0,Escape:!0};function T(e,n){for(let t of v)t(e,n)}function w(e){var n,t;k=!0,e.metaKey||(n=/^Mac/i,!("undefined"!=typeof window&&null!=window.navigator&&n.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform))&&e.altKey)||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(_="keyboard",T("keyboard",e))}function I(e){_="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(k=!0,T("pointer",e))}function R(e){var n,t;(0===e.mozInputSource&&e.isTrusted||((n=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(e=>n.test(e.brand)))||n.test(window.navigator.userAgent))&&e.pointerType)?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(k=!0,_="virtual")}function E(e){e.target!==window&&e.target!==document&&(k||C||(_="virtual",T("virtual",e)),k=!1,C=!1)}function S(){k=!1,C=!0}function P(e){if("undefined"==typeof window||b.get(d(e)))return;let n=d(e),t=u(e),r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){k=!0,r.apply(this,arguments)},t.addEventListener("keydown",w,!0),t.addEventListener("keyup",w,!0),t.addEventListener("click",R,!0),n.addEventListener("focus",E,!0),n.addEventListener("blur",S,!1),"undefined"!=typeof PointerEvent?(t.addEventListener("pointerdown",I,!0),t.addEventListener("pointermove",I,!0),t.addEventListener("pointerup",I,!0)):(t.addEventListener("mousedown",I,!0),t.addEventListener("mousemove",I,!0),t.addEventListener("mouseup",I,!0)),n.addEventListener("beforeunload",()=>{A(e)},{once:!0}),b.set(n,{focus:r})}let A=(e,n)=>{let t=d(e),r=u(e);n&&r.removeEventListener("DOMContentLoaded",n),b.has(t)&&(t.HTMLElement.prototype.focus=b.get(t).focus,r.removeEventListener("keydown",w,!0),r.removeEventListener("keyup",w,!0),r.removeEventListener("click",R,!0),t.removeEventListener("focus",E,!0),t.removeEventListener("blur",S,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",I,!0),r.removeEventListener("pointermove",I,!0),r.removeEventListener("pointerup",I,!0)):(r.removeEventListener("mousedown",I,!0),r.removeEventListener("mousemove",I,!0),r.removeEventListener("mouseup",I,!0)),b.delete(t))};function B(){return"pointer"!==_}"undefined"!=typeof document&&function(e){let n;let t=u(void 0);"loading"!==t.readyState?P(void 0):(n=()=>{P(void 0)},t.addEventListener("DOMContentLoaded",n)),()=>A(e,n)}();let N=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),L=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];L.join(":not([hidden]),"),L.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),L.join(':not([hidden]):not([tabindex="-1"]),');class O{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,n,t){let r=this.fastMap.get(null!=n?n:null);if(!r)return;let i=new M({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),t&&(i.nodeToRestore=t)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let n=this.fastMap.get(e);if(!n)return;let t=n.parent;for(let e of this.traverse())e!==n&&n.nodeToRestore&&e.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&function(e,n){return!!e&&!!n&&n.some(n=>n.contains(e))}(e.nodeToRestore,n.scopeRef.current)&&(e.nodeToRestore=n.nodeToRestore);let r=n.children;t&&(t.removeChild(n),r.size>0&&r.forEach(e=>t&&t.addChild(e))),this.fastMap.delete(n.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let n of e.children)yield*this.traverse(n)}clone(){var e,n;let t=new O;for(let r of this.traverse())t.addTreeNode(r.scopeRef,null!==(n=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new M({scopeRef:null}),this.fastMap.set(null,this.root)}}class M{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}function D(e={}){var n,t,r;let{autoFocus:i=!1,isTextInput:o,within:s}=e,l=(0,a.useRef)({isFocused:!1,isFocusVisible:i||B()}),[c,u]=(0,a.useState)(!1),[p,h]=(0,a.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),m=(0,a.useCallback)(()=>h(l.current.isFocused&&l.current.isFocusVisible),[]),f=(0,a.useCallback)(e=>{l.current.isFocused=e,u(e),m()},[m]);n=e=>{l.current.isFocusVisible=e,m()},t=[],r={isTextInput:o},P(),(0,a.useEffect)(()=>{let e=(e,t)=>{(function(e,n,t){var r;let i="undefined"!=typeof window?d(null==t?void 0:t.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?d(null==t?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?d(null==t?void 0:t.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?d(null==t?void 0:t.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==t?void 0:t.target)instanceof i&&!N.has(null==t?void 0:null===(r=t.target)||void 0===r?void 0:r.type)||(null==t?void 0:t.target)instanceof o||(null==t?void 0:t.target)instanceof a&&(null==t?void 0:t.target.isContentEditable))&&"keyboard"===n&&t instanceof s&&!x[t.key])})(!!(null==r?void 0:r.isTextInput),e,t)&&n(B())};return v.add(e),()=>{v.delete(e)}},t);let{focusProps:g}=function(e){let{isDisabled:n,onFocus:t,onBlur:r,onFocusChange:i}=e,o=(0,a.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),s=y(o),l=(0,a.useCallback)(e=>{e.target===e.currentTarget&&document.activeElement===e.target&&(t&&t(e),i&&i(!0),s(e))},[i,t,s]);return{focusProps:{onFocus:!n&&(t||i||r)?l:void 0,onBlur:!n&&(r||i)?o:void 0}}}({isDisabled:s,onFocusChange:f}),{focusWithinProps:_}=function(e){let{isDisabled:n,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,o=(0,a.useRef)({isFocusWithin:!1}),s=(0,a.useCallback)(e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,t&&t(e),i&&i(!1))},[t,i,o]),l=y(s),c=(0,a.useCallback)(e=>{o.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,l(e))},[r,i,l]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}({isDisabled:!s,onFocusWithinChange:f});return{isFocused:c,isFocusVisible:p,focusProps:s?_:g}}new O;var F=t(92015);t(94753);var j=({className:e,...n})=>{let{isFocusVisible:t,focusProps:o}=D();return(0,r.jsxs)("div",{className:(0,i.Z)("rq6lt10",e),children:[(0,r.jsx)("input",{...o,className:F.srOnly,type:"radio",...n}),(0,r.jsx)("label",{className:(0,i.Z)("rq6lt11",n.checked&&"rq6lt13",t&&"rq6lt12"),htmlFor:n.id,children:n.label})]})},U=t(98989),K=t(418);t(84305),t(14480);var q="x0yt3j0",z="x0yt3j5",H=e=>{let{className:n="",viewBox:t="0 0 42 14"}=e;return(0,r.jsx)("svg",{className:n,width:"42",height:"14",viewBox:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 1C13.1693 1 12.8418 1.01283 12.5177 1.038L12.4403 0.0410045C12.7901 0.0138326 13.1435 0 13.5 0H14.5V1H13.5ZM18.5 1H16.5V0H18.5V1ZM22.5 1H20.5V0H22.5V1ZM26.5 1H24.5V0H26.5V1ZM30.5 1H28.5V0H30.5V1ZM34.5 1H32.5V0H34.5V1ZM38.5 1H36.5V0H38.5V1ZM41.5 1H40.5V0H41.5V1ZM10.5802 1.34272C9.93789 1.49641 9.31483 1.69969 8.71528 1.94831L8.33223 1.02458C8.98009 0.755929 9.65341 0.536247 10.3476 0.370171L10.5802 1.34272ZM6.96837 2.84008C6.40901 3.18358 5.87868 3.56991 5.38198 3.99453L4.73218 3.23443C5.26838 2.77604 5.84098 2.3589 6.44508 1.98793L6.96837 2.84008ZM3.99453 5.38198C3.56991 5.87868 3.18358 6.40901 2.84008 6.96837L1.98793 6.44508C2.3589 5.84098 2.77604 5.26838 3.23443 4.73218L3.99453 5.38198ZM1.94831 8.71528C1.69969 9.31483 1.49641 9.93789 1.34272 10.5802L0.37017 10.3476C0.536247 9.65341 0.755929 8.98009 1.02458 8.33223L1.94831 8.71528ZM1.038 12.5178C1.01283 12.8418 1 13.1693 1 13.5H0C0 13.1435 0.0138325 12.7901 0.0410044 12.4403L1.038 12.5178Z",fill:"black"})})},V=e=>{let{plan:n,setPlan:t,frequency:o,setFrequency:a,textInputOpen:c,setTextInputOpen:u,otherAmount:d,setOtherAmount:p}=e,h=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.offerDisplayId||`${e.label}-${e.recurringInterval}`;return(0,r.jsx)("div",{className:"x0yt3j1",children:(0,r.jsx)(j,{checked:n===e,label:e.label,id:o,onChange:()=>{t(e),u(i)}})},o)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"x0yt3j2",children:[(0,r.jsxs)("div",{className:"x0yt3j9",children:[(0,r.jsx)("div",{className:"x0yt3jc",children:(0,r.jsxs)("div",{className:"x0yt3jd",children:[(0,r.jsx)(H,{className:"_1agbrixm x0yt3je"}),(0,r.jsx)(H,{viewBox:"0 0 10 14",className:"_1agbrixl x0yt3je"}),(0,r.jsx)("div",{className:"x0yt3jk",children:"Membership"}),(0,r.jsx)(H,{className:"_1agbrixm x0yt3jf"}),(0,r.jsx)(H,{viewBox:"0 0 10 14",className:"_1agbrixl x0yt3jf"})]})}),(0,r.jsxs)("div",{className:"x0yt3ja",children:[(0,r.jsx)(l.Z,{type:"button",className:(0,i.Z)("x0yt3j6 x0yt3j3 x0yt3j4",o===s.H$.monthly&&z),fullWidth:!0,displayType:"secondary",text:"Monthly",onClick:()=>a(s.H$.monthly)}),(0,r.jsx)(l.Z,{type:"button",className:(0,i.Z)("x0yt3j3 x0yt3j4",o===s.H$.annual&&z),fullWidth:!0,displayType:"secondary",text:"Annual",onClick:()=>a(s.H$.annual)})]})]}),(0,r.jsx)("div",{className:"x0yt3jb",children:(0,r.jsx)(l.Z,{type:"button",className:(0,i.Z)("x0yt3j8 x0yt3j3",o===s.H$.onetime&&z),fullWidth:!0,displayType:"secondary",text:"One-time",onClick:()=>a(s.H$.onetime)})})]}),(0,r.jsxs)("div",{className:"x0yt3jl",children:[(0,r.jsxs)("div",{className:(0,i.Z)(o===s.H$.monthly?q:K.F.layout.hide),children:[s.ZD.monthly.map(e=>h(e)),h(s.ZD.other[0],!0)]}),(0,r.jsxs)("div",{className:(0,i.Z)(o===s.H$.annual?q:K.F.layout.hide),children:[s.ZD.annual.map(e=>h(e)),h(s.ZD.other[1],!0)]}),(0,r.jsxs)("div",{className:(0,i.Z)(o===s.H$.onetime?q:K.F.layout.hide),children:[s.ZD.onetime.map(e=>h(e)),h(s.ZD.other[2],!0)]}),c&&(0,r.jsx)(U.Z,{hideLabel:!0,name:"otherTextInput",placeholder:"Other Amount",label:"Other Amount",type:"number",min:o===s.H$.annual?"50.00":"5.00",step:1,className:"x0yt3jm",value:d||"",onChange:e=>{let n=e.target.getAttribute("min"),t=e.target.value;if(""===t||t.length>=7)return;let r=Number(t);if(!isNaN(r)){if(n){let e=Number(n);r{let{setPlan:n,currentPlan:t,value:o,frequency:l,setFrequency:c}=e,u=(0,a.useId)(),{isFocusVisible:d,focusProps:p}=D();return(0,r.jsxs)("div",{className:(0,i.Z)("_1b6c4bc3"),children:[(0,r.jsx)("input",{...p,className:(0,i.Z)("_1b6c4bc4",F.srOnly),name:"plan",type:"radio",checked:t===o,id:`option-${u}`,onChange:()=>{c(l),n(o)}}),(0,r.jsxs)("label",{className:(0,i.Z)("_1b6c4bc5",d&&"_1b6c4bc8",l===s.H$.annual&&"_1b6c4bc9"),htmlFor:`option-${u}`,children:[(0,r.jsx)("div",{className:"_1b6c4bc6",children:l===s.H$.monthly?"Monthly Membership":"Annual Membership"}),(0,r.jsx)("div",{className:"_1b6c4bc7",children:o.label})]})]})};var G=e=>{let{plan:n,setPlan:t,setFrequency:i,variant:o="membership"}=e;return(0,r.jsxs)("fieldset",{className:"_1b6c4bc0",children:[(0,r.jsx)("legend",{className:"_1b6c4bc1",children:"Select a plan:"}),(0,r.jsxs)("div",{className:"_1b6c4bc2",children:[(0,r.jsx)($,{setPlan:t,currentPlan:n,value:s.QM[o].monthly,frequency:s.H$.monthly,setFrequency:i}),(0,r.jsx)($,{setPlan:t,currentPlan:n,value:s.QM[o].annual,frequency:s.H$.annual,setFrequency:i})]})]})},W=e=>(0,r.jsx)(G,{...e,variant:"membership-b"}),Z=t(88321),Q=({className:e="",fill:n="",width:t="100%",height:i="100%"})=>(0,r.jsxs)("svg",{width:t,height:i,viewBox:"0 0 14 12",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,r.jsx)("title",{children:"Expand"}),(0,r.jsx)("path",{fill:n,clipRule:"evenodd",d:"M13.408 1.85844L5.46241 11.5801L0.59375 5.62314L2.14233 4.35748L5.46241 8.4197L11.8594 0.592773L13.408 1.85844Z"})]}),Y=t(60355);t(67857);var J="n0ju2m4",X={main:"n0ju2m8 n0ju2m7",membership:"n0ju2m9 n0ju2m7"},ee=t(68093),en=t.n(ee);let et="https://www.paypal.com/donate/?hosted_button_id=VSP4PYJX98SHL";var er=()=>{let[e,n]=(0,a.useState)(et);return(0,a.useEffect)(()=>{let e=new URL(window.location.toString()),t=window.location.pathname,r="";for(let[n,t]of e.searchParams.entries())(n.includes("itm_")||n.includes("utm_"))&&(r+=`__${n}=${t}`);let i=new URL(et);i.searchParams.append("custom",`${r}__referrer=${t}`),n(i.toString())},[]),(0,r.jsx)("a",{className:"n0ju2mb",href:e,target:"_blank",rel:"noreferrer",children:(0,r.jsx)(en(),{src:"/static-assets/logos/paypal_logo.png",alt:"",width:"80",height:"25"})})},ei=e=>{let n,{showCheckmarks:t=!0,generateAnalyticsEvent:c,variant:u="standard",redirectPath:d="/",additionalButtonParams:p}=e,h=(0,a.useMemo)(()=>{switch(u){case"membership":return G;case"membership-b":return W;default:return V}},[u]),[m,f]=(0,a.useState)(s.H$.monthly),[g,y]=(0,a.useState)(!1),[_,v]=(0,a.useState)(()=>{switch(u){case"membership":case"membership-b":return s.QM[u].monthly;default:return s.ZD.monthly.find(e=>e.default)||s.ZD.monthly[0]}}),b=(0,o.useRouter)(),k=(0,Z.z$)(),[C,x]=(0,a.useState)(null);(0,a.useEffect)(()=>{g||x(null)},[g]);let T=e=>{f(e);let n=s.ZD[e].find(e=>e.default)||s.ZD[e][0];y(!1),v(n)};(0,a.useEffect)(()=>(window.contributeSwitchFrequency=T,()=>{window.contributeSwitchFrequency=void 0}),[]),n=g&&!C?"Yes, I'll give":g&&C&&m===s.H$.onetime?`Yes, I'll give $${C}`:g&&C&&m===s.H$.monthly?`Join for $${C}/month`:g&&C&&m===s.H$.annual?`Join for $${C}/year`:m===s.H$.onetime?`Yes I'll give ${_.label}`:`Join for ${_.label}`;let w=g&&!C,I=(0,a.useCallback)(e=>{e.preventDefault(),c&&k?.emit(c(n));let{itm_campaign:t,itm_medium:r,itm_source:i}=b.query,o=["/support-now","/support-membership","/support-membership-b","/checkout"].some(e=>d.startsWith(e)),a={...p,redirectPath:o?"/":d};if(([s.H$.annual,s.H$.monthly].includes(m)||_.recurringInterval)&&(a.entitlement=s.Mg),_.offerDisplayId&&(a.offerDisplayId=_.offerDisplayId,a.ga_plan_type="time"===_.offerDisplayId.split("-")[2]?"one-time":_.offerDisplayId.split("-")[2]||"",a.ga_plan_amount=_.offerDisplayId.split("-").pop()||""),_.productId&&(a.productId=_.productId),_.recurringInterval&&(a.recurringInterval=_.recurringInterval),C){let e;a.otherUnitAmount=Math.round(100*C).toString(),a.ga_plan_amount=a.otherUnitAmount,e="month"===_.recurringInterval?"monthly":"year"===_.recurringInterval?"yearly":"one-time",a.ga_plan_type=e}t&&(a.itm_campaign=t),r&&(a.itm_medium=r),i&&(a.itm_source=i);let l=new URLSearchParams(a);window.location.href=`/checkout?${l.toString()}`},[p,k,n,c,C,_.offerDisplayId,_.productId,_.recurringInterval,m,b.query,d]);return(0,r.jsx)("form",{onSubmit:I,children:(0,r.jsxs)("div",{className:"n0ju2m0",children:[(0,r.jsx)(h,{frequency:m,setFrequency:T,plan:_,setPlan:v,textInputOpen:g,setTextInputOpen:y,otherAmount:C,setOtherAmount:x}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("hr",{className:"n0ju2m1"}),(0,r.jsx)("div",{className:"n0ju2m2",children:s.wh.map((e,n)=>{let t=m===s.H$.onetime&&e.membershipOnly;return(0,r.jsxs)("p",{className:(0,i.Z)("n0ju2m3",t&&"n0ju2m6"),children:[t?(0,r.jsx)(Y.Z,{className:J,width:20,height:20}):(0,r.jsx)(Q,{className:J,width:20,height:20}),(0,r.jsx)("span",{className:"n0ju2m5",children:e.text})]},n)})})]}),(0,r.jsx)(l.Z,{fullWidth:!0,disabled:w,text:n,className:X["standard"===u?"main":"membership"]}),(0,r.jsxs)("div",{className:"n0ju2ma",children:[(0,r.jsxs)("p",{children:["We accept credit card, Apple Pay, and Google Pay. ",(0,r.jsx)("br",{}),"You can also contribute via"]}),(0,r.jsx)(er,{})]})]})})}},8274:function(e,n,t){"use strict";t.r(n),t.d(n,{supportedBrowsersRegExp:function(){return r}});let r=/Edge?\/(12[2-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(109|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(17\.([3-9]|\d{2,})|(1[89]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(10[7-9]|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]([6-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(12[4-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(2[3-9]|[3-9]\d|\d{3,})\.\d+|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/},16934:function(e,n,t){"use strict";var r,i;t.d(n,{H$:function(){return r},Mg:function(){return a},QM:function(){return s},ZD:function(){return l},wh:function(){return c}});let o={Memberships:"b3d412ef-d59c-498e-9d02-86bc5aceb754",Contributions:"1e4965a3-a530-438f-a03e-fa955249faa7"};if(!o.Memberships||!o.Contributions)throw Error("Missing NEXT_PUBLIC_VOX_MEMBERSHIPS_PRODUCT_ID or NEXT_PUBLIC_VOX_CONTRIBUTIONS_PRODUCT_ID");let a="vox_memberships";(i=r||(r={})).monthly="monthly",i.annual="annual",i.onetime="onetime",i.other="other";let s={membership:{monthly:{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},annual:{label:"$50/year",offerDisplayId:"vox-member-yearly-50"}},"membership-b":{monthly:{label:"$6/month",offerDisplayId:"vox-member-monthly-6"},annual:{label:"$60/year",offerDisplayId:"vox-member-yearly-60"}}},l={monthly:[{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},{label:"$10/month",offerDisplayId:"vox-member-monthly-10",default:!0},{label:"$25/month",offerDisplayId:"vox-member-monthly-25"},{label:"$50/month",offerDisplayId:"vox-member-monthly-50"}],annual:[{label:"$50/year",offerDisplayId:"vox-member-yearly-50"},{label:"$100/year",offerDisplayId:"vox-member-yearly-100"},{label:"$150/year",offerDisplayId:"vox-member-yearly-150"},{label:"$200/year",offerDisplayId:"vox-member-yearly-200"}],onetime:[{label:"$25",offerDisplayId:"vox-one-time-contrib-25"},{label:"$50",offerDisplayId:"vox-one-time-contrib-50"},{label:"$100",offerDisplayId:"vox-one-time-contrib-100"},{label:"$250",offerDisplayId:"vox-one-time-contrib-250"}],other:[{label:"Other",productId:o.Memberships,recurringInterval:"month"},{label:"Other",productId:o.Memberships,recurringInterval:"year"},{label:"Other",productId:o.Contributions}]},c=[{text:"Support the Vox mission",membershipOnly:!1},{text:"Members-only stories",membershipOnly:!0},{text:"The Vox Explainer newsletter",membershipOnly:!0},{text:"Bonus podcasts and videos",membershipOnly:!0},{text:"The Highlight digital magazine",membershipOnly:!0}]},21367:function(e,n,t){"use strict";let r,i,o,a,s;t.r(n),t.d(n,{default:function(){return iI},reportWebVitals:function(){return iT}});var l,c,u,d,p=t(31561),h=t(68093),m=t.n(h),f=t(55670),g=t(82201),y=t(12235);let _="vox_article_readcount_count",v="vox_article_readcount_reset_date",b=()=>{let e=window.localStorage.getItem(v),n=e?new Date(Number(e)):null;return n&&!isNaN(n.getTime())?n:null},k=e=>{let n=e.setMonth(e.getMonth()+1);window.localStorage.setItem(v,n.toString())},C=()=>{let e=window.localStorage.getItem(_),n=e?Number(e):0;return isNaN(n)?1:n},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;window.localStorage.setItem(_,e.toString())},T=()=>{let e=1,n=new Date,t=b();return!t||n>t?(k(n),x()):x((e=C())+1),e};var w=t(59356),I=t(1855);t(84305),t(85677);var R="_1tzd3in4",E=()=>{let e=(0,f.useRouter)(),[n,t]=(0,g.useState)(1),r=(0,w.J)();(0,g.useEffect)(()=>{t(T())},[]);let i=(0,g.createRef)();return((0,I.Z)(i,{event:"memberships_article_footer",memberships_article_footer:{cta:"Here at Vox",action:"view",position:"article_footer"}}),r?.isEntitled)?null:(0,p.jsxs)("aside",{className:"_1tzd3in0 _1agbrixx",ref:i,children:[(0,p.jsxs)("p",{className:"_1tzd3in1",children:["You’ve read ",n," article",n>1?"s":""," in the last month"]}),(0,p.jsxs)("div",{className:"_1tzd3in2",children:[(0,p.jsxs)("div",{className:"_1tzd3in3",children:[(0,p.jsx)("p",{className:R,children:"Here at Vox, we're unwavering in our commitment to covering the issues that matter most to you — threats to democracy, immigration, reproductive rights, the environment, and the rising polarization across this country."}),(0,p.jsxs)("p",{className:R,children:["Our mission is to provide clear, accessible journalism that empowers you to stay informed and engaged in shaping our world. By becoming a"," ","Vox Member, you directly strengthen our ability to deliver in-depth, independent reporting that drives meaningful change."]}),(0,p.jsx)("p",{className:R,children:"We rely on readers like you — join us."})]}),(0,p.jsxs)("div",{className:"_1tzd3in5",children:[(0,p.jsx)(m(),{src:"/static-assets/headshots/swati.png",alt:"Swati Sharma",width:59,height:69}),(0,p.jsxs)("div",{className:"_1tzd3in7",children:[(0,p.jsx)("p",{className:"_1tzd3in8",children:"Swati Sharma"}),(0,p.jsx)("p",{className:"_1tzd3in9",children:"Vox Editor-in-Chief"})]})]})]}),(0,p.jsx)(y.Z,{redirectPath:e.isReady?e.asPath:"/",showCheckmarks:!1,generateAnalyticsEvent:e=>({event:"memberships_article_footer",memberships_article_footer:{cta:e,action:`click_${e}`,position:"article_footer"}}),additionalButtonParams:{itm_campaign:"swati-post-election",itm_medium:"site",itm_source:"footer"}})]})};let S={productName:"Membership",ctaLabel:"Become a Member",ctaUrl:"/support-now?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",navNewsletters:"Newsletters",navProductName:"Membership",sentenceProduct:"Vox Membership",contactEmail:"contribute@vox.com",entitlementName:"vox_memberships"};var P={newslettersPageTitle:"Newsletters",newslettersPageDek:"We're like your friend who delights in doing obsessive research and explaining what we learned. Sign up to better understand our complicated world.",newslettersPageMetaDescription:"From Today, Explained to the Vox Crossword, our newsletters bring you the best of the day right to your inbox.",newslettersPage:[{variant:"standard",newsletters:null}]},A={tagsToInverse:[],enableTraining:!0,enableArticleRecirc:!0};let B={title:"Vox",description:"Vox is a general interest news site for the 21st century. Its mission: to help everyone understand our complicated world, so that we can all help shape it. In text, video and audio, our reporters explain politics, policy, world affairs, technology, culture, science, the climate crisis, money, health and everything else that matters. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",additionalMetaTags:[{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{name:"apple-mobile-web-app-title",content:"Vox"}],additionalLinkTags:[{rel:"alternate",type:"application/rss+xml",title:"Vox",href:"/rss/index.xml"}],facebook:{appId:"549923288395304"},openGraph:{images:[{url:"https://www.vox.com/static-assets/default-og-image.png"}],site_name:"Vox",type:"website",url:"https://www.vox.com/"},twitter:{site:"@voxdotcom",cardType:"summary_large_image"}},N={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":"https://www.vox.com/#publisher",name:"Vox",alternateName:"Vox.com",url:"https://www.vox.com",description:"Vox is a general interest news outlet founded in 2014 with a focus on explanatory journalism. Vox's staff of over 100 journalists and subject-matter experts research, report and produce articles, videos, and podcasts that make complex ideas accessible. Whether it’s policy, culture, the Supreme Court, meatless meat, political extremism, biodiversity, artificial intelligence, the climate crisis, or something else, we give context to what’s happening today. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",logo:{"@type":"ImageObject",url:"https://platform.vox.com/wp-content/uploads/sites/2/2024/04/default-og-image.png?quality=90&strip=all&crop=0,0.13712291199202,100,99.725754176016",height:"624",width:"1200"},diversityPolicy:"https://diversity.voxmedia.com/",ethicsPolicy:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com",masthead:"https://www.vox.com/masthead",foundingDate:"2014-04-01",founder:[{"@type":"Person",name:"Ezra Klein"},{"@type":"Person",name:"Matt Yglesias"},{"@type":"Person",name:"Melissa Bell"}],employee:[{"@type":"Person",name:"Ian Millhiser"},{"@type":"Person",name:"Dylan Scott"},{"@type":"Person",name:"Dylan Matthews"},{"@type":"Person",name:"Sean Rameswaram"},{"@type":"Person",name:"Noel King"},{"@type":"Person",name:"Joss Fong"},{"@type":"Person",name:"Swati Sharma"},{"@type":"Person",name:"Marin Cogan"},{"@type":"Person",name:"Alex Abad-Santos"},{"@type":"Person",name:"Alissa Wilkinson"},{"@type":"Person",name:"Constance Grady"},{"@type":"Person",name:"Aja Romano"},{"@type":"Person",name:"Kelsey Piper"},{"@type":"Person",name:"Kenny Torrella"},{"@type":"Person",name:"Noam Hassenfeld"},{"@type":"Person",name:"Rebecca Leber"},{"@type":"Person",name:"Peter Kafka"},{"@type":"Person",name:"Rani Molla"},{"@type":"Person",name:"Zack Beauchamp"}],ownershipFundingInfo:"Vox is owned by Vox Media, the leading modern media company dedicated to high-quality journalism.",sameAs:["https://en.wikipedia.org/wiki/Vox_(website)","https://www.wikidata.org/wiki/Q20877087","https://www.facebook.com/Vox/","https://twitter.com/voxdotcom","https://www.instagram.com/voxdotcom","https://www.youtube.com/@Vox","www.tiktok.com/@voxdotcom","https://www.linkedin.com/company/vox-com/","https://www.threads.net/@voxdotcom"],knowsAbout:[{"@type":"Thing",name:"news"},{"@type":"Thing",name:"politics"},{"@type":"Thing",name:"science"},{"@type":"Thing",name:"culture"},{"@type":"Thing",name:"policy"},{"@type":"Thing",name:"elections"},{"@type":"Thing",name:"climate change"},{"@type":"Thing",name:"energy"},{"@type":"Thing",name:"business"},{"@type":"Thing",name:"economy"},{"@type":"Thing",name:"technology"},{"@type":"Thing",name:"video"},{"@type":"Thing",name:"podcasts"},{"@type":"Thing",name:"world news"},{"@type":"Thing",name:"entertainment"},{"@type":"Thing",name:"today explained"},{"@type":"Thing",name:"vox explained"},{"@type":"Thing",name:"politics news"},{"@type":"Thing",name:"business news"},{"@type":"Thing",name:"election news"},{"@type":"Thing",name:"trump news"},{"@type":"Thing",name:"movie reviews"},{"@type":"Thing",name:"tv reviews"},{"@type":"Thing",name:"climate change news"},{"@type":"Thing",name:"science news"},{"@type":"Thing",name:"technology news"},{"@type":"Thing",name:"media news"}],award:["News & Documentary Emmy 2019 Winner in Outstanding New Approaches: Arts, Lifestyle and Culture","Online Journalism Awards 2022 winner in Excellence in Audio Storytelling","Online Journalism Awards 2020 winner in Excellence in Video Storytelling","Online Journalism Awards 2020 winner in Climate Change Reporting","Online Journalism Awards 2022 winner in Topical Reporting, Olympics Coverage","Online Journalism Awards 2022 winner in 3M Trurth in Science Award","Webby Awards 2020 winner in Best News & Politics General Series for Today Explained","Webby Awards 2020 winner in Best Arts & Culture Podcast","Webby Awards 2020 winner in Best Video - How To, Explainer, and DIY","Webby Awards 2020 winner in Best Podcast - Interview/Talk Show for The Ezra Klein Show","Webby Awards 2020 winner in Best Video - News & Politics"]},L={"/":[N,{"@context":"https://schema.org","@type":"WebSite",url:"https://www.vox.com/",name:"Vox",potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"https://www.vox.com/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}],"/about-us":[N]},O={pagesCanonicalMap:{"/pages/masthead":"/masthead","/pages/about-us":"/about-us"},defaultOgImage:"/static-assets/default-og-image.png"};var M=t(7345);let D={...M.W.rJ,viewport:"all"},F={...M.W.rJ,style:{transform:"translateY(-4px)"},viewport:"desktop"},j={...M.W.rJ,viewport:"mobileAndTablet"},U={...M.W.rJ,style:{transform:"translateY(-4px)"},viewport:"desktop"},K={...M.W.rJ,viewport:"mobileAndTablet"},q={...M.W.Ym,viewport:"tabletAndDesktop"},z={...M.W.Ps,viewport:"mobile"},H={...M.W.Hh,viewport:"mobile"},V={...M.W.$I,viewport:"tabletAndDesktop"},$={...M.W.vD,viewport:"flexTabletAndDesktop"},G={...M.W.DL,viewport:"mobile"},W={...M.W.aX,viewport:"mobile"},Z={...M.W.F0,viewport:"tablet"},Q={...M.W.Rl,viewport:"desktop"},Y={...M.W.rJ,viewport:"all"},J={...M.W.I_,viewport:"desktop"},X={...M.W._x,viewport:"desktop"},ee={...M.W.Yq,viewport:"mobile"},en={...M.W.Hb,viewport:"mobile"},et={...M.W.cg,viewport:"tablet"},er={...M.W.zP,viewport:"tablet"},ei={...M.W.cj,viewport:"desktop"},eo={...M.W.FO,viewport:"desktop"},ea={...M.W.tO,viewport:"desktop"},es={...M.W.L5,viewport:"desktop"},el={...M.W.IK,viewport:"desktop"},ec={...M.W.TR,viewport:"desktop"},eu={...M.W.eu,viewport:"desktop"},ed={...M.W.X8,viewport:"desktop"},ep={...M.W.Mq,viewport:"desktop"},eh={...M.W.k_,viewport:"mobile"},em={...M.W.pE,viewport:"tabletAndDesktop"},ef={...M.W.ke,viewport:"mobileAndTablet"},eg={...M.W.yO,viewport:"desktop"},ey={...M.W.He,viewport:"desktop"},e_={...M.W.b6,viewport:"all"},ev={articleSponsorship:[{slotName:"article_sponsorship",...D}],articleSponsorshipHeadlineAboveMobileAndTablet:[{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...j}],articleSponsorshipHeadlineAboveDesktop:[{slotName:"article_sponsorship_headline_above_desktop",...F}],articleSponsorshipWhiteMobileAndTablet:[{slotName:"article_sponsorship_white_mobile_and_tablet",...K}],articleSponsorshipWhiteDesktop:[{slotName:"article_sponsorship_white_desktop",...U}],athenaGamesHub:[{slotName:"athena_games_hub_mobile",...z},{slotName:"athena_games_hub_desktop_tablet",...q}],connatixRightRail:[{slotName:"connatix_right_rail",...ep}],frontpageSecondaryMobile:[{slotName:"frontpage_secondary_mobile",...H}],frontpageHeroDesktop:[{slotName:"frontpage_hero_desktop",...V}],networkRiverHomeTop:[{slotName:"mobile_network_river",...ee},{slotName:"tablet_network_river",...et},{slotName:"desktop_network_river",...ei}],networkRiverHome:[{slotName:"mobile_network_river",...en},{slotName:"tablet_network_river",...er},{slotName:"desktop_network_river",...eo}],networkRiverArticle:[{slotName:"mobile_network_river",...en},{slotName:"tablet_network_river",...er}],packageSponsorship:[{slotName:"package_sponsorship",...Y}],rightRailNetworkRiver:[{slotName:"medium_rectangle_river",...ea}],rightRailNetworkRiverAboveNewsletter:[{slotName:"medium_rectangle_river",...es}],leaderboardArticle:[{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...Q}],leaderboardAuthor:[{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...Q}],leaderboardHub:[{slotName:"mobile_leaderboard",...W},{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...Q}],leaderboardPackagedHub:[{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...J}],leaderboardStream:[{slotName:"storystream_top_leaderboard_tablet",...Z},{slotName:"storystream_top_leaderboard_desktop",...X}],leaderboardTop:[{slotName:"leaderboard_top_tablet_desktop",...$}],medrecFrontpageHero:[{slotName:"medrec_frontpage_hero_mobile",...G}],outbrainPostMobile:[{slotName:"outbrain_post_mobile",...eh}],outbrainPostTabletAndDesktop:[{slotName:"outbrain_post_tablet_and_desktop",...em}],topRightRailHub:[{slotName:"medium_rectangle_variable",...el}],topRightRailArticle:[{slotName:"medium_rectangle_variable",...ec}],bottomRightRail:[{slotName:"btf_medium_rectangle_variable",...eu}],bottomRightRailHub:[{slotName:"btf_medium_rectangle_variable_hub",...eu}],bottomRightRailArticle:[{slotName:"btf_medium_rectangle_variable_article",...ed}],specialSponsorshipRail:[{slotName:"medium_rectangle_gamestop",...eg}],specialSponsorshipBody:[{slotName:"medium_rectangle_gamestop",...ef}],featureExtendedSticky:[{slotName:"btf_medium_rectangle_variable_feature_extended_sticky",...ey}],hubSponsorship:[{slotName:"hub_sponsorship",...e_}],articleStreamSponsorship:[{slotName:"article_sponsorship",...F},{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...j}],leaderboardStreamWordpress:[{slotName:"mobile_leaderboard",...W},{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...X}],leaderboardVideoGameWordpress:[{slotName:"mobile_leaderboard",...W},{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...X}],leaderboardArticleWordpress:[{slotName:"mobile_leaderboard",...W},{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...Q}],leaderboardAuthorWordpress:[{slotName:"mobile_leaderboard",...W},{slotName:"tablet_leaderboard",...Z},{slotName:"desktop_leaderboard_variable",...Q}]};var eb=t(70740),ek=t(87784);let eC="duet:identityAuthenticated";var ex=t(47382),eT=t(19738);let ew=e=>{let{children:n,serverAuthState:t}=e,[r,i]=(0,g.useState)(null),[o,a]=(0,g.useState)(!0);return(0,g.useMemo)(()=>{(0,ek.v)("Duet User",{loggedIn:!1,service:"firebase"})},[]),(0,g.useEffect)(()=>{r?(0,ek.v)("Duet User",{loggedIn:!0,emailVerified:r.emailVerified,entitlements:r.entitlements,isEntitled:r.isEntitled,hasZephrJwtToken:!!r.zephrJwt,service:"firebase"}):(0,ek.v)("Duet User",{loggedIn:!1,service:"firebase"})},[r]),(0,g.useEffect)(()=>{(async()=>{if("true"!==(0,eT.ej)(eC)){a(!1);return}try{let e=await fetch("/api/auth/firebase-verify",{method:"post",headers:{"Content-Type":"application/json"},credentials:"same-origin"});if(e.ok){let n=await e.json();i(n.user??null)}else await fetch("/api/auth/firebase-logout")}catch(e){(0,ek.Tb)(e,{extra:{message:"Failed to verify identity session"}})}a(!1)})()},[]),(0,p.jsx)(w.Z.Provider,{value:t,children:(0,p.jsx)(ex.ZP.Provider,{value:{authMethod:"identity",user:r,userLoading:o,setUser:e=>{i(e)}},children:n})})};var eI=t(63525),eR=t(59510),eE=t(76553);async function eS(e,n){let t={isLoggedIn:!1,isEntitled:!1};if(!e.req||!e.res)return t;let{req:r}=e,{headers:i}=r,o=i["x-user-state"];if(o)return{isEntitled:"logged-in-entitled"===o||"logged-in-expired-entitlements"===o,isLoggedIn:"not-logged-in"!==o};"1"===i["fastly-client"]&&(0,ek.Tb)(Error("Missing `x-user-state` header from fastly"));let{communityDomain:a}=(0,eI.Jx)(n),s="true"===(0,eT.qS)(r,eC),l=(0,eT.qS)(r,"duet:identitySession");if(!s||!l)return t;let c=(0,eE.R2)(r,a).href;try{let e=await fetch(`${c}/auth/firebase-verify`,{method:"post",headers:{"Content-Type":"application/json",Cookie:i.cookie||""},body:JSON.stringify({skipRefresh:!0,skipZephrTokenGeneration:!0})});if(!e.ok)return eR.cM.error("Error verifying server auth state of user"),await fetch(`${c}/auth/firebase-logout`),t;{let n=await e.json();return{isLoggedIn:!!n.user,isEntitled:!!n.user?.isEntitled}}}catch(e){return(0,ek.Tb)(e,{extra:{message:"Error checking server auth state"}}),await fetch(`${c}/auth/firebase-logout`),t}}var eP=t(35458),eA=t(80192),eB=t.n(eA),eN=t(92396),eL=t.n(eN),eO=t(37254),eM=t(86273),eD=t(24353),eF=t(11439),ej=t.n(eF);let eU={Vox:{localStorageKey:"_aQS02NDc5MDdGOUVBRjRCODk4QjNGNEM5NjItMQ",admiralUrl:"https://luminousboulevard.com/j/57930e9/90663e81dd_880c52bac86e05e0aa8.js"},Polygon:{localStorageKey:"_aQS02NDc5MDdGOUVBRjRCODk4QjNGNEM5NjItNA",admiralUrl:"https://sprysummit.com/scripts/029ae29_484e3afe029cb1f73493434aca0e3.v2.js"}};var eK=e=>{let{communityName:n}=e,t=eU[n];if(!t)return;let{localStorageKey:r,admiralUrl:i}=t;return(0,p.jsx)(ej(),{id:"admiral",dangerouslySetInnerHTML:{__html:`!(function(o, _name) { o[_name] = o[_name] || function $() { ($.q = $.q || []).push(arguments) }, o[_name].v = o[_name].v || 2; !(function(o, t, n, f, e, i) { function c(f, e) { (f = (function(t, n) { try { if (n = (t = o.localStorage).getItem("${r}")) return JSON.parse(n).lgk || []; if ((t.getItem("v4ac1eiZr0") || "").split(",")[4] > 0) return [ [_name + "-engaged", "true"] ] } catch (f) {} })()) && typeof f.forEach === n && (e = o[t].pubads()) && f.forEach((function(o) { o && o[0] && e.setTargeting(o[0], o[1] || "") })) }(i = o[t] = o[t] || {}).cmd = i.cmd || [], typeof i.pubads === n ? c() : typeof i.cmd.unshift === n ? i.cmd.unshift(c) : i.cmd.push(c) })(window, "googletag", "function"); })(window, decodeURI('%61d%6d%69%72%61%6c')); !(function(t, c, i) { i = t.createElement(c), t = t.getElementsByTagName(c)[0], i.async = 1, i.src = "${i}", t.parentNode.insertBefore(i, t), i.onload = function () { let entry_group; let max_attempts = 3; let attempts = 0; const pollForConcertAds = () => { if (Object.prototype.hasOwnProperty.call(window, "concertAds")) { entry_group = window.concertAds?.variables?.entry_group; if (entry_group && Object.prototype.hasOwnProperty.call(window, "admiral")) { window.admiral = window.admiral || function () { (admiral.q = admiral.q || []).push(arguments); }; window.admiral("targeting", "set", "entryGroup", entry_group); } } else { attempts++; if (attempts < max_attempts) { setTimeout(pollForConcertAds, 500); } } } pollForConcertAds(); } })(document, "script");`}})},eq=t(92460);class ez{constructor(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(!(0,eq.C)())return;window.dataLayer=window.dataLayer||[],e&&window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"})}emit(e){window.dataLayer?.push(e)}VIEW_PUSH_DELAY=3e4;viewedProductQueue=[];viewedProductPushTimeout=null;viewedProductVisibilityChangeHandled=!1;unpublishedViewedProducts=()=>this.viewedProductQueue.filter(e=>!e.pushed);pushViewedProducts=()=>{let e=this.unpublishedViewedProducts();e.length&&(this.emit({event:"view_item",ecommerce:{items:e}}),this.viewedProductQueue=this.viewedProductQueue.map(e=>({...e,pushed:!0})),this.viewedProductPushTimeout=null)};productViewed(e){if(!(this.viewedProductQueue.filter(n=>n.item_name===e.item_name&&n.item_category2===e.item_category2).length>0)){if(this.viewedProductQueue.push(e),this.unpublishedViewedProducts().length>=15){this.pushViewedProducts();return}this.viewedProductPushTimeout||(this.viewedProductPushTimeout=setTimeout(this.pushViewedProducts,this.VIEW_PUSH_DELAY)),this.viewedProductVisibilityChangeHandled||(this.viewedProductVisibilityChangeHandled=!0,document.addEventListener("visibilitychange",this.pushViewedProducts))}}}var eH=t(66912),eV=t(31218),e$=(0,eV.n)(e=>{let{communityOrigin:n}=e,t=(0,f.useRouter)(),r="/"===t.asPath?n:`${n}${t.asPath}`,i=(0,g.useCallback)(()=>{window.Sailthru.init({customerId:eH.l$,isCustom:!0,autoTrackPageview:!1}),window.Sailthru.track("pageview",{url:r})},[r]);return(0,p.jsx)(ej(),{src:"https://ak.sail-horizon.com/spm/spm.v1.min.js",onLoad:i})},{context:"SailthruErrorBoundary"}),eG=e=>{let{containerID:n,communityOrigin:t}=e,r=(0,g.useMemo)(()=>`https://www.googletagmanager.com/gtm.js?id=${n}`,[n]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(e$,{communityOrigin:t}),(0,p.jsx)(ej(),{src:r})]})};class eW extends ez{constructor(){super(!1)}emitMetric(e){let n=e.value;"CLS"===e.name&&(n=Math.round(1e3*e.value));let t={event:"web-vitals",eventAction:e.name,eventCategory:"Web Vitals",eventLabel:e.id,eventValue:n,nonInteraction:!0,transport:"beacon"};super.emit(t)}}class eZ extends ez{constructor(){super(!1)}push(e){super.emit(e)}formatEvent(e){return function(e,n,t,r,i){e[0]instanceof Array&&(e=e[0]),"string"==typeof e[0]&&e[0].match(/send|_track/)&&e.shift(),e[0]===n.toLowerCase()&&e.shift();let o=0,a={};for(let n=0;n=0;if(r&&/^\{.*\}$/.test(n.data))try{t=JSON.parse(n.data)}catch(e){t=null}if(r&&t&&t[i]===o){if(t.id){let r=t.message===a;r&&l.hasOwnProperty(t.id)?e.end(t):r||c.hasOwnProperty(t.id)||(c[t.id]=!0,e.post(n.source,{message:a,value:p(n,t)||"success",id:t.id}))}else p(n,t)}},window.addEventListener("message",d)}return this},stopListening:function(){return d&&(window.removeEventListener("message",d),d=null),this},dispose:function(){t&&(clearInterval(t),this.stopListening())}}}}function eJ(e,n,t){let r=null,i=!1,o=()=>{if(r){i=!0;return}e.call(t),r=setTimeout(function(){let e=i;r=null,i=!1,e&&o.call(t)},n)};return o}var eX={els:[],_init:!1,_h:0,_t:0,_b:0,callElementsInViewport:function(){for(let e=this.els.length-1;e>=0;e--){let n=this.els[e];this.testElementInViewport(n.el,n.t)&&!n.fn.call(null,n.el)&&this.els.splice(e,1)}},testElementInViewport:function(e,n=0){let t=this._h;t||(t=this._h=window.innerHeight||document.documentElement.clientHeight);let r=this._t=n*t,i=this._b=t-r,o=e.getBoundingClientRect();return o.top>=r&&o.top<=i||o.bottom>=r&&o.bottom<=i},trackElement:function(e,n,t){let r=!0;this.testElementInViewport(e,t)&&(r=n(e)),r&&(this.els.push({el:e,fn:n,t:t}),this._init||(this._init=!0,window.addEventListener("scroll",eJ(this.callElementsInViewport,200,this)),window.addEventListener("resize",eJ(this.refresh,200,this))))},refresh:function(){this._h=0,this.callElementsInViewport()}};let e0=new eZ,e1=new eY;function e2(e){return new e3(e)}e2.embedHost="",e2.selectAllEmbeds=function(){return document.querySelectorAll('iframe[src^="'+this.embedHost+'/embed"]')},e2.install=function(e){let n;if((0,eT.ej)(eQ.lV))return;this.embedHost=e,this.log("install "+this.embedHost);let t=this.selectAllEmbeds();for(r?r.host=this.embedHost:r=e1.create("volume",this.embedHost).on("analytics",(e,n)=>{e2.reportEvent(n)},this).on("pauseOthers",e=>{e2.postToAll("pause",void 0,e.source)},this).on("host",()=>({url:location.href,origin:location.origin,referrer:document.referrer,title:document.title,api:!0}),this).listen(),n=0;n{let n=/iframe/i.test(e.tagName)?e:e.querySelector("iframe");return n&&t.test(n.src)?n:null},i=r(),o=e.getAttribute("data-volume-uuid");if(o){let t=`${o}-${n}`;this.log("[tracking] "+t),eX.trackElement(e,function(){if(i=i||r()){e2.log("[view] "+t);let e=i;setTimeout(()=>e2(e).request("view",document.title),100)}else e2.log("[view fallback] "+t),e2.reportEvent({eventCategory:"video",eventAction:["volume","view",n].join(":"),eventLabel:[document.title,e.getAttribute("data-volume-id")||o].join(" | "),nonInteraction:!0})},.1)}},e2.postToAll=function(e,n,t){let i=this.selectAllEmbeds();for(let o=0;o{let[e,n]=(0,g.useState)(!1);return((0,g.useEffect)(()=>{n(!0)},[]),e)?null:(0,p.jsx)("style",{children:` *, *::before, *::after { transition: none!important; } `})},e4=e=>{let{fonts:n}=e;if(!n)return null;let t=Object.entries(n).map(e=>{let[n,t]=e;return`${n}: ${t};`}).join("");return(0,p.jsx)("style",{dangerouslySetInnerHTML:{__html:` :root { ${t} } `}})},e6=t(86022),e8=t(27018),e7=({children:e,loopNavData:n})=>{let[t,r]=(0,g.useState)(!1),i=(0,g.useCallback)(()=>{r(!0)},[]),o=(0,g.useCallback)(()=>{r(!1)},[]);return(0,p.jsx)(e8.Z.Provider,{value:{loopNavData:n,isDrawerOpen:t,openDrawer:i,closeDrawer:o,drawerId:"loopnav-drawer"},children:e})},e9=e=>{let{nodeId:n,children:r}=e,{node:i}=(0,eM.useLazyLoadQuery)((void 0!==l||(l=t(59785)).hash&&"4c3e8c249bd5b267f0ed4e22d21e8d9d"!==l.hash&&console.error("The definition of 'LoopNavProviderContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),l),{nodeId:n}),o=i.loopNav?{title:i.loopNav.title,sections:i.loopNav.items.map(e=>{let t=!1,r=e.items.map(e=>{let r={...e};return(e.listItemResourceId===n||e.permalink&&new URL(e.permalink).pathname===i.path)&&(r.current=!0,t=!0),r});return{...e,items:r,current:t}})}:null;return(0,p.jsx)(e7,{loopNavData:o,children:r})},ne=t(10160),nn=t(80646);let nt=[{name:"The Strategist",host:"nymag.com",path:"/strategist",url:"https://nymag.com/strategist"},{name:"Intelligencer",host:"nymag.com",path:"/intelligencer",url:"https://nymag.com/intelligencer"},{name:"New York Magazine",host:"nymag.com",url:"https://nymag.com/"},{name:"Vulture",host:"vulture.com",url:"https://www.vulture.com/"},{name:"Grub Street",host:"grubstreet.com",url:"https://www.grubstreet.com/"},{name:"The Cut",host:"thecut.com",url:"https://www.thecut.com/"},{name:"Curbed",host:"curbed.com",url:"https://www.curbed.com/"},{name:"Punch",host:"punchdrink.com",url:"https://www.punchdrink.com/"},{name:"Thrillist",host:"thrillist.com",url:"https://www.thrillist.com/"},{name:"The Dodo",host:"thedodo.com",url:"https://www.thedodo.com/"},{name:"Popsugar",host:"popsugar.com",url:"https://www.popsugar.com/"},{name:"Now This",host:"nowthisnews.com",url:"https://www.nowthisnews.com/"},{name:"The Verge",host:"theverge.com",url:"https://www.theverge.com/"},{name:"Eater",host:"eater.com",url:"https://www.eater.com/"},{name:"SBNation",host:"sbnation.com",url:"https://www.sbnation.com/"},{name:"Polygon",host:"polygon.com",url:"https://www.polygon.com/"}],nr=e=>nt.filter(n=>n.name!==e),ni={subscriptionProviderUrl:"https://vox.memberful.com"};var no=t(78796),na=({children:e,globalData:n})=>(0,p.jsx)(no.Z.Provider,{value:n,children:e}),ns=t(72964),nl=e=>{let{children:n}=e,{breakingNewsBanner:r,wikiBanner:i,siteSettings:o,newsletters:a}=(0,eM.useLazyLoadQuery)((void 0!==c||(c=t(24353)).hash&&"8f8c886f12e1b973ab35589cfe8f0262"!==c.hash&&console.error("The definition of 'GlobalDataContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),c),{}),{placeholderImage:s,siteLogo:l,...u}=o,d=null;l&&(d={url:l.thumbnails.social.url,...(0,ns.P_)(l,l.thumbnails.social)});let h=null;return i&&((h={...i}).dek="We rely on readers like you to fund our journalism. Will you support our work and become a Vox Member today?"),(0,p.jsx)(na,{globalData:{breakingNewsBanner:r,wikiBanner:h,siteSettings:{...u,placeholderImageUrl:{horizontal:s?.thumbnails.horizontal.url||"",vertical:s?.thumbnails.vertical.url||"",square:s?.thumbnails.square.url||"",social:s?.thumbnails.social.url||""},siteLogo:d},newsletters:a},children:n})},nc=t(36373),nu=t(60857),nd=t(8766),np=t(74702),nh=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async n=>{let t;let r={...n.fetchOpts},i={...n.fetchOpts.headers,Accept:"application/json"};"POST"===n.fetchOpts.method&&(r.body=JSON.stringify(n.operation),i["Content-Type"]="application/json"),r.headers={...r.headers,...i},"true"===np.env.DEBUG_ENABLED&&eR.cM.debug(`GQL Curl Command for ${n.operation.operationName}: ${(0,nu.ZP)(n.url,r)} `);let o=await fetch(n.url,r),a=await o.text();if(!o.ok)throw new nd.Q(`response wasn't ok, it was: ${o.status} ${a}`,{extra:{status:o.status,text:a}});try{t=JSON.parse(a)}catch(e){throw new nd.Q("Couldn't parse GraphQL Response JSON",{cause:e,extra:{text:a}})}return e.onHeaders&&e.onHeaders(o.headers,n.operation),t}};function nm(e){let{url:n,middleware:t,options:r={}}=e,i=nh(r),o=(function(e){if(0===e.length)return e=>e;let n=e[e.length-1],t=e.slice(0,-1);return e=>t.reduceRight((e,n)=>n(e),n(e))})(t)(i);return(e,t)=>{if(!e.id)throw Error("Missing request id");return nc.Observable.create(r=>{let i=o({url:n,fetchOpts:{method:"POST",headers:{}},request:e,operation:{operationName:e.name,variables:t}});if(!(0,nc.isPromise)(i)){r.next(i),r.complete();return}i.then(e=>{r.next(e),r.complete()},e=>{r.error(e),r.complete()})})}}var nf=function(e){let{name:n,commit:t}=e;if(!n&&!t)return e=>n=>e(n);let r={};return n&&(r["client-name"]=n),t&&(r["client-version"]=t.substring(0,7)),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...r},e(n))},ng=function(e){let{communityId:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["vm-community-id"]=n.toString()),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},ny=t(59619),n_=t.n(ny),nv=t(74702);let nb=n_()({enabled:"true"!==nv.env.DISABLE_GRAPHQL_LOGGING,browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:nv.env.LOG_LEVEL||"info"}).child({name:"duet-framework"});var nk=e=>async n=>{let t=await e(n);if(t.errors){let e={operationName:n.operation.operationName,variables:n.operation.variables,errors:t.errors,hasData:!!t.data};if(!t.data||t.errors.length>0)throw new nd.Q("GraphQL Response with critical errors",{extra:e});nb.warn(e,"GraphQL Response with errors")}return t};/*! * Check if two objects or arrays are equal * (c) 2021 Chris Ferdinandi, MIT License, https://gomakethings.com * @param {*} obj1 The first item * @param {*} obj2 The second item * @return {Boolean} Returns true if they're equal in value */function nC(e,n){function t(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}let r=t(e);return r===t(n)&&("array"===r?function(){if(e.length!==n.length)return!1;for(let t=0;t{let n=[...e.responses];return e=>t=>{if("query"!==t.request.operationKind)return e(t);let r=n.findIndex(e=>e.operationName===t.operation.operationName&&nC(e.variables,t.operation.variables));if(-1===r)return e(t);let i=n[r];return n.splice(r,1),{data:i.data}}},nT=t(89211),nw=t.n(nT),nI=t(74702);function nR(e,n){let t=new nc.RecordSource(n),r=new nc.Store(t);return new nc.Environment({store:r,network:e,isServer:"undefined"==typeof window})}var nE=(e,n,t)=>(0,g.useMemo)(()=>{let{communityId:r}=t;return nR(function(e){let{hydrationData:n,communityId:t,token:r,origin:i}=e,o=function(e){let{hydrationData:n,communityId:t,token:r}=e,{NEXT_PUBLIC_APP_NAME:i}=nI.env;return[e=>n=>{if("subscription"===n.request.operationKind)throw Error("GraphQL subscriptions are not supported.");return n.fetchOpts.method="mutation"===n.request.operationKind?"POST":"GET","GET"===n.fetchOpts.method&&(n.url+=`?id=${n.request.id}&variables=${encodeURIComponent(nw()(n.operation.variables))}`),e(n)},nx(n),nk,e=>n=>{if(!r&&"undefined"==typeof window)throw new nd.Q(`Unexpected GraphQL network request for '${n.operation.operationName}'`,{extra:{operationName:n.operation.operationName,variables:n.operation.variables}});return r&&(n.fetchOpts.headers.Authorization=`Bearer ${r}`),e(n)},nf({name:i}),ng({communityId:t})]}({hydrationData:n,communityId:t,token:r}),a="/api/graphql";return i&&(a=`${i}${a}`),nc.Network.create(nm({url:a,middleware:o}))}({hydrationData:e,communityId:r,token:n}))},[t,e,n]),nS=t(81799),nP=t(96233),nA=function(e){let{bypassCache:n}=e;if(!n)return e=>n=>e(n);let t={};return t["vm-cache-bypass-wp"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},nB=function(e){let{active:n}=e;if(!n)return e=>n=>e(n);let t={};return t["fastly-debug"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},nN=function(e){let{userAgent:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["User-Agent"]=n),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))};async function nL(e){if("undefined"==typeof crypto)return(await Promise.all([t.e(6400),t.e(9861)]).then(t.t.bind(t,11304,23))).createHash("sha256").update(e).digest("hex");let n=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",n))).map(e=>e.toString(16).padStart(2,"0")).join("")}let nO=(()=>{let e={};return async n=>(n in e||(e[n]=await nL(n)),e[n])})();var nM=e=>n=>async t=>{if("query"!==t.request.operationKind||!t.request.id)return n(t);if(!(t.request.id in e))return eR.cM.debug(`---------! WARNING: Request for ${t.operation.operationName} not found in persisted data - are you using the correct query fetcher?`),n(t);let r=await nO(e[t.request.id]),{url:i,fetchOpts:{method:o}}=t;t.fetchOpts.method="GET";let a={queryId:r,operationName:t.operation.operationName,variables:t.operation.variables};t.url=function(e,n){let t=new URL(e);for(let[e,r]of Object.entries(n)){let n="string"==typeof r?r:JSON.stringify(r);t.searchParams.append(e,n)}return t.href}(i,a);let s=await n(t);return"errors"in s&&s.errors&&s.errors[0]&&"PersistedQueryNotFound"===s.errors[0].message?(t.url=i,t.fetchOpts.method=o,t.operation.extensions={...t.operation.extensions,persistedQuery:{version:1,sha256Hash:r}},t.operation.query=function(e,n){if(n.text)return n.text;if(!n.id)throw Error("no id or text on query");let t=e[n.id];if(!t)throw new nd.Q(`persisted query not found for id: ${n.id}`,{extra:{id:n.id}});return t}(e,t.request),n(t)):s},nD=t(74702),nF=t(50890).Buffer,nj=e=>n=>async t=>{if("query"!==t.request.operationKind)return n(t);let r=await n(t);return r.data&&e.responses.push({operationName:t.operation.operationName,variables:t.operation.variables,data:r.data}),r},nU=t(74702),nK=t(74702);function nq(e,n){return e+JSON.stringify(n)}class nz{responseHeaders={};constructor(e,n,t){let{communityApiUrl:r}=(0,ne.J)(t);this.communityId=t,this.hydration={responses:[]},this.environment=nR(function(e){let{hydrationData:n,persisted:t,communityApiUrl:r,userAgent:i,bypassCache:o,fastlyDebugHeader:a,options:s={}}=e,{WP_GRAPHQL_URL:l}=nK.env;if(!l)throw Error("WP_GRAPHQL_URL is not defined");let c=function(e){let{hydrationData:n,persisted:t,userAgent:r,bypassCache:i,fastlyDebugHeader:o}=e,{APP_NAME:a,VERSION:s}=nU.env;return[...null!==n?[nj(n)]:[],e=>async n=>{let t=Date.now(),r=await e(n);return nb.info({duration:Date.now()-t,url:n.url,id:n.request.id,operation:{operationName:n.operation.operationName,variables:n.operation.variables,extensions:n.operation.extensions},cache:n.cache},"GraphQL response"),r},nk,e=>n=>{let t=nD.env.WP_PLATFORM_API_TOKEN;if(!t)throw Error("WP_PLATFORM_API_TOKEN environment variable is required for basic auth middleware.");return n.fetchOpts.headers.Authorization=`Basic ${nF.from(`duet:${t}`).toString("base64")}`,e(n)},nf({name:a,commit:s}),nN({userAgent:r}),nA({bypassCache:i}),nB({active:o}),nM(t)]}({hydrationData:n,persisted:t,userAgent:i,bypassCache:o,fastlyDebugHeader:a});return nc.Network.create(nm({url:r||l,middleware:c,options:s}))}({hydrationData:this.hydration,persisted:e,communityApiUrl:r,userAgent:n.headers["user-agent"],bypassCache:(0,nS.K$)(n),options:{onHeaders:(e,n)=>{let t=nq(n.operationName,n.variables);this.responseHeaders[t]={},e.forEach((e,n)=>this.responseHeaders[t][n]=e)}}}))}async fetchQuery(e){let{query:n,variables:t,durationHeaderKey:r}=e,i=(0,eR._E)(),o=await (0,nc.fetchQuery)(this.environment,n,t,{fetchPolicy:"network-only"}).toPromise(),a=(0,eR.Z9)(i),s=function(e){let n=e;if("default"in n&&(n=n.default),"function"==typeof n&&(n=n()),!("operation"in n))throw Error("Not a ConcreteRequest");return n}(n).operation.name,l=nq(s,t),c=l in this.responseHeaders?{...this.responseHeaders[l],"vm-duration-gql-query":a}:{},u=(0,nS.zE)(c);return{response:o,headers:c,surrogateKeys:u,durationHeaderKey:r||(0,nP.Tn)(s),duration:a,discardHydration:()=>{let e=this.hydration.responses.findIndex(e=>!!(e.operationName===s&&nC(e.variables,t)));-1!==e&&this.hydration.responses.splice(e,1)}}}}try{i=t(10586)}catch(e){throw(0,ek.Tb)(e,{extra:{message:"could not load persisted queries"}}),e}var nH=i,nV=t(70341),n$=e=>{let{routeInfo:n,children:t}=e;return(0,p.jsx)(nV.Z.Provider,{value:{routeInfo:n},children:t})},nG=t(83419),nW=t(18881),nZ=e=>{let{seoSchemaConfigPathMap:n={}}=e,{base:t}=(0,nG.Z)(),r=n[t];return r?(0,p.jsx)(nW.Z,{schema:r}):null},nQ=t(88321),nY=({analyticsClient:e,volume:n,children:t})=>(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(nQ.ZP.Provider,{value:{client:e,volume:n},children:t})}),nJ=t(70810),nX=({children:e,campaign:n})=>(0,p.jsx)(nJ.Z.Provider,{value:{campaign:n},children:e}),n0=t(45293),n1=({children:e,adConfig:n,appConfig:t,membershipConfig:r,networkConfig:i,communityConfig:o,crossPostConfig:a,coralConfig:s,newslettersConfig:l,customArticleFooter:c,subscriptionProviderConfig:u,seoConfig:d,parselyConfig:h,featureConfig:m})=>{let{siteSettings:{siteDomain:f}}=(0,no.Q)(),g=`https://${f}`;return(0,p.jsx)(n0.Z.Provider,{value:{adConfig:n,appConfig:t,communityConfig:Object.assign(Object.assign({},o),{siteOrigin:g}),coralConfig:s,crossPostConfig:a,customArticleFooter:c,featureConfig:m,membershipConfig:r,networkConfig:i,newslettersConfig:l,seoConfig:d,parselyConfig:h,subscriptionProviderConfig:u},children:e})},n2=t(42061),n3=e=>{let[n,t]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1),[o,a]=(0,g.useState)(!1),s=(0,g.useCallback)((e={})=>{i(!!e.disableTransition),t(!0)},[]),l=(0,g.useCallback)((e={})=>{i(!!e.disableTransition),t(!1),a(!1)},[]),c=(0,g.useCallback)(()=>{a(!0)},[]),u=(0,g.useMemo)(()=>({drawerId:"coral-drawer",isDrawerOpen:n,isDrawerPrerendered:o,isDrawerTransitionDisabled:r,openDrawer:s,closeDrawer:l,prerenderDrawer:c}),[l,n,o,r,s,c]);return(0,p.jsx)(n2.Z.Provider,{value:u,children:e.children})},n5=t(94523),n4=({className:e})=>(0,p.jsx)("svg",{className:e,width:"6",height:"10",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M1.1342 0.801025L5.33325 5.00008L1.1342 9.19914L0.333252 8.3982L3.73137 5.00008L0.333252 1.60197L1.1342 0.801025Z"})}),n6=t(60355),n8=t(98343),n7=t(85056),n9=t(418),te=t(92015);t(33661);var tn=()=>{let{breakingNewsBanner:e}=(0,no.Q)(),{campaign:n}=(0,nJ.G)(),t=(0,nQ.z$)(),r=(0,g.createRef)(),[i,o]=(0,g.useState)(!1);if((0,I.Z)(r,{event:"breaking_news_banner",breaking_news_banner:{name:e?.heading,action:"view",position:"breaking_news_banner"}}),n||!e)return null;let{content:a,buttonText:s,buttonUrl:l,heading:c}=e,u=s.toLowerCase().replace(/\s/g,"_");return(0,p.jsx)("div",{ref:r,className:(0,eP.Z)(n7.I.BreakingNewsBanner,"_2hw9j60",i?"_2hw9j67":""),children:(0,p.jsxs)("div",{className:(0,eP.Z)(n9.F.layout.mainColumn,"_2hw9j61"),children:[(0,p.jsx)("div",{className:"_2hw9j62",children:(0,p.jsxs)(n8.Z,{href:l,onClick:()=>t?.emit({event:"breaking_news_banner",breaking_news_banner:{name:c,action:`click_${u}`,position:"breaking_news_banner"}}),children:[a.map((e,n)=>(0,p.jsx)(n5.Z,{html:e.html,component:"span",className:"_2hw9j63"},n)),(0,p.jsx)("span",{className:"_2hw9j64",children:s}),(0,p.jsx)(n4,{className:"_2hw9j65"})]})}),(0,p.jsxs)("button",{onClick:()=>{o(!i)},children:[(0,p.jsx)("span",{className:te.srOnly,children:"Close Banner"}),(0,p.jsx)(n6.Z,{className:"_2hw9j66"})]})]})})},tt=t(31994);t(24764);var tr=({anchorId:e,text:n="Skip to main content",className:t})=>(0,p.jsx)(tt.Z,{className:(0,eP.Z)(n7.I.SkipToContent,"_19riaqz0",t&&t),displayType:"secondary",href:`#${e}`,text:n}),ti=t(43158),to=t(82830),ta=t(46688),ts=({className:e,fill:n="currentColor",width:t=23,height:r=17})=>(0,p.jsxs)("svg",{width:t,height:r,className:e,viewBox:"0 0 23 17",xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("line",{x1:"0.867188",y1:"1.53857",x2:"22.8672",y2:"1.53857",stroke:n,strokeWidth:"2"}),(0,p.jsx)("line",{x1:"0.867188",y1:"8.53857",x2:"22.8672",y2:"8.53857",stroke:n,strokeWidth:"2"}),(0,p.jsx)("line",{x1:"0.867188",y1:"15.5386",x2:"22.8672",y2:"15.5386",stroke:n,strokeWidth:"2"})]}),tl=t(46660);t(16454);var tc={normal:"_1ythw5z1 _1ythw5z0",branded:"_1ythw5z2 _1ythw5z0"},tu={normal:"_1ythw5z7 _1ythw5z6",branded:"_1ythw5z8 _1ythw5z6"},td={normal:"_1ythw5zb _1ythw5za",branded:"_1ythw5zc _1ythw5za"},tp=(0,eV.n)(({Logo:e,headline:n,isBranded:t=!1})=>{let{openDrawer:r,drawerId:i}=(0,to.Q)(),o=(0,nQ.z$)(),a=t?"branded":"normal";return(0,p.jsx)("nav",{"aria-label":"Navigation Bar",className:(0,eP.Z)(tl.Z.MinimalNav,tc[a]),children:(0,p.jsxs)("div",{className:"_1ythw5z3",children:[(0,p.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1ythw5z5",children:(0,p.jsx)(e,{className:(0,eP.Z)(tu[a])})}),n&&(0,p.jsx)("div",{className:"_1ythw5z4",children:n}),(0,p.jsx)("div",{className:"_1ythw5z9",children:(0,p.jsx)("button",{onClick:()=>{r(),o?.emit({event:"navigation_click",navigation_click:{name:"minimal nav more button"}})},"aria-controls":i,"aria-label":"Open Drawer",children:(0,p.jsx)(ts,{className:(0,eP.Z)(td[a])})})})]})})},{context:"MinimalNavErrorBoundary"}),th=t(8900),tm=t(7189),tf=t(84561);t(77687);var tg="g74ln82",ty="g74ln80",t_="g74ln81",tv="g74ln83",tb=()=>{let e=(0,ex.RI)(),n=(0,nQ.z$)(),[t,r]=(0,g.useState)(encodeURIComponent("/"));if((0,g.useEffect)(()=>{r(encodeURIComponent(window.location.pathname))},[]),e)return(0,p.jsx)("ul",{className:ty,children:(0,p.jsxs)("li",{className:t_,children:[(0,p.jsx)("a",{className:tg,href:`/users/${encodeURIComponent(e.username)}/edit_profile`,children:e.username}),(0,p.jsx)("div",{className:tv,children:" / "}),(0,p.jsx)("a",{className:tg,href:"/api/auth/logout",onClick:()=>{n?.emit({event:"authentication",authentication:{method:"logout"}})},children:"Log Out"})]})});let i=`/api/auth/login?redirectTo=${t}`;return(0,p.jsx)("ul",{className:ty,children:(0,p.jsxs)("li",{className:t_,children:[(0,p.jsx)("a",{className:tg,href:i,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"log in"}})},children:"Login"}),(0,p.jsx)("div",{className:tv,children:" / "}),(0,p.jsx)("a",{className:tg,href:i,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"sign up"}})},children:"Sign Up"})]})})};t(49573);var tk="_1by3cg32",tC="_1by3cg30",tx="_1by3cg31",tT="_1by3cg33",tw=()=>{let{user:e,setUser:n}=(0,ex.aC)(),t=(0,nQ.z$)(),[r,i]=(0,g.useState)(encodeURIComponent("/"));(0,g.useEffect)(()=>{i(encodeURIComponent(window.location.pathname))},[]);let o=async()=>{t?.emit({event:"authentication",authentication:{method:"logout"}}),await fetch("/api/auth/firebase-logout"),n(null)};if(e)return(0,p.jsx)("ul",{className:tC,children:(0,p.jsxs)("li",{className:tx,children:[(0,p.jsx)("a",{className:tk,href:"/account/profile",children:"Your Account"}),(0,p.jsx)("div",{className:tT,children:" / "}),(0,p.jsx)("button",{className:tk,onClick:()=>void o(),children:"Log Out"})]})});let a=`/auth/login?redirectTo=${r}`;return(0,p.jsx)("ul",{className:tC,children:(0,p.jsxs)("li",{className:tx,children:[(0,p.jsx)("a",{className:tk,href:a,onClick:()=>{t?.emit({event:"authentication",authentication:{method:"log in"}})},children:"Login"}),(0,p.jsx)("div",{className:tT,children:" / "}),(0,p.jsx)("a",{className:tk,href:a,onClick:()=>{t?.emit({event:"authentication",authentication:{method:"sign up"}})},children:"Sign Up"})]})})},tI=()=>{let{authMethod:e}=(0,ex.aC)();return"chorus"===e?(0,p.jsx)(tb,{}):"identity"===e?(0,p.jsx)(tw,{}):null},tR=t(27666),tE=t(74241),tS=t(7654),tP=t(33782),tA=t(96267);let tB=null!=(u=g.useId)?u:function(){let e=(0,tA.H)(),[n,t]=g.useState(e?()=>tS.O.nextId():null);return(0,tP.e)(()=>{null===n&&t(tS.O.nextId())},[n]),null!=n?""+n:void 0};function tN(e){var n;if(e.type)return e.type;let t=null!=(n=e.as)?n:"button";if("string"==typeof t&&"button"===t.toLowerCase())return"button"}var tL=t(93618),tO=t(59790),tM=t(99146),tD=t(59582);let tF=null!=(d=g.startTransition)?d:function(e){e()};var tj=((o=tj||{}).Space=" ",o.Enter="Enter",o.Escape="Escape",o.Backspace="Backspace",o.Delete="Delete",o.ArrowLeft="ArrowLeft",o.ArrowUp="ArrowUp",o.ArrowRight="ArrowRight",o.ArrowDown="ArrowDown",o.Home="Home",o.End="End",o.PageUp="PageUp",o.PageDown="PageDown",o.Tab="Tab",o),tU=((a=tU||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),tK=((s=tK||{})[s.ToggleDisclosure=0]="ToggleDisclosure",s[s.CloseDisclosure=1]="CloseDisclosure",s[s.SetButtonId=2]="SetButtonId",s[s.SetPanelId=3]="SetPanelId",s[s.LinkPanel=4]="LinkPanel",s[s.UnlinkPanel=5]="UnlinkPanel",s);let tq={0:e=>({...e,disclosureState:(0,tM.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,n)=>e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId},3:(e,n)=>e.panelId===n.panelId?e:{...e,panelId:n.panelId}},tz=(0,g.createContext)(null);function tH(e){let n=(0,g.useContext)(tz);if(null===n){let n=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,tH),n}return n}tz.displayName="DisclosureContext";let tV=(0,g.createContext)(null);tV.displayName="DisclosureAPIContext";let t$=(0,g.createContext)(null);function tG(e,n){return(0,tM.E)(n.type,tq,e,n)}t$.displayName="DisclosurePanelContext";let tW=g.Fragment,tZ=tD.AN.RenderStrategy|tD.AN.Static,tQ=Object.assign((0,tD.yV)(function(e,n){let{defaultOpen:t=!1,...r}=e,i=(0,g.useRef)(null),o=(0,tL.T)(n,(0,tL.h)(e=>{i.current=e},void 0===e.as||e.as===g.Fragment)),a=(0,g.useRef)(null),s=(0,g.useRef)(null),l=(0,g.useReducer)(tG,{disclosureState:t?0:1,linkedPanel:!1,buttonRef:s,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:u},d]=l,p=(0,tE.z)(e=>{d({type:1});let n=tS.O.isServer?null:i instanceof Node?i.ownerDocument:null!=i&&i.hasOwnProperty("current")&&i.current instanceof Node?i.current.ownerDocument:document;if(!n||!u)return;let t=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:n.getElementById(u):n.getElementById(u);null==t||t.focus()}),h=(0,g.useMemo)(()=>({close:p}),[p]),m=(0,g.useMemo)(()=>({open:0===c,close:p}),[c,p]);return g.createElement(tz.Provider,{value:l},g.createElement(tV.Provider,{value:h},g.createElement(tO.up,{value:(0,tM.E)(c,{0:tO.ZM.Open,1:tO.ZM.Closed})},(0,tD.sY)({ourProps:{ref:o},theirProps:r,slot:m,defaultTag:tW,name:"Disclosure"}))))}),{Button:(0,tD.yV)(function(e,n){let t=tB(),{id:r=`headlessui-disclosure-button-${t}`,...i}=e,[o,a]=tH("Disclosure.Button"),s=(0,g.useContext)(t$),l=null!==s&&s===o.panelId,c=(0,g.useRef)(null),u=(0,tL.T)(c,n,l?null:o.buttonRef),d=(0,tD.Y2)();(0,g.useEffect)(()=>{if(!l)return a({type:2,buttonId:r}),()=>{a({type:2,buttonId:null})}},[r,a,l]);let p=(0,tE.z)(e=>{var n;if(l){if(1===o.disclosureState)return;switch(e.key){case tj.Space:case tj.Enter:e.preventDefault(),e.stopPropagation(),a({type:0}),null==(n=o.buttonRef.current)||n.focus()}}else switch(e.key){case tj.Space:case tj.Enter:e.preventDefault(),e.stopPropagation(),a({type:0})}}),h=(0,tE.z)(e=>{e.key===tj.Space&&e.preventDefault()}),m=(0,tE.z)(n=>{var t;(function(e){let n=e.parentElement,t=null;for(;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(t=n),n=n.parentElement;let r=(null==n?void 0:n.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let n=e.previousElementSibling;for(;null!==n;){if(n instanceof HTMLLegendElement)return!1;n=n.previousElementSibling}return!0}(t))&&r})(n.currentTarget)||e.disabled||(l?(a({type:0}),null==(t=o.buttonRef.current)||t.focus()):a({type:0}))}),f=(0,g.useMemo)(()=>({open:0===o.disclosureState}),[o]),y=function(e,n){let[t,r]=(0,g.useState)(()=>tN(e));return(0,tP.e)(()=>{r(tN(e))},[e.type,e.as]),(0,tP.e)(()=>{t||n.current&&n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&r("button")},[t,n]),t}(e,c),_=l?{ref:u,type:y,onKeyDown:p,onClick:m}:{ref:u,id:r,type:y,"aria-expanded":0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:p,onKeyUp:h,onClick:m};return(0,tD.sY)({mergeRefs:d,ourProps:_,theirProps:i,slot:f,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,tD.yV)(function(e,n){let t=tB(),{id:r=`headlessui-disclosure-panel-${t}`,...i}=e,[o,a]=tH("Disclosure.Panel"),{close:s}=function e(n){let t=(0,g.useContext)(tV);if(null===t){let t=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}("Disclosure.Panel"),l=(0,tD.Y2)(),c=(0,tL.T)(n,o.panelRef,e=>{tF(()=>a({type:e?4:5}))});(0,g.useEffect)(()=>(a({type:3,panelId:r}),()=>{a({type:3,panelId:null})}),[r,a]);let u=(0,tO.oJ)(),d=null!==u?(u&tO.ZM.Open)===tO.ZM.Open:0===o.disclosureState,p=(0,g.useMemo)(()=>({open:0===o.disclosureState,close:s}),[o,s]);return g.createElement(t$.Provider,{value:o.panelId},(0,tD.sY)({mergeRefs:l,ourProps:{ref:c,id:r},theirProps:i,slot:p,defaultTag:"div",features:tZ,visible:d,name:"Disclosure.Panel"}))})});var tY=t(75817),tJ=t(74795);t(56329),t(3931),t(85146);let tX=({children:e})=>(0,p.jsx)("ul",{children:e});tX.Item=({className:e,special:n,...t})=>(0,p.jsx)("li",{className:(0,eP.Z)(e,"fl1qjc0"),children:(0,p.jsx)("a",{...t,className:(0,eP.Z)("fl1qjc1",n&&"fl1qjc2"),children:t.children})}),tX.Group=e=>(0,p.jsx)("li",{className:(0,eP.Z)(e.className,"_1i6dio50"),children:(0,p.jsx)(tQ,{defaultOpen:e.defaultOpen,children:({open:n})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(tQ.Button,{className:(0,eP.Z)("_1i6dio51",n&&"_1i6dio53",e.special&&"_1i6dio52"),"aria-label":`${n?"Expand":"Collapse"} '${e.title}' Section`,children:[e.title,n?(0,p.jsx)(tY.Z,{className:"_1i6dio54"}):(0,p.jsx)(tJ.Z,{className:"_1i6dio54"})]}),(0,p.jsx)(tQ.Panel,{static:!0,children:(0,p.jsx)("ul",{className:(0,eP.Z)(!n&&n9.F.layout.hide,"_1i6dio56"),children:e.children})})]})})}),tX.GroupItem=({className:e,...n})=>(0,p.jsx)("li",{className:e,children:(0,p.jsx)("a",{...n,className:"llv8jq0",children:n.children})}),t(89669);var t0=({className:e,...n})=>(0,p.jsxs)("button",{className:(0,eP.Z)("al1lul0",e),...n,"aria-label":"Close Drawer",children:[(0,p.jsx)("span",{children:"close"}),(0,p.jsx)(n6.Z,{className:"al1lul1"})]});t(16672);var t1={standard:"_1yqd7kl7",auth:"_1yqd7kl8"},t2="_1yqd7kla",t3=({items:e,onClose:n,open:t,shortcutBar:r,endSection:i,showAuth:o,initialSearchFocus:a,storybookStatic:s,randomizeSearchPlaceholder:l=[]})=>{let{drawerId:c}=(0,to.Q)(),u=(0,nQ.z$)(),d=(0,g.useRef)(null),[h,m]=(0,g.useState)("Search"),{isDrawerOpen:f,closeDrawer:y}=(0,e8.D)();return(0,g.useEffect)(()=>{t&&f&&y()},[y,t,f]),(0,g.useEffect)(()=>{if(t&&l.length){let e=Math.floor(Math.random()*l.length);m(l[e])}},[t,l]),(0,p.jsx)(tf.Z,{drawerClassName:"_1yqd7kl0",drawerId:c,onClose:n,open:t,storybookStatic:s,initialFocusElement:a&&d.current,"aria-label":"Navigation Drawer",children:(0,p.jsxs)("div",{className:"_1yqd7kl5",children:[(0,p.jsxs)("div",{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"_1yqd7kl1",children:(0,p.jsx)(t0,{onClick:n,"aria-controls":c})}),(0,p.jsx)("div",{children:(0,p.jsx)("form",{onSubmit:e=>{e.preventDefault();let n=d.current?.value||null;n?window.location.href=`/search?q=${n}`:window.location.href="/search"},"aria-label":"Search Form",children:(0,p.jsx)(th.Z,{inputClassName:"_1yqd7kl2",iconClassName:"_1yqd7kl3",ref:d,placeholder:h})})}),r,(0,p.jsx)("nav",{className:"_1yqd7kl4","aria-label":"Drawer Navigation",children:(0,p.jsx)(tX,{children:e.map((e,n)=>0===e.subItems.length?(0,p.jsxs)(tX.Item,{href:e.allLink?.url||e.url,target:e.allLink?.target||e.target,rel:"noreferrer",special:e.special,onClick:()=>(e.allLink?.url||e.url)&&u?.emit({event:"navigation_click",navigation_click:{name:e.allLink?.url||e.url}}),children:[e.title,("_blank"===e.target||e.allLink?.target==="_blank")&&(0,p.jsx)(tm.Z,{className:"_1yqd7kl9"})]},n):(0,p.jsxs)(tX.Group,{title:e.title,special:e.special,defaultOpen:e.defaultOpen,children:[e.allLink&&(0,p.jsxs)(tX.GroupItem,{href:e.allLink.url,target:e.allLink.target,onClick:()=>e.allLink?.title&&u?.emit({event:"navigation_click",navigation_click:{name:e.allLink.title}}),children:[e.allLink.title,"_blank"===e.allLink.target&&(0,p.jsx)(tm.Z,{className:t2})]}),e.subItems.map((e,n)=>(0,p.jsxs)(tX.GroupItem,{href:e.url,target:e.target,onClick:()=>u?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:[e.title,"_blank"===e.target&&(0,p.jsx)(tm.Z,{className:t2})]},n))]},n))})})]}),(0,p.jsx)("div",{children:i})]}),(0,p.jsx)("div",{className:"_1yqd7kl6"}),(0,p.jsxs)("div",{className:t1[o?"auth":"standard"],children:[o&&(0,p.jsx)(tI,{}),(0,p.jsx)(tR.Z,{})]})]})})},t5=t(77563);t(21957);var t4="_1bn7g9f8",t6="_1bn7g9f9",t8=t(44463),t7=t.n(t8),t9=t(95066),re=t(69135),rn=t(84563);t(67813);var rt="_7dgjqdp",rr="_7dgjqdm",ri="_7dgjqds",ro="_7dgjqdf",ra="_7dgjqdi",rs="_7dgjqdr",rl=({open:e,onClick:n,title:t,subTitle:r,transitionStatus:i,drawerId:o})=>(0,p.jsxs)("button",{className:"_7dgjqd6",onClick:n,"aria-expanded":e?"true":"false","aria-controls":o,"aria-label":`${e?"Expand":"Collapse"} Special Navigation`,title:`${t}${r?": "+r:""}`,children:[(0,p.jsxs)("span",{className:"_7dgjqd7",children:[(0,p.jsxs)("span",{className:(0,eP.Z)("_7dgjqd8",rs,(e||!r)&&"_7dgjqdt"),children:[t,r&&(0,p.jsx)("span",{className:"_7dgjqdb",children:": "})]}),r&&(0,p.jsx)(re.Z,{component:"span",className:(0,eP.Z)("_7dgjqd9","_7dgjqdu",e&&"_7dgjqdv"),html:r})]}),(0,p.jsx)(rn.Z,{className:(0,eP.Z)("_7dgjqda",rs,"entering"===i&&ri,"entered"===i&&ri)})]}),rc=t(73127),ru=t.n(rc),rd=t(67878),rp=t(90030),rh=({open:e=!1,permalink:n,text:t,onClick:r,sectionId:i,loopNavTitle:o})=>{let a=(0,nQ.z$)();return n?(0,p.jsx)("a",{className:ro,href:n,onClick:()=>{a?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:o,url:n,variant:"hyperlink"}}),r()},children:t}):(0,p.jsxs)("button",{className:(0,eP.Z)(ro,e&&"_7dgjqdg"),onClick:r,"aria-expanded":e?"true":"false","aria-controls":i,"aria-label":`${e?"Expand":"Collapse"} '${t}' Section`,children:[(0,p.jsx)(re.Z,{component:"span",className:"_7dgjqdh",html:t}),e?(0,p.jsx)(tY.Z,{className:ra}):(0,p.jsx)(tJ.Z,{className:ra})]})},rm=(0,g.forwardRef)(({text:e,items:n,onClick:t,open:r=!1,permalink:i,loopNavTitle:o},a)=>{let s=(0,g.useId)(),l=(0,nQ.z$)();return(0,p.jsxs)("li",{className:r&&n?"_7dgjqde":"_7dgjqdd",children:[(0,p.jsx)(rh,{open:r,...0===(n?.length||0)?{permalink:i}:{},onClick:t,text:e,sectionId:s,loopNavTitle:o}),n&&(0,p.jsx)("ol",{className:(0,eP.Z)(!r&&n9.F.layout.hide,"_7dgjqdk"),id:s,children:n.map(({text:e,permalink:n,current:t})=>(0,p.jsx)("li",{...t?{ref:a}:{},className:(0,eP.Z)("_7dgjqdl",t&&"_7dgjqdn"),children:n?(0,p.jsx)("a",{onClick:()=>{l?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:o,url:n,variant:"dropdown"}})},className:rr,href:n,children:(0,p.jsx)(re.Z,{component:"span",html:e})}):(0,p.jsx)(re.Z,{className:rr,component:"span",html:e})},e))}),(0,p.jsx)("hr",{className:"_7dgjqdj"})]})}),rf=({transitionStatus:e,sections:n,initialOpenSectionTitle:t,loopNavTitle:r})=>{let[i,o]=(0,g.useState)(t),[a,s]=(0,g.useState)(!1),l=(0,g.useRef)(null),c=(0,g.useRef)(null),u=(0,g.useRef)(null),d=ru()(()=>{l.current&&s(l.current.offsetHeight-Array.from(l.current.querySelectorAll(`.${ro}`)).reduce((e,n)=>e+n.offsetHeight,0)>250)},300),h=()=>{if(!c.current)return;let e=(0,rp.wh)();c.current.scrollIntoView({behavior:"instant",block:e?"start":"center"})};return(0,g.useEffect)(()=>{l.current&&(d(),h(),new ResizeObserver(()=>{d()}).observe(l.current))},[e,d]),(0,g.useEffect)(()=>{u.current&&new MutationObserver(e=>{for(let n of e)"class"===n.attributeName&&(0,rd.setTimeout)(h,150)}).observe(u.current,{attributes:!0})},[]),(0,p.jsxs)("nav",{className:(0,eP.Z)("_7dgjqd5",a&&"_7dgjqd0"),"aria-label":"Drawer Navigation",ref:u,children:[(0,p.jsx)("div",{className:n9.F.accessibility.srOnly,children:(0,p.jsx)("div",{id:"loopnav-title",children:"Drawer"})}),(0,p.jsx)("ol",{className:"_7dgjqdc",ref:l,children:n.map(({text:e,items:n,permalink:t})=>{let a=i===e;return(0,p.jsx)(rm,{text:e,loopNavTitle:r,items:n,onClick:()=>{o(a?void 0:e)},open:a,permalink:t,ref:c},e)})})]})},rg=(0,eV.n)(({forceOpenLoopNav:e})=>{let{drawerId:n,isDrawerOpen:t,closeDrawer:r,openDrawer:i,loopNavData:o}=(0,e8.D)(),[a,s]=(0,g.useState)(!1),l=(0,g.useRef)(null),c=(0,nQ.z$)();if(!o)return null;let{sections:u,title:d}=o,h=u.find(e=>e.current)||null,m=h?.text,f=()=>{t?r():(c?.emit({event:"loopnav",loopnav:{action:"click_dropdown",loopnav_name:d}}),i())};return(0,p.jsx)("div",{className:(0,eP.Z)(n7.I.LoopNav,"_7dgjqd1"),children:(0,p.jsx)(t9.ZP,{in:e||t,timeout:150,nodeRef:l,onEntered:()=>s(!0),onExited:()=>s(!1),children:i=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(rl,{open:e||t,drawerId:n,onClick:f,title:d,subTitle:m,transitionStatus:i}),(0,p.jsx)("div",{id:"animate-under-me",className:"_7dgjqdo"}),(0,p.jsx)("div",{id:n,ref:l,className:(0,eP.Z)("_7dgjqd2","exited"===i&&n9.F.layout.hide),onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":"loopnav-title",children:(0,p.jsx)("section",{className:(0,eP.Z)("_7dgjqd3",rs,"_7dgjqdw","entering"===i&&rt,"entered"===i&&"_7dgjqdq","exiting"===i&&rt),children:(0,p.jsx)(t7(),{active:a,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,p.jsx)("div",{className:"_7dgjqd4",children:(0,p.jsx)(rf,{transitionStatus:i,sections:u,initialOpenSectionTitle:m,loopNavTitle:d})})})})})]})})})},{context:"LoopNavErrorBoundary"}),ry=t(22178),r_=({Logo:e,MinimalLogo:n,hamburgerButton:t,forceOpenLoopNav:r,commentCount:i})=>(0,p.jsxs)("div",{className:(0,eP.Z)("_1bn7g9f4"),children:[(0,p.jsxs)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1bn7g9f3",children:[(0,p.jsx)(e,{className:(0,eP.Z)(t4,n&&ry.hide&&ry.showTabletPlus)}),n&&(0,p.jsx)(n,{className:(0,eP.Z)(ry.hideTabletPlus)})]}),(0,p.jsx)(rg,{forceOpenLoopNav:r}),(0,p.jsxs)("div",{className:(0,eP.Z)(t6,"_1bn7g9fa"),children:[i,t]})]}),rv=t(36381),rb=({Logo:e,headline:n,isBranded:t=!1,hamburgerButton:r,campaign:i,commentCount:o})=>(0,p.jsxs)("div",{className:(0,eP.Z)("_1bn7g9f5 _1bn7g9f4"),children:[(0,p.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1bn7g9f2",children:(0,p.jsx)(e,{className:(0,eP.Z)(t4)})}),n&&(0,p.jsx)("div",{className:"_1bn7g9f7",children:n}),(0,p.jsxs)("div",{className:t6,children:[i&&(0,p.jsx)(rv.Z,{campaign:i,imageClassName:(0,eP.Z)(t?"_1bn7g9fd":"_1bn7g9fc"),textClassName:(0,eP.Z)("_1bn7g9fe",t&&"_1bn7g9ff")}),o,r]})]}),rk=(0,eV.n)(({Logo:e,MinimalLogo:n,headline:t,isBranded:r=!1,forceSticky:i,forceOpenLoopNav:o,commentCountProps:a})=>{let[s,l]=(0,g.useState)(!1),{openDrawer:c,drawerId:u,addArticleRefSubscriber:d,stickyNavTriggerClassName:h}=(0,to.Q)(),{campaign:m}=(0,nJ.G)(),{loopNavData:f}=(0,e8.D)(),y=(0,nQ.z$)(),_=f&&!r&&!m;(0,g.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{if(e){let n=e.boundingClientRect.bottom<0;l(n),_&&n&&y?.emit({event:"loopnav",loopnav:{action:"view",loopnav_name:f.title}})}}),n=new IntersectionObserver(([e])=>{e&&l(e.boundingClientRect.top<0&&e.intersectionRect.top>0)},{rootMargin:"-100% 0px 0px 0px"}),t=d(t=>{if(!t||"undefined"==typeof IntersectionObserver)return;let r=t.querySelector(`.${h}`);t.getBoundingClientRect().bottom-r.getBoundingClientRect().bottom{t(),e.disconnect(),n.disconnect()}},[d,h,y,f?.title,_]);let v=a?.id,b=(0,p.jsxs)(p.Fragment,{children:[(_||v)&&(0,p.jsx)("span",{className:(0,eP.Z)("_1bn7g9fj",_&&!v&&n9.F.layout.hideTabletPlus)}),(0,p.jsx)("button",{onClick:()=>{c(),y?.emit({event:"navigation_click",navigation_click:{name:"sticky more button"}})},"aria-controls":u,"aria-label":"Open Drawer",className:(0,eP.Z)("_1bn7g9fg",r&&"_1bn7g9fh"),children:(0,p.jsx)(ts,{className:"_1bn7g9fb"})})]}),k=v?(0,p.jsx)(t5.Z,{className:(0,eP.Z)("_1bn7g9fi",_&&n9.F.layout.showTabletPlus),noText:!0,variant:"stickyNav",...a}):null;return(0,g.useEffect)(()=>{if(s)return document.body.classList.add(tl.Z.BodyStickyNav),()=>{document.body.classList.remove(tl.Z.BodyStickyNav)}},[s]),(0,p.jsx)("nav",{"aria-label":"Sticky Nav",className:(0,eP.Z)(tl.Z.StickyNav,"_1bn7g9f0",(i||s)&&"_1bn7g9f1"),children:_?(0,p.jsx)(r_,{Logo:e,MinimalLogo:n,hamburgerButton:b,forceOpenLoopNav:o,commentCount:k}):(0,p.jsx)(rb,{Logo:e,MinimalLogo:n,headline:t,isBranded:r,campaign:m,hamburgerButton:(!m||r)&&b,commentCount:k})})},{context:"StickyNavErrorBoundary"}),rC=e=>{let n=(0,ti.dj)("navigation"),{Logo:t,PrimaryLogo:r,drawerItems:i,pinnedItems:o,MinimalLogo:a,cta:s,stickyNavHeadline:l,drawer:c,variant:u,showAuth:d,linkMenu:h,rightMenuButtons:m,showStickyNavCommentCount:f,primaryNavigationComponent:y}=(0,ta.Z)(e,n),{loopNavData:_}=(0,e8.D)(),{setOpenDrawerFn:v,setCloseDrawerFn:b}=(0,to.Q)(),[k,C]=(0,g.useState)(!1),[x,T]=(0,g.useState)(!1),w=(0,g.useCallback)((e={})=>{T(!!e.initialSearchFocus),C(!0)},[]),I=()=>C(!1);return(0,g.useEffect)(()=>{v(w),b(I)},[]),(0,p.jsxs)(p.Fragment,{children:["minimal"===u||"branded"===u?(0,p.jsx)(tp,{Logo:t,isBranded:"branded"===u}):(0,p.jsx)(y,{PrimaryLogo:r,Logo:t,items:o,cta:s,variant:u,showLinkLines:h.showLinkLines,linkClassName:h.linkClassName,rightMenuButtons:m}),(0,p.jsx)(t3,{items:i,open:k,onClose:I,shortcutBar:c.shortcutBar,endSection:c.endSection,randomizeSearchPlaceholder:c.randomizeSearchPlaceholder,showAuth:d,initialSearchFocus:x}),(e.stickyNav||_)&&(0,p.jsx)(rk,{Logo:t,MinimalLogo:a,headline:l,isBranded:"branded"===u,...f&&{commentCountProps:e.commentCountProps}})]})},rx=({children:e,componentConfig:n})=>(0,p.jsx)(ti.ZP.Provider,{value:n,children:e}),rT=({children:e})=>{let n=(0,g.useRef)([]),t=(0,g.useRef)(null),r=(0,g.useCallback)(e=>(e(t.current),n.current.push(e),()=>{let t=n.current.indexOf(e);t>=0&&n.current.splice(t,1)}),[n]),i=()=>{},o=()=>{},a=`drawer_${(0,g.useId)()}`;return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(to.Z.Provider,{value:{stickyNavTriggerClassName:"sticky-nav-trigger",articleRef:e=>{t.current=e,n.current.forEach(n=>n(e))},addArticleRefSubscriber:r,openDrawer:(...e)=>i(...e),setOpenDrawerFn:e=>{i=e},closeDrawer:(...e)=>o(...e),setCloseDrawerFn:e=>{o=e},drawerId:a},children:e})})},rw=t(26996),rI=t(74702);let rR="GTM-WQ5FM5W",rE=rR&&new eW,rS={pagesCanonicalMap:{},defaultOgImage:""},rP={tagsToInverse:[],enableTraining:!1,enableArticleRecirc:!1},rA={useLiveStreamUpdates:!1,useQuickPosts:!1},rB={productName:"Membership",ctaLabel:"Become a Member",ctaUrl:"/support-now?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",navNewsletters:"My Newsletters",newslettersEmbedUrl:"https://link.vox.com/manage/6x9/member-preferences",navProductName:"Membership",sentenceProduct:"Vox Membership",contactEmail:"contribute@vox.com",entitlementName:"vox_memberships"};function rN(e){let{adConfig:n,AuthProvider:t,communityId:r,Component:i,componentConfig:o,customArticleFooter:a,defaultSEO:s,featureConfig:l=rA,membershipConfig:c=rB,fonts:u,Footer:d,hydration:h,Navigation:m,newslettersConfig:f,pageProps:y,parselyConfig:_=rP,preview:v,routeInfo:b,seoConfig:k=rS,seoSchemaConfigPathMap:C,token:x,serverAuthState:T}=(0,g.useMemo)(()=>e,[]);(0,g.useEffect)(()=>{window.history.replaceState(null,"",window.location.toString())},[]);let w=(0,g.useMemo)(()=>new ez,[]),{nodeId:I,appContainerClassName:R="",navProps:E={},hideNav:S,hideFooter:P,campaign:A=null,showBreakingNewsBanner:B,showWikiBanner:N,showLeaderboardTopAd:L}=y,O=(0,g.useMemo)(()=>(0,ne.J)(r),[r]);(0,g.useMemo)(()=>{(0,ek.v)("Community Config",O),(0,ek.v)("Feature Flags",l),(0,ek.v)("Page Props",eB()(y,"hydration","token","mostPopularArticles","_sentryBaggage","_sentryTraceData")),e.version&&(0,ek.YA)("version",e.version)},[]);let D=nE((0,g.useMemo)(()=>({responses:[...h.responses,...y.hydration?y.hydration.responses:[]]}),[h.responses,y.hydration]),x||y.token,O),F=(0,g.useMemo)(()=>nr(O.communityName),[O]),j=(0,g.useMemo)(()=>e=>(0,p.jsx)(eM.RelayEnvironmentProvider,{environment:D,children:(0,p.jsx)(n3,{children:(0,p.jsx)(nl,{children:(0,p.jsx)(t,{children:(0,p.jsx)(n1,{adConfig:n,appConfig:eQ.eG,communityConfig:O,coralConfig:nn.vG,crossPostConfig:F,customArticleFooter:a,featureConfig:l,membershipConfig:c,networkConfig:eH.$,newslettersConfig:f,parselyConfig:_,seoConfig:k,subscriptionProviderConfig:ni,children:(0,p.jsx)(n$,{routeInfo:b,children:(0,p.jsx)(nX,{campaign:A,children:(0,p.jsx)(rx,{componentConfig:o,children:(0,p.jsx)(rT,{children:E.loopNav?.enable&&I?(0,p.jsx)(e9,{nodeId:I,children:e.children}):(0,p.jsx)(e7,{loopNavData:null,children:e.children})})})})})})})})})}),[t,n,A,O,o,F,a,D,l,c,E.loopNav?.enable,f,I,_,b,k]),U=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(e4,{fonts:u}),(0,p.jsx)(eO.lX,{...s}),(0,p.jsx)(eK,{communityName:O.communityName}),(0,p.jsx)(e5,{}),(0,p.jsx)(j,{children:(0,p.jsxs)("div",{className:(0,eP.Z)(tl.Z.AppContainer,"minimal"!==E.variant&&n9.F.layout.flexAppContainer,R),children:[!S&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(tr,{anchorId:"content"}),L&&(0,p.jsx)(M.Z,{adType:"leaderboardTop"}),B&&(0,p.jsx)(tn,{}),m||(0,p.jsx)(rC,{variant:E.variant||"standard",stickyNav:E.stickyNav?.enable,stickyNavHeadline:E.stickyNav?.headline,commentCountProps:E.commentCountProps}),N&&!T?.isEntitled&&(0,p.jsx)(e6.Z,{template:E.template})]}),(0,p.jsx)(nZ,{seoSchemaConfigPathMap:C}),(0,p.jsx)(i,{...y}),P?null:d]})})]});return(U=(0,p.jsx)(eV.Z,{context:"AppErrorBoundary",layout:"App",children:U}),rR&&!v)?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eG,{containerID:rR,communityOrigin:O.communityOrigin}),(0,p.jsx)(nY,{analyticsClient:w,volume:e2,children:U})]}):U}rN.getInitialProps=async e=>{let{context:n,themes:t,defaultTheme:r,scripts:i,serverAuthState:o,communityId:a}=e,s=(0,eR._E)(),l=await eL().getInitialProps(n),{req:c,res:u,asPath:d}=n.ctx,p=d?(0,rw.bn)(d):{base:"",page:null};if(""===p.base&&console.warn("RouteInfo not available"),!c)throw Error("Expected a request object");let h=(0,eE.P6)(d),{vmPrefix:m}=(0,ne.J)(a),f=new nz(nH,c,a),g=await f.fetchQuery({query:eD.default,variables:{},durationHeaderKey:"vm-duration-global-data-query"});return u&&(function(e,n){n.forEach(n=>{let{durationHeaderKey:t,duration:r}=n;e.setHeader(t,r)})}(u,[g]),(0,nS.nZ)({res:u,preview:h,vmPrefix:m,queryResponseKeys:g.surrogateKeys}),u.setHeader("vm-duration-gip",(0,eR.Z9)(s)),u.setHeader("vm-app-path",d||"")),{...l,hydration:f.hydration,preview:h,themes:t,communityId:a,defaultTheme:r,routeInfo:p,scripts:i,serverAuthState:o,version:rI.env.VERSION}};var rL=t(71343);let rO={lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!0},rM={contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",imageTreatment:null,imageOverlay:null,lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"Timestamp",lowerMetaThirdComponent:"CommentCount",mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaSecondComponent:null,upperMetaThirdComponent:null,logo:!1,imagePosition:"imageAbove",overlap:!1,overlapStyle:"default",imageLeftTablet:!1,componentContext:{river:{imageLeftTablet:!0,imageAspectRatio:"squareLarge",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showBorder:!0,showDek:!0,upperMetaSecondComponent:"Timestamp"},twoUpPatternFirst:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},twoUpPatternSecond:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},threeGridBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"special"},threeUpPatternLargeFirst:{...rO,imageAspectRatio:"square",extraImageStyles:rL.sq},threeUpPatternLargeSecond:{...rO,imageAspectRatio:"square",extraImageStyles:(0,eP.Z)(rL.BV,rL.sq)},threeUpPatternLargeThird:{...rO,imageAspectRatio:"square",extraImageStyles:(0,eP.Z)(rL.BV,rL.sq)},threeUpPatternFirst:{...rO,extraImageStyles:(0,eP.Z)(rL.BV,rL.sq)},threeUpPatternSecond:{...rO},threeUpPatternThird:{...rO},threeUpCategoryPillarLargeFirst:{...rO},threeUpCategoryPillarLargeSecond:{...rO},threeUpCategoryPillarLargeThird:{...rO},threeUpBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null},threeUpAltPatternLargeFirst:{...rO,overlap:!0,overlapStyle:"default"},threeUpAltPatternLarge:{...rO,imageAspectRatio:"square"},threeUpAltPatternSmall:{...rO,overlap:!0,overlapStyle:"default"},fourUpPattern:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},fourUpPatternDesktop:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},sixUpPatternPrimarySquare:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,imageAspectRatio:"square",lowerMetaThirdComponent:null,overlap:!1,showDek:!0},sixUpPatternPrimaryWide:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,overlap:!0,overlapStyle:"default",showDek:!0},imageAndListPattern:{imageAspectRatio:"wide",imageOverlay:null,imageTreatment:"three"},featuredImageLeadGrid:{contentBlockSize:"medium",lowerMetaSecondComponent:null}}};var rD=t(55484);let rF={indent:!1,topSpacing:!1,header:!1,topPadding:!1,componentContext:{categoryPillar:{indent:!1},latestRecirc:{header:(0,p.jsx)(rD.Z,{title:"The Latest",headingLevel:"h2",size:"medium"}),topPadding:!1},recommendedRecirc:{header:(0,p.jsx)(rD.Z,{title:"Recommended For You",headingLevel:"h2",size:"medium"})}}};var rj=t(66952),rU=t.n(rj),rK=t(83958),rq=t(2354),rz=t(97456),rH=t(82735);t(26320);var rV=t(33835),r$=t(51065);t(57130);var rG=e=>{let n=(0,ti.dj)("threeGridOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_overflow_pattern",mobileCardContext:i="threeGridPattern",desktopCardContext:o,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:c}=rU()({},n,e),{mobileContext:u,desktopContext:d}=(0,rH.A)(t.length,i,o),h=(e,n)=>(0,p.jsx)("div",{className:(0,eP.Z)(a&&rz.w8),children:(0,p.jsx)(r$.Z,{...e,componentContext:d[n],gaComponentName:r,className:l})},e.id),m=(e,n)=>(0,p.jsx)("div",{className:(0,eP.Z)(n9.F.contentCard.fixedWidthCard),children:(0,p.jsx)(r$.Z,{...e,componentContext:u[n],gaComponentName:r,className:s})},e.id),f=[],g=[];return t.forEach((e,n)=>{f.push(h(e,n)),g.push(m(e,n))}),(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:(0,eP.Z)("_1l63vww0",c),children:f}),(0,p.jsx)("div",{className:"_1l63vww2",children:(0,p.jsx)("div",{className:(0,eP.Z)("_1l63vww1",n9.F.layout.hideScrollbar),children:g})})]})},rW=t(96112),rZ=t(42414);let rQ={MobilePattern:rZ.Z,componentContext:{categoryPillarThreeUp:{MobilePattern:rW.Z,TabletPattern:rV.Z,DesktopPattern:rZ.Z},guidesSection:{MobilePattern:rG,TabletPattern:rG,DesktopPattern:e=>{let n=(0,ti.dj)("threeGridAltOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_alt_overflow_pattern",mobileCardContext:i="threeGridAltPattern",desktopCardContext:o,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:c}=rU()({},n,e),{mobileContext:u,desktopContext:d}=(0,rH.A)(t.length,i,o),h=(e,n)=>(0,p.jsx)("div",{className:(0,eP.Z)(rq.Fp,a&&rz.w8),children:(0,p.jsx)(rK.Z,{...e,componentContext:d[n],gaComponentName:r,className:(0,eP.Z)(rq.MI,l)})},e.id),m=(e,n)=>(0,g.createElement)(rK.Z,{...e,key:e.id,componentContext:u[n],gaComponentName:r,firstChild:0===n,lastChild:n===t.length-1,className:s}),f=[],y=[];return t.forEach((e,n)=>{f.push(h(e,n)),y.push(m(e,n))}),(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:(0,eP.Z)("pjyg9o0",c),children:f}),(0,p.jsx)("div",{className:rz.zs,children:(0,p.jsx)("div",{className:(0,eP.Z)(rz.k$,n9.F.layout.hideScrollbar),children:y})})]})}},homepageSpotlight:{MobilePattern:rZ.Z,TabletPattern:rV.Z,DesktopPattern:rZ.Z}}};var rY=({className:e})=>(0,p.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"black",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,p.jsx)("title",{children:"Vox"}),(0,p.jsx)("desc",{children:"Vox logo"}),(0,p.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,p.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,p.jsx)("path",{d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]}),rJ=t(87791);t(70599);var rX=({Logo:e,rightMenuButtons:n,monochrome:t})=>{let r=(0,nQ.z$)();return(0,p.jsx)("div",{className:(0,eP.Z)(t&&"_1771tfx1","_1771tfx0"),children:(0,p.jsxs)("div",{className:"_1771tfx2",children:[(0,p.jsx)("div",{className:(0,eP.Z)("_1771tfx3"),children:(0,p.jsxs)("a",{href:"/",onClick:()=>r?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,p.jsx)("span",{className:te.srOnly,children:"The homepage"}),(0,p.jsx)(e,{className:(0,eP.Z)("_1771tfx4",t&&"_1771tfxa")})]})}),(0,p.jsx)("div",{className:"_1771tfx5",children:(0,p.jsx)("div",{className:"_1771tfx6",children:(0,p.jsx)(n,{monochrome:t})})})]})})};t(60190);var r0={regular:"p9cztz8 p9cztz7",special:"p9cztz9 p9cztz7"},r1={standard:"p9cztz5",homepage:"p9cztz6"},r2={standard:"p9cztz2 p9cztz1",homepage:"p9cztz3 p9cztz1"};t(69249);var r3={standard:"rr52vu1 rr52vu0",homepage:"rr52vu2 rr52vu0"};let r5=({children:e,variant:n})=>(0,p.jsx)("ul",{className:r3[n],children:e});r5.Link=({className:e,anchorClassName:n,contentClassName:t,special:r,children:i,style:o,showLinkLines:a,icon:s,variant:l,monochrome:c,...u})=>{let d=u.href?"a":"button";return(0,p.jsx)("li",{className:(0,eP.Z)(e,"p9cztz0",a&&r2[l]),children:(0,p.jsx)(d,{...u,className:(0,eP.Z)(n,"p9cztz4"),children:(0,p.jsxs)("span",{className:(0,eP.Z)(r1[l],r0[r?"special":"regular"],c&&"p9cztza",t),style:o,children:[i,s&&(0,p.jsx)("span",{className:"p9cztzb",children:s})]})})})},t(49140);var r4={standard:"_1j2ggcbf _1j2ggcbe",homepage:"_1j2ggcbg _1j2ggcbe"},r6={standard:"_1j2ggcb1 _1j2ggcb0",monochrome:"_1j2ggcb2 _1j2ggcb0",homepage:"_1j2ggcb3 _1j2ggcb0"},r8={standard:"_1j2ggcbc _1j2ggcbb",homepage:"_1j2ggcbd _1j2ggcbb"},r7={standard:"_1j2ggcb8",homepage:"_1j2ggcb9"},r9={standard:"_1j2ggcb6 _1j2ggcb5",homepage:"_1j2ggcb7 _1j2ggcb5"},ie=({items:e,Logo:n,showLinkLines:t,linkClassName:r,variant:i,rightMenuButtons:o,monochrome:a})=>{let s=(0,nQ.z$)(),l=(0,p.jsx)(r5,{variant:i,children:e.map((e,n)=>"title"in e?(0,p.jsx)(r5.Link,{className:r,href:e.url,showLinkLines:t,special:e.special,icon:e.icon,variant:i,monochrome:a,onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:e.title},n):e)});return(0,p.jsx)("div",{className:r6[a?"monochrome":i],children:(0,p.jsxs)("div",{className:"_1j2ggcb4",children:[(0,p.jsx)("div",{className:r9[i],children:(0,p.jsxs)("a",{href:"/",onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,p.jsx)("span",{className:te.srOnly,children:"The homepage"}),(0,p.jsx)(n,{className:(0,eP.Z)(a&&"_1j2ggcba",r7[i])})]})}),(0,p.jsx)("nav",{className:r8[i],"aria-label":"Top Navigation",children:l}),(0,p.jsx)("div",{className:r4[i],children:(0,p.jsx)(o,{variant:i,monochrome:a})})]})})};t(47040);var it={navigation:"_16vlidu2",tablet:"_16vlidu3"};t(24116);var ir=function(e){let n=(0,nQ.z$)(),{openDrawer:t,drawerId:r}=(0,to.Q)();return(0,p.jsx)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"hqwttv0","aria-controls":r,"aria-label":"Open Drawer",children:(0,p.jsx)(ts,{className:(0,eP.Z)("hqwttv1",e.monochrome&&"hqwttv2")})})},ii=t(15984);t(65424),t(94214),t(47656);var io=({monochrome:e})=>{let n=(0,nQ.z$)(),{openDrawer:t,drawerId:r}=(0,to.Q)();return(0,p.jsxs)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"c481el0","aria-controls":r,"aria-label":"Open Drawer",children:[(0,p.jsx)("span",{className:"c481el1",children:"Menu"}),(0,p.jsx)("span",{className:(0,eP.Z)(e&&"c481el4","c481el2"),children:(0,p.jsx)(ts,{className:"c481el3"})})]})};t(15107);let ia={Logo:({className:e})=>(0,p.jsxs)("svg",{width:"245",height:"66",viewBox:"0 0 245 66",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,p.jsx)("path",{d:"M213.047 65.5386C193.725 65.5386 181.527 53.6071 181.527 33.1276V32.9495C181.527 12.4701 193.725 0.538574 213.047 0.538574C232.369 0.538574 244.568 12.4701 244.568 32.9495V33.1276C244.568 53.6071 232.369 65.5386 213.047 65.5386ZM213.047 50.2235C216.876 50.2235 218.835 46.8399 218.835 33.1276V32.9495C218.835 19.2372 216.876 15.8536 213.047 15.8536C209.219 15.8536 207.26 19.2372 207.26 32.9495V33.1276C207.26 46.8399 209.219 50.2235 213.047 50.2235Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M159.403 64.203L158.246 56.5454C155.663 62.6002 150.232 65.5386 142.307 65.5386C127.794 65.5386 116.485 55.566 116.485 33.1276V32.9495C116.485 13.4495 127.615 0.538574 148.362 0.538574C166.526 0.538574 175.252 7.75091 176.855 20.5728L155.129 22.5317C154.684 17.9906 152.458 15.8536 149.074 15.8536C144.088 15.8536 142.218 18.792 142.218 32.9495V33.1276C142.218 47.7304 143.999 50.7578 148.985 50.7578C152.191 50.7578 154.595 48.2646 154.595 43.8125V42.3879H147.026V27.7852H177.211V64.203H159.403Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M81.399 65.5386C62.077 65.5386 49.8784 53.6071 49.8784 33.1276V32.9495C49.8784 12.4701 62.077 0.538574 81.399 0.538574C100.721 0.538574 112.92 12.4701 112.92 32.9495V33.1276C112.92 53.6071 100.721 65.5386 81.399 65.5386ZM81.399 50.2235C85.2277 50.2235 87.1866 46.8399 87.1866 33.1276V32.9495C87.1866 19.2372 85.2277 15.8536 81.399 15.8536C77.5702 15.8536 75.6113 19.2372 75.6113 32.9495V33.1276C75.6113 46.8399 77.5702 50.2235 81.399 50.2235Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M0 64.2028V1.87402H24.6644V46.3946H48.2603V64.2028H0Z",fill:"currentColor"})]}),showAuth:!1,showStickyNavCommentCount:!1,drawer:{},primaryNavigationComponent:({items:e,PrimaryLogo:n,Logo:t,cta:r,variant:i,showLinkLines:o,linkClassName:a,rightMenuButtons:s})=>{let l=i.startsWith("monochrome");return(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"_16vlidu0",children:(0,p.jsx)(ie,{Logo:n||t,items:e,cta:r.desktop,variant:"homepage"===i?"homepage":"standard",showLinkLines:o,linkClassName:a,rightMenuButtons:s.desktop,monochrome:l})}),(0,p.jsx)("div",{className:"monochrome-minimal"===i?"_16vlidu4":it.navigation,children:(0,p.jsx)(rX,{Logo:n||t,cta:r.mobile,rightMenuButtons:s.mobile,monochrome:l})}),"monochrome-minimal"===i&&(0,p.jsx)("div",{className:it.tablet,children:(0,p.jsx)(tp,{Logo:t})})]})},linkMenu:{showLinkLines:!1,linkClassName:"_14x5z6v0"},rightMenuButtons:{desktop:e=>(0,p.jsx)(io,{...e}),mobile:e=>(0,p.jsx)(ir,{...e})},cta:{desktop:(0,p.jsx)(rJ.Z,{displayType:"primary",text:"Call to Action"}),mobile:(0,p.jsx)(({className:e,...n})=>(0,p.jsx)(ii.Z,{className:(0,eP.Z)(e,"jv6cq40"),...n}),{text:"Call to Action"})},drawerItems:[{title:"Duet UI Docs",url:"https://duet-docs.voxops.net/packages/duet-ui/overview/index.html",subItems:[]}],pinnedItems:[{title:"Duet UI Docs",url:"https://duet-docs.voxops.net/packages/duet-ui/overview/index.html"}],componentContext:{}};t(47157);let is=(0,p.jsx)("button",{id:"ot-sdk-btn",className:(0,eP.Z)("m0kjex0","ot-sdk-show-settings"),suppressHydrationWarning:!0,children:"Cookie Settings"});var il=({className:e="",width:n=20,height:t=20})=>(0,p.jsxs)("svg",{className:e,width:n,height:t,xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 49 49",children:[(0,p.jsx)("title",{children:"Crossword"}),(0,p.jsxs)("g",{transform:"matrix(1,0,0,1,-2,-1.6)",children:[(0,p.jsx)("g",{transform:"matrix(1.0083,0,0,1.0083,0.790041,0.591701)",children:(0,p.jsx)("rect",{x:"1.2",y:"1",width:"48.2",height:"48.2",fill:"white"})}),(0,p.jsx)("g",{transform:"matrix(1,0,0,1,1,0.8)",children:(0,p.jsx)("path",{d:"M1,0.8L1,49.4L49.6,49.4L49.6,0.8L1,0.8ZM3.7,3.5L23.8,3.5L23.8,23.9L3.7,23.9L3.7,3.5ZM46.9,46.7L26.5,46.7L26.5,26.6L46.9,26.6L46.9,46.7ZM46.9,23.9L26.5,23.9L26.5,3.5L46.9,3.5L46.9,23.9Z",fillRule:"nonzero"})})]})]}),ic=t(83016),iu=t(93049);t(20643);var id={standard:"_4q5u9i0",wide:"_4q5u9i1"};let ip=({children:e})=>{let n=g.Children.count(e)>2?id.wide:id.standard;return(0,p.jsx)("nav",{className:n,"data-children":g.Children.count(e),children:(0,p.jsx)("ul",{className:"_4q5u9i2",children:e})})};ip.Item=({href:e,onClick:n,anchorClassName:t,listItemClassName:r,children:i})=>(0,p.jsx)("li",{className:(0,eP.Z)(r,"_4q5u9i3"),children:(0,p.jsx)("a",{href:e,className:(0,eP.Z)(t,"_4q5u9i4"),onClick:n,children:i})}),t(19286),t(24236);let ih={Logo:({className:e})=>(0,p.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,p.jsx)("title",{children:"Vox"}),(0,p.jsx)("desc",{children:"Vox logo"}),(0,p.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,p.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,p.jsx)("path",{className:"_1eb8rv20",d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]}),showAuth:!0,linkMenu:{showLinkLines:!0,linkClassName:"_1ssspgd1"},cta:{desktop:null,mobile:null},drawer:{shortcutBar:(0,p.jsx)(()=>{let e=(0,nQ.z$)(),n=n=>e?.emit({event:"navigation_click",navigation_click:{name:n}});return(0,p.jsxs)(ip,{children:[(0,p.jsxs)(ip.Item,{href:"/videos",onClick:()=>n("videos"),children:[(0,p.jsx)(iu.Z,{width:22,height:14}),"Watch"]}),(0,p.jsxs)(ip.Item,{href:"/podcasts",onClick:()=>n("listen"),children:[(0,p.jsx)(ic.Z,{width:22,height:17}),"Listen"]}),(0,p.jsxs)(ip.Item,{href:"/21523212/crossword-puzzles-free-daily-printable",onClick:()=>n("crossword"),children:[(0,p.jsx)(il,{width:22,height:22}),"Play"]})]})},{}),endSection:(0,p.jsx)(()=>{let e=(0,nQ.z$)(),n=(0,w.J)();return n?.isEntitled?null:(0,p.jsx)(tt.Z,{className:"_1ssspgd0",displayType:"secondary",text:"Become a Member",href:"/support-now?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",onClick:()=>{e?.emit({event:"memberships_navigation",memberships_navigation:{action:"click",cta:"Become a Member",position:"navigation"}})},fullWidth:!0})},{})},pinnedItems:[{title:"Explainers",url:"/explainers"},{title:"Politics",url:"/politics"},{title:"Culture",url:"/culture"},{title:"Advice",url:"/advice"},{title:"Listen",url:"/podcasts",icon:(0,p.jsx)(ic.Z,{}),special:!0},{title:"Watch",url:"/videos",icon:(0,p.jsx)(iu.Z,{}),special:!0}],drawerItems:[{title:"Explainers",url:"/explainers",subItems:[]},{title:"Politics",url:"/politics",subItems:[]},{title:"Culture",url:"/culture",subItems:[]},{title:"Advice",url:"/advice",subItems:[]},{title:"Science",url:"/science",subItems:[]},{title:"Technology",url:"/technology",subItems:[]},{title:"Climate",url:"/climate",subItems:[]},{title:"Health",url:"/health",subItems:[]},{title:"Money",url:"/money",subItems:[]},{title:"Life",url:"/life",subItems:[]},{title:"Future Perfect",url:"/future-perfect",subItems:[]},{title:"Newsletters",url:"/newsletters",special:!0,subItems:[]}],componentContext:{}},im=(0,t(81606).d)({compactContentCard:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"floatRight",imageAspectRatio:"squareMobile",lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showDek:!0,showScore:!1,upperMetaSecondComponent:"Timestamp",upperMetaThirdComponent:null,verticalCategory:!1,latestRecircPadding:!1,componentContext:{articleParentRecirc:{imagePosition:"left",showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},specialEvent:{contentBlockSize:"micro",imagePosition:"left",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},latestRecirc:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},recommendedRecirc:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},threeUpPattern:{imagePosition:"floatRight",lowerMetaSecondComponent:null,upperMetaSecondComponent:null},fourUpPattern:{upperMetaSecondComponent:null},sixUpPatternTop:{imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},sixUpPatternBottom:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaSecondComponent:null},searchPage:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Category",upperMetaSecondComponent:"Timestamp"},searchPageWithoutCategory:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},fiveGridPattern:{contentBlockSize:"micro",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},fiveGridPackagePattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null},fiveGridGameGuidesPattern:{contentBlockSize:"small",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},podcastSection:{contentBlockSize:"small",imageAspectRatio:"square",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!0,upperMetaFirstComponent:null,upperMetaSecondComponent:null},threeGridPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},threeGridAltPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},guidesSection:{contentBlockSize:"micro",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"square",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!1,upperMetaSecondComponent:null,upperMetaFirstComponent:null},videoSection:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"wide",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null}}},contactForm:{forms:["tip","issue","suggestion","advertising","advertisingSupport","pressInquiryVox","security","personalData"],componentContext:{}},contentBlockMeta:{metaVariation:"standard",showAuthorBy:!0,componentContext:{prominentContentCardTwoUpPattern:{metaVariation:"box"},prominentContentCardThreeUpPattern:{metaVariation:"box"},compactContentCardThreeUpPattern:{metaVariation:"box"}}},disclaimer:{disclaimerText:"If you buy something from a link, Vox Media may earn a commission.",ethicsUrl:"https://www.voxmedia.com/ethics-statement",ethicsText:"See our ethics statement."},embed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}},featureFullWidthLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidFeature"},featureSquareLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidFeatureSplit"},specialFeatureSquareLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidSpecialFeatureSplit"},specialFeatureFullWidthLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidSpecialFeature"},footer:{Logo:rY,linkData:[],componentContext:{},showUpperContainer:!0,showBrandLinks:!0},headerPattern:rF,ledeImage:{mediaContainerVariant:"standard",hideCaptionCredit:!0,priority:!0,componentContext:{standard:{hideCaptionCredit:!1},streamEntry:{priority:!1}}},metaCategory:{metaVariation:"standard",vertical:!1,categorySeparator:" /",componentContext:{standard:{metaVariation:"articleMetaStandard"},fullWidth:{metaVariation:"articleMetaStandard"},split:{metaVariation:"articleMetaStandard"},specialFullWidth:{metaVariation:"box",categorySeparator:""},specialSplit:{metaVariation:"box",categorySeparator:""},overlay:{metaVariation:"box",categorySeparator:""},branded:{metaVariation:"articleMetaStandard"}}},metaTimestamp:{format:"hub",componentContext:{compactContentCardLatestRecirc:{format:"latestRecirc"},compactContentCardListBreaker:{format:"breaker"},compactContentCardCategoryBreaker:{format:"breaker"},prominentContentCardCategoryBreaker:{format:"breaker"}}},navigation:ia,prominentContentCard:rM,socialLinks:{linkData:{facebook:"https://www.facebook.com/voxmedia"},componentContext:{}},pageHeader:{borderBottom:!1,borderTop:!1,center:!1,className:"",classNameDescription:"",classNameLinks:"",classNameSubhead:"",classNameTitle:"",headingLevel:"h1",isBranded:!1,moreLinkIcon:null,paddingBottom:!1,size:"small",componentContext:{categoryPillar:{size:"large"},latestRecirc:{size:"medium"}}},patternSwitcher:rQ,river:{indent:!0,borderTop:!1,createContainerContext:!0,headingLevel:"h2"},splitContentCard:{contentBlockSize:"small",contentBlockVariation:"standard",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null,upperMetaThirdComponent:null,verticalCategory:!1,componentContext:{fiveGridPattern:{contentBlockSize:"micro",upperMetaFirstComponent:null,lowerMetaFirstComponent:"ContentBlockByline"},fiveGridPackagePattern:{upperMetaFirstComponent:null,contentBlockSize:"small",contentBlockVariation:"special"},fiveGridGameGuidesPattern:{upperMetaFirstComponent:null,contentBlockSize:"small"},threeGridPattern:{contentBlockVariation:"special",upperMetaFirstComponent:null},threeGridArticleCategoryRecirc:{contentBlockVariation:"special",upperMetaFirstComponent:null}}},standardLede:{mediaAboveRightRail:!1,dekLocation:"top",metaLocation:"top",componentContext:{standardEntry:{noMargin:!1},streamEntry:{noMargin:!0}}},threeGridAltOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeGridBigPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{mobileCardContext:"threeUpCategoryPillarLargeFirst"},homepageSpotlight:{mobileCardContext:"threeUpCategoryPillarLargeFirst"},featuredImageLeadGrid:{mobileCardContext:"featuredImageLeadGrid"}}},threeGridOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeUpPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeThird"]},homepageSpotlight:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeSecond"],mobileCardContext:["threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond"]}}},videoEmbed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}},shareButtons:{buttons:["facebook","copy","rss"]},checkoutConfirmation:{titleRecurring:"Thanks for
becoming a member!",titleOneTime:"Thanks for
your support!",description:"Your contribution helps support our journalism and you now have access to all our Member-only content, The Highlight, bonus content and more."},articleRecirc:{useColorContainer:!1},quickPost:{meatballs:!1,meatBallCommentCount:!0,copyLink:!0,inlineTimestamp:!0,meta:!1,linkCard:!1,linkAuthor:!1,componentContext:{river:{linkCard:!0},permalink:{copyLink:!1,inlineTimestamp:!1,meta:!0,meatBallCommentCount:!1},stream:{copyLink:!1,linkAuthor:!0}}},contentBlockByline:{variation:"default",componentContext:{compactContentCardListBreaker:{variation:"breaker"},compactContentCardCategoryBreaker:{variation:"breaker"}}},productCard:{scoreLabel:null}},{checkoutConfirmation:{titleRecurring:"Thanks for
becoming a member!",titleOneTime:"Thanks for
your support!",description:"Your contribution helps support our journalism and you now have access to all our Member-only content, The Highlight, bonus content and more."},compactContentCard:{lowerMetaSecondComponent:null,upperMetaThirdComponent:"MembersOnlyBadge"},footer:{Logo:rY,linkData:[[{title:"About us",href:"/about-us"},{title:"Our staff",href:"/masthead"},{title:"Ethics & Guidelines",href:"/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},{title:"How we make money",href:"/pages/funding"},{title:"Contact us",href:"/contact"},{title:"How to pitch Vox",href:"/pages/how-to-pitch-vox-pitching-guidelines"},{title:"Newsletters",href:"/newsletters"}],[{title:"Privacy Notice",href:"https://www.voxmedia.com/legal/privacy-notice"},{title:"Terms of Use",href:"https://www.voxmedia.com/legal/terms-of-use"},{title:"Cookie Policy",href:"https://www.voxmedia.com/legal/cookie-policy"},{component:is,title:"Consent Management",href:"about:blank"},{title:"Licensing",href:"https://www.voxmedia.com/pages/licensing"},{title:"Accessibility",href:"https://www.voxmedia.com/legal/accessibility"},{title:"Platform Status",href:"https://status.voxmedia.com"},{title:"Careers",href:"https://jobs.voxmedia.com/"}]],componentContext:{}},navigation:ih,prominentContentCard:{lowerMetaThirdComponent:null,upperMetaThirdComponent:"MembersOnlyBadge"},disclaimer:{disclaimerText:"If you buy something from a Vox link, Vox Media may earn a commission.",ethicsUrl:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},socialLinks:{linkData:{facebook:"https://www.facebook.com/vox",instagram:"https://www.instagram.com/voxdotcom",youtube:"https://www.youtube.com/voxdotcom",rss:"https://www.vox.com/rss/index.xml",tiktok:"https://www.tiktok.com/@vox"},componentContext:{}}});var ig=t(64177);t(78376);var iy=t(27944),i_=t.n(iy),iv=t(31300),ib=t.n(iv),ik=t(18620),iC=t.n(ik);let ix={"--font-balto":i_().style.fontFamily,"--font-harriet":ib().style.fontFamily,"--font-roboto-mono":iC().style.fontFamily};t(28218),t(30255);let iT=function(e){rE&&rE.emitMetric(e)};function iw(e){return(0,p.jsx)(rN,{...e,adConfig:ev,AuthProvider:n=>{let{children:t,...r}=n;return(0,p.jsx)(ew,{...r,serverAuthState:e.serverAuthState,children:t})},componentConfig:im,customArticleFooter:(0,p.jsx)(E,{}),defaultSEO:B,fonts:ix,Footer:(0,p.jsx)(ig.Z,{}),membershipConfig:S,newslettersConfig:P,parselyConfig:A,seoConfig:O,seoSchemaConfigPathMap:L})}iw.getInitialProps=async e=>{let n=e.ctx,t=await eS(n,eb.lu);return rN.getInitialProps({context:e,themes:{voxLight:"_19dl57i0"},defaultTheme:"voxLight",serverAuthState:t,communityId:eb.lu})};var iI=iw},60724:function(e,n,t){var r=window;r.__sentryRewritesTunnelPath__=void 0,r.SENTRY_RELEASE={id:"oueu7G8_H_WTgqt5V3IJw"},r.__sentryBasePath=void 0,r.__rewriteFramesAssetPrefixPath__="",t(62551)},62551:function(e,n,t){let{init:r}=t(18510),{supportedBrowsersRegExp:i}=t(8274),{createSentryConfig:o}=t(98876);r(o({supportedBrowsersRegExp:i}))},44571:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return v}});let r=t(65227),i=t(23926),o=t(31561),a=i._(t(82201)),s=r._(t(78098)),l=r._(t(5232)),c=t(97217),u=t(19811),d=t(57220);t(15597);let p=t(94994),h=r._(t(88685)),m={deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e,n,t,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==n&&i(!0),null==t?void 0:t.current){let n=new Event("load");Object.defineProperty(n,"target",{writable:!1,value:e});let r=!1,i=!1;t.current({...n,nativeEvent:n,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,n.preventDefault()},stopPropagation:()=>{i=!0,n.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){let[n,t]=a.version.split(".",2),r=parseInt(n,10),i=parseInt(t,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let y=(0,a.forwardRef)((e,n)=>{let{src:t,srcSet:r,sizes:i,height:s,width:l,decoding:c,className:u,style:d,fetchPriority:p,placeholder:h,loading:m,unoptimized:y,fill:_,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:k,setShowAltText:C,sizesInput:x,onLoad:T,onError:w,...I}=e;return(0,o.jsx)("img",{...I,...g(p),loading:m,width:l,height:s,decoding:c,"data-nimg":_?"fill":"1",className:u,style:d,sizes:i,srcSet:r,src:t,ref:(0,a.useCallback)(e=>{n&&("function"==typeof n?n(e):"object"==typeof n&&(n.current=e)),e&&(w&&(e.src=e.src),e.complete&&f(e,h,v,b,k,y,x))},[t,h,v,b,k,w,y,x,n]),onLoad:e=>{f(e.currentTarget,h,v,b,k,y,x)},onError:e=>{C(!0),"empty"!==h&&k(!0),w&&w(e)}})});function _(e){let{isAppRouter:n,imgAttributes:t}=e,r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return n&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,a.forwardRef)((e,n)=>{let t=(0,a.useContext)(p.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||r||u.imageConfigDefault,n=[...e.deviceSizes,...e.imageSizes].sort((e,n)=>e-n),t=e.deviceSizes.sort((e,n)=>e-n);return{...e,allSizes:n,deviceSizes:t}},[r]),{onLoad:s,onLoadingComplete:l}=e,f=(0,a.useRef)(s);(0,a.useEffect)(()=>{f.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,a.useState)(!1),[k,C]=(0,a.useState)(!1),{props:x,meta:T}=(0,c.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:v,showAltText:k});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...x,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:C,sizesInput:e.sizes,ref:n}),T.priority?(0,o.jsx)(_,{isAppRouter:!t,imgAttributes:x}):null]})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},97217:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return s}}),t(15597);let r=t(65978),i=t(19811);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,n){var t;let s,l,c,{src:u,sizes:d,unoptimized:p=!1,priority:h=!1,loading:m,className:f,quality:g,width:y,height:_,fill:v=!1,style:b,overrideSrc:k,onLoad:C,onLoadingComplete:x,placeholder:T="empty",blurDataURL:w,fetchPriority:I,layout:R,objectFit:E,objectPosition:S,lazyBoundary:P,lazyRoot:A,...B}=e,{imgConf:N,showAltText:L,blurComplete:O,defaultLoader:M}=n,D=N||i.imageConfigDefault;if("allSizes"in D)s=D;else{let e=[...D.deviceSizes,...D.imageSizes].sort((e,n)=>e-n),n=D.deviceSizes.sort((e,n)=>e-n);s={...D,allSizes:e,deviceSizes:n}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let F=B.loader||M;delete B.loader,delete B.srcSet;let j="__next_img_default"in F;if(j){if("custom"===s.loader)throw Error('Image with src "'+u+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=F;F=n=>{let{config:t,...r}=n;return e(r)}}if(R){"fill"===R&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(b={...b,...e});let n={responsive:"100vw",fill:"100vw"}[R];n&&!d&&(d=n)}let U="",K=a(y),q=a(_);if("object"==typeof(t=u)&&(o(t)||void 0!==t.src)){let e=o(u)?u.default:u;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,c=e.blurHeight,w=w||e.blurDataURL,U=e.src,!v){if(K||q){if(K&&!q){let n=K/e.width;q=Math.round(e.height*n)}else if(!K&&q){let n=q/e.height;K=Math.round(e.width*n)}}else K=e.width,q=e.height}}let z=!h&&("lazy"===m||void 0===m);(!(u="string"==typeof u?u:U)||u.startsWith("data:")||u.startsWith("blob:"))&&(p=!0,z=!1),s.unoptimized&&(p=!0),j&&u.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(p=!0),h&&(I="high");let H=a(g),V=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:S}:{},L?{}:{color:"transparent"},b),$=O||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:K,heightInt:q,blurWidth:l,blurHeight:c,blurDataURL:w||"",objectFit:V.objectFit})+'")':'url("'+T+'")',G=$?{backgroundSize:V.objectFit||"cover",backgroundPosition:V.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{},W=function(e){let{config:n,src:t,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:t,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,n,t){let{deviceSizes:r,allSizes:i}=e;if(t){let e=/(^|\s)(1?\d?\d)vw/g,n=[];for(let r;r=e.exec(t);r)n.push(parseInt(r[2]));if(n.length){let e=.01*Math.min(...n);return{widths:i.filter(n=>n>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof n?{widths:r,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>i.find(n=>n>=e)||i[i.length-1]))],kind:"x"}}(n,i,a),u=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,r)=>s({config:n,src:t,quality:o,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:n,src:t,quality:o,width:l[u]})}}({config:s,src:u,unoptimized:p,width:K,quality:H,sizes:d,loader:F});return{props:{...B,loading:z?"lazy":m,fetchPriority:I,width:K,height:q,decoding:"async",className:f,style:{...V,...G},sizes:W.sizes,srcSet:W.srcSet,src:k||W.src},meta:{unoptimized:p,priority:h,placeholder:T,fill:v}}}},65978:function(e,n){"use strict";function t(e){let{widthInt:n,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:n,l=i?40*i:t,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return t}})},78890:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{default:function(){return l},getImageProps:function(){return s}});let r=t(65227),i=t(97217),o=t(44571),a=r._(t(88685));function s(e){let{props:n}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let l=o.Image},88685:function(e,n){"use strict";function t(e){let{config:n,src:t,width:r,quality:i}=e;return n.path+"?url="+encodeURIComponent(t)+"&w="+r+"&q="+(i||75)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}}),t.__next_img_default=!0;let r=t},93960:function(){},19286:function(){},88655:function(){},91156:function(){},95407:function(){},58886:function(){},37994:function(){},72391:function(){},42420:function(){},64679:function(){},17345:function(){},33661:function(){},36700:function(){},94753:function(){},70312:function(){},65424:function(){},13278:function(){},24764:function(){},42493:function(){},36108:function(){},87716:function(){},21858:function(){},25455:function(){},99089:function(){},90007:function(){},1513:function(){},99008:function(){},60410:function(){},42337:function(){},75397:function(){},62114:function(){},47157:function(){},67813:function(){},16454:function(){},16672:function(){},56329:function(){},3931:function(){},85146:function(){},89669:function(){},77687:function(){},49573:function(){},20643:function(){},47040:function(){},70599:function(){},24116:function(){},94214:function(){},49140:function(){},47656:function(){},69249:function(){},60190:function(){},21957:function(){},15107:function(){},24236:function(){},19863:function(){},66813:function(){},26320:function(){},53144:function(){},23265:function(){},57130:function(){},40403:function(){},91945:function(){},6591:function(){},9237:function(){},11827:function(){},28218:function(){},61513:function(){},84305:function(){},62661:function(){},65019:function(){},10327:function(){},29944:function(){},78376:function(){},85677:function(){},67857:function(){},14480:function(){},20487:function(){},30255:function(){},18620:function(e){e.exports={style:{fontFamily:"'__Roboto_Mono_e2d6a2', '__Roboto_Mono_Fallback_e2d6a2'"},className:"__className_e2d6a2",variable:"__variable_e2d6a2"}},27944:function(e){e.exports={style:{fontFamily:"'__balto_331ad4', '__balto_Fallback_331ad4', Arial, sans-serif"},className:"__className_331ad4",variable:"__variable_331ad4"}},31300:function(e){e.exports={style:{fontFamily:"'__harriet_cfe5a1', '__harriet_Fallback_cfe5a1', Georgia, serif"},className:"__className_cfe5a1",variable:"__variable_cfe5a1"}},88295:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});let r="production"},27359:function(e,n,t){"use strict";t.d(n,{X:function(){return r}});let r=!1},34831:function(e,n,t){"use strict";t.d(n,{RP:function(){return function e(n,t,r,l=0){return new i.cW((i,c)=>{let u=n[l];if(null===t||"function"!=typeof u)i(t);else{let d=u({...t},r);s.X&&u.id&&null===d&&o.kg.log(`Event processor "${u.id}" dropped event`),(0,a.J8)(d)?d.then(t=>e(n,t,r,l+1).then(i)).then(null,c):e(n,d,r,l+1).then(i).then(null,c)}})}},cc:function(){return c},fH:function(){return l}});var r=t(89371),i=t(11874),o=t(83531),a=t(1769),s=t(27359);function l(){return(0,r.Y)("globalEventProcessors",()=>[])}function c(e){l().push(e)}},87784:function(e,n,t){"use strict";t.d(n,{$e:function(){return C},TM:function(){return L},Tb:function(){return d},YA:function(){return b},Yr:function(){return w},_d:function(){return T},av:function(){return k},c:function(){return I},cg:function(){return M},dk:function(){return A},e:function(){return m},eN:function(){return h},eW:function(){return S},mG:function(){return v},nZ:function(){return B},n_:function(){return f},rJ:function(){return y},s3:function(){return P},sU:function(){return _},uT:function(){return p},v:function(){return g},wi:function(){return x},xv:function(){return E},yj:function(){return N},yl:function(){return R}});var r=t(83531),i=t(47681),o=t(89371),a=t(88295),s=t(27359),l=t(1804),c=t(72416),u=t(45687);function d(e,n){return(0,l.Gd)().captureException(e,(0,u.U0)(n))}function p(e,n){let t="string"==typeof n?n:void 0,r="string"!=typeof n?{captureContext:n}:void 0;return(0,l.Gd)().captureMessage(e,t,r)}function h(e,n){return(0,l.Gd)().captureEvent(e,n)}function m(e){(0,l.Gd)().configureScope(e)}function f(e,n){(0,l.Gd)().addBreadcrumb(e,n)}function g(e,n){(0,l.Gd)().setContext(e,n)}function y(e){(0,l.Gd)().setExtras(e)}function _(e,n){(0,l.Gd)().setExtra(e,n)}function v(e){(0,l.Gd)().setTags(e)}function b(e,n){(0,l.Gd)().setTag(e,n)}function k(e){(0,l.Gd)().setUser(e)}function C(...e){let n=(0,l.Gd)();if(2===e.length){let[t,r]=e;return t?n.withScope(()=>(n.getStackTop().scope=t,r(t))):n.withScope(r)}return n.withScope(e[0])}function x(e){return(0,l.Ok)(()=>e((0,l.aF)()))}function T(e,n){return C(t=>(t.setSpan(e),n(t)))}function w(e,n){return(0,l.Gd)().startTransaction({...e},n)}function I(e,n){let t=B(),o=P();if(o){if(o.captureCheckIn)return o.captureCheckIn(e,n,t);s.X&&r.kg.warn("Cannot capture check-in. Client does not support sending check-ins.")}else s.X&&r.kg.warn("Cannot capture check-in. No client defined.");return(0,i.DM)()}async function R(e){let n=P();return n?n.flush(e):(s.X&&r.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function E(e){let n=P();return n?n.close(e):(s.X&&r.kg.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function S(){return(0,l.Gd)().lastEventId()}function P(){return(0,l.Gd)().getClient()}function A(){return!!P()}function B(){return(0,l.Gd)().getScope()}function N(e){let n=P(),t=(0,l.aF)(),r=B(),{release:i,environment:s=a.J}=n&&n.getOptions()||{},{userAgent:u}=o.GLOBAL_OBJ.navigator||{},d=(0,c.Hv)({release:i,environment:s,user:r.getUser()||t.getUser(),...u&&{userAgent:u},...e}),p=t.getSession();return p&&"ok"===p.status&&(0,c.CT)(p,{status:"exited"}),L(),t.setSession(d),r.setSession(d),d}function L(){let e=(0,l.aF)(),n=B(),t=n.getSession()||e.getSession();t&&(0,c.RJ)(t),O(),e.setSession(),n.setSession()}function O(){let e=(0,l.aF)(),n=B(),t=P(),r=n.getSession()||e.getSession();r&&t&&t.captureSession&&t.captureSession(r)}function M(e=!1){if(e){L();return}O()}},1804:function(e,n,t){"use strict";t.d(n,{Gd:function(){return g},Ok:function(){return _},Xb:function(){return h},aF:function(){return y},cu:function(){return m},pj:function(){return f},vi:function(){return v}});var r=t(1769),i=t(47681),o=t(53725),a=t(83531),s=t(89371),l=t(88295),c=t(27359),u=t(67692),d=t(72416);let p=parseFloat(t(26842).J);class h{constructor(e,n,t,r=p){let i,o;this._version=r,n?i=n:(i=new u.sX).setClient(e),t?o=t:(o=new u.sX).setClient(e),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=o}isOlderThan(e){return this._version(this.popScope(),e),e=>{throw this.popScope(),e}):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,n){let t=this._lastEventId=n&&n.event_id?n.event_id:(0,i.DM)(),r=Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...n,event_id:t}),t}captureMessage(e,n,t){let r=this._lastEventId=t&&t.event_id?t.event_id:(0,i.DM)(),o=Error(e);return this.getScope().captureMessage(e,n,{originalException:e,syntheticException:o,...t,event_id:r}),r}captureEvent(e,n){let t=n&&n.event_id?n.event_id:(0,i.DM)();return e.type||(this._lastEventId=t),this.getScope().captureEvent(e,{...n,event_id:t}),t}lastEventId(){return this._lastEventId}addBreadcrumb(e,n){let{scope:t,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=r.getOptions&&r.getOptions()||{};if(s<=0)return;let l={timestamp:(0,o.yW)(),...e},c=i?(0,a.Cf)(()=>i(l,n)):l;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,n),t.addBreadcrumb(c,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,n){this.getScope().setTag(e,n),this.getIsolationScope().setTag(e,n)}setExtra(e,n){this.getScope().setExtra(e,n),this.getIsolationScope().setExtra(e,n)}setContext(e,n){this.getScope().setContext(e,n),this.getIsolationScope().setContext(e,n)}configureScope(e){let{scope:n,client:t}=this.getStackTop();t&&e(n)}run(e){let n=f(this);try{e(this)}finally{f(n)}}getIntegration(e){let n=this.getClient();if(!n)return null;try{return n.getIntegration(e)}catch(n){return c.X&&a.kg.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,n){let t=this._callExtensionMethod("startTransaction",e,n);return c.X&&!t&&(this.getClient()?a.kg.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):a.kg.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),t}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,n=e.getSession();n&&(0,d.RJ)(n),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:n,client:t}=this.getStackTop(),{release:r,environment:i=l.J}=t&&t.getOptions()||{},{userAgent:o}=s.GLOBAL_OBJ.navigator||{},a=(0,d.Hv)({release:r,environment:i,user:n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession&&n.getSession();return c&&"ok"===c.status&&(0,d.CT)(c,{status:"exited"}),this.endSession(),n.setSession(a),a}shouldSendDefaultPii(){let e=this.getClient(),n=e&&e.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:n}=this.getStackTop(),t=e.getSession();t&&n&&n.captureSession&&n.captureSession(t)}_callExtensionMethod(e,...n){let t=m().__SENTRY__;if(t&&t.extensions&&"function"==typeof t.extensions[e])return t.extensions[e].apply(this,n);c.X&&a.kg.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function m(){return s.GLOBAL_OBJ.__SENTRY__=s.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},s.GLOBAL_OBJ}function f(e){let n=m(),t=v(n);return b(n,e),t}function g(){let e=m();if(e.__SENTRY__&&e.__SENTRY__.acs){let n=e.__SENTRY__.acs.getCurrentHub();if(n)return n}return function(e=m()){return(!(e&&e.__SENTRY__&&e.__SENTRY__.hub)||v(e).isOlderThan(p))&&b(e,new h),v(e)}(e)}function y(){return g().getIsolationScope()}function _(e,n={}){let t=m();return t.__SENTRY__&&t.__SENTRY__.acs?t.__SENTRY__.acs.runWithAsyncContext(e,n):e()}function v(e){return(0,s.Y)("hub",()=>new h,e)}function b(e,n){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=n,!0)}},67692:function(e,n,t){"use strict";let r;t.d(n,{lW:function(){return p},sX:function(){return d}});var i=t(1769),o=t(53725),a=t(47681),s=t(83531),l=t(34831),c=t(72416),u=t(40309);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(e){return e?e.clone():new d}clone(){let e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,c.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this._tags={...this._tags,[e]:n},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return null===n?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let n="function"==typeof e?e(this):e;if(n instanceof d){let e=n.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else(0,i.PO)(n)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext));return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(e,n){let t="number"==typeof n?n:100;if(t<=0)return this;let r={timestamp:(0,o.yW)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>t?i.slice(-t):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:n,_contexts:t,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:d,_span:p}=this;return{breadcrumbs:e,attachments:n,contexts:t,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:d,span:p}}applyToEvent(e,n={},t=[]){(0,u.gi)(e,this.getScopeData());let r=[...t,...(0,l.fH)(),...this._eventProcessors];return(0,l.RP)(r,e,n)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){let t=n&&n.event_id?n.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture exception!"),t;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...n,event_id:t},this),t}captureMessage(e,n,t){let r=t&&t.event_id?t.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureEvent(e,n){let t=n&&n.event_id?n.event_id:(0,a.DM)();return this._client?this._client.captureEvent(e,{...n,event_id:t},this):s.kg.warn("No client configured on scope - will not capture event!"),t}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function p(){return r||(r=new d),r}function h(){return{traceId:(0,a.DM)(),spanId:(0,a.DM)().substring(16)}}},72416:function(e,n,t){"use strict";t.d(n,{CT:function(){return s},Hv:function(){return a},RJ:function(){return l}});var r=t(53725),i=t(47681),o=t(18745);function a(e){let n=(0,r.ph)(),t={sid:(0,i.DM)(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,o.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})};return e&&s(t,e),t}function s(e,n={}){if(!n.user||(!e.ipAddress&&n.user.ip_address&&(e.ipAddress=n.user.ip_address),e.did||n.did||(e.did=n.user.id||n.user.email||n.user.username)),e.timestamp=n.timestamp||(0,r.ph)(),n.abnormal_mechanism&&(e.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(e.ignoreDuration=n.ignoreDuration),n.sid&&(e.sid=32===n.sid.length?n.sid:(0,i.DM)()),void 0!==n.init&&(e.init=n.init),!e.did&&n.did&&(e.did=`${n.did}`),"number"==typeof n.started&&(e.started=n.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof n.duration)e.duration=n.duration;else{let n=e.timestamp-e.started;e.duration=n>=0?n:0}n.release&&(e.release=n.release),n.environment&&(e.environment=n.environment),!e.ipAddress&&n.ipAddress&&(e.ipAddress=n.ipAddress),!e.userAgent&&n.userAgent&&(e.userAgent=n.userAgent),"number"==typeof n.errors&&(e.errors=n.errors),n.status&&(e.status=n.status)}function l(e,n){let t={};n?t={status:n}:"ok"===e.status&&(t={status:"exited"}),s(e,t)}},66506:function(e,n,t){"use strict";t.d(n,{_:function(){return l},j:function(){return c}});var r=t(18745),i=t(88295),o=t(87784),a=t(20494),s=t(30258);function l(e,n,t){let o=n.getOptions(),{publicKey:a}=n.getDsn()||{},{segment:s}=t&&t.getUser()||{},l=(0,r.Jr)({environment:o.environment||i.J,release:o.release,user_segment:s,public_key:a,trace_id:e});return n.emit&&n.emit("createDsc",l),l}function c(e){let n=(0,o.s3)();if(!n)return{};let t=l((0,s.XU)(e).trace_id||"",n,(0,o.nZ)()),r=(0,a.G)(e);if(!r)return t;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:c,source:u}=r.metadata;null!=c&&(t.sample_rate=`${c}`);let d=(0,s.XU)(r);return u&&"url"!==u&&(t.transaction=d.description),t.sampled=String((0,s.Tt)(r)),n.emit&&n.emit("createDsc",t),t}},40309:function(e,n,t){"use strict";t.d(n,{gi:function(){return l},yo:function(){return c}});var r=t(18745),i=t(47681),o=t(66506),a=t(20494),s=t(30258);function l(e,n){let{fingerprint:t,span:l,breadcrumbs:c,sdkProcessingMetadata:u}=n;(function(e,n){let{extra:t,tags:i,user:o,contexts:a,level:s,transactionName:l}=n,c=(0,r.Jr)(t);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});let u=(0,r.Jr)(i);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let d=(0,r.Jr)(o);d&&Object.keys(d).length&&(e.user={...d,...e.user});let p=(0,r.Jr)(a);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),s&&(e.level=s),l&&(e.transaction=l)})(e,n),l&&function(e,n){e.contexts={trace:(0,s.wy)(n),...e.contexts};let t=(0,a.G)(n);if(t){e.sdkProcessingMetadata={dynamicSamplingContext:(0,o.j)(n),...e.sdkProcessingMetadata};let r=(0,s.XU)(t).description;r&&(e.tags={transaction:r,...e.tags})}}(e,l),e.fingerprint=e.fingerprint?(0,i.lE)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,n){let t=[...e.breadcrumbs||[],...n];e.breadcrumbs=t.length?t:void 0}(e,c),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...u}}function c(e,n){let{extra:t,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:d,attachments:p,propagationContext:h,transactionName:m,span:f}=n;u(e,"extra",t),u(e,"tags",r),u(e,"user",i),u(e,"contexts",o),u(e,"sdkProcessingMetadata",s),a&&(e.level=a),m&&(e.transactionName=m),f&&(e.span=f),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function u(e,n,t){if(t&&Object.keys(t).length)for(let r in e[n]={...e[n]},t)Object.prototype.hasOwnProperty.call(t,r)&&(e[n][r]=t[r])}},20494:function(e,n,t){"use strict";function r(e){return e.transaction}t.d(n,{G:function(){return r}})},45687:function(e,n,t){"use strict";t.d(n,{R:function(){return h},U0:function(){return f}});var r=t(47681),i=t(53725),o=t(78253),a=t(89371),s=t(34290),l=t(88295),c=t(34831),u=t(67692),d=t(40309),p=t(30258);function h(e,n,t,h,f,g){let{normalizeDepth:y=3,normalizeMaxBreadth:_=1e3}=e,v={...n,event_id:n.event_id||t.event_id||(0,r.DM)(),timestamp:n.timestamp||(0,i.yW)()},b=t.integrations||e.integrations.map(e=>e.name);(function(e,n){let{environment:t,release:r,dist:i,maxValueLength:a=250}=n;"environment"in e||(e.environment="environment"in n?t:l.J),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.$G)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,a));let c=e.request;c&&c.url&&(c.url=(0,o.$G)(c.url,a))})(v,e),b.length>0&&(v.sdk=v.sdk||{},v.sdk.integrations=[...v.sdk.integrations||[],...b]),void 0===n.type&&function(e,n){let t;let r=a.GLOBAL_OBJ._sentryDebugIds;if(!r)return;let i=m.get(n);i?t=i:(t=new Map,m.set(n,t));let o=Object.keys(r).reduce((e,i)=>{let o;let a=t.get(i);a?o=a:(o=n(i),t.set(i,o));for(let n=o.length-1;n>=0;n--){let t=o[n];if(t.filename){e[t.filename]=r[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}(v,e.stackParser);let k=function(e,n){if(!n)return e;let t=e?e.clone():new u.sX;return t.update(n),t}(h,t.captureContext);t.mechanism&&(0,r.EG)(v,t.mechanism);let C=f&&f.getEventProcessors?f.getEventProcessors():[],x=(0,u.lW)().getScopeData();if(g){let e=g.getScopeData();(0,d.yo)(x,e)}if(k){let e=k.getScopeData();(0,d.yo)(x,e)}let T=[...t.attachments||[],...x.attachments];T.length&&(t.attachments=T),(0,d.gi)(v,x);let w=[...C,...(0,c.fH)(),...x.eventProcessors];return(0,c.RP)(w,v,t).then(e=>(e&&function(e){let n={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?n[e.abs_path]=e.debug_id:e.filename&&(n[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(n).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let t=e.debug_meta.images;Object.keys(n).forEach(e=>{t.push({type:"sourcemap",code_file:e,debug_id:n[e]})})}(e),"number"==typeof y&&y>0)?function(e,n,t){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,n,t)}}))},...e.user&&{user:(0,s.Fv)(e.user,n,t)},...e.contexts&&{contexts:(0,s.Fv)(e.contexts,n,t)},...e.extra&&{extra:(0,s.Fv)(e.extra,n,t)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(e.contexts.trace.data,n,t))),e.spans&&(r.spans=e.spans.map(e=>{let r=(0,p.XU)(e).data;return r&&(e.data=(0,s.Fv)(r,n,t)),e})),r}(e,y,_):e)}let m=new WeakMap;function f(e){return e?e instanceof u.sX||"function"==typeof e||Object.keys(e).some(e=>g.includes(e))?{captureContext:e}:e:void 0}let g=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},30258:function(e,n,t){"use strict";t.d(n,{$k:function(){return u},Hb:function(){return c},Tt:function(){return h},XU:function(){return p},i0:function(){return s},ve:function(){return a},wy:function(){return l}});var r=t(18745),i=t(85263),o=t(53725);let a=0,s=1;function l(e){let{spanId:n,traceId:t}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,tags:l,origin:c}=p(e);return(0,r.Jr)({data:i,op:o,parent_span_id:a,span_id:n,status:s,tags:l,trace_id:t,origin:c})}function c(e){let{traceId:n,spanId:t}=e.spanContext(),r=h(e);return(0,i.$p)(n,t,r)}function u(e){return"number"==typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,o.ph)()}function d(e){return e>9999999999?e/1e3:e}function p(e){return"function"==typeof e.getSpanJSON?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function h(e){let{traceFlags:n}=e.spanContext();return!!(n&s)}},26842:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});let r="7.119.2"},67707:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(1769),i=t(78253);function o(e,n,t=250,o,l,c,u){if(!c.exception||!c.exception.values||!u||!(0,r.V9)(u.originalException,Error))return;let d=c.exception.values.length>0?c.exception.values[c.exception.values.length-1]:void 0;d&&(c.exception.values=(function e(n,t,i,o,l,c,u,d){if(c.length>=i+1)return c;let p=[...c];if((0,r.V9)(o[l],Error)){a(u,d);let r=n(t,o[l]),c=p.length;s(r,l,c,d),p=e(n,t,i,o[l],l,[r,...p],r,c)}return Array.isArray(o.errors)&&o.errors.forEach((o,c)=>{if((0,r.V9)(o,Error)){a(u,d);let r=n(t,o),h=p.length;s(r,`errors[${c}]`,h,d),p=e(n,t,i,o,l,[r,...p],r,h)}}),p})(e,n,l,u.originalException,o,c.exception.values,d,0).map(e=>(e.value&&(e.value=(0,i.$G)(e.value,t)),e)))}function a(e,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:n}}function s(e,n,t,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:n,exception_id:t,parent_id:r}}},77526:function(e,n,t){"use strict";t.d(n,{EN:function(){return u},IQ:function(){return d},_3:function(){return c},bU:function(){return a},jm:function(){return l},lq:function(){return s}});var r=t(59807),i=t(1769),o=t(83531);let a="baggage",s="sentry-",l=/^sentry-/,c=8192;function u(e){if(!(0,i.HD)(e)&&!Array.isArray(e))return;let n={};if(Array.isArray(e))n=e.reduce((e,n)=>{let t=p(n);for(let n of Object.keys(t))e[n]=t[n];return e},{});else{if(!e)return;n=p(e)}let t=Object.entries(n).reduce((e,[n,t])=>(n.match(l)&&(e[n.slice(s.length)]=t),e),{});return Object.keys(t).length>0?t:void 0}function d(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[n,t],i)=>{let a=`${encodeURIComponent(n)}=${encodeURIComponent(t)}`,s=0===i?a:`${e},${a}`;return s.length>c?(r.X&&o.kg.warn(`Not adding key: ${n} with val: ${t} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[n,t])=>(t&&(e[`${s}${n}`]=t),e),{}))}function p(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[n,t])=>(e[n]=t,e),{})}},28701:function(e,n,t){"use strict";t.d(n,{Rt:function(){return o},iY:function(){return l},l4:function(){return a},qT:function(){return s}});var r=t(1769);let i=(0,t(89371).R)();function o(e,n={}){if(!e)return"";try{let t,o=e,a=[],s=0,l=0,c=Array.isArray(n)?n:n.keyAttrs,u=!Array.isArray(n)&&n.maxStringLength||80;for(;o&&s++<5&&(t=function(e,n){let t,o,a,s,l;let c=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;c.push(e.tagName.toLowerCase());let u=n&&n.length?n.filter(n=>e.getAttribute(n)).map(n=>[n,e.getAttribute(n)]):null;if(u&&u.length)u.forEach(e=>{c.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&c.push(`#${e.id}`),(t=e.className)&&(0,r.HD)(t))for(l=0,o=t.split(/\s+/);l1)||!(l+3*a.length+t.length>=u)));)a.push(t),l+=t.length,o=o.parentNode;return a.reverse().join(" > ")}catch(e){return""}}function a(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function l(e){if(!i.HTMLElement)return null;let n=e;for(let e=0;e<5&&n;e++){if(n instanceof HTMLElement&&n.dataset.sentryComponent)return n.dataset.sentryComponent;n=n.parentNode}return null}},15645:function(e,n,t){"use strict";t.d(n,{x:function(){return i}});var r=t(70007);async function i(e,n){return(0,r.h)(e,n)}},70007:function(e,n,t){"use strict";function r(e,n){return null!=e?e:n()}t.d(n,{h:function(){return r}})},61129:function(e,n,t){"use strict";function r(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}t.d(n,{x:function(){return r}})},51943:function(e,n,t){"use strict";t.d(n,{y:function(){return o}});var r=t(84857),i=t(53725);function o(e,n,t){let o=[{type:"client_report"},{timestamp:t||(0,i.yW)(),discarded_events:e}];return(0,r.Jd)(n?{dsn:n}:{},[o])}},59807:function(e,n,t){"use strict";t.d(n,{X:function(){return r}});let r=!1},86002:function(e,n,t){"use strict";t.d(n,{RA:function(){return a},U4:function(){return s},vK:function(){return c}});var r=t(59807),i=t(83531);let o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,n=!1){let{host:t,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${n&&i?`:${i}`:""}@${t}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function s(e){let n=o.exec(e);if(!n){(0,i.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[t,r,a="",s,c="",u]=n.slice(1),d="",p=u,h=p.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),p=h.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return l({host:s,pass:a,path:d,projectId:p,port:c,protocol:t,publicKey:r})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){let n="string"==typeof e?s(e):l(e);if(n&&function(e){if(!r.X)return!0;let{port:n,projectId:t,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(n=>!e[n]&&(i.kg.error(`Invalid Sentry Dsn: ${n} missing`),!0))&&(t.match(/^\d+$/)?"http"===o||"https"===o?!(n&&isNaN(parseInt(n,10)))||(i.kg.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(i.kg.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(i.kg.error(`Invalid Sentry Dsn: Invalid projectId ${t}`),!1))}(n))return n}},58413:function(e,n,t){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}t.d(n,{S:function(){return i},n:function(){return r}})},84857:function(e,n,t){"use strict";t.d(n,{BO:function(){return s},Cd:function(){return y},HY:function(){return g},Jd:function(){return a},R:function(){return c},V$:function(){return d},f4:function(){return p},gv:function(){return l},mL:function(){return f},zQ:function(){return h}});var r=t(86002),i=t(34290),o=t(18745);function a(e,n=[]){return[e,n]}function s(e,n){let[t,r]=e;return[t,[...r,n]]}function l(e,n){for(let t of e[1]){let e=t[0].type;if(n(t,e))return!0}return!1}function c(e,n){return l(e,(e,t)=>n.includes(t))}function u(e,n){return(n||new TextEncoder).encode(e)}function d(e,n){let[t,r]=e,o=JSON.stringify(t);function a(e){"string"==typeof o?o="string"==typeof e?o+e:[u(o,n),e]:o.push("string"==typeof e?u(e,n):e)}for(let e of r){let[n,t]=e;if(a(` ${JSON.stringify(n)} `),"string"==typeof t||t instanceof Uint8Array)a(t);else{let e;try{e=JSON.stringify(t)}catch(n){e=JSON.stringify((0,i.Fv)(t))}a(e)}}return"string"==typeof o?o:function(e){let n=new Uint8Array(e.reduce((e,n)=>e+n.length,0)),t=0;for(let r of e)n.set(r,t),t+=r.length;return n}(o)}function p(e,n,t){let r="string"==typeof e?n.encode(e):e;function i(e){let n=r.subarray(0,e);return r=r.subarray(e+1),n}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(t.decode(i(e)))}let a=o(),s=[];for(;r.length;){let e=o(),n="number"==typeof e.length?e.length:void 0;s.push([e,n?i(n):o()])}return[a,s]}function h(e,n){let t="string"==typeof e.data?u(e.data,n):e.data;return[(0,o.Jr)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let m={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function f(e){return m[e]}function g(e){if(!e||!e.sdk)return;let{name:n,version:t}=e.sdk;return{name:n,version:t}}function y(e,n,t,i){let a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...n&&{sdk:n},...!!t&&i&&{dsn:(0,r.RA)(i)},...a&&{trace:(0,o.Jr)({...a})}}}},64747:function(e,n,t){"use strict";t.d(n,{b:function(){return r}});class r extends Error{constructor(e,n="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}},66895:function(e,n,t){"use strict";t.d(n,{GJ:function(){return l},ME:function(){return c},aB:function(){return u},g:function(){return s}});var r=t(1769),i=t(47681),o=t(34290),a=t(18745);function s(e,n){return e(n.stack||"",1)}function l(e,n){let t={type:n.name||n.constructor.name,value:n.message},r=s(e,n);return r.length&&(t.stacktrace={frames:r}),t}function c(e,n,t,s){let c;let u="function"==typeof e?e().getClient():e,d=t,p=s&&s.data&&s.data.mechanism||{handled:!0,type:"generic"};if(!(0,r.VZ)(t)){if((0,r.PO)(t)){let e=u&&u.getOptions().normalizeDepth;c={__serialized__:(0,o.Qy)(t,e)};let n=function(e){if("name"in e&&"string"==typeof e.name){let n=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(n+=` with message '${e.message}'`),n}return"message"in e&&"string"==typeof e.message?e.message:`Object captured as exception with keys: ${(0,a.zf)(e)}`}(t);(d=s&&s.syntheticException||Error(n)).message=n}else(d=s&&s.syntheticException||Error(t)).message=t;p.synthetic=!0}let h={exception:{values:[l(n,d)]}};return c&&(h.extra=c),(0,i.Db)(h,void 0,void 0),(0,i.EG)(h,p),{...h,event_id:s&&s.event_id}}function u(e,n,t="info",i,o){let a={event_id:i&&i.event_id,level:t};if(o&&i&&i.syntheticException){let t=s(e,i.syntheticException);t.length&&(a.exception={values:[{value:n,stacktrace:{frames:t}}]})}if((0,r.Le)(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return a.logentry={message:e,params:t},a}return a.message=n,a}},23743:function(e,n,t){"use strict";t.r(n),t.d(n,{BAGGAGE_HEADER_NAME:function(){return j.bU},CONSOLE_LEVELS:function(){return c.RU},DEFAULT_RETRY_AFTER:function(){return F.B1},DEFAULT_USER_INCLUDES:function(){return R.rC},GLOBAL_OBJ:function(){return s.GLOBAL_OBJ},LRUMap:function(){return W},MAX_BAGGAGE_STRING_LENGTH:function(){return j._3},SENTRY_BAGGAGE_KEY_PREFIX:function(){return j.lq},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return j.jm},SENTRY_XHR_DATA_KEY:function(){return g.xU},SentryError:function(){return a.b},SyncPromise:function(){return B.cW},TRACEPARENT_REGEXP:function(){return L.Ke},_asyncNullishCoalesce:function(){return Z.x},_asyncOptionalChain:function(){return Q},_asyncOptionalChainDelete:function(){return Y},_browserPerformanceTimeOriginMode:function(){return N.mL},_nullishCoalesce:function(){return J.h},_optionalChain:function(){return X.x},_optionalChainDelete:function(){return ee},addClickKeypressInstrumentationHandler:function(){return d.O},addConsoleInstrumentationHandler:function(){return u.e},addContextToFrame:function(){return k.go},addExceptionMechanism:function(){return k.EG},addExceptionTypeValue:function(){return k.Db},addFetchInstrumentationHandler:function(){return p.U},addGlobalErrorInstrumentationHandler:function(){return h.V},addGlobalUnhandledRejectionInstrumentationHandler:function(){return m.h},addHistoryInstrumentationHandler:function(){return f.a},addInstrumentationHandler:function(){return y},addItemToEnvelope:function(){return M.BO},addNonEnumerableProperty:function(){return T.xp},addOrUpdateIntegration:function(){return K},addRequestDataToEvent:function(){return R.S6},addRequestDataToTransaction:function(){return R.dB},addXhrInstrumentationHandler:function(){return g.UK},applyAggregateErrorsToEvent:function(){return r.Z},arrayify:function(){return k.lE},baggageHeaderToDynamicSamplingContext:function(){return j.EN},basename:function(){return w.EZ},browserPerformanceTimeOrigin:function(){return N.Z1},callFrameToStackFrame:function(){return G},checkOrSetAlreadyCaught:function(){return k.YO},consoleSandbox:function(){return c.Cf},convertToPlainObject:function(){return T.Sh},createAttachmentEnvelopeItem:function(){return M.zQ},createClientReportEnvelope:function(){return D.y},createEnvelope:function(){return M.Jd},createEventEnvelopeHeaders:function(){return M.Cd},createStackParser:function(){return S.pE},dateTimestampInSeconds:function(){return N.yW},dirname:function(){return w.XX},disabledUntil:function(){return F.ns},dropUndefinedKeys:function(){return T.Jr},dsnFromString:function(){return o.U4},dsnToString:function(){return o.RA},dynamicRequire:function(){return C.l$},dynamicSamplingContextToSentryBaggageHeader:function(){return j.IQ},envelopeContainsItemType:function(){return M.R},envelopeItemTypeToDataCategory:function(){return M.mL},escapeStringForRegex:function(){return et},eventFromMessage:function(){return H.aB},eventFromUnknownInput:function(){return H.ME},exceptionFromError:function(){return H.GJ},extractExceptionKeysForMessage:function(){return T.zf},extractPathForTransaction:function(){return R.oA},extractRequestData:function(){return R.XQ},extractTraceparentData:function(){return L.qG},filenameIsInApp:function(){return V.h},fill:function(){return T.hl},forEachEnvelopeItem:function(){return M.gv},generateSentryTraceHeader:function(){return L.$p},getComponentName:function(){return i.iY},getDomElement:function(){return i.qT},getEventDescription:function(){return k.jH},getFunctionName:function(){return S.$P},getGlobalObject:function(){return s.R},getGlobalSingleton:function(){return s.Y},getLocationHref:function(){return i.l4},getNumberOfUrlSegments:function(){return U.$A},getOriginalFunction:function(){return T.HK},getSDKSource:function(){return O.S},getSanitizedUrlString:function(){return U.tF},getSdkMetadataForEnvelopeHeader:function(){return M.HY},htmlTreeAsString:function(){return i.Rt},isAbsolute:function(){return w.YP},isBrowser:function(){return v.j},isBrowserBundle:function(){return O.n},isDOMError:function(){return _.TX},isDOMException:function(){return _.fm},isElement:function(){return _.kK},isError:function(){return _.VZ},isErrorEvent:function(){return _.VW},isEvent:function(){return _.cO},isInstanceOf:function(){return _.V9},isMatchingPattern:function(){return P.zC},isNaN:function(){return _.i2},isNativeFetch:function(){return A.Du},isNodeEnv:function(){return C.KV},isParameterizedString:function(){return _.Le},isPlainObject:function(){return _.PO},isPrimitive:function(){return _.pt},isRateLimited:function(){return F.Q},isRegExp:function(){return _.Kj},isString:function(){return _.HD},isSyntheticEvent:function(){return _.Cy},isThenable:function(){return _.J8},isVueViewModel:function(){return _.y1},join:function(){return w.v_},loadModule:function(){return C.$y},logger:function(){return c.kg},makeDsn:function(){return o.vK},makeFifoCache:function(){return z},makePromiseBuffer:function(){return I.x},markFunctionWrapped:function(){return T.$Q},memoBuilder:function(){return b.i},nodeStackLineParser:function(){return S.Ep},normalize:function(){return x.Fv},normalizePath:function(){return w.AH},normalizeToSize:function(){return x.Qy},normalizeUrlToBase:function(){return x.C8},objectify:function(){return T.mz},originalConsoleMethods:function(){return c.LD},parseEnvelope:function(){return M.f4},parseRetryAfterHeader:function(){return F.JY},parseSemver:function(){return k.J4},parseStackFrames:function(){return H.g},parseUrl:function(){return U.en},propagationContextFromHeaders:function(){return L.pT},rejectedSyncPromise:function(){return B.$2},relative:function(){return w.Gf},resetInstrumentationHandlers:function(){return en.t4},resolve:function(){return w.DB},resolvedSyncPromise:function(){return B.WD},safeJoin:function(){return P.nK},serializeEnvelope:function(){return M.V$},severityFromString:function(){return E.En},severityLevelFromString:function(){return E.VT},snipLine:function(){return P.JM},stackParserFromStackParserOptions:function(){return S.Sq},stringMatchesSomePattern:function(){return P.U0},stripSentryFramesAndReverse:function(){return S.UV},stripUrlQueryAndFragment:function(){return U.rt},supportsDOMError:function(){return A.zO},supportsDOMException:function(){return A.fL},supportsErrorEvent:function(){return A.S$},supportsFetch:function(){return A.Ak},supportsHistory:function(){return er.B},supportsNativeFetch:function(){return A.t$},supportsReferrerPolicy:function(){return A.hv},supportsReportingObserver:function(){return A.zb},timestampInSeconds:function(){return N.ph},timestampWithMs:function(){return N._I},tracingContextFromHeaders:function(){return L.KA},truncate:function(){return P.$G},updateRateLimits:function(){return F.WG},urlEncode:function(){return T._j},uuid4:function(){return k.DM},validSeverityLevels:function(){return E.Tx},walk:function(){return x._p},watchdogTimer:function(){return $},winterCGHeadersToDict:function(){return R.Zm},winterCGRequestToRequestData:function(){return R.se}});var r=t(67707),i=t(28701),o=t(86002),a=t(64747),s=t(89371),l=t(59807),c=t(83531),u=t(75240),d=t(57787),p=t(51354),h=t(66326),m=t(68943),f=t(31067),g=t(49195);function y(e,n){switch(e){case"console":return(0,u.e)(n);case"dom":return(0,d.O)(n);case"xhr":return(0,g.UK)(n);case"fetch":return(0,p.U)(n);case"history":return(0,f.a)(n);case"error":return(0,h.V)(n);case"unhandledrejection":return(0,m.h)(n);default:l.X&&c.kg.warn("unknown instrumentation type:",e)}}var _=t(1769),v=t(26823),b=t(16484),k=t(47681),C=t(20498),x=t(34290),T=t(18745),w=t(29854),I=t(70536),R=t(20403),E=t(19663),S=t(68036),P=t(78253),A=t(27497),B=t(11874),N=t(53725),L=t(85263),O=t(58413),M=t(84857),D=t(51943),F=t(98131),j=t(77526),U=t(6726);function K(e,n,t={}){return Array.isArray(n)?q(e,n,t):r=>{let i=n(r);return e.allowExclusionByUser&&!i.find(n=>n.name===e.name)?i:q(e,i,t)}}function q(e,n,t){let r=n.find(n=>n.name===e.name);if(r){for(let[e,n]of Object.entries(t))!function e(n,t,r){let i=t.match(/([a-z_]+)\.(.*)/i);null===i?n[t]=r:e(n[i[1]],i[2],r)}(r,e,n);return n}return[...n,e]}function z(e){let n=[],t={};return{add(r,i){for(;n.length>=e;){let e=n.shift();void 0!==e&&delete t[e]}t[r]&&this.delete(r),n.push(r),t[r]=i},clear(){t={},n=[]},get:e=>t[e],size:()=>n.length,delete(e){if(!t[e])return!1;delete t[e];for(let t=0;t{let e=i.getTimeMs();!1===o&&e>n+t&&(o=!0,a&&r()),e{i.reset()},enabled:e=>{a=e}}}function G(e,n,t){let r=n?n.replace(/^file:\/\//,""):void 0,i=e.location.columnNumber?e.location.columnNumber+1:void 0,o=e.location.lineNumber?e.location.lineNumber+1:void 0;return(0,T.Jr)({filename:r,module:t(r),function:e.functionName||"?",colno:i,lineno:o,in_app:r?(0,V.h)(r):void 0})}class W{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let n=this._cache.get(e);if(void 0!==n)return this._cache.delete(e),this._cache.set(e,n),n}set(e,n){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,n)}remove(e){let n=this._cache.get(e);return n&&this._cache.delete(e),n}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(n=>e.push(n)),e}}var Z=t(15645);async function Q(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}async function Y(e){let n=await Q(e);return null==n||n}var J=t(70007),X=t(61129);function ee(e){let n=(0,X.x)(e);return null==n||n}var en=t(61859);function et(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var er=t(45508)},61859:function(e,n,t){"use strict";t.d(n,{D2:function(){return u},Hj:function(){return l},rK:function(){return d},t4:function(){return c}});var r=t(59807),i=t(83531),o=t(68036);let a={},s={};function l(e,n){a[e]=a[e]||[],a[e].push(n)}function c(){Object.keys(a).forEach(e=>{a[e]=void 0})}function u(e,n){s[e]||(n(),s[e]=!0)}function d(e,n){let t=e&&a[e];if(t)for(let a of t)try{a(n)}catch(n){r.X&&i.kg.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,o.$P)(a)} Error:`,n)}}},75240:function(e,n,t){"use strict";t.d(n,{e:function(){return s}});var r=t(83531),i=t(18745),o=t(89371),a=t(61859);function s(e){let n="console";(0,a.Hj)(n,e),(0,a.D2)(n,l)}function l(){"console"in o.GLOBAL_OBJ&&r.RU.forEach(function(e){e in o.GLOBAL_OBJ.console&&(0,i.hl)(o.GLOBAL_OBJ.console,e,function(n){return r.LD[e]=n,function(...n){(0,a.rK)("console",{args:n,level:e});let t=r.LD[e];t&&t.apply(o.GLOBAL_OBJ.console,n)}})})}},57787:function(e,n,t){"use strict";let r,i,o;t.d(n,{O:function(){return d}});var a=t(47681),s=t(18745),l=t(89371),c=t(61859);let u=l.GLOBAL_OBJ;function d(e){(0,c.Hj)("dom",e),(0,c.D2)("dom",p)}function p(){if(!u.document)return;let e=c.rK.bind(null,"dom"),n=h(e,!0);u.document.addEventListener("click",n,!1),u.document.addEventListener("keypress",n,!1),["EventTarget","Node"].forEach(n=>{let t=u[n]&&u[n].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&((0,s.hl)(t,"addEventListener",function(n){return function(t,r,i){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[t]=r[t]||{refCount:0};if(!o.handler){let r=h(e);o.handler=r,n.call(this,t,r,i)}o.refCount++}catch(e){}return n.call(this,t,r,i)}}),(0,s.hl)(t,"removeEventListener",function(e){return function(n,t,r){if("click"===n||"keypress"==n)try{let t=this.__sentry_instrumentation_handlers__||{},i=t[n];i&&(i.refCount--,i.refCount<=0&&(e.call(this,n,i.handler,r),i.handler=void 0,delete t[n]),0===Object.keys(t).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,n,t,r)}}))})}function h(e,n=!1){return t=>{if(!t||t._sentryCaptured)return;let l=function(e){try{return e.target}catch(e){return null}}(t);if("keypress"===t.type&&(!l||!l.tagName||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName&&!l.isContentEditable))return;(0,s.xp)(t,"_sentryCaptured",!0),l&&!l._sentryId&&(0,s.xp)(l,"_sentryId",(0,a.DM)());let c="keypress"===t.type?"input":t.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(t)&&(e({event:t,name:c,global:n}),i=t.type,o=l?l._sentryId:void 0),clearTimeout(r),r=u.setTimeout(()=>{o=void 0,i=void 0},1e3)}}},51354:function(e,n,t){"use strict";t.d(n,{U:function(){return s}});var r=t(18745),i=t(27497),o=t(89371),a=t(61859);function s(e){let n="fetch";(0,a.Hj)(n,e),(0,a.D2)(n,l)}function l(){(0,i.t$)()&&(0,r.hl)(o.GLOBAL_OBJ,"fetch",function(e){return function(...n){let{method:t,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[n,t]=e;return{url:u(n),method:c(t,"method")?String(t.method).toUpperCase():"GET"}}let n=e[0];return{url:u(n),method:c(n,"method")?String(n.method).toUpperCase():"GET"}}(n),i={args:n,fetchData:{method:t,url:r},startTimestamp:Date.now()};return(0,a.rK)("fetch",{...i}),e.apply(o.GLOBAL_OBJ,n).then(e=>{let n={...i,endTimestamp:Date.now(),response:e};return(0,a.rK)("fetch",n),e},e=>{let n={...i,endTimestamp:Date.now(),error:e};throw(0,a.rK)("fetch",n),e})}})}function c(e,n){return!!e&&"object"==typeof e&&!!e[n]}function u(e){return"string"==typeof e?e:e?c(e,"url")?e.url:e.toString?e.toString():"":""}},66326:function(e,n,t){"use strict";t.d(n,{V:function(){return a}});var r=t(89371),i=t(61859);let o=null;function a(e){let n="error";(0,i.Hj)(n,e),(0,i.D2)(n,s)}function s(){o=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(e,n,t,r,a){return(0,i.rK)("error",{column:r,error:a,line:t,msg:e,url:n}),!!o&&!o.__SENTRY_LOADER__&&o.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},68943:function(e,n,t){"use strict";t.d(n,{h:function(){return a}});var r=t(89371),i=t(61859);let o=null;function a(e){let n="unhandledrejection";(0,i.Hj)(n,e),(0,i.D2)(n,s)}function s(){o=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,i.rK)("unhandledrejection",e),!o||!!o.__SENTRY_LOADER__||o.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},31067:function(e,n,t){"use strict";let r;t.d(n,{a:function(){return c}});var i=t(18745),o=t(89371),a=t(45508),s=t(61859);let l=o.GLOBAL_OBJ;function c(e){let n="history";(0,s.Hj)(n,e),(0,s.D2)(n,u)}function u(){if(!(0,a.B)())return;let e=l.onpopstate;function n(e){return function(...n){let t=n.length>2?n[2]:void 0;if(t){let e=r,n=String(t);r=n,(0,s.rK)("history",{from:e,to:n})}return e.apply(this,n)}}l.onpopstate=function(...n){let t=l.location.href,i=r;if(r=t,(0,s.rK)("history",{from:i,to:t}),e)try{return e.apply(this,n)}catch(e){}},(0,i.hl)(l.history,"pushState",n),(0,i.hl)(l.history,"replaceState",n)}},49195:function(e,n,t){"use strict";t.d(n,{UK:function(){return c},xU:function(){return l}});var r=t(1769),i=t(18745),o=t(89371),a=t(61859);let s=o.GLOBAL_OBJ,l="__sentry_xhr_v3__";function c(e){(0,a.Hj)("xhr",e),(0,a.D2)("xhr",u)}function u(){if(!s.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,i.hl)(e,"open",function(e){return function(...n){let t=Date.now(),o=(0,r.HD)(n[0])?n[0].toUpperCase():void 0,s=function(e){if((0,r.HD)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!o||!s)return e.apply(this,n);this[l]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let c=()=>{let e=this[l];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}let n={args:[o,s],endTimestamp:Date.now(),startTimestamp:t,xhr:this};(0,a.rK)("xhr",n)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.hl)(this,"onreadystatechange",function(e){return function(...n){return c(),e.apply(this,n)}}):this.addEventListener("readystatechange",c),(0,i.hl)(this,"setRequestHeader",function(e){return function(...n){let[t,i]=n,o=this[l];return o&&(0,r.HD)(t)&&(0,r.HD)(i)&&(o.request_headers[t.toLowerCase()]=i),e.apply(this,n)}}),e.apply(this,n)}}),(0,i.hl)(e,"send",function(e){return function(...n){let t=this[l];if(!t)return e.apply(this,n);void 0!==n[0]&&(t.body=n[0]);let r={args:[t.method,t.url],startTimestamp:Date.now(),xhr:this};return(0,a.rK)("xhr",r),e.apply(this,n)}})}},1769:function(e,n,t){"use strict";t.d(n,{Cy:function(){return y},HD:function(){return c},J8:function(){return g},Kj:function(){return f},Le:function(){return u},PO:function(){return p},TX:function(){return s},V9:function(){return v},VW:function(){return a},VZ:function(){return i},cO:function(){return h},fm:function(){return l},i2:function(){return _},kK:function(){return m},pt:function(){return d},y1:function(){return b}});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function o(e,n){return r.call(e)===`[object ${n}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function c(e){return o(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function p(e){return o(e,"Object")}function h(e){return"undefined"!=typeof Event&&v(e,Event)}function m(e){return"undefined"!=typeof Element&&v(e,Element)}function f(e){return o(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}function y(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function _(e){return"number"==typeof e&&e!=e}function v(e,n){try{return e instanceof n}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},26823:function(e,n,t){"use strict";t.d(n,{j:function(){return o}});var r=t(20498),i=t(89371);function o(){return"undefined"!=typeof window&&(!(0,r.KV)()||void 0!==i.GLOBAL_OBJ.process&&"renderer"===i.GLOBAL_OBJ.process.type)}},83531:function(e,n,t){"use strict";t.d(n,{Cf:function(){return s},LD:function(){return a},RU:function(){return o},kg:function(){return l}});var r=t(59807),i=t(89371);let o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.GLOBAL_OBJ))return e();let n=i.GLOBAL_OBJ.console,t={},r=Object.keys(a);r.forEach(e=>{let r=a[e];t[e]=n[e],n[e]=r});try{return e()}finally{r.forEach(e=>{n[e]=t[e]})}}let l=function(){let e=!1,n={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.X?o.forEach(t=>{n[t]=(...n)=>{e&&s(()=>{i.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...n)})}}):o.forEach(e=>{n[e]=()=>void 0}),n}()},16484:function(e,n,t){"use strict";function r(){let e="function"==typeof WeakSet,n=e?new WeakSet:[];return[function(t){if(e)return!!n.has(t)||(n.add(t),!1);for(let e=0;e16*Math.random();try{if(n&&n.randomUUID)return n.randomUUID().replace(/-/g,"");n&&n.getRandomValues&&(t=()=>{let e=new Uint8Array(1);return n.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function l(e){let{message:n,event_id:t}=e;if(n)return n;let r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||t||"":t||""}function c(e,n,t){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=n||""),o.type||(o.type=t||"Error")}function u(e,n){let t=s(e);if(!t)return;let r=t.mechanism;if(t.mechanism={type:"generic",handled:!0,...r,...n},n&&"data"in n){let e={...r&&r.data,...n.data};t.mechanism.data=e}}let d=/^(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 p(e){let n=e.match(d)||[],t=parseInt(n[1],10),r=parseInt(n[2],10),i=parseInt(n[3],10);return{buildmetadata:n[5],major:isNaN(t)?void 0:t,minor:isNaN(r)?void 0:r,patch:isNaN(i)?void 0:i,prerelease:n[4]}}function h(e,n,t=5){if(void 0===n.lineno)return;let r=e.length,o=Math.max(Math.min(r-1,n.lineno-1),0);n.pre_context=e.slice(Math.max(0,o-t),o).map(e=>(0,i.JM)(e,0)),n.context_line=(0,i.JM)(e[Math.min(r-1,o)],n.colno||0),n.post_context=e.slice(Math.min(o+1,r),o+1+t).map(e=>(0,i.JM)(e,0))}function m(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function f(e){return Array.isArray(e)?e:[e]}},2654:function(e,n,t){"use strict";function r(e,n=!1){return!(n||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==e&&!e.includes("node_modules/")}function i(e){let n=/^\s*[-]{4,}$/,t=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return i=>{let o=i.match(t);if(o){let n,t,i,a,s;if(o[1]){let e=(i=o[1]).lastIndexOf(".");if("."===i[e-1]&&e--,e>0){n=i.slice(0,e),t=i.slice(e+1);let r=n.indexOf(".Module");r>0&&(i=i.slice(r+1),n=n.slice(0,r))}a=void 0}t&&(a=n,s=t),""===t&&(s=void 0,i=void 0),void 0===i&&(s=s||"",i=a?`${a}.${s}`:s);let l=o[2]&&o[2].startsWith("file://")?o[2].slice(7):o[2],c="native"===o[5];return l&&l.match(/\/[A-Z]:/)&&(l=l.slice(1)),l||!o[5]||c||(l=o[5]),{filename:l,module:e?e(l):void 0,function:i,lineno:parseInt(o[3],10)||void 0,colno:parseInt(o[4],10)||void 0,in_app:r(l,c)}}if(i.match(n))return{filename:i}}}t.d(n,{d:function(){return i},h:function(){return r}})},20498:function(e,n,t){"use strict";t.d(n,{$y:function(){return s},KV:function(){return o},l$:function(){return a}});var r=t(58413);e=t.hmd(e);var i=t(74702);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0)}function a(e,n){return e.require(n)}function s(n){let t;try{t=a(e,n)}catch(e){}try{let{cwd:r}=a(e,"process");t=a(e,`${r()}/node_modules/${n}`)}catch(e){}return t}},34290:function(e,n,t){"use strict";t.d(n,{C8:function(){return c},Fv:function(){return s},Qy:function(){return function e(n,t=3,r=102400){let i=s(n,t);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(n,t-1,r):i}},_p:function(){return l}});var r=t(1769),i=t(16484),o=t(18745),a=t(68036);function s(e,n=100,t=Infinity){try{return l("",e,n,t)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function l(e,n,s=Infinity,c=Infinity,u=(0,i.i)()){let[d,p]=u;if(null==n||["number","boolean","string"].includes(typeof n)&&!(0,r.i2)(n))return n;let h=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==t.g&&n===t.g)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if((0,r.y1)(n))return"[VueViewModel]";if((0,r.Cy)(n))return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return`[Function: ${(0,a.$P)(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let i=function(e){let n=Object.getPrototypeOf(e);return n?n.constructor.name:"null prototype"}(n);if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(e,n);if(!h.startsWith("[object "))return h;if(n.__sentry_skip_normalization__)return n;let m="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:s;if(0===m)return h.replace("object ","");if(d(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return l("",e,m-1,c,u)}catch(e){}let f=Array.isArray(n)?[]:{},g=0,y=(0,o.Sh)(n);for(let e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(g>=c){f[e]="[MaxProperties ~]";break}let n=y[e];f[e]=l(e,n,m-1,c,u),g++}return p(n),f}function c(e,n){let t=n.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),r=e;try{r=decodeURI(e)}catch(e){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(RegExp(`(file://)?/*${t}/*`,"ig"),"app:///")}},18745:function(e,n,t){"use strict";t.d(n,{$Q:function(){return u},HK:function(){return d},Jr:function(){return y},Sh:function(){return h},_j:function(){return p},hl:function(){return l},mz:function(){return _},xp:function(){return c},zf:function(){return g}});var r=t(28701),i=t(59807),o=t(1769),a=t(83531),s=t(78253);function l(e,n,t){if(!(n in e))return;let r=e[n],i=t(r);"function"==typeof i&&u(i,r),e[n]=i}function c(e,n,t){try{Object.defineProperty(e,n,{value:t,writable:!0,configurable:!0})}catch(t){i.X&&a.kg.log(`Failed to add non-enumerable property "${n}" to object`,e)}}function u(e,n){try{let t=n.prototype||{};e.prototype=n.prototype=t,c(e,"__sentry_original__",n)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){return Object.keys(e).map(n=>`${encodeURIComponent(n)}=${encodeURIComponent(e[n])}`).join("&")}function h(e){if((0,o.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...f(e)};if(!(0,o.cO)(e))return e;{let n={type:e.type,target:m(e.target),currentTarget:m(e.currentTarget),...f(e)};return"undefined"!=typeof CustomEvent&&(0,o.V9)(e,CustomEvent)&&(n.detail=e.detail),n}}function m(e){try{return(0,o.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(e){return""}}function f(e){if("object"!=typeof e||null===e)return{};{let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}}function g(e,n=40){let t=Object.keys(h(e));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=n)return(0,s.$G)(t[0],n);for(let e=t.length;e>0;e--){let r=t.slice(0,e).join(", ");if(!(r.length>n)){if(e===t.length)return r;return(0,s.$G)(r,n)}}return""}function y(e){return function e(n,t){if(function(e){if(!(0,o.PO)(e))return!1;try{let n=Object.getPrototypeOf(e).constructor.name;return!n||"Object"===n}catch(e){return!0}}(n)){let r=t.get(n);if(void 0!==r)return r;let i={};for(let r of(t.set(n,i),Object.keys(n)))void 0!==n[r]&&(i[r]=e(n[r],t));return i}if(Array.isArray(n)){let r=t.get(n);if(void 0!==r)return r;let i=[];return t.set(n,i),n.forEach(n=>{i.push(e(n,t))}),i}return n}(e,new Map)}function _(e){let n;switch(!0){case null==e:n=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:n=Object(e);break;case(0,o.pt)(e):n=new e.constructor(e);break;default:n=e}return n}},29854:function(e,n,t){"use strict";function r(e,n){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"."===r?e.splice(n,1):".."===r?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(n)for(;t--;t)e.unshift("..");return e}t.d(n,{AH:function(){return c},DB:function(){return a},EZ:function(){return h},Gf:function(){return l},XX:function(){return p},YP:function(){return u},v_:function(){return d}});let i=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){let n=e.length>1024?`${e.slice(-1024)}`:e,t=i.exec(n);return t?t.slice(1):[]}function a(...e){let n="",t=!1;for(let r=e.length-1;r>=-1&&!t;r--){let i=r>=0?e[r]:"/";i&&(n=`${i}/${n}`,t="/"===i.charAt(0))}return n=r(n.split("/").filter(e=>!!e),!t).join("/"),(t?"/":"")+n||"."}function s(e){let n=0;for(;n=0&&""===e[t];t--);return n>t?[]:e.slice(n,t-n+1)}function l(e,n){e=a(e).slice(1),n=a(n).slice(1);let t=s(e.split("/")),r=s(n.split("/")),i=Math.min(t.length,r.length),o=i;for(let e=0;e!!e),!n).join("/");return i||n||(i="."),i&&t&&(i+="/"),(n?"/":"")+i}function u(e){return"/"===e.charAt(0)}function d(...e){return c(e.join("/"))}function p(e){let n=o(e),t=n[0],r=n[1];return t||r?(r&&(r=r.slice(0,r.length-1)),t+r):"."}function h(e,n){let t=o(e)[2];return n&&t.slice(-1*n.length)===n&&(t=t.slice(0,t.length-n.length)),t}},70536:function(e,n,t){"use strict";t.d(n,{x:function(){return o}});var r=t(64747),i=t(11874);function o(e){let n=[];function t(e){return n.splice(n.indexOf(e),1)[0]}return{$:n,add:function(o){if(!(void 0===e||n.lengtht(a)).then(null,()=>t(a).then(null,()=>{})),a},drain:function(e){return new i.cW((t,r)=>{let o=n.length;if(!o)return t(!0);let a=setTimeout(()=>{e&&e>0&&t(!1)},e);n.forEach(e=>{(0,i.WD)(e).then(()=>{--o||(clearTimeout(a),t(!0))},r)})})}}}},98131:function(e,n,t){"use strict";t.d(n,{B1:function(){return r},JY:function(){return i},Q:function(){return a},WG:function(){return s},ns:function(){return o}});let r=6e4;function i(e,n=Date.now()){let t=parseInt(`${e}`,10);if(!isNaN(t))return 1e3*t;let i=Date.parse(`${e}`);return isNaN(i)?r:i-n}function o(e,n){return e[n]||e.all||0}function a(e,n,t=Date.now()){return o(e,n)>t}function s(e,{statusCode:n,headers:t},r=Date.now()){let o={...e},a=t&&t["x-sentry-rate-limits"],s=t&&t["retry-after"];if(a)for(let e of a.trim().split(",")){let[n,t,,,i]=e.split(":",5),a=parseInt(n,10),s=(isNaN(a)?60:a)*1e3;if(t)for(let e of t.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(o[e]=r+s):o[e]=r+s;else o.all=r+s}else s?o.all=r+i(s,r):429===n&&(o.all=r+6e4);return o}},20403:function(e,n,t){"use strict";t.d(n,{rC:function(){return u},S6:function(){return m},dB:function(){return d},oA:function(){return p},XQ:function(){return h},Zm:function(){return g},se:function(){return y}});var r=t(59807),i=t(1769),o=t(83531),a=t(34290),s=t(6726);let l={ip:!1,request:!0,transaction:!0,user:!0},c=["cookies","data","headers","method","query_string","url"],u=["id","username","email"];function d(e,n,t){if(e){if(!e.metadata.source||"url"===e.metadata.source){let[t,r]=p(n,{path:!0,method:!0});e.updateName(t),e.setMetadata({source:r})}e.setAttribute("url",n.originalUrl||n.url),n.baseUrl&&e.setAttribute("baseUrl",n.baseUrl),e.setData("query",f(n,t))}}function p(e,n={}){let t=e.method&&e.method.toUpperCase(),r="",i="url";n.customRoute||e.route?(r=n.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,i="route"):(e.originalUrl||e.url)&&(r=(0,s.rt)(e.originalUrl||e.url||""));let o="";return n.method&&t&&(o+=t),n.method&&n.path&&(o+=" "),n.path&&r&&(o+=r),[o,i]}function h(e,n){let{include:t=c,deps:r}=n||{},o={},s=e.headers||{},l=e.method,u=s.host||e.hostname||e.host||"",d="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",p=e.originalUrl||e.url||"",h=p.startsWith(d)?p:`${d}://${u}${p}`;return t.forEach(n=>{switch(n){case"headers":o.headers=s,t.includes("cookies")||delete o.headers.cookie;break;case"method":o.method=l;break;case"url":o.url=h;break;case"cookies":o.cookies=e.cookies||s.cookie&&function(e){let n={},t=0;for(;t{e&&n in e&&(t[n]=e[n])}),t}(n.user,r.user):{};Object.keys(t).length&&(e.user={...e.user,...t})}if(r.ip){let t=n.ip||n.socket&&n.socket.remoteAddress;t&&(e.user={...e.user,ip_address:t})}return r.transaction&&!e.transaction&&(e.transaction=function(e,n){switch(n){case"path":return p(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"";default:{let n=e._reconstructedRoute?e._reconstructedRoute:void 0;return p(e,{path:!0,method:!0,customRoute:n})[0]}}}(n,r.transaction)),e}function f(e,n){let t=e.originalUrl||e.url||"";if(t){t.startsWith("/")&&(t=`http://dogs.are.great${t}`);try{return e.query||"undefined"!=typeof URL&&new URL(t).search.slice(1)||n&&n.url&&n.url.parse(t).query||void 0}catch(e){return}}}function g(e){let n={};try{e.forEach((e,t)=>{"string"==typeof e&&(n[t]=e)})}catch(e){r.X&&o.kg.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return n}function y(e){let n=g(e.headers);return{method:e.method,url:e.url,headers:n}}},19663:function(e,n,t){"use strict";t.d(n,{En:function(){return i},Tx:function(){return r},VT:function(){return o}});let r=["fatal","error","warning","log","info","debug"];function i(e){return o(e)}function o(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},68036:function(e,n,t){"use strict";t.d(n,{$P:function(){return u},Ep:function(){return d},Sq:function(){return s},UV:function(){return l},pE:function(){return a}});var r=t(2654);let i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let n=e.sort((e,n)=>e[0]-n[0]).map(e=>e[1]);return(e,t=0)=>{let r=[],o=e.split("\n");for(let e=t;e1024)continue;let a=i.test(t)?t.replace(i,"$1"):t;if(!a.match(/\S*Error: /)){for(let e of n){let n=e(a);if(n){r.push(n);break}}if(r.length>=50)break}}return l(r)}}function s(e){return Array.isArray(e)?a(...e):e}function l(e){if(!e.length)return[];let n=Array.from(e);return/sentryWrapped/.test(n[n.length-1].function||"")&&n.pop(),n.reverse(),o.test(n[n.length-1].function||"")&&(n.pop(),o.test(n[n.length-1].function||"")&&n.pop()),n.slice(0,50).map(e=>({...e,filename:e.filename||n[n.length-1].filename,function:e.function||"?"}))}let c="";function u(e){try{if(!e||"function"!=typeof e)return c;return e.name||c}catch(e){return c}}function d(e){return[90,(0,r.d)(e)]}},78253:function(e,n,t){"use strict";t.d(n,{$G:function(){return i},JM:function(){return o},U0:function(){return l},nK:function(){return a},zC:function(){return s}});var r=t(1769);function i(e,n=0){return"string"!=typeof e||0===n?e:e.length<=n?e:`${e.slice(0,n)}...`}function o(e,n){let t=e,r=t.length;if(r<=150)return t;n>r&&(n=r);let i=Math.max(n-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),t=t.slice(i,o),i>0&&(t=`'{snip} ${t}`),os(e,n,t))}},27497:function(e,n,t){"use strict";t.d(n,{Ak:function(){return c},Du:function(){return u},S$:function(){return a},fL:function(){return l},hv:function(){return h},t$:function(){return d},zO:function(){return s},zb:function(){return p}});var r=t(59807),i=t(83531);let o=(0,t(89371).R)();function a(){try{return new ErrorEvent(""),!0}catch(e){return!1}}function s(){try{return new DOMError(""),!0}catch(e){return!1}}function l(){try{return new DOMException(""),!0}catch(e){return!1}}function c(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function u(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function d(){if("string"==typeof EdgeRuntime)return!0;if(!c())return!1;if(u(o.fetch))return!0;let e=!1,n=o.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t),t.contentWindow&&t.contentWindow.fetch&&(e=u(t.contentWindow.fetch)),n.head.removeChild(t)}catch(e){r.X&&i.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function p(){return"ReportingObserver"in o}function h(){if(!c())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}},11874:function(e,n,t){"use strict";t.d(n,{$2:function(){return s},WD:function(){return a},cW:function(){return l}});var r,i,o=t(1769);function a(e){return new l(n=>{n(e)})}function s(e){return new l((n,t)=>{t(e)})}(r=i||(i={}))[r.PENDING=0]="PENDING",r[r.RESOLVED=1]="RESOLVED",r[r.REJECTED=2]="REJECTED";class l{constructor(e){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,n){return new l((t,r)=>{this._handlers.push([!1,n=>{if(e)try{t(e(n))}catch(e){r(e)}else t(n)},e=>{if(n)try{t(n(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((n,t)=>{let r,i;return this.then(n=>{i=!1,r=n,e&&e()},n=>{i=!0,r=n,e&&e()}).then(()=>{if(i){t(r);return}n(r)})})}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,n)=>{if(this._state===i.PENDING){if((0,o.J8)(n)){n.then(this._resolve,this._reject);return}this._state=e,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)})}}}},53725:function(e,n,t){"use strict";let r;t.d(n,{Z1:function(){return l},_I:function(){return s},mL:function(){return r},ph:function(){return a},yW:function(){return o}});var i=t(89371);function o(){return Date.now()/1e3}let a=function(){let{performance:e}=i.GLOBAL_OBJ;if(!e||!e.now)return o;let n=Date.now()-e.now(),t=void 0==e.timeOrigin?n:e.timeOrigin;return()=>(t+e.now())/1e3}(),s=a,l=(()=>{let{performance:e}=i.GLOBAL_OBJ;if(!e||!e.now){r="none";return}let n=e.now(),t=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-t):36e5,a=e.timing&&e.timing.navigationStart,s="number"==typeof a?Math.abs(a+n-t):36e5;return o<36e5||s<36e5?o<=s?(r="timeOrigin",e.timeOrigin):(r="navigationStart",a):(r="dateNow",t)})()},85263:function(e,n,t){"use strict";t.d(n,{$p:function(){return c},KA:function(){return s},Ke:function(){return o},pT:function(){return l},qG:function(){return a}});var r=t(77526),i=t(47681);let o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){let n;if(!e)return;let t=e.match(o);if(t)return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(e,n){let t=a(e),o=(0,r.EN)(n),{traceId:s,parentSpanId:l,parentSampled:c}=t||{};return t?{traceparentData:t,dynamicSamplingContext:o||{},propagationContext:{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:c,dsc:o||{}}}:{traceparentData:t,dynamicSamplingContext:void 0,propagationContext:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}}function l(e,n){let t=a(e),o=(0,r.EN)(n),{traceId:s,parentSpanId:l,parentSampled:c}=t||{};return t?{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:c,dsc:o||{}}:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}function c(e=(0,i.DM)(),n=(0,i.DM)().substring(16),t){let r="";return void 0!==t&&(r=t?"-1":"-0"),`${e}-${n}${r}`}},6726:function(e,n,t){"use strict";function r(e){if(!e)return{};let n=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};let t=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],search:t,hash:r,relative:n[5]+t+r}}function i(e){return e.split(/[\?#]/,1)[0]}function o(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function a(e){let{protocol:n,host:t,path:r}=e,i=t&&t.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${n?`${n}://`:""}${i}${r}`}t.d(n,{$A:function(){return o},en:function(){return r},rt:function(){return i},tF:function(){return a}})},45508:function(e,n,t){"use strict";t.d(n,{B:function(){return i}});let r=(0,t(89371).R)();function i(){let e=r.chrome,n=e&&e.app&&e.app.runtime,t="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!n&&t}},89371:function(e,n,t){"use strict";function r(e){return e&&e.Math==Math?e:void 0}t.d(n,{GLOBAL_OBJ:function(){return i},R:function(){return o},Y:function(){return a}});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof t.g&&r(t.g)||function(){return this}()||{};function o(){return i}function a(e,n,t){let r=t||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=n())}},5730:function(e,n){"use strict";n.byteLength=function(e){var n=l(e),t=n[0],r=n[1];return(t+r)*3/4-r},n.toByteArray=function(e){var n,t,o=l(e),a=o[0],s=o[1],c=new i((a+s)*3/4-s),u=0,d=s>0?a-4:a;for(t=0;t>16&255,c[u++]=n>>8&255,c[u++]=255&n;return 2===s&&(n=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,c[u++]=255&n),1===s&&(n=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,c[u++]=n>>8&255,c[u++]=255&n),c},n.fromByteArray=function(e){for(var n,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+t[i>>12&63]+t[i>>6&63]+t[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(t[(n=e[r-1])>>2]+t[n<<4&63]+"=="):2===i&&o.push(t[(n=(e[r-2]<<8)+e[r-1])>>10]+t[n>>4&63]+t[n<<2&63]+"="),o.join("")};for(var t=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");-1===t&&(t=n);var r=t===n?0:4-t%4;return[t,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},50890:function(e,n,t){"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */let r=t(5730),i=t(429),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let n=new Uint8Array(e);return Object.setPrototypeOf(n,s.prototype),n}function s(e,n,t){if("number"==typeof e){if("string"==typeof n)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,n,t)}function l(e,n,t){if("string"==typeof e)return function(e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);let t=0|m(e,n),r=a(t),i=r.write(e,n);return i!==t&&(r=r.slice(0,i)),r}(e,n);if(ArrayBuffer.isView(e))return function(e){if(D(e,Uint8Array)){let n=new Uint8Array(e);return p(n.buffer,n.byteOffset,n.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return p(e,n,t);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,n,t);let i=function(e){var n;if(s.isBuffer(e)){let n=0|h(e.length),t=a(n);return 0===t.length||e.copy(t,0,0,n),t}return void 0!==e.length?"number"!=typeof e.length||(n=e.length)!=n?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),n,t);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|h(e))}function d(e){let n=e.length<0?0:0|h(e.length),t=a(n);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function m(e,n){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===t)return 0;let i=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return O(e).length;default:if(i)return r?-1:L(e).length;n=(""+n).toLowerCase(),i=!0}}function f(e,n,t){let i=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0||(t>>>=0)<=(n>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,n,t){let r=e.length;(!n||n<0)&&(n=0),(!t||t<0||t>r)&&(t=r);let i="";for(let r=n;r2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),(o=t=+t)!=o&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1}else if(t<0){if(!i)return -1;t=0}if("string"==typeof n&&(n=s.from(n,r)),s.isBuffer(n))return 0===n.length?-1:_(e,n,t,r,i);if("number"==typeof n)return(n&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,n,t):Uint8Array.prototype.lastIndexOf.call(e,n,t):_(e,[n],t,r,i);throw TypeError("val must be string, number or Buffer")}function _(e,n,t,r,i){let o,a=1,s=e.length,l=n.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||n.length<2)return -1;a=2,s/=2,l/=2,t/=2}function c(e,n){return 1===a?e[n]:e.readUInt16BE(n*a)}if(i){let r=-1;for(o=t;os&&(t=s-l),o=t;o>=0;o--){let t=!0;for(let r=0;r239?4:n>223?3:n>191?2:1;if(i+a<=t){let t,r,s,l;switch(a){case 1:n<128&&(o=n);break;case 2:(192&(t=e[i+1]))==128&&(l=(31&n)<<6|63&t)>127&&(o=l);break;case 3:t=e[i+1],r=e[i+2],(192&t)==128&&(192&r)==128&&(l=(15&n)<<12|(63&t)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:t=e[i+1],r=e[i+2],s=e[i+3],(192&t)==128&&(192&r)==128&&(192&s)==128&&(l=(15&n)<<18|(63&t)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){let n=e.length;if(n<=4096)return String.fromCharCode.apply(String,e);let t="",r=0;for(;rt)throw RangeError("Trying to access beyond buffer length")}function k(e,n,t,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(n>i||ne.length)throw RangeError("Index out of range")}function C(e,n,t,r,i){P(n,r,i,e,t,7);let o=Number(n&BigInt(4294967295));e[t++]=o,o>>=8,e[t++]=o,o>>=8,e[t++]=o,o>>=8,e[t++]=o;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,t}function x(e,n,t,r,i){P(n,r,i,e,t,7);let o=Number(n&BigInt(4294967295));e[t+7]=o,o>>=8,e[t+6]=o,o>>=8,e[t+5]=o,o>>=8,e[t+4]=o;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a>>=8,e[t+2]=a,a>>=8,e[t+1]=a,a>>=8,e[t]=a,t+8}function T(e,n,t,r,i,o){if(t+r>e.length||t<0)throw RangeError("Index out of range")}function w(e,n,t,r,o){return n=+n,t>>>=0,o||T(e,n,t,4,34028234663852886e22,-34028234663852886e22),i.write(e,n,t,r,23,4),t+4}function I(e,n,t,r,o){return n=+n,t>>>=0,o||T(e,n,t,8,17976931348623157e292,-17976931348623157e292),i.write(e,n,t,r,52,8),t+8}n.Buffer=s,n.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(e,n),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,n,t){return l(e,n,t)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,n,t){return(c(e),e<=0)?a(e):void 0!==n?"string"==typeof t?a(e).fill(n,t):a(e).fill(n):a(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,n){if(D(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),D(n,Uint8Array)&&(n=s.from(n,n.offset,n.byteLength)),!s.isBuffer(e)||!s.isBuffer(n))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;let t=e.length,r=n.length;for(let i=0,o=Math.min(t,r);ir.length?(s.isBuffer(n)||(n=s.from(n)),n.copy(r,i)):Uint8Array.prototype.set.call(r,n,i);else if(s.isBuffer(n))n.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=n.length}return r},s.byteLength=m,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;nt&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,n,t,r,i){if(D(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===t&&(t=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),n<0||t>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&n>=t)return 0;if(r>=i)return -1;if(n>=t)return 1;if(n>>>=0,t>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=t-n,l=Math.min(o,a),c=this.slice(r,i),u=e.slice(n,t);for(let e=0;e>>=0,isFinite(t)?(t>>>=0,void 0===r&&(r="utf8")):(r=t,t=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-n;if((void 0===t||t>p)&&(t=p),e.length>0&&(t<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,n,t,r){let i;t=Number(t)||0;let o=e.length-t;r?(r=Number(r))>o&&(r=o):r=o;let a=n.length;for(r>a/2&&(r=a/2),i=0;i>8,i.push(t%256),i.push(r);return i}(e,this.length-u),this,u,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,n){let t=this.length;e=~~e,n=void 0===n?t:~~n,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),n<0?(n+=t)<0&&(n=0):n>t&&(n=t),n>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e+--n],i=1;for(;n>0&&(i*=256);)r+=this[e+--n]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,n){return e>>>=0,n||b(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=j(function(e){A(e>>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&B(e,this.length-8);let r=n+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*t;return BigInt(r)+(BigInt(i)<>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&B(e,this.length-8);let r=16777216*n+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+t;return(BigInt(r)<>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],i=1,o=0;for(;++o=(i*=128)&&(r-=Math.pow(2,8*n)),r},s.prototype.readIntBE=function(e,n,t){e>>>=0,n>>>=0,t||b(e,n,this.length);let r=n,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*n)),o},s.prototype.readInt8=function(e,n){return(e>>>=0,n||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt16BE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=j(function(e){A(e>>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&B(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(t<<24))<>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&B(e,this.length-8),(BigInt((n<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,n||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,n){return e>>>=0,n||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,n){return e>>>=0,n||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,n){return e>>>=0,n||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,n,t,r){if(e=+e,n>>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;k(this,e,n,t,r,0)}let i=1,o=0;for(this[n]=255&e;++o>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;k(this,e,n,t,r,0)}let i=t-1,o=1;for(this[n+i]=255&e;--i>=0&&(o*=256);)this[n+i]=e/o&255;return n+t},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,1,255,0),this[n]=255&e,n+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,2,65535,0),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e,n+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigUInt64LE=j(function(e,n=0){return C(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=j(function(e,n=0){return x(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);k(this,e,n,t,r-1,-r)}let i=0,o=1,a=0;for(this[n]=255&e;++i>0)-a&255;return n+t},s.prototype.writeIntBE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);k(this,e,n,t,r-1,-r)}let i=t-1,o=1,a=0;for(this[n+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[n+i+1]&&(a=1),this[n+i]=(e/o>>0)-a&255;return n+t},s.prototype.writeInt8=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=255&e,n+1},s.prototype.writeInt16LE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,2,32767,-32768),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeInt16BE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeInt32LE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,4,2147483647,-2147483648),this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4},s.prototype.writeInt32BE=function(e,n,t){return e=+e,n>>>=0,t||k(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigInt64LE=j(function(e,n=0){return C(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=j(function(e,n=0){return x(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,n,t){return w(this,e,n,!0,t)},s.prototype.writeFloatBE=function(e,n,t){return w(this,e,n,!1,t)},s.prototype.writeDoubleLE=function(e,n,t){return I(this,e,n,!0,t)},s.prototype.writeDoubleBE=function(e,n,t){return I(this,e,n,!1,t)},s.prototype.copy=function(e,n,t,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(t||(t=0),r||0===r||(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"==typeof e)for(i=n;i=r+4;t-=3)n=`_${e.slice(t-3,t)}${n}`;return`${e.slice(0,t)}${n}`}function P(e,n,t,r,i,o){if(e>t||e3?0===n||n===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${n}${i} and <= ${t}${i}`,new R.ERR_OUT_OF_RANGE("value",r,e)}A(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&B(i,r.length-(o+1))}function A(e,n){if("number"!=typeof e)throw new R.ERR_INVALID_ARG_TYPE(n,"number",e)}function B(e,n,t){if(Math.floor(e)!==e)throw A(e,t),new R.ERR_OUT_OF_RANGE(t||"offset","an integer",e);if(n<0)throw new R.ERR_BUFFER_OUT_OF_BOUNDS;throw new R.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${n}`,e)}E("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),E("ERR_INVALID_ARG_TYPE",function(e,n){return`The "${e}" argument must be of type number. Received type ${typeof n}`},TypeError),E("ERR_OUT_OF_RANGE",function(e,n,t){let r=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>4294967296?i=S(String(t)):"bigint"==typeof t&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=S(i)),i+="n"),r+=` It must be ${n}. Received ${i}`},RangeError);let N=/[^+/0-9A-Za-z-_]/g;function L(e,n){let t;n=n||1/0;let r=e.length,i=null,o=[];for(let a=0;a55295&&t<57344){if(!i){if(t>56319||a+1===r){(n-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(n-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(n-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((n-=1)<0)break;o.push(t)}else if(t<2048){if((n-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else if(t<1114112){if((n-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}else throw Error("Invalid code point")}return o}function O(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,n,t,r){let i;for(i=0;i=n.length)&&!(i>=e.length);++i)n[i+t]=e[i];return i}function D(e,n){return e instanceof n||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===n.name}let F=function(){let e="0123456789abcdef",n=Array(256);for(let t=0;t<16;++t){let r=16*t;for(let i=0;i<16;++i)n[r+i]=e[t]+e[i]}return n}();function j(e){return"undefined"==typeof BigInt?U:e}function U(){throw Error("BigInt not supported")}},51290:function(e,n,t){"use strict";var r=t(94337),i=t(35364),o=i(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&o(e,".prototype.")>-1?i(t):t}},35364:function(e,n,t){"use strict";var r=t(90288),i=t(94337),o=t(31345),a=t(46285),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,s),u=t(12467),d=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var n=c(r,l,arguments);return o(n,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},32990:function(e,n,t){"use strict";var r=t(12467),i=t(71186),o=t(46285),a=t(26923);e.exports=function(e,n,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof n&&"symbol"!=typeof n)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,n);if(r)r(e,n,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:t,writable:null===l&&d?d.writable:!l});else if(!u&&(s||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[n]=t}},12467:function(e,n,t){"use strict";var r=t(94337)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},68476:function(e){"use strict";e.exports=EvalError},8695:function(e){"use strict";e.exports=Error},52919:function(e){"use strict";e.exports=RangeError},78888:function(e){"use strict";e.exports=ReferenceError},71186:function(e){"use strict";e.exports=SyntaxError},46285:function(e){"use strict";e.exports=TypeError},34612:function(e){"use strict";e.exports=URIError},49150:function(e){"use strict";var n=[],t=[];e.exports=/** * Checks if two values are equal. Values may be primitives, arrays, or objects. * Returns true if both arguments have the same keys and values. * * @see http://underscorejs.org * @copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc. * @license MIT */function(e,r){var i=n.length?n.pop():[],o=t.length?t.pop():[],a=function e(n,t,r,i){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t||"object"!=typeof n||"object"!=typeof t)return!1;var o=Object.prototype.toString,a=o.call(n);if(a!=o.call(t))return!1;switch(a){case"[object String]":return n==String(t);case"[object Number]":return!(isNaN(n)||isNaN(t))&&n==Number(t);case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}for(var s=r.length;s--;)if(r[s]==n)return i[s]==t;r.push(n),i.push(t);var l=0;if("[object Array]"===a){if((l=n.length)!==t.length)return!1;for(;l--;)if(!e(n[l],t[l],r,i))return!1}else{if(n.constructor!==t.constructor)return!1;if(n.hasOwnProperty("valueOf")&&t.hasOwnProperty("valueOf"))return n.valueOf()==t.valueOf();var c=Object.keys(n);if(c.length!=Object.keys(t).length)return!1;for(var u=0;u{let n=e.method;return n&&({GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"})[n.toUpperCase()]||""},r=e=>"function"==typeof Headers&&e instanceof Headers,i=(e,n)=>` -H "${e}: ${`${n}`.replace(/(\\|")/g,"\\$1")}"`,o=(e={})=>{let{headers:n}=e,t=!1,o="";return r(n)?n.forEach((e,n)=>{"content-length"!==n.toLocaleLowerCase()&&(o+=i(n,e)),"accept-encoding"===n.toLocaleLowerCase()&&(t=!0)}):n&&Object.keys(n).map(e=>{"content-length"!==e.toLocaleLowerCase()&&(o+=i(e,n[e])),"accept-encoding"===e.toLocaleLowerCase()&&(t=!0)}),{params:o,isEncode:t}};function a(e){return"string"==typeof e?e.replace(/'/g,"'\\''"):e}n.ZP=(e,n)=>{let r,i;"string"==typeof e||e instanceof URL?(r=e,i=n||{}):(r=(e||{}).url,i=e||{});let{body:s}=i,l=o(i);return`curl '${r}'${t(i)}${l.params||""}${s?"object"==typeof s?` --data-binary '${a(JSON.stringify(s))}'`:` --data-binary '${a(s)}'`:""}${l.isEncode?" --compressed":""}`}},44463:function(e,n,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,n){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function o(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){var n=function(e,n){if("object"!==r(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!==r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===r(n)?n:String(n)}var l=t(82201),c=t(20335),u=t(57379).createFocusTrap,d=t(72112).isFocusable,p=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&i(e,n)}(u,e);var n,t,c=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=a(u);return e=n?Reflect.construct(t,arguments,a(this).constructor):t.apply(this,arguments),function(e,n){if(n&&("object"===r(n)||"function"==typeof n))return n;if(void 0!==n)throw TypeError("Derived constructors may only return object or undefined");return o(e)}(this,e)});function u(e){!function(e,n){if(!(e instanceof n))throw TypeError("Cannot call a class as a function")}(this,u),n=o(i=c.call(this,e)),t="getNodeForOption",r=function(e){var n,t,r=null!==(n=this.internalOptions[e])&&void 0!==n?n:this.originalOptions[e];if("function"==typeof r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a element.");return l.cloneElement(n,{ref:function(t){var r=e.props.containerElements;n&&("function"==typeof n.ref?n.ref(t):n.ref&&(n.ref.current=t)),e.focusTrapElements=r||[t]}})}return null}}],function(e,n){for(var t=0;t0){var t=e[e.length-1];t!==n&&t.pause()}var r=e.indexOf(n);-1===r||e.splice(r,1),e.push(n)},s=function(e,n){var t=e.indexOf(n);-1!==t&&e.splice(t,1),e.length>0&&e[e.length-1].unpause()},l=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},c=function(e){return l(e)&&!e.shiftKey},u=function(e){return l(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},p=function(e,n){var t=-1;return e.every(function(e,r){return!n(e)||(t=r,!1)}),t},h=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r1?t-1:0),o=1;o=0)e=i.activeElement;else{var n=_.tabbableGroups[0];e=n&&n.firstTabbableNode||k("fallbackFocus")}}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},x=function(){if(_.containerGroups=_.containers.map(function(e){var n=(0,r.tabbable)(e,y.tabbableOptions),t=(0,r.focusable)(e,y.tabbableOptions),i=n.length>0?n[0]:void 0,o=n.length>0?n[n.length-1]:void 0,a=t.find(function(e){return(0,r.isTabbable)(e)}),s=t.slice().reverse().find(function(e){return(0,r.isTabbable)(e)}),l=!!n.find(function(e){return(0,r.getTabIndex)(e)>0});return{container:e,tabbableNodes:n,focusableNodes:t,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=n.indexOf(e);return o<0?i?t.slice(t.indexOf(e)+1).find(function(e){return(0,r.isTabbable)(e)}):t.slice(0,t.indexOf(e)).reverse().find(function(e){return(0,r.isTabbable)(e)}):n[o+(i?1:-1)]}}}),_.tabbableGroups=_.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),_.tabbableGroups.length<=0&&!k("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(_.containerGroups.find(function(e){return e.posTabIndexesFound})&&_.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},T=function e(n){var t=n.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?e(t.shadowRoot):t:void 0},w=function e(n){if(!1!==n&&n!==T(document)){if(!n||!n.focus){e(C());return}n.focus({preventScroll:!!y.preventScroll}),_.mostRecentlyFocusedNode=n,n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select&&n.select()}},I=function(e){var n=k("setReturnFocus",e);return n||!1!==n&&e},R=function(e){var n=e.target,t=e.event,i=e.isBackward,o=void 0!==i&&i;n=n||m(t),x();var a=null;if(_.tabbableGroups.length>0){var s=b(n,t),c=s>=0?_.containerGroups[s]:void 0;if(s<0)a=o?_.tabbableGroups[_.tabbableGroups.length-1].lastTabbableNode:_.tabbableGroups[0].firstTabbableNode;else if(o){var u=p(_.tabbableGroups,function(e){var t=e.firstTabbableNode;return n===t});if(u<0&&(c.container===n||(0,r.isFocusable)(n,y.tabbableOptions)&&!(0,r.isTabbable)(n,y.tabbableOptions)&&!c.nextTabbableNode(n,!1))&&(u=s),u>=0){var d=0===u?_.tabbableGroups.length-1:u-1,h=_.tabbableGroups[d];a=(0,r.getTabIndex)(n)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else l(t)||(a=c.nextTabbableNode(n,!1))}else{var f=p(_.tabbableGroups,function(e){var t=e.lastTabbableNode;return n===t});if(f<0&&(c.container===n||(0,r.isFocusable)(n,y.tabbableOptions)&&!(0,r.isTabbable)(n,y.tabbableOptions)&&!c.nextTabbableNode(n))&&(f=s),f>=0){var g=f===_.tabbableGroups.length-1?0:f+1,v=_.tabbableGroups[g];a=(0,r.getTabIndex)(n)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else l(t)||(a=c.nextTabbableNode(n))}}else a=k("fallbackFocus");return a},E=function(e){if(!(b(m(e),e)>=0)){if(h(y.clickOutsideDeactivates,e)){t.deactivate({returnFocus:y.returnFocusOnDeactivate});return}h(y.allowOutsideClick,e)||e.preventDefault()}},S=function(e){var n=m(e),t=b(n,e)>=0;if(t||n instanceof Document)t&&(_.mostRecentlyFocusedNode=n);else{e.stopImmediatePropagation();var i,o=!0;if(_.mostRecentlyFocusedNode){if((0,r.getTabIndex)(_.mostRecentlyFocusedNode)>0){var a=b(_.mostRecentlyFocusedNode),s=_.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===_.mostRecentlyFocusedNode});l>=0&&(y.isKeyForward(_.recentNavEvent)?l+1=0&&(i=s[l-1],o=!1))}}else _.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.getTabIndex)(e)>0})})||(o=!1)}else o=!1;o&&(i=R({target:_.mostRecentlyFocusedNode,isBackward:y.isKeyBackward(_.recentNavEvent)})),i?w(i):w(_.mostRecentlyFocusedNode||C())}_.recentNavEvent=void 0},P=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_.recentNavEvent=e;var t=R({event:e,isBackward:n});t&&(l(e)&&e.preventDefault(),w(t))},A=function(e){if(((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==h(y.escapeDeactivates,e)){e.preventDefault(),t.deactivate();return}(y.isKeyForward(e)||y.isKeyBackward(e))&&P(e,y.isKeyBackward(e))},B=function(e){b(m(e),e)>=0||h(y.clickOutsideDeactivates,e)||h(y.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},N=function(){if(_.active)return a(g,t),_.delayInitialFocusTimer=y.delayInitialFocus?d(function(){w(C())}):w(C()),i.addEventListener("focusin",S,!0),i.addEventListener("mousedown",E,{capture:!0,passive:!1}),i.addEventListener("touchstart",E,{capture:!0,passive:!1}),i.addEventListener("click",B,{capture:!0,passive:!1}),i.addEventListener("keydown",A,{capture:!0,passive:!1}),t},L=function(){if(_.active)return i.removeEventListener("focusin",S,!0),i.removeEventListener("mousedown",E,!0),i.removeEventListener("touchstart",E,!0),i.removeEventListener("click",B,!0),i.removeEventListener("keydown",A,!0),t},O="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===_.mostRecentlyFocusedNode})})&&w(C())}):void 0,M=function(){O&&(O.disconnect(),_.active&&!_.paused&&_.containers.map(function(e){O.observe(e,{subtree:!0,childList:!0})}))};return(t={get active(){return _.active},get paused(){return _.paused},activate:function(e){if(_.active)return this;var n=v(e,"onActivate"),t=v(e,"onPostActivate"),r=v(e,"checkCanFocusTrap");r||x(),_.active=!0,_.paused=!1,_.nodeFocusedBeforeActivation=i.activeElement,null==n||n();var o=function(){r&&x(),N(),M(),null==t||t()};return r?r(_.containers.concat()).then(o,o):o(),this},deactivate:function(e){if(!_.active)return this;var n=o({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},e);clearTimeout(_.delayInitialFocusTimer),_.delayInitialFocusTimer=void 0,L(),_.active=!1,_.paused=!1,M(),s(g,t);var r=v(n,"onDeactivate"),i=v(n,"onPostDeactivate"),a=v(n,"checkCanReturnFocus"),l=v(n,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){d(function(){l&&w(I(_.nodeFocusedBeforeActivation)),null==i||i()})};return l&&a?a(I(_.nodeFocusedBeforeActivation)).then(c,c):c(),this},pause:function(e){if(_.paused||!_.active)return this;var n=v(e,"onPause"),t=v(e,"onPostPause");return _.paused=!0,null==n||n(),L(),M(),null==t||t(),this},unpause:function(e){if(!_.paused||!_.active)return this;var n=v(e,"onUnpause"),t=v(e,"onPostUnpause");return _.paused=!1,null==n||n(),x(),N(),M(),null==t||t(),this},updateContainerElements:function(e){var n=[].concat(e).filter(Boolean);return _.containers=n.map(function(e){return"string"==typeof e?i.querySelector(e):e}),_.active&&x(),M(),this}}).updateContainerElements(e),t}},92726:function(e){"use strict";var n=Object.prototype.toString,t=Math.max,r=function(e,n){for(var t=[],r=0;r1&&"boolean"!=typeof n)throw new c('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=L(e),r=t.length>0?t[0]:"",i=O("%"+r+"%",n),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],E(t,R([0,1],u)));for(var d=1,p=!0;d=t.length){var y=h(a,m);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[m]}else p=I(a,m),a=a[m];p&&!s&&(k[o]=a)}}return a}},26923:function(e,n,t){"use strict";var r=t(94337)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},69186:function(e,n,t){"use strict";var r=t(12467),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},18523:function(e){"use strict";var n={__proto__:null,foo:{}},t=Object;e.exports=function(){return({__proto__:n}).foo===n.foo&&!(n instanceof t)}},89400:function(e,n,t){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=t(13442);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},13442:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"==typeof n||"[object Symbol]"!==Object.prototype.toString.call(n)||"[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(n in e[n]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},70252:function(e,n,t){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=t(90288);e.exports=o.call(r,i)},80845:function(e,n,t){"use strict";var r=t(20857),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,r){if("string"!=typeof t){if(m){var i=h(t);i&&i!==m&&e(n,i,r)}var a=u(t);d&&(a=a.concat(d(t)));for(var s=l(n),f=l(t),g=0;g */n.read=function(e,n,t,r,i){var o,a,s=8*i-r-1,l=(1<>1,u=-7,d=t?i-1:0,p=t?-1:1,h=e[n+d];for(d+=p,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[n+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[n+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,n,t,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,p=23===i?5960464477539062e-23:0,h=r?0:o-1,m=r?1:-1,f=n<0||0===n&&1/n<0?1:0;for(isNaN(n=Math.abs(n))||n===1/0?(s=isNaN(n)?1:0,a=u):(a=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?n+=p/l:n+=p*Math.pow(2,1-d),n*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(n*l-1)*Math.pow(2,i),a+=d):(s=n*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[t+h]=255&s,h+=m,s/=256,i-=8);for(a=a<0;e[t+h]=255&a,h+=m,a/=256,c-=8);e[t+h-m]|=128*f}},78405:function(e){"use strict";e.exports=function(e,n,t,r,i,o,a,s){if(!e){var l;if(void 0===n)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,r,i,o,a,s],u=0;(l=Error(n.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},73724:function(e){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},89211:function(e,n,t){"use strict";var r=("undefined"!=typeof JSON?JSON:t(77906)).stringify,i=t(73724),o=t(94272),a=t(35364),s=t(51290),l=s("Array.prototype.join"),c=s("Array.prototype.push"),u=function(e,n){for(var t="",r=0;r1?arguments[1]:void 0,t=n&&n.space||"";"number"==typeof t&&(t=u(t," "));var s=!!n&&"boolean"==typeof n.cycles&&n.cycles,p=n&&n.replacer?a(n.replacer):d,h="function"==typeof n?n:n&&n.cmp,m=h&&function(e){var n=h.length>2&&function(n){return e[n]};return function(t,r){return h({key:t,value:e[t]},{key:r,value:e[r]},n?{__proto__:null,get:n}:void 0)}},f=[];return function e(n,a,d,h){var g=t?"\n"+u(h,t):"",y=t?": ":":";if(d&&d.toJSON&&"function"==typeof d.toJSON&&(d=d.toJSON()),void 0!==(d=p(n,a,d))){if("object"!=typeof d||null===d)return r(d);if(i(d)){for(var _=[],v=0;v="0"&&t<="9";)n+=t,a();if("."===t)for(n+=".";a()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,a(),("-"===t||"+"===t)&&(n+=t,a());t>="0"&&t<="9";)n+=t,a();return isFinite(e=Number(n))||o("Bad number"),e}function l(){var e,n,r,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t){if(a(),"u"===t){for(n=0,r=0;n<4&&isFinite(e=parseInt(a(),16));n+=1)r=16*r+e;s+=String.fromCharCode(r)}else if("string"==typeof i[t])s+=i[t];else break}else s+=t}o("Bad string")}function c(){for(;t&&t<=" ";)a()}function u(){switch(c(),t){case"{":return function(){var e,n={};if("{"===t){if(a("{"),c(),"}"===t)return a("}"),n;for(;t;){if(e=l(),c(),a(":"),Object.prototype.hasOwnProperty.call(n,e)&&o('Duplicate key "'+e+'"'),n[e]=u(),c(),"}"===t)return a("}"),n;a(","),c()}}o("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),c(),"]"===t)return a("]"),e;for(;t;){if(e.push(u()),c(),"]"===t)return a("]"),e;a(","),c()}}o("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null;default:o("Unexpected '"+t+"'")}}()}}e.exports=function(e,i){var a;return r=e,n=0,t=" ",a=u(),c(),t&&o("Syntax error"),"function"==typeof i?function e(n,t){var r,o,a=n[t];if(a&&"object"==typeof a)for(r in u)Object.prototype.hasOwnProperty.call(a,r)&&(void 0===(o=e(a,r))?delete a[r]:a[r]=o);return i.call(n,t,a)}({"":a},""):a}},4839:function(e){"use strict";var n,t,r,i=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,function(e){var n=o[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}e.exports=function(e,i,o){var s;if(n="",t="","number"==typeof o)for(s=0;s0&&o(u)?t>1?e(u,t-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},83976:function(e,n,t){var r=t(1207)();e.exports=r},68672:function(e,n,t){var r=t(61935),i=t(60703);e.exports=function(e,n){n=r(n,e);for(var t=0,o=n.length;null!=e&&ti?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var o=Array(i);++r1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(t[0],t[1],s)&&(a=o<3?void 0:a,o=1),n=Object(n);++r-1&&e%1==0&&e-1}},983:function(e,n,t){var r=t(90821);e.exports=function(e,n){var t=this.__data__,i=r(t,e);return i<0?(++this.size,t.push([e,n])):t[i][1]=n,this}},6093:function(e,n,t){var r=t(62430),i=t(4594),o=t(64642);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},34427:function(e,n,t){var r=t(46618);e.exports=function(e){var n=r(this,e).delete(e);return this.size-=n?1:0,n}},70748:function(e,n,t){var r=t(46618);e.exports=function(e){return r(this,e).get(e)}},284:function(e,n,t){var r=t(46618);e.exports=function(e){return r(this,e).has(e)}},801:function(e,n,t){var r=t(46618);e.exports=function(e,n){var t=r(this,e),i=t.size;return t.set(e,n),this.size+=t.size==i?0:1,this}},44055:function(e,n,t){var r=t(18406);e.exports=function(e){var n=r(e,function(e){return 500===t.size&&t.clear(),e}),t=n.cache;return n}},91043:function(e,n,t){var r=t(14725)(Object,"create");e.exports=r},67404:function(e,n,t){var r=t(69122)(Object.keys,Object);e.exports=r},86012:function(e){e.exports=function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n}},96246:function(e,n,t){e=t.nmd(e);var r=t(23559),i=n&&!n.nodeType&&n,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},98055:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},69122:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},38043:function(e,n,t){var r=t(28391),i=Math.max;e.exports=function(e,n,t){return n=i(void 0===n?e.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),l=Array(s);++a0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},92679:function(e,n,t){var r=t(4594);e.exports=function(){this.__data__=new r,this.size=0}},33589:function(e){e.exports=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}},55798:function(e){e.exports=function(e){return this.__data__.get(e)}},65754:function(e){e.exports=function(e){return this.__data__.has(e)}},40347:function(e,n,t){var r=t(4594),i=t(64642),o=t(1193);e.exports=function(e,n){var t=this.__data__;if(t instanceof r){var a=t.__data__;if(!i||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new o(a)}return t.set(e,n),this.size=t.size,this}},87184:function(e,n,t){var r=t(44055),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(i,function(e,t,r,i){n.push(r?i.replace(o,"$1"):t||e)}),n});e.exports=a},60703:function(e,n,t){var r=t(23293),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var n=e+"";return"0"==n&&1/e==-i?"-0":n}},80138:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},81417:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},30491:function(e){e.exports=function(e){return function(){return e}}},73127:function(e,n,t){var r=t(94704),i=t(24760),o=t(52093),a=Math.max,s=Math.min;e.exports=function(e,n,t){var l,c,u,d,p,h,m=0,f=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function _(n){var t=l,r=c;return l=c=void 0,m=n,d=e.apply(r,t)}function v(e){var t=e-h,r=e-m;return void 0===h||t>=n||t<0||g&&r>=u}function b(){var e,t,r,o=i();if(v(o))return k(o);p=setTimeout(b,(e=o-h,t=o-m,r=n-e,g?s(r,u-t):r))}function k(e){return(p=void 0,y&&l)?_(e):(l=c=void 0,d)}function C(){var e,t=i(),r=v(t);if(l=arguments,c=this,h=t,r){if(void 0===p)return m=e=h,p=setTimeout(b,n),f?_(e):d;if(g)return clearTimeout(p),p=setTimeout(b,n),_(h)}return void 0===p&&(p=setTimeout(b,n)),d}return n=o(n)||0,r(t)&&(f=!!t.leading,u=(g="maxWait"in t)?a(o(t.maxWait)||0,n):u,y="trailing"in t?!!t.trailing:y),C.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=h=c=p=void 0},C.flush=function(){return void 0===p?d:k(i())},C}},26333:function(e){e.exports=function(e,n){return e===n||e!=e&&n!=n}},84982:function(e,n,t){var r=t(23100),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},40426:function(e,n,t){var r=t(57765);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},53096:function(e){e.exports=function(e){return e}},32668:function(e,n,t){var r=t(48230),i=t(36231),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},75635:function(e){var n=Array.isArray;e.exports=n},81692:function(e,n,t){var r=t(24748),i=t(17365);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},54789:function(e,n,t){var r=t(81692),i=t(36231);e.exports=function(e){return i(e)&&r(e)}},45749:function(e,n,t){e=t.nmd(e);var r=t(47824),i=t(76768),o=n&&!n.nodeType&&n,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},24748:function(e,n,t){var r=t(37913),i=t(94704);e.exports=function(e){if(!i(e))return!1;var n=r(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},17365:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},23168:function(e,n,t){var r=t(50321),i=t(47365),o=t(96246),a=o&&o.isMap,s=a?i(a):r;e.exports=s},94704:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},36231:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},14975:function(e,n,t){var r=t(37913),i=t(94594),o=t(36231),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var n=i(e);if(null===n)return!0;var t=l.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==c}},56667:function(e,n,t){var r=t(80906),i=t(47365),o=t(96246),a=o&&o.isSet,s=a?i(a):r;e.exports=s},23293:function(e,n,t){var r=t(37913),i=t(36231);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7549:function(e,n,t){var r=t(21820),i=t(47365),o=t(96246),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},18194:function(e,n,t){var r=t(55207),i=t(44976),o=t(81692);e.exports=function(e){return o(e)?r(e):i(e)}},47544:function(e,n,t){var r=t(55207),i=t(80763),o=t(81692);e.exports=function(e){return o(e)?r(e,!0):i(e)}},14200:function(e){e.exports=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},18406:function(e,n,t){var r=t(1193);function i(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw TypeError("Expected a function");var t=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return t.cache=o.set(i,a)||o,a};return t.cache=new(i.Cache||r),t}i.Cache=r,e.exports=i},66952:function(e,n,t){var r=t(85595),i=t(63155)(function(e,n,t){r(e,n,t)});e.exports=i},24760:function(e,n,t){var r=t(47824);e.exports=function(){return r.Date.now()}},80192:function(e,n,t){var r=t(36852),i=t(72253),o=t(59390),a=t(61935),s=t(76035),l=t(27277),c=t(39287),u=t(89411),d=c(function(e,n){var t={};if(null==e)return t;var c=!1;n=r(n,function(n){return n=a(n,e),c||(c=n.length>1),n}),s(e,u(e),t),c&&(t=i(t,7,l));for(var d=n.length;d--;)o(t,n[d]);return t});e.exports=d},48757:function(e){e.exports=function(){return[]}},76768:function(e){e.exports=function(){return!1}},52093:function(e,n,t){var r=t(37489),i=t(94704),o=t(23293),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=l.test(e);return t||c.test(e)?u(e.slice(2),t?2:8):s.test(e)?a:+e}},69166:function(e,n,t){var r=t(76035),i=t(47544);e.exports=function(e){return r(e,i(e))}},23100:function(e,n,t){var r=t(73486);e.exports=function(e){return null==e?"":r(e)}},37254:function(e,n,t){"use strict";t.d(n,{PB:function(){return f},lX:function(){return m}});var r=t(82201),i=t(59243),o=t.n(i);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[t]=e[t]);return i}var l=["keyOverride"],c=["crossOrigin"],u={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,n,t){void 0===n&&(n=[]);var i=void 0===t?{}:t,o=i.defaultWidth,a=i.defaultHeight;return n.reduce(function(n,t,i){return n.push(r.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:t.url})),t.alt&&n.push(r.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:t.alt})),t.secureUrl&&n.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:t.secureUrl.toString()})),t.type&&n.push(r.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:t.type.toString()})),t.width?n.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:t.width.toString()})):o&&n.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),t.height?n.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:t.height.toString()})):a&&n.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),n},[])},p=function(e){var n,t,i,o,p,h=[];e.titleTemplate&&(u.templateTitle=e.titleTemplate);var m="";e.title?(m=e.title,u.templateTitle&&(m=u.templateTitle.replace(/%s/g,function(){return m}))):e.defaultTitle&&(m=e.defaultTitle),m&&h.push(r.createElement("title",{key:"title"},m));var f=void 0===e.noindex?u.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?u.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,y=e.norobots||u.norobots,_="";if(e.robotsProps){var v=e.robotsProps,b=v.nosnippet,k=v.maxSnippet,C=v.maxImagePreview,x=v.maxVideoPreview,T=v.noarchive,w=v.noimageindex,I=v.notranslate,R=v.unavailableAfter;_=(b?",nosnippet":"")+(k?",max-snippet:"+k:"")+(C?",max-image-preview:"+C:"")+(T?",noarchive":"")+(R?",unavailable_after:"+R:"")+(w?",noimageindex":"")+(x?",max-video-preview:"+x:"")+(I?",notranslate":"")}if(e.norobots&&(u.norobots=!0),f||g?(e.dangerouslySetAllPagesToNoIndex&&(u.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(u.nofollow=!0),h.push(r.createElement("meta",{key:"robots",name:"robots",content:(f?"noindex":"index")+","+(g?"nofollow":"follow")+_}))):(!y||_)&&h.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+_})),e.description&&h.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(n=e.openGraph)&&n.title||m)&&h.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||m})),(null!=(t=e.openGraph)&&t.description||e.description)&&h.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=e.openGraph)?void 0:p.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var E=e.openGraph.type.toLowerCase();h.push(r.createElement("meta",{key:"og:type",property:"og:type",content:E})),"profile"===E&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===E&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,n){h.push(r.createElement("meta",{key:"book:author:0"+n,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"book:tag:0"+n,property:"book:tag",content:e}))})):"article"===E&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,n){h.push(r.createElement("meta",{key:"article:author:0"+n,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"article:tag:0"+n,property:"article:tag",content:e}))})):("video.movie"===E||"video.episode"===E||"video.tv_show"===E||"video.other"===E)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,n){e.profile&&h.push(r.createElement("meta",{key:"video:actor:0"+n,property:"video:actor",content:e.profile})),e.role&&h.push(r.createElement("meta",{key:"video:actor:role:0"+n,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:director:0"+n,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:writer:0"+n,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:tag:0"+n,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(u.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(u.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,d("image",e.openGraph.images,{defaultWidth:u.defaultOpenGraphImageWidth,defaultHeight:u.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(u.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(u.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,d("video",e.openGraph.videos,{defaultWidth:u.defaultOpenGraphVideoWidth,defaultHeight:u.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,d("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var n,t,i=e.keyOverride,o=s(e,l);h.push(r.createElement("meta",a({key:"meta:"+(null!=(n=null!=(t=null!=i?i:o.name)?t:o.property)?n:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var n,t=e.crossOrigin,i=s(e,c);h.push(r.createElement("link",a({key:"link"+(null!=(n=i.keyOverride)?n:i.href)+i.rel},i,{crossOrigin:"anonymous"===t||"use-credentials"===t||""===t?t:void 0})))}),h},h=function(e){return r.createElement(o(),null,p(e))},m=function(e){var n=e.title,t=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,c=e.canonical,u=e.facebook,d=e.openGraph,p=e.additionalMetaTags,m=e.twitter,f=e.defaultOpenGraphImageWidth,g=e.defaultOpenGraphImageHeight,y=e.defaultOpenGraphVideoWidth,_=e.defaultOpenGraphVideoHeight,v=e.mobileAlternate,b=e.languageAlternates,k=e.additionalLinkTags,C=e.robotsProps,x=e.norobots;return r.createElement(h,{title:n,titleTemplate:t,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:c,facebook:u,openGraph:d,additionalMetaTags:p,twitter:m,defaultOpenGraphImageWidth:f,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:y,defaultOpenGraphVideoHeight:_,mobileAlternate:v,languageAlternates:b,additionalLinkTags:k,robotsProps:C,norobots:x})},f=function(e){var n=e.title,t=e.themeColor,i=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,c=e.openGraph,u=e.facebook,d=e.twitter,p=e.additionalMetaTags,m=e.titleTemplate,f=e.defaultTitle,g=e.mobileAlternate,y=e.languageAlternates,_=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(h,{title:n,themeColor:t,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:u,openGraph:c,additionalMetaTags:p,twitter:d,titleTemplate:m,defaultTitle:f,mobileAlternate:g,languageAlternates:y,additionalLinkTags:_}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g")},92396:function(e,n,t){e.exports=t(1822)},26454:function(e,n,t){e.exports=t(78338)},71580:function(e,n,t){var r=t(74702);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,n){"use strict";if(!e.setImmediate){var t,i,o,a,s,l=1,c={},u=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?s=function(e){r.nextTick(function(){m(e)})}:function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?(t="setImmediate$"+Math.random()+"$",i=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&m(+n.data.slice(t.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),s=function(n){e.postMessage(t+n,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){m(e.data)},s=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(a=d.documentElement,s=function(e){var n=d.createElement("script");n.onreadystatechange=function(){m(e),n.onreadystatechange=null,a.removeChild(n),n=null},a.appendChild(n)}):s=function(e){setTimeout(m,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var n=Array(arguments.length-1),t=0;t=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},n))},r(505),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t.g&&t.g.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t.g&&t.g.clearImmediate||this&&this.clearImmediate},505:function(e){"use strict";e.exports=t(71580)}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}},a=!0;try{n[e].call(o.exports,o,o.exports,i),a=!1}finally{a&&delete r[e]}return o.exports}i.ab="//";var o=i(845);e.exports=o}()},59243:function(e,n,t){e.exports=t(5232)},68093:function(e,n,t){e.exports=t(78890)},55670:function(e,n,t){e.exports=t(10869)},11439:function(e,n,t){e.exports=t(63734)},15918:function(e,n,t){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=t(89404),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var n=e.constructor;return n&&n.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),m=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}};r=function(e){var n=null!==e&&"object"==typeof e,t="[object Function]"===o.call(e),r=a(e),s=n&&"[object String]"===o.call(e),d=[];if(!n&&!t&&!r)throw TypeError("Object.keys called on a non-object");var p=c&&t;if(s&&e.length>0&&!i.call(e,0))for(var h=0;h0)for(var f=0;f=0&&"[object Function]"===n.call(e.callee)),r}},74702:function(e){var n,t,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{t="function"==typeof clearTimeout?clearTimeout:a}catch(e){t=a}}();var l=[],c=!1,u=-1;function d(){c&&r&&(c=!1,r.length?l=r.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var n=l.length;n;){for(r=l,l=[];++u1)for(var t=1;t-1?d:0,e.charCodeAt(h+1)){case 100:case 102:if(u>=l||null==t[u])break;d=l||null==t[u])break;d=l||void 0===t[u])break;d",d=h+2,h++;break}c+=i(t[u]),d=h+2,h++;break;case 115:if(u>=l)break;d0||r(!1),this._map=new Map}var n=e.prototype;return n.set=function(e,n){if(this._map.delete(e),this._map.set(e,n),this._map.size>this._capacity){var t=this._map.keys().next();t.done||this._map.delete(t.value)}},n.get=function(e){var n=this._map.get(e);return null!=n&&(this._map.delete(e),this._map.set(e,n)),n},n.has=function(e){return this._map.has(e)},n.delete=function(e){this._map.delete(e)},n.size=function(){return this._map.size},n.capacity=function(){return this._capacity-this._map.size},n.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new i(e)}}},93444:function(e,n,t){"use strict";var r=t(82201).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=r},90224:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=t(10673),s=t(87848),l=t(78405),c=t(36373).isPromise;t(710);var u="store-or-network",d="store-and-network",p="function"==typeof WeakMap;function h(e){return void 0!==e.request.node.params.metadata.live}function m(e,n,t,r,i){var o=null!=t?t:h(n)?d:u,a=null!=r?r:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(o,"-").concat(a,"-").concat(n.request.identifier);return null!=i?"".concat(s,"-").concat(i):s}function f(e,n){var t={__id:e.fragment.dataID,__fragments:(0,o.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:n,fragmentNode:e.request.node.fragment,fragmentRef:t,operation:e}}var g=2e5;function y(e,n,t,r,i,o){var a=h(n),l=r,c=i,u=new s(function(e){var t=e.retain(n);return{dispose:function(){a&&null!=c&&c.unsubscribe(),t.dispose(),o(d)}}}),d={cacheIdentifier:e,id:g++,processedPayloadsCount:0,operationAvailability:t,getValue:function(){return l},setValue:function(e){l=e},setNetworkSubscription:function(e){a&&null!=c&&c.unsubscribe(),c=e},temporaryRetain:function(e){return u.temporaryRetain(e)},permanentRetain:function(e){return u.permanentRetain(e)},releaseTemporaryRetain:function(){u.releaseTemporaryRetain()}};return d}var _=function(){function e(e){var n=this;(0,o.default)(this,"_clearCacheEntry",function(e){n._cache.delete(e.cacheIdentifier)}),this._environment=e,this._cache=a.create(1e3)}var n=e.prototype;return n.prepare=function(e,n,t,r,i,o,a){var s=m(this._environment,e,t,r,o);return this.prepareWithIdentifier(s,e,n,t,r,i,a)},n.prepareWithIdentifier=function(e,n,t,r,o,a,s){var l=this._environment,p=null!=r?r:h(n)?d:u,m=null!=o?o:l.UNSTABLE_getDefaultRenderPolicy(),f=this._cache.get(e),g=null,y=null!=f;null==f&&(f=this._fetchAndSaveQuery(e,n,t,p,m,s,(0,i.default)((0,i.default)({},a),{},{unsubscribe:function(e){null!=g&&g.dispose();var n=null==a?void 0:a.unsubscribe;n&&n(e)}}))),g=f.temporaryRetain(l);var _=f.getValue();if(c(_))throw l.__log({name:"suspense.query",fetchPolicy:p,isPromiseCached:y,operation:n,queryAvailability:f.operationAvailability,renderPolicy:m}),_;if(_ instanceof Error)throw _;return _},n.retain=function(e,n){var t=this._environment,r=e.cacheIdentifier,i=e.operation,o=this._getOrCreateCacheEntry(r,i,null,e,null),a=o.permanentRetain(t);return t.__log({name:"queryresource.retain",profilerContext:n,resourceID:o.id}),{dispose:function(){a.dispose()}}},n.releaseTemporaryRetain=function(e){var n=this._cache.get(e.cacheIdentifier);null!=n&&n.releaseTemporaryRetain()},n.TESTS_ONLY__getCacheEntry=function(e,n,t,r){var i=m(this._environment,e,n,t,r);return this._cache.get(i)},n._getOrCreateCacheEntry=function(e,n,t,r,i){var o=this._cache.get(e);return null==o&&(o=y(e,n,t,r,i,this._clearCacheEntry),this._cache.set(e,o)),o},n._fetchAndSaveQuery=function(e,n,t,r,o,a,s){var c=this,u=this._environment,d=u.check(n),p=d.status,m="available"===p,g=m||"partial"===o&&"stale"!==p,_=function(){};switch(r){case"store-only":k=!1,C=!0;break;case"store-or-network":k=!m,C=g;break;case"store-and-network":k=!0,C=g;break;default:k=!0,C=!1}if(C){var v=f(n,e),b=y(e,n,d,v,null,this._clearCacheEntry);this._cache.set(e,b)}if(k){var k,C,x,T=f(n,e);t.subscribe({start:function(t){x=t;var r=c._cache.get(e);r&&r.setNetworkSubscription(x);var o=null==s?void 0:s.start;o&&o((0,i.default)((0,i.default)({},t),{},{unsubscribe:function(){h(n)&&t.unsubscribe()}}))},next:function(){var t=c._getOrCreateCacheEntry(e,n,d,T,x);t.processedPayloadsCount+=1,t.setValue(T),_();var r=null==s?void 0:s.next;null!=r&&r(u.lookup(n.fragment))},error:function(t){var r=c._getOrCreateCacheEntry(e,n,d,t,x);0===r.processedPayloadsCount&&r.setValue(t),_(),x=null,r.setNetworkSubscription(null);var i=null==s?void 0:s.error;i&&i(t)},complete:function(){_(),x=null;var n=c._cache.get(e);n&&n.setNetworkSubscription(null);var t=null==s?void 0:s.complete;t&&t()},unsubscribe:null==s?void 0:s.unsubscribe});var w=this._cache.get(e);if(!w){var I=new Promise(function(e){_=e});I.displayName="Relay("+n.fragment.node.name+")",w=y(e,n,d,I,x,this._clearCacheEntry),this._cache.set(e,w)}}else{var R=null==s?void 0:s.complete;R&&R()}var E=this._cache.get(e);return null!=E||l(!1),u.__log({name:"queryresource.fetch",resourceID:E.id,operation:n,profilerContext:a,fetchPolicy:r,renderPolicy:o,queryAvailability:d,shouldFetch:k}),E},e}();function v(e){return new _(e)}var b=p?new WeakMap:new Map;e.exports={createQueryResource:v,getQueryResourceForEnvironment:function(e){var n=b.get(e);if(n)return n;var t=v(e);return b.set(e,t),t},getQueryCacheIdentifier:m}},95233:function(e,n,t){"use strict";var r=t(3155),i=t(82201),o=i.useMemo;e.exports=function(e){var n=e.children,t=e.environment,a=e.getEnvironmentForActor,s=o(function(){return{environment:t,getEnvironmentForActor:a}},[t,a]);return i.createElement(r.Provider,{value:s},n)}},87848:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(8442));t(710);var i=function(){function e(e){var n=this;(0,r.default)(this,"_retainCount",0),(0,r.default)(this,"_retainDisposable",null),(0,r.default)(this,"_releaseTemporaryRetain",null),this._retain=function(t){return n._retainCount++,1===n._retainCount&&(n._retainDisposable=e(t)),{dispose:function(){n._retainCount=Math.max(0,n._retainCount-1),0===n._retainCount&&null!=n._retainDisposable&&(n._retainDisposable.dispose(),n._retainDisposable=null)}}}}var n=e.prototype;return n.temporaryRetain=function(e){var n,t=this;if(e.isServer())return{dispose:function(){}};var r=this._retain(e),i=null,o=function(){clearTimeout(i),i=null,t._releaseTemporaryRetain=null,r.dispose()};return i=setTimeout(o,3e5),null===(n=this._releaseTemporaryRetain)||void 0===n||n.call(this),this._releaseTemporaryRetain=o,{dispose:function(){var e;null===(e=t._releaseTemporaryRetain)||void 0===e||e.call(t)}}},n.permanentRetain=function(e){var n=this._retain(e);return this.releaseTemporaryRetain(),n},n.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},n.getRetainCount=function(){return this._retainCount},e}();e.exports=i},77370:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=r(t(83718)),s=t(10673),l=t(90224).getQueryResourceForEnvironment,c=t(87848),u=t(78405),d=t(36373),p=d.__internal,h=p.fetchQuery,m=p.getPromiseForActiveRequest,f=d.RelayFeatureFlags,g=d.createOperationDescriptor,y=d.getFragmentIdentifier,_=d.getPendingOperationsForFragment,v=d.getSelector,b=d.getVariablesFromFragment,k=d.handlePotentialSnapshotErrors,C=d.isPromise,x=d.recycleNodesInto,T="function"==typeof WeakMap,w=Object.freeze([]);function I(e){return Array.isArray(e)?e.some(function(e){return e.isMissingData}):e.isMissingData}function R(e){return Array.isArray(e)?e.map(function(e){return e.missingLiveResolverFields}).filter(Boolean).flat():e.missingLiveResolverFields}function E(e,n,t){return Array.isArray(n)?{cacheKey:e,snapshot:n,data:n.map(function(e){return e.data}),isMissingData:I(n),storeEpoch:t}:{cacheKey:e,snapshot:n,data:n.data,isMissingData:I(n),storeEpoch:t}}var S=function(){function e(e){(0,o.default)(this,"_cache",new Map),(0,o.default)(this,"_retainCounts",new Map),this._environment=e}var n=e.prototype;return n.get=function(e){var n,t;return null!==(n=null===(t=this._cache.get(e))||void 0===t?void 0:t[0])&&void 0!==n?n:void 0},n.recordQueryResults=function(e,n){var t=this,r=this._cache.get(e);if(r){var i=r[0],o=r[1];n.forEach(function(e){i.push(e)}),o.temporaryRetain(this._environment)}else{var a=new c(function(){return t._retain(e)});this._cache.set(e,[n,a]),a.temporaryRetain(this._environment)}},n._retain=function(e){var n,t=this,r=(null!==(n=this._retainCounts.get(e))&&void 0!==n?n:0)+1;return this._retainCounts.set(e,r),{dispose:function(){var n,r=(null!==(n=t._retainCounts.get(e))&&void 0!==n?n:0)-1;r>0?t._retainCounts.set(e,r):(t._retainCounts.delete(e),t._cache.delete(e))}}},e}(),P=function(){function e(e){this._environment=e,this._cache=s.create(1e6),f.ENABLE_CLIENT_EDGES&&(this._clientEdgeQueryResultsCache=new S(e))}var n=e.prototype;return n.read=function(e,n,t,r){return this.readWithIdentifier(e,n,y(e,n),t,r)},n.readWithIdentifier=function(e,n,t,r,i){var o=this,s=this._environment;if(null==n)return{cacheKey:t,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var c=s.getStore().getEpoch();if((null==e?void 0:null===(O=e.metadata)||void 0===O?void 0:O.plural)===!0&&(Array.isArray(n)||u(!1),0===n.length))return{cacheKey:t,data:w,isMissingData:!1,snapshot:w,storeEpoch:c};var d=this._cache.get(t);if(null!=d){if("pending"===d.kind&&C(d.promise))throw s.__log({name:"suspense.fragment",data:d.result.data,fragment:e,isRelayHooks:!0,isMissingData:d.result.isMissingData,isPromiseCached:!0,pendingOperations:d.pendingOperations}),d.promise;if("done"===d.kind&&d.result.snapshot&&!(null!==(j=R(d.result.snapshot))&&void 0!==j&&j.length))return this._throwOrLogErrorsInSnapshot(d.result.snapshot),d.result.isMissingData&&s.__log({name:"fragmentresource.missing_data",data:d.result.data,fragment:e,isRelayHooks:!0,cached:!0}),d.result}var p=v(e,n);null!=p||u(!1);var h=null,g=null;if(f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&null!=d&&"missing"===d.kind?(h=d.result,g=d.snapshot):h=E(t,g="PluralReaderSelector"===p.kind?p.selectors.map(function(e){return s.lookup(e)}):s.lookup(p),c),!h.isMissingData)return this._throwOrLogErrorsInSnapshot(g),this._cache.set(t,{kind:"done",result:h}),h;var y=null;if(f.ENABLE_CLIENT_EDGES&&(null===(M=e.metadata)||void 0===M?void 0:M.hasClientEdges)===!0&&(Array.isArray(_=g)?_.some(function(e){var n,t;return(null!==(n=null===(t=e.missingClientEdges)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0}):(null!==(b=null===(k=_.missingClientEdges)||void 0===k?void 0:k.length)&&void 0!==b?b:0)>0)){y=[];var _,b,k,x,T,I=l(this._environment),S=[];x=g,T=function(t){var r;null===(r=t.missingClientEdges)||void 0===r||r.forEach(function(t){var r,i=t.request,a=t.clientEdgeDestinationID,s=o._performClientEdgeQuery(I,e,n,i,a),l=s.queryResult,c=s.requestDescriptor;S.push(l),null===(r=y)||void 0===r||r.push(c)})},Array.isArray(x)?x.forEach(T):T(x),null!=this._clientEdgeQueryResultsCache||u(!1),this._clientEdgeQueryResultsCache.recordQueryResults(t,S)}var P=[];f.ENABLE_CLIENT_EDGES&&y&&(P=y.map(function(e){return m(o._environment,e)}).filter(Boolean));var A="PluralReaderSelector"===p.kind?p.selectors[0].owner:p.owner,B=this._getAndSavePromiseForFragmentRequestInFlight(t,e,A,h),N=null==B?void 0:B.promise,L=null!==(D=null===(F=R(g))||void 0===F?void 0:F.map(function(e){var n=e.liveStateID;return s.getStore().getLiveResolverPromise(n)}))&&void 0!==D?D:[];if(P.length||L.length||C(N)){s.__log({name:"suspense.fragment",data:h.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:h.isMissingData,pendingOperations:[].concat((0,a.default)(null!==(U=null==B?void 0:B.pendingOperations)&&void 0!==U?U:[]),(0,a.default)(null!==(K=y)&&void 0!==K?K:[]))});var O,M,D,F,j,U,K,q=[];if(P.length>0&&(q=q.concat(P)),L.length>0&&(q=q.concat(L)),q.length>0)throw N&&q.push(N),Promise.all(q);if(N)throw N}return f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData&&this._cache.set(t,{kind:"done",result:h}),this._throwOrLogErrorsInSnapshot(g),s.__log({name:"fragmentresource.missing_data",data:h.data,fragment:e,isRelayHooks:!0,cached:!1}),E(t,g,c)},n._performClientEdgeQuery=function(e,n,t,r,o){var a=b(n,t),s=g(r,(0,i.default)((0,i.default)({},a),{},{id:o}),{}),l=h(this._environment,s),c=e.prepare(s,l);return{requestDescriptor:s.request,queryResult:c}},n._throwOrLogErrorsInSnapshot=function(e){var n=this;Array.isArray(e)?e.forEach(function(e){k(n._environment,e.missingRequiredFields,e.relayResolverErrors,e.errorResponseFields)}):k(this._environment,e.missingRequiredFields,e.relayResolverErrors,e.errorResponseFields)},n.readSpec=function(e,n,t){var r={};for(var i in e)r[i]=this.read(e[i],n[i],t,i);return r},n.subscribe=function(e,n){var t=this,r=this._environment,i=e.cacheKey,o=e.snapshot;if(!o)return{dispose:function(){}};var a=this.checkMissedUpdates(e),s=a[0],c=a[1];s&&n();var d=[];if(Array.isArray(o)?(Array.isArray(c)||u(!1),c.forEach(function(e,o){d.push(r.subscribe(e,function(e){var a=r.getStore().getEpoch();t._updatePluralSnapshot(i,c,e,o,a),n()}))})):((null==c||Array.isArray(c))&&u(!1),d.push(r.subscribe(c,function(e){var o=r.getStore().getEpoch(),a=E(i,e,o);f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&a.isMissingData?t._cache.set(i,{kind:"missing",result:a,snapshot:e}):t._cache.set(i,{kind:"done",result:E(i,e,o)}),n()}))),f.ENABLE_CLIENT_EDGES){var p,h,m=null!==(p=null===(h=this._clientEdgeQueryResultsCache)||void 0===h?void 0:h.get(i))&&void 0!==p?p:void 0;if(null!=m&&m.length){var g=l(this._environment);m.forEach(function(e){d.push(g.retain(e))})}}return{dispose:function(){d.forEach(function(e){return e.dispose()}),t._cache.delete(i)}}},n.subscribeSpec=function(e,n){var t=this,r=Object.keys(e).map(function(r){return t.subscribe(e[r],n)});return{dispose:function(){r.forEach(function(e){e.dispose()})}}},n.checkMissedUpdates=function(e){var n=this._environment,t=e.snapshot;if(!t)return[!1,null];var r=null;if(r=n.getStore().getEpoch(),e.storeEpoch===r)return[!1,e.snapshot];var o=e.cacheKey;if(Array.isArray(t)){var a=!1,s=[];if(t.forEach(function(e,t){var r=n.lookup(e.selector),o=e.data,l=x(o,r.data);l!==o&&(r=(0,i.default)((0,i.default)({},r),{},{data:l}),a=!0),s[t]=r}),a){var l=E(o,s,r);f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&l.isMissingData?this._cache.set(o,{kind:"missing",result:l,snapshot:s}):this._cache.set(o,{kind:"done",result:l})}return[a,s]}var c=n.lookup(t.selector),u=t.data,d=x(u,c.data),p={data:d,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,missingRequiredFields:c.missingRequiredFields,relayResolverErrors:c.relayResolverErrors,errorResponseFields:c.errorResponseFields};if(d!==u){var h=E(o,p,r);f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData?this._cache.set(o,{kind:"missing",result:h,snapshot:p}):this._cache.set(o,{kind:"done",result:h})}return[d!==u,p]},n.checkMissedUpdatesSpec=function(e){var n=this;return Object.keys(e).some(function(t){return n.checkMissedUpdates(e[t])[0]})},n._getAndSavePromiseForFragmentRequestInFlight=function(e,n,t,r){var i=this,o=_(this._environment,n,t);if(null==o)return null;var a=o.promise,s=o.pendingOperations,l=a.then(function(){i._cache.delete(e)}).catch(function(n){i._cache.delete(e)});return l.displayName=a.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:l,result:r}),{promise:l,pendingOperations:s}},n._updatePluralSnapshot=function(e,n,t,r,i){var o,s,l,c=this._cache.get(e);if(C(c)){t.selector.node.name,u(!1);return}var d=null==c?void 0:null===(l=c.result)||void 0===l?void 0:l.snapshot;if(d&&!Array.isArray(d)){t.selector.node.name,u(!1);return}var p=d?(0,a.default)(d):(0,a.default)(n);p[r]=t;var h=E(e,p,i);f.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData?this._cache.set(e,{kind:"missing",result:h,snapshot:p}):this._cache.set(e,{kind:"done",result:h})},e}();function A(e){return new P(e)}var B=T?new WeakMap:new Map;e.exports={createFragmentResource:A,getFragmentResourceForEnvironment:function(e){var n=B.get(e);if(n)return n;var t=A(e);return B.set(e,t),t}}},70793:function(e,n,t){"use strict";var r=t(46845),i=t(92265),o=t(77370).getFragmentResourceForEnvironment,a=t(82201),s=a.useEffect,l=a.useState,c=t(36373),u=c.RelayFeatureFlags,d=c.getFragmentIdentifier;t(710),e.exports=function(e,n,t){var a=r(),c=o(a),p=i(!1),h=l(0)[1],m=d(e,n),f=c.readWithIdentifier(e,n,m,t),g=i(!0);function y(){!1!==p.current&&!1!==g.current&&h(function(e){return e+1})}return s(function(){p.current=!0;var e=c.subscribe(f,y);return function(){p.current=!1,e.dispose()}},[a,m]),u.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===f.data||Array.isArray(f.data)&&f.data.length>0&&f.data.every(function(e){return void 0===e})),{data:f.data,disableStoreUpdates:function(){g.current=!1},enableStoreUpdates:function(){g.current=!0,c.checkMissedUpdates(f)[0]&&y()}}}},74186:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(93444),o=t(90224).getQueryResourceForEnvironment,a=t(22788),s=t(82551),l=t(46845),c=t(77370).getFragmentResourceForEnvironment,u=t(70793),d=t(78405),p=t(82201),h=p.useCallback,m=p.useContext,f=p.useReducer,g=t(36373),y=g.__internal.fetchQuery,_=g.createOperationDescriptor,v=g.getFragmentIdentifier,b=g.getRefetchMetadata,k=g.getSelector,C=g.getValueAtPath;function x(e,n){switch(n.type){case"refetch":var t;return(0,r.default)((0,r.default)({},e),{},{fetchPolicy:n.fetchPolicy,mirroredEnvironment:null!==(t=n.refetchEnvironment)&&void 0!==t?t:e.mirroredEnvironment,onComplete:n.onComplete,refetchEnvironment:n.refetchEnvironment,refetchQuery:n.refetchQuery,renderPolicy:n.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:n.environment,mirroredFragmentIdentifier:n.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw n.type,Error("useRefetchableFragmentNode: Unexpected action type")}}t(710),e.exports=function(e,n,t){var p,g,T=l(),w=b(e,t),I=w.refetchableRequest,R=w.fragmentRefPathInResponse,E=v(e,n),S=f(x,{fetchPolicy:void 0,mirroredEnvironment:T,mirroredFragmentIdentifier:E,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),P=S[0],A=S[1],B=P.fetchPolicy,N=P.mirroredEnvironment,L=P.mirroredFragmentIdentifier,O=P.onComplete,M=P.refetchEnvironment,D=P.refetchQuery,F=P.renderPolicy,j=null!=M?M:T,U=o(j),K=c(j),q=m(i),z=j!==N||E!==L,H=s(I),V=H[0],$=H[1],G=H[2],W=n,Z=b(e,t).identifierInfo;if(z)A({type:"reset",environment:j,fragmentIdentifier:E}),G();else if(null!=D&&null!=V){var Q=function(e){O&&O(null!=e?e:null)},Y=null!=V.source?V.source:y(j,D),J=q.wrapPrepareQueryResource(function(){return U.prepare(D,Y,B,F,{error:Q,complete:function(){Q()}},V.fetchKey,q)}),X=K.read(J.fragmentNode,J.fragmentRef,t).data;null!=X||d(!1),W=C(X,R)}var ee=u(e,W,t),en=ee.data,et=ee.disableStoreUpdates,er=ee.enableStoreUpdates,ei=(p=a(),h(function(t,i){if(!0!==p.current)return{dispose:function(){}};var o,a,s,l,c,u,d=null==i?void 0:i.__environment,h=null==i?void 0:i.fetchPolicy,m=null==i?void 0:i.UNSTABLE_renderPolicy,f=null==i?void 0:i.onComplete,y=k(e,n);null==y?(o={},a={}):"PluralReaderSelector"===y.kind?(o=null!==(s=null===(l=y.selectors[0])||void 0===l?void 0:l.owner.variables)&&void 0!==s?s:{},a=null!==(c=null===(u=y.selectors[0])||void 0===u?void 0:u.variables)&&void 0!==c?c:{}):(o=y.owner.variables,a=y.variables);var v=(0,r.default)((0,r.default)((0,r.default)({},o),a),t);null==Z||t.hasOwnProperty(Z.identifierQueryVariableName)||(v[Z.identifierQueryVariableName]=g);var b=_(I,v,{force:!0});return $(b.request.variables,{fetchPolicy:h,__environment:d,__nameForWarning:"refetch"}),A({type:"refetch",fetchPolicy:h,onComplete:f,refetchEnvironment:d,refetchQuery:b,renderPolicy:m}),{dispose:G}},[E,A,G,g=(null==Z?void 0:Z.identifierField)!=null&&null!=en&&"object"==typeof en?en[Z.identifierField]:null,$]));return{fragmentData:en,fragmentRef:W,refetch:ei,disableStoreUpdates:et,enableStoreUpdates:er}}},85901:function(e,n,t){"use strict";var r=t(29402).loadQuery;e.exports=function e(n,t,i){var o=null;null==t.root.getModuleIfRequired()&&(o=t.root.load());var a=t.getPreloadProps(i),s=a.queries,l=a.entryPoints,c=a.extraProps,u={},d={};null!=s&&Object.keys(s).forEach(function(e){var t=s[e],i=t.environmentProviderOptions,o=t.options,a=t.parameters,l=t.variables,c=n.getEnvironment(i);u[e]=r(c,a,l,{fetchPolicy:null==o?void 0:o.fetchPolicy,networkCacheConfig:null==o?void 0:o.networkCacheConfig,__nameForWarning:"loadEntryPoint"},i)}),null!=l&&Object.keys(l).forEach(function(t){var r=l[t];if(null!=r){var i=r.entryPoint,o=r.entryPointParams;d[t]=e(n,i,o)}});var p=!1;return{dispose:function(){p||(null!=u&&Object.values(u).forEach(function(e){(0,e.dispose)()}),null!=d&&Object.values(d).forEach(function(e){(0,e.dispose)()}),p=!0)},entryPoints:d,extraProps:null!=c?c:null,getComponent:function(){var e,n=t.root.getModuleIfRequired();if(null==n)throw o=null!==(e=o)&&void 0!==e?e:t.root.load();return null!=n.default?n.default:n},get isDisposed(){return p},queries:u,rootModuleID:t.root.getModuleId()}}},29402:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(78405),o=t(82201),a=t(36373),s=a.__internal.fetchQueryDeduped,l=a.Observable,c=a.PreloadableQueryRegistry,u=a.RelayFeatureFlags,d=a.ReplaySubject,p=a.createOperationDescriptor,h=a.getRequest,m=a.getRequestIdentifier;t(710);var f=null,g=100001;e.exports={loadQuery:function(e,n,t,a,f){null===(y=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(_=y.ReactCurrentDispatcher)||void 0===_||_.current,g++;var y,_,v,b,k,C,x,T,w,I=null!==(v=null==a?void 0:a.fetchPolicy)&&void 0!==v?v:"store-or-network",R=(0,r.default)((0,r.default)({},null==a?void 0:a.networkCacheConfig),{},{force:!0}),E=!1,S=function(n,t){return E=!0,e.executeWithSource({operation:n,source:t})},P=new d,A=l.create(function(e){return P.subscribe(e)}),B=null,N=!1,L=function(n){N=!0;var r=new d;return k=(!0===u.ENABLE_LOAD_QUERY_REQUEST_DEDUPING?s(e,"raw-network-request-"+m(n,t),function(){return e.getNetwork().execute(n,t,R)}):e.getNetwork().execute(n,t,R)).subscribe({error:function(e){B=e,r.error(e)},next:function(e){r.next(e)},complete:function(){r.complete()}}).unsubscribe,l.create(function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),k()}})},O=function(n,t){!0===u.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0),C=s(e,n.request.identifier,t).subscribe({error:function(e){P.error(e)},next:function(e){P.next(e)},complete:function(){P.complete()}}).unsubscribe},M=function(n){var r=p(n,t,R);b=e.retain(r),"store-only"!==I&&("store-or-network"!==I||"available"!==e.check(r).status)&&O(r,function(){return S(r,L(n.params))})};if("PreloadableConcreteRequest"===n.kind){null!==(w=(x=n.params).id)||i(!1);var D=c.get(w);if(null!=D)M(D);else{var F="store-only"===I?null:L(x);T=c.onLoad(w,function(n){T();var r=p(n,t,R);b=e.retain(r),null!=F&&O(r,function(){return S(r,F)})}).dispose}}else{var j=h(n);w=null!=(x=j.params).cacheID?x.cacheID:x.id,M(j)}var U=!1,K=!1,q=!1,z=function(){K||(b&&b.dispose(),K=!0)},H=function(){q||(E?C&&C():k&&k(),T&&T(),q=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:f,dispose:function(){U||(z(),H(),U=!0)},releaseQuery:z,cancelNetworkRequest:H,fetchKey:g,id:w,get isDisposed(){return U||K},get networkError(){return B},name:x.name,networkCacheConfig:R,fetchPolicy:I,source:N?A:void 0,variables:t}},useTrackLoadQueryInRender:function(){if(null===f){var e,n;f=null===(e=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e?void 0:null===(n=e.ReactCurrentDispatcher)||void 0===n?void 0:n.current}}}},7736:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(36972);e.exports=function(e,n,t){return i(e,n,(0,r.default)((0,r.default)({},t),{},{fetchPolicy:"store-only"}))}},53878:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(85901),o=t(29402).useTrackLoadQueryInRender,a=t(22788),s=t(82201),l=s.useCallback,c=s.useEffect,u=s.useRef,d=s.useState,p={kind:"NullEntryPointReference"};e.exports=function(e,n,t){o();var s,h,m,f,g=null!==(s=null==t?void 0:null===(h=t.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointReference)&&void 0!==s?s:p,y=null!==(m=null==t?void 0:null===(f=t.TEST_ONLY__initialEntryPointData)||void 0===f?void 0:f.entryPointParams)&&void 0!==m?m:null,_=a(),v=u(new Set([g])),b=d(g),k=b[0],C=b[1],x=d(y),T=x[0],w=x[1],I=l(function(){if(_.current){var e={kind:"NullEntryPointReference"};v.current.add(e),C(e)}},[C,_]),R=l(function(t){if(_.current){var r=i(e,n,t);v.current.add(r),C(r),w(t)}},[e,n,C,_]),E=u(!1);return c(function(){return function(){E.current=!0}},[]),c(function(){if(!0===E.current){E.current=!1,"NullEntryPointReference"!==k.kind&&null!=T&&R(T);return}var e=v.current;if(_.current){var n,t=(0,r.default)(e);try{for(t.s();!(n=t.n()).done;){var i=n.value;if(i===k)break;e.delete(i),"NullEntryPointReference"!==i.kind&&i.dispose()}}catch(e){t.e(e)}finally{t.f()}}},[k,T,R,_]),c(function(){return function(){var e,n=(0,r.default)(v.current);try{for(n.s();!(e=n.n()).done;){var t=e.value;"NullEntryPointReference"!==t.kind&&t.dispose()}}catch(e){n.e(e)}finally{n.f()}}},[]),["NullEntryPointReference"===k.kind?null:k,R,I]}},10837:function(e,n,t){"use strict";var r=t(92265),i=t(82201),o=i.useCallback,a=i.useEffect;e.exports=function(){var e=r(null),n=r(!1),t=o(function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),n.current=!1},[]),i=o(function(t){e.current=t,n.current=!0},[]),s=o(function(){e.current=null,n.current=!1},[]);return a(function(){return t},[t]),{isFetchingRef:n,startFetch:i,disposeFetch:t,completeFetch:s}}},57668:function(e,n,t){"use strict";var r=t(12034),i=t(70793),o=t(29402).useTrackLoadQueryInRender,a=t(28606);t(82201).useDebugValue;var s=t(36373).getFragment;e.exports=function(e,n){var t,l=r.get();return l?l.useFragment(e,n):(o(),a(t=s(e),"first argument of useFragment()"),i(t,n,"useFragment()").data)}},22788:function(e,n,t){"use strict";var r=t(82201),i=r.useEffect,o=r.useRef;e.exports=function(){var e=o(!0);return i(function(){return e.current=!0,function(){e.current=!1}},[]),e}},62744:function(e,n,t){"use strict";var r=t(46845),i=t(78405),o=t(82201),a=t(36373),s=a.__internal.getObservableForActiveRequest,l=a.getSelector,c=o.useEffect,u=o.useState,d=o.useMemo;e.exports=function(e,n){var t=r(),o=d(function(){var r=l(e,n);return null==r?null:("SingularReaderSelector"!==r.kind&&i(!1),s(t,r.owner))},[t,e,n]),a=u(null!=o),p=a[0],h=a[1];return c(function(){var e;if(h(null!=o),null!=o){var n=function(){h(!1)};e=o.subscribe({complete:n,error:n})}return function(){e&&e.unsubscribe()}},[o]),p}},36972:function(e,n,t){"use strict";var r=t(29402).useTrackLoadQueryInRender,i=t(43652),o=t(61738),a=t(46845),s=t(36373).__internal.fetchQuery;e.exports=function(e,n,t){r();var l=a(),c=o(e,n,t&&t.networkCacheConfig?t.networkCacheConfig:{force:!0});return i({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==t?void 0:t.fetchKey,fetchObservable:s(l,c),fetchPolicy:null==t?void 0:t.fetchPolicy,query:c,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy})}},43652:function(e,n,t){"use strict";var r=t(12034),i=t(70793),o=t(93444),a=t(90224),s=a.getQueryCacheIdentifier,l=a.getQueryResourceForEnvironment,c=t(10837),u=t(46845),d=t(82201),p=d.useContext,h=d.useEffect,m=d.useState,f=d.useRef;e.exports=function(e){var n,t,a,d=e.query,g=e.componentDisplayName,y=e.fetchObservable,_=e.fetchPolicy,v=e.fetchKey,b=e.renderPolicy,k=u(),C=p(o),x=l(k),T=m(0),w=T[0],I=T[1],R=c(),E=R.startFetch,S=R.completeFetch,P=s(k,d,_,b,"".concat(w,"-").concat(null!=v?v:"")),A=C.wrapPrepareQueryResource(function(){return x.prepareWithIdentifier(P,d,y,_,b,{start:E,complete:S,error:S},C)}),B=f(!1);return h(function(){return function(){B.current=!0}},[]),h(function(){if(!0===B.current){B.current=!1,I(function(e){return e+1});return}var e=x.retain(A,C);return function(){e.dispose()}},[k,P]),h(function(){x.releaseTemporaryRetain(A)}),n=A.fragmentNode,t=A.fragmentRef,(a=r.get())&&a.useFragment__internal?a.useFragment__internal(n,t,g):i(n,t,g).data}},99093:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(10837),o=t(22788),a=t(62744),s=t(46845),l=t(78405),c=t(82201),u=c.useCallback,d=c.useEffect,p=c.useState,h=t(36373),m=h.__internal.fetchQuery,f=h.ConnectionInterface,g=h.createOperationDescriptor,y=h.getPaginationVariables,_=h.getRefetchMetadata,v=h.getSelector,b=h.getValueAtPath;t(710),e.exports=function(e){var n=e.direction,t=e.fragmentNode,c=e.fragmentRef,h=e.fragmentIdentifier,k=e.fragmentData,C=e.connectionPathInFragmentData,x=e.paginationRequest,T=e.paginationMetadata,w=e.componentDisplayName,I=e.observer,R=e.onReset,E=s(),S=i(),P=S.isFetchingRef,A=S.startFetch,B=S.disposeFetch,N=S.completeFetch,L=_(t,w).identifierInfo,O=(null==L?void 0:L.identifierField)!=null&&null!=k&&"object"==typeof k?k[L.identifierField]:null,M=o(),D=p(E),F=D[0],j=D[1],U=p(h),K=U[0],q=U[1],z=a(t,c);(E!==F||h!==K)&&(B(),R(),j(E),q(h));var H=function(e,n,t,r){var i,o,a,s=f.get(),c=s.EDGES,u=s.PAGE_INFO,d=s.HAS_NEXT_PAGE,p=s.HAS_PREV_PAGE,h=s.END_CURSOR,m=s.START_CURSOR,g=b(t,r);if(null==g)return{cursor:null,hasMore:!1};"object"!=typeof g&&l(!1);var y=g[c],_=g[u];if(null==y||null==_)return{cursor:null,hasMore:!1};Array.isArray(y)||l(!1),"object"!=typeof _&&l(!1);var v="forward"===e?null!==(i=_[h])&&void 0!==i?i:null:null!==(o=_[m])&&void 0!==o?o:null;return null===v||"string"==typeof v||l(!1),a="forward"===e?null!=v&&!0===_[d]:null!=v&&!0===_[p],{cursor:v,hasMore:a}}(n,0,k,C),V=H.cursor,$=H.hasMore;return d(function(){return function(){B()}},[B]),[u(function(e,i){var o=null==i?void 0:i.onComplete;if(!0!==M.current)return{dispose:function(){}};var a=v(t,c);if(!0===P.current||null==k||z)return o&&o(null),{dispose:function(){}};null!=a&&"PluralReaderSelector"!==a.kind||l(!1);var s=a.owner.variables,u=a.variables,d=null==i?void 0:i.UNSTABLE_extraVariables,p=y(n,e,V,(0,r.default)((0,r.default)({},s),u),(0,r.default)({},d),T);return null!=L&&(p[L.identifierQueryVariableName]=O),m(E,g(x,p,{force:!0})).subscribe((0,r.default)((0,r.default)({},I),{},{start:function(e){A(e),I.start&&I.start(e)},complete:function(){N(),I.complete&&I.complete(),o&&o(null)},error:function(e){N(),I.error&&I.error(e),o&&o(e)}})),{dispose:B}},[E,O,n,V,A,B,N,P,z,k,t.name,c,w]),$,B]}},61738:function(e,n,t){"use strict";var r=t(91246),i=t(82201),o=t(36373),a=o.createOperationDescriptor,s=o.getRequest,l=i.useMemo;e.exports=function(e,n,t){var i=r(n),o=r(t||{});return l(function(){return a(s(e),i,o)},[e,i,o])}},91246:function(e,n,t){"use strict";var r=t(49150),i=t(82201).useState;e.exports=function(e){var n=i(e),t=n[0],o=n[1];return r(e,t)?t:(o(e),e)}},95085:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(22788),o=t(46845),a=t(82201),s=t(36373).commitMutation,l=a.useState,c=a.useEffect,u=a.useRef,d=a.useCallback;e.exports=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,t=o(),a=i(),p=u(t),h=u(e),m=u(new Set),f=l(!1),g=f[0],y=f[1],_=d(function(n){p.current===t&&h.current===e&&(m.current.delete(n),a.current&&y(m.current.size>0))},[t,a,e]);return c(function(){(p.current!==t||h.current!==e)&&(m.current=new Set,a.current&&y(!1),p.current=t,h.current=e)},[t,a,e]),[d(function(i){a.current&&y(!0);var o=n(t,(0,r.default)((0,r.default)({},i),{},{mutation:e,onCompleted:function(e,n){var t;_(o),null===(t=i.onCompleted)||void 0===t||t.call(i,e,n)},onError:function(e){var n;_(o),null===(n=i.onError)||void 0===n||n.call(i,e)},onUnsubscribe:function(){var e;_(o),null===(e=i.onUnsubscribe)||void 0===e||e.call(i)},onNext:function(){var e;null===(e=i.onNext)||void 0===e||e.call(i)}}));return m.current.add(o),o},[_,n,t,a,e]),g]}},25202:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(12034),o=t(74186),a=t(99093),s=t(28606),l=t(82201),c=l.useCallback,u=(l.useDebugValue,l.useState),d=t(36373),p=d.getFragment,h=d.getFragmentIdentifier,m=d.getPaginationMetadata;function f(e){var n=u(!1),t=n[0],i=n[1],o=a((0,r.default)((0,r.default)({},e),{},{observer:{start:function(){return i(!0)},complete:function(){return i(!1)},error:function(){return i(!1)}},onReset:function(){return i(!1)}}));return[o[0],o[1],t,o[2]]}e.exports=function(e,n){var t,a,l,u,d,g,y,_,v,b,k,C,x,T,w,I,R,E,S,P=i.get();return P?P.usePaginationFragment(e,n):(s(t=p(e),"first argument of usePaginationFragment()"),u=(l=m(t,a="usePaginationFragment()")).connectionPathInFragmentData,d=l.paginationRequest,g=l.paginationMetadata,_=(y=o(t,n,a)).fragmentData,v=y.fragmentRef,b=y.refetch,x=(C=f({componentDisplayName:a,connectionPathInFragmentData:u,direction:"backward",fragmentData:_,fragmentIdentifier:k=h(t,v),fragmentNode:t,fragmentRef:v,paginationMetadata:g,paginationRequest:d}))[0],T=C[1],w=C[2],I=C[3],E=(R=f({componentDisplayName:a,connectionPathInFragmentData:u,direction:"forward",fragmentData:_,fragmentIdentifier:k,fragmentNode:t,fragmentRef:v,paginationMetadata:g,paginationRequest:d}))[0],{data:_,loadNext:E,loadPrevious:x,hasNext:R[1],hasPrevious:T,isLoadingNext:R[2],isLoadingPrevious:w,refetch:c(function(e,n){return S(),I(),b(e,(0,r.default)((0,r.default)({},n),{},{__environment:void 0}))},[S=R[3],I,b])})}},50183:function(e,n,t){"use strict";var r=t(29402).useTrackLoadQueryInRender,i=t(43652),o=t(61738),a=t(46845),s=t(78405);t(82201).useDebugValue;var l=t(36373).__internal,c=l.fetchQueryDeduped,u=l.fetchQuery;t(710),e.exports=function(e,n,t){r();var l=a(),d=n.fetchKey,p=n.fetchPolicy,h=n.source,m=o(e,n.variables,n.networkCacheConfig);if("PreloadedQuery_DEPRECATED"===n.kind)m.request.node.params.name!==n.name&&s(!1),f={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:c(l,m.request.identifier,function(){return l===n.environment&&null!=h?l.executeWithSource({operation:m,source:h}):l.execute({operation:m})}),fetchPolicy:p,query:m,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy};else{var f,g,y=u(l,m);null!=h&&l===n.environment?g=h.ifEmpty(y):(n.environment,g=y),f={componentDisplayName:"usePreloadedQuery()",fetchObservable:g,fetchKey:d,fetchPolicy:p,query:m,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy}}return i(f)}},82551:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(29402),o=i.loadQuery,a=i.useTrackLoadQueryInRender,s=t(22788),l=t(46845),c=t(82201),u=c.useCallback,d=c.useEffect,p=c.useRef,h=c.useState,m=t(36373).getRequest,f={kind:"NullQueryReference"};function g(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==m(e).params.metadata.live}e.exports=function(e,n){var t=null!=n?n:f,i=l();a();var c=s(),m=p(new Set([t])),y=h(function(){return t}),_=y[0],v=y[1],b=h(function(){return t}),k=b[0],C=b[1];t!==k&&(m.current.add(t),C(t),v(t));var x=u(function(){c.current&&(m.current.add(f),v(f))},[c]),T=u(function(n,t){var r=null!=t&&t.hasOwnProperty("__environment")?{fetchPolicy:t.fetchPolicy,networkCacheConfig:t.networkCacheConfig,__nameForWarning:t.__nameForWarning}:t;if(c.current){var a,s=o(null!==(a=null==t?void 0:t.__environment)&&void 0!==a?a:i,e,n,r);m.current.add(s),v(s)}},[i,e,v,c]),w=p(!1);return d(function(){return function(){w.current=!0}},[]),d(function(){if(!0===w.current){w.current=!1,"NullQueryReference"!==_.kind&&T(_.variables,{fetchPolicy:_.fetchPolicy,networkCacheConfig:_.networkCacheConfig});return}var n=m.current;if(c.current){var t,i=(0,r.default)(n);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o===_)break;n.delete(o),"NullQueryReference"!==o.kind&&(g(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){i.e(e)}finally{i.f()}}},[_,c,T,e]),d(function(){return function(){var n,t=(0,r.default)(m.current);try{for(t.s();!(n=t.n()).done;){var i=n.value;"NullQueryReference"!==i.kind&&(g(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){t.e(e)}finally{t.f()}}},[e]),["NullQueryReference"===_.kind?null:_,T,x]}},55662:function(e,n,t){"use strict";var r=t(12034),i=t(74186),o=t(28606);t(82201).useDebugValue;var a=t(36373).getFragment;e.exports=function(e,n){var t,s,l=r.get();return l?l.useRefetchableFragment(e,n):(o(t=a(e),"first argument of useRefetchableFragment()"),[(s=i(t,n,"useRefetchableFragment()")).fragmentData,s.refetch])}},46845:function(e,n,t){"use strict";var r=t(3155),i=t(78405),o=t(82201).useContext;e.exports=function(){var e=o(r);return null!=e||i(!1),e.environment}},28606:function(e,n,t){"use strict";t(92265),t(710),e.exports=function(e,n){}},1708:function(e,n,t){"use strict";var r=t(46845),i=t(82201),o=i.useEffect,a=i.useRef;e.exports=function(e,n){var t=r(),i=a(null);return o(function(){var r=t.getStore(),o=r.lookupInvalidationState(e),a=r.subscribeToInvalidationState(o,n);return i.current=a,function(){return a.dispose()}},[Array.from(e).sort().join(""),n,t]),{dispose:function(){null!=i.current&&i.current.dispose()}}}},93327:function(e,n,t){"use strict";var r=t(46845),i=t(82201).useEffect,o=t(36373).requestSubscription;e.exports=function(e,n){var t=null!=n?n:o,a=r();i(function(){return t(a,e).dispose},[a,e,t])}},92265:function(e,n,t){"use strict";var r=t(82201).useMemo;e.exports=function(e){return r(function(){return{current:e}},[])}},95066:function(e,n,t){"use strict";t.d(n,{ZP:function(){return g}});var r=t(69937),i=t(98229),o=t(82201),a=t(78098),s={disabled:!1},l=t(34376),c="unmounted",u="exited",d="entering",p="entered",h="exiting",m=function(e){function n(n,t){r=e.call(this,n,t)||this;var r,i,o=t&&!t.isMounting?n.enter:n.appear;return r.appearStatus=null,n.in?o?(i=u,r.appearStatus=d):i=p:i=n.unmountOnExit||n.mountOnEnter?c:u,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===c?{status:u}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==d&&t!==p&&(n=d):(t===d||t===p)&&(n=h)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,r=this.props.timeout;return e=n=t=r,null!=r&&"number"!=typeof r&&(e=r.exit,n=r.enter,t=void 0!==r.appear?r.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){if(void 0===e&&(e=!1),null!==n){if(this.cancelNextCallback(),n===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var t=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);t&&t.scrollTop}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},t.performEnter=function(e){var n=this,t=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],l=i[1],c=this.getTimeouts(),u=r?c.appear:c.enter;if(!e&&!t||s.disabled){this.safeSetState({status:p},function(){n.props.onEntered(o)});return}this.props.onEnter(o,l),this.safeSetState({status:d},function(){n.props.onEntering(o,l),n.onTransitionEnd(u,function(){n.safeSetState({status:p},function(){n.props.onEntered(o,l)})})})},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);if(!n||s.disabled){this.safeSetState({status:u},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:h},function(){e.props.onExiting(r),e.onTransitionEnd(t.exit,function(){e.safeSetState({status:u},function(){e.props.onExited(r)})})})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,n.nextCallback=null,e(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!t||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)},t.render=function(){var e=this.state.status;if(e===c)return null;var n=this.props,t=n.children,i=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,r.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(l.Z.Provider,{value:null},"function"==typeof t?t(e,i):o.cloneElement(o.Children.only(t),i))},n}(o.Component);function f(){}m.contextType=l.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:f,onEntering:f,onEntered:f,onExit:f,onExiting:f,onExited:f},m.UNMOUNTED=c,m.EXITED=u,m.ENTERING=d,m.ENTERED=p,m.EXITING=h;var g=m},34376:function(e,n,t){"use strict";var r=t(82201);n.Z=r.createContext(null)},36373:function(e,n,t){e.exports=t(69352)},99741:function(e,n,t){"use strict";var r=t(30584),i=t(44451),o=t(78405);e.exports=function(e){switch(e){case"connection":return r;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}o(!1)}},30584:function(e,n,t){"use strict";var r=t(13475).generateClientID,i=t(42597).getStableStorageKey,o=t(761),a=t(20137),s=t(78405);t(710);var l="connection",c="__connection_next_edge_index";function u(e,n,t){if(null==t)return t;var i=a.get().EDGES,o=n.getValue(c);"number"!=typeof o&&s(!1);var l=r(n.getDataID(),i,o),u=e.create(l,t.getType());return u.copyFieldsFrom(t),null==u.getValue("cursor")&&u.setValue(null,"cursor"),n.setValue(o+1,c),u}function d(e,n,t){for(var r=a.get().NODE,i=0;i0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:o,RangeOperations:a,convert:function(e,n,t,o){var a=t?[t]:[],l=o?[o]:[];return e.forEach(function(e){switch(e.type){case"NODE_DELETE":var t,o,c=(t=e.deletedIDFieldName,(o=s(n))?function(e,n){var r=e.getRootField(o);if(r){var i=r.getValue(t);(Array.isArray(i)?i:[i]).forEach(function(n){n&&"string"==typeof n&&e.delete(n)})}}:null);c&&(a.push(c),l.push(c));break;case"RANGE_ADD":var u=function(e,n){var t=e.parentID,o=e.connectionInfo,a=e.edgeName;if(!t)return null;var l=s(n);return o&&l?function(e,n){var s=e.get(t);if(s){var c=e.getRootField(l);if(c){var u,d=c.getLinkedRecord(a),p=(0,r.default)(o);try{for(p.s();!(u=p.n()).done;){var h=u.value;if(d){var m=i.getConnection(s,h.key,h.filters);if(m){var f=i.buildConnectionEdge(e,m,d);if(f)switch(h.rangeBehavior){case"append":i.insertEdgeAfter(m,f);break;case"prepend":i.insertEdgeBefore(m,f)}}}}}catch(e){p.e(e)}finally{p.f()}}}}:null}(e,n);u&&(a.push(u),l.push(u));break;case"RANGE_DELETE":var d=function(e,n){var t=e.parentID,o=e.connectionKeys,a=e.pathToConnection,l=e.deletedIDFieldName;if(!t)return null;var c=s(n);return c?function(e,n){if(n){var s=[],u=n[c];if(u&&Array.isArray(l)){var d,p=(0,r.default)(l);try{for(p.s();!(d=p.n()).done;){var h=d.value;u&&"object"==typeof u&&(u=u[h])}}catch(e){p.e(e)}finally{p.f()}Array.isArray(u)?u.forEach(function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&s.push(e.id)}):u&&u.id&&"string"==typeof u.id&&s.push(u.id)}else u&&"string"==typeof l&&"object"==typeof u&&("string"==typeof(u=u[l])?s.push(u):Array.isArray(u)&&u.forEach(function(e){"string"==typeof e&&s.push(e)}));(function(e,n,t,o,a){var s=o.get(e);if(s&&!(t.length<2)){for(var l=s,c=1;c0||o(!1),t>0||o(!1),this._responses=new Map,this._size=n,this._ttl=t}var n=e.prototype;return n.clear=function(){this._responses.clear()},n.get=function(e,n){var t=this,i=s(e,n);this._responses.forEach(function(e,n){e.fetchTime+t._ttl>=Date.now()||t._responses.delete(n)});var o=this._responses.get(i);return null==o?null:Array.isArray(o.payload)?o.payload.map(function(e){return(0,r.default)((0,r.default)({},e),{},{extensions:(0,r.default)((0,r.default)({},e.extensions),{},{cacheTimestamp:o.fetchTime})})}):(0,r.default)((0,r.default)({},o.payload),{},{extensions:(0,r.default)((0,r.default)({},o.payload.extensions),{},{cacheTimestamp:o.fetchTime})})},n.set=function(e,n,t){var r=Date.now(),i=s(e,n);if(this._responses.delete(i),this._responses.set(i,{fetchTime:r,payload:t}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function s(e,n){return JSON.stringify(i({queryID:e,variables:n}))}e.exports=a},70113:function(e,n,t){"use strict";var r=t(64674);e.exports=function(e,n){return{execute:function(t,i,o,a){var s=r();return n.execute(t,i,o,a,function(n){e.__log({name:"network.info",networkRequestId:s,info:n})}).do({start:function(n){e.__log({name:"network.start",networkRequestId:s,params:t,variables:i,cacheConfig:o})},next:function(n){e.__log({name:"network.next",networkRequestId:s,response:n})},error:function(n){e.__log({name:"network.error",networkRequestId:s,error:n})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}})}}}},13323:function(e,n,t){"use strict";var r=t(65070),i=t(78405);function o(e){var n=e;return"function"==typeof n?n=n():n.default&&(n=n.default),n}function a(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.FRAGMENT}function s(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.REQUEST}function l(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.UPDATABLE_QUERY}function c(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.INLINE_DATA_FRAGMENT}function u(e){var n=o(e);return a(n)||i(!1),n}t(710),e.exports={getFragment:u,getNode:o,getPaginationFragment:function(e){var n,t=u(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch,i=null==r?void 0:r.connection;return null===r||"object"!=typeof r||null===i||"object"!=typeof i?null:t},getRefetchableFragment:function(e){var n,t=u(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch;return null===r||"object"!=typeof r?null:t},getRequest:function(e){var n=o(e);return s(n)||i(!1),n},getUpdatableQuery:function(e){var n=o(e);return l(n)||i(!1),n},getInlineDataFragment:function(e){var n=o(e);return c(n)||i(!1),n},graphql:function(e){i(!1)},isFragment:a,isRequest:s,isUpdatableQuery:l,isInlineDataFragment:c}},33175:function(e){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var n=e.prototype;return n.set=function(e,n){this._preloadableQueries.set(e,n);var t=this._callbacks.get(e);null!=t&&t.forEach(function(e){try{e(n)}catch(e){setTimeout(function(){throw e},0)}})},n.get=function(e){return this._preloadableQueries.get(e)},n.onLoad=function(e,n){var t,r=null!==(t=this._callbacks.get(e))&&void 0!==t?t:new Set;return r.add(n),this._callbacks.set(e,r),{dispose:function(){r.delete(n)}}},n.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},12970:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(6191),o=t(47788).createOperationDescriptor,a=t(98616),s=t(48926),l=t(13323).getRequest,c=t(78405);function u(e,n){return s.fetchQuery(e,n).map(function(){return e.lookup(n.fragment)})}e.exports=function(e,n,t,s){var d,p=l(n);"query"!==p.params.operationKind&&c(!1);var h=o(p,t,(0,r.default)({force:!0},null==s?void 0:s.networkCacheConfig)),m=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function f(n){return a(e,n.missingRequiredFields,n.relayResolverErrors,n.errorResponseFields),n.data}switch(m){case"network-only":return u(e,h).map(f);case"store-or-network":if("available"===e.check(h).status)return i.from(e.lookup(h.fragment)).map(f);return u(e,h).map(f);default:throw Error("fetchQuery: Invalid fetchPolicy "+m)}}},48926:function(e,n,t){"use strict";var r=t(6191),i=t(81701),o=t(78405),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,n,t){return r.create(function(a){var s,l=c(e),d=l.get(n);return d||t().finally(function(){return l.delete(n)}).subscribe({start:function(e){d={identifier:n,subject:new i,subjectForInFlightStatus:new i,subscription:e,promise:null},l.set(n,d)},next:function(e){var t=u(l,n);t.subject.next(e),t.subjectForInFlightStatus.next(e)},error:function(e){var t=u(l,n);t.subject.error(e),t.subjectForInFlightStatus.error(e)},complete:function(){var e=u(l,n);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var t=u(l,n);t.subject.unsubscribe(),t.subjectForInFlightStatus.unsubscribe()}}),null!=d||o(!1),(s=d,r.create(function(e){var n=s.subject.subscribe(e);return function(){n.unsubscribe();var e=l.get(s.identifier);if(e){var t=e.subscription;null!=t&&0===e.subject.getObserverCount()&&(t.unsubscribe(),l.delete(s.identifier))}}})).subscribe(a)})}function l(e,n,t){return r.create(function(n){var r=t.subjectForInFlightStatus.subscribe({error:n.error,next:function(r){if(!e.isRequestActive(t.identifier)){n.complete();return}n.next()},complete:n.complete,unsubscribe:n.complete});return function(){r.unsubscribe()}})}function c(e){var n=a.get(e);if(null!=n)return n;var t=new Map;return a.set(e,t),t}function u(e,n){var t=e.get(n);return null!=t||o(!1),t}e.exports={fetchQuery:function(e,n){return s(e,n.request.identifier,function(){return e.execute({operation:n})})},fetchQueryDeduped:s,getPromiseForActiveRequest:function(e,n){var t=c(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?new Promise(function(n,i){var o=!1;l(e,t,r).subscribe({complete:n,error:i,next:function(e){o&&n(e)}}),o=!0}):null},getObservableForActiveRequest:function(e,n){var t=c(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?l(e,t,r):null}}},82268:function(e,n,t){"use strict";var r=t(47788).createOperationDescriptor,i=t(13323).getRequest;e.exports=function(e,n,t,o){var a=i(n);if("query"!==a.params.operationKind)throw Error("fetchQuery: Expected query operation");var s=r(a,t,o);return e.execute({operation:s}).map(function(){return e.lookup(s.fragment).data}).toPromise()}},13475:function(e,n,t){"use strict";var r=t(97250),i=t(30055).intern,o="client:",a=0;e.exports={generateClientID:function(e,n,t){var a=(r.STRING_INTERN_LEVEL<=0?e:i(e,r.MAX_DATA_ID_LENGTH))+":"+n;return null!=t&&(a+=":"+t),0!==a.indexOf(o)&&(a=o+a),a},generateClientObjectClientID:function(e,n,t){var r="".concat(o).concat(e,":").concat(n);return null!=t&&(r+=":"+t),r},generateUniqueClientID:function(){return"".concat(o,"local:").concat(a++)},isClientID:function(e){return 0===e.indexOf(o)}}},72592:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(94740),o=t(92505),a=t(30534),s=t(65070),l=t(13475).isClientID,c=t(18402),u=t(72757),d=t(62818).getLocalVariables,p=t(12966),h=t(71600),m=h.EXISTENT,f=h.UNKNOWN,g=t(42597),y=t(88891),_=y.TYPE_SCHEMA_TYPE,v=y.generateTypeID,b=t(78405),k=s.ACTOR_CHANGE,C=s.CONDITION,x=s.CLIENT_COMPONENT,T=s.CLIENT_EXTENSION,w=s.CLIENT_EDGE_TO_CLIENT_OBJECT,I=s.DEFER,R=s.FRAGMENT_SPREAD,E=s.INLINE_FRAGMENT,S=s.LINKED_FIELD,P=s.LINKED_HANDLE,A=s.MODULE_IMPORT,B=s.RELAY_RESOLVER,N=s.RELAY_LIVE_RESOLVER,L=s.SCALAR_FIELD,O=s.SCALAR_HANDLE,M=s.STREAM,D=s.TYPE_DISCRIMINATOR,F=g.getModuleOperationKey,j=g.getStorageKey,U=g.getArgumentValues,K=function(){function e(e,n,t,r,i,o,a,s){this._getSourceForActor=e,this._getTargetForActor=n,this._getDataID=a,this._source=e(t),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(t),c=l[0],u=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=c,this._operationLoader=null!=o?o:null,this._recordSourceProxy=u,this._recordWasMissing=!1,this._variables=r,this._shouldProcessClientComponents=s}var n=e.prototype;return n._getMutatorAndRecordProxyForActor=function(e){var n=this._mutatorRecordSourceProxyCache.get(e);if(null==n){var t=this._getTargetForActor(e),r=new i(this._getSourceForActor(e),t),a=new o(r,this._getDataID,void 0,this._handlers);n=[r,a],this._mutatorRecordSourceProxyCache.set(e,n)}return n},n.check=function(e,n){return this._assignClientAbstractTypes(e),this._traverse(e,n),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||b(!1),this._variables[e]},n._handleMissing=function(){this._recordWasMissing=!0},n._handleMissingScalarField=function(e,n){if(!("id"===e.name&&null==e.alias&&l(n))){var t,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(t=o.n()).done;){var a=t.value;if("scalar"===a.kind){var s=a.handle(e,this._recordSourceProxy.get(n),i,this._recordSourceProxy);if(void 0!==s)return s}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},n._handleMissingLinkField=function(e,n){var t,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(t=o.n()).done;){var a=t.value;if("linked"===a.kind){var s=a.handle(e,this._recordSourceProxy.get(n),i,this._recordSourceProxy);if(void 0!==s&&(null===s||this._mutator.getStatus(s)===m))return s}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},n._handleMissingPluralLinkField=function(e,n){var t,i=this,o=void 0!=e.args?U(e.args,this._variables):{},a=(0,r.default)(this._handlers);try{for(a.s();!(t=a.n()).done;){var s=t.value;if("pluralLinked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(n),o,this._recordSourceProxy);if(null!=l){if(l.every(function(e){return null!=e&&i._mutator.getStatus(e)===m}))return l}else if(null===l)return null}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},n._traverse=function(e,n){var t=this._mutator.getStatus(n);if(t===f&&this._handleMissing(),t===m){var r=this._source.get(n),i=p.getInvalidationEpoch(r);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,n)}},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case L:t._checkScalar(r,n);break;case S:r.plural?t._checkPluralLink(r,n):t._checkLink(r,n);break;case k:t._checkActorChange(r.linkedField,n);break;case C:!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case E:var i=r.abstractKey;if(null==i)t._mutator.getType(n)===r.type&&t._traverseSelections(r.selections,n);else{var o=t._mutator.getType(n);null!=o||b(!1);var a=v(o),s=t._mutator.getValue(a,i);!0===s?t._traverseSelections(r.selections,n):null==s&&t._handleMissing()}break;case P:var l=c(r,e,t._variables);l.plural?t._checkPluralLink(l,n):t._checkLink(l,n);break;case O:var p=u(r,e,t._variables);t._checkScalar(p,n);break;case A:t._checkModuleImport(r,n);break;case I:case M:t._traverseSelections(r.selections,n);break;case R:var h=t._variables;t._variables=d(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=h;break;case T:var m=t._recordWasMissing;t._traverseSelections(r.selections,n),t._recordWasMissing=m;break;case D:var f=r.abstractKey,g=t._mutator.getType(n);null!=g||b(!1);var y=v(g);null==t._mutator.getValue(y,f)&&t._handleMissing();break;case x:if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case B:case N:t._checkResolver(r,n);break;case w:t._checkResolver(r.backingField,n);break;default:b(!1)}})},n._checkResolver=function(e,n){e.fragment&&this._traverseSelections([e.fragment],n)},n._checkModuleImport=function(e,n){var t=this._operationLoader;null!==t||b(!1);var r=F(e.documentName),i=this._mutator.getValue(n,r);if(null==i){void 0===i&&this._handleMissing();return}var o=t.get(i);if(null!=o){var s=a(o),l=this._variables;this._variables=d(this._variables,s.argumentDefinitions,e.args),this._traverse(s,n),this._variables=l}else this._handleMissing()},n._checkScalar=function(e,n){var t=j(e,this._variables),r=this._mutator.getValue(n,t);void 0===r&&void 0!==(r=this._handleMissingScalarField(e,n))&&this._mutator.setValue(n,t,r)},n._checkLink=function(e,n){var t=j(e,this._variables),r=this._mutator.getLinkedRecordID(n,t);void 0===r&&(null!=(r=this._handleMissingLinkField(e,n))?this._mutator.setLinkedRecordID(n,t,r):null===r&&this._mutator.setValue(n,t,null)),null!=r&&this._traverse(e,r)},n._checkPluralLink=function(e,n){var t=this,r=j(e,this._variables),i=this._mutator.getLinkedRecordIDs(n,r);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,n))?this._mutator.setLinkedRecordIDs(n,r,i):null===i&&this._mutator.setValue(n,r,null)),i&&i.forEach(function(n){null!=n&&t._traverse(e,n)})},n._checkActorChange=function(e,n){var t=j(e,this._variables),r=this._source.get(n),i=null!=r?p.getActorLinkedRecordID(r,t):r;if(null==i)void 0===i&&this._handleMissing();else{var o=i[0],a=i[1],s=this._source,l=this._mutator,c=this._recordSourceProxy,u=this._getMutatorAndRecordProxyForActor(o),d=u[0],h=u[1];this._source=this._getSourceForActor(o),this._mutator=d,this._recordSourceProxy=h,this._assignClientAbstractTypes(e),this._traverse(e,a),this._source=s,this._mutator=l,this._recordSourceProxy=c}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,i=Object.keys(n);t0?"active":"inactive";break;default:this._state,I(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},n._schedule=function(e){var n=this,t=this._scheduler;if(null!=t){var r=this._nextSubscriptionId++;a.create(function(n){var r=t.schedule(function(){try{e(),n.complete()}catch(e){n.error(e)}});return function(){return t.cancel(r)}}).subscribe({complete:function(){return n._complete(r)},error:function(e){return n._error(e)},start:function(e){return n._start(r,e)}})}else e()},n._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},n._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},n._start=function(e,n){this._subscriptions.set(e,n),this._updateActiveState()},n._next=function(e,n){var t=this;this._schedule(function(){var e=p(function(){t._handleNext(n),t._maybeCompleteSubscriptionOperationTracking()})[0];t._log({name:"execute.next",executeId:t._executeId,response:n,duration:e})})},n._handleErrorResponse=function(e){var n=this,t=[];return e.forEach(function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var r=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=r?r.map(function(e){return e.message}).join("\n"):"(No errors)",o=c.create("RelayNetwork","No data returned for operation `"+n._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw o.source={errors:r,operation:n._operation.request.node,variables:n._operation.request.variables},o.stack,o}t.push(e)}}),t},n._handleOptimisticResponses=function(e){if(e.length>1)return e.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.isOptimistic)===!0})&&I(!1),!1;var n,t=e[0],r=(null===(n=t.extensions)||void 0===n?void 0:n.isOptimistic)===!0;return r&&"started"!==this._state&&I(!1),!!r&&(this._processOptimisticResponse(t,null,this._treatMissingFieldsAsNull),this._sink.next(t),!0)},n._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var n=Array.isArray(e)?e:[e],t=this._handleErrorResponse(n);if(0===t.length){n.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.is_final)===!0})&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(e);return}if(!this._handleOptimisticResponses(t)){var r,i,o=(r=[],i=[],t.forEach(function(e){if(null!=e.path||null!=e.label){var n=e.label,t=e.path;(null==n||null==t)&&I(!1),i.push({label:n,path:t,response:e})}else r.push(e)}),[r,i]),a=o[0],s=o[1],l=a.length>0;if(l){if(this._isSubscriptionOperation){var c=f();this._operation={request:this._operation.request,fragment:b(this._operation.fragment.node,c,this._operation.fragment.variables,this._operation.fragment.owner),root:v(this._operation.root.node,c,this._operation.root.variables)}}var u=this._processResponses(a);this._processPayloadFollowups(u)}if(s.length>0){var d=this._processIncrementalResponses(s);this._processPayloadFollowups(d)}this._isSubscriptionOperation&&(null==t[0].extensions?t[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:t[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var p=this._runPublishQueue(l?this._operation:void 0);l&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(p),this._sink.next(e)}}},n._processOptimisticResponse=function(e,n,t){var r=this;if(null!==this._optimisticUpdates&&I(!1),null!=e||null!=n){var i=[];if(e){var o=this._normalizeResponse(e,this._operation.root,x,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:t});E(o),i.push({operation:this._operation,payload:o,updater:n}),this._processOptimisticFollowups(o,i)}else n&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:k.create(),isFinal:!1},updater:n});this._optimisticUpdates=i,i.forEach(function(e){return r._getPublishQueueAndSaveActor().applyUpdate(e)});var a=this._runPublishQueue();u.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(a)}},n._processOptimisticFollowups=function(e,n){if(e.followupPayloads&&e.followupPayloads.length){var t,r=e.followupPayloads,a=(0,i.default)(r);try{for(a.s();!(t=a.n()).done;){var s=t.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var c=this._processOptimisticModuleImport(l,s);n.push.apply(n,(0,o.default)(c))}break;case"ActorPayload":break;default:I(!1)}}}catch(e){a.e(e)}finally{a.f()}}},n._normalizeFollowupPayload=function(e,n){t="SplitOperation"===n.kind&&"ModuleImportPayload"===e.kind?g(e.variables,n.argumentDefinitions,e.args):e.variables;var t,r=v(n,e.dataID,t);return this._normalizeResponse({data:e.data},r,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},n._processOptimisticModuleImport=function(e,n){var t=l(e),r=[],i=this._normalizeFollowupPayload(n,t);return E(i),r.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,r),r},n._processAsyncOptimisticModuleImport=function(e){var n=this;this._expectOperationLoader().load(e.operationReference).then(function(t){if(null!=t&&"started"===n._state){var r,i=n._processOptimisticModuleImport(t,e);i.forEach(function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)}),null==n._optimisticUpdates||((r=n._optimisticUpdates).push.apply(r,(0,o.default)(i)),n._runPublishQueue())}})},n._processResponses=function(e){var n=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach(function(e){n._getPublishQueueAndSaveActor().revertUpdate(e)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map(function(e){var t=n._normalizeResponse(e,n._operation.root,x,{actorIdentifier:n._actorIdentifier,getDataID:n._getDataID,path:[],treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,shouldProcessClientComponents:n._shouldProcessClientComponents});return n._getPublishQueueAndSaveActor().commitPayload(n._operation,t,n._updater),t})},n._processPayloadFollowups=function(e){var n=this;"completed"!==this._state&&e.forEach(function(e){var t=e.incrementalPlaceholders,r=e.followupPayloads,i=e.isFinal;if(n._state=i?"loading_final":"loading_incremental",n._updateActiveState(),i&&(n._incrementalPayloadsPending=!1),r&&0!==r.length&&r.forEach(function(e){var t,r=n._actorIdentifier;n._actorIdentifier=null!==(t=e.actorIdentifier)&&void 0!==t?t:n._actorIdentifier,n._processFollowupPayload(e),n._actorIdentifier=r}),t&&0!==t.length&&(n._incrementalPayloadsPending="loading_final"!==n._state,t.forEach(function(t){var r,i=n._actorIdentifier;n._actorIdentifier=null!==(r=t.actorIdentifier)&&void 0!==r?r:n._actorIdentifier,n._processIncrementalPlaceholder(e,t),n._actorIdentifier=i}),n._isClientPayload||"loading_final"===n._state)){var o=[];t.forEach(function(e){"defer"===e.kind&&o.push(n._processDeferResponse(e.label,e.path,e,{data:e.data}))}),o.length>0&&n._processPayloadFollowups(o)}})},n._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},n._processFollowupPayload=function(e){var n=this;switch(e.kind){case"ModuleImportPayload":var t=this._expectOperationLoader(),r=t.get(e.operationReference);if(null!=r)this._processFollowupPayloadWithNormalizationNode(e,l(r));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){n._pendingModulePayloadsCount--,n._maybeCompleteSubscriptionOperationTracking()},s=a.from(new Promise(function(n,r){t.load(e.operationReference).then(n,r)}));a.create(function(t){var r,i=s.subscribe({next:function(i){if(null!=i){var o=function(){try{var r=l(i),o=u.BATCH_ASYNC_MODULE_UPDATES_FN,a=null!=o&&n._pendingModulePayloadsCount>1,s=p(function(){if(n._handleFollowupPayload(e,r),a)n._scheduleAsyncStoreUpdate(o,t.complete);else{var i=n._runPublishQueue();n._updateOperationTracker(i)}})[0];n._log({name:"execute.async.module",executeId:n._executeId,operationName:r.name,duration:s}),a||t.complete()}catch(e){t.error(e)}},a=n._scheduler;null==a?o():r=a.schedule(o)}else t.complete()},error:t.error});return function(){i.unsubscribe(),null!=n._scheduler&&null!=r&&n._scheduler.cancel(r)}}).subscribe({complete:function(){n._complete(i),o()},error:function(e){n._error(e),o()},start:function(e){return n._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:I(!1)}},n._processFollowupPayloadWithNormalizationNode=function(e,n){this._handleFollowupPayload(e,n),this._maybeCompleteSubscriptionOperationTracking()},n._handleFollowupPayload=function(e,n){var t=this._normalizeFollowupPayload(e,n);this._getPublishQueueAndSaveActor().commitPayload(this._operation,t),this._processPayloadFollowups([t])},n._processIncrementalPlaceholder=function(e,n){var t,r,i,o,a=n.label,s=n.path.map(String).join("."),l=this._incrementalResults.get(a);null==l&&(l=new Map,this._incrementalResults.set(a,l));var c=l.get(s),u=null!=c&&"response"===c.kind?c.responses:null;l.set(s,{kind:"placeholder",placeholder:n}),"stream"===n.kind?r=n.parentID:"defer"===n.kind?r=n.selector.dataID:I(!1);var p=e.source.get(r),h=(null!==(t=e.fieldPayloads)&&void 0!==t?t:[]).filter(function(e){var n=m(e.dataID,e.fieldKey);return e.dataID===r||n===r});null!=p||I(!1);var f=this._source.get(r);if(null!=f){i=y.update(f.record,p);var g=new Map,_=function(e){var n,t=null!==(n=JSON.stringify(d(e)))&&void 0!==n?n:"";g.set(t,e)};f.fieldPayloads.forEach(_),h.forEach(_),o=Array.from(g.values())}else i=p,o=h;if(this._source.set(r,{record:i,fieldPayloads:o}),null!=u){var v=this._processIncrementalResponses(u);this._processPayloadFollowups(v)}},n._processIncrementalResponses=function(e){var n=this,t=[];return e.forEach(function(e){var r=e.label,i=e.path,o=e.response,a=n._incrementalResults.get(r);if(null==a&&(a=new Map,n._incrementalResults.set(r,a)),-1!==r.indexOf("$defer$")){var s=i.map(String).join("."),l=a.get(s);if(null==l){l={kind:"response",responses:[e]},a.set(s,l);return}if("response"===l.kind){l.responses.push(e);return}var c=l.placeholder;"defer"!==c.kind&&I(!1),t.push(n._processDeferResponse(r,i,c,o))}else{var u=i.slice(0,-2).map(String).join("."),d=a.get(u);if(null==d){d={kind:"response",responses:[e]},a.set(u,d);return}if("response"===d.kind){d.responses.push(e);return}var p=d.placeholder;"stream"!==p.kind&&I(!1),t.push(n._processStreamResponse(r,i,p,o))}}),t},n._processDeferResponse=function(e,n,t,r){var i=t.selector.dataID,o=this._actorIdentifier;this._actorIdentifier=null!==(c=t.actorIdentifier)&&void 0!==c?c:this._actorIdentifier;var a=this._normalizeResponse(r,t.selector,t.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:t.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,a);var s=this._source.get(i);null!=s||I(!1);var l=s.fieldPayloads;if(0!==l.length){var c,u,d={errors:null,fieldPayloads:l,incrementalPlaceholders:null,followupPayloads:null,source:k.create(),isFinal:(null===(u=r.extensions)||void 0===u?void 0:u.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=o,a},n._processStreamResponse=function(e,n,t,r){var i=t.parentID,a=t.node,s=t.variables,l=t.actorIdentifier,c=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var u=a.selections[0];null!=u&&"LinkedField"===u.kind&&!0===u.plural||I(!1);var d=this._normalizeStreamItem(r,i,u,s,n,t.path),p=d.fieldPayloads,h=d.itemID,m=d.itemIndex,f=d.prevIDs,g=d.relayPayload,y=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,g,function(e){var n=e.get(i);if(null!=n){var t=n.getLinkedRecords(y);if(!(null==t||t.length!==f.length||t.some(function(e,n){return f[n]!==(e&&e.getDataID())}))){var r=(0,o.default)(t);r[m]=e.get(h),n.setLinkedRecords(r,y)}}}),0!==p.length){var _={errors:null,fieldPayloads:p,incrementalPlaceholders:null,followupPayloads:null,source:k.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,_)}return this._actorIdentifier=c,g},n._normalizeStreamItem=function(e,n,t,r,i,a){var s,l,c,u,d=e.data;"object"!=typeof d&&I(!1);var p=null!==(s=t.alias)&&void 0!==s?s:t.name,h=w(t,r),f=this._source.get(n);null!=f||I(!1);var g=f.record,_=f.fieldPayloads,b=y.getLinkedRecordIDs(g,h);null!=b||I(!1);var k=i[i.length-1],C=parseInt(k,10);C===k&&C>=0||I(!1);var x=null!==(l=t.concreteType)&&void 0!==l?l:d[T];"string"!=typeof x&&I(!1);var R=null!==(c=null!==(u=this._getDataID(d,x))&&void 0!==u?u:null==b?void 0:b[C])&&void 0!==c?c:m(n,h,C);"string"!=typeof R&&I(!1);var E=v(t,R,r),S=y.clone(g),P=(0,o.default)(b);P[C]=R,y.setLinkedRecordIDs(S,h,P),this._source.set(n,{record:S,fieldPayloads:_});var A=this._normalizeResponse(e,E,x,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(a),[p,String(C)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});return{fieldPayloads:_,itemID:R,itemIndex:C,prevIDs:b,relayPayload:A,storageKey:h}},n._scheduleAsyncStoreUpdate=function(e,n){var t=this;this._completeFns.push(n),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e(function(){t._asyncStoreUpdateDisposable=null;var e=t._runPublishQueue();t._updateOperationTracker(e);var n,r=(0,i.default)(t._completeFns);try{for(r.s();!(n=r.n()).done;)(0,n.value)()}catch(e){r.e(e)}finally{r.f()}t._completeFns=[]}))},n._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},n._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},n._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},n._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},n._runPublishQueue=function(e){var n,t=new Set,r=(0,i.default)(this._getActorsToVisit());try{for(r.s();!(n=r.n()).done;){var o=n.value;this._getPublishQueue(o).run(e).forEach(function(e){return t.add(e)})}}catch(e){r.e(e)}finally{r.f()}return Array.from(t)},n._retainData=function(){var e,n=(0,i.default)(this._getActorsToVisit());try{for(n.s();!(e=n.n()).done;){var t=e.value;this._retainDisposables.has(t)||this._retainDisposables.set(t,this._getStore(t).retain(this._operation))}}catch(e){n.e(e)}finally{n.f()}},n._disposeRetainedData=function(){var e,n=(0,i.default)(this._retainDisposables.values());try{for(n.s();!(e=n.n()).done;)e.value.dispose()}catch(e){n.e(e)}finally{n.f()}this._retainDisposables.clear()},n._expectOperationLoader=function(){var e=this._operationLoader;return e||I(!1),e},e}();function E(e){var n=e.incrementalPlaceholders;null!=n&&0!==n.length&&I(!1)}e.exports={execute:function(e){return new R(e)}}},62818:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(42597).getArgumentValues,o=t(78405);e.exports={getLocalVariables:function(e,n,t){if(null==n)return e;var o=(0,r.default)({},e),a=t?i(t,e):{};return n.forEach(function(e){var n,t=null!==(n=a[e.name])&&void 0!==n?n:e.defaultValue;o[e.name]=t}),o},getFragmentVariables:function(e,n,t){var i;return null==e.argumentDefinitions?t:(e.argumentDefinitions.forEach(function(e){if(!t.hasOwnProperty(e.name))switch(i=i||(0,r.default)({},t),e.kind){case"LocalArgument":i[e.name]=e.defaultValue;break;case"RootArgument":if(!n.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=n[e.name];break;default:o(!1)}}),i||t)},getOperationVariables:function(e,n,t){var r={};return e.argumentDefinitions.forEach(function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n}),null!=n&&Object.keys(n).forEach(function(e){r[e]=n[e].get()}),r}}},831:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(85246)),a=r(t(31681)),s=r(t(88611)),l=r(t(39778)),c=r(t(83718)),u=["path","locations"],d=t(97250),p=Symbol("$SELF"),h=function(e){function n(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(t=e.call(this,n)||this).name="RelayFieldError",t.message=n,t.errors=r,t}return(0,s.default)(n,e),n}((0,l.default)(Error));e.exports={SELF:p,buildErrorTrie:function(e){if(null==e||!d.ENABLE_FIELD_ERROR_HANDLING)return null;var n,t=new Map,r=(0,a.default)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,s=i.path,l=(i.locations,(0,o.default)(i,u));if(null!=s){var c=s.length;if(0!==c){for(var h=c-1,m=t,f=0;f0&&this._scheduleUpdates(function(){t._publishQueue.commitSource(r),t._publishQueue.run()}),o},n._scheduleUpdates=function(e){var n=this._scheduler;null!=n?n.schedule(e):e()},n.execute=function(e){var n=this,t=e.operation;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},n.executeSubscription=function(e){var n=this,t=e.operation,r=e.updater;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:r})},n.executeMutation=function(e){var n,t=this,i=e.operation,o=e.optimisticResponse,a=e.optimisticUpdater,s=e.updater,l=e.uploadables;return(o||a)&&(n={operation:i,response:o,updater:a}),this._execute({createSource:function(){return t.getNetwork().execute(i.request.node.params,i.request.variables,(0,r.default)((0,r.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:n,updater:s})},n.executeWithSource=function(e){var n=e.operation,t=e.source;return this._execute({createSource:function(){return t},isClientPayload:!1,operation:n,optimisticConfig:null,updater:null})},n.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},n._execute=function(e){var n=this,t=e.createSource,r=e.isClientPayload,i=e.operation,o=e.optimisticConfig,c=e.updater,u=this._publishQueue,d=this._store;return l.create(function(e){var l=f.execute({actorIdentifier:a,getDataID:n._getDataID,isClientPayload:r,log:n.__log,operation:i,operationExecutions:n._operationExecutions,operationLoader:n._operationLoader,operationTracker:n._operationTracker,optimisticConfig:o,getPublishQueue:function(e){return s(e),u},scheduler:n._scheduler,shouldProcessClientComponents:n._shouldProcessClientComponents,sink:e,source:t(),getStore:function(e){return s(e),d},treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,updater:c,normalizeResponse:n._normalizeResponse});return function(){return l.cancel()}})},e}();function v(){}_.prototype["@@RelayModernEnvironment"]=!0,e.exports=_},99794:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=t(20768),s=t(98616),l=t(85747),c=t(21679),u=t(97250),d=t(47788).createRequestDescriptor,p=t(90627),h=p.areEqualSelectors,m=p.createReaderSelector,f=p.getSelectorsFromObject,g=t(49150),y=t(78405);t(710);var _=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(){a._stale=!0,"function"==typeof a._callback&&a._callback()}),this._callback=r,this._context=e,this._data={},this._fragments=n,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(t)}var n=e.prototype;return n.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&k(this._resolvers[e])},n.resolve=function(){if(this._stale){var e,n=this._data;for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t],o=n[t];if(r){var a=r.resolve();(e||a!==o)&&((e=e||(0,i.default)({},n))[t]=a)}else{var s=this._props[t],c=void 0!==s?s:null;(e||!l(c,o))&&((e=e||(0,i.default)({},n))[t]=c)}}this._data=e||n,this._stale=!1}return this._data},n.setCallback=function(e,n){this._callback=n,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},n.setProps=function(e){this._props={};var n=f(this._fragments,e);for(var t in n)if(n.hasOwnProperty(t)){var r=n[t],i=this._resolvers[t];null==r?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===r.kind?null==i?i=new b(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof b||y(!1),i.setSelector(r)):null==i?i=new v(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof v||y(!1),i.setSelector(r)),this._props[t]=e[t],this._resolvers[t]=i}this._stale=!0},n.setVariables=function(e,n){for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t];r&&r.setVariables(e,n)}this._stale=!0},e}(),v=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(e){a._data=e.data,a._isMissingData=e.isMissingData,a._missingRequiredFields=e.missingRequiredFields,a._errorResponseFields=e.errorResponseFields,a._relayResolverErrors=e.relayResolverErrors,a._callback()});var s=e.lookup(t);this._callback=i,this._data=s.data,this._isMissingData=s.isMissingData,this._missingRequiredFields=s.missingRequiredFields,this._errorResponseFields=s.errorResponseFields,this._relayResolverErrors=s.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=n,this._selector=t,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?r&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var n=e.prototype;return n.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},n.resolve=function(){if(!0===this._isMissingData){var e=a(this._environment,this._selector.node,this._selector.owner),n=null==e?void 0:e.promise;if(null!=n){if(this._rootIsQueryRenderer);else{var t,r=null!==(t=null==e?void 0:e.pendingOperations)&&void 0!==t?t:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:r}),n}}}return s(this._environment,this._missingRequiredFields,this._relayResolverErrors,this._errorResponseFields),this._data},n.setSelector=function(e){if(!(null!=this._subscription&&h(e,this._selector))){this.dispose();var n=this._environment.lookup(e);this._data=c(this._data,n.data),this._isMissingData=n.isMissingData,this._missingRequiredFields=n.missingRequiredFields,this._errorResponseFields=n.errorResponseFields,this._relayResolverErrors=n.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(n,this._onChange)}},n.setVariables=function(e,n){if(!g(e,this._selector.variables)){var t=d(n,e),r=m(this._selector.node,this._selector.dataID,e,t);this.setSelector(r)}},e}(),b=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(e){a._stale=!0,a._callback()}),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=n,this._subscribeOnConstruction=r,this.setSelector(t)}var n=e.prototype;return n.dispose=function(){this._resolvers.forEach(k)},n.resolve=function(){if(this._stale){for(var e,n=this._data,t=0;tn.length;)this._resolvers.pop().dispose();for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:l,o=e.operation,u=i(o,e.params.providedVariables,n),d=c(e,u,t);return{fragment:s(e.fragment,r,u,d),request:d,root:a(o,r,u)}},createRequestDescriptor:c}},12966:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(8442)),o=r(t(85246)),a=r(t(65199)),s=r(t(13305)),l=t(94412),c=t(13475),u=c.generateClientObjectClientID;c.isClientID;var d=t(7900).isSuspenseSentinel,p=t(42597),h=p.ACTOR_IDENTIFIER_KEY,m=p.ERRORS_KEY,f=p.ID_KEY,g=p.INVALIDATED_AT_KEY,y=p.REF_KEY,_=p.REFS_KEY,v=p.RELAY_RESOLVER_VALUE_KEY,b=(p.ROOT_ID,p.TYPENAME_KEY),k=t(49150),C=t(78405);function x(e,n){var t=e[n];return!t||"object"!=typeof t||(t.hasOwnProperty(y)||t.hasOwnProperty(_))&&C(!1),t}function T(e,n,t){var r=e[m];if(null!=t&&t.length>0)null==r?e[m]=(0,i.default)({},n,t):r[n]=t;else if(null!=r&&delete r[n]){for(var o in r)if(r.hasOwnProperty(o))return;delete e[m]}}t(710),e.exports={clone:function(e){return(0,s.default)({},e)},copyFields:function(e,n){for(var t in e)e.hasOwnProperty(t)&&t!==f&&t!==b&&(n[t]=e[t])},create:function(e,n){var t={};return t[f]=e,t[b]=n,t},freeze:function(e){l(e)},fromObject:function(e){return e},getDataID:function(e){return e[f]},getErrors:function(e,n){var t;return null===(t=e[m])||void 0===t?void 0:t[n]},getFields:function(e){return m in e?Object.keys(e).filter(function(e){return e!==m}):Object.keys(e)},getInvalidationEpoch:function(e){if(null==e)return null;var n=e[g];return"number"!=typeof n?null:n},getLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&t&&"string"==typeof t[y]||C(!1),t[y])},getLinkedRecordIDs:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&Array.isArray(t[_])||C(!1),t[_])},getType:function(e){return e[b]},getValue:x,hasValue:function(e,n){return n in e},hasLinkedRecordID:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&t&&"string"==typeof t[y]},hasLinkedRecordIDs:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&Array.isArray(t[_])&&t[_].every(function(e){return"string"==typeof e})},merge:function(e,n){if(!(m in e)&&!(m in n))return(0,s.default)((0,s.default)({},e),n);var t=e[m],r=(0,o.default)(e,[m].map(a.default)),i=n[m],l=(0,o.default)(n,[m].map(a.default)),c=(0,s.default)((0,s.default)({},r),l);if(null==t&&null==i)return c;var u={};for(var d in t)l.hasOwnProperty(d)||(u[d]=t[d]);for(var p in i)u[p]=i[p];for(var h in u){c[m]=u;break}return c},setErrors:T,setValue:function(e,n,t){e[n]=t},setLinkedRecordID:function(e,n,t){var r={};r[y]=t,e[n]=r},setLinkedRecordIDs:function(e,n,t){var r={};r[_]=t,e[n]=r},update:function(e,n){var t,r,i=e[m],o=n[m],a=null;if(null==i&&null==o){for(var l in n)(a||!k(e[l],n[l]))&&((a=null!==a?a:(0,s.default)({},e))[l]=n[l]);return null!==(r=a)&&void 0!==r?r:e}for(var c in n)if(c!==m){var u=n[c],d=null==o?void 0:o[c];if(null==a){var p=e[c],h=null==i?void 0:i[c];if(k(p,u)&&k(h,d))continue;a=(0,s.default)({},e),null!=i&&(a[m]=(0,s.default)({},i))}a[c]=u,T(a,c,d)}return null!==(t=a)&&void 0!==t?t:e},getActorLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&"string"==typeof t[y]&&null!=t[h]||C(!1),[t[h],t[y]])},setActorLinkedRecordID:function(e,n,t,r){var i={};i[y]=r,i[h]=t,e[n]=i},getResolverLinkedRecordID:function(e,n){var t=x(e,v);return null==t||d(t)?null:("object"==typeof t&&(t=t.id),"string"!=typeof t&&C(!1),u(n,t))},getResolverLinkedRecordIDs:function(e,n){var t=x(e,v);return null==t||d(t)?null:(Array.isArray(t)||C(!1),t.map(function(e){return null==e?null:("object"==typeof e&&(e=e.id),"string"!=typeof e&&C(!1),u(n,e))}))},toJSON:function(e){return e}}},90627:function(e,n,t){"use strict";var r=t(97250),i=t(62818).getFragmentVariables,o=t(42597),a=o.CLIENT_EDGE_TRAVERSAL_PATH,s=o.FRAGMENT_OWNER_KEY,l=o.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=o.FRAGMENTS_KEY,u=o.ID_KEY,d=t(49150),p=t(78405);function h(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&p(!1);var t=n[u],r=n[c],o=n[s],d=n[a];if("string"==typeof t&&"object"==typeof r&&null!==r&&"object"==typeof r[e.name]&&null!==r[e.name]&&"object"==typeof o&&null!==o&&(null==d||Array.isArray(d))){var h=r[e.name],m=i(e,o.variables,h);return C(e,t,m,o,!0===h[l],d)}return null}function m(e,n){var t=null;return(n.forEach(function(n,r){var i=null!=n?h(e,n):null;null!=i&&(t=t||[]).push(i)}),null==t)?null:{kind:"PluralReaderSelector",selectors:t}}function f(e,n){return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||p(!1),m(e,n)):(Array.isArray(n)&&p(!1),h(e,n))}function g(e,n){var t;return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||p(!1),t=null,n.forEach(function(n){var r=null!=n?y(e,n):null;null!=r&&(t=t||[]).push(r)}),t):(Array.isArray(n)&&p(!1),y(e,n))}function y(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&p(!1);var t=n[u];return"string"==typeof t?t:null}function _(e,n){var t;return null==n?{}:(null===(t=e.metadata)||void 0===t?void 0:t.plural)===!0?(Array.isArray(n)||p(!1),b(e,n)):(Array.isArray(n)&&p(!1),v(e,n)||{})}function v(e,n){var t=h(e,n);return t?t.variables:null}function b(e,n){var t={};return n.forEach(function(n,r){if(null!=n){var i=v(e,n);null!=i&&Object.assign(t,i)}}),t}function k(e,n){var t,i;return e.dataID===n.dataID&&e.node===n.node&&d(e.variables,n.variables)&&((t=e.owner)===(i=n.owner)||t.identifier===i.identifier&&d(t.cacheConfig,i.cacheConfig))&&(!r.ENABLE_STRICT_EQUAL_SELECTORS||e.isWithinUnmatchedTypeRefinement===n.isWithinUnmatchedTypeRefinement&&function(e,n){if(e===n)return!0;if(null==e||null==n||e.length!==n.length)return!1;for(var t=e.length;t--;){var r=e[t],i=n[t];if(r!==i&&(null==r||null==i||r.clientEdgeDestinationID!==i.clientEdgeDestinationID||r.readerClientEdge!==i.readerClientEdge))return!1}return!0}(e.clientEdgeTraversalPath,n.clientEdgeTraversalPath))}function C(e,n,t,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:n,isWithinUnmatchedTypeRefinement:i,clientEdgeTraversalPath:null!=o?o:null,node:e,variables:t,owner:r}}t(710),e.exports={areEqualSelectors:function(e,n){return e===n||(null==e?null==n:null==n?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===n.kind?k(e,n):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===n.kind&&e.selectors.length===n.selectors.length&&e.selectors.every(function(e,t){return k(e,n.selectors[t])}))},createReaderSelector:C,createNormalizationSelector:function(e,n,t){return{dataID:n,node:e,variables:t}},getDataIDsFromFragment:g,getDataIDsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=n[r];t[r]=g(i,o)}return t},getSingularSelector:h,getPluralSelector:m,getSelector:f,getSelectorsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=n[r];t[r]=f(i,o)}return t},getVariablesFromSingularFragment:v,getVariablesFromPluralFragment:b,getVariablesFromFragment:_,getVariablesFromObject:function(e,n){var t={};for(var r in e)e.hasOwnProperty(r)&&Object.assign(t,_(e[r],n[r]));return t}}},21088:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(8442)),a=t(91387),s=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=a.assertInternalActorIdentifier;t(94412);var c=t(97250),u=t(29464),d=t(72592),p=t(99389),h=t(12966),m=t(3947),f=t(98662),g=t(74073),y=t(89297),_=t(42597),v=t(42597),b=v.ROOT_ID,k=v.ROOT_TYPE,C=t(55030).RecordResolverCache,x=t(78405),T=function(){function e(e,n){var t,r,i,a,s,l=this;(0,o.default)(this,"_gcStep",function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))}),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(t=null==n?void 0:n.gcReleaseBufferSize)&&void 0!==t?t:10,this._gcRun=null,this._gcScheduler=null!==(r=null==n?void 0:n.gcScheduler)&&void 0!==r?r:u,this._getDataID=null!==(i=null==n?void 0:n.getDataID)&&void 0!==i?i:p,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(a=null==n?void 0:n.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==n?void 0:n.queryCacheExpirationTime,this._operationLoader=null!==(s=null==n?void 0:n.operationLoader)&&void 0!==s?s:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new C(function(){return l._getMutableRecordSource()}),this._storeSubscriptions=new y(null==n?void 0:n.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==n?void 0:n.shouldProcessClientComponents,function(e){if(!e.has(b)){var n=h.create(b,k);e.set(b,n)}}(this._recordSource)}var n=e.prototype;return n.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n.check=function(e,n){var t,r,i,o,a,c,u,p,h,m=e.root,f=this._getMutableRecordSource(),g=this._globalInvalidationEpoch,y=this._roots.get(e.request.identifier),_=null!=y?y.epoch:null;if(null!=g&&(null==_||_<=g))return{status:"stale"};var v=null!==(c=null==n?void 0:n.handlers)&&void 0!==c?c:[],b=null!==(u=null==n?void 0:n.getSourceForActor)&&void 0!==u?u:function(e){return l(e),f},k=null!==(p=null==n?void 0:n.getTargetForActor)&&void 0!==p?p:function(e){return l(e),f};return t=d.check(b,k,null!==(h=null==n?void 0:n.defaultActorIdentifier)&&void 0!==h?h:s,m,v,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),r=null==y?void 0:y.fetchTime,i=this._queryCacheExpirationTime,o=t.mostRecentlyInvalidatedAt,a=t.status,"number"==typeof o&&(null==_||o>_)?{status:"stale"}:"missing"===a?{status:"missing"}:null!=r&&null!=i&&r<=Date.now()-i?{status:"stale"}:{status:"available",fetchTime:null!=r?r:null}},n.retain=function(e){var n=this,t=e.request.identifier,r=!1,i=this._roots.get(t);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter(function(e){return e!==t})),i.refCount+=1):this._roots.set(t,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!r){r=!0;var e=n._roots.get(t);if(null!=e&&(e.refCount--,0===e.refCount)){var i=n._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)n._roots.delete(t),n.scheduleGC();else if(n._releaseBuffer.push(t),n._releaseBuffer.length>n._gcReleaseBufferSize){var o=n._releaseBuffer.shift();n._roots.delete(o),n.scheduleGC()}}}}}},n.lookup=function(e){var n=this.getSource();return f.read(n,e,this._resolverCache)},n.notify=function(e,n){var t=this,r=this.__log;null!=r&&r({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===n&&(this._globalInvalidationEpoch=this._currentWriteEpoch),c.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),o=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,o,e),this._invalidationSubscriptions.forEach(function(e){t._updateInvalidationSubscription(e,!0===n)}),null!=r&&r({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var a=e.request.identifier,s=this._roots.get(a);if(null!=s)s.epoch=this._currentWriteEpoch,s.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},n.toJSON=function(){return"RelayModernStore()"},n.getEpoch=function(){return this._currentWriteEpoch},n.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},n.lookupInvalidationState=function(e){var n=this,t=new Map;return e.forEach(function(e){var r,i=n.getSource().get(e);t.set(e,null!==(r=h.getInvalidationEpoch(i))&&void 0!==r?r:null)}),t.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:t}},n.checkInvalidationState=function(e){var n=this.lookupInvalidationState(e.dataIDs).invalidations,t=e.invalidations;if(n.get("global")!==t.get("global"))return!0;var r,o=(0,i.default)(e.dataIDs);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(n.get(a)!==t.get(a))return!0}}catch(e){o.e(e)}finally{o.f()}return!1},n.subscribeToInvalidationState=function(e,n){var t=this,r={callback:n,invalidationState:e};return this._invalidationSubscriptions.add(r),{dispose:function(){t._invalidationSubscriptions.delete(r)}}},n._updateInvalidationSubscription=function(e,n){var t=this,r=e.callback,i=e.invalidationState.dataIDs;(n||i.some(function(e){return t._invalidatedRecordIDs.has(e)}))&&r()},n.snapshot=function(){null!=this._optimisticSource&&x(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=m.create(this.getSource())},n.restore=function(){null!=this._optimisticSource||x(!1);var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},n.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},n.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},n._collect=function*(){e:for(;;){var e,n=this._currentWriteEpoch,t=new Set,r=(0,i.default)(this._roots.values());try{for(r.s();!(e=r.n()).done;){var o=e.value.operation.root;if(g.mark(this._recordSource,o,t,this._operationLoader,this._shouldProcessClientComponents),yield,n!==this._currentWriteEpoch)continue e}}catch(e){r.e(e)}finally{r.f()}var a=this.__log;if(null!=a&&a({name:"store.gc",references:t}),0===t.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l0?a.add(l):o.add(l))}}catch(e){s.e(e)}finally{s.f()}var u,d=(0,r.default)(o);try{for(d.s();!(u=d.n()).done;){var p=u.value;this._resolveOwnerResolvers(p),this._ownersToPendingOperations.delete(p)}}catch(e){d.e(e)}finally{d.f()}var h,m=(0,r.default)(a);try{for(m.s();!(h=m.n()).done;){var f=h.value;this._resolveOwnerResolvers(f)}}catch(e){m.e(e)}finally{m.f()}this._pendingOperationsToOwners.delete(n)}},n._resolveOwnerResolvers=function(e){var n=this._ownersToPendingPromise.get(e);null!=n&&n.resolve(),this._ownersToPendingPromise.delete(e)},n.getPendingOperationsAffectingOwner=function(e){var n,t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var o=this._ownersToPendingPromise.get(t);if(null!=o)return{promise:o.promise,pendingOperations:o.pendingOperations};var a=new Promise(function(e){n=e});null!=n||i(!1);var s=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:a,resolve:n,pendingOperations:s}),{promise:a,pendingOperations:s}},e}();e.exports=o},3947:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(12966),o=t(26896),a=t(78405),s=i.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),l=function(){function e(e){this._base=e,this._sink=o.create()}var n=e.prototype;return n.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},n.get=function(e){if(!this._sink.has(e))return this._base.get(e);var n=this._sink.get(e);if(n!==s)return n},n.getStatus=function(e){var n=this.get(e);return void 0===n?"UNKNOWN":null===n?"NONEXISTENT":"EXISTENT"},n.clear=function(){this._base=o.create(),this._sink.clear()},n.delete=function(e){this._sink.delete(e)},n.remove=function(e){this._sink.set(e,s)},n.set=function(e,n){this._sink.set(e,n)},n.getRecordIDs=function(){return Object.keys(this.toJSON())},n.size=function(){return Object.keys(this.toJSON()).length},n.toJSON=function(){var e=this,n=(0,r.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(t){var r=e.get(t);void 0===r?delete n[t]:n[t]=i.toJSON(r)}),n},n.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new l(e)},getOptimisticRecordIDs:function(e){return e instanceof l||a(!1),e.getOptimisticRecordIDs()}}},27738:function(e,n,t){"use strict";var r,i,o=t(94740),a=t(92505),s=t(91543),l=t(98662),c=t(26896),u=t(78405);t(710);var d=void 0!==t.g?t.g:"undefined"!=typeof window?window:void 0,p=null!==(r=null==d?void 0:null===(i=d.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==r?r:function(e,n,t,r,i){return e.apply(n,t)},h=function(){function e(e,n,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=n||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=t,this._missingFieldHandlers=r}var n=e.prototype;return n.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&u(!1),this._pendingOptimisticUpdates.add(e)},n.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},n.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},n.commitPayload=function(e,n,t){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:n,updater:t})},n.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},n.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},n.run=function(e){var n=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!n)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,t)},n._publishSourceFromPayload=function(e){var n=this,t=e.payload,r=e.operation,i=e.updater,l=t.source,c=t.fieldPayloads,d=new o(this._store.getSource(),l),p=new a(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(c&&c.length&&c.forEach(function(e){var t=n._handlerProvider&&n._handlerProvider(e.handle);t||u(!1),t.update(p,e)}),i){var h=r.fragment;null!=h||u(!1),i(new s(d,p,h,this._missingFieldHandlers),m(l,h))}var f=p.getIDsMarkedForInvalidation();return this._store.publish(l,f),p.isStoreMarkedForInvalidation()},n._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var n=!1;return this._pendingData.forEach(function(t){if("payload"===t.kind){var r=e._publishSourceFromPayload(t);n=n||r}else if("source"===t.kind){var i=t.source;e._store.publish(i)}else{var s=t.updater,l=c.create(),u=new a(new o(e._store.getSource(),l),e._getDataID,e._handlerProvider,e._missingFieldHandlers);p(s,null,[u],null,"RelayPublishQueue:commitData"),n=n||u.isStoreMarkedForInvalidation();var d=u.getIDsMarkedForInvalidation();e._store.publish(l,d)}}),this._pendingData.clear(),n},n._applyUpdates=function(){var e=this,n=c.create(),t=new o(this._store.getSource(),n),r=new a(t,this._getDataID,this._handlerProvider,this._missingFieldHandlers),i=function(n){if(n.storeUpdater)p(n.storeUpdater,null,[r],null,"RelayPublishQueue:applyUpdates");else{var i,o=n.operation,a=n.payload,l=n.updater,c=a.source,u=a.fieldPayloads;c&&r.publishSource(c,u),l&&(c&&(i=m(c,o.fragment)),p(l,null,[new s(t,r,o.fragment,e._missingFieldHandlers),i],null,"RelayPublishQueue:applyUpdates"))}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(n){i(n),e._appliedOptimisticUpdates.add(n)}),this._pendingOptimisticUpdates.clear()),this._store.publish(n)},e}();function m(e,n){return l.read(e,n).data}e.exports=h},98662:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(8442)),o=r(t(31681)),a=r(t(83718)),s=t(65070),l=s.ACTOR_CHANGE,c=s.ALIASED_FRAGMENT_SPREAD,u=s.ALIASED_INLINE_FRAGMENT_SPREAD,d=s.CLIENT_EDGE_TO_CLIENT_OBJECT,p=s.CLIENT_EDGE_TO_SERVER_OBJECT,h=s.CLIENT_EXTENSION,m=s.CONDITION,f=s.DEFER,g=s.FRAGMENT_SPREAD,y=s.INLINE_DATA_FRAGMENT_SPREAD,_=s.INLINE_FRAGMENT,v=s.LINKED_FIELD,b=s.MODULE_IMPORT,k=s.RELAY_LIVE_RESOLVER,C=s.RELAY_RESOLVER,x=s.REQUIRED_FIELD,T=s.SCALAR_FIELD,w=s.STREAM,I=t(97250),R=t(7900).isSuspenseSentinel,E=t(62818),S=t(12966),P=t(42597),A=P.CLIENT_EDGE_TRAVERSAL_PATH,B=P.FRAGMENT_OWNER_KEY,N=P.FRAGMENT_PROP_NAME_KEY,L=P.FRAGMENTS_KEY,O=P.ID_KEY,M=P.MODULE_COMPONENT_KEY,D=P.ROOT_ID,F=P.getArgumentValues,j=P.getModuleComponentKey,U=P.getStorageKey,K=t(55030).NoopResolverCache,q=t(47554),z=q.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,H=q.withResolverContext,V=t(88891).generateTypeID,$=t(78405);function G(e,n,t){return new W(e,n,null!=t?t:new K).read()}var W=function(){function e(e,n,t){var r;this._clientEdgeTraversalPath=I.ENABLE_CLIENT_EDGES&&null!==(r=n.clientEdgeTraversalPath)&&void 0!==r&&r.length?(0,a.default)(n.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._errorResponseFields=null,this._owner=n.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=n,this._variables=n.variables,this._resolverCache=t,this._resolverErrors=[],this._fragmentName=n.node.name,this._updatedDataIDs=new Set}var n=e.prototype;return n.read=function(){var e=this._selector,n=e.node,t=e.dataID,r=e.isWithinUnmatchedTypeRefinement,i=n.abstractKey,o=this._recordSource.get(t),a=!r;if(a&&null==i&&null!=o&&S.getType(o)!==n.type&&t!==D&&(a=!1),a&&null!=i&&null!=o){var s=this._implementsInterface(o,i);!1===s?a=!1:null==s&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!a;var l=this._traverse(n,t,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&a,missingClientEdges:I.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors,errorResponseFields:this._errorResponseFields}},n._maybeAddErrorResponseFields=function(e,n){if(I.ENABLE_FIELD_ERROR_HANDLING){var t=S.getErrors(e,n);if(null!=t){var r=this._fragmentName;null==this._errorResponseFields&&(this._errorResponseFields=[]);var i,a=(0,o.default)(t);try{for(a.s();!(i=a.n()).done;){var s,l=i.value;this._errorResponseFields.push({owner:r,path:(null!==(s=l.path)&&void 0!==s?s:[]).join("."),error:l})}}catch(e){a.e(e)}finally{a.f()}}}},n._markDataAsMissing=function(){if(this._isMissingData=!0,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},n._traverse=function(e,n,t){var r=this._recordSource.get(n);if(this._seenRecords.add(n),null==r)return void 0===r&&this._markDataAsMissing(),r;var i=t||{};return this._traverseSelections(e.selections,r,i)?i:null},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||$(!1),this._variables[e]},n._maybeReportUnexpectedNull=function(e,n){if((null===(t=this._missingRequiredFields)||void 0===t?void 0:t.action)!=="THROW"){var t,r=this._fragmentName;switch(n){case"THROW":this._missingRequiredFields={action:n,field:{path:e,owner:r}};return;case"LOG":null==this._missingRequiredFields?this._missingRequiredFields={action:n,fields:[{path:e,owner:r}]}:this._missingRequiredFields={action:n,fields:[].concat((0,a.default)(this._missingRequiredFields.fields),[{path:e,owner:r}])};return}}},n._traverseSelections=function(e,n,t){for(var r=0;rR||this._missingLiveResolverFields.length>0,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!E)return!1;break;case w:if(!this._traverseSelections(i.selections,n,t))return!1;break;case l:this._readActorChange(i,n,t);break;case d:case p:if(I.ENABLE_CLIENT_EDGES)this._readClientEdge(i,n,t);else throw Error("Client edges are not yet supported.");break;default:$(!1)}}return!0},n._readRequiredField=function(e,n,t){switch(e.field.kind){case T:return this._readScalar(e.field,n,t);case v:if(e.field.plural)return this._readPluralLink(e.field,n,t);return this._readLink(e.field,n,t);case C:case k:if(!I.ENABLE_RELAY_RESOLVERS)throw Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,n,t);case d:case p:if(!I.ENABLE_RELAY_RESOLVERS)throw Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,n,t);default:e.field.kind,$(!1)}},n._readResolverField=function(e,n,t){var r,i=S.getDataID(n),o=this._readResolverFieldImpl(e,i);return t[null!==(r=e.alias)&&void 0!==r?r:e.name]=o,o},n._readResolverFieldImpl=function(e,n){var t,r=this,o=e.fragment,a=function(e){return null!=t?{data:t.data,isMissingData:t.isMissingData}:{data:(t=G(r._recordSource,e,r._resolverCache)).data,isMissingData:t.isMissingData}},s=this._resolverCache.readFromCacheOrEvaluate(n,e,this._variables,function(){if(null!=o){var s={__id:n,__fragmentOwner:r._owner,__fragments:(0,i.default)({},o.name,o.args?F(o.args,r._variables):{})};return H({getDataForResolverFragment:a},function(){var n=Z(e,r._variables,s),i=n[0],o=n[1];return{resolverResult:i,snapshot:t,error:o}})}var l=Z(e,r._variables,null);return{resolverResult:l[0],snapshot:void 0,error:l[1]}},a),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],h=s[5];return this._propogateResolverMetadata(e.path,d,u,c,p,h),l},n._propogateResolverMetadata=function(e,n,t,r,i,a){if(null!=n){if(null!=n.missingRequiredFields&&this._addMissingRequiredFields(n.missingRequiredFields),null!=n.missingClientEdges){var s,l=(0,o.default)(n.missingClientEdges);try{for(l.s();!(s=l.n()).done;){var c=s.value;this._missingClientEdges.push(c)}}catch(e){l.e(e)}finally{l.f()}}if(null!=n.missingLiveResolverFields){this._isMissingData=this._isMissingData||n.missingLiveResolverFields.length>0;var u,d=(0,o.default)(n.missingLiveResolverFields);try{for(d.s();!(u=d.n()).done;){var p=u.value;this._missingLiveResolverFields.push(p)}}catch(e){d.e(e)}finally{d.f()}}var h,m=(0,o.default)(n.relayResolverErrors);try{for(m.s();!(h=m.n()).done;){var f=h.value;this._resolverErrors.push(f)}}catch(e){m.e(e)}finally{m.f()}this._isMissingData=this._isMissingData||n.isMissingData}if(t&&this._resolverErrors.push({field:{path:e,owner:this._fragmentName},error:t}),null!=r&&this._seenRecords.add(r),null!=i&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e),liveStateID:i})),null!=a){var g,y=(0,o.default)(a);try{for(y.s();!(g=y.n()).done;){var _=g.value;this._updatedDataIDs.add(_)}}catch(e){y.e(e)}finally{y.f()}}},n._readClientEdge=function(e,n,t){var r,i=this,o=e.backingField;"ClientExtension"!==o.kind||$(!1);var a=null!==(r=o.alias)&&void 0!==r?r:o.name,s={};this._traverseSelections([o],n,s);var l=s[a];if(null==l||R(l))return t[a]=l,l;var c=e.linkedField.plural?(Array.isArray(l)||$(!1),{kind:"PluralConcrete",ids:l.map(function(e){return Q(e,"Expected this plural Client Edge Relay Resolver to return an array containing IDs or objects with shape {id}.")})}):{kind:"SingularConcrete",id:Q(l,"Expected this Client Edge Relay Resolver to return an ID of type `string` or an object with shape {id}.")};switch(c.kind){case"PluralConcrete":var u=function(e,n,t){if(e.kind===d){if(null!=e.backingField.normalizationInfo)return n;var r=e.concreteType;return null!=r||$(!1),n.map(function(e){return t.ensureClientRecord(e,r)})}$(!1)}(e,c.ids,this._resolverCache),p=u;if(null!=e.modelResolver){var h=e.modelResolver;p=u.map(function(e){return null!=i._readResolverFieldImpl(h,e)?e:null})}this._clientEdgeTraversalPath.push(null);var m=this._readLinkedIds(e.linkedField,p,n,t);return this._clientEdgeTraversalPath.pop(),t[a]=m,m;case"SingularConcrete":var f=function(e,n,t){if(e.kind!==d)return[n,{readerClientEdge:e,clientEdgeDestinationID:n}];if(null!=e.backingField.normalizationInfo)return[n,null];var r=e.concreteType;return null!=r||$(!1),[t.ensureClientRecord(n,r),null]}(e,c.id,this._resolverCache),g=f[0],y=f[1];if(null!=e.modelResolver&&null==this._readResolverFieldImpl(e.modelResolver,g))return t[a]=null,null;this._clientEdgeTraversalPath.push(y);var _=t[a];null==_||"object"==typeof _||$(!1);var v=this._traverse(e.linkedField,g,_);return this._clientEdgeTraversalPath.pop(),t[a]=v,v;default:c.kind}},n._readScalar=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=S.getValue(n,o);return null===a?this._maybeAddErrorResponseFields(n,o):void 0===a&&this._markDataAsMissing(),t[i]=a,a},n._readLink=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=S.getLinkedRecordID(n,o);if(null==a)return t[i]=a,null===a?this._maybeAddErrorResponseFields(n,o):void 0===a&&this._markDataAsMissing(),a;var s=t[i];null==s||"object"==typeof s||$(!1);var l=this._traverse(e,a,s);return t[i]=l,l},n._readActorChange=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=S.getActorLinkedRecordID(n,o);if(null==a)return t[i]=a,void 0===a?this._markDataAsMissing():null===a&&this._maybeAddErrorResponseFields(n,o),t[i];var s=a[0],l=a[1],c={};return this._createFragmentPointer(e.fragmentSpread,S.fromObject({__id:l}),c),t[i]={__fragmentRef:c,__viewer:s},t[i]},n._readPluralLink=function(e,n,t){var r=U(e,this._variables),i=S.getLinkedRecordIDs(n,r);return null===i&&this._maybeAddErrorResponseFields(n,r),this._readLinkedIds(e,i,n,t)},n._readLinkedIds=function(e,n,t,r){var i,o=this,a=null!==(i=e.alias)&&void 0!==i?i:e.name;if(null==n)return r[a]=n,void 0===n&&this._markDataAsMissing(),n;var s=r[a];null==s||Array.isArray(s)||$(!1);var l=s||[];return n.forEach(function(n,t){if(null==n){void 0===n&&o._markDataAsMissing(),l[t]=n;return}var r=l[t];null==r||"object"==typeof r||$(!1),l[t]=o._traverse(e,n,r)}),r[a]=l,l},n._readModuleImport=function(e,n,t){var r=j(e.documentName),i=S.getValue(n,r);if(null==i){void 0===i&&this._markDataAsMissing();return}this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},n,t),t[N]=e.fragmentPropName,t[M]=i},n._createAliasedFragmentSpread=function(e,n){var t=e.abstractKey;if(null==t){var r=S.getType(n);if(null==r||r!==e.type)return null}else{var i=this._implementsInterface(n,t);if(!1===i)return null;if(null==i){this._markDataAsMissing();return}}var o={};return this._createFragmentPointer(e.fragment,n,o),S.fromObject(o)},n._readInlineFragment=function(e,n,t){var r=e.abstractKey;if(null==r){var i=S.getType(n);if(null==i||i!==e.type)return null;if(!this._traverseSelections(e.selections,n,t))return!1}else{var o=this._implementsInterface(n,r),a=this._isMissingData,s=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=s||!1===o,this._traverseSelections(e.selections,n,t),this._isWithinUnmatchedTypeRefinement=s,!1===o){this._isMissingData=a;return}if(null==o)return this._markDataAsMissing(),null}return t},n._createFragmentPointer=function(e,n,t){var r=t[L];null==r&&(r=t[L]={}),"object"==typeof r&&null!=r||$(!1),null==t[O]&&(t[O]=S.getDataID(n)),r[e.name]=F(e.args,this._variables,this._isWithinUnmatchedTypeRefinement),t[B]=this._owner,I.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(t[A]=(0,a.default)(this._clientEdgeTraversalPath))},n._createInlineDataOrResolverFragmentPointer=function(e,n,t){var r=t[L];null==r&&(r=t[L]={}),"object"==typeof r&&null!=r||$(!1),null==t[O]&&(t[O]=S.getDataID(n));var i={},o=this._fragmentName;this._fragmentName=e.name;var a=this._variables,s=e.args?F(e.args,this._variables):{};this._variables=E.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,n,i),this._variables=a,this._fragmentName=o,r[e.name]=i},n._addMissingRequiredFields=function(e){if(null==this._missingRequiredFields){this._missingRequiredFields=e;return}if("THROW"!==this._missingRequiredFields.action){if("THROW"===e.action){this._missingRequiredFields=e;return}this._missingRequiredFields={action:"LOG",fields:[].concat((0,a.default)(this._missingRequiredFields.fields),(0,a.default)(e.fields))}}},n._implementsInterface=function(e,n){var t=S.getType(e),r=this._recordSource.get(V(t));return null!=r?S.getValue(r,n):null},e}();function Z(e,n,t){var r="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,o=null;try{var a=[];null!=e.fragment&&a.push(t);var s=e.args?F(e.args,n):void 0;a.push(s),i=r.apply(null,a)}catch(e){e===z?i=void 0:o=e}return[i,o]}function Q(e,n){return"string"==typeof e?e:"object"==typeof e&&null!=e&&"string"==typeof e.id?e.id:void $(!1)}e.exports={read:G}},26896:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(12966),o=t(71600),a=o.EXISTENT,s=o.NONEXISTENT,l=o.UNKNOWN,c=function(){function e(e){var n=this;this._records=new Map,null!=e&&Object.keys(e).forEach(function(t){var r=e[t],o=i.fromObject(r);n._records.set(t,o)})}e.create=function(n){return new e(n)};var n=e.prototype;return n.clear=function(){this._records=new Map},n.delete=function(e){this._records.set(e,null)},n.get=function(e){return this._records.get(e)},n.getRecordIDs=function(){return Array.from(this._records.keys())},n.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:l},n.has=function(e){return this._records.has(e)},n.remove=function(e){this._records.delete(e)},n.set=function(e,n){this._records.set(e,n)},n.size=function(){return this._records.size},n.toJSON=function(){var e,n={},t=(0,r.default)(this._records);try{for(t.s();!(e=t.n()).done;){var o=e.value,a=o[0],s=o[1];n[a]=i.toJSON(s)}}catch(e){t.e(e)}finally{t.f()}return n},e}();e.exports=c},71600:function(e){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},74073:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(30534),o=t(65070),a=t(18402),s=t(94462),l=t(62818).getLocalVariables,c=t(12966),u=t(42597),d=t(88891).generateTypeID,p=t(78405),h=o.ACTOR_CHANGE,m=o.CONDITION,f=o.CLIENT_COMPONENT,g=o.CLIENT_EXTENSION,y=o.DEFER,_=o.FRAGMENT_SPREAD,v=o.INLINE_FRAGMENT,b=o.LINKED_FIELD,k=o.MODULE_IMPORT,C=o.LINKED_HANDLE,x=o.SCALAR_FIELD,T=o.SCALAR_HANDLE,w=o.STREAM,I=o.TYPE_DISCRIMINATOR,R=o.RELAY_RESOLVER,E=o.RELAY_LIVE_RESOLVER,S=o.CLIENT_EDGE_TO_CLIENT_OBJECT,P=u.getStorageKey,A=u.getModuleOperationKey,B=function(){function e(e,n,t,r,i){this._operationLoader=null!=r?r:null,this._operationName=null,this._recordSource=e,this._references=t,this._variables=n,this._shouldProcessClientComponents=i}var n=e.prototype;return n.mark=function(e,n){("Operation"===e.kind||"SplitOperation"===e.kind)&&(this._operationName=e.name),this._traverse(e,n)},n._traverse=function(e,n){this._references.add(n);var t=this._recordSource.get(n);null!=t&&this._traverseSelections(e.selections,t)},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||p(!1),this._variables[e]},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case h:t._traverseLink(r.linkedField,n);break;case b:r.plural?t._traversePluralLink(r,n):t._traverseLink(r,n);break;case m:!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case v:if(null==r.abstractKey){var i=c.getType(n);(null!=i&&i===r.type||i===u.ROOT_TYPE)&&t._traverseSelections(r.selections,n)}else{var o=d(c.getType(n));t._references.add(o),t._traverseSelections(r.selections,n)}break;case _:var s=t._variables;t._variables=l(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=s;break;case C:var P=a(r,e,t._variables);P.plural?t._traversePluralLink(P,n):t._traverseLink(P,n);break;case y:case w:t._traverseSelections(r.selections,n);break;case x:case T:break;case I:var A=d(c.getType(n));t._references.add(A);break;case k:t._traverseModuleImport(r,n);break;case g:t._traverseSelections(r.selections,n);break;case f:if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case R:case E:t._traverseResolverField(r,n);break;case S:t._traverseClientEdgeToClientObject(r,n);break;default:p(!1)}})},n._traverseClientEdgeToClientObject=function(e,n){var t=this._traverseResolverField(e.backingField,n);if(null!=t){var i=this._recordSource.get(t);if(null!=i){if(e.backingField.isOutputType){var o=s(i);if(null!=o){var a,l=(0,r.default)(o);try{for(l.s();!(a=l.n()).done;){var u=a.value;this._references.add(u)}}catch(e){l.e(e)}finally{l.f()}}}else{var d=e.linkedField,p=d.concreteType;if(null==p)return;if(d.plural){var h=c.getResolverLinkedRecordIDs(i,p);if(null!=h){var m,f=(0,r.default)(h);try{for(f.s();!(m=f.n()).done;){var g=m.value;null!=g&&this._traverse(d,g)}}catch(e){f.e(e)}finally{f.f()}}}else{var y=c.getResolverLinkedRecordID(i,p);null!=y&&this._traverse(d,y)}}}}},n._traverseResolverField=function(e,n){var t=P(e,this._variables),r=c.getLinkedRecordID(n,t);null!=r&&this._references.add(r);var i=e.fragment;return null!=i&&this._traverseSelections([i],n),r},n._traverseModuleImport=function(e,n){var t=this._operationLoader;null!==t||p(!1);var r=A(e.documentName),o=c.getValue(n,r);if(null!=o){var a=t.get(o);if(null!=a){var s=i(a),u=this._variables;this._variables=l(this._variables,s.argumentDefinitions,e.args),this._traverseSelections(s.selections,n),this._variables=u}}},n._traverseLink=function(e,n){var t=P(e,this._variables),r=c.getLinkedRecordID(n,t);null!=r&&this._traverse(e,r)},n._traversePluralLink=function(e,n){var t=this,r=P(e,this._variables),i=c.getLinkedRecordIDs(n,r);null!=i&&i.forEach(function(n){null!=n&&t._traverse(e,n)})},e}();e.exports={mark:function(e,n,t,r,i){var o=n.dataID,a=n.node;new B(e,n.variables,t,r,i).mark(a,o)}}},60443:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(83718)),a=t(71631),s=(a.ACTOR_IDENTIFIER_FIELD_NAME,a.getActorIdentifierFromPayload),l=t(65070),c=l.ACTOR_CHANGE,u=l.CLIENT_COMPONENT,d=l.CLIENT_EDGE_TO_CLIENT_OBJECT,p=l.CLIENT_EXTENSION,h=l.CONDITION,m=l.DEFER,f=l.FRAGMENT_SPREAD,g=l.INLINE_FRAGMENT,y=l.LINKED_FIELD,_=l.LINKED_HANDLE,v=l.MODULE_IMPORT,b=l.RELAY_LIVE_RESOLVER,k=l.RELAY_RESOLVER,C=l.SCALAR_FIELD,x=l.SCALAR_HANDLE,T=l.STREAM,w=l.TYPE_DISCRIMINATOR,I=t(13475),R=I.generateClientID;I.isClientID;var E=t(62818).getLocalVariables,S=t(831),P=S.buildErrorTrie,A=S.getErrorsByKey,B=S.getNestedErrorTrieByKey,N=t(12966),L=t(90627).createNormalizationSelector,O=t(42597),M=(O.ROOT_ID,O.TYPENAME_KEY),D=O.getArgumentValues,F=O.getHandleStorageKey,j=O.getModuleComponentKey,U=O.getModuleOperationKey,K=O.getStorageKey,q=t(88891),z=q.TYPE_SCHEMA_TYPE,H=q.generateTypeID;t(49150);var V=t(78405);t(710);var $=function(){function e(e,n,t){this._actorIdentifier=t.actorIdentifier,this._getDataId=t.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=t.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=t.path?(0,o.default)(t.path):[],this._recordSource=e,this._variables=n,this._shouldProcessClientComponents=t.shouldProcessClientComponents}var n=e.prototype;return n.normalizeResponse=function(e,n,t,r){var i=this._recordSource.get(n);return i||V(!1),this._assignClientAbstractTypes(e),this._errorTrie=P(r),this._traverseSelections(e,i,t),{errors:r,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,r=Object.keys(n);t-1})),t&&(d=null!=d?[t].concat((0,r.default)(d)):[t]),null===d)?u:m(u,h(d,n))},getStorageKey:function(e,n){if(e.storageKey)return e.storageKey;var t=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var n,t;return null==e.args?null===(t=e.fragment)||void 0===t?void 0:t.args:(null===(n=e.fragment)||void 0===n?void 0:n.args)==null?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),r=e.name;return t&&0!==t.length?m(r,h(t,n)):r},getStableStorageKey:function(e,n){return m(e,a(n))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=f},55030:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(21679),o=t(65070).RELAY_LIVE_RESOLVER,a=t(97250),s=t(95117),l=t(13475).generateClientID,c=t(12966),u=t(42597),d=u.RELAY_RESOLVER_ERROR_KEY,p=u.RELAY_RESOLVER_INVALIDATION_KEY,h=u.RELAY_RESOLVER_SNAPSHOT_KEY,m=u.RELAY_RESOLVER_VALUE_KEY,f=u.getStorageKey,g=t(78405);t(710);var y=new Set,_=function(){function e(){}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,r,i){n.kind!==o||g(!1);var a=r(),s=a.resolverResult,l=a.snapshot;return[s,void 0,a.error,l,void 0,void 0]},n.invalidateDataIDs=function(e){},n.ensureClientRecord=function(e,n){g(!1)},n.notifyUpdatedSubscribers=function(e){},e}();function v(e,n,t){var r=e.get(n);r||(r=new Set,e.set(n,r)),r.add(t)}var b=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,i,o){var u=this._getRecordSource(),p=u.get(e);null!=p||g(!1);var y=f(n,t),_=c.getLinkedRecordID(p,y),b=null==_?null:u.get(_);if(null==b||this._isInvalid(b,o)){_=null!==(I=_)&&void 0!==I?I:l(e,y),b=c.create(_,"__RELAY_RESOLVER__");var k=i();a.ENABLE_SHALLOW_FREEZE_RESOLVER_VALUES&&s(k.resolverResult),c.setValue(b,m,k.resolverResult),c.setValue(b,h,k.snapshot),c.setValue(b,d,k.error),u.set(_,b);var C=u.get(e);null!=C||g(!1);var x=c.clone(C);if(c.setLinkedRecordID(x,y,_),u.set(e,x),null!=n.fragment){var T=l(e,f(n.fragment,t));v(this._resolverIDToRecordIDs,T,_),v(this._recordIDToResolverIDs,e,T);var w=null===(R=k.snapshot)||void 0===R?void 0:R.seenRecords;if(null!=w){var I,R,E,S=(0,r.default)(w);try{for(S.s();!(E=S.n()).done;){var P=E.value;v(this._recordIDToResolverIDs,P,T)}}catch(e){S.e(e)}finally{S.f()}}}}var A=c.getValue(b,m),B=c.getValue(b,h);return[A,_,c.getValue(b,d),B,void 0,void 0]},n.invalidateDataIDs=function(e){for(var n=this._getRecordSource(),t=new Set,i=Array.from(e);i.length;){var o=i.pop();e.add(o);var a,s=(0,r.default)(null!==(c=this._recordIDToResolverIDs.get(o))&&void 0!==c?c:y);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(!t.has(l)){var c,u,d=(0,r.default)(null!==(p=this._resolverIDToRecordIDs.get(l))&&void 0!==p?p:y);try{for(d.s();!(u=d.n()).done;){var p,h=u.value;this._markInvalidatedResolverRecord(h,n,e),t.has(h)||i.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){s.e(e)}finally{s.f()}}},n._markInvalidatedResolverRecord=function(e,n,t){var r=n.get(e);if(r){var i=c.clone(r);c.setValue(i,p,!0),n.set(e,i)}},n._isInvalid=function(e,n){if(!c.getValue(e,p))return!1;var t=c.getValue(e,h),r=null==t?void 0:t.data,o=null==t?void 0:t.selector;return null==r||null==o||i(r,n(o).data)!==r},n.ensureClientRecord=function(e,n){g(!1)},n.notifyUpdatedSubscribers=function(e){g(!1)},e}();e.exports={NoopResolverCache:_,RecordResolverCache:b}},47554:function(e,n,t){"use strict";var r=t(13323).getFragment,i=t(90627).getSelector,o=t(78405),a=[],s={};e.exports={readFragment:function(e,n){if(!a.length)throw Error("readFragment should be called only from within a Relay Resolver function.");var t=a[a.length-1],l=i(r(e),n);null!=l||o(!1),"SingularReaderSelector"!==l.kind&&o(!1);var c=t.getDataForResolverFragment(l,n),u=c.data;if(c.isMissingData)throw s;return u},withResolverContext:function(e,n){a.push(e);try{return n()}finally{a.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:s}},88891:function(e){"use strict";var n="client:__type:";e.exports={generateTypeID:function(e){return n+e},isTypeID:function(e){return 0===e.indexOf(n)},TYPE_SCHEMA_TYPE:"__TypeSchema"}},83927:function(e,n,t){"use strict";var r=(0,t(13475).generateClientID)(t(42597).ROOT_ID,"viewer");e.exports={VIEWER_ID:r,VIEWER_TYPE:"Viewer"}},18402:function(e,n,t){"use strict";var r=t(65070).LINKED_FIELD,i=t(42597).getHandleStorageKey,o=t(49150),a=t(78405);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&o(n.args,e.args)});s&&s.kind===r||a(!1);var l=i(e,t);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},72757:function(e,n,t){"use strict";var r=t(65070).SCALAR_FIELD,i=t(42597).getHandleStorageKey,o=t(49150),a=t(78405);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&o(n.args,e.args)});s&&s.kind===r||a(!1);var l=i(e,t);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},29078:function(e,n,t){"use strict";var r=t(99794);t(710),e.exports=function(e,n,t,i,o,a){return new r(e,t,i,a,o)}},20584:function(e,n,t){"use strict";var r,i,o=t(78405);e.exports=function(e){return r||(r=e.createContext(null),i=e),e!==i&&o(!1),r}},99389:function(e,n,t){"use strict";var r=t(83927),i=r.VIEWER_ID,o=r.VIEWER_TYPE;e.exports=function(e,n){return n===o&&null==e.id?i:e.id}},92222:function(e){"use strict";e.exports=function(e){}},7900:function(e){"use strict";var n=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===n},suspenseSentinel:function(){return n}}},94462:function(e,n,t){"use strict";var r=t(12966),i=t(42597).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,o=t(78405);e.exports=function(e){var n=r.getValue(e,i);return null==n?null:(n instanceof Set||o(!1),n)}},20653:function(e){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),i=r.next();!i.done;){var o=i.value;if(t.has(o))return!0;i=r.next()}return!1}},16527:function(e,n,t){"use strict";var r=t(42597).ROOT_ID,i=t(83927).VIEWER_ID,o=Symbol.iterator;e.exports=function(e,n){for(var t=e[o](),a=t.next();!a.done;){var s=a.value;if(n.has(s)&&s!==r&&s!==i)return!0;a=t.next()}return!1}},86407:function(e){"use strict";e.exports=function(e){return!!(e&&e["@@RelayModernEnvironment"])}},70390:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(12966)),a=r(t(26896)),s=r(t(60443));e.exports=function(e,n,t,r){var l,c=e.data,u=e.errors,d=a.default.create(),p=o.default.create(n.dataID,t);d.set(n.dataID,p);var h=s.default.normalize(d,n,c,r,u);return(0,i.default)((0,i.default)({},h),{},{isFinal:(null===(l=e.extensions)||void 0===l?void 0:l.is_final)===!0})}},88465:function(e,n,t){"use strict";var r=t(13323).getInlineDataFragment,i=t(42597).FRAGMENTS_KEY,o=t(78405);e.exports=function(e,n){var t,a=r(e);if(null==n)return n;"object"!=typeof n&&o(!1);var s=null===(t=n[i])||void 0===t?void 0:t[a.name];return null!=s||o(!1),s}},3434:function(e,n,t){"use strict";var r=t(72812),i=t(13323).getRequest,o=t(47788).createOperationDescriptor,a=t(90627).createReaderSelector;t(710),e.exports=function(e,n){var t=i(n.subscription);if("subscription"!==t.params.operationKind)throw Error("requestSubscription: Must use Subscription operation");var s=n.configs,l=n.onCompleted,c=n.onError,u=n.onNext,d=o(t,n.variables,n.cacheConfig),p=(s?r.convert(s,t,null,n.updater):n).updater;return{dispose:e.executeSubscription({operation:d,updater:p}).subscribe({next:function(n){if(null!=u){var t,r,i,o,s=d.fragment;"string"==typeof(t=Array.isArray(n)?null===(r=n[0])||void 0===r?void 0:null===(i=r.extensions)||void 0===i?void 0:i.__relay_subscription_root_id:null===(o=n.extensions)||void 0===o?void 0:o.__relay_subscription_root_id)&&(s=a(s.node,t,s.variables,s.owner)),u(e.lookup(s).data)}},error:c,complete:l}).unsubscribe}}},65070:function(e){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},96048:function(e){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},20199:function(e){"use strict";function n(e,n,t){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o2?r-2:0),o=2;o2?r-2:0),o=2;o0){for(var o=[],a=i.length-1;a>=0;a--){var s=i[a](e,r);o.unshift(s)}return{stop:function(e){o.forEach(function(n){return n(e)})}}}return t},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,i;n.hasOwnProperty(e)&&-1!==(i=(r=n[e]).indexOf(t))&&r.splice(i,1)}}},81701:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(8442)),a=t(6191),s=t(78405),l=function(){function e(){var e=this;(0,o.default)(this,"_complete",!1),(0,o.default)(this,"_events",[]),(0,o.default)(this,"_sinks",new Set),(0,o.default)(this,"_subscription",[]),this._observable=a.create(function(n){e._sinks.add(n);for(var t=e._events,r=0;r4294967295||l(n)!==n)throw new s("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!t)&&(o?i(e,"length",n,!0,!0):i(e,"length",n)),e}},72112:function(e,n,t){"use strict";t.r(n),t.d(n,{focusable:function(){return E},getTabIndex:function(){return h},isFocusable:function(){return A},isTabbable:function(){return S},tabbable:function(){return R}});/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var n;return null==e?void 0:null===(n=e.getRootNode)||void 0===n?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(n,t){void 0===t&&(t=!0);var r,i=null==n?void 0:null===(r=n.getAttribute)||void 0===r?void 0:r.call(n,"inert");return""===i||"true"===i||t&&n&&e(n.parentNode)},c=function(e){var n,t=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"contenteditable");return""===t||"true"===t},u=function(e,n,t){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return n&&a.call(e,i)&&r.unshift(e),r=r.filter(t)},d=function e(n,t,r){for(var o=[],s=Array.from(n);s.length;){var c=s.shift();if(!l(c,!1)){if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:c,candidates:d})}else{a.call(c,i)&&r.filter(c)&&(t||!n.includes(c))&&o.push(c);var p=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),h=!l(p,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(p&&h){var m=e(!0===p?c.children:p.children,!0,r);r.flatten?o.push.apply(o,m):o.push({scopeParent:c,candidates:m})}else s.unshift.apply(s,c.children)}}}return o},p=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},h=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||c(e))&&!p(e)?0:e.tabIndex},m=function(e,n){var t=h(e);return t<0&&n&&!p(e)?0:t},f=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},g=function(e){return"INPUT"===e.tagName},y=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return b(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return b(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=o}if(v(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},C=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;th(n))&&!!x(e,n)},w=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||n>=0},I=function e(n){var t=[],r=[];return n.forEach(function(n,i){var o=!!n.scopeParent,a=o?n.scopeParent:n,s=m(a,o),l=o?e(n.candidates):a;0===s?o?t.push.apply(t,l):t.push(a):r.push({documentOrder:i,tabIndex:s,item:n,isScope:o,content:l})}),r.sort(f).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},R=function(e,n){return I((n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:T.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:w}):u(e,n.includeContainer,T.bind(null,n)))},E=function(e,n){return(n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:x.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):u(e,n.includeContainer,x.bind(null,n))},S=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,i)&&T(n,e)},P=r.concat("iframe").join(","),A=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,P)&&x(n,e)}},88321:function(e,n,t){"use strict";t.d(n,{ST:function(){return a},z$:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);return e?e.client:null},a=()=>{let e=(0,r.useContext)(i);return e?e.volume:null};n.ZP=i},47382:function(e,n,t){"use strict";t.d(n,{RI:function(){return a},aC:function(){return o}});var r=t(82201);let i=(0,r.createContext)({authMethod:null,userLoading:!0,setUser:()=>{}});function o(){return(0,r.useContext)(i)}function a(){return(0,r.useContext)(i).viewer||null}n.ZP=i},70810:function(e,n,t){"use strict";t.d(n,{G:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Campaign Context");return e};n.Z=i},45293:function(e,n,t){"use strict";t.d(n,{q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Config Context");return e};n.Z=i},42061:function(e,n,t){"use strict";t.d(n,{M:function(){return o}});var r=t(82201);let i=r.createContext({drawerId:"coral-drawer",isDrawerOpen:!1,isDrawerTransitionDisabled:!1,isDrawerPrerendered:!1,openDrawer:()=>{},closeDrawer:()=>{},prerenderDrawer:()=>{}}),o=()=>(0,r.useContext)(i);n.Z=i},78796:function(e,n,t){"use strict";t.d(n,{Q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Global Data Context");return e};n.Z=i},27018:function(e,n,t){"use strict";t.d(n,{D:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Loop Nav Context");return e};n.Z=i},59356:function(e,n,t){"use strict";t.d(n,{J:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null);function o(){return(0,r.useContext)(i)||null}n.Z=i},24353:function(e,n,t){"use strict";var r,i,o,a,s,l,c,u,d,p,h,m,f,g,y,_,v,b,k,C,x,T;t.r(n);let w=(o={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"breakingNewsBanner",plural:!1,selections:i=[{alias:null,args:null,kind:"ScalarField",name:"buttonText",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"buttonUrl",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"content",plural:!0,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"heading",storageKey:null}],storageKey:null},a={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"wikiBanner",plural:!1,selections:i,storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"siteDomain",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"siteSlug",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"siteTitle",storageKey:null},h={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[p={alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:d=[u={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"vertical",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:d,storageKey:null}],storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"listId",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"default",storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"frequency",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"GlobalDataContainerQuery",selections:[o,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,c,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[h],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[m={alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},g={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[u,{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[y,_,v,b,k={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"promoText",plural:!1,selections:r,storageKey:null},C,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[x={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[p],storageKey:null}],storageKey:null}],storageKey:null}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"GlobalDataContainerQuery",selections:[o,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,c,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[h,T],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[m,f,g,T],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[y,_,v,b,k,C,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[x,T],storageKey:null}],storageKey:null}]},params:{id:"36af7669871246e90b8f2d319df2fc61",metadata:{},name:"GlobalDataContainerQuery",operationKind:"query",text:null}});w.hash="8f8c886f12e1b973ab35589cfe8f0262",n.default=w},59785:function(e,n,t){"use strict";var r,i,o,a,s,l,c,u,d,p,h;t.r(n);let m={fragment:{argumentDefinitions:r=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],kind:"Fragment",metadata:null,name:"LoopNavProviderContainerQuery",selections:[{kind:"RequiredField",field:{alias:null,args:i=[{kind:"Variable",name:"id",variableName:"nodeId"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[o={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:d=[a={alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l={alias:null,args:null,kind:"ScalarField",name:"listItemResourceId",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,u,c],storageKey:null}],storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:d,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:d,type:"VideoGameResourceType",abstractKey:null}],storageKey:null},action:"THROW",path:"node"}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:r,kind:"Operation",name:"LoopNavProviderContainerQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[o,{kind:"InlineFragment",selections:h=[a,{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,c,u,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,u,c,p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},p],storageKey:null},p],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:h,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:h,type:"VideoGameResourceType",abstractKey:null},p],storageKey:null}]},params:{id:"529cad23f4ba104eb71ed003fb84403b",metadata:{},name:"LoopNavProviderContainerQuery",operationKind:"query",text:null}};m.hash="4c3e8c249bd5b267f0ed4e22d21e8d9d",n.default=m},86022:function(e,n,t){"use strict";t.d(n,{Z:function(){return y}});var r=t(70810),i=t(78796),o=t(31561),a=t(35458),s=t(82201),l=t(94523),c=t(31994),u=t(85056),d=t(31218),p=t(1855),h=t(418),m=t(88321);t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(66813);var f={fullWidth:"_1juo5fm0",square:"_1juo5fm1",standard:"_1juo5fm2",stream:"_1juo5fm3"},g=(0,d.n)(({wikiBanner:e,template:n,className:t})=>{let r=(0,s.createRef)();(0,p.Z)(r,{event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e?.heading,action:"view",position:"wiki_banner"}});let i=(0,m.z$)();return e?(0,o.jsx)("div",{className:(0,a.Z)(u.I.WikiBanner,n&&f[n],t),ref:r,children:(0,o.jsxs)("div",{className:(0,a.Z)(h.F.layout.mainColumn,"_1juo5fm4 _1agbrixx"),children:[(0,o.jsx)("h2",{className:"_1juo5fm8",children:e.heading}),(0,o.jsxs)("div",{className:"_1juo5fm6",children:[(0,o.jsx)("div",{className:"_1juo5fm9",children:e.content.map((e,n)=>(0,o.jsx)(l.Z,{component:"p",html:e.html},n))}),(0,o.jsxs)("div",{className:"_1juo5fm7",children:[e.dek&&(0,o.jsx)(l.Z,{component:"p",html:e.dek,className:"_1juo5fma"}),(0,o.jsx)(c.Z,{className:"_1juo5fmb",href:e.buttonUrl,text:e.buttonText,onClick:()=>{i?.emit({event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e.heading,action:`click_${e.buttonText}`,position:"wiki_banner"}})}})]})]})]})}):null},{context:"WikiBannerErrorBoundary"}),y=e=>{let{template:n,className:t}=e,{wikiBanner:a,breakingNewsBanner:s}=(0,i.Q)(),{campaign:l}=(0,r.G)();return l||s||!a?null:(0,o.jsx)(g,{className:t,template:n,wikiBanner:a})}},24860:function(e,n,t){"use strict";t.d(n,{$1:function(){return m},$Z:function(){return i},GH:function(){return a},GQ:function(){return f},In:function(){return u},J$:function(){return v},Jm:function(){return o},Ns:function(){return g},P3:function(){return p},WG:function(){return s},X5:function(){return l},eG:function(){return y},k5:function(){return d},lV:function(){return _},wb:function(){return r},y3:function(){return c},yN:function(){return h}});let r="DUET",i="DEV",o="?";Number.parseFloat("0.001");let a=15,s=10,l=40,c=15,u=40,d=25,p=15,h=10,m=15,f=15,g=7,y={deployEnv:"production",defaultBrandedContentDisclaimer:"This advertising content was produced in collaboration between Vox Creative and our sponsor, without involvement from Vox Media editorial staff."},_="_chorus_ccpa_consent_donotsell",v="This video contains sensitive or violent content"},98876:function(e,n,t){var r=t(74702);let{normalize:i}=t(23743),o=e=>{let n=`${e}=`;return decodeURIComponent(document.cookie).split("; ").reduce((e,t)=>0===t.indexOf(n)?t.substring(n.length):e,"")},{SENTRY_SERVER_SAMPLE_RATE:a,SENTRY_CLIENT_SAMPLE_RATE:s}=t(87036),l="undefined"==typeof window,c=e=>{if(l)return!0;let n=e.exception?.values?.[0]?.stacktrace?.frames||[];return!!n[n.length-1].filename?.startsWith("app:///_next/")&&!(n.filter(e=>e.filename?.startsWith("app:///_next/")).length<2)};function u(e,n){let t=n;for(let r of(Array.isArray(n)||(t=[n]),t))if("string"==typeof r&&e===r||r instanceof RegExp&&e.match(r))return!0;return!1}e.exports={createSentryConfig:function(e){let{supportedBrowsersRegExp:n,allowDomains:d="www.vox.com"}=e;return{debug:!1,integrations:function(e){let n=e;n=e.filter(function(e){return"RewriteFrames"!==e.name});let{rewriteFramesIntegration:r}=t(18510),i=r({iteratee:e=>{if(!l){try{let{hostname:n}=new URL(e.filename);u(n,d)&&(e.filename=e.filename.replace(origin,"app://"))}catch(e){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e}}});return n.push(i),n},dsn:"https://dda62d08b807fc79b0fff14e1d7dd23d@o4507017844228096.ingest.us.sentry.io/4507272654159872",environment:"production",tracePropagationTargets:[],sampleRate:l?a:s,tracesSampleRate:0,autoSessionTracking:!1,sendClientReports:!1,normalizeDepth:10,normalizeMaxBreadth:1e3,beforeSend:(e,a)=>{e.contexts=e.contexts||{},e.tags=e.tags||{},e.tags["network.name"]="Vox",e.tags["network.id"]="5",e.tags["wordpress.target"]="production",e.tags["wordpress.origin"]="https://platform.vox.com",e.tags["deploy.environment"]="production";let s=e.request?.cookies?.OptanonConsent||!l&&o("OptanonConsent");if(s)try{let n={};new URLSearchParams(s).forEach((e,t)=>{"groups"===t||"hosts"===t?n[t]=e.split(","):n[t]=e}),e.contexts["Consent Cookie"]=n}catch(e){l&&console.error(e)}r.env.VERSION&&(e.tags.version=r.env.VERSION),a.originalException?.extra&&(e.extra=e.extra||{},Object.assign(e.extra,a.originalException.extra),e.extra=i(e.extra,10,1e3));let u=!c(e)||!l&&!n.test(t.g.navigator.userAgent);return(l?console.error(JSON.stringify({...function(e,n){let{[n]:t,...r}=e;return r}(e,"sdkProcessingMetadata"),msg:e?.extra?.message||`${a.originalException?.message}`,errorMessage:`${a.originalException?.message}`,errorType:`${a.originalException?.name}`},void 0,2)):u||console.error(`Error: ${a.event_id}`),u)?null:e}}},isValidHostname:u}},87036:function(e){e.exports={APP_NAME:"duet-network-vox",WP_ORIGIN:"https://platform.vox.com",SENTRY_CLIENT_SAMPLE_RATE:Number.parseFloat("0.001"),SENTRY_SERVER_SAMPLE_RATE:Number.parseFloat("0.10")}},70740:function(e,n,t){"use strict";t.d(n,{Cv:function(){return a},GE:function(){return o},lu:function(){return r},tp:function(){return i}});let r=441,i=641,o={405:"Polygon",372:"The Verge",441:"Vox",450:"Eater",eater:{454:{name:"Eater Maine",subdomain:"maine",wpSiteId:3},456:{name:"Eater Boston",subdomain:"boston",wpSiteId:4},458:{name:"Eater Montreal",subdomain:"montreal",wpSiteId:5},460:{name:"Eater NY",subdomain:"ny",wpSiteId:6},464:{name:"Eater Philly",subdomain:"philly",wpSiteId:8},466:{name:"Eater DC",subdomain:"dc",wpSiteId:9},468:{name:"Eater Toronto",subdomain:"toronto",wpSiteId:10},470:{name:"Eater Carolinas",subdomain:"carolinas",wpSiteId:11},472:{name:"Eater Miami",subdomain:"miami",wpSiteId:12},474:{name:"Eater Detroit",subdomain:"detroit",wpSiteId:13},476:{name:"Eater Atlanta",subdomain:"atlanta",wpSiteId:14},478:{name:"Eater Louisville",subdomain:"louisville",wpSiteId:15},480:{name:"Eater Nashville",subdomain:"nashville",wpSiteId:16},482:{name:"Eater Chicago",subdomain:"chicago",wpSiteId:17},484:{name:"Eater New Orleans",subdomain:"nola",wpSiteId:18},486:{name:"Eater Twin Cities",subdomain:"twincities",wpSiteId:19},488:{name:"Eater Houston",subdomain:"houston",wpSiteId:20},490:{name:"Eater Dallas",subdomain:"dallas",wpSiteId:21},492:{name:"Eater Austin",subdomain:"austin",wpSiteId:22},494:{name:"Eater Denver",subdomain:"denver",wpSiteId:23},496:{name:"Eater Vegas",subdomain:"vegas",wpSiteId:24},498:{name:"Eater San Diego",subdomain:"sandiego",wpSiteId:25},500:{name:"Eater LA",subdomain:"la",wpSiteId:26},502:{name:"Eater Seattle",subdomain:"seattle",wpSiteId:27},504:{name:"Eater SF",subdomain:"sf",wpSiteId:28},506:{name:"Eater Portland",subdomain:"pdx",wpSiteId:29},508:{name:"Eater Vancouver",subdomain:"vancouver",wpSiteId:30},707:{name:"Eater London",subdomain:"london",wpSiteId:31},782:{name:"Eater Phoenix",subdomain:"phoenix",wpSiteId:32}}},a={372:"Verge"}},10160:function(e,n,t){"use strict";t.d(n,{J:function(){return l}});var r=t(70740),i=t(74702);let o=e=>`vx${e}:`,a=e=>{if(e in r.GE&&"string"==typeof r.GE[e]){let n=r.GE[e],t=n.toLowerCase().replace(" ",""),i=r.Cv[e]||n;return{communityName:n,communityShortName:i,domain:`www.${t}.com`,vipDomain:`${t}.com`,isPrimaryCommunity:!0,wpSiteId:2}}if(e in r.GE.eater){let n=r.GE.eater[e];if(!n)throw Error(`Invalid Eater subcommunity: ${e}`);let{name:t,subdomain:i,wpSiteId:o}=n;return{communityName:t,communityShortName:t,domain:`${i}.eater.com`,vipDomain:`${i}.eater.com`,isPrimaryCommunity:!1,wpSiteId:o}}throw Error(`No community config found for communityId: ${e}`)},s=e=>{let{targetEnv:n,vipDomain:t,fastlyProxySubdomain:r}=e,i="production"===n,o=i?2===t.split(".").length?`www.${t}`:t:`${n}.${t}`,a=i?`platform.${t}`:`platform.${n}.${t}`;return r&&(a=`${r}.${t}`),{vipCommunityDomain:o,vipCommunityApiDomain:a}},l=e=>{let{communityName:n,vipDomain:t,wpSiteId:l,communityShortName:c}=a(e),u="true"===i.env.ENABLE_FASTLY_API_PROXY,{vipCommunityDomain:d,vipCommunityApiDomain:p}=s({targetEnv:"production",vipDomain:t,fastlyProxySubdomain:u&&i.env.WP_API_PROXY_SUBDOMAIN?.length?i.env.WP_API_PROXY_SUBDOMAIN:null}),h=`https://${d}`,m=`https://${p}`,f=`${m}${u?"/wp-api":""}/graphql`;return{communityApiOrigin:m,communityApiUrl:f,communityDomain:d,communityOrigin:h,communityId:e,communityName:n,communityShortName:c,siteOrigin:null,vmPrefix:o(l),voxCreativeCommunityId:r.tp}}},80646:function(e,n,t){"use strict";t.d(n,{dm:function(){return c},vG:function(){return u}});var r=t(82201),i=t(7588),o=t(45293),a=t(31561),s=r.memo(e=>{let{id:n,chorusId:t,chorusUuid:s,url:l,noText:c}=e;(0,r.useEffect)(()=>{window.CoralCount?.reload()},[]);let{coralConfig:u}=(0,o.q)();if(!u)throw Error("missing coral config");let[d,p]=(0,r.useState)(""),{appConfig:{deployEnv:h},communityConfig:{communityOrigin:m}}=(0,o.q)(),f="production"!==h&&"pre-production"!==h;(0,r.useEffect)(()=>{f&&l&&p(l.replace(m,window.location.origin))},[l,m,f]);let g=(0,i.w)({chorusId:t,chorusUuid:s,id:n});return f&&!d?null:(0,a.jsx)("span",{className:"coral-count","data-coral-id":g,"data-coral-notext":!!c||void 0,"data-coral-url":d||l})});let l=t(74702).env.NEXT_PUBLIC_CORAL_CACHE_FINGERPRINT||"0",c="https://vox.coral.coralproject.net",u={enableLegacyID:!0,namePrefix:"vox_user",cacheFingerprint:l,origin:c,moderationEmail:"moderators@vox.com",CoralCount:s}},63525:function(e,n,t){"use strict";t.d(n,{Fg:function(){return i.Fg},GH:function(){return o.GH},J$:function(){return o.J$},Jx:function(){return r.J},P3:function(){return o.P3},k5:function(){return o.k5},yN:function(){return o.yN}});var r=t(10160),i=t(66912),o=t(24860)},66912:function(e,n,t){"use strict";t.d(n,{$:function(){return u},Ab:function(){return c},Fg:function(){return l},l$:function(){return s}});var r=t(76553),i=t(87036),o=t(74702);let a=Number("5"),s="8b24268154d89d965906f3fe03c3cb75",l=String("vx"),c=(0,r.N3)("www.vox.com");o.env.ENTITLEMENTS?.split(",");let u={affiliateSubtagsSiteKey:l,appName:i.APP_NAME,networkId:a,networkName:"Vox",organizationId:1,concertAds:{network:"vox",gam:"172968584"}}},7588:function(e,n,t){"use strict";t.d(n,{w:function(){return i}});var r=t(45293);function i(e){let{coralConfig:n}=(0,r.q)();if(!n)throw Error("missing coral config");return n.enableLegacyID&&e.chorusId?.toString()||e.chorusUuid||e.id}},8766:function(e,n,t){"use strict";t.d(n,{Q:function(){return r}});class r extends Error{constructor(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="DuetError",this.cause=n.cause,this.extra=n.extra,this.extraStringified=JSON.stringify(this.extra,null,2)}}},70341:function(e,n,t){"use strict";let r=(0,t(82201).createContext)(null);n.Z=r},83419:function(e,n,t){"use strict";var r=t(82201),i=t(70341);n.Z=function(){let e=(0,r.useContext)(i.Z);if(!e||!e.routeInfo)throw Error("Make sure to use ");return e.routeInfo}},18881:function(e,n,t){"use strict";var r=t(59243),i=t.n(r),o=t(31561);n.Z=e=>{let{schema:n}=e;return(0,o.jsx)(i(),{children:(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})})}},81799:function(e,n,t){"use strict";t.d(n,{K$:function(){return u},OF:function(){return i},VS:function(){return c},nZ:function(){return l},vu:function(){return r},zE:function(){return s}});let r="no-cache, no-store, must-revalidate",i="private, no-store",o=e=>{let{keys:n,vmPrefix:t,duetPrefix:r=!0}=e;return n.map(e=>`${r?"d:":""}${t||""}${e}`)},a=e=>{let{vmPrefix:n,pageKeys:t=[],queryResponseKeys:r=[]}=e,i=["all","duet"],a=o({keys:i,vmPrefix:n,duetPrefix:!1}),s=[...i,...a,...r];return t.length&&s.push(...o({keys:t,vmPrefix:n})),s},s=e=>{let n=[];if(e&&"string"==typeof e["x-graphql-keys"]){let t=e["x-graphql-keys"].replace(/\S*(:graphql:)\S*/g,"").replace(/\s+/g," ").split(" ");n.push(...o({keys:t}))}return n},l=e=>{let{res:n,vmPrefix:t,cacheControl:o,maxAge:s,stale:l,preview:c,pageKeys:u=[],queryResponseKeys:d=[],secondsToNextSponsorshipTransition:p}=e;if(c){n.setHeader("cache-control",r),n.setHeader("surrogate-control",i);return}let h=a({vmPrefix:t,pageKeys:u,queryResponseKeys:d}),m=n.getHeader("surrogate-key");m&&"string"==typeof m&&h.push(...m.split(" "));let f=(function(e,n){let t=`d:${n}`,r={default:{priority:100,priorityGroup:"default",sortLexicographically:!0},noPrefix:{priority:1,priorityGroup:"noPrefix",sortLexicographically:!0},vmPrefix:{priority:2,priorityGroup:"vmPrefix",sortLexicographically:!0},duetPageKey:{priority:3,priorityGroup:"duetPageKey",sortLexicographically:!0},queryId:{priority:4,priorityGroup:"queryId",sortLexicographically:!1},operation:{priority:5,priorityGroup:"operation",sortLexicographically:!1},operationLayout:{priority:6,priorityGroup:"operationLayout",sortLexicographically:!1},customKey:{priority:7,priorityGroup:"customKey",sortLexicographically:!0},resource:{priority:8,priorityGroup:"resource",sortLexicographically:!0},mediaResource:{priority:9,priorityGroup:"mediaResource",sortLexicographically:!0},list:{priority:10,priorityGroup:"list",sortLexicographically:!0}},i=e=>{if(e.startsWith(n))return r.vmPrefix;if(e.startsWith(t)){let n=e.replace(t,"");if(/^[0-9a-fA-F]+$/.test(n))return r.queryId;if(!n.includes(":"))return r.duetPageKey;if(n.startsWith("operation:"))return n.includes("LayoutQuery")?r.operationLayout:r.operation;if(n.startsWith("ck:"))return r.customKey;let[i,o]=n.split(":");return i&&o&&!isNaN(Number(o))?"image"===i||"volumeVideo"===i?r.mediaResource:r.resource:n.startsWith("list:")?r.list:r.default}return r.noPrefix};return e.sort((e,n)=>{let t=i(e),r=i(n);return t.priority===r.priority&&t.sortLexicographically?e.localeCompare(n):t.priority-r.priority})})([...new Set(h)],t).join(" "),g=Number((s||"max-age=3600").replace("max-age=","")),y=`max-age=${Math.min(g,p||1/0)}`;n.setHeader("cache-control",o||"no-store"),n.setHeader("surrogate-control",`${y}, ${l||"stale-while-revalidate=86400, stale-if-error=604800"}`),n.setHeader("surrogate-key",f)},c=e=>{e.setHeader("cache-control",r),e.setHeader("surrogate-control",i),e.removeHeader("Surrogate-Key")},u=e=>{if("headers"in e){let n;if("function"==typeof e.headers.get&&(n=e.headers.get("vm-cache-bypass-wp")),"vm-cache-bypass-wp"in e.headers&&(n=e.headers["vm-cache-bypass-wp"]),n)return!0}let n="headers"in e&&"host"in e.headers?`http://${e.headers.host}`:e.url;return!!(e.url&&new URL(e.url,n).searchParams.get("bypassWpCache"))}},96233:function(e,n,t){"use strict";t.d(n,{Tn:function(){return o},aW:function(){return i}});let r=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[n];if(void 0===r){if(!t)return null;throw Error(`Header '${n}' is not defined.`)}if("string"!=typeof r)throw Error(`Header '${n}' is not a string.`);return r},i=(e,n)=>{let t=Number(r(e,"vm-community-id",!0)),i=r(e,"vm-resource-primary-category",!0),o=r(e,"vm-resource-package"),a=r(e,"vm-resource-stream"),s="true"===r(e,"vm-resource-has-campaign"),l="false"!==r(e,"vm-resource-is-accessible-for-free");if(n){for(let t in e)if(t.startsWith("vm-resource")){let i=r(e,t);i&&n.setHeader(t,i)}}return{communityId:t,primaryPackageNodeId:o,primaryStreamNodeId:a,primaryCategoryNodeId:i,hasCampaign:s,isAccessibleForFree:l}},o=e=>{let n=e;if(e.includes("Layout"))return"vm-duration-layout-query";e.includes("ProviderContainerQuery")&&(n=e.replace("ProviderContainer","")),e.includes("ContainerQuery")&&(n=e.replace("Container","")),e.includes("ArticleRecirc")&&(n=e.replace("Article",""));let t=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return`vm-duration-${t}`}},7345:function(e,n,t){"use strict";t.d(n,{Z:function(){return W},W:function(){return r}});var r={};t.r(r),t.d(r,{Uh:function(){return s},rJ:function(){return l},Ps:function(){return c},Ym:function(){return u},X8:function(){return d},eu:function(){return p},Mq:function(){return h},He:function(){return m},oD:function(){return f},$I:function(){return g},Hh:function(){return y},b6:function(){return _},Rl:function(){return v},aX:function(){return b},F0:function(){return k},vD:function(){return C},DL:function(){return x},FO:function(){return T},cj:function(){return w},_E:function(){return I},Hb:function(){return R},Yq:function(){return E},zP:function(){return S},cg:function(){return P},k_:function(){return A},pE:function(){return B},I_:function(){return N},L5:function(){return L},tO:function(){return O},Dj:function(){return M},rS:function(){return D},bq:function(){return F},P:function(){return j},yr:function(){return U},Zc:function(){return K},yO:function(){return q},ke:function(){return z},_x:function(){return H},TR:function(){return V},IK:function(){return $}});var i=t(31561),o=t(35458),a=t(45293);t(93960);var s="_1ugw7dw0",l={containerClassName:"_1ugw7dw8",slotClassName:"_1ugw7dw9"},c={containerClassName:"_1ugw7dwg _1ugw7dw1",slotClassName:"_1ugw7dwh"},u={containerClassName:"_1ugw7dwe _1ugw7dw1",slotClassName:"_1ugw7dwf"},d={containerClassName:"_1ugw7dw1i",slotClassName:"_1ugw7dw1j"},p={containerClassName:"_1ugw7dw1g",slotClassName:"_1ugw7dw1h"},h={containerClassName:"_1ugw7dw1k",slotClassName:"_1ugw7dw1l"},m={containerClassName:"_1ugw7dw1u _1ugw7dw1"},f="_1ugw7dw24",g={containerClassName:"_1ugw7dwc",slotClassName:"_1ugw7dwd"},y={containerClassName:"_1ugw7dwa",slotClassName:"_1ugw7dwb"},_={containerClassName:"_1ugw7dw1v",slotClassName:"_1ugw7dw1w"},v={containerClassName:"_1ugw7dwq _1ugw7dw1",slotClassName:"_1ugw7dwr"},b={containerClassName:"_1ugw7dwm _1ugw7dw1",slotClassName:"_1ugw7dwn"},k={containerClassName:"_1ugw7dwo _1ugw7dw1",slotClassName:"_1ugw7dwp"},C={containerClassName:"_1ugw7dwi _1ugw7dw7",slotClassName:"_1ugw7dwj"},x={containerClassName:"_1ugw7dwk _1ugw7dw1",slotClassName:"_1ugw7dwl"},T={containerClassName:"_1ugw7dw16 _1ugw7dw2",slotClassName:"_1ugw7dw17"},w={containerClassName:"_1ugw7dw14 _1ugw7dw1",slotClassName:"_1ugw7dw15"},I="_1ugw7dw1x",R={containerClassName:"_1ugw7dwy _1ugw7dw1",slotClassName:"_1ugw7dwz"},E={containerClassName:"_1ugw7dww _1ugw7dw1",slotClassName:"_1ugw7dwx"},S={containerClassName:"_1ugw7dw12 _1ugw7dw2",slotClassName:"_1ugw7dw13"},P={containerClassName:"_1ugw7dw10 _1ugw7dw1",slotClassName:"_1ugw7dw11"},A={containerClassName:"_1ugw7dw1m _1ugw7dw6",slotClassName:"_1ugw7dw1n"},B={containerClassName:"_1ugw7dw1o _1ugw7dw6",slotClassName:"_1ugw7dw1p"},N={containerClassName:"_1ugw7dws _1ugw7dw1",slotClassName:"_1ugw7dwt"},L={containerClassName:"_1ugw7dw1a",slotClassName:"_1ugw7dw1b"},O={containerClassName:"_1ugw7dw18",slotClassName:"_1ugw7dw19"},M="_1ugw7dw1y",D="_1ugw7dw22",F="_1ugw7dw1z",j="_1ugw7dw21",U="_1ugw7dw20",K="_1ugw7dw23",q={containerClassName:"_1ugw7dw1s",slotClassName:"_1ugw7dw1t"},z={containerClassName:"_1ugw7dw1q _1ugw7dw1",slotClassName:"_1ugw7dw1r"},H={containerClassName:"_1ugw7dwu _1ugw7dw1",slotClassName:"_1ugw7dwv"},V={containerClassName:"_1ugw7dw1e",slotClassName:"_1ugw7dw1f"},$={containerClassName:"_1ugw7dw1c",slotClassName:"_1ugw7dw1d"};let G={all:M,mobile:F,tablet:U,mobileAndTablet:j,desktop:D,tabletAndDesktop:K,flexTabletAndDesktop:f};var W=({adType:e})=>{let n=(0,a.q)().adConfig;return(0,i.jsx)(i.Fragment,{children:n[e]?.map(({containerClassName:n,slotClassName:t,style:r,slotName:a,viewport:l},c)=>i.jsx("div",{className:o.Z(n,s,G[l]),children:i.jsx("div",{style:r,className:o.Z(s,t,"networkRiverHome"===e&&I),"data-concert":a},a)},c))})}},94523:function(e,n,t){"use strict";var r=t(31561),i=t(35458),o=t(84982),a=t.n(o),s=t(82201),l=t(85056),c=t(45293);let u=(e,n)=>{let t=RegExp(`(href\\s*=\\s*['"])(${a()(n)})`,"gi");return"string"==typeof e?e.replace(t,"$1"):e};n.Z=({html:e,component:n="p",className:t,...o})=>{let{communityOrigin:a}=(0,c.q)().communityConfig,d=(0,s.useMemo)(()=>u(e,a),[e,a]),p={className:(0,i.Z)(l.I.DangerouslySetCMSMarkup,t),dangerouslySetInnerHTML:{__html:d},...o};return(0,r.jsx)(n,{...p})}},69135:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(94523)},83958:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(31561),i=t(35458),o=t(90945),a=t(78270),s=t(53130),l=t(38263),c=t(46660),u=t(43158),d=t(46688),p=t(418),h=t(78796),m=t(75354),f=e=>{let{componentContext:n="compactContentCard"}=e,t=(0,u.kj)(["compactContentCard",n]),f=(0,u.dj)("compactContentCard",e.componentContext||""),{placeholderImageUrl:g}=(0,h.Q)().siteSettings,{adFlag:y,advertiserName:_,authors:v,category:b,chorusId:k,chorusUuid:C,commentUrl:x,contentBlockSize:T,contentBlockVariation:w,contentType:I,crossPostSource:R,crossPostUrl:E,dek:S,firstChild:P,gaComponentName:A,headline:B,id:N,imageAspectRatio:L,imagePosition:O,lastChild:M,live:D,lowerMetaFirstComponent:F,lowerMetaSecondComponent:j,lowerMetaThirdComponent:U,mediaVariation:K,mediaVariationIconPlacement:q,membersOnly:z,metaVariation:H,packageName:V,permalink:$,score:G,showAuthorBy:W,showDek:Z,showScore:Q,streamName:Y,postTemplate:J,priorityImage:X,thumbnails:ee,timestamp:en,upperMetaFirstComponent:et,upperMetaSecondComponent:er,upperMetaThirdComponent:ei,verticalCategory:eo,latestRecircPadding:ea}=(0,d.Z)(e,f),es=et;return void 0===es&&(es=y?"ContentBlockAdvertiserFlag":V?"ContentBlockPackage":R?"ContentBlockCrossPost":D?"LiveBadge":"Category"),(0,r.jsxs)("div",{className:(0,i.Z)(e.className,c.Z.ContentCard,m.xN[O],p.F.contentCard.contentCardContainer,P&&m.mU,M&&m.QO,ea&&m.xN.latestRecirc),children:["hideImage"!==O&&(0,r.jsxs)("div",{className:(0,i.Z)(m.Bj[O],m.lB[L],m.l5),children:["wide"===L?(0,r.jsx)(s.Z,{sizes:"221px",src:ee?.horizontal||g.horizontal,priority:!!X,alt:B}):"square"===L?(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{sizes:"100px",src:ee?.square||g.square,priority:!!X,alt:B})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{sizes:"100px",src:ee?.square||g.square,priority:!!X,alt:B,className:m.af}),(0,r.jsx)(s.Z,{sizes:"195px",src:ee?.horizontal||g.horizontal,priority:!!X,alt:B,className:m.AS})]}),K&&"thumbnail"===q&&(0,r.jsx)(l.Z,{placement:"thumbnail",variation:K}),G&&Q&&(0,r.jsx)(a.Z,{score:G})]}),(0,r.jsx)("div",{className:m.nz,children:(0,r.jsx)(o.Z,{adFlag:y,advertiserName:_,authors:v,category:b,chorusId:k,chorusUuid:C,commentUrl:x,componentContext:t,contentBlockSize:T,contentBlockVariation:w,contentType:I,crossPostSource:R,crossPostUrl:E,dek:S,gaComponentName:A,headline:B,id:N,live:D,lowerMetaFirstComponent:F,lowerMetaSecondComponent:j,lowerMetaThirdComponent:U,mediaVariation:K,mediaVariationIconPlacement:q,membersOnly:z,metaVariation:H,packageName:V,permalink:$,showAuthorBy:W,showDek:Z,streamName:Y,postTemplate:J,timestamp:en,upperMetaFirstComponent:es,upperMetaSecondComponent:er,upperMetaThirdComponent:ei,verticalCategory:eo})})]})}},90945:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(31561),i=t(35458),o=t(69135),a=t(38263),s=t(78819),l=t(98343),c=t(54188),u=t(418),d=t(88321),p=t(92501),h=t(50171);t(91156);var m={micro:"_1neefeem _1neefeee _1neefeef",small:"_1neefeen _1neefeee _1neefeef",medium:"_1neefeeo _1neefeee _1neefeef",large:"_1neefeep _1neefeee _1neefeeg",jumbo:"_1neefeeq _1neefeee _1neefeeg"},f={micro:"_1neefeeh _1neefeee _1neefeef",small:"_1neefeei _1neefeee _1neefeef",medium:"_1neefeej _1neefeee _1neefeef",large:"_1neefeek _1neefeee _1neefeeg",jumbo:"_1neefeel _1neefeee _1neefeeg"},g={micro:"_1neefee8 _1neefee2",small:"_1neefee9 _1neefee2",medium:"_1neefeea _1neefee2",large:"_1neefeeb _1neefee2",jumbo:"_1neefeec _1neefee2"},y={micro:"_1neefee3 _1neefee2",small:"_1neefee4 _1neefee2",medium:"_1neefee5 _1neefee2",large:"_1neefee6 _1neefee2",jumbo:"_1neefee7 _1neefee2"},_=({adFlag:e,advertiserName:n,authors:t,category:_,chorusId:v,chorusUuid:b,componentContext:k,commentUrl:C,contentBlockSize:x="medium",contentBlockVariation:T="standard",contentType:w,crossPostSource:I,dek:R,gaComponentName:E,headline:S,id:P,live:A,lowerMetaFirstComponent:B,lowerMetaSecondComponent:N,lowerMetaThirdComponent:L,mediaVariation:O,mediaVariationIconPlacement:M,membersOnly:D,metaVariation:F,packageName:j,permalink:U,showAuthorBy:K,showDek:q,streamName:z,postTemplate:H,timestamp:V,upperMetaFirstComponent:$,upperMetaSecondComponent:G,upperMetaThirdComponent:W,verticalCategory:Z})=>{let Q=(0,d.z$)(),Y={adFlag:e,advertiserName:n,authors:t,category:_,chorusId:v,chorusUuid:b,componentContext:k,commentUrl:C,contentType:w,crossPostSource:I,headline:S,id:P,live:A,membersOnly:D,metaVariation:F||T,packageName:j,permalink:U,showAuthorBy:K,streamName:z,timestamp:V},{metadata:J}=(0,c.r)();return(0,r.jsxs)("div",{className:(0,i.Z)(Z?"_1neefee0":""),children:[Z&&_&&(0,r.jsx)(s.Z,{metaVariation:"vertical",className:"_1neefees",category:_,vertical:!0}),(0,r.jsxs)("div",{className:(0,i.Z)(Z?"_1neefee1":""),children:[($||G||W)&&(0,r.jsx)(h.Z,{...Y,layout:"upper",firstComponent:$,secondComponent:G,thirdComponent:W,contentBlockSize:x,componentContext:k,verticalCategory:Z}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:(0,i.Z)(u.F.text.hangingPunctuation,e?"_1neefeed":"special"===T?g[x]:y[x]),children:(0,r.jsxs)(l.Z,{href:U,className:u.F.contentCard.contentCardLink,onClick:()=>{Q?.emit({event:"article_click",article_click:{article_component_name:E,article_uri:U,article_title:S,author:t[0]?.name,page_type:p.C2(w,!!H),...J}})},children:[S,O&&"title"===M&&(0,r.jsxs)("span",{className:"_1neefeer",children:["\uFEFF",(0,r.jsx)(a.Z,{placement:"title",variation:O})]})]})})}),q&&R&&(0,r.jsx)(o.Z,{html:R,className:"special"===T?m[x]:f[x]}),(B||N||L)&&(0,r.jsx)(h.Z,{...Y,layout:"lower",firstComponent:B,secondComponent:N,thirdComponent:L,contentBlockSize:x,componentContext:k})]})]})]})}},61788:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(31561),i=t(35458),o=t(43158),a=t(46688);t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(58886);var s="u2goo40",l={default:"u2goo42 xkp0cg4",breaker:"u2goo43 xkp0cg4"},c=({authors:e,className:n,showAuthorBy:t=!0,componentContext:c,...u})=>{let d=(0,o.dj)("contentBlockByline",c||""),{variation:p}=(0,a.Z)(u,d);return 0===e.length?null:(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("span",{className:s,children:"By "}),(0,r.jsxs)("span",{className:(0,i.Z)(l[p],n),children:[e.slice(0,2).map((n,t)=>{let i=t===e.length-1;return(0,r.jsxs)("span",{children:[i&&2===e.length&&(0,r.jsx)("span",{className:s,children:" and "}),0!==t&&!i&&e.length>2&&", ",(0,r.jsx)("span",{children:n.name})]},t)}),e.length>2&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:s,children:" and "}),(0,r.jsx)("span",{children:`${e.length-2} more`})]})]})]})}},59195:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(35458),o=t(418),a=({label:e,icon:n,metaVariation:t="standard",className:a})=>(0,r.jsxs)("span",{className:(0,i.Z)(o.F.text.metaTextVariant[t],a),children:[n&&n,e]})},50171:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var r=t(31561),i=t(35458);t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(95407);var o=({className:e,advertiserName:n})=>(0,r.jsxs)("span",{className:(0,i.Z)("_1edt0x0 xkp0cg4",e),children:[(0,r.jsx)("span",{"data-native-ad-id":"preamble",children:"Advertiser Content From"}),(0,r.jsx)("span",{className:"_1edt0x1",children:n})]}),a=t(61788),s=t(7189),l=t(87024);t(37994);var c=({source:e,metaVariation:n="standard",className:t})=>(0,r.jsxs)("span",{className:(0,i.Z)(l.metaTextVariant[n],"_1lbeoq00",t),children:["From ",e,(0,r.jsx)(s.Z,{className:"_1lbeoq01"})]}),u=t(59195),d=t(78819),p=t(77563),h=t(68424),m=t(79348),f=t(94428),g=t(43158),y=t(46688),_=t(418);t(72391);var v={micro:"_1k0riid _1k0rii0",small:"_1k0riid _1k0rii0",medium:"_1k0riid _1k0rii0",large:"_1k0riie _1k0rii0",jumbo:"_1k0riie _1k0rii0"},b={micro:"_1k0rii3 _1k0rii0",small:"_1k0rii3 _1k0rii0",medium:"_1k0rii3 _1k0rii0",large:"_1k0rii4 _1k0rii0",jumbo:"_1k0rii4 _1k0rii0"},k=e=>{let n=(0,g.dj)("contentBlockMeta",e.componentContext||""),{adFlag:t,advertiserName:s,authors:l,category:k,chorusId:C,chorusUuid:x,commentUrl:T,contentType:w,crossPostSource:I,firstComponent:R,headline:E,layout:S,live:P,membersOnly:A,metaVariation:B,packageName:N,permalink:L,secondComponent:O,showAuthorBy:M,streamName:D,thirdComponent:F,timestamp:j,id:U,contentBlockSize:K,componentContext:q,verticalCategory:z}=(0,y.Z)(e,n),H=(e,n)=>{switch(e){case"ContentBlockByline":return(0,r.jsx)(a.Z,{authors:l,showAuthorBy:M,className:n,componentContext:q});case"Category":return k&&(0,r.jsx)(d.Z,{category:k,metaVariation:z?"vertical":B,className:(0,i.Z)(n,z&&"_1k0riib")});case"Timestamp":return j&&(0,r.jsx)(f.Z,{timestamp:j,className:n,componentContext:q});case"ContentBlockAdvertiserFlag":return t&&(0,r.jsx)(o,{advertiserName:s,className:n});case"CommentCount":return T&&E&&(0,r.jsx)(p.Z,{url:T,permalink:L,authorName:l[0]?.name||"",headline:E,contentType:w,id:U,chorusId:C||null,chorusUuid:x||null,className:n,variant:"contentCard",noText:!0});case"ContentBlockCrossPost":return I&&(0,r.jsx)(c,{source:I,metaVariation:B,className:n});case"ContentBlockPackage":return N&&(0,r.jsx)(u.Z,{label:N,metaVariation:B,className:(0,i.Z)("_1k0riia",n)});case"LiveBadge":return P&&(0,r.jsx)(h.Z,{variation:"card",className:n});case"ContentBlockStream":return D&&(0,r.jsx)(u.Z,{label:D,metaVariation:B,className:n});case"MembersOnlyBadge":return A&&(0,r.jsx)(m.Z,{className:"_1k0rii2"})}},V="Category"===R&&z&&!O&&!F;return(0,r.jsxs)("div",{className:(0,i.Z)("upper"===S?b[K||"medium"]:v[K||"medium"],V&&"_1k0riic"),children:[!("lower"===S&&t)&&(0,r.jsx)(r.Fragment,{children:H(R)}),O&&!t&&(0,r.jsx)(r.Fragment,{children:H(O,"LiveBadge"===R?"_1k0rii1":_.F.layout.pipeSeparator)}),F&&!t&&(0,r.jsx)(r.Fragment,{children:H(F,_.F.layout.pipeSeparator)})]})}},78270:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(31561);t(42420);var i=({score:e})=>(0,r.jsxs)("div",{className:"_1dyajh00",children:[(0,r.jsx)("p",{className:"_1dyajh01",children:e}),(0,r.jsx)("p",{className:"_1dyajh02",children:"Score"})]})},28192:function(e,n,t){"use strict";t.d(n,{Z:function(){return b}});var r=t(31561),i=t(35458),o=t(90945),a=t(78270),s=t(53130),l=t(38263),c=t(46660),u=t(43158),d=t(46688),p=t(418),h=t(78796);t(36108),t(64679);var m={square:"hd0te9k",squareLarge:"hd0te9l",semiWide:"hd0te9m",wide:"hd0te9n"},f={default:"hd0te95",imageLeftTablet:"hd0te97 hd0te95"},g={one:"hd0te9f hd0te9e",two:"hd0te9g hd0te9e",three:"hd0te9h hd0te9e",four:"hd0te9i hd0te9e",five:"hd0te9j hd0te9e"},y={one:"hd0te99",two:"hd0te9a",three:"hd0te9b",four:"hd0te9c",five:"hd0te9d"},_={default:"hd0te9o",river:"hd0te9p",none:"hd0te9q"},v={default:"hd0te90",imageLeftTablet:"hd0te92 hd0te90"},b=e=>{let{componentContext:n="river"}=e,t=(0,u.kj)(["prominentContentCard",n]),b=(0,u.dj)("prominentContentCard",n),{placeholderImageUrl:k}=(0,h.Q)().siteSettings,{adFlag:C,advertiserName:x,authors:T,category:w,chorusId:I,chorusUuid:R,className:E,commentUrl:S,contentBlockSize:P,contentBlockVariation:A,contentType:B,crossPostSource:N,dek:L,extraContentBlockStyles:O,extraImageStyles:M,gaComponentName:D,headline:F,id:j,imageAspectRatio:U,imageTreatment:K,imageOverlay:q,lastChild:z,live:H,lowerMetaFirstComponent:V,lowerMetaSecondComponent:$,lowerMetaThirdComponent:G,mediaVariation:W,mediaVariationIconPlacement:Z,membersOnly:Q,metaVariation:Y,overlap:J,overlapStyle:X="default",packageName:ee,permalink:en,postTemplate:et,priorityImage:er,score:ei,showAuthorBy:eo,showBorder:ea,showDek:es,showScore:el,streamName:ec,thumbnails:eu,timestamp:ed,upperMetaFirstComponent:ep,upperMetaSecondComponent:eh,upperMetaThirdComponent:em,logo:ef,imagePosition:eg,imageLeftTablet:ey}=(0,d.Z)(e,b),e_=ep;void 0===e_&&(e_=C?"ContentBlockAdvertiserFlag":ee?"ContentBlockPackage":N?"ContentBlockCrossPost":H?"LiveBadge":"Category");let ev=(0,r.jsx)("div",{className:(0,i.Z)(J&&_[X]),children:(0,r.jsx)("div",{className:O||"hd0te94",children:(0,r.jsx)(o.Z,{adFlag:C,advertiserName:x,authors:T,category:w,chorusId:I,chorusUuid:R,commentUrl:S,componentContext:t,contentBlockSize:P,contentBlockVariation:A,contentType:B,crossPostSource:N,dek:L,gaComponentName:D,headline:F,id:j,live:H,lowerMetaFirstComponent:V,lowerMetaSecondComponent:$,lowerMetaThirdComponent:G,mediaVariation:W,mediaVariationIconPlacement:Z,membersOnly:Q,metaVariation:Y,packageName:ee,permalink:en,postTemplate:et,showAuthorBy:eo,showDek:es,streamName:ec,timestamp:ed,upperMetaFirstComponent:e_,upperMetaSecondComponent:eh,upperMetaThirdComponent:em})})});return(0,r.jsxs)("div",{className:(0,i.Z)(c.Z.ContentCard,!z&&ea?"hd0te93":"",ey?v.imageLeftTablet:v.default,p.F.contentCard.contentCardContainer,E),children:["imageBelow"===eg&&ev,ef,(0,r.jsxs)("div",{className:(0,i.Z)(ey?f.imageLeftTablet:f.default,m[U],K&&y[K],q&&g[q],!K&&!q&&"hd0te98",M),children:["square"===U?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{src:eu?.horizontal||k.horizontal,alt:F,priority:!!er,sizes:"100vw",className:p.F.layout.hideTabletPlus}),(0,r.jsx)(s.Z,{src:eu?.square||k.square,alt:F,priority:!!er,sizes:"250px",className:p.F.layout.showTabletPlus})]}):(0,r.jsx)(s.Z,{src:eu?.horizontal||k.horizontal,alt:F,priority:!!er,sizes:"(max-width: 768px) 100vw, (max-width: 1180px) 50vw, 640px"}),W&&"thumbnail"===Z&&(0,r.jsx)(l.Z,{placement:"thumbnail",variation:W,size:"large"}),ei&&el&&(0,r.jsx)(a.Z,{score:ei})]}),"imageAbove"===eg&&ev]})}},94977:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(28192)},51065:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(31561),i=t(35458),o=t(50171),a=t(90945),s=t(78270),l=t(53130),c=t(38263),u=t(43158),d=t(46688),p=t(418),h=t(78796);t(17345);var m=e=>{let{componentContext:n="splitContentCard"}=e,t=(0,u.kj)(["splitContentCard",n]),m=(0,u.dj)("splitContentCard",n||""),{placeholderImageUrl:f}=(0,h.Q)().siteSettings,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:k,className:C,contentBlockSize:x,contentBlockVariation:T,contentType:w,crossPostSource:I,crossPostUrl:R,dek:E,gaComponentName:S,headline:P,id:A,live:B,lowerMetaFirstComponent:N,lowerMetaSecondComponent:L,lowerMetaThirdComponent:O,mediaVariation:M,mediaVariationIconPlacement:D,metaVariation:F,packageName:j,permalink:U,postTemplate:K,score:q,showDek:z,showScore:H,streamName:V,thumbnails:$,timestamp:G,upperMetaFirstComponent:W,upperMetaSecondComponent:Z,upperMetaThirdComponent:Q,verticalCategory:Y}=(0,d.Z)(e,m);return(0,r.jsxs)("div",{className:(0,i.Z)("ap1uvv0",p.F.contentCard.contentCardContainer,C),children:[(0,r.jsx)(o.Z,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:k,componentContext:n,contentType:w,crossPostSource:I,crossPostUrl:R,firstComponent:W,headline:P,id:A,layout:"upper",live:B,metaVariation:F,packageName:j,permalink:U,secondComponent:Z,streamName:V,thirdComponent:Q,timestamp:G}),(0,r.jsxs)("div",{className:"ap1uvv2",children:[(0,r.jsx)(l.Z,{sizes:"221px",src:$?.horizontal||f.horizontal,alt:P}),M&&"thumbnail"===D&&(0,r.jsx)(c.Z,{placement:"thumbnail",variation:M}),q&&H&&(0,r.jsx)(s.Z,{score:q})]}),(0,r.jsx)("div",{className:"ap1uvv1",children:(0,r.jsx)(a.Z,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:k,componentContext:t,contentBlockSize:x,contentBlockVariation:T,contentType:w,crossPostSource:I,crossPostUrl:R,dek:E,gaComponentName:S,headline:P,id:A,live:B,lowerMetaFirstComponent:N,lowerMetaSecondComponent:L,lowerMetaThirdComponent:O,mediaVariation:M,mediaVariationIconPlacement:D,packageName:j,permalink:U,postTemplate:K,showDek:z,streamName:V,timestamp:G,verticalCategory:Y})})]})}},87791:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(85056);t(36700);var a={primary:"bl2rg41 bl2rg40",secondary:"bl2rg42 bl2rg40",commerce:"bl2rg43 bl2rg40",account:"bl2rg44 bl2rg40",auth:"bl2rg45 bl2rg40"},s=({text:e,displayType:n="primary",className:t,iconLeft:s,iconRight:l,fullWidth:c,...u})=>(0,r.jsxs)("href"in u?"a":"button",{className:(0,i.Z)(o.I.Button,a[n],t&&t,c&&"bl2rg46"),...u,children:[s&&(0,r.jsx)("span",{children:s}),(0,r.jsx)("span",{children:e}),l&&(0,r.jsx)("span",{children:l})]})},31994:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(87791)},98989:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(31561),i=t(35458),o=t(82201),a=t(85056),s=t(418);t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(70312);var l=(0,o.forwardRef)(({label:e,className:n,actionButton:t,id:l,hideLabel:c,inputClassName:u,actionButtonContainerClassName:d,error:p,...h},m)=>{let f=(0,o.useId)(),g=l||f;return(0,r.jsxs)("div",{className:(0,i.Z)(a.I.FormFieldText,"bwzmda0",n),children:[(0,r.jsx)("label",{htmlFor:g,className:(0,i.Z)("_1vr06930",c&&s.F.accessibility.srOnly),children:e}),(0,r.jsxs)("div",{className:"bwzmda1",children:[(0,r.jsx)("input",{id:g,ref:m,className:(0,i.Z)("_1vr06931",u,p&&s.F.form.errorField),"aria-invalid":!!p,"aria-describedby":p?`${g}-error`:void 0,...h}),t&&(0,r.jsx)("span",{className:(0,i.Z)("bwzmda4",d),children:t})]}),p&&(0,r.jsx)("span",{id:`${g}-error`,className:s.F.form.error,children:p})]})})},15984:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(85056);t(65424);var a="fatpw52",s=({text:e,className:n,textClassName:t,iconLeft:s,iconRight:l,underlineIcon:c=!0,style:u,...d})=>(0,r.jsx)("href"in d?"a":"button",{className:"fatpw50",...d,children:(0,r.jsxs)("span",{className:(0,i.Z)(o.I.LinkButton,"fatpw51",c&&a,n),style:u,children:[s&&(0,r.jsx)("span",{children:s}),(0,r.jsx)("span",{className:(0,i.Z)(!c&&a,t),children:e}),l&&(0,r.jsx)("span",{children:l})]})})},8900:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(31561),i=t(35458),o=t(82201),a=t(98989),s=({className:e,fill:n="currentColor",width:t=21,height:i=20})=>(0,r.jsx)("svg",{className:e,width:t,height:i,viewBox:"0 0 21 20",fill:n,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6667 13.2093C12.6485 13.9936 11.357 14.4626 9.95174 14.4626C6.66468 14.4626 4 11.8966 4 8.7313C4 5.56599 6.66468 3 9.95174 3C13.2388 3 15.9035 5.56599 15.9035 8.7313C15.9035 10.0845 15.4164 11.3282 14.602 12.3087L17.5 15.0994L16.5648 16L13.6667 13.2093ZM5.32261 8.7313C5.32261 6.26939 7.39514 4.27362 9.95174 4.27362C12.5083 4.27362 14.5809 6.26939 14.5809 8.7313C14.5809 9.8776 14.1315 10.9228 13.3933 11.7126L13.0477 12.0454C12.2276 12.7563 11.1421 13.189 9.95174 13.189C7.39514 13.189 5.32261 11.1932 5.32261 8.7313Z",fill:n})});t(13278);var l=(0,o.forwardRef)(({iconClassName:e,inputClassName:n,inputContainerClassName:t,defaultValue:o,searchIconContainer:l,placeholder:c="Search"},u)=>(0,r.jsx)(a.Z,{name:"query",type:"text",label:"Search",spellCheck:"false",maxLength:255,autoComplete:"off",placeholder:c,className:(0,i.Z)(t,"iaa3me1"),inputClassName:(0,i.Z)(n,"iaa3me2"),ref:u,defaultValue:o,actionButtonContainerClassName:l,actionButton:(0,r.jsx)("button",{type:"submit","aria-label":"Submit Search",children:(0,r.jsx)(s,{className:(0,i.Z)(e,"iaa3me3")})}),hideLabel:!0,required:!0}))},83016:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=13,height:i=10})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 13 10",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Audio"}),(0,r.jsx)("path",{d:"M6.648.463 3.471 3.212H.463v3.537h2.962l3.223 2.788V.463Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.841.042c.165.075.27.24.27.421v9.074a.463.463 0 0 1-.766.35L3.253 7.212H.463A.463.463 0 0 1 0 6.749V3.212c0-.256.207-.463.463-.463h2.835L6.345.113a.463.463 0 0 1 .496-.071Zm-.656 1.434L3.774 3.562a.463.463 0 0 1-.303.113H.926v2.61h2.5c.11 0 .218.04.302.113l2.457 2.126V1.476ZM10.474.145c.2-.16.49-.128.65.071a7.65 7.65 0 0 1 0 9.583.463.463 0 0 1-.721-.58 6.725 6.725 0 0 0 0-8.423.463.463 0 0 1 .07-.65Zm-1.19 1.192a.463.463 0 0 1 .648.098 6.02 6.02 0 0 1 0 7.145.463.463 0 1 1-.745-.55 5.094 5.094 0 0 0 0-6.045.463.463 0 0 1 .098-.648ZM7.99 2.638a.463.463 0 0 1 .642.133 4.075 4.075 0 0 1 0 4.473.463.463 0 0 1-.775-.508 3.15 3.15 0 0 0 0-3.456.463.463 0 0 1 .133-.642Z",fill:n})]})},84563:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e,width:n=13,height:t=8})=>(0,r.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:n,height:t,viewBox:"0 0 13 8",fill:"#131313",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M12.357 1.179 6.179 7.357 0 1.179 1.179 0l5 5 5-5 1.178 1.179Z",clipRule:"evenodd"})})},60355:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e,width:n=20,height:t=19,fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Close"}),(0,r.jsx)("line",{x1:"1.70711",y1:"0.831956",x2:"18.6483",y2:"17.7731",stroke:i,strokeWidth:"2"}),(0,r.jsx)("line",{x1:"1.35149",y1:"17.7734",x2:"18.2927",y2:"0.832185",stroke:i,strokeWidth:"2"})]})},75817:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",width:n=29,height:t=30,fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 29 30",fill:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Collapse"}),(0,r.jsx)("line",{x1:"4",y1:"14.4805",x2:"26",y2:"14.4805",stroke:i,strokeWidth:"4"})]})},7189:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=18,height:i=18})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"External Link"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.8999 0.400024H10.8999V4.40002H9.8999V2.10713L4.8999 7.10713L4.1928 6.40002L9.1928 1.40002H6.8999V0.400024ZM2.3999 2.90002C2.12604 2.90002 1.8999 3.12617 1.8999 3.40002V8.90002C1.8999 9.03263 1.95258 9.15981 2.04635 9.25358C2.14012 9.34735 2.26729 9.40002 2.3999 9.40002H7.8999C8.03251 9.40002 8.15969 9.34735 8.25346 9.25358C8.34722 9.15981 8.3999 9.03263 8.3999 8.90002V5.90002H9.3999V8.90002C9.3999 9.29785 9.24187 9.67938 8.96056 9.96068C8.67926 10.242 8.29773 10.4 7.8999 10.4H2.3999C2.00208 10.4 1.62055 10.242 1.33924 9.96068C1.05794 9.67938 0.899902 9.29785 0.899902 8.90002V3.40002C0.899902 2.57388 1.57376 1.90002 2.3999 1.90002H5.3999V2.90002H2.3999Z",fill:n})]})},74795:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",width:n="29",height:t="30",fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 29 30",fill:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Expand"}),(0,r.jsx)("line",{x1:"4",y1:"14.4805",x2:"26",y2:"14.4805",stroke:i,strokeWidth:"4"}),(0,r.jsx)("line",{x1:"15",y1:"3.48047",x2:"15",y2:"25.4805",stroke:i,strokeWidth:"4"})]})},425:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",height:t=30,width:i=30})=>(0,r.jsxs)("svg",{className:e,height:t,width:i,viewBox:"-2 -1 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"RSS"}),(0,r.jsx)("path",{fill:n,d:"M3.772 10.864c0 .454-.159.84-.477 1.159a1.578 1.578 0 0 1-1.159.477c-.454 0-.84-.16-1.159-.477a1.578 1.578 0 0 1-.477-1.16c0-.454.16-.84.477-1.158a1.578 1.578 0 0 1 1.16-.478c.454 0 .84.16 1.158.478.318.318.477.704.477 1.159Zm4.363 1.048a.516.516 0 0 1-.144.409.502.502 0 0 1-.401.179H6.44a.524.524 0 0 1-.367-.14.519.519 0 0 1-.17-.354A5.3 5.3 0 0 0 4.33 8.669 5.3 5.3 0 0 0 .994 7.097a.519.519 0 0 1-.353-.17A.524.524 0 0 1 .5 6.56V5.41c0-.166.06-.3.179-.401a.497.497 0 0 1 .366-.145h.043a7.64 7.64 0 0 1 2.608.686c.83.383 1.565.899 2.207 1.547a7.536 7.536 0 0 1 1.546 2.207c.384.83.613 1.699.686 2.608Zm4.364.017a.493.493 0 0 1-.154.4.504.504 0 0 1-.392.171h-1.218a.532.532 0 0 1-.38-.15.51.51 0 0 1-.166-.361 9.53 9.53 0 0 0-.86-3.482 9.796 9.796 0 0 0-1.973-2.864A9.795 9.795 0 0 0 4.492 3.67a9.65 9.65 0 0 0-3.48-.869.51.51 0 0 1-.363-.166.522.522 0 0 1-.149-.37v-1.22C.5.886.557.755.67.653A.51.51 0 0 1 1.045.5h.026c1.488.074 2.913.415 4.274 1.023 1.36.608 2.569 1.443 3.625 2.505a11.948 11.948 0 0 1 2.506 3.627 11.83 11.83 0 0 1 1.022 4.274Z"})]})},93049:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="currentColor",width:t=13,height:i=8})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 13 8",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Video"}),(0,r.jsx)("path",{d:"M6.796.259H1.204C.66.259.217.786.217 1.436v5.128c0 .65.442 1.177.987 1.177h5.592c.545 0 .987-.527.987-1.177V1.436c0-.65-.442-1.177-.987-1.177Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.204 0h5.592C7.46 0 8 .643 8 1.436v5.128C8 7.357 7.46 8 6.796 8H1.204C.54 8 0 7.357 0 6.564V1.436C0 .643.54 0 1.204 0Zm0 .259h5.592c.545 0 .987.527.987 1.177v5.128c0 .65-.442 1.177-.987 1.177H1.204c-.545 0-.987-.527-.987-1.177V1.436c0-.65.442-1.177.987-1.177Z",fill:n}),(0,r.jsx)("path",{d:"m9.037 3.08 3.527-2.034v5.91L9.037 4.922V3.08Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8 3.08c0-.09.047-.171.122-.215L12.45.832a.23.23 0 0 1 .235.003.247.247 0 0 1 .117.211v5.91a.247.247 0 0 1-.117.211.23.23 0 0 1-.235.003L8.922 5.136a.247.247 0 0 1-.121-.214V3.08Zm.237 1.842V3.08l3.527-2.034v5.91L9.037 4.922Z",fill:n})]})},90932:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Facebook"}),(0,r.jsx)("path",{d:"M27.0174 21.7497L27.8495 16.3604H22.6403V12.8637C22.6403 11.3906 23.3668 9.95151 25.7019 9.95151H28.0714V5.36435C28.0714 5.36435 25.9212 5 23.866 5C19.5761 5 16.7707 7.57929 16.7707 12.2529V16.3604H12V21.7497H16.7707V34.7746C17.727 34.924 18.707 35 19.7055 35C20.704 35 21.6841 34.9214 22.6403 34.7746V21.7497H27.0174Z",fill:n})]})},11452:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Instagram"}),(0,r.jsx)("path",{d:"M14.1274 6C9.65144 6 6 9.65144 6 14.1274V25.8726C6 30.3486 9.65144 34 14.1274 34H25.8726C30.3486 34 34 30.3486 34 25.8726V14.1274C34 9.65144 30.3486 6 25.8726 6H14.1274ZM14.1274 8.15385H25.8726C29.1833 8.15385 31.8462 10.8125 31.8462 14.1274V25.8726C31.8462 29.1833 29.1875 31.8462 25.8726 31.8462H14.1274C10.8167 31.8462 8.15385 29.1875 8.15385 25.8726V14.1274C8.15385 10.8167 10.8125 8.15385 14.1274 8.15385ZM28.0769 10.3077C27.1851 10.3077 26.4615 11.0313 26.4615 11.9231C26.4615 12.8149 27.1851 13.5385 28.0769 13.5385C28.9688 13.5385 29.6923 12.8149 29.6923 11.9231C29.6923 11.0313 28.9688 10.3077 28.0769 10.3077ZM20 12.4615C15.848 12.4615 12.4615 15.848 12.4615 20C12.4615 24.152 15.848 27.5385 20 27.5385C24.152 27.5385 27.5385 24.152 27.5385 20C27.5385 15.848 24.152 12.4615 20 12.4615ZM20 14.6154C22.9868 14.6154 25.3846 17.0132 25.3846 20C25.3846 22.9868 22.9868 25.3846 20 25.3846C17.0132 25.3846 14.6154 22.9868 14.6154 20C14.6154 17.0132 17.0132 14.6154 20 14.6154Z",fill:n})]})},98433:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"TikTok"}),(0,r.jsx)("path",{d:"M34 17.1227C31.2476 17.1293 28.5627 16.2709 26.3247 14.669V25.8418C26.3239 27.9111 25.6914 29.9309 24.5117 31.6311C23.332 33.3312 21.6613 34.6307 19.7231 35.3558C17.7849 36.0808 15.6715 36.1969 13.6655 35.6885C11.6595 35.1801 9.85661 34.0714 8.49777 32.5107C7.13894 30.95 6.28899 29.0116 6.06156 26.9548C5.83414 24.898 6.24009 22.8208 7.22513 21.001C8.21016 19.1811 9.72734 17.7053 11.5738 16.771C13.4202 15.8366 15.5079 15.4882 17.5577 15.7724V21.3919C16.6197 21.0969 15.6125 21.1058 14.6799 21.4173C13.7472 21.7288 12.9369 22.3271 12.3645 23.1266C11.7922 23.9262 11.4871 24.8861 11.4929 25.8694C11.4987 26.8526 11.8151 27.8089 12.3968 28.6016C12.9785 29.3944 13.7958 29.983 14.7321 30.2836C15.6683 30.5841 16.6756 30.5811 17.6101 30.2751C18.5445 29.969 19.3584 29.3755 19.9354 28.5793C20.5124 27.7832 20.8231 26.825 20.8231 25.8418V4H26.3247C26.3208 4.46458 26.3598 4.92853 26.4409 5.38598C26.6321 6.40716 27.0296 7.37861 27.6091 8.24091C28.1886 9.10321 28.938 9.83822 29.8113 10.401C31.0538 11.2225 32.5105 11.6604 34 11.6601V17.1227Z",fill:n})]})},68117:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Twitter"}),(0,r.jsx)("path",{d:"M22.667 17.8573L33.0917 6H30.6217L21.5658 16.2934L14.3382 6H6L16.9321 21.5668L6 34H8.47L18.0274 23.1273L25.6618 34H34L22.667 17.8573ZM19.2828 21.7035L18.1735 20.1524L9.36075 7.82205H13.1552L20.2694 17.7768L21.3741 19.3278L30.6205 32.2667H26.8261L19.2828 21.7035Z",fill:n})]})},52448:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Youtube"}),(0,r.jsx)("path",{d:"M33.4148 12.0057C33.0928 10.8232 32.1436 9.891 30.9396 9.57475C28.7556 9 20 9 20 9C20 9 11.2444 9 9.0604 9.57475C7.8564 9.891 6.9072 10.8232 6.5852 12.0057C6 14.1507 6 20 6 20C6 20 6 25.8492 6.5852 27.9942C6.9072 29.1767 7.8564 30.109 9.0604 30.4253C11.2444 31 20 31 20 31C20 31 28.7556 31 30.9396 30.4253C32.145 30.109 33.0928 29.1767 33.4148 27.9942C34 25.8492 34 20 34 20C34 20 34 14.1507 33.4148 12.0057ZM17.2 24.763V15.237L25.6 20L17.2 24.763Z",fill:n})]})},55484:function(e,n,t){"use strict";t.d(n,{Z:function(){return T}});var r=t(31561),i=t(35458),o=t(7345),a=t(69135),s=t(15984),l=t(85056),c=t(43158),u=t(82830),d=t(46688),p=t(418),h=t(88321),m=t(45293),f=t(76553);t(29944),t(42493);var g={xsmall:"_1yizdi85 _1yizdi86",small:"_1yizdi85 _1yizdi87",medium:"_1yizdi85 _1yizdi88",large:"_1yizdi85 _1yizdi89"},y={xsmall:"_1yizdi81",small:"_1yizdi82",medium:"_1yizdi83",large:"_1yizdi84"},_="_1yizdi8e",v={xsmall:"_1yizdi8t _1yizdi8s",small:"_1yizdi8u _1yizdi8s",medium:"_1yizdi8v _1yizdi8s",large:"_1yizdi8w",branded:"_1yizdi8x"},b={xsmall:"_1yizdi8z",small:"_1yizdi810",medium:"_1yizdi811",large:"_1yizdi812",branded:"_1yizdi813"},k={xsmall:"_1yizdi86",small:"_1yizdi87",medium:"_1yizdi88",large:"_1yizdi89"},C={xsmall:"_1yizdi8m _1yizdi8l xkp0cg1",small:"_1yizdi8n _1yizdi8l xkp0cg1",medium:"_1yizdi8o _1yizdi8l xkp0cg1",large:"_1yizdi8p _1yizdi8l xkp0cg1",branded:"_1yizdi8q _1yizdi8l xkp0cg1"},x={xsmall:"_1yizdi8h _1yizdi8f",small:"_1yizdi8i _1yizdi8f",medium:"_1yizdi8j _1yizdi8f",large:"_1yizdi8k _1yizdi8f"},T=e=>{let n;let t=(0,h.z$)(),{stickyNavTriggerClassName:T}=(0,u.Q)(),{siteOrigin:w,communityOrigin:I}=(0,m.q)().communityConfig,R=(0,c.dj)("pageHeader",e.componentContext||""),{borderBottom:E,borderTop:S,center:P,className:A,classNameDescription:B,classNameLinks:N,classNameSubhead:L,classNameTitle:O,classNameMoreLink:M,description:D,headingLevel:F="h1",isBranded:j,links:U,moreLink:K,moreLinkIcon:q,paddingBottom:z,size:H="small",subhead:V,title:$,sponsorshipAdType:G}=(0,d.Z)(e,R);return n="string"==typeof D?[D]:D||[],(0,r.jsxs)("div",{className:(0,i.Z)("_1yizdi80",S&&y[H],E&&g[H],z&&k[H],A),children:[(0,r.jsxs)("div",{className:(0,i.Z)(x[H],G&&"_1yizdi8g"),children:[$&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Z,{html:$,component:F,className:(0,i.Z)(C[H],j&&C.branded,P&&_,p.F.text.linkStyles,O)}),G&&(0,r.jsx)("div",{children:(0,r.jsx)(o.Z,{adType:G})})]}),K&&(0,r.jsx)("span",{className:(0,i.Z)("_1yizdi8y",M),children:(0,r.jsx)(s.Z,{href:K.url,text:K.text,iconRight:q,className:b[H]})})]}),V&&(0,r.jsx)(a.Z,{className:(0,i.Z)("_1yizdi8r",P&&_,L),html:V}),n.map((e,n)=>(0,r.jsx)(a.Z,{className:(0,i.Z)(l.I.EntryGroupDescription,v[H],j&&v.branded,p.F.text.paragraphSpacing,p.F.text.linkStyles,P&&_,B),html:e},n)),U&&U.length>0&&(0,r.jsx)("ul",{className:(0,i.Z)(N,"_1yizdi814",P&&"_1yizdi815"),children:U.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:(0,f.QW)(e.url,w||I),className:(0,i.Z)("_1yizdi816",e.highlight&&"_1yizdi817"),onClick:()=>t?.emit({event:"subnavigation_click",subnavigation_click:{name:e.text}}),children:e.text})},e.url))}),(0,r.jsx)("div",{className:T})]})}},36381:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(31561),i=t(35458);t(87716);var o=({campaign:e,className:n,imageClassName:t="",textClassName:o=""})=>{let a=e?.advertiserPreamble||"Advertisement Content from";return e?(0,r.jsxs)("div",{className:(0,i.Z)("_87ia840",n),children:[(0,r.jsxs)("div",{className:(0,i.Z)("_87ia841",o),children:[e.campaignDisclaimer?(0,r.jsx)("span",{className:"_87ia846",children:a}):(0,r.jsx)("span",{children:a}),e.campaignDisclaimer&&(0,r.jsx)("div",{className:"_87ia847",children:e.campaignDisclaimer})]}),(0,r.jsx)("div",{className:(0,i.Z)("_87ia844",t),children:(0,r.jsx)("a",{href:e.advertiserClickthroughUrl?e.advertiserClickthroughUrl:"/",children:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage?(0,r.jsx)("div",{className:"_87ia842",children:(0,r.jsx)("img",{className:"_87ia843",src:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage,alt:e.advertiserName?`${e.advertiserName} logo`:"Campaign Logo"})}):(0,r.jsx)("span",{className:"_87ia845",children:e.advertiserName})})})]}):null}},33005:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(31561),i=t(35458),o=t(68093),a=t.n(o);function s({src:e,width:n}){try{let t=new URL(e).pathname.split("/");if("wp-content"===t[1])return function({src:e,width:n}){let t=new URL(e);return t.searchParams.set("w",n.toString()),t.toString()}({src:e,width:n});return e}catch(n){return e}}t(21858);let l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN8+R8AAtcB6oaHtZcAAAAASUVORK5CYII=";var c=({sizes:e,placeholder:n="blur",blurDataURL:t=l,className:o,...c})=>{let u=c.fill||!(c.height&&c.width);return(0,r.jsx)(a(),{...c,fill:u,className:(0,i.Z)(o,u&&"mvmjsc0"),blurDataURL:t,placeholder:n,sizes:e,loader:s,"data-chromatic":"ignore"})}},53130:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(33005)},38263:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var r=t(31561),i=t(83016),o=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",children:[(0,r.jsx)("title",{children:"Play"}),(0,r.jsx)("path",{d:"m35.011 21.54-24.03 13.68c-1.052.527-2.104.176-2.806-.701 0-.35-.175-.702-.175-1.052V6.105C8 4.877 8.877 4 9.93 4c.35 0 .701.175 1.052.35l24.03 13.682c1.051.526 1.227 1.754.7 2.806-.175.35-.35.526-.7.702Z",fill:n})]}),a=t(93049);t(25455);var s={small:"_102m78f2 _102m78f1",large:"_102m78f3 _102m78f1"},l={small:"_102m78f5 _102m78f4",large:"_102m78f6 _102m78f4"},c=({variation:e,placement:n,size:t="small"})=>{if("title"===n){let n="video"===e?a.Z:i.Z;return(0,r.jsx)(n,{className:"_102m78f0"})}{let n="video"===e?o:i.Z;return(0,r.jsx)("div",{className:s[t],children:(0,r.jsx)(n,{className:l[t]})})}}},78819:function(e,n,t){"use strict";t.d(n,{o:function(){return d},Z:function(){return u}});var r=t(31561),i=t(35458),o=t(43158),a=t(46688),s=t(88321);t(65424),t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(99089);var l={standard:"_1g6d7eud",wide:"_1g6d7eue"},c={standard:"_1g6d7eu0 xkp0cg6 xkp0cg4",box:"_1g6d7eu1 xkp0cg5 xkp0cg4",special:"_1g6d7eu2 xkp0cg7 xkp0cg4",articleMetaStandard:"_1g6d7eu3 xkp0cg4",articleMetaFeature:"_1g6d7eu4 xkp0cg4",articleMetaFeatureSplit:"_1g6d7eu5 xkp0cg4",articleMetaSpecial:"_1g6d7eu6 xkp0cg4",articleMetaSpecialSplit:"_1g6d7eu7 xkp0cg4",linkButton:"fatpw51 fatpw52",vertical:"_1g6d7eu9"},u=e=>{let{category:n,className:t,componentContext:l,path:u}=e,d=(0,s.z$)(),p=(0,o.dj)("metaCategory",l||""),{metaVariation:h="standard",vertical:m}=(0,a.Z)(e,p),f=(0,i.Z)(c[h],m&&"_1g6d7eua",t);return u?(0,r.jsx)("a",{href:u,onClick:()=>d?.emit({event:"breadcrumb",breadcrumb:{platform:n}}),className:f,children:n}):(0,r.jsx)("span",{className:f,children:n})},d=e=>{let{categories:n,componentContext:t,variant:s="standard"}=e,d=(0,o.dj)("metaCategory",t||""),{categorySeparator:p=" /",metaVariation:h="standard",vertical:m}=(0,a.Z)(e,d);return(0,r.jsx)("ul",{className:(0,i.Z)(l[s]),children:n.map((e,o)=>(0,r.jsxs)("li",{className:(0,i.Z)("linkButton"===h&&"_1g6d7euc fatpw50"),children:[(0,r.jsx)(u,{...e,vertical:m,metaVariation:h,componentContext:t}),o(0,r.jsxs)("svg",{className:e,width:n,height:t,fill:i,viewBox:o,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Comments"}),(0,r.jsx)("desc",{children:"Comment Icon Bubble"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8999 2.10001C2.76729 2.10001 2.64012 2.15268 2.54635 2.24645C2.45258 2.34022 2.3999 2.4674 2.3999 2.60001V9.3929L3.6928 8.10001H9.8999C10.0325 8.10001 10.1597 8.04733 10.2535 7.95356C10.3472 7.85979 10.3999 7.73261 10.3999 7.60001V2.60001C10.3999 2.4674 10.3472 2.34022 10.2535 2.24645C10.1597 2.15268 10.0325 2.10001 9.8999 2.10001H2.8999ZM1.83924 1.53935C2.12055 1.25804 2.50208 1.10001 2.8999 1.10001H9.8999C10.2977 1.10001 10.6793 1.25804 10.9606 1.53935C11.2419 1.82065 11.3999 2.20218 11.3999 2.60001V7.60001C11.3999 7.99783 11.2419 8.37936 10.9606 8.66067C10.6793 8.94197 10.2977 9.10001 9.8999 9.10001H4.10701L1.3999 11.8071V2.60001C1.3999 2.20218 1.55794 1.82065 1.83924 1.53935Z"})]}),s=t(98343),l=t(85056),c=t(88321),u=t(45293),d=t(42061);t(36700),t(90007);var p={lede:"_7y2gng0",contentCard:"_7y2gng1",stickyNav:"_7y2gng2",button:"_7y2gng3 bl2rg42 bl2rg40 bl2rg46",quickPostRiver:"_7y2gng4",quickPostPermalink:"_7y2gng5"},h=o.memo(({url:e,noText:n,authorName:t,headline:o,contentType:h,id:m,chorusUuid:f,chorusId:g,permalink:y,className:_,variant:v="lede"})=>{let{coralConfig:b}=(0,u.q)(),{prerenderDrawer:k}=(0,d.M)(),C=(0,c.z$)();if(!b)throw Error("missing coral config");return(0,r.jsx)("span",{className:(0,i.Z)(p[v],_),children:(0,r.jsxs)(s.Z,{href:e,className:(0,i.Z)(l.I.CommentsLink,"_7y2gng6"),onMouseEnter:k,onClick:()=>{switch(v){case"lede":C?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_lead"}});return;case"button":C?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_footer"}});return;case"stickyNav":C?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_nav"}});return;case"quickPostRiver":C?.emit({event:"quickpost_click",quickpost_click:{article_uri:e,article_title:o,author:t,page_type:"quickpost"}});return;default:C?.emit({event:"article_click",article_click:{article_uri:e,article_title:o,author:t,page_type:h}});return}},children:["contentCard"===v&&(0,r.jsx)(a,{width:12,height:12,viewBox:"0 0 12 12",className:"_7y2gng7"}),(0,r.jsx)(b.CoralCount,{id:m,chorusUuid:f,chorusId:g,url:y,noText:n})]})})})},68424:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(35458);t(1513);var o={lede:"ujex71 ujex70",card:"ujex72 ujex70"},a=({badgeOrientation:e="horizontal",variation:n="lede",className:t})=>(0,r.jsx)("span",{className:(0,i.Z)(o[n],"vertical"===e&&"ujex73",t),children:"LIVE"})},79348:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(59195);t(99008);var a={card:"_1onxz3m1 _1onxz3m0",lede:"_1onxz3m2 _1onxz3m0"},s=({leadLayout:e,variant:n="card",className:t})=>{let s=["fullWidth","split"].includes(e);return(0,r.jsx)("span",{className:t,children:(0,r.jsx)(o.Z,{label:"Member\xa0Exclusive",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"10",fill:"none",className:"_1onxz3m4","aria-hidden":"true",children:(0,r.jsx)("path",{fill:"#000",d:"m5.5 0 1.123 3.455h3.632L7.316 5.59 8.44 9.045 5.5 6.91 2.561 9.045 3.684 5.59.744 3.455h3.633L5.5 0Z"})}),className:(0,i.Z)(a[n],s&&"_1onxz3m3"),metaVariation:"box"})})}},94428:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(31561),i=t(35458),o=t(85056),a=t(43158),s=t(46688),l=t(66982);t(9237),t(11827),t(61513),t(84305),t(62661),t(65019),t(10327),t(29944),t(60410);var c={hub:"_1rf9w8o2 _1rf9w8o0 xkp0cg4",lede:"_1rf9w8o3 _1rf9w8o1 _1rf9w8o0 xkp0cg4",stream:"_1rf9w8o4 _1rf9w8o1 _1rf9w8o0 xkp0cg4",latestRecirc:"_1rf9w8o5 _1rf9w8o0 xkp0cg4",breaker:"_1rf9w8o6 _1rf9w8o0 xkp0cg4",relatedQuickPost:"_1rf9w8o0 xkp0cg4",quickPostPermalink:"_1rf9w8o8"},u=({timestamp:e,className:n,children:t,componentContext:u,...d})=>{let p={hub:l.WH,breaker:l.WH,lede:l.Vm,stream:l.cv,latestRecirc:l.WH,relatedQuickPost:l.q7,quickPostPermalink:l.g1},h=(0,a.dj)("metaTimestamp",u||""),{format:m}=(0,s.Z)(d,h),f=p[m](e);return(0,r.jsxs)("span",{className:(0,i.Z)(o.I.Timestamp,c[m],n),children:[t,(0,r.jsx)("time",{dateTime:e,suppressHydrationWarning:!0,children:f})]})}},84561:function(e,n,t){"use strict";let r;t.d(n,{Z:function(){return j}});var i=t(31561),o=t(82201);function a(){let e=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){var t;let r={current:!0};return t=()=>{r.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e})),n.add(()=>{r.current=!1})},style(e,n,t){let r=e.style.getPropertyValue(n);return Object.assign(e.style,{[n]:t}),this.add(()=>{Object.assign(e.style,{[n]:r})})},group(e){let n=a();return e(n),this.add(()=>n.dispose())},add:n=>(e.push(n),()=>{let t=e.indexOf(n);if(t>=0)for(let n of e.splice(t,1))n()}),dispose(){for(let n of e.splice(0))n()}};return n}function s(){let[e]=(0,o.useState)(a);return(0,o.useEffect)(()=>()=>e.dispose(),[e]),e}var l=t(74241),c=t(33782);function u(){let e=(0,o.useRef)(!1);return(0,c.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var d=t(1072),p=t(96267),h=t(93618),m=t(99146);function f(e,...n){e&&n.length>0&&e.classList.add(...n)}function g(e,...n){e&&n.length>0&&e.classList.remove(...n)}var y=t(59790),_=t(8933),v=t(59582);function b(e=""){return e.split(/\s+/).filter(e=>e.length>1)}let k=(0,o.createContext)(null);k.displayName="TransitionContext";var C=((r=C||{}).Visible="visible",r.Hidden="hidden",r);let x=(0,o.createContext)(null);function T(e){return"children"in e?T(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function w(e,n){let t=(0,d.E)(e),r=(0,o.useRef)([]),i=u(),a=s(),c=(0,l.z)((e,n=v.l4.Hidden)=>{let o=r.current.findIndex(({el:n})=>n===e);-1!==o&&((0,m.E)(n,{[v.l4.Unmount](){r.current.splice(o,1)},[v.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!T(r)&&i.current&&(null==(e=t.current)||e.call(t))}))}),p=(0,l.z)(e=>{let n=r.current.find(({el:n})=>n===e);return n?"visible"!==n.state&&(n.state="visible"):r.current.push({el:e,state:"visible"}),()=>c(e,v.l4.Unmount)}),h=(0,o.useRef)([]),f=(0,o.useRef)(Promise.resolve()),g=(0,o.useRef)({enter:[],leave:[],idle:[]}),y=(0,l.z)((e,t,r)=>{h.current.splice(0),n&&(n.chains.current[t]=n.chains.current[t].filter(([n])=>n!==e)),null==n||n.chains.current[t].push([e,new Promise(e=>{h.current.push(e)})]),null==n||n.chains.current[t].push([e,new Promise(e=>{Promise.all(g.current[t].map(([e,n])=>n)).then(()=>e())})]),"enter"===t?f.current=f.current.then(()=>null==n?void 0:n.wait.current).then(()=>r(t)):r(t)}),_=(0,l.z)((e,n,t)=>{Promise.all(g.current[n].splice(0).map(([e,n])=>n)).then(()=>{var e;null==(e=h.current.shift())||e()}).then(()=>t(n))});return(0,o.useMemo)(()=>({children:r,register:p,unregister:c,onStart:y,onStop:_,wait:f,chains:g}),[p,c,r,y,_,g,f])}function I(){}x.displayName="NestingContext";let R=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function E(e){var n;let t={};for(let r of R)t[r]=null!=(n=e[r])?n:I;return t}let S=v.AN.RenderStrategy,P=(0,v.yV)(function(e,n){let{show:t,appear:r=!1,unmount:i=!0,...a}=e,s=(0,o.useRef)(null),u=(0,h.T)(s,n);(0,p.H)();let d=(0,y.oJ)();if(void 0===t&&null!==d&&(t=(d&y.ZM.Open)===y.ZM.Open),![!0,!1].includes(t))throw Error("A is used but it is missing a `show={true | false}` prop.");let[m,f]=(0,o.useState)(t?"visible":"hidden"),g=w(()=>{f("hidden")}),[_,b]=(0,o.useState)(!0),C=(0,o.useRef)([t]);(0,c.e)(()=>{!1!==_&&C.current[C.current.length-1]!==t&&(C.current.push(t),b(!1))},[C,t]);let I=(0,o.useMemo)(()=>({show:t,appear:r,initial:_}),[t,r,_]);(0,o.useEffect)(()=>{if(t)f("visible");else if(T(g)){let e=s.current;if(!e)return;let n=e.getBoundingClientRect();0===n.x&&0===n.y&&0===n.width&&0===n.height&&f("hidden")}else f("hidden")},[t,g]);let R={unmount:i},E=(0,l.z)(()=>{var n;_&&b(!1),null==(n=e.beforeEnter)||n.call(e)}),P=(0,l.z)(()=>{var n;_&&b(!1),null==(n=e.beforeLeave)||n.call(e)});return o.createElement(x.Provider,{value:g},o.createElement(k.Provider,{value:I},(0,v.sY)({ourProps:{...R,as:o.Fragment,children:o.createElement(A,{ref:u,...R,...a,beforeEnter:E,beforeLeave:P})},theirProps:{},defaultTag:o.Fragment,features:S,visible:"visible"===m,name:"Transition"})))}),A=(0,v.yV)(function(e,n){var t,r,i;let C;let{beforeEnter:I,afterEnter:R,beforeLeave:P,afterLeave:A,enter:B,enterFrom:N,enterTo:L,entered:O,leave:M,leaveFrom:D,leaveTo:F,...j}=e,U=(0,o.useRef)(null),K=(0,h.T)(U,n),q=null==(t=j.unmount)||t?v.l4.Unmount:v.l4.Hidden,{show:z,appear:H,initial:V}=function(){let e=(0,o.useContext)(k);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[$,G]=(0,o.useState)(z?"visible":"hidden"),W=function(){let e=(0,o.useContext)(x);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:Z,unregister:Q}=W;(0,o.useEffect)(()=>Z(U),[Z,U]),(0,o.useEffect)(()=>{if(q===v.l4.Hidden&&U.current){if(z&&"visible"!==$){G("visible");return}return(0,m.E)($,{hidden:()=>Q(U),visible:()=>Z(U)})}},[$,U,Z,Q,z,q]);let Y=(0,d.E)({base:b(j.className),enter:b(B),enterFrom:b(N),enterTo:b(L),entered:b(O),leave:b(M),leaveFrom:b(D),leaveTo:b(F)}),J=(i={beforeEnter:I,afterEnter:R,beforeLeave:P,afterLeave:A},C=(0,o.useRef)(E(i)),(0,o.useEffect)(()=>{C.current=E(i)},[i]),C),X=(0,p.H)();(0,o.useEffect)(()=>{if(X&&"visible"===$&&null===U.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[U,$,X]);let ee=H&&z&&V,en=X&&(!V||H)?z?"enter":"leave":"idle",et=function(e=0){let[n,t]=(0,o.useState)(e),r=u(),i=(0,o.useCallback)(e=>{r.current&&t(n=>n|e)},[n,r]),a=(0,o.useCallback)(e=>!!(n&e),[n]);return{flags:n,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>{r.current&&t(n=>n&~e)},[t,r]),toggleFlag:(0,o.useCallback)(e=>{r.current&&t(n=>n^e)},[t])}}(0),er=(0,l.z)(e=>(0,m.E)(e,{enter:()=>{et.addFlag(y.ZM.Opening),J.current.beforeEnter()},leave:()=>{et.addFlag(y.ZM.Closing),J.current.beforeLeave()},idle:()=>{}})),ei=(0,l.z)(e=>(0,m.E)(e,{enter:()=>{et.removeFlag(y.ZM.Opening),J.current.afterEnter()},leave:()=>{et.removeFlag(y.ZM.Closing),J.current.afterLeave()},idle:()=>{}})),eo=w(()=>{G("hidden"),Q(U)},W),ea=(0,o.useRef)(!1);!function({immediate:e,container:n,direction:t,classes:r,onStart:i,onStop:o}){let l=u(),p=s(),h=(0,d.E)(t);(0,c.e)(()=>{e&&(h.current="enter")},[e]),(0,c.e)(()=>{let e=a();p.add(e.dispose);let t=n.current;if(t&&"idle"!==h.current&&l.current){var s,c,u;let n,l,d,p,y,_,v;return e.dispose(),i.current(h.current),e.add((s=r.current,c="enter"===h.current,u=()=>{e.dispose(),o.current(h.current)},l=c?"enter":"leave",d=a(),p=void 0!==u?(n={called:!1},(...e)=>{if(!n.called)return n.called=!0,u(...e)}):()=>{},"enter"===l&&(t.removeAttribute("hidden"),t.style.display=""),y=(0,m.E)(l,{enter:()=>s.enter,leave:()=>s.leave}),_=(0,m.E)(l,{enter:()=>s.enterTo,leave:()=>s.leaveTo}),v=(0,m.E)(l,{enter:()=>s.enterFrom,leave:()=>s.leaveFrom}),g(t,...s.base,...s.enter,...s.enterTo,...s.enterFrom,...s.leave,...s.leaveFrom,...s.leaveTo,...s.entered),f(t,...s.base,...y,...v),d.nextFrame(()=>{g(t,...s.base,...y,...v),f(t,...s.base,...y,..._),function(e,n){let t=a();if(!e)return t.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,s]=[r,i].map(e=>{let[n=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,n)=>n-e);return n}),l=o+s;if(0!==l){t.group(t=>{t.setTimeout(()=>{n(),t.dispose()},l),t.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&t.dispose()})});let r=t.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(n(),r())})}else n();t.add(()=>n()),t.dispose}(t,()=>(g(t,...s.base,...y),f(t,...s.base,...s.entered),p()))}),d.dispose)),e.dispose}},[t])}({immediate:ee,container:U,classes:Y,direction:en,onStart:(0,d.E)(e=>{ea.current=!0,eo.onStart(U,e,er)}),onStop:(0,d.E)(e=>{ea.current=!1,eo.onStop(U,e,ei),"leave"!==e||T(eo)||(G("hidden"),Q(U))})});let es=j;return ee?es={...es,className:(0,_.A)(j.className,...Y.current.enter,...Y.current.enterFrom)}:ea.current&&(es.className=(0,_.A)(j.className,null==(r=U.current)?void 0:r.className),""===es.className&&delete es.className),o.createElement(x.Provider,{value:eo},o.createElement(y.up,{value:(0,m.E)($,{visible:y.ZM.Open,hidden:y.ZM.Closed})|et.flags},(0,v.sY)({ourProps:{ref:K},theirProps:es,defaultTag:"div",features:S,visible:"visible"===$,name:"Transition.Child"})))}),B=(0,v.yV)(function(e,n){let t=null!==(0,o.useContext)(k),r=null!==(0,y.oJ)();return o.createElement(o.Fragment,null,!t&&r?o.createElement(P,{ref:n,...e}):o.createElement(A,{ref:n,...e}))}),N=Object.assign(P,{Child:B,Root:P});var L=t(35458),O=t(44463),M=t.n(O),D=t(418);t(42337);var F="xmuitp2",j=({children:e,drawerId:n,drawerClassName:t,onClose:r,open:a,storybookStatic:s,initialFocusElement:l,"aria-label":c,scrollToTop:u=!0,disableTransition:d})=>{let p=(0,o.useRef)(l);p.current=l;let[h,m]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{a&&u&&document.getElementById(`${n}-scroll`)?.scrollTo({top:0})},[n,a,u]),(0,i.jsx)(N.Root,{show:a,as:o.Fragment,unmount:!1,children:(0,i.jsx)("div",{className:(0,L.Z)("xmuitp0",s&&F),id:n,onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":`${n}-title`,children:(0,i.jsx)(N.Child,{as:o.Fragment,className:d?"xmuitp3":void 0,enter:"xmuitp4",enterFrom:"xmuitp5",enterTo:"xmuitp6",leave:"xmuitp7",leaveFrom:"xmuitp8",leaveTo:"xmuitp9",unmount:!1,afterEnter:()=>m(!0),afterLeave:()=>m(!1),children:(0,i.jsxs)("section",{className:(0,L.Z)("xmuitp1",t,s&&F),id:`${n}-scroll`,children:[(0,i.jsx)("div",{className:D.F.accessibility.srOnly,children:(0,i.jsx)("div",{id:`${n}-title`,children:c})}),(0,i.jsx)(M(),{active:h,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,initialFocus:()=>p.current?p.current:void 0},children:(0,i.jsx)("div",{children:e})})]})})})})}},64177:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(31561),i=t(35458),o=t(27666),a=t(46660),s=t(43158),l=t(46688),c=t(88321),u=t(82201),d=t(98343);t(62114);var p="_1ujku672",h=({linkData:e,showBrandLinks:n=!0})=>{let t=(0,c.z$)();return(0,r.jsx)("div",{className:"_1ujku670",children:e&&e.map((e,o)=>{if(0!==o||n)return(0,r.jsx)(u.Fragment,{children:(0,r.jsx)("ul",{className:(0,i.Z)("_1ujku671",0===o&&"_1ujku674"),children:e.map((e,n)=>e.component?(0,r.jsx)("li",{className:p,children:e.component},n):e.title&&e.href?(0,r.jsx)("li",{className:p,children:(0,r.jsx)(d.Z,{className:"_1ujku673",onClick:()=>t?.emit({event:"footer_click",footer_click:{name:e.title}}),rel:"nofollow",href:e.href,children:e.title})},n):void 0)})},o)})})};t(75397);var m=e=>{let n=(0,c.z$)(),t=(0,s.dj)("footer"),{className:u,Logo:d,linkData:p,showUpperContainer:m,showBrandLinks:f}=(0,l.Z)(e,t);return(0,r.jsx)("footer",{className:(0,i.Z)(a.Z.Footer,u),children:(0,r.jsx)("div",{className:"_149cuuw0",children:(0,r.jsxs)("div",{className:"_149cuuw1",children:[m&&(0,r.jsxs)("div",{className:"_149cuuw3 _149cuuw2",children:[(0,r.jsx)("a",{href:"/",onClick:()=>n?.emit({event:"footer_click",footer_click:{name:"Logo"}}),children:(0,r.jsx)(d,{className:"_149cuuw4"})}),(0,r.jsx)("div",{className:"_149cuuw5 _149cuuw2",children:(0,r.jsx)(o.Z,{})})]}),(0,r.jsx)(h,{showBrandLinks:f,linkData:p}),(0,r.jsxs)("p",{className:"_149cuuw6",children:["\xa9 ",new Date().getFullYear()," ",(0,r.jsx)("a",{rel:"nofollow",href:"https://www.voxmedia.com",children:"Vox Media"}),", LLC. All Rights Reserved"]})]})})})}},98343:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(45293),o=t(76553),a=({href:e,suppressHydrationWarning:n=!1,...t})=>{let{siteOrigin:a,communityOrigin:s}=(0,i.q)().communityConfig;return(0,r.jsx)("a",{...t,href:(0,o.QW)(e,a||s),suppressHydrationWarning:n,className:t.className,children:t.children})}},27666:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var r=t(31561),i=t(35458),o=t(425),a=t(90932),s=t(11452),l=t(98433),c=t(68117),u=t(52448),d=t(43158),p=t(46688),h=t(88321);t(19863);var m="_1y2f8pg2",f="_1y2f8pg1",g=e=>{let n=(0,d.dj)("socialLinks"),t=(0,h.z$)(),{className:g,linkData:y}=(0,p.Z)(e,n),_=e=>t?.emit({event:"navigation_click",navigation_click:{name:e}});return(0,r.jsxs)("ul",{className:(0,i.Z)("_1y2f8pg0",g),children:[y.facebook&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.facebook,className:(0,i.Z)(f),onClick:()=>_("facebook"),rel:"nofollow",children:(0,r.jsx)(a.Z,{className:m})})}),y.twitter&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.twitter,className:(0,i.Z)(f),onClick:()=>_("twitter"),rel:"nofollow",children:(0,r.jsx)(c.Z,{className:m})})}),y.instagram&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.instagram,className:(0,i.Z)(f),onClick:()=>_("instagram"),rel:"nofollow",children:(0,r.jsx)(s.Z,{className:m})})}),y.youtube&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.youtube,className:(0,i.Z)(f),onClick:()=>_("youtube"),rel:"nofollow",children:(0,r.jsx)(u.Z,{className:m})})}),y.rss&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.rss,className:(0,i.Z)(f),onClick:()=>_("rss"),rel:"nofollow",children:(0,r.jsx)(o.Z,{className:m})})}),y.tiktok&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.tiktok,className:(0,i.Z)(f),onClick:()=>_("tiktok"),rel:"nofollow",children:(0,r.jsx)(l.Z,{className:m})})})]})}},33835:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var r=t(82201),i=t(31561),o=t(35458),a=t(66952),s=t.n(a),l=t(94977),c=t(97456),u=t(43158),d=t(418),p=t(82735);t(23265);var h=e=>{let n=(0,u.dj)("threeGridBigPattern",e.componentContext||""),{cardsData:t,gaComponentName:a="three_grid_big_pattern",mobileCardContext:h="threeGridPattern",desktopCardContext:m,showGridBorders:f=!1,mobileCardClassName:g,desktopCardClassName:y,desktopContainerClassName:_}=s()({},n,e),{mobileContext:v,desktopContext:b}=(0,p.A)(t.length,h,m),k=(e,n)=>(0,i.jsx)("div",{className:(0,o.Z)(f&&c.w8),children:(0,i.jsx)(l.Z,{...e,componentContext:b[n],gaComponentName:a,imageTreatment:0===n||n%2==0?"two":"three",imageOverlay:0===n||n%2==0?"two":"three",className:y})},e.id),C=(n,i)=>(0,r.createElement)(l.Z,{...n,key:n.id,componentContext:v[i],gaComponentName:a,extraContentBlockStyles:(0,o.Z)(e.centerText&&"_1vw4fnn1"),imageTreatment:0===i||i%2==0?"two":"three",imageOverlay:0===i||i%2==0?"two":"three",className:(0,o.Z)(i!==t.length-1&&d.F.layout.standardSpacing.medium,g)}),x=[],T=[];return t.forEach((e,n)=>{x.push(k(e,n)),T.push(C(e,n))}),(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:(0,o.Z)("_1vw4fnn0",_),children:x}),(0,i.jsx)("div",{className:c.zs,children:T})]})}},96112:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(83958),o=t(28192);t(91945);var a={1:"vy7vxs2",2:"vy7vxs3",3:"vy7vxs4"},s=({cardsData:e,gaComponentName:n="three_up_alt_pattern",className:t})=>{let s=(e,t)=>{let i="1"===t;return(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(o.Z,{...e,componentContext:i?"threeUpAltPatternLargeFirst":"threeUpAltPatternLarge",contentBlockSize:i?"large":"medium",gaComponentName:n})},e.id)},l=(e,t)=>{let s="1"===t,l=s?"large":"medium";return s?(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(o.Z,{...e,componentContext:"threeUpAltPatternSmall",contentBlockSize:l,gaComponentName:n,showBorder:!0})},e.id):(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(i.Z,{...e,componentContext:"threeUpPattern",contentBlockSize:l,gaComponentName:n,lastChild:"3"===t})},e.id)},c=[],u=[];return e.forEach((e,n)=>{let t=n+1;c.push(s(e,t.toString())),u.push(l(e,t.toString()))}),(0,r.jsxs)("div",{className:t,children:[(0,r.jsx)("div",{className:"vy7vxs0",children:c}),(0,r.jsx)("div",{className:"vy7vxs1",children:u})]})}},42414:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var r=t(31561),i=t(35458),o=t(66952),a=t.n(o),s=t(28192),l=t(43158),c=t(82735),u=t(71343);let d=["threeUpPatternLargeFirst","threeUpPatternLargeSecond","threeUpPatternLargeThird"],p=["threeUpPatternFirst","threeUpPatternSecond","threeUpPatternThird"];var h=e=>{let n=(0,l.dj)("threeUpPattern",e.componentContext||""),{cardsData:t,mobileCardContext:o=p,desktopCardContext:h=d,gaComponentName:m="three_up_pattern",desktopContainerClassName:f,className:g}=a()({},n,e),{mobileContext:y,desktopContext:_}=(0,c.A)(t.length,o,h),v=e=>u.er[(e+1).toString()]||u.er["1"],b=(e,n)=>(0,r.jsx)("div",{className:v(n),children:(0,r.jsx)(s.Z,{...e,componentContext:_[n],gaComponentName:m})},e.id),k=(e,n)=>(0,r.jsx)("div",{className:v(n),children:(0,r.jsx)(s.Z,{...e,componentContext:y[n],gaComponentName:m})},e.id),C=[],x=[];return t.forEach((e,n)=>{C.push(b(e,n)),x.push(k(e,n))}),(0,r.jsxs)("div",{className:g,children:[(0,r.jsx)("div",{className:(0,i.Z)(u.aS,f),children:C}),(0,r.jsx)("div",{className:u.zs,children:x})]})}},46660:function(e,n){"use strict";n.Z={Accordion:"duet--article--accordion",ActionBox:"duet--article--action-box",ArticleByline:"duet--article--article-byline",ArticleGallery:"duet--article--gallery",ArticleGroups:"duet--article--article-groups",ArticleRecirc:"duet--layout--article-recirc",Blockquote:"duet--article--blockquote",BlockPlacement:"duet--article--block-placement",BrandedContentDisclaimer:"duet--article--branded-content-disclaimer",BrandedContentSponsor:"duet--cta--branded-content-sponsor",BrandedLede:"duet--ledes--branded-lede",BreakerByline:"duet--recirculation--breaker-byline",BreakerPattern:"duet--recirculation--breaker",BreakingNewsBanner:"duet--cta--breaking-news-banner",Button:"duet--cta--button",LinkButton:"duet--cta--link-button",Caption:"duet--media--caption",CommentsLink:"duet--article--comments-link",ContactForm:"duet--article--contact-form",ArticleCommentsButton:"duet--article--comments-button",ContentWarning:"duet--media--content-warning",ContentCardGroup:"duet--content-cards--content-card-group",ContentCardPlayButton:"duet--content-cards--content-card-play-button",ContentCardScore:"duet--content-cards--content-card-score",ContentCardStreamLabel:"duet--content-cards--content-card-stream-label",CookieBanner:"duet--cta--cookie-banner",CuratedShowcaseCards:"duet--layout--curated-showcase-cards",DangerouslySetCMSMarkup:"duet--article--dangerously-set-cms-markup",Disclaimer:"duet--article--disclaimer",Divider:"duet--article--divider",Embed:"duet--media--embed",ArticleBody:"duet--layout--entry-body",ArticleBodyContainer:"duet--layout--entry-body-container",EntryImage:"duet--layout--entry-image",FeatureDek:"duet--article--feature-dek",FeatureHeadline:"duet--article--feature-headline",FeatureLede:"duet--ledes--feature-lede",SpecialFeatureLede:"duet--ledes--special-feature-lede",SpecialFeatureOverlayLede:"duet--ledes--feature-lede-overlay",Footer:"duet--navigation--footer",Header:"duet--layout--header",HeaderPattern:"duet--layout--header-pattern",Highlight:"duet--article--highlight",GroupBreaker:"duet--recirculation--group-breaker",ImageComparison:"duet--article--image-comparison",ImageGalleryImage:"duet--article--image-gallery-image",ImageGalleryFourUp:"duet--article--image-gallery-four-up",ImageGalleryThreeUpBottom:"duet--article--image-gallery-three-up-bottom",ImageGalleryThreeUpTop:"duet--article--image-gallery-three-up-top",ImageGalleryTwoUp:"duet--article--image-gallery-two-up",LeadParagraph:"duet--article--lead-paragraph",LedeBackground:"duet--article--lede-background",ListBreakerCompact:"duet--recirculation--list-breaker-compact",ListBreakerStandard:"duet--recirculation--list-breaker-standard",FormFieldSelect:"duet--cta--form-field-select",FormFieldText:"duet--cta--form-field-text",FormFieldTextarea:"duet--cta--form-field-textarea",MetadataStrip:"duet--meta--metadata-strip",MinimalNav:"duet--navigation--minimal-nav",Navigation:"duet--navigation--navigation",NavigationDrawer:"duet--navigation--navigation-drawer",Newsletter:"duet--cta--newsletter",OrderedList:"duet--article--ordered-list",PackageLede:"duet--ledes--package-lede",Pagination:"duet--navigation--pagination",PodcastSection:"duet--media--podcast-section",ProductCard:"duet--article--product-card",ProductGrid:"duet--article--product-grid",Pullquote:"duet--article--article-pullquote",QuickLinks:"duet--cta--quick-links",Rail:"duet--layout--rail",Rating:"duet--article--rating",ReadMoreWrapper:"duet--cta--read-more-wrapper",RecommendedArticles:"duet--recirculation--recommended-articles",Related:"duet--article--related",River:"duet--layout--river",RiverContainer:"duet--layout--river-container",RelatedList:"duet--recirculation--related-list",PatternSwitcher:"duet--layout--pattern-switcher",Scorecard:"duet--article--scorecard",ShareButtons:"duet--article--share-buttons",ShowcaseCard:"duet--content-cards--showcase-card",StreamHighlights:"duet--navigation--stream-highlights",RightRailRecirc:"duet--recirculation--right-rail-recirc",SkipToContent:"duet--cta--skip-to-content",StandaloneLink:"duet--navigation--standalone-link",StandardDivider:"duet--layout--standard-divider",StandardHeading:"duet--article--standard-heading",StandardLede:"duet--ledes--standard-lede",StandardLedeBottom:"duet--ledes--standard-lede-bottom",StandardParagraph:"duet--article--standard-paragraph",StickyNav:"duet--navigation--sticky-nav",StorystreamHeader:"duet--recirculation--storystream-header",StorystreamHeaderBeacon:"duet--recirculation--storystream-header-beacon",StreamLede:"duet--ledes--stream-lede",Table:"duet--article--table",TableOfContents:"duet--article--table-of-contents",Timestamp:"duet--article--timestamp",Toggle:"duet--cta--toggle",UnorderedList:"duet--article--unordered-list",UtilityBar:"duet--navigation-utility-bar",VideoEmbed:"duet--media--video-embed",VideoSection:"duet--media--video-section",FeaturedVideoSection:"duet--media--featured-video-section",WikiBanner:"duet--navigation--wiki-banner",LoopNav:"duet--navigation--loop-nav",AuthorProfileLayout:"duet--page-layout--author",BrandedArticleContainer:"duet--page-layout--branded-article",CategoryLayout:"duet--page-layout--category",EmbedStoryLayout:"duet--page-layout--embed-story",EntryLayout:"duet--page-layout--entry",EntryBodySidebar:"duet--article--sidebar",EntryGroupLayout:"duet--page-layout--group",EntryGroupHubLayout:"duet--page-layout--group-hub",EntryRailComponents:"duet--article--rail",FeatureArticleContainer:"duet--page-layout--feature-article",FrontPageArchiveLayout:"duet--page-layout--front-page-archive",FrontPageLayout:"duet--page-layout--front-page",FullArchiveLayout:"duet--page-layout--full-archive",VideoGamePageLayout:"duet--page-layout--gamepage",HeroContainer:"duet--article--hero",HomepageLayout:"duet--page-layout--homepage",HomepageArchiveLayout:"duet--page-layout--homepage-archive",LedeHeadlineOverlay:"duet--article--lede-headline-overlay",LedeImage:"duet--article--lede-image",LedeSplit:"duet--article--lede-split",NativeAdLinkset:"duet--ad--native-ad-linkset",NativeAdRail:"duet--ad--native-ad-rail",NativeAdContentLink:"duet--ad--native-content-link",NewslettersPageCard:"duet--cta--newsletters-page-card",NewslettersPagePanel:"duet--cta--newsletters-page-panel",PackageContainer:"duet--page-layout--package",PackageLayout:"duet--page-layout--package",PageLayout:"duet--page-layout--page",PostLayout:"duet--page-layout--post",QuickPostLayout:"duet--page-layout--quick-post",StandardArticleContainer:"duet--page-layout--standard-article",StreamLayout:"duet--page-layout--stream",AppContainer:"duet--app",BodyStickyNav:"duet--sticky-nav",ArticleBodyComponent:"duet--article--article-body-component",ArticleBodyComponentContainer:"duet--article--article-body-component-container",ArticleDateAndComments:"duet--article--date-and-comments",ArticleLede:"duet--article--lede",ContentCard:"duet--content-cards--content-card",EntryGroupDescription:"duet--group--description",LedeHeadlineAboveBlurple:"duet--article--lede-headline-above-blurple",LedeHeadlineAboveFranklin:"duet--article--lede-headline-above-franklin",MoreStories:"duet--article--more-stories",PackageLandingPageToc:"duet--article--package-toc",QuickPost:"duet--content-cards--quick-post"}},85056:function(e,n,t){"use strict";t.d(n,{j:function(){return r},I:function(){return i.Z}});let r={mobile:0,productCard:335,productCardDesktop:550,river:700,narrowRiver:600,tablet:768,navigation:901,desktop:1180};var i=t(46660)},54188:function(e,n,t){"use strict";t.d(n,{r:function(){return o}});var r=t(82201);let i=(0,r.createContext)({metadata:{}}),o=()=>(0,r.useContext)(i);n.Z=i},43158:function(e,n,t){"use strict";t.d(n,{dj:function(){return a},kj:function(){return s}});var r=t(82201),i=t(81606);let o=(0,r.createContext)(null),a=(e,n="")=>{let t=(0,r.useContext)(o);if(!t)throw Error("Missing ComponentConfig Context");let{componentContext:a,...s}=t[e];return a?.[n]?(0,i.d)(s,a[n]):s},s=e=>{let[n,...t]=e;return[n,...t.map(e=>`${e.charAt(0).toUpperCase()}${e.slice(1)}`)].join("")};n.ZP=o},82830:function(e,n,t){"use strict";t.d(n,{Q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Navigation Context");return e};n.Z=i},31218:function(e,n,t){"use strict";t.d(n,{n:function(){return s}});var r=t(31561),i=t(87784),o=t(82201);class a extends o.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,n){(0,i.Tb)(e,{tags:{context:this.props.context,layout:this.props.layout||null,captureMethod:"ErrorBoundary"},extra:{componentStack:n.componentStack}})}render(){return this.state.hasError?null:this.props.children}}function s(e,n){return t=>(0,r.jsx)(a,{...n,children:(0,r.jsx)(e,{...t})})}n.Z=a},1855:function(e,n,t){"use strict";var r=t(82201),i=t(88321);n.Z=(e,n)=>{let t=(0,i.z$)();(0,r.useEffect)(()=>{let r=e.current;if(!r||"undefined"==typeof IntersectionObserver)return;let i=new IntersectionObserver(([e])=>{e?.isIntersecting&&(t?.emit(n),i.unobserve(r))});return i.observe(r),()=>{i.unobserve(r)}},[t,e,n])}},46688:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(82201),i=t(81606);function o(e,n){return(0,r.useMemo)(()=>(0,i.d)(n,e),[...Object.values(e),...Object.values(n)])}},418:function(e,n,t){"use strict";t.d(n,{F:function(){return U}});var r={};t.r(r),t.d(r,{contentCardContainer:function(){return c},contentCardLink:function(){return u},fixedWidthCard:function(){return d}});var i={};t.r(i),t.d(i,{error:function(){return p},errorField:function(){return h},formLabel:function(){return m},inputBase:function(){return f}});var o={};t.r(o),t.d(o,{articleDetailsContainer:function(){return y},backgroundFill:function(){return _},backgroundFillBase:function(){return v},imageInnerContainerBase:function(){return b},mediaContainer:function(){return k},overlayBase:function(){return C},overlayImage:function(){return x}});var a={};t.r(a),t.d(a,{bodyPadding:function(){return T},emailRequirements:function(){return w},errorContainer:function(){return I},finePrint:function(){return R},form:function(){return E},formButton:function(){return S},formInfo:function(){return P},heading:function(){return A},inputGroup:function(){return B},loginContainer:function(){return N}});var s={};t.r(s),t.d(s,{actionButton:function(){return L},dl:function(){return O},h2:function(){return M},h3:function(){return D},labeledData:function(){return F},spinner:function(){return j}});var l=t(92015);t(11827);var c="qcd9z0",u="qcd9z1",d="qcd9z2";t(61513);var p="_1vr06932",h="_1vr06933",m="_1vr06930",f="_1vr06931",g=t(22178);t(62661);var y="_17w4ahhc",_={solidFeature:"_17w4ahh5 _17w4ahh4",solidFeatureSplit:"_17w4ahh6 _17w4ahh4",solidSpecialFeature:"_17w4ahh7 _17w4ahh4",solidSpecialFeatureSplit:"_17w4ahh8 _17w4ahh4",lightGradient:"_17w4ahh9 _17w4ahh4",darkGradient:"_17w4ahha _17w4ahh4",solidGradient:"_17w4ahhb _17w4ahh4"},v="_17w4ahh4",b="_17w4ahh1",k="_17w4ahh0",C="_17w4ahh2",x="_17w4ahh3";t(65019);var T="kxm6ik0",w="kxm6ik2",I="kxm6ik9",R="kxm6ik8",E="kxm6ik3",S="kxm6ik6",P="kxm6ik7",A="kxm6ik5",B="kxm6ik4",N="kxm6ik1";t(10327);var L="p8j69x6",O="p8j69x2",M="p8j69x3",D="p8j69x4",F="p8j69x5",j="p8j69x1";let U={accessibility:l,contentCard:r,form:i,layout:g,lede:o,login:a,membership:s,text:t(87024)}},81606:function(e,n,t){"use strict";t.d(n,{d:function(){return function e(n,t){let r={...t};return Object.keys(n).forEach(o=>{if(!(o in r)||void 0===r[o]){r[o]=n[o];return}!(i(t[o])||i(n[o]))&&function e(n,t){let r=Object.keys(n);for(let o of Object.keys(t))if(!r.includes(o)||void 0===n[o]||!i(t[o])&&!i(n[o])&&e(n[o],t[o]))return!0;return!1}(t[o],n[o])&&(r[o]=e(n[o],r[o]))}),r}}});var r=t(82201);function i(e){return Array.isArray(e)||(0,r.isValidElement)(e)||"function"==typeof e||"object"!=typeof e||null==e||"constructor"in e&&e.constructor!==Object.prototype.constructor}},82735:function(e,n,t){"use strict";t.d(n,{A:function(){return r}});let r=(e,n,t)=>{let r=Array.isArray(n)?n:Array(e).fill(n),i=t&&Array.isArray(t)?t:t?Array(e).fill(t):r;return{mobileContext:r,desktopContext:i}}},92501:function(e,n,t){"use strict";t.d(n,{C2:function(){return o},Yw:function(){return r},h8:function(){return i}});let r="selectItemAnalytics",i=e=>(e.displayName=r,e),o=(e,n)=>"post"===e&&n?"feature":"post"===e?"story":e},92460:function(e,n,t){"use strict";t.d(n,{C:function(){return r}});let r=()=>"undefined"!=typeof window},19738:function(e,n,t){"use strict";t.d(n,{ej:function(){return r},qS:function(){return i}});let r=e=>{let n=`${e}=`;return decodeURIComponent(document.cookie).split("; ").reduce((e,t)=>0===t.indexOf(n)?t.substring(n.length):e,"")},i=(e,n)=>{let t=e.headers.cookie;if(t)return t.split("; ").reduce((e,t)=>{let r=t.split("=");return r[0]===n?decodeURIComponent(r[1]||""):e},void 0)}},66982:function(e,n,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,n){if(n.length1?"s":"")+" required, but only "+n.length+" present")}function o(e){i(1,arguments);var n=Object.prototype.toString.call(e);return e instanceof Date||"object"===r(e)&&"[object Date]"===n?new Date(e.getTime()):"number"==typeof e||"[object Number]"===n?new Date(e):(("string"==typeof e||"[object String]"===n)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}function a(e){return i(1,arguments),(!!function(e){return i(1,arguments),e instanceof Date||"object"===r(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number(o(e)))}function s(e,n,t){var r,o;return i(1,arguments),void 0===n||"locale"in n?t=n:o=n,new Intl.DateTimeFormat(null===(r=t)||void 0===r?void 0:r.locale,o).format(e)}function l(e){if(null===e||!0===e||!1===e)return NaN;var n=Number(e);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}t.d(n,{q7:function(){return _},Vm:function(){return y},WH:function(){return f},g1:function(){return b},cv:function(){return g},Ur:function(){return k}});let c=e=>a(e)?s(e,{year:"numeric",month:"short",day:"numeric"},{locale:"en-US"}):"",u=e=>a(e)?s(e,{month:"short",day:"numeric"},{locale:"en-US"}):"",d=e=>a(e)?s(e,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"}):"",p=e=>a(e)?s(e,{hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"}):"",h=(e,n)=>new Intl.RelativeTimeFormat("en-US",{numeric:"auto"}).format(e,n),m=e=>{let n=new Date;return n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&n.getDate()===e.getDate()},f=e=>{if(!e.length)return"";let n=new Date,t=new Date(e),r=n.getTime()-t.getTime(),i=m(t);if(!(t instanceof Date)||isNaN(t.valueOf()))return"";if(r<1e3)return"Now";if(r<6e4)return h(Math.floor(-1*r/1e3),"seconds");if(r<12e4)return"A minute ago";if(r<36e5)return h(Math.floor(-1*r/6e4),"minutes");if(r<54e5)return"An hour ago";if(r<108e5)return"Two hours ago";else if(i)return p(t);else if(n.getFullYear()-t.getFullYear()>0)return c(t);else return u(t)},g=e=>{if(!e.length)return"";let n=new Date(e);return!(n instanceof Date)||isNaN(n.valueOf())?"":d(n)},y=e=>s(new Date(e),{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"}),_=e=>u(new Date(e)),v=e=>{if(!e.length)return{date:"",time:""};let n=new Date(e);return!(n instanceof Date)||isNaN(n.valueOf())?{date:"",time:""}:{date:c(n),time:p(n)}},b=e=>{let{date:n,time:t}=v(e);return`${n} at ${t}`},k=e=>(function(e,n){if(i(2,arguments),!n||"object"!==r(n))return new Date(NaN);var t=n.years?l(n.years):0,a=n.months?l(n.months):0,s=n.weeks?l(n.weeks):0,c=n.days?l(n.days):0,u=n.hours?l(n.hours):0,d=n.minutes?l(n.minutes):0,p=n.seconds?l(n.seconds):0;return new Date((function(e,n){return i(2,arguments),function(e,n){i(2,arguments);var t=o(e),r=l(n);return isNaN(r)?new Date(NaN):(r&&t.setDate(t.getDate()+r),t)}(e,-l(n))})(function(e,n){return i(2,arguments),function(e,n){i(2,arguments);var t=o(e),r=l(n);if(isNaN(r))return new Date(NaN);if(!r)return t;var a=t.getDate(),s=new Date(t.getTime());return(s.setMonth(t.getMonth()+r+1,0),a>=s.getDate())?s:(t.setFullYear(s.getFullYear(),s.getMonth(),a),t)}(e,-l(n))}(e,a+12*t),c+7*s).getTime()-1e3*(p+60*(d+60*u)))})(new Date,{days:e})},90030:function(e,n,t){"use strict";t.d(n,{b1:function(){return r},bt:function(){return o},wh:function(){return i}});let r=()=>"ontouchstart"in window||window.navigator.maxTouchPoints>0,i=()=>{let e=!!window.screen.orientation&&window.screen.orientation.angle||window.orientation||0;return 90===e||270===e||window.screen.height/BlackBerry|webOS|iPhone|IEMobile|Android|Windows Phone|iPad|iPod/i.test(window.navigator.userAgent)},72964:function(e,n,t){"use strict";t.d(n,{Hx:function(){return r},P_:function(){return i},ex:function(){return o}});let r=1200,i=(e,n)=>{let{originalWidth:t,originalHeight:r}=e,{width:i,height:o}=n.cropCoordinates;return{width:Math.floor(i/100*t),height:Math.floor(o/100*r)}},o=({url:e,width:n,quality:t})=>{let r=new URL(e);return n&&r.searchParams.set("w",n.toString()),t&&r.searchParams.set("quality",t.toString()),r.toString()}},59510:function(e,n,t){"use strict";t.d(n,{Z9:function(){return c},_E:function(){return s},cM:function(){return a}});var r=t(59619),i=t.n(r),o=t(74702);let a=i()({browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:o.env.LOG_LEVEL||"true"===o.env.DEBUG_ENABLED?"debug":"info"}),s=()=>"undefined"!=typeof performance?performance.now():Date.now(),l=e=>"undefined"!=typeof performance?performance.now()-e:Date.now()-e,c=(e,n="ms")=>{let t=l(e),r="s"===n;return(r?t/1e3:t).toFixed(r?2:0)}},26996:function(e,n,t){"use strict";t.d(n,{FS:function(){return i},bn:function(){return a},xs:function(){return o},yS:function(){return s}});let r=/^(.*)\/archives\/([0-9]+)\/?(\?.*)?$/;function i(e){return`archives/${e}`}function o(e){return"/"!==e[e.length-1]?`${e}/`:e}function a(e){var n,t;let i;let o=new URL(e,"http://localhost"),a=(n=o.pathname,i=null,(i=n.match(r))?{base:i[1],page:Number.parseInt(i[2])}:null);return{base:"/"!==(t=a?a.base:o.pathname)[0]?`/${t}`:t,page:a?a.page:null}}function s(e){return`/archives/${e.category?e.category+"/":""}${e.year}/${e.month||1}/${e.pageNumber||1}`}},76553:function(e,n,t){"use strict";t.d(n,{N3:function(){return o},P6:function(){return s},QW:function(){return i},R2:function(){return l}});var r=t(74702);let i=(e,n)=>{let t=new URL(e,n);return t.origin===n?`${t.pathname}${t.search}${t.hash}`:e};function o(e){let n=e.split(".");return n.length>2?`${n[n.length-2]}.${n[n.length-1]}`:e}let a=e=>new URLSearchParams(new URL("https://example.com"+e).search),s=e=>!!e&&"true"===a(e).get("preview"),l=(e,n)=>{let t="/api";return r.env.INTERNAL_SERVICE_ORIGIN?new URL(t,r.env.INTERNAL_SERVICE_ORIGIN):function({req:e,path:n,communityDomain:t}){let r="https"===function(e,n){let t=`x-forwarded-${n}`;return"string"!=typeof e.headers[t]?null:e.headers[t].split(",")[0]}(e,"proto")?"https":"http",i=function(e,n){if(!e.headers.host)throw Error("missing host header");let t="string"==typeof e.headers["x-duet-forwarded-host"]&&e.headers["x-duet-forwarded-host"];return t&&o(t)===o(n)?t:e.headers.host}(e,t);return new URL(n,`${r}://${i}`)}({req:e,path:t,communityDomain:n})}},89161:function(e){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==t.return||t.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},8442:function(e,n,t){var r=t(65199);e.exports=function(e,n,t){return(n=r(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports},90130:function(e){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[t]=e[t]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},12732:function(e){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},83718:function(e,n,t){var r=t(93464),i=t(81006),o=t(84838),a=t(17363);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},15534:function(e,n,t){var r=t(14606).default;e.exports=function(e,n){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},65199:function(e,n,t){var r=t(14606).default,i=t(15534);e.exports=function(e){var n=i(e,"string");return"symbol"==r(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports},14606:function(e){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},84838:function(e,n,t){var r=t(89161);e.exports=function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},39778:function(e,n,t){var r=t(97102),i=t(12732),o=t(23704),a=t(29592);function s(n){var t="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(n)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},59619:function(e,n,t){"use strict";let r=t(34281);e.exports=u;let i=function(){function e(e){return void 0!==e&&e}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(n){return e(self)||e(window)||e(this)||{}}}().console||{};function o(e,n){return"silent"===e?1/0:n.levels.values[e]}let a=Symbol("pino.logFuncs"),s=Symbol("pino.hierarchy"),l={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function c(e,n){let t={logger:n,parent:e[s]};n[s]=t}function u(e){var n,t;(e=e||{}).browser=e.browser||{};let r=e.browser.transmit;if(r&&"function"!=typeof r.send)throw Error("pino: transmit option must have a send function");let s=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);let m=e.serializers||{},f=Array.isArray(n=e.browser.serialize)?n.filter(function(e){return"!stdSerializers.err"!==e}):!0===n&&Object.keys(m),g=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(g=!1);let b=Object.keys(e.customLevels||{}),k=["error","fatal","warn","info","debug","trace"].concat(b);"function"==typeof s&&k.forEach(function(e){s[e]=s}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let C=e.level||"info",x=Object.create(s);x.log||(x.log=y),function(e,n,t){let r={};n.forEach(e=>{r[e]=t[e]?t[e]:i[e]||i[l[e]||"log"]||y}),e[a]=r}(x,k,s),c({},x),Object.defineProperty(x,"levelVal",{get:function(){return o(this.level,this)}}),Object.defineProperty(x,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,d(this,T,x,"error"),d(this,T,x,"fatal"),d(this,T,x,"warn"),d(this,T,x,"info"),d(this,T,x,"debug"),d(this,T,x,"trace"),b.forEach(e=>{d(this,T,x,e)})}});let T={transmit:r,serialize:f,asObject:e.browser.asObject,formatters:e.browser.formatters,levels:k,timestamp:"function"==typeof(t=e).timestamp?t.timestamp:!1===t.timestamp?_:v};return x.levels=function(e){let n=e.customLevels||{};return{values:Object.assign({},u.levels.values,n),labels:Object.assign({},u.levels.labels,function(e){let n={};return Object.keys(e).forEach(function(t){n[e[t]]=t}),n}(n))}}(e),x.level=C,x.setMaxListeners=x.getMaxListeners=x.emit=x.addListener=x.on=x.prependListener=x.once=x.prependOnceListener=x.removeListener=x.removeAllListeners=x.listeners=x.listenerCount=x.eventNames=x.write=x.flush=y,x.serializers=m,x._serialize=f,x._stdErrSerialize=g,x.child=function(n,t){if(!n)throw Error("missing bindings for child Pino");t=t||{},f&&n.serializers&&(t.serializers=n.serializers);let i=t.serializers;if(f&&i){var o=Object.assign({},m,i),a=!0===e.browser.serialize?Object.keys(o):f;delete n.serializers,p([n],a,o,this._stdErrSerialize)}function s(e){this._childLevel=(0|e._childLevel)+1,this.bindings=n,o&&(this.serializers=o,this._serialize=a),r&&(this._logEvent=h([].concat(e._logEvent.bindings,n)))}s.prototype=this;let l=new s(this);return c(this,l),l.level=this.level,l},r&&(x._logEvent=h()),x}function d(e,n,t,l){var c,u;if(Object.defineProperty(e,l,{value:o(e.level,t)>o(l,t)?y:t[a][l],writable:!0,enumerable:!0,configurable:!0}),!n.transmit&&e[l]===y)return;e[l]=(c=e[a][l],function(){let a=n.timestamp(),s=Array(arguments.length),u=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var d=0;de.levels.values[n],log:s=e=>e}=o;e._serialize&&p(t,e._serialize,e.serializers,e._stdErrSerialize);let l=t.slice(),c=l[0],u={};i&&(u.time=i),u.level=a(n,e.levels.values[n]);let d=(0|e._childLevel)+1;if(d<1&&(d=1),null!==c&&"object"==typeof c){for(;d--&&"object"==typeof l[0];)Object.assign(u,l.shift());c=l.length?r(l.shift(),l):void 0}else"string"==typeof c&&(c=r(l.shift(),l));return void 0!==c&&(u.msg=c),s(u)}(this,l,s,a,n.formatters)):c.apply(u,s),n.transmit){let r=n.transmit.level||e._level,i=t.levels.values[r],c=t.levels.values[l];if(c-1&&r in t&&(e[i][r]=t[r](e[i][r]))}function h(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function m(e){let n={type:e.constructor.name,msg:e.message,stack:e.stack};for(let t in e)void 0===n[t]&&(n[t]=e[t]);return n}function f(){return{}}function g(e){return e}function y(){}function _(){return!1}function v(){return Date.now()}u.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},u.stdSerializers={mapHttpRequest:f,mapHttpResponse:f,wrapRequestSerializer:g,wrapResponseSerializer:g,wrapErrorSerializer:g,req:f,res:f,err:m,errWithCause:m},u.stdTimeFunctions=Object.assign({},{nullTime:_,epochTime:v,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),e.exports.default=u,e.exports.pino=u},98229:function(e,n,t){"use strict";function r(e,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function i(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,r(e,n)}t.d(n,{Z:function(){return i}})},69937:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}t.d(n,{Z:function(){return r}})},74241:function(e,n,t){"use strict";t.d(n,{z:function(){return o}});var r=t(82201),i=t(1072);let o=function(e){let n=(0,i.E)(e);return r.useCallback((...e)=>n.current(...e),[n])}},33782:function(e,n,t){"use strict";t.d(n,{e:function(){return o}});var r=t(82201),i=t(7654);let o=(e,n)=>{i.O.isServer?(0,r.useEffect)(e,n):(0,r.useLayoutEffect)(e,n)}},1072:function(e,n,t){"use strict";t.d(n,{E:function(){return o}});var r=t(82201),i=t(33782);function o(e){let n=(0,r.useRef)(e);return(0,i.e)(()=>{n.current=e},[e]),n}},96267:function(e,n,t){"use strict";t.d(n,{H:function(){return a}});var r,i=t(82201),o=t(7654);function a(){let e;let n=(e="undefined"==typeof document,(0,(r||(r=t.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,s]=i.useState(o.O.isHandoffComplete);return a&&!1===o.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==a&&s(!0)},[a]),i.useEffect(()=>o.O.handoff(),[]),!n&&a}},93618:function(e,n,t){"use strict";t.d(n,{T:function(){return s},h:function(){return a}});var r=t(82201),i=t(74241);let o=Symbol();function a(e,n=!0){return Object.assign(e,{[o]:n})}function s(...e){let n=(0,r.useRef)(e);(0,r.useEffect)(()=>{n.current=e},[e]);let t=(0,i.z)(e=>{for(let t of n.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:t}},59790:function(e,n,t){"use strict";let r;t.d(n,{ZM:function(){return a},oJ:function(){return s},up:function(){return l}});var i=t(82201);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function s(){return(0,i.useContext)(o)}function l({value:e,children:n}){return i.createElement(o.Provider,{value:e},n)}},8933:function(e,n,t){"use strict";function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}t.d(n,{A:function(){return r}})},7654:function(e,n,t){"use strict";t.d(n,{O:function(){return s}});var r=Object.defineProperty,i=(e,n,t)=>n in e?r(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,o=(e,n,t)=>(i(e,"symbol"!=typeof n?n+"":n,t),t);class a{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let s=new a},99146:function(e,n,t){"use strict";function r(e,n,...t){if(e in n){let r=n[e];return"function"==typeof r?r(...t):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}t.d(n,{E:function(){return r}})},59582:function(e,n,t){"use strict";let r,i;t.d(n,{AN:function(){return l},Y2:function(){return p},l4:function(){return c},sY:function(){return u},yV:function(){return f}});var o=t(82201),a=t(8933),s=t(99146),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),c=((i=c||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function u({ourProps:e,theirProps:n,slot:t,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:l}){l=null!=l?l:h;let c=m(n,e);if(o)return d(c,t,r,a,l);let u=null!=i?i:0;if(2&u){let{static:e=!1,...n}=c;if(e)return d(n,t,r,a,l)}if(1&u){let{unmount:e=!0,...n}=c;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...n,hidden:!0,style:{display:"none"}},t,r,a,l)})}return d(c,t,r,a,l)}function d(e,n={},t,r,i){let{as:s=t,children:l,refName:c="ref",...u}=y(e,["unmount","static"]),d=void 0!==e.ref?{[c]:e.ref}:{},p="function"==typeof l?l(n):l;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(n));let h={};if(n){let e=!1,t=[];for(let[r,i]of Object.entries(n))"boolean"==typeof i&&(e=!0),!0===i&&t.push(r);e&&(h["data-headlessui-state"]=t.join(" "))}if(s===o.Fragment&&Object.keys(g(u)).length>0){if(!(0,o.isValidElement)(p)||Array.isArray(p)&&p.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(e=>` - ${e}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` `)].join(` `));let e=p.props,n="function"==typeof(null==e?void 0:e.className)?(...n)=>(0,a.A)(null==e?void 0:e.className(...n),u.className):(0,a.A)(null==e?void 0:e.className,u.className);return(0,o.cloneElement)(p,Object.assign({},m(p.props,g(y(u,["ref"]))),h,d,{ref:i(p.ref,d.ref)},n?{className:n}:{}))}return(0,o.createElement)(s,Object.assign({},y(u,["ref"]),s!==o.Fragment&&d,s!==o.Fragment&&h),p)}function p(){let e=(0,o.useRef)([]),n=(0,o.useCallback)(n=>{for(let t of e.current)null!=t&&("function"==typeof t?t(n):t.current=n)},[]);return(...t)=>{if(!t.every(e=>null==e))return e.current=t,n}}function h(...e){return e.every(e=>null==e)?void 0:n=>{for(let t of e)null!=t&&("function"==typeof t?t(n):t.current=n)}}function m(...e){if(0===e.length)return{};if(1===e.length)return e[0];let n={},t={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=t[e]||(t[e]=[]),t[e].push(r[e])):n[e]=r[e];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(t).map(e=>[e,void 0])));for(let e in t)Object.assign(n,{[e](n,...r){for(let i of t[e]){if((n instanceof Event||(null==n?void 0:n.nativeEvent)instanceof Event)&&n.defaultPrevented)return;i(n,...r)}}});return n}function f(e){var n;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(n=e.displayName)?n:e.name})}function g(e){let n=Object.assign({},e);for(let e in n)void 0===n[e]&&delete n[e];return n}function y(e,n=[]){let t=Object.assign({},e);for(let e of n)e in t&&delete t[e];return t}},35458:function(e,n,t){"use strict";n.Z=function(){for(var e,n,t=0,r="",i=arguments.length;t