/*! For license information please see 871dd611570400.js.LICENSE.txt */ (self.bxpChunk=self.bxpChunk||[]).push([[2143],{79386:(e,t,r)=>{"use strict";r.d(t,{Ru:()=>o,WJ:()=>a,_d:()=>n,s_:()=>i,uc:()=>s});const n="ui",i="track",s="screen",o="operational",a="unknown"},83494:(e,t,r)=>{"use strict";r.d(t,{gA:()=>ne});var n=r(67294),i=r(4942),s=r(90250),o=r(56387);const a="@all-features";class l{constructor(){(0,i.Z)(this,"eventToValue",new Map),this.emitter=new o.EventEmitter2}onGateUpdated(e,t,r,n){const i=r(e,{...n,fireGateExposure:!1});void 0===this.eventToValue.get(t)&&this.eventToValue.set(t,i);const s=()=>{const i=r(e,{...n,fireGateExposure:!1});this.eventToValue.get(t)!==i&&(this.eventToValue.set(t,i),t(i))};return this.emitter.on(e,s),()=>{this.emitter.off(e,s)}}onExperimentValueUpdated(e,t,r,n,i,s){const o=`${e}.${t}`,a=i(e,t,r,{...s,fireExperimentExposure:!1});void 0===this.eventToValue.get(n)&&this.eventToValue.set(n,a);const l=()=>{const o=i(e,t,r,{...s,fireExperimentExposure:!1});this.eventToValue.get(n)!==o&&(this.eventToValue.set(n,o),n(o))};return this.emitter.on(o,l),()=>{this.emitter.off(o,l)}}onAnyUpdated(e){return this.emitter.on(a,e),()=>{this.emitter.off(a,e)}}anyUpdated(){this.emitter.emit(a),this.emitter.eventNames().filter((e=>e!==a)).forEach((e=>{this.emitter.emit(e)}))}}var c=r(38031);let d=function(e){return e.Error="Error",e.LocalOverride="LocalOverride",e.Unrecognized="Unrecognized",e.Uninitialized="Uninitialized",e.NetworkNotModified="NetworkNotModified",e.Network="Network",e.InvalidBootstrap="InvalidBootstrap",e.Bootstrap="Bootstrap",e.Cache="Cache",e.Unknown="Unknown",e}({}),u=function(e){return e.Development="development",e.Staging="staging",e.Production="production",e}({}),A=function(e){return e.COMMERCIAL="commercial",e.FEDRAMP_MODERATE="fedramp-moderate",e}({});const h=e=>({perimeter:(0,c.n)()?A.FEDRAMP_MODERATE:A.COMMERCIAL,...e}),p=(e,t)=>{if(!e&&!t)return!0;if(!e||!t)return!1;const r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;const i=([e],[t])=>e.localeCompare(t);r.sort(i),n.sort(i);for(let e=0;e{const r={customIDs:e,custom:t};return e.atlassianAccountId&&(r.userID=e.atlassianAccountId),r},C=Object.entries(d).map((([e,t])=>[e.toLowerCase(),t])),g=e=>{var t,r,n;const i=e.reason.toLowerCase();return{reason:null!==(t=null===(r=C.find((([e])=>i.includes(e))))||void 0===r?void 0:r[1])&&void 0!==t?t:d.Unknown,time:null!==(n=e.receivedAt)&&void 0!==n?n:Date.now()}};class m{static fromExperiment(e){var t,r;const n=new m(e.name,e.value,e.ruleID,g(e.details),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null!==(r=e.groupName)&&void 0!==r?r:void 0);return n.experiment=e,n}constructor(e,t,r,n,i=[],s="",o=null){this.value=t,this._name=e,this._ruleID=r,this._secondaryExposures=i,this._allocatedExperimentName=s,this._evaluationDetails=n,this._onDefaultValueFallback=o}get(e,t,r){var n;const i=this.getValue(e,t);if(null==i)return t;const s=Array.isArray(t)?"array":typeof t,o=Array.isArray(i)?"array":typeof i;var a;return r?r(i)?(this.fireExposure(e),i):(null===(a=this._onDefaultValueFallback)||void 0===a||a.call(this,this,e,s,o),t):null==t||s===o?(this.fireExposure(e),i):(null===(n=this._onDefaultValueFallback)||void 0===n||n.call(this,this,e,s,o),t)}getValue(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e]?t:(this.fireExposure(e),this.value[e]))}fireExposure(e){this.experiment&&this.experiment.get(e)}}class x{static fromLayer(e){var t,r,n,i;return new x(e.name,e.__value,e.ruleID,g(e.details),((t,r)=>e.get(r)),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null===(r=e.__evaluation)||void 0===r?void 0:r.undelegated_secondary_exposures,null===(n=e.__evaluation)||void 0===n?void 0:n.allocated_experiment_name,null===(i=e.__evaluation)||void 0===i?void 0:i.explicit_parameters)}constructor(e,t,r,n,i=null,s=[],o=[],a="",l=[]){this._logParameterFunction=i,this._name=e,this._value=JSON.parse(JSON.stringify(null!=t?t:{})),this._ruleID=null!=r?r:"",this._evaluationDetails=n,this._secondaryExposures=s,this._undelegatedSecondaryExposures=o,this._allocatedExperimentName=a,this._explicitParameters=l}get(e,t,r){const n=this._value[e];if(null==n)return t;const i=()=>(this._logLayerParameterExposure(e),n);return r?r(n)?i():t:null==t||typeof n==typeof t&&Array.isArray(t)===Array.isArray(n)?i():t}getValue(e,t){null==t&&(t=null);const r=this._value[e];return null!=r&&this._logLayerParameterExposure(e),null!=r?r:t}_logLayerParameterExposure(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}const v="4.25.0";class w extends Error{constructor(e){super(e)}}class y{static async fetchClientSdk(e){const{targetApp:t}=e,r=`/api/v2/frontend/clientSdkKey/${t}`;try{return await this.fetchRequest(r,"GET",e)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve client sdk key")}}static async fetchExperimentValues(e,t,r){const n={identifiers:t,customAttributes:r,targetApp:e.targetApp};try{return await this.fetchRequest("/api/v2/frontend/experimentValues","POST",e,n)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve experiment values")}}static async handleResponseError(e){if(!e.ok){const t=await e.text();throw new w(`Non 2xx response status received, status: ${e.status}, body: ${JSON.stringify(t)}`)}if(204===e.status)throw new w("Unexpected 204 response")}static async extractResponseBody(e){const t=await e.text();return JSON.parse(t)}static getBaseUrl(e,t=!1,r){if(t)return"/gateway/api/flags";if(r===A.FEDRAMP_MODERATE)switch(e){case u.Production:return"https://api.atlassian-us-gov-mod.com/flags";case u.Staging:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw new Error(`Invalid environment "${e}" for "${r}" perimeter`)}else{if(r!==A.COMMERCIAL)throw new Error(`Invalid perimeter "${r}"`);switch(e){case u.Development:return"https://api.dev.atlassian.com/flags";case u.Staging:return"https://api.stg.atlassian.com/flags";default:return"https://api.atlassian.com/flags"}}}static async fetchRequest(e,t,r,n){const i=y.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter),s=r.fetchTimeoutMs||5e3;let o;if(AbortSignal.timeout)o=AbortSignal.timeout(s);else if(AbortController){const e=new AbortController;o=e.signal,setTimeout((()=>e.abort()),s)}const a=await fetch(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":v,"X-API-KEY":r.apiKey},signal:o,...n&&{body:JSON.stringify(n)}});return await this.handleResponseError(a),await this.extractResponseBody(a)}}class b extends s.DataAdapterCore{constructor(){super("NoFetchDataAdapter","nofetch"),(0,i.Z)(this,"bootstrapResult",null)}setBootstrapData(e){this.bootstrapResult=e?{source:"Bootstrap",data:JSON.stringify(e),receivedAt:Date.now(),stableID:s.StableID.get(this._getSdkKey()),fullUserHash:null}:null}async prefetchData(e,t){}async getDataAsync(e,t,r){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,s._getFullUserHash)(t)}}getDataSync(e){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,s._getFullUserHash)(e)}}async _fetchFromNetwork(e,t,r){return null}_getCacheKey(e){const t=(0,s._getStorageKey)(this._getSdkKey(),e);return`${s.DataAdapterCachePrefix}.${this._cacheSuffix}.${t}`}_isCachedResultValidFor204(e,t){return!1}setDataLegacy(e,t){super.setData(e,t)}toJSON(){const e={...this};return delete e._options,delete e._inMemoryCache,delete e.bootstrapResult,e}}var L=r(13328);const j="LocalOverride:Recognized",M="STATSIG_OVERRIDES";class _{constructor(){this._overrides={gates:{},configs:{},layers:{}}}parseStoredOverrides(e){try{const e=window.localStorage.getItem(M);return e?JSON.parse(e):{gates:{},configs:{},layers:{}}}catch{return{gates:{},configs:{},layers:{}}}}mergeOverrides(...e){const t={gates:{},configs:{},layers:{}};for(const r of e){for(const[e,n]of Object.entries(r.gates))t.gates[e]=n;for(const[e,n]of Object.entries(r.configs))t.configs[e]=n;for(const[e,n]of Object.entries(r.layers))t.layers[e]=n}return t}initFromStoredOverrides(){this._overrides=this.mergeOverrides(this.parseStoredOverrides("STATSIG_JS_LITE_LOCAL_OVERRIDES"),this.parseStoredOverrides(M))}saveOverrides(){window.localStorage.setItem(M,JSON.stringify(this._overrides))}getOverrides(){return Object.fromEntries(Object.entries(this._overrides).map((([e,t])=>{const r={};for(const[e,n]of Object.entries(t))Object.prototype.hasOwnProperty.call(t,(0,L._DJB2)(e))&&(r[e]=n);return[e,r]})))}setOverrides(e){const t={gates:{},configs:{},layers:{},...e};for(const e of Object.values(t))for(const[t,r]of Object.entries(e)){const n=(0,L._DJB2)(t);Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}this._overrides=t,this.saveOverrides()}overrideGate(e,t){this._overrides.gates[e]=t,this._overrides.gates[(0,L._DJB2)(e)]=t,this.saveOverrides()}removeGateOverride(e){delete this._overrides.gates[e],delete this._overrides.gates[(0,L._DJB2)(e)],this.saveOverrides()}getGateOverride(e,t){var r;const n=null!==(r=this._overrides.gates[e.name])&&void 0!==r?r:this._overrides.gates[(0,L._DJB2)(e.name)];return null==n?null:{...e,value:n,details:{...e.details,reason:j}}}overrideDynamicConfig(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,L._DJB2)(e)]=t,this.saveOverrides()}removeDynamicConfigOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,L._DJB2)(e)],this.saveOverrides()}getDynamicConfigOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideExperiment(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,L._DJB2)(e)]=t,this.saveOverrides()}removeExperimentOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,L._DJB2)(e)],this.saveOverrides()}getExperimentOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideLayer(e,t){this._overrides.layers[e]=t,this._overrides.layers[(0,L._DJB2)(e)]=t,this.saveOverrides()}removeLayerOverride(e){delete this._overrides.layers[e],delete this._overrides.layers[(0,L._DJB2)(e)],this.saveOverrides()}removeAllOverrides(){this._overrides={gates:{},configs:{},layers:{}},window.localStorage.removeItem(M)}getLayerOverride(e,t){var r;const n=null!==(r=this._overrides.layers[e.name])&&void 0!==r?r:this._overrides.layers[(0,L._DJB2)(e.name)];return null==n?null:{...e,__value:n,get:(0,L._makeTypedGet)(e.name,n),details:{...e.details,reason:j}}}_getConfigOverride(e,t){var r;const n=null!==(r=t[e.name])&&void 0!==r?r:t[(0,L._DJB2)(e.name)];return null==n?null:{...e,value:n,get:(0,L._makeTypedGet)(e.name,n),details:{...e.details,reason:j}}}}const B="client-default-key";var k;class V{static isGateExists(e){return this.client.isGateExist(e)}static isExperimentExists(e){return this.client.isExperimentExist(e)}}k=V,(0,i.Z)(V,"client",new class{constructor(){(0,i.Z)(this,"initPromise",null),(0,i.Z)(this,"initCompleted",!1),(0,i.Z)(this,"initWithDefaults",!1),(0,i.Z)(this,"hasCheckGateErrorOccurred",!1),(0,i.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,i.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,i.Z)(this,"hasGetLayerErrorOccurred",!1),(0,i.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,i.Z)(this,"subscriptions",new l),(0,i.Z)(this,"dataAdapter",new b),(0,i.Z)(this,"overrideAdapter",new _),(0,i.Z)(this,"statsigValuesUpdated",(()=>{this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.subscriptions.anyUpdated()}))}async initialize(e,t,r){const n=h(e);if(this.initPromise)return p(n,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const i=performance.now();return this.initOptions=n,this.initPromise=this.init(n,t,r).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-i;this.fireClientEvent(i,e,"initialize",this.initCompleted,n.apiKey)})),this.initPromise}async initializeWithProvider(e,t,r,n){const i=h(e);if(this.initPromise)return p(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const s=performance.now();return this.initOptions=i,this.provider=t,this.provider.setClientVersion(v),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback),this.initPromise=this.initWithProvider(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeWithProvider",this.initCompleted,t.getApiKey?t.getApiKey():void 0)})),this.initPromise}applyUpdateCallback(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}fireClientEvent(e,t,r,n,i=void 0){var s;null===(s=this.initOptions.analyticsWebClient)||void 0===s||s.then((s=>{const o={targetApp:this.initOptions.targetApp,clientVersion:v,success:n,startTime:e,totalTime:t,...i&&{apiKey:i}};s.sendOperationalEvent({action:r,actionSubject:"featureGatesClient",attributes:o,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})})).catch((e=>{this.initOptions.environment!==u.Production&&console.error("Analytics web client promise did not resolve",e)}))}async initializeFromValues(e,t,r,n={}){const i=h(e);if(this.initPromise)return p(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;Object.prototype.hasOwnProperty.call(n,"has_updates")||(n.has_updates=!0);const s=performance.now();return this.initOptions=i,this.initPromise=this.initFromValues(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeFromValues",this.initCompleted)})),this.initPromise}assertInitialized(e){if(!e)throw new Error("Client must be initialized before using this method")}async updateUser(e,t,r){this.assertInitialized(this.statsigClient);const n=h(e);await this.updateUserUsingInitializeValuesProducer((()=>y.fetchExperimentValues(n,t,r).then((({experimentValues:e,customAttributes:t})=>({experimentValues:e,customAttributesFromFetch:t})))),t,r)}async updateUserWithProvider(e,t){if(this.assertInitialized(this.statsigClient),!this.provider)throw new Error("Cannot update user using provider as the client was not initialised with a provider");await this.provider.setProfile(this.initOptions,e,t),await this.updateUserUsingInitializeValuesProducer((()=>this.provider.getExperimentValues()),e,t)}async updateUserWithValues(e,t,r={}){this.assertInitialized(this.statsigClient),await this.updateUserUsingInitializeValuesProducer((()=>Promise.resolve({experimentValues:r,customAttributesFromFetch:t})),e,t)}initializeCalled(){return null!=this.initPromise}initializeCompleted(){return this.initCompleted}checkGate(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireGateExposure:r=!0}=t;return this.statsigClient.checkGate(e,{disableExposureLog:!r})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}isGateExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check FeatureGate: ${e}`),!0}}isExperimentExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check Experiment: ${e}`),!0}}manuallyLogGateExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}getExperiment(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireExperimentExposure:r=!0}=t;return m.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!r}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new m(e,{},"",{time:Date.now(),reason:d.Error})}}getExperimentValue(e,t,r,n={}){const i=this.getExperiment(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),this.hasGetExperimentValueErrorOccurred=!0),r}}manuallyLogExperimentExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}manuallyLogLayerExposure(e,t){var r;this.assertInitialized(this.statsigClient),null===(r=this.statsigClient.getLayer(e))||void 0===r||r.get(t)}shutdownStatsig(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}overrideGate(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideGate(e,t),this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.statsigValuesUpdated()}clearGateOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}overrideConfig(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}clearConfigOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}setOverrides(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}getOverrides(){return this.assertInitialized(this.statsigClient),this.overrideAdapter.getOverrides()}clearAllOverrides(){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}isCurrentUser(e,t){return p(this.currentIdentifiers,e)&&p(this.currentAttributes,t)}onGateUpdated(e,t,r={}){return this.subscriptions.onGateUpdated(e,(n=>{const{fireGateExposure:i=!0}=r;i&&this.manuallyLogGateExposure(e);try{t(n)}catch(t){console.warn(`Error calling callback for gate ${e} with value ${n}`,t)}}),this.checkGate.bind(this),r)}onExperimentValueUpdated(e,t,r,n,i={}){return this.subscriptions.onExperimentValueUpdated(e,t,r,(t=>{const{fireExperimentExposure:r=!0}=i;r&&this.manuallyLogExperimentExposure(e);try{n(t)}catch(r){console.warn(`Error calling callback for experiment ${e} with value ${t}`,r)}}),this.getExperimentValue.bind(this),i)}onAnyUpdated(e){return this.subscriptions.onAnyUpdated(e)}async init(e,t,r){const n={...e};let i,s;try{const o=y.fetchClientSdk(e).then((e=>n.sdkKey=e.clientSdkKey)),a=y.fetchExperimentValues(e,t,r),[,l]=await Promise.all([o,a]);i=l.experimentValues,s=l.customAttributes}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(n,t,r),e}return this.initFromValues(n,t,s,i)}async initWithProvider(e,t,r,n){const i={...e,disableCurrentPageLogging:!0};let s,o;try{await t.setProfile(e,r,n);const a=t.getClientSdkKey().then((e=>i.sdkKey=e)),l=t.getExperimentValues(),[,c]=await Promise.all([a,l]);s=c.experimentValues,o=c.customAttributesFromFetch}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(i,r,n),e}return this.initFromValues(i,r,o,s)}async initFromValues(e,t,r,n={}){var i;this.overrideAdapter.initFromStoredOverrides(),this.user=f(t,r),this.currentIdentifiers=t,this.currentAttributes=r;const o=(e=>{const{api:t,disableCurrentPageLogging:r,loggingIntervalMillis:n,loggingBufferMaxSize:i,localMode:s,eventLoggingApi:o,eventLoggingApiForRetries:a,disableLocalStorage:l,ignoreWindowUndefined:c,disableAllLogging:d,initTimeoutMs:u,disableNetworkKeepalive:A,overrideStableID:h,disableErrorLogging:p,disableAutoMetricsLogging:f,...C}=e;return{...C,networkConfig:{api:t,logEventUrl:o?o+"rgstr":void 0,logEventFallbackUrls:a?[a]:void 0,preventAllNetworkTraffic:s||!c&&"undefined"==typeof window},includeCurrentPageUrlWithEvents:!r,loggingIntervalMs:n,loggingBufferMaxSize:i,disableStorage:l,disableLogging:d}})(e);o.sdkKey||(o.sdkKey=B),null!==(i=o.networkConfig)&&void 0!==i&&i.logEventUrl||(o.networkConfig={...o.networkConfig,logEventUrl:"https://xp.atlassian.com/v1/rgstr"}),o.perimeter===A.FEDRAMP_MODERATE&&(o.disableLogging=!0);const{sdkKey:a,environment:l,updateUserCompletionCallback:c,perimeter:d,...u}=o,h={...u,environment:{tier:l},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter};try{this.statsigClient=new s.StatsigClient(a,this.user,h),this.dataAdapter.setBootstrapData(n),await this.statsigClient.initializeAsync()}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to initialise the Statsig client, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new s.StatsigClient(B,this.user,h),this.dataAdapter.setBootstrapData(),await this.statsigClient.initializeAsync(),this.initWithDefaults=!0,e}}async updateUserUsingInitializeValuesProducer(e,t,r){if(this.assertInitialized(this.statsigClient),!this.initPromise)throw new Error("The client must be initialized before you can update the user.");if(this.isCurrentUser(t,r))return this.initPromise;const n=this.initPromise;try{await this.initPromise}catch(e){}const i=e(),s=this.updateStatsigClientUser(i,t,r);return this.initPromise=s.catch((async()=>{this.initPromise=n,this.provider&&await this.provider.setProfile(this.initOptions,this.currentIdentifiers,this.currentAttributes)})),s}async updateStatsigClientUser(e,t,r){var n,i;let s,o;this.assertInitialized(this.statsigClient);try{s=await e,o=f(t,s.customAttributesFromFetch)}catch(e){var a,l;const t=e instanceof Error?e.message:JSON.stringify(e);throw null===(a=(l=this.initOptions).updateUserCompletionCallback)||void 0===a||a.call(l,!1,t),e}let c=!0,d=null;try{this.dataAdapter.setBootstrapData(s.experimentValues),this.user=o,await this.statsigClient.updateUserAsync(this.user)}catch(e){c=!1,d=String(e)}if(null===(n=this.initOptions)||void 0===n||null===(i=n.updateUserCompletionCallback)||void 0===i||i.call(n,c,d),!c)throw new Error("Failed to update user. An unexpected error occured.");this.currentIdentifiers=t,this.currentAttributes=r,this.subscriptions.anyUpdated()}getPackageVersion(){return v}getLayer(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireLayerExposure:r=!0}=t;return x.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!r}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),x.fromLayer((0,s._makeLayer)(e,{reason:"Error"},null))}}getLayerValue(e,t,r,n={}){const i=this.getLayer(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:r,options:n,error:t}),this.hasGetLayerValueErrorOccurred=!0),r}}}),(0,i.Z)(V,"hasCheckGateErrorOccurred",!1),(0,i.Z)(V,"hasGetExperimentValueErrorOccurred",!1),(0,i.Z)(V,"checkGate",((e,t)=>{try{if(window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){const t=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==t)return t}}catch(t){k.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),k.hasCheckGateErrorOccurred=!0)}return k.client.checkGate(e,t)})),(0,i.Z)(V,"getExperimentValue",((e,t,r,n)=>{try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){const r=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=r)return r}}catch(t){return k.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),k.hasGetExperimentValueErrorOccurred=!0),r}return k.client.getExperimentValue(e,t,r,n)})),(0,i.Z)(V,"initializeCalled",k.client.initializeCalled.bind(k.client)),(0,i.Z)(V,"initializeCompleted",k.client.initializeCompleted.bind(k.client)),(0,i.Z)(V,"initialize",k.client.initialize.bind(k.client)),(0,i.Z)(V,"initializeWithProvider",k.client.initializeWithProvider.bind(k.client)),(0,i.Z)(V,"initializeFromValues",k.client.initializeFromValues.bind(k.client)),(0,i.Z)(V,"manuallyLogGateExposure",k.client.manuallyLogGateExposure.bind(k.client)),(0,i.Z)(V,"getExperiment",k.client.getExperiment.bind(k.client)),(0,i.Z)(V,"manuallyLogExperimentExposure",k.client.manuallyLogExperimentExposure.bind(k.client)),(0,i.Z)(V,"manuallyLogLayerExposure",k.client.manuallyLogLayerExposure.bind(k.client)),(0,i.Z)(V,"shutdownStatsig",k.client.shutdownStatsig.bind(k.client)),(0,i.Z)(V,"overrideGate",k.client.overrideGate.bind(k.client)),(0,i.Z)(V,"clearGateOverride",k.client.clearGateOverride.bind(k.client)),(0,i.Z)(V,"overrideConfig",k.client.overrideConfig.bind(k.client)),(0,i.Z)(V,"clearConfigOverride",k.client.clearConfigOverride.bind(k.client)),(0,i.Z)(V,"setOverrides",k.client.setOverrides.bind(k.client)),(0,i.Z)(V,"getOverrides",k.client.getOverrides.bind(k.client)),(0,i.Z)(V,"clearAllOverrides",k.client.clearAllOverrides.bind(k.client)),(0,i.Z)(V,"isCurrentUser",k.client.isCurrentUser.bind(k.client)),(0,i.Z)(V,"onGateUpdated",k.client.onGateUpdated.bind(k.client)),(0,i.Z)(V,"onExperimentValueUpdated",k.client.onExperimentValueUpdated.bind(k.client)),(0,i.Z)(V,"onAnyUpdated",k.client.onAnyUpdated.bind(k.client)),(0,i.Z)(V,"updateUser",k.client.updateUser.bind(k.client)),(0,i.Z)(V,"updateUserWithProvider",k.client.updateUserWithProvider.bind(k.client)),(0,i.Z)(V,"updateUserWithValues",k.client.updateUserWithValues.bind(k.client)),(0,i.Z)(V,"getPackageVersion",k.client.getPackageVersion.bind(k.client)),(0,i.Z)(V,"getLayer",k.client.getLayer.bind(k.client)),(0,i.Z)(V,"getLayerValue",k.client.getLayerValue.bind(k.client));let H=V;if("undefined"!=typeof window)if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=V;else{var E,S;H=window.__FEATUREGATES_JS__;const e=(null===(E=H)||void 0===E||null===(S=E.getPackageVersion)||void 0===S?void 0:S.call(E))||"4.10.0 or earlier";if(e!==v){const t=`Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ${e} when module version ${v} was loading.`;console.warn(t)}}const F=H;var Z,U,O,I;const D=!(void 0!==(null===globalThis||void 0===globalThis||null===(Z=globalThis.process)||void 0===Z||null===(U=Z.env)||void 0===U?void 0:U.JEST_WORKER_ID))&&"production"!==(null===globalThis||void 0===globalThis||null===(O=globalThis.process)||void 0===O||null===(I=O.env)||void 0===I?void 0:I.NODE_ENV),N="__PLATFORM_FEATURE_FLAGS__",T=void 0!=={}&&void 0!=={},P=!!T&&"true"==={}.ENABLE_PLATFORM_FF||!!T&&"true"==={}.STORYBOOK_ENABLE_PLATFORM_FF,R="undefined"!=typeof window?window:globalThis;function Q(e){return function(e){if(P)return((...e)=>{D&&console.debug(...e)})('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',"@atlaskit/platform-feature-flags",e),!0;try{var t,r,n;if(void 0===(null===(t=R[N])||void 0===t?void 0:t.booleanResolver)||null===(null===(r=R[N])||void 0===r?void 0:r.booleanResolver))return F.checkGate(e);const i=null===(n=R[N])||void 0===n?void 0:n.booleanResolver(e);return"boolean"!=typeof i?(console.warn(`${e} resolved to a non-boolean value, returning false for safety`),!1):i}catch(e){return!1}}(e)}var z;R[N]=R[N]||{booleanResolver:void 0};const G=null!={}&&(null===(z={})||void 0===z?void 0:z.ANALYTICS_NEXT_MODERN_CONTEXT);var K=r(45697),q=r.n(K),W=r(65425);const $={getAtlaskitAnalyticsContext:q().func,getAtlaskitAnalyticsEventHandlers:q().func},J=()=>[];class X extends n.Component{constructor(e){super(e),(0,i.Z)(this,"getChildContext",(()=>({getAtlaskitAnalyticsContext:this.getAnalyticsContext}))),(0,i.Z)(this,"getAnalyticsContext",(()=>{const{data:e}=this.props,{getAtlaskitAnalyticsContext:t=J}=this.context;return[...t(),e]})),(0,i.Z)(this,"getAnalyticsEventHandlers",(()=>{const{getAtlaskitAnalyticsEventHandlers:e=J}=this.context;return e()})),this.contextValue={getAtlaskitAnalyticsContext:this.getAnalyticsContext,getAtlaskitAnalyticsEventHandlers:this.getAnalyticsEventHandlers}}render(){const{children:e}=this.props;return n.createElement(W.default.Provider,{value:this.contextValue},e)}}(0,i.Z)(X,"contextTypes",$),(0,i.Z)(X,"childContextTypes",$);const Y=X,ee=({data:e,children:t})=>{const r=(e=>{const t=(0,n.useRef)(e);return t.current=e,t})(e),{getAtlaskitAnalyticsEventHandlers:i,getAtlaskitAnalyticsContext:s}=(0,n.useContext)(W.default),o=(0,n.useCallback)((()=>[...s(),r.current]),[s,r]),a=(0,n.useMemo)((()=>({getAtlaskitAnalyticsContext:o,getAtlaskitAnalyticsEventHandlers:i})),[o,i]);return n.createElement(W.default.Provider,{value:a},t)},te=e=>G||Q("analytics-next-use-modern-context_jira")?n.createElement(ee,e):n.createElement(Y,e),re=(e,t="NamespacedContext")=>{const r=t=>{const r={[e]:t.data};return n.createElement(te,{data:r},n.Children.only(t.children))};return r.displayName=t,r},ne=(re("fabricElementsCtx","FabricElementsAnalyticsContext"),re("navigationCtx","NavigationAnalyticsContext"));re("fabricEditorCtx","FabricEditorAnalyticsContext"),re("peopleTeamsCtx","PeopleTeamsAnalyticsContext"),re("NotificationsCtx","NotificationsAnalyticsContext"),re("RecentWorkCtx","RecentWorkAnalyticsContext"),re("atlasCtx","AtlasAnalyticsContext"),re("linkingPlatformCtx","LinkingPlatformAnalyticsContext"),re("postOfficeCtx","PostOfficeAnalyticsContext"),re("aiMateCtx","AIMateAnalyticsContext"),re("avpCtx","AVPAnalyticsContext"),re("editionAwarenessCtx","GrowthAnalyticsContext")},65425:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});const n=(0,r(67294).createContext)({getAtlaskitAnalyticsContext:()=>[],getAtlaskitAnalyticsEventHandlers:()=>[]})},38031:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});const n="fedramp-moderate";function i(){var e,t;const r=globalThis,i=r.MICROS_PERIMETER||r.UNSAFE_ATL_CONTEXT_BOUNDARY;if(i)return i===n;const s=null===(e=r.location)||void 0===e||null===(t=e.hostname)||void 0===t?void 0:t.match(/atlassian-us-gov-mod\.(com|net)|atlassian-us-gov\.(com|net)|atlassian-fex\.(com|net)|atlassian-stg-fedm\.(com|net)/);return!!s&&s.length>0}},40578:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CLIENT_VERSION:()=>s.R,DynamicConfig:()=>o.z,EvaluationReason:()=>l.p,FeatureGateEnvironment:()=>i.kA,Layer:()=>a.m,PerimeterType:()=>i.Au,default:()=>n.ZP});var n=r(20974),i=r(67819),s=r(38586),o=r(46002),a=r(28417),l=r(84488)},5952:(e,t,r)=>{"use strict";r.d(t,{Z:()=>j});var n=r(93379),i=r.n(n),s=r(7795),o=r.n(s),a=r(90569),l=r.n(a),c=r(3565),d=r.n(c),u=r(19216),A=r.n(u),h=r(44589),p=r.n(h),f=r(94470),C={};C.styleTagTransform=p(),C.setAttributes=d(),C.insert=l().bind(null,"head"),C.domAPI=o(),C.insertStyleElement=A(),i()(f.Z,C),f.Z&&f.Z.locals&&f.Z.locals;var g=r(67294);function m(e){if(e.length<=1&&(!e[0]||-1===e[0].indexOf(" ")))return e[0]||void 0;const t={};for(let r=0;r{const{children:r,size:n,id:i,testId:s,as:o,color:a}=e,[l,c]=(e=>{const t=(0,g.useContext)(w);return[t,t&&(t>6?"div":`h${t}`)||e]})(y[n]),d=o||c,u="div"===d&&l,A=(e=>{const t=(0,v.v)();return x.w8.hasOwnProperty(t)?x.w8[t]:e||"color.text"})(a);return g.createElement(d,{id:i,ref:t,"data-testid":s,role:u?"heading":void 0,"aria-level":u?l:void 0,className:m(["_1mouidpf _1dyz4jg8 _1p1dglyw",n&&L[n],b[A]])},r)}))},91184:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Icon:()=>w,default:()=>y});var n=r(87462),i=r(67294),s=r(57815);const{Provider:o,Consumer:a,useTheme:l}=function(e){const t=(e,t)=>e(t),r=(0,i.createContext)(e);function n(e){return((0,i.useContext)(r)||t)(e)}return{Consumer:function(e){const{children:t,...r}=e,s=n(r);return i.createElement(i.Fragment,null,t(s))},Provider:function(e){const n=(0,i.useContext)(r),s=e.value||t,o=(0,i.useCallback)((e=>s(n,e)),[n,s]);return i.createElement(r.Provider,{value:o},e.children)},useTheme:n}}((()=>({mode:"light"}))),c={light:"var(--ds-surface, #FFFFFF)",dark:"var(--ds-surface, #1B2638)"},d=(e="light")=>c[e],u="16px",A="24px",h="32px",p="48px",f={small:{width:u,height:u},medium:{width:A,height:A},large:{width:h,height:h},xlarge:{width:p,height:p}},C=((0,s.css)(f.small),(0,s.css)(f.medium),(0,s.css)(f.large),(0,s.css)(f.xlarge),({width:e,height:t,size:r})=>e&&t?{width:e,height:t}:r?f[r]:void 0),g=(0,s.css)({display:"inline-block",flexShrink:0,lineHeight:1,"> svg":{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"},maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"}}),m=(0,s.css)({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),x=(0,s.css)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),v=(0,s.css)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),w=(0,i.memo)((function(e){const{glyph:t,dangerouslySetGlyph:r,primaryColor:i="currentColor",secondaryColor:o,size:a,testId:c,label:u,width:A,height:h}=e,p=r?{dangerouslySetInnerHTML:{__html:r}}:{children:t?(0,s.jsx)(t,{role:"presentation"}):null},f=C({width:A,height:h,size:a}),{mode:w}=l();return(0,s.jsx)("span",(0,n.Z)({"data-testid":c,role:u?"img":"presentation","aria-label":u||void 0,"aria-hidden":!u||void 0,style:{"--icon-primary-color":i,"--icon-secondary-color":o||d(w)}},p,{css:[g,m,i===o&&x,"transparent"===o&&v,f&&(0,s.css)({width:f.width,height:f.height,"> svg":f})]}))})),y=w},18911:(e,t,r)=>{"use strict";t.Z=void 0;var n,i=(n=r(67294))&&n.__esModule?n:{default:n},s=r(91184);const o=e=>i.default.createElement(s.Icon,Object.assign({dangerouslySetGlyph:''},e));o.displayName="AppSwitcherIcon";var a=o;t.Z=a},58077:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(67294).createContext)(null)},36421:(e,t,r)=>{"use strict";r.d(t,{E:()=>s,j:()=>i});var n=r(67294);const i=(0,n.createContext)("cozy"),s=(0,n.createContext)("border")},8552:(e,t,r)=>{"use strict";r.d(t,{Z:()=>D});var n=r(67294),i=r(87693),s=r(40445);const o=(0,i.iv)({outline:"2px solid var(--ds-border-focused, #2684FF)",outlineOffset:2}),a=(0,i.iv)({outlineColor:"var(--ds-border-focused, #2684FF)",outlineOffset:-2,outlineStyle:"solid",outlineWidth:"var(--ds-border-width-outline, 2px)"}),l=(0,i.iv)({"&:focus":o,"&:focus-visible":o,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid"}}}),c=(0,i.iv)({"&:focus":a,"&:focus-visible":a,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid",outlineOffset:"-1px"}}}),d=(0,n.memo)((({children:e,isInset:t,focus:r})=>{const s=void 0===r?t?c:l:"on"===r&&(t?a:o);return(0,i.tZ)(i.ms,null,(({css:t,cx:r})=>n.Children.only(s?(0,n.cloneElement)(e,{className:r([t(s),e.props.className])}):e)))}));d.displayName="FocusRing";const u=d;var A=r(23604),h=r(22765),p=r(21233),f=r(88001);const C={hug:(0,A.tu)({flexGrow:0}),fill:(0,A.tu)({width:"100%",flexGrow:1})},g=(0,n.memo)((0,n.forwardRef)((({as:e,alignInline:t,alignBlock:r="stretch",spread:n,grow:i,space:s,children:o,testId:a,xcss:l,role:c},d)=>{const u=n||r,A=i?[C[i],...Array.isArray(l)?l:[l]]:l;return(0,p.tZ)(f.Z,{as:e,role:c,gap:s,direction:"column",alignItems:t,justifyContent:u,xcss:A,testId:a,ref:d},o)})));g.displayName="Stack";const m=g;var x=r(5062),v=r(36421);const w=(e,t)=>(0,i.tZ)(e,t),y=(0,i.iv)({display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}),b=(0,A.tu)({outline:"none",overflow:"hidden",textAlign:"left"}),L=(0,i.iv)({display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),j=(0,i.iv)({font:'var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)'}),M=(0,i.iv)({wordBreak:"break-word"}),_=(0,i.iv)({color:`var(--ds-text-subtlest, ${x.iw})`,font:'var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)'}),B=(0,i.iv)({color:`var(--ds-text-disabled, ${x.iw})`}),k=(0,i.iv)({position:"relative"}),V=(0,i.iv)({display:"flex",boxSizing:"border-box",width:"100%",minHeight:40,margin:"var(--ds-space-0, 0px)",alignItems:"center",border:0,outline:0,textDecoration:"none",userSelect:"none","&::-moz-focus-inner":{border:0},"&:hover":{textDecoration:"none"}}),H={cozy:(0,i.iv)({paddingBlock:"var(--ds-space-100, 8px)",paddingInline:"var(--ds-space-200, 16px)"}),compact:(0,i.iv)({minHeight:32,paddingBlock:"var(--ds-space-050, 4px)",paddingInline:"var(--ds-space-150, 12px)"})},E=(0,i.iv)({cursor:"pointer"}),S=(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, transparent)",color:"currentColor","&:visited":{color:"currentColor"},"&:hover":{backgroundColor:`var(--ds-background-neutral-subtle-hovered, ${x.IR})`,color:"currentColor"},"&:active":{backgroundColor:`var(--ds-background-neutral-subtle-pressed, ${x.gt})`,boxShadow:"none",color:"currentColor"}}),F=(0,i.iv)({cursor:"not-allowed","&, :hover, :active":{backgroundColor:"var(--ds-background-neutral-subtle, transparent)",color:`var(--ds-text-disabled, ${x.iw})`}}),Z=(0,i.iv)({"&::before":{width:2,position:"absolute",background:"var(--ds-border-selected, transparent)",content:'""',insetBlockEnd:0,insetBlockStart:0,insetInlineStart:0}}),U=(0,i.iv)({"&::before":{width:4,position:"absolute",background:"var(--ds-border-selected, transparent)",borderRadius:"0 var(--ds-border-radius, 4px) var(--ds-border-radius, 4px) 0",content:'""',insetBlockEnd:"var(--ds-space-150, 12px)",insetBlockStart:"var(--ds-space-150, 12px)",insetInlineStart:0}}),O=(0,i.iv)({backgroundColor:`var(--ds-background-selected, ${x.IR})`,color:"var(--ds-text-selected, currentColor)","&:visited":{color:"var(--ds-text-selected, currentColor)"},"&:hover":{backgroundColor:`var(--ds-background-selected-hovered, ${x.IR})`,color:"var(--ds-text-selected, currentColor)"},"&:active":{backgroundColor:`var(--ds-background-selected-pressed, ${x.gt})`,color:"var(--ds-text-selected, currentColor)"}}),I={compact:"space.100",cozy:"space.150"},D=({children:e,title:t,description:r,iconAfter:o,iconBefore:a,overrides:l,className:c,shouldTitleWrap:d=!1,shouldDescriptionWrap:A=!1,isDisabled:p=!1,isSelected:f=!1,testId:C})=>{(0,s.o)("@atlaskit/menu","overrides",void 0!==l,"");const g=(0,n.useContext)(v.j),x=(0,n.useContext)(v.E),D=l&&l.Title&&l.Title.render||w,N=c;return(0,i.tZ)(i.ms,null,(({css:n,cx:s})=>(0,i.tZ)(u,{isInset:!0},e({className:s([n([k,V,H[g],!p&&!f&&S,!p&&f&&[O,["border"===x&&Z,"notch"===x&&U]],p?F:E]),N]),children:(0,i.tZ)(h.Z,{as:"span",spread:"space-between",alignBlock:"center",space:I[g],grow:"fill",testId:C&&`${C}--container`},a&&(0,i.tZ)("span",{"data-item-elem-before":!0,css:y,"data-testid":C&&`${C}--icon-before`},a),t&&(0,i.tZ)(m,{alignBlock:"center",grow:"fill",xcss:b},D("span",{children:t,className:n(j,d?M:L),"data-item-title":!0}),r&&(0,i.tZ)("span",{"data-item-description":!0,css:[_,p&&B,A?M:L]},r)),o&&(0,i.tZ)("span",{"data-item-elem-after":!0,css:y,"data-testid":C&&`${C}--icon-after`},o))}))))}},2009:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(87462),i=r(67294),s=r(87693);const o=(0,i.createContext)({});var a=r(40445),l=r(42438),c=r(99361),d=r(93113),u=r(8552);const A=/^(?:(http|https):\/\/)/,h=/^(((mailto|tel|sms):)|(#))/,p=e=>{e.preventDefault()},f=(0,i.memo)((0,i.forwardRef)(((e,t)=>{const{children:r,href:f,cssFn:C=l.Z,description:g,iconAfter:m,iconBefore:x,isDisabled:v=!1,isSelected:w=!1,onClick:y,testId:b,overrides:L,onMouseDown:j,shouldTitleWrap:M,shouldDescriptionWrap:_,className:B,UNSAFE_shouldDisableRouterLink:k,UNSAFE_isDraggable:V,interactionName:H,...E}=e,S=j,F=(()=>{const{routerLinkComponent:e}=(0,i.useContext)(o);if(e)return e})(),Z=(0,i.useContext)(c.Z),U=(0,i.useCallback)((e=>{null==Z||Z.tracePress(H,e.timeStamp),null==y||y(e)}),[y,Z,H]);if(!r)return null;const O="string"==typeof f&&A.test(f),I="string"==typeof f&&h.test(f),D=!k&&F&&!O&&!I&&!(null==f||""===f),N=D?F:"a";return(0,a.o)("@atlaskit/menu","cssFn",C!==l.Z,""),(0,s.tZ)(u.Z,(0,n.Z)({},E,{className:B,overrides:L,iconBefore:x,iconAfter:m,isSelected:w,isDisabled:v,description:g,shouldTitleWrap:M,shouldDescriptionWrap:_,css:C({isSelected:w,isDisabled:v}),title:r,testId:b&&`${b}--primitive`}),(({children:e,className:r})=>(0,s.tZ)(N,(0,n.Z)({"data-testid":b,"data-is-router-link":b?D?"true":"false":void 0,"data-vc":"link-item"},E,{className:r,href:v?void 0:f},V?{}:{draggable:!1,onDragStart:p},{onMouseDown:v?p:S,onClick:v?p:(0,d.fg)("platform_button_item-add-ufo-metrics")?U:y,"aria-current":w?"page":void 0,"aria-disabled":v,ref:t}),e)))})))},40445:(e,t,r)=>{"use strict";function n(e,t,r,n){}r.d(t,{o:()=>n})},42438:(e,t,r)=>{"use strict";function n(){}r.d(t,{Z:()=>n})},99361:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(67294).createContext)(null)},93113:(e,t,r)=>{"use strict";r.d(t,{fg:()=>z});var n=r(4942),i=r(90250),s=r(56387);const o="@all-features";class a{constructor(){(0,n.Z)(this,"eventToValue",new Map),this.emitter=new s.EventEmitter2}onGateUpdated(e,t,r,n){const i=r(e,{...n,fireGateExposure:!1});void 0===this.eventToValue.get(t)&&this.eventToValue.set(t,i);const s=()=>{const i=r(e,{...n,fireGateExposure:!1});this.eventToValue.get(t)!==i&&(this.eventToValue.set(t,i),t(i))};return this.emitter.on(e,s),()=>{this.emitter.off(e,s)}}onExperimentValueUpdated(e,t,r,n,i,s){const o=`${e}.${t}`,a=i(e,t,r,{...s,fireExperimentExposure:!1});void 0===this.eventToValue.get(n)&&this.eventToValue.set(n,a);const l=()=>{const o=i(e,t,r,{...s,fireExperimentExposure:!1});this.eventToValue.get(n)!==o&&(this.eventToValue.set(n,o),n(o))};return this.emitter.on(o,l),()=>{this.emitter.off(o,l)}}onAnyUpdated(e){return this.emitter.on(o,e),()=>{this.emitter.off(o,e)}}anyUpdated(){this.emitter.emit(o),this.emitter.eventNames().filter((e=>e!==o)).forEach((e=>{this.emitter.emit(e)}))}}var l=r(38031);let c=function(e){return e.Error="Error",e.LocalOverride="LocalOverride",e.Unrecognized="Unrecognized",e.Uninitialized="Uninitialized",e.NetworkNotModified="NetworkNotModified",e.Network="Network",e.InvalidBootstrap="InvalidBootstrap",e.Bootstrap="Bootstrap",e.Cache="Cache",e.Unknown="Unknown",e}({}),d=function(e){return e.Development="development",e.Staging="staging",e.Production="production",e}({}),u=function(e){return e.COMMERCIAL="commercial",e.FEDRAMP_MODERATE="fedramp-moderate",e}({});const A=e=>({perimeter:(0,l.n)()?u.FEDRAMP_MODERATE:u.COMMERCIAL,...e}),h=(e,t)=>{if(!e&&!t)return!0;if(!e||!t)return!1;const r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;const i=([e],[t])=>e.localeCompare(t);r.sort(i),n.sort(i);for(let e=0;e{const r={customIDs:e,custom:t};return e.atlassianAccountId&&(r.userID=e.atlassianAccountId),r},f=Object.entries(c).map((([e,t])=>[e.toLowerCase(),t])),C=e=>{var t,r,n;const i=e.reason.toLowerCase();return{reason:null!==(t=null===(r=f.find((([e])=>i.includes(e))))||void 0===r?void 0:r[1])&&void 0!==t?t:c.Unknown,time:null!==(n=e.receivedAt)&&void 0!==n?n:Date.now()}};class g{static fromExperiment(e){var t,r;const n=new g(e.name,e.value,e.ruleID,C(e.details),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null!==(r=e.groupName)&&void 0!==r?r:void 0);return n.experiment=e,n}constructor(e,t,r,n,i=[],s="",o=null){this.value=t,this._name=e,this._ruleID=r,this._secondaryExposures=i,this._allocatedExperimentName=s,this._evaluationDetails=n,this._onDefaultValueFallback=o}get(e,t,r){var n;const i=this.getValue(e,t);if(null==i)return t;const s=Array.isArray(t)?"array":typeof t,o=Array.isArray(i)?"array":typeof i;var a;return r?r(i)?(this.fireExposure(e),i):(null===(a=this._onDefaultValueFallback)||void 0===a||a.call(this,this,e,s,o),t):null==t||s===o?(this.fireExposure(e),i):(null===(n=this._onDefaultValueFallback)||void 0===n||n.call(this,this,e,s,o),t)}getValue(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e]?t:(this.fireExposure(e),this.value[e]))}fireExposure(e){this.experiment&&this.experiment.get(e)}}class m{static fromLayer(e){var t,r,n,i;return new m(e.name,e.__value,e.ruleID,C(e.details),((t,r)=>e.get(r)),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null===(r=e.__evaluation)||void 0===r?void 0:r.undelegated_secondary_exposures,null===(n=e.__evaluation)||void 0===n?void 0:n.allocated_experiment_name,null===(i=e.__evaluation)||void 0===i?void 0:i.explicit_parameters)}constructor(e,t,r,n,i=null,s=[],o=[],a="",l=[]){this._logParameterFunction=i,this._name=e,this._value=JSON.parse(JSON.stringify(null!=t?t:{})),this._ruleID=null!=r?r:"",this._evaluationDetails=n,this._secondaryExposures=s,this._undelegatedSecondaryExposures=o,this._allocatedExperimentName=a,this._explicitParameters=l}get(e,t,r){const n=this._value[e];if(null==n)return t;const i=()=>(this._logLayerParameterExposure(e),n);return r?r(n)?i():t:null==t||typeof n==typeof t&&Array.isArray(t)===Array.isArray(n)?i():t}getValue(e,t){null==t&&(t=null);const r=this._value[e];return null!=r&&this._logLayerParameterExposure(e),null!=r?r:t}_logLayerParameterExposure(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}const x="4.25.0";class v extends Error{constructor(e){super(e)}}class w{static async fetchClientSdk(e){const{targetApp:t}=e,r=`/api/v2/frontend/clientSdkKey/${t}`;try{return await this.fetchRequest(r,"GET",e)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve client sdk key")}}static async fetchExperimentValues(e,t,r){const n={identifiers:t,customAttributes:r,targetApp:e.targetApp};try{return await this.fetchRequest("/api/v2/frontend/experimentValues","POST",e,n)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve experiment values")}}static async handleResponseError(e){if(!e.ok){const t=await e.text();throw new v(`Non 2xx response status received, status: ${e.status}, body: ${JSON.stringify(t)}`)}if(204===e.status)throw new v("Unexpected 204 response")}static async extractResponseBody(e){const t=await e.text();return JSON.parse(t)}static getBaseUrl(e,t=!1,r){if(t)return"/gateway/api/flags";if(r===u.FEDRAMP_MODERATE)switch(e){case d.Production:return"https://api.atlassian-us-gov-mod.com/flags";case d.Staging:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw new Error(`Invalid environment "${e}" for "${r}" perimeter`)}else{if(r!==u.COMMERCIAL)throw new Error(`Invalid perimeter "${r}"`);switch(e){case d.Development:return"https://api.dev.atlassian.com/flags";case d.Staging:return"https://api.stg.atlassian.com/flags";default:return"https://api.atlassian.com/flags"}}}static async fetchRequest(e,t,r,n){const i=w.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter),s=r.fetchTimeoutMs||5e3;let o;if(AbortSignal.timeout)o=AbortSignal.timeout(s);else if(AbortController){const e=new AbortController;o=e.signal,setTimeout((()=>e.abort()),s)}const a=await fetch(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":x,"X-API-KEY":r.apiKey},signal:o,...n&&{body:JSON.stringify(n)}});return await this.handleResponseError(a),await this.extractResponseBody(a)}}class y extends i.DataAdapterCore{constructor(){super("NoFetchDataAdapter","nofetch"),(0,n.Z)(this,"bootstrapResult",null)}setBootstrapData(e){this.bootstrapResult=e?{source:"Bootstrap",data:JSON.stringify(e),receivedAt:Date.now(),stableID:i.StableID.get(this._getSdkKey()),fullUserHash:null}:null}async prefetchData(e,t){}async getDataAsync(e,t,r){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(t)}}getDataSync(e){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(e)}}async _fetchFromNetwork(e,t,r){return null}_getCacheKey(e){const t=(0,i._getStorageKey)(this._getSdkKey(),e);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${t}`}_isCachedResultValidFor204(e,t){return!1}setDataLegacy(e,t){super.setData(e,t)}toJSON(){const e={...this};return delete e._options,delete e._inMemoryCache,delete e.bootstrapResult,e}}var b=r(13328);const L="LocalOverride:Recognized",j="STATSIG_OVERRIDES";class M{constructor(){this._overrides={gates:{},configs:{},layers:{}}}parseStoredOverrides(e){try{const e=window.localStorage.getItem(j);return e?JSON.parse(e):{gates:{},configs:{},layers:{}}}catch{return{gates:{},configs:{},layers:{}}}}mergeOverrides(...e){const t={gates:{},configs:{},layers:{}};for(const r of e){for(const[e,n]of Object.entries(r.gates))t.gates[e]=n;for(const[e,n]of Object.entries(r.configs))t.configs[e]=n;for(const[e,n]of Object.entries(r.layers))t.layers[e]=n}return t}initFromStoredOverrides(){this._overrides=this.mergeOverrides(this.parseStoredOverrides("STATSIG_JS_LITE_LOCAL_OVERRIDES"),this.parseStoredOverrides(j))}saveOverrides(){window.localStorage.setItem(j,JSON.stringify(this._overrides))}getOverrides(){return Object.fromEntries(Object.entries(this._overrides).map((([e,t])=>{const r={};for(const[e,n]of Object.entries(t))Object.prototype.hasOwnProperty.call(t,(0,b._DJB2)(e))&&(r[e]=n);return[e,r]})))}setOverrides(e){const t={gates:{},configs:{},layers:{},...e};for(const e of Object.values(t))for(const[t,r]of Object.entries(e)){const n=(0,b._DJB2)(t);Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}this._overrides=t,this.saveOverrides()}overrideGate(e,t){this._overrides.gates[e]=t,this._overrides.gates[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeGateOverride(e){delete this._overrides.gates[e],delete this._overrides.gates[(0,b._DJB2)(e)],this.saveOverrides()}getGateOverride(e,t){var r;const n=null!==(r=this._overrides.gates[e.name])&&void 0!==r?r:this._overrides.gates[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,details:{...e.details,reason:L}}}overrideDynamicConfig(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeDynamicConfigOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getDynamicConfigOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideExperiment(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeExperimentOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getExperimentOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideLayer(e,t){this._overrides.layers[e]=t,this._overrides.layers[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeLayerOverride(e){delete this._overrides.layers[e],delete this._overrides.layers[(0,b._DJB2)(e)],this.saveOverrides()}removeAllOverrides(){this._overrides={gates:{},configs:{},layers:{}},window.localStorage.removeItem(j)}getLayerOverride(e,t){var r;const n=null!==(r=this._overrides.layers[e.name])&&void 0!==r?r:this._overrides.layers[(0,b._DJB2)(e.name)];return null==n?null:{...e,__value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}_getConfigOverride(e,t){var r;const n=null!==(r=t[e.name])&&void 0!==r?r:t[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}}const _="client-default-key";var B;class k{static isGateExists(e){return this.client.isGateExist(e)}static isExperimentExists(e){return this.client.isExperimentExist(e)}}B=k,(0,n.Z)(k,"client",new class{constructor(){(0,n.Z)(this,"initPromise",null),(0,n.Z)(this,"initCompleted",!1),(0,n.Z)(this,"initWithDefaults",!1),(0,n.Z)(this,"hasCheckGateErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,n.Z)(this,"subscriptions",new a),(0,n.Z)(this,"dataAdapter",new y),(0,n.Z)(this,"overrideAdapter",new M),(0,n.Z)(this,"statsigValuesUpdated",(()=>{this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.subscriptions.anyUpdated()}))}async initialize(e,t,r){const n=A(e);if(this.initPromise)return h(n,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const i=performance.now();return this.initOptions=n,this.initPromise=this.init(n,t,r).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-i;this.fireClientEvent(i,e,"initialize",this.initCompleted,n.apiKey)})),this.initPromise}async initializeWithProvider(e,t,r,n){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const s=performance.now();return this.initOptions=i,this.provider=t,this.provider.setClientVersion(x),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback),this.initPromise=this.initWithProvider(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeWithProvider",this.initCompleted,t.getApiKey?t.getApiKey():void 0)})),this.initPromise}applyUpdateCallback(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}fireClientEvent(e,t,r,n,i=void 0){var s;null===(s=this.initOptions.analyticsWebClient)||void 0===s||s.then((s=>{const o={targetApp:this.initOptions.targetApp,clientVersion:x,success:n,startTime:e,totalTime:t,...i&&{apiKey:i}};s.sendOperationalEvent({action:r,actionSubject:"featureGatesClient",attributes:o,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})})).catch((e=>{this.initOptions.environment!==d.Production&&console.error("Analytics web client promise did not resolve",e)}))}async initializeFromValues(e,t,r,n={}){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;Object.prototype.hasOwnProperty.call(n,"has_updates")||(n.has_updates=!0);const s=performance.now();return this.initOptions=i,this.initPromise=this.initFromValues(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeFromValues",this.initCompleted)})),this.initPromise}assertInitialized(e){if(!e)throw new Error("Client must be initialized before using this method")}async updateUser(e,t,r){this.assertInitialized(this.statsigClient);const n=A(e);await this.updateUserUsingInitializeValuesProducer((()=>w.fetchExperimentValues(n,t,r).then((({experimentValues:e,customAttributes:t})=>({experimentValues:e,customAttributesFromFetch:t})))),t,r)}async updateUserWithProvider(e,t){if(this.assertInitialized(this.statsigClient),!this.provider)throw new Error("Cannot update user using provider as the client was not initialised with a provider");await this.provider.setProfile(this.initOptions,e,t),await this.updateUserUsingInitializeValuesProducer((()=>this.provider.getExperimentValues()),e,t)}async updateUserWithValues(e,t,r={}){this.assertInitialized(this.statsigClient),await this.updateUserUsingInitializeValuesProducer((()=>Promise.resolve({experimentValues:r,customAttributesFromFetch:t})),e,t)}initializeCalled(){return null!=this.initPromise}initializeCompleted(){return this.initCompleted}checkGate(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireGateExposure:r=!0}=t;return this.statsigClient.checkGate(e,{disableExposureLog:!r})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}isGateExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check FeatureGate: ${e}`),!0}}isExperimentExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check Experiment: ${e}`),!0}}manuallyLogGateExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}getExperiment(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireExperimentExposure:r=!0}=t;return g.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!r}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new g(e,{},"",{time:Date.now(),reason:c.Error})}}getExperimentValue(e,t,r,n={}){const i=this.getExperiment(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),this.hasGetExperimentValueErrorOccurred=!0),r}}manuallyLogExperimentExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}manuallyLogLayerExposure(e,t){var r;this.assertInitialized(this.statsigClient),null===(r=this.statsigClient.getLayer(e))||void 0===r||r.get(t)}shutdownStatsig(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}overrideGate(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideGate(e,t),this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.statsigValuesUpdated()}clearGateOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}overrideConfig(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}clearConfigOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}setOverrides(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}getOverrides(){return this.assertInitialized(this.statsigClient),this.overrideAdapter.getOverrides()}clearAllOverrides(){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}isCurrentUser(e,t){return h(this.currentIdentifiers,e)&&h(this.currentAttributes,t)}onGateUpdated(e,t,r={}){return this.subscriptions.onGateUpdated(e,(n=>{const{fireGateExposure:i=!0}=r;i&&this.manuallyLogGateExposure(e);try{t(n)}catch(t){console.warn(`Error calling callback for gate ${e} with value ${n}`,t)}}),this.checkGate.bind(this),r)}onExperimentValueUpdated(e,t,r,n,i={}){return this.subscriptions.onExperimentValueUpdated(e,t,r,(t=>{const{fireExperimentExposure:r=!0}=i;r&&this.manuallyLogExperimentExposure(e);try{n(t)}catch(r){console.warn(`Error calling callback for experiment ${e} with value ${t}`,r)}}),this.getExperimentValue.bind(this),i)}onAnyUpdated(e){return this.subscriptions.onAnyUpdated(e)}async init(e,t,r){const n={...e};let i,s;try{const o=w.fetchClientSdk(e).then((e=>n.sdkKey=e.clientSdkKey)),a=w.fetchExperimentValues(e,t,r),[,l]=await Promise.all([o,a]);i=l.experimentValues,s=l.customAttributes}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(n,t,r),e}return this.initFromValues(n,t,s,i)}async initWithProvider(e,t,r,n){const i={...e,disableCurrentPageLogging:!0};let s,o;try{await t.setProfile(e,r,n);const a=t.getClientSdkKey().then((e=>i.sdkKey=e)),l=t.getExperimentValues(),[,c]=await Promise.all([a,l]);s=c.experimentValues,o=c.customAttributesFromFetch}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(i,r,n),e}return this.initFromValues(i,r,o,s)}async initFromValues(e,t,r,n={}){var s;this.overrideAdapter.initFromStoredOverrides(),this.user=p(t,r),this.currentIdentifiers=t,this.currentAttributes=r;const o=(e=>{const{api:t,disableCurrentPageLogging:r,loggingIntervalMillis:n,loggingBufferMaxSize:i,localMode:s,eventLoggingApi:o,eventLoggingApiForRetries:a,disableLocalStorage:l,ignoreWindowUndefined:c,disableAllLogging:d,initTimeoutMs:u,disableNetworkKeepalive:A,overrideStableID:h,disableErrorLogging:p,disableAutoMetricsLogging:f,...C}=e;return{...C,networkConfig:{api:t,logEventUrl:o?o+"rgstr":void 0,logEventFallbackUrls:a?[a]:void 0,preventAllNetworkTraffic:s||!c&&"undefined"==typeof window},includeCurrentPageUrlWithEvents:!r,loggingIntervalMs:n,loggingBufferMaxSize:i,disableStorage:l,disableLogging:d}})(e);o.sdkKey||(o.sdkKey=_),null!==(s=o.networkConfig)&&void 0!==s&&s.logEventUrl||(o.networkConfig={...o.networkConfig,logEventUrl:"https://xp.atlassian.com/v1/rgstr"}),o.perimeter===u.FEDRAMP_MODERATE&&(o.disableLogging=!0);const{sdkKey:a,environment:l,updateUserCompletionCallback:c,perimeter:d,...A}=o,h={...A,environment:{tier:l},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter};try{this.statsigClient=new i.StatsigClient(a,this.user,h),this.dataAdapter.setBootstrapData(n),await this.statsigClient.initializeAsync()}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to initialise the Statsig client, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new i.StatsigClient(_,this.user,h),this.dataAdapter.setBootstrapData(),await this.statsigClient.initializeAsync(),this.initWithDefaults=!0,e}}async updateUserUsingInitializeValuesProducer(e,t,r){if(this.assertInitialized(this.statsigClient),!this.initPromise)throw new Error("The client must be initialized before you can update the user.");if(this.isCurrentUser(t,r))return this.initPromise;const n=this.initPromise;try{await this.initPromise}catch(e){}const i=e(),s=this.updateStatsigClientUser(i,t,r);return this.initPromise=s.catch((async()=>{this.initPromise=n,this.provider&&await this.provider.setProfile(this.initOptions,this.currentIdentifiers,this.currentAttributes)})),s}async updateStatsigClientUser(e,t,r){var n,i;let s,o;this.assertInitialized(this.statsigClient);try{s=await e,o=p(t,s.customAttributesFromFetch)}catch(e){var a,l;const t=e instanceof Error?e.message:JSON.stringify(e);throw null===(a=(l=this.initOptions).updateUserCompletionCallback)||void 0===a||a.call(l,!1,t),e}let c=!0,d=null;try{this.dataAdapter.setBootstrapData(s.experimentValues),this.user=o,await this.statsigClient.updateUserAsync(this.user)}catch(e){c=!1,d=String(e)}if(null===(n=this.initOptions)||void 0===n||null===(i=n.updateUserCompletionCallback)||void 0===i||i.call(n,c,d),!c)throw new Error("Failed to update user. An unexpected error occured.");this.currentIdentifiers=t,this.currentAttributes=r,this.subscriptions.anyUpdated()}getPackageVersion(){return x}getLayer(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireLayerExposure:r=!0}=t;return m.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!r}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),m.fromLayer((0,i._makeLayer)(e,{reason:"Error"},null))}}getLayerValue(e,t,r,n={}){const i=this.getLayer(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:r,options:n,error:t}),this.hasGetLayerValueErrorOccurred=!0),r}}}),(0,n.Z)(k,"hasCheckGateErrorOccurred",!1),(0,n.Z)(k,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(k,"checkGate",((e,t)=>{try{if(window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){const t=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==t)return t}}catch(t){B.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),B.hasCheckGateErrorOccurred=!0)}return B.client.checkGate(e,t)})),(0,n.Z)(k,"getExperimentValue",((e,t,r,n)=>{try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){const r=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=r)return r}}catch(t){return B.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),B.hasGetExperimentValueErrorOccurred=!0),r}return B.client.getExperimentValue(e,t,r,n)})),(0,n.Z)(k,"initializeCalled",B.client.initializeCalled.bind(B.client)),(0,n.Z)(k,"initializeCompleted",B.client.initializeCompleted.bind(B.client)),(0,n.Z)(k,"initialize",B.client.initialize.bind(B.client)),(0,n.Z)(k,"initializeWithProvider",B.client.initializeWithProvider.bind(B.client)),(0,n.Z)(k,"initializeFromValues",B.client.initializeFromValues.bind(B.client)),(0,n.Z)(k,"manuallyLogGateExposure",B.client.manuallyLogGateExposure.bind(B.client)),(0,n.Z)(k,"getExperiment",B.client.getExperiment.bind(B.client)),(0,n.Z)(k,"manuallyLogExperimentExposure",B.client.manuallyLogExperimentExposure.bind(B.client)),(0,n.Z)(k,"manuallyLogLayerExposure",B.client.manuallyLogLayerExposure.bind(B.client)),(0,n.Z)(k,"shutdownStatsig",B.client.shutdownStatsig.bind(B.client)),(0,n.Z)(k,"overrideGate",B.client.overrideGate.bind(B.client)),(0,n.Z)(k,"clearGateOverride",B.client.clearGateOverride.bind(B.client)),(0,n.Z)(k,"overrideConfig",B.client.overrideConfig.bind(B.client)),(0,n.Z)(k,"clearConfigOverride",B.client.clearConfigOverride.bind(B.client)),(0,n.Z)(k,"setOverrides",B.client.setOverrides.bind(B.client)),(0,n.Z)(k,"getOverrides",B.client.getOverrides.bind(B.client)),(0,n.Z)(k,"clearAllOverrides",B.client.clearAllOverrides.bind(B.client)),(0,n.Z)(k,"isCurrentUser",B.client.isCurrentUser.bind(B.client)),(0,n.Z)(k,"onGateUpdated",B.client.onGateUpdated.bind(B.client)),(0,n.Z)(k,"onExperimentValueUpdated",B.client.onExperimentValueUpdated.bind(B.client)),(0,n.Z)(k,"onAnyUpdated",B.client.onAnyUpdated.bind(B.client)),(0,n.Z)(k,"updateUser",B.client.updateUser.bind(B.client)),(0,n.Z)(k,"updateUserWithProvider",B.client.updateUserWithProvider.bind(B.client)),(0,n.Z)(k,"updateUserWithValues",B.client.updateUserWithValues.bind(B.client)),(0,n.Z)(k,"getPackageVersion",B.client.getPackageVersion.bind(B.client)),(0,n.Z)(k,"getLayer",B.client.getLayer.bind(B.client)),(0,n.Z)(k,"getLayerValue",B.client.getLayerValue.bind(B.client));let V=k;if("undefined"!=typeof window)if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=k;else{var H,E;V=window.__FEATUREGATES_JS__;const e=(null===(H=V)||void 0===H||null===(E=H.getPackageVersion)||void 0===E?void 0:E.call(H))||"4.10.0 or earlier";if(e!==x){const t=`Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ${e} when module version ${x} was loading.`;console.warn(t)}}const S=V;var F,Z,U,O;const I=!(void 0!==(null===globalThis||void 0===globalThis||null===(F=globalThis.process)||void 0===F||null===(Z=F.env)||void 0===Z?void 0:Z.JEST_WORKER_ID))&&"production"!==(null===globalThis||void 0===globalThis||null===(U=globalThis.process)||void 0===U||null===(O=U.env)||void 0===O?void 0:O.NODE_ENV),D=(...e)=>{I&&console.debug(...e)},N="@atlaskit/platform-feature-flags",T="__PLATFORM_FEATURE_FLAGS__",P=void 0!=={}&&void 0!=={},R=!!P&&"true"==={}.ENABLE_PLATFORM_FF||!!P&&"true"==={}.STORYBOOK_ENABLE_PLATFORM_FF,Q="undefined"!=typeof window?window:globalThis;function z(e){return function(e){if(R)return D('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',N,e),!0;try{var t,r,n;if(void 0===(null===(t=Q[T])||void 0===t?void 0:t.booleanResolver)||null===(null===(r=Q[T])||void 0===r?void 0:r.booleanResolver))return S.checkGate(e);const i=null===(n=Q[T])||void 0===n?void 0:n.booleanResolver(e);return"boolean"!=typeof i?(console.warn(`${e} resolved to a non-boolean value, returning false for safety`),!1):i}catch(e){return!1}}(e)}Q[T]=Q[T]||{booleanResolver:void 0}},5062:(e,t,r)=>{"use strict";r.d(t,{IR:()=>n,gt:()=>i,hH:()=>o,iw:()=>s,kd:()=>a});const n="#F4F5F7",i="#EBECF0",s="#6B778C",o="#5E6C84",a="rgba(9, 30, 66, 0.08)"},87693:(e,t,r)=>{"use strict";r.d(t,{ms:()=>w,iv:()=>m,tZ:()=>g});var n=r(67294),i=r(82391);function s(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},l=r(21095),c=r(27278),d={}.hasOwnProperty,u=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);u.Provider;var A=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(u);return e(t,i,r)}))},h=n.createContext({}),p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return o(t,r,n),(0,c.L)((function(){return a(t,r,n)})),null},C=A((function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[p],a=[i],c="";"string"==typeof e.className?c=s(t.registered,a,e.className):null!=e.className&&(c=e.className+" ");var u=(0,l.O)(a,void 0,n.useContext(h));c+=t.key+"-"+u.name;var A={};for(var C in e)d.call(e,C)&&"css"!==C&&C!==p&&(A[C]=e[C]);return A.ref=r,A.className=c,n.createElement(n.Fragment,null,n.createElement(f,{cache:t,serialized:u,isStringTag:"string"==typeof o}),n.createElement(o,A))})),g=(r(8679),function(e,t){var r=arguments;if(null==t||!d.call(t,"css"))return n.createElement.apply(void 0,r);var i=r.length,s=new Array(i);s[0]=C,s[1]=function(e,t){var r={};for(var n in t)d.call(t,n)&&(r[n]=t[n]);return r[p]=e,r}(e,t);for(var o=2;o{"use strict";r.d(t,{h:()=>o});const n="__PLATFORM_FEATURE_FLAGS__",i={earlyResolvedFlags:new Map,booleanResolver:function(e){return!1}},s="undefined"!=typeof window?window:globalThis;function o(e){var t;t=e,s[n].booleanResolver=t}s[n]=s[n]||i},50586:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(87462),i=r(67294),s=r(21233),o=r(93102),a=r(73633),l=r(23604);const c=(0,i.forwardRef)((({as:e="div",children:t,backgroundColor:r,padding:i,paddingBlock:c,paddingBlockStart:u,paddingBlockEnd:A,paddingInline:h,paddingInlineStart:p,paddingInlineEnd:f,style:C,testId:g,xcss:m,...x},v)=>{const{className:w,...y}=x,b=(0,l.sM)(m),L=(0,s.tZ)(e,(0,n.Z)({style:C,ref:v,className:b.static},y,{css:[d,r&&a.J5[r],(0,a.DL)(r)&&a.q0[r],i&&a.sh.padding[i],c&&a.sh.paddingBlock[c],u&&a.sh.paddingBlockStart[u],A&&a.sh.paddingBlockEnd[A],h&&a.sh.paddingInline[h],p&&a.sh.paddingInlineStart[p],f&&a.sh.paddingInlineEnd[f],b.emotion],"data-testid":g}),t);return r?(0,s.tZ)(o.K.Provider,{value:r},L):L})),d=(0,s.iv)({boxSizing:"border-box",appearance:"none",border:"none"})},88001:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n=r(67294),i=r(21233),s=r(73633),o=r(23604);const a={start:(0,i.iv)({justifyContent:"start"}),center:(0,i.iv)({justifyContent:"center"}),end:(0,i.iv)({justifyContent:"end"}),"space-between":(0,i.iv)({justifyContent:"space-between"}),"space-around":(0,i.iv)({justifyContent:"space-around"}),"space-evenly":(0,i.iv)({justifyContent:"space-evenly"}),stretch:(0,i.iv)({justifyContent:"stretch"})},l={column:(0,i.iv)({flexDirection:"column"}),row:(0,i.iv)({flexDirection:"row"})},c={wrap:(0,i.iv)({flexWrap:"wrap"}),nowrap:(0,i.iv)({flexWrap:"nowrap"})},d={start:(0,i.iv)({alignItems:"start"}),center:(0,i.iv)({alignItems:"center"}),baseline:(0,i.iv)({alignItems:"baseline"}),end:(0,i.iv)({alignItems:"end"}),stretch:(0,i.iv)({alignItems:"stretch"})},u=(0,i.iv)({display:"flex",boxSizing:"border-box"}),A=(0,n.memo)((0,n.forwardRef)((({as:e="div",role:t,alignItems:r,justifyContent:n,gap:A,columnGap:h,rowGap:p,children:f,testId:C,direction:g,wrap:m,xcss:x},v)=>{const w=(0,o.sM)(x);return(0,i.tZ)(e,{role:t,className:w.static,css:[u,A&&s.o3.gap[A],h&&s.o3.columnGap[h],p&&s.o3.rowGap[p],r&&d[r],g&&l[g],n&&a[n],m&&c[m],w.emotion],"data-testid":C,ref:v},f)})));A.displayName="Flex";const h=A},22765:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(67294),i=r(21233),s=r(23604),o=r(88001);const a={hug:(0,s.tu)({flexGrow:0}),fill:(0,s.tu)({width:"100%",flexGrow:1})},l=(0,i.iv)({color:"var(--ds-text-subtle, #42526E)",marginBlock:"var(--ds-space-0, 0px)",marginInline:"var(--ds-space-negative-025, -2px)",pointerEvents:"none",userSelect:"none"}),c=({children:e})=>(0,i.tZ)("span",{css:l},e),d=(0,n.memo)((0,n.forwardRef)((({as:e,alignInline:t,alignBlock:r="start",shouldWrap:s=!1,spread:l,grow:d,space:u,rowSpace:A,separator:h,xcss:p,testId:f,role:C,children:g},m)=>{const x="string"==typeof h?(0,i.tZ)(c,null,h):h,v=x?n.Children.toArray(g).filter(Boolean).map(((e,t)=>(0,i.tZ)(n.Fragment,{key:t},h&&t>0?x:null,e))):g,w=l||t,y=d?[a[d],...Array.isArray(p)?p:[p]]:p;return(0,i.tZ)(o.Z,{as:e,role:C,alignItems:r,justifyContent:w,direction:"row",gap:u,rowGap:A,wrap:s?"wrap":void 0,xcss:y,testId:f,ref:m},v)})));d.displayName="Inline";const u=d},73107:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(67294),i=r(21233),s=r(38776);const o=(0,n.createContext)(!1),a=o.Provider;var l=r(93102),c=r(73633);const d=["span","p","strong","em"],u=(0,i.iv)({margin:0,overflowWrap:"anywhere"}),A=(0,i.iv)({fontWeight:"var(--ds-font-weight-bold, 700)"}),h=(0,i.iv)({fontStyle:"italic"}),p={center:(0,i.iv)({textAlign:"center"}),end:(0,i.iv)({textAlign:"end"}),start:(0,i.iv)({textAlign:"start"})},f=(0,i.iv)({display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"}),C={breakAll:(0,i.iv)({wordBreak:"break-all"})},g=(0,n.forwardRef)((({as:e="span",color:t,align:r,testId:g,id:m,size:x,weight:v,maxLines:w,children:y},b)=>{(0,s.Z)(d.includes(e),`@atlaskit/primitives: Text received an invalid "as" value of "${e}"`);const L=(0,n.useContext)(o),j=((e,t)=>{const r=(0,l.v)();return c.w8.hasOwnProperty(r)?c.w8[r]:"inherit"===e||!e&&t?void 0:e||"color.text"})(t,L);x||L||(x="medium");const M=(0,i.tZ)(e,{ref:b,css:[u,x&&c.KZ[x],j&&c.SE[j],w&&f,1===w&&C.breakAll,r&&p[r],v&&c.hV[v],"em"===e&&h,"strong"===e&&A],style:{WebkitLineClamp:w},"data-testid":g,id:m},y);return L?M:(0,i.tZ)(a,{value:!0},M)}))},93102:(e,t,r)=>{"use strict";r.d(t,{K:()=>i,v:()=>s});var n=r(67294);const i=(0,n.createContext)("elevation.surface"),s=()=>(0,n.useContext)(i);i.displayName="SurfaceProvider"},73633:(e,t,r)=>{"use strict";r.d(t,{DL:()=>V,DM:()=>A,He:()=>C,J5:()=>j,KZ:()=>_,QS:()=>c,SE:()=>M,TJ:()=>a,Vu:()=>h,Yg:()=>v,dn:()=>m,hV:()=>B,il:()=>g,ly:()=>d,o3:()=>L,p1:()=>x,p9:()=>o,pp:()=>s,q0:()=>k,qn:()=>f,s6:()=>p,sh:()=>b,w8:()=>l});var n=r(21233),i=r(86550);const s={"100%":"100%","size.100":"1rem","size.200":"1.5rem","size.300":"2rem","size.400":"2.5rem","size.500":"3rem","size.600":"6rem","size.1000":"12rem"},o={"space.0":"var(--ds-space-0, 0px)","space.025":"var(--ds-space-025, 2px)","space.050":"var(--ds-space-050, 4px)","space.075":"var(--ds-space-075, 6px)","space.100":"var(--ds-space-100, 8px)","space.150":"var(--ds-space-150, 12px)","space.200":"var(--ds-space-200, 16px)","space.250":"var(--ds-space-250, 20px)","space.300":"var(--ds-space-300, 24px)","space.400":"var(--ds-space-400, 32px)","space.500":"var(--ds-space-500, 40px)","space.600":"var(--ds-space-600, 48px)","space.800":"var(--ds-space-800, 64px)","space.1000":"var(--ds-space-1000, 80px)"},a={...o,"space.negative.025":"var(--ds-space-negative-025, -2px)","space.negative.050":"var(--ds-space-negative-050, -4px)","space.negative.075":"var(--ds-space-negative-075, -6px)","space.negative.100":"var(--ds-space-negative-100, -8px)","space.negative.150":"var(--ds-space-negative-150, -12px)","space.negative.200":"var(--ds-space-negative-200, -16px)","space.negative.250":"var(--ds-space-negative-250, -20px)","space.negative.300":"var(--ds-space-negative-300, -24px)","space.negative.400":"var(--ds-space-negative-400, -32px)"},l={"color.background.neutral.bold":"color.text.inverse","color.background.neutral.bold.hovered":"color.text.inverse","color.background.neutral.bold.pressed":"color.text.inverse","color.background.selected.bold":"color.text.inverse","color.background.selected.bold.hovered":"color.text.inverse","color.background.selected.bold.pressed":"color.text.inverse","color.background.brand.bold":"color.text.inverse","color.background.brand.bold.hovered":"color.text.inverse","color.background.brand.bold.pressed":"color.text.inverse","color.background.brand.boldest":"color.text.inverse","color.background.brand.boldest.hovered":"color.text.inverse","color.background.brand.boldest.pressed":"color.text.inverse","color.background.danger.bold":"color.text.inverse","color.background.danger.bold.hovered":"color.text.inverse","color.background.danger.bold.pressed":"color.text.inverse","color.background.warning.bold":"color.text.warning.inverse","color.background.warning.bold.hovered":"color.text.warning.inverse","color.background.warning.bold.pressed":"color.text.warning.inverse","color.background.success.bold":"color.text.inverse","color.background.success.bold.hovered":"color.text.inverse","color.background.success.bold.pressed":"color.text.inverse","color.background.discovery.bold":"color.text.inverse","color.background.discovery.bold.hovered":"color.text.inverse","color.background.discovery.bold.pressed":"color.text.inverse","color.background.information.bold":"color.text.inverse","color.background.information.bold.hovered":"color.text.inverse","color.background.information.bold.pressed":"color.text.inverse"},c={"opacity.disabled":"var(--ds-opacity-disabled, 0.4)","opacity.loading":"var(--ds-opacity-loading, 0.2)"},d={"elevation.shadow.overflow":"var(--ds-shadow-overflow, 0px 0px 8px #091e423f, 0px 0px 1px #091e424f)","elevation.shadow.overflow.perimeter":"var(--ds-shadow-overflow-perimeter, #091e421f)","elevation.shadow.overflow.spread":"var(--ds-shadow-overflow-spread, #091e4229)","elevation.shadow.overlay":"var(--ds-shadow-overlay, 0px 8px 12px #091e423f, 0px 0px 1px #091e424f)","elevation.shadow.raised":"var(--ds-shadow-raised, 0px 1px 1px #091e423f, 0px 0px 1px #091e4221)"},u={"elevation.surface":"var(--ds-surface, #FFFFFF)","elevation.surface.hovered":"var(--ds-surface-hovered, #FAFBFC)","elevation.surface.pressed":"var(--ds-surface-pressed, #F4F5F7)","elevation.surface.overlay":"var(--ds-surface-overlay, #FFFFFF)","elevation.surface.overlay.hovered":"var(--ds-surface-overlay-hovered, #FAFBFC)","elevation.surface.overlay.pressed":"var(--ds-surface-overlay-pressed, #F4F5F7)","elevation.surface.raised":"var(--ds-surface-raised, #FFFFFF)","elevation.surface.raised.hovered":"var(--ds-surface-raised-hovered, #FAFBFC)","elevation.surface.raised.pressed":"var(--ds-surface-raised-pressed, #F4F5F7)","elevation.surface.sunken":"var(--ds-surface-sunken, #F4F5F7)"},A={"color.border":"var(--ds-border, #091e4221)","color.border.accent.lime":"var(--ds-border-accent-lime, #6A9A23)","color.border.accent.red":"var(--ds-border-accent-red, #FF5630)","color.border.accent.orange":"var(--ds-border-accent-orange, #D94008)","color.border.accent.yellow":"var(--ds-border-accent-yellow, #FFAB00)","color.border.accent.green":"var(--ds-border-accent-green, #36B37E)","color.border.accent.teal":"var(--ds-border-accent-teal, #00B8D9)","color.border.accent.blue":"var(--ds-border-accent-blue, #0065FF)","color.border.accent.purple":"var(--ds-border-accent-purple, #6554C0)","color.border.accent.magenta":"var(--ds-border-accent-magenta, #CD519D)","color.border.accent.gray":"var(--ds-border-accent-gray, #5E6C84)","color.border.disabled":"var(--ds-border-disabled, #FAFBFC)","color.border.focused":"var(--ds-border-focused, #2684FF)","color.border.input":"var(--ds-border-input, #FAFBFC)","color.border.inverse":"var(--ds-border-inverse, #FFFFFF)","color.border.selected":"var(--ds-border-selected, #0052CC)","color.border.brand":"var(--ds-border-brand, #0052CC)","color.border.danger":"var(--ds-border-danger, #FF5630)","color.border.warning":"var(--ds-border-warning, #FFC400)","color.border.success":"var(--ds-border-success, #00875A)","color.border.discovery":"var(--ds-border-discovery, #998DD9)","color.border.information":"var(--ds-border-information, #0065FF)","color.border.bold":"var(--ds-border-bold, #344563)"},h={"color.background.accent.lime.subtlest":"var(--ds-background-accent-lime-subtlest, #EEFBDA)","color.background.accent.lime.subtlest.hovered":"var(--ds-background-accent-lime-subtlest-hovered, #D3F1A7)","color.background.accent.lime.subtlest.pressed":"var(--ds-background-accent-lime-subtlest-pressed, #B3DF72)","color.background.accent.lime.subtler":"var(--ds-background-accent-lime-subtler, #D3F1A7)","color.background.accent.lime.subtler.hovered":"var(--ds-background-accent-lime-subtler-hovered, #B3DF72)","color.background.accent.lime.subtler.pressed":"var(--ds-background-accent-lime-subtler-pressed, #94C748)","color.background.accent.lime.subtle":"var(--ds-background-accent-lime-subtle, #94C748)","color.background.accent.lime.subtle.hovered":"var(--ds-background-accent-lime-subtle-hovered, #B3DF72)","color.background.accent.lime.subtle.pressed":"var(--ds-background-accent-lime-subtle-pressed, #D3F1A7)","color.background.accent.lime.bolder":"var(--ds-background-accent-lime-bolder, #5B7F24)","color.background.accent.lime.bolder.hovered":"var(--ds-background-accent-lime-bolder-hovered, #37471F)","color.background.accent.lime.bolder.pressed":"var(--ds-background-accent-lime-bolder-pressed, #37471F)","color.background.accent.red.subtlest":"var(--ds-background-accent-red-subtlest, #FF8F73)","color.background.accent.red.subtlest.hovered":"var(--ds-background-accent-red-subtlest-hovered, #FF7452)","color.background.accent.red.subtlest.pressed":"var(--ds-background-accent-red-subtlest-pressed, #FF5630)","color.background.accent.red.subtler":"var(--ds-background-accent-red-subtler, #FF7452)","color.background.accent.red.subtler.hovered":"var(--ds-background-accent-red-subtler-hovered, #FF5630)","color.background.accent.red.subtler.pressed":"var(--ds-background-accent-red-subtler-pressed, #DE350B)","color.background.accent.red.subtle":"var(--ds-background-accent-red-subtle, #DE350B)","color.background.accent.red.subtle.hovered":"var(--ds-background-accent-red-subtle-hovered, #FF5630)","color.background.accent.red.subtle.pressed":"var(--ds-background-accent-red-subtle-pressed, #FF7452)","color.background.accent.red.bolder":"var(--ds-background-accent-red-bolder, #DE350B)","color.background.accent.red.bolder.hovered":"var(--ds-background-accent-red-bolder-hovered, #FF5630)","color.background.accent.red.bolder.pressed":"var(--ds-background-accent-red-bolder-pressed, #FF7452)","color.background.accent.orange.subtlest":"var(--ds-background-accent-orange-subtlest, #F18D13)","color.background.accent.orange.subtlest.hovered":"var(--ds-background-accent-orange-subtlest-hovered, #FEC57B)","color.background.accent.orange.subtlest.pressed":"var(--ds-background-accent-orange-subtlest-pressed, #FFE2BD)","color.background.accent.orange.subtler":"var(--ds-background-accent-orange-subtler, #B65C02)","color.background.accent.orange.subtler.hovered":"var(--ds-background-accent-orange-subtler-hovered, #F18D13)","color.background.accent.orange.subtler.pressed":"var(--ds-background-accent-orange-subtler-pressed, #FEC57B)","color.background.accent.orange.subtle":"var(--ds-background-accent-orange-subtle, #5F3811)","color.background.accent.orange.subtle.hovered":"var(--ds-background-accent-orange-subtle-hovered, #974F0C)","color.background.accent.orange.subtle.pressed":"var(--ds-background-accent-orange-subtle-pressed, #B65C02)","color.background.accent.orange.bolder":"var(--ds-background-accent-orange-bolder, #43290F)","color.background.accent.orange.bolder.hovered":"var(--ds-background-accent-orange-bolder-hovered, #5F3811)","color.background.accent.orange.bolder.pressed":"var(--ds-background-accent-orange-bolder-pressed, #974F0C)","color.background.accent.yellow.subtlest":"var(--ds-background-accent-yellow-subtlest, #FFE380)","color.background.accent.yellow.subtlest.hovered":"var(--ds-background-accent-yellow-subtlest-hovered, #FFC400)","color.background.accent.yellow.subtlest.pressed":"var(--ds-background-accent-yellow-subtlest-pressed, #FFAB00)","color.background.accent.yellow.subtler":"var(--ds-background-accent-yellow-subtler, #FFC400)","color.background.accent.yellow.subtler.hovered":"var(--ds-background-accent-yellow-subtler-hovered, #FFAB00)","color.background.accent.yellow.subtler.pressed":"var(--ds-background-accent-yellow-subtler-pressed, #FF991F)","color.background.accent.yellow.subtle":"var(--ds-background-accent-yellow-subtle, #FF991F)","color.background.accent.yellow.subtle.hovered":"var(--ds-background-accent-yellow-subtle-hovered, #FFAB00)","color.background.accent.yellow.subtle.pressed":"var(--ds-background-accent-yellow-subtle-pressed, #FFC400)","color.background.accent.yellow.bolder":"var(--ds-background-accent-yellow-bolder, #FF991F)","color.background.accent.yellow.bolder.hovered":"var(--ds-background-accent-yellow-bolder-hovered, #FFAB00)","color.background.accent.yellow.bolder.pressed":"var(--ds-background-accent-yellow-bolder-pressed, #FFC400)","color.background.accent.green.subtlest":"var(--ds-background-accent-green-subtlest, #79F2C0)","color.background.accent.green.subtlest.hovered":"var(--ds-background-accent-green-subtlest-hovered, #57D9A3)","color.background.accent.green.subtlest.pressed":"var(--ds-background-accent-green-subtlest-pressed, #36B37E)","color.background.accent.green.subtler":"var(--ds-background-accent-green-subtler, #57D9A3)","color.background.accent.green.subtler.hovered":"var(--ds-background-accent-green-subtler-hovered, #36B37E)","color.background.accent.green.subtler.pressed":"var(--ds-background-accent-green-subtler-pressed, #00875A)","color.background.accent.green.subtle":"var(--ds-background-accent-green-subtle, #00875A)","color.background.accent.green.subtle.hovered":"var(--ds-background-accent-green-subtle-hovered, #36B37E)","color.background.accent.green.subtle.pressed":"var(--ds-background-accent-green-subtle-pressed, #57D9A3)","color.background.accent.green.bolder":"var(--ds-background-accent-green-bolder, #00875A)","color.background.accent.green.bolder.hovered":"var(--ds-background-accent-green-bolder-hovered, #36B37E)","color.background.accent.green.bolder.pressed":"var(--ds-background-accent-green-bolder-pressed, #57D9A3)","color.background.accent.teal.subtlest":"var(--ds-background-accent-teal-subtlest, #79E2F2)","color.background.accent.teal.subtlest.hovered":"var(--ds-background-accent-teal-subtlest-hovered, #00C7E6)","color.background.accent.teal.subtlest.pressed":"var(--ds-background-accent-teal-subtlest-pressed, #00B8D9)","color.background.accent.teal.subtler":"var(--ds-background-accent-teal-subtler, #00C7E6)","color.background.accent.teal.subtler.hovered":"var(--ds-background-accent-teal-subtler-hovered, #00B8D9)","color.background.accent.teal.subtler.pressed":"var(--ds-background-accent-teal-subtler-pressed, #00A3BF)","color.background.accent.teal.subtle":"var(--ds-background-accent-teal-subtle, #00A3BF)","color.background.accent.teal.subtle.hovered":"var(--ds-background-accent-teal-subtle-hovered, #00B8D9)","color.background.accent.teal.subtle.pressed":"var(--ds-background-accent-teal-subtle-pressed, #00C7E6)","color.background.accent.teal.bolder":"var(--ds-background-accent-teal-bolder, #00A3BF)","color.background.accent.teal.bolder.hovered":"var(--ds-background-accent-teal-bolder-hovered, #00B8D9)","color.background.accent.teal.bolder.pressed":"var(--ds-background-accent-teal-bolder-pressed, #00C7E6)","color.background.accent.blue.subtlest":"var(--ds-background-accent-blue-subtlest, #4C9AFF)","color.background.accent.blue.subtlest.hovered":"var(--ds-background-accent-blue-subtlest-hovered, #2684FF)","color.background.accent.blue.subtlest.pressed":"var(--ds-background-accent-blue-subtlest-pressed, #0065FF)","color.background.accent.blue.subtler":"var(--ds-background-accent-blue-subtler, #2684FF)","color.background.accent.blue.subtler.hovered":"var(--ds-background-accent-blue-subtler-hovered, #0065FF)","color.background.accent.blue.subtler.pressed":"var(--ds-background-accent-blue-subtler-pressed, #0052CC)","color.background.accent.blue.subtle":"var(--ds-background-accent-blue-subtle, #0052CC)","color.background.accent.blue.subtle.hovered":"var(--ds-background-accent-blue-subtle-hovered, #0065FF)","color.background.accent.blue.subtle.pressed":"var(--ds-background-accent-blue-subtle-pressed, #2684FF)","color.background.accent.blue.bolder":"var(--ds-background-accent-blue-bolder, #0052CC)","color.background.accent.blue.bolder.hovered":"var(--ds-background-accent-blue-bolder-hovered, #0065FF)","color.background.accent.blue.bolder.pressed":"var(--ds-background-accent-blue-bolder-pressed, #2684FF)","color.background.accent.purple.subtlest":"var(--ds-background-accent-purple-subtlest, #998DD9)","color.background.accent.purple.subtlest.hovered":"var(--ds-background-accent-purple-subtlest-hovered, #8777D9)","color.background.accent.purple.subtlest.pressed":"var(--ds-background-accent-purple-subtlest-pressed, #6554C0)","color.background.accent.purple.subtler":"var(--ds-background-accent-purple-subtler, #8777D9)","color.background.accent.purple.subtler.hovered":"var(--ds-background-accent-purple-subtler-hovered, #6554C0)","color.background.accent.purple.subtler.pressed":"var(--ds-background-accent-purple-subtler-pressed, #5243AA)","color.background.accent.purple.subtle":"var(--ds-background-accent-purple-subtle, #5243AA)","color.background.accent.purple.subtle.hovered":"var(--ds-background-accent-purple-subtle-hovered, #6554C0)","color.background.accent.purple.subtle.pressed":"var(--ds-background-accent-purple-subtle-pressed, #8777D9)","color.background.accent.purple.bolder":"var(--ds-background-accent-purple-bolder, #5243AA)","color.background.accent.purple.bolder.hovered":"var(--ds-background-accent-purple-bolder-hovered, #6554C0)","color.background.accent.purple.bolder.pressed":"var(--ds-background-accent-purple-bolder-pressed, #8777D9)","color.background.accent.magenta.subtlest":"var(--ds-background-accent-magenta-subtlest, #FFECF8)","color.background.accent.magenta.subtlest.hovered":"var(--ds-background-accent-magenta-subtlest-hovered, #FDD0EC)","color.background.accent.magenta.subtlest.pressed":"var(--ds-background-accent-magenta-subtlest-pressed, #F797D2)","color.background.accent.magenta.subtler":"var(--ds-background-accent-magenta-subtler, #FDD0EC)","color.background.accent.magenta.subtler.hovered":"var(--ds-background-accent-magenta-subtler-hovered, #F797D2)","color.background.accent.magenta.subtler.pressed":"var(--ds-background-accent-magenta-subtler-pressed, #E774BB)","color.background.accent.magenta.subtle":"var(--ds-background-accent-magenta-subtle, #E774BB)","color.background.accent.magenta.subtle.hovered":"var(--ds-background-accent-magenta-subtle-hovered, #F797D2)","color.background.accent.magenta.subtle.pressed":"var(--ds-background-accent-magenta-subtle-pressed, #FDD0EC)","color.background.accent.magenta.bolder":"var(--ds-background-accent-magenta-bolder, #AE4787)","color.background.accent.magenta.bolder.hovered":"var(--ds-background-accent-magenta-bolder-hovered, #943D73)","color.background.accent.magenta.bolder.pressed":"var(--ds-background-accent-magenta-bolder-pressed, #50253F)","color.background.accent.gray.subtlest":"var(--ds-background-accent-gray-subtlest, #6B778C)","color.background.accent.gray.subtlest.hovered":"var(--ds-background-accent-gray-subtlest-hovered, #5E6C84)","color.background.accent.gray.subtlest.pressed":"var(--ds-background-accent-gray-subtlest-pressed, #505F79)","color.background.accent.gray.subtler":"var(--ds-background-accent-gray-subtler, #5E6C84)","color.background.accent.gray.subtler.hovered":"var(--ds-background-accent-gray-subtler-hovered, #505F79)","color.background.accent.gray.subtler.pressed":"var(--ds-background-accent-gray-subtler-pressed, #42526E)","color.background.accent.gray.subtle":"var(--ds-background-accent-gray-subtle, #505F79)","color.background.accent.gray.subtle.hovered":"var(--ds-background-accent-gray-subtle-hovered, #5E6C84)","color.background.accent.gray.subtle.pressed":"var(--ds-background-accent-gray-subtle-pressed, #6B778C)","color.background.accent.gray.bolder":"var(--ds-background-accent-gray-bolder, #42526E)","color.background.accent.gray.bolder.hovered":"var(--ds-background-accent-gray-bolder-hovered, #344563)","color.background.accent.gray.bolder.pressed":"var(--ds-background-accent-gray-bolder-pressed, #253858)","color.background.disabled":"var(--ds-background-disabled, #091e4289)","color.background.input":"var(--ds-background-input, #FAFBFC)","color.background.input.hovered":"var(--ds-background-input-hovered, #EBECF0)","color.background.input.pressed":"var(--ds-background-input-pressed, #FFFFFF)","color.background.inverse.subtle":"var(--ds-background-inverse-subtle, #00000029)","color.background.inverse.subtle.hovered":"var(--ds-background-inverse-subtle-hovered, #0000003D)","color.background.inverse.subtle.pressed":"var(--ds-background-inverse-subtle-pressed, #00000052)","color.background.neutral":"var(--ds-background-neutral, #DFE1E6)","color.background.neutral.hovered":"var(--ds-background-neutral-hovered, #091e4214)","color.background.neutral.pressed":"var(--ds-background-neutral-pressed, #B3D4FF)","color.background.neutral.subtle":"var(--ds-background-neutral-subtle, transparent)","color.background.neutral.subtle.hovered":"var(--ds-background-neutral-subtle-hovered, #091e4214)","color.background.neutral.subtle.pressed":"var(--ds-background-neutral-subtle-pressed, #B3D4FF)","color.background.neutral.bold":"var(--ds-background-neutral-bold, #42526E)","color.background.neutral.bold.hovered":"var(--ds-background-neutral-bold-hovered, #505F79)","color.background.neutral.bold.pressed":"var(--ds-background-neutral-bold-pressed, #344563)","color.background.selected":"var(--ds-background-selected, #DEEBFF)","color.background.selected.hovered":"var(--ds-background-selected-hovered, #B3D4FF)","color.background.selected.pressed":"var(--ds-background-selected-pressed, #4C9AFF)","color.background.selected.bold":"var(--ds-background-selected-bold, #0052CC)","color.background.selected.bold.hovered":"var(--ds-background-selected-bold-hovered, #2684FF)","color.background.selected.bold.pressed":"var(--ds-background-selected-bold-pressed, #0052CC)","color.background.brand.subtlest":"var(--ds-background-brand-subtlest, #B3D4FF)","color.background.brand.subtlest.hovered":"var(--ds-background-brand-subtlest-hovered, #DEEBFF)","color.background.brand.subtlest.pressed":"var(--ds-background-brand-subtlest-pressed, #4C9AFF)","color.background.brand.bold":"var(--ds-background-brand-bold, #0052CC)","color.background.brand.bold.hovered":"var(--ds-background-brand-bold-hovered, #0065FF)","color.background.brand.bold.pressed":"var(--ds-background-brand-bold-pressed, #0747A6)","color.background.brand.boldest":"var(--ds-background-brand-boldest, #0747A6)","color.background.brand.boldest.hovered":"var(--ds-background-brand-boldest-hovered, #0052CC)","color.background.brand.boldest.pressed":"var(--ds-background-brand-boldest-pressed, #0747A6)","color.background.danger":"var(--ds-background-danger, #FFEBE6)","color.background.danger.hovered":"var(--ds-background-danger-hovered, #FFBDAD)","color.background.danger.pressed":"var(--ds-background-danger-pressed, #FF8F73)","color.background.danger.bold":"var(--ds-background-danger-bold, #DE350B)","color.background.danger.bold.hovered":"var(--ds-background-danger-bold-hovered, #FF5630)","color.background.danger.bold.pressed":"var(--ds-background-danger-bold-pressed, #BF2600)","color.background.warning":"var(--ds-background-warning, #FFFAE6)","color.background.warning.hovered":"var(--ds-background-warning-hovered, #FFF0B3)","color.background.warning.pressed":"var(--ds-background-warning-pressed, #FFE380)","color.background.warning.bold":"var(--ds-background-warning-bold, #FFAB00)","color.background.warning.bold.hovered":"var(--ds-background-warning-bold-hovered, #FFC400)","color.background.warning.bold.pressed":"var(--ds-background-warning-bold-pressed, #FF991F)","color.background.success":"var(--ds-background-success, #E3FCEF)","color.background.success.hovered":"var(--ds-background-success-hovered, #ABF5D1)","color.background.success.pressed":"var(--ds-background-success-pressed, #79F2C0)","color.background.success.bold":"var(--ds-background-success-bold, #00875A)","color.background.success.bold.hovered":"var(--ds-background-success-bold-hovered, #57D9A3)","color.background.success.bold.pressed":"var(--ds-background-success-bold-pressed, #00875A)","color.background.discovery":"var(--ds-background-discovery, #EAE6FF)","color.background.discovery.hovered":"var(--ds-background-discovery-hovered, #C0B6F2)","color.background.discovery.pressed":"var(--ds-background-discovery-pressed, #998DD9)","color.background.discovery.bold":"var(--ds-background-discovery-bold, #5243AA)","color.background.discovery.bold.hovered":"var(--ds-background-discovery-bold-hovered, #8777D9)","color.background.discovery.bold.pressed":"var(--ds-background-discovery-bold-pressed, #5243AA)","color.background.information":"var(--ds-background-information, #DEEBFF)","color.background.information.hovered":"var(--ds-background-information-hovered, #B3D4FF)","color.background.information.pressed":"var(--ds-background-information-pressed, #4C9AFF)","color.background.information.bold":"var(--ds-background-information-bold, #0052CC)","color.background.information.bold.hovered":"var(--ds-background-information-bold-hovered, #2684FF)","color.background.information.bold.pressed":"var(--ds-background-information-bold-pressed, #0052CC)","color.blanket":"var(--ds-blanket, #091e4289)","color.blanket.selected":"var(--ds-blanket-selected, #388BFF14)","color.blanket.danger":"var(--ds-blanket-danger, #EF5C4814)","color.skeleton":"var(--ds-skeleton, #F4F5F7)","color.skeleton.subtle":"var(--ds-skeleton-subtle, #091e420a)","elevation.surface":"var(--ds-surface, #FFFFFF)","elevation.surface.hovered":"var(--ds-surface-hovered, #FAFBFC)","elevation.surface.pressed":"var(--ds-surface-pressed, #F4F5F7)","elevation.surface.overlay":"var(--ds-surface-overlay, #FFFFFF)","elevation.surface.overlay.hovered":"var(--ds-surface-overlay-hovered, #FAFBFC)","elevation.surface.overlay.pressed":"var(--ds-surface-overlay-pressed, #F4F5F7)","elevation.surface.raised":"var(--ds-surface-raised, #FFFFFF)","elevation.surface.raised.hovered":"var(--ds-surface-raised-hovered, #FAFBFC)","elevation.surface.raised.pressed":"var(--ds-surface-raised-pressed, #F4F5F7)","elevation.surface.sunken":"var(--ds-surface-sunken, #F4F5F7)","utility.elevation.surface.current":"var(--ds-elevation-surface-current, #FFFFFF)"},p={"color.text":"var(--ds-text, #172B4D)","color.text.accent.lime":"var(--ds-text-accent-lime, #4C6B1F)","color.text.accent.lime.bolder":"var(--ds-text-accent-lime-bolder, #37471F)","color.text.accent.red":"var(--ds-text-accent-red, #DE350B)","color.text.accent.red.bolder":"var(--ds-text-accent-red-bolder, #BF2600)","color.text.accent.orange":"var(--ds-text-accent-orange, #F18D13)","color.text.accent.orange.bolder":"var(--ds-text-accent-orange-bolder, #B65C02)","color.text.accent.yellow":"var(--ds-text-accent-yellow, #FF991F)","color.text.accent.yellow.bolder":"var(--ds-text-accent-yellow-bolder, #FF8B00)","color.text.accent.green":"var(--ds-text-accent-green, #00875A)","color.text.accent.green.bolder":"var(--ds-text-accent-green-bolder, #006644)","color.text.accent.teal":"var(--ds-text-accent-teal, #00A3BF)","color.text.accent.teal.bolder":"var(--ds-text-accent-teal-bolder, #008DA6)","color.text.accent.blue":"var(--ds-text-accent-blue, #0052CC)","color.text.accent.blue.bolder":"var(--ds-text-accent-blue-bolder, #0747A6)","color.text.accent.purple":"var(--ds-text-accent-purple, #5243AA)","color.text.accent.purple.bolder":"var(--ds-text-accent-purple-bolder, #403294)","color.text.accent.magenta":"var(--ds-text-accent-magenta, #E774BB)","color.text.accent.magenta.bolder":"var(--ds-text-accent-magenta-bolder, #DA62AC)","color.text.accent.gray":"var(--ds-text-accent-gray, #505F79)","color.text.accent.gray.bolder":"var(--ds-text-accent-gray-bolder, #172B4D)","color.text.disabled":"var(--ds-text-disabled, #A5ADBA)","color.text.inverse":"var(--ds-text-inverse, #FFFFFF)","color.text.selected":"var(--ds-text-selected, #0052CC)","color.text.brand":"var(--ds-text-brand, #0065FF)","color.text.danger":"var(--ds-text-danger, #DE350B)","color.text.warning":"var(--ds-text-warning, #974F0C)","color.text.warning.inverse":"var(--ds-text-warning-inverse, #172B4D)","color.text.success":"var(--ds-text-success, #006644)","color.text.discovery":"var(--ds-text-discovery, #403294)","color.text.information":"var(--ds-text-information, #0052CC)","color.text.subtlest":"var(--ds-text-subtlest, #7A869A)","color.text.subtle":"var(--ds-text-subtle, #42526E)","color.link":"var(--ds-link, #0052CC)","color.link.pressed":"var(--ds-link-pressed, #0747A6)","color.link.visited":"var(--ds-link-visited, #403294)","color.link.visited.pressed":"var(--ds-link-visited-pressed, #403294)"},f={1:1,card:100,navigation:200,dialog:300,layer:400,blanket:500,modal:510,flag:600,spotlight:700,tooltip:800},C={"border.width":"var(--ds-border-width, 1px)","border.width.0":"var(--ds-border-width-0, 0px)","border.width.indicator":"var(--ds-border-width-indicator, 3px)","border.width.outline":"var(--ds-border-width-outline, 2px)"},g={"border.radius.050":"var(--ds-border-radius-050, 2px)","border.radius":"var(--ds-border-radius, 3px)","border.radius.100":"var(--ds-border-radius-100, 3px)","border.radius.200":"var(--ds-border-radius-200, 8px)","border.radius.300":"var(--ds-border-radius-300, 12px)","border.radius.400":"var(--ds-border-radius-400, 16px)","border.radius.circle":"var(--ds-border-radius-circle, 32032px)"},m={"font.body":'var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.body.UNSAFE_small":'var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.body.large":'var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.body.small":'var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.code":'var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace)',"font.heading.large":'var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.medium":'var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.small":'var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.xlarge":'var(--ds-font-heading-xlarge, normal 600 29px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.xsmall":'var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.xxlarge":'var(--ds-font-heading-xxlarge, normal 500 35px/40px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.heading.xxsmall":'var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)'},x={"font.weight.bold":"var(--ds-font-weight-bold, 700)","font.weight.medium":"var(--ds-font-weight-medium, 500)","font.weight.regular":"var(--ds-font-weight-regular, 400)","font.weight.semibold":"var(--ds-font-weight-semibold, 600)"},v={"font.family.body":'var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.family.brand.body":'var(--ds-font-family-brand-body, "Charlie Text", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.family.brand.heading":'var(--ds-font-family-brand-heading, "Charlie Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',"font.family.code":'var(--ds-font-family-code, ui-monospace, Menlo, "Segoe UI Mono", "Ubuntu Mono", monospace)',"font.family.heading":'var(--ds-font-family-heading, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)'},w=["padding","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","gap","rowGap","columnGap"],y=(e,t)=>Object.keys(t).reduce(((r,i)=>(r[i]=(0,n.iv)({[e]:t[i]}),r)),{}),b=w.reduce(((e,t)=>(e[t]=y(t,o),e)),{}),L=w.reduce(((e,t)=>(e[t]=y(t,o),e)),{}),j=y("backgroundColor",h),M=y("color",p),_=(y("fontWeight",x),y("fontFamily",v),y("font",m),y("font",{medium:'var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',UNSAFE_small:'var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',large:'var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',small:'var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)'})),B=y("fontWeight",{bold:"var(--ds-font-weight-bold, 700)",medium:"var(--ds-font-weight-medium, 500)",regular:"var(--ds-font-weight-regular, 400)",semibold:"var(--ds-font-weight-semibold, 600)"}),k=y(i.kO,u),V=e=>void 0!==u[e]},23604:(e,t,r)=>{"use strict";r.d(t,{sM:()=>d,tu:()=>u});var n=r(21233),i=r(73633);const s={backgroundColor:i.Vu,blockSize:i.pp,borderBlockColor:i.DM,borderBlockEndColor:i.DM,borderBlockEndWidth:i.He,borderBlockStartColor:i.DM,borderBlockStartWidth:i.He,borderBlockWidth:i.He,borderBottomColor:i.DM,borderBottomLeftRadius:i.il,borderBottomRightRadius:i.il,borderBottomWidth:i.He,borderColor:i.DM,borderEndEndRadius:i.il,borderEndStartRadius:i.il,borderInlineColor:i.DM,borderInlineEndColor:i.DM,borderInlineEndWidth:i.He,borderInlineStartColor:i.DM,borderInlineStartWidth:i.He,borderInlineWidth:i.He,borderLeftColor:i.DM,borderLeftWidth:i.He,borderRadius:i.il,borderRightColor:i.DM,borderRightWidth:i.He,borderStartEndRadius:i.il,borderStartStartRadius:i.il,borderTopColor:i.DM,borderTopLeftRadius:i.il,borderTopRightRadius:i.il,borderTopWidth:i.He,borderWidth:i.He,bottom:i.TJ,boxShadow:i.ly,color:i.s6,columnGap:i.p9,font:i.dn,fontFamily:i.Yg,fontWeight:i.p1,gap:i.p9,height:i.pp,inlineSize:i.pp,inset:i.TJ,insetBlock:i.TJ,insetBlockEnd:i.TJ,insetBlockStart:i.TJ,insetInline:i.TJ,insetInlineEnd:i.TJ,insetInlineStart:i.TJ,left:i.TJ,margin:i.TJ,marginBlock:i.TJ,marginBlockEnd:i.TJ,marginBlockStart:i.TJ,marginBottom:i.TJ,marginInline:i.TJ,marginInlineEnd:i.TJ,marginInlineStart:i.TJ,marginLeft:i.TJ,marginRight:i.TJ,marginTop:i.TJ,maxBlockSize:i.pp,maxHeight:i.pp,maxInlineSize:i.pp,maxWidth:i.pp,minBlockSize:i.pp,minHeight:i.pp,minInlineSize:i.pp,minWidth:i.pp,opacity:i.QS,outlineColor:i.DM,outlineOffset:i.p9,outlineWidth:i.He,padding:i.p9,paddingBlock:i.p9,paddingBlockEnd:i.p9,paddingBlockStart:i.p9,paddingBottom:i.p9,paddingInline:i.p9,paddingInlineEnd:i.p9,paddingInlineStart:i.p9,paddingLeft:i.p9,paddingRight:i.p9,paddingTop:i.p9,right:i.TJ,rowGap:i.p9,top:i.TJ,width:i.pp,zIndex:i.qn},o=Symbol("UNSAFE_INTERNAL_styles"),a=/^@media .*$|^::?.*$|^@supports .*$/,l=e=>e&&"object"==typeof e?Array.isArray(e)?e.map(l):(Object.entries(e).forEach((([t,r])=>{if("object"==typeof r&&a.test(t))return void(e[t]=l(r));if(!(t in s))return;const n=s[t][r];e[t]=null!=n?n:r})),e):e,c=e=>{const t=l(e);return{[o]:(0,n.iv)(t)}},d=e=>{if(Array.isArray(e)){const t=[],r=[];for(const n of e){const e=d(n);e.emotion&&t.push(...e.emotion),e.static&&r.push(e.static)}return{emotion:t,static:r.join(" ")}}const t=e,{[o]:r}=t||{};if(r)return{emotion:[r]};if(e){const t=`${e}`;if(t)return{static:t}}return{}};function u(e){return c(e)}},21233:(e,t,r)=>{"use strict";r.d(t,{iv:()=>C,tZ:()=>f});var n=r(67294),i=r(82391),s=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=r(21095),a=r(27278),l={}.hasOwnProperty,c=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);c.Provider;var d=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(c);return e(t,i,r)}))},u=n.createContext({}),A="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return s(t,r,n),(0,a.L)((function(){return function(e,t,r){s(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,r,n)})),null},p=d((function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[A],a=[i],c="";"string"==typeof e.className?c=function(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}(t.registered,a,e.className):null!=e.className&&(c=e.className+" ");var d=(0,o.O)(a,void 0,n.useContext(u));c+=t.key+"-"+d.name;var p={};for(var f in e)l.call(e,f)&&"css"!==f&&f!==A&&(p[f]=e[f]);return p.ref=r,p.className=c,n.createElement(n.Fragment,null,n.createElement(h,{cache:t,serialized:d,isStringTag:"string"==typeof s}),n.createElement(s,p))})),f=(r(8679),function(e,t){var r=arguments;if(null==t||!l.call(t,"css"))return n.createElement.apply(void 0,r);var i=r.length,s=new Array(i);s[0]=p,s[1]=function(e,t){var r={};for(var n in t)l.call(t,n)&&(r[n]=t[n]);return r[A]=e,r}(e,t);for(var o=2;o{"use strict";r.d(t,{Z:()=>n});const n=function(e){return 0!==e&&(1===e||Math.random()*e<=1)}},65711:(e,t,r)=>{"use strict";let n;function i(e){n=e}function s(){return n}function o(e,t){try{if(!n)return 0;const{killswitch:r,rates:i,rules:s,kind:o,autoGeneratedRate:a}=n;if(null!=r&&r.includes(e))return 0;if(null!=i&&null!=i[e])return i[e];if(null!=s)for(let t=0;td,IO:()=>i,MK:()=>o,g6:()=>c,iE:()=>s,sc:()=>u,tJ:()=>A,x2:()=>a,xe:()=>l})},20629:(e,t,r)=>{"use strict";r.d(t,{Gs:()=>A,T$:()=>c,Z3:()=>u,sA:()=>d});var n=r(4942),i=r(30690),s=r(182);const o=[];let a=(e,t)=>{o.push({interactionId:e,data:t})};function l(){o.length=0}function c(e){!function(e){for(const{interactionId:t,data:r}of o)e(t,r);l(),a=e}(e)}function d(e,t,r=performance.now()){t.ufoName&&(t.end=r,function(e,t){a(e,t)}(e,t),l())}const u=new class{constructor(){(0,n.Z)(this,"vcObserver",null)}initialize(e){return null===this.vcObserver&&(this.vcObserver=new s.D({...e,isPostInteraction:!0})),this}start({startTime:e}){var t;null===(t=this.vcObserver)||void 0===t||t.start({startTime:e})}};async function A(e){if(u.vcObserver){var t,r;const n="ufo-experimental",s=await u.vcObserver.getVCResult({start:e.start,stop:e.end,tti:null===(t=e.apdex)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.stopTime,isEventAborted:!!e.abortReason,prefix:n,vc:e.vc}),o=null==s?void 0:s["metrics:vc"];if(!o||null==s||!s[`${n}:vc:clean`])return s;const a=(0,i.o)(e.start,e.end);return e.abortReason||"visible"!==a?s:{...s,"metric:experimental:vc90":o[90]}}return null}},99306:(e,t,r)=>{"use strict";r.d(t,{G6:()=>s,aU:()=>i,uO:()=>o});const n={context:null};function i(e,t){var r,i,s;r=e.replace(/-/g,""),i=Array.from(new Array(16),(()=>Math.floor(16*Math.random()).toString(16))).join(""),s=t,n.context={traceId:r,spanId:i,type:s}}function s(){return n.context||void 0}function o(){n.context=null}},30690:(e,t,r)=>{"use strict";r.d(t,{i:()=>A,o:()=>h});var n=r(39728);const i=[];let s,o=!1;function a(){return"visibilityState"in document?"hidden"===document.visibilityState:document.hidden}const l=50;let c=0;function d(e,t){i[c]={time:null!=t?t:performance.now(),hidden:e},c=(c+1)%l,s=e}function u(){const e=a();e?(s||d(e),s=!0):(s&&d(e),s=!1)}function A(){o||(d(a(),0),(0,n.ak)(window,{type:"pageshow",listener:u}),(0,n.ak)(window,{type:"pagehide",listener:u}),(0,n.ak)(document,{type:"visibilitychange",listener:u}),o=!0)}function h(e,t){if(0===i.length)return"visible";const r=i.length;let n="mixed",s=c,o=c;for(let n=0;n{"use strict";r.d(t,{B5:()=>o,Qe:()=>i,ZP:()=>s});var n=r(67294);const i={current:null},s=(0,n.createContext)(i),o=()=>i},65438:(e,t,r)=>{"use strict";r.d(t,{JG:()=>z,vj:()=>G,kT:()=>q,hz:()=>_,Hc:()=>B,Sj:()=>S,eA:()=>F,lH:()=>k,cV:()=>K,u_:()=>U,gB:()=>W,ui:()=>J,I_:()=>V,pK:()=>y,uJ:()=>Y,oH:()=>C,OB:()=>Z,xz:()=>X,lE:()=>N,LZ:()=>T,qX:()=>R,v3:()=>M});var n=r(55877),i=r(58240),s=r(65711),o=r(20629),a=r(99306);const l=new Map,c=new Map;var d=r(81687),u=r(55537);const A=new Map;var h=r(4942),p=r(182);const f={name:void 0,isAborted:void 0},C=new class{constructor(){(0,h.Z)(this,"lastInteractionFinish",null),(0,h.Z)(this,"reactProfilerTimings",[]),(0,h.Z)(this,"sinkTimeoutId",null),(0,h.Z)(this,"vcObserver",null),(0,h.Z)(this,"vcObserverSSRConfig",null),(0,h.Z)(this,"sinkHandlerFn",(()=>{}))}initializeVCObserver(e){null===this.vcObserver&&(this.vcObserver=new p.D({...e,isPostInteraction:!0}))}startVCObserver({startTime:e}){var t;null===(t=this.vcObserver)||void 0===t||t.start({startTime:e})}setVCObserverSSRConfig(e){this.vcObserverSSRConfig=e}setLastInteractionFinishVCResult(e){this.lastInteractionFinishVCResult=e}sinkHandler(e){this.sinkHandlerFn=e}reset(){this.lastInteractionFinish=null,this.reactProfilerTimings=[],null!=this.sinkTimeoutId&&(clearTimeout(this.sinkTimeoutId),this.sinkTimeoutId=null),this.setVCObserverSSRConfig(null)}hasData(){var e;return(null===(e=this.reactProfilerTimings)||void 0===e?void 0:e.length)>0}async sendPostInteractionLog(){var e,t,r,n,i,o;if(!this.hasData()||!this.lastInteractionFinish||!this.sinkHandlerFn)return this.reset(),void(null!==(n=(0,s.iE)())&&void 0!==n&&null!==(i=n.experimentalInteractionMetrics)&&void 0!==i&&i.enabled&&(null===(o=this.vcObserver)||void 0===o||o.stop()));const a=await(null===(e=this.vcObserver)||void 0===e?void 0:e.getVCResult({start:this.lastInteractionFinish.start,stop:performance.now(),tti:-1,isEventAborted:!!this.lastInteractionFinish.abortReason,prefix:"ufo",...this.vcObserverSSRConfig}));var l;null!==(t=(0,s.iE)())&&void 0!==t&&null!==(r=t.experimentalInteractionMetrics)&&void 0!==r&&r.enabled&&(null===(l=this.vcObserver)||void 0===l||l.stop()),this.sinkHandlerFn({lastInteractionFinish:this.lastInteractionFinish,reactProfilerTimings:this.reactProfilerTimings,postInteractionFinishVCResult:a,lastInteractionFinishVCResult:this.lastInteractionFinishVCResult}),this.reset()}onInteractionComplete({ufoName:e,start:t,end:r,id:n,abortReason:i,abortedByInteractionName:o,routeName:a,type:l,experimentalTTAI:c,experimentalVC90:d}){var u;this.lastInteractionFinish={ufoName:e,start:t,end:r,id:n,abortReason:i,abortedByInteractionName:o,routeName:a,type:l,experimentalTTAI:c,experimentalVC90:d};const A=(null===(u=(0,s.iE)())||void 0===u?void 0:u.timeWindowForLateMutationsInMilliseconds)||3e3;this.sinkTimeoutId=window.setTimeout((async()=>{await this.sendPostInteractionLog()}),A)}addProfilerTimings(e,t,r,n,i,s){null!=this.lastInteractionFinish&&this.reactProfilerTimings.push({type:t,actualDuration:r,baseDuration:n,startTime:i,commitTime:s,labelStack:e})}},g=[],m=new Map,x=6e4,v=15e3,w=[];function y(){const e=(0,d.B5)();if(e.current)return A.get(e.current)}function b(){var e;return(null===(e=(0,s.iE)())||void 0===e?void 0:e.enableAdditionalPerformanceMarks)||window.__REACT_UFO_ENABLE_PERF_TRACING||!1}function L(e,t){var r;const n=[...null!=e?e:[]];return t&&n.push({name:t}),null===(r=n.map((e=>e.name)))||void 0===r?void 0:r.join("/")}function j(e){A.delete(e)}function M(e,t=e){const r=y();!r||"page_load"!==r.type&&"transition"!==r.type||(r.ufoName=e,r.routeName=t)}function _(e,t,r){const n=A.get(e);null!=n&&Object.keys(r).forEach((e=>{n.customData.push({labelStack:t,data:{[e]:r[e]}})}))}function B(e,t,r){const n=A.get(e);if(null!=n&&(n.customTimings.push({labelStack:t,data:r}),b()))for(const[e,n]of Object.entries(r)){const{startTime:r,endTime:i}=n;try{performance.measure(`🛸 ${L(t,e)} [custom_timing]`,{start:r,end:i})}catch(e){}}}function k(e,t,r,n,i=performance.now()){const s=A.get(e);null!=s&&s.marks.push({type:t,name:r,labelStack:n,time:i}),b()&&performance.mark(`🛸 ${L(n,r)} [${t}]`,{startTime:i})}function V(e,t,r,n,i,s=performance.now(),o){const a=A.get(e);if(null!=a&&(a.spans.push({type:t,name:r,labelStack:n,start:i,end:s,size:o}),b()))try{performance.measure(`🛸 ${L(n,r)} [${t}]`,{start:i,end:s})}catch(e){}}function H(e,t,r,n){var i;null!==(i=window.__CRITERION__)&&void 0!==i&&i.addUFOHold&&window.__CRITERION__.addUFOHold(e,L(t),r,n)}function E(e){var t;null!==(t=window.__CRITERION__)&&void 0!==t&&t.removeUFOHold&&window.__CRITERION__.removeUFOHold(e)}function S(e,t,r,i){const o=A.get(e),a=(0,n.v4)();if(null!=o){var l,c;const n=performance.now(),d={labelStack:t,name:r,start:n};return null!==(l=(0,s.iE)())&&void 0!==l&&null!==(c=l.experimentalInteractionMetrics)&&void 0!==c&&c.enabled&&i&&o.holdExpActive.set(a,{...d,start:n}),i||o.holdActive.set(a,{...d,start:n}),H(a,t,r,n),()=>{const i=performance.now();if(b())try{performance.measure(`🛸 ${L(t,r)} [hold]`,{start:n,end:i})}catch(e){}E(a);const s=A.get(e),l=o.holdActive.get(a),c=o.holdExpActive.get(a);null!=s&&(null!=l&&(s.holdInfo.push({...l,end:i}),o.holdActive.delete(a)),null!=c&&(s.holdExpInfo.push({...c,end:i}),o.holdExpActive.delete(a)))}}return()=>{}}function F(e,t,r,n,i){const s=A.get(e);if(null!=s){const e=performance.now();s.holdActive.set(n,{labelStack:t,name:r,start:e,ignoreOnSubmit:i}),H(n,t,r,e)}return()=>{}}function Z(e,t){const r=A.get(e);if(null!=r){const n=performance.now(),i=A.get(e),s=r.holdActive.get(t);null!=i&&null!=s&&(i.holdInfo.push({...s,end:n}),r.holdActive.delete(t),E(t))}}function U(e,t,r,n,i,o,a){var l,c;if(b())try{performance.measure(`🛸 ${L(t)} [react-profiler] ${r}`,{start:o,duration:n})}catch(e){}const d=A.get(e);null!=d?d.reactProfilerTimings.push({labelStack:t,type:r,actualDuration:n,baseDuration:i,startTime:o,commitTime:a}):null!==(l=(0,s.iE)())&&void 0!==l&&null!==(c=l.postInteractionLog)&&void 0!==c&&c.enabled&&C.addProfilerTimings(t,r,n,i,o,a)}function O(e,t){g.push({id:e,data:t})}let I=O;function D(e,t,r=performance.now()){var n,i,o,l;t.end=r;try{performance.measure(`🛸 [${t.type}] ${t.ufoName} [ttai]`,{start:t.start,end:t.end})}catch(e){}if(t.featureFlags&&(t.featureFlags.during=Object.fromEntries(c)),(0,a.uO)(),t.cleanupCallbacks.reverse().forEach((e=>{e()})),null!==(n=(0,s.iE)())&&void 0!==n&&null!==(i=n.vc)&&void 0!==i&&i.stopVCAtInteractionFinish&&(t.vc=(0,u.h)().getVCRawData()),null!==(o=(0,s.iE)())&&void 0!==o&&null!==(l=o.experimentalInteractionMetrics)&&void 0!==l&&l.enabled||j(e),f.name=t.ufoName||"unknown",f.isAborted=null!=t.abortReason,t.ufoName&&I(e,t),b()){const e=new Map;t.reactProfilerTimings.forEach((t=>{const r=null==(n=t.labelStack)||null===(i=n.map((e=>"segmentId"in e?`${e.name}:${e.segmentId}`:`${e.name}`)))||void 0===i?void 0:i.join("/");var n,i;if(r){var s,o,a;const n=null!==(s=e.get(r))&&void 0!==s?s:{labelStack:t.labelStack};n.start=t.startTime<(null!==(o=n.start)&&void 0!==o?o:Number.MAX_SAFE_INTEGER)?t.startTime:n.start,n.end=t.commitTime>(null!==(a=n.end)&&void 0!==a?a:Number.MIN_SAFE_INTEGER)?t.commitTime:n.end,e.set(r,n)}}));try{for(const[,{labelStack:t,start:r,end:n}]of e.entries())performance.measure(`🛸 ${L(t)} [segment_ttai]`,{start:r,end:n})}catch(e){}}try{window.dispatchEvent(new CustomEvent("UFO_FINISH_INTERACTION",{detail:t}))}catch(e){}}function N(e){I===O&&(I=e,g.forEach((t=>{e(t.id,t.data)})),g.length=0)}function T(e){C.sinkHandler(e)}let P=!1;function R(e,t){const r=A.get(e);if(null!=r){const a=0===r.holdActive.size,l=0===r.holdExpActive.size,c=async()=>{var t,n,i,a;if(null!==(t=(0,s.iE)())&&void 0!==t&&null!==(n=t.postInteractionLog)&&void 0!==n&&n.enabled){var l,c;let e,t;if(null!==(l=(0,s.iE)())&&void 0!==l&&null!==(c=l.experimentalInteractionMetrics)&&void 0!==c&&c.enabled){var d;e=null===(d=await(0,o.Gs)(r))||void 0===d?void 0:d["metric:experimental:vc90"];const{start:n,end:i}=r;t=r.abortReason?void 0:Math.round(i-n)}C.onInteractionComplete({...r,experimentalTTAI:t,experimentalVC90:e})}null!==(i=(0,s.iE)())&&void 0!==i&&null!==(a=i.experimentalInteractionMetrics)&&void 0!==a&&a.enabled&&j(e),P=!1};var n,i;a&&(P||(D(e,r,t),P=!0),l&&(null!==(n=(0,s.iE)())&&void 0!==n&&null!==(i=n.experimentalInteractionMetrics)&&void 0!==i&&i.enabled&&(0,o.sA)(e,r,t),c()))}}function Q(e){e.cancelCallbacks.reverse().forEach((e=>{e()}))}function z(e,t){const r=A.get(e);var n,i;null!=r&&(Q(r),r.abortReason=t,D(e,r),null!==(n=(0,s.iE)())&&void 0!==n&&null!==(i=n.experimentalInteractionMetrics)&&void 0!==i&&i.enabled&&((0,o.sA)(e,r),j(e)))}function G(e,t){const r=A.get(e);var n,i;null!=r&&(Q(r),r.abortReason="new_interaction",r.abortedByInteractionName=t,D(e,r),null!==(n=(0,s.iE)())&&void 0!==n&&null!==(i=n.experimentalInteractionMetrics)&&void 0!==i&&i.enabled&&((0,o.sA)(e,r),j(e)))}function K(e,t,r,n,a,d,h,p=null){var g,v;null!==(g=(0,s.iE)())&&void 0!==g&&null!==(v=g.postInteractionLog)&&void 0!==v&&v.enabled&&C.reset();let y=n,b=x;const L=setTimeout((()=>{z(e,"timeout")}),x),j=(0,i.Z)((0,s.g6)("feature_flag_access")),M={id:e,start:n,end:0,ufoName:t,type:r,previousInteractionName:f.name,isPreviousInteractionAborted:!0===f.isAborted,marks:[],customData:[],customTimings:[],spans:[],requestInfo:[],reactProfilerTimings:[],holdInfo:[],holdExpInfo:[],holdActive:new Map,holdExpActive:new Map,measureStart:performance.now(),rate:a,cancelCallbacks:[],metaData:{},errors:[],apdex:[],labelStack:d,routeName:null!=h?h:t,featureFlags:j?{prior:Object.fromEntries(l),during:{}}:void 0,knownSegments:[],cleanupCallbacks:[],awaitReactProfilerCount:0,redirects:[],timerID:L,changeTimeout:function(t){const r=performance.now();if(b-(r-y){z(e,"timeout")}),t);b=t,y=r,this.timerID=n},trace:p};j&&c.clear(),A.set(e,M);const _={onAdd(e){M.knownSegments.push(e)},onRemove(){}};var B,k;!function(e){w.push(e);for(const t of m.values())e.onAdd(t)}(_),M.cleanupCallbacks.push((()=>{!function(e){const t=w.findIndex((t=>t===e));-1!==t&&w.splice(t,1)}(_)})),M.cleanupCallbacks.push((()=>{clearTimeout(M.timerID)})),(0,s.A5)().includes(t)&&F(e,[],t,t,!0),"transition"===r&&((0,u.h)().start({startTime:n}),C.startVCObserver({startTime:n}),null!==(B=(0,s.iE)())&&void 0!==B&&null!==(k=B.experimentalInteractionMetrics)&&void 0!==k&&k.enabled&&o.Z3.start({startTime:n}))}function q(e,t){const r=A.get(e);if(null!=r){r.apdex.push(t);try{var n;performance.measure(`🛸 ${t.key} [bm3_tti]`,{start:null!==(n=t.startTime)&&void 0!==n?n:r.start,end:t.stopTime})}catch(e){}"page_load"!==r.type&&"transition"!==r.type||(r.changeTimeout(v),Z(e,r.ufoName))}}function W(e,t,r){const n=A.get(e);null!=n&&n.requestInfo.push({labelStack:t,...r})}function $(e){return e.map((e=>{return(t=e)&&"string"==typeof t.name&&"string"==typeof t.segmentId?`${e.name}_${e.segmentId}`:e.name;var t})).join("|")}function J(e){const t=$(e);if(!m.get(t)){const r={labelStack:e};m.set(t,r),w.forEach((e=>{e.onAdd(r)}))}}function X(e){const t=$(e),r=m.get(t);r&&(m.delete(JSON.stringify(e)),w.forEach((e=>{e.onRemove(r)})))}const Y=[]},85810:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={current:null}},55537:(e,t,r)=>{"use strict";r.d(t,{h:()=>Z});var n=r(68968),i=r(65711);class s{start(e){}stop(){}getVCRawData(){return null}getVCResult(e){return Promise.resolve({"ufo:vc:noop":!0})}setSSRElement(e){}setReactRootRenderStart(e){}setReactRootRenderStop(e){}}var o=r(182),a=r(4942);class l{constructor(){(0,a.Z)(this,"unorderedEntries",[]),(0,a.Z)(this,"sortedEntriesCache",new Map),this.unorderedEntries=[]}push(e){this.unorderedEntries.push(e),this.sortedEntriesCache.clear()}getCacheKey(e,t){return`${null!=e?e:"null"}_${null!=t?t:"null"}`}getOrderedEntries({start:e,stop:t}){var r;const n=this.getCacheKey(e,t),i=null===(r=this.sortedEntriesCache.get(n))||void 0===r?void 0:r.deref();if(i)return i;const s=this.unorderedEntries.filter((r=>r.time>=(null!=e?e:0)&&r.time<=(null!=t?t:performance.now()))).sort(((e,t)=>e.time-t.time));return this.sortedEntriesCache.set(n,new WeakRef(s)),s}clear(){this.unorderedEntries=[],this.sortedEntriesCache.clear()}}const c=new WeakMap,d=function e(t,r){if(!(r instanceof HTMLElement))return"error";const n=c.get(r);if(n)return n;const i=r.localName,s=e=>{if("function"!=typeof encodeURIComponent)return"";try{return encodeURIComponent(e)}catch(e){return"malformed_value"}},o=(e,t="")=>{if(r&&"function"!=typeof r.getAttribute)return"";const n=r.getAttribute(e);return n?`${t}[${e}="${s(n)}"]`:""},a=!1!==t.dataVC?o("data-vc"):"",l=t.id&&r.id?`#${s(r.id)}`:"",d=t.testId?o("data-testid")||o("data-test-id"):"",u=t.role?o("role"):"",A=Array.from(r.classList).map(s).join("."),h=t.className&&A?`.${A}`:"",p=[l,d,u].filter(Boolean).join(""),f=a||p;if(!f&&!h)return`${r.parentElement?e(t,r.parentElement):"unknown"} > ${i}`;const C=`${i}${f||h}`;return c.set(r,C),C},u=async function(){if("scheduler"in globalThis&&"yield"in globalThis.scheduler)return void await scheduler.yield();let e=()=>{};const t=new Promise((t=>{e=t}));setTimeout(e,0),await t};class A{constructor(e,t=1){this.scaleFactor=t,this.colorCounter=1,this.colorTimeMap=new Map;const r=Math.max(e.width,1),n=Math.max(e.height,1);this.scaledWidth=Math.max(Math.ceil(r*t),1),this.scaledHeight=Math.max(Math.ceil(n*t),1),this.scaleX=this.scaledWidth/r,this.scaleY=this.scaledHeight/n,this.canvas=document.createElement("canvas"),this.canvas.width=this.scaledWidth,this.canvas.height=this.scaledHeight;const i=this.canvas.getContext("2d",{alpha:!1,willReadFrequently:!0,colorSpace:"srgb"});if(!i)throw new Error("Could not get canvas context");this.ctx=i,this.ctx.globalCompositeOperation="source-over",this.clear()}getScaledDimensions(){return{width:this.scaledWidth,height:this.scaledHeight}}clear(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}generateColor(){return h(this.colorCounter++%16777215)}drawRect(e,t){const r=this.generateColor();if(this.colorTimeMap.set(r,t),this.ctx.fillStyle=r,1===this.scaleFactor)return this.ctx.fillRect(e.x,e.y,e.width,e.height);const n=e.x*this.scaleX,i=e.y*this.scaleY,s=e.width*this.scaleX,o=e.height*this.scaleY;this.ctx.fillRect(Math.floor(n),Math.ceil(i),Math.max(s,1),Math.max(o,1))}async getPixelCounts(){const e=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),t=this.colorTimeMap.size,r=await async function(e,t,r){const n=e.data,i=new Uint32Array(r);for(let e=0;e16777215)throw new Error("Input number must be between 0 and 16777215 (inclusive).");return`rgb(${e>>16&255}, ${e>>8&255}, ${255&e})`}const p=async function(e){return await async function({viewport:e,orderedEntries:t,percentiles:r,startTime:i}){const s=new A(e,(0,n.fg)("platform_ufo_canvas_heatmap_full_precision")?1:.25),o=new Map;for(const e of t){if(!("rect"in e.data))continue;const t=e.data.rect,r=e.data.elementName;s.drawRect(t,e.time),o.has(e.time)||o.set(e.time,new Set),o.get(e.time).add(r)}const a=await s.getPixelCounts(),l=s.getScaledDimensions();return function(e,t,r,n,i){const s={};let o=0;const a=r.sort(((e,t)=>e-t)),l=Array.from(e.entries()).sort((([e],[t])=>Number(e)-Number(t)));let c=0,d=new Set;for(const[e,r]of l){o+=r;const l=o/n*100;(t.get(e)||new Set).forEach((e=>d.add(e)));let u=!1;for(;c=a[c];)s[`${a[c]}`]={t:Math.round(Number(e-i)),e:Array.from(d)},c++,u=!0;if(u&&d.clear(),c>=a.length)break}let u={t:0,e:[]};for(let e=0;ethis.isEntryIncluded(e))),o=this.isVCClean(s);if(!o)return{revision:this.revisionNo,"metric:vc90":null,clean:!1};const a=await p({viewport:{width:C(),height:f()},startTime:e,stopTime:t,orderedEntries:s,percentiles:[25,50,75,80,85,90,95,98,99]});return{revision:this.revisionNo,vcDetails:null!=a?a:void 0,clean:o,"metric:vc90":null!==(n=null==a||null===(i=a[90])||void 0===i?void 0:i.t)&&void 0!==n?n:null}}}const m=["wheel","scroll","keydown","resize"],x=["mutation:child-element","mutation:element","mutation:attribute","layout-shift","window:event"],v=["data-drop-target-for-element","draggable"];class w extends g{constructor(){super("fy25.03")}isEntryIncluded(e){if(!x.includes(e.type))return!1;if("mutation:attribute"===e.type){const t=e.data.attributeName;return!(!t||v.includes(t))}return!(function(e){if(e){const t="string"==typeof e.elementName;if(void 0!==e.rect&&t)return!0}return!1}(e.data)&&!e.data.visible)}isVCClean(e){return!e.some((e=>{if("window:event"===e.type){const t=e.data;if(m.includes(t.eventType))return!0}return!1}))}}var y=r(71781),b=r(45204);function L(e){return"number"!=typeof window.devicePixelRatio||1===window.devicePixelRatio?e:new DOMRect(e.x/window.devicePixelRatio,e.y/window.devicePixelRatio,e.width/window.devicePixelRatio,e.height/window.devicePixelRatio)}class j{constructor({onChange:e}){this.mapVisibleNodeRects=new WeakMap,this.intersectionObserver=function({onEntry:e,onObserved:t}){if(!window||"function"!=typeof window.IntersectionObserver)return null;const r=new WeakMap,n=new IntersectionObserver((i=>{const s=[],o=performance.now();i.forEach((t=>{var i;if(!(t.target instanceof HTMLElement&&function(e){return e.isIntersecting&&e.intersectionRect.width>0&&e.intersectionRect.height>0}(t)))return;let o=null,a=null;const l=r.get(t.target);if("function"==typeof l){const e=l({target:t.target,rect:t.intersectionRect});e?"string"==typeof e?o=e:(o=e.type,a=e.mutationData):o="unknown"}else"string"==typeof l&&(o=l);e({target:t.target,rect:t.intersectionRect,time:t.time,type:null!==(i=o)&&void 0!==i?i:"unknown",mutationData:a}),s.push(new WeakRef(t.target)),r.delete(t.target),n.unobserve(t.target)})),null==t||t({time:o,elements:s})}));return{disconnect:()=>{n.disconnect()},unobserve:e=>{n.unobserve(e)},watchAndTag:(e,t)=>{r.set(e,t),n.observe(e)}}}({onEntry:({target:t,rect:r,time:n,type:i,mutationData:s})=>{if(!t)return;const o=function(e){if(!(e instanceof HTMLElement))return!0;try{return e.checkVisibility({visibilityProperty:!0,contentVisibilityAuto:!0,opacityProperty:!0})}catch(e){return!0}}(t),a=this.mapVisibleNodeRects.get(t);this.mapVisibleNodeRects.set(t,r),e({time:n,type:i,elementRef:new WeakRef(t),visible:o,rect:r,previousRect:a,mutationData:s})}}),this.mutationObserver=function({onAttributeMutation:e,onChildListMutation:t,onMutationFinished:r}){return window&&"function"==typeof window.IntersectionObserver?new MutationObserver((n=>{const i=[],s=[],o=[];for(const t of n)if(t.target instanceof HTMLElement)if("attributes"!==t.type){var a,l;"childList"===t.type&&((null!==(a=t.addedNodes)&&void 0!==a?a:[]).forEach((e=>{e instanceof HTMLElement&&i.push(e)})),(null!==(l=t.removedNodes)&&void 0!==l?l:[]).forEach((e=>{e instanceof HTMLElement&&s.push(e)}))),o.push(t.target)}else{var c,d;(null!==(c=t.oldValue)&&void 0!==c?c:void 0)!==(t.attributeName?t.target.getAttribute(t.attributeName):void 0)&&e({target:t.target,attributeName:null!==(d=t.attributeName)&&void 0!==d?d:"unknown"})}t({addedNodes:i,removedNodes:s}),null==r||r({targets:o})})):null}({onChildListMutation:({addedNodes:e,removedNodes:t})=>{var r;const n=null!==(r=null==t?void 0:t.map((e=>this.mapVisibleNodeRects.get(e))))&&void 0!==r?r:[];e.forEach((e=>{var r,i,s;t.find((t=>t.isEqualNode(e)))?null===(i=this.intersectionObserver)||void 0===i||i.watchAndTag(e,"mutation:remount"):(0,y.T)(e)?null===(s=this.intersectionObserver)||void 0===s||s.watchAndTag(e,"mutation:media"):null===(r=this.intersectionObserver)||void 0===r||r.watchAndTag(e,(({rect:e})=>n.some((t=>{return n=e,!(!(r=t)||!n)&&r.width===n.width&&r.height===n.height&&r.x===n.x&&r.y===n.y;var r,n}))?"mutation:element-replacement":"mutation:element"))}))},onAttributeMutation:({target:e,attributeName:t})=>{var r;null===(r=this.intersectionObserver)||void 0===r||r.watchAndTag(e,(({target:e,rect:r})=>{if((0,y.T)(e))return{type:"mutation:media",mutationData:{attributeName:t}};if((0,b.Z)({target:e,attributeName:t,type:"attributes"}))return{type:"mutation:attribute:non-visual-style",mutationData:{attributeName:t}};const n=this.mapVisibleNodeRects.get(e);return n&&(s=n,(i=r)&&s&&i.width===s.width&&i.height===s.height)?{type:"mutation:attribute:no-layout-shift",mutationData:{attributeName:t}}:{type:"mutation:attribute",mutationData:{attributeName:t}};var i,s}))}}),this.performanceObserver=function({onLayoutShift:e}){return window&&"function"==typeof window.PerformanceObserver?new PerformanceObserver((t=>{for(const r of t.getEntries())if("layout-shift"===r.entryType){const t=r.sources.reduceRight(((e,t)=>(e.push({rect:L(t.currentRect),previousRect:L(t.previousRect),node:t.node}),e)),[]);e({time:r.startTime,changedRects:t})}})):null}({onLayoutShift:({time:t,changedRects:r})=>{for(const n of r){const r=n.node;r&&e({time:t,elementRef:new WeakRef(r),visible:!0,rect:n.rect,previousRect:n.previousRect,type:"layout-shift"})}}})}start(){var e,t;null===(e=this.mutationObserver)||void 0===e||e.observe(document.body,{attributeOldValue:!0,attributes:!0,childList:!0,subtree:!0}),null===(t=this.performanceObserver)||void 0===t||t.observe({type:"layout-shift",buffered:!0,durationThreshold:30})}stop(){var e,t,r;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),null===(r=this.performanceObserver)||void 0===r||r.disconnect()}}var M=r(39728);class _{constructor(e){(0,a.Z)(this,"unbindFns",[]),this.onEvent=e.onEvent}bindEvent(e){const t=(0,M.ak)(window,{type:e,listener:t=>{t.isTrusted&&this.onEvent({time:t.timeStamp,type:e,event:t})},options:{passive:!0,once:!0}});this.unbindFns.push(t)}start(){this.bindEvent("wheel"),this.bindEvent("scroll"),this.bindEvent("keydown"),this.bindEvent("resize")}stop(){this.unbindFns.forEach((e=>{e()})),this.unbindFns=[]}}const B={id:!1,testId:!0,role:!1,className:!1,dataVC:!0};class k{constructor(e){var t;(0,a.Z)(this,"viewportObserver",null),(0,a.Z)(this,"windowEventObserver",null),this.entriesTimeline=new l,this.selectorConfig=null!==(t=e.selectorConfig)&&void 0!==t?t:B,this.viewportObserver=new j({onChange:e=>{const{time:t,type:r,elementRef:n,visible:i,rect:s,previousRect:o,mutationData:a}=e;let l="unknown";const c=n.deref();c&&(l=this.getElementName(c)),this.entriesTimeline.push({time:t,type:r,data:{elementName:l,rect:s,previousRect:o,visible:i,attributeName:null==a?void 0:a.attributeName}})}}),this.windowEventObserver=new _({onEvent:({time:e,type:t})=>{this.entriesTimeline.push({time:e,type:"window:event",data:{eventType:t}})}})}start({startTime:e}){var t,r;null===(t=this.viewportObserver)||void 0===t||t.start(),null===(r=this.windowEventObserver)||void 0===r||r.start(),this.entriesTimeline.clear()}stop(){var e,t;null===(e=this.viewportObserver)||void 0===e||e.stop(),null===(t=this.windowEventObserver)||void 0===t||t.stop()}async getVCResult(e){const{start:t,stop:r}=e,n=[],i=new w,s=this.entriesTimeline.getOrderedEntries({start:t,stop:r}),o=await i.calculate({orderedEntries:s,startTime:t,stopTime:r});return o&&n.push(o),n}getElementName(e){return d(this.selectorConfig,e)}}var V,H;class E{constructor(e={}){var t,r;this.newVCObserver=null,((0,n.fg)("platform_ufo_vc_observer_new")||(null===(t=(0,i.iE)())||void 0===t||null===(r=t.vc)||void 0===r?void 0:r.enableVCObserverNew))&&(this.newVCObserver=new k({selectorConfig:e.selectorConfig})),this.oldVCObserver=new o.D(e)}start(e){var t,r;null===(t=this.oldVCObserver)||void 0===t||t.start(e),null===(r=this.newVCObserver)||void 0===r||r.start({startTime:e.startTime})}stop(){var e,t;null===(e=this.oldVCObserver)||void 0===e||e.stop(),null===(t=this.newVCObserver)||void 0===t||t.stop()}getVCRawData(){var e,t;return null!==(e=null===(t=this.oldVCObserver)||void 0===t?void 0:t.getVCRawData())&&void 0!==e?e:null}async getVCResult(e){var t,r,i;const s=await(null===(t=this.oldVCObserver)||void 0===t?void 0:t.getVCResult(e)),o=await(null===(r=this.newVCObserver)||void 0===r?void 0:r.getVCResult({start:e.start,stop:(0,n.fg)("platform_ufo_vc_ttai_on_paint")?e.stop:performance.now()}));return s&&!o?s:{...null!=s?s:{},"ufo:vc:rev":[...null!==(i=null==s?void 0:s["ufo:vc:rev"])&&void 0!==i?i:[],...null!=o?o:[]]}}setSSRElement(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setSSRElement(e)}setReactRootRenderStart(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setReactRootRenderStart(e||performance.now())}setReactRootRenderStop(e){var t;null===(t=this.oldVCObserver)||void 0===t||t.setReactRootRenderStop(e||performance.now())}}let S=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.__SERVER__),F=void 0!=={}&&Boolean((null===(V={})||void 0===V||null===(H=V.env)||void 0===H?void 0:H.REACT_SSR)||!1);function Z(e={}){if(!globalThis.__vcObserver){const t=!(!F&&!S&&"function"==typeof(null===globalThis||void 0===globalThis?void 0:globalThis.WeakRef)&&"function"==typeof(null===globalThis||void 0===globalThis?void 0:globalThis.MutationObserver)&&"function"==typeof(null===globalThis||void 0===globalThis?void 0:globalThis.IntersectionObserver)&&"function"==typeof(null===globalThis||void 0===globalThis?void 0:globalThis.PerformanceObserver));globalThis.__vcObserver=t?new s:new E(e)}return globalThis.__vcObserver}},182:(e,t,r)=>{"use strict";r.d(t,{D:()=>E});var n=r(4942),i=r(68968),s=r(39728);const o="wheel",a="keydown",l="resize";function c(e=window.document){let t;try{t=e.documentElement.clientWidth||0}catch(e){t=0}return Math.max(t,window.innerWidth||0)}function d(e=window.document){let t;try{t=e.documentElement.clientHeight||0}catch(e){t=0}return Math.max(t,window.innerHeight||0)}var u=r(30690);class A{constructor(){(0,n.Z)(this,"types",[]),(0,n.Z)(this,"filters",[]),(0,n.Z)(this,"removedFilters",[]),(0,n.Z)(this,"__combinedTypes",[]),(0,n.Z)(this,"__combinedFilters",[])}VCCalculationMethod(e){return{VC:{},VCBox:{}}}filterComponentsLog({componentsLog:e}){return e}mergeConfig(){this.__combinedTypes=[...this.types,...(null==this?void 0:this.__combinedTypes)||[]];const e=0===this.removedFilters.length?this.__combinedFilters:this.__combinedFilters.filter((e=>!this.removedFilters.includes(e.name)));this.__combinedFilters=[...this.filters,...e]}classifyUpdate({element:e,type:t,tags:r,ignoreReason:n}){return!!this.__combinedTypes.includes(t)&&this.__combinedFilters.every((({filter:e,name:i})=>e({type:t,tags:r,ignoreReason:n})))}}const h=["image","ssr-hydration","editor-lazy-node-view"];class p extends A{VCCalculationMethod({VCParts:e,entries:t,totalPainted:r,componentsLog:n}){const i={},s={};return t.reduce(((t=0,o)=>{let a=o[1]/r+t;const l=o[0],c=Math.round(o[1]/r*100),d=Math.round(100*t);return a=(c+d)/100,e.forEach((e=>{var t;(null===i[e]||void 0===i[e])&&a>=e/100&&(i[e]=l,s[e]=new Set,null===(t=n[l])||void 0===t||t.forEach((t=>{var r;return null===(r=s[e])||void 0===r?void 0:r.add(t.targetName)})))})),a}),0),{VC:i,VCBox:s}}constructor(){super(),(0,n.Z)(this,"revision","fy25.01"),(0,n.Z)(this,"types",["html","text"]),(0,n.Z)(this,"filters",[{name:"default-ignore-reasons",filter:({type:e,ignoreReason:t})=>!t||!h.includes(t)}]),this.mergeConfig()}}const f=new p,C=new class extends p{filterComponentsLog({componentsLog:e,ttai:t}){const r={};return Object.entries(e).forEach((([e,n])=>{const i=Number(e);Math.ceil(t)>=i&&(r[i]=n)})),r}constructor(){super(),(0,n.Z)(this,"revision","fy25.02"),(0,n.Z)(this,"types",["attr"]),(0,n.Z)(this,"filters",[{name:"not-visible",filter:({type:e,ignoreReason:t})=>!(null!=t&&t.includes("not-visible"))&&"non-visual-style"!==t}]),(0,n.Z)(this,"removedFilters",[]),this.mergeConfig()}};function g(){return(0,i.fg)("platform_ufo_disable_ttvc_v1")?[{name:"fy25.02",classifier:C}]:[{name:"fy25.01",classifier:f},{name:"fy25.02",classifier:C}]}const m=["25","50","75","80","85","90","95","98","99"],x=Array.from({length:0});function v(e,t){if(!(t&&e&&e.VC&&e.VCBox))return{};const r={},{VC:n,VCBox:i}=e;for(const e of m)r[e]={t:n[e],e:i[e]||x};return r}class w{constructor({viewport:e,revisions:t,arraySize:r,devToolsEnabled:i}){(0,n.Z)(this,"arraySize",{w:200,h:200}),(0,n.Z)(this,"mapPixelsToHeatmap",((e,t,r,n)=>{const{w:i,h:s}=this.viewport,o=Math.floor(e/i*this.arraySize.w),a=Math.floor(t/s*this.arraySize.h),l=Math.ceil((e+r)/i*this.arraySize.w),c=Math.ceil((t+n)/s*this.arraySize.h);return{l:Math.max(0,o),t:Math.max(0,a),r:Math.min(this.arraySize.w,l),b:Math.min(this.arraySize.h,c)}})),(0,n.Z)(this,"getElementRatio",(e=>{const{r:t,l:r,b:n,t:i}=e;return(t-r)*(n-i)/(this.arraySize.w*this.arraySize.h)})),this.viewport=e,this.revisions=t,r&&(this.arraySize=r),this.heatmaps=new Array(t.length),this.componentsLogs=new Array(t.length),this.vcRatios=new Array(t.length),this.devToolsEnabled=i||!1,t.forEach((({},e)=>{this.heatmaps[e]=this.getCleanHeatmap(),this.componentsLogs[e]={},this.vcRatios[e]={}}))}handleUpdate({time:e,type:t,classification:r,intersectionRect:n,element:i,targetName:s,ignoreReason:o,onError:a,attributeName:l,oldValue:c,newValue:d}){const u=this.mapPixelsToHeatmap(n.left,n.top,n.width,n.height),A=this.applyChangesToHeatMap(u,e,r);!0!==A&&a(A);const h=this.getElementRatio(u);this.revisions.forEach(((t,a)=>{r[a]&&(this.vcRatios[a][s]=h),this.componentsLogs[a][e]||(this.componentsLogs[a][e]=[]),this.componentsLogs[a][e].push({__debug__element:this.devToolsEnabled?new WeakRef(i):null,intersectionRect:n,targetName:s,ignoreReason:o,attributeName:l,oldValue:c,newValue:d})}))}getData(){return{heatmaps:this.heatmaps}}getPayloadShapedData(e){const t=(0,u.o)(e.interactionStart,e.ttai),r=this.processData(e);return this.revisions.map(((n,i)=>{var s;const o={};return e.VCParts.forEach((e=>{o[e]={t:r[i].VC[e]||0,e:Array.from(r[i].VCBox[e]||[])}})),{revision:n.name,vcDetails:o,clean:e.clean,"metric:vc90":e.clean&&!e.isEventAborted&&"visible"===t?null==o||null===(s=o[90])||void 0===s?void 0:s.t:null}}))}processData({VCParts:e,VCCalculationMethods:t,filterComponentsLog:r,ttai:n,ssr:i=0}){return this.heatmaps.map(((s,o)=>{const a={};let l=0,c=this.componentsLogs[o];if(0!==i){var d;const e={__debug__element:new WeakRef(null===(d=window.document)||void 0===d?void 0:d.body),intersectionRect:{top:0,left:0,right:0,bottom:0,x:0,y:0,width:this.viewport.w,height:this.viewport.h,toJSON:()=>({})},targetName:"SSR"};c[i]||(c[i]=[]),c[i].push(e)}for(let e=0;e[parseInt(e[0],10),e[1]])).sort(((e,t)=>e[0]>t[0]?1:-1));c=r[o]({componentsLog:c,ttai:n});const{VC:A,VCBox:h}=t[o]({VCParts:e,componentsLog:c,entries:u,totalPainted:l}),p=u.reduce(((e,[t,r],n)=>{var i,s;const o=r+((null===(i=e.abs[n-1])||void 0===i?void 0:i[1])||0),a=Math.round(o/l*1e3)/10,d=null===(s=c[t])||void 0===s?void 0:s.map((e=>e.targetName));return e.abs.push([t,o]),e.rel.push({time:t,vc:a,elements:d}),e}),{abs:[],rel:[]});return{VC:A,VCBox:h,VCEntries:p,totalPainted:l}}))}applyChangesToHeatMap(e,t,r){const{l:n,t:i,r:s,b:o}=e,a=r.length;for(let e=i;e{t[e]=null})),t}}var y=r(65711),b=r(71781);const L="editorLnvPlaceholder",j="editorLnvPlaceholderReplace";class M{constructor(){(0,n.Z)(this,"placeholders",new Map),(0,n.Z)(this,"getSizeCallbacks",new Map),(0,n.Z)(this,"isAddedPlaceholderMatchingSizeCallbacks",new Map),(0,n.Z)(this,"isAddedReplaceMatchingSizeCallbacks",new Map),(0,n.Z)(this,"intersectionObserverCallback",(({target:e,boundingClientRect:t})=>{var r,n;if(this.intersectionObserver.unobserve(e),!(e instanceof HTMLElement))return;const i=null===(r=e.dataset)||void 0===r?void 0:r[L];if(i&&this.getSizeCallbacks.has(i)){const e=this.getSizeCallbacks.get(i);if(this.getSizeCallbacks.delete(i),!e)return;return void e({x:t.x,y:t.y,width:t.width,height:t.height})}if(i&&this.isAddedPlaceholderMatchingSizeCallbacks.has(i)){const e=this.isAddedPlaceholderMatchingSizeCallbacks.get(i);if(this.isAddedPlaceholderMatchingSizeCallbacks.delete(i),!e)return;const r=this.placeholders.get(i);return r?void e(this.areRectsSameSize(r,t)):void e(!1)}const s=null===(n=e.dataset)||void 0===n?void 0:n[j];if(s&&this.isAddedReplaceMatchingSizeCallbacks.has(s)){const e=this.isAddedReplaceMatchingSizeCallbacks.get(s);if(this.isAddedReplaceMatchingSizeCallbacks.delete(s),!e)return;const r=this.placeholders.get(s);return r?(this.placeholders.delete(s),void e(this.areRectsSameSize(r,t))):void e(!1)}})),this.intersectionObserver=new IntersectionObserver((e=>e.filter((e=>e.intersectionRatio>0)).forEach(this.intersectionObserverCallback)))}shouldHandleAddedNode(e){var t,r;return(null===(t=e.dataset)||void 0===t?void 0:t[L])||(null===(r=e.dataset)||void 0===r?void 0:r[j])}handleAddedNode(e){var t,r;const n=null===(t=e.dataset)||void 0===t?void 0:t[L];if(n)return this.handleAddedPlaceholderNode(e,n);const i=null===(r=e.dataset)||void 0===r?void 0:r[j];return i?this.handleAddedReplaceNode(e,i):Promise.resolve({shouldIgnore:!1})}clear(){this.placeholders.clear(),this.intersectionObserver.disconnect()}handleAddedPlaceholderNode(e,t){return this.isExistingPlaceholder(t)?this.isAddedPlaceholderMatchingSize(e,t).then((e=>({shouldIgnore:e}))):this.registerPlaceholder(e,t).then((()=>({shouldIgnore:!1})))}handleAddedReplaceNode(e,t){return this.isExistingPlaceholder(t)?this.isAddedReplaceMatchingSize(e,t).then((e=>({shouldIgnore:e}))):Promise.resolve({shouldIgnore:!1})}isExistingPlaceholder(e){return this.placeholders.has(e)}registerPlaceholder(e,t){return this.getSize(e,t).then((e=>{this.placeholders.set(t,e)}))}getSize(e,t){return new Promise((r=>{this.getSizeCallbacks.set(t,r),this.intersectionObserver.observe(e)}))}isAddedPlaceholderMatchingSize(e,t){return new Promise((r=>{this.isAddedPlaceholderMatchingSizeCallbacks.set(t,r),this.intersectionObserver.observe(e)}))}isAddedReplaceMatchingSize(e,t){return new Promise((r=>{this.isAddedReplaceMatchingSizeCallbacks.set(t,r),this.intersectionObserver.observe(e)}))}areRectsSameSize(e,t){return Math.abs(e.width-t.width)<1&&Math.abs(e.height-t.height)<1}}var _=r(45204);class B{constructor(){if((0,n.Z)(this,"staticPlaceholders",new Map),(0,n.Z)(this,"callbacks",new Map),(0,n.Z)(this,"getSizeCallbacks",new Map),(0,n.Z)(this,"reactValidateCallbacks",new Map),(0,n.Z)(this,"EQUALITY_THRESHOLD",1),(0,n.Z)(this,"intersectionObserverCallback",(({target:e,boundingClientRect:t})=>{var r;if(null===(r=this.intersectionObserver)||void 0===r||r.unobserve(e),!(e instanceof HTMLElement))return;const n=e.dataset.ssrPlaceholder||"";if(n){if(this.staticPlaceholders.has(n)&&this.callbacks.has(n)){const r=this.callbacks.get(n);if(!r)return;const i=this.staticPlaceholders.get(n),s=this.hasSameSizePosition(i,t);s||this.isDummyRect(i)?r(s):requestAnimationFrame((()=>{const t=e.getBoundingClientRect(),n=this.hasSameSizePosition(i,t);r(n)})),this.callbacks.delete(n)}}else{const r=e.dataset.ssrPlaceholderReplace||"",i=this.reactValidateCallbacks.get(r);if(!i)return;const s=this.staticPlaceholders.get(r),o=this.hasSameSizePosition(s,t);o||this.isDummyRect(s)?i(o):requestAnimationFrame((()=>{const t=e.getBoundingClientRect(),r=this.hasSameSizePosition(s,t);i(r)})),this.staticPlaceholders.delete(n),this.reactValidateCallbacks.delete(n)}})),"function"==typeof IntersectionObserver&&(this.intersectionObserver=new IntersectionObserver((e=>e.filter((e=>e.intersectionRatio>0)).forEach(this.intersectionObserverCallback)))),window.document)try{document.querySelectorAll("[data-ssr-placeholder]").forEach((e=>{var t;if(e instanceof HTMLElement&&null!=e&&null!==(t=e.dataset)&&void 0!==t&&t.ssrPlaceholder){var r,n;let t=-1,i=-1,s=-1,o=-1;const a=null===(r=window.__SSR_PLACEHOLDERS_DIMENSIONS__)||void 0===r?void 0:r[e.dataset.ssrPlaceholder];a&&(t=a.width,i=a.height,s=a.x,o=a.y),this.staticPlaceholders.set(e.dataset.ssrPlaceholder,{width:t,height:i,x:s,y:o}),null===(n=this.intersectionObserver)||void 0===n||n.observe(e)}}))}catch(e){}finally{delete window.__SSR_PLACEHOLDERS_DIMENSIONS__}}clear(){this.staticPlaceholders=new Map,this.callbacks=new Map,this.getSizeCallbacks=new Map,this.reactValidateCallbacks=new Map}isPlaceholder(e){return Boolean(e.dataset.ssrPlaceholder)}isPlaceholderReplacement(e){return Boolean(e.dataset.ssrPlaceholderReplace)}isPlaceholderIgnored(e){return"ssrPlaceholderIgnored"in e.dataset}findNearestPlaceholderContainerIfIgnored(e){if(!this.isPlaceholderIgnored(e))return e;let t=e.parentElement,r=0;for(;t&&r<10;){if(this.isPlaceholder(t)||this.isPlaceholderReplacement(t))return t;t=t.parentElement,r++}return e}checkIfExistedAndSizeMatching(e){const t=(e=this.findNearestPlaceholderContainerIfIgnored(e)).dataset.ssrPlaceholder||"";return new Promise((r=>{var n;this.staticPlaceholders.has(t)?(this.callbacks.set(t,r),null===(n=this.intersectionObserver)||void 0===n||n.observe(e)):r(!1)}))}getSize(e){return new Promise((t=>{var r;this.getSizeCallbacks.set(e.dataset.ssrPlaceholder||"",t),null===(r=this.intersectionObserver)||void 0===r||r.observe(e)}))}validateReactComponentMatchToPlaceholder(e){const t=(e=this.findNearestPlaceholderContainerIfIgnored(e)).dataset.ssrPlaceholderReplace||"";return new Promise((r=>{var n;this.staticPlaceholders.has(t)?(this.reactValidateCallbacks.set(t,r),null===(n=this.intersectionObserver)||void 0===n||n.observe(e)):r(!1)}))}hasSameSizePosition(e,t){return e&&Math.abs(e.x-t.x){this.callbacks.add(e)})),(0,n.Z)(this,"observeElement",((e,t,r,n,s,o=null,a=null)=>{var l;null===(l=this.intersectionObserver)||void 0===l||l.observe(e),(0,i.fg)("platform_ufo_log_attr_mutation_values")?this.observedMutations.set(e,{mutation:t,ignoreReason:n,type:r,attributeName:s,oldValue:o,newValue:a}):this.observedMutations.set(e,{mutation:t,ignoreReason:n,type:r})})),this.selectorConfig={...this.selectorConfig,...e.selectorConfig},this.intersectionObserver=this.getIntersectionObserver(),this.mutationObserver=this.getMutationObserver(),this.ssrPlaceholderHandler=new B,this.editorLnvHandler=new M}isBrowserSupported(){return"function"==typeof window.IntersectionObserver&&"function"==typeof window.MutationObserver}observe(){var e;this.totalTime=0,this.ssr={state:1,reactRootElement:null,renderStart:-1,renderStop:-1},null===(e=this.mutationObserver)||void 0===e||e.observe(document.body,{attributeFilter:["hidden","style","src","class"],attributeOldValue:!0,attributes:!0,childList:!0,subtree:!0})}disconnect(){var e,t;null===(e=this.mutationObserver)||void 0===e||e.disconnect(),null===(t=this.intersectionObserver)||void 0===t||t.disconnect(),this.observedMutations=new WeakMap,this.elementsInView=new Set,this.callbacks=new Set,this.ssr.reactRootElement=null,this.ssrPlaceholderHandler.clear(),this.editorLnvHandler.clear()}getTotalTime(){return this.totalTime}setReactRootElement(e){this.ssr.reactRootElement=e}setReactRootRenderStart(e=performance.now()){this.ssr.renderStart=e,this.ssr.state=2}setReactRootRenderStop(e=performance.now()){this.ssr.renderStop=e}getMutationObserver(){if(!this.isBrowserSupported())return null;const e=(0,y.tJ)();return new MutationObserver((t=>{this.measureStart(),t.forEach((t=>{t.timestamp=void 0===t.timestamp?performance.now():t.timestamp;let r="";if(2===this.ssr.state&&t.timestamp>this.ssr.renderStart&&t.target===this.ssr.reactRootElement&&(this.ssr.state=3,-1===this.ssr.renderStop&&(this.ssr.renderStop=t.timestamp+500),r="ssr-hydration"),3===this.ssr.state&&t.timestamp>this.ssr.renderStart&&t.target===this.ssr.reactRootElement&&(t.timestamp<=this.ssr.renderStop?r="ssr-hydration":this.ssr.state=1),"childList"===t.type)t.addedNodes.forEach((n=>{if((0,b.T)(n)&&(r="image"),n instanceof HTMLElement){if(this.ssrPlaceholderHandler.isPlaceholder(n)||this.ssrPlaceholderHandler.isPlaceholderIgnored(n))return void this.ssrPlaceholderHandler.checkIfExistedAndSizeMatching(n).then((e=>{!1===e&&this.observeElement(n,t,"html",r)}));if(this.ssrPlaceholderHandler.isPlaceholderReplacement(n)||this.ssrPlaceholderHandler.isPlaceholderIgnored(n))return void this.ssrPlaceholderHandler.validateReactComponentMatchToPlaceholder(n).then((e=>{!1===e&&this.observeElement(n,t,"html",r)}));if(e&&this.editorLnvHandler.shouldHandleAddedNode(n))return void this.editorLnvHandler.handleAddedNode(n).then((({shouldIgnore:e})=>{this.observeElement(n,t,"html",e?"editor-lazy-node-view":r)}));this.observeElement(n,t,"html",r)}n instanceof Text&&null!=n.parentElement&&this.observeElement(n.parentElement,t,"text",r)})),t.removedNodes.forEach((e=>{var t;e instanceof Element&&(this.elementsInView.delete(e),null===(t=this.intersectionObserver)||void 0===t||t.unobserve(e))}));else if("attributes"===t.type&&t.target instanceof HTMLElement){var n;const e=t.attributeName,i=null!==(n=t.oldValue)&&void 0!==n?n:void 0,s=e?t.target.getAttribute(e):void 0;i!==s&&((0,_.Z)(t)&&(r="non-visual-style"),(0,b.T)(t.target)&&(r="image"),this.observeElement(t.target,t,"attr",r,e,i,s))}}))}))}getElementName(e){try{const t=e.localName,r=e.getAttribute("data-vc"),n=this.selectorConfig.dataVC&&r?`[data-vc="${r}"]`:"",i=this.selectorConfig.id&&e.id?`#${e.id}`:"";let s=this.selectorConfig.testId?e.getAttribute("data-testid")||e.getAttribute("data-test-id"):"";s=s?`[testid=${s}]`:"";let o=this.selectorConfig.role?e.getAttribute("role"):"";o=o?`[role=${o}]`:"";let a=this.selectorConfig.className?Array.from(e.classList).join("."):"";a=""===a?"":`.${a}`;const l=n||[i,s,o].join("");let c="";return c=""===l&&""===a?`${e.parentElement?this.getElementName(e.parentElement):"unknown"} > ${t}`:[t,l||a].join(""),c}catch(e){return"error"}}getIntersectionObserver(){return this.isBrowserSupported()?new IntersectionObserver((e=>{this.measureStart(),e.forEach((({isIntersecting:e,intersectionRect:t,target:r})=>{const n=this.observedMutations.get(r);if(this.observedMutations.delete(r),e&&t.width>0&&t.height>0){if(!(r instanceof HTMLElement))return;if(null==n||!n.mutation)return;(function(e){return!e||"function"!=typeof e.checkVisibility||e.checkVisibility({contentVisibilityAuto:!0,opacityProperty:!0,visibilityProperty:!0})})(r)||(n.ignoreReason="not-visible"),this.callbacks.forEach((e=>{let i;try{i=this.getElementName(r)}catch(e){i="error"}e(n.mutation.timestamp||performance.now(),t,i,r,n.type,n.ignoreReason,n.attributeName,n.oldValue,n.newValue)})),this.elementsInView.add(r)}else this.elementsInView.delete(r)})),this.measureStop()})):null}measureStart(){this._startMeasureTimestamp=performance.now()}measureStop(){-1!==this._startMeasureTimestamp&&(this.totalTime+=performance.now()-this._startMeasureTimestamp,this._startMeasureTimestamp=-1)}}const V="scroll",H="error";class E{constructor(e){(0,n.Z)(this,"abortReason",{reason:null,info:"",timestamp:-1,blocking:!1}),(0,n.Z)(this,"outOfBoundaryInfo",""),(0,n.Z)(this,"viewport",{w:0,h:0}),(0,n.Z)(this,"arraySize",0),(0,n.Z)(this,"multiHeatmap",null),(0,n.Z)(this,"componentsLog",{}),(0,n.Z)(this,"vcRatios",{}),(0,n.Z)(this,"active",!1),(0,n.Z)(this,"totalTime",0),(0,n.Z)(this,"startTime",0),(0,n.Z)(this,"_startMeasureTimestamp",-1),(0,n.Z)(this,"ssr",{reactRendered:-1}),(0,n.Z)(this,"unbind",[]),(0,n.Z)(this,"getAbortReasonInfo",(()=>{if(null===this.abortReason.reason)return null;const e=""!==this.abortReason.info?` ${this.abortReason.info}`:"";return`${this.abortReason.reason}${e}`})),(0,n.Z)(this,"getVCRawData",(()=>{if(this.measureStart(),!this.active)return this.measureStop(),null;this.stop();const e=this.getAbortReasonInfo();return this.measureStop(),{abortReasonInfo:e,abortReason:{...this.abortReason},heatmap:this.heatmap,heatmapNext:this.heatmapNext,multiHeatmap:this.multiHeatmap,outOfBoundaryInfo:this.outOfBoundaryInfo,totalTime:Math.round(this.totalTime+this.observers.getTotalTime()),componentsLog:{...this.componentsLog},viewport:{...this.viewport},oldDomUpdatesEnabled:this.oldDomUpdatesEnabled,devToolsEnabled:this.devToolsEnabled,ratios:this.vcRatios}})),(0,n.Z)(this,"getVCResult",(async({start:e,stop:t,tti:r,prefix:n,ssr:s,vc:o,isEventAborted:a})=>{const l=performance.now(),c=void 0!==n&&""!==n?`${n}:`:"",d=void 0!==o?o:this.getVCRawData();if(null===d)return{};const{abortReason:A,abortReasonInfo:h,heatmap:p,heatmapNext:f,outOfBoundaryInfo:C,totalTime:x,componentsLog:w,viewport:y,devToolsEnabled:b,ratios:L,multiHeatmap:j}=d;if(null!==h&&A.blocking){try{b&&!this.isPostInteraction&&(window.__vcNotAvailableReason=h)}catch(e){}return{[`${c}vc:state`]:!1,[`${c}vc:abort:reason`]:h,[`${c}vc:abort:timestamp`]:A.timestamp}}const M=(0,i.fg)("platform_ufo_disable_ttvc_v1"),_=M?{VC:{},VCBox:{},VCEntries:{abs:[],rel:[],speedIndex:-1},totalPainted:-1}:E.calculateVC({heatmap:p,ssr:s,componentsLog:{...w},viewport:y}),{VC:B,VCBox:k,VCEntries:V,totalPainted:H}=_,S={};Object.entries(this.componentsLog).forEach((([e,r])=>{const n=Number(e);t>n&&(S[n]=r)}));const F=E.calculateVC({heatmap:f,ssr:s,componentsLog:S,viewport:y});try{this.isPostInteraction||E.VCParts.forEach((t=>{if(M){const r=F.VC[t];null!=r&&(performance.measure(`VC${t}`,{start:e,duration:r}),performance.measure(`VC_Next${t}`,{start:e,duration:r}))}else{const r=B[t];null!=r&&performance.measure(`VC${t}`,{start:e,duration:r});const n=F.VC[t];null!=n&&performance.measure(`VC_Next${t}`,{start:e,duration:n})}}))}catch(e){}const Z=C?{[`${c}vc:oob`]:C}:{},U=performance.now();try{if(!this.isPostInteraction&&b){const n=M?void 0:{entries:V.rel,log:w,metrics:{75:B[75],80:B[80],85:B[85],90:B[90],95:B[95],98:B[98],99:B[99],tti:r,ttai:t-e},start:e,stop:t,heatmap:p,ratios:L},i={entries:F.VCEntries.rel,log:w,metrics:{75:F.VC[75],80:F.VC[80],85:F.VC[85],90:F.VC[90],95:F.VC[95],98:F.VC[98],99:F.VC[99],tti:r,ttai:t-e},start:e,stop:t,heatmap:f,ratios:L};M?(window.__vc=i,window.__vcNext=i):(window.__vc=n,window.__vcNext=i),window.dispatchEvent(new CustomEvent("vcReady",{detail:{log:(O=w,Object.fromEntries(Object.entries(O).map((([e,t])=>[Number(e),t.map((e=>{const{__debug__element:t,...r}=e;return r}))])))),entries:M?F.VCEntries.rel:V.rel}}))}}catch(e){}var O;const I=!h,D=function({fullPrefix:e,interaction:t,isVCClean:r,isEventAborted:n,multiHeatmap:s,ssr:o,calculatedVC:a,calculatedVCNext:l}){if(!(0,i.fg)("platform_ufo_vc_observer_new"))return s?{[`${e}vc:rev`]:null==s?void 0:s.getPayloadShapedData({VCParts:m.map((e=>parseInt(e))),VCCalculationMethods:g().map((({classifier:e})=>e.VCCalculationMethod)),filterComponentsLog:g().map((({classifier:e})=>e.filterComponentsLog)),isEventAborted:n,interactionStart:t.start,ttai:t.end,ssr:o,clean:r})}:null;const c=(0,u.o)(t.start,t.end),d=r&&!n&&"visible"===c,A={revision:"fy25.02",clean:r,"metric:vc90":d?l.VC[90]:null,vcDetails:v(l,d)};return(0,i.fg)("platform_ufo_disable_ttvc_v1")?{[`${e}vc:rev`]:[A]}:{[`${e}vc:rev`]:[{revision:"fy25.01",clean:r,"metric:vc90":d?a.VC[90]:null,vcDetails:v(a,d)},A]}}({fullPrefix:c,interaction:{start:e,end:t},isVCClean:I,multiHeatmap:j,ssr:s,calculatedVC:{VC:B,VCBox:k},calculatedVCNext:{VC:F.VC,VCBox:F.VCBox},isEventAborted:a}),N=(0,i.fg)("ufo-calc-speed-index"),T={"ufo:speedIndex":M?F.VCEntries.speedIndex:V.speedIndex,"ufo:next:speedIndex":F.VCEntries.speedIndex};return M?{[`${c}vc:size`]:y,[`${c}vc:time`]:Math.round(x+(U-l)),[`${c}vc:ratios`]:L,...Z,[`${c}vc:ignored`]:this.getIgnoredElements(w),...D,...N?T:{}}:{"metrics:vc":B,[`${c}vc:state`]:!0,[`${c}vc:clean`]:I,[`${c}vc:dom`]:k,[`${c}vc:updates`]:(0,i.fg)("platform_ufo_vc_observer_new")?void 0:V.rel.slice(0,50),[`${c}vc:size`]:y,[`${c}vc:time`]:Math.round(x+(U-l)),[`${c}vc:total`]:H,[`${c}vc:ratios`]:L,...Z,[`${c}vc:next`]:F.VC,[`${c}vc:next:updates`]:(0,i.fg)("platform_ufo_vc_observer_new")?void 0:F.VCEntries.rel.slice(0,50),[`${c}vc:next:dom`]:F.VCBox,[`${c}vc:ignored`]:this.getIgnoredElements(w),...D,...N?T:{}}})),(0,n.Z)(this,"handleUpdate",((e,t,r,n,s,o,a,l,c)=>{this.measureStart(),this.legacyHandleUpdate(e,t,r,n,s,o,a,l,c),(0,i.fg)("platform_ufo_vc_observer_new")||this.onViewportChangeDetected({timestamp:e,intersectionRect:t,targetName:r,element:n,type:s,ignoreReason:o,attributeName:a,oldValue:l,newValue:c}),this.measureStop()})),(0,n.Z)(this,"legacyHandleUpdate",((e,t,r,n,s,o,a,l,c)=>{if(null===this.abortReason.reason||!1===this.abortReason.blocking){const d=Math.round(e-this.startTime),u=this.mapPixelsToHeatmap(t.left,t.top,t.width,t.height);this.vcRatios[r]=this.getElementRatio(u),o||this.applyChangesToHeatMap(u,d,this.heatmapNext),(0,i.fg)("platform_ufo_disable_ttvc_v1")||o&&"not-visible"!==o||"attr"===s||this.applyChangesToHeatMap(u,d,this.heatmap),this.componentsLog[d]||(this.componentsLog[d]=[]),this.componentsLog[d].push({__debug__element:this.devToolsEnabled?new WeakRef(n):null,type:s,intersectionRect:t,targetName:r,ignoreReason:o,attributeName:a,oldValue:l,newValue:c})}})),(0,n.Z)(this,"onViewportChangeDetected",(({element:e,type:t,ignoreReason:r,timestamp:n,targetName:i,intersectionRect:s,attributeName:o,oldValue:a,newValue:l})=>{if(null===this.multiHeatmap)return;const c=Math.round(n-this.startTime),d=g().map((n=>n.classifier.classifyUpdate({element:e,type:t,ignoreReason:r})),[]);this.multiHeatmap.handleUpdate({time:c,targetName:i,intersectionRect:s,type:t,element:e,classification:d,onError:e=>{this.setAbortReason(H,e.time,e.error)},attributeName:o,oldValue:a,newValue:l})})),(0,n.Z)(this,"mapPixelsToHeatmap",((e,t,r,n)=>{const{w:i,h:s}=this.viewport,o=Math.floor(e/i*this.arraySize),a=Math.floor(t/s*this.arraySize),l=Math.ceil((e+r)/i*this.arraySize),c=Math.ceil((t+n)/s*this.arraySize);if(""===this.outOfBoundaryInfo){let i="";l>this.arraySize&&(i+=` r ${l} ! ${e} ${r}`),c>this.arraySize&&(i+=` r ${l} ! ${t} ${n}`),this.outOfBoundaryInfo=i}return{l:Math.max(0,o),t:Math.max(0,a),r:Math.min(this.arraySize,l),b:Math.min(this.arraySize,c)}})),(0,n.Z)(this,"getElementRatio",(e=>{const{r:t,l:r,b:n,t:i}=e;return(t-r)*(n-i)/(this.arraySize*this.arraySize)})),(0,n.Z)(this,"abortReasonCallback",((e,t)=>{switch(e){case"wheel":this.setAbortReason(V,t);break;case"keydown":this.setAbortReason("keypress",t);break;case"resize":this.setAbortReason("resize",t)}})),(0,n.Z)(this,"attachAbortListeners",(()=>{var e;this.detachAbortListeners();let t=function(e,t,r){const n=(0,s.ak)(e,{type:o,listener:e=>{r(o,e.timeStamp)},options:{passive:!0,once:!0}}),i=(0,s.ak)(e,{type:a,listener:e=>{r(a,e.timeStamp)},options:{once:!0}}),u=(0,s.ak)(e,{type:l,listener:e=>{c()===t.w&&d()===t.h||(r(l,e.timeStamp),u())}});return[n,i,u]}(window,this.viewport,this.abortReasonCallback);var r;null!==(e=window)&&void 0!==e&&e.__SSR_ABORT_LISTENERS__&&(Object.entries(window.__SSR_ABORT_LISTENERS__.aborts).forEach((([e,t])=>{t&&this.abortReasonCallback(e,t)})),t=t.concat(window.__SSR_ABORT_LISTENERS__.unbinds),null===(r=window)||void 0===r||delete r.__SSR_ABORT_LISTENERS__),this.unbind=t})),this.arraySize=e.heatmapSize||200,this.devToolsEnabled=e.devToolsEnabled||!1,this.oldDomUpdatesEnabled=e.oldDomUpdates||!1,this.observers=new k({selectorConfig:e.selectorConfig||{id:!1,testId:!1,role:!1,className:!0,dataVC:!0}}),this.heatmap=(0,i.fg)("platform_ufo_disable_ttvc_v1")?[]:this.getCleanHeatmap(),this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new w({viewport:this.viewport,revisions:g(),devToolsEnabled:this.devToolsEnabled}),this.isPostInteraction=e.isPostInteraction||!1}start({startTime:e}){this.active=!0,this.observers.isBrowserSupported()?(this.setViewportSize(),this.resetState(),this.startTime=e,this.attachAbortListeners(),this.observers.subscribeResults(this.handleUpdate),this.observers.observe()):this.setAbortReason("not-supported",e)}stop(){this.observers.disconnect(),this.detachAbortListeners()}getIgnoredElements(e){return Object.values(e).flat().filter((({ignoreReason:e})=>Boolean(e))).map((({targetName:e,ignoreReason:t})=>({targetName:e,ignoreReason:t})))}static calculateVC({heatmap:e,ssr:t=0,componentsLog:r,viewport:n}){const s={};let o=0;if(0!==t){var a;const e={__debug__element:new WeakRef(null===(a=window.document)||void 0===a?void 0:a.body),intersectionRect:{top:0,left:0,right:0,bottom:0,x:0,y:0,width:n.w,height:n.h,toJSON:()=>({})},targetName:"SSR"};r[t]||(r[t]=[]),r[t].push(e)}e.forEach((e=>{e.forEach((e=>{const r=Math.floor(0===e&&0!==t?t:e);o+=0!==r?1:0,0!==r&&(s[r]=s[r]?s[r]+1:1)}))}));const l=Object.entries(s).map((e=>[parseInt(e[0],10),e[1]])).sort(((e,t)=>e[0]>t[0]?1:-1)),c=E.makeVCReturnObj(),d=E.makeVCReturnObj(),u=(0,i.fg)("ufo-calc-speed-index");l.reduce(((e=0,t)=>{let n=t[1]/o+e;const i=Math.round(t[1]/o*100),s=Math.round(100*e);n=(i+s)/100;const a=t[0];return E.VCParts.forEach((e=>{const t=parseInt(e,10);var i;(null===c[e]||void 0===c[e])&&n>=t/100&&(c[e]=a,d[e]=[...new Set(null===(i=r[a])||void 0===i?void 0:i.filter((e=>!e.ignoreReason)).map((e=>e.targetName)))])})),n}),0);const A=l.reduce(((e,[t,n],i)=>{var s,a,l,c;const d=n+((null===(s=e.abs[i-1])||void 0===s?void 0:s[1])||0),A=Math.round(d/o*1e3)/10,h=[...new Set(null===(a=r[t])||void 0===a?void 0:a.filter((e=>!e.ignoreReason)).map((e=>e.targetName)))],p=(A-(null!==(l=null===(c=e.rel[i-1])||void 0===c?void 0:c.vc)&&void 0!==l?l:0))/100;if(u){const r=t*p;e.speedIndex+=r}return e.abs.push([t,d]),e.rel.push({time:t,vc:A,elements:h}),e}),{abs:[],rel:[],speedIndex:0});return A.speedIndex=Math.round(A.speedIndex),{VC:c,VCBox:d,VCEntries:A,totalPainted:o}}setSSRElement(e){this.observers.setReactRootElement(e)}setReactRootRenderStart(e=performance.now()){this.observers.setReactRootRenderStart(e)}setReactRootRenderStop(e=performance.now()){this.observers.setReactRootRenderStop(e)}setAbortReason(e,t,r=""){null!==this.abortReason.reason&&!1!==this.abortReason.blocking||(this.abortReason.reason=e,this.abortReason.info=r,this.abortReason.timestamp=t,this.abortReason.blocking=e!==V,this.abortReason.blocking&&this.detachAbortListeners())}resetState(){this.abortReason={reason:null,info:"",timestamp:-1,blocking:!1},this.detachAbortListeners(),this.heatmap=(0,i.fg)("platform_ufo_disable_ttvc_v1")?[]:this.getCleanHeatmap(),this.heatmapNext=this.getCleanHeatmap(),this.multiHeatmap=new w({viewport:this.viewport,revisions:g(),devToolsEnabled:this.devToolsEnabled}),this.totalTime=0,this.componentsLog={},this.vcRatios={}}getCleanHeatmap(){return Array(this.arraySize).fill("").map((()=>Array(this.arraySize).fill(0)))}setViewportSize(){this.viewport.w=c(),this.viewport.h=d()}applyChangesToHeatMap(e,t,r){const{l:n,t:i,r:s,b:o}=e,a=r;for(let e=i;e{e[t]=null})),e}detachAbortListeners(){this.unbind.forEach((e=>e())),this.unbind=[]}measureStart(){this._startMeasureTimestamp=performance.now()}measureStop(){-1!==this._startMeasureTimestamp&&(this.totalTime+=performance.now()-this._startMeasureTimestamp,this._startMeasureTimestamp=-1)}}(0,n.Z)(E,"VCParts",["25","50","75","80","85","90","95","98","99"])},71781:(e,t,r)=>{"use strict";r.d(t,{T:()=>i}),r(67294);const n="data-media-vc-wrapper";function i(e){for(;e;){if(e instanceof Element&&e.hasAttribute(n))return!0;e=e.parentNode}return!1}},45204:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=function({target:e,attributeName:t}){return e instanceof Element&&("class"===t||"style"===t)&&"true"===e.getAttribute("data-vc-nvs")}},68968:(e,t,r)=>{"use strict";r.d(t,{fg:()=>z});var n=r(4942),i=r(90250),s=r(56387);const o="@all-features";class a{constructor(){(0,n.Z)(this,"eventToValue",new Map),this.emitter=new s.EventEmitter2}onGateUpdated(e,t,r,n){const i=r(e,{...n,fireGateExposure:!1});void 0===this.eventToValue.get(t)&&this.eventToValue.set(t,i);const s=()=>{const i=r(e,{...n,fireGateExposure:!1});this.eventToValue.get(t)!==i&&(this.eventToValue.set(t,i),t(i))};return this.emitter.on(e,s),()=>{this.emitter.off(e,s)}}onExperimentValueUpdated(e,t,r,n,i,s){const o=`${e}.${t}`,a=i(e,t,r,{...s,fireExperimentExposure:!1});void 0===this.eventToValue.get(n)&&this.eventToValue.set(n,a);const l=()=>{const o=i(e,t,r,{...s,fireExperimentExposure:!1});this.eventToValue.get(n)!==o&&(this.eventToValue.set(n,o),n(o))};return this.emitter.on(o,l),()=>{this.emitter.off(o,l)}}onAnyUpdated(e){return this.emitter.on(o,e),()=>{this.emitter.off(o,e)}}anyUpdated(){this.emitter.emit(o),this.emitter.eventNames().filter((e=>e!==o)).forEach((e=>{this.emitter.emit(e)}))}}var l=r(38031);let c=function(e){return e.Error="Error",e.LocalOverride="LocalOverride",e.Unrecognized="Unrecognized",e.Uninitialized="Uninitialized",e.NetworkNotModified="NetworkNotModified",e.Network="Network",e.InvalidBootstrap="InvalidBootstrap",e.Bootstrap="Bootstrap",e.Cache="Cache",e.Unknown="Unknown",e}({}),d=function(e){return e.Development="development",e.Staging="staging",e.Production="production",e}({}),u=function(e){return e.COMMERCIAL="commercial",e.FEDRAMP_MODERATE="fedramp-moderate",e}({});const A=e=>({perimeter:(0,l.n)()?u.FEDRAMP_MODERATE:u.COMMERCIAL,...e}),h=(e,t)=>{if(!e&&!t)return!0;if(!e||!t)return!1;const r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;const i=([e],[t])=>e.localeCompare(t);r.sort(i),n.sort(i);for(let e=0;e{const r={customIDs:e,custom:t};return e.atlassianAccountId&&(r.userID=e.atlassianAccountId),r},f=Object.entries(c).map((([e,t])=>[e.toLowerCase(),t])),C=e=>{var t,r,n;const i=e.reason.toLowerCase();return{reason:null!==(t=null===(r=f.find((([e])=>i.includes(e))))||void 0===r?void 0:r[1])&&void 0!==t?t:c.Unknown,time:null!==(n=e.receivedAt)&&void 0!==n?n:Date.now()}};class g{static fromExperiment(e){var t,r;const n=new g(e.name,e.value,e.ruleID,C(e.details),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null!==(r=e.groupName)&&void 0!==r?r:void 0);return n.experiment=e,n}constructor(e,t,r,n,i=[],s="",o=null){this.value=t,this._name=e,this._ruleID=r,this._secondaryExposures=i,this._allocatedExperimentName=s,this._evaluationDetails=n,this._onDefaultValueFallback=o}get(e,t,r){var n;const i=this.getValue(e,t);if(null==i)return t;const s=Array.isArray(t)?"array":typeof t,o=Array.isArray(i)?"array":typeof i;var a;return r?r(i)?(this.fireExposure(e),i):(null===(a=this._onDefaultValueFallback)||void 0===a||a.call(this,this,e,s,o),t):null==t||s===o?(this.fireExposure(e),i):(null===(n=this._onDefaultValueFallback)||void 0===n||n.call(this,this,e,s,o),t)}getValue(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e]?t:(this.fireExposure(e),this.value[e]))}fireExposure(e){this.experiment&&this.experiment.get(e)}}class m{static fromLayer(e){var t,r,n,i;return new m(e.name,e.__value,e.ruleID,C(e.details),((t,r)=>e.get(r)),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null===(r=e.__evaluation)||void 0===r?void 0:r.undelegated_secondary_exposures,null===(n=e.__evaluation)||void 0===n?void 0:n.allocated_experiment_name,null===(i=e.__evaluation)||void 0===i?void 0:i.explicit_parameters)}constructor(e,t,r,n,i=null,s=[],o=[],a="",l=[]){this._logParameterFunction=i,this._name=e,this._value=JSON.parse(JSON.stringify(null!=t?t:{})),this._ruleID=null!=r?r:"",this._evaluationDetails=n,this._secondaryExposures=s,this._undelegatedSecondaryExposures=o,this._allocatedExperimentName=a,this._explicitParameters=l}get(e,t,r){const n=this._value[e];if(null==n)return t;const i=()=>(this._logLayerParameterExposure(e),n);return r?r(n)?i():t:null==t||typeof n==typeof t&&Array.isArray(t)===Array.isArray(n)?i():t}getValue(e,t){null==t&&(t=null);const r=this._value[e];return null!=r&&this._logLayerParameterExposure(e),null!=r?r:t}_logLayerParameterExposure(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}const x="4.25.0";class v extends Error{constructor(e){super(e)}}class w{static async fetchClientSdk(e){const{targetApp:t}=e,r=`/api/v2/frontend/clientSdkKey/${t}`;try{return await this.fetchRequest(r,"GET",e)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve client sdk key")}}static async fetchExperimentValues(e,t,r){const n={identifiers:t,customAttributes:r,targetApp:e.targetApp};try{return await this.fetchRequest("/api/v2/frontend/experimentValues","POST",e,n)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve experiment values")}}static async handleResponseError(e){if(!e.ok){const t=await e.text();throw new v(`Non 2xx response status received, status: ${e.status}, body: ${JSON.stringify(t)}`)}if(204===e.status)throw new v("Unexpected 204 response")}static async extractResponseBody(e){const t=await e.text();return JSON.parse(t)}static getBaseUrl(e,t=!1,r){if(t)return"/gateway/api/flags";if(r===u.FEDRAMP_MODERATE)switch(e){case d.Production:return"https://api.atlassian-us-gov-mod.com/flags";case d.Staging:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw new Error(`Invalid environment "${e}" for "${r}" perimeter`)}else{if(r!==u.COMMERCIAL)throw new Error(`Invalid perimeter "${r}"`);switch(e){case d.Development:return"https://api.dev.atlassian.com/flags";case d.Staging:return"https://api.stg.atlassian.com/flags";default:return"https://api.atlassian.com/flags"}}}static async fetchRequest(e,t,r,n){const i=w.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter),s=r.fetchTimeoutMs||5e3;let o;if(AbortSignal.timeout)o=AbortSignal.timeout(s);else if(AbortController){const e=new AbortController;o=e.signal,setTimeout((()=>e.abort()),s)}const a=await fetch(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":x,"X-API-KEY":r.apiKey},signal:o,...n&&{body:JSON.stringify(n)}});return await this.handleResponseError(a),await this.extractResponseBody(a)}}class y extends i.DataAdapterCore{constructor(){super("NoFetchDataAdapter","nofetch"),(0,n.Z)(this,"bootstrapResult",null)}setBootstrapData(e){this.bootstrapResult=e?{source:"Bootstrap",data:JSON.stringify(e),receivedAt:Date.now(),stableID:i.StableID.get(this._getSdkKey()),fullUserHash:null}:null}async prefetchData(e,t){}async getDataAsync(e,t,r){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(t)}}getDataSync(e){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(e)}}async _fetchFromNetwork(e,t,r){return null}_getCacheKey(e){const t=(0,i._getStorageKey)(this._getSdkKey(),e);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${t}`}_isCachedResultValidFor204(e,t){return!1}setDataLegacy(e,t){super.setData(e,t)}toJSON(){const e={...this};return delete e._options,delete e._inMemoryCache,delete e.bootstrapResult,e}}var b=r(13328);const L="LocalOverride:Recognized",j="STATSIG_OVERRIDES";class M{constructor(){this._overrides={gates:{},configs:{},layers:{}}}parseStoredOverrides(e){try{const e=window.localStorage.getItem(j);return e?JSON.parse(e):{gates:{},configs:{},layers:{}}}catch{return{gates:{},configs:{},layers:{}}}}mergeOverrides(...e){const t={gates:{},configs:{},layers:{}};for(const r of e){for(const[e,n]of Object.entries(r.gates))t.gates[e]=n;for(const[e,n]of Object.entries(r.configs))t.configs[e]=n;for(const[e,n]of Object.entries(r.layers))t.layers[e]=n}return t}initFromStoredOverrides(){this._overrides=this.mergeOverrides(this.parseStoredOverrides("STATSIG_JS_LITE_LOCAL_OVERRIDES"),this.parseStoredOverrides(j))}saveOverrides(){window.localStorage.setItem(j,JSON.stringify(this._overrides))}getOverrides(){return Object.fromEntries(Object.entries(this._overrides).map((([e,t])=>{const r={};for(const[e,n]of Object.entries(t))Object.prototype.hasOwnProperty.call(t,(0,b._DJB2)(e))&&(r[e]=n);return[e,r]})))}setOverrides(e){const t={gates:{},configs:{},layers:{},...e};for(const e of Object.values(t))for(const[t,r]of Object.entries(e)){const n=(0,b._DJB2)(t);Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}this._overrides=t,this.saveOverrides()}overrideGate(e,t){this._overrides.gates[e]=t,this._overrides.gates[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeGateOverride(e){delete this._overrides.gates[e],delete this._overrides.gates[(0,b._DJB2)(e)],this.saveOverrides()}getGateOverride(e,t){var r;const n=null!==(r=this._overrides.gates[e.name])&&void 0!==r?r:this._overrides.gates[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,details:{...e.details,reason:L}}}overrideDynamicConfig(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeDynamicConfigOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getDynamicConfigOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideExperiment(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeExperimentOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getExperimentOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideLayer(e,t){this._overrides.layers[e]=t,this._overrides.layers[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeLayerOverride(e){delete this._overrides.layers[e],delete this._overrides.layers[(0,b._DJB2)(e)],this.saveOverrides()}removeAllOverrides(){this._overrides={gates:{},configs:{},layers:{}},window.localStorage.removeItem(j)}getLayerOverride(e,t){var r;const n=null!==(r=this._overrides.layers[e.name])&&void 0!==r?r:this._overrides.layers[(0,b._DJB2)(e.name)];return null==n?null:{...e,__value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}_getConfigOverride(e,t){var r;const n=null!==(r=t[e.name])&&void 0!==r?r:t[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}}const _="client-default-key";var B;class k{static isGateExists(e){return this.client.isGateExist(e)}static isExperimentExists(e){return this.client.isExperimentExist(e)}}B=k,(0,n.Z)(k,"client",new class{constructor(){(0,n.Z)(this,"initPromise",null),(0,n.Z)(this,"initCompleted",!1),(0,n.Z)(this,"initWithDefaults",!1),(0,n.Z)(this,"hasCheckGateErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,n.Z)(this,"subscriptions",new a),(0,n.Z)(this,"dataAdapter",new y),(0,n.Z)(this,"overrideAdapter",new M),(0,n.Z)(this,"statsigValuesUpdated",(()=>{this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.subscriptions.anyUpdated()}))}async initialize(e,t,r){const n=A(e);if(this.initPromise)return h(n,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const i=performance.now();return this.initOptions=n,this.initPromise=this.init(n,t,r).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-i;this.fireClientEvent(i,e,"initialize",this.initCompleted,n.apiKey)})),this.initPromise}async initializeWithProvider(e,t,r,n){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const s=performance.now();return this.initOptions=i,this.provider=t,this.provider.setClientVersion(x),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback),this.initPromise=this.initWithProvider(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeWithProvider",this.initCompleted,t.getApiKey?t.getApiKey():void 0)})),this.initPromise}applyUpdateCallback(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}fireClientEvent(e,t,r,n,i=void 0){var s;null===(s=this.initOptions.analyticsWebClient)||void 0===s||s.then((s=>{const o={targetApp:this.initOptions.targetApp,clientVersion:x,success:n,startTime:e,totalTime:t,...i&&{apiKey:i}};s.sendOperationalEvent({action:r,actionSubject:"featureGatesClient",attributes:o,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})})).catch((e=>{this.initOptions.environment!==d.Production&&console.error("Analytics web client promise did not resolve",e)}))}async initializeFromValues(e,t,r,n={}){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;Object.prototype.hasOwnProperty.call(n,"has_updates")||(n.has_updates=!0);const s=performance.now();return this.initOptions=i,this.initPromise=this.initFromValues(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeFromValues",this.initCompleted)})),this.initPromise}assertInitialized(e){if(!e)throw new Error("Client must be initialized before using this method")}async updateUser(e,t,r){this.assertInitialized(this.statsigClient);const n=A(e);await this.updateUserUsingInitializeValuesProducer((()=>w.fetchExperimentValues(n,t,r).then((({experimentValues:e,customAttributes:t})=>({experimentValues:e,customAttributesFromFetch:t})))),t,r)}async updateUserWithProvider(e,t){if(this.assertInitialized(this.statsigClient),!this.provider)throw new Error("Cannot update user using provider as the client was not initialised with a provider");await this.provider.setProfile(this.initOptions,e,t),await this.updateUserUsingInitializeValuesProducer((()=>this.provider.getExperimentValues()),e,t)}async updateUserWithValues(e,t,r={}){this.assertInitialized(this.statsigClient),await this.updateUserUsingInitializeValuesProducer((()=>Promise.resolve({experimentValues:r,customAttributesFromFetch:t})),e,t)}initializeCalled(){return null!=this.initPromise}initializeCompleted(){return this.initCompleted}checkGate(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireGateExposure:r=!0}=t;return this.statsigClient.checkGate(e,{disableExposureLog:!r})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}isGateExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check FeatureGate: ${e}`),!0}}isExperimentExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check Experiment: ${e}`),!0}}manuallyLogGateExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}getExperiment(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireExperimentExposure:r=!0}=t;return g.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!r}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new g(e,{},"",{time:Date.now(),reason:c.Error})}}getExperimentValue(e,t,r,n={}){const i=this.getExperiment(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),this.hasGetExperimentValueErrorOccurred=!0),r}}manuallyLogExperimentExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}manuallyLogLayerExposure(e,t){var r;this.assertInitialized(this.statsigClient),null===(r=this.statsigClient.getLayer(e))||void 0===r||r.get(t)}shutdownStatsig(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}overrideGate(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideGate(e,t),this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.statsigValuesUpdated()}clearGateOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}overrideConfig(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}clearConfigOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}setOverrides(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}getOverrides(){return this.assertInitialized(this.statsigClient),this.overrideAdapter.getOverrides()}clearAllOverrides(){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}isCurrentUser(e,t){return h(this.currentIdentifiers,e)&&h(this.currentAttributes,t)}onGateUpdated(e,t,r={}){return this.subscriptions.onGateUpdated(e,(n=>{const{fireGateExposure:i=!0}=r;i&&this.manuallyLogGateExposure(e);try{t(n)}catch(t){console.warn(`Error calling callback for gate ${e} with value ${n}`,t)}}),this.checkGate.bind(this),r)}onExperimentValueUpdated(e,t,r,n,i={}){return this.subscriptions.onExperimentValueUpdated(e,t,r,(t=>{const{fireExperimentExposure:r=!0}=i;r&&this.manuallyLogExperimentExposure(e);try{n(t)}catch(r){console.warn(`Error calling callback for experiment ${e} with value ${t}`,r)}}),this.getExperimentValue.bind(this),i)}onAnyUpdated(e){return this.subscriptions.onAnyUpdated(e)}async init(e,t,r){const n={...e};let i,s;try{const o=w.fetchClientSdk(e).then((e=>n.sdkKey=e.clientSdkKey)),a=w.fetchExperimentValues(e,t,r),[,l]=await Promise.all([o,a]);i=l.experimentValues,s=l.customAttributes}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(n,t,r),e}return this.initFromValues(n,t,s,i)}async initWithProvider(e,t,r,n){const i={...e,disableCurrentPageLogging:!0};let s,o;try{await t.setProfile(e,r,n);const a=t.getClientSdkKey().then((e=>i.sdkKey=e)),l=t.getExperimentValues(),[,c]=await Promise.all([a,l]);s=c.experimentValues,o=c.customAttributesFromFetch}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(i,r,n),e}return this.initFromValues(i,r,o,s)}async initFromValues(e,t,r,n={}){var s;this.overrideAdapter.initFromStoredOverrides(),this.user=p(t,r),this.currentIdentifiers=t,this.currentAttributes=r;const o=(e=>{const{api:t,disableCurrentPageLogging:r,loggingIntervalMillis:n,loggingBufferMaxSize:i,localMode:s,eventLoggingApi:o,eventLoggingApiForRetries:a,disableLocalStorage:l,ignoreWindowUndefined:c,disableAllLogging:d,initTimeoutMs:u,disableNetworkKeepalive:A,overrideStableID:h,disableErrorLogging:p,disableAutoMetricsLogging:f,...C}=e;return{...C,networkConfig:{api:t,logEventUrl:o?o+"rgstr":void 0,logEventFallbackUrls:a?[a]:void 0,preventAllNetworkTraffic:s||!c&&"undefined"==typeof window},includeCurrentPageUrlWithEvents:!r,loggingIntervalMs:n,loggingBufferMaxSize:i,disableStorage:l,disableLogging:d}})(e);o.sdkKey||(o.sdkKey=_),null!==(s=o.networkConfig)&&void 0!==s&&s.logEventUrl||(o.networkConfig={...o.networkConfig,logEventUrl:"https://xp.atlassian.com/v1/rgstr"}),o.perimeter===u.FEDRAMP_MODERATE&&(o.disableLogging=!0);const{sdkKey:a,environment:l,updateUserCompletionCallback:c,perimeter:d,...A}=o,h={...A,environment:{tier:l},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter};try{this.statsigClient=new i.StatsigClient(a,this.user,h),this.dataAdapter.setBootstrapData(n),await this.statsigClient.initializeAsync()}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to initialise the Statsig client, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new i.StatsigClient(_,this.user,h),this.dataAdapter.setBootstrapData(),await this.statsigClient.initializeAsync(),this.initWithDefaults=!0,e}}async updateUserUsingInitializeValuesProducer(e,t,r){if(this.assertInitialized(this.statsigClient),!this.initPromise)throw new Error("The client must be initialized before you can update the user.");if(this.isCurrentUser(t,r))return this.initPromise;const n=this.initPromise;try{await this.initPromise}catch(e){}const i=e(),s=this.updateStatsigClientUser(i,t,r);return this.initPromise=s.catch((async()=>{this.initPromise=n,this.provider&&await this.provider.setProfile(this.initOptions,this.currentIdentifiers,this.currentAttributes)})),s}async updateStatsigClientUser(e,t,r){var n,i;let s,o;this.assertInitialized(this.statsigClient);try{s=await e,o=p(t,s.customAttributesFromFetch)}catch(e){var a,l;const t=e instanceof Error?e.message:JSON.stringify(e);throw null===(a=(l=this.initOptions).updateUserCompletionCallback)||void 0===a||a.call(l,!1,t),e}let c=!0,d=null;try{this.dataAdapter.setBootstrapData(s.experimentValues),this.user=o,await this.statsigClient.updateUserAsync(this.user)}catch(e){c=!1,d=String(e)}if(null===(n=this.initOptions)||void 0===n||null===(i=n.updateUserCompletionCallback)||void 0===i||i.call(n,c,d),!c)throw new Error("Failed to update user. An unexpected error occured.");this.currentIdentifiers=t,this.currentAttributes=r,this.subscriptions.anyUpdated()}getPackageVersion(){return x}getLayer(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireLayerExposure:r=!0}=t;return m.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!r}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),m.fromLayer((0,i._makeLayer)(e,{reason:"Error"},null))}}getLayerValue(e,t,r,n={}){const i=this.getLayer(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:r,options:n,error:t}),this.hasGetLayerValueErrorOccurred=!0),r}}}),(0,n.Z)(k,"hasCheckGateErrorOccurred",!1),(0,n.Z)(k,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(k,"checkGate",((e,t)=>{try{if(window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){const t=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==t)return t}}catch(t){B.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),B.hasCheckGateErrorOccurred=!0)}return B.client.checkGate(e,t)})),(0,n.Z)(k,"getExperimentValue",((e,t,r,n)=>{try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){const r=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=r)return r}}catch(t){return B.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),B.hasGetExperimentValueErrorOccurred=!0),r}return B.client.getExperimentValue(e,t,r,n)})),(0,n.Z)(k,"initializeCalled",B.client.initializeCalled.bind(B.client)),(0,n.Z)(k,"initializeCompleted",B.client.initializeCompleted.bind(B.client)),(0,n.Z)(k,"initialize",B.client.initialize.bind(B.client)),(0,n.Z)(k,"initializeWithProvider",B.client.initializeWithProvider.bind(B.client)),(0,n.Z)(k,"initializeFromValues",B.client.initializeFromValues.bind(B.client)),(0,n.Z)(k,"manuallyLogGateExposure",B.client.manuallyLogGateExposure.bind(B.client)),(0,n.Z)(k,"getExperiment",B.client.getExperiment.bind(B.client)),(0,n.Z)(k,"manuallyLogExperimentExposure",B.client.manuallyLogExperimentExposure.bind(B.client)),(0,n.Z)(k,"manuallyLogLayerExposure",B.client.manuallyLogLayerExposure.bind(B.client)),(0,n.Z)(k,"shutdownStatsig",B.client.shutdownStatsig.bind(B.client)),(0,n.Z)(k,"overrideGate",B.client.overrideGate.bind(B.client)),(0,n.Z)(k,"clearGateOverride",B.client.clearGateOverride.bind(B.client)),(0,n.Z)(k,"overrideConfig",B.client.overrideConfig.bind(B.client)),(0,n.Z)(k,"clearConfigOverride",B.client.clearConfigOverride.bind(B.client)),(0,n.Z)(k,"setOverrides",B.client.setOverrides.bind(B.client)),(0,n.Z)(k,"getOverrides",B.client.getOverrides.bind(B.client)),(0,n.Z)(k,"clearAllOverrides",B.client.clearAllOverrides.bind(B.client)),(0,n.Z)(k,"isCurrentUser",B.client.isCurrentUser.bind(B.client)),(0,n.Z)(k,"onGateUpdated",B.client.onGateUpdated.bind(B.client)),(0,n.Z)(k,"onExperimentValueUpdated",B.client.onExperimentValueUpdated.bind(B.client)),(0,n.Z)(k,"onAnyUpdated",B.client.onAnyUpdated.bind(B.client)),(0,n.Z)(k,"updateUser",B.client.updateUser.bind(B.client)),(0,n.Z)(k,"updateUserWithProvider",B.client.updateUserWithProvider.bind(B.client)),(0,n.Z)(k,"updateUserWithValues",B.client.updateUserWithValues.bind(B.client)),(0,n.Z)(k,"getPackageVersion",B.client.getPackageVersion.bind(B.client)),(0,n.Z)(k,"getLayer",B.client.getLayer.bind(B.client)),(0,n.Z)(k,"getLayerValue",B.client.getLayerValue.bind(B.client));let V=k;if("undefined"!=typeof window)if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=k;else{var H,E;V=window.__FEATUREGATES_JS__;const e=(null===(H=V)||void 0===H||null===(E=H.getPackageVersion)||void 0===E?void 0:E.call(H))||"4.10.0 or earlier";if(e!==x){const t=`Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ${e} when module version ${x} was loading.`;console.warn(t)}}const S=V;var F,Z,U,O;const I=!(void 0!==(null===globalThis||void 0===globalThis||null===(F=globalThis.process)||void 0===F||null===(Z=F.env)||void 0===Z?void 0:Z.JEST_WORKER_ID))&&"production"!==(null===globalThis||void 0===globalThis||null===(U=globalThis.process)||void 0===U||null===(O=U.env)||void 0===O?void 0:O.NODE_ENV),D=(...e)=>{I&&console.debug(...e)},N="@atlaskit/platform-feature-flags",T="__PLATFORM_FEATURE_FLAGS__",P=void 0!=={}&&void 0!=={},R=!!P&&"true"==={}.ENABLE_PLATFORM_FF||!!P&&"true"==={}.STORYBOOK_ENABLE_PLATFORM_FF,Q="undefined"!=typeof window?window:globalThis;function z(e){return function(e){if(R)return D('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',N,e),!0;try{var t,r,n;if(void 0===(null===(t=Q[T])||void 0===t?void 0:t.booleanResolver)||null===(null===(r=Q[T])||void 0===r?void 0:r.booleanResolver))return S.checkGate(e);const i=null===(n=Q[T])||void 0===n?void 0:n.booleanResolver(e);return"boolean"!=typeof i?(console.warn(`${e} resolved to a non-boolean value, returning false for safety`),!1):i}catch(e){return!1}}(e)}Q[T]=Q[T]||{booleanResolver:void 0}},18395:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bind=void 0,t.bind=function(e,t){var r=t.type,n=t.listener,i=t.options;return e.addEventListener(r,n,i),function(){e.removeEventListener(r,n,i)}}},39728:(e,t,r)=>{"use strict";t.ak=void 0;var n=r(70133);Object.defineProperty(t,"ak",{enumerable:!0,get:function(){return n.bind}});r(18395)},12919:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0>>1,i=e[n];if(!(0>>1;ns(l,r))cs(d,l)?(e[n]=d,e[c]=r,n=c):(e[n]=l,e[a]=r,n=a);else{if(!(cs(d,r)))break e;e[n]=d,e[c]=r,n=c}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var c=[],d=[],u=1,A=null,h=3,p=!1,f=!1,C=!1,g="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function v(e){for(var t=n(d);null!==t;){if(null===t.callback)i(d);else{if(!(t.startTime<=e))break;i(d),t.sortIndex=t.expirationTime,r(c,t)}t=n(d)}}function w(e){if(C=!1,v(e),!f)if(null!==n(c))f=!0,S(y);else{var t=n(d);null!==t&&F(w,t.startTime-e)}}function y(e,r){f=!1,C&&(C=!1,m(M),M=-1),p=!0;var s=h;try{for(v(r),A=n(c);null!==A&&(!(A.expirationTime>r)||e&&!k());){var o=A.callback;if("function"==typeof o){A.callback=null,h=A.priorityLevel;var a=o(A.expirationTime<=r);r=t.unstable_now(),"function"==typeof a?A.callback=a:A===n(c)&&i(c),v(r)}else i(c);A=n(c)}if(null!==A)var l=!0;else{var u=n(d);null!==u&&F(w,u.startTime-r),l=!1}return l}finally{A=null,h=s,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var b,L=!1,j=null,M=-1,_=5,B=-1;function k(){return!(t.unstable_now()-B<_)}function V(){if(null!==j){var e=t.unstable_now();B=e;var r=!0;try{r=j(!0,e)}finally{r?b():(L=!1,j=null)}}else L=!1}if("function"==typeof x)b=function(){x(V)};else if("undefined"!=typeof MessageChannel){var H=new MessageChannel,E=H.port2;H.port1.onmessage=V,b=function(){E.postMessage(null)}}else b=function(){g(V,0)};function S(e){j=e,L||(L=!0,b())}function F(e,r){M=g((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){f||p||(f=!0,S(y))},t.unstable_forceFrameRate=function(e){0>e||125o?(e.sortIndex=s,r(d,e),null===n(c)&&e===n(d)&&(C?(m(M),M=-1):C=!0,F(w,s-o))):(e.sortIndex=a,r(c,e),f||p||(f=!0,S(y))),e},t.unstable_shouldYield=k,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},87376:(e,t,r)=>{"use strict";e.exports=r(12919)},10801:(e,t,r)=>{"use strict";r.r(t),r.d(t,{B100:()=>k,B200:()=>V,B300:()=>H,B400:()=>E,B50:()=>_,B500:()=>S,B75:()=>B,DN0:()=>qe,DN10:()=>Ke,DN100:()=>Ie,DN100A:()=>rt,DN10A:()=>ut,DN20:()=>Ge,DN200:()=>Oe,DN200A:()=>tt,DN20A:()=>dt,DN30:()=>ze,DN300:()=>Ue,DN300A:()=>et,DN30A:()=>ct,DN40:()=>Qe,DN400:()=>Ze,DN400A:()=>Ye,DN40A:()=>lt,DN50:()=>Re,DN500:()=>Fe,DN500A:()=>Xe,DN50A:()=>at,DN60:()=>Pe,DN600:()=>Se,DN600A:()=>Je,DN60A:()=>ot,DN70:()=>Te,DN700:()=>Ee,DN700A:()=>$e,DN70A:()=>st,DN80:()=>Ne,DN800:()=>He,DN800A:()=>We,DN80A:()=>it,DN90:()=>De,DN900:()=>Ve,DN90A:()=>nt,G100:()=>y,G200:()=>b,G300:()=>L,G400:()=>j,G50:()=>v,G500:()=>M,G75:()=>w,N0:()=>q,N10:()=>W,N100:()=>ie,N100A:()=>ye,N10A:()=>he,N20:()=>$,N200:()=>se,N200A:()=>be,N20A:()=>pe,N30:()=>J,N300:()=>oe,N300A:()=>Le,N30A:()=>fe,N40:()=>X,N400:()=>ae,N400A:()=>je,N40A:()=>Ce,N50:()=>Y,N500:()=>le,N500A:()=>Me,N50A:()=>ge,N60:()=>ee,N600:()=>ce,N600A:()=>_e,N60A:()=>me,N70:()=>te,N700:()=>de,N700A:()=>Be,N70A:()=>xe,N80:()=>re,N800:()=>ue,N800A:()=>ke,N80A:()=>ve,N90:()=>ne,N900:()=>Ae,N90A:()=>we,P100:()=>U,P200:()=>O,P300:()=>I,P400:()=>D,P50:()=>F,P500:()=>N,P75:()=>Z,R100:()=>l,R200:()=>c,R300:()=>d,R400:()=>u,R50:()=>o,R500:()=>A,R75:()=>a,T100:()=>R,T200:()=>Q,T300:()=>z,T400:()=>G,T50:()=>T,T500:()=>K,T75:()=>P,Y100:()=>f,Y200:()=>C,Y300:()=>g,Y400:()=>m,Y50:()=>h,Y500:()=>x,Y75:()=>p,background:()=>At,backgroundActive:()=>ht,backgroundHover:()=>pt,backgroundOnLayer:()=>ft,blue:()=>kt,codeBlock:()=>bt,green:()=>Ft,heading:()=>wt,link:()=>Lt,linkActive:()=>Mt,linkHover:()=>jt,linkOutline:()=>_t,placeholderText:()=>vt,primary:()=>Bt,purple:()=>Ht,red:()=>Et,skeleton:()=>Zt,subtleHeading:()=>yt,subtleText:()=>xt,teal:()=>Vt,text:()=>Ct,textActive:()=>mt,textHover:()=>gt,yellow:()=>St});var n=r(88147);function i(e){if(e&&e.theme){if(n.GV in e.theme)return e.theme[n.GV];if("mode"in e.theme&&n.oc.includes(e.theme.mode))return e.theme}return{mode:n.MU}}function s(e,t){if("string"==typeof e)return r=e,n=t,e=>{const t=i(e);if(e&&e[r]&&n){const i=n[e[r]];if(i&&i[t.mode]){const e=i[t.mode];if(e)return e}}return""};var r,n;const s=e;return e=>{const t=i(e);if(t.mode in s){const e=s[t.mode];if(e)return e}return""}}const o="#FFEBE6",a="#FFBDAD",l="#FF8F73",c="#FF7452",d="#FF5630",u="#DE350B",A="#BF2600",h="#FFFAE6",p="#FFF0B3",f="#FFE380",C="#FFC400",g="#FFAB00",m="#FF991F",x="#FF8B00",v="#E3FCEF",w="#ABF5D1",y="#79F2C0",b="#57D9A3",L="#36B37E",j="#00875A",M="#006644",_="#DEEBFF",B="#B3D4FF",k="#4C9AFF",V="#2684FF",H="#0065FF",E="#0052CC",S="#0747A6",F="#EAE6FF",Z="#C0B6F2",U="#998DD9",O="#8777D9",I="#6554C0",D="#5243AA",N="#403294",T="#E6FCFF",P="#B3F5FF",R="#79E2F2",Q="#00C7E6",z="#00B8D9",G="#00A3BF",K="#008DA6",q="#FFFFFF",W="#FAFBFC",$="#F4F5F7",J="#EBECF0",X="#DFE1E6",Y="#C1C7D0",ee="#B3BAC5",te="#A5ADBA",re="#97A0AF",ne="#8993A4",ie="#7A869A",se="#6B778C",oe="#5E6C84",ae="#505F79",le="#42526E",ce="#344563",de="#253858",ue="#172B4D",Ae="#091E42",he="rgba(9, 30, 66, 0.02)",pe="rgba(9, 30, 66, 0.04)",fe="rgba(9, 30, 66, 0.08)",Ce="rgba(9, 30, 66, 0.13)",ge="rgba(9, 30, 66, 0.25)",me="rgba(9, 30, 66, 0.31)",xe="rgba(9, 30, 66, 0.36)",ve="rgba(9, 30, 66, 0.42)",we="rgba(9, 30, 66, 0.48)",ye="rgba(9, 30, 66, 0.54)",be="rgba(9, 30, 66, 0.60)",Le="rgba(9, 30, 66, 0.66)",je="rgba(9, 30, 66, 0.71)",Me="rgba(9, 30, 66, 0.77)",_e="rgba(9, 30, 66, 0.82)",Be="rgba(9, 30, 66, 0.89)",ke="rgba(9, 30, 66, 0.95)",Ve="#E6EDFA",He="#DCE5F5",Ee="#CED9EB",Se="#B8C7E0",Fe="#ABBBD6",Ze="#9FB0CC",Ue="#8C9CB8",Oe="#7988A3",Ie="#67758F",De="#56637A",Ne="#455166",Te="#3B475C",Pe="#313D52",Re="#283447",Qe="#202B3D",ze="#1B2638",Ge="#121A29",Ke="#0E1624",qe="#0D1424",We="rgba(13, 20, 36, 0.06)",$e="rgba(13, 20, 36, 0.14)",Je="rgba(13, 20, 36, 0.18)",Xe="rgba(13, 20, 36, 0.29)",Ye="rgba(13, 20, 36, 0.36)",et="rgba(13, 20, 36, 0.40)",tt="rgba(13, 20, 36, 0.47)",rt="rgba(13, 20, 36, 0.53)",nt="rgba(13, 20, 36, 0.63)",it="rgba(13, 20, 36, 0.73)",st="rgba(13, 20, 36, 0.78)",ot="rgba(13, 20, 36, 0.81)",at="rgba(13, 20, 36, 0.85)",lt="rgba(13, 20, 36, 0.89)",ct="rgba(13, 20, 36, 0.92)",dt="rgba(13, 20, 36, 0.95)",ut="rgba(13, 20, 36, 0.97)",At=s({light:`var(--ds-surface, ${q})`,dark:`var(--ds-surface, ${ze})`}),ht=s({light:`var(--ds-background-selected, ${_})`,dark:`var(--ds-background-selected, ${B})`}),pt=s({light:`var(--ds-background-neutral-hovered, ${J})`,dark:`var(--ds-background-neutral-hovered, ${Te})`}),ft=s({light:`var(--ds-surface-overlay, ${q})`,dark:`var(--ds-surface-overlay, ${Re})`}),Ct=s({light:`var(--ds-text, ${Ae})`,dark:`var(--ds-text, ${Se})`}),gt=s({light:`var(--ds-text, ${ue})`,dark:`var(--ds-text, ${Se})`}),mt=s({light:`var(--ds-text-selected, ${E})`,dark:`var(--ds-text-selected, ${E})`}),xt=s({light:`var(--ds-text-subtlest, ${se})`,dark:`var(--ds-text-subtlest, ${Ue})`}),vt=s({light:`var(--ds-text-subtlest, ${ie})`,dark:`var(--ds-text-subtlest, ${Oe})`}),wt=s({light:`var(--ds-text, ${ue})`,dark:`var(--ds-text, ${Se})`}),yt=s({light:`var(--ds-text-subtlest, ${se})`,dark:`var(--ds-text-subtlest, ${Ue})`}),bt=s({light:$,dark:Re}),Lt=s({light:`var(--ds-link, ${E})`,dark:`var(--ds-link, ${k})`}),jt=s({light:`var(--ds-link-pressed, ${H})`,dark:`var(--ds-link-pressed, ${V})`}),Mt=s({light:`var(--ds-link-pressed, ${S})`,dark:`var(--ds-link-pressed, ${k})`}),_t=s({light:`var(--ds-border-focused, ${k})`,dark:`var(--ds-border-focused, ${V})`}),Bt=s({light:`var(--ds-background-brand-bold, ${E})`,dark:`var(--ds-background-brand-bold, ${k})`}),kt=s({light:E,dark:k}),Vt=s({light:z,dark:Q}),Ht=s({light:I,dark:U}),Et=s({light:d,dark:d}),St=s({light:g,dark:g}),Ft=s({light:L,dark:L}),Zt=()=>`var(--ds-skeleton, ${pe})`},88147:(e,t,r)=>{"use strict";r.d(t,{GV:()=>n,JB:()=>o,MU:()=>i,oc:()=>s});const n="__ATLASKIT_THEME__",i="light",s=["light","dark"],o=()=>14},86550:(e,t,r)=>{"use strict";r.d(t,{Fs:()=>n,kO:()=>s,mw:()=>i});const n="data-theme",i="data-color-mode",s="--ds-elevation-surface-current"},12201:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(87462),i=r(67294),s=r(84553);const o=(e={})=>t=>{const r=(0,i.forwardRef)(((r,o)=>{const{patchedEventProps:a}=function(e={},t){const{createAnalyticsEvent:r}=(0,s._)(),n=(0,i.useRef)({});return{patchedEventProps:(0,i.useMemo)((()=>{const i=n.current;return Object.keys(i).filter((t=>!(t in e))).forEach((e=>delete i[e])),Object.keys(e).reduce(((n,s)=>{const o=e[s];if(!["object","function"].includes(typeof o))return n;const a=t[s];if(s in i&&i[s].eventCreator===o&&i[s].propValue===a)return{...n,[s]:i[s].wrappedCallback};const l=(...e)=>{const n="function"==typeof o?o(r,t):r(o);a&&"function"==typeof a&&a(...e,n)};return i[s]={eventCreator:o,wrappedCallback:l,propValue:a},{...n,[s]:l}}),{})}),[e,t,r,n])}}(e,r),{createAnalyticsEvent:l}=(0,s._)();return i.createElement(t,(0,n.Z)({},r,a,{createAnalyticsEvent:l,ref:o}))}));return r.displayName=`WithAnalyticsEvents(${t.displayName||t.name})`,r}},84553:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var n=r(51163),i=r(4942);class s{constructor(e){(0,i.Z)(this,"_isAnalyticsEvent",!0),(0,i.Z)(this,"clone",(()=>{const e={...this.payload};return new s({payload:e})})),this.payload=e.payload}update(e){return"function"==typeof e&&(this.payload=e(this.payload)),"object"==typeof e&&(this.payload={...this.payload,...e}),this}}class o extends s{constructor(e){super(e),(0,i.Z)(this,"_isUIAnalyticsEvent",!0),(0,i.Z)(this,"clone",(()=>{if(this.hasFired)return null;const e=[...this.context],t=[...this.handlers],r=JSON.parse(JSON.stringify(this.payload));return new o({context:e,handlers:t,payload:r})})),(0,i.Z)(this,"fire",(e=>{this.hasFired||(this.handlers.forEach((t=>t(this,e))),this.hasFired=!0)})),this.context=e.context||[],this.handlers=e.handlers||[],this.hasFired=!1}update(e){return this.hasFired?this:super.update(e)}}var a=r(67294),l=r(65425);const c=()=>(0,a.useContext)(l.default);function d(){const e=c();return{createAnalyticsEvent:(0,n.vl)((t=>new o({context:e.getAtlaskitAnalyticsContext(),handlers:e.getAtlaskitAnalyticsEventHandlers(),payload:t})),[e])}}},45365:(e,t,r)=>{"use strict";r.d(t,{V:()=>i});var n=r(67294);const i=e=>{const t=(0,n.useRef)(e);return t.current=e,t}},77186:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(87462),i=r(67294),s=r(13393),o=r(83292),a=r(62922),l=r(33655),c=r(73699);const d="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,u=i.memo(i.forwardRef((function({appearance:e="default",children:t,iconBefore:r,iconAfter:u,isSelected:A=!1,onMouseDown:h=s.Z,onMouseUp:p=s.Z,shouldFitContainer:f=!1,spacing:C="default",...g},m){const{mode:x}=(0,o.m)(),v=(0,c.Z)({children:t,iconBefore:r,iconAfter:u}),[w,y]=(0,i.useState)(!1),b=(0,i.useCallback)((e=>{h(e),d&&y(!0)}),[h,y]),L=(0,i.useCallback)((e=>{p(e),d&&y(!1)}),[p,y]),j=(0,i.useMemo)((()=>(0,l.gb)({appearance:e,spacing:C,mode:x,isSelected:A,shouldFitContainer:f,isOnlySingleIcon:v})),[e,C,x,A,f,v]);return i.createElement(a.Z,(0,n.Z)({},g,{ref:m,appearance:e,buttonCss:j,children:t,"data-firefox-is-active":!!w||void 0,iconAfter:u,iconBefore:r,isSelected:A,onMouseDown:b,onMouseUp:L,spacing:C}))})));u.displayName="Button";const A=u},62922:(e,t,r)=>{"use strict";r.d(t,{Z:()=>B});var n=r(87462),i=r(67294),s=r(4572),o=r(84553),a=r(45365),l=r(13393),c=r(25032);const d=(0,s.iv)({outline:"2px solid var(--ds-border-focused, #2684FF)",outlineOffset:2}),u=(0,s.iv)({outlineColor:"var(--ds-border-focused, #2684FF)",outlineOffset:-2,outlineStyle:"solid",outlineWidth:"var(--ds-border-width-outline, 2px)"}),A=(0,s.iv)({"&:focus":d,"&:focus-visible":d,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid"}}}),h=(0,s.iv)({"&:focus":u,"&:focus-visible":u,"&:focus:not(:focus-visible)":{outline:"none"},"@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)":{"&:focus-visible":{outline:"1px solid",outlineOffset:"-1px"}}}),p=(0,i.memo)((({children:e,isInset:t,focus:r})=>{const n=void 0===r?t?h:A:"on"===r&&(t?u:d);return(0,s.tZ)(s.ms,null,(({css:t,cx:r})=>i.Children.only(n?(0,i.cloneElement)(e,{className:r([t(n),e.props.className])}):e)))}));p.displayName="FocusRing";const f=p;var C=r(26628),g=r(3727);function m(e){e.preventDefault(),e.stopPropagation()}function x(e){9!==e.keyCode&&m(e)}const v={onMouseDownCapture:m,onMouseUpCapture:m,onKeyDownCapture:x,onKeyUpCapture:x,onTouchStartCapture:m,onTouchEndCapture:m,onPointerDownCapture:m,onPointerUpCapture:m,onClickCapture:m,onClick:m},w={};var y=r(33655),b=r(59559);const L={"> *":{pointerEvents:"none"}},j=(0,s.iv)({"--ds--button--new-icon-padding-end":"var(--ds-space-025, 2px)","--ds--button--new-icon-padding-start":"var(--ds-space-050, 4px)",marginInlineStart:"var(--ds-space-negative-025, -2px)"}),M=(0,s.iv)({"--ds--button--new-icon-padding-end":"var(--ds-space-050, 4px)","--ds--button--new-icon-padding-start":"var(--ds-space-025, 2px)",marginInlineEnd:"var(--ds-space-negative-025, -2px)"}),_=(e,t)=>!e||(0,b.D)(e)?null:t,B=i.forwardRef((function(e,t){const{analyticsContext:r,appearance:d="default",autoFocus:u=!1,buttonCss:A,children:h,className:p,href:m,component:x=(m?"a":"button"),iconAfter:B,iconBefore:k,interactionName:V,isDisabled:H=!1,isSelected:E=!1,onBlur:S,onClick:F=l.Z,onFocus:Z,onMouseDown:U=l.Z,overlay:O,shouldFitContainer:I,spacing:D="default",tabIndex:N=0,type:T=(m?void 0:"button"),testId:P,...R}=e,Q=(0,i.useRef)(),z=(0,i.useCallback)((e=>{Q.current=e,null!=t&&("function"!=typeof t?t.current=e:t(e))}),[Q,t]);(0,c.Z)(Q,u);const G=(0,i.useContext)(C.Z),K=function({fn:e,action:t,componentName:r,actionSubject:n,packageName:s,packageVersion:l,analyticsData:c}){const{createAnalyticsEvent:d}=(0,o._)(),u=(0,a.V)(c),A=(0,a.V)(e);return(0,i.useCallback)((e=>{const i=d({action:t,actionSubject:n||r,attributes:{componentName:r,packageName:s,packageVersion:l}}),o={componentName:r,packageName:s,packageVersion:l,...u.current};i.context.push(o);const a=i.clone();a&&a.fire("atlaskit"),A.current(e,i)}),[t,r,n,s,l,d,u,A])}({fn:(0,i.useCallback)(((e,t)=>{G&&G.tracePress(V,e.timeStamp),F(e,t)}),[F,G,V]),action:"clicked",componentName:"button",packageName:"@atlaskit/button",packageVersion:"20.5.3",analyticsData:r}),q=(0,i.useCallback)((e=>{e.preventDefault(),U(e)}),[U]);(0,i.useEffect)((()=>{const e=Q.current;H&&e&&e===document.activeElement&&e.blur()}),[H]);const W=Boolean(O),$=(0,s.iv)((0,y.aX)({hasOverlay:W})),J=!H&&!W;var X={};return(E||H||"warning"===d)&&(X={"[data-theme] & circle":{stroke:(E||H?`var(--ds-icon-subtle, ${g.Mx})`:`var(--ds-icon-warning-inverse, ${g.Mx})`)+" !important"}}),(0,s.tZ)(f,null,(0,s.tZ)(x,(0,n.Z)({},R,{ref:z,className:p,css:[A,J?null:L],"data-has-overlay":!!W||void 0,"data-testid":P,disabled:H,href:J?m:void 0,onBlur:S,onClick:K,onFocus:Z,onMouseDown:q,tabIndex:H?-1:N,type:T},function({isInteractive:e}){return e?w:v}({isInteractive:J})),k?(0,s.tZ)("span",{css:[$,(0,y.CS)({spacing:D}),_(h,j)]},k):null,((e,t)=>(0,b.D)(e)?e:e?(0,s.tZ)("span",{css:t},e):null)(h,[$,(0,y.jn)({spacing:D})]),B?(0,s.tZ)("span",{css:[$,(0,y.CS)({spacing:D}),_(h,M)]},B):null,O?(0,s.tZ)("span",{css:[y.fd,X]},O):null))}))},33655:(e,t,r)=>{"use strict";r.d(t,{jn:()=>H,gb:()=>k,aX:()=>E,CS:()=>V,fd:()=>S});var n=r(4572),i=r(97182),s=r(68289),o=r(3727);const a="rgba(179, 212, 255, 0.6)",l={background:{default:{default:{light:`var(--ds-background-neutral, ${o.os})`,dark:`var(--ds-background-neutral, ${o.nA})`},hover:{light:`var(--ds-background-neutral-hovered, ${o.kd})`,dark:`var(--ds-background-neutral-hovered, ${o.mn})`},active:{light:`var(--ds-background-neutral-pressed, ${a})`,dark:`var(--ds-background-neutral-pressed, ${o.tE})`},disabled:{light:`var(--ds-background-disabled, ${o.os})`,dark:`var(--ds-background-disabled, ${o.nA})`},selected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`},focusSelected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`}},primary:{default:{light:`var(--ds-background-brand-bold, ${o.AX})`,dark:`var(--ds-background-brand-bold, ${o.vP})`},hover:{light:`var(--ds-background-brand-bold-hovered, ${o.M5})`,dark:`var(--ds-background-brand-bold-hovered, ${o.tE})`},active:{light:`var(--ds-background-brand-bold-pressed, ${o.YC})`,dark:`var(--ds-background-brand-bold-pressed, ${o.VY})`},disabled:{light:`var(--ds-background-disabled, ${o.os})`,dark:`var(--ds-background-disabled, ${o.nA})`},selected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`},focusSelected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`}},warning:{default:{light:`var(--ds-background-warning-bold, ${o.Z3})`,dark:`var(--ds-background-warning-bold, ${o.Z3})`},hover:{light:`var(--ds-background-warning-bold-hovered, ${o.cS})`,dark:`var(--ds-background-warning-bold-hovered, ${o.cS})`},active:{light:`var(--ds-background-warning-bold-pressed, ${o.jC})`,dark:`var(--ds-background-warning-bold-pressed, ${o.jC})`},disabled:{light:`var(--ds-background-disabled, ${o.os})`,dark:`var(--ds-background-disabled, ${o.nA})`},selected:{light:`var(--ds-background-selected, ${o.jC})`,dark:`var(--ds-background-selected, ${o.jC})`},focusSelected:{light:`var(--ds-background-selected, ${o.jC})`,dark:`var(--ds-background-selected, ${o.jC})`}},danger:{default:{light:`var(--ds-background-danger-bold, ${o.$H})`,dark:`var(--ds-background-danger-bold, ${o.$H})`},hover:{light:`var(--ds-background-danger-bold-hovered, ${o.rt})`,dark:`var(--ds-background-danger-bold-hovered, ${o.rt})`},active:{light:`var(--ds-background-danger-bold-pressed, ${o.gR})`,dark:`var(--ds-background-danger-bold-pressed, ${o.gR})`},disabled:{light:`var(--ds-background-disabled, ${o.os})`,dark:`var(--ds-background-disabled, ${o.nA})`},selected:{light:`var(--ds-background-selected, ${o.gR})`,dark:`var(--ds-background-selected, ${o.gR})`},focusSelected:{light:`var(--ds-background-selected, ${o.gR})`,dark:`var(--ds-background-selected, ${o.gR})`}},link:{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.IR})`},focusSelected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.IR})`}},subtle:{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},hover:{light:`var(--ds-background-neutral-subtle-hovered, ${o.kd})`,dark:`var(--ds-background-neutral-subtle-hovered, ${o.mn})`},active:{light:`var(--ds-background-neutral-subtle-pressed, ${a})`,dark:`var(--ds-background-neutral-subtle-pressed, ${o.tE})`},disabled:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`},focusSelected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.xU})`}},"subtle-link":{default:{light:"var(--ds-background-neutral-subtle, none)",dark:"var(--ds-background-neutral-subtle, none)"},selected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.IR})`},focusSelected:{light:`var(--ds-background-selected, ${o.TG})`,dark:`var(--ds-background-selected, ${o.IR})`}}},color:{default:{default:{light:`var(--ds-text, ${o.Mx})`,dark:`var(--ds-text, ${o.oe})`},active:{light:`var(--ds-text, ${o.AX})`,dark:`var(--ds-text, ${o.AX})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Dw})`},selected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`},focusSelected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`}},primary:{default:{light:`var(--ds-text-inverse, ${o.N0})`,dark:`var(--ds-text-inverse, ${o.Dw})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Dw})`},selected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`},focusSelected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`}},warning:{default:{light:`var(--ds-text-warning-inverse, ${o.q2})`,dark:`var(--ds-text-warning-inverse, ${o.q2})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Dw})`},selected:{light:`var(--ds-text-selected, ${o.q2})`,dark:`var(--ds-text-selected, ${o.q2})`},focusSelected:{light:`var(--ds-text-selected, ${o.q2})`,dark:`var(--ds-text-selected, ${o.q2})`}},danger:{default:{light:`var(--ds-text-inverse, ${o.N0})`,dark:`var(--ds-text-inverse, ${o.N0})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Dw})`},selected:{light:`var(--ds-text-selected, ${o.N0})`,dark:`var(--ds-text-selected, ${o.N0})`},focusSelected:{light:`var(--ds-text-selected, ${o.N0})`,dark:`var(--ds-text-selected, ${o.N0})`}},link:{default:{light:`var(--ds-link, ${o.AX})`,dark:`var(--ds-link, ${o.vP})`},hover:{light:`var(--ds-link, ${o.M5})`,dark:`var(--ds-link, ${o.tE})`},active:{light:`var(--ds-link-pressed, ${o.YC})`,dark:`var(--ds-link-pressed, ${o.VY})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Sk})`},selected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.TG})`},focusSelected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.TG})`}},subtle:{default:{light:`var(--ds-text, ${o.Mx})`,dark:`var(--ds-text, ${o.oe})`},active:{light:`var(--ds-text, ${o.AX})`,dark:`var(--ds-text, ${o.AX})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Sk})`},selected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`},focusSelected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`}},"subtle-link":{default:{light:`var(--ds-text-subtle, ${o.iw})`,dark:`var(--ds-text-subtle, ${o.oe})`},hover:{light:`var(--ds-text-subtle, ${o.WA})`,dark:`var(--ds-text-subtle, ${o.BA})`},active:{light:`var(--ds-text, ${o.zN})`,dark:`var(--ds-text, ${o.Tx})`},disabled:{light:`var(--ds-text-disabled, ${o.n2})`,dark:`var(--ds-text-disabled, ${o.Sk})`},selected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`},focusSelected:{light:`var(--ds-text-selected, ${o.IR})`,dark:`var(--ds-text-selected, ${o.oe})`}}}},c=(0,s.ww)(),d=["default","primary","danger","warning"],u={default:32/14+"em",compact:24/14+"em",none:"auto"},A={default:u.default,compact:u.compact,none:"inherit"},h={default:`0 ${c+c/4}px`,compact:`0 ${c+c/4}px`,none:"0"},p={compact:`0 ${c/4}px`,default:`0 ${c/4}px`,none:"0"},f={default:"middle",compact:"middle",none:"baseline"},C={content:`0 ${c/4}px`,icon:`0 ${c/4}px`},g={borderRadius:"inherit",inset:"var(--ds-space-0, 0px)",borderStyle:"solid",borderWidth:"var(--ds-border-width, 1px)",pointerEvents:"none",position:"absolute"},m={background:"var(--ds-background-neutral-subtle, #00000000)",color:"var(--ds-text, #172B4D)","&:not([disabled])::after":{...g,content:'""',borderColor:"var(--ds-border, #091E4224)"},"&:hover":{background:"var(--ds-background-neutral-hovered, #091E4224)"},"&:active":{background:"var(--ds-background-neutral-pressed, #091E424F)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-neutral-subtle, #00000000)"}},x={background:"var(--ds-background-brand-bold, #0C66E4)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-brand-bold-hovered, #0055CC)"},"&:active":{background:"var(--ds-background-brand-bold-pressed, #09326C)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-brand-bold, #0C66E4)"}},v={background:"transparent",color:"var(--ds-link, #0C66E4)","&:hover":{color:"var(--ds-link, #0C66E4)",textDecoration:"underline"},"&:active":{color:"var(--ds-link-pressed, #0055CC)",textDecoration:"underline"}},w={background:"transparent",color:"var(--ds-text-subtle, #44546F)","&:hover":{background:"var(--ds-background-neutral-subtle-hovered, #091E420F)"},"&:active":{background:"var(--ds-background-neutral-subtle-pressed, #091E4224)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"transparent"}},y={background:"transparent",color:"var(--ds-text-subtle, #44546F)","&:hover":{background:"transparent",color:"var(--ds-text-subtle, #44546F)",textDecoration:"underline"},"&:active":{background:"transparent",color:"var(--ds-text, #172B4D)",textDecoration:"underline"}},b={background:"var(--ds-background-warning-bold, #F5CD47)",color:"var(--ds-text-warning-inverse, #172B4D)","&:hover":{background:"var(--ds-background-warning-bold-hovered, #E2B203)"},"&:active":{background:"var(--ds-background-warning-bold-pressed, #CF9F02)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-warning-bold, #F5CD47)"}},L={background:"var(--ds-background-danger-bold, #C9372C)",color:"var(--ds-text-inverse, #FFFFFF)","&:hover":{background:"var(--ds-background-danger-bold-hovered, #AE2E24)"},"&:active":{background:"var(--ds-background-danger-bold-pressed, #5D1F1A)"},'&[data-has-overlay="true"]:not([disabled]):hover':{background:"var(--ds-background-danger-bold, #C9372C)"}},j={background:"var(--ds-background-selected, #E9F2FF)",color:"var(--ds-text-selected, #0C66E4)","&:not([disabled])::after":{...g,content:'""',borderColor:"var(--ds-border-selected, #0C66E4)"}},M={'&[data-has-overlay="true"]':{cursor:"default",textDecoration:"none"}};function _({group:e,key:t,mode:r}){return(e[t]||e.default)[r]}function B({appearance:e,key:t,mode:r}){return{background:_({group:l.background[e],key:t,mode:r}),color:`${_({group:l.color[e],key:t,mode:r})} !important`}}function k({appearance:e,spacing:t,mode:r,isSelected:n,shouldFitContainer:s,isOnlySingleIcon:o}){const a=B({appearance:e,key:n?"selected":"default",mode:r});return{alignItems:"baseline",borderWidth:0,borderRadius:"var(--ds-border-radius, 3px)",boxSizing:"border-box",display:"inline-flex",fontSize:"inherit",fontStyle:"normal",fontFamily:"inherit",fontWeight:"var(--ds-font-weight-medium, 500)",maxWidth:"100%",position:"relative",textAlign:"center",textDecoration:"none",transition:"background 0.1s ease-out, box-shadow 0.15s cubic-bezier(0.47, 0.03, 0.49, 1.38)",whiteSpace:"nowrap",...!(0,i.fg)("platform-component-visual-refresh")&&a,cursor:"pointer",height:u[t],lineHeight:A[t],padding:o?p[t]:h[t],verticalAlign:f[t],width:s?"100%":"auto",justifyContent:"center",...!(0,i.fg)("platform-component-visual-refresh")&&{"&:visited":{...a},"&:hover":{...B({appearance:e,key:n?"selected":"hover",mode:r}),textDecoration:n||"link"!==e&&"subtle-link"!==e?"inherit":"underline",transitionDuration:"0s, 0.15s"},"&:active":{...B({appearance:e,key:n?"selected":"active",mode:r}),transitionDuration:"0s, 0s"},'&[data-firefox-is-active="true"]':{...B({appearance:e,key:n?"selected":"active",mode:r}),transitionDuration:"0s, 0s"},"&[disabled]":{...B({appearance:e,key:"disabled",mode:r}),cursor:"not-allowed",textDecoration:"none"},...M,'&[data-has-overlay="true"]:not([disabled]):hover, &[data-has-overlay="true"]:not([disabled]):active':{...B({appearance:e,key:n?"selected":"default",mode:r})}},...(0,i.fg)("platform-component-visual-refresh")&&(n?j:{..."default"===e&&m,..."primary"===e&&x,..."link"===e&&v,..."subtle"===e&&w,..."subtle-link"===e&&y,..."warning"===e&&b,..."danger"===e&&L,"&[disabled]":{color:"var(--ds-text-disabled, #091E424F)",backgroundColor:d.includes(e)?"var(--ds-background-disabled, #091E4208)":"transparent",cursor:"not-allowed",textDecoration:"none","&:hovered":{backgroundColor:d.includes(e)?"var(--ds-background-disabled, #091E4208)":"transparent"},"&:active":{backgroundColor:d.includes(e)?"var(--ds-background-disabled, #091E4208)":"transparent"}},...M}),"&::-moz-focus-inner":{border:0,margin:0,padding:0}}}function V({spacing:e}){return(0,n.iv)({display:"flex",margin:"none"===e?0:C.icon,flexGrow:0,flexShrink:0,alignSelf:"center",fontSize:0,lineHeight:0,userSelect:"none"})}function H({spacing:e}){return(0,n.iv)({margin:"none"===e?0:C.content,flexGrow:1,flexShrink:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})}function E({hasOverlay:e}){return(0,n.iv)({opacity:e?0:1,transition:"opacity 0.3s"})}const S={position:"absolute",left:0,top:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center"}},59559:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var n=r(67294),i=r(72360);const s=e=>e&&(0,n.isValidElement)(e)&&e.type===i.Z},73699:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(59559);function i({children:e,iconBefore:t,iconAfter:r}){return!(!(0,n.D)(e)&&(e||(!t||r)&&(t||!r)))}},25032:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(67294);function i(e,t){const r=(0,n.useRef)(!0);(0,n.useEffect)((()=>{e&&r.current&&t&&e.current&&e.current.focus(),r.current=!1}),[t,e])}},81267:(e,t,r)=>{"use strict";function n(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)}))}}r.d(t,{Z:()=>n})},13393:(e,t,r)=>{"use strict";function n(){}r.d(t,{Z:()=>n})},35811:(e,t,r)=>{"use strict";r.d(t,{Me:()=>l,UC:()=>c});var n,i=r(67294),s=r(57262),o=r(97182);const a=null!==(n=i.useId)&&void 0!==n?n:void 0;function l(){return a&&(0,o.fg)("platform.design-system-team.react-18-use-id_mn8q4")?a():`uid${(0,s.D)()}`}function c(){if(a&&(0,o.fg)("platform.design-system-team.react-18-use-id_mn8q4")){const e=a();return t=>`${e}-${t.toString()}`}return(0,s.H)()}},13866:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>S});var n=r(4942),i=r(90250),s=r(56387);const o="@all-features";class a{constructor(){(0,n.Z)(this,"eventToValue",new Map),this.emitter=new s.EventEmitter2}onGateUpdated(e,t,r,n){const i=r(e,{...n,fireGateExposure:!1});void 0===this.eventToValue.get(t)&&this.eventToValue.set(t,i);const s=()=>{const i=r(e,{...n,fireGateExposure:!1});this.eventToValue.get(t)!==i&&(this.eventToValue.set(t,i),t(i))};return this.emitter.on(e,s),()=>{this.emitter.off(e,s)}}onExperimentValueUpdated(e,t,r,n,i,s){const o=`${e}.${t}`,a=i(e,t,r,{...s,fireExperimentExposure:!1});void 0===this.eventToValue.get(n)&&this.eventToValue.set(n,a);const l=()=>{const o=i(e,t,r,{...s,fireExperimentExposure:!1});this.eventToValue.get(n)!==o&&(this.eventToValue.set(n,o),n(o))};return this.emitter.on(o,l),()=>{this.emitter.off(o,l)}}onAnyUpdated(e){return this.emitter.on(o,e),()=>{this.emitter.off(o,e)}}anyUpdated(){this.emitter.emit(o),this.emitter.eventNames().filter((e=>e!==o)).forEach((e=>{this.emitter.emit(e)}))}}var l=r(38031);let c=function(e){return e.Error="Error",e.LocalOverride="LocalOverride",e.Unrecognized="Unrecognized",e.Uninitialized="Uninitialized",e.NetworkNotModified="NetworkNotModified",e.Network="Network",e.InvalidBootstrap="InvalidBootstrap",e.Bootstrap="Bootstrap",e.Cache="Cache",e.Unknown="Unknown",e}({}),d=function(e){return e.Development="development",e.Staging="staging",e.Production="production",e}({}),u=function(e){return e.COMMERCIAL="commercial",e.FEDRAMP_MODERATE="fedramp-moderate",e}({});const A=e=>({perimeter:(0,l.n)()?u.FEDRAMP_MODERATE:u.COMMERCIAL,...e}),h=(e,t)=>{if(!e&&!t)return!0;if(!e||!t)return!1;const r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;const i=([e],[t])=>e.localeCompare(t);r.sort(i),n.sort(i);for(let e=0;e{const r={customIDs:e,custom:t};return e.atlassianAccountId&&(r.userID=e.atlassianAccountId),r},f=Object.entries(c).map((([e,t])=>[e.toLowerCase(),t])),C=e=>{var t,r,n;const i=e.reason.toLowerCase();return{reason:null!==(t=null===(r=f.find((([e])=>i.includes(e))))||void 0===r?void 0:r[1])&&void 0!==t?t:c.Unknown,time:null!==(n=e.receivedAt)&&void 0!==n?n:Date.now()}};class g{static fromExperiment(e){var t,r;const n=new g(e.name,e.value,e.ruleID,C(e.details),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null!==(r=e.groupName)&&void 0!==r?r:void 0);return n.experiment=e,n}constructor(e,t,r,n,i=[],s="",o=null){this.value=t,this._name=e,this._ruleID=r,this._secondaryExposures=i,this._allocatedExperimentName=s,this._evaluationDetails=n,this._onDefaultValueFallback=o}get(e,t,r){var n;const i=this.getValue(e,t);if(null==i)return t;const s=Array.isArray(t)?"array":typeof t,o=Array.isArray(i)?"array":typeof i;var a;return r?r(i)?(this.fireExposure(e),i):(null===(a=this._onDefaultValueFallback)||void 0===a||a.call(this,this,e,s,o),t):null==t||s===o?(this.fireExposure(e),i):(null===(n=this._onDefaultValueFallback)||void 0===n||n.call(this,this,e,s,o),t)}getValue(e,t){return null==e?this.value:(null==t&&(t=null),null==this.value[e]?t:(this.fireExposure(e),this.value[e]))}fireExposure(e){this.experiment&&this.experiment.get(e)}}class m{static fromLayer(e){var t,r,n,i;return new m(e.name,e.__value,e.ruleID,C(e.details),((t,r)=>e.get(r)),null===(t=e.__evaluation)||void 0===t?void 0:t.secondary_exposures,null===(r=e.__evaluation)||void 0===r?void 0:r.undelegated_secondary_exposures,null===(n=e.__evaluation)||void 0===n?void 0:n.allocated_experiment_name,null===(i=e.__evaluation)||void 0===i?void 0:i.explicit_parameters)}constructor(e,t,r,n,i=null,s=[],o=[],a="",l=[]){this._logParameterFunction=i,this._name=e,this._value=JSON.parse(JSON.stringify(null!=t?t:{})),this._ruleID=null!=r?r:"",this._evaluationDetails=n,this._secondaryExposures=s,this._undelegatedSecondaryExposures=o,this._allocatedExperimentName=a,this._explicitParameters=l}get(e,t,r){const n=this._value[e];if(null==n)return t;const i=()=>(this._logLayerParameterExposure(e),n);return r?r(n)?i():t:null==t||typeof n==typeof t&&Array.isArray(t)===Array.isArray(n)?i():t}getValue(e,t){null==t&&(t=null);const r=this._value[e];return null!=r&&this._logLayerParameterExposure(e),null!=r?r:t}_logLayerParameterExposure(e){var t;null===(t=this._logParameterFunction)||void 0===t||t.call(this,this,e)}}const x="4.25.0";class v extends Error{constructor(e){super(e)}}class w{static async fetchClientSdk(e){const{targetApp:t}=e,r=`/api/v2/frontend/clientSdkKey/${t}`;try{return await this.fetchRequest(r,"GET",e)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve client sdk key")}}static async fetchExperimentValues(e,t,r){const n={identifiers:t,customAttributes:r,targetApp:e.targetApp};try{return await this.fetchRequest("/api/v2/frontend/experimentValues","POST",e,n)}catch(e){if(e instanceof Error)throw e;throw Error("Failed to retrieve experiment values")}}static async handleResponseError(e){if(!e.ok){const t=await e.text();throw new v(`Non 2xx response status received, status: ${e.status}, body: ${JSON.stringify(t)}`)}if(204===e.status)throw new v("Unexpected 204 response")}static async extractResponseBody(e){const t=await e.text();return JSON.parse(t)}static getBaseUrl(e,t=!1,r){if(t)return"/gateway/api/flags";if(r===u.FEDRAMP_MODERATE)switch(e){case d.Production:return"https://api.atlassian-us-gov-mod.com/flags";case d.Staging:return"https://api.stg.atlassian-us-gov-mod.com/flags";default:throw new Error(`Invalid environment "${e}" for "${r}" perimeter`)}else{if(r!==u.COMMERCIAL)throw new Error(`Invalid perimeter "${r}"`);switch(e){case d.Development:return"https://api.dev.atlassian.com/flags";case d.Staging:return"https://api.stg.atlassian.com/flags";default:return"https://api.atlassian.com/flags"}}}static async fetchRequest(e,t,r,n){const i=w.getBaseUrl(r.environment,r.useGatewayURL,r.perimeter),s=r.fetchTimeoutMs||5e3;let o;if(AbortSignal.timeout)o=AbortSignal.timeout(s);else if(AbortController){const e=new AbortController;o=e.signal,setTimeout((()=>e.abort()),s)}const a=await fetch(`${i}${e}`,{method:t,headers:{"Content-Type":"application/json","X-Client-Name":"feature-gate-js-client","X-Client-Version":x,"X-API-KEY":r.apiKey},signal:o,...n&&{body:JSON.stringify(n)}});return await this.handleResponseError(a),await this.extractResponseBody(a)}}class y extends i.DataAdapterCore{constructor(){super("NoFetchDataAdapter","nofetch"),(0,n.Z)(this,"bootstrapResult",null)}setBootstrapData(e){this.bootstrapResult=e?{source:"Bootstrap",data:JSON.stringify(e),receivedAt:Date.now(),stableID:i.StableID.get(this._getSdkKey()),fullUserHash:null}:null}async prefetchData(e,t){}async getDataAsync(e,t,r){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(t)}}getDataSync(e){return this.bootstrapResult&&{...this.bootstrapResult,fullUserHash:(0,i._getFullUserHash)(e)}}async _fetchFromNetwork(e,t,r){return null}_getCacheKey(e){const t=(0,i._getStorageKey)(this._getSdkKey(),e);return`${i.DataAdapterCachePrefix}.${this._cacheSuffix}.${t}`}_isCachedResultValidFor204(e,t){return!1}setDataLegacy(e,t){super.setData(e,t)}toJSON(){const e={...this};return delete e._options,delete e._inMemoryCache,delete e.bootstrapResult,e}}var b=r(13328);const L="LocalOverride:Recognized",j="STATSIG_OVERRIDES";class M{constructor(){this._overrides={gates:{},configs:{},layers:{}}}parseStoredOverrides(e){try{const e=window.localStorage.getItem(j);return e?JSON.parse(e):{gates:{},configs:{},layers:{}}}catch{return{gates:{},configs:{},layers:{}}}}mergeOverrides(...e){const t={gates:{},configs:{},layers:{}};for(const r of e){for(const[e,n]of Object.entries(r.gates))t.gates[e]=n;for(const[e,n]of Object.entries(r.configs))t.configs[e]=n;for(const[e,n]of Object.entries(r.layers))t.layers[e]=n}return t}initFromStoredOverrides(){this._overrides=this.mergeOverrides(this.parseStoredOverrides("STATSIG_JS_LITE_LOCAL_OVERRIDES"),this.parseStoredOverrides(j))}saveOverrides(){window.localStorage.setItem(j,JSON.stringify(this._overrides))}getOverrides(){return Object.fromEntries(Object.entries(this._overrides).map((([e,t])=>{const r={};for(const[e,n]of Object.entries(t))Object.prototype.hasOwnProperty.call(t,(0,b._DJB2)(e))&&(r[e]=n);return[e,r]})))}setOverrides(e){const t={gates:{},configs:{},layers:{},...e};for(const e of Object.values(t))for(const[t,r]of Object.entries(e)){const n=(0,b._DJB2)(t);Object.prototype.hasOwnProperty.call(e,n)||(e[n]=r)}this._overrides=t,this.saveOverrides()}overrideGate(e,t){this._overrides.gates[e]=t,this._overrides.gates[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeGateOverride(e){delete this._overrides.gates[e],delete this._overrides.gates[(0,b._DJB2)(e)],this.saveOverrides()}getGateOverride(e,t){var r;const n=null!==(r=this._overrides.gates[e.name])&&void 0!==r?r:this._overrides.gates[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,details:{...e.details,reason:L}}}overrideDynamicConfig(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeDynamicConfigOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getDynamicConfigOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideExperiment(e,t){this._overrides.configs[e]=t,this._overrides.configs[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeExperimentOverride(e){delete this._overrides.configs[e],delete this._overrides.configs[(0,b._DJB2)(e)],this.saveOverrides()}getExperimentOverride(e,t){return this._getConfigOverride(e,this._overrides.configs)}overrideLayer(e,t){this._overrides.layers[e]=t,this._overrides.layers[(0,b._DJB2)(e)]=t,this.saveOverrides()}removeLayerOverride(e){delete this._overrides.layers[e],delete this._overrides.layers[(0,b._DJB2)(e)],this.saveOverrides()}removeAllOverrides(){this._overrides={gates:{},configs:{},layers:{}},window.localStorage.removeItem(j)}getLayerOverride(e,t){var r;const n=null!==(r=this._overrides.layers[e.name])&&void 0!==r?r:this._overrides.layers[(0,b._DJB2)(e.name)];return null==n?null:{...e,__value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}_getConfigOverride(e,t){var r;const n=null!==(r=t[e.name])&&void 0!==r?r:t[(0,b._DJB2)(e.name)];return null==n?null:{...e,value:n,get:(0,b._makeTypedGet)(e.name,n),details:{...e.details,reason:L}}}}const _="client-default-key";var B;class k{static isGateExists(e){return this.client.isGateExist(e)}static isExperimentExists(e){return this.client.isExperimentExist(e)}}B=k,(0,n.Z)(k,"client",new class{constructor(){(0,n.Z)(this,"initPromise",null),(0,n.Z)(this,"initCompleted",!1),(0,n.Z)(this,"initWithDefaults",!1),(0,n.Z)(this,"hasCheckGateErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentErrorOccurred",!1),(0,n.Z)(this,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerErrorOccurred",!1),(0,n.Z)(this,"hasGetLayerValueErrorOccurred",!1),(0,n.Z)(this,"subscriptions",new a),(0,n.Z)(this,"dataAdapter",new y),(0,n.Z)(this,"overrideAdapter",new M),(0,n.Z)(this,"statsigValuesUpdated",(()=>{this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.subscriptions.anyUpdated()}))}async initialize(e,t,r){const n=A(e);if(this.initPromise)return h(n,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const i=performance.now();return this.initOptions=n,this.initPromise=this.init(n,t,r).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-i;this.fireClientEvent(i,e,"initialize",this.initCompleted,n.apiKey)})),this.initPromise}async initializeWithProvider(e,t,r,n){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;const s=performance.now();return this.initOptions=i,this.provider=t,this.provider.setClientVersion(x),this.provider.setApplyUpdateCallback&&this.provider.setApplyUpdateCallback(this.applyUpdateCallback),this.initPromise=this.initWithProvider(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeWithProvider",this.initCompleted,t.getApiKey?t.getApiKey():void 0)})),this.initPromise}applyUpdateCallback(e){try{(this.initCompleted||this.initWithDefaults)&&(this.assertInitialized(this.statsigClient),this.dataAdapter.setBootstrapData(e.experimentValues),this.dataAdapter.setData(JSON.stringify(e.experimentValues)),this.statsigValuesUpdated())}catch(e){console.warn("Error when attempting to apply update",e)}}fireClientEvent(e,t,r,n,i=void 0){var s;null===(s=this.initOptions.analyticsWebClient)||void 0===s||s.then((s=>{const o={targetApp:this.initOptions.targetApp,clientVersion:x,success:n,startTime:e,totalTime:t,...i&&{apiKey:i}};s.sendOperationalEvent({action:r,actionSubject:"featureGatesClient",attributes:o,tags:["measurement"],source:"@atlaskit/feature-gate-js-client"})})).catch((e=>{this.initOptions.environment!==d.Production&&console.error("Analytics web client promise did not resolve",e)}))}async initializeFromValues(e,t,r,n={}){const i=A(e);if(this.initPromise)return h(i,this.initOptions)||console.warn("Feature Gates client already initialized with different options. New options were not applied."),this.initPromise;Object.prototype.hasOwnProperty.call(n,"has_updates")||(n.has_updates=!0);const s=performance.now();return this.initOptions=i,this.initPromise=this.initFromValues(i,t,r,n).then((()=>{this.initCompleted=!0,this.initWithDefaults=!0})).finally((()=>{const e=performance.now()-s;this.fireClientEvent(s,e,"initializeFromValues",this.initCompleted)})),this.initPromise}assertInitialized(e){if(!e)throw new Error("Client must be initialized before using this method")}async updateUser(e,t,r){this.assertInitialized(this.statsigClient);const n=A(e);await this.updateUserUsingInitializeValuesProducer((()=>w.fetchExperimentValues(n,t,r).then((({experimentValues:e,customAttributes:t})=>({experimentValues:e,customAttributesFromFetch:t})))),t,r)}async updateUserWithProvider(e,t){if(this.assertInitialized(this.statsigClient),!this.provider)throw new Error("Cannot update user using provider as the client was not initialised with a provider");await this.provider.setProfile(this.initOptions,e,t),await this.updateUserUsingInitializeValuesProducer((()=>this.provider.getExperimentValues()),e,t)}async updateUserWithValues(e,t,r={}){this.assertInitialized(this.statsigClient),await this.updateUserUsingInitializeValuesProducer((()=>Promise.resolve({experimentValues:r,customAttributesFromFetch:t})),e,t)}initializeCalled(){return null!=this.initPromise}initializeCompleted(){return this.initCompleted}checkGate(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireGateExposure:r=!0}=t;return this.statsigClient.checkGate(e,{disableExposureLog:!r})}catch(t){return this.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate. Only the first occurrence of this error is logged.",gateName:e,error:t}),this.hasCheckGateErrorOccurred=!0),!1}}isGateExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getFeatureGate(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check FeatureGate: ${e}`),!0}}isExperimentExist(e){try{return this.assertInitialized(this.statsigClient),!this.statsigClient.getExperiment(e,{disableExposureLog:!0}).details.reason.includes("Unrecognized")}catch(e){return console.error(`Error occurred when trying to check Experiment: ${e}`),!0}}manuallyLogGateExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.checkGate(e)}getExperiment(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireExperimentExposure:r=!0}=t;return g.fromExperiment(this.statsigClient.getExperiment(e,{disableExposureLog:!r}))}catch(t){return this.hasGetExperimentErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment. Only the first occurrence of this error is logged.",experimentName:e,error:t}),this.hasGetExperimentErrorOccurred=!0),new g(e,{},"",{time:Date.now(),reason:c.Error})}}getExperimentValue(e,t,r,n={}){const i=this.getExperiment(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),this.hasGetExperimentValueErrorOccurred=!0),r}}manuallyLogExperimentExposure(e){this.assertInitialized(this.statsigClient),this.statsigClient.getExperiment(e)}manuallyLogLayerExposure(e,t){var r;this.assertInitialized(this.statsigClient),null===(r=this.statsigClient.getLayer(e))||void 0===r||r.get(t)}shutdownStatsig(){this.assertInitialized(this.statsigClient),this.statsigClient.shutdown()}overrideGate(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideGate(e,t),this.user&&this.statsigClient.updateUserSync(this.user,{disableBackgroundCacheRefresh:!0}),this.statsigValuesUpdated()}clearGateOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeGateOverride(e),this.statsigValuesUpdated()}overrideConfig(e,t){this.assertInitialized(this.statsigClient),this.overrideAdapter.overrideDynamicConfig(e,t),this.statsigValuesUpdated()}clearConfigOverride(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeDynamicConfigOverride(e),this.statsigValuesUpdated()}setOverrides(e){this.assertInitialized(this.statsigClient),this.overrideAdapter.setOverrides(e),this.statsigValuesUpdated()}getOverrides(){return this.assertInitialized(this.statsigClient),this.overrideAdapter.getOverrides()}clearAllOverrides(){this.assertInitialized(this.statsigClient),this.overrideAdapter.removeAllOverrides(),this.statsigValuesUpdated()}isCurrentUser(e,t){return h(this.currentIdentifiers,e)&&h(this.currentAttributes,t)}onGateUpdated(e,t,r={}){return this.subscriptions.onGateUpdated(e,(n=>{const{fireGateExposure:i=!0}=r;i&&this.manuallyLogGateExposure(e);try{t(n)}catch(t){console.warn(`Error calling callback for gate ${e} with value ${n}`,t)}}),this.checkGate.bind(this),r)}onExperimentValueUpdated(e,t,r,n,i={}){return this.subscriptions.onExperimentValueUpdated(e,t,r,(t=>{const{fireExperimentExposure:r=!0}=i;r&&this.manuallyLogExperimentExposure(e);try{n(t)}catch(r){console.warn(`Error calling callback for experiment ${e} with value ${t}`,r)}}),this.getExperimentValue.bind(this),i)}onAnyUpdated(e){return this.subscriptions.onAnyUpdated(e)}async init(e,t,r){const n={...e};let i,s;try{const o=w.fetchClientSdk(e).then((e=>n.sdkKey=e.clientSdkKey)),a=w.fetchExperimentValues(e,t,r),[,l]=await Promise.all([o,a]);i=l.experimentValues,s=l.customAttributes}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(n,t,r),e}return this.initFromValues(n,t,s,i)}async initWithProvider(e,t,r,n){const i={...e,disableCurrentPageLogging:!0};let s,o;try{await t.setProfile(e,r,n);const a=t.getClientSdkKey().then((e=>i.sdkKey=e)),l=t.getExperimentValues(),[,c]=await Promise.all([a,l]);s=c.experimentValues,o=c.customAttributesFromFetch}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to fetch the Feature Gates client values, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client without values"),await this.initFromValues(i,r,n),e}return this.initFromValues(i,r,o,s)}async initFromValues(e,t,r,n={}){var s;this.overrideAdapter.initFromStoredOverrides(),this.user=p(t,r),this.currentIdentifiers=t,this.currentAttributes=r;const o=(e=>{const{api:t,disableCurrentPageLogging:r,loggingIntervalMillis:n,loggingBufferMaxSize:i,localMode:s,eventLoggingApi:o,eventLoggingApiForRetries:a,disableLocalStorage:l,ignoreWindowUndefined:c,disableAllLogging:d,initTimeoutMs:u,disableNetworkKeepalive:A,overrideStableID:h,disableErrorLogging:p,disableAutoMetricsLogging:f,...C}=e;return{...C,networkConfig:{api:t,logEventUrl:o?o+"rgstr":void 0,logEventFallbackUrls:a?[a]:void 0,preventAllNetworkTraffic:s||!c&&"undefined"==typeof window},includeCurrentPageUrlWithEvents:!r,loggingIntervalMs:n,loggingBufferMaxSize:i,disableStorage:l,disableLogging:d}})(e);o.sdkKey||(o.sdkKey=_),null!==(s=o.networkConfig)&&void 0!==s&&s.logEventUrl||(o.networkConfig={...o.networkConfig,logEventUrl:"https://xp.atlassian.com/v1/rgstr"}),o.perimeter===u.FEDRAMP_MODERATE&&(o.disableLogging=!0);const{sdkKey:a,environment:l,updateUserCompletionCallback:c,perimeter:d,...A}=o,h={...A,environment:{tier:l},includeCurrentPageUrlWithEvents:!1,dataAdapter:this.dataAdapter,overrideAdapter:this.overrideAdapter};try{this.statsigClient=new i.StatsigClient(a,this.user,h),this.dataAdapter.setBootstrapData(n),await this.statsigClient.initializeAsync()}catch(e){throw e instanceof Error&&console.error(`Error occurred when trying to initialise the Statsig client, error: ${null==e?void 0:e.message}`),console.warn("Initialising Statsig client with default sdk key and without values"),this.statsigClient=new i.StatsigClient(_,this.user,h),this.dataAdapter.setBootstrapData(),await this.statsigClient.initializeAsync(),this.initWithDefaults=!0,e}}async updateUserUsingInitializeValuesProducer(e,t,r){if(this.assertInitialized(this.statsigClient),!this.initPromise)throw new Error("The client must be initialized before you can update the user.");if(this.isCurrentUser(t,r))return this.initPromise;const n=this.initPromise;try{await this.initPromise}catch(e){}const i=e(),s=this.updateStatsigClientUser(i,t,r);return this.initPromise=s.catch((async()=>{this.initPromise=n,this.provider&&await this.provider.setProfile(this.initOptions,this.currentIdentifiers,this.currentAttributes)})),s}async updateStatsigClientUser(e,t,r){var n,i;let s,o;this.assertInitialized(this.statsigClient);try{s=await e,o=p(t,s.customAttributesFromFetch)}catch(e){var a,l;const t=e instanceof Error?e.message:JSON.stringify(e);throw null===(a=(l=this.initOptions).updateUserCompletionCallback)||void 0===a||a.call(l,!1,t),e}let c=!0,d=null;try{this.dataAdapter.setBootstrapData(s.experimentValues),this.user=o,await this.statsigClient.updateUserAsync(this.user)}catch(e){c=!1,d=String(e)}if(null===(n=this.initOptions)||void 0===n||null===(i=n.updateUserCompletionCallback)||void 0===i||i.call(n,c,d),!c)throw new Error("Failed to update user. An unexpected error occured.");this.currentIdentifiers=t,this.currentAttributes=r,this.subscriptions.anyUpdated()}getPackageVersion(){return x}getLayer(e,t={}){try{this.assertInitialized(this.statsigClient);const{fireLayerExposure:r=!0}=t;return m.fromLayer(this.statsigClient.getLayer(e,{disableExposureLog:!r}))}catch(t){return this.hasGetLayerErrorOccurred||(console.warn({msg:"An error has occurred getting the layer. Only the first occurrence of this error is logged.",layerName:e,error:t}),this.hasGetLayerErrorOccurred=!0),m.fromLayer((0,i._makeLayer)(e,{reason:"Error"},null))}}getLayerValue(e,t,r,n={}){const i=this.getLayer(e,n);try{const{typeGuard:e}=n;return i.get(t,r,e)}catch(t){return this.hasGetLayerValueErrorOccurred||(console.warn({msg:"An error has occurred getting the layer value. Only the first occurrence of this error is logged.",layerName:e,defaultValue:r,options:n,error:t}),this.hasGetLayerValueErrorOccurred=!0),r}}}),(0,n.Z)(k,"hasCheckGateErrorOccurred",!1),(0,n.Z)(k,"hasGetExperimentValueErrorOccurred",!1),(0,n.Z)(k,"checkGate",((e,t)=>{try{if(window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getFeatureFlagOverride){const t=window.__CRITERION__.getFeatureFlagOverride(e);if(void 0!==t)return t}}catch(t){B.hasCheckGateErrorOccurred||(console.warn({msg:"An error has occurred checking the feature gate from criterion override. Only the first occurrence of this error is logged.",gateName:e,error:t}),B.hasCheckGateErrorOccurred=!0)}return B.client.checkGate(e,t)})),(0,n.Z)(k,"getExperimentValue",((e,t,r,n)=>{try{if("undefined"!=typeof window&&window.__CRITERION__&&"function"==typeof window.__CRITERION__.getExperimentValueOverride){const r=window.__CRITERION__.getExperimentValueOverride(e,t);if(null!=r)return r}}catch(t){return B.hasGetExperimentValueErrorOccurred||(console.warn({msg:"An error has occurred getting the experiment value from criterion override. Only the first occurrence of this error is logged.",experimentName:e,defaultValue:r,options:n,error:t}),B.hasGetExperimentValueErrorOccurred=!0),r}return B.client.getExperimentValue(e,t,r,n)})),(0,n.Z)(k,"initializeCalled",B.client.initializeCalled.bind(B.client)),(0,n.Z)(k,"initializeCompleted",B.client.initializeCompleted.bind(B.client)),(0,n.Z)(k,"initialize",B.client.initialize.bind(B.client)),(0,n.Z)(k,"initializeWithProvider",B.client.initializeWithProvider.bind(B.client)),(0,n.Z)(k,"initializeFromValues",B.client.initializeFromValues.bind(B.client)),(0,n.Z)(k,"manuallyLogGateExposure",B.client.manuallyLogGateExposure.bind(B.client)),(0,n.Z)(k,"getExperiment",B.client.getExperiment.bind(B.client)),(0,n.Z)(k,"manuallyLogExperimentExposure",B.client.manuallyLogExperimentExposure.bind(B.client)),(0,n.Z)(k,"manuallyLogLayerExposure",B.client.manuallyLogLayerExposure.bind(B.client)),(0,n.Z)(k,"shutdownStatsig",B.client.shutdownStatsig.bind(B.client)),(0,n.Z)(k,"overrideGate",B.client.overrideGate.bind(B.client)),(0,n.Z)(k,"clearGateOverride",B.client.clearGateOverride.bind(B.client)),(0,n.Z)(k,"overrideConfig",B.client.overrideConfig.bind(B.client)),(0,n.Z)(k,"clearConfigOverride",B.client.clearConfigOverride.bind(B.client)),(0,n.Z)(k,"setOverrides",B.client.setOverrides.bind(B.client)),(0,n.Z)(k,"getOverrides",B.client.getOverrides.bind(B.client)),(0,n.Z)(k,"clearAllOverrides",B.client.clearAllOverrides.bind(B.client)),(0,n.Z)(k,"isCurrentUser",B.client.isCurrentUser.bind(B.client)),(0,n.Z)(k,"onGateUpdated",B.client.onGateUpdated.bind(B.client)),(0,n.Z)(k,"onExperimentValueUpdated",B.client.onExperimentValueUpdated.bind(B.client)),(0,n.Z)(k,"onAnyUpdated",B.client.onAnyUpdated.bind(B.client)),(0,n.Z)(k,"updateUser",B.client.updateUser.bind(B.client)),(0,n.Z)(k,"updateUserWithProvider",B.client.updateUserWithProvider.bind(B.client)),(0,n.Z)(k,"updateUserWithValues",B.client.updateUserWithValues.bind(B.client)),(0,n.Z)(k,"getPackageVersion",B.client.getPackageVersion.bind(B.client)),(0,n.Z)(k,"getLayer",B.client.getLayer.bind(B.client)),(0,n.Z)(k,"getLayerValue",B.client.getLayerValue.bind(B.client));let V=k;if("undefined"!=typeof window)if(void 0===window.__FEATUREGATES_JS__)window.__FEATUREGATES_JS__=k;else{var H,E;V=window.__FEATUREGATES_JS__;const e=(null===(H=V)||void 0===H||null===(E=H.getPackageVersion)||void 0===E?void 0:E.call(H))||"4.10.0 or earlier";if(e!==x){const t=`Multiple versions of FeatureGateClients found on the current page.\n The currently bound version is ${e} when module version ${x} was loading.`;console.warn(t)}}const S=V},71025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(67294)),i=s(r(8697));function s(e){return e&&e.__esModule?e:{default:e}}const o=e=>n.default.createElement(i.default,Object.assign({dangerouslySetGlyph:''},e));o.displayName="LinkExternalIcon",t.default=o},2398:(e,t,r)=>{"use strict";t.Z=void 0;var n=o(r(67294)),i=o(r(71025)),s=o(r(5375));function o(e){return e&&e.__esModule?e:{default:e}}const a=e=>n.default.createElement(i.default,Object.assign({LEGACY_fallbackIcon:s.default},e));a.Name="LinkExternalIconMigration",t.Z=a},8697:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Icon:()=>C,default:()=>g});var n=r(67294),i=r(4572),s=r(97182);const o=(0,i.iv)({overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),a=(0,i.iv)({color:"currentColor",verticalAlign:"bottom"}),l=(0,i.iv)({display:"inline-block",boxSizing:"border-box",flexShrink:0,lineHeight:1,paddingInlineEnd:"var(--ds--button--new-icon-padding-end, 0)",paddingInlineStart:"var(--ds--button--new-icon-padding-start, 0)"}),c=(0,i.iv)({lineHeight:"var(--ds-space-150, 12px)"}),d=(0,i.iv)({width:"inherit",height:"inherit"}),u=(0,i.iv)({"@media screen and (forced-colors: active)":{color:"CanvasText",filter:"grayscale(1)"}}),A=(0,i.iv)({width:"inherit",height:"inherit"}),h={core:{none:(0,i.iv)({width:"var(--ds-space-200, 16px)",height:"var(--ds-space-200, 16px)"}),spacious:(0,i.iv)({width:"var(--ds-space-300, 24px)",height:"var(--ds-space-300, 24px)"})},utility:{none:(0,i.iv)({width:"var(--ds-space-150, 12px)",height:"var(--ds-space-150, 12px)"}),compact:(0,i.iv)({width:"var(--ds-space-200, 16px)",height:"var(--ds-space-200, 16px)"}),spacious:(0,i.iv)({width:"var(--ds-space-300, 24px)",height:"var(--ds-space-300, 24px)"})}},p={core:16,utility:12},f={core:{none:0,spacious:4},utility:{none:0,compact:2,spacious:6}},C=(0,n.memo)((function(e){var t,r,n;const{color:C="currentColor",testId:g,label:m,LEGACY_primaryColor:x,LEGACY_secondaryColor:v,LEGACY_size:w,LEGACY_fallbackIcon:y,dangerouslySetGlyph:b,shouldScale:L,LEGACY_margin:j}=e,M=b?{__html:b}:void 0;if(y&&!(0,s.fg)("platform-visual-refresh-icons"))return(0,i.tZ)(y,{primaryColor:null!=x?x:C,secondaryColor:v,size:w,label:m,testId:g,UNSAFE_margin:j});const _=p[null!==(t=e.type)&&void 0!==t?t:"core"];let B;var k,V;B="utility"===e.type?f[e.type][null!==(k=e.spacing)&&void 0!==k?k:"none"]:f.core[null!==(V=e.spacing)&&void 0!==V?V:"none"];const H=_+2*B;let E=C;return M&&"var(--ds-icon-disabled, #091E424F)"===C&&(M.__html=`\n\n \n \n\n\n ${M.__html}\n`,E="var(--ds-icon, #44546F)"),(0,i.tZ)("span",{"data-testid":g,role:m?"img":void 0,"aria-label":m||void 0,"aria-hidden":!m||void 0,style:{color:E},css:[l,u,L&&d,"utility"===e.type&&c]},(0,i.tZ)("svg",{fill:"none",viewBox:`${0-B} ${0-B} ${H} ${H}`,role:"presentation",css:[o,a,L?A:"utility"===e.type?h[e.type][null!==(r=e.spacing)&&void 0!==r?r:"none"]:h.core[null!==(n=e.spacing)&&void 0!==n?n:"none"]],dangerouslySetInnerHTML:M}))})),g=C},81732:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Icon:()=>C,IconFacade:()=>v,default:()=>g});var n=r(87462),i=r(67294),s=r(4572);const o="16px",a="24px",l="32px",c="48px",d={small:{width:o,height:o},medium:{width:a,height:a},large:{width:l,height:l},xlarge:{width:c,height:c}},u=((0,s.iv)(d.small),(0,s.iv)(d.medium),(0,s.iv)(d.large),(0,s.iv)(d.xlarge),({width:e,height:t,size:r})=>e&&t?{width:e,height:t}:r?d[r]:void 0),A=(0,s.iv)({display:"inline-block",flexShrink:0,lineHeight:1,"> svg":{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"},maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"}}),h=(0,s.iv)({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),p=(0,s.iv)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),f=(0,s.iv)({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),C=(0,i.memo)((function(e){const{glyph:t,dangerouslySetGlyph:r,primaryColor:i="currentColor",secondaryColor:o,size:a,testId:l,label:c,width:d,height:C,UNSAFE_margin:g}=e,m=r?{dangerouslySetInnerHTML:{__html:r}}:{children:t?(0,s.tZ)(t,{role:"presentation"}):null},x=u({width:d,height:C,size:a});return(0,s.tZ)("span",(0,n.Z)({"data-testid":l,"data-vc":`icon-${l}`,role:c?"img":void 0,"aria-label":c||void 0,"aria-hidden":!c||void 0,style:{"--icon-primary-color":i,"--icon-secondary-color":o||"var(--ds-surface, #FFFFFF)",margin:g}},m,{css:[A,h,i===o&&p,"transparent"===o&&f,x&&(0,s.iv)({width:x.width,height:x.height,"> svg":x})]}))})),g=C;var m=r(97182);const x={utility:{small:"compact",medium:"spacious"},core:{small:"none",medium:"spacious"}},v=(0,i.memo)((function({dangerouslySetGlyph:e,...t}){var r;const s=t.newIcon,o=null!==(r=t.size)&&void 0!==r?r:"medium";if(!t.isFacadeDisabled&&(0,m.fg)("platform-visual-refresh-icons-legacy-facade")&&s&&("small"===o||"medium"===o)){if("utility"===t.iconType){const e=s;return i.createElement(e,(0,n.Z)({},t,{spacing:(0,m.fg)("platform-visual-refresh-icons-facade-button-fix")?x.utility[o]:"none",color:t.primaryColor||"currentColor",type:t.iconType}))}{const e=s;return i.createElement(e,(0,n.Z)({},t,{spacing:x.core[o],color:t.primaryColor||"currentColor",type:t.iconType}))}}return i.createElement(C,(0,n.Z)({dangerouslySetGlyph:e},t))}))},5375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(67294)),i=r(81732),s=o(r(71025));function o(e){return e&&e.__esModule?e:{default:e}}const a=e=>n.default.createElement(i.IconFacade,Object.assign({dangerouslySetGlyph:''},e,{newIcon:s.default}));a.displayName="ShortcutIcon",t.default=a},26628:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=(0,r(67294).createContext)(null)},10147:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(67294),i=r(4572),s=r(97182),o=r(23604),a=r(50586);const l=(0,o.tu)({display:"inline-flex",borderRadius:"border.radius",blockSize:"min-content",position:"static",overflow:"hidden"}),c={container:(0,i.iv)({display:"inline-flex",boxSizing:"border-box",position:"static",blockSize:"min-content",borderRadius:"3px",overflow:"hidden",paddingInline:"var(--ds-space-050, 4px)"}),containerSubtle:(0,i.iv)({outlineOffset:-1}),background:{bold:{default:(0,i.iv)({backgroundColor:"#DDDEE1"}),inprogress:(0,i.iv)({backgroundColor:"#8FB8F6"}),moved:(0,i.iv)({backgroundColor:"#F9C84E"}),new:(0,i.iv)({backgroundColor:"#D8A0F7"}),removed:(0,i.iv)({backgroundColor:"#FD9891"}),success:(0,i.iv)({backgroundColor:"#B3DF72"})},subtle:{default:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"}),inprogress:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"}),moved:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"}),new:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"}),removed:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"}),success:(0,i.iv)({backgroundColor:"var(--ds-background-neutral-subtle, #00000000)"})}},border:{subtle:{default:(0,i.iv)({border:"1px solid #B7B9BE"}),inprogress:(0,i.iv)({border:"1px solid #669DF1"}),moved:(0,i.iv)({border:"1px solid #FCA700"}),new:(0,i.iv)({border:"1px solid #C97CF4"}),removed:(0,i.iv)({border:"1px solid #F87168"}),success:(0,i.iv)({border:"1px solid #94C748"})}},outline:{subtle:{default:(0,i.iv)({outline:"1px solid #B7B9BE"}),inprogress:(0,i.iv)({outline:"1px solid #669DF1"}),moved:(0,i.iv)({outline:"1px solid #FCA700"}),new:(0,i.iv)({outline:"1px solid #C97CF4"}),removed:(0,i.iv)({outline:"1px solid #F87168"}),success:(0,i.iv)({outline:"1px solid #94C748"})}},text:{subtle:(0,i.iv)({color:"var(--ds-text, #172B4D)"}),bold:(0,i.iv)({color:"#292A2E"})}},d=(0,i.iv)({fontFamily:'var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif)',fontSize:"11px",fontStyle:"normal",fontWeight:"var(--ds-font-weight-bold, 700)",lineHeight:"16px",overflow:"hidden",textOverflow:"ellipsis",textTransform:"uppercase",whiteSpace:"nowrap"}),u=(0,n.memo)((({children:e,testId:t,isBold:r=!1,appearance:n="default",maxWidth:o=200,style:u})=>{const A=r?"bold":"subtle",f=n in c.background[A]?n:"default",C="string"==typeof o?o:`${o}px`,g="string"==typeof o&&/%$/.test(o);if((0,s.fg)("platform-component-visual-refresh"))return(0,i.tZ)("span",{style:{backgroundColor:null==u?void 0:u.backgroundColor,maxWidth:g?o:"100%"},css:[c.container,c.background[A][f],"subtle"===A&&!(0,s.fg)("visual-refresh_drop_5")&&c.border.subtle[f],"subtle"===A&&(0,s.fg)("visual-refresh_drop_5")&&c.outline.subtle[f],"subtle"===A&&(0,s.fg)("visual-refresh_drop_5")&&c.containerSubtle],"data-testid":t},(0,i.tZ)("span",{css:[d,c.text[A]],style:{color:null==u?void 0:u.color,maxWidth:g?"100%":`calc(${C} - var(--ds-space-100, 8px))`},"data-testid":t&&`${t}--text`},e));const m=n in h[A]?n:"default";return(0,i.tZ)(a.Z,{as:"span",backgroundColor:h[A][m],style:{backgroundColor:null==u?void 0:u.backgroundColor,maxWidth:g?o:"100%"},paddingInline:"space.050",xcss:l,testId:t},(0,i.tZ)("span",{css:[d,p[A][f]],style:{color:null==u?void 0:u.color,maxWidth:g?"100%":`calc(${C} - var(--ds-space-100, 8px))`},"data-testid":t&&`${t}--text`},e))}));u.displayName="Lozenge";const A=u,h={bold:{default:"color.background.neutral.bold",inprogress:"color.background.information.bold",moved:"color.background.warning.bold",new:"color.background.discovery.bold",removed:"color.background.danger.bold",success:"color.background.success.bold"},subtle:{default:"color.background.neutral",inprogress:"color.background.information",moved:"color.background.warning",new:"color.background.discovery",removed:"color.background.danger",success:"color.background.success"}},p={bold:{default:(0,i.iv)({color:"var(--ds-text-inverse, #FFFFFF)"}),inprogress:(0,i.iv)({color:"var(--ds-text-inverse, #FFFFFF)"}),moved:(0,i.iv)({color:"var(--ds-text-warning-inverse, #172B4D)"}),new:(0,i.iv)({color:"var(--ds-text-inverse, #FFFFFF)"}),removed:(0,i.iv)({color:"var(--ds-text-inverse, #FFFFFF)"}),success:(0,i.iv)({color:"var(--ds-text-inverse, #FFFFFF)"})},subtle:{default:(0,i.iv)({color:"var(--ds-text-subtle, #42526E)"}),inprogress:(0,i.iv)({color:"var(--ds-text-information, #0052CC)"}),moved:(0,i.iv)({color:"var(--ds-text-warning, #974F0C)"}),new:(0,i.iv)({color:"var(--ds-text-discovery, #403294)"}),removed:(0,i.iv)({color:"var(--ds-text-danger, #DE350B)"}),success:(0,i.iv)({color:"var(--ds-text-success, #006644)"})}}},97182:(e,t,r)=>{"use strict";r.d(t,{fg:()=>f});var n,i,s,o,a=r(13866);const l=!(void 0!==(null===globalThis||void 0===globalThis||null===(n=globalThis.process)||void 0===n||null===(i=n.env)||void 0===i?void 0:i.JEST_WORKER_ID))&&"production"!==(null===globalThis||void 0===globalThis||null===(s=globalThis.process)||void 0===s||null===(o=s.env)||void 0===o?void 0:o.NODE_ENV),c=(...e)=>{l&&console.debug(...e)},d="@atlaskit/platform-feature-flags",u="__PLATFORM_FEATURE_FLAGS__",A=void 0!=={}&&void 0!=={},h=!!A&&"true"==={}.ENABLE_PLATFORM_FF||!!A&&"true"==={}.STORYBOOK_ENABLE_PLATFORM_FF,p="undefined"!=typeof window?window:globalThis;function f(e){return function(e){if(h)return c('[%s]: The feature flags were enabled while running tests. The flag "%s" will be always enabled.',d,e),!0;try{var t,r,n;if(void 0===(null===(t=p[u])||void 0===t?void 0:t.booleanResolver)||null===(null===(r=p[u])||void 0===r?void 0:r.booleanResolver))return a.ZP.checkGate(e);const i=null===(n=p[u])||void 0===n?void 0:n.booleanResolver(e);return"boolean"!=typeof i?(console.warn(`${e} resolved to a non-boolean value, returning false for safety`),!1):i}catch(e){return!1}}(e)}p[u]=p[u]||{booleanResolver:void 0}},56722:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n=r(93379),i=r.n(n),s=r(7795),o=r.n(s),a=r(90569),l=r.n(a),c=r(3565),d=r.n(c),u=r(19216),A=r.n(u),h=r(44589),p=r.n(h),f=r(76484),C={};C.styleTagTransform=p(),C.setAttributes=d(),C.insert=l().bind(null,"head"),C.domAPI=o(),C.insertStyleElement=A(),i()(f.Z,C),f.Z&&f.Z.locals&&f.Z.locals;var g=r(7213),m=r(67294),x=r(26628),v=r(3727);const w={xsmall:8,small:16,medium:24,large:48,xlarge:96},y="undefined"==typeof window?m.useEffect:m.useLayoutEffect,b=m.memo(m.forwardRef((function({appearance:e="inherit",delay:t=0,interactionName:r,label:n,size:i="medium",testId:s},o){const a="number"==typeof i?i:w[i],l=`${t}ms`,c=function(e){return"inherit"===e?`var(--ds-icon-subtle, ${v.Mx})`:`var(--ds-icon-inverse, ${v.N0})`}(e),d=(0,m.useContext)(x.Z);return y((()=>{if(null!=d)return d.hold(r)}),[d,r]),m.createElement("span",{"data-testid":s?`${s}-wrapper`:"spinner-wrapper",style:{animationDelay:l,width:a,height:a},className:(0,g.Z)(["_1e0c116y _s7n4nkob","_y44v1ozz _1pgl2qsq _8hrz1h6o"])},m.createElement("svg",{height:a,width:a,viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg","data-testid":s,ref:o,"aria-label":n||void 0,style:{animationDelay:l},role:n?"img":"none",className:(0,g.Z)(["_y44v1a7z _1o51q7pw _tzy4idpf"])},m.createElement("circle",{cx:"8",cy:"8",r:"7",style:{stroke:c},className:(0,g.Z)(["_lswuglyw _7ljx1dhp _opj11kw7 _134c892t _1snbbs82 _jcxd7g3v _1tjm1onz"])})))})))},3727:(e,t,r)=>{"use strict";r.d(t,{$H:()=>i,AX:()=>f,BA:()=>d,Dw:()=>D,IR:()=>m,M5:()=>p,Mx:()=>M,N0:()=>g,Sk:()=>U,TG:()=>B,Tx:()=>Z,VY:()=>h,WA:()=>y,Y8:()=>b,YC:()=>C,YS:()=>v,Z3:()=>a,cS:()=>o,eE:()=>c,gR:()=>s,gt:()=>x,iw:()=>L,jC:()=>l,kd:()=>E,ly:()=>S,mg:()=>_,mn:()=>I,n2:()=>w,nA:()=>O,oe:()=>F,os:()=>H,q2:()=>k,rt:()=>n,tE:()=>u,vP:()=>A,xA:()=>V,xU:()=>N,zN:()=>j});const n="#FF5630",i="#DE350B",s="#BF2600",o="#FFC400",a="#FFAB00",l="#FF991F",c="#36B37E",d="#DEEBFF",u="#B3D4FF",A="#4C9AFF",h="#2684FF",p="#0065FF",f="#0052CC",C="#0747A6",g="#FFFFFF",m="#F4F5F7",x="#EBECF0",v="#DFE1E6",w="#A5ADBA",y="#8993A4",b="#7A869A",L="#6B778C",j="#505F79",M="#42526E",_="#344563",B="#253858",k="#172B4D",V="#091E42",H="rgba(9, 30, 66, 0.04)",E="rgba(9, 30, 66, 0.08)",S="#B8C7E0",F="#9FB0CC",Z="#8C9CB8",U="#67758F",O="#3B475C",I="#313D52",D="#1B2638",N="#0D1424"},83292:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a,m:()=>o});var n=r(40504);const{Provider:i,Consumer:s,useTheme:o}=(0,n.j)((()=>({mode:"light"}))),a={Provider:i,Consumer:s}},68289:(e,t,r)=>{"use strict";r.d(t,{ug:()=>i,ww:()=>n});const n=()=>8,i={card:()=>100,navigation:()=>200,dialog:()=>300,layer:()=>400,blanket:()=>500,modal:()=>510,flag:()=>600,spotlight:()=>700,tooltip:()=>9999}},40504:(e,t,r)=>{"use strict";r.d(t,{j:()=>i});var n=r(67294);function i(e){const t=(e,t)=>e(t),r=(0,n.createContext)(e);function i(e){return((0,n.useContext)(r)||t)(e)}return{Consumer:function(e){const{children:t,...r}=e,s=i(r);return n.createElement(n.Fragment,null,t(s))},Provider:function(e){const i=(0,n.useContext)(r),s=e.value||t,o=(0,n.useCallback)((e=>s(i,e)),[i,s]);return n.createElement(r.Provider,{value:o},e.children)},useTheme:i}}},72360:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(4572);const i=(0,n.iv)({width:"1px",height:"1px",padding:"0",position:"absolute",border:"0",clip:"rect(1px, 1px, 1px, 1px)",overflow:"hidden",whiteSpace:"nowrap"}),s=({children:e,testId:t,role:r,id:s})=>(0,n.tZ)("span",{id:s,"data-testid":t,css:i,role:r},e)},7213:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});const n=95,i=5;function s(e){if(e.length<=1&&(!e[0]||-1===e[0].indexOf(" ")))return e[0]||void 0;const t={};for(let r=0;r{"use strict";r.d(t,{ms:()=>b,xB:()=>m,iv:()=>x,tZ:()=>g,F4:()=>v});var n=r(67294),i=r(82391);function s(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},l=r(21095),c=r(27278),d={}.hasOwnProperty,u=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);u.Provider;var A=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(u);return e(t,i,r)}))},h=n.createContext({}),p="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return o(t,r,n),(0,c.L)((function(){return a(t,r,n)})),null},C=A((function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[p],a=[i],c="";"string"==typeof e.className?c=s(t.registered,a,e.className):null!=e.className&&(c=e.className+" ");var u=(0,l.O)(a,void 0,n.useContext(h));c+=t.key+"-"+u.name;var A={};for(var C in e)d.call(e,C)&&"css"!==C&&C!==p&&(A[C]=e[C]);return A.ref=r,A.className=c,n.createElement(n.Fragment,null,n.createElement(f,{cache:t,serialized:u,isStringTag:"string"==typeof o}),n.createElement(o,A))})),g=(r(8679),function(e,t){var r=arguments;if(null==t||!d.call(t,"css"))return n.createElement.apply(void 0,r);var i=r.length,s=new Array(i);s[0]=C,s[1]=function(e,t){var r={};for(var n in t)d.call(t,n)&&(r[n]=t[n]);return r[p]=e,r}(e,t);for(var o=2;o{"use strict";t.q=function(e,t,i){var s=i||{},o=s.encode||r;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!n.test(e))throw new TypeError("argument name is invalid");var a=o(t);if(a&&!n.test(a))throw new TypeError("argument val is invalid");var l=e+"="+a;if(null!=s.maxAge){var c=s.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(s.domain){if(!n.test(s.domain))throw new TypeError("option domain is invalid");l+="; Domain="+s.domain}if(s.path){if(!n.test(s.path))throw new TypeError("option path is invalid");l+="; Path="+s.path}if(s.expires){if("function"!=typeof s.expires.toUTCString)throw new TypeError("option expires is invalid");l+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(l+="; HttpOnly"),s.secure&&(l+="; Secure"),s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return l};decodeURIComponent;var r=encodeURIComponent,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},49051:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Icon:()=>S,default:()=>F});var n=r(87462),i=r(67294),s=r(82391),o=r(44481),a=r(21095),l=r(27278),c={}.hasOwnProperty,d=i.createContext("undefined"!=typeof HTMLElement?(0,s.Z)({key:"css"}):null);d.Provider;var u=function(e){return(0,i.forwardRef)((function(t,r){var n=(0,i.useContext)(d);return e(t,n,r)}))},A=i.createContext({}),h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,o.hC)(t,r,n),(0,l.L)((function(){return(0,o.My)(t,r,n)})),null},f=u((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var s=e[h],l=[n],d="";"string"==typeof e.className?d=(0,o.fp)(t.registered,l,e.className):null!=e.className&&(d=e.className+" ");var u=(0,a.O)(l,void 0,i.useContext(A));d+=t.key+"-"+u.name;var f={};for(var C in e)c.call(e,C)&&"css"!==C&&C!==h&&(f[C]=e[C]);return f.ref=r,f.className=d,i.createElement(i.Fragment,null,i.createElement(p,{cache:t,serialized:u,isStringTag:"string"==typeof s}),i.createElement(s,f))})),C=(r(8679),function(e,t){var r=arguments;if(null==t||!c.call(t,"css"))return i.createElement.apply(void 0,r);var n=r.length,s=new Array(n);s[0]=f,s[1]=function(e,t){var r={};for(var n in t)c.call(t,n)&&(r[n]=t[n]);return r[h]=e,r}(e,t);for(var o=2;oe(t),r=(0,i.createContext)(e);function n(e){return((0,i.useContext)(r)||t)(e)}return{Consumer:function(e){const{children:t,...r}=e,s=n(r);return i.createElement(i.Fragment,null,t(s))},Provider:function(e){const n=(0,i.useContext)(r),s=e.value||t,o=(0,i.useCallback)((e=>s(n,e)),[n,s]);return i.createElement(r.Provider,{value:o},e.children)},useTheme:n}}((()=>({mode:"light"}))),w={light:"var(--ds-surface, #FFFFFF)",dark:"var(--ds-surface, #1B2638)"},y=(e="light")=>w[e],b="16px",L="24px",j="32px",M="48px",_={small:{width:b,height:b},medium:{width:L,height:L},large:{width:j,height:j},xlarge:{width:M,height:M}},B=(g(_.small),g(_.medium),g(_.large),g(_.xlarge),({width:e,height:t,size:r})=>e&&t?{width:e,height:t}:r?_[r]:void 0),k=g({display:"inline-block",flexShrink:0,lineHeight:1,"> svg":{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"},maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"}}),V=g({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),H=g({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),E=g({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),S=(0,i.memo)((function(e){const{glyph:t,dangerouslySetGlyph:r,primaryColor:i="currentColor",secondaryColor:s,size:o,testId:a,label:l,width:c,height:d}=e,u=r?{dangerouslySetInnerHTML:{__html:r}}:{children:t?C(t,{role:"presentation"}):null},A=B({width:c,height:d,size:o}),{mode:h}=v();return C("span",(0,n.Z)({"data-testid":a,role:l?"img":void 0,"aria-label":l||void 0,"aria-hidden":!l||void 0,style:{"--icon-primary-color":i,"--icon-secondary-color":s||y(h)}},u,{css:[k,V,i===s&&H,"transparent"===s&&E,A&&g({width:A.width,height:A.height,"> svg":A})]}))})),F=S},9562:(e,t,r)=>{"use strict";t.Z=void 0;var n,i=(n=r(67294))&&n.__esModule?n:{default:n},s=r(49051);const o=e=>i.default.createElement(s.Icon,Object.assign({dangerouslySetGlyph:''},e));o.displayName="ChevronLeftLargeIcon";var a=o;t.Z=a},44481:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}r.d(t,{My:()=>s,fp:()=>n,hC:()=>i});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do{e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next}while(void 0!==s)}}},4437:(e,t,r)=>{"use strict";r.d(t,{C:()=>C,E:()=>_,T:()=>x,_:()=>g,a:()=>y,b:()=>b,c:()=>j,h:()=>p,i:()=>h,u:()=>v,w:()=>m});var n=r(67294),i=r(82391),s=r(87462),o=r(81034),a=r(8679),l=r.n(a),c=function(e,t){return l()(e,t)},d=r(68263),u=r(21095),A=r(27278),h=!0,p={}.hasOwnProperty,f=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),C=f.Provider,g=function(){return(0,n.useContext)(f)},m=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(f);return e(t,i,r)}))};h||(m=function(e){return function(t){var r=(0,n.useContext)(f);return null===r?(r=(0,i.Z)({key:"css"}),n.createElement(f.Provider,{value:r},e(t,r))):e(t,r)}});var x=n.createContext({}),v=function(){return n.useContext(x)},w=(0,o.Z)((function(e){return(0,o.Z)((function(t){return function(e,t){return"function"==typeof t?t(e):(0,s.Z)({},e,t)}(e,t)}))})),y=function(e){var t=n.useContext(x);return e.theme!==t&&(t=w(t)(e.theme)),n.createElement(x.Provider,{value:t},e.children)};function b(e){var t=e.displayName||e.name||"Component",r=function(t,r){var i=n.useContext(x);return n.createElement(e,(0,s.Z)({theme:i,ref:r},t))},i=n.forwardRef(r);return i.displayName="WithTheme("+t+")",c(i,e)}var L="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",j=function(e,t){var r={};for(var n in t)p.call(t,n)&&(r[n]=t[n]);return r[L]=e,r},M=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,d.hC)(t,r,n),(0,A.L)((function(){return(0,d.My)(t,r,n)})),null},_=m((function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[L],o=[i],a="";"string"==typeof e.className?a=(0,d.fp)(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var l=(0,u.O)(o,void 0,n.useContext(x));a+=t.key+"-"+l.name;var c={};for(var A in e)p.call(e,A)&&"css"!==A&&A!==L&&(c[A]=e[A]);return c.ref=r,c.className=a,n.createElement(n.Fragment,null,n.createElement(M,{cache:t,serialized:l,isStringTag:"string"==typeof s}),n.createElement(s,c))}))},47913:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CacheProvider:()=>n.C,ClassNames:()=>p,Global:()=>c,ThemeContext:()=>n.T,ThemeProvider:()=>n.a,__unsafe_useEmotionCache:()=>n._,createElement:()=>l,css:()=>d,jsx:()=>l,keyframes:()=>u,useTheme:()=>n.u,withEmotionCache:()=>n.w,withTheme:()=>n.b});var n=r(4437),i=r(67294),s=r(68263),o=r(27278),a=r(21095),l=(r(82391),r(8679),function(e,t){var r=arguments;if(null==t||!n.h.call(t,"css"))return i.createElement.apply(void 0,r);var s=r.length,o=new Array(s);o[0]=n.E,o[1]=(0,n.c)(e,t);for(var a=2;a{"use strict";r.r(t),r.d(t,{Fragment:()=>s,jsx:()=>o,jsxs:()=>a});var n=r(85893),i=r(4437),s=(r(67294),r(82391),r(8679),r(21095),r(27278),n.Fragment);function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function a(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},68263:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}r.d(t,{My:()=>s,fp:()=>n,hC:()=>i});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do{e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next}while(void 0!==s)}}},82391:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ne});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?d(v,--m):0,C--,10===x&&(C=1,f--),x}function L(){return x=m2||B(x)>3?"":" "}function S(e,t){for(;--t&&L()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return _(e,M()+(t<6&&32==j()&&32==L()))}function F(e){for(;L();)switch(x){case e:return m;case 34:case 39:34!==e&&39!==e&&F(x);break;case 40:41===e&&F(e);break;case 92:L()}return m}function Z(e,t){for(;L()&&e+x!==57&&(e+x!==84||47!==j()););return"/*"+_(t,m-1)+"*"+s(47===e?e:L())}function U(e){for(;!B(j());)L();return _(e,m)}var O="-ms-",I="-moz-",D="-webkit-",N="comm",T="rule",P="decl",R="@keyframes";function Q(e,t){for(var r="",n=h(e),i=0;i0&&A(I)-g&&p(x>32?$(I+";",n,r,g-1):$(l(I," ","")+";",n,r,g-2),h);break;case 59:I+=";";default:if(p(O=q(I,t,r,f,C,i,u,k,V=[],F=[],g),o),123===B)if(0===C)K(I,t,O,O,V,o,g,u,F);else switch(99===m&&110===d(I,3)?100:m){case 100:case 108:case 109:case 115:K(e,O,O,n&&p(q(e,O,O,0,0,i,u,k,i,V=[],g),F),i,F,g,u,n?V:F);break;default:K(I,O,O,O,[""],F,0,u,F)}}f=C=x=0,w=_=1,k=I="",g=a;break;case 58:g=1+A(I),x=v;default:if(w<1)if(123==B)--w;else if(125==B&&0==w++&&125==b())continue;switch(I+=s(B),B*w){case 38:_=C>0?1:(I+="\f",-1);break;case 44:u[f++]=(A(I)-1)*_,_=1;break;case 64:45===j()&&(I+=H(L())),m=j(),C=g=A(k=I+=U(M())),B++;break;case 45:45===v&&2==A(I)&&(w=0)}}return o}function q(e,t,r,n,s,o,c,d,A,p,f){for(var C=s-1,g=0===s?o:[""],m=h(g),x=0,v=0,y=0;x0?g[b]+" "+L:l(L,/&\f/g,g[b])))&&(A[y++]=j);return w(e,t,r,0===s?T:d,A,p,f)}function W(e,t,r){return w(e,t,r,N,s(x),u(e,2,-2),0)}function $(e,t,r,n){return w(e,t,r,P,u(e,0,n),u(e,n+1,-1),n)}var J=function(e,t,r){for(var n=0,i=0;n=i,i=j(),38===n&&12===i&&(t[r]=1),!B(i);)L();return _(e,m)},X=new WeakMap,Y=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||X.get(r))&&!n){X.set(e,!0);for(var i=[],o=function(e,t){return V(function(e,t){var r=-1,n=44;do{switch(B(n)){case 0:38===n&&12===j()&&(t[r]=1),e[r]+=J(m-1,t,r);break;case 2:e[r]+=H(n);break;case 4:if(44===n){e[++r]=58===j()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=s(n)}}while(n=L());return e}(k(e),t))}(t,i),a=r.props,l=0,c=0;l6)switch(d(e,t+1)){case 109:if(45!==d(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+I+(108==d(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,A(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===d(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+O+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return D+e+O+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+O+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+O+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+O+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case P:e.return=te(e.value,e.length);break;case R:return Q([y(e,{value:l(e.value,"@","@"+D)})],n);case T:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Q([y(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Q([y(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),y(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),y(e,{props:[l(t,/:(plac\w+)/,O+"input-$1")]})],n)}return""}))}}],ne=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,s,o=e.stylisPlugins||re,a={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r{"use strict";r.r(t),r.d(t,{CacheProvider:()=>k,ClassNames:()=>P,Global:()=>O,ThemeContext:()=>B,createElement:()=>U,css:()=>Z.Z,jsx:()=>U,keyframes:()=>D,withEmotionCache:()=>V});var n=r(94578),i=r(67294),s=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;th)&&(D=(P=P.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(C,"$1"+e.trim());case 58:return e.trim()+t.replace(C,"$1"+e.trim());default:if(0<1*r&&0l.charCodeAt(8))break;case 115:o=o.replace(l,"-webkit-"+l)+";"+o;break;case 207:case 102:o=o.replace(l,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],0{"use strict";r.d(t,{Z:()=>f});var n=r(62506);const i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var s,o=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(s={},function(e){return void 0===s[e]&&(s[e]=l(t=e)?t:t.replace(o,"-$&").toLowerCase()),s[e];var t}),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,r){return h={name:t,styles:r,next:h},t}))}return 1===i[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function A(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return h={name:r.name,styles:r.styles,next:h},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)h={name:i.name,styles:i.styles,next:h},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i{"use strict";r.d(t,{Z:()=>n});const n=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}},45042:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{Z:()=>n})},38967:(e,t,r)=>{"use strict";r.d(t,{C:()=>C,E:()=>_,T:()=>x,_:()=>g,a:()=>y,b:()=>b,c:()=>j,h:()=>p,i:()=>h,u:()=>v,w:()=>m});var n=r(67294),i=r(82391),s=r(87462),o=r(81034),a=r(8679),l=r.n(a),c=function(e,t){return l()(e,t)},d=r(67728),u=r(21095),A=r(27278),h=!0,p={}.hasOwnProperty,f=n.createContext("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null),C=f.Provider,g=function(){return(0,n.useContext)(f)},m=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(f);return e(t,i,r)}))};h||(m=function(e){return function(t){var r=(0,n.useContext)(f);return null===r?(r=(0,i.Z)({key:"css"}),n.createElement(f.Provider,{value:r},e(t,r))):e(t,r)}});var x=n.createContext({}),v=function(){return n.useContext(x)},w=(0,o.Z)((function(e){return(0,o.Z)((function(t){return function(e,t){return"function"==typeof t?t(e):(0,s.Z)({},e,t)}(e,t)}))})),y=function(e){var t=n.useContext(x);return e.theme!==t&&(t=w(t)(e.theme)),n.createElement(x.Provider,{value:t},e.children)};function b(e){var t=e.displayName||e.name||"Component",r=function(t,r){var i=n.useContext(x);return n.createElement(e,(0,s.Z)({theme:i,ref:r},t))},i=n.forwardRef(r);return i.displayName="WithTheme("+t+")",c(i,e)}var L="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",j=function(e,t){var r={};for(var n in t)p.call(t,n)&&(r[n]=t[n]);return r[L]=e,r},M=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,d.hC)(t,r,n),(0,A.L)((function(){return(0,d.My)(t,r,n)})),null},_=m((function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[L],o=[i],a="";"string"==typeof e.className?a=(0,d.fp)(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var l=(0,u.O)(o,void 0,n.useContext(x));a+=t.key+"-"+l.name;var c={};for(var A in e)p.call(e,A)&&"css"!==A&&A!==L&&(c[A]=e[A]);return c.ref=r,c.className=a,n.createElement(n.Fragment,null,n.createElement(M,{cache:t,serialized:l,isStringTag:"string"==typeof s}),n.createElement(s,c))}))},70917:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CacheProvider:()=>n.C,ClassNames:()=>p,Global:()=>c,ThemeContext:()=>n.T,ThemeProvider:()=>n.a,__unsafe_useEmotionCache:()=>n._,createElement:()=>l,css:()=>d,jsx:()=>l,keyframes:()=>u,useTheme:()=>n.u,withEmotionCache:()=>n.w,withTheme:()=>n.b});var n=r(38967),i=r(67294),s=r(67728),o=r(27278),a=r(21095),l=(r(82391),r(8679),function(e,t){var r=arguments;if(null==t||!n.h.call(t,"css"))return i.createElement.apply(void 0,r);var s=r.length,o=new Array(s);o[0]=n.E,o[1]=(0,n.c)(e,t);for(var a=2;a{"use strict";r.r(t),r.d(t,{Fragment:()=>s,jsx:()=>o,jsxs:()=>a});var n=r(85893),i=r(38967),s=(r(67294),r(82391),r(8679),r(21095),r(27278),n.Fragment);function o(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)}function a(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},67728:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}r.d(t,{My:()=>s,fp:()=>n,hC:()=>i});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},s=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var s=t;do{e.insert(t===s?"."+n:"",s,e.sheet,!0),s=s.next}while(void 0!==s)}}},21095:(e,t,r)=>{"use strict";r.d(t,{O:()=>p});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(45042),s=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,a=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.Z)((function(e){return a(e)?e:e.replace(s,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,(function(e,t,r){return A={name:t,styles:r,next:A},t}))}return 1===n[e]||a(e)||"number"!=typeof t||0===t?t:t+"px"};function u(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return A={name:r.name,styles:r.styles,next:A},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)A={name:n.name,styles:n.styles,next:A},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:A}}},27278:(e,t,r)=>{"use strict";var n;r.d(t,{L:()=>o,j:()=>a});var i=r(67294),s=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,o=s||function(e){return e()},a=s||i.useLayoutEffect},68087:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]):n+=r+" "})),n}r.d(t,{M:()=>i,f:()=>n});var i=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var i=t;do{e.insert("."+n,i,e.sheet,!0),i=i.next}while(void 0!==i)}}},81034:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var n=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}}},25687:(e,t,r)=>{"use strict";function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}r.d(t,{kG:()=>n})},95957:(e,t,r)=>{"use strict";function n(e,t){var r=t&&t.cache?t.cache:d,n=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:a)(e,{cache:r,serializer:n})}function i(e,t,r,n){var i,s=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:r(n),o=t.get(s);return void 0===o&&(o=e.call(this,n),t.set(s,o)),o}function s(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return void 0===s&&(s=e.apply(this,n),t.set(i,s)),s}function o(e,t,r,n,i){return r.bind(t,e,n,i)}function a(e,t){return o(e,this,1===e.length?i:s,t.cache.create(),t.serializer)}r.d(t,{A:()=>u,Z:()=>n});var l=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var d={create:function(){return new c}},u={variadic:function(e,t){return o(e,this,s,t.cache.create(),t.serializer)},monadic:function(e,t){return o(e,this,i,t.cache.create(),t.serializer)}}},39943:(e,t,r)=>{"use strict";r.d(t,{wD:()=>i,VG:()=>l,rp:()=>d,Ii:()=>g,O4:()=>a,uf:()=>c,Wh:()=>C,Jo:()=>h,yx:()=>p,Wi:()=>A,HI:()=>f,pe:()=>u,Qc:()=>se});var n,i,s,o=r(70655);function a(e){return e.type===i.literal}function l(e){return e.type===i.argument}function c(e){return e.type===i.number}function d(e){return e.type===i.date}function u(e){return e.type===i.time}function A(e){return e.type===i.select}function h(e){return e.type===i.plural}function p(e){return e.type===i.pound}function f(e){return e.type===i.tag}function C(e){return!(!e||"object"!=typeof e||e.type!==s.number)}function g(e){return!(!e||"object"!=typeof e||e.type!==s.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(s||(s={}));var m=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,x=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function v(e){var t={};return e.replace(x,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var w=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,y=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,L=/(\*)(0+)|(#+)(0+)|(0+)/g,j=/^(0+)$/;function M(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(b,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function B(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!j.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function k(e){return _(e)||{}}function V(e){for(var t={},r=0,n=e;r1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(L,(function(e,r,n,i,s,o){if(r)t.minimumIntegerDigits=n.length;else{if(i&&s)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(j.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(y.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(y,(function(e,r,n,i,s,o){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var s=i.options[0];"w"===s?t=(0,o.pi)((0,o.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=(0,o.pi)((0,o.pi)({},t),M(s)))}else if(b.test(i.stem))t=(0,o.pi)((0,o.pi)({},t),M(i.stem));else{var a=_(i.stem);a&&(t=(0,o.pi)((0,o.pi)({},t),a));var l=B(i.stem);l&&(t=(0,o.pi)((0,o.pi)({},t),l))}}return t}var H,E={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function S(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(E[r||""]||E[n||""]||E["".concat(n,"-001")]||E["001"])[0]}var F=new RegExp("^".concat(m.source,"*")),Z=new RegExp("".concat(m.source,"*$"));function U(e,t){return{start:e,end:t}}var O=!!String.prototype.startsWith,I=!!String.fromCodePoint,D=!!Object.fromEntries,N=!!String.prototype.codePointAt,T=!!String.prototype.trimStart,P=!!String.prototype.trimEnd,R=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Q=!0;try{Q="a"===(null===(H=X("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===H?void 0:H[0])}catch(e){Q=!1}var z,G=O?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},K=I?String.fromCodePoint:function(){for(var e=[],t=0;ts;){if((r=e[s++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},q=D?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},$=T?function(e){return e.trimStart()}:function(e){return e.replace(F,"")},J=P?function(e){return e.trimEnd()}:function(e){return e.replace(Z,"")};function X(e,t){return new RegExp(e,t)}if(Q){var Y=X("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");z=function(e,t){var r;return Y.lastIndex=t,null!==(r=Y.exec(e)[1])&&void 0!==r?r:""}}else z=function(e,t){for(var r=[];;){var n=W(e,t);if(void 0===n||re(n)||ne(n))break;r.push(n),t+=n>=65536?2:1}return K.apply(void 0,r)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var s=[];!this.isEOF();){var o=this.char();if(123===o){if((a=this.parseArgument(e,r)).err)return a;s.push(a.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(n.UNMATCHED_CLOSING_TAG,U(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&te(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;s.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;s.push(a.val)}}else{var l=this.clonePosition();this.bump(),s.push({type:i.pound,location:U(l,this.clonePosition())})}}}return{val:s,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(s,"/>"),location:U(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var a=o.val,l=this.clonePosition();if(this.bumpIf("")?{val:{type:i.tag,value:s,children:a,location:U(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,U(l,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,U(r,this.clonePosition()))}return this.error(n.INVALID_TAG,U(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var s=this.tryParseQuote(t);if(s)n+=s;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var l=U(r,this.clonePosition());return{val:{type:i.literal,value:n,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return K.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),K(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,U(r,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(n.MALFORMED_ARGUMENT,U(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:s,location:U(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,U(r,this.clonePosition())):this.parseArgumentOptions(e,t,s,r);default:return this.error(n.MALFORMED_ARGUMENT,U(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=z(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:U(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,a){var l,c=this.clonePosition(),d=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(d){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,U(c,u));case"number":case"date":case"time":this.bumpSpace();var A=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(g=J(y.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,U(this.clonePosition(),this.clonePosition()));A={style:g,styleLocation:U(h,this.clonePosition())}}if((b=this.tryParseArgumentClose(a)).err)return b;var p=U(a,this.clonePosition());if(A&&G(null==A?void 0:A.style,"::",0)){var f=$(A.style.slice(2));if("number"===d)return(y=this.parseNumberSkeletonFromString(f,A.styleLocation)).err?y:{val:{type:i.number,value:r,location:p,style:y.val},err:null};if(0===f.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,p);var C=f;this.locale&&(C=function(e,t){for(var r="",n=0;n>1),l=S(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)r+="a";for(;o-- >0;)r=l+r}else r+="J"===i?"H":i}return r}(f,this.locale));var g={type:s.dateTime,pattern:C,location:A.styleLocation,parsedOptions:this.shouldParseSkeletons?v(C):{}};return{val:{type:"date"===d?i.date:i.time,value:r,location:p,style:g},err:null}}return{val:{type:"number"===d?i.number:"date"===d?i.date:i.time,value:r,location:p,style:null!==(l=null==A?void 0:A.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,U(m,(0,o.pi)({},m)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),w=0;if("select"!==d&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),x=this.parseIdentifierIfPossible(),w=y.val}var b,L=this.tryParsePluralOrSelectOptions(e,d,t,x);if(L.err)return L;if((b=this.tryParseArgumentClose(a)).err)return b;var j=U(a,this.clonePosition());return"select"===d?{val:{type:i.select,value:r,options:q(L.val),location:j},err:null}:{val:{type:i.plural,value:r,options:q(L.val),offset:w,pluralType:"plural"===d?"cardinal":"ordinal",location:j},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,U(c,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,U(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,U(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(w).filter((function(e){return e.length>0}));r=48&&o<=57))break;i=!0,s=10*s+(o-48),this.bump()}var a=U(n,this.clonePosition());return i?R(s*=r)?{val:s,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=W(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(G(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&re(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ne(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,A(e)||h(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else c(e)&&C(e.style)||(d(e)||u(e))&&g(e.style)?delete e.style.location:f(e)&&ie(e.children)}))}function se(e,t){void 0===t&&(t={}),t=(0,o.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ee(e,t).parse();if(r.err){var i=SyntaxError(n[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==t?void 0:t.captureLocation)||ie(r.val),r.val}},88222:(e,t,r)=>{"use strict";r.d(t,{$6:()=>u,OV:()=>a,Qe:()=>c,Rw:()=>s,X9:()=>d,bc:()=>n,gb:()=>l,wI:()=>o});var n,i=r(70655);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(n||(n={}));var s=function(e){function t(r,n,i){var s=this,o=i?i instanceof Error?i:new Error(String(i)):void 0;return(s=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n," \n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(s,t),s}return(0,i.ZT)(t,e),t}(Error),o=function(e){function t(t,r){return e.call(this,n.UNSUPPORTED_FORMATTER,t,r)||this}return(0,i.ZT)(t,e),t}(s),a=function(e){function t(t,r){return e.call(this,n.INVALID_CONFIG,t,r)||this}return(0,i.ZT)(t,e),t}(s),l=function(e){function t(t,r){return e.call(this,n.MISSING_DATA,t,r)||this}return(0,i.ZT)(t,e),t}(s),c=function(e){function t(t,r,i){return e.call(this,n.FORMAT_ERROR,"".concat(t," \nLocale: ").concat(r,"\n"),i)||this}return(0,i.ZT)(t,e),t}(s),d=function(e){function t(t,r,n,i){var s=e.call(this,"".concat(t," \nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description," \n"),r,i)||this;return s.descriptor=n,s}return(0,i.ZT)(t,e),t}(c),u=function(e){function t(t,r){var i=e.call(this,n.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message":"id"," as fallback."))||this;return i.descriptor=t,i}return(0,i.ZT)(t,e),t}(s)},82644:(e,t,r)=>{"use strict";r.d(t,{L6:()=>a,Sn:()=>c,TB:()=>A,Z0:()=>l,ax:()=>u});var n=r(70655),i=r(42244),s=r(95957),o=r(88222);function a(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function u(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,o=Intl.DisplayNames,a=(0,s.Z)((function(){for(var e,t=[],r=0;r{"use strict";r.d(t,{C:()=>u});var n,i=r(70655),s=r(39943),o=r(95957),a=r(20494);function l(e){return"function"==typeof e}function c(e,t,r,i,o,d,u){if(1===e.length&&(0,s.O4)(e[0]))return[{type:n.literal,value:e[0].value}];for(var A=[],h=0,p=e;h0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=s.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},20494:(e,t,r)=>{"use strict";r.d(t,{C8:()=>o,HR:()=>l,YR:()=>a,jK:()=>n,u_:()=>s});var n,i=r(70655);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(n||(n={}));var s=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,i.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),o=function(e){function t(t,r,i,s){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),n.INVALID_VALUE,s)||this}return(0,i.ZT)(t,e),t}(s),a=function(e){function t(t,r,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),n.INVALID_VALUE,i)||this}return(0,i.ZT)(t,e),t}(s),l=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),n.MISSING_VALUE,r)||this}return(0,i.ZT)(t,e),t}(s)},2418:function(e,t,r){var n,i;e=r.nmd(e),void 0===(i="function"==typeof(n=function(){"use strict";var t={},n=null;function i(t){if(e&&e.exports)try{return r(65995).randomBytes(t)}catch(e){}try{var i;return(self.crypto||self.msCrypto).getRandomValues(i=new Uint32Array(t)),Array.prototype.slice.call(i)}catch(e){}if(!n)throw Error("Neither WebCryptoAPI nor a crypto module is available. Use bcrypt.setRandomFallback to set an alternative");return n(t)}try{i(1)}catch(e){}function s(e,t){for(var r=0,n=0,i=0,s=e.length;i31&&(e=31);var r=[];return r.push("$2a$"),e<10&&r.push("0"),r.push(e.toString()),r.push("$"),r.push(d(i(h),h)),r.join("")},t.genSalt=function(e,r,n){if("function"==typeof r&&(n=r,r=void 0),"function"==typeof e&&(n=e,e=void 0),void 0===e)e=p;else if("number"!=typeof e)throw Error("illegal arguments: "+typeof e);function i(r){o((function(){try{r(null,t.genSaltSync(e))}catch(e){r(e)}}))}if(!n)return new Promise((function(e,t){i((function(r,n){r?t(r):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);i(n)},t.hashSync=function(e,r){if(void 0===r&&(r=p),"number"==typeof r&&(r=t.genSaltSync(r)),"string"!=typeof e||"string"!=typeof r)throw Error("Illegal arguments: "+typeof e+", "+typeof r);return L(e,r)},t.hash=function(e,r,n,i){function s(n){"string"==typeof e&&"number"==typeof r?t.genSalt(r,(function(t,r){L(e,r,n,i)})):"string"==typeof e&&"string"==typeof r?L(e,r,n,i):o(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof r)))}if(!n)return new Promise((function(e,t){s((function(r,n){r?t(r):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);s(n)},t.compareSync=function(e,r){if("string"!=typeof e||"string"!=typeof r)throw Error("Illegal arguments: "+typeof e+", "+typeof r);return 60===r.length&&s(t.hashSync(e,r.substr(0,r.length-31)),r)},t.compare=function(e,r,n,i){function a(n){"string"==typeof e&&"string"==typeof r?60===r.length?t.hash(e,r.substr(0,29),(function(e,t){e?n(e):n(null,s(t,r))}),i):o(n.bind(this,null,!1)):o(n.bind(this,Error("Illegal arguments: "+typeof e+", "+typeof r)))}if(!n)return new Promise((function(e,t){a((function(r,n){r?t(r):e(n)}))}));if("function"!=typeof n)throw Error("Illegal callback: "+typeof n);a(n)},t.getRounds=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);return parseInt(e.split("$")[2],10)},t.getSalt=function(e){if("string"!=typeof e)throw Error("Illegal arguments: "+typeof e);if(60!==e.length)throw Error("Illegal hash length: "+e.length+" != 60");return e.substring(0,29)};var o=void 0!=={}&&"function"==typeof{}.nextTick?"function"==typeof setImmediate?setImmediate:{}.nextTick:setTimeout;var a="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),l=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,54,55,56,57,58,59,60,61,62,63,-1,-1,-1,-1,-1,-1,-1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,-1,-1,-1,-1,-1,-1,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,-1,-1,-1,-1,-1],c=String.fromCharCode;function d(e,t){var r,n,i=0,s=[];if(t<=0||t>e.length)throw Error("Illegal len: "+t);for(;i>2&63]),r=(3&r)<<4,i>=t){s.push(a[63&r]);break}if(r|=(n=255&e[i++])>>4&15,s.push(a[63&r]),r=(15&n)<<2,i>=t){s.push(a[63&r]);break}r|=(n=255&e[i++])>>6&3,s.push(a[63&r]),s.push(a[63&n])}return s.join("")}function u(e,t){var r,n,i,s,o,a=0,d=e.length,u=0,A=[];if(t<=0)throw Error("Illegal len: "+t);for(;a>>0,s|=(48&n)>>4,A.push(c(s)),!(++u>=t||a>=d))&&-1!=(i=(o=e.charCodeAt(a++))>>0,s|=(60&i)>>2,A.push(c(s)),!(++u>=t||a>=d));)s=(3&i)<<6>>>0,s|=(o=e.charCodeAt(a++))>6&31|192),t(63&r|128)):r<65536?(t(r>>12&15|224),t(r>>6&63|128),t(63&r|128)):(t(r>>18&7|240),t(r>>12&63|128),t(r>>6&63|128),t(63&r|128)),r=null},decodeUTF8:function(e,t){for(var r,n,i,s,o=function(e){e=e.slice(0,e.indexOf(null));var t=Error(e.toString());throw t.name="TruncatedError",t.bytes=e,t};null!==(r=e());)if(0==(128&r))t(r);else if(192==(224&r))null===(n=e())&&o([r,n]),t((31&r)<<6|63&n);else if(224==(240&r))(null===(n=e())||null===(i=e()))&&o([r,n,i]),t((15&r)<<12|(63&n)<<6|63&i);else{if(240!=(248&r))throw RangeError("Illegal starting byte: "+r);(null===(n=e())||null===(i=e())||null===(s=e()))&&o([r,n,i,s]),t((7&r)<<18|(63&n)<<12|(63&i)<<6|63&s)}},UTF16toUTF8:function(e,t){for(var r,n=null;null!==(r=null!==n?n:e());)r>=55296&&r<=57343&&null!==(n=e())&&n>=56320&&n<=57343?(t(1024*(r-55296)+n-56320+65536),n=null):t(r);null!==n&&t(n)},UTF8toUTF16:function(e,t){var r=null;for("number"==typeof e&&(r=e,e=function(){return null});null!==r||null!==(r=e());)r<=65535?t(r):(t(55296+((r-=65536)>>10)),t(r%1024+56320)),r=null},encodeUTF16toUTF8:function(t,r){e.UTF16toUTF8(t,(function(t){e.encodeUTF8(t,r)}))},decodeUTF8toUTF16:function(t,r){e.decodeUTF8(t,(function(t){e.UTF8toUTF16(t,r)}))},calculateCodePoint:function(e){return e<128?1:e<2048?2:e<65536?3:4},calculateUTF8:function(t){for(var r,n=0;null!==(r=t());)n+=e.calculateCodePoint(r);return n},calculateUTF16asUTF8:function(t){var r=0,n=0;return e.UTF16toUTF8(t,(function(t){++r,n+=e.calculateCodePoint(t)})),[r,n]}};return e}();Date.now=Date.now||function(){return+new Date};var h=16,p=10,f=16,C=100,g=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],m=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],x=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892];function v(e,t,r,n){var i,s=e[t],o=e[t+1];return i=n[(s^=r[0])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[1])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[2])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[3])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[4])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[5])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[6])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[7])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[8])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[9])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[10])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[11])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[12])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[13])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],i=n[(s^=(i+=n[768|255&o])^r[14])>>>24],i+=n[256|s>>16&255],i^=n[512|s>>8&255],i=n[(o^=(i+=n[768|255&s])^r[15])>>>24],i+=n[256|o>>16&255],i^=n[512|o>>8&255],s^=(i+=n[768|255&o])^r[16],e[t]=o^r[f+1],e[t+1]=s,e}function w(e,t){for(var r=0,n=0;r<4;++r)n=n<<8|255&e[t],t=(t+1)%e.length;return{key:n,offp:t}}function y(e,t,r){for(var n,i=0,s=[0,0],o=t.length,a=r.length,l=0;l31){if(s=Error("Illegal number of rounds (4-31): "+r),n)return void o(n.bind(this,s));throw s}if(t.length!==h){if(s=Error("Illegal salt length: "+t.length+" != "+h),n)return void o(n.bind(this,s));throw s}r=1<>>0;var c,d,u,A=0;function p(){if(i&&i(A/r),!(A>1;u++)v(a,u<<1,c,d);var s=[];for(A=0;A>24&255)>>>0),s.push((a[A]>>16&255)>>>0),s.push((a[A]>>8&255)>>>0),s.push((255&a[A])>>>0);return n?void n(null,s):s}for(var h=Date.now();AC)););n&&o(p)}if(Int32Array?(c=new Int32Array(g),d=new Int32Array(m)):(c=g.slice(),d=m.slice()),function(e,t,r,n){for(var i,s=0,o=[0,0],a=r.length,l=n.length,c=0;c"$"){if(i=Error("Missing salt rounds"),r)return void o(r.bind(this,i));throw i}var l,c,p,f=10*parseInt(t.substring(a,a+1),10)+parseInt(t.substring(a+1,a+2),10),C=t.substring(a+3,a+25),g=(l=e+=s>="a"?"\0":"",c=[],p=0,A.encodeUTF16toUTF8((function(){return p>=l.length?null:l.charCodeAt(p++)}),(function(e){c.push(e)})),c),m=u(C,h);function v(e){var t=[];return t.push("$2"),s>="a"&&t.push(s),t.push("$"),f<10&&t.push("0"),t.push(f.toString()),t.push("$"),t.push(d(m,m.length)),t.push(d(e,4*x.length-1)),t.join("")}if(void 0===r)return v(b(g,m,f));b(g,m,f,(function(e,t){e?r(e,null):r(null,v(t))}),n)}return t.encodeBase64=d,t.decodeBase64=u,t})?n.apply(t,[]):n)||(e.exports=i)},54098:function(e,t){var r="undefined"!=typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),s="FormData"in e,o="ArrayBuffer"in e;if(o)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function A(e){this.map={},e instanceof A?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function f(e){var t=new FileReader,r=p(t);return t.readAsArrayBuffer(e),r}function C(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:s&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():o&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=C(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=C(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var e,t,r,n=h(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=p(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function v(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new A(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new A(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var y=[301,302,303,307,308];w.redirect=function(e,t){if(-1===y.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function b(e,r){return new Promise((function(n,s){var o=new x(e,r);if(o.signal&&o.signal.aborted)return s(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function l(){a.abort()}a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new A,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();t.append(n,i)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var i="response"in a?a.response:a.responseText;n(new w(i,r))},a.onerror=function(){s(new TypeError("Network request failed"))},a.ontimeout=function(){s(new TypeError("Network request failed"))},a.onabort=function(){s(new t.DOMException("Aborted","AbortError"))},a.open(o.method,o.url,!0),"include"===o.credentials?a.withCredentials=!0:"omit"===o.credentials&&(a.withCredentials=!1),"responseType"in a&&i&&(a.responseType="blob"),o.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),o.signal&&(o.signal.addEventListener("abort",l),a.onreadystatechange=function(){4===a.readyState&&o.signal.removeEventListener("abort",l)}),a.send(void 0===o._bodyInit?null:o._bodyInit)}))}b.polyfill=!0,e.fetch||(e.fetch=b,e.Headers=A,e.Request=x,e.Response=w),t.Headers=A,t.Request=x,t.Response=w,t.fetch=b,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},94470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(87537),i=r.n(n),s=r(23645),o=r.n(s)()(i());o.push([e.id,'._11c813hg{font:var(--ds-font-heading-xxlarge,normal 500 35px/40px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c816g6{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81bk4{font:var(--ds-font-heading-small,normal 600 1pc/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81il0{font:var(--ds-font-heading-xsmall,normal 600 14px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81p5s{font:var(--ds-font-heading-large,normal 500 24px/28px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c8iyik{font:var(--ds-font-heading-xlarge,normal 600 29px/2pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c8o0gd{font:var(--ds-font-heading-medium,normal 500 20px/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._1mouidpf{margin-block:0}\n._1dyz4jg8{letter-spacing:normal}\n._1p1dglyw{text-transform:none}\n._syaz15cr{color:var(--ds-text-inverse,#fff)}\n._syaz1fxt{color:var(--ds-text,#172b4d)}\n._syazal3n{color:var(--ds-text-warning-inverse,#172b4d)}',"",{version:3,sources:["webpack://./node_modules/@atlaskit/heading/dist/es2019/heading.partial.compiled.css"],names:[],mappings:"AAAA,WAAW,+JAA+J;AAC1K,WAAW,6JAA6J;AACxK,WAAW,4JAA4J;AACvK,WAAW,6JAA6J;AACxK,WAAW,6JAA6J;AACxK,WAAW,6JAA6J;AACxK,WAAW,8JAA8J;AACzK,WAAW,cAAc;AACzB,WAAW,qBAAqB;AAChC,WAAW,mBAAmB;AAC9B,WAAW,iCAAiC;AAC5C,WAAW,4BAA4B;AACvC,WAAW,4CAA4C",sourcesContent:['._11c813hg{font:var(--ds-font-heading-xxlarge,normal 500 35px/40px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c816g6{font:var(--ds-font-heading-xxsmall,normal 600 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81bk4{font:var(--ds-font-heading-small,normal 600 1pc/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81il0{font:var(--ds-font-heading-xsmall,normal 600 14px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c81p5s{font:var(--ds-font-heading-large,normal 500 24px/28px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c8iyik{font:var(--ds-font-heading-xlarge,normal 600 29px/2pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._11c8o0gd{font:var(--ds-font-heading-medium,normal 500 20px/24px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}\n._1mouidpf{margin-block:0}\n._1dyz4jg8{letter-spacing:normal}\n._1p1dglyw{text-transform:none}\n._syaz15cr{color:var(--ds-text-inverse,#fff)}\n._syaz1fxt{color:var(--ds-text,#172b4d)}\n._syazal3n{color:var(--ds-text-warning-inverse,#172b4d)}'],sourceRoot:""}]);const a=o},76484:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(87537),i=r.n(n),s=r(23645),o=r.n(s)()(i());o.push([e.id,"\n._y44v1a7z{animation:k17lnbbx 1s ease-in-out}\n._y44v1ozz{animation:kztt5h0 .86s infinite}._134c892t{stroke-linecap:round}\n._1e0c116y{display:inline-flex}\n._1o51q7pw{animation-fill-mode:forwards}\n._1pgl2qsq{animation-timing-function:cubic-bezier(.4,.15,.6,.85)}\n._1snbbs82{stroke-width:1.5}\n._7ljx1dhp{stroke-dasharray:60}\n._8hrz1h6o{transform-origin:center}\n._lswuglyw{fill:none}\n._opj11kw7{stroke-dashoffset:inherit}\n._s7n4nkob{vertical-align:middle}\n._tzy4idpf{opacity:0}\n@keyframes k17lnbbx{0%{transform:rotate(50deg);opacity:0;stroke-dashoffset:60}to{transform:rotate(230deg);opacity:1;stroke-dashoffset:50}}\n@keyframes kztt5h0{to{transform:rotate(1turn)}}\n@media screen and (forced-colors:active){._jcxd7g3v{filter:grayscale(100%)}._1tjm1onz{stroke:CanvasText}}","",{version:3,sources:["webpack://./node_modules/@atlassian/switcher/node_modules/@atlaskit/spinner/dist/es2019/spinner.compiled.css"],names:[],mappings:";AACA,WAAW,iCAAiC;AAC5C,WAAW,+BAA+B,CAAC,WAAW,oBAAoB;AAC1E,WAAW,mBAAmB;AAC9B,WAAW,4BAA4B;AACvC,WAAW,qDAAqD;AAChE,WAAW,gBAAgB;AAC3B,WAAW,mBAAmB;AAC9B,WAAW,uBAAuB;AAClC,WAAW,SAAS;AACpB,WAAW,yBAAyB;AACpC,WAAW,qBAAqB;AAChC,WAAW,SAAS;AACpB,oBAAoB,GAAG,uBAAuB,CAAC,SAAS,CAAC,oBAAoB,CAAC,GAAG,wBAAwB,CAAC,SAAS,CAAC,oBAAoB,CAAC;AACzI,mBAAmB,GAAG,uBAAuB,CAAC;AAC9C,yCAAyC,WAAW,sBAAsB,CAAC,WAAW,iBAAiB,CAAC",sourcesContent:["\n._y44v1a7z{animation:k17lnbbx 1s ease-in-out}\n._y44v1ozz{animation:kztt5h0 .86s infinite}._134c892t{stroke-linecap:round}\n._1e0c116y{display:inline-flex}\n._1o51q7pw{animation-fill-mode:forwards}\n._1pgl2qsq{animation-timing-function:cubic-bezier(.4,.15,.6,.85)}\n._1snbbs82{stroke-width:1.5}\n._7ljx1dhp{stroke-dasharray:60}\n._8hrz1h6o{transform-origin:center}\n._lswuglyw{fill:none}\n._opj11kw7{stroke-dashoffset:inherit}\n._s7n4nkob{vertical-align:middle}\n._tzy4idpf{opacity:0}\n@keyframes k17lnbbx{0%{transform:rotate(50deg);opacity:0;stroke-dashoffset:60}to{transform:rotate(230deg);opacity:1;stroke-dashoffset:50}}\n@keyframes kztt5h0{to{transform:rotate(1turn)}}\n@media screen and (forced-colors:active){._jcxd7g3v{filter:grayscale(100%)}._1tjm1onz{stroke:CanvasText}}"],sourceRoot:""}]);const a=o},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={};return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var l=a;e.exports=l},17837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},97220:function(e,t,r){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r");case a.Comment:return"\x3c!--".concat(e.data,"--\x3e");case a.CDATA:return function(e){return"")}(e);case a.Script:case a.Style:case a.Tag:return function(e,t){var r;"foreign"===t.xmlMode&&(e.name=null!==(r=c.elementNames.get(e.name))&&void 0!==r?r:e.name,e.parent&&f.has(e.parent.name)&&(t=n(n({},t),{xmlMode:!1}))),!t.xmlMode&&C.has(e.name)&&(t=n(n({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),s=function(e,t){var r;if(e){var n=!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)?u:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(r){var i,s,o=null!==(i=e[r])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(r=null!==(s=c.attributeNames.get(r))&&void 0!==s?s:r),t.emptyAttrs||t.xmlMode||""!==o?"".concat(r,'="').concat(n(o),'"'):r})).join(" ")}}(e.attribs,t);return s&&(i+=" ".concat(s)),0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&A.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=h(e.children,t)),!t.xmlMode&&A.has(e.name)||(i+=""))),i}(e,t);case a.Text:return function(e,t){var r,n=e.data||"";return!1===(null!==(r=t.encodeEntities)&&void 0!==r?r:t.decodeEntities)||!t.xmlMode&&e.parent&&d.has(e.parent.name)||(n=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(n):(0,l.escapeText)(n)),n}(e,t)}}t.render=h,t.default=h;var f=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),C=new Set(["svg","math"])},99960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},47915:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=r(99960),o=r(97790);i(r(97790),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?s.ElementType.Tag:void 0,n=new o.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new o.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment)this.lastNode.data+=e;else{var t=new o.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new o.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},97790:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=this&&this.__assign||function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=A;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(A);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(A);t.Document=p;var f=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,n)||this;return s.name=t,s.attribs=r,s.type=i,s}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(A);function C(e){return(0,o.isTag)(e)}function g(e){return e.type===o.ElementType.CDATA}function m(e){return e.type===o.ElementType.Text}function x(e){return e.type===o.ElementType.Comment}function v(e){return e.type===o.ElementType.Directive}function w(e){return e.type===o.ElementType.Root}function y(e,t){var r;if(void 0===t&&(t=!1),m(e))r=new c(e.data);else if(x(e))r=new d(e.data);else if(C(e)){var n=t?b(e.children):[],i=new f(e.name,s({},e.attribs),n);n.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),r=i}else if(g(e)){n=t?b(e.children):[];var o=new h(n);n.forEach((function(e){return e.parent=o})),r=o}else if(w(e)){n=t?b(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),r=a}else{if(!v(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new u(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function b(e){for(var t=e.map((function(e){return y(e,!0)})),r=1;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?r-1:0),i=1;i/gm),z=u(/\${[\w\W]*}/gm),G=u(/^data-[\-\w.\u00B7-\uFFFF]/),K=u(/^aria-[\-\w]+$/),q=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=u(/^(?:\w+script|data):/i),$=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),J=u(/^html$/i),X=u(/^[a-z][.\w]*(-[.\w]+)+$/i),Y=function(){return"undefined"==typeof window?null:window};return function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y(),i=function(e){return t(e)};if(i.version="2.5.7",i.removed=[],!r||!r.document||9!==r.document.nodeType)return i.isSupported=!1,i;var s=r.document,o=r.document,a=r.DocumentFragment,l=r.HTMLTemplateElement,c=r.Node,u=r.Element,A=r.NodeFilter,h=r.NamedNodeMap,p=void 0===h?r.NamedNodeMap||r.MozNamedAttrMap:h,f=r.HTMLFormElement,C=r.DOMParser,B=r.trustedTypes,ee=u.prototype,te=H(ee,"cloneNode"),re=H(ee,"nextSibling"),ne=H(ee,"childNodes"),ie=H(ee,"parentNode");if("function"==typeof l){var se=o.createElement("template");se.content&&se.content.ownerDocument&&(o=se.content.ownerDocument)}var oe=function(t,r){if("object"!==e(t)||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var s="dompurify"+(n?"#"+n:"");try{return t.createPolicy(s,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}}(B,s),ae=oe?oe.createHTML(""):"",le=o,ce=le.implementation,de=le.createNodeIterator,ue=le.createDocumentFragment,Ae=le.getElementsByTagName,he=s.importNode,pe={};try{pe=V(o).documentMode?o.documentMode:{}}catch(e){}var fe={};i.isSupported="function"==typeof ie&&ce&&void 0!==ce.createHTMLDocument&&9!==pe;var Ce,ge,me=R,xe=Q,ve=z,we=G,ye=K,be=W,Le=$,je=X,Me=q,_e=null,Be=k({},[].concat(n(E),n(S),n(F),n(U),n(I))),ke=null,Ve=k({},[].concat(n(D),n(N),n(T),n(P))),He=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,Se=null,Fe=!0,Ze=!0,Ue=!1,Oe=!0,Ie=!1,De=!0,Ne=!1,Te=!1,Pe=!1,Re=!1,Qe=!1,ze=!1,Ge=!0,Ke=!1,qe=!0,We=!1,$e={},Je=null,Xe=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,et=k({},["audio","video","img","source","image","track"]),tt=null,rt=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),nt="http://www.w3.org/1998/Math/MathML",it="http://www.w3.org/2000/svg",st="http://www.w3.org/1999/xhtml",ot=st,at=!1,lt=null,ct=k({},[nt,it,st],w),dt=["application/xhtml+xml","text/html"],ut=null,At=o.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},pt=function(t){ut&&ut===t||(t&&"object"===e(t)||(t={}),t=V(t),Ce=Ce=-1===dt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===Ce?w:v,_e="ALLOWED_TAGS"in t?k({},t.ALLOWED_TAGS,ge):Be,ke="ALLOWED_ATTR"in t?k({},t.ALLOWED_ATTR,ge):Ve,lt="ALLOWED_NAMESPACES"in t?k({},t.ALLOWED_NAMESPACES,w):ct,tt="ADD_URI_SAFE_ATTR"in t?k(V(rt),t.ADD_URI_SAFE_ATTR,ge):rt,Ye="ADD_DATA_URI_TAGS"in t?k(V(et),t.ADD_DATA_URI_TAGS,ge):et,Je="FORBID_CONTENTS"in t?k({},t.FORBID_CONTENTS,ge):Xe,Ee="FORBID_TAGS"in t?k({},t.FORBID_TAGS,ge):{},Se="FORBID_ATTR"in t?k({},t.FORBID_ATTR,ge):{},$e="USE_PROFILES"in t&&t.USE_PROFILES,Fe=!1!==t.ALLOW_ARIA_ATTR,Ze=!1!==t.ALLOW_DATA_ATTR,Ue=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Oe=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ie=t.SAFE_FOR_TEMPLATES||!1,De=!1!==t.SAFE_FOR_XML,Ne=t.WHOLE_DOCUMENT||!1,Re=t.RETURN_DOM||!1,Qe=t.RETURN_DOM_FRAGMENT||!1,ze=t.RETURN_TRUSTED_TYPE||!1,Pe=t.FORCE_BODY||!1,Ge=!1!==t.SANITIZE_DOM,Ke=t.SANITIZE_NAMED_PROPS||!1,qe=!1!==t.KEEP_CONTENT,We=t.IN_PLACE||!1,Me=t.ALLOWED_URI_REGEXP||Me,ot=t.NAMESPACE||st,He=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ht(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(He.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ht(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(He.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(He.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Ze=!1),Qe&&(Re=!0),$e&&(_e=k({},n(I)),ke=[],!0===$e.html&&(k(_e,E),k(ke,D)),!0===$e.svg&&(k(_e,S),k(ke,N),k(ke,P)),!0===$e.svgFilters&&(k(_e,F),k(ke,N),k(ke,P)),!0===$e.mathMl&&(k(_e,U),k(ke,T),k(ke,P))),t.ADD_TAGS&&(_e===Be&&(_e=V(_e)),k(_e,t.ADD_TAGS,ge)),t.ADD_ATTR&&(ke===Ve&&(ke=V(ke)),k(ke,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&k(tt,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Je===Xe&&(Je=V(Je)),k(Je,t.FORBID_CONTENTS,ge)),qe&&(_e["#text"]=!0),Ne&&k(_e,["html","head","body"]),_e.table&&(k(_e,["tbody"]),delete Ee.tbody),d&&d(t),ut=t)},ft=k({},["mi","mo","mn","ms","mtext"]),Ct=k({},["annotation-xml"]),gt=k({},["title","style","font","a","script"]),mt=k({},S);k(mt,F),k(mt,Z);var xt=k({},U);k(xt,O);var vt=function(e){x(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},wt=function(e,t){try{x(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){x(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(Re||Qe)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},yt=function(e){var t,r;if(Pe)e=""+e;else{var n=y(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===Ce&&ot===st&&(e=''+e+"");var i=oe?oe.createHTML(e):e;if(ot===st)try{t=(new C).parseFromString(i,Ce)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(ot,"template",null);try{t.documentElement.innerHTML=at?ae:i}catch(e){}}var s=t.body||t.documentElement;return e&&r&&s.insertBefore(o.createTextNode(r),s.childNodes[0]||null),ot===st?Ae.call(t,Ne?"html":"body")[0]:Ne?t.documentElement:s},bt=function(e){return de.call(e.ownerDocument||e,e,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT|A.SHOW_PROCESSING_INSTRUCTION|A.SHOW_CDATA_SECTION,null,!1)},Lt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},jt=function(t){return"object"===e(c)?t instanceof c:t&&"object"===e(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Mt=function(e,t,r){fe[e]&&g(fe[e],(function(e){e.call(i,t,r,ut)}))},_t=function(e){var t;if(Mt("beforeSanitizeElements",e,null),Lt(e))return vt(e),!0;if(M(/[\u0080-\uFFFF]/,e.nodeName))return vt(e),!0;var r=ge(e.nodeName);if(Mt("uponSanitizeElement",e,{tagName:r,allowedTags:_e}),e.hasChildNodes()&&!jt(e.firstElementChild)&&(!jt(e.content)||!jt(e.content.firstElementChild))&&M(/<[/\w]/g,e.innerHTML)&&M(/<[/\w]/g,e.textContent))return vt(e),!0;if("select"===r&&M(/