/*! For license information please see main.8521b884.js.LICENSE.txt */
(()=>{var e={1449:(e,t,r)=>{"use strict";r.d(t,{A:()=>pe});var o=r(5173),n=r.n(o),i=r(8161),a=r.n(i),s=r(6366),l=r.n(s),c=r(5043),u=r(2123),d=r.n(u),f="bodyAttributes",h="htmlAttributes",p="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},m=(Object.keys(g).map((function(e){return g[e]})),"charset"),v="cssText",b="href",y="http-equiv",w="innerHTML",k="itemprop",x="name",C="property",S="rel",_="src",A="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E="defaultTitle",B="defer",I="encodeSpecialCharacters",N="onChangeClientState",P="titleTemplate",R=Object.keys(T).reduce((function(e,t){return e[T[t]]=t,e}),{}),O=[g.NOSCRIPT,g.SCRIPT,g.STYLE],j="data-react-helmet",z="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},M=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},D=function(e,t){var r={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},F=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},q=function(e){var t=G(e,g.TITLE),r=G(e,P);if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var o=G(e,E);return t||o||void 0},H=function(e){return G(e,N)||function(){}},U=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return L({},e,t)}),{})},W=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var o=Object.keys(r),n=0;n<o.length;n++){var i=o[n].toLowerCase();if(-1!==e.indexOf(i)&&r[i])return t.concat(r)}return t}),[])},K=function(e,t,r){var o={};return r.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&Z("Helmet: "+e+' should be of type "Array". Instead found type "'+z(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var n={};r.filter((function(e){for(var r=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],l=s.toLowerCase();-1===t.indexOf(l)||r===S&&"canonical"===e[r].toLowerCase()||l===S&&"stylesheet"===e[l].toLowerCase()||(r=l),-1===t.indexOf(s)||s!==w&&s!==v&&s!==k||(r=s)}if(!r||!e[r])return!1;var c=e[r].toLowerCase();return o[r]||(o[r]={}),n[r]||(n[r]={}),!o[r][c]&&(n[r][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(n),a=0;a<i.length;a++){var s=i[a],l=d()({},o[s],n[s]);o[s]=l}return e}),[]).reverse()},G=function(e,t){for(var r=e.length-1;r>=0;r--){var o=e[r];if(o.hasOwnProperty(t))return o[t]}return null},V=function(){var e=Date.now();return function(t){var r=Date.now();r-e>16?(e=r,t(r)):setTimeout((function(){V(t)}),0)}}(),Y=function(e){return clearTimeout(e)},X="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||V:r.g.requestAnimationFrame||V,Q="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Y:r.g.cancelAnimationFrame||Y,Z=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},J=null,$=function(e,t){var r=e.baseTag,o=e.bodyAttributes,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;re(g.BODY,o),re(g.HTML,n),te(d,f);var h={baseTag:oe(g.BASE,r),linkTags:oe(g.LINK,i),metaTags:oe(g.META,a),noscriptTags:oe(g.NOSCRIPT,s),scriptTags:oe(g.SCRIPT,c),styleTags:oe(g.STYLE,u)},p={},m={};Object.keys(h).forEach((function(e){var t=h[e],r=t.newTags,o=t.oldTags;r.length&&(p[e]=r),o.length&&(m[e]=h[e].oldTags)})),t&&t(),l(e,p,m)},ee=function(e){return Array.isArray(e)?e.join(""):e},te=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=ee(e)),re(g.TITLE,t)},re=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var o=r.getAttribute(j),n=o?o.split(","):[],i=[].concat(n),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";r.getAttribute(l)!==c&&r.setAttribute(l,c),-1===n.indexOf(l)&&n.push(l);var u=i.indexOf(l);-1!==u&&i.splice(u,1)}for(var d=i.length-1;d>=0;d--)r.removeAttribute(i[d]);n.length===i.length?r.removeAttribute(j):r.getAttribute(j)!==a.join(",")&&r.setAttribute(j,a.join(","))}},oe=function(e,t){var r=document.head||document.querySelector(g.HEAD),o=r.querySelectorAll(e+"["+j+"]"),n=Array.prototype.slice.call(o),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var o in t)if(t.hasOwnProperty(o))if(o===w)r.innerHTML=t.innerHTML;else if(o===v)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[o]?"":t[o];r.setAttribute(o,s)}r.setAttribute(j,"true"),n.some((function(e,t){return a=t,r.isEqualNode(e)}))?n.splice(a,1):i.push(r)})),n.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:n,newTags:i}},ne=function(e){return Object.keys(e).reduce((function(t,r){var o="undefined"!==typeof e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+o:o}),"")},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[T[r]||r]=e[r],t}),t)},ae=function(e,t,r){switch(e){case g.TITLE:return{toComponent:function(){return function(e,t,r){var o,n=((o={key:t})[j]=!0,o),i=ie(r,n);return[c.createElement(g.TITLE,i,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,r,o){var n=ne(r),i=ee(t);return n?"<"+e+" "+j+'="true" '+n+">"+F(i,o)+"</"+e+">":"<"+e+" "+j+'="true">'+F(i,o)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case f:case h:return{toComponent:function(){return ie(t)},toString:function(){return ne(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var o,n=((o={key:r})[j]=!0,o);return Object.keys(t).forEach((function(e){var r=T[e]||e;if(r===w||r===v){var o=t.innerHTML||t.cssText;n.dangerouslySetInnerHTML={__html:o}}else n[r]=t[e]})),c.createElement(e,n)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,o){var n=Object.keys(o).filter((function(e){return!(e===w||e===v)})).reduce((function(e,t){var n="undefined"===typeof o[t]?t:t+'="'+F(o[t],r)+'"';return e?e+" "+n:n}),""),i=o.innerHTML||o.cssText||"",a=-1===O.indexOf(e);return t+"<"+e+" "+j+'="true" '+n+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,r)}}}},se=function(e){var t=e.baseTag,r=e.bodyAttributes,o=e.encode,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,p=e.titleAttributes;return{base:ae(g.BASE,t,o),bodyAttributes:ae(f,r,o),htmlAttributes:ae(h,n,o),link:ae(g.LINK,i,o),meta:ae(g.META,a,o),noscript:ae(g.NOSCRIPT,s,o),script:ae(g.SCRIPT,l,o),style:ae(g.STYLE,c,o),title:ae(g.TITLE,{title:d,titleAttributes:p},o)}},le=function(e){var t,r;return r=t=function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(e){return!l()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,o=e.arrayTypeChildren,n=e.newChildProps,i=e.nestedChildren;return L({},o,((t={})[r.type]=[].concat(o[r.type]||[],[L({},n,this.mapNestedChildrenToProps(r,i))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,r,o=e.child,n=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(o.type){case g.TITLE:return L({},n,((t={})[o.type]=a,t.titleAttributes=L({},i),t));case g.BODY:return L({},n,{bodyAttributes:L({},i)});case g.HTML:return L({},n,{htmlAttributes:L({},i)})}return L({},n,((r={})[o.type]=L({},i),r))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=L({},t);return Object.keys(e).forEach((function(t){var o;r=L({},r,((o={})[t]=e[t],o))})),r},r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.mapChildrenToProps=function(e,t){var r=this,o={};return c.Children.forEach(e,(function(e){if(e&&e.props){var n=e.props,i=n.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[R[r]||r]=e[r],t}),t)}(D(n,["children"]));switch(r.warnOnInvalidChildren(e,i),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:o=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:o,newChildProps:a,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(o,t)},r.prototype.render=function(){var t=this.props,r=t.children,o=D(t,["children"]),n=L({},o);return r&&(n=this.mapChildrenToProps(r,n)),c.createElement(e,n)},M(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(c.Component),t.propTypes={base:n().object,bodyAttributes:n().object,children:n().oneOfType([n().arrayOf(n().node),n().node]),defaultTitle:n().string,defer:n().bool,encodeSpecialCharacters:n().bool,htmlAttributes:n().object,link:n().arrayOf(n().object),meta:n().arrayOf(n().object),noscript:n().arrayOf(n().object),onChangeClientState:n().func,script:n().arrayOf(n().object),style:n().arrayOf(n().object),title:n().string,titleAttributes:n().object,titleTemplate:n().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=se({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(a()((function(e){return{baseTag:W([b,A],e),bodyAttributes:U(f,e),defer:G(e,B),encode:G(e,I),htmlAttributes:U(h,e),linkTags:K(g.LINK,[S,b],e),metaTags:K(g.META,[x,m,y,C,k],e),noscriptTags:K(g.NOSCRIPT,[w],e),onChangeClientState:H(e),scriptTags:K(g.SCRIPT,[_,w],e),styleTags:K(g.STYLE,[v],e),title:q(e),titleAttributes:U(p,e)}}),(function(e){J&&Q(J),e.defer?J=X((function(){$(e,(function(){J=null}))})):($(e),J=null)}),se)((function(){return null})));le.renderStatic=le.rewind;var ce=r(4117),ue=r(579);const de=()=>{const e=window.location.protocol,t=window.location.host;return"".concat(e,"//").concat(t)},fe=e=>{const t=de();return"".concat(t,"/").concat((r=e)&&r.startsWith("/")?r.substring(1):r||"");var r},he=e=>{const t=de();return(null===e||void 0===e?void 0:e.startsWith("http://"))||(null===e||void 0===e?void 0:e.startsWith("https://"))?e:"".concat(t).concat(e)};function pe(e){var t,r,o,n,i,a,s;const{t:l}=(0,ce.Bd)("general"),c=de(),u=(null===(t=e.title)||void 0===t?void 0:t.title)||l("website.title"),d=e.metaDescription||l("website.metaDescription"),f=e.keywords?e.keywords.join(", "):null,h=he((null===(r=e.openGraph)||void 0===r?void 0:r.image)||"".concat(c,"/img/banners/water.jpg"));return(0,ue.jsxs)(le,{children:[(0,ue.jsx)("title",{children:u}),(0,ue.jsx)("link",{rel:"canonical",href:fe(e.canonicalPath)}),f&&(0,ue.jsx)("meta",{name:"keywords",content:f}),(0,ue.jsx)("meta",{name:"description",content:d}),(0,ue.jsx)("meta",{property:"og:title",content:(null===(o=e.openGraph)||void 0===o?void 0:o.title)||u}),(0,ue.jsx)("meta",{property:"og:description",content:(null===(n=e.openGraph)||void 0===n?void 0:n.description)||d}),(0,ue.jsx)("meta",{property:"og:image",content:h}),(0,ue.jsx)("meta",{property:"og:url",content:fe(null===(i=e.openGraph)||void 0===i?void 0:i.url)}),(null===(a=e.openGraph)||void 0===a?void 0:a.type)&&(0,ue.jsx)("meta",{property:"og:type",content:e.openGraph.type}),(null===(s=e.openGraph)||void 0===s?void 0:s.locale)&&(0,ue.jsx)("meta",{property:"og:locale",content:e.openGraph.locale}),e.jsonLD&&e.jsonLD.map(((e,t)=>(0,ue.jsx)("script",{type:"application/ld+json",children:JSON.stringify(e)},t)))]})}},7491:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>Wa,z8:()=>Ua});var o=r(7051),n=r(623),i=r(385);const a="AAD",s="OIDC",l="none";var c=r(6823);const u="client_info_decoding_error",d="client_info_empty_error",f="token_parsing_error",h="null_or_empty_token",p="endpoints_resolution_error",g="network_error",m="openid_config_error",v="hash_not_deserialized",b="invalid_state",y="state_mismatch",w="state_not_found",k="nonce_mismatch",x="auth_time_not_found",C="max_age_transpired",S="multiple_matching_tokens",_="multiple_matching_accounts",A="multiple_matching_appMetadata",T="request_cannot_be_made",E="cannot_remove_empty_scope",B="cannot_append_scopeset",I="empty_input_scopeset",N="device_code_polling_cancelled",P="device_code_expired",R="device_code_unknown_error",O="no_account_in_silent_request",j="invalid_cache_record",z="invalid_cache_environment",M="no_account_found",L="no_crypto_object",D="unexpected_credential_type",F="invalid_assertion",q="invalid_client_credential",H="token_refresh_required",U="user_timeout_reached",W="token_claims_cnf_required_for_signedjwt",K="authorization_code_missing_from_server_response",G="binding_key_not_removed",V="end_session_endpoint_not_supported",Y="key_id_missing",X="no_network_connectivity",Q="user_canceled",Z="missing_tenant_id_error",J="method_not_implemented",$="nested_app_auth_bridge_disabled",ee={[u]:"The client info could not be parsed/decoded correctly",[d]:"The client info was empty",[f]:"Token cannot be parsed",[h]:"The token is null or empty",[p]:"Endpoints cannot be resolved",[g]:"Network request failed",[m]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[v]:"The hash parameters could not be deserialized",[b]:"State was not the expected format",[y]:"State mismatch error",[w]:"State not found",[k]:"Nonce mismatch error",[x]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[C]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[S]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[_]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[A]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[T]:"Token request cannot be made without authorization code or refresh token.",[E]:"Cannot remove null or empty scope from ScopeSet",[B]:"Cannot append ScopeSet",[I]:"Empty input ScopeSet cannot be processed",[N]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[P]:"Device code is expired.",[R]:"Device code stopped polling for unknown reasons.",[O]:"Please pass an account object, silent flow is not supported without account information",[j]:"Cache record object was null or undefined.",[z]:"Invalid environment when attempting to create cache entry",[M]:"No account found in cache for given key.",[L]:"No crypto object detected.",[D]:"Unexpected credential type.",[F]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[q]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[H]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[U]:"User defined timeout for device code polling reached",[W]:"Cannot generate a POP jwt if the token_claims are not populated",[K]:"Server response does not contain an authorization code to proceed",[G]:"Could not remove the credential's binding key from storage.",[V]:"The provided authority does not support logout",[Y]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[X]:"No network connectivity. Check your internet connection.",[Q]:"User cancelled the flow.",[Z]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[J]:"This method has not been implemented",[$]:"The nested app auth bridge is disabled"};class te extends c.lR{constructor(e,t){super(e,t?"".concat(ee[e],": ").concat(t):ee[e]),this.name="ClientAuthError",Object.setPrototypeOf(this,te.prototype)}}function re(e,t){return new te(e,t)}const oe={createNewGuid:()=>{throw re(J)},base64Decode:()=>{throw re(J)},base64Encode:()=>{throw re(J)},base64UrlEncode:()=>{throw re(J)},encodeKid:()=>{throw re(J)},async getPublicKeyThumbprint(){throw re(J)},async removeTokenBindingKey(){throw re(J)},async clearKeystore(){throw re(J)},async signJwt(){throw re(J)},async hashString(){throw re(J)}},ne="@azure/msal-common",ie="14.16.0";function ae(e,t){const r=function(e){if(!e)throw re(h);const t=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!t||t.length<4)throw re(f);return t[2]}(e);try{const e=t(r);return JSON.parse(e)}catch(o){throw re(f)}}function se(e,t){if(0===t||Date.now()-3e5>e+t)throw re(C)}function le(){return Math.round((new Date).getTime()/1e3)}function ce(e,t){const r=Number(e)||0;return le()+t>r}function ue(e){return[be(e),ye(e),we(e),ke(e),xe(e)].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}function de(e,t,r,o,n){return{credentialType:i.aG.ID_TOKEN,homeAccountId:e,environment:t,clientId:o,secret:r,realm:n}}function fe(e,t,r,o,n,a,s,l,c,u,d,f,h,p,g){var m,v;const b={homeAccountId:e,credentialType:i.aG.ACCESS_TOKEN,secret:r,cachedAt:le().toString(),expiresOn:s.toString(),extendedExpiresOn:l.toString(),environment:t,clientId:o,realm:n,target:a,tokenType:d||i.IO.BEARER};if(f&&(b.userAssertionHash=f),u&&(b.refreshOn=u.toString()),p&&(b.requestedClaims=p,b.requestedClaimsHash=g),(null===(m=b.tokenType)||void 0===m?void 0:m.toLowerCase())!==i.IO.BEARER.toLowerCase())switch(b.credentialType=i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME,b.tokenType){case i.IO.POP:const e=ae(r,c);if(null===e||void 0===e||null===(v=e.cnf)||void 0===v||!v.kid)throw re(W);b.keyId=e.cnf.kid;break;case i.IO.SSH:b.keyId=h}return b}function he(e,t,r,o,n,a,s){const l={credentialType:i.aG.REFRESH_TOKEN,homeAccountId:e,environment:t,clientId:o,secret:r};return a&&(l.userAssertionHash=a),n&&(l.familyId=n),s&&(l.expiresOn=s.toString()),l}function pe(e){return e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")}function ge(e){return!!e&&(pe(e)&&e.hasOwnProperty("realm")&&e.hasOwnProperty("target")&&(e.credentialType===i.aG.ACCESS_TOKEN||e.credentialType===i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME))}function me(e){return!!e&&(pe(e)&&e.hasOwnProperty("realm")&&e.credentialType===i.aG.ID_TOKEN)}function ve(e){return!!e&&(pe(e)&&e.credentialType===i.aG.REFRESH_TOKEN)}function be(e){return[e.homeAccountId,e.environment].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}function ye(e){const t=e.credentialType===i.aG.REFRESH_TOKEN&&e.familyId||e.clientId;return[e.credentialType,t,e.realm||""].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}function we(e){return(e.target||"").toLowerCase()}function ke(e){return(e.requestedClaimsHash||"").toLowerCase()}function xe(e){return e.tokenType&&e.tokenType.toLowerCase()!==i.IO.BEARER.toLowerCase()?e.tokenType.toLowerCase():""}function Ce(){return le()+i.u0.REFRESH_TIME_SECONDS}function Se(e,t,r){e.authorization_endpoint=t.authorization_endpoint,e.token_endpoint=t.token_endpoint,e.end_session_endpoint=t.end_session_endpoint,e.issuer=t.issuer,e.endpointsFromNetwork=r,e.jwks_uri=t.jwks_uri}function _e(e,t,r){e.aliases=t.aliases,e.preferred_cache=t.preferred_cache,e.preferred_network=t.preferred_network,e.aliasesFromNetwork=r}function Ae(e){return e.expiresAt<=le()}const Te="redirect_uri_empty",Ee="claims_request_parsing_error",Be="authority_uri_insecure",Ie="url_parse_error",Ne="empty_url_error",Pe="empty_input_scopes_error",Re="invalid_prompt_value",Oe="invalid_claims",je="token_request_empty",ze="logout_request_empty",Me="invalid_code_challenge_method",Le="pkce_params_missing",De="invalid_cloud_discovery_metadata",Fe="invalid_authority_metadata",qe="untrusted_authority",He="missing_ssh_jwk",Ue="missing_ssh_kid",We="missing_nonce_authentication_header",Ke="invalid_authentication_header",Ge="cannot_set_OIDCOptions",Ve="cannot_allow_native_broker",Ye="authority_mismatch",Xe={[Te]:"A redirect URI is required for all calls, and none has been set.",[Ee]:"Could not parse the given claims request object.",[Be]:"Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[Ie]:"URL could not be parsed into appropriate segments.",[Ne]:"URL was empty or null.",[Pe]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[Re]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[Oe]:"Given claims parameter must be a stringified JSON object.",[je]:"Token request was empty and not found in cache.",[ze]:"The logout request was null or undefined.",[Me]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[Le]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[De]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[Fe]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[qe]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[He]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[Ue]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[We]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[Ke]:"Invalid authentication header provided",[Ge]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[Ve]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[Ye]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."};class Qe extends c.lR{constructor(e){super(e,Xe[e]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,Qe.prototype)}}function Ze(e){return new Qe(e)}class Je{static isEmptyObj(e){if(e)try{const t=JSON.parse(e);return 0===Object.keys(t).length}catch(t){}return!0}static startsWith(e,t){return 0===e.indexOf(t)}static endsWith(e,t){return e.length>=t.length&&e.lastIndexOf(t)===e.length-t.length}static queryStringToObject(e){const t={},r=e.split("&"),o=e=>decodeURIComponent(e.replace(/\+/g," "));return r.forEach((e=>{if(e.trim()){const[r,n]=e.split(/=(.+)/g,2);r&&n&&(t[o(r)]=o(n))}})),t}static trimArrayEntries(e){return e.map((e=>e.trim()))}static removeEmptyStringsFromArray(e){return e.filter((e=>!!e))}static jsonParseHelper(e){try{return JSON.parse(e)}catch(t){return null}}static matchPattern(e,t){return new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(t)}}class $e{constructor(e){const t=e?Je.trimArrayEntries([...e]):[],r=t?Je.removeEmptyStringsFromArray(t):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach((e=>this.scopes.add(e)))}static fromString(e){const t=(e||i.YM.EMPTY_STRING).split(" ");return new $e(t)}static createSearchScopes(e){const t=new $e(e);return t.containsOnlyOIDCScopes()?t.removeScope(i.YM.OFFLINE_ACCESS_SCOPE):t.removeOIDCScopes(),t}validateInputScopes(e){if(!e||e.length<1)throw Ze(Pe)}containsScope(e){const t=this.printScopesLowerCase().split(" "),r=new $e(t);return!!e&&r.scopes.has(e.toLowerCase())}containsScopeSet(e){return!(!e||e.scopes.size<=0)&&(this.scopes.size>=e.scopes.size&&e.asArray().every((e=>this.containsScope(e))))}containsOnlyOIDCScopes(){let e=0;return i._A.forEach((t=>{this.containsScope(t)&&(e+=1)})),this.scopes.size===e}appendScope(e){e&&this.scopes.add(e.trim())}appendScopes(e){try{e.forEach((e=>this.appendScope(e)))}catch(t){throw re(B)}}removeScope(e){if(!e)throw re(E);this.scopes.delete(e.trim())}removeOIDCScopes(){i._A.forEach((e=>{this.scopes.delete(e)}))}unionScopeSets(e){if(!e)throw re(I);const t=new Set;return e.scopes.forEach((e=>t.add(e.toLowerCase()))),this.scopes.forEach((e=>t.add(e.toLowerCase()))),t}intersectingScopeSets(e){if(!e)throw re(I);e.containsOnlyOIDCScopes()||e.removeOIDCScopes();const t=this.unionScopeSets(e),r=e.getScopeCount(),o=this.getScopeCount();return t.size<o+r}getScopeCount(){return this.scopes.size}asArray(){const e=[];return this.scopes.forEach((t=>e.push(t))),e}printScopes(){if(this.scopes){return this.asArray().join(" ")}return i.YM.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}function et(e,t){if(!e)throw re(d);try{const r=t(e);return JSON.parse(r)}catch(r){throw re(u)}}function tt(e){if(!e)throw re(u);const t=e.split(i.LR.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?i.YM.EMPTY_STRING:t[1]}}var rt=r(3986);const ot=["isHomeTenant"],nt=["isHomeTenant"];function it(e,t){return!!e&&!!t&&e===t.split(".")[1]}function at(e,t,r,o){if(o){const{oid:t,sub:r,tid:n,name:i,tfp:a,acr:s}=o,l=n||a||s||"";return{tenantId:l,localAccountId:t||r||"",name:i,isHomeTenant:it(l,e)}}return{tenantId:r,localAccountId:t,isHomeTenant:it(r,e)}}function st(e,t,r,n){let i=e;if(t){const{isHomeTenant:r}=t,n=(0,rt.A)(t,ot);i=(0,o.A)((0,o.A)({},e),n)}if(r){const t=at(e.homeAccountId,e.localAccountId,e.tenantId,r),{isHomeTenant:a}=t,s=(0,rt.A)(t,nt);return i=(0,o.A)((0,o.A)((0,o.A)({},i),s),{},{idTokenClaims:r,idToken:n}),i}return i}const lt=0,ct=1,ut=2,dt=3;function ft(e){if(e){return e.tid||e.tfp||e.acr||null}return null}class ht{generateAccountId(){return[this.homeAccountId,this.environment].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return ht.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map((e=>[e.tenantId,e])))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(e){const t=e.homeAccountId.split(".")[1];return[e.homeAccountId,e.environment||"",t||e.tenantId||""].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(e,t,r){var o,n,s,l,c,u,d,f;const h=new ht;let p;t.authorityType===ct?h.authorityType=i.Qd.ADFS_ACCOUNT_TYPE:t.protocolMode===a?h.authorityType=i.Qd.MSSTS_ACCOUNT_TYPE:h.authorityType=i.Qd.GENERIC_ACCOUNT_TYPE,e.clientInfo&&r&&(p=et(e.clientInfo,r)),h.clientInfo=e.clientInfo,h.homeAccountId=e.homeAccountId,h.nativeAccountId=e.nativeAccountId;const g=e.environment||t&&t.getPreferredCache();if(!g)throw re(z);h.environment=g,h.realm=(null===(o=p)||void 0===o?void 0:o.utid)||ft(e.idTokenClaims)||"",h.localAccountId=(null===(n=p)||void 0===n?void 0:n.uid)||(null===(s=e.idTokenClaims)||void 0===s?void 0:s.oid)||(null===(l=e.idTokenClaims)||void 0===l?void 0:l.sub)||"";const m=(null===(c=e.idTokenClaims)||void 0===c?void 0:c.preferred_username)||(null===(u=e.idTokenClaims)||void 0===u?void 0:u.upn),v=null!==(d=e.idTokenClaims)&&void 0!==d&&d.emails?e.idTokenClaims.emails[0]:null;if(h.username=m||v||"",h.name=(null===(f=e.idTokenClaims)||void 0===f?void 0:f.name)||"",h.cloudGraphHostName=e.cloudGraphHostName,h.msGraphHost=e.msGraphHost,e.tenantProfiles)h.tenantProfiles=e.tenantProfiles;else{const t=at(e.homeAccountId,h.localAccountId,h.realm,e.idTokenClaims);h.tenantProfiles=[t]}return h}static createFromAccountInfo(e,t,r){var o;const n=new ht;return n.authorityType=e.authorityType||i.Qd.GENERIC_ACCOUNT_TYPE,n.homeAccountId=e.homeAccountId,n.localAccountId=e.localAccountId,n.nativeAccountId=e.nativeAccountId,n.realm=e.tenantId,n.environment=e.environment,n.username=e.username,n.name=e.name,n.cloudGraphHostName=t,n.msGraphHost=r,n.tenantProfiles=Array.from((null===(o=e.tenantProfiles)||void 0===o?void 0:o.values())||[]),n}static generateHomeAccountId(e,t,r,o,n){if(t!==ct&&t!==ut){if(e)try{const t=et(e,o.base64Decode);if(t.uid&&t.utid)return"".concat(t.uid,".").concat(t.utid)}catch(i){}r.warning("No client info in response")}return(null===n||void 0===n?void 0:n.sub)||""}static isAccountEntity(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"))}static accountInfoIsEqual(e,t,r){if(!e||!t)return!1;let o=!0;if(r){const r=e.idTokenClaims||{},n=t.idTokenClaims||{};o=r.iat===n.iat&&r.nonce===n.nonce}return e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username&&e.tenantId===t.tenantId&&e.environment===t.environment&&e.nativeAccountId===t.nativeAccountId&&o}}function pt(e){return e.startsWith("#/")?e.substring(2):e.startsWith("#")||e.startsWith("?")?e.substring(1):e}function gt(e){if(!e||e.indexOf("=")<0)return null;try{const t=pt(e),r=Object.fromEntries(new URLSearchParams(t));if(r.code||r.error||r.error_description||r.state)return r}catch(t){throw re(v)}return null}class mt{get urlString(){return this._urlString}constructor(e){if(this._urlString=e,!this._urlString)throw Ze(Ne);e.includes("#")||(this._urlString=mt.canonicalizeUri(e))}static canonicalizeUri(e){if(e){let t=e.toLowerCase();return Je.endsWith(t,"?")?t=t.slice(0,-1):Je.endsWith(t,"?/")&&(t=t.slice(0,-2)),Je.endsWith(t,"/")||(t+="/"),t}return e}validateAsUri(){let e;try{e=this.getUrlComponents()}catch(t){throw Ze(Ie)}if(!e.HostNameAndPort||!e.PathSegments)throw Ze(Ie);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw Ze(Be)}static appendQueryString(e,t){return t?e.indexOf("?")<0?"".concat(e,"?").concat(t):"".concat(e,"&").concat(t):e}static removeHashFromUrl(e){return mt.canonicalizeUri(e.split("#")[0])}replaceTenantPath(e){const t=this.getUrlComponents(),r=t.PathSegments;return!e||0===r.length||r[0]!==i.v2.COMMON&&r[0]!==i.v2.ORGANIZATIONS||(r[0]=e),mt.constructAuthorityUriFromObject(t)}getUrlComponents(){const e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),t=this.urlString.match(e);if(!t)throw Ze(Ie);const r={Protocol:t[1],HostNameAndPort:t[4],AbsolutePath:t[5],QueryString:t[7]};let o=r.AbsolutePath.split("/");return o=o.filter((e=>e&&e.length>0)),r.PathSegments=o,r.QueryString&&r.QueryString.endsWith("/")&&(r.QueryString=r.QueryString.substring(0,r.QueryString.length-1)),r}static getDomainFromUrl(e){const t=RegExp("^([^:/?#]+://)?([^/?#]*)"),r=e.match(t);if(!r)throw Ze(Ie);return r[2]}static getAbsoluteUrl(e,t){if(e[0]===i.YM.FORWARD_SLASH){const r=new mt(t).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+e}return e}static constructAuthorityUriFromObject(e){return new mt(e.Protocol+"//"+e.HostNameAndPort+"/"+e.PathSegments.join("/"))}static hashContainsKnownProperties(e){return!!gt(e)}}const vt={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},bt={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},yt=new Set;function wt(e,t,r,o){if(null===o||void 0===o||o.trace("getAliasesFromMetadata called with source: ".concat(r)),e&&t){const n=kt(t,e);if(n)return null===o||void 0===o||o.trace("getAliasesFromMetadata: found cloud discovery metadata in ".concat(r,", returning aliases")),n.aliases;null===o||void 0===o||o.trace("getAliasesFromMetadata: did not find cloud discovery metadata in ".concat(r))}return null}function kt(e,t){for(let r=0;r<e.length;r++){const o=e[r];if(o.aliases.includes(t))return o}return null}bt.metadata.forEach((e=>{e.aliases.forEach((e=>{yt.add(e)}))}));const xt="cache_quota_exceeded",Ct="cache_error_unknown",St={[xt]:"Exceeded cache storage capacity.",[Ct]:"Unexpected error occurred when using cache storage."};class _t extends Error{constructor(e,t){const r=t||(St[e]?St[e]:St[Ct]);super("".concat(e,": ").concat(r)),Object.setPrototypeOf(this,_t.prototype),this.name="CacheError",this.errorCode=e,this.errorMessage=r}}class At{constructor(e,t,r,o){this.clientId=e,this.cryptoImpl=t,this.commonLogger=r.clone(ne,ie),this.staticAuthorityOptions=o}getAllAccounts(e){return this.buildTenantProfiles(this.getAccountsFilteredBy(e||{}),e)}getAccountInfoFilteredBy(e){const t=this.getAllAccounts(e);if(t.length>1){return t.sort((e=>e.idTokenClaims?-1:1))[0]}return 1===t.length?t[0]:null}getBaseAccountInfo(e){const t=this.getAccountsFilteredBy(e);return t.length>0?t[0].getAccountInfo():null}buildTenantProfiles(e,t){return e.flatMap((e=>this.getTenantProfilesFromAccountEntity(e,null===t||void 0===t?void 0:t.tenantId,t)))}getTenantedAccountInfoByFilter(e,t,r,o){let n,i=null;if(o&&!this.tenantProfileMatchesFilter(r,o))return null;const a=this.getIdToken(e,t,r.tenantId);return a&&(n=ae(a.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(n,o))?null:(i=st(e,r,n,null===a||void 0===a?void 0:a.secret),i)}getTenantProfilesFromAccountEntity(e,t,r){const o=e.getAccountInfo();let n=o.tenantProfiles||new Map;const i=this.getTokenKeys();if(t){const e=n.get(t);if(!e)return[];n=new Map([[t,e]])}const a=[];return n.forEach((e=>{const t=this.getTenantedAccountInfoByFilter(o,i,e,r);t&&a.push(t)})),a}tenantProfileMatchesFilter(e,t){return!(t.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(e,t.localAccountId))&&((!t.name||e.name===t.name)&&(void 0===t.isHomeTenant||e.isHomeTenant===t.isHomeTenant))}idTokenClaimsMatchTenantProfileFilter(e,t){if(t){if(t.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(e,t.localAccountId))return!1;if(t.loginHint&&!this.matchLoginHintFromTokenClaims(e,t.loginHint))return!1;if(t.username&&!this.matchUsername(e.preferred_username,t.username))return!1;if(t.name&&!this.matchName(e,t.name))return!1;if(t.sid&&!this.matchSid(e,t.sid))return!1}return!0}async saveCacheRecord(e,t,r){if(!e)throw re(j);try{e.account&&this.setAccount(e.account),e.idToken&&!1!==(null===t||void 0===t?void 0:t.idToken)&&this.setIdTokenCredential(e.idToken),e.accessToken&&!1!==(null===t||void 0===t?void 0:t.accessToken)&&await this.saveAccessToken(e.accessToken),e.refreshToken&&!1!==(null===t||void 0===t?void 0:t.refreshToken)&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata)}catch(s){var o,n;if(null===(o=this.commonLogger)||void 0===o||o.error("CacheManager.saveCacheRecord: failed"),s instanceof Error){var i,a;if(null===(i=this.commonLogger)||void 0===i||i.errorPii("CacheManager.saveCacheRecord: ".concat(s.message),r),"QuotaExceededError"===s.name||"NS_ERROR_DOM_QUOTA_REACHED"===s.name||s.message.includes("exceeded the quota"))throw null===(a=this.commonLogger)||void 0===a||a.error("CacheManager.saveCacheRecord: exceeded storage quota",r),new _t(xt);throw new _t(s.name,s.message)}throw null===(n=this.commonLogger)||void 0===n||n.errorPii("CacheManager.saveCacheRecord: ".concat(s),r),new _t(Ct)}}async saveAccessToken(e){const t={clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash},r=this.getTokenKeys(),o=$e.fromString(e.target),n=[];r.accessToken.forEach((e=>{if(!this.accessTokenKeyMatchesFilter(e,t,!1))return;const r=this.getAccessTokenCredential(e);if(r&&this.credentialMatchesFilter(r,t)){$e.fromString(r.target).intersectingScopeSets(o)&&n.push(this.removeAccessToken(e))}})),await Promise.all(n),this.setAccessTokenCredential(e)}getAccountsFilteredBy(e){const t=this.getAccountKeys(),r=[];return t.forEach((t=>{var o;if(!this.isAccountKey(t,e.homeAccountId))return;const n=this.getAccount(t,this.commonLogger);if(!n)return;if(e.homeAccountId&&!this.matchHomeAccountId(n,e.homeAccountId))return;if(e.username&&!this.matchUsername(n.username,e.username))return;if(e.environment&&!this.matchEnvironment(n,e.environment))return;if(e.realm&&!this.matchRealm(n,e.realm))return;if(e.nativeAccountId&&!this.matchNativeAccountId(n,e.nativeAccountId))return;if(e.authorityType&&!this.matchAuthorityType(n,e.authorityType))return;const i={localAccountId:null===e||void 0===e?void 0:e.localAccountId,name:null===e||void 0===e?void 0:e.name},a=null===(o=n.tenantProfiles)||void 0===o?void 0:o.filter((e=>this.tenantProfileMatchesFilter(e,i)));a&&0===a.length||r.push(n)})),r}isAccountKey(e,t,r){return!(e.split(i.LR.CACHE_KEY_SEPARATOR).length<3)&&(!(t&&!e.toLowerCase().includes(t.toLowerCase()))&&!(r&&!e.toLowerCase().includes(r.toLowerCase())))}isCredentialKey(e){if(e.split(i.LR.CACHE_KEY_SEPARATOR).length<6)return!1;const t=e.toLowerCase();if(-1===t.indexOf(i.aG.ID_TOKEN.toLowerCase())&&-1===t.indexOf(i.aG.ACCESS_TOKEN.toLowerCase())&&-1===t.indexOf(i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===t.indexOf(i.aG.REFRESH_TOKEN.toLowerCase()))return!1;if(t.indexOf(i.aG.REFRESH_TOKEN.toLowerCase())>-1){const e="".concat(i.aG.REFRESH_TOKEN).concat(i.LR.CACHE_KEY_SEPARATOR).concat(this.clientId).concat(i.LR.CACHE_KEY_SEPARATOR),r="".concat(i.aG.REFRESH_TOKEN).concat(i.LR.CACHE_KEY_SEPARATOR).concat(i.hB).concat(i.LR.CACHE_KEY_SEPARATOR);if(-1===t.indexOf(e.toLowerCase())&&-1===t.indexOf(r.toLowerCase()))return!1}else if(-1===t.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(e,t){if(t.clientId&&!this.matchClientId(e,t.clientId))return!1;if(t.userAssertionHash&&!this.matchUserAssertionHash(e,t.userAssertionHash))return!1;if("string"===typeof t.homeAccountId&&!this.matchHomeAccountId(e,t.homeAccountId))return!1;if(t.environment&&!this.matchEnvironment(e,t.environment))return!1;if(t.realm&&!this.matchRealm(e,t.realm))return!1;if(t.credentialType&&!this.matchCredentialType(e,t.credentialType))return!1;if(t.familyId&&!this.matchFamilyId(e,t.familyId))return!1;if(t.target&&!this.matchTarget(e,t.target))return!1;if((t.requestedClaimsHash||e.requestedClaimsHash)&&e.requestedClaimsHash!==t.requestedClaimsHash)return!1;if(e.credentialType===i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(t.tokenType&&!this.matchTokenType(e,t.tokenType))return!1;if(t.tokenType===i.IO.SSH&&t.keyId&&!this.matchKeyId(e,t.keyId))return!1}return!0}getAppMetadataFilteredBy(e){const t=this.getKeys(),r={};return t.forEach((t=>{if(!this.isAppMetadata(t))return;const o=this.getAppMetadata(t);o&&(e.environment&&!this.matchEnvironment(o,e.environment)||e.clientId&&!this.matchClientId(o,e.clientId)||(r[t]=o))})),r}getAuthorityMetadataByAlias(e){const t=this.getAuthorityMetadataKeys();let r=null;return t.forEach((t=>{if(!this.isAuthorityMetadata(t)||-1===t.indexOf(this.clientId))return;const o=this.getAuthorityMetadata(t);o&&-1!==o.aliases.indexOf(e)&&(r=o)})),r}async removeAllAccounts(){const e=this.getAccountKeys(),t=[];e.forEach((e=>{t.push(this.removeAccount(e))})),await Promise.all(t)}async removeAccount(e){const t=this.getAccount(e,this.commonLogger);t&&(await this.removeAccountContext(t),this.removeItem(e))}async removeAccountContext(e){const t=this.getTokenKeys(),r=e.generateAccountId(),o=[];t.idToken.forEach((e=>{0===e.indexOf(r)&&this.removeIdToken(e)})),t.accessToken.forEach((e=>{0===e.indexOf(r)&&o.push(this.removeAccessToken(e))})),t.refreshToken.forEach((e=>{0===e.indexOf(r)&&this.removeRefreshToken(e)})),await Promise.all(o)}updateOutdatedCachedAccount(e,t,r){if(t&&t.isSingleTenant()){var n;null===(n=this.commonLogger)||void 0===n||n.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const i=this.getAccountKeys().filter((e=>e.startsWith(t.homeAccountId))),a=[];i.forEach((e=>{const t=this.getCachedAccountEntity(e);t&&a.push(t)}));const s=a.find((e=>it(e.realm,e.homeAccountId)))||a[0];s.tenantProfiles=a.map((e=>({tenantId:e.realm,localAccountId:e.localAccountId,name:e.name,isHomeTenant:it(e.realm,e.homeAccountId)})));const l=At.toObject(new ht,(0,o.A)({},s)),c=l.generateAccountKey();return i.forEach((t=>{t!==c&&this.removeOutdatedAccount(e)})),this.setAccount(l),null===r||void 0===r||r.verbose("Updated an outdated account entity in the cache"),l}return t}async removeAccessToken(e){const t=this.getAccessTokenCredential(e);if(t){if(t.credentialType.toLowerCase()===i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&t.tokenType===i.IO.POP){const e=t.keyId;if(e)try{await this.cryptoImpl.removeTokenBindingKey(e)}catch(r){throw re(G)}}return this.removeItem(e)}}removeAppMetadata(){return this.getKeys().forEach((e=>{this.isAppMetadata(e)&&this.removeItem(e)})),!0}readAccountFromCache(e){const t=ht.generateAccountCacheKey(e);return this.getAccount(t,this.commonLogger)}getIdToken(e,t,r,o,n){this.commonLogger.trace("CacheManager - getIdToken called");const a={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:i.aG.ID_TOKEN,clientId:this.clientId,realm:r},s=this.getIdTokensByFilter(a,t),l=s.size;if(l<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(l>1){let t=s;if(!r){const r=new Map;s.forEach(((t,o)=>{t.realm===e.tenantId&&r.set(o,t)}));const o=r.size;if(o<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),s.values().next().value;if(1===o)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),r.values().next().value;t=r}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),t.forEach(((e,t)=>{this.removeIdToken(t)})),o&&n&&o.addFields({multiMatchedID:s.size},n),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),s.values().next().value}getIdTokensByFilter(e,t){const r=t&&t.idToken||this.getTokenKeys().idToken,n=new Map;return r.forEach((t=>{if(!this.idTokenKeyMatchesFilter(t,(0,o.A)({clientId:this.clientId},e)))return;const r=this.getIdTokenCredential(t);r&&this.credentialMatchesFilter(r,e)&&n.set(t,r)})),n}idTokenKeyMatchesFilter(e,t){const r=e.toLowerCase();return(!t.clientId||-1!==r.indexOf(t.clientId.toLowerCase()))&&(!t.homeAccountId||-1!==r.indexOf(t.homeAccountId.toLowerCase()))}removeIdToken(e){this.removeItem(e)}removeRefreshToken(e){this.removeItem(e)}getAccessToken(e,t,r,o,n,a){this.commonLogger.trace("CacheManager - getAccessToken called");const s=$e.createSearchScopes(t.scopes),l=t.authenticationScheme||i.IO.BEARER,c=l&&l.toLowerCase()!==i.IO.BEARER.toLowerCase()?i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.aG.ACCESS_TOKEN,u={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:c,clientId:this.clientId,realm:o||e.tenantId,target:s,tokenType:l,keyId:t.sshKid,requestedClaimsHash:t.requestedClaimsHash},d=r&&r.accessToken||this.getTokenKeys().accessToken,f=[];d.forEach((e=>{if(this.accessTokenKeyMatchesFilter(e,u,!0)){const t=this.getAccessTokenCredential(e);t&&this.credentialMatchesFilter(t,u)&&f.push(t)}}));const h=f.length;return h<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):h>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),f.forEach((e=>{this.removeAccessToken(ue(e))})),n&&a&&n.addFields({multiMatchedAT:f.length},a),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),f[0])}accessTokenKeyMatchesFilter(e,t,r){const o=e.toLowerCase();if(t.clientId&&-1===o.indexOf(t.clientId.toLowerCase()))return!1;if(t.homeAccountId&&-1===o.indexOf(t.homeAccountId.toLowerCase()))return!1;if(t.realm&&-1===o.indexOf(t.realm.toLowerCase()))return!1;if(t.requestedClaimsHash&&-1===o.indexOf(t.requestedClaimsHash.toLowerCase()))return!1;if(t.target){const e=t.target.asArray();for(let t=0;t<e.length;t++){if(r&&!o.includes(e[t].toLowerCase()))return!1;if(!r&&o.includes(e[t].toLowerCase()))return!0}}return!0}getAccessTokensByFilter(e){const t=this.getTokenKeys(),r=[];return t.accessToken.forEach((t=>{if(!this.accessTokenKeyMatchesFilter(t,e,!0))return;const o=this.getAccessTokenCredential(t);o&&this.credentialMatchesFilter(o,e)&&r.push(o)})),r}getRefreshToken(e,t,r,o,n){this.commonLogger.trace("CacheManager - getRefreshToken called");const a=t?i.hB:void 0,s={homeAccountId:e.homeAccountId,environment:e.environment,credentialType:i.aG.REFRESH_TOKEN,clientId:this.clientId,familyId:a},l=r&&r.refreshToken||this.getTokenKeys().refreshToken,c=[];l.forEach((e=>{if(this.refreshTokenKeyMatchesFilter(e,s)){const t=this.getRefreshTokenCredential(e);t&&this.credentialMatchesFilter(t,s)&&c.push(t)}}));const u=c.length;return u<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(u>1&&o&&n&&o.addFields({multiMatchedRT:u},n),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),c[0])}refreshTokenKeyMatchesFilter(e,t){const r=e.toLowerCase();return(!t.familyId||-1!==r.indexOf(t.familyId.toLowerCase()))&&(!(!t.familyId&&t.clientId&&-1===r.indexOf(t.clientId.toLowerCase()))&&(!t.homeAccountId||-1!==r.indexOf(t.homeAccountId.toLowerCase())))}readAppMetadataFromCache(e){const t={environment:e,clientId:this.clientId},r=this.getAppMetadataFilteredBy(t),o=Object.keys(r).map((e=>r[e])),n=o.length;if(n<1)return null;if(n>1)throw re(A);return o[0]}isAppMetadataFOCI(e){const t=this.readAppMetadataFromCache(e);return!(!t||t.familyId!==i.hB)}matchHomeAccountId(e,t){return!("string"!==typeof e.homeAccountId||t!==e.homeAccountId)}matchLocalAccountIdFromTokenClaims(e,t){return t===(e.oid||e.sub)}matchLocalAccountIdFromTenantProfile(e,t){return e.localAccountId===t}matchName(e,t){var r;return!(t.toLowerCase()!==(null===(r=e.name)||void 0===r?void 0:r.toLowerCase()))}matchUsername(e,t){return!(!e||"string"!==typeof e||(null===t||void 0===t?void 0:t.toLowerCase())!==e.toLowerCase())}matchUserAssertionHash(e,t){return!(!e.userAssertionHash||t!==e.userAssertionHash)}matchEnvironment(e,t){if(this.staticAuthorityOptions){const r=function(e,t){let r;const o=e.canonicalAuthority;if(o){var n;const a=new mt(o).getUrlComponents().HostNameAndPort;r=wt(a,null===(n=e.cloudDiscoveryMetadata)||void 0===n?void 0:n.metadata,i.E_.CONFIG,t)||wt(a,bt.metadata,i.E_.HARDCODED_VALUES,t)||e.knownAuthorities}return r||[]}(this.staticAuthorityOptions,this.commonLogger);if(r.includes(t)&&r.includes(e.environment))return!0}const r=this.getAuthorityMetadataByAlias(t);return!!(r&&r.aliases.indexOf(e.environment)>-1)}matchCredentialType(e,t){return e.credentialType&&t.toLowerCase()===e.credentialType.toLowerCase()}matchClientId(e,t){return!(!e.clientId||t!==e.clientId)}matchFamilyId(e,t){return!(!e.familyId||t!==e.familyId)}matchRealm(e,t){var r;return!((null===(r=e.realm)||void 0===r?void 0:r.toLowerCase())!==t.toLowerCase())}matchNativeAccountId(e,t){return!(!e.nativeAccountId||t!==e.nativeAccountId)}matchLoginHintFromTokenClaims(e,t){return e.login_hint===t||(e.preferred_username===t||e.upn===t)}matchSid(e,t){return e.sid===t}matchAuthorityType(e,t){return!(!e.authorityType||t.toLowerCase()!==e.authorityType.toLowerCase())}matchTarget(e,t){if(e.credentialType!==i.aG.ACCESS_TOKEN&&e.credentialType!==i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)return!1;return $e.fromString(e.target).containsScopeSet(t)}matchTokenType(e,t){return!(!e.tokenType||e.tokenType!==t)}matchKeyId(e,t){return!(!e.keyId||e.keyId!==t)}isAppMetadata(e){return-1!==e.indexOf(i.GU)}isAuthorityMetadata(e){return-1!==e.indexOf(i.u0.CACHE_KEY)}generateAuthorityMetadataCacheKey(e){return"".concat(i.u0.CACHE_KEY,"-").concat(this.clientId,"-").concat(e)}static toObject(e,t){for(const r in t)e[r]=t[r];return e}}class Tt extends At{setAccount(){throw re(J)}getAccount(){throw re(J)}getCachedAccountEntity(){throw re(J)}setIdTokenCredential(){throw re(J)}getIdTokenCredential(){throw re(J)}setAccessTokenCredential(){throw re(J)}getAccessTokenCredential(){throw re(J)}setRefreshTokenCredential(){throw re(J)}getRefreshTokenCredential(){throw re(J)}setAppMetadata(){throw re(J)}getAppMetadata(){throw re(J)}setServerTelemetry(){throw re(J)}getServerTelemetry(){throw re(J)}setAuthorityMetadata(){throw re(J)}getAuthorityMetadata(){throw re(J)}getAuthorityMetadataKeys(){throw re(J)}setThrottlingCache(){throw re(J)}getThrottlingCache(){throw re(J)}removeItem(){throw re(J)}getKeys(){throw re(J)}getAccountKeys(){throw re(J)}getTokenKeys(){throw re(J)}updateCredentialCacheKey(){throw re(J)}removeOutdatedAccount(){throw re(J)}}const Et={tokenRenewalOffsetSeconds:i.F0,preventCorsPreflight:!1},Bt={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:n.$.Info,correlationId:i.YM.EMPTY_STRING},It={claimsBasedCachingEnabled:!1},Nt={async sendGetRequestAsync(){throw re(J)},async sendPostRequestAsync(){throw re(J)}},Pt={sku:i.YM.SKU,version:ie,cpu:i.YM.EMPTY_STRING,os:i.YM.EMPTY_STRING},Rt={clientSecret:i.YM.EMPTY_STRING,clientAssertion:void 0},Ot={azureCloudInstance:l,tenant:"".concat(i.YM.DEFAULT_COMMON_TENANT)},jt={application:{appName:"",appVersion:""}};function zt(e){return e.authOptions.authority.options.protocolMode===s}const Mt={sendGetRequestAsync:()=>Promise.reject(re(J)),sendPostRequestAsync:()=>Promise.reject(re(J))},Lt="acquireTokenByCode",Dt="acquireTokenByRefreshToken",Ft="acquireTokenSilent",qt="acquireTokenSilentAsync",Ht="acquireTokenPopup",Ut="acquireTokenPreRedirect",Wt="acquireTokenRedirect",Kt="cryptoOptsGetPublicKeyThumbprint",Gt="cryptoOptsSignJwt",Vt="silentCacheClientAcquireToken",Yt="silentIframeClientAcquireToken",Xt="awaitConcurrentIframe",Qt="silentRefreshClientAcquireToken",Zt="ssoSilent",Jt="standardInteractionClientGetDiscoveredAuthority",$t="fetchAccountIdWithNativeBroker",er="nativeInteractionClientAcquireToken",tr="networkClientSendPostRequestAsync",rr="refreshTokenClientExecutePostToTokenEndpoint",or="authorizationCodeClientExecutePostToTokenEndpoint",nr="refreshTokenClientExecuteTokenRequest",ir="refreshTokenClientAcquireToken",ar="refreshTokenClientAcquireTokenWithCachedRefreshToken",sr="refreshTokenClientAcquireTokenByRefreshToken",lr="refreshTokenClientCreateTokenRequestBody",cr="acquireTokenFromCache",ur="silentFlowClientAcquireCachedToken",dr="silentFlowClientGenerateResultFromCacheRecord",fr="acquireTokenBySilentIframe",hr="initializeBaseRequest",pr="initializeSilentRequest",gr="initializeClientApplication",mr="silentIframeClientTokenHelper",vr="silentHandlerInitiateAuthRequest",br="silentHandlerMonitorIframeForHash",yr="silentHandlerLoadFrame",wr="silentHandlerLoadFrameSync",kr="standardInteractionClientCreateAuthCodeClient",xr="standardInteractionClientGetClientConfiguration",Cr="standardInteractionClientInitializeAuthorizationRequest",Sr="standardInteractionClientInitializeAuthorizationCodeRequest",_r="getAuthCodeUrl",Ar="handleCodeResponseFromServer",Tr="handleCodeResponse",Er="updateTokenEndpointAuthority",Br="authClientAcquireToken",Ir="authClientExecuteTokenRequest",Nr="authClientCreateTokenRequestBody",Pr="authClientCreateQueryString",Rr="popTokenGenerateCnf",Or="popTokenGenerateKid",jr="handleServerTokenResponse",zr="deserializeResponse",Mr="authorityFactoryCreateDiscoveredInstance",Lr="authorityResolveEndpointsAsync",Dr="authorityGetCloudDiscoveryMetadataFromNetwork",Fr="authorityUpdateCloudDiscoveryMetadata",qr="authorityGetEndpointMetadataFromNetwork",Hr="authorityUpdateEndpointMetadata",Ur="authorityUpdateMetadataWithRegionalInformation",Wr="regionDiscoveryDetectRegion",Kr="regionDiscoveryGetRegionFromIMDS",Gr="regionDiscoveryGetCurrentVersion",Vr="acquireTokenByCodeAsync",Yr="handleRedirectPromise",Xr="handleNativeRedirectPromise",Qr="nativeMessageHandlerHandshake",Zr="removeHiddenIframe",Jr="clearTokensAndKeysWithClaims",$r="cacheManagerGetRefreshToken",eo="generatePkceCodes",to="generateCodeVerifier",ro="generateCodeChallengeFromVerifier",oo="sha256Digest",no="getRandomValues",io=(new Map([[Lt,"ATByCode"],[Dt,"ATByRT"],[Ft,"ATS"],[qt,"ATSAsync"],[Ht,"ATPopup"],[Wt,"ATRedirect"],[Kt,"CryptoGetPKThumb"],[Gt,"CryptoSignJwt"],[Vt,"SltCacheClientAT"],[Yt,"SltIframeClientAT"],[Qt,"SltRClientAT"],[Zt,"SsoSlt"],[Jt,"StdIntClientGetDiscAuth"],[$t,"FetchAccIdWithNtvBroker"],[er,"NtvIntClientAT"],["baseClientCreateTokenRequestHeaders","BaseClientCreateTReqHead"],[tr,"NetClientSendPost"],[rr,"RTClientExecPost"],[or,"AuthCodeClientExecPost"],["brokerHandshake","BrokerHandshake"],["acquireTokenByRefreshTokenInBroker","ATByRTInBroker"],["acquireTokenByBroker","ATByBroker"],[nr,"RTClientExecTReq"],[ir,"RTClientAT"],[ar,"RTClientATWithCachedRT"],[sr,"RTClientATByRT"],[lr,"RTClientCreateTReqBody"],[cr,"ATFromCache"],[ur,"SltFlowClientATCached"],[dr,"SltFlowClientGenResFromCache"],[fr,"ATBySltIframe"],[hr,"InitBaseReq"],[pr,"InitSltReq"],[gr,"InitClientApplication"],[mr,"SIClientTHelper"],[vr,"SHandlerInitAuthReq"],[br,"SltHandlerMonitorIframeForHash"],[yr,"SHandlerLoadFrame"],[wr,"SHandlerLoadFrameSync"],[kr,"StdIntClientCreateAuthCodeClient"],[xr,"StdIntClientGetClientConf"],[Cr,"StdIntClientInitAuthReq"],[Sr,"StdIntClientInitAuthCodeReq"],[_r,"GetAuthCodeUrl"],[Ar,"HandleCodeResFromServer"],[Tr,"HandleCodeResp"],[Er,"UpdTEndpointAuth"],[Br,"AuthClientAT"],[Ir,"AuthClientExecTReq"],[Nr,"AuthClientCreateTReqBody"],[Pr,"AuthClientCreateQueryStr"],[Rr,"PopTGenCnf"],[Or,"PopTGenKid"],[jr,"HandleServerTRes"],[zr,"DeserializeRes"],[Mr,"AuthFactCreateDiscInst"],[Lr,"AuthResolveEndpointsAsync"],["authorityResolveEndpointsFromLocalSources","AuthResolveEndpointsFromLocal"],[Dr,"AuthGetCDMetaFromNet"],[Fr,"AuthUpdCDMeta"],[qr,"AuthUpdCDMetaFromNet"],[Hr,"AuthUpdEndpointMeta"],[Ur,"AuthUpdMetaWithRegInfo"],[Wr,"RegDiscDetectReg"],[Kr,"RegDiscGetRegFromIMDS"],[Gr,"RegDiscGetCurrentVer"],[Vr,"ATByCodeAsync"],["getEndpointMetadataFromNetwork","GetEndpointMetaFromNet"],["getCloudDiscoveryMetadataFromNetworkMeasurement","GetCDMetaFromNet"],[Yr,"HandleRedirectPromise"],[Xr,"HandleNtvRedirectPromise"],["updateCloudDiscoveryMetadataMeasurement","UpdateCDMeta"],["usernamePasswordClientAcquireToken","UserPassClientAT"],[Qr,"NtvMsgHandlerHandshake"],["nativeGenerateAuthResult","NtvGenAuthRes"],[Zr,"RemoveHiddenIframe"],[Jr,"ClearTAndKeysWithClaims"],[$r,"CacheManagerGetRT"],[eo,"GenPkceCodes"],[to,"GenCodeVerifier"],[ro,"GenCodeChallengeFromVerifier"],[oo,"Sha256Digest"],[no,"GetRandomValues"]]),1);new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"]);class ao{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class so{generateId(){return"callback-id"}startMeasurement(e,t){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:io,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:e,startTimeMs:Date.now(),correlationId:t||""},measurement:new ao}}startPerformanceMeasurement(){return new ao}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}var lo=r(8648);class co{navigateInternal(e,t){return co.defaultNavigateWindow(e,t)}navigateExternal(e,t){return co.defaultNavigateWindow(e,t)}static defaultNavigateWindow(e,t){return t.noHistory?window.location.replace(e):window.location.assign(e),new Promise((e=>{setTimeout((()=>{e(!0)}),t.timeout)}))}}class uo extends c.lR{constructor(e,t,r){super(e.errorCode,e.errorMessage,e.subError),Object.setPrototypeOf(this,uo.prototype),this.name="NetworkError",this.error=e,this.httpStatus=t,this.responseHeaders=r}}function fo(e,t,r){return new uo(e,t,r)}const ho="pkce_not_created",po="crypto_nonexistent",go="empty_navigate_uri",mo="hash_empty_error",vo="no_state_in_hash",bo="hash_does_not_contain_known_properties",yo="unable_to_parse_state",wo="state_interaction_type_mismatch",ko="interaction_in_progress",xo="popup_window_error",Co="empty_window_error",So="user_cancelled",_o="monitor_popup_timeout",Ao="monitor_window_timeout",To="redirect_in_iframe",Eo="block_iframe_reload",Bo="block_nested_popups",Io="iframe_closed_prematurely",No="silent_logout_unsupported",Po="no_account_error",Ro="silent_prompt_value_error",Oo="no_token_request_cache_error",jo="unable_to_parse_token_request_cache_error",zo="no_cached_authority_error",Mo="auth_request_not_set_error",Lo="invalid_cache_type",Do="non_browser_environment",Fo="database_not_open",qo="no_network_connectivity",Ho="post_request_failed",Uo="get_request_failed",Wo="failed_to_parse_response",Ko="unable_to_load_token",Go="crypto_key_not_found",Vo="auth_code_required",Yo="auth_code_or_nativeAccountId_required",Xo="spa_code_and_nativeAccountId_present",Qo="database_unavailable",Zo="unable_to_acquire_token_from_native_platform",Jo="native_handshake_timeout",$o="native_extension_not_installed",en="native_connection_not_established",tn="uninitialized_public_client_application",rn="native_prompt_not_supported",on="invalid_base64_string",nn="invalid_pop_token_request",an="failed_to_build_headers",sn="failed_to_parse_headers",ln="For more visit: aka.ms/msaljs/browser-errors",cn={[ho]:"The PKCE code challenge and verifier could not be generated.",[po]:"The crypto object or function is not available.",[go]:"Navigation URI is empty. Please check stack trace for more info.",[mo]:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ".concat(ln),[vo]:"Hash does not contain state. Please verify that the request originated from msal.",[bo]:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash.  ".concat(ln),[yo]:"Unable to parse state. Please verify that the request originated from msal.",[wo]:"Hash contains state but the interaction type does not match the caller.",[ko]:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.   ".concat(ln),[xo]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[Co]:"window.open returned null or undefined window object.",[So]:"User cancelled the flow.",[_o]:"Token acquisition in popup failed due to timeout.  ".concat(ln),[Ao]:"Token acquisition in iframe failed due to timeout.  ".concat(ln),[To]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[Eo]:"Request was blocked inside an iframe because MSAL detected an authentication response.  ".concat(ln),[Bo]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[Io]:"The iframe being monitored was closed prematurely.",[No]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[Po]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[Ro]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[Oo]:"No token request found in cache.",[jo]:"The cached token request could not be parsed.",[zo]:"No cached authority found.",[Mo]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[Lo]:"Invalid cache type",[Do]:"Login and token requests are not supported in non-browser environments.",[Fo]:"Database is not open!",[qo]:"No network connectivity. Check your internet connection.",[Ho]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[Uo]:"Network request failed. Please check the network trace to determine root cause.",[Wo]:"Failed to parse network response. Check network trace.",[Ko]:"Error loading token to cache.",[Go]:"Cryptographic Key or Keypair not found in browser storage.",[Vo]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[Yo]:"An authorization code or nativeAccountId must be provided to this flow.",[Xo]:"Request cannot contain both spa code and native account id.",[Qo]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[Zo]:"Unable to acquire token from native platform.  ".concat(ln),[Jo]:"Timed out while attempting to establish connection to browser extension",[$o]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[en]:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize().  ".concat(ln),[tn]:"You must call and await the initialize function before attempting to call any other MSAL API.  ".concat(ln),[rn]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[on]:"Invalid base64 encoded string.",[nn]:"Invalid PoP token request. The request should not have both a popKid value and signPopToken set to true.",[an]:"Failed to build request headers object.",[sn]:"Failed to parse response headers"};class un extends c.lR{constructor(e,t){super(e,cn[e],t),Object.setPrototypeOf(this,un.prototype),this.name="BrowserAuthError"}}function dn(e,t){return new un(e,t)}class fn{async sendGetRequestAsync(e,t){let r,o={},n=0;const i=hn(t);try{r=await fetch(e,{method:lo.CC.GET,headers:i})}catch(a){throw dn(window.navigator.onLine?Uo:qo)}o=pn(r.headers);try{return n=r.status,{headers:o,body:await r.json(),status:n}}catch(a){throw fo(dn(Wo),n,o)}}async sendPostRequestAsync(e,t){const r=t&&t.body||"",o=hn(t);let n,i=0,a={};try{n=await fetch(e,{method:lo.CC.POST,headers:o,body:r})}catch(s){throw dn(window.navigator.onLine?Ho:qo)}a=pn(n.headers);try{return i=n.status,{headers:a,body:await n.json(),status:i}}catch(s){throw fo(dn(Wo),i,a)}}}function hn(e){try{const t=new Headers;if(!e||!e.headers)return t;const r=e.headers;return Object.entries(r).forEach((e=>{let[r,o]=e;t.append(r,o)})),t}catch(t){throw dn(an)}}function pn(e){try{const t={};return e.forEach(((e,r)=>{t[r]=e})),t}catch(t){throw dn(sn)}}function gn(e){return encodeURIComponent(vn(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function mn(e){return bn(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function vn(e){return bn((new TextEncoder).encode(e))}function bn(e){const t=Array.from(e,(e=>String.fromCodePoint(e))).join("");return btoa(t)}const yn="SHA-256",wn=new Uint8Array([1,0,1]),kn="0123456789abcdef",xn=new Uint32Array(1),Cn={name:"RSASSA-PKCS1-v1_5",hash:yn,modulusLength:2048,publicExponent:wn};async function Sn(e,t,r){null===t||void 0===t||t.addQueueMeasurement(oo,r);const o=(new TextEncoder).encode(e);return window.crypto.subtle.digest(yn,o)}function _n(e){return window.crypto.getRandomValues(e)}function An(){return window.crypto.getRandomValues(xn),xn[0]}function Tn(){const e=Date.now(),t=1024*An()+(1023&An()),r=new Uint8Array(16),o=Math.trunc(t/2**30),n=t&2**30-1,i=An();r[0]=e/2**40,r[1]=e/2**32,r[2]=e/2**24,r[3]=e/65536,r[4]=e/256,r[5]=e,r[6]=112|o>>>8,r[7]=o,r[8]=128|n>>>24,r[9]=n>>>16,r[10]=n>>>8,r[11]=n,r[12]=i>>>24,r[13]=i>>>16,r[14]=i>>>8,r[15]=i;let a="";for(let s=0;s<r.length;s++)a+=kn.charAt(r[s]>>>4),a+=kn.charAt(15&r[s]),3!==s&&5!==s&&7!==s&&9!==s||(a+="-");return a}async function En(e){return window.crypto.subtle.exportKey(lo.jb,e)}async function Bn(e){const t=await Sn(e);return mn(new Uint8Array(t))}var In=r(5854),Nn=r(3552);function Pn(){return window.parent!==window}function Rn(){return"undefined"!==typeof window&&window.location?window.location.href.split("?")[0].split("#")[0]:""}function On(){if("undefined"!==typeof window&&window.opener&&window.opener!==window&&"string"===typeof window.name&&0===window.name.indexOf("".concat(lo.Q1.POPUP_NAME_PREFIX,".")))throw dn(Bo)}function jn(){if("undefined"===typeof window)throw dn(Do)}function zn(e){if(!e)throw dn(tn)}function Mn(e){jn(),function(){if(mt.hashContainsKnownProperties(window.location.hash)&&Pn())throw dn(Eo)}(),On(),zn(e)}function Ln(e,t){if(Mn(e),function(e){if(Pn()&&!e)throw dn(To)}(t.system.allowRedirectInIframe),t.cache.cacheLocation===lo.Al.MemoryStorage&&!t.cache.storeAuthStateInCookie)throw(0,In.jz)(Nn.jE)}function Dn(e){const t=document.createElement("link");t.rel="preconnect",t.href=new URL(e).origin,t.crossOrigin="anonymous",document.head.appendChild(t),window.setTimeout((()=>{try{document.head.removeChild(t)}catch(e){}}),1e4)}const Fn=1e4;const qn="3.28.1";class Hn{static loggerCallback(e,t){switch(e){case n.$.Error:return void console.error(t);case n.$.Info:return void console.info(t);case n.$.Verbose:return void console.debug(t);case n.$.Warning:return void console.warn(t);default:return void console.log(t)}}constructor(e){var t,r;let c;this.browserEnvironment="undefined"!==typeof window,this.config=function(e,t){let{auth:r,cache:c,system:u,telemetry:d}=e;const f={clientId:i.YM.EMPTY_STRING,authority:"".concat(i.YM.DEFAULT_AUTHORITY),knownAuthorities:[],cloudDiscoveryMetadata:i.YM.EMPTY_STRING,authorityMetadata:i.YM.EMPTY_STRING,redirectUri:"undefined"!==typeof window?Rn():"",postLogoutRedirectUri:i.YM.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:a,OIDCOptions:{serverResponseType:i.zL.FRAGMENT,defaultScopes:[i.YM.OPENID_SCOPE,i.YM.PROFILE_SCOPE,i.YM.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:l,tenant:i.YM.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1,instanceAware:!1},h={cacheLocation:lo.Al.SessionStorage,temporaryCacheLocation:lo.Al.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!c||c.cacheLocation!==lo.Al.LocalStorage),claimsBasedCachingEnabled:!1},p={loggerCallback:()=>{},logLevel:n.$.Info,piiLoggingEnabled:!1},g=(0,o.A)((0,o.A)({},Et),{},{loggerOptions:p,networkClient:t?new fn:Mt,navigationClient:new co,loadFrameTimeout:0,windowHashTimeout:(null===u||void 0===u?void 0:u.loadFrameTimeout)||6e4,iframeHashTimeout:(null===u||void 0===u?void 0:u.loadFrameTimeout)||Fn,navigateFrameWait:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(null===u||void 0===u?void 0:u.nativeBrokerHandshakeTimeout)||2e3,pollIntervalMilliseconds:lo.Q1.DEFAULT_POLL_INTERVAL_MS}),m=(0,o.A)((0,o.A)((0,o.A)({},g),u),{},{loggerOptions:(null===u||void 0===u?void 0:u.loggerOptions)||p}),v={application:{appName:i.YM.EMPTY_STRING,appVersion:i.YM.EMPTY_STRING},client:new so};(null===r||void 0===r?void 0:r.protocolMode)!==s&&null!==r&&void 0!==r&&r.OIDCOptions&&new n.V(m.loggerOptions).warning(JSON.stringify(Ze(Ge)));if(null!==r&&void 0!==r&&r.protocolMode&&r.protocolMode!==a&&null!==m&&void 0!==m&&m.allowNativeBroker)throw Ze(Ve);return{auth:(0,o.A)((0,o.A)((0,o.A)({},f),r),{},{OIDCOptions:(0,o.A)((0,o.A)({},f.OIDCOptions),null===r||void 0===r?void 0:r.OIDCOptions)}),cache:(0,o.A)((0,o.A)({},h),c),system:m,telemetry:(0,o.A)((0,o.A)({},v),d)}}(e,this.browserEnvironment);try{c=window[lo.Al.SessionStorage]}catch(g){}const u=null===(t=c)||void 0===t?void 0:t.getItem(lo.L$),d=null===(r=c)||void 0===r||null===(r=r.getItem(lo.P3))||void 0===r?void 0:r.toLowerCase(),f="true"===d||"false"!==d&&void 0,h=(0,o.A)({},this.config.system.loggerOptions),p=u&&Object.keys(n.$).includes(u)?n.$[u]:void 0;p&&(h.loggerCallback=Hn.loggerCallback,h.logLevel=p),void 0!==f&&(h.piiLoggingEnabled=f),this.logger=new n.V(h,"@azure/msal-browser",qn),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}class Un extends Hn{getModuleName(){return Un.MODULE_NAME}getId(){return Un.ID}async initialize(){return this.available="undefined"!==typeof window,this.available}}Un.MODULE_NAME="",Un.ID="StandardOperatingContext";const Wn="missing_kid_error",Kn="missing_alg_error",Gn={[Wn]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[Kn]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class Vn extends c.lR{constructor(e,t){super(e,t),this.name="JoseHeaderError",Object.setPrototypeOf(this,Vn.prototype)}}function Yn(e){return new Vn(e,Gn[e])}class Xn{constructor(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}static getShrHeaderString(e){if(!e.kid)throw Yn(Wn);if(!e.alg)throw Yn(Kn);const t=new Xn({typ:e.typ||i.Lz.Pop,kid:e.kid,alg:e.alg});return JSON.stringify(t)}}function Qn(e){return(new TextDecoder).decode(function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw dn(on)}const r=atob(t);return Uint8Array.from(r,(e=>e.codePointAt(0)||0))}(e))}class Zn{constructor(){this.dbName=lo.$u,this.version=lo.G8,this.tableName=lo.WJ,this.dbOpen=!1}async open(){return new Promise(((e,t)=>{const r=window.indexedDB.open(this.dbName,this.version);r.addEventListener("upgradeneeded",(e=>{e.target.result.createObjectStore(this.tableName)})),r.addEventListener("success",(t=>{const r=t;this.db=r.target.result,this.dbOpen=!0,e()})),r.addEventListener("error",(()=>t(dn(Qo))))}))}closeConnection(){const e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)}async validateDbIsOpen(){if(!this.dbOpen)return this.open()}async getItem(e){return await this.validateDbIsOpen(),new Promise(((t,r)=>{if(!this.db)return r(dn(Fo));const o=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).get(e);o.addEventListener("success",(e=>{const r=e;this.closeConnection(),t(r.target.result)})),o.addEventListener("error",(e=>{this.closeConnection(),r(e)}))}))}async setItem(e,t){return await this.validateDbIsOpen(),new Promise(((r,o)=>{if(!this.db)return o(dn(Fo));const n=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).put(t,e);n.addEventListener("success",(()=>{this.closeConnection(),r()})),n.addEventListener("error",(e=>{this.closeConnection(),o(e)}))}))}async removeItem(e){return await this.validateDbIsOpen(),new Promise(((t,r)=>{if(!this.db)return r(dn(Fo));const o=this.db.transaction([this.tableName],"readwrite").objectStore(this.tableName).delete(e);o.addEventListener("success",(()=>{this.closeConnection(),t()})),o.addEventListener("error",(e=>{this.closeConnection(),r(e)}))}))}async getKeys(){return await this.validateDbIsOpen(),new Promise(((e,t)=>{if(!this.db)return t(dn(Fo));const r=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).getAllKeys();r.addEventListener("success",(t=>{const r=t;this.closeConnection(),e(r.target.result)})),r.addEventListener("error",(e=>{this.closeConnection(),t(e)}))}))}async containsKey(e){return await this.validateDbIsOpen(),new Promise(((t,r)=>{if(!this.db)return r(dn(Fo));const o=this.db.transaction([this.tableName],"readonly").objectStore(this.tableName).count(e);o.addEventListener("success",(e=>{const r=e;this.closeConnection(),t(1===r.target.result)})),o.addEventListener("error",(e=>{this.closeConnection(),r(e)}))}))}async deleteDatabase(){return this.db&&this.dbOpen&&this.closeConnection(),new Promise(((e,t)=>{const r=window.indexedDB.deleteDatabase(lo.$u),o=setTimeout((()=>t(!1)),200);r.addEventListener("success",(()=>(clearTimeout(o),e(!0)))),r.addEventListener("blocked",(()=>(clearTimeout(o),e(!0)))),r.addEventListener("error",(()=>(clearTimeout(o),t(!1))))}))}}class Jn{constructor(){this.cache=new Map}getItem(e){return this.cache.get(e)||null}setItem(e,t){this.cache.set(e,t)}removeItem(e){this.cache.delete(e)}getKeys(){const e=[];return this.cache.forEach(((t,r)=>{e.push(r)})),e}containsKey(e){return this.cache.has(e)}clear(){this.cache.clear()}}class $n{constructor(e){this.inMemoryCache=new Jn,this.indexedDBCache=new Zn,this.logger=e}handleDatabaseAccessError(e){if(!(e instanceof un&&e.errorCode===Qo))throw e;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}async getItem(e){const t=this.inMemoryCache.getItem(e);if(!t)try{return this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),await this.indexedDBCache.getItem(e)}catch(r){this.handleDatabaseAccessError(r)}return t}async setItem(e,t){this.inMemoryCache.setItem(e,t);try{await this.indexedDBCache.setItem(e,t)}catch(r){this.handleDatabaseAccessError(r)}}async removeItem(e){this.inMemoryCache.removeItem(e);try{await this.indexedDBCache.removeItem(e)}catch(t){this.handleDatabaseAccessError(t)}}async getKeys(){const e=this.inMemoryCache.getKeys();if(0===e.length)try{return this.logger.verbose("In-memory cache is empty, now querying persistent storage."),await this.indexedDBCache.getKeys()}catch(t){this.handleDatabaseAccessError(t)}return e}async containsKey(e){const t=this.inMemoryCache.containsKey(e);if(!t)try{return this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),await this.indexedDBCache.containsKey(e)}catch(r){this.handleDatabaseAccessError(r)}return t}clearInMemory(){this.logger.verbose("Deleting in-memory keystore"),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore deleted")}async clearPersistent(){try{this.logger.verbose("Deleting persistent keystore");const e=await this.indexedDBCache.deleteDatabase();return e&&this.logger.verbose("Persistent keystore deleted"),e}catch(e){return this.handleDatabaseAccessError(e),!1}}}class ei{constructor(e,t,r){this.logger=e,function(e){if(!window)throw dn(Do);if(!window.crypto)throw dn(po);if(!e&&!window.crypto.subtle)throw dn(po,"crypto_subtle_undefined")}(null!==r&&void 0!==r&&r),this.cache=new $n(this.logger),this.performanceClient=t}createNewGuid(){return Tn()}base64Encode(e){return vn(e)}base64Decode(e){return Qn(e)}base64UrlEncode(e){return gn(e)}encodeKid(e){return this.base64UrlEncode(JSON.stringify({kid:e}))}async getPublicKeyThumbprint(e){var t;const r=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(Kt,e.correlationId),o=await async function(e,t){return window.crypto.subtle.generateKey(Cn,e,t)}(ei.EXTRACTABLE,ei.POP_KEY_USAGES),n=await En(o.publicKey),i=ti({e:n.e,kty:n.kty,n:n.n}),a=await this.hashString(i),s=await En(o.privateKey),l=await async function(e,t,r){return window.crypto.subtle.importKey(lo.jb,e,Cn,t,r)}(s,!1,["sign"]);return await this.cache.setItem(a,{privateKey:l,publicKey:o.publicKey,requestMethod:e.resourceRequestMethod,requestUri:e.resourceRequestUri}),r&&r.end({success:!0}),a}async removeTokenBindingKey(e){await this.cache.removeItem(e);return!await this.cache.containsKey(e)}async clearKeystore(){this.cache.clearInMemory();try{return await this.cache.clearPersistent(),!0}catch(e){return e instanceof Error?this.logger.error("Clearing keystore failed with error: ".concat(e.message)):this.logger.error("Clearing keystore failed with unknown error"),!1}}async signJwt(e,t,r,n){var i;const a=null===(i=this.performanceClient)||void 0===i?void 0:i.startMeasurement(Gt,n),s=await this.cache.getItem(t);if(!s)throw dn(Go);const l=await En(s.publicKey),c=ti(l),u=gn(JSON.stringify({kid:t})),d=gn(Xn.getShrHeaderString((0,o.A)((0,o.A)({},null===r||void 0===r?void 0:r.header),{},{alg:l.alg,kid:u})));e.cnf={jwk:JSON.parse(c)};const f=gn(JSON.stringify(e)),h="".concat(d,".").concat(f),p=(new TextEncoder).encode(h),g=await async function(e,t){return window.crypto.subtle.sign(Cn,e,t)}(s.privateKey,p),m=mn(new Uint8Array(g)),v="".concat(h,".").concat(m);return a&&a.end({success:!0}),v}async hashString(e){return Bn(e)}}function ti(e){return JSON.stringify(e,Object.keys(e).sort())}ei.POP_KEY_USAGES=["sign","verify"],ei.EXTRACTABLE=!0;const ri=(e,t,r,o,n)=>function(){r.trace("Executing function ".concat(t));const i=null===o||void 0===o?void 0:o.startMeasurement(t,n);if(n){const e=t+"CallCount";null===o||void 0===o||o.incrementFields({[e]:1},n)}try{const o=e(...arguments);return null===i||void 0===i||i.end({success:!0}),r.trace("Returning result from ".concat(t)),o}catch(a){r.trace("Error occurred in ".concat(t));try{r.trace(JSON.stringify(a))}catch(a){r.trace("Unable to print error message.")}throw null===i||void 0===i||i.end({success:!1},a),a}},oi=(e,t,r,o,n)=>function(){r.trace("Executing function ".concat(t));const i=null===o||void 0===o?void 0:o.startMeasurement(t,n);if(n){const e=t+"CallCount";null===o||void 0===o||o.incrementFields({[e]:1},n)}return null===o||void 0===o||o.setPreQueueTime(t,n),e(...arguments).then((e=>(r.trace("Returning result from ".concat(t)),null===i||void 0===i||i.end({success:!0}),e))).catch((e=>{r.trace("Error occurred in ".concat(t));try{r.trace(JSON.stringify(e))}catch(e){r.trace("Unable to print error message.")}throw null===i||void 0===i||i.end({success:!1},e),e}))};class ni{constructor(e,t,r,o){this.networkInterface=e,this.logger=t,this.performanceClient=r,this.correlationId=o}async detectRegion(e,t){var r;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Wr,this.correlationId);let o=e;if(o)t.region_source=i.jZ.ENVIRONMENT_VARIABLE;else{const e=ni.IMDS_OPTIONS;try{const r=await oi(this.getRegionFromIMDS.bind(this),Kr,this.logger,this.performanceClient,this.correlationId)(i.YM.IMDS_VERSION,e);if(r.status===i.Kk.httpSuccess&&(o=r.body,t.region_source=i.jZ.IMDS),r.status===i.Kk.httpBadRequest){const r=await oi(this.getCurrentVersion.bind(this),Gr,this.logger,this.performanceClient,this.correlationId)(e);if(!r)return t.region_source=i.jZ.FAILED_AUTO_DETECTION,null;const n=await oi(this.getRegionFromIMDS.bind(this),Kr,this.logger,this.performanceClient,this.correlationId)(r,e);n.status===i.Kk.httpSuccess&&(o=n.body,t.region_source=i.jZ.IMDS)}}catch(n){return t.region_source=i.jZ.FAILED_AUTO_DETECTION,null}}return o||(t.region_source=i.jZ.FAILED_AUTO_DETECTION),o||null}async getRegionFromIMDS(e,t){var r;return null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Kr,this.correlationId),this.networkInterface.sendGetRequestAsync("".concat(i.YM.IMDS_ENDPOINT,"?api-version=").concat(e,"&format=text"),t,i.YM.IMDS_TIMEOUT)}async getCurrentVersion(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Gr,this.correlationId);try{const t=await this.networkInterface.sendGetRequestAsync("".concat(i.YM.IMDS_ENDPOINT,"?format=json"),e);return t.status===i.Kk.httpBadRequest&&t.body&&t.body["newest-versions"]&&t.body["newest-versions"].length>0?t.body["newest-versions"][0]:null}catch(r){return null}}}ni.IMDS_OPTIONS={headers:{Metadata:"true"}};class ii{constructor(e,t,r,o,n,i,a,s){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=t,this.cacheManager=r,this.authorityOptions=o,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=n,this.performanceClient=a,this.correlationId=i,this.managedIdentity=s||!1,this.regionDiscovery=new ni(t,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(e){if(e.HostNameAndPort.endsWith(i.YM.CIAM_AUTH_URL))return dt;const t=e.PathSegments;if(t.length)switch(t[0].toLowerCase()){case i.YM.ADFS:return ct;case i.YM.DSTS:return ut}return lt}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(e){this._canonicalAuthority=new mt(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw re(p)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw re(p)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw re(p)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw re(V);return this.replacePath(this.metadata.end_session_endpoint)}throw re(p)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw re(p)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw re(p)}canReplaceTenant(e){return 1===e.PathSegments.length&&!ii.reservedTenantDomains.has(e.PathSegments[0])&&this.getAuthorityType(e)===lt&&this.protocolMode===a}replaceTenant(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(e){let t=e;const r=new mt(this.metadata.canonical_authority).getUrlComponents(),o=r.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach(((e,n)=>{let i=o[n];if(0===n&&this.canReplaceTenant(r)){const e=new mt(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];i!==e&&(this.logger.verbose("Replacing tenant domain name ".concat(i," with id ").concat(e)),i=e)}e!==i&&(t=t.replace("/".concat(i,"/"),"/".concat(e,"/")))})),this.replaceTenant(t)}get defaultOpenIdConfigurationEndpoint(){const e=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===ct||this.protocolMode!==a&&!this.isAliasOfKnownMicrosoftAuthority(e)?"".concat(this.canonicalAuthority,".well-known/openid-configuration"):"".concat(this.canonicalAuthority,"v2.0/.well-known/openid-configuration")}discoveryComplete(){return!!this.metadata}async resolveEndpointsAsync(){var e,t;null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(Lr,this.correlationId);const r=this.getCurrentMetadataEntity(),o=await oi(this.updateCloudDiscoveryMetadata.bind(this),Fr,this.logger,this.performanceClient,this.correlationId)(r);this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,r.preferred_network);const n=await oi(this.updateEndpointMetadata.bind(this),Hr,this.logger,this.performanceClient,this.correlationId)(r);this.updateCachedMetadata(r,o,{source:n}),null===(t=this.performanceClient)||void 0===t||t.addFields({cloudDiscoverySource:o,authorityEndpointSource:n},this.correlationId)}getCurrentMetadataEntity(){let e=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return e||(e={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:Ce(),jwks_uri:""}),e}updateCachedMetadata(e,t,r){t!==i.E_.CACHE&&(null===r||void 0===r?void 0:r.source)!==i.E_.CACHE&&(e.expiresAt=Ce(),e.canonical_authority=this.canonicalAuthority);const o=this.cacheManager.generateAuthorityMetadataCacheKey(e.preferred_cache);this.cacheManager.setAuthorityMetadata(o,e),this.metadata=e}async updateEndpointMetadata(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Hr,this.correlationId);const r=this.updateEndpointMetadataFromLocalSources(e);if(r){var o;if(r.source===i.E_.HARDCODED_VALUES)if(null!==(o=this.authorityOptions.azureRegionConfiguration)&&void 0!==o&&o.azureRegion&&r.metadata){Se(e,await oi(this.updateMetadataWithRegionalInformation.bind(this),Ur,this.logger,this.performanceClient,this.correlationId)(r.metadata),!1),e.canonical_authority=this.canonicalAuthority}return r.source}let n=await oi(this.getEndpointMetadataFromNetwork.bind(this),qr,this.logger,this.performanceClient,this.correlationId)();var a;if(n)return null!==(a=this.authorityOptions.azureRegionConfiguration)&&void 0!==a&&a.azureRegion&&(n=await oi(this.updateMetadataWithRegionalInformation.bind(this),Ur,this.logger,this.performanceClient,this.correlationId)(n)),Se(e,n,!0),i.E_.NETWORK;throw re(m,this.defaultOpenIdConfigurationEndpoint)}updateEndpointMetadataFromLocalSources(e){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const t=this.getEndpointMetadataFromConfig();if(t)return this.logger.verbose("Found endpoint metadata in authority configuration"),Se(e,t,!1),{source:i.E_.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const t=this.getEndpointMetadataFromHardcodedValues();if(t)return Se(e,t,!1),{source:i.E_.HARDCODED_VALUES,metadata:t};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const r=Ae(e);return this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!r?(this.logger.verbose("Found endpoint metadata in the cache."),{source:i.E_.CACHE}):(r&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(e){return new mt(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(e){throw Ze(Fe)}return null}async getEndpointMetadataFromNetwork(){var e;null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(qr,this.correlationId);const t={},r=this.defaultOpenIdConfigurationEndpoint;this.logger.verbose("Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ".concat(r));try{const e=await this.networkInterface.sendGetRequestAsync(r,t),o=function(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}(e.body);return o?e.body:(this.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(o){return this.logger.verbose("Authority.getEndpointMetadataFromNetwork: ".concat(o)),null}}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in vt?vt[this.hostnameAndPort]:null}async updateMetadataWithRegionalInformation(e){var t,r;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Ur,this.correlationId);const o=null===(r=this.authorityOptions.azureRegionConfiguration)||void 0===r?void 0:r.azureRegion;if(o){var n;if(o!==i.YM.AZURE_REGION_AUTO_DISCOVER_FLAG)return this.regionDiscoveryMetadata.region_outcome=i._2.CONFIGURED_NO_AUTO_DETECTION,this.regionDiscoveryMetadata.region_used=o,ii.replaceWithRegionalInformation(e,o);const t=await oi(this.regionDiscovery.detectRegion.bind(this.regionDiscovery),Wr,this.logger,this.performanceClient,this.correlationId)(null===(n=this.authorityOptions.azureRegionConfiguration)||void 0===n?void 0:n.environmentRegion,this.regionDiscoveryMetadata);if(t)return this.regionDiscoveryMetadata.region_outcome=i._2.AUTO_DETECTION_REQUESTED_SUCCESSFUL,this.regionDiscoveryMetadata.region_used=t,ii.replaceWithRegionalInformation(e,t);this.regionDiscoveryMetadata.region_outcome=i._2.AUTO_DETECTION_REQUESTED_FAILED}return e}async updateCloudDiscoveryMetadata(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Fr,this.correlationId);const r=this.updateCloudDiscoveryMetadataFromLocalSources(e);if(r)return r;const o=await oi(this.getCloudDiscoveryMetadataFromNetwork.bind(this),Dr,this.logger,this.performanceClient,this.correlationId)();if(o)return _e(e,o,!0),i.E_.NETWORK;throw Ze(qe)}updateCloudDiscoveryMetadataFromLocalSources(e){this.logger.verbose("Attempting to get cloud discovery metadata  from authority configuration"),this.logger.verbosePii("Known Authorities: ".concat(this.authorityOptions.knownAuthorities||i.YM.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: ".concat(this.authorityOptions.authorityMetadata||i.YM.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: ".concat(e.canonical_authority||i.YM.NOT_APPLICABLE));const t=this.getCloudDiscoveryMetadataFromConfig();if(t)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),_e(e,t,!1),i.E_.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const t=(r=this.hostnameAndPort,kt(bt.metadata,r));if(t)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),_e(e,t,!1),i.E_.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}var r;const o=Ae(e);return this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!o?(this.logger.verbose("Found cloud discovery metadata in the cache."),i.E_.CACHE):(o&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===dt)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),ii.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const e=kt(JSON.parse(this.authorityOptions.cloudDiscoveryMetadata).metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),e)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),e;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch(e){throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),Ze(De)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),ii.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}async getCloudDiscoveryMetadataFromNetwork(){var e;null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(Dr,this.correlationId);const t="".concat(i.YM.AAD_INSTANCE_DISCOVERY_ENDPT).concat(this.canonicalAuthority,"oauth2/v2.0/authorize"),r={};let o=null;try{const e=await this.networkInterface.sendGetRequestAsync(t,r);let n,a;if(function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(e.body))n=e.body,a=n.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: ".concat(n.tenant_discovery_endpoint));else{if(!function(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}(e.body))return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ".concat(e.status)),n=e.body,n.error===i.YM.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is ".concat(n.error)),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is ".concat(n.error_description)),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),a=[]}this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),o=kt(a,this.hostnameAndPort)}catch(n){if(n instanceof c.lR)this.logger.error("There was a network error while attempting to get the cloud discovery instance metadata.\nError: ".concat(n.errorCode,"\nError Description: ").concat(n.errorMessage));else{const e=n;this.logger.error("A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ".concat(e.name,"\nError Description: ").concat(e.message))}return null}return o||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),o=ii.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),o}isInKnownAuthorities(){const e=this.authorityOptions.knownAuthorities.filter((e=>e&&mt.getDomainFromUrl(e).toLowerCase()===this.hostnameAndPort));return e.length>0}static generateAuthority(e,t){let r;if(t&&t.azureCloudInstance!==l){const e=t.tenant?t.tenant:i.YM.DEFAULT_COMMON_TENANT;r="".concat(t.azureCloudInstance,"/").concat(e,"/")}return r||e}static createCloudDiscoveryMetadataFromHost(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}}getPreferredCache(){if(this.managedIdentity)return i.YM.DEFAULT_AUTHORITY_HOST;if(this.discoveryComplete())return this.metadata.preferred_cache;throw re(p)}isAlias(e){return this.metadata.aliases.indexOf(e)>-1}isAliasOfKnownMicrosoftAuthority(e){return yt.has(e)}static isPublicCloudAuthority(e){return i.YM.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0}static buildRegionalAuthorityString(e,t,r){const n=new mt(e);n.validateAsUri();const a=n.getUrlComponents();let s="".concat(t,".").concat(a.HostNameAndPort);this.isPublicCloudAuthority(a.HostNameAndPort)&&(s="".concat(t,".").concat(i.YM.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX));const l=mt.constructAuthorityUriFromObject((0,o.A)((0,o.A)({},n.getUrlComponents()),{},{HostNameAndPort:s})).urlString;return r?"".concat(l,"?").concat(r):l}static replaceWithRegionalInformation(e,t){const r=(0,o.A)({},e);return r.authorization_endpoint=ii.buildRegionalAuthorityString(r.authorization_endpoint,t),r.token_endpoint=ii.buildRegionalAuthorityString(r.token_endpoint,t),r.end_session_endpoint&&(r.end_session_endpoint=ii.buildRegionalAuthorityString(r.end_session_endpoint,t)),r}static transformCIAMAuthority(e){let t=e;const r=new mt(e).getUrlComponents();if(0===r.PathSegments.length&&r.HostNameAndPort.endsWith(i.YM.CIAM_AUTH_URL)){const e=r.HostNameAndPort.split(".")[0];t="".concat(t).concat(e).concat(i.YM.AAD_TENANT_DOMAIN_SUFFIX)}return t}}function ai(e){return e.endsWith(i.YM.FORWARD_SLASH)?e:"".concat(e).concat(i.YM.FORWARD_SLASH)}ii.reservedTenantDomains=new Set(["{tenant}","{tenantid}",i.v2.COMMON,i.v2.CONSUMERS,i.v2.ORGANIZATIONS]);const si="no_tokens_found",li="native_account_unavailable",ci="refresh_token_expired",ui="bad_token",di=["interaction_required","consent_required","login_required",ui],fi=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],hi={[si]:"No refresh token found in the cache. Please sign-in.",[li]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[ci]:"Refresh token has expired.",[ui]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."};class pi extends c.lR{constructor(e,t,r,o,n,a,s,l){super(e,t,r),Object.setPrototypeOf(this,pi.prototype),this.timestamp=o||i.YM.EMPTY_STRING,this.traceId=n||i.YM.EMPTY_STRING,this.correlationId=a||i.YM.EMPTY_STRING,this.claims=s||i.YM.EMPTY_STRING,this.name="InteractionRequiredAuthError",this.errorNo=l}}function gi(e,t,r){const o=!!e&&di.indexOf(e)>-1,n=!!r&&fi.indexOf(r)>-1,i=!!t&&di.some((e=>t.indexOf(e)>-1));return o||i||n}function mi(e){return new pi(e,hi[e])}class vi{static setRequestState(e,t,r){const o=vi.generateLibraryState(e,r);return t?"".concat(o).concat(i.YM.RESOURCE_DELIM).concat(t):o}static generateLibraryState(e,t){if(!e)throw re(L);const r={id:e.createNewGuid()};t&&(r.meta=t);const o=JSON.stringify(r);return e.base64Encode(o)}static parseRequestState(e,t){if(!e)throw re(L);if(!t)throw re(b);try{const r=t.split(i.YM.RESOURCE_DELIM),o=r[0],n=r.length>1?r.slice(1).join(i.YM.RESOURCE_DELIM):i.YM.EMPTY_STRING,a=e.base64Decode(o),s=JSON.parse(a);return{userRequestState:n||i.YM.EMPTY_STRING,libraryState:s}}catch(r){throw re(b)}}}const bi="home_account_id",yi="UPN";class wi{constructor(){if(!window.localStorage)throw(0,In.jz)(Nn.xz)}getItem(e){return window.localStorage.getItem(e)}setItem(e,t){window.localStorage.setItem(e,t)}removeItem(e){window.localStorage.removeItem(e)}getKeys(){return Object.keys(window.localStorage)}containsKey(e){return window.localStorage.hasOwnProperty(e)}}class ki{constructor(){if(!window.sessionStorage)throw(0,In.jz)(Nn.xz)}getItem(e){return window.sessionStorage.getItem(e)}setItem(e,t){window.sessionStorage.setItem(e,t)}removeItem(e){window.sessionStorage.removeItem(e)}getKeys(){return Object.keys(window.sessionStorage)}containsKey(e){return window.sessionStorage.hasOwnProperty(e)}}function xi(e,t){if(!t)return null;try{return vi.parseRequestState(e,t).libraryState.meta}catch(r){throw re(b)}}const Ci=864e5;class Si{getItem(e){const t="".concat(encodeURIComponent(e)),r=document.cookie.split(";");for(let o=0;o<r.length;o++){const e=r[o],[n,...i]=decodeURIComponent(e).trim().split("="),a=i.join("=");if(n===t)return a}return""}setItem(e,t,r){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],n="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t),";path=/;SameSite=Lax;");if(r){const e=function(e){const t=new Date,r=new Date(t.getTime()+e*Ci);return r.toUTCString()}(r);n+="expires=".concat(e,";")}o&&(n+="Secure;"),document.cookie=n}removeItem(e){this.setItem(e,"",-1)}getKeys(){const e=document.cookie.split(";"),t=[];return e.forEach((e=>{const r=decodeURIComponent(e).trim().split("=");t.push(r[0])})),t}containsKey(e){return this.getKeys().includes(e)}}class _i extends At{constructor(e,t,r,o,n,i){super(e,r,o,n),this.cacheConfig=t,this.logger=o,this.internalStorage=new Jn,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupBrowserStorage(this.cacheConfig.temporaryCacheLocation),this.cookieStorage=new Si,t.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps()),this.performanceClient=i}setupBrowserStorage(e){try{switch(e){case lo.Al.LocalStorage:return new wi;case lo.Al.SessionStorage:return new ki;case lo.Al.MemoryStorage:}}catch(t){this.logger.error(t)}return this.cacheConfig.cacheLocation=lo.Al.MemoryStorage,new Jn}migrateCacheEntries(){const e="".concat(i.YM.CACHE_PREFIX,".").concat(i.Gd.ID_TOKEN),t="".concat(i.YM.CACHE_PREFIX,".").concat(i.Gd.CLIENT_INFO),r="".concat(i.YM.CACHE_PREFIX,".").concat(i.Gd.ERROR),o="".concat(i.YM.CACHE_PREFIX,".").concat(i.Gd.ERROR_DESC),n=[this.browserStorage.getItem(e),this.browserStorage.getItem(t),this.browserStorage.getItem(r),this.browserStorage.getItem(o)];[i.Gd.ID_TOKEN,i.Gd.CLIENT_INFO,i.Gd.ERROR,i.Gd.ERROR_DESC].forEach(((e,t)=>{const r=n[t];r&&this.setTemporaryCache(e,r,!0)}))}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const e=this.getItem(lo.dh.ACCOUNT_KEYS),t=this.getItem("".concat(lo.dh.TOKEN_KEYS,".").concat(this.clientId));if(e&&t)return void this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration.");this.browserStorage.getKeys().forEach((e=>{if(this.isCredentialKey(e)){const t=this.getItem(e);if(t){const r=this.validateAndParseJson(t);if(r&&r.hasOwnProperty("credentialType"))switch(r.credentialType){case i.aG.ID_TOKEN:if(me(r)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: ".concat(e," found, saving key to token key map"));const t=r,o=this.updateCredentialCacheKey(e,t);return void this.addTokenKey(o,i.aG.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii("BrowserCacheManager:createKeyMaps - failed idToken validation on key: ".concat(e));break;case i.aG.ACCESS_TOKEN:case i.aG.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(ge(r)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: ".concat(e," found, saving key to token key map"));const t=r,o=this.updateCredentialCacheKey(e,t);return void this.addTokenKey(o,i.aG.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ".concat(e));break;case i.aG.REFRESH_TOKEN:if(ve(r)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: ".concat(e," found, saving key to token key map"));const t=r,o=this.updateCredentialCacheKey(e,t);return void this.addTokenKey(o,i.aG.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii("BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ".concat(e))}}}if(this.isAccountKey(e)){const t=this.getItem(e);if(t){const r=this.validateAndParseJson(t);r&&ht.isAccountEntity(r)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii("BrowserCacheManager:createKeyMaps - account with key: ".concat(e," found, saving key to account key map")),this.addAccountKeyToMap(e))}}}))}validateAndParseJson(e){try{const t=JSON.parse(e);return t&&"object"===typeof t?t:null}catch(t){return null}}getItem(e){return this.browserStorage.getItem(e)}setItem(e,t){this.browserStorage.setItem(e,t)}getAccount(e,t){this.logger.trace("BrowserCacheManager.getAccount called");const r=this.getCachedAccountEntity(e);return this.updateOutdatedCachedAccount(e,r,t)}getCachedAccountEntity(e){const t=this.getItem(e);if(!t)return this.removeAccountKeyFromMap(e),null;const r=this.validateAndParseJson(t);return r&&ht.isAccountEntity(r)?At.toObject(new ht,r):(this.removeAccountKeyFromMap(e),null)}setAccount(e){this.logger.trace("BrowserCacheManager.setAccount called");const t=e.generateAccountKey();this.setItem(t,JSON.stringify(e)),this.addAccountKeyToMap(t)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const e=this.getItem(lo.dh.ACCOUNT_KEYS);return e?JSON.parse(e):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(e){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii("BrowserCacheManager.addAccountKeyToMap called with key: ".concat(e));const t=this.getAccountKeys();-1===t.indexOf(e)?(t.push(e),this.setItem(lo.dh.ACCOUNT_KEYS,JSON.stringify(t)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(e){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii("BrowserCacheManager.removeAccountKeyFromMap called with key: ".concat(e));const t=this.getAccountKeys(),r=t.indexOf(e);r>-1?(t.splice(r,1),this.setItem(lo.dh.ACCOUNT_KEYS,JSON.stringify(t)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}async removeAccount(e){super.removeAccount(e),this.removeAccountKeyFromMap(e)}removeOutdatedAccount(e){this.removeItem(e),this.removeAccountKeyFromMap(e)}removeIdToken(e){super.removeIdToken(e),this.removeTokenKey(e,i.aG.ID_TOKEN)}async removeAccessToken(e){super.removeAccessToken(e),this.removeTokenKey(e,i.aG.ACCESS_TOKEN)}removeRefreshToken(e){super.removeRefreshToken(e),this.removeTokenKey(e,i.aG.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const e=this.getItem("".concat(lo.dh.TOKEN_KEYS,".").concat(this.clientId));if(e){const t=this.validateAndParseJson(e);if(t&&t.hasOwnProperty("idToken")&&t.hasOwnProperty("accessToken")&&t.hasOwnProperty("refreshToken"))return t;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(e,t){this.logger.trace("BrowserCacheManager addTokenKey called");const r=this.getTokenKeys();switch(t){case i.aG.ID_TOKEN:-1===r.idToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),r.idToken.push(e));break;case i.aG.ACCESS_TOKEN:-1===r.accessToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),r.accessToken.push(e));break;case i.aG.REFRESH_TOKEN:-1===r.refreshToken.indexOf(e)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),r.refreshToken.push(e));break;default:throw this.logger.error("BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ".concat(t)),re(D)}this.setItem("".concat(lo.dh.TOKEN_KEYS,".").concat(this.clientId),JSON.stringify(r))}removeTokenKey(e,t){this.logger.trace("BrowserCacheManager removeTokenKey called");const r=this.getTokenKeys();switch(t){case i.aG.ID_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ".concat(e," from map"));const o=r.idToken.indexOf(e);o>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),r.idToken.splice(o,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case i.aG.ACCESS_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ".concat(e," from map"));const n=r.accessToken.indexOf(e);n>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),r.accessToken.splice(n,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case i.aG.REFRESH_TOKEN:this.logger.infoPii("BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ".concat(e," from map"));const a=r.refreshToken.indexOf(e);a>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),r.refreshToken.splice(a,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error("BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ".concat(t)),re(D)}this.setItem("".concat(lo.dh.TOKEN_KEYS,".").concat(this.clientId),JSON.stringify(r))}getIdTokenCredential(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.ID_TOKEN),null;const r=this.validateAndParseJson(t);return r&&me(r)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),r):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.ID_TOKEN),null)}setIdTokenCredential(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const t=ue(e);this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,i.aG.ID_TOKEN)}getAccessTokenCredential(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.ACCESS_TOKEN),null;const r=this.validateAndParseJson(t);return r&&ge(r)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),r):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.ACCESS_TOKEN),null)}setAccessTokenCredential(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const t=ue(e);this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,i.aG.ACCESS_TOKEN)}getRefreshTokenCredential(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.REFRESH_TOKEN),null;const r=this.validateAndParseJson(t);return r&&ve(r)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),r):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(e,i.aG.REFRESH_TOKEN),null)}setRefreshTokenCredential(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const t=ue(e);this.setItem(t,JSON.stringify(e)),this.addTokenKey(t,i.aG.REFRESH_TOKEN)}getAppMetadata(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const r=this.validateAndParseJson(t);return r&&(o=e,(n=r)&&0===o.indexOf(i.GU)&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("environment"))?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),r):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null);var o,n}setAppMetadata(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");const t=function(e){let{environment:t,clientId:r}=e;return[i.GU,t,r].join(i.LR.CACHE_KEY_SEPARATOR).toLowerCase()}(e);this.setItem(t,JSON.stringify(e))}getServerTelemetry(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const r=this.validateAndParseJson(t);return r&&function(e,t){const r=0===e.indexOf(i.gT.CACHE_KEY);let o=!0;return t&&(o=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),r&&o}(e,r)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),r):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(e,t){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(t))}getAuthorityMetadata(e){const t=this.internalStorage.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const r=this.validateAndParseJson(t);return r&&function(e,t){return!!t&&0===e.indexOf(i.u0.CACHE_KEY)&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri")}(e,r)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),r):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter((e=>this.isAuthorityMetadata(e)))}setWrapperMetadata(e,t){this.internalStorage.setItem(lo.H3.WRAPPER_SKU,e),this.internalStorage.setItem(lo.H3.WRAPPER_VER,t)}getWrapperMetadata(){return[this.internalStorage.getItem(lo.H3.WRAPPER_SKU)||i.YM.EMPTY_STRING,this.internalStorage.getItem(lo.H3.WRAPPER_VER)||i.YM.EMPTY_STRING]}setAuthorityMetadata(e,t){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(t))}getActiveAccount(){const e=this.generateCacheKey(i.Gd.ACTIVE_ACCOUNT_FILTERS),t=this.getItem(e);if(!t){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const e=this.generateCacheKey(i.Gd.ACTIVE_ACCOUNT),t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const r=this.getAccountInfoFilteredBy({localAccountId:t});return r?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(r),r):null}const r=this.validateAndParseJson(t);return r?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:r.homeAccountId,localAccountId:r.localAccountId,tenantId:r.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(e){const t=this.generateCacheKey(i.Gd.ACTIVE_ACCOUNT_FILTERS),r=this.generateCacheKey(i.Gd.ACTIVE_ACCOUNT);if(e){this.logger.verbose("setActiveAccount: Active account set");const o={homeAccountId:e.homeAccountId,localAccountId:e.localAccountId,tenantId:e.tenantId};this.browserStorage.setItem(t,JSON.stringify(o)),this.browserStorage.setItem(r,e.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(t),this.browserStorage.removeItem(r)}getThrottlingCache(e){const t=this.getItem(e);if(!t)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const r=this.validateAndParseJson(t);return r&&function(e,t){let r=!1;e&&(r=0===e.indexOf(i.Xw.THROTTLING_PREFIX));let o=!0;return t&&(o=t.hasOwnProperty("throttleTime")),r&&o}(e,r)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),r):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(e,t){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(t))}getTemporaryCache(e,t){const r=t?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){const e=this.cookieStorage.getItem(r);if(e)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),e}const o=this.temporaryCacheStorage.getItem(r);if(!o){if(this.cacheConfig.cacheLocation===lo.Al.LocalStorage){const e=this.browserStorage.getItem(r);if(e)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),e}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),o}setTemporaryCache(e,t,r){const o=r?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(o,t),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.cookieStorage.setItem(o,t,void 0,this.cacheConfig.secureCookies))}removeItem(e){this.browserStorage.removeItem(e)}removeTemporaryItem(e){this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.cookieStorage.removeItem(e))}getKeys(){return this.browserStorage.getKeys()}async clear(){await this.removeAllAccounts(),this.removeAppMetadata(),this.temporaryCacheStorage.getKeys().forEach((e=>{-1===e.indexOf(i.YM.CACHE_PREFIX)&&-1===e.indexOf(this.clientId)||this.removeTemporaryItem(e)})),this.browserStorage.getKeys().forEach((e=>{-1===e.indexOf(i.YM.CACHE_PREFIX)&&-1===e.indexOf(this.clientId)||this.browserStorage.removeItem(e)})),this.internalStorage.clear()}async clearTokensAndKeysWithClaims(e,t){e.addQueueMeasurement(Jr,t);const r=this.getTokenKeys(),o=[];r.accessToken.forEach((e=>{const t=this.getAccessTokenCredential(e);null!==t&&void 0!==t&&t.requestedClaimsHash&&e.includes(t.requestedClaimsHash.toLowerCase())&&o.push(this.removeAccessToken(e))})),await Promise.all(o),o.length>0&&this.logger.warning("".concat(o.length," access tokens with claims in the cache keys have been removed from the cache."))}generateCacheKey(e){return this.validateAndParseJson(e)?JSON.stringify(e):Je.startsWith(e,i.YM.CACHE_PREFIX)||Je.startsWith(e,i.Gd.ADAL_ID_TOKEN)?e:"".concat(i.YM.CACHE_PREFIX,".").concat(this.clientId,".").concat(e)}generateAuthorityKey(e){const{libraryState:{id:t}}=vi.parseRequestState(this.cryptoImpl,e);return this.generateCacheKey("".concat(lo._p.AUTHORITY,".").concat(t))}generateNonceKey(e){const{libraryState:{id:t}}=vi.parseRequestState(this.cryptoImpl,e);return this.generateCacheKey("".concat(lo._p.NONCE_IDTOKEN,".").concat(t))}generateStateKey(e){const{libraryState:{id:t}}=vi.parseRequestState(this.cryptoImpl,e);return this.generateCacheKey("".concat(lo._p.REQUEST_STATE,".").concat(t))}getCachedAuthority(e){const t=this.generateStateKey(e),r=this.getTemporaryCache(t);if(!r)return null;const o=this.generateAuthorityKey(r);return this.getTemporaryCache(o)}updateCacheEntries(e,t,r,o,n){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const i=this.generateStateKey(e);this.setTemporaryCache(i,e,!1);const a=this.generateNonceKey(e);this.setTemporaryCache(a,t,!1);const s=this.generateAuthorityKey(e);if(this.setTemporaryCache(s,r,!1),n){const e={credential:n.homeAccountId,type:bi};this.setTemporaryCache(lo._p.CCS_CREDENTIAL,JSON.stringify(e),!0)}else if(o){const e={credential:o,type:yi};this.setTemporaryCache(lo._p.CCS_CREDENTIAL,JSON.stringify(e),!0)}}resetRequestCache(e){this.logger.trace("BrowserCacheManager.resetRequestCache called"),e&&(this.temporaryCacheStorage.getKeys().forEach((t=>{-1!==t.indexOf(e)&&this.removeTemporaryItem(t)})),this.removeTemporaryItem(this.generateStateKey(e)),this.removeTemporaryItem(this.generateNonceKey(e)),this.removeTemporaryItem(this.generateAuthorityKey(e))),this.removeTemporaryItem(this.generateCacheKey(lo._p.REQUEST_PARAMS)),this.removeTemporaryItem(this.generateCacheKey(lo._p.ORIGIN_URI)),this.removeTemporaryItem(this.generateCacheKey(lo._p.URL_HASH)),this.removeTemporaryItem(this.generateCacheKey(lo._p.CORRELATION_ID)),this.removeTemporaryItem(this.generateCacheKey(lo._p.CCS_CREDENTIAL)),this.removeTemporaryItem(this.generateCacheKey(lo._p.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){const t=this.generateStateKey(e),r=this.temporaryCacheStorage.getItem(t);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ".concat(r)),this.resetRequestCache(r||i.YM.EMPTY_STRING)}}cleanRequestByInteractionType(e){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.temporaryCacheStorage.getKeys().forEach((t=>{if(-1===t.indexOf(lo._p.REQUEST_STATE))return;const r=this.temporaryCacheStorage.getItem(t);if(!r)return;const o=xi(this.cryptoImpl,r);o&&o.interactionType===e&&(this.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ".concat(r)),this.resetRequestCache(r))})),this.setInteractionInProgress(!1)}cacheCodeRequest(e){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const t=vn(JSON.stringify(e));this.setTemporaryCache(lo._p.REQUEST_PARAMS,t,!0)}getCachedRequest(e){this.logger.trace("BrowserCacheManager.getCachedRequest called");const t=this.getTemporaryCache(lo._p.REQUEST_PARAMS,!0);if(!t)throw dn(Oo);let r;try{r=JSON.parse(Qn(t))}catch(o){throw this.logger.errorPii("Attempted to parse: ".concat(t)),this.logger.error("Parsing cached token request threw with error: ".concat(o)),dn(jo)}if(this.removeTemporaryItem(this.generateCacheKey(lo._p.REQUEST_PARAMS)),!r.authority){const t=this.generateAuthorityKey(e),o=this.getTemporaryCache(t);if(!o)throw dn(zo);r.authority=o}return r}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const e=this.getTemporaryCache(lo._p.NATIVE_REQUEST,!0);if(!e)return this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null;const t=this.validateAndParseJson(e);return t||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null)}isInteractionInProgress(e){const t=this.getInteractionInProgress();return e?t===this.clientId:!!t}getInteractionInProgress(){const e="".concat(i.YM.CACHE_PREFIX,".").concat(lo._p.INTERACTION_STATUS_KEY);return this.getTemporaryCache(e,!1)}setInteractionInProgress(e){const t="".concat(i.YM.CACHE_PREFIX,".").concat(lo._p.INTERACTION_STATUS_KEY);if(e){if(this.getInteractionInProgress())throw dn(ko);this.setTemporaryCache(t,this.clientId,!1)}else e||this.getInteractionInProgress()!==this.clientId||this.removeTemporaryItem(t)}getLegacyLoginHint(){const e=this.getTemporaryCache(i.Gd.ADAL_ID_TOKEN);e&&(this.browserStorage.removeItem(i.Gd.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const t=this.getTemporaryCache(i.Gd.ID_TOKEN,!0);t&&(this.browserStorage.removeItem(this.generateCacheKey(i.Gd.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const r=t||e;if(r){const e=ae(r,Qn);if(e.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),e.preferred_username;if(e.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),e.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(e,t){const r=ue(t);if(e!==r){const o=this.getItem(e);if(o)return this.browserStorage.removeItem(e),this.setItem(r,o),this.logger.verbose("Updated an outdated ".concat(t.credentialType," cache key")),r;this.logger.error("Attempted to update an outdated ".concat(t.credentialType," cache key but no item matching the outdated key was found in storage"))}return e}async hydrateCache(e,t){var r,o,n;const i=de(null===(r=e.account)||void 0===r?void 0:r.homeAccountId,null===(o=e.account)||void 0===o?void 0:o.environment,e.idToken,this.clientId,e.tenantId);let a;t.claims&&(a=await this.cryptoImpl.hashString(t.claims));const s={idToken:i,accessToken:fe(null===(n=e.account)||void 0===n?void 0:n.homeAccountId,e.account.environment,e.accessToken,this.clientId,e.tenantId,e.scopes.join(" "),e.expiresOn?e.expiresOn.getTime()/1e3:0,e.extExpiresOn?e.extExpiresOn.getTime()/1e3:0,Qn,void 0,e.tokenType,void 0,t.sshKid,t.claims,a)};return this.saveCacheRecord(s)}async saveCacheRecord(e,t,r){try{await super.saveCacheRecord(e,t,r)}catch(o){if(o instanceof _t&&this.performanceClient&&r)try{const e=this.getTokenKeys();this.performanceClient.addFields({cacheRtCount:e.refreshToken.length,cacheIdCount:e.idToken.length,cacheAtCount:e.accessToken.length},r)}catch(o){}throw o}}}var Ai=r(7498);class Ti{constructor(e){this.eventCallbacks=new Map,this.logger=e||new n.V({})}addEventCallback(e,t,r){if("undefined"!==typeof window){const o=r||Tn();return this.eventCallbacks.has(o)?(this.logger.error("Event callback with id: ".concat(o," is already registered. Please provide a unique id or remove the existing callback and try again.")),null):(this.eventCallbacks.set(o,[e,t||[]]),this.logger.verbose("Event callback registered with id: ".concat(o)),o)}return null}removeEventCallback(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback ".concat(e," removed."))}emitEvent(e,t,r,o){if("undefined"!==typeof window){const n={eventType:e,interactionType:t||null,payload:r||null,error:o||null,timestamp:Date.now()};this.eventCallbacks.forEach(((t,r)=>{let[o,i]=t;(0===i.length||i.includes(e))&&(this.logger.verbose("Emitting event to callback ".concat(r,": ").concat(e)),o.apply(null,[n]))}))}}}class Ei extends c.lR{constructor(e,t,r,o,n){super(e,t,r),this.name="ServerError",this.errorNo=o,this.status=n,Object.setPrototypeOf(this,Ei.prototype)}}class Bi{static generateThrottlingStorageKey(e){return"".concat(i.Xw.THROTTLING_PREFIX,".").concat(JSON.stringify(e))}static preProcess(e,t){const r=Bi.generateThrottlingStorageKey(t),o=e.getThrottlingCache(r);if(o){var n;if(o.throttleTime<Date.now())return void e.removeItem(r);throw new Ei((null===(n=o.errorCodes)||void 0===n?void 0:n.join(" "))||i.YM.EMPTY_STRING,o.errorMessage,o.subError)}}static postProcess(e,t,r){if(Bi.checkResponseStatus(r)||Bi.checkResponseForRetryAfter(r)){const o={throttleTime:Bi.calculateThrottleTime(parseInt(r.headers[i.OK.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};e.setThrottlingCache(Bi.generateThrottlingStorageKey(t),o)}}static checkResponseStatus(e){return 429===e.status||e.status>=500&&e.status<600}static checkResponseForRetryAfter(e){return!!e.headers&&(e.headers.hasOwnProperty(i.OK.RETRY_AFTER)&&(e.status<200||e.status>=300))}static calculateThrottleTime(e){const t=e<=0?0:e,r=Date.now()/1e3;return Math.floor(1e3*Math.min(r+(t||i.Xw.DEFAULT_THROTTLE_TIME_SECONDS),r+i.Xw.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(e,t,r,o){const n={clientId:t,authority:r.authority,scopes:r.scopes,homeAccountIdentifier:o,claims:r.claims,authenticationScheme:r.authenticationScheme,resourceRequestMethod:r.resourceRequestMethod,resourceRequestUri:r.resourceRequestUri,shrClaims:r.shrClaims,sshKid:r.sshKid},i=this.generateThrottlingStorageKey(n);e.removeItem(i)}}const Ii="client_id",Ni="redirect_uri",Pi="response_type",Ri="token_type",Oi="req_cnf",ji="return_spa_code",zi="x-client-xtra-sku",Mi="brk_client_id",Li="brk_redirect_uri";class Di{static validateRedirectUri(e){if(!e)throw Ze(Te)}static validatePrompt(e){const t=[];for(const r in i._M)t.push(i._M[r]);if(t.indexOf(e)<0)throw Ze(Re)}static validateClaims(e){try{JSON.parse(e)}catch(t){throw Ze(Oe)}}static validateCodeChallengeParams(e,t){if(!e||!t)throw Ze(Le);this.validateCodeChallengeMethod(t)}static validateCodeChallengeMethod(e){if([i.iF.PLAIN,i.iF.S256].indexOf(e)<0)throw Ze(Me)}}class Fi{constructor(e,t){this.parameters=new Map,this.performanceClient=t,this.correlationId=e}addResponseTypeCode(){this.parameters.set(Pi,encodeURIComponent(i.YM.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(Pi,encodeURIComponent("".concat(i.YM.TOKEN_RESPONSE_TYPE," ").concat(i.YM.ID_TOKEN_RESPONSE_TYPE)))}addResponseMode(e){this.parameters.set("response_mode",encodeURIComponent(e||i.p.QUERY))}addNativeBroker(){this.parameters.set("nativebroker",encodeURIComponent("1"))}addScopes(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.aZ;!t||r.includes("openid")||e.includes("openid")||r.push("openid");const o=t?[...e||[],...r]:e||[],n=new $e(o);this.parameters.set("scope",encodeURIComponent(n.printScopes()))}addClientId(e){this.parameters.set(Ii,encodeURIComponent(e))}addRedirectUri(e){Di.validateRedirectUri(e),this.parameters.set(Ni,encodeURIComponent(e))}addPostLogoutRedirectUri(e){Di.validateRedirectUri(e),this.parameters.set("post_logout_redirect_uri",encodeURIComponent(e))}addIdTokenHint(e){this.parameters.set("id_token_hint",encodeURIComponent(e))}addDomainHint(e){this.parameters.set("domain_hint",encodeURIComponent(e))}addLoginHint(e){this.parameters.set("login_hint",encodeURIComponent(e))}addCcsUpn(e){this.parameters.set(i.OK.CCS_HEADER,encodeURIComponent("UPN:".concat(e)))}addCcsOid(e){this.parameters.set(i.OK.CCS_HEADER,encodeURIComponent("Oid:".concat(e.uid,"@").concat(e.utid)))}addSid(e){this.parameters.set("sid",encodeURIComponent(e))}addClaims(e,t){const r=this.addClientCapabilitiesToClaims(e,t);Di.validateClaims(r),this.parameters.set("claims",encodeURIComponent(r))}addCorrelationId(e){this.parameters.set("client-request-id",encodeURIComponent(e))}addLibraryInfo(e){this.parameters.set("x-client-SKU",e.sku),this.parameters.set("x-client-VER",e.version),e.os&&this.parameters.set("x-client-OS",e.os),e.cpu&&this.parameters.set("x-client-CPU",e.cpu)}addApplicationTelemetry(e){null!==e&&void 0!==e&&e.appName&&this.parameters.set("x-app-name",e.appName),null!==e&&void 0!==e&&e.appVersion&&this.parameters.set("x-app-ver",e.appVersion)}addPrompt(e){Di.validatePrompt(e),this.parameters.set("".concat("prompt"),encodeURIComponent(e))}addState(e){e&&this.parameters.set("state",encodeURIComponent(e))}addNonce(e){this.parameters.set("nonce",encodeURIComponent(e))}addCodeChallengeParams(e,t){if(Di.validateCodeChallengeParams(e,t),!e||!t)throw Ze(Le);this.parameters.set("code_challenge",encodeURIComponent(e)),this.parameters.set("code_challenge_method",encodeURIComponent(t))}addAuthorizationCode(e){this.parameters.set("code",encodeURIComponent(e))}addDeviceCode(e){this.parameters.set("device_code",encodeURIComponent(e))}addRefreshToken(e){this.parameters.set("refresh_token",encodeURIComponent(e))}addCodeVerifier(e){this.parameters.set("code_verifier",encodeURIComponent(e))}addClientSecret(e){this.parameters.set("client_secret",encodeURIComponent(e))}addClientAssertion(e){e&&this.parameters.set("client_assertion",encodeURIComponent(e))}addClientAssertionType(e){e&&this.parameters.set("client_assertion_type",encodeURIComponent(e))}addOboAssertion(e){this.parameters.set("assertion",encodeURIComponent(e))}addRequestTokenUse(e){this.parameters.set("requested_token_use",encodeURIComponent(e))}addGrantType(e){this.parameters.set("grant_type",encodeURIComponent(e))}addClientInfo(){this.parameters.set(i.JR,"1")}addExtraQueryParameters(e){Object.entries(e).forEach((e=>{let[t,r]=e;!this.parameters.has(t)&&r&&this.parameters.set(t,r)}))}addClientCapabilitiesToClaims(e,t){let r;if(e)try{r=JSON.parse(e)}catch(o){throw Ze(Oe)}else r={};return t&&t.length>0&&(r.hasOwnProperty(i.Fq.ACCESS_TOKEN)||(r[i.Fq.ACCESS_TOKEN]={}),r[i.Fq.ACCESS_TOKEN][i.Fq.XMS_CC]={values:t}),JSON.stringify(r)}addUsername(e){this.parameters.set(i.Tq.username,encodeURIComponent(e))}addPassword(e){this.parameters.set(i.Tq.password,encodeURIComponent(e))}addPopToken(e){e&&(this.parameters.set(Ri,i.IO.POP),this.parameters.set(Oi,encodeURIComponent(e)))}addSshJwk(e){e&&(this.parameters.set(Ri,i.IO.SSH),this.parameters.set(Oi,encodeURIComponent(e)))}addServerTelemetry(e){this.parameters.set("x-client-current-telemetry",e.generateCurrentRequestHeaderValue()),this.parameters.set("x-client-last-telemetry",e.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set("x-ms-lib-capability",i.Xw.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(e){this.parameters.set("logout_hint",encodeURIComponent(e))}addBrokerParameters(e){const t={};t[Mi]=e.brokerClientId,t[Li]=e.brokerRedirectUri,this.addExtraQueryParameters(t)}createQueryString(){const e=new Array;return this.parameters.forEach(((t,r)=>{e.push("".concat(r,"=").concat(t))})),function(e,t,r){if(!t)return;const o=e.get(Ii);o&&e.has(Mi)&&(null===r||void 0===r||r.addFields({embeddedClientId:o,embeddedRedirectUri:e.get(Ni)},t))}(this.parameters,this.correlationId,this.performanceClient),e.join("&")}}async function qi(e,t,r,o,n,i,a){null===a||void 0===a||a.addQueueMeasurement(Mr,i);const s=ii.transformCIAMAuthority(ai(e)),l=new ii(s,t,r,o,n,i,a);try{return await oi(l.resolveEndpointsAsync.bind(l),Lr,n,a,i)(),l}catch(c){throw re(p)}}class Hi{constructor(e,t){this.config=function(e){let{authOptions:t,systemOptions:r,loggerOptions:i,cacheOptions:a,storageInterface:s,networkInterface:l,cryptoInterface:c,clientCredentials:u,libraryInfo:d,telemetry:f,serverTelemetryManager:h,persistencePlugin:p,serializableCache:g}=e;const m=(0,o.A)((0,o.A)({},Bt),i);return{authOptions:(v=t,(0,o.A)({clientCapabilities:[],azureCloudOptions:Ot,skipAuthorityMetadataCache:!1,instanceAware:!1},v)),systemOptions:(0,o.A)((0,o.A)({},Et),r),loggerOptions:m,cacheOptions:(0,o.A)((0,o.A)({},It),a),storageInterface:s||new Tt(t.clientId,oe,new n.V(m)),networkInterface:l||Nt,cryptoInterface:c||oe,clientCredentials:u||Rt,libraryInfo:(0,o.A)((0,o.A)({},Pt),d),telemetry:(0,o.A)((0,o.A)({},jt),f),serverTelemetryManager:h||null,persistencePlugin:p||null,serializableCache:g||null};var v}(e),this.logger=new n.V(this.config.loggerOptions,ne,ie),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=t}createTokenRequestHeaders(e){const t={};if(t[i.OK.CONTENT_TYPE]=i.YM.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case bi:try{const r=tt(e.credential);t[i.OK.CCS_HEADER]="Oid:".concat(r.uid,"@").concat(r.utid)}catch(r){this.logger.verbose("Could not parse home account ID for CCS Header: "+r)}break;case yi:t[i.OK.CCS_HEADER]="UPN: ".concat(e.credential)}return t}async executePostToTokenEndpoint(e,t,r,o,n,i){var a;i&&(null===(a=this.performanceClient)||void 0===a||a.addQueueMeasurement(i,n));const s=await this.sendPostRequest(o,e,{body:t,headers:r},n);return this.config.serverTelemetryManager&&s.status<500&&429!==s.status&&this.config.serverTelemetryManager.clearTelemetryCache(),s}async sendPostRequest(e,t,r,o){let n;Bi.preProcess(this.cacheManager,e);try{var a,s;n=await oi(this.networkClient.sendPostRequestAsync.bind(this.networkClient),tr,this.logger,this.performanceClient,o)(t,r);const e=n.headers||{};null===(a=this.performanceClient)||void 0===a||a.addFields({refreshTokenSize:(null===(s=n.body.refresh_token)||void 0===s?void 0:s.length)||0,httpVerToken:e[i.OK.X_MS_HTTP_VERSION]||"",requestId:e[i.OK.X_MS_REQUEST_ID]||""},o)}catch(u){if(u instanceof uo){const e=u.responseHeaders;var l;if(e)null===(l=this.performanceClient)||void 0===l||l.addFields({httpVerToken:e[i.OK.X_MS_HTTP_VERSION]||"",requestId:e[i.OK.X_MS_REQUEST_ID]||"",contentTypeHeader:e[i.OK.CONTENT_TYPE]||void 0,contentLengthHeader:e[i.OK.CONTENT_LENGTH]||void 0,httpStatus:u.httpStatus},o);throw u.error}throw u instanceof c.lR?u:re(g)}return Bi.postProcess(this.cacheManager,e,n),n}async updateAuthority(e,t){var r;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Er,t);const o="https://".concat(e,"/").concat(this.authority.tenant,"/"),n=await qi(o,this.networkClient,this.cacheManager,this.authority.options,this.logger,t,this.performanceClient);this.authority=n}createTokenQueryParameters(e){const t=new Fi(e.correlationId,this.performanceClient);return e.embeddedClientId&&t.addBrokerParameters({brokerClientId:this.config.authOptions.clientId,brokerRedirectUri:this.config.authOptions.redirectUri}),e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.addCorrelationId(e.correlationId),t.createQueryString()}}const Ui="sw";class Wi{constructor(e,t){this.cryptoUtils=e,this.performanceClient=t}async generateCnf(e,t){var r;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Rr,e.correlationId);const o=await oi(this.generateKid.bind(this),Rr,t,this.performanceClient,e.correlationId)(e),n=this.cryptoUtils.base64UrlEncode(JSON.stringify(o));return{kid:o.kid,reqCnfString:n}}async generateKid(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Or,e.correlationId);return{kid:await this.cryptoUtils.getPublicKeyThumbprint(e),xms_ksl:Ui}}async signPopToken(e,t,r){return this.signPayload(e,t,r)}async signPayload(e,t,r,n){const{resourceRequestMethod:i,resourceRequestUri:a,shrClaims:s,shrNonce:l,shrOptions:c}=r,u=a?new mt(a):void 0,d=null===u||void 0===u?void 0:u.getUrlComponents();return this.cryptoUtils.signJwt((0,o.A)({at:e,ts:le(),m:null===i||void 0===i?void 0:i.toUpperCase(),u:null===d||void 0===d?void 0:d.HostNameAndPort,nonce:l||this.cryptoUtils.createNewGuid(),p:null===d||void 0===d?void 0:d.AbsolutePath,q:null!==d&&void 0!==d&&d.QueryString?[[],d.QueryString]:void 0,client_claims:s||void 0},n),t,c,r.correlationId)}}class Ki{constructor(e,t){this.cache=e,this.hasChanged=t}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}class Gi{constructor(e,t,r,o,n,i,a){this.clientId=e,this.cacheStorage=t,this.cryptoObj=r,this.logger=o,this.serializableCache=n,this.persistencePlugin=i,this.performanceClient=a}validateServerAuthorizationCodeResponse(e,t){if(!e.state||!t)throw e.state?re(w,"Cached State"):re(w,"Server State");let r,o;try{r=decodeURIComponent(e.state)}catch(n){throw re(b,e.state)}try{o=decodeURIComponent(t)}catch(n){throw re(b,e.state)}if(r!==o)throw re(y);if(e.error||e.error_description||e.suberror){const t=function(e){var t,r;const o="code=",n=null===(t=e.error_uri)||void 0===t?void 0:t.lastIndexOf(o);return n&&n>=0?null===(r=e.error_uri)||void 0===r?void 0:r.substring(n+5):void 0}(e);if(gi(e.error,e.error_description,e.suberror))throw new pi(e.error||"",e.error_description,e.suberror,e.timestamp||"",e.trace_id||"",e.correlation_id||"",e.claims||"",t);throw new Ei(e.error||"",e.error_description,e.suberror,t)}}validateTokenResponse(e,t){if(e.error||e.error_description||e.suberror){var r;const o="Error(s): ".concat(e.error_codes||i.YM.NOT_AVAILABLE," - Timestamp: ").concat(e.timestamp||i.YM.NOT_AVAILABLE," - Description: ").concat(e.error_description||i.YM.NOT_AVAILABLE," - Correlation ID: ").concat(e.correlation_id||i.YM.NOT_AVAILABLE," - Trace ID: ").concat(e.trace_id||i.YM.NOT_AVAILABLE),n=null!==(r=e.error_codes)&&void 0!==r&&r.length?e.error_codes[0]:void 0,a=new Ei(e.error,o,e.suberror,n,e.status);if(t&&e.status&&e.status>=i.t3.SERVER_ERROR_RANGE_START&&e.status<=i.t3.SERVER_ERROR_RANGE_END)return void this.logger.warning("executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n".concat(a));if(t&&e.status&&e.status>=i.t3.CLIENT_ERROR_RANGE_START&&e.status<=i.t3.CLIENT_ERROR_RANGE_END)return void this.logger.warning("executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n".concat(a));if(gi(e.error,e.error_description,e.suberror))throw new pi(e.error,e.error_description,e.suberror,e.timestamp||i.YM.EMPTY_STRING,e.trace_id||i.YM.EMPTY_STRING,e.correlation_id||i.YM.EMPTY_STRING,e.claims||i.YM.EMPTY_STRING,n);throw a}}async handleServerTokenResponse(e,t,r,o,n,a,s,l,c){var u;let d,f;if(null===(u=this.performanceClient)||void 0===u||u.addQueueMeasurement(jr,e.correlation_id),e.id_token){if(d=ae(e.id_token||i.YM.EMPTY_STRING,this.cryptoObj.base64Decode),n&&n.nonce&&d.nonce!==n.nonce)throw re(k);if(o.maxAge||0===o.maxAge){const e=d.auth_time;if(!e)throw re(x);se(e,o.maxAge)}}this.homeAccountIdentifier=ht.generateHomeAccountId(e.client_info||i.YM.EMPTY_STRING,t.authorityType,this.logger,this.cryptoObj,d),n&&n.state&&(f=vi.parseRequestState(this.cryptoObj,n.state)),e.key_id=e.key_id||o.sshKid||void 0;const h=this.generateCacheRecord(e,t,r,o,d,a,n);let p;try{if(this.persistencePlugin&&this.serializableCache&&(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),p=new Ki(this.serializableCache,!0),await this.persistencePlugin.beforeCacheAccess(p)),s&&!l&&h.account){const e=h.account.generateAccountKey();if(!this.cacheStorage.getAccount(e,this.logger))return this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),await Gi.generateAuthenticationResult(this.cryptoObj,t,h,!1,o,d,f,void 0,c)}await this.cacheStorage.saveCacheRecord(h,o.storeInCache,o.correlationId)}finally{this.persistencePlugin&&this.serializableCache&&p&&(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),await this.persistencePlugin.afterCacheAccess(p))}return Gi.generateAuthenticationResult(this.cryptoObj,t,h,!1,o,d,f,e,c)}generateCacheRecord(e,t,r,o,n,i,a){const s=t.getPreferredCache();if(!s)throw re(z);const l=ft(n);let c,u;e.id_token&&n&&(c=de(this.homeAccountIdentifier,s,e.id_token,this.clientId,l||""),u=Vi(this.cacheStorage,t,this.homeAccountIdentifier,this.cryptoObj.base64Decode,n,e.client_info,s,l,a,void 0,this.logger));let d=null;if(e.access_token){const n=e.scope?$e.fromString(e.scope):new $e(o.scopes||[]),a=("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,c=("string"===typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,u=("string"===typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,f=r+a,h=f+c,p=u&&u>0?r+u:void 0;d=fe(this.homeAccountIdentifier,s,e.access_token,this.clientId,l||t.tenant||"",n.printScopes(),f,h,this.cryptoObj.base64Decode,p,e.token_type,i,e.key_id,o.claims,o.requestedClaimsHash)}let f=null;if(e.refresh_token){let t;if(e.refresh_token_expires_in){t=r+("string"===typeof e.refresh_token_expires_in?parseInt(e.refresh_token_expires_in,10):e.refresh_token_expires_in)}f=he(this.homeAccountIdentifier,s,e.refresh_token,this.clientId,e.foci,i,t)}let h=null;return e.foci&&(h={clientId:this.clientId,environment:s,familyId:e.foci}),{account:u,idToken:c,accessToken:d,refreshToken:f,appMetadata:h}}static async generateAuthenticationResult(e,t,r,o,n,a,s,l,c){var u,d,f,h,p;let g,m,v=i.YM.EMPTY_STRING,b=[],y=null,w=i.YM.EMPTY_STRING;if(r.accessToken){if(r.accessToken.tokenType!==i.IO.POP||n.popKid)v=r.accessToken.secret;else{const t=new Wi(e),{secret:o,keyId:i}=r.accessToken;if(!i)throw re(Y);v=await t.signPopToken(o,i,n)}b=$e.fromString(r.accessToken.target).asArray(),y=new Date(1e3*Number(r.accessToken.expiresOn)),g=new Date(1e3*Number(r.accessToken.extendedExpiresOn)),r.accessToken.refreshOn&&(m=new Date(1e3*Number(r.accessToken.refreshOn)))}r.appMetadata&&(w=r.appMetadata.familyId===i.hB?i.hB:"");const k=(null===a||void 0===a?void 0:a.oid)||(null===a||void 0===a?void 0:a.sub)||"",x=(null===a||void 0===a?void 0:a.tid)||"";null!==l&&void 0!==l&&l.spa_accountid&&r.account&&(r.account.nativeAccountId=null===l||void 0===l?void 0:l.spa_accountid);const C=r.account?st(r.account.getAccountInfo(),void 0,a,null===(u=r.idToken)||void 0===u?void 0:u.secret):null;return{authority:t.canonicalAuthority,uniqueId:k,tenantId:x,scopes:b,account:C,idToken:(null===r||void 0===r||null===(d=r.idToken)||void 0===d?void 0:d.secret)||"",idTokenClaims:a||{},accessToken:v,fromCache:o,expiresOn:y,extExpiresOn:g,refreshOn:m,correlationId:n.correlationId,requestId:c||i.YM.EMPTY_STRING,familyId:w,tokenType:(null===(f=r.accessToken)||void 0===f?void 0:f.tokenType)||i.YM.EMPTY_STRING,state:s?s.userRequestState:i.YM.EMPTY_STRING,cloudGraphHostName:(null===(h=r.account)||void 0===h?void 0:h.cloudGraphHostName)||i.YM.EMPTY_STRING,msGraphHost:(null===(p=r.account)||void 0===p?void 0:p.msGraphHost)||i.YM.EMPTY_STRING,code:null===l||void 0===l?void 0:l.spa_code,fromNativeBroker:!1}}}function Vi(e,t,r,o,n,i,a,s,l,c,u){null===u||void 0===u||u.verbose("setCachedAccount called");const d=e.getAccountKeys().find((e=>e.startsWith(r)));let f=null;d&&(f=e.getAccount(d,u));const h=f||ht.createAccount({homeAccountId:r,idTokenClaims:n,clientInfo:i,environment:a,cloudGraphHostName:null===l||void 0===l?void 0:l.cloud_graph_host_name,msGraphHost:null===l||void 0===l?void 0:l.msgraph_host,nativeAccountId:c},t,o),p=h.tenantProfiles||[],g=s||h.realm;if(g&&!p.find((e=>e.tenantId===g))){const e=at(r,h.localAccountId,g,n);p.push(e)}return h.tenantProfiles=p,h}async function Yi(e,t,r){if("string"===typeof e)return e;return e({clientId:t,tokenEndpoint:r})}class Xi extends Hi{constructor(e,t){var r;super(e,t),this.includeRedirectUri=!0,this.oidcDefaultScopes=null===(r=this.config.authOptions.authority.options.OIDCOptions)||void 0===r?void 0:r.defaultScopes}async getAuthCodeUrl(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_r,e.correlationId);const r=await oi(this.createAuthCodeUrlQueryString.bind(this),Pr,this.logger,this.performanceClient,e.correlationId)(e);return mt.appendQueryString(this.authority.authorizationEndpoint,r)}async acquireToken(e,t){var r,o;if(null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Br,e.correlationId),!e.code)throw re(T);const n=le(),a=await oi(this.executeTokenRequest.bind(this),Ir,this.logger,this.performanceClient,e.correlationId)(this.authority,e),s=null===(o=a.headers)||void 0===o?void 0:o[i.OK.X_MS_REQUEST_ID],l=new Gi(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient);return l.validateTokenResponse(a.body),oi(l.handleServerTokenResponse.bind(l),jr,this.logger,this.performanceClient,e.correlationId)(a.body,this.authority,n,e,t,void 0,void 0,void 0,s)}handleFragmentResponse(e,t){if(new Gi(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(e,t),!e.code)throw re(K);return e}getLogoutUri(e){if(!e)throw Ze(ze);const t=this.createLogoutUrlQueryString(e);return mt.appendQueryString(this.authority.endSessionEndpoint,t)}async executeTokenRequest(e,t){var r,o;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(Ir,t.correlationId);const n=this.createTokenQueryParameters(t),a=mt.appendQueryString(e.tokenEndpoint,n),s=await oi(this.createTokenRequestBody.bind(this),Nr,this.logger,this.performanceClient,t.correlationId)(t);let l;if(t.clientInfo)try{const e=et(t.clientInfo,this.cryptoUtils.base64Decode);l={credential:"".concat(e.uid).concat(i.LR.CLIENT_INFO_SEPARATOR).concat(e.utid),type:bi}}catch(d){this.logger.verbose("Could not parse client info for CCS Header: "+d)}const c=this.createTokenRequestHeaders(l||t.ccsCredential),u={clientId:(null===(o=t.tokenBodyParameters)||void 0===o?void 0:o.clientId)||this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid};return oi(this.executePostToTokenEndpoint.bind(this),or,this.logger,this.performanceClient,t.correlationId)(a,s,c,u,t.correlationId,or)}async createTokenRequestBody(e){var t,r;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Nr,e.correlationId);const o=new Fi(e.correlationId,this.performanceClient);if(o.addClientId(e.embeddedClientId||(null===(r=e.tokenBodyParameters)||void 0===r?void 0:r[Ii])||this.config.authOptions.clientId),this.includeRedirectUri?o.addRedirectUri(e.redirectUri):Di.validateRedirectUri(e.redirectUri),o.addScopes(e.scopes,!0,this.oidcDefaultScopes),o.addAuthorizationCode(e.code),o.addLibraryInfo(this.config.libraryInfo),o.addApplicationTelemetry(this.config.telemetry.application),o.addThrottling(),this.serverTelemetryManager&&!zt(this.config)&&o.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&o.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&o.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){const t=this.config.clientCredentials.clientAssertion;o.addClientAssertion(await Yi(t.assertion,this.config.authOptions.clientId,e.resourceRequestUri)),o.addClientAssertionType(t.assertionType)}if(o.addGrantType(i.$x.AUTHORIZATION_CODE_GRANT),o.addClientInfo(),e.authenticationScheme===i.IO.POP){const t=new Wi(this.cryptoUtils,this.performanceClient);let r;if(e.popKid)r=this.cryptoUtils.encodeKid(e.popKid);else{r=(await oi(t.generateCnf.bind(t),Rr,this.logger,this.performanceClient,e.correlationId)(e,this.logger)).reqCnfString}o.addPopToken(r)}else if(e.authenticationScheme===i.IO.SSH){if(!e.sshJwk)throw Ze(He);o.addSshJwk(e.sshJwk)}let n;if((!Je.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&o.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.clientInfo)try{const t=et(e.clientInfo,this.cryptoUtils.base64Decode);n={credential:"".concat(t.uid).concat(i.LR.CLIENT_INFO_SEPARATOR).concat(t.utid),type:bi}}catch(a){this.logger.verbose("Could not parse client info for CCS Header: "+a)}else n=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&n)switch(n.type){case bi:try{const e=tt(n.credential);o.addCcsOid(e)}catch(a){this.logger.verbose("Could not parse home account ID for CCS Header: "+a)}break;case yi:o.addCcsUpn(n.credential)}return e.embeddedClientId&&o.addBrokerParameters({brokerClientId:this.config.authOptions.clientId,brokerRedirectUri:this.config.authOptions.redirectUri}),e.tokenBodyParameters&&o.addExtraQueryParameters(e.tokenBodyParameters),!e.enableSpaAuthorizationCode||e.tokenBodyParameters&&e.tokenBodyParameters[ji]||o.addExtraQueryParameters({[ji]:"1"}),o.createQueryString()}async createAuthCodeUrlQueryString(e){var t,r;const o=e.correlationId||this.config.cryptoInterface.createNewGuid();null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(Pr,o);const n=new Fi(o,this.performanceClient);n.addClientId(e.embeddedClientId||(null===(r=e.extraQueryParameters)||void 0===r?void 0:r[Ii])||this.config.authOptions.clientId);const a=[...e.scopes||[],...e.extraScopesToConsent||[]];if(n.addScopes(a,!0,this.oidcDefaultScopes),n.addRedirectUri(e.redirectUri),n.addCorrelationId(o),n.addResponseMode(e.responseMode),n.addResponseTypeCode(),n.addLibraryInfo(this.config.libraryInfo),zt(this.config)||n.addApplicationTelemetry(this.config.telemetry.application),n.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&n.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&n.addPrompt(e.prompt),e.domainHint&&n.addDomainHint(e.domainHint),e.prompt!==i._M.SELECT_ACCOUNT)if(e.sid&&e.prompt===i._M.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),n.addSid(e.sid);else if(e.account){const t=this.extractAccountSid(e.account);let r=this.extractLoginHint(e.account);if(r&&e.domainHint&&(this.logger.warning('AuthorizationCodeClient.createAuthCodeUrlQueryString: "domainHint" param is set, skipping opaque "login_hint" claim. Please consider not passing domainHint'),r=null),r){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),n.addLoginHint(r);try{const t=tt(e.account.homeAccountId);n.addCcsOid(t)}catch(s){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(t&&e.prompt===i._M.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),n.addSid(t);try{const t=tt(e.account.homeAccountId);n.addCcsOid(t)}catch(s){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),n.addLoginHint(e.account.username);try{const t=tt(e.account.homeAccountId);n.addCcsOid(t)}catch(s){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(e.nonce&&n.addNonce(e.nonce),e.state&&n.addState(e.state),(e.claims||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&n.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.embeddedClientId&&n.addBrokerParameters({brokerClientId:this.config.authOptions.clientId,brokerRedirectUri:this.config.authOptions.redirectUri}),this.addExtraQueryParams(e,n),e.nativeBroker&&(n.addNativeBroker(),e.authenticationScheme===i.IO.POP)){const t=new Wi(this.cryptoUtils);let r;if(e.popKid)r=this.cryptoUtils.encodeKid(e.popKid);else{r=(await oi(t.generateCnf.bind(t),Rr,this.logger,this.performanceClient,e.correlationId)(e,this.logger)).reqCnfString}n.addPopToken(r)}return n.createQueryString()}createLogoutUrlQueryString(e){const t=new Fi(e.correlationId,this.performanceClient);return e.postLogoutRedirectUri&&t.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&t.addCorrelationId(e.correlationId),e.idTokenHint&&t.addIdTokenHint(e.idTokenHint),e.state&&t.addState(e.state),e.logoutHint&&t.addLogoutHint(e.logoutHint),this.addExtraQueryParams(e,t),t.createQueryString()}addExtraQueryParams(e,t){!(e.extraQueryParameters&&e.extraQueryParameters.hasOwnProperty("instance_aware"))&&this.config.authOptions.instanceAware&&(e.extraQueryParameters=e.extraQueryParameters||{},e.extraQueryParameters.instance_aware="true"),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters)}extractAccountSid(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.sid)||null}extractLoginHint(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.login_hint)||null}}function Qi(e){const{skus:t,libraryName:r,libraryVersion:o,extensionName:n,extensionVersion:i}=e,a=new Map([[0,[r,o]],[2,[n,i]]]);let s=[];if(null!==t&&void 0!==t&&t.length){if(s=t.split(","),s.length<4)return t}else s=Array.from({length:4},(()=>"|"));return a.forEach(((e,t)=>{var r,o;2===e.length&&null!==(r=e[0])&&void 0!==r&&r.length&&null!==(o=e[1])&&void 0!==o&&o.length&&function(e){const{skuArr:t,index:r,skuName:o,skuVersion:n}=e;if(r>=t.length)return;t[r]=[o,n].join("|")}({skuArr:s,index:t,skuName:e[0],skuVersion:e[1]})})),s.join(",")}class Zi{constructor(e,t){this.cacheOutcome=i.Rv.NOT_APPLICABLE,this.cacheManager=t,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||i.YM.EMPTY_STRING,this.wrapperVer=e.wrapperVer||i.YM.EMPTY_STRING,this.telemetryCacheKey=i.gT.CACHE_KEY+i.LR.CACHE_KEY_SEPARATOR+e.clientId}generateCurrentRequestHeaderValue(){const e="".concat(this.apiId).concat(i.gT.VALUE_SEPARATOR).concat(this.cacheOutcome),t=[this.wrapperSKU,this.wrapperVer],r=this.getNativeBrokerErrorCode();null!==r&&void 0!==r&&r.length&&t.push("broker_error=".concat(r));const o=t.join(i.gT.VALUE_SEPARATOR),n=[e,this.getRegionDiscoveryFields()].join(i.gT.VALUE_SEPARATOR);return[i.gT.SCHEMA_VERSION,n,o].join(i.gT.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const e=this.getLastRequests(),t=Zi.maxErrorsToSend(e),r=e.failedRequests.slice(0,2*t).join(i.gT.VALUE_SEPARATOR),o=e.errors.slice(0,t).join(i.gT.VALUE_SEPARATOR),n=e.errors.length,a=[n,t<n?i.gT.OVERFLOW_TRUE:i.gT.OVERFLOW_FALSE].join(i.gT.VALUE_SEPARATOR);return[i.gT.SCHEMA_VERSION,e.cacheHits,r,o,a].join(i.gT.CATEGORY_SEPARATOR)}cacheFailedRequest(e){const t=this.getLastRequests();t.errors.length>=i.gT.MAX_CACHED_ERRORS&&(t.failedRequests.shift(),t.failedRequests.shift(),t.errors.shift()),t.failedRequests.push(this.apiId,this.correlationId),e instanceof Error&&e&&e.toString()?e instanceof c.lR?e.subError?t.errors.push(e.subError):e.errorCode?t.errors.push(e.errorCode):t.errors.push(e.toString()):t.errors.push(e.toString()):t.errors.push(i.gT.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)}incrementCacheHits(){const e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const e=this.getLastRequests(),t=Zi.maxErrorsToSend(e);if(t===e.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const r={failedRequests:e.failedRequests.slice(2*t),errors:e.errors.slice(t),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}}static maxErrorsToSend(e){let t,r=0,o=0;const n=e.errors.length;for(t=0;t<n;t++){const n=e.failedRequests[2*t]||i.YM.EMPTY_STRING,a=e.failedRequests[2*t+1]||i.YM.EMPTY_STRING,s=e.errors[t]||i.YM.EMPTY_STRING;if(o+=n.toString().length+a.toString().length+s.length+3,!(o<i.gT.MAX_LAST_HEADER_BYTES))break;r+=1}return r}getRegionDiscoveryFields(){const e=[];return e.push(this.regionUsed||i.YM.EMPTY_STRING),e.push(this.regionSource||i.YM.EMPTY_STRING),e.push(this.regionOutcome||i.YM.EMPTY_STRING),e.join(",")}updateRegionDiscoveryMetadata(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome}setCacheOutcome(e){this.cacheOutcome=e}setNativeBrokerErrorCode(e){const t=this.getLastRequests();t.nativeBrokerErrorCode=e,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)}getNativeBrokerErrorCode(){return this.getLastRequests().nativeBrokerErrorCode}clearNativeBrokerErrorCode(){const e=this.getLastRequests();delete e.nativeBrokerErrorCode,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e)}static makeExtraSkuString(e){return Qi(e)}}class Ji{constructor(e,t,r,o,n,i,a,s,l){this.config=e,this.browserStorage=t,this.browserCrypto=r,this.networkClient=this.config.system.networkClient,this.eventHandler=n,this.navigationClient=i,this.nativeMessageHandler=s,this.correlationId=l||Tn(),this.logger=o.clone(lo.Q1.MSAL_SKU,qn,this.correlationId),this.performanceClient=a}async clearCacheOnLogout(e){if(e){ht.accountInfoIsEqual(e,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null));try{await this.browserStorage.removeAccount(ht.generateAccountCacheKey(e)),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.")}catch(t){this.logger.error("Account provided in logout request was not found. Local cache unchanged.")}}else try{this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),await this.browserStorage.clear(),await this.browserCrypto.clearKeystore()}catch(r){this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged.")}}getRedirectUri(e){this.logger.verbose("getRedirectUri called");const t=e||this.config.auth.redirectUri;return mt.getAbsoluteUrl(t,Rn())}initializeServerTelemetryManager(e,t){this.logger.verbose("initializeServerTelemetryManager called");const r={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:e,forceRefresh:t||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new Zi(r,this.browserStorage)}async getDiscoveredAuthority(e){const{account:t}=e,r=e.requestExtraQueryParameters&&e.requestExtraQueryParameters.hasOwnProperty("instance_aware")?e.requestExtraQueryParameters.instance_aware:void 0;this.performanceClient.addQueueMeasurement(Jt,this.correlationId);const o={protocolMode:this.config.auth.protocolMode,OIDCOptions:this.config.auth.OIDCOptions,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},n=e.requestAuthority||this.config.auth.authority,i=null!==r&&void 0!==r&&r.length?"true"===r:this.config.auth.instanceAware,a=t&&i?this.config.auth.authority.replace(mt.getDomainFromUrl(n),t.environment):n,s=ii.generateAuthority(a,e.requestAzureCloudOptions||this.config.auth.azureCloudOptions),l=await oi(qi,Mr,this.logger,this.performanceClient,this.correlationId)(s,this.config.system.networkClient,this.browserStorage,o,this.logger,this.correlationId,this.performanceClient);if(t&&!l.isAlias(t.environment))throw Ze(Ye);return l}}async function $i(e,t,r){e.addQueueMeasurement(eo,r);const o=ri(ea,to,t,e,r)(e,t,r);return{verifier:o,challenge:await oi(ta,ro,t,e,r)(o,e,t,r)}}function ea(e,t,r){try{const o=new Uint8Array(32);ri(_n,no,t,e,r)(o);return mn(o)}catch(o){throw dn(ho)}}async function ta(e,t,r,o){t.addQueueMeasurement(ro,o);try{const n=await oi(Sn,oo,r,t,o)(e,t,o);return mn(new Uint8Array(n))}catch(n){throw dn(ho)}}async function ra(e,t,r,n){r.addQueueMeasurement(hr,e.correlationId);const a=e.authority||t.auth.authority,s=[...e&&e.scopes||[]],l=(0,o.A)((0,o.A)({},e),{},{correlationId:e.correlationId,authority:a,scopes:s});if(l.authenticationScheme){if(l.authenticationScheme===i.IO.SSH){if(!e.sshJwk)throw Ze(He);if(!e.sshKid)throw Ze(Ue)}n.verbose('Authentication Scheme set to "'.concat(l.authenticationScheme,'" as configured in Auth request'))}else l.authenticationScheme=i.IO.BEARER,n.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');return t.cache.claimsBasedCachingEnabled&&e.claims&&!Je.isEmptyObj(e.claims)&&(l.requestedClaimsHash=await Bn(e.claims)),l}async function oa(e,t,r,n,i){n.addQueueMeasurement(pr,e.correlationId);const a=await oi(ra,hr,i,n,e.correlationId)(e,r,n,i);return(0,o.A)((0,o.A)((0,o.A)({},e),a),{},{account:t,forceRefresh:e.forceRefresh||!1})}class na extends Ji{async initializeAuthorizationCodeRequest(e){this.performanceClient.addQueueMeasurement(Sr,this.correlationId);const t=await oi($i,eo,this.logger,this.performanceClient,this.correlationId)(this.performanceClient,this.logger,this.correlationId),r=(0,o.A)((0,o.A)({},e),{},{redirectUri:e.redirectUri,code:i.YM.EMPTY_STRING,codeVerifier:t.verifier});return e.codeChallenge=t.challenge,e.codeChallengeMethod=i.YM.S256_CODE_CHALLENGE_METHOD,r}initializeLogoutRequest(e){this.logger.verbose("initializeLogoutRequest called",null===e||void 0===e?void 0:e.correlationId);const t=(0,o.A)({correlationId:this.correlationId||Tn()},e);if(e)if(e.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(e.account){const r=this.getLogoutHintFromIdTokenClaims(e.account);r&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),t.logoutHint=r)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",t.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",t.correlationId),t.postLogoutRedirectUri=mt.getAbsoluteUrl(e.postLogoutRedirectUri,Rn())):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",t.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",t.correlationId),t.postLogoutRedirectUri=mt.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Rn())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",t.correlationId),t.postLogoutRedirectUri=mt.getAbsoluteUrl(Rn(),Rn())),t}getLogoutHintFromIdTokenClaims(e){const t=e.idTokenClaims;if(t){if(t.login_hint)return t.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null}async createAuthCodeClient(e){this.performanceClient.addQueueMeasurement(kr,this.correlationId);const t=await oi(this.getClientConfiguration.bind(this),xr,this.logger,this.performanceClient,this.correlationId)(e);return new Xi(t,this.performanceClient)}async getClientConfiguration(e){const{serverTelemetryManager:t,requestAuthority:r,requestAzureCloudOptions:o,requestExtraQueryParameters:n,account:a}=e;this.performanceClient.addQueueMeasurement(xr,this.correlationId);const s=await oi(this.getDiscoveredAuthority.bind(this),Jt,this.logger,this.performanceClient,this.correlationId)({requestAuthority:r,requestAzureCloudOptions:o,requestExtraQueryParameters:n,account:a}),l=this.config.system.loggerOptions;return{authOptions:{clientId:this.config.auth.clientId,authority:s,clientCapabilities:this.config.auth.clientCapabilities,redirectUri:this.config.auth.redirectUri},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:l.loggerCallback,piiLoggingEnabled:l.piiLoggingEnabled,logLevel:l.logLevel,correlationId:this.correlationId},cacheOptions:{claimsBasedCachingEnabled:this.config.cache.claimsBasedCachingEnabled},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:t,libraryInfo:{sku:lo.Q1.MSAL_SKU,version:qn,cpu:i.YM.EMPTY_STRING,os:i.YM.EMPTY_STRING},telemetry:this.config.telemetry}}async initializeAuthorizationRequest(e,t){this.performanceClient.addQueueMeasurement(Cr,this.correlationId);const r=this.getRedirectUri(e.redirectUri),n={interactionType:t},a=vi.setRequestState(this.browserCrypto,e&&e.state||i.YM.EMPTY_STRING,n),s=await oi(ra,hr,this.logger,this.performanceClient,this.correlationId)((0,o.A)((0,o.A)({},e),{},{correlationId:this.correlationId}),this.config,this.performanceClient,this.logger),l=(0,o.A)((0,o.A)({},s),{},{redirectUri:r,state:a,nonce:e.nonce||Tn(),responseMode:this.config.auth.OIDCOptions.serverResponseType});if(e.loginHint||e.sid)return l;const c=e.account||this.browserStorage.getActiveAccount();if(c&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: ".concat(c.homeAccountId),this.correlationId),l.account=c),!l.loginHint&&!c){const e=this.browserStorage.getLegacyLoginHint();e&&(l.loginHint=e)}return l}}function ia(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var aa=r(8335);const sa="user_switch",la={[sa]:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."};class ca extends c.lR{constructor(e,t,r){super(e,t),Object.setPrototypeOf(this,ca.prototype),this.name="NativeAuthError",this.ext=r}}function ua(e){return!(!e.ext||!e.ext.status||"PERSISTENT_ERROR"!==e.ext.status&&"DISABLED"!==e.ext.status)||(!(!e.ext||!e.ext.error||-2147186943!==e.ext.error)||"ContentError"===e.errorCode)}function da(e,t,r){if(r&&r.status)switch(r.status){case"ACCOUNT_UNAVAILABLE":return mi(li);case"USER_INTERACTION_REQUIRED":return new pi(e,t);case"USER_CANCEL":return dn(So);case"NO_NETWORK":return dn(qo)}return new ca(e,la[e]||t,r)}class fa extends Hi{constructor(e,t){super(e,t)}async acquireToken(e){var t,r;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(ir,e.correlationId);const o=le(),n=await oi(this.executeTokenRequest.bind(this),nr,this.logger,this.performanceClient,e.correlationId)(e,this.authority),a=null===(r=n.headers)||void 0===r?void 0:r[i.OK.X_MS_REQUEST_ID],s=new Gi(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin);return s.validateTokenResponse(n.body),oi(s.handleServerTokenResponse.bind(s),jr,this.logger,this.performanceClient,e.correlationId)(n.body,this.authority,o,e,void 0,void 0,!0,e.forceCache,a)}async acquireTokenByRefreshToken(e){var t;if(!e)throw Ze(je);if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(sr,e.correlationId),!e.account)throw re(O);if(this.cacheManager.isAppMetadataFOCI(e.account.environment))try{return await oi(this.acquireTokenWithCachedRefreshToken.bind(this),ar,this.logger,this.performanceClient,e.correlationId)(e,!0)}catch(r){const t=r instanceof pi&&r.errorCode===si,o=r instanceof Ei&&r.errorCode===i.I.INVALID_GRANT_ERROR&&r.subError===i.I.CLIENT_MISMATCH_ERROR;if(t||o)return oi(this.acquireTokenWithCachedRefreshToken.bind(this),ar,this.logger,this.performanceClient,e.correlationId)(e,!1);throw r}return oi(this.acquireTokenWithCachedRefreshToken.bind(this),ar,this.logger,this.performanceClient,e.correlationId)(e,!1)}async acquireTokenWithCachedRefreshToken(e,t){var r;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(ar,e.correlationId);const n=ri(this.cacheManager.getRefreshToken.bind(this.cacheManager),$r,this.logger,this.performanceClient,e.correlationId)(e.account,t,void 0,this.performanceClient,e.correlationId);if(!n)throw mi(si);if(n.expiresOn&&ce(n.expiresOn,e.refreshTokenExpirationOffsetSeconds||300))throw mi(ci);const a=(0,o.A)((0,o.A)({},e),{},{refreshToken:n.secret,authenticationScheme:e.authenticationScheme||i.IO.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:bi}});try{return await oi(this.acquireToken.bind(this),ir,this.logger,this.performanceClient,e.correlationId)(a)}catch(s){if(s instanceof pi&&s.subError===ui){this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");const e=ue(n);this.cacheManager.removeRefreshToken(e)}throw s}}async executeTokenRequest(e,t){var r,o;null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(nr,e.correlationId);const n=this.createTokenQueryParameters(e),i=mt.appendQueryString(t.tokenEndpoint,n),a=await oi(this.createTokenRequestBody.bind(this),lr,this.logger,this.performanceClient,e.correlationId)(e),s=this.createTokenRequestHeaders(e.ccsCredential),l={clientId:(null===(o=e.tokenBodyParameters)||void 0===o?void 0:o.clientId)||this.config.authOptions.clientId,authority:t.canonicalAuthority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid};return oi(this.executePostToTokenEndpoint.bind(this),rr,this.logger,this.performanceClient,e.correlationId)(i,a,s,l,e.correlationId,rr)}async createTokenRequestBody(e){var t,r,o;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(lr,e.correlationId);const n=e.correlationId,a=new Fi(n,this.performanceClient);if(a.addClientId(e.embeddedClientId||(null===(r=e.tokenBodyParameters)||void 0===r?void 0:r[Ii])||this.config.authOptions.clientId),e.redirectUri&&a.addRedirectUri(e.redirectUri),a.addScopes(e.scopes,!0,null===(o=this.config.authOptions.authority.options.OIDCOptions)||void 0===o?void 0:o.defaultScopes),a.addGrantType(i.$x.REFRESH_TOKEN_GRANT),a.addClientInfo(),a.addLibraryInfo(this.config.libraryInfo),a.addApplicationTelemetry(this.config.telemetry.application),a.addThrottling(),this.serverTelemetryManager&&!zt(this.config)&&a.addServerTelemetry(this.serverTelemetryManager),a.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&a.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){const t=this.config.clientCredentials.clientAssertion;a.addClientAssertion(await Yi(t.assertion,this.config.authOptions.clientId,e.resourceRequestUri)),a.addClientAssertionType(t.assertionType)}if(e.authenticationScheme===i.IO.POP){const t=new Wi(this.cryptoUtils,this.performanceClient);let r;if(e.popKid)r=this.cryptoUtils.encodeKid(e.popKid);else{r=(await oi(t.generateCnf.bind(t),Rr,this.logger,this.performanceClient,e.correlationId)(e,this.logger)).reqCnfString}a.addPopToken(r)}else if(e.authenticationScheme===i.IO.SSH){if(!e.sshJwk)throw Ze(He);a.addSshJwk(e.sshJwk)}if((!Je.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&a.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case bi:try{const t=tt(e.ccsCredential.credential);a.addCcsOid(t)}catch(s){this.logger.verbose("Could not parse home account ID for CCS Header: "+s)}break;case yi:a.addCcsUpn(e.ccsCredential.credential)}return e.embeddedClientId&&a.addBrokerParameters({brokerClientId:this.config.authOptions.clientId,brokerRedirectUri:this.config.authOptions.redirectUri}),e.tokenBodyParameters&&a.addExtraQueryParameters(e.tokenBodyParameters),a.createQueryString()}}class ha extends Hi{constructor(e,t){super(e,t)}async acquireToken(e){try{var t;const[r,n]=await this.acquireCachedToken((0,o.A)((0,o.A)({},e),{},{scopes:null!==(t=e.scopes)&&void 0!==t&&t.length?e.scopes:[...i.aZ]}));if(n===i.Rv.PROACTIVELY_REFRESHED){this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed.");new fa(this.config,this.performanceClient).acquireTokenByRefreshToken(e).catch((()=>{}))}return r}catch(r){if(r instanceof te&&r.errorCode===H){return new fa(this.config,this.performanceClient).acquireTokenByRefreshToken(e)}throw r}}async acquireCachedToken(e){var t;null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(ur,e.correlationId);let r=i.Rv.NOT_APPLICABLE;if(e.forceRefresh||!this.config.cacheOptions.claimsBasedCachingEnabled&&!Je.isEmptyObj(e.claims))throw this.setCacheOutcome(i.Rv.FORCE_REFRESH_OR_CLAIMS,e.correlationId),re(H);if(!e.account)throw re(O);const o=e.account.tenantId||function(e){var t;const r=null===(t=new mt(e).getUrlComponents().PathSegments.slice(-1)[0])||void 0===t?void 0:t.toLowerCase();switch(r){case i.v2.COMMON:case i.v2.ORGANIZATIONS:case i.v2.CONSUMERS:return;default:return r}}(e.authority),n=this.cacheManager.getTokenKeys(),a=this.cacheManager.getAccessToken(e.account,e,n,o,this.performanceClient,e.correlationId);if(!a)throw this.setCacheOutcome(i.Rv.NO_CACHED_ACCESS_TOKEN,e.correlationId),re(H);if(s=a.cachedAt,Number(s)>le()||ce(a.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw this.setCacheOutcome(i.Rv.CACHED_ACCESS_TOKEN_EXPIRED,e.correlationId),re(H);var s;a.refreshOn&&ce(a.refreshOn,0)&&(r=i.Rv.PROACTIVELY_REFRESHED);const l=e.authority||this.authority.getPreferredCache(),c={account:this.cacheManager.readAccountFromCache(e.account),accessToken:a,idToken:this.cacheManager.getIdToken(e.account,n,o,this.performanceClient,e.correlationId),refreshToken:null,appMetadata:this.cacheManager.readAppMetadataFromCache(l)};return this.setCacheOutcome(r,e.correlationId),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[await oi(this.generateResultFromCacheRecord.bind(this),dr,this.logger,this.performanceClient,e.correlationId)(c,e),r]}setCacheOutcome(e,t){var r,o;null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(e),null===(o=this.performanceClient)||void 0===o||o.addFields({cacheOutcome:e},t),e!==i.Rv.NOT_APPLICABLE&&this.logger.info("Token refresh is required due to cache outcome: ".concat(e))}async generateResultFromCacheRecord(e,t){var r;let o;if(null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(dr,t.correlationId),e.idToken&&(o=ae(e.idToken.secret,this.config.cryptoInterface.base64Decode)),t.maxAge||0===t.maxAge){var n;const e=null===(n=o)||void 0===n?void 0:n.auth_time;if(!e)throw re(x);se(e,t.maxAge)}return Gi.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,t,o)}}class pa extends na{async acquireToken(e){this.performanceClient.addQueueMeasurement(Vt,e.correlationId);const t=this.initializeServerTelemetryManager(lo.sA.acquireTokenSilent_silentFlow),r=await oi(this.getClientConfiguration.bind(this),xr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t,requestAuthority:e.authority,requestAzureCloudOptions:e.azureCloudOptions,account:e.account}),o=new ha(r,this.performanceClient);this.logger.verbose("Silent auth client created");try{const t=(await oi(o.acquireCachedToken.bind(o),ur,this.logger,this.performanceClient,e.correlationId)(e))[0];return this.performanceClient.addFields({fromCache:!0},e.correlationId),t}catch(n){throw n instanceof un&&n.errorCode===Go&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),n}}logout(e){this.logger.verbose("logoutRedirect called");const t=this.initializeLogoutRequest(e);return this.clearCacheOnLogout(null===t||void 0===t?void 0:t.account)}}const ga=["prompt"],ma=["scopes"];class va extends Ji{constructor(e,t,r,o,n,i,a,s,l,c,u,d){var f;super(e,t,r,o,n,i,s,l,d),this.apiId=a,this.accountId=c,this.nativeMessageHandler=l,this.nativeStorageManager=u,this.silentCacheClient=new pa(e,this.nativeStorageManager,r,o,n,i,s,l,d),this.serverTelemetryManager=this.initializeServerTelemetryManager(this.apiId);const h=this.nativeMessageHandler.getExtensionId()===lo.JD.PREFERRED_EXTENSION_ID?"chrome":null!==(f=this.nativeMessageHandler.getExtensionId())&&void 0!==f&&f.length?"unknown":void 0;this.skus=Zi.makeExtraSkuString({libraryName:lo.Q1.MSAL_SKU,libraryVersion:qn,extensionName:h,extensionVersion:this.nativeMessageHandler.getExtensionVersion()})}addRequestSKUs(e){e.extraParameters=(0,o.A)((0,o.A)({},e.extraParameters),{},{[zi]:this.skus})}async acquireToken(e){this.performanceClient.addQueueMeasurement(er,e.correlationId),this.logger.trace("NativeInteractionClient - acquireToken called.");const t=this.performanceClient.startMeasurement(er,e.correlationId),r=le();try{const n=await this.initializeNativeRequest(e);try{const e=await this.acquireTokensFromCache(this.accountId,n);return t.end({success:!0,isNativeBroker:!1,fromCache:!0}),e}catch(o){this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const i=Object.assign({},(ia(n),n)),a={method:lo.Ct.GetToken,request:i},s=await this.nativeMessageHandler.sendMessage(a),l=this.validateNativeResponse(s);return await this.handleNativeResponse(l,n,r).then((e=>(t.end({success:!0,isNativeBroker:!0,requestId:e.requestId}),this.serverTelemetryManager.clearNativeBrokerErrorCode(),e))).catch((e=>{throw t.end({success:!1,errorCode:e.errorCode,subErrorCode:e.subError,isNativeBroker:!0}),e}))}catch(o){throw o instanceof ca&&this.serverTelemetryManager.setNativeBrokerErrorCode(o.errorCode),o}}createSilentCacheRequest(e,t){return{authority:e.authority,correlationId:this.correlationId,scopes:$e.fromString(e.scope).asArray(),account:t,forceRefresh:!1}}async acquireTokensFromCache(e,t){if(!e)throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),re(M);const r=this.browserStorage.getBaseAccountInfo({nativeAccountId:e});if(!r)throw re(M);try{const e=this.createSilentCacheRequest(t,r),n=await this.silentCacheClient.acquireToken(e),i=(0,o.A)((0,o.A)({},r),{},{idTokenClaims:null===n||void 0===n?void 0:n.idTokenClaims,idToken:null===n||void 0===n?void 0:n.idToken});return(0,o.A)((0,o.A)({},n),{},{account:i})}catch(n){throw n}}async acquireTokenRedirect(e,t){this.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const r=Object.assign({},(ia(e),e));delete r.onRedirectNavigate;const o=await this.initializeNativeRequest(r),n={method:lo.Ct.GetToken,request:o};try{const e=await this.nativeMessageHandler.sendMessage(n);this.validateNativeResponse(e)}catch(s){if(s instanceof ca&&(this.serverTelemetryManager.setNativeBrokerErrorCode(s.errorCode),ua(s)))throw s}this.browserStorage.setTemporaryCache(lo._p.NATIVE_REQUEST,JSON.stringify(o),!0);const i={apiId:lo.sA.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},a=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(e.redirectUri);t.end({success:!0}),await this.navigationClient.navigateExternal(a,i)}async handleRedirectPromise(e,t){if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const r=this.browserStorage.getCachedNativeRequest();if(!r)return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),e&&t&&(null===e||void 0===e||e.addFields({errorCode:"no_cached_request"},t)),null;const{prompt:o}=r,n=(0,rt.A)(r,ga);o&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(lo._p.NATIVE_REQUEST));const i={method:lo.Ct.GetToken,request:n},a=le();try{this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const e=await this.nativeMessageHandler.sendMessage(i);this.validateNativeResponse(e);const t=this.handleNativeResponse(e,n,a);this.browserStorage.setInteractionInProgress(!1);const r=await t;return this.serverTelemetryManager.clearNativeBrokerErrorCode(),r}catch(s){throw this.browserStorage.setInteractionInProgress(!1),s}}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}async handleNativeResponse(e,t,r){var o;this.logger.trace("NativeInteractionClient - handleNativeResponse called.");const n=ae(e.id_token,Qn),i=this.createHomeAccountIdentifier(e,n);if(i!==(null===(o=this.browserStorage.getAccountInfoFilteredBy({nativeAccountId:t.accountId}))||void 0===o?void 0:o.homeAccountId)&&e.account.id!==t.accountId)throw da(sa);const a=await this.getDiscoveredAuthority({requestAuthority:t.authority}),s=Vi(this.browserStorage,a,i,Qn,n,e.client_info,void 0,n.tid,void 0,e.account.id,this.logger),l=await this.generateAuthenticationResult(e,t,n,s,a.canonicalAuthority,r);return this.cacheAccount(s),this.cacheNativeTokens(e,t,i,n,e.access_token,l.tenantId,r),l}createHomeAccountIdentifier(e,t){return ht.generateHomeAccountId(e.client_info||i.YM.EMPTY_STRING,lt,this.logger,this.browserCrypto,t)}generateScopes(e,t){return e.scope?$e.fromString(e.scope):$e.fromString(t.scope)}async generatePopAccessToken(e,t){if(t.tokenType===i.IO.POP&&t.signPopToken){if(e.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),e.shr;const r=new Wi(this.browserCrypto),o={resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,shrNonce:t.shrNonce};if(!t.keyId)throw re(Y);return r.signPopToken(e.access_token,t.keyId,o)}return e.access_token}async generateAuthenticationResult(e,t,r,o,n,a){const s=this.addTelemetryFromNativeResponse(e),l=e.scope?$e.fromString(e.scope):$e.fromString(t.scope),c=e.account.properties||{},u=c.UID||r.oid||r.sub||i.YM.EMPTY_STRING,d=c.TenantId||r.tid||i.YM.EMPTY_STRING,f=st(o.getAccountInfo(),void 0,r,e.id_token);f.nativeAccountId!==e.account.id&&(f.nativeAccountId=e.account.id);const h=await this.generatePopAccessToken(e,t),p=t.tokenType===i.IO.POP?i.IO.POP:i.IO.BEARER;return{authority:n,uniqueId:u,tenantId:d,scopes:l.asArray(),account:f,idToken:e.id_token,idTokenClaims:r,accessToken:h,fromCache:!!s&&this.isResponseFromCache(s),expiresOn:new Date(1e3*Number(a+e.expires_in)),tokenType:p,correlationId:this.correlationId,state:e.state,fromNativeBroker:!0}}cacheAccount(e){this.browserStorage.setAccount(e),this.browserStorage.removeAccountContext(e).catch((e=>{this.logger.error("Error occurred while removing account context from browser storage. ".concat(e))}))}cacheNativeTokens(e,t,r,o,n,a,s){const l=de(r,t.authority,e.id_token||"",t.clientId,o.tid||""),c=s+(t.tokenType===i.IO.POP?i.YM.SHR_NONCE_VALIDITY:("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0),u=this.generateScopes(e,t),d={idToken:l,accessToken:fe(r,t.authority,n,t.clientId,o.tid||a,u.printScopes(),c,0,Qn,void 0,t.tokenType,void 0,t.keyId)};this.nativeStorageManager.saveCacheRecord(d,t.storeInCache)}addTelemetryFromNativeResponse(e){const t=this.getMATSFromResponse(e);return t?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:t.broker_version,matsAccountJoinOnStart:t.account_join_on_start,matsAccountJoinOnEnd:t.account_join_on_end,matsDeviceJoin:t.device_join,matsPromptBehavior:t.prompt_behavior,matsApiErrorCode:t.api_error_code,matsUiVisible:t.ui_visible,matsSilentCode:t.silent_code,matsSilentBiSubCode:t.silent_bi_sub_code,matsSilentMessage:t.silent_message,matsSilentStatus:t.silent_status,matsHttpStatus:t.http_status,matsHttpEventCount:t.http_event_count},this.correlationId),t):null}validateNativeResponse(e){if(e.hasOwnProperty("access_token")&&e.hasOwnProperty("id_token")&&e.hasOwnProperty("client_info")&&e.hasOwnProperty("account")&&e.hasOwnProperty("scope")&&e.hasOwnProperty("expires_in"))return e;throw(0,c.pz)(aa.W,"Response missing expected properties.")}getMATSFromResponse(e){if(e.properties.MATS)try{return JSON.parse(e.properties.MATS)}catch(t){this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(e){return"undefined"===typeof e.is_cached?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!e.is_cached}async initializeNativeRequest(e){this.logger.trace("NativeInteractionClient - initializeNativeRequest called");const t=e.authority||this.config.auth.authority;e.account&&await this.getDiscoveredAuthority({requestAuthority:t,requestAzureCloudOptions:e.azureCloudOptions,account:e.account});const r=new mt(t);r.validateAsUri();const{scopes:n}=e,a=(0,rt.A)(e,ma),s=new $e(n||[]);s.appendScopes(i.aZ);const l=(0,o.A)((0,o.A)({},a),{},{accountId:this.accountId,clientId:this.config.auth.clientId,authority:r.urlString,scope:s.printScopes(),redirectUri:this.getRedirectUri(e.redirectUri),prompt:(()=>{switch(this.apiId){case lo.sA.ssoSilent:case lo.sA.acquireTokenSilent_silentFlow:return this.logger.trace("initializeNativeRequest: silent request sets prompt to none"),i._M.NONE}if(e.prompt)switch(e.prompt){case i._M.NONE:case i._M.CONSENT:case i._M.LOGIN:return this.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),e.prompt;default:throw this.logger.trace("initializeNativeRequest: prompt = ".concat(e.prompt," is not compatible with native flow")),dn(rn)}else this.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:this.correlationId,tokenType:e.authenticationScheme,windowTitleSubstring:document.title,extraParameters:(0,o.A)((0,o.A)({},e.extraQueryParameters),e.tokenQueryParameters),extendedExpiryToken:!1,keyId:e.popKid});if(l.signPopToken&&e.popKid)throw dn(nn);if(this.handleExtraBrokerParams(l),l.extraParameters=l.extraParameters||{},l.extraParameters.telemetry=lo.JD.MATS_TELEMETRY,e.authenticationScheme===i.IO.POP){const t={resourceRequestUri:e.resourceRequestUri,resourceRequestMethod:e.resourceRequestMethod,shrClaims:e.shrClaims,shrNonce:e.shrNonce},r=new Wi(this.browserCrypto);let o;if(l.keyId)o=this.browserCrypto.base64UrlEncode(JSON.stringify({kid:l.keyId})),l.signPopToken=!1;else{const n=await oi(r.generateCnf.bind(r),Rr,this.logger,this.performanceClient,e.correlationId)(t,this.logger);o=n.reqCnfString,l.keyId=n.kid,l.signPopToken=!0}l.reqCnf=o}return this.addRequestSKUs(l),l}handleExtraBrokerParams(e){var t;const r=e.extraParameters&&e.extraParameters.hasOwnProperty(Mi)&&e.extraParameters.hasOwnProperty(Li)&&e.extraParameters.hasOwnProperty(Ii);if(!e.embeddedClientId&&!r)return;let o="";const n=e.redirectUri;e.embeddedClientId?(e.redirectUri=this.config.auth.redirectUri,o=e.embeddedClientId):e.extraParameters&&(e.redirectUri=e.extraParameters[Li],o=e.extraParameters[Ii]),e.extraParameters={child_client_id:o,child_redirect_uri:n},null===(t=this.performanceClient)||void 0===t||t.addFields({embeddedClientId:o,embeddedRedirectUri:n},e.correlationId)}}class ba{constructor(e,t,r,o){this.logger=e,this.handshakeTimeoutMs=t,this.extensionId=o,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=r,this.handshakeEvent=r.startMeasurement(Qr)}async sendMessage(e){this.logger.trace("NativeMessageHandler - sendMessage called.");const t={channel:lo.JD.CHANNEL_ID,extensionId:this.extensionId,responseId:Tn(),body:e};return this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: ".concat(JSON.stringify(t))),this.messageChannel.port1.postMessage(t),new Promise(((e,r)=>{this.resolvers.set(t.responseId,{resolve:e,reject:r})}))}static async createProvider(e,t,r){e.trace("NativeMessageHandler - createProvider called.");try{const o=new ba(e,t,r,lo.JD.PREFERRED_EXTENSION_ID);return await o.sendHandshakeRequest(),o}catch(o){const n=new ba(e,t,r);return await n.sendHandshakeRequest(),n}}async sendHandshakeRequest(){this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1);const e={channel:lo.JD.CHANNEL_ID,extensionId:this.extensionId,responseId:Tn(),body:{method:lo.Ct.HandshakeRequest}};return this.handshakeEvent.add({extensionId:this.extensionId,extensionHandshakeTimeoutMs:this.handshakeTimeoutMs}),this.messageChannel.port1.onmessage=e=>{this.onChannelMessage(e)},window.postMessage(e,window.origin,[this.messageChannel.port2]),new Promise(((t,r)=>{this.handshakeResolvers.set(e.responseId,{resolve:t,reject:r}),this.timeoutId=window.setTimeout((()=>{window.removeEventListener("message",this.windowListener,!1),this.messageChannel.port1.close(),this.messageChannel.port2.close(),this.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),r(dn(Jo)),this.handshakeResolvers.delete(e.responseId)}),this.handshakeTimeoutMs)}))}onWindowMessage(e){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),e.source!==window)return;const t=e.data;if(t.channel&&t.channel===lo.JD.CHANNEL_ID&&(!t.extensionId||t.extensionId===this.extensionId)&&t.body.method===lo.Ct.HandshakeRequest){const e=this.handshakeResolvers.get(t.responseId);if(!e)return void this.logger.trace("NativeMessageHandler.onWindowMessage - resolver can't be found for request ".concat(t.responseId));this.logger.verbose(t.extensionId?"Extension with id: ".concat(t.extensionId," not installed"):"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),e.reject(dn($o))}}onChannelMessage(e){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const t=e.data,r=this.resolvers.get(t.responseId),o=this.handshakeResolvers.get(t.responseId);try{const e=t.body.method;if(e===lo.Ct.Response){if(!r)return;const e=t.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: ".concat(JSON.stringify(e))),"Success"!==e.status)r.reject(da(e.code,e.description,e.ext));else{if(!e.result)throw(0,c.pz)(aa.W,"Event does not contain result.");e.result.code&&e.result.description?r.reject(da(e.result.code,e.result.description,e.result.ext)):r.resolve(e.result)}this.resolvers.delete(t.responseId)}else if(e===lo.Ct.HandshakeResponse){if(!o)return void this.logger.trace("NativeMessageHandler.onChannelMessage - resolver can't be found for request ".concat(t.responseId));clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=t.extensionId,this.extensionVersion=t.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: ".concat(this.extensionId)),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),o.resolve(),this.handshakeResolvers.delete(t.responseId)}}catch(n){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: ".concat(n)),this.logger.errorPii("Unable to parse ".concat(e)),r?r.reject(n):o&&o.reject(n)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(e,t,r,o){if(t.trace("isNativeAvailable called"),!e.system.allowNativeBroker)return t.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!r)return t.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(o)switch(o){case i.IO.BEARER:case i.IO.POP:return t.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return t.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class ya{constructor(e,t,r,o,n){this.authModule=e,this.browserStorage=t,this.authCodeRequest=r,this.logger=o,this.performanceClient=n}async handleCodeResponse(e,t){let r;this.performanceClient.addQueueMeasurement(Tr,t.correlationId);try{r=this.authModule.handleFragmentResponse(e,t.state)}catch(o){throw o instanceof Ei&&o.subError===So?dn(So):o}return oi(this.handleCodeResponseFromServer.bind(this),Ar,this.logger,this.performanceClient,t.correlationId)(r,t)}async handleCodeResponseFromServer(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.performanceClient.addQueueMeasurement(Ar,t.correlationId),this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),this.authCodeRequest.code=e.code,e.cloud_instance_host_name&&await oi(this.authModule.updateAuthority.bind(this.authModule),Er,this.logger,this.performanceClient,t.correlationId)(e.cloud_instance_host_name,t.correlationId),r&&(e.nonce=t.nonce||void 0),e.state=t.state,e.client_info)this.authCodeRequest.clientInfo=e.client_info;else{const e=this.createCcsCredentials(t);e&&(this.authCodeRequest.ccsCredential=e)}return await oi(this.authModule.acquireToken.bind(this.authModule),Br,this.logger,this.performanceClient,t.correlationId)(this.authCodeRequest,e)}createCcsCredentials(e){return e.account?{credential:e.account.homeAccountId,type:bi}:e.loginHint?{credential:e.loginHint,type:yi}:null}}function wa(e,t,r){const o=gt(e);if(!o)throw pt(e)?(r.error("A ".concat(t," is present in the iframe but it does not contain known properties. It's likely that the ").concat(t," has been replaced by code running on the redirectUri page.")),r.errorPii("The ".concat(t," detected is: ").concat(e)),dn(bo)):(r.error("The request has returned to the redirectUri but a ".concat(t," is not present. It's likely that the ").concat(t," has been removed or the page has been redirected by code running on the redirectUri page.")),dn(mo));return o}class ka extends na{constructor(e,t,r,o,n,i,a,s,l,c){super(e,t,r,o,n,i,a,l,c),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=s}acquireToken(e){try{var t;const r={popupName:this.generatePopupName(e.scopes||i.aZ,e.authority||this.config.auth.authority),popupWindowAttributes:e.popupWindowAttributes||{},popupWindowParent:null!==(t=e.popupWindowParent)&&void 0!==t?t:window};return this.config.system.asyncPopups?(this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(e,r)):(this.logger.verbose("asyncPopup set to false, opening popup before acquiring token"),r.popup=this.openSizedPopup("about:blank",r),this.acquireTokenPopupAsync(e,r))}catch(r){return Promise.reject(r)}}logout(e){try{var t;this.logger.verbose("logoutPopup called");const r=this.initializeLogoutRequest(e),o={popupName:this.generateLogoutPopupName(r),popupWindowAttributes:(null===e||void 0===e?void 0:e.popupWindowAttributes)||{},popupWindowParent:null!==(t=null===e||void 0===e?void 0:e.popupWindowParent)&&void 0!==t?t:window},n=e&&e.authority,i=e&&e.mainWindowRedirectUri;return this.config.system.asyncPopups?(this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(r,o,n,i)):(this.logger.verbose("asyncPopup set to false, opening popup"),o.popup=this.openSizedPopup("about:blank",o),this.logoutPopupAsync(r,o,n,i))}catch(r){return Promise.reject(r)}}async acquireTokenPopupAsync(e,t){this.logger.verbose("acquireTokenPopupAsync called");const r=this.initializeServerTelemetryManager(lo.sA.acquireTokenPopup),n=await oi(this.initializeAuthorizationRequest.bind(this),Cr,this.logger,this.performanceClient,this.correlationId)(e,lo.X8.Popup);Dn(n.authority);try{const i=await oi(this.initializeAuthorizationCodeRequest.bind(this),Sr,this.logger,this.performanceClient,this.correlationId)(n),a=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:n.authority,requestAzureCloudOptions:n.azureCloudOptions,requestExtraQueryParameters:n.extraQueryParameters,account:n.account}),s=ba.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme);let l;s&&(l=this.performanceClient.startMeasurement($t,e.correlationId));const c=await a.getAuthCodeUrl((0,o.A)((0,o.A)({},n),{},{nativeBroker:s})),u=new ya(a,this.browserStorage,i,this.logger,this.performanceClient),d=this.initiateAuthRequest(c,t);this.eventHandler.emitEvent(Ai.B.POPUP_OPENED,lo.X8.Popup,{popupWindow:d},null);const f=await this.monitorPopupForHash(d,t.popupWindowParent),h=ri(wa,zr,this.logger,this.performanceClient,this.correlationId)(f,this.config.auth.OIDCOptions.serverResponseType,this.logger);if(Bi.removeThrottle(this.browserStorage,this.config.auth.clientId,i),h.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),l&&l.end({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw dn(en);const e=new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,h.accountId,this.nativeStorage,n.correlationId),{userRequestState:t}=vi.parseRequestState(this.browserCrypto,n.state);return await e.acquireToken((0,o.A)((0,o.A)({},n),{},{state:t,prompt:void 0}))}return await u.handleCodeResponse(h,n)}catch(a){var i;throw null===(i=t.popup)||void 0===i||i.close(),a instanceof c.lR&&(a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a)),a}}async logoutPopupAsync(e,t,r,o){this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(Ai.B.LOGOUT_START,lo.X8.Popup,e);const n=this.initializeServerTelemetryManager(lo.sA.logoutPopup);try{await this.clearCacheOnLogout(e.account);const c=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:n,requestAuthority:r,account:e.account||void 0});try{c.authority.endSessionEndpoint}catch(d){var i;if(null!==(i=e.account)&&void 0!==i&&i.homeAccountId&&e.postLogoutRedirectUri&&c.authority.protocolMode===s){var a,l;if(this.browserStorage.removeAccount(null===(a=e.account)||void 0===a?void 0:a.homeAccountId),this.eventHandler.emitEvent(Ai.B.LOGOUT_SUCCESS,lo.X8.Popup,e),o){const e={apiId:lo.sA.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},t=mt.getAbsoluteUrl(o,Rn());await this.navigationClient.navigateInternal(t,e)}return void(null===(l=t.popup)||void 0===l||l.close())}}const u=c.getLogoutUri(e);this.eventHandler.emitEvent(Ai.B.LOGOUT_SUCCESS,lo.X8.Popup,e);const f=this.openPopup(u,t);if(this.eventHandler.emitEvent(Ai.B.POPUP_OPENED,lo.X8.Popup,{popupWindow:f},null),await this.monitorPopupForHash(f,t.popupWindowParent).catch((()=>{})),o){const e={apiId:lo.sA.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},t=mt.getAbsoluteUrl(o,Rn());this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: ".concat(t)),await this.navigationClient.navigateInternal(t,e)}else this.logger.verbose("No main window navigation requested")}catch(f){var u;throw null===(u=t.popup)||void 0===u||u.close(),f instanceof c.lR&&(f.setCorrelationId(this.correlationId),n.cacheFailedRequest(f)),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(Ai.B.LOGOUT_FAILURE,lo.X8.Popup,null,f),this.eventHandler.emitEvent(Ai.B.LOGOUT_END,lo.X8.Popup),f}this.eventHandler.emitEvent(Ai.B.LOGOUT_END,lo.X8.Popup)}initiateAuthRequest(e,t){if(e)return this.logger.infoPii("Navigate to: ".concat(e)),this.openPopup(e,t);throw this.logger.error("Navigate url is empty"),dn(go)}monitorPopupForHash(e,t){return new Promise(((t,r)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const o=setInterval((()=>{if(e.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(o),void r(dn(So));let n="";try{n=e.location.href}catch(l){}if(!n||"about:blank"===n)return;clearInterval(o);let a="";const s=this.config.auth.OIDCOptions.serverResponseType;e&&(a=s===i.zL.QUERY?e.location.search:e.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),t(a)}),this.config.system.pollIntervalMilliseconds)})).finally((()=>{this.cleanPopup(e,t)}))}openPopup(e,t){try{let r;if(t.popup?(r=t.popup,this.logger.verbosePii("Navigating popup window to: ".concat(e)),r.location.assign(e)):"undefined"===typeof t.popup&&(this.logger.verbosePii("Opening popup window to: ".concat(e)),r=this.openSizedPopup(e,t)),!r)throw dn(Co);return r.focus&&r.focus(),this.currentWindow=r,t.popupWindowParent.addEventListener("beforeunload",this.unloadWindow),r}catch(r){throw this.logger.error("error opening popup "+r.message),this.browserStorage.setInteractionInProgress(!1),dn(xo)}}openSizedPopup(e,t){var r,o,n,i;let{popupName:a,popupWindowAttributes:s,popupWindowParent:l}=t;const c=l.screenLeft?l.screenLeft:l.screenX,u=l.screenTop?l.screenTop:l.screenY,d=l.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,f=l.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let h=null===(r=s.popupSize)||void 0===r?void 0:r.width,p=null===(o=s.popupSize)||void 0===o?void 0:o.height,g=null===(n=s.popupPosition)||void 0===n?void 0:n.top,m=null===(i=s.popupPosition)||void 0===i?void 0:i.left;return(!h||h<0||h>d)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),h=lo.Q1.POPUP_WIDTH),(!p||p<0||p>f)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),p=lo.Q1.POPUP_HEIGHT),(!g||g<0||g>f)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),g=Math.max(0,f/2-lo.Q1.POPUP_HEIGHT/2+u)),(!m||m<0||m>d)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),m=Math.max(0,d/2-lo.Q1.POPUP_WIDTH/2+c)),l.open(e,a,"width=".concat(h,", height=").concat(p,", top=").concat(g,", left=").concat(m,", scrollbars=yes"))}unloadWindow(e){this.browserStorage.cleanRequestByInteractionType(lo.X8.Popup),this.currentWindow&&this.currentWindow.close(),e.preventDefault()}cleanPopup(e,t){e.close(),t.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(e,t){return"".concat(lo.Q1.POPUP_NAME_PREFIX,".").concat(this.config.auth.clientId,".").concat(e.join("-"),".").concat(t,".").concat(this.correlationId)}generateLogoutPopupName(e){const t=e.account&&e.account.homeAccountId;return"".concat(lo.Q1.POPUP_NAME_PREFIX,".").concat(this.config.auth.clientId,".").concat(t,".").concat(this.correlationId)}}class xa{constructor(e,t,r,o,n){this.authModule=e,this.browserStorage=t,this.authCodeRequest=r,this.logger=o,this.performanceClient=n}async initiateAuthRequest(e,t){if(this.logger.verbose("RedirectHandler.initiateAuthRequest called"),e){t.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(lo._p.ORIGIN_URI,t.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(lo._p.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: ".concat(e));const r={apiId:lo.sA.acquireTokenRedirect,timeout:t.redirectTimeout,noHistory:!1};if("function"===typeof t.onRedirectNavigate){this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback");return!1!==t.onRedirectNavigate(e)?(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void await t.navigationClient.navigateExternal(e,r)):void this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")}return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void await t.navigationClient.navigateExternal(e,r)}throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),dn(go)}async handleCodeResponse(e,t){this.logger.verbose("RedirectHandler.handleCodeResponse called"),this.browserStorage.setInteractionInProgress(!1);const r=this.browserStorage.generateStateKey(t),o=this.browserStorage.getTemporaryCache(r);if(!o)throw re(w,"Cached State");let n;try{n=this.authModule.handleFragmentResponse(e,o)}catch(l){throw l instanceof Ei&&l.subError===So?dn(So):l}const i=this.browserStorage.generateNonceKey(o),a=this.browserStorage.getTemporaryCache(i);if(this.authCodeRequest.code=n.code,n.cloud_instance_host_name&&await oi(this.authModule.updateAuthority.bind(this.authModule),Er,this.logger,this.performanceClient,this.authCodeRequest.correlationId)(n.cloud_instance_host_name,this.authCodeRequest.correlationId),n.nonce=a||void 0,n.state=o,n.client_info)this.authCodeRequest.clientInfo=n.client_info;else{const e=this.checkCcsCredentials();e&&(this.authCodeRequest.ccsCredential=e)}const s=await this.authModule.acquireToken(this.authCodeRequest,n);return this.browserStorage.cleanRequestByState(t),s}checkCcsCredentials(){const e=this.browserStorage.getTemporaryCache(lo._p.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch(t){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: ".concat(e))}return null}}class Ca extends na{constructor(e,t,r,o,n,i,a,s,l,c){super(e,t,r,o,n,i,a,l,c),this.nativeStorage=s}async acquireToken(e){const t=await oi(this.initializeAuthorizationRequest.bind(this),Cr,this.logger,this.performanceClient,this.correlationId)(e,lo.X8.Redirect);this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||"",t.account||null);const r=this.initializeServerTelemetryManager(lo.sA.acquireTokenRedirect),n=e=>{e.persisted&&(this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),this.browserStorage.cleanRequestByState(t.state),this.eventHandler.emitEvent(Ai.B.RESTORE_FROM_BFCACHE,lo.X8.Redirect))};try{const i=await oi(this.initializeAuthorizationCodeRequest.bind(this),Sr,this.logger,this.performanceClient,this.correlationId)(t),a=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),s=new xa(a,this.browserStorage,i,this.logger,this.performanceClient),l=await a.getAuthCodeUrl((0,o.A)((0,o.A)({},t),{},{nativeBroker:ba.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme)})),c=this.getRedirectStartPage(e.redirectStartPage);return this.logger.verbosePii("Redirect start page: ".concat(c)),window.addEventListener("pageshow",n),await s.initiateAuthRequest(l,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:c,onRedirectNavigate:e.onRedirectNavigate||this.config.auth.onRedirectNavigate})}catch(i){throw i instanceof c.lR&&(i.setCorrelationId(this.correlationId),r.cacheFailedRequest(i)),window.removeEventListener("pageshow",n),this.browserStorage.cleanRequestByState(t.state),i}}async handleRedirectPromise(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;const r=this.initializeServerTelemetryManager(lo.sA.handleRedirectPromise);try{if(!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[o,n]=this.getRedirectResponse(e||"");if(!o)return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(lo.X8.Redirect),"back_forward"!==function(){if("undefined"===typeof window||"undefined"===typeof window.performance||"function"!==typeof window.performance.getEntriesByType)return;const e=window.performance.getEntriesByType("navigation"),t=e.length?e[0]:void 0;return null===t||void 0===t?void 0:t.type}()?t.event.errorCode="no_server_response":this.logger.verbose("Back navigation event detected. Muting no_server_response error"),null;const a=this.browserStorage.getTemporaryCache(lo._p.ORIGIN_URI,!0)||i.YM.EMPTY_STRING,s=mt.removeHashFromUrl(a);if(s===mt.removeHashFromUrl(window.location.href)&&this.config.auth.navigateToLoginRequestUrl){this.logger.verbose("Current page is loginRequestUrl, handling response"),a.indexOf("#")>-1&&function(e){const t=e.split("#");t.shift(),window.location.hash=t.length>0?t.join("#"):""}(a);return await this.handleResponse(o,r)}if(!this.config.auth.navigateToLoginRequestUrl)return this.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),await this.handleResponse(o,r);if(!Pn()||this.config.system.allowRedirectInIframe){this.browserStorage.setTemporaryCache(lo._p.URL_HASH,n,!0);const e={apiId:lo.sA.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0};let t=!0;if(a&&"null"!==a)this.logger.verbose("Navigating to loginRequestUrl: ".concat(a)),t=await this.navigationClient.navigateInternal(a,e);else{const r=function(){const e=new mt(window.location.href).getUrlComponents();return"".concat(e.Protocol,"//").concat(e.HostNameAndPort,"/")}();this.browserStorage.setTemporaryCache(lo._p.ORIGIN_URI,r,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),t=await this.navigationClient.navigateInternal(r,e)}if(!t)return await this.handleResponse(o,r)}return null}catch(o){throw o instanceof c.lR&&(o.setCorrelationId(this.correlationId),r.cacheFailedRequest(o)),this.browserStorage.cleanRequestByInteractionType(lo.X8.Redirect),o}}getRedirectResponse(e){this.logger.verbose("getRedirectResponseHash called");let t=e;t||(t=this.config.auth.OIDCOptions.serverResponseType===i.zL.QUERY?window.location.search:window.location.hash);let r=gt(t);if(r){try{!function(e,t,r){if(!e.state)throw dn(vo);const o=xi(t,e.state);if(!o)throw dn(yo);if(o.interactionType!==r)throw dn(wo)}(r,this.browserCrypto,lo.X8.Redirect)}catch(a){return a instanceof c.lR&&this.logger.error("Interaction type validation failed due to ".concat(a.errorCode,": ").concat(a.errorMessage)),[null,""]}return(o=window).location.hash="","function"===typeof o.history.replaceState&&o.history.replaceState(null,"","".concat(o.location.origin).concat(o.location.pathname).concat(o.location.search)),this.logger.verbose("Hash contains known properties, returning response hash"),[r,t]}var o;const n=this.browserStorage.getTemporaryCache(lo._p.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(lo._p.URL_HASH)),n&&(r=gt(n),r)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[r,n]):[null,""]}async handleResponse(e,t){const r=e.state;if(!r)throw dn(vo);const n=this.browserStorage.getCachedRequest(r);if(this.logger.verbose("handleResponse called, retrieved cached request"),e.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw dn(en);const t=new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,e.accountId,this.nativeStorage,n.correlationId),{userRequestState:i}=vi.parseRequestState(this.browserCrypto,r);return t.acquireToken((0,o.A)((0,o.A)({},n),{},{state:i,prompt:void 0})).finally((()=>{this.browserStorage.cleanRequestByState(r)}))}const i=this.browserStorage.getCachedAuthority(r);if(!i)throw dn(zo);const a=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:t,requestAuthority:i});Bi.removeThrottle(this.browserStorage,this.config.auth.clientId,n);return new xa(a,this.browserStorage,n,this.logger,this.performanceClient).handleCodeResponse(e,r)}async logout(e){this.logger.verbose("logoutRedirect called");const t=this.initializeLogoutRequest(e),r=this.initializeServerTelemetryManager(lo.sA.logout);try{this.eventHandler.emitEvent(Ai.B.LOGOUT_START,lo.X8.Redirect,e),await this.clearCacheOnLogout(t.account);const a={apiId:lo.sA.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},l=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:r,requestAuthority:e&&e.authority,requestExtraQueryParameters:null===e||void 0===e?void 0:e.extraQueryParameters,account:e&&e.account||void 0});if(l.authority.protocolMode===s)try{l.authority.endSessionEndpoint}catch(i){var o,n;if(null!==(o=t.account)&&void 0!==o&&o.homeAccountId)return this.browserStorage.removeAccount(null===(n=t.account)||void 0===n?void 0:n.homeAccountId),void this.eventHandler.emitEvent(Ai.B.LOGOUT_SUCCESS,lo.X8.Redirect,t)}const c=l.getLogoutUri(t);if(this.eventHandler.emitEvent(Ai.B.LOGOUT_SUCCESS,lo.X8.Redirect,t),!e||"function"!==typeof e.onRedirectNavigate)return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),void await this.navigationClient.navigateExternal(c,a);if(!1!==e.onRedirectNavigate(c))return this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),void await this.navigationClient.navigateExternal(c,a);this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(a){throw a instanceof c.lR&&(a.setCorrelationId(this.correlationId),r.cacheFailedRequest(a)),this.eventHandler.emitEvent(Ai.B.LOGOUT_FAILURE,lo.X8.Redirect,null,a),this.eventHandler.emitEvent(Ai.B.LOGOUT_END,lo.X8.Redirect),a}this.eventHandler.emitEvent(Ai.B.LOGOUT_END,lo.X8.Redirect)}getRedirectStartPage(e){const t=e||window.location.href;return mt.getAbsoluteUrl(t,Rn())}}async function Sa(e,t,r,o,n){if(t.addQueueMeasurement(vr,o),!e)throw r.info("Navigate url is empty"),dn(go);return n?oi(Aa,yr,r,t,o)(e,n,t,o):ri(Ta,wr,r,t,o)(e)}async function _a(e,t,r,o,n,a,s){return o.addQueueMeasurement(br,a),new Promise(((o,a)=>{t<Fn&&n.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower (".concat(t,"ms) than the default (").concat(Fn,"ms). This may result in timeouts."));const l=window.setTimeout((()=>{window.clearInterval(c),a(dn(Ao))}),t),c=window.setInterval((()=>{let t="";const r=e.contentWindow;try{t=r?r.location.href:""}catch(a){}if(!t||"about:blank"===t)return;let n="";r&&(n=s===i.zL.QUERY?r.location.search:r.location.hash),window.clearTimeout(l),window.clearInterval(c),o(n)}),r)})).finally((()=>{ri(Ba,Zr,n,o,a)(e)}))}function Aa(e,t,r,o){return r.addQueueMeasurement(yr,o),new Promise(((r,o)=>{const n=Ea();window.setTimeout((()=>{n?(n.src=e,r(n)):o("Unable to load iframe")}),t)}))}function Ta(e){const t=Ea();return t.src=e,t}function Ea(){const e=document.createElement("iframe");return e.className="msalSilentIframe",e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(e),e}function Ba(e){document.body===e.parentNode&&document.body.removeChild(e)}class Ia extends na{constructor(e,t,r,o,n,i,a,s,l,c,u){super(e,t,r,o,n,i,s,c,u),this.apiId=a,this.nativeStorage=l}async acquireToken(e){this.performanceClient.addQueueMeasurement(Yt,e.correlationId),e.loginHint||e.sid||e.account&&e.account.username||this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const t=(0,o.A)({},e);t.prompt?t.prompt!==i._M.NONE&&t.prompt!==i._M.NO_SESSION&&(this.logger.warning("SilentIframeClient. Replacing invalid prompt ".concat(t.prompt," with ").concat(i._M.NONE)),t.prompt=i._M.NONE):t.prompt=i._M.NONE;const r=await oi(this.initializeAuthorizationRequest.bind(this),Cr,this.logger,this.performanceClient,e.correlationId)(t,lo.X8.Silent);Dn(r.authority);const n=this.initializeServerTelemetryManager(this.apiId);let a;try{return a=await oi(this.createAuthCodeClient.bind(this),kr,this.logger,this.performanceClient,e.correlationId)({serverTelemetryManager:n,requestAuthority:r.authority,requestAzureCloudOptions:r.azureCloudOptions,requestExtraQueryParameters:r.extraQueryParameters,account:r.account}),await oi(this.silentTokenHelper.bind(this),mr,this.logger,this.performanceClient,e.correlationId)(a,r)}catch(s){if(s instanceof c.lR&&(s.setCorrelationId(this.correlationId),n.cacheFailedRequest(s)),!a||!(s instanceof c.lR)||s.errorCode!==lo.Q1.INVALID_GRANT_ERROR)throw s;this.performanceClient.addFields({retryError:s.errorCode},this.correlationId);const r=await oi(this.initializeAuthorizationRequest.bind(this),Cr,this.logger,this.performanceClient,e.correlationId)(t,lo.X8.Silent);return await oi(this.silentTokenHelper.bind(this),mr,this.logger,this.performanceClient,this.correlationId)(a,r)}}logout(){return Promise.reject(dn(No))}async silentTokenHelper(e,t){const r=t.correlationId;this.performanceClient.addQueueMeasurement(mr,r);const n=await oi(this.initializeAuthorizationCodeRequest.bind(this),Sr,this.logger,this.performanceClient,r)(t),a=await oi(e.getAuthCodeUrl.bind(e),_r,this.logger,this.performanceClient,r)((0,o.A)((0,o.A)({},t),{},{nativeBroker:ba.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,t.authenticationScheme)})),s=new ya(e,this.browserStorage,n,this.logger,this.performanceClient),l=await oi(Sa,vr,this.logger,this.performanceClient,r)(a,this.performanceClient,this.logger,r,this.config.system.navigateFrameWait),c=this.config.auth.OIDCOptions.serverResponseType,u=await oi(_a,br,this.logger,this.performanceClient,r)(l,this.config.system.iframeHashTimeout,this.config.system.pollIntervalMilliseconds,this.performanceClient,this.logger,r,c),d=ri(wa,zr,this.logger,this.performanceClient,this.correlationId)(u,c,this.logger);if(d.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw dn(en);const e=new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,d.accountId,this.browserStorage,r),{userRequestState:n}=vi.parseRequestState(this.browserCrypto,t.state);return oi(e.acquireToken.bind(e),er,this.logger,this.performanceClient,r)((0,o.A)((0,o.A)({},t),{},{state:n,prompt:t.prompt||i._M.NONE}))}return oi(s.handleCodeResponse.bind(s),Tr,this.logger,this.performanceClient,r)(d,t)}}class Na extends na{async acquireToken(e){this.performanceClient.addQueueMeasurement(Qt,e.correlationId);const t=await oi(ra,hr,this.logger,this.performanceClient,e.correlationId)(e,this.config,this.performanceClient,this.logger),r=(0,o.A)((0,o.A)({},e),t);e.redirectUri&&(r.redirectUri=this.getRedirectUri(e.redirectUri));const n=this.initializeServerTelemetryManager(lo.sA.acquireTokenSilent_silentFlow),i=await this.createRefreshTokenClient({serverTelemetryManager:n,authorityUrl:r.authority,azureCloudOptions:r.azureCloudOptions,account:r.account});return oi(i.acquireTokenByRefreshToken.bind(i),sr,this.logger,this.performanceClient,e.correlationId)(r).catch((e=>{throw e.setCorrelationId(this.correlationId),n.cacheFailedRequest(e),e}))}logout(){return Promise.reject(dn(No))}async createRefreshTokenClient(e){const t=await oi(this.getClientConfiguration.bind(this),xr,this.logger,this.performanceClient,this.correlationId)({serverTelemetryManager:e.serverTelemetryManager,requestAuthority:e.authorityUrl,requestAzureCloudOptions:e.azureCloudOptions,requestExtraQueryParameters:e.extraQueryParameters,account:e.account});return new fa(t,this.performanceClient)}}class Pa{constructor(e,t,r,o){this.isBrowserEnvironment="undefined"!==typeof window,this.config=e,this.storage=t,this.logger=r,this.cryptoObj=o}loadExternalTokens(e,t,r){if(!this.isBrowserEnvironment)throw dn(Do);const o=t.id_token?ae(t.id_token,Qn):void 0,n={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},i=e.authority?new ii(ii.generateAuthority(e.authority,e.azureCloudOptions),this.config.system.networkClient,this.storage,n,this.logger,e.correlationId||Tn()):void 0,a=this.loadAccount(e,r.clientInfo||t.client_info||"",o,i),s=this.loadIdToken(t,a.homeAccountId,a.environment,a.realm),l=this.loadAccessToken(e,t,a.homeAccountId,a.environment,a.realm,r),c=this.loadRefreshToken(t,a.homeAccountId,a.environment);return this.generateAuthenticationResult(e,{account:a,idToken:s,accessToken:l,refreshToken:c},o,i)}loadAccount(e,t,r,o){if(this.logger.verbose("TokenCache - loading account"),e.account){const t=ht.createFromAccountInfo(e.account);return this.storage.setAccount(t),t}if(!o||!t&&!r)throw this.logger.error("TokenCache - if an account is not provided on the request, authority and either clientInfo or idToken must be provided instead."),dn(Ko);const n=ht.generateHomeAccountId(t,o.authorityType,this.logger,this.cryptoObj,r),i=null===r||void 0===r?void 0:r.tid,a=Vi(this.storage,o,n,Qn,r,t,o.hostnameAndPort,i,void 0,void 0,this.logger);return this.storage.setAccount(a),a}loadIdToken(e,t,r,o){if(!e.id_token)return this.logger.verbose("TokenCache - no id token found in response"),null;this.logger.verbose("TokenCache - loading id token");const n=de(t,r,e.id_token,this.config.auth.clientId,o);return this.storage.setIdTokenCredential(n),n}loadAccessToken(e,t,r,o,n,i){if(!t.access_token)return this.logger.verbose("TokenCache - no access token found in response"),null;if(!t.expires_in)return this.logger.error("TokenCache - no expiration set on the access token. Cannot add it to the cache."),null;if(!t.scope&&(!e.scopes||!e.scopes.length))return this.logger.error("TokenCache - scopes not specified in the request or response. Cannot add token to the cache."),null;this.logger.verbose("TokenCache - loading access token");const a=t.scope?$e.fromString(t.scope):new $e(e.scopes),s=i.expiresOn||t.expires_in+(new Date).getTime()/1e3,l=i.extendedExpiresOn||(t.ext_expires_in||t.expires_in)+(new Date).getTime()/1e3,c=fe(r,o,t.access_token,this.config.auth.clientId,n,a.printScopes(),s,l,Qn);return this.storage.setAccessTokenCredential(c),c}loadRefreshToken(e,t,r){if(!e.refresh_token)return this.logger.verbose("TokenCache - no refresh token found in response"),null;this.logger.verbose("TokenCache - loading refresh token");const o=he(t,r,e.refresh_token,this.config.auth.clientId,e.foci,void 0,e.refresh_token_expires_in);return this.storage.setRefreshTokenCredential(o),o}generateAuthenticationResult(e,t,r,o){var n,i,a;let s,l="",c=[],u=null;null!==t&&void 0!==t&&t.accessToken&&(l=t.accessToken.secret,c=$e.fromString(t.accessToken.target).asArray(),u=new Date(1e3*Number(t.accessToken.expiresOn)),s=new Date(1e3*Number(t.accessToken.extendedExpiresOn)));const d=t.account;return{authority:o?o.canonicalAuthority:"",uniqueId:t.account.localAccountId,tenantId:t.account.realm,scopes:c,account:d.getAccountInfo(),idToken:(null===(n=t.idToken)||void 0===n?void 0:n.secret)||"",idTokenClaims:r||{},accessToken:l,fromCache:!0,expiresOn:u,correlationId:e.correlationId||"",requestId:"",extExpiresOn:s,familyId:(null===(i=t.refreshToken)||void 0===i?void 0:i.familyId)||"",tokenType:(null===t||void 0===t||null===(a=t.accessToken)||void 0===a?void 0:a.tokenType)||"",state:e.state||"",cloudGraphHostName:d.cloudGraphHostName||"",msGraphHost:d.msGraphHost||"",fromNativeBroker:!1}}}class Ra extends Xi{constructor(e){super(e),this.includeRedirectUri=!1}}class Oa extends na{constructor(e,t,r,o,n,i,a,s,l,c){super(e,t,r,o,n,i,s,l,c),this.apiId=a}async acquireToken(e){if(!e.code)throw dn(Vo);const t=await oi(this.initializeAuthorizationRequest.bind(this),Cr,this.logger,this.performanceClient,e.correlationId)(e,lo.X8.Silent),r=this.initializeServerTelemetryManager(this.apiId);try{const n=(0,o.A)((0,o.A)({},t),{},{code:e.code}),i=await oi(this.getClientConfiguration.bind(this),xr,this.logger,this.performanceClient,e.correlationId)({serverTelemetryManager:r,requestAuthority:t.authority,requestAzureCloudOptions:t.azureCloudOptions,requestExtraQueryParameters:t.extraQueryParameters,account:t.account}),a=new Ra(i);this.logger.verbose("Auth code client created");const s=new ya(a,this.browserStorage,n,this.logger,this.performanceClient);return await oi(s.handleCodeResponseFromServer.bind(s),Ar,this.logger,this.performanceClient,e.correlationId)({code:e.code,msgraph_host:e.msGraphHost,cloud_graph_host_name:e.cloudGraphHostName,cloud_instance_host_name:e.cloudInstanceHostName},t,!1)}catch(n){throw n instanceof c.lR&&(n.setCorrelationId(this.correlationId),r.cacheFailedRequest(n)),n}}logout(){return Promise.reject(dn(No))}}function ja(e){const t=null===e||void 0===e?void 0:e.idTokenClaims;return null!==t&&void 0!==t&&t.tfp||null!==t&&void 0!==t&&t.acr?"B2C":null!==t&&void 0!==t&&t.tid?"9188040d-6c67-4c5b-b112-36a304b66dad"===(null===t||void 0===t?void 0:t.tid)?"MSA":"AAD":void 0}function za(e,t){try{Mn(e)}catch(r){throw t.end({success:!1},r),r}}class Ma{constructor(e){this.operatingContext=e,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=e.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new ei(this.logger,this.performanceClient):oe,this.eventHandler=new Ti(this.logger),this.browserStorage=this.isBrowserEnvironment?new _i(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function(e){const t=e.cloudDiscoveryMetadata;let r;if(t)try{r=JSON.parse(t)}catch(o){throw Ze(De)}return{canonicalAuthority:e.authority?ai(e.authority):void 0,knownAuthorities:e.knownAuthorities,cloudDiscoveryMetadata:r}}(this.config.auth),this.performanceClient):((e,t)=>{const r={cacheLocation:lo.Al.MemoryStorage,temporaryCacheLocation:lo.Al.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1};return new _i(e,r,oe,t)})(this.config.auth.clientId,this.logger);const t={cacheLocation:lo.Al.MemoryStorage,temporaryCacheLocation:lo.Al.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1};this.nativeInternalStorage=new _i(this.config.auth.clientId,t,this.browserCrypto,this.logger,void 0,this.performanceClient),this.tokenCache=new Pa(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this),this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}static async createController(e,t){const r=new Ma(e);return await r.initialize(t),r}trackPageVisibility(e){e&&(this.logger.info("Perf: Visibility change detected"),this.performanceClient.incrementFields({visibilityChangeCount:1},e))}async initialize(e){if(this.logger.trace("initialize called"),this.initialized)return void this.logger.info("initialize has already been called, exiting early.");if(!this.isBrowserEnvironment)return this.logger.info("in non-browser environment, exiting early."),this.initialized=!0,void this.eventHandler.emitEvent(Ai.B.INITIALIZE_END);const t=(null===e||void 0===e?void 0:e.correlationId)||this.getRequestCorrelationId(),r=this.config.system.allowNativeBroker,o=this.performanceClient.startMeasurement(gr,t);if(this.eventHandler.emitEvent(Ai.B.INITIALIZE_START),r)try{this.nativeExtensionProvider=await ba.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout,this.performanceClient)}catch(n){this.logger.verbose(n)}this.config.cache.claimsBasedCachingEnabled||(this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),await oi(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage),Jr,this.logger,this.performanceClient,t)(this.performanceClient,t)),this.initialized=!0,this.eventHandler.emitEvent(Ai.B.INITIALIZE_END),o.end({allowNativeBroker:r,success:!0})}async handleRedirectPromise(e){if(this.logger.verbose("handleRedirectPromise called"),zn(this.initialized),this.isBrowserEnvironment){const t=e||"";let r=this.redirectResponse.get(t);return"undefined"===typeof r?(r=this.handleRedirectPromiseInternal(e),this.redirectResponse.set(t,r),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise")):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),r}return this.logger.verbose("handleRedirectPromise returns null, not browser environment"),null}async handleRedirectPromiseInternal(e){const t=this.getAllAccounts(),r=this.browserStorage.getCachedNativeRequest(),o=r&&ba.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e,n=o?null===r||void 0===r?void 0:r.correlationId:this.browserStorage.getTemporaryCache(lo._p.CORRELATION_ID,!0)||"",i=this.performanceClient.startMeasurement(Wt,n);let a;if(this.eventHandler.emitEvent(Ai.B.HANDLE_REDIRECT_START,lo.X8.Redirect),o&&this.nativeExtensionProvider){this.logger.trace("handleRedirectPromise - acquiring token from native platform");const e=new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,r.accountId,this.nativeInternalStorage,r.correlationId);a=oi(e.handleRedirectPromise.bind(e),Xr,this.logger,this.performanceClient,i.event.correlationId)(this.performanceClient,i.event.correlationId)}else{this.logger.trace("handleRedirectPromise - acquiring token from web flow");const t=this.createRedirectClient(n);a=oi(t.handleRedirectPromise.bind(t),Yr,this.logger,this.performanceClient,i.event.correlationId)(e,i)}return a.then((e=>{if(e){t.length<this.getAllAccounts().length?(this.eventHandler.emitEvent(Ai.B.LOGIN_SUCCESS,lo.X8.Redirect,e),this.logger.verbose("handleRedirectResponse returned result, login success")):(this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_SUCCESS,lo.X8.Redirect,e),this.logger.verbose("handleRedirectResponse returned result, acquire token success")),i.end({success:!0,accountType:ja(e.account)})}else i.event.errorCode?i.end({success:!1}):i.discard();return this.eventHandler.emitEvent(Ai.B.HANDLE_REDIRECT_END,lo.X8.Redirect),e})).catch((e=>{const r=e;throw t.length>0?this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_FAILURE,lo.X8.Redirect,null,r):this.eventHandler.emitEvent(Ai.B.LOGIN_FAILURE,lo.X8.Redirect,null,r),this.eventHandler.emitEvent(Ai.B.HANDLE_REDIRECT_END,lo.X8.Redirect),i.end({success:!1},r),e}))}async acquireTokenRedirect(e){const t=this.getRequestCorrelationId(e);this.logger.verbose("acquireTokenRedirect called",t);const r=this.performanceClient.startMeasurement(Ut,t);r.add({accountType:ja(e.account),scenarioId:e.scenarioId});const o=e.onRedirectNavigate;if(o)e.onRedirectNavigate=e=>{const t="function"===typeof o?o(e):void 0;return!1!==t?r.end({success:!0}):r.discard(),t};else{const e=this.config.auth.onRedirectNavigate;this.config.auth.onRedirectNavigate=t=>{const o="function"===typeof e?e(t):void 0;return!1!==o?r.end({success:!0}):r.discard(),o}}const n=this.getAllAccounts().length>0;try{let o;if(Ln(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0),n?this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_START,lo.X8.Redirect,e):this.eventHandler.emitEvent(Ai.B.LOGIN_START,lo.X8.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)){o=new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,t).acquireTokenRedirect(e,r).catch((r=>{if(r instanceof ca&&ua(r)){this.nativeExtensionProvider=void 0;return this.createRedirectClient(t).acquireToken(e)}if(r instanceof pi){this.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");return this.createRedirectClient(t).acquireToken(e)}throw this.browserStorage.setInteractionInProgress(!1),r}))}else{o=this.createRedirectClient(t).acquireToken(e)}return await o}catch(i){throw r.end({success:!1},i),n?this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_FAILURE,lo.X8.Redirect,null,i):this.eventHandler.emitEvent(Ai.B.LOGIN_FAILURE,lo.X8.Redirect,null,i),i}}acquireTokenPopup(e){const t=this.getRequestCorrelationId(e),r=this.performanceClient.startMeasurement(Ht,t);r.add({scenarioId:e.scenarioId,accountType:ja(e.account)});try{this.logger.verbose("acquireTokenPopup called",t),za(this.initialized,r),this.browserStorage.setInteractionInProgress(!0)}catch(a){return Promise.reject(a)}const n=this.getAllAccounts();let i;if(n.length>0?this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_START,lo.X8.Popup,e):this.eventHandler.emitEvent(Ai.B.LOGIN_START,lo.X8.Popup,e),this.canUseNative(e))i=this.acquireTokenNative((0,o.A)((0,o.A)({},e),{},{correlationId:t}),lo.sA.acquireTokenPopup).then((e=>(this.browserStorage.setInteractionInProgress(!1),r.end({success:!0,isNativeBroker:!0,accountType:ja(e.account)}),e))).catch((r=>{if(r instanceof ca&&ua(r)){this.nativeExtensionProvider=void 0;return this.createPopupClient(t).acquireToken(e)}if(r instanceof pi){this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");return this.createPopupClient(t).acquireToken(e)}throw this.browserStorage.setInteractionInProgress(!1),r}));else{i=this.createPopupClient(t).acquireToken(e)}return i.then((e=>(n.length<this.getAllAccounts().length?this.eventHandler.emitEvent(Ai.B.LOGIN_SUCCESS,lo.X8.Popup,e):this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_SUCCESS,lo.X8.Popup,e),r.end({success:!0,accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length,accountType:ja(e.account)}),e))).catch((e=>(n.length>0?this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_FAILURE,lo.X8.Popup,null,e):this.eventHandler.emitEvent(Ai.B.LOGIN_FAILURE,lo.X8.Popup,null,e),r.end({success:!1},e),Promise.reject(e))))}trackPageVisibilityWithMeasurement(){const e=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;e&&(this.logger.info("Perf: Visibility change detected in ",e.event.name),e.increment({visibilityChangeCount:1}))}async ssoSilent(e){var t,r;const n=this.getRequestCorrelationId(e),i=(0,o.A)((0,o.A)({},e),{},{prompt:e.prompt,correlationId:n});let a;if(this.ssoSilentMeasurement=this.performanceClient.startMeasurement(Zt,n),null===(t=this.ssoSilentMeasurement)||void 0===t||t.add({scenarioId:e.scenarioId,accountType:ja(e.account)}),za(this.initialized,this.ssoSilentMeasurement),null===(r=this.ssoSilentMeasurement)||void 0===r||r.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),this.logger.verbose("ssoSilent called",n),this.eventHandler.emitEvent(Ai.B.SSO_SILENT_START,lo.X8.Silent,i),this.canUseNative(i))a=this.acquireTokenNative(i,lo.sA.ssoSilent).catch((e=>{if(e instanceof ca&&ua(e)){this.nativeExtensionProvider=void 0;return this.createSilentIframeClient(i.correlationId).acquireToken(i)}throw e}));else{a=this.createSilentIframeClient(i.correlationId).acquireToken(i)}return a.then((e=>{var t;return this.eventHandler.emitEvent(Ai.B.SSO_SILENT_SUCCESS,lo.X8.Silent,e),null===(t=this.ssoSilentMeasurement)||void 0===t||t.end({success:!0,isNativeBroker:e.fromNativeBroker,accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length,accountType:ja(e.account)}),e})).catch((e=>{var t;throw this.eventHandler.emitEvent(Ai.B.SSO_SILENT_FAILURE,lo.X8.Silent,null,e),null===(t=this.ssoSilentMeasurement)||void 0===t||t.end({success:!1},e),e})).finally((()=>{document.removeEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement)}))}async acquireTokenByCode(e){const t=this.getRequestCorrelationId(e);this.logger.trace("acquireTokenByCode called",t);const r=this.performanceClient.startMeasurement(Lt,t);za(this.initialized,r),this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_BY_CODE_START,lo.X8.Silent,e),r.add({scenarioId:e.scenarioId});try{if(e.code&&e.nativeAccountId)throw dn(Xo);if(e.code){const n=e.code;let i=this.hybridAuthCodeResponses.get(n);return i?(this.logger.verbose("Existing acquireTokenByCode request found",t),r.discard()):(this.logger.verbose("Initiating new acquireTokenByCode request",t),i=this.acquireTokenByCodeAsync((0,o.A)((0,o.A)({},e),{},{correlationId:t})).then((e=>(this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_BY_CODE_SUCCESS,lo.X8.Silent,e),this.hybridAuthCodeResponses.delete(n),r.end({success:!0,isNativeBroker:e.fromNativeBroker,accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length,accountType:ja(e.account)}),e))).catch((e=>{throw this.hybridAuthCodeResponses.delete(n),this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_BY_CODE_FAILURE,lo.X8.Silent,null,e),r.end({success:!1},e),e})),this.hybridAuthCodeResponses.set(n,i)),await i}if(e.nativeAccountId){if(this.canUseNative(e,e.nativeAccountId)){const n=await this.acquireTokenNative((0,o.A)((0,o.A)({},e),{},{correlationId:t}),lo.sA.acquireTokenByCode,e.nativeAccountId).catch((e=>{throw e instanceof ca&&ua(e)&&(this.nativeExtensionProvider=void 0),e}));return r.end({accountType:ja(n.account),success:!0}),n}throw dn(Zo)}throw dn(Yo)}catch(n){throw this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_BY_CODE_FAILURE,lo.X8.Silent,null,n),r.end({success:!1},n),n}}async acquireTokenByCodeAsync(e){var t;this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(Vr,e.correlationId),null===(t=this.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement);const r=this.createSilentAuthCodeClient(e.correlationId);return await r.acquireToken(e).then((e=>{var t;return null===(t=this.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.end({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker}),e})).catch((e=>{var t;throw null===(t=this.acquireTokenByCodeAsyncMeasurement)||void 0===t||t.end({success:!1},e),e})).finally((()=>{document.removeEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement)}))}async acquireTokenFromCache(e,t){switch(this.performanceClient.addQueueMeasurement(cr,e.correlationId),t){case lo.nN.Default:case lo.nN.AccessToken:case lo.nN.AccessTokenAndRefreshToken:const t=this.createSilentCacheClient(e.correlationId);return oi(t.acquireToken.bind(t),Vt,this.logger,this.performanceClient,e.correlationId)(e);default:throw re(H)}}async acquireTokenByRefreshToken(e,t){switch(this.performanceClient.addQueueMeasurement(Dt,e.correlationId),t){case lo.nN.Default:case lo.nN.AccessTokenAndRefreshToken:case lo.nN.RefreshToken:case lo.nN.RefreshTokenAndNetwork:const t=this.createSilentRefreshClient(e.correlationId);return oi(t.acquireToken.bind(t),Qt,this.logger,this.performanceClient,e.correlationId)(e);default:throw re(H)}}async acquireTokenBySilentIframe(e){this.performanceClient.addQueueMeasurement(fr,e.correlationId);const t=this.createSilentIframeClient(e.correlationId);return oi(t.acquireToken.bind(t),Yt,this.logger,this.performanceClient,e.correlationId)(e)}async logout(e){const t=this.getRequestCorrelationId(e);return this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",t),this.logoutRedirect((0,o.A)({correlationId:t},e))}async logoutRedirect(e){const t=this.getRequestCorrelationId(e);Ln(this.initialized,this.config),this.browserStorage.setInteractionInProgress(!0);return this.createRedirectClient(t).logout(e)}logoutPopup(e){try{const t=this.getRequestCorrelationId(e);Mn(this.initialized),this.browserStorage.setInteractionInProgress(!0);return this.createPopupClient(t).logout(e)}catch(t){return Promise.reject(t)}}async clearCache(e){if(!this.isBrowserEnvironment)return void this.logger.info("in non-browser environment, returning early.");const t=this.getRequestCorrelationId(e);return this.createSilentCacheClient(t).logout(e)}getAllAccounts(e){return function(e,t,r,o){return e.verbose("getAllAccounts called"),r?t.getAllAccounts(o):[]}(this.logger,this.browserStorage,this.isBrowserEnvironment,e)}getAccount(e){return function(e,t,r){if(t.trace("getAccount called"),0===Object.keys(e).length)return t.warning("getAccount: No accountFilter provided"),null;const o=r.getAccountInfoFilteredBy(e);return o?(t.verbose("getAccount: Account matching provided filter found, returning"),o):(t.verbose("getAccount: No matching account found, returning null"),null)}(e,this.logger,this.browserStorage)}getAccountByUsername(e){return function(e,t,r){if(t.trace("getAccountByUsername called"),!e)return t.warning("getAccountByUsername: No username provided"),null;const o=r.getAccountInfoFilteredBy({username:e});return o?(t.verbose("getAccountByUsername: Account matching username found, returning"),t.verbosePii("getAccountByUsername: Returning signed-in accounts matching username: ".concat(e)),o):(t.verbose("getAccountByUsername: No matching account found, returning null"),null)}(e,this.logger,this.browserStorage)}getAccountByHomeId(e){return function(e,t,r){if(t.trace("getAccountByHomeId called"),!e)return t.warning("getAccountByHomeId: No homeAccountId provided"),null;const o=r.getAccountInfoFilteredBy({homeAccountId:e});return o?(t.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),t.verbosePii("getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ".concat(e)),o):(t.verbose("getAccountByHomeId: No matching account found, returning null"),null)}(e,this.logger,this.browserStorage)}getAccountByLocalId(e){return function(e,t,r){if(t.trace("getAccountByLocalId called"),!e)return t.warning("getAccountByLocalId: No localAccountId provided"),null;const o=r.getAccountInfoFilteredBy({localAccountId:e});return o?(t.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),t.verbosePii("getAccountByLocalId: Returning signed-in accounts matching localAccountId: ".concat(e)),o):(t.verbose("getAccountByLocalId: No matching account found, returning null"),null)}(e,this.logger,this.browserStorage)}setActiveAccount(e){!function(e,t){t.setActiveAccount(e)}(e,this.browserStorage)}getActiveAccount(){return this.browserStorage.getActiveAccount()}async hydrateCache(e,t){this.logger.verbose("hydrateCache called");const r=ht.createFromAccountInfo(e.account,e.cloudGraphHostName,e.msGraphHost);return this.browserStorage.setAccount(r),e.fromNativeBroker?(this.logger.verbose("Response was from native broker, storing in-memory"),this.nativeInternalStorage.hydrateCache(e,t)):this.browserStorage.hydrateCache(e,t)}async acquireTokenNative(e,t,r){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw dn(en);return new va(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,t,this.performanceClient,this.nativeExtensionProvider,r||this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId).acquireToken(e)}canUseNative(e,t){if(this.logger.trace("canUseNative called"),!ba.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(e.prompt)switch(e.prompt){case i._M.NONE:case i._M.CONSENT:case i._M.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = ".concat(e.prompt," is not compatible with native flow, returning false")),!1}return!(!t&&!this.getNativeAccountId(e))||(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1)}getNativeAccountId(e){const t=e.account||this.getAccount({loginHint:e.loginHint,sid:e.sid})||this.getActiveAccount();return t&&t.nativeAccountId||""}createPopupClient(e){return new ka(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)}createRedirectClient(e){return new Ca(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)}createSilentIframeClient(e){return new Ia(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)}createSilentCacheClient(e){return new pa(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)}createSilentRefreshClient(e){return new Na(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)}createSilentAuthCodeClient(e){return new Oa(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,lo.sA.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,e)}addEventCallback(e,t){return this.eventHandler.addEventCallback(e,t)}removeEventCallback(e){this.eventHandler.removeEventCallback(e)}addPerformanceCallback(e){return jn(),this.performanceClient.addPerformanceCallback(e)}removePerformanceCallback(e){return this.performanceClient.removePerformanceCallback(e)}enableAccountStorageEvents(){"undefined"!==typeof window&&(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){"undefined"!==typeof window&&(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}handleAccountCacheChange(e){try{var t;null!==(t=e.key)&&void 0!==t&&t.includes(i.Gd.ACTIVE_ACCOUNT_FILTERS)&&this.eventHandler.emitEvent(Ai.B.ACTIVE_ACCOUNT_CHANGED);const r=e.newValue||e.oldValue;if(!r)return;const o=JSON.parse(r);if("object"!==typeof o||!ht.isAccountEntity(o))return;const n=At.toObject(new ht,o).getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.eventHandler.emitEvent(Ai.B.ACCOUNT_ADDED,void 0,n)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.eventHandler.emitEvent(Ai.B.ACCOUNT_REMOVED,void 0,n))}catch(e){return}}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(e){this.logger=e}initializeWrapperLibrary(e,t){this.browserStorage.setWrapperMetadata(e,t)}setNavigationClient(e){this.navigationClient=e}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}isBrowserEnv(){return this.isBrowserEnvironment}getRequestCorrelationId(e){return null!==e&&void 0!==e&&e.correlationId?e.correlationId:this.isBrowserEnvironment?Tn():i.YM.EMPTY_STRING}async loginRedirect(e){const t=this.getRequestCorrelationId(e);return this.logger.verbose("loginRedirect called",t),this.acquireTokenRedirect((0,o.A)({correlationId:t},e||lo.uq))}loginPopup(e){const t=this.getRequestCorrelationId(e);return this.logger.verbose("loginPopup called",t),this.acquireTokenPopup((0,o.A)({correlationId:t},e||lo.uq))}async acquireTokenSilent(e){const t=this.getRequestCorrelationId(e),r=this.performanceClient.startMeasurement(Ft,t);r.add({cacheLookupPolicy:e.cacheLookupPolicy,scenarioId:e.scenarioId}),za(this.initialized,r),this.logger.verbose("acquireTokenSilent called",t);const n=e.account||this.getActiveAccount();if(!n)throw dn(Po);r.add({accountType:ja(n)});const a={clientId:this.config.auth.clientId,authority:e.authority||i.YM.EMPTY_STRING,scopes:e.scopes,homeAccountIdentifier:n.homeAccountId,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid,shrOptions:e.shrOptions},s=JSON.stringify(a),l=this.activeSilentTokenRequests.get(s);if("undefined"===typeof l){this.logger.verbose("acquireTokenSilent called for the first time, storing active request",t);const i=oi(this.acquireTokenSilentAsync.bind(this),qt,this.logger,this.performanceClient,t)((0,o.A)((0,o.A)({},e),{},{correlationId:t}),n).then((t=>(this.activeSilentTokenRequests.delete(s),r.end({success:!0,fromCache:t.fromCache,isNativeBroker:t.fromNativeBroker,cacheLookupPolicy:e.cacheLookupPolicy,accessTokenSize:t.accessToken.length,idTokenSize:t.idToken.length}),t))).catch((e=>{throw this.activeSilentTokenRequests.delete(s),r.end({success:!1},e),e}));return this.activeSilentTokenRequests.set(s,i),(0,o.A)((0,o.A)({},await i),{},{state:e.state})}return this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",t),r.discard(),(0,o.A)((0,o.A)({},await l),{},{state:e.state})}async acquireTokenSilentAsync(e,t){const r=()=>this.trackPageVisibility(e.correlationId);this.performanceClient.addQueueMeasurement(qt,e.correlationId),this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_START,lo.X8.Silent,e),e.correlationId&&this.performanceClient.incrementFields({visibilityChangeCount:0},e.correlationId),document.addEventListener("visibilitychange",r);const o=await oi(oa,pr,this.logger,this.performanceClient,e.correlationId)(e,t,this.config,this.performanceClient,this.logger),n=e.cacheLookupPolicy||lo.nN.Default;return this.acquireTokenSilentNoIframe(o,n).catch((async e=>{const t=function(e,t){const r=!(e instanceof pi&&e.subError!==ui),o=e.errorCode===lo.Q1.INVALID_GRANT_ERROR||e.errorCode===H,n=r&&o||e.errorCode===si||e.errorCode===ci,i=lo.JE.includes(t);return n&&i}(e,n);if(t){if(this.activeIframeRequest){if(n!==lo.nN.Skip){const[t,r]=this.activeIframeRequest;this.logger.verbose("Iframe request is already in progress, awaiting resolution for request with correlationId: ".concat(r),o.correlationId);const i=this.performanceClient.startMeasurement(Xt,o.correlationId);i.add({awaitIframeCorrelationId:r});const a=await t;if(i.end({success:a}),a)return this.logger.verbose("Parallel iframe request with correlationId: ".concat(r," succeeded. Retrying cache and/or RT redemption"),o.correlationId),this.acquireTokenSilentNoIframe(o,n);throw this.logger.info("Iframe request with correlationId: ".concat(r," failed. Interaction is required.")),e}return this.logger.warning("Another iframe request is currently in progress and CacheLookupPolicy is set to Skip. This may result in degraded performance and/or reliability for both calls. Please consider changing the CacheLookupPolicy to take advantage of request queuing and token cache.",o.correlationId),oi(this.acquireTokenBySilentIframe.bind(this),fr,this.logger,this.performanceClient,o.correlationId)(o)}{let e;return this.activeIframeRequest=[new Promise((t=>{e=t})),o.correlationId],this.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",o.correlationId),oi(this.acquireTokenBySilentIframe.bind(this),fr,this.logger,this.performanceClient,o.correlationId)(o).then((t=>(e(!0),t))).catch((t=>{throw e(!1),t})).finally((()=>{this.activeIframeRequest=void 0}))}}throw e})).then((t=>(this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_SUCCESS,lo.X8.Silent,t),e.correlationId&&this.performanceClient.addFields({fromCache:t.fromCache,isNativeBroker:t.fromNativeBroker},e.correlationId),t))).catch((e=>{throw this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_FAILURE,lo.X8.Silent,null,e),e})).finally((()=>{document.removeEventListener("visibilitychange",r)}))}async acquireTokenSilentNoIframe(e,t){return ba.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme)&&e.account.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),this.acquireTokenNative(e,lo.sA.acquireTokenSilent_silentFlow).catch((async e=>{if(e instanceof ca&&ua(e))throw this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,re(H);throw e}))):(this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),oi(this.acquireTokenFromCache.bind(this),cr,this.logger,this.performanceClient,e.correlationId)(e,t).catch((r=>{if(t===lo.nN.AccessToken)throw r;return this.eventHandler.emitEvent(Ai.B.ACQUIRE_TOKEN_NETWORK_START,lo.X8.Silent,e),oi(this.acquireTokenByRefreshToken.bind(this),Dt,this.logger,this.performanceClient,e.correlationId)(e,t)})))}}class La{static async createPublicClientApplication(e){const t=await async function(e,t){const r=new Un(e);return await r.initialize(),Ma.createController(r,t)}(e);return new La(e,t)}constructor(e,t){this.controller=t||new Ma(new Un(e))}async initialize(e){return this.controller.initialize(e)}async acquireTokenPopup(e){return this.controller.acquireTokenPopup(e)}acquireTokenRedirect(e){return this.controller.acquireTokenRedirect(e)}acquireTokenSilent(e){return this.controller.acquireTokenSilent(e)}acquireTokenByCode(e){return this.controller.acquireTokenByCode(e)}addEventCallback(e,t){return this.controller.addEventCallback(e,t)}removeEventCallback(e){return this.controller.removeEventCallback(e)}addPerformanceCallback(e){return this.controller.addPerformanceCallback(e)}removePerformanceCallback(e){return this.controller.removePerformanceCallback(e)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(e){return this.controller.getAccount(e)}getAccountByHomeId(e){return this.controller.getAccountByHomeId(e)}getAccountByLocalId(e){return this.controller.getAccountByLocalId(e)}getAccountByUsername(e){return this.controller.getAccountByUsername(e)}getAllAccounts(e){return this.controller.getAllAccounts(e)}handleRedirectPromise(e){return this.controller.handleRedirectPromise(e)}loginPopup(e){return this.controller.loginPopup(e)}loginRedirect(e){return this.controller.loginRedirect(e)}logout(e){return this.controller.logout(e)}logoutRedirect(e){return this.controller.logoutRedirect(e)}logoutPopup(e){return this.controller.logoutPopup(e)}ssoSilent(e){return this.controller.ssoSilent(e)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(e){this.controller.setLogger(e)}setActiveAccount(e){this.controller.setActiveAccount(e)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(e,t){return this.controller.initializeWrapperLibrary(e,t)}setNavigationClient(e){this.controller.setNavigationClient(e)}getConfiguration(){return this.controller.getConfiguration()}async hydrateCache(e,t){return this.controller.hydrateCache(e,t)}clearCache(e){return this.controller.clearCache(e)}}const Da="4194f3bf-50d1-4eae-8deb-0984997ac7e9",Fa="https://login.microsoftonline.com/".concat(Da),qa="".concat(window.location.protocol,"//").concat(window.location.host),Ha=new La({auth:{clientId:"20c812b1-6961-444b-ba66-e9ea41e3a71c",authority:Fa,redirectUri:qa},cache:{cacheLocation:"localStorage",storeAuthStateInCookie:!0}}),Ua="api://".concat("20c812b1-6961-444b-ba66-e9ea41e3a71c","/").concat("access_as_user"),Wa=Ha},4932:(e,t,r)=>{"use strict";r.d(t,{e:()=>n});var o=r(965);const n=e=>{const t=o.A.getTeamMemberPhotoUrl(e.id);return{color:"colorful",name:e.name,image:{src:t}}}},5697:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var o=r(7051),n=r(4845),i=r(6755),a=r(9371),s=r(286),l=r(2529),c=r(4117),u=r(1522),d=r(53),f=r(579);const h=(0,n.n)({scrollDownBtn:{position:"absolute",left:"50%",bottom:"2rem",transform:"translateX(-50%)",zIndex:3,background:"rgba(255,255,255,0.85)",color:d.n.colorDarkBlue,border:"none",borderRadius:"2rem",padding:"0.5rem 1.5rem",fontWeight:600,fontSize:"1rem",cursor:"pointer",boxShadow:"0 2px 8px rgba(0,0,0,0.08)",display:"none",alignItems:"center",gap:"0.5rem",transition:"background 0.2s","&:hover":{background:"#e6f0fa"}},scrollDownIcon:{fontSize:"1.5rem"}}),p=e=>{const t=h();return(0,f.jsx)("button",{className:t.scrollDownBtn,onClick:e.onClick,"aria-label":"Scroll Down",children:(0,f.jsx)(u.cmU,{className:t.scrollDownIcon})})};var g=r(4211),m=r(3460),v=r(906);const b=(0,n.n)({buttonGroup:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:"1rem","@media (max-width: 768px)":{flexDirection:"column",alignItems:"stretch",gap:"0.75rem"}},ctaLink:{textDecoration:"none"},ctaButton:{backgroundColor:"white !important",color:d.n.colorDarkBlue,padding:"1rem 1.5rem !important",fontWeight:"600 !important",borderRadius:"0.5rem !important",border:"none !important",cursor:"pointer !important",transition:"transform 0.2s ease, color 0.2s ease, background-color 0.2s ease !important",marginTop:"1.5rem !important",fontSize:"1rem !important","&:hover":{transform:"translateY(-3px) !important",color:d.n.colorDarkBlue60},"&:active":{color:"".concat(d.n.colorLightBlue," !important")},"@media (max-width: 768px)":{width:"100% !important"}},secondaryLink:{textDecoration:"none"},secondaryButton:{color:"white !important",padding:"1rem 1.5rem !important",fontWeight:"600 !important",borderRadius:"0.5rem !important",cursor:"pointer !important",transition:"transform 0.2s ease, color 0.2s ease, background-color 0.2s ease !important",marginTop:"1.5rem !important",fontSize:"1rem !important","&:hover":{transform:"translateY(-3px) !important"},"&:active":{backgroundColor:"white !important",color:"".concat(d.n.colorLightBlue," !important")}}}),y=e=>{const{cta:t}=e,r=b();return(0,f.jsx)(v.N_,{to:null===t||void 0===t?void 0:t.url,className:r.ctaLink,children:(0,f.jsx)(g.$,{type:"button",appearance:"primary",className:r.ctaButton,children:null===t||void 0===t?void 0:t.text})})},w=e=>{const{cta:t}=e,r=b();return t.tooltip?(0,f.jsx)(m.m,{content:t.tooltip,relationship:"label",children:(0,f.jsx)(v.N_,{to:null===t||void 0===t?void 0:t.url,className:r.secondaryLink,children:(0,f.jsx)(g.$,{appearance:"outline",className:r.secondaryButton,children:null===t||void 0===t?void 0:t.text})})}):(0,f.jsx)(v.N_,{to:null===t||void 0===t?void 0:t.url,className:r.secondaryLink,children:(0,f.jsx)(g.$,{appearance:"outline",className:r.secondaryButton,children:null===t||void 0===t?void 0:t.text})})},k=e=>{const{primaryCta:t,secondaryCta:r}=e,o=b();return(0,f.jsxs)("div",{className:o.buttonGroup,children:[t&&(0,f.jsx)(y,{cta:t}),r&&(0,f.jsx)(w,{cta:r})]})},x=(0,n.n)({hero:{position:"relative",height:"100vh",backgroundPosition:"center",backgroundSize:"cover",display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",overflow:"hidden"},heroOverlay:{position:"relative","&::before":{content:"''",position:"absolute",inset:0,backgroundSize:"cover",backgroundPosition:"center",filter:"brightness(40%)",zIndex:0}},videoPlayer:{width:"100%",height:"100%",objectFit:"cover",position:"absolute",inset:0,zIndex:0,filter:"brightness(40%)"},videoContainer:{position:"absolute",top:0,left:0,width:"100vw",height:"100vh",zIndex:0,overflow:"hidden",pointerEvents:"none"},backgroundVideo:{width:"100vw",height:"100vh",objectFit:"cover",position:"absolute",top:0,left:0,zIndex:0,pointerEvents:"none"},heroContentWrapper:{zIndex:2,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",width:"100%",height:"94vh",position:"relative","@media (max-width: 900px)":{flexDirection:"column",height:"auto"}},content:{flex:1,display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"center",padding:"2rem 3rem",color:"white",maxWidth:"700px",zIndex:2,borderLeft:"1px solid white","@media (max-width: 900px)":{alignItems:"center",padding:"2rem 1rem",maxWidth:"100%",borderLeft:"none",textAlign:"center"}},title:{color:"white",textAlign:"left",width:"100%",fontSize:"4em",lineHeight:"1.25em",marginBottom:"1rem","@media (max-width: 900px)":{textAlign:"center",fontSize:"3em"}},description:{color:"white",textAlign:"left",maxWidth:"800px",marginBottom:"1.5rem",width:"100%","@media (max-width: 900px)":{textAlign:"center"}},badge:{display:"inline-block",padding:"0.4rem 0.8rem",backgroundColor:"transparent",color:"white",borderRadius:"0.5rem !important",border:"none",fontSize:"12px",fontWeight:"var(--fontWeightSemibold)",textTransform:"uppercase",letterSpacing:"0.5px"},logoList:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",marginRight:"2rem",minWidth:"120px",position:"relative"},logoBadge:{marginBottom:"0.5rem",border:"1px white solid",borderRadius:"2rem",fontSize:"1rem",fontWeight:300,letterSpacing:"0.05em",zIndex:2,alignSelf:"center",display:"inline-block",padding:"0.4rem 0.8rem",backgroundColor:"transparent",color:"white"},logoColumn:{display:"flex",flexDirection:"column",gap:"0.5em",alignItems:"center"},logoItem:{width:"120px",height:"60px",borderRadius:"0.5rem",display:"flex",alignItems:"center",justifyContent:"center",padding:"0rem"},logoItemHelpdesk:{width:"150px",height:"80px"},logoImg:{maxWidth:"75%",maxHeight:"75%",objectFit:"contain",display:"block"},logoImgHelpdesk:{maxHeight:"100%"},heroRow:{display:"flex",flexDirection:"row",alignItems:"flex-start",width:"100%",justifyContent:"center",gap:"2rem"},clientLogos:{"@media (max-width: 900px)":{display:"none"}},ctaContainer:{display:"flex",flexDirection:"row",gap:"var(--spacing-horizontal-m)",alignItems:"center","@media (max-width: 768px)":{flexDirection:"column",gap:"var(--spacing-vertical-m)",alignItems:"stretch"}}}),C=e=>{let{logos:t}=e;const{t:r}=(0,c.Bd)("home"),o=x();if(!t||0===t.length)return null;const n="true"==="false".toLowerCase();return(0,f.jsxs)("div",{className:o.logoList,children:[(0,f.jsx)("span",{className:o.logoBadge,children:r("hero.trustedBy")}),(0,f.jsx)("div",{className:o.logoColumn,children:t.map((e=>(0,f.jsx)("div",{className:(0,i.z)(o.logoItem,n&&o.logoItemHelpdesk),children:(0,f.jsx)("img",{src:e.src,alt:e.alt,className:(0,i.z)(o.logoImg,n&&o.logoImgHelpdesk)})},e.src)))})]})};function S(e){if(!e)return;const t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}const _=e=>{const t=x(),r=(0,i.z)(t.hero,t.heroOverlay),o=(0,l.Z)(r,{"::before":{backgroundImage:"url(".concat(e.imageUri,")")}});return(0,f.jsxs)("section",{className:o,children:[(0,f.jsx)("div",{className:t.heroContentWrapper,children:(0,f.jsxs)("div",{className:t.heroRow,children:[e.clientLogos&&e.clientLogos.length>0&&(0,f.jsx)(C,{logos:e.clientLogos}),(0,f.jsxs)("div",{className:t.content,children:[(0,f.jsx)(a.m,{block:!0,as:"h1",className:t.title,children:e.title}),(0,f.jsx)(s.E,{block:!0,as:"h3",className:t.description,size:500,children:e.subtitle}),(0,f.jsx)("div",{className:t.ctaContainer,children:(0,f.jsx)(k,{primaryCta:e.cta,secondaryCta:e.secondaryCta})})]})]})}),!1!==e.showScrollHint&&(0,f.jsx)(p,{onClick:()=>S(e.scrollTargetId)})]})},A=e=>{const t=x();return(0,f.jsxs)("div",{className:t.hero,children:[(0,f.jsx)("div",{className:t.videoContainer,children:(0,f.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"".concat(t.videoPlayer," ").concat(t.backgroundVideo),poster:e.videoPreviewUri,preload:"auto",controls:!1,children:(0,f.jsx)("source",{type:"video/mp4",src:e.videoUri})})}),(0,f.jsx)("div",{className:t.heroContentWrapper,children:(0,f.jsxs)("div",{className:t.heroRow,children:[e.clientLogos&&e.clientLogos.length>0&&(0,f.jsx)("div",{className:t.clientLogos,children:(0,f.jsx)(C,{logos:e.clientLogos})}),(0,f.jsxs)("div",{className:t.content,children:[(0,f.jsx)(a.m,{as:"h1",align:"start",block:!0,className:t.title,children:(0,f.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(0,f.jsx)(s.E,{as:"h3",size:500,align:"start",block:!0,className:t.description,style:{marginBottom:"1.5rem"},children:e.subtitle}),(0,f.jsx)("div",{className:t.ctaContainer,children:(0,f.jsx)(k,{primaryCta:e.cta,secondaryCta:e.secondaryCta})})]})]})}),!1!==e.showScrollHint&&(0,f.jsx)(p,{onClick:()=>S(e.scrollTargetId)})]})};function T(e){if(x(),e.imageUri&&e.videoUri)throw new Error("Hero component requires either an image or a video URI, but not both.");if(e.imageUri)return(0,f.jsx)(_,(0,o.A)({},e));if(e.videoUri&&!e.videoPreviewUri)throw new Error("Hero component requires a video preview URI when using a video URI.");if(e.videoUri)return(0,f.jsx)(A,(0,o.A)({},e));throw new Error("Hero component requires either an image or a video URI.")}},5539:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var o=r(4845),n=r(9371),i=r(286),a=r(8170),s=r(9685),l=r(4117),c=r(579);const u=(0,o.n)({title:{color:"white",textAlign:"center",marginBottom:"1rem"},description:{color:"white",textAlign:"center",maxWidth:"800px"},skeletons:{display:"grid",gap:"1rem",margin:"2rem"},skeleton:{height:"10vh"}});function d(){const{t:e}=(0,l.Bd)("general"),t=u();return(0,c.jsx)("div",{id:"placeholder",children:(0,c.jsx)("main",{children:(0,c.jsxs)("div",{children:[(0,c.jsxs)("section",{className:"hero",children:[(0,c.jsx)("div",{className:"hero-overlay"}),(0,c.jsxs)("div",{className:"image-container",children:[(0,c.jsx)(n.m,{block:!0,as:"h1",className:t.title,children:e("companyName")}),(0,c.jsx)(i.E,{block:!0,as:"h3",className:t.description,size:500,children:e("loading")})]})]}),(0,c.jsx)("section",{children:(0,c.jsxs)("div",{className:t.skeletons,children:[(0,c.jsx)(a.E,{className:t.skeleton,children:(0,c.jsx)(s.H,{shape:"rectangle",className:t.skeleton})}),(0,c.jsx)(a.E,{className:t.skeleton,children:(0,c.jsx)(s.H,{shape:"rectangle",className:t.skeleton})}),(0,c.jsx)(a.E,{className:t.skeleton,children:(0,c.jsx)(s.H,{shape:"rectangle",className:t.skeleton})})]})})]})})})}},6676:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,D:()=>l});var o=r(5043),n=r(7907),i=r(579);const a=(0,o.createContext)({pageMeta:[],isLoading:!0}),s=()=>(0,o.useContext)(a),l=e=>{let{children:t}=e;const[r,s]=(0,o.useState)([]),[l,c]=(0,o.useState)(!0);return(0,o.useEffect)((()=>{n.A.getPagePreviews().then((e=>{s(e),c(!1)})).catch((()=>c(!1)))}),[]),(0,i.jsx)(a.Provider,{value:{pageMeta:r,isLoading:l},children:t})}},1373:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=function(e){return e.NEURAL="NEURAL",e.LOADING="LOADING",e.LOAD_SUCCESS="LOAD_SUCCESS",e.LOAD_ERROR="LOAD_ERROR",e.SAVING="SAVING",e.SAVE_SUCCESS="SAVE_SUCCESS",e.SAVE_ERROR="SAVE_ERROR",e.DELETING="DELETING",e.DELETE_SUCCESS="DELETE_SUCCESS",e.DELETE_ERROR="DELETE_ERROR",e}(o||{});const n=o},7487:(e,t,r)=>{"use strict";r.d(t,{R:()=>l});var o=r(5043);function n(e){return 1-Math.pow(1-e,3)}function i(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2}function a(e,t){var r;if("undefined"===typeof window)return;const o=null!==(r=t.duration)&&void 0!==r?r:900,a="quart"===t.easing?i:n,s=window.scrollY||window.pageYOffset,l=e-s,c=performance.now();t.animatingRef.current=!0,requestAnimationFrame((function e(r){const n=Math.min(1,(r-c)/o);var i;window.scrollTo(0,s+l*a(n)),n<1?requestAnimationFrame(e):(t.animatingRef.current=!1,null===(i=t.onDone)||void 0===i||i.call(t))}))}function s(e){let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t}function l(e,t){let{duration:r=900,easing:n="quart",heroCapturePx:i=30,upCapturePx:l=0,headerOffset:c=0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,o.useRef)(!1),d=(0,o.useRef)(null),f=(0,o.useCallback)((()=>{const e=document.getElementById(t);if(!e)return;a(s(e)-c,{duration:r,easing:n,animatingRef:u,onDone:()=>e.scrollIntoView({behavior:"auto",block:"start"})})}),[t,r,n,c]),h=(0,o.useCallback)((()=>{a(0,{duration:r,easing:n,animatingRef:u})}),[r,n]),p=()=>{const t=(()=>{const t=document.getElementById(e);return t?s(t)+t.offsetHeight:null})();if(null==t)return!1;return(window.scrollY||window.pageYOffset)<=t+l},g=()=>{const t=document.getElementById(e);return!!t&&t.getBoundingClientRect().bottom-c>0},m=(0,o.useCallback)((function(e){if(u.current)return void e.preventDefault();const t=window.scrollY||window.pageYOffset;e.deltaY>0&&t<=i?(e.preventDefault(),f()):e.deltaY<0&&p()&&(e.preventDefault(),h())}),[i,f,h,p]),v=(0,o.useCallback)((e=>{if(u.current)return void e.preventDefault();const t=window.scrollY||window.pageYOffset;[" ","PageDown","ArrowDown"].includes(e.key)&&t<=i?(e.preventDefault(),f()):["PageUp","ArrowUp"].includes(e.key)&&(p()||g())&&(e.preventDefault(),h())}),[i,f,h]),b=e=>{d.current=e.touches[0].clientY},y=e=>{if(u.current)return void e.preventDefault();if(null==d.current)return;const t=d.current-e.touches[0].clientY,r=window.scrollY||window.pageYOffset;t>10&&r<=i?(e.preventDefault(),f()):t<-10&&(p()||g())&&(e.preventDefault(),h())};(0,o.useEffect)((()=>(window.addEventListener("wheel",m,{passive:!1}),window.addEventListener("keydown",v,{passive:!1}),window.addEventListener("touchstart",b,{passive:!1}),window.addEventListener("touchmove",y,{passive:!1}),()=>{window.removeEventListener("wheel",m),window.removeEventListener("keydown",v),window.removeEventListener("touchstart",b),window.removeEventListener("touchmove",y)})),[m,v])}},8866:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});var o=r(906);const n=()=>{const[e]=(0,o.ok)();return{getParam:t=>e.get(t),getId:()=>e.get("id"),getUser:()=>e.get("user"),getAllParams:()=>{const t={};return e.forEach(((e,r)=>{t[r]=e})),t},searchParams:e}}},2898:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var o=r(4845),n=r(3542),i=r(286),a=r(4211),s=r(4117),l=r(906),c=r(579);const u=(0,o.n)({root:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"80vh",textAlign:"center",background:"url('/video/top-banner-video-preview.jpg') no-repeat center center"},container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%",width:"100%",textAlign:"center",color:"white",backgroundColor:"rgba(0, 0, 0, 0.67)"}});function d(){const{t:e}=(0,s.Bd)("general"),t=u();return(0,c.jsx)("div",{className:t.root,children:(0,c.jsxs)("div",{className:t.container,children:[(0,c.jsx)(n.K,{block:!0,as:"h1",className:"text-4xl font-bold",children:e("pageNotFound.title")}),(0,c.jsx)(i.E,{block:!0,as:"p",className:"mt-2",children:e("pageNotFound.description")}),(0,c.jsx)(l.N_,{to:"/",children:(0,c.jsx)(a.$,{appearance:"primary",children:e("pageNotFound.backToHome")})})]})})}},9025:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(7491);const n=new class{constructor(){this.isInitialized=!1}async ensureMSALInitialized(){if(!this.isInitialized)try{await o.Ay.initialize(),this.isInitialized=!0}catch(e){throw console.error("Failed to initialize MSAL instance",e),e}}async getAccessToken(){await this.ensureMSALInitialized();const e=o.Ay.getAllAccounts()[0];if(!e)return null;const t={account:e,scopes:[o.z8]};try{return(await o.Ay.acquireTokenSilent(t)).accessToken}catch(r){try{return(await o.Ay.acquireTokenPopup(t)).accessToken}catch(r){return console.error("Failed to acquire token silently",r),null}}}}},4036:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{async getAddresses(){const e=await n.A.get("/addresses");if(!e.isSuccessful)throw e.data;if(e.status===o.kG.NoContent)return[];return e.data}async getAddress(e){const t=await n.A.get("/address/".concat(e));if(!t.isSuccessful)throw t.data;return t.data}async getLocalAddress(){const e=await n.A.get("/address");if(!e.isSuccessful)throw e.data;return e.data}async createAddress(e){const t=await n.A.put("/address",e);if(t.isSuccessful)return t.data;throw t.data}async updateAddress(e){return(await n.A.patch("/address",e)).isSuccessful}async deleteAddress(e,t){return(await n.A.delete("/address/".concat(e),{"X-COUNTRY-ID":t})).isSuccessful}}},7732:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{async getBlogs(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=await n.A.get("/blog/entries?ignoreRegion=".concat(e));if(!t.isSuccessful)throw t.data;if(t.status===o.kG.NoContent)return[];return t.data.sort(((e,t)=>new Date(t.published).getTime()-new Date(e.published).getTime()))}async getBlogPreviews(){const e=await n.A.get("/blog/entries/previews");if(!e.isSuccessful)throw e.data;if(e.status===o.kG.NoContent)return[];return e.data.sort(((e,t)=>new Date(t.published).getTime()-new Date(e.published).getTime()))}async getBlog(e){const t=await n.A.get("/blog/entry/".concat(e));if(t.isSuccessful)return t.data;throw t.data}async createBlog(e){const t=await n.A.put("/blog/entry",e);if(t.isSuccessful)return t.data;throw t.data}async updateBlog(e){const t=await n.A.patch("/blog/entry",e);if(t.isSuccessful)return t.data;throw t.data}async deleteBlog(e){return(await n.A.delete("/blog/entry/".concat(e))).isSuccessful}async getCategories(){const e=await n.A.get("/blog/categories");if(!e.isSuccessful)throw e.data;return e.status!==o.kG.NoContent?e.data:[]}}},459:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{async getCaseStudies(){const e=await n.A.get("/portfolio/case-studies");if(!e.isSuccessful)throw e.data;if(e.status===o.kG.NoContent)return[];return e.data.sort(((e,t)=>{const r=e.client.name.trim().toLowerCase(),o=t.client.name.trim().toLowerCase(),n=r.localeCompare(o);return 0!==n?n:e.title.localeCompare(t.title)}))}async getCaseStudyPreviews(){const e=await n.A.get("/portfolio/case-studies/previews");if(!e.isSuccessful)throw e.data;if(e.status===o.kG.NoContent)return[];return e.data.sort(((e,t)=>{const r=e.client.name.localeCompare(t.client.name);return 0!==r?r:e.title.localeCompare(t.title)}))}async getCaseStudy(e){const t=await n.A.get("/portfolio/case-study/".concat(e));if(t.isSuccessful)return t.data;throw t.data}async getCaseStudyPreview(e){const t=await n.A.get("/portfolio/case-study/".concat(e,"/preview"));if(t.isSuccessful)return t.data;throw t.data}async createCaseStudy(e){const t=await n.A.put("/portfolio/case-study",e);if(t.isSuccessful)return t.data;throw t.data}async updateCaseStudy(e){const t=await n.A.patch("/portfolio/case-study",e);if(t.isSuccessful)return t.data;throw t.data}async deleteCaseStudy(e,t){return(await n.A.delete("/portfolio/case-study/".concat(e),{"X-INDUSTRY":t})).isSuccessful}async getCategories(){const e=await n.A.get("/portfolio/case-studies/categories");if(!e.isSuccessful)throw e.data;return e.status!==o.kG.NoContent?e.data:[]}}},6846:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{async getNavigation(e){const t=e?"/navigation/".concat(e):"/navigation",r=await n.A.get(t);if(!r.isSuccessful)throw r.data;return r.status!==o.kG.NoContent?r.data:[]}async saveNavigation(e){return(await n.A.patch("/navigation",e)).isSuccessful}}},9670:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(7341),n=r(9025);const i=new class{constructor(){this.api=void 0,this.isRequestSuccessful=e=>e>=200&&e<300,this.createNetworkResponse=e=>{const t={status:e.status,isSuccessful:this.isRequestSuccessful(e.status)};return e.data||0===e.data?(t.isSuccessful,t.data=e.data,t):t};const e={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GA_MEASUREMENT_ID:"G-TF9LYG1XQ1",REACT_APP_IS_SUPPORT_SITE:"false",REACT_APP_MSAL_CLIENT_ID:"20c812b1-6961-444b-ba66-e9ea41e3a71c",REACT_APP_AZURE_MAPS_API_KEY:"FLtk4U9Izy1ptjFZkAfoH8qh6eDvA6Eqk26cfxDiqvs4jf6tmC18JQQJ99BEAC5RqLJGjpJZAAAgAZMP4BMj",REACT_APP_CLOUD_AUDIT_PATH:"/services/free-microsoft-environment-assessment",REACT_APP_MSAL_SCOPE:"access_as_user",REACT_APP_MSAL_TENANT_ID:"4194f3bf-50d1-4eae-8deb-0984997ac7e9",REACT_APP_MSAL_REDIRECT_URI:"https://www.consultdolphin.com/"}.REACT_APP_API_BASE_URL||"/api/";this.api=o.A.create({baseURL:e,timeout:3e4}),this.api.interceptors.request.use((async e=>{const t=e.method.toUpperCase();if(["PUT","PATCH","DELETE"].includes(t)){const t=await n.A.getAccessToken();e.headers.Authorization=t?"Bearer ".concat(t):e.headers.Authorization}return e}),(e=>Promise.reject(e)))}async download(e){try{return(await this.api.get(e,{responseType:"blob"})).data}catch(t){throw o.A.isAxiosError(t)&&t.response?(console.log(t.message),t.response):t}}async get(e){try{const t=await this.api.get(e);return this.createNetworkResponse(t)}catch(t){throw o.A.isAxiosError(t)&&t.response?t.response:t}}async post(e,t,r){let n;n="string"===typeof t?"text/plain":t instanceof FormData?"multipart/form-data":"application/json",(r=r||{})["Content-Type"]=n;try{const o=await this.api.post(e,t,{headers:r});return this.createNetworkResponse(o)}catch(i){throw o.A.isAxiosError(i)&&i.response?i.response:i}}async put(e,t){let r;r="string"===typeof t?"text/plain":t instanceof FormData?void 0:"application/json";try{const o=await this.api.put(e,t,{headers:{"Content-Type":r}});return this.createNetworkResponse(o)}catch(n){throw o.A.isAxiosError(n)&&n.response?n.response:n}}async patch(e,t){try{const r=await this.api.patch(e,t);return this.createNetworkResponse(r)}catch(r){throw o.A.isAxiosError(r)&&r.response?r.response:r}}async delete(e,t){try{const r=await this.api.delete(e,{headers:t});return this.createNetworkResponse(r)}catch(r){throw o.A.isAxiosError(r)&&r.response?r.response:r}}}},7907:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var o=r(7051),n=r(8821),i=r(9670);const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;const s=function(e){return"string"===typeof e&&a.test(e)};const l=new class{async getPages(){const e=await i.A.get("/pages");if(!e.isSuccessful)throw e.data;if(e.status===n.kG.NoContent)return[];return e.data.sort(((e,t)=>e.title.title.localeCompare(t.title.title)))}async getPagePreviews(){const e=await i.A.get("/pages/previews");if(!e.isSuccessful)throw e.data;return e.status===n.kG.NoContent?[]:e.data}async getPage(e,t){const r=t&&!s(e)?"/page/".concat(t,"/").concat(e):"/page/".concat(e),o=await i.A.get(r);if(!o.isSuccessful)throw o.data;return o.data}async createPage(e){e.sections.forEach((e=>{e.content=(0,o.A)({$type:e.content.type},e.content)}));const t=await i.A.put("/page",e);if(t.isSuccessful)return t.data;throw t.data}async updatePage(e){e.sections.forEach((e=>{e.content=(0,o.A)({$type:e.content.type},e.content)}));return(await i.A.patch("/page",e)).isSuccessful}async deletePage(e){return(await i.A.delete("/page/".concat(e))).isSuccessful}}},965:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{constructor(){this.getTeamMemberPhotoUrl=e=>{var t;let r={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_GA_MEASUREMENT_ID:"G-TF9LYG1XQ1",REACT_APP_IS_SUPPORT_SITE:"false",REACT_APP_MSAL_CLIENT_ID:"20c812b1-6961-444b-ba66-e9ea41e3a71c",REACT_APP_AZURE_MAPS_API_KEY:"FLtk4U9Izy1ptjFZkAfoH8qh6eDvA6Eqk26cfxDiqvs4jf6tmC18JQQJ99BEAC5RqLJGjpJZAAAgAZMP4BMj",REACT_APP_CLOUD_AUDIT_PATH:"/services/free-microsoft-environment-assessment",REACT_APP_MSAL_SCOPE:"access_as_user",REACT_APP_MSAL_TENANT_ID:"4194f3bf-50d1-4eae-8deb-0984997ac7e9",REACT_APP_MSAL_REDIRECT_URI:"https://www.consultdolphin.com/"}.REACT_APP_API_BASE_URL||"/api/";const o="/team-member/".concat(e,"/photo");return null!==(t=r)&&void 0!==t&&t.endsWith("/")&&(r=r.slice(0,-1)),"".concat(r).concat(o)}}async getTeamMembers(){const e=await n.A.get("/team-members");if(!e.isSuccessful)throw e.data;return e.status!==o.kG.NoContent?e.data:[]}}},7389:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var o=r(8821),n=r(9670);const i=new class{async getTestimonials(){const e=await n.A.get("/testimonials");if(!e.isSuccessful)throw e.data;return e.status!==o.kG.NoContent?e.data:[]}async getTestimonial(e){const t=await n.A.get("/testimonial/".concat(e));if(t.isSuccessful)return t.data;throw t.data}async createTestimonial(e){const t=await n.A.put("/testimonial",e);if(t.isSuccessful)return t.data;throw t.data}async updateTestimonial(e){const t=await n.A.patch("/testimonial",e);if(t.isSuccessful)return t.data;throw t.data}async deleteTestimonial(e,t){return(await n.A.delete("/testimonial/".concat(e),{"X-INDUSTRY":t})).isSuccessful}}},2678:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var o=r(9670);const n=new class{async sendVisitor(e){const t=await o.A.post("/visitor",e);if(t.isSuccessful&&t.data)return t.data;throw t.data}async unsubscribe(e,t){const r=await o.A.post("/visitor/unsubscribe?id=".concat(e,"&user=").concat(t),null);if(r.isSuccessful&&r.data)return r.data;throw r.data}}},6872:(e,t,r)=>{"use strict";r.d(t,{Jq:()=>o,MN:()=>a,SE:()=>n,vn:()=>i});const o=e=>[e.address1,e.address2,e.address3].filter(Boolean).join(", "),n=e=>[e.city,e.county,e.postalCode].filter(Boolean).join(", "),i=e=>[e.address1,e.address2,e.address3,e.city,e.county,e.postalCode].filter(Boolean).join(",<br />"),a=e=>[e.address1,e.address2,e.address3,e.city,e.county,e.postalCode].filter(Boolean).join(", ")},53:(e,t,r)=>{"use strict";r.d(t,{M:()=>be,n:()=>ye});var o=r(7051);const n="#242424",i="#292929",a="#333333",s="#424242",l="#4d4d4d",c="#575757",u="#616161",d="#707070",f="#b3b3b3",h="#bdbdbd",p="#c7c7c7",g="#d1d1d1",m="#d6d6d6",v="#dbdbdb",b="#e0e0e0",y="#e6e6e6",w="#ebebeb",k="#f0f0f0",x="#f5f5f5",C="#fafafa",S="rgba(255, 255, 255, 0.1)",_="rgba(255, 255, 255, 0.2)",A="rgba(255, 255, 255, 0.4)",T="rgba(255, 255, 255, 0.5)",E="rgba(255, 255, 255, 0.7)",B="rgba(255, 255, 255, 0.8)",I="rgba(0, 0, 0, 0.05)",N="rgba(0, 0, 0, 0.1)",P="rgba(0, 0, 0, 0.2)",R="rgba(0, 0, 0, 0.3)",O="rgba(0, 0, 0, 0.4)",j="rgba(0, 0, 0, 0.5)",z="#ffffff",M={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},L={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},D={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:L,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},F={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:M,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},q={cranberry:M,green:L,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},H={success:"green",warning:"orange",danger:"cranberry"},U=["red","green","darkOrange","yellow","berry","lightGreen","marigold"].reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={["colorPalette".concat(r,"Background1")]:D[t].tint60,["colorPalette".concat(r,"Background2")]:D[t].tint40,["colorPalette".concat(r,"Background3")]:D[t].primary,["colorPalette".concat(r,"Foreground1")]:D[t].shade10,["colorPalette".concat(r,"Foreground2")]:D[t].shade30,["colorPalette".concat(r,"Foreground3")]:D[t].primary,["colorPalette".concat(r,"BorderActive")]:D[t].primary,["colorPalette".concat(r,"Border1")]:D[t].tint40,["colorPalette".concat(r,"Border2")]:D[t].primary};return Object.assign(e,o)}),{});U.colorPaletteYellowForeground1=D.yellow.shade30,U.colorPaletteRedForegroundInverted=D.red.tint20,U.colorPaletteGreenForegroundInverted=D.green.tint20,U.colorPaletteYellowForegroundInverted=D.yellow.tint40;const W=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"].reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={["colorPalette".concat(r,"Background2")]:F[t].tint40,["colorPalette".concat(r,"Foreground2")]:F[t].shade30,["colorPalette".concat(r,"BorderActive")]:F[t].primary};return Object.assign(e,o)}),{}),K=(0,o.A)((0,o.A)({},U),W),G=Object.entries(H).reduce(((e,t)=>{let[r,o]=t;const n=r.slice(0,1).toUpperCase()+r.slice(1),i={["colorStatus".concat(n,"Background1")]:q[o].tint60,["colorStatus".concat(n,"Background2")]:q[o].tint40,["colorStatus".concat(n,"Background3")]:q[o].primary,["colorStatus".concat(n,"Foreground1")]:q[o].shade10,["colorStatus".concat(n,"Foreground2")]:q[o].shade30,["colorStatus".concat(n,"Foreground3")]:q[o].primary,["colorStatus".concat(n,"ForegroundInverted")]:q[o].tint30,["colorStatus".concat(n,"BorderActive")]:q[o].primary,["colorStatus".concat(n,"Border1")]:q[o].tint40,["colorStatus".concat(n,"Border2")]:q[o].primary};return Object.assign(e,i)}),{});G.colorStatusDangerBackground3Hover=q[H.danger].shade10,G.colorStatusDangerBackground3Pressed=q[H.danger].shade20,G.colorStatusWarningForeground1=q[H.warning].shade20,G.colorStatusWarningForeground3=q[H.warning].shade20,G.colorStatusWarningBorder2=q[H.warning].shade20;const V={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},Y={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},X={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Q={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Z={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},J={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};function $(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{["shadow2".concat(r)]:"0 0 2px ".concat(e,", 0 1px 2px ").concat(t),["shadow4".concat(r)]:"0 0 2px ".concat(e,", 0 2px 4px ").concat(t),["shadow8".concat(r)]:"0 0 2px ".concat(e,", 0 4px 8px ").concat(t),["shadow16".concat(r)]:"0 0 2px ".concat(e,", 0 8px 16px ").concat(t),["shadow28".concat(r)]:"0 0 8px ".concat(e,", 0 14px 28px ").concat(t),["shadow64".concat(r)]:"0 0 8px ".concat(e,", 0 32px 64px ").concat(t)}}const ee={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},te={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},re="0",oe="2px",ne="4px",ie="6px",ae="8px",se="10px",le="12px",ce="16px",ue="20px",de="24px",fe="32px",he={spacingHorizontalNone:re,spacingHorizontalXXS:oe,spacingHorizontalXS:ne,spacingHorizontalSNudge:ie,spacingHorizontalS:ae,spacingHorizontalMNudge:se,spacingHorizontalM:le,spacingHorizontalL:ce,spacingHorizontalXL:ue,spacingHorizontalXXL:de,spacingHorizontalXXXL:fe},pe={spacingVerticalNone:re,spacingVerticalXXS:oe,spacingVerticalXS:ne,spacingVerticalSNudge:ie,spacingVerticalS:ae,spacingVerticalMNudge:se,spacingVerticalM:le,spacingVerticalL:ce,spacingVerticalXL:ue,spacingVerticalXXL:de,spacingVerticalXXXL:fe},ge=(e=>{const t=(e=>({colorNeutralForeground1:n,colorNeutralForeground1Hover:n,colorNeutralForeground1Pressed:n,colorNeutralForeground1Selected:n,colorNeutralForeground2:s,colorNeutralForeground2Hover:n,colorNeutralForeground2Pressed:n,colorNeutralForeground2Selected:n,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:u,colorNeutralForeground3Hover:s,colorNeutralForeground3Pressed:s,colorNeutralForeground3Selected:s,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:d,colorNeutralForegroundDisabled:h,colorNeutralForegroundInvertedDisabled:A,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:s,colorNeutralForeground2LinkHover:n,colorNeutralForeground2LinkPressed:n,colorNeutralForeground2LinkSelected:n,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:n,colorNeutralForegroundStaticInverted:z,colorNeutralForegroundInverted:z,colorNeutralForegroundInvertedHover:z,colorNeutralForegroundInvertedPressed:z,colorNeutralForegroundInvertedSelected:z,colorNeutralForegroundInverted2:z,colorNeutralForegroundOnBrand:z,colorNeutralForegroundInvertedLink:z,colorNeutralForegroundInvertedLinkHover:z,colorNeutralForegroundInvertedLinkPressed:z,colorNeutralForegroundInvertedLinkSelected:z,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:z,colorNeutralBackground1Hover:x,colorNeutralBackground1Pressed:b,colorNeutralBackground1Selected:w,colorNeutralBackground2:C,colorNeutralBackground2Hover:k,colorNeutralBackground2Pressed:v,colorNeutralBackground2Selected:y,colorNeutralBackground3:x,colorNeutralBackground3Hover:w,colorNeutralBackground3Pressed:m,colorNeutralBackground3Selected:b,colorNeutralBackground4:k,colorNeutralBackground4Hover:C,colorNeutralBackground4Pressed:x,colorNeutralBackground4Selected:z,colorNeutralBackground5:w,colorNeutralBackground5Hover:x,colorNeutralBackground5Pressed:k,colorNeutralBackground5Selected:C,colorNeutralBackground6:y,colorNeutralBackgroundInverted:i,colorNeutralBackgroundStatic:a,colorNeutralBackgroundAlpha:T,colorNeutralBackgroundAlpha2:B,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:x,colorSubtleBackgroundPressed:b,colorSubtleBackgroundSelected:w,colorSubtleBackgroundLightAlphaHover:E,colorSubtleBackgroundLightAlphaPressed:T,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:N,colorSubtleBackgroundInvertedPressed:R,colorSubtleBackgroundInvertedSelected:P,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:k,colorNeutralBackgroundInvertedDisabled:S,colorNeutralStencil1:y,colorNeutralStencil2:C,colorNeutralStencil1Alpha:N,colorNeutralStencil2Alpha:I,colorBackgroundOverlay:O,colorScrollbarOverlay:j,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:z,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:C,colorNeutralCardBackgroundHover:z,colorNeutralCardBackgroundPressed:x,colorNeutralCardBackgroundSelected:w,colorNeutralCardBackgroundDisabled:k,colorNeutralStrokeAccessible:u,colorNeutralStrokeAccessibleHover:c,colorNeutralStrokeAccessiblePressed:l,colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:g,colorNeutralStroke1Hover:p,colorNeutralStroke1Pressed:f,colorNeutralStroke1Selected:h,colorNeutralStroke2:b,colorNeutralStroke3:k,colorNeutralStrokeSubtle:b,colorNeutralStrokeOnBrand:z,colorNeutralStrokeOnBrand2:z,colorNeutralStrokeOnBrand2Hover:z,colorNeutralStrokeOnBrand2Pressed:z,colorNeutralStrokeOnBrand2Selected:z,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:b,colorNeutralStrokeInvertedDisabled:A,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:I,colorNeutralStrokeAlpha2:_,colorStrokeFocus1:z,colorStrokeFocus2:"#000000",colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},V),Y),X),Z),Q),J),he),pe),ee),te),t),K),G),$(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey)),$(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand"))})({10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"});var me=r(3261);const ve=(0,o.A)((0,o.A)({},ge),{},{fontFamilyBase:"'Golos Text', sans-serif",colorLightBlue:"rgba(6, 131, 163, 1)",colorLightBlue80:"rgba(6, 131, 163, 0.8)",colorLightBlue60:"rgba(6, 131, 163, 0.6)",colorLightBlue40:"rgba(6, 131, 163, 0.4)",colorLightBlue20:"rgba(6, 131, 163, 0.2)",colorDarkBlue:"rgba(0, 57, 76, 1)",colorDarkBlue80:"rgba(0, 57, 76, 0.8)",colorDarkBlue60:"rgba(0, 57, 76, 0.6)",colorDarkBlue40:"rgba(0, 57, 76, 0.4)",colorDarkBlue20:"rgba(0, 57, 76, 0.2)",colorTomatoRed:"rgba(255, 76, 76, 1)",colorTomatoRed80:"rgba(255, 76, 76, 0.8)",colorTomatoRed60:"rgba(255, 76, 76, 0.6)",colorTomatoRed40:"rgba(255, 76, 76, 0.4)",colorTomatoRed20:"rgba(255, 76, 76, 0.2)",colorMintGreen:"rgba(61, 220, 151,1)",colorMintGreen80:"rgba(61, 220, 151, 0.8)",colorMintGreen60:"rgba(61, 220, 151, 0.6)",colorMintGreen40:"rgba(61, 220, 151, 0.4)",colorMintGreen20:"rgba(61, 220, 151, 0.2)",colorPeachOrange:"rgba(255, 183, 112, 1)",colorPeachOrange80:"rgba(255, 183, 112, 0.8)",colorPeachOrange60:"rgba(255, 183, 112, 0.6)",colorPeachOrange40:"rgba(255, 183, 112, 0.4)",colorPeachOrange20:"rgba(255, 183, 112, 0.2)",colorSunflowerYellow:"rgba(255, 217, 61, 1)",colorSunflowerYellow80:"rgba(255, 217, 61, 0.8)",colorSunflowerYellow60:"rgba(255, 217, 61, 0.6)",colorSunflowerYellow40:"rgba(255, 217, 61, 0.4)",colorSunflowerYellow20:"rgba(255, 217, 61, 0.2)",colorSkyLavender:"rgba(214, 198,255, 1)",colorSkyLavender80:"rgba(214, 198, 255, 0.8)",colorSkyLavender60:"rgba(214, 198, 255, 0.6)",colorSkyLavender40:"rgba(214, 198, 255, 0.4)",colorSkyLavender20:"rgba(214, 198, 255, 0.2)",colorCreamWhite:"rgb(255, 247, 235)"});ve.colorBrandBackground=ve.colorLightBlue,ve.colorBrandBackgroundHover=ve.colorLightBlue80,ve.colorBrandBackgroundPressed=ve.colorLightBlue60;const be=ve,ye=(0,o.A)((0,o.A)({},me.L),{},{colorLightBlue:"var(--colorLightBlue)",colorLightBlue80:"var(--colorLightBlue80)",colorLightBlue60:"var(--colorLightBlue60)",colorLightBlue40:"var(--colorLightBlue40)",colorLightBlue20:"var(--colorLightBlue20)",colorDarkBlue:"var(--colorDarkBlue)",colorDarkBlue80:"var(--colorDarkBlue80)",colorDarkBlue60:"var(--colorDarkBlue60)",colorDarkBlue40:"var(--colorDarkBlue40)",colorDarkBlue20:"var(--colorDarkBlue20)",colorTomatoRed:"var(--colorTomatoRed)",colorTomatoRed80:"var(--colorTomatoRed80)",colorTomatoRed60:"var(--colorTomatoRed60)",colorTomatoRed40:"var(--colorTomatoRed40)",colorTomatoRed20:"var(--colorTomatoRed20)",colorMintGreen:"var(--colorMintGreen)",colorMintGreen80:"var(--colorMintGreen80)",colorMintGreen60:"var(--colorMintGreen60)",colorMintGreen40:"var(--colorMintGreen40)",colorMintGreen20:"var(--colorMintGreen20)",colorPeachOrange:"var(--colorPeachOrange)",colorPeachOrange80:"var(--colorPeachOrange80)",colorPeachOrange60:"var(--colorPeachOrange60)",colorPeachOrange40:"var(--colorPeachOrange40)",colorPeachOrange20:"var(--colorPeachOrange20)",colorSunflowerYellow:"var(--colorSunflowerYellow)",colorSunflowerYellow80:"var(--colorSunflowerYellow80)",colorSunflowerYellow60:"var(--colorSunflowerYellow60)",colorSunflowerYellow40:"var(--colorSunflowerYellow40)",colorSunflowerYellow20:"var(--colorSunflowerYellow20)",colorSkyLavender:"var(--colorSkyLavender)",colorSkyLavender80:"var(--colorSkyLavender80)",colorSkyLavender60:"var(--colorSkyLavender60)",colorSkyLavender40:"var(--colorSkyLavender40)",colorSkyLavender20:"var(--colorSkyLavender20)",colorCreamWhite:"var(--colorCreamWhite)"})},4830:(e,t,r)=>{"use strict";function o(e){for(var t,r=0,o=0,n=e.length;n>=4;++o,n-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}r.d(t,{A:()=>o})},9883:(e,t,r)=>{"use strict";r.d(t,{$xS:()=>n,DoI:()=>c,Qpb:()=>l,e5x:()=>f,j0c:()=>h,nkM:()=>s,oam:()=>u,ozo:()=>i,uf9:()=>p,ww0:()=>d,xyI:()=>o,yd$:()=>a});const o="Enter",n=" ",i="Tab",a="ArrowDown",s="ArrowLeft",l="ArrowRight",c="ArrowUp",u="End",d="Home",f="PageDown",h="PageUp",p="Escape"},2529:(e,t,r)=>{"use strict";r.d(t,{Z:()=>U});var o,n="__global__",i="__shadow_dom_stylesheet__",a={stylesheetKey:n,inShadow:!1,window:void 0,__isShadowConfig__:!0},s=function(e){return!(!e||!function(e){return null!==e&&"object"===typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function l(){return void 0===o&&(o="undefined"!==typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),o}o=l();var c=function(){return c=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},c.apply(this,arguments)};Object.create;function u(e,t,r){if(r||2===arguments.length)for(var o,n=0,i=t.length;n<i;n++)!o&&n in t||(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var d,f=0,h=1,p=2,g="__stylesheet__",m="undefined"!==typeof navigator&&/rv:11.0/.test(navigator.userAgent),v={};try{v=window||{}}catch(S){}var b,y=function(){function e(e,t){var r,o,n,i,a,s;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=c({injectionMode:"undefined"===typeof document?f:h,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(r=null===t||void 0===t?void 0:t.classNameToArgs)&&void 0!==r?r:this._classNameToArgs,this._counter=null!==(o=null===t||void 0===t?void 0:t.counter)&&void 0!==o?o:this._counter,this._keyToClassName=null!==(i=null!==(n=this._config.classNameCache)&&void 0!==n?n:null===t||void 0===t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(a=null===t||void 0===t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(s=null===t||void 0===t?void 0:t.rules)&&void 0!==s?s:this._rules}return e.getInstance=function(t){if(d=v[g],v[i])return v[i].getInstance(t);if(!d||d._lastStyleElement&&d._lastStyleElement.ownerDocument!==document){var r=(null===v||void 0===v?void 0:v.FabricConfig)||{},o=new e(r.mergeStyles,r.serializedStylesheet);d=o,v[g]=o}return d},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=c(c({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,r=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(r,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,r,o){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:r,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,r){void 0===r&&(r=n);var o=this._config.injectionMode,i=o!==f?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),i)switch(o){case h:this._insertRuleIntoSheet(i.sheet,e);break;case p:i.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:r,sheet:i?i.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,r=t.head,o=t.createElement("style"),n=null;o.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&o.setAttribute("nonce",i.nonce),this._lastStyleElement)n=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();n=a?a.nextElementSibling:r.childNodes[0]}return r.insertBefore(o,r.contains(n)?n:null),this._lastStyleElement=o,o},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(r){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;this._styleElement||(this._styleElement=this._createStyleElement(),m||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0})));return this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),w={};function k(e,t){var r=e[t];"-"!==r.charAt(0)&&(e[t]=w[r]=w[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase())}var x={"user-select":1};function C(e,t){var r=function(){var e;if(!b){var t="undefined"!==typeof document?document:void 0,r="undefined"!==typeof navigator?navigator:void 0,o=null===(e=null===r||void 0===r?void 0:r.userAgent)||void 0===e?void 0:e.toLowerCase();b=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(o&&o.indexOf("firefox")>-1),isOpera:!!(o&&o.indexOf("opera")>-1),isMs:!(!r||!/rv:11.0/i.test(r.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return b}(),o=e[t];if(x[o]){var n=e[t+1];x[o]&&(r.isWebkit&&e.push("-webkit-"+o,n),r.isMoz&&e.push("-moz-"+o,n),r.isMs&&e.push("-ms-"+o,n),r.isOpera&&e.push("-o-"+o,n))}}var S,_=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function A(e,t){var r=e[t],o=e[t+1];if("number"===typeof o){var n=_.indexOf(r)>-1,i=r.indexOf("--")>-1,a=n||i?"":"px";e[t+1]="".concat(o).concat(a)}}var T="left",E="right",B="@noflip",I=((S={})[T]=E,S[E]=T,S),N={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function P(e,t,r){if(e.rtl){var o=t[r];if(!o)return;var n=t[r+1];if("string"===typeof n&&n.indexOf(B)>=0)t[r+1]=n.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(o.indexOf(T)>=0)t[r]=o.replace(T,E);else if(o.indexOf(E)>=0)t[r]=o.replace(E,T);else if(String(n).indexOf(T)>=0)t[r+1]=n.replace(T,E);else if(String(n).indexOf(E)>=0)t[r+1]=n.replace(E,T);else if(I[o])t[r]=I[o];else if(N[n])t[r+1]=N[n];else switch(o){case"margin":case"padding":t[r+1]=function(e){if("string"===typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(n);break;case"box-shadow":t[r+1]=function(e,t){var r=e.split(" "),o=parseInt(r[t],10);return r[0]=r[0].replace(String(o),String(-1*o)),r.join(" ")}(n,0)}}}var R="displayName";var O=/\:global\((.+?)\)/g;function j(e,t){return e.indexOf(":global(")>=0?e.replace(O,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function z(e,t,r,o,n){void 0===t&&(t={__order:[]}),0===r.indexOf("@")?M([o],t,r=r+"{"+e,n):r.indexOf(",")>-1?function(e){if(!O.test(e))return e;for(var t=[],r=/\:global\((.+?)\)/g,o=null;o=r.exec(e);)o[1].indexOf(",")>-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map((function(e){return":global(".concat(e.trim(),")")})).join(", ")]);return t.reverse().reduce((function(e,t){var r=t[0],o=t[1],n=t[2];return e.slice(0,r)+n+e.slice(o)}),e)}(r).split(",").map((function(e){return e.trim()})).forEach((function(r){return M([o],t,j(r,e),n)})):M([o],t,j(r,e),n)}function M(e,t,r,o){void 0===t&&(t={__order:[]}),void 0===r&&(r="&");var n,i=t[r];i||(i={},t[r]=i,t.__order.push(r));for(var a=0,s=e;a<s.length;a++){var l=s[a];if("string"===typeof l){var c=o.argsFromClassName(l);c&&M(c,t,r,o)}else if(Array.isArray(l))M(l,t,r,o);else for(var u in l)if(l.hasOwnProperty(u)){var d=l[u];if("selectors"===u){var f=l.selectors;for(var h in f)f.hasOwnProperty(h)&&z(r,t,h,f[h],o)}else"object"===typeof d||((n=u).indexOf(":global(")>=0||0===n.indexOf(":"))?null!==d&&void 0!==d&&z(r,t,u,d,o):void 0!==d&&("margin"===u||"padding"===u?L(i,u,d):i[u]=d)}}return t}function L(e,t,r){var o="string"===typeof r?function(e){for(var t=[],r=0,o=0,n=0;n<e.length;n++)switch(e[n]){case"(":o++;break;case")":o&&o--;break;case"\t":case" ":o||(n>r&&t.push(e.substring(r,n)),r=n+1)}return r<e.length&&t.push(e.substring(r)),t}(r):[r];0===o.length&&o.push(r),"!important"===o[o.length-1]&&(o=o.slice(0,-1).map((function(e){return e+" !important"}))),e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function D(e,t){return t<=0?"":1===t?e:e+D(e,t-1)}function F(e,t){if(!t)return"";var r=[];for(var o in t)t.hasOwnProperty(o)&&o!==R&&void 0!==t[o]&&r.push(o,t[o]);for(var n=0;n<r.length;n+=2)k(r,n),A(r,n),P(e,r,n),C(r,n);for(n=1;n<r.length;n+=4)r.splice(n,1,":",r[n],";");return r.join("")}function q(e){for(var t,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var n=null!==(t=e.stylesheet)&&void 0!==t?t:y.getInstance(e.shadowConfig),i=M(r,void 0,void 0,n),a=function(e,t){for(var r=[e.rtl?"rtl":"ltr"],o=!1,n=0,i=t.__order;n<i.length;n++){var a=i[n];r.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(o=!0,r.push(l,s[l]))}return o?r.join(""):void 0}(e,i);if(a){var s={className:n.classNameFromKey(a),key:a,args:r};if(!s.className){s.className=n.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],c=0,u=i.__order;c<u.length;c++){var d=u[c];l.push(d,F(e,i[d]))}s.rulesToInsert=l}return s}}function H(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=q.apply(void 0,u([e],t,!1));return o?(function(e,t,r,o){void 0===t&&(t=1);var n=null!==o&&void 0!==o?o:y.getInstance(r),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var c=0;c<l.length;c+=2){var u=l[c+1];if(u){var d=l[c];d=d.replace(/&/g,D(".".concat(e.className),t));var f="".concat(d,"{").concat(u,"}").concat(0===d.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(i,a,s,l)}}(o,e.specificityMultiplier,e.shadowConfig,e.stylesheet),o.className):""}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var r=e instanceof Array?e:[e],o=t||{};s(r[0])&&(o.shadowConfig=r[0]);o.stylesheet=y.getInstance(o.shadowConfig);var n=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var o=[],n=[],i=e;return function e(t){for(var r=0,a=t;r<a.length;r++){var l=a[r];if(l&&!s(l))if("string"===typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var c=i.argsFromClassName(l);c?e(c):-1===o.indexOf(l)&&o.push(l)}else Array.isArray(l)?e(l):"object"===typeof l&&n.push(l)}}(t),{classes:o,objects:n}}(o.stylesheet,r),i=n.classes,a=n.objects;a.length&&i.push(H(o,a));return i.join(" ")}(e,{rtl:l(),shadowConfig:a})}},2413:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(!(0<i(n,t)))break e;e[o]=t,e[r]=n,r=o}}function o(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,a=n>>>1;o<a;){var s=2*(o+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,r))c<n&&0>i(u,l)?(e[o]=u,e[c]=r,o=c):(e[o]=l,e[s]=r,o=s);else{if(!(c<n&&0>i(u,r)))break e;e[o]=u,e[c]=r,o=c}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=o(u);null!==t;){if(null===t.callback)n(u);else{if(!(t.startTime<=e))break;n(u),t.sortIndex=t.expirationTime,r(c,t)}t=o(u)}}function k(e){if(m=!1,w(e),!g)if(null!==o(c))g=!0,R(x);else{var t=o(u);null!==t&&O(k,t.startTime-e)}}function x(e,r){g=!1,m&&(m=!1,b(A),A=-1),p=!0;var i=h;try{for(w(r),f=o(c);null!==f&&(!(f.expirationTime>r)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?f.callback=s:f===o(c)&&n(c),w(r)}else n(c);f=o(c)}if(null!==f)var l=!0;else{var d=o(u);null!==d&&O(k,d.startTime-r),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,_=null,A=-1,T=5,E=-1;function B(){return!(t.unstable_now()-E<T)}function I(){if(null!==_){var e=t.unstable_now();E=e;var r=!0;try{r=_(!0,e)}finally{r?C():(S=!1,_=null)}}else S=!1}if("function"===typeof y)C=function(){y(I)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=I,C=function(){P.postMessage(null)}}else C=function(){v(I,0)};function R(e){_=e,S||(S=!0,C())}function O(e,r){A=v((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(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return o(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},t.unstable_scheduleCallback=function(e,n,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(u,e),null===o(c)&&e===o(u)&&(m?(b(A),A=-1):m=!0,O(k,i-a))):(e.sortIndex=s,r(c,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},7256:(e,t,r)=>{"use strict";e.exports=r(2413)},86:(e,t,r)=>{"use strict";r.d(t,{En:()=>c,g4:()=>s,oj:()=>l});var o=r(5043);const n=()=>{},i={controller:{active:n,blur:n,find:n,first:n,focus:n,focusLastActive:n,scrollActiveIntoView:n,last:n,next:n,prev:n,showAttributes:n,hideAttributes:n,showFocusVisibleAttributes:n,hideFocusVisibleAttributes:n}},a=o.createContext(void 0),s=a.Provider,l=()=>{var e;return null!==(e=o.useContext(a))&&void 0!==e?e:i},c=()=>!!o.useContext(a)},6975:(e,t,r)=>{"use strict";r.d(t,{F:()=>l});var o=r(7051),n=r(3986),i=r(9883),a=r(3614);r(5043);const s=["disabled","disabledFocusable","aria-disabled","onClick","onKeyDown","onKeyUp"];function l(e,t){const r=null!==t&&void 0!==t?t:{},{disabled:l,disabledFocusable:c=!1,"aria-disabled":u,onClick:d,onKeyDown:f,onKeyUp:h}=r,p=(0,n.A)(r,s),g="string"===typeof u?"true"===u:u,m=l||c||g,v=(0,a.D)((e=>{m?(e.preventDefault(),e.stopPropagation()):null===d||void 0===d||d(e)})),b=(0,a.D)((e=>{if(null===f||void 0===f||f(e),e.isDefaultPrevented())return;const t=e.key;if(m&&(t===i.xyI||t===i.$xS))return e.preventDefault(),void e.stopPropagation();t!==i.$xS?t===i.xyI&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()})),y=(0,a.D)((e=>{if(null===h||void 0===h||h(e),e.isDefaultPrevented())return;const t=e.key;if(m&&(t===i.xyI||t===i.$xS))return e.preventDefault(),void e.stopPropagation();t===i.$xS&&(e.preventDefault(),e.currentTarget.click())}));if("button"===e||void 0===e)return(0,o.A)((0,o.A)({},p),{},{disabled:l&&!c,"aria-disabled":!!c||g,onClick:c?void 0:v,onKeyUp:c?void 0:h,onKeyDown:c?void 0:f});{const t=!!p.href;let r=t?void 0:"button";!r&&m&&(r="link");const n=(0,o.A)((0,o.A)({role:r,tabIndex:c||!t&&!l?0:void 0},p),{},{onClick:v,onKeyUp:y,onKeyDown:b,"aria-disabled":m});return"a"===e&&m&&(n.href=void 0),n}}},4199:(e,t,r)=>{"use strict";r.d(t,{U:()=>a,u:()=>s});var o=r(5043);const n=o.createContext(void 0),i={},a=n.Provider,s=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},4211:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var o=r(5043),n=r(9463),i=r(9413);var a=r(2975),s=r(1982),l=r(6930);const c=o.forwardRef(((e,t)=>{const r=(0,a.P)(e,t);return(0,s.B)(r),(0,l.$e)("useButtonStyles_unstable")(r),(e=>{(0,i.C)(e);const{iconOnly:t,iconPosition:r}=e;return(0,n.FD)(e.root,{children:["after"!==r&&e.icon&&(0,n.Y)(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&(0,n.Y)(e.icon,{})]})})(r)}));c.displayName="Button"},2975:(e,t,r)=>{"use strict";r.d(t,{P:()=>c});var o=r(5043),n=r(6975),i=r(9632),a=r(3397);const s=o.createContext(void 0),l={},c=(s.Provider,(e,t)=>{const{size:r}=(()=>{var e;return null!==(e=o.useContext(s))&&void 0!==e?e:l})(),{appearance:c="secondary",as:u="button",disabled:d=!1,disabledFocusable:f=!1,icon:h,iconPosition:p="before",shape:g="rounded",size:m=(null!==r&&void 0!==r?r:"medium")}=e,v=i.lq(h,{elementType:"span"});return{appearance:c,disabled:d,disabledFocusable:f,iconPosition:p,shape:g,size:m,iconOnly:Boolean((null===v||void 0===v?void 0:v.children)&&!e.children),components:{root:"button",icon:"span"},root:i.Gk((0,a.g)(u,(0,n.F)(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"===u?"button":void 0}}),icon:v}})},1982:(e,t,r)=>{"use strict";r.d(t,{B:()=>m});var o=r(3261),n=r(9560),i=r(9392),a=r(6755);const s="fui-Button",l="fui-Button__icon",c=("calc(".concat(o.L.strokeWidthThin," + 0.25px)"),(0,n.y)("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]})),u=(0,n.y)("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),d=(0,i.X)({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),f=(0,i.X)({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),h=(0,i.X)({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),p=(0,i.X)({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),g=(0,i.X)({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),m=e=>{const t=c(),r=u(),o=d(),n=f(),i=h(),m=p(),v=g(),{appearance:b,disabled:y,disabledFocusable:w,icon:k,iconOnly:x,iconPosition:C,shape:S,size:_}=e;return e.root.className=(0,a.z)(s,t,b&&o[b],o[_],k&&"small"===_&&o.smallWithIcon,k&&"large"===_&&o.largeWithIcon,o[S],(y||w)&&n.base,(y||w)&&n.highContrast,b&&(y||w)&&n[b],"primary"===b&&i.primary,i[_],i[S],x&&m[_],e.root.className),e.icon&&(e.icon.className=(0,a.z)(l,r,!!e.root.children&&v[C],v[_],e.icon.className)),e}},1535:(e,t,r)=>{"use strict";r.d(t,{Z:()=>O});var o=r(5043),n=r(7051),i=r(3986),a=r(5923),s=r(9632),l=r(3397),c=r(1262),u=r(5486),d=r(6059);const f=e=>{switch(e){case"unlimited":return c.K9.Unlimited;case"limited":return c.K9.Limited;case"limited-trap-focus":return c.K9.LimitedTrapFocus;default:return}};var h=r(9899),p=r(5673),g=r(8715),m=r(9883),v=r(791);var b=r(916);const y=["focusMode"],w={off:void 0,"no-tab":"limited-trap-focus","tab-exit":"limited","tab-only":"unlimited"},k=e=>{let{focusMode:t}=e,r=(0,i.A)(e,y);const o=["onClick","onDoubleClick","onMouseUp","onMouseDown","onPointerUp","onPointerDown","onTouchStart","onTouchEnd","onDragStart","onDragEnd"].some((e=>r[e])),a=null!==t&&void 0!==t?t:o?"no-tab":"off",s=(e=>{const t=(0,d.p)();return t&&(0,c.$d)(t),(0,u.g)({groupper:{tabbability:f(null===e||void 0===e?void 0:e.tabBehavior)},focusable:{ignoreKeydown:null===e||void 0===e?void 0:e.ignoreDefaultKeydown}})})({tabBehavior:w[a]}),l=(0,n.A)((0,n.A)({},s),{},{tabIndex:0});return{interactive:o,focusAttributes:"off"===a?null:l}},x=(e,t)=>{const{appearance:r="filled",orientation:i="vertical",size:c="medium"}=e,[u,d]=o.useState(b.yi.selectableA11yProps.referenceId),[f,y]=o.useState(b.yi.selectableA11yProps.referenceId),w=(0,h.R)(),{selectable:x,selected:C,selectableCardProps:S,selectFocused:_,checkboxSlot:A,floatingActionSlot:T}=((e,t,r)=>{let{referenceLabel:i,referenceId:a}=t;const{checkbox:l={},onSelectionChange:c,floatingAction:u,onClick:d,onKeyDown:f}=e,{findAllFocusable:h}=(0,v.r)(),b=o.useRef(null),[y,w]=(0,p.i)({state:e.selected,defaultState:e.defaultSelected,initialState:!1}),k=[e.selected,e.defaultSelected,c].some((e=>"undefined"!==typeof e)),[x,C]=o.useState(!1),S=o.useCallback((e=>{if(!r.current)return!1;const t=h(r.current),o=e.target,n=t.some((e=>e.contains(o))),i=(null===b||void 0===b?void 0:b.current)===o;return n&&!i}),[r,h]),_=o.useCallback((e=>{if(S(e))return;const t=!y;w(t),c&&c(e,{selected:t})}),[c,y,w,S]),A=o.useCallback((e=>{[m.xyI].includes(e.key)&&(e.preventDefault(),_(e))}),[_]),T=o.useMemo((()=>{if(!k||u)return;const e={};return a?e["aria-labelledby"]=a:i&&(e["aria-label"]=i),s.lq(l,{defaultProps:(0,n.A)({ref:b,type:"checkbox",checked:y,onChange:e=>_(e),onFocus:()=>C(!0),onBlur:()=>C(!1)},e),elementType:"input"})}),[l,u,y,k,_,a,i]),E=o.useMemo((()=>{if(u)return s.lq(u,{defaultProps:{ref:b},elementType:"div"})}),[u]),B=o.useMemo((()=>k?{onClick:(0,g.p)(d,_),onKeyDown:(0,g.p)(f,A)}:null),[k,_,d,f,A]);return{selected:y,selectable:k,selectFocused:x,selectableCardProps:B,checkboxSlot:T,floatingActionSlot:E}})(e,{referenceId:u,referenceLabel:f},w),E=(0,a.a)(w,t),{interactive:B,focusAttributes:I}=k(e);return{appearance:r,orientation:i,size:c,interactive:B,selectable:x,selectFocused:_,selected:C,selectableA11yProps:{setReferenceId:d,referenceId:u,referenceLabel:f,setReferenceLabel:y},components:{root:"div",floatingAction:"div",checkbox:"input"},root:s.Gk((0,l.g)("div",(0,n.A)((0,n.A)((0,n.A)({ref:E,role:"group"},x?null:I),e),S)),{elementType:"div"}),floatingAction:T,checkbox:A}};var C=r(9463),S=r(9413);var _=r(9560),A=r(9392),T=r(6755),E=r(3261);const B="fui-Card",I="fui-Card__floatingAction",N="fui-Card__checkbox",P=("var(".concat("--fui-Card--border-radius",")"),E.L.strokeWidthThick,(0,_.y)("rfxo2k2","rgle7w9",[".rfxo2k2{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rfxo2k2::after{position:absolute;top:0;left:0;right:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rfxo2k2>.fui-CardHeader,.rfxo2k2>.fui-CardFooter{flex-shrink:0;}",".rgle7w9{overflow:hidden;border-radius:var(--fui-Card--border-radius);padding:var(--fui-Card--size);gap:var(--fui-Card--size);display:flex;position:relative;box-sizing:border-box;color:var(--colorNeutralForeground1);}",'.rgle7w9::after{position:absolute;top:0;right:0;left:0;bottom:0;content:"";pointer-events:none;border-top-style:solid;border-left-style:solid;border-bottom-style:solid;border-right-style:solid;border-top-width:var(--strokeWidthThin);border-left-width:var(--strokeWidthThin);border-bottom-width:var(--strokeWidthThin);border-right-width:var(--strokeWidthThin);border-radius:var(--fui-Card--border-radius);}',".rgle7w9>.fui-CardHeader,.rgle7w9>.fui-CardFooter{flex-shrink:0;}"])),R=(0,A.X)({focused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"fpqizxz",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"fnd8nzh",J0r882:"f15fr7a0",Bule8hv:["fwsq40z","fy0y4wt"],Bjwuhne:"f34ld9f",Ghsupd:["fy0y4wt","fwsq40z"]},selectableFocused:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",Bssx7fj:"f1b1k54r",uh7if5:["f4ne723","fqqcjud"],clntm0:"fh7aioi",Dlk2r6:["fqqcjud","f4ne723"],Bm3wd5j:"f1k55ka9",Bbrhkcr:["fgclinu","f16pcs8n"],f1oku:"fycbxed",aywvf2:["f16pcs8n","fgclinu"],B2j2mmj:"ffht0p2",wigs8:"f1p0ul1q",pbfy6t:"f1c901ms",B0v4ure:"f1alokd7",Byrf0fs:0,Bsiemmq:0,Bwckmig:0,skfxo0:0,Iidy0u:0,B98u21t:0,Bvwlmkc:0,jo1ztg:0,Ba1iezr:0,Blmvk6g:0,B24cy0v:0,Bil7v7r:0,Br3gin4:0,nr063g:0,ghq09:0,Bbgo44z:0,Bseh09z:"f1i978nd",az1dzo:0,Ba3ybja:0,B6352mv:0,vppk2z:0,Biaj6j7:"f1nh8hsq",B2pnrqr:"f1amxum7",B29w5g4:["f1cec8w7","f554mv0"],Bhhzhcn:"f1sj6kbr",Bec0n69:["f554mv0","f1cec8w7"]},orientationHorizontal:{Beiy3e4:"f1063pyq",Bt984gj:"f122n59",Binpb3b:"ftrw7vg",qrt8p2:"f18opajm",k6ws3r:["f13002it","fqo182t"],Btcwela:["f18yna97","f1kd6wh7"],Fer9m8:"f4i4759"},orientationVertical:{Beiy3e4:"f1vx9l62",B5nvv7i:["f14k419y","f1fgo9fz"],Baxg94k:["f1fgo9fz","f14k419y"],tn21ii:"fvqmfsm",B0ud6bj:"f3am6yf",Bgdo4j:"f1r5wgso"},sizeSmall:{B7balbw:"f1pi9uxy",B1h88n7:"f1h1zgly"},sizeMedium:{B7balbw:"frsmuga",B1h88n7:"fuldkky"},sizeLarge:{B7balbw:"f1qua4xo",B1h88n7:"fimkt6v"},interactive:{rhjd8f:"f1epqm3e"},filled:{De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fxugw4r",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1knas48",Bvxd0ez:"f1m145df",ecr2s2:"fb40n2d"},filledInteractiveSelected:{De3pzq:"f1nfm20t",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1kz6goq"},filledAlternative:{De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},filledAlternativeInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1dmdbja",E5pizo:"f1whvlc6",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"fnwyq0v",Jwef8y:"f1uvynv3",Bvxd0ez:"f1m145df",ecr2s2:"f1yhgkbh"},filledAlternativeInteractiveSelected:{De3pzq:"fjxa0vh",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"f1luvkty",Jwef8y:"fehi0vp"},outline:{De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]},outlineInteractive:{Bceei9c:"f1k6fduh",De3pzq:"f1c21dwh",E5pizo:"f1couhl3",B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"],Bi91k9c:"feu1g3u",Jwef8y:"fjxutwb",Be0v6ae:"f1llr77y",B5kxglz:["fzk0khw","fjj8tog"],B3pwyw6:"fb1u8ub",Bymgtzf:["fjj8tog","fzk0khw"],ecr2s2:"fophhak",dmfk:"f1uohb70",B4ofi8:["f1jm7v1n","f1bus3rq"],jgq6uv:"f1fbu7rr",Baxewws:["f1bus3rq","f1jm7v1n"]},outlineInteractiveSelected:{De3pzq:"f1q9pm1r",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"fg59vm4"},subtle:{De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"]},subtleInteractive:{Bceei9c:"f1k6fduh",De3pzq:"fhovq9v",E5pizo:"f1couhl3",B0n5ga8:"f16gxe2i",s924m2:["fpgykix","fzybk4o"],B1q35kw:"f1osi826",Gp14am:["fzybk4o","fpgykix"],Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",ecr2s2:"f1wfn5kd"},subtleInteractiveSelected:{De3pzq:"fq5gl1p",B0n5ga8:"f16eln5f",s924m2:["fa2okxs","fg4zq3l"],B1q35kw:"ff6932p",Gp14am:["fg4zq3l","fa2okxs"],Bi91k9c:"fx9teim",Jwef8y:"f1uqaxdt"},highContrastSelected:{ycbfsm:"fkc42ay",Bsw6fvg:"f1rirnrt",Bbusuzp:"f1lkg8j3",xgfqdd:"f1nkj0oa",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},highContrastInteractive:{h1vhog:"fpfvv3l",kslmdy:"f1oamsm6",Baaf6ca:"f1il21bs",x9zz3d:"fnn5dk0",Bmmdzwq:"fey3rwa",zkpvhj:["f5jhx11","fff9uym"],B20bydw:"fm7n0jy",Bwwwggl:["fff9uym","f5jhx11"]},select:{qhf8xq:"f1euv43f",Bhzewxz:"fqclxi7",j35jbq:["fiv86kb","f36uhnt"],Bj3rh1h:"f19g0ac"},hiddenCheckbox:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",a9b677:"frkrog8",Bqenvij:"f1mpe4l3",qhf8xq:"f1euv43f",Bh84pgu:"fmf1zke",Bgl5zvf:"f1wch0ki",Huce71:"fz5stix"}},{f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],d:[".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".fnd8nzh[data-fui-focus-visible]::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f15fr7a0[data-fui-focus-visible]::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".fwsq40z[data-fui-focus-visible]::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".fy0y4wt[data-fui-focus-visible]::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f34ld9f[data-fui-focus-visible]::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1b1k54r[data-fui-focus-within]:focus-within{border-top-color:transparent;}",".f4ne723[data-fui-focus-within]:focus-within{border-right-color:transparent;}",".fqqcjud[data-fui-focus-within]:focus-within{border-left-color:transparent;}",".fh7aioi[data-fui-focus-within]:focus-within{border-bottom-color:transparent;}",'.ffht0p2[data-fui-focus-within]:focus-within::after{content:"";}',".f1p0ul1q[data-fui-focus-within]:focus-within::after{position:absolute;}",".f1c901ms[data-fui-focus-within]:focus-within::after{pointer-events:none;}",".f1alokd7[data-fui-focus-within]:focus-within::after{z-index:1;}",[".f1i978nd[data-fui-focus-within]:focus-within::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",{p:-2}],[".f1nh8hsq[data-fui-focus-within]:focus-within::after{border-radius:var(--fui-Card--border-radius);}",{p:-1}],".f1amxum7[data-fui-focus-within]:focus-within::after{top:calc(0px - var(--strokeWidthThick) - -2px);}",".f1cec8w7[data-fui-focus-within]:focus-within::after{right:calc(0px - var(--strokeWidthThick) - -2px);}",".f554mv0[data-fui-focus-within]:focus-within::after{left:calc(0px - var(--strokeWidthThick) - -2px);}",".f1sj6kbr[data-fui-focus-within]:focus-within::after{bottom:calc(0px - var(--strokeWidthThick) - -2px);}",".f1063pyq{flex-direction:row;}",".f122n59{align-items:center;}",".ftrw7vg>.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",".f18opajm>.fui-CardPreview{margin-bottom:calc(var(--fui-Card--size) * -1);}",'.f13002it>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-left:calc(var(--fui-Card--size) * -1);}','.fqo182t>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f18yna97>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-right:calc(var(--fui-Card--size) * -1);}','.f1kd6wh7>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-left:calc(var(--fui-Card--size) * -1);}',".f4i4759>.fui-CardHeader:last-of-type,.f4i4759>.fui-CardFooter:last-of-type{flex-grow:1;}",".f1vx9l62{flex-direction:column;}",".f14k419y>.fui-CardPreview{margin-left:calc(var(--fui-Card--size) * -1);}",".f1fgo9fz>.fui-CardPreview{margin-right:calc(var(--fui-Card--size) * -1);}",'.fvqmfsm>:not([aria-hidden="true"]).fui-CardPreview:first-of-type{margin-top:calc(var(--fui-Card--size) * -1);}',".f3am6yf>.fui-Card__floatingAction+.fui-CardPreview{margin-top:calc(var(--fui-Card--size) * -1);}",'.f1r5wgso>:not([aria-hidden="true"]).fui-CardPreview:last-of-type{margin-bottom:calc(var(--fui-Card--size) * -1);}',".f1pi9uxy{--fui-Card--size:8px;}",".f1h1zgly{--fui-Card--border-radius:var(--borderRadiusSmall);}",".frsmuga{--fui-Card--size:12px;}",".fuldkky{--fui-Card--border-radius:var(--borderRadiusMedium);}",".f1qua4xo{--fui-Card--size:16px;}",".fimkt6v{--fui-Card--border-radius:var(--borderRadiusLarge);}",".f1epqm3e .fui-Text{color:currentColor;}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1whvlc6{box-shadow:var(--shadow4);}",".f16gxe2i::after{border-top-color:var(--colorTransparentStroke);}",".fpgykix::after{border-right-color:var(--colorTransparentStroke);}",".fzybk4o::after{border-left-color:var(--colorTransparentStroke);}",".f1osi826::after{border-bottom-color:var(--colorTransparentStroke);}",".f1k6fduh{cursor:pointer;}",".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".f16eln5f::after{border-top-color:var(--colorNeutralStroke1Selected);}",".fa2okxs::after{border-right-color:var(--colorNeutralStroke1Selected);}",".fg4zq3l::after{border-left-color:var(--colorNeutralStroke1Selected);}",".ff6932p::after{border-bottom-color:var(--colorNeutralStroke1Selected);}",".f1dmdbja{background-color:var(--colorNeutralBackground2);}",".fjxa0vh{background-color:var(--colorNeutralBackground2Selected);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1couhl3{box-shadow:none;}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1euv43f{position:absolute;}",".fqclxi7{top:4px;}",".fiv86kb{right:4px;}",".f36uhnt{left:4px;}",".f19g0ac{z-index:1;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".frkrog8{width:1px;}",".f1mpe4l3{height:1px;}",".fmf1zke{clip:rect(0 0 0 0);}",".f1wch0ki{clip-path:inset(50%);}",".fz5stix{white-space:nowrap;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1k55ka9[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16pcs8n[data-fui-focus-within]:focus-within::after{border-left-color:Highlight;}.fgclinu[data-fui-focus-within]:focus-within::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fycbxed[data-fui-focus-within]:focus-within::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nkj0oa .fui-CardPreview,.f1nkj0oa .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fey3rwa::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f5jhx11::after{border-right-color:Highlight;}.fff9uym::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fm7n0jy::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpfvv3l:hover,.fpfvv3l :active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1oamsm6:hover,.f1oamsm6 :active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1il21bs:hover,.f1il21bs :active{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnn5dk0:hover .fui-CardPreview,.fnn5dk0 :active .fui-CardPreview,.fnn5dk0:hover .fui-CardFooter,.fnn5dk0 :active .fui-CardFooter{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".f1m145df:hover{box-shadow:var(--shadow8);}",".fx9teim:hover{color:var(--colorNeutralForeground1Selected);}",".f1kz6goq:hover{background-color:var(--colorNeutralBackground1Selected);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1uvynv3:hover{background-color:var(--colorNeutralBackground2Hover);}",".f1luvkty:hover{color:var(--colorNeutralForeground2Selected);}",".fehi0vp:hover{background-color:var(--colorNeutralBackground2Selected);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1llr77y:hover::after{border-top-color:var(--colorNeutralStroke1Hover);}",".fzk0khw:hover::after{border-right-color:var(--colorNeutralStroke1Hover);}",".fjj8tog:hover::after{border-left-color:var(--colorNeutralStroke1Hover);}",".fb1u8ub:hover::after{border-bottom-color:var(--colorNeutralStroke1Hover);}",".fg59vm4:hover{background-color:var(--colorTransparentBackgroundSelected);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1uqaxdt:hover{background-color:var(--colorSubtleBackgroundSelected);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1yhgkbh:active{background-color:var(--colorNeutralBackground2Pressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1uohb70:active::after{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1jm7v1n:active::after{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1bus3rq:active::after{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1fbu7rr:active::after{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]});const O=o.forwardRef(((e,t)=>{const r=x(e,t),n=function(e){let{selectableA11yProps:t}=e;return{selectableA11yProps:t}}(r);return(e=>{const t=P(),r=R(),n={horizontal:r.orientationHorizontal,vertical:r.orientationVertical},i={small:r.sizeSmall,medium:r.sizeMedium,large:r.sizeLarge},a={filled:r.filled,"filled-alternative":r.filledAlternative,outline:r.outline,subtle:r.subtle},s={filled:r.filledInteractiveSelected,"filled-alternative":r.filledAlternativeInteractiveSelected,outline:r.outlineInteractiveSelected,subtle:r.subtleInteractiveSelected},l={filled:r.filledInteractive,"filled-alternative":r.filledAlternativeInteractive,outline:r.outlineInteractive,subtle:r.subtleInteractive},c=e.interactive||e.selectable,u=o.useMemo((()=>e.selectable?e.selectFocused?r.selectableFocused:"":r.focused),[e.selectFocused,e.selectable,r.focused,r.selectableFocused]);e.root.className=(0,T.z)(B,t,n[e.orientation],i[e.size],a[e.appearance],c&&r.interactive,c&&l[e.appearance],e.selected&&s[e.appearance],u,c&&r.highContrastInteractive,e.selected&&r.highContrastSelected,e.root.className),e.floatingAction&&(e.floatingAction.className=(0,T.z)(I,r.select,e.floatingAction.className)),e.checkbox&&(e.checkbox.className=(0,T.z)(N,r.hiddenCheckbox,e.checkbox.className))})(r),((e,t)=>((0,S.C)(e),(0,C.Y)(e.root,{children:(0,C.FD)(b.uz,{value:t,children:[e.checkbox?(0,C.Y)(e.checkbox,{}):null,e.floatingAction?(0,C.Y)(e.floatingAction,{}):null,e.root.children]})})))(r,n)}));O.displayName="Card"},916:(e,t,r)=>{"use strict";r.d(t,{a3:()=>s,uz:()=>a,yi:()=>i});var o=r(5043);const n=o.createContext(void 0),i={selectableA11yProps:{referenceId:void 0,setReferenceId(){},referenceLabel:void 0,setReferenceLabel(){}}},a=n.Provider,s=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},3462:(e,t,r)=>{"use strict";r.d(t,{a:()=>b});var o=r(5043),n=r(7051),i=r(1360),a=r(9632),s=r(3397),l=r(916),c=r(9392),u=r(6755);const d={root:"fui-CardHeader",image:"fui-CardHeader__image",header:"fui-CardHeader__header",description:"fui-CardHeader__description",action:"fui-CardHeader__action"},f=(0,c.X)({root:{Bkc6ea2:"fkufhic",Bt984gj:"f122n59"},image:{mc9l5x:"ftuwxu6",t21cq0:["fql5097","f6yss9k"]},header:{mc9l5x:"f22iagw"},description:{mc9l5x:"f22iagw"},action:{Frg6f3:["f6yss9k","fql5097"],B7frvx2:"f1ndzpm5",B06c7xf:["f1fkeggc","f1u45u6i"],B8uq84v:"f16eyofs",snkdo8:["f1u45u6i","f1fkeggc"],Bpf22ct:"f1wkmkig",apjfyd:"f18alut9"}},{d:[".fkufhic{--fui-CardHeader--gap:12px;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".fql5097{margin-right:var(--fui-CardHeader--gap);}",".f6yss9k{margin-left:var(--fui-CardHeader--gap);}",".f22iagw{display:flex;}"],m:[["@media (forced-colors: active){.f1ndzpm5 .fui-Button,.f1ndzpm5 .fui-Link{border-top-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1fkeggc .fui-Button,.f1fkeggc .fui-Link{border-right-color:currentColor;}.f1u45u6i .fui-Button,.f1u45u6i .fui-Link{border-left-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16eyofs .fui-Button,.f16eyofs .fui-Link{border-bottom-color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wkmkig .fui-Button,.f1wkmkig .fui-Link{color:currentColor;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18alut9 .fui-Button,.f18alut9 .fui-Link{outline-color:currentColor;}}",{m:"(forced-colors: active)"}]]}),h=(0,c.X)({root:{mc9l5x:"f13qh94s",t4k1zu:"f8a668j"},image:{Br312pm:"fwpfdsa",Ijaq50:"fldnz9j"},header:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},description:{Br312pm:"fd46tj4",Ijaq50:"faunodf"},action:{Br312pm:"fis13di",Ijaq50:"fldnz9j"}},{d:[".f13qh94s{display:grid;}",".f8a668j{grid-auto-columns:min-content 1fr min-content;}",".fwpfdsa{grid-column-start:1;}",".fldnz9j{grid-row-start:span 2;}",".fd46tj4{grid-column-start:2;}",".f16hsg94{grid-row-start:1;}",".faunodf{grid-row-start:2;}",".fis13di{grid-column-start:3;}"]}),p=(0,c.X)({root:{mc9l5x:"f22iagw"},header:{Bh6795r:"fqerorx"},image:{},description:{},action:{}},{d:[".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}"]});const g=(e,t)=>{const{image:r,header:c,description:u,action:f}=e,{selectableA11yProps:{referenceId:h,setReferenceId:p}}=(0,l.a3)(),g=o.useRef(null),m=o.useRef(!1),v=(0,i.Bi)(d.header,h),b=a.lq(c,{renderByDefault:!0,defaultProps:{ref:g,id:m.current?void 0:h},elementType:"div"});return o.useEffect((()=>{var e;const t=m.current||null===(e=g.current)||void 0===e?void 0:e.id,r=function(e){return o.Children.toArray(e).find((function(e){return o.isValidElement(e)&&Boolean(e.props.id)}))}(null===b||void 0===b?void 0:b.children);m.current=Boolean(r),p(function(e,t,r){return e||((null===t||void 0===t?void 0:t.props.id)?t.props.id:r)}(t,r,v))}),[v,c,b,p]),{components:{root:"div",image:"div",header:"div",description:"div",action:"div"},root:a.Gk((0,s.g)("div",(0,n.A)({ref:t},e)),{elementType:"div"}),image:a.lq(r,{elementType:"div"}),header:b,description:a.lq(u,{elementType:"div"}),action:a.lq(f,{elementType:"div"})}};var m=r(9463),v=r(9413);const b=o.forwardRef(((e,t)=>{const r=g(e,t);return(e=>{const t=f(),r=h(),o=p(),n=e.description?r:o,i=r=>{var o;return(0,u.z)(d[r],t[r],n[r],null===(o=e[r])||void 0===o?void 0:o.className)};e.root.className=i("root"),e.image&&(e.image.className=i("image")),e.header&&(e.header.className=i("header")),e.description&&(e.description.className=i("description")),e.action&&(e.action.className=i("action"))})(r),(e=>((0,v.C)(e),(0,m.FD)(e.root,{children:[e.image&&(0,m.Y)(e.image,{}),e.header&&(0,m.Y)(e.header,{}),e.description&&(0,m.Y)(e.description,{}),e.action&&(0,m.Y)(e.action,{})]})))(r)}));b.displayName="CardHeader"},8059:(e,t,r)=>{"use strict";r.d(t,{X:()=>m});var o=r(5043),n=r(7051),i=r(5923),a=r(9632),s=r(3397),l=r(916),c=r(9392),u=r(6755);const d="fui-CardPreview",f="fui-CardPreview__logo",h=(0,c.X)({root:{qhf8xq:"f10pi13n",Byfpedg:"fgourly",Btj6oj6:"f1vui7lx",B1m4t4s:"fda5zwx"},logo:{qhf8xq:"f1euv43f",B5kzvoi:"f1gcvs1y",oyh7mz:["f1t6tvco","ffrfxm3"],a9b677:"f1szoe96",Bqenvij:"f1d2rq10"}},{d:[".f10pi13n{position:relative;}",".fgourly>:not(.fui-CardPreview__logo){display:block;}",".f1vui7lx>:not(.fui-CardPreview__logo){height:100%;}",".fda5zwx>:not(.fui-CardPreview__logo){width:100%;}",".f1euv43f{position:absolute;}",".f1gcvs1y{bottom:12px;}",".f1t6tvco{left:12px;}",".ffrfxm3{right:12px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}"]});var p=r(9463),g=r(9413);const m=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{logo:r}=e,{selectableA11yProps:{referenceLabel:c,referenceId:u,setReferenceLabel:f,setReferenceId:h}}=(0,l.a3)(),p=(0,i.a)(t,o.useRef(null));return o.useEffect((()=>{if((!c||!u)&&p.current&&p.current.parentNode){const e=p.current.parentNode.querySelector(".".concat(d," > img"));if(e){const t=e.getAttribute("aria-label"),r=e.getAttribute("aria-describedby");r?h(r):e.alt?f(e.alt):t&&f(t)}}}),[f,c,p,u,h]),{components:{root:"div",logo:"div"},root:a.Gk((0,s.g)("div",(0,n.A)({ref:p},e)),{elementType:"div"}),logo:a.lq(r,{elementType:"div"})}})(e,t);return(e=>{const t=h();e.root.className=(0,u.z)(d,t.root,e.root.className),e.logo&&(e.logo.className=(0,u.z)(f,t.logo,e.logo.className))})(r),(e=>((0,g.C)(e),(0,p.FD)(e.root,{children:[e.root.children,e.logo&&(0,p.Y)(e.logo,{})]})))(r)}));m.displayName="CardPreview"},8647:(e,t,r)=>{"use strict";r.d(t,{S:()=>j});var o=r(5043),n=r(7051),i=r(3784),a=r(5673),s=r(1223),l=r(1360),c=r(9632),u=r(3614),d=r(5923),f=r(4915),h=r(4861),p=r(3703),g=r(1522),m=r(8581),v=r(9899);var b=r(9463),y=r(9413);var w=r(9560),k=r(9392),x=r(6755);const C="fui-Checkbox",S="fui-Checkbox__label",_="fui-Checkbox__input",A="fui-Checkbox__indicator",T=(0,w.y)("r1q22k1j","r18ze4k2",{r:[".r1q22k1j{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1q22k1j:focus{outline-style:none;}",".r1q22k1j:focus-visible{outline-style:none;}",".r1q22k1j[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1q22k1j[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r18ze4k2{position:relative;display:inline-flex;cursor:pointer;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r18ze4k2:focus{outline-style:none;}",".r18ze4k2:focus-visible{outline-style:none;}",".r18ze4k2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r18ze4k2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1q22k1j[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r18ze4k2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),E=(0,k.X)({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),B=(0,w.y)("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),I=(0,k.X)({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),N=(0,w.y)("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),P=(0,k.X)({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),R=(0,k.X)({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]});var O=r(6930);const j=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=(0,i.c)(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:b,shape:y="square",size:w="medium",labelPosition:k="after",onChange:x}=e,[C,S]=(0,a.i)({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),_=(0,s.n)({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),A="mixed"===C,T=(0,l.Bi)("checkbox-",_.primary.id);let E;A?E="circular"===y?o.createElement(h.xeZ,null):"large"===w?o.createElement(p.Dd,null):o.createElement(p.nfo,null):C&&(E="large"===w?o.createElement(g.FUA,null):o.createElement(g.jvo,null));const B={shape:y,checked:C,disabled:r,size:w,labelPosition:k,components:{root:"span",input:"input",indicator:"div",label:m.J},root:c.Gk(e.root,{defaultProps:(0,n.A)({ref:(0,v.R)()},_.root),elementType:"span"}),input:c.Gk(e.input,{defaultProps:(0,n.A)({type:"checkbox",id:T,ref:t,checked:!0===C},_.primary),elementType:"input"}),label:c.lq(e.label,{defaultProps:{htmlFor:T,disabled:r,required:b,size:"medium"},elementType:m.J}),indicator:c.lq(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:E},elementType:"div"})};B.input.onChange=(0,u.D)((e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null===x||void 0===x||x(e,{checked:t}),S(t)}));const I=(0,d.a)(B.input.ref);return B.input.ref=I,(0,f.E)((()=>{I.current&&(I.current.indeterminate=A)}),[I,A]),B})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:o,shape:n,size:i}=e,a=T(),s=E();e.root.className=(0,x.z)(C,a,r?s.disabled:"mixed"===t?s.mixed:t?s.checked:s.unchecked,e.root.className);const l=B(),c=I();e.input.className=(0,x.z)(_,l,"large"===i&&c.large,c[o],e.input.className);const u=N(),d=P();e.indicator&&(e.indicator.className=(0,x.z)(A,u,"large"===i&&d.large,"circular"===n&&d.circular,e.indicator.className));const f=R();e.label&&(e.label.className=(0,x.z)(S,f.base,f[i],f[o],e.label.className))})(r),(0,O.$e)("useCheckboxStyles_unstable")(r),(e=>((0,y.C)(e),(0,b.FD)(e.root,{children:[(0,b.Y)(e.input,{}),"before"===e.labelPosition&&e.label&&(0,b.Y)(e.label,{}),e.indicator&&(0,b.Y)(e.indicator,{}),"after"===e.labelPosition&&e.label&&(0,b.Y)(e.label,{})]})))(r)}));j.displayName="Checkbox"},5648:(e,t,r)=>{"use strict";r.d(t,{m:()=>de});var o=r(5043),n=r(7051),i=r(3784),a=r(3614),s=r(5923),l=r(7458);function c(e){const t=(0,l.K)(),r=(0,a.D)(e);o.useEffect((()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}}),[t,r])}var u=r(2390),d=r(3804);const f="data-activedescendant",h="data-activedescendant-focusvisible",p=e=>{if(!e)return;const t=g(e.parentElement);if(!t)return;const{offsetHeight:r}=e,o=m(e,t),{scrollMarginTop:n,scrollMarginBottom:i}=v(e),{offsetHeight:a,scrollTop:s}=t,l=o+r+i>s+a;o-n<s?t.scrollTo(0,o-n-2):l&&t.scrollTo(0,o+r+i-a+2)},g=e=>e?e.scrollHeight>e.offsetHeight?e:g(e.parentElement):null,m=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+m(e.offsetParent,t):0,v=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const o=r.getComputedStyle(e);var n;var i;return{scrollMarginTop:null!==(n=b(o.scrollMarginTop))&&void 0!==n?n:b(o.scrollMarginBlockStart),scrollMarginBottom:null!==(i=b(o.scrollMarginBottom))&&void 0!==i?i:b(o.scrollMarginBlockEnd)}},b=e=>e?parseInt(e,10):0;function y(e){const{imperativeRef:t,matchOption:r}=e,n=o.useRef(!1),i=o.useRef(!0),l=o.useRef(null),g=o.useRef(null),m=o.useRef(null),v=o.useRef(!0),b=o.useCallback((()=>{var e;null===(e=m.current)||void 0===e||e.removeAttribute("aria-activedescendant")}),[]),y=o.useCallback((e=>{var t;(e&&(l.current=e),v.current&&l.current)&&(null===(t=m.current)||void 0===t||t.setAttribute("aria-activedescendant",l.current))}),[]);c((e=>{n.current=e;const t=S();t&&(e&&i.current?t.setAttribute(h,""):t.removeAttribute(h))}));const w=(0,a.D)(r),k=o.useRef(null),{optionWalker:x,listboxCallbackRef:C}=function(e){const{matchOption:t}=e,{targetDocument:r}=(0,u.Y)(),n=o.useRef(null),i=o.useRef(null),a=o.useCallback((e=>(0,d.s)(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),[t]),s=o.useCallback((e=>{e&&r?(i.current=e,n.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):i.current=null}),[r,a]);return{optionWalker:o.useMemo((()=>({first:()=>n.current&&i.current?(n.current.currentNode=i.current,n.current.firstChild()):null,last:()=>n.current&&i.current?(n.current.currentNode=i.current,n.current.lastChild()):null,next:()=>n.current?n.current.nextNode():null,prev:()=>n.current?n.current.previousNode():null,find:(e,t)=>{if(!n.current||!i.current)return null;const o=t?null===r||void 0===r?void 0:r.getElementById(t):null;n.current.currentNode=null!==o&&void 0!==o?o:i.current;let a=n.current.currentNode;for(;a&&!e(a.id);)a=n.current.nextNode();return a},setCurrent:e=>{n.current&&(n.current.currentNode=e)}})),[r]),listboxCallbackRef:s}}({matchOption:w}),S=o.useCallback((()=>{var e;return null===(e=k.current)||void 0===e?void 0:e.querySelector("#".concat(l.current))}),[k]),_=o.useCallback((e=>{i.current=e;const t=S();t&&(e&&n.current?t.setAttribute(h,""):t.removeAttribute(h))}),[S]),A=o.useCallback((()=>{const e=S();var t;return e&&(e.removeAttribute(f),e.removeAttribute(h)),b(),g.current=l.current,l.current=null,null!==(t=null===e||void 0===e?void 0:e.id)&&void 0!==t?t:null}),[S,b]),T=o.useCallback((e=>{if(!e)return;const t=A();p(e),y(e.id),e.setAttribute(f,""),n.current&&i.current&&e.setAttribute(h,"");const r=(o={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:o}));var o;e.dispatchEvent(r)}),[A,y]),E=o.useMemo((()=>({first:function(){let{passive:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=x.first();return e||T(t),null===t||void 0===t?void 0:t.id},last:function(){let{passive:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=x.last();return e||T(t),null===t||void 0===t?void 0:t.id},next:function(){let{passive:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=S();if(!t)return;x.setCurrent(t);const r=x.next();return e||T(r),null===r||void 0===r?void 0:r.id},prev:function(){let{passive:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=S();if(!t)return;x.setCurrent(t);const r=x.prev();return e||T(r),null===r||void 0===r?void 0:r.id},blur:()=>{A()},active:()=>{var e;return null===(e=S())||void 0===e?void 0:e.id},focus:e=>{if(!k.current)return;const t=k.current.querySelector("#".concat(e));t&&T(t)},focusLastActive:()=>{if(!k.current||!g.current)return;const e=k.current.querySelector("#".concat(g.current));return e?(T(e),!0):void 0},find(e){let{passive:t,startFrom:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=x.find(e,r);return t||T(o),null===o||void 0===o?void 0:o.id},scrollActiveIntoView:()=>{if(!k.current)return;const e=S();e&&p(e)},showAttributes(){v.current=!0,y()},hideAttributes(){v.current=!1,b()},showFocusVisibleAttributes(){_(!0)},hideFocusVisibleAttributes(){_(!1)}})),[x,k,y,b,T,A,S,_]);return o.useImperativeHandle(t,(()=>E)),{listboxRef:(0,s.a)(k,C),activeParentRef:m,controller:E}}var w=r(4861),k=r(1223),x=r(9015),C=r(9632),S=r(8715),_=r(7950),A=r(1898),T=r(5673);const E=()=>{const e=o.useRef(new Map),t=o.useMemo((()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter((e=>{let{text:r}=e;return t(r)})),getOptionsMatchingValue:t=>{const r=[];for(const o of e.current.values())t(o.value)&&r.push(o);return r}})),[]),r=o.useCallback((t=>(e.current.set(t.id,t),()=>e.current.delete(t.id))),[]);return(0,n.A)((0,n.A)({},t),{},{options:Array.from(e.current.values()),registerOption:r})},B=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:n}=e,[i,a]=(0,T.i)({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null===n||void 0===n||n(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:(0,o.useCallback)(((e,t)=>{if(t.disabled)return;let o=[t.value];if(r){const e=i.findIndex((e=>e===t.value));o=e>-1?[...i.slice(0,e),...i.slice(e+1)]:[...i,t.value]}a(o),null===n||void 0===n||n(e,{optionValue:t.value,optionText:t.text,selectedOptions:o})}),[n,r,i,a]),selectedOptions:i}};var I=r(9722),N=r(1311);var P=r(3397);function R(e){const t=o.useContext(e);return!!t.version&&-1!==t.version.current}var O=r(86),j=r(9883);function z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{open:r=!0,multiselect:o=!1}=t,n=e.key,{altKey:i,ctrlKey:a,key:s,metaKey:l}=e;return 1!==s.length||n===j.$xS||i||a||l?r?n===j.DoI&&i||n===j.xyI||!o&&n===j.$xS?"CloseSelect":o&&n===j.$xS?"Select":n===j.uf9?"Close":n===j.yd$?"Next":n===j.DoI?"Previous":n===j.ww0?"First":n===j.oam?"Last":n===j.j0c?"PageUp":n===j.e5x?"PageDown":n===j.ozo?"Tab":"None":n===j.yd$||n===j.DoI||n===j.xyI||n===j.$xS?"Open":"None":"Type"}var M=r(8775),L=r(1467);const D={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null};var F=r(9463),q=r(9413);var H=r(9392),U=r(6755);const W="fui-Listbox",K=(0,H.X)({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]});var G=r(6930);const V=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{multiselect:r,disableAutoFocus:i=!1}=e,l=E(),{listboxRef:u,activeParentRef:d,controller:f}=y({matchOption:e=>e.classList.contains(M.i.root)}),h=R(L.lq),p=(0,L.tu)((e=>e.onActiveDescendantChange)),g=(0,L.tu)((e=>e.getOptionById)),m=(0,L.tu)((e=>e.getOptionsMatchingValue)),v=h?g:l.getOptionById,b=h?m:l.getOptionsMatchingValue,w=o.useMemo((()=>{let e=null;const t=e=>{null===p||void 0===p||p(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null===e||void 0===e||e.removeEventListener("activedescendantchange",t)}}),[p]),[k,x]=o.useState(!1);c(x);const _=(0,O.oj)(),A=(0,O.En)(),T=A?_.controller:f,{clearSelection:I,selectedOptions:N,selectOption:j}=B(e),F=(0,L.tu)((e=>e.selectedOptions)),q=(0,L.tu)((e=>e.selectOption)),H=h?(0,n.A)({selectedOptions:F,selectOption:q},D):(0,n.A)({selectedOptions:N,selectOption:j},D);o.useEffect((()=>{if(!A){if(T.hideFocusVisibleAttributes(),!i)if(!r&&H.selectedOptions.length>0){const e=b((e=>e===H.selectedOptions[0])).pop();(null===e||void 0===e?void 0:e.id)&&T.focus(e.id)}else T.first();return()=>{T.blur()}}}),[]);const U=o.useCallback((()=>{A||(T.showFocusVisibleAttributes(),k&&T.scrollActiveIntoView())}),[T,A,k]),W=o.useCallback((()=>{A||T.hideFocusVisibleAttributes()}),[T,A]),K=(0,n.A)((0,n.A)({components:{root:"div"},root:C.Gk((0,P.g)("div",(0,n.A)({ref:(0,s.a)(t,d,u,w),role:r?"menu":"listbox",tabIndex:0},e)),{elementType:"div"}),standalone:!h,multiselect:r,clearSelection:I,activeDescendantController:T,onActiveDescendantChange:p},l),H);return K.root.onKeyDown=(0,a.D)((0,S.p)(K.root.onKeyDown,(e=>{const t=z(e,{open:!0}),r=T.active(),o=r?v(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":o?T.next():T.first();break;case"Previous":o?T.prev():T.first();break;case"PageUp":case"First":T.first();break;case"PageDown":case"Last":T.last();break;case"Select":case"CloseSelect":o&&j(e,o)}}))),K.root.onFocus=(0,a.D)((0,S.p)(K.root.onFocus,U)),K.root.onBlur=(0,a.D)((0,S.p)(K.root.onBlur,W)),K})(e,t),i=function(e){const t=R(L.lq),{getOptionById:r,getOptionsMatchingValue:n,multiselect:i,registerOption:a,selectedOptions:s,selectOption:l,activeDescendantController:c}=e,u=(0,L.tu)((e=>e.registerOption));return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:n,multiselect:i,registerOption:t?u:a,selectedOptions:s,selectOption:l,setActiveOption:()=>{},onOptionClick:(0,L.tu)((e=>e.onOptionClick)),onActiveDescendantChange:(0,L.tu)((e=>e.onActiveDescendantChange))},activeDescendant:o.useMemo((()=>({controller:c})),[c])}}(r);return(e=>{const t=K();e.root.className=(0,U.z)(W,t.root,e.root.className)})(r),(0,G.$e)("useListboxStyles_unstable")(r),((e,t)=>((0,q.C)(e),(0,F.Y)(O.g4,{value:t.activeDescendant,children:(0,F.Y)(L.lq.Provider,{value:t.listbox,children:(0,F.Y)(e.root,{})})})))(r,i)}));V.displayName="Listbox";var Y=r(1360),X=r(8701);var Q=r(2218);function Z(e,t,r){const{state:{open:i,setOpen:c,setHasFocus:u},defaultProps:d,elementType:f,activeDescendantController:h}=r,p=C.Gk(e,{defaultProps:(0,n.A)({type:"text","aria-expanded":i,role:"combobox"},"object"===typeof d&&d),elementType:f}),g=o.useRef(null);return p.ref=(0,s.a)(g,p.ref,t),p.onBlur=(0,S.p)((e=>{c(e,!1),u(!1)}),p.onBlur),p.onFocus=(0,S.p)((e=>{e.target===e.currentTarget&&u(!0)}),p.onFocus),p.onClick=(0,S.p)((e=>{c(e,!i)}),p.onClick),p.onKeyDown=(0,S.p)(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:n,selectOption:i,multiselect:s,open:c}=e,u=o.useCallback((()=>{const e=t.active();return e?r(e):void 0}),[t,r]),d=()=>{t.first()},f=()=>{t.last()},h=e=>{e?t.next():t.first()},p=e=>{e?t.prev():t.first()},g=()=>{for(let e=0;e<10;e++)t.prev()},m=()=>{for(let e=0;e<10;e++)t.next()},v=function(){const e=(0,l.K)();return o.useCallback((t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)}),[e])}();return(0,a.D)((e=>{const t=z(e,{open:c,multiselect:s}),r=u();switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(v(!0),t){case"First":d();break;case"Last":f();break;case"Next":h(r);break;case"Previous":p(r);break;case"PageDown":m();break;case"PageUp":g();break;case"Open":n(e,!0);break;case"Close":e.stopPropagation(),n(e,!1);break;case"CloseSelect":!s&&!(null===r||void 0===r?void 0:r.disabled)&&n(e,!1);case"Select":r&&i(e,r);break;case"Tab":!s&&r&&i(e,r)}}))}((0,n.A)({activeDescendantController:h},r.state)),p.onKeyDown),p}function J(e,t,r){const{state:{open:n,setOpen:i,getOptionById:a},defaultProps:s,activeDescendantController:l}=r,c=o.useRef(""),[u,d]=(0,Q.Z)(),f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{startFromNext:!1};const{startFromNext:r}=t,o=l.active(),n=l.find((t=>{const r=a(t);return!!r&&e(r.text)}),{startFrom:r?l.next({passive:!0}):o});return n||l.find((t=>{const r=a(t);return!!r&&e(r.text)}))},h=Z(e,t,{state:r.state,defaultProps:s,elementType:"button",activeDescendantController:l});return h.onKeyDown=(0,S.p)((e=>{d(),"Type"===z(e)&&(c.current+=e.key.toLowerCase(),u((()=>{c.current=""}),500),n&&(f((e=>0===e.toLocaleLowerCase().indexOf(c.current)),{startFromNext:1===c.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(c.current)&&f((e=>0===e.toLocaleLowerCase().indexOf(c.current[0])),{startFromNext:!0})||l.blur()),!n&&i(e,!0))}),h.onKeyDown),h}const $=(e,t)=>{var r;e=(0,i.c)(e,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:l,activeParentRef:c,controller:d}=y({matchOption:e=>e.classList.contains(M.i.root)}),f=(e=>{const{appearance:t="outline",disableAutoFocus:r,children:i,clearable:s=!1,editable:l=!1,inlinePopup:c=!1,mountNode:u,multiselect:d,onOpenChange:f,size:h="medium",activeDescendantController:p,freeform:g=!1,disabled:m=!1,onActiveOptionChange:v=null}=e,b=E(),{getOptionsMatchingValue:y}=b,{getOptionById:w}=b,k=o.useCallback((()=>{const e=p.active();return e?w(e):void 0}),[p,w]),x=k(),C=o.useCallback((e=>{let t;"function"===typeof e&&(t=e(k())),t?p.focus(t.id):p.blur()}),[p,k]),[S,I]=o.useState(!1),[N,P]=o.useState(!1),R=o.useRef(!1),O=(0,A.t)(),[j,z]=(0,T.i)({state:e.value,initialState:void 0}),{selectedOptions:M,selectOption:L,clearSelection:D}=B(e),F=o.useCallback(((e,t)=>{_.unstable_batchedUpdates((()=>{z(void 0),L(e,t)}))}),[z,L]),q=o.useMemo((()=>{if(void 0!==j)return j;if(O&&void 0!==e.defaultValue)return e.defaultValue;const t=y((e=>M.includes(e))).map((e=>e.text));return d?l?"":t.join(", "):t[0]}),[j,l,y,d,M]),[H,U]=(0,T.i)({state:e.open,defaultState:e.defaultOpen,initialState:!1}),W=o.useCallback(((e,t)=>{m||(null===f||void 0===f||f(e,{open:t}),_.unstable_batchedUpdates((()=>{t||g||z(void 0),U(t)})))}),[f,U,z,g,m]);o.useEffect((()=>{if(H){if(!d&&M.length>0){const e=y((e=>e===M[0])).pop();(null===e||void 0===e?void 0:e.id)&&p.focus(e.id)}}else p.blur()}),[H,p]),o.useEffect((()=>{!H||r||p.active()||p.first()}),[H,i,r,p,w]);const K=(0,a.D)((e=>{const t=e.detail.previousId?b.getOptionById(e.detail.previousId):null,r=b.getOptionById(e.detail.id);null===v||void 0===v||v(e,{event:e,type:"change",previousOption:t,nextOption:r})}));return(0,n.A)((0,n.A)({},b),{},{freeform:g,disabled:m,selectOption:F,clearSelection:D,selectedOptions:M,activeOption:x,appearance:t,clearable:s,focusVisible:S,ignoreNextBlur:R,inlinePopup:c,mountNode:u,open:H,hasFocus:N,setActiveOption:C,setFocusVisible:I,setHasFocus:P,setOpen:W,setValue:z,size:h,value:q,multiselect:d,onOptionClick:(0,a.D)((e=>{d||W(e,!1)})),onActiveDescendantChange:K})})((0,n.A)((0,n.A)({},e),{},{activeDescendantController:d,freeform:!1})),{clearable:h,clearSelection:p,disabled:g,hasFocus:m,multiselect:v,open:b,selectedOptions:P,setOpen:R}=f,{primary:O,root:j}=(0,k.n)({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[z,L]=function(e){const{positioning:t}=e,r=(0,n.A)({position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0},(0,I.P)(t)),{targetRef:o,containerRef:i}=(0,N.T)(r);return[i,o]}(e),D=o.useRef(null),F=function(e,t,r){const{state:{multiselect:o},triggerRef:i,defaultProps:l}=r,c=(0,Y.Bi)("fluent-listbox",(0,X.g)(e)?e.id:void 0),u=C.lq(e,{renderByDefault:!0,elementType:V,defaultProps:(0,n.A)({id:c,multiselect:o,tabIndex:void 0},l)}),d=(0,a.D)((0,S.p)((e=>{e.preventDefault()}),null===u||void 0===u?void 0:u.onMouseDown)),f=(0,a.D)((0,S.p)((e=>{var t;e.preventDefault(),null===(t=i.current)||void 0===t||t.focus()}),null===u||void 0===u?void 0:u.onClick)),h=(0,s.a)(null===u||void 0===u?void 0:u.ref,t);return u&&(u.ref=h,u.onMouseDown=d,u.onClick=f),u}(e.listbox,(0,s.a)(z,l),{state:f,triggerRef:D,defaultProps:{children:e.children}}),{targetDocument:q}=(0,u.Y)();var H;(0,x.W)({element:q,callback:e=>R(e,!1),refs:[D,z,L],disabled:!b});const U=J(null!==(H=e.button)&&void 0!==H?H:{},(0,s.a)(D,c,t),{state:f,defaultProps:(0,n.A)({type:"button",tabIndex:O.disabled?void 0:0,children:f.value||e.placeholder,"aria-controls":b?null===F||void 0===F?void 0:F.id:void 0},O),activeDescendantController:d}),W=C.Gk(e.root,{defaultProps:(0,n.A)({"aria-owns":!e.inlinePopup&&b?null===F||void 0===F?void 0:F.id:void 0,children:e.children},j),elementType:"div"});W.ref=(0,s.a)(W.ref,L);const K=P.length>0&&!g&&h&&!v,G=(0,n.A)({components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:V},root:W,button:U,listbox:b||m?F:void 0,clearButton:C.lq(e.clearButton,{defaultProps:{"aria-label":"Clear selection",children:o.createElement(w.BEt,null),tabIndex:K?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:C.lq(e.expandIcon,{renderByDefault:!0,defaultProps:{children:o.createElement(w.yuG,null)},elementType:"span"}),placeholderVisible:!f.value&&!!e.placeholder,showClearButton:K,activeDescendantController:d},f),Q=(0,a.D)((0,S.p)(null===(r=G.clearButton)||void 0===r?void 0:r.onClick,(e=>{var t;p(e),null===(t=D.current)||void 0===t||t.focus()})));return G.clearButton&&(G.clearButton.onClick=Q),v&&(G.clearButton=void 0),G};var ee=r(1880);const te=(0,r(2075).q)({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});te.Provider;var re=r(9560);const oe="fui-Dropdown",ne="fui-Dropdown__button",ie="fui-Dropdown__clearButton",ae="fui-Dropdown__expandIcon",se="fui-Dropdown__listbox",le=(0,H.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bz04dq9:"f132nw8t",Budl3uf:"f1htdosj"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"flmw63s",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"fqhmt4z",B50zh58:["f4ruux4","f1assf6x"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f132nw8t:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1htdosj:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".flmw63s:hover{border-bottom-color:var(--colorNeutralStrokeAccessible);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".fqhmt4z:active{border-bottom-color:var(--colorNeutralStrokeAccessible);}"]}),ce=(0,H.X)({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),ue=(0,re.y)("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]});const de=o.forwardRef(((e,t)=>{const r=$(e,t),n=function(e){const{appearance:t,open:r,getOptionById:n,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setOpen:c,size:u,activeDescendantController:d,onOptionClick:f,onActiveDescendantChange:h}=e,p={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:i,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,onOptionClick:f,onActiveDescendantChange:h};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:s,selectOption:l,setActiveOption:()=>null,setOpen:c,size:u},activeDescendant:o.useMemo((()=>({controller:d})),[d]),listbox:p}}(r);return(e=>{const{appearance:t,open:r,placeholderVisible:o,showClearButton:n,size:i}=e,a="true"==="".concat(e.button["aria-invalid"]),s=e.button.disabled,l=le(),c=ce(),u=ue();e.root.className=(0,U.z)(oe,l.root,l[t],!s&&"outline"===t&&l.outlineInteractive,a&&"underline"!==t&&l.invalid,a&&"underline"===t&&l.invalidUnderline,s&&l.disabled,e.root.className),e.button.className=(0,U.z)(ne,l.button,l[i],o&&l.placeholder,s&&l.disabledText,e.button.className),e.listbox&&(e.listbox.className=(0,U.z)(se,l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=(0,U.z)(ae,c.icon,c[i],s&&c.disabled,n&&l.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=(0,U.z)(ie,u,c.icon,c[i],s&&c.disabled,!n&&l.hidden,e.clearButton.className))})(r),(0,G.$e)("useDropdownStyles_unstable")(r),((e,t)=>((0,q.C)(e),(0,F.Y)(e.root,{children:(0,F.Y)(O.g4,{value:t.activeDescendant,children:(0,F.Y)(L.lq.Provider,{value:t.listbox,children:(0,F.FD)(te.Provider,{value:t.combobox,children:[(0,F.FD)(e.button,{children:[e.button.children,e.expandIcon&&(0,F.Y)(e.expandIcon,{})]}),e.clearButton&&(0,F.Y)(e.clearButton,{}),e.listbox&&(e.inlinePopup?(0,F.Y)(e.listbox,{}):(0,F.Y)(ee.Z,{mountNode:e.mountNode,children:(0,F.Y)(e.listbox,{})}))]})})})})))(r,n)}));de.displayName="Dropdown"},8868:(e,t,r)=>{"use strict";r.d(t,{c:()=>b});var o=r(5043),n=r(7051),i=r(1360),a=r(9632),s=r(3397),l=r(5923),c=r(86),u=r(4861),d=r(1522),f=r(1467);const h=(e,t)=>{const{children:r,disabled:h,text:p,value:g}=e,m=o.useRef(null),v=function(e,t){if(void 0!==e)return e;let r="",n=!1;return o.Children.forEach(t,(e=>{"string"===typeof e?r+=e:n=!0})),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(p,r),b=null!==g&&void 0!==g?g:v,y=(0,i.Bi)("fluent-option",e.id),w=o.useMemo((()=>({id:y,disabled:h,text:v,value:b})),[y,h,v,b]),{controller:k}=(0,c.oj)(),x=(0,f.tu)((e=>e.multiselect)),C=(0,f.tu)((e=>e.registerOption)),S=(0,f.tu)((e=>{const t=e.selectedOptions;return void 0!==b&&void 0!==t.find((e=>e===b))})),_=(0,f.tu)((e=>e.selectOption)),A=(0,f.tu)((e=>e.onOptionClick));let T=o.createElement(u._jO,null);x&&(T=S?o.createElement(d.jvo,null):"");o.useEffect((()=>{if(y&&m.current)return C(w,m.current)}),[y,w,C]);const E=x?{role:"menuitemcheckbox","aria-checked":S}:{role:"option","aria-selected":S};return{components:{root:"div",checkIcon:"span"},root:a.Gk((0,s.g)("div",(0,n.A)((0,n.A)((0,n.A)({ref:(0,l.a)(t,m),"aria-disabled":h?"true":void 0,id:y},E),e),{},{onClick:t=>{var r;h?t.preventDefault():(k.focus(y),_(t,w),A(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}})),{elementType:"div"}),checkIcon:a.lq(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:T},elementType:"span"}),disabled:h,multiselect:x,selected:S,focusVisible:!1,active:!1}};var p=r(9463),g=r(9413);var m=r(8775),v=r(6930);const b=o.forwardRef(((e,t)=>{const r=h(e,t);return(0,m.e)(r),(0,v.$e)("useOptionStyles_unstable")(r),(e=>((0,g.C)(e),(0,p.FD)(e.root,{children:[e.checkIcon&&(0,p.Y)(e.checkIcon,{}),e.root.children]})))(r)}));b.displayName="Option"},8775:(e,t,r)=>{"use strict";r.d(t,{e:()=>s,i:()=>i});var o=r(9392),n=r(6755);const i={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},a=(0,o.X)({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),s=e=>{const{disabled:t,multiselect:r,selected:o}=e,s=a();return e.root.className=(0,n.z)(i.root,s.root,s.active,t&&s.disabled,o&&s.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=(0,n.z)(i.checkIcon,s.checkIcon,r&&s.multiselectCheck,o&&s.selectedCheck,o&&r&&s.selectedMultiselectCheck,t&&s.checkDisabled,t&&r&&s.multiselectCheckDisabled,e.checkIcon.className)),e}},1467:(e,t,r)=>{"use strict";r.d(t,{lq:()=>l,tu:()=>c});var o=r(5043),n=r(2075),i=r(3614),a=r(4915);const s={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},l=(0,n.q)(void 0),c=e=>((e,t)=>{const r=o.useContext(e),{value:{current:n},version:{current:s},listeners:l}=r,c=t(n),[u,d]=o.useState([n,c]),f=e=>{d((r=>{if(!e)return[n,c];if(e[0]<=s)return Object.is(r[1],c)?r:[n,c];try{if(Object.is(r[0],e[1]))return r;const o=t(e[1]);return Object.is(r[1],o)?r:[e[1],o]}catch(o){}return[r[0],r[1]]}))};Object.is(u[1],c)||f(void 0);const h=(0,i.D)(f);return(0,a.E)((()=>(l.push(h),()=>{const e=l.indexOf(h);l.splice(e,1)})),[h,l]),u[1]})(l,(function(){return e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s)}));l.Provider},2075:(e,t,r)=>{"use strict";r.d(t,{q:()=>a});var o=r(4915),n=r(5043),i=r(6137);const a=e=>{const t=n.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=n.useRef(e.value),a=n.useRef(0),s=n.useRef();return s.current||(s.current={value:t,version:a,listeners:[]}),(0,o.E)((()=>{t.current=e.value,a.current+=1,(0,i.unstable_runWithPriority)(i.unstable_NormalPriority,(()=>{s.current.listeners.forEach((t=>{t([a.current,e.value])}))}))}),[e.value]),n.createElement(r,{value:s.current},e.children)}),delete t.Consumer,t}},1638:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(!(0<i(n,t)))break e;e[o]=t,e[r]=n,r=o}}function o(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,a=n>>>1;o<a;){var s=2*(o+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,r))c<n&&0>i(u,l)?(e[o]=u,e[c]=r,o=c):(e[o]=l,e[s]=r,o=s);else{if(!(c<n&&0>i(u,r)))break e;e[o]=u,e[c]=r,o=c}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=o(u);null!==t;){if(null===t.callback)n(u);else{if(!(t.startTime<=e))break;n(u),t.sortIndex=t.expirationTime,r(c,t)}t=o(u)}}function k(e){if(m=!1,w(e),!g)if(null!==o(c))g=!0,R(x);else{var t=o(u);null!==t&&O(k,t.startTime-e)}}function x(e,r){g=!1,m&&(m=!1,b(A),A=-1),p=!0;var i=h;try{for(w(r),f=o(c);null!==f&&(!(f.expirationTime>r)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?f.callback=s:f===o(c)&&n(c),w(r)}else n(c);f=o(c)}if(null!==f)var l=!0;else{var d=o(u);null!==d&&O(k,d.startTime-r),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,_=null,A=-1,T=5,E=-1;function B(){return!(t.unstable_now()-E<T)}function I(){if(null!==_){var e=t.unstable_now();E=e;var r=!0;try{r=_(!0,e)}finally{r?C():(S=!1,_=null)}}else S=!1}if("function"===typeof y)C=function(){y(I)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=I,C=function(){P.postMessage(null)}}else C=function(){v(I,0)};function R(e){_=e,S||(S=!0,C())}function O(e,r){A=v((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(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return o(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},t.unstable_scheduleCallback=function(e,n,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(u,e),null===o(c)&&e===o(u)&&(m?(b(A),A=-1):m=!0,O(k,i-a))):(e.sortIndex=s,r(c,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},6137:(e,t,r)=>{"use strict";e.exports=r(1638)},315:(e,t,r)=>{"use strict";r.d(t,{l:()=>k});var o=r(5043);var n=r(1540),i=r(9940),a=r(5673),s=r(3614),l=r(1360),c=r(791),u=r(2390);var d=r(9454),f=r(8130),h=r(8337);const p=[{opacity:0,boxShadow:"0px 0px 0px 0px rgba(0, 0, 0, 0.1)",transform:"scale(0.85) translateZ(0)"},{boxShadow:r(3261).L.shadow64,transform:"scale(1) translateZ(0)",opacity:1}],g=(0,f.$)({enter:{keyframes:p,easing:h.TV.curveDecelerateMid,duration:h.TV.durationGentle},exit:{keyframes:[...p].reverse(),easing:h.TV.curveAccelerateMin,duration:h.TV.durationGentle}}),m=e=>{const{children:t,modalType:r="modal",onOpenChange:f,inertTrapFocus:h=!1}=e,[p,m]=function(e){const t=o.Children.toArray(e);0;switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}(t),[v,b]=(0,a.i)({state:e.open,defaultState:e.defaultOpen,initialState:!1}),y=(0,s.D)((e=>{null===f||void 0===f||f(e.event,e),e.event.isDefaultPrevented()||b(e.open)})),w=function(e,t){const{findFirstFocusable:r}=(0,c.r)(),{targetDocument:n}=(0,u.Y)(),i=o.useRef(null);return o.useEffect((()=>{if(!e)return;const t=i.current&&r(i.current);var o;t?t.focus():null===(o=i.current)||void 0===o||o.focus()}),[r,e,t,n]),i}(v,r),{modalAttributes:k,triggerAttributes:x}=(0,n.y)({trapFocus:"non-modal"!==r,legacyTrapFocus:!h}),C=function(e){const t=o.useContext(e);return!!t.version&&-1!==t.version.current}(d.MV);return{components:{surfaceMotion:g},inertTrapFocus:h,open:v,modalType:r,content:m,trigger:p,requestOpenChange:y,dialogTitleId:(0,l.Bi)("dialog-title-"),isNestedDialog:C,dialogRef:w,modalAttributes:k,triggerAttributes:x,surfaceMotion:(0,i.s)(e.surfaceMotion,{elementType:g,defaultProps:{appear:!0,visible:v,unmountOnExit:!0}})}};var v=r(9463),b=r(9413),y=r(8865),w=r(7884);const k=o.memo((e=>{const t=m(e),r=function(e){const{modalType:t,open:r,dialogRef:o,dialogTitleId:n,isNestedDialog:i,inertTrapFocus:a,requestOpenChange:s,modalAttributes:l,triggerAttributes:c}=e;return{dialog:{open:r,modalType:t,dialogRef:o,dialogTitleId:n,isNestedDialog:i,inertTrapFocus:a,modalAttributes:l,triggerAttributes:c,requestOpenChange:s},dialogSurface:!1}}(t);return((e,t)=>((0,b.C)(e),(0,v.Y)(d.Co,{value:t.dialog,children:(0,v.FD)(w.Rc,{value:t.dialogSurface,children:[e.trigger,e.content&&(0,v.Y)(e.surfaceMotion,{children:(0,v.Y)(y.K,{children:e.content})})]})})))(t,r)}));k.displayName="Dialog"},5935:(e,t,r)=>{"use strict";r.d(t,{V:()=>s});var o=r(9463),n=r(1880),i=r(9413),a=r(7884);const s=(e,t)=>((0,i.C)(e),(0,o.FD)(n.Z,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&(0,o.Y)(e.backdropMotion,{children:(0,o.Y)(e.backdrop,{})}),(0,o.Y)(a.Rc,{value:t.dialogSurface,children:(0,o.Y)(e.root,{})})]}))},4826:(e,t,r)=>{"use strict";r.d(t,{W:()=>C});var o=r(7051),n=r(9883),i=r(9940),a=r(3614),s=r(8701),l=r(9632),c=r(4915),u=r(3397),d=r(5923),f=r(5043),h=r(9454),p=r(2390),g=r(9560);const m=(0,g.y)("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),v=(0,g.y)("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);var b=r(8337),y=r(8130);const w=function(){let{enterDuration:e=b.TV.durationNormal,enterEasing:t=b.TV.curveEasyEase,exitDuration:r=e,exitEasing:o=t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{enter:{duration:e,easing:t,keyframes:[{opacity:0},{opacity:1}]},exit:{duration:r,easing:o,keyframes:[{opacity:1},{opacity:0}]}}},k=((0,y.$)(w()),(0,y.$)(w({enterDuration:b.TV.durationFast})),(0,y.$)(w({enterDuration:b.TV.durationGentle})));var x=r(8865);const C=(e,t)=>{const r=(0,x.Z)(),g=(0,h.e4)((e=>e.modalType)),b=(0,h.e4)((e=>e.isNestedDialog)),y=(0,h.e4)((e=>e.modalAttributes)),w=(0,h.e4)((e=>e.dialogRef)),C=(0,h.e4)((e=>e.requestOpenChange)),S=(0,h.e4)((e=>e.dialogTitleId)),_=(0,h.e4)((e=>e.open)),A=(0,a.D)((t=>{var r,o;(0,s.g)(e.backdrop)&&(null===(r=(o=e.backdrop).onClick)||void 0===r||r.call(o,t));"modal"!==g||t.isDefaultPrevented()||C({event:t,open:!1,type:"backdropClick"})})),T=(0,a.D)((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.key!==n.uf9||t.isDefaultPrevented()||(C({event:t,open:!1,type:"escapeKeyDown"}),t.preventDefault())})),E=l.lq(e.backdrop,{renderByDefault:"non-modal"!==g,defaultProps:{"aria-hidden":"true"},elementType:"div"});E&&(E.onClick=A);const{disableBodyScroll:B,enableBodyScroll:I}=function(){const e=m(),t=v(),{targetDocument:r}=(0,p.Y)();return{disableBodyScroll:f.useCallback((()=>{var o,n;r&&Math.floor(r.body.getBoundingClientRect().height)>(null!==(n=null===(o=r.defaultView)||void 0===o?void 0:o.innerHeight)&&void 0!==n?n:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))}),[r,e,t]),enableBodyScroll:f.useCallback((()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))}),[r,e,t])}}();return(0,c.E)((()=>{if(!b&&"non-modal"!==g)return B(),()=>{I()}}),[I,b,B,g]),{components:{backdrop:"div",root:"div",backdropMotion:k},open:_,backdrop:E,isNestedDialog:b,mountNode:e.mountNode,root:l.Gk((0,u.g)("div",(0,o.A)((0,o.A)((0,o.A)({tabIndex:-1,"aria-modal":"non-modal"!==g,role:"alert"===g?"alertdialog":"dialog","aria-labelledby":e["aria-label"]?void 0:S},e),y),{},{onKeyDown:T,ref:(0,d.a)(t,r,w)})),{elementType:"div"}),backdropMotion:(0,i.s)(e.backdropMotion,{elementType:k,defaultProps:{appear:!0,visible:_}}),transitionStatus:void 0}}},1827:(e,t,r)=>{"use strict";function o(e){return{dialogSurface:!0}}r.d(t,{l:()=>o})},8034:(e,t,r)=>{"use strict";r.d(t,{LP:()=>f,ho:()=>d});var o=r(9560),n=r(9392),i=r(6755);const a="fui-DialogTitle",s="fui-DialogTitle__action",l=(0,o.y)("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),c=(0,n.X)({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),u=(0,o.y)("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),d=(0,o.y)("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),f=e=>{const t=l(),r=u(),o=c();return e.root.className=(0,i.z)(a,t,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=(0,i.z)(s,r,e.action.className)),e}},8865:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,Z:()=>i});var o=r(5043);const n=o.createContext(void 0);function i(){return o.useContext(n)}const a=o.forwardRef(((e,t)=>o.createElement(n.Provider,{value:t},e.children)))},9454:(e,t,r)=>{"use strict";r.d(t,{MV:()=>l,Co:()=>c,e4:()=>u});var o=r(5043),n=r(4915),i=r(372);var a=r(3614);const s={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,dialogRef:{current:null},requestOpenChange(){}},l=(e=>{const t=o.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=o.useRef(e.value),a=o.useRef(0),s=o.useRef();return s.current||(s.current={value:t,version:a,listeners:[]}),(0,n.E)((()=>{t.current=e.value,a.current+=1,(0,i.unstable_runWithPriority)(i.unstable_NormalPriority,(()=>{s.current.listeners.forEach((t=>{t([a.current,e.value])}))}))}),[e.value]),o.createElement(r,{value:s.current},e.children)}),delete t.Consumer,t})(void 0),c=l.Provider,u=e=>((e,t)=>{const r=o.useContext(e),{value:{current:i},version:{current:s},listeners:l}=r,c=t(i),[u,d]=o.useState([i,c]),f=e=>{d((r=>{if(!e)return[i,c];if(e[0]<=s)return Object.is(r[1],c)?r:[i,c];try{if(Object.is(r[0],e[1]))return r;const o=t(e[1]);return Object.is(r[1],o)?r:[e[1],o]}catch(o){}return[r[0],r[1]]}))};Object.is(u[1],c)||f(void 0);const h=(0,a.D)(f);return(0,n.E)((()=>(l.push(h),()=>{const e=l.indexOf(h);l.splice(e,1)})),[h,l]),u[1]})(l,(function(){return e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:s)}))},7884:(e,t,r)=>{"use strict";r.d(t,{Rc:()=>i,z6:()=>a});var o=r(5043);const n=o.createContext(void 0),i=n.Provider,a=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e&&e}},8089:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(!(0<i(n,t)))break e;e[o]=t,e[r]=n,r=o}}function o(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,a=n>>>1;o<a;){var s=2*(o+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,r))c<n&&0>i(u,l)?(e[o]=u,e[c]=r,o=c):(e[o]=l,e[s]=r,o=s);else{if(!(c<n&&0>i(u,r)))break e;e[o]=u,e[c]=r,o=c}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=o(u);null!==t;){if(null===t.callback)n(u);else{if(!(t.startTime<=e))break;n(u),t.sortIndex=t.expirationTime,r(c,t)}t=o(u)}}function k(e){if(m=!1,w(e),!g)if(null!==o(c))g=!0,R(x);else{var t=o(u);null!==t&&O(k,t.startTime-e)}}function x(e,r){g=!1,m&&(m=!1,b(A),A=-1),p=!0;var i=h;try{for(w(r),f=o(c);null!==f&&(!(f.expirationTime>r)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?f.callback=s:f===o(c)&&n(c),w(r)}else n(c);f=o(c)}if(null!==f)var l=!0;else{var d=o(u);null!==d&&O(k,d.startTime-r),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,_=null,A=-1,T=5,E=-1;function B(){return!(t.unstable_now()-E<T)}function I(){if(null!==_){var e=t.unstable_now();E=e;var r=!0;try{r=_(!0,e)}finally{r?C():(S=!1,_=null)}}else S=!1}if("function"===typeof y)C=function(){y(I)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=I,C=function(){P.postMessage(null)}}else C=function(){v(I,0)};function R(e){_=e,S||(S=!0,C())}function O(e,r){A=v((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(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return o(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},t.unstable_scheduleCallback=function(e,n,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(u,e),null===o(c)&&e===o(u)&&(m?(b(A),A=-1):m=!0,O(k,i-a))):(e.sortIndex=s,r(c,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},372:(e,t,r)=>{"use strict";e.exports=r(8089)},4902:(e,t,r)=>{"use strict";r.d(t,{D:()=>N});var o=r(5043),n=r(9463),i=r(9413),a=r(3784),s=r(4423);var l=r(7051),c=r(2285);const u=(0,r(2214).U)("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);var d=r(1522),f=r(8581),h=r(1360),p=r(9632),g=r(3397);const m={error:o.createElement(c.KDG,null),warning:o.createElement(u,null),success:o.createElement(d.D7b,null),none:void 0};var v=r(9392),b=r(9560),y=r(6755);const w="fui-Field",k="fui-Field__label",x="fui-Field__validationMessage",C="fui-Field__validationMessageIcon",S="fui-Field__hint",_=(0,v.X)({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),A=(0,v.X)({vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),T=(0,b.y)("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),E=(0,v.X)({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),B=(0,b.y)("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),I=(0,v.X)({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),N=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,orientation:o="vertical",required:n=!1,validationState:i=(e.validationMessage?"error":"none"),size:a="medium"}=e,s=(0,h.Bi)("field-"),c=s+"__control",u=p.Gk((0,g.g)("div",(0,l.A)((0,l.A)({},e),{},{ref:t}),["children"]),{elementType:"div"}),d=p.lq(e.label,{defaultProps:{htmlFor:c,id:s+"__label",required:n,size:a},elementType:f.J}),v=p.lq(e.validationMessage,{defaultProps:{id:s+"__validationMessage",role:"error"===i||"warning"===i?"alert":void 0},elementType:"div"}),b=p.lq(e.hint,{defaultProps:{id:s+"__hint"},elementType:"div"}),y=m[i],w=p.lq(e.validationMessageIcon,{renderByDefault:!!y,defaultProps:{children:y},elementType:"span"});return{children:r,generatedControlId:c,orientation:o,required:n,size:a,validationState:i,components:{root:"div",label:f.J,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:u,label:d,validationMessageIcon:w,validationMessage:v,hint:b}})(e,t);(e=>{const{validationState:t,size:r}=e,o="horizontal"===e.orientation,n=_();e.root.className=(0,y.z)(w,n.base,o&&n.horizontal,o&&!e.label&&n.horizontalNoLabel,e.root.className);const i=A();e.label&&(e.label.className=(0,y.z)(k,o&&i.horizontal,o&&"small"===r&&i.horizontalSmall,o&&"large"===r&&i.horizontalLarge,!o&&i.vertical,!o&&"large"===r&&i.verticalLarge,e.label.className));const a=B(),s=I();e.validationMessageIcon&&(e.validationMessageIcon.className=(0,y.z)(C,a,"none"!==t&&s[t],e.validationMessageIcon.className));const l=T(),c=E();e.validationMessage&&(e.validationMessage.className=(0,y.z)(x,l,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=(0,y.z)(S,l,e.hint.className))})(r);const c=(e=>{var t,r,n,i;const{generatedControlId:a,orientation:s,required:l,size:c,validationState:u}=e,d=null===(t=e.label)||void 0===t?void 0:t.htmlFor,f=null===(r=e.label)||void 0===r?void 0:r.id,h=null===(n=e.validationMessage)||void 0===n?void 0:n.id,p=null===(i=e.hint)||void 0===i?void 0:i.id;return{field:o.useMemo((()=>({generatedControlId:a,hintId:p,labelFor:d,labelId:f,orientation:s,required:l,size:c,validationMessageId:h,validationState:u})),[a,p,d,f,s,l,c,h,u])}})(r);return((e,t)=>{(0,i.C)(e);let{children:r}=e;return"function"===typeof r&&(r=r((0,a.m)(t.field)||{})),(0,n.Y)(s.Z,{value:null===t||void 0===t?void 0:t.field,children:(0,n.FD)(e.root,{children:[e.label&&(0,n.Y)(e.label,{}),r,e.validationMessage&&(0,n.FD)(e.validationMessage,{children:[e.validationMessageIcon&&(0,n.Y)(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&(0,n.Y)(e.hint,{})]})})})(r,c)}));N.displayName="Field"},4423:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i,o:()=>a});var o=r(5043);const n=o.createContext(void 0),i=n.Provider,a=()=>o.useContext(n)},3784:(e,t,r)=>{"use strict";r.d(t,{c:()=>i,m:()=>a});var o=r(7051),n=r(4423);function i(e,t){return a((0,n.o)(),e,t)}function a(e,t,r){if(!e)return t;t=(0,o.A)({},t);const{generatedControlId:n,hintId:i,labelFor:a,labelId:s,required:l,validationMessageId:c,validationState:u}=e;var d,f,h,p,g,m,v,b,y,w,k,x;n&&(null!==(f=(d=t).id)&&void 0!==f||(d.id=n));!s||(null===r||void 0===r?void 0:r.supportsLabelFor)&&a===t.id||(null!==(p=(h=t)["aria-labelledby"])&&void 0!==p||(h["aria-labelledby"]=s));((c||i)&&(t["aria-describedby"]=[c,i,null===t||void 0===t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===u)&&(null!==(m=(g=t)["aria-invalid"])&&void 0!==m||(g["aria-invalid"]=!0));l&&((null===r||void 0===r?void 0:r.supportsRequired)?null!==(b=(v=t).required)&&void 0!==b||(v.required=!0):null!==(w=(y=t)["aria-required"])&&void 0!==w||(y["aria-required"]=!0));(null===r||void 0===r?void 0:r.supportsSize)&&(null!==(x=(k=t).size)&&void 0!==x||(k.size=e.size));return t}},7183:(e,t,r)=>{"use strict";r.d(t,{F:()=>a,U:()=>s});var o=r(5043);const n=o.createContext(void 0),i={},a=n.Provider,s=()=>o.useContext(n)?o.useContext(n):i},4861:(e,t,r)=>{"use strict";r.d(t,{BEt:()=>f,Crl:()=>u,NGN:()=>s,Tox:()=>h,_jO:()=>n,gcm:()=>i,nUb:()=>l,oAB:()=>c,xeZ:()=>d,yuG:()=>a});var o=r(2214);const n=(0,o.U)("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),i=(0,o.U)("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),a=(0,o.U)("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),s=(0,o.U)("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),l=(0,o.U)("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),c=(0,o.U)("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),u=(0,o.U)("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),d=(0,o.U)("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),f=(0,o.U)("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),h=(0,o.U)("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"])},443:(e,t,r)=>{"use strict";r.d(t,{LKJ:()=>i,aUx:()=>n});var o=r(2214);const n=(0,o.U)("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),i=(0,o.U)("ProhibitedFilled","1em",["M18 10a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0c0-1.52-.53-2.93-1.4-4.04L5.96 15.1A6.5 6.5 0 0 0 16.5 10ZM4.9 14.04l9.14-9.14a6.5 6.5 0 0 0-9.13 9.13Z"])},8319:(e,t,r)=>{"use strict";r.d(t,{dLz:()=>n,iQ1:()=>l,lDv:()=>s,qV8:()=>a,rz9:()=>i});var o=r(2214);const n=(0,o.U)("Add16Filled","16",["M8.5 2.75a.75.75 0 0 0-1.5 0V7H2.75a.75.75 0 0 0 0 1.5H7v4.25a.75.75 0 0 0 1.5 0V8.5h4.25a.75.75 0 0 0 0-1.5H8.5V2.75Z"]),i=(0,o.U)("Add16Regular","16",["M8 2.5a.5.5 0 0 0-1 0V7H2.5a.5.5 0 0 0 0 1H7v4.5a.5.5 0 0 0 1 0V8h4.5a.5.5 0 0 0 0-1H8V2.5Z"]),a=(0,o.U)("Add24Filled","24",["M11.88 3H12a1 1 0 0 1 1 .88V11h7a1 1 0 0 1 1 .88V12a1 1 0 0 1-.88 1H13v7a1 1 0 0 1-.88 1H12a1 1 0 0 1-1-.88V13H4a1 1 0 0 1-1-.88V12a1 1 0 0 1 .88-1H11V4a1 1 0 0 1 .88-1H12h-.12Z"]),s=(0,o.U)("Apps48Regular","48",["m32.01 7.01-6.5 6.5c-.68.69-.68 1.8 0 2.48l6.5 6.5c.34.33.77.5 1.21.51h.06c.44 0 .87-.18 1.2-.51l6.5-6.5c.7-.69.7-1.8 0-2.48l-6.5-6.5a1.75 1.75 0 0 0-2.47 0ZM29 23 25 19.01V23h3.99ZM25 10.49l5.24-5.24a4.25 4.25 0 0 1 6.02 0l6.5 6.5a4.25 4.25 0 0 1 0 6L37.5 23h.24C40.1 23 42 24.9 42 27.25v10.5C42 40.1 40.1 42 37.75 42h-27.5A4.25 4.25 0 0 1 6 37.75v-27.5C6 7.9 7.9 6 10.25 6h10.5C23.1 6 25 7.9 25 10.25v.24Zm8.2 15.01H25v14h12.75c.97 0 1.75-.78 1.75-1.75v-10.5c0-.97-.78-1.75-1.75-1.75h-4.54ZM8.5 10.25V23h14V10.25c0-.97-.78-1.75-1.75-1.75h-10.5c-.97 0-1.75.78-1.75 1.75Zm0 15.25v12.25c0 .97.78 1.75 1.75 1.75H22.5v-14h-14Z"]),l=(0,o.U)("ArrowDownload20Filled","20",["M15.24 16.5a.75.75 0 0 1 .1 1.5H4.76a.75.75 0 0 1-.1-1.5h10.6ZM10 2c.38 0 .7.28.75.65V12.95l2.97-2.98c.27-.26.68-.29.98-.07l.08.07c.27.27.3.68.07.98l-.07.08-4.24 4.25-.07.07-.1.05-.03.03-.1.03-.11.03-.07.01H10l-.15-.01-.08-.03a.73.73 0 0 1-.26-.14l-4.29-4.29A.75.75 0 0 1 6.2 9.9l.08.07 2.97 2.97V2.75c0-.41.34-.75.75-.75Z"])},6232:(e,t,r)=>{"use strict";r.d(t,{Fqy:()=>n,ZoI:()=>i});var o=r(2214);const n=(0,o.U)("ArrowRight16Regular","16",["M2.5 7.5a.5.5 0 1 0 0 1h9.7l-4.03 3.63a.5.5 0 1 0 .66.74l5-4.5a.5.5 0 0 0 0-.74l-5-4.5a.5.5 0 0 0-.66.74L12.2 7.5H2.5Z"]),i=(0,o.U)("ArrowUpload20Filled","20",["M4.5 2a.75.75 0 0 0 0 1.5H15A.75.75 0 0 0 15 2H4.5Zm6 15.35a.75.75 0 0 1-1.5-.1V7.05l-2.97 2.98-.08.07a.75.75 0 0 1-.98-1.14l4.29-4.28a.73.73 0 0 1 .26-.15l.08-.02.15-.02h.06l.07.01.12.03.09.04.04.02.09.06.07.06 4.24 4.26.07.08c.22.3.2.71-.07.98l-.08.07c-.3.22-.72.2-.98-.07L10.5 7.05V17.35Z"])},6442:(e,t,r)=>{"use strict";r.d(t,{$X2:()=>n,qVy:()=>i});var o=r(2214);const n=(0,o.U)("Navigation24Filled","24",["M3 17h18a1 1 0 0 1 .12 2H3a1 1 0 0 1-.12-2H21 3Zm0-6h18a1 1 0 0 1 .12 2H3a1 1 0 0 1-.12-2H21 3Zm0-6h18a1 1 0 0 1 .12 2H3a1 1 0 0 1-.12-2H21 3Z"]),i=(0,o.U)("Open16Regular","16",["M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 0 1 1 0v2.23a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7A2.5 2.5 0 0 1 4.5 2h2.23a.5.5 0 0 1 0 1H4.5Zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 0 1-1 0V3.71L9.62 7.08a.5.5 0 1 1-.7-.7L12.29 3H9.27a.5.5 0 0 1-.5-.5Z"])},3703:(e,t,r)=>{"use strict";r.d(t,{Dd:()=>a,nfo:()=>i,uI3:()=>n});var o=r(2214);const n=(0,o.U)("Shield48Regular","48",["M23.13 4.35a1.25 1.25 0 0 1 1.73 0c2.76 2.64 6.69 4.08 10.04 4.84a35.65 35.65 0 0 0 5.86.81h.02c.68.02 1.22.57 1.22 1.25V21c0 9.5-5.06 19.02-17.63 22.94-.24.08-.5.08-.74 0-6.24-1.95-10.67-5.29-13.53-9.42A23.95 23.95 0 0 1 6 20.75v-9.5c0-.68.54-1.23 1.22-1.25h.02a9.4 9.4 0 0 0 .41-.02l1.25-.1c1.06-.11 2.54-.32 4.2-.7 3.35-.75 7.28-2.19 10.03-4.83ZM8.5 12.43v8.32c0 4.41 1.13 8.72 3.65 12.35 2.46 3.55 6.29 6.52 11.85 8.34C35.16 37.8 39.5 29.4 39.5 21v-8.57l-.65-.07a38.15 38.15 0 0 1-4.5-.73c-3.22-.74-7.21-2.1-10.35-4.7-3.14 2.6-7.13 3.96-10.35 4.7a38.15 38.15 0 0 1-5.15.8Z"]),i=(0,o.U)("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),a=(0,o.U)("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"])},1522:(e,t,r)=>{"use strict";r.d(t,{D7b:()=>l,FUA:()=>i,I_b:()=>c,M7T:()=>p,N5_:()=>a,SUw:()=>s,cmU:()=>d,g4$:()=>m,jvo:()=>n,n_M:()=>f,nbA:()=>h,qGP:()=>g,rLf:()=>u});var o=r(2214);const n=(0,o.U)("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),i=(0,o.U)("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),a=(0,o.U)("Checkmark16Regular","16",["M13.86 3.66a.5.5 0 0 1-.02.7l-7.93 7.48a.6.6 0 0 1-.84-.02L2.4 9.1a.5.5 0 0 1 .72-.7l2.4 2.44 7.65-7.2a.5.5 0 0 1 .7.02Z"]),s=(0,o.U)("Checkmark24Regular","24",["M4.53 12.97a.75.75 0 0 0-1.06 1.06l4.5 4.5c.3.3.77.3 1.06 0l11-11a.75.75 0 0 0-1.06-1.06L8.5 16.94l-3.97-3.97Z"]),l=(0,o.U)("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),c=(0,o.U)("CheckmarkCircle48Regular","48",["M24 4a20 20 0 1 1 0 40 20 20 0 0 1 0-40Zm0 2.5a17.5 17.5 0 1 0 0 35 17.5 17.5 0 0 0 0-35Zm8.63 11.12c.5.48.5 1.28 0 1.76l-11 11c-.48.5-1.28.5-1.76 0l-4.5-4.5a1.25 1.25 0 0 1 1.76-1.76l3.62 3.61 10.12-10.11a1.25 1.25 0 0 1 1.76 0Z"]),u=(0,o.U)("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7Z"]),d=(0,o.U)("ChevronDown24Regular","24",["M4.22 8.47c.3-.3.77-.3 1.06 0L12 15.19l6.72-6.72a.75.75 0 1 1 1.06 1.06l-7.25 7.25c-.3.3-.77.3-1.06 0L4.22 9.53a.75.75 0 0 1 0-1.06Z"]),f=(0,o.U)("ChevronLeft20Filled","20",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),h=(0,o.U)("ChevronLeft24Regular","24",["M15.53 4.22c.3.3.3.77 0 1.06L8.81 12l6.72 6.72a.75.75 0 1 1-1.06 1.06l-7.25-7.25a.75.75 0 0 1 0-1.06l7.25-7.25c.3-.3.77-.3 1.06 0Z"]),p=(0,o.U)("ChevronRight20Filled","20",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),g=(0,o.U)("ChevronRight24Regular","24",["M8.47 4.22c-.3.3-.3.77 0 1.06L15.19 12l-6.72 6.72a.75.75 0 1 0 1.06 1.06l7.25-7.25c.3-.3.3-.77 0-1.06L9.53 4.22a.75.75 0 0 0-1.06 0Z"]),m=(0,o.U)("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7Z"])},4084:(e,t,r)=>{"use strict";r.d(t,{LMj:()=>l,Ogn:()=>s,TTy:()=>n,i00:()=>a,rp8:()=>c,va_:()=>i});var o=r(2214);const n=(0,o.U)("Delete16Filled","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5a.5.5 0 0 0-.5-.5Z"]),i=(0,o.U)("Delete16Regular","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5Zm-4.74 6.7c.1.75.74 1.3 1.49 1.3h3.5a1.5 1.5 0 0 0 1.5-1.3L12.42 4H3.57l1.19 8.7Z"]),a=(0,o.U)("Delete20Filled","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM9 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Zm2.5-.5a.5.5 0 0 0-.5.5v6a.5.5 0 0 0 1 0V8a.5.5 0 0 0-.5-.5Z"]),s=(0,o.U)("Delete24Filled","24",["M10 5h4a2 2 0 1 0-4 0ZM8.5 5a3.5 3.5 0 1 1 7 0h5.75a.75.75 0 0 1 0 1.5h-1.32l-1.17 12.11A3.75 3.75 0 0 1 15.03 22H8.97a3.75 3.75 0 0 1-3.73-3.39L4.07 6.5H2.75a.75.75 0 0 1 0-1.5H8.5Zm2 4.75a.75.75 0 0 0-1.5 0v7.5a.75.75 0 0 0 1.5 0v-7.5ZM14.25 9a.75.75 0 0 0-.75.75v7.5a.75.75 0 0 0 1.5 0v-7.5a.75.75 0 0 0-.75-.75Z"]),l=(0,o.U)("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),c=(0,o.U)("Dismiss24Filled","24",["m4.21 4.39.08-.1a1 1 0 0 1 1.32-.08l.1.08L12 10.6l6.3-6.3a1 1 0 1 1 1.4 1.42L13.42 12l6.3 6.3a1 1 0 0 1 .08 1.31l-.08.1a1 1 0 0 1-1.32.08l-.1-.08L12 13.4l-6.3 6.3a1 1 0 0 1-1.4-1.42L10.58 12l-6.3-6.3a1 1 0 0 1-.08-1.31l.08-.1-.08.1Z"])},2285:(e,t,r)=>{"use strict";r.d(t,{KDG:()=>i,SZZ:()=>a,nMS:()=>s,p9k:()=>n});var o=r(2214);const n=(0,o.U)("Edit24Filled","24",["M15.9 3.05a3.58 3.58 0 1 1 5.05 5.06l-.89.9L15 3.93l.9-.9ZM13.93 5l-10 10c-.4.4-.7.92-.82 1.48l-1.1 4.6a.75.75 0 0 0 .9.9l4.6-1.1A3.1 3.1 0 0 0 9 20.07l10-10L13.94 5Z"]),i=(0,o.U)("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),a=(0,o.U)("ErrorCircle16Regular","16",["M8 2a6 6 0 1 1 0 12A6 6 0 0 1 8 2Zm0 1a5 5 0 1 0 0 10A5 5 0 0 0 8 3Zm0 7a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-5.5a.5.5 0 0 1 .5.41V8.5a.5.5 0 0 1-1 .09V5c0-.28.22-.5.5-.5Z"]),s=(0,o.U)("ErrorCircle48Regular","48",["M24 13c.69 0 1.25.56 1.25 1.25v12.5a1.25 1.25 0 1 1-2.5 0v-12.5c0-.69.56-1.25 1.25-1.25Zm0 21a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM4 24a20 20 0 1 1 40 0 20 20 0 0 1-40 0ZM24 6.5a17.5 17.5 0 1 0 0 35 17.5 17.5 0 0 0 0-35Z"])},2214:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});var o=r(7051),n=r(5043),i=r(3986),a=r(7183),s=r(9392),l=r(6755);const c=["title","primaryFill"],u=(0,s.X)({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in",ycbfsm:"fg4l7m0"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1);}"],t:["@media (forced-colors: active){.fg4l7m0{forced-color-adjust:auto;}}"]}),d=(e,t,r,s)=>{const d="1em"===t?"20":t,f=n.forwardRef(((e,f)=>{const h=(0,o.A)((0,o.A)({},((e,t)=>{const{title:r,primaryFill:n="currentColor"}=e,s=(0,i.A)(e,c),d=(0,o.A)((0,o.A)({},s),{},{title:void 0,fill:n}),f=u(),h=(0,a.U)();return d.className=(0,l.z)(f.root,(null===t||void 0===t?void 0:t.flipInRtl)&&"rtl"===(null===h||void 0===h?void 0:h.textDirection)&&f.rtl,d.className),r&&(d["aria-label"]=r),d["aria-label"]||d["aria-labelledby"]?d.role="img":d["aria-hidden"]=!0,d})(e,{flipInRtl:null===s||void 0===s?void 0:s.flipInRtl})),{},{ref:f,width:t,height:t,viewBox:"0 0 ".concat(d," ").concat(d),xmlns:"http://www.w3.org/2000/svg"});return n.createElement("svg",h,...r.map((e=>n.createElement("path",{d:e,fill:h.fill}))))}));return f.displayName=e,f}},3320:(e,t,r)=>{"use strict";r.d(t,{_:()=>p});var o=r(5043),n=r(9463),i=r(9413);var a=r(7051),s=r(9632),l=r(3397);var c=r(9392),u=r(6755);const d="fui-Image",f=(0,c.X)({base:{g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw",B7ck84d:"f1ewtqcl",mc9l5x:"f14t3ns0"},bordered:{icvyot:"fzkkow9",vrafjx:["fcdblym","fjik90z"],oivjwe:"fg706s2",wvpqe5:["fjik90z","fcdblym"],B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{},shadow:{E5pizo:"f1whvlc6"},center:{st4lth:"f1plgu50",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},contain:{st4lth:"f1kle4es",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},default:{},cover:{st4lth:"f1ps3kmd",Ermj5k:"f14xojzb",Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},none:{st4lth:"f1plgu50",Ermj5k:["f13uwng7","fjmyj0p"],Bqenvij:"f1l02sjl",a9b677:"fly5x3f"},block:{a9b677:"fly5x3f"}},{d:[".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14t3ns0{display:inline-block;}",".fzkkow9{border-top-style:solid;}",".fcdblym{border-right-style:solid;}",".fjik90z{border-left-style:solid;}",".fg706s2{border-bottom-style:solid;}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1whvlc6{box-shadow:var(--shadow4);}",".f1plgu50{object-fit:none;}",".f14xojzb{object-position:center;}",".f1l02sjl{height:100%;}",".fly5x3f{width:100%;}",".f1kle4es{object-fit:contain;}",".f1ps3kmd{object-fit:cover;}",".f13uwng7{object-position:left top;}",".fjmyj0p{object-position:right top;}"]});var h=r(6930);const p=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{bordered:r=!1,fit:o="default",block:n=!1,shape:i="square",shadow:c=!1}=e;return{bordered:r,fit:o,block:n,shape:i,shadow:c,components:{root:"img"},root:s.Gk((0,l.g)("img",(0,a.A)({ref:t},e)),{elementType:"img"})}})(e,t);return(e=>{const t=f();e.root.className=(0,u.z)(d,t.base,e.block&&t.block,e.bordered&&t.bordered,e.shadow&&t.shadow,t[e.fit],t[e.shape],e.root.className)})(r),(0,h.$e)("useImageStyles_unstable")(r),(e=>((0,i.C)(e),(0,n.Y)(e.root,{})))(r)}));p.displayName="Image"},2512:(e,t,r)=>{"use strict";r.d(t,{p:()=>E});var o=r(5043),n=r(7051),i=r(3784),a=r(5673),s=r(1223),l=r(9632),c=r(3614),u=r(3740);var d=r(9463),f=r(9413);var h=r(3261),p=r(9560),g=r(9392),m=r(6755);const v="fui-Input",b="fui-Input__input",y="fui-Input__contentBefore",w="fui-Input__contentAfter",k=(h.L.spacingHorizontalSNudge,h.L.spacingHorizontalMNudge,h.L.spacingHorizontalM,h.L.spacingHorizontalXXS,h.L.spacingHorizontalXXS,h.L.spacingHorizontalSNudge,h.L.spacingHorizontalS,h.L.spacingHorizontalM,"calc(".concat(h.L.spacingHorizontalM," + ").concat(h.L.spacingHorizontalSNudge,")"),(0,p.y)("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]})),x=(0,g.X)({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),C=(0,p.y)("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),S=(0,g.X)({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),_=(0,p.y)("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),A=(0,g.X)({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]});var T=r(6930);const E=o.forwardRef(((e,t)=>{const r=((e,t)=>{e=(0,i.c)(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=(0,u.Pv)();var o;const{size:d="medium",appearance:f=(null!==(o=r.inputDefaultAppearance)&&void 0!==o?o:"outline"),onChange:h}=e,[p,g]=(0,a.i)({state:e.value,defaultState:e.defaultValue,initialState:""}),m=(0,s.n)({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),v={size:d,appearance:f,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:l.Gk(e.input,{defaultProps:(0,n.A)({type:"text",ref:t},m.primary),elementType:"input"}),contentAfter:l.lq(e.contentAfter,{elementType:"span"}),contentBefore:l.lq(e.contentBefore,{elementType:"span"}),root:l.Gk(e.root,{defaultProps:m.root,elementType:"span"})};return v.input.value=p,v.input.onChange=(0,c.D)((e=>{const t=e.target.value;null===h||void 0===h||h(e,{value:t}),g(t)})),v})(e,t);return(e=>{const{size:t,appearance:r}=e,o=e.input.disabled,n="true"==="".concat(e.input["aria-invalid"]),i=r.startsWith("filled"),a=x(),s=S(),l=A();e.root.className=(0,m.z)(v,k(),a[t],e.contentBefore&&a["".concat(t,"WithContentBefore")],e.contentAfter&&a["".concat(t,"WithContentAfter")],a[r],!o&&"outline"===r&&a.outlineInteractive,!o&&"underline"===r&&a.underlineInteractive,!o&&i&&a.filledInteractive,i&&a.filled,!o&&n&&a.invalid,o&&a.disabled,e.root.className),e.input.className=(0,m.z)(b,C(),s[t],e.contentBefore&&s["".concat(t,"WithContentBefore")],e.contentAfter&&s["".concat(t,"WithContentAfter")],o&&s.disabled,e.input.className);const c=[_(),o&&l.disabled,l[t]];e.contentBefore&&(e.contentBefore.className=(0,m.z)(y,...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=(0,m.z)(w,...c,e.contentAfter.className))})(r),(0,T.$e)("useInputStyles_unstable")(r),(e=>((0,f.C)(e),(0,d.FD)(e.root,{children:[e.contentBefore&&(0,d.Y)(e.contentBefore,{}),(0,d.Y)(e.input,{}),e.contentAfter&&(0,d.Y)(e.contentAfter,{})]})))(r)}));E.displayName="Input"},9463:(e,t,r)=>{"use strict";r.d(t,{Y:()=>h,FD:()=>p});var o=r(2247);function n(e){return Boolean(null===e||void 0===e?void 0:e.hasOwnProperty(o.o))}var i=r(5043),a=r(7051);r(2086);function s(e,t){return function(r,i,s,l,c){return n(i)?t(function(e,t){return(0,a.A)((0,a.A)({},t),{},{[o.o]:e})}(r,i),null,s,l,c):n(r)?t(r,i,s,l,c):e(r,i,s,l,c)}}var l=r(3986),c=r(9526);function u(e){const{as:t,[o.o]:r,[o.Y]:n}=e,i=(0,l.A)(e,["as",o.o,o.Y].map(c.A)),a="string"===typeof r&&null!==t&&void 0!==t?t:r;return"string"!==typeof a&&t&&(i.as=t),{elementType:a,props:i,renderFunction:n}}var d=r(579);const f=r.t(d,2),h=s(f.jsx,((e,t,r)=>{const{elementType:o,renderFunction:n,props:s}=u(e),l=(0,a.A)((0,a.A)({},s),t);return n?f.jsx(i.Fragment,{children:n(o,l)},r):f.jsx(o,l,r)})),p=s(f.jsxs,((e,t,r)=>{const{elementType:o,renderFunction:n,props:s}=u(e),l=(0,a.A)((0,a.A)({},s),t);return n?f.jsx(i.Fragment,{children:n(o,(0,a.A)((0,a.A)({},l),{},{children:f.jsxs(i.Fragment,{children:l.children},void 0)}))},r):f.jsxs(o,l,r)}))},8581:(e,t,r)=>{"use strict";r.d(t,{J:()=>g});var o=r(5043),n=r(7051),i=r(9632),a=r(3397);var s=r(9463),l=r(9413);var c=r(9392),u=r(6755);const d="fui-Label",f="fui-Label__required",h=(0,c.X)({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]});var p=r(6930);const g=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{disabled:r=!1,required:o=!1,weight:s="regular",size:l="medium"}=e;return{disabled:r,required:i.lq(!0===o?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:s,size:l,components:{root:"label",required:"span"},root:i.Gk((0,a.g)("label",(0,n.A)({ref:t},e)),{elementType:"label"})}})(e,t);return(e=>{const t=h();e.root.className=(0,u.z)(d,t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=(0,u.z)(f,t.required,e.disabled&&t.disabled,e.required.className))})(r),(0,p.$e)("useLabelStyles_unstable")(r),(e=>((0,l.C)(e),(0,s.FD)(e.root,{children:[e.root.children,e.required&&(0,s.Y)(e.required,{})]})))(r)}));g.displayName="Label"},6045:(e,t,r)=>{"use strict";r.d(t,{N:()=>v});var o=r(5043),n=r(7051),i=r(9632),a=r(3397);const s=o.createContext(void 0);s.Provider;var l=r(9883);var c=r(6331);const u=(e,t)=>{const r=o.useContext(s),{inline:u}=(0,c.Fr)(),{appearance:d="default",disabled:f=!1,disabledFocusable:h=!1,inline:p=!1}=e,g=e.as||(e.href?"a":"button"),m=(0,n.A)((0,n.A)({role:"span"===g?"button":void 0,type:"button"===g?"button":void 0},e),{},{as:g}),v={appearance:d,disabled:f,disabledFocusable:h,inline:null!==p&&void 0!==p?p:!!u,components:{root:g},root:i.Gk((0,a.g)(g,(0,n.A)({ref:t},m)),{elementType:g}),backgroundAppearance:r};return(e=>{const{disabled:t,disabledFocusable:r}=e,{onClick:o,onKeyDown:n,role:i,tabIndex:a}=e.root;"a"===e.root.as&&(e.root.href=t?void 0:e.root.href,(t||r)&&(e.root.role=i||"link")),"a"!==e.root.as&&"span"!==e.root.as||(e.root.tabIndex=null!==a&&void 0!==a?a:t&&!r?void 0:0),e.root.onClick=e=>{t||r?e.preventDefault():null===o||void 0===o||o(e)},e.root.onKeyDown=e=>{!t&&!r||e.key!==l.xyI&&e.key!==l.$xS?null===n||void 0===n||n(e):(e.preventDefault(),e.stopPropagation())},e.disabled=t||r,e.root["aria-disabled"]=t||r||void 0,"button"===e.root.as&&(e.root.disabled=t&&!r)})(v),v};var d=r(9392),f=r(6755);const h="fui-Link",p=(0,d.X)({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"fkfq4zb",Bde5pd6:"f1tx3yz7",Bi91k9c:"fnwyq0v",i089h6:"f1eh06m1",lj723h:"flvvhsy"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1mlt8il",lj723h:"f1hsd4st"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1mlt8il:hover{color:var(--colorBrandForegroundInvertedHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1hsd4st:active{color:var(--colorBrandForegroundInvertedPressed);}"]});var g=r(9463),m=r(9413);const v=o.forwardRef(((e,t)=>{const r=u(e,t);return(e=>{const t=p(),{appearance:r,disabled:o,inline:n,root:i,backgroundAppearance:a}=e;e.root.className=(0,f.z)(h,t.root,t.focusIndicator,"a"===i.as&&i.href&&t.href,"button"===i.as&&t.button,"subtle"===r&&t.subtle,"inverted"===a&&t.inverted,n&&t.inline,o&&t.disabled,e.root.className)})(r),(e=>((0,m.C)(e),(0,g.Y)(e.root,{})))(r)}));v.displayName="Link"},6331:(e,t,r)=>{"use strict";r.d(t,{Fr:()=>s,TN:()=>a});var o=r(5043);const n=o.createContext(void 0),i={inline:!1},a=n.Provider,s=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},3599:(e,t,r)=>{"use strict";r.d(t,{W:()=>C});var o=r(5043),n=r(7051);var i=r(9722),a=r(1311),s=r(1360),l=r(5673),c=r(3614),u=r(2218),d=r(9015),f=r(3452);var h=r(1898),p=r(2390),g=r(791),m=r(5371),v=r(8857),b=r(2428);const y=["after","after-bottom","before-top","before","before-bottom","above"],w=e=>{const t=(0,b.R)(),{hoverDelay:r=500,inline:l=!1,hasCheckmarks:c=!1,hasIcons:u=!1,closeOnScroll:d=!1,openOnContext:f=!1,persistOnItemClick:h=!1,openOnHover:p=t,defaultCheckedValues:g,mountNode:m=null}=e,v=(0,s.Bi)("menu"),[w,C]=(e=>{const[t,r]=o.useState(e);return[t,e=>{if(void 0===e||null===e)return void r(void 0);let t;t=e instanceof MouseEvent?e:e.nativeEvent,MouseEvent;const o=function(e){const t=e.clientX,r=e.clientY,o=t+1,n=r+1;return{getBoundingClientRect:function(){return{left:t,top:r,right:o,bottom:n,x:t,y:r,height:1,width:1}}}}(t);r(o)}]})(),S=(0,n.A)({position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?w:void 0,fallbackPositions:t?y:void 0},(0,i.P)(e.positioning)),_=o.Children.toArray(e.children);let A,T;2===_.length?(A=_[0],T=_[1]):1===_.length&&(T=_[0]);const{targetRef:E,containerRef:B}=(0,a.T)(S),[I,N]=x({hoverDelay:r,isSubmenu:t,setContextTarget:C,closeOnScroll:d,menuPopoverRef:B,triggerRef:E,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:f}),[P,R]=k({checkedValues:e.checkedValues,defaultCheckedValues:g,onCheckedValueChange:e.onCheckedValueChange});return{inline:l,hoverDelay:r,triggerId:v,isSubmenu:t,openOnHover:p,contextTarget:w,setContextTarget:C,hasCheckmarks:c,hasIcons:u,closeOnScroll:d,menuTrigger:A,menuPopover:T,mountNode:m,triggerRef:E,menuPopoverRef:B,components:{},openOnContext:f,open:I,setOpen:N,checkedValues:P,onCheckedValueChange:R,persistOnItemClick:h}},k=e=>{const[t,r]=(0,l.i)({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}});return[t,(0,c.D)(((t,o)=>{let{name:i,checkedItems:a}=o;var s;null===(s=e.onCheckedValueChange)||void 0===s||s.call(e,t,{name:i,checkedItems:a}),r((e=>(0,n.A)((0,n.A)({},e),{},{[i]:a})))}))]},x=e=>{const{targetDocument:t}=(0,p.Y)(),r=(0,m.tv)((e=>e.setOpen)),i=(0,c.D)(((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,r)})),a=o.useRef(!1),[s,b]=(0,l.i)({state:e.open,defaultState:e.defaultOpen,initialState:!1}),y=(0,c.D)(((t,o)=>{const a=t instanceof CustomEvent&&t.type===v.C4?t.detail.nativeEvent:t;null===i||void 0===i||i(a,(0,n.A)({},o)),o.open&&"contextmenu"===t.type&&e.setContextTarget(t),o.open||e.setContextTarget(void 0),o.bubble&&r(t,(0,n.A)({},o)),b(o.open)})),[w,k]=(0,u.Z)(),x=(0,c.D)(((t,r)=>{var o;(k(),t instanceof Event||!t.persist||t.persist(),"mouseleave"===t.type||"mouseenter"===t.type||"mousemove"===t.type||t.type===v.C4)?((null===(o=e.triggerRef.current)||void 0===o?void 0:o.contains(t.target))&&(a.current="mouseenter"===t.type||"mousemove"===t.type),w((()=>y(t,r)),e.hoverDelay)):y(t,r)}));(0,d.W)({contains:f.s,disabled:!s,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:e=>x(e,{open:!1,type:"clickOutside",event:e})});const C=e.openOnContext||e.closeOnScroll;(e=>{const{refs:t,callback:r,element:n,disabled:i,contains:a}=e,s=(0,c.D)((e=>{const o=a||((e,t)=>!!(null===e||void 0===e?void 0:e.contains(t))),n=e.composedPath()[0];t.every((e=>!o(e.current||null,n)))&&!i&&r(e)}));o.useEffect((()=>{if(!i)return null===n||void 0===n||n.addEventListener("wheel",s),null===n||void 0===n||n.addEventListener("touchmove",s),()=>{null===n||void 0===n||n.removeEventListener("wheel",s),null===n||void 0===n||n.removeEventListener("touchmove",s)}}),[s,n,i])})({contains:f.s,element:t,callback:e=>x(e,{open:!1,type:"scrollOutside",event:e}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!s||!C}),(0,v.Ji)({element:t,callback:e=>{a.current||x(e,{open:!1,type:"menuMouseEnter",event:e})},disabled:!s,refs:[e.menuPopoverRef]});const{findFirstFocusable:S}=(0,g.r)(),_=o.useCallback((()=>{const t=S(e.menuPopoverRef.current);null===t||void 0===t||t.focus()}),[S,e.menuPopoverRef]),A=(0,h.t)();return o.useEffect((()=>{var r;s?_():A||(null===t||void 0===t?void 0:t.activeElement)===(null===t||void 0===t?void 0:t.body)&&(null===(r=e.triggerRef.current)||void 0===r||r.focus())}),[e.triggerRef,e.isSubmenu,s,_,t,e.menuPopoverRef]),[s,x]};const C=e=>{const t=w(e),r=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:n,isSubmenu:i,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:u,openOnHover:d,persistOnItemClick:f,setOpen:h,triggerId:p,triggerRef:g}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:n,isSubmenu:i,menuPopoverRef:a,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:u,openOnHover:d,persistOnItemClick:f,setOpen:h,triggerId:p,triggerRef:g}}}(t);return((e,t)=>o.createElement(m.BV,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover))(t,r)};C.displayName="Menu"},5707:(e,t,r)=>{"use strict";r.d(t,{D:()=>U});var o=r(5043),n=r(7051),i=r(9632),a=r(3397),s=r(5923),l=r(3614),c=r(2390),u=r(9855);var d=r(3613),f=r(3986);var h=r(9392),p=r(6755);const g=["className","filled"],m=(0,h.X)({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]}),v=(e,t)=>{const r=r=>{const{className:n,filled:i}=r,a=(0,f.A)(r,g),s=m();return o.createElement(o.Fragment,null,o.createElement(e,Object.assign({},a,{className:(0,p.z)(s.root,i&&s.visible,"fui-Icon-filled",n)})),o.createElement(t,Object.assign({},a,{className:(0,p.z)(s.root,!i&&s.visible,"fui-Icon-regular",n)})))};return r.displayName="CompoundIcon",r};var b=r(4861),y=r(5371),w=r(6975),k=r(9883);const x=v(b.oAB,b.Crl),C=v(b.NGN,b.nUb),S=(e,t)=>{const r=(0,d.T)(),f=(0,y.tv)((e=>e.persistOnItemClick)),{as:h="div",disabled:p=!1,hasSubmenu:g=r,persistOnClick:m=f}=e,v=(0,u.f_)((e=>e.hasIcons)),b=(0,u.f_)((e=>e.hasCheckmarks)),S=(0,y.tv)((e=>e.setOpen)),{dir:_}=(0,c.Y)(),A=o.useRef(null),T=o.useRef(!1),E={hasSubmenu:g,disabled:p,persistOnClick:m,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span"},root:i.Gk((0,a.g)(h,(0,w.F)(h,(0,n.A)((0,n.A)({role:"menuitem"},e),{},{disabled:!1,disabledFocusable:p,ref:(0,s.a)(t,A),onKeyDown:(0,l.D)((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.isDefaultPrevented()||t.key!==k.$xS&&t.key!==k.xyI||(T.current=!0)})),onMouseEnter:(0,l.D)((t=>{var r,o;null===(r=A.current)||void 0===r||r.focus(),null===(o=e.onMouseEnter)||void 0===o||o.call(e,t)})),onClick:(0,l.D)((t=>{var r;g||m||(S(t,{open:!1,keyboard:T.current,bubble:!0,type:"menuItemClick",event:t}),T.current=!1),null===(r=e.onClick)||void 0===r||r.call(e,t)}))}))),{elementType:"div"}),icon:i.lq(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:i.lq(e.checkmark,{renderByDefault:b,elementType:"span"}),submenuIndicator:i.lq(e.submenuIndicator,{renderByDefault:g,defaultProps:{children:"ltr"===_?o.createElement(x,null):o.createElement(C,null)},elementType:"span"}),content:i.lq(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:i.lq(e.secondaryContent,{elementType:"span"})};return((e,t)=>{const r=(0,u.f_)((e=>e.setFocusByFirstCharacter)),{onKeyDown:o}=e.root;e.root.onKeyDown=e=>{var n;null===o||void 0===o||o(e),(null===(n=e.key)||void 0===n?void 0:n.length)>1||t.current&&(null===r||void 0===r||r(e,t.current))}})(E,A),E};var _=r(9463),A=r(9413);var T=r(9560);const E=(0,h.X)({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),B="fui-MenuItem",I="fui-MenuItem__icon",N="fui-MenuItem__checkmark",P="fui-MenuItem__submenuIndicator",R="fui-MenuItem__content",O="fui-MenuItem__secondaryContent",j=(0,T.y)("r11normc","r1lnj0i0",{r:[".r11normc{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r11normc:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r11normc:hover .fui-Icon-filled{display:inline;}",".r11normc:hover .fui-Icon-regular{display:none;}",".r11normc:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r11normc:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r11normc:focus{outline-style:none;}",".r11normc:focus-visible{outline-style:none;}",".r11normc[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r11normc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1lnj0i0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r1lnj0i0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r1lnj0i0:hover .fui-Icon-filled{display:inline;}",".r1lnj0i0:hover .fui-Icon-regular{display:none;}",".r1lnj0i0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r1lnj0i0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r1lnj0i0:focus{outline-style:none;}",".r1lnj0i0:focus-visible{outline-style:none;}",".r1lnj0i0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1lnj0i0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.r11normc:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r11normc:focus{outline-style:none;}.r11normc:focus-visible{outline-style:none;}.r11normc[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.r11normc[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.r11normc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.r11normc[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r1lnj0i0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r1lnj0i0:focus{outline-style:none;}.r1lnj0i0:focus-visible{outline-style:none;}.r1lnj0i0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r1lnj0i0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r1lnj0i0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r1lnj0i0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),z=(0,T.y)("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),M=(0,T.y)("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),L=(0,T.y)("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),D=(0,T.y)("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),F=(0,h.X)({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),q=e=>{const t=F(),r=j(),o=z(),n=M(),i=L(),a=D();return e.root.className=(0,p.z)(B,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=(0,p.z)(R,o,e.content.className)),e.checkmark&&(e.checkmark.className=(0,p.z)(N,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=(0,p.z)(O,!e.disabled&&n,e.secondaryContent.className)),e.icon&&(e.icon.className=(0,p.z)(I,i,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=(0,p.z)(P,a,e.submenuIndicator.className)),(e=>{const t=E();e.checkmark&&(e.checkmark.className=(0,p.z)(t.root,e.checked&&t.rootChecked,e.checkmark.className))})(e),e};var H=r(6930);const U=o.forwardRef(((e,t)=>{const r=S(e,t);return q(r),(0,H.$e)("useMenuItemStyles_unstable")(r),(e=>((0,A.C)(e),(0,_.FD)(e.root,{children:[e.checkmark&&(0,_.Y)(e.checkmark,{}),e.icon&&(0,_.Y)(e.icon,{}),e.content&&(0,_.Y)(e.content,{}),e.secondaryContent&&(0,_.Y)(e.secondaryContent,{}),e.submenuIndicator&&(0,_.Y)(e.submenuIndicator,{})]})))(r)}));U.displayName="MenuItem"},1896:(e,t,r)=>{"use strict";r.d(t,{c:()=>A});var o=r(5043),n=r(7051),i=r(5673),a=r(3614),s=r(9632),l=r(3397),c=r(5923),u=r(791),d=r(5200),f=r(1262),h=r(2390),p=r(8500),g=r(5371);const m=()=>({checkedValues:(0,g.tv)((e=>e.checkedValues)),onCheckedValueChange:(0,g.tv)((e=>e.onCheckedValueChange)),triggerId:(0,g.tv)((e=>e.triggerId)),hasIcons:(0,g.tv)((e=>e.hasIcons)),hasCheckmarks:(0,g.tv)((e=>e.hasCheckmarks))}),v=(e,t,r)=>{let o=!1;for(const n in t)e[n]&&(o=!0);return r&&o};var b=r(9463),y=r(9413),w=r(9855);var k=r(9392),x=r(6755);const C="fui-MenuList",S=(0,k.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]});var _=r(6930);const A=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{findAllFocusable:r}=(0,u.r)(),{targetDocument:b}=(0,h.Y)(),y=m(),w=(0,p.V)(g.xu),k=(0,d.i)({circular:!0});v(e,y,w)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const x=o.useRef(null);o.useEffect((()=>{const e=x.current;if(w&&b&&e){const t=t=>{const r=t.detail.next;r&&e.contains(b.activeElement)&&!e.contains(r)&&t.preventDefault()};return b.addEventListener(f.GD,t),()=>{b.removeEventListener(f.GD,t)}}}),[x,b,w]);const C=o.useCallback(((e,t)=>{const o=["menuitem","menuitemcheckbox","menuitemradio"];if(!x.current)return;const n=r(x.current,(e=>e.hasAttribute("role")&&-1!==o.indexOf(e.getAttribute("role"))));let i=n.indexOf(t)+1;i===n.length&&(i=0);const a=n.map((e=>{var t;return null===(t=e.textContent)||void 0===t?void 0:t.charAt(0).toLowerCase()})),s=e.key.toLowerCase(),l=(e,t)=>{for(let r=e;r<a.length;r++)if(s===a[r])return r;return-1};let c=l(i);-1===c&&(c=l(0)),c>-1&&n[c].focus()}),[r]);var S;const[_,A]=(0,i.i)({state:null!==(S=e.checkedValues)&&void 0!==S?S:w?y.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var T;const E=null!==(T=e.onCheckedValueChange)&&void 0!==T?T:w?y.onCheckedValueChange:void 0,B=(0,a.D)(((e,t,r,o)=>{const i=[...(null===_||void 0===_?void 0:_[t])||[]];o?i.splice(i.indexOf(r),1):i.push(r),null===E||void 0===E||E(e,{name:t,checkedItems:i}),A((e=>(0,n.A)((0,n.A)({},e),{},{[t]:i})))})),I=(0,a.D)(((e,t,r)=>{const o=[r];A((e=>(0,n.A)((0,n.A)({},e),{},{[t]:o}))),null===E||void 0===E||E(e,{name:t,checkedItems:o})}));return{components:{root:"div"},root:s.Gk((0,l.g)("div",(0,n.A)((0,n.A)({ref:(0,c.a)(t,x),role:"menu","aria-labelledby":y.triggerId},k),e)),{elementType:"div"}),hasIcons:y.hasIcons||!1,hasCheckmarks:y.hasCheckmarks||!1,checkedValues:_,hasMenuContext:w,setFocusByFirstCharacter:C,selectRadio:I,toggleCheckbox:B}})(e,t),k=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:n,setFocusByFirstCharacter:i,toggleCheckbox:a}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:n,setFocusByFirstCharacter:i,toggleCheckbox:a}}}(r);return(e=>{const t=S();e.root.className=(0,x.z)(C,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className)})(r),(0,_.$e)("useMenuListStyles_unstable")(r),((e,t)=>((0,y.C)(e),(0,b.Y)(w.j4,{value:t.menuList,children:(0,b.Y)(e.root,{})})))(r,k)}));A.displayName="MenuList"},1571:(e,t,r)=>{"use strict";r.d(t,{b:()=>A});var o=r(5043),n=r(7051),i=r(9883),a=r(2218),s=r(9632),l=r(3397),c=r(5923),u=r(3614),d=r(5371),f=r(8857),h=r(2390),p=r(2428),g=r(1262),m=r(6059);const v=(e,t)=>{const r=(0,d.tv)((e=>e.menuPopoverRef)),v=(0,d.tv)((e=>e.setOpen)),b=(0,d.tv)((e=>e.open)),y=(0,d.tv)((e=>e.openOnHover)),w=(0,d.tv)((e=>e.triggerRef)),k=(0,p.R)(),x=o.useRef(!0),C=function(){const e=(0,m.p)();return e&&(0,g.mz)(e),(0,g.U6)({restorer:{type:g.CP.Source}})}(),[S,_]=(0,a.Z)(),{dir:A}=(0,h.Y)(),T="ltr"===A?i.nkM:i.Qpb,E=o.useCallback((e=>{e&&e.addEventListener("mouseover",(e=>{x.current&&(x.current=!1,(0,f.uD)(r.current,e),S((()=>x.current=!0),250))}))}),[r,S]);var B;o.useEffect((()=>{}),[_]);const I=null!==(B=(0,d.tv)((e=>e.inline)))&&void 0!==B&&B,N=(0,d.tv)((e=>e.mountNode)),P=s.Gk((0,l.g)("div",(0,n.A)((0,n.A)((0,n.A)({role:"presentation"},C),e),{},{ref:(0,c.a)(t,r,E)})),{elementType:"div"}),{onMouseEnter:R,onKeyDown:O}=P;return P.onMouseEnter=(0,u.D)((e=>{(y||k)&&v(e,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:e}),null===R||void 0===R||R(e)})),P.onKeyDown=(0,u.D)((e=>{const t=e.key;var o,n;(t===i.uf9||k&&t===T)&&(b&&(null===(o=r.current)||void 0===o?void 0:o.contains(e.target))&&!e.isDefaultPrevented()&&(v(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),e.preventDefault()));t===i.ozo&&(v(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),k||null===(n=w.current)||void 0===n||n.focus());null===O||void 0===O||O(e)})),{inline:I,mountNode:N,components:{root:"div"},root:P}};var b=r(9392),y=r(6755);const w="fui-MenuPopover",k=(0,b.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"ftje0s4",z0t1cu:"fi19xcv",Bks05zx:"f1mzajhk",Bvtglag:"fjp4h9y"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".ftje0s4{animation-name:f5j8bii,f79suad;}"],k:["@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mzajhk[data-popper-placement]{animation-name:f5j8bii;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.fjp4h9y[data-popper-placement]{animation-name:f5j8bii;}}"]});var x=r(9463),C=r(9413),S=r(1880);var _=r(6930);const A=o.forwardRef(((e,t)=>{const r=v(e,t);return(e=>{const t=k();e.root.className=(0,y.z)(w,t.root,e.root.className)})(r),(0,_.$e)("useMenuPopoverStyles_unstable")(r),(e=>((0,C.C)(e),e.inline?(0,x.Y)(e.root,{}):(0,x.Y)(S.Z,{mountNode:e.mountNode,children:(0,x.Y)(e.root,{})})))(r)}));A.displayName="MenuPopover"},2828:(e,t,r)=>{"use strict";r.d(t,{c:()=>y});var o=r(5043),n=r(7051),i=r(5371),a=r(2428),s=r(791),l=r(2390),c=r(9883),u=r(5204),d=r(5923),f=r(3614),h=r(8715),p=r(1994),g=r(3804),m=r(6975);const v=e=>{const t=e=>e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&"true"===e.getAttribute("aria-disabled");return!(!(0,g.s)(e.target)||!t(e.target))||(0,g.s)(e.currentTarget)&&t(e.currentTarget)};var b=r(3613);const y=e=>{const t=(e=>{const{children:t,disableButtonEnhancement:r=!1}=e,g=(0,i.tv)((e=>e.triggerRef)),b=(0,i.tv)((e=>e.menuPopoverRef)),y=(0,i.tv)((e=>e.setOpen)),w=(0,i.tv)((e=>e.open)),k=(0,i.tv)((e=>e.triggerId)),x=(0,i.tv)((e=>e.openOnHover)),C=(0,i.tv)((e=>e.openOnContext)),S=(0,a.R)(),{findFirstFocusable:_}=(0,s.r)(),A=o.useCallback((()=>{const e=_(b.current);null===e||void 0===e||e.focus()}),[_,b]),T=o.useRef(!1),E=o.useRef(!1),{dir:B}=(0,l.Y)(),I="ltr"===B?c.Qpb:c.nkM,N=(0,u.h)(t),P=(0,n.A)((0,n.A)({id:k},null===N||void 0===N?void 0:N.props),{},{ref:(0,d.a)(g,null===N||void 0===N?void 0:N.ref),onMouseEnter:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onMouseEnter,(e=>{v(e)||x&&E.current&&y(e,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:e})}))),onMouseLeave:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onMouseLeave,(e=>{v(e)||x&&y(e,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:e})}))),onContextMenu:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onContextMenu,(e=>{v(e)||e.isDefaultPrevented()||C&&(e.preventDefault(),y(e,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:e}))}))),onMouseMove:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onMouseMove,(e=>{v(e)||x&&!E.current&&(y(e,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:e}),E.current=!0)})))}),R=(0,n.A)((0,n.A)({"aria-haspopup":"menu","aria-expanded":w||S?w:void 0},P),{},{onClick:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onClick,(e=>{v(e)||C||(y(e,{open:!w,keyboard:T.current,type:"menuTriggerClick",event:e}),T.current=!1)}))),onKeyDown:(0,f.D)((0,h.p)(null===N||void 0===N?void 0:N.props.onKeyDown,(e=>{if(v(e))return;const t=e.key;!C&&(S&&t===I||!S&&t===c.yd$)&&y(e,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:e}),t!==c.uf9||S||y(e,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:e}),w&&t===I&&S&&A()})))}),O=(0,m.F)("button"===(null===N||void 0===N?void 0:N.type)||"a"===(null===N||void 0===N?void 0:N.type)?N.type:"div",R);return{isSubmenu:S,children:(0,p.L)(t,C?P:r?R:O)}})(e);return(e=>o.createElement(b._,{value:e.isSubmenu},e.children))(t)};y.displayName="MenuTrigger",y.isFluentTriggerComponent=!0},5371:(e,t,r)=>{"use strict";r.d(t,{BV:()=>s,tv:()=>l,xu:()=>i});r(5043);var o=r(7891),n=r(3017);const i=(0,o.q)(void 0),a={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},s=i.Provider,l=e=>(0,n.i)(i,(function(){return e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:a)}))},9855:(e,t,r)=>{"use strict";r.d(t,{VU:()=>i,f_:()=>l,j4:()=>s});r(5043);var o=r(7891),n=r(3017);const i=(0,o.q)(void 0),a={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},s=i.Provider,l=e=>(0,n.i)(i,(function(){return e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:a)}))},3613:(e,t,r)=>{"use strict";r.d(t,{T:()=>a,_:()=>i});var o=r(5043);const n=o.createContext(void 0),i=n.Provider,a=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e&&e}},2428:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});var o=r(8500),n=r(5371),i=r(9855);function a(){const e=(0,n.tv)((e=>e.isSubmenu)),t=(0,o.V)(i.VU);return e||t}},8857:(e,t,r)=>{"use strict";r.d(t,{C4:()=>a,Ji:()=>s,uD:()=>l});var o=r(5043),n=r(3614),i=r(3452);const a="fuimenuenter",s=e=>{const{refs:t,callback:r,element:s,disabled:l}=e,c=(0,n.D)((e=>{const o=t[0],n=e.target;var a;!(0,i.s)(null!==(a=o.current)&&void 0!==a?a:null,n)&&!l&&r(e)}));o.useEffect((()=>{if(null!=s)return l||s.addEventListener(a,c),()=>{s.removeEventListener(a,c)}}),[c,s,l])},l=(e,t)=>{e.dispatchEvent(new CustomEvent(a,{bubbles:!0,detail:{nativeEvent:t}}))}},7891:(e,t,r)=>{"use strict";r.d(t,{q:()=>a});var o=r(4915),n=r(5043),i=r(2897);const a=e=>{const t=n.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=n.useRef(e.value),a=n.useRef(0),s=n.useRef();return s.current||(s.current={value:t,version:a,listeners:[]}),(0,o.E)((()=>{t.current=e.value,a.current+=1,(0,i.unstable_runWithPriority)(i.unstable_NormalPriority,(()=>{s.current.listeners.forEach((t=>{t([a.current,e.value])}))}))}),[e.value]),n.createElement(r,{value:s.current},e.children)}),delete t.Consumer,t}},3017:(e,t,r)=>{"use strict";r.d(t,{i:()=>a});var o=r(3614),n=r(4915),i=r(5043);const a=(e,t)=>{const r=i.useContext(e),{value:{current:a},version:{current:s},listeners:l}=r,c=t(a),[u,d]=i.useState([a,c]),f=e=>{d((r=>{if(!e)return[a,c];if(e[0]<=s)return Object.is(r[1],c)?r:[a,c];try{if(Object.is(r[0],e[1]))return r;const o=t(e[1]);return Object.is(r[1],o)?r:[e[1],o]}catch(o){}return[r[0],r[1]]}))};Object.is(u[1],c)||f(void 0);const h=(0,o.D)(f);return(0,n.E)((()=>(l.push(h),()=>{const e=l.indexOf(h);l.splice(e,1)})),[h,l]),u[1]}},8500:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var o=r(5043);function n(e){const t=o.useContext(e);return!!t.version&&-1!==t.version.current}},1726:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(!(0<i(n,t)))break e;e[o]=t,e[r]=n,r=o}}function o(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,a=n>>>1;o<a;){var s=2*(o+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,r))c<n&&0>i(u,l)?(e[o]=u,e[c]=r,o=c):(e[o]=l,e[s]=r,o=s);else{if(!(c<n&&0>i(u,r)))break e;e[o]=u,e[c]=r,o=c}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=o(u);null!==t;){if(null===t.callback)n(u);else{if(!(t.startTime<=e))break;n(u),t.sortIndex=t.expirationTime,r(c,t)}t=o(u)}}function k(e){if(m=!1,w(e),!g)if(null!==o(c))g=!0,R(x);else{var t=o(u);null!==t&&O(k,t.startTime-e)}}function x(e,r){g=!1,m&&(m=!1,b(A),A=-1),p=!0;var i=h;try{for(w(r),f=o(c);null!==f&&(!(f.expirationTime>r)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?f.callback=s:f===o(c)&&n(c),w(r)}else n(c);f=o(c)}if(null!==f)var l=!0;else{var d=o(u);null!==d&&O(k,d.startTime-r),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,_=null,A=-1,T=5,E=-1;function B(){return!(t.unstable_now()-E<T)}function I(){if(null!==_){var e=t.unstable_now();E=e;var r=!0;try{r=_(!0,e)}finally{r?C():(S=!1,_=null)}}else S=!1}if("function"===typeof y)C=function(){y(I)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=I,C=function(){P.postMessage(null)}}else C=function(){v(I,0)};function R(e){_=e,S||(S=!0,C())}function O(e,r){A=v((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(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return o(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},t.unstable_scheduleCallback=function(e,n,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(u,e),null===o(c)&&e===o(u)&&(m?(b(A),A=-1):m=!0,O(k,i-a))):(e.sortIndex=s,r(c,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},2897:(e,t,r)=>{"use strict";e.exports=r(1726)},8130:(e,t,r)=>{"use strict";r.d(t,{$:()=>k});var o=r(3986),n=r(7051),i=r(5923),a=r(1898),s=r(3614),l=r(4915),c=r(5043);const u=c.createContext(void 0),d=["keyframes"];function f(){return c.useCallback(((e,t,r)=>{const i=Array.isArray(t)?t:[t],{isReducedMotion:a}=r,s=i.map((t=>{const{keyframes:r}=t,i=(0,o.A)(t,d),s=e.animate(r,(0,n.A)((0,n.A)({fill:"forwards"},i),a&&{duration:1}));return s.persist(),s}));return{set playbackRate(e){s.forEach((t=>{t.playbackRate=e}))},setMotionEndCallbacks(t,r){Promise.all(s.map((e=>e.finished))).then((()=>{t()})).catch((t=>{var o;const n=null===(o=e.ownerDocument.defaultView)||void 0===o?void 0:o.DOMException;if(!(n&&t instanceof n&&"AbortError"===t.name))throw t;r()}))},cancel:()=>{s.forEach((e=>{e.cancel()}))},pause:()=>{s.forEach((e=>{e.pause()}))},play:()=>{s.forEach((e=>{e.play()}))},finish:()=>{s.forEach((e=>{e.finish()}))}}}),[])}function h(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=c.useRef(!t||e),o=(0,c.useReducer)((e=>e+1),0)[1],n=c.useCallback((e=>{r.current!==e&&(r.current=e,o())}),[o]);return c.useEffect((()=>{e&&(r.current=e)})),[e||r.current,n]}var p=r(2390);const g="screen and (prefers-reduced-motion: reduce)";var m=r(2086);const v=c.createContext(void 0),b=(v.Provider,()=>{var e;return null!==(e=c.useContext(v))&&void 0!==e?e:"default"}),y=["appear","children","imperativeRef","onExit","onMotionFinish","onMotionStart","onMotionCancel","visible","unmountOnExit"],w=Symbol("MOTION_DEFINITION");function k(e){return Object.assign((t=>{const r=c.useContext(u),d=(0,n.A)((0,n.A)({},r),t),v="skip"===b(),{appear:w,children:k,imperativeRef:x,onExit:C,onMotionFinish:S,onMotionStart:_,onMotionCancel:A,visible:T,unmountOnExit:E}=d,B=(0,o.A)(d,y),[I,N]=h(T,E),P=function(e){try{const t=c.Children.only(e);if("string"===typeof t.type||m.isForwardRef(t))return t}catch(t){}throw new Error(["@fluentui/react-motion: Invalid child element.","\n","Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join(""))}(k),R=function(e){const t=c.useRef();return c.useImperativeHandle(e,(()=>({setPlayState:e=>{var r,o;"running"===e&&(null===(r=t.current)||void 0===r||r.play()),"paused"===e&&(null===(o=t.current)||void 0===o||o.pause())},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}}))),t}(x),O=c.useRef(),j=(0,i.a)(O,P.ref),z=c.useRef({appear:w,params:B,skipMotions:v}),M=f(),L=(0,a.t)(),D=function(){const{targetDocument:e}=(0,p.Y)();var t;const r=null!==(t=null===e||void 0===e?void 0:e.defaultView)&&void 0!==t?t:null,o=c.useRef(!1),n=c.useCallback((()=>o.current),[]);return(0,l.E)((()=>{if(null===r||"function"!==typeof r.matchMedia)return;const e=r.matchMedia(g);e.matches&&(o.current=!0);const t=e=>{o.current=e.matches};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[r]),n}(),F=(0,s.D)((e=>{null===_||void 0===_||_(null,{direction:e})})),q=(0,s.D)((e=>{null===S||void 0===S||S(null,{direction:e}),"exit"===e&&E&&(N(!1),null===C||void 0===C||C())})),H=(0,s.D)((e=>{null===A||void 0===A||A(null,{direction:e})}));return(0,l.E)((()=>{z.current={appear:w,params:B,skipMotions:v}})),(0,l.E)((()=>{const t=O.current;if(!t||function(e,t,r){return!e&&t&&!!r}(z.current.appear,L,T))return;const r="function"===typeof e?e((0,n.A)({element:t},z.current.params)):e,o=T?r.enter:r.exit,i=T?"enter":"exit",a=!T&&L,s=z.current.skipMotions;a||F(i);const l=M(t,o,{isReducedMotion:D()});if(!a)return R.current=l,l.setMotionEndCallbacks((()=>q(i)),(()=>H(i))),s&&l.finish(),()=>{l.cancel()};l.finish()}),[M,R,D,q,F,H,T]),I?c.cloneElement(P,{ref:j}):null}),{[w]:"function"===typeof e?e:()=>e})}},8337:(e,t,r)=>{"use strict";r.d(t,{TV:()=>n});var o=r(7051);const n=(0,o.A)((0,o.A)({},{durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500}),{curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"})},9940:(e,t,r)=>{"use strict";r.d(t,{s:()=>l});var o=r(7051),n=r(3986),i=r(2247),a=r(5043);const s=["as","children"];function l(e,t){const r=null!==e&&void 0!==e?e:{},{as:l,children:c}=r,u=(0,n.A)(r,s);if(null===e){const e=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,r=(t,r)=>e?null:a.createElement(a.Fragment,null,r.children);return{[i.Y]:r,[i.o]:t.elementType}}const d=(0,o.A)((0,o.A)((0,o.A)({},t.defaultProps),u),{},{[i.o]:t.elementType});return"function"===typeof c&&(d[i.Y]=c),d}},326:(e,t,r)=>{"use strict";r.d(t,{F:()=>ct});var o=r(5043),n=r(9463),i=r(9413);var a=r(7051);var s=r(1360),l=r(9632),c=r(3397),u=r(8715);const d=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,f=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,h=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,p=/\s+/g,g=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function m(e,t,r){return e?(e=function(e){return(e=(e=(e=e.replace(d,"")).replace(f,"")).replace(p," ")).trim()}(e),g.test(e)||!(null===r||void 0===r?void 0:r.allowPhoneInitials)&&h.test(e)?"":function(e,t,r){let o="";const n=e.split(" ");return 0!==n.length&&(o+=n[0].charAt(0).toUpperCase()),r||(2===n.length?o+=n[1].charAt(0).toUpperCase():3===n.length&&(o+=n[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t,null===r||void 0===r?void 0:r.firstInitialOnly)):""}var v=r(443),b=r(2214);const y=(0,b.U)("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),w=(0,b.U)("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),k=(0,b.U)("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),x=(0,b.U)("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),C=(0,b.U)("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),S=(0,b.U)("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),_=(0,b.U)("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),A=(0,b.U)("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),T=(0,b.U)("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),E=(0,b.U)("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),B=(0,b.U)("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),I=(0,b.U)("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),N=(0,b.U)("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),P=(0,b.U)("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),R=(0,b.U)("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),O=(0,b.U)("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),j=(0,b.U)("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),z=(0,b.U)("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),M=(0,b.U)("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),L=(0,b.U)("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),D=(0,b.U)("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),F=(0,b.U)("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),q=(0,b.U)("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),H=(0,b.U)("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),U=(0,b.U)("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),W=(0,b.U)("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),K=(0,b.U)("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),G=(0,b.U)("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),V=(0,b.U)("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),Y=(0,b.U)("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),X=(0,b.U)("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Q=(0,b.U)("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),Z=(0,b.U)("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),J=(0,b.U)("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),$=(0,b.U)("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),ee=(0,b.U)("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),te=(0,b.U)("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),re=(0,b.U)("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),oe=(0,b.U)("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),ne=(0,b.U)("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),ie={tiny:T,"extra-small":T,small:E,medium:B,large:I,"extra-large":I},ae={tiny:w,"extra-small":w,small:x,medium:S,large:A,"extra-large":A},se={tiny:y,"extra-small":y,small:k,medium:C,large:_,"extra-large":_},le={tiny:N,"extra-small":N,small:P,medium:R,large:O,"extra-large":O},ce={tiny:j,"extra-small":j,small:z,medium:M,large:L,"extra-large":L},ue={tiny:D,"extra-small":D,small:q,medium:U,large:K,"extra-large":K},de={tiny:F,"extra-small":F,small:H,medium:W,large:G,"extra-large":G},fe={tiny:Z,"extra-small":Z,small:J,medium:$,large:ee,"extra-large":ee},he={tiny:V,"extra-small":V,small:Y,medium:X,large:Q,"extra-large":Q},pe={tiny:te,"extra-small":te,small:re,medium:oe,large:ne,"extra-large":ne},ge={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},me=(e,t)=>{const{size:r="medium",status:n="available",outOfOffice:i=!1}=e,s=ge[n],u=e.outOfOffice&&"out-of-office"!==e.status?" ".concat(ge["out-of-office"]):"",d=((e,t,r)=>{switch(e){case"available":return t?ae[r]:se[r];case"away":return t?fe[r]:ie[r];case"blocked":return le[r];case"busy":return t?pe[r]:ce[r];case"do-not-disturb":return t?de[r]:ue[r];case"offline":return t?fe[r]:he[r];case"out-of-office":return fe[r];case"unknown":return pe[r]}})(n,i,r),f=(0,a.A)((0,a.A)({},((e,t)=>{const{shape:r="circular",size:o="medium",iconPosition:n="before",appearance:i="filled",color:s="brand"}=e;return{shape:r,size:o,iconPosition:n,appearance:i,color:s,components:{root:"div",icon:"span"},root:l.Gk((0,c.g)("div",(0,a.A)({ref:t},e)),{elementType:"div"}),icon:l.lq(e.icon,{elementType:"span"})}})((0,a.A)((0,a.A)({"aria-label":s+u,role:"img"},e),{},{size:r,icon:l.lq(e.icon,{defaultProps:{children:d?o.createElement(d,null):null},renderByDefault:!0,elementType:"span"})}),t)),{},{status:n,outOfOffice:i});return f};var ve=r(9560),be=r(9392),ye=r(6755);const we="fui-PresenceBadge",ke="fui-PresenceBadge__icon",xe=(0,ve.y)("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),Ce=(0,ve.y)("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),Se=(0,be.X)({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]});var _e=r(6930);const Ae=o.forwardRef(((e,t)=>{const r=me(e,t);return(e=>{const t=xe(),r=Ce(),o=Se(),n="busy"===(i=e.status)||"do-not-disturb"===i||"blocked"===i;var i;e.root.className=(0,ye.z)(we,t,n&&o.statusBusy,"away"===e.status&&o.statusAway,"available"===e.status&&o.statusAvailable,"offline"===e.status&&o.statusOffline,"out-of-office"===e.status&&o.statusOutOfOffice,"unknown"===e.status&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&"available"===e.status&&o.outOfOfficeAvailable,e.outOfOffice&&n&&o.outOfOfficeBusy,e.outOfOffice&&("out-of-office"===e.status||"away"===e.status||"offline"===e.status)&&o.statusOutOfOffice,e.outOfOffice&&"unknown"===e.status&&o.outOfOfficeUnknown,"tiny"===e.size&&o.tiny,"large"===e.size&&o.large,"extra-large"===e.size&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=(0,ye.z)(ke,r,e.icon.className))})(r),(0,_e.$e)("usePresenceBadgeStyles_unstable")(r),(e=>((0,i.C)(e),(0,n.FD)(e.root,{children:["before"===e.iconPosition&&e.icon&&(0,n.Y)(e.icon,{}),e.root.children,"after"===e.iconPosition&&e.icon&&(0,n.Y)(e.icon,{})]})))(r)}));Ae.displayName="PresenceBadge";var Te=r(2390),Ee=r(4199);const Be={active:"active",inactive:"inactive"},Ie=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",Ne=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Pe=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),n=r%8;t^=(o<<n)+(o>>8-n)}return t},Re="fui-Avatar",Oe="fui-Avatar__image",je="fui-Avatar__initials",ze="fui-Avatar__icon",Me="fui-Avatar__badge",Le=(0,ve.y)("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),De=(0,ve.y)("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),Fe=(0,ve.y)("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),qe=(0,be.X)({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),He=(0,be.X)({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),Ue=(0,be.X)({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),We=(0,be.X)({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),Ke=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{dir:r}=(0,Te.Y)(),{shape:n,size:i}=(0,Ee.u)(),{name:d,size:f=(null!==i&&void 0!==i?i:32),shape:h=(null!==n&&void 0!==n?n:"circular"),active:p="unset",activeAppearance:g="ring",idForColor:b}=e;let{color:y="neutral"}=e;var w;"colorful"===y&&(y=Ne[Pe(null!==(w=null!==b&&void 0!==b?b:d)&&void 0!==w?w:"")%Ne.length]);const k=(0,s.Bi)("avatar-"),x=l.Gk((0,c.g)("span",(0,a.A)((0,a.A)({role:"img",id:k},e),{},{ref:t}),["name"]),{elementType:"span"}),[C,S]=o.useState(void 0);let _=l.lq(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:C},elementType:"img"});(null===_||void 0===_?void 0:_.src)||(_=void 0),_&&(_.onError=(0,u.p)(_.onError,(()=>S(!0))),_.onLoad=(0,u.p)(_.onLoad,(()=>S(void 0))));let A,T=l.lq(e.initials,{renderByDefault:!0,defaultProps:{children:m(d,"rtl"===r,{firstInitialOnly:f<=16}),id:k+"__initials"},elementType:"span"});(null===T||void 0===T?void 0:T.children)||(T=void 0),T||_&&!C||(A=l.lq(e.icon,{renderByDefault:!0,defaultProps:{children:o.createElement(v.aUx,null),"aria-hidden":!0},elementType:"span"}));const E=l.lq(e.badge,{defaultProps:{size:Ie(f),id:k+"__badge"},elementType:Ae});let B;if(!x["aria-label"]&&!x["aria-labelledby"]&&(d?(x["aria-label"]=d,E&&(x["aria-labelledby"]=x.id+" "+E.id)):T&&(x["aria-labelledby"]=T.id+(E?" "+E.id:"")),"active"===p||"inactive"===p)){const e=Be[p];if(x["aria-labelledby"]){const t=k+"__active";x["aria-labelledby"]+=" "+t,B=o.createElement("span",{hidden:!0,id:t},e)}else x["aria-label"]&&(x["aria-label"]+=" "+e)}return{size:f,shape:h,active:p,activeAppearance:g,activeAriaLabelElement:B,color:y,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Ae},root:x,initials:T,icon:A,image:_,badge:E}})(e,t);return(e=>{const{size:t,shape:r,active:o,activeAppearance:n,color:i}=e,a=Le(),s=De(),l=Fe(),c=qe(),u=He(),d=Ue(),f=We(),h=[a,32!==t&&u[t]];if(e.badge&&h.push(c.badgeAlign,c[e.badge.size||"medium"]),t<=24?h.push(c.textCaption2Strong):t<=28?h.push(c.textCaption1Strong):t<=40||(t<=56?h.push(c.textSubtitle2):t<=96?h.push(c.textSubtitle1):h.push(c.textTitle3)),"square"===r&&(t<=24?h.push(c.squareSmall):t<=48?h.push(c.squareMedium):t<=72?h.push(c.squareLarge):h.push(c.squareXLarge)),"active"!==o&&"inactive"!==o||(h.push(c.activeOrInactive),"ring"!==n&&"ring-shadow"!==n||(h.push(c.ring,f[i]),e.badge&&h.push(c.ringBadgeCutout),t<=48?h.push(c.ringThick):t<=64?h.push(c.ringThicker):h.push(c.ringThickest)),"shadow"!==n&&"ring-shadow"!==n||(h.push(c.shadow),t<=28?h.push(c.shadow4):t<=48?h.push(c.shadow8):t<=64?h.push(c.shadow16):h.push(c.shadow28)),"inactive"===o&&h.push(c.inactive)),e.root.className=(0,ye.z)(Re,...h,e.root.className),e.badge&&(e.badge.className=(0,ye.z)(Me,c.badge,e.badge.className)),e.image&&(e.image.className=(0,ye.z)(Oe,s,d[i],e.badge&&c.badgeCutout,e.image.className)),e.initials&&(e.initials.className=(0,ye.z)(je,l,d[i],e.badge&&c.badgeCutout,e.initials.className)),e.icon){let r;r=t<=16?c.icon12:t<=24?c.icon16:t<=40?c.icon20:t<=48?c.icon24:t<=56?c.icon28:t<=72?c.icon32:c.icon48,e.icon.className=(0,ye.z)(ze,l,r,d[i],e.badge&&c.badgeCutout,e.icon.className)}})(r),(0,_e.$e)("useAvatarStyles_unstable")(r),(e=>((0,i.C)(e),(0,n.FD)(e.root,{children:[e.initials&&(0,n.Y)(e.initials,{}),e.icon&&(0,n.Y)(e.icon,{}),e.image&&(0,n.Y)(e.image,{}),e.badge&&(0,n.Y)(e.badge,{}),e.activeAriaLabelElement]})))(r)}));Ke.displayName="Avatar";const Ge={"extra-small":"tiny",small:"extra-small",medium:"small",large:"medium","extra-large":"large",huge:"large"},Ve={"extra-small":20,small:28,medium:32,large:36,"extra-large":40,huge:56},Ye="fui-Persona",Xe="fui-Persona__avatar",Qe="fui-Persona__presence",Ze="fui-Persona__primaryText",Je="fui-Persona__secondaryText",$e="fui-Persona__tertiaryText",et="fui-Persona__quaternaryText",tt=(0,ve.y)("rlroi9i",null,[".rlroi9i{display:inline-grid;grid-auto-rows:max-content;grid-auto-flow:column;justify-items:start;grid-template-columns:max-content [middle] auto;}"]),rt=(0,be.X)({beforeAfterCenter:{wkccdc:"f1iantul"},after:{},before:{B7hvi0a:"f1tll2w5",Budl1dq:"ffvkwdr"},below:{Bxotwcr:"f1nkeedh",B7hvi0a:"f1oiokrs",Budl1dq:"f1emgwh2"},media:{Ijaq50:"f1hek2iy"},mediaBeforeAfterCenter:{Ijaq50:"fa4dipu"},start:{qb2dma:"f9h729m"},center:{qb2dma:"f7nlbp4"},afterAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Bw0ie65:"f1warjpf"},beforeAlignToPrimary:{qb2dma:"f7nlbp4",Ijaq50:"f1rnkkuc",Br312pm:"fwu52yu"},secondLineSpacing:{B6of3ja:"f1ryq6si"},primary:{Ijaq50:"f1q3ipgb"},secondary:{Ijaq50:"f3drtdk"},tertiary:{Ijaq50:"fa1o6s1"},quaternary:{Ijaq50:"f1tuwaia"}},{d:[".f1iantul{grid-template-rows:1fr [primary] max-content [secondary] max-content [tertiary] max-content [quaternary] max-content 1fr;}",".f1tll2w5{justify-items:end;}",".ffvkwdr{grid-template-columns:auto [middle] max-content;}",".f1nkeedh{grid-auto-flow:unset;}",".f1oiokrs{justify-items:center;}",".f1emgwh2{grid-template-columns:unset;}",".f1hek2iy{grid-row-start:span 5;}",".fa4dipu{grid-row-start:span 6;}",".f9h729m{align-self:start;}",".f7nlbp4{align-self:center;}",".f1rnkkuc{grid-row-start:unset;}",".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".f1ryq6si{margin-top:-2px;}",".f1q3ipgb{grid-row-start:primary;}",".f3drtdk{grid-row-start:secondary;}",".fa1o6s1{grid-row-start:tertiary;}",".f1tuwaia{grid-row-start:quaternary;}"]}),ot=(0,be.X)({"extra-small":{Bs1gm4r:"f1e48tse"},small:{Bs1gm4r:"f18q9vkd"},medium:{Bs1gm4r:"f18q9vkd"},large:{Bs1gm4r:"fx34bi6"},"extra-large":{Bs1gm4r:"fx34bi6"},huge:{Bs1gm4r:"f1o96qtm"},after:{t21cq0:["f103ycu4","f1tao51"]},below:{jrapky:"fbo7acy"},before:{Frg6f3:["f1tao51","f103ycu4"]}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}",".f18q9vkd{--fui-Persona__avatar--spacing:var(--spacingHorizontalS);}",".fx34bi6{--fui-Persona__avatar--spacing:var(--spacingHorizontalMNudge);}",".f1o96qtm{--fui-Persona__avatar--spacing:var(--spacingHorizontalM);}",".f103ycu4{margin-right:var(--fui-Persona__avatar--spacing);}",".f1tao51{margin-left:var(--fui-Persona__avatar--spacing);}",".fbo7acy{margin-bottom:var(--fui-Persona__avatar--spacing);}"]}),nt=(0,be.X)({small:{Bs1gm4r:"f1e48tse"}},{d:[".f1e48tse{--fui-Persona__avatar--spacing:var(--spacingHorizontalSNudge);}"]}),it=(0,ve.y)("rvj41k9",null,[".rvj41k9{display:block;color:var(--colorNeutralForeground1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);}"]),at=(0,ve.y)("rp1pf9e",null,[".rp1pf9e{display:block;color:var(--colorNeutralForeground2);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),st=(0,be.X)({beforeAlignToPrimary:{Bw0ie65:"f1warjpf"},afterAlignToPrimary:{Br312pm:"fwu52yu"},body1:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},caption1:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtitle2:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".f1warjpf{grid-column-end:middle;}",".fwu52yu{grid-column-start:middle;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),lt=(e,t)=>{const{presenceOnly:r,size:o,textPosition:n}=e,i=it(),a=at(),s=st();let l,c;return r?("extra-small"===o?l=e.numTextLines<=1&&s.caption1:"extra-large"!==o&&"huge"!==o||(l=s.subtitle2),t&&("before"===n?c=s.beforeAlignToPrimary:"after"===n&&(c=s.afterAlignToPrimary))):("huge"===o||"extra-large"===o)&&(l=s.subtitle2),{primaryTextClassName:(0,ye.z)(i,l,c),optionalTextClassName:(0,ye.z)(a,!r&&"huge"===o&&s.body1,c)}},ct=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{name:r,presenceOnly:o=!1,size:n="medium",textAlignment:i="start",textPosition:s="after"}=e,u=l.lq(e.primaryText,{renderByDefault:!0,defaultProps:{children:r},elementType:"span"}),d=l.lq(e.secondaryText,{elementType:"span"}),f=l.lq(e.tertiaryText,{elementType:"span"}),h=l.lq(e.quaternaryText,{elementType:"span"});return{numTextLines:[u,d,f,h].filter(Boolean).length,presenceOnly:o,size:n,textAlignment:i,textPosition:s,components:{root:"div",avatar:Ke,presence:Ae,primaryText:"span",secondaryText:"span",tertiaryText:"span",quaternaryText:"span"},root:l.Gk((0,c.g)("div",(0,a.A)((0,a.A)({},e),{},{ref:t}),["name"]),{elementType:"div"}),avatar:o?void 0:l.lq(e.avatar,{renderByDefault:!0,defaultProps:{name:r,badge:e.presence,size:Ve[n]},elementType:Ke}),presence:o?l.lq(e.presence,{defaultProps:{size:Ge[n]},elementType:Ae}):void 0,primaryText:u,secondaryText:d,tertiaryText:f,quaternaryText:h}})(e,t);return(e=>{const{presenceOnly:t,size:r,textAlignment:o,textPosition:n}=e,i=t&&"start"===o&&"extra-large"!==r&&"huge"!==r,s="below"!==n&&"center"===o,{primaryTextClassName:l,optionalTextClassName:c}=lt(e,i),u=tt(),d=rt(),f=ot(),h=(0,a.A)((0,a.A)({},f),nt());e.root.className=(0,ye.z)(Ye,u,s&&d.beforeAfterCenter,d[n],e.root.className),e.avatar&&(e.avatar.className=(0,ye.z)(Xe,"below"!==n&&d.media,s&&d.mediaBeforeAfterCenter,d[o],f[r],f[n],e.avatar.className)),e.presence&&(e.presence.className=(0,ye.z)(Qe,"below"!==n&&d.media,s&&d.mediaBeforeAfterCenter,d[o],h[r],h[n],"after"===n&&i&&d.afterAlignToPrimary,"before"===n&&i&&d.beforeAlignToPrimary,e.presence.className)),e.primaryText&&(e.primaryText.className=(0,ye.z)(Ze,s&&d.primary,l,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=(0,ye.z)(Je,s&&d.secondary,c,d.secondLineSpacing,e.secondaryText.className)),e.tertiaryText&&(e.tertiaryText.className=(0,ye.z)($e,s&&d.tertiary,c,e.tertiaryText.className)),e.quaternaryText&&(e.quaternaryText.className=(0,ye.z)(et,s&&d.quaternary,c,e.quaternaryText.className))})(r),(0,_e.$e)("usePersonaStyles_unstable")(r),(e=>{const{presenceOnly:t,textPosition:r}=e;(0,i.C)(e);const o=t?e.presence&&(0,n.Y)(e.presence,{}):e.avatar&&(0,n.Y)(e.avatar,{});return(0,n.FD)(e.root,{children:[("after"===r||"below"===r)&&o,e.primaryText&&(0,n.Y)(e.primaryText,{}),e.secondaryText&&(0,n.Y)(e.secondaryText,{}),e.tertiaryText&&(0,n.Y)(e.tertiaryText,{}),e.quaternaryText&&(0,n.Y)(e.quaternaryText,{}),"before"===r&&o]})})(r)}));ct.displayName="Persona"},1880:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var o=r(5043),n=r.t(o,2);function i(e,t){if(!e)return;const r=e;r._virtual||(r._virtual={}),r._virtual.parent=t}var a=r(5179),s=r(2390);const l=o.createContext(void 0);l.Provider;var c=r(6066),u=r(6755),d=r(5614);const f=(0,r(9392).X)({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),h=n.useInsertionEffect,p=e=>{const{targetDocument:t,dir:r}=(0,s.Y)(),n=o.useContext(l),i=(0,d.Y)(),a=f(),p=(0,c.q)(),g=(0,u.z)(p,a.root,e.className),m=null!==n&&void 0!==n?n:null===t||void 0===t?void 0:t.body,v=function(e,t){var r;const n=o.useMemo,i=o.useEffect,[a,s]=null!=(r=n((()=>e()),t))?r:[null,()=>null];return i((()=>s),t),a}((()=>{if(void 0===m||e.disabled)return[null,()=>null];const t=m.ownerDocument.createElement("div");return m.appendChild(t),[t,()=>t.remove()]}),[m]);return h?h((()=>{if(!v)return;const e=g.split(" ").filter(Boolean);return v.classList.add(...e),v.setAttribute("dir",r),v.setAttribute("data-portal-node","true"),i.current=v,()=>{v.classList.remove(...e),v.removeAttribute("dir")}}),[g,r,v,i]):o.useMemo((()=>{v&&(v.className=g,v.setAttribute("dir",r),v.setAttribute("data-portal-node","true"),i.current=v)}),[g,r,v,i]),v};var g=r(7950);const m=e=>{const t=(e=>{const{element:t,className:r}=(0,a.h)(e.mountNode),n=o.useRef(null),s=p({disabled:!!t,className:r}),l=null!==t&&void 0!==t?t:s,c={children:e.children,mountNode:l,virtualParentRootRef:n};return o.useEffect((()=>{if(!l)return;const e=n.current,t=l.contains(e);return e&&!t?(i(l,e),()=>{i(l,void 0)}):void 0}),[n,l]),c})(e);return(e=>o.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&g.createPortal(e.children,e.mountNode)))(t)};m.displayName="Portal"},5179:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});var o=r(3804);function n(e){return(0,o.s)(e)?{element:e}:"object"===typeof e?null===e?{element:null}:e:{}}},1311:(e,t,r)=>{"use strict";r.d(t,{T:()=>tt});var o=r(7051);const n=["top","right","bottom","left"],i=Math.min,a=Math.max,s=Math.round,l=(Math.floor,e=>({x:e,y:e})),c={left:"right",right:"left",bottom:"top",top:"bottom"},u={start:"end",end:"start"};function d(e,t,r){return a(e,i(t,r))}function f(e,t){return"function"===typeof e?e(t):e}function h(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(h(e))?"y":"x"}function b(e){return g(v(e))}function y(e){return e.replace(/start|end/g,(e=>u[e]))}function w(e){return e.replace(/left|right|bottom|top/g,(e=>c[e]))}function k(e){return"number"!==typeof e?function(e){return(0,o.A)({top:0,right:0,bottom:0,left:0},e)}(e):{top:e,right:e,bottom:e,left:e}}function x(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}var C=r(3986);const S=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],_=["strategy"],A=["mainAxis","crossAxis","limiter"],T=["apply"];function E(e,t,r){let{reference:o,floating:n}=e;const i=v(t),a=b(t),s=m(a),l=h(t),c="y"===i,u=o.x+o.width/2-n.width/2,d=o.y+o.height/2-n.height/2,f=o[s]/2-n[s]/2;let g;switch(l){case"top":g={x:u,y:o.y-n.height};break;case"bottom":g={x:u,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:d};break;case"left":g={x:o.x-n.width,y:d};break;default:g={x:o.x,y:o.y}}switch(p(t)){case"start":g[a]-=f*(r&&c?-1:1);break;case"end":g[a]+=f*(r&&c?-1:1)}return g}async function B(e,t){var r;void 0===t&&(t={});const{x:o,y:n,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=f(t,e),g=k(p),m=s[h?"floating"===d?"reference":"floating":d],v=x(await i.getClippingRect({element:null==(r=await(null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),b="floating"===d?{x:o,y:n,width:a.floating.width,height:a.floating.height}:a.reference,y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),w=await(null==i.isElement?void 0:i.isElement(y))&&await(null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},C=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:y,strategy:l}):b);return{top:(v.top-C.top+g.top)/w.y,bottom:(C.bottom-v.bottom+g.bottom)/w.y,left:(v.left-C.left+g.left)/w.x,right:(C.right-v.right+g.right)/w.x}}function I(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return n.some((t=>e[t]>=0))}function P(){return"undefined"!==typeof window}function R(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function O(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!P()&&(e instanceof Node||e instanceof O(e).Node)}function M(e){return!!P()&&(e instanceof Element||e instanceof O(e).Element)}function L(e){return!!P()&&(e instanceof HTMLElement||e instanceof O(e).HTMLElement)}function D(e){return!(!P()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof O(e).ShadowRoot)}function F(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=G(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(n)}function q(e){return["table","td","th"].includes(R(e))}function H(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(r){return!1}}))}function U(e){const t=W(),r=M(e)?G(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function W(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function K(e){return["html","body","#document"].includes(R(e))}function G(e){return O(e).getComputedStyle(e)}function V(e){return M(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Y(e){if("html"===R(e))return e;const t=e.assignedSlot||e.parentNode||D(e)&&e.host||j(e);return D(t)?t.host:t}function X(e){const t=Y(e);return K(t)?e.ownerDocument?e.ownerDocument.body:e.body:L(t)&&F(t)?t:X(t)}function Q(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const n=X(e),i=n===(null==(o=e.ownerDocument)?void 0:o.body),a=O(n);if(i){const e=Z(a);return t.concat(a,a.visualViewport||[],F(n)?n:[],e&&r?Q(e):[])}return t.concat(n,Q(n,[],r))}function Z(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function J(e){const t=G(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=L(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,l=s(r)!==i||s(o)!==a;return l&&(r=i,o=a),{width:r,height:o,$:l}}function $(e){return M(e)?e:e.contextElement}function ee(e){const t=$(e);if(!L(t))return l(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=J(t);let a=(i?s(r.width):r.width)/o,c=(i?s(r.height):r.height)/n;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}const te=l(0);function re(e){const t=O(e);return W()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:te}function oe(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const n=e.getBoundingClientRect(),i=$(e);let a=l(1);t&&(o?M(o)&&(a=ee(o)):a=ee(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==O(e))&&t}(i,r,o)?re(i):l(0);let c=(n.left+s.x)/a.x,u=(n.top+s.y)/a.y,d=n.width/a.x,f=n.height/a.y;if(i){const e=O(i),t=o&&M(o)?O(o):o;let r=e,n=Z(r);for(;n&&o&&t!==r;){const e=ee(n),t=n.getBoundingClientRect(),o=G(n),i=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;c*=e.x,u*=e.y,d*=e.x,f*=e.y,c+=i,u+=a,r=O(n),n=Z(r)}}return x({width:d,height:f,x:c,y:u})}function ne(e,t){const r=V(e).scrollLeft;return t?t.left+r:oe(j(e)).left+r}function ie(e,t,r){void 0===r&&(r=!1);const o=e.getBoundingClientRect();return{x:o.left+t.scrollLeft-(r?0:ne(e,o)),y:o.top+t.scrollTop}}function ae(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=O(e),o=j(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(n){i=n.width,a=n.height;const e=W();(!e||e&&"fixed"===t)&&(s=n.offsetLeft,l=n.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,r);else if("document"===t)o=function(e){const t=j(e),r=V(e),o=e.ownerDocument.body,n=a(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=a(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-r.scrollLeft+ne(e);const l=-r.scrollTop;return"rtl"===G(o).direction&&(s+=a(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:s,y:l}}(j(e));else if(M(t))o=function(e,t){const r=oe(e,!0,"fixed"===t),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=L(e)?ee(e):l(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:n*i.x,y:o*i.y}}(t,r);else{const r=re(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return x(o)}function se(e,t){const r=Y(e);return!(r===t||!M(r)||K(r))&&("fixed"===G(r).position||se(r,t))}function le(e,t,r){const o=L(t),n=j(t),i="fixed"===r,a=oe(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const c=l(0);if(o||!o&&!i)if(("body"!==R(t)||F(n))&&(s=V(t)),o){const e=oe(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else n&&(c.x=ne(n));const u=!n||o||i?l(0):ie(n,s);return{x:a.left+s.scrollLeft-c.x-u.x,y:a.top+s.scrollTop-c.y-u.y,width:a.width,height:a.height}}function ce(e){return"static"===G(e).position}function ue(e,t){if(!L(e)||"fixed"===G(e).position)return null;if(t)return t(e);let r=e.offsetParent;return j(e)===r&&(r=r.ownerDocument.body),r}function de(e,t){const r=O(e);if(H(e))return r;if(!L(e)){let t=Y(e);for(;t&&!K(t);){if(M(t)&&!ce(t))return t;t=Y(t)}return r}let o=ue(e,t);for(;o&&q(o)&&ce(o);)o=ue(o,t);return o&&K(o)&&ce(o)&&!U(o)?r:o||function(e){let t=Y(e);for(;L(t)&&!K(t);){if(U(t))return t;if(H(t))return null;t=Y(t)}return null}(e)||r}const fe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i="fixed"===n,a=j(o),s=!!t&&H(t.floating);if(o===a||s&&i)return r;let c={scrollLeft:0,scrollTop:0},u=l(1);const d=l(0),f=L(o);if((f||!f&&!i)&&(("body"!==R(o)||F(a))&&(c=V(o)),L(o))){const e=oe(o);u=ee(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const h=!a||f||i?l(0):ie(a,c,!0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:r.y*u.y-c.scrollTop*u.y+d.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const s=[..."clippingAncestors"===r?H(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=Q(e,[],!1).filter((e=>M(e)&&"body"!==R(e))),n=null;const i="fixed"===G(e).position;let a=i?Y(e):e;for(;M(a)&&!K(a);){const t=G(a),r=U(a);r||"fixed"!==t.position||(n=null),(i?!r&&!n:!r&&"static"===t.position&&n&&["absolute","fixed"].includes(n.position)||F(a)&&!r&&se(e,a))?o=o.filter((e=>e!==a)):n=t,a=Y(a)}return t.set(e,o),o}(t,this._c):[].concat(r),o],l=s[0],c=s.reduce(((e,r)=>{const o=ae(t,r,n);return e.top=a(o.top,e.top),e.right=i(o.right,e.right),e.bottom=i(o.bottom,e.bottom),e.left=a(o.left,e.left),e}),ae(t,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:de,getElementRects:async function(e){const t=this.getOffsetParent||de,r=this.getDimensions,o=await r(e.floating);return{reference:le(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=J(e);return{width:t,height:r}},getScale:ee,isElement:M,isRTL:function(e){return"rtl"===G(e).direction}};const he=B,pe=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:a,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:r,platform:o,elements:n}=e,i=await(null==o.isRTL?void 0:o.isRTL(n.floating)),a=h(r),s=p(r),l="y"===v(r),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=f(t,e);let{mainAxis:g,crossAxis:m,alignmentAxis:b}="number"===typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"===typeof b&&(m="end"===s?-1*b:b),l?{x:m*u,y:g*c}:{x:g*c,y:m*u}}(t,e);return s===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:(0,o.A)((0,o.A)({},c),{},{placement:s})}}}},ge=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,a=f(e,t),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}}}=a,u=(0,C.A)(a,A),p={x:r,y:n},m=await B(t,u),b=v(h(i)),y=g(b);let w=p[y],k=p[b];if(s){const e="y"===y?"bottom":"right";w=d(w+m["y"===y?"top":"left"],w,w-m[e])}if(l){const e="y"===b?"bottom":"right";k=d(k+m["y"===b?"top":"left"],k,k-m[e])}const x=c.fn((0,o.A)((0,o.A)({},t),{},{[y]:w,[b]:k}));return(0,o.A)((0,o.A)({},x),{},{data:{x:x.x-r,y:x.y-n,enabled:{[y]:s,[b]:l}}})}}},me=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:n,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,u=f(e,t),{mainAxis:d=!0,crossAxis:g=!0,fallbackPlacements:k,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:A=!0}=u,T=(0,C.A)(u,S);if(null!=(r=i.arrow)&&r.alignmentOffset)return{};const E=h(n),I=v(s),N=h(s)===s,P=await(null==l.isRTL?void 0:l.isRTL(c.floating)),R=k||(N||!A?[w(s)]:function(e){const t=w(e);return[y(e),t,y(t)]}(s)),O="none"!==_;!k&&O&&R.push(...function(e,t,r,o){const n=p(e);let i=function(e,t,r){const o=["left","right"],n=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return r?t?n:o:t?o:n;case"left":case"right":return t?i:a;default:return[]}}(h(e),"start"===r,o);return n&&(i=i.map((e=>e+"-"+n)),t&&(i=i.concat(i.map(y)))),i}(s,A,_,P));const j=[s,...R],z=await B(t,T),M=[];let L=(null==(o=i.flip)?void 0:o.overflows)||[];if(d&&M.push(z[E]),g){const e=function(e,t,r){void 0===r&&(r=!1);const o=p(e),n=b(e),i=m(n);let a="x"===n?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=w(a)),[a,w(a)]}(n,a,P);M.push(z[e[0]],z[e[1]])}if(L=[...L,{placement:n,overflows:M}],!M.every((e=>e<=0))){var D,F;const e=((null==(D=i.flip)?void 0:D.index)||0)+1,t=j[e];if(t)return{data:{index:e,overflows:L},reset:{placement:t}};let r=null==(F=L.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:F.placement;if(!r)switch(x){case"bestFit":{var q;const e=null==(q=L.filter((e=>{if(O){const t=v(e.placement);return t===I||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:q[0];e&&(r=e);break}case"initialPlacement":r=s}if(n!==r)return{reset:{placement:r}}}return{}}}},ve=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:s,rects:l,platform:c,elements:u}=t,d=f(e,t),{apply:g=()=>{}}=d,m=(0,C.A)(d,T),b=await B(t,m),y=h(s),w=p(s),k="y"===v(s),{width:x,height:S}=l.floating;let _,A;"top"===y||"bottom"===y?(_=y,A=w===(await(null==c.isRTL?void 0:c.isRTL(u.floating))?"start":"end")?"left":"right"):(A=y,_="end"===w?"top":"bottom");const E=S-b.top-b.bottom,I=x-b.left-b.right,N=i(S-b[_],E),P=i(x-b[A],I),R=!t.middlewareData.shift;let O=N,j=P;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(j=I),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(O=E),R&&!w){const e=a(b.left,0),t=a(b.right,0),r=a(b.top,0),o=a(b.bottom,0);k?j=x-2*(0!==e||0!==t?e+t:a(b.left,b.right)):O=S-2*(0!==r||0!==o?r+o:a(b.top,b.bottom))}await g((0,o.A)((0,o.A)({},t),{},{availableWidth:j,availableHeight:O}));const z=await c.getDimensions(u.floating);return x!==z.width||S!==z.height?{reset:{rects:!0}}:{}}}},be=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,n=f(e,t),{strategy:i="referenceHidden"}=n,a=(0,C.A)(n,_);switch(i){case"referenceHidden":{const e=I(await B(t,(0,o.A)((0,o.A)({},a),{},{elementContext:"reference"})),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{const e=I(await B(t,(0,o.A)((0,o.A)({},a),{},{altBoundary:!0})),r.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}},ye=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:a,rects:s,platform:l,elements:c,middlewareData:u}=t,{element:h,padding:g=0}=f(e,t)||{};if(null==h)return{};const v=k(g),y={x:r,y:n},w=b(a),x=m(w),C=await l.getDimensions(h),S="y"===w,_=S?"top":"left",A=S?"bottom":"right",T=S?"clientHeight":"clientWidth",E=s.reference[x]+s.reference[w]-y[w]-s.floating[x],B=y[w]-s.reference[w],I=await(null==l.getOffsetParent?void 0:l.getOffsetParent(h));let N=I?I[T]:0;N&&await(null==l.isElement?void 0:l.isElement(I))||(N=c.floating[T]||s.floating[x]);const P=E/2-B/2,R=N/2-C[x]/2-1,O=i(v[_],R),j=i(v[A],R),z=O,M=N-C[x]-j,L=N/2-C[x]/2+P,D=d(z,L,M),F=!u.arrow&&null!=p(a)&&L!==D&&s.reference[x]/2-(L<z?O:j)-C[x]/2<0,q=F?L<z?L-z:L-M:0;return{[w]:y[w]+q,data:(0,o.A)({[w]:D,centerOffset:L-D-q},F&&{alignmentOffset:q}),reset:F}}}),we=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=f(e,t),d={x:r,y:n},p=v(i),m=g(p);let b=d[m],y=d[p];const w=f(l,t),k="number"===typeof w?{mainAxis:w,crossAxis:0}:(0,o.A)({mainAxis:0,crossAxis:0},w);if(c){const e="y"===m?"height":"width",t=a.reference[m]-a.floating[e]+k.mainAxis,r=a.reference[m]+a.reference[e]-k.mainAxis;b<t?b=t:b>r&&(b=r)}if(u){var x,C;const e="y"===m?"width":"height",t=["top","left"].includes(h(i)),r=a.reference[p]-a.floating[e]+(t&&(null==(x=s.offset)?void 0:x[p])||0)+(t?0:k.crossAxis),o=a.reference[p]+a.reference[e]+(t?0:(null==(C=s.offset)?void 0:C[p])||0)-(t?k.crossAxis:0);y<r?y=r:y>o&&(y=o)}return{[m]:b,[p]:y}}}},ke=(e,t,r)=>{const n=new Map,i=(0,o.A)({platform:fe},r),a=(0,o.A)((0,o.A)({},i.platform),{},{_c:n});return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:f}=E(u,n,c),h=n,p={},g=0;for(let m=0;m<l.length;m++){const{name:r,fn:a}=l[m],{x:v,y:b,data:y,reset:w}=await a({x:d,y:f,initialPlacement:n,placement:h,strategy:i,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=b?b:f,p=(0,o.A)((0,o.A)({},p),{},{[r]:(0,o.A)((0,o.A)({},p[r]),y)}),w&&g<=50&&(g++,"object"===typeof w&&(w.placement&&(h=w.placement),w.rects&&(u=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:d,y:f}=E(u,h,c))),m=-1)}return{x:d,y:f,placement:h,strategy:i,middlewareData:p}})(e,t,(0,o.A)((0,o.A)({},i),{},{platform:a}))};var xe=r(2390),Ce=r(9853),Se=r(3614),_e=r(4915),Ae=r(5043);function Te(e,t,r){const o=Ae.useRef(!0),[n]=Ae.useState((()=>({value:e,callback:t,facade:{get current(){return n.value},set current(e){const t=n.value;if(t!==e){if(n.value=e,r&&o.current)return;n.callback(e,t)}}}})));return(0,_e.E)((()=>{o.current=!1}),[]),n.callback=t,n.facade}const Ee=e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}},Be=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:n}=(e=>{var t;return 1!==e.nodeType?{}:(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView).getComputedStyle(e,null)})(t);return/(auto|scroll|overlay)/.test(r+n+o)?t:Be(t)},Ie=e=>{var t;const r=Be(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)},Ne=(e,t,r)=>{const o=((e,t)=>{const r="above"===e||"below"===e,o="top"===t||"bottom"===t;return r&&o||!r&&!o})(t,e)?"center":e,n=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],i=o&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[o];return n&&i?"".concat(n,"-").concat(i):n};function Pe(e,t){if("window"===t)return null===e||void 0===e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=Be(e);return"BODY"===t.nodeName&&(t=null===e||void 0===e?void 0:e.ownerDocument.documentElement),t}return t}const Re=["start","end"];function Oe(e,t){if("number"===typeof e)return e;const{start:r,end:o}=e,n=(0,C.A)(e,Re),i=t?"end":"start",a=t?"start":"end";return e[i]&&(n.left=e[i]),e[a]&&(n.right=e[a]),n}const je=e=>({name:"resetMaxSize",fn(t){let{middlewareData:r,elements:o}=t;var n;if(null===(n=r.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:i,applyMaxHeight:a}=e;return i&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-width"),o.floating.style.removeProperty("width")),a&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-height"),o.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function ze(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:i,isRtl:a}=t;return ve((0,o.A)((0,o.A)((0,o.A)({},i&&{padding:Oe(i,a)}),n&&{altBoundary:!0,boundary:Pe(r,n)}),{},{apply(t){let{availableHeight:r,availableWidth:o,elements:n,rects:i}=t;const a=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty("max-".concat(t),"".concat(r,"px")),i.floating[t]>r)){n.floating.style.setProperty(t,"".concat(r,"px"));const e="width"===t?"x":"y";n.floating.style.getPropertyValue("overflow-".concat(e))||n.floating.style.setProperty("overflow-".concat(e),"auto")}},{applyMaxWidth:s,applyMaxHeight:l}=e;a(s,"width",o),a(l,"height",r)}}))}const Me="--fui-match-target-size";function Le(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:n=!1}={}}}=e;if(t.width===r.width||n)return{};const{width:i}=t;return o.style.setProperty(Me,"".concat(i,"px")),o.style.width||(o.style.width="var(".concat(Me,")")),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function De(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const Fe=e=>{const{side:t,alignment:r}=De(e),o={top:"above",bottom:"below",right:"after",left:"before"}[t],n=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(o)[r];return{position:o,alignment:n}};function qe(e){const t=(r=e)?"number"===typeof r||"object"===typeof r?r:e=>{let{rects:{floating:t,reference:o},placement:n}=e;const{position:i,alignment:a}=Fe(n);return r({positionedRect:t,targetRect:o,position:i,alignment:a})}:r;var r;return pe(t)}function He(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:n}=e,i={x:o,y:n};switch(De(t).side){case"bottom":i.y-=r.reference.height;break;case"top":i.y+=r.reference.height;break;case"left":i.x+=r.reference.width;break;case"right":i.x-=r.reference.width}return i}}}var Ue=r(9722);function We(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:i=[],isRtl:a}=e,s=i.reduce(((e,t)=>{const{position:r,align:o}=(0,Ue.P)(t),n=Ne(o,r,a);return n&&e.push(n),e}),[]);return me((0,o.A)((0,o.A)((0,o.A)({},t&&{boundary:"clippingAncestors"}),r&&{altBoundary:!0,boundary:Pe(n,r)}),{},{fallbackStrategy:"bestFit"},s.length&&{fallbackPlacements:s}))}function Ke(e){const{hasScrollableElement:t,disableTether:r,overflowBoundary:n,container:i,overflowBoundaryPadding:a,isRtl:s}=e;return ge((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},t&&{boundary:"clippingAncestors"}),r&&{crossAxis:"all"===r,limiter:we({crossAxis:"all"!==r,mainAxis:!1})}),a&&{padding:Oe(a,s)}),n&&{altBoundary:!0,boundary:Pe(i,n)}))}function Ge(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await he(e,{altBoundary:!0}),o=r.top<t.height&&r.top>0,n=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:o||n}}}}}var Ve=r(3804);const Ye="data-popper-is-intersecting",Xe="data-popper-escaped",Qe="data-popper-reference-hidden",Ze="data-popper-placement",Je="fui-positioningend";function $e(e){const t=[];let r=e;for(;r;){const o=Be(r);if(e.ownerDocument.body===o){t.push(o);break}if("BODY"===o.nodeName&&o!==e.ownerDocument.body){0;break}t.push(o),r=o}return t}function et(e){let t=!1;const{container:r,target:o,arrow:n,strategy:i,middleware:a,placement:s,useTransform:l=!0,disableUpdateOnResize:c=!1}=e,u=r.ownerDocument.defaultView;if(!o||!r||!u)return{updatePosition:()=>{},dispose:()=>{}};const d=c?null:function(e,t){return new e.ResizeObserver(t)}(u,(e=>{e.every((e=>e.contentRect.width>0&&e.contentRect.height>0))&&g()}));let f=!0;const h=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const p=()=>{t||(f&&($e(r).forEach((e=>h.add(e))),(0,Ve.s)(o)&&$e(o).forEach((e=>h.add(e))),h.forEach((e=>{e.addEventListener("scroll",g,{passive:!0})})),null===d||void 0===d||d.observe(r),(0,Ve.s)(o)&&(null===d||void 0===d||d.observe(o)),f=!1),Object.assign(r.style,{position:i}),ke(o,r,{placement:s,middleware:a,strategy:i}).then((e=>{let{x:o,y:a,middlewareData:s,placement:c}=e;t||(!function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:n}=r.arrow;Object.assign(t.style,{left:null!==o&&void 0!==o?"".concat(o,"px"):"",top:null!==n&&void 0!==n?"".concat(n,"px"):""})}({arrow:n,middlewareData:s}),function(e){var t,r,o;const{container:n,placement:i,middlewareData:a,strategy:s,lowPPI:l,coordinates:c,useTransform:u=!0}=e;if(!n)return;n.setAttribute(Ze,i),n.removeAttribute(Ye),a.intersectionObserver.intersecting&&n.setAttribute(Ye,""),n.removeAttribute(Xe),(null===(t=a.hide)||void 0===t?void 0:t.escaped)&&n.setAttribute(Xe,""),n.removeAttribute(Qe),(null===(r=a.hide)||void 0===r?void 0:r.referenceHidden)&&n.setAttribute(Qe,"");const d=(null===(o=n.ownerDocument.defaultView)||void 0===o?void 0:o.devicePixelRatio)||1,f=Math.round(c.x*d)/d,h=Math.round(c.y*d)/d;Object.assign(n.style,{position:s}),u?Object.assign(n.style,{transform:l?"translate(".concat(f,"px, ").concat(h,"px)"):"translate3d(".concat(f,"px, ").concat(h,"px, 0)")}):Object.assign(n.style,{left:"".concat(f,"px"),top:"".concat(h,"px")})}({container:r,middlewareData:s,placement:c,coordinates:{x:o,y:a},lowPPI:((null===u||void 0===u?void 0:u.devicePixelRatio)||1)<=1,strategy:i,useTransform:l}),r.dispatchEvent(new CustomEvent(Je)))})).catch((e=>{0})))},g=function(e){let t;return()=>(t||(t=new Promise((r=>{Promise.resolve().then((()=>{t=void 0,r(e())}))}))),t)}((()=>p()));return u&&(u.addEventListener("scroll",g,{passive:!0}),u.addEventListener("resize",g)),g(),{updatePosition:g,dispose:()=>{t=!0,u&&(u.removeEventListener("scroll",g),u.removeEventListener("resize",g)),h.forEach((e=>{e.removeEventListener("scroll",g)})),h.clear(),null===d||void 0===d||d.disconnect()}}}function tt(e){const t=Ae.useRef(null),r=Ae.useRef(null),n=Ae.useRef(null),i=Ae.useRef(null),a=Ae.useRef(null),{enabled:s=!0}=e,l=function(e){const{align:t,arrowPadding:r,autoSize:o,coverTarget:n,flipBoundary:i,offset:a,overflowBoundary:s,pinned:l,position:c,unstable_disableTether:u,positionFixed:d,strategy:f,overflowBoundaryPadding:h,fallbackPositions:p,useTransform:g,matchTargetSize:m,disableUpdateOnResize:v=!1}=e,{dir:b,targetDocument:y}=(0,xe.Y)(),w="rtl"===b,k=(null!==f&&void 0!==f?f:d)?"fixed":"absolute",x=Ee(o);return Ae.useCallback(((e,o)=>{const d=Ie(e),f=[x&&je(x),m&&Le(),a&&qe(a),n&&He(),!l&&We({container:e,flipBoundary:i,hasScrollableElement:d,isRtl:w,fallbackPositions:p}),Ke({container:e,hasScrollableElement:d,overflowBoundary:s,disableTether:u,overflowBoundaryPadding:h,isRtl:w}),x&&ze(x,{container:e,overflowBoundary:s,overflowBoundaryPadding:h,isRtl:w}),Ge(),o&&ye({element:o,padding:r}),be({strategy:"referenceHidden"}),be({strategy:"escaped"}),!1].filter(Boolean);return{placement:Ne(t,c,w),middleware:f,strategy:k,useTransform:g,disableUpdateOnResize:v}}),[t,r,x,n,u,i,w,a,s,l,c,k,h,p,g,m,y,v])}(e),c=Ae.useCallback((()=>{var e;t.current&&t.current.dispose(),t.current=null;const c=null!==(e=n.current)&&void 0!==e?e:r.current;s&&(0,Ce.S)()&&c&&i.current&&(t.current=et((0,o.A)({container:i.current,target:c,arrow:a.current},l(i.current,a.current))))}),[s,l]),u=(0,Se.D)((e=>{n.current=e,c()}));Ae.useImperativeHandle(e.positioningRef,(()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,u(t)}})),[e.target,u]),(0,_e.E)((()=>{var t;u(null!==(t=e.target)&&void 0!==t?t:null)}),[e.target,u]),(0,_e.E)((()=>{c()}),[c]);const d=Te(null,(e=>{r.current!==e&&(r.current=e,c())})),f=(0,Se.D)((()=>{var t;return null===(t=e.onPositioningEnd)||void 0===t?void 0:t.call(e)})),h=Te(null,(e=>{var t;i.current!==e&&(null===(t=i.current)||void 0===t||t.removeEventListener(Je,f),null===e||void 0===e||e.addEventListener(Je,f),i.current=e,c())})),p=Te(null,(e=>{a.current!==e&&(a.current=e,c())}));return{targetRef:d,containerRef:h,arrowRef:p}}},9722:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});const o={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function n(e){return void 0===e||null===e?{}:"string"===typeof e?o[e]:e}},6930:(e,t,r)=>{"use strict";r.d(t,{$e:()=>s,gH:()=>a,k7:()=>n});var o=r(5043);const n=o.createContext(void 0),i=()=>{},a=n.Provider,s=e=>{var t,r;return null!==(r=null===(t=o.useContext(n))||void 0===t?void 0:t[e])&&void 0!==r?r:i}},3740:(e,t,r)=>{"use strict";r.d(t,{Nv:()=>i,Pv:()=>a});var o=r(5043);const n=o.createContext(void 0),i=n.Provider;function a(){var e;return null!==(e=o.useContext(n))&&void 0!==e?e:{}}},2390:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,Y:()=>s});var o=r(5043);const n=o.createContext(void 0),i={targetDocument:"object"===typeof document?document:void 0,dir:"ltr"},a=n.Provider;function s(){var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},6066:(e,t,r)=>{"use strict";r.d(t,{I:()=>a,q:()=>s});var o=r(5043);const n=o.createContext(void 0),i="",a=n.Provider;function s(){var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},7408:(e,t,r)=>{"use strict";r.d(t,{J:()=>a,n:()=>s});var o=r(5043);const n=o.createContext(void 0),i={},a=n.Provider;function s(){var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},8170:(e,t,r)=>{"use strict";r.d(t,{E:()=>f});var o=r(5043),n=r(7051),i=r(9632),a=r(3397),s=r(8631);var l=r(9463),c=r(9413);var u=r(6755);const d="fui-Skeleton",f=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:o}=(0,s.O)(),{animation:l=(null!==r&&void 0!==r?r:"wave"),appearance:c=(null!==o&&void 0!==o?o:"opaque")}=e;return{animation:l,appearance:c,components:{root:"div"},root:i.Gk((0,a.g)("div",(0,n.A)({ref:t,role:"progressbar","aria-busy":!0},e)),{elementType:"div"})}})(e,t),f=(e=>{const{animation:t,appearance:r}=e;return{skeletonGroup:o.useMemo((()=>({animation:t,appearance:r})),[t,r])}})(r);return(e=>{e.root.className=(0,u.z)(d,e.root.className)})(r),((e,t)=>((0,c.C)(e),(0,l.Y)(s.Q,{value:t.skeletonGroup,children:(0,l.Y)(e.root,{})})))(r,f)}));f.displayName="Skeleton"},9685:(e,t,r)=>{"use strict";r.d(t,{H:()=>v});var o=r(5043),n=r(7051),i=r(9632),a=r(3397),s=r(8631);var l=r(9463),c=r(9413);var u=r(9392),d=r(6755);const f="fui-SkeletonItem",h=(0,u.X)({root:{qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bsft5z2:"f13zj6fq",ap17g6:"f2gz7yw",E3zdtr:"f1mdlcz9",By385i5:0,Eqx8gd:0,B1piin3:0,bn5sak:0,B58onuk:"f1nt53hs",s9ouvv:"f18xs7ez",xr36ep:"ffm3629",Bitv4sc:"f1f9zsvm",Jx5sug:"f1ub80pn",Hzyzrh:"f1e7twep"},wave:{De3pzq:"f1gjxg63",Br128sd:["f3fo419","f6m9r4"],h62rwi:["ftnv2js","f12jzhyt"],b1kco5:["fig1c6l","f1rv5y9h"],oi31me:"f103n15n"},pulse:{Br128sd:"f171zwvm",xr36ep:"fs3pcyf",Bjyk6c5:"f1yu5riq"},translucent:{De3pzq:"f162mh4z",h62rwi:["flvf4r0","f1uek97b"]},translucentPulse:{De3pzq:"flu3bqm",Bjyk6c5:"fxucc0w"}},{d:[".f10pi13n{position:relative;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],'.f13zj6fq::after{content:"";}',".f2gz7yw::after{display:block;}",".f1mdlcz9::after{position:absolute;}",[".f1nt53hs::after{inset:0;}",{p:-1}],".f18xs7ez::after{animation-iteration-count:infinite;}",".ffm3629::after{animation-duration:3s;}",".f1f9zsvm::after{animation-timing-function:ease-in-out;}",".f1gjxg63{background-color:var(--colorNeutralStencil1);}",".f3fo419::after{animation-name:f1efwx7q;}",".f6m9r4::after{animation-name:f1kkgpz1;}",".ftnv2js::after{background-image:linear-gradient(\n        to right,\n        var(--colorNeutralStencil1) 0%,\n        var(--colorNeutralStencil2) 50%,\n        var(--colorNeutralStencil1) 100%);}",".f12jzhyt::after{background-image:linear-gradient(\n        to left,\n        var(--colorNeutralStencil1) 0%,\n        var(--colorNeutralStencil2) 50%,\n        var(--colorNeutralStencil1) 100%);}",".fig1c6l::after{transform:translate(-100%);}",".f1rv5y9h::after{transform:translate(100%);}",".f171zwvm::after{animation-name:f12o7gg6;}",".fs3pcyf::after{animation-duration:1s;}",".f1yu5riq::after{background-color:var(--colorNeutralStencil1);}",".f162mh4z{background-color:var(--colorNeutralStencil1Alpha);}",".flvf4r0::after{background-image:linear-gradient(\n      to right,\n      transparent 0%,\n      var(--colorNeutralStencil1Alpha) 50%,\n      transparent 100%);}",".f1uek97b::after{background-image:linear-gradient(\n      to left,\n      transparent 0%,\n      var(--colorNeutralStencil1Alpha) 50%,\n      transparent 100%);}",".flu3bqm{background-color:none;}",".fxucc0w::after{background-color:var(--colorNeutralStencil1Alpha);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1ub80pn::after{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1e7twep::after{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f103n15n::after{background-color:WindowText;}}",{m:"screen and (forced-colors: active)"}]],k:["@keyframes f1efwx7q{to{transform:translate(100%);}}","@keyframes f1kkgpz1{to{transform:translate(-100%);}}","@keyframes f12o7gg6{0%{opacity:1;}50%{opacity:0.4;}100%{opacity:1;}}"]}),p=(0,u.X)({8:{Bqenvij:"f1x82gua"},12:{Bqenvij:"fvblgha"},16:{Bqenvij:"fd461yt"},20:{Bqenvij:"fjamq6b"},24:{Bqenvij:"frvgh55"},28:{Bqenvij:"fxldao9"},32:{Bqenvij:"f1d2rq10"},36:{Bqenvij:"f8ljn23"},40:{Bqenvij:"fbhnoac"},48:{Bqenvij:"ff2sm71"},56:{Bqenvij:"fzki0ko"},64:{Bqenvij:"f16k9i2m"},72:{Bqenvij:"f1shusfg"},96:{Bqenvij:"fypu0ge"},120:{Bqenvij:"fjr5b71"},128:{Bqenvij:"fele2au"},root:{a9b677:"fly5x3f",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"}},{d:[".f1x82gua{height:8px;}",".fvblgha{height:12px;}",".fd461yt{height:16px;}",".fjamq6b{height:20px;}",".frvgh55{height:24px;}",".fxldao9{height:28px;}",".f1d2rq10{height:32px;}",".f8ljn23{height:36px;}",".fbhnoac{height:40px;}",".ff2sm71{height:48px;}",".fzki0ko{height:56px;}",".f16k9i2m{height:64px;}",".f1shusfg{height:72px;}",".fypu0ge{height:96px;}",".fjr5b71{height:120px;}",".fele2au{height:128px;}",".fly5x3f{width:100%;}",[".ff3glw6{border-radius:4px;}",{p:-1}]]}),g=(0,u.X)({8:{a9b677:"f1o3cbw4",Bqenvij:"f1x82gua"},12:{a9b677:"frx94fk",Bqenvij:"fvblgha"},16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".f1o3cbw4{width:8px;}",".f1x82gua{height:8px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),m=(0,u.X)({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f5q2cvs"}},{d:[[".f5q2cvs{border-radius:50%;}",{p:-1}]]}),v=o.forwardRef(((e,t)=>{const r=((e,t)=>{const{animation:r,appearance:o}=(0,s.O)(),{animation:l=(null!==r&&void 0!==r?r:"wave"),appearance:c=(null!==o&&void 0!==o?o:"opaque"),size:u=16,shape:d="rectangle"}=e;return{appearance:c,animation:l,size:u,shape:d,components:{root:"div"},root:i.Gk((0,a.g)("div",(0,n.A)({ref:t},e)),{elementType:"div"})}})(e,t);return(e=>{const{animation:t,appearance:r,size:o,shape:n}=e,i=h(),a=p(),s=g(),l=m();e.root.className=(0,d.z)(f,i.root,"wave"===t&&i.wave,"pulse"===t&&i.pulse,"translucent"===r&&i.translucent,"pulse"===t&&"translucent"===r&&i.translucentPulse,"rectangle"===n&&a.root,"rectangle"===n&&a[o],"square"===n&&s[o],"circle"===n&&l.root,"circle"===n&&s[o],e.root.className)})(r),(e=>((0,c.C)(e),(0,l.Y)(e.root,{})))(r)}));v.displayName="SkeletonItem"},8631:(e,t,r)=>{"use strict";r.d(t,{O:()=>s,Q:()=>a});var o=r(5043);const n=o.createContext(void 0),i={},a=n.Provider,s=()=>{var e;return null!==(e=o.useContext(n))&&void 0!==e?e:i}},9029:(e,t,r)=>{"use strict";r.d(t,{y:()=>P});var o=r(5043),n=r(7051),i=r(3986),a=r(1360),s=r(9632),l=r(3397),c=r(2218),u=r(8581);const d=o.createContext(void 0),f={},h=(d.Provider,["role"]),p=(e,t)=>{const{size:r}=(()=>{var e;return null!==(e=o.useContext(d))&&void 0!==e?e:f})(),{appearance:p="primary",labelPosition:g="after",size:m=(null!==r&&void 0!==r?r:"medium"),delay:v=0}=e,b=(0,a.Bi)("spinner"),{role:y="progressbar"}=e,w=(0,i.A)(e,h),k=s.Gk((0,l.g)("div",(0,n.A)({ref:t,role:y},w),["size"]),{elementType:"div"}),[x,C]=o.useState(!1),[S,_]=(0,c.Z)();o.useEffect((()=>{if(!(v<=0))return S((()=>{C(!0)}),v),()=>{_()}}),[S,_,v]);const A=s.lq(e.label,{defaultProps:{id:b},renderByDefault:!1,elementType:u.J}),T=s.lq(e.spinner,{renderByDefault:!0,elementType:"span"});A&&k&&!k["aria-labelledby"]&&(k["aria-labelledby"]=A.id);return{appearance:p,delay:v,labelPosition:g,size:m,shouldRenderSpinner:!v||x,components:{root:"div",spinner:"span",spinnerTail:"span",label:u.J},root:k,spinner:T,spinnerTail:s.Gk(e.spinnerTail,{elementType:"span"}),label:A}};var g=r(9463),m=r(9413);var v=r(2390),b=r(9560),y=r(9392),w=r(6755);const k="fui-Spinner",x="fui-Spinner__spinner",C="fui-Spinner__spinnerTail",S="fui-Spinner__label",_=(0,b.y)("r82apo5",null,[".r82apo5{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;}"]),A=(0,y.X)({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),T=(0,b.y)("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),E=(0,b.y)("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),B=(0,y.X)({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),I=(0,y.X)({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var N=r(6930);const P=o.forwardRef(((e,t)=>{const r=p(e,t);return(e=>{const{labelPosition:t,size:r,appearance:o}=e,{dir:n}=(0,v.Y)(),i=_(),a=A(),s=T(),l=B(),c=E(),u=I();e.root.className=(0,w.z)(k,i,("above"===t||"below"===t)&&a.vertical,e.root.className),e.spinner&&(e.spinner.className=(0,w.z)(x,s,l[r],"inverted"===o&&l.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=(0,w.z)(C,c,"rtl"===n&&l.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=(0,w.z)(S,u[r],"inverted"===o&&u.inverted,e.label.className))})(r),(0,N.$e)("useSpinnerStyles_unstable")(r),(e=>{(0,m.C)(e);const{labelPosition:t,shouldRenderSpinner:r}=e;return(0,g.FD)(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&(0,g.Y)(e.label,{}),e.spinner&&r&&(0,g.Y)(e.spinner,{children:e.spinnerTail&&(0,g.Y)(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&(0,g.Y)(e.label,{})]})})(r)}));P.displayName="Spinner"},2412:(e,t,r)=>{"use strict";r.d(t,{A7:()=>o,BV:()=>n});":global([".concat("data-keyboard-nav","])");const o="data-fui-focus-visible",n="data-fui-focus-within"},5200:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var o=r(7051),n=r(1262),i=r(5486),a=r(6059);const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{circular:t,axis:r,memorizeCurrent:s=!0,tabbable:c,ignoreDefaultKeydown:u,unstable_hasDefault:d}=e,f=(0,a.p)();return f&&(0,n.S)(f),(0,i.g)((0,o.A)({mover:{cyclic:!!t,direction:l(null!==r&&void 0!==r?r:"vertical"),memorizeCurrent:s,tabbable:c,hasDefault:d}},u&&{focusable:{ignoreKeydown:u}}))};function l(e){switch(e){case"horizontal":return n.iA.Horizontal;case"grid":return n.iA.Grid;case"grid-linear":return n.iA.GridLinear;case"both":return n.iA.Both;default:return n.iA.Vertical}}},791:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});var o=r(5043),n=r(2390),i=r(6059);const a=()=>{const e=(0,i.p)(),{targetDocument:t}=(0,n.Y)();return{findAllFocusable:o.useCallback(((t,r)=>(null===e||void 0===e?void 0:e.focusable.findAll({container:t,acceptCondition:r}))||[]),[e]),findFirstFocusable:o.useCallback((t=>null===e||void 0===e?void 0:e.focusable.findFirst({container:t})),[e]),findLastFocusable:o.useCallback((t=>null===e||void 0===e?void 0:e.focusable.findLast({container:t})),[e]),findNextFocusable:o.useCallback((function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!t)return null;const{container:n=t.body}=o;return e.focusable.findNext({currentElement:r,container:n})}),[e,t]),findPrevFocusable:o.useCallback((function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||!t)return null;const{container:n=t.body}=o;return e.focusable.findPrev({currentElement:r,container:n})}),[e,t])}}},5614:(e,t,r)=>{"use strict";r.d(t,{Y:()=>u});var o=r(5043),n=r(2390),i=r(3804),a=r(112),s=r(2412);function l(e,t){if(c(e))return()=>{};const r={current:void 0},o=(0,a.SQ)(t);function n(e){o.isNavigatingWithKeyboard()&&(0,i.s)(e)&&(r.current=e,e.setAttribute(s.A7,""))}function l(){r.current&&(r.current.removeAttribute(s.A7),r.current=void 0)}o.subscribe((e=>{e||l()}));const u=e=>{l();n(e.composedPath()[0])},d=t=>{(!t.relatedTarget||(0,i.s)(t.relatedTarget)&&!e.contains(t.relatedTarget))&&l()};return e.addEventListener(a.Oy,u),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&n(t.document.activeElement),()=>{l(),e.removeEventListener(a.Oy,u),e.removeEventListener("focusout",d),delete e.focusVisible,(0,a.bd)(o)}}function c(e){return!!e&&(!!e.focusVisible||c(null===e||void 0===e?void 0:e.parentElement))}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,n.Y)(),r=o.useRef(null);var i;const a=null!==(i=e.targetDocument)&&void 0!==i?i:t.targetDocument;return o.useEffect((()=>{if((null===a||void 0===a?void 0:a.defaultView)&&r.current)return l(r.current,a.defaultView)}),[r,a]),r}},9899:(e,t,r)=>{"use strict";r.d(t,{R:()=>u});var o=r(5043),n=r(2390),i=r(112),a=r(2412);function s(e,t){const r=(0,i.SQ)(t);r.subscribe((t=>{t||l(e)}));const o=t=>{r.isNavigatingWithKeyboard()&&c(t.target)&&e.setAttribute(a.BV,"")},n=t=>{(!t.relatedTarget||c(t.relatedTarget)&&!e.contains(t.relatedTarget))&&l(e)};return e.addEventListener(i.Oy,o),e.addEventListener("focusout",n),()=>{e.removeEventListener(i.Oy,o),e.removeEventListener("focusout",n),(0,i.bd)(r)}}function l(e){e.removeAttribute(a.BV)}function c(e){return!!e&&Boolean(e&&"object"===typeof e&&"classList"in e&&"contains"in e)}function u(){const{targetDocument:e}=(0,n.Y)(),t=o.useRef(null);return o.useEffect((()=>{if((null===e||void 0===e?void 0:e.defaultView)&&t.current)return s(t.current,e.defaultView)}),[t,e]),t}},7458:(e,t,r)=>{"use strict";r.d(t,{K:()=>a});var o=r(5043),n=r(112),i=r(2390);function a(){const{targetDocument:e}=(0,i.Y)(),t=o.useRef(null);return o.useEffect((()=>{if(e){const r=(0,n.SQ)(e.defaultView);return t.current=r,()=>{(0,n.bd)(r),t.current=null}}}),[e]),t}},1540:(e,t,r)=>{"use strict";r.d(t,{y:()=>l});var o=r(7051),n=r(1360),i=r(5486),a=r(1262),s=r(6059);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:l}=e,c=(0,s.p)();c&&((0,a.Az)(c),(0,a.mz)(c));const u=(0,n.Bi)("modal-",e.id);return{modalAttributes:(0,i.g)((0,o.A)({restorer:{type:a.CP.Source}},t&&{modalizer:{id:u,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:l&&t}})),triggerAttributes:(0,i.g)({restorer:{type:a.CP.Target}})}}},6059:(e,t,r)=>{"use strict";r.d(t,{p:()=>l});var o=r(5043),n=r(2390),i=r(1262),a=r(7146),s=r(4915);const l=()=>{const{targetDocument:e}=(0,n.Y)(),t=(null===e||void 0===e?void 0:e.defaultView)||void 0,r=null===t||void 0===t?void 0:t.__tabsterShadowDOMAPI,l=o.useMemo((()=>t?(0,i._A)(t,{autoRoot:{},controlTab:!1,getParent:a.P,checkUncontrolledTrappingFocus:e=>{var t;return!!(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))},DOMAPI:r}):null),[t,r]);return(0,s.E)((()=>()=>{l&&(0,i.hC)(l)}),[l]),l}},5486:(e,t,r)=>{"use strict";r.d(t,{g:()=>a});var o=r(1262),n=r(6059),i=r(5043);const a=e=>{(0,n.p)();const t=(0,o.U6)(e,!0);return i.useMemo((()=>({[o.h7]:t})),[t])}},286:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var o=r(5043),n=r(2293),i=r(9538),a=r(2039),s=r(6930);const l=o.forwardRef(((e,t)=>{const r=(0,n.E)(e,t);return(0,a.M)(r),(0,s.$e)("useTextStyles_unstable")(r),(0,i.n)(r)}));l.displayName="Text"},9538:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});var o=r(9463),n=r(9413);const i=e=>((0,n.C)(e),(0,o.Y)(e.root,{}))},2293:(e,t,r)=>{"use strict";r.d(t,{E:()=>a});var o=r(7051),n=(r(5043),r(9632)),i=r(3397);const a=(e,t)=>{const{wrap:r,truncate:a,block:s,italic:l,underline:c,strikethrough:u,size:d,font:f,weight:h,align:p}=e;return{align:null!==p&&void 0!==p?p:"start",block:null!==s&&void 0!==s&&s,font:null!==f&&void 0!==f?f:"base",italic:null!==l&&void 0!==l&&l,size:null!==d&&void 0!==d?d:300,strikethrough:null!==u&&void 0!==u&&u,truncate:null!==a&&void 0!==a&&a,underline:null!==c&&void 0!==c&&c,weight:null!==h&&void 0!==h?h:"regular",wrap:null===r||void 0===r||r,components:{root:"span"},root:n.Gk((0,i.g)("span",(0,o.A)({ref:t},e)),{elementType:"span"})}}},2039:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var o=r(9392),n=r(6755);const i="fui-Text",a=(0,o.X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),s=e=>{const t=a();return e.root.className=(0,n.z)(i,t.root,!1===e.wrap&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,100===e.size&&t.base100,200===e.size&&t.base200,400===e.size&&t.base400,500===e.size&&t.base500,600===e.size&&t.base600,700===e.size&&t.hero700,800===e.size&&t.hero800,900===e.size&&t.hero900,1e3===e.size&&t.hero1000,"monospace"===e.font&&t.monospace,"numeric"===e.font&&t.numeric,"medium"===e.weight&&t.weightMedium,"semibold"===e.weight&&t.weightSemibold,"bold"===e.weight&&t.weightBold,"center"===e.align&&t.alignCenter,"end"===e.align&&t.alignEnd,"justify"===e.align&&t.alignJustify,e.root.className),e}},9371:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var o=r(487);const n=(0,r(9392).X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"f15afnhw",Bhrd7zp:"fl43uef",Bg96gwp:"fr3w3wp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fr3w3wp{line-height:var(--lineHeightHero900);}"]}),i=(0,o.q)({useStyles:n,className:"fui-LargeTitle",displayName:"LargeTitle"})},3542:(e,t,r)=>{"use strict";r.d(t,{K:()=>i});var o=r(487);const n=(0,r(9392).X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"fccw675",Bhrd7zp:"fl43uef",Bg96gwp:"f1ebx5kk"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fccw675{font-size:var(--fontSizeHero800);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}"]}),i=(0,o.q)({useStyles:n,className:"fui-Title1",displayName:"Title1"})},2277:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var o=r(487);const n=(0,r(9392).X)({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1x0m3f5",Bhrd7zp:"fl43uef",Bg96gwp:"fb86gi6"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fb86gi6{line-height:var(--lineHeightBase600);}"]}),i=(0,o.q)({useStyles:n,className:"fui-Title3",displayName:"Title3"})},487:(e,t,r)=>{"use strict";r.d(t,{q:()=>l});var o=r(5043),n=r(6755),i=r(2293),a=r(2039),s=r(9538);function l(e){const{useStyles:t,className:r,displayName:l}=e,c=o.forwardRef(((e,o)=>{const l=t(),c=(0,i.E)(e,o);return(0,a.M)(c),c.root.className=(0,n.z)(r,c.root.className,l.root,e.className),(0,s.n)(c)}));return c.displayName=l,c}},3460:(e,t,r)=>{"use strict";r.d(t,{m:()=>R});var o=r(5043),n=r(7051),i=r(9722);const a=(e,t)=>{return"number"===typeof e?{mainAxis:e+t}:(0,n.A)((0,n.A)({},e),{},{mainAxis:(null!==(r=e.mainAxis)&&void 0!==r?r:0)+t});var r};var s=r(1311),l=r(7408),c=r(2390),u=r(7458);var d=r(112),f=r(1191),h=r(2218),p=r(5673),g=r(9632),m=r(1360),v=r(5923),b=r(4915),y=r(8715),w=r(5204),k=r(1994),x=r(3614);var C=r(9883);const S=e=>{var t,r,S,_;const A=(0,l.n)(),T=(0,f.wR)(),{targetDocument:E}=(0,c.Y)(),[B,I]=(0,h.Z)(),{appearance:N="normal",children:P,content:R,withArrow:O=!1,positioning:j="above",onVisibleChange:z,relationship:M,showDelay:L=250,hideDelay:D=250,mountNode:F}=e,[q,H]=(0,p.i)({state:e.visible,initialState:!1}),U=o.useCallback(((e,t)=>{I(),H((r=>(t.visible!==r&&(null===z||void 0===z||z(e,t)),t.visible)))}),[I,H,z]),W={withArrow:O,positioning:j,showDelay:L,hideDelay:D,relationship:M,visible:q,shouldRenderTooltip:q,appearance:N,mountNode:F,components:{content:"div"},content:g.Gk(R,{defaultProps:{role:"tooltip"},elementType:"div"})};W.content.id=(0,m.Bi)("tooltip-",W.content.id);const K=(0,n.A)({enabled:W.visible,arrowPadding:8,position:"above",align:"center",offset:4},(0,i.P)(W.positioning));W.withArrow&&(K.offset=function(e,t){return"number"===typeof e||"object"===typeof e&&null!==e?a(e,t):"function"===typeof e?r=>{const o=e(r);return a(o,t)}:{mainAxis:t}}(K.offset,6));const{targetRef:G,containerRef:V,arrowRef:Y}=(0,s.T)(K);W.content.ref=(0,v.a)(W.content.ref,V),W.arrowRef=Y,(0,b.E)((()=>{if(q){var e;const t={hide:e=>U(void 0,{visible:!1,documentKeyboardEvent:e})};null===(e=A.visibleTooltip)||void 0===e||e.hide(),A.visibleTooltip=t;const r=e=>{e.key!==C.uf9||e.defaultPrevented||(t.hide(e),e.preventDefault())};return null===E||void 0===E||E.addEventListener("keydown",r,{capture:!0}),()=>{A.visibleTooltip===t&&(A.visibleTooltip=void 0),null===E||void 0===E||E.removeEventListener("keydown",r,{capture:!0})}}}),[A,E,q,U]);const X=o.useRef(!1),Q=o.useCallback((e=>{if("focus"===e.type&&X.current)return void(X.current=!1);const t=A.visibleTooltip?0:W.showDelay;B((()=>{U(e,{visible:!0})}),t),e.persist()}),[B,U,W.showDelay,A]),Z=function(){const e=(0,u.K)();return o.useCallback((()=>{var t,r;return null!==(r=null===(t=e.current)||void 0===t?void 0:t.isNavigatingWithKeyboard())&&void 0!==r&&r}),[e])}()(),[J]=o.useState((()=>{const e=e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.isFocusedProgrammatically)&&!Z&&(X.current=!0)};let t=null;return r=>{null===t||void 0===t||t.removeEventListener(d.Oy,e),null===r||void 0===r||r.addEventListener(d.Oy,e),t=r}})),$=o.useCallback((e=>{let t=W.hideDelay;"blur"===e.type&&(t=0,X.current=(null===E||void 0===E?void 0:E.activeElement)===e.target),B((()=>{U(e,{visible:!1})}),t),e.persist()}),[B,U,W.hideDelay,E]);W.content.onPointerEnter=(0,y.p)(W.content.onPointerEnter,I),W.content.onPointerLeave=(0,y.p)(W.content.onPointerLeave,$),W.content.onFocus=(0,y.p)(W.content.onFocus,I),W.content.onBlur=(0,y.p)(W.content.onBlur,$);const ee=(0,w.h)(P),te={};return"label"===M?"string"===typeof W.content.children?te["aria-label"]=W.content.children:(te["aria-labelledby"]=W.content.id,W.shouldRenderTooltip=!0):"description"===M&&(te["aria-describedby"]=W.content.id,W.shouldRenderTooltip=!0),T&&(W.shouldRenderTooltip=!1),W.children=(0,k.L)(P,(0,n.A)((0,n.A)((0,n.A)({},te),null===ee||void 0===ee?void 0:ee.props),{},{ref:(0,v.a)(null===ee||void 0===ee?void 0:ee.ref,J,void 0===K.target?G:void 0),onPointerEnter:(0,x.D)((0,y.p)(null===ee||void 0===ee||null===(t=ee.props)||void 0===t?void 0:t.onPointerEnter,Q)),onPointerLeave:(0,x.D)((0,y.p)(null===ee||void 0===ee||null===(r=ee.props)||void 0===r?void 0:r.onPointerLeave,$)),onFocus:(0,x.D)((0,y.p)(null===ee||void 0===ee||null===(S=ee.props)||void 0===S?void 0:S.onFocus,Q)),onBlur:(0,x.D)((0,y.p)(null===ee||void 0===ee||null===(_=ee.props)||void 0===_?void 0:_.onBlur,$))})),W};var _=r(9463),A=r(1880),T=r(9413);var E=r(6930),B=r(9392),I=r(6755);const N="fui-Tooltip__content",P=(0,B.X)({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),R=e=>{const t=S(e);return(e=>{const t=P();e.content.className=(0,I.z)(N,t.root,"inverted"===e.appearance&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow})(t),(0,E.$e)("useTooltipStyles_unstable")(t),(e=>((0,T.C)(e),(0,_.FD)(o.Fragment,{children:[e.children,e.shouldRenderTooltip&&(0,_.Y)(A.Z,{mountNode:e.mountNode,children:(0,_.FD)(e.content,{children:[e.withArrow&&(0,_.Y)("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]})))(t)};R.displayName="Tooltip",R.isFluentTriggerComponent=!0},9413:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});r(5043);function o(e){0}},2247:(e,t,r)=>{"use strict";r.d(t,{Y:()=>o,o:()=>n});const o=Symbol.for("fui.slotRenderFunction"),n=Symbol.for("fui.slotElementType")},3397:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});r(5043);var o=r(1223);const n=(e,t,r)=>{var n;return(0,o._)(null!==(n=t.as)&&void 0!==n?n:e,t,r)}},8701:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});var o=r(5043);function n(e){return null!==e&&"object"===typeof e&&!Array.isArray(e)&&!(0,o.isValidElement)(e)}},9632:(e,t,r)=>{"use strict";r.d(t,{Gf:()=>l,Gk:()=>a,lq:()=>s});var o=r(7051),n=r(5043),i=r(2247);function a(e,t){const{defaultProps:r,elementType:n}=t,a=l(e),s=(0,o.A)((0,o.A)((0,o.A)({},r),a),{},{[i.o]:n});return a&&"function"===typeof a.children&&(s[i.Y]=a.children,s.children=null===r||void 0===r?void 0:r.children),s}function s(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return a(e,t)}function l(e){return"string"===typeof e||"number"===typeof e||Array.isArray(e)||n.isValidElement(e)?{children:e}:e}},7464:(e,t,r)=>{"use strict";r.d(t,{X:()=>n});var o=r(5043);function n(e,t){const r=o.useRef(void 0),n=o.useCallback(((o,n)=>(void 0!==r.current&&t(r.current),r.current=e(o,n),r.current)),[t,e]),i=o.useCallback((()=>{void 0!==r.current&&(t(r.current),r.current=void 0)}),[t]);return o.useEffect((()=>i),[i]),[n,i]}},5673:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});var o=r(5043);const n=e=>{const[t,r]=o.useState((()=>void 0===e.defaultState?e.initialState:"function"===typeof e.defaultState?e.defaultState():e.defaultState)),n=o.useRef(e.state);o.useEffect((()=>{n.current=e.state}),[e.state]);const a=o.useCallback((e=>{(function(e){return"function"===typeof e})(e)&&e(n.current)}),[]);return i(e.state)?[e.state,a]:[t,r]};const i=e=>{const[t]=o.useState((()=>void 0!==e));return t}},3614:(e,t,r)=>{"use strict";r.d(t,{D:()=>i});var o=r(5043),n=r(4915);const i=e=>{const t=o.useRef((()=>{throw new Error("Cannot call an event handler while rendering")}));return(0,n.E)((()=>{t.current=e}),[e]),o.useCallback((function(){return(0,t.current)(...arguments)}),[t])}},1898:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var o=r(5043);function n(){const e=o.useRef(!0);return e.current?(e.current=!1,!0):e.current}},1360:(e,t,r)=>{"use strict";var o;r.d(t,{Bi:()=>s});var n=r(5043),i=r(1191);const a=n.createContext(void 0);a.Provider;function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fui-",t=arguments.length>1?arguments[1]:void 0;const s=(0,i.LM)(),l=n.useContext(a)||"",c=(o||(o=r.t(n,2))).useId;if(c){const r=c(),o=n.useMemo((()=>r.replace(/:/g,"")),[r]);return t||"".concat(l).concat(e).concat(o)}return n.useMemo((()=>t||"".concat(l).concat(e).concat(++s.current)),[l,e,t,s])}},4915:(e,t,r)=>{"use strict";r.d(t,{E:()=>n});var o=r(5043);const n=(0,r(9853).S)()?o.useLayoutEffect:o.useEffect},5923:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});var o=r(5043);function n(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=o.useCallback((e=>{n.current=e;for(const r of t)"function"===typeof r?r(e):r&&(r.current=e)}),[...t]);return n}},9015:(e,t,r)=>{"use strict";r.d(t,{W:()=>s});var o=r(5043),n=r(3614),i=r(2390);const a=(e,t)=>!!(null===e||void 0===e?void 0:e.contains(t)),s=e=>{const{targetDocument:t}=(0,i.Y)(),r=null===t||void 0===t?void 0:t.defaultView,{refs:s,callback:c,element:d,disabled:f,disabledFocusOnIframe:h,contains:p=a}=e,g=o.useRef(void 0);u({element:d,disabled:h||f,callback:c,refs:s,contains:p});const m=o.useRef(!1),v=(0,n.D)((e=>{if(m.current)return void(m.current=!1);const t=e.composedPath()[0];s.every((e=>!p(e.current||null,t)))&&!f&&c(e)})),b=(0,n.D)((e=>{m.current=s.some((t=>p(t.current||null,e.target)))}));o.useEffect((()=>{if(f)return;let e=l(r);const t=t=>{t!==e?v(t):e=void 0};return null===d||void 0===d||d.addEventListener("click",t,!0),null===d||void 0===d||d.addEventListener("touchstart",t,!0),null===d||void 0===d||d.addEventListener("contextmenu",t,!0),null===d||void 0===d||d.addEventListener("mousedown",b,!0),g.current=null===r||void 0===r?void 0:r.setTimeout((()=>{e=void 0}),1),()=>{null===d||void 0===d||d.removeEventListener("click",t,!0),null===d||void 0===d||d.removeEventListener("touchstart",t,!0),null===d||void 0===d||d.removeEventListener("contextmenu",t,!0),null===d||void 0===d||d.removeEventListener("mousedown",b,!0),null===r||void 0===r||r.clearTimeout(g.current),e=void 0}}),[v,d,f,b,r])},l=e=>{var t,r,o;if(e)return"object"===typeof e.window&&e.window===e?e.event:null!==(o=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==o?o:void 0},c="fuiframefocus",u=e=>{const{disabled:t,element:r,callback:i,contains:s=a,pollDuration:l=1e3,refs:u}=e,d=o.useRef(),f=(0,n.D)((e=>{u.every((t=>!s(t.current||null,e.target)))&&!t&&i(e)}));o.useEffect((()=>{if(!t)return null===r||void 0===r||r.addEventListener(c,f,!0),()=>{null===r||void 0===r||r.removeEventListener(c,f,!0)}}),[r,t,f]),o.useEffect((()=>{var e;if(!t)return d.current=null===r||void 0===r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval((()=>{const e=null===r||void 0===r?void 0:r.activeElement;if("IFRAME"===(null===e||void 0===e?void 0:e.tagName)||"WEBVIEW"===(null===e||void 0===e?void 0:e.tagName)){const t=new CustomEvent(c,{bubbles:!0});e.dispatchEvent(t)}}),l),()=>{var e;null===r||void 0===r||null===(e=r.defaultView)||void 0===e||e.clearTimeout(d.current)}}),[r,t,l])}},2218:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var o=r(7464),n=r(2390);const i=e=>-1,a=e=>{};function s(){const{targetDocument:e}=(0,n.Y)(),t=null===e||void 0===e?void 0:e.defaultView,r=t?t.setTimeout:i,s=t?t.clearTimeout:a;return(0,o.X)(r,s)}},1191:(e,t,r)=>{"use strict";r.d(t,{LM:()=>s,wR:()=>l});var o=r(5043),n=r(9853);const i={current:0},a=o.createContext(void 0);function s(){var e;return null!==(e=o.useContext(a))&&void 0!==e?e:i}function l(){const e=s()!==i,[t,r]=o.useState(e);return(0,n.S)()&&e&&o.useLayoutEffect((()=>{r(!1)}),[]),t}},9853:(e,t,r)=>{"use strict";function o(){return"undefined"!==typeof window&&!(!window.document||!window.document.createElement)}r.d(t,{S:()=>o})},1994:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var o=r(5043),n=r(4924);function i(e,t){return"function"===typeof e?e(t):e?a(e,t):e||null}function a(e,t){if(!o.isValidElement(e)||e.type===o.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if((0,n.Z)(e)){const r=a(e.props.children,t);return o.cloneElement(e,void 0,r)}return o.cloneElement(e,t)}},5204:(e,t,r)=>{"use strict";r.d(t,{h:()=>i});var o=r(5043),n=r(4924);function i(e){return o.isValidElement(e)?(0,n.Z)(e)?i(e.props.children):e:null}},4924:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});r(5043);function o(e){return Boolean(e.type.isFluentTriggerComponent)}},1223:(e,t,r)=>{"use strict";r.d(t,{_:()=>v,n:()=>b});r(5043);const o=function(){const e={};for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];for(const n of r){const t=Array.isArray(n)?n:Object.keys(n);for(const r of t)e[r]=1}return e},n=o(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),i=o(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),a=o(["itemID","itemProp","itemRef","itemScope","itemType"]),s=o(i,n,a),l=o(s,["form"]),c=o(s,["height","loop","muted","preload","src","width"]),u=o(c,["poster"]),d=o(s,["start"]),f=o(s,["value"]),h=o(s,["download","href","hrefLang","media","rel","target","type"]),p=o(s,["dateTime"]),g=o(s,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]);const m={label:l,audio:c,video:u,ol:d,li:f,a:h,button:g,input:o(g,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:o(g,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:o(g,["form","multiple","required"]),option:o(s,["selected","value"]),table:o(s,["cellPadding","cellSpacing"]),tr:s,th:o(s,["colSpan","rowSpan","scope"]),td:o(s,["colSpan","headers","rowSpan","scope"]),colGroup:o(s,["span"]),col:o(s,["span"]),fieldset:o(s,["disabled","form"]),form:o(s,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:o(s,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:o(s,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:p,dialog:o(s,["open","onCancel","onClose"])};function v(e,t,r){const o=e&&m[e]||s;return o.as=1,function(e,t,r){const o=Array.isArray(t),n={},i=Object.keys(e);for(const a of i)!(!o&&t[a]||o&&t.indexOf(a)>=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||r&&-1!==(null===r||void 0===r?void 0:r.indexOf(a))||(n[a]=e[a]);return n}(t,o,r)}const b=e=>{let{primarySlotTagName:t,props:r,excludedPropNames:o}=e;return{root:{style:r.style,className:r.className},primary:v(t,r,[...o||[],"style","className"])}}},3804:(e,t,r)=>{"use strict";function o(e,t){var r;const o=e;var n;return Boolean((null===o||void 0===o||null===(r=o.ownerDocument)||void 0===r?void 0:r.defaultView)&&o instanceof o.ownerDocument.defaultView[null!==(n=null===t||void 0===t?void 0:t.constructorName)&&void 0!==n?n:"HTMLElement"])}r.d(t,{s:()=>o})},8715:(e,t,r)=>{"use strict";function o(e,t){return function(){null===e||void 0===e||e(...arguments),null===t||void 0===t||t(...arguments)}}r.d(t,{p:()=>o})},3452:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});var o=r(7146);function n(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const n=(0,o.P)(t,{skipVirtual:r.has(t)});if(r.add(t),n===e)return!0;t=n}}return!1}},7146:(e,t,r)=>{"use strict";function o(e){if(!e)return null;if(!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const t=e.parentNode;return t&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.host:t}r.d(t,{P:()=>o})},3261:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});const o={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"}},9136:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var o=r(7805),n=r(1645);function i(e,t){const r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.A)();let i=null,a=null;return function(o){const{dir:s,renderer:l}=o,c="ltr"===s;return c?null===i&&(i=(0,n.N)(e,s)):null===a&&(a=(0,n.N)(e,s)),r(l,t),c?i:a}}},7813:(e,t,r)=>{"use strict";r.d(t,{AX:()=>g,EJ:()=>l,FS:()=>p,Ut:()=>v,aN:()=>c,ed:()=>s,ez:()=>u,fj:()=>d,k1:()=>a,qw:()=>m,uq:()=>f,wn:()=>h});const o="undefined"===typeof window?r.g:window,n="@griffel/";function i(e,t){return o[Symbol.for(n+e)]||(o[Symbol.for(n+e)]=t),o[Symbol.for(n+e)]}const a=i("DEFINITION_LOOKUP_TABLE",{}),s="data-make-styles-bucket",l="data-priority",c="f",u=7,d="___",f="_",h=d.length+u,p=0,g=1,m={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},v="DO_NOT_USE_DIRECTLY: @griffel/reset-value"},7805:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},6755:(e,t,r)=>{"use strict";r.d(t,{z:()=>s});var o=r(7813),n=r(7270),i=r(1645);const a={};function s(){let e=null,t="",r="";const s=new Array(arguments.length);for(let n=0;n<arguments.length;n++){const e=arguments[n];if("string"===typeof e&&""!==e){const i=e.indexOf(o.fj);if(-1===i)t+=e+" ";else{const a=e.substr(i,o.wn);i>0&&(t+=e.slice(0,i)),r+=a,s[n]=a}0}}if(""===r)return t.slice(0,-1);const l=a[r];if(void 0!==l)return t+l;const c=[];for(let n=0;n<arguments.length;n++){const t=s[n];if(t){const r=o.k1[t];r&&(c.push(r[o.FS]),e=r[o.AX])}}const u=Object.assign.apply(Object,[{}].concat(c)),[d,f]=(0,i.z)(u,e),h=(0,n.G)(f,e,s),p=h+" "+d;return a[r]=p,o.k1[h]=[u,e],t+p}},1645:(e,t,r)=>{"use strict";r.d(t,{N:()=>a,z:()=>i});var o=r(7813),n=r(7270);function i(e,t){let r="",o="";for(const n in e){const i=e[n];if(0===i){o+=n+" ";continue}const a=Array.isArray(i),s="rtl"===t?(a?i[1]:i)+" ":(a?i[0]:i)+" ";r+=s,o+=s}return[r.slice(0,-1),o.slice(0,-1)]}function a(e,t){const r={};for(const a in e){const[s,l]=i(e[a],t);if(""===l){r[a]="";continue}const c=(0,n.G)(l,t),u=c+(""===s?"":" "+s);o.k1[c]=[e[a],t],r[a]=u}return r}},7270:(e,t,r)=>{"use strict";r.d(t,{G:()=>a});var o=r(4830),n=r(7813);function i(e){const t=e.length;if(t===n.ez)return e;for(let r=t;r<n.ez;r++)e+="0";return e}function a(e,t){return n.fj+i((0,o.A)(e+t))}},8521:(e,t,r)=>{"use strict";r.d(t,{J:()=>p});var o=r(7813);function n(e,t,r,n){const i=[];if(n[o.ed]=t,n[o.EJ]=String(r),e)for(const o in n)e.setAttribute(o,n[o]);return{elementAttributes:n,insertRule:function(t){return(null===e||void 0===e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):i.push(t)},element:e,bucketName:t,cssRules:()=>(null===e||void 0===e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map((e=>e.cssText)):i}}const i=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce(((e,t,r)=>(e[t]=r,e)),{});function a(e,t,r){return("m"===e?e+t:e)+r}function s(e,t,r,s){let l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};var c,u;const d="m"===e,f=null!==(c=l.m)&&void 0!==c?c:"0",h=null!==(u=l.p)&&void 0!==u?u:0,p=a(e,f,h);if(!s.stylesheets[p]){const a=t&&t.createElement("style"),c=n(a,e,h,Object.assign({},s.styleElementAttributes,d&&{media:f}));s.stylesheets[p]=c,t&&a&&t.head.insertBefore(a,function(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};var s,l;const c=i[r],u=null!==(s=a.m)&&void 0!==s?s:"",d=null!==(l=a.p)&&void 0!==l?l:0;let f=e=>c-i[e.getAttribute(o.ed)],h=e.head.querySelectorAll("[".concat(o.ed,"]"));if("m"===r){const t=e.head.querySelectorAll("[".concat(o.ed,'="').concat(r,'"]'));t.length&&(h=t,f=e=>n.compareMediaQueries(u,e.media))}const p=e=>function(e,t,r){var n,i;const a=t+(null!==(n=r.m)&&void 0!==n?n:""),s=e.getAttribute(o.ed)+(null!==(i=e.media)&&void 0!==i?i:"");return a===s}(e,r,a)?d-Number(e.getAttribute("data-priority")):f(e),g=h.length;let m=g-1;for(;m>=0;){const e=h.item(m);if(p(e)>0)return e.nextSibling;m--}if(g>0)return h.item(0);return t?t.nextSibling:null}(t,r,e,s,l))}return s.stylesheets[p]}":(".concat(["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),")");function l(e,t){try{e.insertRule(t)}catch(r){0}}let c=0;const u=(e,t)=>e<t?-1:e>t?1:0;function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"===typeof document?void 0:document,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classNameHashSalt:r,unstable_filterCSSRule:o,insertionPoint:n,styleElementAttributes:i,compareMediaQueries:a=u}=t,d={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(i),compareMediaQueries:a,id:"d".concat(c++),insertCSSRules(t){for(const i in t){const a=t[i];for(let t=0,c=a.length;t<c;t++){const[c,u]=(r=a[t],Array.isArray(r)?r:[r]),f=s(i,e,n||null,d,u);d.insertionCache[c]||(d.insertionCache[c]=i,o?o(c)&&l(f,c):l(f,c))}}var r}};return d}var f=r(5043);const h=f.createContext(d());function p(){return f.useContext(h)}},3895:(e,t,r)=>{"use strict";r.d(t,{e:()=>i,m:()=>a});var o=r(5043);const n=o.createContext("ltr"),i=e=>{let{children:t,dir:r}=e;return o.createElement(n.Provider,{value:r},t)};function a(){return o.useContext(n)}},9560:(e,t,r)=>{"use strict";r.d(t,{y:()=>s});var o=r(7805);var n=r(4315),i=r(8521),a=r(3895);function s(e,t,r){const s=function(e,t,r){const n=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.A)();return function(o){const{dir:i,renderer:a}=o,s="ltr"===i?e:t||e;return n(a,Array.isArray(r)?{r:r}:r),s}}(e,t,r,n.A);return function(){const e=(0,a.m)(),t=(0,i.J)();return s({dir:e,renderer:t})}}},9392:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var o=r(9136),n=r(4315),i=r(8521),a=r(3895);function s(e,t){const r=(0,o.X)(e,t,n.A);return function(){const e=(0,a.m)(),t=(0,i.J)();return r({dir:e,renderer:t})}}},4315:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(5043),n=r.t(o,2);const i=n.useInsertionEffect?n.useInsertionEffect:void 0,a=()=>{const e={};return function(t,r){i&&"undefined"!==typeof window&&window.document&&window.document.createElement?i((()=>{t.insertCSSRules(r)}),[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}}},4845:(e,t,r)=>{"use strict";r.d(t,{n:()=>ct});var o=r(7805),n=r(4830);function i(e){return e.reduce((function(e,t){var r=t[0],o=t[1];return e[r]=o,e[o]=r,e}),{})}function a(e){return"number"===typeof e}function s(e,t){return-1!==e.indexOf(t)}function l(e,t,r,o){return t+(n=r,0===parseFloat(n)?n:"-"===n[0]?n.slice(1):"-"+n)+o;var n}function c(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var r=e.list,o=e.state,n=(t.match(/\(/g)||[]).length,i=(t.match(/\)/g)||[]).length;return o.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),o.parensDepth+=n-i,{list:r,state:o}}),{list:[],state:{parensDepth:0}}).list}function u(e){var t=c(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],n=t[2];return[r,t[3],n,o].join(" ")}var d={padding:function(e){var t=e.value;return a(t)?t:u(t)},textShadow:function(e){var t=function(e){for(var t=[],r=0,o=0,n=!1;o<e.length;)n||","!==e[o]?"("===e[o]?(n=!0,o++):")"===e[o]?(n=!1,o++):o++:(t.push(e.substring(r,o).trim()),r=++o);return r!=o&&t.push(e.substring(r,o+1)),t}(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,r,o){return"0"===o?e:""+t+(""===r?"-":"")+o}))}));return t.join(",")},borderColor:function(e){return u(e.value)},borderRadius:function(e){var t=e.value;if(a(t))return t;if(s(t,"/")){var r=t.split("/"),o=r[0],n=r[1];return d.borderRadius({value:o.trim()})+" / "+d.borderRadius({value:n.trim()})}var i=c(t);switch(i.length){case 2:return i.reverse().join(" ");case 4:var l=i[0],u=i[1],f=i[2];return[u,l,i[3],f].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgImgDirectionRegex,i=e.bgPosDirectionRegex;if(a(t))return t;var s=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(s,d.backgroundPosition({value:s,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:i})),d.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:n})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,o=e.bgImgDirectionRegex;return s(t,"url(")||s(t,"linear-gradient(")?t.replace(o,(function(e,t,o){return e.replace(o,r[o])})):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgPosDirectionRegex;return t.replace(o?/^((-|\d|\.)+%)/:null,(function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)})).replace(n,(function(e){return r[e]}))},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,n=e.bgPosDirectionRegex;return a(t)?t:d.backgroundPosition({value:t,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:n})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return r[e]||e})).join(", ")},transform:function(e){var t=e.value,r="[^\\u0020-\\u007e]",o="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",n="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+r+"|"+o+")(?:[_a-z0-9-]|"+r+"|"+o+")*)?)|(?:inherit|auto))",i=new RegExp("(translateX\\s*\\(\\s*)"+n+"(\\s*\\))","gi"),a=new RegExp("(translate\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,1}\\s*\\))","gi"),s=new RegExp("(translate3d\\s*\\(\\s*)"+n+"((?:\\s*,\\s*"+n+"){0,2}\\s*\\))","gi"),c=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+n+"(\\s*\\))","gi");return t.replace(i,l).replace(a,l).replace(s,l).replace(c,l)}};d.objectPosition=d.backgroundPosition,d.margin=d.padding,d.borderWidth=d.padding,d.boxShadow=d.textShadow,d.webkitBoxShadow=d.boxShadow,d.mozBoxShadow=d.boxShadow,d.WebkitBoxShadow=d.boxShadow,d.MozBoxShadow=d.boxShadow,d.borderStyle=d.borderColor,d.webkitTransform=d.transform,d.mozTransform=d.transform,d.WebkitTransform=d.transform,d.MozTransform=d.transform,d.transformOrigin=d.backgroundPosition,d.webkitTransformOrigin=d.transformOrigin,d.mozTransformOrigin=d.transformOrigin,d.WebkitTransformOrigin=d.transformOrigin,d.MozTransformOrigin=d.transformOrigin,d.webkitTransition=d.transition,d.mozTransition=d.transition,d.WebkitTransition=d.transition,d.MozTransition=d.transition,d.webkitTransitionProperty=d.transitionProperty,d.mozTransitionProperty=d.transitionProperty,d.WebkitTransitionProperty=d.transitionProperty,d.MozTransitionProperty=d.transitionProperty,d["text-shadow"]=d.textShadow,d["border-color"]=d.borderColor,d["border-radius"]=d.borderRadius,d["background-image"]=d.backgroundImage,d["background-position"]=d.backgroundPosition,d["background-position-x"]=d.backgroundPositionX,d["object-position"]=d.objectPosition,d["border-width"]=d.padding,d["box-shadow"]=d.textShadow,d["-webkit-box-shadow"]=d.textShadow,d["-moz-box-shadow"]=d.textShadow,d["border-style"]=d.borderColor,d["-webkit-transform"]=d.transform,d["-moz-transform"]=d.transform,d["transform-origin"]=d.transformOrigin,d["-webkit-transform-origin"]=d.transformOrigin,d["-moz-transform-origin"]=d.transformOrigin,d["-webkit-transition"]=d.transition,d["-moz-transition"]=d.transition,d["transition-property"]=d.transitionProperty,d["-webkit-transition-property"]=d.transitionProperty,d["-moz-transition-property"]=d.transitionProperty;var f=i([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),h=["content"],p=i([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),g=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),m=new RegExp("(left)|(right)");function v(e){return Object.keys(e).reduce((function(t,r){var o=e[r];if("string"===typeof o&&(o=o.trim()),s(h,r))return t[r]=o,t;var n=b(r,o),i=n.key,a=n.value;return t[i]=a,t}),Array.isArray(e)?[]:{})}function b(e,t){var r,o=/\/\*\s?@noflip\s?\*\//.test(t),n=o?e:f[r=e]||r,i=o?t:function(e,t){if(!function(e){return!("boolean"===typeof e)&&(t=e,!(null===t||"undefined"===typeof t));var t}(t))return t;if(r=t,r&&"object"===typeof r)return v(t);var r;var o,n=a(t),i=function(e){return"function"===typeof e}(t),s=n||i?t:t.replace(/ !important.*?$/,""),l=!n&&s.length!==t.length,c=d[e];o=c?c({value:s,valuesToConvert:p,propertiesToConvert:f,isRtl:!0,bgImgDirectionRegex:g,bgPosDirectionRegex:m}):p[s]||s;if(l)return o+" !important";return o}(n,t);return{key:n,value:i}}var y=r(7813);const w=/[A-Z]/g,k=/^ms-/,x={};function C(e){return"-"+e.toLowerCase()}function S(e){if(Object.prototype.hasOwnProperty.call(x,e))return x[e];if("--"===e.substr(0,2))return e;const t=e.replace(w,C);return x[e]=k.test(t)?"-"+t:t}function _(e){return"&"===e.charAt(0)?e.slice(1):e}var A="-moz-",T="-webkit-",E="comm",B="rule",I="decl",N="@import",P="@keyframes",R="@layer",O=Math.abs,j=String.fromCharCode,z=Object.assign;function M(e){return e.trim()}function L(e,t){return(e=t.exec(e))?e[0]:e}function D(e,t,r){return e.replace(t,r)}function F(e,t,r){return e.indexOf(t,r)}function q(e,t){return 0|e.charCodeAt(t)}function H(e,t,r){return e.slice(t,r)}function U(e){return e.length}function W(e){return e.length}function K(e,t){return t.push(e),e}function G(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function V(e,t,r,o){switch(e.type){case R:if(e.children.length)break;case N:case I:return e.return=e.return||e.value;case E:return"";case P:return e.return=e.value+"{"+G(e.children,o)+"}";case B:if(!U(e.value=e.props.join(",")))return""}return U(r=G(e.children,o))?e.return=e.value+"{"+r+"}":""}var Y=1,X=1,Q=0,Z=0,J=0,$="";function ee(e,t,r,o,n,i,a,s){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:Y,column:X,length:a,return:"",siblings:s}}function te(e,t){return z(ee("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function re(){return J=Z>0?q($,--Z):0,X--,10===J&&(X=1,Y--),J}function oe(){return J=Z<Q?q($,Z++):0,X++,10===J&&(X=1,Y++),J}function ne(){return q($,Z)}function ie(){return Z}function ae(e,t){return H($,e,t)}function se(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function le(e){return Y=X=1,Q=U($=e),Z=0,[]}function ce(e){return $="",e}function ue(e){return M(ae(Z-1,pe(91===e?e+2:40===e?e+1:e)))}function de(e){return ce(function(e){for(;oe();)switch(se(J)){case 0:K(me(Z-1),e);break;case 2:K(ue(J),e);break;default:K(j(J),e)}return e}(le(e)))}function fe(e){for(;(J=ne())&&J<33;)oe();return se(e)>2||se(J)>3?"":" "}function he(e,t){for(;--t&&oe()&&!(J<48||J>102||J>57&&J<65||J>70&&J<97););return ae(e,ie()+(t<6&&32==ne()&&32==oe()))}function pe(e){for(;oe();)switch(J){case e:return Z;case 34:case 39:34!==e&&39!==e&&pe(J);break;case 40:41===e&&pe(e);break;case 92:oe()}return Z}function ge(e,t){for(;oe()&&e+J!==57&&(e+J!==84||47!==ne()););return"/*"+ae(t,Z-1)+"*"+j(47===e?e:oe())}function me(e){for(;!se(ne());)oe();return ae(e,Z)}function ve(e){return ce(be("",null,null,null,[""],e=le(e),0,[0],e))}function be(e,t,r,o,n,i,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,p=0,g=1,m=1,v=1,b=0,y="",w=n,k=i,x=o,C=y;m;)switch(p=b,b=oe()){case 40:if(108!=p&&58==q(C,d-1)){-1!=F(C+=D(ue(b),"&","&\f"),"&\f",O(c?s[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=ue(b);break;case 9:case 10:case 13:case 32:C+=fe(p);break;case 92:C+=he(ie()-1,7);continue;case 47:switch(ne()){case 42:case 47:K(we(ge(oe(),ie()),t,r,l),l),5!=se(p||1)&&5!=se(ne()||1)||!U(C)||" "===H(C,-1,void 0)||(C+=" ");break;default:C+="/"}break;case 123*g:s[c++]=U(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(C=D(C,/\f/g,"")),h>0&&(U(C)-d||0===g&&47===p)&&K(h>32?ke(C+";",o,r,d-1,l):ke(D(C," ","")+";",o,r,d-2,l),l);break;case 59:C+=";";default:if(K(x=ye(C,t,r,c,u,n,s,y,w=[],k=[],d,i),i),123===b)if(0===u)be(C,t,x,x,w,i,d,s,k);else switch(99===f&&110===q(C,3)?100:f){case 100:case 108:case 109:case 115:be(e,x,x,o&&K(ye(e,x,x,0,0,n,s,y,n,w=[],d,k),k),n,k,d,s,o?w:k);break;default:be(C,x,x,x,[""],k,0,s,k)}}c=u=h=0,g=v=1,y=C="",d=a;break;case 58:d=1+U(C),h=p;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==re())continue;switch(C+=j(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(U(C)-1)*v,v=1;break;case 64:45===ne()&&(C+=ue(oe())),f=ne(),u=d=U(y=C+=me(ie())),b++;break;case 45:45===p&&2==U(C)&&(g=0)}}return i}function ye(e,t,r,o,n,i,a,s,l,c,u,d){for(var f=n-1,h=0===n?i:[""],p=W(h),g=0,m=0,v=0;g<o;++g)for(var b=0,y=H(e,f+1,f=O(m=a[g])),w=e;b<p;++b)(w=M(m>0?h[b]+" "+y:D(y,/&\f/g,h[b])))&&(l[v++]=w);return ee(e,t,r,0===n?B:s,l,c,u,d)}function we(e,t,r,o){return ee(e,t,r,E,j(J),H(e,2,-2),0,o)}function ke(e,t,r,o,n){return ee(e,t,r,I,H(e,0,o),H(e,o+1,-1),o,n)}function xe(e){var t=W(e);return function(r,o,n,i){for(var a="",s=0;s<t;s++)a+=e[s](r,o,n,i)||"";return a}}function Ce(e){return function(t){t.root||(t=t.return)&&e(t)}}const Se=e=>{if(e.type===B){if("string"===typeof e.props)return void 0;e.props=e.props.map((e=>-1===e.indexOf(":global(")?e:de(e).reduce(((e,t,r,o)=>{if(""===t)return e;if(":"===t&&"global"===o[r+1]){const t=o[r+2].slice(1,-1)+" ";return e.unshift(t),o[r+1]="",o[r+2]="",e}return e.push(t),e}),[]).join("")))}};function _e(e,t,r){switch(function(e,t){return 45^q(e,0)?(((t<<2^q(e,0))<<2^q(e,1))<<2^q(e,2))<<2^q(e,3):0}(e,t)){case 5103:return T+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return T+e+e;case 4215:if(102===q(e,9))return T+e+e;if(116===q(e,t+1))return T+e+e;break;case 4789:return A+e+e;case 5349:case 4246:case 6968:return T+e+A+e+e;case 6187:if(!L(e,/grab/))return D(D(D(e,/(zoom-|grab)/,T+"$1"),/(image-set)/,T+"$1"),e,"")+e;case 5495:case 3959:return D(e,/(image-set\([^]*)/,T+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return D(e,/(.+)-inline(.+)/,T+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(U(e)-1-t>6)switch(q(e,t+1)){case 102:if(108===q(e,t+3))return D(e,/(.+:)(.+)-([^]+)/,"$1"+T+"$2-$3$1"+A+(108==q(e,t+3)?"$3":"$2-$3"))+e;case 115:return~F(e,"stretch")?_e(D(e,"stretch","fill-available"),t)+e:e}}return e}function Ae(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case I:return void(e.return=_e(e.value,e.length));case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(L(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return G([te(e,{props:[D(t,/:(read-\w+)/,":"+A+"$1")]})],o);case"::placeholder":return G([te(e,{props:[D(t,/:(plac\w+)/,":"+T+"input-$1")]}),te(e,{props:[D(t,/:(plac\w+)/,":"+A+"$1")]})],o)}return""}))}}const Te=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case R:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort(((e,t)=>e.props[0]>t.props[0]?1:-1))};function Ee(){}const Be=/,( *[^ &])/g;function Ie(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight(((e,t)=>{return"".concat((r=t,"&"+_(r.replace(Be,",&$1")))," { ").concat(e," }");var r}),t)),"".concat(e,"{").concat(o,"}")}function Ne(e,t){const{className:r,selectors:o,property:n,rtlClassName:i,rtlProperty:a,rtlValue:s,value:l}=e,{container:c,layer:u,media:d,supports:f}=t;let h=Ie(".".concat(r),Array.isArray(l)?"".concat(l.map((e=>"".concat(S(n),": ").concat(e))).join(";"),";"):"".concat(S(n),": ").concat(l,";"),o);if(a&&i){h+=Ie(".".concat(i),Array.isArray(s)?"".concat(s.map((e=>"".concat(S(a),": ").concat(e))).join(";"),";"):"".concat(S(a),": ").concat(s,";"),o)}return d&&(h="@media ".concat(d," { ").concat(h," }")),u&&(h="@layer ".concat(u," { ").concat(h," }")),f&&(h="@supports ".concat(f," { ").concat(h," }")),c&&(h="@container ".concat(c," { ").concat(h," }")),function(e,t){const r=[];return G(ve(e),xe([Se,t?Te:Ee,Ae,V,Ce((e=>r.push(e)))])),r}(h,!0)}function Pe(e){let t="";for(const r in e){const o=e[r];if("string"!==typeof o&&"number"!==typeof o){if(Array.isArray(o))for(const e of o)t+=S(r)+":"+e+";"}else t+=S(r)+":"+o+";"}return t}function Re(e){let t="";for(const r in e)t+="".concat(r,"{").concat(Pe(e[r]),"}");return t}function Oe(e,t){const r="@keyframes ".concat(e," {").concat(t,"}"),o=[];return G(ve(r),xe([V,Ae,Ce((e=>o.push(e)))])),o}const je={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function ze(e,t){return 0===e.length?t:"".concat(e," and ").concat(t)}function Me(e){return"@media"===e.substr(0,6)}function Le(e){return"@layer"===e.substr(0,6)}const De=/^(:|\[|>|&)/;function Fe(e){return De.test(e)}function qe(e){return"@supports"===e.substr(0,9)}function He(e){return"@container"===e.substring(0,10)}const Ue={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function We(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return Ue[t.slice(4,8)]||Ue[t.slice(3,5)]||"d"}return"d"}function Ke(e,t){return e?t+e:e}function Ge(e){return Ke(e.container,"c")+Ke(e.media,"m")+Ke(e.layer,"l")+Ke(e.supports,"s")}function Ve(e,t,r){const o=e+Ge(r)+t,i=(0,n.A)(o),a=i.charCodeAt(0);return a>=48&&a<=57?String.fromCharCode(a+17)+i.slice(1):i}function Ye(e,t){let{property:r,selector:o,salt:i,value:a}=e;return y.aN+(0,n.A)(i+o+Ge(t)+r+a.trim())}function Xe(e){return e===y.Ut}function Qe(e){return e.replace(/>\s+/g,">")}function Ze(){0}function Je(e){return je[e]}function $e(e){var t;return null!==(t=null===e||void 0===e?void 0:e[0])&&void 0!==t?t:0}function et(e,t,r,o){e[t]=o?[r,o]:r}function tt(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function rt(e,t,r,o,n,i){var a;const s=[];0!==i&&s.push(["p",i]),"m"===t&&n&&s.push(["m",n]),null!==(a=e[t])&&void 0!==a||(e[t]=[]),r&&e[t].push(tt(r,s)),o&&e[t].push(tt(o,s))}function ot(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{container:"",layer:"",media:"",supports:""},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6?arguments[6]:void 0;for(const c in e){if(y.qw.hasOwnProperty(c)){e[c],Ze();continue}const u=e[c];if(null!=u)if(Xe(u)){et(i,Ve(Qe(r.join("")),c,o),0,void 0)}else if("string"===typeof u||"number"===typeof u){const e=Qe(r.join("")),n=Je(c);if(n){const e=n[1],s=Object.fromEntries(e.map((e=>[e,y.Ut])));ot(s,t,r,o,i,a)}const l=Ve(e,c,o),d=Ye({value:u.toString(),salt:t,selector:e,property:c},o),f=s&&{key:c,value:s}||b(c,u),h=f.key!==c||f.value!==u,p=h?Ye({value:f.value.toString(),property:f.key,salt:t,selector:e},o):void 0,g=h?{rtlClassName:p,rtlProperty:f.key,rtlValue:f.value}:void 0,m=We(r,o),[v,w]=Ne(Object.assign({className:d,selectors:r,property:c,value:u},g),o);et(i,l,d,p),rt(a,m,v,w,o.media,$e(n))}else if("animationName"===c){const e=Array.isArray(u)?u:[u],s=[],l=[];for(const t of e){const e=Re(t),r=Re(v(t)),i=y.aN+(0,n.A)(e);let c;const u=Oe(i,e);let d=[];e===r?c=i:(c=y.aN+(0,n.A)(r),d=Oe(c,r));for(let t=0;t<u.length;t++)rt(a,"k",u[t],d[t],o.media,0);s.push(i),l.push(c)}ot({animationName:s.join(", ")},t,r,o,i,a,l.join(", "))}else if(Array.isArray(u)){if(0===u.length){0;continue}const e=Qe(r.join("")),n=Je(c);if(n){const e=n[1],s=Object.fromEntries(e.map((e=>[e,y.Ut])));ot(s,t,r,o,i,a)}const s=Ve(e,c,o),l=Ye({value:u.map((e=>(null!==e&&void 0!==e?e:"").toString())).join(";"),salt:t,selector:e,property:c},o),d=u.map((e=>b(c,e)));if(!!d.some((e=>e.key!==d[0].key))){0;continue}const f=d[0].key!==c||d.some(((e,t)=>e.value!==u[t])),h=f?Ye({value:d.map((e=>{var t;return(null!==(t=null===e||void 0===e?void 0:e.value)&&void 0!==t?t:"").toString()})).join(";"),salt:t,property:d[0].key,selector:e},o):void 0,p=f?{rtlClassName:h,rtlProperty:d[0].key,rtlValue:d.map((e=>e.value))}:void 0,g=We(r,o),[m,v]=Ne(Object.assign({className:l,selectors:r,property:c,value:u},p),o);et(i,s,l,h),rt(a,g,m,v,o.media,$e(n))}else if(null!=(l=u)&&"object"===typeof l&&!1===Array.isArray(l))if(Fe(c))ot(u,t,r.concat(_(c)),o,i,a);else if(Me(c)){const e=ze(o.media,c.slice(6).trim());ot(u,t,r,Object.assign({},o,{media:e}),i,a)}else if(Le(c)){const e=(o.layer?"".concat(o.layer,"."):"")+c.slice(6).trim();ot(u,t,r,Object.assign({},o,{layer:e}),i,a)}else if(qe(c)){const e=ze(o.supports,c.slice(9).trim());ot(u,t,r,Object.assign({},o,{supports:e}),i,a)}else if(He(c)){const e=c.slice(10).trim();ot(u,t,r,Object.assign({},o,{container:e}),i,a)}else Ze()}var l;return[i,a]}var nt=r(1645);function it(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.A)();let r=null,n=null,i=null,a=null;return function(o){const{dir:s,renderer:l}=o;null===r&&([r,n]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r={},o={};for(const n in e){const i=e[n],[a,s]=ot(i,t);r[n]=a,Object.keys(s).forEach((e=>{o[e]=(o[e]||[]).concat(s[e])}))}return[r,o]}(e,l.classNameHashSalt));const c="ltr"===s;return c?null===i&&(i=(0,nt.N)(r,s)):null===a&&(a=(0,nt.N)(r,s)),t(l,n),c?i:a}}var at=r(4315),st=r(8521),lt=r(3895);function ct(e){const t=it(e,at.A);return function(){const e=(0,lt.m)(),r=(0,st.J)();return t({dir:e,renderer:r})}}},112:(e,t,r)=>{"use strict";r.d(t,{Oy:()=>i,RY:()=>a,SQ:()=>f,bd:()=>h,kG:()=>l});var o="undefined"!==typeof WeakRef,n=class{constructor(e){o&&"object"===typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=null==(e=this._weakRef)?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(null==(t=null==r?void 0:r.isDisposed)?void 0:t.call(r))&&delete this._instance),r}},i="keyborg:focusin",a="keyborg:focusout";var s=!1;function l(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var c=0,u=class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++c,this._win=e;const r=e.document;if(t){const e=t.triggerKeys,r=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==r?void 0:r.length)&&(this._dismissKeys=new Set(r))}r.addEventListener(i,this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;s||(s=function(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=f;const o=new Set,l=e=>{const t=e.target;if(!t)return;const r=new CustomEvent(a,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},c=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const n=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(n.add(r),r=r.host):r=r.parentNode;for(const i of o){const e=i.deref();e&&n.has(e)||(o.delete(i),e&&(e.removeEventListener("focusin",c,!0),e.removeEventListener("focusout",l,!0)))}u(t,e.relatedTarget||void 0)},u=(e,t,r)=>{var a;const u=e.shadowRoot;if(u){for(const e of o)if(e.deref()===u)return;return u.addEventListener("focusin",c,!0),u.addEventListener("focusout",l,!0),void o.add(new n(u))}const f={relatedTarget:t,originalEvent:r},h=new CustomEvent(i,{cancelable:!0,bubbles:!0,composed:!0,detail:f});h.details=f,(s||d.lastFocusedProgrammatically)&&(f.isFocusedProgrammatically=e===(null==(a=d.lastFocusedProgrammatically)?void 0:a.deref()),d.lastFocusedProgrammatically=void 0),e.dispatchEvent(h)},d=t.__keyborgData={focusInHandler:c,focusOutHandler:l,shadowTargets:o};function f(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new n(this)),r.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let h=t.document.activeElement;for(;h&&h.shadowRoot;)u(h),h=h.shadowRoot.activeElement;f.__keyborgNativeFocus=r}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,n=t.__keyborgData;if(n){t.document.removeEventListener("focusin",n.focusInHandler,!0),t.document.removeEventListener("focusout",n.focusOutHandler,!0);for(const e of n.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",n.focusInHandler,!0),t.removeEventListener("focusout",n.focusOutHandler,!0))}n.shadowTargets.clear(),delete t.__keyborgData}o&&(r.focus=o)}(e);const t=e.document;t.removeEventListener(i,this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(r)for(const o of Object.keys(r))d.update(r[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const r=null==(t=this._win)?void 0:t.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),n=r&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable);return o&&!n}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)}),500)}}},d=class e{constructor(e,t){this._cb=[],this._id="k"+ ++c,this._win=e;const r=e.__keyborg;r?(this._core=r.core,r.refs[this._id]=this):(this._core=new u(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new e(t,r)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function f(e,t){return d.create(e,t)}function h(e){d.dispose(e)}},2123:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(n){return!1}}()?Object.assign:function(e,n){for(var i,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))r.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)o.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},1497:(e,t,r)=>{"use strict";var o=r(3218);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return r.PropTypes=r,r}},5173:(e,t,r)=>{e.exports=r(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5489:(e,t,r)=>{var o,n;!function(i){if(void 0===(n="function"===typeof(o=i)?o.call(t,r,t,e):o)||(e.exports=n),e.exports=i(),!!0){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var o in r)t[o]=r[o]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(o){function n(){}function i(t,r,i){if("undefined"!==typeof document){"number"===typeof(i=e({path:"/"},n.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(c){}r=o.write?o.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=t+"="+r+s}}function a(e,r){if("undefined"!==typeof document){for(var n={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),l=s.slice(1).join("=");r||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(s[0]);if(l=(o.read||o)(l,c)||t(l),r)try{l=JSON.parse(l)}catch(u){}if(n[c]=l,e===c)break}catch(u){}}return e?n[e]:n}}return n.set=i,n.get=function(e){return a(e,!1)},n.getJSON=function(e){return a(e,!0)},n.remove=function(t,r){i(t,"",e(r,{expires:-1}))},n.defaults={},n.withConverter=r,n}((function(){}))}))},2730:(e,t,r)=>{"use strict";var o=r(5043),n=r(8853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},p={};function g(e,t,r,o,n,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,r,o){var n=m.hasOwnProperty(t)?m[t]:null;(null!==n?0!==n.type:o||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,o){if(null===t||"undefined"===typeof t||function(e,t,r,o){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,o))return!0;if(o)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,n,o)&&(r=null),o||null===n?function(e){return!!d.call(p,e)||!d.call(h,e)&&(f.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):n.mustUseProperty?e[n.propertyName]=null===r?3!==n.type&&"":r:(t=n.attributeName,o=n.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(n=n.type)||4===n&&!0===r?"":""+r,o?e.setAttributeNS(o,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,b);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),T=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),P=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function j(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=O&&e[O]||e["@@iterator"])?e:null}var z,M=Object.assign;function L(e){if(void 0===z)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var D=!1;function F(e,t){if(!e||D)return"";D=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var o=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){o=c}e.call(t.prototype)}else{try{throw Error()}catch(c){o=c}e()}}catch(c){if(c&&o&&"string"===typeof c.stack){for(var n=c.stack.split("\n"),i=o.stack.split("\n"),a=n.length-1,s=i.length-1;1<=a&&0<=s&&n[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(n[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||n[a]!==i[s]){var l="\n"+n[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{D=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?L(e):""}function q(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1);case 11:return e=F(e.type.render,!1);case 1:return e=F(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case x:return"Portal";case _:return"Profiler";case S:return"StrictMode";case B:return"Suspense";case I:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case E:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case P:t=e._payload,e=e._init;try{return H(e(t))}catch(r){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var n=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(e){o=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function V(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=K(e)?e.checked?"true":"false":e.value),(e=o)!==r&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var r=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Q(e,t){var r=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;r=W(null!=t.value?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){Z(e,t);var r=W(t.value),o=t.type;if(null!=r)"number"===o?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&Y(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,o){if(e=e.options,t){t={};for(var n=0;n<r.length;n++)t["$"+r[n]]=!0;for(r=0;r<e.length;r++)n=t.hasOwnProperty("$"+e[r].value),e[r].selected!==n&&(e[r].selected=n),n&&o&&(e[r].defaultSelected=!0)}else{for(r=""+W(r),t=null,n=0;n<e.length;n++){if(e[n].value===r)return e[n].selected=!0,void(o&&(e[n].defaultSelected=!0));null!==t||e[n].disabled||(t=e[n])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ne(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(i(92));if(te(r)){if(1<r.length)throw Error(i(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:W(r)}}function ie(e,t){var r=W(t.value),o=W(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=o&&(e.defaultValue=""+o)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,o){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ge(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--"),n=ge(r,t[r],o);"float"===r&&(r="cssFloat"),o?e.setProperty(r,n):e[r]=n}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ve=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Ce=null,Se=null;function _e(e){if(e=wn(e)){if("function"!==typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=xn(t),xe(e.stateNode,e.type,t))}}function Ae(e){Ce?Se?Se.push(e):Se=[e]:Ce=e}function Te(){if(Ce){var e=Ce,t=Se;if(Se=Ce=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Ee(e,t){return e(t)}function Be(){}var Ie=!1;function Ne(e,t,r){if(Ie)return e(t,r);Ie=!0;try{return Ee(e,t,r)}finally{Ie=!1,(null!==Ce||null!==Se)&&(Be(),Te())}}function Pe(e,t){var r=e.stateNode;if(null===r)return null;var o=xn(r);if(null===o)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!==typeof r)throw Error(i(231,t,typeof r));return r}var Re=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ue){Re=!1}function je(e,t,r,o,n,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(u){this.onError(u)}}var ze=!1,Me=null,Le=!1,De=null,Fe={onError:function(e){ze=!0,Me=e}};function qe(e,t,r,o,n,i,a,s,l){ze=!1,Me=null,je.apply(Fe,arguments)}function He(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(He(e)!==e)throw Error(i(188))}function Ke(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(i(188));return t!==e?null:e}for(var r=e,o=t;;){var n=r.return;if(null===n)break;var a=n.alternate;if(null===a){if(null!==(o=n.return)){r=o;continue}break}if(n.child===a.child){for(a=n.child;a;){if(a===r)return We(n),e;if(a===o)return We(n),t;a=a.sibling}throw Error(i(188))}if(r.return!==o.return)r=n,o=a;else{for(var s=!1,l=n.child;l;){if(l===r){s=!0,r=n,o=a;break}if(l===o){s=!0,o=n,r=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===r){s=!0,r=a,o=n;break}if(l===o){s=!0,o=a,r=n;break}l=l.sibling}if(!s)throw Error(i(189))}}if(r.alternate!==o)throw Error(i(190))}if(3!==r.tag)throw Error(i(188));return r.stateNode.current===r?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Ve=n.unstable_scheduleCallback,Ye=n.unstable_cancelCallback,Xe=n.unstable_shouldYield,Qe=n.unstable_requestPaint,Ze=n.unstable_now,Je=n.unstable_getCurrentPriorityLevel,$e=n.unstable_ImmediatePriority,et=n.unstable_UserBlockingPriority,tt=n.unstable_NormalPriority,rt=n.unstable_LowPriority,ot=n.unstable_IdlePriority,nt=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var r=e.pendingLanes;if(0===r)return 0;var o=0,n=e.suspendedLanes,i=e.pingedLanes,a=268435455&r;if(0!==a){var s=a&~n;0!==s?o=dt(s):0!==(i&=a)&&(o=dt(i))}else 0!==(a=r&~n)?o=dt(a):0!==i&&(o=dt(i));if(0===o)return 0;if(0!==t&&t!==o&&0===(t&n)&&((n=o&-o)>=(i=t&-t)||16===n&&0!==(4194240&i)))return t;if(0!==(4&o)&&(o|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=o;0<t;)n=1<<(r=31-at(t)),o|=e[r],t&=~n;return o}function ht(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function vt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=r}function bt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var o=31-at(r),n=1<<o;n&t|e[o]&t&&(e[o]|=t),r&=~n}}var yt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var kt,xt,Ct,St,_t,At=!1,Tt=[],Et=null,Bt=null,It=null,Nt=new Map,Pt=new Map,Rt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function jt(e,t){switch(e){case"focusin":case"focusout":Et=null;break;case"dragenter":case"dragleave":Bt=null;break;case"mouseover":case"mouseout":It=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pt.delete(t.pointerId)}}function zt(e,t,r,o,n,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:o,nativeEvent:i,targetContainers:[n]},null!==t&&(null!==(t=wn(t))&&xt(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,null!==n&&-1===t.indexOf(n)&&t.push(n),e)}function Mt(e){var t=yn(e.target);if(null!==t){var r=He(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ue(r)))return e.blockedOn=t,void _t(e.priority,(function(){Ct(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=wn(r))&&xt(t),e.blockedOn=r,!1;var o=new(r=e.nativeEvent).constructor(r.type,r);we=o,r.target.dispatchEvent(o),we=null,t.shift()}return!0}function Dt(e,t,r){Lt(e)&&r.delete(t)}function Ft(){At=!1,null!==Et&&Lt(Et)&&(Et=null),null!==Bt&&Lt(Bt)&&(Bt=null),null!==It&&Lt(It)&&(It=null),Nt.forEach(Dt),Pt.forEach(Dt)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ft)))}function Ht(e){function t(t){return qt(t,e)}if(0<Tt.length){qt(Tt[0],e);for(var r=1;r<Tt.length;r++){var o=Tt[r];o.blockedOn===e&&(o.blockedOn=null)}}for(null!==Et&&qt(Et,e),null!==Bt&&qt(Bt,e),null!==It&&qt(It,e),Nt.forEach(t),Pt.forEach(t),r=0;r<Rt.length;r++)(o=Rt[r]).blockedOn===e&&(o.blockedOn=null);for(;0<Rt.length&&null===(r=Rt[0]).blockedOn;)Mt(r),null===r.blockedOn&&Rt.shift()}var Ut=w.ReactCurrentBatchConfig,Wt=!0;function Kt(e,t,r,o){var n=yt,i=Ut.transition;Ut.transition=null;try{yt=1,Vt(e,t,r,o)}finally{yt=n,Ut.transition=i}}function Gt(e,t,r,o){var n=yt,i=Ut.transition;Ut.transition=null;try{yt=4,Vt(e,t,r,o)}finally{yt=n,Ut.transition=i}}function Vt(e,t,r,o){if(Wt){var n=Xt(e,t,r,o);if(null===n)Wo(e,t,o,Yt,r),jt(e,o);else if(function(e,t,r,o,n){switch(t){case"focusin":return Et=zt(Et,e,t,r,o,n),!0;case"dragenter":return Bt=zt(Bt,e,t,r,o,n),!0;case"mouseover":return It=zt(It,e,t,r,o,n),!0;case"pointerover":var i=n.pointerId;return Nt.set(i,zt(Nt.get(i)||null,e,t,r,o,n)),!0;case"gotpointercapture":return i=n.pointerId,Pt.set(i,zt(Pt.get(i)||null,e,t,r,o,n)),!0}return!1}(n,e,t,r,o))o.stopPropagation();else if(jt(e,o),4&t&&-1<Ot.indexOf(e)){for(;null!==n;){var i=wn(n);if(null!==i&&kt(i),null===(i=Xt(e,t,r,o))&&Wo(e,t,o,Yt,r),i===n)break;n=i}null!==n&&o.stopPropagation()}else Wo(e,t,o,null,r)}}var Yt=null;function Xt(e,t,r,o){if(Yt=null,null!==(e=yn(e=ke(o))))if(null===(t=He(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case $e:return 1;case et:return 4;case tt:case rt:return 16;case ot:return 536870912;default:return 16}default:return 16}}var Zt=null,Jt=null,$t=null;function er(){if($t)return $t;var e,t,r=Jt,o=r.length,n="value"in Zt?Zt.value:Zt.textContent,i=n.length;for(e=0;e<o&&r[e]===n[e];e++);var a=o-e;for(t=1;t<=a&&r[o-t]===n[i-t];t++);return $t=n.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function or(){return!1}function nr(e){function t(t,r,o,n,i){for(var a in this._reactName=t,this._targetInst=o,this.type=r,this.nativeEvent=n,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(n):n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?rr:or,this.isPropagationStopped=or,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var ir,ar,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=nr(lr),ur=M({},lr,{view:0,detail:0}),dr=nr(ur),fr=M({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(ir=e.screenX-sr.screenX,ar=e.screenY-sr.screenY):ar=ir=0,sr=e),ir)},movementY:function(e){return"movementY"in e?e.movementY:ar}}),hr=nr(fr),pr=nr(M({},fr,{dataTransfer:0})),gr=nr(M({},ur,{relatedTarget:0})),mr=nr(M({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),vr=M({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),br=nr(vr),yr=nr(M({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xr[e])&&!!t[e]}function Sr(){return Cr}var _r=M({},ur,{key:function(e){if(e.key){var t=wr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sr,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ar=nr(_r),Tr=nr(M({},fr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Er=nr(M({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sr})),Br=nr(M({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ir=M({},fr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nr=nr(Ir),Pr=[9,13,27,32],Rr=u&&"CompositionEvent"in window,Or=null;u&&"documentMode"in document&&(Or=document.documentMode);var jr=u&&"TextEvent"in window&&!Or,zr=u&&(!Rr||Or&&8<Or&&11>=Or),Mr=String.fromCharCode(32),Lr=!1;function Dr(e,t){switch(e){case"keyup":return-1!==Pr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fr(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var qr=!1;var Hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hr[e.type]:"textarea"===t}function Wr(e,t,r,o){Ae(o),0<(t=Go(t,"onChange")).length&&(r=new cr("onChange","change",null,r,o),e.push({event:r,listeners:t}))}var Kr=null,Gr=null;function Vr(e){Lo(e,0)}function Yr(e){if(V(kn(e)))return e}function Xr(e,t){if("change"===e)return t}var Qr=!1;if(u){var Zr;if(u){var Jr="oninput"in document;if(!Jr){var $r=document.createElement("div");$r.setAttribute("oninput","return;"),Jr="function"===typeof $r.oninput}Zr=Jr}else Zr=!1;Qr=Zr&&(!document.documentMode||9<document.documentMode)}function eo(){Kr&&(Kr.detachEvent("onpropertychange",to),Gr=Kr=null)}function to(e){if("value"===e.propertyName&&Yr(Gr)){var t=[];Wr(t,Gr,e,ke(e)),Ne(Vr,t)}}function ro(e,t,r){"focusin"===e?(eo(),Gr=r,(Kr=t).attachEvent("onpropertychange",to)):"focusout"===e&&eo()}function oo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yr(Gr)}function no(e,t){if("click"===e)return Yr(t)}function io(e,t){if("input"===e||"change"===e)return Yr(t)}var ao="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function so(e,t){if(ao(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var n=r[o];if(!d.call(t,n)||!ao(e[n],t[n]))return!1}return!0}function lo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function co(e,t){var r,o=lo(e);for(e=0;o;){if(3===o.nodeType){if(r=e+o.textContent.length,e<=t&&r>=t)return{node:o,offset:t-e};e=r}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=lo(o)}}function uo(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?uo(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fo(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(o){r=!1}if(!r)break;t=Y((e=t.contentWindow).document)}return t}function ho(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function po(e){var t=fo(),r=e.focusedElem,o=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uo(r.ownerDocument.documentElement,r)){if(null!==o&&ho(r))if(t=o.start,void 0===(e=o.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var n=r.textContent.length,i=Math.min(o.start,n);o=void 0===o.end?i:Math.min(o.end,n),!e.extend&&i>o&&(n=o,o=i,i=n),n=co(r,i);var a=co(r,o);n&&a&&(1!==e.rangeCount||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(n.node,n.offset),e.removeAllRanges(),i>o?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var go=u&&"documentMode"in document&&11>=document.documentMode,mo=null,vo=null,bo=null,yo=!1;function wo(e,t,r){var o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;yo||null==mo||mo!==Y(o)||("selectionStart"in(o=mo)&&ho(o)?o={start:o.selectionStart,end:o.selectionEnd}:o={anchorNode:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset},bo&&so(bo,o)||(bo=o,0<(o=Go(vo,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:o}),t.target=mo)))}function ko(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var xo={animationend:ko("Animation","AnimationEnd"),animationiteration:ko("Animation","AnimationIteration"),animationstart:ko("Animation","AnimationStart"),transitionend:ko("Transition","TransitionEnd")},Co={},So={};function _o(e){if(Co[e])return Co[e];if(!xo[e])return e;var t,r=xo[e];for(t in r)if(r.hasOwnProperty(t)&&t in So)return Co[e]=r[t];return e}u&&(So=document.createElement("div").style,"AnimationEvent"in window||(delete xo.animationend.animation,delete xo.animationiteration.animation,delete xo.animationstart.animation),"TransitionEvent"in window||delete xo.transitionend.transition);var Ao=_o("animationend"),To=_o("animationiteration"),Eo=_o("animationstart"),Bo=_o("transitionend"),Io=new Map,No="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Po(e,t){Io.set(e,t),l(t,[e])}for(var Ro=0;Ro<No.length;Ro++){var Oo=No[Ro];Po(Oo.toLowerCase(),"on"+(Oo[0].toUpperCase()+Oo.slice(1)))}Po(Ao,"onAnimationEnd"),Po(To,"onAnimationIteration"),Po(Eo,"onAnimationStart"),Po("dblclick","onDoubleClick"),Po("focusin","onFocus"),Po("focusout","onBlur"),Po(Bo,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),zo=new Set("cancel close invalid load scroll toggle".split(" ").concat(jo));function Mo(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,n,a,s,l,c){if(qe.apply(this,arguments),ze){if(!ze)throw Error(i(198));var u=Me;ze=!1,Me=null,Le||(Le=!0,De=u)}}(o,t,void 0,e),e.currentTarget=null}function Lo(e,t){t=0!==(4&t);for(var r=0;r<e.length;r++){var o=e[r],n=o.event;o=o.listeners;e:{var i=void 0;if(t)for(var a=o.length-1;0<=a;a--){var s=o[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&n.isPropagationStopped())break e;Mo(n,s,c),i=l}else for(a=0;a<o.length;a++){if(l=(s=o[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&n.isPropagationStopped())break e;Mo(n,s,c),i=l}}}if(Le)throw e=De,Le=!1,De=null,e}function Do(e,t){var r=t[mn];void 0===r&&(r=t[mn]=new Set);var o=e+"__bubble";r.has(o)||(Uo(t,e,2,!1),r.add(o))}function Fo(e,t,r){var o=0;t&&(o|=4),Uo(r,e,o,t)}var qo="_reactListening"+Math.random().toString(36).slice(2);function Ho(e){if(!e[qo]){e[qo]=!0,a.forEach((function(t){"selectionchange"!==t&&(zo.has(t)||Fo(t,!1,e),Fo(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qo]||(t[qo]=!0,Fo("selectionchange",!1,t))}}function Uo(e,t,r,o){switch(Qt(t)){case 1:var n=Kt;break;case 4:n=Gt;break;default:n=Vt}r=n.bind(null,t,r,e),n=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(n=!0),o?void 0!==n?e.addEventListener(t,r,{capture:!0,passive:n}):e.addEventListener(t,r,!0):void 0!==n?e.addEventListener(t,r,{passive:n}):e.addEventListener(t,r,!1)}function Wo(e,t,r,o,n){var i=o;if(0===(1&t)&&0===(2&t)&&null!==o)e:for(;;){if(null===o)return;var a=o.tag;if(3===a||4===a){var s=o.stateNode.containerInfo;if(s===n||8===s.nodeType&&s.parentNode===n)break;if(4===a)for(a=o.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===n||8===l.nodeType&&l.parentNode===n))return;a=a.return}for(;null!==s;){if(null===(a=yn(s)))return;if(5===(l=a.tag)||6===l){o=i=a;continue e}s=s.parentNode}}o=o.return}Ne((function(){var o=i,n=ke(r),a=[];e:{var s=Io.get(e);if(void 0!==s){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Ar;break;case"focusin":c="focus",l=gr;break;case"focusout":c="blur",l=gr;break;case"beforeblur":case"afterblur":l=gr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=pr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Er;break;case Ao:case To:case Eo:l=mr;break;case Bo:l=Br;break;case"scroll":l=dr;break;case"wheel":l=Nr;break;case"copy":case"cut":case"paste":l=br;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tr}var u=0!==(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=o;null!==p;){var g=(h=p).stateNode;if(5===h.tag&&null!==g&&(h=g,null!==f&&(null!=(g=Pe(p,f))&&u.push(Ko(p,g,h)))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,r,n),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===we||!(c=r.relatedTarget||r.fromElement)||!yn(c)&&!c[gn])&&(l||s)&&(s=n.window===n?n:(s=n.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=o,null!==(c=(c=r.relatedTarget||r.toElement)?yn(c):null)&&(c!==(d=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=o),l!==c)){if(u=hr,g="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tr,g="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:kn(l),h=null==c?s:kn(c),(s=new u(g,p+"leave",l,r,n)).target=d,s.relatedTarget=h,g=null,yn(n)===o&&((u=new u(f,p+"enter",c,r,n)).target=h,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,p=0,h=u=l;h;h=Vo(h))p++;for(h=0,g=f;g;g=Vo(g))h++;for(;0<p-h;)u=Vo(u),p--;for(;0<h-p;)f=Vo(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=Vo(u),f=Vo(f)}u=null}else u=null;null!==l&&Yo(a,s,l,u,!1),null!==c&&null!==d&&Yo(a,d,c,u,!0)}if("select"===(l=(s=o?kn(o):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Xr;else if(Ur(s))if(Qr)m=io;else{m=oo;var v=ro}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=no);switch(m&&(m=m(e,o))?Wr(a,m,r,n):(v&&v(e,s,o),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=o?kn(o):window,e){case"focusin":(Ur(v)||"true"===v.contentEditable)&&(mo=v,vo=o,bo=null);break;case"focusout":bo=vo=mo=null;break;case"mousedown":yo=!0;break;case"contextmenu":case"mouseup":case"dragend":yo=!1,wo(a,r,n);break;case"selectionchange":if(go)break;case"keydown":case"keyup":wo(a,r,n)}var b;if(Rr)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else qr?Dr(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(zr&&"ko"!==r.locale&&(qr||"onCompositionStart"!==y?"onCompositionEnd"===y&&qr&&(b=er()):(Jt="value"in(Zt=n)?Zt.value:Zt.textContent,qr=!0)),0<(v=Go(o,y)).length&&(y=new yr(y,e,null,r,n),a.push({event:y,listeners:v}),b?y.data=b:null!==(b=Fr(r))&&(y.data=b))),(b=jr?function(e,t){switch(e){case"compositionend":return Fr(t);case"keypress":return 32!==t.which?null:(Lr=!0,Mr);case"textInput":return(e=t.data)===Mr&&Lr?null:e;default:return null}}(e,r):function(e,t){if(qr)return"compositionend"===e||!Rr&&Dr(e,t)?(e=er(),$t=Jt=Zt=null,qr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zr&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(o=Go(o,"onBeforeInput")).length&&(n=new yr("onBeforeInput","beforeinput",null,r,n),a.push({event:n,listeners:o}),n.data=b))}Lo(a,t)}))}function Ko(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Go(e,t){for(var r=t+"Capture",o=[];null!==e;){var n=e,i=n.stateNode;5===n.tag&&null!==i&&(n=i,null!=(i=Pe(e,r))&&o.unshift(Ko(e,i,n)),null!=(i=Pe(e,t))&&o.push(Ko(e,i,n))),e=e.return}return o}function Vo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yo(e,t,r,o,n){for(var i=t._reactName,a=[];null!==r&&r!==o;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===o)break;5===s.tag&&null!==c&&(s=c,n?null!=(l=Pe(r,i))&&a.unshift(Ko(r,l,s)):n||null!=(l=Pe(r,i))&&a.push(Ko(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}var Xo=/\r\n?/g,Qo=/\u0000|\uFFFD/g;function Zo(e){return("string"===typeof e?e:""+e).replace(Xo,"\n").replace(Qo,"")}function Jo(e,t,r){if(t=Zo(t),Zo(e)!==t&&r)throw Error(i(425))}function $o(){}var en=null,tn=null;function rn(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var on="function"===typeof setTimeout?setTimeout:void 0,nn="function"===typeof clearTimeout?clearTimeout:void 0,an="function"===typeof Promise?Promise:void 0,sn="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof an?function(e){return an.resolve(null).then(e).catch(ln)}:on;function ln(e){setTimeout((function(){throw e}))}function cn(e,t){var r=t,o=0;do{var n=r.nextSibling;if(e.removeChild(r),n&&8===n.nodeType)if("/$"===(r=n.data)){if(0===o)return e.removeChild(n),void Ht(t);o--}else"$"!==r&&"$?"!==r&&"$!"!==r||o++;r=n}while(r);Ht(t)}function un(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function dn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var fn=Math.random().toString(36).slice(2),hn="__reactFiber$"+fn,pn="__reactProps$"+fn,gn="__reactContainer$"+fn,mn="__reactEvents$"+fn,vn="__reactListeners$"+fn,bn="__reactHandles$"+fn;function yn(e){var t=e[hn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[gn]||r[hn]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=dn(e);null!==e;){if(r=e[hn])return r;e=dn(e)}return t}r=(e=r).parentNode}return null}function wn(e){return!(e=e[hn]||e[gn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function kn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xn(e){return e[pn]||null}var Cn=[],Sn=-1;function _n(e){return{current:e}}function An(e){0>Sn||(e.current=Cn[Sn],Cn[Sn]=null,Sn--)}function Tn(e,t){Sn++,Cn[Sn]=e.current,e.current=t}var En={},Bn=_n(En),In=_n(!1),Nn=En;function Pn(e,t){var r=e.type.contextTypes;if(!r)return En;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var n,i={};for(n in r)i[n]=t[n];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Rn(e){return null!==(e=e.childContextTypes)&&void 0!==e}function On(){An(In),An(Bn)}function jn(e,t,r){if(Bn.current!==En)throw Error(i(168));Tn(Bn,t),Tn(In,r)}function zn(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!==typeof o.getChildContext)return r;for(var n in o=o.getChildContext())if(!(n in t))throw Error(i(108,U(e)||"Unknown",n));return M({},r,o)}function Mn(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||En,Nn=Bn.current,Tn(Bn,e),Tn(In,In.current),!0}function Ln(e,t,r){var o=e.stateNode;if(!o)throw Error(i(169));r?(e=zn(e,t,Nn),o.__reactInternalMemoizedMergedChildContext=e,An(In),An(Bn),Tn(Bn,e)):An(In),Tn(In,r)}var Dn=null,Fn=!1,qn=!1;function Hn(e){null===Dn?Dn=[e]:Dn.push(e)}function Un(){if(!qn&&null!==Dn){qn=!0;var e=0,t=yt;try{var r=Dn;for(yt=1;e<r.length;e++){var o=r[e];do{o=o(!0)}while(null!==o)}Dn=null,Fn=!1}catch(n){throw null!==Dn&&(Dn=Dn.slice(e+1)),Ve($e,Un),n}finally{yt=t,qn=!1}}return null}var Wn=[],Kn=0,Gn=null,Vn=0,Yn=[],Xn=0,Qn=null,Zn=1,Jn="";function $n(e,t){Wn[Kn++]=Vn,Wn[Kn++]=Gn,Gn=e,Vn=t}function ei(e,t,r){Yn[Xn++]=Zn,Yn[Xn++]=Jn,Yn[Xn++]=Qn,Qn=e;var o=Zn;e=Jn;var n=32-at(o)-1;o&=~(1<<n),r+=1;var i=32-at(t)+n;if(30<i){var a=n-n%5;i=(o&(1<<a)-1).toString(32),o>>=a,n-=a,Zn=1<<32-at(t)+n|r<<n|o,Jn=i+e}else Zn=1<<i|r<<n|o,Jn=e}function ti(e){null!==e.return&&($n(e,1),ei(e,1,0))}function ri(e){for(;e===Gn;)Gn=Wn[--Kn],Wn[Kn]=null,Vn=Wn[--Kn],Wn[Kn]=null;for(;e===Qn;)Qn=Yn[--Xn],Yn[Xn]=null,Jn=Yn[--Xn],Yn[Xn]=null,Zn=Yn[--Xn],Yn[Xn]=null}var oi=null,ni=null,ii=!1,ai=null;function si(e,t){var r=Nc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function li(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oi=e,ni=un(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oi=e,ni=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Qn?{id:Zn,overflow:Jn}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Nc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,oi=e,ni=null,!0);default:return!1}}function ci(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ui(e){if(ii){var t=ni;if(t){var r=t;if(!li(e,t)){if(ci(e))throw Error(i(418));t=un(r.nextSibling);var o=oi;t&&li(e,t)?si(o,r):(e.flags=-4097&e.flags|2,ii=!1,oi=e)}}else{if(ci(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,oi=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oi=e}function fi(e){if(e!==oi)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rn(e.type,e.memoizedProps)),t&&(t=ni)){if(ci(e))throw hi(),Error(i(418));for(;t;)si(e,t),t=un(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){ni=un(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ni=null}}else ni=oi?un(e.stateNode.nextSibling):null;return!0}function hi(){for(var e=ni;e;)e=un(e.nextSibling)}function pi(){ni=oi=null,ii=!1}function gi(e){null===ai?ai=[e]:ai.push(e)}var mi=w.ReactCurrentBatchConfig;function vi(e,t,r){if(null!==(e=r.ref)&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(i(309));var o=r.stateNode}if(!o)throw Error(i(147,e));var n=o,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=n.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!r._owner)throw Error(i(290,e))}return e}function bi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function yi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,r){if(e){var o=t.deletions;null===o?(t.deletions=[r],t.flags|=16):o.push(r)}}function r(r,o){if(!e)return null;for(;null!==o;)t(r,o),o=o.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function n(e,t){return(e=Rc(e,t)).index=0,e.sibling=null,e}function a(t,r,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<r?(t.flags|=2,r):o:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,o){return null===t||6!==t.tag?((t=Mc(r,e.mode,o)).return=e,t):((t=n(t,r)).return=e,t)}function c(e,t,r,o){var i=r.type;return i===C?d(e,t,r.props.children,o,r.key):null!==t&&(t.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===P&&yi(i)===t.type)?((o=n(t,r.props)).ref=vi(e,t,r),o.return=e,o):((o=Oc(r.type,r.key,r.props,null,e.mode,o)).ref=vi(e,t,r),o.return=e,o)}function u(e,t,r,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Lc(r,e.mode,o)).return=e,t):((t=n(t,r.children||[])).return=e,t)}function d(e,t,r,o,i){return null===t||7!==t.tag?((t=jc(r,e.mode,o,i)).return=e,t):((t=n(t,r)).return=e,t)}function f(e,t,r){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Mc(""+t,e.mode,r)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case k:return(r=Oc(t.type,t.key,t.props,null,e.mode,r)).ref=vi(e,null,t),r.return=e,r;case x:return(t=Lc(t,e.mode,r)).return=e,t;case P:return f(e,(0,t._init)(t._payload),r)}if(te(t)||j(t))return(t=jc(t,e.mode,r,null)).return=e,t;bi(e,t)}return null}function h(e,t,r,o){var n=null!==t?t.key:null;if("string"===typeof r&&""!==r||"number"===typeof r)return null!==n?null:l(e,t,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case k:return r.key===n?c(e,t,r,o):null;case x:return r.key===n?u(e,t,r,o):null;case P:return h(e,t,(n=r._init)(r._payload),o)}if(te(r)||j(r))return null!==n?null:d(e,t,r,o,null);bi(e,r)}return null}function p(e,t,r,o,n){if("string"===typeof o&&""!==o||"number"===typeof o)return l(t,e=e.get(r)||null,""+o,n);if("object"===typeof o&&null!==o){switch(o.$$typeof){case k:return c(t,e=e.get(null===o.key?r:o.key)||null,o,n);case x:return u(t,e=e.get(null===o.key?r:o.key)||null,o,n);case P:return p(e,t,r,(0,o._init)(o._payload),n)}if(te(o)||j(o))return d(t,e=e.get(r)||null,o,n,null);bi(t,o)}return null}function g(n,i,s,l){for(var c=null,u=null,d=i,g=i=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=h(n,d,s[g],l);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(n,d),i=a(v,i,g),null===u?c=v:u.sibling=v,u=v,d=m}if(g===s.length)return r(n,d),ii&&$n(n,g),c;if(null===d){for(;g<s.length;g++)null!==(d=f(n,s[g],l))&&(i=a(d,i,g),null===u?c=d:u.sibling=d,u=d);return ii&&$n(n,g),c}for(d=o(n,d);g<s.length;g++)null!==(m=p(d,n,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=a(m,i,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(n,e)})),ii&&$n(n,g),c}function m(n,s,l,c){var u=j(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,g=s,m=s=0,v=null,b=l.next();null!==g&&!b.done;m++,b=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var y=h(n,g,b.value,c);if(null===y){null===g&&(g=v);break}e&&g&&null===y.alternate&&t(n,g),s=a(y,s,m),null===d?u=y:d.sibling=y,d=y,g=v}if(b.done)return r(n,g),ii&&$n(n,m),u;if(null===g){for(;!b.done;m++,b=l.next())null!==(b=f(n,b.value,c))&&(s=a(b,s,m),null===d?u=b:d.sibling=b,d=b);return ii&&$n(n,m),u}for(g=o(n,g);!b.done;m++,b=l.next())null!==(b=p(g,n,m,b.value,c))&&(e&&null!==b.alternate&&g.delete(null===b.key?m:b.key),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b);return e&&g.forEach((function(e){return t(n,e)})),ii&&$n(n,m),u}return function e(o,i,a,l){if("object"===typeof a&&null!==a&&a.type===C&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case k:e:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===C){if(7===u.tag){r(o,u.sibling),(i=n(u,a.props.children)).return=o,o=i;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===P&&yi(c)===u.type){r(o,u.sibling),(i=n(u,a.props)).ref=vi(o,u,a),i.return=o,o=i;break e}r(o,u);break}t(o,u),u=u.sibling}a.type===C?((i=jc(a.props.children,o.mode,l,a.key)).return=o,o=i):((l=Oc(a.type,a.key,a.props,null,o.mode,l)).ref=vi(o,i,a),l.return=o,o=l)}return s(o);case x:e:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){r(o,i.sibling),(i=n(i,a.children||[])).return=o,o=i;break e}r(o,i);break}t(o,i),i=i.sibling}(i=Lc(a,o.mode,l)).return=o,o=i}return s(o);case P:return e(o,i,(u=a._init)(a._payload),l)}if(te(a))return g(o,i,a,l);if(j(a))return m(o,i,a,l);bi(o,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(r(o,i.sibling),(i=n(i,a)).return=o,o=i):(r(o,i),(i=Mc(a,o.mode,l)).return=o,o=i),s(o)):r(o,i)}}var ki=wi(!0),xi=wi(!1),Ci=_n(null),Si=null,_i=null,Ai=null;function Ti(){Ai=_i=Si=null}function Ei(e){var t=Ci.current;An(Ci),e._currentValue=t}function Bi(e,t,r){for(;null!==e;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==o&&(o.childLanes|=t)):null!==o&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===r)break;e=e.return}}function Ii(e,t){Si=e,Ai=_i=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ys=!0),e.firstContext=null)}function Ni(e){var t=e._currentValue;if(Ai!==e)if(e={context:e,memoizedValue:t,next:null},null===_i){if(null===Si)throw Error(i(308));_i=e,Si.dependencies={lanes:0,firstContext:e}}else _i=_i.next=e;return t}var Pi=null;function Ri(e){null===Pi?Pi=[e]:Pi.push(e)}function Oi(e,t,r,o){var n=t.interleaved;return null===n?(r.next=r,Ri(t)):(r.next=n.next,n.next=r),t.interleaved=r,ji(e,o)}function ji(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var zi=!1;function Mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Di(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fi(e,t,r){var o=e.updateQueue;if(null===o)return null;if(o=o.shared,0!==(2&El)){var n=o.pending;return null===n?t.next=t:(t.next=n.next,n.next=t),o.pending=t,ji(e,r)}return null===(n=o.interleaved)?(t.next=t,Ri(o)):(t.next=n.next,n.next=t),o.interleaved=t,ji(e,r)}function qi(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&r))){var o=t.lanes;r|=o&=e.pendingLanes,t.lanes=r,bt(e,r)}}function Hi(e,t){var r=e.updateQueue,o=e.alternate;if(null!==o&&r===(o=o.updateQueue)){var n=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?n=i=a:i=i.next=a,r=r.next}while(null!==r);null===i?n=i=t:i=i.next=t}else n=i=t;return r={baseState:o.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ui(e,t,r,o){var n=e.updateQueue;zi=!1;var i=n.firstBaseUpdate,a=n.lastBaseUpdate,s=n.shared.pending;if(null!==s){n.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=n.baseState;for(a=0,u=c=l=null,s=i;;){var f=s.lane,h=s.eventTime;if((o&f)===f){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(f=t,h=r,g.tag){case 1:if("function"===typeof(p=g.payload)){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(f="function"===typeof(p=g.payload)?p.call(h,d,f):p)||void 0===f)break e;d=M({},d,f);break e;case 2:zi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=n.effects)?n.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=f;if(null===(s=s.next)){if(null===(s=n.shared.pending))break;s=(f=s).next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}}if(null===u&&(l=d),n.baseState=l,n.firstBaseUpdate=c,n.lastBaseUpdate=u,null!==(t=n.shared.interleaved)){n=t;do{a|=n.lane,n=n.next}while(n!==t)}else null===i&&(n.shared.lanes=0);zl|=a,e.lanes=a,e.memoizedState=d}}function Wi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],n=o.callback;if(null!==n){if(o.callback=null,o=r,"function"!==typeof n)throw Error(i(191,n));n.call(o)}}}var Ki={},Gi=_n(Ki),Vi=_n(Ki),Yi=_n(Ki);function Xi(e){if(e===Ki)throw Error(i(174));return e}function Qi(e,t){switch(Tn(Yi,t),Tn(Vi,e),Tn(Gi,Ki),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}An(Gi),Tn(Gi,t)}function Zi(){An(Gi),An(Vi),An(Yi)}function Ji(e){Xi(Yi.current);var t=Xi(Gi.current),r=le(t,e.type);t!==r&&(Tn(Vi,e),Tn(Gi,r))}function $i(e){Vi.current===e&&(An(Gi),An(Vi))}var ea=_n(0);function ta(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ra=[];function oa(){for(var e=0;e<ra.length;e++)ra[e]._workInProgressVersionPrimary=null;ra.length=0}var na=w.ReactCurrentDispatcher,ia=w.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,fa=0,ha=0;function pa(){throw Error(i(321))}function ga(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ao(e[r],t[r]))return!1;return!0}function ma(e,t,r,o,n,a){if(aa=a,sa=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,na.current=null===e||null===e.memoizedState?$a:es,e=r(o,n),da){a=0;do{if(da=!1,fa=0,25<=a)throw Error(i(301));a+=1,ca=la=null,t.updateQueue=null,na.current=ts,e=r(o,n)}while(da)}if(na.current=Ja,t=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,t)throw Error(i(300));return e}function va(){var e=0!==fa;return fa=0,e}function ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=e:ca=ca.next=e,ca}function ya(){if(null===la){var e=sa.alternate;e=null!==e?e.memoizedState:null}else e=la.next;var t=null===ca?sa.memoizedState:ca.next;if(null!==t)ca=t,la=e;else{if(null===e)throw Error(i(310));e={memoizedState:(la=e).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=e:ca=ca.next=e}return ca}function wa(e,t){return"function"===typeof t?t(e):t}function ka(e){var t=ya(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var o=la,n=o.baseQueue,a=r.pending;if(null!==a){if(null!==n){var s=n.next;n.next=a.next,a.next=s}o.baseQueue=n=a,r.pending=null}if(null!==n){a=n.next,o=o.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),o=u.hasEagerState?u.eagerState:e(o,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=o):c=c.next=f,sa.lanes|=d,zl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=o:c.next=l,ao(o,t.memoizedState)||(ys=!0),t.memoizedState=o,t.baseState=s,t.baseQueue=c,r.lastRenderedState=o}if(null!==(e=r.interleaved)){n=e;do{a=n.lane,sa.lanes|=a,zl|=a,n=n.next}while(n!==e)}else null===n&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function xa(e){var t=ya(),r=t.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=e;var o=r.dispatch,n=r.pending,a=t.memoizedState;if(null!==n){r.pending=null;var s=n=n.next;do{a=e(a,s.action),s=s.next}while(s!==n);ao(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,o]}function Ca(){}function Sa(e,t){var r=sa,o=ya(),n=t(),a=!ao(o.memoizedState,n);if(a&&(o.memoizedState=n,ys=!0),o=o.queue,za(Ta.bind(null,r,o,e),[e]),o.getSnapshot!==t||a||null!==ca&&1&ca.memoizedState.tag){if(r.flags|=2048,Na(9,Aa.bind(null,r,o,n,t),void 0,null),null===Bl)throw Error(i(349));0!==(30&aa)||_a(r,t,n)}return n}function _a(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Aa(e,t,r,o){t.value=r,t.getSnapshot=o,Ea(t)&&Ba(e)}function Ta(e,t,r){return r((function(){Ea(t)&&Ba(e)}))}function Ea(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ao(e,r)}catch(o){return!0}}function Ba(e){var t=ji(e,1);null!==t&&rc(t,e,1,-1)}function Ia(e){var t=ba();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},t.queue=e,e=e.dispatch=Ya.bind(null,sa,e),[t.memoizedState,e]}function Na(e,t,r,o){return e={tag:e,create:t,destroy:r,deps:o,next:null},null===(t=sa.updateQueue)?(t={lastEffect:null,stores:null},sa.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,t.lastEffect=e),e}function Pa(){return ya().memoizedState}function Ra(e,t,r,o){var n=ba();sa.flags|=e,n.memoizedState=Na(1|t,r,void 0,void 0===o?null:o)}function Oa(e,t,r,o){var n=ya();o=void 0===o?null:o;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==o&&ga(o,a.deps))return void(n.memoizedState=Na(t,r,i,o))}sa.flags|=e,n.memoizedState=Na(1|t,r,i,o)}function ja(e,t){return Ra(8390656,8,e,t)}function za(e,t){return Oa(2048,8,e,t)}function Ma(e,t){return Oa(4,2,e,t)}function La(e,t){return Oa(4,4,e,t)}function Da(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fa(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,Oa(4,4,Da.bind(null,t,e),r)}function qa(){}function Ha(e,t){var r=ya();t=void 0===t?null:t;var o=r.memoizedState;return null!==o&&null!==t&&ga(t,o[1])?o[0]:(r.memoizedState=[e,t],e)}function Ua(e,t){var r=ya();t=void 0===t?null:t;var o=r.memoizedState;return null!==o&&null!==t&&ga(t,o[1])?o[0]:(e=e(),r.memoizedState=[e,t],e)}function Wa(e,t,r){return 0===(21&aa)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=r):(ao(r,t)||(r=gt(),sa.lanes|=r,zl|=r,e.baseState=!0),t)}function Ka(e,t){var r=yt;yt=0!==r&&4>r?r:4,e(!0);var o=ia.transition;ia.transition={};try{e(!1),t()}finally{yt=r,ia.transition=o}}function Ga(){return ya().memoizedState}function Va(e,t,r){var o=tc(e);if(r={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null},Xa(e))Qa(t,r);else if(null!==(r=Oi(e,t,r,o))){rc(r,e,o,ec()),Za(r,t,o)}}function Ya(e,t,r){var o=tc(e),n={lane:o,action:r,hasEagerState:!1,eagerState:null,next:null};if(Xa(e))Qa(t,n);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,r);if(n.hasEagerState=!0,n.eagerState=s,ao(s,a)){var l=t.interleaved;return null===l?(n.next=n,Ri(t)):(n.next=l.next,l.next=n),void(t.interleaved=n)}}catch(c){}null!==(r=Oi(e,t,n,o))&&(rc(r,e,o,n=ec()),Za(r,t,o))}}function Xa(e){var t=e.alternate;return e===sa||null!==t&&t===sa}function Qa(e,t){da=ua=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Za(e,t,r){if(0!==(4194240&r)){var o=t.lanes;r|=o&=e.pendingLanes,t.lanes=r,bt(e,r)}}var Ja={readContext:Ni,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},$a={readContext:Ni,useCallback:function(e,t){return ba().memoizedState=[e,void 0===t?null:t],e},useContext:Ni,useEffect:ja,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,Ra(4194308,4,Da.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var r=ba();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var o=ba();return t=void 0!==r?r(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=Va.bind(null,sa,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},ba().memoizedState=e},useState:Ia,useDebugValue:qa,useDeferredValue:function(e){return ba().memoizedState=e},useTransition:function(){var e=Ia(!1),t=e[0];return e=Ka.bind(null,e[1]),ba().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=sa,n=ba();if(ii){if(void 0===r)throw Error(i(407));r=r()}else{if(r=t(),null===Bl)throw Error(i(349));0!==(30&aa)||_a(o,t,r)}n.memoizedState=r;var a={value:r,getSnapshot:t};return n.queue=a,ja(Ta.bind(null,o,a,e),[e]),o.flags|=2048,Na(9,Aa.bind(null,o,a,r,t),void 0,null),r},useId:function(){var e=ba(),t=Bl.identifierPrefix;if(ii){var r=Jn;t=":"+t+"R"+(r=(Zn&~(1<<32-at(Zn)-1)).toString(32)+r),0<(r=fa++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=ha++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ni,useCallback:Ha,useContext:Ni,useEffect:za,useImperativeHandle:Fa,useInsertionEffect:Ma,useLayoutEffect:La,useMemo:Ua,useReducer:ka,useRef:Pa,useState:function(){return ka(wa)},useDebugValue:qa,useDeferredValue:function(e){return Wa(ya(),la.memoizedState,e)},useTransition:function(){return[ka(wa)[0],ya().memoizedState]},useMutableSource:Ca,useSyncExternalStore:Sa,useId:Ga,unstable_isNewReconciler:!1},ts={readContext:Ni,useCallback:Ha,useContext:Ni,useEffect:za,useImperativeHandle:Fa,useInsertionEffect:Ma,useLayoutEffect:La,useMemo:Ua,useReducer:xa,useRef:Pa,useState:function(){return xa(wa)},useDebugValue:qa,useDeferredValue:function(e){var t=ya();return null===la?t.memoizedState=e:Wa(t,la.memoizedState,e)},useTransition:function(){return[xa(wa)[0],ya().memoizedState]},useMutableSource:Ca,useSyncExternalStore:Sa,useId:Ga,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=M({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function os(e,t,r,o){r=null===(r=r(o,t=e.memoizedState))||void 0===r?t:M({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var ns={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var o=ec(),n=tc(e),i=Di(o,n);i.payload=t,void 0!==r&&null!==r&&(i.callback=r),null!==(t=Fi(e,i,n))&&(rc(t,e,n,o),qi(t,e,n))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var o=ec(),n=tc(e),i=Di(o,n);i.tag=1,i.payload=t,void 0!==r&&null!==r&&(i.callback=r),null!==(t=Fi(e,i,n))&&(rc(t,e,n,o),qi(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ec(),o=tc(e),n=Di(r,o);n.tag=2,void 0!==t&&null!==t&&(n.callback=t),null!==(t=Fi(e,n,o))&&(rc(t,e,o,r),qi(t,e,o))}};function is(e,t,r,o,n,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!so(r,o)||!so(n,i))}function as(e,t,r){var o=!1,n=En,i=t.contextType;return"object"===typeof i&&null!==i?i=Ni(i):(n=Rn(t)?Nn:Bn.current,i=(o=null!==(o=t.contextTypes)&&void 0!==o)?Pn(e,n):En),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ns,e.stateNode=t,t._reactInternals=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),t}function ss(e,t,r,o){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,o),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,o),t.state!==e&&ns.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,o){var n=e.stateNode;n.props=r,n.state=e.memoizedState,n.refs={},Mi(e);var i=t.contextType;"object"===typeof i&&null!==i?n.context=Ni(i):(i=Rn(t)?Nn:Bn.current,n.context=Pn(e,i)),n.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(os(e,t,i,r),n.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof n.getSnapshotBeforeUpdate||"function"!==typeof n.UNSAFE_componentWillMount&&"function"!==typeof n.componentWillMount||(t=n.state,"function"===typeof n.componentWillMount&&n.componentWillMount(),"function"===typeof n.UNSAFE_componentWillMount&&n.UNSAFE_componentWillMount(),t!==n.state&&ns.enqueueReplaceState(n,n.state,null),Ui(e,r,n,o),n.state=e.memoizedState),"function"===typeof n.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var r="",o=t;do{r+=q(o),o=o.return}while(o);var n=r}catch(i){n="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:n,digest:null}}function us(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(r){setTimeout((function(){throw r}))}}var fs="function"===typeof WeakMap?WeakMap:Map;function hs(e,t,r){(r=Di(-1,r)).tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Wl||(Wl=!0,Kl=o),ds(0,t)},r}function ps(e,t,r){(r=Di(-1,r)).tag=3;var o=e.type.getDerivedStateFromError;if("function"===typeof o){var n=t.value;r.payload=function(){return o(n)},r.callback=function(){ds(0,t)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!==typeof o&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function gs(e,t,r){var o=e.pingCache;if(null===o){o=e.pingCache=new fs;var n=new Set;o.set(t,n)}else void 0===(n=o.get(t))&&(n=new Set,o.set(t,n));n.has(r)||(n.add(r),e=_c.bind(null,e,t,r),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,r,o,n){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Di(-1,1)).tag=2,Fi(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=n,e)}var bs=w.ReactCurrentOwner,ys=!1;function ws(e,t,r,o){t.child=null===e?xi(t,null,r,o):ki(t,e.child,r,o)}function ks(e,t,r,o,n){r=r.render;var i=t.ref;return Ii(t,n),o=ma(e,t,r,o,i,n),r=va(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,ws(e,t,o,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ws(e,t,n))}function xs(e,t,r,o,n){if(null===e){var i=r.type;return"function"!==typeof i||Pc(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Oc(r.type,null,o,t,t.mode,n)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Cs(e,t,i,o,n))}if(i=e.child,0===(e.lanes&n)){var a=i.memoizedProps;if((r=null!==(r=r.compare)?r:so)(a,o)&&e.ref===t.ref)return Ws(e,t,n)}return t.flags|=1,(e=Rc(i,o)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,r,o,n){if(null!==e){var i=e.memoizedProps;if(so(i,o)&&e.ref===t.ref){if(ys=!1,t.pendingProps=o=i,0===(e.lanes&n))return t.lanes=e.lanes,Ws(e,t,n);0!==(131072&e.flags)&&(ys=!0)}}return As(e,t,r,o,n)}function Ss(e,t,r){var o=t.pendingProps,n=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tn(Rl,Pl),Pl|=r;else{if(0===(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Tn(Rl,Pl),Pl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=null!==i?i.baseLanes:r,Tn(Rl,Pl),Pl|=o}else null!==i?(o=i.baseLanes|r,t.memoizedState=null):o=r,Tn(Rl,Pl),Pl|=o;return ws(e,t,n,r),t.child}function _s(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,r,o,n){var i=Rn(r)?Nn:Bn.current;return i=Pn(t,i),Ii(t,n),r=ma(e,t,r,o,i,n),o=va(),null===e||ys?(ii&&o&&ti(t),t.flags|=1,ws(e,t,r,n),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Ws(e,t,n))}function Ts(e,t,r,o,n){if(Rn(r)){var i=!0;Mn(t)}else i=!1;if(Ii(t,n),null===t.stateNode)Us(e,t),as(t,r,o),ls(t,r,o,n),o=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;"object"===typeof c&&null!==c?c=Ni(c):c=Pn(t,c=Rn(r)?Nn:Bn.current);var u=r.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==o||l!==c)&&ss(t,a,o,c),zi=!1;var f=t.memoizedState;a.state=f,Ui(t,o,a,n),l=t.memoizedState,s!==o||f!==l||In.current||zi?("function"===typeof u&&(os(t,r,u,o),l=t.memoizedState),(s=zi||is(t,r,s,o,f,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=l),a.props=o,a.state=l,a.context=c,o=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),o=!1)}else{a=t.stateNode,Li(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:rs(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"===typeof(l=r.contextType)&&null!==l?l=Ni(l):l=Pn(t,l=Rn(r)?Nn:Bn.current);var h=r.getDerivedStateFromProps;(u="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&ss(t,a,o,l),zi=!1,f=t.memoizedState,a.state=f,Ui(t,o,a,n);var p=t.memoizedState;s!==d||f!==p||In.current||zi?("function"===typeof h&&(os(t,r,h,o),p=t.memoizedState),(c=zi||is(t,r,c,o,f,p,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(o,p,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(o,p,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=p),a.props=o,a.state=p,a.context=l,o=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),o=!1)}return Es(e,t,r,o,i,n)}function Es(e,t,r,o,n,i){_s(e,t);var a=0!==(128&t.flags);if(!o&&!a)return n&&Ln(t,r,!1),Ws(e,t,i);o=t.stateNode,bs.current=t;var s=a&&"function"!==typeof r.getDerivedStateFromError?null:o.render();return t.flags|=1,null!==e&&a?(t.child=ki(t,e.child,null,i),t.child=ki(t,null,s,i)):ws(e,t,s,i),t.memoizedState=o.state,n&&Ln(t,r,!0),t.child}function Bs(e){var t=e.stateNode;t.pendingContext?jn(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jn(0,t.context,!1),Qi(e,t.containerInfo)}function Is(e,t,r,o,n){return pi(),gi(n),t.flags|=256,ws(e,t,r,o),t.child}var Ns,Ps,Rs,Os,js={dehydrated:null,treeContext:null,retryLane:0};function zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,r){var o,n=t.pendingProps,a=ea.current,s=!1,l=0!==(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&0!==(2&a)),o?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Tn(ea,1&a),null===e)return ui(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=n.children,e=n.fallback,s?(n=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&n)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=zc(l,n,0,null),e=jc(e,n,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=zs(r),t.memoizedState=js,e):Ls(t,l));if(null!==(a=e.memoizedState)&&null!==(o=a.dehydrated))return function(e,t,r,o,n,a,s){if(r)return 256&t.flags?(t.flags&=-257,Ds(e,t,s,o=us(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=o.fallback,n=t.mode,o=zc({mode:"visible",children:o.children},n,0,null),(a=jc(a,n,s,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,0!==(1&t.mode)&&ki(t,e.child,null,s),t.child.memoizedState=zs(s),t.memoizedState=js,a);if(0===(1&t.mode))return Ds(e,t,s,null);if("$!"===n.data){if(o=n.nextSibling&&n.nextSibling.dataset)var l=o.dgst;return o=l,Ds(e,t,s,o=us(a=Error(i(419)),o,void 0))}if(l=0!==(s&e.childLanes),ys||l){if(null!==(o=Bl)){switch(s&-s){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}0!==(n=0!==(n&(o.suspendedLanes|s))?0:n)&&n!==a.retryLane&&(a.retryLane=n,ji(e,n),rc(o,e,n,-1))}return gc(),Ds(e,t,s,o=us(Error(i(421))))}return"$?"===n.data?(t.flags|=128,t.child=e.child,t=Tc.bind(null,e),n._reactRetry=t,null):(e=a.treeContext,ni=un(n.nextSibling),oi=t,ii=!0,ai=null,null!==e&&(Yn[Xn++]=Zn,Yn[Xn++]=Jn,Yn[Xn++]=Qn,Zn=e.id,Jn=e.overflow,Qn=t),t=Ls(t,o.children),t.flags|=4096,t)}(e,t,l,n,o,a,r);if(s){s=n.fallback,l=t.mode,o=(a=e.child).sibling;var c={mode:"hidden",children:n.children};return 0===(1&l)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=c,t.deletions=null):(n=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==o?s=Rc(o,s):(s=jc(s,l,r,null)).flags|=2,s.return=t,n.return=t,n.sibling=s,t.child=n,n=s,s=t.child,l=null===(l=e.child.memoizedState)?zs(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=js,n}return e=(s=e.child).sibling,n=Rc(s,{mode:"visible",children:n.children}),0===(1&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function Ls(e,t){return(t=zc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ds(e,t,r,o){return null!==o&&gi(o),ki(t,e.child,null,r),(e=Ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fs(e,t,r){e.lanes|=t;var o=e.alternate;null!==o&&(o.lanes|=t),Bi(e.return,t,r)}function qs(e,t,r,o,n){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=o,i.tail=r,i.tailMode=n)}function Hs(e,t,r){var o=t.pendingProps,n=o.revealOrder,i=o.tail;if(ws(e,t,o.children,r),0!==(2&(o=ea.current)))o=1&o|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fs(e,r,t);else if(19===e.tag)Fs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(Tn(ea,o),0===(1&t.mode))t.memoizedState=null;else switch(n){case"forwards":for(r=t.child,n=null;null!==r;)null!==(e=r.alternate)&&null===ta(e)&&(n=r),r=r.sibling;null===(r=n)?(n=t.child,t.child=null):(n=r.sibling,r.sibling=null),qs(t,!1,n,r,i);break;case"backwards":for(r=null,n=t.child,t.child=null;null!==n;){if(null!==(e=n.alternate)&&null===ta(e)){t.child=n;break}e=n.sibling,n.sibling=r,r=n,n=e}qs(t,!0,r,null,i);break;case"together":qs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Us(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),zl|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(r=Rc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Rc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Ks(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;null!==r;)null!==r.alternate&&(o=r),r=r.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,o=0;if(t)for(var n=e.child;null!==n;)r|=n.lanes|n.childLanes,o|=14680064&n.subtreeFlags,o|=14680064&n.flags,n.return=e,n=n.sibling;else for(n=e.child;null!==n;)r|=n.lanes|n.childLanes,o|=n.subtreeFlags,o|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=o,e.childLanes=r,t}function Vs(e,t,r){var o=t.pendingProps;switch(ri(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Rn(t.type)&&On(),Gs(t),null;case 3:return o=t.stateNode,Zi(),An(In),An(Bn),oa(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ps(e,t),Gs(t),null;case 5:$i(t);var n=Xi(Yi.current);if(r=t.type,null!==e&&null!=t.stateNode)Rs(e,t,r,o,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(i(166));return Gs(t),null}if(e=Xi(Gi.current),fi(t)){o=t.stateNode,r=t.type;var a=t.memoizedProps;switch(o[hn]=t,o[pn]=a,e=0!==(1&t.mode),r){case"dialog":Do("cancel",o),Do("close",o);break;case"iframe":case"object":case"embed":Do("load",o);break;case"video":case"audio":for(n=0;n<jo.length;n++)Do(jo[n],o);break;case"source":Do("error",o);break;case"img":case"image":case"link":Do("error",o),Do("load",o);break;case"details":Do("toggle",o);break;case"input":Q(o,a),Do("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!a.multiple},Do("invalid",o);break;case"textarea":ne(o,a),Do("invalid",o)}for(var l in be(r,a),n=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?o.textContent!==c&&(!0!==a.suppressHydrationWarning&&Jo(o.textContent,c,e),n=["children",c]):"number"===typeof c&&o.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Jo(o.textContent,c,e),n=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Do("scroll",o)}switch(r){case"input":G(o),$(o,a,!0);break;case"textarea":G(o),ae(o);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(o.onclick=$o)}o=n,t.updateQueue=o,null!==o&&(t.flags|=4)}else{l=9===n.nodeType?n:n.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof o.is?e=l.createElement(r,{is:o.is}):(e=l.createElement(r),"select"===r&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,r),e[hn]=t,e[pn]=o,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(r,o),r){case"dialog":Do("cancel",e),Do("close",e),n=o;break;case"iframe":case"object":case"embed":Do("load",e),n=o;break;case"video":case"audio":for(n=0;n<jo.length;n++)Do(jo[n],e);n=o;break;case"source":Do("error",e),n=o;break;case"img":case"image":case"link":Do("error",e),Do("load",e),n=o;break;case"details":Do("toggle",e),n=o;break;case"input":Q(e,o),n=X(e,o),Do("invalid",e);break;case"option":default:n=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},n=M({},o,{value:void 0}),Do("invalid",e);break;case"textarea":ne(e,o),n=oe(e,o),Do("invalid",e)}for(a in be(r,n),c=n)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===a?"string"===typeof u?("textarea"!==r||""!==u)&&fe(e,u):"number"===typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Do("scroll",e):null!=u&&y(e,a,u,l))}switch(r){case"input":G(e),$(e,o,!1);break;case"textarea":G(e),ae(e);break;case"option":null!=o.value&&e.setAttribute("value",""+W(o.value));break;case"select":e.multiple=!!o.multiple,null!=(a=o.value)?re(e,!!o.multiple,a,!1):null!=o.defaultValue&&re(e,!!o.multiple,o.defaultValue,!0);break;default:"function"===typeof n.onClick&&(e.onclick=$o)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,o);else{if("string"!==typeof o&&null===t.stateNode)throw Error(i(166));if(r=Xi(Yi.current),Xi(Gi.current),fi(t)){if(o=t.stateNode,r=t.memoizedProps,o[hn]=t,(a=o.nodeValue!==r)&&null!==(e=oi))switch(e.tag){case 3:Jo(o.nodeValue,r,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jo(o.nodeValue,r,0!==(1&e.mode))}a&&(t.flags|=4)}else(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[hn]=t,t.stateNode=o}return Gs(t),null;case 13:if(An(ea),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==ni&&0!==(1&t.mode)&&0===(128&t.flags))hi(),pi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==o&&null!==o.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[hn]=t}else pi(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=r,t):((o=null!==o)!==(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ea.current)?0===Ol&&(Ol=3):gc())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return Zi(),Ps(e,t),null===e&&Ho(t.stateNode.containerInfo),Gs(t),null;case 10:return Ei(t.type._context),Gs(t),null;case 19:if(An(ea),null===(a=t.memoizedState))return Gs(t),null;if(o=0!==(128&t.flags),null===(l=a.rendering))if(o)Ks(a,!1);else{if(0!==Ol||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ta(e))){for(t.flags|=128,Ks(a,!1),null!==(o=l.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;null!==r;)e=o,(a=r).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Tn(ea,1&ea.current|2),t.child}e=e.sibling}null!==a.tail&&Ze()>Hl&&(t.flags|=128,o=!0,Ks(a,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ta(l))){if(t.flags|=128,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Ks(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Gs(t),null}else 2*Ze()-a.renderingStartTime>Hl&&1073741824!==r&&(t.flags|=128,o=!0,Ks(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=a.last)?r.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ze(),t.sibling=null,r=ea.current,Tn(ea,o?1&r|2:1&r),t):(Gs(t),null);case 22:case 23:return dc(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&0!==(1&t.mode)?0!==(1073741824&Pl)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Ys(e,t){switch(ri(t),t.tag){case 1:return Rn(t.type)&&On(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Zi(),An(In),An(Bn),oa(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return $i(t),null;case 13:if(An(ea),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return An(ea),null;case 4:return Zi(),null;case 10:return Ei(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ns=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ps=function(){},Rs=function(e,t,r,o){var n=e.memoizedProps;if(n!==o){e=t.stateNode,Xi(Gi.current);var i,a=null;switch(r){case"input":n=X(e,n),o=X(e,o),a=[];break;case"select":n=M({},n,{value:void 0}),o=M({},o,{value:void 0}),a=[];break;case"textarea":n=oe(e,n),o=oe(e,o),a=[];break;default:"function"!==typeof n.onClick&&"function"===typeof o.onClick&&(e.onclick=$o)}for(u in be(r,o),r=null,n)if(!o.hasOwnProperty(u)&&n.hasOwnProperty(u)&&null!=n[u])if("style"===u){var l=n[u];for(i in l)l.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in o){var c=o[u];if(l=null!=n?n[u]:void 0,o.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(r||(r={}),r[i]=c[i])}else r||(a||(a=[]),a.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Do("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}r&&(a=a||[]).push("style",r);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Os=function(e,t,r,o){r!==o&&(t.flags|=4)};var Xs=!1,Qs=!1,Zs="function"===typeof WeakSet?WeakSet:Set,Js=null;function $s(e,t){var r=e.ref;if(null!==r)if("function"===typeof r)try{r(null)}catch(o){Sc(e,t,o)}else r.current=null}function el(e,t,r){try{r()}catch(o){Sc(e,t,o)}}var tl=!1;function rl(e,t,r){var o=t.updateQueue;if(null!==(o=null!==o?o.lastEffect:null)){var n=o=o.next;do{if((n.tag&e)===e){var i=n.destroy;n.destroy=void 0,void 0!==i&&el(t,r,i)}n=n.next}while(n!==o)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var o=r.create;r.destroy=o()}r=r.next}while(r!==t)}}function nl(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"===typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[hn],delete t[pn],delete t[mn],delete t[vn],delete t[bn])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function al(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||al(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!==(r=r._reactRootContainer)&&void 0!==r||null!==t.onclick||(t.onclick=$o));else if(4!==o&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==o&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,dl=!1;function fl(e,t,r){for(r=r.child;null!==r;)hl(e,t,r),r=r.sibling}function hl(e,t,r){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(nt,r)}catch(s){}switch(r.tag){case 5:Qs||$s(r,t);case 6:var o=ul,n=dl;ul=null,fl(e,t,r),dl=n,null!==(ul=o)&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode));break;case 18:null!==ul&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?cn(e.parentNode,r):1===e.nodeType&&cn(e,r),Ht(e)):cn(ul,r.stateNode));break;case 4:o=ul,n=dl,ul=r.stateNode.containerInfo,dl=!0,fl(e,t,r),ul=o,dl=n;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(o=r.updateQueue)&&null!==(o=o.lastEffect))){n=o=o.next;do{var i=n,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&el(r,t,a),n=n.next}while(n!==o)}fl(e,t,r);break;case 1:if(!Qs&&($s(r,t),"function"===typeof(o=r.stateNode).componentWillUnmount))try{o.props=r.memoizedProps,o.state=r.memoizedState,o.componentWillUnmount()}catch(s){Sc(r,t,s)}fl(e,t,r);break;case 21:fl(e,t,r);break;case 22:1&r.mode?(Qs=(o=Qs)||null!==r.memoizedState,fl(e,t,r),Qs=o):fl(e,t,r);break;default:fl(e,t,r)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Zs),t.forEach((function(t){var o=Ec.bind(null,e,t);r.has(t)||(r.add(t),t.then(o,o))}))}}function gl(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var n=r[o];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(i(160));hl(a,s,n),ul=null,dl=!1;var c=n.alternate;null!==c&&(c.return=null),n.return=null}catch(u){Sc(n,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gl(t,e),vl(e),4&o){try{rl(3,e,e.return),ol(3,e)}catch(m){Sc(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Sc(e,e.return,m)}}break;case 1:gl(t,e),vl(e),512&o&&null!==r&&$s(r,r.return);break;case 5:if(gl(t,e),vl(e),512&o&&null!==r&&$s(r,r.return),32&e.flags){var n=e.stateNode;try{fe(n,"")}catch(m){Sc(e,e.return,m)}}if(4&o&&null!=(n=e.stateNode)){var a=e.memoizedProps,s=null!==r?r.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Z(n,a),ye(l,s);var u=ye(l,a);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?me(n,f):"dangerouslySetInnerHTML"===d?de(n,f):"children"===d?fe(n,f):y(n,d,f,u)}switch(l){case"input":J(n,a);break;case"textarea":ie(n,a);break;case"select":var h=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?re(n,!!a.multiple,p,!1):h!==!!a.multiple&&(null!=a.defaultValue?re(n,!!a.multiple,a.defaultValue,!0):re(n,!!a.multiple,a.multiple?[]:"",!1))}n[pn]=a}catch(m){Sc(e,e.return,m)}}break;case 6:if(gl(t,e),vl(e),4&o){if(null===e.stateNode)throw Error(i(162));n=e.stateNode,a=e.memoizedProps;try{n.nodeValue=a}catch(m){Sc(e,e.return,m)}}break;case 3:if(gl(t,e),vl(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(m){Sc(e,e.return,m)}break;case 4:default:gl(t,e),vl(e);break;case 13:gl(t,e),vl(e),8192&(n=e.child).flags&&(a=null!==n.memoizedState,n.stateNode.isHidden=a,!a||null!==n.alternate&&null!==n.alternate.memoizedState||(ql=Ze())),4&o&&pl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Qs=(u=Qs)||d,gl(t,e),Qs=u):gl(t,e),vl(e),8192&o){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(p=(h=Js).child,h.tag){case 0:case 11:case 14:case 15:rl(4,h,h.return);break;case 1:$s(h,h.return);var g=h.stateNode;if("function"===typeof g.componentWillUnmount){o=h,r=h.return;try{t=o,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Sc(o,r,m)}}break;case 5:$s(h,h.return);break;case 22:if(null!==h.memoizedState){kl(f);continue}}null!==p?(p.return=h,Js=p):kl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{n=f.stateNode,u?"function"===typeof(a=n.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=void 0!==(c=f.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(m){Sc(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Sc(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:gl(t,e),vl(e),4&o&&pl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(al(r)){var o=r;break e}r=r.return}throw Error(i(160))}switch(o.tag){case 5:var n=o.stateNode;32&o.flags&&(fe(n,""),o.flags&=-33),cl(e,sl(e),n);break;case 3:case 4:var a=o.stateNode.containerInfo;ll(e,sl(e),a);break;default:throw Error(i(161))}}catch(s){Sc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,r){Js=e,yl(e,t,r)}function yl(e,t,r){for(var o=0!==(1&e.mode);null!==Js;){var n=Js,i=n.child;if(22===n.tag&&o){var a=null!==n.memoizedState||Xs;if(!a){var s=n.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Xs;var c=Qs;if(Xs=a,(Qs=l)&&!c)for(Js=n;null!==Js;)l=(a=Js).child,22===a.tag&&null!==a.memoizedState?xl(n):null!==l?(l.return=a,Js=l):xl(n);for(;null!==i;)Js=i,yl(i,t,r),i=i.sibling;Js=n,Xs=s,Qs=c}wl(e)}else 0!==(8772&n.subtreeFlags)&&null!==i?(i.return=n,Js=i):wl(e)}}function wl(e){for(;null!==Js;){var t=Js;if(0!==(8772&t.flags)){var r=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||ol(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Qs)if(null===r)o.componentDidMount();else{var n=t.elementType===t.type?r.memoizedProps:rs(t.type,r.memoizedProps);o.componentDidUpdate(n,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Wi(t,a,o);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Wi(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ht(f)}}}break;default:throw Error(i(163))}Qs||512&t.flags&&nl(t)}catch(h){Sc(t,t.return,h)}}if(t===e){Js=null;break}if(null!==(r=t.sibling)){r.return=t.return,Js=r;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Js=r;break}Js=t.return}}function xl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{ol(4,t)}catch(l){Sc(t,r,l)}break;case 1:var o=t.stateNode;if("function"===typeof o.componentDidMount){var n=t.return;try{o.componentDidMount()}catch(l){Sc(t,n,l)}}var i=t.return;try{nl(t)}catch(l){Sc(t,i,l)}break;case 5:var a=t.return;try{nl(t)}catch(l){Sc(t,a,l)}}}catch(l){Sc(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var Cl,Sl=Math.ceil,_l=w.ReactCurrentDispatcher,Al=w.ReactCurrentOwner,Tl=w.ReactCurrentBatchConfig,El=0,Bl=null,Il=null,Nl=0,Pl=0,Rl=_n(0),Ol=0,jl=null,zl=0,Ml=0,Ll=0,Dl=null,Fl=null,ql=0,Hl=1/0,Ul=null,Wl=!1,Kl=null,Gl=null,Vl=!1,Yl=null,Xl=0,Ql=0,Zl=null,Jl=-1,$l=0;function ec(){return 0!==(6&El)?Ze():-1!==Jl?Jl:Jl=Ze()}function tc(e){return 0===(1&e.mode)?1:0!==(2&El)&&0!==Nl?Nl&-Nl:null!==mi.transition?(0===$l&&($l=gt()),$l):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Qt(e.type)}function rc(e,t,r,o){if(50<Ql)throw Ql=0,Zl=null,Error(i(185));vt(e,r,o),0!==(2&El)&&e===Bl||(e===Bl&&(0===(2&El)&&(Ml|=r),4===Ol&&sc(e,Nl)),oc(e,o),1===r&&0===El&&0===(1&t.mode)&&(Hl=Ze()+500,Fn&&Un()))}function oc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,o=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=n[a];-1===l?0!==(s&r)&&0===(s&o)||(n[a]=ht(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var o=ft(e,e===Bl?Nl:0);if(0===o)null!==r&&Ye(r),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(null!=r&&Ye(r),1===t)0===e.tag?function(e){Fn=!0,Hn(e)}(lc.bind(null,e)):Hn(lc.bind(null,e)),sn((function(){0===(6&El)&&Un()})),r=null;else{switch(wt(o)){case 1:r=$e;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=ot}r=Bc(r,nc.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function nc(e,t){if(Jl=-1,$l=0,0!==(6&El))throw Error(i(327));var r=e.callbackNode;if(xc()&&e.callbackNode!==r)return null;var o=ft(e,e===Bl?Nl:0);if(0===o)return null;if(0!==(30&o)||0!==(o&e.expiredLanes)||t)t=mc(e,o);else{t=o;var n=El;El|=2;var a=pc();for(Bl===e&&Nl===t||(Ul=null,Hl=Ze()+500,fc(e,t));;)try{bc();break}catch(l){hc(e,l)}Ti(),_l.current=a,El=n,null!==Il?t=0:(Bl=null,Nl=0,t=Ol)}if(0!==t){if(2===t&&(0!==(n=pt(e))&&(o=n,t=ic(e,n))),1===t)throw r=jl,fc(e,0),sc(e,o),oc(e,Ze()),r;if(6===t)sc(e,o);else{if(n=e.current.alternate,0===(30&o)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var o=0;o<r.length;o++){var n=r[o],i=n.getSnapshot;n=n.value;try{if(!ao(i(),n))return!1}catch(s){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)&&(2===(t=mc(e,o))&&(0!==(a=pt(e))&&(o=a,t=ic(e,a))),1===t))throw r=jl,fc(e,0),sc(e,o),oc(e,Ze()),r;switch(e.finishedWork=n,e.finishedLanes=o,t){case 0:case 1:throw Error(i(345));case 2:case 5:kc(e,Fl,Ul);break;case 3:if(sc(e,o),(130023424&o)===o&&10<(t=ql+500-Ze())){if(0!==ft(e,0))break;if(((n=e.suspendedLanes)&o)!==o){ec(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=on(kc.bind(null,e,Fl,Ul),t);break}kc(e,Fl,Ul);break;case 4:if(sc(e,o),(4194240&o)===o)break;for(t=e.eventTimes,n=-1;0<o;){var s=31-at(o);a=1<<s,(s=t[s])>n&&(n=s),o&=~a}if(o=n,10<(o=(120>(o=Ze()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Sl(o/1960))-o)){e.timeoutHandle=on(kc.bind(null,e,Fl,Ul),o);break}kc(e,Fl,Ul);break;default:throw Error(i(329))}}}return oc(e,Ze()),e.callbackNode===r?nc.bind(null,e):null}function ic(e,t){var r=Dl;return e.current.memoizedState.isDehydrated&&(fc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=Fl,Fl=r,null!==t&&ac(t)),e}function ac(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function sc(e,t){for(t&=~Ll,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-at(t),o=1<<r;e[r]=-1,t&=~o}}function lc(e){if(0!==(6&El))throw Error(i(327));xc();var t=ft(e,0);if(0===(1&t))return oc(e,Ze()),null;var r=mc(e,t);if(0!==e.tag&&2===r){var o=pt(e);0!==o&&(t=o,r=ic(e,o))}if(1===r)throw r=jl,fc(e,0),sc(e,t),oc(e,Ze()),r;if(6===r)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kc(e,Fl,Ul),oc(e,Ze()),null}function cc(e,t){var r=El;El|=1;try{return e(t)}finally{0===(El=r)&&(Hl=Ze()+500,Fn&&Un())}}function uc(e){null!==Yl&&0===Yl.tag&&0===(6&El)&&xc();var t=El;El|=1;var r=Tl.transition,o=yt;try{if(Tl.transition=null,yt=1,e)return e()}finally{yt=o,Tl.transition=r,0===(6&(El=t))&&Un()}}function dc(){Pl=Rl.current,An(Rl)}function fc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,nn(r)),null!==Il)for(r=Il.return;null!==r;){var o=r;switch(ri(o),o.tag){case 1:null!==(o=o.type.childContextTypes)&&void 0!==o&&On();break;case 3:Zi(),An(In),An(Bn),oa();break;case 5:$i(o);break;case 4:Zi();break;case 13:case 19:An(ea);break;case 10:Ei(o.type._context);break;case 22:case 23:dc()}r=r.return}if(Bl=e,Il=e=Rc(e.current,null),Nl=Pl=t,Ol=0,jl=null,Ll=Ml=zl=0,Fl=Dl=null,null!==Pi){for(t=0;t<Pi.length;t++)if(null!==(o=(r=Pi[t]).interleaved)){r.interleaved=null;var n=o.next,i=r.pending;if(null!==i){var a=i.next;i.next=n,o.next=a}r.pending=o}Pi=null}return e}function hc(e,t){for(;;){var r=Il;try{if(Ti(),na.current=Ja,ua){for(var o=sa.memoizedState;null!==o;){var n=o.queue;null!==n&&(n.pending=null),o=o.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,fa=0,Al.current=null,null===r||null===r.return){Ol=1,jl=t,Il=null;break}e:{var a=e,s=r.return,l=r,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,f=d.tag;if(0===(1&d.mode)&&(0===f||11===f||15===f)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=ms(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,t),1&p.mode&&gs(a,u,t),c=u;var g=(t=p).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(0===(1&t)){gs(a,u,t),gc();break e}c=Error(i(426))}else if(ii&&1&l.mode){var v=ms(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),gi(cs(c,l));break e}}a=c=cs(c,l),4!==Ol&&(Ol=2),null===Dl?Dl=[a]:Dl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,hs(0,c,t));break e;case 1:l=c;var b=a.type,y=a.stateNode;if(0===(128&a.flags)&&("function"===typeof b.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===Gl||!Gl.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Hi(a,ps(a,l,t));break e}}a=a.return}while(null!==a)}wc(r)}catch(w){t=w,Il===r&&null!==r&&(Il=r=r.return);continue}break}}function pc(){var e=_l.current;return _l.current=Ja,null===e?Ja:e}function gc(){0!==Ol&&3!==Ol&&2!==Ol||(Ol=4),null===Bl||0===(268435455&zl)&&0===(268435455&Ml)||sc(Bl,Nl)}function mc(e,t){var r=El;El|=2;var o=pc();for(Bl===e&&Nl===t||(Ul=null,fc(e,t));;)try{vc();break}catch(n){hc(e,n)}if(Ti(),El=r,_l.current=o,null!==Il)throw Error(i(261));return Bl=null,Nl=0,Ol}function vc(){for(;null!==Il;)yc(Il)}function bc(){for(;null!==Il&&!Xe();)yc(Il)}function yc(e){var t=Cl(e.alternate,e,Pl);e.memoizedProps=e.pendingProps,null===t?wc(e):Il=t,Al.current=null}function wc(e){var t=e;do{var r=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(r=Vs(r,t,Pl)))return void(Il=r)}else{if(null!==(r=Ys(r,t)))return r.flags&=32767,void(Il=r);if(null===e)return Ol=6,void(Il=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Il=t);Il=t=e}while(null!==t);0===Ol&&(Ol=5)}function kc(e,t,r){var o=yt,n=Tl.transition;try{Tl.transition=null,yt=1,function(e,t,r,o){do{xc()}while(null!==Yl);if(0!==(6&El))throw Error(i(327));r=e.finishedWork;var n=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0<r;){var n=31-at(r),i=1<<n;t[n]=0,o[n]=-1,e[n]=-1,r&=~i}}(e,a),e===Bl&&(Il=Bl=null,Nl=0),0===(2064&r.subtreeFlags)&&0===(2064&r.flags)||Vl||(Vl=!0,Bc(tt,(function(){return xc(),null}))),a=0!==(15990&r.flags),0!==(15990&r.subtreeFlags)||a){a=Tl.transition,Tl.transition=null;var s=yt;yt=1;var l=El;El|=4,Al.current=null,function(e,t){if(en=Wt,ho(e=fo())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var n=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{r.nodeType,a.nodeType}catch(k){r=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==r||0!==n&&3!==f.nodeType||(l=s+n),f!==a||0!==o&&3!==f.nodeType||(c=s+o),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===r&&++u===n&&(l=s),h===a&&++d===o&&(c=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(tn={focusedElem:e,selectionRange:r},Wt=!1,Js=t;null!==Js;)if(e=(t=Js).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var g=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,v=g.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?m:rs(t.type,m),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(k){Sc(t,t.return,k)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}g=tl,tl=!1}(e,r),ml(r,e),po(tn),Wt=!!en,tn=en=null,e.current=r,bl(r,e,n),Qe(),El=l,yt=s,Tl.transition=a}else e.current=r;if(Vl&&(Vl=!1,Yl=e,Xl=n),a=e.pendingLanes,0===a&&(Gl=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(nt,e,void 0,128===(128&e.current.flags))}catch(t){}}(r.stateNode),oc(e,Ze()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)n=t[r],o(n.value,{componentStack:n.stack,digest:n.digest});if(Wl)throw Wl=!1,e=Kl,Kl=null,e;0!==(1&Xl)&&0!==e.tag&&xc(),a=e.pendingLanes,0!==(1&a)?e===Zl?Ql++:(Ql=0,Zl=e):Ql=0,Un()}(e,t,r,o)}finally{Tl.transition=n,yt=o}return null}function xc(){if(null!==Yl){var e=wt(Xl),t=Tl.transition,r=yt;try{if(Tl.transition=null,yt=16>e?16:e,null===Yl)var o=!1;else{if(e=Yl,Yl=null,Xl=0,0!==(6&El))throw Error(i(331));var n=El;for(El|=4,Js=e.current;null!==Js;){var a=Js,s=a.child;if(0!==(16&Js.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var h=(d=Js).sibling,p=d.return;if(il(d),d===u){Js=null;break}if(null!==h){h.return=p,Js=h;break}Js=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Js=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Js=s;else e:for(;null!==Js;){if(0!==(2048&(a=Js).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Js=b;break e}Js=a.return}}var y=e.current;for(Js=y;null!==Js;){var w=(s=Js).child;if(0!==(2064&s.subtreeFlags)&&null!==w)w.return=s,Js=w;else e:for(s=y;null!==Js;){if(0!==(2048&(l=Js).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(x){Sc(l,l.return,x)}if(l===s){Js=null;break e}var k=l.sibling;if(null!==k){k.return=l.return,Js=k;break e}Js=l.return}}if(El=n,Un(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(nt,e)}catch(x){}o=!0}return o}finally{yt=r,Tl.transition=t}}return!1}function Cc(e,t,r){e=Fi(e,t=hs(0,t=cs(r,t),1),1),t=ec(),null!==e&&(vt(e,1,t),oc(e,t))}function Sc(e,t,r){if(3===e.tag)Cc(e,e,r);else for(;null!==t;){if(3===t.tag){Cc(t,e,r);break}if(1===t.tag){var o=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof o.componentDidCatch&&(null===Gl||!Gl.has(o))){t=Fi(t,e=ps(t,e=cs(r,e),1),1),e=ec(),null!==t&&(vt(t,1,e),oc(t,e));break}}t=t.return}}function _c(e,t,r){var o=e.pingCache;null!==o&&o.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Bl===e&&(Nl&r)===r&&(4===Ol||3===Ol&&(130023424&Nl)===Nl&&500>Ze()-ql?fc(e,0):Ll|=r),oc(e,t)}function Ac(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var r=ec();null!==(e=ji(e,t))&&(vt(e,t,r),oc(e,r))}function Tc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Ac(e,r)}function Ec(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,n=e.memoizedState;null!==n&&(r=n.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(i(314))}null!==o&&o.delete(t),Ac(e,r)}function Bc(e,t){return Ve(e,t)}function Ic(e,t,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nc(e,t,r,o){return new Ic(e,t,r,o)}function Pc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Rc(e,t){var r=e.alternate;return null===r?((r=Nc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Oc(e,t,r,o,n,a){var s=2;if(o=e,"function"===typeof e)Pc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case C:return jc(r.children,n,a,t);case S:s=8,n|=8;break;case _:return(e=Nc(12,r,t,2|n)).elementType=_,e.lanes=a,e;case B:return(e=Nc(13,r,t,n)).elementType=B,e.lanes=a,e;case I:return(e=Nc(19,r,t,n)).elementType=I,e.lanes=a,e;case R:return zc(r,n,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case A:s=10;break e;case T:s=9;break e;case E:s=11;break e;case N:s=14;break e;case P:s=16,o=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nc(s,r,t,n)).elementType=e,t.type=o,t.lanes=a,t}function jc(e,t,r,o){return(e=Nc(7,e,o,t)).lanes=r,e}function zc(e,t,r,o){return(e=Nc(22,e,o,t)).elementType=R,e.lanes=r,e.stateNode={isHidden:!1},e}function Mc(e,t,r){return(e=Nc(6,e,null,t)).lanes=r,e}function Lc(e,t,r){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Dc(e,t,r,o,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=o,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Fc(e,t,r,o,n,i,a,s,l){return e=new Dc(e,t,r,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:o,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mi(i),e}function qc(e){if(!e)return En;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Rn(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var r=e.type;if(Rn(r))return zn(e,r,t)}return t}function Hc(e,t,r,o,n,i,a,s,l){return(e=Fc(r,o,!0,e,0,i,0,s,l)).context=qc(null),r=e.current,(i=Di(o=ec(),n=tc(r))).callback=void 0!==t&&null!==t?t:null,Fi(r,i,n),e.current.lanes=n,vt(e,n,o),oc(e,o),e}function Uc(e,t,r,o){var n=t.current,i=ec(),a=tc(n);return r=qc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Di(i,a)).payload={element:e},null!==(o=void 0===o?null:o)&&(t.callback=o),null!==(e=Fi(n,t,a))&&(rc(e,n,a,i),qi(e,n,a)),a}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Kc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Gc(e,t){Kc(e,t),(e=e.alternate)&&Kc(e,t)}Cl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||In.current)ys=!0;else{if(0===(e.lanes&r)&&0===(128&t.flags))return ys=!1,function(e,t,r){switch(t.tag){case 3:Bs(t),pi();break;case 5:Ji(t);break;case 1:Rn(t.type)&&Mn(t);break;case 4:Qi(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,n=t.memoizedProps.value;Tn(Ci,o._currentValue),o._currentValue=n;break;case 13:if(null!==(o=t.memoizedState))return null!==o.dehydrated?(Tn(ea,1&ea.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Ms(e,t,r):(Tn(ea,1&ea.current),null!==(e=Ws(e,t,r))?e.sibling:null);Tn(ea,1&ea.current);break;case 19:if(o=0!==(r&t.childLanes),0!==(128&e.flags)){if(o)return Hs(e,t,r);t.flags|=128}if(null!==(n=t.memoizedState)&&(n.rendering=null,n.tail=null,n.lastEffect=null),Tn(ea,ea.current),o)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,r)}return Ws(e,t,r)}(e,t,r);ys=0!==(131072&e.flags)}else ys=!1,ii&&0!==(1048576&t.flags)&&ei(t,Vn,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Us(e,t),e=t.pendingProps;var n=Pn(t,Bn.current);Ii(t,r),n=ma(null,t,o,e,n,r);var a=va();return t.flags|=1,"object"===typeof n&&null!==n&&"function"===typeof n.render&&void 0===n.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rn(o)?(a=!0,Mn(t)):a=!1,t.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,Mi(t),n.updater=ns,t.stateNode=n,n._reactInternals=t,ls(t,o,e,r),t=Es(null,t,o,!0,a,r)):(t.tag=0,ii&&a&&ti(t),ws(null,t,n,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,o=(n=o._init)(o._payload),t.type=o,n=t.tag=function(e){if("function"===typeof e)return Pc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===E)return 11;if(e===N)return 14}return 2}(o),e=rs(o,e),n){case 0:t=As(null,t,o,e,r);break e;case 1:t=Ts(null,t,o,e,r);break e;case 11:t=ks(null,t,o,e,r);break e;case 14:t=xs(null,t,o,rs(o.type,e),r);break e}throw Error(i(306,o,""))}return t;case 0:return o=t.type,n=t.pendingProps,As(e,t,o,n=t.elementType===o?n:rs(o,n),r);case 1:return o=t.type,n=t.pendingProps,Ts(e,t,o,n=t.elementType===o?n:rs(o,n),r);case 3:e:{if(Bs(t),null===e)throw Error(i(387));o=t.pendingProps,n=(a=t.memoizedState).element,Li(e,t),Ui(t,o,null,r);var s=t.memoizedState;if(o=s.element,a.isDehydrated){if(a={element:o,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Is(e,t,o,r,n=cs(Error(i(423)),t));break e}if(o!==n){t=Is(e,t,o,r,n=cs(Error(i(424)),t));break e}for(ni=un(t.stateNode.containerInfo.firstChild),oi=t,ii=!0,ai=null,r=xi(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(pi(),o===n){t=Ws(e,t,r);break e}ws(e,t,o,r)}t=t.child}return t;case 5:return Ji(t),null===e&&ui(t),o=t.type,n=t.pendingProps,a=null!==e?e.memoizedProps:null,s=n.children,rn(o,n)?s=null:null!==a&&rn(o,a)&&(t.flags|=32),_s(e,t),ws(e,t,s,r),t.child;case 6:return null===e&&ui(t),null;case 13:return Ms(e,t,r);case 4:return Qi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=ki(t,null,o,r):ws(e,t,o,r),t.child;case 11:return o=t.type,n=t.pendingProps,ks(e,t,o,n=t.elementType===o?n:rs(o,n),r);case 7:return ws(e,t,t.pendingProps,r),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,n=t.pendingProps,a=t.memoizedProps,s=n.value,Tn(Ci,o._currentValue),o._currentValue=s,null!==a)if(ao(a.value,s)){if(a.children===n.children&&!In.current){t=Ws(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===o){if(1===a.tag){(c=Di(-1,r&-r)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=r,null!==(c=a.alternate)&&(c.lanes|=r),Bi(a.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),Bi(s,r,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}ws(e,t,n.children,r),t=t.child}return t;case 9:return n=t.type,o=t.pendingProps.children,Ii(t,r),o=o(n=Ni(n)),t.flags|=1,ws(e,t,o,r),t.child;case 14:return n=rs(o=t.type,t.pendingProps),xs(e,t,o,n=rs(o.type,n),r);case 15:return Cs(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,n=t.pendingProps,n=t.elementType===o?n:rs(o,n),Us(e,t),t.tag=1,Rn(o)?(e=!0,Mn(t)):e=!1,Ii(t,r),as(t,o,n),ls(t,o,n,r),Es(null,t,o,!0,e,r);case 19:return Hs(e,t,r);case 22:return Ss(e,t,r)}throw Error(i(156,t.tag))};var Vc="function"===typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Xc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function $c(e,t,r,o,n){var i=r._reactRootContainer;if(i){var a=i;if("function"===typeof n){var s=n;n=function(){var e=Wc(a);s.call(e)}}Uc(t,a,e,n)}else a=function(e,t,r,o,n){if(n){if("function"===typeof o){var i=o;o=function(){var e=Wc(a);i.call(e)}}var a=Hc(t,o,e,0,null,!1,0,"",Jc);return e._reactRootContainer=a,e[gn]=a.current,Ho(8===e.nodeType?e.parentNode:e),uc(),a}for(;n=e.lastChild;)e.removeChild(n);if("function"===typeof o){var s=o;o=function(){var e=Wc(l);s.call(e)}}var l=Fc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[gn]=l.current,Ho(8===e.nodeType?e.parentNode:e),uc((function(){Uc(t,l,r,o)})),l}(r,t,e,n,o);return Wc(a)}Xc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Uc(e,t,null,null)},Xc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc((function(){Uc(null,e,null,null)})),t[gn]=null}},Xc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Rt.length&&0!==t&&t<Rt[r].priority;r++);Rt.splice(r,0,e),0===r&&Mt(e)}},kt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(bt(t,1|r),oc(t,Ze()),0===(6&El)&&(Hl=Ze()+500,Un()))}break;case 13:uc((function(){var t=ji(e,1);if(null!==t){var r=ec();rc(t,e,1,r)}})),Gc(e,1)}},xt=function(e){if(13===e.tag){var t=ji(e,134217728);if(null!==t)rc(t,e,134217728,ec());Gc(e,134217728)}},Ct=function(e){if(13===e.tag){var t=tc(e),r=ji(e,t);if(null!==r)rc(r,e,t,ec());Gc(e,t)}},St=function(){return yt},_t=function(e,t){var r=yt;try{return yt=e,t()}finally{yt=r}},xe=function(e,t,r){switch(t){case"input":if(J(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var n=xn(o);if(!n)throw Error(i(90));V(o),J(o,n)}}}break;case"textarea":ie(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Ee=cc,Be=uc;var eu={usingClientEntryPoint:!1,Events:[wn,kn,xn,Ae,Te,cc]},tu={findFiberByHostInstance:yn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ke(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ou=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ou.isDisabled&&ou.supportsFiber)try{nt=ou.inject(ru),it=ou}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(i(200));return function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==o?null:""+o,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Qc(e))throw Error(i(299));var r=!1,o="",n=Vc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(n=t.onRecoverableError)),t=Fc(e,1,!1,null,0,r,0,o,n),e[gn]=t.current,Ho(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=Ke(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,r){if(!Zc(t))throw Error(i(200));return $c(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Qc(e))throw Error(i(405));var o=null!=r&&r.hydratedSources||null,n=!1,a="",s=Vc;if(null!==r&&void 0!==r&&(!0===r.unstable_strictMode&&(n=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Hc(t,null,e,1,null!=r?r:null,n,0,a,s),e[gn]=t.current,Ho(e),o)for(e=0;e<o.length;e++)n=(n=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,n]:t.mutableSourceEagerHydrationData.push(r,n);return new Xc(t)},t.render=function(e,t,r){if(!Zc(t))throw Error(i(200));return $c(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Zc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){$c(null,null,e,!1,(function(){e._reactRootContainer=null,e[gn]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Zc(r))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return $c(e,t,r,!1,o)},t.version="18.3.1-next-f1338f8080-20240426"},4391:(e,t,r)=>{"use strict";var o=r(7950);t.createRoot=o.createRoot,t.hydrateRoot=o.hydrateRoot},7950:(e,t,r)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=r(2730)},6366:e=>{var t="undefined"!==typeof Element,r="function"===typeof Map,o="function"===typeof Set,n="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(o&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!i(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}},3380:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e||"";t&&(i=e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,o){return t>0&&t+e.length!==o.length&&e.search(r)>-1&&":"!==o.charAt(t-2)&&("-"!==o.charAt(t+e.length)||"-"===o.charAt(t-1))&&o.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)})));n&&(i=function(e){if(function(e){return"string"===typeof e&&-1!==e.indexOf("@")}(e))return console.warn("This arg looks like an email address, redacting."),o;return e}(i));return i};var r=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;var o="REDACTED (Potential Email Address)"},979:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var o=l(r(148)),n=l(r(3380)),i=["eventCategory","eventAction","eventLabel","eventValue","hitType"],a=["title","location"],s=["page","hitType"];function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function d(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,i,a,s=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(o=i.call(r)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(u){c=!0,n=u}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return s}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function v(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,y(o.key),o)}}function b(e,t,r){return(t=y(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}var w=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),b(this,"_gtag",(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t._testMode||t._isQueuing?t._queueGtag.push(r):o.default.apply(void 0,r)})),b(this,"_loadGA",(function(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!==typeof window&&"undefined"!==typeof document&&!t._hasLoadedGA){var n=document.createElement("script");n.async=!0,n.src="".concat(o,"?id=").concat(e),r&&n.setAttribute("nonce",r),document.body.appendChild(n),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),b(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,r){var o=p(r,2),n=o[0],i=o[1];return t[n]?e[t[n]]=i:e[n]=i,e}),{})}})),b(this,"initialize",(function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var o="string"===typeof e?[{trackingId:e}]:e;t._currentMeasurementId=o[0].trackingId;var n=r.gaOptions,i=r.gtagOptions,a=r.nonce,s=r.testMode,l=void 0!==s&&s,c=r.gtagUrl;if(t._testMode=l,l||t._loadGA(t._currentMeasurementId,a,c),t.isInitialized||(t._gtag("js",new Date),o.forEach((function(e){var r=h(h(h({},t._toGtagOptions(h(h({},n),e.gaOptions))),i),e.gtagOptions);Object.keys(r).length?t._gtag("config",e.trackingId,r):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!l){var u=d(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;u.length;){var f=u.shift();t._gtag.apply(t,d(f)),"get"===f[0]&&(t._isQueuing=!0)}}})),b(this,"set",(function(e){e?"object"===u(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),b(this,"_gaCommandSendEvent",(function(e,r,o,n,i){t._gtag("event",r,h(h({event_category:e,event_label:o,value:n},i&&{non_interaction:i.nonInteraction}),t._toGtagOptions(i)))})),b(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if("string"===typeof r[0])t._gaCommandSendEvent.apply(t,d(r.slice(1)));else{var n=r[0],a=n.eventCategory,s=n.eventAction,l=n.eventLabel,u=n.eventValue,f=(n.hitType,c(n,i));t._gaCommandSendEvent(a,s,l,u,f)}})),b(this,"_gaCommandSendTiming",(function(e,r,o,n){t._gtag("event","timing_complete",{name:r,value:o,event_category:e,event_label:n})})),b(this,"_gaCommandSendPageview",(function(e,r){if(r&&Object.keys(r).length){var o=t._toGtagOptions(r),n=o.title,i=o.location,s=c(o,a);t._gtag("event","page_view",h(h(h(h({},e&&{page_path:e}),n&&{page_title:n}),i&&{page_location:i}),s))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),b(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if("string"===typeof r[0])t._gaCommandSendPageview.apply(t,d(r.slice(1)));else{var n=r[0],i=n.page,a=(n.hitType,c(n,s));t._gaCommandSendPageview(i,a)}})),b(this,"_gaCommandSend",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var n="string"===typeof r[0]?r[0]:r[0].hitType;switch(n){case"event":t._gaCommandSendEventParameters.apply(t,r);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,r);break;case"timing":t._gaCommandSendTiming.apply(t,d(r.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(n));break;default:console.warn("Send command doesn't exist: ".concat(n))}})),b(this,"_gaCommandSet",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];"string"===typeof r[0]&&(r[0]=b({},r[0],r[1])),t._gtag("set",t._toGtagOptions(r[0]))})),b(this,"_gaCommand",(function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];switch(e){case"send":t._gaCommandSend.apply(t,o);break;case"set":t._gaCommandSet.apply(t,o);break;default:console.warn("Command doesn't exist: ".concat(e))}})),b(this,"ga",(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if("string"===typeof r[0])t._gaCommand.apply(t,r);else{var n=r[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var r=t._queueGtag;for(n({get:function(r){return"clientId"===r?e:"trackingId"===r?t._currentMeasurementId:"apiVersion"===r?"1":void 0}});r.length;){var o=r.shift();t._gtag.apply(t,d(o))}})),t._isQueuing=!0}return t.ga})),b(this,"event",(function(e,r){if("string"===typeof e)t._gtag("event",e,t._toGtagOptions(r));else{var o=e.action,i=e.category,a=e.label,s=e.value,l=e.nonInteraction,c=e.transport;if(!i||!o)return void console.warn("args.category AND args.action are required in event()");var u={hitType:"event",eventCategory:(0,n.default)(i),eventAction:(0,n.default)(o)};a&&(u.eventLabel=(0,n.default)(a)),"undefined"!==typeof s&&("number"!==typeof s?console.warn("Expected `args.value` arg to be a Number."):u.eventValue=s),"undefined"!==typeof l&&("boolean"!==typeof l?console.warn("`args.nonInteraction` must be a boolean."):u.nonInteraction=l),"undefined"!==typeof c&&("string"!==typeof c?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(c)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=c)),t._gaCommand("send",u)}})),b(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,r,l;return t=e,r=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],r&&v(t.prototype,r),l&&v(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.GA4=w;var k=new w;t.default=k},148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o;"undefined"!==typeof window&&("undefined"===typeof window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(o=window).gtag.apply(o,t))};t.default=r},3279:(e,t,r)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}t.Ay=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(n,s,l):n[s]=e[s]}n.default=e,r&&r.set(e,n);return n}(r(979));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}n.GA4;var a=n.default;t.Ay=a},5082:(e,t)=>{"use strict";var r=60103,o=60106,n=60107,i=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,f=60115,h=60116,p=60121,g=60122,m=60117,v=60129,b=60131;if("function"===typeof Symbol&&Symbol.for){var y=Symbol.for;r=y("react.element"),o=y("react.portal"),n=y("react.fragment"),i=y("react.strict_mode"),a=y("react.profiler"),s=y("react.provider"),l=y("react.context"),c=y("react.forward_ref"),u=y("react.suspense"),d=y("react.suspense_list"),f=y("react.memo"),h=y("react.lazy"),p=y("react.block"),g=y("react.server.block"),m=y("react.fundamental"),v=y("react.debug_trace_mode"),b=y("react.legacy_hidden")}function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case n:case a:case i:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case f:case s:return e;default:return t}}case o:return t}}}t.isForwardRef=function(e){return w(e)===c}},2086:(e,t,r)=>{"use strict";e.exports=r(5082)},4358:(e,t)=>{"use strict";const r=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,o=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,s=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function l(e,t,r){do{const r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<r);return r}function c(e,t,r){for(;t>r;){const r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return r}function u(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},8161:(e,t,r)=>{"use strict";var o,n=r(5043),i=(o=n)&&"object"===typeof o&&"default"in o?o.default:o;function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,r){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof r&&"function"!==typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(o){if("function"!==typeof o)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):r&&(l=r(l))}var d=function(e){var t,r;function n(){return e.apply(this,arguments)||this}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.peek=function(){return l},n.rewind=function(){if(n.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=n.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return i.createElement(o,this.props)},n}(n.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(o)+")"),a(d,"canUseDOM",s),d}}},1153:(e,t,r)=>{"use strict";var o=r(5043),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var o,i={},c=null,u=null;for(o in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,o)&&!l.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:n,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},4202:(e,t)=>{"use strict";var r=Symbol.for("react.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}function b(){}function y(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var w=y.prototype=new b;w.constructor=y,g(w,v.prototype),w.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,C={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,o){var n,i={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,n)&&!S.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(1===l)i.children=o;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===i[n]&&(i[n]=l[n]);return{$$typeof:r,type:e,key:a,ref:s,props:i,_owner:C.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===r}var T=/\/+/g;function E(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function B(e,t,n,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case o:l=!0}}if(l)return a=a(l=e),e=""===i?"."+E(l,0):i,k(a)?(n="",null!=e&&(n=e.replace(T,"$&/")+"/"),B(a,t,n,"",(function(e){return e}))):null!=a&&(A(a)&&(a=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(T,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",k(e))for(var c=0;c<e.length;c++){var u=i+E(s=e[c],c);l+=B(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=B(s=s.value,t,n,u=i+E(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function I(e,t,r){if(null==e)return e;var o=[],n=0;return B(e,o,"","",(function(e){return t.call(r,e,n++)})),o}function N(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P={current:null},R={transition:null},O={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:C};function j(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:I,forEach:function(e,t,r){I(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return I(e,(function(){t++})),t},toArray:function(e){return I(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=n,t.Profiler=a,t.PureComponent=y,t.StrictMode=i,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.act=j,t.cloneElement=function(e,t,o){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=g({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=C.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!S.hasOwnProperty(c)&&(n[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)n.children=o;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];n.children=l}return{$$typeof:r,type:e.type,key:i,ref:a,props:n,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},t.unstable_act=j,t.useCallback=function(e,t){return P.current.useCallback(e,t)},t.useContext=function(e){return P.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return P.current.useDeferredValue(e)},t.useEffect=function(e,t){return P.current.useEffect(e,t)},t.useId=function(){return P.current.useId()},t.useImperativeHandle=function(e,t,r){return P.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return P.current.useMemo(e,t)},t.useReducer=function(e,t,r){return P.current.useReducer(e,t,r)},t.useRef=function(e){return P.current.useRef(e)},t.useState=function(e){return P.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return P.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return P.current.useTransition()},t.version="18.3.1"},5043:(e,t,r)=>{"use strict";e.exports=r(4202)},579:(e,t,r)=>{"use strict";e.exports=r(1153)},7234:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var o=r-1>>>1,n=e[o];if(!(0<i(n,t)))break e;e[o]=t,e[r]=n,r=o}}function o(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var o=0,n=e.length,a=n>>>1;o<a;){var s=2*(o+1)-1,l=e[s],c=s+1,u=e[c];if(0>i(l,r))c<n&&0>i(u,l)?(e[o]=u,e[c]=r,o=c):(e[o]=l,e[s]=r,o=s);else{if(!(c<n&&0>i(u,r)))break e;e[o]=u,e[c]=r,o=c}}}return t}function i(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 a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,y="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=o(u);null!==t;){if(null===t.callback)n(u);else{if(!(t.startTime<=e))break;n(u),t.sortIndex=t.expirationTime,r(c,t)}t=o(u)}}function k(e){if(m=!1,w(e),!g)if(null!==o(c))g=!0,R(x);else{var t=o(u);null!==t&&O(k,t.startTime-e)}}function x(e,r){g=!1,m&&(m=!1,b(A),A=-1),p=!0;var i=h;try{for(w(r),f=o(c);null!==f&&(!(f.expirationTime>r)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,h=f.priorityLevel;var s=a(f.expirationTime<=r);r=t.unstable_now(),"function"===typeof s?f.callback=s:f===o(c)&&n(c),w(r)}else n(c);f=o(c)}if(null!==f)var l=!0;else{var d=o(u);null!==d&&O(k,d.startTime-r),l=!1}return l}finally{f=null,h=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,_=null,A=-1,T=5,E=-1;function B(){return!(t.unstable_now()-E<T)}function I(){if(null!==_){var e=t.unstable_now();E=e;var r=!0;try{r=_(!0,e)}finally{r?C():(S=!1,_=null)}}else S=!1}if("function"===typeof y)C=function(){y(I)};else if("undefined"!==typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=I,C=function(){P.postMessage(null)}}else C=function(){v(I,0)};function R(e){_=e,S||(S=!0,C())}function O(e,r){A=v((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(){g||p||(g=!0,R(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return o(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var r=h;h=t;try{return e()}finally{h=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=h;h=e;try{return t()}finally{h=r}},t.unstable_scheduleCallback=function(e,n,i){var a=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,r(u,e),null===o(c)&&e===o(u)&&(m?(b(A),A=-1):m=!0,O(k,i-a))):(e.sortIndex=s,r(c,e),g||p||(g=!0,R(x))),e},t.unstable_shouldYield=B,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},8853:(e,t,r)=>{"use strict";e.exports=r(7234)},1262:(e,t,r)=>{"use strict";r.d(t,{$d:()=>pt,Az:()=>mt,CP:()=>p,GD:()=>B,K9:()=>S,S:()=>gt,U6:()=>Ae,_A:()=>ht,h7:()=>i,hC:()=>bt,iA:()=>g,mz:()=>vt});var o=r(7051),n=r(112);const i="data-tabster",a="data-tabster-dummy",s=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),l=1,c=2,u=3,d=0,f=1,h=2,p={Source:0,Target:1},g={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},m=1,v=2,b=3,y=4,w=5,k=6,x=7,C=8,S={Unlimited:0,Limited:1,LimitedTrapFocus:2},_=1,A=2;function T(e,t){var r;return null===(r=e.storageEntry(t))||void 0===r?void 0:r.tabster}function E(e,t,r){var o,n;const a=r||e._noop?void 0:t.getAttribute(i);let s,l=e.storageEntry(t);if(a){if(a===(null===(o=null===l||void 0===l?void 0:l.attr)||void 0===o?void 0:o.string))return;try{const e=JSON.parse(a);if("object"!==typeof e)throw new Error("Value is not a JSON object, got '".concat(a,"'."));s={string:a,object:e}}catch(f){0}}else if(!l)return;l||(l=e.storageEntry(t,!0)),l.tabster||(l.tabster={});const c=l.tabster||{},u=(null===(n=l.attr)||void 0===n?void 0:n.object)||{},d=(null===s||void 0===s?void 0:s.object)||{};for(const i of Object.keys(u))if(!d[i]){if("root"===i){const t=c[i];t&&e.root.onRoot(t,!0)}switch(i){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const r=c[i];r&&(r.dispose(),delete c[i]);break;case"observed":delete c[i],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete c[i]}}for(const i of Object.keys(d)){const r=d.sys;switch(i){case"deloser":c.deloser?c.deloser.setProps(d.deloser):e.deloser&&(c.deloser=e.deloser.createDeloser(t,d.deloser));break;case"root":c.root?c.root.setProps(d.root):c.root=e.root.createRoot(t,d.root,r),e.root.onRoot(c.root);break;case"modalizer":c.modalizer?c.modalizer.setProps(d.modalizer):e.modalizer&&(c.modalizer=e.modalizer.createModalizer(t,d.modalizer,r));break;case"restorer":c.restorer?c.restorer.setProps(d.restorer):e.restorer&&d.restorer&&(c.restorer=e.restorer.createRestorer(t,d.restorer));break;case"focusable":c.focusable=d.focusable;break;case"groupper":c.groupper?c.groupper.setProps(d.groupper):e.groupper&&(c.groupper=e.groupper.createGroupper(t,d.groupper,r));break;case"mover":c.mover?c.mover.setProps(d.mover):e.mover&&(c.mover=e.mover.createMover(t,d.mover,r));break;case"observed":e.observedElement&&(c.observed=d.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":c.uncontrolled=d.uncontrolled;break;case"outline":e.outline&&(c.outline=d.outline);break;case"sys":c.sys=d.sys;break;default:console.error("Unknown key '".concat(i,"' in data-tabster attribute value."))}}s?l.attr=s:(0===Object.keys(c).length&&(delete l.tabster,delete l.attr),e.storageEntry(t,!1))}const B="tabster:movefocus",I="tabster:mover:movefocus",N="tabster:mover:memorized-element",P="tabster:groupper:movefocus",R="tabster:restorer:restore-focus",O="undefined"!==typeof CustomEvent?CustomEvent:function(){};class j extends O{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class z extends j{constructor(e){super("tabster:focusin",e)}}class M extends j{constructor(e){super("tabster:focusout",e)}}class L extends j{constructor(e){super(B,e)}}class D extends j{constructor(e){super("tabster:mover:state",e)}}class F extends j{constructor(e){super("tabster:modalizer:active",e)}}class q extends j{constructor(e){super("tabster:modalizer:inactive",e)}}class H extends j{constructor(){super(R)}}class U extends j{constructor(e){super("tabster:root:focus",e)}}class W extends j{constructor(e){super("tabster:root:blur",e)}}const K={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,o)=>e.createTreeWalker(t,r,o),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null===e||void 0===e?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(null===e||void 0===e?void 0:e.firstChild)||null,getLastChild:e=>(null===e||void 0===e?void 0:e.lastChild)||null,getNextSibling:e=>(null===e||void 0===e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null===e||void 0===e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null===e||void 0===e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null===e||void 0===e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null===e||void 0===e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null===e||void 0===e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};let G;const V="undefined"!==typeof DOMRect?DOMRect:class{constructor(e,t,r,o){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(o||0)}};let Y=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),G=!1}catch(wt){G=!0}function X(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}class Q{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&le(e._target.ownerDocument,e._target))&&(delete e._target,!0)}}class Z{constructor(e,t,r){const o=X(e);let n;o.WeakRef?n=new o.WeakRef(t):(n=new Q(t),o.fakeWeakRefs.push(n)),this._ref=n,this._data=r}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function J(e,t){const r=X(e);r.fakeWeakRefs=r.fakeWeakRefs.filter((e=>!Q.cleanup(e,t)))}function $(e){const t=X(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout((()=>{t.fakeWeakRefsTimer=void 0,J(e),$(e)}),12e4))}function ee(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=G?r:{acceptNode:r};return K.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,o,!1)}function te(e,t){let r=t.__tabsterCacheId;const o=X(e),n=r?o.containerBoundingRectCache[r]:void 0;if(n)return n.rect;const i=t.ownerDocument&&t.ownerDocument.documentElement;if(!i)return new V;let a=0,s=0,l=i.clientWidth,c=i.clientHeight;if(t!==i){const e=t.getBoundingClientRect();a=Math.max(a,e.left),s=Math.max(s,e.top),l=Math.min(l,e.right),c=Math.min(c,e.bottom)}const u=new V(a<l?a:-1,s<c?s:-1,a<l?l-a:0,s<c?c-s:0);return r||(r="r-"+ ++o.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),o.containerBoundingRectCache[r]={rect:u,element:t},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout((()=>{o.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[e].element.__tabsterCacheId;o.containerBoundingRectCache={}}),50)),u}function re(e,t,r){const o=oe(t);if(!o)return!1;const n=te(e,o),i=t.getBoundingClientRect(),a=i.height*(1-r),s=Math.max(0,n.top-i.top)+Math.max(0,i.bottom-n.bottom);return 0===s||s<=a}function oe(e){const t=e.ownerDocument;if(t){for(let t=K.getParentElement(e);t;t=K.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function ne(e){return!!e.__shouldIgnoreFocus}function ie(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let o=0;o<t.length;o++)t[o]=4294967295*Math.random();const r=[];for(let o=0;o<t.length;o++)r.push(t[o].toString(36));return r.push("|"),r.push((++Y).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}function ae(e,t){const r=X(e);let o=t.__tabsterElementUID;return o||(o=t.__tabsterElementUID=ie(e())),!r.elementByUId[o]&&le(t.ownerDocument,t)&&(r.elementByUId[o]=new Z(e,t)),o}function se(e,t){const r=X(e);for(const o of Object.keys(r.elementByUId)){const e=r.elementByUId[o],n=e&&e.get();n&&t&&!K.nodeContains(t,n)||delete r.elementByUId[o]}}function le(e,t){return K.nodeContains(null===e||void 0===e?void 0:e.body,t)}function ce(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}function ue(e){const t=X(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}let de=0;class fe{constructor(e,t,r){const n=e.getWindow;this._tabster=e,this._element=new Z(n,t),this._props=(0,o.A)({},r),this.id="i"+ ++de}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props=(0,o.A)({},e)}}class he{constructor(e,t,r,o,i){var s;this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&(0,n.kG)(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const l=e(),c=l.document.createElement("i");c.tabIndex=0,c.setAttribute("role","none"),c.setAttribute(a,""),c.setAttribute("aria-hidden","true");const u=c.style;u.position="fixed",u.width=u.height="1px",u.opacity="0.001",u.zIndex="-1",u.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(c),this.input=c,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=null!==(s=r.isPhantom)&&void 0!==s&&s,this._fixedTarget=i,c.addEventListener("focusin",this._focusIn),c.addEventListener("focusout",this._focusOut),c.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=l.setTimeout((()=>{delete this._disposeTimer,this.dispose()}),0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(l.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,null===(e=K.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var r;const o=null===(r=this.input)||void 0===r?void 0:r.style;o&&(o.top="".concat(e,"px"),o.left="".concat(t,"px"))}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}const pe=1,ge=2,me=3,ve=4;class be{constructor(e,t,r,o,n,i){this._element=t,this._instance=new we(e,t,this,r,o,n,i)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;null===(r=this._instance)||void 0===r||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,o,i){const a=new he(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let s,l;if("BODY"===t.tagName)s=t,l=r&&o||!r&&!o?K.getFirstElementChild(t):null;else{let n,i;r&&(!o||o&&!e.focusable.isFocusable(t,!1,!0,!0))?(s=t,l=o?t.firstElementChild:null):(s=K.getParentElement(t),l=r&&o||!r&&!o?t:K.getNextElementSibling(t));do{n=r&&o||!r&&!o?K.getPreviousElementSibling(l):l,i=_e(n),i===t?l=r&&o||!r&&!o?n:K.getNextElementSibling(n):i=null}while(i)}(null===s||void 0===s?void 0:s.dispatchEvent(new L({by:"root",owner:s,next:null,relatedEvent:i})))&&(K.insertBefore(s,a,l),(0,n.kG)(a))}}static addPhantomDummyWithTarget(e,t,r,o){const n=new he(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Z(e.getWindow,o)).input;if(n){let e,o;t.querySelector(s)&&!r?(e=t,o=K.getFirstElementChild(t)):(e=K.getParentElement(t),o=r?t:K.getNextElementSibling(t)),e&&K.insertBefore(e,n,o)}}}class ye{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout((()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=K.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet}),100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new Z(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter((t=>{const r=t.get();return r&&r!==e})),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null===t||void 0===t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null===t||void 0===t||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout((()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const r of t)r();e.clear()}else this._scheduledUpdatePositions()}),100))}}class we{constructor(e,t,r,o,i,a,s){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{var t;const r=this._firstDummy,o=this._lastDummy;if(r&&o){this._ensurePosition();const i=r.input,a=o.input,s=null===(t=this._element)||void 0===t?void 0:t.get();if(i&&a&&s){let t;e?(i.tabIndex=0,t=i):(a.tabIndex=0,t=a),t&&(0,n.kG)(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var r;const o=this._firstDummy,i=this._lastDummy;if(o&&i){this._ensurePosition();const a=o.input,s=i.input,l=null===(r=this._element)||void 0===r?void 0:r.get();if(a&&s&&l){let r;e?!o.isOutside&&this._tabster.focusable.isFocusable(l,!0,!0,!0)?r=l:(o.useDefaultAction=!0,a.tabIndex=0,r=a):(i.useDefaultAction=!0,s.tabIndex=0,r=s),r&&l.dispatchEvent(new L({by:"root",owner:l,next:null,relatedEvent:t}))&&(0,n.kG)(r)}}},this.setTabbable=(e,t)=>{var r,o;for(const i of this._wrappers)if(i.manager===e){i.tabbable=t;break}const n=this._getCurrent();if(n){const e=n.tabbable?0:-1;let t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&(t.tabIndex=e),t=null===(o=this._lastDummy)||void 0===o?void 0:o.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout((()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()}),0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,r;const o=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(r=this._lastDummy)||void 0===r?void 0:r.input),n=this._transformElements,i=new Set;let a=0,s=0;const l=this._getWindow();for(let c=o;c&&c.nodeType===Node.ELEMENT_NODE;c=K.getParentElement(c)){let t=e.get(c);if(void 0===t){const r=l.getComputedStyle(c).transform;r&&"none"!==r&&(t={scrollTop:c.scrollTop,scrollLeft:c.scrollLeft}),e.set(c,t||null)}t&&(i.add(c),n.has(c)||c.addEventListener("scroll",this._addTransformOffsets),a+=t.scrollTop,s+=t.scrollLeft)}for(const c of n)i.has(c)||c.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=i,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(a,s),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(a,s)}};const l=t.get();if(!l)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=s;const c=l.__tabsterDummy;if((c||this)._wrappers.push({manager:r,priority:o,tabbable:!0}),c)return c;l.__tabsterDummy=this;const u=null===i||void 0===i?void 0:i.dummyInputsPosition,d=l.tagName;this._isOutside=u?u===A:(a||"UL"===d||"OL"===d||"TABLE"===d)&&!("LI"===d||"TD"===d||"TH"===d),this._firstDummy=new he(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new he(this._getWindow,this._isOutside,{isFirst:!1},t);const f=this._firstDummy.input;f&&e._dummyObserver.add(f,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var r,o,n,i;if(0===(this._wrappers=this._wrappers.filter((r=>r.manager!==e&&!t))).length){delete(null===(r=this._element)||void 0===r?void 0:r.get()).__tabsterDummy;for(const r of this._transformElements)r.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(o=this._firstDummy)||void 0===o?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),null===(n=this._firstDummy)||void 0===n||n.dispose(),null===(i=this._lastDummy)||void 0===i||i.dispose()}}_onFocus(e,t,r,o){var n;const i=this._getCurrent();!i||t.useDefaultAction&&!this._callForDefaultAction||null===(n=i.manager.getHandler(e))||void 0===n||n(t,r,o)}_getCurrent(){return this._wrappers.sort(((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority)),this._wrappers[0]}_ensurePosition(){var e,t,r;const o=null===(e=this._element)||void 0===e?void 0:e.get(),n=null===(t=this._firstDummy)||void 0===t?void 0:t.input,i=null===(r=this._lastDummy)||void 0===r?void 0:r.input;if(o&&n&&i)if(this._isOutside){const e=K.getParentNode(o);if(e){const t=K.getNextSibling(o);t!==i&&K.insertBefore(e,i,t),K.getPreviousElementSibling(o)!==n&&K.insertBefore(e,n,o)}}else{K.getLastElementChild(o)!==i&&K.appendChild(o,i);const e=K.getFirstElementChild(o);e&&e!==n&&e.parentNode&&K.insertBefore(e.parentNode,n,e)}}}function ke(e){let t=null;for(let r=K.getLastElementChild(e);r;r=K.getLastElementChild(r))t=r;return t||void 0}function xe(e,t,r,o){const n=e.storageEntry(t,!0);let i=!1;if(!n.aug){if(void 0===o)return i;n.aug={}}if(void 0===o){if(r in n.aug){const e=n.aug[r];delete n.aug[r],null===e?t.removeAttribute(r):t.setAttribute(r,e),i=!0}}else{let e;r in n.aug||(e=t.getAttribute(r)),void 0!==e&&e!==o&&(n.aug[r]=e,null===o?t.removeAttribute(r):t.setAttribute(r,o),i=!0)}return void 0===o&&0===Object.keys(n.aug).length&&(delete n.aug,e.storageEntry(t,!1)),i}function Ce(e){var t,r;const o=e.ownerDocument,n=null===(t=o.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&o.body!==e&&"fixed"!==(null===n||void 0===n?void 0:n.position))return!0;if("hidden"===(null===n||void 0===n?void 0:n.visibility))return!0;if("fixed"===(null===n||void 0===n?void 0:n.position)){if("none"===n.display)return!0;if(null===(null===(r=e.parentElement)||void 0===r?void 0:r.offsetParent)&&o.body!==e.parentElement)return!0}return!1}function Se(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function _e(e){var t;return(null===(t=null===e||void 0===e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}function Ae(e,t){const r=JSON.stringify(e);return!0===t?r:{[i]:r}}function Te(e,t,r){let o;if(r){const t=e.getAttribute(i);if(t)try{o=JSON.parse(t)}catch(wt){0}}o||(o={}),function(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}(o,t),Object.keys(o).length>0?e.setAttribute(i,Ae(o,!0)):e.removeAttribute(i)}class Ee extends be{constructor(e,t,r,o){super(e,t,pe,o,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:r,ignoreAccessibility:!0});if(t)return void(0,n.kG)(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class Be extends fe{constructor(e,t,r,o,i){super(e,t,o),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const r=this._element.get();r&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),r.dispatchEvent(new U({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout((()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),r.dispatchEvent(new W({element:r}))}),0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let o=e.composedPath()[0];do{if(o===r)return void this._setFocused(!0);o=o&&t(o)}while(o)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const a=e.getWindow;this.uid=ae(a,t),this._sys=i,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const s=a().document;s.addEventListener(n.Oy,this._onFocusIn),s.addEventListener(n.RY,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Ee(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(n.Oy,this._onFocusIn),r.removeEventListener(n.RY,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&Ee.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){0}_remove(){0}}class Ie{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const o=this._autoRoot;if(o)return Te(r,{root:o},!0),E(this._tabster,r),null===(e=T(this._tabster,r))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit((()=>{this._autoRoot&&this._autoRootCreate()}))}_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach((e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])})),this.rootById={}}createRoot(e,t,r){const o=new Be(this._tabster,e,this._onRootDispose,t,r);return this._roots[o.id]=o,this._forceDummy&&o.addDummyInputs(),o}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r){var o,n,i,a;if(void 0===r&&(r={}),!t.ownerDocument)return;const{checkRtl:s,referenceElement:l}=r,c=e.getParent;let u,d,f,h;e.drainInitQueue();let p,g,m,v,b=!1,y=l||t;const w={};for(;y&&(!u||s);){const r=T(e,y);if(s&&void 0===m){const e=y.dir;e&&(m="rtl"===e.toLowerCase())}if(!r){y=c(y);continue}const a=y.tagName;(r.uncontrolled||"IFRAME"===a||"WEBVIEW"===a)&&(v=y),h||!(null===(o=r.focusable)||void 0===o?void 0:o.excludeFromMover)||f||(b=!0);const l=r.modalizer,k=r.groupper,x=r.mover;!d&&l&&(d=l),f||!k||d&&!l||(d?(!k.isActive()&&k.getProps().tabbability&&d.userId!==(null===(n=e.modalizer)||void 0===n?void 0:n.activeId)&&(d=void 0,f=k),g=k):f=k),h||!x||d&&!l||k&&y===t||!y.contains(t)||(h=x,p=!!f&&f!==k),r.root&&(u=r.root),(null===(i=r.focusable)||void 0===i?void 0:i.ignoreKeydown)&&Object.assign(w,r.focusable.ignoreKeydown),y=c(y)}if(!u){const r=e.root;r._autoRoot&&(null===(a=t.ownerDocument)||void 0===a?void 0:a.body)&&(u=r._autoRootCreate())}f&&!h&&(p=!0);return u?{root:u,modalizer:d,groupper:f,mover:h,groupperBeforeMover:p,modalizerInGroupper:g,rtl:s?!!m:void 0,uncontrolled:v,excludedFromMover:b,ignoreKeydown:e=>!!w[e.key]}:void 0}static getRoot(e,t){var r;const o=e.getParent;for(let n=t;n;n=o(n)){const t=null===(r=T(e,n))||void 0===r?void 0:r.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}class Ne{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach((r=>r(e,t)))}}class Pe{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=T(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,o){return!(!ce(e,s)||!t&&-1===e.tabIndex)&&((r||this.isVisible(e))&&(o||this.isAccessible(e)))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(Ce(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let r=e;r;r=K.getParentElement(r)){const e=T(this._tabster,r);if(this._isHidden(r))return!1;if(!(null===(t=null===e||void 0===e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!(!r||"true"!==r.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.isAugmented(e)))}findFirst(e,t){return this.findElement((0,o.A)({},e),t)}findLast(e,t){return this.findElement((0,o.A)({isBackward:!0},e),t)}findNext(e,t){return this.findElement((0,o.A)({},e),t)}findPrev(e,t){return this.findElement((0,o.A)((0,o.A)({},e),{},{isBackward:!0}),t)}findDefault(e,t){return this.findElement((0,o.A)((0,o.A)({},e),{},{acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault}),t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){var o,n,i;const{container:a,currentElement:s=null,includeProgrammaticallyFocusable:l,useActiveModalizer:c,ignoreAccessibility:u,modalizerId:d,isBackward:f,onElement:h}=t;r||(r={});const p=[];let{acceptCondition:g}=t;const m=!!g;if(!a)return null;g||(g=e=>this.isFocusable(e,l,!1,u));const v={container:a,modalizerUserId:void 0===d&&c?null===(o=this._tabster.modalizer)||void 0===o?void 0:o.activeId:d||(null===(i=null===(n=Ie.getTabsterContext(this._tabster,a))||void 0===n?void 0:n.modalizer)||void 0===i?void 0:i.userId),from:s||a,isBackward:f,isFindAll:e,acceptCondition:g,hasCustomCondition:m,includeProgrammaticallyFocusable:l,ignoreAccessibility:u,cachedGrouppers:{},cachedRadioGroups:{}},b=ee(a.ownerDocument,a,(e=>this._acceptElement(e,v)));if(!b)return null;const y=t=>{var o,n;const i=null!==(o=v.foundElement)&&void 0!==o?o:v.foundBackward;return i&&p.push(i),e?!(i&&(v.found=!1,delete v.foundElement,delete v.foundBackward,delete v.fromCtx,v.from=i,h&&!h(i)))&&!(!i&&!t):(i&&r&&(r.uncontrolled=null===(n=Ie.getTabsterContext(this._tabster,i))||void 0===n?void 0:n.uncontrolled),!(!t||i))};if(s||(r.outOfDOMOrder=!0),s&&K.nodeContains(a,s))b.currentNode=s;else if(f){const e=ke(a);if(!e)return null;if(this._acceptElement(e,v)===NodeFilter.FILTER_ACCEPT&&!y(!0))return v.skippedFocusable&&(r.outOfDOMOrder=!0),p;b.currentNode=e}do{f?b.previousNode():b.nextNode()}while(y());return v.skippedFocusable&&(r.outOfDOMOrder=!0),p.length?p:null}_acceptElement(e,t){var r,o,n;if(t.found)return NodeFilter.FILTER_ACCEPT;const i=t.foundBackward;if(i&&(e===i||!K.nodeContains(i,e)))return t.found=!0,t.foundElement=i,NodeFilter.FILTER_ACCEPT;const a=t.container;if(e===a)return NodeFilter.FILTER_SKIP;if(!K.nodeContains(a,e))return NodeFilter.FILTER_REJECT;if(_e(e))return NodeFilter.FILTER_REJECT;if(K.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const s=t.currentCtx=Ie.getTabsterContext(this._tabster,e);if(!s)return NodeFilter.FILTER_SKIP;if(ne(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return(null===(r=s.modalizer)||void 0===r?void 0:r.userId)===(null===(o=this._tabster.modalizer)||void 0===o?void 0:o.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,c=t.fromCtx;c||(c=t.fromCtx=Ie.getTabsterContext(this._tabster,t.from));const u=null===c||void 0===c?void 0:c.mover;let d=s.groupper,f=s.mover;if(l=null===(n=this._tabster.modalizer)||void 0===n?void 0:n.acceptElement(e,t),void 0!==l&&(t.skippedFocusable=!0),void 0===l&&(d||f||u)){const r=null===d||void 0===d?void 0:d.getElement(),o=null===u||void 0===u?void 0:u.getElement();let n=null===f||void 0===f?void 0:f.getElement();n&&K.nodeContains(o,n)&&K.nodeContains(a,o)&&(!r||!f||K.nodeContains(o,r))&&(f=u,n=o),!r||r!==a&&K.nodeContains(a,r)||(d=void 0),n&&!K.nodeContains(a,n)&&(f=void 0),d&&f&&(n&&r&&!K.nodeContains(r,n)?f=void 0:d=void 0),d&&(l=d.acceptElement(e,t)),f&&(l=f.acceptElement(e,t))}if(void 0===l&&(l=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Se(e)&&!e.checked){const r=e.name;let o=t.cachedRadioGroups[r];if(o||(o=function(e){if(!Se(e))return;const t=e.name;let r,o=Array.from(K.getElementsByName(e,t));return o=o.filter((e=>!!Se(e)&&(e.checked&&(r=e),!0))),{name:t,buttons:new Set(o),checked:r}}(e),o&&(t.cachedRadioGroups[r]=o)),(null===o||void 0===o?void 0:o.checked)&&o.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return l}}const Re="Tab",Oe="Enter",je="Escape",ze="PageUp",Me="PageDown",Le="End",De="Home",Fe="ArrowLeft",qe="ArrowUp",He="ArrowRight",Ue="ArrowDown";const We={[c]:0,[u]:1,[l]:2};class Ke extends Ne{constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener(n.Oy,this._onFocusIn,!0),t.addEventListener(n.RY,this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const r=K.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if(e.key!==Re||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,o=r.controlTab,i=Ie.getTabsterContext(r,t);if(!i||i.ignoreKeydown(e))return;const a=e.shiftKey,s=Ke.findNextTabbable(r,i,void 0,t,void 0,a,!0),l=i.root.getElement();if(!l)return;const c=null===s||void 0===s?void 0:s.element,u=function(e,t){var r;const o=e.getParent;let n=t;do{const t=null===(r=T(e,n))||void 0===r?void 0:r.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(n,!!t.completely))return n;n=o(n)}while(n)}(r,t);if(c){const d=s.uncontrolled;if(i.uncontrolled||K.nodeContains(d,t)){if(!s.outOfDOMOrder&&d===i.uncontrolled||u&&!K.nodeContains(u,c))return;return void be.addPhantomDummyWithTarget(r,t,a,c)}if(d||"IFRAME"===c.tagName)return void(l.dispatchEvent(new L({by:"root",owner:l,next:c,relatedEvent:e}))&&be.moveWithPhantomDummy(this._tabster,null!==d&&void 0!==d?d:c,!1,a,e));(o||(null===s||void 0===s?void 0:s.outOfDOMOrder))&&l.dispatchEvent(new L({by:"root",owner:l,next:c,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),(0,n.kG)(c))}else!u&&l.dispatchEvent(new L({by:"root",owner:l,next:null,relatedEvent:e}))&&i.root.moveOutWithDefaultAction(a,e)},this._onChanged=(e,t)=>{var r,n;if(e)e.dispatchEvent(new z(t));else{const e=null===(r=this._lastVal)||void 0===r?void 0:r.get();if(e){const r=(0,o.A)({},t),i=Ie.getTabsterContext(this._tabster,e),a=null===(n=null===i||void 0===i?void 0:i.modalizer)||void 0===n?void 0:n.userId;a&&(r.modalizerId=a),e.dispatchEvent(new M(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener(n.Oy,this._onFocusIn,!0),t.removeEventListener(n.RY,this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete Ke._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,o;let n=Ke._lastResetElement,i=n&&n.get();i&&K.nodeContains(t,i)&&delete Ke._lastResetElement,i=null===(o=null===(r=e._nextVal)||void 0===r?void 0:r.element)||void 0===o?void 0:o.get(),i&&K.nodeContains(t,i)&&delete e._nextVal,n=e._lastVal,i=n&&n.get(),i&&K.nodeContains(t,i)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!le(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r,o){return!!this._tabster.focusable.isFocusable(e,t,!1,r)&&(e.focus({preventScroll:o}),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var r;const{container:o,ignoreAccessibility:n}=t;let i;if(o){const t=Ie.getTabsterContext(this._tabster,o);t&&(i=null===(r=Ke.findNextTabbable(this._tabster,t,o,void 0,void 0,!e,n))||void 0===r?void 0:r.element)}return i&&!K.nodeContains(o,i)&&(i=void 0),i||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),Ke._lastResetElement=new Z(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const o=this._tabster.getWindow(),n=this._asyncFocus;if(n){if(We[e]>We[n.source])return;o.clearTimeout(n.timeout)}this._asyncFocus={source:e,callback:t,timeout:o.setTimeout((()=>{this._asyncFocus=void 0,t()}),r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null===t||void 0===t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var o,n;if(this._tabster._noop)return;const i={relatedTarget:t};if(e){const t=null===(o=Ke._lastResetElement)||void 0===o?void 0:o.get();if(Ke._lastResetElement=void 0,t===e||ne(e))return;i.isFocusedProgrammatically=r;const a=Ie.getTabsterContext(this._tabster,e),s=null===(n=null===a||void 0===a?void 0:a.modalizer)||void 0===n?void 0:n.userId;s&&(i.modalizerId=s)}const a=this._nextVal={element:e?new Z(this._win,e):void 0,detail:i};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===a&&this.setVal(e,i),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new Z(this._win,e))}static findNextTabbable(e,t,r,o,n,i,a){const s=r||t.root.getElement();if(!s)return null;let l=null;const c=Ke._isTabbingTimer,u=e.getWindow();c&&u.clearTimeout(c),Ke.isTabbing=!0,Ke._isTabbingTimer=u.setTimeout((()=>{delete Ke._isTabbingTimer,Ke.isTabbing=!1}),0);const d=t.modalizer,f=t.groupper,h=t.mover,p=t=>{if(l=t.findNextTabbable(o,n,i,a),o&&!(null===l||void 0===l?void 0:l.element)){const n=t!==d&&K.getParentElement(t.getElement());if(n){const s=Ie.getTabsterContext(e,o,{referenceElement:n});if(s){const o=t.getElement(),c=i?o:o&&ke(o)||o;c&&(l=Ke.findNextTabbable(e,s,r,c,n,i,a),l&&(l.outOfDOMOrder=!0))}}}};if(f&&h)p(t.groupperBeforeMover?f:h);else if(f)p(f);else if(h)p(h);else if(d)p(d);else{const t={container:s,currentElement:o,referenceElement:n,ignoreAccessibility:a,useActiveModalizer:!0},r={},c=e.focusable[i?"findPrev":"findNext"](t,r);l={element:c,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return l}}Ke.isTabbing=!1;class Ge extends be{constructor(e,t,r,o){super(r,e,ve,o,!0),this._setHandlers(((o,i,a)=>{var s,l;const c=e.get(),u=o.input;if(c&&u){const e=Ie.getTabsterContext(r,u);if(e){let d;d=null===(s=t.findNextTabbable(a||void 0,void 0,i,!0))||void 0===s?void 0:s.element,d||(d=null===(l=Ke.findNextTabbable(r,e,void 0,o.isOutside?u:function(e,t){let r=e,o=null;for(;r&&!o;)o=t?K.getPreviousElementSibling(r):K.getNextElementSibling(r),r=K.getParentElement(r);return o||void 0}(c,!i),void 0,i,!0))||void 0===l?void 0:l.element),d&&(0,n.kG)(d)}}}))}}class Ve extends fe{constructor(e,t,r,o,n){super(e,t,o),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=r,e.controlTab||(this.dummyManager=new Ge(this._element,this,e,n))}dispose(){var e;this._onDispose(this);this._element.get();null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,r,o){const n=this.getElement();if(!n)return null;const i=_e(e)===n;if(!this._shouldTabInside&&e&&K.nodeContains(n,e)&&!i)return{element:void 0,outOfDOMOrder:!0};const a=this.getFirst(!0);if(!e||!K.nodeContains(n,e)||i)return{element:a,outOfDOMOrder:!0};const s=this._tabster;let l,c=null,u=!1;if(this._shouldTabInside&&a){const i={container:n,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},a={};c=s.focusable[r?"findPrev":"findNext"](i,a),u=!!a.outOfDOMOrder,c||this._props.tabbability!==S.LimitedTrapFocus||(c=s.focusable[r?"findLast":"findFirst"]({container:n,ignoreAccessibility:o,useActiveModalizer:!0},a),u=!0),l=a.uncontrolled}return{element:c,uncontrolled:l,outOfDOMOrder:u}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){var t;const r=this.getElement()||null;let o=!0;for(let i=K.getParentElement(r);i;i=K.getParentElement(i)){const e=null===(t=T(this._tabster,i))||void 0===t?void 0:t.groupper;e&&(e._shouldTabInside||(o=!1))}let n=o?!!this._props.tabbability&&this._shouldTabInside:void 0;if(n&&e){const e=this._tabster.focusedElement.getFocusedElement();e&&(n=e!==this.getFirst(!0))}return n}getFirst(e){var t;const r=this.getElement();let o;if(r){if(e&&this._tabster.focusable.isFocusable(r))return r;o=null===(t=this._first)||void 0===t?void 0:t.get(),o||(o=this._tabster.focusable.findFirst({container:r,useActiveModalizer:!0})||void 0,o&&this.setFirst(o))}return o}setFirst(e){e?this._first=new Z(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){const r=t.cachedGrouppers,o=K.getParentElement(this.getElement()),n=o&&Ie.getTabsterContext(this._tabster,o),i=null===n||void 0===n?void 0:n.groupper,a=(null===n||void 0===n?void 0:n.groupperBeforeMover)?i:void 0;let s;const l=e=>{let t,o=r[e.id];return o?t=o.isActive:(t=this.isActive(!0),o=r[e.id]={isActive:t}),t};if(a&&(s=a.getElement(),!l(a)&&s&&t.container!==s&&K.nodeContains(t.container,s)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const c=l(this),u=this.getElement();if(u&&!0!==c){if(u===e&&i&&(s||(s=i.getElement()),s&&!l(i)&&K.nodeContains(t.container,s)&&s!==t.container))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;if(u!==e&&K.nodeContains(u,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const o=r[this.id];let n;if(n="first"in o?o.first:o.first=this.getFirst(!0),n&&t.acceptCondition(n))return t.rejectElementsFrom=u,t.skippedFocusable=!0,n!==t.from?(t.found=!0,t.foundElement=n,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Ye{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{const e=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const t=e.document,r=K.getActiveElement(t);r&&this._onFocus(r),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(P,this._onMoveFocus)},this._onGroupperDispose=e=>{delete this._grouppers[e.id]},this._onFocus=e=>{e&&this._updateCurrent(e,!0,!0)},this._onMouseDown=e=>{e.target&&this._updateCurrent(e.target,!0)},this._onKeyDown=e=>{if(e.key!==Oe&&e.key!==je)return;if(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.action;r&&void 0!==o&&!e.defaultPrevented&&(o===_?this._enterGroupper(r):this._escapeGroupper(r),e.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){const e=this._win();this._tabster.focusedElement.cancelAsyncFocus(l),this._current={},this._updateTimer&&(e.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),e.removeEventListener(P,this._onMoveFocus),Object.keys(this._grouppers).forEach((e=>{this._grouppers[e]&&(this._grouppers[e].dispose(),delete this._grouppers[e])}))}createGroupper(e,t,r){const o=new Ve(this._tabster,e,this._onGroupperDispose,t,r);this._grouppers[o.id]=o;const n=this._tabster.focusedElement.getFocusedElement();return n&&K.nodeContains(e,n)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout((()=>{delete this._updateTimer,n===this._tabster.focusedElement.getFocusedElement()&&this._updateCurrent(n,!0,!0)}),0)),o}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e,t,r){var o;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const n={};let i=!0;for(let a=e;a;a=K.getParentElement(a)){const s=null===(o=T(this._tabster,a))||void 0===o?void 0:o.groupper;if(s){if(n[s.id]=!0,i&&r&&a!==e&&(i=!1),t||!i){this._current[s.id]=s;const t=s.isActive()||e!==a&&(!s.getProps().delegated||s.getFirst(!1)!==e);s.makeTabbable(t)}i=!1}}for(const a of Object.keys(this._current)){const e=this._current[a];e.id in n||(e.makeTabbable(!1),e.setFirst(void 0),delete this._current[a])}}_enterGroupper(e,t){const r=this._tabster,o=Ie.getTabsterContext(r,e),n=(null===o||void 0===o?void 0:o.groupper)||(null===o||void 0===o?void 0:o.modalizerInGroupper),i=null===n||void 0===n?void 0:n.getElement();if(n&&i&&(e===i||n.getProps().delegated&&e===n.getFirst(!1))){const o=r.focusable.findNext({container:i,currentElement:e,useActiveModalizer:!0});if(o&&(!t||t&&i.dispatchEvent(new L({by:"groupper",owner:i,next:o,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),o.focus(),o}return null}_escapeGroupper(e,t,r){var o;const n=this._tabster,i=Ie.getTabsterContext(n,e),a=null===i||void 0===i?void 0:i.modalizerInGroupper;let s=(null===i||void 0===i?void 0:i.groupper)||a;const l=null===s||void 0===s?void 0:s.getElement();if(s&&l&&K.nodeContains(l,e)){let i;if(e!==l||r)i=s.getFirst(!0);else{const e=K.getParentElement(l),t=e?Ie.getTabsterContext(n,e):void 0;s=null===t||void 0===t?void 0:t.groupper,i=null===s||void 0===s?void 0:s.getFirst(!0)}if(i&&(!t||t&&l.dispatchEvent(new L({by:"groupper",owner:l,next:i,relatedEvent:t}))))return s&&(s.makeTabbable(!1),a&&(null===(o=n.modalizer)||void 0===o||o.setActive(void 0))),i.focus(),i}return null}moveFocus(e,t){return t===_?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,r){const o=this._tabster,n=Ie.getTabsterContext(o,e);if(n&&((null===n||void 0===n?void 0:n.groupper)||(null===n||void 0===n?void 0:n.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(l),n.ignoreKeydown(t))return;if(t.key===Oe)this._enterGroupper(e,t);else if(t.key===je){const n=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(l,(()=>{(n===o.focusedElement.getFocusedElement()||(!r||n)&&r)&&this._escapeGroupper(e,t,r)}),0)}}}}class Xe extends Ne{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=(0,n.SQ)(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),(0,n.bd)(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}}let Qe=0;const Ze="aria-hidden";class Je extends be{constructor(e,t,r){super(t,e,ge,r),this._setHandlers(((r,o)=>{var i,a;const s=e.get(),l=s&&(null===(i=Ie.getRoot(t,s))||void 0===i?void 0:i.getElement()),c=r.input;let u;if(l&&c){const e=_e(c),r=Ie.getTabsterContext(t,e||c);r&&(u=null===(a=Ke.findNextTabbable(t,r,l,c,void 0,o,!0))||void 0===a?void 0:a.element),u&&(0,n.kG)(u)}}))}}class $e extends fe{constructor(e,t,r,o,n,i){super(e,t,o),this._wasFocused=0,this.userId=o.id,this._onDispose=r,this._activeElements=i,e.controlTab||(this.dummyManager=new Je(this._element,e,n))}makeActive(e){if(this._isActive!==e){this._isActive=e;const t=this.getElement();if(t){const r=this._activeElements,o=r.map((e=>e.get())).indexOf(t);e?o<0&&r.push(new Z(this._tabster.getWindow,t)):o>=0&&r.splice(o,1)}0,this._dispatchEvent(e)}}focused(e){return e||(this._wasFocused=++Qe),this._wasFocused}setProps(e){e.id&&(this.userId=e.id),this._props=(0,o.A)({},e)}dispose(){var e;this.makeActive(!1),this._onDispose(this),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(e){return K.nodeContains(this.getElement(),e)}findNextTabbable(e,t,r,o){var n,i;if(!this.getElement())return null;const a=this._tabster;let s,l=null,c=!1;const u=e&&(null===(n=Ie.getRoot(a,e))||void 0===n?void 0:n.getElement());if(u){const n={container:u,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},d={};l=a.focusable[r?"findPrev":"findNext"](n,d),!l&&this._props.isTrapped&&(null===(i=a.modalizer)||void 0===i?void 0:i.activeId)?(l=a.focusable[r?"findLast":"findFirst"]({container:u,ignoreAccessibility:o,useActiveModalizer:!0},d),null===l&&(l=e),c=!0):c=!!d.outOfDOMOrder,s=d.uncontrolled}return{element:l,uncontrolled:s,outOfDOMOrder:c}}_dispatchEvent(e,t){const r=this.getElement();let o=!1;if(r){const n=t?this._activeElements.map((e=>e.get())):[r];for(const t of n)if(t){const n={id:this.userId,element:r},i=e?new F(n):new q(n);t.dispatchEvent(i),i.defaultPrevented&&(o=!0)}}return o}_remove(){0}}class et{constructor(e,t,r){this._onModalizerDispose=e=>{const t=e.id,r=e.userId,o=this._parts[r];delete this._modalizers[t],o&&(delete o[t],0===Object.keys(o).length&&(delete this._parts[r],this.activeId===r&&this.setActive(void 0)))},this._onKeyDown=e=>{var t;if(e.key!==je)return;const r=this._tabster,o=r.focusedElement.getFocusedElement();if(o){const n=Ie.getTabsterContext(r,o),i=null===n||void 0===n?void 0:n.modalizer;if(n&&!n.groupper&&(null===i||void 0===i?void 0:i.isActive())&&!n.ignoreKeydown(e)){const o=i.userId;if(o){const n=this._parts[o];if(n){const o=Object.keys(n).map((e=>{var t;const r=n[e],o=r.getElement();let i;return o&&(i=null===(t=T(this._tabster,o))||void 0===t?void 0:t.groupper),r&&o&&i?{el:o,focusedSince:r.focused(!0)}:{focusedSince:0}})).filter((e=>e.focusedSince>0)).sort(((e,t)=>e.focusedSince>t.focusedSince?-1:e.focusedSince<t.focusedSince?1:0));if(o.length){const n=o[0].el;n&&(null===(t=r.groupper)||void 0===t||t.handleKeyPress(n,e,!0))}}}}}},this._onFocus=(e,t)=>{var r,o;const n=e&&Ie.getTabsterContext(this._tabster,e);if(!n||!e)return;const i=this._augMap;for(let s=e;s;s=K.getParentElement(s))i.has(s)&&(i.delete(s),xe(this._tabster,s,Ze));const a=n.modalizer;if(null===(o=a||(null===(r=T(this._tabster,e))||void 0===r?void 0:r.modalizer))||void 0===o||o.focused(),(null===a||void 0===a?void 0:a.userId)!==this.activeId)if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||(null===a||void 0===a?void 0:a.getProps().isAlwaysAccessible))this.setActive(a);else{const t=this._win();t.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=t.setTimeout((()=>this._restoreModalizerFocus(e)),100)}else this.currentIsOthersAccessible=null===a||void 0===a?void 0:a.getProps().isOthersAccessible},this._tabster=e,this._win=e.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=r,this.activeElements=[],e.controlTab||e.root.addDummyInputs();this._win().addEventListener("keydown",this._onKeyDown,!0),e.queueInit((()=>{this._tabster.focusedElement.subscribe(this._onFocus)}))}dispose(){const e=this._win();e.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((e=>{this._modalizers[e]&&(this._modalizers[e].dispose(),delete this._modalizers[e])})),e.clearTimeout(this._restoreModalizerFocusTimer),e.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(e,t,r){var o;const n=new $e(this._tabster,e,this._onModalizerDispose,t,r,this.activeElements),i=n.id,a=t.id;this._modalizers[i]=n;let s=this._parts[a];return s||(s=this._parts[a]={}),s[i]=n,K.nodeContains(e,null!==(o=this._tabster.focusedElement.getFocusedElement())&&void 0!==o?o:null)&&(a!==this.activeId?this.setActive(n):n.makeActive(!0)),n}isAugmented(e){return this._augMap.has(e)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout((()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()}),250))}setActive(e){const t=null===e||void 0===e?void 0:e.userId,r=this.activeId;if(r!==t){if(this.activeId=t,r){const e=this._parts[r];if(e)for(const t of Object.keys(e))e[t].makeActive(!1)}if(t){const e=this._parts[t];if(e)for(const t of Object.keys(e))e[t].makeActive(!0)}this.currentIsOthersAccessible=null===e||void 0===e?void 0:e.getProps().isOthersAccessible,this.hiddenUpdate()}}focus(e,t,r){const o=Ie.getTabsterContext(this._tabster,e),n=null===o||void 0===o?void 0:o.modalizer;if(n){this.setActive(n);const e=n.getProps(),o=n.getElement();if(o){if(void 0===t&&(t=e.isNoFocusFirst),!t&&this._tabster.keyboardNavigation.isNavigatingWithKeyboard()&&this._tabster.focusedElement.focusFirst({container:o}))return!0;if(void 0===r&&(r=e.isNoFocusDefault),!r&&this._tabster.focusedElement.focusDefault(o))return!0;this._tabster.focusedElement.resetFocus(o)}}else 0;return!1}acceptElement(e,t){var r;const o=t.modalizerUserId,n=null===(r=t.currentCtx)||void 0===r?void 0:r.modalizer;if(o)for(const a of this.activeElements){const t=a.get();if(t&&(K.nodeContains(e,t)||t===e))return NodeFilter.FILTER_SKIP}const i=o===(null===n||void 0===n?void 0:n.userId)||!o&&(null===n||void 0===n?void 0:n.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return void 0!==i&&(t.skippedFocusable=!0),i}_hiddenUpdate(){var e;const t=this._tabster,r=t.getWindow().document.body,o=this.activeId,n=this._parts,i=[],a=[],s=this._alwaysAccessibleSelector,l=s?Array.from(K.querySelectorAll(r,s)):[],c=[];for(const m of Object.keys(n)){const e=n[m];for(const t of Object.keys(e)){const r=e[t],n=r.getElement(),s=r.getProps().isAlwaysAccessible;n&&(m===o?(c.push(n),this.currentIsOthersAccessible||i.push(n)):s?l.push(n):a.push(n))}}const u=this._augMap,d=i.length>0?[...i,...l]:void 0,f=[],h=new WeakMap,p=(e,r)=>{var o;const n=e.tagName;if("SCRIPT"===n||"STYLE"===n)return;let i=!1;u.has(e)?r?i=!0:(u.delete(e),xe(t,e,Ze)):r&&!(null===(o=this._accessibleCheck)||void 0===o?void 0:o.call(this,e,c))&&xe(t,e,Ze,"true")&&(u.set(e,!0),i=!0),i&&(f.push(new Z(t.getWindow,e)),h.set(e,!0))},g=e=>{var r;for(let o=K.getFirstElementChild(e);o;o=K.getNextElementSibling(o)){let e=!1,n=!1,i=!1;if(d){const a=t.getParent(o);for(const t of d){if(o===t){e=!0;break}if(K.nodeContains(o,t)){n=!0;break}K.nodeContains(t,a)&&(i=!0)}n||(null===(r=o.__tabsterElementFlags)||void 0===r?void 0:r.noDirectAriaHidden)?g(o):e||i||p(o,!0)}else p(o,!1)}};d||l.forEach((e=>p(e,!1))),a.forEach((e=>p(e,!0))),r&&g(r),null===(e=this._aug)||void 0===e||e.map((e=>e.get())).forEach((e=>{e&&!h.get(e)&&p(e,!1)})),this._aug=f,this._augMap=h}_restoreModalizerFocus(e){const t=null===e||void 0===e?void 0:e.ownerDocument;if(!e||!t)return;const r=Ie.getTabsterContext(this._tabster,e),o=null===r||void 0===r?void 0:r.modalizer,n=this.activeId;if(!o&&!n||o&&n===o.userId)return;const i=null===r||void 0===r?void 0:r.root.getElement();if(i){let t=this._tabster.focusable.findFirst({container:i,useActiveModalizer:!0});if(t){if(e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING&&(t=this._tabster.focusable.findLast({container:i,useActiveModalizer:!0}),!t))throw new Error("Something went wrong.");return void this._tabster.focusedElement.focus(t)}}e.blur()}}const tt=["input","textarea","*[contenteditable]"].join(", ");class rt extends be{constructor(e,t,r,o){super(t,e,me,o),this._onFocusDummyInput=e=>{var t,r;const o=this._element.get(),i=e.input;if(o&&i){const a=Ie.getTabsterContext(this._tabster,o);let s;a&&(s=null===(t=Ke.findNextTabbable(this._tabster,a,void 0,i,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const l=null===(r=this._getMemorized())||void 0===r?void 0:r.get();l&&this._tabster.focusable.isFocusable(l)&&(s=l),s&&(0,n.kG)(s)}},this._tabster=t,this._getMemorized=r,this._setHandlers(this._onFocusDummyInput)}}class ot extends fe{constructor(e,t,r,o,n){var i;super(e,t,o),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,r=ae(this._win,e);let o,n=this._fullyVisible;if(t.intersectionRatio>=.25?(o=t.intersectionRatio>=.75?h:f,o===h&&(n=r)):o=d,this._visible[r]!==o){void 0===o?(delete this._visible[r],n===r&&delete this._fullyVisible):(this._visible[r]=o,this._fullyVisible=n);const t=this.getState(e);t&&e.dispatchEvent(new D(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(i=o.visibilityTolerance)&&void 0!==i?i:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=r;const a=()=>o.memorizeCurrent?this._current:void 0;e.controlTab||(this.dummyManager=new rt(this._element,e,a,n))}dispose(){var e;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new Z(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout((()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const r of t){const t=null===r||void 0===r?void 0:r.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new D(e))}}}})))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,r,o){const n=this.getElement(),i=n&&_e(e)===n;if(!n)return null;let a,s=null,l=!1;if(this._props.tabbable||i||e&&!K.nodeContains(n,e)){const i={currentElement:e,referenceElement:t,container:n,ignoreAccessibility:o,useActiveModalizer:!0},c={};s=this._tabster.focusable[r?"findPrev":"findNext"](i,c),l=!!c.outOfDOMOrder,a=c.uncontrolled}return{element:s,uncontrolled:a,outOfDOMOrder:l}}acceptElement(e,t){var r,o;if(!Ke.isTabbing)return(null===(r=t.currentCtx)||void 0===r?void 0:r.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:n,visibilityAware:i,hasDefault:a=!0}=this._props,s=this.getElement();if(s&&(n||i||a)&&(!K.nodeContains(s,t.from)||_e(t.from)===s)){let e;if(n){const r=null===(o=this._current)||void 0===o?void 0:o.get();r&&t.acceptCondition(r)&&(e=r)}if(!e&&a&&(e=this._tabster.focusable.findDefault({container:s,useActiveModalizer:!0})),!e&&i&&(e=this._tabster.focusable.findElement({container:s,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var r;const o=ae(this._win,e),n=this._visible[o];return s!==e&&!!(null===(r=this._allElements)||void 0===r?void 0:r.get(e))&&t.acceptCondition(e)&&(n===h||n===f&&(i===f||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=s,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"===typeof MutationObserver)return;const t=this._win(),r=this._allElements=new WeakMap,o=this._tabster.focusable;let n=this._updateQueue=[];const i=K.createMutationObserver((e=>{for(const t of e){const e=t.target,r=t.removedNodes,o=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&n.push({element:e,type:2});else{for(let e=0;e<r.length;e++)n.push({element:r[e],type:3});for(let e=0;e<o.length;e++)n.push({element:o[e],type:1})}}u()})),a=(e,t)=>{var o,n;const i=r.get(e);i&&t&&(null===(o=this._intersectionObserver)||void 0===o||o.unobserve(e),r.delete(e)),i||t||(r.set(e,this),null===(n=this._intersectionObserver)||void 0===n||n.observe(e))},s=e=>{const t=o.isFocusable(e);r.get(e)?t||a(e,!0):t&&a(e)},l=e=>{const{mover:r}=d(e);if(r&&r!==this){if(r.getElement()!==e||!o.isFocusable(e))return;a(e)}const n=ee(t.document,e,(e=>{const{mover:t,groupper:r}=d(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const n=null===r||void 0===r?void 0:r.getFirst(!0);return r&&r.getElement()!==e&&n&&n!==e?NodeFilter.FILTER_REJECT:(o.isFocusable(e)&&a(e),NodeFilter.FILTER_SKIP)}));if(n)for(n.currentNode=e;n.nextNode(););},c=e=>{r.get(e)&&a(e,!0);for(let t=K.getFirstElementChild(e);t;t=K.getNextElementSibling(t))c(t)},u=()=>{!this._updateTimer&&n.length&&(this._updateTimer=t.setTimeout((()=>{delete this._updateTimer;for(const{element:e,type:t}of n)switch(t){case 2:s(e);break;case 1:l(e);break;case 3:c(e)}n=this._updateQueue=[]}),0))},d=e=>{const t={};for(let r=e;r;r=K.getParentElement(r)){const e=T(this._tabster,r);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};n.push({element:e,type:1}),u(),i.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{i.disconnect()}}getState(e){const t=ae(this._win,e);if(t in this._visible){const r=this._visible[t]||d;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:r}}}}class nt{constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener(I,this._onMoveFocus),e.addEventListener(N,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let r=e,o=e;for(let n=K.getParentElement(e);n;n=K.getParentElement(n)){const e=null===(t=T(this._tabster,n))||void 0===t?void 0:t.mover;e&&(e.setCurrent(o),r=void 0),!r&&this._tabster.focusable.isFocusable(n)&&(r=o=n)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const r=e.key;let o;if(r===Ue?o=v:r===He?o=y:r===qe?o=m:r===Fe?o=b:r===Me?o=k:r===ze?o=w:r===De?o=x:r===Le&&(o=C),!o)return;const n=this._tabster.focusedElement.getFocusedElement();n&&!await this._isIgnoredInput(n,r)&&this._moveFocus(n,o,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.key;r&&void 0!==o&&!e.defaultPrevented&&(this._moveFocus(r,o),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const r=e.composedPath()[0];let o=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(r){const t=Ie.getTabsterContext(this._tabster,r),n=null===t||void 0===t?void 0:t.mover;n&&(o&&!K.nodeContains(n.getElement(),o)&&(o=void 0),n.setCurrent(o),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(I,this._onMoveFocus),t.removeEventListener(N,this._onMemorizedElement),Object.keys(this._movers).forEach((e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])}))}createMover(e,t,r){const o=new ot(this._tabster,e,this._onMoverDispose,t,r);return this._movers[o.id]=o,o}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,r){var o,i;const a=this._tabster,s=Ie.getTabsterContext(a,e,{checkRtl:!0});if(!s||!s.mover||s.excludedFromMover||r&&s.ignoreKeydown(r))return null;const l=s.mover,c=l.getElement();if(s.groupperBeforeMover){const e=s.groupper;if(!e||e.isActive(!0))return null;for(let t=K.getParentElement(e.getElement());t&&t!==c;t=K.getParentElement(t))if(null===(i=null===(o=T(a,t))||void 0===o?void 0:o.groupper)||void 0===i?void 0:i.isActive(!0))return null}if(!c)return null;const u=a.focusable,d=l.getProps(),f=d.direction||g.Both,h=f===g.Both,p=h||f===g.Vertical,S=h||f===g.Horizontal,_=f===g.GridLinear,A=_||f===g.Grid,E=d.cyclic;let B,I,N,P=0,R=0;if(A&&(N=e.getBoundingClientRect(),P=Math.ceil(N.left),R=Math.floor(N.right)),s.rtl&&(t===y?t=b:t===b&&(t=y)),t===v&&p||t===y&&(S||A))if(B=u.findNext({currentElement:e,container:c,useActiveModalizer:!0}),B&&A){const e=Math.ceil(B.getBoundingClientRect().left);!_&&R>e&&(B=void 0)}else!B&&E&&(B=u.findFirst({container:c,useActiveModalizer:!0}));else if(t===m&&p||t===b&&(S||A))if(B=u.findPrev({currentElement:e,container:c,useActiveModalizer:!0}),B&&A){const e=Math.floor(B.getBoundingClientRect().right);!_&&e>P&&(B=void 0)}else!B&&E&&(B=u.findLast({container:c,useActiveModalizer:!0}));else if(t===x)A?u.findElement({container:c,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var r;if(!u.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&P<=o||(B=t,!1)}}):B=u.findFirst({container:c,useActiveModalizer:!0});else if(t===C)A?u.findElement({container:c,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var r;if(!u.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&P>=o||(B=t,!1)}}):B=u.findLast({container:c,useActiveModalizer:!0});else if(t===w){if(u.findElement({currentElement:e,container:c,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!!u.isFocusable(e)&&(!re(this._win,e,l.visibilityTolerance)||(B=e,!1))}),A&&B){const e=Math.ceil(B.getBoundingClientRect().left);u.findElement({currentElement:B,container:c,useActiveModalizer:!0,acceptCondition:t=>{if(!u.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return P<r||e>=r||(B=t,!1)}})}I=!1}else if(t===k){if(u.findElement({currentElement:e,container:c,useActiveModalizer:!0,acceptCondition:e=>!!u.isFocusable(e)&&(!re(this._win,e,l.visibilityTolerance)||(B=e,!1))}),A&&B){const e=Math.ceil(B.getBoundingClientRect().left);u.findElement({currentElement:B,container:c,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!u.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return P>r||e<=r||(B=t,!1)}})}I=!0}else if(A){const r=t===m,o=P,n=Math.ceil(N.top),i=R,a=Math.floor(N.bottom);let s,l,d=0;u.findAll({container:c,currentElement:e,isBackward:r,onElement:e=>{const t=e.getBoundingClientRect(),c=Math.ceil(t.left),u=Math.ceil(t.top),f=Math.floor(t.right),h=Math.floor(t.bottom);if(r&&n<h||!r&&a>u)return!0;const p=Math.ceil(Math.min(i,f))-Math.floor(Math.max(o,c)),g=Math.ceil(Math.min(i-o,f-c));if(p>0&&g>=p){const t=p/g;t>d&&(s=e,d=t)}else if(0===d){const t=function(e,t,r,o,n,i,a,s){const l=r<n?n-r:a<e?e-a:0,c=o<i?i-o:s<t?t-s:0;return 0===l?c:0===c?l:Math.sqrt(l*l+c*c)}(o,n,i,a,c,u,f,h);(void 0===l||t<l)&&(l=t,s=e)}else if(d>0)return!1;return!0}}),B=s}return B&&(!r||r&&c.dispatchEvent(new L({by:"mover",owner:c,next:B,relatedEvent:r})))?(void 0!==I&&function(e,t,r){const o=oe(t);if(o){const n=te(e,o),i=t.getBoundingClientRect();o.scrollTop+=r?i.top-n.top:i.bottom-n.bottom}}(this._win,B,I),r&&(r.preventDefault(),r.stopImmediatePropagation()),(0,n.kG)(B),B):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&e.hasAttribute("aria-activedescendant"))return!0;if(ce(e,tt)){let r,o=0,n=0,i=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const r=e.type,a=e.value;if(i=(a||"").length,"email"===r||"number"===r){if(i){const r=K.getSelection(e);if(r){const e=r.toString().length,o=t===Fe||t===qe;if(r.modify("extend",o?"backward":"forward","character"),e!==r.toString().length)return r.modify("extend",o?"forward":"backward","character"),!0;i=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===r;o=t||0,n=e.selectionEnd||0}}else"true"===e.contentEditable&&(r=new(ue(this._win))((t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const r=this._win();this._ignoredInputTimer&&r.clearTimeout(this._ignoredInputTimer);const{anchorNode:a,focusNode:s,anchorOffset:l,focusOffset:c}=K.getSelection(e)||{};this._ignoredInputTimer=r.setTimeout((()=>{var t,r,u;delete this._ignoredInputTimer;const{anchorNode:d,focusNode:f,anchorOffset:h,focusOffset:p}=K.getSelection(e)||{};if(d===a&&f===s&&h===l&&p===c){if(o=h||0,n=p||0,i=(null===(r=e.textContent)||void 0===r?void 0:r.length)||0,d&&f&&K.nodeContains(e,d)&&K.nodeContains(e,f)&&d!==e){let t=!1;const r=e=>{if(e===d)t=!0;else if(e===f)return!0;const i=e.textContent;if(i&&!K.getFirstChild(e)){const e=i.length;t?f!==d&&(n+=e):(o+=e,n+=e)}let a=!1;for(let t=K.getFirstChild(e);t&&!a;t=t.nextSibling)a=r(t);return a};r(e)}null===(u=this._ignoredInputResolve)||void 0===u||u.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)}),0)})));if(r&&!await r)return!0;if(o!==n)return!0;if(o>0&&(t===Fe||t===qe||t===De))return!0;if(o<i&&(t===He||t===Ue||t===Le))return!0}return!1}}class it{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){var r;const o=null===(r=this._isUncontrolledCompletely)||void 0===r?void 0:r.call(this,e,t);return void 0===o?t:o}}class at extends fe{constructor(e,t,r){var o;if(super(e,t,r),this._hasFocus=!1,this._onFocusOut=e=>{var t;const r=null===(t=this._element)||void 0===t?void 0:t.get();r&&null===e.relatedTarget&&r.dispatchEvent(new H),r&&!K.nodeContains(r,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===p.Source){const e=null===(o=this._element)||void 0===o?void 0:o.get();null===e||void 0===e||e.addEventListener("focusout",this._onFocusOut),null===e||void 0===e||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=K.nodeContains(e,e&&K.getActiveElement(e.ownerDocument))}}dispose(){var e;if(this._props.type===p.Source){const t=null===(e=this._element)||void 0===e?void 0:e.get();if(null===t||void 0===t||t.removeEventListener("focusout",this._onFocusOut),null===t||void 0===t||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus){this._tabster.getWindow().document.body.dispatchEvent(new H)}}}}class st{constructor(e){this._stack=[],this._getWindow=e}push(e){var t;(null===(t=this._stack[this._stack.length-1])||void 0===t?void 0:t.get())!==e&&(this._stack.length>st.DEPTH&&this._stack.shift(),this._stack.push(new Z(this._getWindow,e)))}pop(e){var t;void 0===e&&(e=()=>!0);const r=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){const o=null===(t=this._stack.pop())||void 0===t?void 0:t.get();if(o&&K.nodeContains(r.body,K.getParentElement(o))&&e(o))return o}}}st.DEPTH=10;class lt{constructor(e){this._onRestoreFocus=e=>{var t,r;this._focusedElementState.cancelAsyncFocus(c);const o=e.composedPath()[0];if(o){const e=null===(r=null===(t=T(this._tabster,o))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id;this._focusedElementState.requestAsyncFocus(c,(()=>this._restoreFocus(o,e)),0)}},this._onFocusIn=e=>{var t;if(!e)return;const r=T(this._tabster,e);(null===(t=null===r||void 0===r?void 0:r.restorer)||void 0===t?void 0:t.getProps().type)===p.Target&&this._history.push(e)},this._restoreFocus=(e,t)=>{var r;const o=this._getWindow().document;if(K.getActiveElement(o)!==o.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&K.nodeContains(o.body,e))return;const n=e=>{var t,r;return null===(r=null===(t=T(this._tabster,e))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id};null===(r=this._history.pop((e=>t===n(e))))||void 0===r||r.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener(R,this._onRestoreFocus),this._history=new st(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(c),e.removeEventListener(R,this._onRestoreFocus)}createRestorer(e,t){const r=new at(this._tabster,e,t);return t.type===p.Target&&K.getActiveElement(e.ownerDocument)===e&&this._history.push(e),r}}function ct(e,t){var r,o;if(!e||!t)return!1;let n=t;for(;n;){if(n===e)return!0;n="function"!==typeof n.assignedElements&&(null===(r=n.assignedSlot)||void 0===r?void 0:r.parentNode)?null===(o=n.assignedSlot)||void 0===o?void 0:o.parentNode:n.nodeType===document.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode}return!1}class ut{static _overrideAttachShadow(e){const t=e.Element.prototype.attachShadow;t.__origAttachShadow||(Element.prototype.attachShadow=function(e){const r=t.call(this,e);for(const t of ut._shadowObservers)t._addSubObserver(r);return r},Element.prototype.attachShadow.__origAttachShadow=t)}constructor(e){this._isObserving=!1,this._callbackWrapper=(e,t)=>{for(const r of e)if("childList"===r.type){const e=r.removedNodes,t=r.addedNodes;for(let r=0;r<e.length;r++)this._walkShadows(e[r],!0);for(let r=0;r<t.length;r++)this._walkShadows(t[r])}this._callback(e,t)},this._callback=e,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=new Map}_addSubObserver(e){if(this._options&&this._callback&&!this._subObservers.has(e)&&this._options.subtree&&ct(this._root,e)){const t=new MutationObserver(this._callbackWrapper);this._subObservers.set(e,t),this._isObserving&&t.observe(e,this._options),this._walkShadows(e)}}disconnect(){this._isObserving=!1,delete this._options,ut._shadowObservers.delete(this);for(const e of this._subObservers.values())e.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument,o=null===r||void 0===r?void 0:r.defaultView;r&&o&&(ut._overrideAttachShadow(o),ut._shadowObservers.add(this),this._root=e,this._options=t,this._isObserving=!0,this._observer.observe(e,t),this._walkShadows(e))}_walkShadows(e,t){const r=e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument;if(!r)return;if(e===r)e=r.body;else{const t=e.shadowRoot;if(t)return void this._addSubObserver(t)}r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{if(e.nodeType===Node.ELEMENT_NODE)if(t){const t=this._subObservers.get(e);t&&(t.disconnect(),this._subObservers.delete(e))}else{const t=e.shadowRoot;t&&this._addSubObserver(t)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){const e=this._observer.takeRecords();for(const t of this._subObservers.values())e.push(...t.takeRecords());return e}}ut._shadowObservers=new Set;class dt{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class ft{constructor(e,t){var r,n;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.2.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null===t||void 0===t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const a=this.getWindow;(null===t||void 0===t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))K[t]=e[t]}((0,o.A)({},t.DOMAPI)),this.keyboardNavigation=new Xe(a),this.focusedElement=new Ke(this,a),this.focusable=new Pe(this),this.root=new Ie(this,null===t||void 0===t?void 0:t.autoRoot),this.uncontrolled=new it((null===t||void 0===t?void 0:t.checkUncontrolledCompletely)||(null===t||void 0===t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(r=null===t||void 0===t?void 0:t.controlTab)||void 0===r||r,this.rootDummyInputs=!!(null===t||void 0===t?void 0:t.rootDummyInputs),this._dummyObserver=new ye(a),this.getParent=null!==(n=null===t||void 0===t?void 0:t.getParent)&&void 0!==n?n:K.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=a().document;this._unobserve=function(e,t,r,o){if("undefined"===typeof MutationObserver)return()=>{};const n=t.getWindow;let a;function s(t,r){a||(a=X(n).elementByUId),l(t,r);const o=ee(e,t,(e=>l(e,r)));if(o)for(;o.nextNode(););}function l(e,o){var s;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const l=e.__tabsterElementUID;return l&&a&&(o?delete a[l]:null!==(s=a[l])&&void 0!==s||(a[l]=new Z(n,e))),(T(t,e)||e.hasAttribute(i))&&r(t,e,o),NodeFilter.FILTER_SKIP}const c=K.createMutationObserver((e=>{var o,n,a,l,c;const u=new Set;for(const d of e){const e=d.target,c=d.removedNodes,f=d.addedNodes;if("attributes"===d.type)d.attributeName===i&&(u.has(e)||r(t,e));else{for(let r=0;r<c.length;r++){const i=c[r];u.add(i),s(i,!0),null===(n=(o=t._dummyObserver).domChanged)||void 0===n||n.call(o,e)}for(let r=0;r<f.length;r++)s(f[r]),null===(l=(a=t._dummyObserver).domChanged)||void 0===l||l.call(a,e)}}u.clear(),null===(c=t.modalizer)||void 0===c||c.hiddenUpdate()}));return o&&s(n().document.body),c.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[i]}),()=>{c.disconnect()}}(t,this,E,e)}}},$(a),this.queueInit((()=>{this.internal.resumeObserver(!0)}))}_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const r=new dt(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,r,o,n,i,a,s;this.internal.stopObserver();const l=this._win;null===l||void 0===l||l.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],l&&this._forgetMemorizedTimer&&(l.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(r=this.deloser)||void 0===r||r.dispose(),null===(o=this.groupper)||void 0===o||o.dispose(),null===(n=this.mover)||void 0===n||n.dispose(),null===(i=this.modalizer)||void 0===i||i.dispose(),null===(a=this.observedElement)||void 0===a||a.dispose(),null===(s=this.restorer)||void 0===s||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=X(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),se(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),l&&(!function(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}(l),delete l.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let o=r.get(e);return o?!1===t&&0===Object.keys(o).length&&r.delete(e):!0===t&&(o={},r.set(e,o)),o}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout((()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())se(this.getWindow,e),Ke.forgetMemorized(this.focusedElement,e)}),0),J(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout((()=>{delete this._initTimer,this.drainInitQueue()}),0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach((e=>e()))}}function ht(e,t){let r=yt(e);return r?r.createTabster(!1,t):(r=new ft(e,t),e.__tabsterInstance=r,r.createTabster())}function pt(e){const t=e.core;return t.groupper||(t.groupper=new Ye(t,t.getWindow)),t.groupper}function gt(e){const t=e.core;return t.mover||(t.mover=new nt(t,t.getWindow)),t.mover}function mt(e,t,r){const o=e.core;return o.modalizer||(o.modalizer=new et(o,t,r)),o.modalizer}function vt(e){const t=e.core;return t.restorer||(t.restorer=new lt(t)),t.restorer}function bt(e,t){e.core.disposeTabster(e,t)}function yt(e){return e.__tabsterInstance}},1844:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},7051:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var o=r(9526);function n(e,t,r){return(t=(0,o.A)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},3986:(e,t,r)=>{"use strict";function o(e,t){if(null==e)return{};var r,o,n=function(e,t){if(null==e)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;r[o]=e[o]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}r.d(t,{A:()=>o})},9526:(e,t,r)=>{"use strict";function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function n(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}r.d(t,{A:()=>n})},5854:(e,t,r)=>{"use strict";r.d(t,{jz:()=>s});var o=r(6823),n=r(3552);const i={[n.xz]:"Given storage configuration option was not supported.",[n.dg]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[n.jE]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."};n.xz,i[n.xz],n.dg,i[n.dg],n.jE,i[n.jE];class a extends o.lR{constructor(e,t){super(e,t),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,a.prototype)}}function s(e){return new a(e,i[e])}},3552:(e,t,r)=>{"use strict";r.d(t,{dg:()=>n,jE:()=>i,xz:()=>o});const o="storage_not_supported",n="stubbed_public_client_application_called",i="in_mem_redirect_unavailable"},7498:(e,t,r)=>{"use strict";r.d(t,{B:()=>o});const o={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},8648:(e,t,r)=>{"use strict";r.d(t,{$u:()=>b,Al:()=>s,CC:()=>l,Ct:()=>a,G8:()=>y,H3:()=>d,JD:()=>i,JE:()=>x,L$:()=>C,P3:()=>S,Q1:()=>n,T$:()=>p,WJ:()=>w,X8:()=>h,_p:()=>c,dh:()=>u,f7:()=>v,jb:()=>m,nN:()=>k,sA:()=>f,uq:()=>g});var o=r(385);const n={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},i={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},a={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},s={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},l={GET:"GET",POST:"POST"},c={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},u={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},d={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},f={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var h;!function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"}(h||(h={}));const p={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},g={scopes:o.aZ},m="jwk",v={React:"@azure/msal-react",Angular:"@azure/msal-angular"},b="msal.db",y=1,w="".concat(b,".keys"),k={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},x=[k.Default,k.Skip,k.RefreshTokenAndNetwork],C="msal.browser.log.level",S="msal.browser.log.pii"},6823:(e,t,r)=>{"use strict";r.d(t,{lR:()=>a,pz:()=>s});var o=r(385),n=r(8335);const i={[n.W]:"Unexpected error in authentication.",[n.z]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."};n.W,i[n.W],n.z,i[n.z];class a extends Error{constructor(e,t,r){super(t?"".concat(e,": ").concat(t):e),Object.setPrototypeOf(this,a.prototype),this.errorCode=e||o.YM.EMPTY_STRING,this.errorMessage=t||o.YM.EMPTY_STRING,this.subError=r||o.YM.EMPTY_STRING,this.name="AuthError"}setCorrelationId(e){this.correlationId=e}}function s(e,t){return new a(e,t?"".concat(i[e]," ").concat(t):i[e])}},8335:(e,t,r)=>{"use strict";r.d(t,{W:()=>o,z:()=>n});const o="unexpected_error",n="post_request_failed"},623:(e,t,r)=>{"use strict";r.d(t,{$:()=>o,V:()=>i});var o,n=r(385);!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(o||(o={}));class i{constructor(e,t,r){this.level=o.Info;const a=e||i.createDefaultLoggerOptions();this.localCallback=a.loggerCallback||(()=>{}),this.piiLoggingEnabled=a.piiLoggingEnabled||!1,this.level="number"===typeof a.logLevel?a.logLevel:o.Info,this.correlationId=a.correlationId||n.YM.EMPTY_STRING,this.packageName=t||n.YM.EMPTY_STRING,this.packageVersion=r||n.YM.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:o.Info}}clone(e,t,r){return new i({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},e,t)}logMessage(e,t){if(t.logLevel>this.level||!this.piiLoggingEnabled&&t.containsPii)return;const r=(new Date).toUTCString(),n="[".concat(r,"] : [").concat(t.correlationId||this.correlationId||"","]"),i="".concat(n," : ").concat(this.packageName,"@").concat(this.packageVersion," : ").concat(o[t.logLevel]," - ").concat(e);this.executeCallback(t.logLevel,i,t.containsPii||!1)}executeCallback(e,t,r){this.localCallback&&this.localCallback(e,t,r)}error(e,t){this.logMessage(e,{logLevel:o.Error,containsPii:!1,correlationId:t||n.YM.EMPTY_STRING})}errorPii(e,t){this.logMessage(e,{logLevel:o.Error,containsPii:!0,correlationId:t||n.YM.EMPTY_STRING})}warning(e,t){this.logMessage(e,{logLevel:o.Warning,containsPii:!1,correlationId:t||n.YM.EMPTY_STRING})}warningPii(e,t){this.logMessage(e,{logLevel:o.Warning,containsPii:!0,correlationId:t||n.YM.EMPTY_STRING})}info(e,t){this.logMessage(e,{logLevel:o.Info,containsPii:!1,correlationId:t||n.YM.EMPTY_STRING})}infoPii(e,t){this.logMessage(e,{logLevel:o.Info,containsPii:!0,correlationId:t||n.YM.EMPTY_STRING})}verbose(e,t){this.logMessage(e,{logLevel:o.Verbose,containsPii:!1,correlationId:t||n.YM.EMPTY_STRING})}verbosePii(e,t){this.logMessage(e,{logLevel:o.Verbose,containsPii:!0,correlationId:t||n.YM.EMPTY_STRING})}trace(e,t){this.logMessage(e,{logLevel:o.Trace,containsPii:!1,correlationId:t||n.YM.EMPTY_STRING})}tracePii(e,t){this.logMessage(e,{logLevel:o.Trace,containsPii:!0,correlationId:t||n.YM.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},385:(e,t,r)=>{"use strict";r.d(t,{$x:()=>m,E_:()=>S,F0:()=>j,Fq:()=>d,GU:()=>w,Gd:()=>c,I:()=>E,IO:()=>A,JR:()=>k,Kk:()=>I,LR:()=>b,Lz:()=>O,OK:()=>l,Qd:()=>v,Rv:()=>R,Tq:()=>B,Xw:()=>T,YM:()=>n,_2:()=>P,_A:()=>s,_M:()=>f,aG:()=>y,aZ:()=>a,gT:()=>_,hB:()=>x,iF:()=>h,jZ:()=>N,p:()=>g,t3:()=>i,u0:()=>C,v2:()=>u,zL:()=>p});var o=r(7051);const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",NOT_AVAILABLE:"Not Available",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS:200,SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR:400,CLIENT_ERROR_RANGE_START:400,BAD_REQUEST:400,UNAUTHORIZED:401,NOT_FOUND:404,REQUEST_TIMEOUT:408,TOO_MANY_REQUESTS:429,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR:500,SERVER_ERROR_RANGE_START:500,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,SERVER_ERROR_RANGE_END:599,MULTI_SIDED_ERROR:600},a=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],s=[...a,n.EMAIL_SCOPE],l={CONTENT_TYPE:"Content-Type",CONTENT_LENGTH:"Content-Length",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},c={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},u={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},d={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},f={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},h={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},g=(0,o.A)((0,o.A)({},p),{},{FORM_POST:"form_post"}),m={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},v={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},b={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},y={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},w="appmetadata",k="client_info",x="1",C={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},S={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},_={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},A={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},T={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},E={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},B={username:"username",password:"password"},I={httpSuccess:200,httpBadRequest:400},N={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},P={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},R={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},O={Jwt:"JWT",Jwk:"JWK",Pop:"pop"},j=300},8821:(e,t,r)=>{"use strict";r.d(t,{kG:()=>m});var o=r(7341);const{Axios:n,AxiosError:i,CanceledError:a,isCancel:s,CancelToken:l,VERSION:c,all:u,Cancel:d,isAxiosError:f,spread:h,toFormData:p,AxiosHeaders:g,HttpStatusCode:m,formToJSON:v,getAdapter:b,mergeConfig:y}=o.A},7341:(e,t,r)=>{"use strict";r.d(t,{A:()=>Bt});var o={};function n(e,t){return function(){return e.apply(t,arguments)}}r.r(o),r.d(o,{hasBrowserEnv:()=>ue,hasStandardBrowserEnv:()=>fe,hasStandardBrowserWebWorkerEnv:()=>he,navigator:()=>de,origin:()=>pe});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u("undefined");const h=c("ArrayBuffer");const p=u("string"),g=u("function"),m=u("number"),v=e=>null!==e&&"object"===typeof e,b=e=>{if("object"!==s(e))return!1;const t=a(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},y=c("Date"),w=c("File"),k=c("Blob"),x=c("FileList"),C=c("URLSearchParams"),[S,_,A,T]=["ReadableStream","Request","Response","Headers"].map(c);function E(e,t){let r,o,{allOwnKeys:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function B(e,t){t=t.toLowerCase();const r=Object.keys(e);let o,n=r.length;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const I="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,N=e=>!f(e)&&e!==I;const P=(R="undefined"!==typeof Uint8Array&&a(Uint8Array),e=>R&&e instanceof R);var R;const O=c("HTMLFormElement"),j=(e=>{let{hasOwnProperty:t}=e;return(e,r)=>t.call(e,r)})(Object.prototype),z=c("RegExp"),M=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};E(r,((r,n)=>{let i;!1!==(i=t(r,n,e))&&(o[n]=i||r)})),Object.defineProperties(e,o)},L="abcdefghijklmnopqrstuvwxyz",D="0123456789",F={DIGIT:D,ALPHA:L,ALPHA_DIGIT:L+L.toUpperCase()+D};const q=c("AsyncFunction"),H=((e,t)=>{return e?setImmediate:t?(r="axios@".concat(Math.random()),o=[],I.addEventListener("message",(e=>{let{source:t,data:n}=e;t===I&&n===r&&o.length&&o.shift()()}),!1),e=>{o.push(e),I.postMessage(r,"*")}):e=>setTimeout(e);var r,o})("function"===typeof setImmediate,g(I.postMessage)),U="undefined"!==typeof queueMicrotask?queueMicrotask.bind(I):"undefined"!==typeof process&&process.nextTick||H,W={isArray:d,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&g(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||g(e.append)&&("formdata"===(t=s(e))||"object"===t&&g(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer),t},isString:p,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:b,isReadableStream:S,isRequest:_,isResponse:A,isHeaders:T,isUndefined:f,isDate:y,isFile:w,isBlob:k,isRegExp:z,isFunction:g,isStream:e=>v(e)&&g(e.pipe),isURLSearchParams:C,isTypedArray:P,isFileList:x,forEach:E,merge:function e(){const{caseless:t}=N(this)&&this||{},r={},o=(o,n)=>{const i=t&&B(r,n)||n;b(r[i])&&b(o)?r[i]=e(r[i],o):b(o)?r[i]=e({},o):d(o)?r[i]=o.slice():r[i]=o};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&E(arguments[n],o);return r},extend:function(e,t,r){let{allOwnKeys:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return E(t,((t,o)=>{r&&g(t)?e[o]=n(t,r):e[o]=t}),{allOwnKeys:o}),e},trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,o)=>{let n,i,s;const l={};if(t=t||{},null==e)return t;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)s=n[i],o&&!o(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==r&&a(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return-1!==o&&o===r},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!m(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const o=[];for(;null!==(r=e.exec(t));)o.push(r);return o},isHTMLForm:O,hasOwnProperty:j,hasOwnProp:j,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,r)=>{if(g(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const o=e[r];g(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(e,t)=>{const r={},o=e=>{e.forEach((e=>{r[e]=!0}))};return d(e)?o(e):o(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:B,global:I,isContextDefined:N,ALPHABET:F,generateString:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:F.ALPHA_DIGIT,r="";const{length:o}=t;for(;e--;)r+=t[Math.random()*o|0];return r},isSpecCompliantForm:function(e){return!!(e&&g(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),r=(e,o)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const n=d(e)?[]:{};return E(e,((e,t)=>{const i=r(e,o+1);!f(i)&&(n[t]=i)})),t[o]=void 0,n}}return e};return r(e,0)},isAsyncFn:q,isThenable:e=>e&&(v(e)||g(e))&&g(e.then)&&g(e.catch),setImmediate:H,asap:U};function K(e,t,r,o,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),o&&(this.request=o),n&&(this.response=n,this.status=n.status?n.status:null)}W.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const G=K.prototype,V={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{V[e]={value:e}})),Object.defineProperties(K,V),Object.defineProperty(G,"isAxiosError",{value:!0}),K.from=(e,t,r,o,n,i)=>{const a=Object.create(G);return W.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),K.call(a,e.message,t,r,o,n),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Y=K;function X(e){return W.isPlainObject(e)||W.isArray(e)}function Q(e){return W.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,r){return e?e.concat(t).map((function(e,t){return e=Q(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}const J=W.toFlatObject(W,{},null,(function(e){return/^is[A-Z]/.test(e)}));const $=function(e,t,r){if(!W.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(r=W.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!W.isUndefined(t[e])}))).metaTokens,n=r.visitor||c,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!==typeof Blob&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(n))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(W.isDate(e))return e.toISOString();if(!s&&W.isBlob(e))throw new Y("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(e)||W.isTypedArray(e)?s&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,n){let s=e;if(e&&!n&&"object"===typeof e)if(W.endsWith(r,"{}"))r=o?r:r.slice(0,-2),e=JSON.stringify(e);else if(W.isArray(e)&&function(e){return W.isArray(e)&&!e.some(X)}(e)||(W.isFileList(e)||W.endsWith(r,"[]"))&&(s=W.toArray(e)))return r=Q(r),s.forEach((function(e,o){!W.isUndefined(e)&&null!==e&&t.append(!0===a?Z([r],o,i):null===a?r:r+"[]",l(e))})),!1;return!!X(e)||(t.append(Z(n,r,i),l(e)),!1)}const u=[],d=Object.assign(J,{defaultVisitor:c,convertValue:l,isVisitable:X});if(!W.isObject(e))throw new TypeError("data must be an object");return function e(r,o){if(!W.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+o.join("."));u.push(r),W.forEach(r,(function(r,i){!0===(!(W.isUndefined(r)||null===r)&&n.call(t,r,W.isString(i)?i.trim():i,o,d))&&e(r,o?o.concat(i):[i])})),u.pop()}}(e),t};function ee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function te(e,t){this._pairs=[],e&&$(e,this,t)}const re=te.prototype;re.append=function(e,t){this._pairs.push([e,t])},re.toString=function(e){const t=e?function(t){return e.call(this,t,ee)}:ee;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const oe=te;function ne(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ie(e,t,r){if(!t)return e;const o=r&&r.encode||ne;W.isFunction(r)&&(r={serialize:r});const n=r&&r.serialize;let i;if(i=n?n(t,r):W.isURLSearchParams(t)?t.toString():new oe(t,r).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ae=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},se={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var le=r(7051);const ce={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:oe,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ue="undefined"!==typeof window&&"undefined"!==typeof document,de="object"===typeof navigator&&navigator||void 0,fe=ue&&(!de||["ReactNative","NativeScript","NS"].indexOf(de.product)<0),he="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,pe=ue&&window.location.href||"http://localhost",ge=(0,le.A)((0,le.A)({},o),ce);const me=function(e){function t(e,r,o,n){let i=e[n++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=n>=e.length;if(i=!i&&W.isArray(o)?o.length:i,s)return W.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a;o[i]&&W.isObject(o[i])||(o[i]=[]);return t(e,r,o[i],n)&&W.isArray(o[i])&&(o[i]=function(e){const t={},r=Object.keys(e);let o;const n=r.length;let i;for(o=0;o<n;o++)i=r[o],t[i]=e[i];return t}(o[i])),!a}if(W.isFormData(e)&&W.isFunction(e.entries)){const r={};return W.forEachEntry(e,((e,o)=>{t(function(e){return W.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,r,0)})),r}return null};const ve={transitional:se,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",o=r.indexOf("application/json")>-1,n=W.isObject(e);n&&W.isHTMLForm(e)&&(e=new FormData(e));if(W.isFormData(e))return o?JSON.stringify(me(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(n){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return $(e,new ge.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,o){return ge.isNode&&W.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=W.isFileList(e))||r.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return $(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return n||o?(t.setContentType("application/json",!1),function(e,t,r){if(W.isString(e))try{return(t||JSON.parse)(e),W.trim(e)}catch(o){if("SyntaxError"!==o.name)throw o}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ve.transitional,r=t&&t.forcedJSONParsing,o="json"===this.responseType;if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(r&&!this.responseType||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(n){if(r){if("SyntaxError"===n.name)throw Y.from(n,Y.ERR_BAD_RESPONSE,this,null,this.response);throw n}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ge.classes.FormData,Blob:ge.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],(e=>{ve.headers[e]={}}));const be=ve,ye=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),we=Symbol("internals");function ke(e){return e&&String(e).trim().toLowerCase()}function xe(e){return!1===e||null==e?e:W.isArray(e)?e.map(xe):String(e)}function Ce(e,t,r,o,n){return W.isFunction(o)?o.call(this,t,r):(n&&(t=r),W.isString(t)?W.isString(o)?-1!==t.indexOf(o):W.isRegExp(o)?o.test(t):void 0:void 0)}class Se{constructor(e){e&&this.set(e)}set(e,t,r){const o=this;function n(e,t,r){const n=ke(t);if(!n)throw new Error("header name must be a non-empty string");const i=W.findKey(o,n);(!i||void 0===o[i]||!0===r||void 0===r&&!1!==o[i])&&(o[i||t]=xe(e))}const i=(e,t)=>W.forEach(e,((e,r)=>n(e,r,t)));if(W.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(W.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let r,o,n;return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),r=e.substring(0,n).trim().toLowerCase(),o=e.substring(n+1).trim(),!r||t[r]&&ye[r]||("set-cookie"===r?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)})),t})(e),t);else if(W.isHeaders(e))for(const[a,s]of e.entries())n(s,a,r);else null!=e&&n(t,e,r);return this}get(e,t){if(e=ke(e)){const r=W.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}(e);if(W.isFunction(t))return t.call(this,e,r);if(W.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ke(e)){const r=W.findKey(this,e);return!(!r||void 0===this[r]||t&&!Ce(0,this[r],r,t))}return!1}delete(e,t){const r=this;let o=!1;function n(e){if(e=ke(e)){const n=W.findKey(r,e);!n||t&&!Ce(0,r[n],n,t)||(delete r[n],o=!0)}}return W.isArray(e)?e.forEach(n):n(e),o}clear(e){const t=Object.keys(this);let r=t.length,o=!1;for(;r--;){const n=t[r];e&&!Ce(0,this[n],n,e,!0)||(delete this[n],o=!0)}return o}normalize(e){const t=this,r={};return W.forEach(this,((o,n)=>{const i=W.findKey(r,n);if(i)return t[i]=xe(o),void delete t[n];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,r)=>t.toUpperCase()+r))}(n):String(n).trim();a!==n&&delete t[n],t[a]=xe(o),r[a]=!0})),this}concat(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.constructor.concat(this,...t)}toJSON(e){const t=Object.create(null);return W.forEach(this,((r,o)=>{null!=r&&!1!==r&&(t[o]=e&&W.isArray(r)?r.join(", "):r)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((e=>{let[t,r]=e;return t+": "+r})).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e){const t=new this(e);for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];return o.forEach((e=>t.set(e))),t}static accessor(e){const t=(this[we]=this[we]={accessors:{}}).accessors,r=this.prototype;function o(e){const o=ke(e);t[o]||(!function(e,t){const r=W.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+r,{value:function(e,r,n){return this[o].call(this,t,e,r,n)},configurable:!0})}))}(r,e),t[o]=!0)}return W.isArray(e)?e.forEach(o):o(e),this}}Se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(Se.prototype,((e,t)=>{let{value:r}=e,o=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(e){this[o]=e}}})),W.freezeMethods(Se);const _e=Se;function Ae(e,t){const r=this||be,o=t||r,n=_e.from(o.headers);let i=o.data;return W.forEach(e,(function(e){i=e.call(r,i,n.normalize(),t?t.status:void 0)})),n.normalize(),i}function Te(e){return!(!e||!e.__CANCEL__)}function Ee(e,t,r){Y.call(this,null==e?"canceled":e,Y.ERR_CANCELED,t,r),this.name="CanceledError"}W.inherits(Ee,Y,{__CANCEL__:!0});const Be=Ee;function Ie(e,t,r){const o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new Y("Request failed with status code "+r.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}const Ne=function(e,t){e=e||10;const r=new Array(e),o=new Array(e);let n,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=o[a];n||(n=l),r[i]=s,o[i]=l;let u=a,d=0;for(;u!==i;)d+=r[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-n<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};const Pe=function(e,t){let r,o,n=0,i=1e3/t;const a=function(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();n=i,r=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[function(){const e=Date.now(),t=e-n;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];t>=i?a(l,e):(r=l,o||(o=setTimeout((()=>{o=null,a(r)}),i-t)))},()=>r&&a(r)]},Re=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,o=0;const n=Ne(50,250);return Pe((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-o,l=n(s);o=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),r)},Oe=(e,t)=>{const r=null!=e;return[o=>t[0]({lengthComputable:r,total:e,loaded:o}),t[1]]},je=e=>function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return W.asap((()=>e(...r)))},ze=ge.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ge.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ge.origin),ge.navigator&&/(msie|trident)/i.test(ge.navigator.userAgent)):()=>!0,Me=ge.hasStandardBrowserEnv?{write(e,t,r,o,n,i){const a=[e+"="+encodeURIComponent(t)];W.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),W.isString(o)&&a.push("path="+o),W.isString(n)&&a.push("domain="+n),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Le(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const De=e=>e instanceof _e?(0,le.A)({},e):e;function Fe(e,t){t=t||{};const r={};function o(e,t,r,o){return W.isPlainObject(e)&&W.isPlainObject(t)?W.merge.call({caseless:o},e,t):W.isPlainObject(t)?W.merge({},t):W.isArray(t)?t.slice():t}function n(e,t,r,n){return W.isUndefined(t)?W.isUndefined(e)?void 0:o(void 0,e,0,n):o(e,t,0,n)}function i(e,t){if(!W.isUndefined(t))return o(void 0,t)}function a(e,t){return W.isUndefined(t)?W.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(r,n,i){return i in t?o(r,n):i in e?o(void 0,r):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>n(De(e),De(t),0,!0)};return W.forEach(Object.keys(Object.assign({},e,t)),(function(o){const i=l[o]||n,a=i(e[o],t[o],o);W.isUndefined(a)&&i!==s||(r[o]=a)})),r}const qe=e=>{const t=Fe({},e);let r,{data:o,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=t;if(t.headers=s=_e.from(s),t.url=ie(Le(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),W.isFormData(o))if(ge.hasStandardBrowserEnv||ge.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[e,...t]=r?r.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(ge.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||!1!==n&&ze(t.url))){const e=i&&a&&Me.read(a);e&&s.set(i,e)}return t},He="undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){const o=qe(e);let n=o.data;const i=_e.from(o.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:h}=o;function p(){c&&c(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(a),o.signal&&o.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const o=_e.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ie((function(e){t(e),p()}),(function(e){r(e),p()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:o,config:e,request:g}),g=null}g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(r(new Y("Request aborted",Y.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const n=o.transitional||se;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),r(new Y(t,n.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,g)),g=null},void 0===n&&i.setContentType(null),"setRequestHeader"in g&&W.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),W.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),d&&"json"!==d&&(g.responseType=o.responseType),h&&([l,u]=Re(h,!0),g.addEventListener("progress",l)),f&&g.upload&&([s,c]=Re(f),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(o.cancelToken||o.signal)&&(a=t=>{g&&(r(!t||t.type?new Be(null,e,g):t),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(a),o.signal&&(o.signal.aborted?a():o.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);v&&-1===ge.protocols.indexOf(v)?r(new Y("Unsupported protocol "+v+":",Y.ERR_BAD_REQUEST,e)):g.send(n||null)}))},Ue=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,o=new AbortController;const n=function(e){if(!r){r=!0,a();const t=e instanceof Error?e:this.reason;o.abort(t instanceof Y?t:new Be(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,n(new Y("timeout ".concat(t," of ms exceeded"),Y.ETIMEDOUT))}),t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)})),e=null)};e.forEach((e=>e.addEventListener("abort",n)));const{signal:s}=o;return s.unsubscribe=()=>W.asap(a),s}};function We(e,t){this.v=e,this.k=t}function Ke(e){return function(){return new Ge(e.apply(this,arguments))}}function Ge(e){var t,r;function o(t,r){try{var i=e[t](r),a=i.value,s=a instanceof We;Promise.resolve(s?a.v:a).then((function(r){if(s){var l="return"===t?"return":"next";if(!a.k||r.done)return o(l,r);r=e[l](r).value}n(i.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){n("throw",e)}}function n(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}function Ve(e){return new We(e,0)}function Ye(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new We(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t}function Xe(e){var t,r,o,n=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,o=Symbol.iterator);n--;){if(r&&null!=(t=e[r]))return t.call(e);if(o&&null!=(t=e[o]))return new Qe(t.call(e));r="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function Qe(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return Qe=function(e){this.s=e,this.n=e.next},Qe.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new Qe(e)}Ge.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Ge.prototype.next=function(e){return this._invoke("next",e)},Ge.prototype.throw=function(e){return this._invoke("throw",e)},Ge.prototype.return=function(e){return this._invoke("return",e)};const Ze=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let o,n=0;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},Je=function(){var e=Ke((function*(e,t){var r,o=!1,n=!1;try{for(var i,a=Xe($e(e));o=!(i=yield Ve(a.next())).done;o=!1){const e=i.value;yield*Ye(Xe(Ze(e,t)))}}catch(s){n=!0,r=s}finally{try{o&&null!=a.return&&(yield Ve(a.return()))}finally{if(n)throw r}}}));return function(t,r){return e.apply(this,arguments)}}(),$e=function(){var e=Ke((function*(e){if(e[Symbol.asyncIterator])return void(yield*Ye(Xe(e)));const t=e.getReader();try{for(;;){const{done:e,value:r}=yield Ve(t.read());if(e)break;yield r}}finally{yield Ve(t.cancel())}}));return function(t){return e.apply(this,arguments)}}(),et=(e,t,r,o)=>{const n=Je(e,t);let i,a=0,s=e=>{i||(i=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await n.next();if(t)return s(),void e.close();let i=o.byteLength;if(r){let e=a+=i;r(e)}e.enqueue(new Uint8Array(o))}catch(t){throw s(t),t}},cancel:e=>(s(e),n.return())},{highWaterMark:2})},tt="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,rt=tt&&"function"===typeof ReadableStream,ot=tt&&("function"===typeof TextEncoder?(nt=new TextEncoder,e=>nt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var nt;const it=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return!!e(...r)}catch(n){return!1}},at=rt&&it((()=>{let e=!1;const t=new Request(ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),st=rt&&it((()=>W.isReadableStream(new Response("").body))),lt={stream:st&&(e=>e.body)};var ct;tt&&(ct=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!lt[e]&&(lt[e]=W.isFunction(ct[e])?t=>t[e]():(t,r)=>{throw new Y("Response type '".concat(e,"' is not supported"),Y.ERR_NOT_SUPPORT,r)})})));const ut=async(e,t)=>{const r=W.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(W.isBlob(e))return e.size;if(W.isSpecCompliantForm(e)){const t=new Request(ge.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return W.isArrayBufferView(e)||W.isArrayBuffer(e)?e.byteLength:(W.isURLSearchParams(e)&&(e+=""),W.isString(e)?(await ot(e)).byteLength:void 0)})(t):r},dt={http:null,xhr:He,fetch:tt&&(async e=>{let{url:t,method:r,data:o,signal:n,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=qe(e);c=c?(c+"").toLowerCase():"text";let h,p=Ue([n,i&&i.toAbortSignal()],a);const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(l&&at&&"get"!==r&&"head"!==r&&0!==(m=await ut(u,o))){let e,r=new Request(t,{method:"POST",body:o,duplex:"half"});if(W.isFormData(o)&&(e=r.headers.get("content-type"))&&u.setContentType(e),r.body){const[e,t]=Oe(m,Re(je(l)));o=et(r.body,65536,e,t)}}W.isString(d)||(d=d?"include":"omit");const n="credentials"in Request.prototype;h=new Request(t,(0,le.A)((0,le.A)({},f),{},{signal:p,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:n?d:void 0}));let i=await fetch(h);const a=st&&("stream"===c||"response"===c);if(st&&(s||a&&g)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=W.toFiniteNumber(i.headers.get("content-length")),[r,o]=s&&Oe(t,Re(je(s),!0))||[];i=new Response(et(i.body,65536,r,(()=>{o&&o(),g&&g()})),e)}c=c||"text";let v=await lt[W.findKey(lt,c)||"text"](i,e);return!a&&g&&g(),await new Promise(((t,r)=>{Ie(t,r,{data:v,headers:_e.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:h})}))}catch(v){if(g&&g(),v&&"TypeError"===v.name&&/fetch/i.test(v.message))throw Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,h),{cause:v.cause||v});throw Y.from(v,v&&v.code,e,h)}})};W.forEach(dt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}}));const ft=e=>"- ".concat(e),ht=e=>W.isFunction(e)||null===e||!1===e,pt=e=>{e=W.isArray(e)?e:[e];const{length:t}=e;let r,o;const n={};for(let i=0;i<t;i++){let t;if(r=e[i],o=r,!ht(r)&&(o=dt[(t=String(r)).toLowerCase()],void 0===o))throw new Y("Unknown adapter '".concat(t,"'"));if(o)break;n[t||"#"+i]=o}if(!o){const e=Object.entries(n).map((e=>{let[t,r]=e;return"adapter ".concat(t," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));let r=t?e.length>1?"since :\n"+e.map(ft).join("\n"):" "+ft(e[0]):"as no adapter specified";throw new Y("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return o};function gt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Be(null,e)}function mt(e){gt(e),e.headers=_e.from(e.headers),e.data=Ae.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return pt(e.adapter||be.adapter)(e).then((function(t){return gt(e),t.data=Ae.call(e,e.transformResponse,t),t.headers=_e.from(t.headers),t}),(function(t){return Te(t)||(gt(e),t&&t.response&&(t.response.data=Ae.call(e,e.transformResponse,t.response),t.response.headers=_e.from(t.response.headers))),Promise.reject(t)}))}const vt="1.7.8",bt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{bt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));const yt={};bt.transitional=function(e,t,r){function o(e,t){return"[Axios v1.7.8] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,n,i)=>{if(!1===e)throw new Y(o(n," has been removed"+(t?" in "+t:"")),Y.ERR_DEPRECATED);return t&&!yt[n]&&(yt[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,i)}},bt.spelling=function(e){return(t,r)=>(console.warn("".concat(r," is likely a misspelling of ").concat(e)),!0)};const wt={assertOptions:function(e,t,r){if("object"!==typeof e)throw new Y("options must be an object",Y.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let n=o.length;for(;n-- >0;){const i=o[n],a=t[i];if(a){const t=e[i],r=void 0===t||a(t,i,e);if(!0!==r)throw new Y("option "+i+" must be "+r,Y.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Y("Unknown option "+i,Y.ERR_BAD_OPTION)}},validators:bt},kt=wt.validators;class xt{constructor(e){this.defaults=e,this.interceptors={request:new ae,response:new ae}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{r.stack?t&&!String(r.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+t):r.stack=t}catch(o){}}throw r}}_request(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},t=Fe(this.defaults,t);const{transitional:r,paramsSerializer:o,headers:n}=t;void 0!==r&&wt.assertOptions(r,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean)},!1),null!=o&&(W.isFunction(o)?t.paramsSerializer={serialize:o}:wt.assertOptions(o,{encode:kt.function,serialize:kt.function},!0)),wt.assertOptions(t,{baseUrl:kt.spelling("baseURL"),withXsrfToken:kt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=n&&W.merge(n.common,n[t.method]);n&&W.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete n[e]})),t.headers=_e.concat(i,n);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[mt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(h){t.call(this,h);break}}try{c=mt.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ie(Le((e=Fe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}W.forEach(["delete","get","head","options"],(function(e){xt.prototype[e]=function(t,r){return this.request(Fe(r||{},{method:e,url:t,data:(r||{}).data}))}})),W.forEach(["post","put","patch"],(function(e){function t(t){return function(r,o,n){return this.request(Fe(n||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}xt.prototype[e]=t(),xt.prototype[e+"Form"]=t(!0)}));const Ct=xt;class St{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const r=this;this.promise.then((e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{r.subscribe(e),t=e})).then(e);return o.cancel=function(){r.unsubscribe(t)},o},e((function(e,o,n){r.reason||(r.reason=new Be(e,o,n),t(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new St((function(t){e=t})),cancel:e}}}const _t=St;const At={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(At).forEach((e=>{let[t,r]=e;At[r]=t}));const Tt=At;const Et=function e(t){const r=new Ct(t),o=n(Ct.prototype.request,r);return W.extend(o,Ct.prototype,r,{allOwnKeys:!0}),W.extend(o,r,null,{allOwnKeys:!0}),o.create=function(r){return e(Fe(t,r))},o}(be);Et.Axios=Ct,Et.CanceledError=Be,Et.CancelToken=_t,Et.isCancel=Te,Et.VERSION=vt,Et.toFormData=$,Et.AxiosError=Y,Et.Cancel=Et.CanceledError,Et.all=function(e){return Promise.all(e)},Et.spread=function(e){return function(t){return e.apply(null,t)}},Et.isAxiosError=function(e){return W.isObject(e)&&!0===e.isAxiosError},Et.mergeConfig=Fe,Et.AxiosHeaders=_e,Et.formToJSON=e=>me(W.isHTMLForm(e)?new FormData(e):e),Et.getAdapter=pt,Et.HttpStatusCode=Tt,Et.default=Et;const Bt=Et},4117:(e,t,r)=>{"use strict";r.d(t,{r9:()=>g,Bd:()=>y});var o=r(5043);r(1844);Object.create(null);const n={};function i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"===typeof t[0]&&n[t[0]]||("string"===typeof t[0]&&(n[t[0]]=new Date),function(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"===typeof t[0]&&(t[0]="react-i18next:: ".concat(t[0])),console.warn(...t)}}(...t))}const a=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout((()=>{e.off("initialized",r)}),0),t()};e.on("initialized",r)}};function s(e,t,r){e.loadNamespaces(t,a(e,r))}function l(e,t,r,o){"string"===typeof r&&(r=[r]),r.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,a(e,o))}var c=r(7051);const u=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,d={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},f=e=>d[e];let h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(u,f)};let p;const g={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h=(0,c.A)((0,c.A)({},h),e)}(e.options.react),function(e){p=e}(e)}},m=(0,o.createContext)();class v{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const b=(e,t)=>{const r=(0,o.useRef)();return(0,o.useEffect)((()=>{r.current=t?r.current:e}),[e,t]),r.current};function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:r}=t,{i18n:n,defaultNS:a}=(0,o.useContext)(m)||{},u=r||n||p;if(u&&!u.reportNamespaces&&(u.reportNamespaces=new v),!u){i("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"===typeof t?t:t&&"object"===typeof t&&"string"===typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}u.options.react&&void 0!==u.options.react.wait&&i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const d=(0,c.A)((0,c.A)((0,c.A)({},h),u.options.react),t),{useSuspense:f,keyPrefix:g}=d;let y=e||a||u.options&&u.options.defaultNS;y="string"===typeof y?[y]:y||["translation"],u.reportNamespaces.addUsedNamespaces&&u.reportNamespaces.addUsedNamespaces(y);const w=(u.isInitialized||u.initializedStoreOnce)&&y.every((e=>function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,o)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=t.languages[0],n=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;const a=(e,r)=>{const o=t.services.backendConnector.state["".concat(e,"|").concat(r)];return-1===o||2===o};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(o,e)||!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!a(o,e)||n&&!a(i,e)))}(e,t,r):(i("i18n.languages were undefined or empty",t.languages),!0)}(e,u,d)));function k(){return u.getFixedT(t.lng||null,"fallback"===d.nsMode?y:y[0],g)}const[x,C]=(0,o.useState)(k);let S=y.join();t.lng&&(S="".concat(t.lng).concat(S));const _=b(S),A=(0,o.useRef)(!0);(0,o.useEffect)((()=>{const{bindI18n:e,bindI18nStore:r}=d;function o(){A.current&&C(k)}return A.current=!0,w||f||(t.lng?l(u,t.lng,y,(()=>{A.current&&C(k)})):s(u,y,(()=>{A.current&&C(k)}))),w&&_&&_!==S&&A.current&&C(k),e&&u&&u.on(e,o),r&&u&&u.store.on(r,o),()=>{A.current=!1,e&&u&&e.split(" ").forEach((e=>u.off(e,o))),r&&u&&r.split(" ").forEach((e=>u.store.off(e,o)))}}),[u,S]);const T=(0,o.useRef)(!0);(0,o.useEffect)((()=>{A.current&&!T.current&&C(k),T.current=!1}),[u,g]);const E=[x,u,w];if(E.t=x,E.i18n=u,E.ready=w,w)return E;if(!w&&!f)return E;throw new Promise((e=>{t.lng?l(u,t.lng,y,(()=>e())):s(u,y,(()=>e()))}))}},906:(e,t,r)=>{"use strict";r.d(t,{BV:()=>Te,Kd:()=>lt,N_:()=>ut,Zp:()=>se,g:()=>ce,ok:()=>pt,qh:()=>_e,sv:()=>Se,zy:()=>ne});var o=r(3986),n=r(7051),i=r(5043);r(4358);const a=["page"],s=["page","matches"],l=["onClick","discover","prefetch","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],c=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],u=["discover","fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];var d="popstate";function f(){return y((function(e,t){let{pathname:r,search:o,hash:n}=e.location;return m("",{pathname:r,search:o,hash:n},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:v(t)}),null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function h(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function p(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(r){}}}function g(e,t){return{usr:e.state,key:e.key,idx:t}}function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3?arguments[3]:void 0;return(0,n.A)((0,n.A)({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?b(t):t),{},{state:r,key:t&&t.key||o||Math.random().toString(36).substring(2,10)})}function v(e){let{pathname:t="/",search:r="",hash:o=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),o&&"#"!==o&&(t+="#"===o.charAt(0)?o:"#"+o),t}function b(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function y(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:i=document.defaultView,v5Compat:a=!1}=o,s=i.history,l="POP",c=null,u=f();function f(){return(s.state||{idx:null}).idx}function p(){l="POP";let e=f(),t=null==e?null:e-u;u=e,c&&c({action:l,location:y.location,delta:t})}function b(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"===typeof e?e:v(e);return r=r.replace(/ $/,"%20"),h(t,"No window.location.(origin|href) available to create URL for href: ".concat(r)),new URL(r,t)}null==u&&(u=0,s.replaceState((0,n.A)((0,n.A)({},s.state),{},{idx:u}),""));let y={get action(){return l},get location(){return e(i,s)},listen(e){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(d,p),c=e,()=>{i.removeEventListener(d,p),c=null}},createHref:e=>t(i,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l="PUSH";let o=m(y.location,e,t);r&&r(o,e),u=f()+1;let n=g(o,u),d=y.createHref(o);try{s.pushState(n,"",d)}catch(h){if(h instanceof DOMException&&"DataCloneError"===h.name)throw h;i.location.assign(d)}a&&c&&c({action:l,location:y.location,delta:1})},replace:function(e,t){l="REPLACE";let o=m(y.location,e,t);r&&r(o,e),u=f();let n=g(o,u),i=y.createHref(o);s.replaceState(n,"",i),a&&c&&c({action:l,location:y.location,delta:0})},go:e=>s.go(e)};return y}function w(e,t){return k(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function k(e,t,r,o){let n=j(("string"===typeof t?b(t):t).pathname||"/",r);if(null==n)return null;let i=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let r=e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let s=0;null==a&&s<i.length;++s){let e=O(n);a=P(i[s],e,o)}return a}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=(e,n,i)=>{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:n,route:e};a.relativePath.startsWith("/")&&(h(a.relativePath.startsWith(o),'Absolute route path "'.concat(a.relativePath,'" nested under path "').concat(o,'" is not valid. An absolute child route path must start with the combined path of all its parent routes.')),a.relativePath=a.relativePath.slice(o.length));let s=F([o,a.relativePath]),l=r.concat(a);e.children&&e.children.length>0&&(h(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'.concat(s,'".')),x(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:N(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!==(r=e.path)&&void 0!==r&&r.includes("?"))for(let o of C(e.path))n(e,t,o);else n(e,t)})),t}function C(e){let t=e.split("/");if(0===t.length)return[];let[r,...o]=t,n=r.endsWith("?"),i=r.replace(/\?$/,"");if(0===o.length)return n?[i,""]:[i];let a=C(o.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),n&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var S=/^:[\w-]+$/,_=3,A=2,T=1,E=10,B=-2,I=e=>"*"===e;function N(e,t){let r=e.split("/"),o=r.length;return r.some(I)&&(o+=B),t&&(o+=A),r.filter((e=>!I(e))).reduce(((e,t)=>e+(S.test(t)?_:""===t?T:E)),o)}function P(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:o}=e,n={},i="/",a=[];for(let s=0;s<o.length;++s){let e=o[s],l=s===o.length-1,c="/"===i?t:t.slice(i.length)||"/",u=R({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&r&&!o[o.length-1].route.index&&(u=R({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;Object.assign(n,u.params),a.push({params:n,pathname:F([i,u.pathname]),pathnameBase:q(F([i,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(i=F([i,u.pathnameBase]))}return a}function R(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];p("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'.concat(e,'" will be treated as if it were "').concat(e.replace(/\*$/,"/*"),'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(e.replace(/\*$/,"/*"),'".'));let o=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(o.push({paramName:"*"}),n+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":""!==e&&"/"!==e&&(n+="(?:(?=\\/|$))");let i=new RegExp(n,t?void 0:"i");return[i,o]}(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let i=n[0],a=i.replace(/(.)\/+$/,"$1"),s=n.slice(1);return{params:o.reduce(((e,t,r)=>{let{paramName:o,isOptional:n}=t;if("*"===o){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[o]=n&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function O(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return p(!1,'The URL path "'.concat(e,'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (').concat(t,").")),e}}function j(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&"/"!==o?null:e.slice(r)||"/"}function z(e,t,r,o){return"Cannot include a '".concat(e,"' character in a manually specified `to.").concat(t,"` field [").concat(JSON.stringify(o),"].  Please separate it out to the `to.").concat(r,'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.')}function M(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function L(e){let t=M(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function D(e,t,r){let o,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof e?o=b(e):(o=(0,n.A)({},e),h(!o.pathname||!o.pathname.includes("?"),z("?","pathname","search",o)),h(!o.pathname||!o.pathname.includes("#"),z("#","pathname","hash",o)),h(!o.search||!o.search.includes("#"),z("#","search","hash",o)));let a,s=""===e||""===o.pathname,l=s?"/":o.pathname;if(null==l)a=r;else{let e=t.length-1;if(!i&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:r,search:o="",hash:n=""}="string"===typeof e?b(e):e,i=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:i,search:H(o),hash:U(n)}}(o,a),u=l&&"/"!==l&&l.endsWith("/"),d=(s||"."===l)&&r.endsWith("/");return c.pathname.endsWith("/")||!u&&!d||(c.pathname+="/"),c}var F=e=>e.join("/").replace(/\/\/+/g,"/"),q=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),H=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function W(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var K=["POST","PUT","PATCH","DELETE"],G=(new Set(K),["GET",...K]);new Set(G),Symbol("ResetLoaderData");var V=i.createContext(null);V.displayName="DataRouter";var Y=i.createContext(null);Y.displayName="DataRouterState";var X=i.createContext({isTransitioning:!1});X.displayName="ViewTransition";var Q=i.createContext(new Map);Q.displayName="Fetchers";var Z=i.createContext(null);Z.displayName="Await";var J=i.createContext(null);J.displayName="Navigation";var $=i.createContext(null);$.displayName="Location";var ee=i.createContext({outlet:null,matches:[],isDataRoute:!1});ee.displayName="Route";var te=i.createContext(null);te.displayName="RouteError";var re=!1;function oe(){return null!=i.useContext($)}function ne(){return h(oe(),"useLocation() may be used only in the context of a <Router> component."),i.useContext($).location}var ie="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ae(e){i.useContext(J).static||i.useLayoutEffect(e)}function se(){let{isDataRoute:e}=i.useContext(ee);return e?function(){let{router:e}=be("useNavigate"),t=we("useNavigate"),r=i.useRef(!1);ae((()=>{r.current=!0}));let o=i.useCallback((async function(o){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};p(r.current,ie),r.current&&("number"===typeof o?e.navigate(o):await e.navigate(o,(0,n.A)({fromRouteId:t},i)))}),[e,t]);return o}():function(){h(oe(),"useNavigate() may be used only in the context of a <Router> component.");let e=i.useContext(V),{basename:t,navigator:r}=i.useContext(J),{matches:o}=i.useContext(ee),{pathname:n}=ne(),a=JSON.stringify(L(o)),s=i.useRef(!1);ae((()=>{s.current=!0}));let l=i.useCallback((function(o){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(p(s.current,ie),!s.current)return;if("number"===typeof o)return void r.go(o);let l=D(o,JSON.parse(a),n,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:F([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}),[t,r,a,n,e]);return l}()}var le=i.createContext(null);function ce(){let{matches:e}=i.useContext(ee),t=e[e.length-1];return t?t.params:{}}function ue(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:r}=i.useContext(ee),{pathname:o}=ne(),n=JSON.stringify(L(r));return i.useMemo((()=>D(e,JSON.parse(n),o,"path"===t)),[e,n,o,t])}function de(e,t,r,o){h(oe(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=i.useContext(J),{matches:s}=i.useContext(ee),l=s[s.length-1],c=l?l.params:{},u=l?l.pathname:"/",d=l?l.pathnameBase:"/",f=l&&l.route;if(re){let e=f&&f.path||"";Ce(u,!f||e.endsWith("*")||e.endsWith("*?"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'.concat(u,'" (under <Route path="').concat(e,'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="').concat(e,'"> to <Route path="').concat("/"===e?"*":"".concat(e,"/*"),'">.'))}let g,m=ne();if(t){var v;let e="string"===typeof t?b(t):t;h("/"===d||(null===(v=e.pathname)||void 0===v?void 0:v.startsWith(d)),'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'.concat(d,'" but pathname "').concat(e.pathname,'" was given in the `location` prop.')),g=e}else g=m;let y=g.pathname||"/",k=y;if("/"!==d){let e=d.replace(/^\//,"").split("/");k="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=w(e,{pathname:k});re&&(p(f||null!=x,'No routes matched location "'.concat(g.pathname).concat(g.search).concat(g.hash,'" ')),p(null==x||void 0!==x[x.length-1].route.element||void 0!==x[x.length-1].route.Component||void 0!==x[x.length-1].route.lazy,'Matched leaf route at location "'.concat(g.pathname).concat(g.search).concat(g.hash,'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.')));let C=me(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:F([d,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:F([d,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),s,r,o);return t&&C?i.createElement($.Provider,{value:{location:(0,n.A)({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:"POP"}},C):C}function fe(){let e=ke(),t=W(e)?"".concat(e.status," ").concat(e.statusText):e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},s=null;return re&&(console.error("Error handled by React Router default ErrorBoundary:",e),s=i.createElement(i.Fragment,null,i.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",i.createElement("code",{style:a},"ErrorBoundary")," or"," ",i.createElement("code",{style:a},"errorElement")," prop on your route."))),i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),r?i.createElement("pre",{style:n},r):null,s)}var he=i.createElement(fe,null),pe=class extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(ee.Provider,{value:this.props.routeContext},i.createElement(te.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ge(e){let{routeContext:t,match:r,children:o}=e,n=i.useContext(V);return n&&n.static&&n.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=r.route.id),i.createElement(ee.Provider,{value:t},o)}function me(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let o=e,n=null===r||void 0===r?void 0:r.errors;if(null!=n){let e=o.findIndex((e=>e.route.id&&void 0!==(null===n||void 0===n?void 0:n[e.route.id])));h(e>=0,"Could not find a matching route for errors on route IDs: ".concat(Object.keys(n).join(","))),o=o.slice(0,Math.min(o.length,e+1))}let a=!1,s=-1;if(r)for(let i=0;i<o.length;i++){let e=o[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(s=i),e.route.id){let{loaderData:t,errors:n}=r,i=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!n||void 0===n[e.route.id]);if(e.route.lazy||i){a=!0,o=s>=0?o.slice(0,s+1):[o[0]];break}}}return o.reduceRight(((e,l,c)=>{let u,d=!1,f=null,h=null;r&&(u=n&&l.route.id?n[l.route.id]:void 0,f=l.route.errorElement||he,a&&(s<0&&0===c?(Ce("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,h=null):s===c&&(d=!0,h=l.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,c+1)),g=()=>{let t;return t=u?f:d?h:l.route.Component?i.createElement(l.route.Component,null):l.route.element?l.route.element:e,i.createElement(ge,{match:l,routeContext:{outlet:e,matches:p,isDataRoute:null!=r},children:t})};return r&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?i.createElement(pe,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:g(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):g()}),null)}function ve(e){return"".concat(e," must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.")}function be(e){let t=i.useContext(V);return h(t,ve(e)),t}function ye(e){let t=i.useContext(Y);return h(t,ve(e)),t}function we(e){let t=function(e){let t=i.useContext(ee);return h(t,ve(e)),t}(e),r=t.matches[t.matches.length-1];return h(r.route.id,"".concat(e,' can only be used on routes that contain a unique "id"')),r.route.id}function ke(){var e;let t=i.useContext(te),r=ye("useRouteError"),o=we("useRouteError");return void 0!==t?t:null===(e=r.errors)||void 0===e?void 0:e[o]}var xe={};function Ce(e,t,r){t||xe[e]||(xe[e]=!0,p(!1,r))}i.memo((function(e){let{routes:t,future:r,state:o}=e;return de(t,void 0,o,r)}));function Se(e){return function(e){let t=i.useContext(ee).outlet;return t?i.createElement(le.Provider,{value:e},t):t}(e.context)}function _e(e){h(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Ae(e){let{basename:t="/",children:r=null,location:o,navigationType:n="POP",navigator:a,static:s=!1}=e;h(!oe(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),c=i.useMemo((()=>({basename:l,navigator:a,static:s,future:{}})),[l,a,s]);"string"===typeof o&&(o=b(o));let{pathname:u="/",search:d="",hash:f="",state:g=null,key:m="default"}=o,v=i.useMemo((()=>{let e=j(u,l);return null==e?null:{location:{pathname:e,search:d,hash:f,state:g,key:m},navigationType:n}}),[l,u,d,f,g,m,n]);return p(null!=v,'<Router basename="'.concat(l,'"> is not able to match the URL "').concat(u).concat(d).concat(f,"\" because it does not start with the basename, so the <Router> won't render anything.")),null==v?null:i.createElement(J.Provider,{value:c},i.createElement($.Provider,{children:r,value:v}))}function Te(e){let{children:t,location:r}=e;return de(Ee(t),r)}i.Component;function Ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[];return i.Children.forEach(e,((e,o)=>{if(!i.isValidElement(e))return;let n=[...t,o];if(e.type===i.Fragment)return void r.push.apply(r,Ee(e.props.children,n));h(e.type===_e,"[".concat("string"===typeof e.type?e.type:e.type.name,"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>")),h(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||n.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Ee(e.props.children,n)),r.push(a)})),r}var Be="get",Ie="application/x-www-form-urlencoded";function Ne(e){return null!=e&&"string"===typeof e.tagName}function Pe(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let o=e[r];return t.concat(Array.isArray(o)?o.map((e=>[r,e])):[[r,o]])}),[]))}var Re=null;var Oe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function je(e){return null==e||Oe.has(e)?e:(p(!1,'"'.concat(e,'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "').concat(Ie,'"')),null)}function ze(e,t){let r,o,n,i,a;if(Ne(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");o=a?j(a,t):null,r=e.getAttribute("method")||Be,n=je(e.getAttribute("enctype"))||Ie,i=new FormData(e)}else if(function(e){return Ne(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Ne(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(o=s?j(s,t):null,r=e.getAttribute("formmethod")||a.getAttribute("method")||Be,n=je(e.getAttribute("formenctype"))||je(a.getAttribute("enctype"))||Ie,i=new FormData(a,e),!function(){if(null===Re)try{new FormData(document.createElement("form"),0),Re=!1}catch(e){Re=!0}return Re}()){let{name:t,type:r,value:o}=e;if("image"===r){let e=t?"".concat(t,"."):"";i.append("".concat(e,"x"),"0"),i.append("".concat(e,"y"),"0")}else t&&i.append(t,o)}}else{if(Ne(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Be,o=null,n=Ie,a=e}var s;return i&&"text/plain"===n&&(a=i,i=void 0),{action:o,method:r.toLowerCase(),encType:n,formData:i,body:a}}function Me(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}async function Le(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error("Error loading route module `".concat(e.module,"`, reloading page...")),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}function De(e){return null!=e&&"string"===typeof e.page}function Fe(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"===typeof e.imageSrcSet&&"string"===typeof e.imageSizes:"string"===typeof e.rel&&"string"===typeof e.href)}function qe(e,t,r,o,n,i){let a=(e,t)=>!r[t]||e.route.id!==r[t].route.id,s=(e,t)=>{var o;return r[t].pathname!==e.pathname||(null===(o=r[t].route.path)||void 0===o?void 0:o.endsWith("*"))&&r[t].params["*"]!==e.params["*"]};return"assets"===i?t.filter(((e,t)=>a(e,t)||s(e,t))):"data"===i?t.filter(((t,i)=>{let l=o.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(a(t,i)||s(t,i))return!0;if(t.route.shouldRevalidate){var c;let o=t.route.shouldRevalidate({currentUrl:new URL(n.pathname+n.search+n.hash,window.origin),currentParams:(null===(c=r[0])||void 0===c?void 0:c.params)||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"===typeof o)return o}return!0})):[]}function He(e){return[...new Set(e)]}function Ue(e,t){let r=new Set,o=new Set(t);return e.reduce(((e,n)=>{if(t&&!De(n)&&"script"===n.as&&n.href&&o.has(n.href))return e;let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let o of r)t[o]=e[o];return t}(n));return r.has(i)||(r.add(i),e.push({key:i,link:n})),e}),[])}function We(e){return{__html:e}}Symbol("SingleFetchRedirect");function Ke(e){let t="string"===typeof e?new URL(e,"undefined"===typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname="".concat(t.pathname.replace(/\/$/,""),".data"),t}i.Component;function Ge(e){let{error:t,isOutsideRemixApp:r}=e;console.error(t);let o,n=i.createElement("script",{dangerouslySetInnerHTML:{__html:'\n        console.log(\n          "\ud83d\udcbf Hey developer \ud83d\udc4b. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."\n        );\n      '}});if(W(t))return i.createElement(Ve,{title:"Unhandled Thrown Response!"},i.createElement("h1",{style:{fontSize:"24px"}},t.status," ",t.statusText),n);if(t instanceof Error)o=t;else{let e=null==t?"Unknown Error":"object"===typeof t&&"toString"in t?t.toString():JSON.stringify(t);o=new Error(e)}return i.createElement(Ve,{title:"Application Error!",isOutsideRemixApp:r},i.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),i.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},o.stack),n)}function Ve(e){var t;let{title:r,renderScripts:o,isOutsideRemixApp:n,children:a}=e,{routeModules:s}=Je();return null!==(t=s.root)&&void 0!==t&&t.Layout&&!n?a:i.createElement("html",{lang:"en"},i.createElement("head",null,i.createElement("meta",{charSet:"utf-8"}),i.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),i.createElement("title",null,r)),i.createElement("body",null,i.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},a,o?i.createElement(it,null):null)))}function Ye(e){return!e}function Xe(){let e=i.useContext(V);return Me(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Qe(){let e=i.useContext(Y);return Me(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ze=i.createContext(void 0);function Je(){let e=i.useContext(Ze);return Me(e,"You must render this element inside a <HydratedRouter> element"),e}function $e(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function et(e,t,r){if(r&&!nt)return[e[0]];if(t){let r=e.findIndex((e=>void 0!==t[e.route.id]));return e.slice(0,r+1)}return e}function tt(e){let{page:t}=e,r=(0,o.A)(e,a),{router:s}=Xe(),l=i.useMemo((()=>w(s.routes,t,s.basename)),[s.routes,t,s.basename]);return l?i.createElement(ot,(0,n.A)({page:t,matches:l},r)):(console.warn("Tried to prefetch ".concat(t," but no routes matched.")),null)}function rt(e){let{manifest:t,routeModules:r}=Je(),[o,a]=i.useState([]);return i.useEffect((()=>{let o=!1;return async function(e,t,r){return Ue((await Promise.all(e.map((async e=>{let o=t.routes[e.route.id];if(o){let e=await Le(o,r);return e.links?e.links():[]}return[]})))).flat(1).filter(Fe).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?(0,n.A)((0,n.A)({},e),{},{rel:"prefetch",as:"style"}):(0,n.A)((0,n.A)({},e),{},{rel:"prefetch"}))))}(e,t,r).then((e=>{o||a(e)})),()=>{o=!0}}),[e,t,r]),o}function ot(e){let{page:t,matches:r}=e,a=(0,o.A)(e,s),l=ne(),{manifest:c,routeModules:u}=Je(),{loaderData:d,matches:f}=Qe(),h=i.useMemo((()=>qe(t,r,f,c,l,"data")),[t,r,f,c,l]),p=i.useMemo((()=>qe(t,r,f,c,l,"assets")),[t,r,f,c,l]),g=i.useMemo((()=>{if(t===l.pathname+l.search+l.hash)return[];let e=new Set,o=!1;if(r.forEach((t=>{var r;let n=c.routes[t.route.id];n&&n.hasLoader&&(!h.some((e=>e.route.id===t.route.id))&&t.route.id in d&&null!==(r=u[t.route.id])&&void 0!==r&&r.shouldRevalidate||n.hasClientLoader?o=!0:e.add(t.route.id))})),0===e.size)return[];let n=Ke(t);return o&&e.size>0&&n.searchParams.set("_routes",r.filter((t=>e.has(t.route.id))).map((e=>e.route.id)).join(",")),[n.pathname+n.search]}),[d,l,c,h,r,t,u]),m=i.useMemo((()=>function(e,t){return He(e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let o=[r.module];return r.imports&&(o=o.concat(r.imports)),o})).flat(1))}(p,c)),[p,c]),v=rt(p);return i.createElement(i.Fragment,null,g.map((e=>i.createElement("link",(0,n.A)({key:e,rel:"prefetch",as:"fetch",href:e},a)))),m.map((e=>i.createElement("link",(0,n.A)({key:e,rel:"modulepreload",href:e},a)))),v.map((e=>{let{key:t,link:r}=e;return i.createElement("link",(0,n.A)({key:t},r))})))}Ze.displayName="FrameworkContext";var nt=!1;function it(e){let{manifest:t,serverHandoffString:r,isSpaMode:o,renderMeta:a}=Je(),{router:s,static:l,staticContext:c}=Xe(),{matches:u}=Qe(),d=Ye(o);a&&(a.didRenderScripts=!0);let f=et(u,null,o);i.useEffect((()=>{nt=!0}),[]);let h=i.useMemo((()=>{var o;let a=c?"window.__reactRouterContext = ".concat(r,";").concat("window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());"):" ",u=l?"".concat(null!==(o=t.hmr)&&void 0!==o&&o.runtime?"import ".concat(JSON.stringify(t.hmr.runtime),";"):"").concat(d?"":"import ".concat(JSON.stringify(t.url)),";\n").concat(f.map(((e,r)=>"import * as route".concat(r," from ").concat(JSON.stringify(t.routes[e.route.id].module),";"))).join("\n"),"\n  ").concat(d?"window.__reactRouterManifest = ".concat(JSON.stringify(function(e,t){let r=new Set(t.state.matches.map((e=>e.route.id))),o=t.state.location.pathname.split("/").filter(Boolean),i=["/"];for(o.pop();o.length>0;)i.push("/".concat(o.join("/"))),o.pop();i.forEach((e=>{let o=w(t.routes,e,t.basename);o&&o.forEach((e=>r.add(e.route.id)))}));let a=[...r].reduce(((t,r)=>Object.assign(t,{[r]:e.routes[r]})),{});return(0,n.A)((0,n.A)({},e),{},{routes:a})}(t,s),null,2),";"):"","\n  window.__reactRouterRouteModules = {").concat(f.map(((e,t)=>"".concat(JSON.stringify(e.route.id),":route").concat(t))).join(","),"};\n\nimport(").concat(JSON.stringify(t.entry.module),");"):" ";return i.createElement(i.Fragment,null,i.createElement("script",(0,n.A)((0,n.A)({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:We(a),type:void 0})),i.createElement("script",(0,n.A)((0,n.A)({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:We(u),type:"module",async:!0})))}),[]),p=f.map((e=>{let r=t.routes[e.route.id];return r?(r.imports||[]).concat([r.module]):[]})).flat(1),g=nt?[]:t.entry.imports.concat(p);return nt?null:i.createElement(i.Fragment,null,d?null:i.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin}),i.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin}),(m=g,[...new Set(m)]).map((t=>i.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin}))),h);var m}function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{t.forEach((t=>{"function"===typeof t?t(e):null!=t&&(t.current=e)}))}}var st="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;try{st&&(window.__reactRouterVersion="7.0.1")}catch(bt){}function lt(e){let{basename:t,children:r,window:o}=e,n=i.useRef();null==n.current&&(n.current=f({window:o,v5Compat:!0}));let a=n.current,[s,l]=i.useState({action:a.action,location:a.location}),c=i.useCallback((e=>{i.startTransition((()=>l(e)))}),[l]);return i.useLayoutEffect((()=>a.listen(c)),[a,c]),i.createElement(Ae,{basename:t,children:r,location:s.location,navigationType:s.action,navigator:a})}var ct=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ut=i.forwardRef((function(e,t){let r,{onClick:a,discover:s="render",prefetch:c="none",relative:u,reloadDocument:d,replace:f,state:g,target:m,to:b,preventScrollReset:y,viewTransition:w}=e,k=(0,o.A)(e,l),{basename:x}=i.useContext(J),C="string"===typeof b&&ct.test(b),S=!1;if("string"===typeof b&&C&&(r=b,st))try{let e=new URL(window.location.href),t=b.startsWith("//")?new URL(e.protocol+b):new URL(b),r=j(t.pathname,x);t.origin===e.origin&&null!=r?b=r+t.search+t.hash:S=!0}catch(bt){p(!1,'<Link to="'.concat(b,'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.'))}let _=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h(oe(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=i.useContext(J),{hash:n,pathname:a,search:s}=ue(e,{relative:t}),l=a;return"/"!==r&&(l="/"===a?r:F([r,a])),o.createHref({pathname:l,search:s,hash:n})}(b,{relative:u}),[A,T,E]=function(e,t){let r=i.useContext(Ze),[o,n]=i.useState(!1),[a,s]=i.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:f}=t,h=i.useRef(null);i.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{s(e.isIntersecting)}))}),{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}}),[e]),i.useEffect((()=>{if(o){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[o]);let p=()=>{n(!0)},g=()=>{n(!1),s(!1)};return r?"intent"!==e?[a,h,{}]:[a,h,{onFocus:$e(l,p),onBlur:$e(c,g),onMouseEnter:$e(u,p),onMouseLeave:$e(d,g),onTouchStart:$e(f,p)}]:[!1,h,{}]}(c,k),B=function(e){let{target:t,replace:r,state:o,preventScrollReset:n,relative:a,viewTransition:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=se(),c=ne(),u=ue(e,{relative:a});return i.useCallback((i=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(i,t)){i.preventDefault();let t=void 0!==r?r:v(c)===v(u);l(e,{replace:t,state:o,preventScrollReset:n,relative:a,viewTransition:s})}}),[c,l,u,r,o,t,e,n,a,s])}(b,{replace:f,state:g,target:m,preventScrollReset:y,relative:u,viewTransition:w});let I=i.createElement("a",(0,n.A)((0,n.A)((0,n.A)({},k),E),{},{href:r||_,onClick:S||d?a:function(e){a&&a(e),e.defaultPrevented||B(e)},ref:at(t,T),target:m,"data-discover":C||"render"!==s?void 0:"true"}));return A&&!C?i.createElement(i.Fragment,null,I,i.createElement(tt,{page:_})):I}));ut.displayName="Link",i.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:a=!1,className:s="",end:l=!1,style:u,to:d,viewTransition:f,children:p}=e,g=(0,o.A)(e,c),m=ue(d,{relative:g.relative}),v=ne(),b=i.useContext(Y),{navigator:y,basename:w}=i.useContext(J),k=null!=b&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.useContext(X);h(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=ht("useViewTransitionState"),n=ue(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=j(r.currentLocation.pathname,o)||r.currentLocation.pathname,s=j(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=R(n.pathname,s)||null!=R(n.pathname,a)}(m)&&!0===f,x=y.encodeLocation?y.encodeLocation(m).pathname:m.pathname,C=v.pathname,S=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;a||(C=C.toLowerCase(),S=S?S.toLowerCase():null,x=x.toLowerCase()),S&&w&&(S=j(S,w)||S);const _="/"!==x&&x.endsWith("/")?x.length-1:x.length;let A,T=C===x||!l&&C.startsWith(x)&&"/"===C.charAt(_),E=null!=S&&(S===x||!l&&S.startsWith(x)&&"/"===S.charAt(x.length)),B={isActive:T,isPending:E,isTransitioning:k},I=T?r:void 0;A="function"===typeof s?s(B):[s,T?"active":null,E?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let N="function"===typeof u?u(B):u;return i.createElement(ut,(0,n.A)((0,n.A)({},g),{},{"aria-current":I,className:A,ref:t,style:N,to:d,viewTransition:f}),"function"===typeof p?p(B):p)})).displayName="NavLink";var dt=i.forwardRef(((e,t)=>{let{discover:r="render",fetcherKey:a,navigate:s,reloadDocument:l,replace:c,state:d,method:f=Be,action:p,onSubmit:g,relative:m,preventScrollReset:b,viewTransition:y}=e,w=(0,o.A)(e,u),k=vt(),x=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{basename:r}=i.useContext(J),o=i.useContext(ee);h(o,"useFormAction must be used inside a RouteContext");let[a]=o.matches.slice(-1),s=(0,n.A)({},ue(e||".",{relative:t})),l=ne();if(null==e){s.search=l.search;let e=new URLSearchParams(s.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();s.search=r?"?".concat(r):""}}e&&"."!==e||!a.route.index||(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index");"/"!==r&&(s.pathname="/"===s.pathname?r:F([r,s.pathname]));return v(s)}(p,{relative:m}),C="get"===f.toLowerCase()?"get":"post",S="string"===typeof p&&ct.test(p);return i.createElement("form",(0,n.A)((0,n.A)({ref:t,method:C,action:x,onSubmit:l?g:e=>{if(g&&g(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,r=(null===t||void 0===t?void 0:t.getAttribute("formmethod"))||f;k(t||e.currentTarget,{fetcherKey:a,method:r,navigate:s,replace:c,state:d,relative:m,preventScrollReset:b,viewTransition:y})}},w),{},{"data-discover":S||"render"!==r?void 0:"true"}))}));function ft(e){return"".concat(e," must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.")}function ht(e){let t=i.useContext(V);return h(t,ft(e)),t}function pt(e){p("undefined"!==typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=i.useRef(Pe(e)),r=i.useRef(!1),o=ne(),n=i.useMemo((()=>function(e,t){let r=Pe(e);return t&&t.forEach(((e,o)=>{r.has(o)||t.getAll(o).forEach((e=>{r.append(o,e)}))})),r}(o.search,r.current?null:t.current)),[o.search]),a=se(),s=i.useCallback(((e,t)=>{const o=Pe("function"===typeof e?e(n):e);r.current=!0,a("?"+o,t)}),[a,n]);return[n,s]}dt.displayName="Form";var gt=0,mt=()=>"__".concat(String(++gt),"__");function vt(){let{router:e}=ht("useSubmit"),{basename:t}=i.useContext(J),r=we("useRouteId");return i.useCallback((async function(o){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{action:i,method:a,encType:s,formData:l,body:c}=ze(o,t);if(!1===n.navigate){let t=n.fetcherKey||mt();await e.fetch(t,r,n.action||i,{preventScrollReset:n.preventScrollReset,formData:l,body:c,formMethod:n.method||a,formEncType:n.encType||s,flushSync:n.flushSync})}else await e.navigate(n.action||i,{preventScrollReset:n.preventScrollReset,formData:l,body:c,formMethod:n.method||a,formEncType:n.encType||s,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})}),[e,t,r])}new TextEncoder},6553:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const o="00000000-0000-0000-0000-000000000000"}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={id:o,loaded:!1,exports:{}};return e[o].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.m=e,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"===typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"===typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i}})(),r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>"static/js/"+({195:"page-module",410:"contact-module",462:"legal",501:"administration",620:"blog-module",761:"sustainability-module",889:"page-section-module",907:"unsubscribe-module",940:"case-study-module",963:"ourstory-module"}[e]||e)+"."+{38:"975d9cbd",195:"3dc76fed",257:"18db0292",297:"6fa0588a",313:"2328b28d",323:"0f287fb9",360:"1c319e02",410:"dd6fb1a3",453:"920a68a2",462:"79f87998",501:"79288d99",620:"210b2bd5",761:"0bc0d406",889:"1683822d",907:"f56a0851",940:"f47e4b13",963:"dada930f"}[e]+".chunk.js",r.miniCssF=e=>"static/css/"+e+"."+{297:"79705377",313:"42752947"}[e]+".chunk.css",r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="dolphin-website-webapp:";r.l=(o,n,i,a)=>{if(e[o])e[o].push(n);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==t+i){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",t+i),s.src=o),e[o]=[n];var f=(t,r)=>{s.onerror=s.onload=null,clearTimeout(h);var n=e[o];if(delete e[o],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(r))),t)return t(r)},h=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),r.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((t,o)=>{var n=r.miniCssF(e),i=r.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),o=0;o<r.length;o++){var n=(a=r[o]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(n===e||n===t))return a}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){var a;if((n=(a=i[o]).getAttribute("data-href"))===e||n===t)return a}})(n,i))return t();((e,t,o,n,i)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",r.nc&&(a.nonce=r.nc),a.onerror=a.onload=r=>{if(a.onerror=a.onload=null,"load"===r.type)n();else{var o=r&&r.type,s=r&&r.target&&r.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=s,a.parentNode&&a.parentNode.removeChild(a),i(l)}},a.href=t,o?o.parentNode.insertBefore(a,o.nextSibling):document.head.appendChild(a)})(e,i,null,t,o)})),t={792:0};r.f.miniCss=(r,o)=>{t[r]?o.push(t[r]):0!==t[r]&&{297:1,313:1}[r]&&o.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={792:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{var i=new Promise(((r,o)=>n=e[t]=[r,o]));o.push(n[2]=i);var a=r.p+r.u(t),s=new Error;r.l(a,(o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=o&&("load"===o.type?"missing":o.type),a=o&&o.target&&o.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,o)=>{var n,i,a=o[0],s=o[1],l=o[2],c=0;if(a.some((t=>0!==e[t]))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(l)l(r)}for(t&&t(o);c<a.length;c++)i=a[c],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0},o=self.webpackChunkdolphin_website_webapp=self.webpackChunkdolphin_website_webapp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),(()=>{"use strict";var e=r(5043),t=r.t(e,2),o=r(4391);const n=e=>{e&&e instanceof Function&&r.e(453).then(r.bind(r,6453)).then((t=>{let{getCLS:r,getFID:o,getFCP:n,getLCP:i,getTTFB:a}=t;r(e),o(e),n(e),i(e),a(e)}))};var i=r(906),a=r(7051),s=r(4211),l=r(4845),c=r(4084),u=r(6442),d=r(6930);const f={scrollState:"none",setScrollState:()=>({})},h=e.createContext(void 0),p=h.Provider,g=()=>{var t;return null!==(t=e.useContext(h))&&void 0!==t?t:f};var m=r(315),v=r(9632),b=r(2390),y=r(5179),w=r(8337),k=r(8130),x=r(3261),C=r(9392),S=r(6755);const _="--fui-Drawer--size",A=("var(".concat(_,")"),x.L.colorNeutralBackground1,x.L.colorNeutralForeground1,(0,C.X)({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]})),T=(0,C.X)({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),E={small:w.TV.durationGentle,medium:w.TV.durationSlow,large:w.TV.durationSlower,full:w.TV.durationUltraSlow};function B(e,t,r){const o="translate3d(var(".concat(t,"), 0, 0)"),n="translate3d(calc(var(".concat(t,") * -1), 0, 0)"),i="translate3d(0, var(".concat(t,"), 0)");return"start"===e?"ltr"===r?n:o:"end"===e?"ltr"===r?o:n:"bottom"===e?i:"translate3d(0, 0, 0)"}(0,k.$)((e=>{let{position:t,size:r,dir:o}=e;const n=[{transform:B(t,_,o),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],i=E[r];return{enter:{keyframes:n,duration:i,easing:w.TV.curveDecelerateMid},exit:{keyframes:[...n].reverse(),duration:i,easing:w.TV.curveAccelerateMin}}}));const I=(0,k.$)((e=>{let{position:t,size:r,dir:o}=e;const n=[{transform:B(t,_,o),boxShadow:"0px ".concat(x.L.colorTransparentBackground),opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:x.L.shadow64,opacity:1}],i=E[r];return{enter:{keyframes:n,duration:i,easing:w.TV.curveDecelerateMid},exit:{keyframes:[...n].reverse(),duration:i,easing:w.TV.curveAccelerateMin}}})),N=(0,k.$)((e=>{let{size:t}=e;const r=[{opacity:0},{opacity:1}],o=E[t];return{enter:{keyframes:r,easing:w.TV.curveLinear,duration:o},exit:{keyframes:[...r].reverse(),easing:w.TV.curveLinear,duration:o}}}));var P=r(4826),R=r(1827),O=r(5935),j=r(9560);const z=(0,j.y)("rmnljus",null,[".rmnljus{inset:0px;position:fixed;background-color:rgba(0, 0, 0, 0.4);}"]),M=(0,C.X)({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),L=e.forwardRef(((e,t)=>{const r=(0,P.W)((0,a.A)((0,a.A)({},e),{},{as:e.as}),t),o=(0,R.l)(r);return(e=>{const t=z(),r=M();e.backdrop&&(e.backdrop.className=(0,S.z)(t,e.isNestedDialog&&r.nested,e.backdrop.className))})(r),(0,O.V)(r,o)}));function D(t,r,o){return null===t?null:(0,a.A)((0,a.A)({},t),{},{children:(n,i)=>(null===t||void 0===t?void 0:t.children)?t.children(r,(0,a.A)((0,a.A)({},i),o)):e.createElement(r,(0,a.A)((0,a.A)({},i),o),i.children)})}L.displayName="OverlayDrawerSurface";const F={active:!0,canRender:!0,ref:e.createRef(),type:"idle"};var q=r(9463),H=r(9413);const U="fui-OverlayDrawer",W="fui-OverlayDrawer__backdrop",K=(0,j.y)("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),G=(0,C.X)({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),V=e=>{const t=(e=>{let{position:t,size:r}=e;const o=A(),n=T();return(0,S.z)(o[t],"bottom"===t&&n[r],"bottom"!==t&&o[r])})(e),r=K(),o=G(),n=e.hasMountNodeElement&&o.absolute,i=e.root.backdrop;return e.root.className=(0,S.z)(U,t,r,o[e.position],n,e.root.className),i&&(i.className=(0,S.z)(W,n,i.className)),e},Y=e.forwardRef(((t,r)=>{const o=((e,t)=>{const{open:r,size:o,position:n}=function(e){const{open:t=!1,size:r="small",position:o="start"}=e;return{size:r,position:o,open:t}}(e),{backdropMotion:i,modalType:s="modal",inertTrapFocus:l,onOpenChange:c,surfaceMotion:u,mountNode:d}=e,{dir:f,targetDocument:h}=(0,b.Y)(),{element:p}=(0,y.h)(d),g=Boolean(p&&(null===h||void 0===h?void 0:h.body)!==p),w=v.Gf(e.backdrop),k="non-modal"!==s&&null!==w,x=v.Gk((0,a.A)((0,a.A)({},e),{},{ref:t,backdrop:k?(0,a.A)({},w):null,backdropMotion:D(i,N,{size:o})}),{elementType:L}),C=v.Gk({open:r,onOpenChange:c,inertTrapFocus:l,modalType:s,surfaceMotion:D(u,I,{position:n,size:o,dir:f}),children:null},{elementType:m.l});return{components:{root:L,dialog:m.l},root:x,dialog:C,open:r,size:o,position:n,hasMountNodeElement:g,mountNode:d,motion:F}})(t,r),n=(()=>{const[t,r]=e.useState("none");return{setScrollState:r,scrollState:t}})();return V(o),(0,d.$e)("useDrawerOverlayStyles_unstable")(o),(0,d.$e)("useOverlayDrawerStyles_unstable")(o),((e,t)=>((0,H.C)(e),(0,q.Y)(p,{value:t,children:(0,q.Y)(e.dialog,{children:(0,q.Y)(e.root,{})})})))(o,n)}));Y.displayName="OverlayDrawer";var X=r(3397);const Q="fui-DrawerHeader",Z=(0,j.y)("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),J=(0,C.X)({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),$=e.forwardRef(((e,t)=>{const r=((e,t)=>{const{scrollState:r}=g();return{components:{root:"header"},root:v.Gk((0,X.g)("header",(0,a.A)({ref:t,role:"none"},e)),{elementType:"header"}),scrollState:r}})(e,t);return(e=>{const t=Z(),r=J();e.root.className=(0,S.z)(Q,t,"none"!==e.scrollState&&r.separator,["middle","bottom"].includes(e.scrollState)&&r.separatorVisible,e.root.className)})(r),(0,d.$e)("useDrawerHeaderStyles_unstable")(r),(e=>((0,H.C)(e),(0,q.Y)(e.root,{})))(r)}));$.displayName="DrawerHeader";var ee=r(9454);var te=r(8034);const re="fui-DrawerHeaderTitle",oe="fui-DrawerHeaderTitle__heading",ne="fui-DrawerHeaderTitle__action",ie=(0,C.X)({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),ae=e.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,heading:o}=e,n=(0,ee.e4)((e=>e.dialogTitleId));return{components:{root:"div",heading:"h2",action:"div"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:t},e)),{elementType:"div"}),heading:v.lq(o,{defaultProps:{id:n,children:r},renderByDefault:!0,elementType:"h2"}),action:v.lq(e.action,{elementType:"div"})}})(e,t);return(e=>{const t=ie(),{heading:r={},action:o,components:n}=e;(0,te.LP)({components:{root:n.heading,action:n.action},root:r,action:o}),e.root.className=(0,S.z)(re,t.root,e.root.className),e.heading&&(e.heading.className=(0,S.z)(oe,e.heading.className)),e.action&&(e.action.className=(0,S.z)(ne,t.action,e.action.className))})(r),(0,d.$e)("useDrawerHeaderTitleStyles_unstable")(r),(e=>((0,H.C)(e),(0,q.FD)(e.root,{children:[e.heading&&(0,q.Y)(e.heading,{}),e.action&&(0,q.Y)(e.action,{})]})))(r)}));ae.displayName="DrawerHeaderTitle";var se=r(7464);const le=e=>(e(0),0),ce=e=>e;var ue=r(4915),de=r(5923),fe=r(8715);const he=(t,r)=>{const{setScrollState:o}=g(),n=e.useRef(null),[i,s]=function(){const{targetDocument:e}=(0,b.Y)(),t=null===e||void 0===e?void 0:e.defaultView,r=t?t.requestAnimationFrame:le,o=t?t.cancelAnimationFrame:ce;return(0,se.X)(r,o)}(),l=e.useCallback((()=>{n.current&&o((e=>{let{scrollTop:t,scrollHeight:r,clientHeight:o}=e;return r<=o?"none":0===t?"top":t+o===r?"bottom":"middle"})(n.current))}),[o]),c=e.useCallback((()=>{s(),i((()=>l()))}),[s,i,l]);return(0,ue.E)((()=>{l()}),[t.children,l]),(0,ue.E)((()=>(l(),()=>s())),[s,l]),{components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)((0,a.A)({ref:(0,de.a)(r,n)},t),{},{onScroll:(0,fe.p)(t.onScroll,c)})),{elementType:"div"})}},pe="fui-DrawerBody",ge=(0,j.y)("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),me=e.forwardRef(((e,t)=>{const r=he(e,t);return(e=>{const t=ge();e.root.className=(0,S.z)(pe,t,e.root.className)})(r),(0,d.$e)("useDrawerBodyStyles_unstable")(r),(e=>((0,H.C)(e),(0,q.Y)(e.root,{})))(r)}));me.displayName="DrawerBody";var ve=r(3599),be=r(2828),ye=r(1571),we=r(1896),ke=r(1360);const xe=e.createContext(void 0),Ce={headerId:""},Se=xe.Provider;const _e="fui-MenuGroup",Ae=e.forwardRef(((t,r)=>{const o=function(e,t){const r=(0,ke.Bi)("menu-group");return{components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:t,"aria-labelledby":r,role:"group"},e)),{elementType:"div"}),headerId:r}}(t,r),n=function(t){const{headerId:r}=t;return{menuGroup:e.useMemo((()=>({headerId:r})),[r])}}(o);return(e=>{e.root.className=(0,S.z)(_e,e.root.className)})(o),(0,d.$e)("useMenuGroupStyles_unstable")(o),((e,t)=>((0,H.C)(e),(0,q.Y)(Se,{value:t.menuGroup,children:(0,q.Y)(e.root,{})})))(o,n)}));function Te(t,r){const{headerId:o}=(()=>{var t;return null!==(t=e.useContext(xe))&&void 0!==t?t:Ce})();return{components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:r,id:o},t)),{elementType:"div"})}}Ae.displayName="MenuGroup";const Ee="fui-MenuGroupHeader",Be=(0,C.X)({root:{Be2twd7:"fy9rknc",sj55zd:"f11d4kpn",uwmqm3:["f177v4lu","f19lj068"],z189sj:["f19lj068","f177v4lu"],Bhrd7zp:"fl43uef",Bqenvij:"f1d2rq10",mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".fy9rknc{font-size:var(--fontSizeBase200);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f177v4lu{padding-left:8px;}",".f19lj068{padding-right:8px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1d2rq10{height:32px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Ie=e.forwardRef(((e,t)=>{const r=Te(e,t);return(e=>{const t=Be();e.root.className=(0,S.z)(Ee,t.root,e.root.className)})(r),(0,d.$e)("useMenuGroupHeaderStyles_unstable")(r),(e=>((0,H.C)(e),(0,q.Y)(e.root,{})))(r)}));Ie.displayName="MenuGroupHeader";var Ne=r(4117),Pe=r(5707),Re=r(579);const Oe=(0,l.n)({root:{padding:0},link:{textDecoration:"none",color:"inherit",display:"block",width:"100%",textAlign:"left",padding:x.L.spacingVerticalSNudge}}),je=e=>{const{to:t,label:r}=e,o=Oe();return(0,Re.jsx)(Pe.D,{className:o.root,children:(0,Re.jsx)(i.N_,{to:t,className:o.link,children:r})})};var ze=r(53);const Me=(0,l.n)({group:{padding:"10px 15px"},header:{color:ze.n.colorLightBlue,fontSize:"0.75rem",fontWeight:600,textTransform:"uppercase",marginTop:"0.5em"}});function Le(e){const{area:t,section:r}=e,o=Me();return(0,Re.jsxs)(Ae,{className:o.group,children:[(0,Re.jsx)(Ie,{className:o.header,children:r.name}),r.links.map(((e,r)=>(0,Re.jsx)(je,{to:"/".concat(t.slug,"/").concat(e.path),label:e.title},r)))]},r.id)}const De=(0,l.n)({button:{padding:"10px"}}),Fe=(0,e.forwardRef)(((e,t)=>{const r=De();return(0,Re.jsx)(s.$,(0,a.A)((0,a.A)({},e),{},{ref:t,type:"button",appearance:"subtle",className:r.button,children:e.label}))})),qe=(0,l.n)({serviceMenuList:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"1rem"}});function He(e){const{area:t}=e,r=qe();return(0,Re.jsxs)(ve.W,{positioning:{autoSize:!0},openOnHover:!0,hoverDelay:0,children:[(0,Re.jsx)(be.c,{disableButtonEnhancement:!0,children:(0,Re.jsx)(Fe,{label:t.name})}),(0,Re.jsx)(ye.b,{children:(0,Re.jsx)(we.c,{className:r.serviceMenuList,children:t.sections.sort(((e,t)=>e.order-t.order)).map((e=>(0,Re.jsx)(Le,{area:t,section:e},e.id)))})})]})}const Ue=(0,l.n)({button:{padding:"10px"},link:{textDecoration:"none",color:"inherit",display:"block",width:"100%"}}),We=e=>{const{to:t,label:r,primary:o}=e,n=Ue(),a=o?"primary":"subtle";return(0,Re.jsx)(i.N_,{to:t,className:n.link,children:(0,Re.jsx)(s.$,{type:"button",appearance:a,className:n.button,children:r})})},Ke=(0,l.n)({menu:{display:"flex",alignItems:"center",gap:"1rem","@media (max-width: 768px)":{display:"none"}},storyMenuList:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"1rem"},group:{padding:"10px 15px"},header:{color:ze.n.colorLightBlue,fontSize:"0.75rem",fontWeight:600,textTransform:"uppercase",marginTop:"0.5em"}});function Ge(e){const{areas:t,status:r}=e,{t:o}=(0,Ne.Bd)("navigation"),n=Ke(),i="true"==="false".toLowerCase();return(0,Re.jsxs)("div",{className:n.menu,children:[(0,Re.jsx)(We,{to:"/",label:o("home")}),(0,Re.jsxs)(ve.W,{positioning:{autoSize:!0},openOnHover:!0,hoverDelay:0,children:[(0,Re.jsx)(be.c,{disableButtonEnhancement:!0,children:(0,Re.jsx)(Fe,{label:o("ourStory.ourStory")})}),(0,Re.jsx)(ye.b,{children:(0,Re.jsxs)(we.c,{className:n.storyMenuList,children:[(0,Re.jsxs)(Ae,{className:n.group,children:[(0,Re.jsx)(Ie,{className:n.header,children:o("ourStory.about")}),(0,Re.jsx)(je,{to:"/ourstory",label:o("ourStory.ourStory")}),(0,Re.jsx)(je,{to:"/partners",label:o("ourStory.partners")}),(0,Re.jsx)(je,{to:"/jobs",label:o("ourStory.jobs")}),(0,Re.jsx)(je,{to:"/sustainability",label:o("ourStory.sustainability")})]}),(0,Re.jsxs)(Ae,{className:n.group,children:[(0,Re.jsx)(Ie,{className:n.header,children:o("ourStory.portfolio")}),(0,Re.jsx)(je,{to:"/casestudies",label:o("ourStory.caseStudies")}),(0,Re.jsx)(je,{to:"/testimonials",label:o("ourStory.testimonials")}),(0,Re.jsx)(je,{to:"/awards",label:o("ourStory.awards")})]})]})})]}),t.map((e=>(0,Re.jsx)(He,{area:e},e.id))),(0,Re.jsx)(We,{to:"/blogs",label:o("blog")}),i&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(We,{to:"/contact",label:o("contact")}),(0,Re.jsx)(We,{to:"https://app.dolphin-support.co.uk/",label:o("login"),primary:!0})]}),!i&&(0,Re.jsx)(We,{to:"/contact",label:o("contact"),primary:!0})]})}var Ve=r(7256);var Ye=r(3614);const Xe=(t=>{const r=e.createContext({value:{current:t},version:{current:-1},listeners:[]});var o;return r.Provider=(o=r.Provider,t=>{const r=e.useRef(t.value),n=e.useRef(0),i=e.useRef();return i.current||(i.current={value:r,version:n,listeners:[]}),(0,ue.E)((()=>{r.current=t.value,n.current+=1,(0,Ve.unstable_runWithPriority)(Ve.unstable_NormalPriority,(()=>{i.current.listeners.forEach((e=>{e([n.current,t.value])}))}))}),[t.value]),e.createElement(o,{value:i.current},t.children)}),delete r.Consumer,r})(void 0),Qe={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:Ze}=Xe,Je=t=>((t,r)=>{const o=e.useContext(t),{value:{current:n},version:{current:i},listeners:a}=o,s=r(n),[l,c]=e.useState([n,s]),u=e=>{c((t=>{if(!e)return[n,s];if(e[0]<=i)return Object.is(t[1],s)?t:[n,s];try{if(Object.is(t[0],e[1]))return t;const o=r(e[1]);return Object.is(t[1],o)?t:[e[1],o]}catch(o){}return[t[0],t[1]]}))};Object.is(l[1],s)||u(void 0);const d=(0,Ye.D)(u);return(0,ue.E)((()=>(a.push(d),()=>{const e=a.indexOf(d);a.splice(e,1)})),[d,a]),l[1]})(Xe,(function(){return t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qe)}));var $e=r(5673),et=r(5200);const tt=(t,r)=>{const{openItems:o,defaultOpenItems:n,multiple:i=!1,collapsible:s=!1,onToggle:l,navigation:c}=t,[u,d]=(0,$e.i)({state:e.useMemo((()=>function(e){if(void 0===e)return;return Array.isArray(e)?e:[e]}(o)),[o]),defaultState:n&&(()=>function(e){let{defaultOpenItems:t,multiple:r}=e;if(void 0!==t)return Array.isArray(t)?r?t:[t[0]]:[t];return[]}({defaultOpenItems:n,multiple:i})),initialState:[]}),f=(0,et.i)({circular:"circular"===c,tabbable:!0}),h=(0,Ye.D)((e=>{const t=function(e,t,r,o){if(!r)return t[0]===e&&o?[]:[e];if(!t.includes(e))return[...t,e].sort();if(t.length>1||o)return t.filter((t=>t!==e));return t}(e.value,u,i,s);null===l||void 0===l||l(e.event,{value:e.value,openItems:t}),d(t)}));return{collapsible:s,multiple:i,navigation:c,openItems:u,requestToggle:h,components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)((0,a.A)((0,a.A)({},t),c?f:void 0),{},{ref:r})),{elementType:"div"})}};const rt="fui-Accordion",ot=e.forwardRef(((e,t)=>{const r=tt(e,t),o=function(e){const{navigation:t,openItems:r,requestToggle:o,multiple:n,collapsible:i}=e;return{accordion:{navigation:t,openItems:r,requestToggle:o,collapsible:i,multiple:n}}}(r);return(e=>{e.root.className=(0,S.z)(rt,e.root.className)})(r),(0,d.$e)("useAccordionStyles_unstable")(r),((e,t)=>((0,H.C)(e),(0,q.Y)(e.root,{children:(0,q.Y)(Ze,{value:t.accordion,children:e.root.children})})))(r,o)}));ot.displayName="Accordion";const nt=e.createContext(void 0),it={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:at}=nt,st=()=>{var t;return null!==(t=e.useContext(nt))&&void 0!==t?t:it},lt="fui-AccordionItem",ct=e.forwardRef(((t,r)=>{const o=((e,t)=>{const{value:r,disabled:o=!1}=e,n=Je((e=>e.requestToggle)),i=Je((e=>e.openItems.includes(r))),s=(0,Ye.D)((e=>n({event:e,value:r})));return{open:i,value:r,disabled:o,onHeaderClick:s,components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:t},e)),{elementType:"div"})}})(t,r),n=function(t){const{disabled:r,open:o,value:n,onHeaderClick:i}=t;return{accordionItem:e.useMemo((()=>({disabled:r,open:o,value:n,onHeaderClick:i})),[r,o,n,i])}}(o);return(e=>{e.root.className=(0,S.z)(lt,e.root.className)})(o),(0,d.$e)("useAccordionItemStyles_unstable")(o),((e,t)=>((0,H.C)(e),(0,q.Y)(e.root,{children:(0,q.Y)(at,{value:t.accordionItem,children:e.root.children})})))(o,n)}));ct.displayName="AccordionItem";var ut=r(8701),dt=r(6975),ft=r(4861);const ht=e.createContext(void 0),{Provider:pt}=ht,gt="fui-AccordionHeader",mt="fui-AccordionHeader__button",vt="fui-AccordionHeader__expandIcon",bt="fui-AccordionHeader__icon",yt=(0,C.X)({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bb7d1vk:"f226i61",zhwhgb:["f13kzufm","fsx75g8"],dhy2o1:"flujwa2",Gfyso:["fsx75g8","f13kzufm"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]});const wt=e.forwardRef(((t,r)=>{const o=((t,r)=>{const{icon:o,button:n,expandIcon:i,inline:s=!1,size:l="medium",expandIconPosition:c="start"}=t,{value:u,disabled:d,open:f}=st(),h=Je((e=>e.requestToggle)),p=Je((e=>!e.collapsible&&1===e.openItems.length&&f)),{dir:g}=(0,b.Y)();let m;m="end"===c?f?-90:90:f?90:"rtl"!==g?0:180;const y=v.Gk(n,{elementType:"button",defaultProps:{disabled:d,disabledFocusable:p,"aria-expanded":f,type:"button"}});return y.onClick=(0,Ye.D)((e=>{var t;(0,ut.g)(n)&&(null===(t=n.onClick)||void 0===t||t.call(n,e)),e.defaultPrevented||h({value:u,event:e})})),{disabled:d,open:f,size:l,inline:s,expandIconPosition:c,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:r},t)),{elementType:"div"}),icon:v.lq(o,{elementType:"div"}),expandIcon:v.lq(i,{renderByDefault:!0,defaultProps:{children:e.createElement(ft.Crl,{style:{transform:"rotate(".concat(m,"deg)"),transition:"transform ".concat(w.TV.durationNormal,"ms ease-out")}}),"aria-hidden":!0},elementType:"span"}),button:(0,dt.F)(y.as,y)}})(t,r),n=function(t){const{disabled:r,expandIconPosition:o,open:n,size:i}=t;return{accordionHeader:e.useMemo((()=>({disabled:r,expandIconPosition:o,open:n,size:i})),[r,o,n,i])}}(o);return(e=>{const t=yt();e.root.className=(0,S.z)(gt,t.root,e.inline&&t.rootInline,e.disabled&&t.rootDisabled,e.root.className),e.button.className=(0,S.z)(mt,t.resetButton,t.button,t.focusIndicator,"end"===e.expandIconPosition&&!e.icon&&t.buttonExpandIconEndNoIcon,"end"===e.expandIconPosition&&t.buttonExpandIconEnd,e.inline&&t.buttonInline,"small"===e.size&&t.buttonSmall,"large"===e.size&&t.buttonLarge,"extra-large"===e.size&&t.buttonExtraLarge,e.disabled&&t.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=(0,S.z)(vt,t.expandIcon,"start"===e.expandIconPosition&&t.expandIconStart,"end"===e.expandIconPosition&&t.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=(0,S.z)(bt,t.icon,e.icon.className))})(o),(0,d.$e)("useAccordionHeaderStyles_unstable")(o),((e,t)=>((0,H.C)(e),(0,q.Y)(pt,{value:t.accordionHeader,children:(0,q.Y)(e.root,{children:(0,q.FD)(e.button,{children:["start"===e.expandIconPosition&&e.expandIcon&&(0,q.Y)(e.expandIcon,{}),e.icon&&(0,q.Y)(e.icon,{}),e.root.children,"end"===e.expandIconPosition&&e.expandIcon&&(0,q.Y)(e.expandIcon,{})]})})})))(o,n)}));wt.displayName="AccordionHeader";var kt=r(5486),xt=r(9940);const Ct=(e,t)=>{const r="horizontal"===e?"maxWidth":"maxHeight",o="horizontal"===e?"overflowX":"overflowY",n="horizontal"===e?t.scrollWidth:t.scrollHeight;return{sizeName:r,overflowName:o,toSize:"".concat(n,"px")}},St=e=>{let{orientation:t,duration:r,easing:o,element:n,fromSize:i="0"}=e;const{sizeName:a,overflowName:s,toSize:l}=Ct(t,n);return{keyframes:[{[a]:i,[s]:"hidden"},{[a]:l,offset:.9999,[s]:"hidden"},{[a]:"unset",[s]:"unset"}],duration:r,easing:o}},_t=e=>({paddingStart:"horizontal"===e?"paddingLeft":"paddingTop",paddingEnd:"horizontal"===e?"paddingRight":"paddingBottom"}),At=e=>{let{orientation:t,duration:r,easing:o}=e;const{paddingStart:n,paddingEnd:i}=_t(t);return{keyframes:[{[n]:"0",[i]:"0",offset:0}],duration:r,easing:o}},Tt=function(){let{enterSizeDuration:e=w.TV.durationNormal,enterOpacityDuration:t=e,enterEasing:r=w.TV.curveEasyEaseMax,enterDelay:o=0,exitSizeDuration:n=e,exitOpacityDuration:i=t,exitEasing:a=r,exitDelay:s=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return l=>{let{element:c,animateOpacity:u=!0,orientation:d="vertical"}=l;const f=[St({orientation:d,duration:e,easing:r,element:c}),At({orientation:d,duration:e,easing:r})];u&&f.push((e=>{let{duration:t,easing:r,delay:o=0,fromOpacity:n=0,toOpacity:i=1}=e;return{keyframes:[{opacity:n},{opacity:i}],duration:t,easing:r,delay:o,fill:"both"}})({duration:t,easing:r,delay:o}));const h=[];return u&&h.push((e=>{let{duration:t,easing:r,fromOpacity:o=0,toOpacity:n=1}=e;return{keyframes:[{opacity:n},{opacity:o}],duration:t,easing:r}})({duration:i,easing:a})),h.push((e=>{let{orientation:t,duration:r,easing:o,element:n,delay:i=0,fromSize:a="0"}=e;const{sizeName:s,overflowName:l,toSize:c}=Ct(t,n);return{keyframes:[{[s]:c,[l]:"hidden"},{[s]:a,[l]:"hidden"}],duration:r,easing:o,fill:"both",delay:i}})({orientation:d,duration:n,easing:a,element:c,delay:s})),h.push((e=>{let{orientation:t,duration:r,easing:o,delay:n=0}=e;const{paddingStart:i,paddingEnd:a}=_t(t);return{keyframes:[{[i]:"0",[a]:"0",offset:1}],duration:r,easing:o,fill:"forwards",delay:n}})({orientation:d,duration:n,easing:a,delay:s})),{enter:f,exit:h}}},Et=function(){let{enterDuration:e=w.TV.durationNormal,enterEasing:t=w.TV.curveEasyEaseMax,exitDuration:r=e,exitEasing:o=t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Tt({enterSizeDuration:e,enterEasing:t,exitSizeDuration:r,exitEasing:o})},Bt=(0,k.$)(Et()),It=((0,k.$)(Et({enterDuration:w.TV.durationFast})),(0,k.$)(Et({enterDuration:w.TV.durationSlower})),(0,k.$)(Tt({enterSizeDuration:w.TV.durationNormal,enterOpacityDuration:w.TV.durationSlower,enterDelay:w.TV.durationNormal,exitDelay:w.TV.durationSlower,enterEasing:w.TV.curveEasyEase})),"fui-AccordionPanel"),Nt=(0,C.X)({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),Pt=e.forwardRef(((e,t)=>{const r=((e,t)=>{const{open:r}=st(),o=(0,kt.g)({focusable:{excludeFromMover:!0}}),n=Je((e=>e.navigation));return{open:r,components:{root:"div",collapseMotion:Bt},root:v.Gk((0,X.g)("div",(0,a.A)((0,a.A)({ref:t},e),n&&o)),{elementType:"div"}),collapseMotion:(0,xt.s)(e.collapseMotion,{elementType:Bt,defaultProps:{visible:r,unmountOnExit:!0}})}})(e,t);return(e=>{const t=Nt();e.root.className=(0,S.z)(It,t.root,e.root.className)})(r),(0,d.$e)("useAccordionPanelStyles_unstable")(r),(e=>((0,H.C)(e),e.collapseMotion?(0,q.Y)(e.collapseMotion,{children:(0,q.Y)(e.root,{})}):(0,q.Y)(e.root,{})))(r)}));Pt.displayName="AccordionPanel";var Rt=r(286);const Ot=(0,l.n)({link:{textDecoration:"none"},button:{textAlign:"left",justifyContent:"flex-start",margin:"0",height:"30px",display:"flex",alignItems:"center"}}),jt=e=>{const{path:t,text:r}=e,o=Ot();return(0,Re.jsx)(i.N_,{to:t,className:o.link,onClick:e.onNavigate,children:(0,Re.jsx)(s.$,{as:"a",appearance:"subtle",className:o.button,children:r})})},zt=(0,l.n)({button:{textAlign:"left",justifyContent:"flex-start",margin:"0",height:"30px",display:"flex",alignItems:"center"},accordion:{width:"100%"},accordionHeader:{padding:0,margin:0,width:"100%","& button":{paddingLeft:"6px",textAlign:"left",justifyContent:"flex-start",width:"100%",height:"30px",display:"flex",alignItems:"center",marginRight:"auto"}},link:{display:"block",marginTop:"2px",color:"black",textDecoration:"none"}}),Mt=e=>{const{link:t}=e,r=zt(),o=e.area?"/".concat(e.area,"/").concat(t.path):"/".concat(t.path);return(0,Re.jsx)(i.N_,{to:o,className:r.link,onClick:e.onNavigate,children:t.title})},Lt=e=>(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{block:!0,as:"h3",children:e.section.name}),e.section.links.map(((t,r)=>(0,Re.jsx)(Mt,{area:e.area.slug,link:t,onNavigate:e.onNavigate},r)))]});function Dt(e){const{area:t}=e,{t:r}=(0,Ne.Bd)("navigation"),o=zt();return(0,Re.jsxs)(ct,{value:e.index,children:[(0,Re.jsx)(wt,{as:"div",expandIconPosition:"end",className:o.accordionHeader,children:(0,Re.jsx)(s.$,{appearance:"subtle",className:o.button,children:t.name})}),(0,Re.jsx)(Pt,{children:t.sections.sort(((e,t)=>e.order-t.order)).map(((r,o)=>(0,Re.jsx)(Lt,{section:r,area:t,onNavigate:e.onNavigate},o)))})]})}var Ft=r(6553);const qt=(0,l.n)({menu:{display:"flex",flexDirection:"column",gap:"1rem",alignItems:"flex-start",textAlign:"left"}});function Ht(e){const{areas:t,status:r}=e,{t:o}=(0,Ne.Bd)("navigation"),n=qt(),i=zt(),a="true"==="false".toLowerCase(),l=[{title:o("ourStory.ourStory"),pageId:Ft.A,path:"ourstory"},{title:o("ourStory.partners"),pageId:Ft.A,path:"partners"},{title:o("ourStory.jobs"),pageId:Ft.A,path:"jobs"},{title:o("ourStory.sustainability"),pageId:Ft.A,path:"sustainability"}],c=[{title:o("ourStory.caseStudies"),pageId:Ft.A,path:"casestudies"},{title:o("ourStory.testimonials"),pageId:Ft.A,path:"testimonials"},{title:o("ourStory.awards"),pageId:Ft.A,path:"awards"}];return(0,Re.jsxs)("div",{className:n.menu,children:[(0,Re.jsx)(jt,{path:"/",text:o("home"),onNavigate:e.onNavigate}),(0,Re.jsxs)(ot,{collapsible:!0,className:i.accordion,children:[(0,Re.jsxs)(ct,{value:"1",children:[(0,Re.jsx)(wt,{as:"div",expandIconPosition:"end",className:i.accordionHeader,children:(0,Re.jsx)(s.$,{appearance:"subtle",className:i.button,children:o("ourStory.ourStory")})}),(0,Re.jsxs)(Pt,{children:[(0,Re.jsx)(Rt.E,{as:"h3",block:!0,children:o("ourStory.about")}),l.map(((t,r)=>(0,Re.jsx)(Mt,{link:t,onNavigate:e.onNavigate},r))),(0,Re.jsx)(Rt.E,{as:"h3",block:!0,children:o("ourStory.portfolio")}),c.map(((t,r)=>(0,Re.jsx)(Mt,{link:t,onNavigate:e.onNavigate},r)))]})]}),t.map(((t,r)=>(0,Re.jsx)(Dt,{index:r+2,area:t,onNavigate:e.onNavigate},r)))]}),(0,Re.jsx)(jt,{path:"/blog",text:o("blog"),onNavigate:e.onNavigate}),a&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(jt,{path:"/contact",text:o("contact"),onNavigate:e.onNavigate}),(0,Re.jsx)(jt,{path:"https://app.dolphin-support.co.uk/",text:o("login"),onNavigate:e.onNavigate})]}),!a&&(0,Re.jsx)(jt,{path:"/contact",text:o("contact"),onNavigate:e.onNavigate})]})}var Ut=r(3320);const Wt=(0,l.n)({logo:{display:"flex",alignItems:"center",textDecoration:"none"}}),Kt=()=>{const{t:e}=(0,Ne.Bd)("general"),t=Wt();return(0,Re.jsx)(i.N_,{to:"/",children:(0,Re.jsx)(Ut._,{src:"/img/logos/dolphin-solutions_logo_blue-black.png",alt:e("companyName"),className:t.logo,width:185,height:60})})};var Gt=r(1373),Vt=r(6846);const Yt=(0,l.n)({navContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"0 2rem",height:"60px",maxWidth:"1500px",margin:"0 auto"},burgerMenu:{display:"none","@media (max-width: 768px)":{display:"flex"}}}),Xt=e=>(0,Re.jsx)(s.$,{appearance:"subtle","aria-label":"Close",icon:(0,Re.jsx)(c.rp8,{}),onClick:e.onDismiss});function Qt(){const t=Yt(),[r,o]=(0,e.useState)(!1),[n,i]=(0,e.useState)([]),[a,l]=(0,e.useState)(Gt.A.LOADING);(0,e.useEffect)((()=>{!async function(e,t){try{e(await Vt.A.getNavigation()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(i,l)}),[]);return(0,Re.jsxs)("div",{className:t.navContainer,children:[(0,Re.jsx)(Kt,{}),(0,Re.jsx)(Ge,{status:a,areas:n}),(0,Re.jsx)(s.$,{className:t.burgerMenu,appearance:"subtle",onClick:()=>o(!r),icon:r?null:(0,Re.jsx)(u.$X2,{})}),(0,Re.jsxs)(Y,{as:"aside",open:r,onOpenChange:(e,t)=>(e=>o(e))(t.open),position:"end",children:[(0,Re.jsx)($,{children:(0,Re.jsx)(ae,{action:(0,Re.jsx)(Xt,{onDismiss:()=>o(!1)})})}),(0,Re.jsx)(me,{children:(0,Re.jsx)(Ht,{areas:n,status:a,onNavigate:()=>o(!1)})})]})]})}const Zt=(0,l.n)({contentWrapper:{padding:"2rem 1rem"},h2:{"& .highlight":{color:ze.n.colorLightBlue,"@media (min-width: 1024px)":{display:"inline"}}},h4:{color:"#869ab8"}});function Jt(){const{t:e}=(0,Ne.Bd)("home"),t=Zt();return(0,Re.jsxs)("div",{className:t.contentWrapper,children:[(0,Re.jsx)(Rt.E,{block:!0,as:"h2",size:800,align:"center",className:t.h2,children:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:e("tagline.h2")}})}),(0,Re.jsx)(Rt.E,{block:!0,as:"h4",size:500,align:"center",className:t.h4,children:e("tagline.h4")})]})}var $t=r(2277),er=r(1535),tr=r(3462),rr=r(6045),or=r(6232),nr=r(2214);const ir=(0,nr.U)("Cloud48Regular","48",["M24 11.5a9.5 9.5 0 0 0-9.5 9.72 1.25 1.25 0 0 1-1.25 1.28H11.5a6 6 0 0 0 0 12h25a6 6 0 0 0 0-12h-1.75a1.25 1.25 0 0 1-1.25-1.28V21a9.5 9.5 0 0 0-9.5-9.5ZM12.04 20a12 12 0 0 1 23.92 0h.54a8.5 8.5 0 0 1 0 17h-25a8.5 8.5 0 0 1 0-17h.54Z"]);var ar=r(8319),sr=r(3703);const lr=(0,nr.U)("Headphones48Regular","48",["M24 6.5A17.5 17.5 0 0 0 6.5 24v4h9.25c.69 0 1.25.56 1.25 1.25v13.5c0 .69-.56 1.25-1.25 1.25h-6A5.75 5.75 0 0 1 4 38.25V24a20 20 0 1 1 40 0v14.25A5.75 5.75 0 0 1 38.25 44h-6c-.69 0-1.25-.56-1.25-1.25v-13.5c0-.69.56-1.25 1.25-1.25h9.25v-4A17.5 17.5 0 0 0 24 6.5Zm17.5 24h-8v11h4.75c1.8 0 3.25-1.46 3.25-3.25V30.5Zm-35 0v7.75c0 1.8 1.46 3.25 3.25 3.25h4.75v-11h-8Z"]),cr=(0,l.n)({row:{display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"1rem",marginBottom:"3rem","@media (min-width: 800px) and (max-width: 1250px)":{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"2rem",justifyItems:"center"}},cardCol:{flex:"1 1 300px",maxWidth:"350px",width:"100%",padding:"0 1rem","@media (min-width: 800px) and (max-width: 1250px)":{maxWidth:"100%",width:"100%",padding:"0"}},card:{display:"flex !important",flexDirection:"column",height:"100% !important",backgroundColor:"white !important",borderRadius:"8px !important",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1) !important"},header:{padding:"0 20px",fontSize:"1.25rem"},iconHeaderContainer:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",paddingTop:"20px",marginBottom:0},icon:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",fontSize:"2.5rem",marginBottom:"1.5rem",color:ze.n.colorLightBlue},description:{padding:"10px 20px",color:"#869ab8",textAlign:"center",width:"100%"},learnMoreLink:{marginTop:"auto !important",padding:"0 20px !important",marginBottom:"10px !important",color:ze.n.colorLightBlue,display:"inline-flex",alignItems:"center",alignSelf:"center","& svg":{marginLeft:"5px"}}}),ur=e=>{const{title:t,description:r,linkUrl:o,linkText:n,icon:i}=e,a=cr(),s=(0,Re.jsxs)("div",{className:a.iconHeaderContainer,children:[(0,Re.jsx)("div",{className:a.icon,children:i}),(0,Re.jsx)($t.M,{className:a.header,style:{textAlign:"center",width:"100%"},children:t})]}),l=(0,Re.jsx)(Rt.E,{as:"p",size:400,className:a.description,children:r});return(0,Re.jsx)("div",{className:a.cardCol,children:(0,Re.jsxs)(er.Z,{className:a.card,children:[(0,Re.jsx)(tr.a,{header:s,description:l}),(0,Re.jsxs)(rr.N,{className:a.learnMoreLink,href:o,children:[(0,Re.jsx)(Rt.E,{children:n}),(0,Re.jsx)(or.Fqy,{})]})]})})};function dr(){const{t:e}=(0,Ne.Bd)("home"),t=cr();return(0,Re.jsxs)("div",{className:t.row,children:[(0,Re.jsx)(ur,{icon:(0,Re.jsx)(ir,{}),title:e("keyServices.cloud.title"),description:e("keyServices.cloud.description"),linkUrl:"/services/cloud",linkText:e("keyServices.cloud.lnkLearnMore")}),(0,Re.jsx)(ur,{icon:(0,Re.jsx)(ar.lDv,{}),title:e("keyServices.bps.title"),description:e("keyServices.bps.description"),linkUrl:"/services/bps",linkText:e("keyServices.bps.lnkLearnMore")}),(0,Re.jsx)(ur,{icon:(0,Re.jsx)(sr.uI3,{}),title:e("keyServices.security.title"),description:e("keyServices.security.description"),linkUrl:"/services/managed-security-services",linkText:e("keyServices.security.lnkLearnMore")}),(0,Re.jsx)(ur,{icon:(0,Re.jsx)(lr,{}),title:e("keyServices.support.title"),description:e("keyServices.support.description"),linkUrl:"/services/itsupport",linkText:e("keyServices.support.lnkLearnMore")})]})}var fr=r(3460);const hr=[{key:"macro",name:"Macro Group",height:18,width:100},{key:"leightons",name:"Leightons Opticians",height:76,width:100},{key:"woodmansterne",name:"Woodmansterne",height:76,width:100},{key:"tesco",name:"Tesco",height:76,width:100},{key:"vw",name:"Volkswagen Group",height:76,width:100}],pr=(0,l.n)({contentContainer:{gridRow:"1 / -1",zIndex:2,display:"grid",placeItems:"center",textAlign:"center",padding:"2rem"},row:{display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"2rem",marginBottom:"3rem",width:"100%"},title:{textTransform:"uppercase"},client:{display:"flex",justifyContent:"center",alignItems:"center",flex:"1 1 calc(16.66% - 2rem)",maxWidth:"calc(16.66% - 2rem)","@media (max-width: 1200px)":{flex:"1 1 calc(33.33% - 2rem)",maxWidth:"calc(33.33% - 2rem)"},"@media (max-width: 768px)":{flex:"1 1 calc(50% - 2rem)",maxWidth:"calc(50% - 2rem)"},"& img":{width:"auto",maxWidth:"100%",maxHeight:"100px"}}}),gr=e=>{const{client:t}=e,r=pr(),o="img/home/client-logos/".concat(t.key,".webp");return(0,Re.jsx)("div",{className:r.client,children:(0,Re.jsx)(fr.m,{content:t.name,relationship:"label",children:(0,Re.jsx)(Ut._,{src:o,alt:t.name,width:t.width,height:t.height})})})};function mr(){const{t:e}=(0,Ne.Bd)("home"),t=pr();return(0,Re.jsxs)("div",{className:t.contentContainer,children:[(0,Re.jsx)(Rt.E,{as:"h2",size:600,weight:"semibold",align:"center",className:t.title,children:e("clients")}),(0,Re.jsx)("div",{className:t.row,children:hr.map((e=>(0,Re.jsx)(gr,{client:e},e.key)))})]})}const vr=(0,e.lazy)((()=>r.e(889).then(r.bind(r,8954))));function br(){const{t:e}=(0,Ne.Bd)("home"),t=[{header:"".concat(e("carousel.slides.who.pill")),title:"".concat(e("carousel.slides.who.title")),description:"".concat(e("carousel.slides.who.description")),image:{url:"/img/home/img-vertical.webp",altText:"".concat(e("carousel.slides.who.title"))},details:e("carousel.slides.who.details",{returnObjects:!0})},{header:"".concat(e("carousel.slides.support.pill")),title:"".concat(e("carousel.slides.support.title")),description:"".concat(e("carousel.slides.support.description")),image:{url:"/img/home/img-horizontal.webp",altText:"".concat(e("carousel.slides.support.title"))},details:e("carousel.slides.support.details",{returnObjects:!0})},{header:"".concat(e("carousel.slides.migrate.pill")),title:"".concat(e("carousel.slides.migrate.title")),description:"".concat(e("carousel.slides.migrate.description")),image:{url:"/img/home/img-horizontal2.webp",altText:"".concat(e("carousel.slides.migrate.title"))},details:e("carousel.slides.migrate.details",{returnObjects:!0})}];return(0,Re.jsx)(vr,{slides:t})}var yr=r(9685),wr=r(8059),kr=r(459),xr=r(2529);const Cr=(0,l.n)({contentWrapper:{paddingBottom:"3rem"},row:{display:"flex",justifyContent:"space-between",marginBottom:"3rem"},sectionHeader:{textAlign:"center"},blueBadge:{backgroundColor:ze.n.colorLightBlue,color:"white",padding:"0.5rem 1.5rem",borderRadius:"50px",fontSize:"0.875rem",textTransform:"uppercase",display:"inline-block"},cardCol:{maxWidth:"350px",width:"100%"},card:{display:"flex",flexDirection:"column",height:"100%",backgroundColor:"white",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)",transition:"all 0.3s","&:hover":{boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)",transform:"translateY(-4px)"}},flexContainer:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:"2rem"},flexLink:{flex:"1 1 350px",maxWidth:"350px",textDecoration:"none"},image:{width:"100%",height:"auto",maxHeight:"224px",objectFit:"cover",objectPosition:"center"},logo:{height:"32px",width:"auto",marginBottom:"1rem",backgroundColor:"rgba(255, 255, 255, 0.5)"},skeletons:{flexDirection:"column",gap:x.L.spacingVerticalL,"& > [role='progressbar']":{width:"100%"}},viewAllContainer:{display:"flex",justifyContent:"center",marginTop:"2rem"},viewAllButton:{backgroundColor:ze.n.colorLightBlue,color:"white",borderRadius:"50px",padding:"0.75rem 2rem",fontSize:"1rem",textDecoration:"none",display:"inline-block",transition:"all 0.3s","&:hover":{backgroundColor:ze.n.colorLightBlue,transform:"translateY(-2px)",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)"}}}),Sr=()=>{const e=Cr(),t=(0,S.z)(e.card,e.skeletons),r=(0,xr.Z)({height:"224px !important"});return(0,Re.jsx)("div",{className:e.cardCol,children:(0,Re.jsxs)(er.Z,{className:t,children:[(0,Re.jsx)(yr.H,{shape:"rectangle",className:r}),(0,Re.jsx)(yr.H,{size:36,shape:"rectangle"}),(0,Re.jsx)(yr.H,{size:20,shape:"rectangle"})]})})},_r=e=>{const{caseStudy:t}=e,r=Cr();return(0,Re.jsx)(i.N_,{className:r.flexLink,to:"/casestudy/".concat(t.slug),children:(0,Re.jsxs)(er.Z,{className:r.card,children:[(0,Re.jsx)(wr.X,{logo:(0,Re.jsx)(Ut._,{src:t.client.logo.url,alt:t.client.logo.altText,className:r.logo,fetchPriority:"low",loading:"lazy"}),children:(0,Re.jsx)(Ut._,{src:t.thumbnail.url,alt:t.thumbnail.altText,className:r.image,fetchPriority:"low",loading:"lazy"})}),(0,Re.jsx)(tr.a,{header:t.client.name,description:t.subtitle}),(0,Re.jsx)(Rt.E,{children:t.client.industry||"N/A"})]})})};function Ar(){const{t:t}=(0,Ne.Bd)("home"),r=Cr(),[o,n]=(0,e.useState)(Gt.A.LOADING),[a,s]=(0,e.useState)([]);return(0,e.useEffect)((()=>{!async function(e,t){try{e(await kr.A.getCaseStudyPreviews()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(s,n)}),[]),o===Gt.A.LOAD_ERROR?null:(0,Re.jsxs)("div",{className:r.contentWrapper,children:[(0,Re.jsx)(Rt.E,{as:"h2",size:700,align:"center",block:!0,children:t("portfolio.title")}),(0,Re.jsx)(Rt.E,{as:"h5",size:500,align:"center",block:!0,children:t("portfolio.subtitle")}),(0,Re.jsxs)("div",{className:r.flexContainer,children:[o===Gt.A.LOADING&&Array.from({length:3},((e,t)=>(0,Re.jsx)(Sr,{},t))),o===Gt.A.LOAD_SUCCESS&&a.slice(0,3).map((e=>(0,Re.jsx)(_r,{caseStudy:e},e.id)))]}),o===Gt.A.LOAD_SUCCESS&&(0,Re.jsx)("div",{className:r.viewAllContainer,children:(0,Re.jsx)(i.N_,{to:"/casestudies",className:r.viewAllButton,children:t("portfolio.viewAll")})})]})}var Tr=r(8170),Er=r(326),Br=r(7732),Ir=r(4932);const Nr=[128,24,20,32],Pr=(0,l.n)({contentWrapper:{paddingBottom:"3rem"},row:{display:"flex",justifyContent:"center",marginBottom:"1rem",flexWrap:"wrap"},blueBadge:{backgroundColor:ze.n.colorLightBlue,color:"white",padding:"0.5rem 1.5rem",borderRadius:"50px",fontSize:"0.875rem",textTransform:"uppercase",display:"inline-block"},sectionHeader:{textAlign:"center",width:"100%"},title:{marginBottom:0},card:{display:"flex",flexDirection:"column",height:"100%",backgroundColor:"white",borderRadius:"8px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"},cardCol:{maxWidth:"350px",width:"100%",flex:"1 1 350px",margin:"1rem"},cardImage:{width:"100%",height:"150px",objectFit:"cover"},cardTitle:{marginTop:"8px",marginBottom:0},cardDescription:{marginTop:0,marginBottom:"4px",color:"#555"},persona:{marginTop:"auto"},cardButton:{display:"block",width:"100%","& button":{width:"100%"}},skeletons:{flexDirection:"column",gap:x.L.spacingVerticalL},viewAllContainer:{display:"flex",justifyContent:"center",marginTop:"2rem"},viewAllButton:{backgroundColor:ze.n.colorLightBlue,color:"white",borderRadius:"50px",padding:"0.75rem 2rem",fontSize:"1rem",textDecoration:"none",display:"inline-block",transition:"all 0.3s","&:hover":{backgroundColor:ze.n.colorLightBlue,transform:"translateY(-2px)",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)"}}}),Rr=()=>{const e=Pr(),t=(0,S.z)(e.card,e.skeletons);return(0,Re.jsx)("div",{className:e.cardCol,children:(0,Re.jsx)(er.Z,{className:t,children:Nr.map((e=>(0,Re.jsx)(Tr.E,{children:(0,Re.jsx)(yr.H,{size:e,shape:"rectangle"})},e)))})})},Or=e=>{const{blog:t}=e,{t:r}=(0,Ne.Bd)(["home","blog"]),o=Pr(),n={id:t.authorId,name:t.author,position:""},a=new Date(t.published).toDateString(),l=t.readTime?1===t.readTime?r("readTime.one",{ns:"blog"}):r("readTime.other",{count:t.readTime,ns:"blog"}):"";return(0,Re.jsx)("div",{className:o.cardCol,children:(0,Re.jsxs)(er.Z,{className:o.card,children:[(0,Re.jsx)(Ut._,{src:t.thumbnail.url,alt:t.thumbnail.altText,className:o.cardImage,fetchPriority:"low",loading:"lazy"}),(0,Re.jsx)(Rt.E,{className:o.cardTitle,size:400,weight:"semibold",children:t.title.title}),(0,Re.jsx)(Rt.E,{className:o.cardDescription,size:300,children:l}),(0,Re.jsx)(Er.F,{name:t.author,avatar:(0,Ir.e)(n),secondaryText:a,className:o.persona}),(0,Re.jsx)(i.N_,{to:"/blog/".concat(t.slug),className:o.cardButton,children:(0,Re.jsx)(s.$,{appearance:"secondary",children:r("blog.btnReadMore")})})]})})};function jr(){const{t:t}=(0,Ne.Bd)("home"),r=Pr(),[o,n]=(0,e.useState)(Gt.A.LOADING),[a,s]=(0,e.useState)([]);return(0,e.useEffect)((()=>{!async function(e,t){try{e(await Br.A.getBlogPreviews()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(s,n)}),[]),o===Gt.A.LOAD_ERROR?null:(0,Re.jsxs)("div",{className:r.contentWrapper,children:[(0,Re.jsx)("div",{className:r.row,children:(0,Re.jsx)(Rt.E,{block:!0,as:"h2",size:700,align:"center",className:r.title,children:t("blog.title")})}),o===Gt.A.LOADING&&(0,Re.jsx)("div",{className:r.row,children:Array.from({length:3},((e,t)=>(0,Re.jsx)(Rr,{},t)))}),o===Gt.A.LOAD_SUCCESS&&(0,Re.jsx)("div",{className:r.row,children:a.slice(0,3).map((e=>(0,Re.jsx)(Or,{blog:e},e.id)))}),o===Gt.A.LOAD_SUCCESS&&(0,Re.jsx)("div",{className:r.viewAllContainer,children:(0,Re.jsx)(i.N_,{to:"/blog",className:r.viewAllButton,children:t("blog.viewAll")})})]})}var zr=r(7389);const Mr=(0,l.n)({container:{marginBottom:"3rem"},sectionHeader:{textAlign:"center"},blueBadge:{backgroundColor:ze.n.colorLightBlue,color:"white",padding:"0.5rem 1.5rem",borderRadius:"50px",fontSize:"0.875rem",textTransform:"uppercase",display:"inline-block"},reviewCarousel:{position:"relative",padding:"2rem",display:"flex",justifyContent:"center"},reviewSlide:{display:"none",opacity:0,transition:"opacity 0.5s ease-in-out",textAlign:"center",width:"75%","&.active":{display:"block !important",opacity:"1 !important"},"& a":{color:ze.n.colorLightBlue,textDecoration:"none"},"@media (max-width: 768px)":{width:"90%"}},speechBubble:{backgroundColor:x.L.colorNeutralBackground1,borderRadius:"20px",padding:"2rem",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",border:"1px solid ".concat(x.L.colorNeutralStroke2),position:"relative",marginBottom:"2rem","&::after":{content:'""',position:"absolute",bottom:"-15px",left:"50%",transform:"translateX(-50%)",width:"0",height:"0",borderLeft:"15px solid transparent",borderRight:"15px solid transparent",borderTop:"15px solid ".concat(x.L.colorNeutralBackground1),filter:"drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))"},"@media (max-width: 768px)":{padding:"1.5rem"}},clientInfo:{display:"flex",flexDirection:"column",alignItems:"center",gap:"1rem","& img":{height:"80px",width:"auto"}},skeletons:{flexDirection:"column",gap:x.L.spacingVerticalL,"& > div":{marginLeft:"auto",marginRight:"auto"},"& > :nth-child(1)":{width:"256px !important",marginBottom:"1.5rem !important"},"& > :nth-child(2)":{width:"70% !important"}}}),Lr=e=>{const{testimonial:t,active:r}=e,{t:o}=(0,Ne.Bd)("home"),n=Mr(),a=r?(0,S.z)(n.reviewSlide,"active"):n.reviewSlide,s=(l=t.content,(new DOMParser).parseFromString(l,"text/html").body.textContent||"");var l;return(0,Re.jsxs)("div",{className:a,children:[(0,Re.jsx)("div",{className:n.speechBubble,children:(0,Re.jsxs)(Rt.E,{block:!0,size:500,align:"center",children:["\u201c",s.length<170?(0,Re.jsxs)("span",{children:[s," "]}):(0,Re.jsxs)("span",{children:[s.substring(0,170),"... "]}),(0,Re.jsx)(i.N_,{to:"/testimonials",children:s.length>170?o("testimonials.btnReadMore"):o("testimonials.btnReadAll")}),"\u201d"]})}),(0,Re.jsxs)("div",{className:n.clientInfo,children:[(0,Re.jsx)(Ut._,{src:t.client.logo.url,alt:t.client.logo.altText,fetchPriority:"low",loading:"lazy"}),(0,Re.jsx)(Rt.E,{as:"p",size:400,children:t.client.name})]})]})};function Dr(){const{t:t}=(0,Ne.Bd)("home"),r=Mr(),[o,n]=(0,e.useState)(Gt.A.LOADING),[i,a]=(0,e.useState)([]),[s,l]=(0,e.useState)(0);return(0,e.useEffect)((()=>{!async function(e,t){try{e(await zr.A.getTestimonials()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(a,n)}),[]),(0,e.useEffect)((()=>{const e=setInterval((()=>{l((e=>e===i.length-1?0:e+1))}),5e3);return()=>clearInterval(e)}),[i.length]),o===Gt.A.LOAD_ERROR?null:(0,Re.jsxs)("div",{className:r.container,children:[(0,Re.jsx)(Rt.E,{as:"h2",size:700,align:"center",block:!0,children:t("testimonials.title")}),o===Gt.A.LOADING&&(0,Re.jsxs)("div",{className:r.skeletons,children:[(0,Re.jsx)(Tr.E,{children:(0,Re.jsx)(yr.H,{size:128,shape:"rectangle"})}),(0,Re.jsx)(Tr.E,{children:(0,Re.jsx)(yr.H,{size:72,shape:"rectangle"})})]}),o===Gt.A.LOAD_SUCCESS&&(0,Re.jsx)("div",{className:r.reviewCarousel,children:i.sort(((e,t)=>new Date(t.date).getTime()-new Date(e.date).getTime())).map(((e,t)=>(0,Re.jsx)(Lr,{testimonial:e,active:t===s},e.id)))})]})}var Fr=r(5697),qr=r(1449),Hr=r(7487);const Ur=(0,l.n)({contentWrapper:{padding:"2rem 1rem"},h2:{"& .highlight":{color:ze.n.colorLightBlue,"@media (min-width: 1024px)":{display:"inline"}}},h4:{color:"#869ab8"},cardsSection:{display:"flex",flexWrap:"wrap",gap:"2rem",width:"100%",justifyContent:"center","@media (max-width: 768px)":{gap:"1.5rem"}},cardWrapper:{display:"flex",flexDirection:"column",flexBasis:"calc(45% - 2rem)",maxWidth:"calc(45% - 2rem)","@media (max-width: 768px)":{flexBasis:"100%",maxWidth:"100%"}},card:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",height:"100%",padding:"0.75rem",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.1)",borderRadius:"8px"},imageWrapper:{width:"100%",height:"250px",marginBottom:"0.75rem",display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden"},image:{maxWidth:"100%",maxHeight:"250px",height:"auto",objectFit:"cover",alignSelf:"flex-start"},textWrapper:{width:"100%",marginBottom:"0.75rem"}});function Wr(){const{t:e}=(0,Ne.Bd)("home"),t=Ur(),r=[{title:e("ai.cards.automation.title"),description:e("ai.cards.automation.description"),image:"/img/home/ai-image1.webp",alt:e("ai.cards.automation.alt")},{title:e("ai.cards.insights.title"),description:e("ai.cards.insights.description"),image:"/img/home/ai-image2.webp",alt:e("ai.cards.insights.alt")}];return(0,Re.jsxs)("div",{className:t.contentWrapper,children:[(0,Re.jsx)(Rt.E,{block:!0,as:"h2",size:800,align:"center",className:t.h2,children:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:e("ai.tagline.h2")}})}),(0,Re.jsx)(Rt.E,{block:!0,as:"h4",size:500,align:"center",className:t.h4,children:e("ai.tagline.h4")}),(0,Re.jsx)("div",{className:t.cardsSection,children:r.map(((e,r)=>(0,Re.jsx)("div",{className:t.cardWrapper,children:(0,Re.jsxs)(er.Z,{className:t.card,children:[(0,Re.jsx)("div",{className:t.imageWrapper,children:(0,Re.jsx)(Ut._,{src:e.image,alt:e.alt,className:t.image})}),(0,Re.jsxs)("div",{className:t.textWrapper,children:[(0,Re.jsx)(Rt.E,{as:"h2",block:!0,size:600,className:t.h2,align:"center",children:e.title}),(0,Re.jsx)(Rt.E,{as:"h4",block:!0,size:400,className:t.h4,align:"center",children:e.description})]})]})},r)))})]})}const Kr=(0,l.n)({root:{width:"100%",height:"100%"},heroWrapper:{width:"100%",height:"auto"},mainWrapper:{position:"relative",width:"100%"}}),Gr=[{src:"img/home/client-logos/woody-white.png",alt:"Woodmansterne Ltd"},{src:"img/home/client-logos/tesco-white.png",alt:"Tesco"},{src:"img/home/client-logos/unilever-white.png",alt:"Unilever"},{src:"img/home/client-logos/vw-white.png",alt:"VW"},{src:"img/home/client-logos/dctr-white.png",alt:"DCTR"},{src:"img/home/client-logos/macro-offwhite.svg",alt:"Macro Group Ltd"}],Vr=()=>{const{t:e}=(0,Ne.Bd)("home"),t=Kr(),r={text:e("hero.callToAction"),url:"/contact"},o={text:e("hero.secondaryCallToAction"),url:"/services/free-microsoft-environment-assessment",tooltip:e("hero.secondaryCallToActionTooltip")};return(0,Hr.R)("home-hero","home-main",{duration:900,easing:"quart",heroCapturePx:80,upCapturePx:300,headerOffset:0}),(0,Re.jsxs)("div",{className:t.root,children:[(0,Re.jsx)(qr.A,{}),(0,Re.jsx)("div",{id:"home-hero",className:t.heroWrapper,children:(0,Re.jsx)(Fr.A,{title:e("hero.title"),subtitle:e("hero.description"),cta:r,secondaryCta:o,videoUri:"/video/top-banner-video-h264.mp4",videoPreviewUri:"/video/top-banner-video-preview.webp",clientLogos:Gr,showScrollHint:!1,scrollTargetId:"home-main"})}),(0,Re.jsxs)("div",{id:"home-main",className:t.mainWrapper,children:[(0,Re.jsx)(Jt,{}),(0,Re.jsx)(dr,{}),(0,Re.jsx)(mr,{}),(0,Re.jsx)(br,{}),(0,Re.jsx)(Wr,{}),(0,Re.jsx)(Ar,{}),(0,Re.jsx)(jr,{}),(0,Re.jsx)(Dr,{})]})]})},Yr=e=>{const{name:t,urL:r,logoPath:o}=e;return(0,Re.jsx)(fr.m,{content:t,relationship:"label",children:(0,Re.jsx)(rr.N,{href:r,target:"_blank",children:(0,Re.jsx)(Ut._,{loading:"lazy",src:o,alt:t,fetchPriority:"low",width:48,height:48})})})},Xr=(0,l.n)({socialIcons:{display:"flex",gap:"10px",marginTop:"10px",justifyContent:"center","@media (min-width: 600px)":{justifyContent:"flex-start"}}}),Qr=()=>{const{t:e}=(0,Ne.Bd)("socials"),t=Xr();return(0,Re.jsxs)("div",{className:t.socialIcons,children:[(0,Re.jsx)(Yr,{name:e("facebook"),urL:"https://www.facebook.com/consultdolphin",logoPath:"/img/logos/facebook.svg"}),(0,Re.jsx)(Yr,{name:e("instagram"),urL:"https://www.instagram.com/consultdolphin/",logoPath:"/img/logos/instagram.svg"}),(0,Re.jsx)(Yr,{name:e("youTube"),urL:"https://www.youtube.com/channel/UCJ-QZ5wDRBUvIWUWK_3wWfw",logoPath:"/img/logos/youtube.svg"}),(0,Re.jsx)(Yr,{name:e("linkedIn"),urL:"https://uk.linkedin.com/company/dolphinitsolutions",logoPath:"/img/logos/linkedin.svg"})]})},Zr=(0,l.n)({legalLink:{color:"white",lineHeight:"1.5",textDecoration:"none",display:"block","&:hover":{opacity:1,color:"white",textDecoration:"underline"}}}),Jr=()=>{const{t:e}=(0,Ne.Bd)("navigation"),t=Zr();return(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{block:!0,children:e("legal.title")}),(0,Re.jsx)(i.N_,{to:"/legal/terms",className:t.legalLink,children:e("legal.policies.terms")}),(0,Re.jsx)(i.N_,{to:"/legal/privacy-policy",className:t.legalLink,children:e("legal.policies.privacy")}),(0,Re.jsx)(i.N_,{to:"/legal/cookie-policy",className:t.legalLink,children:e("legal.policies.cookies")}),(0,Re.jsx)(i.N_,{to:"/legal/recruitment-policy",className:t.legalLink,children:e("legal.policies.recruitment")})]})},$r=(0,l.n)({link:{textDecoration:"none",color:"inherit"}}),eo=e=>{const{isLoading:t,phone:r}=e,{t:o}=(0,Ne.Bd)("contact"),n=$r();return(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{block:!0,children:o("titles.contactUs").toUpperCase()}),!t&&r&&(0,Re.jsxs)(Rt.E,{block:!0,children:[o("details.phone.title")," ",(0,Re.jsx)("a",{href:"tel:".concat(r),className:n.link,children:r})]}),(0,Re.jsxs)(Rt.E,{block:!0,children:[o("details.email.title")," ",(0,Re.jsx)("a",{href:"mailto:".concat(o("details.email.value")),className:n.link,children:o("details.email.value")})]})]})},to=(0,l.n)({logo:{display:"flex",margin:"0 auto","@media (min-width: 600px)":{margin:"0"}}}),ro=()=>{const{t:e}=(0,Ne.Bd)("general"),t=to();return(0,Re.jsx)(Ut._,{loading:"lazy",fetchPriority:"low",src:"/img/logos/dolphin-solutions_logo_blue-white.png",alt:e("companyName"),className:t.logo,width:185,height:60})};var oo=r(6872);const no=(0,l.n)({address:{whiteSpace:"pre-wrap"}}),io=e=>{const{isLoading:t,address:r}=e,{t:o}=(0,Ne.Bd)("general"),n=no();if(t)return(0,Re.jsx)(Rt.E,{block:!0,className:n.address,children:o("loading")});if(r){const e=(0,oo.Jq)(r),t=(0,oo.SE)(r);return(0,Re.jsxs)(Rt.E,{block:!0,className:n.address,children:[e,(0,Re.jsx)("br",{}),t]})}return null};var ao=r(4036);const so=(0,l.n)({container:{display:"flex",justifyContent:"center",backgroundColor:ze.n.colorDarkBlue,color:"white",width:"100%",height:"auto",padding:"20px 0"},footer:{maxWidth:"1500px",margin:"0 auto",display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:"column","@media (min-width: 600px)":{flexDirection:"row",gap:"15rem"}},column:{flex:1,padding:"20px 0",textAlign:"center","@media (min-width: 600px)":{padding:"0 20px",textAlign:"left"}}}),lo=()=>{const t=so(),[r,o]=(0,e.useState)(null),[n,i]=(0,e.useState)(Gt.A.LOADING),a=n===Gt.A.LOADING;return(0,e.useEffect)((()=>{!async function(e,t){try{e(await ao.A.getLocalAddress()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(o,i)}),[]),(0,Re.jsx)("div",{className:t.container,children:(0,Re.jsxs)("div",{className:t.footer,children:[(0,Re.jsxs)("div",{className:t.column,children:[(0,Re.jsx)(ro,{}),(0,Re.jsx)(io,{isLoading:a,address:r})]}),(0,Re.jsxs)("div",{className:t.column,children:[(0,Re.jsx)(eo,{isLoading:a,phone:null===r||void 0===r?void 0:r.phone}),(0,Re.jsx)(Qr,{})]}),(0,Re.jsx)("div",{className:t.column,children:(0,Re.jsx)(Jr,{})})]})})};var co=r(9029);const uo=t=>{let{component:r}=t;return(0,Re.jsx)(e.Suspense,{fallback:(0,Re.jsx)(co.y,{}),children:r})};var fo=r(5539),ho=r(2898),po=r(8821),go=r(9670);const mo=new class{async getVacancies(){const e=await go.A.get("/vacancies");if(!e.isSuccessful)throw e.data;return e.status===po.kG.NoContent?[]:e.data}async submitApplication(e,t,r){const o=new FormData;o.append("applicationJson",JSON.stringify(e)),o.append("cv",t),o.append("coverLetter",r);const n=await go.A.put("/recruitment/apply",o);if(n.isSuccessful)return n.data;throw n.data}},vo=(0,l.n)({section:{maxWidth:"900px",margin:"0 auto",padding:"32px 16px",marginLeft:"auto",marginRight:"auto"},card:{background:"#fff",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0,0,0,0.06)",padding:"24px",marginBottom:"0",maxWidth:"700",width:"100%",textAlign:"left"},cardTitle:{marginBottom:"8",color:ze.n.colorLightBlue}});function bo(){const{t:t}=(0,Ne.Bd)("recruitment"),r=vo(),[o,n]=(0,e.useState)([]),[i,a]=(0,e.useState)(Gt.A.LOADING);return(0,e.useEffect)((()=>{!async function(e,t){t(Gt.A.LOADING);try{e(await mo.getVacancies()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(n,a)}),[]),(0,Re.jsxs)("section",{className:r.section,style:{display:"flex",flexDirection:"column",alignItems:"center",flex:1,minWidth:300,maxWidth:700},children:[(0,Re.jsx)($t.M,{as:"h2",block:!0,className:r.cardTitle,children:t("vacancies.title")}),(0,Re.jsx)("div",{className:r.card,children:i===Gt.A.LOADING&&(0,Re.jsx)(Rt.E,{children:t("vacancies.loading")})||i===Gt.A.LOAD_ERROR&&(0,Re.jsx)(Rt.E,{children:t("vacancies.error")})||0===o.length&&(0,Re.jsx)(Rt.E,{children:t("vacancies.none")})||(0,Re.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:32,alignItems:"center",width:"100%"},children:o.map((e=>{var t,o;return(0,Re.jsxs)("div",{children:[(0,Re.jsx)($t.M,{as:"h4",className:r.cardTitle,children:e.name}),(0,Re.jsx)("div",{style:{marginBottom:12},children:(0,Re.jsx)(Rt.E,{size:400,as:"span",style:{color:"#444"},children:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:e.details}})})}),(0,Re.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:24,marginBottom:8},children:[(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{size:400,weight:"semibold",children:"Location: "}),(0,Re.jsx)(Rt.E,{size:400,children:e.location})]}),(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{size:400,weight:"semibold",children:"Salary: "}),(0,Re.jsxs)(Rt.E,{size:400,children:["\xa3",null===(t=e.salary)||void 0===t?void 0:t.toLocaleString()]})]}),(0,Re.jsxs)("div",{children:[(0,Re.jsx)(Rt.E,{size:400,weight:"semibold",children:"Target Hire Date: "}),(0,Re.jsx)(Rt.E,{size:400,children:e.targetHireDate?new Date(e.targetHireDate).toLocaleDateString():"-"})]})]}),e.idealCandidate&&(0,Re.jsxs)("div",{style:{marginTop:8},children:[(0,Re.jsx)(Rt.E,{size:400,weight:"semibold",as:"span",children:"Ideal Candidate:"}),(0,Re.jsx)(Rt.E,{size:400,as:"span",style:{marginLeft:0,color:"#444"},children:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:e.idealCandidate}})})]}),(0,Re.jsxs)("div",{style:{marginTop:12},children:[(0,Re.jsx)(Rt.E,{size:200,weight:"semibold",as:"span",children:"Key Skills:"}),(0,Re.jsxs)("ul",{style:{margin:0,paddingLeft:18},children:[e.skills.skillDotNet&&(0,Re.jsx)("li",{children:".NET Core Development"}),e.skills.skillSoftwareTesting&&(0,Re.jsx)("li",{children:"Software Unit Testing"}),e.skills.skillSQL&&(0,Re.jsx)("li",{children:"SQL Server + Data & BI tools"}),e.skills.skillDocumentation&&(0,Re.jsx)("li",{children:"Software Documentation"}),e.skills.skillMS365Consult&&(0,Re.jsx)("li",{children:"Microsoft 365 Consultancy"}),e.skills.skillMS365Management&&(0,Re.jsx)("li",{children:"Microsoft 365 Management"}),e.skills.skillProjectManagement&&(0,Re.jsx)("li",{children:"Project Management"}),e.skills.skillSPFX&&(0,Re.jsx)("li",{children:"SharePoint Framework"}),e.skills.skillAzure&&(0,Re.jsx)("li",{children:"Microsoft Azure"}),e.skills.skillSalesMarketing&&(0,Re.jsx)("li",{children:"Sales & Marketing"}),e.skills.skillPowerBI&&(0,Re.jsx)("li",{children:"PowerBI"}),e.skills.skillPowerAutomate&&(0,Re.jsx)("li",{children:"Power Automate"}),e.skills.skillPowerApps&&(0,Re.jsx)("li",{children:"PowerApps"}),e.skills.skillGeneralSupport&&(0,Re.jsx)("li",{children:"General Support"}),(null===(o=e.skills.skillOther)||void 0===o?void 0:o.trim())&&(0,Re.jsx)("li",{children:e.skills.skillOther})]})]}),(0,Re.jsx)("hr",{style:{margin:"24px 0"}})]},e.id)}))})})]})}var yo=r(4902),wo=r(2512),ko=r(8581),xo=r(8647);const Co={firstName:"",lastName:"",emailAddress:"",phoneNumber:"",location:"",resume:null,coverLetter:null,vacancy:-1,otherVacancy:"",status:"",expectation:0,skills:{dotnet:!1,sql:!1,m365:!1,m365mgmt:!1,spfx:!1,azure:!1,test:!1,powerbi:!1,powerapps:!1,powerautomate:!1,doc:!1,projmgmt:!1,sale:!1,general:!1,otherSkill:""},agree:!1,gender:""};var So=r(5648),_o=r(8868);const Ao="fui-OptionGroup",To="fui-OptionGroup__label",Eo=(0,C.X)({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"fiut8dr",B8lkq7l:"f1xxzjds",eii1in:0,H93o2g:0,Gwp8xu:0,Bd39igo:"f16cmn8k",om0q45:"f5642y",Hl9o3s:"ffdf81h",sl1c2c:0,z4hxbw:0,B0i58d9:0,Bi9x0x4:0,Bgurq3m:"f1bsn9kn"},label:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mpq0zz"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}",'.f1xxzjds:not(:last-child)::after{content:"";}',[".f16cmn8k:not(:last-child)::after{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".f5642y:not(:last-child)::after{display:block;}",".ffdf81h:not(:last-child)::after{padding-bottom:var(--spacingHorizontalXS);}",[".f1bsn9kn:not(:last-child)::after{margin:0 calc(var(--spacingHorizontalXS) * -1) var(--spacingVerticalXS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1mpq0zz{padding:var(--spacingHorizontalS) var(--spacingHorizontalSNudge);}",{p:-1}]]}),Bo=e.forwardRef(((e,t)=>{const r=((e,t)=>{const r=(0,ke.Bi)("group-label"),{label:o}=e;return{components:{root:"div",label:"span"},root:v.Gk((0,X.g)("div",(0,a.A)({ref:t,role:"group","aria-labelledby":o?r:void 0},e)),{elementType:"div"}),label:v.lq(o,{defaultProps:{id:r,role:"presentation"},elementType:"span"})}})(e,t);return(e=>{const t=Eo();e.root.className=(0,S.z)(Ao,t.root,e.root.className),e.label&&(e.label.className=(0,S.z)(To,t.label,e.label.className))})(r),(0,d.$e)("useOptionGroupStyles_unstable")(r),(e=>((0,H.C)(e),(0,q.FD)(e.root,{children:[e.label&&(0,q.Y)(e.label,{children:e.label.children}),e.root.children]})))(r)}));Bo.displayName="OptionGroup";const Io=(0,l.n)({root:{marginBottom:"20px"}});function No(t){var r;const{t:o}=(0,Ne.Bd)("recruitment"),n=Io(),[i,a]=(0,e.useState)(Gt.A.LOADING),[s,l]=(0,e.useState)([]);(0,e.useEffect)((()=>{!async function(e,t){t(Gt.A.LOADING);try{e(await mo.getVacancies()),t(Gt.A.LOAD_SUCCESS)}catch(r){t(Gt.A.LOAD_ERROR)}}(l,a)}),[]);const c=-1!==t.selectedVacancyId?(null===(r=s.find((e=>Number(e.id)===Number(t.selectedVacancyId))))||void 0===r?void 0:r.name)||(0===t.selectedVacancyId?o("register.form.generalApplication"):o("register.form.selectPosition")):o("register.form.selectPosition"),u=t.disabled||i===Gt.A.LOADING||i===Gt.A.LOAD_ERROR;return(0,Re.jsx)("div",{className:n.root,children:(0,Re.jsx)(yo.D,{label:o("register.form.applyingFor"),children:(0,Re.jsxs)(So.m,{value:c,disabled:u,selectedOptions:[-1!==t.selectedVacancyId?String(t.selectedVacancyId):""],onOptionSelect:(e,r)=>(e=>{const r=e?Number(e):-1;t.onVacancyChange(r)})(r.optionValue),children:[(0,Re.jsx)(_o.c,{value:"0",children:o("register.form.generalApplication")}),s.length>0&&(0,Re.jsx)(Bo,{label:o("register.form.currentVacancies"),children:s.map((e=>(0,Re.jsx)(_o.c,{value:e.id.toString(),children:e.name},e.id)))})]})})})}const Po=[{id:1,key:"male"},{id:2,key:"female"},{id:3,key:"preferNotSay"}];function Ro(e){var t,r;const{t:o}=(0,Ne.Bd)("recruitment"),n=null!==(t=null===(r=e.selectedGenderId)||void 0===r?void 0:r.toString())&&void 0!==t?t:"",i=Po.find((e=>e.id.toString()===n)),a=o(i?"register.form.genderOptions.".concat(i.key):"register.form.selectGender");return(0,Re.jsx)(yo.D,{label:o("register.form.gender"),style:{flex:1},required:!0,children:(0,Re.jsx)(So.m,{value:a,disabled:e.isDisabled,selectedOptions:[n],onOptionSelect:(t,r)=>{var o;(o=r.optionValue)&&Po.some((e=>e.id.toString()===o))&&e.onGenderChange(o)},children:Po.map((e=>(0,Re.jsx)(_o.c,{value:e.id.toString(),children:o("register.form.genderOptions.".concat(e.key))},e.id)))})})}function Oo(e){const{skill:t,isChecked:r,onChange:o}=e,{t:n}=(0,Ne.Bd)("recruitment");return(0,Re.jsx)("div",{children:(0,Re.jsx)(xo.S,{checked:r,onChange:(e,r)=>{return n=!!r.checked,o(t,n);var n},label:n("register.form.skills.".concat(t))})})}const jo=[{id:1,key:"employed"},{id:2,key:"partTime"},{id:3,key:"selfEmployed"},{id:4,key:"homemaker"},{id:5,key:"unemployed"}];function zo(e){var t,r;const{t:o}=(0,Ne.Bd)("recruitment"),n=null!==(t=null===(r=e.selectedEmploymentStatusId)||void 0===r?void 0:r.toString())&&void 0!==t?t:"",i=jo.find((e=>e.id.toString()===n)),a=o(i?"register.form.employmentOptions.".concat(i.key):"register.form.selectEmploymentStatus");return(0,Re.jsx)(yo.D,{label:o("register.form.employmentStatus"),style:{flex:1},required:!0,children:(0,Re.jsx)(So.m,{value:a,disabled:e.isDisabled,selectedOptions:[n],onOptionSelect:(t,r)=>{var o;(o=r.optionValue)&&jo.some((e=>e.id.toString()===o))&&e.onEmploymentStatusChange(o)},children:jo.map((e=>(0,Re.jsx)(_o.c,{value:e.id.toString(),children:o("register.form.employmentOptions.".concat(e.key))},e.id)))})})}const Mo=(0,l.n)({formCol:{flex:1},btnUpload:{width:"100%"},filename:{marginTop:"4px",display:"block",wordBreak:"break-all"}});function Lo(t){const{t:r}=(0,Ne.Bd)("recruitment"),o=Mo(),n=(0,e.useRef)(null);return(0,Re.jsxs)(yo.D,{label:r(t.labelKey),className:o.formCol,required:!0,children:[(0,Re.jsx)("input",{ref:n,type:"file",accept:".pdf,.docx,.doc,.rtf",disabled:t.isDisabled,onChange:e=>(e=>{const r=e.files;t.onFileChange(r)})(e.target)}),(0,Re.jsx)(s.$,{appearance:"secondary",type:"button",onClick:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.click()},className:o.btnUpload,disabled:t.isDisabled,children:t.file?r("register.form.changeFile"):r("register.form.uploadFile")}),t.file&&(0,Re.jsx)(Rt.E,{size:200,className:o.filename,children:t.file.name})]})}const Do=(0,l.n)({section:{margin:"0 auto",padding:"32px 16px",marginLeft:"auto",marginRight:"auto",display:"flex",flexDirection:"column",alignItems:"center",flex:1,minWidth:"300px",maxWidth:"700px"},card:{background:"#fff",borderRadius:"8px",boxShadow:"0 2px 8px rgba(0,0,0,0.06)",padding:"24px",marginBottom:"0",maxWidth:"700",width:"100%",textAlign:"left"},cardTitle:{marginBottom:"8",color:ze.n.colorLightBlue},form:{maxWidth:"600px",margin:"0 auto","& input[type='file']":{display:"none"}},formRow:{display:"flex",gap:"16px",marginBottom:"20px"},formCol:{flex:1},otherVacancy:{marginBottom:"20px"},skills:{flex:1,marginTop:"28px"},otherSkill:{marginBottom:"20px"},chkAgree:{marginBottom:"20px"},applyContainer:{textAlign:"center",marginBottom:"16px"},message:{textAlign:"center",color:ze.n.colorLightBlue}});function Fo(){const{t:t}=(0,Ne.Bd)("recruitment"),r=Do(),[o,n]=(0,e.useState)(Gt.A.NEURAL),[i,l]=(0,e.useState)(Co),c=(e,t)=>l((r=>(0,a.A)((0,a.A)({},r),{},{[e]:t}))),u=(e,t)=>l((r=>(0,a.A)((0,a.A)({},r),{},{skills:(0,a.A)((0,a.A)({},r.skills),{},{[e]:t})}))),d=(e,t)=>l((r=>(0,a.A)((0,a.A)({},r),{},{[e]:t&&t.length>0?t[0]:null}))),f=[Gt.A.LOADING,Gt.A.SAVING,Gt.A.LOAD_ERROR,Gt.A.SAVE_SUCCESS].includes(o);return(0,Re.jsxs)("section",{className:r.section,children:[(0,Re.jsx)($t.M,{as:"h2",block:!0,className:r.cardTitle,children:t("register.title")}),(0,Re.jsx)("div",{className:r.card,children:(0,Re.jsxs)("form",{onSubmit:async e=>{e.preventDefault(),i.resume&&i.coverLetter?await async function(e,t,r,o){o(Gt.A.SAVING);try{await mo.submitApplication(e,t,r),o(Gt.A.SAVE_SUCCESS)}catch(n){o(Gt.A.SAVE_ERROR)}}(i,i.resume,i.coverLetter,n):alert(t("register.form.fileRequired"))},className:r.form,children:[(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsx)(yo.D,{label:t("register.form.firstName"),className:r.formCol,required:!0,children:(0,Re.jsx)(wo.p,{value:i.firstName,disabled:f,onChange:e=>c("firstName",e.target.value)})}),(0,Re.jsx)(yo.D,{label:t("register.form.lastName"),className:r.formCol,required:!0,children:(0,Re.jsx)(wo.p,{value:i.lastName,disabled:f,onChange:e=>c("lastName",e.target.value),required:!0})})]}),(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsx)(yo.D,{label:t("register.form.email"),className:r.formCol,required:!0,children:(0,Re.jsx)(wo.p,{type:"email",disabled:f,value:i.emailAddress,onChange:e=>c("emailAddress",e.target.value),required:!0})}),(0,Re.jsx)(yo.D,{label:t("register.form.number"),className:r.formCol,required:!0,children:(0,Re.jsx)(wo.p,{type:"tel",disabled:f,value:i.phoneNumber,onChange:e=>c("phoneNumber",e.target.value)})})]}),(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsx)(yo.D,{label:t("register.form.location"),className:r.formCol,required:!0,children:(0,Re.jsx)(wo.p,{value:i.location,disabled:f,onChange:e=>c("location",e.target.value)})}),(0,Re.jsx)(Ro,{selectedGenderId:i.gender,isDisabled:f,onGenderChange:e=>c("gender",e)})]}),(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsx)(Lo,{labelKey:"register.form.resume",isDisabled:f,file:i.resume,onFileChange:e=>d("resume",e)}),(0,Re.jsx)(Lo,{labelKey:"register.form.coverLetter",isDisabled:f,file:i.coverLetter,onFileChange:e=>d("coverLetter",e)})]}),(0,Re.jsx)(No,{selectedVacancyId:i.vacancy,disabled:f,onVacancyChange:e=>c("vacancy",e)}),(0,Re.jsx)("div",{className:r.otherVacancy,children:(0,Re.jsx)(yo.D,{label:t("register.form.otherVacancy"),children:(0,Re.jsx)(wo.p,{value:i.otherVacancy,onChange:e=>c("otherVacancy",e.target.value)})})}),(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsx)(zo,{selectedEmploymentStatusId:i.status,isDisabled:f,onEmploymentStatusChange:e=>c("status",e)}),(0,Re.jsx)(yo.D,{label:t("register.form.expectation"),className:r.formCol,children:(0,Re.jsx)(wo.p,{type:"number",min:0,step:"any",value:null!==i.expectation&&void 0!==i.expectation?String(i.expectation):"",onChange:e=>{const t=e.target.value;c("expectation",""===t?null:parseFloat(t))}})})]}),(0,Re.jsxs)("div",{className:r.formRow,children:[(0,Re.jsxs)("div",{className:r.formCol,children:[(0,Re.jsx)(ko.J,{weight:"semibold",children:t("register.form.skillsLabel")}),(0,Re.jsx)(Oo,{skill:"dotnet",isChecked:i.skills.dotnet,onChange:u}),(0,Re.jsx)(Oo,{skill:"sql",isChecked:i.skills.sql,onChange:u}),(0,Re.jsx)(Oo,{skill:"m365",isChecked:i.skills.m365,onChange:u}),(0,Re.jsx)(Oo,{skill:"spfx",isChecked:i.skills.spfx,onChange:u}),(0,Re.jsx)(Oo,{skill:"azure",isChecked:i.skills.azure,onChange:u}),(0,Re.jsx)(Oo,{skill:"test",isChecked:i.skills.test,onChange:u})]}),(0,Re.jsxs)("div",{className:r.skills,children:[(0,Re.jsx)(Oo,{skill:"powerbi",isChecked:i.skills.powerbi,onChange:u}),(0,Re.jsx)(Oo,{skill:"powerapps",isChecked:i.skills.powerapps,onChange:u}),(0,Re.jsx)(Oo,{skill:"powerautomate",isChecked:i.skills.powerautomate,onChange:u}),(0,Re.jsx)(Oo,{skill:"doc",isChecked:i.skills.doc,onChange:u}),(0,Re.jsx)(Oo,{skill:"projmgmt",isChecked:i.skills.projmgmt,onChange:u}),(0,Re.jsx)(Oo,{skill:"sale",isChecked:i.skills.sale,onChange:u})]})]}),(0,Re.jsx)("div",{className:r.otherSkill,children:(0,Re.jsx)(yo.D,{label:t("register.form.otherSkill"),children:(0,Re.jsx)(wo.p,{value:i.skills.otherSkill,onChange:e=>l((t=>(0,a.A)((0,a.A)({},t),{},{skills:(0,a.A)((0,a.A)({},t.skills),{},{otherSkill:e.target.value})}))),placeholder:t("register.form.otherSkillPlaceholder")})})}),(0,Re.jsx)("div",{className:r.chkAgree,children:(0,Re.jsx)(xo.S,{checked:i.agree,onChange:(e,t)=>c("agree",!!t.checked),required:!0,label:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:t("register.form.agree")}})})}),(0,Re.jsx)("div",{className:r.applyContainer,children:(0,Re.jsx)(s.$,{appearance:"primary",type:"submit",disabled:f||!i.agree,children:o===Gt.A.SAVING?(0,Re.jsx)(co.y,{size:"tiny"}):t("register.form.applyNow")})}),o===Gt.A.SAVE_ERROR&&(0,Re.jsx)("div",{className:r.message,children:t("register.form.error")}),o===Gt.A.SAVE_SUCCESS&&(0,Re.jsx)("div",{className:r.message,children:t("register.form.thankYou")})]})})]})}const qo=(0,l.n)({root:{padding:0,backgroundColor:"#f5f5f5"},container:{display:"flex",flexWrap:"wrap",flexDirection:"row",justifyContent:"center",alignItems:"flex-start",gap:"40px",maxWidth:"1500px",margin:"0 auto"}});function Ho(){const{t:e}=(0,Ne.Bd)("recruitment"),t=qo();(0,Hr.R)("recruitment-hero","recruitment-main",{duration:900,easing:"quart",heroCapturePx:80,upCapturePx:300,headerOffset:0});const r=e("metaDescription"),o="/img/banners/recruitment.webp";return(0,Re.jsxs)("div",{className:t.root,children:[(0,Re.jsx)(qr.A,{title:{pageTitle:e("hero.title"),title:e("hero.title")},metaDescription:r,canonicalPath:"/jobs",openGraph:{title:e("hero.title"),description:r,image:o,url:"/jobs"}}),(0,Re.jsx)("div",{id:"recruitment-hero",children:(0,Re.jsx)(Fr.A,{title:e("hero.title"),subtitle:e("hero.description"),imageUri:o})}),(0,Re.jsxs)("div",{id:"recruitment-main",className:t.container,children:[(0,Re.jsx)(bo,{}),(0,Re.jsx)(Fo,{})]})]})}const Uo=(0,l.n)({contentWrapper:{padding:"2rem 1rem"},h2:{"& .highlight":{color:ze.n.colorLightBlue,"@media (min-width: 1024px)":{display:"inline"}}},h4:{color:"#869ab8"}});function Wo(){const{t:e}=(0,Ne.Bd)("helpdesk"),t=Uo();return(0,Re.jsxs)("div",{className:t.contentWrapper,children:[(0,Re.jsx)(Rt.E,{block:!0,as:"h2",size:800,align:"center",className:t.h2,children:(0,Re.jsx)("span",{dangerouslySetInnerHTML:{__html:e("tagline.h2")}})}),(0,Re.jsx)(Rt.E,{block:!0,as:"h4",size:500,align:"center",className:t.h4,children:e("tagline.h4")})]})}const Ko=(0,l.n)({row:{display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"1rem",marginBottom:"3rem","@media (min-width: 800px) and (max-width: 1250px)":{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"2rem",justifyItems:"center"}},cardCol:{flex:"1 1 300px",maxWidth:"350px",width:"100%",padding:"0 1rem","@media (min-width: 800px) and (max-width: 1250px)":{maxWidth:"100%",width:"100%",padding:"0"}},card:{display:"flex !important",flexDirection:"column",height:"100% !important",backgroundColor:"white !important",borderRadius:"8px !important",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1) !important"},header:{padding:"0 20px",fontSize:"1.25rem"},iconHeaderContainer:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",paddingTop:"20px",marginBottom:0},icon:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",fontSize:"2.5rem",marginBottom:"1.5rem",color:ze.n.colorLightBlue},description:{padding:"10px 20px",color:"#869ab8",textAlign:"center",width:"100%"},learnMoreLink:{marginTop:"auto !important",padding:"0 20px !important",marginBottom:"10px !important",color:ze.n.colorLightBlue,display:"inline-flex",alignItems:"center",alignSelf:"center","& svg":{marginLeft:"5px"}}}),Go=e=>{const{title:t,description:r,linkUrl:o,linkText:n,icon:i}=e,a=Ko(),s=(0,Re.jsxs)("div",{className:a.iconHeaderContainer,children:[(0,Re.jsx)("div",{className:a.icon,children:i}),(0,Re.jsx)($t.M,{className:a.header,style:{textAlign:"center",width:"100%"},children:t})]}),l=(0,Re.jsx)(Rt.E,{as:"p",size:400,className:a.description,children:r});return(0,Re.jsx)("div",{className:a.cardCol,children:(0,Re.jsxs)(er.Z,{className:a.card,children:[(0,Re.jsx)(tr.a,{header:s,description:l}),(0,Re.jsxs)(rr.N,{className:a.learnMoreLink,href:o,children:[(0,Re.jsx)(Rt.E,{children:n}),(0,Re.jsx)(or.Fqy,{})]})]})})};function Vo(){const{t:e}=(0,Ne.Bd)("helpdesk"),t=Ko();return(0,Re.jsxs)("div",{className:t.row,children:[(0,Re.jsx)(Go,{icon:(0,Re.jsx)(ir,{}),title:e("keyServices.remoteSupport.title"),description:e("keyServices.remoteSupport.description"),linkUrl:"/services/cloud",linkText:e("keyServices.remoteSupport.lnkLearnMore")}),(0,Re.jsx)(Go,{icon:(0,Re.jsx)(ar.lDv,{}),title:e("keyServices.networkMonitoring.title"),description:e("keyServices.networkMonitoring.description"),linkUrl:"/services/bps",linkText:e("keyServices.networkMonitoring.lnkLearnMore")}),(0,Re.jsx)(Go,{icon:(0,Re.jsx)(sr.uI3,{}),title:e("keyServices.securitySupport.title"),description:e("keyServices.securitySupport.description"),linkUrl:"/services/managed-security-services",linkText:e("keyServices.securitySupport.lnkLearnMore")})]})}var Yo=r(1522);const Xo=(0,l.n)({contentWrapper:{display:"flex",justifyContent:"center",position:"relative",width:"100%",minHeight:"600px",padding:"4rem 1rem",boxSizing:"border-box",flexDirection:"column-reverse","@media(min-width: 768px)":{flexDirection:"row",padding:"4rem 0"}},innerContainer:{position:"relative",display:"flex",justifyContent:"flex-end",maxWidth:"1200px",width:"100%",padding:"0 1rem",boxSizing:"border-box",flexDirection:"column","@media(min-width: 768px)":{flexDirection:"row",padding:"0 4rem"}},imgCard:{position:"relative",width:"100%",height:"300px",overflow:"hidden",borderRadius:"16px",marginBottom:"2rem","@media(min-width: 768px)":{position:"absolute",left:"1rem",width:"75%",height:"500px",marginBottom:"0"},"& img":{width:"100%",height:"100%",objectFit:"cover",transition:"opacity 500ms"}},overlay:{position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},badge:{display:"inline-block",padding:"0.4rem 0.8rem",backgroundColor:"var(--colorBrandBackground2)",color:"var(--colorBrandForeground2)",borderRadius:"20px",fontSize:"12px",fontWeight:"var(--fontWeightSemibold)",textTransform:"uppercase",letterSpacing:"0.5px"},contentCard:{position:"relative",zIndex:"10",width:"100%",backgroundColor:"var(--colorNeutralBackground1)",padding:"2.5rem",borderRadius:"16px",boxShadow:"0 8px 32px rgba(0, 0, 0, 0.12)",marginTop:"-3rem","@media(min-width: 768px)":{width:"40%",marginLeft:"-15%",marginTop:"2rem"}},details:{display:"flex",flexDirection:"column",gap:"1rem",marginTop:"1rem"},detail:{display:"flex",alignItems:"center",gap:"0.75rem"},checkIcon:{color:"var(--colorBrandForeground1)",fontWeight:"bold",fontSize:"16px",width:"16px",minWidth:"16px",maxWidth:"16px"}}),Qo=e=>{const{service:t}=e,r=Xo();return(0,Re.jsxs)("div",{className:r.detail,children:[(0,Re.jsx)(Yo.N5_,{className:r.checkIcon}),(0,Re.jsx)(Rt.E,{children:t})]})};function Zo(){const e=Xo(),{t:t}=(0,Ne.Bd)("helpdesk"),r=t("promotedImage.details",{returnObjects:!0,defaultValue:[]});return(0,Re.jsx)("div",{className:e.contentWrapper,children:(0,Re.jsxs)("div",{className:e.innerContainer,children:[(0,Re.jsxs)("div",{className:e.imgCard,children:[(0,Re.jsx)(Ut._,{src:t("promotedImage.image.src"),alt:t("promotedImage.image.altText")}),(0,Re.jsx)("div",{className:e.overlay})]}),(0,Re.jsx)(er.Z,{className:e.contentCard,children:(0,Re.jsxs)("div",{children:[t("promotedImage.title")&&(0,Re.jsx)(Rt.E,{as:"span",className:e.badge,children:t("promotedImage.header")}),(0,Re.jsx)(Rt.E,{block:!0,as:"h3",size:700,weight:"semibold",children:t("promotedImage.title")}),(0,Re.jsx)(Rt.E,{as:"p",size:300,children:t("promotedImage.description")}),(0,Re.jsx)("div",{className:e.details,children:r.map(((e,t)=>(0,Re.jsx)(Qo,{service:e},t)))})]})})]})})}const Jo=[{key:"microsoft",name:"Microsoft",height:76,width:100},{key:"webcon",name:"Webcon BPS",height:40,width:50},{key:"dell",name:"Dell Technologies",height:76,width:100},{key:"cyberessentials",name:"Cyber Essentials",height:76,width:100}],$o=(0,l.n)({contentContainer:{gridRow:"1 / -1",zIndex:2,display:"grid",placeItems:"center",textAlign:"center",padding:"2rem"},row:{display:"flex",justifyContent:"center",flexWrap:"wrap",gap:"2rem",marginBottom:"3rem",width:"100%"},title:{textTransform:"uppercase"},platform:{display:"flex",justifyContent:"center",alignItems:"center",flex:"1 1 calc(16.66% - 2rem)",maxWidth:"calc(16.66% - 2rem)","@media (max-width: 1200px)":{flex:"1 1 calc(33.33% - 2rem)",maxWidth:"calc(33.33% - 2rem)"},"@media (max-width: 768px)":{flex:"1 1 calc(50% - 2rem)",maxWidth:"calc(50% - 2rem)"},"& img":{width:"auto",maxWidth:"100%",maxHeight:"100px"}}}),en=e=>{const{platform:t}=e,r=$o(),o="img/helpdesk/platform-logos/".concat(t.key,".png");return(0,Re.jsx)("div",{className:r.platform,children:(0,Re.jsx)(fr.m,{content:t.name,relationship:"label",children:(0,Re.jsx)(Ut._,{src:o,alt:t.name,width:t.width,height:t.height})})})};function tn(){const e=$o();return(0,Re.jsx)("div",{className:e.contentContainer,children:(0,Re.jsx)("div",{className:e.row,children:Jo.map((e=>(0,Re.jsx)(en,{platform:e},e.key)))})})}const rn=(0,l.n)({root:{width:"100%",height:"100%"},heroWrapper:{width:"100%",height:"auto"},mainWrapper:{position:"relative",width:"100%"}}),on=[{src:"img/home/client-logos/woody-white.png",alt:"Woodmansterne Ltd"},{src:"img/home/client-logos/true-white.png",alt:"True"},{src:"img/home/client-logos/dctr-white.png",alt:"DCTR"},{src:"img/home/client-logos/macro-offwhite.svg",alt:"Macro Group Ltd"},{src:"img/home/client-logos/maxbarney-white.png",alt:"Max Barney Ltd"}],nn=()=>{const{t:e}=(0,Ne.Bd)("helpdesk"),t=rn(),r={text:e("hero.callToAction"),url:"/contact"};return(0,Hr.R)("home-hero","home-main",{duration:900,easing:"quart",heroCapturePx:80,upCapturePx:300,headerOffset:0}),(0,Re.jsxs)("div",{className:t.root,children:[(0,Re.jsx)(qr.A,{}),(0,Re.jsx)("div",{id:"home-hero",className:t.heroWrapper,children:(0,Re.jsx)(Fr.A,{title:e("hero.title"),subtitle:e("hero.description"),cta:r,videoUri:"/video/top-banner-video-h264.mp4",videoPreviewUri:"/video/top-banner-video-preview.webp",clientLogos:on,showScrollHint:!1,scrollTargetId:"home-main"})}),(0,Re.jsxs)("div",{id:"home-main",className:t.mainWrapper,children:[(0,Re.jsx)(Wo,{}),(0,Re.jsx)(Vo,{}),(0,Re.jsx)(tn,{}),(0,Re.jsx)(Zo,{}),(0,Re.jsx)(jr,{})]})]})},an=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(257),r.e(297),r.e(501)]).then(r.bind(r,514)))),sn=(0,e.lazy)((()=>r.e(462).then(r.bind(r,7085)))),ln=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(313),r.e(257),r.e(963)]).then(r.bind(r,5377)))),cn=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(323),r.e(620)]).then(r.bind(r,6802)))),un=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(323),r.e(620)]).then(r.bind(r,7801)))),dn=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(940)]).then(r.bind(r,5155)))),fn=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(940)]).then(r.bind(r,1831)))),hn=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(313),r.e(410)]).then(r.bind(r,3524)))),pn=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(313),r.e(257),r.e(963)]).then(r.bind(r,3455)))),gn=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(195)]).then(r.bind(r,6670)))),mn=(0,e.lazy)((()=>Promise.all([r.e(360),r.e(195)]).then(r.bind(r,1002)))),vn=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(313),r.e(257),r.e(963)]).then(r.bind(r,8363)))),bn=(0,e.lazy)((()=>r.e(761).then(r.bind(r,3185)))),yn=(0,e.lazy)((()=>Promise.all([r.e(323),r.e(313),r.e(257),r.e(963)]).then(r.bind(r,142)))),wn=(0,e.lazy)((()=>r.e(907).then(r.bind(r,5718))));function kn(e){return(0,Re.jsx)(i.qh,(0,a.A)((0,a.A)({},e),{},{element:(0,Re.jsx)(uo,{component:e.element})}))}const xn=()=>{const t=(0,i.zy)().pathname.startsWith("/administration"),r="true"==="false".toLowerCase();return(0,Re.jsxs)("div",{className:"app-container",children:[!t&&(0,Re.jsx)(Qt,{}),(0,Re.jsx)("main",{children:(0,Re.jsx)(e.Suspense,{fallback:(0,Re.jsx)(fo.A,{}),children:(0,Re.jsxs)(i.BV,{children:[(0,Re.jsx)(i.qh,{path:"/",element:r?(0,Re.jsx)(nn,{}):(0,Re.jsx)(Vr,{})}),kn({path:"/preview/:id",element:(0,Re.jsx)(mn,{})}),kn({path:"/:area/:slug",element:(0,Re.jsx)(gn,{})}),kn({path:"/blog",element:(0,Re.jsx)(cn,{})}),kn({path:"/blogs",element:(0,Re.jsx)(cn,{})}),kn({path:"/blog/:slug",element:(0,Re.jsx)(un,{})}),kn({path:"/casestudies",element:(0,Re.jsx)(dn,{})}),kn({path:"/casestudy/:slug",element:(0,Re.jsx)(fn,{})}),kn({path:"/contact",element:(0,Re.jsx)(hn,{})}),kn({path:"/awards",element:(0,Re.jsx)(ln,{})}),kn({path:"/partners",element:(0,Re.jsx)(vn,{})}),kn({path:"/ourstory",element:(0,Re.jsx)(pn,{})}),kn({path:"/jobs",element:(0,Re.jsx)(Ho,{})}),kn({path:"/testimonials",element:(0,Re.jsx)(yn,{})}),kn({path:"/sustainability",element:(0,Re.jsx)(bn,{})}),kn({path:"/unsubscribe",element:(0,Re.jsx)(wn,{})}),kn({path:"/legal/*",element:(0,Re.jsx)(sn,{})}),kn({path:"/administration/*",element:(0,Re.jsx)(an,{})}),(0,Re.jsx)(i.qh,{path:"*",element:(0,Re.jsx)(ho.A,{})})]})})}),!t&&(0,Re.jsx)(lo,{})]})};function Cn(){const{pathname:t}=(0,i.zy)();return(0,e.useEffect)((()=>window.scrollTo({top:0,left:0,behavior:"smooth"})),[t]),null}var Sn=r(3279);function _n(t){const{children:r}=t;return function(){const t=(0,i.zy)();(0,e.useEffect)((()=>{window._gaInitialized&&(Sn.Ay.send({hitType:"pageview",page:t.pathname}),console.log("Page tracked:",t.pathname))}),[t])}(),(0,Re.jsx)(Re.Fragment,{children:r})}var An=r(5489),Tn=r.n(An),En=function(e){var t=e.condition,r=e.wrapper,o=e.children;return t?r(o):o};function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Bn.apply(this,arguments)}function In(e,t){return In=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},In(e,t)}var Nn,Pn,Rn="top",On="bottom";(Pn=Nn||(Nn={})).STRICT="strict",Pn.LAX="lax",Pn.NONE="none";var jn="hidden",zn="byCookieValue",Mn="CookieConsent",Ln=["children"],Dn={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:On,visible:zn,onAccept:function(e){},onDecline:function(){},cookieName:Mn,cookieValue:"true",declineCookieValue:"false",setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:Nn.LAX,ButtonComponent:function(t){var r=t.children,o=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||(n[r]=e[r]);return n}(t,Ln);return e.createElement("button",Object.assign({},o),r)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{},customDeclineButtonProps:{},customButtonWrapperAttributes:{},style:{},buttonStyle:{},declineButtonStyle:{},contentStyle:{},overlayStyle:{}},Fn={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},qn=function(e){return e+"-legacy"},Hn=function(t){var r,o;function n(){var e;return(e=t.apply(this,arguments)||this).state=Fn,e.handleScroll=function(){var t=Bn({},Dn,e.props).acceptOnScrollPercentage,r=document.documentElement,o=document.body,n="scrollTop",i="scrollHeight";(r[n]||o[n])/((r[i]||o[i])-r.clientHeight)*100>t&&e.accept(!0)},e.removeScrollListener=function(){e.props.acceptOnScroll&&window.removeEventListener("scroll",e.handleScroll)},e}o=t,(r=n).prototype=Object.create(o.prototype),r.prototype.constructor=r,In(r,o);var i=n.prototype;return i.componentDidMount=function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))},i.componentWillUnmount=function(){this.removeScrollListener()},i.accept=function(e){var t;void 0===e&&(e=!1);var r=Bn({},Dn,this.props),o=r.cookieName,n=r.cookieValue,i=r.hideOnAccept,a=r.onAccept;this.setCookie(o,n),a(null!=(t=e)&&t),i&&(this.setState({visible:!1}),this.removeScrollListener())},i.overlayClick=function(){var e=Bn({},Dn,this.props),t=e.acceptOnOverlayClick,r=e.onOverlayClick;t&&this.accept(),r()},i.decline=function(){var e=Bn({},Dn,this.props),t=e.cookieName,r=e.declineCookieValue,o=e.hideOnDecline,n=e.onDecline;e.setDeclineCookie&&this.setCookie(t,r),n(),o&&this.setState({visible:!1})},i.setCookie=function(e,t){var r=this.props,o=r.extraCookieOptions,n=r.expires,i=r.sameSite,a=this.props.cookieSecurity;void 0===a&&(a=!window.location||"https:"===window.location.protocol);var s=Bn({expires:n},o,{sameSite:i,secure:a});i===Nn.NONE&&Tn().set(qn(e),t,s),Tn().set(e,t,s)},i.getCookieValue=function(){return function(e){void 0===e&&(e=Mn);var t=Tn().get(e);return void 0===t?Tn().get(qn(e)):t}(this.props.cookieName)},i.render=function(){var t=this;switch(this.props.visible){case jn:return null;case zn:if(!this.state.visible)return null}var r=this.props,o=r.location,n=r.style,i=r.buttonStyle,a=r.declineButtonStyle,s=r.contentStyle,l=r.disableStyles,c=r.buttonText,u=r.declineButtonText,d=r.containerClasses,f=r.contentClasses,h=r.buttonClasses,p=r.buttonWrapperClasses,g=r.declineButtonClasses,m=r.buttonId,v=r.declineButtonId,b=r.disableButtonStyles,y=r.enableDeclineButton,w=r.flipButtons,k=r.ButtonComponent,x=r.overlay,C=r.overlayClasses,S=r.overlayStyle,_=r.ariaAcceptLabel,A=r.ariaDeclineLabel,T=r.customContainerAttributes,E=r.customContentAttributes,B=r.customButtonProps,I=r.customDeclineButtonProps,N=r.customButtonWrapperAttributes,P={},R={},O={},j={},z={};switch(l?(P=Object.assign({},n),R=Object.assign({},i),O=Object.assign({},a),j=Object.assign({},s),z=Object.assign({},S)):(P=Object.assign({},Bn({},this.state.style,n)),j=Object.assign({},Bn({},this.state.contentStyle,s)),z=Object.assign({},Bn({},this.state.overlayStyle,S)),b?(R=Object.assign({},i),O=Object.assign({},a)):(R=Object.assign({},Bn({},this.state.buttonStyle,i)),O=Object.assign({},Bn({},this.state.declineButtonStyle,a)))),o){case Rn:P.top="0";break;case On:P.bottom="0"}var M=[];return y&&M.push(e.createElement(k,Object.assign({key:"declineButton",style:O,className:g,id:v,"aria-label":A,onClick:function(){t.decline()}},I),u)),M.push(e.createElement(k,Object.assign({key:"acceptButton",style:R,className:h,id:m,"aria-label":_,onClick:function(){t.accept()}},B),c)),w&&M.reverse(),e.createElement(En,{condition:x,wrapper:function(r){return e.createElement("div",{style:z,className:C,onClick:function(){t.overlayClick()}},r)}},e.createElement("div",Object.assign({className:""+d,style:P},T),e.createElement("div",Object.assign({style:j,className:f},E),this.props.children),e.createElement("div",Object.assign({className:""+p},N),M.map((function(e){return e})))))},n}(e.Component);Hn.defaultProps=Dn;const Un=Hn,Wn=(0,l.n)({container:{alignItems:"center !important",backgroundColor:"".concat(ze.n.colorDarkBlue," !important")},text:{margin:0,"& a":{color:"white !important",textDecoration:"underline !important"}},acceptButton:{backgroundColor:"white !important",color:"".concat(ze.n.colorDarkBlue," !important"),padding:"10px 20px !important",borderRadius:"5px !important","@media (min-width: 436px)":{display:"block !important",margin:".75rem auto 0 auto !important",transform:"translateX(-8px) !important"}},declineButton:{display:"none !important"}});function Kn(){const{t:e}=(0,Ne.Bd)("general"),t=Wn();return(0,Re.jsxs)(Un,{enableDeclineButton:!0,flipButtons:!0,location:"bottom",buttonText:"Close",expires:5,cookieName:"user_cookie_consent",containerClasses:t.container,buttonClasses:t.acceptButton,acceptOnScroll:!0,declineButtonClasses:t.declineButton,children:[(0,Re.jsx)(Rt.E,{block:!0,as:"p",size:400,className:t.text,children:e("cookies.text1")}),(0,Re.jsx)(Rt.E,{block:!0,as:"p",size:400,className:t.text,children:e("cookies.text2")})]})}function Gn(){return(0,e.useEffect)((()=>{window._gaInitialized||(Sn.Ay.gtag("consent","default",{ad_storage:"granted",ad_user_data:"granted",ad_personalization:"granted",analytics_storage:"granted"}),Sn.Ay.initialize("G-TF9LYG1XQ1"),window._gaInitialized=!0,window._gaConsentGiven=!0,window.ReactGA=Sn.Ay,Sn.Ay.send({hitType:"pageview",page:window.location.pathname}))}),[]),null}var Vn=r(6676),Yn=r(8866),Xn=r(2678);const Qn=()=>{const{getId:t,getUser:r}=(0,Yn.s)(),o=(0,i.zy)(),n=(0,e.useRef)(!1),a=t(),s=r();return(0,e.useEffect)((()=>{(async()=>{if("/unsubscribe"!==o.pathname&&a&&s&&!n.current){n.current=!0;try{const e={};a&&(e.id=a),s&&(e.user=s),e.pageSource=o.pathname,await Xn.A.sendVisitor(e)}catch(e){n.current=!1}}})()}),[a,s,o.pathname]),null};function Zn(){return(0,Re.jsx)(Vn.D,{children:(0,Re.jsxs)(i.Kd,{children:[(0,Re.jsx)(Cn,{}),(0,Re.jsx)(Qn,{}),(0,Re.jsx)(Kn,{}),(0,Re.jsx)(Gn,{}),(0,Re.jsx)(_n,{children:(0,Re.jsx)(xn,{})})]})})}var Jn=r(9853),$n=r(3895);const ei=e.createContext(void 0),ti=ei.Provider;var ri=r(6066),oi=r(7408),ni=r(3740),ii=r(7183);var ai=r(8521),si=r(5614);var li=r(9136);const ci="fui-FluentProvider",ui=(0,li.X)({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),di=t.useInsertionEffect?t.useInsertionEffect:ue.E,fi=t=>{const{targetDocument:r,theme:o,rendererAttributes:n}=t,i=e.useRef(),s=(0,ke.Bi)(ci),l=n,c=e.useMemo((()=>function(e,t){if(t){const r=Object.keys(t).reduce(((e,r)=>"".concat(e,"--").concat(r,": ").concat(t[r],"; ")),"");return"".concat(e," { ").concat(r," }")}return"".concat(e," {}")}(".".concat(s),o)),[o,s]);return function(t,r){e.useState((()=>{if(!t)return;const e=t.getElementById(r);e&&t.head.append(e)}))}(r,s),di((()=>{const e=null===r||void 0===r?void 0:r.getElementById(s);return e?i.current=e:(i.current=((e,t)=>{if(!e)return;const r=e.createElement("style");return Object.keys(t).forEach((e=>{r.setAttribute(e,t[e])})),e.head.appendChild(r),r})(r,(0,a.A)((0,a.A)({},l),{},{id:s})),i.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(i.current,c)),()=>{var e;null===(e=i.current)||void 0===e||e.remove()}}),[s,r,c,l]),{styleTagId:s,rule:c}};const hi={},pi={},gi=(t,r)=>{const o=(0,b.Y)(),n=e.useContext(ei),i=(0,ni.Pv)(),s=e.useContext(d.k7)||hi,{applyStylesToPortals:l=!0,customStyleHooks_unstable:c,dir:u=o.dir,targetDocument:f=o.targetDocument,theme:h,overrides_unstable:p={}}=t,g=mi(n,h),m=mi(i,p),y=mi(s,c),w=(0,ai.J)();var k;const{styleTagId:x,rule:C}=fi({theme:g,targetDocument:f,rendererAttributes:null!==(k=w.styleElementAttributes)&&void 0!==k?k:pi});return{applyStylesToPortals:l,customStyleHooks_unstable:y,dir:u,targetDocument:f,theme:g,overrides_unstable:m,themeClassName:x,components:{root:"div"},root:v.Gk((0,X.g)("div",(0,a.A)((0,a.A)({},t),{},{dir:u,ref:(0,de.a)(r,(0,si.Y)({targetDocument:f}))})),{elementType:"div"}),serverStyleProps:{cssRule:C,attributes:(0,a.A)((0,a.A)({},w.styleElementAttributes),{},{id:x})}}};function mi(e,t){return e&&t?(0,a.A)((0,a.A)({},e),t):e||t}const vi=e.forwardRef(((t,r)=>{const o=gi(t,r);(e=>{const t=(0,ai.J)(),r=ui({dir:e.dir,renderer:t});e.root.className=(0,S.z)(ci,e.themeClassName,r.root,e.root.className)})(o);const n=function(t){const{applyStylesToPortals:r,customStyleHooks_unstable:o,dir:n,root:i,targetDocument:a,theme:s,themeClassName:l,overrides_unstable:c}=t,u=e.useMemo((()=>({dir:n,targetDocument:a})),[n,a]),[d]=e.useState((()=>({}))),f=e.useMemo((()=>({textDirection:n})),[n]);return{customStyleHooks_unstable:o,overrides_unstable:c,provider:u,textDirection:n,iconDirection:f,tooltip:d,theme:s,themeClassName:r?i.className:l}}(o);return((e,t)=>((0,H.C)(e),(0,q.Y)(b.K,{value:t.provider,children:(0,q.Y)(ti,{value:t.theme,children:(0,q.Y)(ri.I,{value:t.themeClassName,children:(0,q.Y)(d.gH,{value:t.customStyleHooks_unstable,children:(0,q.Y)(oi.J,{value:t.tooltip,children:(0,q.Y)($n.e,{dir:t.textDirection,children:(0,q.Y)(ii.F,{value:t.iconDirection,children:(0,q.Y)(ni.Nv,{value:t.overrides_unstable,children:(0,q.FD)(e.root,{children:[(0,Jn.S)()?null:(0,q.Y)("style",(0,a.A)({dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule}},e.serverStyleProps.attributes)),e.root.children]})})})})})})})})})))(o,n)}));vi.displayName="FluentProvider";const bi={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class yi{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||bi,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,o){return o&&!this.debug?null:("string"===typeof e[0]&&(e[0]="".concat(r).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}create(e){return new yi(this.logger,(0,a.A)((0,a.A)({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new yi(this.logger,e)}}var wi=new yi;class ki{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)})),this}off(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((e=>e!==t)):delete this.observers[e])}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(this.observers[e]){[].concat(this.observers[e]).forEach((e=>{e(...r)}))}if(this.observers["*"]){[].concat(this.observers["*"]).forEach((t=>{t.apply(t,[e,...r])}))}}}function xi(){let e,t;const r=new Promise(((r,o)=>{e=r,t=o}));return r.resolve=e,r.reject=t,r}function Ci(e){return null==e?"":""+e}function Si(e,t,r){function o(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function n(){return!e||"string"===typeof e}const i="string"!==typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(n())return{};const t=o(i.shift());!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return n()?{}:{obj:e,k:o(i.shift())}}function _i(e,t,r){const{obj:o,k:n}=Si(e,t,Object);o[n]=r}function Ai(e,t){const{obj:r,k:o}=Si(e,t);if(r)return r[o]}function Ti(e,t,r){for(const o in t)"__proto__"!==o&&"constructor"!==o&&(o in e?"string"===typeof e[o]||e[o]instanceof String||"string"===typeof t[o]||t[o]instanceof String?r&&(e[o]=t[o]):Ti(e[o],t[o],r):e[o]=t[o]);return e}function Ei(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Bi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Ii(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(e=>Bi[e])):e}const Ni=[" ",",","?","!",";"];function Pi(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(r);let n=e;for(let i=0;i<o.length;++i){if(!n)return;if("string"===typeof n[o[i]]&&i+1<o.length)return;if(void 0===n[o[i]]){let e=2,a=o.slice(i,i+e).join(r),s=n[a];for(;void 0===s&&o.length>i+e;)e++,a=o.slice(i,i+e).join(r),s=n[a];if(void 0===s)return;if(null===s)return null;if(t.endsWith(a)){if("string"===typeof s)return s;if(a&&"string"===typeof s[a])return s[a]}const l=o.slice(i+e).join(r);return l?Pi(s,l,r):void 0}n=n[o[i]]}return n}function Ri(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Oi extends ki{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const n=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,i=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[e,t];r&&"string"!==typeof r&&(a=a.concat(r)),r&&"string"===typeof r&&(a=a.concat(n?r.split(n):r)),e.indexOf(".")>-1&&(a=e.split("."));const s=Ai(this.data,a);return s||!i||"string"!==typeof r?s:Pi(this.data&&this.data[e]&&this.data[e][t],r,n)}addResource(e,t,r,o){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator;let a=[e,t];r&&(a=a.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(a=e.split("."),o=t,t=a[1]),this.addNamespaces(t),_i(this.data,a,o),n.silent||this.emit("added",e,t,r,o)}addResources(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const n in r)"string"!==typeof r[n]&&"[object Array]"!==Object.prototype.toString.apply(r[n])||this.addResource(e,t,n,r[n],{silent:!0});o.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,o,n){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,t];e.indexOf(".")>-1&&(s=e.split("."),o=r,r=t,t=s[1]),this.addNamespaces(t);let l=Ai(this.data,s)||{};o?Ti(l,r,n):l=(0,a.A)((0,a.A)({},l),r),_i(this.data,s,l),i.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?(0,a.A)((0,a.A)({},{}),this.getResource(e,t)):this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var ji={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,o,n){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,r,o,n))})),t}};const zi={};class Mi extends ki{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,o;super(),r=e,o=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach((e=>{r[e]&&(o[e]=r[e])})),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=wi.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;const r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let n=t.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";const o=Ni.filter((e=>t.indexOf(e)<0&&r.indexOf(e)<0));if(0===o.length)return!0;const n=new RegExp("(".concat(o.map((e=>"?"===e?"\\?":e)).join("|"),")"));let i=!n.test(e);if(!i){const t=e.indexOf(r);t>0&&!n.test(e.substring(0,t))&&(i=!0)}return i}(e,r,o);if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n};const i=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(i[0])>-1)&&(n=i.shift()),e=i.join(o)}return"string"===typeof n&&(n=[n]),{key:e,namespaces:n}}translate(e,t,r){if("object"!==typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"===typeof t&&(t=(0,a.A)({},t)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],t),l=s[s.length-1],c=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(u){const e=t.nsSeparator||this.options.nsSeparator;return o?{res:"".concat(l).concat(e).concat(i),usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:"".concat(l).concat(e).concat(i)}return o?{res:i,usedKey:i,exactUsedKey:i,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:i}const d=this.resolve(e,t);let f=d&&d.res;const h=d&&d.usedKey||i,p=d&&d.exactUsedKey||i,g=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject;if(v&&f&&("string"!==typeof f&&"boolean"!==typeof f&&"number"!==typeof f)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0&&("string"!==typeof m||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,(0,a.A)((0,a.A)({},t),{},{ns:s})):"key '".concat(i," (").concat(this.language,")' returned an object instead of string.");return o?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(n){const e="[object Array]"===g,r=e?[]:{},o=e?p:h;for(const i in f)if(Object.prototype.hasOwnProperty.call(f,i)){const e="".concat(o).concat(n).concat(i);r[i]=this.translate(e,(0,a.A)((0,a.A)({},t),{joinArrays:!1,ns:s})),r[i]===e&&(r[i]=f[i])}f=r}}else if(v&&"string"===typeof m&&"[object Array]"===g)f=f.join(m),f&&(f=this.extendTranslation(f,e,t,r));else{let o=!1,s=!1;const u=void 0!==t.count&&"string"!==typeof t.count,h=Mi.hasDefaultValue(t),p=u?this.pluralResolver.getSuffix(c,t.count,t):"",g=t.ordinal&&u?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",m=t["defaultValue".concat(p)]||t["defaultValue".concat(g)]||t.defaultValue;!this.isValidLookup(f)&&h&&(o=!0,f=m),this.isValidLookup(f)||(s=!0,f=i);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:f,b=h&&m!==f&&this.options.updateMissing;if(s||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,l,i,b?m:f),n){const e=this.resolve(i,(0,a.A)((0,a.A)({},t),{},{keySeparator:!1}));e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const o=(e,r,o)=>{const n=h&&o!==f?o:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,r,n,b,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,r,n,b,t),this.emit("missingKey",e,l,r,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach((e=>{this.pluralResolver.getSuffixes(e,t).forEach((r=>{o([e],i+r,t["defaultValue".concat(r)]||m)}))})):o(e,i,m))}f=this.extendTranslation(f,e,t,d,r),s&&f===i&&this.options.appendNamespaceToMissingKey&&(f="".concat(l,":").concat(i)),(s||o)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(i):i,o?f:void 0):this.options.parseMissingKeyHandler(f))}return o?(d.res=f,d.usedParams=this.getUsedParamsDetails(t),d):f}extendTranslation(e,t,r,o,n){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,(0,a.A)((0,a.A)({},this.options.interpolation.defaultVariables),r),r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init((0,a.A)((0,a.A)({},r),{interpolation:(0,a.A)((0,a.A)({},this.options.interpolation),r.interpolation)}));const s="string"===typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(s){const t=e.match(this.interpolator.nestingRegexp);l=t&&t.length}let c=r.replace&&"string"!==typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(c=(0,a.A)((0,a.A)({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,r.lng||this.language,r),s){const t=e.match(this.interpolator.nestingRegexp);l<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&o&&o.res&&(r.lng=o.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return n&&n[0]===o[0]&&!r.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(o[0]," in key: ").concat(t[0])),null):i.translate(...o,t)}),r)),r.interpolation&&this.interpolator.reset()}const s=r.postProcess||this.options.postProcess,l="string"===typeof s?[s]:s;return void 0!==e&&null!==e&&l&&l.length&&!1!==r.applyPostProcessor&&(e=ji.handle(l,e,t,this.options&&this.options.postProcessPassResolved?(0,a.A)({i18nResolved:(0,a.A)((0,a.A)({},o),{},{usedParams:this.getUsedParamsDetails(r)})},r):r,this)),e}resolve(e){let t,r,o,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const s=this.extractFromKey(e,a),l=s.key;r=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!==typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),f=void 0!==a.context&&("string"===typeof a.context||"number"===typeof a.context)&&""!==a.context,h=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach((e=>{this.isValidLookup(t)||(i=e,!zi["".concat(h[0],"-").concat(e)]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(zi["".concat(h[0],"-").concat(e)]=!0,this.logger.warn('key "'.concat(r,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((r=>{if(this.isValidLookup(t))return;n=r;const i=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,r,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(r,a.count,a));const t="".concat(this.options.pluralSeparator,"zero"),o="".concat(this.options.pluralSeparator,"ordinal").concat(this.options.pluralSeparator);if(u&&(i.push(l+e),a.ordinal&&0===e.indexOf(o)&&i.push(l+e.replace(o,this.options.pluralSeparator)),d&&i.push(l+t)),f){const r="".concat(l).concat(this.options.contextSeparator).concat(a.context);i.push(r),u&&(i.push(r+e),a.ordinal&&0===e.indexOf(o)&&i.push(r+e.replace(o,this.options.pluralSeparator)),d&&i.push(r+t))}}let s;for(;s=i.pop();)this.isValidLookup(t)||(o=s,t=this.getResource(r,e,s,a))})))}))})),{res:t,usedKey:r,exactUsedKey:o,usedLng:n,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,o):this.resourceStore.getResource(e,t,r,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&"string"!==typeof e.replace;let o=r?e.replace:e;if(r&&"undefined"!==typeof e.count&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o=(0,a.A)((0,a.A)({},this.options.interpolation.defaultVariables),o)),!r){o=(0,a.A)({},o);for(const e of t)delete o[e]}return o}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,12)&&void 0!==e[r])return!0;return!1}}function Li(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Di{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wi.create("languageUtils")}getScriptPartFromCode(e){if(!(e=Ri(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=Ri(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"===typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let r=e.split("-");return this.options.lowerCaseLng?r=r.map((e=>e.toLowerCase())):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=Li(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=Li(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=Li(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const r=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(r)||(t=r)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find((e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:0===e.indexOf(r)?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],n=e=>{e&&(this.isSupportedCode(e)?o.push(e):this.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&n(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&n(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&n(this.getLanguagePartFromCode(e))):"string"===typeof e&&n(this.formatLanguageCode(e)),r.forEach((e=>{o.indexOf(e)<0&&n(this.formatLanguageCode(e))})),o}}let Fi=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],qi={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const Hi=["v1","v2","v3"],Ui=["v4"],Wi={zero:0,one:1,two:2,few:3,many:4,other:5};class Ki{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=wi.create("pluralResolver"),this.options.compatibilityJSON&&!Ui.includes(this.options.compatibilityJSON)||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return Fi.forEach((t=>{t.lngs.forEach((r=>{e[r]={numbers:t.nr,plurals:qi[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Ri(e),{type:t.ordinal?"ordinal":"cardinal"})}catch(r){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map((e=>"".concat(t).concat(e)))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort(((e,t)=>Wi[e]-Wi[t])).map((e=>"".concat(this.options.prepend).concat(t.ordinal?"ordinal".concat(this.options.prepend):"").concat(e))):r.numbers.map((r=>this.getSuffix(e,r,t))):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,r);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.ordinal?"ordinal".concat(this.options.prepend):"").concat(o.select(t)):this.getSuffixRetroCompatible(o,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}getSuffixRetroCompatible(e,t){const r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const n=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"===typeof o?"_plural_".concat(o.toString()):n():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?n():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Hi.includes(this.options.compatibilityJSON)}}function Gi(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(e,t,r){const o=Ai(e,r);return void 0!==o?o:Ai(t,r)}(e,t,r);return!i&&n&&"string"===typeof r&&(i=Pi(e,r,o),void 0===i&&(i=Pi(t,r,o))),i}class Vi{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=wi.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Ii,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Ei(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Ei(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Ei(t.nestingPrefix):t.nestingPrefixEscaped||Ei("$t("),this.nestingSuffix=t.nestingSuffix?Ei(t.nestingSuffix):t.nestingSuffixEscaped||Ei(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");const t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");const r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}interpolate(e,t,r,o){let n,i,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}const u=e=>{if(e.indexOf(this.formatSeparator)<0){const n=Gi(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,(0,a.A)((0,a.A)((0,a.A)({},o),t),{},{interpolationkey:e})):n}const n=e.split(this.formatSeparator),i=n.shift().trim(),s=n.join(this.formatSeparator).trim();return this.format(Gi(t,l,i,this.options.keySeparator,this.options.ignoreJSONStructure),s,r,(0,a.A)((0,a.A)((0,a.A)({},o),t),{},{interpolationkey:i}))};this.resetRegExp();const d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>c(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?c(this.escape(e)):c(e)}].forEach((t=>{for(s=0;n=t.regex.exec(e);){const r=n[1].trim();if(i=u(r),void 0===i)if("function"===typeof d){const t=d(e,n,o);i="string"===typeof t?t:""}else if(o&&Object.prototype.hasOwnProperty.call(o,r))i="";else{if(f){i=n[0];continue}this.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(e)),i=""}else"string"===typeof i||this.useRawValueToEscape||(i=Ci(i));const a=t.safeValue(i);if(e=e.replace(n[0],a),f?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=n[0].length):t.regex.lastIndex=0,s++,s>=this.maxReplaces)break}})),e}nest(e,t){let r,o,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(e,t){const r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;const o=e.split(new RegExp("".concat(r,"[ ]*{")));let i="{".concat(o[1]);e=o[0],i=this.interpolate(i,n);const s=i.match(/'/g),l=i.match(/"/g);(s&&s.length%2===0&&!l||l.length%2!==0)&&(i=i.replace(/'/g,'"'));try{n=JSON.parse(i),t&&(n=(0,a.A)((0,a.A)({},t),n))}catch(c){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),c),"".concat(e).concat(r).concat(i)}return delete n.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){let l=[];n=(0,a.A)({},i),n=n.replace&&"string"!==typeof n.replace?n.replace:n,n.applyPostProcessor=!1,delete n.defaultValue;let c=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const e=r[1].split(this.formatSeparator).map((e=>e.trim()));r[1]=e.shift(),l=e,c=!0}if(o=t(s.call(this,r[1].trim(),n),n),o&&r[0]===e&&"string"!==typeof o)return o;"string"!==typeof o&&(o=Ci(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),o=""),c&&(o=l.reduce(((e,t)=>this.format(e,t,i.lng,(0,a.A)((0,a.A)({},i),{},{interpolationkey:r[1].trim()}))),o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}function Yi(e){const t={};return function(r,o,n){const i=o+JSON.stringify(n);let a=t[i];return a||(a=e(Ri(o),n),t[i]=a),a(r)}}class Xi{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=wi.create("formatter"),this.options=e,this.formats={number:Yi(((e,t)=>{const r=new Intl.NumberFormat(e,(0,a.A)({},t));return e=>r.format(e)})),currency:Yi(((e,t)=>{const r=new Intl.NumberFormat(e,(0,a.A)((0,a.A)({},t),{},{style:"currency"}));return e=>r.format(e)})),datetime:Yi(((e,t)=>{const r=new Intl.DateTimeFormat(e,(0,a.A)({},t));return e=>r.format(e)})),relativetime:Yi(((e,t)=>{const r=new Intl.RelativeTimeFormat(e,(0,a.A)({},t));return e=>r.format(e,t.range||"day")})),list:Yi(((e,t)=>{const r=new Intl.ListFormat(e,(0,a.A)({},t));return e=>r.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Yi(t)}format(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:n,formatOptions:i}=function(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const n=o[1].substring(0,o[1].length-1);"currency"===t&&n.indexOf(":")<0?r.currency||(r.currency=n.trim()):"relativetime"===t&&n.indexOf(":")<0?r.range||(r.range=n.trim()):n.split(";").forEach((e=>{if(!e)return;const[t,...o]=e.split(":"),n=o.join(":").trim().replace(/^'+|'+$/g,"");r[t.trim()]||(r[t.trim()]=n),"false"===n&&(r[t.trim()]=!1),"true"===n&&(r[t.trim()]=!0),isNaN(n)||(r[t.trim()]=parseInt(n,10))}))}return{formatName:t,formatOptions:r}}(t);if(this.formats[n]){let t=e;try{const s=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},l=s.locale||s.lng||o.locale||o.lng||r;t=this.formats[n](e,l,(0,a.A)((0,a.A)((0,a.A)({},i),o),s))}catch(s){this.logger.warn(s)}return t}return this.logger.warn("there was no format function for ".concat(n)),e}),e)}}class Qi extends ki{constructor(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=wi.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,o.backend,o)}queueLoad(e,t,r,o){const n={},i={},a={},s={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const a="".concat(e,"|").concat(t);!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,o=!1,void 0===i[a]&&(i[a]=!0),void 0===n[a]&&(n[a]=!0),void 0===s[t]&&(s[t]=!0)))})),o||(a[e]=!0)})),(Object.keys(n).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(n),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){const o=e.split("|"),n=o[0],i=o[1];t&&this.emit("failedLoading",n,i,t),r&&this.store.addResourceBundle(n,i,r),this.state[e]=t?-1:2;const a={};this.queue.forEach((r=>{!function(e,t,r,o){const{obj:n,k:i}=Si(e,t,Object);n[i]=n[i]||[],o&&(n[i]=n[i].concat(r)),o||n[i].push(r)}(r.loaded,[n],i),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach((e=>{a[e]||(a[e]={});const t=r.loaded[e];t.length&&t.forEach((t=>{void 0===a[e][t]&&(a[e][t]=!0)}))})),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((e=>!e.done))}read(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:o,wait:n,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}a&&s&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,r,o+1,2*n,i)}),n):i(a,s)},s=this.backend[r].bind(this.backend);if(2!==s.length)return s(e,t,a);try{const r=s(e,t);r&&"function"===typeof r.then?r.then((e=>a(null,e))).catch(a):a(null,r)}catch(l){a(l)}}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);const n=this.queueLoad(e,t,r,o);if(!n.toLoad.length)return n.pending.length||o(),null;n.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=e.split("|"),o=r[0],n=r[1];this.read(o,n,"read",void 0,void 0,((r,i)=>{r&&this.logger.warn("".concat(t,"loading namespace ").concat(n," for language ").concat(o," failed"),r),!r&&i&&this.logger.log("".concat(t,"loaded namespace ").concat(n," for language ").concat(o),i),this.loaded(e,r,i)}))}saveMissing(e,t,r,o,n){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(void 0!==r&&null!==r&&""!==r){if(this.backend&&this.backend.create){const c=(0,a.A)((0,a.A)({},i),{},{isUpdate:n}),u=this.backend.create.bind(this.backend);if(u.length<6)try{let n;n=5===u.length?u(e,t,r,o,c):u(e,t,r,o),n&&"function"===typeof n.then?n.then((e=>s(null,e))).catch(s):s(null,n)}catch(l){s(l)}else u(e,t,r,o,s,c)}e&&e[0]&&this.store.addResource(e[0],t,r,o)}}}function Zi(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"===typeof e[1]&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===typeof e[2]||"object"===typeof e[3]){const r=e[3]||e[2];Object.keys(r).forEach((e=>{t[e]=r[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ji(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function $i(){}class ea extends ki{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=Ji(e),this.services={},this.logger=wi,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((e=>{"function"===typeof r[e]&&(r[e]=r[e].bind(r))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const o=Zi();function n(e){return e?"function"===typeof e?new e:e:null}if(this.options=(0,a.A)((0,a.A)((0,a.A)({},o),this.options),Ji(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=(0,a.A)((0,a.A)({},o.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?wi.init(n(this.modules.logger),this.options):wi.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!==typeof Intl&&(t=Xi);const r=new Di(this.options);this.store=new Oi(this.options.resources,this.options);const i=this.services;i.logger=wi,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new Ki(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(i.formatter=n(t),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new Vi(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Qi(n(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];e.emit(t,...o)})),this.modules.languageDetector&&(i.languageDetector=n(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=n(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Mi(this.services,this.options),this.translator.on("*",(function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,r||(r=$i),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const i=xi(),s=()=>{const e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),i}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$i;const r="string"===typeof e?e:this.language;if("function"===typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],o=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(r)o(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>o(e)))}this.options.preload&&this.options.preload.forEach((e=>o(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,r){const o=xi();return e||(e=this.languages),t||(t=this.options.ns),r||(r=$i),this.services.backendConnector.reload(e,t,(e=>{o.resolve(),r(e)})),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&ji.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;const o=xi();this.emit("languageChanging",e);const n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(n(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,o.resolve((function(){return r.t(...arguments)})),t&&t(e,(function(){return r.t(...arguments)}))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const r="string"===typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||n(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,(e=>{i(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),o}getFixedT(e,t,r){var o=this;const n=function(e,t){let i;if("object"!==typeof t){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];i=o.options.overloadTranslationOptionHandler([e,t].concat(l))}else i=(0,a.A)({},t);i.lng=i.lng||n.lng,i.lngs=i.lngs||n.lngs,i.ns=i.ns||n.ns,i.keyPrefix=i.keyPrefix||r||n.keyPrefix;const u=o.options.keySeparator||".";let d;return d=i.keyPrefix&&Array.isArray(e)?e.map((e=>"".concat(i.keyPrefix).concat(u).concat(e))):i.keyPrefix?"".concat(i.keyPrefix).concat(u).concat(e):e,o.t(d,i)};return"string"===typeof e?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=r,n}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,n=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const i=(e,t)=>{const r=this.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===r||2===r};if(t.precheck){const e=t.precheck(this,i);if(void 0!==e)return e}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(r,e)||o&&!i(n,e)))}loadNamespaces(e,t){const r=xi();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=xi();"string"===typeof e&&(e=[e]);const o=this.options.preload||[],n=e.filter((e=>o.indexOf(e)<0));return n.length?(this.options.preload=o.concat(n),this.loadResources((e=>{r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Di(Zi());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new ea(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$i;const r=e.forkResourceStore;r&&delete e.forkResourceStore;const o=(0,a.A)((0,a.A)((0,a.A)({},this.options),e),{isClone:!0}),n=new ea(o);void 0===e.debug&&void 0===e.prefix||(n.logger=n.logger.clone(e));return["store","services","language"].forEach((e=>{n[e]=this[e]})),n.services=(0,a.A)({},this.services),n.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},r&&(n.store=new Oi(this.store.data,o),n.services.resourceStore=n.store),n.translator=new Mi(n.services,o),n.translator.on("*",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n.emit(e,...r)})),n.init(o,t),n.translator.options=o,n.translator.backendConnector.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},n}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const ta=ea.createInstance();ta.createInstance=ea.createInstance;ta.createInstance,ta.dir,ta.init,ta.loadResources,ta.reloadResources,ta.use,ta.changeLanguage,ta.getFixedT,ta.t,ta.exists,ta.setDefaultNamespace,ta.hasLoadedNamespace,ta.loadNamespaces,ta.loadLanguages;function ra(e){return ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ra(e)}function oa(){return"function"===typeof XMLHttpRequest||"object"===("undefined"===typeof XMLHttpRequest?"undefined":ra(XMLHttpRequest))}function na(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function ia(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?na(Object(r),!0).forEach((function(t){aa(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):na(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function aa(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=sa(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=sa(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sa(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sa(e)}var la,ca,ua="function"===typeof fetch?fetch:void 0;if("undefined"!==typeof global&&global.fetch?ua=global.fetch:"undefined"!==typeof window&&window.fetch&&(ua=window.fetch),oa()&&("undefined"!==typeof global&&global.XMLHttpRequest?la=global.XMLHttpRequest:"undefined"!==typeof window&&window.XMLHttpRequest&&(la=window.XMLHttpRequest)),"function"===typeof ActiveXObject&&("undefined"!==typeof global&&global.ActiveXObject?ca=global.ActiveXObject:"undefined"!==typeof window&&window.ActiveXObject&&(ca=window.ActiveXObject)),"function"!==typeof ua&&(ua=void 0),!ua&&!la&&!ca)try{r.e(38).then(r.t.bind(r,9038,19)).then((function(e){ua=e.default})).catch((function(){}))}catch(Ca){}var da=function(e,t){if(t&&"object"===sa(t)){var r="";for(var o in t)r+="&"+encodeURIComponent(o)+"="+encodeURIComponent(t[o]);if(!r)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+r.slice(1)}return e},fa=function(e,t,r,o){var n=function(e){if(!e.ok)return r(e.statusText||"Error",{status:e.status});e.text().then((function(t){r(null,{status:e.status,data:t})})).catch(r)};if(o){var i=o(e,t);if(i instanceof Promise)return void i.then(n).catch(r)}"function"===typeof fetch?fetch(e,t).then(n).catch(r):ua(e,t).then(n).catch(r)},ha=!1;const pa=function(e,t,r,o){return"function"===typeof r&&(o=r,r=void 0),o=o||function(){},ua&&0!==t.indexOf("file:")?function(e,t,r,o){e.queryStringParams&&(t=da(t,e.queryStringParams));var n=ia({},"function"===typeof e.customHeaders?e.customHeaders():e.customHeaders);"undefined"===typeof window&&"undefined"!==typeof global&&"undefined"!==typeof global.process&&global.process.versions&&global.process.versions.node&&(n["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(n["Content-Type"]="application/json");var i="function"===typeof e.requestOptions?e.requestOptions(r):e.requestOptions,a=ia({method:r?"POST":"GET",body:r?e.stringify(r):void 0,headers:n},ha?{}:i),s="function"===typeof e.alternateFetch&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{fa(t,a,o,s)}catch(Ca){if(!i||0===Object.keys(i).length||!Ca.message||Ca.message.indexOf("not implemented")<0)return o(Ca);try{Object.keys(i).forEach((function(e){delete a[e]})),fa(t,a,o,s),ha=!0}catch(l){o(l)}}}(e,t,r,o):oa()||"function"===typeof ActiveXObject?function(e,t,r,o){r&&"object"===sa(r)&&(r=da("",r).slice(1)),e.queryStringParams&&(t=da(t,e.queryStringParams));try{var n=la?new la:new ca("MSXML2.XMLHTTP.3.0");n.open(r?"POST":"GET",t,1),e.crossDomain||n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.withCredentials=!!e.withCredentials,r&&n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.overrideMimeType&&n.overrideMimeType("application/json");var i=e.customHeaders;if(i="function"===typeof i?i():i)for(var a in i)n.setRequestHeader(a,i[a]);n.onreadystatechange=function(){n.readyState>3&&o(n.status>=400?n.statusText:null,{status:n.status,data:n.responseText})},n.send(r)}catch(Ca){console&&console.log(Ca)}}(e,t,r,o):void o(new Error("No fetch and no xhr implementation found!"))};function ga(e){return ga="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ga(e)}function ma(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function va(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(r),!0).forEach((function(t){ya(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ma(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ba(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,wa(o.key),o)}}function ya(e,t,r){return(t=wa(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){var t=function(e,t){if("object"!=ga(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=ga(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ga(t)?t:t+""}var ka=function(){return e=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.services=t,this.options=r,this.allOptions=o,this.type="backend",this.init(t,r,o)},t=[{key:"init",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.services=e,this.options=va(va(va({},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,r){return ya({},t,r||"")},parseLoadPayload:function(e,t){},request:pa,reloadInterval:"undefined"===typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}),this.options||{}),r),this.allOptions=o,this.services&&this.options.reloadInterval){var n=setInterval((function(){return t.reload()}),this.options.reloadInterval);"object"===ga(n)&&"function"===typeof n.unref&&n.unref()}}},{key:"readMulti",value:function(e,t,r){this._readAny(e,e,t,t,r)}},{key:"read",value:function(e,t,r){this._readAny([e],e,[t],t,r)}},{key:"_readAny",value:function(e,t,r,o,n){var i,a=this,s=this.options.loadPath;"function"===typeof this.options.loadPath&&(s=this.options.loadPath(e,r)),(s=function(e){return!!e&&"function"===typeof e.then}(i=s)?i:Promise.resolve(i)).then((function(i){if(!i)return n(null,{});var s=a.services.interpolator.interpolate(i,{lng:e.join("+"),ns:r.join("+")});a.loadUrl(s,n,t,o)}))}},{key:"loadUrl",value:function(t,r,o,n){var i=this,a="string"===typeof o?[o]:o,s="string"===typeof n?[n]:n,l=this.options.parseLoadPayload(a,s);this.options.request(this.options,t,l,(function(a,s){if(s&&(s.status>=500&&s.status<600||!s.status))return r("failed loading "+t+"; status code: "+s.status,!0);if(s&&s.status>=400&&s.status<500)return r("failed loading "+t+"; status code: "+s.status,!1);if(!s&&a&&a.message){var l=a.message.toLowerCase();if(["failed","fetch","network","load"].find((function(e){return l.indexOf(e)>-1})))return r("failed loading "+t+": "+a.message,!0)}if(a)return r(a,!1);var c,u;try{c="string"===typeof s.data?i.options.parse(s.data,o,n):s.data}catch(e){u="failed parsing "+t+" to json"}if(u)return r(u,!1);r(null,c)}))}},{key:"create",value:function(e,t,r,o,n){var i=this;if(this.options.addPath){"string"===typeof e&&(e=[e]);var a=this.options.parsePayload(t,r,o),s=0,l=[],c=[];e.forEach((function(r){var o=i.options.addPath;"function"===typeof i.options.addPath&&(o=i.options.addPath(r,t));var u=i.services.interpolator.interpolate(o,{lng:r,ns:t});i.options.request(i.options,u,a,(function(t,r){s+=1,l.push(t),c.push(r),s===e.length&&"function"===typeof n&&n(l,c)}))}))}}},{key:"reload",value:function(){var e=this,t=this.services,r=t.backendConnector,o=t.languageUtils,n=t.logger,i=r.language;if(!i||"cimode"!==i.toLowerCase()){var a=[],s=function(e){o.toResolveHierarchy(e).forEach((function(e){a.indexOf(e)<0&&a.push(e)}))};s(i),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return s(e)})),a.forEach((function(t){e.allOptions.ns.forEach((function(e){r.read(t,e,"read",null,null,(function(o,i){o&&n.warn("loading namespace ".concat(e," for language ").concat(t," failed"),o),!o&&i&&n.log("loaded namespace ".concat(e," for language ").concat(t),i),r.loaded("".concat(t,"|").concat(e),o,i)}))}))}))}}}],t&&ba(e.prototype,t),r&&ba(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,r}();ka.type="backend";const xa=ka;ta.use(xa).use(Ne.r9).init({interpolation:{escapeValue:!1},lng:"en",fallbackLng:"en",backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},defaultNS:"general"}),function(){const t=document.getElementById("root");o.createRoot(t).render((0,Re.jsx)(e.StrictMode,{children:(0,Re.jsx)(vi,{theme:ze.M,children:(0,Re.jsx)(Zn,{})})}))}(),function(){const e=document.getElementById("placeholder");e&&e.remove()}(),n()})()})();
//# sourceMappingURL=main.8521b884.js.map