@mohsinonxrm/pptb-commandbar-studio 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +99 -0
- package/LICENSE +661 -0
- package/README.md +316 -0
- package/dist/assets/BulkPublishModal-_JCQ9G-Z.js +29 -0
- package/dist/assets/CommandEditorPanel-BfdeUs_f.js +1 -0
- package/dist/assets/CommandPalette-D2Kh5NZ1.js +1 -0
- package/dist/assets/ConflictDrawer-BLiuWHeb.js +1 -0
- package/dist/assets/DiffViewer-BVDCd534.js +7 -0
- package/dist/assets/IconPickerModal-BAiIRU4A.js +1 -0
- package/dist/assets/ImportXmlModal-D-Ns-mYi.js +3 -0
- package/dist/assets/LocalizationEditor-C-TZ2Vqd.js +1 -0
- package/dist/assets/MonacoEditor-5dvTziHE.js +2 -0
- package/dist/assets/NewButtonModal-DOTUaBiJ.js +1 -0
- package/dist/assets/NewGroupModal-CXy9X9y5.js +1 -0
- package/dist/assets/NewTabModal-DiGzXYTp.js +1 -0
- package/dist/assets/RuleEditorPanel-DT_uPW8s.js +1 -0
- package/dist/assets/ScalingEditorPanel-BFnC7t_K.js +1 -0
- package/dist/assets/TabDisplayRulesPanel-CdKjedy-.js +1 -0
- package/dist/assets/UrlComposerModal-DFtXdVW3.js +1 -0
- package/dist/assets/WebResourceBrowser-FvaNo4rt.js +1 -0
- package/dist/assets/XmlDrawer-BXAxH3A8.js +2 -0
- package/dist/assets/abap-DLDM7-KI.js +1 -0
- package/dist/assets/apex-DNDY2TF8.js +1 -0
- package/dist/assets/azcli-Y6nb8tq_.js +1 -0
- package/dist/assets/bat-BwHxbl9M.js +1 -0
- package/dist/assets/bicep-CFznDFnq.js +2 -0
- package/dist/assets/cameligo-Bf6VGUru.js +1 -0
- package/dist/assets/clojure-Dnu-v4kV.js +1 -0
- package/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/assets/coffee-Bd8akH9Z.js +1 -0
- package/dist/assets/cpp-BbWJElDN.js +1 -0
- package/dist/assets/csharp-Co3qMtFm.js +1 -0
- package/dist/assets/csp-D-4FJmMZ.js +1 -0
- package/dist/assets/css-DdJfP1eB.js +3 -0
- package/dist/assets/css.worker-DBVD8oXr.js +93 -0
- package/dist/assets/cssMode-DFSY9yCW.js +1 -0
- package/dist/assets/cypher-cTPe9QuQ.js +1 -0
- package/dist/assets/dart-BOtBlQCF.js +1 -0
- package/dist/assets/dnd-DHB99ZH7.js +5 -0
- package/dist/assets/dockerfile-BG73LgW2.js +1 -0
- package/dist/assets/ecl-BEgZUVRK.js +1 -0
- package/dist/assets/elixir-BkW5O-1t.js +1 -0
- package/dist/assets/flow9-BeJ5waoc.js +1 -0
- package/dist/assets/fluent-icons-DiKr_qRE.js +1 -0
- package/dist/assets/fluent-ui-kUA2U4Gr.js +43 -0
- package/dist/assets/freemarker2-B8bME0pA.js +3 -0
- package/dist/assets/fsharp-PahG7c26.js +1 -0
- package/dist/assets/go-acbASCJo.js +1 -0
- package/dist/assets/graphql-BxJiqAUM.js +1 -0
- package/dist/assets/handlebars-zIyCxTW6.js +1 -0
- package/dist/assets/hcl-DtV1sZF8.js +1 -0
- package/dist/assets/html-B5hFqu3X.js +1 -0
- package/dist/assets/html.worker-CwpTb9lJ.js +470 -0
- package/dist/assets/htmlMode-BmPxEBms.js +1 -0
- package/dist/assets/index-D9lerlVA.css +1 -0
- package/dist/assets/index-G361fmC5.js +6 -0
- package/dist/assets/ini-Kd9XrMLS.js +1 -0
- package/dist/assets/java-CXBNlu9o.js +1 -0
- package/dist/assets/javascript-BQGsYMat.js +1 -0
- package/dist/assets/json.worker-BoL8UZqY.js +58 -0
- package/dist/assets/jsonMode-CR0b-9Un.js +7 -0
- package/dist/assets/julia-cl7-CwDS.js +1 -0
- package/dist/assets/kotlin-s7OhZKlX.js +1 -0
- package/dist/assets/less-9HpZscsL.js +2 -0
- package/dist/assets/lexon-OrD6JF1K.js +1 -0
- package/dist/assets/liquid-DLq8jbP8.js +1 -0
- package/dist/assets/lspLanguageFeatures-C3buAG32.js +4 -0
- package/dist/assets/lua-Cyyb5UIc.js +1 -0
- package/dist/assets/m3-B8OfTtLu.js +1 -0
- package/dist/assets/markdown-BFxVWTOG.js +1 -0
- package/dist/assets/mdx-5ni22WXY.js +1 -0
- package/dist/assets/mips-CiqrrVzr.js +1 -0
- package/dist/assets/monaco-BLZnQb2P.js +918 -0
- package/dist/assets/monaco-Dvl_Svmm.css +1 -0
- package/dist/assets/msdax-DmeGPVcC.js +1 -0
- package/dist/assets/mysql-C_tMU-Nz.js +1 -0
- package/dist/assets/objective-c-BDtDVThU.js +1 -0
- package/dist/assets/pascal-vHIfCaH5.js +1 -0
- package/dist/assets/pascaligo-DtZ0uQbO.js +1 -0
- package/dist/assets/perl-Ub6l9XKa.js +1 -0
- package/dist/assets/pgsql-BlNEE0v7.js +1 -0
- package/dist/assets/php-BBUBE1dy.js +1 -0
- package/dist/assets/pla-DSh2-awV.js +1 -0
- package/dist/assets/postiats-CocnycG-.js +1 -0
- package/dist/assets/powerquery-tScXyioY.js +1 -0
- package/dist/assets/powershell-COWaemsV.js +1 -0
- package/dist/assets/protobuf-Brw8urJB.js +2 -0
- package/dist/assets/pug-8SOpv6rk.js +1 -0
- package/dist/assets/python-F20Pd69B.js +1 -0
- package/dist/assets/qsharp-Bw9ernYp.js +1 -0
- package/dist/assets/r-j7ic8hl3.js +1 -0
- package/dist/assets/razor-3xmsG6cc.js +1 -0
- package/dist/assets/redis-Bu5POkcn.js +1 -0
- package/dist/assets/redshift-Bs9aos_-.js +1 -0
- package/dist/assets/restructuredtext-CqXO7rUv.js +1 -0
- package/dist/assets/ruby-zBfavPgS.js +1 -0
- package/dist/assets/rust-BzKRNQWT.js +1 -0
- package/dist/assets/sb-BBc9UKZt.js +1 -0
- package/dist/assets/scala-D9hQfWCl.js +1 -0
- package/dist/assets/scheme-BPhDTwHR.js +1 -0
- package/dist/assets/scss-CBJaRo0y.js +3 -0
- package/dist/assets/server.browser-DfdiBs1P.js +11 -0
- package/dist/assets/shell-DiJ1NA_G.js +1 -0
- package/dist/assets/solidity-Db0IVjzk.js +1 -0
- package/dist/assets/sophia-CnS9iZB_.js +1 -0
- package/dist/assets/sparql-CJmd_6j2.js +1 -0
- package/dist/assets/sql-ClhHkBeG.js +1 -0
- package/dist/assets/st-CHwy0fLd.js +1 -0
- package/dist/assets/swift-CnmFD0ga.js +1 -0
- package/dist/assets/systemverilog-Bs9z6M-B.js +1 -0
- package/dist/assets/tcl-Dm6ycUr_.js +1 -0
- package/dist/assets/ts.worker-BH9nVgjN.js +67718 -0
- package/dist/assets/tsMode-Cyusk9p4.js +11 -0
- package/dist/assets/twig-Csy3S7wG.js +1 -0
- package/dist/assets/typescript-BXT-ECX3.js +1 -0
- package/dist/assets/typespec-Btyra-wh.js +1 -0
- package/dist/assets/vb-Db0cS2oM.js +1 -0
- package/dist/assets/webResourceService-Ck07E3GN.js +1 -0
- package/dist/assets/wgsl-BTesnYfV.js +298 -0
- package/dist/assets/xml-Cwzeco8o.js +1 -0
- package/dist/assets/xmlGenerator-DEaVrfZJ.js +130 -0
- package/dist/assets/yaml-BHUePD-R.js +1 -0
- package/dist/index.html +18 -0
- package/dist/stats.html +4949 -0
- package/index.html +12 -0
- package/npm-shrinkwrap.json +13252 -0
- package/package.json +104 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import{h as Mv,r as y,c as vl}from"./monaco-BLZnQb2P.js";import{bE as R1,c8 as D1,aY as P1,cz as Ov,cy as L,ct as F1,cs as be,cu as G,W as I1,cl as M1,as as O1,a8 as Av,bX as A1,bW as H1,V as L1,U as Hv,Y as V1,aw as Eu,a0 as Ru,cv as Lv,a4 as W1,a3 as U1,a2 as $1,a1 as X1,a5 as G1,_ as K1,au as Q1,h as Y1,x as J1,X as Z1,at as ey,cm as ty,a_ as oy}from"./fluent-icons-DiKr_qRE.js";var Pc={exports:{}},Ct={},Fc={exports:{}},Ic={};var ag;function ry(){return ag||(ag=1,(function(e){function t(D,W){var U=D.length;D.push(W);e:for(;0<U;){var ke=U-1>>>1,X=D[ke];if(0<l(X,W))D[ke]=W,D[U]=X,U=ke;else break e}}function r(D){return D.length===0?null:D[0]}function i(D){if(D.length===0)return null;var W=D[0],U=D.pop();if(U!==W){D[0]=U;e:for(var ke=0,X=D.length,ve=X>>>1;ke<ve;){var ze=2*(ke+1)-1,le=D[ze],_e=ze+1,ct=D[_e];if(0>l(le,U))_e<X&&0>l(ct,le)?(D[ke]=ct,D[_e]=U,ke=_e):(D[ke]=le,D[ze]=U,ke=ze);else if(_e<X&&0>l(ct,U))D[ke]=ct,D[_e]=U,ke=_e;else break e}}return W}function l(D,W){var U=D.sortIndex-W.sortIndex;return U!==0?U:D.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],g=[],m=1,h=null,x=3,w=!1,k=!1,b=!1,B=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function z(D){for(var W=r(g);W!==null;){if(W.callback===null)i(g);else if(W.startTime<=D)i(g),W.sortIndex=W.expirationTime,t(f,W);else break;W=r(g)}}function N(D){if(b=!1,z(D),!k)if(r(f)!==null)k=!0,A(q);else{var W=r(g);W!==null&&ae(N,W.startTime-D)}}function q(D,W){k=!1,b&&(b=!1,_(V),V=-1),w=!0;var U=x;try{for(z(W),h=r(f);h!==null&&(!(h.expirationTime>W)||D&&!se());){var ke=h.callback;if(typeof ke=="function"){h.callback=null,x=h.priorityLevel;var X=ke(h.expirationTime<=W);W=e.unstable_now(),typeof X=="function"?h.callback=X:h===r(f)&&i(f),z(W)}else i(f);h=r(f)}if(h!==null)var ve=!0;else{var ze=r(g);ze!==null&&ae(N,ze.startTime-W),ve=!1}return ve}finally{h=null,x=U,w=!1}}var j=!1,F=null,V=-1,$=5,ie=-1;function se(){return!(e.unstable_now()-ie<$)}function Z(){if(F!==null){var D=e.unstable_now();ie=D;var W=!0;try{W=F(!0,D)}finally{W?re():(j=!1,F=null)}}else j=!1}var re;if(typeof T=="function")re=function(){T(Z)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,K=oe.port2;oe.port1.onmessage=Z,re=function(){K.postMessage(null)}}else re=function(){B(Z,0)};function A(D){F=D,j||(j=!0,re())}function ae(D,W){V=B(function(){D(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){k||w||(k=!0,A(q))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return r(f)},e.unstable_next=function(D){switch(x){case 1:case 2:case 3:var W=3;break;default:W=x}var U=x;x=W;try{return D()}finally{x=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,W){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var U=x;x=D;try{return W()}finally{x=U}},e.unstable_scheduleCallback=function(D,W,U){var ke=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?ke+U:ke):U=ke,D){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=U+X,D={id:m++,callback:W,priorityLevel:D,startTime:U,expirationTime:X,sortIndex:-1},U>ke?(D.sortIndex=U,t(g,D),r(f)===null&&D===r(g)&&(b?(_(V),V=-1):b=!0,ae(N,U-ke))):(D.sortIndex=X,t(f,D),k||w||(k=!0,A(q))),D},e.unstable_shouldYield=se,e.unstable_wrapCallback=function(D){var W=x;return function(){var U=x;x=W;try{return D.apply(this,arguments)}finally{x=U}}}})(Ic)),Ic}var lg;function ny(){return lg||(lg=1,Fc.exports=ry()),Fc.exports}var sg;function iy(){if(sg)return Ct;sg=1;var e=Mv(),t=ny();function r(o){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+o,a=1;a<arguments.length;a++)n+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+o+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function s(o,n){c(o,n),c(o+"Capture",n)}function c(o,n){for(l[o]=n,o=0;o<n.length;o++)i.add(n[o])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,g=/^[: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]*$/,m={},h={};function x(o){return f.call(h,o)?!0:f.call(m,o)?!1:g.test(o)?h[o]=!0:(m[o]=!0,!1)}function w(o,n,a,u){if(a!==null&&a.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return u?!1:a!==null?!a.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function k(o,n,a,u){if(n===null||typeof n>"u"||w(o,n,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function b(o,n,a,u,p,v,S){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=a,this.propertyName=o,this.type=n,this.sanitizeURL=v,this.removeEmptyString=S}var B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){B[o]=new b(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var n=o[0];B[n]=new b(n,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){B[o]=new b(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){B[o]=new b(o,2,!1,o,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(o){B[o]=new b(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){B[o]=new b(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){B[o]=new b(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){B[o]=new b(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){B[o]=new b(o,5,!1,o.toLowerCase(),null,!1,!1)});var _=/[\-:]([a-z])/g;function T(o){return o[1].toUpperCase()}"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(o){var n=o.replace(_,T);B[n]=new b(n,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var n=o.replace(_,T);B[n]=new b(n,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var n=o.replace(_,T);B[n]=new b(n,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){B[o]=new b(o,1,!1,o.toLowerCase(),null,!1,!1)}),B.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){B[o]=new b(o,1,!1,o.toLowerCase(),null,!0,!0)});function z(o,n,a,u){var p=B.hasOwnProperty(n)?B[n]:null;(p!==null?p.type!==0:u||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(k(n,a,p,u)&&(a=null),u||p===null?x(n)&&(a===null?o.removeAttribute(n):o.setAttribute(n,""+a)):p.mustUseProperty?o[p.propertyName]=a===null?p.type===3?!1:"":a:(n=p.attributeName,u=p.attributeNamespace,a===null?o.removeAttribute(n):(p=p.type,a=p===3||p===4&&a===!0?"":""+a,u?o.setAttributeNS(u,n,a):o.setAttribute(n,a))))}var N=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,q=Symbol.for("react.element"),j=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),ie=Symbol.for("react.provider"),se=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),ae=Symbol.for("react.offscreen"),D=Symbol.iterator;function W(o){return o===null||typeof o!="object"?null:(o=D&&o[D]||o["@@iterator"],typeof o=="function"?o:null)}var U=Object.assign,ke;function X(o){if(ke===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);ke=n&&n[1]||""}return`
|
|
2
|
+
`+ke+o}var ve=!1;function ze(o,n){if(!o||ve)return"";ve=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(M){var u=M}Reflect.construct(o,[],n)}else{try{n.call()}catch(M){u=M}o.call(n.prototype)}else{try{throw Error()}catch(M){u=M}o()}}catch(M){if(M&&u&&typeof M.stack=="string"){for(var p=M.stack.split(`
|
|
3
|
+
`),v=u.stack.split(`
|
|
4
|
+
`),S=p.length-1,C=v.length-1;1<=S&&0<=C&&p[S]!==v[C];)C--;for(;1<=S&&0<=C;S--,C--)if(p[S]!==v[C]){if(S!==1||C!==1)do if(S--,C--,0>C||p[S]!==v[C]){var E=`
|
|
5
|
+
`+p[S].replace(" at new "," at ");return o.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",o.displayName)),E}while(1<=S&&0<=C);break}}}finally{ve=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?X(o):""}function le(o){switch(o.tag){case 5:return X(o.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return o=ze(o.type,!1),o;case 11:return o=ze(o.type.render,!1),o;case 1:return o=ze(o.type,!0),o;default:return""}}function _e(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case F:return"Fragment";case j:return"Portal";case $:return"Profiler";case V:return"StrictMode";case re:return"Suspense";case oe:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case se:return(o.displayName||"Context")+".Consumer";case ie:return(o._context.displayName||"Context")+".Provider";case Z:var n=o.render;return o=o.displayName,o||(o=n.displayName||n.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case K:return n=o.displayName||null,n!==null?n:_e(o.type)||"Memo";case A:n=o._payload,o=o._init;try{return _e(o(n))}catch{}}return null}function ct(o){var n=o.type;switch(o.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=n.render,o=o.displayName||o.name||"",n.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return _e(n);case 8:return n===V?"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(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function gt(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Oo(o){var n=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Bo(o){var n=Oo(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,n),u=""+o[n];if(!o.hasOwnProperty(n)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var p=a.get,v=a.set;return Object.defineProperty(o,n,{configurable:!0,get:function(){return p.call(this)},set:function(S){u=""+S,v.call(this,S)}}),Object.defineProperty(o,n,{enumerable:a.enumerable}),{getValue:function(){return u},setValue:function(S){u=""+S},stopTracking:function(){o._valueTracker=null,delete o[n]}}}}function Yt(o){o._valueTracker||(o._valueTracker=Bo(o))}function kr(o){if(!o)return!1;var n=o._valueTracker;if(!n)return!0;var a=n.getValue(),u="";return o&&(u=Oo(o)?o.checked?"true":"false":o.value),o=u,o!==a?(n.setValue(o),!0):!1}function Ao(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function jn(o,n){var a=n.checked;return U({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function fd(o,n){var a=n.defaultValue==null?"":n.defaultValue,u=n.checked!=null?n.checked:n.defaultChecked;a=gt(n.value!=null?n.value:a),o._wrapperState={initialChecked:u,initialValue:a,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function pd(o,n){n=n.checked,n!=null&&z(o,"checked",n,!1)}function Vl(o,n){pd(o,n);var a=gt(n.value),u=n.type;if(a!=null)u==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(u==="submit"||u==="reset"){o.removeAttribute("value");return}n.hasOwnProperty("value")?Wl(o,n.type,a):n.hasOwnProperty("defaultValue")&&Wl(o,n.type,gt(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(o.defaultChecked=!!n.defaultChecked)}function gd(o,n,a){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var u=n.type;if(!(u!=="submit"&&u!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+o._wrapperState.initialValue,a||n===o.value||(o.value=n),o.defaultValue=n}a=o.name,a!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,a!==""&&(o.name=a)}function Wl(o,n,a){(n!=="number"||Ao(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var qn=Array.isArray;function Wr(o,n,a,u){if(o=o.options,n){n={};for(var p=0;p<a.length;p++)n["$"+a[p]]=!0;for(a=0;a<o.length;a++)p=n.hasOwnProperty("$"+o[a].value),o[a].selected!==p&&(o[a].selected=p),p&&u&&(o[a].defaultSelected=!0)}else{for(a=""+gt(a),n=null,p=0;p<o.length;p++){if(o[p].value===a){o[p].selected=!0,u&&(o[p].defaultSelected=!0);return}n!==null||o[p].disabled||(n=o[p])}n!==null&&(n.selected=!0)}}function Ul(o,n){if(n.dangerouslySetInnerHTML!=null)throw Error(r(91));return U({},n,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function vd(o,n){var a=n.value;if(a==null){if(a=n.children,n=n.defaultValue,a!=null){if(n!=null)throw Error(r(92));if(qn(a)){if(1<a.length)throw Error(r(93));a=a[0]}n=a}n==null&&(n=""),a=n}o._wrapperState={initialValue:gt(a)}}function md(o,n){var a=gt(n.value),u=gt(n.defaultValue);a!=null&&(a=""+a,a!==o.value&&(o.value=a),n.defaultValue==null&&o.defaultValue!==a&&(o.defaultValue=a)),u!=null&&(o.defaultValue=""+u)}function hd(o){var n=o.textContent;n===o._wrapperState.initialValue&&n!==""&&n!==null&&(o.value=n)}function bd(o){switch(o){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 $l(o,n){return o==null||o==="http://www.w3.org/1999/xhtml"?bd(n):o==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var Wi,yd=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,a,u,p){MSApp.execUnsafeLocalFunction(function(){return o(n,a,u,p)})}:o})(function(o,n){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=n;else{for(Wi=Wi||document.createElement("div"),Wi.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Wi.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;n.firstChild;)o.appendChild(n.firstChild)}});function En(o,n){if(n){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=n;return}}o.textContent=n}var Rn={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},I0=["Webkit","ms","Moz","O"];Object.keys(Rn).forEach(function(o){I0.forEach(function(n){n=n+o.charAt(0).toUpperCase()+o.substring(1),Rn[n]=Rn[o]})});function wd(o,n,a){return n==null||typeof n=="boolean"||n===""?"":a||typeof n!="number"||n===0||Rn.hasOwnProperty(o)&&Rn[o]?(""+n).trim():n+"px"}function kd(o,n){o=o.style;for(var a in n)if(n.hasOwnProperty(a)){var u=a.indexOf("--")===0,p=wd(a,n[a],u);a==="float"&&(a="cssFloat"),u?o.setProperty(a,p):o[a]=p}}var M0=U({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 Xl(o,n){if(n){if(M0[o]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(r(137,o));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(r(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(r(61))}if(n.style!=null&&typeof n.style!="object")throw Error(r(62))}}function Gl(o,n){if(o.indexOf("-")===-1)return typeof n.is=="string";switch(o){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 Kl=null;function Ql(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Yl=null,Ur=null,$r=null;function xd(o){if(o=ti(o)){if(typeof Yl!="function")throw Error(r(280));var n=o.stateNode;n&&(n=pa(n),Yl(o.stateNode,o.type,n))}}function Bd(o){Ur?$r?$r.push(o):$r=[o]:Ur=o}function Sd(){if(Ur){var o=Ur,n=$r;if($r=Ur=null,xd(o),n)for(o=0;o<n.length;o++)xd(n[o])}}function zd(o,n){return o(n)}function _d(){}var Jl=!1;function Nd(o,n,a){if(Jl)return o(n,a);Jl=!0;try{return zd(o,n,a)}finally{Jl=!1,(Ur!==null||$r!==null)&&(_d(),Sd())}}function Dn(o,n){var a=o.stateNode;if(a===null)return null;var u=pa(a);if(u===null)return null;a=u[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(o=o.type,u=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!u;break e;default:o=!1}if(o)return null;if(a&&typeof a!="function")throw Error(r(231,n,typeof a));return a}var Zl=!1;if(d)try{var Pn={};Object.defineProperty(Pn,"passive",{get:function(){Zl=!0}}),window.addEventListener("test",Pn,Pn),window.removeEventListener("test",Pn,Pn)}catch{Zl=!1}function O0(o,n,a,u,p,v,S,C,E){var M=Array.prototype.slice.call(arguments,3);try{n.apply(a,M)}catch(J){this.onError(J)}}var Fn=!1,Ui=null,$i=!1,es=null,A0={onError:function(o){Fn=!0,Ui=o}};function H0(o,n,a,u,p,v,S,C,E){Fn=!1,Ui=null,O0.apply(A0,arguments)}function L0(o,n,a,u,p,v,S,C,E){if(H0.apply(this,arguments),Fn){if(Fn){var M=Ui;Fn=!1,Ui=null}else throw Error(r(198));$i||($i=!0,es=M)}}function xr(o){var n=o,a=o;if(o.alternate)for(;n.return;)n=n.return;else{o=n;do n=o,(n.flags&4098)!==0&&(a=n.return),o=n.return;while(o)}return n.tag===3?a:null}function Cd(o){if(o.tag===13){var n=o.memoizedState;if(n===null&&(o=o.alternate,o!==null&&(n=o.memoizedState)),n!==null)return n.dehydrated}return null}function Td(o){if(xr(o)!==o)throw Error(r(188))}function V0(o){var n=o.alternate;if(!n){if(n=xr(o),n===null)throw Error(r(188));return n!==o?null:o}for(var a=o,u=n;;){var p=a.return;if(p===null)break;var v=p.alternate;if(v===null){if(u=p.return,u!==null){a=u;continue}break}if(p.child===v.child){for(v=p.child;v;){if(v===a)return Td(p),o;if(v===u)return Td(p),n;v=v.sibling}throw Error(r(188))}if(a.return!==u.return)a=p,u=v;else{for(var S=!1,C=p.child;C;){if(C===a){S=!0,a=p,u=v;break}if(C===u){S=!0,u=p,a=v;break}C=C.sibling}if(!S){for(C=v.child;C;){if(C===a){S=!0,a=v,u=p;break}if(C===u){S=!0,u=v,a=p;break}C=C.sibling}if(!S)throw Error(r(189))}}if(a.alternate!==u)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?o:n}function jd(o){return o=V0(o),o!==null?qd(o):null}function qd(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var n=qd(o);if(n!==null)return n;o=o.sibling}return null}var Ed=t.unstable_scheduleCallback,Rd=t.unstable_cancelCallback,W0=t.unstable_shouldYield,U0=t.unstable_requestPaint,Je=t.unstable_now,$0=t.unstable_getCurrentPriorityLevel,ts=t.unstable_ImmediatePriority,Dd=t.unstable_UserBlockingPriority,Xi=t.unstable_NormalPriority,X0=t.unstable_LowPriority,Pd=t.unstable_IdlePriority,Gi=null,po=null;function G0(o){if(po&&typeof po.onCommitFiberRoot=="function")try{po.onCommitFiberRoot(Gi,o,void 0,(o.current.flags&128)===128)}catch{}}var Jt=Math.clz32?Math.clz32:Y0,K0=Math.log,Q0=Math.LN2;function Y0(o){return o>>>=0,o===0?32:31-(K0(o)/Q0|0)|0}var Ki=64,Qi=4194304;function In(o){switch(o&-o){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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function Yi(o,n){var a=o.pendingLanes;if(a===0)return 0;var u=0,p=o.suspendedLanes,v=o.pingedLanes,S=a&268435455;if(S!==0){var C=S&~p;C!==0?u=In(C):(v&=S,v!==0&&(u=In(v)))}else S=a&~p,S!==0?u=In(S):v!==0&&(u=In(v));if(u===0)return 0;if(n!==0&&n!==u&&(n&p)===0&&(p=u&-u,v=n&-n,p>=v||p===16&&(v&4194240)!==0))return n;if((u&4)!==0&&(u|=a&16),n=o.entangledLanes,n!==0)for(o=o.entanglements,n&=u;0<n;)a=31-Jt(n),p=1<<a,u|=o[a],n&=~p;return u}function J0(o,n){switch(o){case 1:case 2:case 4:return n+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 n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Z0(o,n){for(var a=o.suspendedLanes,u=o.pingedLanes,p=o.expirationTimes,v=o.pendingLanes;0<v;){var S=31-Jt(v),C=1<<S,E=p[S];E===-1?((C&a)===0||(C&u)!==0)&&(p[S]=J0(C,n)):E<=n&&(o.expiredLanes|=C),v&=~C}}function os(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function Fd(){var o=Ki;return Ki<<=1,(Ki&4194240)===0&&(Ki=64),o}function rs(o){for(var n=[],a=0;31>a;a++)n.push(o);return n}function Mn(o,n,a){o.pendingLanes|=n,n!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,n=31-Jt(n),o[n]=a}function eb(o,n){var a=o.pendingLanes&~n;o.pendingLanes=n,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=n,o.mutableReadLanes&=n,o.entangledLanes&=n,n=o.entanglements;var u=o.eventTimes;for(o=o.expirationTimes;0<a;){var p=31-Jt(a),v=1<<p;n[p]=0,u[p]=-1,o[p]=-1,a&=~v}}function ns(o,n){var a=o.entangledLanes|=n;for(o=o.entanglements;a;){var u=31-Jt(a),p=1<<u;p&n|o[u]&n&&(o[u]|=n),a&=~p}}var Fe=0;function Id(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Md,is,Od,Ad,Hd,as=!1,Ji=[],Ho=null,Lo=null,Vo=null,On=new Map,An=new Map,Wo=[],tb="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 Ld(o,n){switch(o){case"focusin":case"focusout":Ho=null;break;case"dragenter":case"dragleave":Lo=null;break;case"mouseover":case"mouseout":Vo=null;break;case"pointerover":case"pointerout":On.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":An.delete(n.pointerId)}}function Hn(o,n,a,u,p,v){return o===null||o.nativeEvent!==v?(o={blockedOn:n,domEventName:a,eventSystemFlags:u,nativeEvent:v,targetContainers:[p]},n!==null&&(n=ti(n),n!==null&&is(n)),o):(o.eventSystemFlags|=u,n=o.targetContainers,p!==null&&n.indexOf(p)===-1&&n.push(p),o)}function ob(o,n,a,u,p){switch(n){case"focusin":return Ho=Hn(Ho,o,n,a,u,p),!0;case"dragenter":return Lo=Hn(Lo,o,n,a,u,p),!0;case"mouseover":return Vo=Hn(Vo,o,n,a,u,p),!0;case"pointerover":var v=p.pointerId;return On.set(v,Hn(On.get(v)||null,o,n,a,u,p)),!0;case"gotpointercapture":return v=p.pointerId,An.set(v,Hn(An.get(v)||null,o,n,a,u,p)),!0}return!1}function Vd(o){var n=Br(o.target);if(n!==null){var a=xr(n);if(a!==null){if(n=a.tag,n===13){if(n=Cd(a),n!==null){o.blockedOn=n,Hd(o.priority,function(){Od(a)});return}}else if(n===3&&a.stateNode.current.memoizedState.isDehydrated){o.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}o.blockedOn=null}function Zi(o){if(o.blockedOn!==null)return!1;for(var n=o.targetContainers;0<n.length;){var a=ss(o.domEventName,o.eventSystemFlags,n[0],o.nativeEvent);if(a===null){a=o.nativeEvent;var u=new a.constructor(a.type,a);Kl=u,a.target.dispatchEvent(u),Kl=null}else return n=ti(a),n!==null&&is(n),o.blockedOn=a,!1;n.shift()}return!0}function Wd(o,n,a){Zi(o)&&a.delete(n)}function rb(){as=!1,Ho!==null&&Zi(Ho)&&(Ho=null),Lo!==null&&Zi(Lo)&&(Lo=null),Vo!==null&&Zi(Vo)&&(Vo=null),On.forEach(Wd),An.forEach(Wd)}function Ln(o,n){o.blockedOn===n&&(o.blockedOn=null,as||(as=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,rb)))}function Vn(o){function n(p){return Ln(p,o)}if(0<Ji.length){Ln(Ji[0],o);for(var a=1;a<Ji.length;a++){var u=Ji[a];u.blockedOn===o&&(u.blockedOn=null)}}for(Ho!==null&&Ln(Ho,o),Lo!==null&&Ln(Lo,o),Vo!==null&&Ln(Vo,o),On.forEach(n),An.forEach(n),a=0;a<Wo.length;a++)u=Wo[a],u.blockedOn===o&&(u.blockedOn=null);for(;0<Wo.length&&(a=Wo[0],a.blockedOn===null);)Vd(a),a.blockedOn===null&&Wo.shift()}var Xr=N.ReactCurrentBatchConfig,ea=!0;function nb(o,n,a,u){var p=Fe,v=Xr.transition;Xr.transition=null;try{Fe=1,ls(o,n,a,u)}finally{Fe=p,Xr.transition=v}}function ib(o,n,a,u){var p=Fe,v=Xr.transition;Xr.transition=null;try{Fe=4,ls(o,n,a,u)}finally{Fe=p,Xr.transition=v}}function ls(o,n,a,u){if(ea){var p=ss(o,n,a,u);if(p===null)zs(o,n,u,ta,a),Ld(o,u);else if(ob(p,o,n,a,u))u.stopPropagation();else if(Ld(o,u),n&4&&-1<tb.indexOf(o)){for(;p!==null;){var v=ti(p);if(v!==null&&Md(v),v=ss(o,n,a,u),v===null&&zs(o,n,u,ta,a),v===p)break;p=v}p!==null&&u.stopPropagation()}else zs(o,n,u,null,a)}}var ta=null;function ss(o,n,a,u){if(ta=null,o=Ql(u),o=Br(o),o!==null)if(n=xr(o),n===null)o=null;else if(a=n.tag,a===13){if(o=Cd(n),o!==null)return o;o=null}else if(a===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;o=null}else n!==o&&(o=null);return ta=o,null}function Ud(o){switch(o){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($0()){case ts:return 1;case Dd:return 4;case Xi:case X0:return 16;case Pd:return 536870912;default:return 16}default:return 16}}var Uo=null,cs=null,oa=null;function $d(){if(oa)return oa;var o,n=cs,a=n.length,u,p="value"in Uo?Uo.value:Uo.textContent,v=p.length;for(o=0;o<a&&n[o]===p[o];o++);var S=a-o;for(u=1;u<=S&&n[a-u]===p[v-u];u++);return oa=p.slice(o,1<u?1-u:void 0)}function ra(o){var n=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&n===13&&(o=13)):o=n,o===10&&(o=13),32<=o||o===13?o:0}function na(){return!0}function Xd(){return!1}function qt(o){function n(a,u,p,v,S){this._reactName=a,this._targetInst=p,this.type=u,this.nativeEvent=v,this.target=S,this.currentTarget=null;for(var C in o)o.hasOwnProperty(C)&&(a=o[C],this[C]=a?a(v):v[C]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?na:Xd,this.isPropagationStopped=Xd,this}return U(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=na)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=na)},persist:function(){},isPersistent:na}),n}var Gr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},us=qt(Gr),Wn=U({},Gr,{view:0,detail:0}),ab=qt(Wn),ds,fs,Un,ia=U({},Wn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gs,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==Un&&(Un&&o.type==="mousemove"?(ds=o.screenX-Un.screenX,fs=o.screenY-Un.screenY):fs=ds=0,Un=o),ds)},movementY:function(o){return"movementY"in o?o.movementY:fs}}),Gd=qt(ia),lb=U({},ia,{dataTransfer:0}),sb=qt(lb),cb=U({},Wn,{relatedTarget:0}),ps=qt(cb),ub=U({},Gr,{animationName:0,elapsedTime:0,pseudoElement:0}),db=qt(ub),fb=U({},Gr,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),pb=qt(fb),gb=U({},Gr,{data:0}),Kd=qt(gb),vb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mb={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"},hb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bb(o){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(o):(o=hb[o])?!!n[o]:!1}function gs(){return bb}var yb=U({},Wn,{key:function(o){if(o.key){var n=vb[o.key]||o.key;if(n!=="Unidentified")return n}return o.type==="keypress"?(o=ra(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?mb[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gs,charCode:function(o){return o.type==="keypress"?ra(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?ra(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),wb=qt(yb),kb=U({},ia,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Qd=qt(kb),xb=U({},Wn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gs}),Bb=qt(xb),Sb=U({},Gr,{propertyName:0,elapsedTime:0,pseudoElement:0}),zb=qt(Sb),_b=U({},ia,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),Nb=qt(_b),Cb=[9,13,27,32],vs=d&&"CompositionEvent"in window,$n=null;d&&"documentMode"in document&&($n=document.documentMode);var Tb=d&&"TextEvent"in window&&!$n,Yd=d&&(!vs||$n&&8<$n&&11>=$n),Jd=" ",Zd=!1;function ef(o,n){switch(o){case"keyup":return Cb.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tf(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Kr=!1;function jb(o,n){switch(o){case"compositionend":return tf(n);case"keypress":return n.which!==32?null:(Zd=!0,Jd);case"textInput":return o=n.data,o===Jd&&Zd?null:o;default:return null}}function qb(o,n){if(Kr)return o==="compositionend"||!vs&&ef(o,n)?(o=$d(),oa=cs=Uo=null,Kr=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Yd&&n.locale!=="ko"?null:n.data;default:return null}}var Eb={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 of(o){var n=o&&o.nodeName&&o.nodeName.toLowerCase();return n==="input"?!!Eb[o.type]:n==="textarea"}function rf(o,n,a,u){Bd(u),n=ua(n,"onChange"),0<n.length&&(a=new us("onChange","change",null,a,u),o.push({event:a,listeners:n}))}var Xn=null,Gn=null;function Rb(o){xf(o,0)}function aa(o){var n=en(o);if(kr(n))return o}function Db(o,n){if(o==="change")return n}var nf=!1;if(d){var ms;if(d){var hs="oninput"in document;if(!hs){var af=document.createElement("div");af.setAttribute("oninput","return;"),hs=typeof af.oninput=="function"}ms=hs}else ms=!1;nf=ms&&(!document.documentMode||9<document.documentMode)}function lf(){Xn&&(Xn.detachEvent("onpropertychange",sf),Gn=Xn=null)}function sf(o){if(o.propertyName==="value"&&aa(Gn)){var n=[];rf(n,Gn,o,Ql(o)),Nd(Rb,n)}}function Pb(o,n,a){o==="focusin"?(lf(),Xn=n,Gn=a,Xn.attachEvent("onpropertychange",sf)):o==="focusout"&&lf()}function Fb(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return aa(Gn)}function Ib(o,n){if(o==="click")return aa(n)}function Mb(o,n){if(o==="input"||o==="change")return aa(n)}function Ob(o,n){return o===n&&(o!==0||1/o===1/n)||o!==o&&n!==n}var Zt=typeof Object.is=="function"?Object.is:Ob;function Kn(o,n){if(Zt(o,n))return!0;if(typeof o!="object"||o===null||typeof n!="object"||n===null)return!1;var a=Object.keys(o),u=Object.keys(n);if(a.length!==u.length)return!1;for(u=0;u<a.length;u++){var p=a[u];if(!f.call(n,p)||!Zt(o[p],n[p]))return!1}return!0}function cf(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function uf(o,n){var a=cf(o);o=0;for(var u;a;){if(a.nodeType===3){if(u=o+a.textContent.length,o<=n&&u>=n)return{node:a,offset:n-o};o=u}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=cf(a)}}function df(o,n){return o&&n?o===n?!0:o&&o.nodeType===3?!1:n&&n.nodeType===3?df(o,n.parentNode):"contains"in o?o.contains(n):o.compareDocumentPosition?!!(o.compareDocumentPosition(n)&16):!1:!1}function ff(){for(var o=window,n=Ao();n instanceof o.HTMLIFrameElement;){try{var a=typeof n.contentWindow.location.href=="string"}catch{a=!1}if(a)o=n.contentWindow;else break;n=Ao(o.document)}return n}function bs(o){var n=o&&o.nodeName&&o.nodeName.toLowerCase();return n&&(n==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||n==="textarea"||o.contentEditable==="true")}function Ab(o){var n=ff(),a=o.focusedElem,u=o.selectionRange;if(n!==a&&a&&a.ownerDocument&&df(a.ownerDocument.documentElement,a)){if(u!==null&&bs(a)){if(n=u.start,o=u.end,o===void 0&&(o=n),"selectionStart"in a)a.selectionStart=n,a.selectionEnd=Math.min(o,a.value.length);else if(o=(n=a.ownerDocument||document)&&n.defaultView||window,o.getSelection){o=o.getSelection();var p=a.textContent.length,v=Math.min(u.start,p);u=u.end===void 0?v:Math.min(u.end,p),!o.extend&&v>u&&(p=u,u=v,v=p),p=uf(a,v);var S=uf(a,u);p&&S&&(o.rangeCount!==1||o.anchorNode!==p.node||o.anchorOffset!==p.offset||o.focusNode!==S.node||o.focusOffset!==S.offset)&&(n=n.createRange(),n.setStart(p.node,p.offset),o.removeAllRanges(),v>u?(o.addRange(n),o.extend(S.node,S.offset)):(n.setEnd(S.node,S.offset),o.addRange(n)))}}for(n=[],o=a;o=o.parentNode;)o.nodeType===1&&n.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<n.length;a++)o=n[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var Hb=d&&"documentMode"in document&&11>=document.documentMode,Qr=null,ys=null,Qn=null,ws=!1;function pf(o,n,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ws||Qr==null||Qr!==Ao(u)||(u=Qr,"selectionStart"in u&&bs(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Qn&&Kn(Qn,u)||(Qn=u,u=ua(ys,"onSelect"),0<u.length&&(n=new us("onSelect","select",null,n,a),o.push({event:n,listeners:u}),n.target=Qr)))}function la(o,n){var a={};return a[o.toLowerCase()]=n.toLowerCase(),a["Webkit"+o]="webkit"+n,a["Moz"+o]="moz"+n,a}var Yr={animationend:la("Animation","AnimationEnd"),animationiteration:la("Animation","AnimationIteration"),animationstart:la("Animation","AnimationStart"),transitionend:la("Transition","TransitionEnd")},ks={},gf={};d&&(gf=document.createElement("div").style,"AnimationEvent"in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),"TransitionEvent"in window||delete Yr.transitionend.transition);function sa(o){if(ks[o])return ks[o];if(!Yr[o])return o;var n=Yr[o],a;for(a in n)if(n.hasOwnProperty(a)&&a in gf)return ks[o]=n[a];return o}var vf=sa("animationend"),mf=sa("animationiteration"),hf=sa("animationstart"),bf=sa("transitionend"),yf=new Map,wf="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 $o(o,n){yf.set(o,n),s(n,[o])}for(var xs=0;xs<wf.length;xs++){var Bs=wf[xs],Lb=Bs.toLowerCase(),Vb=Bs[0].toUpperCase()+Bs.slice(1);$o(Lb,"on"+Vb)}$o(vf,"onAnimationEnd"),$o(mf,"onAnimationIteration"),$o(hf,"onAnimationStart"),$o("dblclick","onDoubleClick"),$o("focusin","onFocus"),$o("focusout","onBlur"),$o(bf,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Yn="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(" "),Wb=new Set("cancel close invalid load scroll toggle".split(" ").concat(Yn));function kf(o,n,a){var u=o.type||"unknown-event";o.currentTarget=a,L0(u,n,void 0,o),o.currentTarget=null}function xf(o,n){n=(n&4)!==0;for(var a=0;a<o.length;a++){var u=o[a],p=u.event;u=u.listeners;e:{var v=void 0;if(n)for(var S=u.length-1;0<=S;S--){var C=u[S],E=C.instance,M=C.currentTarget;if(C=C.listener,E!==v&&p.isPropagationStopped())break e;kf(p,C,M),v=E}else for(S=0;S<u.length;S++){if(C=u[S],E=C.instance,M=C.currentTarget,C=C.listener,E!==v&&p.isPropagationStopped())break e;kf(p,C,M),v=E}}}if($i)throw o=es,$i=!1,es=null,o}function He(o,n){var a=n[qs];a===void 0&&(a=n[qs]=new Set);var u=o+"__bubble";a.has(u)||(Bf(n,o,2,!1),a.add(u))}function Ss(o,n,a){var u=0;n&&(u|=4),Bf(a,o,u,n)}var ca="_reactListening"+Math.random().toString(36).slice(2);function Jn(o){if(!o[ca]){o[ca]=!0,i.forEach(function(a){a!=="selectionchange"&&(Wb.has(a)||Ss(a,!1,o),Ss(a,!0,o))});var n=o.nodeType===9?o:o.ownerDocument;n===null||n[ca]||(n[ca]=!0,Ss("selectionchange",!1,n))}}function Bf(o,n,a,u){switch(Ud(n)){case 1:var p=nb;break;case 4:p=ib;break;default:p=ls}a=p.bind(null,n,a,o),p=void 0,!Zl||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(p=!0),u?p!==void 0?o.addEventListener(n,a,{capture:!0,passive:p}):o.addEventListener(n,a,!0):p!==void 0?o.addEventListener(n,a,{passive:p}):o.addEventListener(n,a,!1)}function zs(o,n,a,u,p){var v=u;if((n&1)===0&&(n&2)===0&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var C=u.stateNode.containerInfo;if(C===p||C.nodeType===8&&C.parentNode===p)break;if(S===4)for(S=u.return;S!==null;){var E=S.tag;if((E===3||E===4)&&(E=S.stateNode.containerInfo,E===p||E.nodeType===8&&E.parentNode===p))return;S=S.return}for(;C!==null;){if(S=Br(C),S===null)return;if(E=S.tag,E===5||E===6){u=v=S;continue e}C=C.parentNode}}u=u.return}Nd(function(){var M=v,J=Ql(a),ee=[];e:{var Y=yf.get(o);if(Y!==void 0){var ce=us,fe=o;switch(o){case"keypress":if(ra(a)===0)break e;case"keydown":case"keyup":ce=wb;break;case"focusin":fe="focus",ce=ps;break;case"focusout":fe="blur",ce=ps;break;case"beforeblur":case"afterblur":ce=ps;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Gd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=sb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=Bb;break;case vf:case mf:case hf:ce=db;break;case bf:ce=zb;break;case"scroll":ce=ab;break;case"wheel":ce=Nb;break;case"copy":case"cut":case"paste":ce=pb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=Qd}var pe=(n&4)!==0,Ze=!pe&&o==="scroll",P=pe?Y!==null?Y+"Capture":null:Y;pe=[];for(var R=M,I;R!==null;){I=R;var ne=I.stateNode;if(I.tag===5&&ne!==null&&(I=ne,P!==null&&(ne=Dn(R,P),ne!=null&&pe.push(Zn(R,ne,I)))),Ze)break;R=R.return}0<pe.length&&(Y=new ce(Y,fe,null,a,J),ee.push({event:Y,listeners:pe}))}}if((n&7)===0){e:{if(Y=o==="mouseover"||o==="pointerover",ce=o==="mouseout"||o==="pointerout",Y&&a!==Kl&&(fe=a.relatedTarget||a.fromElement)&&(Br(fe)||fe[So]))break e;if((ce||Y)&&(Y=J.window===J?J:(Y=J.ownerDocument)?Y.defaultView||Y.parentWindow:window,ce?(fe=a.relatedTarget||a.toElement,ce=M,fe=fe?Br(fe):null,fe!==null&&(Ze=xr(fe),fe!==Ze||fe.tag!==5&&fe.tag!==6)&&(fe=null)):(ce=null,fe=M),ce!==fe)){if(pe=Gd,ne="onMouseLeave",P="onMouseEnter",R="mouse",(o==="pointerout"||o==="pointerover")&&(pe=Qd,ne="onPointerLeave",P="onPointerEnter",R="pointer"),Ze=ce==null?Y:en(ce),I=fe==null?Y:en(fe),Y=new pe(ne,R+"leave",ce,a,J),Y.target=Ze,Y.relatedTarget=I,ne=null,Br(J)===M&&(pe=new pe(P,R+"enter",fe,a,J),pe.target=I,pe.relatedTarget=Ze,ne=pe),Ze=ne,ce&&fe)t:{for(pe=ce,P=fe,R=0,I=pe;I;I=Jr(I))R++;for(I=0,ne=P;ne;ne=Jr(ne))I++;for(;0<R-I;)pe=Jr(pe),R--;for(;0<I-R;)P=Jr(P),I--;for(;R--;){if(pe===P||P!==null&&pe===P.alternate)break t;pe=Jr(pe),P=Jr(P)}pe=null}else pe=null;ce!==null&&Sf(ee,Y,ce,pe,!1),fe!==null&&Ze!==null&&Sf(ee,Ze,fe,pe,!0)}}e:{if(Y=M?en(M):window,ce=Y.nodeName&&Y.nodeName.toLowerCase(),ce==="select"||ce==="input"&&Y.type==="file")var ge=Db;else if(of(Y))if(nf)ge=Mb;else{ge=Fb;var ye=Pb}else(ce=Y.nodeName)&&ce.toLowerCase()==="input"&&(Y.type==="checkbox"||Y.type==="radio")&&(ge=Ib);if(ge&&(ge=ge(o,M))){rf(ee,ge,a,J);break e}ye&&ye(o,Y,M),o==="focusout"&&(ye=Y._wrapperState)&&ye.controlled&&Y.type==="number"&&Wl(Y,"number",Y.value)}switch(ye=M?en(M):window,o){case"focusin":(of(ye)||ye.contentEditable==="true")&&(Qr=ye,ys=M,Qn=null);break;case"focusout":Qn=ys=Qr=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,pf(ee,a,J);break;case"selectionchange":if(Hb)break;case"keydown":case"keyup":pf(ee,a,J)}var we;if(vs)e:{switch(o){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else Kr?ef(o,a)&&(Be="onCompositionEnd"):o==="keydown"&&a.keyCode===229&&(Be="onCompositionStart");Be&&(Yd&&a.locale!=="ko"&&(Kr||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&Kr&&(we=$d()):(Uo=J,cs="value"in Uo?Uo.value:Uo.textContent,Kr=!0)),ye=ua(M,Be),0<ye.length&&(Be=new Kd(Be,o,null,a,J),ee.push({event:Be,listeners:ye}),we?Be.data=we:(we=tf(a),we!==null&&(Be.data=we)))),(we=Tb?jb(o,a):qb(o,a))&&(M=ua(M,"onBeforeInput"),0<M.length&&(J=new Kd("onBeforeInput","beforeinput",null,a,J),ee.push({event:J,listeners:M}),J.data=we))}xf(ee,n)})}function Zn(o,n,a){return{instance:o,listener:n,currentTarget:a}}function ua(o,n){for(var a=n+"Capture",u=[];o!==null;){var p=o,v=p.stateNode;p.tag===5&&v!==null&&(p=v,v=Dn(o,a),v!=null&&u.unshift(Zn(o,v,p)),v=Dn(o,n),v!=null&&u.push(Zn(o,v,p))),o=o.return}return u}function Jr(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function Sf(o,n,a,u,p){for(var v=n._reactName,S=[];a!==null&&a!==u;){var C=a,E=C.alternate,M=C.stateNode;if(E!==null&&E===u)break;C.tag===5&&M!==null&&(C=M,p?(E=Dn(a,v),E!=null&&S.unshift(Zn(a,E,C))):p||(E=Dn(a,v),E!=null&&S.push(Zn(a,E,C)))),a=a.return}S.length!==0&&o.push({event:n,listeners:S})}var Ub=/\r\n?/g,$b=/\u0000|\uFFFD/g;function zf(o){return(typeof o=="string"?o:""+o).replace(Ub,`
|
|
6
|
+
`).replace($b,"")}function da(o,n,a){if(n=zf(n),zf(o)!==n&&a)throw Error(r(425))}function fa(){}var _s=null,Ns=null;function Cs(o,n){return o==="textarea"||o==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Ts=typeof setTimeout=="function"?setTimeout:void 0,Xb=typeof clearTimeout=="function"?clearTimeout:void 0,_f=typeof Promise=="function"?Promise:void 0,Gb=typeof queueMicrotask=="function"?queueMicrotask:typeof _f<"u"?function(o){return _f.resolve(null).then(o).catch(Kb)}:Ts;function Kb(o){setTimeout(function(){throw o})}function js(o,n){var a=n,u=0;do{var p=a.nextSibling;if(o.removeChild(a),p&&p.nodeType===8)if(a=p.data,a==="/$"){if(u===0){o.removeChild(p),Vn(n);return}u--}else a!=="$"&&a!=="$?"&&a!=="$!"||u++;a=p}while(a);Vn(n)}function Xo(o){for(;o!=null;o=o.nextSibling){var n=o.nodeType;if(n===1||n===3)break;if(n===8){if(n=o.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return o}function Nf(o){o=o.previousSibling;for(var n=0;o;){if(o.nodeType===8){var a=o.data;if(a==="$"||a==="$!"||a==="$?"){if(n===0)return o;n--}else a==="/$"&&n++}o=o.previousSibling}return null}var Zr=Math.random().toString(36).slice(2),go="__reactFiber$"+Zr,ei="__reactProps$"+Zr,So="__reactContainer$"+Zr,qs="__reactEvents$"+Zr,Qb="__reactListeners$"+Zr,Yb="__reactHandles$"+Zr;function Br(o){var n=o[go];if(n)return n;for(var a=o.parentNode;a;){if(n=a[So]||a[go]){if(a=n.alternate,n.child!==null||a!==null&&a.child!==null)for(o=Nf(o);o!==null;){if(a=o[go])return a;o=Nf(o)}return n}o=a,a=o.parentNode}return null}function ti(o){return o=o[go]||o[So],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function en(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(r(33))}function pa(o){return o[ei]||null}var Es=[],tn=-1;function Go(o){return{current:o}}function Le(o){0>tn||(o.current=Es[tn],Es[tn]=null,tn--)}function Me(o,n){tn++,Es[tn]=o.current,o.current=n}var Ko={},vt=Go(Ko),Bt=Go(!1),Sr=Ko;function on(o,n){var a=o.type.contextTypes;if(!a)return Ko;var u=o.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===n)return u.__reactInternalMemoizedMaskedChildContext;var p={},v;for(v in a)p[v]=n[v];return u&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=n,o.__reactInternalMemoizedMaskedChildContext=p),p}function St(o){return o=o.childContextTypes,o!=null}function ga(){Le(Bt),Le(vt)}function Cf(o,n,a){if(vt.current!==Ko)throw Error(r(168));Me(vt,n),Me(Bt,a)}function Tf(o,n,a){var u=o.stateNode;if(n=n.childContextTypes,typeof u.getChildContext!="function")return a;u=u.getChildContext();for(var p in u)if(!(p in n))throw Error(r(108,ct(o)||"Unknown",p));return U({},a,u)}function va(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Ko,Sr=vt.current,Me(vt,o),Me(Bt,Bt.current),!0}function jf(o,n,a){var u=o.stateNode;if(!u)throw Error(r(169));a?(o=Tf(o,n,Sr),u.__reactInternalMemoizedMergedChildContext=o,Le(Bt),Le(vt),Me(vt,o)):Le(Bt),Me(Bt,a)}var zo=null,ma=!1,Rs=!1;function qf(o){zo===null?zo=[o]:zo.push(o)}function Jb(o){ma=!0,qf(o)}function Qo(){if(!Rs&&zo!==null){Rs=!0;var o=0,n=Fe;try{var a=zo;for(Fe=1;o<a.length;o++){var u=a[o];do u=u(!0);while(u!==null)}zo=null,ma=!1}catch(p){throw zo!==null&&(zo=zo.slice(o+1)),Ed(ts,Qo),p}finally{Fe=n,Rs=!1}}return null}var rn=[],nn=0,ha=null,ba=0,At=[],Ht=0,zr=null,_o=1,No="";function _r(o,n){rn[nn++]=ba,rn[nn++]=ha,ha=o,ba=n}function Ef(o,n,a){At[Ht++]=_o,At[Ht++]=No,At[Ht++]=zr,zr=o;var u=_o;o=No;var p=32-Jt(u)-1;u&=~(1<<p),a+=1;var v=32-Jt(n)+p;if(30<v){var S=p-p%5;v=(u&(1<<S)-1).toString(32),u>>=S,p-=S,_o=1<<32-Jt(n)+p|a<<p|u,No=v+o}else _o=1<<v|a<<p|u,No=o}function Ds(o){o.return!==null&&(_r(o,1),Ef(o,1,0))}function Ps(o){for(;o===ha;)ha=rn[--nn],rn[nn]=null,ba=rn[--nn],rn[nn]=null;for(;o===zr;)zr=At[--Ht],At[Ht]=null,No=At[--Ht],At[Ht]=null,_o=At[--Ht],At[Ht]=null}var Et=null,Rt=null,Ve=!1,eo=null;function Rf(o,n){var a=Ut(5,null,null,0);a.elementType="DELETED",a.stateNode=n,a.return=o,n=o.deletions,n===null?(o.deletions=[a],o.flags|=16):n.push(a)}function Df(o,n){switch(o.tag){case 5:var a=o.type;return n=n.nodeType!==1||a.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(o.stateNode=n,Et=o,Rt=Xo(n.firstChild),!0):!1;case 6:return n=o.pendingProps===""||n.nodeType!==3?null:n,n!==null?(o.stateNode=n,Et=o,Rt=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(a=zr!==null?{id:_o,overflow:No}:null,o.memoizedState={dehydrated:n,treeContext:a,retryLane:1073741824},a=Ut(18,null,null,0),a.stateNode=n,a.return=o,o.child=a,Et=o,Rt=null,!0):!1;default:return!1}}function Fs(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Is(o){if(Ve){var n=Rt;if(n){var a=n;if(!Df(o,n)){if(Fs(o))throw Error(r(418));n=Xo(a.nextSibling);var u=Et;n&&Df(o,n)?Rf(u,a):(o.flags=o.flags&-4097|2,Ve=!1,Et=o)}}else{if(Fs(o))throw Error(r(418));o.flags=o.flags&-4097|2,Ve=!1,Et=o}}}function Pf(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;Et=o}function ya(o){if(o!==Et)return!1;if(!Ve)return Pf(o),Ve=!0,!1;var n;if((n=o.tag!==3)&&!(n=o.tag!==5)&&(n=o.type,n=n!=="head"&&n!=="body"&&!Cs(o.type,o.memoizedProps)),n&&(n=Rt)){if(Fs(o))throw Ff(),Error(r(418));for(;n;)Rf(o,n),n=Xo(n.nextSibling)}if(Pf(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));e:{for(o=o.nextSibling,n=0;o;){if(o.nodeType===8){var a=o.data;if(a==="/$"){if(n===0){Rt=Xo(o.nextSibling);break e}n--}else a!=="$"&&a!=="$!"&&a!=="$?"||n++}o=o.nextSibling}Rt=null}}else Rt=Et?Xo(o.stateNode.nextSibling):null;return!0}function Ff(){for(var o=Rt;o;)o=Xo(o.nextSibling)}function an(){Rt=Et=null,Ve=!1}function Ms(o){eo===null?eo=[o]:eo.push(o)}var Zb=N.ReactCurrentBatchConfig;function oi(o,n,a){if(o=a.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(r(309));var u=a.stateNode}if(!u)throw Error(r(147,o));var p=u,v=""+o;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===v?n.ref:(n=function(S){var C=p.refs;S===null?delete C[v]:C[v]=S},n._stringRef=v,n)}if(typeof o!="string")throw Error(r(284));if(!a._owner)throw Error(r(290,o))}return o}function wa(o,n){throw o=Object.prototype.toString.call(n),Error(r(31,o==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":o))}function If(o){var n=o._init;return n(o._payload)}function Mf(o){function n(P,R){if(o){var I=P.deletions;I===null?(P.deletions=[R],P.flags|=16):I.push(R)}}function a(P,R){if(!o)return null;for(;R!==null;)n(P,R),R=R.sibling;return null}function u(P,R){for(P=new Map;R!==null;)R.key!==null?P.set(R.key,R):P.set(R.index,R),R=R.sibling;return P}function p(P,R){return P=nr(P,R),P.index=0,P.sibling=null,P}function v(P,R,I){return P.index=I,o?(I=P.alternate,I!==null?(I=I.index,I<R?(P.flags|=2,R):I):(P.flags|=2,R)):(P.flags|=1048576,R)}function S(P){return o&&P.alternate===null&&(P.flags|=2),P}function C(P,R,I,ne){return R===null||R.tag!==6?(R=Tc(I,P.mode,ne),R.return=P,R):(R=p(R,I),R.return=P,R)}function E(P,R,I,ne){var ge=I.type;return ge===F?J(P,R,I.props.children,ne,I.key):R!==null&&(R.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===A&&If(ge)===R.type)?(ne=p(R,I.props),ne.ref=oi(P,R,I),ne.return=P,ne):(ne=Wa(I.type,I.key,I.props,null,P.mode,ne),ne.ref=oi(P,R,I),ne.return=P,ne)}function M(P,R,I,ne){return R===null||R.tag!==4||R.stateNode.containerInfo!==I.containerInfo||R.stateNode.implementation!==I.implementation?(R=jc(I,P.mode,ne),R.return=P,R):(R=p(R,I.children||[]),R.return=P,R)}function J(P,R,I,ne,ge){return R===null||R.tag!==7?(R=Dr(I,P.mode,ne,ge),R.return=P,R):(R=p(R,I),R.return=P,R)}function ee(P,R,I){if(typeof R=="string"&&R!==""||typeof R=="number")return R=Tc(""+R,P.mode,I),R.return=P,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case q:return I=Wa(R.type,R.key,R.props,null,P.mode,I),I.ref=oi(P,null,R),I.return=P,I;case j:return R=jc(R,P.mode,I),R.return=P,R;case A:var ne=R._init;return ee(P,ne(R._payload),I)}if(qn(R)||W(R))return R=Dr(R,P.mode,I,null),R.return=P,R;wa(P,R)}return null}function Y(P,R,I,ne){var ge=R!==null?R.key:null;if(typeof I=="string"&&I!==""||typeof I=="number")return ge!==null?null:C(P,R,""+I,ne);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case q:return I.key===ge?E(P,R,I,ne):null;case j:return I.key===ge?M(P,R,I,ne):null;case A:return ge=I._init,Y(P,R,ge(I._payload),ne)}if(qn(I)||W(I))return ge!==null?null:J(P,R,I,ne,null);wa(P,I)}return null}function ce(P,R,I,ne,ge){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return P=P.get(I)||null,C(R,P,""+ne,ge);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case q:return P=P.get(ne.key===null?I:ne.key)||null,E(R,P,ne,ge);case j:return P=P.get(ne.key===null?I:ne.key)||null,M(R,P,ne,ge);case A:var ye=ne._init;return ce(P,R,I,ye(ne._payload),ge)}if(qn(ne)||W(ne))return P=P.get(I)||null,J(R,P,ne,ge,null);wa(R,ne)}return null}function fe(P,R,I,ne){for(var ge=null,ye=null,we=R,Be=R=0,lt=null;we!==null&&Be<I.length;Be++){we.index>Be?(lt=we,we=null):lt=we.sibling;var Ee=Y(P,we,I[Be],ne);if(Ee===null){we===null&&(we=lt);break}o&&we&&Ee.alternate===null&&n(P,we),R=v(Ee,R,Be),ye===null?ge=Ee:ye.sibling=Ee,ye=Ee,we=lt}if(Be===I.length)return a(P,we),Ve&&_r(P,Be),ge;if(we===null){for(;Be<I.length;Be++)we=ee(P,I[Be],ne),we!==null&&(R=v(we,R,Be),ye===null?ge=we:ye.sibling=we,ye=we);return Ve&&_r(P,Be),ge}for(we=u(P,we);Be<I.length;Be++)lt=ce(we,P,Be,I[Be],ne),lt!==null&&(o&<.alternate!==null&&we.delete(lt.key===null?Be:lt.key),R=v(lt,R,Be),ye===null?ge=lt:ye.sibling=lt,ye=lt);return o&&we.forEach(function(ir){return n(P,ir)}),Ve&&_r(P,Be),ge}function pe(P,R,I,ne){var ge=W(I);if(typeof ge!="function")throw Error(r(150));if(I=ge.call(I),I==null)throw Error(r(151));for(var ye=ge=null,we=R,Be=R=0,lt=null,Ee=I.next();we!==null&&!Ee.done;Be++,Ee=I.next()){we.index>Be?(lt=we,we=null):lt=we.sibling;var ir=Y(P,we,Ee.value,ne);if(ir===null){we===null&&(we=lt);break}o&&we&&ir.alternate===null&&n(P,we),R=v(ir,R,Be),ye===null?ge=ir:ye.sibling=ir,ye=ir,we=lt}if(Ee.done)return a(P,we),Ve&&_r(P,Be),ge;if(we===null){for(;!Ee.done;Be++,Ee=I.next())Ee=ee(P,Ee.value,ne),Ee!==null&&(R=v(Ee,R,Be),ye===null?ge=Ee:ye.sibling=Ee,ye=Ee);return Ve&&_r(P,Be),ge}for(we=u(P,we);!Ee.done;Be++,Ee=I.next())Ee=ce(we,P,Be,Ee.value,ne),Ee!==null&&(o&&Ee.alternate!==null&&we.delete(Ee.key===null?Be:Ee.key),R=v(Ee,R,Be),ye===null?ge=Ee:ye.sibling=Ee,ye=Ee);return o&&we.forEach(function(E1){return n(P,E1)}),Ve&&_r(P,Be),ge}function Ze(P,R,I,ne){if(typeof I=="object"&&I!==null&&I.type===F&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case q:e:{for(var ge=I.key,ye=R;ye!==null;){if(ye.key===ge){if(ge=I.type,ge===F){if(ye.tag===7){a(P,ye.sibling),R=p(ye,I.props.children),R.return=P,P=R;break e}}else if(ye.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===A&&If(ge)===ye.type){a(P,ye.sibling),R=p(ye,I.props),R.ref=oi(P,ye,I),R.return=P,P=R;break e}a(P,ye);break}else n(P,ye);ye=ye.sibling}I.type===F?(R=Dr(I.props.children,P.mode,ne,I.key),R.return=P,P=R):(ne=Wa(I.type,I.key,I.props,null,P.mode,ne),ne.ref=oi(P,R,I),ne.return=P,P=ne)}return S(P);case j:e:{for(ye=I.key;R!==null;){if(R.key===ye)if(R.tag===4&&R.stateNode.containerInfo===I.containerInfo&&R.stateNode.implementation===I.implementation){a(P,R.sibling),R=p(R,I.children||[]),R.return=P,P=R;break e}else{a(P,R);break}else n(P,R);R=R.sibling}R=jc(I,P.mode,ne),R.return=P,P=R}return S(P);case A:return ye=I._init,Ze(P,R,ye(I._payload),ne)}if(qn(I))return fe(P,R,I,ne);if(W(I))return pe(P,R,I,ne);wa(P,I)}return typeof I=="string"&&I!==""||typeof I=="number"?(I=""+I,R!==null&&R.tag===6?(a(P,R.sibling),R=p(R,I),R.return=P,P=R):(a(P,R),R=Tc(I,P.mode,ne),R.return=P,P=R),S(P)):a(P,R)}return Ze}var ln=Mf(!0),Of=Mf(!1),ka=Go(null),xa=null,sn=null,Os=null;function As(){Os=sn=xa=null}function Hs(o){var n=ka.current;Le(ka),o._currentValue=n}function Ls(o,n,a){for(;o!==null;){var u=o.alternate;if((o.childLanes&n)!==n?(o.childLanes|=n,u!==null&&(u.childLanes|=n)):u!==null&&(u.childLanes&n)!==n&&(u.childLanes|=n),o===a)break;o=o.return}}function cn(o,n){xa=o,Os=sn=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&n)!==0&&(zt=!0),o.firstContext=null)}function Lt(o){var n=o._currentValue;if(Os!==o)if(o={context:o,memoizedValue:n,next:null},sn===null){if(xa===null)throw Error(r(308));sn=o,xa.dependencies={lanes:0,firstContext:o}}else sn=sn.next=o;return n}var Nr=null;function Vs(o){Nr===null?Nr=[o]:Nr.push(o)}function Af(o,n,a,u){var p=n.interleaved;return p===null?(a.next=a,Vs(n)):(a.next=p.next,p.next=a),n.interleaved=a,Co(o,u)}function Co(o,n){o.lanes|=n;var a=o.alternate;for(a!==null&&(a.lanes|=n),a=o,o=o.return;o!==null;)o.childLanes|=n,a=o.alternate,a!==null&&(a.childLanes|=n),a=o,o=o.return;return a.tag===3?a.stateNode:null}var Yo=!1;function Ws(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hf(o,n){o=o.updateQueue,n.updateQueue===o&&(n.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function To(o,n){return{eventTime:o,lane:n,tag:0,payload:null,callback:null,next:null}}function Jo(o,n,a){var u=o.updateQueue;if(u===null)return null;if(u=u.shared,(je&2)!==0){var p=u.pending;return p===null?n.next=n:(n.next=p.next,p.next=n),u.pending=n,Co(o,a)}return p=u.interleaved,p===null?(n.next=n,Vs(u)):(n.next=p.next,p.next=n),u.interleaved=n,Co(o,a)}function Ba(o,n,a){if(n=n.updateQueue,n!==null&&(n=n.shared,(a&4194240)!==0)){var u=n.lanes;u&=o.pendingLanes,a|=u,n.lanes=a,ns(o,a)}}function Lf(o,n){var a=o.updateQueue,u=o.alternate;if(u!==null&&(u=u.updateQueue,a===u)){var p=null,v=null;if(a=a.firstBaseUpdate,a!==null){do{var S={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};v===null?p=v=S:v=v.next=S,a=a.next}while(a!==null);v===null?p=v=n:v=v.next=n}else p=v=n;a={baseState:u.baseState,firstBaseUpdate:p,lastBaseUpdate:v,shared:u.shared,effects:u.effects},o.updateQueue=a;return}o=a.lastBaseUpdate,o===null?a.firstBaseUpdate=n:o.next=n,a.lastBaseUpdate=n}function Sa(o,n,a,u){var p=o.updateQueue;Yo=!1;var v=p.firstBaseUpdate,S=p.lastBaseUpdate,C=p.shared.pending;if(C!==null){p.shared.pending=null;var E=C,M=E.next;E.next=null,S===null?v=M:S.next=M,S=E;var J=o.alternate;J!==null&&(J=J.updateQueue,C=J.lastBaseUpdate,C!==S&&(C===null?J.firstBaseUpdate=M:C.next=M,J.lastBaseUpdate=E))}if(v!==null){var ee=p.baseState;S=0,J=M=E=null,C=v;do{var Y=C.lane,ce=C.eventTime;if((u&Y)===Y){J!==null&&(J=J.next={eventTime:ce,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var fe=o,pe=C;switch(Y=n,ce=a,pe.tag){case 1:if(fe=pe.payload,typeof fe=="function"){ee=fe.call(ce,ee,Y);break e}ee=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=pe.payload,Y=typeof fe=="function"?fe.call(ce,ee,Y):fe,Y==null)break e;ee=U({},ee,Y);break e;case 2:Yo=!0}}C.callback!==null&&C.lane!==0&&(o.flags|=64,Y=p.effects,Y===null?p.effects=[C]:Y.push(C))}else ce={eventTime:ce,lane:Y,tag:C.tag,payload:C.payload,callback:C.callback,next:null},J===null?(M=J=ce,E=ee):J=J.next=ce,S|=Y;if(C=C.next,C===null){if(C=p.shared.pending,C===null)break;Y=C,C=Y.next,Y.next=null,p.lastBaseUpdate=Y,p.shared.pending=null}}while(!0);if(J===null&&(E=ee),p.baseState=E,p.firstBaseUpdate=M,p.lastBaseUpdate=J,n=p.shared.interleaved,n!==null){p=n;do S|=p.lane,p=p.next;while(p!==n)}else v===null&&(p.shared.lanes=0);jr|=S,o.lanes=S,o.memoizedState=ee}}function Vf(o,n,a){if(o=n.effects,n.effects=null,o!==null)for(n=0;n<o.length;n++){var u=o[n],p=u.callback;if(p!==null){if(u.callback=null,u=a,typeof p!="function")throw Error(r(191,p));p.call(u)}}}var ri={},vo=Go(ri),ni=Go(ri),ii=Go(ri);function Cr(o){if(o===ri)throw Error(r(174));return o}function Us(o,n){switch(Me(ii,n),Me(ni,o),Me(vo,ri),o=n.nodeType,o){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:$l(null,"");break;default:o=o===8?n.parentNode:n,n=o.namespaceURI||null,o=o.tagName,n=$l(n,o)}Le(vo),Me(vo,n)}function un(){Le(vo),Le(ni),Le(ii)}function Wf(o){Cr(ii.current);var n=Cr(vo.current),a=$l(n,o.type);n!==a&&(Me(ni,o),Me(vo,a))}function $s(o){ni.current===o&&(Le(vo),Le(ni))}var Ue=Go(0);function za(o){for(var n=o;n!==null;){if(n.tag===13){var a=n.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===o)break;for(;n.sibling===null;){if(n.return===null||n.return===o)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Xs=[];function Gs(){for(var o=0;o<Xs.length;o++)Xs[o]._workInProgressVersionPrimary=null;Xs.length=0}var _a=N.ReactCurrentDispatcher,Ks=N.ReactCurrentBatchConfig,Tr=0,$e=null,rt=null,it=null,Na=!1,ai=!1,li=0,e1=0;function mt(){throw Error(r(321))}function Qs(o,n){if(n===null)return!1;for(var a=0;a<n.length&&a<o.length;a++)if(!Zt(o[a],n[a]))return!1;return!0}function Ys(o,n,a,u,p,v){if(Tr=v,$e=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,_a.current=o===null||o.memoizedState===null?n1:i1,o=a(u,p),ai){v=0;do{if(ai=!1,li=0,25<=v)throw Error(r(301));v+=1,it=rt=null,n.updateQueue=null,_a.current=a1,o=a(u,p)}while(ai)}if(_a.current=ja,n=rt!==null&&rt.next!==null,Tr=0,it=rt=$e=null,Na=!1,n)throw Error(r(300));return o}function Js(){var o=li!==0;return li=0,o}function mo(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?$e.memoizedState=it=o:it=it.next=o,it}function Vt(){if(rt===null){var o=$e.alternate;o=o!==null?o.memoizedState:null}else o=rt.next;var n=it===null?$e.memoizedState:it.next;if(n!==null)it=n,rt=o;else{if(o===null)throw Error(r(310));rt=o,o={memoizedState:rt.memoizedState,baseState:rt.baseState,baseQueue:rt.baseQueue,queue:rt.queue,next:null},it===null?$e.memoizedState=it=o:it=it.next=o}return it}function si(o,n){return typeof n=="function"?n(o):n}function Zs(o){var n=Vt(),a=n.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=o;var u=rt,p=u.baseQueue,v=a.pending;if(v!==null){if(p!==null){var S=p.next;p.next=v.next,v.next=S}u.baseQueue=p=v,a.pending=null}if(p!==null){v=p.next,u=u.baseState;var C=S=null,E=null,M=v;do{var J=M.lane;if((Tr&J)===J)E!==null&&(E=E.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),u=M.hasEagerState?M.eagerState:o(u,M.action);else{var ee={lane:J,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};E===null?(C=E=ee,S=u):E=E.next=ee,$e.lanes|=J,jr|=J}M=M.next}while(M!==null&&M!==v);E===null?S=u:E.next=C,Zt(u,n.memoizedState)||(zt=!0),n.memoizedState=u,n.baseState=S,n.baseQueue=E,a.lastRenderedState=u}if(o=a.interleaved,o!==null){p=o;do v=p.lane,$e.lanes|=v,jr|=v,p=p.next;while(p!==o)}else p===null&&(a.lanes=0);return[n.memoizedState,a.dispatch]}function ec(o){var n=Vt(),a=n.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=o;var u=a.dispatch,p=a.pending,v=n.memoizedState;if(p!==null){a.pending=null;var S=p=p.next;do v=o(v,S.action),S=S.next;while(S!==p);Zt(v,n.memoizedState)||(zt=!0),n.memoizedState=v,n.baseQueue===null&&(n.baseState=v),a.lastRenderedState=v}return[v,u]}function Uf(){}function $f(o,n){var a=$e,u=Vt(),p=n(),v=!Zt(u.memoizedState,p);if(v&&(u.memoizedState=p,zt=!0),u=u.queue,tc(Kf.bind(null,a,u,o),[o]),u.getSnapshot!==n||v||it!==null&&it.memoizedState.tag&1){if(a.flags|=2048,ci(9,Gf.bind(null,a,u,p,n),void 0,null),at===null)throw Error(r(349));(Tr&30)!==0||Xf(a,n,p)}return p}function Xf(o,n,a){o.flags|=16384,o={getSnapshot:n,value:a},n=$e.updateQueue,n===null?(n={lastEffect:null,stores:null},$e.updateQueue=n,n.stores=[o]):(a=n.stores,a===null?n.stores=[o]:a.push(o))}function Gf(o,n,a,u){n.value=a,n.getSnapshot=u,Qf(n)&&Yf(o)}function Kf(o,n,a){return a(function(){Qf(n)&&Yf(o)})}function Qf(o){var n=o.getSnapshot;o=o.value;try{var a=n();return!Zt(o,a)}catch{return!0}}function Yf(o){var n=Co(o,1);n!==null&&no(n,o,1,-1)}function Jf(o){var n=mo();return typeof o=="function"&&(o=o()),n.memoizedState=n.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:o},n.queue=o,o=o.dispatch=r1.bind(null,$e,o),[n.memoizedState,o]}function ci(o,n,a,u){return o={tag:o,create:n,destroy:a,deps:u,next:null},n=$e.updateQueue,n===null?(n={lastEffect:null,stores:null},$e.updateQueue=n,n.lastEffect=o.next=o):(a=n.lastEffect,a===null?n.lastEffect=o.next=o:(u=a.next,a.next=o,o.next=u,n.lastEffect=o)),o}function Zf(){return Vt().memoizedState}function Ca(o,n,a,u){var p=mo();$e.flags|=o,p.memoizedState=ci(1|n,a,void 0,u===void 0?null:u)}function Ta(o,n,a,u){var p=Vt();u=u===void 0?null:u;var v=void 0;if(rt!==null){var S=rt.memoizedState;if(v=S.destroy,u!==null&&Qs(u,S.deps)){p.memoizedState=ci(n,a,v,u);return}}$e.flags|=o,p.memoizedState=ci(1|n,a,v,u)}function ep(o,n){return Ca(8390656,8,o,n)}function tc(o,n){return Ta(2048,8,o,n)}function tp(o,n){return Ta(4,2,o,n)}function op(o,n){return Ta(4,4,o,n)}function rp(o,n){if(typeof n=="function")return o=o(),n(o),function(){n(null)};if(n!=null)return o=o(),n.current=o,function(){n.current=null}}function np(o,n,a){return a=a!=null?a.concat([o]):null,Ta(4,4,rp.bind(null,n,o),a)}function oc(){}function ip(o,n){var a=Vt();n=n===void 0?null:n;var u=a.memoizedState;return u!==null&&n!==null&&Qs(n,u[1])?u[0]:(a.memoizedState=[o,n],o)}function ap(o,n){var a=Vt();n=n===void 0?null:n;var u=a.memoizedState;return u!==null&&n!==null&&Qs(n,u[1])?u[0]:(o=o(),a.memoizedState=[o,n],o)}function lp(o,n,a){return(Tr&21)===0?(o.baseState&&(o.baseState=!1,zt=!0),o.memoizedState=a):(Zt(a,n)||(a=Fd(),$e.lanes|=a,jr|=a,o.baseState=!0),n)}function t1(o,n){var a=Fe;Fe=a!==0&&4>a?a:4,o(!0);var u=Ks.transition;Ks.transition={};try{o(!1),n()}finally{Fe=a,Ks.transition=u}}function sp(){return Vt().memoizedState}function o1(o,n,a){var u=or(o);if(a={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null},cp(o))up(n,a);else if(a=Af(o,n,a,u),a!==null){var p=xt();no(a,o,u,p),dp(a,n,u)}}function r1(o,n,a){var u=or(o),p={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(cp(o))up(n,p);else{var v=o.alternate;if(o.lanes===0&&(v===null||v.lanes===0)&&(v=n.lastRenderedReducer,v!==null))try{var S=n.lastRenderedState,C=v(S,a);if(p.hasEagerState=!0,p.eagerState=C,Zt(C,S)){var E=n.interleaved;E===null?(p.next=p,Vs(n)):(p.next=E.next,E.next=p),n.interleaved=p;return}}catch{}a=Af(o,n,p,u),a!==null&&(p=xt(),no(a,o,u,p),dp(a,n,u))}}function cp(o){var n=o.alternate;return o===$e||n!==null&&n===$e}function up(o,n){ai=Na=!0;var a=o.pending;a===null?n.next=n:(n.next=a.next,a.next=n),o.pending=n}function dp(o,n,a){if((a&4194240)!==0){var u=n.lanes;u&=o.pendingLanes,a|=u,n.lanes=a,ns(o,a)}}var ja={readContext:Lt,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useInsertionEffect:mt,useLayoutEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useMutableSource:mt,useSyncExternalStore:mt,useId:mt,unstable_isNewReconciler:!1},n1={readContext:Lt,useCallback:function(o,n){return mo().memoizedState=[o,n===void 0?null:n],o},useContext:Lt,useEffect:ep,useImperativeHandle:function(o,n,a){return a=a!=null?a.concat([o]):null,Ca(4194308,4,rp.bind(null,n,o),a)},useLayoutEffect:function(o,n){return Ca(4194308,4,o,n)},useInsertionEffect:function(o,n){return Ca(4,2,o,n)},useMemo:function(o,n){var a=mo();return n=n===void 0?null:n,o=o(),a.memoizedState=[o,n],o},useReducer:function(o,n,a){var u=mo();return n=a!==void 0?a(n):n,u.memoizedState=u.baseState=n,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:n},u.queue=o,o=o.dispatch=o1.bind(null,$e,o),[u.memoizedState,o]},useRef:function(o){var n=mo();return o={current:o},n.memoizedState=o},useState:Jf,useDebugValue:oc,useDeferredValue:function(o){return mo().memoizedState=o},useTransition:function(){var o=Jf(!1),n=o[0];return o=t1.bind(null,o[1]),mo().memoizedState=o,[n,o]},useMutableSource:function(){},useSyncExternalStore:function(o,n,a){var u=$e,p=mo();if(Ve){if(a===void 0)throw Error(r(407));a=a()}else{if(a=n(),at===null)throw Error(r(349));(Tr&30)!==0||Xf(u,n,a)}p.memoizedState=a;var v={value:a,getSnapshot:n};return p.queue=v,ep(Kf.bind(null,u,v,o),[o]),u.flags|=2048,ci(9,Gf.bind(null,u,v,a,n),void 0,null),a},useId:function(){var o=mo(),n=at.identifierPrefix;if(Ve){var a=No,u=_o;a=(u&~(1<<32-Jt(u)-1)).toString(32)+a,n=":"+n+"R"+a,a=li++,0<a&&(n+="H"+a.toString(32)),n+=":"}else a=e1++,n=":"+n+"r"+a.toString(32)+":";return o.memoizedState=n},unstable_isNewReconciler:!1},i1={readContext:Lt,useCallback:ip,useContext:Lt,useEffect:tc,useImperativeHandle:np,useInsertionEffect:tp,useLayoutEffect:op,useMemo:ap,useReducer:Zs,useRef:Zf,useState:function(){return Zs(si)},useDebugValue:oc,useDeferredValue:function(o){var n=Vt();return lp(n,rt.memoizedState,o)},useTransition:function(){var o=Zs(si)[0],n=Vt().memoizedState;return[o,n]},useMutableSource:Uf,useSyncExternalStore:$f,useId:sp,unstable_isNewReconciler:!1},a1={readContext:Lt,useCallback:ip,useContext:Lt,useEffect:tc,useImperativeHandle:np,useInsertionEffect:tp,useLayoutEffect:op,useMemo:ap,useReducer:ec,useRef:Zf,useState:function(){return ec(si)},useDebugValue:oc,useDeferredValue:function(o){var n=Vt();return rt===null?n.memoizedState=o:lp(n,rt.memoizedState,o)},useTransition:function(){var o=ec(si)[0],n=Vt().memoizedState;return[o,n]},useMutableSource:Uf,useSyncExternalStore:$f,useId:sp,unstable_isNewReconciler:!1};function to(o,n){if(o&&o.defaultProps){n=U({},n),o=o.defaultProps;for(var a in o)n[a]===void 0&&(n[a]=o[a]);return n}return n}function rc(o,n,a,u){n=o.memoizedState,a=a(u,n),a=a==null?n:U({},n,a),o.memoizedState=a,o.lanes===0&&(o.updateQueue.baseState=a)}var qa={isMounted:function(o){return(o=o._reactInternals)?xr(o)===o:!1},enqueueSetState:function(o,n,a){o=o._reactInternals;var u=xt(),p=or(o),v=To(u,p);v.payload=n,a!=null&&(v.callback=a),n=Jo(o,v,p),n!==null&&(no(n,o,p,u),Ba(n,o,p))},enqueueReplaceState:function(o,n,a){o=o._reactInternals;var u=xt(),p=or(o),v=To(u,p);v.tag=1,v.payload=n,a!=null&&(v.callback=a),n=Jo(o,v,p),n!==null&&(no(n,o,p,u),Ba(n,o,p))},enqueueForceUpdate:function(o,n){o=o._reactInternals;var a=xt(),u=or(o),p=To(a,u);p.tag=2,n!=null&&(p.callback=n),n=Jo(o,p,u),n!==null&&(no(n,o,u,a),Ba(n,o,u))}};function fp(o,n,a,u,p,v,S){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(u,v,S):n.prototype&&n.prototype.isPureReactComponent?!Kn(a,u)||!Kn(p,v):!0}function pp(o,n,a){var u=!1,p=Ko,v=n.contextType;return typeof v=="object"&&v!==null?v=Lt(v):(p=St(n)?Sr:vt.current,u=n.contextTypes,v=(u=u!=null)?on(o,p):Ko),n=new n(a,v),o.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=qa,o.stateNode=n,n._reactInternals=o,u&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=p,o.__reactInternalMemoizedMaskedChildContext=v),n}function gp(o,n,a,u){o=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(a,u),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(a,u),n.state!==o&&qa.enqueueReplaceState(n,n.state,null)}function nc(o,n,a,u){var p=o.stateNode;p.props=a,p.state=o.memoizedState,p.refs={},Ws(o);var v=n.contextType;typeof v=="object"&&v!==null?p.context=Lt(v):(v=St(n)?Sr:vt.current,p.context=on(o,v)),p.state=o.memoizedState,v=n.getDerivedStateFromProps,typeof v=="function"&&(rc(o,n,v,a),p.state=o.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(n=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),n!==p.state&&qa.enqueueReplaceState(p,p.state,null),Sa(o,a,p,u),p.state=o.memoizedState),typeof p.componentDidMount=="function"&&(o.flags|=4194308)}function dn(o,n){try{var a="",u=n;do a+=le(u),u=u.return;while(u);var p=a}catch(v){p=`
|
|
7
|
+
Error generating stack: `+v.message+`
|
|
8
|
+
`+v.stack}return{value:o,source:n,stack:p,digest:null}}function ic(o,n,a){return{value:o,source:null,stack:a??null,digest:n??null}}function ac(o,n){try{console.error(n.value)}catch(a){setTimeout(function(){throw a})}}var l1=typeof WeakMap=="function"?WeakMap:Map;function vp(o,n,a){a=To(-1,a),a.tag=3,a.payload={element:null};var u=n.value;return a.callback=function(){Ma||(Ma=!0,kc=u),ac(o,n)},a}function mp(o,n,a){a=To(-1,a),a.tag=3;var u=o.type.getDerivedStateFromError;if(typeof u=="function"){var p=n.value;a.payload=function(){return u(p)},a.callback=function(){ac(o,n)}}var v=o.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(a.callback=function(){ac(o,n),typeof u!="function"&&(er===null?er=new Set([this]):er.add(this));var S=n.stack;this.componentDidCatch(n.value,{componentStack:S!==null?S:""})}),a}function hp(o,n,a){var u=o.pingCache;if(u===null){u=o.pingCache=new l1;var p=new Set;u.set(n,p)}else p=u.get(n),p===void 0&&(p=new Set,u.set(n,p));p.has(a)||(p.add(a),o=k1.bind(null,o,n,a),n.then(o,o))}function bp(o){do{var n;if((n=o.tag===13)&&(n=o.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return o;o=o.return}while(o!==null);return null}function yp(o,n,a,u,p){return(o.mode&1)===0?(o===n?o.flags|=65536:(o.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(n=To(-1,1),n.tag=2,Jo(a,n,1))),a.lanes|=1),o):(o.flags|=65536,o.lanes=p,o)}var s1=N.ReactCurrentOwner,zt=!1;function kt(o,n,a,u){n.child=o===null?Of(n,null,a,u):ln(n,o.child,a,u)}function wp(o,n,a,u,p){a=a.render;var v=n.ref;return cn(n,p),u=Ys(o,n,a,u,v,p),a=Js(),o!==null&&!zt?(n.updateQueue=o.updateQueue,n.flags&=-2053,o.lanes&=~p,jo(o,n,p)):(Ve&&a&&Ds(n),n.flags|=1,kt(o,n,u,p),n.child)}function kp(o,n,a,u,p){if(o===null){var v=a.type;return typeof v=="function"&&!Cc(v)&&v.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(n.tag=15,n.type=v,xp(o,n,v,u,p)):(o=Wa(a.type,null,u,n,n.mode,p),o.ref=n.ref,o.return=n,n.child=o)}if(v=o.child,(o.lanes&p)===0){var S=v.memoizedProps;if(a=a.compare,a=a!==null?a:Kn,a(S,u)&&o.ref===n.ref)return jo(o,n,p)}return n.flags|=1,o=nr(v,u),o.ref=n.ref,o.return=n,n.child=o}function xp(o,n,a,u,p){if(o!==null){var v=o.memoizedProps;if(Kn(v,u)&&o.ref===n.ref)if(zt=!1,n.pendingProps=u=v,(o.lanes&p)!==0)(o.flags&131072)!==0&&(zt=!0);else return n.lanes=o.lanes,jo(o,n,p)}return lc(o,n,a,u,p)}function Bp(o,n,a){var u=n.pendingProps,p=u.children,v=o!==null?o.memoizedState:null;if(u.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(pn,Dt),Dt|=a;else{if((a&1073741824)===0)return o=v!==null?v.baseLanes|a:a,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:o,cachePool:null,transitions:null},n.updateQueue=null,Me(pn,Dt),Dt|=o,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=v!==null?v.baseLanes:a,Me(pn,Dt),Dt|=u}else v!==null?(u=v.baseLanes|a,n.memoizedState=null):u=a,Me(pn,Dt),Dt|=u;return kt(o,n,p,a),n.child}function Sp(o,n){var a=n.ref;(o===null&&a!==null||o!==null&&o.ref!==a)&&(n.flags|=512,n.flags|=2097152)}function lc(o,n,a,u,p){var v=St(a)?Sr:vt.current;return v=on(n,v),cn(n,p),a=Ys(o,n,a,u,v,p),u=Js(),o!==null&&!zt?(n.updateQueue=o.updateQueue,n.flags&=-2053,o.lanes&=~p,jo(o,n,p)):(Ve&&u&&Ds(n),n.flags|=1,kt(o,n,a,p),n.child)}function zp(o,n,a,u,p){if(St(a)){var v=!0;va(n)}else v=!1;if(cn(n,p),n.stateNode===null)Ra(o,n),pp(n,a,u),nc(n,a,u,p),u=!0;else if(o===null){var S=n.stateNode,C=n.memoizedProps;S.props=C;var E=S.context,M=a.contextType;typeof M=="object"&&M!==null?M=Lt(M):(M=St(a)?Sr:vt.current,M=on(n,M));var J=a.getDerivedStateFromProps,ee=typeof J=="function"||typeof S.getSnapshotBeforeUpdate=="function";ee||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(C!==u||E!==M)&&gp(n,S,u,M),Yo=!1;var Y=n.memoizedState;S.state=Y,Sa(n,u,S,p),E=n.memoizedState,C!==u||Y!==E||Bt.current||Yo?(typeof J=="function"&&(rc(n,a,J,u),E=n.memoizedState),(C=Yo||fp(n,a,C,u,Y,E,M))?(ee||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(n.flags|=4194308)):(typeof S.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=u,n.memoizedState=E),S.props=u,S.state=E,S.context=M,u=C):(typeof S.componentDidMount=="function"&&(n.flags|=4194308),u=!1)}else{S=n.stateNode,Hf(o,n),C=n.memoizedProps,M=n.type===n.elementType?C:to(n.type,C),S.props=M,ee=n.pendingProps,Y=S.context,E=a.contextType,typeof E=="object"&&E!==null?E=Lt(E):(E=St(a)?Sr:vt.current,E=on(n,E));var ce=a.getDerivedStateFromProps;(J=typeof ce=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(C!==ee||Y!==E)&&gp(n,S,u,E),Yo=!1,Y=n.memoizedState,S.state=Y,Sa(n,u,S,p);var fe=n.memoizedState;C!==ee||Y!==fe||Bt.current||Yo?(typeof ce=="function"&&(rc(n,a,ce,u),fe=n.memoizedState),(M=Yo||fp(n,a,M,u,Y,fe,E)||!1)?(J||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(u,fe,E),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(u,fe,E)),typeof S.componentDidUpdate=="function"&&(n.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof S.componentDidUpdate!="function"||C===o.memoizedProps&&Y===o.memoizedState||(n.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||C===o.memoizedProps&&Y===o.memoizedState||(n.flags|=1024),n.memoizedProps=u,n.memoizedState=fe),S.props=u,S.state=fe,S.context=E,u=M):(typeof S.componentDidUpdate!="function"||C===o.memoizedProps&&Y===o.memoizedState||(n.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||C===o.memoizedProps&&Y===o.memoizedState||(n.flags|=1024),u=!1)}return sc(o,n,a,u,v,p)}function sc(o,n,a,u,p,v){Sp(o,n);var S=(n.flags&128)!==0;if(!u&&!S)return p&&jf(n,a,!1),jo(o,n,v);u=n.stateNode,s1.current=n;var C=S&&typeof a.getDerivedStateFromError!="function"?null:u.render();return n.flags|=1,o!==null&&S?(n.child=ln(n,o.child,null,v),n.child=ln(n,null,C,v)):kt(o,n,C,v),n.memoizedState=u.state,p&&jf(n,a,!0),n.child}function _p(o){var n=o.stateNode;n.pendingContext?Cf(o,n.pendingContext,n.pendingContext!==n.context):n.context&&Cf(o,n.context,!1),Us(o,n.containerInfo)}function Np(o,n,a,u,p){return an(),Ms(p),n.flags|=256,kt(o,n,a,u),n.child}var cc={dehydrated:null,treeContext:null,retryLane:0};function uc(o){return{baseLanes:o,cachePool:null,transitions:null}}function Cp(o,n,a){var u=n.pendingProps,p=Ue.current,v=!1,S=(n.flags&128)!==0,C;if((C=S)||(C=o!==null&&o.memoizedState===null?!1:(p&2)!==0),C?(v=!0,n.flags&=-129):(o===null||o.memoizedState!==null)&&(p|=1),Me(Ue,p&1),o===null)return Is(n),o=n.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((n.mode&1)===0?n.lanes=1:o.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(S=u.children,o=u.fallback,v?(u=n.mode,v=n.child,S={mode:"hidden",children:S},(u&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=S):v=Ua(S,u,0,null),o=Dr(o,u,a,null),v.return=n,o.return=n,v.sibling=o,n.child=v,n.child.memoizedState=uc(a),n.memoizedState=cc,o):dc(n,S));if(p=o.memoizedState,p!==null&&(C=p.dehydrated,C!==null))return c1(o,n,S,u,C,p,a);if(v){v=u.fallback,S=n.mode,p=o.child,C=p.sibling;var E={mode:"hidden",children:u.children};return(S&1)===0&&n.child!==p?(u=n.child,u.childLanes=0,u.pendingProps=E,n.deletions=null):(u=nr(p,E),u.subtreeFlags=p.subtreeFlags&14680064),C!==null?v=nr(C,v):(v=Dr(v,S,a,null),v.flags|=2),v.return=n,u.return=n,u.sibling=v,n.child=u,u=v,v=n.child,S=o.child.memoizedState,S=S===null?uc(a):{baseLanes:S.baseLanes|a,cachePool:null,transitions:S.transitions},v.memoizedState=S,v.childLanes=o.childLanes&~a,n.memoizedState=cc,u}return v=o.child,o=v.sibling,u=nr(v,{mode:"visible",children:u.children}),(n.mode&1)===0&&(u.lanes=a),u.return=n,u.sibling=null,o!==null&&(a=n.deletions,a===null?(n.deletions=[o],n.flags|=16):a.push(o)),n.child=u,n.memoizedState=null,u}function dc(o,n){return n=Ua({mode:"visible",children:n},o.mode,0,null),n.return=o,o.child=n}function Ea(o,n,a,u){return u!==null&&Ms(u),ln(n,o.child,null,a),o=dc(n,n.pendingProps.children),o.flags|=2,n.memoizedState=null,o}function c1(o,n,a,u,p,v,S){if(a)return n.flags&256?(n.flags&=-257,u=ic(Error(r(422))),Ea(o,n,S,u)):n.memoizedState!==null?(n.child=o.child,n.flags|=128,null):(v=u.fallback,p=n.mode,u=Ua({mode:"visible",children:u.children},p,0,null),v=Dr(v,p,S,null),v.flags|=2,u.return=n,v.return=n,u.sibling=v,n.child=u,(n.mode&1)!==0&&ln(n,o.child,null,S),n.child.memoizedState=uc(S),n.memoizedState=cc,v);if((n.mode&1)===0)return Ea(o,n,S,null);if(p.data==="$!"){if(u=p.nextSibling&&p.nextSibling.dataset,u)var C=u.dgst;return u=C,v=Error(r(419)),u=ic(v,u,void 0),Ea(o,n,S,u)}if(C=(S&o.childLanes)!==0,zt||C){if(u=at,u!==null){switch(S&-S){case 4:p=2;break;case 16:p=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:p=32;break;case 536870912:p=268435456;break;default:p=0}p=(p&(u.suspendedLanes|S))!==0?0:p,p!==0&&p!==v.retryLane&&(v.retryLane=p,Co(o,p),no(u,o,p,-1))}return Nc(),u=ic(Error(r(421))),Ea(o,n,S,u)}return p.data==="$?"?(n.flags|=128,n.child=o.child,n=x1.bind(null,o),p._reactRetry=n,null):(o=v.treeContext,Rt=Xo(p.nextSibling),Et=n,Ve=!0,eo=null,o!==null&&(At[Ht++]=_o,At[Ht++]=No,At[Ht++]=zr,_o=o.id,No=o.overflow,zr=n),n=dc(n,u.children),n.flags|=4096,n)}function Tp(o,n,a){o.lanes|=n;var u=o.alternate;u!==null&&(u.lanes|=n),Ls(o.return,n,a)}function fc(o,n,a,u,p){var v=o.memoizedState;v===null?o.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:p}:(v.isBackwards=n,v.rendering=null,v.renderingStartTime=0,v.last=u,v.tail=a,v.tailMode=p)}function jp(o,n,a){var u=n.pendingProps,p=u.revealOrder,v=u.tail;if(kt(o,n,u.children,a),u=Ue.current,(u&2)!==0)u=u&1|2,n.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=n.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&Tp(o,a,n);else if(o.tag===19)Tp(o,a,n);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break e;for(;o.sibling===null;){if(o.return===null||o.return===n)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}u&=1}if(Me(Ue,u),(n.mode&1)===0)n.memoizedState=null;else switch(p){case"forwards":for(a=n.child,p=null;a!==null;)o=a.alternate,o!==null&&za(o)===null&&(p=a),a=a.sibling;a=p,a===null?(p=n.child,n.child=null):(p=a.sibling,a.sibling=null),fc(n,!1,p,a,v);break;case"backwards":for(a=null,p=n.child,n.child=null;p!==null;){if(o=p.alternate,o!==null&&za(o)===null){n.child=p;break}o=p.sibling,p.sibling=a,a=p,p=o}fc(n,!0,a,null,v);break;case"together":fc(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ra(o,n){(n.mode&1)===0&&o!==null&&(o.alternate=null,n.alternate=null,n.flags|=2)}function jo(o,n,a){if(o!==null&&(n.dependencies=o.dependencies),jr|=n.lanes,(a&n.childLanes)===0)return null;if(o!==null&&n.child!==o.child)throw Error(r(153));if(n.child!==null){for(o=n.child,a=nr(o,o.pendingProps),n.child=a,a.return=n;o.sibling!==null;)o=o.sibling,a=a.sibling=nr(o,o.pendingProps),a.return=n;a.sibling=null}return n.child}function u1(o,n,a){switch(n.tag){case 3:_p(n),an();break;case 5:Wf(n);break;case 1:St(n.type)&&va(n);break;case 4:Us(n,n.stateNode.containerInfo);break;case 10:var u=n.type._context,p=n.memoizedProps.value;Me(ka,u._currentValue),u._currentValue=p;break;case 13:if(u=n.memoizedState,u!==null)return u.dehydrated!==null?(Me(Ue,Ue.current&1),n.flags|=128,null):(a&n.child.childLanes)!==0?Cp(o,n,a):(Me(Ue,Ue.current&1),o=jo(o,n,a),o!==null?o.sibling:null);Me(Ue,Ue.current&1);break;case 19:if(u=(a&n.childLanes)!==0,(o.flags&128)!==0){if(u)return jp(o,n,a);n.flags|=128}if(p=n.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),Me(Ue,Ue.current),u)break;return null;case 22:case 23:return n.lanes=0,Bp(o,n,a)}return jo(o,n,a)}var qp,pc,Ep,Rp;qp=function(o,n){for(var a=n.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},pc=function(){},Ep=function(o,n,a,u){var p=o.memoizedProps;if(p!==u){o=n.stateNode,Cr(vo.current);var v=null;switch(a){case"input":p=jn(o,p),u=jn(o,u),v=[];break;case"select":p=U({},p,{value:void 0}),u=U({},u,{value:void 0}),v=[];break;case"textarea":p=Ul(o,p),u=Ul(o,u),v=[];break;default:typeof p.onClick!="function"&&typeof u.onClick=="function"&&(o.onclick=fa)}Xl(a,u);var S;a=null;for(M in p)if(!u.hasOwnProperty(M)&&p.hasOwnProperty(M)&&p[M]!=null)if(M==="style"){var C=p[M];for(S in C)C.hasOwnProperty(S)&&(a||(a={}),a[S]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(l.hasOwnProperty(M)?v||(v=[]):(v=v||[]).push(M,null));for(M in u){var E=u[M];if(C=p?.[M],u.hasOwnProperty(M)&&E!==C&&(E!=null||C!=null))if(M==="style")if(C){for(S in C)!C.hasOwnProperty(S)||E&&E.hasOwnProperty(S)||(a||(a={}),a[S]="");for(S in E)E.hasOwnProperty(S)&&C[S]!==E[S]&&(a||(a={}),a[S]=E[S])}else a||(v||(v=[]),v.push(M,a)),a=E;else M==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,C=C?C.__html:void 0,E!=null&&C!==E&&(v=v||[]).push(M,E)):M==="children"?typeof E!="string"&&typeof E!="number"||(v=v||[]).push(M,""+E):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(l.hasOwnProperty(M)?(E!=null&&M==="onScroll"&&He("scroll",o),v||C===E||(v=[])):(v=v||[]).push(M,E))}a&&(v=v||[]).push("style",a);var M=v;(n.updateQueue=M)&&(n.flags|=4)}},Rp=function(o,n,a,u){a!==u&&(n.flags|=4)};function ui(o,n){if(!Ve)switch(o.tailMode){case"hidden":n=o.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?o.tail=null:a.sibling=null;break;case"collapsed":a=o.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?n||o.tail===null?o.tail=null:o.tail.sibling=null:u.sibling=null}}function ht(o){var n=o.alternate!==null&&o.alternate.child===o.child,a=0,u=0;if(n)for(var p=o.child;p!==null;)a|=p.lanes|p.childLanes,u|=p.subtreeFlags&14680064,u|=p.flags&14680064,p.return=o,p=p.sibling;else for(p=o.child;p!==null;)a|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,p.return=o,p=p.sibling;return o.subtreeFlags|=u,o.childLanes=a,n}function d1(o,n,a){var u=n.pendingProps;switch(Ps(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(n),null;case 1:return St(n.type)&&ga(),ht(n),null;case 3:return u=n.stateNode,un(),Le(Bt),Le(vt),Gs(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(o===null||o.child===null)&&(ya(n)?n.flags|=4:o===null||o.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,eo!==null&&(Sc(eo),eo=null))),pc(o,n),ht(n),null;case 5:$s(n);var p=Cr(ii.current);if(a=n.type,o!==null&&n.stateNode!=null)Ep(o,n,a,u,p),o.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!u){if(n.stateNode===null)throw Error(r(166));return ht(n),null}if(o=Cr(vo.current),ya(n)){u=n.stateNode,a=n.type;var v=n.memoizedProps;switch(u[go]=n,u[ei]=v,o=(n.mode&1)!==0,a){case"dialog":He("cancel",u),He("close",u);break;case"iframe":case"object":case"embed":He("load",u);break;case"video":case"audio":for(p=0;p<Yn.length;p++)He(Yn[p],u);break;case"source":He("error",u);break;case"img":case"image":case"link":He("error",u),He("load",u);break;case"details":He("toggle",u);break;case"input":fd(u,v),He("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!v.multiple},He("invalid",u);break;case"textarea":vd(u,v),He("invalid",u)}Xl(a,v),p=null;for(var S in v)if(v.hasOwnProperty(S)){var C=v[S];S==="children"?typeof C=="string"?u.textContent!==C&&(v.suppressHydrationWarning!==!0&&da(u.textContent,C,o),p=["children",C]):typeof C=="number"&&u.textContent!==""+C&&(v.suppressHydrationWarning!==!0&&da(u.textContent,C,o),p=["children",""+C]):l.hasOwnProperty(S)&&C!=null&&S==="onScroll"&&He("scroll",u)}switch(a){case"input":Yt(u),gd(u,v,!0);break;case"textarea":Yt(u),hd(u);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(u.onclick=fa)}u=p,n.updateQueue=u,u!==null&&(n.flags|=4)}else{S=p.nodeType===9?p:p.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=bd(a)),o==="http://www.w3.org/1999/xhtml"?a==="script"?(o=S.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof u.is=="string"?o=S.createElement(a,{is:u.is}):(o=S.createElement(a),a==="select"&&(S=o,u.multiple?S.multiple=!0:u.size&&(S.size=u.size))):o=S.createElementNS(o,a),o[go]=n,o[ei]=u,qp(o,n,!1,!1),n.stateNode=o;e:{switch(S=Gl(a,u),a){case"dialog":He("cancel",o),He("close",o),p=u;break;case"iframe":case"object":case"embed":He("load",o),p=u;break;case"video":case"audio":for(p=0;p<Yn.length;p++)He(Yn[p],o);p=u;break;case"source":He("error",o),p=u;break;case"img":case"image":case"link":He("error",o),He("load",o),p=u;break;case"details":He("toggle",o),p=u;break;case"input":fd(o,u),p=jn(o,u),He("invalid",o);break;case"option":p=u;break;case"select":o._wrapperState={wasMultiple:!!u.multiple},p=U({},u,{value:void 0}),He("invalid",o);break;case"textarea":vd(o,u),p=Ul(o,u),He("invalid",o);break;default:p=u}Xl(a,p),C=p;for(v in C)if(C.hasOwnProperty(v)){var E=C[v];v==="style"?kd(o,E):v==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&yd(o,E)):v==="children"?typeof E=="string"?(a!=="textarea"||E!=="")&&En(o,E):typeof E=="number"&&En(o,""+E):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(l.hasOwnProperty(v)?E!=null&&v==="onScroll"&&He("scroll",o):E!=null&&z(o,v,E,S))}switch(a){case"input":Yt(o),gd(o,u,!1);break;case"textarea":Yt(o),hd(o);break;case"option":u.value!=null&&o.setAttribute("value",""+gt(u.value));break;case"select":o.multiple=!!u.multiple,v=u.value,v!=null?Wr(o,!!u.multiple,v,!1):u.defaultValue!=null&&Wr(o,!!u.multiple,u.defaultValue,!0);break;default:typeof p.onClick=="function"&&(o.onclick=fa)}switch(a){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ht(n),null;case 6:if(o&&n.stateNode!=null)Rp(o,n,o.memoizedProps,u);else{if(typeof u!="string"&&n.stateNode===null)throw Error(r(166));if(a=Cr(ii.current),Cr(vo.current),ya(n)){if(u=n.stateNode,a=n.memoizedProps,u[go]=n,(v=u.nodeValue!==a)&&(o=Et,o!==null))switch(o.tag){case 3:da(u.nodeValue,a,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&da(u.nodeValue,a,(o.mode&1)!==0)}v&&(n.flags|=4)}else u=(a.nodeType===9?a:a.ownerDocument).createTextNode(u),u[go]=n,n.stateNode=u}return ht(n),null;case 13:if(Le(Ue),u=n.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(Ve&&Rt!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Ff(),an(),n.flags|=98560,v=!1;else if(v=ya(n),u!==null&&u.dehydrated!==null){if(o===null){if(!v)throw Error(r(318));if(v=n.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[go]=n}else an(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;ht(n),v=!1}else eo!==null&&(Sc(eo),eo=null),v=!0;if(!v)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=a,n):(u=u!==null,u!==(o!==null&&o.memoizedState!==null)&&u&&(n.child.flags|=8192,(n.mode&1)!==0&&(o===null||(Ue.current&1)!==0?nt===0&&(nt=3):Nc())),n.updateQueue!==null&&(n.flags|=4),ht(n),null);case 4:return un(),pc(o,n),o===null&&Jn(n.stateNode.containerInfo),ht(n),null;case 10:return Hs(n.type._context),ht(n),null;case 17:return St(n.type)&&ga(),ht(n),null;case 19:if(Le(Ue),v=n.memoizedState,v===null)return ht(n),null;if(u=(n.flags&128)!==0,S=v.rendering,S===null)if(u)ui(v,!1);else{if(nt!==0||o!==null&&(o.flags&128)!==0)for(o=n.child;o!==null;){if(S=za(o),S!==null){for(n.flags|=128,ui(v,!1),u=S.updateQueue,u!==null&&(n.updateQueue=u,n.flags|=4),n.subtreeFlags=0,u=a,a=n.child;a!==null;)v=a,o=u,v.flags&=14680066,S=v.alternate,S===null?(v.childLanes=0,v.lanes=o,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=S.childLanes,v.lanes=S.lanes,v.child=S.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=S.memoizedProps,v.memoizedState=S.memoizedState,v.updateQueue=S.updateQueue,v.type=S.type,o=S.dependencies,v.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a=a.sibling;return Me(Ue,Ue.current&1|2),n.child}o=o.sibling}v.tail!==null&&Je()>gn&&(n.flags|=128,u=!0,ui(v,!1),n.lanes=4194304)}else{if(!u)if(o=za(S),o!==null){if(n.flags|=128,u=!0,a=o.updateQueue,a!==null&&(n.updateQueue=a,n.flags|=4),ui(v,!0),v.tail===null&&v.tailMode==="hidden"&&!S.alternate&&!Ve)return ht(n),null}else 2*Je()-v.renderingStartTime>gn&&a!==1073741824&&(n.flags|=128,u=!0,ui(v,!1),n.lanes=4194304);v.isBackwards?(S.sibling=n.child,n.child=S):(a=v.last,a!==null?a.sibling=S:n.child=S,v.last=S)}return v.tail!==null?(n=v.tail,v.rendering=n,v.tail=n.sibling,v.renderingStartTime=Je(),n.sibling=null,a=Ue.current,Me(Ue,u?a&1|2:a&1),n):(ht(n),null);case 22:case 23:return _c(),u=n.memoizedState!==null,o!==null&&o.memoizedState!==null!==u&&(n.flags|=8192),u&&(n.mode&1)!==0?(Dt&1073741824)!==0&&(ht(n),n.subtreeFlags&6&&(n.flags|=8192)):ht(n),null;case 24:return null;case 25:return null}throw Error(r(156,n.tag))}function f1(o,n){switch(Ps(n),n.tag){case 1:return St(n.type)&&ga(),o=n.flags,o&65536?(n.flags=o&-65537|128,n):null;case 3:return un(),Le(Bt),Le(vt),Gs(),o=n.flags,(o&65536)!==0&&(o&128)===0?(n.flags=o&-65537|128,n):null;case 5:return $s(n),null;case 13:if(Le(Ue),o=n.memoizedState,o!==null&&o.dehydrated!==null){if(n.alternate===null)throw Error(r(340));an()}return o=n.flags,o&65536?(n.flags=o&-65537|128,n):null;case 19:return Le(Ue),null;case 4:return un(),null;case 10:return Hs(n.type._context),null;case 22:case 23:return _c(),null;case 24:return null;default:return null}}var Da=!1,bt=!1,p1=typeof WeakSet=="function"?WeakSet:Set,de=null;function fn(o,n){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(u){Ge(o,n,u)}else a.current=null}function gc(o,n,a){try{a()}catch(u){Ge(o,n,u)}}var Dp=!1;function g1(o,n){if(_s=ea,o=ff(),bs(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var u=a.getSelection&&a.getSelection();if(u&&u.rangeCount!==0){a=u.anchorNode;var p=u.anchorOffset,v=u.focusNode;u=u.focusOffset;try{a.nodeType,v.nodeType}catch{a=null;break e}var S=0,C=-1,E=-1,M=0,J=0,ee=o,Y=null;t:for(;;){for(var ce;ee!==a||p!==0&&ee.nodeType!==3||(C=S+p),ee!==v||u!==0&&ee.nodeType!==3||(E=S+u),ee.nodeType===3&&(S+=ee.nodeValue.length),(ce=ee.firstChild)!==null;)Y=ee,ee=ce;for(;;){if(ee===o)break t;if(Y===a&&++M===p&&(C=S),Y===v&&++J===u&&(E=S),(ce=ee.nextSibling)!==null)break;ee=Y,Y=ee.parentNode}ee=ce}a=C===-1||E===-1?null:{start:C,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ns={focusedElem:o,selectionRange:a},ea=!1,de=n;de!==null;)if(n=de,o=n.child,(n.subtreeFlags&1028)!==0&&o!==null)o.return=n,de=o;else for(;de!==null;){n=de;try{var fe=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(fe!==null){var pe=fe.memoizedProps,Ze=fe.memoizedState,P=n.stateNode,R=P.getSnapshotBeforeUpdate(n.elementType===n.type?pe:to(n.type,pe),Ze);P.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var I=n.stateNode.containerInfo;I.nodeType===1?I.textContent="":I.nodeType===9&&I.documentElement&&I.removeChild(I.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(ne){Ge(n,n.return,ne)}if(o=n.sibling,o!==null){o.return=n.return,de=o;break}de=n.return}return fe=Dp,Dp=!1,fe}function di(o,n,a){var u=n.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var p=u=u.next;do{if((p.tag&o)===o){var v=p.destroy;p.destroy=void 0,v!==void 0&&gc(n,a,v)}p=p.next}while(p!==u)}}function Pa(o,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&o)===o){var u=a.create;a.destroy=u()}a=a.next}while(a!==n)}}function vc(o){var n=o.ref;if(n!==null){var a=o.stateNode;o.tag,o=a,typeof n=="function"?n(o):n.current=o}}function Pp(o){var n=o.alternate;n!==null&&(o.alternate=null,Pp(n)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(n=o.stateNode,n!==null&&(delete n[go],delete n[ei],delete n[qs],delete n[Qb],delete n[Yb])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Fp(o){return o.tag===5||o.tag===3||o.tag===4}function Ip(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Fp(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function mc(o,n,a){var u=o.tag;if(u===5||u===6)o=o.stateNode,n?a.nodeType===8?a.parentNode.insertBefore(o,n):a.insertBefore(o,n):(a.nodeType===8?(n=a.parentNode,n.insertBefore(o,a)):(n=a,n.appendChild(o)),a=a._reactRootContainer,a!=null||n.onclick!==null||(n.onclick=fa));else if(u!==4&&(o=o.child,o!==null))for(mc(o,n,a),o=o.sibling;o!==null;)mc(o,n,a),o=o.sibling}function hc(o,n,a){var u=o.tag;if(u===5||u===6)o=o.stateNode,n?a.insertBefore(o,n):a.appendChild(o);else if(u!==4&&(o=o.child,o!==null))for(hc(o,n,a),o=o.sibling;o!==null;)hc(o,n,a),o=o.sibling}var ut=null,oo=!1;function Zo(o,n,a){for(a=a.child;a!==null;)Mp(o,n,a),a=a.sibling}function Mp(o,n,a){if(po&&typeof po.onCommitFiberUnmount=="function")try{po.onCommitFiberUnmount(Gi,a)}catch{}switch(a.tag){case 5:bt||fn(a,n);case 6:var u=ut,p=oo;ut=null,Zo(o,n,a),ut=u,oo=p,ut!==null&&(oo?(o=ut,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):ut.removeChild(a.stateNode));break;case 18:ut!==null&&(oo?(o=ut,a=a.stateNode,o.nodeType===8?js(o.parentNode,a):o.nodeType===1&&js(o,a),Vn(o)):js(ut,a.stateNode));break;case 4:u=ut,p=oo,ut=a.stateNode.containerInfo,oo=!0,Zo(o,n,a),ut=u,oo=p;break;case 0:case 11:case 14:case 15:if(!bt&&(u=a.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){p=u=u.next;do{var v=p,S=v.destroy;v=v.tag,S!==void 0&&((v&2)!==0||(v&4)!==0)&&gc(a,n,S),p=p.next}while(p!==u)}Zo(o,n,a);break;case 1:if(!bt&&(fn(a,n),u=a.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=a.memoizedProps,u.state=a.memoizedState,u.componentWillUnmount()}catch(C){Ge(a,n,C)}Zo(o,n,a);break;case 21:Zo(o,n,a);break;case 22:a.mode&1?(bt=(u=bt)||a.memoizedState!==null,Zo(o,n,a),bt=u):Zo(o,n,a);break;default:Zo(o,n,a)}}function Op(o){var n=o.updateQueue;if(n!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new p1),n.forEach(function(u){var p=B1.bind(null,o,u);a.has(u)||(a.add(u),u.then(p,p))})}}function ro(o,n){var a=n.deletions;if(a!==null)for(var u=0;u<a.length;u++){var p=a[u];try{var v=o,S=n,C=S;e:for(;C!==null;){switch(C.tag){case 5:ut=C.stateNode,oo=!1;break e;case 3:ut=C.stateNode.containerInfo,oo=!0;break e;case 4:ut=C.stateNode.containerInfo,oo=!0;break e}C=C.return}if(ut===null)throw Error(r(160));Mp(v,S,p),ut=null,oo=!1;var E=p.alternate;E!==null&&(E.return=null),p.return=null}catch(M){Ge(p,n,M)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Ap(n,o),n=n.sibling}function Ap(o,n){var a=o.alternate,u=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(ro(n,o),ho(o),u&4){try{di(3,o,o.return),Pa(3,o)}catch(pe){Ge(o,o.return,pe)}try{di(5,o,o.return)}catch(pe){Ge(o,o.return,pe)}}break;case 1:ro(n,o),ho(o),u&512&&a!==null&&fn(a,a.return);break;case 5:if(ro(n,o),ho(o),u&512&&a!==null&&fn(a,a.return),o.flags&32){var p=o.stateNode;try{En(p,"")}catch(pe){Ge(o,o.return,pe)}}if(u&4&&(p=o.stateNode,p!=null)){var v=o.memoizedProps,S=a!==null?a.memoizedProps:v,C=o.type,E=o.updateQueue;if(o.updateQueue=null,E!==null)try{C==="input"&&v.type==="radio"&&v.name!=null&&pd(p,v),Gl(C,S);var M=Gl(C,v);for(S=0;S<E.length;S+=2){var J=E[S],ee=E[S+1];J==="style"?kd(p,ee):J==="dangerouslySetInnerHTML"?yd(p,ee):J==="children"?En(p,ee):z(p,J,ee,M)}switch(C){case"input":Vl(p,v);break;case"textarea":md(p,v);break;case"select":var Y=p._wrapperState.wasMultiple;p._wrapperState.wasMultiple=!!v.multiple;var ce=v.value;ce!=null?Wr(p,!!v.multiple,ce,!1):Y!==!!v.multiple&&(v.defaultValue!=null?Wr(p,!!v.multiple,v.defaultValue,!0):Wr(p,!!v.multiple,v.multiple?[]:"",!1))}p[ei]=v}catch(pe){Ge(o,o.return,pe)}}break;case 6:if(ro(n,o),ho(o),u&4){if(o.stateNode===null)throw Error(r(162));p=o.stateNode,v=o.memoizedProps;try{p.nodeValue=v}catch(pe){Ge(o,o.return,pe)}}break;case 3:if(ro(n,o),ho(o),u&4&&a!==null&&a.memoizedState.isDehydrated)try{Vn(n.containerInfo)}catch(pe){Ge(o,o.return,pe)}break;case 4:ro(n,o),ho(o);break;case 13:ro(n,o),ho(o),p=o.child,p.flags&8192&&(v=p.memoizedState!==null,p.stateNode.isHidden=v,!v||p.alternate!==null&&p.alternate.memoizedState!==null||(wc=Je())),u&4&&Op(o);break;case 22:if(J=a!==null&&a.memoizedState!==null,o.mode&1?(bt=(M=bt)||J,ro(n,o),bt=M):ro(n,o),ho(o),u&8192){if(M=o.memoizedState!==null,(o.stateNode.isHidden=M)&&!J&&(o.mode&1)!==0)for(de=o,J=o.child;J!==null;){for(ee=de=J;de!==null;){switch(Y=de,ce=Y.child,Y.tag){case 0:case 11:case 14:case 15:di(4,Y,Y.return);break;case 1:fn(Y,Y.return);var fe=Y.stateNode;if(typeof fe.componentWillUnmount=="function"){u=Y,a=Y.return;try{n=u,fe.props=n.memoizedProps,fe.state=n.memoizedState,fe.componentWillUnmount()}catch(pe){Ge(u,a,pe)}}break;case 5:fn(Y,Y.return);break;case 22:if(Y.memoizedState!==null){Vp(ee);continue}}ce!==null?(ce.return=Y,de=ce):Vp(ee)}J=J.sibling}e:for(J=null,ee=o;;){if(ee.tag===5){if(J===null){J=ee;try{p=ee.stateNode,M?(v=p.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(C=ee.stateNode,E=ee.memoizedProps.style,S=E!=null&&E.hasOwnProperty("display")?E.display:null,C.style.display=wd("display",S))}catch(pe){Ge(o,o.return,pe)}}}else if(ee.tag===6){if(J===null)try{ee.stateNode.nodeValue=M?"":ee.memoizedProps}catch(pe){Ge(o,o.return,pe)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===o)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===o)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===o)break e;J===ee&&(J=null),ee=ee.return}J===ee&&(J=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:ro(n,o),ho(o),u&4&&Op(o);break;case 21:break;default:ro(n,o),ho(o)}}function ho(o){var n=o.flags;if(n&2){try{e:{for(var a=o.return;a!==null;){if(Fp(a)){var u=a;break e}a=a.return}throw Error(r(160))}switch(u.tag){case 5:var p=u.stateNode;u.flags&32&&(En(p,""),u.flags&=-33);var v=Ip(o);hc(o,v,p);break;case 3:case 4:var S=u.stateNode.containerInfo,C=Ip(o);mc(o,C,S);break;default:throw Error(r(161))}}catch(E){Ge(o,o.return,E)}o.flags&=-3}n&4096&&(o.flags&=-4097)}function v1(o,n,a){de=o,Hp(o)}function Hp(o,n,a){for(var u=(o.mode&1)!==0;de!==null;){var p=de,v=p.child;if(p.tag===22&&u){var S=p.memoizedState!==null||Da;if(!S){var C=p.alternate,E=C!==null&&C.memoizedState!==null||bt;C=Da;var M=bt;if(Da=S,(bt=E)&&!M)for(de=p;de!==null;)S=de,E=S.child,S.tag===22&&S.memoizedState!==null?Wp(p):E!==null?(E.return=S,de=E):Wp(p);for(;v!==null;)de=v,Hp(v),v=v.sibling;de=p,Da=C,bt=M}Lp(o)}else(p.subtreeFlags&8772)!==0&&v!==null?(v.return=p,de=v):Lp(o)}}function Lp(o){for(;de!==null;){var n=de;if((n.flags&8772)!==0){var a=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:bt||Pa(5,n);break;case 1:var u=n.stateNode;if(n.flags&4&&!bt)if(a===null)u.componentDidMount();else{var p=n.elementType===n.type?a.memoizedProps:to(n.type,a.memoizedProps);u.componentDidUpdate(p,a.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var v=n.updateQueue;v!==null&&Vf(n,v,u);break;case 3:var S=n.updateQueue;if(S!==null){if(a=null,n.child!==null)switch(n.child.tag){case 5:a=n.child.stateNode;break;case 1:a=n.child.stateNode}Vf(n,S,a)}break;case 5:var C=n.stateNode;if(a===null&&n.flags&4){a=C;var E=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&a.focus();break;case"img":E.src&&(a.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var M=n.alternate;if(M!==null){var J=M.memoizedState;if(J!==null){var ee=J.dehydrated;ee!==null&&Vn(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}bt||n.flags&512&&vc(n)}catch(Y){Ge(n,n.return,Y)}}if(n===o){de=null;break}if(a=n.sibling,a!==null){a.return=n.return,de=a;break}de=n.return}}function Vp(o){for(;de!==null;){var n=de;if(n===o){de=null;break}var a=n.sibling;if(a!==null){a.return=n.return,de=a;break}de=n.return}}function Wp(o){for(;de!==null;){var n=de;try{switch(n.tag){case 0:case 11:case 15:var a=n.return;try{Pa(4,n)}catch(E){Ge(n,a,E)}break;case 1:var u=n.stateNode;if(typeof u.componentDidMount=="function"){var p=n.return;try{u.componentDidMount()}catch(E){Ge(n,p,E)}}var v=n.return;try{vc(n)}catch(E){Ge(n,v,E)}break;case 5:var S=n.return;try{vc(n)}catch(E){Ge(n,S,E)}}}catch(E){Ge(n,n.return,E)}if(n===o){de=null;break}var C=n.sibling;if(C!==null){C.return=n.return,de=C;break}de=n.return}}var m1=Math.ceil,Fa=N.ReactCurrentDispatcher,bc=N.ReactCurrentOwner,Wt=N.ReactCurrentBatchConfig,je=0,at=null,tt=null,dt=0,Dt=0,pn=Go(0),nt=0,fi=null,jr=0,Ia=0,yc=0,pi=null,_t=null,wc=0,gn=1/0,qo=null,Ma=!1,kc=null,er=null,Oa=!1,tr=null,Aa=0,gi=0,xc=null,Ha=-1,La=0;function xt(){return(je&6)!==0?Je():Ha!==-1?Ha:Ha=Je()}function or(o){return(o.mode&1)===0?1:(je&2)!==0&&dt!==0?dt&-dt:Zb.transition!==null?(La===0&&(La=Fd()),La):(o=Fe,o!==0||(o=window.event,o=o===void 0?16:Ud(o.type)),o)}function no(o,n,a,u){if(50<gi)throw gi=0,xc=null,Error(r(185));Mn(o,a,u),((je&2)===0||o!==at)&&(o===at&&((je&2)===0&&(Ia|=a),nt===4&&rr(o,dt)),Nt(o,u),a===1&&je===0&&(n.mode&1)===0&&(gn=Je()+500,ma&&Qo()))}function Nt(o,n){var a=o.callbackNode;Z0(o,n);var u=Yi(o,o===at?dt:0);if(u===0)a!==null&&Rd(a),o.callbackNode=null,o.callbackPriority=0;else if(n=u&-u,o.callbackPriority!==n){if(a!=null&&Rd(a),n===1)o.tag===0?Jb($p.bind(null,o)):qf($p.bind(null,o)),Gb(function(){(je&6)===0&&Qo()}),a=null;else{switch(Id(u)){case 1:a=ts;break;case 4:a=Dd;break;case 16:a=Xi;break;case 536870912:a=Pd;break;default:a=Xi}a=eg(a,Up.bind(null,o))}o.callbackPriority=n,o.callbackNode=a}}function Up(o,n){if(Ha=-1,La=0,(je&6)!==0)throw Error(r(327));var a=o.callbackNode;if(vn()&&o.callbackNode!==a)return null;var u=Yi(o,o===at?dt:0);if(u===0)return null;if((u&30)!==0||(u&o.expiredLanes)!==0||n)n=Va(o,u);else{n=u;var p=je;je|=2;var v=Gp();(at!==o||dt!==n)&&(qo=null,gn=Je()+500,Er(o,n));do try{y1();break}catch(C){Xp(o,C)}while(!0);As(),Fa.current=v,je=p,tt!==null?n=0:(at=null,dt=0,n=nt)}if(n!==0){if(n===2&&(p=os(o),p!==0&&(u=p,n=Bc(o,p))),n===1)throw a=fi,Er(o,0),rr(o,u),Nt(o,Je()),a;if(n===6)rr(o,u);else{if(p=o.current.alternate,(u&30)===0&&!h1(p)&&(n=Va(o,u),n===2&&(v=os(o),v!==0&&(u=v,n=Bc(o,v))),n===1))throw a=fi,Er(o,0),rr(o,u),Nt(o,Je()),a;switch(o.finishedWork=p,o.finishedLanes=u,n){case 0:case 1:throw Error(r(345));case 2:Rr(o,_t,qo);break;case 3:if(rr(o,u),(u&130023424)===u&&(n=wc+500-Je(),10<n)){if(Yi(o,0)!==0)break;if(p=o.suspendedLanes,(p&u)!==u){xt(),o.pingedLanes|=o.suspendedLanes&p;break}o.timeoutHandle=Ts(Rr.bind(null,o,_t,qo),n);break}Rr(o,_t,qo);break;case 4:if(rr(o,u),(u&4194240)===u)break;for(n=o.eventTimes,p=-1;0<u;){var S=31-Jt(u);v=1<<S,S=n[S],S>p&&(p=S),u&=~v}if(u=p,u=Je()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*m1(u/1960))-u,10<u){o.timeoutHandle=Ts(Rr.bind(null,o,_t,qo),u);break}Rr(o,_t,qo);break;case 5:Rr(o,_t,qo);break;default:throw Error(r(329))}}}return Nt(o,Je()),o.callbackNode===a?Up.bind(null,o):null}function Bc(o,n){var a=pi;return o.current.memoizedState.isDehydrated&&(Er(o,n).flags|=256),o=Va(o,n),o!==2&&(n=_t,_t=a,n!==null&&Sc(n)),o}function Sc(o){_t===null?_t=o:_t.push.apply(_t,o)}function h1(o){for(var n=o;;){if(n.flags&16384){var a=n.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var u=0;u<a.length;u++){var p=a[u],v=p.getSnapshot;p=p.value;try{if(!Zt(v(),p))return!1}catch{return!1}}}if(a=n.child,n.subtreeFlags&16384&&a!==null)a.return=n,n=a;else{if(n===o)break;for(;n.sibling===null;){if(n.return===null||n.return===o)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function rr(o,n){for(n&=~yc,n&=~Ia,o.suspendedLanes|=n,o.pingedLanes&=~n,o=o.expirationTimes;0<n;){var a=31-Jt(n),u=1<<a;o[a]=-1,n&=~u}}function $p(o){if((je&6)!==0)throw Error(r(327));vn();var n=Yi(o,0);if((n&1)===0)return Nt(o,Je()),null;var a=Va(o,n);if(o.tag!==0&&a===2){var u=os(o);u!==0&&(n=u,a=Bc(o,u))}if(a===1)throw a=fi,Er(o,0),rr(o,n),Nt(o,Je()),a;if(a===6)throw Error(r(345));return o.finishedWork=o.current.alternate,o.finishedLanes=n,Rr(o,_t,qo),Nt(o,Je()),null}function zc(o,n){var a=je;je|=1;try{return o(n)}finally{je=a,je===0&&(gn=Je()+500,ma&&Qo())}}function qr(o){tr!==null&&tr.tag===0&&(je&6)===0&&vn();var n=je;je|=1;var a=Wt.transition,u=Fe;try{if(Wt.transition=null,Fe=1,o)return o()}finally{Fe=u,Wt.transition=a,je=n,(je&6)===0&&Qo()}}function _c(){Dt=pn.current,Le(pn)}function Er(o,n){o.finishedWork=null,o.finishedLanes=0;var a=o.timeoutHandle;if(a!==-1&&(o.timeoutHandle=-1,Xb(a)),tt!==null)for(a=tt.return;a!==null;){var u=a;switch(Ps(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ga();break;case 3:un(),Le(Bt),Le(vt),Gs();break;case 5:$s(u);break;case 4:un();break;case 13:Le(Ue);break;case 19:Le(Ue);break;case 10:Hs(u.type._context);break;case 22:case 23:_c()}a=a.return}if(at=o,tt=o=nr(o.current,null),dt=Dt=n,nt=0,fi=null,yc=Ia=jr=0,_t=pi=null,Nr!==null){for(n=0;n<Nr.length;n++)if(a=Nr[n],u=a.interleaved,u!==null){a.interleaved=null;var p=u.next,v=a.pending;if(v!==null){var S=v.next;v.next=p,u.next=S}a.pending=u}Nr=null}return o}function Xp(o,n){do{var a=tt;try{if(As(),_a.current=ja,Na){for(var u=$e.memoizedState;u!==null;){var p=u.queue;p!==null&&(p.pending=null),u=u.next}Na=!1}if(Tr=0,it=rt=$e=null,ai=!1,li=0,bc.current=null,a===null||a.return===null){nt=1,fi=n,tt=null;break}e:{var v=o,S=a.return,C=a,E=n;if(n=dt,C.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var M=E,J=C,ee=J.tag;if((J.mode&1)===0&&(ee===0||ee===11||ee===15)){var Y=J.alternate;Y?(J.updateQueue=Y.updateQueue,J.memoizedState=Y.memoizedState,J.lanes=Y.lanes):(J.updateQueue=null,J.memoizedState=null)}var ce=bp(S);if(ce!==null){ce.flags&=-257,yp(ce,S,C,v,n),ce.mode&1&&hp(v,M,n),n=ce,E=M;var fe=n.updateQueue;if(fe===null){var pe=new Set;pe.add(E),n.updateQueue=pe}else fe.add(E);break e}else{if((n&1)===0){hp(v,M,n),Nc();break e}E=Error(r(426))}}else if(Ve&&C.mode&1){var Ze=bp(S);if(Ze!==null){(Ze.flags&65536)===0&&(Ze.flags|=256),yp(Ze,S,C,v,n),Ms(dn(E,C));break e}}v=E=dn(E,C),nt!==4&&(nt=2),pi===null?pi=[v]:pi.push(v),v=S;do{switch(v.tag){case 3:v.flags|=65536,n&=-n,v.lanes|=n;var P=vp(v,E,n);Lf(v,P);break e;case 1:C=E;var R=v.type,I=v.stateNode;if((v.flags&128)===0&&(typeof R.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&(er===null||!er.has(I)))){v.flags|=65536,n&=-n,v.lanes|=n;var ne=mp(v,C,n);Lf(v,ne);break e}}v=v.return}while(v!==null)}Qp(a)}catch(ge){n=ge,tt===a&&a!==null&&(tt=a=a.return);continue}break}while(!0)}function Gp(){var o=Fa.current;return Fa.current=ja,o===null?ja:o}function Nc(){(nt===0||nt===3||nt===2)&&(nt=4),at===null||(jr&268435455)===0&&(Ia&268435455)===0||rr(at,dt)}function Va(o,n){var a=je;je|=2;var u=Gp();(at!==o||dt!==n)&&(qo=null,Er(o,n));do try{b1();break}catch(p){Xp(o,p)}while(!0);if(As(),je=a,Fa.current=u,tt!==null)throw Error(r(261));return at=null,dt=0,nt}function b1(){for(;tt!==null;)Kp(tt)}function y1(){for(;tt!==null&&!W0();)Kp(tt)}function Kp(o){var n=Zp(o.alternate,o,Dt);o.memoizedProps=o.pendingProps,n===null?Qp(o):tt=n,bc.current=null}function Qp(o){var n=o;do{var a=n.alternate;if(o=n.return,(n.flags&32768)===0){if(a=d1(a,n,Dt),a!==null){tt=a;return}}else{if(a=f1(a,n),a!==null){a.flags&=32767,tt=a;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{nt=6,tt=null;return}}if(n=n.sibling,n!==null){tt=n;return}tt=n=o}while(n!==null);nt===0&&(nt=5)}function Rr(o,n,a){var u=Fe,p=Wt.transition;try{Wt.transition=null,Fe=1,w1(o,n,a,u)}finally{Wt.transition=p,Fe=u}return null}function w1(o,n,a,u){do vn();while(tr!==null);if((je&6)!==0)throw Error(r(327));a=o.finishedWork;var p=o.finishedLanes;if(a===null)return null;if(o.finishedWork=null,o.finishedLanes=0,a===o.current)throw Error(r(177));o.callbackNode=null,o.callbackPriority=0;var v=a.lanes|a.childLanes;if(eb(o,v),o===at&&(tt=at=null,dt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||Oa||(Oa=!0,eg(Xi,function(){return vn(),null})),v=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||v){v=Wt.transition,Wt.transition=null;var S=Fe;Fe=1;var C=je;je|=4,bc.current=null,g1(o,a),Ap(a,o),Ab(Ns),ea=!!_s,Ns=_s=null,o.current=a,v1(a),U0(),je=C,Fe=S,Wt.transition=v}else o.current=a;if(Oa&&(Oa=!1,tr=o,Aa=p),v=o.pendingLanes,v===0&&(er=null),G0(a.stateNode),Nt(o,Je()),n!==null)for(u=o.onRecoverableError,a=0;a<n.length;a++)p=n[a],u(p.value,{componentStack:p.stack,digest:p.digest});if(Ma)throw Ma=!1,o=kc,kc=null,o;return(Aa&1)!==0&&o.tag!==0&&vn(),v=o.pendingLanes,(v&1)!==0?o===xc?gi++:(gi=0,xc=o):gi=0,Qo(),null}function vn(){if(tr!==null){var o=Id(Aa),n=Wt.transition,a=Fe;try{if(Wt.transition=null,Fe=16>o?16:o,tr===null)var u=!1;else{if(o=tr,tr=null,Aa=0,(je&6)!==0)throw Error(r(331));var p=je;for(je|=4,de=o.current;de!==null;){var v=de,S=v.child;if((de.flags&16)!==0){var C=v.deletions;if(C!==null){for(var E=0;E<C.length;E++){var M=C[E];for(de=M;de!==null;){var J=de;switch(J.tag){case 0:case 11:case 15:di(8,J,v)}var ee=J.child;if(ee!==null)ee.return=J,de=ee;else for(;de!==null;){J=de;var Y=J.sibling,ce=J.return;if(Pp(J),J===M){de=null;break}if(Y!==null){Y.return=ce,de=Y;break}de=ce}}}var fe=v.alternate;if(fe!==null){var pe=fe.child;if(pe!==null){fe.child=null;do{var Ze=pe.sibling;pe.sibling=null,pe=Ze}while(pe!==null)}}de=v}}if((v.subtreeFlags&2064)!==0&&S!==null)S.return=v,de=S;else e:for(;de!==null;){if(v=de,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:di(9,v,v.return)}var P=v.sibling;if(P!==null){P.return=v.return,de=P;break e}de=v.return}}var R=o.current;for(de=R;de!==null;){S=de;var I=S.child;if((S.subtreeFlags&2064)!==0&&I!==null)I.return=S,de=I;else e:for(S=R;de!==null;){if(C=de,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Pa(9,C)}}catch(ge){Ge(C,C.return,ge)}if(C===S){de=null;break e}var ne=C.sibling;if(ne!==null){ne.return=C.return,de=ne;break e}de=C.return}}if(je=p,Qo(),po&&typeof po.onPostCommitFiberRoot=="function")try{po.onPostCommitFiberRoot(Gi,o)}catch{}u=!0}return u}finally{Fe=a,Wt.transition=n}}return!1}function Yp(o,n,a){n=dn(a,n),n=vp(o,n,1),o=Jo(o,n,1),n=xt(),o!==null&&(Mn(o,1,n),Nt(o,n))}function Ge(o,n,a){if(o.tag===3)Yp(o,o,a);else for(;n!==null;){if(n.tag===3){Yp(n,o,a);break}else if(n.tag===1){var u=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(er===null||!er.has(u))){o=dn(a,o),o=mp(n,o,1),n=Jo(n,o,1),o=xt(),n!==null&&(Mn(n,1,o),Nt(n,o));break}}n=n.return}}function k1(o,n,a){var u=o.pingCache;u!==null&&u.delete(n),n=xt(),o.pingedLanes|=o.suspendedLanes&a,at===o&&(dt&a)===a&&(nt===4||nt===3&&(dt&130023424)===dt&&500>Je()-wc?Er(o,0):yc|=a),Nt(o,n)}function Jp(o,n){n===0&&((o.mode&1)===0?n=1:(n=Qi,Qi<<=1,(Qi&130023424)===0&&(Qi=4194304)));var a=xt();o=Co(o,n),o!==null&&(Mn(o,n,a),Nt(o,a))}function x1(o){var n=o.memoizedState,a=0;n!==null&&(a=n.retryLane),Jp(o,a)}function B1(o,n){var a=0;switch(o.tag){case 13:var u=o.stateNode,p=o.memoizedState;p!==null&&(a=p.retryLane);break;case 19:u=o.stateNode;break;default:throw Error(r(314))}u!==null&&u.delete(n),Jp(o,a)}var Zp;Zp=function(o,n,a){if(o!==null)if(o.memoizedProps!==n.pendingProps||Bt.current)zt=!0;else{if((o.lanes&a)===0&&(n.flags&128)===0)return zt=!1,u1(o,n,a);zt=(o.flags&131072)!==0}else zt=!1,Ve&&(n.flags&1048576)!==0&&Ef(n,ba,n.index);switch(n.lanes=0,n.tag){case 2:var u=n.type;Ra(o,n),o=n.pendingProps;var p=on(n,vt.current);cn(n,a),p=Ys(null,n,u,o,p,a);var v=Js();return n.flags|=1,typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,St(u)?(v=!0,va(n)):v=!1,n.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,Ws(n),p.updater=qa,n.stateNode=p,p._reactInternals=n,nc(n,u,o,a),n=sc(null,n,u,!0,v,a)):(n.tag=0,Ve&&v&&Ds(n),kt(null,n,p,a),n=n.child),n;case 16:u=n.elementType;e:{switch(Ra(o,n),o=n.pendingProps,p=u._init,u=p(u._payload),n.type=u,p=n.tag=z1(u),o=to(u,o),p){case 0:n=lc(null,n,u,o,a);break e;case 1:n=zp(null,n,u,o,a);break e;case 11:n=wp(null,n,u,o,a);break e;case 14:n=kp(null,n,u,to(u.type,o),a);break e}throw Error(r(306,u,""))}return n;case 0:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:to(u,p),lc(o,n,u,p,a);case 1:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:to(u,p),zp(o,n,u,p,a);case 3:e:{if(_p(n),o===null)throw Error(r(387));u=n.pendingProps,v=n.memoizedState,p=v.element,Hf(o,n),Sa(n,u,null,a);var S=n.memoizedState;if(u=S.element,v.isDehydrated)if(v={element:u,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},n.updateQueue.baseState=v,n.memoizedState=v,n.flags&256){p=dn(Error(r(423)),n),n=Np(o,n,u,a,p);break e}else if(u!==p){p=dn(Error(r(424)),n),n=Np(o,n,u,a,p);break e}else for(Rt=Xo(n.stateNode.containerInfo.firstChild),Et=n,Ve=!0,eo=null,a=Of(n,null,u,a),n.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(an(),u===p){n=jo(o,n,a);break e}kt(o,n,u,a)}n=n.child}return n;case 5:return Wf(n),o===null&&Is(n),u=n.type,p=n.pendingProps,v=o!==null?o.memoizedProps:null,S=p.children,Cs(u,p)?S=null:v!==null&&Cs(u,v)&&(n.flags|=32),Sp(o,n),kt(o,n,S,a),n.child;case 6:return o===null&&Is(n),null;case 13:return Cp(o,n,a);case 4:return Us(n,n.stateNode.containerInfo),u=n.pendingProps,o===null?n.child=ln(n,null,u,a):kt(o,n,u,a),n.child;case 11:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:to(u,p),wp(o,n,u,p,a);case 7:return kt(o,n,n.pendingProps,a),n.child;case 8:return kt(o,n,n.pendingProps.children,a),n.child;case 12:return kt(o,n,n.pendingProps.children,a),n.child;case 10:e:{if(u=n.type._context,p=n.pendingProps,v=n.memoizedProps,S=p.value,Me(ka,u._currentValue),u._currentValue=S,v!==null)if(Zt(v.value,S)){if(v.children===p.children&&!Bt.current){n=jo(o,n,a);break e}}else for(v=n.child,v!==null&&(v.return=n);v!==null;){var C=v.dependencies;if(C!==null){S=v.child;for(var E=C.firstContext;E!==null;){if(E.context===u){if(v.tag===1){E=To(-1,a&-a),E.tag=2;var M=v.updateQueue;if(M!==null){M=M.shared;var J=M.pending;J===null?E.next=E:(E.next=J.next,J.next=E),M.pending=E}}v.lanes|=a,E=v.alternate,E!==null&&(E.lanes|=a),Ls(v.return,a,n),C.lanes|=a;break}E=E.next}}else if(v.tag===10)S=v.type===n.type?null:v.child;else if(v.tag===18){if(S=v.return,S===null)throw Error(r(341));S.lanes|=a,C=S.alternate,C!==null&&(C.lanes|=a),Ls(S,a,n),S=v.sibling}else S=v.child;if(S!==null)S.return=v;else for(S=v;S!==null;){if(S===n){S=null;break}if(v=S.sibling,v!==null){v.return=S.return,S=v;break}S=S.return}v=S}kt(o,n,p.children,a),n=n.child}return n;case 9:return p=n.type,u=n.pendingProps.children,cn(n,a),p=Lt(p),u=u(p),n.flags|=1,kt(o,n,u,a),n.child;case 14:return u=n.type,p=to(u,n.pendingProps),p=to(u.type,p),kp(o,n,u,p,a);case 15:return xp(o,n,n.type,n.pendingProps,a);case 17:return u=n.type,p=n.pendingProps,p=n.elementType===u?p:to(u,p),Ra(o,n),n.tag=1,St(u)?(o=!0,va(n)):o=!1,cn(n,a),pp(n,u,p),nc(n,u,p,a),sc(null,n,u,!0,o,a);case 19:return jp(o,n,a);case 22:return Bp(o,n,a)}throw Error(r(156,n.tag))};function eg(o,n){return Ed(o,n)}function S1(o,n,a,u){this.tag=o,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ut(o,n,a,u){return new S1(o,n,a,u)}function Cc(o){return o=o.prototype,!(!o||!o.isReactComponent)}function z1(o){if(typeof o=="function")return Cc(o)?1:0;if(o!=null){if(o=o.$$typeof,o===Z)return 11;if(o===K)return 14}return 2}function nr(o,n){var a=o.alternate;return a===null?(a=Ut(o.tag,n,o.key,o.mode),a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.alternate=o,o.alternate=a):(a.pendingProps=n,a.type=o.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=o.flags&14680064,a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,n=o.dependencies,a.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a}function Wa(o,n,a,u,p,v){var S=2;if(u=o,typeof o=="function")Cc(o)&&(S=1);else if(typeof o=="string")S=5;else e:switch(o){case F:return Dr(a.children,p,v,n);case V:S=8,p|=8;break;case $:return o=Ut(12,a,n,p|2),o.elementType=$,o.lanes=v,o;case re:return o=Ut(13,a,n,p),o.elementType=re,o.lanes=v,o;case oe:return o=Ut(19,a,n,p),o.elementType=oe,o.lanes=v,o;case ae:return Ua(a,p,v,n);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case ie:S=10;break e;case se:S=9;break e;case Z:S=11;break e;case K:S=14;break e;case A:S=16,u=null;break e}throw Error(r(130,o==null?o:typeof o,""))}return n=Ut(S,a,n,p),n.elementType=o,n.type=u,n.lanes=v,n}function Dr(o,n,a,u){return o=Ut(7,o,u,n),o.lanes=a,o}function Ua(o,n,a,u){return o=Ut(22,o,u,n),o.elementType=ae,o.lanes=a,o.stateNode={isHidden:!1},o}function Tc(o,n,a){return o=Ut(6,o,null,n),o.lanes=a,o}function jc(o,n,a){return n=Ut(4,o.children!==null?o.children:[],o.key,n),n.lanes=a,n.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},n}function _1(o,n,a,u,p){this.tag=n,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=rs(0),this.expirationTimes=rs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rs(0),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null}function qc(o,n,a,u,p,v,S,C,E){return o=new _1(o,n,a,C,E),n===1?(n=1,v===!0&&(n|=8)):n=0,v=Ut(3,null,null,n),o.current=v,v.stateNode=o,v.memoizedState={element:u,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ws(v),o}function N1(o,n,a){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:u==null?null:""+u,children:o,containerInfo:n,implementation:a}}function tg(o){if(!o)return Ko;o=o._reactInternals;e:{if(xr(o)!==o||o.tag!==1)throw Error(r(170));var n=o;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(St(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(r(171))}if(o.tag===1){var a=o.type;if(St(a))return Tf(o,a,n)}return n}function og(o,n,a,u,p,v,S,C,E){return o=qc(a,u,!0,o,p,v,S,C,E),o.context=tg(null),a=o.current,u=xt(),p=or(a),v=To(u,p),v.callback=n??null,Jo(a,v,p),o.current.lanes=p,Mn(o,p,u),Nt(o,u),o}function $a(o,n,a,u){var p=n.current,v=xt(),S=or(p);return a=tg(a),n.context===null?n.context=a:n.pendingContext=a,n=To(v,S),n.payload={element:o},u=u===void 0?null:u,u!==null&&(n.callback=u),o=Jo(p,n,S),o!==null&&(no(o,p,S,v),Ba(o,p,S)),S}function Xa(o){return o=o.current,o.child?(o.child.tag===5,o.child.stateNode):null}function rg(o,n){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var a=o.retryLane;o.retryLane=a!==0&&a<n?a:n}}function Ec(o,n){rg(o,n),(o=o.alternate)&&rg(o,n)}function C1(){return null}var ng=typeof reportError=="function"?reportError:function(o){console.error(o)};function Rc(o){this._internalRoot=o}Ga.prototype.render=Rc.prototype.render=function(o){var n=this._internalRoot;if(n===null)throw Error(r(409));$a(o,n,null,null)},Ga.prototype.unmount=Rc.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var n=o.containerInfo;qr(function(){$a(null,o,null,null)}),n[So]=null}};function Ga(o){this._internalRoot=o}Ga.prototype.unstable_scheduleHydration=function(o){if(o){var n=Ad();o={blockedOn:null,target:o,priority:n};for(var a=0;a<Wo.length&&n!==0&&n<Wo[a].priority;a++);Wo.splice(a,0,o),a===0&&Vd(o)}};function Dc(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function Ka(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function ig(){}function T1(o,n,a,u,p){if(p){if(typeof u=="function"){var v=u;u=function(){var M=Xa(S);v.call(M)}}var S=og(n,u,o,0,null,!1,!1,"",ig);return o._reactRootContainer=S,o[So]=S.current,Jn(o.nodeType===8?o.parentNode:o),qr(),S}for(;p=o.lastChild;)o.removeChild(p);if(typeof u=="function"){var C=u;u=function(){var M=Xa(E);C.call(M)}}var E=qc(o,0,!1,null,null,!1,!1,"",ig);return o._reactRootContainer=E,o[So]=E.current,Jn(o.nodeType===8?o.parentNode:o),qr(function(){$a(n,E,a,u)}),E}function Qa(o,n,a,u,p){var v=a._reactRootContainer;if(v){var S=v;if(typeof p=="function"){var C=p;p=function(){var E=Xa(S);C.call(E)}}$a(n,S,o,p)}else S=T1(a,n,o,p,u);return Xa(S)}Md=function(o){switch(o.tag){case 3:var n=o.stateNode;if(n.current.memoizedState.isDehydrated){var a=In(n.pendingLanes);a!==0&&(ns(n,a|1),Nt(n,Je()),(je&6)===0&&(gn=Je()+500,Qo()))}break;case 13:qr(function(){var u=Co(o,1);if(u!==null){var p=xt();no(u,o,1,p)}}),Ec(o,1)}},is=function(o){if(o.tag===13){var n=Co(o,134217728);if(n!==null){var a=xt();no(n,o,134217728,a)}Ec(o,134217728)}},Od=function(o){if(o.tag===13){var n=or(o),a=Co(o,n);if(a!==null){var u=xt();no(a,o,n,u)}Ec(o,n)}},Ad=function(){return Fe},Hd=function(o,n){var a=Fe;try{return Fe=o,n()}finally{Fe=a}},Yl=function(o,n,a){switch(n){case"input":if(Vl(o,a),n=a.name,a.type==="radio"&&n!=null){for(a=o;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<a.length;n++){var u=a[n];if(u!==o&&u.form===o.form){var p=pa(u);if(!p)throw Error(r(90));kr(u),Vl(u,p)}}}break;case"textarea":md(o,a);break;case"select":n=a.value,n!=null&&Wr(o,!!a.multiple,n,!1)}},zd=zc,_d=qr;var j1={usingClientEntryPoint:!1,Events:[ti,en,pa,Bd,Sd,zc]},vi={findFiberByHostInstance:Br,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},q1={bundleType:vi.bundleType,version:vi.version,rendererPackageName:vi.rendererPackageName,rendererConfig:vi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=jd(o),o===null?null:o.stateNode},findFiberByHostInstance:vi.findFiberByHostInstance||C1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ya=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ya.isDisabled&&Ya.supportsFiber)try{Gi=Ya.inject(q1),po=Ya}catch{}}return Ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j1,Ct.createPortal=function(o,n){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Dc(n))throw Error(r(200));return N1(o,n,null,a)},Ct.createRoot=function(o,n){if(!Dc(o))throw Error(r(299));var a=!1,u="",p=ng;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(p=n.onRecoverableError)),n=qc(o,1,!1,null,null,a,!1,u,p),o[So]=n.current,Jn(o.nodeType===8?o.parentNode:o),new Rc(n)},Ct.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var n=o._reactInternals;if(n===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=jd(n),o=o===null?null:o.stateNode,o},Ct.flushSync=function(o){return qr(o)},Ct.hydrate=function(o,n,a){if(!Ka(n))throw Error(r(200));return Qa(null,o,n,!0,a)},Ct.hydrateRoot=function(o,n,a){if(!Dc(o))throw Error(r(405));var u=a!=null&&a.hydratedSources||null,p=!1,v="",S=ng;if(a!=null&&(a.unstable_strictMode===!0&&(p=!0),a.identifierPrefix!==void 0&&(v=a.identifierPrefix),a.onRecoverableError!==void 0&&(S=a.onRecoverableError)),n=og(n,null,o,1,a??null,p,!1,v,S),o[So]=n.current,Jn(o),u)for(o=0;o<u.length;o++)a=u[o],p=a._getVersion,p=p(a._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[a,p]:n.mutableSourceEagerHydrationData.push(a,p);return new Ga(n)},Ct.render=function(o,n,a){if(!Ka(n))throw Error(r(200));return Qa(null,o,n,!1,a)},Ct.unmountComponentAtNode=function(o){if(!Ka(o))throw Error(r(40));return o._reactRootContainer?(qr(function(){Qa(null,null,o,!1,function(){o._reactRootContainer=null,o[So]=null})}),!0):!1},Ct.unstable_batchedUpdates=zc,Ct.unstable_renderSubtreeIntoContainer=function(o,n,a,u){if(!Ka(a))throw Error(r(200));if(o==null||o._reactInternals===void 0)throw Error(r(38));return Qa(o,n,a,!1,u)},Ct.version="18.3.1-next-f1338f8080-20240426",Ct}var cg;function ay(){if(cg)return Pc.exports;cg=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Pc.exports=iy(),Pc.exports}const ly={"<":"\\3C ",">":"\\3E "};function sy(e){return e.replace(/[<>]/g,t=>ly[t])}function cy(e,t){if(t){const r=Object.keys(t).reduce((i,l)=>`${i}--${l}: ${t[l]}; `,"");return`${e} { ${sy(r)} }`}return`${e} {}`}const Ir=Symbol.for("fui.slotRenderFunction"),dr=Symbol.for("fui.slotElementType"),Vv=Symbol.for("fui.slotClassNameProp");function ue(e,t){const{defaultProps:r,elementType:i}=t,l=Wv(e),s={...r,...l,[dr]:i,[Vv]:l?.className||r?.className};return l&&typeof l.children=="function"&&(s[Ir]=l.children,s.children=r?.children),s}function he(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return ue(e,t)}function Wv(e){return typeof e=="string"||typeof e=="number"||uy(e)||y.isValidElement(e)?{children:e}:e}const uy=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Uv(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!y.isValidElement(e)}function lu(e){return!!e?.hasOwnProperty(dr)}const Ae=(...e)=>{const t={};for(const r of e){const i=Array.isArray(r)?r:Object.keys(r);for(const l of i)t[l]=1}return t},dy=Ae(["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"]),fy=Ae(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),py=Ae(["itemID","itemProp","itemRef","itemScope","itemType"]),ot=Ae(fy,dy,py),gy=Ae(ot,["form"]),$v=Ae(ot,["height","loop","muted","preload","src","width"]),vy=Ae($v,["poster"]),my=Ae(ot,["start"]),hy=Ae(ot,["value"]),by=Ae(ot,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),yy=Ae(ot,["dateTime"]),Sl=Ae(ot,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),wy=Ae(Sl,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),ky=Ae(Sl,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),xy=Ae(Sl,["form","multiple","required"]),By=Ae(ot,["selected","value"]),Sy=Ae(ot,["cellPadding","cellSpacing"]),zy=ot,_y=Ae(ot,["colSpan","rowSpan","scope"]),Ny=Ae(ot,["colSpan","headers","rowSpan","scope"]),Cy=Ae(ot,["span"]),Ty=Ae(ot,["span"]),jy=Ae(ot,["disabled","form"]),qy=Ae(ot,["acceptCharset","action","encType","encType","method","noValidate","target"]),Ey=Ae(ot,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Ry=Ae(ot,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Dy=Ae(ot,["open","onCancel","onClose"]);function Py(e,t,r){const i=Array.isArray(t),l={},s=Object.keys(e);for(const c of s)(!i&&t[c]||i&&t.indexOf(c)>=0||c.indexOf("data-")===0||c.indexOf("aria-")===0)&&(!r||r?.indexOf(c)===-1)&&(l[c]=e[c]);return l}const Fy={label:gy,audio:$v,video:vy,ol:my,li:hy,a:by,button:Sl,input:wy,textarea:ky,select:xy,option:By,table:Sy,tr:zy,th:_y,td:Ny,colGroup:Cy,col:Ty,fieldset:jy,form:qy,iframe:Ey,img:Ry,time:yy,dialog:Dy};function Xv(e,t,r){const i=e&&Fy[e]||ot;return i.as=1,Py(t,i,r)}const Po=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:Xv(e,t,[...r||[],"style","className"])}),De=(e,t,r)=>{var i;return Xv((i=t.as)!==null&&i!==void 0?i:e,t,r)};function Gv(e,t){const r={};for(const i in e)t.indexOf(i)===-1&&e.hasOwnProperty(i)&&(r[i]=e[i]);return r}function n9(e){const t=e,r={},i={},l=Object.keys(t.components);for(const s of l){const[c,d]=Iy(t,s);r[s]=c,i[s]=d}return{slots:r,slotProps:i}}function Iy(e,t){var r,i;const l=e[t];if(l===void 0)return[null,void 0];const{as:s,children:c,...d}=l,f=lu(l)?l[Ir]:void 0,g=((r=e.components)===null||r===void 0?void 0:r[t])===void 0||typeof e.components[t]=="string"?s||((i=e.components)===null||i===void 0?void 0:i[t])||"div":e.components[t],m=g;if(f||typeof c=="function"){const w=f||c;return[y.Fragment,{children:w(m,d)}]}const x=typeof g=="string"&&s?Gv(l,["as"]):l;return[m,x]}function Kv(e,t){const r=y.useRef(void 0),i=y.useCallback((s,c)=>(r.current!==void 0&&t(r.current),r.current=e(s,c),r.current),[t,e]),l=y.useCallback(()=>{r.current!==void 0&&(t(r.current),r.current=void 0)},[t]);return y.useEffect(()=>l,[l]),[i,l]}const Qv=y.createContext(void 0),My=Qv.Provider,Yv=y.createContext(void 0),Oy="",Ay=Yv.Provider;function Hy(){var e;return(e=y.useContext(Yv))!==null&&e!==void 0?e:Oy}const Jv=y.createContext(void 0),Ly={},Vy=Jv.Provider;function Wy(){var e;return(e=y.useContext(Jv))!==null&&e!==void 0?e:Ly}const Zv=y.createContext(void 0),Uy={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},$y=Zv.Provider;function Te(){var e;return(e=y.useContext(Zv))!==null&&e!==void 0?e:Uy}const em=y.createContext(void 0),Xy=em.Provider;function Di(){var e;return(e=y.useContext(em))!==null&&e!==void 0?e:{}}const Du=y.createContext(void 0),Gy=()=>{},Ky=Du.Provider,Se=e=>{var t,r;return(r=(t=y.useContext(Du))===null||t===void 0?void 0:t[e])!==null&&r!==void 0?r:Gy},tm=y.createContext(void 0);tm.Provider;function Qy(){return y.useContext(tm)}const om=y.createContext(void 0);om.Provider;function Yy(){var e;return(e=y.useContext(om))!==null&&e!==void 0?e:{announce:()=>{}}}const Jy=e=>(e(0),0),Zy=e=>e;function Bi(){const{targetDocument:e}=Te(),t=e?.defaultView,r=t?t.requestAnimationFrame:Jy,i=t?t.cancelAnimationFrame:Zy;return Kv(r,i)}function ew(e){const t=e.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll";const r=e.createElement("div");t.appendChild(r),e.body.appendChild(t);const i=t.offsetWidth-r.offsetWidth;return t.remove(),i}function tw(e){return typeof e=="function"}const wt=e=>{"use no memo";const[t,r]=y.useState(()=>e.defaultState===void 0?e.initialState:ow(e.defaultState)?e.defaultState():e.defaultState),i=y.useRef(e.state);y.useEffect(()=>{i.current=e.state},[e.state]);const l=y.useCallback(s=>{tw(s)&&s(i.current)},[]);return rw(e.state)?[e.state,l]:[t,r]};function ow(e){return typeof e=="function"}const rw=e=>{"use no memo";const[t]=y.useState(()=>e!==void 0);return t};function zl(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const rm={current:0},nw=y.createContext(void 0);function nm(){var e;return(e=y.useContext(nw))!==null&&e!==void 0?e:rm}function iw(){const e=nm()!==rm,[t,r]=y.useState(e);return zl()&&e&&y.useLayoutEffect(()=>{r(!1)},[]),t}const We=zl()?y.useLayoutEffect:y.useEffect,te=e=>{const t=y.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return We(()=>{t.current=e},[e]),y.useCallback((...r)=>{const i=t.current;return i(...r)},[t])};function Pu(){const e=y.useRef(!0);return y.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function aw(){return y.useReducer(e=>e+1,0)[1]}const im=y.createContext(void 0);im.Provider;function lw(){return y.useContext(im)||""}function st(e="fui-",t){"use no memo";const r=nm(),i=lw(),l=vl.useId;if(l){const s=l(),c=y.useMemo(()=>s.replace(/:/g,""),[s]);return t||`${i}${e}${c}`}return y.useMemo(()=>t||`${i}${e}${++r.current}`,[i,e,t,r])}function Ne(...e){"use no memo";const t=y.useCallback(r=>{t.current=r;for(const i of e)typeof i=="function"?i(r):i&&(i.current=r)},[...e]);return t}const am=(e,t)=>!!e?.contains(t),_l=e=>{const{targetDocument:t}=Te(),r=t?.defaultView,{refs:i,callback:l,element:s,disabled:c,disabledFocusOnIframe:d,contains:f=am}=e,g=y.useRef(void 0);cw({element:s,disabled:d||c,callback:l,refs:i,contains:f});const m=y.useRef(!1),h=te(w=>{if(m.current){m.current=!1;return}const k=w.composedPath()[0];i.every(B=>!f(B.current||null,k))&&!c&&l(w)}),x=te(w=>{m.current=i.some(k=>f(k.current||null,w.target))});y.useEffect(()=>{if(c)return;let w=sw(r);const k=b=>{if(b===w){w=void 0;return}h(b)};return s?.addEventListener("click",k,!0),s?.addEventListener("touchstart",k,!0),s?.addEventListener("contextmenu",k,!0),s?.addEventListener("mousedown",x,!0),g.current=r?.setTimeout(()=>{w=void 0},1),()=>{s?.removeEventListener("click",k,!0),s?.removeEventListener("touchstart",k,!0),s?.removeEventListener("contextmenu",k,!0),s?.removeEventListener("mousedown",x,!0),r?.clearTimeout(g.current),w=void 0}},[h,s,c,x,r])},sw=e=>{if(e){var t,r;if(typeof e.window=="object"&&e.window===e)return e.event;var i;return(i=(r=e.ownerDocument)===null||r===void 0||(t=r.defaultView)===null||t===void 0?void 0:t.event)!==null&&i!==void 0?i:void 0}},Mc="fuiframefocus",cw=e=>{const{disabled:t,element:r,callback:i,contains:l=am,pollDuration:s=100,refs:c}=e,d=y.useRef(void 0),f=te(g=>{c.every(h=>!l(h.current||null,g.target))&&!t&&i(g)});y.useEffect(()=>{if(!t)return r?.addEventListener(Mc,f,!0),()=>{r?.removeEventListener(Mc,f,!0)}},[r,t,f]),y.useEffect(()=>{var g;if(!t)return d.current=r==null||(g=r.defaultView)===null||g===void 0?void 0:g.setInterval(()=>{const m=r?.activeElement;if(m?.tagName==="IFRAME"||m?.tagName==="WEBVIEW"){const h=new CustomEvent(Mc,{bubbles:!0});m.dispatchEvent(h)}},s),()=>{var m;r==null||(m=r.defaultView)===null||m===void 0||m.clearInterval(d.current)}},[r,t,s])},lm=e=>{const{refs:t,callback:r,element:i,disabled:l,contains:s}=e,c=te(d=>{const f=s||((h,x)=>!!h?.contains(x)),g=d.composedPath()[0];t.every(h=>!f(h.current||null,g))&&!l&&r(d)});y.useEffect(()=>{if(!l)return i?.addEventListener("wheel",c),i?.addEventListener("touchmove",c),()=>{i?.removeEventListener("wheel",c),i?.removeEventListener("touchmove",c)}},[c,i,l])},Oc=new WeakMap;function i9(e){const{targetDocument:t,force:r}=e;return y.useMemo(()=>{if(!t)return 0;if(!r&&Oc.has(t))return Oc.get(t);const i=ew(t);return Oc.set(t,i),i},[t,r])}const uw=e=>-1,dw=e=>{};function gr(){const{targetDocument:e}=Te(),t=e?.defaultView,r=t?t.setTimeout:uw,i=t?t.clearTimeout:dw;return Kv(r,i)}const fw=parseInt(y.version,10)>=19;function Pi(e){if(e)return fw?e.props.ref:e.ref}function me(e,t){return(...r)=>{e?.(...r),t?.(...r)}}function Mt(e,t){var r;const i=e;var l;return!!(!(i==null||(r=i.ownerDocument)===null||r===void 0)&&r.defaultView&&i instanceof i.ownerDocument.defaultView[(l=void 0)!==null&&l!==void 0?l:"HTMLElement"])}function pw(e){if(!Mt(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function sm(e){return!!e.type.isFluentTriggerComponent}function Nl(e,t){return typeof e=="function"?e(t):e?cm(e,t):e||null}function cm(e,t){if(!y.isValidElement(e)||e.type===y.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(sm(e)){const r=cm(e.props.children,t);return y.cloneElement(e,void 0,r)}else return y.cloneElement(e,t)}function Fi(e){return y.isValidElement(e)?sm(e)?Fi(e.props.children):e:null}function su(e){return e.type.startsWith("touch")}function cu(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function ug(e){return cu(e)?{clientX:e.clientX,clientY:e.clientY}:su(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function dg(e){return e instanceof Set?e:new Set(e)}function um(e){const[t,r]=wt({initialState:new Set,defaultState:y.useMemo(()=>e.defaultSelectedItems&&dg(e.defaultSelectedItems),[e.defaultSelectedItems]),state:y.useMemo(()=>e.selectedItems&&dg(e.selectedItems),[e.selectedItems])});return[t,(l,s)=>{var c;(c=e.onSelectionChange)===null||c===void 0||c.call(e,l,{selectedItems:s}),r(s)}]}function gw(e){const[t,r]=um(e);return[t,{deselectItem:l=>r(l,new Set),selectItem:(l,s)=>r(l,new Set([s])),toggleAllItems:()=>{},toggleItem:(l,s)=>r(l,new Set([s])),clearItems:l=>r(l,new Set),isSelected:l=>{var s;return(s=t.has(l))!==null&&s!==void 0?s:!1}}]}function vw(e){const[t,r]=um(e);return[t,{toggleItem:(l,s)=>{const c=new Set(t);t.has(s)?c.delete(s):c.add(s),r(l,c)},selectItem:(l,s)=>{const c=new Set(t);c.add(s),r(l,c)},deselectItem:(l,s)=>{const c=new Set(t);c.delete(s),r(l,c)},clearItems:l=>{r(l,new Set)},isSelected:l=>t.has(l),toggleAllItems:(l,s)=>{const c=s.every(f=>t.has(f)),d=new Set(t);c?d.clear():s.forEach(f=>d.add(f)),r(l,d)}}]}function mw(e){"use no memo";return e.selectionMode==="multiselect"?vw(e):gw(e)}function hw(e){return e&&!!e._virtual}function bw(e){return hw(e)&&e._virtual.parent||null}function dm(e,t={}){if(!e)return null;if(!t.skipVirtual){const i=bw(e);if(i)return i}const r=e.parentNode;return r&&r.nodeType===11?r.host:r}function Si(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const i=dm(t,{skipVirtual:r.has(t)});if(r.add(t),i===e)return!0;t=i}}return!1}function fg(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function yw(e,t){return{...t,[dr]:e}}function fm(e,t){return function(i,l,s,c,d){return lu(l)?t(yw(i,l),null,s,c,d):lu(i)?t(i,l,s,c,d):e(i,l,s,c,d)}}function pm(e){const{as:t,[Vv]:r,[dr]:i,[Ir]:l,...s}=e,c=s,d=typeof i=="string"?t??i:i;return typeof d!="string"&&t&&(c.as=t),{elementType:d,props:c,renderFunction:l}}const Fr=R1,ww=(e,t,r)=>{const{elementType:i,renderFunction:l,props:s}=pm(e),c={...s,...t};return l?Fr.jsx(y.Fragment,{children:l(i,c)},r):Fr.jsx(i,c,r)},kw=(e,t,r)=>{const{elementType:i,renderFunction:l,props:s}=pm(e),c={...s,...t};return l?Fr.jsx(y.Fragment,{children:l(i,{...c,children:Fr.jsxs(y.Fragment,{children:c.children},void 0)})},r):Fr.jsxs(i,c,r)},H=fm(Fr.jsx,ww),Ce=fm(Fr.jsxs,kw),xw=(e,t)=>H($y,{value:t.provider,children:H(My,{value:t.theme,children:H(Ay,{value:t.themeClassName,children:H(Ky,{value:t.customStyleHooks_unstable,children:H(Vy,{value:t.tooltip,children:H(D1,{dir:t.textDirection,children:H(P1,{value:t.iconDirection,children:H(Xy,{value:t.overrides_unstable,children:Ce(e.root,{children:[zl()?null:H("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});const Qt="data-tabster",Bw="data-tabster-dummy",gm=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Eo={EscapeGroupper:1,Restorer:2,Deloser:3},ar={Invisible:0,PartiallyVisible:1,Visible:2},Mr={Source:0,Target:1},ao={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},Ke={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},dl={Unlimited:0,Limited:1,LimitedTrapFocus:2},ml={Enter:1,Escape:2},Sw={Outside:2};function pt(e,t){return e.storageEntry(t)?.tabster}function vm(e,t,r){const i=r||e._noop?void 0:t.getAttribute(Qt);let l=e.storageEntry(t),s;if(i)if(i!==l?.attr?.string)try{const g=JSON.parse(i);if(typeof g!="object")throw new Error(`Value is not a JSON object, got '${i}'.`);s={string:i,object:g}}catch{}else return;else if(!l)return;l||(l=e.storageEntry(t,!0)),l.tabster||(l.tabster={});const c=l.tabster||{},d=l.attr?.object||{},f=s?.object||{};for(const g of Object.keys(d))if(!f[g]){if(g==="root"){const m=c[g];m&&e.root.onRoot(m,!0)}switch(g){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const m=c[g];m&&(m.dispose(),delete c[g]);break;case"observed":delete c[g],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete c[g];break}}for(const g of Object.keys(f)){const m=f.sys;switch(g){case"root":c.root?c.root.setProps(f.root):c.root=e.root.createRoot(t,f.root,m),e.root.onRoot(c.root);break;case"focusable":c.focusable=f.focusable;break;case"observed":e.observedElement&&(c.observed=f.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":c.uncontrolled=f.uncontrolled;break;case"outline":e.outline&&(c.outline=f.outline);break;case"sys":c.sys=f.sys;break;default:{const h=e.attrHandlers.get(g);h&&(c[g]=h(t,c[g],f[g],d?.[g],m))}}}s?l.attr=s:(Object.keys(c).length===0&&(delete l.tabster,delete l.attr),e.storageEntry(t,!1))}const bo=(e,t,r)=>{e.addEventListener(t,r,!0)},Gt=(e,t,r)=>{e.removeEventListener(t,r,!0)};const Ot="keyborg:focusin",zi="keyborg:focusout",pg=0,gg=1,vg=2,Ja=3;function zw(e){const t=e.HTMLElement,r=t.prototype.focus;let i=!1;return t.prototype.focus=function(){i=!0},e.document.createElement("button").focus(),t.prototype.focus=r,i}let Ac=!1;function ko(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function _w(e){const t=e,r=t.document,i=t.HTMLElement.prototype;Ac||(Ac=zw(t));const l=i.focus;if(l.__keyborgNativeFocus)return;i.focus=m;const s=new Set,c=x=>{const w=x.target;if(!w)return;const k=new CustomEvent(zi,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:x}});w.dispatchEvent(k)},d=x=>{const w=x.target;if(!w)return;let k=x.composedPath()[0];const b=new Set;for(;k;)k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(b.add(k),k=k.host):k=k.parentNode;for(const B of s){const _=B.deref();(!_||!b.has(_))&&(s.delete(B),_&&(Gt(_,"focusin",d),Gt(_,"focusout",c)))}f(w,x.relatedTarget||void 0)},f=(x,w,k)=>{const b=x.shadowRoot;if(b){for(const T of s)if(T.deref()===b)return;bo(b,"focusin",d),bo(b,"focusout",c),s.add(new WeakRef(b));return}const B={relatedTarget:w,originalEvent:k},_=new CustomEvent(Ot,{cancelable:!0,bubbles:!0,composed:!0,detail:B});_.details=B,(Ac||g[Ja])&&(B.isFocusedProgrammatically=x===g[Ja]?.deref(),g[Ja]=void 0),x.dispatchEvent(_)},g=[d,c,s];t.__keyborgData=g,bo(r,"focusin",d),bo(r,"focusout",c);function m(){const x=t.__keyborgData;return x&&(x[Ja]=new WeakRef(this)),l.apply(this,arguments)}let h=r.activeElement;for(;h&&h.shadowRoot;)f(h),h=h.shadowRoot.activeElement;m.__keyborgNativeFocus=l}function Nw(e){const t=e,r=t.HTMLElement.prototype,i=r.focus.__keyborgNativeFocus,l=t.__keyborgData;if(l){const s=t.document;Gt(s,"focusin",l[pg]),Gt(s,"focusout",l[gg]);for(const c of l[vg]){const d=c.deref();d&&(Gt(d,"focusin",l[pg]),Gt(d,"focusout",l[gg]))}l[vg].clear(),delete t.__keyborgData}i&&(r.focus=i)}let Cw=0;function Tw(e,t){let r=e,i=!1,l;const s=()=>{const k=r?.__keyborg?.refs;if(k)for(const b of Object.keys(k))k[b]._cb.forEach(B=>B(i))},c=k=>{i!==k&&(i=k,s())},d=k=>{if(k.key==="Tab")return!0;const b=r?.document.activeElement,B=!0,_=b&&(b.tagName==="INPUT"||b.tagName==="TEXTAREA"||b.isContentEditable);return B&&!_},f=k=>{if(l||i)return;const b=k.detail;b.relatedTarget&&(b.isFocusedProgrammatically||b.isFocusedProgrammatically===void 0||c(!0))},g=()=>{r&&(l&&r.clearTimeout(l),l=r.setTimeout(()=>{l=void 0},1e3)),c(!1)},m=k=>{k.buttons===0||k.clientX===0&&k.clientY===0&&k.screenX===0&&k.screenY===0||g()},h=k=>{i||d(k)&&c(!0)},x=e.document;return bo(x,Ot,f),bo(x,"mousedown",m),bo(e,"keydown",h),bo(x,"touchstart",g),bo(x,"touchend",g),bo(x,"touchcancel",g),_w(e),{dispose:()=>{if(!r)return;l&&(r.clearTimeout(l),l=void 0),Nw(r);const k=r.document;Gt(k,Ot,f),Gt(k,"mousedown",m),Gt(r,"keydown",h),Gt(k,"touchstart",g),Gt(k,"touchend",g),Gt(k,"touchcancel",g),r=void 0},get isNavigatingWithKeyboard(){return i},set isNavigatingWithKeyboard(k){c(k)}}}function Cl(e,t){const r=e,i="k"+ ++Cw;let l=r,s;const c=[],d=r.__keyborg;d?s=d.core:s=Tw(r);const f={isNavigatingWithKeyboard(){return!!s?.isNavigatingWithKeyboard},subscribe(g){c.push(g)},unsubscribe(g){const m=c.indexOf(g);m>=0&&c.splice(m,1)},setVal(g){s&&(s.isNavigatingWithKeyboard=g)},_cb:c,dispose(){const g=l?.__keyborg;g?.refs[i]&&(delete g.refs[i],Object.keys(g.refs).length===0&&(g.core.dispose(),delete l.__keyborg)),c.length=0,s=void 0,l=void 0}};return d?d.refs[i]=f:r.__keyborg={core:s,refs:{[i]:f}},f}function Tl(e){e.dispose()}const jw="tabster:focusin",qw="tabster:focusout",uu="tabster:movefocus",Ew="tabster:modalizer:active",Rw="tabster:modalizer:inactive",Dw="tabster:mover:state",du="tabster:mover:movefocus",mg="tabster:mover:memorized-element",fu="tabster:groupper:movefocus",pu="tabster:restorer:restore-focus",Pw="tabster:root:focus",Fw="tabster:root:blur",Iw=typeof CustomEvent<"u"?CustomEvent:function(){};class fo extends Iw{details;constructor(t,r){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:r}),this.details=r}}class Mw extends fo{constructor(t){super(jw,t)}}class Ow extends fo{constructor(t){super(qw,t)}}class sr extends fo{constructor(t){super(uu,t)}}class hg extends fo{constructor(t){super(Dw,t)}}class Aw extends fo{constructor(t){super(du,t)}}class bg extends fo{constructor(t){super(fu,t)}}class Hw extends fo{constructor(t){super(Ew,t)}}class Lw extends fo{constructor(t){super(Rw,t)}}class yg extends fo{constructor(){super(pu)}}class Vw extends fo{constructor(t){super(Pw,t)}}class Ww extends fo{constructor(t){super(Fw,t)}}const Uw=e=>new MutationObserver(e),$w=(e,t,r,i)=>e.createTreeWalker(t,r,i),Xw=e=>e?e.parentNode:null,Gw=e=>e?e.parentElement:null,Kw=(e,t)=>!!(t&&e?.contains(t)),Qw=e=>e.activeElement,Yw=(e,t)=>e.querySelector(t),Jw=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),Zw=(e,t)=>e.getElementById(t),ek=e=>e?.firstChild||null,tk=e=>e?.lastChild||null,ok=e=>e?.nextSibling||null,rk=e=>e?.previousSibling||null,nk=e=>e?.firstElementChild||null,ik=e=>e?.lastElementChild||null,ak=e=>e?.nextElementSibling||null,lk=e=>e?.previousElementSibling||null,sk=(e,t)=>e.appendChild(t),ck=(e,t,r)=>e.insertBefore(t,r),uk=e=>e.ownerDocument?.getSelection()||null,dk=(e,t)=>e.ownerDocument.getElementsByName(t),Q={createMutationObserver:Uw,createTreeWalker:$w,getParentNode:Xw,getParentElement:Gw,nodeContains:Kw,getActiveElement:Qw,querySelector:Yw,querySelectorAll:Jw,getElementById:Zw,getFirstChild:ek,getLastChild:tk,getNextSibling:ok,getPreviousSibling:rk,getFirstElementChild:nk,getLastElementChild:ik,getNextElementSibling:ak,getPreviousElementSibling:lk,appendChild:sk,insertBefore:ck,getSelection:uk,getElementsByName:dk};function fk(e){for(const t of Object.keys(e))Q[t]=e[t]}let pk=0;function jl(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0},t.__tabsterInstanceContext=r),r}function gk(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),delete e.__tabsterInstanceContext)}function vk(e){return!!e.querySelector(gm)}class Ft{_ref;_data;constructor(t,r){this._ref=new WeakRef(t),this._data=r}get(){const t=this._ref;let r;return t&&(r=t.deref(),r||delete this._ref),r}getData(){return this._data}}function Fu(e,t,r){if(t.nodeType===Node.ELEMENT_NODE)return Q.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,{acceptNode:r})}function mm(e,t){let r=t.__tabsterCacheId;const i=jl(e),l=r?i.containerBoundingRectCache[r]:void 0;if(l)return l.rect;const s=t.ownerDocument&&t.ownerDocument.documentElement;if(!s)return new DOMRect;let c=0,d=0,f=s.clientWidth,g=s.clientHeight;if(t!==s){const h=t.getBoundingClientRect();c=Math.max(c,h.left),d=Math.max(d,h.top),f=Math.min(f,h.right),g=Math.min(g,h.bottom)}const m=new DOMRect(c<f?c:-1,d<g?d:-1,c<f?f-c:0,d<g?g-d:0);return r||(r="r-"+ ++i.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),i.containerBoundingRectCache[r]={rect:m,element:t},i.containerBoundingRectCacheTimer||(i.containerBoundingRectCacheTimer=window.setTimeout(()=>{i.containerBoundingRectCacheTimer=void 0;for(const h of Object.keys(i.containerBoundingRectCache))delete i.containerBoundingRectCache[h].element.__tabsterCacheId;i.containerBoundingRectCache={}},50)),m}function wg(e,t,r){const i=hm(t);if(!i)return!1;const l=mm(e,i),s=t.getBoundingClientRect(),c=s.height*(1-r),d=Math.max(0,l.top-s.top),f=Math.max(0,s.bottom-l.bottom),g=d+f;return g===0||g<=c}function mk(e,t,r){const i=hm(t);if(i){const l=mm(e,i),s=t.getBoundingClientRect();r?i.scrollTop+=s.top-l.top:i.scrollTop+=s.bottom-l.bottom}}function hm(e){const t=e.ownerDocument;if(t){for(let r=Q.getParentElement(e);r;r=Q.getParentElement(r))if(r.scrollWidth>r.clientWidth||r.scrollHeight>r.clientHeight)return r;return t.documentElement}return null}function hk(e){e.__shouldIgnoreFocus=!0}function bm(e){return!!e.__shouldIgnoreFocus}function bk(e){const t=new Uint32Array(4);e.crypto.getRandomValues(t);const r=[];for(let i=0;i<t.length;i++)r.push(t[i].toString(36));return r.push("|"),r.push((++pk).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}function fl(e,t){const r=jl(e);let i=t.__tabsterElementUID;return i||(i=t.__tabsterElementUID=bk(e())),!r.elementByUId[i]&&ym(t.ownerDocument,t)&&(r.elementByUId[i]=new Ft(t)),i}function kg(e,t){const r=jl(e);for(const i of Object.keys(r.elementByUId)){const l=r.elementByUId[i],s=l&&l.get();s&&t&&!Q.nodeContains(t,s)||delete r.elementByUId[i]}}function ym(e,t){return Q.nodeContains(e?.body,t)}function wm(e,t){return typeof e.matches=="function"&&e.matches(t)}let yk=0;class Ii{_tabster;_element;_props;id;constructor(t,r,i){this._tabster=t,this._element=new Ft(r),this._props={...i},this.id="i"+ ++yk}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}function km(e){let t=null;for(let r=Q.getLastElementChild(e);r;r=Q.getLastElementChild(r))t=r;return t||void 0}function wk(e,t){let r=e,i=null;for(;r&&!i;)i=t?Q.getPreviousElementSibling(r):Q.getNextElementSibling(r),r=Q.getParentElement(r);return i||void 0}function Hc(e,t,r,i){const l=e.storageEntry(t,!0);let s=!1;if(!l.aug){if(i===void 0)return s;l.aug={}}if(i===void 0){if(r in l.aug){const c=l.aug[r];delete l.aug[r],c===null?t.removeAttribute(r):t.setAttribute(r,c),s=!0}}else{let c;r in l.aug||(c=t.getAttribute(r)),c!==void 0&&c!==i&&(l.aug[r]=c,i===null?t.removeAttribute(r):t.setAttribute(r,i),s=!0)}return i===void 0&&Object.keys(l.aug).length===0&&(delete l.aug,e.storageEntry(t,!1)),s}function kk(e){const t=e.ownerDocument,r=t.defaultView?.getComputedStyle(e);return e.offsetParent===null&&t.body!==e&&r?.position!=="fixed"||r?.visibility==="hidden"||r?.position==="fixed"&&(r.display==="none"||e.parentElement?.offsetParent===null&&t.body!==e.parentElement)}function gu(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function xk(e){if(!gu(e))return;const t=e.name;let r=Array.from(Q.getElementsByName(e,t)),i;return r=r.filter(l=>gu(l)?(l.checked&&(i=l),!0):!1),{name:t,buttons:new Set(r),checked:i}}const Lc=100;class hl{_isPhantom;_fixedTarget;_disposeTimer;_clearDisposeTimeout;input;useDefaultAction;isFirst;isOutside;onFocusIn;onFocusOut;constructor(t,r,i,l,s){const c=t(),d=c.document.createElement("i");d.tabIndex=0,d.setAttribute("role","none"),d.setAttribute(Bw,""),d.setAttribute("aria-hidden","true");const f=d.style;f.position="fixed",f.width=f.height="1px",f.opacity="0.001",f.zIndex="-1",f.setProperty("content-visibility","hidden"),hk(d),this.input=d,this.isFirst=i.isFirst,this.isOutside=r,this._isPhantom=i.isPhantom??!1,this._fixedTarget=s,d.addEventListener("focusin",this._focusIn),d.addEventListener("focusout",this._focusOut),d.__tabsterDummyContainer=l,this._isPhantom&&(this._disposeTimer=c.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(c.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){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,Q.getParentNode(t)?.removeChild(t))}setTopLeft(t,r){const i=this.input?.style;i&&(i.top=`${t}px`,i.left=`${r}px`)}_isBackward(t,r,i){return t&&!i?!this.isFirst:!!(i&&r.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}_focusIn=t=>{if(this._fixedTarget){const i=this._fixedTarget.get();i&&ko(i);return}const r=this.input;if(this.onFocusIn&&r){const i=t.relatedTarget;this.onFocusIn(this,this._isBackward(!0,r,i),i)}};_focusOut=t=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const r=this.input;if(this.onFocusOut&&r){const i=t.relatedTarget;this.onFocusOut(this,this._isBackward(!1,r,i),i)}}}const ql={Root:1,Modalizer:2,Mover:3,Groupper:4};class wn{_instance;_onFocusIn;_onFocusOut;_element;constructor(t,r,i,l,s,c){this._element=r,this._instance=new Sk(t,r,this,i,l,s,c)}_setHandlers(t,r){this._onFocusIn=t,this._onFocusOut=r}moveOut(t){this._instance?.moveOut(t)}moveOutWithDefaultAction(t,r){this._instance?.moveOutWithDefaultAction(t,r)}getHandler(t){return t?this._onFocusIn:this._onFocusOut}setTabbable(t){this._instance?.setTabbable(this,t)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(t,r,i,l,s){const d=new hl(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(d){let f,g;if(r.tagName==="BODY")f=r,g=i&&l||!i&&!l?Q.getFirstElementChild(r):null;else{i&&(!l||l&&!t.focusable.isFocusable(r,!1,!0,!0))?(f=r,g=l?r.firstElementChild:null):(f=Q.getParentElement(r),g=i&&l||!i&&!l?r:Q.getNextElementSibling(r));let m,h;do m=i&&l||!i&&!l?Q.getPreviousElementSibling(g):g,h=kn(m),h===r?g=i&&l||!i&&!l?m:Q.getNextElementSibling(m):h=null;while(h)}f?.dispatchEvent(new sr({by:"root",owner:f,next:null,relatedEvent:s}))&&(Q.insertBefore(f,d,g),ko(d))}}static addPhantomDummyWithTarget(t,r,i,l){const c=new hl(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Ft(l)).input;if(c){let d,f;vk(r)&&!i?(d=r,f=Q.getFirstElementChild(r)):(d=Q.getParentElement(r),f=i?r:Q.getNextElementSibling(r)),d&&Q.insertBefore(d,c,f)}}}class Bk{_win;_updateQueue=new Set;_updateTimer;_lastUpdateQueueTime=0;_changedParents=new WeakSet;_updateDummyInputsTimer;_dummyElements=[];_dummyCallbacks=new WeakMap;constructor(t){this._win=t}add(t,r){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Ft(t)),this._dummyCallbacks.set(t,r),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(r=>{const i=r.get();return i&&i!==t}),this._dummyCallbacks.delete(t),this._dummyElements.length===0&&delete this.domChanged}dispose(){const t=this._win?.();this._updateTimer&&(t?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(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}_domChanged=t=>{this._changedParents.has(t)||(this._changedParents.add(t),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(const r of this._dummyElements){const i=r.get();if(i){const l=this._dummyCallbacks.get(i);if(l){const s=Q.getParentNode(i);(!s||this._changedParents.has(s))&&l()}}}this._changedParents=new WeakSet},Lc)))};updatePositions(t){this._win&&(this._updateQueue.add(t),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||(this._updateTimer=this._win?.().setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+Lc<=Date.now()){const t=new Map,r=[];for(const i of this._updateQueue)r.push(i(t));this._updateQueue.clear();for(const i of r)i();t.clear()}else this._scheduledUpdatePositions()},Lc))}}class Sk{_tabster;_addTimer;_getWindow;_wrappers=[];_element;_isOutside=!1;_firstDummy;_lastDummy;_transformElements=new Set;_callForDefaultAction;constructor(t,r,i,l,s,c,d){const f=r.get();if(!f)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=d;const g=f.__tabsterDummy;if((g||this)._wrappers.push({manager:i,priority:l,tabbable:!0}),g)return g;f.__tabsterDummy=this;const m=s?.dummyInputsPosition,h=f.tagName;this._isOutside=m?m===Sw.Outside:(c||h==="UL"||h==="OL"||h==="TABLE")&&!(h==="LI"||h==="TD"||h==="TH"),this._firstDummy=new hl(this._getWindow,this._isOutside,{isFirst:!0},r),this._lastDummy=new hl(this._getWindow,this._isOutside,{isFirst:!1},r);const x=this._firstDummy.input;x&&t._dummyObserver.add(x,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=r,this._addDummyInputs()}dispose(t,r){if((this._wrappers=this._wrappers.filter(l=>l.manager!==t&&!r)).length===0){delete(this._element?.get()).__tabsterDummy;for(const c of this._transformElements)c.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const l=this._getWindow();this._addTimer&&(l.clearTimeout(this._addTimer),delete this._addTimer);const s=this._firstDummy?.input;s&&this._tabster._dummyObserver.remove(s),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(t,r,i,l){const s=this._getCurrent();s&&(!r.useDefaultAction||this._callForDefaultAction)&&s.manager.getHandler(t)?.(r,i,l)}_onFocusIn=(t,r,i)=>{this._onFocus(!0,t,r,i)};_onFocusOut=(t,r,i)=>{this._onFocus(!1,t,r,i)};moveOut=t=>{const r=this._firstDummy,i=this._lastDummy;if(r&&i){this._ensurePosition();const l=r.input,s=i.input,c=this._element?.get();if(l&&s&&c){let d;t?(l.tabIndex=0,d=l):(s.tabIndex=0,d=s),d&&ko(d)}}};moveOutWithDefaultAction=(t,r)=>{const i=this._firstDummy,l=this._lastDummy;if(i&&l){this._ensurePosition();const s=i.input,c=l.input,d=this._element?.get();if(s&&c&&d){let f;t?!i.isOutside&&this._tabster.focusable.isFocusable(d,!0,!0,!0)?f=d:(i.useDefaultAction=!0,s.tabIndex=0,f=s):(l.useDefaultAction=!0,c.tabIndex=0,f=c),f&&d.dispatchEvent(new sr({by:"root",owner:d,next:null,relatedEvent:r}))&&ko(f)}}};setTabbable=(t,r)=>{for(const l of this._wrappers)if(l.manager===t){l.tabbable=r;break}const i=this._getCurrent();if(i){const l=i.tabbable?0:-1;let s=this._firstDummy?.input;s&&(s.tabIndex=l),s=this._lastDummy?.input,s&&(s.tabIndex=l)}};_getCurrent(){return this._wrappers.sort((t,r)=>t.tabbable!==r.tabbable?t.tabbable?-1:1:t.priority-r.priority),this._wrappers[0]}_addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))};_ensurePosition(){const t=this._element?.get(),r=this._firstDummy?.input,i=this._lastDummy?.input;if(!(!t||!r||!i))if(this._isOutside){const l=Q.getParentNode(t);if(l){const s=Q.getNextSibling(t);s!==i&&Q.insertBefore(l,i,s),Q.getPreviousElementSibling(t)!==r&&Q.insertBefore(l,r,t)}}else{Q.getLastElementChild(t)!==i&&Q.appendChild(t,i);const l=Q.getFirstElementChild(t);l&&l!==r&&l.parentNode&&Q.insertBefore(l.parentNode,r,l)}}_addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)};_computeTransformOffsets=t=>{const r=this._firstDummy?.input||this._lastDummy?.input,i=this._transformElements,l=new Set;let s=0,c=0;const d=this._getWindow();for(let f=r;f&&f.nodeType===Node.ELEMENT_NODE;f=Q.getParentElement(f)){let g=t.get(f);if(g===void 0){const m=d.getComputedStyle(f).transform;m&&m!=="none"&&(g={scrollTop:f.scrollTop,scrollLeft:f.scrollLeft}),t.set(f,g||null)}g&&(l.add(f),i.has(f)||f.addEventListener("scroll",this._addTransformOffsets),s+=g.scrollTop,c+=g.scrollLeft)}for(const f of i)l.has(f)||f.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=l,()=>{this._firstDummy?.setTopLeft(s,c),this._lastDummy?.setTopLeft(s,c)}}}function kn(e){return e?.__tabsterDummyContainer?.get()||null}function Iu(e,t){const r=JSON.stringify(e);return t===!0?r:{[Qt]:r}}function zk(e,t){for(const r of Object.keys(t)){const i=t[r];i?e[r]=i:delete e[r]}}function _k(e,t,r){let i;{const l=e.getAttribute(Qt);if(l)try{i=JSON.parse(l)}catch{}}i||(i={}),zk(i,t),Object.keys(i).length>0?e.setAttribute(Qt,Iu(i,!0)):e.removeAttribute(Qt)}class xg extends wn{_tabster;_setFocused;constructor(t,r,i,l){super(t,r,ql.Root,l,void 0,!0),this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=i}_onDummyInputFocus=t=>{if(t.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const i=this._tabster.focusedElement.getFirstOrLastTabbable(t.isFirst,{container:r,ignoreAccessibility:!0});if(i){ko(i);return}}t.input?.blur()}}}class Nk extends Ii{uid;_dummyManager;_sys;_isFocused=!1;_setFocusedTimer;_onDispose;constructor(t,r,i,l,s){super(t,r,l),this._onDispose=i;const c=t.getWindow;this.uid=fl(c,r),this._sys=s,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const f=c().document;f.addEventListener(Ot,this._onFocusIn),f.addEventListener(zi,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new xg(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener(Ot,this._onFocusIn),r.removeEventListener(zi,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(t,r){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(t,r);else{const l=this.getElement();l&&xg.moveWithPhantomDummy(this._tabster,l,!0,t,r)}}_setFocused=t=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===t)return;const r=this._element.get();r&&(t?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),r.dispatchEvent(new Vw({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),r.dispatchEvent(new Ww({element:r}))},0))};_onFocusIn=t=>{const r=this._tabster.getParent,i=this._element.get();let l=t.composedPath()[0];do{if(l===i){this._setFocused(!0);return}l=l&&r(l)}while(l)};_onFocusOut=()=>{this._setFocused(!1)};_add(){}_remove(){}}class Ie{_tabster;_win;_autoRoot;_autoRootWaiting=!1;_roots={};_forceDummy=!1;rootById={};constructor(t,r){this._tabster=t,this._win=t.getWindow,this._autoRoot=r,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootCreate=()=>{const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const i=this._autoRoot;if(i)return _k(r,{root:i}),vm(this._tabster,r),pt(this._tabster,r)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))};_autoRootUnwait(t){t.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(r=>{this._roots[r]&&(this._roots[r].dispose(),delete this._roots[r])}),this.rootById={}}createRoot(t,r,i){const l=new Nk(this._tabster,t,this._onRootDispose,r,i);return this._roots[l.id]=l,this._forceDummy&&l.addDummyInputs(),l}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const r of Object.keys(t))t[r].addDummyInputs()}static getRootByUId(t,r){const i=t().__tabsterInstance;return i&&i.root.rootById[r]}static getTabsterContext(t,r,i={}){if(!r.ownerDocument)return;const{checkRtl:l,referenceElement:s}=i,c=t.getParent;t.drainInitQueue();let d,f,g,m,h=!1,x,w,k,b,B=s||r;const _={};for(;B&&(!d||l);){const z=pt(t,B);if(l&&k===void 0){const V=B.dir;V&&(k=V.toLowerCase()==="rtl")}if(!z){B=c(B);continue}const N=B.tagName;(z.uncontrolled||N==="IFRAME"||N==="WEBVIEW")&&t.focusable.isVisible(B)&&(b=B),!m&&z.focusable?.excludeFromMover&&!g&&(h=!0);const q=z.modalizer,j=z.groupper,F=z.mover;!f&&q&&(f=q),!g&&j&&(!f||q)&&(f?(!j.isActive()&&j.getProps().tabbability&&f.userId!==t.modalizer?.activeId&&(f=void 0,g=j),w=j):g=j),!m&&F&&(!f||q)&&(!j||B!==r)&&B.contains(r)&&(m=F,x=!!g&&g!==j),z.root&&(d=z.root),z.focusable?.ignoreKeydown&&Object.assign(_,z.focusable.ignoreKeydown),B=c(B)}if(!d){const z=t.root;z._autoRoot&&r.ownerDocument?.body&&(d=z._autoRootCreate())}return g&&!m&&(x=!0),d?{root:d,modalizer:f,groupper:g,mover:m,groupperBeforeMover:x,modalizerInGroupper:w,rtl:l?!!k:void 0,uncontrolled:b,excludedFromMover:h,ignoreKeydown:z=>!!_[z.key]}:void 0}static getRoot(t,r){const i=t.getParent;for(let l=r;l;l=i(l)){const s=pt(t,l)?.root;if(s)return s}}onRoot(t,r){r?delete this.rootById[t.uid]:this.rootById[t.uid]=t}_onRootDispose=t=>{delete this._roots[t.id]}}class Ck{_tabster;constructor(t){this._tabster=t}dispose(){}getProps(t){const r=pt(this._tabster,t);return r&&r.focusable||{}}isFocusable(t,r,i,l){return wm(t,gm)&&(r||t.tabIndex!==-1)?(i||this.isVisible(t))&&(l||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||kk(t))return!1;const r=t.ownerDocument.body.getBoundingClientRect();return!(r.width===0&&r.height===0)}isAccessible(t){for(let r=t;r;r=Q.getParentElement(r)){const i=pt(this._tabster,r);if(this._isHidden(r)||!i?.focusable?.ignoreAriaDisabled&&this._isDisabled(r))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){const r=t.getAttribute("aria-hidden");return!!(r&&r.toLowerCase()==="true"&&!this._tabster.modalizer?.isAugmented(t))}findFirst(t,r){return this.findElement({...t},r)}findLast(t,r){return this.findElement({isBackward:!0,...t},r)}findNext(t,r){return this.findElement({...t},r)}findPrev(t,r){return this.findElement({...t,isBackward:!0},r)}findDefault(t,r){return this.findElement({...t,acceptCondition:i=>this.isFocusable(i,t.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},r)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,r){const i=this._findElements(!1,t,r);return i&&i[0]}_findElements(t,r,i){const{container:l,currentElement:s=null,includeProgrammaticallyFocusable:c,useActiveModalizer:d,ignoreAccessibility:f,modalizerId:g,isBackward:m,onElement:h}=r;i||(i={});const x=[];let{acceptCondition:w}=r;const k=!!w;if(!l)return null;w||(w=T=>this.isFocusable(T,c,!1,f));const b={container:l,modalizerUserId:g===void 0&&d?this._tabster.modalizer?.activeId:g||Ie.getTabsterContext(this._tabster,l)?.modalizer?.userId,from:s||l,isBackward:m,isFindAll:t,acceptCondition:w,hasCustomCondition:k,includeProgrammaticallyFocusable:c,ignoreAccessibility:f,cachedGrouppers:{},cachedRadioGroups:{}},B=Fu(l.ownerDocument,l,T=>this._acceptElement(T,b));if(!B)return null;const _=T=>{const z=b.foundElement??b.foundBackward;return z&&x.push(z),t?z&&(b.found=!1,delete b.foundElement,delete b.foundBackward,delete b.fromCtx,b.from=z,h&&!h(z))?!1:!!(z||T):(z&&i&&(i.uncontrolled=Ie.getTabsterContext(this._tabster,z)?.uncontrolled),!!(T&&!z))};if(s||(i.outOfDOMOrder=!0),s&&Q.nodeContains(l,s))B.currentNode=s;else if(m){const T=km(l);if(!T)return null;if(this._acceptElement(T,b)===NodeFilter.FILTER_ACCEPT&&!_(!0))return b.skippedFocusable&&(i.outOfDOMOrder=!0),x;B.currentNode=T}do m?B.previousNode():B.nextNode();while(_());return b.skippedFocusable&&(i.outOfDOMOrder=!0),x.length?x:null}_acceptElement(t,r){if(r.found)return NodeFilter.FILTER_ACCEPT;const i=r.foundBackward;if(i&&(t===i||!Q.nodeContains(i,t)))return r.found=!0,r.foundElement=i,NodeFilter.FILTER_ACCEPT;const l=r.container;if(t===l)return NodeFilter.FILTER_SKIP;if(!Q.nodeContains(l,t)||kn(t)||Q.nodeContains(r.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const s=r.currentCtx=Ie.getTabsterContext(this._tabster,t);if(!s)return NodeFilter.FILTER_SKIP;if(bm(t))return this.isFocusable(t,void 0,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!r.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return this.isVisible(t)&&s.modalizer?.userId===this._tabster.modalizer?.activeId?(r.found=!0,r.rejectElementsFrom=r.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!r.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,d=r.fromCtx;d||(d=r.fromCtx=Ie.getTabsterContext(this._tabster,r.from));const f=d?.mover;let g=s.groupper,m=s.mover;if(c=this._tabster.modalizer?.acceptElement(t,r),c!==void 0&&(r.skippedFocusable=!0),c===void 0&&(g||m||f)){const h=g?.getElement(),x=f?.getElement();let w=m?.getElement();if(w&&Q.nodeContains(x,w)&&Q.nodeContains(l,x)&&(!h||!m||Q.nodeContains(x,h))&&(m=f,w=x),h){if(h===l||!Q.nodeContains(l,h))g=void 0;else if(!Q.nodeContains(h,t))return NodeFilter.FILTER_REJECT}if(w){if(!Q.nodeContains(l,w))m=void 0;else if(!Q.nodeContains(w,t))return NodeFilter.FILTER_REJECT}g&&m&&(w&&h&&!Q.nodeContains(h,w)?m=void 0:g=void 0),g&&(c=g.acceptElement(t,r)),m&&(c=m.acceptElement(t,r))}if(c===void 0&&(c=r.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(r.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!r.found){if(!r.isFindAll&&gu(t)&&!t.checked){const h=t.name;let x=r.cachedRadioGroups[h];if(x||(x=xk(t),x&&(r.cachedRadioGroups[h]=x)),x?.checked&&x.checked!==t)return NodeFilter.FILTER_SKIP}r.isBackward?(r.foundBackward=t,c=NodeFilter.FILTER_SKIP):(r.found=!0,r.foundElement=t)}return c}}const Qe={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};class xm{_val;_callbacks=[];dispose(){this._callbacks=[],delete this._val}subscribe(t){const r=this._callbacks;r.indexOf(t)<0&&r.push(t)}subscribeFirst(t){const r=this._callbacks,i=r.indexOf(t);i>=0&&r.splice(i,1),r.unshift(t)}unsubscribe(t){const r=this._callbacks.indexOf(t);r>=0&&this._callbacks.splice(r,1)}setVal(t,r){this._val!==t&&(this._val=t,this._callCallbacks(t,r))}getVal(){return this._val}trigger(t,r){this._callCallbacks(t,r)}_callCallbacks(t,r){this._callbacks.forEach(i=>i(t,r))}}function Tk(e,t){const r=e.getParent;let i=t;do{const l=pt(e,i)?.uncontrolled;if(l&&e.uncontrolled.isUncontrolledCompletely(i,!!l.completely))return i;i=r(i)}while(i)}const Bg={[Eo.Restorer]:0,[Eo.Deloser]:1,[Eo.EscapeGroupper]:2};class et extends xm{static _lastResetElement;static _isTabbingTimer;static isTabbing=!1;_tabster;_win;_nextVal;_lastVal;_asyncFocus;constructor(t,r){super(),this._tabster=t,this._win=r,t.queueInit(this._init)}_init=()=>{const t=this._win(),r=t.document;r.addEventListener(Ot,this._onFocusIn,!0),r.addEventListener(zi,this._onFocusOut,!0),t.addEventListener("keydown",this._onKeyDown,!0);const i=Q.getActiveElement(r);i&&i!==r.body&&this._setFocusedElement(i),this.subscribe(this._onChanged)};dispose(){super.dispose();const t=this._win(),r=t.document;r.removeEventListener(Ot,this._onFocusIn,!0),r.removeEventListener(zi,this._onFocusOut,!0),t.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(t.clearTimeout(i.timeout),delete this._asyncFocus),delete et._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,r){let i=et._lastResetElement,l=i&&i.get();l&&Q.nodeContains(r,l)&&delete et._lastResetElement,l=t._nextVal?.element?.get(),l&&Q.nodeContains(r,l)&&delete t._nextVal,i=t._lastVal,l=i&&i.get(),l&&Q.nodeContains(r,l)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let t=this._lastVal?.get();return(!t||t&&!ym(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(t,r,i,l){return this._tabster.focusable.isFocusable(t,r,!1,i)?(t.focus({preventScroll:l}),!0):!1}focusDefault(t){const r=this._tabster.focusable.findDefault({container:t});return r?(this._tabster.focusedElement.focus(r),!0):!1}getFirstOrLastTabbable(t,r){const{container:i,ignoreAccessibility:l}=r;let s;if(i){const c=Ie.getTabsterContext(this._tabster,i);c&&(s=et.findNextTabbable(this._tabster,c,i,void 0,void 0,!t,l)?.element)}return s&&!Q.nodeContains(i,s)&&(s=void 0),s||void 0}_focusFirstOrLast(t,r){const i=this.getFirstOrLastTabbable(t,r);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(t){return this._focusFirstOrLast(!0,t)}focusLast(t){return this._focusFirstOrLast(!1,t)}resetFocus(t){if(!this._tabster.focusable.isVisible(t))return!1;if(this._tabster.focusable.isFocusable(t,!0,!0,!0))this.focus(t);else{const r=t.getAttribute("tabindex"),i=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),et._lastResetElement=new Ft(t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",r),this._setOrRemoveAttribute(t,"aria-hidden",i)}return!0}requestAsyncFocus(t,r,i){const l=this._tabster.getWindow(),s=this._asyncFocus;if(s){if(Bg[t]>Bg[s.source])return;l.clearTimeout(s.timeout)}this._asyncFocus={source:t,callback:r,timeout:l.setTimeout(()=>{this._asyncFocus=void 0,r()},i)}}cancelAsyncFocus(t){const r=this._asyncFocus;r?.source===t&&(this._tabster.getWindow().clearTimeout(r.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,r,i){i===null?t.removeAttribute(r):t.setAttribute(r,i)}_setFocusedElement(t,r,i){if(this._tabster._noop)return;const l={relatedTarget:r};if(t){const c=et._lastResetElement?.get();if(et._lastResetElement=void 0,c===t||bm(t))return;l.isFocusedProgrammatically=i;const f=Ie.getTabsterContext(this._tabster,t)?.modalizer?.userId;f&&(l.modalizerId=f)}const s=this._nextVal={element:t?new Ft(t):void 0,detail:l};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===s&&this.setVal(t,l),this._nextVal=void 0}setVal(t,r){super.setVal(t,r),t&&(this._lastVal=new Ft(t))}_onFocusIn=t=>{const r=t.composedPath()[0];r&&this._setFocusedElement(r,t.detail.relatedTarget,t.detail.isFocusedProgrammatically)};_onFocusOut=t=>{this._setFocusedElement(void 0,t.detail?.originalEvent.relatedTarget)};static findNextTabbable(t,r,i,l,s,c,d){const f=i||r.root.getElement();if(!f)return null;let g=null;const m=et._isTabbingTimer,h=t.getWindow();m&&h.clearTimeout(m),et.isTabbing=!0,et._isTabbingTimer=h.setTimeout(()=>{delete et._isTabbingTimer,et.isTabbing=!1},0);const x=r.modalizer,w=r.groupper,k=r.mover,b=B=>{if(g=B.findNextTabbable(l,s,c,d),l&&!g?.element){const _=B!==x&&Q.getParentElement(B.getElement());if(_){const T=Ie.getTabsterContext(t,l,{referenceElement:_});if(T){const z=B.getElement(),N=c?z:z&&km(z)||z;N&&(g=et.findNextTabbable(t,T,i,N,_,c,d),g&&(g.outOfDOMOrder=!0))}}}};if(w&&k)b(r.groupperBeforeMover?w:k);else if(w)b(w);else if(k)b(k);else if(x)b(x);else{const B={container:f,currentElement:l,referenceElement:s,ignoreAccessibility:d,useActiveModalizer:!0},_={};g={element:t.focusable[c?"findPrev":"findNext"](B,_),outOfDOMOrder:_.outOfDOMOrder,uncontrolled:_.uncontrolled}}return g}_validateFocusedElement=t=>{};_onKeyDown=t=>{if(t.key!==Qe.Tab||t.ctrlKey)return;const r=this.getVal();if(!r||!r.ownerDocument||r.contentEditable==="true")return;const i=this._tabster,l=i.controlTab,s=Ie.getTabsterContext(i,r);if(!s||s.ignoreKeydown(t))return;const c=t.shiftKey,d=et.findNextTabbable(i,s,void 0,r,void 0,c,!0),f=s.root.getElement();if(!f)return;const g=d?.element,m=Tk(i,r);if(g){const h=d.uncontrolled;if(s.uncontrolled||Q.nodeContains(h,r)){if(!d.outOfDOMOrder&&h===s.uncontrolled||m&&!Q.nodeContains(m,g))return;wn.addPhantomDummyWithTarget(i,r,c,g);return}if(h&&i.focusable.isVisible(h)||g.tagName==="IFRAME"&&i.focusable.isVisible(g)){f.dispatchEvent(new sr({by:"root",owner:f,next:g,relatedEvent:t}))&&wn.moveWithPhantomDummy(i,h??g,!1,c,t);return}(l||d?.outOfDOMOrder)&&f.dispatchEvent(new sr({by:"root",owner:f,next:g,relatedEvent:t}))&&(t.preventDefault(),t.stopImmediatePropagation(),ko(g))}else!m&&f.dispatchEvent(new sr({by:"root",owner:f,next:null,relatedEvent:t}))&&s.root.moveOutWithDefaultAction(c,t)};_onChanged=(t,r)=>{if(t)t.dispatchEvent(new Mw(r));else{const i=this._lastVal?.get();if(i){const l={...r},c=Ie.getTabsterContext(this._tabster,i)?.modalizer?.userId;c&&(l.modalizerId=c),i.dispatchEvent(new Ow(l))}}}}class jk extends xm{_keyborg;constructor(t){super(),this._keyborg=Cl(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Tl(this._keyborg),delete this._keyborg)}_onChange=t=>{this.setVal(t,void 0)};setNavigatingWithKeyboard(t){this._keyborg?.setVal(t)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}}function qk(e,t,r,i){if(typeof MutationObserver>"u")return()=>{};const l=t.getWindow;let s;const c=m=>{const h=new Set;for(const x of m){const w=x.target,k=x.removedNodes,b=x.addedNodes;if(x.type==="attributes")x.attributeName===Qt&&(h.has(w)||r(t,w));else{for(let B=0;B<k.length;B++){const _=k[B];h.add(_),d(_,!0),t._dummyObserver.domChanged?.(w)}for(let B=0;B<b.length;B++)d(b[B]),t._dummyObserver.domChanged?.(w)}}h.clear(),t.modalizer?.hiddenUpdate()};function d(m,h){s||(s=jl(l).elementByUId),f(m,h);const x=Fu(e,m,w=>f(w,h));if(x)for(;x.nextNode(););}function f(m,h){if(!m.getAttribute)return NodeFilter.FILTER_SKIP;const x=m.__tabsterElementUID;return x&&s&&(h?delete s[x]:s[x]??=new Ft(m)),(pt(t,m)||m.hasAttribute(Qt))&&r(t,m,h),NodeFilter.FILTER_SKIP}const g=Q.createMutationObserver(c);return i&&d(l().document.body),g.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[Qt]}),()=>{g.disconnect()}}class Ek{_isUncontrolledCompletely;constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,r){const i=this._isUncontrolledCompletely?.(t,r);return i===void 0?r:i}}let Rk=0;const Vc="aria-hidden";class Dk extends wn{constructor(t,r,i){super(r,t,ql.Modalizer,i),this._setHandlers((l,s)=>{const c=t.get(),d=c&&Ie.getRoot(r,c)?.getElement(),f=l.input;let g;if(d&&f){const m=kn(f),h=Ie.getTabsterContext(r,m||f);h&&(g=et.findNextTabbable(r,h,d,f,void 0,s,!0)?.element),g&&ko(g)}})}}class Pk extends Ii{userId;_isActive;_wasFocused=0;_onDispose;_activeElements;dummyManager;constructor(t,r,i,l,s,c){super(t,r,l),this.userId=l.id,this._onDispose=i,this._activeElements=c,t.controlTab||(this.dummyManager=new Dk(this._element,t,s))}makeActive(t){if(this._isActive!==t){this._isActive=t;const r=this.getElement();if(r){const i=this._activeElements,l=i.map(s=>s.get()).indexOf(r);t?l<0&&i.push(new Ft(r)):l>=0&&i.splice(l,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++Rk),this._wasFocused}setProps(t){t.id&&(this.userId=t.id),this._props={...t}}dispose(){this.makeActive(!1),this._onDispose(this),this.dummyManager?.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(t){return Q.nodeContains(this.getElement(),t)}findNextTabbable(t,r,i,l){if(!this.getElement())return null;const c=this._tabster;let d=null,f=!1,g;const m=t&&Ie.getRoot(c,t)?.getElement();if(m){const h={container:m,currentElement:t,referenceElement:r,ignoreAccessibility:l,useActiveModalizer:!0},x={};d=c.focusable[i?"findPrev":"findNext"](h,x),!d&&this._props.isTrapped&&c.modalizer?.activeId?(d=c.focusable[i?"findLast":"findFirst"]({container:m,ignoreAccessibility:l,useActiveModalizer:!0},x),d===null&&(d=t),f=!0):f=!!x.outOfDOMOrder,g=x.uncontrolled}return{element:d,uncontrolled:g,outOfDOMOrder:f}}_dispatchEvent(t,r){const i=this.getElement();let l=!1;if(i){const s=r?this._activeElements.map(c=>c.get()):[i];for(const c of s)if(c){const d={id:this.userId,element:i},f=t?new Hw(d):new Lw(d);c.dispatchEvent(f),f.defaultPrevented&&(l=!0)}}return l}_remove(){}}class Fk{_tabster;_win;_restoreModalizerFocusTimer;_modalizers;_parts;_augMap;_aug;_hiddenUpdateTimer;_alwaysAccessibleSelector;_accessibleCheck;_activationHistory;activeId;currentIsOthersAccessible;activeElements;constructor(t,r,i){this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=r,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],t.controlTab||t.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();t.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(r=>{this._modalizers[r]&&(this._modalizers[r].dispose(),delete this._modalizers[r])}),t.clearTimeout(this._restoreModalizerFocusTimer),t.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(t,r,i){const l=new Pk(this._tabster,t,this._onModalizerDispose,r,i,this.activeElements),s=l.id,c=r.id;this._modalizers[s]=l;let d=this._parts[c];d||(d=this._parts[c]={}),d[s]=l;const f=this._tabster.focusedElement.getFocusedElement()??null;return t!==f&&Q.nodeContains(t,f)&&(c!==this.activeId?this.setActive(l):l.makeActive(!0)),l}_onModalizerDispose=t=>{const r=t.id,i=t.userId,l=this._parts[i];if(delete this._modalizers[r],l&&(delete l[r],Object.keys(l).length===0)){delete this._parts[i];const s=this._activationHistory,c=[];let d;for(let f=s.length;f--;){const g=s[f];g!==i&&g!==d&&(d=g,(g||c.length>0)&&c.unshift(g))}if(this._activationHistory=c,this.activeId===i){const f=c[0],g=f?Object.values(this._parts[f])[0]:void 0;this.setActive(g)}}};_onKeyDown=t=>{if(t.key!==Qe.Escape)return;const r=this._tabster,i=r.focusedElement.getFocusedElement();if(i){const l=Ie.getTabsterContext(r,i),s=l?.modalizer;if(l&&!l.groupper&&s?.isActive()&&!l.ignoreKeydown(t)){const c=s.userId;if(c){const d=this._parts[c];if(d){const f=Object.keys(d).map(g=>{const m=d[g],h=m.getElement();let x;return h&&(x=pt(r,h)?.groupper),m&&h&&x?{el:h,focusedSince:m.focused(!0)}:{focusedSince:0}}).filter(g=>g.focusedSince>0).sort((g,m)=>g.focusedSince>m.focusedSince?-1:g.focusedSince<m.focusedSince?1:0);if(f.length){const g=f[0].el;g&&r.groupper?.handleKeyPress(g,t,!0)}}}}}};isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const r=t?.userId,i=this.activeId;if(i===r)return;if(this.activeId=r,i){const s=this._parts[i];if(s)for(const c of Object.keys(s))s[c].makeActive(!1)}if(r){const s=this._parts[r];if(s)for(const c of Object.keys(s))s[c].makeActive(!0)}this.currentIsOthersAccessible=t?.getProps().isOthersAccessible,this.hiddenUpdate();const l=this._activationHistory;l[0]!==r&&(r!==void 0||l.length>0)&&l.unshift(r)}focus(t,r,i){const l=this._tabster,c=Ie.getTabsterContext(l,t)?.modalizer;if(c){this.setActive(c);const d=c.getProps(),f=c.getElement();if(f){if(r===void 0&&(r=d.isNoFocusFirst),!r&&l.keyboardNavigation.isNavigatingWithKeyboard()&&l.focusedElement.focusFirst({container:f})||(i===void 0&&(i=d.isNoFocusDefault),!i&&l.focusedElement.focusDefault(f)))return!0;l.focusedElement.resetFocus(f)}}return!1}activate(t){const r=t?Ie.getTabsterContext(this._tabster,t)?.modalizer:void 0;return!t||r?(this.setActive(r),!0):!1}acceptElement(t,r){const i=r.modalizerUserId,l=r.currentCtx?.modalizer;if(i)for(const c of this.activeElements){const d=c.get();if(d&&(Q.nodeContains(t,d)||d===t))return NodeFilter.FILTER_SKIP}const s=i===l?.userId||!i&&l?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return s!==void 0&&(r.skippedFocusable=!0),s}_hiddenUpdate(){const t=this._tabster,r=t.getWindow().document.body,i=this.activeId,l=this._parts,s=[],c=[],d=this._alwaysAccessibleSelector,f=d?Array.from(Q.querySelectorAll(r,d)):[],g=[];for(const B of Object.keys(l)){const _=l[B];for(const T of Object.keys(_)){const z=_[T],N=z.getElement(),j=z.getProps().isAlwaysAccessible;N&&(B===i?(g.push(N),this.currentIsOthersAccessible||s.push(N)):j?f.push(N):c.push(N))}}const m=this._augMap,h=s.length>0?[...s,...f]:void 0,x=[],w=new WeakMap,k=(B,_)=>{const T=B.tagName;if(T==="SCRIPT"||T==="STYLE")return;let z=!1;m.has(B)?_?z=!0:(m.delete(B),Hc(t,B,Vc)):_&&!this._accessibleCheck?.(B,g)&&Hc(t,B,Vc,"true")&&(m.set(B,!0),z=!0),z&&(x.push(new Ft(B)),w.set(B,!0))},b=B=>{for(let _=Q.getFirstElementChild(B);_;_=Q.getNextElementSibling(_)){let T=!1,z=!1,N=!1;if(h){const q=t.getParent(_);for(const j of h){if(_===j){T=!0;break}if(Q.nodeContains(_,j)){z=!0;break}else Q.nodeContains(j,q)&&(N=!0)}z||_.__tabsterElementFlags?.noDirectAriaHidden?b(_):!T&&!N&&k(_,!0)}else k(_,!1)}};h||f.forEach(B=>k(B,!1)),c.forEach(B=>k(B,!0)),r&&b(r),this._aug?.map(B=>B.get()).forEach(B=>{B&&!w.get(B)&&k(B,!1)}),this._aug=x,this._augMap=w}_onFocus=(t,r)=>{const i=this._tabster,l=t&&Ie.getTabsterContext(i,t);if(!l||!t)return;const s=this._augMap;for(let g=t;g;g=Q.getParentElement(g))s.has(g)&&(s.delete(g),Hc(i,g,Vc));let c=l.modalizer;const d=pt(i,t),f=d?.modalizer;if(f&&(f.focused(),f.userId===this.activeId&&d.groupper)){const g=i.getParent(t),m=g&&Ie.getTabsterContext(i,g)?.modalizer;if(m)c=m;else{this.setActive(void 0);return}}if(c?.focused(),c?.userId===this.activeId){this.currentIsOthersAccessible=c?.getProps().isOthersAccessible;return}if(r.isFocusedProgrammatically||this.currentIsOthersAccessible||c?.getProps().isAlwaysAccessible)this.setActive(c);else{const g=this._win();g.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=g.setTimeout(()=>this._restoreModalizerFocus(t),100)}};_restoreModalizerFocus(t){const r=t?.ownerDocument;if(!t||!r)return;const i=this._tabster.focusedElement.getFocusedElement(),l=i&&Ie.getTabsterContext(this._tabster,i)?.modalizer;if(!i||i&&l?.userId===this.activeId)return;const s=this._tabster,c=Ie.getTabsterContext(s,t),d=c?.modalizer,f=this.activeId;if(!d&&!f||d&&f===d.userId)return;const g=c?.root.getElement();if(g){let m=s.focusable.findFirst({container:g,useActiveModalizer:!0});if(m){if(t.compareDocumentPosition(m)&document.DOCUMENT_POSITION_PRECEDING&&(m=s.focusable.findLast({container:g,useActiveModalizer:!0}),!m))throw new Error("Something went wrong.");s.focusedElement.focus(m);return}}t.blur()}}function Bm(e,t,r){const i=e.core;if(!i.modalizer){const l=new Fk(i,t,r);i.modalizer=l,i.attrHandlers.set("modalizer",(s,c,d,f,g)=>c?d.id&&f?.id!==d.id?(c.dispose(),l.createModalizer(s,d,g)):(c.setProps(d),c):l.createModalizer(s,d,g))}return i.modalizer}const Ik=["input","textarea","*[contenteditable]"].join(", ");class Mk extends wn{_tabster;_getMemorized;constructor(t,r,i,l){super(r,t,ql.Mover,l),this._tabster=r,this._getMemorized=i,this._setHandlers(this._onFocusDummyInput)}_onFocusDummyInput=t=>{const r=this._element.get(),i=t.input;if(r&&i){const l=Ie.getTabsterContext(this._tabster,r);let s;l&&(s=et.findNextTabbable(this._tabster,l,void 0,i,void 0,!t.isFirst,!0)?.element);const c=this._getMemorized()?.get();c&&this._tabster.focusable.isFocusable(c)&&(s=c),s&&ko(s)}}}const Wc=1,Sg=2,zg=3;class Ok extends Ii{_unobserve;_intersectionObserver;_setCurrentTimer;_current;_prevCurrent;_visible={};_fullyVisible;_win;_onDispose;_allElements;_updateQueue;_updateTimer;visibilityTolerance;dummyManager;constructor(t,r,i,l,s){super(t,r,l),this._win=t.getWindow,this.visibilityTolerance=l.visibilityTolerance??.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=i;const c=()=>l.memorizeCurrent?this._current:void 0;t.controlTab||(this.dummyManager=new Mk(this._element,t,c,s))}dispose(){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),this.dummyManager?.dispose(),delete this.dummyManager}setCurrent(t){t?this._current=new Ft(t):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;const r=[];this._current!==this._prevCurrent&&(r.push(this._current),r.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of r){const l=i?.get();if(l&&this._allElements?.get(l)===this){const s=this._props;if(l&&(s.visibilityAware!==void 0||s.trackState)){const c=this.getState(l);c&&l.dispatchEvent(new hg(c))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(t,r,i,l){const s=this.getElement(),c=s&&kn(t)===s;if(!s)return null;let d=null,f=!1,g;if(this._props.tabbable||c||t&&!Q.nodeContains(s,t)){const m={currentElement:t,referenceElement:r,container:s,ignoreAccessibility:l,useActiveModalizer:!0},h={};d=this._tabster.focusable[i?"findPrev":"findNext"](m,h),f=!!h.outOfDOMOrder,g=h.uncontrolled}return{element:d,uncontrolled:g,outOfDOMOrder:f}}acceptElement(t,r){if(!et.isTabbing)return r.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:i,visibilityAware:l,hasDefault:s=!0}=this._props,c=this.getElement();if(c&&(i||l||s)&&(!Q.nodeContains(c,r.from)||kn(r.from)===c)){let d;if(i){const f=this._current?.get();f&&r.acceptCondition(f)&&(d=f)}if(!d&&s&&(d=this._tabster.focusable.findDefault({container:c,useActiveModalizer:!0})),!d&&l&&(d=this._tabster.focusable.findElement({container:c,useActiveModalizer:!0,isBackward:r.isBackward,acceptCondition:f=>{const g=fl(this._win,f),m=this._visible[g];return c!==f&&!!this._allElements?.get(f)&&r.acceptCondition(f)&&(m===ar.Visible||m===ar.PartiallyVisible&&(l===ar.PartiallyVisible||!this._fullyVisible))}})),d)return r.found=!0,r.foundElement=d,r.rejectElementsFrom=c,r.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_onIntersection=t=>{for(const r of t){const i=r.target,l=fl(this._win,i);let s,c=this._fullyVisible;if(r.intersectionRatio>=.25?(s=r.intersectionRatio>=.75?ar.Visible:ar.PartiallyVisible,s===ar.Visible&&(c=l)):s=ar.Invisible,this._visible[l]!==s){s===void 0?(delete this._visible[l],c===l&&delete this._fullyVisible):(this._visible[l]=s,this._fullyVisible=c);const d=this.getState(i);d&&i.dispatchEvent(new hg(d))}}};_observeState(){const t=this.getElement();if(this._unobserve||!t||typeof MutationObserver>"u")return;const r=this._win(),i=this._allElements=new WeakMap,l=this._tabster.focusable;let s=this._updateQueue=[];const c=Q.createMutationObserver(w=>{for(const k of w){const b=k.target,B=k.removedNodes,_=k.addedNodes;if(k.type==="attributes")k.attributeName==="tabindex"&&s.push({element:b,type:Sg});else{for(let T=0;T<B.length;T++)s.push({element:B[T],type:zg});for(let T=0;T<_.length;T++)s.push({element:_[T],type:Wc})}}h()}),d=(w,k)=>{const b=i.get(w);b&&k&&(this._intersectionObserver?.unobserve(w),i.delete(w)),!b&&!k&&(i.set(w,this),this._intersectionObserver?.observe(w))},f=w=>{const k=l.isFocusable(w);i.get(w)?k||d(w,!0):k&&d(w)},g=w=>{const{mover:k}=x(w);if(k&&k!==this)if(k.getElement()===w&&l.isFocusable(w))d(w);else return;const b=Fu(r.document,w,B=>{const{mover:_,groupper:T}=x(B);if(_&&_!==this)return NodeFilter.FILTER_REJECT;const z=T?.getFirst(!0);return T&&T.getElement()!==B&&z&&z!==B?NodeFilter.FILTER_REJECT:(l.isFocusable(B)&&d(B),NodeFilter.FILTER_SKIP)});if(b)for(b.currentNode=w;b.nextNode(););},m=w=>{i.get(w)&&d(w,!0);for(let b=Q.getFirstElementChild(w);b;b=Q.getNextElementSibling(b))m(b)},h=()=>{!this._updateTimer&&s.length&&(this._updateTimer=r.setTimeout(()=>{delete this._updateTimer;for(const{element:w,type:k}of s)switch(k){case Sg:f(w);break;case Wc:g(w);break;case zg:m(w);break}s=this._updateQueue=[]},0))},x=w=>{const k={};for(let b=w;b;b=Q.getParentElement(b)){const B=pt(this._tabster,b);if(B&&(B.groupper&&!k.groupper&&(k.groupper=B.groupper),B.mover)){k.mover=B.mover;break}}return k};s.push({element:t,type:Wc}),h(),c.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{c.disconnect()}}getState(t){const r=fl(this._win,t);if(r in this._visible){const i=this._visible[r]||ar.Invisible;return{isCurrent:this._current?this._current.get()===t:void 0,visibility:i}}}}function Ak(e,t,r,i,l,s,c,d){const f=r<l?l-r:c<e?e-c:0,g=i<s?s-i:d<t?t-d:0;return f===0?g:g===0?f:Math.sqrt(f*f+g*g)}class Hk{_tabster;_win;_movers;_ignoredInputTimer;_ignoredInputResolve;constructor(t,r){this._tabster=t,this._win=r,this._movers={},t.queueInit(this._init)}_init=()=>{const t=this._win();t.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener(du,this._onMoveFocus),t.addEventListener(mg,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)};dispose(){const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),this._ignoredInputResolve?.(!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(du,this._onMoveFocus),t.removeEventListener(mg,this._onMemorizedElement),Object.keys(this._movers).forEach(r=>{this._movers[r]&&(this._movers[r].dispose(),delete this._movers[r])})}createMover(t,r,i){const l=new Ok(this._tabster,t,this._onMoverDispose,r,i);return this._movers[l.id]=l,l}_onMoverDispose=t=>{delete this._movers[t.id]};_onFocus=t=>{let r=t,i=t;for(let l=Q.getParentElement(t);l;l=Q.getParentElement(l)){const s=pt(this._tabster,l)?.mover;s&&(s.setCurrent(i),r=void 0),!r&&this._tabster.focusable.isFocusable(l)&&(r=i=l)}};moveFocus(t,r){return this._moveFocus(t,r)}_moveFocus(t,r,i){const l=this._tabster,s=Ie.getTabsterContext(l,t,{checkRtl:!0});if(!s||!s.mover||s.excludedFromMover||i&&s.ignoreKeydown(i))return null;const c=s.mover,d=c.getElement();if(s.groupperBeforeMover){const j=s.groupper;if(j&&!j.isActive(!0)){for(let F=Q.getParentElement(j.getElement());F&&F!==d;F=Q.getParentElement(F))if(pt(l,F)?.groupper?.isActive(!0))return null}else return null}if(!d)return null;const f=l.focusable,g=c.getProps(),m=g.direction||ao.Both,h=m===ao.Both,x=h||m===ao.Vertical,w=h||m===ao.Horizontal,k=m===ao.GridLinear,b=k||m===ao.Grid,B=g.cyclic;let _,T,z,N=0,q=0;if(b&&(z=t.getBoundingClientRect(),N=Math.ceil(z.left),q=Math.floor(z.right)),s.rtl&&(r===Ke.ArrowRight?r=Ke.ArrowLeft:r===Ke.ArrowLeft&&(r=Ke.ArrowRight)),r===Ke.ArrowDown&&x||r===Ke.ArrowRight&&(w||b))if(_=f.findNext({currentElement:t,container:d,useActiveModalizer:!0}),_&&b){const j=Math.ceil(_.getBoundingClientRect().left);!k&&q>j&&(_=void 0)}else!_&&B&&(_=f.findFirst({container:d,useActiveModalizer:!0}));else if(r===Ke.ArrowUp&&x||r===Ke.ArrowLeft&&(w||b))if(_=f.findPrev({currentElement:t,container:d,useActiveModalizer:!0}),_&&b){const j=Math.floor(_.getBoundingClientRect().right);!k&&j>N&&(_=void 0)}else!_&&B&&(_=f.findLast({container:d,useActiveModalizer:!0}));else if(r===Ke.Home)b?f.findElement({container:d,currentElement:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:j=>{if(!f.isFocusable(j))return!1;const F=Math.ceil(j.getBoundingClientRect().left??0);return j!==t&&N<=F?!0:(_=j,!1)}}):_=f.findFirst({container:d,useActiveModalizer:!0});else if(r===Ke.End)b?f.findElement({container:d,currentElement:t,useActiveModalizer:!0,acceptCondition:j=>{if(!f.isFocusable(j))return!1;const F=Math.ceil(j.getBoundingClientRect().left??0);return j!==t&&N>=F?!0:(_=j,!1)}}):_=f.findLast({container:d,useActiveModalizer:!0});else if(r===Ke.PageUp){if(f.findElement({currentElement:t,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:j=>f.isFocusable(j)?wg(this._win,j,c.visibilityTolerance)?(_=j,!1):!0:!1}),b&&_){const j=Math.ceil(_.getBoundingClientRect().left);f.findElement({currentElement:_,container:d,useActiveModalizer:!0,acceptCondition:F=>{if(!f.isFocusable(F))return!1;const V=Math.ceil(F.getBoundingClientRect().left);return N<V||j>=V?!0:(_=F,!1)}})}T=!1}else if(r===Ke.PageDown){if(f.findElement({currentElement:t,container:d,useActiveModalizer:!0,acceptCondition:j=>f.isFocusable(j)?wg(this._win,j,c.visibilityTolerance)?(_=j,!1):!0:!1}),b&&_){const j=Math.ceil(_.getBoundingClientRect().left);f.findElement({currentElement:_,container:d,useActiveModalizer:!0,isBackward:!0,acceptCondition:F=>{if(!f.isFocusable(F))return!1;const V=Math.ceil(F.getBoundingClientRect().left);return N>V||j<=V?!0:(_=F,!1)}})}T=!0}else if(b){const j=r===Ke.ArrowUp,F=N,V=Math.ceil(z.top),$=q,ie=Math.floor(z.bottom);let se,Z,re=0;f.findAll({container:d,currentElement:t,isBackward:j,onElement:oe=>{const K=oe.getBoundingClientRect(),A=Math.ceil(K.left),ae=Math.ceil(K.top),D=Math.floor(K.right),W=Math.floor(K.bottom);if(j&&V<W||!j&&ie>ae)return!0;const U=Math.ceil(Math.min($,D))-Math.floor(Math.max(F,A)),ke=Math.ceil(Math.min($-F,D-A));if(U>0&&ke>=U){const X=U/ke;X>re&&(se=oe,re=X)}else if(re===0){const X=Ak(F,V,$,ie,A,ae,D,W);(Z===void 0||X<Z)&&(Z=X,se=oe)}else if(re>0)return!1;return!0}}),_=se}return _&&(!i||i&&d.dispatchEvent(new sr({by:"mover",owner:d,next:_,relatedEvent:i})))?(T!==void 0&&mk(this._win,_,T),i&&(i.preventDefault(),i.stopImmediatePropagation()),ko(_),_):null}_onKeyDown=async t=>{if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),this._ignoredInputResolve?.(!1),t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)return;const r=t.key;let i;if(r===Qe.ArrowDown?i=Ke.ArrowDown:r===Qe.ArrowRight?i=Ke.ArrowRight:r===Qe.ArrowUp?i=Ke.ArrowUp:r===Qe.ArrowLeft?i=Ke.ArrowLeft:r===Qe.PageDown?i=Ke.PageDown:r===Qe.PageUp?i=Ke.PageUp:r===Qe.Home?i=Ke.Home:r===Qe.End&&(i=Ke.End),!i)return;const l=this._tabster.focusedElement.getFocusedElement();!l||await this._isIgnoredInput(l,r)||this._moveFocus(l,i,t)};_onMoveFocus=t=>{const r=t.composedPath()[0],i=t.detail?.key;r&&i!==void 0&&!t.defaultPrevented&&(this._moveFocus(r,i),t.stopImmediatePropagation())};_onMemorizedElement=t=>{const r=t.composedPath()[0];let i=t.detail?.memorizedElement;if(r){const s=Ie.getTabsterContext(this._tabster,r)?.mover;s&&(i&&!Q.nodeContains(s.getElement(),i)&&(i=void 0),s.setCurrent(i),t.stopImmediatePropagation())}};async _isIgnoredInput(t,r){if(t.getAttribute("aria-expanded")==="true"&&(t.hasAttribute("aria-activedescendant")||t.getAttribute("role")==="combobox"))return!0;if(wm(t,Ik)){let i=0,l=0,s=0,c;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"){const d=t.type;if(s=(t.value||"").length,d==="email"||d==="number"){if(s){const g=Q.getSelection(t);if(g){const m=g.toString().length,h=r===Qe.ArrowLeft||r===Qe.ArrowUp;if(g.modify("extend",h?"backward":"forward","character"),m!==g.toString().length)return g.modify("extend",h?"forward":"backward","character"),!0;s=0}}}else{const g=t.selectionStart;if(g===null)return d==="hidden";i=g||0,l=t.selectionEnd||0}}else t.contentEditable==="true"&&(c=new Promise(d=>{this._ignoredInputResolve=w=>{delete this._ignoredInputResolve,d(w)};const f=this._win();this._ignoredInputTimer&&f.clearTimeout(this._ignoredInputTimer);const{anchorNode:g,focusNode:m,anchorOffset:h,focusOffset:x}=Q.getSelection(t)||{};this._ignoredInputTimer=f.setTimeout(()=>{delete this._ignoredInputTimer;const{anchorNode:w,focusNode:k,anchorOffset:b,focusOffset:B}=Q.getSelection(t)||{};if(w!==g||k!==m||b!==h||B!==x){this._ignoredInputResolve?.(!1);return}if(i=b||0,l=B||0,s=t.textContent?.length||0,w&&k&&Q.nodeContains(t,w)&&Q.nodeContains(t,k)&&w!==t){let _=!1;const T=z=>{if(z===w)_=!0;else if(z===k)return!0;const N=z.textContent;if(N&&!Q.getFirstChild(z)){const j=N.length;_?k!==w&&(l+=j):(i+=j,l+=j)}let q=!1;for(let j=Q.getFirstChild(z);j&&!q;j=j.nextSibling)q=T(j);return q};T(t)}this._ignoredInputResolve?.(!0)},0)}));if(c&&!await c||i!==l||i>0&&(r===Qe.ArrowLeft||r===Qe.ArrowUp||r===Qe.Home)||i<s&&(r===Qe.ArrowRight||r===Qe.ArrowDown||r===Qe.End))return!0}return!1}}function Lk(e){const t=e.core;if(!t.mover){const r=new Hk(t,t.getWindow);t.mover=r,t.attrHandlers.set("mover",(i,l,s,c,d)=>l?(l.setProps(s),l):r.createMover(i,s,d))}return t.mover}class Vk extends wn{constructor(t,r,i,l){super(i,t,ql.Groupper,l,!0),this._setHandlers((s,c,d)=>{const f=t.get(),g=s.input;if(f&&g){const m=Ie.getTabsterContext(i,g);if(m){let h;h=r.findNextTabbable(d||void 0,void 0,c,!0)?.element,h||(h=et.findNextTabbable(i,m,void 0,s.isOutside?g:wk(f,!c),void 0,c,!0)?.element),h&&ko(h)}}})}}class Wk extends Ii{_shouldTabInside=!1;_first;_onDispose;dummyManager;constructor(t,r,i,l,s){super(t,r,l),this.makeTabbable(!1),this._onDispose=i,t.controlTab||(this.dummyManager=new Vk(this._element,this,t,s))}dispose(){this._onDispose(this),this._element.get(),this.dummyManager?.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(t,r,i,l){const s=this.getElement();if(!s)return null;const c=kn(t)===s;if(!this._shouldTabInside&&t&&Q.nodeContains(s,t)&&!c)return{element:void 0,outOfDOMOrder:!0};const d=this.getFirst(!0);if(!t||!Q.nodeContains(s,t)||c)return{element:d,outOfDOMOrder:!0};const f=this._tabster;let g=null,m=!1,h;if(this._shouldTabInside&&d){const x={container:s,currentElement:t,referenceElement:r,ignoreAccessibility:l,useActiveModalizer:!0},w={};g=f.focusable[i?"findPrev":"findNext"](x,w),m=!!w.outOfDOMOrder,!g&&this._props.tabbability===dl.LimitedTrapFocus&&(g=f.focusable[i?"findLast":"findFirst"]({container:s,ignoreAccessibility:l,useActiveModalizer:!0},w),m=!0),h=w.uncontrolled}return{element:g,uncontrolled:h,outOfDOMOrder:m}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability}isActive(t){const r=this.getElement()||null;let i=!0;for(let s=Q.getParentElement(r);s;s=Q.getParentElement(s)){const c=pt(this._tabster,s)?.groupper;c&&(c._shouldTabInside||(i=!1))}let l=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(l&&t){const s=this._tabster.focusedElement.getFocusedElement();s&&(l=s!==this.getFirst(!0))}return l}getFirst(t){const r=this.getElement();let i;if(r){if(t&&this._tabster.focusable.isFocusable(r))return r;i=this._first?.get(),i||(i=this._tabster.focusable.findFirst({container:r,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new Ft(t):delete this._first}acceptElement(t,r){const i=r.cachedGrouppers,l=Q.getParentElement(this.getElement()),s=l&&Ie.getTabsterContext(this._tabster,l),c=s?.groupper,d=s?.groupperBeforeMover?c:void 0;let f;const g=x=>{let w=i[x.id],k;return w?k=w.isActive:(k=this.isActive(!0),w=i[x.id]={isActive:k}),k};if(d&&(f=d.getElement(),!g(d)&&f&&r.container!==f&&Q.nodeContains(r.container,f)))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const m=g(this),h=this.getElement();if(h&&m!==!0){if(h===t&&c&&(f||(f=c.getElement()),f&&!g(c)&&Q.nodeContains(r.container,f)&&f!==r.container)||h!==t&&Q.nodeContains(h,t))return r.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const x=i[this.id];let w;if("first"in x?w=x.first:w=x.first=this.getFirst(!0),w&&r.acceptCondition(w))return r.rejectElementsFrom=h,r.skippedFocusable=!0,w!==r.from?(r.found=!0,r.foundElement=w,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class Uk{_tabster;_updateTimer;_win;_current={};_grouppers={};constructor(t,r){this._tabster=t,this._win=r,t.queueInit(this._init)}_init=()=>{const t=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const r=t.document,i=Q.getActiveElement(r);i&&this._onFocus(i),r.addEventListener("mousedown",this._onMouseDown,!0),t.addEventListener("keydown",this._onKeyDown,!0),t.addEventListener(fu,this._onMoveFocus)};dispose(){const t=this._win();this._tabster.focusedElement.cancelAsyncFocus(Eo.EscapeGroupper),this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),t.document.removeEventListener("mousedown",this._onMouseDown,!0),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener(fu,this._onMoveFocus),Object.keys(this._grouppers).forEach(r=>{this._grouppers[r]&&(this._grouppers[r].dispose(),delete this._grouppers[r])})}createGroupper(t,r,i){const l=this._tabster,s=new Wk(l,t,this._onGroupperDispose,r,i);this._grouppers[s.id]=s;const c=l.focusedElement.getFocusedElement();return c&&Q.nodeContains(t,c)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,c===l.focusedElement.getFocusedElement()&&this._updateCurrent(c)},0)),s}forgetCurrentGrouppers(){this._current={}}_onGroupperDispose=t=>{delete this._grouppers[t.id]};_onFocus=t=>{t&&this._updateCurrent(t)};_onMouseDown=t=>{let r=t.target;for(;r&&!this._tabster.focusable.isFocusable(r);)r=this._tabster.getParent(r);r&&this._updateCurrent(r)};_updateCurrent(t){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const r=this._tabster,i={};for(let l=r.getParent(t);l;l=r.getParent(l)){const s=pt(r,l)?.groupper;if(s){i[s.id]=!0,this._current[s.id]=s;const c=s.isActive()||t!==l&&(!s.getProps().delegated||s.getFirst(!1)!==t);s.makeTabbable(c)}}for(const l of Object.keys(this._current)){const s=this._current[l];s.id in i||(s.makeTabbable(!1),s.setFirst(void 0),delete this._current[l])}}_onKeyDown=t=>{if(t.key!==Qe.Enter&&t.key!==Qe.Escape||t.ctrlKey||t.altKey||t.shiftKey||t.metaKey)return;const r=this._tabster.focusedElement.getFocusedElement();r&&this.handleKeyPress(r,t)};_onMoveFocus=t=>{const r=t.composedPath()[0],i=t.detail?.action;r&&i!==void 0&&!t.defaultPrevented&&(i===ml.Enter?this._enterGroupper(r):this._escapeGroupper(r),t.stopImmediatePropagation())};_enterGroupper(t,r){const i=this._tabster,l=Ie.getTabsterContext(i,t),s=l?.groupper||l?.modalizerInGroupper,c=s?.getElement();if(s&&c&&(t===c||s.getProps().delegated&&t===s.getFirst(!1))){const d=i.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0});if(d&&(!r||r&&c.dispatchEvent(new sr({by:"groupper",owner:c,next:d,relatedEvent:r}))))return r&&(r.preventDefault(),r.stopImmediatePropagation()),d.focus(),d}return null}_escapeGroupper(t,r,i){const l=this._tabster,s=Ie.getTabsterContext(l,t);let c=s?.groupper||s?.modalizerInGroupper;const d=c?.getElement();if(c&&d&&Q.nodeContains(d,t)){let f;if(t!==d||i)f=c.getFirst(!0);else{const g=Q.getParentElement(d);c=(g?Ie.getTabsterContext(l,g):void 0)?.groupper,f=c?.getFirst(!0)}if(f&&(!r||r&&d.dispatchEvent(new sr({by:"groupper",owner:d,next:f,relatedEvent:r}))))return c&&c.makeTabbable(!1),f.focus(),f}return null}moveFocus(t,r){return r===ml.Enter?this._enterGroupper(t):this._escapeGroupper(t)}handleKeyPress(t,r,i){const l=this._tabster,s=Ie.getTabsterContext(l,t);if(s&&(s?.groupper||s?.modalizerInGroupper)){if(l.focusedElement.cancelAsyncFocus(Eo.EscapeGroupper),s.ignoreKeydown(r))return;if(r.key===Qe.Enter)this._enterGroupper(t,r);else if(r.key===Qe.Escape){const c=l.focusedElement.getFocusedElement();l.focusedElement.requestAsyncFocus(Eo.EscapeGroupper,()=>{c!==l.focusedElement.getFocusedElement()&&(i&&!c||!i)||this._escapeGroupper(t,r,i)},0)}}}}function $k(e){const t=e.core;if(!t.groupper){const r=new Uk(t,t.getWindow);t.groupper=r,t.attrHandlers.set("groupper",(i,l,s,c,d)=>l?(l.setProps(s),l):r.createGroupper(i,s,d))}return t.groupper}class Xk extends Ii{_hasFocus=!1;constructor(t,r,i){if(super(t,r,i),this._props.type===Mr.Source){const l=this._element?.get();l?.addEventListener("focusout",this._onFocusOut),l?.addEventListener("focusin",this._onFocusIn),this._hasFocus=Q.nodeContains(l,l&&Q.getActiveElement(l.ownerDocument))}}dispose(){if(this._props.type===Mr.Source){const t=this._element?.get();t?.removeEventListener("focusout",this._onFocusOut),t?.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new yg)}}_onFocusOut=t=>{const r=this._element?.get();r&&t.relatedTarget===null&&r.dispatchEvent(new yg),r&&!Q.nodeContains(r,t.relatedTarget)&&(this._hasFocus=!1)};_onFocusIn=()=>{this._hasFocus=!0}}class Mu{static DEPTH=10;_stack=[];_getWindow;constructor(t){this._getWindow=t}push(t){this._stack[this._stack.length-1]?.get()!==t&&(this._stack.length>Mu.DEPTH&&this._stack.shift(),this._stack.push(new Ft(t)))}pop(t=()=>!0){const r=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const l=this._stack.pop()?.get();if(l&&Q.nodeContains(r.body,Q.getParentElement(l))&&t(l))return l}}}class Gk{_tabster;_history;_keyboardNavState;_focusedElementState;_getWindow;constructor(t){this._tabster=t,this._getWindow=t.getWindow,this._getWindow().addEventListener(pu,this._onRestoreFocus),this._history=new Mu(this._getWindow),this._keyboardNavState=t.keyboardNavigation,this._focusedElementState=t.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const t=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(Eo.Restorer),t.removeEventListener(pu,this._onRestoreFocus)}_onRestoreFocus=t=>{this._focusedElementState.cancelAsyncFocus(Eo.Restorer);const r=t.composedPath()[0];if(r){const i=pt(this._tabster,r)?.restorer?.getProps().id;this._focusedElementState.requestAsyncFocus(Eo.Restorer,()=>this._restoreFocus(r,i),0)}};_onFocusIn=t=>{!t||pt(this._tabster,t)?.restorer?.getProps().type!==Mr.Target||this._history.push(t)};_restoreFocus=(t,r)=>{const i=this._getWindow().document;if(Q.getActiveElement(i)!==i.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&Q.nodeContains(i.body,t))return;const l=s=>{const c=pt(this._tabster,s)?.restorer?.getProps();return c?c.id:null};this._history.pop(s=>r===l(s))?.focus()};createRestorer(t,r){const i=new Xk(this._tabster,t,r);return r.type===Mr.Target&&Q.getActiveElement(t.ownerDocument)===t&&this._history.push(t),i}}function Sm(e){const t=e.core;if(!t.restorer){const r=new Gk(t);t.restorer=r,t.attrHandlers.set("restorer",(i,l,s)=>l?(l.setProps(s),l):r.createRestorer(i,s))}return t.restorer}class Kk{keyboardNavigation;focusedElement;focusable;root;uncontrolled;core;constructor(t){this.keyboardNavigation=t.keyboardNavigation,this.focusedElement=t.focusedElement,this.focusable=t.focusable,this.root=t.root,this.uncontrolled=t.uncontrolled,this.core=t}}class Qk{_storage;_unobserve;_win;_forgetMemorizedTimer;_forgetMemorizedElements=[];_wrappers=new Set;_initTimer;_initQueue=[];_version="8.8.0";_noop=!1;controlTab;rootDummyInputs;attrHandlers=new Map;keyboardNavigation;focusedElement;focusable;root;uncontrolled;internal;_dummyObserver;groupper;mover;outline;deloser;modalizer;observedElement;crossOrigin;restorer;getParent;constructor(t,r){this._storage=new WeakMap,this._win=t;const i=this.getWindow;r?.DOMAPI&&fk({...r.DOMAPI}),this.keyboardNavigation=new jk(i),this.focusedElement=new et(this,i),this.focusable=new Ck(this),this.root=new Ie(this,r?.autoRoot),this.uncontrolled=new Ek(r?.checkUncontrolledCompletely||r?.checkUncontrolledTrappingFocus),this.controlTab=r?.controlTab??!0,this.rootDummyInputs=!!r?.rootDummyInputs,this._dummyObserver=new Bk(i),this.getParent=r?.getParent??Q.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:l=>{if(!this._unobserve){const s=i().document;this._unobserve=qk(s,this,vm,l)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){t&&(this.getParent=t.getParent??this.getParent)}createTabster(t,r){const i=new Kk(this);return t||this._wrappers.add(i),this._mergeProps(r),i}disposeTabster(t,r){r?this._wrappers.clear():this._wrappers.delete(t),this._wrappers.size===0&&this.dispose()}dispose(){this.internal.stopObserver();const t=this._win;t?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],t&&this._forgetMemorizedTimer&&(t.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),this.outline?.dispose(),this.crossOrigin?.dispose(),this.deloser?.dispose(),this.groupper?.dispose(),this.mover?.dispose(),this.modalizer?.dispose(),this.observedElement?.dispose(),this.restorer?.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),kg(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),t&&(gk(t),delete t.__tabsterInstance,delete this._win)}storageEntry(t,r){const i=this._storage;let l=i.get(t);return l?r===!1&&Object.keys(l).length===0&&i.delete(t):r===!0&&(l={},i.set(t,l)),l}getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win};forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let t=this._forgetMemorizedElements.shift();t;t=this._forgetMemorizedElements.shift())kg(this.getWindow,t),et.forgetMemorized(this.focusedElement,t)},0)))}queueInit(t){this._win&&(this._initQueue.push(t),this._initTimer||(this._initTimer=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const t=this._initQueue;this._initQueue=[],t.forEach(r=>r())}}function Yk(e,t){let r=Zk(e);return r?r.createTabster(!1,t):(r=new Qk(e,t),e.__tabsterInstance=r,r.createTabster())}function Jk(e,t){e.core.disposeTabster(e,t)}function Zk(e){return e.__tabsterInstance}const ex=e=>e;function tx(e){const t=e?.defaultView||void 0,r=t?.__tabsterShadowDOMAPI;if(t)return Yk(t,{autoRoot:{},controlTab:!1,getParent:dm,checkUncontrolledCompletely:i=>{var l;return((l=i.firstElementChild)===null||l===void 0?void 0:l.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:r})}function Hr(e=ex){const{targetDocument:t}=Te(),r=y.useRef(null);return We(()=>{const i=tx(t);if(i)return r.current=e(i),()=>{Jk(i),r.current=null}},[t,e]),r}const xn=e=>{Hr();const t=Iu(e,!0);return y.useMemo(()=>({[Qt]:t}),[t])},_i=(e={})=>{const{circular:t,axis:r,memorizeCurrent:i=!0,tabbable:l,ignoreDefaultKeydown:s,unstable_hasDefault:c}=e;return Hr(Lk),xn({mover:{cyclic:!!t,direction:ox(r??"vertical"),memorizeCurrent:i,tabbable:l,hasDefault:c},...s&&{focusable:{ignoreKeydown:s}}})};function ox(e){switch(e){case"horizontal":return ao.Horizontal;case"grid":return ao.Grid;case"grid-linear":return ao.GridLinear;case"both":return ao.Both;default:return ao.Vertical}}const Ou=e=>(Hr($k),xn({groupper:{tabbability:rx(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),rx=e=>{switch(e){case"unlimited":return dl.Unlimited;case"limited":return dl.Limited;case"limited-trap-focus":return dl.LimitedTrapFocus;default:return}},vr=()=>{const e=Hr(),{targetDocument:t}=Te(),r=y.useCallback((d,f)=>{var g;return d&&((g=e.current)===null||g===void 0?void 0:g.focusable.findAll({container:d,acceptCondition:f}))||[]},[e]),i=y.useCallback(d=>{var f;return d&&((f=e.current)===null||f===void 0?void 0:f.focusable.findFirst({container:d}))},[e]),l=y.useCallback(d=>{var f;return d&&((f=e.current)===null||f===void 0?void 0:f.focusable.findLast({container:d}))},[e]),s=y.useCallback((d,f={})=>{if(!e.current||!t||!d)return null;const{container:g=t.body}=f;return e.current.focusable.findNext({currentElement:d,container:g})},[e,t]),c=y.useCallback((d,f={})=>{if(!e.current||!t||!d)return null;const{container:g=t.body}=f;return e.current.focusable.findPrev({currentElement:d,container:g})},[e,t]);return{findAllFocusable:r,findFirstFocusable:i,findLastFocusable:l,findNextFocusable:s,findPrevFocusable:c}},_g="data-fui-focus-visible",zm="data-fui-focus-within";function nx(e,t){if(_m(e))return()=>{};const r={current:void 0},i=Cl(t);function l(f){i.isNavigatingWithKeyboard()&&Mt(f)&&(r.current=f,f.setAttribute(_g,""))}function s(){r.current&&(r.current.removeAttribute(_g),r.current=void 0)}i.subscribe(f=>{f?l(t.document.activeElement):s()});const c=f=>{s();const g=f.composedPath()[0];l(g)},d=f=>{(!f.relatedTarget||Mt(f.relatedTarget)&&!e.contains(f.relatedTarget))&&s()};return e.addEventListener(Ot,c),e.addEventListener("focusout",d),e.focusVisible=!0,e.contains(t.document.activeElement)&&l(t.document.activeElement),()=>{s(),e.removeEventListener(Ot,c),e.removeEventListener("focusout",d),e.focusVisible=void 0,Tl(i)}}function _m(e){return e?e.focusVisible?!0:_m(e?.parentElement):!1}function Au(e={}){const t=Te(),r=y.useRef(null);var i;const l=(i=e.targetDocument)!==null&&i!==void 0?i:t.targetDocument;return y.useEffect(()=>{if(l?.defaultView&&r.current)return nx(r.current,l.defaultView)},[r,l]),r}function ix(e,t){const r=Cl(t);r.subscribe(s=>{s||Ng(e)});const i=s=>{r.isNavigatingWithKeyboard()&&Cg(s.target)&&ax(e)},l=s=>{(!s.relatedTarget||Cg(s.relatedTarget)&&!e.contains(s.relatedTarget))&&Ng(e)};return e.addEventListener(Ot,i),e.addEventListener("focusout",l),()=>{e.removeEventListener(Ot,i),e.removeEventListener("focusout",l),Tl(r)}}function ax(e){e.setAttribute(zm,"")}function Ng(e){e.removeAttribute(zm)}function Cg(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function Sn(){const{targetDocument:e}=Te(),t=y.useRef(null);return y.useEffect(()=>{if(e?.defaultView&&t.current)return ix(t.current,e.defaultView)},[t,e]),t}function Hu(){const{targetDocument:e}=Te(),t=y.useRef(null);return y.useEffect(()=>{const r=e?.defaultView;if(r){const i=Cl(r);return t.current=i,()=>{Tl(i),t.current=null}}},[e]),t}function Nm(e){const t=Hu(),r=te(e);y.useEffect(()=>{const i=t.current;if(i){const l=s=>{r(s)};return i.subscribe(l),l(i.isNavigatingWithKeyboard()),()=>{i.unsubscribe(l)}}},[t,r])}const lx="data-tabster-never-hide",sx=e=>e.hasAttribute(lx);function cx(e){Bm(e,void 0,sx),Sm(e)}const El=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:i}=e;Hr(cx);const l=st("modal-",e.id),s=xn({restorer:{type:Mr.Source},...t&&{modalizer:{id:l,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:i&&t}}}),c=xn({restorer:{type:Mr.Target}});return{modalAttributes:s,triggerAttributes:c}},ux=(...e)=>{"use no memo";const t=e.reduce((r,i)=>(i?.[Qt]&&r.push(i[Qt]),r),[]);return y.useMemo(()=>({[Qt]:t.length>0?t.reduce(dx):void 0}),t)},dx=(e,t)=>JSON.stringify(Object.assign(Tg(e),Tg(t))),Tg=e=>{try{return JSON.parse(e)}catch{return{}}};function fx(){return Hr(Sm),Iu({restorer:{type:Mr.Source}})}function px(){const e=Hu();return y.useCallback(()=>{var t,r;return(r=(t=e.current)===null||t===void 0?void 0:t.isNavigatingWithKeyboard())!==null&&r!==void 0?r:!1},[e])}function gx(){const e=Hu();return y.useCallback(t=>{var r;(r=e.current)===null||r===void 0||r.setVal(t)},[e])}function vx(){const e=Hr(Bm),[t]=gr();return y.useCallback(i=>{t(()=>{var l;(l=e.current)===null||l===void 0||l.activate(i)},0)},[e,t])}const O={2:"#050505",4:"#0a0a0a",6:"#0f0f0f",8:"#141414",10:"#1a1a1a",12:"#1f1f1f",14:"#242424",16:"#292929",18:"#2e2e2e",20:"#333333",22:"#383838",24:"#3d3d3d",26:"#424242",30:"#4d4d4d",32:"#525252",34:"#575757",36:"#5c5c5c",38:"#616161",40:"#666666",42:"#6b6b6b",44:"#707070",46:"#757575",60:"#999999",68:"#adadad",70:"#b3b3b3",74:"#bdbdbd",78:"#c7c7c7",82:"#d1d1d1",84:"#d6d6d6",86:"#dbdbdb",88:"#e0e0e0",90:"#e6e6e6",92:"#ebebeb",94:"#f0f0f0",96:"#f5f5f5",98:"#fafafa",99:"#fcfcfc"},yt={5:"rgba(255, 255, 255, 0.05)",10:"rgba(255, 255, 255, 0.1)",20:"rgba(255, 255, 255, 0.2)",40:"rgba(255, 255, 255, 0.4)",50:"rgba(255, 255, 255, 0.5)",60:"rgba(255, 255, 255, 0.6)",70:"rgba(255, 255, 255, 0.7)",80:"rgba(255, 255, 255, 0.8)"},$t={5:"rgba(0, 0, 0, 0.05)",10:"rgba(0, 0, 0, 0.1)",20:"rgba(0, 0, 0, 0.2)",30:"rgba(0, 0, 0, 0.3)",40:"rgba(0, 0, 0, 0.4)",50:"rgba(0, 0, 0, 0.5)"},mx={50:"rgba(26, 26, 26, 0.5)"},hx={70:"rgba(31, 31, 31, 0.7)"},jg={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},xe="#ffffff",pl="#000000",bx={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Cm={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},yx={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},wx={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},kx={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},xx={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},Bx={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Sx={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},zx={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},_x={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Nx={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Cx={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},Tx={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},jx={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},qx={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Tm={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Ex={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},Rx={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},Dx={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},Px={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},Fx={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},Ix={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},Mx={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},Ox={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},Ax={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},Hx={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},Lx={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},Vx={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},Wx={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},Ux={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},$x={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},Xx={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},Gx={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},Kx={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},Qx={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},Yx={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Pe={red:yx,green:Tm,darkOrange:wx,yellow:zx,berry:Vx,lightGreen:qx,marigold:Sx},cr={darkRed:bx,cranberry:Cm,pumpkin:kx,peach:Bx,gold:_x,brass:Nx,brown:Cx,forest:Tx,seafoam:jx,darkGreen:Ex,lightTeal:Rx,teal:Dx,steel:Px,blue:Fx,royalBlue:Ix,cornflower:Mx,navy:Ox,lavender:Ax,purple:Hx,grape:Lx,lilac:Wx,pink:Ux,magenta:$x,plum:Xx,beige:Gx,mink:Kx,platinum:Qx,anchor:Yx},Re={cranberry:Cm,green:Tm,orange:xx},jm=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],qm=["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"],jt={success:"green",warning:"orange",danger:"cranberry"},Mi=jm.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background1`]:Pe[t].tint60,[`colorPalette${r}Background2`]:Pe[t].tint40,[`colorPalette${r}Background3`]:Pe[t].primary,[`colorPalette${r}Foreground1`]:Pe[t].shade10,[`colorPalette${r}Foreground2`]:Pe[t].shade30,[`colorPalette${r}Foreground3`]:Pe[t].primary,[`colorPalette${r}BorderActive`]:Pe[t].primary,[`colorPalette${r}Border1`]:Pe[t].tint40,[`colorPalette${r}Border2`]:Pe[t].primary};return Object.assign(e,i)},{});Mi.colorPaletteYellowForeground1=Pe.yellow.shade30;Mi.colorPaletteRedForegroundInverted=Pe.red.tint20;Mi.colorPaletteGreenForegroundInverted=Pe.green.tint20;Mi.colorPaletteYellowForegroundInverted=Pe.yellow.tint40;const Jx=qm.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background2`]:cr[t].tint40,[`colorPalette${r}Foreground2`]:cr[t].shade30,[`colorPalette${r}BorderActive`]:cr[t].primary};return Object.assign(e,i)},{}),Zx={...Mi,...Jx},zn=Object.entries(jt).reduce((e,[t,r])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),l={[`colorStatus${i}Background1`]:Re[r].tint60,[`colorStatus${i}Background2`]:Re[r].tint40,[`colorStatus${i}Background3`]:Re[r].primary,[`colorStatus${i}Foreground1`]:Re[r].shade10,[`colorStatus${i}Foreground2`]:Re[r].shade30,[`colorStatus${i}Foreground3`]:Re[r].primary,[`colorStatus${i}ForegroundInverted`]:Re[r].tint30,[`colorStatus${i}BorderActive`]:Re[r].primary,[`colorStatus${i}Border1`]:Re[r].tint40,[`colorStatus${i}Border2`]:Re[r].primary};return Object.assign(e,l)},{});zn.colorStatusDangerBackground3Hover=Re[jt.danger].shade10;zn.colorStatusDangerBackground3Pressed=Re[jt.danger].shade20;zn.colorStatusWarningForeground1=Re[jt.warning].shade20;zn.colorStatusWarningForeground3=Re[jt.warning].shade20;zn.colorStatusWarningBorder2=Re[jt.warning].shade20;const eB=e=>({colorNeutralForeground1:O[14],colorNeutralForeground1Hover:O[14],colorNeutralForeground1Pressed:O[14],colorNeutralForeground1Selected:O[14],colorNeutralForeground2:O[26],colorNeutralForeground2Hover:O[14],colorNeutralForeground2Pressed:O[14],colorNeutralForeground2Selected:O[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:O[38],colorNeutralForeground3Hover:O[26],colorNeutralForeground3Pressed:O[26],colorNeutralForeground3Selected:O[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:O[44],colorNeutralForeground5:O[38],colorNeutralForeground5Hover:O[14],colorNeutralForeground5Pressed:O[14],colorNeutralForeground5Selected:O[14],colorNeutralForegroundDisabled:O[74],colorNeutralForegroundInvertedDisabled:yt[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:O[26],colorNeutralForeground2LinkHover:O[14],colorNeutralForeground2LinkPressed:O[14],colorNeutralForeground2LinkSelected:O[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:O[14],colorNeutralForegroundStaticInverted:xe,colorNeutralForegroundInverted:xe,colorNeutralForegroundInvertedHover:xe,colorNeutralForegroundInvertedPressed:xe,colorNeutralForegroundInvertedSelected:xe,colorNeutralForegroundInverted2:xe,colorNeutralForegroundOnBrand:xe,colorNeutralForegroundInvertedLink:xe,colorNeutralForegroundInvertedLinkHover:xe,colorNeutralForegroundInvertedLinkPressed:xe,colorNeutralForegroundInvertedLinkSelected:xe,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:xe,colorNeutralBackground1Hover:O[96],colorNeutralBackground1Pressed:O[88],colorNeutralBackground1Selected:O[92],colorNeutralBackground2:O[98],colorNeutralBackground2Hover:O[94],colorNeutralBackground2Pressed:O[86],colorNeutralBackground2Selected:O[90],colorNeutralBackground3:O[96],colorNeutralBackground3Hover:O[92],colorNeutralBackground3Pressed:O[84],colorNeutralBackground3Selected:O[88],colorNeutralBackground4:O[94],colorNeutralBackground4Hover:O[98],colorNeutralBackground4Pressed:O[96],colorNeutralBackground4Selected:xe,colorNeutralBackground5:O[92],colorNeutralBackground5Hover:O[96],colorNeutralBackground5Pressed:O[94],colorNeutralBackground5Selected:O[98],colorNeutralBackground6:O[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:O[92],colorNeutralBackground7Pressed:O[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:O[99],colorNeutralBackgroundInverted:O[16],colorNeutralBackgroundInvertedHover:O[24],colorNeutralBackgroundInvertedPressed:O[12],colorNeutralBackgroundInvertedSelected:O[22],colorNeutralBackgroundStatic:O[20],colorNeutralBackgroundAlpha:yt[50],colorNeutralBackgroundAlpha2:yt[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:O[96],colorSubtleBackgroundPressed:O[88],colorSubtleBackgroundSelected:O[92],colorSubtleBackgroundLightAlphaHover:yt[70],colorSubtleBackgroundLightAlphaPressed:yt[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:$t[10],colorSubtleBackgroundInvertedPressed:$t[30],colorSubtleBackgroundInvertedSelected:$t[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:O[94],colorNeutralBackgroundDisabled2:xe,colorNeutralBackgroundInvertedDisabled:yt[10],colorNeutralStencil1:O[90],colorNeutralStencil2:O[98],colorNeutralStencil1Alpha:$t[10],colorNeutralStencil2Alpha:$t[5],colorBackgroundOverlay:$t[40],colorScrollbarOverlay:$t[50],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:xe,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:O[98],colorNeutralCardBackgroundHover:xe,colorNeutralCardBackgroundPressed:O[96],colorNeutralCardBackgroundSelected:O[92],colorNeutralCardBackgroundDisabled:O[94],colorNeutralStrokeAccessible:O[38],colorNeutralStrokeAccessibleHover:O[34],colorNeutralStrokeAccessiblePressed:O[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:O[82],colorNeutralStroke1Hover:O[78],colorNeutralStroke1Pressed:O[70],colorNeutralStroke1Selected:O[74],colorNeutralStroke2:O[88],colorNeutralStroke3:O[94],colorNeutralStroke4:O[92],colorNeutralStroke4Hover:O[88],colorNeutralStroke4Pressed:O[84],colorNeutralStroke4Selected:O[92],colorNeutralStrokeSubtle:O[88],colorNeutralStrokeOnBrand:xe,colorNeutralStrokeOnBrand2:xe,colorNeutralStrokeOnBrand2Hover:xe,colorNeutralStrokeOnBrand2Pressed:xe,colorNeutralStrokeOnBrand2Selected:xe,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:O[88],colorNeutralStrokeDisabled2:O[92],colorNeutralStrokeInvertedDisabled:yt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:$t[5],colorNeutralStrokeAlpha2:yt[20],colorStrokeFocus1:xe,colorStrokeFocus2:pl,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)"}),Em={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Rm={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)"},Dm={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},Pm={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Fm={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Im={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Mm={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"},Ye={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Om={spacingHorizontalNone:Ye.none,spacingHorizontalXXS:Ye.xxs,spacingHorizontalXS:Ye.xs,spacingHorizontalSNudge:Ye.sNudge,spacingHorizontalS:Ye.s,spacingHorizontalMNudge:Ye.mNudge,spacingHorizontalM:Ye.m,spacingHorizontalL:Ye.l,spacingHorizontalXL:Ye.xl,spacingHorizontalXXL:Ye.xxl,spacingHorizontalXXXL:Ye.xxxl},Am={spacingVerticalNone:Ye.none,spacingVerticalXXS:Ye.xxs,spacingVerticalXS:Ye.xs,spacingVerticalSNudge:Ye.sNudge,spacingVerticalS:Ye.s,spacingVerticalMNudge:Ye.mNudge,spacingVerticalM:Ye.m,spacingVerticalL:Ye.l,spacingVerticalXL:Ye.xl,spacingVerticalXXL:Ye.xxl,spacingVerticalXXXL:Ye.xxxl},Hm={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},qg={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorTransparentBackground:"var(--colorTransparentBackground)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontWeightSemibold:"var(--fontWeightSemibold)",shadow16:"var(--shadow16)",shadow64:"var(--shadow64)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)"};function bl(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const tB=e=>{const t=eB(e);return{...Em,...Pm,...Fm,...Mm,...Im,...Hm,...Om,...Am,...Dm,...Rm,...t,...Zx,...zn,...bl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...bl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},Lm={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"},xo=jm.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background1`]:Pe[t].shade40,[`colorPalette${r}Background2`]:Pe[t].shade30,[`colorPalette${r}Background3`]:Pe[t].primary,[`colorPalette${r}Foreground1`]:Pe[t].tint30,[`colorPalette${r}Foreground2`]:Pe[t].tint40,[`colorPalette${r}Foreground3`]:Pe[t].tint20,[`colorPalette${r}BorderActive`]:Pe[t].tint30,[`colorPalette${r}Border1`]:Pe[t].primary,[`colorPalette${r}Border2`]:Pe[t].tint20};return Object.assign(e,i)},{});xo.colorPaletteRedForeground3=Pe.red.tint30;xo.colorPaletteRedBorder2=Pe.red.tint30;xo.colorPaletteGreenForeground3=Pe.green.tint40;xo.colorPaletteGreenBorder2=Pe.green.tint40;xo.colorPaletteDarkOrangeForeground3=Pe.darkOrange.tint30;xo.colorPaletteDarkOrangeBorder2=Pe.darkOrange.tint30;xo.colorPaletteRedForegroundInverted=Pe.red.primary;xo.colorPaletteGreenForegroundInverted=Pe.green.primary;xo.colorPaletteYellowForegroundInverted=Pe.yellow.shade30;const Lu=qm.reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${r}Background2`]:cr[t].shade30,[`colorPalette${r}Foreground2`]:cr[t].tint40,[`colorPalette${r}BorderActive`]:cr[t].tint30};return Object.assign(e,i)},{});Lu.colorPaletteDarkRedBackground2=cr.darkRed.shade20;Lu.colorPalettePlumBackground2=cr.plum.shade20;const oB={...xo,...Lu},mr=Object.entries(jt).reduce((e,[t,r])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),l={[`colorStatus${i}Background1`]:Re[r].shade40,[`colorStatus${i}Background2`]:Re[r].shade30,[`colorStatus${i}Background3`]:Re[r].primary,[`colorStatus${i}Foreground1`]:Re[r].tint30,[`colorStatus${i}Foreground2`]:Re[r].tint40,[`colorStatus${i}Foreground3`]:Re[r].tint20,[`colorStatus${i}BorderActive`]:Re[r].tint30,[`colorStatus${i}ForegroundInverted`]:Re[r].shade10,[`colorStatus${i}Border1`]:Re[r].primary,[`colorStatus${i}Border2`]:Re[r].tint20};return Object.assign(e,l)},{});mr.colorStatusDangerBackground3Hover=Re[jt.danger].shade10;mr.colorStatusDangerBackground3Pressed=Re[jt.danger].shade20;mr.colorStatusDangerForeground3=Re[jt.danger].tint40;mr.colorStatusDangerBorder2=Re[jt.danger].tint30;mr.colorStatusSuccessForeground3=Re[jt.success].tint40;mr.colorStatusSuccessBorder2=Re[jt.success].tint40;mr.colorStatusWarningForegroundInverted=Re[jt.warning].shade20;const a9=tB(Lm),rB=e=>({colorNeutralForeground1:xe,colorNeutralForeground1Hover:xe,colorNeutralForeground1Pressed:xe,colorNeutralForeground1Selected:xe,colorNeutralForeground2:O[84],colorNeutralForeground2Hover:xe,colorNeutralForeground2Pressed:xe,colorNeutralForeground2Selected:xe,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:O[68],colorNeutralForeground3Hover:O[84],colorNeutralForeground3Pressed:O[84],colorNeutralForeground3Selected:O[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:O[60],colorNeutralForeground5:O[68],colorNeutralForeground5Hover:xe,colorNeutralForeground5Pressed:xe,colorNeutralForeground5Selected:xe,colorNeutralForegroundDisabled:O[36],colorNeutralForegroundInvertedDisabled:yt[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:O[84],colorNeutralForeground2LinkHover:xe,colorNeutralForeground2LinkPressed:xe,colorNeutralForeground2LinkSelected:xe,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:O[14],colorNeutralForegroundStaticInverted:xe,colorNeutralForegroundInverted:O[14],colorNeutralForegroundInvertedHover:O[14],colorNeutralForegroundInvertedPressed:O[14],colorNeutralForegroundInvertedSelected:O[14],colorNeutralForegroundInverted2:O[14],colorNeutralForegroundOnBrand:xe,colorNeutralForegroundInvertedLink:xe,colorNeutralForegroundInvertedLinkHover:xe,colorNeutralForegroundInvertedLinkPressed:xe,colorNeutralForegroundInvertedLinkSelected:xe,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:O[16],colorNeutralBackground1Hover:O[24],colorNeutralBackground1Pressed:O[12],colorNeutralBackground1Selected:O[22],colorNeutralBackground2:O[12],colorNeutralBackground2Hover:O[20],colorNeutralBackground2Pressed:O[8],colorNeutralBackground2Selected:O[18],colorNeutralBackground3:O[8],colorNeutralBackground3Hover:O[16],colorNeutralBackground3Pressed:O[4],colorNeutralBackground3Selected:O[14],colorNeutralBackground4:O[4],colorNeutralBackground4Hover:O[12],colorNeutralBackground4Pressed:pl,colorNeutralBackground4Selected:O[10],colorNeutralBackground5:pl,colorNeutralBackground5Hover:O[8],colorNeutralBackground5Pressed:O[2],colorNeutralBackground5Selected:O[6],colorNeutralBackground6:O[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:O[10],colorNeutralBackground7Pressed:O[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:O[16],colorNeutralBackgroundInverted:xe,colorNeutralBackgroundInvertedHover:O[96],colorNeutralBackgroundInvertedPressed:O[88],colorNeutralBackgroundInvertedSelected:O[92],colorNeutralBackgroundStatic:O[24],colorNeutralBackgroundAlpha:mx[50],colorNeutralBackgroundAlpha2:hx[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:O[22],colorSubtleBackgroundPressed:O[18],colorSubtleBackgroundSelected:O[20],colorSubtleBackgroundLightAlphaHover:jg[80],colorSubtleBackgroundLightAlphaPressed:jg[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:$t[10],colorSubtleBackgroundInvertedPressed:$t[30],colorSubtleBackgroundInvertedSelected:$t[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:O[8],colorNeutralBackgroundDisabled2:O[16],colorNeutralBackgroundInvertedDisabled:yt[10],colorNeutralStencil1:O[34],colorNeutralStencil2:O[20],colorNeutralStencil1Alpha:yt[10],colorNeutralStencil2Alpha:yt[5],colorBackgroundOverlay:$t[50],colorScrollbarOverlay:yt[60],colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:xe,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:O[20],colorNeutralCardBackgroundHover:O[24],colorNeutralCardBackgroundPressed:O[18],colorNeutralCardBackgroundSelected:O[22],colorNeutralCardBackgroundDisabled:O[8],colorNeutralStrokeAccessible:O[68],colorNeutralStrokeAccessibleHover:O[74],colorNeutralStrokeAccessiblePressed:O[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:O[40],colorNeutralStroke1Hover:O[46],colorNeutralStroke1Pressed:O[42],colorNeutralStroke1Selected:O[44],colorNeutralStroke2:O[32],colorNeutralStroke3:O[24],colorNeutralStroke4:O[24],colorNeutralStroke4Hover:O[18],colorNeutralStroke4Pressed:O[14],colorNeutralStroke4Selected:O[24],colorNeutralStrokeSubtle:O[4],colorNeutralStrokeOnBrand:O[16],colorNeutralStrokeOnBrand2:xe,colorNeutralStrokeOnBrand2Hover:xe,colorNeutralStrokeOnBrand2Pressed:xe,colorNeutralStrokeOnBrand2Selected:xe,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:O[26],colorNeutralStrokeDisabled2:O[24],colorNeutralStrokeInvertedDisabled:yt[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:yt[10],colorNeutralStrokeAlpha2:yt[20],colorStrokeFocus1:pl,colorStrokeFocus2:xe,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}),nB=e=>{const t=rB(e);return{...Em,...Pm,...Fm,...Mm,...Im,...Hm,...Om,...Am,...Dm,...Rm,...t,...oB,...mr,...bl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...bl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},l9=nB(Lm),Vm={root:"fui-FluentProvider"},iB=F1({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);}"]}),aB=e=>{"use no memo";const t=Ov(),r=iB({dir:e.dir,renderer:t});return e.root.className=L(Vm.root,e.themeClassName,r.root,e.root.className),e},lB=y.useInsertionEffect?y.useInsertionEffect:We,sB=(e,t)=>{if(!e?.head)return;const r=e.createElement("style");return Object.keys(t).forEach(i=>{r.setAttribute(i,t[i])}),e.head.appendChild(r),r},cB=(e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))},uB=e=>{"use no memo";const{targetDocument:t,theme:r,rendererAttributes:i}=e,l=y.useRef(void 0),s=st(Vm.root),c=i,d=y.useMemo(()=>cy(`.${s}`,r),[r,s]);return dB(t,s),lB(()=>{const f=t?.getElementById(s);return f?l.current=f:(l.current=sB(t,{...c,id:s}),l.current&&cB(l.current,d)),()=>{var g;(g=l.current)===null||g===void 0||g.remove()}},[s,t,d,c]),{styleTagId:s,rule:d}};function dB(e,t){y.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}const fB={},pB={},gB=(e,t)=>{"use no memo";const r=Te(),i=vB(),l=Di(),s=y.useContext(Du)||fB,{applyStylesToPortals:c=!0,customStyleHooks_unstable:d,dir:f=r.dir,targetDocument:g=r.targetDocument,theme:m,overrides_unstable:h={}}=e,x=Uc(i,m),w=Uc(l,h),k=Uc(s,d),b=Ov();var B;const{styleTagId:_,rule:T}=uB({theme:x,targetDocument:g,rendererAttributes:(B=b.styleElementAttributes)!==null&&B!==void 0?B:pB});return{applyStylesToPortals:c,customStyleHooks_unstable:k,dir:f,targetDocument:g,theme:x,overrides_unstable:w,themeClassName:_,components:{root:"div"},root:ue(De("div",{...e,dir:f,ref:Ne(t,Au({targetDocument:g}))}),{elementType:"div"}),serverStyleProps:{cssRule:T,attributes:{...b.styleElementAttributes,id:_}}}};function Uc(e,t){return e&&t?{...e,...t}:e||t}function vB(){return y.useContext(Qv)}function mB(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:i,root:l,targetDocument:s,theme:c,themeClassName:d,overrides_unstable:f}=e,g=y.useMemo(()=>({dir:i,targetDocument:s}),[i,s]),[m]=y.useState(()=>({})),h=y.useMemo(()=>({textDirection:i}),[i]);return{customStyleHooks_unstable:r,overrides_unstable:f,provider:g,textDirection:i,iconDirection:h,tooltip:m,theme:c,themeClassName:t?l.className:d}}const hB=y.forwardRef((e,t)=>{const r=gB(e,t);aB(r);const i=mB(r);return xw(r,i)});hB.displayName="FluentProvider";var $c={exports:{}},Xc={};var Eg;function bB(){return Eg||(Eg=1,(function(e){function t(A,ae){var D=A.length;A.push(ae);e:for(;0<D;){var W=D-1>>>1,U=A[W];if(0<l(U,ae))A[W]=ae,A[D]=U,D=W;else break e}}function r(A){return A.length===0?null:A[0]}function i(A){if(A.length===0)return null;var ae=A[0],D=A.pop();if(D!==ae){A[0]=D;e:for(var W=0,U=A.length,ke=U>>>1;W<ke;){var X=2*(W+1)-1,ve=A[X],ze=X+1,le=A[ze];if(0>l(ve,D))ze<U&&0>l(le,ve)?(A[W]=le,A[ze]=D,W=ze):(A[W]=ve,A[X]=D,W=X);else if(ze<U&&0>l(le,D))A[W]=le,A[ze]=D,W=ze;else break e}}return ae}function l(A,ae){var D=A.sortIndex-ae.sortIndex;return D!==0?D:A.id-ae.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var f=[],g=[],m=1,h=null,x=3,w=!1,k=!1,b=!1,B=!1,_=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function N(A){for(var ae=r(g);ae!==null;){if(ae.callback===null)i(g);else if(ae.startTime<=A)i(g),ae.sortIndex=ae.expirationTime,t(f,ae);else break;ae=r(g)}}function q(A){if(b=!1,N(A),!k)if(r(f)!==null)k=!0,j||(j=!0,Z());else{var ae=r(g);ae!==null&&K(q,ae.startTime-A)}}var j=!1,F=-1,V=5,$=-1;function ie(){return B?!0:!(e.unstable_now()-$<V)}function se(){if(B=!1,j){var A=e.unstable_now();$=A;var ae=!0;try{e:{k=!1,b&&(b=!1,T(F),F=-1),w=!0;var D=x;try{t:{for(N(A),h=r(f);h!==null&&!(h.expirationTime>A&&ie());){var W=h.callback;if(typeof W=="function"){h.callback=null,x=h.priorityLevel;var U=W(h.expirationTime<=A);if(A=e.unstable_now(),typeof U=="function"){h.callback=U,N(A),ae=!0;break t}h===r(f)&&i(f),N(A)}else i(f);h=r(f)}if(h!==null)ae=!0;else{var ke=r(g);ke!==null&&K(q,ke.startTime-A),ae=!1}}break e}finally{h=null,x=D,w=!1}ae=void 0}}finally{ae?Z():j=!1}}}var Z;if(typeof z=="function")Z=function(){z(se)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,oe=re.port2;re.port1.onmessage=se,Z=function(){oe.postMessage(null)}}else Z=function(){_(se,0)};function K(A,ae){F=_(function(){A(e.unstable_now())},ae)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(A){switch(x){case 1:case 2:case 3:var ae=3;break;default:ae=x}var D=x;x=ae;try{return A()}finally{x=D}},e.unstable_requestPaint=function(){B=!0},e.unstable_runWithPriority=function(A,ae){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var D=x;x=A;try{return ae()}finally{x=D}},e.unstable_scheduleCallback=function(A,ae,D){var W=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?W+D:W):D=W,A){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=D+U,A={id:m++,callback:ae,priorityLevel:A,startTime:D,expirationTime:U,sortIndex:-1},D>W?(A.sortIndex=D,t(g,A),r(f)===null&&A===r(g)&&(b?(T(F),F=-1):b=!0,K(q,D-W))):(A.sortIndex=U,t(f,A),k||w||(k=!0,j||(j=!0,Z()))),A},e.unstable_shouldYield=ie,e.unstable_wrapCallback=function(A){var ae=x;return function(){var D=x;x=ae;try{return A.apply(this,arguments)}finally{x=D}}}})(Xc)),Xc}var Rg;function yB(){return Rg||(Rg=1,$c.exports=bB()),$c.exports}var Dg=yB();const wB=e=>r=>{const i=y.useRef(r.value),l=y.useRef(null);return l.current||(l.current={value:i,listeners:[]}),We(()=>{i.current=r.value,Dg.unstable_runWithPriority(Dg.unstable_NormalPriority,()=>{l.current.listeners.forEach(s=>{s(r.value)})})},[r.value]),y.createElement(e,{value:l.current},r.children)},hr=e=>{const t=y.createContext({value:{current:e},listeners:[],isDefault:!0});return t.Provider=wB(t.Provider),delete t.Consumer,t},Lr=(e,t)=>{const r=y.useContext(e),{value:i,listeners:l}=r,s=t(i.current),[,c]=y.useReducer(g=>g+1,0),d=y.useRef(t),f=y.useRef(s);return We(()=>{d.current=t,f.current=s}),We(()=>{const g=m=>{try{const h=d.current(m);Object.is(f.current,h)||c()}catch{}};return l.push(g),g(i.current),()=>{const m=l.indexOf(g);m!==-1&&l.splice(m,1)}},[l,i]),s};function Oi(e){return!y.useContext(e).isDefault}const kB="Shift",ur="Enter",lo=" ",Wm="Tab",Ni="ArrowDown",Ai="ArrowLeft",Hi="ArrowRight",ki="ArrowUp",Vu="End",Wu="Home",Um="PageDown",$m="PageUp",xB="Backspace",BB="Delete",br="Escape";function Or(e,t){const{disabled:r,disabledFocusable:i=!1,["aria-disabled"]:l,onClick:s,onKeyDown:c,onKeyUp:d,...f}=t??{},g=typeof l=="string"?l==="true":l,m=r||i||g,h=te(k=>{m?(k.preventDefault(),k.stopPropagation()):s?.(k)}),x=te(k=>{if(c?.(k),k.isDefaultPrevented())return;const b=k.key;if(m&&(b===ur||b===lo)){k.preventDefault(),k.stopPropagation();return}if(b===lo){k.preventDefault();return}else b===ur&&(k.preventDefault(),k.currentTarget.click())}),w=te(k=>{if(d?.(k),k.isDefaultPrevented())return;const b=k.key;if(m&&(b===ur||b===lo)){k.preventDefault(),k.stopPropagation();return}b===lo&&(k.preventDefault(),k.currentTarget.click())});if(e==="button"||e===void 0)return{...f,disabled:r&&!i,"aria-disabled":i?!0:g,onClick:i?void 0:h,onKeyUp:i?void 0:d,onKeyDown:i?void 0:c};{const k=!!f.href;let b=k?void 0:"button";!b&&m&&(b="link");const B={role:b,tabIndex:i||!k&&!r?0:void 0,...f,onClick:h,onKeyUp:w,onKeyDown:x,"aria-disabled":m};return e==="a"&&m&&(B.href=void 0),B}}const Tt=()=>{},SB={controller:{active:Tt,blur:Tt,find:Tt,first:Tt,focus:Tt,focusLastActive:Tt,scrollActiveIntoView:Tt,last:Tt,next:Tt,prev:Tt,showAttributes:Tt,hideAttributes:Tt,showFocusVisibleAttributes:Tt,hideFocusVisibleAttributes:Tt}},Uu=y.createContext(void 0),$u=Uu.Provider,Xm=()=>{var e;return(e=y.useContext(Uu))!==null&&e!==void 0?e:SB},zB=()=>!!y.useContext(Uu);function _B(e){const{matchOption:t}=e,{targetDocument:r}=Te(),i=y.useRef(null),l=y.useRef(null),s=y.useCallback(f=>Mt(f)&&t(f)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),c=y.useCallback(f=>{f&&r?(l.current=f,i.current=r.createTreeWalker(f,NodeFilter.SHOW_ELEMENT,s)):(l.current=null,i.current=null)},[r,s]);return{optionWalker:y.useMemo(()=>({first:()=>!i.current||!l.current?null:(i.current.currentNode=l.current,i.current.firstChild()),last:()=>!i.current||!l.current?null:(i.current.currentNode=l.current,i.current.lastChild()),next:()=>i.current?i.current.nextNode():null,prev:()=>i.current?i.current.previousNode():null,find:(f,g)=>{if(!i.current||!l.current)return null;const m=g?r?.getElementById(g):null;i.current.currentNode=m??l.current;let h=i.current.currentNode;for(;h&&!f(h.id);)h=i.current.nextNode();return h},setCurrent:f=>{i.current&&(i.current.currentNode=f)}}),[r]),listboxCallbackRef:c}}const Pg="data-activedescendant",mn="data-activedescendant-focusvisible",Fg=e=>{if(!e)return;const t=Gm(e.parentElement);if(!t)return;const{offsetHeight:r}=e,i=Km(e,t),{scrollMarginTop:l,scrollMarginBottom:s}=NB(e),{offsetHeight:c,scrollTop:d}=t,f=i-l<d,g=i+r+s>d+c,m=2;f?t.scrollTo(0,i-l-m):g&&t.scrollTo(0,i+r+s-c+m)},Gm=e=>e?e.scrollHeight>e.offsetHeight?e:Gm(e.parentElement):null,Km=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+Km(e.offsetParent,t),NB=e=>{var t;const r=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const i=r.getComputedStyle(e);var l;const s=(l=Za(i.scrollMarginTop))!==null&&l!==void 0?l:Za(i.scrollMarginBlockStart);var c;const d=(c=Za(i.scrollMarginBottom))!==null&&c!==void 0?c:Za(i.scrollMarginBlockEnd);return{scrollMarginTop:s,scrollMarginBottom:d}},Za=e=>e?parseInt(e,10):0,CB=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Xu(e){const{imperativeRef:t,matchOption:r}=e,i=y.useRef(!1),l=y.useRef(!0),s=y.useRef(null),c=y.useRef(null),d=y.useRef(null),f=y.useRef(!0),g=y.useCallback(()=>{var N;(N=d.current)===null||N===void 0||N.removeAttribute("aria-activedescendant")},[]),m=y.useCallback(N=>{if(N&&(s.current=N),f.current&&s.current){var q;(q=d.current)===null||q===void 0||q.setAttribute("aria-activedescendant",s.current)}},[]);Nm(N=>{i.current=N;const q=b();q&&(N&&l.current?q.setAttribute(mn,""):q.removeAttribute(mn))});const h=te(r),x=y.useRef(null),{optionWalker:w,listboxCallbackRef:k}=_B({matchOption:h}),b=y.useCallback(()=>{var N;return(N=x.current)===null||N===void 0?void 0:N.querySelector(`#${s.current}`)},[x]),B=y.useCallback(N=>{l.current=N;const q=b();q&&(N&&i.current?q.setAttribute(mn,""):q.removeAttribute(mn))},[b]),_=y.useCallback(()=>{const N=b();N&&(N.removeAttribute(Pg),N.removeAttribute(mn)),g(),c.current=s.current,s.current=null;var q;return(q=N?.id)!==null&&q!==void 0?q:null},[b,g]),T=y.useCallback(N=>{if(!N)return;const q=_();Fg(N),m(N.id),N.setAttribute(Pg,""),i.current&&l.current&&N.setAttribute(mn,"");const j=CB({id:N.id,previousId:q});N.dispatchEvent(j)},[_,m]),z=y.useMemo(()=>({first:({passive:N}={})=>{const q=w.first();return N||T(q),q?.id},last:({passive:N}={})=>{const q=w.last();return N||T(q),q?.id},next:({passive:N}={})=>{const q=b();if(!q)return;w.setCurrent(q);const j=w.next();return N||T(j),j?.id},prev:({passive:N}={})=>{const q=b();if(!q)return;w.setCurrent(q);const j=w.prev();return N||T(j),j?.id},blur:()=>{_()},active:()=>{var N;return(N=b())===null||N===void 0?void 0:N.id},focus:N=>{if(!x.current)return;const q=x.current.querySelector(`#${N}`);q&&T(q)},focusLastActive:()=>{if(!x.current||!c.current)return;const N=x.current.querySelector(`#${c.current}`);if(N)return T(N),!0},find(N,{passive:q,startFrom:j}={}){const F=w.find(N,j);return q||T(F),F?.id},scrollActiveIntoView:()=>{if(!x.current)return;const N=b();N&&Fg(N)},showAttributes(){f.current=!0,m()},hideAttributes(){f.current=!1,g()},showFocusVisibleAttributes(){B(!0)},hideFocusVisibleAttributes(){B(!1)}}),[w,x,m,g,T,_,b,B]);return y.useImperativeHandle(t,()=>z),{listboxRef:Ne(x,k),activeParentRef:d,controller:z}}const TB={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},jB={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)"},qe={...TB,...jB};function qB(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var r;const d=(r=e.overallProgress)!==null&&r!==void 0?r:0;return d>0&&d<1}var i;const s=Number((i=e.currentTime)!==null&&i!==void 0?i:0);var l;const c=Number((l=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&l!==void 0?l:0);return s>0&&s<c}return!1}const EB={fill:"forwards"},RB={duration:1};function DB(e){return{set playbackRate(t){e.forEach(r=>{r.playbackRate=t})},setMotionEndCallbacks(t,r){const i=e.map(l=>new Promise((s,c)=>{l.onfinish=()=>s(),l.oncancel=()=>c()}));Promise.all(i).then(()=>{t()}).catch(()=>{r()})},isRunning(){return e.some(t=>qB(t))},dispose:()=>{e.length=0},cancel:()=>{e.forEach(t=>{t.cancel()})},pause:()=>{e.forEach(t=>{t.pause()})},play:()=>{e.forEach(t=>{t.play()})},finish:()=>{e.forEach(t=>{t.finish()})},reverse:()=>{e.forEach(t=>{t.reverse()})}}}function PB(){var e;const t=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return y.useCallback((r,i,l)=>{const s=Array.isArray(i)?i:[i],{isReducedMotion:c}=l,d=s.map(f=>{const{keyframes:g,reducedMotion:m=RB,...h}=f,{keyframes:x=g,...w}=m,k=c?x:g,b={...EB,...h,...c&&w};try{const _=r.animate(k,b);if(t)_?.persist();else{const T=k[k.length-1];var B;Object.assign((B=r.style)!==null&&B!==void 0?B:{},T)}return _}catch{return null}}).filter(f=>!!f);return DB(d)},[t])}function Qm(){"use no memo";return PB()}function Ym(e){const t=y.useRef(void 0);return y.useImperativeHandle(e,()=>({setPlayState:r=>{if(r==="running"){var i;(i=t.current)===null||i===void 0||i.play()}if(r==="paused"){var l;(l=t.current)===null||l===void 0||l.pause()}},setPlaybackRate:r=>{t.current&&(t.current.playbackRate=r)}})),t}const FB="screen and (prefers-reduced-motion: reduce)";function Jm(){const{targetDocument:e}=Te();var t;const r=(t=e?.defaultView)!==null&&t!==void 0?t:null,i=y.useRef(!1),l=y.useCallback(()=>i.current,[]);return We(()=>{if(r===null||typeof r.matchMedia!="function")return;const s=r.matchMedia(FB);s.matches&&(i.current=!0);const c=d=>{i.current=d.matches};return s.addEventListener("change",c),()=>{s.removeEventListener("change",c)}},[r]),l}const IB=["@fluentui/react-motion: Invalid child element.",`
|
|
9
|
+
`,"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("");function Zm(e,t=!0){const r=y.useRef(null);y.useEffect(()=>{},[t]);try{const i=y.Children.only(e);if(y.isValidElement(i))return[y.cloneElement(i,{ref:Ne(r,Pi(i))}),r]}catch{}throw new Error(IB)}const eh=y.createContext(void 0);eh.Provider;const th=()=>{var e;return(e=y.useContext(eh))!==null&&e!==void 0?e:"default"},MB=Symbol("MOTION_DEFINITION");function vu(e){return Object.assign(r=>{"use no memo";const{children:i,imperativeRef:l,onMotionFinish:s,onMotionStart:c,onMotionCancel:d,...f}=r,g=f,[m,h]=Zm(i),x=Ym(l),w=th()==="skip",k=y.useRef({skipMotions:w,params:g}),b=Qm(),B=Jm(),_=te(()=>{c?.(null)}),T=te(()=>{s?.(null)}),z=te(()=>{d?.(null)});return We(()=>{k.current={skipMotions:w,params:g}}),We(()=>{const N=h.current;if(N){const q=typeof e=="function"?e({element:N,...k.current.params}):e;_();const j=b(N,q,{isReducedMotion:B()});return x.current=j,j.setMotionEndCallbacks(T,z),k.current.skipMotions&&j.finish(),()=>{j.cancel()}}},[b,h,x,B,T,_,z]),m},{[MB]:typeof e=="function"?e:()=>e})}const oh=y.createContext(void 0);oh.Provider;function OB(e=!1,t=!1){const r=y.useRef(t?e:!0),i=aw(),l=y.useCallback(s=>{r.current!==s&&(r.current=s,i())},[i]);return y.useEffect(()=>{e&&(r.current=e)}),[e||r.current,l]}const rh=Symbol("PRESENCE_MOTION_DEFINITION"),AB=Symbol.for("interruptablePresence");function yr(e){return Object.assign(t=>{"use no memo";const i={...y.useContext(oh),...t},l=th()==="skip",{appear:s,children:c,imperativeRef:d,onExit:f,onMotionFinish:g,onMotionStart:m,onMotionCancel:h,visible:x,unmountOnExit:w,...k}=i,b=k,[B,_]=OB(x,w),[T,z]=Zm(c,B),N=Ym(d),q=y.useRef({appear:s,params:b,skipMotions:l}),j=Qm(),F=Pu(),V=Jm(),$=te(Z=>{m?.(null,{direction:Z})}),ie=te(Z=>{g?.(null,{direction:Z}),Z==="exit"&&w&&(_(!1),f?.())}),se=te(Z=>{h?.(null,{direction:Z})});return We(()=>{q.current={appear:s,params:b,skipMotions:l}}),We(()=>{const Z=z.current;if(!Z)return;let re;function oe(){re&&(A&&re.isRunning()||(re.cancel(),N.current=void 0))}const K=typeof e=="function"?e({element:Z,...q.current.params}):e,A=K[AB];if(A&&(re=N.current,re&&re.isRunning()))return re.reverse(),oe;const ae=x?K.enter:K.exit,D=x?"enter":"exit",W=!q.current.appear&&F,U=q.current.skipMotions;return W||$(D),re=j(Z,ae,{isReducedMotion:V()}),W?(re.finish(),oe):(N.current=re,re.setMotionEndCallbacks(()=>ie(D),()=>se(D)),U&&re.finish(),oe)},[j,z,N,V,ie,$,se,x]),y.useEffect(()=>{if(w&&!B){var Z;(Z=N.current)===null||Z===void 0||Z.dispose()}},[N,w,B]),B?T:null},{[rh]:typeof e=="function"?e:()=>e},{In:vu(typeof e=="function"?(...t)=>e(...t).enter:e.enter),Out:vu(typeof e=="function"?(...t)=>e(...t).exit:e.exit)})}function HB(e,t){return i=>e({...t,...i})}function Li(e,t){const r=e[rh],i=HB(r,t);return yr(i)}const Gu=y.createContext(void 0);function Rl(){return y.useContext(Gu)}const Dl=y.forwardRef((e,t)=>y.createElement(Gu.Provider,{value:t},e.children));Dl.displayName="MotionRefForwarder";const nh=e=>y.createElement(Gu.Provider,{value:void 0},e.children);nh.displayName="MotionRefForwarderReset";function LB(e,t){const{as:r,children:i,...l}=e??{};if(e===null){const c=(d,f)=>y.createElement(y.Fragment,null,f.children);return{[Ir]:c,[dr]:t.elementType}}const s={...t.defaultProps,...l,[dr]:t.elementType};return typeof i=="function"&&(s[Ir]=i),s}function Pl(e,t){const{as:r,children:i,...l}=e??{};if(e===null){const c=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,d=(f,g)=>c?null:y.createElement(y.Fragment,null,g.children);return{[Ir]:d,[dr]:t.elementType}}const s={...t.defaultProps,...l,[dr]:t.elementType};return typeof i=="function"&&(s[Ir]=i),s}const fr=({direction:e,duration:t,easing:r=qe.curveLinear,delay:i=0,outOpacity:l=0,inOpacity:s=1})=>{const c=[{opacity:l},{opacity:s}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:r,delay:i,fill:"both"}},VB=({duration:e=qe.durationNormal,easing:t=qe.curveEasyEase,delay:r=0,exitDuration:i=e,exitEasing:l=t,exitDelay:s=r,outOpacity:c=0,inOpacity:d=1})=>({enter:fr({direction:"enter",duration:e,easing:t,delay:r,outOpacity:c,inOpacity:d}),exit:fr({direction:"exit",duration:i,easing:l,delay:s,outOpacity:c,inOpacity:d})}),ih=yr(VB);Li(ih,{duration:qe.durationFast});const WB=Li(ih,{duration:qe.durationGentle}),Ig=({direction:e,duration:t,easing:r=qe.curveLinear,delay:i=0,outScale:l=.9,inScale:s=1})=>{const c=[{scale:l},{scale:s}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:r,delay:i}},UB=({duration:e=qe.durationGentle,easing:t=qe.curveDecelerateMax,delay:r=0,exitDuration:i=qe.durationNormal,exitEasing:l=qe.curveAccelerateMax,exitDelay:s=r,outScale:c=.9,inScale:d=1,animateOpacity:f=!0})=>{const g=[Ig({direction:"enter",duration:e,easing:t,delay:r,outScale:c,inScale:d})],m=[Ig({direction:"exit",duration:i,easing:l,delay:s,outScale:c,inScale:d})];return f&&(g.push(fr({direction:"enter",duration:e,easing:t,delay:r})),m.push(fr({direction:"exit",duration:i,easing:l,delay:s}))),{enter:g,exit:m}},Ku=yr(UB);Li(Ku,{duration:qe.durationNormal,exitDuration:qe.durationFast});Li(Ku,{duration:qe.durationSlow,exitDuration:qe.durationGentle});const ah=({direction:e,duration:t,easing:r=qe.curveLinear,delay:i=0,outX:l="0px",outY:s="0px",inX:c="0px",inY:d="0px"})=>({keyframes:[{translate:`${l} ${s}`},{translate:`${c} ${d}`}],duration:t,easing:r,delay:i}),$B=(e,t)=>{const{shape:r="circular",size:i="medium",appearance:l="filled",color:s="brand",...c}=e;return{...XB(c,t),shape:r,size:i,appearance:l,color:s}},XB=(e,t)=>{const{iconPosition:r="before"}=e;return{iconPosition:r,components:{root:"div",icon:"span"},root:ue(De("div",{ref:t,...e}),{elementType:"div"}),icon:he(e.icon,{elementType:"span"})}},Mg={root:"fui-Badge",icon:"fui-Badge__icon"},GB=be("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),KB=G({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),QB=be("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),YB=G({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),JB=e=>{"use no memo";const t=GB(),r=KB(),i=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=L(Mg.root,t,i&&r.fontSmallToTiny,r[e.size],r[e.shape],e.shape==="rounded"&&i&&r.roundedSmallToTiny,e.appearance==="ghost"&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const l=QB(),s=YB();if(e.icon){let c;y.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?c=e.iconPosition==="after"?s.afterTextXL:s.beforeTextXL:c=e.iconPosition==="after"?s.afterText:s.beforeText),e.icon.className=L(Mg.icon,l,c,s[e.size],e.icon.className)}return e},ZB=e=>Ce(e.root,{children:[e.iconPosition==="before"&&e.icon&&H(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&H(e.icon,{})]}),eS=y.forwardRef((e,t)=>{const r=$B(e,t);return JB(r),Se("useBadgeStyles_unstable")(r),ZB(r)});eS.displayName="Badge";const tS=y.createContext(void 0),oS=tS.Provider;function rS(e){const t=e.clientX,r=e.clientY,i=t+1,l=r+1;function s(){return{left:t,top:r,right:i,bottom:l,x:t,y:r,height:1,width:1}}return{getBoundingClientRect:s}}const Og="data-popper-is-intersecting",Ag="data-popper-escaped",Hg="data-popper-reference-hidden",nS="data-popper-placement",mu="fui-positioningend",yl="--fui-positioning-slide-direction-x",wl="--fui-positioning-slide-direction-y";function iS(e){const t=e.split("-")[0];let r=0,i=1;return t==="right"?(r=-1,i=0):t==="bottom"?(r=0,i=-1):t==="left"&&(r=1,i=0),{x:r,y:i}}function lh(e){const{targetDocument:t,onPositioningEnd:r}=e,i=te(l=>{r?.(l);const s=l.target,c=l.detail.placement;if(!Mt(s))return;const{x:d,y:f}=iS(c);s.style.setProperty(yl,`${d}px`),s.style.setProperty(wl,`${f}px`)});return y.useEffect(()=>{var l,s,c;const d=(c=t==null||(s=t.defaultView)===null||s===void 0||(l=s.CSS)===null||l===void 0?void 0:l.registerProperty)!==null&&c!==void 0?c:()=>{};try{d({name:yl,syntax:"<length>",inherits:!1,initialValue:"0px"}),d({name:wl,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[t]),i}const aS=({options:e})=>e,sh=y.createContext(void 0);sh.Provider;const lS=()=>{var e;return(e=y.useContext(sh))!==null&&e!==void 0?e:aS},sS=["top","right","bottom","left"],Ar=Math.min,Kt=Math.max,kl=Math.round,wo=e=>({x:e,y:e}),cS={left:"right",right:"left",bottom:"top",top:"bottom"};function hu(e,t,r){return Kt(e,Ar(t,r))}function Ro(e,t){return typeof e=="function"?e(t):e}function Do(e){return e.split("-")[0]}function _n(e){return e.split("-")[1]}function Qu(e){return e==="x"?"y":"x"}function Yu(e){return e==="y"?"height":"width"}function yo(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ju(e){return Qu(yo(e))}function uS(e,t,r){r===void 0&&(r=!1);const i=_n(e),l=Ju(e),s=Yu(l);let c=l==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=xl(c)),[c,xl(c)]}function dS(e){const t=xl(e);return[bu(e),t,bu(t)]}function bu(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Lg=["left","right"],Vg=["right","left"],fS=["top","bottom"],pS=["bottom","top"];function gS(e,t,r){switch(e){case"top":case"bottom":return r?t?Vg:Lg:t?Lg:Vg;case"left":case"right":return t?fS:pS;default:return[]}}function vS(e,t,r,i){const l=_n(e);let s=gS(Do(e),r==="start",i);return l&&(s=s.map(c=>c+"-"+l),t&&(s=s.concat(s.map(bu)))),s}function xl(e){const t=Do(e);return cS[t]+e.slice(t.length)}function mS(e){return{top:0,right:0,bottom:0,left:0,...e}}function ch(e){return typeof e!="number"?mS(e):{top:e,right:e,bottom:e,left:e}}function Bl(e){const{x:t,y:r,width:i,height:l}=e;return{width:i,height:l,top:r,left:t,right:t+i,bottom:r+l,x:t,y:r}}function Wg(e,t,r){let{reference:i,floating:l}=e;const s=yo(t),c=Ju(t),d=Yu(c),f=Do(t),g=s==="y",m=i.x+i.width/2-l.width/2,h=i.y+i.height/2-l.height/2,x=i[d]/2-l[d]/2;let w;switch(f){case"top":w={x:m,y:i.y-l.height};break;case"bottom":w={x:m,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y:h};break;case"left":w={x:i.x-l.width,y:h};break;default:w={x:i.x,y:i.y}}switch(_n(t)){case"start":w[c]-=x*(r&&g?-1:1);break;case"end":w[c]+=x*(r&&g?-1:1);break}return w}async function uh(e,t){var r;t===void 0&&(t={});const{x:i,y:l,platform:s,rects:c,elements:d,strategy:f}=e,{boundary:g="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:x=!1,padding:w=0}=Ro(t,e),k=ch(w),B=d[x?h==="floating"?"reference":"floating":h],_=Bl(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(B)))==null||r?B:B.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:g,rootBoundary:m,strategy:f})),T=h==="floating"?{x:i,y:l,width:c.floating.width,height:c.floating.height}:c.reference,z=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),N=await(s.isElement==null?void 0:s.isElement(z))?await(s.getScale==null?void 0:s.getScale(z))||{x:1,y:1}:{x:1,y:1},q=Bl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:T,offsetParent:z,strategy:f}):T);return{top:(_.top-q.top+k.top)/N.y,bottom:(q.bottom-_.bottom+k.bottom)/N.y,left:(_.left-q.left+k.left)/N.x,right:(q.right-_.right+k.right)/N.x}}const hS=50,bS=async(e,t,r)=>{const{placement:i="bottom",strategy:l="absolute",middleware:s=[],platform:c}=r,d=c.detectOverflow?c:{...c,detectOverflow:uh},f=await(c.isRTL==null?void 0:c.isRTL(t));let g=await c.getElementRects({reference:e,floating:t,strategy:l}),{x:m,y:h}=Wg(g,i,f),x=i,w=0;const k={};for(let b=0;b<s.length;b++){const B=s[b];if(!B)continue;const{name:_,fn:T}=B,{x:z,y:N,data:q,reset:j}=await T({x:m,y:h,initialPlacement:i,placement:x,strategy:l,middlewareData:k,rects:g,platform:d,elements:{reference:e,floating:t}});m=z??m,h=N??h,k[_]={...k[_],...q},j&&w<hS&&(w++,typeof j=="object"&&(j.placement&&(x=j.placement),j.rects&&(g=j.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:l}):j.rects),{x:m,y:h}=Wg(g,x,f)),b=-1)}return{x:m,y:h,placement:x,strategy:l,middlewareData:k}},yS=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:i,placement:l,rects:s,platform:c,elements:d,middlewareData:f}=t,{element:g,padding:m=0}=Ro(e,t)||{};if(g==null)return{};const h=ch(m),x={x:r,y:i},w=Ju(l),k=Yu(w),b=await c.getDimensions(g),B=w==="y",_=B?"top":"left",T=B?"bottom":"right",z=B?"clientHeight":"clientWidth",N=s.reference[k]+s.reference[w]-x[w]-s.floating[k],q=x[w]-s.reference[w],j=await(c.getOffsetParent==null?void 0:c.getOffsetParent(g));let F=j?j[z]:0;(!F||!await(c.isElement==null?void 0:c.isElement(j)))&&(F=d.floating[z]||s.floating[k]);const V=N/2-q/2,$=F/2-b[k]/2-1,ie=Ar(h[_],$),se=Ar(h[T],$),Z=ie,re=F-b[k]-se,oe=F/2-b[k]/2+V,K=hu(Z,oe,re),A=!f.arrow&&_n(l)!=null&&oe!==K&&s.reference[k]/2-(oe<Z?ie:se)-b[k]/2<0,ae=A?oe<Z?oe-Z:oe-re:0;return{[w]:x[w]+ae,data:{[w]:K,centerOffset:oe-K-ae,...A&&{alignmentOffset:ae}},reset:A}}}),wS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,i;const{placement:l,middlewareData:s,rects:c,initialPlacement:d,platform:f,elements:g}=t,{mainAxis:m=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:b=!0,...B}=Ro(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const _=Do(l),T=yo(d),z=Do(d)===d,N=await(f.isRTL==null?void 0:f.isRTL(g.floating)),q=x||(z||!b?[xl(d)]:dS(d)),j=k!=="none";!x&&j&&q.push(...vS(d,b,k,N));const F=[d,...q],V=await f.detectOverflow(t,B),$=[];let ie=((i=s.flip)==null?void 0:i.overflows)||[];if(m&&$.push(V[_]),h){const oe=uS(l,c,N);$.push(V[oe[0]],V[oe[1]])}if(ie=[...ie,{placement:l,overflows:$}],!$.every(oe=>oe<=0)){var se,Z;const oe=(((se=s.flip)==null?void 0:se.index)||0)+1,K=F[oe];if(K&&(!(h==="alignment"?T!==yo(K):!1)||ie.every(D=>yo(D.placement)===T?D.overflows[0]>0:!0)))return{data:{index:oe,overflows:ie},reset:{placement:K}};let A=(Z=ie.filter(ae=>ae.overflows[0]<=0).sort((ae,D)=>ae.overflows[1]-D.overflows[1])[0])==null?void 0:Z.placement;if(!A)switch(w){case"bestFit":{var re;const ae=(re=ie.filter(D=>{if(j){const W=yo(D.placement);return W===T||W==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(W=>W>0).reduce((W,U)=>W+U,0)]).sort((D,W)=>D[1]-W[1])[0])==null?void 0:re[0];ae&&(A=ae);break}case"initialPlacement":A=d;break}if(l!==A)return{reset:{placement:A}}}return{}}}};function Ug(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $g(e){return sS.some(t=>e[t]>=0)}const kS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:i}=t,{strategy:l="referenceHidden",...s}=Ro(e,t);switch(l){case"referenceHidden":{const c=await i.detectOverflow(t,{...s,elementContext:"reference"}),d=Ug(c,r.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:$g(d)}}}case"escaped":{const c=await i.detectOverflow(t,{...s,altBoundary:!0}),d=Ug(c,r.floating);return{data:{escapedOffsets:d,escaped:$g(d)}}}default:return{}}}}},dh=new Set(["left","top"]);async function xS(e,t){const{placement:r,platform:i,elements:l}=e,s=await(i.isRTL==null?void 0:i.isRTL(l.floating)),c=Do(r),d=_n(r),f=yo(r)==="y",g=dh.has(c)?-1:1,m=s&&f?-1:1,h=Ro(t,e);let{mainAxis:x,crossAxis:w,alignmentAxis:k}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return d&&typeof k=="number"&&(w=d==="end"?k*-1:k),f?{x:w*m,y:x*g}:{x:x*g,y:w*m}}const BS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,i;const{x:l,y:s,placement:c,middlewareData:d}=t,f=await xS(t,e);return c===((r=d.offset)==null?void 0:r.placement)&&(i=d.arrow)!=null&&i.alignmentOffset?{}:{x:l+f.x,y:s+f.y,data:{...f,placement:c}}}}},SS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:i,placement:l,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:f={fn:_=>{let{x:T,y:z}=_;return{x:T,y:z}}},...g}=Ro(e,t),m={x:r,y:i},h=await s.detectOverflow(t,g),x=yo(Do(l)),w=Qu(x);let k=m[w],b=m[x];if(c){const _=w==="y"?"top":"left",T=w==="y"?"bottom":"right",z=k+h[_],N=k-h[T];k=hu(z,k,N)}if(d){const _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",z=b+h[_],N=b-h[T];b=hu(z,b,N)}const B=f.fn({...t,[w]:k,[x]:b});return{...B,data:{x:B.x-r,y:B.y-i,enabled:{[w]:c,[x]:d}}}}}},zS=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:i,placement:l,rects:s,middlewareData:c}=t,{offset:d=0,mainAxis:f=!0,crossAxis:g=!0}=Ro(e,t),m={x:r,y:i},h=yo(l),x=Qu(h);let w=m[x],k=m[h];const b=Ro(d,t),B=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(f){const z=x==="y"?"height":"width",N=s.reference[x]-s.floating[z]+B.mainAxis,q=s.reference[x]+s.reference[z]-B.mainAxis;w<N?w=N:w>q&&(w=q)}if(g){var _,T;const z=x==="y"?"width":"height",N=dh.has(Do(l)),q=s.reference[h]-s.floating[z]+(N&&((_=c.offset)==null?void 0:_[h])||0)+(N?0:B.crossAxis),j=s.reference[h]+s.reference[z]+(N?0:((T=c.offset)==null?void 0:T[h])||0)-(N?B.crossAxis:0);k<q?k=q:k>j&&(k=j)}return{[x]:w,[h]:k}}}},_S=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,i;const{placement:l,rects:s,platform:c,elements:d}=t,{apply:f=()=>{},...g}=Ro(e,t),m=await c.detectOverflow(t,g),h=Do(l),x=_n(l),w=yo(l)==="y",{width:k,height:b}=s.floating;let B,_;h==="top"||h==="bottom"?(B=h,_=x===(await(c.isRTL==null?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(_=h,B=x==="end"?"top":"bottom");const T=b-m.top-m.bottom,z=k-m.left-m.right,N=Ar(b-m[B],T),q=Ar(k-m[_],z),j=!t.middlewareData.shift;let F=N,V=q;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(V=z),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(F=T),j&&!x){const ie=Kt(m.left,0),se=Kt(m.right,0),Z=Kt(m.top,0),re=Kt(m.bottom,0);w?V=k-2*(ie!==0||se!==0?ie+se:Kt(m.left,m.right)):F=b-2*(Z!==0||re!==0?Z+re:Kt(m.top,m.bottom))}await f({...t,availableWidth:V,availableHeight:F});const $=await c.getDimensions(d.floating);return k!==$.width||b!==$.height?{reset:{rects:!0}}:{}}}};function Fl(){return typeof window<"u"}function Nn(e){return fh(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Fo(e){var t;return(t=(fh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fh(e){return Fl()?e instanceof Node||e instanceof It(e).Node:!1}function so(e){return Fl()?e instanceof Element||e instanceof It(e).Element:!1}function Io(e){return Fl()?e instanceof HTMLElement||e instanceof It(e).HTMLElement:!1}function Xg(e){return!Fl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function Vi(e){const{overflow:t,overflowX:r,overflowY:i,display:l}=co(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&l!=="inline"&&l!=="contents"}function NS(e){return/^(table|td|th)$/.test(Nn(e))}function Il(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const CS=/transform|translate|scale|rotate|perspective|filter/,TS=/paint|layout|strict|content/,Pr=e=>!!e&&e!=="none";let Gc;function Zu(e){const t=so(e)?co(e):e;return Pr(t.transform)||Pr(t.translate)||Pr(t.scale)||Pr(t.rotate)||Pr(t.perspective)||!ed()&&(Pr(t.backdropFilter)||Pr(t.filter))||CS.test(t.willChange||"")||TS.test(t.contain||"")}function jS(e){let t=pr(e);for(;Io(t)&&!Bn(t);){if(Zu(t))return t;if(Il(t))return null;t=pr(t)}return null}function ed(){return Gc==null&&(Gc=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Gc}function Bn(e){return/^(html|body|#document)$/.test(Nn(e))}function co(e){return It(e).getComputedStyle(e)}function Ml(e){return so(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function pr(e){if(Nn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xg(e)&&e.host||Fo(e);return Xg(t)?t.host:t}function ph(e){const t=pr(e);return Bn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Io(t)&&Vi(t)?t:ph(t)}function gh(e,t,r){var i;t===void 0&&(t=[]);const l=ph(e),s=l===((i=e.ownerDocument)==null?void 0:i.body),c=It(l);return s?(yu(c),t.concat(c,c.visualViewport||[],Vi(l)?l:[],[])):t.concat(l,gh(l,[]))}function yu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vh(e){const t=co(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const l=Io(e),s=l?e.offsetWidth:r,c=l?e.offsetHeight:i,d=kl(r)!==s||kl(i)!==c;return d&&(r=s,i=c),{width:r,height:i,$:d}}function mh(e){return so(e)?e:e.contextElement}function yn(e){const t=mh(e);if(!Io(t))return wo(1);const r=t.getBoundingClientRect(),{width:i,height:l,$:s}=vh(t);let c=(s?kl(r.width):r.width)/i,d=(s?kl(r.height):r.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}const qS=wo(0);function hh(e){const t=It(e);return!ed()||!t.visualViewport?qS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ES(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==It(e)?!1:t}function Ci(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const l=e.getBoundingClientRect(),s=mh(e);let c=wo(1);t&&(i?so(i)&&(c=yn(i)):c=yn(e));const d=ES(s,r,i)?hh(s):wo(0);let f=(l.left+d.x)/c.x,g=(l.top+d.y)/c.y,m=l.width/c.x,h=l.height/c.y;if(s){const x=It(s),w=i&&so(i)?It(i):i;let k=x,b=yu(k);for(;b&&i&&w!==k;){const B=yn(b),_=b.getBoundingClientRect(),T=co(b),z=_.left+(b.clientLeft+parseFloat(T.paddingLeft))*B.x,N=_.top+(b.clientTop+parseFloat(T.paddingTop))*B.y;f*=B.x,g*=B.y,m*=B.x,h*=B.y,f+=z,g+=N,k=It(b),b=yu(k)}}return Bl({width:m,height:h,x:f,y:g})}function Ol(e,t){const r=Ml(e).scrollLeft;return t?t.left+r:Ci(Fo(e)).left+r}function bh(e,t){const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-Ol(e,r),l=r.top+t.scrollTop;return{x:i,y:l}}function RS(e){let{elements:t,rect:r,offsetParent:i,strategy:l}=e;const s=l==="fixed",c=Fo(i),d=t?Il(t.floating):!1;if(i===c||d&&s)return r;let f={scrollLeft:0,scrollTop:0},g=wo(1);const m=wo(0),h=Io(i);if((h||!h&&!s)&&((Nn(i)!=="body"||Vi(c))&&(f=Ml(i)),h)){const w=Ci(i);g=yn(i),m.x=w.x+i.clientLeft,m.y=w.y+i.clientTop}const x=c&&!h&&!s?bh(c,f):wo(0);return{width:r.width*g.x,height:r.height*g.y,x:r.x*g.x-f.scrollLeft*g.x+m.x+x.x,y:r.y*g.y-f.scrollTop*g.y+m.y+x.y}}function DS(e){return Array.from(e.getClientRects())}function PS(e){const t=Fo(e),r=Ml(e),i=e.ownerDocument.body,l=Kt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=Kt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let c=-r.scrollLeft+Ol(e);const d=-r.scrollTop;return co(i).direction==="rtl"&&(c+=Kt(t.clientWidth,i.clientWidth)-l),{width:l,height:s,x:c,y:d}}const Gg=25;function FS(e,t){const r=It(e),i=Fo(e),l=r.visualViewport;let s=i.clientWidth,c=i.clientHeight,d=0,f=0;if(l){s=l.width,c=l.height;const m=ed();(!m||m&&t==="fixed")&&(d=l.offsetLeft,f=l.offsetTop)}const g=Ol(i);if(g<=0){const m=i.ownerDocument,h=m.body,x=getComputedStyle(h),w=m.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,k=Math.abs(i.clientWidth-h.clientWidth-w);k<=Gg&&(s-=k)}else g<=Gg&&(s+=g);return{width:s,height:c,x:d,y:f}}function IS(e,t){const r=Ci(e,!0,t==="fixed"),i=r.top+e.clientTop,l=r.left+e.clientLeft,s=Io(e)?yn(e):wo(1),c=e.clientWidth*s.x,d=e.clientHeight*s.y,f=l*s.x,g=i*s.y;return{width:c,height:d,x:f,y:g}}function Kg(e,t,r){let i;if(t==="viewport")i=FS(e,r);else if(t==="document")i=PS(Fo(e));else if(so(t))i=IS(t,r);else{const l=hh(e);i={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return Bl(i)}function yh(e,t){const r=pr(e);return r===t||!so(r)||Bn(r)?!1:co(r).position==="fixed"||yh(r,t)}function MS(e,t){const r=t.get(e);if(r)return r;let i=gh(e,[]).filter(d=>so(d)&&Nn(d)!=="body"),l=null;const s=co(e).position==="fixed";let c=s?pr(e):e;for(;so(c)&&!Bn(c);){const d=co(c),f=Zu(c);!f&&d.position==="fixed"&&(l=null),(s?!f&&!l:!f&&d.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||Vi(c)&&!f&&yh(e,c))?i=i.filter(m=>m!==c):l=d,c=pr(c)}return t.set(e,i),i}function OS(e){let{element:t,boundary:r,rootBoundary:i,strategy:l}=e;const c=[...r==="clippingAncestors"?Il(t)?[]:MS(t,this._c):[].concat(r),i],d=Kg(t,c[0],l);let f=d.top,g=d.right,m=d.bottom,h=d.left;for(let x=1;x<c.length;x++){const w=Kg(t,c[x],l);f=Kt(w.top,f),g=Ar(w.right,g),m=Ar(w.bottom,m),h=Kt(w.left,h)}return{width:g-h,height:m-f,x:h,y:f}}function AS(e){const{width:t,height:r}=vh(e);return{width:t,height:r}}function HS(e,t,r){const i=Io(t),l=Fo(t),s=r==="fixed",c=Ci(e,!0,s,t);let d={scrollLeft:0,scrollTop:0};const f=wo(0);function g(){f.x=Ol(l)}if(i||!i&&!s)if((Nn(t)!=="body"||Vi(l))&&(d=Ml(t)),i){const w=Ci(t,!0,s,t);f.x=w.x+t.clientLeft,f.y=w.y+t.clientTop}else l&&g();s&&!i&&l&&g();const m=l&&!i&&!s?bh(l,d):wo(0),h=c.left+d.scrollLeft-f.x-m.x,x=c.top+d.scrollTop-f.y-m.y;return{x:h,y:x,width:c.width,height:c.height}}function Kc(e){return co(e).position==="static"}function Qg(e,t){if(!Io(e)||co(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Fo(e)===r&&(r=r.ownerDocument.body),r}function wh(e,t){const r=It(e);if(Il(e))return r;if(!Io(e)){let l=pr(e);for(;l&&!Bn(l);){if(so(l)&&!Kc(l))return l;l=pr(l)}return r}let i=Qg(e,t);for(;i&&NS(i)&&Kc(i);)i=Qg(i,t);return i&&Bn(i)&&Kc(i)&&!Zu(i)?r:i||jS(e)||r}const LS=async function(e){const t=this.getOffsetParent||wh,r=this.getDimensions,i=await r(e.floating);return{reference:HS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function VS(e){return co(e).direction==="rtl"}const WS={convertOffsetParentRelativeRectToViewportRelativeRect:RS,getDocumentElement:Fo,getClippingRect:OS,getOffsetParent:wh,getElementRects:LS,getClientRects:DS,getDimensions:AS,getScale:yn,isElement:so,isRTL:VS},US=uh,$S=BS,XS=SS,GS=wS,KS=_S,Yg=kS,QS=yS,Jg=zS,YS=(e,t,r)=>{const i=new Map,l={platform:WS,...r},s={...l.platform,_c:i};return bS(e,t,{...l,platform:s})};function kh(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const JS=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,ZS=e=>{var t;if(e.nodeType!==1)return{};const r=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}},Al=e=>{const t=e&&JS(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:i,overflowY:l}=ZS(t);return/(auto|scroll|overlay)/.test(r+l+i)?t:Al(t)},e2=e=>{var t;const r=Al(e);return r?r!==((t=r.ownerDocument)===null||t===void 0?void 0:t.body):!1};function td(e,t){if(t==="window")return e?.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let r=Al(e);return r.nodeName==="BODY"&&(r=e?.ownerDocument.documentElement),r}return t}function xh(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?Qc(e,t):typeof e=="function"?r=>{const i=e(r);return Qc(i,t)}:{mainAxis:t}}const Qc=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var r;return{...e,mainAxis:((r=e.mainAxis)!==null&&r!==void 0?r:0)+t}};function Bh(e,t){if(typeof e=="number")return e;const{start:r,end:i,...l}=e,s=l,c=t?"end":"start",d=t?"start":"end";return e[c]&&(s.left=e[c]),e[d]&&(s.right=e[d]),s}const t2=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),o2=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),r2=(e,t)=>{const r=e==="above"||e==="below",i=t==="top"||t==="bottom";return r&&i||!r&&!i},Sh=(e,t,r)=>{const i=r2(t,e)?"center":e,l=t&&t2(r)[t],s=i&&o2()[i];return l&&s?`${l}-${s}`:l},n2=()=>({top:"above",bottom:"below",right:"after",left:"before"}),i2=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},a2=e=>{const{side:t,alignment:r}=kh(e),i=n2()[t],l=r&&i2(i)[r];return{position:i,alignment:l}},l2={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 Cn(e){return e==null?{}:typeof e=="string"?l2[e]:e}function Yc(e,t,r){const i=y.useRef(!0),[l]=y.useState(()=>({value:e,callback:t,facade:{get current(){return l.value},set current(s){const c=l.value;c!==s&&(l.value=s,l.callback(s,c))}}}));return We(()=>{i.current=!1},[]),l.callback=t,l.facade}function s2(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}function c2(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:i,y:l}=r.arrow;Object.assign(t.style,{left:i!=null?`${i}px`:"",top:l!=null?`${l}px`:""})}function u2(e){var t,r,i;const{container:l,placement:s,middlewareData:c,strategy:d,lowPPI:f,coordinates:g,useTransform:m=!0}=e;if(!l)return;l.setAttribute(nS,s),l.removeAttribute(Og),c.intersectionObserver.intersecting&&l.setAttribute(Og,""),l.removeAttribute(Ag),!((t=c.hide)===null||t===void 0)&&t.escaped&&l.setAttribute(Ag,""),l.removeAttribute(Hg),!((r=c.hide)===null||r===void 0)&&r.referenceHidden&&l.setAttribute(Hg,"");const h=((i=l.ownerDocument.defaultView)===null||i===void 0?void 0:i.devicePixelRatio)||1,x=Math.round(g.x*h)/h,w=Math.round(g.y*h)/h;if(Object.assign(l.style,{position:d}),m){Object.assign(l.style,{transform:f?`translate(${x}px, ${w}px)`:`translate3d(${x}px, ${w}px, 0)`});return}Object.assign(l.style,{left:`${x}px`,top:`${w}px`})}const d2=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}};function Zg(e){const t=[];let r=e;for(;r;){const i=Al(r);if(e.ownerDocument.body===i){t.push(i);break}if(i.nodeName==="BODY"&&i!==e.ownerDocument.body)break;t.push(i),r=i}return t}function f2(e,t){return new e.ResizeObserver(t)}function p2(e){let t=!1;const{container:r,target:i,arrow:l,strategy:s,middleware:c,placement:d,useTransform:f=!0,disableUpdateOnResize:g=!1}=e,m=r.ownerDocument.defaultView;if(!i||!r||!m)return{updatePosition:()=>{},dispose:()=>{}};const h=g?null:f2(m,_=>{_.every(z=>z.contentRect.width>0&&z.contentRect.height>0)&&b()});let x=!0;const w=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{t||(x&&(Zg(r).forEach(_=>w.add(_)),Mt(i)&&Zg(i).forEach(_=>w.add(_)),w.forEach(_=>{_.addEventListener("scroll",b,{passive:!0})}),h?.observe(r),Mt(i)&&h?.observe(i),x=!1),Object.assign(r.style,{position:s}),YS(i,r,{placement:d,middleware:c,strategy:s}).then(({x:_,y:T,middlewareData:z,placement:N})=>{t||(c2({arrow:l,middlewareData:z}),u2({container:r,middlewareData:z,placement:N,coordinates:{x:_,y:T},lowPPI:(m?.devicePixelRatio||1)<=1,strategy:s,useTransform:f}),r.dispatchEvent(new CustomEvent(mu,{detail:{placement:N}})))}).catch(_=>{}))},b=s2(()=>k()),B=()=>{t=!0,m&&(m.removeEventListener("scroll",b),m.removeEventListener("resize",b)),w.forEach(_=>{_.removeEventListener("scroll",b)}),w.clear(),h?.disconnect()};return m&&(m.addEventListener("scroll",b,{passive:!0}),m.addEventListener("resize",b)),b(),{updatePosition:b,dispose:B}}function g2(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:i,y:l}=e,s=kh(t).side,c={x:i,y:l};switch(s){case"bottom":c.y-=r.reference.height;break;case"top":c.y+=r.reference.height;break;case"left":c.x+=r.reference.width;break;case"right":c.x-=r.reference.width;break}return c}}}function v2(e){const{hasScrollableElement:t,flipBoundary:r,container:i,fallbackPositions:l=[],isRtl:s}=e,c=l.reduce((d,f)=>{const{position:g,align:m}=Cn(f),h=Sh(m,g,s);return h&&d.push(h),d},[]);return GS({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:td(i,r)},fallbackStrategy:"bestFit",...c.length&&{fallbackPlacements:c}})}function m2(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await US(e,{altBoundary:!0}),i=r.top<t.height&&r.top>0,l=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:i||l}}}}}const h2=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var i;if(!((i=t.resetMaxSize)===null||i===void 0)&&i.maxSizeAlreadyReset)return{};const{applyMaxWidth:l,applyMaxHeight:s}=e;return l&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),s&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function b2(e,t){const{container:r,overflowBoundary:i,overflowBoundaryPadding:l,isRtl:s}=t;return KS({...l&&{padding:Bh(l,s)},...i&&{altBoundary:!0,boundary:td(r,i)},apply({availableHeight:c,availableWidth:d,elements:f,rects:g}){const m=(w,k,b)=>{if(w&&(f.floating.style.setProperty("box-sizing","border-box"),f.floating.style.setProperty(`max-${k}`,`${b}px`),g.floating[k]>b)){f.floating.style.setProperty(k,`${b}px`);const B=k==="width"?"x":"y";f.floating.style.getPropertyValue(`overflow-${B}`)||f.floating.style.setProperty(`overflow-${B}`,"auto")}},{applyMaxWidth:h,applyMaxHeight:x}=e;m(h,"width",d),m(x,"height",c)}})}function y2(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:r},placement:i})=>{const{position:l,alignment:s}=a2(i);return e({positionedRect:t,targetRect:r,position:l,alignment:s})}}function w2(e){const t=y2(e);return $S(t)}function k2(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:i,overflowBoundary:l,container:s,overflowBoundaryPadding:c,isRtl:d}=e;return XS({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:Jg({crossAxis:!0,mainAxis:!1})},...i&&{crossAxis:i==="all",limiter:Jg({crossAxis:i!=="all",mainAxis:!1})},...c&&{padding:Bh(c,d)},...l&&{altBoundary:!0,boundary:td(s,l)}})}const ev="--fui-match-target-size";function x2(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:i},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:l=!1}={}}}=e;if(t.width===r.width||l)return{};const{width:s}=t;return i.style.setProperty(ev,`${s}px`),i.style.width||(i.style.width=`var(${ev})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function B2(e,t){const{align:r,arrowPadding:i,autoSize:l,coverTarget:s,disableUpdateOnResize:c,flipBoundary:d,offset:f,overflowBoundary:g,pinned:m,position:h,unstable_disableTether:x,strategy:w,overflowBoundaryPadding:k,fallbackPositions:b,useTransform:B,matchTargetSize:_,shiftToCoverTarget:T}=t;return y.useCallback((z,N)=>e({container:z,arrow:N,options:{autoSize:l,disableUpdateOnResize:c,matchTargetSize:_,offset:f,strategy:w,coverTarget:s,flipBoundary:d,overflowBoundary:g,useTransform:B,overflowBoundaryPadding:k,pinned:m,arrowPadding:i,align:r,fallbackPositions:b,shiftToCoverTarget:T,position:h,unstable_disableTether:x}}),[l,c,_,f,w,s,d,g,B,k,m,i,r,b,T,h,x,e])}function S2(e){const{dir:t,targetDocument:r}=Te(),i=t==="rtl",l=B2(lS(),e),{positionFixed:s}=e;return y.useCallback((c,d)=>{const f=e2(c),g=l(c,d),{autoSize:m,disableUpdateOnResize:h,matchTargetSize:x,offset:w,coverTarget:k,flipBoundary:b,overflowBoundary:B,useTransform:_,overflowBoundaryPadding:T,pinned:z,position:N,arrowPadding:q,strategy:j,align:F,fallbackPositions:V,shiftToCoverTarget:$,unstable_disableTether:ie}=g,se=d2(m),Z=[se&&h2(se),x&&x2(),w&&w2(w),k&&g2(),!z&&v2({container:c,flipBoundary:b,hasScrollableElement:f,isRtl:i,fallbackPositions:V}),k2({container:c,hasScrollableElement:f,overflowBoundary:B,disableTether:ie,overflowBoundaryPadding:T,isRtl:i,shiftToCoverTarget:$}),se&&b2(se,{container:c,overflowBoundary:B,overflowBoundaryPadding:T,isRtl:i}),m2(),d&&QS({element:d,padding:q}),Yg({strategy:"referenceHidden"}),Yg({strategy:"escaped"}),!1].filter(Boolean);return{placement:Sh(F,N,i),middleware:Z,strategy:j??s?"fixed":"absolute",disableUpdateOnResize:h,useTransform:_}},[l,i,r,s])}function Hl(e){"use no memo";const t=y.useRef(null),r=y.useRef(null),i=y.useRef(null),l=y.useRef(null),s=y.useRef(null),{enabled:c=!0}=e,d=S2(e),f=y.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var k;const b=(k=i.current)!==null&&k!==void 0?k:r.current;c&&zl()&&b&&l.current&&(t.current=p2({container:l.current,target:b,arrow:s.current,...d(l.current,s.current)}))},[c,d]),g=te(k=>{i.current=k,f()});y.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=t.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,g(k)}}),[e.target,g]),We(()=>{var k;g((k=e.target)!==null&&k!==void 0?k:null)},[e.target,g]),We(()=>{f()},[f]);const m=Yc(null,k=>{r.current!==k&&(r.current=k,f())}),h=te(k=>{var b;return(b=e.onPositioningEnd)===null||b===void 0?void 0:b.call(e,k)}),x=Yc(null,k=>{if(l.current!==k){var b;(b=l.current)===null||b===void 0||b.removeEventListener(mu,h),k?.addEventListener(mu,h),l.current=k,f()}}),w=Yc(null,k=>{s.current!==k&&(s.current=k,f())});return{targetRef:m,containerRef:x,arrowRef:w}}const zh=e=>{const[t,r]=y.useState(e);return[t,l=>{if(l==null){r(void 0);return}let s;l instanceof MouseEvent?s=l:s=l.nativeEvent;const c=rS(s);r(c)}]};function z2(){let e=!1;const t=[];return{isActive(){return e},toggleActive(r){e!==r&&(e=r,t.forEach(i=>i(e)))},subscribe(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}}}var Jc={exports:{}},Zc={};var tv;function _2(){if(tv)return Zc;tv=1;var e=Mv();function t(h,x){return h===x&&(h!==0||1/h===1/x)||h!==h&&x!==x}var r=typeof Object.is=="function"?Object.is:t,i=e.useState,l=e.useEffect,s=e.useLayoutEffect,c=e.useDebugValue;function d(h,x){var w=x(),k=i({inst:{value:w,getSnapshot:x}}),b=k[0].inst,B=k[1];return s(function(){b.value=w,b.getSnapshot=x,f(b)&&B({inst:b})},[h,w,x]),l(function(){return f(b)&&B({inst:b}),h(function(){f(b)&&B({inst:b})})},[h]),c(w),w}function f(h){var x=h.getSnapshot;h=h.value;try{var w=x();return!r(h,w)}catch{return!0}}function g(h,x){return x()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:d;return Zc.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Zc}var ov;function N2(){return ov||(ov=1,Jc.exports=_2()),Jc.exports}var C2=N2();function rv(e,t){return{topLeft:[e.left-t[0],e.top-t[1]],topRight:[e.right-t[0],e.top-t[1]],bottomRight:[e.right-t[0],e.bottom-t[1]],bottomLeft:[e.left-t[0],e.bottom-t[1]]}}const nv=20;function _h(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function T2(e,t){const r=_h(e,t);return r===0?[0,0]:[(e[0]-t[0])/r,(e[1]-t[1])/r]}function j2(e,t,r){const i=[(e[0]+t[0])/2,(e[1]+t[1])/2],l=T2([r[0],r[1]],[i[0],i[1]]),s=_h([i[0],i[1]],[r[0],r[1]]);return[i[0]+l[0]*(s+nv),i[1]+l[1]*(s+nv)]}function el(e){return`M ${e} z`}const q2=G({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function iv(e){if(e.width<=0||e.height<=0)return"";let t="";return t+=`M ${e.x},${e.y} `,t+=`V ${e.y+e.height} `,t+=`H ${e.x+e.width} `,t+=`V ${e.y} `,t+=`H ${e.x} `,t+="Z ",t}function E2(e,t,r,i){let l=`M 0,0 H ${e} V ${t} H 0 Z `;return l+=iv(r),l+=iv(i),l}const av={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON(){return""}};function lv(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left&&e.width===t.width&&e.height===t.height}function R2(e,t){return e[0]===t[0]&&e[1]===t[1]}const D2=y.memo(e=>{const{debug:t,onMouseEnter:r,onMouseMove:i,onMouseLeave:l,stateStore:s}=e,c=st(),d=q2(),f=C2.useSyncExternalStore(s.subscribe,s.isActive),g=y.useRef(null),[m,h]=y.useState(()=>({containerRect:av,targetRect:av,mouseCoordinates:[0,0]}));y.useImperativeHandle(e.imperativeRef,()=>({updateSVG(oe){h(K=>lv(K.containerRect,oe.containerRect)&&lv(K.targetRect,oe.targetRect)&&R2(K.mouseCoordinates,oe.mouseCoordinates)?K:oe)}}),[]);const{containerRect:x,targetRect:w,mouseCoordinates:k}=m,b=Math.min(w.top,x.top),B=Math.min(w.left,x.left),_=Math.max(w.bottom,x.bottom),T=Math.max(w.right,x.right),z=rv(x,[B,b]),N=rv(w,[B,b]),q=[k[0]-B,k[1]-b],j=j2(z.topLeft,z.bottomRight,q),F=[j,z.topLeft,z.topRight],V=[j,z.topRight,z.bottomRight],$=[j,z.bottomRight,z.bottomLeft],ie=[j,z.bottomLeft,z.topLeft],se=T-B,Z=_-b,re=E2(se,Z,{x:N.topLeft[0],y:N.topLeft[1],width:w.width,height:w.height},{x:z.topLeft[0],y:z.topLeft[1],width:x.width,height:x.height});return y.createElement("div",{className:L(d.wrapper,f&&d.wrapperActive),"data-safe-zone":""},f?y.createElement("svg",{"aria-hidden":!0,className:d.svg,xmlns:"http://www.w3.org/2000/svg",ref:g,style:{width:`${se}px`,height:`${Z}px`,transform:`translate(${B}px, ${b}px)`}},y.createElement("g",{className:L(d.triangle,t&&d.triangleDebug),clipPath:`url(#${c})`,onMouseEnter:r,onMouseMove:i,onMouseLeave:l},y.createElement("path",{d:el(F)}),y.createElement("path",{d:el(V)}),y.createElement("path",{d:el($)}),y.createElement("path",{d:el(ie)})),y.createElement("clipPath",{id:c},y.createElement("path",{d:re})),t&&y.createElement("path",{className:d.rectDebug,d:re})):null)}),P2=2e3;function F2({debug:e=!1,disabled:t=!1,onSafeZoneEnter:r,onSafeZoneMove:i,onSafeZoneLeave:l,onSafeZoneTimeout:s,timeout:c=1500}={}){const[d]=y.useState(z2),f=y.useRef(null),g=y.useRef(null),m=y.useRef(null),[h,x]=gr(),[w,k]=Bi(),b=y.useRef({x:0,y:0}),B=y.useMemo(()=>{if(t)return()=>{};let q=null;function j(){x(),d.toggleActive(!1)}return F=>{F===null&&q?.removeEventListener("mouseenter",j),q=F,F?.addEventListener("mouseenter",j)}},[x,t,d]),_=y.useMemo(()=>{if(t)return()=>{};let q=null;function j(F){b.current={x:F.clientX,y:F.clientY},d.isActive()||d.toggleActive(!0),h(()=>{d.toggleActive(!1)},P2)}return F=>{F===null&&(k(),x(),q?.removeEventListener("mousemove",j)),q=F,F?.addEventListener("mousemove",j)}},[k,x,t,d,h]),T=te(q=>{r?.(q),h(()=>{d.toggleActive(!1),s?.()},c)}),z=te(q=>{h(()=>{d.toggleActive(!1),s?.()},c),i?.(q)}),N=te(q=>{l?.(q)});return y.useEffect(()=>d.subscribe(q=>{if(q){let j=function(){const F=g.current,V=m.current;if(F&&V){var $;($=f.current)===null||$===void 0||$.updateSVG({containerRect:F.getBoundingClientRect(),mouseCoordinates:[b.current.x,b.current.y],targetRect:V.getBoundingClientRect()})}w(j)};j();return}k()}),[k,w,d]),{containerRef:Ne(g,B),targetRef:Ne(m,_),elementToRender:y.useMemo(()=>t?null:y.createElement(D2,{debug:e,onMouseEnter:T,onMouseMove:z,onMouseLeave:N,imperativeRef:f,stateStore:d}),[t,e,T,z,N,d])}}const od=hr(void 0),Nh={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};od.Provider;const ft=e=>Lr(od,(t=Nh)=>e(t)),I2=(e,t)=>{const r=ft(c=>c.size),i=ft(c=>c.appearance),l=Rl(),s=M2(e,Ne(t,l));return{appearance:i,size:r,...s}},M2=(e,t)=>{const r=ft(B=>B.contentRef),i=ft(B=>B.openOnHover),l=ft(B=>B.setOpen),s=ft(B=>B.mountNode),c=ft(B=>B.arrowRef),d=ft(B=>B.withArrow),f=ft(B=>B.trapFocus),g=ft(B=>B.inertTrapFocus),m=ft(B=>B.inline),{modalAttributes:h}=El({trapFocus:f,legacyTrapFocus:!g,alwaysFocusable:!f}),x={inline:m,withArrow:d,arrowRef:c,mountNode:s,components:{root:"div"},root:ue({ref:Ne(t,r),role:f?"dialog":"group","aria-modal":f?!0:void 0,...h,...e},{elementType:"div"})},{onMouseEnter:w,onMouseLeave:k,onKeyDown:b}=x.root;return x.root.onMouseEnter=B=>{i&&l(B,!0),w?.(B)},x.root.onMouseLeave=B=>{i&&l(B,!1),k?.(B)},x.root.onKeyDown=B=>{var _;B.key==="Escape"&&(!((_=r.current)===null||_===void 0)&&_.contains(B.target))&&(B.preventDefault(),l(B,!1)),b?.(B)},x};function Ch(e){return Mt(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const O2=vl.useInsertionEffect?vl.useInsertionEffect:We,Th=Symbol.for("fui-portal-style-ref-count"),A2="[data-portal-node]{position:absolute;top:0;left:0;right:0;z-index:1000000}",jh="fui-portal-styles";function qh(e){var t;return(t=e[Th])!==null&&t!==void 0?t:0}function wu(e,t){e[Th]=t}function H2(e){var t;const r=qh(e);if(r>0){wu(e,r+1);return}const i=e.createElement("style");i.id=jh,e.head.prepend(i),(t=i.sheet)===null||t===void 0||t.insertRule(A2),wu(e,1)}function L2(e){const t=qh(e);if(t===0)return;const r=t-1;if(r===0){var i;(i=e.head.querySelector(`#${jh}`))===null||i===void 0||i.remove()}wu(e,r)}function V2(e){const{targetDocument:t}=Te();O2(()=>{if(!(e||!t))return H2(t),()=>L2(t)},[e,t])}const Eh=vl.useInsertionEffect,W2=e=>{"use no memo";const{className:t,dir:r,focusVisibleRef:i,targetNode:l}=e,s=y.useMemo(()=>{if(l===void 0||e.disabled)return null;const c=l.ownerDocument.createElement("div");return l.appendChild(c),c},[l,e.disabled]);return y.useMemo(()=>{s&&(s.className=t,s.setAttribute("dir",r),s.setAttribute("data-portal-node","true"),i.current=s)},[t,r,s,i]),y.useEffect(()=>()=>{s?.remove()},[s]),s},U2=()=>{let e;function t(i,l){return e||(l&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function r(){e&&(e.remove(),e=void 0)}return{get:t,dispose:r}},$2=e=>{"use no memo";const{className:t,dir:r,focusVisibleRef:i,targetNode:l}=e,[s]=y.useState(U2),c=y.useMemo(()=>l===void 0||e.disabled?null:new Proxy({},{get(d,f){if(f==="nodeType")return 1;if(f==="remove"){const h=s.get(l,!1);return h&&h.childNodes.length===0&&s.dispose(),()=>{}}const g=s.get(l,!0),m=g?g[f]:void 0;return typeof m=="function"?m.bind(g):m},set(d,f,g){const m=f==="_virtual"||f==="focusVisible",h=m?s.get(l,!1):s.get(l,!0);return m&&!h?!0:h?(Object.assign(h,{[f]:g}),!0):!1}}),[s,l,e.disabled]);return Eh(()=>{if(c)return c.setAttribute("class",t),c.setAttribute("dir",r),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.removeAttribute("class"),c.removeAttribute("dir")}},[t,r,c,i]),y.useEffect(()=>()=>{c?.remove()},[c]),c},X2=Eh?$2:W2,G2=e=>{"use no memo";const{targetDocument:t,dir:r}=Te(),i=Qy(),l=Au(),s=Hy(),c={dir:r,disabled:e.disabled,focusVisibleRef:l,className:[s,e.className].filter(Boolean).join(" "),targetNode:i??t?.body};return V2(e.disabled),X2(c)},K2=e=>{const{element:t,className:r}=Ch(e.mountNode),i=y.useRef(null),l=G2({disabled:!!t,className:r}),s=t??l,c={children:e.children,mountNode:s,virtualParentRootRef:i};return y.useEffect(()=>{if(!s)return;const d=i.current,f=s.contains(d);if(d&&!f)return fg(s,d),()=>{fg(s,void 0)}},[i,s]),c};var ku=ay();const Q2=e=>y.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&ku.createPortal(y.createElement(y.Fragment,null,e.children,y.createElement("span",{hidden:!0})),e.mountNode)),Vr=e=>{const t=K2(e);return Q2(t)};Vr.displayName="Portal";const Y2=e=>{const t=Ce(e.root,{children:[e.withArrow&&H("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:H(Vr,{mountNode:e.mountNode,children:t})},J2={root:"fui-PopoverSurface"},Z2={small:6,medium:8,large:8},ez=G({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",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",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",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:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{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);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".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;}']}),tz=e=>{"use no memo";const t=ez();return e.root.className=L(J2.root,t.root,e.inline&&t.inline,e.size==="small"&&t.smallPadding,e.size==="medium"&&t.mediumPadding,e.size==="large"&&t.largePadding,e.appearance==="inverted"&&t.inverted,e.appearance==="brand"&&t.brand,e.root.className),e.arrowClassName=L(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},oz=y.forwardRef((e,t)=>{const r=I2(e,t);return tz(r),Se("usePopoverSurfaceStyles_unstable")(r),Y2(r)});oz.displayName="PopoverSurface";const rz=4,sv=qe.durationSlower,cv=qe.curveDecelerateMid,uv=yr(({distance:e=10})=>({enter:[fr({duration:sv,easing:cv,direction:"enter"}),{...ah({duration:sv,easing:cv,direction:"enter",outX:`calc(var(${yl}, 0px) * ${e})`,outY:`calc(var(${wl}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),nz=e=>{const{appearance:t,size:r="medium"}=e,i=Cn(e.positioning),l=e.withArrow&&!i.coverTarget,{targetDocument:s}=Te(),c=lh({targetDocument:s,onPositioningEnd:i.onPositioningEnd}),d=iz({...e,positioning:{...i,onPositioningEnd:c,...l?{offset:xh(i.offset,Z2[r])}:{}}});return{components:{surfaceMotion:uv},appearance:t,size:r,...d,surfaceMotion:Pl(e.surfaceMotion,{elementType:uv,defaultProps:{visible:d.open,appear:!0,unmountOnExit:!0}})}},iz=e=>{const[t,r]=zh(),i={contextTarget:t,setContextTarget:r,...e},l=y.Children.toArray(e.children);let s,c;l.length===2?(s=l[0],c=l[1]):l.length===1&&(c=l[0]);const[d,f]=az(i),[g,m]=gr(),h=te((q,j)=>{if(m(),!(q instanceof Event)&&q.persist&&q.persist(),q.type==="mouseleave"){var F;g(()=>{f(q,j)},(F=e.mouseLeaveDelay)!==null&&F!==void 0?F:500)}else f(q,j)}),x=y.useCallback(q=>{h(q,!d)},[h,d]),w=lz(i),{targetDocument:k}=Te();var b;_l({contains:Si,element:k,callback:q=>h(q,!1),refs:[w.triggerRef,w.contentRef],disabled:!d,disabledFocusOnIframe:!(!((b=e.closeOnIframeFocus)!==null&&b!==void 0)||b)});const B=i.openOnContext||i.closeOnScroll;lm({contains:Si,element:k,callback:q=>h(q,!1),refs:[w.triggerRef,w.contentRef],disabled:!d||!B});const{findFirstFocusable:_}=vr(),T=vx();y.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const q=w.contentRef.current;if(d&&q){var j;const F=!isNaN((j=q.getAttribute("tabIndex"))!==null&&j!==void 0?j:void 0),V=F?q:_(q);V?.focus(),F&&T(q)}},[_,T,d,w.contentRef,e.unstable_disableAutoFocus]);var z,N;return{...i,...w,inertTrapFocus:(z=e.inertTrapFocus)!==null&&z!==void 0?z:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:s,popoverSurface:c,open:d,setOpen:h,toggleOpen:x,setContextTarget:r,contextTarget:t,inline:(N=e.inline)!==null&&N!==void 0?N:!1}};function az(e){"use no memo";const t=te((c,d)=>{var f;return(f=e.onOpenChange)===null||f===void 0?void 0:f.call(e,c,d)}),[r,i]=wt({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=r!==void 0?r:e.open;const l=e.setContextTarget,s=y.useCallback((c,d)=>{d&&c.type==="contextmenu"&&l(c),d||l(void 0),i(d),t?.(c,{open:d})},[i,t,l]);return[r,s]}function lz(e){"use no memo";const t={position:"above",align:"center",arrowPadding:2*rz,target:e.openOnContext?e.contextTarget:void 0,...Cn(e.positioning)};t.coverTarget&&(e.withArrow=!1);const{targetRef:r,containerRef:i,arrowRef:l}=Hl(t);return{triggerRef:r,contentRef:i,arrowRef:l}}function sz(e){const{appearance:t,arrowRef:r,contentRef:i,inline:l,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:g,size:m,toggleOpen:h,trapFocus:x,triggerRef:w,withArrow:k,inertTrapFocus:b}=e;return{popover:y.useMemo(()=>({appearance:t,arrowRef:r,contentRef:i,inline:l,mountNode:s,open:c,openOnContext:d,openOnHover:f,setOpen:g,size:m,toggleOpen:h,trapFocus:x,triggerRef:w,withArrow:k,inertTrapFocus:b}),[t,r,i,l,s,c,d,f,g,m,h,x,w,k,b])}}const cz=(e,t)=>{var r;return Ce(od.Provider,{value:(r=t?.popover)!==null&&r!==void 0?r:Nh,children:[e.popoverTrigger,e.popoverSurface&&H(e.surfaceMotion,{children:H(Dl,{children:e.popoverSurface})})]})},uz=e=>{const t=nz(e),r=sz(t);return cz(t,r)};uz.displayName="Popover";const dz=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,i=Fi(t),l=ft(z=>z.open),s=ft(z=>z.setOpen),c=ft(z=>z.toggleOpen),d=ft(z=>z.triggerRef),f=ft(z=>z.openOnHover),g=ft(z=>z.openOnContext),{triggerAttributes:m}=El(),h=z=>{g&&(z.preventDefault(),s(z,!0))},x=z=>{g||c(z)},w=z=>{z.key===br&&l&&!z.isDefaultPrevented()&&(s(z,!1),z.preventDefault())},k=z=>{f&&s(z,!0)},b=z=>{f&&s(z,!1)},B={...m,"aria-expanded":`${l}`,...i?.props,onMouseEnter:te(me(i?.props.onMouseEnter,k)),onMouseLeave:te(me(i?.props.onMouseLeave,b)),onContextMenu:te(me(i?.props.onContextMenu,h)),ref:Ne(d,Pi(i))},_={...B,onClick:te(me(i?.props.onClick,x)),onKeyDown:te(me(i?.props.onKeyDown,w))},T=Or(i?.type==="button"||i?.type==="a"?i.type:"div",_);return{children:Nl(e.children,Or(i?.type==="button"||i?.type==="a"?i.type:"div",g?B:r?_:T))}},fz=e=>e.children,Rh=e=>{const t=dz(e);return fz(t)};Rh.displayName="PopoverTrigger";Rh.isFluentTriggerComponent=!0;const pz=6,gz=4,vz=e=>-1,mz=e=>{};function hz(e){const{targetDocument:t}=Te(),r=t?.defaultView,i=r?r.setTimeout:vz,l=r?r.clearTimeout:mz,s=y.useRef(void 0),c=y.useCallback((f,g)=>(s.current!==void 0&&l(s.current),s.current=i(f,g??0),s.current),[l,i]),d=y.useCallback(()=>{s.current!==void 0&&(l(s.current),s.current=void 0)},[l]);return y.useEffect(()=>{const f=e.current;return()=>{(!f||!f.isConnected)&&d()}},[d,e]),[c,d]}const bz=e=>{"use no memo";var t,r,i,l,s,c,d;const f=Wy(),g=iw(),{targetDocument:m}=Te(),[h,x]=wt({state:e.visible,initialState:!1}),{children:w,content:k,withArrow:b=!1,positioning:B="above",onVisibleChange:_,relationship:T,showDelay:z=250,hideDelay:N=250,mountNode:q}=e,j={withArrow:b,positioning:B,showDelay:z,hideDelay:N,relationship:T,visible:h,shouldRenderTooltip:h,mountNode:q,components:{content:"div"},content:ue(k,{defaultProps:{role:"tooltip"},elementType:"div"})};j.content.id=st("tooltip-",j.content.id);const F={enabled:j.visible,arrowPadding:2*gz,position:"above",align:"center",offset:4,...Cn(j.positioning)};j.withArrow&&(F.offset=xh(F.offset,pz));const{targetRef:V,containerRef:$,arrowRef:ie}=Hl(F),[se,Z]=hz($),re=y.useCallback((X,ve)=>{Z(),x(ze=>(ve.visible!==ze&&_?.(X,ve),ve.visible))},[Z,x,_]);j.content.ref=Ne(j.content.ref,$),j.arrowRef=ie,We(()=>{if(h){var X;const ve={hide:le=>re(void 0,{visible:!1,documentKeyboardEvent:le})};(X=f.visibleTooltip)===null||X===void 0||X.hide(),f.visibleTooltip=ve;const ze=le=>{le.key===br&&!le.defaultPrevented&&(ve.hide(le),le.preventDefault())};return m?.addEventListener("keydown",ze,{capture:!0}),()=>{f.visibleTooltip===ve&&(f.visibleTooltip=void 0),m?.removeEventListener("keydown",ze,{capture:!0})}}},[f,m,h,re]);const oe=y.useRef(!1),K=y.useCallback(X=>{if(X.type==="focus"&&oe.current){oe.current=!1;return}const ve=f.visibleTooltip?0:j.showDelay;se(()=>{re(X,{visible:!0})},ve),X.persist()},[se,re,j.showDelay,f]),A=px(),[ae]=y.useState(()=>{const X=ze=>{var le;!((le=ze.detail)===null||le===void 0)&&le.isFocusedProgrammatically&&!A()&&(oe.current=!0)};let ve=null;return ze=>{ve?.removeEventListener(Ot,X),ze?.addEventListener(Ot,X),ve=ze}}),D=y.useCallback(X=>{let ve=j.hideDelay;X.type==="blur"&&(ve=0,oe.current=m?.activeElement===X.target),se(()=>{re(X,{visible:!1})},ve),X.persist()},[se,re,j.hideDelay,m]);j.content.onPointerEnter=me(j.content.onPointerEnter,Z),j.content.onPointerLeave=me(j.content.onPointerLeave,D),j.content.onFocus=me(j.content.onFocus,Z),j.content.onBlur=me(j.content.onBlur,D);const W=Fi(w),U={},ke=(W==null||(t=W.props)===null||t===void 0?void 0:t["aria-haspopup"])&&((W==null||(r=W.props)===null||r===void 0?void 0:r["aria-expanded"])===!0||(W==null||(i=W.props)===null||i===void 0?void 0:i["aria-expanded"])==="true");return T==="label"?typeof j.content.children=="string"?U["aria-label"]=j.content.children:(U["aria-labelledby"]=j.content.id,j.shouldRenderTooltip=!0):T==="description"&&(U["aria-describedby"]=j.content.id,j.shouldRenderTooltip=!0),(g||ke)&&(j.shouldRenderTooltip=!1),j.children=Nl(w,{...U,...W?.props,ref:Ne(Pi(W),ae,F.target===void 0?V:void 0),onPointerEnter:te(me(W==null||(l=W.props)===null||l===void 0?void 0:l.onPointerEnter,K)),onPointerLeave:te(me(W==null||(s=W.props)===null||s===void 0?void 0:s.onPointerLeave,D)),onFocus:te(me(W==null||(c=W.props)===null||c===void 0?void 0:c.onFocus,K)),onBlur:te(me(W==null||(d=W.props)===null||d===void 0?void 0:d.onBlur,D))}),j},yz=e=>{"use no memo";const{appearance:t="normal",...r}=e,i=bz(r);return{appearance:t,...i}},wz=e=>Ce(y.Fragment,{children:[e.children,e.shouldRenderTooltip&&H(Vr,{mountNode:e.mountNode,children:Ce(e.content,{children:[e.withArrow&&H("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),kz={content:"fui-Tooltip__content"},xz=G({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;}']}),Bz=e=>{"use no memo";const t=xz();return e.content.className=L(kz.content,t.root,e.appearance==="inverted"&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow,e},Dh=e=>{const t=yz(e);return Bz(t),Se("useTooltipStyles_unstable")(t),wz(t)};Dh.displayName="Tooltip";Dh.isFluentTriggerComponent=!0;const Ph=e=>{const{iconOnly:t,iconPosition:r}=e;return Ce(e.root,{children:[r!=="after"&&e.icon&&H(e.icon,{}),!t&&e.root.children,r==="after"&&e.icon&&H(e.icon,{})]})},Fh=y.createContext(void 0),Sz={},zz=Fh.Provider,_z=()=>{var e;return(e=y.useContext(Fh))!==null&&e!==void 0?e:Sz},Nz=(e,t)=>{const{size:r}=_z(),{appearance:i="secondary",shape:l="rounded",size:s=r??"medium",...c}=e,d=Ih(c,t);return{appearance:i,shape:l,size:s,...d}},Ih=(e,t)=>{const{icon:r,iconPosition:i="before",...l}=e,s=he(r,{elementType:"span"});var c,d;return{disabled:(c=e.disabled)!==null&&c!==void 0?c:!1,disabledFocusable:(d=e.disabledFocusable)!==null&&d!==void 0?d:!1,iconPosition:i,iconOnly:!!(s?.children&&!e.children),components:{root:"button",icon:"span"},root:ue(Or(l.as,l),{elementType:"button",defaultProps:{ref:t,type:e.as!=="a"?"button":void 0}}),icon:s}},dv={root:"fui-Button",icon:"fui-Button__icon"},Cz=be("r1f29ykk",null,{r:[".r1f29ykk{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);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[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){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Tz=be("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);}"]),jz=G({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},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",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},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",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},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",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},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);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{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);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),qz=G({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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{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;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ez=G({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"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},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){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),Rz=G({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;}"]}),Dz=G({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);}"]}),Mh=e=>{"use no memo";const t=Cz(),r=Tz(),i=jz(),l=qz(),s=Ez(),c=Rz(),d=Dz(),{appearance:f,disabled:g,disabledFocusable:m,icon:h,iconOnly:x,iconPosition:w,shape:k,size:b}=e;return e.root.className=L(dv.root,t,f&&i[f],i[b],h&&b==="small"&&i.smallWithIcon,h&&b==="large"&&i.largeWithIcon,i[k],(g||m)&&l.base,(g||m)&&l.highContrast,f&&(g||m)&&l[f],f==="primary"&&s.primary,s[b],s[k],x&&c[b],e.root.className),e.icon&&(e.icon.className=L(dv.icon,r,!!e.root.children&&d[w],d[b],e.icon.className)),e},Pz=y.forwardRef((e,t)=>{const r=Nz(e,t);return Mh(r),Se("useButtonStyles_unstable")(r),Ph(r)});Pz.displayName="Button";const Oh=y.createContext(void 0),Fz=Oh.Provider,rd=()=>y.useContext(Oh),Iz=e=>{var t,r,i,l;const{generatedControlId:s,orientation:c,required:d,size:f,validationState:g}=e,m=(t=e.label)===null||t===void 0?void 0:t.htmlFor,h=(r=e.label)===null||r===void 0?void 0:r.id,x=(i=e.validationMessage)===null||i===void 0?void 0:i.id,w=(l=e.hint)===null||l===void 0?void 0:l.id;return{field:y.useMemo(()=>({generatedControlId:s,hintId:w,labelFor:m,labelId:h,orientation:c,required:d,size:f,validationMessageId:x,validationState:g}),[s,w,m,h,c,d,f,x,g])}};function Mo(e,t){return Ah(rd(),e,t)}function Ah(e,t,r){if(!e)return t;t={...t};const{generatedControlId:i,hintId:l,labelFor:s,labelId:c,required:d,validationMessageId:f,validationState:g}=e;if(i){var m,h;(h=(m=t).id)!==null&&h!==void 0||(m.id=i)}if(c&&(!r?.supportsLabelFor||s!==t.id)){var x,w,k;(k=(x=t)[w="aria-labelledby"])!==null&&k!==void 0||(x[w]=c)}if((f||l)&&(t["aria-describedby"]=[f,l,t?.["aria-describedby"]].filter(Boolean).join(" ")),g==="error"){var b,B,_;(_=(b=t)[B="aria-invalid"])!==null&&_!==void 0||(b[B]=!0)}if(d)if(r?.supportsRequired){var T,z;(z=(T=t).required)!==null&&z!==void 0||(T.required=!0)}else{var N,q,j;(j=(N=t)[q="aria-required"])!==null&&j!==void 0||(N[q]=!0)}if(r?.supportsSize){var F,V;(V=(F=t).size)!==null&&V!==void 0||(F.size=e.size)}return t}const Mz=(e,t)=>{let{children:r}=e;return typeof r=="function"&&(r=r(Ah(t.field)||{})),H(Fz,{value:t?.field,children:Ce(e.root,{children:[e.label&&H(e.label,{}),r,e.validationMessage&&Ce(e.validationMessage,{children:[e.validationMessageIcon&&H(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&H(e.hint,{})]})})},Oz=(e,t)=>{const{weight:r="regular",size:i="medium",...l}=e,s=Az(l,t);return{weight:r,size:i,...s}},Az=(e,t)=>{const{disabled:r=!1,required:i=!1,...l}=e;return{disabled:r,required:he(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:ue(De("label",{ref:t,...l}),{elementType:"label"})}},Hz=e=>Ce(e.root,{children:[e.root.children,e.required&&H(e.required,{})]}),fv={root:"fui-Label",required:"fui-Label__required"},Lz=G({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Vz=e=>{"use no memo";const t=Lz();return e.root.className=L(fv.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=L(fv.required,t.required,e.disabled&&t.disabled,e.required.className)),e},uo=y.forwardRef((e,t)=>{const r=Oz(e,t);return Vz(r),Se("useLabelStyles_unstable")(r),Hz(r)});uo.displayName="Label";const Wz=(e,t)=>{const{children:r,required:i=!1,validationState:l=e.validationMessage?"error":"none"}=e,s=st("field-"),c=s+"__control",d=ue(De("div",{...e,ref:t},["children"]),{elementType:"div"}),f=he(e.label,{defaultProps:{htmlFor:c,id:s+"__label",required:i},elementType:"label"}),g=he(e.validationMessage,{defaultProps:{id:s+"__validationMessage",role:l==="error"||l==="warning"?"alert":void 0},elementType:"div"}),m=he(e.hint,{defaultProps:{id:s+"__hint"},elementType:"div"}),h=he(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:r,generatedControlId:c,required:i,validationState:l,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:d,label:f,validationMessageIcon:h,validationMessage:g,hint:m}},Uz={error:y.createElement(O1,null),warning:y.createElement(M1,null),success:y.createElement(I1,null),none:void 0},$z=(e,t)=>{const{orientation:r="vertical",size:i="medium",...l}=e,s=Wz(l,t),c=Uz[s.validationState];return{...s,components:{...s.components,label:uo},label:he(e.label,{defaultProps:{size:i,...s.label},elementType:uo}),validationMessageIcon:he(e.validationMessageIcon,{renderByDefault:!!c,defaultProps:{children:c},elementType:"span"}),orientation:r,size:i}},mi={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},Xz=G({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;}"]}),Gz=G({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},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:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".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;}"]}),Kz=be("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);}"]),Qz=G({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));}"]}),Yz=be("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;}"]),Jz=G({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Zz=e=>{"use no memo";const{validationState:t,size:r}=e,i=e.orientation==="horizontal",l=Xz();e.root.className=L(mi.root,l.base,i&&l.horizontal,i&&!e.label&&l.horizontalNoLabel,e.root.className);const s=Gz();e.label&&(e.label.className=L(mi.label,s.base,i&&s.horizontal,i&&r==="small"&&s.horizontalSmall,i&&r==="large"&&s.horizontalLarge,!i&&s.vertical,!i&&r==="large"&&s.verticalLarge,e.label.className));const c=Yz(),d=Jz();e.validationMessageIcon&&(e.validationMessageIcon.className=L(mi.validationMessageIcon,c,t!=="none"&&d[t],e.validationMessageIcon.className));const f=Kz(),g=Qz();return e.validationMessage&&(e.validationMessage.className=L(mi.validationMessage,f,t==="error"&&g.error,!!e.validationMessageIcon&&g.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=L(mi.hint,f,e.hint.className)),e},e3=y.forwardRef((e,t)=>{const r=$z(e,t);Zz(r),Se("useFieldStyles_unstable")(r);const i=Iz(r);return Mz(r,i)});e3.displayName="Field";const t3=(e,t)=>{"use no memo";e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0});const{shape:r="square",size:i="medium",...l}=e,s=o3(l,t),c=s.checked==="mixed";let d;if(c?r==="circular"?d=y.createElement(Av,null):d=i==="large"?y.createElement(A1,null):y.createElement(H1,null):s.checked&&(d=i==="large"?y.createElement(L1,null):y.createElement(Hv,null)),s.indicator){var f,g;(g=(f=s.indicator).children)!==null&&g!==void 0||(f.children=d)}return{shape:r,size:i,...s,components:{...s.components,label:uo},label:he(e.label,{defaultProps:{...s.label,size:"medium"},elementType:uo})}},o3=(e,t)=>{"use no memo";const{disabled:r=!1,required:i,labelPosition:l="after",onChange:s}=e,[c,d]=wt({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),f=Po({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),g=c==="mixed",m=st("checkbox-",f.primary.id),h={checked:c,disabled:r,labelPosition:l,components:{root:"span",input:"input",indicator:"div",label:"label"},root:ue(e.root,{defaultProps:{ref:Sn(),...f.root},elementType:"span"}),input:ue(e.input,{defaultProps:{type:"checkbox",id:m,ref:t,checked:c===!0,...f.primary},elementType:"input"}),label:he(e.label,{defaultProps:{htmlFor:m,disabled:r,required:i},elementType:"label"}),indicator:he(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};h.input.onChange=me(h.input.onChange,w=>{const k=w.currentTarget.indeterminate?"mixed":w.currentTarget.checked;s?.(w,{checked:k}),d(k)});const x=Ne(h.input.ref);return h.input.ref=x,We(()=>{x.current&&(x.current.indeterminate=g)},[x,g]),h},r3=e=>Ce(e.root,{children:[H(e.input,{}),e.labelPosition==="before"&&e.label&&H(e.label,{}),e.indicator&&H(e.indicator,{}),e.labelPosition==="after"&&e.label&&H(e.label,{})]}),tl={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},n3=be("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[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);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[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){.r1nzur1d[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){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),i3=G({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",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),a3=be("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));}"]),l3=G({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));}"]}),s3=be("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;}"]),c3=G({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}]]}),u3=G({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);}"]}),d3=e=>{"use no memo";const{checked:t,disabled:r,labelPosition:i,shape:l,size:s}=e,c=n3(),d=i3();e.root.className=L(tl.root,c,r?d.disabled:t==="mixed"?d.mixed:t?d.checked:d.unchecked,e.root.className);const f=a3(),g=l3();e.input.className=L(tl.input,f,s==="large"&&g.large,g[i],e.input.className);const m=s3(),h=c3();e.indicator&&(e.indicator.className=L(tl.indicator,m,s==="large"&&h.large,l==="circular"&&h.circular,e.indicator.className));const x=u3();return e.label&&(e.label.className=L(tl.label,x.base,x[s],x[i],e.label.className)),e},xu=y.forwardRef((e,t)=>{const r=t3(e,t);return d3(r),Se("useCheckboxStyles_unstable")(r),r3(r)});xu.displayName="Checkbox";const nd=hr({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});nd.Provider;const f3={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Tn=hr(void 0),Pt=e=>Lr(Tn,(t=f3)=>e(t)),p3=Tn.Provider;function Hh(e){const{appearance:t,open:r,getOptionById:i,getOptionsMatchingValue:l,registerOption:s,selectedOptions:c,selectOption:d,setOpen:f,size:g,activeDescendantController:m,onOptionClick:h,onActiveDescendantChange:x}=e,w={activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:s,selectedOptions:c,selectOption:d,setActiveOption:()=>null,setOpen:f,size:g},k={activeOption:void 0,focusVisible:!1,getOptionById:i,getOptionsMatchingValue:l,registerOption:s,selectedOptions:c,selectOption:d,setActiveOption:()=>null,onOptionClick:h,onActiveDescendantChange:x},b=y.useMemo(()=>({controller:m}),[m]);return{combobox:w,activeDescendant:b,listbox:k}}function g3(e){const t=Oi(Tn),{getOptionById:r,getOptionsMatchingValue:i,multiselect:l,registerOption:s,selectedOptions:c,selectOption:d,activeDescendantController:f}=e,g=Pt(b=>b.registerOption),m=Pt(b=>b.onOptionClick),h=Pt(b=>b.onActiveDescendantChange),w={activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:i,multiselect:l,registerOption:t?g:s,selectedOptions:c,selectOption:d,setActiveOption:()=>{},onOptionClick:m,onActiveDescendantChange:h},k=y.useMemo(()=>({controller:f}),[f]);return{listbox:w,activeDescendant:k}}function Ti(e,t={}){const{open:r=!0,multiselect:i=!1}=t,l=e.key,{altKey:s,ctrlKey:c,key:d,metaKey:f}=e;return d.length===1&&l!==lo&&!s&&!c&&!f?"Type":r?l===ki&&s||l===ur||!i&&l===lo?"CloseSelect":i&&l===lo?"Select":l===br?"Close":l===Ni?"Next":l===ki?"Previous":l===Wu?"First":l===Vu?"Last":l===$m?"PageUp":l===Um?"PageDown":l===Wm?"Tab":"None":l===Ni||l===ki||l===ur||l===lo?"Open":"None"}const Lh=()=>{const e=y.useRef(new Map),t=y.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:g=>e.current.get(g),getOptionsMatchingText:g=>Array.from(e.current.values()).filter(({text:m})=>g(m)),getOptionsMatchingValue:g=>{const m=[];for(const h of e.current.values())g(h.value)&&m.push(h);return m}}),[]),r=y.useCallback(i=>(e.current.set(i.id,i),()=>e.current.delete(i.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},Vh=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:i}=e,[l,s]=wt({state:e.selectedOptions,defaultState:t,initialState:[]}),c=y.useCallback((f,g)=>{if(g.disabled)return;let m=[g.value];if(r){const h=l.findIndex(x=>x===g.value);h>-1?m=[...l.slice(0,h),...l.slice(h+1)]:m=[...l,g.value]}s(m),i?.(f,{optionValue:g.value,optionText:g.text,selectedOptions:m})},[i,r,l,s]);return{clearSelection:f=>{s([]),i?.(f,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:c,selectedOptions:l}},ji={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},v3=G({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"],B7iucu3:"f1cyfu5x"},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",B7iucu3:"f1cyfu5x"},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){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),m3=e=>{"use no memo";const{disabled:t,multiselect:r,selected:i}=e,l=v3();return e.root.className=L(ji.root,l.root,l.active,t&&l.disabled,i&&l.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=L(ji.checkIcon,l.checkIcon,r&&l.multiselectCheck,i&&l.selectedCheck,i&&r&&l.selectedMultiselectCheck,t&&l.checkDisabled,t&&r&&l.multiselectCheckDisabled,e.checkIcon.className)),e},pv={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},h3=(e,t)=>{"use no memo";const{multiselect:r,disableAutoFocus:i=!1}=e,l=Lh(),{listboxRef:s,activeParentRef:c,controller:d}=Xu({matchOption:oe=>oe.classList.contains(ji.root)}),f=Oi(Tn),g=Pt(oe=>oe.onActiveDescendantChange),m=Pt(oe=>oe.getOptionById),h=Pt(oe=>oe.getOptionsMatchingValue),x=f?m:l.getOptionById,w=f?h:l.getOptionsMatchingValue,k=y.useMemo(()=>{let oe=null;const K=A=>{g?.(A)};return A=>{if(!A){oe?.removeEventListener("activedescendantchange",K);return}oe=A,oe.addEventListener("activedescendantchange",K)}},[g]),[b,B]=y.useState(!1);Nm(B);const _=Xm(),T=zB(),z=T?_.controller:d,{clearSelection:N,selectedOptions:q,selectOption:j}=Vh(e),F=oe=>{const K=Ti(oe,{open:!0}),A=z.active(),ae=A?x(A):null;switch(K){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":oe.preventDefault();break}switch(K){case"Next":ae?z.next():z.first();break;case"Previous":ae?z.prev():z.first();break;case"PageUp":case"First":z.first();break;case"PageDown":case"Last":z.last();break;case"Select":case"CloseSelect":ae&&j(oe,ae);break}},V=Pt(oe=>oe.selectedOptions),$=Pt(oe=>oe.selectOption),ie=f?{selectedOptions:V,selectOption:$,...pv}:{selectedOptions:q,selectOption:j,...pv};y.useEffect(()=>{if(!T){if(z.hideFocusVisibleAttributes(),!i)if(!r&&ie.selectedOptions.length>0){const oe=w(K=>K===ie.selectedOptions[0]).pop();oe?.id&&z.focus(oe.id)}else z.first();return()=>{z.blur()}}},[]);const se=y.useCallback(()=>{T||(z.showFocusVisibleAttributes(),b&&z.scrollActiveIntoView())},[z,T,b]),Z=y.useCallback(()=>{T||z.hideFocusVisibleAttributes()},[z,T]),re={components:{root:"div"},root:ue(De("div",{ref:Ne(t,c,s,k),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!f,multiselect:r,clearSelection:N,activeDescendantController:z,onActiveDescendantChange:g,...l,...ie};return re.root.onKeyDown=te(me(re.root.onKeyDown,F)),re.root.onFocus=te(me(re.root.onFocus,se)),re.root.onBlur=te(me(re.root.onBlur,Z)),re},b3=(e,t)=>H($u,{value:t.activeDescendant,children:H(Tn.Provider,{value:t.listbox,children:H(e.root,{})})}),y3={root:"fui-Listbox"},w3=G({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);}"]}),k3=e=>{"use no memo";const t=w3();return e.root.className=L(y3.root,t.root,e.root.className),e},Ll=y.forwardRef((e,t)=>{const r=h3(e,t),i=g3(r);return k3(r),Se("useListboxStyles_unstable")(r),b3(r,i)});Ll.displayName="Listbox";function x3(e,t){if(e!==void 0)return e;let r="",i=!1;return y.Children.forEach(t,l=>{typeof l=="string"?r+=l:i=!0}),i&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}const B3=(e,t)=>{"use no memo";const r=S3(e,t);let i=y.createElement(V1,null);if(r.multiselect&&(i=r.selected?y.createElement(Hv,null):""),r.checkIcon){var l,s;(s=(l=r.checkIcon).children)!==null&&s!==void 0||(l.children=i)}return r},S3=(e,t)=>{const{children:r,disabled:i,text:l,value:s}=e,c=y.useRef(null),d=x3(l,r),f=s??d,g=st("fluent-option",e.id),m=y.useMemo(()=>({id:g,disabled:i,text:d,value:f}),[g,i,d,f]),{controller:h}=Xm(),x=Pt(z=>z.multiselect),w=Pt(z=>z.registerOption),k=Pt(z=>{const N=z.selectedOptions;return f!==void 0&&N.find(q=>q===f)!==void 0}),b=Pt(z=>z.selectOption),B=Pt(z=>z.onOptionClick),_=z=>{var N;if(i){z.preventDefault();return}h.focus(g),b(z,m),B(z),(N=e.onClick)===null||N===void 0||N.call(e,z)};y.useEffect(()=>{if(g&&c.current)return w(m,c.current)},[g,m,w]);const T=x?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:ue(De("div",{ref:Ne(t,c),"aria-disabled":i?"true":void 0,id:g,...T,...e,onClick:_}),{elementType:"div"}),checkIcon:he(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:i,multiselect:x,selected:k,focusVisible:!1,active:!1}},z3=e=>Ce(e.root,{children:[e.checkIcon&&H(e.checkIcon,{}),e.root.children]}),gl=y.forwardRef((e,t)=>{const r=B3(e,t);return m3(r),Se("useOptionStyles_unstable")(r),z3(r)});gl.displayName="Option";const Wh=e=>{"use no memo";const{appearance:t="outline",disableAutoFocus:r,children:i,clearable:l=!1,editable:s=!1,inlinePopup:c=!1,mountNode:d=void 0,multiselect:f,onOpenChange:g,size:m="medium",activeDescendantController:h,freeform:x=!1,disabled:w=!1,onActiveOptionChange:k=null}=e,b=Lh(),{getOptionsMatchingValue:B}=b,{getOptionById:_}=b,T=y.useCallback(()=>{const X=h.active();return X?_(X):void 0},[h,_]),z=T(),N=y.useCallback(X=>{let ve;if(typeof X=="function"){const ze=T();ve=X(ze)}ve?h.focus(ve.id):h.blur()},[h,T]),[q,j]=y.useState(!1),[F,V]=y.useState(!1),$=y.useRef(!1),ie=Pu(),[se,Z]=wt({state:e.value,initialState:void 0}),{selectedOptions:re,selectOption:oe,clearSelection:K}=Vh(e),A=y.useCallback((X,ve)=>{ku.unstable_batchedUpdates(()=>{Z(void 0),oe(X,ve)})},[Z,oe]),ae=y.useMemo(()=>{if(se!==void 0)return se;if(ie&&e.defaultValue!==void 0)return e.defaultValue;const X=B(ve=>re.includes(ve)).map(ve=>ve.text);return f?s?"":X.join(", "):X[0]},[se,s,B,f,re]),[D,W]=wt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),U=y.useCallback((X,ve)=>{w||(g?.(X,{open:ve}),ku.unstable_batchedUpdates(()=>{!ve&&!x&&Z(void 0),W(ve)}))},[g,W,Z,x,w]);y.useEffect(()=>{if(D){if(!f&&re.length>0){const X=B(ve=>ve===re[0]).pop();X?.id&&h.focus(X.id)}}else h.blur()},[D,h]),y.useEffect(()=>{D&&!r&&!h.active()&&h.first()},[D,i,r,h,_]);const ke=te(X=>{const ve=X.detail.previousId?b.getOptionById(X.detail.previousId):null,ze=b.getOptionById(X.detail.id);k?.(X,{event:X,type:"change",previousOption:ve,nextOption:ze})});return{...b,freeform:x,disabled:w,selectOption:A,clearSelection:K,selectedOptions:re,activeOption:z,appearance:t,clearable:l,focusVisible:q,ignoreNextBlur:$,inlinePopup:c,mountNode:d,open:D,hasFocus:F,setActiveOption:N,setFocusVisible:j,setHasFocus:V,setOpen:U,setValue:Z,size:m,value:ae,multiselect:f,onOptionClick:te(X=>{f||U(X,!1)}),onActiveDescendantChange:ke}};function Uh(e){const{positioning:t}=e,i={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...Cn(t)},{targetRef:l,containerRef:s}=Hl(i);return[s,l]}function $h(e,t,r){const{state:{multiselect:i},triggerRef:l,defaultProps:s}=r,c=st("fluent-listbox",Uv(e)?e.id:void 0),d=he(e,{renderByDefault:!0,elementType:Ll,defaultProps:{id:c,multiselect:i,tabIndex:void 0,...s}}),f=Mo({id:c},{supportsLabelFor:!0});d&&!d["aria-label"]&&!d["aria-labelledby"]&&f["aria-labelledby"]&&(d["aria-labelledby"]=f["aria-labelledby"]);const g=te(me(x=>{x.preventDefault()},d?.onMouseDown)),m=te(me(x=>{var w;x.preventDefault(),(w=l.current)===null||w===void 0||w.focus()},d?.onClick)),h=Ne(d?.ref,t);return d&&(d.ref=h,d.onMouseDown=g,d.onClick=m),d}function Xh(e,t,r){const{state:{open:i,setOpen:l,setHasFocus:s},defaultProps:c,elementType:d,activeDescendantController:f}=r,g=ue(e,{defaultProps:{type:"text","aria-expanded":i,role:"combobox",...typeof c=="object"&&c},elementType:d}),m=y.useRef(null);return g.ref=Ne(m,g.ref,t),g.onBlur=me(h=>{l(h,!1),s(!1)},g.onBlur),g.onFocus=me(h=>{h.target===h.currentTarget&&s(!0)},g.onFocus),g.onClick=me(h=>{l(h,!i)},g.onClick),g.onKeyDown=me(_3({activeDescendantController:f,...r.state}),g.onKeyDown),g}function _3(e){const{activeDescendantController:t,getOptionById:r,setOpen:i,selectOption:l,multiselect:s,open:c}=e,d=y.useCallback(()=>{const b=t.active();return b?r(b):void 0},[t,r]),f=()=>{t.first()},g=()=>{t.last()},m=b=>{b?t.next():t.first()},h=b=>{b?t.prev():t.first()},x=()=>{for(let b=0;b<10;b++)t.prev()},w=()=>{for(let b=0;b<10;b++)t.next()},k=gx();return te(b=>{const B=Ti(b,{open:c,multiselect:s}),_=d();switch(B){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":b.preventDefault();break}switch(k(!0),B){case"First":f();break;case"Last":g();break;case"Next":m(_);break;case"Previous":h(_);break;case"PageDown":w();break;case"PageUp":x();break;case"Open":i(b,!0);break;case"Close":b.stopPropagation(),i(b,!1);break;case"CloseSelect":!s&&!_?.disabled&&i(b,!1);case"Select":_&&l(b,_);break;case"Tab":!s&&_&&l(b,_);break}})}function N3(e,t,r){"use no memo";const{state:{open:i,value:l,selectOption:s,setValue:c,multiselect:d,selectedOptions:f,clearSelection:g,getOptionById:m,setOpen:h},freeform:x,defaultProps:w,activeDescendantController:k}=r,b=V=>{if(!i&&!x){const $=k.active(),ie=$?m($):null;l&&ie&&l.trim().toLowerCase()===ie?.text.toLowerCase()&&s(V,ie),c(void 0)}},B=V=>{const $=V?.trim().toLowerCase();if(!$||$.length===0){k.blur();return}const ie=Z=>Z.toLowerCase().indexOf($)===0,se=k.find(Z=>{const re=m(Z);return!!re&&ie(re.text)});if(!se){k.blur();return}return m(se)},_=V=>{const $=V.target.value;c($);const ie=B($);!d&&f.length===1&&($.length<1||!ie)&&g(V)},T=Xh(e,t,{state:r.state,defaultProps:w,elementType:"input",activeDescendantController:k});T.onChange=me(T.onChange,_),T.onBlur=me(T.onBlur,b);const[z,N]=y.useState(!1),q=y.useRef(!1),j=T.onKeyDown,F=te(V=>{!i&&Ti(V)==="Type"&&h(V,!0),V.key===Ai||V.key===Hi?N(!0):N(!1);const $=Ti(V,{open:i,multiselect:d});if($==="Type"?q.current=!0:($==="Open"&&V.key!==" "||$==="Next"||$==="Previous"||$==="First"||$==="Last"||$==="PageUp"||$==="PageDown")&&(q.current=!1),(q.current||!i)&&V.key===" "){var ie;e==null||(ie=e.onKeyDown)===null||ie===void 0||ie.call(e,V);return}j?.(V)});return T.onKeyDown=F,z&&(T["aria-activedescendant"]=void 0),T}const C3=(e,t)=>{"use no memo";var r,i;e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:l,activeParentRef:s,controller:c}=Xu({matchOption:le=>le.classList.contains(ji.root)}),d=Wh({...e,editable:!0,activeDescendantController:c}),{appearance:f,size:g,...m}=d,{clearable:h,clearSelection:x,disabled:w,multiselect:k,open:b,selectedOptions:B,setOpen:_,value:T,hasFocus:z}=m,[N,q]=Uh(e),{disableAutoFocus:j=!1,freeform:F,inlinePopup:V}=e,$=st("combobox-"),{primary:ie,root:se}=Po({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),Z=y.useRef(null),re=$h(e.listbox,Ne(N,l),{state:d,triggerRef:Z,defaultProps:{children:e.children,disableAutoFocus:j}});var oe;const K=N3((oe=e.input)!==null&&oe!==void 0?oe:{},Ne(Z,s,t),{state:d,freeform:F,defaultProps:{type:"text",value:T??"","aria-controls":b?re?.id:void 0,...ie},activeDescendantController:c}),A=ue(e.root,{defaultProps:{"aria-owns":!V&&b?re?.id:void 0,...se},elementType:"div"});A.ref=Ne(A.ref,q);const ae=B.length>0&&!w&&h&&!k,D={components:{root:"div",input:"input",expandIcon:"span",listbox:Ll,clearIcon:"span"},root:A,input:K,listbox:b||z?re:void 0,clearIcon:he(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:he(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":w?"true":void 0,"aria-expanded":b,role:"button"},elementType:"span"}),showClearIcon:ae,activeDescendantController:c,...m},{targetDocument:W}=Te();_l({element:W,callback:le=>_(le,!1),refs:[Z,N,q],disabled:!b});const{onMouseDown:U}=D.expandIcon||{},ke=te(me(U,le=>{var _e;le.preventDefault(),D.setOpen(le,!D.open),(_e=Z.current)===null||_e===void 0||_e.focus()}));if(D.expandIcon){D.expandIcon.onMouseDown=ke;const le=D.expandIcon["aria-label"]||D.expandIcon["aria-labelledby"],_e="Open";if(!le)if(e["aria-labelledby"]){var X;const ct=(X=D.expandIcon.id)!==null&&X!==void 0?X:`${$}-chevron`,gt=`${ct} ${D.input["aria-labelledby"]}`;D.expandIcon["aria-label"]=_e,D.expandIcon.id=ct,D.expandIcon["aria-labelledby"]=gt}else e["aria-label"]?D.expandIcon["aria-label"]=`${_e} ${e["aria-label"]}`:D.expandIcon["aria-label"]=_e}const ve=te(me((r=D.clearIcon)===null||r===void 0?void 0:r.onMouseDown,le=>{le.preventDefault()})),ze=te(me((i=D.clearIcon)===null||i===void 0?void 0:i.onClick,le=>{x(le)}));return D.clearIcon&&(D.clearIcon.onMouseDown=ve,D.clearIcon.onClick=ze),k&&(D.clearIcon=void 0),D},T3=(e,t)=>{"use no memo";const{appearance:r="outline",size:i="medium",...l}=e,s=C3(l,t);if(s.clearIcon){var c,d;(d=(c=s.clearIcon).children)!==null&&d!==void 0||(c.children=y.createElement(Eu,null))}if(s.expandIcon){var f,g;(g=(f=s.expandIcon).children)!==null&&g!==void 0||(f.children=y.createElement(Ru,null))}return{...s,appearance:r,size:i}},j3=(e,t)=>H(e.root,{children:H($u,{value:t.activeDescendant,children:H(p3,{value:t.listbox,children:Ce(nd.Provider,{value:t.combobox,children:[H(e.input,{}),e.clearIcon&&H(e.clearIcon,{}),e.expandIcon&&H(e.expandIcon,{}),e.listbox&&(e.inlinePopup?H(e.listbox,{}):H(Vr,{mountNode:e.mountNode,children:H(e.listbox,{})}))]})})})}),hi={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},q3=G({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",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:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},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:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},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:"f88035w"},"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:"f88035w"},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"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".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;}",".f145g4dw::after{height:max(2px, 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;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{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);}"],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);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],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);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),E3=G({input:{qb2dma:"f1ub7u0d",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",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),R3=G({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".f1k6fduh{cursor:pointer;}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),D3=e=>{"use no memo";const{appearance:t,open:r,size:i,showClearIcon:l}=e,s=`${e.input["aria-invalid"]}`=="true",c=e.input.disabled,d=q3(),f=R3(),g=E3();return e.root.className=L(hi.root,d.root,d[t],d[i],!c&&t==="outline"&&d.outlineInteractive,s&&t!=="underline"&&d.invalid,s&&t==="underline"&&d.invalidUnderline,c&&d.disabled,e.root.className),e.input.className=L(hi.input,g.input,g[i],c&&g.disabled,e.input.className),e.listbox&&(e.listbox.className=L(hi.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!r&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=L(hi.expandIcon,f.icon,f[i],c&&f.disabled,l&&f.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=L(hi.clearIcon,f.icon,f[i],c&&f.disabled,!l&&f.hidden,e.clearIcon.className)),e},P3=y.forwardRef((e,t)=>{const r=T3(e,t),i=Hh(r);return D3(r),Se("useComboboxStyles_unstable")(r),j3(r,i)});P3.displayName="Combobox";function F3(e,t,r){"use no memo";const{state:{open:i,setOpen:l,getOptionById:s},defaultProps:c,activeDescendantController:d}=r,f=y.useRef(""),[g,m]=gr(),h=(b,B={startFromNext:!1})=>{const{startFromNext:_}=B,T=d.active(),z=d.find(N=>{const q=s(N);return!!q&&b(q.text)},{startFrom:_?d.next({passive:!0}):T});return z||d.find(N=>{const q=s(N);return!!q&&b(q.text)})},x=()=>{h(b=>b.toLocaleLowerCase().indexOf(f.current)===0,{startFromNext:f.current.length===1})||I3(f.current)&&h(b=>b.toLocaleLowerCase().indexOf(f.current[0])===0,{startFromNext:!0})||d.blur()},w=b=>{m(),Ti(b)==="Type"&&(f.current+=b.key.toLowerCase(),g(()=>{f.current=""},500),i&&x(),!i&&l(b,!0))},k=Xh(e,t,{state:r.state,defaultProps:c,elementType:"button",activeDescendantController:d});return k.onKeyDown=me(w,k.onKeyDown),k}function I3(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}const M3=(e,t)=>{"use no memo";var r;e=Mo(e,{supportsLabelFor:!0});const{listboxRef:i,activeParentRef:l,controller:s}=Xu({matchOption:A=>A.classList.contains(ji.root)}),c=Wh({...e,activeDescendantController:s,freeform:!1}),{appearance:d,size:f,freeform:g,...m}=c,{clearable:h,clearSelection:x,disabled:w,hasFocus:k,multiselect:b,open:B,selectedOptions:_,setOpen:T}=m,{primary:z,root:N}=Po({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[q,j]=Uh(e),F=y.useRef(null),V=$h(e.listbox,Ne(q,i),{state:c,triggerRef:F,defaultProps:{children:e.children}}),{targetDocument:$}=Te();_l({element:$,callback:A=>T(A,!1),refs:[F,q,j],disabled:!B});var ie;const se=F3((ie=e.button)!==null&&ie!==void 0?ie:{},Ne(F,l,t),{state:c,defaultProps:{type:"button",tabIndex:z.disabled?void 0:0,children:m.value||e.placeholder,"aria-controls":B?V?.id:void 0,...z},activeDescendantController:s}),Z=ue(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&B?V?.id:void 0,children:e.children,...N},elementType:"div"});Z.ref=Ne(Z.ref,j);const re=_.length>0&&!w&&h&&!b,oe={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:Ll},root:Z,button:se,listbox:B||k?V:void 0,clearButton:he(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:re?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:he(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!m.value&&!!e.placeholder,showClearButton:re,activeDescendantController:s,...m},K=te(me((r=oe.clearButton)===null||r===void 0?void 0:r.onClick,A=>{var ae;x(A),(ae=F.current)===null||ae===void 0||ae.focus()}));return oe.clearButton&&(oe.clearButton.onClick=K),b&&(oe.clearButton=void 0),oe},O3=(e,t)=>{"use no memo";const{appearance:r="outline",size:i="medium",...l}=e,s=M3(l,t);if(s.clearButton){var c,d;(d=(c=s.clearButton).children)!==null&&d!==void 0||(c.children=y.createElement(Eu,null))}if(s.expandIcon){var f,g;(g=(f=s.expandIcon).children)!==null&&g!==void 0||(f.children=y.createElement(Ru,null))}return{...s,appearance:r,size:i}},A3=(e,t)=>H(e.root,{children:H($u,{value:t.activeDescendant,children:H(Tn.Provider,{value:t.listbox,children:Ce(nd.Provider,{value:t.combobox,children:[Ce(e.button,{children:[e.button.children,e.expandIcon&&H(e.expandIcon,{})]}),e.clearButton&&H(e.clearButton,{}),e.listbox&&(e.inlinePopup?H(e.listbox,{}):H(Vr,{mountNode:e.mountNode,children:H(e.listbox,{})}))]})})})}),bi={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},H3=G({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",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},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:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},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"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},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);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7: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);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),L3=G({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);}"]}),V3=be("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;}}"]}),W3=e=>{"use no memo";const{appearance:t,open:r,placeholderVisible:i,showClearButton:l,size:s}=e,c=`${e.button["aria-invalid"]}`=="true",d=e.button.disabled,f=H3(),g=L3(),m=V3();return e.root.className=L(bi.root,f.root,f[t],!d&&t==="outline"&&f.outlineInteractive,c&&t!=="underline"&&f.invalid,c&&t==="underline"&&f.invalidUnderline,d&&f.disabled,e.root.className),e.button.className=L(bi.button,f.button,f[s],i&&f.placeholder,d&&f.disabledText,e.button.className),e.listbox&&(e.listbox.className=L(bi.listbox,f.listbox,e.inlinePopup&&f.inlineListbox,!r&&f.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=L(bi.expandIcon,g.icon,g[s],d&&g.disabled,l&&f.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=L(bi.clearButton,m,g.icon,g[s],d&&g.disabled,!l&&f.hidden,e.clearButton.className)),e},U3=y.forwardRef((e,t)=>{const r=O3(e,t),i=Hh(r);return W3(r),Se("useDropdownStyles_unstable")(r),A3(r,i)});U3.displayName="Dropdown";function $3(e,t){return t===""?!0:e.toLowerCase().includes(t.toLowerCase())}function gv(e){return typeof e=="string"?e:e.value}function s9(e,t,r){const{filter:i=$3,noOptionsMessage:l="We couldn't find any matches.",optionToReactKey:s=gv,optionToText:c=gv,renderOption:d=g=>typeof g=="string"?y.createElement(gl,{key:g},g):y.createElement(gl,{...g,key:s(g),text:c(g),value:g.value},g.children)}=r,f=y.useMemo(()=>{const g=e.trim();return t.filter(m=>i(c(m),g))},[t,c,i,e]);return f.length===0?[y.createElement(gl,{"aria-disabled":"true",key:"no-results",text:""},l)]:f.map(g=>d(g))}const X3=e=>H(e.root,{children:e.root.children!==void 0&&H(e.wrapper,{children:e.root.children})}),G3=(e,t)=>{const{alignContent:r="center",appearance:i="default",inset:l=!1,...s}=e,c=K3(s,t);return{alignContent:r,appearance:i,inset:l,...c}},K3=(e,t)=>{const{vertical:r=!1,wrapper:i,...l}=e,s=st("divider-");return{vertical:r,components:{root:"div",wrapper:"div"},root:ue({role:"separator","aria-orientation":r?"vertical":"horizontal","aria-labelledby":e.children?s:void 0,ref:t,...l},{elementType:"div"}),wrapper:ue(i,{defaultProps:{id:s,children:e.children},elementType:"div"})}},vv={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},Q3=G({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".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);}"]}),Y3=G({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),J3=G({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),Z3=e=>{"use no memo";const t=Q3(),r=Y3(),i=J3(),{alignContent:l,appearance:s,inset:c,vertical:d}=e;return e.root.className=L(vv.root,t.base,t[l],s&&t[s],!d&&r.base,!d&&c&&r.inset,!d&&r[l],d&&i.base,d&&c&&i.inset,d&&i[l],d&&e.root.children!==void 0&&i.withChildren,e.root.children===void 0&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=L(vv.wrapper,e.wrapper.className)),e},e_=y.forwardRef((e,t)=>{const r=G3(e,t);return Z3(r),Se("useDividerStyles_unstable")(r),X3(r)});e_.displayName="Divider";const t_=(e,t)=>{e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=Di();var i;const{size:l="medium",appearance:s=(i=r.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...c}=e,d=o_(c,t);return{size:l,appearance:s,...d}},o_=(e,t)=>{const{onChange:r}=e,[i,l]=wt({state:e.value,defaultState:e.defaultValue,initialState:""}),s=Po({props:e,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),c={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:ue(e.input,{defaultProps:{type:"text",ref:t,...s.primary},elementType:"input"}),contentAfter:he(e.contentAfter,{elementType:"span"}),contentBefore:he(e.contentBefore,{elementType:"span"}),root:ue(e.root,{defaultProps:s.root,elementType:"span"})};return c.input.value=i,c.input.onChange=te(d=>{const f=d.target.value;r?.(d,{value:f}),l(f)}),c},r_=e=>Ce(e.root,{children:[e.contentBefore&&H(e.contentBefore,{}),H(e.input,{}),e.contentAfter&&H(e.contentAfter,{})]}),ol={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},n_=be("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;}}"]}),i_=G({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"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],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){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),a_=be("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;}"]),l_=G({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);}"]}),s_=be("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),c_=G({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;}"]}),u_=e=>{"use no memo";const{size:t,appearance:r}=e,i=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",s=r.startsWith("filled"),c=i_(),d=l_(),f=c_();e.root.className=L(ol.root,n_(),c[t],e.contentBefore&&c[`${t}WithContentBefore`],e.contentAfter&&c[`${t}WithContentAfter`],c[r],!i&&r==="outline"&&c.outlineInteractive,!i&&r==="underline"&&c.underlineInteractive,!i&&s&&c.filledInteractive,s&&c.filled,!i&&l&&c.invalid,i&&c.disabled,e.root.className),e.input.className=L(ol.input,a_(),d[t],e.contentBefore&&d[`${t}WithContentBefore`],e.contentAfter&&d[`${t}WithContentAfter`],i&&d.disabled,e.input.className);const g=[s_(),i&&f.disabled,f[t]];return e.contentBefore&&(e.contentBefore.className=L(ol.contentBefore,...g,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=L(ol.contentAfter,...g,e.contentAfter.className)),e},d_=y.forwardRef((e,t)=>{const r=t_(e,t);return u_(r),Se("useInputStyles_unstable")(r),r_(r)});d_.displayName="Input";const f_=y.createContext(void 0),p_=f_.Provider,id=hr(void 0),g_={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},v_=id.Provider,Oe=e=>Lr(id,(t=g_)=>e(t)),Gh=y.createContext(void 0),m_=!1,h_=Gh.Provider,b_=()=>{var e;return(e=y.useContext(Gh))!==null&&e!==void 0?e:m_},ad=hr(void 0),y_={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},w_=ad.Provider,qi=e=>Lr(ad,(t=y_)=>e(t)),Ei="fuimenuenter",k_=e=>{const{refs:t,callback:r,element:i,disabled:l}=e,s=te(c=>{const d=t[0],f=c.target;var g;!Si((g=d.current)!==null&&g!==void 0?g:null,f)&&!l&&r(c)});y.useEffect(()=>{if(i!=null)return l||i.addEventListener(Ei,s),()=>{i.removeEventListener(Ei,s)}},[s,i,l])},x_=(e,t)=>{e.dispatchEvent(new CustomEvent(Ei,{bubbles:!0,detail:{nativeEvent:t}}))};function ld(){const e=Oe(r=>r.isSubmenu),t=Oi(ad);return e||t}const Kh=e=>{"use no memo";const{targetDocument:t}=Te();return Oe(i=>i.triggerRef),Oe(i=>i.inline),y.useRef(null)},Bu="fuimenusafezonetimeout",B_=e=>{const t=y.useRef(null);return y.useCallback(r=>{var i;(i=t.current)===null||i===void 0||i.removeEventListener(Bu,e),r?.addEventListener(Bu,e),t.current=r},[e])},S_=G({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;}"]}),z_=e=>{"use no memo";const t=S_();e.checkmark&&(e.checkmark.className=L(t.root,e.checked&&t.rootChecked,e.checkmark.className))},lr={root:"fui-MenuItem",icon:"fui-MenuItem__icon",checkmark:"fui-MenuItem__checkmark",submenuIndicator:"fui-MenuItem__submenuIndicator",content:"fui-MenuItem__content",secondaryContent:"fui-MenuItem__secondaryContent",subText:"fui-MenuItem__subText"},__=be("rfoezjv","r8lt3v0",{r:[".rfoezjv{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;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[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);}',".r8lt3v0{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;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[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){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[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){.rfoezjv[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){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[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){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),N_=be("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;}"]),C_=be("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);}"]),T_=be("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;}"]),j_=be("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),q_=be("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),E_=G({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",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Bbkh6qg:"f1wzezsb",B3ejlan:"f1egomlm",B41git9:"f1wf2001",Boq1n10:"fied5gk",Dcq74g:"f1efp33f",rxnm8d:"f1m2zpi7",wxluhh:"fei14nx",idgcvv:"f12hmwa5",j9xr24:"f1hzwxd0"}},{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);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wzezsb:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1egomlm:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wf2001:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fied5gk:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1efp33f:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m2zpi7:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fei14nx:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12hmwa5:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1hzwxd0:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),R_=G({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),D_=G({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),P_=e=>{"use no memo";const t=E_(),r=__(),i=N_(),l=C_(),s=T_(),c=j_(),d=D_(),f=q_(),g=R_(),m=!!e.subText;return e.root.className=L(lr.root,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=L(lr.content,i,e.content.className,m&&d.content)),e.checkmark&&(e.checkmark.className=L(lr.checkmark,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=L(lr.secondaryContent,l,e.disabled&&t.disabled,e.secondaryContent.className,m&&d.secondaryContent)),e.icon&&(e.icon.className=L(lr.icon,s,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=L(lr.submenuIndicator,c,e.submenuIndicator.className,m&&d.submenuIndicator)),e.subText&&(e.subText.className=L(lr.subText,e.disabled&&g.disabled,e.subText.className,f)),z_(e),e},mv=qe.durationSlower,hv=qe.curveDecelerateMid,bv=yr(({distance:e=10})=>({enter:[fr({duration:mv,easing:hv,direction:"enter"}),{...ah({duration:mv,easing:hv,direction:"enter",outX:`calc(var(${yl}, 0px) * ${e})`,outY:`calc(var(${wl}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),F_=["after","after-bottom","before-top","before","before-bottom","above"],I_=e=>{const t=ld(),{hoverDelay:r=500,inline:i=!1,hasCheckmarks:l=!1,hasIcons:s=!1,closeOnScroll:c=!1,openOnContext:d=!1,persistOnItemClick:f=!1,openOnHover:g=t,defaultCheckedValues:m,mountNode:h=null,safeZone:x}=e,{targetDocument:w}=Te(),k=st("menu"),[b,B]=zh(),_=Cn(e.positioning),T=lh({targetDocument:w,onPositioningEnd:_.onPositioningEnd}),z={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?b:void 0,fallbackPositions:t?F_:void 0,..._,onPositioningEnd:T},N=y.Children.toArray(e.children);let q,j;N.length===2?(q=N[0],j=N[1]):N.length===1&&(j=N[0]);const{targetRef:F,containerRef:V}=Hl(z),$=x&&g,ie=y.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),se=F2({disabled:!$,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:D=>{K(D,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:D}),ie.current.isInside=!0},onSafeZoneLeave:()=>{ie.current.isInside=!1},onSafeZoneMove:D=>{ie.current.mouseCoordinates={x:D.clientX,y:D.clientY}},onSafeZoneTimeout:()=>{const D=new CustomEvent(Bu);if(K(D,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:D}),ie.current.isInside&&w){const U=w.elementsFromPoint(ie.current.mouseCoordinates.x,ie.current.mouseCoordinates.y).find(ke=>ke.classList.contains(lr.root));U?.dispatchEvent(D)}}}),Z=Ne(F,se.targetRef),re=Ne(V,se.containerRef),[oe,K]=O_({hoverDelay:r,isSubmenu:t,setContextTarget:B,closeOnScroll:c,menuPopoverRef:re,triggerRef:Z,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:d}),[A,ae]=M_({checkedValues:e.checkedValues,defaultCheckedValues:m,onCheckedValueChange:e.onCheckedValueChange});return{inline:i,hoverDelay:r,triggerId:k,isSubmenu:t,openOnHover:g,contextTarget:b,setContextTarget:B,hasCheckmarks:l,hasIcons:s,closeOnScroll:c,menuTrigger:q,menuPopover:j,mountNode:h,triggerRef:Z,menuPopoverRef:re,components:{surfaceMotion:bv},openOnContext:d,open:oe,setOpen:K,checkedValues:A,onCheckedValueChange:ae,persistOnItemClick:f,safeZone:se.elementToRender,surfaceMotion:Pl(e.surfaceMotion,{elementType:bv,defaultProps:{visible:oe,appear:!0,unmountOnExit:!0}})}},M_=e=>{const[t,r]=wt({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),i=te((l,{name:s,checkedItems:c})=>{var d;(d=e.onCheckedValueChange)===null||d===void 0||d.call(e,l,{name:s,checkedItems:c}),r(f=>({...f,[s]:c}))});return[t,i]},O_=e=>{"use no memo";const{targetDocument:t}=Te(),r=Oe(b=>b.setOpen),i=te((b,B)=>{var _;return(_=e.onOpenChange)===null||_===void 0?void 0:_.call(e,b,B)}),l=y.useRef(!1),[s,c]=wt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),d=te((b,B)=>{const _=b instanceof CustomEvent&&b.type===Ei?b.detail.nativeEvent:b;i?.(_,{...B}),B.open&&b.type==="contextmenu"&&e.setContextTarget(b),B.open||e.setContextTarget(void 0),B.bubble&&r(b,{...B}),c(B.open)}),[f,g]=gr(),m=te((b,B)=>{if(g(),!(b instanceof Event)&&b.persist&&b.persist(),!B.ignoreHoverDelay&&(b.type==="mouseleave"||b.type==="mouseover"||b.type==="mousemove"||b.type===Ei)){var T;!((T=e.triggerRef.current)===null||T===void 0)&&T.contains(b.target)&&(l.current=b.type==="mouseover"||b.type==="mousemove"),f(()=>d(b,B),e.hoverDelay)}else d(b,B)});_l({contains:Si,disabled:!s,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:b=>m(b,{open:!1,type:"clickOutside",event:b})});const h=e.openOnContext||e.closeOnScroll;lm({contains:Si,element:t,callback:b=>m(b,{open:!1,type:"scrollOutside",event:b}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!s||!h}),k_({element:t,callback:b=>{l.current||m(b,{open:!1,type:"menuMouseEnter",event:b})},disabled:!s,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=vr(),w=y.useCallback(()=>{const b=x(e.menuPopoverRef.current);b?.focus()},[x,e.menuPopoverRef]),k=Pu();return y.useEffect(()=>{if(s)w();else if(!k){var b,B;if(t?.activeElement===t?.body||!((b=e.menuPopoverRef.current)===null||b===void 0)&&b.contains((B=t?.activeElement)!==null&&B!==void 0?B:null)){var _;(_=e.triggerRef.current)===null||_===void 0||_.focus()}}},[e.triggerRef,e.isSubmenu,s,w,t,e.menuPopoverRef]),[s,m]};function A_(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:i,inline:l,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:g,openOnContext:m,openOnHover:h,persistOnItemClick:x,safeZone:w,setOpen:k,triggerId:b,triggerRef:B}=e;return{menu:y.useMemo(()=>({checkedValues:t,hasCheckmarks:r,hasIcons:i,inline:l,isSubmenu:s,menuPopoverRef:c,mountNode:d,onCheckedValueChange:f,open:g,openOnContext:m,openOnHover:h,persistOnItemClick:x,safeZone:w,setOpen:k,triggerId:b,triggerRef:B}),[t,r,i,l,s,c,d,f,g,m,h,x,w,k,b,B])}}const H_=(e,t)=>Ce(v_,{value:t.menu,children:[e.menuTrigger,e.menuPopover&&H(e.surfaceMotion,{children:H(Dl,{children:e.menuPopover})})]}),L_=e=>{const t=I_(e),r=A_(t);return H_(t,r)};L_.displayName="Menu";const V_=(e,t)=>({components:{root:"div"},root:ue(De("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}),W_={root:"fui-MenuDivider"},U_=G({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f8dz51a",a9b677:"f14z66ap",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"}},{d:[[".f8dz51a{margin:4px -5px 4px -5px;}",{p:-1}],".f14z66ap{width:auto;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}]]}),$_=e=>{"use no memo";const t=U_();return e.root.className=L(W_.root,t.root,e.root.className),e},X_=e=>H(e.root,{}),G_=y.forwardRef((e,t)=>{const r=V_(e,t);return $_(r),Se("useMenuDividerStyles_unstable")(r),X_(r)});G_.displayName="MenuDivider";const K_=(e,t)=>{"use no memo";const r=qi(l=>l.setFocusByFirstCharacter),{onKeyDown:i}=e.root;return e.root.onKeyDown=l=>{var s;i?.(l),!(((s=l.key)===null||s===void 0?void 0:s.length)>1)&&t.current&&r?.(l,t.current)},e},Qh=y.createContext(void 0),Yh={setMultiline:()=>null};Qh.Provider;const Jh=()=>{var e;return(e=y.useContext(Qh))!==null&&e!==void 0?e:Yh},Zh=()=>Jh()!==Yh,Q_=Lv(U1,W1),Y_=Lv(X1,$1),J_=(e,t)=>{const{dir:r}=Te(),i=Z_(e,t);if(i.submenuIndicator){var l,s;(s=(l=i.submenuIndicator).children)!==null&&s!==void 0||(l.children=r==="rtl"?y.createElement(Y_,null):y.createElement(Q_,null))}return i},Z_=(e,t)=>{const r=b_(),i=Oe(_=>_.persistOnItemClick),{as:l="div",disabled:s=!1,hasSubmenu:c=r,persistOnClick:d=i,content:f,...g}=e,{hasIcons:m,hasCheckmarks:h}=t5({hasSubmenu:c}),x=Oe(_=>_.setOpen);e5({multiline:!!e.subText,hasSubmenu:c});const w=y.useRef(null),k=y.useRef(!1),b=Kh(o5(e.role)),B={hasSubmenu:c,disabled:s,persistOnClick:d,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:ue(De(l,Or(l,{role:"menuitem",...g,disabled:!1,disabledFocusable:s,ref:Ne(t,w,b),onKeyDown:te(_=>{var T;(T=e.onKeyDown)===null||T===void 0||T.call(e,_),!_.isDefaultPrevented()&&(_.key===lo||_.key===ur)&&(k.current=!0)}),onMouseMove:te(_=>{var T;if(_.currentTarget.ownerDocument.activeElement!==_.currentTarget){var z;(z=w.current)===null||z===void 0||z.focus()}(T=e.onMouseMove)===null||T===void 0||T.call(e,_)}),onClick:te(_=>{var T;!c&&!d&&(x(_,{open:!1,keyboard:k.current,bubble:!0,type:"menuItemClick",event:_}),k.current=!1),(T=e.onClick)===null||T===void 0||T.call(e,_)})})),{elementType:"div"}),icon:he(e.icon,{renderByDefault:m,elementType:"span"}),checkmark:he(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:he(e.submenuIndicator,{renderByDefault:c,elementType:"span"}),content:he(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:he(e.secondaryContent,{elementType:"span"}),subText:he(e.subText,{elementType:"span"})};return K_(B,w),B},e5=e=>{const{hasSubmenu:t,multiline:r}=e,i=Zh()&&t,{setMultiline:l}=Jh();We(()=>{i||l(r)},[l,r,i])},t5=e=>{const{hasSubmenu:t}=e,r=qi(s=>s.hasIcons),i=qi(s=>s.hasCheckmarks),l=Zh()&&t;return{hasIcons:r&&!l,hasCheckmarks:i&&!l}},o5=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},r5=e=>Ce(e.root,{children:[e.checkmark&&H(e.checkmark,{}),e.icon&&H(e.icon,{}),e.content&&Ce(e.content,{children:[e.content.children,e.subText&&H(e.subText,{})]}),e.secondaryContent&&H(e.secondaryContent,{}),e.submenuIndicator&&H(e.submenuIndicator,{})]}),n5=y.forwardRef((e,t)=>{const r=J_(e,t);return P_(r),Se("useMenuItemStyles_unstable")(r),r5(r)});n5.displayName="MenuItem";const i5=(e,t)=>{const{findAllFocusable:r}=vr(),{targetDocument:i}=Te(),l=a5(),s=Oi(id),c=_i({circular:!0});l5(e,l,s)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const d=y.useRef(null),f=Kh();y.useEffect(()=>{const _=d.current;if(s&&i&&_){const T=z=>{const N=z.detail.next;N&&_.contains(i.activeElement)&&!_.contains(N)&&z.preventDefault()};return i.addEventListener(uu,T),()=>{i.removeEventListener(uu,T)}}},[d,i,s]);const g=y.useCallback((_,T)=>{const z=["menuitem","menuitemcheckbox","menuitemradio"];if(!d.current)return;const N=r(d.current,ie=>ie.hasAttribute("role")&&z.indexOf(ie.getAttribute("role"))!==-1);let q=N.indexOf(T)+1;q===N.length&&(q=0);const j=N.map(ie=>{var se;return(se=ie.textContent)===null||se===void 0?void 0:se.charAt(0).toLowerCase()}),F=_.key.toLowerCase(),V=(ie,se)=>{for(let Z=ie;Z<j.length;Z++)if(F===j[Z])return Z;return-1};let $=V(q);$===-1&&($=V(0)),$>-1&&N[$].focus()},[r]);var m;const[h,x]=wt({state:(m=e.checkedValues)!==null&&m!==void 0?m:s?l.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var w;const k=(w=e.onCheckedValueChange)!==null&&w!==void 0?w:s?l.onCheckedValueChange:void 0,b=te((_,T,z,N)=>{const j=[...h?.[T]||[]];N?j.splice(j.indexOf(z),1):j.push(z),k?.(_,{name:T,checkedItems:j}),x(F=>({...F,[T]:j}))}),B=te((_,T,z)=>{const N=[z];x(q=>({...q,[T]:N})),k?.(_,{name:T,checkedItems:N})});return{components:{root:"div"},root:ue(De("div",{ref:Ne(t,d,f),role:"menu","aria-labelledby":l.triggerId,...c,...e}),{elementType:"div"}),hasIcons:l.hasIcons||!1,hasCheckmarks:l.hasCheckmarks||!1,checkedValues:h,hasMenuContext:s,setFocusByFirstCharacter:g,selectRadio:B,toggleCheckbox:b}},a5=()=>{const e=Oe(s=>s.checkedValues),t=Oe(s=>s.onCheckedValueChange),r=Oe(s=>s.triggerId),i=Oe(s=>s.hasIcons),l=Oe(s=>s.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:t,triggerId:r,hasIcons:i,hasCheckmarks:l}},l5=(e,t,r)=>{let i=!1;for(const l in t)e[l]&&(i=!0);return r&&i},s5=(e,t)=>H(w_,{value:t.menuList,children:H(e.root,{})});function c5(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:i,selectRadio:l,setFocusByFirstCharacter:s,toggleCheckbox:c}=e;return{menuList:y.useMemo(()=>({checkedValues:t,hasCheckmarks:r,hasIcons:i,selectRadio:l,setFocusByFirstCharacter:s,toggleCheckbox:c}),[t,r,i,l,s,c])}}const u5={root:"fui-MenuList"},d5=G({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%;}"]}),f5=e=>{"use no memo";const t=d5();return e.root.className=L(u5.root,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className),e},p5=y.forwardRef((e,t)=>{const r=i5(e,t),i=c5(r);return f5(r),Se("useMenuListStyles_unstable")(r),s5(r,i)});p5.displayName="MenuList";const g5=(e,t)=>{"use no memo";const r=Oe(F=>F.safeZone),i=Oe(F=>F.menuPopoverRef),l=Oe(F=>F.setOpen),s=Oe(F=>F.open),c=Oe(F=>F.openOnHover),d=Oe(F=>F.triggerRef),f=ld(),g=qi(F=>{var V;return(V=F.shouldCloseOnArrowLeft)!==null&&V!==void 0?V:!0}),m=y.useRef(!0),h=fx(),[x,w]=gr(),{dir:k}=Te(),b=k==="ltr"?Ai:Hi,B=y.useCallback(F=>{F&&F.addEventListener("mouseover",V=>{m.current&&(m.current=!1,x_(i.current,V),x(()=>{m.current=!0},250))})},[i,x]);y.useEffect(()=>()=>w(),[w]);var _;const T=(_=Oe(F=>F.inline))!==null&&_!==void 0?_:!1,z=Oe(F=>F.mountNode),N=ue(De("div",{role:"presentation",...h,...e,ref:Ne(t,i,B,Rl())}),{elementType:"div"}),{onMouseEnter:q,onKeyDown:j}=N;return N.onMouseEnter=te(F=>{(c||f)&&l(F,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:F}),q?.(F)}),N.onKeyDown=te(F=>{const V=F.key;if(V===br||f&&g&&V===b){var $;s&&(!(($=i.current)===null||$===void 0)&&$.contains(F.target))&&!F.isDefaultPrevented()&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),F.preventDefault())}if(V===Wm&&(l(F,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:F}),!f)){var ie;(ie=d.current)===null||ie===void 0||ie.focus()}j?.(F)}),{inline:T,mountNode:z,safeZone:r,components:{root:"div"},root:N}},v5={root:"fui-MenuPopover"},m5=G({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"}},{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);}"]}),h5=e=>{"use no memo";const t=m5();return e.root.className=L(v5.root,t.root,e.root.className),e},b5=e=>e.inline?Ce(y.Fragment,{children:[H(e.root,{}),e.safeZone]}):Ce(Vr,{mountNode:e.mountNode,children:[H(e.root,{}),e.safeZone]}),y5=y.forwardRef((e,t)=>{const r=g5(e,t);return h5(r),Se("useMenuPopoverStyles_unstable")(r),b5(r)});y5.displayName="MenuPopover";function w5(){}const k5=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,i=Oe(K=>K.triggerRef),l=Oe(K=>K.menuPopoverRef),s=Oe(K=>K.setOpen),c=Oe(K=>K.open),d=Oe(K=>K.triggerId),f=Oe(K=>K.openOnHover),g=Oe(K=>K.openOnContext),m=ld(),h=qi(K=>{var A;return(A=K.shouldOpenOnArrowRight)!==null&&A!==void 0?A:!0}),{findFirstFocusable:x}=vr(),w=y.useCallback(()=>{const K=x(l.current);K?.focus()},[x,l]),k=y.useRef(!1),b=y.useRef(!1),B=y.useRef(!1),{dir:_}=Te(),T=_==="ltr"?Hi:Ai,z=Fi(t),N=B_(te(()=>{m&&(b.current=!0)})),q=K=>{hn(K)||K.isDefaultPrevented()||g&&(K.preventDefault(),s(K,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:K}))},j=K=>{hn(K)||g||(s(K,{open:!c,keyboard:k.current,type:"menuTriggerClick",event:K}),k.current=!1)},F=K=>{if(hn(K)||K.isDefaultPrevented())return;const A=K.key;!g&&(m&&h&&A===T||!m&&A===Ni)&&s(K,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:K}),A===br&&!m&&s(K,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:K}),c&&A===T&&m&&h&&w()},V=K=>{hn(K)||f&&(B.current?s(K,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:K}):b.current&&(s(K,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:K}),b.current=!1))},$=K=>{hn(K)||f&&!B.current&&(s(K,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:K}),B.current=!0)},ie=K=>{hn(K)||f&&s(K,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:K})};var se;const Z={id:d,...z?.props,ref:Ne(i,Pi(z),N),onMouseEnter:te((se=z?.props.onMouseEnter)!==null&&se!==void 0?se:w5),onMouseLeave:te(me(z?.props.onMouseLeave,ie)),onContextMenu:te(me(z?.props.onContextMenu,q)),onMouseMove:te(me(z?.props.onMouseMove,$)),onMouseOver:te(me(z?.props.onMouseOver,V))},re={"aria-haspopup":"menu","aria-expanded":!c&&!m?void 0:c,...Z,onClick:te(me(z?.props.onClick,j)),onKeyDown:te(me(z?.props.onKeyDown,F))},oe=Or(z?.type==="button"||z?.type==="a"?z.type:"div",re);return{isSubmenu:m,children:Nl(t,g?Z:r?re:oe)}},hn=e=>{const t=r=>r.hasAttribute("disabled")||r.hasAttribute("aria-disabled")&&r.getAttribute("aria-disabled")==="true";return Mt(e.target)&&t(e.target)?!0:Mt(e.currentTarget)&&t(e.currentTarget)},x5=e=>y.createElement(h_,{value:e.isSubmenu},e.children),e0=e=>{const t=k5(e);return x5(t)};e0.displayName="MenuTrigger";e0.isFluentTriggerComponent=!0;const t0=y.createContext(void 0),B5={};t0.Provider;const S5=()=>y.useContext(t0)||B5,z5=e=>Ce(e.root,{children:[H(e.input,{}),H(e.indicator,{}),e.label&&H(e.label,{})]}),_5=(e,t)=>{const r=N5(e,t);return{...r,components:{...r.components,label:uo},label:he(e.label,{defaultProps:{...r.label},elementType:uo})}},N5=(e,t)=>{const r=S5(),{name:i=r.name,checked:l=r.value!==void 0?r.value===e.value:void 0,defaultChecked:s=r.defaultValue!==void 0?r.defaultValue===e.value:void 0,labelPosition:c=r.layout==="horizontal-stacked"?"below":"after",disabled:d=r.disabled,required:f=r.required,"aria-describedby":g=r["aria-describedby"],onChange:m}=e,h=Po({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=ue(e.root,{defaultProps:{ref:Sn(),...h.root},elementType:"span"}),w=ue(e.input,{defaultProps:{ref:t,type:"radio",id:st("radio-",h.primary.id),name:i,checked:l,defaultChecked:s,disabled:d,required:f,"aria-describedby":g,...h.primary},elementType:"input"});w.onChange=me(w.onChange,B=>m?.(B,{value:B.currentTarget.value}));const k=he(e.label,{defaultProps:{htmlFor:w.id,disabled:w.disabled},elementType:"label"}),b=ue(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:c,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:w,label:k,indicator:b}},rl={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},C5=be("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[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);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[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){.r1siqwd8[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){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),T5=G({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),j5=be("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),q5=G({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),E5=be("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),R5=G({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),D5=e=>{"use no memo";const{labelPosition:t}=e,r=C5(),i=T5();e.root.className=L(rl.root,r,t==="below"&&i.vertical,e.root.className);const l=j5(),s=q5();e.input.className=L(rl.input,l,t==="below"&&s.below,e.indicator.children?s.customIndicator:s.defaultIndicator,e.input.className);const c=E5();e.indicator.className=L(rl.indicator,c,e.indicator.className);const d=R5();return e.label&&(e.label.className=L(rl.label,d.base,d[t],e.label.className)),e},Su=y.forwardRef((e,t)=>{const r=_5(e,t);return D5(r),Se("useRadioStyles_unstable")(r),z5(r)});Su.displayName="Radio";const P5=(e,t)=>{e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=Di();var i;const{appearance:l=(i=r.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",size:s="medium",...c}=e,d=F5(c,t);if(d.icon){var f,g;(g=(f=d.icon).children)!==null&&g!==void 0||(f.children=y.createElement(Ru,null))}return{...d,appearance:l,size:s}},F5=(e,t)=>{const{defaultValue:r,value:i,select:l,icon:s,root:c,onChange:d}=e,f=Po({props:e,primarySlotTagName:"select",excludedPropNames:["defaultValue","onChange","value"]}),g={components:{root:"span",select:"select",icon:"span"},select:ue(l,{defaultProps:{defaultValue:r,value:i,ref:t,...f.primary},elementType:"select"}),icon:he(s,{renderByDefault:!0,elementType:"span"}),root:ue(c,{defaultProps:f.root,elementType:"span"})};return g.select.onChange=te(m=>{d?.(m,{value:m.target.value})}),g},I5=e=>Ce(e.root,{children:[H(e.select,{children:e.select.children}),e.icon&&H(e.icon,{})]}),eu={root:"fui-Select",select:"fui-Select__select",icon:"fui-Select__icon"},M5=G({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Eh141a:"flvyvdh",Bahqtrf:"fk6fouc",qhf8xq:"f10pi13n",h62rwi:"f7ll8cq",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fe5s0lv",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",Dlnsje:"fhwjr99",E3zdtr:"f1mdlcz9",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"],b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".flvyvdh{flex-wrap:nowrap;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f10pi13n{position:relative;}",`.f7ll8cq::after{background-image:linear-gradient(
|
|
10
|
+
0deg,
|
|
11
|
+
var(--colorCompoundBrandStroke) 0%,
|
|
12
|
+
var(--colorCompoundBrandStroke) 50%,
|
|
13
|
+
transparent 50%,
|
|
14
|
+
transparent 100%
|
|
15
|
+
);}`,[".fe5s0lv::after{border-radius:0 0 var(--borderRadiusMedium) var(--borderRadiusMedium);}",{p:-1}],".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".fhwjr99::after{height:var(--borderRadiusMedium);}",".f1mdlcz9::after{position:absolute;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".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);}"]}),O5=G({base:{Bowrso0:"fqrijq1",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:"faev5xe",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",E5pizo:"f1couhl3",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bceei9c:"f1k6fduh",Bh6795r:"fqerorx",B2u0y6b:"f6dzj5z",Byoj8tv:"f1qch9an",z8tnut:"f1g0x7ka",B3aqqti:"fatbyko",Brovlpu:"f1grzc83",Bxa1mx5:"f19shzzi"},disabled:{De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledUnderline:{g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f4ikngz",zhjwy3:["fziff3p","f1mxt3zg"]},small:{Bqenvij:"frvgh55",uwmqm3:["f1xile11","fqznh8f"],z189sj:["fiqd4sw","f11fkzut"],Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{Bqenvij:"f1d2rq10",uwmqm3:["f1e60jzv","f135dnwl"],z189sj:["f154vowv","flqamny"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{Bqenvij:"fbhnoac",uwmqm3:["fnphzt9","flt1dlf"],z189sj:["f1xi5ia2","f1xi1l47"],Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},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:"fm9niy"},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:"fd91s9p",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",C8i20h:"fb77jct"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker":{De3pzq:"f16xq7d1"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"}},{d:[".fqrijq1{-webkit-appearance:none;-moz-appearance:none;appearance:none;}",[".faev5xe{border:1px solid transparent;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1couhl3{box-shadow:none;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1k6fduh{cursor:pointer;}",".fqerorx{flex-grow:1;}",".f6dzj5z{max-width:100%;}",".f1qch9an{padding-bottom:0;}",".f1g0x7ka{padding-top:0;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".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;}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".frvgh55{height:24px;}",".f1xile11{padding-left:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",".fqznh8f{padding-right:calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",`.fiqd4sw{padding-right:calc(var(--spacingHorizontalSNudge)
|
|
16
|
+
+ 16px
|
|
17
|
+
+ var(--spacingHorizontalXXS)
|
|
18
|
+
+ var(--spacingHorizontalXXS));}`,`.f11fkzut{padding-left:calc(var(--spacingHorizontalSNudge)
|
|
19
|
+
+ 16px
|
|
20
|
+
+ var(--spacingHorizontalXXS)
|
|
21
|
+
+ var(--spacingHorizontalXXS));}`,".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1d2rq10{height:32px;}",".f1e60jzv{padding-left:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",".f135dnwl{padding-right:calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",`.f154vowv{padding-right:calc(var(--spacingHorizontalMNudge)
|
|
22
|
+
+ 20px
|
|
23
|
+
+ var(--spacingHorizontalXXS)
|
|
24
|
+
+ var(--spacingHorizontalXXS));}`,`.flqamny{padding-left:calc(var(--spacingHorizontalMNudge)
|
|
25
|
+
+ 20px
|
|
26
|
+
+ var(--spacingHorizontalXXS)
|
|
27
|
+
+ var(--spacingHorizontalXXS));}`,".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fbhnoac{height:40px;}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",`.f1xi5ia2{padding-right:calc(var(--spacingHorizontalM)
|
|
28
|
+
+ 24px
|
|
29
|
+
+ var(--spacingHorizontalSNudge)
|
|
30
|
+
+ var(--spacingHorizontalSNudge));}`,`.f1xi1l47{padding-left:calc(var(--spacingHorizontalM)
|
|
31
|
+
+ 24px
|
|
32
|
+
+ var(--spacingHorizontalSNudge)
|
|
33
|
+
+ var(--spacingHorizontalSNudge));}`,".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fm9niy{border:1px solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".fd91s9p{border-bottom:1px solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],".fb77jct option{background-color:var(--colorNeutralBackground1);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".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);}"],f:[".fatbyko:focus{outline-width:2px;}",".f1grzc83:focus{outline-style:solid;}",".f19shzzi:focus{outline-color:transparent;}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],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);}"]}),A5=G({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",qhf8xq:"f1euv43f",Bkecrkj:"f1aehjj5",Bo70h7d:"fvc9v3g"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},small:{Be2twd7:"f4ybsrx",Bqenvij:"fd461yt",j35jbq:["f13lnp83","f1i5nn0v"],a9b677:"fjw5fx7"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",j35jbq:["fnyteob","f1enpzzf"],a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",j35jbq:["f8b87gs","fedtrts"],a9b677:"fq4mcun"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1euv43f{position:absolute;}",".f1aehjj5{pointer-events:none;}",".fvc9v3g svg{display:block;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f4ybsrx{font-size:16px;}",".fd461yt{height:16px;}",".f13lnp83{right:var(--spacingHorizontalSNudge);}",".f1i5nn0v{left:var(--spacingHorizontalSNudge);}",".fjw5fx7{width:16px;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".fnyteob{right:var(--spacingHorizontalMNudge);}",".f1enpzzf{left:var(--spacingHorizontalMNudge);}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".f8b87gs{right:var(--spacingHorizontalM);}",".fedtrts{left:var(--spacingHorizontalM);}",".fq4mcun{width:24px;}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),H5=e=>{"use no memo";const{size:t,appearance:r}=e,i=e.select.disabled,l=`${e.select["aria-invalid"]}`=="true",s=A5(),c=M5(),d=O5();return e.root.className=L(eu.root,c.base,e.root.className),e.select.className=L(eu.select,d.base,d[t],d[r],!i&&r==="outline"&&d.outlineInteractive,!i&&l&&r!=="underline"&&d.invalid,!i&&l&&r==="underline"&&d.invalidUnderline,i&&d.disabled,i&&r==="underline"&&d.disabledUnderline,e.select.className),e.icon&&(e.icon.className=L(eu.icon,s.icon,i&&s.disabled,s[t],e.icon.className)),e},L5=y.forwardRef((e,t)=>{const r=P5(e,t);return H5(r),Se("useSelectStyles_unstable")(r),I5(r)});L5.displayName="Select";const yv=(e,t,r)=>{let i=e;if(t!==void 0){if(r!==void 0&&t>r)return e;i=Math.max(t,i)}return r!==void 0&&(i=Math.min(r,i)),i},wv=(e,t,r)=>t!==void 0&&e===t?r===t?"both":"min":r!==void 0&&e===r?"max":"none";function V5(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}function yi(e,t,r=10){const i=r**t;return Math.round(e*i)/i}const tu=150,W5=80,U5=1e3,$5=(e,t,r)=>e+(t-e)*r,X5=(e,t)=>{const r=Po({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","value"]}),{value:i,displayValue:l,defaultValue:s,min:c,max:d,step:f=1,stepPage:g=1,precision:m,onChange:h,root:x,input:w,incrementButton:k,decrementButton:b}=e,B=y.useMemo(()=>m??Math.max(V5(f),0),[m,f]),[_,T]=wt({state:i,defaultState:s,initialState:0}),z=y.useRef(null),N=i!==void 0,[q,j]=y.useState(void 0),[F,V]=y.useState("rest"),$=y.useRef({value:_,spinState:"rest",spinTime:0,spinDelay:tu,atBound:_!==null?wv(yi(_,B),c,d):"none"}),[ie,se]=gr(),Z=(le,_e,ct)=>{let gt=$.current.value;if(ct){const Ao=parseFloat(ct);isNaN(Ao)||(gt=Ao)}const Oo=gt,Bo=_e==="up"||_e==="upPage"?1:-1,Yt=_e==="upPage"||_e==="downPage"?g:f;if(Oo===null){const jn=yv((c===void 0?0:c)+Yt*Bo,c,d);U(le,jn);return}let kr=Oo+Yt*Bo;Number.isNaN(kr)||(kr=yv(kr,c,d)),U(le,kr),$.current.spinState!=="rest"&&ie(()=>{$.current.spinTime+=$.current.spinDelay,$.current.spinDelay=$5(tu,W5,$.current.spinTime/U5),Z(le,_e)},$.current.spinDelay)},re=le=>{$.current.previousTextValue||($.current.previousTextValue=q??String(_));const _e=le.target.value;j(_e),z.current&&(z.current.ariaValueNow=_e)},oe=le=>{U(le,_,q),$.current.spinState="up",Z(le,"up")},K=le=>{U(le,_,q),$.current.spinState="down",Z(le,"down")},A=le=>{se(),$.current.spinState="rest",$.current.spinDelay=tu,$.current.spinTime=0},ae=le=>{U(le,_,q),$.current.previousTextValue=void 0},D=le=>{let _e="rest";le.currentTarget.readOnly||(le.key===ki?(Z(le,"up",q),_e="up"):le.key===Ni?(Z(le,"down",q),_e="down"):le.key===$m?(le.preventDefault(),Z(le,"upPage",q),_e="up"):le.key===Um?(le.preventDefault(),Z(le,"downPage",q),_e="down"):!le.shiftKey&&le.key===Wu&&c!==void 0?(U(le,c),_e="down"):!le.shiftKey&&le.key===Vu&&d!==void 0?(U(le,d),_e="up"):le.key===ur?(U(le,_,q),$.current.previousTextValue=void 0):le.key===br&&$.current.previousTextValue&&(j(void 0),$.current.previousTextValue=void 0),F!==_e&&V(_e))},W=le=>{F!=="rest"&&(V("rest"),$.current.spinState="rest")},U=(le,_e,ct)=>{const gt=_e!==void 0&&_!==_e,Oo=ct!==void 0&&$.current.previousTextValue!==void 0&&$.current.previousTextValue!==ct;let Bo;if(gt)Bo=yi(_e,B),T(Bo),$.current.value=Bo;else if(Oo&&!N){const Yt=parseFloat(ct);isNaN(Yt)||(T(yi(Yt,B)),$.current.value=yi(Yt,B))}(gt||Oo)&&h?.(le,{value:Bo,displayValue:ct}),j(void 0)};let ke;if(q!==void 0)ke=q;else if(i===null||_===null)ke=l??"",$.current.value=null,$.current.atBound="none";else{const le=yi(_,B);$.current.value=le,$.current.atBound=wv(le,c,d),N?ke=l??String(le):ke=String(le)}const X={spinState:F,atBound:$.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:ue(x,{defaultProps:r.root,elementType:"span"}),input:ue(w,{defaultProps:{autoComplete:"off",role:"spinbutton",type:"text",...r.primary},elementType:"input"}),incrementButton:ue(k,{defaultProps:{tabIndex:-1,disabled:r.primary.readOnly||r.primary.disabled||$.current.atBound==="max"||$.current.atBound==="both","aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:ue(b,{defaultProps:{tabIndex:-1,disabled:r.primary.readOnly||r.primary.disabled||$.current.atBound==="min"||$.current.atBound==="both","aria-label":"Decrement value",type:"button"},elementType:"button"})};X.input.value=ke,X.input.ref=Ne(z,t),X.input["aria-valuemin"]=c,X.input["aria-valuemax"]=d;var ve;X.input["aria-valuenow"]=(ve=$.current.value)!==null&&ve!==void 0?ve:void 0;var ze;return X.input["aria-valuetext"]=(ze=X.input["aria-valuetext"])!==null&&ze!==void 0?ze:i!==void 0&&l||void 0,X.input.onChange=me(X.input.onChange,re),X.input.onInput=me(X.input.onInput,re),X.input.onBlur=me(X.input.onBlur,ae),X.input.onKeyDown=me(X.input.onKeyDown,D),X.input.onKeyUp=me(X.input.onKeyUp,W),X.incrementButton.onMouseDown=me(oe,X.incrementButton.onMouseDown),X.incrementButton.onMouseUp=me(X.incrementButton.onMouseUp,A),X.incrementButton.onMouseLeave=me(X.incrementButton.onMouseLeave,A),X.decrementButton.onMouseDown=me(K,X.decrementButton.onMouseDown),X.decrementButton.onMouseUp=me(X.decrementButton.onMouseUp,A),X.decrementButton.onMouseLeave=me(X.decrementButton.onMouseLeave,A),X},G5=(e,t)=>{var r,i;e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0});const l=Di();var s;const{appearance:c=(s=l.inputDefaultAppearance)!==null&&s!==void 0?s:"outline",size:d="medium",...f}=e,g=X5(f,t);var m;(m=(r=g.incrementButton).children)!==null&&m!==void 0||(r.children=y.createElement(G1,null));var h;return(h=(i=g.decrementButton).children)!==null&&h!==void 0||(i.children=y.createElement(K1,null)),{...g,appearance:c,size:d}},K5=e=>Ce(e.root,{children:[H(e.input,{}),H(e.incrementButton,{}),H(e.decrementButton,{})]}),nl={root:"fui-SpinButton",input:"fui-SpinButton__input",incrementButton:"fui-SpinButton__incrementButton",decrementButton:"fui-SpinButton__decrementButton"},kv={buttonActive:"fui-SpinButton__button_active"},Q5=be("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;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);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;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);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Y5=G({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{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"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Bvljrlq:"f1p5b8em",Cqojjj:["fs6f9xf","f11b7h5x"],G3zxag:"f1vrn6tw",H8270r:["f11b7h5x","fs6f9xf"]}},{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);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f1p5b8em::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11b7h5x::before{border-left-color:GrayText;}.fs6f9xf::before{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vrn6tw::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),J5=be("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Z5=G({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),xv=be("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),e4=G({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),t4=e=>{"use no memo";const{appearance:t,spinState:r,size:i}=e,l=e.input.disabled,s=`${e.input["aria-invalid"]}`=="true",c=t.startsWith("filled"),d=Y5(),f=e4(),g=Z5();return e.root.className=L(nl.root,Q5(),d[i],d[t],c&&d.filled,!l&&t==="outline"&&d.outlineInteractive,!l&&t==="underline"&&d.underlineInteractive,!l&&c&&d.filledInteractive,!l&&s&&d.invalid,l&&d.disabled,e.root.className),e.incrementButton.className=L(nl.incrementButton,r==="up"&&`${kv.buttonActive}`,xv(),f.increment,f[t],i==="small"&&f.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=L(nl.decrementButton,r==="down"&&`${kv.buttonActive}`,xv(),f.decrement,f[t],i==="small"&&f.decrementButtonSmall,e.decrementButton.className),e.input.className=L(nl.input,J5(),l&&g.disabled,e.input.className),e},o4=y.forwardRef((e,t)=>{const r=G5(e,t);return t4(r),Se("useSpinButtonStyles_unstable")(r),K5(r)});o4.displayName="SpinButton";const o0=y.createContext(void 0),r4={};o0.Provider;const n4=()=>{var e;return(e=y.useContext(o0))!==null&&e!==void 0?e:r4},i4=(e,t)=>{const{size:r}=n4(),{appearance:i="primary",size:l=r??"medium",...s}=e,c=a4(s,t);return{...c,appearance:i,size:l,components:{...c.components,label:uo},label:he(e.label,{defaultProps:c.label,elementType:uo})}},a4=(e,t)=>{const{delay:r=0,labelPosition:i="after"}=e,l=st("spinner"),{role:s="progressbar",...c}=e,d=ue(De("div",{ref:t,role:s,...c}),{elementType:"div"}),[f,g]=y.useState(!1),[m,h]=gr();y.useEffect(()=>{if(!(r<=0))return m(()=>{g(!0)},r),()=>{h()}},[m,h,r]);const x=he(e.label,{defaultProps:{id:l},renderByDefault:!1,elementType:"label"}),w=he(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&d&&!d["aria-labelledby"]&&(d["aria-labelledby"]=x.id),{delay:r,labelPosition:i,shouldRenderSpinner:!r||f,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:d,spinner:w,spinnerTail:ue(e.spinnerTail,{elementType:"span"}),label:x}},l4=e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return Ce(e.root,{children:[e.label&&r&&(t==="above"||t==="before")&&H(e.label,{}),e.spinner&&r&&H(e.spinner,{children:e.spinnerTail&&H(e.spinnerTail,{})}),e.label&&r&&(t==="below"||t==="after")&&H(e.label,{})]})},il={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},s4=be("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),c4=G({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),u4=be("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;}}"]}),d4=be("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;}}"]}),f4=G({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"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){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),p4=G({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);}"]}),g4=e=>{"use no memo";const{labelPosition:t,size:r,appearance:i}=e,{dir:l}=Te(),s=s4(),c=c4(),d=u4(),f=f4(),g=d4(),m=p4();return e.root.className=L(il.root,s,(t==="above"||t==="below")&&c.vertical,e.root.className),e.spinner&&(e.spinner.className=L(il.spinner,d,f[r],i==="inverted"&&f.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=L(il.spinnerTail,g,l==="rtl"&&f.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=L(il.label,m[r],i==="inverted"&&m.inverted,e.label.className)),e},v4=y.forwardRef((e,t)=>{const r=i4(e,t);return g4(r),Se("useSpinnerStyles_unstable")(r),l4(r)});v4.displayName="Spinner";const m4=(e,t)=>{var r;const{size:i="medium",...l}=e,s=h4(l,t);var c;return(c=(r=s.indicator).children)!==null&&c!==void 0||(r.children=y.createElement(Av,null)),{...s,components:{...s.components,label:uo},size:i,label:he(e.label,{defaultProps:{size:"medium",...s.label},elementType:uo})}},h4=(e,t)=>{e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:r,defaultChecked:i,disabled:l,disabledFocusable:s=!1,labelPosition:c="after",onChange:d,required:f}=e,g=Po({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),m=st("switch-",g.primary.id),h=ue(e.root,{defaultProps:{ref:Sn(),...g.root},elementType:"div"}),x=ue(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),w=ue(e.input,{defaultProps:{checked:r,defaultChecked:i,id:m,ref:t,role:"switch",type:"checkbox",...g.primary,disabled:l&&!s,...s&&{"aria-disabled":!0}},elementType:"input"});w.onChange=me(w.onChange,b=>d?.(b,{checked:b.currentTarget.checked})),w.onClick=me(w.onClick,b=>{s&&b.preventDefault()}),w.onKeyDown=me(w.onKeyDown,b=>{s&&(b.key===" "||b.key==="Enter")&&b.preventDefault()});const k=he(e.label,{defaultProps:{disabled:l||s,htmlFor:m,required:f},elementType:"label"});return{disabledFocusable:s,labelPosition:c,components:{root:"div",indicator:"div",input:"input",label:"label"},root:h,indicator:x,input:w,label:k}},b4=e=>{const{labelPosition:t}=e;return Ce(e.root,{children:[H(e.input,{}),t!=="after"&&e.label&&H(e.label,{}),H(e.indicator,{}),t==="after"&&e.label&&H(e.label,{})]})},al={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},y4=be("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[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);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[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){.r2i81i2[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){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),w4=G({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),k4=be("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),x4=G({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),B4=be("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),S4=G({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),z4=G({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),_4=e=>{"use no memo";const t=y4(),r=w4(),i=k4(),l=x4(),s=B4(),c=S4(),d=z4(),{label:f,labelPosition:g,size:m}=e;return e.root.className=L(al.root,t,g==="above"&&r.vertical,e.root.className),e.indicator.className=L(al.indicator,i,f&&g==="above"&&l.labelAbove,m==="small"&&l.sizeSmall,e.indicator.className),e.input.className=L(al.input,s,f&&c[g],m==="small"&&c.sizeSmall,e.input.className),e.label&&(e.label.className=L(al.label,d.base,d[g],m==="small"&&d.sizeSmall,e.label.className)),e},N4=y.forwardRef((e,t)=>{const r=m4(e,t);return _4(r),Se("useSwitchStyles_unstable")(r),b4(r)});N4.displayName="Switch";const C4=(e,t)=>{const{appearance:r="transparent",reserveSelectedTabSpace:i=!0,size:l="medium"}=e,s=T4(e,t),c=j4({vertical:s.vertical});return{...s,root:{...c,...s.root},appearance:r,reserveSelectedTabSpace:i,size:l}},T4=(e,t)=>{const{disabled:r=!1,onTabSelect:i,selectTabOnFocus:l=!1,vertical:s=!1,selectedValue:c,defaultSelectedValue:d,...f}=e,g=y.useRef(null),[m,h]=wt({state:c,defaultState:d,initialState:void 0}),x=y.useRef(void 0),w=y.useRef(void 0);y.useEffect(()=>{w.current=x.current,x.current=m},[m]);const k=te((z,N)=>{h(N.value),i?.(z,N)}),b=y.useRef({}),B=te(z=>{const N=JSON.stringify(z.value);b.current[N]=z}),_=te(z=>{delete b.current[JSON.stringify(z.value)]}),T=y.useCallback(()=>({selectedValue:x.current,previousSelectedValue:w.current,registeredTabs:b.current}),[]);return{components:{root:"div"},root:ue({ref:Ne(t,g),role:"tablist","aria-orientation":s?"vertical":"horizontal",...f},{elementType:"div"}),disabled:r,selectTabOnFocus:l,selectedValue:m,onRegister:B,onUnregister:_,onSelect:k,getRegisteredTabs:T,vertical:s}},j4=({vertical:e})=>_i({circular:!0,axis:e?"vertical":"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}),q4={appearance:"transparent",reserveSelectedTabSpace:!0,selectTabOnFocus:!1,disabled:!1,selectedValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredTabs:()=>({registeredTabs:{}}),size:"medium",vertical:!1},r0=hr(void 0),E4=r0.Provider,io=e=>Lr(r0,(t=q4)=>e(t)),R4=(e,t)=>H(e.root,{children:H(E4,{value:t.tabList,children:e.root.children})}),D4={root:"fui-TabList"},P4=G({root:{mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bnnss6s:"fi64zpg",Eh141a:"flvyvdh",qhf8xq:"f10pi13n"},horizontal:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1063pyq"},vertical:{Bt984gj:"f1q9h2pe",Beiy3e4:"f1vx9l62"},roundedSmall:{i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},rounded:{i8kkvl:0,Belr9w4:0,rmohyg:"faqewft"}},{d:[".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fi64zpg{flex-shrink:0;}",".flvyvdh{flex-wrap:nowrap;}",".f10pi13n{position:relative;}",".f1q9h2pe{align-items:stretch;}",".f1vx9l62{flex-direction:column;}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}]]}),F4=e=>{"use no memo";const{appearance:t,vertical:r,size:i}=e,l=P4(),s=t==="subtle-circular"||t==="filled-circular";return e.root.className=L(D4.root,l.root,r?l.vertical:l.horizontal,s&&(i==="small"?l.roundedSmall:l.rounded),e.root.className),e};function I4(e){const{appearance:t,reserveSelectedTabSpace:r,disabled:i,selectTabOnFocus:l,selectedValue:s,onRegister:c,onUnregister:d,onSelect:f,getRegisteredTabs:g,size:m,vertical:h}=e;return{tabList:y.useMemo(()=>({appearance:t,reserveSelectedTabSpace:r,disabled:i,selectTabOnFocus:l,selectedValue:s,onSelect:f,onRegister:c,onUnregister:d,getRegisteredTabs:g,size:m,vertical:h}),[t,r,i,l,s,f,c,d,g,m,h])}}const M4=y.forwardRef((e,t)=>{const r=C4(e,t),i=I4(r);return F4(r),Se("useTabListStyles_unstable")(r),R4(r,i)});M4.displayName="TabList";const O4=(e,t)=>{const{content:r}=e,i=A4(e,t),l=H4(i),s=io(g=>g.appearance),c=io(g=>g.reserveSelectedTabSpace),d=io(g=>{var m;return(m=g.size)!==null&&m!==void 0?m:"medium"}),f=r&&typeof r=="object"?Gv(r,["ref"]):r;return{...i,components:{...i.components,contentReservedSpace:"span"},root:{...l,...i.root},contentReservedSpace:he(f,{renderByDefault:!i.selected&&!i.iconOnly&&c,defaultProps:{children:e.children},elementType:"span"}),appearance:s,size:d}},A4=(e,t)=>{const{content:r,disabled:i=!1,icon:l,onClick:s,onFocus:c,value:d,...f}=e,g=io(V=>V.selectTabOnFocus),m=io(V=>V.disabled),h=io(V=>V.selectedValue===d),x=io(V=>V.onRegister),w=io(V=>V.onUnregister),k=io(V=>V.onSelect),b=io(V=>!!V.vertical),B=m||i,_=y.useRef(null),T=V=>k(V,{value:d}),z=te(me(s,T)),N=te(me(c,T));y.useEffect(()=>(x({value:d,ref:_}),()=>{w({value:d,ref:_})}),[x,w,_,d]);const q=he(l,{elementType:"span"}),j=ue(r,{defaultProps:{children:e.children},elementType:"span"}),F=!!(q?.children&&!j.children);return{components:{root:"button",icon:"span",content:"span",contentReservedSpace:"span"},root:ue({ref:Ne(t,_),role:"tab",type:"button","aria-selected":B?void 0:`${h}`,value:d,...f,disabled:B,onClick:z,onFocus:g?N:c},{elementType:"button"}),icon:q,iconOnly:F,content:j,disabled:B,selected:h,value:d,vertical:b}},H4=({selected:e})=>xn({focusable:{isDefault:e}}),L4=e=>Ce(e.root,{children:[e.icon&&H(e.icon,{}),!e.iconOnly&&H(e.content,{}),e.contentReservedSpace&&H(e.contentReservedSpace,{})]}),Bv={offsetVar:"--fui-Tab__indicator--offset",scaleVar:"--fui-Tab__indicator--scale"},V4=G({base:{B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg"},animated:{Ba2ppi3:"fhwpy7i",F2fol1:"f6zz20j",B1dyfl9:"f1ai4sc1",Bu93a1u:"f1rnm8gg",Bdasjez:"f1x3cmqg"},horizontal:{sjv3b2:["fug4aj8","f1i5xzg7"],b1kco5:"f1q7ujh"},vertical:{sjv3b2:"f1hqboyk",b1kco5:"f1dxupa6"}},{d:[[".f1gl81tg{overflow:visible;}",{p:-1}],".fhwpy7i::after{transition-property:transform;}",".f6zz20j::after{transition-duration:var(--durationSlow);}",".f1ai4sc1::after{transition-timing-function:var(--curveDecelerateMax);}",".fug4aj8::after{transform-origin:left;}",".f1i5xzg7::after{transform-origin:right;}",".f1q7ujh::after{transform:translateX(var(--fui-Tab__indicator--offset)) scaleX(var(--fui-Tab__indicator--scale));}",".f1hqboyk::after{transform-origin:top;}",".f1dxupa6::after{transform:translateY(var(--fui-Tab__indicator--offset)) scaleY(var(--fui-Tab__indicator--scale));}"],m:[["@media (prefers-reduced-motion: reduce){.f1rnm8gg::after{transition-property:none;}}",{m:"(prefers-reduced-motion: reduce)"}],["@media (prefers-reduced-motion: reduce){.f1x3cmqg::after{transition-duration:0.01ms;}}",{m:"(prefers-reduced-motion: reduce)"}]]}),W4=e=>{if(e){var t;const r=((t=e.parentElement)===null||t===void 0?void 0:t.getBoundingClientRect())||{x:0,y:0},i=e.getBoundingClientRect();return{x:i.x-r.x,y:i.y-r.y,width:i.width,height:i.height}}},Sv=(e,t)=>{var r;const i=zu(t)?(r=e[JSON.stringify(t)])===null||r===void 0?void 0:r.ref.current:void 0;return i?W4(i):void 0},zu=e=>e!=null,U4=e=>{const{disabled:t,selected:r,vertical:i}=e,l=V4(),[s,c]=y.useState(),[d,f]=y.useState({offset:0,scale:1}),g=io(w=>w.getRegisteredTabs),[m]=Bi();if(r){const{previousSelectedValue:w,selectedValue:k,registeredTabs:b}=g();if(zu(w)&&s!==w){const B=Sv(b,w),_=Sv(b,k);if(_&&B){const T=i?B.y-_.y:B.x-_.x,z=i?B.height/_.height:B.width/_.width;f({offset:T,scale:z}),c(w),m(()=>f({offset:0,scale:1}))}}}else zu(s)&&c(void 0);if(t)return e;const h=d.offset===0&&d.scale===1;e.root.className=L(e.root.className,r&&l.base,r&&h&&l.animated,r&&(i?l.vertical:l.horizontal));const x={[Bv.offsetVar]:`${d.offset}px`,[Bv.scaleVar]:`${d.scale}`};return e.root.style={...x,...e.root.style},e},_u={root:"fui-Tab",icon:"fui-Tab__icon",content:"fui-Tab__content"},$4={content:"fui-Tab__content--reserved-space"},n0=G({root:{Bt984gj:"f122n59",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n"},button:{Bt984gj:"f122n59",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",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bnnss6s:"fi64zpg",Bxotwcr:"f1u07yai",Budl1dq:"frn2hmy",wkccdc:"f1olsevy",Bahqtrf:"fk6fouc",Bg96gwp:"f1i3iumi",oeaueh:"f1s6fcnf",qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",B9bfxx9:"f1cxpek8"},horizontal:{Brf1p80:"f4d9j23"},vertical:{Brf1p80:"f1s9ku6b"},smallHorizontal:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1wmopi4"},smallVertical:{i8kkvl:"f14mj54c",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f12or63q"},mediumHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1w08f2p"},mediumVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fymxs25"},largeHorizontal:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ssfvub"},largeVertical:{i8kkvl:"f1rjii52",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fwkd1rq"},transparent:{De3pzq:"f1c21dwh",B95qlz1:"f9rvdkv",B7xitij:"f1051ucx",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},subtle:{De3pzq:"fhovq9v",B95qlz1:"f1bifk9c",B7xitij:"fo6hitd",Bptxc3x:"fmmjozx",Bwqhzpy:"fqhzt5g",iyk698:"f7l5cgy",cl4aha:"fpkze5g",B0q3jbp:"f1iywnoi",Be9ayug:"f9n45c4"},disabledCursor:{Bceei9c:"fdrzuqr"},disabled:{De3pzq:"f1c21dwh",Bptxc3x:"fato7r6",cl4aha:"fao1bnu"},selected:{Bptxc3x:"f1cadz5z",Bwqhzpy:"fwhdxxj",iyk698:"fintccb",cl4aha:"ffplhdr",B0q3jbp:"fjo17wb",Be9ayug:"f148789c"}},{d:[".f122n59{align-items:center;}",".f13qh94s{display:grid;}",".fi64zpg{flex-shrink:0;}",".f1u07yai{grid-auto-flow:column;}",".frn2hmy{grid-template-columns:auto;}",".f1olsevy{grid-template-rows:auto;}",".f1s6fcnf{outline-style:none;}",".f10pi13n{position:relative;}",[".f3bhgqh{border:none;}",{p:-2}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cxpek8{text-transform:none;}",".f4d9j23{justify-content:center;}",".f1s9ku6b{justify-content:start;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",[".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",{p:-1}],[".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",[".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",{p:-1}],[".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",{p:-1}],[".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",{p:-1}],[".fwkd1rq{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".fdrzuqr{cursor:not-allowed;}",".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}"]}),X4=G({base:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9",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:"fp7rvkm",Bptxc3x:"ftorr8m",cl4aha:"f16lqpmv"},small:{Dbcxam:0,rjzwhg:0,Bblux5w:"fzklhed"},medium:{Dbcxam:0,rjzwhg:0,Bblux5w:"f1j721cc"},large:{Dbcxam:0,rjzwhg:0,Bblux5w:"frx9knr"},subtle:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",B95qlz1:"f1bifk9c",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"ft57sj0",r4wkhp:"f1fcoy83",B7xitij:"fo6hitd",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fhn220o",p743kt:"f15qf7sh",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1mljprk"},subtleSelected:{De3pzq:"f16xkysk",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:"f1c2pc3t",sj55zd:"faj9fo0",B95qlz1:"fsm7zmf",Eo63ln:0,r9osk6:0,Itrz8y:0,zeg6vx:0,l65xgk:0,Bw4olcx:0,Folb0i:0,I2h8y4:0,Bgxgoyi:0,Bvlkotb:0,Fwyncl:0,Byh5edv:0,Becqvjq:0,uumbiq:0,B73q3dg:0,Bblwbaf:0,B0ezav:"f1wo0sfq",r4wkhp:"f1afuynh",B7xitij:"f94ddyl",d3wsvi:0,Hdqn7s:0,zu5y1p:0,owqphb:0,g9c53k:0,Btmu08z:0,Bthxvy6:0,gluvuq:0,tb88gp:0,wns6jk:0,kdfdk4:0,Bbw008l:0,Bayi1ib:0,B1kkfu3:0,J1oqyp:0,kem6az:0,goa3yj:"fmle6oo",p743kt:"f1d3itm4",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1e9l2u"},subtleDisabled:{De3pzq:"fhovq9v",sj55zd:"f1s2aq7o"},subtleDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"},filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B95qlz1:"fwwxidx",r4wkhp:"f1fcoy83",B7xitij:"f14i52sd",p743kt:"f15qf7sh",Hhssn:"f1cpi5f4",uaurb9:"f6pj1s0",B401qx7:"f12sz5kj",Buyp1jb:"f17588c3",gsp74p:"fnthgdt"},filledSelected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",B95qlz1:"f1lm9dni",r4wkhp:"f1mn5ei1",B7xitij:"f1g6ncd0",p743kt:"fl71aob",Gedr8k:"f14zl92z",Bm69vlq:"f16zy3eu",Bodipah:"f1gdgb7p",B5kpen0:"f1tua9ng"},filledDisabled:{De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o"},filledDisabledSelected:{De3pzq:"f1bg9a2p",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:"fegtqic",sj55zd:"f1s2aq7o"}},{d:[[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",{p:-2}],".ftorr8m .fui-Tab__icon{color:inherit;}",".f16lqpmv .fui-Tab__content{color:inherit;}",[".fzklhed{padding-block:calc(var(--spacingVerticalXXS) - var(--strokeWidthThin));}",{p:-1}],[".f1j721cc{padding-block:calc(var(--spacingVerticalSNudge) - var(--strokeWidthThin));}",{p:-1}],[".frx9knr{padding-block:calc(var(--spacingVerticalS) - var(--strokeWidthThin));}",{p:-1}],".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",[".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",{p:-2}],".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",[".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",{p:-2}],".f15qf7sh:enabled:active{color:var(--colorNeutralForeground2Pressed);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",[".f1c2pc3t{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStroke);}",{p:-2}],".faj9fo0{color:var(--colorBrandForeground2);}",".fsm7zmf:enabled:hover{background-color:var(--colorBrandBackground2Hover);}",[".f1wo0sfq:enabled:hover{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokeHover);}",{p:-2}],".f1afuynh:enabled:hover{color:var(--colorBrandForeground2Hover);}",".f94ddyl:enabled:active{background-color:var(--colorBrandBackground2Pressed);}",[".fmle6oo:enabled:active{border:solid var(--strokeWidthThin) var(--colorCompoundBrandStrokePressed);}",{p:-2}],".f1d3itm4:enabled:active{color:var(--colorBrandForeground2Pressed);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".f1lm9dni:enabled:hover{background-color:var(--colorBrandBackgroundHover);}",".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",[".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",{p:-2}]],m:[["@media (forced-colors: active){.f1mljprk{border:solid var(--strokeWidthThin) Canvas;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1e9l2u{border:solid var(--strokeWidthThin) Highlight;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cpi5f4:enabled:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f6pj1s0:enabled:hover{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12sz5kj:enabled:hover .fui-Tab__content{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f17588c3:enabled:hover .fui-Icon-filled{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnthgdt:enabled:hover .fui-Icon-regular{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14zl92z:enabled{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16zy3eu:enabled .fui-Tab__content{color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gdgb7p:enabled .fui-Tab__content{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tua9ng:enabled .fui-Tab__icon{color:ButtonFace;}}",{m:"(forced-colors: active)"}]]}),G4=G({base:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fqa318h","fqa318h"],Bhxq17a:"f1vjpng2"},circular:{B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bn4voq9:"f1p7hgxw",Bfpq7zp:"f1way5bb",g9k6zt:"f9znhxp",j6ew2k:["fzgyhws","fqxug60"],Bhxq17a:"f1vjpng2"}},{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;}",".f1p7hgxw[data-fui-focus-visible]{outline-width:var(--strokeWidthThick);}",".f1way5bb[data-fui-focus-visible]{outline-color:transparent;}",".f9znhxp[data-fui-focus-visible]{outline-style:solid;}",".fqa318h[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2);}",".f1vjpng2[data-fui-focus-visible]{z-index:1;}",".fzgyhws[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}",".fqxug60[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}"]}),K4=G({base:{az7l2e:"fhw179n",vqofr:0,Bv4n3vi:0,Bgqb9hq:0,B0uxbk8:0,Bf3jju6:"fg9j5n4",amg5m6:"f1kmhr4c",zkfqfm:"fl1ydde",Bkydozb:"f1y7maxz",Bka2azo:0,vzq8l0:0,csmgbd:0,Br4ovkg:0,aelrif:"fceyvr4",y36c18:"f16cxu0",B1ctymy:"f1nwgacf",xzc5d:"fm6alxz",h5yqg8:"fhx32z1"},disabled:{az7l2e:"f1ut20fw",Bkydozb:"fhrzcfn",xzc5d:"fw15awd",h5yqg8:"faqmq51"},smallHorizontal:{lawp4y:"fchca7p",Baz25je:"f1r53b5e",Fbdkly:["f1s6rxz5","fo35v8s"],mdwyqc:["fo35v8s","f1s6rxz5"]},smallVertical:{lawp4y:"fze4zud",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"fdp32p8",Ccq8qp:"f1aij3q"},mediumHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},mediumVertical:{lawp4y:"f17jracn",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f117lcb2",Ccq8qp:"f1aij3q"},largeHorizontal:{lawp4y:"fchca7p",Baz25je:"f1s2r9ax",Fbdkly:["f1o0nnkk","fxb7rol"],mdwyqc:["fxb7rol","f1o0nnkk"]},largeVertical:{lawp4y:"fel9d3z",Fbdkly:["f1fzr1x6","f1f351id"],Bciustq:"f6vqlre",Ccq8qp:"f1aij3q"}},{h:[".fhw179n:hover::before{background-color:var(--colorNeutralStroke1Hover);}",[".fg9j5n4:hover::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f1kmhr4c:hover::before{content:"";}',".fl1ydde:hover::before{position:absolute;}",".f1ut20fw:hover::before{background-color:var(--colorTransparentStroke);}"],a:[".f1y7maxz:active::before{background-color:var(--colorNeutralStroke1Pressed);}",[".fceyvr4:active::before{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f16cxu0:active::before{content:"";}',".f1nwgacf:active::before{position:absolute;}",".fhrzcfn:active::before{background-color:var(--colorTransparentStroke);}"],m:[["@media (forced-colors: active){.fm6alxz:hover::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fhx32z1:active::before{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw15awd:hover::before{background-color:transparent;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faqmq51:active::before{background-color:transparent;}}",{m:"(forced-colors: active)"}]],d:[".fchca7p::before{bottom:0;}",".f1r53b5e::before{height:var(--strokeWidthThick);}",".f1s6rxz5::before{left:var(--spacingHorizontalSNudge);}",".fo35v8s::before{right:var(--spacingHorizontalSNudge);}",".fze4zud::before{bottom:var(--spacingVerticalXS);}",".f1fzr1x6::before{left:0;}",".f1f351id::before{right:0;}",".fdp32p8::before{top:var(--spacingVerticalXS);}",".f1aij3q::before{width:var(--strokeWidthThicker);}",".f1s2r9ax::before{height:var(--strokeWidthThicker);}",".f1o0nnkk::before{left:var(--spacingHorizontalM);}",".fxb7rol::before{right:var(--spacingHorizontalM);}",".f17jracn::before{bottom:var(--spacingVerticalS);}",".f117lcb2::before{top:var(--spacingVerticalS);}",".fel9d3z::before{bottom:var(--spacingVerticalMNudge);}",".f6vqlre::before{top:var(--spacingVerticalMNudge);}"]}),Q4=G({base:{Bjyk6c5:"f1rp0jgh",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f3b9emi",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9"},selected:{Bjyk6c5:"f1ksivud",Bej4dhw:"f1476jrx",B7wqxwa:"f18q216b",Hwb57:"f1wf6u82",Beg08s0:"f1xwit7m",Bo27r1v:"f1ksfgwi"},disabled:{Bjyk6c5:"f13lkzet"},smallHorizontal:{By385i5:"fo72kxq",Dlnsje:"f9bb2ob",Eqx8gd:["f1q70ajw","f18rbzdx"],B1piin3:["f18rbzdx","f1q70ajw"]},smallVertical:{By385i5:"fqbue9b",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fk1klkt",a2br6o:"f1o25lip"},mediumHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},mediumVertical:{By385i5:"fipylg0",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"fqchiol",a2br6o:"f1o25lip"},largeHorizontal:{By385i5:"fo72kxq",Dlnsje:"f1vx7lu8",Eqx8gd:["fna7m5n","f1oxpfwv"],B1piin3:["f1oxpfwv","fna7m5n"]},largeVertical:{By385i5:"f1w7dm5g",Eqx8gd:["f1n6gb5g","f15yvnhg"],bn5sak:"f1p6em4m",a2br6o:"f1o25lip"}},{d:[".f1rp0jgh::after{background-color:var(--colorTransparentStroke);}",[".f3b9emi::after{border-radius:var(--borderRadiusCircular);}",{p:-1}],'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1ksivud::after{background-color:var(--colorCompoundBrandStroke);}",".f1476jrx:enabled:hover::after{background-color:var(--colorCompoundBrandStrokeHover);}",".f18q216b:enabled:active::after{background-color:var(--colorCompoundBrandStrokePressed);}",".f13lkzet::after{background-color:var(--colorNeutralForegroundDisabled);}",".fo72kxq::after{bottom:0;}",".f9bb2ob::after{height:var(--strokeWidthThick);}",".f1q70ajw::after{left:var(--spacingHorizontalSNudge);}",".f18rbzdx::after{right:var(--spacingHorizontalSNudge);}",".fqbue9b::after{bottom:var(--spacingVerticalXS);}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fk1klkt::after{top:var(--spacingVerticalXS);}",".f1o25lip::after{width:var(--strokeWidthThicker);}",".f1vx7lu8::after{height:var(--strokeWidthThicker);}",".fna7m5n::after{left:var(--spacingHorizontalM);}",".f1oxpfwv::after{right:var(--spacingHorizontalM);}",".fipylg0::after{bottom:var(--spacingVerticalS);}",".fqchiol::after{top:var(--spacingVerticalS);}",".f1w7dm5g::after{bottom:var(--spacingVerticalMNudge);}",".f1p6em4m::after{top:var(--spacingVerticalMNudge);}"],m:[["@media (forced-colors: active){.f1wf6u82::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1xwit7m:enabled:hover::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ksfgwi:enabled:active::after{background-color:ButtonText;}}",{m:"(forced-colors: active)"}]]}),Y4=G({base:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94",Bt984gj:"f122n59",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",D0sxk3:"f16u1re",t6yez3:"f8bsbmo"},small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},medium:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun"},selected:{D0sxk3:"fxoiby5",t6yez3:"f15q0o9g"}},{d:[".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".f122n59{align-items:center;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f8bsbmo .fui-Icon-regular{display:inline;}",".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}"]}),J4=G({base:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bwptpd"},selected:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"},largeSelected:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},noIconBefore:{Br312pm:"fwpfdsa",Ijaq50:"f16hsg94"},iconBefore:{Br312pm:"fd46tj4",Ijaq50:"f16hsg94"},placeholder:{Bcdw1i0:"fd7fpy0"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1bwptpd{padding:var(--spacingVerticalNone) var(--spacingHorizontalXXS);}",{p:-1}],".fl43uef{font-weight:var(--fontWeightSemibold);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fwpfdsa{grid-column-start:1;}",".f16hsg94{grid-row-start:1;}",".fd46tj4{grid-column-start:2;}",".fd7fpy0{visibility:hidden;}"]}),Z4=e=>{"use no memo";return eN(e),tN(e,e.root),oN(e),e},eN=e=>{"use no memo";const t=n0(),r=K4(),i=Q4(),{appearance:l,disabled:s,selected:c,size:d,vertical:f}=e,g=[_u.root,t.root];return l!=="subtle-circular"&&l!=="filled-circular"&&g.push(r.base,d==="small"&&(f?r.smallVertical:r.smallHorizontal),d==="medium"&&(f?r.mediumVertical:r.mediumHorizontal),d==="large"&&(f?r.largeVertical:r.largeHorizontal),s&&r.disabled,c&&i.base,c&&!s&&i.selected,c&&d==="small"&&(f?i.smallVertical:i.smallHorizontal),c&&d==="medium"&&(f?i.mediumVertical:i.mediumHorizontal),c&&d==="large"&&(f?i.largeVertical:i.largeHorizontal),c&&s&&i.disabled),e.root.className=L(...g,e.root.className),U4(e),e},tN=(e,t)=>{"use no memo";const r=n0(),i=G4(),l=X4(),{appearance:s,disabled:c,selected:d,size:f,vertical:g}=e,m=s==="subtle-circular",h=s==="filled-circular",x=m||h,w=[l.base,i.circular,f==="small"&&l.small,f==="medium"&&l.medium,f==="large"&&l.large,m&&l.subtle,d&&m&&l.subtleSelected,c&&m&&l.subtleDisabled,d&&c&&m&&l.subtleDisabledSelected,h&&l.filled,d&&h&&l.filledSelected,c&&h&&l.filledDisabled,d&&c&&h&&l.filledDisabledSelected],k=[i.base,!c&&s==="subtle"&&r.subtle,!c&&s==="transparent"&&r.transparent,!c&&d&&r.selected,c&&r.disabled];return t.className=L(r.button,g?r.vertical:r.horizontal,f==="small"&&(g?r.smallVertical:r.smallHorizontal),f==="medium"&&(g?r.mediumVertical:r.mediumHorizontal),f==="large"&&(g?r.largeVertical:r.largeHorizontal),...x?w:k,c&&r.disabledCursor,t.className),e},oN=e=>{"use no memo";const t=Y4(),r=J4(),{selected:i,size:l}=e;return e.icon&&(e.icon.className=L(_u.icon,t.base,t[l],i&&t.selected,e.icon.className)),e.contentReservedSpace&&(e.contentReservedSpace.className=L($4.content,r.base,l==="large"?r.largeSelected:r.selected,e.icon?r.iconBefore:r.noIconBefore,r.placeholder,e.content.className),e.contentReservedSpaceClassName=e.contentReservedSpace.className),e.content.className=L(_u.content,r.base,l==="large"&&r.large,i&&(l==="large"?r.largeSelected:r.selected),e.icon?r.iconBefore:r.noIconBefore,e.content.className),e},rN=y.forwardRef((e,t)=>{const r=O4(e,t);return Z4(r),Se("useTabStyles_unstable")(r),L4(r)});rN.displayName="Tab";const i0=(e,t)=>{const{wrap:r,truncate:i,block:l,italic:s,underline:c,strikethrough:d,size:f,font:g,weight:m,align:h}=e;return{align:h??"start",block:l??!1,font:g??"base",italic:s??!1,size:f??300,strikethrough:d??!1,truncate:i??!1,underline:c??!1,weight:m??"regular",wrap:r??!0,components:{root:"span"},root:ue(De("span",{ref:t,...e}),{elementType:"span"})}},a0=e=>H(e.root,{}),nN={root:"fui-Text"},iN=G({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;}"]}),l0=e=>{"use no memo";const t=iN();return e.root.className=L(nN.root,t.root,e.wrap===!1&&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,e.size===100&&t.base100,e.size===200&&t.base200,e.size===400&&t.base400,e.size===500&&t.base500,e.size===600&&t.base600,e.size===700&&t.hero700,e.size===800&&t.hero800,e.size===900&&t.hero900,e.size===1e3&&t.hero1000,e.font==="monospace"&&t.monospace,e.font==="numeric"&&t.numeric,e.weight==="medium"&&t.weightMedium,e.weight==="semibold"&&t.weightSemibold,e.weight==="bold"&&t.weightBold,e.align==="center"&&t.alignCenter,e.align==="end"&&t.alignEnd,e.align==="justify"&&t.alignJustify,e.root.className),e},aN=y.forwardRef((e,t)=>{const r=i0(e,t);return l0(r),Se("useTextStyles_unstable")(r),a0(r)});aN.displayName="Text";function lN(e){const{useStyles:t,className:r,displayName:i}=e,l=y.forwardRef((s,c)=>{"use no memo";const d=t(),f=i0(s,c);return l0(f),f.root.className=L(r,f.root.className,d.root,s.className),a0(f)});return l.displayName=i,l}const sN={root:"fui-Subtitle2"},cN=G({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),c9=lN({useStyles:cN,className:sN.root,displayName:"Subtitle2"}),uN=e=>H(e.root,{children:H(e.textarea,{})}),dN=(e,t)=>{const r=Di();var i;const{size:l="medium",appearance:s=(i=r.inputDefaultAppearance)!==null&&i!==void 0?i:"outline",...c}=e;return{...fN(c,t),size:l,appearance:s}},fN=(e,t)=>{e=Mo(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const{resize:r="none",onChange:i}=e,[l,s]=wt({state:e.value,defaultState:e.defaultValue,initialState:void 0}),c=Po({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),d={resize:r,components:{root:"span",textarea:"textarea"},textarea:ue(e.textarea,{defaultProps:{ref:t,...c.primary},elementType:"textarea"}),root:ue(e.root,{defaultProps:c.root,elementType:"span"})};return d.textarea.value=l,d.textarea.onChange=te(f=>{const g=f.target.value;i?.(f,{value:g}),s(g)}),d},zv={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},pN=G({base:{mc9l5x:"ftuwxu6",B7ck84d:"f1ewtqcl",qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yiegib",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",ha4doy:"f12kltsn"},disabled:{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:"ff3nzm7",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},interactive:{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:"fj2g8qd",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Bbr2w1p:"f1vnc8sk",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7"},filled:{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:"f88035w",q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},"filled-lighter-shadow":{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:"f1gmd7mu",E5pizo:"fyed02w"},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:{kzujx5:0,oetu4i:"f1l4zc64",gvrnp0:0,xv9156:0,jek2p4:0,gg5e9n:0,Beu9t3s:0,dt87k2:0,Bt1vbvt:0,Bwzppfd:0,Bop6t4b:0,B2zwrfe:0,Bwp2tzp:0,Bgoe8wy:0,Bf40cpq:0,ckks6v:0,Baalond:"f9mts5e",v2iqwr:0,wmxk5l:"f1z0osm6",Bj33j0h:0,Bs0cc2w:0,qwjtx1:0,B50zh58:0,f7epvg:0,e1hlit:0,B7mkhst:0,ak43y8:0,Bbcopvn:0,Bvecx4l:0,lwioe0:0,B6oc9vd:0,e2sjt0:0,uqwnxt:0,asj8p9:"f1acnei2",Br8fjdy:0,zoxjo1:"f1so894s",Bt3ojkv:0,B7pmvfx:0,Bfht2n1:0,an54nd:0,t1ykpo:0,Belqbek:0,bbt1vd:0,Brahy3i:0,r7b1zc:0,rexu52:0,ovtnii:0,Bvq3b66:0,Bawrxx6:0,Bbs6y8j:0,B2qpgjt:"f19ezbcq"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]}},{d:[".ftuwxu6{display:inline-flex;}",".f1ewtqcl{box-sizing:border-box;}",".f10pi13n{position:relative;}",[".f1yiegib{padding:0 0 var(--strokeWidthThick) 0;}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f12kltsn{vertical-align:top;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".ff3nzm7{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeDisabled);}",{p:-2}],".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}],".fj2g8qd::after{clip-path:inset(calc(100% - var(--strokeWidthThick)) 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);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],".fyed02w{box-shadow:var(--shadow2);}",[".f1gmd7mu{border:var(--strokeWidthThin) solid var(--colorTransparentStrokeInteractive);}",{p:-2}],[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".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);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],w:[".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);}",".f1vnc8sk:focus-within{outline-width:var(--strokeWidthThick);}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",[".f19ezbcq:focus-within{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1so894s:focus-within{border-bottom-color:var(--colorCompoundBrandStroke);}"],h:[".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);}",[".f9mts5e:hover{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Hover);}",{p:-2}],".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[[".f1acnei2:active{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1Pressed);}",{p:-2}],".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),gN=G({base:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",Bh6795r:"fqerorx",Bahqtrf:"fk6fouc",Bqenvij:"f1l02sjl",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih",oeaueh:"f1s6fcnf"},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"},small:{sshi5w:"f1w5jphr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1pnffij",Bxyxcbc:"f192z54u",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{sshi5w:"fvmd9f",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ww82xo",Bxyxcbc:"f1if7ixc",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},large:{sshi5w:"f1kfson",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f15hvtkj",Bxyxcbc:"f3kip1f",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k"}},{d:[".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".f1s184ao{margin:0;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fqerorx{flex-grow:1;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f1l02sjl{height:100%;}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".f1s6fcnf{outline-style:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}",".f1w5jphr{min-height:40px;}",[".f1pnffij{padding:var(--spacingVerticalXS) calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f192z54u{max-height:200px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fvmd9f{min-height:52px;}",[".f1ww82xo{padding:var(--spacingVerticalSNudge) calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],".f1if7ixc{max-height:260px;}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1kfson{min-height:64px;}",[".f15hvtkj{padding:var(--spacingVerticalS) calc(var(--spacingHorizontalM) + var(--spacingHorizontalXXS));}",{p:-1}],".f3kip1f{max-height:320px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}"]}),vN=G({none:{B3rzk8w:"f1o1s39h"},both:{B3rzk8w:"f1pxm0xe"},horizontal:{B3rzk8w:"fq6nmtn"},vertical:{B3rzk8w:"f1f5ktr4"}},{d:[".f1o1s39h{resize:none;}",".f1pxm0xe{resize:both;}",".fq6nmtn{resize:horizontal;}",".f1f5ktr4{resize:vertical;}"]}),mN=e=>{"use no memo";const{size:t,appearance:r,resize:i}=e,l=e.textarea.disabled,s=`${e.textarea["aria-invalid"]}`=="true",c=r.startsWith("filled"),d=pN();e.root.className=L(zv.root,d.base,l&&d.disabled,!l&&c&&d.filled,!l&&d[r],!l&&d.interactive,!l&&r==="outline"&&d.outlineInteractive,!l&&s&&d.invalid,e.root.className);const f=gN(),g=vN();return e.textarea.className=L(zv.textarea,f.base,f[t],g[i],l&&f.disabled,e.textarea.className),e},hN=y.forwardRef((e,t)=>{const r=dN(e,t);return mN(r),Se("useTextareaStyles_unstable")(r),uN(r)});hN.displayName="Textarea";const bN=be("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),yN=be("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function wN(){const e=bN(),t=yN(),{targetDocument:r}=Te(),i=y.useCallback(()=>{var s;if(!r)return;var c;Math.floor(r.body.getBoundingClientRect().height)>((c=(s=r.defaultView)===null||s===void 0?void 0:s.innerHeight)!==null&&c!==void 0?c:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))},[r,e,t]),l=y.useCallback(()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))},[r,e,t]);return{disableBodyScroll:i,enableBodyScroll:l}}function kN(e,t){const{findFirstFocusable:r}=vr(),{targetDocument:i}=Te(),l=y.useRef(null);return y.useEffect(()=>{if(!e)return;const s=l.current&&r(l.current);if(s)s.focus();else{var c;(c=l.current)===null||c===void 0||c.focus()}},[r,e,t,i]),l}const xN={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},sd=hr(void 0),BN=sd.Provider,Xt=e=>Lr(sd,(t=xN)=>e(t)),SN=!1,s0=y.createContext(void 0),c0=s0.Provider,zN=()=>{var e;return(e=y.useContext(s0))!==null&&e!==void 0?e:SN},u0=y.createContext(void 0),_N=u0.Provider,NN=()=>y.useContext(u0),_v=Li(Ku,{outScale:.85,easing:qe.curveDecelerateMid,duration:qe.durationGentle,exitEasing:qe.curveAccelerateMin,exitDuration:qe.durationGentle}),CN=e=>{const{children:t,modalType:r="modal",onOpenChange:i,inertTrapFocus:l=!1,unmountOnClose:s=!0}=e,c=st("dialog-title-"),[d,f]=TN(t),[g,m]=wt({state:e.open,defaultState:e.defaultOpen,initialState:!1}),h=te(B=>{i?.(B.event,B),B.event.isDefaultPrevented()||m(B.open)}),x=kN(g,r),{modalAttributes:w,triggerAttributes:k}=El({trapFocus:r!=="non-modal",legacyTrapFocus:!l}),b=Oi(sd);return{components:{surfaceMotion:_v},inertTrapFocus:l,open:g,modalType:r,content:f,trigger:d,requestOpenChange:h,dialogTitleId:c,isNestedDialog:b,unmountOnClose:s,dialogRef:x,modalAttributes:w,triggerAttributes:k,surfaceMotion:Pl(e.surfaceMotion,{elementType:_v,defaultProps:{visible:g,appear:s,unmountOnExit:s}})}};function TN(e){const t=y.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const jN=(e,t)=>H(BN,{value:t.dialog,children:Ce(c0,{value:t.dialogSurface,children:[e.trigger,e.content&&H(e.surfaceMotion,{children:H(Dl,{children:e.content})})]})});function qN(e){const{modalType:t,open:r,dialogRef:i,dialogTitleId:l,isNestedDialog:s,inertTrapFocus:c,requestOpenChange:d,modalAttributes:f,triggerAttributes:g,unmountOnClose:m}=e;return{dialog:y.useMemo(()=>({open:r,modalType:t,dialogRef:i,dialogTitleId:l,isNestedDialog:s,inertTrapFocus:c,modalAttributes:f,triggerAttributes:g,unmountOnClose:m,requestOpenChange:d}),[r,t,i,l,s,c,f,g,m,d]),dialogSurface:!1}}const Nu=y.memo(e=>{const t=CN(e),r=qN(t);return jN(t,r)});Nu.displayName="Dialog";const EN=e=>{const t=zN(),{children:r,disableButtonEnhancement:i=!1,action:l=t?"close":"open"}=e,s=Fi(r),c=Xt(h=>h.requestOpenChange),{triggerAttributes:d}=El(),f=te(h=>{var x,w;s==null||(x=(w=s.props).onClick)===null||x===void 0||x.call(w,h),h.isDefaultPrevented()||c({event:h,type:"triggerClick",open:l==="open"})}),g={...s?.props,ref:Pi(s),onClick:f,...d},m=Or(s?.type==="button"||s?.type==="a"?s.type:"div",{...g,type:"button"});return{children:Nl(r,i?g:m)}},RN=e=>e.children,cd=e=>{const t=EN(e);return RN(t)};cd.displayName="DialogTrigger";cd.isFluentTriggerComponent=!0;const DN=(e,t)=>{const{position:r="end",fluid:i=!1}=e;return{components:{root:"div"},root:ue(De("div",{ref:t,...e}),{elementType:"div"}),position:r,fluid:i}},PN=e=>H(e.root,{}),FN={root:"fui-DialogActions"},IN=be("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),MN=G({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),ON=e=>{"use no memo";const t=IN(),r=MN();return e.root.className=L(FN.root,t,e.position==="start"&&r.gridPositionStart,e.position==="end"&&r.gridPositionEnd,e.fluid&&e.position==="start"&&r.fluidStart,e.fluid&&e.position==="end"&&r.fluidEnd,e.root.className),e},AN=y.forwardRef((e,t)=>{const r=DN(e,t);return ON(r),Se("useDialogActionsStyles_unstable")(r),PN(r)});AN.displayName="DialogActions";const HN=(e,t)=>{var r;return{components:{root:"div"},root:ue(De((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},LN=e=>H(e.root,{}),VN={root:"fui-DialogBody"},WN=be("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),UN=e=>{"use no memo";const t=WN();return e.root.className=L(VN.root,t,e.root.className),e},$N=y.forwardRef((e,t)=>{const r=HN(e,t);return UN(r),Se("useDialogBodyStyles_unstable")(r),LN(r)});$N.displayName="DialogBody";const Nv={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},XN=be("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;}"]),GN=G({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),KN=be("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),QN=be("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;}}"]}),d0=e=>{"use no memo";const t=XN(),r=KN(),i=GN();return e.root.className=L(Nv.root,t,!e.action&&i.rootWithoutAction,e.root.className),e.action&&(e.action.className=L(Nv.action,r,e.action.className)),e},YN=(e,t)=>{const{action:r}=e,i=Xt(s=>s.modalType),l=QN();return{components:{root:"h2",action:"div"},root:ue(De("h2",{ref:t,id:Xt(s=>s.dialogTitleId),...e}),{elementType:"h2"}),action:he(r,{renderByDefault:i==="non-modal",defaultProps:{children:y.createElement(cd,{disableButtonEnhancement:!0,action:"close"},y.createElement("button",{type:"button",className:l,"aria-label":"close"},y.createElement(Q1,null)))},elementType:"div"})}},JN=e=>Ce(y.Fragment,{children:[H(e.root,{children:e.root.children}),e.action&&H(e.action,{})]}),ZN=y.forwardRef((e,t)=>{const r=YN(e,t);return d0(r),Se("useDialogTitleStyles_unstable")(r),JN(r)});ZN.displayName="DialogTitle";const Cv=WB,f0=(e,t)=>{const r=Rl(),i=Xt(z=>z.modalType),l=Xt(z=>z.isNestedDialog),s=NN(),c=s??l,d=Xt(z=>z.modalAttributes),f=Xt(z=>z.dialogRef),g=Xt(z=>z.requestOpenChange),m=Xt(z=>z.dialogTitleId),h=Xt(z=>z.open),x=Xt(z=>z.unmountOnClose),w=te(z=>{if(Uv(e.backdrop)){var N,q;(N=(q=e.backdrop).onClick)===null||N===void 0||N.call(q,z)}i==="modal"&&!z.isDefaultPrevented()&&g({event:z,open:!1,type:"backdropClick"})}),k=te(z=>{var N;(N=e.onKeyDown)===null||N===void 0||N.call(e,z),z.key===br&&!z.isDefaultPrevented()&&(g({event:z,open:!1,type:"escapeKeyDown"}),z.preventDefault())}),b=he(e.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),B=b?.appearance;b&&(b.onClick=w,delete b.appearance);const{disableBodyScroll:_,enableBodyScroll:T}=wN();return We(()=>{if(!h){T();return}if(!(l||i==="non-modal"))return _(),()=>T()},[h,i,l,_,T]),{components:{backdrop:"div",root:"div",backdropMotion:Cv},open:h,backdrop:b,isNestedDialog:l,treatBackdropAsNested:c,backdropAppearance:B,unmountOnClose:x,mountNode:e.mountNode,root:ue(De("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":e["aria-label"]?void 0:m,"aria-hidden":!x&&!h?!0:void 0,...e,...d,onKeyDown:k,ref:Ne(t,r,f)}),{elementType:"div"}),backdropMotion:Pl(e.backdropMotion,{elementType:Cv,defaultProps:{appear:x,visible:h}}),transitionStatus:void 0}},p0=(e,t)=>Ce(Vr,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&H(e.backdropMotion,{children:H(e.backdrop,{})}),H(nh,{children:H(c0,{value:t.dialogSurface,children:H(e.root,{})})})]}),Tv={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},eC=be("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[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);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[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){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),tC=be("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),oC=G({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),rC=e=>{"use no memo";const{root:t,backdrop:r,open:i,unmountOnClose:l,treatBackdropAsNested:s,backdropAppearance:c}=e,d=eC(),f=tC(),g=oC(),m=c?c==="transparent":s,h=!l&&!i;return t.className=L(Tv.root,d,h&&g.dialogHidden,t.className),r&&(r.className=L(Tv.backdrop,f,h&&g.dialogHidden,m&&g.nestedDialogBackdrop,r.className)),e};function g0(e){return{dialogSurface:!0}}const nC=y.forwardRef((e,t)=>{const r=f0(e,t),i=g0();return rC(r),Se("useDialogSurfaceStyles_unstable")(r),p0(r,i)});nC.displayName="DialogSurface";const iC=(e,t)=>{var r;return{components:{root:"div"},root:ue(De((r=e.as)!==null&&r!==void 0?r:"div",{ref:t,...e}),{elementType:"div"})}},aC=e=>H(e.root,{}),lC={root:"fui-DialogContent"},sC=be("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),cC=e=>{"use no memo";const t=sC();return e.root.className=L(lC.root,t,e.root.className),e},uC=y.forwardRef((e,t)=>{const r=iC(e,t);return cC(r),Se("useDialogContentStyles_unstable")(r),aC(r)});uC.displayName="DialogContent";const dC=e=>e<=0?1:e,fC=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,jv=vu({keyframes:[{translate:"-100%"},{translate:"300%"}],duration:3e3,iterations:1/0,easing:qe.curveLinear,reducedMotion:{keyframes:[{opacity:.2},{opacity:1},{opacity:.2}],duration:3e3,iterations:1/0}}),pC=(e,t)=>{const r=rd(),i=r?.validationState,{color:l=i==="error"||i==="warning"||i==="success"?i:"brand",shape:s="rounded",thickness:c="medium",indeterminateMotion:d,...f}=e,g=gC(f,t);return{...g,components:{...g.components,indeterminateMotion:jv},color:l,shape:s,thickness:c,indeterminateMotion:g.value===void 0?LB(d,{elementType:jv,defaultProps:{}}):void 0}},gC=(e,t)=>{const r=rd();var i;const l=dC((i=e.max)!==null&&i!==void 0?i:1),s=fC(e.value,l),c=ue(De("div",{ref:t,role:"progressbar","aria-valuemin":s!==void 0?0:void 0,"aria-valuemax":s!==void 0?l:void 0,"aria-valuenow":s,"aria-labelledby":r?.labelId,...e}),{elementType:"div"});r&&(r.validationMessageId||r.hintId)&&(c["aria-describedby"]=[r?.validationMessageId,r?.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const d=ue(e.bar,{elementType:"div"});return{max:l,value:s,components:{root:"div",bar:"div",indeterminateMotion:"div"},root:c,bar:d}},vC=e=>H(e.root,{children:e.bar&&(e.indeterminateMotion?H(e.indeterminateMotion,{children:H(e.bar,{})}):H(e.bar,{}))}),qv={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},mC=.01,hC=G({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),bC=G({base:{Bomf52o:"f1tnpuu0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],jpy9cc:"f3z2g5w"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
34
|
+
to right,
|
|
35
|
+
var(--colorNeutralBackground6) 0%,
|
|
36
|
+
var(--colorTransparentBackground) 50%,
|
|
37
|
+
var(--colorNeutralBackground6) 100%
|
|
38
|
+
);}`,`.f1u5hf6c{background-image:linear-gradient(
|
|
39
|
+
to left,
|
|
40
|
+
var(--colorNeutralBackground6) 0%,
|
|
41
|
+
var(--colorTransparentBackground) 50%,
|
|
42
|
+
var(--colorNeutralBackground6) 100%
|
|
43
|
+
);}`,".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"]}),yC=e=>{"use no memo";const{color:t,max:r,shape:i,thickness:l,value:s}=e,c=hC(),d=bC();return e.root.className=L(qv.root,c.root,c[i],c[l],e.root.className),e.bar&&(e.bar.className=L(qv.bar,d.base,d.brand,s===void 0&&d.indeterminate,s!==void 0&&s>mC&&d.nonZeroDeterminate,t&&s!==void 0&&d[t],e.bar.className)),e.bar&&s!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,s/r*100))+"%",...e.bar.style}),e},wC=y.forwardRef((e,t)=>{const r=pC(e,t);return yC(r),Se("useProgressBarStyles_unstable")(r),vC(r)});wC.displayName="ProgressBar";const kC=G({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),xC=e=>{"use no memo";const t=kC();e.root.className=L(e.vertical&&t.vertical,e.root.className),e.icon&&(e.icon.className=L(e.vertical&&t.verticalIcon,e.icon.className)),Mh(e)},BC=(e,t)=>{const{appearance:r="subtle",...i}=e,l=SC(i,t);return{appearance:r,size:"medium",shape:"rounded",...l}},SC=(e,t)=>{const{vertical:r=!1,...i}=e,l=Ih(i,t);return{vertical:r,...l}},zC=y.forwardRef((e,t)=>{const r=BC(e,t);return xC(r),Se("useToolbarButtonStyles_unstable")(r),Ph(r)});zC.displayName="ToolbarButton";const wi=()=>{},v0={allRowsSelected:!1,clearRows:wi,deselectRow:wi,isRowSelected:()=>!1,selectRow:wi,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:wi,toggleRow:wi,selectionMode:"multiselect"};function _C(e){"use no memo";return t=>NC(t,e)}function NC(e,t){const{items:r,getRowId:i}=e,{selectionMode:l,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}=t,[f,g]=mw({selectionMode:l,defaultSelectedItems:s,selectedItems:c,onSelectionChange:d}),m=y.useMemo(()=>{const z=new Set;for(let q=0;q<r.length;q++){var N;z.add((N=i?.(r[q]))!==null&&N!==void 0?N:q)}return z},[r,i]),h=y.useMemo(()=>{if(l==="single"){const N=Array.from(f)[0];return m.has(N)}if(f.size<m.size||m.size===0)return!1;let z=!0;return m.forEach(N=>{f.has(N)||(z=!1)}),z},[m,f,l]),x=y.useMemo(()=>{if(f.size<=0)return!1;let z=!1;return m.forEach(N=>{f.has(N)&&(z=!0)}),z},[m,f]),w=te(z=>{g.toggleAllItems(z,r.map((N,q)=>{var j;return(j=i?.(N))!==null&&j!==void 0?j:q}))}),k=te((z,N)=>g.toggleItem(z,N)),b=te((z,N)=>g.deselectItem(z,N)),B=te((z,N)=>g.selectItem(z,N)),_=z=>g.isSelected(z),T=te(z=>g.clearItems(z));return{...e,selection:{selectionMode:l,someRowsSelected:x,allRowsSelected:h,selectedRows:f,toggleRow:k,toggleAllRows:w,clearRows:T,deselectRow:b,selectRow:B,isRowSelected:_}}}const Cu=()=>{},m0={getSortDirection:()=>"ascending",setColumnSort:Cu,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:Cu};function CC(e){"use no memo";return t=>TC(t,e)}function TC(e,t){const{columns:r}=e,{sortState:i,defaultSortState:l,onSortChange:s=Cu}=t,[c,d]=wt({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:l,state:i}),{sortColumn:f,sortDirection:g}=c,m=te(s),h=y.useCallback((b,B)=>{d(_=>{const T={..._,sortColumn:B};return _.sortColumn===B?T.sortDirection=_.sortDirection==="ascending"?"descending":"ascending":T.sortDirection="ascending",m?.(b,T),T})},[m,d]),x=(b,B,_)=>{const T={sortColumn:B,sortDirection:_};m?.(b,T),d(T)},w=y.useCallback(b=>b.slice().sort((B,_)=>{const T=r.find(N=>N.columnId===f);if(!T?.compare)return 0;const z=g==="ascending"?1:-1;return T.compare(B.item,_.item)*z}),[r,f,g]);return{...e,sort:{sort:w,sortColumn:f,sortDirection:g,setColumnSort:x,toggleColumnSort:h,getSortDirection:b=>f===b?g:void 0}}}const jC=(e,t)=>{const r=te(i=>{var l;(l=e.onClick)===null||l===void 0||l.call(e,i),i.stopPropagation()});return{components:{root:"div"},root:ue(De("div",{ref:t,...e,onClick:r}),{elementType:"div"})}},qC=e=>H(e.root,{}),EC={root:"fui-TableResizeHandle"},RC=G({root:{qhf8xq:"f1euv43f",j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk",B5kzvoi:"f1yab3r1",a9b677:"fjw5fx7",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"fg06o1j",Bceei9c:"fc3en1c",abs64n:"fk73vx1",Bmy1vo4:"f13u1uyl",B3o57yi:"fezquic",Bj3rh1h:"f19g0ac",B3cna0y:"f1tkae59",Brovlpu:"ftqa4ok",B7zu5sd:"f15pjodv",Bsft5z2:"f1rcdj94",ap17g6:"f2gz7yw",a2br6o:"ff2ryt5",E3zdtr:"f1mdlcz9",Eqx8gd:["f10awi5f","f1nzedbg"],bn5sak:"frwkxtg",By385i5:"fo72kxq",Bjyk6c5:"fdlpgxj"}},{d:[".f1euv43f{position:absolute;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".fjw5fx7{width:16px;}",[".fg06o1j{margin:0 -8px;}",{p:-1}],".fc3en1c{cursor:col-resize;}",".fk73vx1{opacity:0;}",".f13u1uyl{transition-property:opacity;}",".fezquic{transition-duration:.2s;}",".f19g0ac{z-index:1;}",'.f1rcdj94::after{content:" ";}',".f2gz7yw::after{display:block;}",".ff2ryt5::after{width:1px;}",".f1mdlcz9::after{position:absolute;}",".f10awi5f::after{left:50%;}",".f1nzedbg::after{right:50%;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}"],f:[".f1tkae59:focus{opacity:1;}",".ftqa4ok:focus{outline-style:none;}"],h:[".f15pjodv:hover{opacity:1;}"]}),DC=e=>{"use no memo";const t=RC();return e.root.className=L(EC.root,t.root,e.root.className),e},h0=y.forwardRef((e,t)=>{const r=jC(e,t);return DC(r),Se("useTableResizeHandleStyles_unstable")(r),qC(r)});h0.displayName="TableResizeHandle";function PC(){const[e,t]=y.useState(0),r=y.useRef(void 0),i=y.useRef(null),{targetDocument:l}=Te(),s=y.useCallback(()=>{var d;const f=(d=r.current)===null||d===void 0?void 0:d.getBoundingClientRect().width;t(f||0)},[]),c=y.useCallback(d=>{if(l&&(!d&&i.current&&r.current&&i.current.unobserve(r.current),r.current=void 0,d?.parentElement)){var f;r.current=d.parentElement,s(),(f=i.current)===null||f===void 0||f.observe(r.current)}},[l,s]);return y.useEffect(()=>{if(i.current=FC(l,s),!(!r.current||!i.current))return i.current.observe(r.current),()=>{var d;(d=i.current)===null||d===void 0||d.disconnect()}},[s,l]),{width:e,measureElementRef:c}}function FC(e,t){var r;return!(e==null||(r=e.defaultView)===null||r===void 0)&&r.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function IC(e){const t=y.useRef(0),r=y.useRef(0),i=y.useRef(void 0),[l,s]=y.useState(!1),{targetDocument:c}=Te(),{getColumnWidth:d,setColumnWidth:f}=e,g=y.useCallback(k=>{const{clientX:b}=ug(k),B=b-t.current;r.current+=B,i.current&&f(k,{columnId:i.current,width:r.current}),t.current=b},[f]),[m]=Bi(),h=y.useCallback(k=>{m(()=>g(k))},[m,g]),x=y.useCallback(k=>{cu(k)&&(c?.removeEventListener("mouseup",x),c?.removeEventListener("mousemove",h)),su(k)&&(c?.removeEventListener("touchend",x),c?.removeEventListener("touchmove",h)),s(!1)},[h,c]);return{getOnMouseDown:y.useCallback(k=>b=>{if(r.current=d(k),t.current=ug(b).clientX,i.current=k,cu(b)){if(b.target!==b.currentTarget||b.button!==0)return;c?.addEventListener("mouseup",x),c?.addEventListener("mousemove",h),s(!0)}su(b)&&(c?.addEventListener("touchend",x),c?.addEventListener("touchmove",h),s(!0))},[d,h,x,c]),dragging:l}}const MC=150,OC=100;function Tu(e,t=[],r={}){let i=!1;const l=new Map(t.map(c=>[c.columnId,c])),s=e.map(c=>{const d=l.get(c.columnId);if(d){var f;const{idealWidth:k=d.idealWidth,minWidth:b=d.minWidth,padding:B=d.padding}=(f=r[c.columnId])!==null&&f!==void 0?f:{};return k!==d.idealWidth||b!==d.minWidth||B!==d.padding?(i=!0,{...d,idealWidth:k,width:k,minWidth:b,padding:B}):d}var g;const{defaultWidth:m,idealWidth:h=MC,minWidth:x=OC,padding:w}=(g=r[c.columnId])!==null&&g!==void 0?g:{};return i=!0,{columnId:c.columnId,width:Math.max(m??h,x),minWidth:x,idealWidth:Math.max(m??h,x),padding:w??16}});if(s.length!==t.length||i){const c=s.find(d=>d.width>d.idealWidth);c&&(c.width=c.idealWidth),i=!0}return i?s:t}function Ri(e,t){return e.find(r=>r.columnId===t)}function ou(e,t){return e[t]}function AC(e){return e.reduce((t,r)=>t+r.width+r.padding,0)}function HC(e,t){const r=Ri(e,t);var i;return(i=r?.width)!==null&&i!==void 0?i:0}function xi(e,t,r,i){const l=Ri(e,t);if(!l||l?.[r]===i)return e;const s={...l,[r]:i};return e.reduce((d,f)=>f.columnId===s.columnId?[...d,s]:[...d,f],[])}function ll(e,t){let r=e;const i=AC(r);if(i<t){let l=t-i,s=0;for(;s<r.length&&l>0;){const c=ou(r,s);if(!c)break;const d=Math.min(c.idealWidth-c.width,l);if(r=xi(r,c.columnId,"width",c.width+d),l-=d,s===r.length-1&&l!==0){const f=ou(r,s);f&&(r=xi(r,f.columnId,"width",f.width+l))}s++}}else if(i>=t){let l=i-t,s=r.length-1;for(;s>=0&&l>0;){const c=ou(r,s);if(!c){s--;continue}if(c.width>c.minWidth){const d=Math.min(c.width-c.minWidth,l);l-=d,r=xi(r,c.columnId,"width",c.width-d)}s--}}return r}const LC=e=>(t,r)=>{switch(r.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:r.containerWidth,columnWidthState:e?ll(t.columnWidthState,r.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const i=Tu(r.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:r.columns,columnWidthState:e?ll(i,t.containerWidth):i};case"COLUMN_SIZING_OPTIONS_UPDATED":const l=Tu(t.columns,t.columnWidthState,r.columnSizingOptions);return{...t,columnSizingOptions:r.columnSizingOptions,columnWidthState:e?ll(l,t.containerWidth):l};case"SET_COLUMN_WIDTH":const{columnId:s,width:c}=r,{containerWidth:d}=t,f=Ri(t.columnWidthState,s);let g=[...t.columnWidthState];return f?(g=xi(g,s,"width",c),g=xi(g,s,"idealWidth",c),e&&(g=ll(g,d)),{...t,columnWidthState:g}):t}};function VC(e,t,r={}){const{onColumnResize:i,columnSizingOptions:l,autoFitColumns:s=!0}=r,c=y.useMemo(()=>LC(s),[s]),[d,f]=y.useReducer(c,{columns:e,containerWidth:0,columnWidthState:Tu(e,void 0,l),columnSizingOptions:l});We(()=>{f({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),We(()=>{f({type:"COLUMNS_UPDATED",columns:e})},[e]),We(()=>{f({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:l})},[l]);const g=te((m,h)=>{let{width:x}=h;const{columnId:w}=h,k=Ri(d.columnWidthState,w);k&&(x=Math.max(k.minWidth||0,x),i&&i(m,{columnId:w,width:x}),f({type:"SET_COLUMN_WIDTH",columnId:w,width:x}))});return{getColumnById:y.useCallback(m=>Ri(d.columnWidthState,m),[d.columnWidthState]),getColumns:y.useCallback(()=>d.columnWidthState,[d.columnWidthState]),getColumnWidth:y.useCallback(m=>HC(d.columnWidthState,m),[d.columnWidthState]),setColumnWidth:g}}const sl=20,WC=kB,Ev=1/4;function UC(e){const[t,r]=y.useState(),i=y.useRef(void 0),{findPrevFocusable:l}=vr(),s=y.useRef(e);y.useEffect(()=>{s.current=e},[e]);const[c]=y.useState(()=>new Map),d=te(w=>{if(!t)return;const k=s.current.getColumnWidth(t),b=w.getModifierState(WC),B=()=>{w.preventDefault(),w.stopPropagation()};switch(w.key){case Ai:B(),s.current.setColumnWidth(w.nativeEvent,{columnId:t,width:k-(b?sl*Ev:sl)});return;case Hi:B(),s.current.setColumnWidth(w.nativeEvent,{columnId:t,width:k+(b?sl*Ev:sl)});return;case lo:case ur:case br:var _,T;B(),(T=c.get(t))===null||T===void 0||(_=T.current)===null||_===void 0||_.blur();break}}),f=y.useCallback(w=>{var k,b;r(w),(k=i.current)===null||k===void 0||k.call(i,w,!0);const B=(b=c.get(w))===null||b===void 0?void 0:b.current;B&&(B.setAttribute("tabindex","-1"),B.tabIndex=-1,B.focus())},[c]),g=y.useCallback(()=>{var w,k;if(!t)return;(w=i.current)===null||w===void 0||w.call(i,t,!1);const b=(k=c.get(t))===null||k===void 0?void 0:k.current;if(b){var B;(B=l(b))===null||B===void 0||B.focus(),b.removeAttribute("tabindex")}r(void 0)},[t,l,c]),m=(w,k)=>{i.current=k,t?w&&t!==w?(f(w),r(w)):g():f(w)},h=y.useCallback(w=>{const k=c.get(w)||y.createRef();return c.set(w,k),k},[c]),x=xn({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:m,columnId:t,getKeyboardResizingProps:y.useCallback((w,k)=>({onKeyDown:d,onBlur:g,ref:h(w),role:"separator","aria-label":"Resize column","aria-valuetext":`${k} pixels`,"aria-hidden":w!==t,tabIndex:w===t?0:void 0,...x}),[t,g,h,d,x])}}const b0={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function $C(e){"use no memo";return t=>XC(t,{autoFitColumns:!0,...e})}function Rv(e,t){const r=e.width;return{width:r,minWidth:r,maxWidth:r,...t?{pointerEvents:"none"}:{}}}function XC(e,t={}){const{columns:r}=e,{width:i,measureElementRef:l}=PC(),s=VC(r,i+(t?.containerWidthOffset||0),t),c=IC(s),{toggleInteractiveMode:d,getKeyboardResizingProps:f}=UC(s),{autoFitColumns:g}=t,m=y.useCallback((B,_)=>T=>{T.preventDefault(),T.nativeEvent.stopPropagation(),d(B,_)},[d]),{getColumnById:h,setColumnWidth:x,getColumns:w}=s,{getOnMouseDown:k,dragging:b}=c;return{...e,tableRef:l,columnSizing_unstable:{getOnMouseDown:k,setColumnWidth:(B,_)=>x(void 0,{columnId:B,width:_}),getColumnWidths:w,getTableProps:(B={})=>({...B,style:{minWidth:"fit-content",...B.style||{}}}),getTableHeaderCellProps:y.useCallback(B=>{var _;const T=h(B),N=((_=r[r.length-1])===null||_===void 0?void 0:_.columnId)===B&&g?null:y.createElement(h0,{onMouseDown:k(B),onTouchStart:k(B),...f(B,T?.width||0)});return T?{style:Rv(T,b),aside:N}:{}},[h,r,b,f,k,g]),getTableCellProps:y.useCallback(B=>{const _=h(B);return _?{style:Rv(_)}:{}},[h]),enableKeyboardMode:m}}}const GC=e=>e,KC={selection:v0,sort:m0,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:b0,tableRef:y.createRef()};function QC(e,t=[]){const{items:r,getRowId:i,columns:l}=e,s=y.useCallback((d=GC)=>r.map((f,g)=>{var m;return d({item:f,rowId:(m=i?.(f))!==null&&m!==void 0?m:g})}),[r,i]),c={getRowId:i,items:r,columns:l,getRows:s,selection:v0,sort:m0,columnSizing_unstable:b0,tableRef:y.createRef()};return t.reduce((d,f)=>f(d),c)}const YC=()=>0,JC=()=>null,ZC=()=>null;function u9(e){const{columnId:t,renderCell:r=JC,renderHeaderCell:i=ZC,compare:l=YC}=e;return{columnId:t,renderCell:r,renderHeaderCell:i,compare:l}}function eT(){const e=_i({axis:"horizontal"}),t=_i({axis:"grid"}),r=Ou({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:i}=vr(),{targetDocument:l}=Te(),s=ux(e,r);return{onTableKeyDown:y.useCallback(d=>{if(!l)return;let f=l.activeElement;if(!f||!d.currentTarget.contains(f))return;const g=f.getAttribute("role");if(d.key===Hi&&g==="row"&&Mt(f)){var m;(m=i(f))===null||m===void 0||m.focus()}if(g==="row")return;const h=(()=>{let x=Mt(f)?f:null;for(;x;){const w=x.getAttribute("role");if(w==="cell"||w==="gridcell")return!0;x=x.parentElement}return!1})();if(d.key===Ai&&h){f.dispatchEvent(new bg({action:ml.Escape}));return}(d.key===Ni||d.key===ki)&&h&&(f.dispatchEvent(new bg({action:ml.Escape})),f=l.activeElement,f&&f.dispatchEvent(new Aw({key:Ke[d.key]})))},[l,i]),tableTabsterAttribute:t,tableRowTabsterAttribute:s}}const y0=y.createContext(void 0),tT={size:"medium",noNativeElements:!1,sortable:!1},oT=y0.Provider,wr=()=>{var e;return(e=y.useContext(y0))!==null&&e!==void 0?e:tT},w0=(e,t)=>{const{noNativeElements:r,size:i}=wr();var l;const s=((l=e.as)!==null&&l!==void 0?l:r)?"div":"td";return{components:{root:s},root:ue(De(s,{ref:t,role:s==="div"?"cell":void 0,...e}),{elementType:s}),noNativeElements:r,size:i}},rT=e=>H(e.root,{}),nT="fui-TableCell",iT={root:nT},aT=G({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),lT=G({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),sT=G({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),cT=e=>{"use no memo";const t=sT(),r={table:aT(),flex:lT()};return e.root.className=L(iT.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.noNativeElements?r.flex[e.size]:r.table[e.size],e.root.className),e},k0=y.createContext(void 0),uT="",dT=k0.Provider,ud=()=>y.useContext(k0)===uT,fT=(e,t)=>{const{noNativeElements:r,size:i}=wr();var l;const s=((l=e.as)!==null&&l!==void 0?l:r)?"div":"tr",c=Au(),d=Sn(),f=ud();var g;return{components:{root:s},root:ue(De(s,{ref:Ne(t,c,d),role:s==="div"?"row":void 0,...e}),{elementType:s}),size:i,noNativeElements:r,appearance:(g=e.appearance)!==null&&g!==void 0?g:"none",isHeaderRow:f}},ru={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},pT=G({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),gT=G({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"fvrlu0f",B2u0y6b:"f1c71y05",Brf1p80:"f4d9j23"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".fvrlu0f{min-width:44px;}",".f1c71y05{max-width:44px;}",".f4d9j23{justify-content:center;}"]}),vT=G({root:{fsow6f:"f17mccla",Huce71:"fz5stix",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},radioIndicator:{mc9l5x:"f22iagw",Bh6795r:"fqerorx",Bt984gj:"f122n59",Brf1p80:"f4d9j23"},subtle:{abs64n:"fk73vx1",B8a84jv:"f1y7ij6c"},hidden:{abs64n:"fk73vx1"}},{d:[".f17mccla{text-align:center;}",".fz5stix{white-space:nowrap;}",[".f1mk8lai{padding:0;}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f122n59{align-items:center;}",".f4d9j23{justify-content:center;}",".fk73vx1{opacity:0;}",".f1y7ij6c[data-fui-focus-within]:focus-within{opacity:1;}"]}),mT=e=>{"use no memo";const t=vT(),r={table:pT(),flex:gT()};return e.root.className=L(ru.root,t.root,e.noNativeElements?r.flex.root:r.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=L(ru.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=L(ru.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},hT="fui-TableRow",bT={root:hT},yT=G({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),wT=G({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),kT=G({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),xT=e=>{"use no memo";const t=kT(),r={table:yT(),flex:wT()};return e.root.className=L(bT.root,t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?r.flex.root:r.table.root,t[e.appearance],e.root.className),e},BT=(e,t)=>{const{noNativeElements:r}=wr();var i;const l=((i=e.as)!==null&&i!==void 0?i:r)?"div":"tbody";return{components:{root:l},root:ue(De(l,{ref:t,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:r}},ST=G({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),zT=G({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),_T="fui-TableBody",NT=e=>{"use no memo";const t={table:ST(),flex:zT()};return e.root.className=L(_T,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},CT=(e,t)=>{var r;const i=((r=e.as)!==null&&r!==void 0?r:e.noNativeElements)?"div":"table";var l,s,c;return{components:{root:i},root:ue(De(i,{ref:t,role:i==="div"?"table":void 0,...e}),{elementType:i}),size:(l=e.size)!==null&&l!==void 0?l:"medium",noNativeElements:(s=e.noNativeElements)!==null&&s!==void 0?s:!1,sortable:(c=e.sortable)!==null&&c!==void 0?c:!1}},TT=(e,t)=>H(oT,{value:t.table,children:H(e.root,{})}),jT="fui-Table",qT=G({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),ET=G({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),RT=G({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),DT=e=>{"use no memo";const t=RT(),r={table:qT(),flex:ET()};return e.root.className=L(jT,t.root,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e};function PT(e){const{size:t,noNativeElements:r,sortable:i}=e;return{table:y.useMemo(()=>({noNativeElements:r,size:t,sortable:i}),[r,t,i])}}const FT=(e,t)=>{const{noNativeElements:r}=wr();var i;const l=((i=e.as)!==null&&i!==void 0?i:r)?"div":"thead";return{components:{root:l},root:ue(De(l,{ref:t,role:l==="div"?"rowgroup":void 0,...e}),{elementType:l}),noNativeElements:r}},IT=e=>H(dT,{value:"",children:H(e.root,{})}),MT="fui-TableHeader",OT=G({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),AT=G({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),HT=e=>{"use no memo";const t={table:AT(),flex:OT()};return e.root.className=L(MT,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},LT={ascending:y.createElement(J1,{fontSize:12}),descending:y.createElement(Y1,{fontSize:12})},VT=(e,t)=>{const{noNativeElements:r,sortable:i}=wr(),{sortable:l=i}=e;var s;const c=((s=e.as)!==null&&s!==void 0?s:r)?"div":"th",d=ue(e.button,{elementType:"div",defaultProps:{as:"div"}}),f=Or(d.as,d);var g;return{components:{root:c,button:"div",sortIcon:"span",aside:"span"},root:ue(De(c,{ref:Ne(t,Sn()),role:c==="div"?"columnheader":void 0,"aria-sort":l?(g=e.sortDirection)!==null&&g!==void 0?g:"none":void 0,...e}),{elementType:c}),aside:he(e.aside,{elementType:"span"}),sortIcon:he(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?LT[e.sortDirection]:void 0},elementType:"span"}),button:l?f:d,sortable:l,noNativeElements:r}},WT=e=>Ce(e.root,{children:[Ce(e.button,{children:[e.root.children,e.sortIcon&&H(e.sortIcon,{})]}),e.aside&&H(e.aside,{})]}),cl={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},UT=G({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),$T=G({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),XT=G({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",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",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",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".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}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),GT=e=>{"use no memo";const t=XT(),r={table:UT(),flex:$T()};return e.root.className=L(cl.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?r.flex.root:r.table.root,e.root.className),e.button.className=L(cl.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=L(cl.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=L(cl.aside,t.resizeHandle,e.aside.className)),e},x0=y.createContext(void 0),KT="",B0=()=>{var e;return(e=y.useContext(x0))!==null&&e!==void 0?e:KT},QT=x0.Provider,S0=y.createContext(void 0),YT="",z0=()=>{var e;return(e=y.useContext(S0))!==null&&e!==void 0?e:YT},d9=S0.Provider,JT=(e,t)=>{const r=w0(e,Ne(t,Sn())),{noNativeElements:i}=wr(),{type:l="checkbox",checked:s=!1,subtle:c=!1,hidden:d=!1,invisible:f=!1}=e;return{...r,components:{...r.components,checkboxIndicator:xu,radioIndicator:Su},checkboxIndicator:he(e.checkboxIndicator,{renderByDefault:l==="checkbox",defaultProps:{checked:e.checked},elementType:xu}),radioIndicator:he(e.radioIndicator,{renderByDefault:l==="radio"&&!f,defaultProps:{checked:!!s,input:{name:st("table-selection-radio")}},elementType:Su}),type:l,checked:s,noNativeElements:i,subtle:c,hidden:f||d}},ZT=e=>Ce(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&H(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&H(e.radioIndicator,{})]}),_0=hr(void 0),N0={...KC,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},ej=_0.Provider,Xe=e=>Lr(_0,(t=N0)=>e(t)),tj=(e,t)=>{const{focusMode:r="cell"}=e,i=B0(),l=Xe(f=>(f.focusMode==="cell"||f.focusMode==="composite")&&r!=="none"),s=Xe(f=>f.resizableColumns),c=Xe(f=>f.columnSizing_unstable.getTableCellProps),d=Ou({tabBehavior:"limited-trap-focus"});return w0({as:"div",role:"gridcell",...r==="group"&&d,tabIndex:l?0:void 0,...s?c(i):{},...e},t)},oj=e=>rT(e),rj={root:"fui-DataGridCell"},nj=e=>{"use no memo";return cT(e),e.root.className=L(rj.root,e.root.className),e},ij=y.forwardRef((e,t)=>{const r=tj(e,t);return nj(r),Se("useDataGridCellStyles_unstable")(r),oj(r)});ij.displayName="DataGridCell";const aj=(e,t)=>{const r=ud(),i=z0(),l=Xe(g=>g.subtleSelection),s=Xe(g=>r&&g.selection.selectionMode==="multiselect"?g.selection.allRowsSelected?!0:g.selection.someRowsSelected?"mixed":!1:g.selection.isRowSelected(i)),c=Xe(g=>g.selection.toggleAllRows),d=Xe(g=>g.selection.selectionMode==="multiselect"?"checkbox":"radio"),f=te(g=>{var m;r&&c(g),(m=e.onClick)===null||m===void 0||m.call(e,g)});return JT({as:"div",role:"gridcell",checked:s,type:d,invisible:r&&d==="radio","aria-selected":s==="mixed"?void 0:s,subtle:l,radioIndicator:r?null:void 0,...e,onClick:f},t)},lj=e=>ZT(e),nu={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},sj=e=>{"use no memo";return mT(e),e.root.className=L(nu.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=L(nu.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=L(nu.radioIndicator,e.radioIndicator.className)),e},ju=y.forwardRef((e,t)=>{const r=aj(e,t);return sj(r),Se("useDataGridSelectionCellStyles_unstable")(r),lj(r)});ju.displayName="DataGridSelectionCell";const f9=(e,t)=>{const r=z0(),i=ud(),l=Xe(b=>b.columns),s=Xe(b=>b.selectableRows),c=Xe(b=>b.selection.isRowSelected(r)),d=Xe(b=>b.focusMode),f=Xe(b=>b.compositeRowTabsterAttribute),g=d==="row_unstable"||d==="composite",m=Xe(b=>!i&&s&&b.selection.isRowSelected(r)?b.selectionAppearance:"none"),h=Xe(b=>b.selection.toggleRow),x=te(b=>{var B;s&&!i&&h(b,r),(B=e.onClick)===null||B===void 0||B.call(e,b)}),w=te(b=>{var B;s&&!i&&b.key===lo&&!pw(b.target)&&(b.preventDefault(),h(b,r)),(B=e.onKeyDown)===null||B===void 0||B.call(e,b)}),k=fT({appearance:m,"aria-selected":s?c:void 0,tabIndex:g&&!i?0:void 0,...d==="composite"&&!i&&f,...e,onClick:x,onKeyDown:w,children:null,as:"div"},t);return{...k,components:{...k.components,selectionCell:ju},selectionCell:he(e.selectionCell,{renderByDefault:s,elementType:ju}),renderCell:e.children,columnDefs:l,dataGridContextValue:cj()}};function cj(){const e=y.useRef(N0);return Xe(t=>(e.current=t,null)),e.current}const p9=e=>Ce(e.root,{children:[e.selectionCell&&H(e.selectionCell,{}),e.columnDefs.map(t=>H(QT,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),Dv={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},uj=G({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),g9=e=>{"use no memo";const t=Xe(i=>i.subtleSelection),r=uj();return xT(e),e.root.className=L(Dv.root,e.root.className,t&&r.subtleSelection),e.selectionCell&&(e.selectionCell.className=L(Dv.selectionCell,e.selectionCell.className)),e},v9=(e,t)=>{const{sortable:r}=wr(),i=Xe(d=>d.getRows),l=Xe(d=>d.sort.sort),s=r?l(i()):i();return{...BT({...e,children:null,as:"div"},t),rows:s,renderRow:e.children}},dj={root:"fui-DataGridBody"},m9=e=>{"use no memo";return NT(e),e.root.className=L(dj.root,e.root.className),e},h9=(e,t)=>{const{items:r,columns:i,focusMode:l="cell",selectionMode:s,onSortChange:c,onSelectionChange:d,defaultSortState:f,sortState:g,selectedItems:m,defaultSelectedItems:h,subtleSelection:x=!1,selectionAppearance:w="brand",getRowId:k,resizableColumns:b,columnSizingOptions:B,onColumnResize:_,containerWidthOffset:T,resizableColumnsOptions:z={}}=e,N=T??(s?-44:0),q=_i({axis:"grid"}),{onTableKeyDown:j,tableTabsterAttribute:F,tableRowTabsterAttribute:V}=eT();var $;const ie=QC({items:r,columns:i,getRowId:k},[CC({defaultSortState:f,sortState:g,onSortChange:c}),_C({defaultSelectedItems:h,selectedItems:m,onSelectionChange:d,selectionMode:s??"multiselect"}),$C({onColumnResize:_,columnSizingOptions:B,containerWidthOffset:N,autoFitColumns:($=z.autoFitColumns)!==null&&$!==void 0?$:!0})]),se=y.useRef(null),{findFirstFocusable:Z,findLastFocusable:re}=vr(),oe=te(A=>{var ae;if((ae=e.onKeyDown)===null||ae===void 0||ae.call(e,A),l==="composite"&&j(A),!(!se.current||!A.ctrlKey||A.defaultPrevented)){if(A.key===Wu){const U=se.current.querySelector('[role="row"]');if(U){var D;(D=Z(U))===null||D===void 0||D.focus()}}if(A.key===Vu){const U=se.current.querySelectorAll('[role="row"]');if(U.length){var W;const ke=U.item(U.length-1);(W=re(ke))===null||W===void 0||W.focus()}}}});return{...CT({role:"grid",as:"div",noNativeElements:!0,...l==="cell"&&q,...l==="composite"&&F,...e,onKeyDown:oe,...b?ie.columnSizing_unstable.getTableProps(e):{}},Ne(t,ie.tableRef,se)),focusMode:l,tableState:ie,selectableRows:!!s,subtleSelection:x,selectionAppearance:w,resizableColumns:b,compositeRowTabsterAttribute:V}},b9=(e,t)=>y.createElement(ej,{value:t.dataGrid},TT(e,t)),fj={root:"fui-DataGrid"},y9=e=>{"use no memo";return DT(e),e.root.className=L(fj.root,e.root.className),e};function w9(e){const t=PT(e),{tableState:r,focusMode:i,selectableRows:l,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}=e,g=y.useMemo(()=>({...r,focusMode:i,selectableRows:l,subtleSelection:s,selectionAppearance:c,resizableColumns:d,compositeRowTabsterAttribute:f}),[r,i,l,s,c,d,f]);return{...t,dataGrid:g}}const k9=(e,t)=>FT({...e,as:"div"},t),x9=e=>IT(e),pj={root:"fui-DataGridHeader"},B9=e=>{"use no memo";return HT(e),e.root.className=L(pj.root,e.root.className),e};function gj(e){return e.compare.length>0}const vj=(e,t)=>{const r=B0(),{sortable:i}=wr(),l=Xe(x=>x.sort.toggleColumnSort),s=Xe(x=>{const w=!!x.columns.find(k=>k.columnId===r&&gj(k));return i?w:!1}),c=Xe(x=>s?x.sort.getSortDirection(r):void 0),d=Xe(x=>x.resizableColumns),f=Xe(x=>x.columnSizing_unstable.getTableHeaderCellProps),{focusMode:g=s?"none":"cell"}=e,m=Ou({tabBehavior:"limited-trap-focus"}),h=te(x=>{var w;s&&l(x,r),(w=e.onClick)===null||w===void 0||w.call(e,x)});return VT({sortable:s,sortDirection:c,as:"div",tabIndex:g!=="none"?0:void 0,...g==="group"&&m,...d?f(r):{},...e,onClick:h},t)},mj=e=>WT(e),ul={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},hj=e=>{"use no memo";return GT(e),e.root.className=L(ul.root,e.root.className),e.button&&(e.button.className=L(ul.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=L(ul.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=L(ul.aside,e.aside.className)),e},bj=y.forwardRef((e,t)=>{const r=vj(e,t);return hj(r),Se("useDataGridHeaderCellStyles_unstable")(r),mj(r)});bj.displayName="DataGridHeaderCell";const C0=y.createContext(void 0),yj={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:void 0};C0.Provider;const T0=()=>{var e;return(e=y.useContext(C0))!==null&&e!==void 0?e:yj},wj={medium:28,small:20,"extra-small":16},kj={rounded:"square",circular:"circular"},xj=(e,t)=>{const{handleTagDismiss:r,disabled:i,dismissible:l,role:s}=T0(),c=st("fui-Tag",e.id),{disabled:d=!1,dismissible:f=l??!1,selected:g,value:m=c}=e,h=te(B=>{var _;(_=e.onClick)===null||_===void 0||_.call(e,B),B.defaultPrevented||r?.(B,{value:m})}),x=te(B=>{var _;e==null||(_=e.onKeyDown)===null||_===void 0||_.call(e,B),!B.defaultPrevented&&(B.key===BB||B.key===xB)&&r?.(B,{value:m})}),w=f?"button":"span",k=s==="listbox"?"aria-selected":"aria-pressed",b=typeof g=="boolean"||s==="listbox";return{disabled:i?!0:d,dismissible:f,selected:!!g,components:{root:w,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:ue(De(w,{ref:t,role:s==="listbox"?"option":void 0,[k]:b?g:void 0,...e,disabled:i?!0:d,id:c,...f&&{onClick:h,onKeyDown:x}}),{defaultProps:{type:w==="button"?"button":void 0},elementType:w}),media:he(e.media,{elementType:"span"}),icon:he(e.icon,{elementType:"span"}),primaryText:he(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:he(e.secondaryText,{elementType:"span"}),dismissIcon:he(e.dismissIcon,{renderByDefault:f,elementType:"span"})}},Bj=(e,t)=>{const{size:r,appearance:i}=T0(),{appearance:l=i??"filled",shape:s="rounded",size:c=r}=e,d=xj(e,t);if(d.dismissIcon){var f,g;(g=(f=d.dismissIcon).children)!==null&&g!==void 0||(f.children=y.createElement(Eu,null))}return{...d,appearance:l,avatarShape:kj[s],avatarSize:wj[c],shape:s,size:c}},Sj=(e,t)=>Ce(e.root,{children:[e.media&&H(oS,{value:t.avatar,children:H(e.media,{})}),e.icon&&H(e.icon,{}),e.primaryText&&H(e.primaryText,{}),e.secondaryText&&H(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&H(e.dismissIcon,{})]}),bn={root:"fui-Tag",media:"fui-Tag__media",icon:"fui-Tag__icon",primaryText:"fui-Tag__primaryText",secondaryText:"fui-Tag__secondaryText",dismissIcon:"fui-Tag__dismissIcon"},zj=be("r18f5o0q","r1u2q8zc",{r:['.r18f5o0q{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r18f5o0q[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1u2q8zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1u2q8zc[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r18f5o0q{position:relative;}.r18f5o0q::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusMedium);border-top-right-radius:var(--borderRadiusMedium);}}','@media (forced-colors: active){.r1u2q8zc{position:relative;}.r1u2q8zc::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']}),_j=be("r1mko7zc","r1wx1e29",{r:['.r1mko7zc{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1mko7zc[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",'.r1wx1e29{font-family:inherit;padding:0px;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;display:inline-grid;align-items:center;grid-template-areas:"media primary dismissIcon" "media secondary dismissIcon";box-sizing:border-box;width:fit-content;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r1wx1e29[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"],s:['@media (forced-colors: active){.r1mko7zc{position:relative;}.r1mko7zc::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r1wx1e29{position:relative;}.r1wx1e29::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-radius:var(--borderRadiusCircular);}}']}),Nj=G({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"]},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0"},selected:{De3pzq:"ffp7eso",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{qhf8xq:"f10pi13n",Bqenvij:"fjamq6b",Ie5t1m:"fru8nlv",G6hvz8:"f5nasji",wgw0td:"f45hpys",Bbwa3xj:["f1sbfcjn","f1le4i14"],m3mfg4:"fq6y7a1",B9s7hj8:"f1jr4pq3",B9e1dac:"f1tfer7m"}},{d:[".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fk9qgl1{border-top-color:var(--colorBrandStroke1);}",".f1vfbj5f{border-right-color:var(--colorBrandStroke1);}",".f1qpacp7{border-left-color:var(--colorBrandStroke1);}",".fdf0ba2{border-bottom-color:var(--colorBrandStroke1);}",".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".f10pi13n{position:relative;}",".fjamq6b{height:20px;}"],m:[["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],['@media (forced-colors: none){.fru8nlv:before,.fru8nlv:after{content:"";}}',{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f5nasji:before,.f5nasji:after{position:absolute;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f45hpys:before,.f45hpys:after{height:2px;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1le4i14:before,.f1le4i14:after{right:0;}.f1sbfcjn:before,.f1sbfcjn:after{left:0;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.fq6y7a1:before,.fq6y7a1:after{width:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1jr4pq3:before{bottom:100%;}}",{m:"(forced-colors: none)"}],["@media (forced-colors: none){.f1tfer7m:after{top:100%;}}",{m:"(forced-colors: none)"}]]}),Cj=G({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]},outline:{Bceei9c:"fdrzuqr",De3pzq:"fhovq9v",sj55zd:"f1s2aq7o",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"]},brand:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fziff3p","f1mxt3zg"]}},{d:[".fdrzuqr{cursor:not-allowed;}",".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fgig46g{border-top-color:var(--colorTransparentStrokeDisabled);}",".f1mxt3zg{border-right-color:var(--colorTransparentStrokeDisabled);}",".fziff3p{border-left-color:var(--colorTransparentStrokeDisabled);}",".f250w3l{border-bottom-color:var(--colorTransparentStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),Tj=G({medium:{uwmqm3:["f1rtp3s9","f18k1jr3"]},small:{uwmqm3:["f15vdbe4","fwiuce9"]},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"]}},{d:[".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}"]}),jj=G({medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"]}},{d:[".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}"]}),qj=G({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",B7ck84d:"f1e4lqlz"},medium:{uwmqm3:["f1rtp3s9","f18k1jr3"],z189sj:["f7x41pl","fruq291"],a9b677:"f64fuq3",Be2twd7:"fe5j1ua"},small:{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"fjw5fx7",Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["ffczdla","fgiv446"],a9b677:"frx94fk",Be2twd7:"f1ugzwwg"}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f1e4lqlz{box-sizing:content-box;}",".f1rtp3s9{padding-left:7px;}",".f18k1jr3{padding-right:7px;}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f64fuq3{width:20px;}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".fjw5fx7{width:16px;}",".f4ybsrx{font-size:16px;}",".frx94fk{width:12px;}",".f1ugzwwg{font-size:12px;}"]}),Ej=G({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"fujjg13",mc9l5x:"f22iagw",uwmqm3:["f10xn8zz","f136y8j8"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[[".fujjg13{grid-area:media;}",{p:-1}],".f22iagw{display:flex;}",".f10xn8zz{padding-left:1px;}",".f136y8j8{padding-right:1px;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"]}),Rj=G({base:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1k1gsvr",mc9l5x:"f22iagw",Bahaeuw:"f1v3eptx",Boo3t63:"f1rfz71x"},medium:{uwmqm3:["fruq291","f7x41pl"],z189sj:["f18k1jr3","f1rtp3s9"],Be2twd7:"fe5j1ua"},small:{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f4ybsrx"},"extra-small":{uwmqm3:["fgiv446","ffczdla"],z189sj:["fwiuce9","f15vdbe4"],Be2twd7:"f1ugzwwg"},filled:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},outline:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},brand:{eoavqd:"f8491dx",Bi91k9c:"f3ymbdj",lj723h:"fryz5bw"},selected:{Bi91k9c:"f1rq72xc",lj723h:"f18otbis"}},{d:[[".f1k1gsvr{grid-area:dismissIcon;}",{p:-1}],".f22iagw{display:flex;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fe5j1ua{font-size:20px;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f4ybsrx{font-size:16px;}",".f1ugzwwg{font-size:12px;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1rfz71x:active{color:Highlight;}}",{m:"(forced-colors: active)"}]],h:[".f8491dx:hover{cursor:pointer;}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"]}),Dj=G({base:{Huce71:"fz5stix",uwmqm3:["fgiv446","ffczdla"],z189sj:["ffczdla","fgiv446"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},withoutSecondaryText:{Br312pm:"faqcfhe",Ijaq50:"f1q3ipgb",nk6f5a:"fc0ab3q",Byoj8tv:"f1g03r3y"},withSecondaryText:{Bw0ie65:0,Br312pm:0,nk6f5a:0,Ijaq50:0,Bq1tomu:"f1ebragv",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",B6of3ja:"f1ryq6si"}},{d:[".fz5stix{white-space:nowrap;}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".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);}",".faqcfhe{grid-column-start:primary;}",".f1q3ipgb{grid-row-start:primary;}",".fc0ab3q{grid-row-end:secondary;}",".f1g03r3y{padding-bottom:var(--spacingHorizontalXXS);}",[".f1ebragv{grid-area:primary;}",{p:-1}],".f1ryq6si{margin-top:-2px;}"]}),Pj=be("r7hv1ps","rnrslm9",[".r7hv1ps{grid-area:secondary;padding-left:var(--spacingHorizontalXXS);padding-right:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}",".rnrslm9{grid-area:secondary;padding-right:var(--spacingHorizontalXXS);padding-left:var(--spacingHorizontalXXS);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);white-space:nowrap;}"]),Fj=e=>{"use no memo";const t=zj(),r=_j(),i=Nj(),l=Cj(),s=Tj(),c=jj(),d=qj(),f=Ej(),g=Rj(),m=Dj(),h=Pj(),{disabled:x,shape:w,size:k,appearance:b,selected:B}=e;return e.root.className=L(bn.root,w==="rounded"?t:r,x?l[b]:i[b],B&&!x&&i.selected,i[k],!e.media&&!e.icon&&s[k],!e.dismissIcon&&c[k],e.root.className),e.media&&(e.media.className=L(bn.media,f.base,f[k],e.media.className)),e.icon&&(e.icon.className=L(bn.icon,d.base,d[k],e.icon.className)),e.primaryText&&(e.primaryText.className=L(bn.primaryText,m.base,m[k],e.secondaryText?m.withSecondaryText:m.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=L(bn.secondaryText,h,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=L(bn.dismissIcon,g.base,g[k],!x&&g[b],B&&!x&&g.selected,e.dismissIcon.className)),e};function Ij(e){const{avatarSize:t,avatarShape:r}=e;return{avatar:y.useMemo(()=>({size:t,shape:r}),[r,t])}}const Mj=y.forwardRef((e,t)=>{const r=Bj(e,t);return Fj(r),Se("useTagStyles_unstable")(r),Sj(r,Ij(r))});Mj.displayName="Tag";function Oj(e){switch(e){case"info":return y.createElement(oy,null);case"warning":return y.createElement(ty,null);case"error":return y.createElement(ey,null);case"success":return y.createElement(Z1,null);default:return null}}function Aj(e=!1){const{targetDocument:t}=Te(),r=y.useReducer(()=>({}),{})[1],i=y.useRef(!1),l=y.useRef(null),s=y.useRef(-1),c=y.useCallback(f=>{var g,m;const h=f[0];var x;const w=(x=h==null||(m=h.borderBoxSize)===null||m===void 0||(g=m[0])===null||g===void 0?void 0:g.inlineSize)!==null&&x!==void 0?x:h?.target.getBoundingClientRect().width;if(w===void 0||!h)return;const{target:k}=h;if(!Mt(k))return;let b;if(i.current)s.current<w&&(b=!1);else{const B=k.scrollWidth;w<B&&(b=!0)}s.current=w,typeof b<"u"&&i.current!==b&&(i.current=b,r())},[r]),d=y.useCallback(f=>{var g;if(!e||!f||!t?.defaultView)return;(g=l.current)===null||g===void 0||g.disconnect();const m=t.defaultView,h=new m.ResizeObserver(c);l.current=h,h.observe(f,{box:"border-box"})},[t,c,e]);return y.useEffect(()=>()=>{var f;(f=l.current)===null||f===void 0||f.disconnect()},[]),{ref:d,reflowing:i.current}}const j0=y.createContext(void 0),Hj={className:"",nodeRef:y.createRef()};j0.Provider;const Lj=()=>{var e;return(e=y.useContext(j0))!==null&&e!==void 0?e:Hj},Vj=(e,t)=>{const{layout:r="auto",intent:i="info",politeness:l}=e,s=l??i==="info"?"polite":"assertive",c=r==="auto",{ref:d,reflowing:f}=Aj(c),g=c?f?"multiline":"singleline":r,{className:m,nodeRef:h}=Lj(),x=Rl(),w=y.useRef(null),k=y.useRef(null),{announce:b}=Yy(),B=st();return y.useEffect(()=>{var _,T;const z=(_=k.current)===null||_===void 0?void 0:_.textContent,N=(T=w.current)===null||T===void 0?void 0:T.textContent,q=[z,N].filter(Boolean).join(",");b(q,{polite:s==="polite",alert:s==="assertive"})},[k,w,b,s]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:ue(De("div",{ref:Ne(t,d,h,x),role:"group","aria-labelledby":B,...e}),{elementType:"div"}),icon:he(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:he(e.bottomReflowSpacer,{renderByDefault:g==="multiline",elementType:"div"}),layout:g,intent:i,transitionClassName:m,actionsRef:w,bodyRef:k,titleId:B}},Wj=(e,t)=>{const{shape:r="rounded",...i}=e,l=Vj(i,t);return{...l,shape:r,icon:he(e.icon,{defaultProps:{children:Oj(l.intent)},renderByDefault:!0,elementType:"div"})}},q0=y.createContext(void 0),Uj={titleId:"",layout:"singleline",actionsRef:y.createRef(),bodyRef:y.createRef()},$j=q0.Provider,E0=()=>{var e;return(e=y.useContext(q0))!==null&&e!==void 0?e:Uj},Xj=(e,t)=>H($j,{value:t.messageBar,children:Ce(e.root,{children:[e.icon&&H(e.icon,{}),e.root.children,e.bottomReflowSpacer&&H(e.bottomReflowSpacer,{})]})}),iu={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},Gj=be("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),Kj=be("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),Qj=be("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),Yj=G({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),Jj=G({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),Zj=G({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),e6=e=>{"use no memo";const t=Gj(),r=Kj(),i=Jj(),l=Zj(),s=Qj(),c=Yj();return e.root.className=L(iu.root,t,e.layout==="multiline"&&c.rootMultiline,e.shape==="square"&&c.square,l[e.intent],e.root.className),e.icon&&(e.icon.className=L(iu.icon,r,i[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=L(iu.bottomReflowSpacer,s)),e};function t6(e){const{layout:t,actionsRef:r,bodyRef:i,titleId:l}=e;return{messageBar:y.useMemo(()=>({layout:t,actionsRef:r,bodyRef:i,titleId:l}),[t,r,i,l])}}const o6=y.forwardRef((e,t)=>{const r=Wj(e,t);return e6(r),Se("useMessageBarStyles_unstable")(r),Xj(r,t6(r))});o6.displayName="MessageBar";const r6=(e,t)=>{const{layout:r="singleline",actionsRef:i}=E0();return{components:{root:"div",containerAction:"div"},containerAction:he(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:ue(De("div",{ref:Ne(t,i),...e}),{elementType:"div"}),layout:r,hasActions:!!e.children}},n6=(e,t)=>Ce(zz,{value:t.button,children:[e.layout==="multiline"&&e.containerAction&&H(e.containerAction,{},"containerAction"),H(e.root,{}),e.layout!=="multiline"&&e.containerAction&&H(e.containerAction,{},"containerAction")]}),Pv={root:"fui-MessageBarActions",containerAction:"fui-MessageBarActions__containerAction"},i6=be("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),a6=be("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),l6=G({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]}),s6=e=>{"use no memo";const t=i6(),r=a6(),i=l6();return e.root.className=L(Pv.root,t,e.layout==="multiline"&&i.root,!e.hasActions&&i.noActions,e.root.className),e.containerAction&&(e.containerAction.className=L(Pv.containerAction,r,e.containerAction.className)),e};function c6(){return{button:y.useMemo(()=>({size:"small"}),[])}}const u6=y.forwardRef((e,t)=>{const r=r6(e,t);return s6(r),Se("useMessageBarActionsStyles_unstable")(r),n6(r,c6())});u6.displayName="MessageBarActions";const d6=(e,t)=>{const{bodyRef:r}=E0();return{components:{root:"div"},root:ue(De("div",{ref:Ne(t,r),...e}),{elementType:"div"})}},f6=(e,t)=>H(p_,{value:t.link,children:H(e.root,{})}),p6={root:"fui-MessageBarBody"},g6=be("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),v6=e=>{"use no memo";const t=g6();return e.root.className=L(p6.root,t,e.root.className),e};function m6(e){return{link:y.useMemo(()=>({inline:!0}),[])}}const h6=y.forwardRef((e,t)=>{const r=d6(e,t),i=m6();return v6(r),Se("useMessageBarBodyStyles_unstable")(r),f6(r,i)});h6.displayName="MessageBarBody";const b6={scrollState:"none",setScrollState:()=>({})},R0=y.createContext(void 0),y6=R0.Provider,D0=()=>{var e;return(e=y.useContext(R0))!==null&&e!==void 0?e:b6},w6=()=>{const[e,t]=y.useState("none");return{setScrollState:t,scrollState:e}},P0={drawerSizeVar:"--fui-Drawer--size"},k6=G({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;}"]}),x6=G({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%;}"]}),B6=({position:e,size:t})=>{const r=k6(),i=x6();return L(r[e],e==="bottom"&&i[t],e!=="bottom"&&r[t])},dd={small:qe.durationGentle,medium:qe.durationSlow,large:qe.durationSlower,full:qe.durationUltraSlow};function F0(e,t,r){const i=`translate3d(var(${t}), 0, 0)`,l=`translate3d(calc(var(${t}) * -1), 0, 0)`,s=`translate3d(0, var(${t}), 0)`;return e==="start"?r==="ltr"?l:i:e==="end"?r==="ltr"?i:l:e==="bottom"?s:"translate3d(0, 0, 0)"}yr(({position:e,size:t,dir:r})=>{const i=[{transform:F0(e,P0.drawerSizeVar,r),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],l=dd[t];return{enter:{keyframes:i,duration:l,easing:qe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:l,easing:qe.curveAccelerateMin}}});const S6=yr(({position:e,size:t,dir:r})=>{const i=[{transform:F0(e,P0.drawerSizeVar,r),boxShadow:`0px ${qg.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:qg.shadow64,opacity:1}],l=dd[t];return{enter:{keyframes:i,duration:l,easing:qe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:l,easing:qe.curveAccelerateMin}}}),z6=yr(({size:e})=>{const t=dd[e],r=qe.curveLinear;return{enter:fr({direction:"enter",duration:t,easing:r}),exit:fr({direction:"exit",duration:t,easing:r})}});function _6(e){const{open:t=!1,size:r="small",position:i="start",unmountOnClose:l=!0}=e;return{size:r,position:i,open:t,unmountOnClose:l}}const N6=be("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),C6=G({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),T6=e=>{"use no memo";const{treatBackdropAsNested:t,backdrop:r,open:i,unmountOnClose:l}=e,s=N6(),c=C6(),d=!l&&!i;return r&&(r.className=L(s,t&&c.nested,d&&c.drawerHidden,r.className)),e},qu=y.forwardRef((e,t)=>{const r=f0({...e,as:e.as},t),i=g0();return T6(r),Se("useOverlayDrawerSurfaceStyles_unstable")(r),p0(r,i)});qu.displayName="OverlayDrawerSurface";function Fv(e,t,r){return e===null?null:{...e,children:(i,l)=>e?.children?e.children(t,{...l,...r}):y.createElement(t,{...l,...r},l.children)}}const j6={active:!0,canRender:!0,ref:y.createRef(),type:"idle"},q6=(e,t)=>{const{open:r,size:i,position:l,unmountOnClose:s}=_6(e),{modalType:c="modal",inertTrapFocus:d,onOpenChange:f,backdropMotion:g,surfaceMotion:m,mountNode:h}=e,{dir:x,targetDocument:w}=Te(),{element:k}=Ch(h),b=!!(k&&w?.body!==k),B=Wv(e.backdrop),T=ue({...e,ref:t,unmountOnClose:s,backdrop:c!=="non-modal"&&B!==null?{...B}:null,backdropMotion:Fv(g,z6,{size:i})},{elementType:qu}),z=ue({open:r,onOpenChange:f,inertTrapFocus:d,modalType:c,unmountOnClose:s,surfaceMotion:Fv(m,S6,{position:l,size:i,dir:x}),children:null},{elementType:Nu});return{components:{root:qu,dialog:Nu},root:T,dialog:z,open:r,size:i,position:l,hasMountNodeElement:b,unmountOnClose:s,mountNode:h,motion:j6}},E6=(e,t)=>H(y6,{value:t,children:H(_N,{value:!1,children:H(e.dialog,{children:H(e.root,{})})})}),Iv={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},R6=be("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;}}"]}),D6=G({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;}"]}),P6=e=>{"use no memo";const t=B6(e),r=R6(),i=D6(),l=e.hasMountNodeElement&&i.absolute,s=e.root.backdrop;return e.root.className=L(Iv.root,t,r,i[e.position],l,e.root.className),s&&(s.className=L(Iv.backdrop,l,s.className)),e},F6=y.forwardRef((e,t)=>{const r=q6(e,t),i=w6();return P6(r),Se("useDrawerOverlayStyles_unstable")(r),Se("useOverlayDrawerStyles_unstable")(r),E6(r,i)});F6.displayName="OverlayDrawer";const I6=({scrollTop:e,scrollHeight:t,clientHeight:r})=>t<=r?"none":e===0?"top":e+r===t?"bottom":"middle",M6=(e,t)=>{const{targetDocument:r}=Te(),i=r?.defaultView,{setScrollState:l}=D0(),s=y.useRef(null),c=Ne(t,s),[d,f]=Bi(),[g,m]=Bi(),h=y.useCallback(()=>{s.current&&l(I6(s.current))},[l]),x=y.useCallback(()=>{f(),d(h)},[f,d,h]);return We(h,[e.children,h]),We(()=>{if(!s.current||!i?.ResizeObserver)return;const w=new i.ResizeObserver(()=>g(h));return w.observe(s.current),()=>{w.disconnect(),m()}},[g,m,h,i]),{components:{root:"div"},root:ue(De("div",{ref:c,...e,onScroll:me(e.onScroll,x)}),{elementType:"div"})}},O6=e=>H(e.root,{}),A6={root:"fui-DrawerBody"},H6=be("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);}"]),L6=e=>{"use no memo";const t=H6();return e.root.className=L(A6.root,t,e.root.className),e},V6=y.forwardRef((e,t)=>{const r=M6(e,t);return L6(r),Se("useDrawerBodyStyles_unstable")(r),O6(r)});V6.displayName="DrawerBody";const W6=(e,t)=>{const{scrollState:r}=D0();return{components:{root:"header"},root:ue(De("header",{ref:t,role:"none",...e}),{elementType:"header"}),scrollState:r}},U6=e=>H(e.root,{}),$6={root:"fui-DrawerHeader"},X6=be("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;}"]),G6=G({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;}"]}),K6=e=>{"use no memo";const t=X6(),r=G6();return e.root.className=L($6.root,t,e.scrollState!=="none"&&r.separator,["middle","bottom"].includes(e.scrollState)&&r.separatorVisible,e.root.className),e},Q6=y.forwardRef((e,t)=>{const r=W6(e,t);return K6(r),Se("useDrawerHeaderStyles_unstable")(r),U6(r)});Q6.displayName="DrawerHeader";const Y6=(e,t)=>{const{children:r,heading:i}=e,l=Xt(s=>s.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:ue(De("div",{ref:t,...e}),{elementType:"div"}),heading:he(i,{defaultProps:{id:l,children:r},renderByDefault:!0,elementType:"h2"}),action:he(e.action,{elementType:"div"})}},J6=e=>Ce(e.root,{children:[e.heading&&H(e.heading,{}),e.action&&H(e.action,{})]}),au={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},Z6=G({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);}"]}),e9=e=>{"use no memo";const t=Z6(),{heading:r={},action:i,components:l}=e;return d0({components:{root:l.heading,action:l.action},root:r,action:i}),e.root.className=L(au.root,t.root,e.root.className),e.heading&&(e.heading.className=L(au.heading,e.heading.className)),e.action&&(e.action.className=L(au.action,t.action,e.action.className)),e},t9=y.forwardRef((e,t)=>{const r=Y6(e,t);return e9(r),Se("useDrawerHeaderTitleStyles_unstable")(r),J6(r)});t9.displayName="DrawerHeaderTitle";export{b9 as $,wC as A,eS as B,xu as C,ij as D,o4 as E,e3 as F,v4 as G,c9 as H,d_ as I,N4 as J,M4 as K,d9 as L,L_ as M,Mj as N,gl as O,uz as P,aN as Q,hN as R,L5 as S,rN as T,zC as U,Dh as V,u9 as W,n9 as X,ku as Y,x9 as Z,p9 as _,Pz as a,ay as a0,qg as a1,s9 as a2,m9 as a3,v9 as a4,w9 as a5,B9 as a6,k9 as a7,g9 as a8,f9 as a9,y9 as aa,h9 as ab,Te as ac,Ne as ad,i9 as ae,l9 as af,a9 as ag,P3 as b,bj as c,Nu as d,AN as e,$N as f,uC as g,nC as h,ZN as i,e_ as j,V6 as k,Q6 as l,t9 as m,U3 as n,hB as o,G_ as p,n5 as q,p5 as r,y5 as s,e0 as t,o6 as u,u6 as v,h6 as w,F6 as x,oz as y,Rh as z};
|