@mohsinonxrm/pptb-commandbar-studio 0.9.0-beta.1 → 0.9.0-beta.2
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 +106 -0
- package/README.md +11 -13
- package/dist/assets/BulkPublishModal-DjdSDcWe.js +36 -0
- package/dist/assets/CommandEditorPanel-DYsxUTOk.js +1 -0
- package/dist/assets/CommandPalette-DihgRpHI.js +1 -0
- package/dist/assets/CompareView-CdQo0D6e.js +7 -0
- package/dist/assets/CrmParameterEditor-DO6Rt764.js +1 -0
- package/dist/assets/EditorDrawer-Cid60F3b.js +2 -0
- package/dist/assets/HideInsteadOfDeleteModal-Bk_foggy.js +1 -0
- package/dist/assets/IconPickerModal-CW_pvpVS.js +1 -0
- package/dist/assets/ImportXmlModal-BcszuTi-.js +1 -0
- package/dist/assets/MonacoEditor-DweI16yt.js +2 -0
- package/dist/assets/NewButtonModal-C2fAUuZI.js +1 -0
- package/dist/assets/NewGroupModal-BDr4DPBs.js +1 -0
- package/dist/assets/NewTabModal-CYc1fc2A.js +1 -0
- package/dist/assets/RuleEditorPanel-BxGrJYo4.js +1 -0
- package/dist/assets/ScriptView-tkdIK4sg.js +1 -0
- package/dist/assets/TabDisplayRulesPanel-S_AxUWfB.js +1 -0
- package/dist/assets/TranslationsView-DZIGE2pC.js +1 -0
- package/dist/assets/WebResourceBrowser-Dc3kBMvH.js +1 -0
- package/dist/assets/XmlView-B0weY9hR.js +2 -0
- package/dist/assets/{dnd-C1w9VFfC.js → dnd-iy5K5XAJ.js} +2 -2
- package/dist/assets/fluent-ui-CQyNN9H3.js +59 -0
- package/dist/assets/index-DRTwBo4g.js +136 -0
- package/dist/assets/monaco-DQA8g3bM.css +1 -0
- package/dist/assets/monaco-cQE5XS3B.js +1010 -0
- package/dist/assets/monacoSetup-BIq1zGyP.js +1 -0
- package/dist/assets/preload-helper-PPVm8Dsz.js +1 -0
- package/dist/assets/{server.browser-xEJRzS2D.js → server.browser-DTeSoizu.js} +1 -1
- package/dist/assets/useReplaceWebResourceConfirm-BhU1AM5L.js +1 -0
- package/dist/assets/useStableKeys-49o4VnxU.js +1 -0
- package/dist/assets/{xmlValidator-PbODaIQV.js → xmlValidator-CnbyWxHe.js} +2 -2
- package/dist/icons/icon.svg +9 -5
- package/dist/index.html +4 -6
- package/package.json +3 -1
- package/dist/assets/BulkPublishModal-DzDZJg0U.js +0 -36
- package/dist/assets/CommandEditorPanel-DsCP9yG4.js +0 -1
- package/dist/assets/CommandPalette-ID3kRJ9l.js +0 -1
- package/dist/assets/CompareView-DGsrcdoN.js +0 -7
- package/dist/assets/CrmParameterEditor-C22QGWff.js +0 -1
- package/dist/assets/EditorDrawer-CvCe9WeO.js +0 -2
- package/dist/assets/HideInsteadOfDeleteModal-3j9g-E9l.js +0 -1
- package/dist/assets/IconPickerModal-BLoDLbLR.js +0 -1
- package/dist/assets/ImportXmlModal-BD-L1QzJ.js +0 -1
- package/dist/assets/MonacoEditor-BMKRZv-g.js +0 -2
- package/dist/assets/NewButtonModal-COYXwEyk.js +0 -1
- package/dist/assets/NewGroupModal-boP_t1fI.js +0 -1
- package/dist/assets/NewTabModal-BI4afbC5.js +0 -1
- package/dist/assets/RuleEditorPanel-l8QnRFj6.js +0 -1
- package/dist/assets/ScriptView-BVyCmRvD.js +0 -1
- package/dist/assets/TabDisplayRulesPanel-gORq6MO7.js +0 -1
- package/dist/assets/TranslationsView-DubBATog.js +0 -1
- package/dist/assets/WebResourceBrowser-BATScmTw.js +0 -1
- package/dist/assets/XmlView-Bn4KlTw3.js +0 -2
- package/dist/assets/abap-DLDM7-KI.js +0 -1
- package/dist/assets/apex-DNDY2TF8.js +0 -1
- package/dist/assets/azcli-Y6nb8tq_.js +0 -1
- package/dist/assets/bat-BwHxbl9M.js +0 -1
- package/dist/assets/bicep-CFznDFnq.js +0 -2
- package/dist/assets/cameligo-Bf6VGUru.js +0 -1
- package/dist/assets/clojure-Dnu-v4kV.js +0 -1
- package/dist/assets/coffee-Bd8akH9Z.js +0 -1
- package/dist/assets/cpp-BbWJElDN.js +0 -1
- package/dist/assets/csharp-Co3qMtFm.js +0 -1
- package/dist/assets/csp-D-4FJmMZ.js +0 -1
- package/dist/assets/css-DdJfP1eB.js +0 -3
- package/dist/assets/css.worker-C_6RgliQ.js +0 -97
- package/dist/assets/cssMode-yNaVDuBb.js +0 -1
- package/dist/assets/cypher-cTPe9QuQ.js +0 -1
- package/dist/assets/dart-BOtBlQCF.js +0 -1
- package/dist/assets/dockerfile-BG73LgW2.js +0 -1
- package/dist/assets/ecl-BEgZUVRK.js +0 -1
- package/dist/assets/elixir-BkW5O-1t.js +0 -1
- package/dist/assets/flow9-BeJ5waoc.js +0 -1
- package/dist/assets/fluent-icons-CQEhzzaC.js +0 -1
- package/dist/assets/fluent-ui-BEjALNLO.js +0 -59
- package/dist/assets/freemarker2-CzWSO7cF.js +0 -3
- package/dist/assets/fsharp-PahG7c26.js +0 -1
- package/dist/assets/go-acbASCJo.js +0 -1
- package/dist/assets/graphql-BxJiqAUM.js +0 -1
- package/dist/assets/handlebars-BpG2O9CH.js +0 -1
- package/dist/assets/hcl-DtV1sZF8.js +0 -1
- package/dist/assets/html-Bm7ESfBq.js +0 -1
- package/dist/assets/html.worker-CLyYFd_g.js +0 -474
- package/dist/assets/htmlMode--CmpAV7s.js +0 -1
- package/dist/assets/index-6so8O90C.js +0 -136
- package/dist/assets/ini-Kd9XrMLS.js +0 -1
- package/dist/assets/java-CXBNlu9o.js +0 -1
- package/dist/assets/javascript-DYy3TIq5.js +0 -1
- package/dist/assets/json.worker-BggoxaER.js +0 -62
- package/dist/assets/jsonMode-DwsyQ3o1.js +0 -7
- package/dist/assets/julia-cl7-CwDS.js +0 -1
- package/dist/assets/kotlin-s7OhZKlX.js +0 -1
- package/dist/assets/less-9HpZscsL.js +0 -2
- package/dist/assets/lexon-OrD6JF1K.js +0 -1
- package/dist/assets/liquid-qkuWCPaY.js +0 -1
- package/dist/assets/lspLanguageFeatures-Cgd9CNvq.js +0 -4
- package/dist/assets/lua-Cyyb5UIc.js +0 -1
- package/dist/assets/m3-B8OfTtLu.js +0 -1
- package/dist/assets/markdown-BFxVWTOG.js +0 -1
- package/dist/assets/mdx-CtHfOclF.js +0 -1
- package/dist/assets/mips-CiqrrVzr.js +0 -1
- package/dist/assets/monaco-BIO15LCS.js +0 -1005
- package/dist/assets/monaco-DdLsZAcA.css +0 -1
- package/dist/assets/msdax-DmeGPVcC.js +0 -1
- package/dist/assets/mysql-C_tMU-Nz.js +0 -1
- package/dist/assets/objective-c-BDtDVThU.js +0 -1
- package/dist/assets/pascal-vHIfCaH5.js +0 -1
- package/dist/assets/pascaligo-DtZ0uQbO.js +0 -1
- package/dist/assets/perl-Ub6l9XKa.js +0 -1
- package/dist/assets/pgsql-BlNEE0v7.js +0 -1
- package/dist/assets/php-BBUBE1dy.js +0 -1
- package/dist/assets/pla-DSh2-awV.js +0 -1
- package/dist/assets/postiats-CocnycG-.js +0 -1
- package/dist/assets/powerquery-tScXyioY.js +0 -1
- package/dist/assets/powershell-COWaemsV.js +0 -1
- package/dist/assets/protobuf-Brw8urJB.js +0 -2
- package/dist/assets/pug-8SOpv6rk.js +0 -1
- package/dist/assets/python-CazlH6B-.js +0 -1
- package/dist/assets/qsharp-Bw9ernYp.js +0 -1
- package/dist/assets/r-j7ic8hl3.js +0 -1
- package/dist/assets/razor-BfGfB6aB.js +0 -1
- package/dist/assets/redis-Bu5POkcn.js +0 -1
- package/dist/assets/redshift-Bs9aos_-.js +0 -1
- package/dist/assets/restructuredtext-CqXO7rUv.js +0 -1
- package/dist/assets/ruby-zBfavPgS.js +0 -1
- package/dist/assets/rust-BzKRNQWT.js +0 -1
- package/dist/assets/sb-BBc9UKZt.js +0 -1
- package/dist/assets/scala-D9hQfWCl.js +0 -1
- package/dist/assets/scheme-BPhDTwHR.js +0 -1
- package/dist/assets/scss-CBJaRo0y.js +0 -3
- package/dist/assets/shell-DiJ1NA_G.js +0 -1
- package/dist/assets/solidity-Db0IVjzk.js +0 -1
- package/dist/assets/sophia-CnS9iZB_.js +0 -1
- package/dist/assets/sparql-CJmd_6j2.js +0 -1
- package/dist/assets/sql-ClhHkBeG.js +0 -1
- package/dist/assets/st-CHwy0fLd.js +0 -1
- package/dist/assets/swift-CnmFD0ga.js +0 -1
- package/dist/assets/systemverilog-Bs9z6M-B.js +0 -1
- package/dist/assets/tcl-Dm6ycUr_.js +0 -1
- package/dist/assets/tsMode-BZv6gTt6.js +0 -11
- package/dist/assets/twig-Csy3S7wG.js +0 -1
- package/dist/assets/typescript-BgDL1fzP.js +0 -1
- package/dist/assets/typespec-Btyra-wh.js +0 -1
- package/dist/assets/useReplaceWebResourceConfirm-DND-V0vw.js +0 -1
- package/dist/assets/useStableKeys-BkDn7til.js +0 -1
- package/dist/assets/vb-Db0cS2oM.js +0 -1
- package/dist/assets/wgsl-BTesnYfV.js +0 -298
- package/dist/assets/workers-BZ4mXA5s.js +0 -1
- package/dist/assets/xml-Cl6spsD4.js +0 -1
- package/dist/assets/yaml-El-x4GhS.js +0 -1
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{r as th,a as m,b as ti}from"./monaco-BIO15LCS.js";import{R as Qw,T as Yw,I as Jw,u as oh,m as R,_ as Zw,C as rh,a as L,b as me,c as ek,W as tk,D as ok,d as nh,S as rk,e as nk,f as wd,g as ih,h as ik,i as ba,j as kd,k as ya,l as ak,n as lk,o as sk,p as ck,q as uk,r as dk,A as fk,s as pk,t as vk,v as gk,w as mk,x as hk,y as bk,z as yk,B as wk,E as kk,F as xk,G as Bk,H as Sk,J as zk}from"./fluent-icons-CQEhzzaC.js";var ku={exports:{}},Dt={},xu={exports:{}},Bu={};var cg;function _k(){return cg||(cg=1,(function(e){function t(F,ee){var X=F.length;F.push(ee);e:for(;0<X;){var J=X-1>>>1,Q=F[J];if(0<a(Q,ee))F[J]=ee,F[X]=Q,X=J;else break e}}function o(F){return F.length===0?null:F[0]}function i(F){if(F.length===0)return null;var ee=F[0],X=F.pop();if(X!==ee){F[0]=X;e:for(var J=0,Q=F.length,A=Q>>>1;J<A;){var fe=2*(J+1)-1,ae=F[fe],pe=fe+1,xe=F[pe];if(0>a(ae,X))pe<Q&&0>a(xe,ae)?(F[J]=xe,F[pe]=X,J=pe):(F[J]=ae,F[fe]=X,J=fe);else if(pe<Q&&0>a(xe,X))F[J]=xe,F[pe]=X,J=pe;else break e}}return ee}function a(F,ee){var X=F.sortIndex-ee.sortIndex;return X!==0?X:F.id-ee.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var d=[],p=[],v=1,h=null,x=3,y=!1,k=!1,b=!1,B=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(F){for(var ee=o(p);ee!==null;){if(ee.callback===null)i(p);else if(ee.startTime<=F)i(p),ee.sortIndex=ee.expirationTime,t(d,ee);else break;ee=o(p)}}function N(F){if(b=!1,S(F),!k)if(o(d)!==null)k=!0,P(q);else{var ee=o(p);ee!==null&&Y(N,ee.startTime-F)}}function q(F,ee){k=!1,b&&(b=!1,z(H),H=-1),y=!0;var X=x;try{for(S(ee),h=o(d);h!==null&&(!(h.expirationTime>ee)||F&&!te());){var J=h.callback;if(typeof J=="function"){h.callback=null,x=h.priorityLevel;var Q=J(h.expirationTime<=ee);ee=e.unstable_now(),typeof Q=="function"?h.callback=Q:h===o(d)&&i(d),S(ee)}else i(d);h=o(d)}if(h!==null)var A=!0;else{var fe=o(p);fe!==null&&Y(N,fe.startTime-ee),A=!1}return A}finally{h=null,x=X,y=!1}}var C=!1,M=null,H=-1,W=5,ce=-1;function te(){return!(e.unstable_now()-ce<W)}function Z(){if(M!==null){var F=e.unstable_now();ce=F;var ee=!0;try{ee=M(!0,F)}finally{ee?$():(C=!1,M=null)}}else C=!1}var $;if(typeof j=="function")$=function(){j(Z)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,we=le.port2;le.port1.onmessage=Z,$=function(){we.postMessage(null)}}else $=function(){B(Z,0)};function P(F){M=F,C||(C=!0,$())}function Y(F,ee){H=B(function(){F(e.unstable_now())},ee)}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(F){F.callback=null},e.unstable_continueExecution=function(){k||y||(k=!0,P(q))},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<F?Math.floor(1e3/F):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return o(d)},e.unstable_next=function(F){switch(x){case 1:case 2:case 3:var ee=3;break;default:ee=x}var X=x;x=ee;try{return F()}finally{x=X}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(F,ee){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var X=x;x=F;try{return ee()}finally{x=X}},e.unstable_scheduleCallback=function(F,ee,X){var J=e.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?J+X:J):X=J,F){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=X+Q,F={id:v++,callback:ee,priorityLevel:F,startTime:X,expirationTime:Q,sortIndex:-1},X>J?(F.sortIndex=X,t(p,F),o(d)===null&&F===o(p)&&(b?(z(H),H=-1):b=!0,Y(N,X-J))):(F.sortIndex=Q,t(d,F),k||y||(k=!0,P(q))),F},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(F){var ee=x;return function(){var X=x;x=ee;try{return F.apply(this,arguments)}finally{x=X}}}})(Bu)),Bu}var ug;function Nk(){return ug||(ug=1,xu.exports=_k()),xu.exports}var dg;function jk(){if(dg)return Dt;dg=1;var e=th(),t=Nk();function o(r){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+r,s=1;s<arguments.length;s++)n+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+r+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function l(r,n){c(r,n),c(r+"Capture",n)}function c(r,n){for(a[r]=n,r=0;r<n.length;r++)i.add(n[r])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,p=/^[: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]*$/,v={},h={};function x(r){return d.call(h,r)?!0:d.call(v,r)?!1:p.test(r)?h[r]=!0:(v[r]=!0,!1)}function y(r,n,s,f){if(s!==null&&s.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return f?!1:s!==null?!s.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function k(r,n,s,f){if(n===null||typeof n>"u"||y(r,n,s,f))return!0;if(f)return!1;if(s!==null)switch(s.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(r,n,s,f,g,w,_){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=f,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=r,this.type=n,this.sanitizeURL=w,this.removeEmptyString=_}var B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){B[r]=new b(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var n=r[0];B[n]=new b(n,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){B[r]=new b(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){B[r]=new b(r,2,!1,r,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(r){B[r]=new b(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){B[r]=new b(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){B[r]=new b(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){B[r]=new b(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){B[r]=new b(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function j(r){return r[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(r){var n=r.replace(z,j);B[n]=new b(n,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var n=r.replace(z,j);B[n]=new b(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var n=r.replace(z,j);B[n]=new b(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){B[r]=new b(r,1,!1,r.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(r){B[r]=new b(r,1,!1,r.toLowerCase(),null,!0,!0)});function S(r,n,s,f){var g=B.hasOwnProperty(n)?B[n]:null;(g!==null?g.type!==0:f||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(k(n,s,g,f)&&(s=null),f||g===null?x(n)&&(s===null?r.removeAttribute(n):r.setAttribute(n,""+s)):g.mustUseProperty?r[g.propertyName]=s===null?g.type===3?!1:"":s:(n=g.attributeName,f=g.attributeNamespace,s===null?r.removeAttribute(n):(g=g.type,s=g===3||g===4&&s===!0?"":""+s,f?r.setAttributeNS(f,n,s):r.setAttribute(n,s))))}var N=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,q=Symbol.for("react.element"),C=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),te=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),Y=Symbol.for("react.offscreen"),F=Symbol.iterator;function ee(r){return r===null||typeof r!="object"?null:(r=F&&r[F]||r["@@iterator"],typeof r=="function"?r:null)}var X=Object.assign,J;function Q(r){if(J===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);J=n&&n[1]||""}return`
|
|
2
|
-
`+J+r}var A=!1;function fe(r,n){if(!r||A)return"";A=!0;var s=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(G){var f=G}Reflect.construct(r,[],n)}else{try{n.call()}catch(G){f=G}r.call(n.prototype)}else{try{throw Error()}catch(G){f=G}r()}}catch(G){if(G&&f&&typeof G.stack=="string"){for(var g=G.stack.split(`
|
|
3
|
-
`),w=f.stack.split(`
|
|
4
|
-
`),_=g.length-1,T=w.length-1;1<=_&&0<=T&&g[_]!==w[T];)T--;for(;1<=_&&0<=T;_--,T--)if(g[_]!==w[T]){if(_!==1||T!==1)do if(_--,T--,0>T||g[_]!==w[T]){var E=`
|
|
5
|
-
`+g[_].replace(" at new "," at ");return r.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",r.displayName)),E}while(1<=_&&0<=T);break}}}finally{A=!1,Error.prepareStackTrace=s}return(r=r?r.displayName||r.name:"")?Q(r):""}function ae(r){switch(r.tag){case 5:return Q(r.type);case 16:return Q("Lazy");case 13:return Q("Suspense");case 19:return Q("SuspenseList");case 0:case 2:case 15:return r=fe(r.type,!1),r;case 11:return r=fe(r.type.render,!1),r;case 1:return r=fe(r.type,!0),r;default:return""}}function pe(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case M:return"Fragment";case C:return"Portal";case W:return"Profiler";case H:return"StrictMode";case $:return"Suspense";case le:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case te:return(r.displayName||"Context")+".Consumer";case ce:return(r._context.displayName||"Context")+".Provider";case Z:var n=r.render;return r=r.displayName,r||(r=n.displayName||n.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case we:return n=r.displayName||null,n!==null?n:pe(r.type)||"Memo";case P:n=r._payload,r=r._init;try{return pe(r(n))}catch{}}return null}function xe(r){var n=r.type;switch(r.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 r=n.render,r=r.displayName||r.name||"",n.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(n);case 8:return n===H?"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 Re(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function jt(r){var n=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function kt(r){var n=jt(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,n),f=""+r[n];if(!r.hasOwnProperty(n)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var g=s.get,w=s.set;return Object.defineProperty(r,n,{configurable:!0,get:function(){return g.call(this)},set:function(_){f=""+_,w.call(this,_)}}),Object.defineProperty(r,n,{enumerable:s.enumerable}),{getValue:function(){return f},setValue:function(_){f=""+_},stopTracking:function(){r._valueTracker=null,delete r[n]}}}}function so(r){r._valueTracker||(r._valueTracker=kt(r))}function Xr(r){if(!r)return!1;var n=r._valueTracker;if(!n)return!0;var s=n.getValue(),f="";return r&&(f=jt(r)?r.checked?"true":"false":r.value),r=f,r!==s?(n.setValue(r),!0):!1}function sr(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function pi(r,n){var s=n.checked;return X({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??r._wrapperState.initialChecked})}function mf(r,n){var s=n.defaultValue==null?"":n.defaultValue,f=n.checked!=null?n.checked:n.defaultChecked;s=Re(n.value!=null?n.value:s),r._wrapperState={initialChecked:f,initialValue:s,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function hf(r,n){n=n.checked,n!=null&&S(r,"checked",n,!1)}function Cs(r,n){hf(r,n);var s=Re(n.value),f=n.type;if(s!=null)f==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+s):r.value!==""+s&&(r.value=""+s);else if(f==="submit"||f==="reset"){r.removeAttribute("value");return}n.hasOwnProperty("value")?Ts(r,n.type,s):n.hasOwnProperty("defaultValue")&&Ts(r,n.type,Re(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(r.defaultChecked=!!n.defaultChecked)}function bf(r,n,s){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var f=n.type;if(!(f!=="submit"&&f!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+r._wrapperState.initialValue,s||n===r.value||(r.value=n),r.defaultValue=n}s=r.name,s!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,s!==""&&(r.name=s)}function Ts(r,n,s){(n!=="number"||sr(r.ownerDocument)!==r)&&(s==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+s&&(r.defaultValue=""+s))}var vi=Array.isArray;function yn(r,n,s,f){if(r=r.options,n){n={};for(var g=0;g<s.length;g++)n["$"+s[g]]=!0;for(s=0;s<r.length;s++)g=n.hasOwnProperty("$"+r[s].value),r[s].selected!==g&&(r[s].selected=g),g&&f&&(r[s].defaultSelected=!0)}else{for(s=""+Re(s),n=null,g=0;g<r.length;g++){if(r[g].value===s){r[g].selected=!0,f&&(r[g].defaultSelected=!0);return}n!==null||r[g].disabled||(n=r[g])}n!==null&&(n.selected=!0)}}function qs(r,n){if(n.dangerouslySetInnerHTML!=null)throw Error(o(91));return X({},n,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function yf(r,n){var s=n.value;if(s==null){if(s=n.children,n=n.defaultValue,s!=null){if(n!=null)throw Error(o(92));if(vi(s)){if(1<s.length)throw Error(o(93));s=s[0]}n=s}n==null&&(n=""),s=n}r._wrapperState={initialValue:Re(s)}}function wf(r,n){var s=Re(n.value),f=Re(n.defaultValue);s!=null&&(s=""+s,s!==r.value&&(r.value=s),n.defaultValue==null&&r.defaultValue!==s&&(r.defaultValue=s)),f!=null&&(r.defaultValue=""+f)}function kf(r){var n=r.textContent;n===r._wrapperState.initialValue&&n!==""&&n!==null&&(r.value=n)}function xf(r){switch(r){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 Is(r,n){return r==null||r==="http://www.w3.org/1999/xhtml"?xf(n):r==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Na,Bf=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,s,f,g){MSApp.execUnsafeLocalFunction(function(){return r(n,s,f,g)})}:r})(function(r,n){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=n;else{for(Na=Na||document.createElement("div"),Na.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Na.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;n.firstChild;)r.appendChild(n.firstChild)}});function gi(r,n){if(n){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=n;return}}r.textContent=n}var mi={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},ey=["Webkit","ms","Moz","O"];Object.keys(mi).forEach(function(r){ey.forEach(function(n){n=n+r.charAt(0).toUpperCase()+r.substring(1),mi[n]=mi[r]})});function Sf(r,n,s){return n==null||typeof n=="boolean"||n===""?"":s||typeof n!="number"||n===0||mi.hasOwnProperty(r)&&mi[r]?(""+n).trim():n+"px"}function zf(r,n){r=r.style;for(var s in n)if(n.hasOwnProperty(s)){var f=s.indexOf("--")===0,g=Sf(s,n[s],f);s==="float"&&(s="cssFloat"),f?r.setProperty(s,g):r[s]=g}}var ty=X({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 Rs(r,n){if(n){if(ty[r]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,r));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function Es(r,n){if(r.indexOf("-")===-1)return typeof n.is=="string";switch(r){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 Ps=null;function Ds(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Fs=null,wn=null,kn=null;function _f(r){if(r=Mi(r)){if(typeof Fs!="function")throw Error(o(280));var n=r.stateNode;n&&(n=Qa(n),Fs(r.stateNode,r.type,n))}}function Nf(r){wn?kn?kn.push(r):kn=[r]:wn=r}function jf(){if(wn){var r=wn,n=kn;if(kn=wn=null,_f(r),n)for(r=0;r<n.length;r++)_f(n[r])}}function Cf(r,n){return r(n)}function Tf(){}var Ms=!1;function qf(r,n,s){if(Ms)return r(n,s);Ms=!0;try{return Cf(r,n,s)}finally{Ms=!1,(wn!==null||kn!==null)&&(Tf(),jf())}}function hi(r,n){var s=r.stateNode;if(s===null)return null;var f=Qa(s);if(f===null)return null;s=f[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":(f=!f.disabled)||(r=r.type,f=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!f;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(o(231,n,typeof s));return s}var Hs=!1;if(u)try{var bi={};Object.defineProperty(bi,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",bi,bi),window.removeEventListener("test",bi,bi)}catch{Hs=!1}function oy(r,n,s,f,g,w,_,T,E){var G=Array.prototype.slice.call(arguments,3);try{n.apply(s,G)}catch(ne){this.onError(ne)}}var yi=!1,ja=null,Ca=!1,As=null,ry={onError:function(r){yi=!0,ja=r}};function ny(r,n,s,f,g,w,_,T,E){yi=!1,ja=null,oy.apply(ry,arguments)}function iy(r,n,s,f,g,w,_,T,E){if(ny.apply(this,arguments),yi){if(yi){var G=ja;yi=!1,ja=null}else throw Error(o(198));Ca||(Ca=!0,As=G)}}function Kr(r){var n=r,s=r;if(r.alternate)for(;n.return;)n=n.return;else{r=n;do n=r,(n.flags&4098)!==0&&(s=n.return),r=n.return;while(r)}return n.tag===3?s:null}function If(r){if(r.tag===13){var n=r.memoizedState;if(n===null&&(r=r.alternate,r!==null&&(n=r.memoizedState)),n!==null)return n.dehydrated}return null}function Rf(r){if(Kr(r)!==r)throw Error(o(188))}function ay(r){var n=r.alternate;if(!n){if(n=Kr(r),n===null)throw Error(o(188));return n!==r?null:r}for(var s=r,f=n;;){var g=s.return;if(g===null)break;var w=g.alternate;if(w===null){if(f=g.return,f!==null){s=f;continue}break}if(g.child===w.child){for(w=g.child;w;){if(w===s)return Rf(g),r;if(w===f)return Rf(g),n;w=w.sibling}throw Error(o(188))}if(s.return!==f.return)s=g,f=w;else{for(var _=!1,T=g.child;T;){if(T===s){_=!0,s=g,f=w;break}if(T===f){_=!0,f=g,s=w;break}T=T.sibling}if(!_){for(T=w.child;T;){if(T===s){_=!0,s=w,f=g;break}if(T===f){_=!0,f=w,s=g;break}T=T.sibling}if(!_)throw Error(o(189))}}if(s.alternate!==f)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?r:n}function Ef(r){return r=ay(r),r!==null?Pf(r):null}function Pf(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var n=Pf(r);if(n!==null)return n;r=r.sibling}return null}var Df=t.unstable_scheduleCallback,Ff=t.unstable_cancelCallback,ly=t.unstable_shouldYield,sy=t.unstable_requestPaint,rt=t.unstable_now,cy=t.unstable_getCurrentPriorityLevel,Os=t.unstable_ImmediatePriority,Mf=t.unstable_UserBlockingPriority,Ta=t.unstable_NormalPriority,uy=t.unstable_LowPriority,Hf=t.unstable_IdlePriority,qa=null,So=null;function dy(r){if(So&&typeof So.onCommitFiberRoot=="function")try{So.onCommitFiberRoot(qa,r,void 0,(r.current.flags&128)===128)}catch{}}var co=Math.clz32?Math.clz32:vy,fy=Math.log,py=Math.LN2;function vy(r){return r>>>=0,r===0?32:31-(fy(r)/py|0)|0}var Ia=64,Ra=4194304;function wi(r){switch(r&-r){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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ea(r,n){var s=r.pendingLanes;if(s===0)return 0;var f=0,g=r.suspendedLanes,w=r.pingedLanes,_=s&268435455;if(_!==0){var T=_&~g;T!==0?f=wi(T):(w&=_,w!==0&&(f=wi(w)))}else _=s&~g,_!==0?f=wi(_):w!==0&&(f=wi(w));if(f===0)return 0;if(n!==0&&n!==f&&(n&g)===0&&(g=f&-f,w=n&-n,g>=w||g===16&&(w&4194240)!==0))return n;if((f&4)!==0&&(f|=s&16),n=r.entangledLanes,n!==0)for(r=r.entanglements,n&=f;0<n;)s=31-co(n),g=1<<s,f|=r[s],n&=~g;return f}function gy(r,n){switch(r){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 my(r,n){for(var s=r.suspendedLanes,f=r.pingedLanes,g=r.expirationTimes,w=r.pendingLanes;0<w;){var _=31-co(w),T=1<<_,E=g[_];E===-1?((T&s)===0||(T&f)!==0)&&(g[_]=gy(T,n)):E<=n&&(r.expiredLanes|=T),w&=~T}}function Ls(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Af(){var r=Ia;return Ia<<=1,(Ia&4194240)===0&&(Ia=64),r}function Vs(r){for(var n=[],s=0;31>s;s++)n.push(r);return n}function ki(r,n,s){r.pendingLanes|=n,n!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,n=31-co(n),r[n]=s}function hy(r,n){var s=r.pendingLanes&~n;r.pendingLanes=n,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=n,r.mutableReadLanes&=n,r.entangledLanes&=n,n=r.entanglements;var f=r.eventTimes;for(r=r.expirationTimes;0<s;){var g=31-co(s),w=1<<g;n[g]=0,f[g]=-1,r[g]=-1,s&=~w}}function Ws(r,n){var s=r.entangledLanes|=n;for(r=r.entanglements;s;){var f=31-co(s),g=1<<f;g&n|r[f]&n&&(r[f]|=n),s&=~g}}var Ae=0;function Of(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Lf,$s,Vf,Wf,$f,Gs=!1,Pa=[],cr=null,ur=null,dr=null,xi=new Map,Bi=new Map,fr=[],by="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 Gf(r,n){switch(r){case"focusin":case"focusout":cr=null;break;case"dragenter":case"dragleave":ur=null;break;case"mouseover":case"mouseout":dr=null;break;case"pointerover":case"pointerout":xi.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bi.delete(n.pointerId)}}function Si(r,n,s,f,g,w){return r===null||r.nativeEvent!==w?(r={blockedOn:n,domEventName:s,eventSystemFlags:f,nativeEvent:w,targetContainers:[g]},n!==null&&(n=Mi(n),n!==null&&$s(n)),r):(r.eventSystemFlags|=f,n=r.targetContainers,g!==null&&n.indexOf(g)===-1&&n.push(g),r)}function yy(r,n,s,f,g){switch(n){case"focusin":return cr=Si(cr,r,n,s,f,g),!0;case"dragenter":return ur=Si(ur,r,n,s,f,g),!0;case"mouseover":return dr=Si(dr,r,n,s,f,g),!0;case"pointerover":var w=g.pointerId;return xi.set(w,Si(xi.get(w)||null,r,n,s,f,g)),!0;case"gotpointercapture":return w=g.pointerId,Bi.set(w,Si(Bi.get(w)||null,r,n,s,f,g)),!0}return!1}function Uf(r){var n=Qr(r.target);if(n!==null){var s=Kr(n);if(s!==null){if(n=s.tag,n===13){if(n=If(s),n!==null){r.blockedOn=n,$f(r.priority,function(){Vf(s)});return}}else if(n===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Da(r){if(r.blockedOn!==null)return!1;for(var n=r.targetContainers;0<n.length;){var s=Xs(r.domEventName,r.eventSystemFlags,n[0],r.nativeEvent);if(s===null){s=r.nativeEvent;var f=new s.constructor(s.type,s);Ps=f,s.target.dispatchEvent(f),Ps=null}else return n=Mi(s),n!==null&&$s(n),r.blockedOn=s,!1;n.shift()}return!0}function Xf(r,n,s){Da(r)&&s.delete(n)}function wy(){Gs=!1,cr!==null&&Da(cr)&&(cr=null),ur!==null&&Da(ur)&&(ur=null),dr!==null&&Da(dr)&&(dr=null),xi.forEach(Xf),Bi.forEach(Xf)}function zi(r,n){r.blockedOn===n&&(r.blockedOn=null,Gs||(Gs=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,wy)))}function _i(r){function n(g){return zi(g,r)}if(0<Pa.length){zi(Pa[0],r);for(var s=1;s<Pa.length;s++){var f=Pa[s];f.blockedOn===r&&(f.blockedOn=null)}}for(cr!==null&&zi(cr,r),ur!==null&&zi(ur,r),dr!==null&&zi(dr,r),xi.forEach(n),Bi.forEach(n),s=0;s<fr.length;s++)f=fr[s],f.blockedOn===r&&(f.blockedOn=null);for(;0<fr.length&&(s=fr[0],s.blockedOn===null);)Uf(s),s.blockedOn===null&&fr.shift()}var xn=N.ReactCurrentBatchConfig,Fa=!0;function ky(r,n,s,f){var g=Ae,w=xn.transition;xn.transition=null;try{Ae=1,Us(r,n,s,f)}finally{Ae=g,xn.transition=w}}function xy(r,n,s,f){var g=Ae,w=xn.transition;xn.transition=null;try{Ae=4,Us(r,n,s,f)}finally{Ae=g,xn.transition=w}}function Us(r,n,s,f){if(Fa){var g=Xs(r,n,s,f);if(g===null)dc(r,n,f,Ma,s),Gf(r,f);else if(yy(g,r,n,s,f))f.stopPropagation();else if(Gf(r,f),n&4&&-1<by.indexOf(r)){for(;g!==null;){var w=Mi(g);if(w!==null&&Lf(w),w=Xs(r,n,s,f),w===null&&dc(r,n,f,Ma,s),w===g)break;g=w}g!==null&&f.stopPropagation()}else dc(r,n,f,null,s)}}var Ma=null;function Xs(r,n,s,f){if(Ma=null,r=Ds(f),r=Qr(r),r!==null)if(n=Kr(r),n===null)r=null;else if(s=n.tag,s===13){if(r=If(n),r!==null)return r;r=null}else if(s===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;r=null}else n!==r&&(r=null);return Ma=r,null}function Kf(r){switch(r){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(cy()){case Os:return 1;case Mf:return 4;case Ta:case uy:return 16;case Hf:return 536870912;default:return 16}default:return 16}}var pr=null,Ks=null,Ha=null;function Qf(){if(Ha)return Ha;var r,n=Ks,s=n.length,f,g="value"in pr?pr.value:pr.textContent,w=g.length;for(r=0;r<s&&n[r]===g[r];r++);var _=s-r;for(f=1;f<=_&&n[s-f]===g[w-f];f++);return Ha=g.slice(r,1<f?1-f:void 0)}function Aa(r){var n=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&n===13&&(r=13)):r=n,r===10&&(r=13),32<=r||r===13?r:0}function Oa(){return!0}function Yf(){return!1}function Ht(r){function n(s,f,g,w,_){this._reactName=s,this._targetInst=g,this.type=f,this.nativeEvent=w,this.target=_,this.currentTarget=null;for(var T in r)r.hasOwnProperty(T)&&(s=r[T],this[T]=s?s(w):w[T]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?Oa:Yf,this.isPropagationStopped=Yf,this}return X(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Oa)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Oa)},persist:function(){},isPersistent:Oa}),n}var Bn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qs=Ht(Bn),Ni=X({},Bn,{view:0,detail:0}),By=Ht(Ni),Ys,Js,ji,La=X({},Ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ec,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==ji&&(ji&&r.type==="mousemove"?(Ys=r.screenX-ji.screenX,Js=r.screenY-ji.screenY):Js=Ys=0,ji=r),Ys)},movementY:function(r){return"movementY"in r?r.movementY:Js}}),Jf=Ht(La),Sy=X({},La,{dataTransfer:0}),zy=Ht(Sy),_y=X({},Ni,{relatedTarget:0}),Zs=Ht(_y),Ny=X({},Bn,{animationName:0,elapsedTime:0,pseudoElement:0}),jy=Ht(Ny),Cy=X({},Bn,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Ty=Ht(Cy),qy=X({},Bn,{data:0}),Zf=Ht(qy),Iy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ry={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"},Ey={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Py(r){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(r):(r=Ey[r])?!!n[r]:!1}function ec(){return Py}var Dy=X({},Ni,{key:function(r){if(r.key){var n=Iy[r.key]||r.key;if(n!=="Unidentified")return n}return r.type==="keypress"?(r=Aa(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Ry[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ec,charCode:function(r){return r.type==="keypress"?Aa(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Aa(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Fy=Ht(Dy),My=X({},La,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ep=Ht(My),Hy=X({},Ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ec}),Ay=Ht(Hy),Oy=X({},Bn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ly=Ht(Oy),Vy=X({},La,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Wy=Ht(Vy),$y=[9,13,27,32],tc=u&&"CompositionEvent"in window,Ci=null;u&&"documentMode"in document&&(Ci=document.documentMode);var Gy=u&&"TextEvent"in window&&!Ci,tp=u&&(!tc||Ci&&8<Ci&&11>=Ci),op=" ",rp=!1;function np(r,n){switch(r){case"keyup":return $y.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ip(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Sn=!1;function Uy(r,n){switch(r){case"compositionend":return ip(n);case"keypress":return n.which!==32?null:(rp=!0,op);case"textInput":return r=n.data,r===op&&rp?null:r;default:return null}}function Xy(r,n){if(Sn)return r==="compositionend"||!tc&&np(r,n)?(r=Qf(),Ha=Ks=pr=null,Sn=!1,r):null;switch(r){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 tp&&n.locale!=="ko"?null:n.data;default:return null}}var Ky={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 ap(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n==="input"?!!Ky[r.type]:n==="textarea"}function lp(r,n,s,f){Nf(f),n=Ua(n,"onChange"),0<n.length&&(s=new Qs("onChange","change",null,s,f),r.push({event:s,listeners:n}))}var Ti=null,qi=null;function Qy(r){zp(r,0)}function Va(r){var n=Cn(r);if(Xr(n))return r}function Yy(r,n){if(r==="change")return n}var sp=!1;if(u){var oc;if(u){var rc="oninput"in document;if(!rc){var cp=document.createElement("div");cp.setAttribute("oninput","return;"),rc=typeof cp.oninput=="function"}oc=rc}else oc=!1;sp=oc&&(!document.documentMode||9<document.documentMode)}function up(){Ti&&(Ti.detachEvent("onpropertychange",dp),qi=Ti=null)}function dp(r){if(r.propertyName==="value"&&Va(qi)){var n=[];lp(n,qi,r,Ds(r)),qf(Qy,n)}}function Jy(r,n,s){r==="focusin"?(up(),Ti=n,qi=s,Ti.attachEvent("onpropertychange",dp)):r==="focusout"&&up()}function Zy(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Va(qi)}function ew(r,n){if(r==="click")return Va(n)}function tw(r,n){if(r==="input"||r==="change")return Va(n)}function ow(r,n){return r===n&&(r!==0||1/r===1/n)||r!==r&&n!==n}var uo=typeof Object.is=="function"?Object.is:ow;function Ii(r,n){if(uo(r,n))return!0;if(typeof r!="object"||r===null||typeof n!="object"||n===null)return!1;var s=Object.keys(r),f=Object.keys(n);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var g=s[f];if(!d.call(n,g)||!uo(r[g],n[g]))return!1}return!0}function fp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function pp(r,n){var s=fp(r);r=0;for(var f;s;){if(s.nodeType===3){if(f=r+s.textContent.length,r<=n&&f>=n)return{node:s,offset:n-r};r=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=fp(s)}}function vp(r,n){return r&&n?r===n?!0:r&&r.nodeType===3?!1:n&&n.nodeType===3?vp(r,n.parentNode):"contains"in r?r.contains(n):r.compareDocumentPosition?!!(r.compareDocumentPosition(n)&16):!1:!1}function gp(){for(var r=window,n=sr();n instanceof r.HTMLIFrameElement;){try{var s=typeof n.contentWindow.location.href=="string"}catch{s=!1}if(s)r=n.contentWindow;else break;n=sr(r.document)}return n}function nc(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n&&(n==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||n==="textarea"||r.contentEditable==="true")}function rw(r){var n=gp(),s=r.focusedElem,f=r.selectionRange;if(n!==s&&s&&s.ownerDocument&&vp(s.ownerDocument.documentElement,s)){if(f!==null&&nc(s)){if(n=f.start,r=f.end,r===void 0&&(r=n),"selectionStart"in s)s.selectionStart=n,s.selectionEnd=Math.min(r,s.value.length);else if(r=(n=s.ownerDocument||document)&&n.defaultView||window,r.getSelection){r=r.getSelection();var g=s.textContent.length,w=Math.min(f.start,g);f=f.end===void 0?w:Math.min(f.end,g),!r.extend&&w>f&&(g=f,f=w,w=g),g=pp(s,w);var _=pp(s,f);g&&_&&(r.rangeCount!==1||r.anchorNode!==g.node||r.anchorOffset!==g.offset||r.focusNode!==_.node||r.focusOffset!==_.offset)&&(n=n.createRange(),n.setStart(g.node,g.offset),r.removeAllRanges(),w>f?(r.addRange(n),r.extend(_.node,_.offset)):(n.setEnd(_.node,_.offset),r.addRange(n)))}}for(n=[],r=s;r=r.parentNode;)r.nodeType===1&&n.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<n.length;s++)r=n[s],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var nw=u&&"documentMode"in document&&11>=document.documentMode,zn=null,ic=null,Ri=null,ac=!1;function mp(r,n,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;ac||zn==null||zn!==sr(f)||(f=zn,"selectionStart"in f&&nc(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Ri&&Ii(Ri,f)||(Ri=f,f=Ua(ic,"onSelect"),0<f.length&&(n=new Qs("onSelect","select",null,n,s),r.push({event:n,listeners:f}),n.target=zn)))}function Wa(r,n){var s={};return s[r.toLowerCase()]=n.toLowerCase(),s["Webkit"+r]="webkit"+n,s["Moz"+r]="moz"+n,s}var _n={animationend:Wa("Animation","AnimationEnd"),animationiteration:Wa("Animation","AnimationIteration"),animationstart:Wa("Animation","AnimationStart"),transitionend:Wa("Transition","TransitionEnd")},lc={},hp={};u&&(hp=document.createElement("div").style,"AnimationEvent"in window||(delete _n.animationend.animation,delete _n.animationiteration.animation,delete _n.animationstart.animation),"TransitionEvent"in window||delete _n.transitionend.transition);function $a(r){if(lc[r])return lc[r];if(!_n[r])return r;var n=_n[r],s;for(s in n)if(n.hasOwnProperty(s)&&s in hp)return lc[r]=n[s];return r}var bp=$a("animationend"),yp=$a("animationiteration"),wp=$a("animationstart"),kp=$a("transitionend"),xp=new Map,Bp="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 vr(r,n){xp.set(r,n),l(n,[r])}for(var sc=0;sc<Bp.length;sc++){var cc=Bp[sc],iw=cc.toLowerCase(),aw=cc[0].toUpperCase()+cc.slice(1);vr(iw,"on"+aw)}vr(bp,"onAnimationEnd"),vr(yp,"onAnimationIteration"),vr(wp,"onAnimationStart"),vr("dblclick","onDoubleClick"),vr("focusin","onFocus"),vr("focusout","onBlur"),vr(kp,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ei="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(" "),lw=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ei));function Sp(r,n,s){var f=r.type||"unknown-event";r.currentTarget=s,iy(f,n,void 0,r),r.currentTarget=null}function zp(r,n){n=(n&4)!==0;for(var s=0;s<r.length;s++){var f=r[s],g=f.event;f=f.listeners;e:{var w=void 0;if(n)for(var _=f.length-1;0<=_;_--){var T=f[_],E=T.instance,G=T.currentTarget;if(T=T.listener,E!==w&&g.isPropagationStopped())break e;Sp(g,T,G),w=E}else for(_=0;_<f.length;_++){if(T=f[_],E=T.instance,G=T.currentTarget,T=T.listener,E!==w&&g.isPropagationStopped())break e;Sp(g,T,G),w=E}}}if(Ca)throw r=As,Ca=!1,As=null,r}function $e(r,n){var s=n[hc];s===void 0&&(s=n[hc]=new Set);var f=r+"__bubble";s.has(f)||(_p(n,r,2,!1),s.add(f))}function uc(r,n,s){var f=0;n&&(f|=4),_p(s,r,f,n)}var Ga="_reactListening"+Math.random().toString(36).slice(2);function Pi(r){if(!r[Ga]){r[Ga]=!0,i.forEach(function(s){s!=="selectionchange"&&(lw.has(s)||uc(s,!1,r),uc(s,!0,r))});var n=r.nodeType===9?r:r.ownerDocument;n===null||n[Ga]||(n[Ga]=!0,uc("selectionchange",!1,n))}}function _p(r,n,s,f){switch(Kf(n)){case 1:var g=ky;break;case 4:g=xy;break;default:g=Us}s=g.bind(null,n,s,r),g=void 0,!Hs||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(g=!0),f?g!==void 0?r.addEventListener(n,s,{capture:!0,passive:g}):r.addEventListener(n,s,!0):g!==void 0?r.addEventListener(n,s,{passive:g}):r.addEventListener(n,s,!1)}function dc(r,n,s,f,g){var w=f;if((n&1)===0&&(n&2)===0&&f!==null)e:for(;;){if(f===null)return;var _=f.tag;if(_===3||_===4){var T=f.stateNode.containerInfo;if(T===g||T.nodeType===8&&T.parentNode===g)break;if(_===4)for(_=f.return;_!==null;){var E=_.tag;if((E===3||E===4)&&(E=_.stateNode.containerInfo,E===g||E.nodeType===8&&E.parentNode===g))return;_=_.return}for(;T!==null;){if(_=Qr(T),_===null)return;if(E=_.tag,E===5||E===6){f=w=_;continue e}T=T.parentNode}}f=f.return}qf(function(){var G=w,ne=Ds(s),se=[];e:{var re=xp.get(r);if(re!==void 0){var ge=Qs,be=r;switch(r){case"keypress":if(Aa(s)===0)break e;case"keydown":case"keyup":ge=Fy;break;case"focusin":be="focus",ge=Zs;break;case"focusout":be="blur",ge=Zs;break;case"beforeblur":case"afterblur":ge=Zs;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ge=Jf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=zy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=Ay;break;case bp:case yp:case wp:ge=jy;break;case kp:ge=Ly;break;case"scroll":ge=By;break;case"wheel":ge=Wy;break;case"copy":case"cut":case"paste":ge=Ty;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=ep}var ke=(n&4)!==0,nt=!ke&&r==="scroll",O=ke?re!==null?re+"Capture":null:re;ke=[];for(var D=G,V;D!==null;){V=D;var ue=V.stateNode;if(V.tag===5&&ue!==null&&(V=ue,O!==null&&(ue=hi(D,O),ue!=null&&ke.push(Di(D,ue,V)))),nt)break;D=D.return}0<ke.length&&(re=new ge(re,be,null,s,ne),se.push({event:re,listeners:ke}))}}if((n&7)===0){e:{if(re=r==="mouseover"||r==="pointerover",ge=r==="mouseout"||r==="pointerout",re&&s!==Ps&&(be=s.relatedTarget||s.fromElement)&&(Qr(be)||be[Wo]))break e;if((ge||re)&&(re=ne.window===ne?ne:(re=ne.ownerDocument)?re.defaultView||re.parentWindow:window,ge?(be=s.relatedTarget||s.toElement,ge=G,be=be?Qr(be):null,be!==null&&(nt=Kr(be),be!==nt||be.tag!==5&&be.tag!==6)&&(be=null)):(ge=null,be=G),ge!==be)){if(ke=Jf,ue="onMouseLeave",O="onMouseEnter",D="mouse",(r==="pointerout"||r==="pointerover")&&(ke=ep,ue="onPointerLeave",O="onPointerEnter",D="pointer"),nt=ge==null?re:Cn(ge),V=be==null?re:Cn(be),re=new ke(ue,D+"leave",ge,s,ne),re.target=nt,re.relatedTarget=V,ue=null,Qr(ne)===G&&(ke=new ke(O,D+"enter",be,s,ne),ke.target=V,ke.relatedTarget=nt,ue=ke),nt=ue,ge&&be)t:{for(ke=ge,O=be,D=0,V=ke;V;V=Nn(V))D++;for(V=0,ue=O;ue;ue=Nn(ue))V++;for(;0<D-V;)ke=Nn(ke),D--;for(;0<V-D;)O=Nn(O),V--;for(;D--;){if(ke===O||O!==null&&ke===O.alternate)break t;ke=Nn(ke),O=Nn(O)}ke=null}else ke=null;ge!==null&&Np(se,re,ge,ke,!1),be!==null&&nt!==null&&Np(se,nt,be,ke,!0)}}e:{if(re=G?Cn(G):window,ge=re.nodeName&&re.nodeName.toLowerCase(),ge==="select"||ge==="input"&&re.type==="file")var Be=Yy;else if(ap(re))if(sp)Be=tw;else{Be=Zy;var Ne=Jy}else(ge=re.nodeName)&&ge.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Be=ew);if(Be&&(Be=Be(r,G))){lp(se,Be,s,ne);break e}Ne&&Ne(r,re,G),r==="focusout"&&(Ne=re._wrapperState)&&Ne.controlled&&re.type==="number"&&Ts(re,"number",re.value)}switch(Ne=G?Cn(G):window,r){case"focusin":(ap(Ne)||Ne.contentEditable==="true")&&(zn=Ne,ic=G,Ri=null);break;case"focusout":Ri=ic=zn=null;break;case"mousedown":ac=!0;break;case"contextmenu":case"mouseup":case"dragend":ac=!1,mp(se,s,ne);break;case"selectionchange":if(nw)break;case"keydown":case"keyup":mp(se,s,ne)}var je;if(tc)e:{switch(r){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else Sn?np(r,s)&&(Te="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Te="onCompositionStart");Te&&(tp&&s.locale!=="ko"&&(Sn||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&Sn&&(je=Qf()):(pr=ne,Ks="value"in pr?pr.value:pr.textContent,Sn=!0)),Ne=Ua(G,Te),0<Ne.length&&(Te=new Zf(Te,r,null,s,ne),se.push({event:Te,listeners:Ne}),je?Te.data=je:(je=ip(s),je!==null&&(Te.data=je)))),(je=Gy?Uy(r,s):Xy(r,s))&&(G=Ua(G,"onBeforeInput"),0<G.length&&(ne=new Zf("onBeforeInput","beforeinput",null,s,ne),se.push({event:ne,listeners:G}),ne.data=je))}zp(se,n)})}function Di(r,n,s){return{instance:r,listener:n,currentTarget:s}}function Ua(r,n){for(var s=n+"Capture",f=[];r!==null;){var g=r,w=g.stateNode;g.tag===5&&w!==null&&(g=w,w=hi(r,s),w!=null&&f.unshift(Di(r,w,g)),w=hi(r,n),w!=null&&f.push(Di(r,w,g))),r=r.return}return f}function Nn(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Np(r,n,s,f,g){for(var w=n._reactName,_=[];s!==null&&s!==f;){var T=s,E=T.alternate,G=T.stateNode;if(E!==null&&E===f)break;T.tag===5&&G!==null&&(T=G,g?(E=hi(s,w),E!=null&&_.unshift(Di(s,E,T))):g||(E=hi(s,w),E!=null&&_.push(Di(s,E,T)))),s=s.return}_.length!==0&&r.push({event:n,listeners:_})}var sw=/\r\n?/g,cw=/\u0000|\uFFFD/g;function jp(r){return(typeof r=="string"?r:""+r).replace(sw,`
|
|
6
|
-
`).replace(cw,"")}function Xa(r,n,s){if(n=jp(n),jp(r)!==n&&s)throw Error(o(425))}function Ka(){}var fc=null,pc=null;function vc(r,n){return r==="textarea"||r==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var gc=typeof setTimeout=="function"?setTimeout:void 0,uw=typeof clearTimeout=="function"?clearTimeout:void 0,Cp=typeof Promise=="function"?Promise:void 0,dw=typeof queueMicrotask=="function"?queueMicrotask:typeof Cp<"u"?function(r){return Cp.resolve(null).then(r).catch(fw)}:gc;function fw(r){setTimeout(function(){throw r})}function mc(r,n){var s=n,f=0;do{var g=s.nextSibling;if(r.removeChild(s),g&&g.nodeType===8)if(s=g.data,s==="/$"){if(f===0){r.removeChild(g),_i(n);return}f--}else s!=="$"&&s!=="$?"&&s!=="$!"||f++;s=g}while(s);_i(n)}function gr(r){for(;r!=null;r=r.nextSibling){var n=r.nodeType;if(n===1||n===3)break;if(n===8){if(n=r.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return r}function Tp(r){r=r.previousSibling;for(var n=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(n===0)return r;n--}else s==="/$"&&n++}r=r.previousSibling}return null}var jn=Math.random().toString(36).slice(2),zo="__reactFiber$"+jn,Fi="__reactProps$"+jn,Wo="__reactContainer$"+jn,hc="__reactEvents$"+jn,pw="__reactListeners$"+jn,vw="__reactHandles$"+jn;function Qr(r){var n=r[zo];if(n)return n;for(var s=r.parentNode;s;){if(n=s[Wo]||s[zo]){if(s=n.alternate,n.child!==null||s!==null&&s.child!==null)for(r=Tp(r);r!==null;){if(s=r[zo])return s;r=Tp(r)}return n}r=s,s=r.parentNode}return null}function Mi(r){return r=r[zo]||r[Wo],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Cn(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(o(33))}function Qa(r){return r[Fi]||null}var bc=[],Tn=-1;function mr(r){return{current:r}}function Ge(r){0>Tn||(r.current=bc[Tn],bc[Tn]=null,Tn--)}function Ve(r,n){Tn++,bc[Tn]=r.current,r.current=n}var hr={},xt=mr(hr),qt=mr(!1),Yr=hr;function qn(r,n){var s=r.type.contextTypes;if(!s)return hr;var f=r.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===n)return f.__reactInternalMemoizedMaskedChildContext;var g={},w;for(w in s)g[w]=n[w];return f&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=g),g}function It(r){return r=r.childContextTypes,r!=null}function Ya(){Ge(qt),Ge(xt)}function qp(r,n,s){if(xt.current!==hr)throw Error(o(168));Ve(xt,n),Ve(qt,s)}function Ip(r,n,s){var f=r.stateNode;if(n=n.childContextTypes,typeof f.getChildContext!="function")return s;f=f.getChildContext();for(var g in f)if(!(g in n))throw Error(o(108,xe(r)||"Unknown",g));return X({},s,f)}function Ja(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||hr,Yr=xt.current,Ve(xt,r),Ve(qt,qt.current),!0}function Rp(r,n,s){var f=r.stateNode;if(!f)throw Error(o(169));s?(r=Ip(r,n,Yr),f.__reactInternalMemoizedMergedChildContext=r,Ge(qt),Ge(xt),Ve(xt,r)):Ge(qt),Ve(qt,s)}var $o=null,Za=!1,yc=!1;function Ep(r){$o===null?$o=[r]:$o.push(r)}function gw(r){Za=!0,Ep(r)}function br(){if(!yc&&$o!==null){yc=!0;var r=0,n=Ae;try{var s=$o;for(Ae=1;r<s.length;r++){var f=s[r];do f=f(!0);while(f!==null)}$o=null,Za=!1}catch(g){throw $o!==null&&($o=$o.slice(r+1)),Df(Os,br),g}finally{Ae=n,yc=!1}}return null}var In=[],Rn=0,el=null,tl=0,Qt=[],Yt=0,Jr=null,Go=1,Uo="";function Zr(r,n){In[Rn++]=tl,In[Rn++]=el,el=r,tl=n}function Pp(r,n,s){Qt[Yt++]=Go,Qt[Yt++]=Uo,Qt[Yt++]=Jr,Jr=r;var f=Go;r=Uo;var g=32-co(f)-1;f&=~(1<<g),s+=1;var w=32-co(n)+g;if(30<w){var _=g-g%5;w=(f&(1<<_)-1).toString(32),f>>=_,g-=_,Go=1<<32-co(n)+g|s<<g|f,Uo=w+r}else Go=1<<w|s<<g|f,Uo=r}function wc(r){r.return!==null&&(Zr(r,1),Pp(r,1,0))}function kc(r){for(;r===el;)el=In[--Rn],In[Rn]=null,tl=In[--Rn],In[Rn]=null;for(;r===Jr;)Jr=Qt[--Yt],Qt[Yt]=null,Uo=Qt[--Yt],Qt[Yt]=null,Go=Qt[--Yt],Qt[Yt]=null}var At=null,Ot=null,Ue=!1,fo=null;function Dp(r,n){var s=to(5,null,null,0);s.elementType="DELETED",s.stateNode=n,s.return=r,n=r.deletions,n===null?(r.deletions=[s],r.flags|=16):n.push(s)}function Fp(r,n){switch(r.tag){case 5:var s=r.type;return n=n.nodeType!==1||s.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(r.stateNode=n,At=r,Ot=gr(n.firstChild),!0):!1;case 6:return n=r.pendingProps===""||n.nodeType!==3?null:n,n!==null?(r.stateNode=n,At=r,Ot=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(s=Jr!==null?{id:Go,overflow:Uo}:null,r.memoizedState={dehydrated:n,treeContext:s,retryLane:1073741824},s=to(18,null,null,0),s.stateNode=n,s.return=r,r.child=s,At=r,Ot=null,!0):!1;default:return!1}}function xc(r){return(r.mode&1)!==0&&(r.flags&128)===0}function Bc(r){if(Ue){var n=Ot;if(n){var s=n;if(!Fp(r,n)){if(xc(r))throw Error(o(418));n=gr(s.nextSibling);var f=At;n&&Fp(r,n)?Dp(f,s):(r.flags=r.flags&-4097|2,Ue=!1,At=r)}}else{if(xc(r))throw Error(o(418));r.flags=r.flags&-4097|2,Ue=!1,At=r}}}function Mp(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;At=r}function ol(r){if(r!==At)return!1;if(!Ue)return Mp(r),Ue=!0,!1;var n;if((n=r.tag!==3)&&!(n=r.tag!==5)&&(n=r.type,n=n!=="head"&&n!=="body"&&!vc(r.type,r.memoizedProps)),n&&(n=Ot)){if(xc(r))throw Hp(),Error(o(418));for(;n;)Dp(r,n),n=gr(n.nextSibling)}if(Mp(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));e:{for(r=r.nextSibling,n=0;r;){if(r.nodeType===8){var s=r.data;if(s==="/$"){if(n===0){Ot=gr(r.nextSibling);break e}n--}else s!=="$"&&s!=="$!"&&s!=="$?"||n++}r=r.nextSibling}Ot=null}}else Ot=At?gr(r.stateNode.nextSibling):null;return!0}function Hp(){for(var r=Ot;r;)r=gr(r.nextSibling)}function En(){Ot=At=null,Ue=!1}function Sc(r){fo===null?fo=[r]:fo.push(r)}var mw=N.ReactCurrentBatchConfig;function Hi(r,n,s){if(r=s.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(o(309));var f=s.stateNode}if(!f)throw Error(o(147,r));var g=f,w=""+r;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===w?n.ref:(n=function(_){var T=g.refs;_===null?delete T[w]:T[w]=_},n._stringRef=w,n)}if(typeof r!="string")throw Error(o(284));if(!s._owner)throw Error(o(290,r))}return r}function rl(r,n){throw r=Object.prototype.toString.call(n),Error(o(31,r==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":r))}function Ap(r){var n=r._init;return n(r._payload)}function Op(r){function n(O,D){if(r){var V=O.deletions;V===null?(O.deletions=[D],O.flags|=16):V.push(D)}}function s(O,D){if(!r)return null;for(;D!==null;)n(O,D),D=D.sibling;return null}function f(O,D){for(O=new Map;D!==null;)D.key!==null?O.set(D.key,D):O.set(D.index,D),D=D.sibling;return O}function g(O,D){return O=_r(O,D),O.index=0,O.sibling=null,O}function w(O,D,V){return O.index=V,r?(V=O.alternate,V!==null?(V=V.index,V<D?(O.flags|=2,D):V):(O.flags|=2,D)):(O.flags|=1048576,D)}function _(O){return r&&O.alternate===null&&(O.flags|=2),O}function T(O,D,V,ue){return D===null||D.tag!==6?(D=gu(V,O.mode,ue),D.return=O,D):(D=g(D,V),D.return=O,D)}function E(O,D,V,ue){var Be=V.type;return Be===M?ne(O,D,V.props.children,ue,V.key):D!==null&&(D.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===P&&Ap(Be)===D.type)?(ue=g(D,V.props),ue.ref=Hi(O,D,V),ue.return=O,ue):(ue=Nl(V.type,V.key,V.props,null,O.mode,ue),ue.ref=Hi(O,D,V),ue.return=O,ue)}function G(O,D,V,ue){return D===null||D.tag!==4||D.stateNode.containerInfo!==V.containerInfo||D.stateNode.implementation!==V.implementation?(D=mu(V,O.mode,ue),D.return=O,D):(D=g(D,V.children||[]),D.return=O,D)}function ne(O,D,V,ue,Be){return D===null||D.tag!==7?(D=sn(V,O.mode,ue,Be),D.return=O,D):(D=g(D,V),D.return=O,D)}function se(O,D,V){if(typeof D=="string"&&D!==""||typeof D=="number")return D=gu(""+D,O.mode,V),D.return=O,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case q:return V=Nl(D.type,D.key,D.props,null,O.mode,V),V.ref=Hi(O,null,D),V.return=O,V;case C:return D=mu(D,O.mode,V),D.return=O,D;case P:var ue=D._init;return se(O,ue(D._payload),V)}if(vi(D)||ee(D))return D=sn(D,O.mode,V,null),D.return=O,D;rl(O,D)}return null}function re(O,D,V,ue){var Be=D!==null?D.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return Be!==null?null:T(O,D,""+V,ue);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case q:return V.key===Be?E(O,D,V,ue):null;case C:return V.key===Be?G(O,D,V,ue):null;case P:return Be=V._init,re(O,D,Be(V._payload),ue)}if(vi(V)||ee(V))return Be!==null?null:ne(O,D,V,ue,null);rl(O,V)}return null}function ge(O,D,V,ue,Be){if(typeof ue=="string"&&ue!==""||typeof ue=="number")return O=O.get(V)||null,T(D,O,""+ue,Be);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case q:return O=O.get(ue.key===null?V:ue.key)||null,E(D,O,ue,Be);case C:return O=O.get(ue.key===null?V:ue.key)||null,G(D,O,ue,Be);case P:var Ne=ue._init;return ge(O,D,V,Ne(ue._payload),Be)}if(vi(ue)||ee(ue))return O=O.get(V)||null,ne(D,O,ue,Be,null);rl(D,ue)}return null}function be(O,D,V,ue){for(var Be=null,Ne=null,je=D,Te=D=0,vt=null;je!==null&&Te<V.length;Te++){je.index>Te?(vt=je,je=null):vt=je.sibling;var Pe=re(O,je,V[Te],ue);if(Pe===null){je===null&&(je=vt);break}r&&je&&Pe.alternate===null&&n(O,je),D=w(Pe,D,Te),Ne===null?Be=Pe:Ne.sibling=Pe,Ne=Pe,je=vt}if(Te===V.length)return s(O,je),Ue&&Zr(O,Te),Be;if(je===null){for(;Te<V.length;Te++)je=se(O,V[Te],ue),je!==null&&(D=w(je,D,Te),Ne===null?Be=je:Ne.sibling=je,Ne=je);return Ue&&Zr(O,Te),Be}for(je=f(O,je);Te<V.length;Te++)vt=ge(je,O,Te,V[Te],ue),vt!==null&&(r&&vt.alternate!==null&&je.delete(vt.key===null?Te:vt.key),D=w(vt,D,Te),Ne===null?Be=vt:Ne.sibling=vt,Ne=vt);return r&&je.forEach(function(Nr){return n(O,Nr)}),Ue&&Zr(O,Te),Be}function ke(O,D,V,ue){var Be=ee(V);if(typeof Be!="function")throw Error(o(150));if(V=Be.call(V),V==null)throw Error(o(151));for(var Ne=Be=null,je=D,Te=D=0,vt=null,Pe=V.next();je!==null&&!Pe.done;Te++,Pe=V.next()){je.index>Te?(vt=je,je=null):vt=je.sibling;var Nr=re(O,je,Pe.value,ue);if(Nr===null){je===null&&(je=vt);break}r&&je&&Nr.alternate===null&&n(O,je),D=w(Nr,D,Te),Ne===null?Be=Nr:Ne.sibling=Nr,Ne=Nr,je=vt}if(Pe.done)return s(O,je),Ue&&Zr(O,Te),Be;if(je===null){for(;!Pe.done;Te++,Pe=V.next())Pe=se(O,Pe.value,ue),Pe!==null&&(D=w(Pe,D,Te),Ne===null?Be=Pe:Ne.sibling=Pe,Ne=Pe);return Ue&&Zr(O,Te),Be}for(je=f(O,je);!Pe.done;Te++,Pe=V.next())Pe=ge(je,O,Te,Pe.value,ue),Pe!==null&&(r&&Pe.alternate!==null&&je.delete(Pe.key===null?Te:Pe.key),D=w(Pe,D,Te),Ne===null?Be=Pe:Ne.sibling=Pe,Ne=Pe);return r&&je.forEach(function(Kw){return n(O,Kw)}),Ue&&Zr(O,Te),Be}function nt(O,D,V,ue){if(typeof V=="object"&&V!==null&&V.type===M&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case q:e:{for(var Be=V.key,Ne=D;Ne!==null;){if(Ne.key===Be){if(Be=V.type,Be===M){if(Ne.tag===7){s(O,Ne.sibling),D=g(Ne,V.props.children),D.return=O,O=D;break e}}else if(Ne.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===P&&Ap(Be)===Ne.type){s(O,Ne.sibling),D=g(Ne,V.props),D.ref=Hi(O,Ne,V),D.return=O,O=D;break e}s(O,Ne);break}else n(O,Ne);Ne=Ne.sibling}V.type===M?(D=sn(V.props.children,O.mode,ue,V.key),D.return=O,O=D):(ue=Nl(V.type,V.key,V.props,null,O.mode,ue),ue.ref=Hi(O,D,V),ue.return=O,O=ue)}return _(O);case C:e:{for(Ne=V.key;D!==null;){if(D.key===Ne)if(D.tag===4&&D.stateNode.containerInfo===V.containerInfo&&D.stateNode.implementation===V.implementation){s(O,D.sibling),D=g(D,V.children||[]),D.return=O,O=D;break e}else{s(O,D);break}else n(O,D);D=D.sibling}D=mu(V,O.mode,ue),D.return=O,O=D}return _(O);case P:return Ne=V._init,nt(O,D,Ne(V._payload),ue)}if(vi(V))return be(O,D,V,ue);if(ee(V))return ke(O,D,V,ue);rl(O,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,D!==null&&D.tag===6?(s(O,D.sibling),D=g(D,V),D.return=O,O=D):(s(O,D),D=gu(V,O.mode,ue),D.return=O,O=D),_(O)):s(O,D)}return nt}var Pn=Op(!0),Lp=Op(!1),nl=mr(null),il=null,Dn=null,zc=null;function _c(){zc=Dn=il=null}function Nc(r){var n=nl.current;Ge(nl),r._currentValue=n}function jc(r,n,s){for(;r!==null;){var f=r.alternate;if((r.childLanes&n)!==n?(r.childLanes|=n,f!==null&&(f.childLanes|=n)):f!==null&&(f.childLanes&n)!==n&&(f.childLanes|=n),r===s)break;r=r.return}}function Fn(r,n){il=r,zc=Dn=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&n)!==0&&(Rt=!0),r.firstContext=null)}function Jt(r){var n=r._currentValue;if(zc!==r)if(r={context:r,memoizedValue:n,next:null},Dn===null){if(il===null)throw Error(o(308));Dn=r,il.dependencies={lanes:0,firstContext:r}}else Dn=Dn.next=r;return n}var en=null;function Cc(r){en===null?en=[r]:en.push(r)}function Vp(r,n,s,f){var g=n.interleaved;return g===null?(s.next=s,Cc(n)):(s.next=g.next,g.next=s),n.interleaved=s,Xo(r,f)}function Xo(r,n){r.lanes|=n;var s=r.alternate;for(s!==null&&(s.lanes|=n),s=r,r=r.return;r!==null;)r.childLanes|=n,s=r.alternate,s!==null&&(s.childLanes|=n),s=r,r=r.return;return s.tag===3?s.stateNode:null}var yr=!1;function Tc(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wp(r,n){r=r.updateQueue,n.updateQueue===r&&(n.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Ko(r,n){return{eventTime:r,lane:n,tag:0,payload:null,callback:null,next:null}}function wr(r,n,s){var f=r.updateQueue;if(f===null)return null;if(f=f.shared,(Ee&2)!==0){var g=f.pending;return g===null?n.next=n:(n.next=g.next,g.next=n),f.pending=n,Xo(r,s)}return g=f.interleaved,g===null?(n.next=n,Cc(f)):(n.next=g.next,g.next=n),f.interleaved=n,Xo(r,s)}function al(r,n,s){if(n=n.updateQueue,n!==null&&(n=n.shared,(s&4194240)!==0)){var f=n.lanes;f&=r.pendingLanes,s|=f,n.lanes=s,Ws(r,s)}}function $p(r,n){var s=r.updateQueue,f=r.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var g=null,w=null;if(s=s.firstBaseUpdate,s!==null){do{var _={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};w===null?g=w=_:w=w.next=_,s=s.next}while(s!==null);w===null?g=w=n:w=w.next=n}else g=w=n;s={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:w,shared:f.shared,effects:f.effects},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=n:r.next=n,s.lastBaseUpdate=n}function ll(r,n,s,f){var g=r.updateQueue;yr=!1;var w=g.firstBaseUpdate,_=g.lastBaseUpdate,T=g.shared.pending;if(T!==null){g.shared.pending=null;var E=T,G=E.next;E.next=null,_===null?w=G:_.next=G,_=E;var ne=r.alternate;ne!==null&&(ne=ne.updateQueue,T=ne.lastBaseUpdate,T!==_&&(T===null?ne.firstBaseUpdate=G:T.next=G,ne.lastBaseUpdate=E))}if(w!==null){var se=g.baseState;_=0,ne=G=E=null,T=w;do{var re=T.lane,ge=T.eventTime;if((f&re)===re){ne!==null&&(ne=ne.next={eventTime:ge,lane:0,tag:T.tag,payload:T.payload,callback:T.callback,next:null});e:{var be=r,ke=T;switch(re=n,ge=s,ke.tag){case 1:if(be=ke.payload,typeof be=="function"){se=be.call(ge,se,re);break e}se=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=ke.payload,re=typeof be=="function"?be.call(ge,se,re):be,re==null)break e;se=X({},se,re);break e;case 2:yr=!0}}T.callback!==null&&T.lane!==0&&(r.flags|=64,re=g.effects,re===null?g.effects=[T]:re.push(T))}else ge={eventTime:ge,lane:re,tag:T.tag,payload:T.payload,callback:T.callback,next:null},ne===null?(G=ne=ge,E=se):ne=ne.next=ge,_|=re;if(T=T.next,T===null){if(T=g.shared.pending,T===null)break;re=T,T=re.next,re.next=null,g.lastBaseUpdate=re,g.shared.pending=null}}while(!0);if(ne===null&&(E=se),g.baseState=E,g.firstBaseUpdate=G,g.lastBaseUpdate=ne,n=g.shared.interleaved,n!==null){g=n;do _|=g.lane,g=g.next;while(g!==n)}else w===null&&(g.shared.lanes=0);rn|=_,r.lanes=_,r.memoizedState=se}}function Gp(r,n,s){if(r=n.effects,n.effects=null,r!==null)for(n=0;n<r.length;n++){var f=r[n],g=f.callback;if(g!==null){if(f.callback=null,f=s,typeof g!="function")throw Error(o(191,g));g.call(f)}}}var Ai={},_o=mr(Ai),Oi=mr(Ai),Li=mr(Ai);function tn(r){if(r===Ai)throw Error(o(174));return r}function qc(r,n){switch(Ve(Li,n),Ve(Oi,r),Ve(_o,Ai),r=n.nodeType,r){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Is(null,"");break;default:r=r===8?n.parentNode:n,n=r.namespaceURI||null,r=r.tagName,n=Is(n,r)}Ge(_o),Ve(_o,n)}function Mn(){Ge(_o),Ge(Oi),Ge(Li)}function Up(r){tn(Li.current);var n=tn(_o.current),s=Is(n,r.type);n!==s&&(Ve(Oi,r),Ve(_o,s))}function Ic(r){Oi.current===r&&(Ge(_o),Ge(Oi))}var Ke=mr(0);function sl(r){for(var n=r;n!==null;){if(n.tag===13){var s=n.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.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===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Rc=[];function Ec(){for(var r=0;r<Rc.length;r++)Rc[r]._workInProgressVersionPrimary=null;Rc.length=0}var cl=N.ReactCurrentDispatcher,Pc=N.ReactCurrentBatchConfig,on=0,Qe=null,ct=null,ft=null,ul=!1,Vi=!1,Wi=0,hw=0;function Bt(){throw Error(o(321))}function Dc(r,n){if(n===null)return!1;for(var s=0;s<n.length&&s<r.length;s++)if(!uo(r[s],n[s]))return!1;return!0}function Fc(r,n,s,f,g,w){if(on=w,Qe=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,cl.current=r===null||r.memoizedState===null?kw:xw,r=s(f,g),Vi){w=0;do{if(Vi=!1,Wi=0,25<=w)throw Error(o(301));w+=1,ft=ct=null,n.updateQueue=null,cl.current=Bw,r=s(f,g)}while(Vi)}if(cl.current=pl,n=ct!==null&&ct.next!==null,on=0,ft=ct=Qe=null,ul=!1,n)throw Error(o(300));return r}function Mc(){var r=Wi!==0;return Wi=0,r}function No(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Qe.memoizedState=ft=r:ft=ft.next=r,ft}function Zt(){if(ct===null){var r=Qe.alternate;r=r!==null?r.memoizedState:null}else r=ct.next;var n=ft===null?Qe.memoizedState:ft.next;if(n!==null)ft=n,ct=r;else{if(r===null)throw Error(o(310));ct=r,r={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},ft===null?Qe.memoizedState=ft=r:ft=ft.next=r}return ft}function $i(r,n){return typeof n=="function"?n(r):n}function Hc(r){var n=Zt(),s=n.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=r;var f=ct,g=f.baseQueue,w=s.pending;if(w!==null){if(g!==null){var _=g.next;g.next=w.next,w.next=_}f.baseQueue=g=w,s.pending=null}if(g!==null){w=g.next,f=f.baseState;var T=_=null,E=null,G=w;do{var ne=G.lane;if((on&ne)===ne)E!==null&&(E=E.next={lane:0,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),f=G.hasEagerState?G.eagerState:r(f,G.action);else{var se={lane:ne,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null};E===null?(T=E=se,_=f):E=E.next=se,Qe.lanes|=ne,rn|=ne}G=G.next}while(G!==null&&G!==w);E===null?_=f:E.next=T,uo(f,n.memoizedState)||(Rt=!0),n.memoizedState=f,n.baseState=_,n.baseQueue=E,s.lastRenderedState=f}if(r=s.interleaved,r!==null){g=r;do w=g.lane,Qe.lanes|=w,rn|=w,g=g.next;while(g!==r)}else g===null&&(s.lanes=0);return[n.memoizedState,s.dispatch]}function Ac(r){var n=Zt(),s=n.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=r;var f=s.dispatch,g=s.pending,w=n.memoizedState;if(g!==null){s.pending=null;var _=g=g.next;do w=r(w,_.action),_=_.next;while(_!==g);uo(w,n.memoizedState)||(Rt=!0),n.memoizedState=w,n.baseQueue===null&&(n.baseState=w),s.lastRenderedState=w}return[w,f]}function Xp(){}function Kp(r,n){var s=Qe,f=Zt(),g=n(),w=!uo(f.memoizedState,g);if(w&&(f.memoizedState=g,Rt=!0),f=f.queue,Oc(Jp.bind(null,s,f,r),[r]),f.getSnapshot!==n||w||ft!==null&&ft.memoizedState.tag&1){if(s.flags|=2048,Gi(9,Yp.bind(null,s,f,g,n),void 0,null),pt===null)throw Error(o(349));(on&30)!==0||Qp(s,n,g)}return g}function Qp(r,n,s){r.flags|=16384,r={getSnapshot:n,value:s},n=Qe.updateQueue,n===null?(n={lastEffect:null,stores:null},Qe.updateQueue=n,n.stores=[r]):(s=n.stores,s===null?n.stores=[r]:s.push(r))}function Yp(r,n,s,f){n.value=s,n.getSnapshot=f,Zp(n)&&ev(r)}function Jp(r,n,s){return s(function(){Zp(n)&&ev(r)})}function Zp(r){var n=r.getSnapshot;r=r.value;try{var s=n();return!uo(r,s)}catch{return!0}}function ev(r){var n=Xo(r,1);n!==null&&mo(n,r,1,-1)}function tv(r){var n=No();return typeof r=="function"&&(r=r()),n.memoizedState=n.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:$i,lastRenderedState:r},n.queue=r,r=r.dispatch=ww.bind(null,Qe,r),[n.memoizedState,r]}function Gi(r,n,s,f){return r={tag:r,create:n,destroy:s,deps:f,next:null},n=Qe.updateQueue,n===null?(n={lastEffect:null,stores:null},Qe.updateQueue=n,n.lastEffect=r.next=r):(s=n.lastEffect,s===null?n.lastEffect=r.next=r:(f=s.next,s.next=r,r.next=f,n.lastEffect=r)),r}function ov(){return Zt().memoizedState}function dl(r,n,s,f){var g=No();Qe.flags|=r,g.memoizedState=Gi(1|n,s,void 0,f===void 0?null:f)}function fl(r,n,s,f){var g=Zt();f=f===void 0?null:f;var w=void 0;if(ct!==null){var _=ct.memoizedState;if(w=_.destroy,f!==null&&Dc(f,_.deps)){g.memoizedState=Gi(n,s,w,f);return}}Qe.flags|=r,g.memoizedState=Gi(1|n,s,w,f)}function rv(r,n){return dl(8390656,8,r,n)}function Oc(r,n){return fl(2048,8,r,n)}function nv(r,n){return fl(4,2,r,n)}function iv(r,n){return fl(4,4,r,n)}function av(r,n){if(typeof n=="function")return r=r(),n(r),function(){n(null)};if(n!=null)return r=r(),n.current=r,function(){n.current=null}}function lv(r,n,s){return s=s!=null?s.concat([r]):null,fl(4,4,av.bind(null,n,r),s)}function Lc(){}function sv(r,n){var s=Zt();n=n===void 0?null:n;var f=s.memoizedState;return f!==null&&n!==null&&Dc(n,f[1])?f[0]:(s.memoizedState=[r,n],r)}function cv(r,n){var s=Zt();n=n===void 0?null:n;var f=s.memoizedState;return f!==null&&n!==null&&Dc(n,f[1])?f[0]:(r=r(),s.memoizedState=[r,n],r)}function uv(r,n,s){return(on&21)===0?(r.baseState&&(r.baseState=!1,Rt=!0),r.memoizedState=s):(uo(s,n)||(s=Af(),Qe.lanes|=s,rn|=s,r.baseState=!0),n)}function bw(r,n){var s=Ae;Ae=s!==0&&4>s?s:4,r(!0);var f=Pc.transition;Pc.transition={};try{r(!1),n()}finally{Ae=s,Pc.transition=f}}function dv(){return Zt().memoizedState}function yw(r,n,s){var f=Sr(r);if(s={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null},fv(r))pv(n,s);else if(s=Vp(r,n,s,f),s!==null){var g=Tt();mo(s,r,f,g),vv(s,n,f)}}function ww(r,n,s){var f=Sr(r),g={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null};if(fv(r))pv(n,g);else{var w=r.alternate;if(r.lanes===0&&(w===null||w.lanes===0)&&(w=n.lastRenderedReducer,w!==null))try{var _=n.lastRenderedState,T=w(_,s);if(g.hasEagerState=!0,g.eagerState=T,uo(T,_)){var E=n.interleaved;E===null?(g.next=g,Cc(n)):(g.next=E.next,E.next=g),n.interleaved=g;return}}catch{}s=Vp(r,n,g,f),s!==null&&(g=Tt(),mo(s,r,f,g),vv(s,n,f))}}function fv(r){var n=r.alternate;return r===Qe||n!==null&&n===Qe}function pv(r,n){Vi=ul=!0;var s=r.pending;s===null?n.next=n:(n.next=s.next,s.next=n),r.pending=n}function vv(r,n,s){if((s&4194240)!==0){var f=n.lanes;f&=r.pendingLanes,s|=f,n.lanes=s,Ws(r,s)}}var pl={readContext:Jt,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useInsertionEffect:Bt,useLayoutEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useMutableSource:Bt,useSyncExternalStore:Bt,useId:Bt,unstable_isNewReconciler:!1},kw={readContext:Jt,useCallback:function(r,n){return No().memoizedState=[r,n===void 0?null:n],r},useContext:Jt,useEffect:rv,useImperativeHandle:function(r,n,s){return s=s!=null?s.concat([r]):null,dl(4194308,4,av.bind(null,n,r),s)},useLayoutEffect:function(r,n){return dl(4194308,4,r,n)},useInsertionEffect:function(r,n){return dl(4,2,r,n)},useMemo:function(r,n){var s=No();return n=n===void 0?null:n,r=r(),s.memoizedState=[r,n],r},useReducer:function(r,n,s){var f=No();return n=s!==void 0?s(n):n,f.memoizedState=f.baseState=n,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:n},f.queue=r,r=r.dispatch=yw.bind(null,Qe,r),[f.memoizedState,r]},useRef:function(r){var n=No();return r={current:r},n.memoizedState=r},useState:tv,useDebugValue:Lc,useDeferredValue:function(r){return No().memoizedState=r},useTransition:function(){var r=tv(!1),n=r[0];return r=bw.bind(null,r[1]),No().memoizedState=r,[n,r]},useMutableSource:function(){},useSyncExternalStore:function(r,n,s){var f=Qe,g=No();if(Ue){if(s===void 0)throw Error(o(407));s=s()}else{if(s=n(),pt===null)throw Error(o(349));(on&30)!==0||Qp(f,n,s)}g.memoizedState=s;var w={value:s,getSnapshot:n};return g.queue=w,rv(Jp.bind(null,f,w,r),[r]),f.flags|=2048,Gi(9,Yp.bind(null,f,w,s,n),void 0,null),s},useId:function(){var r=No(),n=pt.identifierPrefix;if(Ue){var s=Uo,f=Go;s=(f&~(1<<32-co(f)-1)).toString(32)+s,n=":"+n+"R"+s,s=Wi++,0<s&&(n+="H"+s.toString(32)),n+=":"}else s=hw++,n=":"+n+"r"+s.toString(32)+":";return r.memoizedState=n},unstable_isNewReconciler:!1},xw={readContext:Jt,useCallback:sv,useContext:Jt,useEffect:Oc,useImperativeHandle:lv,useInsertionEffect:nv,useLayoutEffect:iv,useMemo:cv,useReducer:Hc,useRef:ov,useState:function(){return Hc($i)},useDebugValue:Lc,useDeferredValue:function(r){var n=Zt();return uv(n,ct.memoizedState,r)},useTransition:function(){var r=Hc($i)[0],n=Zt().memoizedState;return[r,n]},useMutableSource:Xp,useSyncExternalStore:Kp,useId:dv,unstable_isNewReconciler:!1},Bw={readContext:Jt,useCallback:sv,useContext:Jt,useEffect:Oc,useImperativeHandle:lv,useInsertionEffect:nv,useLayoutEffect:iv,useMemo:cv,useReducer:Ac,useRef:ov,useState:function(){return Ac($i)},useDebugValue:Lc,useDeferredValue:function(r){var n=Zt();return ct===null?n.memoizedState=r:uv(n,ct.memoizedState,r)},useTransition:function(){var r=Ac($i)[0],n=Zt().memoizedState;return[r,n]},useMutableSource:Xp,useSyncExternalStore:Kp,useId:dv,unstable_isNewReconciler:!1};function po(r,n){if(r&&r.defaultProps){n=X({},n),r=r.defaultProps;for(var s in r)n[s]===void 0&&(n[s]=r[s]);return n}return n}function Vc(r,n,s,f){n=r.memoizedState,s=s(f,n),s=s==null?n:X({},n,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var vl={isMounted:function(r){return(r=r._reactInternals)?Kr(r)===r:!1},enqueueSetState:function(r,n,s){r=r._reactInternals;var f=Tt(),g=Sr(r),w=Ko(f,g);w.payload=n,s!=null&&(w.callback=s),n=wr(r,w,g),n!==null&&(mo(n,r,g,f),al(n,r,g))},enqueueReplaceState:function(r,n,s){r=r._reactInternals;var f=Tt(),g=Sr(r),w=Ko(f,g);w.tag=1,w.payload=n,s!=null&&(w.callback=s),n=wr(r,w,g),n!==null&&(mo(n,r,g,f),al(n,r,g))},enqueueForceUpdate:function(r,n){r=r._reactInternals;var s=Tt(),f=Sr(r),g=Ko(s,f);g.tag=2,n!=null&&(g.callback=n),n=wr(r,g,f),n!==null&&(mo(n,r,f,s),al(n,r,f))}};function gv(r,n,s,f,g,w,_){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(f,w,_):n.prototype&&n.prototype.isPureReactComponent?!Ii(s,f)||!Ii(g,w):!0}function mv(r,n,s){var f=!1,g=hr,w=n.contextType;return typeof w=="object"&&w!==null?w=Jt(w):(g=It(n)?Yr:xt.current,f=n.contextTypes,w=(f=f!=null)?qn(r,g):hr),n=new n(s,w),r.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=vl,r.stateNode=n,n._reactInternals=r,f&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=g,r.__reactInternalMemoizedMaskedChildContext=w),n}function hv(r,n,s,f){r=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(s,f),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(s,f),n.state!==r&&vl.enqueueReplaceState(n,n.state,null)}function Wc(r,n,s,f){var g=r.stateNode;g.props=s,g.state=r.memoizedState,g.refs={},Tc(r);var w=n.contextType;typeof w=="object"&&w!==null?g.context=Jt(w):(w=It(n)?Yr:xt.current,g.context=qn(r,w)),g.state=r.memoizedState,w=n.getDerivedStateFromProps,typeof w=="function"&&(Vc(r,n,w,s),g.state=r.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(n=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),n!==g.state&&vl.enqueueReplaceState(g,g.state,null),ll(r,s,g,f),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308)}function Hn(r,n){try{var s="",f=n;do s+=ae(f),f=f.return;while(f);var g=s}catch(w){g=`
|
|
7
|
-
Error generating stack: `+w.message+`
|
|
8
|
-
`+w.stack}return{value:r,source:n,stack:g,digest:null}}function $c(r,n,s){return{value:r,source:null,stack:s??null,digest:n??null}}function Gc(r,n){try{console.error(n.value)}catch(s){setTimeout(function(){throw s})}}var Sw=typeof WeakMap=="function"?WeakMap:Map;function bv(r,n,s){s=Ko(-1,s),s.tag=3,s.payload={element:null};var f=n.value;return s.callback=function(){kl||(kl=!0,lu=f),Gc(r,n)},s}function yv(r,n,s){s=Ko(-1,s),s.tag=3;var f=r.type.getDerivedStateFromError;if(typeof f=="function"){var g=n.value;s.payload=function(){return f(g)},s.callback=function(){Gc(r,n)}}var w=r.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(s.callback=function(){Gc(r,n),typeof f!="function"&&(xr===null?xr=new Set([this]):xr.add(this));var _=n.stack;this.componentDidCatch(n.value,{componentStack:_!==null?_:""})}),s}function wv(r,n,s){var f=r.pingCache;if(f===null){f=r.pingCache=new Sw;var g=new Set;f.set(n,g)}else g=f.get(n),g===void 0&&(g=new Set,f.set(n,g));g.has(s)||(g.add(s),r=Mw.bind(null,r,n,s),n.then(r,r))}function kv(r){do{var n;if((n=r.tag===13)&&(n=r.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return r;r=r.return}while(r!==null);return null}function xv(r,n,s,f,g){return(r.mode&1)===0?(r===n?r.flags|=65536:(r.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(n=Ko(-1,1),n.tag=2,wr(s,n,1))),s.lanes|=1),r):(r.flags|=65536,r.lanes=g,r)}var zw=N.ReactCurrentOwner,Rt=!1;function Ct(r,n,s,f){n.child=r===null?Lp(n,null,s,f):Pn(n,r.child,s,f)}function Bv(r,n,s,f,g){s=s.render;var w=n.ref;return Fn(n,g),f=Fc(r,n,s,f,w,g),s=Mc(),r!==null&&!Rt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~g,Qo(r,n,g)):(Ue&&s&&wc(n),n.flags|=1,Ct(r,n,f,g),n.child)}function Sv(r,n,s,f,g){if(r===null){var w=s.type;return typeof w=="function"&&!vu(w)&&w.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(n.tag=15,n.type=w,zv(r,n,w,f,g)):(r=Nl(s.type,null,f,n,n.mode,g),r.ref=n.ref,r.return=n,n.child=r)}if(w=r.child,(r.lanes&g)===0){var _=w.memoizedProps;if(s=s.compare,s=s!==null?s:Ii,s(_,f)&&r.ref===n.ref)return Qo(r,n,g)}return n.flags|=1,r=_r(w,f),r.ref=n.ref,r.return=n,n.child=r}function zv(r,n,s,f,g){if(r!==null){var w=r.memoizedProps;if(Ii(w,f)&&r.ref===n.ref)if(Rt=!1,n.pendingProps=f=w,(r.lanes&g)!==0)(r.flags&131072)!==0&&(Rt=!0);else return n.lanes=r.lanes,Qo(r,n,g)}return Uc(r,n,s,f,g)}function _v(r,n,s){var f=n.pendingProps,g=f.children,w=r!==null?r.memoizedState:null;if(f.mode==="hidden")if((n.mode&1)===0)n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(On,Lt),Lt|=s;else{if((s&1073741824)===0)return r=w!==null?w.baseLanes|s:s,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:r,cachePool:null,transitions:null},n.updateQueue=null,Ve(On,Lt),Lt|=r,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=w!==null?w.baseLanes:s,Ve(On,Lt),Lt|=f}else w!==null?(f=w.baseLanes|s,n.memoizedState=null):f=s,Ve(On,Lt),Lt|=f;return Ct(r,n,g,s),n.child}function Nv(r,n){var s=n.ref;(r===null&&s!==null||r!==null&&r.ref!==s)&&(n.flags|=512,n.flags|=2097152)}function Uc(r,n,s,f,g){var w=It(s)?Yr:xt.current;return w=qn(n,w),Fn(n,g),s=Fc(r,n,s,f,w,g),f=Mc(),r!==null&&!Rt?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~g,Qo(r,n,g)):(Ue&&f&&wc(n),n.flags|=1,Ct(r,n,s,g),n.child)}function jv(r,n,s,f,g){if(It(s)){var w=!0;Ja(n)}else w=!1;if(Fn(n,g),n.stateNode===null)ml(r,n),mv(n,s,f),Wc(n,s,f,g),f=!0;else if(r===null){var _=n.stateNode,T=n.memoizedProps;_.props=T;var E=_.context,G=s.contextType;typeof G=="object"&&G!==null?G=Jt(G):(G=It(s)?Yr:xt.current,G=qn(n,G));var ne=s.getDerivedStateFromProps,se=typeof ne=="function"||typeof _.getSnapshotBeforeUpdate=="function";se||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(T!==f||E!==G)&&hv(n,_,f,G),yr=!1;var re=n.memoizedState;_.state=re,ll(n,f,_,g),E=n.memoizedState,T!==f||re!==E||qt.current||yr?(typeof ne=="function"&&(Vc(n,s,ne,f),E=n.memoizedState),(T=yr||gv(n,s,T,f,re,E,G))?(se||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(n.flags|=4194308)):(typeof _.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=f,n.memoizedState=E),_.props=f,_.state=E,_.context=G,f=T):(typeof _.componentDidMount=="function"&&(n.flags|=4194308),f=!1)}else{_=n.stateNode,Wp(r,n),T=n.memoizedProps,G=n.type===n.elementType?T:po(n.type,T),_.props=G,se=n.pendingProps,re=_.context,E=s.contextType,typeof E=="object"&&E!==null?E=Jt(E):(E=It(s)?Yr:xt.current,E=qn(n,E));var ge=s.getDerivedStateFromProps;(ne=typeof ge=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(T!==se||re!==E)&&hv(n,_,f,E),yr=!1,re=n.memoizedState,_.state=re,ll(n,f,_,g);var be=n.memoizedState;T!==se||re!==be||qt.current||yr?(typeof ge=="function"&&(Vc(n,s,ge,f),be=n.memoizedState),(G=yr||gv(n,s,G,f,re,be,E)||!1)?(ne||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(f,be,E),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(f,be,E)),typeof _.componentDidUpdate=="function"&&(n.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof _.componentDidUpdate!="function"||T===r.memoizedProps&&re===r.memoizedState||(n.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||T===r.memoizedProps&&re===r.memoizedState||(n.flags|=1024),n.memoizedProps=f,n.memoizedState=be),_.props=f,_.state=be,_.context=E,f=G):(typeof _.componentDidUpdate!="function"||T===r.memoizedProps&&re===r.memoizedState||(n.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||T===r.memoizedProps&&re===r.memoizedState||(n.flags|=1024),f=!1)}return Xc(r,n,s,f,w,g)}function Xc(r,n,s,f,g,w){Nv(r,n);var _=(n.flags&128)!==0;if(!f&&!_)return g&&Rp(n,s,!1),Qo(r,n,w);f=n.stateNode,zw.current=n;var T=_&&typeof s.getDerivedStateFromError!="function"?null:f.render();return n.flags|=1,r!==null&&_?(n.child=Pn(n,r.child,null,w),n.child=Pn(n,null,T,w)):Ct(r,n,T,w),n.memoizedState=f.state,g&&Rp(n,s,!0),n.child}function Cv(r){var n=r.stateNode;n.pendingContext?qp(r,n.pendingContext,n.pendingContext!==n.context):n.context&&qp(r,n.context,!1),qc(r,n.containerInfo)}function Tv(r,n,s,f,g){return En(),Sc(g),n.flags|=256,Ct(r,n,s,f),n.child}var Kc={dehydrated:null,treeContext:null,retryLane:0};function Qc(r){return{baseLanes:r,cachePool:null,transitions:null}}function qv(r,n,s){var f=n.pendingProps,g=Ke.current,w=!1,_=(n.flags&128)!==0,T;if((T=_)||(T=r!==null&&r.memoizedState===null?!1:(g&2)!==0),T?(w=!0,n.flags&=-129):(r===null||r.memoizedState!==null)&&(g|=1),Ve(Ke,g&1),r===null)return Bc(n),r=n.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((n.mode&1)===0?n.lanes=1:r.data==="$!"?n.lanes=8:n.lanes=1073741824,null):(_=f.children,r=f.fallback,w?(f=n.mode,w=n.child,_={mode:"hidden",children:_},(f&1)===0&&w!==null?(w.childLanes=0,w.pendingProps=_):w=jl(_,f,0,null),r=sn(r,f,s,null),w.return=n,r.return=n,w.sibling=r,n.child=w,n.child.memoizedState=Qc(s),n.memoizedState=Kc,r):Yc(n,_));if(g=r.memoizedState,g!==null&&(T=g.dehydrated,T!==null))return _w(r,n,_,f,T,g,s);if(w){w=f.fallback,_=n.mode,g=r.child,T=g.sibling;var E={mode:"hidden",children:f.children};return(_&1)===0&&n.child!==g?(f=n.child,f.childLanes=0,f.pendingProps=E,n.deletions=null):(f=_r(g,E),f.subtreeFlags=g.subtreeFlags&14680064),T!==null?w=_r(T,w):(w=sn(w,_,s,null),w.flags|=2),w.return=n,f.return=n,f.sibling=w,n.child=f,f=w,w=n.child,_=r.child.memoizedState,_=_===null?Qc(s):{baseLanes:_.baseLanes|s,cachePool:null,transitions:_.transitions},w.memoizedState=_,w.childLanes=r.childLanes&~s,n.memoizedState=Kc,f}return w=r.child,r=w.sibling,f=_r(w,{mode:"visible",children:f.children}),(n.mode&1)===0&&(f.lanes=s),f.return=n,f.sibling=null,r!==null&&(s=n.deletions,s===null?(n.deletions=[r],n.flags|=16):s.push(r)),n.child=f,n.memoizedState=null,f}function Yc(r,n){return n=jl({mode:"visible",children:n},r.mode,0,null),n.return=r,r.child=n}function gl(r,n,s,f){return f!==null&&Sc(f),Pn(n,r.child,null,s),r=Yc(n,n.pendingProps.children),r.flags|=2,n.memoizedState=null,r}function _w(r,n,s,f,g,w,_){if(s)return n.flags&256?(n.flags&=-257,f=$c(Error(o(422))),gl(r,n,_,f)):n.memoizedState!==null?(n.child=r.child,n.flags|=128,null):(w=f.fallback,g=n.mode,f=jl({mode:"visible",children:f.children},g,0,null),w=sn(w,g,_,null),w.flags|=2,f.return=n,w.return=n,f.sibling=w,n.child=f,(n.mode&1)!==0&&Pn(n,r.child,null,_),n.child.memoizedState=Qc(_),n.memoizedState=Kc,w);if((n.mode&1)===0)return gl(r,n,_,null);if(g.data==="$!"){if(f=g.nextSibling&&g.nextSibling.dataset,f)var T=f.dgst;return f=T,w=Error(o(419)),f=$c(w,f,void 0),gl(r,n,_,f)}if(T=(_&r.childLanes)!==0,Rt||T){if(f=pt,f!==null){switch(_&-_){case 4:g=2;break;case 16:g=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:g=32;break;case 536870912:g=268435456;break;default:g=0}g=(g&(f.suspendedLanes|_))!==0?0:g,g!==0&&g!==w.retryLane&&(w.retryLane=g,Xo(r,g),mo(f,r,g,-1))}return pu(),f=$c(Error(o(421))),gl(r,n,_,f)}return g.data==="$?"?(n.flags|=128,n.child=r.child,n=Hw.bind(null,r),g._reactRetry=n,null):(r=w.treeContext,Ot=gr(g.nextSibling),At=n,Ue=!0,fo=null,r!==null&&(Qt[Yt++]=Go,Qt[Yt++]=Uo,Qt[Yt++]=Jr,Go=r.id,Uo=r.overflow,Jr=n),n=Yc(n,f.children),n.flags|=4096,n)}function Iv(r,n,s){r.lanes|=n;var f=r.alternate;f!==null&&(f.lanes|=n),jc(r.return,n,s)}function Jc(r,n,s,f,g){var w=r.memoizedState;w===null?r.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:g}:(w.isBackwards=n,w.rendering=null,w.renderingStartTime=0,w.last=f,w.tail=s,w.tailMode=g)}function Rv(r,n,s){var f=n.pendingProps,g=f.revealOrder,w=f.tail;if(Ct(r,n,f.children,s),f=Ke.current,(f&2)!==0)f=f&1|2,n.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=n.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Iv(r,s,n);else if(r.tag===19)Iv(r,s,n);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}f&=1}if(Ve(Ke,f),(n.mode&1)===0)n.memoizedState=null;else switch(g){case"forwards":for(s=n.child,g=null;s!==null;)r=s.alternate,r!==null&&sl(r)===null&&(g=s),s=s.sibling;s=g,s===null?(g=n.child,n.child=null):(g=s.sibling,s.sibling=null),Jc(n,!1,g,s,w);break;case"backwards":for(s=null,g=n.child,n.child=null;g!==null;){if(r=g.alternate,r!==null&&sl(r)===null){n.child=g;break}r=g.sibling,g.sibling=s,s=g,g=r}Jc(n,!0,s,null,w);break;case"together":Jc(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function ml(r,n){(n.mode&1)===0&&r!==null&&(r.alternate=null,n.alternate=null,n.flags|=2)}function Qo(r,n,s){if(r!==null&&(n.dependencies=r.dependencies),rn|=n.lanes,(s&n.childLanes)===0)return null;if(r!==null&&n.child!==r.child)throw Error(o(153));if(n.child!==null){for(r=n.child,s=_r(r,r.pendingProps),n.child=s,s.return=n;r.sibling!==null;)r=r.sibling,s=s.sibling=_r(r,r.pendingProps),s.return=n;s.sibling=null}return n.child}function Nw(r,n,s){switch(n.tag){case 3:Cv(n),En();break;case 5:Up(n);break;case 1:It(n.type)&&Ja(n);break;case 4:qc(n,n.stateNode.containerInfo);break;case 10:var f=n.type._context,g=n.memoizedProps.value;Ve(nl,f._currentValue),f._currentValue=g;break;case 13:if(f=n.memoizedState,f!==null)return f.dehydrated!==null?(Ve(Ke,Ke.current&1),n.flags|=128,null):(s&n.child.childLanes)!==0?qv(r,n,s):(Ve(Ke,Ke.current&1),r=Qo(r,n,s),r!==null?r.sibling:null);Ve(Ke,Ke.current&1);break;case 19:if(f=(s&n.childLanes)!==0,(r.flags&128)!==0){if(f)return Rv(r,n,s);n.flags|=128}if(g=n.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),Ve(Ke,Ke.current),f)break;return null;case 22:case 23:return n.lanes=0,_v(r,n,s)}return Qo(r,n,s)}var Ev,Zc,Pv,Dv;Ev=function(r,n){for(var s=n.child;s!==null;){if(s.tag===5||s.tag===6)r.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===n)break;for(;s.sibling===null;){if(s.return===null||s.return===n)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},Zc=function(){},Pv=function(r,n,s,f){var g=r.memoizedProps;if(g!==f){r=n.stateNode,tn(_o.current);var w=null;switch(s){case"input":g=pi(r,g),f=pi(r,f),w=[];break;case"select":g=X({},g,{value:void 0}),f=X({},f,{value:void 0}),w=[];break;case"textarea":g=qs(r,g),f=qs(r,f),w=[];break;default:typeof g.onClick!="function"&&typeof f.onClick=="function"&&(r.onclick=Ka)}Rs(s,f);var _;s=null;for(G in g)if(!f.hasOwnProperty(G)&&g.hasOwnProperty(G)&&g[G]!=null)if(G==="style"){var T=g[G];for(_ in T)T.hasOwnProperty(_)&&(s||(s={}),s[_]="")}else G!=="dangerouslySetInnerHTML"&&G!=="children"&&G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(a.hasOwnProperty(G)?w||(w=[]):(w=w||[]).push(G,null));for(G in f){var E=f[G];if(T=g?.[G],f.hasOwnProperty(G)&&E!==T&&(E!=null||T!=null))if(G==="style")if(T){for(_ in T)!T.hasOwnProperty(_)||E&&E.hasOwnProperty(_)||(s||(s={}),s[_]="");for(_ in E)E.hasOwnProperty(_)&&T[_]!==E[_]&&(s||(s={}),s[_]=E[_])}else s||(w||(w=[]),w.push(G,s)),s=E;else G==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,T=T?T.__html:void 0,E!=null&&T!==E&&(w=w||[]).push(G,E)):G==="children"?typeof E!="string"&&typeof E!="number"||(w=w||[]).push(G,""+E):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&(a.hasOwnProperty(G)?(E!=null&&G==="onScroll"&&$e("scroll",r),w||T===E||(w=[])):(w=w||[]).push(G,E))}s&&(w=w||[]).push("style",s);var G=w;(n.updateQueue=G)&&(n.flags|=4)}},Dv=function(r,n,s,f){s!==f&&(n.flags|=4)};function Ui(r,n){if(!Ue)switch(r.tailMode){case"hidden":n=r.tail;for(var s=null;n!==null;)n.alternate!==null&&(s=n),n=n.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?n||r.tail===null?r.tail=null:r.tail.sibling=null:f.sibling=null}}function St(r){var n=r.alternate!==null&&r.alternate.child===r.child,s=0,f=0;if(n)for(var g=r.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags&14680064,f|=g.flags&14680064,g.return=r,g=g.sibling;else for(g=r.child;g!==null;)s|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=f,r.childLanes=s,n}function jw(r,n,s){var f=n.pendingProps;switch(kc(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(n),null;case 1:return It(n.type)&&Ya(),St(n),null;case 3:return f=n.stateNode,Mn(),Ge(qt),Ge(xt),Ec(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(r===null||r.child===null)&&(ol(n)?n.flags|=4:r===null||r.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,fo!==null&&(uu(fo),fo=null))),Zc(r,n),St(n),null;case 5:Ic(n);var g=tn(Li.current);if(s=n.type,r!==null&&n.stateNode!=null)Pv(r,n,s,f,g),r.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!f){if(n.stateNode===null)throw Error(o(166));return St(n),null}if(r=tn(_o.current),ol(n)){f=n.stateNode,s=n.type;var w=n.memoizedProps;switch(f[zo]=n,f[Fi]=w,r=(n.mode&1)!==0,s){case"dialog":$e("cancel",f),$e("close",f);break;case"iframe":case"object":case"embed":$e("load",f);break;case"video":case"audio":for(g=0;g<Ei.length;g++)$e(Ei[g],f);break;case"source":$e("error",f);break;case"img":case"image":case"link":$e("error",f),$e("load",f);break;case"details":$e("toggle",f);break;case"input":mf(f,w),$e("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!w.multiple},$e("invalid",f);break;case"textarea":yf(f,w),$e("invalid",f)}Rs(s,w),g=null;for(var _ in w)if(w.hasOwnProperty(_)){var T=w[_];_==="children"?typeof T=="string"?f.textContent!==T&&(w.suppressHydrationWarning!==!0&&Xa(f.textContent,T,r),g=["children",T]):typeof T=="number"&&f.textContent!==""+T&&(w.suppressHydrationWarning!==!0&&Xa(f.textContent,T,r),g=["children",""+T]):a.hasOwnProperty(_)&&T!=null&&_==="onScroll"&&$e("scroll",f)}switch(s){case"input":so(f),bf(f,w,!0);break;case"textarea":so(f),kf(f);break;case"select":case"option":break;default:typeof w.onClick=="function"&&(f.onclick=Ka)}f=g,n.updateQueue=f,f!==null&&(n.flags|=4)}else{_=g.nodeType===9?g:g.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=xf(s)),r==="http://www.w3.org/1999/xhtml"?s==="script"?(r=_.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof f.is=="string"?r=_.createElement(s,{is:f.is}):(r=_.createElement(s),s==="select"&&(_=r,f.multiple?_.multiple=!0:f.size&&(_.size=f.size))):r=_.createElementNS(r,s),r[zo]=n,r[Fi]=f,Ev(r,n,!1,!1),n.stateNode=r;e:{switch(_=Es(s,f),s){case"dialog":$e("cancel",r),$e("close",r),g=f;break;case"iframe":case"object":case"embed":$e("load",r),g=f;break;case"video":case"audio":for(g=0;g<Ei.length;g++)$e(Ei[g],r);g=f;break;case"source":$e("error",r),g=f;break;case"img":case"image":case"link":$e("error",r),$e("load",r),g=f;break;case"details":$e("toggle",r),g=f;break;case"input":mf(r,f),g=pi(r,f),$e("invalid",r);break;case"option":g=f;break;case"select":r._wrapperState={wasMultiple:!!f.multiple},g=X({},f,{value:void 0}),$e("invalid",r);break;case"textarea":yf(r,f),g=qs(r,f),$e("invalid",r);break;default:g=f}Rs(s,g),T=g;for(w in T)if(T.hasOwnProperty(w)){var E=T[w];w==="style"?zf(r,E):w==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&Bf(r,E)):w==="children"?typeof E=="string"?(s!=="textarea"||E!=="")&&gi(r,E):typeof E=="number"&&gi(r,""+E):w!=="suppressContentEditableWarning"&&w!=="suppressHydrationWarning"&&w!=="autoFocus"&&(a.hasOwnProperty(w)?E!=null&&w==="onScroll"&&$e("scroll",r):E!=null&&S(r,w,E,_))}switch(s){case"input":so(r),bf(r,f,!1);break;case"textarea":so(r),kf(r);break;case"option":f.value!=null&&r.setAttribute("value",""+Re(f.value));break;case"select":r.multiple=!!f.multiple,w=f.value,w!=null?yn(r,!!f.multiple,w,!1):f.defaultValue!=null&&yn(r,!!f.multiple,f.defaultValue,!0);break;default:typeof g.onClick=="function"&&(r.onclick=Ka)}switch(s){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return St(n),null;case 6:if(r&&n.stateNode!=null)Dv(r,n,r.memoizedProps,f);else{if(typeof f!="string"&&n.stateNode===null)throw Error(o(166));if(s=tn(Li.current),tn(_o.current),ol(n)){if(f=n.stateNode,s=n.memoizedProps,f[zo]=n,(w=f.nodeValue!==s)&&(r=At,r!==null))switch(r.tag){case 3:Xa(f.nodeValue,s,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Xa(f.nodeValue,s,(r.mode&1)!==0)}w&&(n.flags|=4)}else f=(s.nodeType===9?s:s.ownerDocument).createTextNode(f),f[zo]=n,n.stateNode=f}return St(n),null;case 13:if(Ge(Ke),f=n.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(Ue&&Ot!==null&&(n.mode&1)!==0&&(n.flags&128)===0)Hp(),En(),n.flags|=98560,w=!1;else if(w=ol(n),f!==null&&f.dehydrated!==null){if(r===null){if(!w)throw Error(o(318));if(w=n.memoizedState,w=w!==null?w.dehydrated:null,!w)throw Error(o(317));w[zo]=n}else En(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;St(n),w=!1}else fo!==null&&(uu(fo),fo=null),w=!0;if(!w)return n.flags&65536?n:null}return(n.flags&128)!==0?(n.lanes=s,n):(f=f!==null,f!==(r!==null&&r.memoizedState!==null)&&f&&(n.child.flags|=8192,(n.mode&1)!==0&&(r===null||(Ke.current&1)!==0?ut===0&&(ut=3):pu())),n.updateQueue!==null&&(n.flags|=4),St(n),null);case 4:return Mn(),Zc(r,n),r===null&&Pi(n.stateNode.containerInfo),St(n),null;case 10:return Nc(n.type._context),St(n),null;case 17:return It(n.type)&&Ya(),St(n),null;case 19:if(Ge(Ke),w=n.memoizedState,w===null)return St(n),null;if(f=(n.flags&128)!==0,_=w.rendering,_===null)if(f)Ui(w,!1);else{if(ut!==0||r!==null&&(r.flags&128)!==0)for(r=n.child;r!==null;){if(_=sl(r),_!==null){for(n.flags|=128,Ui(w,!1),f=_.updateQueue,f!==null&&(n.updateQueue=f,n.flags|=4),n.subtreeFlags=0,f=s,s=n.child;s!==null;)w=s,r=f,w.flags&=14680066,_=w.alternate,_===null?(w.childLanes=0,w.lanes=r,w.child=null,w.subtreeFlags=0,w.memoizedProps=null,w.memoizedState=null,w.updateQueue=null,w.dependencies=null,w.stateNode=null):(w.childLanes=_.childLanes,w.lanes=_.lanes,w.child=_.child,w.subtreeFlags=0,w.deletions=null,w.memoizedProps=_.memoizedProps,w.memoizedState=_.memoizedState,w.updateQueue=_.updateQueue,w.type=_.type,r=_.dependencies,w.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),s=s.sibling;return Ve(Ke,Ke.current&1|2),n.child}r=r.sibling}w.tail!==null&&rt()>Ln&&(n.flags|=128,f=!0,Ui(w,!1),n.lanes=4194304)}else{if(!f)if(r=sl(_),r!==null){if(n.flags|=128,f=!0,s=r.updateQueue,s!==null&&(n.updateQueue=s,n.flags|=4),Ui(w,!0),w.tail===null&&w.tailMode==="hidden"&&!_.alternate&&!Ue)return St(n),null}else 2*rt()-w.renderingStartTime>Ln&&s!==1073741824&&(n.flags|=128,f=!0,Ui(w,!1),n.lanes=4194304);w.isBackwards?(_.sibling=n.child,n.child=_):(s=w.last,s!==null?s.sibling=_:n.child=_,w.last=_)}return w.tail!==null?(n=w.tail,w.rendering=n,w.tail=n.sibling,w.renderingStartTime=rt(),n.sibling=null,s=Ke.current,Ve(Ke,f?s&1|2:s&1),n):(St(n),null);case 22:case 23:return fu(),f=n.memoizedState!==null,r!==null&&r.memoizedState!==null!==f&&(n.flags|=8192),f&&(n.mode&1)!==0?(Lt&1073741824)!==0&&(St(n),n.subtreeFlags&6&&(n.flags|=8192)):St(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function Cw(r,n){switch(kc(n),n.tag){case 1:return It(n.type)&&Ya(),r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 3:return Mn(),Ge(qt),Ge(xt),Ec(),r=n.flags,(r&65536)!==0&&(r&128)===0?(n.flags=r&-65537|128,n):null;case 5:return Ic(n),null;case 13:if(Ge(Ke),r=n.memoizedState,r!==null&&r.dehydrated!==null){if(n.alternate===null)throw Error(o(340));En()}return r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 19:return Ge(Ke),null;case 4:return Mn(),null;case 10:return Nc(n.type._context),null;case 22:case 23:return fu(),null;case 24:return null;default:return null}}var hl=!1,zt=!1,Tw=typeof WeakSet=="function"?WeakSet:Set,he=null;function An(r,n){var s=r.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(f){Ze(r,n,f)}else s.current=null}function eu(r,n,s){try{s()}catch(f){Ze(r,n,f)}}var Fv=!1;function qw(r,n){if(fc=Fa,r=gp(),nc(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var g=f.anchorOffset,w=f.focusNode;f=f.focusOffset;try{s.nodeType,w.nodeType}catch{s=null;break e}var _=0,T=-1,E=-1,G=0,ne=0,se=r,re=null;t:for(;;){for(var ge;se!==s||g!==0&&se.nodeType!==3||(T=_+g),se!==w||f!==0&&se.nodeType!==3||(E=_+f),se.nodeType===3&&(_+=se.nodeValue.length),(ge=se.firstChild)!==null;)re=se,se=ge;for(;;){if(se===r)break t;if(re===s&&++G===g&&(T=_),re===w&&++ne===f&&(E=_),(ge=se.nextSibling)!==null)break;se=re,re=se.parentNode}se=ge}s=T===-1||E===-1?null:{start:T,end:E}}else s=null}s=s||{start:0,end:0}}else s=null;for(pc={focusedElem:r,selectionRange:s},Fa=!1,he=n;he!==null;)if(n=he,r=n.child,(n.subtreeFlags&1028)!==0&&r!==null)r.return=n,he=r;else for(;he!==null;){n=he;try{var be=n.alternate;if((n.flags&1024)!==0)switch(n.tag){case 0:case 11:case 15:break;case 1:if(be!==null){var ke=be.memoizedProps,nt=be.memoizedState,O=n.stateNode,D=O.getSnapshotBeforeUpdate(n.elementType===n.type?ke:po(n.type,ke),nt);O.__reactInternalSnapshotBeforeUpdate=D}break;case 3:var V=n.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(ue){Ze(n,n.return,ue)}if(r=n.sibling,r!==null){r.return=n.return,he=r;break}he=n.return}return be=Fv,Fv=!1,be}function Xi(r,n,s){var f=n.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var g=f=f.next;do{if((g.tag&r)===r){var w=g.destroy;g.destroy=void 0,w!==void 0&&eu(n,s,w)}g=g.next}while(g!==f)}}function bl(r,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var s=n=n.next;do{if((s.tag&r)===r){var f=s.create;s.destroy=f()}s=s.next}while(s!==n)}}function tu(r){var n=r.ref;if(n!==null){var s=r.stateNode;r.tag,r=s,typeof n=="function"?n(r):n.current=r}}function Mv(r){var n=r.alternate;n!==null&&(r.alternate=null,Mv(n)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(n=r.stateNode,n!==null&&(delete n[zo],delete n[Fi],delete n[hc],delete n[pw],delete n[vw])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Hv(r){return r.tag===5||r.tag===3||r.tag===4}function Av(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Hv(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function ou(r,n,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,n?s.nodeType===8?s.parentNode.insertBefore(r,n):s.insertBefore(r,n):(s.nodeType===8?(n=s.parentNode,n.insertBefore(r,s)):(n=s,n.appendChild(r)),s=s._reactRootContainer,s!=null||n.onclick!==null||(n.onclick=Ka));else if(f!==4&&(r=r.child,r!==null))for(ou(r,n,s),r=r.sibling;r!==null;)ou(r,n,s),r=r.sibling}function ru(r,n,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,n?s.insertBefore(r,n):s.appendChild(r);else if(f!==4&&(r=r.child,r!==null))for(ru(r,n,s),r=r.sibling;r!==null;)ru(r,n,s),r=r.sibling}var gt=null,vo=!1;function kr(r,n,s){for(s=s.child;s!==null;)Ov(r,n,s),s=s.sibling}function Ov(r,n,s){if(So&&typeof So.onCommitFiberUnmount=="function")try{So.onCommitFiberUnmount(qa,s)}catch{}switch(s.tag){case 5:zt||An(s,n);case 6:var f=gt,g=vo;gt=null,kr(r,n,s),gt=f,vo=g,gt!==null&&(vo?(r=gt,s=s.stateNode,r.nodeType===8?r.parentNode.removeChild(s):r.removeChild(s)):gt.removeChild(s.stateNode));break;case 18:gt!==null&&(vo?(r=gt,s=s.stateNode,r.nodeType===8?mc(r.parentNode,s):r.nodeType===1&&mc(r,s),_i(r)):mc(gt,s.stateNode));break;case 4:f=gt,g=vo,gt=s.stateNode.containerInfo,vo=!0,kr(r,n,s),gt=f,vo=g;break;case 0:case 11:case 14:case 15:if(!zt&&(f=s.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){g=f=f.next;do{var w=g,_=w.destroy;w=w.tag,_!==void 0&&((w&2)!==0||(w&4)!==0)&&eu(s,n,_),g=g.next}while(g!==f)}kr(r,n,s);break;case 1:if(!zt&&(An(s,n),f=s.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=s.memoizedProps,f.state=s.memoizedState,f.componentWillUnmount()}catch(T){Ze(s,n,T)}kr(r,n,s);break;case 21:kr(r,n,s);break;case 22:s.mode&1?(zt=(f=zt)||s.memoizedState!==null,kr(r,n,s),zt=f):kr(r,n,s);break;default:kr(r,n,s)}}function Lv(r){var n=r.updateQueue;if(n!==null){r.updateQueue=null;var s=r.stateNode;s===null&&(s=r.stateNode=new Tw),n.forEach(function(f){var g=Aw.bind(null,r,f);s.has(f)||(s.add(f),f.then(g,g))})}}function go(r,n){var s=n.deletions;if(s!==null)for(var f=0;f<s.length;f++){var g=s[f];try{var w=r,_=n,T=_;e:for(;T!==null;){switch(T.tag){case 5:gt=T.stateNode,vo=!1;break e;case 3:gt=T.stateNode.containerInfo,vo=!0;break e;case 4:gt=T.stateNode.containerInfo,vo=!0;break e}T=T.return}if(gt===null)throw Error(o(160));Ov(w,_,g),gt=null,vo=!1;var E=g.alternate;E!==null&&(E.return=null),g.return=null}catch(G){Ze(g,n,G)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Vv(n,r),n=n.sibling}function Vv(r,n){var s=r.alternate,f=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(go(n,r),jo(r),f&4){try{Xi(3,r,r.return),bl(3,r)}catch(ke){Ze(r,r.return,ke)}try{Xi(5,r,r.return)}catch(ke){Ze(r,r.return,ke)}}break;case 1:go(n,r),jo(r),f&512&&s!==null&&An(s,s.return);break;case 5:if(go(n,r),jo(r),f&512&&s!==null&&An(s,s.return),r.flags&32){var g=r.stateNode;try{gi(g,"")}catch(ke){Ze(r,r.return,ke)}}if(f&4&&(g=r.stateNode,g!=null)){var w=r.memoizedProps,_=s!==null?s.memoizedProps:w,T=r.type,E=r.updateQueue;if(r.updateQueue=null,E!==null)try{T==="input"&&w.type==="radio"&&w.name!=null&&hf(g,w),Es(T,_);var G=Es(T,w);for(_=0;_<E.length;_+=2){var ne=E[_],se=E[_+1];ne==="style"?zf(g,se):ne==="dangerouslySetInnerHTML"?Bf(g,se):ne==="children"?gi(g,se):S(g,ne,se,G)}switch(T){case"input":Cs(g,w);break;case"textarea":wf(g,w);break;case"select":var re=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!w.multiple;var ge=w.value;ge!=null?yn(g,!!w.multiple,ge,!1):re!==!!w.multiple&&(w.defaultValue!=null?yn(g,!!w.multiple,w.defaultValue,!0):yn(g,!!w.multiple,w.multiple?[]:"",!1))}g[Fi]=w}catch(ke){Ze(r,r.return,ke)}}break;case 6:if(go(n,r),jo(r),f&4){if(r.stateNode===null)throw Error(o(162));g=r.stateNode,w=r.memoizedProps;try{g.nodeValue=w}catch(ke){Ze(r,r.return,ke)}}break;case 3:if(go(n,r),jo(r),f&4&&s!==null&&s.memoizedState.isDehydrated)try{_i(n.containerInfo)}catch(ke){Ze(r,r.return,ke)}break;case 4:go(n,r),jo(r);break;case 13:go(n,r),jo(r),g=r.child,g.flags&8192&&(w=g.memoizedState!==null,g.stateNode.isHidden=w,!w||g.alternate!==null&&g.alternate.memoizedState!==null||(au=rt())),f&4&&Lv(r);break;case 22:if(ne=s!==null&&s.memoizedState!==null,r.mode&1?(zt=(G=zt)||ne,go(n,r),zt=G):go(n,r),jo(r),f&8192){if(G=r.memoizedState!==null,(r.stateNode.isHidden=G)&&!ne&&(r.mode&1)!==0)for(he=r,ne=r.child;ne!==null;){for(se=he=ne;he!==null;){switch(re=he,ge=re.child,re.tag){case 0:case 11:case 14:case 15:Xi(4,re,re.return);break;case 1:An(re,re.return);var be=re.stateNode;if(typeof be.componentWillUnmount=="function"){f=re,s=re.return;try{n=f,be.props=n.memoizedProps,be.state=n.memoizedState,be.componentWillUnmount()}catch(ke){Ze(f,s,ke)}}break;case 5:An(re,re.return);break;case 22:if(re.memoizedState!==null){Gv(se);continue}}ge!==null?(ge.return=re,he=ge):Gv(se)}ne=ne.sibling}e:for(ne=null,se=r;;){if(se.tag===5){if(ne===null){ne=se;try{g=se.stateNode,G?(w=g.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none"):(T=se.stateNode,E=se.memoizedProps.style,_=E!=null&&E.hasOwnProperty("display")?E.display:null,T.style.display=Sf("display",_))}catch(ke){Ze(r,r.return,ke)}}}else if(se.tag===6){if(ne===null)try{se.stateNode.nodeValue=G?"":se.memoizedProps}catch(ke){Ze(r,r.return,ke)}}else if((se.tag!==22&&se.tag!==23||se.memoizedState===null||se===r)&&se.child!==null){se.child.return=se,se=se.child;continue}if(se===r)break e;for(;se.sibling===null;){if(se.return===null||se.return===r)break e;ne===se&&(ne=null),se=se.return}ne===se&&(ne=null),se.sibling.return=se.return,se=se.sibling}}break;case 19:go(n,r),jo(r),f&4&&Lv(r);break;case 21:break;default:go(n,r),jo(r)}}function jo(r){var n=r.flags;if(n&2){try{e:{for(var s=r.return;s!==null;){if(Hv(s)){var f=s;break e}s=s.return}throw Error(o(160))}switch(f.tag){case 5:var g=f.stateNode;f.flags&32&&(gi(g,""),f.flags&=-33);var w=Av(r);ru(r,w,g);break;case 3:case 4:var _=f.stateNode.containerInfo,T=Av(r);ou(r,T,_);break;default:throw Error(o(161))}}catch(E){Ze(r,r.return,E)}r.flags&=-3}n&4096&&(r.flags&=-4097)}function Iw(r,n,s){he=r,Wv(r)}function Wv(r,n,s){for(var f=(r.mode&1)!==0;he!==null;){var g=he,w=g.child;if(g.tag===22&&f){var _=g.memoizedState!==null||hl;if(!_){var T=g.alternate,E=T!==null&&T.memoizedState!==null||zt;T=hl;var G=zt;if(hl=_,(zt=E)&&!G)for(he=g;he!==null;)_=he,E=_.child,_.tag===22&&_.memoizedState!==null?Uv(g):E!==null?(E.return=_,he=E):Uv(g);for(;w!==null;)he=w,Wv(w),w=w.sibling;he=g,hl=T,zt=G}$v(r)}else(g.subtreeFlags&8772)!==0&&w!==null?(w.return=g,he=w):$v(r)}}function $v(r){for(;he!==null;){var n=he;if((n.flags&8772)!==0){var s=n.alternate;try{if((n.flags&8772)!==0)switch(n.tag){case 0:case 11:case 15:zt||bl(5,n);break;case 1:var f=n.stateNode;if(n.flags&4&&!zt)if(s===null)f.componentDidMount();else{var g=n.elementType===n.type?s.memoizedProps:po(n.type,s.memoizedProps);f.componentDidUpdate(g,s.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var w=n.updateQueue;w!==null&&Gp(n,w,f);break;case 3:var _=n.updateQueue;if(_!==null){if(s=null,n.child!==null)switch(n.child.tag){case 5:s=n.child.stateNode;break;case 1:s=n.child.stateNode}Gp(n,_,s)}break;case 5:var T=n.stateNode;if(s===null&&n.flags&4){s=T;var E=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&s.focus();break;case"img":E.src&&(s.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var G=n.alternate;if(G!==null){var ne=G.memoizedState;if(ne!==null){var se=ne.dehydrated;se!==null&&_i(se)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}zt||n.flags&512&&tu(n)}catch(re){Ze(n,n.return,re)}}if(n===r){he=null;break}if(s=n.sibling,s!==null){s.return=n.return,he=s;break}he=n.return}}function Gv(r){for(;he!==null;){var n=he;if(n===r){he=null;break}var s=n.sibling;if(s!==null){s.return=n.return,he=s;break}he=n.return}}function Uv(r){for(;he!==null;){var n=he;try{switch(n.tag){case 0:case 11:case 15:var s=n.return;try{bl(4,n)}catch(E){Ze(n,s,E)}break;case 1:var f=n.stateNode;if(typeof f.componentDidMount=="function"){var g=n.return;try{f.componentDidMount()}catch(E){Ze(n,g,E)}}var w=n.return;try{tu(n)}catch(E){Ze(n,w,E)}break;case 5:var _=n.return;try{tu(n)}catch(E){Ze(n,_,E)}}}catch(E){Ze(n,n.return,E)}if(n===r){he=null;break}var T=n.sibling;if(T!==null){T.return=n.return,he=T;break}he=n.return}}var Rw=Math.ceil,yl=N.ReactCurrentDispatcher,nu=N.ReactCurrentOwner,eo=N.ReactCurrentBatchConfig,Ee=0,pt=null,at=null,mt=0,Lt=0,On=mr(0),ut=0,Ki=null,rn=0,wl=0,iu=0,Qi=null,Et=null,au=0,Ln=1/0,Yo=null,kl=!1,lu=null,xr=null,xl=!1,Br=null,Bl=0,Yi=0,su=null,Sl=-1,zl=0;function Tt(){return(Ee&6)!==0?rt():Sl!==-1?Sl:Sl=rt()}function Sr(r){return(r.mode&1)===0?1:(Ee&2)!==0&&mt!==0?mt&-mt:mw.transition!==null?(zl===0&&(zl=Af()),zl):(r=Ae,r!==0||(r=window.event,r=r===void 0?16:Kf(r.type)),r)}function mo(r,n,s,f){if(50<Yi)throw Yi=0,su=null,Error(o(185));ki(r,s,f),((Ee&2)===0||r!==pt)&&(r===pt&&((Ee&2)===0&&(wl|=s),ut===4&&zr(r,mt)),Pt(r,f),s===1&&Ee===0&&(n.mode&1)===0&&(Ln=rt()+500,Za&&br()))}function Pt(r,n){var s=r.callbackNode;my(r,n);var f=Ea(r,r===pt?mt:0);if(f===0)s!==null&&Ff(s),r.callbackNode=null,r.callbackPriority=0;else if(n=f&-f,r.callbackPriority!==n){if(s!=null&&Ff(s),n===1)r.tag===0?gw(Kv.bind(null,r)):Ep(Kv.bind(null,r)),dw(function(){(Ee&6)===0&&br()}),s=null;else{switch(Of(f)){case 1:s=Os;break;case 4:s=Mf;break;case 16:s=Ta;break;case 536870912:s=Hf;break;default:s=Ta}s=rg(s,Xv.bind(null,r))}r.callbackPriority=n,r.callbackNode=s}}function Xv(r,n){if(Sl=-1,zl=0,(Ee&6)!==0)throw Error(o(327));var s=r.callbackNode;if(Vn()&&r.callbackNode!==s)return null;var f=Ea(r,r===pt?mt:0);if(f===0)return null;if((f&30)!==0||(f&r.expiredLanes)!==0||n)n=_l(r,f);else{n=f;var g=Ee;Ee|=2;var w=Yv();(pt!==r||mt!==n)&&(Yo=null,Ln=rt()+500,an(r,n));do try{Dw();break}catch(T){Qv(r,T)}while(!0);_c(),yl.current=w,Ee=g,at!==null?n=0:(pt=null,mt=0,n=ut)}if(n!==0){if(n===2&&(g=Ls(r),g!==0&&(f=g,n=cu(r,g))),n===1)throw s=Ki,an(r,0),zr(r,f),Pt(r,rt()),s;if(n===6)zr(r,f);else{if(g=r.current.alternate,(f&30)===0&&!Ew(g)&&(n=_l(r,f),n===2&&(w=Ls(r),w!==0&&(f=w,n=cu(r,w))),n===1))throw s=Ki,an(r,0),zr(r,f),Pt(r,rt()),s;switch(r.finishedWork=g,r.finishedLanes=f,n){case 0:case 1:throw Error(o(345));case 2:ln(r,Et,Yo);break;case 3:if(zr(r,f),(f&130023424)===f&&(n=au+500-rt(),10<n)){if(Ea(r,0)!==0)break;if(g=r.suspendedLanes,(g&f)!==f){Tt(),r.pingedLanes|=r.suspendedLanes&g;break}r.timeoutHandle=gc(ln.bind(null,r,Et,Yo),n);break}ln(r,Et,Yo);break;case 4:if(zr(r,f),(f&4194240)===f)break;for(n=r.eventTimes,g=-1;0<f;){var _=31-co(f);w=1<<_,_=n[_],_>g&&(g=_),f&=~w}if(f=g,f=rt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Rw(f/1960))-f,10<f){r.timeoutHandle=gc(ln.bind(null,r,Et,Yo),f);break}ln(r,Et,Yo);break;case 5:ln(r,Et,Yo);break;default:throw Error(o(329))}}}return Pt(r,rt()),r.callbackNode===s?Xv.bind(null,r):null}function cu(r,n){var s=Qi;return r.current.memoizedState.isDehydrated&&(an(r,n).flags|=256),r=_l(r,n),r!==2&&(n=Et,Et=s,n!==null&&uu(n)),r}function uu(r){Et===null?Et=r:Et.push.apply(Et,r)}function Ew(r){for(var n=r;;){if(n.flags&16384){var s=n.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var f=0;f<s.length;f++){var g=s[f],w=g.getSnapshot;g=g.value;try{if(!uo(w(),g))return!1}catch{return!1}}}if(s=n.child,n.subtreeFlags&16384&&s!==null)s.return=n,n=s;else{if(n===r)break;for(;n.sibling===null;){if(n.return===null||n.return===r)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function zr(r,n){for(n&=~iu,n&=~wl,r.suspendedLanes|=n,r.pingedLanes&=~n,r=r.expirationTimes;0<n;){var s=31-co(n),f=1<<s;r[s]=-1,n&=~f}}function Kv(r){if((Ee&6)!==0)throw Error(o(327));Vn();var n=Ea(r,0);if((n&1)===0)return Pt(r,rt()),null;var s=_l(r,n);if(r.tag!==0&&s===2){var f=Ls(r);f!==0&&(n=f,s=cu(r,f))}if(s===1)throw s=Ki,an(r,0),zr(r,n),Pt(r,rt()),s;if(s===6)throw Error(o(345));return r.finishedWork=r.current.alternate,r.finishedLanes=n,ln(r,Et,Yo),Pt(r,rt()),null}function du(r,n){var s=Ee;Ee|=1;try{return r(n)}finally{Ee=s,Ee===0&&(Ln=rt()+500,Za&&br())}}function nn(r){Br!==null&&Br.tag===0&&(Ee&6)===0&&Vn();var n=Ee;Ee|=1;var s=eo.transition,f=Ae;try{if(eo.transition=null,Ae=1,r)return r()}finally{Ae=f,eo.transition=s,Ee=n,(Ee&6)===0&&br()}}function fu(){Lt=On.current,Ge(On)}function an(r,n){r.finishedWork=null,r.finishedLanes=0;var s=r.timeoutHandle;if(s!==-1&&(r.timeoutHandle=-1,uw(s)),at!==null)for(s=at.return;s!==null;){var f=s;switch(kc(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Ya();break;case 3:Mn(),Ge(qt),Ge(xt),Ec();break;case 5:Ic(f);break;case 4:Mn();break;case 13:Ge(Ke);break;case 19:Ge(Ke);break;case 10:Nc(f.type._context);break;case 22:case 23:fu()}s=s.return}if(pt=r,at=r=_r(r.current,null),mt=Lt=n,ut=0,Ki=null,iu=wl=rn=0,Et=Qi=null,en!==null){for(n=0;n<en.length;n++)if(s=en[n],f=s.interleaved,f!==null){s.interleaved=null;var g=f.next,w=s.pending;if(w!==null){var _=w.next;w.next=g,f.next=_}s.pending=f}en=null}return r}function Qv(r,n){do{var s=at;try{if(_c(),cl.current=pl,ul){for(var f=Qe.memoizedState;f!==null;){var g=f.queue;g!==null&&(g.pending=null),f=f.next}ul=!1}if(on=0,ft=ct=Qe=null,Vi=!1,Wi=0,nu.current=null,s===null||s.return===null){ut=1,Ki=n,at=null;break}e:{var w=r,_=s.return,T=s,E=n;if(n=mt,T.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var G=E,ne=T,se=ne.tag;if((ne.mode&1)===0&&(se===0||se===11||se===15)){var re=ne.alternate;re?(ne.updateQueue=re.updateQueue,ne.memoizedState=re.memoizedState,ne.lanes=re.lanes):(ne.updateQueue=null,ne.memoizedState=null)}var ge=kv(_);if(ge!==null){ge.flags&=-257,xv(ge,_,T,w,n),ge.mode&1&&wv(w,G,n),n=ge,E=G;var be=n.updateQueue;if(be===null){var ke=new Set;ke.add(E),n.updateQueue=ke}else be.add(E);break e}else{if((n&1)===0){wv(w,G,n),pu();break e}E=Error(o(426))}}else if(Ue&&T.mode&1){var nt=kv(_);if(nt!==null){(nt.flags&65536)===0&&(nt.flags|=256),xv(nt,_,T,w,n),Sc(Hn(E,T));break e}}w=E=Hn(E,T),ut!==4&&(ut=2),Qi===null?Qi=[w]:Qi.push(w),w=_;do{switch(w.tag){case 3:w.flags|=65536,n&=-n,w.lanes|=n;var O=bv(w,E,n);$p(w,O);break e;case 1:T=E;var D=w.type,V=w.stateNode;if((w.flags&128)===0&&(typeof D.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(xr===null||!xr.has(V)))){w.flags|=65536,n&=-n,w.lanes|=n;var ue=yv(w,T,n);$p(w,ue);break e}}w=w.return}while(w!==null)}Zv(s)}catch(Be){n=Be,at===s&&s!==null&&(at=s=s.return);continue}break}while(!0)}function Yv(){var r=yl.current;return yl.current=pl,r===null?pl:r}function pu(){(ut===0||ut===3||ut===2)&&(ut=4),pt===null||(rn&268435455)===0&&(wl&268435455)===0||zr(pt,mt)}function _l(r,n){var s=Ee;Ee|=2;var f=Yv();(pt!==r||mt!==n)&&(Yo=null,an(r,n));do try{Pw();break}catch(g){Qv(r,g)}while(!0);if(_c(),Ee=s,yl.current=f,at!==null)throw Error(o(261));return pt=null,mt=0,ut}function Pw(){for(;at!==null;)Jv(at)}function Dw(){for(;at!==null&&!ly();)Jv(at)}function Jv(r){var n=og(r.alternate,r,Lt);r.memoizedProps=r.pendingProps,n===null?Zv(r):at=n,nu.current=null}function Zv(r){var n=r;do{var s=n.alternate;if(r=n.return,(n.flags&32768)===0){if(s=jw(s,n,Lt),s!==null){at=s;return}}else{if(s=Cw(s,n),s!==null){s.flags&=32767,at=s;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{ut=6,at=null;return}}if(n=n.sibling,n!==null){at=n;return}at=n=r}while(n!==null);ut===0&&(ut=5)}function ln(r,n,s){var f=Ae,g=eo.transition;try{eo.transition=null,Ae=1,Fw(r,n,s,f)}finally{eo.transition=g,Ae=f}return null}function Fw(r,n,s,f){do Vn();while(Br!==null);if((Ee&6)!==0)throw Error(o(327));s=r.finishedWork;var g=r.finishedLanes;if(s===null)return null;if(r.finishedWork=null,r.finishedLanes=0,s===r.current)throw Error(o(177));r.callbackNode=null,r.callbackPriority=0;var w=s.lanes|s.childLanes;if(hy(r,w),r===pt&&(at=pt=null,mt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||xl||(xl=!0,rg(Ta,function(){return Vn(),null})),w=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||w){w=eo.transition,eo.transition=null;var _=Ae;Ae=1;var T=Ee;Ee|=4,nu.current=null,qw(r,s),Vv(s,r),rw(pc),Fa=!!fc,pc=fc=null,r.current=s,Iw(s),sy(),Ee=T,Ae=_,eo.transition=w}else r.current=s;if(xl&&(xl=!1,Br=r,Bl=g),w=r.pendingLanes,w===0&&(xr=null),dy(s.stateNode),Pt(r,rt()),n!==null)for(f=r.onRecoverableError,s=0;s<n.length;s++)g=n[s],f(g.value,{componentStack:g.stack,digest:g.digest});if(kl)throw kl=!1,r=lu,lu=null,r;return(Bl&1)!==0&&r.tag!==0&&Vn(),w=r.pendingLanes,(w&1)!==0?r===su?Yi++:(Yi=0,su=r):Yi=0,br(),null}function Vn(){if(Br!==null){var r=Of(Bl),n=eo.transition,s=Ae;try{if(eo.transition=null,Ae=16>r?16:r,Br===null)var f=!1;else{if(r=Br,Br=null,Bl=0,(Ee&6)!==0)throw Error(o(331));var g=Ee;for(Ee|=4,he=r.current;he!==null;){var w=he,_=w.child;if((he.flags&16)!==0){var T=w.deletions;if(T!==null){for(var E=0;E<T.length;E++){var G=T[E];for(he=G;he!==null;){var ne=he;switch(ne.tag){case 0:case 11:case 15:Xi(8,ne,w)}var se=ne.child;if(se!==null)se.return=ne,he=se;else for(;he!==null;){ne=he;var re=ne.sibling,ge=ne.return;if(Mv(ne),ne===G){he=null;break}if(re!==null){re.return=ge,he=re;break}he=ge}}}var be=w.alternate;if(be!==null){var ke=be.child;if(ke!==null){be.child=null;do{var nt=ke.sibling;ke.sibling=null,ke=nt}while(ke!==null)}}he=w}}if((w.subtreeFlags&2064)!==0&&_!==null)_.return=w,he=_;else e:for(;he!==null;){if(w=he,(w.flags&2048)!==0)switch(w.tag){case 0:case 11:case 15:Xi(9,w,w.return)}var O=w.sibling;if(O!==null){O.return=w.return,he=O;break e}he=w.return}}var D=r.current;for(he=D;he!==null;){_=he;var V=_.child;if((_.subtreeFlags&2064)!==0&&V!==null)V.return=_,he=V;else e:for(_=D;he!==null;){if(T=he,(T.flags&2048)!==0)try{switch(T.tag){case 0:case 11:case 15:bl(9,T)}}catch(Be){Ze(T,T.return,Be)}if(T===_){he=null;break e}var ue=T.sibling;if(ue!==null){ue.return=T.return,he=ue;break e}he=T.return}}if(Ee=g,br(),So&&typeof So.onPostCommitFiberRoot=="function")try{So.onPostCommitFiberRoot(qa,r)}catch{}f=!0}return f}finally{Ae=s,eo.transition=n}}return!1}function eg(r,n,s){n=Hn(s,n),n=bv(r,n,1),r=wr(r,n,1),n=Tt(),r!==null&&(ki(r,1,n),Pt(r,n))}function Ze(r,n,s){if(r.tag===3)eg(r,r,s);else for(;n!==null;){if(n.tag===3){eg(n,r,s);break}else if(n.tag===1){var f=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(xr===null||!xr.has(f))){r=Hn(s,r),r=yv(n,r,1),n=wr(n,r,1),r=Tt(),n!==null&&(ki(n,1,r),Pt(n,r));break}}n=n.return}}function Mw(r,n,s){var f=r.pingCache;f!==null&&f.delete(n),n=Tt(),r.pingedLanes|=r.suspendedLanes&s,pt===r&&(mt&s)===s&&(ut===4||ut===3&&(mt&130023424)===mt&&500>rt()-au?an(r,0):iu|=s),Pt(r,n)}function tg(r,n){n===0&&((r.mode&1)===0?n=1:(n=Ra,Ra<<=1,(Ra&130023424)===0&&(Ra=4194304)));var s=Tt();r=Xo(r,n),r!==null&&(ki(r,n,s),Pt(r,s))}function Hw(r){var n=r.memoizedState,s=0;n!==null&&(s=n.retryLane),tg(r,s)}function Aw(r,n){var s=0;switch(r.tag){case 13:var f=r.stateNode,g=r.memoizedState;g!==null&&(s=g.retryLane);break;case 19:f=r.stateNode;break;default:throw Error(o(314))}f!==null&&f.delete(n),tg(r,s)}var og;og=function(r,n,s){if(r!==null)if(r.memoizedProps!==n.pendingProps||qt.current)Rt=!0;else{if((r.lanes&s)===0&&(n.flags&128)===0)return Rt=!1,Nw(r,n,s);Rt=(r.flags&131072)!==0}else Rt=!1,Ue&&(n.flags&1048576)!==0&&Pp(n,tl,n.index);switch(n.lanes=0,n.tag){case 2:var f=n.type;ml(r,n),r=n.pendingProps;var g=qn(n,xt.current);Fn(n,s),g=Fc(null,n,f,r,g,s);var w=Mc();return n.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,It(f)?(w=!0,Ja(n)):w=!1,n.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,Tc(n),g.updater=vl,n.stateNode=g,g._reactInternals=n,Wc(n,f,r,s),n=Xc(null,n,f,!0,w,s)):(n.tag=0,Ue&&w&&wc(n),Ct(null,n,g,s),n=n.child),n;case 16:f=n.elementType;e:{switch(ml(r,n),r=n.pendingProps,g=f._init,f=g(f._payload),n.type=f,g=n.tag=Lw(f),r=po(f,r),g){case 0:n=Uc(null,n,f,r,s);break e;case 1:n=jv(null,n,f,r,s);break e;case 11:n=Bv(null,n,f,r,s);break e;case 14:n=Sv(null,n,f,po(f.type,r),s);break e}throw Error(o(306,f,""))}return n;case 0:return f=n.type,g=n.pendingProps,g=n.elementType===f?g:po(f,g),Uc(r,n,f,g,s);case 1:return f=n.type,g=n.pendingProps,g=n.elementType===f?g:po(f,g),jv(r,n,f,g,s);case 3:e:{if(Cv(n),r===null)throw Error(o(387));f=n.pendingProps,w=n.memoizedState,g=w.element,Wp(r,n),ll(n,f,null,s);var _=n.memoizedState;if(f=_.element,w.isDehydrated)if(w={element:f,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},n.updateQueue.baseState=w,n.memoizedState=w,n.flags&256){g=Hn(Error(o(423)),n),n=Tv(r,n,f,s,g);break e}else if(f!==g){g=Hn(Error(o(424)),n),n=Tv(r,n,f,s,g);break e}else for(Ot=gr(n.stateNode.containerInfo.firstChild),At=n,Ue=!0,fo=null,s=Lp(n,null,f,s),n.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(En(),f===g){n=Qo(r,n,s);break e}Ct(r,n,f,s)}n=n.child}return n;case 5:return Up(n),r===null&&Bc(n),f=n.type,g=n.pendingProps,w=r!==null?r.memoizedProps:null,_=g.children,vc(f,g)?_=null:w!==null&&vc(f,w)&&(n.flags|=32),Nv(r,n),Ct(r,n,_,s),n.child;case 6:return r===null&&Bc(n),null;case 13:return qv(r,n,s);case 4:return qc(n,n.stateNode.containerInfo),f=n.pendingProps,r===null?n.child=Pn(n,null,f,s):Ct(r,n,f,s),n.child;case 11:return f=n.type,g=n.pendingProps,g=n.elementType===f?g:po(f,g),Bv(r,n,f,g,s);case 7:return Ct(r,n,n.pendingProps,s),n.child;case 8:return Ct(r,n,n.pendingProps.children,s),n.child;case 12:return Ct(r,n,n.pendingProps.children,s),n.child;case 10:e:{if(f=n.type._context,g=n.pendingProps,w=n.memoizedProps,_=g.value,Ve(nl,f._currentValue),f._currentValue=_,w!==null)if(uo(w.value,_)){if(w.children===g.children&&!qt.current){n=Qo(r,n,s);break e}}else for(w=n.child,w!==null&&(w.return=n);w!==null;){var T=w.dependencies;if(T!==null){_=w.child;for(var E=T.firstContext;E!==null;){if(E.context===f){if(w.tag===1){E=Ko(-1,s&-s),E.tag=2;var G=w.updateQueue;if(G!==null){G=G.shared;var ne=G.pending;ne===null?E.next=E:(E.next=ne.next,ne.next=E),G.pending=E}}w.lanes|=s,E=w.alternate,E!==null&&(E.lanes|=s),jc(w.return,s,n),T.lanes|=s;break}E=E.next}}else if(w.tag===10)_=w.type===n.type?null:w.child;else if(w.tag===18){if(_=w.return,_===null)throw Error(o(341));_.lanes|=s,T=_.alternate,T!==null&&(T.lanes|=s),jc(_,s,n),_=w.sibling}else _=w.child;if(_!==null)_.return=w;else for(_=w;_!==null;){if(_===n){_=null;break}if(w=_.sibling,w!==null){w.return=_.return,_=w;break}_=_.return}w=_}Ct(r,n,g.children,s),n=n.child}return n;case 9:return g=n.type,f=n.pendingProps.children,Fn(n,s),g=Jt(g),f=f(g),n.flags|=1,Ct(r,n,f,s),n.child;case 14:return f=n.type,g=po(f,n.pendingProps),g=po(f.type,g),Sv(r,n,f,g,s);case 15:return zv(r,n,n.type,n.pendingProps,s);case 17:return f=n.type,g=n.pendingProps,g=n.elementType===f?g:po(f,g),ml(r,n),n.tag=1,It(f)?(r=!0,Ja(n)):r=!1,Fn(n,s),mv(n,f,g),Wc(n,f,g,s),Xc(null,n,f,!0,r,s);case 19:return Rv(r,n,s);case 22:return _v(r,n,s)}throw Error(o(156,n.tag))};function rg(r,n){return Df(r,n)}function Ow(r,n,s,f){this.tag=r,this.key=s,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=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function to(r,n,s,f){return new Ow(r,n,s,f)}function vu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Lw(r){if(typeof r=="function")return vu(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Z)return 11;if(r===we)return 14}return 2}function _r(r,n){var s=r.alternate;return s===null?(s=to(r.tag,n,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=n,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&14680064,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,n=r.dependencies,s.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s}function Nl(r,n,s,f,g,w){var _=2;if(f=r,typeof r=="function")vu(r)&&(_=1);else if(typeof r=="string")_=5;else e:switch(r){case M:return sn(s.children,g,w,n);case H:_=8,g|=8;break;case W:return r=to(12,s,n,g|2),r.elementType=W,r.lanes=w,r;case $:return r=to(13,s,n,g),r.elementType=$,r.lanes=w,r;case le:return r=to(19,s,n,g),r.elementType=le,r.lanes=w,r;case Y:return jl(s,g,w,n);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case ce:_=10;break e;case te:_=9;break e;case Z:_=11;break e;case we:_=14;break e;case P:_=16,f=null;break e}throw Error(o(130,r==null?r:typeof r,""))}return n=to(_,s,n,g),n.elementType=r,n.type=f,n.lanes=w,n}function sn(r,n,s,f){return r=to(7,r,f,n),r.lanes=s,r}function jl(r,n,s,f){return r=to(22,r,f,n),r.elementType=Y,r.lanes=s,r.stateNode={isHidden:!1},r}function gu(r,n,s){return r=to(6,r,null,n),r.lanes=s,r}function mu(r,n,s){return n=to(4,r.children!==null?r.children:[],r.key,n),n.lanes=s,n.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},n}function Vw(r,n,s,f,g){this.tag=n,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vs(0),this.expirationTimes=Vs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vs(0),this.identifierPrefix=f,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function hu(r,n,s,f,g,w,_,T,E){return r=new Vw(r,n,s,T,E),n===1?(n=1,w===!0&&(n|=8)):n=0,w=to(3,null,null,n),r.current=w,w.stateNode=r,w.memoizedState={element:f,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tc(w),r}function Ww(r,n,s){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:C,key:f==null?null:""+f,children:r,containerInfo:n,implementation:s}}function ng(r){if(!r)return hr;r=r._reactInternals;e:{if(Kr(r)!==r||r.tag!==1)throw Error(o(170));var n=r;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(It(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(o(171))}if(r.tag===1){var s=r.type;if(It(s))return Ip(r,s,n)}return n}function ig(r,n,s,f,g,w,_,T,E){return r=hu(s,f,!0,r,g,w,_,T,E),r.context=ng(null),s=r.current,f=Tt(),g=Sr(s),w=Ko(f,g),w.callback=n??null,wr(s,w,g),r.current.lanes=g,ki(r,g,f),Pt(r,f),r}function Cl(r,n,s,f){var g=n.current,w=Tt(),_=Sr(g);return s=ng(s),n.context===null?n.context=s:n.pendingContext=s,n=Ko(w,_),n.payload={element:r},f=f===void 0?null:f,f!==null&&(n.callback=f),r=wr(g,n,_),r!==null&&(mo(r,g,_,w),al(r,g,_)),_}function Tl(r){return r=r.current,r.child?(r.child.tag===5,r.child.stateNode):null}function ag(r,n){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<n?s:n}}function bu(r,n){ag(r,n),(r=r.alternate)&&ag(r,n)}function $w(){return null}var lg=typeof reportError=="function"?reportError:function(r){console.error(r)};function yu(r){this._internalRoot=r}ql.prototype.render=yu.prototype.render=function(r){var n=this._internalRoot;if(n===null)throw Error(o(409));Cl(r,n,null,null)},ql.prototype.unmount=yu.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var n=r.containerInfo;nn(function(){Cl(null,r,null,null)}),n[Wo]=null}};function ql(r){this._internalRoot=r}ql.prototype.unstable_scheduleHydration=function(r){if(r){var n=Wf();r={blockedOn:null,target:r,priority:n};for(var s=0;s<fr.length&&n!==0&&n<fr[s].priority;s++);fr.splice(s,0,r),s===0&&Uf(r)}};function wu(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Il(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function sg(){}function Gw(r,n,s,f,g){if(g){if(typeof f=="function"){var w=f;f=function(){var G=Tl(_);w.call(G)}}var _=ig(n,f,r,0,null,!1,!1,"",sg);return r._reactRootContainer=_,r[Wo]=_.current,Pi(r.nodeType===8?r.parentNode:r),nn(),_}for(;g=r.lastChild;)r.removeChild(g);if(typeof f=="function"){var T=f;f=function(){var G=Tl(E);T.call(G)}}var E=hu(r,0,!1,null,null,!1,!1,"",sg);return r._reactRootContainer=E,r[Wo]=E.current,Pi(r.nodeType===8?r.parentNode:r),nn(function(){Cl(n,E,s,f)}),E}function Rl(r,n,s,f,g){var w=s._reactRootContainer;if(w){var _=w;if(typeof g=="function"){var T=g;g=function(){var E=Tl(_);T.call(E)}}Cl(n,_,r,g)}else _=Gw(s,n,r,g,f);return Tl(_)}Lf=function(r){switch(r.tag){case 3:var n=r.stateNode;if(n.current.memoizedState.isDehydrated){var s=wi(n.pendingLanes);s!==0&&(Ws(n,s|1),Pt(n,rt()),(Ee&6)===0&&(Ln=rt()+500,br()))}break;case 13:nn(function(){var f=Xo(r,1);if(f!==null){var g=Tt();mo(f,r,1,g)}}),bu(r,1)}},$s=function(r){if(r.tag===13){var n=Xo(r,134217728);if(n!==null){var s=Tt();mo(n,r,134217728,s)}bu(r,134217728)}},Vf=function(r){if(r.tag===13){var n=Sr(r),s=Xo(r,n);if(s!==null){var f=Tt();mo(s,r,n,f)}bu(r,n)}},Wf=function(){return Ae},$f=function(r,n){var s=Ae;try{return Ae=r,n()}finally{Ae=s}},Fs=function(r,n,s){switch(n){case"input":if(Cs(r,s),n=s.name,s.type==="radio"&&n!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<s.length;n++){var f=s[n];if(f!==r&&f.form===r.form){var g=Qa(f);if(!g)throw Error(o(90));Xr(f),Cs(f,g)}}}break;case"textarea":wf(r,s);break;case"select":n=s.value,n!=null&&yn(r,!!s.multiple,n,!1)}},Cf=du,Tf=nn;var Uw={usingClientEntryPoint:!1,Events:[Mi,Cn,Qa,Nf,jf,du]},Ji={findFiberByHostInstance:Qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Xw={bundleType:Ji.bundleType,version:Ji.version,rendererPackageName:Ji.rendererPackageName,rendererConfig:Ji.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Ef(r),r===null?null:r.stateNode},findFiberByHostInstance:Ji.findFiberByHostInstance||$w,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 El=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!El.isDisabled&&El.supportsFiber)try{qa=El.inject(Xw),So=El}catch{}}return Dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uw,Dt.createPortal=function(r,n){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wu(n))throw Error(o(200));return Ww(r,n,null,s)},Dt.createRoot=function(r,n){if(!wu(r))throw Error(o(299));var s=!1,f="",g=lg;return n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(f=n.identifierPrefix),n.onRecoverableError!==void 0&&(g=n.onRecoverableError)),n=hu(r,1,!1,null,null,s,!1,f,g),r[Wo]=n.current,Pi(r.nodeType===8?r.parentNode:r),new yu(n)},Dt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var n=r._reactInternals;if(n===void 0)throw typeof r.render=="function"?Error(o(188)):(r=Object.keys(r).join(","),Error(o(268,r)));return r=Ef(n),r=r===null?null:r.stateNode,r},Dt.flushSync=function(r){return nn(r)},Dt.hydrate=function(r,n,s){if(!Il(n))throw Error(o(200));return Rl(null,r,n,!0,s)},Dt.hydrateRoot=function(r,n,s){if(!wu(r))throw Error(o(405));var f=s!=null&&s.hydratedSources||null,g=!1,w="",_=lg;if(s!=null&&(s.unstable_strictMode===!0&&(g=!0),s.identifierPrefix!==void 0&&(w=s.identifierPrefix),s.onRecoverableError!==void 0&&(_=s.onRecoverableError)),n=ig(n,null,r,1,s??null,g,!1,w,_),r[Wo]=n.current,Pi(r),f)for(r=0;r<f.length;r++)s=f[r],g=s._getVersion,g=g(s._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[s,g]:n.mutableSourceEagerHydrationData.push(s,g);return new ql(n)},Dt.render=function(r,n,s){if(!Il(n))throw Error(o(200));return Rl(null,r,n,!1,s)},Dt.unmountComponentAtNode=function(r){if(!Il(r))throw Error(o(40));return r._reactRootContainer?(nn(function(){Rl(null,null,r,!1,function(){r._reactRootContainer=null,r[Wo]=null})}),!0):!1},Dt.unstable_batchedUpdates=du,Dt.unstable_renderSubtreeIntoContainer=function(r,n,s,f){if(!Il(s))throw Error(o(200));if(r==null||r._reactInternals===void 0)throw Error(o(38));return Rl(r,n,s,!1,f)},Dt.version="18.3.1-next-f1338f8080-20240426",Dt}var fg;function Ck(){if(fg)return ku.exports;fg=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(),ku.exports=jk(),ku.exports}const Tk={"<":"\\3C ",">":"\\3E "};function pg(e){return e.replace(/[<>]/g,t=>Tk[t])}function qk(e,t){const o=pg(e);if(t){const i=Object.keys(t).reduce((a,l)=>`${a}--${l}: ${t[l]}; `,"");return`${o} { ${pg(i)} }`}return`${o} {}`}const dn=Symbol.for("fui.slotRenderFunction"),Er=Symbol.for("fui.slotElementType"),ah=Symbol.for("fui.slotClassNameProp");function ie(e,t){const{defaultProps:o,elementType:i}=t,a=xd(e),l={...o,...a,[Er]:i,[ah]:a?.className||o?.className};return a&&typeof a.children=="function"&&(l[dn]=a.children,l.children=o?.children),l}function ve(e,t){if(!(e===null||e===void 0&&!t.renderByDefault))return ie(e,t)}function xd(e){return typeof e=="string"||typeof e=="number"||Ik(e)||m.isValidElement(e)?{children:e}:e}const Ik=e=>typeof e=="object"&&e!==null&&Symbol.iterator in e;function Tr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&!m.isValidElement(e)}function Ku(e){return!!e?.hasOwnProperty(Er)}const We=(...e)=>{const t={};for(const o of e){const i=Array.isArray(o)?o:Object.keys(o);for(const a of i)t[a]=1}return t},Rk=We(["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"]),Ek=We(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Pk=We(["itemID","itemProp","itemRef","itemScope","itemType"]),st=We(Ek,Rk,Pk),Dk=We(st,["form"]),lh=We(st,["height","loop","muted","preload","src","width"]),Fk=We(lh,["poster"]),Mk=We(st,["start"]),Hk=We(st,["value"]),Ak=We(st,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),Ok=We(st,["dateTime"]),us=We(st,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),Lk=We(us,["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"]),Vk=We(us,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),Wk=We(us,["form","multiple","required"]),$k=We(st,["selected","value"]),Gk=We(st,["cellPadding","cellSpacing"]),Uk=st,Xk=We(st,["colSpan","rowSpan","scope"]),Kk=We(st,["colSpan","headers","rowSpan","scope"]),Qk=We(st,["span"]),Yk=We(st,["span"]),Jk=We(st,["disabled","form"]),Zk=We(st,["acceptCharset","action","encType","encType","method","noValidate","target"]),ex=We(st,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),tx=We(st,["alt","crossOrigin","height","loading","src","srcSet","useMap","width"]),ox=We(st,["open","onCancel","onClose"]);function rx(e,t,o){const i=Array.isArray(t),a={},l=Object.keys(e);for(const c of l)(!i&&t[c]||i&&t.indexOf(c)>=0||c.indexOf("data-")===0||c.indexOf("aria-")===0)&&(!o||o?.indexOf(c)===-1)&&(a[c]=e[c]);return a}const nx={label:Dk,audio:lh,video:Fk,ol:Mk,li:Hk,a:Ak,button:us,input:Lk,textarea:Vk,select:Wk,option:$k,table:Gk,tr:Uk,th:Xk,td:Kk,colGroup:Qk,col:Yk,fieldset:Jk,form:Zk,iframe:ex,img:tx,time:Ok,dialog:ox};function sh(e,t,o){const i=e&&nx[e]||st;return i.as=1,rx(t,i,o)}const ir=({primarySlotTagName:e,props:t,excludedPropNames:o})=>({root:{style:t.style,className:t.className},primary:sh(e,t,[...o||[],"style","className"])}),ze=(e,t,o)=>{var i;return sh((i=t.as)!==null&&i!==void 0?i:e,t,o)};function ch(e,t){const o={};for(const i in e)t.indexOf(i)===-1&&e.hasOwnProperty(i)&&(o[i]=e[i]);return o}function KD(e){const t=e,o={},i={},a=Object.keys(t.components);for(const l of a){const[c,u]=ix(t,l);o[l]=c,i[l]=u}return{slots:o,slotProps:i}}function ix(e,t){var o,i;const a=e[t];if(a===void 0)return[null,void 0];const{as:l,children:c,...u}=a,d=Ku(a)?a[dn]:void 0,p=((o=e.components)===null||o===void 0?void 0:o[t])===void 0||typeof e.components[t]=="string"?l||((i=e.components)===null||i===void 0?void 0:i[t])||"div":e.components[t],v=p;if(d||typeof c=="function"){const y=d||c;return[m.Fragment,{children:y(v,u)}]}const x=typeof p=="string"&&l?ch(a,["as"]):a;return[v,x]}function uh(e,t){const o=m.useRef(void 0),i=m.useCallback((l,c)=>(o.current!==void 0&&t(o.current),o.current=e(l,c),o.current),[t,e]),a=m.useCallback(()=>{o.current!==void 0&&(t(o.current),o.current=void 0)},[t]);return m.useEffect(()=>a,[a]),[i,a]}const dh=m.createContext(void 0),ax=dh.Provider,fh=m.createContext(void 0),lx="",sx=fh.Provider;function wa(){var e;return(e=m.useContext(fh))!==null&&e!==void 0?e:lx}const ph=m.createContext(void 0),cx={},ux=ph.Provider;function dx(){var e;return(e=m.useContext(ph))!==null&&e!==void 0?e:cx}const vh=m.createContext(void 0),fx={targetDocument:typeof document=="object"?document:void 0,dir:"ltr"},px=vh.Provider;function Ie(){var e;return(e=m.useContext(vh))!==null&&e!==void 0?e:fx}const gh=m.createContext(void 0),vx=gh.Provider;function ka(){var e;return(e=m.useContext(gh))!==null&&e!==void 0?e:{}}const Bd=m.createContext(void 0),gx=()=>{},mx=Bd.Provider,de=e=>{var t,o;return(o=(t=m.useContext(Bd))===null||t===void 0?void 0:t[e])!==null&&o!==void 0?o:gx},mh=m.createContext(void 0);mh.Provider;function hx(){return m.useContext(mh)}const hh=m.createContext(void 0);hh.Provider;function xa(){return m.useContext(hh)}const bh=m.createContext(void 0);bh.Provider;function bx(){var e;return(e=m.useContext(bh))!==null&&e!==void 0?e:{announce:()=>{}}}const yx=e=>(e(0),0),wx=e=>e;function sa(){const{targetDocument:e}=Ie(),t=e?.defaultView,o=t?t.requestAnimationFrame:yx,i=t?t.cancelAnimationFrame:wx;return uh(o,i)}function kx(e){const t=e.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll";const o=e.createElement("div");t.appendChild(o),e.body.appendChild(t);const i=t.offsetWidth-o.offsetWidth;return t.remove(),i}function xx(e){return typeof e=="function"}const Xe=e=>{"use no memo";const[t,o]=m.useState(()=>e.defaultState===void 0?e.initialState:Bx(e.defaultState)?e.defaultState():e.defaultState),i=m.useRef(e.state);m.useEffect(()=>{i.current=e.state},[e.state]);const a=m.useCallback(l=>{xx(l)&&l(i.current)},[]);return Sx(e.state)?[e.state,a]:[t,o]};function Bx(e){return typeof e=="function"}const Sx=e=>{const[t]=m.useState(()=>e!==void 0);return t};function Ba(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}const yh={current:0},zx=m.createContext(void 0);function wh(){var e;return(e=m.useContext(zx))!==null&&e!==void 0?e:yh}function _x(){const e=wh()!==yh,[t,o]=m.useState(e);return Ba()&&e&&m.useLayoutEffect(()=>{o(!1)},[]),t}const He=Ba()?m.useLayoutEffect:m.useEffect,K=e=>{const t=m.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return He(()=>{t.current=e},[e]),m.useCallback((...o)=>{const i=t.current;return i(...o)},[t])};function Sd(){const e=m.useRef(!0);return m.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}function Nx(){return m.useReducer(e=>e+1,0)[1]}const kh=m.createContext(void 0);kh.Provider;function jx(){return m.useContext(kh)||""}function Le(e="fui-",t){const o=wh(),i=jx(),a=ti.useId;if(a){const l=a(),c=m.useMemo(()=>l.replace(/:/g,""),[l]);return t||`${i}${e}${c}`}return m.useMemo(()=>t||`${i}${e}${++o.current}`,[i,e,t,o])}function Se(...e){const t=m.useCallback(o=>{t.current=o;for(const i of e)typeof i=="function"?i(o):i&&(i.current=o)},[...e]);return t}const xh=(e,t)=>!!e?.contains(t),ds=e=>{const{targetDocument:t}=Ie(),o=t?.defaultView,{refs:i,callback:a,element:l,disabled:c,disabledFocusOnIframe:u,contains:d=xh}=e,p=m.useRef(void 0);Tx({element:l,disabled:u||c,callback:a,refs:i,contains:d});const v=m.useRef(!1),h=K(y=>{if(v.current){v.current=!1;return}const k=y.composedPath()[0];i.every(B=>!d(B.current||null,k))&&!c&&a(y)}),x=K(y=>{v.current=i.some(k=>d(k.current||null,y.target))});m.useEffect(()=>{if(c)return;let y=Cx(o);const k=b=>{if(b===y){y=void 0;return}h(b)};return l?.addEventListener("click",k,!0),l?.addEventListener("touchstart",k,!0),l?.addEventListener("contextmenu",k,!0),l?.addEventListener("mousedown",x,!0),p.current=o?.setTimeout(()=>{y=void 0},1),()=>{l?.removeEventListener("click",k,!0),l?.removeEventListener("touchstart",k,!0),l?.removeEventListener("contextmenu",k,!0),l?.removeEventListener("mousedown",x,!0),o?.clearTimeout(p.current),y=void 0}},[h,l,c,x,o])},Cx=e=>{if(e){var t,o;if(typeof e.window=="object"&&e.window===e)return e.event;var i;return(i=(o=e.ownerDocument)===null||o===void 0||(t=o.defaultView)===null||t===void 0?void 0:t.event)!==null&&i!==void 0?i:void 0}},Su="fuiframefocus",Tx=e=>{const{disabled:t,element:o,callback:i,contains:a=xh,pollDuration:l=100,refs:c}=e,u=m.useRef(void 0),d=K(p=>{c.every(h=>!a(h.current||null,p.target))&&!t&&i(p)});m.useEffect(()=>{if(!t)return o?.addEventListener(Su,d,!0),()=>{o?.removeEventListener(Su,d,!0)}},[o,t,d]),m.useEffect(()=>{var p;if(!t)return u.current=o==null||(p=o.defaultView)===null||p===void 0?void 0:p.setInterval(()=>{const v=o?.activeElement;if(v?.tagName==="IFRAME"||v?.tagName==="WEBVIEW"){const h=new CustomEvent(Su,{bubbles:!0});v.dispatchEvent(h)}},l),()=>{var v;o==null||(v=o.defaultView)===null||v===void 0||v.clearInterval(u.current)}},[o,t,l])},Bh=e=>{const{refs:t,callback:o,element:i,disabled:a,contains:l}=e,c=K(u=>{const d=l||((h,x)=>!!h?.contains(x)),p=u.composedPath()[0];t.every(h=>!d(h.current||null,p))&&!a&&o(u)});m.useEffect(()=>{if(!a)return i?.addEventListener("wheel",c),i?.addEventListener("touchmove",c),()=>{i?.removeEventListener("wheel",c),i?.removeEventListener("touchmove",c)}},[c,i,a])},zu=new WeakMap;function QD(e){const{targetDocument:t,force:o}=e;return m.useMemo(()=>{if(!t)return 0;if(!o&&zu.has(t))return zu.get(t);const i=kx(t);return zu.set(t,i),i},[t,o])}const qx=e=>-1,Ix=e=>{};function Or(){const{targetDocument:e}=Ie(),t=e?.defaultView,o=t?t.setTimeout:qx,i=t?t.clearTimeout:Ix;return uh(o,i)}const Rx=parseInt(m.version,10)>=19;function mn(e){if(e)return Rx?e.props.ref:e.ref}function ye(e,t){return(...o)=>{e?.(...o),t?.(...o)}}function it(e,t){var o;const i=e;var a;return!!(!(i==null||(o=i.ownerDocument)===null||o===void 0)&&o.defaultView&&i instanceof i.ownerDocument.defaultView[(a=t?.constructorName)!==null&&a!==void 0?a:"HTMLElement"])}function Ex(e){if(!it(e))return!1;const{tagName:t}=e;switch(t){case"BUTTON":case"A":case"INPUT":case"TEXTAREA":return!0}return e.isContentEditable}function Sh(e){return!!e.type.isFluentTriggerComponent}function oi(e,t){return typeof e=="function"?e(t):e?zh(e,t):e||null}function zh(e,t){if(!m.isValidElement(e)||e.type===m.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(Sh(e)){const o=zh(e.props.children,t);return m.cloneElement(e,void 0,o)}else return m.cloneElement(e,t)}function ar(e){return m.isValidElement(e)?Sh(e)?ar(e.props.children):e:null}function Qu(e){return e.type.startsWith("touch")}function Yu(e){return e.type.startsWith("mouse")||["click","contextmenu","dblclick"].indexOf(e.type)>-1}function vg(e){return Yu(e)?{clientX:e.clientX,clientY:e.clientY}:Qu(e)?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:0,clientY:0}}function gg(e){return e instanceof Set?e:new Set(e)}function _h(e){const[t,o]=Xe({initialState:new Set,defaultState:m.useMemo(()=>e.defaultSelectedItems&&gg(e.defaultSelectedItems),[e.defaultSelectedItems]),state:m.useMemo(()=>e.selectedItems&&gg(e.selectedItems),[e.selectedItems])});return[t,(a,l)=>{var c;(c=e.onSelectionChange)===null||c===void 0||c.call(e,a,{selectedItems:l}),o(l)}]}function Px(e){const[t,o]=_h(e);return[t,{deselectItem:a=>o(a,new Set),selectItem:(a,l)=>o(a,new Set([l])),toggleAllItems:()=>{},toggleItem:(a,l)=>o(a,new Set([l])),clearItems:a=>o(a,new Set),isSelected:a=>{var l;return(l=t.has(a))!==null&&l!==void 0?l:!1}}]}function Dx(e){const[t,o]=_h(e);return[t,{toggleItem:(a,l)=>{const c=new Set(t);t.has(l)?c.delete(l):c.add(l),o(a,c)},selectItem:(a,l)=>{const c=new Set(t);c.add(l),o(a,c)},deselectItem:(a,l)=>{const c=new Set(t);c.delete(l),o(a,c)},clearItems:a=>{o(a,new Set)},isSelected:a=>t.has(a),toggleAllItems:(a,l)=>{const c=l.every(d=>t.has(d)),u=new Set(t);c?u.clear():l.forEach(d=>u.add(d)),o(a,u)}}]}function Fx(e){return e.selectionMode==="multiselect"?Dx(e):Px(e)}function Mx(e){return e&&!!e._virtual}function Hx(e){return Mx(e)&&e._virtual.parent||null}function Nh(e,t={}){if(!e)return null;if(!t.skipVirtual){const i=Hx(e);if(i)return i}const o=e.parentNode;return o&&o.nodeType===11?o.host:o}function Nt(e,t){if(!e||!t)return!1;if(e===t)return!0;{const o=new WeakSet;for(;t;){const i=Nh(t,{skipVirtual:o.has(t)});if(o.add(t),i===e)return!0;t=i}}return!1}function Po(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function Ax(e,t){return{...t,[Er]:e}}function jh(e,t){return function(i,a,l,c,u){return Ku(a)?t(Ax(i,a),null,l,c,u):Ku(i)?t(i,a,l,c,u):e(i,a,l,c,u)}}function Ch(e){const{as:t,[ah]:o,[Er]:i,[dn]:a,...l}=e,c=l,u=typeof i=="string"?t??i:i;return typeof u!="string"&&t&&(c.as=t),{elementType:u,props:c,renderFunction:a}}const un=Qw,Ox=(e,t,o)=>{const{elementType:i,renderFunction:a,props:l}=Ch(e),c={...l,...t};return a?un.jsx(m.Fragment,{children:a(i,c)},o):un.jsx(i,c,o)},Lx=(e,t,o)=>{const{elementType:i,renderFunction:a,props:l}=Ch(e),c={...l,...t};return a?un.jsx(m.Fragment,{children:a(i,{...c,children:un.jsxs(m.Fragment,{children:c.children},void 0)})},o):un.jsxs(i,c,o)},I=jh(un.jsx,Ox),_e=jh(un.jsxs,Lx),Vx=(e,t)=>I(px,{value:t.provider,children:I(ax,{value:t.theme,children:I(sx,{value:t.themeClassName,children:I(mx,{value:t.customStyleHooks_unstable,children:I(ux,{value:t.tooltip,children:I(Yw,{dir:t.textDirection,children:I(Jw,{value:t.iconDirection,children:I(vx,{value:t.overrides_unstable,children:_e(e.root,{children:[Ba()?null:I("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})});const ko="data-tabster",Wx="data-tabster-dummy",Th=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,Jo={EscapeGroupper:1,Restorer:2,Deloser:3},jr={Invisible:0,PartiallyVisible:1,Visible:2},fn={Source:0,Target:1},wo={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},et={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Kl={Unlimited:0,Limited:1,LimitedTrapFocus:2},Zl={Enter:1,Escape:2},$x={Outside:2};function wt(e,t){return e.storageEntry(t)?.tabster}function qh(e,t,o){const i=o||e._noop?void 0:t.getAttribute(ko);let a=e.storageEntry(t),l;if(i)if(i!==a?.attr?.string)try{const p=JSON.parse(i);if(typeof p!="object")throw new Error(`Value is not a JSON object, got '${i}'.`);l={string:i,object:p}}catch{}else return;else if(!a)return;a||(a=e.storageEntry(t,!0)),a.tabster||(a.tabster={});const c=a.tabster||{},u=a.attr?.object||{},d=l?.object||{};for(const p of Object.keys(u))if(!d[p]){if(p==="root"){const v=c[p];v&&e.root.onRoot(v,!0)}switch(p){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const v=c[p];v&&(v.dispose(),delete c[p]);break;case"observed":delete c[p],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete c[p];break}}for(const p of Object.keys(d)){const v=d.sys;switch(p){case"root":c.root?c.root.setProps(d.root):c.root=e.root.createRoot(t,d.root,v),e.root.onRoot(c.root);break;case"focusable":c.focusable=d.focusable;break;case"observed":e.observedElement&&(c.observed=d.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":c.uncontrolled=d.uncontrolled;break;case"outline":e.outline&&(c.outline=d.outline);break;case"sys":c.sys=d.sys;break;default:{const h=e.attrHandlers.get(p);h&&(c[p]=h(t,c[p],d[p],u?.[p],v))}}}l?a.attr=l:(Object.keys(c).length===0&&(delete a.tabster,delete a.attr),e.storageEntry(t,!1))}const qo=(e,t,o)=>{e.addEventListener(t,o,!0)},no=(e,t,o)=>{e.removeEventListener(t,o,!0)};const pn="keyborg:focusin",ca="keyborg:focusout",mg=0,hg=1,bg=2,_u=3;function Do(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}function Gx(e){const t=e,o=t.document,i=t.HTMLElement.prototype,a=Object.getOwnPropertyDescriptor(i,"focus");if(a?.value?.__keyborgNativeFocus)return;v.__keyborgNativeFocus=h,v.__keyborgFocusDescriptor=a,Object.defineProperty(i,"focus",{configurable:a?.configurable??!0,enumerable:a?.enumerable??!1,writable:!0,value:v});const l=new Set,c=y=>{const k=y.target;if(!k)return;const b=new CustomEvent(ca,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:y}});k.dispatchEvent(b)},u=y=>{const k=y.target;if(!k)return;let b=y.composedPath()[0];const B=new Set;for(;b;)b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(B.add(b),b=b.host):b=b.parentNode;for(const z of l){const j=z.deref();(!j||!B.has(j))&&(l.delete(z),j&&(no(j,"focusin",u),no(j,"focusout",c)))}d(k,y.relatedTarget||void 0)},d=(y,k,b)=>{const B=y.shadowRoot;if(B){for(const S of l)if(S.deref()===B)return;qo(B,"focusin",u),qo(B,"focusout",c),l.add(new WeakRef(B));return}const z={relatedTarget:k,originalEvent:b},j=new CustomEvent(pn,{cancelable:!0,bubbles:!0,composed:!0,detail:z});z.isFocusedProgrammatically=y===p[_u]?.deref(),p[_u]=void 0,y.dispatchEvent(j)},p=[u,c,l];t.__keyborgData=p,qo(o,"focusin",u),qo(o,"focusout",c);function v(){const y=t.__keyborgData;return y&&(y[_u]=new WeakRef(this)),h.apply(this,arguments)}function h(){const y=a?.get?a.get.call(this):a?.value;if(typeof y!="function")throw new TypeError("HTMLElement.prototype.focus is not callable");return y.apply(this,arguments)}let x=o.activeElement;for(;x&&x.shadowRoot;)d(x),x=x.shadowRoot.activeElement}function Ux(e){const t=e,o=t.HTMLElement.prototype,i=Object.getOwnPropertyDescriptor(o,"focus")?.value,a=i?.__keyborgFocusDescriptor,l=t.__keyborgData;if(l){const c=t.document;no(c,"focusin",l[mg]),no(c,"focusout",l[hg]);for(const u of l[bg]){const d=u.deref();d&&(no(d,"focusin",l[mg]),no(d,"focusout",l[hg]))}l[bg].clear(),delete t.__keyborgData}i?.__keyborgNativeFocus&&(a?Object.defineProperty(o,"focus",a):delete o.focus)}let Xx=0;function Kx(e){let t=e,o=!1,i;const a=()=>{const y=t?.__keyborg?.refs;if(y)for(const k of Object.keys(y))y[k]._cb.forEach(b=>b(o))},l=y=>{o!==y&&(o=y,a())},c=y=>{if(y.key==="Tab")return!0;const k=t?.document.activeElement;return!(k&&(k.tagName==="INPUT"||k.tagName==="TEXTAREA"||k.isContentEditable))},u=y=>{if(i||o)return;const k=y.detail;k.relatedTarget&&(k.isFocusedProgrammatically||k.isFocusedProgrammatically===void 0||l(!0))},d=()=>{t&&(i&&t.clearTimeout(i),i=t.setTimeout(()=>{i=void 0},1e3)),l(!1)},p=y=>{y.buttons===0||y.clientX===0&&y.clientY===0&&y.screenX===0&&y.screenY===0||d()},v=y=>{!o&&c(y)&&l(!0)},h=e.document;return qo(h,pn,u),qo(h,"mousedown",p),qo(e,"keydown",v),qo(h,"touchstart",d),qo(h,"touchend",d),qo(h,"touchcancel",d),Gx(e),{dispose:()=>{if(!t)return;i&&(t.clearTimeout(i),i=void 0),Ux(t);const y=t.document;no(y,pn,u),no(y,"mousedown",p),no(t,"keydown",v),no(y,"touchstart",d),no(y,"touchend",d),no(y,"touchcancel",d),t=void 0},get isNavigatingWithKeyboard(){return o},set isNavigatingWithKeyboard(y){l(y)}}}function Qx(e){const t=e,o="k"+ ++Xx;let i=t,a;const l=[],c=t.__keyborg;c?a=c.core:a=Kx(t);const u={isNavigatingWithKeyboard(){return!!a?.isNavigatingWithKeyboard},subscribe(d){l.push(d)},unsubscribe(d){const p=l.indexOf(d);p>=0&&l.splice(p,1)},setVal(d){a&&(a.isNavigatingWithKeyboard=d)},_cb:l,dispose(){const d=i?.__keyborg;d?.refs[o]&&(delete d.refs[o],Object.keys(d.refs).length===0&&(d.core.dispose(),delete i.__keyborg)),l.length=0,a=void 0,i=void 0}};return c?c.refs[o]=u:t.__keyborg={core:a,refs:{[o]:u}},u}function Yx(e){e.dispose()}const Jx="tabster:focusin",Zx="tabster:focusout",Ju="tabster:movefocus",eB="tabster:modalizer:active",tB="tabster:modalizer:inactive",oB="tabster:mover:state",Zu="tabster:mover:movefocus",yg="tabster:mover:memorized-element",ed="tabster:groupper:movefocus",td="tabster:restorer:restore-focus",rB="tabster:root:focus",nB="tabster:root:blur",iB=typeof CustomEvent<"u"?CustomEvent:function(){};class xo extends iB{constructor(t,o){super(t,{bubbles:!0,cancelable:!0,composed:!0,detail:o}),this.details=o}}class aB extends xo{constructor(t){super(Jx,t)}}class lB extends xo{constructor(t){super(Zx,t)}}class qr extends xo{constructor(t){super(Ju,t)}}class wg extends xo{constructor(t){super(oB,t)}}class sB extends xo{constructor(t){super(Zu,t)}}class kg extends xo{constructor(t){super(ed,t)}}class cB extends xo{constructor(t){super(eB,t)}}class uB extends xo{constructor(t){super(tB,t)}}class xg extends xo{constructor(){super(td)}}class dB extends xo{constructor(t){super(rB,t)}}class fB extends xo{constructor(t){super(nB,t)}}const pB=e=>new MutationObserver(e),vB=(e,t,o,i)=>e.createTreeWalker(t,o,i),gB=e=>e?e.parentNode:null,mB=e=>e?e.parentElement:null,hB=(e,t)=>!!(t&&e?.contains(t)),bB=e=>e.activeElement,yB=(e,t)=>e.querySelector(t),wB=(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),kB=(e,t)=>e.getElementById(t),xB=e=>e?.firstChild||null,BB=e=>e?.lastChild||null,SB=e=>e?.nextSibling||null,zB=e=>e?.previousSibling||null,_B=e=>e?.firstElementChild||null,NB=e=>e?.lastElementChild||null,jB=e=>e?.nextElementSibling||null,CB=e=>e?.previousElementSibling||null,TB=(e,t)=>e.appendChild(t),qB=(e,t,o)=>e.insertBefore(t,o),IB=e=>e.ownerDocument?.getSelection()||null,RB=(e,t)=>e.ownerDocument.getElementsByName(t),oe={createMutationObserver:pB,createTreeWalker:vB,getParentNode:gB,getParentElement:mB,nodeContains:hB,getActiveElement:bB,querySelector:yB,querySelectorAll:wB,getElementById:kB,getFirstChild:xB,getLastChild:BB,getNextSibling:SB,getPreviousSibling:zB,getFirstElementChild:_B,getLastElementChild:NB,getNextElementSibling:jB,getPreviousElementSibling:CB,appendChild:TB,insertBefore:qB,getSelection:IB,getElementsByName:RB};function EB(e){for(const t of Object.keys(e))oe[t]=e[t]}let PB=0;function fs(e){const t=e();return t.__tabsterInstanceContext??={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0}}function DB(e){const t=e,o=t.__tabsterInstanceContext;o&&(o.elementByUId={},o.containerBoundingRectCache={},o.containerBoundingRectCacheTimer&&e.clearTimeout(o.containerBoundingRectCacheTimer),delete t.__tabsterInstanceContext)}function FB(e){return!!e.querySelector(Th)}class Gt{constructor(t,o){this._ref=new WeakRef(t),this._data=o}get(){const t=this._ref;let o;return t&&(o=t.deref(),o||delete this._ref),o}getData(){return this._data}}function zd(e,t,o){if(t.nodeType===Node.ELEMENT_NODE)return oe.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,{acceptNode:o})}function Ih(e,t){let o=t.__tabsterCacheId;const i=fs(e),a=o?i.containerBoundingRectCache[o]:void 0;if(a)return a.rect;const l=t.ownerDocument&&t.ownerDocument.documentElement;if(!l)return new DOMRect;let c=0,u=0,d=l.clientWidth,p=l.clientHeight;if(t!==l){const h=t.getBoundingClientRect();c=Math.max(c,h.left),u=Math.max(u,h.top),d=Math.min(d,h.right),p=Math.min(p,h.bottom)}const v=new DOMRect(c<d?c:-1,u<p?u:-1,c<d?d-c:0,u<p?p-u:0);return o||(o="r-"+ ++i.lastContainerBoundingRectCacheId,t.__tabsterCacheId=o),i.containerBoundingRectCache[o]={rect:v,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)),v}function Bg(e,t,o){const i=Rh(t);if(!i)return!1;const a=Ih(e,i),l=t.getBoundingClientRect(),c=l.height*(1-o),u=Math.max(0,a.top-l.top),d=Math.max(0,l.bottom-a.bottom),p=u+d;return p===0||p<=c}function MB(e,t,o){const i=Rh(t);if(i){const a=Ih(e,i),l=t.getBoundingClientRect();o?i.scrollTop+=l.top-a.top:i.scrollTop+=l.bottom-a.bottom}}function Rh(e){const t=e.ownerDocument;if(t){for(let o=oe.getParentElement(e);o;o=oe.getParentElement(o))if(o.scrollWidth>o.clientWidth||o.scrollHeight>o.clientHeight)return o;return t.documentElement}return null}function HB(e){e.__shouldIgnoreFocus=!0}function Eh(e){return!!e.__shouldIgnoreFocus}function AB(e){const t=new Uint32Array(4);return e.crypto.getRandomValues(t),Array.from(t,o=>o.toString(36)).join("")+"|"+(++PB).toString(36)+"|"+Date.now().toString(36)}function Ql(e,t){const o=fs(e),i=t.__tabsterElementUID??=AB(e());return!o.elementByUId[i]&&Ph(t.ownerDocument,t)&&(o.elementByUId[i]=new Gt(t)),i}function Sg(e,t){const o=fs(e).elementByUId;for(const i of Object.keys(o)){const a=o[i]?.get();t&&a&&!oe.nodeContains(t,a)||delete o[i]}}function Ph(e,t){return oe.nodeContains(e?.body,t)}function Dh(e,t){return typeof e.matches=="function"&&e.matches(t)}let OB=0;class Sa{constructor(t,o,i){this._tabster=t,this._element=new Gt(o),this._props={...i},this.id="i"+ ++OB}getElement(){return this._element.get()}getProps(){return this._props}setProps(t){this._props={...t}}}function Fh(e){let t=null;for(let o=oe.getLastElementChild(e);o;o=oe.getLastElementChild(o))t=o;return t||void 0}function LB(e,t){let o=e,i=null;for(;o&&!i;)i=t?oe.getPreviousElementSibling(o):oe.getNextElementSibling(o),o=oe.getParentElement(o);return i||void 0}function Nu(e,t,o,i){const a=e.storageEntry(t,!0);let l=!1;if(!a.aug){if(i===void 0)return l;a.aug={}}if(i===void 0){if(o in a.aug){const c=a.aug[o];delete a.aug[o],c===null?t.removeAttribute(o):t.setAttribute(o,c),l=!0}}else{let c;o in a.aug||(c=t.getAttribute(o)),c!==void 0&&c!==i&&(a.aug[o]=c,i===null?t.removeAttribute(o):t.setAttribute(o,i),l=!0)}return i===void 0&&Object.keys(a.aug).length===0&&(delete a.aug,e.storageEntry(t,!1)),l}function VB(e){const t=e.ownerDocument,o=t.defaultView?.getComputedStyle(e);return e.offsetParent===null&&t.body!==e&&o?.position!=="fixed"||o?.visibility==="hidden"||o?.position==="fixed"&&(o.display==="none"||e.parentElement?.offsetParent===null&&t.body!==e.parentElement)}function od(e){return e.tagName==="INPUT"&&!!e.name&&e.type==="radio"}function WB(e){if(!od(e))return;const t=e.name,o=[];let i;for(const a of oe.getElementsByName(e,t))if(od(a)){const l=a;o.push(l),l.checked&&(i=l)}return{name:t,buttons:new Set(o),checked:i}}function dt(e,t,o,i){e?.addEventListener(t,o,i)}function lt(e,t,o,i){e?.removeEventListener(t,o,i)}function yt(e,t){return!!e&&e.dispatchEvent(t)}const ju=100;class es{constructor(t,o,i,a,l){this._focusIn=p=>{if(this._fixedTarget){const h=this._fixedTarget.get();h&&Do(h);return}const v=this.input;if(this.onFocusIn&&v){const h=p.relatedTarget;this.onFocusIn(this,this._isBackward(!0,v,h),h)}},this._focusOut=p=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const v=this.input;if(this.onFocusOut&&v){const h=p.relatedTarget;this.onFocusOut(this,this._isBackward(!1,v,h),h)}};const c=t(),u=c.document.createElement("i");u.tabIndex=0,u.setAttribute("role","none"),u.setAttribute(Wx,""),u.setAttribute("aria-hidden","true");const d=u.style;d.position="fixed",d.width=d.height="1px",d.opacity="0.001",d.zIndex="-1",d.setProperty("content-visibility","hidden"),HB(u),this.input=u,this.isFirst=i.isFirst,this.isOutside=o,this._isPhantom=i.isPhantom??!1,this._fixedTarget=l,dt(u,"focusin",this._focusIn),dt(u,"focusout",this._focusOut),u.__tabsterDummyContainer=a,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,lt(t,"focusin",this._focusIn),lt(t,"focusout",this._focusOut),delete t.__tabsterDummyContainer,oe.getParentNode(t)?.removeChild(t))}setTopLeft(t,o){const i=this.input?.style;i&&(i.top=`${t}px`,i.left=`${o}px`)}_isBackward(t,o,i){return t&&!i?!this.isFirst:!!(i&&o.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)}}const ps={Root:1,Modalizer:2,Mover:3,Groupper:4};class Jn{constructor(t,o,i,a,l,c){this._element=o,this._instance=new GB(t,o,this,i,a,l,c)}_setHandlers(t,o){this._onFocusIn=t,this._onFocusOut=o}moveOut(t){this._instance?.moveOut(t)}moveOutWithDefaultAction(t,o){this._instance?.moveOutWithDefaultAction(t,o)}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,o,i,a,l){const u=new es(t.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(u){let d,p;if(o.tagName==="BODY")d=o,p=i&&a||!i&&!a?oe.getFirstElementChild(o):null;else{i&&(!a||a&&!t.focusable.isFocusable(o,!1,!0,!0))?(d=o,p=a?o.firstElementChild:null):(d=oe.getParentElement(o),p=i&&a||!i&&!a?o:oe.getNextElementSibling(o));let v,h;do v=i&&a||!i&&!a?oe.getPreviousElementSibling(p):p,h=Zn(v),h===o?p=i&&a||!i&&!a?v:oe.getNextElementSibling(v):h=null;while(h)}d&&yt(d,new qr({by:"root",owner:d,next:null,relatedEvent:l}))&&(oe.insertBefore(d,u,p),Do(u))}}static addPhantomDummyWithTarget(t,o,i,a){const c=new es(t.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new Gt(a)).input;if(c){let u,d;FB(o)&&!i?(u=o,d=oe.getFirstElementChild(o)):(u=oe.getParentElement(o),d=i?o:oe.getNextElementSibling(o)),u&&oe.insertBefore(u,c,d)}}}class $B{constructor(t){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=o=>{this._changedParents.has(o)||(this._changedParents.add(o),!this._updateDummyInputsTimer&&(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(const i of this._dummyElements){const a=i.get();if(a){const l=this._dummyCallbacks.get(a);if(l){const c=oe.getParentNode(a);(!c||this._changedParents.has(c))&&l()}}}this._changedParents=new WeakSet},ju)))},this._win=t}add(t,o){!this._dummyCallbacks.has(t)&&this._win&&(this._dummyElements.push(new Gt(t)),this._dummyCallbacks.set(t,o),this.domChanged=this._domChanged)}remove(t){this._dummyElements=this._dummyElements.filter(o=>{const i=o.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}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+ju<=Date.now()){const t=new Map,o=[];for(const i of this._updateQueue)o.push(i(t));this._updateQueue.clear();for(const i of o)i();t.clear()}else this._scheduledUpdatePositions()},ju))}}class GB{constructor(t,o,i,a,l,c,u){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(y,k,b)=>{this._onFocus(!0,y,k,b)},this._onFocusOut=(y,k,b)=>{this._onFocus(!1,y,k,b)},this.moveOut=y=>{const k=this._firstDummy,b=this._lastDummy;if(k&&b){this._ensurePosition();const B=k.input,z=b.input,j=this._element?.get();if(B&&z&&j){let S;y?(B.tabIndex=0,S=B):(z.tabIndex=0,S=z),S&&Do(S)}}},this.moveOutWithDefaultAction=(y,k)=>{const b=this._firstDummy,B=this._lastDummy;if(b&&B){this._ensurePosition();const z=b.input,j=B.input,S=this._element?.get();if(z&&j&&S){let N;y?!b.isOutside&&this._tabster.focusable.isFocusable(S,!0,!0,!0)?N=S:(b.useDefaultAction=!0,z.tabIndex=0,N=z):(B.useDefaultAction=!0,j.tabIndex=0,N=j),N&&yt(S,new qr({by:"root",owner:S,next:null,relatedEvent:k}))&&Do(N)}}},this.setTabbable=(y,k)=>{for(const B of this._wrappers)if(B.manager===y){B.tabbable=k;break}const b=this._getCurrent();if(b){const B=b.tabbable?0:-1;let z=this._firstDummy?.input;z&&(z.tabIndex=B),z=this._lastDummy?.input,z&&(z.tabIndex=B)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=y=>{const k=this._firstDummy?.input||this._lastDummy?.input,b=this._transformElements,B=new Set;let z=0,j=0;const S=this._getWindow();for(let N=k;N&&N.nodeType===Node.ELEMENT_NODE;N=oe.getParentElement(N)){let q=y.get(N);if(q===void 0){const C=S.getComputedStyle(N).transform;C&&C!=="none"&&(q={scrollTop:N.scrollTop,scrollLeft:N.scrollLeft}),y.set(N,q||null)}q&&(B.add(N),b.has(N)||dt(N,"scroll",this._addTransformOffsets),z+=q.scrollTop,j+=q.scrollLeft)}for(const N of b)B.has(N)||lt(N,"scroll",this._addTransformOffsets);return this._transformElements=B,()=>{this._firstDummy?.setTopLeft(z,j),this._lastDummy?.setTopLeft(z,j)}};const d=o.get();if(!d)throw new Error("No element");this._tabster=t,this._getWindow=t.getWindow,this._callForDefaultAction=u;const p=d.__tabsterDummy;if((p||this)._wrappers.push({manager:i,priority:a,tabbable:!0}),p)return p;d.__tabsterDummy=this;const v=l?.dummyInputsPosition,h=d.tagName;this._isOutside=v?v===$x.Outside:(c||h==="UL"||h==="OL"||h==="TABLE")&&!(h==="LI"||h==="TD"||h==="TH"),this._firstDummy=new es(this._getWindow,this._isOutside,{isFirst:!0},o),this._lastDummy=new es(this._getWindow,this._isOutside,{isFirst:!1},o);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=o,this._addDummyInputs()}dispose(t,o){if((this._wrappers=this._wrappers.filter(a=>a.manager!==t&&!o)).length===0){delete(this._element?.get()).__tabsterDummy;for(const c of this._transformElements)lt(c,"scroll",this._addTransformOffsets);this._transformElements.clear();const a=this._getWindow();this._addTimer&&(a.clearTimeout(this._addTimer),delete this._addTimer);const l=this._firstDummy?.input;l&&this._tabster._dummyObserver.remove(l),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(t,o,i,a){const l=this._getCurrent();l&&(!o.useDefaultAction||this._callForDefaultAction)&&l.manager.getHandler(t)?.(o,i,a)}_getCurrent(){return this._wrappers.sort((t,o)=>t.tabbable!==o.tabbable?t.tabbable?-1:1:t.priority-o.priority),this._wrappers[0]}_ensurePosition(){const t=this._element?.get(),o=this._firstDummy?.input,i=this._lastDummy?.input;if(!(!t||!o||!i))if(this._isOutside){const a=oe.getParentNode(t);if(a){const l=oe.getNextSibling(t);l!==i&&oe.insertBefore(a,i,l),oe.getPreviousElementSibling(t)!==o&&oe.insertBefore(a,o,t)}}else{oe.getLastElementChild(t)!==i&&oe.appendChild(t,i);const a=oe.getFirstElementChild(t);a&&a!==o&&a.parentNode&&oe.insertBefore(a.parentNode,o,a)}}}function Zn(e){return e?.__tabsterDummyContainer?.get()||null}function _d(e,t){const o=JSON.stringify(e);return t===!0?o:{[ko]:o}}function UB(e,t){for(const o of Object.keys(t)){const i=t[o];i?e[o]=i:delete e[o]}}function XB(e,t,o){let i;{const a=e.getAttribute(ko);if(a)try{i=JSON.parse(a)}catch{}}i||(i={}),UB(i,t),Object.keys(i).length>0?e.setAttribute(ko,_d(i,!0)):e.removeAttribute(ko)}class zg extends Jn{constructor(t,o,i,a){super(t,o,ps.Root,a,void 0,!0),this._onDummyInputFocus=l=>{if(l.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const c=this._element.get();if(c){this._setFocused(!0);const u=this._tabster.focusedElement.getFirstOrLastTabbable(l.isFirst,{container:c,ignoreAccessibility:!0});if(u){Do(u);return}}l.input?.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=t,this._setFocused=i}}class KB extends Sa{constructor(t,o,i,a,l){super(t,o,a),this._isFocused=!1,this._setFocused=p=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===p)return;const v=this._element.get();v&&(p?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),yt(v,new dB({element:v}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),yt(v,new fB({element:v}))},0))},this._onFocusIn=p=>{const v=this._tabster.getParent,h=this._element.get();let x=p.composedPath()[0];do{if(x===h){this._setFocused(!0);return}x=x&&v(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const c=t.getWindow;this.uid=Ql(c,o),this._sys=l,(t.controlTab||t.rootDummyInputs)&&this.addDummyInputs();const d=c().document;dt(d,pn,this._onFocusIn),dt(d,ca,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new zg(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);const t=this._tabster.getWindow(),o=t.document;lt(o,pn,this._onFocusIn),lt(o,ca,this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(t,o){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(t,o);else{const a=this.getElement();a&&zg.moveWithPhantomDummy(this._tabster,a,!0,t,o)}}_add(){}_remove(){}}class Oe{constructor(t,o){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{const i=this._win().document,a=i.body;if(a){this._autoRootUnwait(i);const l=this._autoRoot;if(l)return XB(a,{root:l}),qh(this._tabster,a),wt(this._tabster,a)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,dt(i,"readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=t,this._win=t.getWindow,this._autoRoot=o,t.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(t){lt(t,"readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const t=this._win();this._autoRootUnwait(t.document),delete this._autoRoot,Object.keys(this._roots).forEach(o=>{this._roots[o]&&(this._roots[o].dispose(),delete this._roots[o])}),this.rootById={}}createRoot(t,o,i){const a=new KB(this._tabster,t,this._onRootDispose,o,i);return this._roots[a.id]=a,this._forceDummy&&a.addDummyInputs(),a}addDummyInputs(){this._forceDummy=!0;const t=this._roots;for(const o of Object.keys(t))t[o].addDummyInputs()}static getRootByUId(t,o){const i=t().__tabsterInstance;return i&&i.root.rootById[o]}static getTabsterContext(t,o,i={}){if(!o.ownerDocument)return;const{checkRtl:a,referenceElement:l}=i,c=t.getParent;t.drainInitQueue();let u,d,p,v,h=!1,x,y,k,b,B=l||o;const z={};for(;B&&(!u||a);){const S=wt(t,B);if(a&&k===void 0){const H=B.dir;H&&(k=H.toLowerCase()==="rtl")}if(!S){B=c(B);continue}const N=B.tagName;(S.uncontrolled||N==="IFRAME"||N==="WEBVIEW")&&t.focusable.isVisible(B)&&(b=B),!v&&S.focusable?.excludeFromMover&&!p&&(h=!0);const q=S.modalizer,C=S.groupper,M=S.mover;!d&&q&&(d=q),!p&&C&&(!d||q)&&(d?(!C.isActive()&&C.getProps().tabbability&&d.userId!==t.modalizer?.activeId&&(d=void 0,p=C),y=C):p=C),!v&&M&&(!d||q)&&(!C||B!==o)&&B.contains(o)&&(v=M,x=!!p&&p!==C),S.root&&(u=S.root),S.focusable?.ignoreKeydown&&Object.assign(z,S.focusable.ignoreKeydown),B=c(B)}if(!u){const S=t.root;S._autoRoot&&o.ownerDocument?.body&&(u=S._autoRootCreate())}return p&&!v&&(x=!0),u?{root:u,modalizer:d,groupper:p,mover:v,groupperBeforeMover:x,modalizerInGroupper:y,rtl:a?!!k:void 0,uncontrolled:b,excludedFromMover:h,ignoreKeydown:S=>!!z[S.key]}:void 0}static getRoot(t,o){const i=t.getParent;for(let a=o;a;a=i(a)){const l=wt(t,a)?.root;if(l)return l}}onRoot(t,o){o?delete this.rootById[t.uid]:this.rootById[t.uid]=t}}class QB{constructor(t){this._tabster=t}dispose(){}getProps(t){const o=wt(this._tabster,t);return o&&o.focusable||{}}isFocusable(t,o,i,a){return Dh(t,Th)&&(o||t.tabIndex!==-1)?(i||this.isVisible(t))&&(a||this.isAccessible(t)):!1}isVisible(t){if(!t.ownerDocument||t.nodeType!==Node.ELEMENT_NODE||VB(t))return!1;const o=t.ownerDocument.body.getBoundingClientRect();return!(o.width===0&&o.height===0)}isAccessible(t){for(let o=t;o;o=oe.getParentElement(o)){const i=wt(this._tabster,o);if(this._isHidden(o)||!i?.focusable?.ignoreAriaDisabled&&this._isDisabled(o))return!1}return!0}_isDisabled(t){return t.hasAttribute("disabled")}_isHidden(t){const o=t.getAttribute("aria-hidden");return!!(o&&o.toLowerCase()==="true"&&!this._tabster.modalizer?.isAugmented(t))}findFirst(t,o){return this.findElement({...t},o)}findLast(t,o){return this.findElement({isBackward:!0,...t},o)}findNext(t,o){return this.findElement({...t},o)}findPrev(t,o){return this.findElement({...t,isBackward:!0},o)}findDefault(t,o){return this.findElement({...t,acceptCondition:i=>this.isFocusable(i,t.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},o)||null}findAll(t){return this._findElements(!0,t)||[]}findElement(t,o){const i=this._findElements(!1,t,o);return i&&i[0]}_findElements(t,o,i){const{container:a,currentElement:l=null,includeProgrammaticallyFocusable:c,useActiveModalizer:u,ignoreAccessibility:d,modalizerId:p,isBackward:v,onElement:h}=o;i||(i={});const x=[];let{acceptCondition:y}=o;const k=!!y;if(!a)return null;y||(y=j=>this.isFocusable(j,c,!1,d));const b={container:a,modalizerUserId:p===void 0&&u?this._tabster.modalizer?.activeId:p||Oe.getTabsterContext(this._tabster,a)?.modalizer?.userId,from:l||a,isBackward:v,isFindAll:t,acceptCondition:y,hasCustomCondition:k,includeProgrammaticallyFocusable:c,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},B=zd(a.ownerDocument,a,j=>this._acceptElement(j,b));if(!B)return null;const z=j=>{const S=b.foundElement??b.foundBackward;return S&&x.push(S),t?S&&(b.found=!1,delete b.foundElement,delete b.foundBackward,delete b.fromCtx,b.from=S,h&&!h(S))?!1:!!(S||j):(S&&i&&(i.uncontrolled=Oe.getTabsterContext(this._tabster,S)?.uncontrolled),!!(j&&!S))};if(l||(i.outOfDOMOrder=!0),l&&oe.nodeContains(a,l))B.currentNode=l;else if(v){const j=Fh(a);if(!j)return null;if(this._acceptElement(j,b)===NodeFilter.FILTER_ACCEPT&&!z(!0))return b.skippedFocusable&&(i.outOfDOMOrder=!0),x;B.currentNode=j}do v?B.previousNode():B.nextNode();while(z());return b.skippedFocusable&&(i.outOfDOMOrder=!0),x.length?x:null}_acceptElement(t,o){if(o.found)return NodeFilter.FILTER_ACCEPT;const i=o.foundBackward;if(i&&(t===i||!oe.nodeContains(i,t)))return o.found=!0,o.foundElement=i,NodeFilter.FILTER_ACCEPT;const a=o.container;if(t===a)return NodeFilter.FILTER_SKIP;if(!oe.nodeContains(a,t)||Zn(t)||oe.nodeContains(o.rejectElementsFrom,t))return NodeFilter.FILTER_REJECT;const l=o.currentCtx=Oe.getTabsterContext(this._tabster,t);if(!l)return NodeFilter.FILTER_SKIP;if(Eh(t))return this.isFocusable(t,void 0,!0,!0)&&(o.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!o.hasCustomCondition&&(t.tagName==="IFRAME"||t.tagName==="WEBVIEW"))return this.isVisible(t)&&l.modalizer?.userId===this._tabster.modalizer?.activeId?(o.found=!0,o.rejectElementsFrom=o.foundElement=t,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!o.ignoreAccessibility&&!this.isAccessible(t))return this.isFocusable(t,!1,!0,!0)&&(o.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let c,u=o.fromCtx;u||(u=o.fromCtx=Oe.getTabsterContext(this._tabster,o.from));const d=u?.mover;let p=l.groupper,v=l.mover;if(c=this._tabster.modalizer?.acceptElement(t,o),c!==void 0&&(o.skippedFocusable=!0),c===void 0&&(p||v||d)){const h=p?.getElement(),x=d?.getElement();let y=v?.getElement();if(y&&oe.nodeContains(x,y)&&oe.nodeContains(a,x)&&(!h||!v||oe.nodeContains(x,h))&&(v=d,y=x),h){if(h===a||!oe.nodeContains(a,h))p=void 0;else if(!oe.nodeContains(h,t))return NodeFilter.FILTER_REJECT}if(y){if(!oe.nodeContains(a,y))v=void 0;else if(!oe.nodeContains(y,t))return NodeFilter.FILTER_REJECT}p&&v&&(y&&h&&!oe.nodeContains(h,y)?v=void 0:p=void 0),p&&(c=p.acceptElement(t,o)),v&&(c=v.acceptElement(t,o))}if(c===void 0&&(c=o.acceptCondition(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,c===NodeFilter.FILTER_SKIP&&this.isFocusable(t,!1,!0,!0)&&(o.skippedFocusable=!0)),c===NodeFilter.FILTER_ACCEPT&&!o.found){if(!o.isFindAll&&od(t)&&!t.checked){const h=t.name;let x=o.cachedRadioGroups[h];if(x||(x=WB(t),x&&(o.cachedRadioGroups[h]=x)),x?.checked&&x.checked!==t)return NodeFilter.FILTER_SKIP}o.isBackward?(o.foundBackward=t,c=NodeFilter.FILTER_SKIP):(o.found=!0,o.foundElement=t)}return c}}const tt={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};class Mh{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(t){const o=this._callbacks;o.indexOf(t)<0&&o.push(t)}subscribeFirst(t){const o=this._callbacks,i=o.indexOf(t);i>=0&&o.splice(i,1),o.unshift(t)}unsubscribe(t){const o=this._callbacks.indexOf(t);o>=0&&this._callbacks.splice(o,1)}setVal(t,o){this._val!==t&&(this._val=t,this._callCallbacks(t,o))}getVal(){return this._val}trigger(t,o){this._callCallbacks(t,o)}_callCallbacks(t,o){this._callbacks.forEach(i=>i(t,o))}}function YB(e,t){const o=e.getParent;let i=t;do{const a=wt(e,i)?.uncontrolled;if(a&&e.uncontrolled.isUncontrolledCompletely(i,!!a.completely))return i;i=o(i)}while(i)}const _g={[Jo.Restorer]:0,[Jo.Deloser]:1,[Jo.EscapeGroupper]:2},ht=class ht extends Mh{constructor(t,o){super(),this._init=()=>{const i=this._win(),a=i.document;dt(a,pn,this._onFocusIn,!0),dt(a,ca,this._onFocusOut,!0),dt(i,"keydown",this._onKeyDown,!0);const l=oe.getActiveElement(a);l&&l!==a.body&&this._setFocusedElement(l),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const a=i.composedPath()[0];a&&this._setFocusedElement(a,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{this._setFocusedElement(void 0,i.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==tt.Tab||i.ctrlKey)return;const a=this.getVal();if(!a||!a.ownerDocument||a.contentEditable==="true")return;const l=this._tabster,c=l.controlTab,u=Oe.getTabsterContext(l,a);if(!u||u.ignoreKeydown(i))return;const d=i.shiftKey,p=ht.findNextTabbable(l,u,void 0,a,void 0,d,!0),v=u.root.getElement();if(!v)return;const h=p?.element,x=YB(l,a);if(h){const y=p.uncontrolled;if(u.uncontrolled||oe.nodeContains(y,a)){if(!p.outOfDOMOrder&&y===u.uncontrolled||x&&!oe.nodeContains(x,h))return;Jn.addPhantomDummyWithTarget(l,a,d,h);return}if(y&&l.focusable.isVisible(y)||h.tagName==="IFRAME"&&l.focusable.isVisible(h)){yt(v,new qr({by:"root",owner:v,next:h,relatedEvent:i}))&&Jn.moveWithPhantomDummy(l,y??h,!1,d,i);return}(c||p?.outOfDOMOrder)&&yt(v,new qr({by:"root",owner:v,next:h,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),Do(h))}else!x&&yt(v,new qr({by:"root",owner:v,next:null,relatedEvent:i}))&&u.root.moveOutWithDefaultAction(d,i)},this._onChanged=(i,a)=>{if(i)yt(i,new aB(a));else{const l=this._lastVal?.get();if(l){const c={...a},d=Oe.getTabsterContext(this._tabster,l)?.modalizer?.userId;d&&(c.modalizerId=d),yt(l,new lB(c))}}},this._tabster=t,this._win=o,t.queueInit(this._init)}dispose(){super.dispose();const t=this._win(),o=t.document;lt(o,pn,this._onFocusIn,!0),lt(o,ca,this._onFocusOut,!0),lt(t,"keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(t.clearTimeout(i.timeout),delete this._asyncFocus),delete ht._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(t,o){let i=ht._lastResetElement,a=i&&i.get();a&&oe.nodeContains(o,a)&&delete ht._lastResetElement,a=t._nextVal?.element?.get(),a&&oe.nodeContains(o,a)&&delete t._nextVal,i=t._lastVal,a=i&&i.get(),a&&oe.nodeContains(o,a)&&delete t._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let t=this._lastVal?.get();return(!t||t&&!Ph(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(t,o,i,a){if(!this._tabster.focusable.isFocusable(t,o,!1,i))return!1;const l=typeof a=="boolean"?{preventScroll:a}:a;return t.focus(l),!0}focusDefault(t){const o=this._tabster.focusable.findDefault({container:t});return o?(this._tabster.focusedElement.focus(o),!0):!1}getFirstOrLastTabbable(t,o){const{container:i,ignoreAccessibility:a}=o;let l;if(i){const c=Oe.getTabsterContext(this._tabster,i);c&&(l=ht.findNextTabbable(this._tabster,c,i,void 0,void 0,!t,a)?.element)}return l&&!oe.nodeContains(i,l)&&(l=void 0),l||void 0}_focusFirstOrLast(t,o){const i=this.getFirstOrLastTabbable(t,o);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 o=t.getAttribute("tabindex"),i=t.getAttribute("aria-hidden");t.tabIndex=-1,t.setAttribute("aria-hidden","true"),ht._lastResetElement=new Gt(t),this.focus(t,!0,!0),this._setOrRemoveAttribute(t,"tabindex",o),this._setOrRemoveAttribute(t,"aria-hidden",i)}return!0}requestAsyncFocus(t,o,i){const a=this._tabster.getWindow(),l=this._asyncFocus;if(l){if(_g[t]>_g[l.source])return;a.clearTimeout(l.timeout)}this._asyncFocus={source:t,callback:o,timeout:a.setTimeout(()=>{this._asyncFocus=void 0,o()},i)}}cancelAsyncFocus(t){const o=this._asyncFocus;o?.source===t&&(this._tabster.getWindow().clearTimeout(o.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(t,o,i){i===null?t.removeAttribute(o):t.setAttribute(o,i)}_setFocusedElement(t,o,i){if(this._tabster._noop)return;const a={relatedTarget:o};if(t){const c=ht._lastResetElement?.get();if(ht._lastResetElement=void 0,c===t||Eh(t))return;a.isFocusedProgrammatically=i;const d=Oe.getTabsterContext(this._tabster,t)?.modalizer?.userId;d&&(a.modalizerId=d)}const l=this._nextVal={element:t?new Gt(t):void 0,detail:a};t&&t!==this._val&&this._validateFocusedElement(t),this._nextVal===l&&this.setVal(t,a),this._nextVal=void 0}setVal(t,o){super.setVal(t,o),t&&(this._lastVal=new Gt(t))}static findNextTabbable(t,o,i,a,l,c,u){const d=i||o.root.getElement();if(!d)return null;let p=null;const v=ht._isTabbingTimer,h=t.getWindow();v&&h.clearTimeout(v),ht.isTabbing=!0,ht._isTabbingTimer=h.setTimeout(()=>{delete ht._isTabbingTimer,ht.isTabbing=!1},0);const x=o.modalizer,y=o.groupper,k=o.mover,b=B=>{if(p=B.findNextTabbable(a,l,c,u),a&&!p?.element){const z=B!==x&&oe.getParentElement(B.getElement());if(z){const j=Oe.getTabsterContext(t,a,{referenceElement:z});if(j){const S=B.getElement(),N=c?S:S&&Fh(S)||S;N&&(p=ht.findNextTabbable(t,j,i,N,z,c,u),p&&(p.outOfDOMOrder=!0))}}}};if(y&&k)b(o.groupperBeforeMover?y:k);else if(y)b(y);else if(k)b(k);else if(x)b(x);else{const B={container:d,currentElement:a,referenceElement:l,ignoreAccessibility:u,useActiveModalizer:!0},z={};p={element:t.focusable[c?"findPrev":"findNext"](B,z),outOfDOMOrder:z.outOfDOMOrder,uncontrolled:z.uncontrolled}}return p}};ht.isTabbing=!1;let Pr=ht;class JB extends Mh{constructor(t){super(),this._onChange=o=>{this.setVal(o,void 0)},this._keyborg=Qx(t()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),Yx(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(t){this._keyborg?.setVal(t)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}}function ZB(e,t,o,i){if(typeof MutationObserver>"u")return()=>{};const a=t.getWindow;let l;const c=v=>{const h=new Set;for(const x of v){const y=x.target,k=x.removedNodes,b=x.addedNodes;if(x.type==="attributes")x.attributeName===ko&&(h.has(y)||o(t,y));else{for(const B of k)h.add(B),u(B,!0),t._dummyObserver.domChanged?.(y);for(const B of b)u(B),t._dummyObserver.domChanged?.(y)}}h.clear(),t.modalizer?.hiddenUpdate()};function u(v,h){l||(l=fs(a).elementByUId),d(v,h);const x=zd(e,v,y=>d(y,h));if(x)for(;x.nextNode(););}function d(v,h){if(!v.getAttribute)return NodeFilter.FILTER_SKIP;const x=v.__tabsterElementUID;return x&&l&&(h?delete l[x]:l[x]??=new Gt(v)),(wt(t,v)||v.hasAttribute(ko))&&o(t,v,h),NodeFilter.FILTER_SKIP}const p=oe.createMutationObserver(c);return i&&u(a().document.body),p.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[ko]}),()=>{p.disconnect()}}class e2{constructor(t){this._isUncontrolledCompletely=t}isUncontrolledCompletely(t,o){const i=this._isUncontrolledCompletely?.(t,o);return i===void 0?o:i}}let t2=0;const Cu="aria-hidden";class o2 extends Jn{constructor(t,o,i){super(o,t,ps.Modalizer,i),this._setHandlers((a,l)=>{const c=t.get(),u=c&&Oe.getRoot(o,c)?.getElement(),d=a.input;let p;if(u&&d){const v=Zn(d),h=Oe.getTabsterContext(o,v||d);h&&(p=Pr.findNextTabbable(o,h,u,d,void 0,l,!0)?.element),p&&Do(p)}})}}class r2 extends Sa{constructor(t,o,i,a,l,c){super(t,o,a),this._wasFocused=0,this.userId=a.id,this._onDispose=i,this._activeElements=c,t.controlTab||(this.dummyManager=new o2(this._element,t,l))}makeActive(t){if(this._isActive!==t){this._isActive=t;const o=this.getElement();if(o){const i=this._activeElements,a=i.map(l=>l.get()).indexOf(o);t?a<0&&i.push(new Gt(o)):a>=0&&i.splice(a,1)}this._dispatchEvent(t)}}focused(t){return t||(this._wasFocused=++t2),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 oe.nodeContains(this.getElement(),t)}findNextTabbable(t,o,i,a){if(!this.getElement())return null;const c=this._tabster;let u=null,d=!1,p;const v=t&&Oe.getRoot(c,t)?.getElement();if(v){const h={container:v,currentElement:t,referenceElement:o,ignoreAccessibility:a,useActiveModalizer:!0},x={};u=c.focusable[i?"findPrev":"findNext"](h,x),!u&&this._props.isTrapped&&c.modalizer?.activeId?(u=c.focusable[i?"findLast":"findFirst"]({container:v,ignoreAccessibility:a,useActiveModalizer:!0},x),u===null&&(u=t),d=!0):d=!!x.outOfDOMOrder,p=x.uncontrolled}return{element:u,uncontrolled:p,outOfDOMOrder:d}}_dispatchEvent(t,o){const i=this.getElement();let a=!1;if(i){const l=o?this._activeElements.map(c=>c.get()):[i];for(const c of l)if(c){const u={id:this.userId,element:i},d=t?new cB(u):new uB(u);yt(c,d),d.defaultPrevented&&(a=!0)}}return a}_remove(){}}class n2{constructor(t,o,i){this._onModalizerDispose=l=>{const c=l.id,u=l.userId,d=this._parts[u];if(delete this._modalizers[c],d&&(delete d[c],Object.keys(d).length===0)){delete this._parts[u];const p=this._activationHistory,v=[];let h;for(let x=p.length;x--;){const y=p[x];y!==u&&y!==h&&(h=y,(y||v.length>0)&&v.unshift(y))}if(this._activationHistory=v,this.activeId===u){const x=v[0],y=x?Object.values(this._parts[x])[0]:void 0;this.setActive(y)}}},this._onKeyDown=l=>{if(l.key!==tt.Escape)return;const c=this._tabster,u=c.focusedElement.getFocusedElement();if(u){const d=Oe.getTabsterContext(c,u),p=d?.modalizer;if(d&&!d.groupper&&p?.isActive()&&!d.ignoreKeydown(l)){const v=p.userId;if(v){const h=this._parts[v];if(h){const x=Object.keys(h).map(y=>{const k=h[y],b=k.getElement();let B;return b&&(B=wt(c,b)?.groupper),k&&b&&B?{el:b,focusedSince:k.focused(!0)}:{focusedSince:0}}).filter(y=>y.focusedSince>0).sort((y,k)=>y.focusedSince>k.focusedSince?-1:y.focusedSince<k.focusedSince?1:0);if(x.length){const y=x[0].el;y&&c.groupper?.handleKeyPress(y,l,!0)}}}}}},this._onFocus=(l,c)=>{const u=this._tabster,d=l&&Oe.getTabsterContext(u,l);if(!d||!l)return;const p=this._augMap;for(let y=l;y;y=oe.getParentElement(y))p.has(y)&&(p.delete(y),Nu(u,y,Cu));let v=d.modalizer;const h=wt(u,l),x=h?.modalizer;if(x&&(x.focused(),x.userId===this.activeId&&h.groupper)){const y=u.getParent(l),k=y&&Oe.getTabsterContext(u,y)?.modalizer;if(k)v=k;else{this.setActive(void 0);return}}if(v?.focused(),v?.userId===this.activeId){this.currentIsOthersAccessible=v?.getProps().isOthersAccessible;return}if(c.isFocusedProgrammatically||this.currentIsOthersAccessible||v?.getProps().isAlwaysAccessible)this.setActive(v);else{const y=this._win();y.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=y.setTimeout(()=>this._restoreModalizerFocus(l),100)}},this._tabster=t,this._win=t.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=o,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],t.controlTab||t.root.addDummyInputs();const a=this._win();dt(a,"keydown",this._onKeyDown,!0),t.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const t=this._win();lt(t,"keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(o=>{this._modalizers[o]&&(this._modalizers[o].dispose(),delete this._modalizers[o])}),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,o,i){const a=new r2(this._tabster,t,this._onModalizerDispose,o,i,this.activeElements),l=a.id,c=o.id;this._modalizers[l]=a;let u=this._parts[c];u||(u=this._parts[c]={}),u[l]=a;const d=this._tabster.focusedElement.getFocusedElement()??null;return t!==d&&oe.nodeContains(t,d)&&(c!==this.activeId?this.setActive(a):a.makeActive(!0)),a}isAugmented(t){return this._augMap.has(t)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250))}setActive(t){const o=t?.userId,i=this.activeId;if(i===o)return;if(this.activeId=o,i){const l=this._parts[i];if(l)for(const c of Object.keys(l))l[c].makeActive(!1)}if(o){const l=this._parts[o];if(l)for(const c of Object.keys(l))l[c].makeActive(!0)}this.currentIsOthersAccessible=t?.getProps().isOthersAccessible,this.hiddenUpdate();const a=this._activationHistory;a[0]!==o&&(o!==void 0||a.length>0)&&a.unshift(o)}focus(t,o,i){const a=this._tabster,c=Oe.getTabsterContext(a,t)?.modalizer;if(c){this.setActive(c);const u=c.getProps(),d=c.getElement();if(d){if(o===void 0&&(o=u.isNoFocusFirst),!o&&a.keyboardNavigation.isNavigatingWithKeyboard()&&a.focusedElement.focusFirst({container:d})||(i===void 0&&(i=u.isNoFocusDefault),!i&&a.focusedElement.focusDefault(d)))return!0;a.focusedElement.resetFocus(d)}}return!1}activate(t){const o=t?Oe.getTabsterContext(this._tabster,t)?.modalizer:void 0;return!t||o?(this.setActive(o),!0):!1}acceptElement(t,o){const i=o.modalizerUserId,a=o.currentCtx?.modalizer;if(i)for(const c of this.activeElements){const u=c.get();if(u&&(oe.nodeContains(t,u)||u===t))return NodeFilter.FILTER_SKIP}const l=i===a?.userId||!i&&a?.getProps().isAlwaysAccessible?void 0:NodeFilter.FILTER_SKIP;return l!==void 0&&(o.skippedFocusable=!0),l}_hiddenUpdate(){const t=this._tabster,o=t.getWindow().document.body,i=this.activeId,a=this._parts,l=[],c=[],u=this._alwaysAccessibleSelector,d=u?Array.from(oe.querySelectorAll(o,u)):[],p=[];for(const B of Object.keys(a)){const z=a[B];for(const j of Object.keys(z)){const S=z[j],N=S.getElement(),C=S.getProps().isAlwaysAccessible;N&&(B===i?(p.push(N),this.currentIsOthersAccessible||l.push(N)):C?d.push(N):c.push(N))}}const v=this._augMap,h=l.length>0?[...l,...d]:void 0,x=[],y=new WeakMap,k=(B,z)=>{const j=B.tagName;if(j==="SCRIPT"||j==="STYLE")return;let S=!1;v.has(B)?z?S=!0:(v.delete(B),Nu(t,B,Cu)):z&&!this._accessibleCheck?.(B,p)&&Nu(t,B,Cu,"true")&&(v.set(B,!0),S=!0),S&&(x.push(new Gt(B)),y.set(B,!0))},b=B=>{for(let z=oe.getFirstElementChild(B);z;z=oe.getNextElementSibling(z)){let j=!1,S=!1,N=!1;if(h){const q=t.getParent(z);for(const C of h){if(z===C){j=!0;break}if(oe.nodeContains(z,C)){S=!0;break}else oe.nodeContains(C,q)&&(N=!0)}S||z.__tabsterElementFlags?.noDirectAriaHidden?b(z):!j&&!N&&k(z,!0)}else k(z,!1)}};h||d.forEach(B=>k(B,!1)),c.forEach(B=>k(B,!0)),o&&b(o),this._aug?.map(B=>B.get()).forEach(B=>{B&&!y.get(B)&&k(B,!1)}),this._aug=x,this._augMap=y}_restoreModalizerFocus(t){const o=t?.ownerDocument;if(!t||!o)return;const i=this._tabster.focusedElement.getFocusedElement(),a=i&&Oe.getTabsterContext(this._tabster,i)?.modalizer;if(!i||i&&a?.userId===this.activeId)return;const l=this._tabster,c=Oe.getTabsterContext(l,t),u=c?.modalizer,d=this.activeId;if(!u&&!d||u&&d===u.userId)return;const p=c?.root.getElement();if(p){let v=l.focusable.findFirst({container:p,useActiveModalizer:!0});if(v){if(t.compareDocumentPosition(v)&document.DOCUMENT_POSITION_PRECEDING&&(v=l.focusable.findLast({container:p,useActiveModalizer:!0}),!v))throw new Error("Something went wrong.");l.focusedElement.focus(v);return}}t.blur()}}function Hh(e,t,o){const i=e.core;if(!i.modalizer){const a=new n2(i,t,o);i.modalizer=a,i.attrHandlers.set("modalizer",(l,c,u,d,p)=>c?u.id&&d?.id!==u.id?(c.dispose(),a.createModalizer(l,u,p)):(c.setProps(u),c):a.createModalizer(l,u,p))}return i.modalizer}const i2=["input","textarea","*[contenteditable]"].join(", ");class a2 extends Jn{constructor(t,o,i,a){super(o,t,ps.Mover,a),this._onFocusDummyInput=l=>{const c=this._element.get(),u=l.input;if(c&&u){const d=Oe.getTabsterContext(this._tabster,c);let p;d&&(p=Pr.findNextTabbable(this._tabster,d,void 0,u,void 0,!l.isFirst,!0)?.element);const v=this._getMemorized()?.get();v&&this._tabster.focusable.isFocusable(v)&&(p=v),p&&Do(p)}},this._tabster=o,this._getMemorized=i,this._setHandlers(this._onFocusDummyInput)}}const Tu=1,Ng=2,jg=3;class l2 extends Sa{constructor(t,o,i,a,l){super(t,o,a),this._visible={},this._onIntersection=u=>{for(const d of u){const p=d.target,v=Ql(this._win,p);let h,x=this._fullyVisible;if(d.intersectionRatio>=.25?(h=d.intersectionRatio>=.75?jr.Visible:jr.PartiallyVisible,h===jr.Visible&&(x=v)):h=jr.Invisible,this._visible[v]!==h){h===void 0?(delete this._visible[v],x===v&&delete this._fullyVisible):(this._visible[v]=h,this._fullyVisible=x);const y=this.getState(p);y&&yt(p,new wg(y))}}},this._win=t.getWindow,this.visibilityTolerance=a.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=()=>a.memorizeCurrent?this._current:void 0;t.controlTab||(this.dummyManager=new a2(this._element,t,c,l))}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 Gt(t):this._current=void 0,(this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer&&(this._setCurrentTimer=this._win().setTimeout(()=>{delete this._setCurrentTimer;const o=[];this._current!==this._prevCurrent&&(o.push(this._current),o.push(this._prevCurrent),this._prevCurrent=this._current);for(const i of o){const a=i?.get();if(a&&this._allElements?.get(a)===this){const l=this._props;if(a&&(l.visibilityAware!==void 0||l.trackState)){const c=this.getState(a);c&&yt(a,new wg(c))}}}}))}getCurrent(){return this._current?.get()||null}findNextTabbable(t,o,i,a){const l=this.getElement(),c=l&&Zn(t)===l;if(!l)return null;let u=null,d=!1,p;if(this._props.tabbable||c||t&&!oe.nodeContains(l,t)){const v={currentElement:t,referenceElement:o,container:l,ignoreAccessibility:a,useActiveModalizer:!0},h={};u=this._tabster.focusable[i?"findPrev":"findNext"](v,h),d=!!h.outOfDOMOrder,p=h.uncontrolled}return{element:u,uncontrolled:p,outOfDOMOrder:d}}acceptElement(t,o){if(!Pr.isTabbing)return o.currentCtx?.excludedFromMover?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:i,visibilityAware:a,hasDefault:l=!0}=this._props,c=this.getElement();if(c&&(i||a||l)&&(!oe.nodeContains(c,o.from)||Zn(o.from)===c)){let u;if(i){const d=this._current?.get();d&&o.acceptCondition(d)&&(u=d)}if(!u&&l&&(u=this._tabster.focusable.findDefault({container:c,useActiveModalizer:!0})),!u&&a&&(u=this._tabster.focusable.findElement({container:c,useActiveModalizer:!0,isBackward:o.isBackward,acceptCondition:d=>{const p=Ql(this._win,d),v=this._visible[p];return c!==d&&!!this._allElements?.get(d)&&o.acceptCondition(d)&&(v===jr.Visible||v===jr.PartiallyVisible&&(a===jr.PartiallyVisible||!this._fullyVisible))}})),u)return o.found=!0,o.foundElement=u,o.rejectElementsFrom=c,o.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const t=this.getElement();if(this._unobserve||!t||typeof MutationObserver>"u")return;const o=this._win(),i=this._allElements=new WeakMap,a=this._tabster.focusable;let l=this._updateQueue=[];const c=oe.createMutationObserver(y=>{for(const k of y){const b=k.target,B=k.removedNodes,z=k.addedNodes;if(k.type==="attributes")k.attributeName==="tabindex"&&l.push({element:b,type:Ng});else{for(let j=0;j<B.length;j++)l.push({element:B[j],type:jg});for(let j=0;j<z.length;j++)l.push({element:z[j],type:Tu})}}h()}),u=(y,k)=>{const b=i.get(y);b&&k&&(this._intersectionObserver?.unobserve(y),i.delete(y)),!b&&!k&&(i.set(y,this),this._intersectionObserver?.observe(y))},d=y=>{const k=a.isFocusable(y);i.get(y)?k||u(y,!0):k&&u(y)},p=y=>{const{mover:k}=x(y);if(k&&k!==this)if(k.getElement()===y&&a.isFocusable(y))u(y);else return;const b=zd(o.document,y,B=>{const{mover:z,groupper:j}=x(B);if(z&&z!==this)return NodeFilter.FILTER_REJECT;const S=j?.getFirst(!0);return j&&j.getElement()!==B&&S&&S!==B?NodeFilter.FILTER_REJECT:(a.isFocusable(B)&&u(B),NodeFilter.FILTER_SKIP)});if(b)for(b.currentNode=y;b.nextNode(););},v=y=>{i.get(y)&&u(y,!0);for(let b=oe.getFirstElementChild(y);b;b=oe.getNextElementSibling(b))v(b)},h=()=>{!this._updateTimer&&l.length&&(this._updateTimer=o.setTimeout(()=>{delete this._updateTimer;for(const{element:y,type:k}of l)switch(k){case Ng:d(y);break;case Tu:p(y);break;case jg:v(y);break}l=this._updateQueue=[]},0))},x=y=>{const k={};for(let b=y;b;b=oe.getParentElement(b)){const B=wt(this._tabster,b);if(B&&(B.groupper&&!k.groupper&&(k.groupper=B.groupper),B.mover)){k.mover=B.mover;break}}return k};l.push({element:t,type:Tu}),h(),c.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{c.disconnect()}}getState(t){const o=Ql(this._win,t);if(o in this._visible){const i=this._visible[o]||jr.Invisible;return{isCurrent:this._current?this._current.get()===t:void 0,visibility:i}}}}function s2(e,t,o,i,a,l,c,u){const d=o<a?a-o:c<e?e-c:0,p=i<l?l-i:u<t?t-u:0;return d===0?p:p===0?d:Math.sqrt(d*d+p*p)}class c2{constructor(t,o){this._init=()=>{const i=this._win();dt(i,"keydown",this._onKeyDown,!0),dt(i,Zu,this._onMoveFocus),dt(i,yg,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=i=>{delete this._movers[i.id]},this._onFocus=i=>{let a=i,l=i;for(let c=oe.getParentElement(i);c;c=oe.getParentElement(c)){const u=wt(this._tabster,c)?.mover;u&&(u.setCurrent(l),a=void 0),!a&&this._tabster.focusable.isFocusable(c)&&(a=l=c)}},this._onKeyDown=async i=>{if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),this._ignoredInputResolve?.(!1),i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const a=i.key;let l;if(a===tt.ArrowDown?l=et.ArrowDown:a===tt.ArrowRight?l=et.ArrowRight:a===tt.ArrowUp?l=et.ArrowUp:a===tt.ArrowLeft?l=et.ArrowLeft:a===tt.PageDown?l=et.PageDown:a===tt.PageUp?l=et.PageUp:a===tt.Home?l=et.Home:a===tt.End&&(l=et.End),!l)return;const c=this._tabster.focusedElement.getFocusedElement();!c||await this._isIgnoredInput(c,a)||this._moveFocus(c,l,i)},this._onMoveFocus=i=>{const a=i.composedPath()[0],l=i.detail?.key;a&&l!==void 0&&!i.defaultPrevented&&(this._moveFocus(a,l),i.stopImmediatePropagation())},this._onMemorizedElement=i=>{const a=i.composedPath()[0];let l=i.detail?.memorizedElement;if(a){const u=Oe.getTabsterContext(this._tabster,a)?.mover;u&&(l&&!oe.nodeContains(u.getElement(),l)&&(l=void 0),u.setCurrent(l),i.stopImmediatePropagation())}},this._tabster=t,this._win=o,this._movers={},t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),this._ignoredInputResolve?.(!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),lt(t,"keydown",this._onKeyDown,!0),lt(t,Zu,this._onMoveFocus),lt(t,yg,this._onMemorizedElement),Object.keys(this._movers).forEach(o=>{this._movers[o]&&(this._movers[o].dispose(),delete this._movers[o])})}createMover(t,o,i){const a=new l2(this._tabster,t,this._onMoverDispose,o,i);return this._movers[a.id]=a,a}moveFocus(t,o){return this._moveFocus(t,o)}_moveFocus(t,o,i){const a=this._tabster,l=Oe.getTabsterContext(a,t,{checkRtl:!0});if(!l||!l.mover||l.excludedFromMover||i&&l.ignoreKeydown(i))return null;const c=l.mover,u=c.getElement();if(l.groupperBeforeMover){const C=l.groupper;if(C&&!C.isActive(!0)){for(let M=oe.getParentElement(C.getElement());M&&M!==u;M=oe.getParentElement(M))if(wt(a,M)?.groupper?.isActive(!0))return null}else return null}if(!u)return null;const d=a.focusable,p=c.getProps(),v=p.direction||wo.Both,h=v===wo.Both,x=h||v===wo.Vertical,y=h||v===wo.Horizontal,k=v===wo.GridLinear,b=k||v===wo.Grid,B=p.cyclic;let z,j,S,N=0,q=0;if(b&&(S=t.getBoundingClientRect(),N=Math.ceil(S.left),q=Math.floor(S.right)),l.rtl&&(o===et.ArrowRight?o=et.ArrowLeft:o===et.ArrowLeft&&(o=et.ArrowRight)),o===et.ArrowDown&&x||o===et.ArrowRight&&(y||b))if(z=d.findNext({currentElement:t,container:u,useActiveModalizer:!0}),z&&b){const C=Math.ceil(z.getBoundingClientRect().left);!k&&q>C&&(z=void 0)}else!z&&B&&(z=d.findFirst({container:u,useActiveModalizer:!0}));else if(o===et.ArrowUp&&x||o===et.ArrowLeft&&(y||b))if(z=d.findPrev({currentElement:t,container:u,useActiveModalizer:!0}),z&&b){const C=Math.floor(z.getBoundingClientRect().right);!k&&C>N&&(z=void 0)}else!z&&B&&(z=d.findLast({container:u,useActiveModalizer:!0}));else if(o===et.Home)b?d.findElement({container:u,currentElement:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:C=>{if(!d.isFocusable(C))return!1;const M=Math.ceil(C.getBoundingClientRect().left??0);return C!==t&&N<=M?!0:(z=C,!1)}}):z=d.findFirst({container:u,useActiveModalizer:!0});else if(o===et.End)b?d.findElement({container:u,currentElement:t,useActiveModalizer:!0,acceptCondition:C=>{if(!d.isFocusable(C))return!1;const M=Math.ceil(C.getBoundingClientRect().left??0);return C!==t&&N>=M?!0:(z=C,!1)}}):z=d.findLast({container:u,useActiveModalizer:!0});else if(o===et.PageUp){if(d.findElement({currentElement:t,container:u,useActiveModalizer:!0,isBackward:!0,acceptCondition:C=>d.isFocusable(C)?Bg(this._win,C,c.visibilityTolerance)?(z=C,!1):!0:!1}),b&&z){const C=Math.ceil(z.getBoundingClientRect().left);d.findElement({currentElement:z,container:u,useActiveModalizer:!0,acceptCondition:M=>{if(!d.isFocusable(M))return!1;const H=Math.ceil(M.getBoundingClientRect().left);return N<H||C>=H?!0:(z=M,!1)}})}j=!1}else if(o===et.PageDown){if(d.findElement({currentElement:t,container:u,useActiveModalizer:!0,acceptCondition:C=>d.isFocusable(C)?Bg(this._win,C,c.visibilityTolerance)?(z=C,!1):!0:!1}),b&&z){const C=Math.ceil(z.getBoundingClientRect().left);d.findElement({currentElement:z,container:u,useActiveModalizer:!0,isBackward:!0,acceptCondition:M=>{if(!d.isFocusable(M))return!1;const H=Math.ceil(M.getBoundingClientRect().left);return N>H||C<=H?!0:(z=M,!1)}})}j=!0}else if(b){const C=o===et.ArrowUp,M=N,H=Math.ceil(S.top),W=q,ce=Math.floor(S.bottom);let te,Z,$=0;d.findAll({container:u,currentElement:t,isBackward:C,onElement:le=>{const we=le.getBoundingClientRect(),P=Math.ceil(we.left),Y=Math.ceil(we.top),F=Math.floor(we.right),ee=Math.floor(we.bottom);if(C&&H<ee||!C&&ce>Y)return!0;const X=Math.ceil(Math.min(W,F))-Math.floor(Math.max(M,P)),J=Math.ceil(Math.min(W-M,F-P));if(X>0&&J>=X){const Q=X/J;Q>$&&(te=le,$=Q)}else if($===0){const Q=s2(M,H,W,ce,P,Y,F,ee);(Z===void 0||Q<Z)&&(Z=Q,te=le)}else if($>0)return!1;return!0}}),z=te}return z&&(!i||i&&yt(u,new qr({by:"mover",owner:u,next:z,relatedEvent:i})))?(j!==void 0&&MB(this._win,z,j),i&&(i.preventDefault(),i.stopImmediatePropagation()),Do(z),z):null}async _isIgnoredInput(t,o){if(t.getAttribute("aria-expanded")==="true"&&(t.hasAttribute("aria-activedescendant")||t.getAttribute("role")==="combobox"))return!0;if(Dh(t,i2)){let i=0,a=0,l=0,c;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"){const u=t.type;if(l=(t.value||"").length,u==="email"||u==="number"){if(l){const p=oe.getSelection(t);if(p){const v=p.toString().length,h=o===tt.ArrowLeft||o===tt.ArrowUp;if(p.modify("extend",h?"backward":"forward","character"),v!==p.toString().length)return p.modify("extend",h?"forward":"backward","character"),!0;l=0}}}else{const p=t.selectionStart;if(p===null)return u==="hidden";i=p||0,a=t.selectionEnd||0}}else t.contentEditable==="true"&&(c=new Promise(u=>{this._ignoredInputResolve=y=>{delete this._ignoredInputResolve,u(y)};const d=this._win();this._ignoredInputTimer&&d.clearTimeout(this._ignoredInputTimer);const{anchorNode:p,focusNode:v,anchorOffset:h,focusOffset:x}=oe.getSelection(t)||{};this._ignoredInputTimer=d.setTimeout(()=>{delete this._ignoredInputTimer;const{anchorNode:y,focusNode:k,anchorOffset:b,focusOffset:B}=oe.getSelection(t)||{};if(y!==p||k!==v||b!==h||B!==x){this._ignoredInputResolve?.(!1);return}if(i=b||0,a=B||0,l=t.textContent?.length||0,y&&k&&oe.nodeContains(t,y)&&oe.nodeContains(t,k)&&y!==t){let z=!1;const j=S=>{if(S===y)z=!0;else if(S===k)return!0;const N=S.textContent;if(N&&!oe.getFirstChild(S)){const C=N.length;z?k!==y&&(a+=C):(i+=C,a+=C)}let q=!1;for(let C=oe.getFirstChild(S);C&&!q;C=C.nextSibling)q=j(C);return q};j(t)}this._ignoredInputResolve?.(!0)},0)}));if(c&&!await c||i!==a||i>0&&(o===tt.ArrowLeft||o===tt.ArrowUp||o===tt.Home)||i<l&&(o===tt.ArrowRight||o===tt.ArrowDown||o===tt.End))return!0}return!1}}function u2(e){const t=e.core;if(!t.mover){const o=new c2(t,t.getWindow);t.mover=o,t.attrHandlers.set("mover",(i,a,l,c,u)=>a?(a.setProps(l),a):o.createMover(i,l,u))}return t.mover}class d2 extends Jn{constructor(t,o,i,a){super(i,t,ps.Groupper,a,!0),this._setHandlers((l,c,u)=>{const d=t.get(),p=l.input;if(d&&p){const v=Oe.getTabsterContext(i,p);if(v){let h;h=o.findNextTabbable(u||void 0,void 0,c,!0)?.element,h||(h=Pr.findNextTabbable(i,v,void 0,l.isOutside?p:LB(d,!c),void 0,c,!0)?.element),h&&Do(h)}}})}}class f2 extends Sa{constructor(t,o,i,a,l){super(t,o,a),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=i,t.controlTab||(this.dummyManager=new d2(this._element,this,t,l))}dispose(){this._onDispose(this),this._element.get(),this.dummyManager?.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(t,o,i,a){const l=this.getElement();if(!l)return null;const c=Zn(t)===l;if(!this._shouldTabInside&&t&&oe.nodeContains(l,t)&&!c)return{element:void 0,outOfDOMOrder:!0};const u=this.getFirst(!0);if(!t||!oe.nodeContains(l,t)||c)return{element:u,outOfDOMOrder:!0};const d=this._tabster;let p=null,v=!1,h;if(this._shouldTabInside&&u){const x={container:l,currentElement:t,referenceElement:o,ignoreAccessibility:a,useActiveModalizer:!0},y={};p=d.focusable[i?"findPrev":"findNext"](x,y),v=!!y.outOfDOMOrder,!p&&this._props.tabbability===Kl.LimitedTrapFocus&&(p=d.focusable[i?"findLast":"findFirst"]({container:l,ignoreAccessibility:a,useActiveModalizer:!0},y),v=!0),h=y.uncontrolled}return{element:p,uncontrolled:h,outOfDOMOrder:v}}makeTabbable(t){this._shouldTabInside=t||!this._props.tabbability}isActive(t){const o=this.getElement()||null;let i=!0;for(let l=oe.getParentElement(o);l;l=oe.getParentElement(l)){const c=wt(this._tabster,l)?.groupper;c&&(c._shouldTabInside||(i=!1))}let a=i?this._props.tabbability?this._shouldTabInside:!1:void 0;if(a&&t){const l=this._tabster.focusedElement.getFocusedElement();l&&(a=l!==this.getFirst(!0))}return a}getFirst(t){const o=this.getElement();let i;if(o){if(t&&this._tabster.focusable.isFocusable(o))return o;i=this._first?.get(),i||(i=this._tabster.focusable.findFirst({container:o,useActiveModalizer:!0})||void 0,i&&this.setFirst(i))}return i}setFirst(t){t?this._first=new Gt(t):delete this._first}acceptElement(t,o){const i=o.cachedGrouppers,a=oe.getParentElement(this.getElement()),l=a&&Oe.getTabsterContext(this._tabster,a),c=l?.groupper,u=l?.groupperBeforeMover?c:void 0;let d;const p=x=>{let y=i[x.id],k;return y?k=y.isActive:(k=this.isActive(!0),y=i[x.id]={isActive:k}),k};if(u&&(d=u.getElement(),!p(u)&&d&&o.container!==d&&oe.nodeContains(o.container,d)))return o.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const v=p(this),h=this.getElement();if(h&&v!==!0){if(h===t&&c&&(d||(d=c.getElement()),d&&!p(c)&&oe.nodeContains(o.container,d)&&d!==o.container)||h!==t&&oe.nodeContains(h,t))return o.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const x=i[this.id];let y;if("first"in x?y=x.first:y=x.first=this.getFirst(!0),y&&o.acceptCondition(y))return o.rejectElementsFrom=h,o.skippedFocusable=!0,y!==o.from?(o.found=!0,o.foundElement=y,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class p2{constructor(t,o){this._current={},this._grouppers={},this._init=()=>{const i=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const a=i.document,l=oe.getActiveElement(a);l&&this._onFocus(l),dt(a,"mousedown",this._onMouseDown,!0),dt(i,"keydown",this._onKeyDown,!0),dt(i,ed,this._onMoveFocus)},this._onGroupperDispose=i=>{delete this._grouppers[i.id]},this._onFocus=i=>{i&&this._updateCurrent(i)},this._onMouseDown=i=>{let a=i.target;for(;a&&!this._tabster.focusable.isFocusable(a);)a=this._tabster.getParent(a);a&&this._updateCurrent(a)},this._onKeyDown=i=>{if(i.key!==tt.Enter&&i.key!==tt.Escape||i.ctrlKey||i.altKey||i.shiftKey||i.metaKey)return;const a=this._tabster.focusedElement.getFocusedElement();a&&this.handleKeyPress(a,i)},this._onMoveFocus=i=>{const a=i.composedPath()[0],l=i.detail?.action;a&&l!==void 0&&!i.defaultPrevented&&(l===Zl.Enter?this._enterGroupper(a):this._escapeGroupper(a),i.stopImmediatePropagation())},this._tabster=t,this._win=o,t.queueInit(this._init)}dispose(){const t=this._win();this._tabster.focusedElement.cancelAsyncFocus(Jo.EscapeGroupper),this._current={},this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),lt(t.document,"mousedown",this._onMouseDown,!0),lt(t,"keydown",this._onKeyDown,!0),lt(t,ed,this._onMoveFocus),Object.keys(this._grouppers).forEach(o=>{this._grouppers[o]&&(this._grouppers[o].dispose(),delete this._grouppers[o])})}createGroupper(t,o,i){const a=this._tabster,l=new f2(a,t,this._onGroupperDispose,o,i);this._grouppers[l.id]=l;const c=a.focusedElement.getFocusedElement();return c&&oe.nodeContains(t,c)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout(()=>{delete this._updateTimer,c===a.focusedElement.getFocusedElement()&&this._updateCurrent(c)},0)),l}forgetCurrentGrouppers(){this._current={}}_updateCurrent(t){this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const o=this._tabster,i={};for(let a=o.getParent(t);a;a=o.getParent(a)){const l=wt(o,a)?.groupper;if(l){i[l.id]=!0,this._current[l.id]=l;const c=l.isActive()||t!==a&&(!l.getProps().delegated||l.getFirst(!1)!==t);l.makeTabbable(c)}}for(const a of Object.keys(this._current)){const l=this._current[a];l.id in i||(l.makeTabbable(!1),l.setFirst(void 0),delete this._current[a])}}_enterGroupper(t,o){const i=this._tabster,a=Oe.getTabsterContext(i,t),l=a?.groupper||a?.modalizerInGroupper,c=l?.getElement();if(l&&c&&(t===c||l.getProps().delegated&&t===l.getFirst(!1))){const u=i.focusable.findNext({container:c,currentElement:t,useActiveModalizer:!0});if(u&&(!o||o&&yt(c,new qr({by:"groupper",owner:c,next:u,relatedEvent:o}))))return o&&(o.preventDefault(),o.stopImmediatePropagation()),u.focus(),u}return null}_escapeGroupper(t,o,i){const a=this._tabster,l=Oe.getTabsterContext(a,t);let c=l?.groupper||l?.modalizerInGroupper;const u=c?.getElement();if(c&&u&&oe.nodeContains(u,t)){let d;if(t!==u||i)d=c.getFirst(!0);else{const p=oe.getParentElement(u);c=(p?Oe.getTabsterContext(a,p):void 0)?.groupper,d=c?.getFirst(!0)}if(d&&(!o||o&&yt(u,new qr({by:"groupper",owner:u,next:d,relatedEvent:o}))))return c&&c.makeTabbable(!1),d.focus(),d}return null}moveFocus(t,o){return o===Zl.Enter?this._enterGroupper(t):this._escapeGroupper(t)}handleKeyPress(t,o,i){const a=this._tabster,l=Oe.getTabsterContext(a,t);if(l&&(l?.groupper||l?.modalizerInGroupper)){if(a.focusedElement.cancelAsyncFocus(Jo.EscapeGroupper),l.ignoreKeydown(o))return;if(o.key===tt.Enter)this._enterGroupper(t,o);else if(o.key===tt.Escape){const c=a.focusedElement.getFocusedElement();a.focusedElement.requestAsyncFocus(Jo.EscapeGroupper,()=>{c!==a.focusedElement.getFocusedElement()&&(i&&!c||!i)||this._escapeGroupper(t,o,i)},0)}}}}function v2(e){const t=e.core;if(!t.groupper){const o=new p2(t,t.getWindow);t.groupper=o,t.attrHandlers.set("groupper",(i,a,l,c,u)=>a?(a.setProps(l),a):o.createGroupper(i,l,u))}return t.groupper}class g2 extends Sa{constructor(t,o,i){if(super(t,o,i),this._hasFocus=!1,this._onFocusOut=a=>{const l=this._element?.get();l&&a.relatedTarget===null&&yt(l,new xg),l&&!oe.nodeContains(l,a.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===fn.Source){const a=this._element?.get();dt(a,"focusout",this._onFocusOut),dt(a,"focusin",this._onFocusIn),this._hasFocus=oe.nodeContains(a,a&&oe.getActiveElement(a.ownerDocument))}}dispose(){if(this._props.type===fn.Source){const t=this._element?.get();if(lt(t,"focusout",this._onFocusOut),lt(t,"focusin",this._onFocusIn),this._hasFocus){const o=this._tabster.getWindow().document;yt(o.body,new xg)}}}}const cs=class cs{constructor(t){this._stack=[],this._getWindow=t}push(t){this._stack[this._stack.length-1]?.get()!==t&&(this._stack.length>cs.DEPTH&&this._stack.shift(),this._stack.push(new Gt(t)))}pop(t=()=>!0){const o=this._getWindow().document;for(let i=this._stack.length-1;i>=0;i--){const a=this._stack.pop()?.get();if(a&&oe.nodeContains(o.body,oe.getParentElement(a))&&t(a))return a}}};cs.DEPTH=10;let rd=cs;class m2{constructor(t){this._onRestoreFocus=o=>{this._focusedElementState.cancelAsyncFocus(Jo.Restorer);const i=o.composedPath()[0];if(i){const a=wt(this._tabster,i)?.restorer?.getProps().id;this._focusedElementState.requestAsyncFocus(Jo.Restorer,()=>this._restoreFocus(i,a),0)}},this._onFocusIn=o=>{!o||wt(this._tabster,o)?.restorer?.getProps().type!==fn.Target||this._history.push(o)},this._restoreFocus=(o,i)=>{const a=this._getWindow().document;if(oe.getActiveElement(a)!==a.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&oe.nodeContains(a.body,o))return;const l=c=>{const u=wt(this._tabster,c)?.restorer?.getProps();return u?u.id:null};this._history.pop(c=>i===l(c))?.focus()},this._tabster=t,this._getWindow=t.getWindow,dt(this._getWindow(),td,this._onRestoreFocus),this._history=new rd(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(Jo.Restorer),lt(t,td,this._onRestoreFocus)}createRestorer(t,o){const i=new g2(this._tabster,t,o);return o.type===fn.Target&&oe.getActiveElement(t.ownerDocument)===t&&this._history.push(t),i}}function Ah(e){const t=e.core;if(!t.restorer){const o=new m2(t);t.restorer=o,t.attrHandlers.set("restorer",(i,a,l)=>a?(a.setProps(l),a):o.createRestorer(i,l))}return t.restorer}class h2{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 b2{constructor(t,o){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.8.1",this._noop=!1,this.attrHandlers=new Map,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=new WeakMap,this._win=t;const i=this.getWindow;o?.DOMAPI&&EB({...o.DOMAPI}),this.keyboardNavigation=new JB(i),this.focusedElement=new Pr(this,i),this.focusable=new QB(this),this.root=new Oe(this,o?.autoRoot),this.uncontrolled=new e2(o?.checkUncontrolledCompletely||o?.checkUncontrolledTrappingFocus),this.controlTab=o?.controlTab??!0,this.rootDummyInputs=!!o?.rootDummyInputs,this._dummyObserver=new $B(i),this.getParent=o?.getParent??oe.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:a=>{if(!this._unobserve){const l=i().document;this._unobserve=ZB(l,this,qh,a)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(t){t&&(this.getParent=t.getParent??this.getParent)}createTabster(t,o){const i=new h2(this);return t||this._wrappers.add(i),this._mergeProps(o),i}disposeTabster(t,o){o?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(),Sg(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),t&&(DB(t),delete t.__tabsterInstance,delete this._win)}storageEntry(t,o){const i=this._storage;let a=i.get(t);return a?o===!1&&Object.keys(a).length===0&&i.delete(t):o===!0&&(a={},i.set(t,a)),a}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())Sg(this.getWindow,t),Pr.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(o=>o())}}function y2(e,t){let o=w2(e);return o?o.createTabster(!1,t):(o=new b2(e,t),e.__tabsterInstance=o,o.createTabster())}function Oh(e,t){e.core.disposeTabster(e,t)}function w2(e){return e.__tabsterInstance}const k2=e=>e;function Lh(e){const t=e?.defaultView||void 0,o=t?.__tabsterShadowDOMAPI;if(t)return y2(t,{autoRoot:{},controlTab:!1,getParent:Nh,checkUncontrolledCompletely:i=>{var a;return((a=i.firstElementChild)===null||a===void 0?void 0:a.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:o})}function hn(e=k2){const{targetDocument:t}=Ie(),o=m.useRef(null);return He(()=>{const i=Lh(t);if(i)return o.current=e(i),()=>{Oh(i),o.current=null}},[t,e]),o}const er=e=>{hn();const t=_d(e,!0);return m.useMemo(()=>({[ko]:t}),[t])},tr=(e={})=>{const{circular:t,axis:o,memorizeCurrent:i=!0,tabbable:a,ignoreDefaultKeydown:l,unstable_hasDefault:c}=e;return hn(u2),er({mover:{cyclic:!!t,direction:x2(o??"vertical"),memorizeCurrent:i,tabbable:a,hasDefault:c},...l&&{focusable:{ignoreKeydown:l}}})};function x2(e){switch(e){case"horizontal":return wo.Horizontal;case"grid":return wo.Grid;case"grid-linear":return wo.GridLinear;case"both":return wo.Both;default:return wo.Vertical}}const Nd=e=>(hn(v2),er({groupper:{tabbability:B2(e?.tabBehavior)},focusable:{ignoreKeydown:e?.ignoreDefaultKeydown}})),B2=e=>{switch(e){case"unlimited":return Kl.Unlimited;case"limited":return Kl.Limited;case"limited-trap-focus":return Kl.LimitedTrapFocus;default:return}},Ao=()=>{const e=hn(),{targetDocument:t}=Ie(),o=m.useCallback((u,d)=>{var p;return u&&((p=e.current)===null||p===void 0?void 0:p.focusable.findAll({container:u,acceptCondition:d}))||[]},[e]),i=m.useCallback(u=>{var d;return u&&((d=e.current)===null||d===void 0?void 0:d.focusable.findFirst({container:u}))},[e]),a=m.useCallback(u=>{var d;return u&&((d=e.current)===null||d===void 0?void 0:d.focusable.findLast({container:u}))},[e]),l=m.useCallback((u,d={})=>{if(!e.current||!t||!u)return null;const{container:p=t.body}=d;return e.current.focusable.findNext({currentElement:u,container:p})},[e,t]),c=m.useCallback((u,d={})=>{if(!e.current||!t||!u)return null;const{container:p=t.body}=d;return e.current.focusable.findPrev({currentElement:u,container:p})},[e,t]);return{findAllFocusable:o,findFirstFocusable:i,findLastFocusable:a,findNextFocusable:l,findPrevFocusable:c}};const Io=(e,t,o)=>{e.addEventListener(t,o,!0)},io=(e,t,o)=>{e.removeEventListener(t,o,!0)};const or="keyborg:focusin",S2="keyborg:focusout",Cg=0,Tg=1,qg=2,Pl=3;function z2(e){const t=e.HTMLElement,o=t.prototype.focus;let i=!1;return t.prototype.focus=function(){i=!0},e.document.createElement("button").focus(),t.prototype.focus=o,i}let qu=!1;function _2(e){const t=e,o=t.document,i=t.HTMLElement.prototype;qu||(qu=z2(t));const a=i.focus;if(a.__keyborgNativeFocus)return;i.focus=v;const l=new Set,c=x=>{const y=x.target;if(!y)return;const k=new CustomEvent(S2,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:x}});y.dispatchEvent(k)},u=x=>{const y=x.target;if(!y)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 l){const z=B.deref();(!z||!b.has(z))&&(l.delete(B),z&&(io(z,"focusin",u),io(z,"focusout",c)))}d(y,x.relatedTarget||void 0)},d=(x,y,k)=>{const b=x.shadowRoot;if(b){for(const j of l)if(j.deref()===b)return;Io(b,"focusin",u),Io(b,"focusout",c),l.add(new WeakRef(b));return}const B={relatedTarget:y,originalEvent:k},z=new CustomEvent(or,{cancelable:!0,bubbles:!0,composed:!0,detail:B});z.details=B,(qu||p[Pl])&&(B.isFocusedProgrammatically=x===p[Pl]?.deref(),p[Pl]=void 0),x.dispatchEvent(z)},p=[u,c,l];t.__keyborgData=p,Io(o,"focusin",u),Io(o,"focusout",c);function v(){const x=t.__keyborgData;return x&&(x[Pl]=new WeakRef(this)),a.apply(this,arguments)}let h=o.activeElement;for(;h&&h.shadowRoot;)d(h),h=h.shadowRoot.activeElement;v.__keyborgNativeFocus=a}function N2(e){const t=e,o=t.HTMLElement.prototype,i=o.focus.__keyborgNativeFocus,a=t.__keyborgData;if(a){const l=t.document;io(l,"focusin",a[Cg]),io(l,"focusout",a[Tg]);for(const c of a[qg]){const u=c.deref();u&&(io(u,"focusin",a[Cg]),io(u,"focusout",a[Tg]))}a[qg].clear(),delete t.__keyborgData}i&&(o.focus=i)}let j2=0;function C2(e,t){let o=e,i=!1,a;const l=()=>{const k=o?.__keyborg?.refs;if(k)for(const b of Object.keys(k))k[b]._cb.forEach(B=>B(i))},c=k=>{i!==k&&(i=k,l())},u=k=>{if(k.key==="Tab")return!0;const b=o?.document.activeElement,B=!0,z=b&&(b.tagName==="INPUT"||b.tagName==="TEXTAREA"||b.isContentEditable);return B&&!z},d=k=>{if(a||i)return;const b=k.detail;b.relatedTarget&&(b.isFocusedProgrammatically||b.isFocusedProgrammatically===void 0||c(!0))},p=()=>{o&&(a&&o.clearTimeout(a),a=o.setTimeout(()=>{a=void 0},1e3)),c(!1)},v=k=>{k.buttons===0||k.clientX===0&&k.clientY===0&&k.screenX===0&&k.screenY===0||p()},h=k=>{i||u(k)&&c(!0)},x=e.document;return Io(x,or,d),Io(x,"mousedown",v),Io(e,"keydown",h),Io(x,"touchstart",p),Io(x,"touchend",p),Io(x,"touchcancel",p),_2(e),{dispose:()=>{if(!o)return;a&&(o.clearTimeout(a),a=void 0),N2(o);const k=o.document;io(k,or,d),io(k,"mousedown",v),io(o,"keydown",h),io(k,"touchstart",p),io(k,"touchend",p),io(k,"touchcancel",p),o=void 0},get isNavigatingWithKeyboard(){return i},set isNavigatingWithKeyboard(k){c(k)}}}function jd(e,t){const o=e,i="k"+ ++j2;let a=o,l;const c=[],u=o.__keyborg;u?l=u.core:l=C2(o);const d={isNavigatingWithKeyboard(){return!!l?.isNavigatingWithKeyboard},subscribe(p){c.push(p)},unsubscribe(p){const v=c.indexOf(p);v>=0&&c.splice(v,1)},setVal(p){l&&(l.isNavigatingWithKeyboard=p)},_cb:c,dispose(){const p=a?.__keyborg;p?.refs[i]&&(delete p.refs[i],Object.keys(p.refs).length===0&&(p.core.dispose(),delete a.__keyborg)),c.length=0,l=void 0,a=void 0}};return u?u.refs[i]=d:o.__keyborg={core:l,refs:{[i]:d}},d}function Cd(e){e.dispose()}const Ig="data-fui-focus-visible",Vh="data-fui-focus-within";function T2(e,t){if(Wh(e))return()=>{};const o={current:void 0},i=jd(t);function a(d){i.isNavigatingWithKeyboard()&&it(d)&&(o.current=d,d.setAttribute(Ig,""))}function l(){o.current&&(o.current.removeAttribute(Ig),o.current=void 0)}i.subscribe(d=>{d?a(t.document.activeElement):l()});const c=d=>{l();const p=d.composedPath()[0];a(p)},u=d=>{(!d.relatedTarget||it(d.relatedTarget)&&!e.contains(d.relatedTarget))&&l()};return e.addEventListener(or,c),e.addEventListener("focusout",u),e.focusVisible=!0,e.contains(t.document.activeElement)&&a(t.document.activeElement),()=>{l(),e.removeEventListener(or,c),e.removeEventListener("focusout",u),e.focusVisible=void 0,Cd(i)}}function Wh(e){return e?e.focusVisible?!0:Wh(e?.parentElement):!1}function bn(e={}){const t=Ie(),o=m.useRef(null);var i;const a=(i=e.targetDocument)!==null&&i!==void 0?i:t.targetDocument;return m.useEffect(()=>{if(a?.defaultView&&o.current)return T2(o.current,a.defaultView)},[o,a]),o}function q2(e,t){const o=jd(t);o.subscribe(l=>{l||Rg(e)});const i=l=>{o.isNavigatingWithKeyboard()&&Eg(l.target)&&I2(e)},a=l=>{(!l.relatedTarget||Eg(l.relatedTarget)&&!e.contains(l.relatedTarget))&&Rg(e)};return e.addEventListener(or,i),e.addEventListener("focusout",a),()=>{e.removeEventListener(or,i),e.removeEventListener("focusout",a),Cd(o)}}function I2(e){e.setAttribute(Vh,"")}function Rg(e){e.removeAttribute(Vh)}function Eg(e){return e?!!(e&&typeof e=="object"&&"classList"in e&&"contains"in e):!1}function ri(){const{targetDocument:e}=Ie(),t=m.useRef(null);return m.useEffect(()=>{if(e?.defaultView&&t.current)return q2(t.current,e.defaultView)},[t,e]),t}function Td(){const{targetDocument:e}=Ie(),t=m.useRef(null);return m.useEffect(()=>{const o=e?.defaultView;if(o){const i=jd(o);return t.current=i,()=>{Cd(i),t.current=null}}},[e]),t}function $h(e){const t=Td(),o=K(e);m.useEffect(()=>{const i=t.current;if(i){const a=l=>{o(l)};return i.subscribe(a),a(i.isNavigatingWithKeyboard()),()=>{i.unsubscribe(a)}}},[t,o])}const R2="data-tabster-never-hide",E2=e=>e.hasAttribute(R2);function P2(e){Hh(e,void 0,E2),Ah(e)}const vs=(e={})=>{const{trapFocus:t,alwaysFocusable:o,legacyTrapFocus:i}=e;hn(P2);const a=Le("modal-",e.id),l=er({restorer:{type:fn.Source},...t&&{modalizer:{id:a,isOthersAccessible:!t,isAlwaysAccessible:o,isTrapped:i&&t}}}),c=er({restorer:{type:fn.Target}});return{modalAttributes:l,triggerAttributes:c}},qd=(...e)=>{const t=[];let o="";for(const i of e){const a=i?.[ko];a&&(t.push(a),o+=a+D2)}return m.useMemo(()=>({[ko]:F2(t)}),[o])},D2="\0",F2=e=>{if(e.length!==0)return e.length===1?e[0]:JSON.stringify(Object.assign({},...e.map(M2)))},M2=e=>{try{return JSON.parse(e)}catch{return{}}};function H2(){return hn(Ah),_d({restorer:{type:fn.Source}})}function Gh(){const e=Td();return m.useCallback(()=>{var t,o;return(o=(t=e.current)===null||t===void 0?void 0:t.isNavigatingWithKeyboard())!==null&&o!==void 0?o:!1},[e])}function A2(){const e=Td();return m.useCallback(t=>{var o;(o=e.current)===null||o===void 0||o.setVal(t)},[e])}function O2(e){const{targetDocument:t}=Ie(),o=K(e);m.useEffect(()=>{const i=Lh(t);if(i)return i.focusedElement.subscribe(o),()=>{i.focusedElement.unsubscribe(o),Oh(i)}},[o,t])}function L2(){const e=hn(Hh),[t]=Or();return m.useCallback(i=>{t(()=>{var a;(a=e.current)===null||a===void 0||a.activate(i)},0)},[e,t])}const U={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"},_t={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)"},oo={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)"},V2={50:"rgba(26, 26, 26, 0.5)"},W2={70:"rgba(31, 31, 31, 0.7)"},Pg={50:"rgba(36, 36, 36, 0.5)",80:"rgba(36, 36, 36, 0.8)"},Ce="#ffffff",Yl="#000000",$2={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},Uh={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},G2={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},U2={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},X2={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},K2={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},Q2={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Y2={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},J2={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},Z2={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},eS={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},tS={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},oS={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},rS={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},nS={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},Xh={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},iS={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},aS={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},lS={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},sS={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},cS={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},uS={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},dS={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},fS={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},pS={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},vS={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},gS={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},mS={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},hS={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},bS={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},yS={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},wS={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},kS={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},xS={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},BS={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},SS={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"},Me={red:G2,green:Xh,darkOrange:U2,yellow:J2,berry:mS,lightGreen:nS,marigold:Y2},Ir={darkRed:$2,cranberry:Uh,pumpkin:X2,peach:Q2,gold:Z2,brass:eS,brown:tS,forest:oS,seafoam:rS,darkGreen:iS,lightTeal:aS,teal:lS,steel:sS,blue:cS,royalBlue:uS,cornflower:dS,navy:fS,lavender:pS,purple:vS,grape:gS,lilac:hS,pink:bS,magenta:yS,plum:wS,beige:kS,mink:xS,platinum:BS,anchor:SS},De={cranberry:Uh,green:Xh,orange:K2},Kh=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Qh=["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"],Mt={success:"green",warning:"orange",danger:"cranberry"},za=Kh.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background1`]:Me[t].tint60,[`colorPalette${o}Background2`]:Me[t].tint40,[`colorPalette${o}Background3`]:Me[t].primary,[`colorPalette${o}Foreground1`]:Me[t].shade10,[`colorPalette${o}Foreground2`]:Me[t].shade30,[`colorPalette${o}Foreground3`]:Me[t].primary,[`colorPalette${o}BorderActive`]:Me[t].primary,[`colorPalette${o}Border1`]:Me[t].tint40,[`colorPalette${o}Border2`]:Me[t].primary};return Object.assign(e,i)},{});za.colorPaletteYellowForeground1=Me.yellow.shade30;za.colorPaletteRedForegroundInverted=Me.red.tint20;za.colorPaletteGreenForegroundInverted=Me.green.tint20;za.colorPaletteYellowForegroundInverted=Me.yellow.tint40;const zS=Qh.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background2`]:Ir[t].tint40,[`colorPalette${o}Foreground2`]:Ir[t].shade30,[`colorPalette${o}BorderActive`]:Ir[t].primary};return Object.assign(e,i)},{}),_S={...za,...zS},ni=Object.entries(Mt).reduce((e,[t,o])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${i}Background1`]:De[o].tint60,[`colorStatus${i}Background2`]:De[o].tint40,[`colorStatus${i}Background3`]:De[o].primary,[`colorStatus${i}Foreground1`]:De[o].shade10,[`colorStatus${i}Foreground2`]:De[o].shade30,[`colorStatus${i}Foreground3`]:De[o].primary,[`colorStatus${i}ForegroundInverted`]:De[o].tint30,[`colorStatus${i}BorderActive`]:De[o].primary,[`colorStatus${i}Border1`]:De[o].tint40,[`colorStatus${i}Border2`]:De[o].primary};return Object.assign(e,a)},{});ni.colorStatusDangerBackground3Hover=De[Mt.danger].shade10;ni.colorStatusDangerBackground3Pressed=De[Mt.danger].shade20;ni.colorStatusWarningForeground1=De[Mt.warning].shade20;ni.colorStatusWarningForeground3=De[Mt.warning].shade20;ni.colorStatusWarningBorder2=De[Mt.warning].shade20;const NS=e=>({colorNeutralForeground1:U[14],colorNeutralForeground1Hover:U[14],colorNeutralForeground1Pressed:U[14],colorNeutralForeground1Selected:U[14],colorNeutralForeground2:U[26],colorNeutralForeground2Hover:U[14],colorNeutralForeground2Pressed:U[14],colorNeutralForeground2Selected:U[14],colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:U[38],colorNeutralForeground3Hover:U[26],colorNeutralForeground3Pressed:U[26],colorNeutralForeground3Selected:U[26],colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:U[44],colorNeutralForeground5:U[38],colorNeutralForeground5Hover:U[14],colorNeutralForeground5Pressed:U[14],colorNeutralForeground5Selected:U[14],colorNeutralForegroundDisabled:U[74],colorNeutralForegroundInvertedDisabled:_t[40],colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:U[26],colorNeutralForeground2LinkHover:U[14],colorNeutralForeground2LinkPressed:U[14],colorNeutralForeground2LinkSelected:U[14],colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:U[14],colorNeutralForegroundStaticInverted:Ce,colorNeutralForegroundInverted:Ce,colorNeutralForegroundInvertedHover:Ce,colorNeutralForegroundInvertedPressed:Ce,colorNeutralForegroundInvertedSelected:Ce,colorNeutralForegroundInverted2:Ce,colorNeutralForegroundOnBrand:Ce,colorNeutralForegroundInvertedLink:Ce,colorNeutralForegroundInvertedLinkHover:Ce,colorNeutralForegroundInvertedLinkPressed:Ce,colorNeutralForegroundInvertedLinkSelected:Ce,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Ce,colorNeutralBackground1Hover:U[96],colorNeutralBackground1Pressed:U[88],colorNeutralBackground1Selected:U[92],colorNeutralBackground2:U[98],colorNeutralBackground2Hover:U[94],colorNeutralBackground2Pressed:U[86],colorNeutralBackground2Selected:U[90],colorNeutralBackground3:U[96],colorNeutralBackground3Hover:U[92],colorNeutralBackground3Pressed:U[84],colorNeutralBackground3Selected:U[88],colorNeutralBackground4:U[94],colorNeutralBackground4Hover:U[98],colorNeutralBackground4Pressed:U[96],colorNeutralBackground4Selected:Ce,colorNeutralBackground5:U[92],colorNeutralBackground5Hover:U[96],colorNeutralBackground5Pressed:U[94],colorNeutralBackground5Selected:U[98],colorNeutralBackground6:U[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:U[92],colorNeutralBackground7Pressed:U[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:U[99],colorNeutralBackgroundInverted:U[16],colorNeutralBackgroundInvertedHover:U[24],colorNeutralBackgroundInvertedPressed:U[12],colorNeutralBackgroundInvertedSelected:U[22],colorNeutralBackgroundStatic:U[20],colorNeutralBackgroundAlpha:_t[50],colorNeutralBackgroundAlpha2:_t[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:U[96],colorSubtleBackgroundPressed:U[88],colorSubtleBackgroundSelected:U[92],colorSubtleBackgroundLightAlphaHover:_t[70],colorSubtleBackgroundLightAlphaPressed:_t[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:oo[10],colorSubtleBackgroundInvertedPressed:oo[30],colorSubtleBackgroundInvertedSelected:oo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:U[94],colorNeutralBackgroundDisabled2:Ce,colorNeutralBackgroundInvertedDisabled:_t[10],colorNeutralStencil1:U[90],colorNeutralStencil2:U[98],colorNeutralStencil1Alpha:oo[10],colorNeutralStencil2Alpha:oo[5],colorBackgroundOverlay:oo[40],colorScrollbarOverlay:oo[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:Ce,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:U[98],colorNeutralCardBackgroundHover:Ce,colorNeutralCardBackgroundPressed:U[96],colorNeutralCardBackgroundSelected:U[92],colorNeutralCardBackgroundDisabled:U[94],colorNeutralStrokeAccessible:U[38],colorNeutralStrokeAccessibleHover:U[34],colorNeutralStrokeAccessiblePressed:U[30],colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:U[82],colorNeutralStroke1Hover:U[78],colorNeutralStroke1Pressed:U[70],colorNeutralStroke1Selected:U[74],colorNeutralStroke2:U[88],colorNeutralStroke3:U[94],colorNeutralStroke4:U[92],colorNeutralStroke4Hover:U[88],colorNeutralStroke4Pressed:U[84],colorNeutralStroke4Selected:U[92],colorNeutralStrokeSubtle:U[88],colorNeutralStrokeOnBrand:Ce,colorNeutralStrokeOnBrand2:Ce,colorNeutralStrokeOnBrand2Hover:Ce,colorNeutralStrokeOnBrand2Pressed:Ce,colorNeutralStrokeOnBrand2Selected:Ce,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:U[88],colorNeutralStrokeDisabled2:U[92],colorNeutralStrokeInvertedDisabled:_t[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:oo[5],colorNeutralStrokeAlpha2:_t[20],colorStrokeFocus1:Ce,colorStrokeFocus2:Yl,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)"}),Yh={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Jh={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)"},Zh={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},eb={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},tb={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},ob={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},rb={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"},ot={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},nb={spacingHorizontalNone:ot.none,spacingHorizontalXXS:ot.xxs,spacingHorizontalXS:ot.xs,spacingHorizontalSNudge:ot.sNudge,spacingHorizontalS:ot.s,spacingHorizontalMNudge:ot.mNudge,spacingHorizontalM:ot.m,spacingHorizontalL:ot.l,spacingHorizontalXL:ot.xl,spacingHorizontalXXL:ot.xxl,spacingHorizontalXXXL:ot.xxxl},ib={spacingVerticalNone:ot.none,spacingVerticalXXS:ot.xxs,spacingVerticalXS:ot.xs,spacingVerticalSNudge:ot.sNudge,spacingVerticalS:ot.s,spacingVerticalMNudge:ot.mNudge,spacingVerticalM:ot.m,spacingVerticalL:ot.l,spacingVerticalXL:ot.xl,spacingVerticalXXL:ot.xxl,spacingVerticalXXXL:ot.xxxl},ab={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},Dg={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorBrandForeground1:"var(--colorBrandForeground1)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackground2:"var(--colorBrandBackground2)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightSemibold:"var(--fontWeightSemibold)",lineHeightBase200:"var(--lineHeightBase200)",shadow2:"var(--shadow2)",shadow16:"var(--shadow16)",shadow64:"var(--shadow64)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)"};function ts(e,t,o=""){return{[`shadow2${o}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${o}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${o}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${o}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${o}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${o}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const jS=e=>{const t=NS(e);return{...Yh,...eb,...tb,...rb,...ob,...ab,...nb,...ib,...Zh,...Jh,...t,..._S,...ni,...ts(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...ts(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},lb={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"},Oo=Kh.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background1`]:Me[t].shade40,[`colorPalette${o}Background2`]:Me[t].shade30,[`colorPalette${o}Background3`]:Me[t].primary,[`colorPalette${o}Foreground1`]:Me[t].tint30,[`colorPalette${o}Foreground2`]:Me[t].tint40,[`colorPalette${o}Foreground3`]:Me[t].tint20,[`colorPalette${o}BorderActive`]:Me[t].tint30,[`colorPalette${o}Border1`]:Me[t].primary,[`colorPalette${o}Border2`]:Me[t].tint20};return Object.assign(e,i)},{});Oo.colorPaletteRedForeground3=Me.red.tint30;Oo.colorPaletteRedBorder2=Me.red.tint30;Oo.colorPaletteGreenForeground3=Me.green.tint40;Oo.colorPaletteGreenBorder2=Me.green.tint40;Oo.colorPaletteDarkOrangeForeground3=Me.darkOrange.tint30;Oo.colorPaletteDarkOrangeBorder2=Me.darkOrange.tint30;Oo.colorPaletteRedForegroundInverted=Me.red.primary;Oo.colorPaletteGreenForegroundInverted=Me.green.primary;Oo.colorPaletteYellowForegroundInverted=Me.yellow.shade30;const Id=Qh.reduce((e,t)=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),i={[`colorPalette${o}Background2`]:Ir[t].shade30,[`colorPalette${o}Foreground2`]:Ir[t].tint40,[`colorPalette${o}BorderActive`]:Ir[t].tint30};return Object.assign(e,i)},{});Id.colorPaletteDarkRedBackground2=Ir.darkRed.shade20;Id.colorPalettePlumBackground2=Ir.plum.shade20;const CS={...Oo,...Id},Lr=Object.entries(Mt).reduce((e,[t,o])=>{const i=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${i}Background1`]:De[o].shade40,[`colorStatus${i}Background2`]:De[o].shade30,[`colorStatus${i}Background3`]:De[o].primary,[`colorStatus${i}Foreground1`]:De[o].tint30,[`colorStatus${i}Foreground2`]:De[o].tint40,[`colorStatus${i}Foreground3`]:De[o].tint20,[`colorStatus${i}BorderActive`]:De[o].tint30,[`colorStatus${i}ForegroundInverted`]:De[o].shade10,[`colorStatus${i}Border1`]:De[o].primary,[`colorStatus${i}Border2`]:De[o].tint20};return Object.assign(e,a)},{});Lr.colorStatusDangerBackground3Hover=De[Mt.danger].shade10;Lr.colorStatusDangerBackground3Pressed=De[Mt.danger].shade20;Lr.colorStatusDangerForeground3=De[Mt.danger].tint40;Lr.colorStatusDangerBorder2=De[Mt.danger].tint30;Lr.colorStatusSuccessForeground3=De[Mt.success].tint40;Lr.colorStatusSuccessBorder2=De[Mt.success].tint40;Lr.colorStatusWarningForegroundInverted=De[Mt.warning].shade20;const YD=jS(lb),TS=e=>({colorNeutralForeground1:Ce,colorNeutralForeground1Hover:Ce,colorNeutralForeground1Pressed:Ce,colorNeutralForeground1Selected:Ce,colorNeutralForeground2:U[84],colorNeutralForeground2Hover:Ce,colorNeutralForeground2Pressed:Ce,colorNeutralForeground2Selected:Ce,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:U[68],colorNeutralForeground3Hover:U[84],colorNeutralForeground3Pressed:U[84],colorNeutralForeground3Selected:U[84],colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:U[60],colorNeutralForeground5:U[68],colorNeutralForeground5Hover:Ce,colorNeutralForeground5Pressed:Ce,colorNeutralForeground5Selected:Ce,colorNeutralForegroundDisabled:U[36],colorNeutralForegroundInvertedDisabled:_t[40],colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:U[84],colorNeutralForeground2LinkHover:Ce,colorNeutralForeground2LinkPressed:Ce,colorNeutralForeground2LinkSelected:Ce,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:U[14],colorNeutralForegroundStaticInverted:Ce,colorNeutralForegroundInverted:U[14],colorNeutralForegroundInvertedHover:U[14],colorNeutralForegroundInvertedPressed:U[14],colorNeutralForegroundInvertedSelected:U[14],colorNeutralForegroundInverted2:U[14],colorNeutralForegroundOnBrand:Ce,colorNeutralForegroundInvertedLink:Ce,colorNeutralForegroundInvertedLinkHover:Ce,colorNeutralForegroundInvertedLinkPressed:Ce,colorNeutralForegroundInvertedLinkSelected:Ce,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:U[16],colorNeutralBackground1Hover:U[24],colorNeutralBackground1Pressed:U[12],colorNeutralBackground1Selected:U[22],colorNeutralBackground2:U[12],colorNeutralBackground2Hover:U[20],colorNeutralBackground2Pressed:U[8],colorNeutralBackground2Selected:U[18],colorNeutralBackground3:U[8],colorNeutralBackground3Hover:U[16],colorNeutralBackground3Pressed:U[4],colorNeutralBackground3Selected:U[14],colorNeutralBackground4:U[4],colorNeutralBackground4Hover:U[12],colorNeutralBackground4Pressed:Yl,colorNeutralBackground4Selected:U[10],colorNeutralBackground5:Yl,colorNeutralBackground5Hover:U[8],colorNeutralBackground5Pressed:U[2],colorNeutralBackground5Selected:U[6],colorNeutralBackground6:U[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:U[10],colorNeutralBackground7Pressed:U[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:U[16],colorNeutralBackgroundInverted:Ce,colorNeutralBackgroundInvertedHover:U[96],colorNeutralBackgroundInvertedPressed:U[88],colorNeutralBackgroundInvertedSelected:U[92],colorNeutralBackgroundStatic:U[24],colorNeutralBackgroundAlpha:V2[50],colorNeutralBackgroundAlpha2:W2[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:U[22],colorSubtleBackgroundPressed:U[18],colorSubtleBackgroundSelected:U[20],colorSubtleBackgroundLightAlphaHover:Pg[80],colorSubtleBackgroundLightAlphaPressed:Pg[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:oo[10],colorSubtleBackgroundInvertedPressed:oo[30],colorSubtleBackgroundInvertedSelected:oo[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:U[8],colorNeutralBackgroundDisabled2:U[16],colorNeutralBackgroundInvertedDisabled:_t[10],colorNeutralStencil1:U[34],colorNeutralStencil2:U[20],colorNeutralStencil1Alpha:_t[10],colorNeutralStencil2Alpha:_t[5],colorBackgroundOverlay:oo[50],colorScrollbarOverlay:_t[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:Ce,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:U[20],colorNeutralCardBackgroundHover:U[24],colorNeutralCardBackgroundPressed:U[18],colorNeutralCardBackgroundSelected:U[22],colorNeutralCardBackgroundDisabled:U[8],colorNeutralStrokeAccessible:U[68],colorNeutralStrokeAccessibleHover:U[74],colorNeutralStrokeAccessiblePressed:U[70],colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:U[40],colorNeutralStroke1Hover:U[46],colorNeutralStroke1Pressed:U[42],colorNeutralStroke1Selected:U[44],colorNeutralStroke2:U[32],colorNeutralStroke3:U[24],colorNeutralStroke4:U[24],colorNeutralStroke4Hover:U[18],colorNeutralStroke4Pressed:U[14],colorNeutralStroke4Selected:U[24],colorNeutralStrokeSubtle:U[4],colorNeutralStrokeOnBrand:U[16],colorNeutralStrokeOnBrand2:Ce,colorNeutralStrokeOnBrand2Hover:Ce,colorNeutralStrokeOnBrand2Pressed:Ce,colorNeutralStrokeOnBrand2Selected:Ce,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:U[26],colorNeutralStrokeDisabled2:U[24],colorNeutralStrokeInvertedDisabled:_t[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:_t[10],colorNeutralStrokeAlpha2:_t[20],colorStrokeFocus1:Yl,colorStrokeFocus2:Ce,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)"}),qS=e=>{const t=TS(e);return{...Yh,...eb,...tb,...rb,...ob,...ab,...nb,...ib,...Zh,...Jh,...t,...CS,...Lr,...ts(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...ts(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},JD=qS(lb),sb={root:"fui-FluentProvider"},IS=Zw({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);}"]}),RS=e=>{const t=oh(),o=IS({dir:e.dir,renderer:t});return e.root.className=R(sb.root,e.themeClassName,o.root,e.root.className),e},ES=m.useInsertionEffect?m.useInsertionEffect:He,PS=(e,t)=>{if(!e?.head)return;const o=e.createElement("style");return Object.keys(t).forEach(i=>{o.setAttribute(i,t[i])}),e.head.appendChild(o),o},DS=(e,t)=>{const o=e.sheet;o&&(o.cssRules.length>0&&o.deleteRule(0),o.insertRule(t,0))},FS=e=>{const{targetDocument:t,theme:o,rendererAttributes:i}=e,a=m.useRef(void 0),l=Le(sb.root),c=i,u=m.useMemo(()=>qk(`.${l}`,o),[o,l]);return MS(t,l),ES(()=>{const d=t?.getElementById(l);return d?a.current=d:(a.current=PS(t,{...c,id:l}),a.current&&DS(a.current,u)),()=>{var p;(p=a.current)===null||p===void 0||p.remove()}},[l,t,u,c]),{styleTagId:l,rule:u}};function MS(e,t){m.useState(()=>{if(!e)return;const o=e.getElementById(t);o&&e.head.append(o)})}const HS={},AS={},OS=(e,t)=>{const o=Ie(),i=LS(),a=ka(),l=m.useContext(Bd)||HS,{applyStylesToPortals:c=!0,customStyleHooks_unstable:u,dir:d=o.dir,targetDocument:p=o.targetDocument,theme:v,overrides_unstable:h={}}=e,x=Iu(i,v),y=Iu(a,h),k=Iu(l,u),b=oh();var B;const{styleTagId:z,rule:j}=FS({theme:x,targetDocument:p,rendererAttributes:(B=b.styleElementAttributes)!==null&&B!==void 0?B:AS});return{applyStylesToPortals:c,customStyleHooks_unstable:k,dir:d,targetDocument:p,theme:x,overrides_unstable:y,themeClassName:z,components:{root:"div"},root:ie(ze("div",{...e,dir:d,ref:Se(t,bn({targetDocument:p}))}),{elementType:"div"}),serverStyleProps:{cssRule:j,attributes:{...b.styleElementAttributes,id:z}}}};function Iu(e,t){return e&&t?{...e,...t}:e||t}function LS(){return m.useContext(dh)}function VS(e){const{applyStylesToPortals:t,customStyleHooks_unstable:o,dir:i,root:a,targetDocument:l,theme:c,themeClassName:u,overrides_unstable:d}=e,p=m.useMemo(()=>({dir:i,targetDocument:l}),[i,l]),[v]=m.useState(()=>({})),h=m.useMemo(()=>({textDirection:i}),[i]);return{customStyleHooks_unstable:o,overrides_unstable:d,provider:p,textDirection:i,iconDirection:h,tooltip:v,theme:c,themeClassName:t?a.className:u}}const WS=m.forwardRef((e,t)=>{const o=OS(e,t);RS(o);const i=VS(o);return Vx(o,i)});WS.displayName="FluentProvider";var Ru={exports:{}},Eu={};var Fg;function $S(){return Fg||(Fg=1,(function(e){function t(P,Y){var F=P.length;P.push(Y);e:for(;0<F;){var ee=F-1>>>1,X=P[ee];if(0<a(X,Y))P[ee]=Y,P[F]=X,F=ee;else break e}}function o(P){return P.length===0?null:P[0]}function i(P){if(P.length===0)return null;var Y=P[0],F=P.pop();if(F!==Y){P[0]=F;e:for(var ee=0,X=P.length,J=X>>>1;ee<J;){var Q=2*(ee+1)-1,A=P[Q],fe=Q+1,ae=P[fe];if(0>a(A,F))fe<X&&0>a(ae,A)?(P[ee]=ae,P[fe]=F,ee=fe):(P[ee]=A,P[Q]=F,ee=Q);else if(fe<X&&0>a(ae,F))P[ee]=ae,P[fe]=F,ee=fe;else break e}}return Y}function a(P,Y){var F=P.sortIndex-Y.sortIndex;return F!==0?F:P.id-Y.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,u=c.now();e.unstable_now=function(){return c.now()-u}}var d=[],p=[],v=1,h=null,x=3,y=!1,k=!1,b=!1,B=!1,z=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;function N(P){for(var Y=o(p);Y!==null;){if(Y.callback===null)i(p);else if(Y.startTime<=P)i(p),Y.sortIndex=Y.expirationTime,t(d,Y);else break;Y=o(p)}}function q(P){if(b=!1,N(P),!k)if(o(d)!==null)k=!0,C||(C=!0,Z());else{var Y=o(p);Y!==null&&we(q,Y.startTime-P)}}var C=!1,M=-1,H=5,W=-1;function ce(){return B?!0:!(e.unstable_now()-W<H)}function te(){if(B=!1,C){var P=e.unstable_now();W=P;var Y=!0;try{e:{k=!1,b&&(b=!1,j(M),M=-1),y=!0;var F=x;try{t:{for(N(P),h=o(d);h!==null&&!(h.expirationTime>P&&ce());){var ee=h.callback;if(typeof ee=="function"){h.callback=null,x=h.priorityLevel;var X=ee(h.expirationTime<=P);if(P=e.unstable_now(),typeof X=="function"){h.callback=X,N(P),Y=!0;break t}h===o(d)&&i(d),N(P)}else i(d);h=o(d)}if(h!==null)Y=!0;else{var J=o(p);J!==null&&we(q,J.startTime-P),Y=!1}}break e}finally{h=null,x=F,y=!1}Y=void 0}}finally{Y?Z():C=!1}}}var Z;if(typeof S=="function")Z=function(){S(te)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,le=$.port2;$.port1.onmessage=te,Z=function(){le.postMessage(null)}}else Z=function(){z(te,0)};function we(P,Y){M=z(function(){P(e.unstable_now())},Y)}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(P){P.callback=null},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function(P){switch(x){case 1:case 2:case 3:var Y=3;break;default:Y=x}var F=x;x=Y;try{return P()}finally{x=F}},e.unstable_requestPaint=function(){B=!0},e.unstable_runWithPriority=function(P,Y){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var F=x;x=P;try{return Y()}finally{x=F}},e.unstable_scheduleCallback=function(P,Y,F){var ee=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?ee+F:ee):F=ee,P){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=F+X,P={id:v++,callback:Y,priorityLevel:P,startTime:F,expirationTime:X,sortIndex:-1},F>ee?(P.sortIndex=F,t(p,P),o(d)===null&&P===o(p)&&(b?(j(M),M=-1):b=!0,we(q,F-ee))):(P.sortIndex=X,t(d,P),k||y||(k=!0,C||(C=!0,Z()))),P},e.unstable_shouldYield=ce,e.unstable_wrapCallback=function(P){var Y=x;return function(){var F=x;x=Y;try{return P.apply(this,arguments)}finally{x=F}}}})(Eu)),Eu}var Mg;function GS(){return Mg||(Mg=1,Ru.exports=$S()),Ru.exports}var Hg=GS();const US=e=>o=>{const i=m.useRef(o.value),a=m.useRef(null);return a.current||(a.current={value:i,listeners:[]}),He(()=>{i.current=o.value,Hg.unstable_runWithPriority(Hg.unstable_NormalPriority,()=>{a.current.listeners.forEach(l=>{l(o.value)})})},[o.value]),m.createElement(e,{value:a.current},o.children)},lo=e=>{const t=m.createContext({value:{current:e},listeners:[],isDefault:!0});return t.Provider=US(t.Provider),delete t.Consumer,t},Bo=(e,t)=>{const o=m.useContext(e),{value:i,listeners:a}=o,l=t(i.current),[,c]=m.useReducer(p=>p+1,0),u=m.useRef(t),d=m.useRef(l);return He(()=>{u.current=t,d.current=l}),He(()=>{const p=v=>{try{const h=u.current(v);Object.is(d.current,h)||c()}catch{}};return a.push(p),p(i.current),()=>{const v=a.indexOf(p);v!==-1&&a.splice(v,1)}},[a,i]),l};function ii(e){return!m.useContext(e).isDefault}const cb=lo(void 0),XS={openItems:[],collapsible:!1,multiple:!1,navigation:void 0,requestToggle(){}},{Provider:KS}=cb,ua=e=>Bo(cb,(t=XS)=>e(t)),QS=(e,t)=>I(e.root,{children:I(KS,{value:t.accordion,children:e.root.children})}),YS=(e,t)=>{const{navigation:o,...i}=e,a=JS(i,t),l=tr({circular:o==="circular",tabbable:!0});return{navigation:o,...a,root:{...a.root,...o?l:void 0}}},JS=(e,t)=>{const{openItems:o,defaultOpenItems:i,multiple:a=!1,collapsible:l=!1,onToggle:c,...u}=e,[d,p]=Xe({state:m.useMemo(()=>tz(o),[o]),defaultState:i&&(()=>ZS({defaultOpenItems:i,multiple:a})),initialState:[]}),v=K(h=>{const x=ez(h.value,d,a,l);c?.(h.event,{value:h.value,openItems:x}),p(x)});return{collapsible:l,multiple:a,openItems:d,requestToggle:v,components:{root:"div"},root:ie({ref:t,...u},{elementType:"div"})}};function ZS({defaultOpenItems:e,multiple:t}){return e!==void 0?Array.isArray(e)?t?e:[e[0]]:[e]:[]}function ez(e,t,o,i){if(o)if(t.includes(e)){if(t.length>1||i)return t.filter(a=>a!==e)}else return[...t,e].sort();else return t[0]===e&&i?[]:[e];return t}function tz(e){if(e!==void 0)return Array.isArray(e)?e:[e]}function oz(e){const{navigation:t,openItems:o,requestToggle:i,multiple:a,collapsible:l}=e;return{accordion:m.useMemo(()=>({navigation:t,openItems:o,requestToggle:i,collapsible:l,multiple:a}),[t,o,i,l,a])}}const rz={root:"fui-Accordion"},nz=e=>(e.root.className=R(rz.root,e.root.className),e),iz=m.forwardRef((e,t)=>{const o=YS(e,t),i=oz(o);return nz(o),de("useAccordionStyles_unstable")(o),QS(o,i)});iz.displayName="Accordion";const az=(e,t)=>{const{value:o,disabled:i=!1,...a}=e,l=ua(d=>d.requestToggle),c=ua(d=>d.openItems.includes(o)),u=K(d=>l({event:d,value:o}));return{open:c,value:o,disabled:i,onHeaderClick:u,components:{root:"div"},root:ie({disabled:i,ref:t,...a},{elementType:"div"})}};function lz(e){const{disabled:t,open:o,value:i,onHeaderClick:a}=e;return{accordionItem:m.useMemo(()=>({disabled:t,open:o,value:i,onHeaderClick:a}),[t,o,i,a])}}const ub=m.createContext(void 0),sz={open:!1,disabled:!1,value:void 0,onHeaderClick(){}},{Provider:cz}=ub,db=()=>{var e;return(e=m.useContext(ub))!==null&&e!==void 0?e:sz},uz=(e,t)=>I(e.root,{children:I(cz,{value:t.accordionItem,children:e.root.children})}),dz={root:"fui-AccordionItem"},fz=e=>(e.root.className=R(dz.root,e.root.className),e),pz=m.forwardRef((e,t)=>{const o=az(e,t),i=lz(o);return fz(o),de("useAccordionItemStyles_unstable")(o),uz(o,i)});pz.displayName="AccordionItem";const vz="Shift",Eo="Enter",$t=" ",fb="Tab",ei="ArrowDown",ai="ArrowLeft",li="ArrowRight",Qn="ArrowUp",gs="End",ms="Home",pb="PageDown",vb="PageUp",gb="Backspace",mb="Delete",Vr="Escape";function Dr(e,t){const{disabled:o,disabledFocusable:i=!1,["aria-disabled"]:a,onClick:l,onKeyDown:c,onKeyUp:u,...d}=t??{},p=typeof a=="string"?a==="true":a,v=o||i||p,h=K(k=>{v?(k.preventDefault(),k.stopPropagation()):l?.(k)}),x=K(k=>{if(c?.(k),k.isDefaultPrevented())return;const b=k.key;if(v&&(b===Eo||b===$t)){k.preventDefault(),k.stopPropagation();return}if(b===$t){k.preventDefault();return}else b===Eo&&(k.preventDefault(),k.currentTarget.click())}),y=K(k=>{if(u?.(k),k.isDefaultPrevented())return;const b=k.key;if(v&&(b===Eo||b===$t)){k.preventDefault(),k.stopPropagation();return}b===$t&&(k.preventDefault(),k.currentTarget.click())});if(e==="button"||e===void 0)return{...d,disabled:o&&!i,"aria-disabled":i?!0:p,onClick:i?void 0:h,onKeyUp:i?void 0:u,onKeyDown:i?void 0:c};{const k=!!d.href;let b=k?void 0:"button";!b&&v&&(b="link");const B={role:b,tabIndex:i||!k&&!o?0:void 0,...d,onClick:h,onKeyUp:y,onKeyDown:x,"aria-disabled":v};return e==="a"&&v&&(B.href=void 0),B}}const Ft=()=>{},gz={controller:{active:Ft,blur:Ft,find:Ft,first:Ft,focus:Ft,focusLastActive:Ft,scrollActiveIntoView:Ft,last:Ft,next:Ft,prev:Ft,showAttributes:Ft,hideAttributes:Ft,showFocusVisibleAttributes:Ft,hideFocusVisibleAttributes:Ft}},Rd=m.createContext(void 0),Ed=Rd.Provider,hb=()=>{var e;return(e=m.useContext(Rd))!==null&&e!==void 0?e:gz},mz=()=>!!m.useContext(Rd);function hz(e){const{matchOption:t}=e,{targetDocument:o}=Ie(),i=m.useRef(null),a=m.useRef(null),l=m.useCallback(d=>it(d)&&t(d)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),c=m.useCallback(d=>{d&&o?(a.current=d,i.current=o.createTreeWalker(d,NodeFilter.SHOW_ELEMENT,l)):(a.current=null,i.current=null)},[o,l]);return{optionWalker:m.useMemo(()=>({first:()=>!i.current||!a.current?null:(i.current.currentNode=a.current,i.current.firstChild()),last:()=>!i.current||!a.current?null:(i.current.currentNode=a.current,i.current.lastChild()),next:()=>i.current?i.current.nextNode():null,prev:()=>i.current?i.current.previousNode():null,find:(d,p)=>{if(!i.current||!a.current)return null;const v=p?o?.getElementById(p):null;i.current.currentNode=v??a.current;let h=i.current.currentNode;for(;h&&!d(h.id);)h=i.current.nextNode();return h},setCurrent:d=>{i.current&&(i.current.currentNode=d)}}),[o]),listboxCallbackRef:c}}const Ag="data-activedescendant",Wn="data-activedescendant-focusvisible",Og=e=>{if(!e)return;const t=bb(e.parentElement);if(!t)return;const{offsetHeight:o}=e,i=yb(e,t),{scrollMarginTop:a,scrollMarginBottom:l}=bz(e),{offsetHeight:c,scrollTop:u}=t,d=i-a<u,p=i+o+l>u+c,v=2;d?t.scrollTo(0,i-a-v):p&&t.scrollTo(0,i+o+l-c+v)},bb=e=>e?e.scrollHeight>e.offsetHeight?e:bb(e.parentElement):null,yb=(e,t)=>!e||e===t?0:e.contains(t)?t.offsetTop*-1:e.offsetTop+yb(e.offsetParent,t),bz=e=>{var t;const o=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;if(!o)return{scrollMarginTop:0,scrollMarginBottom:0};const i=o.getComputedStyle(e);var a;const l=(a=Dl(i.scrollMarginTop))!==null&&a!==void 0?a:Dl(i.scrollMarginBlockStart);var c;const u=(c=Dl(i.scrollMarginBottom))!==null&&c!==void 0?c:Dl(i.scrollMarginBlockEnd);return{scrollMarginTop:l,scrollMarginBottom:u}},Dl=e=>e?parseInt(e,10):0,yz=e=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:e});function Pd(e){const{imperativeRef:t,matchOption:o}=e,i=m.useRef(!1),a=m.useRef(!0),l=m.useRef(null),c=m.useRef(null),u=m.useRef(null),d=m.useRef(!0),p=m.useCallback(()=>{var N;(N=u.current)===null||N===void 0||N.removeAttribute("aria-activedescendant")},[]),v=m.useCallback(N=>{if(N&&(l.current=N),d.current&&l.current){var q;(q=u.current)===null||q===void 0||q.setAttribute("aria-activedescendant",l.current)}},[]);$h(N=>{i.current=N;const q=b();q&&(N&&a.current?q.setAttribute(Wn,""):q.removeAttribute(Wn))});const h=K(o),x=m.useRef(null),{optionWalker:y,listboxCallbackRef:k}=hz({matchOption:h}),b=m.useCallback(()=>{var N;return(N=x.current)===null||N===void 0?void 0:N.querySelector(`#${l.current}`)},[x]),B=m.useCallback(N=>{a.current=N;const q=b();q&&(N&&i.current?q.setAttribute(Wn,""):q.removeAttribute(Wn))},[b]),z=m.useCallback(()=>{const N=b();N&&(N.removeAttribute(Ag),N.removeAttribute(Wn)),p(),c.current=l.current,l.current=null;var q;return(q=N?.id)!==null&&q!==void 0?q:null},[b,p]),j=m.useCallback(N=>{if(!N)return;const q=z();Og(N),v(N.id),N.setAttribute(Ag,""),i.current&&a.current&&N.setAttribute(Wn,"");const C=yz({id:N.id,previousId:q});N.dispatchEvent(C)},[z,v]),S=m.useMemo(()=>({first:({passive:N}={})=>{const q=y.first();return N||j(q),q?.id},last:({passive:N}={})=>{const q=y.last();return N||j(q),q?.id},next:({passive:N}={})=>{const q=b();if(!q)return;y.setCurrent(q);const C=y.next();return N||j(C),C?.id},prev:({passive:N}={})=>{const q=b();if(!q)return;y.setCurrent(q);const C=y.prev();return N||j(C),C?.id},blur:()=>{z()},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&&j(q)},focusLastActive:()=>{if(!x.current||!c.current)return;const N=x.current.querySelector(`#${c.current}`);if(N)return j(N),!0},find(N,{passive:q,startFrom:C}={}){const M=y.find(N,C);return q||j(M),M?.id},scrollActiveIntoView:()=>{if(!x.current)return;const N=b();N&&Og(N)},showAttributes(){d.current=!0,v()},hideAttributes(){d.current=!1,p()},showFocusVisibleAttributes(){B(!0)},hideFocusVisibleAttributes(){B(!1)}}),[y,x,v,p,j,z,b,B]);return m.useImperativeHandle(t,()=>S),{listboxRef:Se(x,k),activeParentRef:u,controller:S}}const wb={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},kb={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={...wb,...kb};function wz(e){if(e.playState==="running"){var t;if(e.overallProgress!==void 0){var o;const u=(o=e.overallProgress)!==null&&o!==void 0?o:0;return u>0&&u<1}var i;const l=Number((i=e.currentTime)!==null&&i!==void 0?i:0);var a;const c=Number((a=(t=e.effect)===null||t===void 0?void 0:t.getTiming().duration)!==null&&a!==void 0?a:0);return l>0&&l<c}return!1}const kz={fill:"forwards"},xz={duration:1};function Bz(e){return{set playbackRate(t){e.forEach(o=>{o.playbackRate=t})},setMotionEndCallbacks(t,o){const i=e.map(a=>new Promise((l,c)=>{a.onfinish=()=>l(),a.oncancel=()=>c()}));Promise.all(i).then(()=>{t()}).catch(()=>{o()})},isRunning(){return e.some(t=>wz(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 Sz(){var e;const t=typeof window<"u"&&typeof((e=window.Animation)===null||e===void 0?void 0:e.prototype.persist)=="function";return m.useCallback((o,i,a)=>{const l=Array.isArray(i)?i:[i],{isReducedMotion:c}=a,u=l.map(d=>{const{keyframes:p,reducedMotion:v=xz,...h}=d,{keyframes:x=p,...y}=v,k=c?x:p,b={...kz,...h,...c&&y};try{const z=o.animate(k,b);if(t)z?.persist();else{const j=k[k.length-1];var B;Object.assign((B=o.style)!==null&&B!==void 0?B:{},j)}return z}catch{return null}}).filter(d=>!!d);return Bz(u)},[t])}function xb(){return Sz()}function Bb(e){const t=m.useRef(void 0);return m.useImperativeHandle(e,()=>({setPlayState:o=>{if(o==="running"){var i;(i=t.current)===null||i===void 0||i.play()}if(o==="paused"){var a;(a=t.current)===null||a===void 0||a.pause()}},setPlaybackRate:o=>{t.current&&(t.current.playbackRate=o)}})),t}const zz="screen and (prefers-reduced-motion: reduce)";function Sb(){const{targetDocument:e}=Ie();var t;const o=(t=e?.defaultView)!==null&&t!==void 0?t:null,i=m.useRef(!1),a=m.useCallback(()=>i.current,[]);return He(()=>{if(o===null||typeof o.matchMedia!="function")return;const l=o.matchMedia(zz);l.matches&&(i.current=!0);const c=u=>{i.current=u.matches};return l.addEventListener("change",c),()=>{l.removeEventListener("change",c)}},[o]),a}const _z=["@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 zb(e,t=!0){const o=m.useRef(null);m.useEffect(()=>{},[t]);try{const i=m.Children.only(e);if(m.isValidElement(i))return[m.cloneElement(i,{ref:Se(o,mn(i))}),o]}catch{}throw new Error(_z)}const _b=m.createContext(void 0);_b.Provider;const Nb=()=>{var e;return(e=m.useContext(_b))!==null&&e!==void 0?e:"default"},Nz=Symbol("MOTION_DEFINITION");function nd(e){return Object.assign(o=>{const{children:i,imperativeRef:a,onMotionFinish:l,onMotionStart:c,onMotionCancel:u,replayKey:d,...p}=o,v=p,[h,x]=zb(i),y=Bb(a),k=m.useRef(!0),b=Nb()==="skip",B=m.useRef({skipMotions:b,params:v}),z=xb(),j=Sb(),S=K(()=>{c?.(null)}),N=K(()=>{l?.(null)}),q=K(()=>{u?.(null)}),C=m.useCallback(M=>{S(),M.setMotionEndCallbacks(N,q),B.current.skipMotions&&M.finish()},[S,N,q]);return He(()=>{B.current={skipMotions:b,params:v}}),He(()=>{const M=x.current;if(M){const H=typeof e=="function"?e({element:M,...B.current.params}):e,W=z(M,H,{isReducedMotion:j()});return y.current=W,C(W),()=>{W.cancel()}}},[z,x,y,j,C]),He(()=>{if(k.current)return;const M=y.current;M&&(M.cancel(),M.play(),C(M))},[d]),He(()=>(k.current=!1,()=>{k.current=!0}),[]),h},{[Nz]:typeof e=="function"?e:()=>e})}const Dd=m.createContext(void 0);Dd.Provider;function jz(e=!1,t=!1){const o=m.useRef(t?e:!0),i=Nx(),a=m.useCallback(l=>{o.current!==l&&(o.current=l,i())},[i]);return m.useEffect(()=>{e&&(o.current=e)}),[e||o.current,a]}const jb=Symbol("PRESENCE_MOTION_DEFINITION"),Cz=Symbol.for("interruptablePresence");function Lo(e){return Object.assign(t=>{const i={...m.useContext(Dd),...t},a=Nb()==="skip",{appear:l,children:c,imperativeRef:u,onExit:d,onMotionFinish:p,onMotionStart:v,onMotionCancel:h,visible:x,unmountOnExit:y,...k}=i,b=k,[B,z]=jz(x,y),[j,S]=zb(c,B),N=Bb(u),q=m.useRef({appear:l,params:b,skipMotions:a}),C=xb(),M=Sd(),H=Sb(),W=K(Z=>{v?.(null,{direction:Z})}),ce=K(Z=>{p?.(null,{direction:Z}),Z==="exit"&&y&&(z(!1),d?.())}),te=K(Z=>{h?.(null,{direction:Z})});return He(()=>{q.current={appear:l,params:b,skipMotions:a}}),He(()=>{const Z=S.current;if(!Z)return;let $;function le(){$&&(P&&$.isRunning()||($.cancel(),N.current=void 0))}const we=typeof e=="function"?e({element:Z,...q.current.params}):e,P=we[Cz];if(P&&($=N.current,$&&$.isRunning()))return $.reverse(),le;const Y=x?we.enter:we.exit,F=x?"enter":"exit",ee=!q.current.appear&&M,X=q.current.skipMotions;return ee||W(F),$=C(Z,Y,{isReducedMotion:H()}),ee?($.finish(),le):(N.current=$,$.setMotionEndCallbacks(()=>ce(F),()=>te(F)),X&&$.finish(),le)},[C,S,N,H,ce,W,te,x]),m.useEffect(()=>{if(y&&!B){var Z;(Z=N.current)===null||Z===void 0||Z.dispose()}},[N,y,B]),B?j:null},{[jb]:typeof e=="function"?e:()=>e},{In:nd(typeof e=="function"?(...t)=>e(...t).enter:e.enter),Out:nd(typeof e=="function"?(...t)=>e(...t).exit:e.exit)})}function Tz(e,t){return i=>e({...t,...i})}function Wr(e,t){const o=e[jb],i=Tz(o,t);return Lo(i)}function Fr(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function qz(e,t){function o(c){return c in t?t[c]:e[c]}const i={};let a=[];for(const c in e){if(c in t){a.length&&(i[c]=a,a=[]);continue}a.push(c)}const l={};for(const c in t){if(i[c])for(const u of i[c])l[u]=o(u);l[c]=o(c)}for(const c of a)l[c]=o(c);return l}function Iz(e,t){const o=qz(e,t);return Object.entries(o).forEach(([i,a])=>{const l=i in e;if(i in t){if(l){o[i]={...a};return}o[i]={...a,appear:!0,visible:!0};return}o[i]={...a,visible:!1}}),o}function Lg(e){const t={};return e&&m.Children.toArray(e).forEach(o=>{if(m.isValidElement(o)){var i;t[(i=o.key)!==null&&i!==void 0?i:""]={appear:!1,element:o,visible:!0,unmountOnExit:!0}}}),t}const Rz=e=>{const{appear:t,childKey:o,onExit:i,visible:a,unmountOnExit:l}=e,c=m.useMemo(()=>({appear:t,visible:a,onExit:()=>i(o),unmountOnExit:l}),[t,o,i,a,l]);return m.createElement(Dd.Provider,{value:c},e.children)};class Ez extends m.Component{static getDerivedStateFromProps(t,{childMapping:o,firstRender:i}){const a=Lg(t.children);return{childMapping:i?a:Iz(o,a),firstRender:!1}}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}render(){return m.createElement(m.Fragment,null,Object.entries(this.state.childMapping).map(([t,o])=>m.createElement(Rz,{...o,childKey:t,key:t,onExit:this.handleExit},o.element)))}constructor(t,o){super(t,o),Fr(this,"mounted",!1),Fr(this,"handleExit",i=>{const a=Lg(this.props.children);i in a||this.mounted&&this.setState(l=>{const c={...l.childMapping};return delete c[i],{childMapping:c}})}),this.state={childMapping:{},firstRender:!0}}}const Fd=m.createContext(void 0);function hs(){return m.useContext(Fd)}const _a=m.forwardRef((e,t)=>m.createElement(Fd.Provider,{value:t},e.children));_a.displayName="MotionRefForwarder";const Cb=e=>m.createElement(Fd.Provider,{value:void 0},e.children);Cb.displayName="MotionRefForwarderReset";function Pz(e,t){const{as:o,children:i,...a}=e??{};if(e===null){const c=(u,d)=>m.createElement(m.Fragment,null,d.children);return{[dn]:c,[Er]:t.elementType}}const l={...t.defaultProps,...a,[Er]:t.elementType};return typeof i=="function"&&(l[dn]=i),l}function si(e,t){const{as:o,children:i,...a}=e??{};if(e===null){const c=!t.defaultProps.visible&&t.defaultProps.unmountOnExit,u=(d,p)=>c?null:m.createElement(m.Fragment,null,p.children);return{[dn]:u,[Er]:t.elementType}}const l={...t.defaultProps,...a,[Er]:t.elementType};return typeof i=="function"&&(l[dn]=i),l}const Dz=(e,t)=>{const{inline:o=!1,size:i="medium",...a}=e,l=Fz(a,t),{dir:c}=Ie();let u;if(l.expandIconPosition==="end"?u=l.open?-90:90:u=l.open?90:c!=="rtl"?0:180,l.expandIcon){var d,p;(p=(d=l.expandIcon).children)!==null&&p!==void 0||(d.children=m.createElement(rh,{style:{transform:`rotate(${u}deg)`,transition:`transform ${qe.durationNormal}ms ease-out`}}))}return{...l,inline:o,size:i}},Fz=(e,t)=>{const{icon:o,button:i,expandIcon:a,expandIconPosition:l="start",...c}=e,{value:u,disabled:d,open:p}=db(),v=ua(y=>y.requestToggle),h=ua(y=>!y.collapsible&&y.openItems.length===1&&p),x=ie(i,{elementType:"button",defaultProps:{disabled:d,disabledFocusable:h,"aria-expanded":p,type:"button"}});return x.onClick=K(y=>{if(Tr(i)){var k;(k=i.onClick)===null||k===void 0||k.call(i,y)}y.defaultPrevented||v({value:u,event:y})}),{disabled:d,open:p,expandIconPosition:l,components:{root:"div",button:"button",expandIcon:"span",icon:"div"},root:ie({ref:t,...c},{elementType:"div"}),icon:ve(o,{elementType:"div"}),expandIcon:ve(a,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"span"}),button:Dr(x.as,x)}},Mz=m.createContext(void 0),{Provider:Hz}=Mz,Az=(e,t)=>I(Hz,{value:t.accordionHeader,children:I(e.root,{children:_e(e.button,{children:[e.expandIconPosition==="start"&&e.expandIcon&&I(e.expandIcon,{}),e.icon&&I(e.icon,{}),e.root.children,e.expandIconPosition==="end"&&e.expandIcon&&I(e.expandIcon,{})]})})}),Fl={root:"fui-AccordionHeader",button:"fui-AccordionHeader__button",expandIcon:"fui-AccordionHeader__expandIcon",icon:"fui-AccordionHeader__icon"},Oz=L({resetButton:{B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bv0vk6g:"f37px4s",fsow6f:"fgusgyc"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},root:{sj55zd:"f19n0e5",De3pzq:"f1c21dwh",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},rootDisabled:{Bcmaq0h:"fwrgwhw",sj55zd:"f1s2aq7o"},rootInline:{mc9l5x:"f14t3ns0"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",B4j52fo:"fre7gi1",Bekrc4i:["f1358rze","f1rvrf73"],Bn0qgzm:"fqdk4by",ibv6hh:["f1rvrf73","f1358rze"],Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1rmphuq","f26yw9j"],sshi5w:"f5pgtk9",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bceei9c:"f1k6fduh",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B7ck84d:"f1ewtqcl"},buttonSmall:{sshi5w:"f1nxs5xn",Be2twd7:"fy9rknc"},buttonLarge:{Bg96gwp:"faaz57k",Be2twd7:"fod5ikn"},buttonExtraLarge:{Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},buttonInline:{mc9l5x:"ftuwxu6"},buttonExpandIconEndNoIcon:{uwmqm3:["f1uw59to","fw5db7e"]},buttonExpandIconEnd:{z189sj:["f11gcy0p","f1ng84yb"]},buttonDisabled:{Bceei9c:"fdrzuqr"},expandIcon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"},expandIconStart:{z189sj:["f1vdfbxk","f1f5gg8d"]},expandIconEnd:{Bh6795r:"fqerorx",Bnnss6s:"f1neuvcm",xawz:"flqd7gy",mc9l5x:"f22iagw",Brf1p80:"f9c4gz4",uwmqm3:["f1f5gg8d","f1vdfbxk"]},icon:{Bqenvij:"f1l02sjl",mc9l5x:"f22iagw",Bt984gj:"f122n59",z189sj:["f1vdfbxk","f1f5gg8d"],Bg96gwp:"f106mvju",Be2twd7:"f1pp30po"}},{d:[".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],".f37px4s{-webkit-appearance:button;}",".fgusgyc{text-align:unset;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f1s184ao{margin:0;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwrgwhw{background-image:none;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f14t3ns0{display:inline-block;}",".f10pi13n{position:relative;}",".fly5x3f{width:100%;}",".fre7gi1{border-top-width:0;}",".f1358rze{border-right-width:0;}",".f1rvrf73{border-left-width:0;}",".fqdk4by{border-bottom-width:0;}",[".f1rmphuq{padding:0 var(--spacingHorizontalM) 0 var(--spacingHorizontalMNudge);}",{p:-1}],[".f26yw9j{padding:0 var(--spacingHorizontalMNudge) 0 var(--spacingHorizontalM);}",{p:-1}],".f5pgtk9{min-height:44px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}",".f1k6fduh{cursor:pointer;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1ewtqcl{box-sizing:border-box;}",".f1nxs5xn{min-height:32px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".ftuwxu6{display:inline-flex;}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".fdrzuqr{cursor:not-allowed;}",".f1l02sjl{height:100%;}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fqerorx{flex-grow:1;}",".f1neuvcm{flex-shrink:1;}",".flqd7gy{flex-basis:0%;}",".f9c4gz4{justify-content:flex-end;}"],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],m:[["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),Lz=e=>{const t=Oz();return e.root.className=R(Fl.root,t.root,e.inline&&t.rootInline,e.disabled&&t.rootDisabled,e.root.className),e.button.className=R(Fl.button,t.resetButton,t.button,t.focusIndicator,e.expandIconPosition==="end"&&!e.icon&&t.buttonExpandIconEndNoIcon,e.expandIconPosition==="end"&&t.buttonExpandIconEnd,e.inline&&t.buttonInline,e.size==="small"&&t.buttonSmall,e.size==="large"&&t.buttonLarge,e.size==="extra-large"&&t.buttonExtraLarge,e.disabled&&t.buttonDisabled,e.button.className),e.expandIcon&&(e.expandIcon.className=R(Fl.expandIcon,t.expandIcon,e.expandIconPosition==="start"&&t.expandIconStart,e.expandIconPosition==="end"&&t.expandIconEnd,e.expandIcon.className)),e.icon&&(e.icon.className=R(Fl.icon,t.icon,e.icon.className)),e};function Vz(e){const{disabled:t,expandIconPosition:o,open:i,size:a}=e;return{accordionHeader:m.useMemo(()=>({disabled:t,expandIconPosition:o,open:i,size:a}),[t,o,i,a])}}const Wz=m.forwardRef((e,t)=>{const o=Dz(e,t),i=Vz(o);return Lz(o),de("useAccordionHeaderStyles_unstable")(o),Az(o,i)});Wz.displayName="AccordionHeader";const Tb=(e,t)=>{const o=e==="horizontal"?"maxWidth":"maxHeight",i=e==="horizontal"?"overflowX":"overflowY",l=`${e==="horizontal"?t.scrollWidth:t.scrollHeight}px`;return{sizeName:o,overflowName:i,toSize:l}},$z=({orientation:e,duration:t,easing:o,element:i,outSize:a="0",delay:l=0})=>{const{sizeName:c,overflowName:u,toSize:d}=Tb(e,i);return{keyframes:[{[c]:a,[u]:"hidden"},{[c]:d,offset:.9999,[u]:"hidden"},{[c]:"unset",[u]:"unset"}],duration:t,easing:o,delay:l,fill:"both"}},Gz=({orientation:e,duration:t,easing:o,element:i,delay:a=0,outSize:l="0"})=>{const{sizeName:c,overflowName:u,toSize:d}=Tb(e,i);return{keyframes:[{[c]:d,[u]:"hidden"},{[c]:l,[u]:"hidden"}],duration:t,easing:o,delay:a,fill:"both"}},Uz=e=>e==="horizontal"?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"},Vg=({direction:e,orientation:t,duration:o,easing:i,delay:a=0})=>{const{paddingStart:l,paddingEnd:c,marginStart:u,marginEnd:d}=Uz(t),p=e==="enter"?0:1;return{keyframes:[{[l]:"0",[c]:"0",[u]:"0",[d]:"0",offset:p}],duration:o,easing:i,delay:a,fill:"both"}},ao=({direction:e,duration:t,easing:o=qe.curveLinear,delay:i=0,outOpacity:a=0,inOpacity:l=1})=>{const c=[{opacity:a},{opacity:l}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:o,delay:i,fill:"both"}},Xz=({element:e,duration:t=qe.durationNormal,exitDuration:o=t,sizeDuration:i=t,opacityDuration:a=i,exitSizeDuration:l=o,exitOpacityDuration:c=l,easing:u=qe.curveEasyEaseMax,delay:d=0,exitEasing:p=u,exitDelay:v=d,staggerDelay:h=0,exitStaggerDelay:x=h,animateOpacity:y=!0,orientation:k="vertical",outSize:b="0px"})=>{const B=[$z({orientation:k,duration:i,easing:u,element:e,outSize:b,delay:d}),Vg({direction:"enter",orientation:k,duration:i,easing:u,delay:d})];y&&B.push(ao({direction:"enter",duration:a,easing:u,delay:d+h}));const z=[];return y&&z.push(ao({direction:"exit",duration:c,easing:p,delay:v})),z.push(Gz({orientation:k,duration:l,easing:p,element:e,delay:v+x,outSize:b}),Vg({direction:"exit",orientation:k,duration:l,easing:p,delay:v+x})),{enter:B,exit:z}},Mr=Lo(Xz);Wr(Mr,{duration:qe.durationFast});Wr(Mr,{duration:qe.durationSlower});Wr(Mr,{sizeDuration:qe.durationNormal,opacityDuration:qe.durationSlower,staggerDelay:qe.durationNormal,exitSizeDuration:qe.durationNormal,exitOpacityDuration:qe.durationSlower,exitStaggerDelay:qe.durationSlower,easing:qe.curveEasyEase,exitEasing:qe.curveEasyEase});const Kz=({duration:e=qe.durationNormal,easing:t=qe.curveEasyEase,delay:o=0,exitDuration:i=e,exitEasing:a=t,exitDelay:l=o,outOpacity:c=0,inOpacity:u=1})=>({enter:ao({direction:"enter",duration:e,easing:t,delay:o,outOpacity:c,inOpacity:u}),exit:ao({direction:"exit",duration:i,easing:a,delay:l,outOpacity:c,inOpacity:u})}),qb=Lo(Kz);Wr(qb,{duration:qe.durationFast});const Qz=Wr(qb,{duration:qe.durationGentle}),Wg=({direction:e,duration:t,easing:o=qe.curveLinear,delay:i=0,outScale:a=.9,inScale:l=1})=>{const c=[{scale:a},{scale:l}];return e==="exit"&&c.reverse(),{keyframes:c,duration:t,easing:o,delay:i}},Yz=({duration:e=qe.durationGentle,easing:t=qe.curveDecelerateMax,delay:o=0,exitDuration:i=qe.durationNormal,exitEasing:a=qe.curveAccelerateMax,exitDelay:l=o,outScale:c=.9,inScale:u=1,animateOpacity:d=!0})=>{const p=[Wg({direction:"enter",duration:e,easing:t,delay:o,outScale:c,inScale:u})],v=[Wg({direction:"exit",duration:i,easing:a,delay:l,outScale:c,inScale:u})];return d&&(p.push(ao({direction:"enter",duration:e,easing:t,delay:o})),v.push(ao({direction:"exit",duration:i,easing:a,delay:l}))),{enter:p,exit:v}},Md=Lo(Yz);Wr(Md,{duration:qe.durationNormal,exitDuration:qe.durationFast});Wr(Md,{duration:qe.durationSlow,exitDuration:qe.durationGentle});const Hd=({direction:e,duration:t,easing:o=qe.curveLinear,delay:i=0,outX:a="0px",outY:l="0px",inX:c="0px",inY:u="0px"})=>({keyframes:[{translate:`${a} ${l}`},{translate:`${c} ${u}`}],duration:t,easing:o,delay:i}),Jz=(e,t)=>{const{collapseMotion:o,...i}=e,a=Zz(i,t),l=er({focusable:{excludeFromMover:!0}}),c=ua(u=>u.navigation);return{...a,components:{...a.components,collapseMotion:Mr},root:{...a.root,...c&&l},collapseMotion:si(e.collapseMotion,{elementType:Mr,defaultProps:{visible:a.open,unmountOnExit:!0}})}},Zz=(e,t)=>{const{open:o}=db();return{open:o,components:{root:"div"},root:ie({ref:t,...e,...o?{}:{tabIndex:-1,inert:!0}},{elementType:"div"})}},e3=e=>e.collapseMotion?I(e.collapseMotion,{children:I(e.root,{})}):I(e.root,{}),t3={root:"fui-AccordionPanel"},o3=L({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1axvtxu"}},{d:[[".f1axvtxu{margin:0 var(--spacingHorizontalM);}",{p:-1}]]}),r3=e=>{const t=o3();return e.root.className=R(t3.root,t.root,e.root.className),e},n3=m.forwardRef((e,t)=>{const o=Jz(e,t);return r3(o),de("useAccordionPanelStyles_unstable")(o),e3(o)});n3.displayName="AccordionPanel";const i3=(e,t)=>{const{shape:o="circular",size:i="medium",appearance:a="filled",color:l="brand",...c}=e;return{...Ib(c,t),shape:o,size:i,appearance:a,color:l}},Ib=(e,t)=>{const{iconPosition:o="before"}=e;return{iconPosition:o,components:{root:"div",icon:"span"},root:ie(ze("div",{ref:t,...e}),{elementType:"div"}),icon:ve(e.icon,{elementType:"span"})}},$g={root:"fui-Badge",icon:"fui-Badge__icon"},a3=me("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;}']),l3=L({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);}"]}),s3=me("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),c3=L({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;}"]}),Rb=e=>{const t=a3(),o=l3(),i=e.size==="small"||e.size==="extra-small"||e.size==="tiny";e.root.className=R($g.root,t,i&&o.fontSmallToTiny,o[e.size],o[e.shape],e.shape==="rounded"&&i&&o.roundedSmallToTiny,e.appearance==="ghost"&&o.borderGhost,o[e.appearance],o[`${e.appearance}-${e.color}`],e.root.className);const a=s3(),l=c3();if(e.icon){let c;m.Children.toArray(e.root.children).length>0&&(e.size==="extra-large"?c=e.iconPosition==="after"?l.afterTextXL:l.beforeTextXL:c=e.iconPosition==="after"?l.afterText:l.beforeText),e.icon.className=R($g.icon,a,c,l[e.size],e.icon.className)}return e},Eb=e=>_e(e.root,{children:[e.iconPosition==="before"&&e.icon&&I(e.icon,{}),e.root.children,e.iconPosition==="after"&&e.icon&&I(e.icon,{})]}),u3=m.forwardRef((e,t)=>{const o=i3(e,t);return Rb(o),de("useBadgeStyles_unstable")(o),Eb(o)});u3.displayName="Badge";const d3=(e,t)=>{const{shape:o="circular",appearance:i="filled",color:a="brand",size:l="medium",...c}=e;return{...f3(c,t),shape:o,appearance:i,color:a,size:l}},f3=(e,t)=>{const{showZero:o=!1,overflowCount:i=99,count:a=0,dot:l=!1,...c}=e,u={...Ib(c,t),showZero:o,count:a,dot:l};return(a!==0||o)&&!l&&!u.root.children&&(u.root.children=a>i?`${i}+`:`${a}`),u},Gg={root:"fui-CounterBadge",icon:"fui-CounterBadge__icon"},p3=L({dot:{Bf4jedk:"fgfkb25",a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai"},hide:{mc9l5x:"fjseox"}},{d:[".fgfkb25{min-width:auto;}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",[".f1mk8lai{padding:0;}",{p:-1}],".fjseox{display:none;}"]}),v3=e=>{const t=p3();return e.root.className=R(Gg.root,e.dot&&t.dot,!e.root.children&&!e.dot&&t.hide,e.root.className),e.icon&&(e.icon.className=R(Gg.icon,e.icon.className)),Rb(e)},g3=m.forwardRef((e,t)=>{const o=d3(e,t);return v3(o),de("useCounterBadgeStyles_unstable")(o),Eb(o)});g3.displayName="CounterBadge";const m3=m.createContext(void 0),Ad=m3.Provider;function h3(e){const t=e.clientX,o=e.clientY,i=t+1,a=o+1;function l(){return{left:t,top:o,right:i,bottom:a,x:t,y:o,height:1,width:1}}return{getBoundingClientRect:l}}const Ug="data-popper-is-intersecting",Xg="data-popper-escaped",Kg="data-popper-reference-hidden",b3="data-popper-placement",id="fui-positioningend",os="--fui-positioning-slide-direction-x",rs="--fui-positioning-slide-direction-y";function y3(e){const t=e.split("-")[0];let o=0,i=1;return t==="right"?(o=-1,i=0):t==="bottom"?(o=0,i=-1):t==="left"&&(o=1,i=0),{x:o,y:i}}function Pb(e){const{targetDocument:t,onPositioningEnd:o}=e,i=K(a=>{o?.(a);const l=a.target,c=a.detail.placement;if(!it(l))return;const{x:u,y:d}=y3(c);l.style.setProperty(os,`${u}px`),l.style.setProperty(rs,`${d}px`)});return m.useEffect(()=>{var a,l,c;const u=(c=t==null||(l=t.defaultView)===null||l===void 0||(a=l.CSS)===null||a===void 0?void 0:a.registerProperty)!==null&&c!==void 0?c:()=>{};try{u({name:os,syntax:"<length>",inherits:!1,initialValue:"0px"}),u({name:rs,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch{}},[t]),i}const w3=({options:e})=>e,Db=m.createContext(void 0);Db.Provider;const k3=()=>{var e;return(e=m.useContext(Db))!==null&&e!==void 0?e:w3},x3=["top","right","bottom","left"],vn=Math.min,Rr=Math.max,ns=Math.round,Zo=e=>({x:e,y:e}),B3={left:"right",right:"left",bottom:"top",top:"bottom"};function Fb(e,t,o){return Rr(e,vn(t,o))}function rr(e,t){return typeof e=="function"?e(t):e}function Hr(e){return e.split("-")[0]}function ci(e){return e.split("-")[1]}function Od(e){return e==="x"?"y":"x"}function Ld(e){return e==="y"?"height":"width"}function Ro(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Vd(e){return Od(Ro(e))}function S3(e,t,o){o===void 0&&(o=!1);const i=ci(e),a=Vd(e),l=Ld(a);let c=a==="x"?i===(o?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(c=is(c)),[c,is(c)]}function z3(e){const t=is(e);return[ad(e),t,ad(t)]}function ad(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Qg=["left","right"],Yg=["right","left"],_3=["top","bottom"],N3=["bottom","top"];function j3(e,t,o){switch(e){case"top":case"bottom":return o?t?Yg:Qg:t?Qg:Yg;case"left":case"right":return t?_3:N3;default:return[]}}function C3(e,t,o,i){const a=ci(e);let l=j3(Hr(e),o==="start",i);return a&&(l=l.map(c=>c+"-"+a),t&&(l=l.concat(l.map(ad)))),l}function is(e){const t=Hr(e);return B3[t]+e.slice(t.length)}function T3(e){var t,o,i,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(i=e.bottom)!=null?i:0,left:(a=e.left)!=null?a:0}}function Mb(e){return typeof e!="number"?T3(e):{top:e,right:e,bottom:e,left:e}}function as(e){const{x:t,y:o,width:i,height:a}=e;return{width:i,height:a,top:o,left:t,right:t+i,bottom:o+a,x:t,y:o}}function Jg(e,t,o){let{reference:i,floating:a}=e;const l=Ro(t),c=Vd(t),u=Ld(c),d=Hr(t),p=l==="y",v=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,x=i[u]/2-a[u]/2;let y;switch(d){case"top":y={x:v,y:i.y-a.height};break;case"bottom":y={x:v,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:h};break;case"left":y={x:i.x-a.width,y:h};break;default:y={x:i.x,y:i.y}}const k=ci(t);return k&&(y[c]+=x*(k==="end"?1:-1)*(o&&p?-1:1)),y}async function Hb(e,t){var o;t===void 0&&(t={});const{x:i,y:a,platform:l,rects:c,elements:u,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:v="viewport",elementContext:h="floating",altBoundary:x=!1,padding:y=0}=rr(t,e),k=Mb(y),B=u[x?h==="floating"?"reference":"floating":h],z=as(await l.getClippingRect({element:(o=await(l.isElement==null?void 0:l.isElement(B)))==null||o?B:B.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(u.floating)),boundary:p,rootBoundary:v,strategy:d})),j=h==="floating"?{x:i,y:a,width:c.floating.width,height:c.floating.height}:c.reference,S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u.floating)),N=await(l.isElement==null?void 0:l.isElement(S))&&await(l.getScale==null?void 0:l.getScale(S))||{x:1,y:1},q=as(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:j,offsetParent:S,strategy:d}):j);return{top:(z.top-q.top+k.top)/N.y,bottom:(q.bottom-z.bottom+k.bottom)/N.y,left:(z.left-q.left+k.left)/N.x,right:(q.right-z.right+k.right)/N.x}}const q3=50,I3=async(e,t,o)=>{const{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=o,u=c.detectOverflow?c:{...c,detectOverflow:Hb},d=await(c.isRTL==null?void 0:c.isRTL(t));let p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:v,y:h}=Jg(p,i,d),x=i,y=0;const k={};for(let b=0;b<l.length;b++){const B=l[b];if(!B)continue;const{name:z,fn:j}=B,{x:S,y:N,data:q,reset:C}=await j({x:v,y:h,initialPlacement:i,placement:x,strategy:a,middlewareData:k,rects:p,platform:u,elements:{reference:e,floating:t}});v=S??v,h=N??h,k[z]={...k[z],...q},C&&y<q3&&(y++,typeof C=="object"&&(C.placement&&(x=C.placement),C.rects&&(p=C.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):C.rects),{x:v,y:h}=Jg(p,x,d)),b=-1)}return{x:v,y:h,placement:x,strategy:a,middlewareData:k}},R3=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:i,placement:a,rects:l,platform:c,elements:u,middlewareData:d}=t,{element:p,padding:v=0}=rr(e,t)||{};if(p==null)return{};const h=Mb(v),x={x:o,y:i},y=Vd(a),k=Ld(y),b=await c.getDimensions(p),B=y==="y",z=B?"top":"left",j=B?"bottom":"right",S=B?"clientHeight":"clientWidth",N=l.reference[k]+l.reference[y]-x[y]-l.floating[k],q=x[y]-l.reference[y],C=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p));let M=C?C[S]:0;(!M||!await(c.isElement==null?void 0:c.isElement(C)))&&(M=u.floating[S]||l.floating[k]);const H=N/2-q/2,W=M/2-b[k]/2-1,ce=vn(h[z],W),te=vn(h[j],W),Z=M-b[k]-te,$=M/2-b[k]/2+H,le=Fb(ce,$,Z),we=!d.arrow&&ci(a)!=null&&$!==le&&l.reference[k]/2-($<ce?ce:te)-b[k]/2<0,P=we?$<ce?$-ce:$-Z:0;return{[y]:x[y]+P,data:{[y]:le,centerOffset:$-le-P,...we&&{alignmentOffset:P}},reset:we}}}),E3=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,i;const{placement:a,middlewareData:l,rects:c,initialPlacement:u,platform:d,elements:p}=t,{mainAxis:v=!0,crossAxis:h=!0,fallbackPlacements:x,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:b=!0,...B}=rr(e,t);if((o=l.arrow)!=null&&o.alignmentOffset)return{};const z=Hr(a),j=Ro(u),S=Hr(u)===u,N=await(d.isRTL==null?void 0:d.isRTL(p.floating)),q=x||(S||!b?[is(u)]:z3(u)),C=k!=="none";!x&&C&&q.push(...C3(u,b,k,N));const M=[u,...q],H=await d.detectOverflow(t,B),W=[];let ce=((i=l.flip)==null?void 0:i.overflows)||[];if(v&&W.push(H[z]),h){const le=S3(a,c,N);W.push(H[le[0]],H[le[1]])}if(ce=[...ce,{placement:a,overflows:W}],!W.every(le=>le<=0)){var te,Z;const le=(((te=l.flip)==null?void 0:te.index)||0)+1,we=M[le];if(we&&(!(h==="alignment"?j!==Ro(we):!1)||ce.every(F=>Ro(F.placement)===j?F.overflows[0]>0:!0)))return{data:{index:le,overflows:ce},reset:{placement:we}};let P=(Z=ce.filter(Y=>Y.overflows[0]<=0).sort((Y,F)=>Y.overflows[1]-F.overflows[1])[0])==null?void 0:Z.placement;if(!P)switch(y){case"bestFit":{var $;const Y=($=ce.filter(F=>{if(C){const ee=Ro(F.placement);return ee===j||ee==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(ee=>ee>0).reduce((ee,X)=>ee+X,0)]).sort((F,ee)=>F[1]-ee[1])[0])==null?void 0:$[0];Y&&(P=Y);break}case"initialPlacement":P=u;break}if(a!==P)return{reset:{placement:P}}}return{}}}};function Zg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function em(e){return x3.some(t=>e[t]>=0)}const P3=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:o,platform:i}=t,{strategy:a="referenceHidden",...l}=rr(e,t);switch(a){case"referenceHidden":{const c=await i.detectOverflow(t,{...l,elementContext:"reference"}),u=Zg(c,o.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:em(u)}}}case"escaped":{const c=await i.detectOverflow(t,{...l,altBoundary:!0}),u=Zg(c,o.floating);return{data:{escapedOffsets:u,escaped:em(u)}}}default:return{}}}}},Ab=new Set(["left","top"]);async function D3(e,t){const{placement:o,platform:i,elements:a}=e,l=await(i.isRTL==null?void 0:i.isRTL(a.floating)),c=Hr(o),u=ci(o),d=Ro(o)==="y",p=Ab.has(c)?-1:1,v=l&&d?-1:1,h=rr(t,e);let{mainAxis:x,crossAxis:y,alignmentAxis:k}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&typeof k=="number"&&(y=u==="end"?k*-1:k),d?{x:y*v,y:x*p}:{x:x*p,y:y*v}}const F3=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,i;const{x:a,y:l,placement:c,middlewareData:u}=t,d=await D3(t,e);return c===((o=u.offset)==null?void 0:o.placement)&&(i=u.arrow)!=null&&i.alignmentOffset?{}:{x:a+d.x,y:l+d.y,data:{...d,placement:c}}}}},M3=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:i,placement:a,platform:l}=t,{mainAxis:c=!0,crossAxis:u=!1,limiter:d={fn:j=>{let{x:S,y:N}=j;return{x:S,y:N}}},...p}=rr(e,t),v={x:o,y:i},h=await l.detectOverflow(t,p),x=Ro(a),y=Od(x);let k=v[y],b=v[x];const B=(j,S)=>Fb(S+h[j==="y"?"top":"left"],S,S-h[j==="y"?"bottom":"right"]);c&&(k=B(y,k)),u&&(b=B(x,b));const z=d.fn({...t,[y]:k,[x]:b});return{...z,data:{x:z.x-o,y:z.y-i,enabled:{[y]:c,[x]:u}}}}}},H3=function(e){return e===void 0&&(e={}),{options:e,fn(t){var o,i;const{x:a,y:l,placement:c,rects:u,middlewareData:d}=t,{offset:p=0,mainAxis:v=!0,crossAxis:h=!0}=rr(e,t),x={x:a,y:l},y=Ro(c),k=Od(y);let b=x[k],B=x[y];const z=rr(p,t),j=typeof z=="number"?{mainAxis:z,crossAxis:0}:{mainAxis:(o=z.mainAxis)!=null?o:0,crossAxis:(i=z.crossAxis)!=null?i:0};if(v){const q=k==="y"?"height":"width",C=u.reference[k]-u.floating[q]+j.mainAxis,M=u.reference[k]+u.reference[q]-j.mainAxis;b<C?b=C:b>M&&(b=M)}if(h){var S,N;const q=k==="y"?"width":"height",C=Ab.has(Hr(c)),M=u.reference[y]-u.floating[q]+(C&&((S=d.offset)==null?void 0:S[y])||0)+(C?0:j.crossAxis),H=u.reference[y]+u.reference[q]+(C?0:((N=d.offset)==null?void 0:N[y])||0)-(C?j.crossAxis:0);B<M?B=M:B>H&&(B=H)}return{[k]:b,[y]:B}}}},A3=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:i,platform:a,elements:l}=t,{apply:c=()=>{},...u}=rr(e,t),d=await a.detectOverflow(t,u),p=Hr(o),v=ci(o),h=Ro(o)==="y",{width:x,height:y}=i.floating;let k,b;p==="top"||p==="bottom"?(k=p,b=v===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(b=p,k=v==="end"?"top":"bottom");const B=y-d.top-d.bottom,z=x-d.left-d.right,j=vn(y-d[k],B),S=vn(x-d[b],z),N=t.middlewareData.shift,q=!N;let C=j,M=S;N!=null&&N.enabled.x&&(M=z),N!=null&&N.enabled.y&&(C=B),q&&!v&&(h?M=x-2*Rr(d.left,d.right):C=y-2*Rr(d.top,d.bottom)),await c({...t,availableWidth:M,availableHeight:C});const H=await a.getDimensions(l.floating);return x!==H.width||y!==H.height?{reset:{rects:!0}}:{}}}};function bs(){return typeof window<"u"}function ui(e){return Ob(e)?(e.nodeName||"").toLowerCase():"#document"}function Ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $r(e){var t;return(t=(Ob(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ob(e){return bs()?e instanceof Node||e instanceof Ut(e).Node:!1}function Fo(e){return bs()?e instanceof Element||e instanceof Ut(e).Element:!1}function Gr(e){return bs()?e instanceof HTMLElement||e instanceof Ut(e).HTMLElement:!1}function tm(e){return!bs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ut(e).ShadowRoot}function ys(e){const{overflow:t,overflowX:o,overflowY:i,display:a}=Mo(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+o)&&a!=="inline"&&a!=="contents"}function O3(e){return/^(table|td|th)$/.test(ui(e))}function ws(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const L3=/transform|translate|scale|rotate|perspective|filter/,V3=/paint|layout|strict|content/,cn=e=>!!e&&e!=="none";let Pu;function Wd(e){const t=Fo(e)?Mo(e):e;return cn(t.transform)||cn(t.translate)||cn(t.scale)||cn(t.rotate)||cn(t.perspective)||!$d()&&(cn(t.backdropFilter)||cn(t.filter))||L3.test(t.willChange||"")||V3.test(t.contain||"")}function W3(e){let t=gn(e);for(;Gr(t)&&!da(t);){if(Wd(t))return t;if(ws(t))return null;t=gn(t)}return null}function $d(){return Pu==null&&(Pu=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pu}function da(e){return/^(html|body|#document)$/.test(ui(e))}function Mo(e){return Ut(e).getComputedStyle(e)}function ks(e){return Fo(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function gn(e){if(ui(e)==="html")return e;const t=e.assignedSlot||e.parentNode||tm(e)&&e.host||$r(e);return tm(t)?t.host:t}function Lb(e){const t=gn(e);return da(t)?(e.ownerDocument||e).body:Gr(t)&&ys(t)?t:Lb(t)}function Vb(e,t,o){var i;t===void 0&&(t=[]);const a=Lb(e),l=a===((i=e.ownerDocument)==null?void 0:i.body),c=Ut(a);return l?(ld(c),t.concat(c,c.visualViewport||[],ys(a)?a:[],[])):t.concat(a,Vb(a,[]))}function ld(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Wb(e){const t=Mo(e);let o=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=Gr(e),l=a?e.offsetWidth:o,c=a?e.offsetHeight:i,u=ns(o)!==l||ns(i)!==c;return u&&(o=l,i=c),{width:o,height:i,$:u}}function $b(e){return Fo(e)?e:e.contextElement}function Yn(e){const t=$b(e);if(!Gr(t))return Zo(1);const o=t.getBoundingClientRect(),{width:i,height:a,$:l}=Wb(t);let c=(l?ns(o.width):o.width)/i,u=(l?ns(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!u||!Number.isFinite(u))&&(u=1),{x:c,y:u}}const $3=Zo(0);function Gb(e){const t=Ut(e);return!$d()||!t.visualViewport?$3:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function G3(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===Ut(e)}function fa(e,t,o,i){t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),l=$b(e);let c=Zo(1);t&&(i?Fo(i)&&(c=Yn(i)):c=Yn(e));const u=G3(l,o,i)?Gb(l):Zo(0);let d=(a.left+u.x)/c.x,p=(a.top+u.y)/c.y,v=a.width/c.x,h=a.height/c.y;if(l&&i){const x=Ut(l),y=Fo(i)?Ut(i):i;let k=x,b=ld(k);for(;b&&y!==k;){const B=Yn(b),z=b.getBoundingClientRect(),j=Mo(b),S=z.left+(b.clientLeft+parseFloat(j.paddingLeft))*B.x,N=z.top+(b.clientTop+parseFloat(j.paddingTop))*B.y;d*=B.x,p*=B.y,v*=B.x,h*=B.y,d+=S,p+=N,k=Ut(b),b=ld(k)}}return as({width:v,height:h,x:d,y:p})}function xs(e,t){const o=ks(e).scrollLeft;return t?t.left+o:fa($r(e)).left+o}function Ub(e,t){const o=e.getBoundingClientRect(),i=o.left+t.scrollLeft-xs(e,o),a=o.top+t.scrollTop;return{x:i,y:a}}function U3(e){let{elements:t,rect:o,offsetParent:i,strategy:a}=e;const l=a==="fixed",c=$r(i),u=t?ws(t.floating):!1;if(i===c||u&&l)return o;let d={scrollLeft:0,scrollTop:0},p=Zo(1);const v=Zo(0),h=Gr(i);if((h||!l)&&((ui(i)!=="body"||ys(c))&&(d=ks(i)),h)){const y=fa(i);p=Yn(i),v.x=y.x+i.clientLeft,v.y=y.y+i.clientTop}const x=c&&!h&&!l?Ub(c,d):Zo(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+v.x+x.x,y:o.y*p.y-d.scrollTop*p.y+v.y+x.y}}function X3(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function K3(e){const t=ks(e),o=e.ownerDocument.body,i=Rr(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=Rr(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-t.scrollLeft+xs(e);const c=-t.scrollTop;return Mo(o).direction==="rtl"&&(l+=Rr(e.clientWidth,o.clientWidth)-i),{width:i,height:a,x:l,y:c}}const Q3=25;function Y3(e,t,o){o===void 0&&(o="viewport");const i=o==="layoutViewport",a=Ut(e),l=$r(e),c=a.visualViewport;let u=l.clientWidth,d=l.clientHeight,p=0,v=0;if(c){const x=!$d()||t==="fixed";i?x||(p=-c.offsetLeft,v=-c.offsetTop):(u=c.width,d=c.height,x&&(p=c.offsetLeft,v=c.offsetTop))}if(xs(l)<=0){const x=l.ownerDocument,y=x.body,k=getComputedStyle(y),b=x.compatMode==="CSS1Compat"&&parseFloat(k.marginLeft)+parseFloat(k.marginRight)||0,B=Math.abs(l.clientWidth-y.clientWidth-b),z=getComputedStyle(l).scrollbarGutter==="stable both-edges"?B/2:B;z<=Q3&&(u-=z)}return{width:u,height:d,x:p,y:v}}function J3(e,t){const o=fa(e,!0,t==="fixed"),i=o.top+e.clientTop,a=o.left+e.clientLeft,l=Yn(e),c=e.clientWidth*l.x,u=e.clientHeight*l.y,d=a*l.x,p=i*l.y;return{width:c,height:u,x:d,y:p}}function om(e,t,o){let i;if(t==="viewport"||t==="layoutViewport")i=Y3(e,o,t);else if(t==="document")i=K3($r(e));else if(Fo(t))i=J3(t,o);else{const a=Gb(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return as(i)}function Z3(e,t){const o=t.get(e);if(o)return o;let i=Vb(e,[]).filter(u=>Fo(u)&&ui(u)!=="body"),a=null;const l=Mo(e).position==="fixed";let c=l?gn(e):e;for(;Fo(c)&&!da(c);){const u=Mo(c),d=Wd(c),p=a?a.position:l?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&u.position==="static")?i=i.filter(h=>h!==c):a=u,c=gn(c)}return t.set(e,i),i}function e5(e){let{element:t,boundary:o,rootBoundary:i,strategy:a}=e;const c=[...o==="clippingAncestors"?ws(t)?[]:Z3(t,this._c):[].concat(o),i],u=om(t,c[0],a);let d=u.top,p=u.right,v=u.bottom,h=u.left;for(let x=1;x<c.length;x++){const y=om(t,c[x],a);d=Rr(y.top,d),p=vn(y.right,p),v=vn(y.bottom,v),h=Rr(y.left,h)}return{width:p-h,height:v-d,x:h,y:d}}function t5(e){const{width:t,height:o}=Wb(e);return{width:t,height:o}}function o5(e,t,o){const i=Gr(t),a=$r(t),l=o==="fixed",c=fa(e,!0,l,t);let u={scrollLeft:0,scrollTop:0};const d=Zo(0);if((i||!l)&&((ui(t)!=="body"||ys(a))&&(u=ks(t)),i)){const x=fa(t,!0,l,t);d.x=x.x+t.clientLeft,d.y=x.y+t.clientTop}!i&&a&&(d.x=xs(a));const p=a&&!i&&!l?Ub(a,u):Zo(0),v=c.left+u.scrollLeft-d.x-p.x,h=c.top+u.scrollTop-d.y-p.y;return{x:v,y:h,width:c.width,height:c.height}}function Du(e){return Mo(e).position==="static"}function rm(e,t){if(!Gr(e)||Mo(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return $r(e)===o&&(o=o.ownerDocument.body),o}function Xb(e,t){const o=Ut(e);if(ws(e))return o;if(!Gr(e)){let a=gn(e);for(;a&&!da(a);){if(Fo(a)&&!Du(a))return a;a=gn(a)}return o}let i=rm(e,t);for(;i&&O3(i)&&Du(i);)i=rm(i,t);return i&&da(i)&&Du(i)&&!Wd(i)?o:i||W3(e)||o}const r5=async function(e){const t=this.getOffsetParent||Xb,o=this.getDimensions,i=await o(e.floating);return{reference:o5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function n5(e){return Mo(e).direction==="rtl"}const i5={convertOffsetParentRelativeRectToViewportRelativeRect:U3,getDocumentElement:$r,getClippingRect:e5,getOffsetParent:Xb,getElementRects:r5,getClientRects:X3,getDimensions:t5,getScale:Yn,isElement:Fo,isRTL:n5},a5=Hb,l5=F3,s5=M3,c5=E3,u5=A3,nm=P3,d5=R3,im=H3,f5=(e,t,o)=>{const i=new Map,a=o??{},l={...i5,...a.platform,_c:i};return I3(e,t,{...a,platform:l})};function Kb(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const p5=e=>e.nodeName==="HTML"?e:e.parentNode||e.host,v5=e=>{var t;if(e.nodeType!==1)return{};const o=(t=e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return o?o.getComputedStyle(e,null):{}},Bs=e=>{const t=e&&p5(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:o,overflowX:i,overflowY:a}=v5(t);return/(auto|scroll|overlay)/.test(o+a+i)?t:Bs(t)},g5=e=>{var t;const o=Bs(e);return o?o!==((t=o.ownerDocument)===null||t===void 0?void 0:t.body):!1};function Gd(e,t){if(t==="window")return e?.ownerDocument.documentElement;if(t==="clippingParents")return"clippingAncestors";if(t==="scrollParent"){let o=Bs(e);return o.nodeName==="BODY"&&(o=e?.ownerDocument.documentElement),o}return t}function Qb(e,t){return typeof e=="number"||typeof e=="object"&&e!==null?Fu(e,t):typeof e=="function"?o=>{const i=e(o);return Fu(i,t)}:{mainAxis:t}}const Fu=(e,t)=>{if(typeof e=="number")return{mainAxis:e+t};var o;return{...e,mainAxis:((o=e.mainAxis)!==null&&o!==void 0?o:0)+t}};function Yb(e,t){if(typeof e=="number")return e;const{start:o,end:i,...a}=e,l=a,c=t?"end":"start",u=t?"start":"end";return e[c]&&(l.left=e[c]),e[u]&&(l.right=e[u]),l}const m5=e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}),h5=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),b5=(e,t)=>{const o=e==="above"||e==="below",i=t==="top"||t==="bottom";return o&&i||!o&&!i},Jb=(e,t,o)=>{const i=b5(t,e)?"center":e,a=t&&m5(o)[t],l=i&&h5()[i];return a&&l?`${a}-${l}`:a},y5=()=>({top:"above",bottom:"below",right:"after",left:"before"}),w5=e=>e==="above"||e==="below"?{start:"start",end:"end"}:{start:"top",end:"bottom"},k5=e=>{const{side:t,alignment:o}=Kb(e),i=y5()[t],a=o&&w5(i)[o];return{position:i,alignment:a}},x5={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 di(e){return e==null?{}:typeof e=="string"?x5[e]:e}function Mu(e,t,o){const i=m.useRef(!0),[a]=m.useState(()=>({value:e,callback:t,facade:{get current(){return a.value},set current(l){const c=a.value;c!==l&&(a.value=l,a.callback(l,c))}}}));return He(()=>{i.current=!1},[]),a.callback=t,a.facade}function B5(e){let t;return()=>(t||(t=new Promise(o=>{Promise.resolve().then(()=>{t=void 0,o(e())})})),t)}function S5(e){const{arrow:t,middlewareData:o}=e;if(!o.arrow||!t)return;const{x:i,y:a}=o.arrow;Object.assign(t.style,{left:i!=null?`${i}px`:"",top:a!=null?`${a}px`:""})}function z5(e){var t,o,i;const{container:a,placement:l,middlewareData:c,strategy:u,lowPPI:d,coordinates:p,useTransform:v=!0}=e;if(!a)return;a.setAttribute(b3,l),a.removeAttribute(Ug),c.intersectionObserver.intersecting&&a.setAttribute(Ug,""),a.removeAttribute(Xg),!((t=c.hide)===null||t===void 0)&&t.escaped&&a.setAttribute(Xg,""),a.removeAttribute(Kg),!((o=c.hide)===null||o===void 0)&&o.referenceHidden&&a.setAttribute(Kg,"");const h=((i=a.ownerDocument.defaultView)===null||i===void 0?void 0:i.devicePixelRatio)||1,x=Math.round(p.x*h)/h,y=Math.round(p.y*h)/h;if(Object.assign(a.style,{position:u}),v){Object.assign(a.style,{transform:d?`translate(${x}px, ${y}px)`:`translate3d(${x}px, ${y}px, 0)`});return}Object.assign(a.style,{left:`${x}px`,top:`${y}px`})}const _5=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 am(e){const t=[];let o=e;for(;o;){const i=Bs(o);if(e.ownerDocument.body===i){t.push(i);break}if(i.nodeName==="BODY"&&i!==e.ownerDocument.body)break;t.push(i),o=i}return t}function N5(e,t){return new e.ResizeObserver(t)}function j5(e){const{clientWidth:t,clientHeight:o}=e.ownerDocument.documentElement;return t===0&&o===0}function C5(e){let t=!1;const{container:o,target:i,arrow:a,strategy:l,middleware:c,placement:u,useTransform:d=!0,disableUpdateOnResize:p=!1}=e,v=o.ownerDocument.defaultView;if(!i||!o||!v)return{updatePosition:()=>{},dispose:()=>{}};const h=p?null:N5(v,z=>{z.every(S=>S.contentRect.width>0&&S.contentRect.height>0)&&b()});let x=!0;const y=new Set;Object.assign(o.style,{position:"fixed",left:0,top:0,margin:0});const k=()=>{t||(x&&(am(o).forEach(z=>y.add(z)),it(i)&&am(i).forEach(z=>y.add(z)),y.forEach(z=>{z.addEventListener("scroll",b,{passive:!0})}),h?.observe(o),it(i)&&h?.observe(i),x=!1),Object.assign(o.style,{position:l}),f5(i,o,{placement:u,middleware:c,strategy:l}).then(({x:z,y:j,middlewareData:S,placement:N})=>{var q,C;if(t)return;const M=j5(o)?{...S,hide:{...S.hide,escaped:!1,referenceHidden:!1}}:S;S5({arrow:a,middlewareData:M}),z5({container:o,middlewareData:M,placement:N,coordinates:{x:z,y:j},lowPPI:(v?.devicePixelRatio||1)<=1,strategy:l,useTransform:d});var H,W;o.dispatchEvent(new CustomEvent(id,{detail:{placement:N,escaped:(H=(q=M.hide)===null||q===void 0?void 0:q.escaped)!==null&&H!==void 0?H:!1,referenceHidden:(W=(C=M.hide)===null||C===void 0?void 0:C.referenceHidden)!==null&&W!==void 0?W:!1}}))}).catch(z=>{}))},b=B5(()=>k()),B=()=>{t=!0,v&&(v.removeEventListener("scroll",b),v.removeEventListener("resize",b)),y.forEach(z=>{z.removeEventListener("scroll",b)}),y.clear(),h?.disconnect()};return v&&(v.addEventListener("scroll",b,{passive:!0}),v.addEventListener("resize",b)),b(),{updatePosition:b,dispose:B}}function T5(){return{name:"coverTarget",fn:e=>{const{placement:t,rects:o,x:i,y:a}=e,l=Kb(t).side,c={x:i,y:a};switch(l){case"bottom":c.y-=o.reference.height;break;case"top":c.y+=o.reference.height;break;case"left":c.x+=o.reference.width;break;case"right":c.x-=o.reference.width;break}return c}}}function q5(e){const{hasScrollableElement:t,flipBoundary:o,container:i,fallbackPositions:a=[],isRtl:l}=e,c=a.reduce((u,d)=>{const{position:p,align:v}=di(d),h=Jb(v,p,l);return h&&u.push(h),u},[]);return c5({...t&&{boundary:"clippingAncestors"},...o&&{altBoundary:!0,boundary:Gd(i,o)},fallbackStrategy:"bestFit",...c.length&&{fallbackPlacements:c}})}function I5(){return{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,o=await a5(e,{altBoundary:!0}),i=o.top<t.height&&o.top>0,a=o.bottom<t.height&&o.bottom>0;return{data:{intersecting:i||a}}}}}const R5=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:o}){var i;if(!((i=t.resetMaxSize)===null||i===void 0)&&i.maxSizeAlreadyReset)return{};const{applyMaxWidth:a,applyMaxHeight:l}=e;return a&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-width"),o.floating.style.removeProperty("width")),l&&(o.floating.style.removeProperty("box-sizing"),o.floating.style.removeProperty("max-height"),o.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function E5(e,t){const{container:o,overflowBoundary:i,overflowBoundaryPadding:a,isRtl:l}=t;return u5({...a&&{padding:Yb(a,l)},...i&&{altBoundary:!0,boundary:Gd(o,i)},apply({availableHeight:c,availableWidth:u,elements:d,rects:p}){const v=(y,k,b)=>{if(y&&(d.floating.style.setProperty("box-sizing","border-box"),d.floating.style.setProperty(`max-${k}`,`${b}px`),p.floating[k]>b)){d.floating.style.setProperty(k,`${b}px`);const B=k==="width"?"x":"y";d.floating.style.getPropertyValue(`overflow-${B}`)||d.floating.style.setProperty(`overflow-${B}`,"auto")}},{applyMaxWidth:h,applyMaxHeight:x}=e;v(h,"width",u),v(x,"height",c)}})}function P5(e){return!e||typeof e=="number"||typeof e=="object"?e:({rects:{floating:t,reference:o},placement:i})=>{const{position:a,alignment:l}=k5(i);return e({positionedRect:t,targetRect:o,position:a,alignment:l})}}function D5(e){const t=P5(e);return l5(t)}function F5(e){const{hasScrollableElement:t,shiftToCoverTarget:o,disableTether:i,overflowBoundary:a,container:l,overflowBoundaryPadding:c,isRtl:u}=e;return s5({...t&&{boundary:"clippingAncestors"},...o&&{crossAxis:!0,limiter:im({crossAxis:!0,mainAxis:!1})},...i&&{crossAxis:i==="all",limiter:im({crossAxis:i!=="all",mainAxis:!1})},...c&&{padding:Yb(c,u)},...a&&{altBoundary:!0,boundary:Gd(l,a)}})}const lm="--fui-match-target-size";function M5(){return{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:o},elements:{floating:i},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:a=!1}={}}}=e;if(t.width===o.width||a)return{};const{width:l}=t;return i.style.setProperty(lm,`${l}px`),i.style.width||(i.style.width=`var(${lm})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}function H5(e,t){const{align:o,arrowPadding:i,autoSize:a,coverTarget:l,disableUpdateOnResize:c,flipBoundary:u,offset:d,overflowBoundary:p,pinned:v,position:h,unstable_disableTether:x,strategy:y,overflowBoundaryPadding:k,fallbackPositions:b,useTransform:B,matchTargetSize:z,shiftToCoverTarget:j}=t;return m.useCallback((S,N)=>e({container:S,arrow:N,options:{autoSize:a,disableUpdateOnResize:c,matchTargetSize:z,offset:d,strategy:y,coverTarget:l,flipBoundary:u,overflowBoundary:p,useTransform:B,overflowBoundaryPadding:k,pinned:v,arrowPadding:i,align:o,fallbackPositions:b,shiftToCoverTarget:j,position:h,unstable_disableTether:x}}),[a,c,z,d,y,l,u,p,B,k,v,i,o,b,j,h,x,e])}function A5(e){const{dir:t,targetDocument:o}=Ie(),i=t==="rtl",a=H5(k3(),e),{positionFixed:l}=e;return m.useCallback((c,u)=>{const d=g5(c),p=a(c,u),{autoSize:v,disableUpdateOnResize:h,matchTargetSize:x,offset:y,coverTarget:k,flipBoundary:b,overflowBoundary:B,useTransform:z,overflowBoundaryPadding:j,pinned:S,position:N,arrowPadding:q,strategy:C,align:M,fallbackPositions:H,shiftToCoverTarget:W,unstable_disableTether:ce}=p,te=_5(v),Z=[te&&R5(te),x&&M5(),y&&D5(y),k&&T5(),!S&&q5({container:c,flipBoundary:b,hasScrollableElement:d,isRtl:i,fallbackPositions:H}),F5({container:c,hasScrollableElement:d,overflowBoundary:B,disableTether:ce,overflowBoundaryPadding:j,isRtl:i,shiftToCoverTarget:W}),te&&E5(te,{container:c,overflowBoundary:B,overflowBoundaryPadding:j,isRtl:i}),I5(),u&&d5({element:u,padding:q}),nm({strategy:"referenceHidden"}),nm({strategy:"escaped"}),!1].filter(Boolean);return{placement:Jb(M,N,i),middleware:Z,strategy:C??l?"fixed":"absolute",disableUpdateOnResize:h,useTransform:z}},[a,i,o,l])}function Ss(e){const t=m.useRef(null),o=m.useRef(null),i=m.useRef(null),a=m.useRef(null),l=m.useRef(null),{enabled:c=!0}=e,u=A5(e),d=m.useCallback(()=>{t.current&&t.current.dispose(),t.current=null;var k;const b=(k=i.current)!==null&&k!==void 0?k:o.current;c&&Ba()&&b&&a.current&&(t.current=C5({container:a.current,target:b,arrow:l.current,...u(a.current,l.current)}))},[c,u]),p=K(k=>{i.current=k,d()});m.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var k;return(k=t.current)===null||k===void 0?void 0:k.updatePosition()},setTarget:k=>{e.target,p(k)}}),[e.target,p]),He(()=>{var k;p((k=e.target)!==null&&k!==void 0?k:null)},[e.target,p]),He(()=>{d()},[d]);const v=Mu(null,k=>{o.current!==k&&(o.current=k,d())}),h=K(k=>{var b;return(b=e.onPositioningEnd)===null||b===void 0?void 0:b.call(e,k)}),x=Mu(null,k=>{if(a.current!==k){var b;(b=a.current)===null||b===void 0||b.removeEventListener(id,h),k?.addEventListener(id,h),a.current=k,d()}}),y=Mu(null,k=>{l.current!==k&&(l.current=k,d())});return{targetRef:v,containerRef:x,arrowRef:y}}const Zb=e=>{const[t,o]=m.useState(e);return[t,a=>{if(a==null){o(void 0);return}let l;a instanceof MouseEvent?l=a:l=a.nativeEvent;const c=h3(l);o(c)}]};function O5(){let e=!1;const t=[];return{isActive(){return e},toggleActive(o){e!==o&&(e=o,t.forEach(i=>i(e)))},subscribe(o){return t.push(o),()=>{const i=t.indexOf(o);i>-1&&t.splice(i,1)}}}}var Hu={exports:{}},Au={};var sm;function L5(){if(sm)return Au;sm=1;var e=th();function t(h,x){return h===x&&(h!==0||1/h===1/x)||h!==h&&x!==x}var o=typeof Object.is=="function"?Object.is:t,i=e.useState,a=e.useEffect,l=e.useLayoutEffect,c=e.useDebugValue;function u(h,x){var y=x(),k=i({inst:{value:y,getSnapshot:x}}),b=k[0].inst,B=k[1];return l(function(){b.value=y,b.getSnapshot=x,d(b)&&B({inst:b})},[h,y,x]),a(function(){return d(b)&&B({inst:b}),h(function(){d(b)&&B({inst:b})})},[h]),c(y),y}function d(h){var x=h.getSnapshot;h=h.value;try{var y=x();return!o(h,y)}catch{return!0}}function p(h,x){return x()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:u;return Au.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:v,Au}var cm;function V5(){return cm||(cm=1,Hu.exports=L5()),Hu.exports}var W5=V5();function um(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 dm=20;function e0(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function $5(e,t){const o=e0(e,t);return o===0?[0,0]:[(e[0]-t[0])/o,(e[1]-t[1])/o]}function G5(e,t,o){const i=[(e[0]+t[0])/2,(e[1]+t[1])/2],a=$5([o[0],o[1]],[i[0],i[1]]),l=e0([i[0],i[1]],[o[0],o[1]]);return[i[0]+a[0]*(l+dm),i[1]+a[1]*(l+dm)]}function U5(e){return`M ${e} z`}const X5=L({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},safeZone:{Bkecrkj:"f1cguypg"},safeZoneDebug:{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 K5(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 Q5(e,t,o){let i=`M 0,0 H ${e} V ${t} H 0 Z `;return i+=K5(o),i}function Y5(e,t){const{topLeft:o,topRight:i,bottomRight:a,bottomLeft:l}=t,c=e[1]<o[1],u=e[1]>l[1],d=e[0]<o[0],p=e[0]>i[0];return c?d?[e,l,o,i]:p?[e,o,i,a]:[e,o,i]:u?d?[e,o,l,a]:p?[e,i,a,l]:[e,a,l]:d?[e,l,o]:p?[e,i,a]:[]}const J5=m.memo(e=>{const{debug:t,onMouseEnter:o,onMouseMove:i,onMouseLeave:a,stateStore:l}=e,c=Le(),u=X5(),d=W5.useSyncExternalStore(l.subscribe,l.isActive),p=m.useRef(null),v=m.useRef(null),h=m.useRef(null),x=m.useRef(null);return m.useImperativeHandle(e.imperativeRef,()=>({updateSVG({containerRect:y,targetRect:k,mouseCoordinates:b}){var B,z,j;const S=Math.min(k.top,y.top),N=Math.min(k.left,y.left),q=Math.max(k.bottom,y.bottom),C=Math.max(k.right,y.right),M=um(y,[N,S]),H=um(k,[N,S]),W=[b[0]-N,b[1]-S],ce=G5(M.topLeft,M.bottomRight,W),te=C-N,Z=q-S,$=Q5(te,Z,{x:H.topLeft[0],y:H.topLeft[1],width:k.width,height:k.height});p.current&&(p.current.style.width=`${te}px`,p.current.style.height=`${Z}px`,p.current.style.transform=`translate(${N}px, ${S}px)`);const le=Y5(ce,M);(B=v.current)===null||B===void 0||B.setAttribute("d",le.length>0?U5(le):""),(z=h.current)===null||z===void 0||z.setAttribute("d",$),(j=x.current)===null||j===void 0||j.setAttribute("d",$)}}),[]),m.createElement("div",{className:R(u.wrapper,d&&u.wrapperActive),"data-safe-zone":""},m.createElement("svg",{"aria-hidden":!0,className:u.svg,xmlns:"http://www.w3.org/2000/svg",ref:p,style:{width:0,height:0,transform:"translate(0px, 0px)"}},m.createElement("g",{className:R(u.safeZone,t&&u.safeZoneDebug),clipPath:`url(#${c})`,onMouseEnter:o,onMouseMove:i,onMouseLeave:a},m.createElement("path",{ref:v})),m.createElement("clipPath",{id:c},m.createElement("path",{ref:h})),t&&m.createElement("path",{ref:x,className:u.rectDebug})))}),Z5=2e3;function e4({debug:e=!1,disabled:t=!1,onSafeZoneEnter:o,onSafeZoneMove:i,onSafeZoneLeave:a,onSafeZoneTimeout:l,timeout:c=1500}={}){const[u]=m.useState(O5),d=m.useRef(null),p=m.useRef(null),v=m.useRef(null),[h,x]=Or(),[y,k]=sa(),b=m.useRef({x:0,y:0}),B=m.useMemo(()=>{if(t)return()=>{};let q=null;function C(){x(),u.toggleActive(!1)}return M=>{M===null&&q?.removeEventListener("mouseenter",C),q=M,M?.addEventListener("mouseenter",C)}},[x,t,u]),z=m.useMemo(()=>{if(t)return()=>{};let q=null;function C(M){b.current={x:M.clientX,y:M.clientY},u.isActive()||u.toggleActive(!0),h(()=>{u.toggleActive(!1)},Z5)}return M=>{M===null&&(k(),x(),q?.removeEventListener("mousemove",C)),q=M,M?.addEventListener("mousemove",C)}},[k,x,t,u,h]),j=K(q=>{o?.(q),h(()=>{u.toggleActive(!1),l?.()},c)}),S=K(q=>{h(()=>{u.toggleActive(!1),l?.()},c),i?.(q)}),N=K(q=>{a?.(q)});return m.useEffect(()=>u.subscribe(q=>{if(q){let C=function(){const M=p.current,H=v.current;if(M&&H){var W;(W=d.current)===null||W===void 0||W.updateSVG({containerRect:M.getBoundingClientRect(),mouseCoordinates:[b.current.x,b.current.y],targetRect:H.getBoundingClientRect()})}y(C)};C();return}k()}),[k,y,u]),{containerRef:Se(p,B),targetRef:Se(v,z),elementToRender:m.useMemo(()=>t?null:m.createElement(J5,{debug:e,onMouseEnter:j,onMouseMove:S,onMouseLeave:N,imperativeRef:d,stateStore:u}),[t,e,j,S,N,u])}}const Ud=lo(void 0),t0={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};Ud.Provider;const bt=e=>Bo(Ud,(t=t0)=>e(t)),t4=(e,t)=>{const o=bt(S=>S.contentRef),i=bt(S=>S.openOnHover),a=bt(S=>S.setOpen),l=bt(S=>S.mountNode),c=bt(S=>S.arrowRef),u=bt(S=>S.size),d=bt(S=>S.withArrow),p=bt(S=>S.appearance),v=bt(S=>S.trapFocus),h=bt(S=>S.inertTrapFocus),x=bt(S=>S.inline),y=hs(),{modalAttributes:k}=vs({trapFocus:v,legacyTrapFocus:!h,alwaysFocusable:!v}),b={inline:x,appearance:p,withArrow:d,size:u,arrowRef:c,mountNode:l,components:{root:"div"},root:ie(ze("div",{ref:Se(t,o,y),role:v?"dialog":"group","aria-modal":v?!0:void 0,...k,...e}),{elementType:"div"})},{onMouseEnter:B,onMouseLeave:z,onKeyDown:j}=b.root;return b.root.onMouseEnter=S=>{i&&a(S,!0),B?.(S)},b.root.onMouseLeave=S=>{i&&a(S,!1),z?.(S)},b.root.onKeyDown=S=>{var N;S.key==="Escape"&&(!((N=o.current)===null||N===void 0)&&N.contains(S.target))&&(S.preventDefault(),a(S,!1)),j?.(S)},b};function o4(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const r4=L({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),o0=ti.useInsertionEffect,n4=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,l=m.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return m.useMemo(()=>{l&&(l.className=t,l.setAttribute("dir",o),l.setAttribute("data-portal-node","true"),i.current=l)},[t,o,l,i]),m.useEffect(()=>()=>{l?.remove()},[l]),l},i4=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},a4=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[l]=m.useState(i4),c=m.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(u,d){if(d==="nodeType")return 1;if(d==="remove"){const h=l.get(a,!1);return h&&h.childNodes.length===0&&l.dispose(),()=>{}}const p=l.get(a,!0),v=p?p[d]:void 0;return typeof v=="function"?v.bind(p):v},set(u,d,p){const v=d==="_virtual"||d==="focusVisible",h=v?l.get(a,!1):l.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[d]:p}),!0):!1}}),[l,a,e.disabled]);return o0(()=>{if(!c)return;const u=t.split(" ").filter(Boolean);return c.classList.add(...u),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...u),c.removeAttribute("dir")}},[t,o,c,i]),m.useEffect(()=>()=>{c?.remove()},[c]),c},l4=o0?a4:n4,s4=e=>{"use no memo";const{targetDocument:t,dir:o}=Ie(),i=xa(),a=bn(),l=r4(),c=wa(),u={dir:o,disabled:e.disabled,focusVisibleRef:a,className:R(c,l.root,e.className),targetNode:i??t?.body};return l4(u)},c4=e=>{const{element:t,className:o}=o4(e.mountNode),i=m.useRef(null),a=s4({disabled:!!t,className:o}),l=t??a,c={children:e.children,mountNode:l,virtualParentRootRef:i};return m.useEffect(()=>{if(!l)return;const u=i.current,d=l.contains(u);if(u&&!d)return Po(l,u),()=>{Po(l,void 0)}},[i,l]),c};var Ar=Ck();const u4=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ar.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),r0=e=>{const t=c4(e);return u4(t)};r0.displayName="Portal";const d4=e=>{const t=_e(e.root,{children:[e.withArrow&&I("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:I(r0,{mountNode:e.mountNode,children:t})},f4={root:"fui-PopoverSurface"},p4={small:6,medium:8,large:8},v4=L({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;}']}),g4=e=>{const t=v4();return e.root.className=R(f4.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=R(t.arrow,e.size==="small"?t.smallArrow:t.mediumLargeArrow),e},sd=m.forwardRef((e,t)=>{const o=t4(e,t);return g4(o),de("usePopoverSurfaceStyles_unstable")(o),d4(o)});sd.displayName="PopoverSurface";const m4=4,fm=qe.durationSlower,pm=qe.curveDecelerateMid,vm=Lo(({distance:e=10})=>({enter:[ao({duration:fm,easing:pm,direction:"enter"}),{...Hd({duration:fm,easing:pm,direction:"enter",outX:`calc(var(${os}, 0px) * ${e})`,outY:`calc(var(${rs}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),h4=e=>{const[t,o]=Zb(),{targetDocument:i}=Ie(),a=di(e.positioning),l=Pb({targetDocument:i,onPositioningEnd:a.onPositioningEnd}),c={size:"medium",contextTarget:t,setContextTarget:o,...e,positioning:{...a,onPositioningEnd:l}},u=m.Children.toArray(e.children);let d,p;u.length===2?(d=u[0],p=u[1]):u.length===1&&(p=u[0]);const[v,h]=b4(c),[x,y]=Or(),k=K((te,Z)=>{if(y(),!(te instanceof Event)&&te.persist&&te.persist(),te.type==="mouseleave"){var $;x(()=>{h(te,Z)},($=e.mouseLeaveDelay)!==null&&$!==void 0?$:500)}else h(te,Z)}),b=m.useCallback(te=>{k(te,!v)},[k,v]),B=y4(c);var z;ds({contains:Nt,element:i,callback:te=>k(te,!1),refs:[B.triggerRef,B.contentRef],disabled:!v,disabledFocusOnIframe:!(!((z=e.closeOnIframeFocus)!==null&&z!==void 0)||z)});const j=c.openOnContext||c.closeOnScroll;Bh({contains:Nt,element:i,callback:te=>k(te,!1),refs:[B.triggerRef,B.contentRef],disabled:!v||!j});var S;const N=(S=e.closeOnFocusOutside)!==null&&S!==void 0?S:!0,q=m.useRef(!1),C=K(te=>{var Z;const $=(Z=te.composedPath()[0])!==null&&Z!==void 0?Z:te.target,le=B.contentRef.current;var we;const P=(we=B.triggerRef.current)!==null&&we!==void 0?we:null;if(!le)return;if(Nt(le,$)||Nt(P,$)){q.current=!0;return}q.current&&(q.current=!1,k(te,!1))});m.useEffect(()=>{if(!(!v||!e.trapFocus||!N))return q.current=!1,i?.addEventListener("focusin",C,!0),()=>{i?.removeEventListener("focusin",C,!0)}},[v,e.trapFocus,N,i,C]);const{findFirstFocusable:M}=Ao(),H=L2();m.useEffect(()=>{if(e.unstable_disableAutoFocus)return;const te=B.contentRef.current;if(v&&te){var Z;const $=!isNaN((Z=te.getAttribute("tabIndex"))!==null&&Z!==void 0?Z:void 0),le=$?te:M(te);le?.focus(),$&&H(te)}},[M,H,v,B.contentRef,e.unstable_disableAutoFocus]);var W,ce;return{components:{surfaceMotion:vm},...c,...B,inertTrapFocus:(W=e.inertTrapFocus)!==null&&W!==void 0?W:e.legacyTrapFocus===void 0?!1:!e.legacyTrapFocus,popoverTrigger:d,popoverSurface:p,open:v,setOpen:k,toggleOpen:b,setContextTarget:o,contextTarget:t,inline:(ce=e.inline)!==null&&ce!==void 0?ce:!1,surfaceMotion:si(e.surfaceMotion,{elementType:vm,defaultProps:{visible:v,appear:!0,unmountOnExit:!0}})}};function b4(e){const t=K((c,u)=>{var d;return(d=e.onOpenChange)===null||d===void 0?void 0:d.call(e,c,u)}),[o,i]=Xe({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=o!==void 0?o:e.open;const a=e.setContextTarget,l=m.useCallback((c,u)=>{u&&c.type==="contextmenu"&&a(c),u||a(void 0),i(u),t?.(c,{open:u})},[i,t,a]);return[o,l]}function y4(e){const t={position:"above",align:"center",arrowPadding:2*m4,target:e.openOnContext?e.contextTarget:void 0,...di(e.positioning)};t.coverTarget&&(e.withArrow=!1),e.withArrow&&(t.offset=Qb(t.offset,p4[e.size]));const{targetRef:o,containerRef:i,arrowRef:a}=Ss(t);return{triggerRef:o,contentRef:i,arrowRef:a}}function w4(e){const{appearance:t,arrowRef:o,contentRef:i,inline:a,mountNode:l,open:c,openOnContext:u,openOnHover:d,setOpen:p,size:v,toggleOpen:h,trapFocus:x,triggerRef:y,withArrow:k,inertTrapFocus:b}=e;return{popover:m.useMemo(()=>({appearance:t,arrowRef:o,contentRef:i,inline:a,mountNode:l,open:c,openOnContext:u,openOnHover:d,setOpen:p,size:v,toggleOpen:h,trapFocus:x,triggerRef:y,withArrow:k,inertTrapFocus:b}),[t,o,i,a,l,c,u,d,p,v,h,x,y,k,b])}}const k4=(e,t)=>{var o;return _e(Ud.Provider,{value:(o=t?.popover)!==null&&o!==void 0?o:t0,children:[e.popoverTrigger,e.popoverSurface&&I(e.surfaceMotion,{children:I(_a,{children:e.popoverSurface})})]})},cd=e=>{const t=h4(e),o=w4(t);return k4(t,o)};cd.displayName="Popover";const x4=e=>{const{children:t,disableButtonEnhancement:o=!1}=e,i=ar(t),a=bt(S=>S.open),l=bt(S=>S.setOpen),c=bt(S=>S.toggleOpen),u=bt(S=>S.triggerRef),d=bt(S=>S.openOnHover),p=bt(S=>S.openOnContext),{triggerAttributes:v}=vs(),h=S=>{p&&(S.preventDefault(),l(S,!0))},x=S=>{p||c(S)},y=S=>{S.key===Vr&&a&&!S.isDefaultPrevented()&&(l(S,!1),S.preventDefault())},k=S=>{d&&l(S,!0)},b=S=>{d&&l(S,!1)},B={...v,"aria-expanded":`${a}`,...i?.props,onMouseEnter:K(ye(i?.props.onMouseEnter,k)),onMouseLeave:K(ye(i?.props.onMouseLeave,b)),onContextMenu:K(ye(i?.props.onContextMenu,h)),ref:Se(u,mn(i))},z={...B,onClick:K(ye(i?.props.onClick,x)),onKeyDown:K(ye(i?.props.onKeyDown,y))},j=Dr(i?.type==="button"||i?.type==="a"?i.type:"div",z);return{children:oi(e.children,Dr(i?.type==="button"||i?.type==="a"?i.type:"div",p?B:o?z:j))}},B4=e=>e.children,Xd=e=>{const t=x4(e);return B4(t)};Xd.displayName="PopoverTrigger";Xd.isFluentTriggerComponent=!0;const S4=6,z4=4,_4=e=>-1,N4=e=>{};function j4(e){const{targetDocument:t}=Ie(),o=t?.defaultView,i=o?o.setTimeout:_4,a=o?o.clearTimeout:N4,l=m.useRef(void 0),c=m.useCallback((d,p)=>(l.current!==void 0&&a(l.current),l.current=i(d,p??0),l.current),[a,i]),u=m.useCallback(()=>{l.current!==void 0&&(a(l.current),l.current=void 0)},[a]);return m.useEffect(()=>{const d=e.current;return()=>{(!d||!d.isConnected)&&u()}},[u,e]),[c,u]}const C4=e=>{var t,o,i,a,l,c,u;const d=dx(),p=_x(),{targetDocument:v}=Ie(),[h,x]=Xe({state:e.visible,initialState:!1}),[y,k]=m.useState(!1),{children:b,content:B,withArrow:z=!1,positioning:j="above",onVisibleChange:S,relationship:N,showDelay:q=250,hideDelay:C=250,mountNode:M}=e,H={withArrow:z,positioning:j,showDelay:q,hideDelay:C,relationship:N,visible:h,hidden:y,shouldRenderTooltip:h,mountNode:M,components:{content:"div"},content:ie(B,{defaultProps:{role:"tooltip"},elementType:"div"})};H.content.id=Le("tooltip-",H.content.id);const W=di(H.positioning),ce=K(pe=>{var xe;k(pe.detail.referenceHidden),(xe=W.onPositioningEnd)===null||xe===void 0||xe.call(W,pe)}),te={enabled:H.visible,arrowPadding:2*z4,position:"above",align:"center",offset:4,...W,onPositioningEnd:ce};H.withArrow&&(te.offset=Qb(te.offset,S4));const{targetRef:Z,containerRef:$,arrowRef:le}=Ss(te),[we,P]=j4($),Y=m.useCallback((pe,xe)=>{P(),x(Re=>(xe.visible!==Re&&S?.(pe,xe),xe.visible))},[P,x,S]);H.content.ref=Se(H.content.ref,$),H.arrowRef=le,He(()=>{if(h){var pe;const xe={hide:kt=>Y(void 0,{visible:!1,documentKeyboardEvent:kt})};(pe=d.visibleTooltip)===null||pe===void 0||pe.hide(),d.visibleTooltip=xe;const Re=kt=>{kt.key===Vr&&!kt.defaultPrevented&&(xe.hide(kt),kt.preventDefault())};v?.addEventListener("keydown",Re,{capture:!0});const jt=()=>{v?.visibilityState==="hidden"&&xe.hide()};return v?.addEventListener("visibilitychange",jt),()=>{d.visibleTooltip===xe&&(d.visibleTooltip=void 0),v?.removeEventListener("keydown",Re,{capture:!0}),v?.removeEventListener("visibilitychange",jt)}}},[d,v,h,Y]);const F=m.useRef(!1),ee=m.useCallback(pe=>{if(pe.type==="focus"&&F.current){F.current=!1;return}const xe=d.visibleTooltip?0:H.showDelay;we(()=>{Y(pe,{visible:!0})},xe),pe.persist()},[we,Y,H.showDelay,d]),X=Gh(),[J]=m.useState(()=>{const pe=Re=>{var jt;!((jt=Re.detail)===null||jt===void 0)&&jt.isFocusedProgrammatically&&!X()&&(F.current=!0)};let xe=null;return Re=>{xe?.removeEventListener(or,pe),Re?.addEventListener(or,pe),xe=Re}}),Q=m.useCallback(pe=>{let xe=H.hideDelay;pe.type==="blur"&&(xe=0,F.current=v?.activeElement===pe.target),we(()=>{Y(pe,{visible:!1})},xe),pe.persist()},[we,Y,H.hideDelay,v]);H.content.onPointerEnter=ye(H.content.onPointerEnter,P),H.content.onPointerLeave=ye(H.content.onPointerLeave,Q),H.content.onFocus=ye(H.content.onFocus,P),H.content.onBlur=ye(H.content.onBlur,Q);const A=ar(b),fe={},ae=(A==null||(t=A.props)===null||t===void 0?void 0:t["aria-haspopup"])&&((A==null||(o=A.props)===null||o===void 0?void 0:o["aria-expanded"])===!0||(A==null||(i=A.props)===null||i===void 0?void 0:i["aria-expanded"])==="true");return N==="label"?typeof H.content.children=="string"?fe["aria-label"]=H.content.children:(fe["aria-labelledby"]=H.content.id,H.shouldRenderTooltip=!0):N==="description"&&(fe["aria-describedby"]=H.content.id,H.shouldRenderTooltip=!0),(p||ae)&&(H.shouldRenderTooltip=!1),H.children=oi(b,{...fe,...A?.props,ref:Se(mn(A),J,te.target===void 0?Z:void 0),onPointerEnter:K(ye(A==null||(a=A.props)===null||a===void 0?void 0:a.onPointerEnter,ee)),onPointerLeave:K(ye(A==null||(l=A.props)===null||l===void 0?void 0:l.onPointerLeave,Q)),onFocus:K(ye(A==null||(c=A.props)===null||c===void 0?void 0:c.onFocus,ee)),onBlur:K(ye(A==null||(u=A.props)===null||u===void 0?void 0:u.onBlur,Q))}),H},T4=e=>{"use no memo";const{appearance:t="normal",...o}=e,i=C4(o);return{appearance:t,...i}};function q4(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const I4=L({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),n0=ti.useInsertionEffect,R4=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,l=m.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return m.useMemo(()=>{l&&(l.className=t,l.setAttribute("dir",o),l.setAttribute("data-portal-node","true"),i.current=l)},[t,o,l,i]),m.useEffect(()=>()=>{l?.remove()},[l]),l},E4=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},P4=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[l]=m.useState(E4),c=m.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(u,d){if(d==="nodeType")return 1;if(d==="remove"){const h=l.get(a,!1);return h&&h.childNodes.length===0&&l.dispose(),()=>{}}const p=l.get(a,!0),v=p?p[d]:void 0;return typeof v=="function"?v.bind(p):v},set(u,d,p){const v=d==="_virtual"||d==="focusVisible",h=v?l.get(a,!1):l.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[d]:p}),!0):!1}}),[l,a,e.disabled]);return n0(()=>{if(!c)return;const u=t.split(" ").filter(Boolean);return c.classList.add(...u),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...u),c.removeAttribute("dir")}},[t,o,c,i]),m.useEffect(()=>()=>{c?.remove()},[c]),c},D4=n0?P4:R4,F4=e=>{"use no memo";const{targetDocument:t,dir:o}=Ie(),i=xa(),a=bn(),l=I4(),c=wa(),u={dir:o,disabled:e.disabled,focusVisibleRef:a,className:R(c,l.root,e.className),targetNode:i??t?.body};return D4(u)},M4=e=>{const{element:t,className:o}=q4(e.mountNode),i=m.useRef(null),a=F4({disabled:!!t,className:o}),l=t??a,c={children:e.children,mountNode:l,virtualParentRootRef:i};return m.useEffect(()=>{if(!l)return;const u=i.current,d=l.contains(u);if(u&&!d)return Po(l,u),()=>{Po(l,void 0)}},[i,l]),c},H4=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ar.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),i0=e=>{const t=M4(e);return H4(t)};i0.displayName="Portal";const A4=e=>_e(m.Fragment,{children:[e.children,e.shouldRenderTooltip&&I(i0,{mountNode:e.mountNode,children:_e(e.content,{children:[e.withArrow&&I("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}),O4={content:"fui-Tooltip__content"},L4=L({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"},hidden:{Bcdw1i0:"fd7fpy0",Bkecrkj:"f1aehjj5"},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;}",".fd7fpy0{visibility:hidden;}",".f1aehjj5{pointer-events:none;}",".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;}']}),V4=e=>{const t=L4();return e.content.className=R(O4.content,t.root,e.appearance==="inverted"&&t.inverted,e.visible&&t.visible,e.hidden&&t.hidden,e.content.className),e.arrowClassName=t.arrow,e},a0=e=>{const t=T4(e);return V4(t),de("useTooltipStyles_unstable")(t),A4(t)};a0.displayName="Tooltip";a0.isFluentTriggerComponent=!0;const Kd=e=>{const{iconOnly:t,iconPosition:o}=e;return _e(e.root,{children:[o!=="after"&&e.icon&&I(e.icon,{}),!t&&e.root.children,o==="after"&&e.icon&&I(e.icon,{})]})},l0=m.createContext(void 0),W4={},s0=l0.Provider,$4=()=>{var e;return(e=m.useContext(l0))!==null&&e!==void 0?e:W4},c0=(e,t)=>{const{size:o}=$4(),{appearance:i="secondary",shape:a="rounded",size:l=o??"medium",...c}=e,u=u0(c,t);return{appearance:i,shape:a,size:l,...u}},u0=(e,t)=>{const{icon:o,iconPosition:i="before",...a}=e,l=ve(o,{elementType:"span"});var c,u;return{disabled:(c=e.disabled)!==null&&c!==void 0?c:!1,disabledFocusable:(u=e.disabledFocusable)!==null&&u!==void 0?u:!1,iconPosition:i,iconOnly:!!(l?.children&&!e.children),components:{root:"button",icon:"span"},root:ie(Dr(a.as,a),{elementType:"button",defaultProps:{ref:t,type:e.as!=="a"?"button":void 0}}),icon:l}},gm={root:"fui-Button",icon:"fui-Button__icon"},G4=me("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;}}"]}),U4=me("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);}"]),X4=L({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)"}]]}),K4=L({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)"}]]}),Q4=L({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;}}"]}),Y4=L({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;}"]}),J4=L({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);}"]}),Qd=e=>{const t=G4(),o=U4(),i=X4(),a=K4(),l=Q4(),c=Y4(),u=J4(),{appearance:d,disabled:p,disabledFocusable:v,icon:h,iconOnly:x,iconPosition:y,shape:k,size:b}=e;return e.root.className=R(gm.root,t,d&&i[d],i[b],h&&b==="small"&&i.smallWithIcon,h&&b==="large"&&i.largeWithIcon,i[k],(p||v)&&a.base,(p||v)&&a.highContrast,d&&(p||v)&&a[d],d==="primary"&&l.primary,l[b],l[k],x&&c[b],e.root.className),e.icon&&(e.icon.className=R(gm.icon,o,!!e.root.children&&u[y],u[b],e.icon.className)),e},Z4=m.forwardRef((e,t)=>{const o=c0(e,t);return Qd(o),de("useButtonStyles_unstable")(o),Kd(o)});Z4.displayName="Button";function e_(e,t){const{checked:o,defaultChecked:i,disabled:a,disabledFocusable:l,isAccessible:c=!1}=e,{onClick:u,role:d}=t.root,[p,v]=Xe({state:o,defaultState:i,initialState:!1}),h=d==="menuitemcheckbox"||d==="checkbox",x=m.useCallback(y=>{if(!a&&!l){if(y.defaultPrevented)return;v(!p)}},[p,a,l,v]);return{...t,checked:p,isAccessible:c,root:{...t.root,[h?"aria-checked":"aria-pressed"]:p,onClick:K(ye(u,x))}}}const t_=(e,t)=>{const{checked:o=!1,defaultChecked:i=!1,isAccessible:a=!1,...l}=e,c=c0(l,t);return e_(e,c)},mm={root:"fui-ToggleButton",icon:"fui-ToggleButton__icon"},o_=L({base:{De3pzq:"f1nfm20t",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],sj55zd:"f14nttnl",B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"],D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",Jwef8y:"f1knas48",Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1xlaoq0",gg5e9n:["f1m52nbi","f1ub3y4t"],Bi91k9c:"feu1g3u",Bpjbzib:"f128kf1x",im15vp:"f1a38rnh",Hjvxdg:["f1wvuwkr","fbu0tau"],Gpfmf1:"f132k7zb",ustxxc:["fbu0tau","f1wvuwkr"],Brsut9c:"fggfoek"},highContrast:{By8wz76:"f1nz3ub2",Bcq6wej:"fjq791v",Jcjdmf:["fkq2p2y","f1sehlss"],sc4o1m:"f11odvng",Bosien3:["f1sehlss","fkq2p2y"],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",B6rz4yo:0,Buk7464:0,Bqg8rp8:0,pjr8j7:0,Bgs2klq:0,Hwei09:0,Bi9aqk7:0,Fihjvf:0,nhyz0p:0,Buw724y:0,Bn7qjfh:0,B0u7xl9:0,md97jv:0,h3ptyc:0,s1kvfj:0,kogrdj:0,dqx2i2:"fdmpsdn",o0nolc:"fgjsukj"},outline:{De3pzq:"f1q9pm1r",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],B4j52fo:"fgx37oo",Bekrc4i:["f130t4y6","f1efpmoh"],Bn0qgzm:"fv51ejd",ibv6hh:["f1efpmoh","f130t4y6"],Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo",B8q5s1w:"fcaw57c",Bci5o5g:["fpwd27e","f1999bjr"],n8qw10:"f1hi52o4",Bdrgwmp:["f1999bjr","fpwd27e"]},primary:{De3pzq:"f8w4g0q",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"},secondary:{},subtle:{De3pzq:"fq5gl1p",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1eryozh",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee"},transparent:{De3pzq:"f1q9pm1r",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1qj7y59",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9"}},{d:[".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}",".fj3muxo{border-top-color:var(--colorNeutralStroke1);}",".f1akhkt{border-right-color:var(--colorNeutralStroke1);}",".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}",".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}",".f14nttnl{color:var(--colorNeutralForeground1Selected);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".fgx37oo{border-top-width:var(--strokeWidthThicker);}",".f130t4y6{border-right-width:var(--strokeWidthThicker);}",".f1efpmoh{border-left-width:var(--strokeWidthThicker);}",".fv51ejd{border-bottom-width:var(--strokeWidthThicker);}",".fcaw57c[data-fui-focus-visible]{border-top-color:var(--colorNeutralStroke1);}",".fpwd27e[data-fui-focus-visible]{border-right-color:var(--colorNeutralStroke1);}",".f1999bjr[data-fui-focus-visible]{border-left-color:var(--colorNeutralStroke1);}",".f1hi52o4[data-fui-focus-visible]{border-bottom-color:var(--colorNeutralStroke1);}",".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1eryozh{color:var(--colorNeutralForeground2Selected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f128kf1x:hover:active,.f128kf1x:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);}",".f1a38rnh:hover:active,.f1a38rnh:active:focus-visible{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1wvuwkr:hover:active,.f1wvuwkr:active:focus-visible{border-right-color:var(--colorNeutralStroke1Pressed);}",".fbu0tau:hover:active,.fbu0tau:active:focus-visible{border-left-color:var(--colorNeutralStroke1Pressed);}",".f132k7zb:hover:active,.f132k7zb:active:focus-visible{border-bottom-color:var(--colorNeutralStroke1Pressed);}",".fggfoek:hover:active,.fggfoek:active:focus-visible{color:var(--colorNeutralForeground1Pressed);}",".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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".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){.fjq791v{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1sehlss{border-left-color:Highlight;}.fkq2p2y{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11odvng{border-bottom-color:Highlight;}}",{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){.fdmpsdn:focus{border:1px solid HighlightText;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fgjsukj:focus{outline-color:Highlight;}}",{m:"(forced-colors: active)"}]]}),r_=L({base:{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"},outline:{B4j52fo:"f192inf7",Bekrc4i:["f5tn483","f1ojsxk5"],Bn0qgzm:"f1vxd6vx",ibv6hh:["f1ojsxk5","f5tn483"]},primary:{Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f12rpxh0",Dhobit:"f10okvgz",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f40way",Bpkdmpa:"ftbw7yw"},subtle:{ysa4qo:"f17xzaca"},transparent:{},secondary:{}},{d:[".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);}",".f192inf7{border-top-width:var(--strokeWidthThin);}",".f5tn483{border-right-width:var(--strokeWidthThin);}",".f1ojsxk5{border-left-width:var(--strokeWidthThin);}",".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}",[".f12rpxh0{outline:var(--strokeWidthThin) solid var(--colorNeutralForegroundOnBrand);}",{p:-1}],".f10okvgz{outline-offset:calc(var(--strokeWidthThicker) * -1);}",[".f40way[data-fui-focus-visible]{outline:var(--strokeWidthThin) solid var(--colorNeutralForegroundOnBrand);}",{p:-1}],".ftbw7yw[data-fui-focus-visible]{outline-offset:calc(var(--strokeWidthThickest) * -1);}"],h:[".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);}",".f17xzaca:hover .fui-ToggleButton__icon{color:var(--colorNeutralForegroundOnBrand);}"]}),n_=L({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy"},outline:{},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:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"fkoldzo",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);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],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);}",".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);}",".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;}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}"]}),i_=L({subtleOrTransparent:{sj55zd:"f1qj7y59"},highContrast:{B8gzw0y:"f1dd5bof"}},{d:[".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),a_=L({base:{By8wz76:"f14ptb23",Bcq6wej:"fd7znuh",Jcjdmf:["f1wh4a04","f15h7fac"],sc4o1m:"f1f064oi",Bosien3:["f15h7fac","f1wh4a04"],B7iucu3:"f3ggph1",B8gzw0y:"f1dd5bof"},disabled:{Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"]}},{m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd7znuh{border-top-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f15h7fac{border-left-color:ButtonBorder;}.f1wh4a04{border-right-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1f064oi{border-bottom-color:ButtonBorder;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3ggph1{color:ButtonText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{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){.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)"}]]}),l_=e=>{const t=o_(),o=r_(),i=n_(),a=i_(),l=a_(),{appearance:c,checked:u,disabled:d,disabledFocusable:p,isAccessible:v}=e;return e.root.className=R(mm.root,c==="primary"&&l.base,c==="primary"&&(d||p)&&l.disabled,u&&t.base,u&&t.highContrast,c&&u&&t[c],v&&u&&o.base,v&&c&&u&&o[c],(d||p)&&i.base,c&&(d||p)&&i[c],e.root.className),e.icon&&(e.icon.className=R(mm.icon,u&&!v&&(c==="subtle"||c==="transparent")&&a.subtleOrTransparent,a.highContrast,e.icon.className)),Qd(e),e},s_=m.forwardRef((e,t)=>{const o=t_(e,t);return l_(o),de("useToggleButtonStyles_unstable")(o),Kd(o)});s_.displayName="ToggleButton";const d0=m.createContext(void 0),c_=d0.Provider,Ur=()=>m.useContext(d0),u_=e=>{var t,o,i,a;const{generatedControlId:l,orientation:c,required:u,size:d,validationState:p}=e,v=(t=e.label)===null||t===void 0?void 0:t.htmlFor,h=(o=e.label)===null||o===void 0?void 0:o.id,x=(i=e.validationMessage)===null||i===void 0?void 0:i.id,y=(a=e.hint)===null||a===void 0?void 0:a.id;return{field:m.useMemo(()=>({generatedControlId:l,hintId:y,labelFor:v,labelId:h,orientation:c,required:u,size:d,validationMessageId:x,validationState:p}),[l,y,v,h,c,u,d,x,p])}};function Vo(e,t){return f0(Ur(),e,t)}function f0(e,t,o){if(!e)return t;t={...t};const{generatedControlId:i,hintId:a,labelFor:l,labelId:c,required:u,validationMessageId:d,validationState:p}=e;if(i){var v,h;(h=(v=t).id)!==null&&h!==void 0||(v.id=i)}if(c&&(!o?.supportsLabelFor||l!==t.id)){var x,y,k;(k=(x=t)[y="aria-labelledby"])!==null&&k!==void 0||(x[y]=c)}if((d||a)&&(t["aria-describedby"]=[d,a,t?.["aria-describedby"]].filter(Boolean).join(" ")),p==="error"){var b,B,z;(z=(b=t)[B="aria-invalid"])!==null&&z!==void 0||(b[B]=!0)}if(u)if(o?.supportsRequired){var j,S;(S=(j=t).required)!==null&&S!==void 0||(j.required=!0)}else{var N,q,C;(C=(N=t)[q="aria-required"])!==null&&C!==void 0||(N[q]=!0)}if(o?.supportsSize){var M,H;(H=(M=t).size)!==null&&H!==void 0||(M.size=e.size)}return t}const d_=(e,t)=>{let{children:o}=e;return typeof o=="function"&&(o=o(f0(t.field)||{})),I(c_,{value:t?.field,children:_e(e.root,{children:[e.label&&I(e.label,{}),o,e.validationMessage&&_e(e.validationMessage,{children:[e.validationMessageIcon&&I(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&I(e.hint,{})]})})},f_=(e,t)=>{const{weight:o="regular",size:i="medium",...a}=e,l=p_(a,t);return{weight:o,size:i,...l}},p_=(e,t)=>{const{disabled:o=!1,required:i=!1,...a}=e;return{disabled:o,required:ve(i===!0?"*":i||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:ie(ze("label",{ref:t,...a}),{elementType:"label"})}},v_=e=>_e(e.root,{children:[e.root.children,e.required&&I(e.required,{})]}),hm={root:"fui-Label",required:"fui-Label__required"},g_=L({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)"}]]}),m_=e=>{const t=g_();return e.root.className=R(hm.root,t.root,e.disabled&&t.disabled,t[e.size],e.weight==="semibold"&&t.semibold,e.root.className),e.required&&(e.required.className=R(hm.required,t.required,e.disabled&&t.disabled,e.required.className)),e},Kt=m.forwardRef((e,t)=>{const o=f_(e,t);return m_(o),de("useLabelStyles_unstable")(o),v_(o)});Kt.displayName="Label";const h_=(e,t)=>{const{children:o,required:i=!1,validationState:a=e.validationMessage?"error":"none"}=e,l=Le("field-"),c=l+"__control",u=ie(ze("div",{...e,ref:t},["children"]),{elementType:"div"}),d=ve(e.label,{defaultProps:{htmlFor:c,id:l+"__label",required:i},elementType:"label"}),p=ve(e.validationMessage,{defaultProps:{id:l+"__validationMessage",role:a==="error"||a==="warning"?"alert":void 0},elementType:"div"}),v=ve(e.hint,{defaultProps:{id:l+"__hint"},elementType:"div"}),h=ve(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"});return{children:o,generatedControlId:c,required:i,validationState:a,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:u,label:d,validationMessageIcon:h,validationMessage:p,hint:v}},b_={error:m.createElement(ok,null),warning:m.createElement(tk,null),success:m.createElement(ek,null),none:void 0},y_=(e,t)=>{const{orientation:o="vertical",size:i="medium",...a}=e,l=h_(a,t),c=b_[l.validationState];return{...l,components:{...l.components,label:Kt},label:ve(e.label,{defaultProps:{size:i,...l.label},elementType:Kt}),validationMessageIcon:ve(e.validationMessageIcon,{renderByDefault:!!c,defaultProps:{children:c},elementType:"span"}),orientation:o,size:i}},Zi={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},w_=L({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;}"]}),k_=L({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;}"]}),x_=me("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);}"]),B_=L({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));}"]}),S_=me("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;}"]),z_=L({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),__=e=>{const{validationState:t,size:o}=e,i=e.orientation==="horizontal",a=w_();e.root.className=R(Zi.root,a.base,i&&a.horizontal,i&&!e.label&&a.horizontalNoLabel,e.root.className);const l=k_();e.label&&(e.label.className=R(Zi.label,l.base,i&&l.horizontal,i&&o==="small"&&l.horizontalSmall,i&&o==="large"&&l.horizontalLarge,!i&&l.vertical,!i&&o==="large"&&l.verticalLarge,e.label.className));const c=S_(),u=z_();e.validationMessageIcon&&(e.validationMessageIcon.className=R(Zi.validationMessageIcon,c,t!=="none"&&u[t],e.validationMessageIcon.className));const d=x_(),p=B_();return e.validationMessage&&(e.validationMessage.className=R(Zi.validationMessage,d,t==="error"&&p.error,!!e.validationMessageIcon&&p.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=R(Zi.hint,d,e.hint.className)),e},N_=m.forwardRef((e,t)=>{const o=y_(e,t);__(o),de("useFieldStyles_unstable")(o);const i=u_(o);return d_(o,i)});N_.displayName="Field";const j_=(e,t)=>{const{shape:o="square",size:i="medium",...a}=e,l=C_(a,t),c=l.checked==="mixed";let u;if(c?o==="circular"?u=m.createElement(nh,null):u=i==="large"?m.createElement(rk,null):m.createElement(nk,null):l.checked&&(u=i==="large"?m.createElement(wd,null):m.createElement(ih,null)),l.indicator){var d,p;(p=(d=l.indicator).children)!==null&&p!==void 0||(d.children=u)}return{shape:o,size:i,...l,components:{...l.components,label:Kt},label:ve(e.label,{defaultProps:{...l.label,size:"medium"},elementType:Kt})}},C_=(e,t)=>{"use no memo";e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:o=!1,required:i,labelPosition:a="after",onChange:l}=e,[c,u]=Xe({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),d=ir({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=c==="mixed",v=Le("checkbox-",d.primary.id),h={checked:c,disabled:o,labelPosition:a,components:{root:"span",input:"input",indicator:"div",label:"label"},root:ie(e.root,{defaultProps:{ref:ri(),...d.root},elementType:"span"}),input:ie(e.input,{defaultProps:{type:"checkbox",id:v,ref:t,checked:c===!0,...d.primary},elementType:"input"}),label:ve(e.label,{defaultProps:{htmlFor:v,disabled:o,required:i},elementType:"label"}),indicator:ve(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};h.input.onChange=ye(h.input.onChange,y=>{const k=y.currentTarget.indeterminate?"mixed":y.currentTarget.checked;l?.(y,{checked:k}),u(k)});const x=Se(h.input.ref);return h.input.ref=x,He(()=>{x.current&&(x.current.indeterminate=p)},[x,p]),h},T_=e=>_e(e.root,{children:[I(e.input,{}),e.labelPosition==="before"&&e.label&&I(e.label,{}),e.indicator&&I(e.indicator,{}),e.labelPosition==="after"&&e.label&&I(e.label,{})]}),Ml={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"},q_=me("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;}}"]}),I_=L({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)"}]]}),R_=me("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));}"]),E_=L({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));}"]}),P_=me("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;}"]),D_=L({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}]]}),F_=L({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);}"]}),M_=e=>{const{checked:t,disabled:o,labelPosition:i,shape:a,size:l}=e,c=q_(),u=I_();e.root.className=R(Ml.root,c,o?u.disabled:t==="mixed"?u.mixed:t?u.checked:u.unchecked,e.root.className);const d=R_(),p=E_();e.input.className=R(Ml.input,d,l==="large"&&p.large,p[i],e.input.className);const v=P_(),h=D_();e.indicator&&(e.indicator.className=R(Ml.indicator,v,l==="large"&&h.large,a==="circular"&&h.circular,e.indicator.className));const x=F_();return e.label&&(e.label.className=R(Ml.label,x.base,x[l],x[i],e.label.className)),e},pa=m.forwardRef((e,t)=>{const o=j_(e,t);return M_(o),de("useCheckboxStyles_unstable")(o),T_(o)});pa.displayName="Checkbox";const Yd=lo({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Yd.Provider;const H_={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue(){return[]},registerOption(){return()=>{}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},fi=lo(void 0),Wt=e=>Bo(fi,(t=H_)=>e(t)),A_=fi.Provider;function p0(e){const{appearance:t,open:o,getOptionById:i,getOptionsMatchingValue:a,registerOption:l,selectedOptions:c,selectOption:u,setOpen:d,size:p,activeDescendantController:v,onOptionClick:h,onActiveDescendantChange:x}=e,y={activeOption:void 0,appearance:t,focusVisible:!1,open:o,registerOption:l,selectedOptions:c,selectOption:u,setActiveOption:()=>null,setOpen:d,size:p},k={activeOption:void 0,focusVisible:!1,getOptionById:i,getOptionsMatchingValue:a,registerOption:l,selectedOptions:c,selectOption:u,setActiveOption:()=>null,onOptionClick:h,onActiveDescendantChange:x},b=m.useMemo(()=>({controller:v}),[v]);return{combobox:y,activeDescendant:b,listbox:k}}function O_(e){const t=ii(fi),{getOptionById:o,getOptionsMatchingValue:i,multiselect:a,registerOption:l,selectedOptions:c,selectOption:u,activeDescendantController:d}=e,p=Wt(b=>b.registerOption),v=Wt(b=>b.onOptionClick),h=Wt(b=>b.onActiveDescendantChange),y={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:i,multiselect:a,registerOption:t?p:l,selectedOptions:c,selectOption:u,setActiveOption:()=>{},onOptionClick:v,onActiveDescendantChange:h},k=m.useMemo(()=>({controller:d}),[d]);return{listbox:y,activeDescendant:k}}function va(e,t={}){const{open:o=!0,multiselect:i=!1}=t,a=e.key,{altKey:l,ctrlKey:c,key:u,metaKey:d}=e;return u.length===1&&a!==$t&&!l&&!c&&!d?"Type":o?a===Qn&&l||a===Eo||!i&&a===$t?"CloseSelect":i&&a===$t?"Select":a===Vr?"Close":a===ei?"Next":a===Qn?"Previous":a===ms?"First":a===gs?"Last":a===vb?"PageUp":a===pb?"PageDown":a===fb?"Tab":"None":a===ei||a===Qn||a===Eo||a===$t?"Open":"None"}const v0=()=>{const e=m.useRef(new Map),t=m.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:p=>e.current.get(p),getOptionsMatchingText:p=>Array.from(e.current.values()).filter(({text:v})=>p(v)),getOptionsMatchingValue:p=>{const v=[];for(const h of e.current.values())p(h.value)&&v.push(h);return v}}),[]),o=m.useCallback(i=>(e.current.set(i.id,i),()=>e.current.delete(i.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:o}},g0=e=>{const{defaultSelectedOptions:t,multiselect:o,onOptionSelect:i}=e,[a,l]=Xe({state:e.selectedOptions,defaultState:t,initialState:[]}),c=m.useCallback((d,p)=>{if(p.disabled)return;let v=[p.value];if(o){const h=a.findIndex(x=>x===p.value);h>-1?v=[...a.slice(0,h),...a.slice(h+1)]:v=[...a,p.value]}l(v),i?.(d,{optionValue:p.value,optionText:p.text,selectedOptions:v})},[i,o,a,l]);return{clearSelection:d=>{l([]),i?.(d,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:c,selectedOptions:a}};function Jd(e){return e.role==="option"||e.role==="menuitemcheckbox"}const bm={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},L_=(e,t)=>{const{multiselect:o,disableAutoFocus:i=!1}=e,a=v0(),{listboxRef:l,activeParentRef:c,controller:u}=Pd({matchOption:Jd}),d=ii(fi),p=Wt(le=>le.onActiveDescendantChange),v=Wt(le=>le.getOptionById),h=Wt(le=>le.getOptionsMatchingValue),x=d?v:a.getOptionById,y=d?h:a.getOptionsMatchingValue,k=m.useMemo(()=>{let le=null;const we=P=>{p?.(P)};return P=>{if(!P){le?.removeEventListener("activedescendantchange",we);return}le=P,le.addEventListener("activedescendantchange",we)}},[p]),[b,B]=m.useState(!1);$h(B);const z=hb(),j=mz(),S=j?z.controller:u,{clearSelection:N,selectedOptions:q,selectOption:C}=g0(e),M=le=>{const we=va(le,{open:!0}),P=S.active(),Y=P?x(P):null;switch(we){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":le.preventDefault();break}switch(we){case"Next":Y?S.next():S.first();break;case"Previous":Y?S.prev():S.first();break;case"PageUp":case"First":S.first();break;case"PageDown":case"Last":S.last();break;case"Select":case"CloseSelect":Y&&C(le,Y);break}},H=Wt(le=>le.selectedOptions),W=Wt(le=>le.selectOption),ce=d?{selectedOptions:H,selectOption:W,...bm}:{selectedOptions:q,selectOption:C,...bm};m.useEffect(()=>{if(!j){if(S.hideFocusVisibleAttributes(),!i)if(!o&&ce.selectedOptions.length>0){const le=y(we=>we===ce.selectedOptions[0]).pop();le?.id&&S.focus(le.id)}else S.first();return()=>{S.blur()}}},[]);const te=m.useCallback(()=>{j||(S.showFocusVisibleAttributes(),b&&S.scrollActiveIntoView())},[S,j,b]),Z=m.useCallback(()=>{j||S.hideFocusVisibleAttributes()},[S,j]),$={components:{root:"div"},root:ie(ze("div",{ref:Se(t,c,l,k),role:o?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!d,multiselect:o,clearSelection:N,activeDescendantController:S,onActiveDescendantChange:p,...a,...ce};return $.root.onKeyDown=K(ye($.root.onKeyDown,M)),$.root.onFocus=K(ye($.root.onFocus,te)),$.root.onBlur=K(ye($.root.onBlur,Z)),$},V_=(e,t)=>I(Ed,{value:t.activeDescendant,children:I(fi.Provider,{value:t.listbox,children:I(e.root,{})})}),W_={root:"fui-Listbox"},$_=L({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);}"]}),G_=e=>{const t=$_();return e.root.className=R(W_.root,t.root,e.root.className),e},zs=m.forwardRef((e,t)=>{const o=L_(e,t),i=O_(o);return G_(o),de("useListboxStyles_unstable")(o),V_(o,i)});zs.displayName="Listbox";function U_(e,t){if(e!==void 0)return e;let o="",i=!1;return m.Children.forEach(t,a=>{typeof a=="string"?o+=a:i=!0}),i&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),o}const X_=(e,t)=>{const o=K_(e,t);let i=m.createElement(ik,null);if(o.multiselect&&(i=o.selected?m.createElement(ih,null):""),o.checkIcon){var a,l;(l=(a=o.checkIcon).children)!==null&&l!==void 0||(a.children=i)}return o},K_=(e,t)=>{const{children:o,disabled:i,text:a,value:l}=e,c=m.useRef(null),u=U_(a,o),d=l??u,p=Le("fluent-option",e.id),v=m.useMemo(()=>({id:p,disabled:i,text:u,value:d}),[p,i,u,d]),{controller:h}=hb(),x=Wt(S=>S.multiselect),y=Wt(S=>S.registerOption),k=Wt(S=>{const N=S.selectedOptions;return d!==void 0&&N.find(q=>q===d)!==void 0}),b=Wt(S=>S.selectOption),B=Wt(S=>S.onOptionClick),z=S=>{var N;if(i){S.preventDefault();return}h.focus(p),b(S,v),B(S),(N=e.onClick)===null||N===void 0||N.call(e,S)};m.useEffect(()=>{if(p&&c.current)return y(v,c.current)},[p,v,y]);const j=x?{role:"menuitemcheckbox","aria-checked":k}:{role:"option","aria-selected":k};return{components:{root:"div",checkIcon:"span"},root:ie(ze("div",{ref:Se(t,c),"aria-disabled":i?"true":void 0,id:p,...j,...e,onClick:z}),{elementType:"div"}),checkIcon:ve(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:i,multiselect:x,selected:k,focusVisible:!1,active:!1}},Q_=e=>_e(e.root,{children:[e.checkIcon&&I(e.checkIcon,{}),e.root.children]}),ym={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},Y_=L({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"},interactive:{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",Bceei9c:"f158kwzp",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);}",".f158kwzp{cursor:default;}",".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);}"],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);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),J_=e=>{const{disabled:t,multiselect:o,selected:i}=e,a=Y_();return e.root.className=R(ym.root,a.root,!t&&a.interactive,a.active,t&&a.disabled,i&&a.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=R(ym.checkIcon,a.checkIcon,o&&a.multiselectCheck,i&&a.selectedCheck,i&&o&&a.selectedMultiselectCheck,t&&a.checkDisabled,t&&o&&a.multiselectCheckDisabled,e.checkIcon.className)),e},Jl=m.forwardRef((e,t)=>{const o=X_(e,t);return J_(o),de("useOptionStyles_unstable")(o),Q_(o)});Jl.displayName="Option";const m0=e=>{const{appearance:t="outline",disableAutoFocus:o,children:i,clearable:a=!1,editable:l=!1,inlinePopup:c=!1,mountNode:u=void 0,multiselect:d,onOpenChange:p,size:v="medium",activeDescendantController:h,freeform:x=!1,disabled:y=!1,onActiveOptionChange:k=null}=e,b=v0(),{getOptionsMatchingValue:B}=b,{getOptionById:z}=b,j=m.useCallback(()=>{const Q=h.active();return Q?z(Q):void 0},[h,z]),S=j(),N=m.useCallback(Q=>{let A;if(typeof Q=="function"){const fe=j();A=Q(fe)}A?h.focus(A.id):h.blur()},[h,j]),[q,C]=m.useState(!1),[M,H]=m.useState(!1),W=m.useRef(!1),ce=Sd(),[te,Z]=Xe({state:e.value,initialState:void 0}),{selectedOptions:$,selectOption:le,clearSelection:we}=g0(e),P=m.useCallback((Q,A)=>{Ar.unstable_batchedUpdates(()=>{Z(void 0),le(Q,A)})},[Z,le]),Y=m.useMemo(()=>{if(te!==void 0)return te;if(ce&&e.defaultValue!==void 0)return e.defaultValue;const Q=B(A=>$.includes(A)).map(A=>A.text);return d?l?"":Q.join(", "):Q[0]},[te,l,B,d,$]),[F,ee]=Xe({state:e.open,defaultState:e.defaultOpen,initialState:!1}),X=m.useCallback((Q,A)=>{y||(p?.(Q,{open:A}),Ar.unstable_batchedUpdates(()=>{!A&&!x&&Z(void 0),ee(A)}))},[p,ee,Z,x,y]);m.useEffect(()=>{if(F){if(!d&&$.length>0){const Q=B(A=>A===$[0]).pop();Q?.id&&h.focus(Q.id)}}else h.blur()},[F,h]),m.useEffect(()=>{F&&!o&&!h.active()&&h.first()},[F,i,o,h,z]);const J=K(Q=>{const A=Q.detail.previousId?b.getOptionById(Q.detail.previousId):null,fe=b.getOptionById(Q.detail.id);k?.(Q,{event:Q,type:"change",previousOption:A,nextOption:fe})});return{...b,freeform:x,disabled:y,selectOption:P,clearSelection:we,selectedOptions:$,activeOption:S,appearance:t,clearable:a,focusVisible:q,ignoreNextBlur:W,inlinePopup:c,mountNode:u,open:F,hasFocus:M,setActiveOption:N,setFocusVisible:C,setHasFocus:H,setOpen:X,setValue:Z,size:v,value:Y,multiselect:d,onOptionClick:K(Q=>{d||X(Q,!1)}),onActiveDescendantChange:J}};function h0(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,...di(t)},{targetRef:a,containerRef:l}=Ss(i);return[l,a]}function b0(e,t,o){const{state:{multiselect:i},triggerRef:a,defaultProps:l}=o,c=Le("fluent-listbox",Tr(e)?e.id:void 0),u=ve(e,{renderByDefault:!0,elementType:zs,defaultProps:{id:c,multiselect:i,tabIndex:void 0,...l}}),d=Vo({id:c},{supportsLabelFor:!0});u&&!u["aria-label"]&&!u["aria-labelledby"]&&d["aria-labelledby"]&&(u["aria-labelledby"]=d["aria-labelledby"]);const p=K(ye(x=>{x.preventDefault()},u?.onMouseDown)),v=K(ye(x=>{var y;x.preventDefault(),(y=a.current)===null||y===void 0||y.focus()},u?.onClick)),h=Se(u?.ref,t);return u&&(u.ref=h,u.onMouseDown=p,u.onClick=v),u}function y0(e,t,o){const{state:{open:i,setOpen:a,setHasFocus:l},defaultProps:c,elementType:u,activeDescendantController:d}=o,p=ie(e,{defaultProps:{type:"text","aria-expanded":i,role:"combobox",...typeof c=="object"&&c},elementType:u}),v=m.useRef(null);return p.ref=Se(v,p.ref,t),p.onBlur=ye(h=>{a(h,!1),l(!1)},p.onBlur),p.onFocus=ye(h=>{h.target===h.currentTarget&&l(!0)},p.onFocus),p.onClick=ye(h=>{a(h,!i)},p.onClick),p.onKeyDown=ye(Z_({activeDescendantController:d,...o.state}),p.onKeyDown),p}function Z_(e){const{activeDescendantController:t,getOptionById:o,setOpen:i,selectOption:a,multiselect:l,open:c}=e,u=m.useCallback(()=>{const b=t.active();return b?o(b):void 0},[t,o]),d=()=>{t.first()},p=()=>{t.last()},v=b=>{b?t.next():t.first()},h=b=>{b?t.prev():t.first()},x=()=>{for(let b=0;b<10;b++)t.prev()},y=()=>{for(let b=0;b<10;b++)t.next()},k=A2();return K(b=>{const B=va(b,{open:c,multiselect:l}),z=u();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":d();break;case"Last":p();break;case"Next":v(z);break;case"Previous":h(z);break;case"PageDown":y();break;case"PageUp":x();break;case"Open":i(b,!0);break;case"Close":b.stopPropagation(),i(b,!1);break;case"CloseSelect":!l&&!z?.disabled&&i(b,!1);case"Select":z&&a(b,z);break;case"Tab":!l&&z&&a(b,z);break}})}function eN(e,t,o){const{state:{open:i,value:a,selectOption:l,setValue:c,multiselect:u,selectedOptions:d,clearSelection:p,getOptionById:v,setOpen:h},freeform:x,defaultProps:y,activeDescendantController:k}=o,b=H=>{if(!i&&!x){const W=k.active(),ce=W?v(W):null;a&&ce&&a.trim().toLowerCase()===ce?.text.toLowerCase()&&l(H,ce),c(void 0)}},B=H=>{const W=H?.trim().toLowerCase();if(!W||W.length===0){k.blur();return}const ce=Z=>Z.toLowerCase().indexOf(W)===0,te=k.find(Z=>{const $=v(Z);return!!$&&ce($.text)});if(!te){k.blur();return}return v(te)},z=H=>{const W=H.target.value;c(W);const ce=B(W);!u&&d.length===1&&(W.length<1||!ce)&&p(H)},j=y0(e,t,{state:o.state,defaultProps:y,elementType:"input",activeDescendantController:k});j.onChange=ye(j.onChange,z),j.onBlur=ye(j.onBlur,b);const[S,N]=m.useState(!1),q=m.useRef(!1),C=j.onKeyDown,M=K(H=>{!i&&va(H)==="Type"&&h(H,!0),H.key===ai||H.key===li?N(!0):N(!1);const W=va(H,{open:i,multiselect:u});if(W==="Type"?q.current=!0:(W==="Open"&&H.key!==" "||W==="Next"||W==="Previous"||W==="First"||W==="Last"||W==="PageUp"||W==="PageDown")&&(q.current=!1),(q.current||!i)&&H.key===" "){var ce;e==null||(ce=e.onKeyDown)===null||ce===void 0||ce.call(e,H);return}C?.(H)});return j.onKeyDown=M,S&&(j["aria-activedescendant"]=void 0),j}function w0(e,t){const o=er({focusable:{ignoreKeydown:{Escape:t}}});return qd(o,typeof e=="object"?e:{})}const tN=(e,t)=>{var o,i;e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:a,activeParentRef:l,controller:c}=Pd({matchOption:Jd}),u=m0({...e,editable:!0,activeDescendantController:c}),{appearance:d,size:p,...v}=u,{clearable:h,clearSelection:x,disabled:y,multiselect:k,open:b,selectedOptions:B,setOpen:z,value:j,hasFocus:S}=v,[N,q]=h0(e),{disableAutoFocus:C=!1,freeform:M,inlinePopup:H}=e,W=Le("combobox-"),{primary:ce,root:te}=ir({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),Z=m.useRef(null),$=b0(e.listbox,Se(N,a),{state:u,triggerRef:Z,defaultProps:{children:e.children,disableAutoFocus:C}});var le;const we=eN((le=e.input)!==null&&le!==void 0?le:{},Se(Z,l,t),{state:u,freeform:M,defaultProps:{type:"text",value:j??"","aria-controls":b?$?.id:void 0,...ce},activeDescendantController:c}),P=ie(e.root,{defaultProps:{"aria-owns":!H&&b?$?.id:void 0,...te},elementType:"div"});P.ref=Se(P.ref,q);const Y=B.length>0&&!y&&h&&!k,F={components:{root:"div",input:"input",expandIcon:"span",listbox:zs,clearIcon:"span"},root:P,input:we,listbox:b||S?$:void 0,clearIcon:ve(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:ve(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":y?"true":void 0,"aria-expanded":b,role:"button"},elementType:"span"}),showClearIcon:Y,activeDescendantController:c,...v},{targetDocument:ee}=Ie();ds({element:ee,callback:ae=>z(ae,!1),refs:[Z,N,q],disabled:!b});const{onMouseDown:X}=F.expandIcon||{},J=K(ye(X,ae=>{var pe;ae.preventDefault(),F.setOpen(ae,!F.open),(pe=Z.current)===null||pe===void 0||pe.focus()}));if(F.expandIcon){F.expandIcon.onMouseDown=J;const ae=F.expandIcon["aria-label"]||F.expandIcon["aria-labelledby"],pe="Open";if(!ae)if(e["aria-labelledby"]){var Q;const xe=(Q=F.expandIcon.id)!==null&&Q!==void 0?Q:`${W}-chevron`,Re=`${xe} ${F.input["aria-labelledby"]}`;F.expandIcon["aria-label"]=pe,F.expandIcon.id=xe,F.expandIcon["aria-labelledby"]=Re}else e["aria-label"]?F.expandIcon["aria-label"]=`${pe} ${e["aria-label"]}`:F.expandIcon["aria-label"]=pe}const A=K(ye((o=F.clearIcon)===null||o===void 0?void 0:o.onMouseDown,ae=>{ae.preventDefault()})),fe=K(ye((i=F.clearIcon)===null||i===void 0?void 0:i.onClick,ae=>{x(ae)}));return F.clearIcon&&(F.clearIcon.onMouseDown=A,F.clearIcon.onClick=fe),k&&(F.clearIcon=void 0),F},oN=(e,t)=>{const o=Ur();var i;const{appearance:a="outline",size:l=(i=o?.size)!==null&&i!==void 0?i:"medium",...c}=e,u=tN(c,t);if(u.clearIcon){var d,p;(p=(d=u.clearIcon).children)!==null&&p!==void 0||(d.children=m.createElement(ba,null))}if(u.expandIcon){var v,h;(h=(v=u.expandIcon).children)!==null&&h!==void 0||(v.children=m.createElement(kd,null))}return{...u,appearance:a,size:l,input:{...w0(u.input,u.open),...u.input}}};function rN(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const nN=L({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),k0=ti.useInsertionEffect,iN=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,l=m.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return m.useMemo(()=>{l&&(l.className=t,l.setAttribute("dir",o),l.setAttribute("data-portal-node","true"),i.current=l)},[t,o,l,i]),m.useEffect(()=>()=>{l?.remove()},[l]),l},aN=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},lN=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[l]=m.useState(aN),c=m.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(u,d){if(d==="nodeType")return 1;if(d==="remove"){const h=l.get(a,!1);return h&&h.childNodes.length===0&&l.dispose(),()=>{}}const p=l.get(a,!0),v=p?p[d]:void 0;return typeof v=="function"?v.bind(p):v},set(u,d,p){const v=d==="_virtual"||d==="focusVisible",h=v?l.get(a,!1):l.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[d]:p}),!0):!1}}),[l,a,e.disabled]);return k0(()=>{if(!c)return;const u=t.split(" ").filter(Boolean);return c.classList.add(...u),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...u),c.removeAttribute("dir")}},[t,o,c,i]),m.useEffect(()=>()=>{c?.remove()},[c]),c},sN=k0?lN:iN,cN=e=>{"use no memo";const{targetDocument:t,dir:o}=Ie(),i=xa(),a=bn(),l=nN(),c=wa(),u={dir:o,disabled:e.disabled,focusVisibleRef:a,className:R(c,l.root,e.className),targetNode:i??t?.body};return sN(u)},uN=e=>{const{element:t,className:o}=rN(e.mountNode),i=m.useRef(null),a=cN({disabled:!!t,className:o}),l=t??a,c={children:e.children,mountNode:l,virtualParentRootRef:i};return m.useEffect(()=>{if(!l)return;const u=i.current,d=l.contains(u);if(u&&!d)return Po(l,u),()=>{Po(l,void 0)}},[i,l]),c},dN=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ar.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),Zd=e=>{const t=uN(e);return dN(t)};Zd.displayName="Portal";const fN=(e,t)=>I(e.root,{children:I(Ed,{value:t.activeDescendant,children:I(A_,{value:t.listbox,children:_e(Yd.Provider,{value:t.combobox,children:[I(e.input,{}),e.clearIcon&&I(e.clearIcon,{}),e.expandIcon&&I(e.expandIcon,{}),e.listbox&&(e.inlinePopup?I(e.listbox,{}):I(Zd,{mountNode:e.mountNode,children:I(e.listbox,{})}))]})})})}),ea={root:"fui-Combobox",input:"fui-Combobox__input",expandIcon:"fui-Combobox__expandIcon",clearIcon:"fui-Combobox__clearIcon",listbox:"fui-Combobox__listbox"},pN=L({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);}"]}),vN=L({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;}"]}),gN=L({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;}"]}),mN=e=>{const{appearance:t,open:o,size:i,showClearIcon:a}=e,l=`${e.input["aria-invalid"]}`=="true",c=e.input.disabled,u=pN(),d=gN(),p=vN();return e.root.className=R(ea.root,u.root,u[t],u[i],!c&&t==="outline"&&u.outlineInteractive,l&&t!=="underline"&&u.invalid,l&&t==="underline"&&u.invalidUnderline,c&&u.disabled,e.root.className),e.input.className=R(ea.input,p.input,p[i],c&&p.disabled,e.input.className),e.listbox&&(e.listbox.className=R(ea.listbox,u.listbox,e.inlinePopup&&u.inlineListbox,!o&&u.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=R(ea.expandIcon,d.icon,d[i],c&&d.disabled,a&&d.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=R(ea.clearIcon,d.icon,d[i],c&&d.disabled,!a&&d.hidden,e.clearIcon.className)),e},hN=m.forwardRef((e,t)=>{const o=oN(e,t),i=p0(o);return mN(o),de("useComboboxStyles_unstable")(o),fN(o,i)});hN.displayName="Combobox";function bN(e,t,o){const{state:{open:i,setOpen:a,getOptionById:l},defaultProps:c,activeDescendantController:u}=o,d=m.useRef(""),[p,v]=Or(),h=(b,B={startFromNext:!1})=>{const{startFromNext:z}=B,j=u.active(),S=u.find(N=>{const q=l(N);return!!q&&b(q.text)},{startFrom:z?u.next({passive:!0}):j});return S||u.find(N=>{const q=l(N);return!!q&&b(q.text)})},x=()=>{h(b=>b.toLocaleLowerCase().indexOf(d.current)===0,{startFromNext:d.current.length===1})||yN(d.current)&&h(b=>b.toLocaleLowerCase().indexOf(d.current[0])===0,{startFromNext:!0})||u.blur()},y=b=>{v(),va(b)==="Type"&&(d.current+=b.key.toLowerCase(),p(()=>{d.current=""},500),i&&x(),!i&&a(b,!0))},k=y0(e,t,{state:o.state,defaultProps:c,elementType:"button",activeDescendantController:u});return k.onKeyDown=ye(y,k.onKeyDown),k}function yN(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}const wN=(e,t)=>{var o;e=Vo(e,{supportsLabelFor:!0});const{listboxRef:i,activeParentRef:a,controller:l}=Pd({matchOption:Jd}),c=m0({...e,activeDescendantController:l,freeform:!1}),{appearance:u,size:d,freeform:p,...v}=c,{clearable:h,clearSelection:x,disabled:y,hasFocus:k,multiselect:b,open:B,selectedOptions:z,setOpen:j}=v,{primary:S,root:N}=ir({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[q,C]=h0(e),M=m.useRef(null),H=b0(e.listbox,Se(q,i),{state:c,triggerRef:M,defaultProps:{children:e.children}}),{targetDocument:W}=Ie();ds({element:W,callback:P=>j(P,!1),refs:[M,q,C],disabled:!B});var ce;const te=bN((ce=e.button)!==null&&ce!==void 0?ce:{},Se(M,a,t),{state:c,defaultProps:{type:"button",tabIndex:S.disabled?void 0:0,children:v.value||e.placeholder,"aria-controls":B?H?.id:void 0,...S},activeDescendantController:l}),Z=ie(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&B?H?.id:void 0,children:e.children,...N},elementType:"div"});Z.ref=Se(Z.ref,C);const $=z.length>0&&!y&&h&&!b,le={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:zs},root:Z,button:te,listbox:B||k?H:void 0,clearButton:ve(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:$?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:ve(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!v.value&&!!e.placeholder,showClearButton:$,activeDescendantController:l,...v},we=K(ye((o=le.clearButton)===null||o===void 0?void 0:o.onClick,P=>{var Y;x(P),(Y=M.current)===null||Y===void 0||Y.focus()}));return le.clearButton&&(le.clearButton.onClick=we),b&&(le.clearButton=void 0),le},kN=(e,t)=>{const o=Ur();var i;const{appearance:a="outline",size:l=(i=o?.size)!==null&&i!==void 0?i:"medium",...c}=e,u=wN(c,t);if(u.clearButton){var d,p;(p=(d=u.clearButton).children)!==null&&p!==void 0||(d.children=m.createElement(ba,null))}if(u.expandIcon){var v,h;(h=(v=u.expandIcon).children)!==null&&h!==void 0||(v.children=m.createElement(kd,null))}return{...u,appearance:a,size:l,button:{...w0(u.button,u.open),...u.button}}},xN=(e,t)=>I(e.root,{children:I(Ed,{value:t.activeDescendant,children:I(fi.Provider,{value:t.listbox,children:_e(Yd.Provider,{value:t.combobox,children:[_e(e.button,{children:[e.button.children,e.expandIcon&&I(e.expandIcon,{})]}),e.clearButton&&I(e.clearButton,{}),e.listbox&&(e.inlinePopup?I(e.listbox,{}):I(Zd,{mountNode:e.mountNode,children:I(e.listbox,{})}))]})})})}),ta={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},BN=L({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:"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"]},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}],[".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);}",".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);}"]}),SN=L({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);}"]}),zN=me("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;}}"]}),_N=e=>{const{appearance:t,open:o,placeholderVisible:i,showClearButton:a,size:l}=e,c=`${e.button["aria-invalid"]}`=="true",u=e.button.disabled,d=BN(),p=SN(),v=zN();return e.root.className=R(ta.root,d.root,d[t],!u&&t==="outline"&&d.outlineInteractive,c&&t!=="underline"&&d.invalid,c&&t==="underline"&&d.invalidUnderline,u&&d.disabled,e.root.className),e.button.className=R(ta.button,d.button,d[l],i&&d.placeholder,u&&d.disabledText,e.button.className),e.listbox&&(e.listbox.className=R(ta.listbox,d.listbox,e.inlinePopup&&d.inlineListbox,!o&&d.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=R(ta.expandIcon,p.icon,p[l],u&&p.disabled,a&&d.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=R(ta.clearButton,v,p.icon,p[l],u&&p.disabled,!a&&d.hidden,e.clearButton.className)),e},NN=m.forwardRef((e,t)=>{const o=kN(e,t),i=p0(o);return _N(o),de("useDropdownStyles_unstable")(o),xN(o,i)});NN.displayName="Dropdown";const jN=(e,t)=>{const o=Le("group-label"),{label:i}=e;return{components:{root:"div",label:"span"},root:ie(ze("div",{ref:t,role:"group","aria-labelledby":i?o:void 0,...e}),{elementType:"div"}),label:ve(i,{defaultProps:{id:o,role:"presentation"},elementType:"span"})}},CN=e=>_e(e.root,{children:[e.label&&I(e.label,{children:e.label.children}),e.root.children]}),wm={root:"fui-OptionGroup",label:"fui-OptionGroup__label"},TN=L({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Belr9w4:"fiut8dr",B8lkq7l:"f1xxzjds",eii1in:0,H93o2g:0,Gwp8xu:0,Bd39igo:"f16cmn8k",om0q45:"f5642y",Hl9o3s:"ffdf81h",sl1c2c:0,z4hxbw:0,B0i58d9:0,Bi9x0x4:0,Bgurq3m:"f1bsn9kn"},label:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f11d4kpn",mc9l5x:"ftgm304",Be2twd7:"fy9rknc",Bhrd7zp:"fl43uef",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mpq0zz"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".fiut8dr{row-gap:var(--spacingHorizontalXXS);}",'.f1xxzjds:not(:last-child)::after{content:"";}',[".f16cmn8k:not(:last-child)::after{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".f5642y:not(:last-child)::after{display:block;}",".ffdf81h:not(:last-child)::after{padding-bottom:var(--spacingHorizontalXS);}",[".f1bsn9kn:not(:last-child)::after{margin:0 calc(var(--spacingHorizontalXS) * -1) var(--spacingVerticalXS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f11d4kpn{color:var(--colorNeutralForeground3);}",".ftgm304{display:block;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".f1mpq0zz{padding:var(--spacingHorizontalS) var(--spacingHorizontalSNudge);}",{p:-1}]]}),qN=e=>{const t=TN();return e.root.className=R(wm.root,t.root,e.root.className),e.label&&(e.label.className=R(wm.label,t.label,e.label.className)),e},IN=m.forwardRef((e,t)=>{const o=jN(e,t);return qN(o),de("useOptionGroupStyles_unstable")(o),CN(o)});IN.displayName="OptionGroup";function RN(e,t){return t===""?!0:e.toLowerCase().includes(t.toLowerCase())}function km(e){return typeof e=="string"?e:e.value}function ZD(e,t,o){const{filter:i=RN,noOptionsMessage:a="We couldn't find any matches.",optionToReactKey:l=km,optionToText:c=km,renderOption:u=p=>typeof p=="string"?m.createElement(Jl,{key:p},p):m.createElement(Jl,{...p,key:l(p),text:c(p),value:p.value},p.children)}=o,d=m.useMemo(()=>{const p=e.trim();return t.filter(v=>i(c(v),p))},[t,c,i,e]);return d.length===0?[m.createElement(Jl,{"aria-disabled":"true",key:"no-results",text:""},a)]:d.map(p=>u(p))}const x0=e=>I(e.root,{children:e.root.children!==void 0&&I(e.wrapper,{children:e.root.children})}),EN=(e,t)=>{const{alignContent:o="center",appearance:i="default",inset:a=!1,...l}=e,c=B0(l,t);return{alignContent:o,appearance:i,inset:a,...c}},B0=(e,t)=>{const{vertical:o=!1,wrapper:i,...a}=e,l=Le("divider-");return{vertical:o,components:{root:"div",wrapper:"div"},root:ie({role:"separator","aria-orientation":o?"vertical":"horizontal","aria-labelledby":e.children?l:void 0,ref:t,...a},{elementType:"div"}),wrapper:ie(i,{defaultProps:{id:l,children:e.children},elementType:"div"})}},xm={root:"fui-Divider",wrapper:"fui-Divider__wrapper"},PN=L({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);}"]}),DN=L({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;}"]}),FN=L({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;}"]}),S0=e=>{const t=PN(),o=DN(),i=FN(),{alignContent:a,appearance:l,inset:c,vertical:u}=e;return e.root.className=R(xm.root,t.base,t[a],l&&t[l],!u&&o.base,!u&&c&&o.inset,!u&&o[a],u&&i.base,u&&c&&i.inset,u&&i[a],u&&e.root.children!==void 0&&i.withChildren,e.root.children===void 0&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=R(xm.wrapper,e.wrapper.className)),e},MN=m.forwardRef((e,t)=>{const o=EN(e,t);return S0(o),de("useDividerStyles_unstable")(o),x0(o)});MN.displayName="Divider";const z0=(e,t)=>{const o=ka(),i=Ur();var a,l;const{size:c=(a=i?.size)!==null&&a!==void 0?a:"medium",appearance:u=(l=o.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",...d}=e,p=HN(d,t);return{size:c,appearance:u,...p}},HN=(e,t)=>{const o=Vo(e,{supportsLabelFor:!0,supportsRequired:!0}),[i,a]=Xe({state:o.value,defaultState:o.defaultValue,initialState:""}),l=ir({props:o,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),c={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:ie(o.input,{defaultProps:{type:"text",ref:t,...l.primary},elementType:"input"}),contentAfter:ve(o.contentAfter,{elementType:"span"}),contentBefore:ve(o.contentBefore,{elementType:"span"}),root:ie(o.root,{defaultProps:l.root,elementType:"span"})};return c.input.value=i,c.input.onChange=K(u=>{var d;const p=u.target.value;(d=o.onChange)===null||d===void 0||d.call(o,u,{value:p}),a(p)}),c},AN=e=>_e(e.root,{children:[e.contentBefore&&I(e.contentBefore,{}),I(e.input,{}),e.contentAfter&&I(e.contentAfter,{})]}),Hl={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"},ON=me("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;}}"]}),LN=L({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;}"]}),VN=me("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;}"]),WN=L({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);}"]}),$N=me("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),GN=L({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;}"]}),_0=e=>{const{size:t,appearance:o}=e,i=e.input.disabled,a=`${e.input["aria-invalid"]}`=="true",l=o.startsWith("filled"),c=LN(),u=WN(),d=GN();e.root.className=R(Hl.root,ON(),c[t],e.contentBefore&&c[`${t}WithContentBefore`],e.contentAfter&&c[`${t}WithContentAfter`],c[o],!i&&o==="outline"&&c.outlineInteractive,!i&&o==="underline"&&c.underlineInteractive,!i&&l&&c.filledInteractive,l&&c.filled,!i&&a&&c.invalid,i&&c.disabled,e.root.className),e.input.className=R(Hl.input,VN(),u[t],e.contentBefore&&u[`${t}WithContentBefore`],e.contentAfter&&u[`${t}WithContentAfter`],i&&u.disabled,e.input.className);const p=[$N(),i&&d.disabled,d[t]];return e.contentBefore&&(e.contentBefore.className=R(Hl.contentBefore,...p,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=R(Hl.contentAfter,...p,e.contentAfter.className)),e},UN=m.forwardRef((e,t)=>{const o=z0(e,t);return _0(o),de("useInputStyles_unstable")(o),AN(o)});UN.displayName="Input";const XN=e=>{const{disabled:t,disabledFocusable:o}=e,{onClick:i,onKeyDown:a,role:l,tabIndex:c}=e.root;return e.root.as==="a"&&(e.root.href=t?void 0:e.root.href,(t||o)&&(e.root.role=l||"link")),(e.root.as==="a"||e.root.as==="span")&&(e.root.tabIndex=c??(t&&!o?void 0:0)),e.root.onClick=u=>{t||o?u.preventDefault():i?.(u)},e.root.onKeyDown=u=>{const d=u.key===Eo||u.key===$t;(t||o)&&d?(u.preventDefault(),u.stopPropagation()):(a?.(u),e.root.as==="span"&&e.root.onClick&&!a&&d&&(u.preventDefault(),u.currentTarget.click()))},e.disabled=t||o,e.root["aria-disabled"]=t||o||void 0,e.root.as==="button"&&(e.root.disabled=t&&!o),e},N0=m.createContext(void 0),KN={inline:!1},QN=N0.Provider,YN=()=>{var e;return(e=m.useContext(N0))!==null&&e!==void 0?e:KN},JN=(e,t)=>{const o=hx(),{inline:i}=YN(),{appearance:a="default",inline:l,...c}=e,u=ZN(c,t);return{appearance:a,backgroundAppearance:o,inline:l??!!i,...u}},ZN=(e,t)=>{const{disabled:o=!1,disabledFocusable:i=!1}=e,a=e.as||(e.href?"a":"button"),l={role:a==="span"?"button":void 0,type:a==="button"?"button":void 0,...e,as:a},c={disabled:o,disabledFocusable:i,components:{root:a},root:ie(ze(a,{ref:t,...l}),{elementType:a})};return XN(c),c},ej={root:"fui-Link"},tj=L({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg",B7iucu3:"f1cyfu5x",Bahaeuw:"fa9u7a5",Boo3t63:"fji3q0k"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1ujg2k6",lj723h:"f1ebemlp"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ujg2k6:hover{color:var(--colorBrandForegroundInverted);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ebemlp:active{color:var(--colorBrandForegroundInverted);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"],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){.fji3q0k:active{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),oj=e=>{const t=tj(),{appearance:o,disabled:i,inline:a,root:l,backgroundAppearance:c}=e;return e.root.className=R(ej.root,t.root,t.focusIndicator,l.as==="a"&&l.href&&t.href,l.as==="button"&&t.button,o==="subtle"&&t.subtle,c==="inverted"&&t.inverted,c==="brand"&&t.brand,a&&t.inline,i&&t.disabled,e.root.className),e},rj=e=>I(e.root,{}),nj=m.forwardRef((e,t)=>{const o=JN(e,t);return oj(o),de("useLinkStyles_unstable")(o),rj(o)});nj.displayName="Link";const _s=lo(void 0),ij={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},aj=_s.Provider,Fe=e=>Bo(_s,(t=ij)=>e(t)),j0=m.createContext(void 0),lj=!1,sj=j0.Provider,cj=()=>{var e;return(e=m.useContext(j0))!==null&&e!==void 0?e:lj},C0=m.createContext(void 0),uj={headerId:""},dj=C0.Provider,fj=()=>{var e;return(e=m.useContext(C0))!==null&&e!==void 0?e:uj},ef=lo(void 0),pj={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},vj=ef.Provider,nr=e=>Bo(ef,(t=pj)=>e(t)),ga="fuimenuenter",gj=e=>{const{refs:t,callback:o,element:i,disabled:a}=e,l=K(c=>{const u=t[0],d=c.target;var p;!Nt((p=u.current)!==null&&p!==void 0?p:null,d)&&!a&&o(c)});m.useEffect(()=>{if(i!=null)return a||i.addEventListener(ga,l),()=>{i.removeEventListener(ga,l)}},[l,i,a])},mj=(e,t)=>{e.dispatchEvent(new CustomEvent(ga,{bubbles:!0,detail:{nativeEvent:t}}))};function tf(){const e=Fe(o=>o.isSubmenu),t=ii(ef);return e||t}const T0=e=>{const{targetDocument:t}=Ie();return Fe(i=>i.triggerRef),Fe(i=>i.inline),m.useRef(null)},ud="fuimenusafezonetimeout",hj=e=>{const t=m.useRef(null);return m.useCallback(o=>{var i;(i=t.current)===null||i===void 0||i.removeEventListener(ud,e),o?.addEventListener(ud,e),t.current=o},[e])},bj=L({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;}"]}),of=e=>{const t=bj();e.checkmark&&(e.checkmark.className=R(t.root,e.checked&&t.rootChecked,e.checkmark.className))},Cr={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"},yj=me("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;}}"]}),wj=me("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;}"]),kj=me("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);}"]),xj=me("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;}"]),Bj=me("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),Sj=me("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),zj=L({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},submenuOpen:{De3pzq:"f5gciec",sj55zd:"fmh2wxz",D0sxk3:"fxoiby5",t6yez3:"f15q0o9g",B3y4be1:"f17gqod3",B2i6fwv:"f15ms52v",By8wz76:"fix5gee",B7iucu3:"f1gokeew"},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);}",".f5gciec{background-color:var(--colorNeutralBackground1Hover);}",".fmh2wxz{color:var(--colorNeutralForeground2Hover);}",".fxoiby5 .fui-Icon-filled{display:inline;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f17gqod3 .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".f15ms52v .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.fix5gee{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1gokeew{color:Highlight;}}",{m:"(forced-colors: active)"}],["@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)"}]],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);}"]}),_j=L({disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Nj=L({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),rf=e=>{const t=zj(),o=yj(),i=wj(),a=kj(),l=xj(),c=Bj(),u=Nj(),d=Sj(),p=_j(),v=!!e.subText;return e.root.className=R(Cr.root,o,e.submenuOpen&&t.submenuOpen,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=R(Cr.content,i,e.content.className,v&&u.content)),e.checkmark&&(e.checkmark.className=R(Cr.checkmark,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=R(Cr.secondaryContent,a,e.disabled&&t.disabled,e.secondaryContent.className,v&&u.secondaryContent)),e.icon&&(e.icon.className=R(Cr.icon,l,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=R(Cr.submenuIndicator,c,e.submenuIndicator.className,v&&u.submenuIndicator)),e.subText&&(e.subText.className=R(Cr.subText,e.disabled&&p.disabled,e.subText.className,d)),of(e),e},Bm=qe.durationSlower,Sm=qe.curveDecelerateMid,zm=Lo(({distance:e=10})=>({enter:[ao({duration:Bm,easing:Sm,direction:"enter"}),{...Hd({duration:Bm,easing:Sm,direction:"enter",outX:`calc(var(${os}, 0px) * ${e})`,outY:`calc(var(${rs}, 0px) * ${e})`}),composite:"accumulate"}],exit:[]})),jj=["after","after-bottom","before-top","before","before-bottom","above"],Cj=e=>{const{surfaceMotion:t,...o}=e,i=Tj(o);return{...i,components:{surfaceMotion:zm},surfaceMotion:si(t,{elementType:zm,defaultProps:{visible:i.open,appear:!0,unmountOnExit:!0}})}},Tj=e=>{const t=tf(),{hoverDelay:o=500,inline:i=!1,hasCheckmarks:a=!1,hasIcons:l=!1,closeOnScroll:c=!1,openOnContext:u=!1,persistOnItemClick:d=!1,openOnHover:p=t,defaultCheckedValues:v,mountNode:h=null,safeZone:x}=e,{targetDocument:y}=Ie(),k=Le("menu"),[b,B]=Zb(),z=di(e.positioning),j=Pb({targetDocument:y,onPositioningEnd:z.onPositioningEnd}),S={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?b:void 0,fallbackPositions:t?jj:void 0,...z,onPositioningEnd:j},N=m.Children.toArray(e.children);let q,C;N.length===2?(q=N[0],C=N[1]):N.length===1&&(C=N[0]);const{targetRef:M,containerRef:H}=Ss(S),W=x&&p,ce=m.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),te=e4({disabled:!W,timeout:typeof x=="object"?x.timeout:300,onSafeZoneEnter:F=>{we(F,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:F}),ce.current.isInside=!0},onSafeZoneLeave:()=>{ce.current.isInside=!1},onSafeZoneMove:F=>{ce.current.mouseCoordinates={x:F.clientX,y:F.clientY}},onSafeZoneTimeout:()=>{const F=new CustomEvent(ud);if(we(F,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:F}),ce.current.isInside&&y){const X=y.elementsFromPoint(ce.current.mouseCoordinates.x,ce.current.mouseCoordinates.y).find(J=>J.classList.contains(Cr.root));X?.dispatchEvent(F)}}}),Z=Se(M,te.targetRef),$=Se(H,te.containerRef),[le,we]=Ij({hoverDelay:o,isSubmenu:t,setContextTarget:B,closeOnScroll:c,menuPopoverRef:$,triggerRef:Z,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:u}),[P,Y]=qj({checkedValues:e.checkedValues,defaultCheckedValues:v,onCheckedValueChange:e.onCheckedValueChange});return{inline:i,hoverDelay:o,triggerId:k,isSubmenu:t,openOnHover:p,contextTarget:b,setContextTarget:B,hasCheckmarks:a,hasIcons:l,closeOnScroll:c,menuTrigger:q,menuPopover:C,mountNode:h,triggerRef:Z,menuPopoverRef:$,openOnContext:u,open:le,setOpen:we,checkedValues:P,onCheckedValueChange:Y,persistOnItemClick:d,safeZone:te.elementToRender}},qj=e=>{const[t,o]=Xe({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),i=K((a,{name:l,checkedItems:c})=>{var u;(u=e.onCheckedValueChange)===null||u===void 0||u.call(e,a,{name:l,checkedItems:c}),o(d=>({...d,[l]:c}))});return[t,i]},Ij=e=>{const{targetDocument:t}=Ie(),o=Fe(b=>b.setOpen),i=K((b,B)=>{var z;return(z=e.onOpenChange)===null||z===void 0?void 0:z.call(e,b,B)}),a=m.useRef(!1),[l,c]=Xe({state:e.open,defaultState:e.defaultOpen,initialState:!1}),u=K((b,B)=>{const z=b instanceof CustomEvent&&b.type===ga?b.detail.nativeEvent:b;i?.(z,{...B}),B.open&&b.type==="contextmenu"&&e.setContextTarget(b),B.open||e.setContextTarget(void 0),B.bubble&&o(b,{...B}),c(B.open)}),[d,p]=Or(),v=K((b,B)=>{if(p(),!(b instanceof Event)&&b.persist&&b.persist(),!B.ignoreHoverDelay&&(b.type==="mouseleave"||b.type==="mouseover"||b.type==="mousemove"||b.type===ga)){var j;!((j=e.triggerRef.current)===null||j===void 0)&&j.contains(b.target)&&(a.current=b.type==="mouseover"||b.type==="mousemove"),d(()=>u(b,B),e.hoverDelay)}else u(b,B)});ds({contains:Nt,disabled:!l,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:b=>v(b,{open:!1,type:"clickOutside",event:b})});const h=e.openOnContext||e.closeOnScroll;Bh({contains:Nt,element:t,callback:b=>v(b,{open:!1,type:"scrollOutside",event:b}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!l||!h}),gj({element:t,callback:b=>{a.current||v(b,{open:!1,type:"menuMouseEnter",event:b})},disabled:!l,refs:[e.menuPopoverRef]});const{findFirstFocusable:x}=Ao(),y=m.useCallback(()=>{const b=x(e.menuPopoverRef.current);b?.focus()},[x,e.menuPopoverRef]),k=Sd();return m.useEffect(()=>{if(l)y();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 z;(z=e.triggerRef.current)===null||z===void 0||z.focus()}}},[e.triggerRef,e.isSubmenu,l,y,t,e.menuPopoverRef]),[l,v]};function Rj(e){const{checkedValues:t,hasCheckmarks:o,hasIcons:i,inline:a,isSubmenu:l,menuPopoverRef:c,mountNode:u,onCheckedValueChange:d,open:p,openOnContext:v,openOnHover:h,persistOnItemClick:x,safeZone:y,setOpen:k,triggerId:b,triggerRef:B}=e;return{menu:m.useMemo(()=>({checkedValues:t,hasCheckmarks:o,hasIcons:i,inline:a,isSubmenu:l,menuPopoverRef:c,mountNode:u,onCheckedValueChange:d,open:p,openOnContext:v,openOnHover:h,persistOnItemClick:x,safeZone:y,setOpen:k,triggerId:b,triggerRef:B}),[t,o,i,a,l,c,u,d,p,v,h,x,y,k,b,B])}}const Ej=(e,t)=>_e(aj,{value:t.menu,children:[e.menuTrigger,e.menuPopover&&I(e.surfaceMotion,{children:I(_a,{children:e.menuPopover})})]}),Pj=e=>{const t=Cj(e),o=Rj(t);return Ej(t,o)};Pj.displayName="Menu";const Dj=(e,t)=>({components:{root:"div"},root:ie(ze("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}),Fj={root:"fui-MenuDivider"},Mj=L({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}]]}),Hj=e=>{const t=Mj();return e.root.className=R(Fj.root,t.root,e.root.className),e},Aj=e=>I(e.root,{}),Oj=m.forwardRef((e,t)=>{const o=Dj(e,t);return Hj(o),de("useMenuDividerStyles_unstable")(o),Aj(o)});Oj.displayName="MenuDivider";function Lj(e,t){const o=Le("menu-group");return{components:{root:"div"},root:ie(ze("div",{ref:t,"aria-labelledby":o,role:"group",...e}),{elementType:"div"}),headerId:o}}const Vj=(e,t)=>I(dj,{value:t.menuGroup,children:I(e.root,{})});function Wj(e){const{headerId:t}=e;return{menuGroup:m.useMemo(()=>({headerId:t}),[t])}}const $j={root:"fui-MenuGroup"},Gj=e=>(e.root.className=R($j.root,e.root.className),e),Uj=m.forwardRef((e,t)=>{const o=Lj(e,t),i=Wj(o);return Gj(o),de("useMenuGroupStyles_unstable")(o),Vj(o,i)});Uj.displayName="MenuGroup";function Xj(e,t){const{headerId:o}=fj();return{components:{root:"div"},root:ie(ze("div",{ref:t,id:o,...e}),{elementType:"div"})}}const Kj={root:"fui-MenuGroupHeader"},Qj=L({root:{Be2twd7:"fy9rknc",sj55zd:"f11d4kpn",uwmqm3:["f177v4lu","f19lj068"],z189sj:["f19lj068","f177v4lu"],Bhrd7zp:"fl43uef",Bqenvij:"f1d2rq10",mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".fy9rknc{font-size:var(--fontSizeBase200);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f177v4lu{padding-left:8px;}",".f19lj068{padding-right:8px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1d2rq10{height:32px;}",".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),Yj=e=>{const t=Qj();return e.root.className=R(Kj.root,t.root,e.root.className),e},Jj=e=>I(e.root,{}),Zj=m.forwardRef((e,t)=>{const o=Xj(e,t);return Yj(o),de("useMenuGroupHeaderStyles_unstable")(o),Jj(o)});Zj.displayName="MenuGroupHeader";const eC=(e,t)=>{const o=nr(a=>a.setFocusByFirstCharacter),{onKeyDown:i}=e.root;return e.root.onKeyDown=a=>{var l;i?.(a),!(((l=a.key)===null||l===void 0?void 0:l.length)>1)&&t.current&&o?.(a,t.current)},e},q0=m.createContext(void 0),I0={setMultiline:()=>null};q0.Provider;const R0=()=>{var e;return(e=m.useContext(q0))!==null&&e!==void 0?e:I0},E0=()=>R0()!==I0,nf=(e,t)=>{const o=cj(),i=Fe(j=>j.persistOnItemClick),{as:a="div",disabled:l=!1,hasSubmenu:c=o,persistOnClick:u=i,content:d,...p}=e,{hasIcons:v,hasCheckmarks:h}=oC({hasSubmenu:c}),x=Fe(j=>j.setOpen),y=Fe(j=>j.open);tC({multiline:!!e.subText,hasSubmenu:c});const k=m.useRef(null),b=m.useRef(!1),B=T0(rC(e.role)),z={hasSubmenu:c,submenuOpen:c&&y,disabled:l,persistOnClick:u,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:ie(ze(a,Dr(a,{role:"menuitem",...p,disabled:!1,disabledFocusable:l,ref:Se(t,k,B),onKeyDown:K(j=>{var S;(S=e.onKeyDown)===null||S===void 0||S.call(e,j),!j.isDefaultPrevented()&&(j.key===$t||j.key===Eo)&&(b.current=!0)}),onMouseMove:K(j=>{var S;if(j.currentTarget.ownerDocument.activeElement!==j.currentTarget){var N;(N=k.current)===null||N===void 0||N.focus()}(S=e.onMouseMove)===null||S===void 0||S.call(e,j)}),onClick:K(j=>{var S;!c&&!u&&(x(j,{open:!1,keyboard:b.current,bubble:!0,type:"menuItemClick",event:j}),b.current=!1),(S=e.onClick)===null||S===void 0||S.call(e,j)})})),{elementType:"div"}),icon:ve(e.icon,{renderByDefault:v,elementType:"span"}),checkmark:ve(e.checkmark,{renderByDefault:h,elementType:"span"}),submenuIndicator:ve(e.submenuIndicator,{renderByDefault:c,elementType:"span"}),content:ve(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:ve(e.secondaryContent,{elementType:"span"}),subText:ve(e.subText,{elementType:"span"})};return eC(z,k),z},tC=e=>{const{hasSubmenu:t,multiline:o}=e,i=E0()&&t,{setMultiline:a}=R0();He(()=>{i||a(o)},[a,o,i])},oC=e=>{const{hasSubmenu:t}=e,o=nr(l=>l.hasIcons),i=nr(l=>l.hasCheckmarks),a=E0()&&t;return{hasIcons:o&&!a,hasCheckmarks:i&&!a}},rC=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},nC=ya(ak,rh),iC=ya(sk,lk),aC=(e,t)=>{const{dir:o}=Ie(),i=nf(e,t);if(i.submenuIndicator){var a,l;(l=(a=i.submenuIndicator).children)!==null&&l!==void 0||(a.children=o==="rtl"?m.createElement(iC,null):m.createElement(nC,null))}return i},lC=e=>_e(e.root,{children:[e.checkmark&&I(e.checkmark,{}),e.icon&&I(e.icon,{}),e.content&&_e(e.content,{children:[e.content.children,e.subText&&I(e.subText,{})]}),e.secondaryContent&&I(e.secondaryContent,{}),e.submenuIndicator&&I(e.submenuIndicator,{})]}),sC=m.forwardRef((e,t)=>{const o=aC(e,t);return rf(o),de("useMenuItemStyles_unstable")(o),lC(o)});sC.displayName="MenuItem";const cC=(e,t)=>{const o=uC(e,t);if(o.checkmark){var i,a;(a=(i=o.checkmark).children)!==null&&a!==void 0||(i.children=m.createElement(wd,null))}return o},uC=(e,t)=>{const o=nr(u=>u.toggleCheckbox),{name:i,value:a}=e,l=nr(u=>{var d;return(((d=u.checkedValues)===null||d===void 0?void 0:d[i])||[]).indexOf(a)!==-1});return{...nf({role:"menuitemcheckbox",persistOnClick:!0,...e,"aria-checked":l,checkmark:ve(e.checkmark,{renderByDefault:!0,elementType:"span"}),onClick:u=>{var d;o?.(u,i,a,l),(d=e.onClick)===null||d===void 0||d.call(e,u)}},t),name:i,value:a,checked:l}},dC=e=>_e(e.root,{children:[e.checkmark&&I(e.checkmark,{}),e.icon&&I(e.icon,{}),e.content&&_e(e.content,{children:[e.content.children,e.subText&&I(e.subText,{})]}),e.secondaryContent&&I(e.secondaryContent,{})]}),$n={root:"fui-MenuItemCheckbox",icon:"fui-MenuItemCheckbox__icon",checkmark:"fui-MenuItemCheckbox__checkmark",content:"fui-MenuItemCheckbox__content",secondaryContent:"fui-MenuItemCheckbox__secondaryContent",subText:"fui-MenuItemCheckbox__subText"},fC=e=>(e.root.className=R($n.root,e.root.className),e.content&&(e.content.className=R($n.content,e.content.className)),e.secondaryContent&&(e.secondaryContent.className=R($n.secondaryContent,e.secondaryContent.className)),e.icon&&(e.icon.className=R($n.icon,e.icon.className)),e.checkmark&&(e.checkmark.className=R($n.checkmark,e.checkmark.className)),e.subText&&(e.subText.className=R($n.subText,e.subText.className)),rf(e),of(e),e),pC=m.forwardRef((e,t)=>{const o=cC(e,t);return fC(o),de("useMenuItemCheckboxStyles_unstable")(o),dC(o)});pC.displayName="MenuItemCheckbox";const vC=(e,t)=>{const o=gC(e,t);if(o.checkmark){var i,a;(a=(i=o.checkmark).children)!==null&&a!==void 0||(i.children=m.createElement(wd,null))}return o},gC=(e,t)=>{const{name:o,value:i}=e,a=nr(c=>{var u;return(((u=c.checkedValues)===null||u===void 0?void 0:u[o])||[]).indexOf(i)!==-1}),l=nr(c=>c.selectRadio);return{...nf({...e,role:"menuitemradio","aria-checked":a,checkmark:ve(e.checkmark,{renderByDefault:!0,elementType:"span"}),onClick:c=>{var u;l?.(c,o,i,a),(u=e.onClick)===null||u===void 0||u.call(e,c)}},t),checked:a,name:o,value:i}},mC=e=>_e(e.root,{children:[e.checkmark&&I(e.checkmark,{}),e.icon&&I(e.icon,{}),e.content&&_e(e.content,{children:[e.content.children,e.subText&&I(e.subText,{})]}),e.secondaryContent&&I(e.secondaryContent,{})]}),Gn={root:"fui-MenuItemRadio",icon:"fui-MenuItemRadio__icon",checkmark:"fui-MenuItemRadio__checkmark",content:"fui-MenuItemRadio__content",secondaryContent:"fui-MenuItemRadio__secondaryContent",subText:"fui-MenuItemRadio__subText"},hC=e=>{e.root.className=R(Gn.root,e.root.className),e.content&&(e.content.className=R(Gn.content,e.content.className)),e.secondaryContent&&(e.secondaryContent.className=R(Gn.secondaryContent,e.secondaryContent.className)),e.icon&&(e.icon.className=R(Gn.icon,e.icon.className)),e.checkmark&&(e.checkmark.className=R(Gn.checkmark,e.checkmark.className)),e.subText&&(e.subText.className=R(Gn.subText,e.subText.className)),rf(e),of(e)},bC=m.forwardRef((e,t)=>{const o=vC(e,t);return hC(o),de("useMenuItemRadioStyles_unstable")(o),mC(o)});bC.displayName="MenuItemRadio";const P0=["menuitem","menuitemcheckbox","menuitemradio"],yC=P0.map(e=>`[role="${e}"]`).join(","),wC=(e,t)=>{const o=xC(),i=ii(_s);BC(e,o,i)&&console.warn("You are using both MenuList and Menu props, we recommend you to use Menu props when available");const a=m.useRef(null),{findAllFocusable:l}=Ao(),{targetDocument:c}=Ie(),u=tr({circular:!0}),d=kC(e,t),p=Se(d.root.ref,a);m.useEffect(()=>{const h=a.current;if(!i||!c||!h)return;const x=y=>{const k=y.detail.next;k&&h.contains(c.activeElement)&&!h.contains(k)&&y.preventDefault()};return c.addEventListener(Ju,x),()=>{c.removeEventListener(Ju,x)}},[i,c]);const v=m.useCallback((h,x)=>{if(!a.current)return;const y=l(a.current,k=>k.hasAttribute("role")&&P0.indexOf(k.getAttribute("role"))!==-1);D0(y,h.key,x)},[l]);return{...d,root:{...u,...d.root,ref:p},setFocusByFirstCharacter:v}},kC=(e,t)=>{const o=Fe(C=>C.triggerId),i=Fe(C=>C.checkedValues),a=Fe(C=>C.onCheckedValueChange),l=Fe(C=>C.hasIcons),c=Fe(C=>C.hasCheckmarks),u=ii(_s),d=m.useRef(null),p=T0(),v=m.useCallback((C,M)=>{if(!d.current)return;const H=Array.from(d.current.querySelectorAll(yC));D0(H,C.key,M)},[]);var h;const[x,y]=Xe({state:(h=e.checkedValues)!==null&&h!==void 0?h:u?i:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var k;const b=(k=e.onCheckedValueChange)!==null&&k!==void 0?k:u?a:void 0,B=K((C,M,H,W)=>{const te=[...x?.[M]||[]];W?te.splice(te.indexOf(H),1):te.push(H),b?.(C,{name:M,checkedItems:te}),y(Z=>({...Z,[M]:te}))}),z=K((C,M,H)=>{const W=[H];y(ce=>({...ce,[M]:W})),b?.(C,{name:M,checkedItems:W})});var j,S,N,q;return{components:{root:"div"},root:ie(ze("div",{ref:Se(t,d,p),role:"menu","aria-labelledby":o,...e}),{elementType:"div"}),checkedValues:x,hasIcons:(S=(j=e.hasIcons)!==null&&j!==void 0?j:l)!==null&&S!==void 0?S:!1,hasCheckmarks:(q=(N=e.hasCheckmarks)!==null&&N!==void 0?N:c)!==null&&q!==void 0?q:!1,hasMenuContext:u,setFocusByFirstCharacter:v,selectRadio:z,toggleCheckbox:B}},D0=(e,t,o)=>{let i=e.indexOf(o)+1;i===e.length&&(i=0);const a=e.map(d=>{var p;return(p=d.textContent)===null||p===void 0?void 0:p.charAt(0).toLowerCase()}),l=t.toLowerCase(),c=d=>{for(let p=d;p<a.length;p++)if(l===a[p])return p;return-1};let u=c(i);u===-1&&(u=c(0)),u>-1&&e[u].focus()},xC=()=>{const e=Fe(l=>l.checkedValues),t=Fe(l=>l.onCheckedValueChange),o=Fe(l=>l.triggerId),i=Fe(l=>l.hasIcons),a=Fe(l=>l.hasCheckmarks);return{checkedValues:e,onCheckedValueChange:t,triggerId:o,hasIcons:i,hasCheckmarks:a}},BC=(e,t,o)=>{let i=!1;for(const a in t)e[a]&&(i=!0);return o&&i},SC=(e,t)=>I(vj,{value:t.menuList,children:I(e.root,{})});function zC(e){const{checkedValues:t,hasCheckmarks:o,hasIcons:i,selectRadio:a,setFocusByFirstCharacter:l,toggleCheckbox:c}=e;return{menuList:m.useMemo(()=>({checkedValues:t,hasCheckmarks:o,hasIcons:i,selectRadio:a,setFocusByFirstCharacter:l,toggleCheckbox:c}),[t,o,i,a,l,c])}}const _C={root:"fui-MenuList"},NC=L({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%;}"]}),jC=e=>{const t=NC();return e.root.className=R(_C.root,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className),e},CC=m.forwardRef((e,t)=>{const o=wC(e,t),i=zC(o);return jC(o),de("useMenuListStyles_unstable")(o),SC(o,i)});CC.displayName="MenuList";const TC=(e,t)=>{"use no memo";const o=Fe(C=>C.safeZone),i=Fe(C=>C.menuPopoverRef),a=Fe(C=>C.setOpen),l=Fe(C=>C.open),c=Fe(C=>C.openOnHover),u=Fe(C=>C.triggerRef),d=tf(),p=nr(C=>{var M;return(M=C.shouldCloseOnArrowLeft)!==null&&M!==void 0?M:!0}),v=m.useRef(!0),[h,x]=Or(),{dir:y}=Ie(),k=y==="ltr"?ai:li,b=m.useCallback(C=>{C&&C.addEventListener("mouseover",M=>{v.current&&(v.current=!1,mj(i.current,M),h(()=>{v.current=!0},250))})},[i,h]);m.useEffect(()=>()=>x(),[x]);var B;const z=(B=Fe(C=>C.inline))!==null&&B!==void 0?B:!1,j=Fe(C=>C.mountNode),S=ie(ze("div",{role:"presentation",...e,ref:Se(t,i,b)}),{elementType:"div"}),{onMouseEnter:N,onKeyDown:q}=S;return S.onMouseEnter=K(C=>{(c||d)&&a(C,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:C}),N?.(C)}),S.onKeyDown=K(C=>{const M=C.key;if(M===Vr||d&&p&&M===k){var H;l&&(!((H=i.current)===null||H===void 0)&&H.contains(C.target))&&!C.isDefaultPrevented()&&(a(C,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:C}),C.preventDefault())}if(M===fb&&(a(C,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:C}),!d)){var W;(W=u.current)===null||W===void 0||W.focus()}q?.(C)}),{inline:z,mountNode:j,safeZone:o,components:{root:"div"},root:S}},qC=(e,t)=>{const o=H2(),i=er({focusable:{ignoreKeydown:{Escape:!0}}}),a=qd(o,i),l=hs(),c=TC(e,t);return{...c,root:{...a,...c.root,ref:Se(c.root.ref,l)}}},IC={root:"fui-MenuPopover"},RC=L({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);}"]}),EC=e=>{const t=RC();return e.root.className=R(IC.root,t.root,e.root.className),e};function PC(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const DC=L({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),F0=ti.useInsertionEffect,FC=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,l=m.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return m.useMemo(()=>{l&&(l.className=t,l.setAttribute("dir",o),l.setAttribute("data-portal-node","true"),i.current=l)},[t,o,l,i]),m.useEffect(()=>()=>{l?.remove()},[l]),l},MC=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},HC=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[l]=m.useState(MC),c=m.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(u,d){if(d==="nodeType")return 1;if(d==="remove"){const h=l.get(a,!1);return h&&h.childNodes.length===0&&l.dispose(),()=>{}}const p=l.get(a,!0),v=p?p[d]:void 0;return typeof v=="function"?v.bind(p):v},set(u,d,p){const v=d==="_virtual"||d==="focusVisible",h=v?l.get(a,!1):l.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[d]:p}),!0):!1}}),[l,a,e.disabled]);return F0(()=>{if(!c)return;const u=t.split(" ").filter(Boolean);return c.classList.add(...u),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...u),c.removeAttribute("dir")}},[t,o,c,i]),m.useEffect(()=>()=>{c?.remove()},[c]),c},AC=F0?HC:FC,OC=e=>{"use no memo";const{targetDocument:t,dir:o}=Ie(),i=xa(),a=bn(),l=DC(),c=wa(),u={dir:o,disabled:e.disabled,focusVisibleRef:a,className:R(c,l.root,e.className),targetNode:i??t?.body};return AC(u)},LC=e=>{const{element:t,className:o}=PC(e.mountNode),i=m.useRef(null),a=OC({disabled:!!t,className:o}),l=t??a,c={children:e.children,mountNode:l,virtualParentRootRef:i};return m.useEffect(()=>{if(!l)return;const u=i.current,d=l.contains(u);if(u&&!d)return Po(l,u),()=>{Po(l,void 0)}},[i,l]),c},VC=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ar.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),M0=e=>{const t=LC(e);return VC(t)};M0.displayName="Portal";const WC=e=>e.inline?_e(m.Fragment,{children:[I(e.root,{}),e.safeZone]}):_e(M0,{mountNode:e.mountNode,children:[I(e.root,{}),e.safeZone]}),$C=m.forwardRef((e,t)=>{const o=qC(e,t);return EC(o),de("useMenuPopoverStyles_unstable")(o),WC(o)});$C.displayName="MenuPopover";function GC(){}const UC=e=>{const t=Fe(a=>a.menuPopoverRef),{findFirstFocusable:o}=Ao(),i=m.useCallback(()=>{const a=o(t.current);a?.focus()},[o,t]);return XC({...e,focusFirst:i})},XC=e=>{const{children:t,disableButtonEnhancement:o=!1,focusFirst:i}=e,a=Fe($=>$.triggerRef),l=Fe($=>$.setOpen),c=Fe($=>$.open),u=Fe($=>$.triggerId),d=Fe($=>$.openOnHover),p=Fe($=>$.openOnContext),v=tf(),h=nr($=>{var le;return(le=$.shouldOpenOnArrowRight)!==null&&le!==void 0?le:!0}),x=m.useRef(!1),y=m.useRef(!1),k=m.useRef(!1),{dir:b}=Ie(),B=b==="ltr"?li:ai,z=ar(t),j=hj(K(()=>{v&&(y.current=!0)})),S=$=>{Un($)||$.isDefaultPrevented()||p&&($.preventDefault(),l($,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:$}))},N=$=>{Un($)||p||(l($,{open:!c,keyboard:x.current,type:"menuTriggerClick",event:$}),x.current=!1)},q=$=>{if(Un($)||$.isDefaultPrevented())return;const le=$.key;!p&&(v&&h&&le===B||!v&&le===ei)&&l($,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:$}),le===Vr&&!v&&l($,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:$}),c&&le===B&&v&&h&&i?.()},C=$=>{Un($)||d&&(k.current?l($,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:$}):y.current&&(l($,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:$}),y.current=!1))},M=$=>{Un($)||d&&!k.current&&(l($,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:$}),k.current=!0)},H=$=>{Un($)||d&&l($,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:$})};var W;const ce={id:u,...z?.props,ref:Se(a,mn(z),j),onMouseEnter:K((W=z?.props.onMouseEnter)!==null&&W!==void 0?W:GC),onMouseLeave:K(ye(z?.props.onMouseLeave,H)),onContextMenu:K(ye(z?.props.onContextMenu,S)),onMouseMove:K(ye(z?.props.onMouseMove,M)),onMouseOver:K(ye(z?.props.onMouseOver,C))},te={"aria-haspopup":"menu","aria-expanded":!c&&!v?void 0:c,...ce,onClick:K(ye(z?.props.onClick,N)),onKeyDown:K(ye(z?.props.onKeyDown,q))},Z=Dr(z?.type==="button"||z?.type==="a"?z.type:"div",te);return{isSubmenu:v,children:oi(t,p?ce:o?te:Z)}},Un=e=>{const t=o=>o.hasAttribute("disabled")||o.hasAttribute("aria-disabled")&&o.getAttribute("aria-disabled")==="true";return it(e.target)&&t(e.target)?!0:it(e.currentTarget)&&t(e.currentTarget)},KC=e=>m.createElement(sj,{value:e.isSubmenu},e.children),H0=e=>{const t=UC(e);return KC(t)};H0.displayName="MenuTrigger";H0.isFluentTriggerComponent=!0;const af=m.createContext(void 0),QC={};af.Provider;const YC=()=>m.useContext(af)||QC,JC=(e,t)=>I(af.Provider,{value:t.radioGroup,children:I(e.root,{})}),ZC=(e,t)=>{const{layout:o="vertical",...i}=e,a=eT(i,t);return{layout:o,...a}},eT=(e,t)=>{e=Vo(e);const o=Le("radiogroup-"),{name:i=o,value:a,defaultValue:l,disabled:c,onChange:u,required:d}=e;return{name:i,value:a,defaultValue:l,disabled:c,required:d,components:{root:"div"},root:{ref:t,role:"radiogroup",...ie(ze("div",e,["onChange","name"]),{elementType:"div"}),onChange:K(p=>{u&&it(p.target,{constructorName:"HTMLInputElement"})&&p.target.type==="radio"&&u(p,{value:p.target.value})})}}},tT={root:"fui-RadioGroup"},oT=L({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),rT=e=>{const t=oT();return e.root.className=R(tT.root,t.root,e.layout==="vertical"&&t.vertical,e.root.className),e},nT=e=>{const{name:t,value:o,defaultValue:i,disabled:a,layout:l,required:c}=e,u=e.root["aria-describedby"];return{radioGroup:m.useMemo(()=>({name:t,value:o,defaultValue:i,disabled:a,layout:l,required:c,"aria-describedby":u}),[t,o,i,a,l,c,u])}},iT=m.forwardRef((e,t)=>{const o=ZC(e,t),i=nT(o);return rT(o),de("useRadioGroupStyles_unstable")(o),JC(o,i)});iT.displayName="RadioGroup";const aT=e=>_e(e.root,{children:[I(e.input,{}),I(e.indicator,{}),e.label&&I(e.label,{})]}),lT=(e,t)=>{const o=sT(e,t);return{...o,components:{...o.components,label:Kt},label:ve(e.label,{defaultProps:{...o.label},elementType:Kt})}},sT=(e,t)=>{const o=YC(),{name:i=o.name,checked:a=o.value!==void 0?o.value===e.value:void 0,defaultChecked:l=o.defaultValue!==void 0?o.defaultValue===e.value:void 0,labelPosition:c=o.layout==="horizontal-stacked"?"below":"after",disabled:u=o.disabled,required:d=o.required,"aria-describedby":p=o["aria-describedby"],onChange:v}=e,h=ir({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),x=ie(e.root,{defaultProps:{ref:ri(),...h.root},elementType:"span"}),y=ie(e.input,{defaultProps:{ref:t,type:"radio",id:Le("radio-",h.primary.id),name:i,checked:a,defaultChecked:l,disabled:u,required:d,"aria-describedby":p,...h.primary},elementType:"input"});y.onChange=ye(y.onChange,B=>v?.(B,{value:B.currentTarget.value}));const k=ve(e.label,{defaultProps:{htmlFor:y.id,disabled:y.disabled},elementType:"label"}),b=ie(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:c,components:{root:"span",input:"input",label:"label",indicator:"div"},root:x,input:y,label:k,indicator:b}},Al={root:"fui-Radio",indicator:"fui-Radio__indicator",input:"fui-Radio__input",label:"fui-Radio__label"},cT=me("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;}}"]}),uT=L({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),dT=me("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;}}"]}),fT=L({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;}"]}),pT=me("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;}"]),vT=L({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;}"]}),gT=e=>{const{labelPosition:t}=e,o=cT(),i=uT();e.root.className=R(Al.root,o,t==="below"&&i.vertical,e.root.className);const a=dT(),l=fT();e.input.className=R(Al.input,a,t==="below"&&l.below,e.indicator.children?l.customIndicator:l.defaultIndicator,e.input.className);const c=pT();e.indicator.className=R(Al.indicator,c,e.indicator.className);const u=vT();return e.label&&(e.label.className=R(Al.label,u.base,u[t],e.label.className)),e},ma=m.forwardRef((e,t)=>{const o=lT(e,t);return gT(o),de("useRadioStyles_unstable")(o),aT(o)});ma.displayName="Radio";const mT=(e,t)=>{const o=ka(),i=Ur();var a,l;const{appearance:c=(a=o.inputDefaultAppearance)!==null&&a!==void 0?a:"outline",size:u=(l=i?.size)!==null&&l!==void 0?l:"medium",...d}=e,p=hT(d,t);if(p.icon){var v,h;(h=(v=p.icon).children)!==null&&h!==void 0||(v.children=m.createElement(kd,null))}return{...p,appearance:c,size:u}},hT=(e,t)=>{e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const{defaultValue:o,value:i,select:a,icon:l,root:c,onChange:u}=e,d=ir({props:e,primarySlotTagName:"select",excludedPropNames:["defaultValue","onChange","value"]}),p={components:{root:"span",select:"select",icon:"span"},select:ie(a,{defaultProps:{defaultValue:o,value:i,ref:t,...d.primary},elementType:"select"}),icon:ve(l,{renderByDefault:!0,elementType:"span"}),root:ie(c,{defaultProps:d.root,elementType:"span"})};return p.select.onChange=K(v=>{u?.(v,{value:v.target.value})}),p},bT=e=>_e(e.root,{children:[I(e.select,{children:e.select.children}),e.icon&&I(e.icon,{})]}),Ou={root:"fui-Select",select:"fui-Select__select",icon:"fui-Select__icon"},yT=L({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);}"]}),wT=L({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);}"]}),kT=L({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)"}]]}),xT=e=>{const{size:t,appearance:o}=e,i=e.select.disabled,a=`${e.select["aria-invalid"]}`=="true",l=kT(),c=yT(),u=wT();return e.root.className=R(Ou.root,c.base,e.root.className),e.select.className=R(Ou.select,u.base,u[t],u[o],!i&&o==="outline"&&u.outlineInteractive,!i&&a&&o!=="underline"&&u.invalid,!i&&a&&o==="underline"&&u.invalidUnderline,i&&u.disabled,i&&o==="underline"&&u.disabledUnderline,e.select.className),e.icon&&(e.icon.className=R(Ou.icon,l.icon,i&&l.disabled,l[t],e.icon.className)),e},BT=m.forwardRef((e,t)=>{const o=mT(e,t);return xT(o),de("useSelectStyles_unstable")(o),bT(o)});BT.displayName="Select";const A0=m.createContext(void 0),ST={},zT=A0.Provider,O0=()=>{var e;return(e=m.useContext(A0))!==null&&e!==void 0?e:ST},_T=(e,t)=>{const{animation:o,appearance:i}=O0(),{animation:a=o??"wave",appearance:l=i??"opaque",size:c,shape:u,...d}=e;return{...NT(d,t),animation:a,appearance:l,size:c,shape:u}},NT=(e,t)=>{const o=ie(ze("div",{ref:t,role:"progressbar","aria-busy":!0,...e}),{elementType:"div"});return{components:{root:"div"},root:o}},jT=(e,t)=>I(zT,{value:t.skeletonGroup,children:I(e.root,{})}),CT={root:"fui-Skeleton"},TT=L({blockStyling:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),qT=e=>{const t=TT();return e.root.className=R(CT.root,e.root.as==="span"&&t.blockStyling,e.root.className),e},IT=e=>{const{animation:t,appearance:o,size:i,shape:a}=e;return{skeletonGroup:m.useMemo(()=>({animation:t,appearance:o,size:i,shape:a}),[t,o,i,a])}},RT=m.forwardRef((e,t)=>{const o=_T(e,t),i=IT(o);return qT(o),de("useSkeletonStyles_unstable")(o),jT(o,i)});RT.displayName="Skeleton";const ET=(e,t)=>{const{animation:o,appearance:i,size:a,shape:l}=O0(),{animation:c=o??"wave",appearance:u=i??"opaque",size:d=a??16,shape:p=l??"rectangle",...v}=e;return{...PT(v,t),animation:c,appearance:u,size:d,shape:p}},PT=(e,t)=>{const o=ie(ze("div",{ref:t,...e}),{elementType:"div"});return{components:{root:"div"},root:o}},DT=e=>I(e.root,{}),FT={root:"fui-SkeletonItem"},MT=L({root:{qhf8xq:"f10pi13n",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bsft5z2:"f13zj6fq",ap17g6:"f2gz7yw",E3zdtr:"f1mdlcz9",By385i5:0,Eqx8gd:0,B1piin3:0,bn5sak:0,B58onuk:"f1nt53hs",s9ouvv:"f18xs7ez",xr36ep:"ffm3629",Bitv4sc:"f1f9zsvm",Gt9ir8:"f1evo4vk",Crt7la:"f18va1k3"},wave:{De3pzq:"f1gjxg63",Br128sd:["f3fo419","f6m9r4"],h62rwi:["ftnv2js","f12jzhyt"],b1kco5:["fig1c6l","f1rv5y9h"],Iqrfzq:"f1xjc3a9"},pulse:{Br128sd:"f171zwvm",xr36ep:"fs3pcyf",Bjyk6c5:"f1yu5riq"},translucent:{De3pzq:"f162mh4z",h62rwi:["flvf4r0","f1uek97b"]},translucentPulse:{De3pzq:"flu3bqm",Bjyk6c5:"fxucc0w"},blockStyling:{mc9l5x:"ftgm304"}},{d:[".f10pi13n{position:relative;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],'.f13zj6fq::after{content:"";}',".f2gz7yw::after{display:block;}",".f1mdlcz9::after{position:absolute;}",[".f1nt53hs::after{inset:0;}",{p:-1}],".f18xs7ez::after{animation-iteration-count:infinite;}",".ffm3629::after{animation-duration:3s;}",".f1f9zsvm::after{animation-timing-function:ease-in-out;}",".f1gjxg63{background-color:var(--colorNeutralStencil1);}",".f3fo419::after{animation-name:f1efwx7q;}",".f6m9r4::after{animation-name:f1kkgpz1;}",`.ftnv2js::after{background-image:linear-gradient(
|
|
34
|
-
to right,
|
|
35
|
-
var(--colorNeutralStencil1) 0%,
|
|
36
|
-
var(--colorNeutralStencil2) 50%,
|
|
37
|
-
var(--colorNeutralStencil1) 100%);}`,`.f12jzhyt::after{background-image:linear-gradient(
|
|
38
|
-
to left,
|
|
39
|
-
var(--colorNeutralStencil1) 0%,
|
|
40
|
-
var(--colorNeutralStencil2) 50%,
|
|
41
|
-
var(--colorNeutralStencil1) 100%);}`,".fig1c6l::after{transform:translate(-100%);}",".f1rv5y9h::after{transform:translate(100%);}",".f171zwvm::after{animation-name:f12o7gg6;}",".fs3pcyf::after{animation-duration:1s;}",".f1yu5riq::after{background-color:var(--colorNeutralStencil1);}",".f162mh4z{background-color:var(--colorNeutralStencil1Alpha);}",`.flvf4r0::after{background-image:linear-gradient(
|
|
42
|
-
to right,
|
|
43
|
-
transparent 0%,
|
|
44
|
-
var(--colorNeutralStencil1Alpha) 50%,
|
|
45
|
-
transparent 100%);}`,`.f1uek97b::after{background-image:linear-gradient(
|
|
46
|
-
to left,
|
|
47
|
-
transparent 0%,
|
|
48
|
-
var(--colorNeutralStencil1Alpha) 50%,
|
|
49
|
-
transparent 100%);}`,".flu3bqm{background-color:none;}",".fxucc0w::after{background-color:var(--colorNeutralStencil1Alpha);}",".ftgm304{display:block;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1evo4vk::after{animation-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f18va1k3::after{animation-iteration-count:1;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (forced-colors: active){.f1xjc3a9::after{background-color:WindowText;}}",{m:"screen and (forced-colors: active)"}]],k:["@keyframes f1efwx7q{to{transform:translate(100%);}}","@keyframes f1kkgpz1{to{transform:translate(-100%);}}","@keyframes f12o7gg6{0%{opacity:1;}50%{opacity:0.4;}100%{opacity:1;}}"]}),HT=L({8:{Bqenvij:"f1x82gua"},12:{Bqenvij:"fvblgha"},14:{Bqenvij:"fuesxvb"},16:{Bqenvij:"fd461yt"},20:{Bqenvij:"fjamq6b"},22:{Bqenvij:"f50nw0v"},24:{Bqenvij:"frvgh55"},28:{Bqenvij:"fxldao9"},32:{Bqenvij:"f1d2rq10"},36:{Bqenvij:"f8ljn23"},40:{Bqenvij:"fbhnoac"},48:{Bqenvij:"ff2sm71"},52:{Bqenvij:"fltz6oj"},56:{Bqenvij:"fzki0ko"},64:{Bqenvij:"f16k9i2m"},72:{Bqenvij:"f1shusfg"},92:{Bqenvij:"f19zsq0h"},96:{Bqenvij:"fypu0ge"},120:{Bqenvij:"fjr5b71"},128:{Bqenvij:"fele2au"},root:{a9b677:"fly5x3f",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ff3glw6"}},{d:[".f1x82gua{height:8px;}",".fvblgha{height:12px;}",".fuesxvb{height:14px;}",".fd461yt{height:16px;}",".fjamq6b{height:20px;}",".f50nw0v{height:22px;}",".frvgh55{height:24px;}",".fxldao9{height:28px;}",".f1d2rq10{height:32px;}",".f8ljn23{height:36px;}",".fbhnoac{height:40px;}",".ff2sm71{height:48px;}",".fltz6oj{height:52px;}",".fzki0ko{height:56px;}",".f16k9i2m{height:64px;}",".f1shusfg{height:72px;}",".f19zsq0h{height:92px;}",".fypu0ge{height:96px;}",".fjr5b71{height:120px;}",".fele2au{height:128px;}",".fly5x3f{width:100%;}",[".ff3glw6{border-radius:4px;}",{p:-1}]]}),AT=L({8:{a9b677:"f1o3cbw4",Bqenvij:"f1x82gua"},12:{a9b677:"frx94fk",Bqenvij:"fvblgha"},14:{a9b677:"fz18fzn",Bqenvij:"fuesxvb"},16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},22:{a9b677:"f6zmzpu",Bqenvij:"f50nw0v"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},52:{a9b677:"f16130wi",Bqenvij:"fltz6oj"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},92:{a9b677:"f78o5r6",Bqenvij:"f19zsq0h"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".f1o3cbw4{width:8px;}",".f1x82gua{height:8px;}",".frx94fk{width:12px;}",".fvblgha{height:12px;}",".fz18fzn{width:14px;}",".fuesxvb{height:14px;}",".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".f6zmzpu{width:22px;}",".f50nw0v{height:22px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f16130wi{width:52px;}",".fltz6oj{height:52px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f78o5r6{width:92px;}",".f19zsq0h{height:92px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),OT=L({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f5q2cvs"}},{d:[[".f5q2cvs{border-radius:50%;}",{p:-1}]]}),LT=e=>{const{animation:t,appearance:o,size:i,shape:a}=e,l=MT(),c=HT(),u=AT(),d=OT();return e.root.className=R(FT.root,l.root,e.root.as==="span"&&l.blockStyling,t==="wave"&&l.wave,t==="pulse"&&l.pulse,o==="translucent"&&l.translucent,t==="pulse"&&o==="translucent"&&l.translucentPulse,a==="rectangle"&&c.root,a==="rectangle"&&c[i],a==="square"&&u[i],a==="circle"&&d.root,a==="circle"&&u[i],e.root.className),e},VT=m.forwardRef((e,t)=>{const o=ET(e,t);return LT(o),de("useSkeletonItemStyles_unstable")(o),DT(o)});VT.displayName="SkeletonItem";const _m=(e,t,o)=>{let i=e;if(t!==void 0){if(o!==void 0&&t>o)return e;i=Math.max(t,i)}return o!==void 0&&(i=Math.min(o,i)),i},Nm=(e,t,o)=>t!==void 0&&e===t?o===t?"both":"min":o!==void 0&&e===o?"max":"none";function WT(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 oa(e,t,o=10){const i=o**t;return Math.round(e*i)/i}const Lu=300,$T=80,GT=1e3,UT=(e,t,o)=>e+(t-e)*o,XT=(e,t)=>{e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const o=ir({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","value"]}),{value:i,displayValue:a,defaultValue:l,min:c,max:u,step:d=1,stepPage:p=1,precision:v,onChange:h,root:x,input:y,incrementButton:k,decrementButton:b}=e,B=m.useMemo(()=>v??Math.max(WT(d),0),[v,d]),[z,j]=Xe({state:i,defaultState:l,initialState:0}),S=m.useRef(null),N=i!==void 0,[q,C]=m.useState(void 0),[M,H]=m.useState("rest"),W=m.useRef({value:z,spinState:"rest",spinTime:0,spinDelay:Lu,atBound:z!==null?Nm(oa(z,B),c,u):"none"}),[ce,te]=Or(),Z=(ae,pe,xe)=>{let Re=W.current.value;if(xe){const sr=parseFloat(xe);isNaN(sr)||(Re=sr)}const jt=Re,kt=pe==="up"||pe==="upPage"?1:-1,so=pe==="upPage"||pe==="downPage"?p:d;if(jt===null){const pi=_m((c===void 0?0:c)+so*kt,c,u);X(ae,pi);return}let Xr=jt+so*kt;Number.isNaN(Xr)||(Xr=_m(Xr,c,u)),X(ae,Xr),W.current.spinState!=="rest"&&ce(()=>{W.current.spinTime+=W.current.spinDelay,W.current.spinDelay=UT(Lu,$T,W.current.spinTime/GT),Z(ae,pe)},W.current.spinDelay)},$=ae=>{W.current.previousTextValue||(W.current.previousTextValue=q??String(z));const pe=ae.target.value;C(pe),S.current&&(S.current.ariaValueNow=pe)},le=ae=>{X(ae,z,q),W.current.spinState="up",Z(ae,"up")},we=ae=>{X(ae,z,q),W.current.spinState="down",Z(ae,"down")},P=ae=>{te(),W.current.spinState="rest",W.current.spinDelay=Lu,W.current.spinTime=0},Y=ae=>{X(ae,z,q),W.current.previousTextValue=void 0},F=ae=>{let pe="rest";ae.currentTarget.readOnly||(ae.key===Qn?(Z(ae,"up",q),pe="up"):ae.key===ei?(Z(ae,"down",q),pe="down"):ae.key===vb?(ae.preventDefault(),Z(ae,"upPage",q),pe="up"):ae.key===pb?(ae.preventDefault(),Z(ae,"downPage",q),pe="down"):!ae.shiftKey&&ae.key===ms&&c!==void 0?(X(ae,c),pe="down"):!ae.shiftKey&&ae.key===gs&&u!==void 0?(X(ae,u),pe="up"):ae.key===Eo?(X(ae,z,q),W.current.previousTextValue=void 0):ae.key===Vr&&W.current.previousTextValue&&(C(void 0),W.current.previousTextValue=void 0),M!==pe&&H(pe))},ee=ae=>{M!=="rest"&&(H("rest"),W.current.spinState="rest")},X=(ae,pe,xe)=>{const Re=pe!==void 0&&z!==pe,jt=xe!==void 0&&W.current.previousTextValue!==void 0&&W.current.previousTextValue!==xe;let kt;if(Re)kt=oa(pe,B),j(kt),W.current.value=kt;else if(jt&&!N){const so=parseFloat(xe);isNaN(so)||(j(oa(so,B)),W.current.value=oa(so,B))}(Re||jt)&&h?.(ae,{value:kt,displayValue:xe}),C(void 0)};let J;if(q!==void 0)J=q;else if(i===null||z===null)J=a??"",W.current.value=null,W.current.atBound="none";else{const ae=oa(z,B);W.current.value=ae,W.current.atBound=Nm(ae,c,u),N?J=a??String(ae):J=String(ae)}const Q={spinState:M,atBound:W.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:ie(x,{defaultProps:o.root,elementType:"span"}),input:ie(y,{defaultProps:{autoComplete:"off",role:"spinbutton",type:"text",...o.primary},elementType:"input"}),incrementButton:ie(k,{defaultProps:{tabIndex:-1,disabled:o.primary.readOnly||o.primary.disabled||W.current.atBound==="max"||W.current.atBound==="both","aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:ie(b,{defaultProps:{tabIndex:-1,disabled:o.primary.readOnly||o.primary.disabled||W.current.atBound==="min"||W.current.atBound==="both","aria-label":"Decrement value",type:"button"},elementType:"button"})};Q.input.value=J,Q.input.ref=Se(S,t),Q.input["aria-valuemin"]=c,Q.input["aria-valuemax"]=u;var A;Q.input["aria-valuenow"]=(A=W.current.value)!==null&&A!==void 0?A:void 0;var fe;return Q.input["aria-valuetext"]=(fe=Q.input["aria-valuetext"])!==null&&fe!==void 0?fe:i!==void 0&&a||void 0,Q.input.onChange=ye(Q.input.onChange,$),Q.input.onInput=ye(Q.input.onInput,$),Q.input.onBlur=ye(Q.input.onBlur,Y),Q.input.onKeyDown=ye(Q.input.onKeyDown,F),Q.input.onKeyUp=ye(Q.input.onKeyUp,ee),Q.incrementButton.onMouseDown=ye(le,Q.incrementButton.onMouseDown),Q.incrementButton.onMouseUp=ye(Q.incrementButton.onMouseUp,P),Q.incrementButton.onMouseLeave=ye(Q.incrementButton.onMouseLeave,P),Q.decrementButton.onMouseDown=ye(we,Q.decrementButton.onMouseDown),Q.decrementButton.onMouseUp=ye(Q.decrementButton.onMouseUp,P),Q.decrementButton.onMouseLeave=ye(Q.decrementButton.onMouseLeave,P),Q},KT=(e,t)=>{var o,i;const a=ka();var l;const{appearance:c=(l=a.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",size:u="medium",...d}=e,p=XT(d,t);var v;(v=(o=p.incrementButton).children)!==null&&v!==void 0||(o.children=m.createElement(ck,null));var h;return(h=(i=p.decrementButton).children)!==null&&h!==void 0||(i.children=m.createElement(uk,null)),{...p,appearance:c,size:u}},QT=e=>_e(e.root,{children:[I(e.input,{}),I(e.incrementButton,{}),I(e.decrementButton,{})]}),Ol={root:"fui-SpinButton",input:"fui-SpinButton__input",incrementButton:"fui-SpinButton__incrementButton",decrementButton:"fui-SpinButton__decrementButton"},jm={buttonActive:"fui-SpinButton__button_active"},YT=me("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;}}"]}),JT=L({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)"}]]}),ZT=me("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;}"]),e6=L({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);}"]}),Cm=me("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);}"]),t6=L({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);}"]}),o6=e=>{const{appearance:t,spinState:o,size:i}=e,a=e.input.disabled,l=`${e.input["aria-invalid"]}`=="true",c=t.startsWith("filled"),u=JT(),d=t6(),p=e6();return e.root.className=R(Ol.root,YT(),u[i],u[t],c&&u.filled,!a&&t==="outline"&&u.outlineInteractive,!a&&t==="underline"&&u.underlineInteractive,!a&&c&&u.filledInteractive,!a&&l&&u.invalid,a&&u.disabled,e.root.className),e.incrementButton.className=R(Ol.incrementButton,o==="up"&&`${jm.buttonActive}`,Cm(),d.increment,d[t],i==="small"&&d.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=R(Ol.decrementButton,o==="down"&&`${jm.buttonActive}`,Cm(),d.decrement,d[t],i==="small"&&d.decrementButtonSmall,e.decrementButton.className),e.input.className=R(Ol.input,ZT(),a&&p.disabled,e.input.className),e},r6=m.forwardRef((e,t)=>{const o=KT(e,t);return o6(o),de("useSpinButtonStyles_unstable")(o),QT(o)});r6.displayName="SpinButton";const L0=m.createContext(void 0),n6={};L0.Provider;const i6=()=>{var e;return(e=m.useContext(L0))!==null&&e!==void 0?e:n6},a6=(e,t)=>{const{size:o}=i6(),{appearance:i="primary",size:a=o??"medium",...l}=e,c=l6(l,t);return{...c,appearance:i,size:a,components:{...c.components,label:Kt},label:ve(e.label,{defaultProps:c.label,elementType:Kt})}},l6=(e,t)=>{const{delay:o=0,labelPosition:i="after"}=e,a=Le("spinner"),{role:l="progressbar",...c}=e,u=ie(ze("div",{ref:t,role:l,...c}),{elementType:"div"}),[d,p]=m.useState(!1),[v,h]=Or();m.useEffect(()=>{if(!(o<=0))return v(()=>{p(!0)},o),()=>{h()}},[v,h,o]);const x=ve(e.label,{defaultProps:{id:a},renderByDefault:!1,elementType:"label"}),y=ve(e.spinner,{renderByDefault:!0,elementType:"span"});return x&&u&&!u["aria-labelledby"]&&(u["aria-labelledby"]=x.id),{delay:o,labelPosition:i,shouldRenderSpinner:!o||d,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:u,spinner:y,spinnerTail:ie(e.spinnerTail,{elementType:"span"}),label:x}},s6=e=>{const{labelPosition:t,shouldRenderSpinner:o}=e;return _e(e.root,{children:[e.label&&o&&(t==="above"||t==="before")&&I(e.label,{}),e.spinner&&o&&I(e.spinner,{children:e.spinnerTail&&I(e.spinnerTail,{})}),e.label&&o&&(t==="below"||t==="after")&&I(e.label,{})]})},Ll={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"},c6=me("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),u6=L({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),d6=me("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;}}"]}),f6=me("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;}}"]}),p6=L({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)"}]]}),v6=L({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);}"]}),g6=e=>{const{labelPosition:t,size:o,appearance:i}=e,{dir:a}=Ie(),l=c6(),c=u6(),u=d6(),d=p6(),p=f6(),v=v6();return e.root.className=R(Ll.root,l,(t==="above"||t==="below")&&c.vertical,e.root.className),e.spinner&&(e.spinner.className=R(Ll.spinner,u,d[o],i==="inverted"&&d.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=R(Ll.spinnerTail,p,a==="rtl"&&d.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=R(Ll.label,v[o],i==="inverted"&&v.inverted,e.label.className)),e},m6=m.forwardRef((e,t)=>{const o=a6(e,t);return g6(o),de("useSpinnerStyles_unstable")(o),s6(o)});m6.displayName="Spinner";const h6=(e,t)=>{var o;const{size:i="medium",...a}=e,l=b6(a,t);var c;return(c=(o=l.indicator).children)!==null&&c!==void 0||(o.children=m.createElement(nh,null)),{...l,components:{...l.components,label:Kt},size:i,label:ve(e.label,{defaultProps:{size:"medium",...l.label},elementType:Kt})}},b6=(e,t)=>{e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:o,defaultChecked:i,disabled:a,disabledFocusable:l=!1,labelPosition:c="after",onChange:u,required:d}=e,p=ir({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),v=Le("switch-",p.primary.id),h=ie(e.root,{defaultProps:{ref:ri(),...p.root},elementType:"div"}),x=ie(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"}),y=ie(e.input,{defaultProps:{checked:o,defaultChecked:i,id:v,ref:t,role:"switch",type:"checkbox",...p.primary,disabled:a&&!l,...l&&{"aria-disabled":!0}},elementType:"input"});y.onChange=ye(y.onChange,b=>u?.(b,{checked:b.currentTarget.checked})),y.onClick=ye(y.onClick,b=>{l&&b.preventDefault()}),y.onKeyDown=ye(y.onKeyDown,b=>{l&&(b.key===" "||b.key==="Enter")&&b.preventDefault()});const k=ve(e.label,{defaultProps:{disabled:a||l,htmlFor:v,required:d},elementType:"label"});return{disabledFocusable:l,labelPosition:c,components:{root:"div",indicator:"div",input:"input",label:"label"},root:h,indicator:x,input:y,label:k}},y6=e=>{const{labelPosition:t}=e;return _e(e.root,{children:[I(e.input,{}),t!=="after"&&e.label&&I(e.label,{}),I(e.indicator,{}),t==="after"&&e.label&&I(e.label,{})]})},Vl={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},w6=me("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;}}"]}),k6=L({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),x6=me("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;}}"]}),B6=L({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;}"]}),S6=me("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;}}']}),z6=L({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);}"]}),_6=L({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);}"]}),N6=e=>{const t=w6(),o=k6(),i=x6(),a=B6(),l=S6(),c=z6(),u=_6(),{label:d,labelPosition:p,size:v}=e;return e.root.className=R(Vl.root,t,p==="above"&&o.vertical,e.root.className),e.indicator.className=R(Vl.indicator,i,d&&p==="above"&&a.labelAbove,v==="small"&&a.sizeSmall,e.indicator.className),e.input.className=R(Vl.input,l,d&&c[p],v==="small"&&c.sizeSmall,e.input.className),e.label&&(e.label.className=R(Vl.label,u.base,u[p],v==="small"&&u.sizeSmall,e.label.className)),e},j6=m.forwardRef((e,t)=>{const o=h6(e,t);return N6(o),de("useSwitchStyles_unstable")(o),y6(o)});j6.displayName="Switch";const C6=(e,t)=>{const{appearance:o="transparent",reserveSelectedTabSpace:i=!0,size:a="medium"}=e,l=T6(e,t),c=q6({vertical:l.vertical});return{...l,root:{...c,...l.root},appearance:o,reserveSelectedTabSpace:i,size:a}},T6=(e,t)=>{const{disabled:o=!1,onTabSelect:i,selectTabOnFocus:a=!1,vertical:l=!1,selectedValue:c,defaultSelectedValue:u,...d}=e,p=m.useRef(null),[v,h]=Xe({state:c,defaultState:u,initialState:void 0}),x=m.useRef(void 0),y=m.useRef(void 0);m.useEffect(()=>{y.current=x.current,x.current=v},[v]);const k=K((S,N)=>{h(N.value),i?.(S,N)}),b=m.useRef({}),B=K(S=>{const N=JSON.stringify(S.value);b.current[N]=S}),z=K(S=>{delete b.current[JSON.stringify(S.value)]}),j=m.useCallback(()=>({selectedValue:x.current,previousSelectedValue:y.current,registeredTabs:b.current}),[]);return{components:{root:"div"},root:ie({ref:Se(t,p),role:"tablist","aria-orientation":l?"vertical":"horizontal",...d},{elementType:"div"}),disabled:o,selectTabOnFocus:a,selectedValue:v,onRegister:B,onUnregister:z,onSelect:k,getRegisteredTabs:j,vertical:l}},q6=({vertical:e})=>tr({circular:!0,axis:e?"vertical":"horizontal",memorizeCurrent:!1,unstable_hasDefault:!0}),I6={appearance:"transparent",reserveSelectedTabSpace:!0,selectTabOnFocus:!1,disabled:!1,selectedValue:void 0,onRegister:()=>{},onUnregister:()=>{},onSelect:()=>{},getRegisteredTabs:()=>({registeredTabs:{}}),size:"medium",vertical:!1},V0=lo(void 0),R6=V0.Provider,bo=e=>Bo(V0,(t=I6)=>e(t)),E6=(e,t)=>I(e.root,{children:I(R6,{value:t.tabList,children:e.root.children})}),P6={root:"fui-TabList"},D6=L({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}]]}),F6=e=>{const{appearance:t,vertical:o,size:i}=e,a=D6(),l=t==="subtle-circular"||t==="filled-circular";return e.root.className=R(P6.root,a.root,o?a.vertical:a.horizontal,l&&(i==="small"?a.roundedSmall:a.rounded),e.root.className),e};function M6(e){const{appearance:t,reserveSelectedTabSpace:o,disabled:i,selectTabOnFocus:a,selectedValue:l,onRegister:c,onUnregister:u,onSelect:d,getRegisteredTabs:p,size:v,vertical:h}=e;return{tabList:m.useMemo(()=>({appearance:t,reserveSelectedTabSpace:o,disabled:i,selectTabOnFocus:a,selectedValue:l,onSelect:d,onRegister:c,onUnregister:u,getRegisteredTabs:p,size:v,vertical:h}),[t,o,i,a,l,d,c,u,p,v,h])}}const H6=m.forwardRef((e,t)=>{const o=C6(e,t),i=M6(o);return F6(o),de("useTabListStyles_unstable")(o),E6(o,i)});H6.displayName="TabList";const A6=(e,t)=>{const{content:o}=e,i=O6(e,t),a=L6(i),l=bo(p=>p.appearance),c=bo(p=>p.reserveSelectedTabSpace),u=bo(p=>{var v;return(v=p.size)!==null&&v!==void 0?v:"medium"}),d=o&&typeof o=="object"?ch(o,["ref"]):o;return{...i,components:{...i.components,contentReservedSpace:"span"},root:{...a,...i.root},contentReservedSpace:ve(d,{renderByDefault:!i.selected&&!i.iconOnly&&c,defaultProps:{children:e.children},elementType:"span"}),appearance:l,size:u}},O6=(e,t)=>{const{content:o,disabled:i=!1,icon:a,onClick:l,onFocus:c,value:u,...d}=e,p=bo(H=>H.selectTabOnFocus),v=bo(H=>H.disabled),h=bo(H=>H.selectedValue===u),x=bo(H=>H.onRegister),y=bo(H=>H.onUnregister),k=bo(H=>H.onSelect),b=bo(H=>!!H.vertical),B=v||i,z=m.useRef(null),j=H=>k(H,{value:u}),S=K(ye(l,j)),N=K(ye(c,j));m.useEffect(()=>(x({value:u,ref:z}),()=>{y({value:u,ref:z})}),[x,y,z,u]);const q=ve(a,{elementType:"span"}),C=ie(o,{defaultProps:{children:e.children},elementType:"span"}),M=!!(q?.children&&!C.children);return{components:{root:"button",icon:"span",content:"span",contentReservedSpace:"span"},root:ie({ref:Se(t,z),role:"tab",type:"button","aria-selected":B?void 0:`${h}`,value:u,...d,disabled:B,onClick:S,onFocus:p?N:c},{elementType:"button"}),icon:q,iconOnly:M,content:C,disabled:B,selected:h,value:u,vertical:b}},L6=({selected:e})=>er({focusable:{isDefault:e}}),V6=e=>_e(e.root,{children:[e.icon&&I(e.icon,{}),!e.iconOnly&&I(e.content,{}),e.contentReservedSpace&&I(e.contentReservedSpace,{})]}),Tm={offsetVar:"--fui-Tab__indicator--offset",scaleVar:"--fui-Tab__indicator--scale"},W6=L({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)"}]]}),$6=e=>{if(e){var t;const o=((t=e.parentElement)===null||t===void 0?void 0:t.getBoundingClientRect())||{x:0,y:0},i=e.getBoundingClientRect();return{x:i.x-o.x,y:i.y-o.y,width:i.width,height:i.height}}},qm=(e,t)=>{var o;const i=dd(t)?(o=e[JSON.stringify(t)])===null||o===void 0?void 0:o.ref.current:void 0;return i?$6(i):void 0},dd=e=>e!=null,G6=e=>{const{disabled:t,selected:o,vertical:i}=e,a=W6(),[l,c]=m.useState(),[u,d]=m.useState({offset:0,scale:1}),p=bo(y=>y.getRegisteredTabs),[v]=sa();if(o){const{previousSelectedValue:y,selectedValue:k,registeredTabs:b}=p();if(dd(y)&&l!==y){const B=qm(b,y),z=qm(b,k);if(z&&B){const j=i?B.y-z.y:B.x-z.x,S=i?B.height/z.height:B.width/z.width;d({offset:j,scale:S}),c(y),v(()=>d({offset:0,scale:1}))}}}else dd(l)&&c(void 0);if(t)return e;const h=u.offset===0&&u.scale===1;e.root.className=R(e.root.className,o&&a.base,o&&h&&a.animated,o&&(i?a.vertical:a.horizontal));const x={[Tm.offsetVar]:`${u.offset}px`,[Tm.scaleVar]:`${u.scale}`};return e.root.style={...x,...e.root.style},e},fd={root:"fui-Tab",icon:"fui-Tab__icon",content:"fui-Tab__content"},U6={content:"fui-Tab__content--reserved-space"},W0=L({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);}"]}),X6=L({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)"}]]}),K6=L({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;}"]}),Q6=L({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);}"]}),Y6=L({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)"}]]}),J6=L({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;}"]}),Z6=L({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;}"]}),e9=e=>{"use no memo";return t9(e),o9(e,e.root),r9(e),e},t9=e=>{const t=W0(),o=Q6(),i=Y6(),{appearance:a,disabled:l,selected:c,size:u,vertical:d}=e,p=[fd.root,t.root];return a!=="subtle-circular"&&a!=="filled-circular"&&p.push(o.base,u==="small"&&(d?o.smallVertical:o.smallHorizontal),u==="medium"&&(d?o.mediumVertical:o.mediumHorizontal),u==="large"&&(d?o.largeVertical:o.largeHorizontal),l&&o.disabled,c&&i.base,c&&!l&&i.selected,c&&u==="small"&&(d?i.smallVertical:i.smallHorizontal),c&&u==="medium"&&(d?i.mediumVertical:i.mediumHorizontal),c&&u==="large"&&(d?i.largeVertical:i.largeHorizontal),c&&l&&i.disabled),e.root.className=R(...p,e.root.className),G6(e),e},o9=(e,t)=>{const o=W0(),i=K6(),a=X6(),{appearance:l,disabled:c,selected:u,size:d,vertical:p}=e,v=l==="subtle-circular",h=l==="filled-circular",x=v||h,y=[a.base,i.circular,d==="small"&&a.small,d==="medium"&&a.medium,d==="large"&&a.large,v&&a.subtle,u&&v&&a.subtleSelected,c&&v&&a.subtleDisabled,u&&c&&v&&a.subtleDisabledSelected,h&&a.filled,u&&h&&a.filledSelected,c&&h&&a.filledDisabled,u&&c&&h&&a.filledDisabledSelected],k=[i.base,!c&&l==="subtle"&&o.subtle,!c&&l==="transparent"&&o.transparent,!c&&u&&o.selected,c&&o.disabled];return t.className=R(o.button,p?o.vertical:o.horizontal,d==="small"&&(p?o.smallVertical:o.smallHorizontal),d==="medium"&&(p?o.mediumVertical:o.mediumHorizontal),d==="large"&&(p?o.largeVertical:o.largeHorizontal),...x?y:k,c&&o.disabledCursor,t.className),e},r9=e=>{const t=J6(),o=Z6(),{selected:i,size:a}=e;return e.icon&&(e.icon.className=R(fd.icon,t.base,t[a],i&&t.selected,e.icon.className)),e.contentReservedSpace&&(e.contentReservedSpace.className=R(U6.content,o.base,a==="large"?o.largeSelected:o.selected,e.icon?o.iconBefore:o.noIconBefore,o.placeholder,e.content.className),e.contentReservedSpaceClassName=e.contentReservedSpace.className),e.content.className=R(fd.content,o.base,a==="large"&&o.large,i&&(a==="large"?o.largeSelected:o.selected),e.icon?o.iconBefore:o.noIconBefore,e.content.className),e},n9=m.forwardRef((e,t)=>{const o=A6(e,t);return e9(o),de("useTabStyles_unstable")(o),V6(o)});n9.displayName="Tab";const $0=(e,t)=>{const{wrap:o,truncate:i,block:a,italic:l,underline:c,strikethrough:u,size:d,font:p,weight:v,align:h}=e;return{align:h??"start",block:a??!1,font:p??"base",italic:l??!1,size:d??300,strikethrough:u??!1,truncate:i??!1,underline:c??!1,weight:v??"regular",wrap:o??!0,components:{root:"span"},root:ie(ze("span",{ref:t,...e}),{elementType:"span"})}},G0=e=>I(e.root,{}),i9={root:"fui-Text"},a9=L({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;}"]}),U0=e=>{const t=a9();return e.root.className=R(i9.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},l9=m.forwardRef((e,t)=>{const o=$0(e,t);return U0(o),de("useTextStyles_unstable")(o),G0(o)});l9.displayName="Text";function X0(e){const{useStyles:t,className:o,displayName:i}=e,a=m.forwardRef((l,c)=>{const u=t(),d=$0(l,c);return U0(d),d.root.className=R(o,d.root.className,u.root,l.className),G0(d)});return a.displayName=i,a}const s9={root:"fui-Caption1"},c9=L({root:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),eF=X0({useStyles:c9,className:s9.root,displayName:"Caption1"}),u9={root:"fui-Subtitle2"},d9=L({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);}"]}),tF=X0({useStyles:d9,className:u9.root,displayName:"Subtitle2"}),f9=e=>I(e.root,{children:I(e.textarea,{})}),p9=(e,t)=>{const o=ka(),i=Ur();var a,l;const{size:c=(a=i?.size)!==null&&a!==void 0?a:"medium",appearance:u=(l=o.inputDefaultAppearance)!==null&&l!==void 0?l:"outline",...d}=e;return{...v9(d,t),size:c,appearance:u}},v9=(e,t)=>{e=Vo(e,{supportsLabelFor:!0,supportsRequired:!0});const{resize:o="none",onChange:i}=e,[a,l]=Xe({state:e.value,defaultState:e.defaultValue,initialState:void 0}),c=ir({props:e,primarySlotTagName:"textarea",excludedPropNames:["onChange","value","defaultValue"]}),u={resize:o,components:{root:"span",textarea:"textarea"},textarea:ie(e.textarea,{defaultProps:{ref:t,...c.primary},elementType:"textarea"}),root:ie(e.root,{defaultProps:c.root,elementType:"span"})};return u.textarea.value=a,u.textarea.onChange=K(d=>{const p=d.target.value;i?.(d,{value:p}),l(p)}),u},Im={root:"fui-Textarea",textarea:"fui-Textarea__textarea"},g9=L({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);}"]}),m9=L({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);}"]}),h9=L({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;}"]}),b9=e=>{const{size:t,appearance:o,resize:i}=e,a=e.textarea.disabled,l=`${e.textarea["aria-invalid"]}`=="true",c=o.startsWith("filled"),u=g9();e.root.className=R(Im.root,u.base,a&&u.disabled,!a&&c&&u.filled,!a&&u[o],!a&&u.interactive,!a&&o==="outline"&&u.outlineInteractive,!a&&l&&u.invalid,e.root.className);const d=m9(),p=h9();return e.textarea.className=R(Im.textarea,d.base,d[t],p[i],a&&d.disabled,e.textarea.className),e},y9=m.forwardRef((e,t)=>{const o=p9(e,t);return b9(o),de("useTextareaStyles_unstable")(o),f9(o)});y9.displayName="Textarea";const w9=me("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),k9=me("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function x9(){const e=w9(),t=k9(),{targetDocument:o}=Ie(),i=m.useCallback(()=>{var l;if(!o)return;var c;Math.floor(o.body.getBoundingClientRect().height)>((c=(l=o.defaultView)===null||l===void 0?void 0:l.innerHeight)!==null&&c!==void 0?c:0)&&(o.documentElement.classList.add(e),o.body.classList.add(t))},[o,e,t]),a=m.useCallback(()=>{o&&(o.documentElement.classList.remove(e),o.body.classList.remove(t))},[o,e,t]);return{disableBodyScroll:i,enableBodyScroll:a}}function B9(e,t){const{findFirstFocusable:o}=Ao(),{targetDocument:i}=Ie(),a=m.useRef(null);return m.useEffect(()=>{if(!e)return;const l=a.current&&o(a.current);if(l)l.focus();else{var c;(c=a.current)===null||c===void 0||c.focus()}},[o,e,t,i]),a}const S9={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},lf=lo(void 0),z9=lf.Provider,ro=e=>Bo(lf,(t=S9)=>e(t)),_9=!1,K0=m.createContext(void 0),Q0=K0.Provider,N9=()=>{var e;return(e=m.useContext(K0))!==null&&e!==void 0?e:_9},Y0=m.createContext(void 0),j9=Y0.Provider,C9=()=>m.useContext(Y0),Rm=Wr(Md,{outScale:.85,easing:qe.curveDecelerateMid,duration:qe.durationGentle,exitEasing:qe.curveAccelerateMin,exitDuration:qe.durationGentle}),T9=e=>{const{children:t,modalType:o="modal",onOpenChange:i,inertTrapFocus:a=!1,unmountOnClose:l=!0}=e,c=Le("dialog-title-"),[u,d]=q9(t),[p,v]=Xe({state:e.open,defaultState:e.defaultOpen,initialState:!1}),h=K(B=>{i?.(B.event,B),B.event.isDefaultPrevented()||v(B.open)}),x=B9(p,o),{modalAttributes:y,triggerAttributes:k}=vs({trapFocus:o!=="non-modal",legacyTrapFocus:!a}),b=ii(lf);return{components:{surfaceMotion:Rm},inertTrapFocus:a,open:p,modalType:o,content:d,trigger:u,requestOpenChange:h,dialogTitleId:c,isNestedDialog:b,unmountOnClose:l,dialogRef:x,modalAttributes:y,triggerAttributes:k,surfaceMotion:si(e.surfaceMotion,{elementType:Rm,defaultProps:{visible:p,appear:l,unmountOnExit:l}})}};function q9(e){const t=m.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}const I9=(e,t)=>I(z9,{value:t.dialog,children:_e(Q0,{value:t.dialogSurface,children:[e.trigger,e.content&&I(e.surfaceMotion,{children:I(_a,{children:e.content})})]})});function R9(e){const{modalType:t,open:o,dialogRef:i,dialogTitleId:a,isNestedDialog:l,inertTrapFocus:c,requestOpenChange:u,modalAttributes:d,triggerAttributes:p,unmountOnClose:v}=e;return{dialog:m.useMemo(()=>({open:o,modalType:t,dialogRef:i,dialogTitleId:a,isNestedDialog:l,inertTrapFocus:c,modalAttributes:d,triggerAttributes:p,unmountOnClose:v,requestOpenChange:u}),[o,t,i,a,l,c,d,p,v,u]),dialogSurface:!1}}const pd=m.memo(e=>{const t=T9(e),o=R9(t);return I9(t,o)});pd.displayName="Dialog";const E9=e=>{const t=N9(),{children:o,disableButtonEnhancement:i=!1,action:a=t?"close":"open"}=e,l=ar(o),c=ro(h=>h.requestOpenChange),{triggerAttributes:u}=vs(),d=K(h=>{var x,y;l==null||(x=(y=l.props).onClick)===null||x===void 0||x.call(y,h),h.isDefaultPrevented()||c({event:h,type:"triggerClick",open:a==="open"})}),p={...l?.props,ref:mn(l),onClick:d,...u},v=Dr(l?.type==="button"||l?.type==="a"?l.type:"div",{...p,type:"button"});return{children:oi(o,i?p:v)}},P9=e=>e.children,sf=e=>{const t=E9(e);return P9(t)};sf.displayName="DialogTrigger";sf.isFluentTriggerComponent=!0;const D9=(e,t)=>{const{position:o="end",fluid:i=!1}=e;return{components:{root:"div"},root:ie(ze("div",{ref:t,...e}),{elementType:"div"}),position:o,fluid:i}},F9=e=>I(e.root,{}),M9={root:"fui-DialogActions"},H9=me("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;}}"]}),A9=L({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)"}]]}),O9=e=>{const t=H9(),o=A9();return e.root.className=R(M9.root,t,e.position==="start"&&o.gridPositionStart,e.position==="end"&&o.gridPositionEnd,e.fluid&&e.position==="start"&&o.fluidStart,e.fluid&&e.position==="end"&&o.fluidEnd,e.root.className),e},L9=m.forwardRef((e,t)=>{const o=D9(e,t);return O9(o),de("useDialogActionsStyles_unstable")(o),F9(o)});L9.displayName="DialogActions";const V9=(e,t)=>{var o;return{components:{root:"div"},root:ie(ze((o=e.as)!==null&&o!==void 0?o:"div",{ref:t,...e}),{elementType:"div"})}},W9=e=>I(e.root,{}),$9={root:"fui-DialogBody"},G9=me("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;}}"]}),U9=e=>{const t=G9();return e.root.className=R($9.root,t,e.root.className),e},X9=m.forwardRef((e,t)=>{const o=V9(e,t);return U9(o),de("useDialogBodyStyles_unstable")(o),W9(o)});X9.displayName="DialogBody";const Em={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},K9=me("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;}"]),Q9=L({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),Y9=me("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),J9=me("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;}}"]}),J0=e=>{const t=K9(),o=Y9(),i=Q9();return e.root.className=R(Em.root,t,!e.action&&i.rootWithoutAction,e.root.className),e.action&&(e.action.className=R(Em.action,o,e.action.className)),e},Z9=(e,t)=>{const{action:o}=e,i=ro(l=>l.modalType),a=J9();return{components:{root:"h2",action:"div"},root:ie(ze("h2",{ref:t,id:ro(l=>l.dialogTitleId),...e}),{elementType:"h2"}),action:ve(o,{renderByDefault:i==="non-modal",defaultProps:{children:m.createElement(sf,{disableButtonEnhancement:!0,action:"close"},m.createElement("button",{type:"button",className:a,"aria-label":"close"},m.createElement(dk,null)))},elementType:"div"})}},e8=e=>_e(m.Fragment,{children:[I(e.root,{children:e.root.children}),e.action&&I(e.action,{})]}),t8=m.forwardRef((e,t)=>{const o=Z9(e,t);return J0(o),de("useDialogTitleStyles_unstable")(o),e8(o)});t8.displayName="DialogTitle";const Pm=Qz,Z0=(e,t)=>{const o=hs(),i=ro(S=>S.modalType),a=ro(S=>S.isNestedDialog),l=C9(),c=l??a,u=ro(S=>S.modalAttributes),d=ro(S=>S.dialogRef),p=ro(S=>S.requestOpenChange),v=ro(S=>S.dialogTitleId),h=ro(S=>S.open),x=ro(S=>S.unmountOnClose),y=K(S=>{if(Tr(e.backdrop)){var N,q;(N=(q=e.backdrop).onClick)===null||N===void 0||N.call(q,S)}i==="modal"&&!S.isDefaultPrevented()&&p({event:S,open:!1,type:"backdropClick"})}),k=K(S=>{var N;(N=e.onKeyDown)===null||N===void 0||N.call(e,S),S.key===Vr&&!S.isDefaultPrevented()&&(p({event:S,open:!1,type:"escapeKeyDown"}),S.preventDefault())}),b=ve(e.backdrop,{renderByDefault:i!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),B=b?.appearance;b&&(b.onClick=y,delete b.appearance);const{disableBodyScroll:z,enableBodyScroll:j}=x9();return He(()=>{if(!h){j();return}if(!(a||i==="non-modal"))return z(),()=>j()},[h,i,a,z,j]),{components:{backdrop:"div",root:"div",backdropMotion:Pm},open:h,backdrop:b,isNestedDialog:a,treatBackdropAsNested:c,backdropAppearance:B,unmountOnClose:x,mountNode:e.mountNode,root:ie(ze("div",{tabIndex:-1,role:i==="alert"?"alertdialog":"dialog","aria-modal":i!=="non-modal","aria-labelledby":e["aria-label"]?void 0:v,"aria-hidden":!x&&!h?!0:void 0,...e,...u,onKeyDown:k,ref:Se(t,o,d)}),{elementType:"div"}),backdropMotion:si(e.backdropMotion,{elementType:Pm,defaultProps:{appear:x,visible:h}}),transitionStatus:void 0}};function o8(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const r8=L({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),e1=ti.useInsertionEffect,n8=e=>{const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,l=m.useMemo(()=>{if(a===void 0||e.disabled)return null;const c=a.ownerDocument.createElement("div");return a.appendChild(c),c},[a,e.disabled]);return m.useMemo(()=>{l&&(l.className=t,l.setAttribute("dir",o),l.setAttribute("data-portal-node","true"),i.current=l)},[t,o,l,i]),m.useEffect(()=>()=>{l?.remove()},[l]),l},i8=()=>{let e;function t(i,a){return e||(a&&(e=i.ownerDocument.createElement("div"),i.appendChild(e)),e)}function o(){e&&(e.remove(),e=void 0)}return{get:t,dispose:o}},a8=e=>{"use no memo";const{className:t,dir:o,focusVisibleRef:i,targetNode:a}=e,[l]=m.useState(i8),c=m.useMemo(()=>a===void 0||e.disabled?null:new Proxy({},{get(u,d){if(d==="nodeType")return 1;if(d==="remove"){const h=l.get(a,!1);return h&&h.childNodes.length===0&&l.dispose(),()=>{}}const p=l.get(a,!0),v=p?p[d]:void 0;return typeof v=="function"?v.bind(p):v},set(u,d,p){const v=d==="_virtual"||d==="focusVisible",h=v?l.get(a,!1):l.get(a,!0);return v&&!h?!0:h?(Object.assign(h,{[d]:p}),!0):!1}}),[l,a,e.disabled]);return e1(()=>{if(!c)return;const u=t.split(" ").filter(Boolean);return c.classList.add(...u),c.setAttribute("dir",o),c.setAttribute("data-portal-node","true"),i.current=c,()=>{c.classList.remove(...u),c.removeAttribute("dir")}},[t,o,c,i]),m.useEffect(()=>()=>{c?.remove()},[c]),c},l8=e1?a8:n8,s8=e=>{"use no memo";const{targetDocument:t,dir:o}=Ie(),i=xa(),a=bn(),l=r8(),c=wa(),u={dir:o,disabled:e.disabled,focusVisibleRef:a,className:R(c,l.root,e.className),targetNode:i??t?.body};return l8(u)},c8=e=>{const{element:t,className:o}=o8(e.mountNode),i=m.useRef(null),a=s8({disabled:!!t,className:o}),l=t??a,c={children:e.children,mountNode:l,virtualParentRootRef:i};return m.useEffect(()=>{if(!l)return;const u=i.current,d=l.contains(u);if(u&&!d)return Po(l,u),()=>{Po(l,void 0)}},[i,l]),c},u8=e=>m.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Ar.createPortal(m.createElement(m.Fragment,null,e.children,m.createElement("span",{hidden:!0})),e.mountNode)),t1=e=>{const t=c8(e);return u8(t)};t1.displayName="Portal";const o1=(e,t)=>_e(t1,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&I(e.backdropMotion,{children:I(e.backdrop,{})}),I(Cb,{children:I(Q0,{value:t.dialogSurface,children:I(e.root,{})})})]}),Dm={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},d8=me("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;}}"]}),f8=me("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),p8=L({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),v8=e=>{const{root:t,backdrop:o,open:i,unmountOnClose:a,treatBackdropAsNested:l,backdropAppearance:c}=e,u=d8(),d=f8(),p=p8(),v=c?c==="transparent":l,h=!a&&!i;return t.className=R(Dm.root,u,h&&p.dialogHidden,t.className),o&&(o.className=R(Dm.backdrop,d,h&&p.dialogHidden,v&&p.nestedDialogBackdrop,o.className)),e};function r1(e){return{dialogSurface:!0}}const g8=m.forwardRef((e,t)=>{const o=Z0(e,t),i=r1();return v8(o),de("useDialogSurfaceStyles_unstable")(o),o1(o,i)});g8.displayName="DialogSurface";const m8=(e,t)=>{var o;return{components:{root:"div"},root:ie(ze((o=e.as)!==null&&o!==void 0?o:"div",{ref:t,...e}),{elementType:"div"})}},h8=e=>I(e.root,{}),b8={root:"fui-DialogContent"},y8=me("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;}}"]}),w8=e=>{const t=y8();return e.root.className=R(b8.root,t,e.root.className),e},k8=m.forwardRef((e,t)=>{const o=m8(e,t);return w8(o),de("useDialogContentStyles_unstable")(o),h8(o)});k8.displayName="DialogContent";const x8=e=>e<=0?1:e,B8=(e,t)=>e===void 0?e:e<0?0:e>t?t:e,Fm=nd({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}}),S8=(e,t)=>{const o=Ur(),i=o?.validationState,{color:a=i==="error"||i==="warning"||i==="success"?i:"brand",shape:l="rounded",thickness:c="medium",indeterminateMotion:u,...d}=e,p=z8(d,t);return{...p,components:{...p.components,indeterminateMotion:Fm},color:a,shape:l,thickness:c,indeterminateMotion:p.value===void 0?Pz(u,{elementType:Fm,defaultProps:{}}):void 0}},z8=(e,t)=>{const o=Ur();var i;const a=x8((i=e.max)!==null&&i!==void 0?i:1),l=B8(e.value,a),c=ie(ze("div",{ref:t,role:"progressbar","aria-valuemin":l!==void 0?0:void 0,"aria-valuemax":l!==void 0?a:void 0,"aria-valuenow":l,"aria-labelledby":o?.labelId,...e}),{elementType:"div"});o&&(o.validationMessageId||o.hintId)&&(c["aria-describedby"]=[o?.validationMessageId,o?.hintId,c["aria-describedby"]].filter(Boolean).join(" "));const u=ie(e.bar,{elementType:"div"});return{max:a,value:l,components:{root:"div",bar:"div",indeterminateMotion:"div"},root:c,bar:u}},_8=e=>I(e.root,{children:e.bar&&(e.indeterminateMotion?I(e.indeterminateMotion,{children:I(e.bar,{})}):I(e.bar,{}))}),Mm={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},N8=.01,j8=L({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)"}]]}),C8=L({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(
|
|
50
|
-
to right,
|
|
51
|
-
var(--colorNeutralBackground6) 0%,
|
|
52
|
-
var(--colorTransparentBackground) 50%,
|
|
53
|
-
var(--colorNeutralBackground6) 100%
|
|
54
|
-
);}`,`.f1u5hf6c{background-image:linear-gradient(
|
|
55
|
-
to left,
|
|
56
|
-
var(--colorNeutralBackground6) 0%,
|
|
57
|
-
var(--colorTransparentBackground) 50%,
|
|
58
|
-
var(--colorNeutralBackground6) 100%
|
|
59
|
-
);}`,".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"]}),T8=e=>{const{color:t,max:o,shape:i,thickness:a,value:l}=e,c=j8(),u=C8();return e.root.className=R(Mm.root,c.root,c[i],c[a],e.root.className),e.bar&&(e.bar.className=R(Mm.bar,u.base,u.brand,l===void 0&&u.indeterminate,l!==void 0&&l>N8&&u.nonZeroDeterminate,t&&l!==void 0&&u[t],e.bar.className)),e.bar&&l!==void 0&&(e.bar.style={width:Math.min(100,Math.max(0,l/o*100))+"%",...e.bar.style}),e},q8=m.forwardRef((e,t)=>{const o=S8(e,t);return T8(o),de("useProgressBarStyles_unstable")(o),_8(o)});q8.displayName="ProgressBar";const Hm="data-overflowing",Wl="data-overflow-group",ls=Object.freeze({itemVisibility:{},groupVisibility:{},invisibleItemCount:0});function I8(e,t){var o;const i=(o=e.ownerDocument.defaultView)===null||o===void 0?void 0:o.ResizeObserver;if(!i)return()=>null;let a=new i(t);return a.observe(e),()=>{a?.disconnect(),a=void 0}}function R8(e){let t;return()=>{t||(t=!0,queueMicrotask(()=>{t=!1,e()}))}}function Am(e){const t=[];let o=0;const i=k=>2*k+1,a=k=>2*k+2,l=k=>Math.floor((k-1)/2),c=(k,b)=>{const B=t[k];t[k]=t[b],t[b]=B},u=k=>{let b=k;const B=i(k),z=a(k);B<o&&e(t[B],t[b])<0&&(b=B),z<o&&e(t[z],t[b])<0&&(b=z),b!==k&&(c(b,k),u(b))};return{clear:()=>{o=0},contains:k=>{const b=t.indexOf(k);return b>=0&&b<o},dequeue:()=>{if(o===0)throw new Error("Priority queue empty");const k=t[0];return t[0]=t[--o],u(0),k},enqueue:k=>{t[o++]=k;let b=o-1,B=l(b);for(;b>0&&e(t[B],t[b])>0;)c(B,b),b=B,B=l(b)},peek:()=>o===0?null:t[0],remove:k=>{const b=t.indexOf(k);b===-1||b>=o||(t[b]=t[--o],u(b))},size:()=>o,*[Symbol.iterator](){for(let k=0;k<o;k++)yield t[k]}}}const E8={overflowAxis:"horizontal",overflowDirection:"end",padding:10,minimumVisible:0,hasHiddenItems:!1,onUpdateItemVisibility:()=>{},onUpdateOverflow:()=>{}};function P8(e={}){const t=new Map;let o,i,a=!1,l=!0;const c={...E8,...e},u={},d={},p=new Set;let v=()=>{},h=ls;const x=A=>{h=A,p.forEach(fe=>fe())},y=(A,fe)=>{const ae=A.dequeue();return fe.enqueue(ae),u[ae]},k=D8();function b(A,fe){if(!A||!fe)return 0;const ae=u[A],pe=u[fe];if(!ae||!pe)return ae?1:-1;if(ae.pinned!==pe.pinned)return ae.pinned?1:-1;if(ae.priority!==pe.priority)return ae.priority>pe.priority?1:-1;const xe=c.overflowDirection==="end"?4:2;return ae.element.compareDocumentPosition(pe.element)&xe?1:-1}function B(A,fe,ae){return t.has(ae)||t.set(ae,c.overflowAxis==="horizontal"?ae[A]:ae[fe]),t.get(ae)}const z=B.bind(null,"offsetWidth","offsetHeight"),j=B.bind(null,"clientWidth","clientHeight"),S=Am((A,fe)=>-1*b(A,fe)),N=Am(b);function q(){let A=0;for(const pe of N)A+=z(u[pe].element);const fe=Object.entries(k.groupVisibility()).reduce((pe,[xe,Re])=>pe+(Re!=="hidden"&&d[xe]?z(d[xe].element):0),0),ae=(S.size()>0||c.hasHiddenItems)&&i?z(i):0;return A+fe+ae}const C=()=>{const A=y(S,N);if(c.onUpdateItemVisibility({item:A,visible:!0}),A.groupId&&(k.showItem(A.id,A.groupId),k.isSingleItemVisible(A.id,A.groupId))){var fe;(fe=d[A.groupId])===null||fe===void 0||fe.element.removeAttribute(Hm)}},M=()=>{const A=y(N,S);if(c.onUpdateItemVisibility({item:A,visible:!1}),A.groupId){if(k.isSingleItemVisible(A.id,A.groupId)){var fe;(fe=d[A.groupId])===null||fe===void 0||fe.element.setAttribute(Hm,"")}k.hideItem(A.id,A.groupId)}},H=()=>{const A=k.groupVisibility(),fe={},ae=[],pe=[];for(const xe of N)fe[xe]=!0,ae.push(u[xe]);for(const xe of S)fe[xe]=!1,pe.push(u[xe]);x({itemVisibility:fe,groupVisibility:A,invisibleItemCount:pe.length}),c.onUpdateOverflow({visibleItems:ae,invisibleItems:pe,groupVisibility:A})},W=()=>h,ce=()=>{if(!o)return!1;t.clear();const A=j(o)-c.padding,fe=N.peek(),ae=S.peek();for(;b(S.peek(),N.peek())>0;)M();for(let xe=0;xe<2;xe++){for(;q()<A&&S.size()>0||S.size()===1;)C();for(;q()>A&&N.size()>c.minimumVisible;){var pe;const Re=N.peek();if(Re&&(!((pe=u[Re])===null||pe===void 0)&&pe.pinned))break;M()}}return N.peek()!==fe||S.peek()!==ae},te=()=>{(ce()||l)&&(l=!1,H())},Z=R8(te),$=A=>{if(c===A)return;const fe=A.overflowAxis&&c.overflowAxis!==A.overflowAxis||A.overflowDirection&&c.overflowDirection!==A.overflowDirection||A.padding&&c.padding!==A.padding||A.minimumVisible&&c.minimumVisible!==A.minimumVisible||A.hasHiddenItems&&c.hasHiddenItems!==A.hasHiddenItems;Object.assign(c,A),fe&&(l=!0,Z())},le=(A,fe)=>{const{forceUpdate:ae,...pe}=fe??{};Object.assign(c,pe),Object.values(u).forEach(xe=>{!N.contains(xe.id)&&!S.contains(xe.id)&&N.enqueue(xe.id)}),o=A,a=!0,v=I8(o,xe=>{!xe[0]||!o||Z()}),ae&&j(A)>0&&te()},we=()=>{v(),v=()=>{},o=void 0,a=!1,l=!0,Object.keys(u).forEach(A=>J(A)),Object.keys(d).forEach(A=>X(A)),ee(),t.clear(),h=ls},P=A=>{u[A.id]||(u[A.id]=A,a&&(l=!0,N.enqueue(A.id),Z()),A.groupId&&(k.addItem(A.id,A.groupId),A.element.setAttribute(Wl,A.groupId)))},Y=A=>{i!==A&&(i=A,a&&(l=!0,S.size()>0?te():Z()))},F=A=>{!A.groupId||d[A.groupId]||(A.element.setAttribute(Wl,A.groupId),d[A.groupId]=A)},ee=()=>{if(!i)return;const A=S.size()>0;i=void 0,a&&A&&(l=!0,Z())},X=A=>{if(!d[A])return;const fe=d[A];fe.groupId&&(delete d[A],fe.element.removeAttribute(Wl))},J=A=>{if(!u[A])return;a&&(l=!0);const fe=u[A];N.remove(A),S.remove(A),fe.groupId&&(k.removeItem(fe.id,fe.groupId),fe.element.removeAttribute(Wl)),t.delete(fe.element),delete u[A],a&&Z()};return{addItem:P,disconnect:we,forceUpdate:te,observe:le,removeItem:J,update:Z,addOverflowMenu:Y,removeOverflowMenu:ee,addDivider:F,removeDivider:X,setOptions:$,getSnapshot:W,subscribe:A=>(p.add(A),()=>{p.delete(A)})}}const D8=()=>{const e={},t={};function o(a){const l=t[a];l.invisibleItemIds.size&&l.visibleItemIds.size?e[a]="overflow":l.visibleItemIds.size===0?e[a]="hidden":e[a]="visible"}function i(a){return e[a]==="visible"||e[a]==="overflow"}return{groupVisibility:()=>e,isSingleItemVisible(a,l){return i(l)&&t[l].visibleItemIds.has(a)&&t[l].visibleItemIds.size===1},addItem(a,l){var c,u,d;(d=(c=t)[u=l])!==null&&d!==void 0||(c[u]={visibleItemIds:new Set,invisibleItemIds:new Set}),t[l].visibleItemIds.add(a),o(l)},removeItem(a,l){t[l].invisibleItemIds.delete(a),t[l].visibleItemIds.delete(a),o(l)},showItem(a,l){t[l].invisibleItemIds.delete(a),t[l].visibleItemIds.add(a),o(l)},hideItem(a,l){t[l].invisibleItemIds.add(a),t[l].visibleItemIds.delete(a),o(l)}}},vd="data-overflowing",Om="data-overflow-item",Lm="data-overflow-menu",Vm="data-overflow-divider",F8=(e,t)=>{const{overflowAxis:o="horizontal",overflowDirection:i="end",padding:a=10,minimumVisible:l=0,onUpdateItemVisibility:c=Wm,hasHiddenItems:u=!1}=t,d=K(c),p=m.useMemo(()=>({overflowAxis:o,overflowDirection:i,padding:a,minimumVisible:l,onUpdateItemVisibility:d,onUpdateOverflow:e,hasHiddenItems:u}),[l,d,o,i,a,e,u]),v=m.useRef(null),h=m.useRef(null);h.current===null&&(h.current=Ba()?P8(p):null),He(()=>{if(h.current&&v.current)return h.current.observe(v.current,{forceUpdate:!0}),()=>{var S;return(S=h.current)===null||S===void 0?void 0:S.disconnect()}},[]),He(()=>{var S;(S=h.current)===null||S===void 0||S.setOptions(p)},[p]);const x=m.useCallback(S=>{var N;return(N=h.current)===null||N===void 0||N.addItem(S),S.element.setAttribute(Om,""),()=>{var q;S.element.removeAttribute(vd),S.element.removeAttribute(Om),(q=h.current)===null||q===void 0||q.removeItem(S.id)}},[]),y=m.useCallback(S=>{var N;const q=S.element;return(N=h.current)===null||N===void 0||N.addDivider(S),q.setAttribute(Vm,""),()=>{var C;(C=h.current)===null||C===void 0||C.removeDivider(S.groupId),q.removeAttribute(Vm)}},[]),k=m.useCallback(S=>{var N;return S.setAttribute(Lm,""),(N=h.current)===null||N===void 0||N.addOverflowMenu(S),()=>{var q;(q=h.current)===null||q===void 0||q.removeOverflowMenu(),S.removeAttribute(Lm)}},[]),b=m.useCallback(()=>{var S;(S=h.current)===null||S===void 0||S.update()},[]),B=m.useCallback(()=>{var S,N;return(N=(S=h.current)===null||S===void 0?void 0:S.getSnapshot())!==null&&N!==void 0?N:ls},[]),z=m.useCallback(S=>{var N,q;return(q=(N=h.current)===null||N===void 0?void 0:N.subscribe(S))!==null&&q!==void 0?q:Wm},[]),j=m.useCallback(()=>{var S;(S=h.current)===null||S===void 0||S.forceUpdate()},[]);return{registerItem:x,registerDivider:y,registerOverflowMenu:k,updateOverflow:b,forceUpdateOverflow:j,containerRef:v,getSnapshot:B,subscribe:z}},Wm=()=>{},M8=({item:e,visible:t})=>{t?e.element.removeAttribute(vd):e.element.setAttribute(vd,"")},H8=(e,t)=>{const{children:o,minimumVisible:i,overflowAxis:a="horizontal",overflowDirection:l,padding:c,onOverflowChange:u,hasHiddenItems:d}=e,p=K(()=>{const S=h(),N={hasOverflow:S.invisibleItemCount>0,itemVisibility:S.itemVisibility,groupVisibility:S.groupVisibility};u?.(null,N)}),{containerRef:v,getSnapshot:h,subscribe:x,registerItem:y,updateOverflow:k,forceUpdateOverflow:b,registerOverflowMenu:B,registerDivider:z}=F8(p,{overflowDirection:l,overflowAxis:a,padding:c,minimumVisible:i,hasHiddenItems:d,onUpdateItemVisibility:M8}),j=ar(o);return{containerRef:v,getSnapshot:h,subscribe:x,registerItem:y,updateOverflow:k,forceUpdateOverflow:b,registerOverflowMenu:B,registerDivider:z,ref:Se(v,t,mn(j)),children:o}},A8=e=>{const{registerItem:t,registerDivider:o,registerOverflowMenu:i,updateOverflow:a,forceUpdateOverflow:l,containerRef:c,getSnapshot:u,subscribe:d}=e;return{overflow:m.useMemo(()=>({groupVisibility:{},itemVisibility:{},hasOverflow:!1,registerItem:t,registerDivider:o,registerOverflowMenu:i,updateOverflow:a,forceUpdateOverflow:l,containerRef:c,getSnapshot:u,subscribe:d}),[t,o,i,a,l,c,u,d])}},O8=L({overflowMenu:{Brvla84:"fyfkpbf"},overflowingItems:{zb22lx:"f10570jf"}},{d:[".fyfkpbf [data-overflow-menu]{flex-shrink:0;}",".f10570jf [data-overflowing]{display:none;}"]}),L8=e=>{const t=O8(),o=ar(e.children);return e.className=R("fui-Overflow",t.overflowMenu,t.overflowingItems,o?.props.className),e},cf=m.createContext(void 0);cf.Provider;const Xn=()=>{},V8={hasOverflow:!1,itemVisibility:{},groupVisibility:{},registerItem:()=>Xn,updateOverflow:Xn,forceUpdateOverflow:Xn,registerOverflowMenu:()=>Xn,registerDivider:()=>Xn,getSnapshot:()=>ls,subscribe:()=>Xn};function uf(e){var t;const o=(t=m.useContext(cf))!==null&&t!==void 0?t:V8;return e?e(o):o}const W8=(e,t)=>{const o=ar(e.children);var i;const a=oi(e.children,{ref:e.ref,className:(i=e.className)!==null&&i!==void 0?i:o?.props.className});return m.createElement(cf.Provider,{value:t.overflow},a)},oF=m.forwardRef((e,t)=>{const o=H8(e,t),i=A8(o);return L8(o),W8(o,i)});function n1(e){const{getSnapshot:t,subscribe:o}=uf(),i=K(e),[a,l]=m.useState(()=>e(t()));return He(()=>{const c=()=>l(i(t()));return c(),o(c)},[o,t,i]),a}function rF(e){return n1(t=>!!t.itemVisibility[e])}const $8=()=>n1(G8),G8=e=>e.invisibleItemCount;function U8(e,t,o,i){const a=m.useRef(null),l=uf(c=>c.registerItem);return He(()=>{if(a.current)return l({element:a.current,id:e,priority:t??0,groupId:o,pinned:i})},[e,t,l,o,i]),a}function nF(e){const t=Le("overflow-menu",e),o=$8(),{registerOverflowMenu:i}=uf(),a=m.useRef(null),l=o>0;return He(()=>{if(a.current)return i(a.current)},[i,l,t]),{ref:a,overflowCount:o,isOverflowing:l}}const X8=m.forwardRef((e,t)=>{const{id:o,groupId:i,priority:a,pinned:l,children:c}=e,u=U8(o,a,i,l),d=ar(c);return oi(c,{ref:Se(u,t,mn(d))})});X8.isFluentTriggerComponent=!0;const i1=lo(void 0),K8={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},Q8=e=>Bo(i1,(t=K8)=>e(t)),Y8=(e,t)=>{const{size:o="medium"}=e,i=J8(e,t),a=eq();return{size:o,...i,root:{...i.root,...a}}},J8=(e,t)=>{const{vertical:o=!1}=e,i={vertical:o,components:{root:"div"},root:ie(ze("div",{role:"toolbar",ref:t,...o&&{"aria-orientation":"vertical"},...e}),{elementType:"div"})},[a,l]=Z8({checkedValues:e.checkedValues,defaultCheckedValues:e.defaultCheckedValues,onCheckedValueChange:e.onCheckedValueChange}),c=K((d,p,v,h)=>{if(p&&v){const y=[...a?.[p]||[]];h?y.splice(y.indexOf(v),1):y.push(v),l?.(d,{name:p,checkedItems:y})}}),u=K((d,p,v,h)=>{p&&v&&l?.(d,{name:p,checkedItems:[v]})});return{...i,handleToggleButton:c,handleRadio:u,checkedValues:a??{}}},Z8=e=>{const[t,o]=Xe({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:i}=e,a=K((l,{name:c,checkedItems:u})=>{i&&i(l,{name:c,checkedItems:u}),o(d=>d?{...d,[c]:u}:{[c]:u})});return[t,a]},eq=()=>tr({circular:!0,axis:"both"}),tq=(e,t)=>I(i1.Provider,{value:t.toolbar,children:I(e.root,{children:e.root.children})}),oq={root:"fui-Toolbar"},rq=L({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),nq=e=>{const t=rq(),{vertical:o,size:i}=e;return e.root.className=R(oq.root,t.root,o&&t.vertical,i==="small"&&!o&&t.small,i==="medium"&&!o&&t.medium,i==="large"&&!o&&t.large,e.root.className),e};function iq(e){const{size:t,handleToggleButton:o,vertical:i,checkedValues:a,handleRadio:l}=e;return{toolbar:m.useMemo(()=>({size:t,vertical:i,handleToggleButton:o,handleRadio:l,checkedValues:a}),[t,i,o,l,a])}}const aq=m.forwardRef((e,t)=>{const o=Y8(e,t),i=iq(o);return nq(o),de("useToolbarStyles_unstable")(o),tq(o,i)});aq.displayName="Toolbar";const lq=L({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}]]}),sq=e=>{const t=lq();e.root.className=R(e.vertical&&t.vertical,e.root.className),e.icon&&(e.icon.className=R(e.vertical&&t.verticalIcon,e.icon.className)),Qd(e)},cq=(e,t)=>{const{appearance:o="subtle",...i}=e,a=uq(i,t);return{appearance:o,size:"medium",shape:"rounded",...a}},uq=(e,t)=>{const{vertical:o=!1,...i}=e,a=u0(i,t);return{vertical:o,...a}},dq=m.forwardRef((e,t)=>{const o=cq(e,t);return sq(o),de("useToolbarButtonStyles_unstable")(o),Kd(o)});dq.displayName="ToolbarButton";const fq=L({root:{mc9l5x:"ftuwxu6",B2u0y6b:"f1lwjmbk",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1oic3e7"},vertical:{B2u0y6b:"fe668z"}},{d:[".ftuwxu6{display:inline-flex;}",".f1lwjmbk{max-width:1px;}",[".f1oic3e7{padding:0 12px;}",{p:-1}],".fe668z{max-width:initial;}"]}),pq=e=>{S0(e);const{vertical:t}=e,o=fq();return e.root.className=R(o.root,!t&&o.vertical,e.root.className),e},vq=(e,t)=>({alignContent:"center",appearance:"default",inset:!1,...gq(e,t)}),gq=(e,t)=>{const o=Q8(i=>i.vertical);return B0({vertical:!o,...e},t)},mq=m.forwardRef((e,t)=>{const o=vq(e,t);return pq(o),de("useToolbarDividerStyles_unstable")(o),x0(o)});mq.displayName="ToolbarDivider";const ra=()=>{},a1={allRowsSelected:!1,clearRows:ra,deselectRow:ra,isRowSelected:()=>!1,selectRow:ra,selectedRows:new Set,someRowsSelected:!1,toggleAllRows:ra,toggleRow:ra,selectionMode:"multiselect"};function hq(e){return t=>bq(t,e)}function bq(e,t){const{items:o,getRowId:i}=e,{selectionMode:a,defaultSelectedItems:l,selectedItems:c,onSelectionChange:u}=t,[d,p]=Fx({selectionMode:a,defaultSelectedItems:l,selectedItems:c,onSelectionChange:u}),v=m.useMemo(()=>{const S=new Set;for(let q=0;q<o.length;q++){var N;S.add((N=i?.(o[q]))!==null&&N!==void 0?N:q)}return S},[o,i]),h=m.useMemo(()=>{if(a==="single"){const N=Array.from(d)[0];return v.has(N)}if(d.size<v.size||v.size===0)return!1;let S=!0;return v.forEach(N=>{d.has(N)||(S=!1)}),S},[v,d,a]),x=m.useMemo(()=>{if(d.size<=0)return!1;let S=!1;return v.forEach(N=>{d.has(N)&&(S=!0)}),S},[v,d]),y=K(S=>{p.toggleAllItems(S,o.map((N,q)=>{var C;return(C=i?.(N))!==null&&C!==void 0?C:q}))}),k=K((S,N)=>p.toggleItem(S,N)),b=K((S,N)=>p.deselectItem(S,N)),B=K((S,N)=>p.selectItem(S,N)),z=S=>p.isSelected(S),j=K(S=>p.clearItems(S));return{...e,selection:{selectionMode:a,someRowsSelected:x,allRowsSelected:h,selectedRows:d,toggleRow:k,toggleAllRows:y,clearRows:j,deselectRow:b,selectRow:B,isRowSelected:z}}}const gd=()=>{},l1={getSortDirection:()=>"ascending",setColumnSort:gd,sort:e=>[...e],sortColumn:void 0,sortDirection:"ascending",toggleColumnSort:gd};function yq(e){return t=>wq(t,e)}function wq(e,t){const{columns:o}=e,{sortState:i,defaultSortState:a,onSortChange:l=gd}=t,[c,u]=Xe({initialState:{sortDirection:"ascending",sortColumn:void 0},defaultState:a,state:i}),{sortColumn:d,sortDirection:p}=c,v=K(l),h=m.useCallback((b,B)=>{u(z=>{const j={...z,sortColumn:B};return z.sortColumn===B?j.sortDirection=z.sortDirection==="ascending"?"descending":"ascending":j.sortDirection="ascending",v?.(b,j),j})},[v,u]),x=(b,B,z)=>{const j={sortColumn:B,sortDirection:z};v?.(b,j),u(j)},y=m.useCallback(b=>b.slice().sort((B,z)=>{const j=o.find(N=>N.columnId===d);if(!j?.compare)return 0;const S=p==="ascending"?1:-1;return j.compare(B.item,z.item)*S}),[o,d,p]);return{...e,sort:{sort:y,sortColumn:d,sortDirection:p,setColumnSort:x,toggleColumnSort:h,getSortDirection:b=>d===b?p:void 0}}}const kq=(e,t)=>{const o=K(i=>{var a;(a=e.onClick)===null||a===void 0||a.call(e,i),i.stopPropagation()});return{components:{root:"div"},root:ie(ze("div",{ref:t,...e,onClick:o}),{elementType:"div"})}},xq=e=>I(e.root,{}),Bq={root:"fui-TableResizeHandle"},Sq=L({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;}"]}),zq=e=>{const t=Sq();return e.root.className=R(Bq.root,t.root,e.root.className),e},s1=m.forwardRef((e,t)=>{const o=kq(e,t);return zq(o),de("useTableResizeHandleStyles_unstable")(o),xq(o)});s1.displayName="TableResizeHandle";function _q(){const[e,t]=m.useState(0),o=m.useRef(void 0),i=m.useRef(null),{targetDocument:a}=Ie(),l=m.useCallback(()=>{var u;const d=(u=o.current)===null||u===void 0?void 0:u.getBoundingClientRect().width;t(d||0)},[]),c=m.useCallback(u=>{if(a&&(!u&&i.current&&o.current&&i.current.unobserve(o.current),o.current=void 0,u?.parentElement)){var d;o.current=u.parentElement,l(),(d=i.current)===null||d===void 0||d.observe(o.current)}},[a,l]);return m.useEffect(()=>{if(i.current=Nq(a,l),!(!o.current||!i.current))return i.current.observe(o.current),()=>{var u;(u=i.current)===null||u===void 0||u.disconnect()}},[l,a]),{width:e,measureElementRef:c}}function Nq(e,t){var o;return!(e==null||(o=e.defaultView)===null||o===void 0)&&o.ResizeObserver?new e.defaultView.ResizeObserver(t):null}function jq(e){const t=m.useRef(0),o=m.useRef(0),i=m.useRef(void 0),[a,l]=m.useState(!1),{targetDocument:c}=Ie(),{getColumnWidth:u,setColumnWidth:d}=e,p=m.useCallback(k=>{const{clientX:b}=vg(k),B=b-t.current;o.current+=B,i.current&&d(k,{columnId:i.current,width:o.current}),t.current=b},[d]),[v]=sa(),h=m.useCallback(k=>{v(()=>p(k))},[v,p]),x=m.useCallback(k=>{Yu(k)&&(c?.removeEventListener("mouseup",x),c?.removeEventListener("mousemove",h)),Qu(k)&&(c?.removeEventListener("touchend",x),c?.removeEventListener("touchmove",h)),l(!1)},[h,c]);return{getOnMouseDown:m.useCallback(k=>b=>{if(o.current=u(k),t.current=vg(b).clientX,i.current=k,Yu(b)){if(b.target!==b.currentTarget||b.button!==0)return;c?.addEventListener("mouseup",x),c?.addEventListener("mousemove",h),l(!0)}Qu(b)&&(c?.addEventListener("touchend",x),c?.addEventListener("touchmove",h),l(!0))},[u,h,x,c]),dragging:a}}const Cq=150,Tq=100;function md(e,t=[],o={}){let i=!1;const a=new Map(t.map(c=>[c.columnId,c])),l=e.map(c=>{const u=a.get(c.columnId);if(u){var d;const{idealWidth:k=u.idealWidth,minWidth:b=u.minWidth,padding:B=u.padding}=(d=o[c.columnId])!==null&&d!==void 0?d:{};return k!==u.idealWidth||b!==u.minWidth||B!==u.padding?(i=!0,{...u,idealWidth:k,width:k,minWidth:b,padding:B}):u}var p;const{defaultWidth:v,idealWidth:h=Cq,minWidth:x=Tq,padding:y}=(p=o[c.columnId])!==null&&p!==void 0?p:{};return i=!0,{columnId:c.columnId,width:Math.max(v??h,x),minWidth:x,idealWidth:Math.max(v??h,x),padding:y??16}});if(l.length!==t.length||i){const c=l.find(u=>u.width>u.idealWidth);c&&(c.width=c.idealWidth),i=!0}return i?l:t}function ha(e,t){return e.find(o=>o.columnId===t)}function Vu(e,t){return e[t]}function qq(e){return e.reduce((t,o)=>t+o.width+o.padding,0)}function Iq(e,t){const o=ha(e,t);var i;return(i=o?.width)!==null&&i!==void 0?i:0}function la(e,t,o,i){const a=ha(e,t);if(!a||a?.[o]===i)return e;const l={...a,[o]:i};return e.reduce((u,d)=>d.columnId===l.columnId?[...u,l]:[...u,d],[])}function $l(e,t){let o=e;const i=qq(o);if(i<t){let a=t-i,l=0;for(;l<o.length&&a>0;){const c=Vu(o,l);if(!c)break;const u=Math.min(c.idealWidth-c.width,a);if(o=la(o,c.columnId,"width",c.width+u),a-=u,l===o.length-1&&a!==0){const d=Vu(o,l);d&&(o=la(o,d.columnId,"width",d.width+a))}l++}}else if(i>=t){let a=i-t,l=o.length-1;for(;l>=0&&a>0;){const c=Vu(o,l);if(!c){l--;continue}if(c.width>c.minWidth){const u=Math.min(c.width-c.minWidth,a);a-=u,o=la(o,c.columnId,"width",c.width-u)}l--}}return o}const Rq=e=>(t,o)=>{switch(o.type){case"CONTAINER_WIDTH_UPDATED":return{...t,containerWidth:o.containerWidth,columnWidthState:e?$l(t.columnWidthState,o.containerWidth):t.columnWidthState};case"COLUMNS_UPDATED":const i=md(o.columns,t.columnWidthState,t.columnSizingOptions);return{...t,columns:o.columns,columnWidthState:e?$l(i,t.containerWidth):i};case"COLUMN_SIZING_OPTIONS_UPDATED":const a=md(t.columns,t.columnWidthState,o.columnSizingOptions);return{...t,columnSizingOptions:o.columnSizingOptions,columnWidthState:e?$l(a,t.containerWidth):a};case"SET_COLUMN_WIDTH":const{columnId:l,width:c}=o,{containerWidth:u}=t,d=ha(t.columnWidthState,l);let p=[...t.columnWidthState];return d?(p=la(p,l,"width",c),p=la(p,l,"idealWidth",c),e&&(p=$l(p,u)),{...t,columnWidthState:p}):t}};function Eq(e,t,o={}){const{onColumnResize:i,columnSizingOptions:a,autoFitColumns:l=!0}=o,c=m.useMemo(()=>Rq(l),[l]),[u,d]=m.useReducer(c,{columns:e,containerWidth:0,columnWidthState:md(e,void 0,a),columnSizingOptions:a});He(()=>{d({type:"CONTAINER_WIDTH_UPDATED",containerWidth:t})},[t]),He(()=>{d({type:"COLUMNS_UPDATED",columns:e})},[e]),He(()=>{d({type:"COLUMN_SIZING_OPTIONS_UPDATED",columnSizingOptions:a})},[a]);const p=K((v,h)=>{let{width:x}=h;const{columnId:y}=h,k=ha(u.columnWidthState,y);k&&(x=Math.max(k.minWidth||0,x),i&&i(v,{columnId:y,width:x}),d({type:"SET_COLUMN_WIDTH",columnId:y,width:x}))});return{getColumnById:m.useCallback(v=>ha(u.columnWidthState,v),[u.columnWidthState]),getColumns:m.useCallback(()=>u.columnWidthState,[u.columnWidthState]),getColumnWidth:m.useCallback(v=>Iq(u.columnWidthState,v),[u.columnWidthState]),setColumnWidth:p}}const Gl=20,Pq=vz,$m=1/4;function Dq(e){const[t,o]=m.useState(),i=m.useRef(void 0),{findPrevFocusable:a}=Ao(),l=m.useRef(e);m.useEffect(()=>{l.current=e},[e]);const[c]=m.useState(()=>new Map),u=K(y=>{if(!t)return;const k=l.current.getColumnWidth(t),b=y.getModifierState(Pq),B=()=>{y.preventDefault(),y.stopPropagation()};switch(y.key){case ai:B(),l.current.setColumnWidth(y.nativeEvent,{columnId:t,width:k-(b?Gl*$m:Gl)});return;case li:B(),l.current.setColumnWidth(y.nativeEvent,{columnId:t,width:k+(b?Gl*$m:Gl)});return;case $t:case Eo:case Vr:var z,j;B(),(j=c.get(t))===null||j===void 0||(z=j.current)===null||z===void 0||z.blur();break}}),d=m.useCallback(y=>{var k,b;o(y),(k=i.current)===null||k===void 0||k.call(i,y,!0);const B=(b=c.get(y))===null||b===void 0?void 0:b.current;B&&(B.setAttribute("tabindex","-1"),B.tabIndex=-1,B.focus())},[c]),p=m.useCallback(()=>{var y,k;if(!t)return;(y=i.current)===null||y===void 0||y.call(i,t,!1);const b=(k=c.get(t))===null||k===void 0?void 0:k.current;if(b){var B;(B=a(b))===null||B===void 0||B.focus(),b.removeAttribute("tabindex")}o(void 0)},[t,a,c]),v=(y,k)=>{i.current=k,t?y&&t!==y?(d(y),o(y)):p():d(y)},h=m.useCallback(y=>{const k=c.get(y)||m.createRef();return c.set(y,k),k},[c]),x=er({focusable:{ignoreKeydown:{ArrowLeft:!0,ArrowRight:!0}}});return{toggleInteractiveMode:v,columnId:t,getKeyboardResizingProps:m.useCallback((y,k)=>({onKeyDown:u,onBlur:p,ref:h(y),role:"separator","aria-label":"Resize column","aria-valuetext":`${k} pixels`,"aria-hidden":y!==t,tabIndex:y===t?0:void 0,...x}),[t,p,h,u,x])}}const c1={getColumnWidths:()=>[],getOnMouseDown:()=>()=>null,setColumnWidth:()=>null,getTableProps:()=>({}),getTableHeaderCellProps:()=>({style:{},columnId:""}),getTableCellProps:()=>({style:{},columnId:""}),enableKeyboardMode:()=>()=>null};function Fq(e){return t=>Mq(t,{autoFitColumns:!0,...e})}function Gm(e,t){const o=e.width;return{width:o,minWidth:o,maxWidth:o,...t?{pointerEvents:"none"}:{}}}function Mq(e,t={}){const{columns:o}=e,{width:i,measureElementRef:a}=_q(),l=Eq(o,i+(t?.containerWidthOffset||0),t),c=jq(l),{toggleInteractiveMode:u,getKeyboardResizingProps:d}=Dq(l),{autoFitColumns:p}=t,v=m.useCallback((B,z)=>j=>{j.preventDefault(),j.nativeEvent.stopPropagation(),u(B,z)},[u]),{getColumnById:h,setColumnWidth:x,getColumns:y}=l,{getOnMouseDown:k,dragging:b}=c;return{...e,tableRef:a,columnSizing_unstable:{getOnMouseDown:k,setColumnWidth:(B,z)=>x(void 0,{columnId:B,width:z}),getColumnWidths:y,getTableProps:(B={})=>({...B,style:{minWidth:"fit-content",...B.style||{}}}),getTableHeaderCellProps:m.useCallback(B=>{var z;const j=h(B),N=((z=o[o.length-1])===null||z===void 0?void 0:z.columnId)===B&&p?null:m.createElement(s1,{onMouseDown:k(B),onTouchStart:k(B),...d(B,j?.width||0)});return j?{style:Gm(j,b),aside:N}:{}},[h,o,b,d,k,p]),getTableCellProps:m.useCallback(B=>{const z=h(B);return z?{style:Gm(z)}:{}},[h]),enableKeyboardMode:v}}}const Hq=e=>e,Aq={selection:a1,sort:l1,getRows:()=>[],getRowId:()=>"",items:[],columns:[],columnSizing_unstable:c1,tableRef:m.createRef()};function Oq(e,t=[]){const{items:o,getRowId:i,columns:a}=e,l=m.useCallback((u=Hq)=>o.map((d,p)=>{var v;return u({item:d,rowId:(v=i?.(d))!==null&&v!==void 0?v:p})}),[o,i]),c={getRowId:i,items:o,columns:a,getRows:l,selection:a1,sort:l1,columnSizing_unstable:c1,tableRef:m.createRef()};return t.reduce((u,d)=>d(u),c)}const Lq=()=>0,Vq=()=>null,Wq=()=>null;function iF(e){const{columnId:t,renderCell:o=Vq,renderHeaderCell:i=Wq,compare:a=Lq}=e;return{columnId:t,renderCell:o,renderHeaderCell:i,compare:a}}function $q(){const e=tr({axis:"horizontal"}),t=tr({axis:"grid"}),o=Nd({tabBehavior:"limited-trap-focus"}),{findFirstFocusable:i}=Ao(),{targetDocument:a}=Ie(),l=qd(e,o);return{onTableKeyDown:m.useCallback(u=>{if(!a)return;let d=a.activeElement;if(!d||!u.currentTarget.contains(d))return;const p=d.getAttribute("role");if(u.key===li&&p==="row"&&it(d)){var v;(v=i(d))===null||v===void 0||v.focus()}if(p==="row")return;const h=(()=>{let x=it(d)?d:null;for(;x;){const y=x.getAttribute("role");if(y==="cell"||y==="gridcell")return!0;x=x.parentElement}return!1})();if(u.key===ai&&h){d.dispatchEvent(new kg({action:Zl.Escape}));return}(u.key===ei||u.key===Qn)&&h&&(d.dispatchEvent(new kg({action:Zl.Escape})),d=a.activeElement,d&&d.dispatchEvent(new sB({key:et[u.key]})))},[a,i]),tableTabsterAttribute:t,tableRowTabsterAttribute:l}}const u1=m.createContext(void 0),Gq={size:"medium",noNativeElements:!1,sortable:!1},Uq=u1.Provider,lr=()=>{var e;return(e=m.useContext(u1))!==null&&e!==void 0?e:Gq},df=(e,t)=>{const{noNativeElements:o,size:i}=lr();var a;const l=((a=e.as)!==null&&a!==void 0?a:o)?"div":"td";return{components:{root:l},root:ie(ze(l,{ref:t,role:l==="div"?"cell":void 0,...e}),{elementType:l}),noNativeElements:o,size:i}},d1=e=>I(e.root,{}),Xq="fui-TableCell",Kq={root:Xq},Qq=L({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;}"]}),Yq=L({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;}"]}),Jq=L({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}]]}),f1=e=>{const t=Jq(),o={table:Qq(),flex:Yq()};return e.root.className=R(Kq.root,t.root,e.noNativeElements?o.flex.root:o.table.root,e.noNativeElements?o.flex[e.size]:o.table[e.size],e.root.className),e},Zq=m.forwardRef((e,t)=>{const o=df(e,t);return f1(o),de("useTableCellStyles_unstable")(o),d1(o)});Zq.displayName="TableCell";const p1=m.createContext(void 0),e7="",t7=p1.Provider,ff=()=>m.useContext(p1)===e7,v1=(e,t)=>{const{noNativeElements:o,size:i}=lr();var a;const l=((a=e.as)!==null&&a!==void 0?a:o)?"div":"tr",c=bn(),u=ri(),d=ff();var p;return{components:{root:l},root:ie(ze(l,{ref:Se(t,c,u),role:l==="div"?"row":void 0,...e}),{elementType:l}),size:i,noNativeElements:o,appearance:(p=e.appearance)!==null&&p!==void 0?p:"none",isHeaderRow:d}},o7=e=>I(e.root,{}),Wu={root:"fui-TableSelectionCell",checkboxIndicator:"fui-TableSelectionCell__checkboxIndicator",radioIndicator:"fui-TableSelectionCell__radioIndicator"},r7=L({root:{mc9l5x:"f15pt5es",a9b677:"fksc0bp"}},{d:[".f15pt5es{display:table-cell;}",".fksc0bp{width:44px;}"]}),n7=L({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;}"]}),i7=L({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;}"]}),a7=e=>{const t=i7(),o={table:r7(),flex:n7()};return e.root.className=R(Wu.root,t.root,e.noNativeElements?o.flex.root:o.table.root,e.subtle&&e.checked===!1&&t.subtle,e.hidden&&t.hidden,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=R(Wu.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=R(Wu.radioIndicator,t.radioIndicator,e.radioIndicator.className)),e},l7="fui-TableRow",s7={root:l7},c7=L({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),u7=L({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),d7=L({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)"}]]}),g1=e=>{const t=d7(),o={table:c7(),flex:u7()};return e.root.className=R(s7.root,t.root,!e.isHeaderRow&&t.rootInteractive,t[e.size],e.noNativeElements?o.flex.root:o.table.root,t[e.appearance],e.root.className),e},f7=m.forwardRef((e,t)=>{const o=v1(e,t);return g1(o),de("useTableRowStyles_unstable")(o),o7(o)});f7.displayName="TableRow";const m1=(e,t)=>{const{noNativeElements:o}=lr();var i;const a=((i=e.as)!==null&&i!==void 0?i:o)?"div":"tbody";return{components:{root:a},root:ie(ze(a,{ref:t,role:a==="div"?"rowgroup":void 0,...e}),{elementType:a}),noNativeElements:o}},p7=e=>I(e.root,{}),v7=L({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),g7=L({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),m7="fui-TableBody",h1=e=>{const t={table:v7(),flex:g7()};return e.root.className=R(m7,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},h7=m.forwardRef((e,t)=>{const o=m1(e,t);return h1(o),de("useTableBodyStyles_unstable")(o),p7(o)});h7.displayName="TableBody";const b1=(e,t)=>{var o;const i=((o=e.as)!==null&&o!==void 0?o:e.noNativeElements)?"div":"table";var a,l,c;return{components:{root:i},root:ie(ze(i,{ref:t,role:i==="div"?"table":void 0,...e}),{elementType:i}),size:(a=e.size)!==null&&a!==void 0?a:"medium",noNativeElements:(l=e.noNativeElements)!==null&&l!==void 0?l:!1,sortable:(c=e.sortable)!==null&&c!==void 0?c:!1}},y1=(e,t)=>I(Uq,{value:t.table,children:I(e.root,{})}),b7="fui-Table",y7=L({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),w7=L({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),k7=L({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),w1=e=>{const t=k7(),o={table:y7(),flex:w7()};return e.root.className=R(b7,t.root,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e};function k1(e){const{size:t,noNativeElements:o,sortable:i}=e;return{table:m.useMemo(()=>({noNativeElements:o,size:t,sortable:i}),[o,t,i])}}const x7=m.forwardRef((e,t)=>{const o=b1(e,t);return w1(o),de("useTableStyles_unstable")(o),y1(o,k1(o))});x7.displayName="Table";const x1=(e,t)=>{const{noNativeElements:o}=lr();var i;const a=((i=e.as)!==null&&i!==void 0?i:o)?"div":"thead";return{components:{root:a},root:ie(ze(a,{ref:t,role:a==="div"?"rowgroup":void 0,...e}),{elementType:a}),noNativeElements:o}},B1=e=>I(t7,{value:"",children:I(e.root,{})}),B7="fui-TableHeader",S7=L({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),z7=L({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),S1=e=>{const t={table:z7(),flex:S7()};return e.root.className=R(B7,e.noNativeElements?t.flex.root:t.table.root,e.root.className),e},_7=m.forwardRef((e,t)=>{const o=x1(e,t);return S1(o),de("useTableHeaderStyles_unstable")(o),B1(o)});_7.displayName="TableHeader";const N7={ascending:m.createElement(pk,{fontSize:12}),descending:m.createElement(fk,{fontSize:12})},z1=(e,t)=>{const{noNativeElements:o,sortable:i}=lr(),{sortable:a=i}=e;var l;const c=((l=e.as)!==null&&l!==void 0?l:o)?"div":"th",u=ie(e.button,{elementType:"div",defaultProps:{as:"div"}}),d=Dr(u.as,u);var p;return{components:{root:c,button:"div",sortIcon:"span",aside:"span"},root:ie(ze(c,{ref:Se(t,ri()),role:c==="div"?"columnheader":void 0,"aria-sort":a?(p=e.sortDirection)!==null&&p!==void 0?p:"none":void 0,...e}),{elementType:c}),aside:ve(e.aside,{elementType:"span"}),sortIcon:ve(e.sortIcon,{renderByDefault:!!e.sortDirection,defaultProps:{children:e.sortDirection?N7[e.sortDirection]:void 0},elementType:"span"}),button:a?d:u,sortable:a,noNativeElements:o}},_1=e=>_e(e.root,{children:[_e(e.button,{children:[e.root.children,e.sortIcon&&I(e.sortIcon,{})]}),e.aside&&I(e.aside,{})]}),Ul={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},j7=L({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),C7=L({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;}"]}),T7=L({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);}"]}),N1=e=>{const t=T7(),o={table:j7(),flex:C7()};return e.root.className=R(Ul.root,t.root,e.sortable&&t.rootInteractive,e.noNativeElements?o.flex.root:o.table.root,e.root.className),e.button.className=R(Ul.button,t.resetButton,t.button,e.sortable&&t.sortable,e.button.className),e.sortIcon&&(e.sortIcon.className=R(Ul.sortIcon,t.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=R(Ul.aside,t.resizeHandle,e.aside.className)),e},q7=m.forwardRef((e,t)=>{const o=z1(e,t);return N1(o),de("useTableHeaderCellStyles_unstable")(o),_1(o)});q7.displayName="TableHeaderCell";const j1=m.createContext(void 0),I7="",C1=()=>{var e;return(e=m.useContext(j1))!==null&&e!==void 0?e:I7},R7=j1.Provider,T1=m.createContext(void 0),E7="",q1=()=>{var e;return(e=m.useContext(T1))!==null&&e!==void 0?e:E7},P7=T1.Provider,D7=(e,t)=>{const o=df(e,Se(t,ri())),{noNativeElements:i}=lr(),{type:a="checkbox",checked:l=!1,subtle:c=!1,hidden:u=!1,invisible:d=!1}=e;return{...o,components:{...o.components,checkboxIndicator:pa,radioIndicator:ma},checkboxIndicator:ve(e.checkboxIndicator,{renderByDefault:a==="checkbox",defaultProps:{checked:e.checked},elementType:pa}),radioIndicator:ve(e.radioIndicator,{renderByDefault:a==="radio"&&!d,defaultProps:{checked:!!l,input:{name:Le("table-selection-radio")}},elementType:ma}),type:a,checked:l,noNativeElements:i,subtle:c,hidden:d||u}},F7=e=>_e(e.root,{children:[e.type==="checkbox"&&e.checkboxIndicator&&I(e.checkboxIndicator,{}),e.type==="radio"&&e.radioIndicator&&I(e.radioIndicator,{})]}),M7={medium:32,small:24,"extra-small":20},H7=(e,t)=>{const{size:o}=lr();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:ie(ze("div",{ref:t,...e},["content"]),{elementType:"div"}),appearance:e.appearance,truncate:e.truncate,main:ve(e.main,{renderByDefault:!0,elementType:"span"}),media:ve(e.media,{elementType:"span"}),description:ve(e.description,{elementType:"span"}),content:ve(e.content,{renderByDefault:!!e.description||!!e.children,elementType:"div"}),avatarSize:M7[o],size:o}},A7=(e,t)=>_e(e.root,{children:[e.media&&I(Ad,{value:t.avatar,children:I(e.media,{})}),e.content&&_e(e.content,{children:[e.main&&I(e.main,{children:e.root.children}),e.description&&I(e.description,{})]})]}),na={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},O7=L({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),L7=e=>{const t=O7(),{truncate:o}=e;e.root.className=R(na.root,t.root,o&&t.rootTruncate,e.root.className);const i=e.appearance==="primary";if(e.media){const a={small:t.mediaSmallAndMedium,medium:t.mediaSmallAndMedium,"extra-small":t.mediaExtraSmall};e.media.className=R(na.media,t.media,a[e.size],i&&t.mediaPrimary,e.media.className)}return e.main&&(e.main.className=R(na.main,o&&t.mainTruncate,i&&t.mainPrimary,e.main.className)),e.description&&(e.description.className=R(na.description,t.description,e.description.className)),e.content&&(e.content.className=R(na.content,t.content,o&&t.contentTruncate,e.content.className)),e};function V7(e){const{avatarSize:t}=e;return{avatar:m.useMemo(()=>({size:t}),[t])}}const W7=m.forwardRef((e,t)=>{const o=H7(e,t);return L7(o),de("useTableCellLayoutStyles_unstable")(o),A7(o,V7(o))});W7.displayName="TableCellLayout";const I1=lo(void 0),R1={...Aq,subtleSelection:!1,selectableRows:!1,selectionAppearance:"brand",focusMode:"none",compositeRowTabsterAttribute:{}},$7=I1.Provider,Je=e=>Bo(I1,(t=R1)=>e(t)),G7=(e,t)=>{const{focusMode:o="cell"}=e,i=C1(),a=Je(d=>(d.focusMode==="cell"||d.focusMode==="composite")&&o!=="none"),l=Je(d=>d.resizableColumns),c=Je(d=>d.columnSizing_unstable.getTableCellProps),u=Nd({tabBehavior:"limited-trap-focus"});return df({as:"div",role:"gridcell",...o==="group"&&u,tabIndex:a?0:void 0,...l?c(i):{},...e},t)},U7=e=>d1(e),X7={root:"fui-DataGridCell"},K7=e=>(f1(e),e.root.className=R(X7.root,e.root.className),e),Q7=m.forwardRef((e,t)=>{const o=G7(e,t);return K7(o),de("useDataGridCellStyles_unstable")(o),U7(o)});Q7.displayName="DataGridCell";const Y7=(e,t)=>{const o=ff(),i=q1(),a=Je(p=>p.subtleSelection),l=Je(p=>o&&p.selection.selectionMode==="multiselect"?p.selection.allRowsSelected?!0:p.selection.someRowsSelected?"mixed":!1:p.selection.isRowSelected(i)),c=Je(p=>p.selection.toggleAllRows),u=Je(p=>p.selection.selectionMode==="multiselect"?"checkbox":"radio"),d=K(p=>{var v;o&&c(p),(v=e.onClick)===null||v===void 0||v.call(e,p)});return D7({as:"div",role:"gridcell",checked:l,type:u,invisible:o&&u==="radio","aria-selected":l==="mixed"?void 0:l,subtle:a,radioIndicator:o?null:void 0,...e,onClick:d},t)},J7=e=>F7(e),$u={root:"fui-DataGridSelectionCell",checkboxIndicator:"fui-DataGridSelectionCell__checkboxIndicator",radioIndicator:"fui-DataGridSelectionCell__radioIndicator"},Z7=e=>(a7(e),e.root.className=R($u.root,e.root.className),e.checkboxIndicator&&(e.checkboxIndicator.className=R($u.checkboxIndicator,e.checkboxIndicator.className)),e.radioIndicator&&(e.radioIndicator.className=R($u.radioIndicator,e.radioIndicator.className)),e),hd=m.forwardRef((e,t)=>{const o=Y7(e,t);return Z7(o),de("useDataGridSelectionCellStyles_unstable")(o),J7(o)});hd.displayName="DataGridSelectionCell";const eI=(e,t)=>{const o=q1(),i=ff(),a=Je(b=>b.columns),l=Je(b=>b.selectableRows),c=Je(b=>b.selection.isRowSelected(o)),u=Je(b=>b.focusMode),d=Je(b=>b.compositeRowTabsterAttribute),p=u==="row_unstable"||u==="composite",v=Je(b=>!i&&l&&b.selection.isRowSelected(o)?b.selectionAppearance:"none"),h=Je(b=>b.selection.toggleRow),x=K(b=>{var B;l&&!i&&h(b,o),(B=e.onClick)===null||B===void 0||B.call(e,b)}),y=K(b=>{var B;l&&!i&&b.key===$t&&!Ex(b.target)&&(b.preventDefault(),h(b,o)),(B=e.onKeyDown)===null||B===void 0||B.call(e,b)}),k=v1({appearance:v,"aria-selected":l?c:void 0,tabIndex:p&&!i?0:void 0,...u==="composite"&&!i&&d,...e,onClick:x,onKeyDown:y,children:null,as:"div"},t);return{...k,components:{...k.components,selectionCell:hd},selectionCell:ve(e.selectionCell,{renderByDefault:l,elementType:hd}),renderCell:e.children,columnDefs:a,dataGridContextValue:tI()}};function tI(){const e=m.useRef(R1);return Je(t=>(e.current=t,null)),e.current}const oI=e=>_e(e.root,{children:[e.selectionCell&&I(e.selectionCell,{}),e.columnDefs.map(t=>I(R7,{value:t.columnId,children:e.renderCell(t,e.dataGridContextValue)},t.columnId))]}),Um={root:"fui-DataGridRow",selectionCell:"fui-DataGridRow__selectionCell"},rI=L({subtleSelection:{Bconypa:"f1jazu75",ff6mpl:"fw60kww"}},{d:[".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}"],h:[".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"]}),nI=e=>{const t=Je(i=>i.subtleSelection),o=rI();return g1(e),e.root.className=R(Um.root,e.root.className,t&&o.subtleSelection),e.selectionCell&&(e.selectionCell.className=R(Um.selectionCell,e.selectionCell.className)),e},iI=m.forwardRef((e,t)=>{const o=eI(e,t);return nI(o),de("useDataGridRowStyles_unstable")(o),oI(o)});iI.displayName="DataGridRow";const aI=(e,t)=>{const{sortable:o}=lr(),i=Je(u=>u.getRows),a=Je(u=>u.sort.sort),l=o?a(i()):i();return{...m1({...e,children:null,as:"div"},t),rows:l,renderRow:e.children}},lI=e=>I(e.root,{children:e.rows.map(t=>I(P7,{value:t.rowId,children:e.renderRow(t)},t.rowId))}),sI={root:"fui-DataGridBody"},cI=e=>(h1(e),e.root.className=R(sI.root,e.root.className),e),uI=m.forwardRef((e,t)=>{const o=aI(e,t);return cI(o),de("useDataGridBodyStyles_unstable")(o),lI(o)});uI.displayName="DataGridBody";const dI=(e,t)=>{const{items:o,columns:i,focusMode:a="cell",selectionMode:l,onSortChange:c,onSelectionChange:u,defaultSortState:d,sortState:p,selectedItems:v,defaultSelectedItems:h,subtleSelection:x=!1,selectionAppearance:y="brand",getRowId:k,resizableColumns:b,columnSizingOptions:B,onColumnResize:z,containerWidthOffset:j,resizableColumnsOptions:S={}}=e,N=j??(l?-44:0),q=tr({axis:"grid"}),{onTableKeyDown:C,tableTabsterAttribute:M,tableRowTabsterAttribute:H}=$q();var W;const ce=Oq({items:o,columns:i,getRowId:k},[yq({defaultSortState:d,sortState:p,onSortChange:c}),hq({defaultSelectedItems:h,selectedItems:v,onSelectionChange:u,selectionMode:l??"multiselect"}),Fq({onColumnResize:z,columnSizingOptions:B,containerWidthOffset:N,autoFitColumns:(W=S.autoFitColumns)!==null&&W!==void 0?W:!0})]),te=m.useRef(null),{findFirstFocusable:Z,findLastFocusable:$}=Ao(),le=K(P=>{var Y;if((Y=e.onKeyDown)===null||Y===void 0||Y.call(e,P),a==="composite"&&C(P),!(!te.current||!P.ctrlKey||P.defaultPrevented)){if(P.key===ms){const X=te.current.querySelector('[role="row"]');if(X){var F;(F=Z(X))===null||F===void 0||F.focus()}}if(P.key===gs){const X=te.current.querySelectorAll('[role="row"]');if(X.length){var ee;const J=X.item(X.length-1);(ee=$(J))===null||ee===void 0||ee.focus()}}}});return{...b1({role:"grid",as:"div",noNativeElements:!0,...a==="cell"&&q,...a==="composite"&&M,...e,onKeyDown:le,...b?ce.columnSizing_unstable.getTableProps(e):{}},Se(t,ce.tableRef,te)),focusMode:a,tableState:ce,selectableRows:!!l,subtleSelection:x,selectionAppearance:y,resizableColumns:b,compositeRowTabsterAttribute:H}},fI=(e,t)=>m.createElement($7,{value:t.dataGrid},y1(e,t)),pI={root:"fui-DataGrid"},vI=e=>(w1(e),e.root.className=R(pI.root,e.root.className),e);function gI(e){const t=k1(e),{tableState:o,focusMode:i,selectableRows:a,subtleSelection:l,selectionAppearance:c,resizableColumns:u,compositeRowTabsterAttribute:d}=e,p=m.useMemo(()=>({...o,focusMode:i,selectableRows:a,subtleSelection:l,selectionAppearance:c,resizableColumns:u,compositeRowTabsterAttribute:d}),[o,i,a,l,c,u,d]);return{...t,dataGrid:p}}const mI=m.forwardRef((e,t)=>{const o=dI(e,t);return vI(o),de("useDataGridStyles_unstable")(o),fI(o,gI(o))});mI.displayName="DataGrid";const hI=(e,t)=>x1({...e,as:"div"},t),bI=e=>B1(e),yI={root:"fui-DataGridHeader"},wI=e=>(S1(e),e.root.className=R(yI.root,e.root.className),e),kI=m.forwardRef((e,t)=>{const o=hI(e,t);return wI(o),de("useDataGridHeaderStyles_unstable")(o),bI(o)});kI.displayName="DataGridHeader";function xI(e){return e.compare.length>0}const BI=(e,t)=>{const o=C1(),{sortable:i}=lr(),a=Je(x=>x.sort.toggleColumnSort),l=Je(x=>{const y=!!x.columns.find(k=>k.columnId===o&&xI(k));return i?y:!1}),c=Je(x=>l?x.sort.getSortDirection(o):void 0),u=Je(x=>x.resizableColumns),d=Je(x=>x.columnSizing_unstable.getTableHeaderCellProps),{focusMode:p=l?"none":"cell"}=e,v=Nd({tabBehavior:"limited-trap-focus"}),h=K(x=>{var y;l&&a(x,o),(y=e.onClick)===null||y===void 0||y.call(e,x)});return z1({sortable:l,sortDirection:c,as:"div",tabIndex:p!=="none"?0:void 0,...p==="group"&&v,...u?d(o):{},...e,onClick:h},t)},SI=e=>_1(e),Xl={root:"fui-DataGridHeaderCell",button:"fui-DataGridHeaderCell__button",sortIcon:"fui-DataGridHeaderCell__sortIcon",aside:"fui-DataGridHeaderCell__aside"},zI=e=>(N1(e),e.root.className=R(Xl.root,e.root.className),e.button&&(e.button.className=R(Xl.button,e.button.className)),e.sortIcon&&(e.sortIcon.className=R(Xl.sortIcon,e.sortIcon.className)),e.aside&&(e.aside.className=R(Xl.aside,e.aside.className)),e),_I=m.forwardRef((e,t)=>{const o=BI(e,t);return zI(o),de("useDataGridHeaderCellStyles_unstable")(o),SI(o)});_I.displayName="DataGridHeaderCell";const Co=Symbol("#internalSet");let NI=Co;class Xt{static dangerouslyGetInternalSet(t){return t[Co]}static copy(t){return new Xt(new Set(t[Co]))}static from(t){return t===void 0?this.empty:t instanceof this?t:new this(new Set(t))}static[Symbol.hasInstance](t){return!!(typeof t=="object"&&t&&Co in t)}add(t){if(this.has(t))return this;const o=Xt.copy(this);return o[Co].add(t),o}delete(t){if(!this.has(t))return this;const o=Xt.copy(this);return o[Co].delete(t),o}has(t){return this[Co].has(t)}[Symbol.iterator](){return this[Co].values()}constructor(t){Fr(this,"size",void 0),Fr(this,NI,void 0),this[Co]=t,this.size=this[Co].size}}Fr(Xt,"empty",new Xt(new Set));function jI(e){return Xe({state:m.useMemo(()=>e.openItems&&Xt.from(e.openItems),[e.openItems]),defaultState:e.defaultOpenItems&&(()=>Xt.from(e.defaultOpenItems)),initialState:Xt.empty})}function E1(e,t){return e.open?t.add(e.value):t.delete(e.value)}const ho=Symbol("#internalMap");let CI=ho;class Ho{static dangerouslyGetInternalMap(t){return t[ho]}static copy(t){return this.from(t[ho])}static from(t,o){if(t===void 0)return this.empty;if(!o){if(t instanceof this)return t;const a=t;return new this(new Map(a))}const i=new Map;for(const a of t)i.set(...o(a));return new this(i)}static[Symbol.hasInstance](t){return!!(typeof t=="object"&&t&&ho in t)}delete(t){if(!this.has(t))return this;const o=Ho.copy(this);return o[ho].delete(t),o}get(t){return this[ho].get(t)}has(t){return this[ho].has(t)}set(t,o){if(this.get(t)===o)return this;const i=Ho.copy(this);return i[ho].set(t,o),i}[Symbol.iterator](){return this[ho].entries()}constructor(t){Fr(this,"size",void 0),Fr(this,CI,void 0),this[ho]=t,this.size=this[ho].size}}Fr(Ho,"empty",new Ho(new Map));const TI=e=>Array.isArray(e)?e:[e,!0],P1=e=>Ho.from(e,TI);function qI(e){return m.useMemo(()=>P1(e.checkedItems),[e.checkedItems])}function II(e,t){return e.selectionMode==="single"?Ho.from([[e.value,e.checked]]):e.selectionMode==="multiselect"?t.set(e.value,e.checked):t}const RI={level:0,contextType:"subtree"},ss=m.createContext(void 0),D1=()=>{var e;return(e=m.useContext(ss))!==null&&e!==void 0?e:RI},EI="--fluent-TreeItem--level",Ye={ArrowLeft:ai,ArrowRight:li,Enter:Eo,Click:"Click",ExpandIconClick:"ExpandIconClick",End:gs,Home:ms,ArrowUp:Qn,ArrowDown:ei,TypeAhead:"TypeAhead"};function PI(e,t){const{appearance:o="subtle",size:i="medium",selectionMode:a="none"}=e,l=m.useMemo(()=>Xt.from(e.openItems),[e.openItems]),c=m.useMemo(()=>P1(e.checkedItems),[e.checkedItems]),u=x=>{var y;(y=e.onOpenChange)===null||y===void 0||y.call(e,x.event,{...x,openItems:Xt.dangerouslyGetInternalSet(E1(x,l))})},d=x=>{var y;a!=="none"&&((y=e.onCheckedChange)===null||y===void 0||y.call(e,x.event,{...x,selectionMode:a,checkedItems:Ho.dangerouslyGetInternalMap(c)}))},p=x=>{var y;let k=!1;switch((y=e.onNavigation)===null||y===void 0||y.call(e,x.event,{...x,preventScroll:()=>{k=!0},isScrollPrevented:()=>k}),x.type){case Ye.ArrowDown:case Ye.ArrowUp:case Ye.Home:case Ye.End:x.event.preventDefault()}},v=K(x=>{switch(x.requestType){case"navigate":return p(x);case"open":return u(x);case"selection":return d(x)}});var h;return{components:{root:"div",collapseMotion:Mr},contextType:"root",selectionMode:a,navigationMode:(h=e.navigationMode)!==null&&h!==void 0?h:"tree",open:!0,appearance:o,size:i,level:1,openItems:l,checkedItems:c,requestTreeResponse:v,forceUpdateRovingTabIndex:()=>{},root:ie(ze("div",{ref:t,role:"tree","aria-multiselectable":a==="multiselect"?!0:void 0,...e}),{elementType:"div"}),collapseMotion:void 0}}const DI={level:0,contextType:"root",treeType:"nested",selectionMode:"none",openItems:Xt.empty,checkedItems:Ho.empty,requestTreeResponse:Xm,forceUpdateRovingTabIndex:Xm,appearance:"subtle",size:"medium",navigationMode:"tree"};function Xm(){}const F1=lo(void 0),yo=e=>Bo(F1,(t=DI)=>e(t)),FI="__fuiHeadlessTreeRoot",MI={value:FI,selectionRef:m.createRef(),layoutRef:m.createRef(),treeItemRef:m.createRef(),subtreeRef:m.createRef(),actionsRef:m.createRef(),expandIconRef:m.createRef(),isActionsVisible:!1,isAsideVisible:!1,itemType:"leaf",open:!1,checked:!1},M1=lo(void 0),{Provider:HI}=M1,Vt=e=>Bo(M1,(t=MI)=>e(t));function AI(e,t){const o=Vt(l=>l.subtreeRef),{level:i}=D1(),a=Vt(l=>l.open);return{contextType:"subtree",open:a,components:{root:"div",collapseMotion:Mr},level:i+1,root:ie(ze("div",{ref:Se(t,o),role:"group",...e}),{elementType:"div"}),collapseMotion:si(e.collapseMotion,{elementType:Mr,defaultProps:{visible:a,unmountOnExit:!0}})}}function OI(e,t){const o=t.toLowerCase(),i=l=>{var c;return((c=l.textContent)===null||c===void 0?void 0:c.trim().charAt(0).toLowerCase())===o?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};let a=e.nextElement(i);return a||(e.currentElement=e.root,a=e.nextElement(i)),a}const LI=e=>{let t=e.parentElement;for(;t&&t.getAttribute("role")!=="tree";)t=t.parentElement;return t};function VI(){const e=m.useRef(null),t=m.useRef(null),{targetDocument:o}=Ie();O2(c=>{if(c?.getAttribute("role")==="treeitem"&&t.current&&t.current.root.contains(c)){const u=LI(c);if(t.current.root!==u)return;a(c)}});const i=m.useCallback(c=>{t.current=c,c.currentElement=c.root;let u=c.firstChild(p=>p.tabIndex===0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP);if(c.currentElement=c.root,u??(u=c.firstChild()),!u)return;u.tabIndex=0,e.current=u;let d=null;for(;(d=c.nextElement())&&d!==u;)d.tabIndex=-1},[]),a=m.useCallback((c,u)=>{e.current&&(e.current.tabIndex=-1,c.tabIndex=0,c.focus(u),e.current=c)},[]),l=m.useCallback(()=>{(e.current===null||!o?.body.contains(e.current))&&t.current&&i(t.current)},[o,i]);return{rove:a,initialize:i,forceUpdate:l}}function WI(e,t,o=()=>NodeFilter.FILTER_ACCEPT){let i;const a=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(l){if(!it(l))return NodeFilter.FILTER_REJECT;const c=o(l);var u;return c===NodeFilter.FILTER_ACCEPT&&(u=i?.(l))!==null&&u!==void 0?u:c}});return{get root(){return a.root},get currentElement(){return a.currentNode},set currentElement(l){a.currentNode=l},firstChild:l=>{i=l;const c=a.firstChild();return i=void 0,c},lastChild:l=>{i=l;const c=a.lastChild();return i=void 0,c},nextElement:l=>{i=l;const c=a.nextNode();return i=void 0,c},nextSibling:l=>{i=l;const c=a.nextSibling();return i=void 0,c},parentElement:l=>{i=l;const c=a.parentNode();return i=void 0,c},previousElement:l=>{i=l;const c=a.previousNode();return i=void 0,c},previousSibling:l=>{i=l;const c=a.previousSibling();return i=void 0,c}}}const $I=e=>e.getAttribute("role")==="treeitem"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP;function GI(){const{targetDocument:e}=Ie(),t=m.useRef(void 0),o=m.useCallback(i=>{t.current=e&&i?WI(i,e,$I):void 0},[e]);return{walkerRef:t,rootRef:o}}const H1=m.memo(()=>{const e=Vt(i=>i.open),{dir:t}=Ie(),o=e?90:t!=="rtl"?0:180;return m.createElement(vk,{style:{...UI[o],transition:`transform ${wb.durationNormal}ms ${kb.curveEasyEaseMax}`}})});H1.displayName="TreeItemChevron";const UI={90:{transform:"rotate(90deg)"},0:{transform:"rotate(0deg)"},180:{transform:"rotate(180deg)"}},XI=(e,t)=>{const{main:o,iconAfter:i,iconBefore:a}=e,l=Vt(J=>J.layoutRef),c=yo(J=>J.selectionMode),u=yo(J=>{var Q;return(Q=J.navigationMode)!==null&&Q!==void 0?Q:"tree"}),[d,p]=Tr(e.actions)?[e.actions.visible,e.actions.onVisibilityChange]:[void 0,void 0],[v,h]=Xe({state:d,initialState:!1}),x=Vt(J=>J.selectionRef),y=Vt(J=>J.expandIconRef),k=Vt(J=>J.actionsRef),b=m.useRef(null),B=Vt(J=>J.treeItemRef),z=Vt(J=>J.subtreeRef),j=Vt(J=>J.checked),S=Vt(J=>J.itemType==="branch"),N=Tr(o)?o:void 0,q=Le("fui-TreeItemLayout__main-",N?.id),C=Tr(e.selector)?e.selector:void 0,M=C?.["aria-label"]||C?.["aria-labelledby"]?void 0:q,H=ve(e.selector,{renderByDefault:c!=="none",defaultProps:{checked:j,tabIndex:-1,ref:x,"aria-labelledby":M},elementType:c==="multiselect"?pa:ma}),W=ie(o,{defaultProps:{id:H?q:void 0},elementType:"div"}),ce=m.useCallback(J=>{if(!!!(z.current&&Nt(z.current,J.target))){if(p?.(J,{visible:!0,event:J,type:J.type}),J.defaultPrevented)return;h(!0)}},[z,h,p]),{targetDocument:te}=Ie(),Z=Gh(),$=m.useCallback(J=>{const Q=()=>!!(b.current&&Nt(b.current,J.relatedTarget)),A=()=>!!(B.current&&Nt(B.current,J.relatedTarget)),fe=()=>{var ae;return!!(!((ae=b.current)===null||ae===void 0)&&ae.contains(J.target))};if(Q()){if(p?.(J,{visible:!0,event:J,type:J.type}),J.defaultPrevented)return;h(!0);return}fe()&&A()||J.type==="mouseout"&&Z()&&(te?.activeElement===B.current||Nt(b.current,te?.activeElement))||(p?.(J,{visible:!1,event:J,type:J.type}),!J.defaultPrevented&&h(!1))},[h,p,B,Z,te]),le=Se(y),we=ve(e.expandIcon,{renderByDefault:S,defaultProps:{children:m.createElement(H1,null),"aria-hidden":!0,ref:le},elementType:"div"}),P=tr({circular:u==="tree",axis:"horizontal"}),Y=K(J=>{if(Tr(e.actions)){var Q,A;(Q=(A=e.actions).onBlur)===null||Q===void 0||Q.call(A,J)}const fe=!!Nt(J.currentTarget,J.relatedTarget);p?.(J,{visible:fe,event:J,type:J.type}),h(fe)}),F=Se(k,b),ee=v?ve(e.actions,{defaultProps:{...P,role:"toolbar",ref:F,onBlur:Y},elementType:"div"}):void 0,X=!!e.actions;return m.useEffect(()=>{if(B.current&&X){const J=B.current,Q=ce,A=$,fe=ce,ae=$;return J.addEventListener("mouseover",Q),J.addEventListener("mouseout",A),J.addEventListener("focus",fe),J.addEventListener("blur",ae),()=>{J.removeEventListener("mouseover",Q),J.removeEventListener("mouseout",A),J.removeEventListener("focus",fe),J.removeEventListener("blur",ae)}}},[X,B,ce,$]),{components:{root:"div",expandIcon:"div",iconBefore:"div",main:"div",iconAfter:"div",actions:"div",aside:"div",selector:c==="multiselect"?pa:ma},buttonContextValue:{size:"small"},root:ie(ze("div",{...e,ref:Se(t,l)}),{elementType:"div"}),iconBefore:ve(a,{elementType:"div"}),main:W,iconAfter:ve(i,{elementType:"div"}),aside:v?void 0:ve(e.aside,{elementType:"div"}),actions:ee,expandIcon:we,selector:H}},KI=e=>_e(e.root,{children:[e.expandIcon&&I(e.expandIcon,{}),e.selector&&I(e.selector,{}),e.iconBefore&&I(e.iconBefore,{}),I(e.main,{children:e.root.children}),e.iconAfter&&I(e.iconAfter,{}),_e(s0,{value:e.buttonContextValue,children:[e.actions&&I(e.actions,{}),e.aside&&I(e.aside,{})]})]}),To={root:"fui-TreeItemLayout",iconBefore:"fui-TreeItemLayout__iconBefore",main:"fui-TreeItemLayout__main",iconAfter:"fui-TreeItemLayout__iconAfter",expandIcon:"fui-TreeItemLayout__expandIcon",aside:"fui-TreeItemLayout__aside",actions:"fui-TreeItemLayout__actions",selector:"fui-TreeItemLayout__selector"},QI=me("ryb8khq",null,[".ryb8khq{display:flex;align-items:center;min-height:32px;box-sizing:border-box;grid-area:layout;}",".ryb8khq:hover{color:var(--colorNeutralForeground2Hover);background-color:var(--colorSubtleBackgroundHover);}",".ryb8khq:hover .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Hover);}",".ryb8khq:active{color:var(--colorNeutralForeground2Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".ryb8khq:active .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Pressed);}"]),YI=L({leaf:{uwmqm3:["f1k1erfc","faevyjx"]},branch:{uwmqm3:["fo100m9","f6yw3pu"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtle:{},"subtle-alpha":{Jwef8y:"f146ro5n",ecr2s2:"fkam630"},transparent:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",ecr2s2:"fophhak"}},{d:[".f1k1erfc{padding-left:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".faevyjx{padding-right:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".fo100m9{padding-left:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".f6yw3pu{padding-right:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1pha7fy{min-height:24px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f146ro5n:hover{background-color:var(--colorSubtleBackgroundLightAlphaHover);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}"],a:[".fkam630:active{background-color:var(--colorSubtleBackgroundLightAlphaPressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),JI=me("rzvs2in","r17h8a29",[".rzvs2in{display:flex;margin-left:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}",".r17h8a29{display:flex;margin-right:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}"]),ZI=me("r1825u21","rezy0yk",[".r1825u21{display:flex;margin-left:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}",".rezy0yk{display:flex;margin-right:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}"]),eR=me("rh4pu5o",null,[".rh4pu5o{display:flex;align-items:center;justify-content:center;min-width:24px;box-sizing:border-box;color:var(--colorNeutralForeground3);flex:0 0 auto;padding:var(--spacingVerticalXS) 0;}"]),tR=me("rklbe47",null,[".rklbe47{padding:0 var(--spacingHorizontalXXS);}"]),oR=me("rphzgg1",null,[".rphzgg1{display:flex;align-items:center;color:var(--colorNeutralForeground2);line-height:var(--lineHeightBase500);font-size:var(--fontSizeBase500);}"]),rR=L({medium:{z189sj:["f7x41pl","fruq291"]},small:{z189sj:["ffczdla","fgiv446"]}},{d:[".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}"]}),nR=L({medium:{uwmqm3:["fruq291","f7x41pl"]},small:{uwmqm3:["fgiv446","ffczdla"]}},{d:[".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}"]}),iR=e=>{const{main:t,iconAfter:o,iconBefore:i,expandIcon:a,root:l,aside:c,actions:u,selector:d}=e,p=YI(),v=QI(),h=JI(),x=ZI(),y=tR(),k=eR(),b=oR(),B=rR(),z=nR(),j=yo(q=>q.size),S=yo(q=>q.appearance),N=Vt(q=>q.itemType);return l.className=R(To.root,v,p[S],p[j],p[N],l.className),t.className=R(To.main,y,t.className),a&&(a.className=R(To.expandIcon,k,a.className)),i&&(i.className=R(To.iconBefore,b,B[j],i.className)),o&&(o.className=R(To.iconAfter,b,z[j],o.className)),u&&(u.className=R(To.actions,h,u.className)),c&&(c.className=R(To.aside,x,c.className)),d&&(d.className=R(To.selector,d.className)),e},aR=m.forwardRef((e,t)=>{const o=XI(e,t);return iR(o),de("useTreeItemLayoutStyles_unstable")(o),KI(o)});aR.displayName="TreeItemLayout";function lR(e="tree"){"use no memo";const{rove:t,initialize:o,forceUpdate:i}=VI(),{findFirstFocusable:a}=Ao(),{walkerRef:l,rootRef:c}=GI(),u=m.useCallback(v=>{v&&l.current&&o(l.current)},[l,o]),d=v=>{if(!l.current)return null;switch(v.type){case Ye.Click:return v.target;case Ye.TypeAhead:return l.current.currentElement=v.target,OI(l.current,v.event.key);case Ye.ArrowLeft:{const x=Km(v.target);return e==="treegrid"&&x?.contains(v.target.ownerDocument.activeElement)?v.target:(l.current.currentElement=v.target,l.current.parentElement())}case Ye.ArrowRight:if(e==="treegrid"){const x=Km(v.target);if(x){var h;(h=a(x))===null||h===void 0||h.focus()}return null}return l.current.currentElement=v.target,l.current.firstChild();case Ye.End:return l.current.currentElement=l.current.root,sR(l.current);case Ye.Home:return l.current.currentElement=l.current.root,l.current.firstChild();case Ye.ArrowDown:return l.current.currentElement=v.target,l.current.nextElement();case Ye.ArrowUp:return l.current.currentElement=v.target,l.current.previousElement()}};function p(v,h){const x=d(v);return x&&t(x,h),x}return{navigate:p,treeRef:Se(c,u),forceUpdateRovingTabIndex:i}}function sR(e){let t=null,o=null;for(;o=e.lastChild();)t=o;return t}const Km=e=>e.querySelector(`:scope > .${To.root} > .${To.actions}`),cR=(e,t)=>m.useContext(ss)===void 0?uR(e,t):dR(e,t);function uR(e,t){"use no memo";const[o,i]=jI(e),a=qI(e),l=lR(e.navigationMode);return Object.assign(PI({...e,openItems:o,checkedItems:a,onOpenChange:K((c,u)=>{var d;const p=E1(u,o);(d=e.onOpenChange)===null||d===void 0||d.call(e,c,{...u,openItems:Xt.dangerouslyGetInternalSet(p)}),i(p)}),onNavigation:K((c,u)=>{var d;(d=e.onNavigation)===null||d===void 0||d.call(e,c,u),c.isDefaultPrevented()||l.navigate(u,{preventScroll:u.isScrollPrevented()})}),onCheckedChange:K((c,u)=>{var d;const p=II(u,a);(d=e.onCheckedChange)===null||d===void 0||d.call(e,c,{...u,checkedItems:Ho.dangerouslyGetInternalMap(p)})})},Se(t,l.treeRef)),{treeType:"nested",forceUpdateRovingTabIndex:l.forceUpdateRovingTabIndex})}function dR(e,t){return AI(e,t)}function fR(e){if(e.contextType==="root"){const{openItems:t,level:o,contextType:i,treeType:a,checkedItems:l,selectionMode:c,navigationMode:u,appearance:d,size:p,requestTreeResponse:v,forceUpdateRovingTabIndex:h}=e;return{tree:m.useMemo(()=>({treeType:a,size:p,openItems:t,appearance:d,checkedItems:l,selectionMode:c,navigationMode:u,contextType:i,level:o,requestTreeResponse:v,forceUpdateRovingTabIndex:h}),[a,p,t,d,l,c,u,i,o,v,h])}}return{tree:m.useMemo(()=>({level:e.level,contextType:"subtree"}),[e.level])}}const pR={root:"fui-Tree"},vR=me("rnv2ez3",null,[".rnv2ez3{display:flex;flex-direction:column;row-gap:var(--spacingVerticalXXS);}"]),gR=L({subtree:{z8tnut:"fclwglc"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}"]}),mR=e=>{const t=vR(),o=gR(),i=e.level>1;return e.root.className=R(pR.root,t,i&&o.subtree,e.root.className),e},hR={level:1,contextType:"subtree"},A1=e=>e.value.contextType==="subtree"?m.createElement(ss.Provider,{value:e.value},e.children):m.createElement(F1.Provider,{value:e.value},m.createElement(ss.Provider,{value:hR},e.children));A1.displayName="TreeProvider";const bR=(e,t)=>I(A1,{value:t.tree,children:e.collapseMotion?I(e.collapseMotion,{children:I(e.root,{})}):I(e.root,{})}),yR=m.forwardRef((e,t)=>{const o=cR(e,t),i=fR(o);return mR(o),de("useTreeStyles_unstable")(o),bR(o,i)});yR.displayName="Tree";const wR="data-fui-tree-item-value";function kR(e,t){yo(P=>P.treeType);const o=yo(P=>P.requestTreeResponse),i=yo(P=>{var Y;return(Y=P.navigationMode)!==null&&Y!==void 0?Y:"tree"}),a=yo(P=>P.forceUpdateRovingTabIndex),{level:l}=D1(),c=Vt(P=>{var Y;return(Y=e.parentValue)!==null&&Y!==void 0?Y:P.value}),u=Le("fuiTreeItemValue-");var d;const p=(d=e.value)!==null&&d!==void 0?d:u,{onClick:v,onKeyDown:h,onChange:x,as:y="div",itemType:k="leaf","aria-level":b=l,"aria-selected":B,"aria-expanded":z,...j}=e,S=m.useRef(null),N=m.useRef(null),q=m.useRef(null),C=m.useRef(null),M=m.useRef(null),H=m.useRef(null);m.useEffect(()=>{a?.();const P=H.current;return()=>{P&&P.tabIndex===0&&a?.()}},[a]);const W=yo(P=>{var Y;return(Y=e.open)!==null&&Y!==void 0?Y:P.openItems.has(p)}),ce=()=>k==="branch"?!W:W,te=yo(P=>P.selectionMode),Z=yo(P=>{var Y;return(Y=P.checkedItems.get(p))!==null&&Y!==void 0?Y:!1}),$=K(P=>{var Y;const F=()=>S.current&&Nt(S.current,P.target),ee=()=>C.current&&Nt(C.current,P.target),X=()=>{var Q;return(Q=M.current)===null||Q===void 0?void 0:Q.contains(P.target)},J=(Y=N.current)===null||Y===void 0?void 0:Y.contains(P.target);F()||ee()||X()||(J||v?.(P),!P.isDefaultPrevented()&&Ar.unstable_batchedUpdates(()=>{const Q={event:P,value:p,open:ce(),target:P.currentTarget,type:J?Ye.ExpandIconClick:Ye.Click};if(k!=="leaf"){var A;(A=e.onOpenChange)===null||A===void 0||A.call(e,P,Q),o({...Q,itemType:k,requestType:"open"})}o({...Q,itemType:k,parentValue:c,requestType:"navigate",type:Ye.Click})}))}),le=K(P=>{if(h?.(P),P.isDefaultPrevented()||!H.current)return;const Y=P.currentTarget===P.target,F=S.current&&S.current.contains(P.target);switch(P.key){case $t:{if(!Y)return;if(te!=="none"){var ee;(ee=M.current)===null||ee===void 0||ee.click(),P.preventDefault()}return}case Ye.Enter:return Y?P.currentTarget.click():void 0;case Ye.End:case Ye.Home:case Ye.ArrowUp:return!Y&&!F?void 0:o({requestType:"navigate",event:P,value:p,itemType:k,parentValue:c,type:P.key,target:P.currentTarget});case Ye.ArrowDown:return!Y&&!F||F&&(!it(P.target)||P.target.hasAttribute("aria-haspopup"))?void 0:o({requestType:"navigate",event:P,value:p,itemType:k,parentValue:c,type:P.key,target:P.currentTarget});case Ye.ArrowLeft:{if(P.altKey)return;const A={value:p,event:P,open:ce(),type:P.key,itemType:k,parentValue:c,target:P.currentTarget};if(F&&i==="treegrid"){o({...A,requestType:"navigate"});return}if(!Y||b===1&&!W)return;if(W){var X;(X=e.onOpenChange)===null||X===void 0||X.call(e,P,A)}o({...A,requestType:W?"open":"navigate"});return}case Ye.ArrowRight:{if(!Y||P.altKey)return;const A={value:p,event:P,open:ce(),type:P.key,target:P.currentTarget};if(k==="branch"&&!W){var J;(J=e.onOpenChange)===null||J===void 0||J.call(e,P,A),o({...A,itemType:k,requestType:"open"})}else o({...A,itemType:k,parentValue:c,requestType:"navigate"});return}}if(!Y)return;P.key.length===1&&P.key.match(/\w/)&&!P.altKey&&!P.ctrlKey&&!P.metaKey&&o({requestType:"navigate",event:P,target:P.currentTarget,value:p,itemType:k,type:Ye.TypeAhead,parentValue:c})}),we=K(P=>{x?.(P),!(P.isDefaultPrevented()||C.current&&Nt(C.current,P.target))&&o({requestType:"selection",event:P,value:p,itemType:k,type:"Change",target:P.currentTarget,checked:Z==="mixed"?!0:!Z})});return{value:p,open:W,checked:Z,subtreeRef:C,layoutRef:q,selectionRef:M,expandIconRef:N,treeItemRef:H,actionsRef:S,itemType:k,level:b,components:{root:"div"},isAsideVisible:!1,isActionsVisible:!1,root:ie(ze(y,{tabIndex:-1,[wR]:p,role:"treeitem",...j,ref:Se(t,H),"aria-level":b,"aria-checked":te==="multiselect"?Z:void 0,"aria-selected":B!==void 0?B:te==="single"?!!Z:void 0,"aria-expanded":z!==void 0?z:k==="branch"?W:void 0,onClick:$,onKeyDown:le,onChange:we}),{elementType:"div"})}}const xR=(e,t)=>I(e.root,{children:I(HI,{value:t.treeItem,children:e.root.children})}),BR={root:"fui-TreeItem"},SR=me("r15xhw3a","r2f6k57",[".r15xhw3a{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-right:var(--spacingHorizontalNone);}",".r15xhw3a:focus{outline-style:none;}",".r15xhw3a:focus-visible{outline-style:none;}",".r15xhw3a[data-fui-focus-visible]>.fui-TreeItemLayout,.r15xhw3a[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}",".r2f6k57{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-left:var(--spacingHorizontalNone);}",".r2f6k57:focus{outline-style:none;}",".r2f6k57:focus-visible{outline-style:none;}",".r2f6k57[data-fui-focus-visible]>.fui-TreeItemLayout,.r2f6k57[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}"]),zR=L({level1:{iytv0q:"f10bgyvd"},level2:{iytv0q:"f1h0rod3"},level3:{iytv0q:"fgoqafk"},level4:{iytv0q:"f75dvuh"},level5:{iytv0q:"fqk7yw6"},level6:{iytv0q:"f1r3z17b"},level7:{iytv0q:"f1hrpd1h"},level8:{iytv0q:"f1iy65d0"},level9:{iytv0q:"ftg42e5"},level10:{iytv0q:"fyat3t"}},{d:[".f10bgyvd{--fluent-TreeItem--level:1;}",".f1h0rod3{--fluent-TreeItem--level:2;}",".fgoqafk{--fluent-TreeItem--level:3;}",".f75dvuh{--fluent-TreeItem--level:4;}",".fqk7yw6{--fluent-TreeItem--level:5;}",".f1r3z17b{--fluent-TreeItem--level:6;}",".f1hrpd1h{--fluent-TreeItem--level:7;}",".f1iy65d0{--fluent-TreeItem--level:8;}",".ftg42e5{--fluent-TreeItem--level:9;}",".fyat3t{--fluent-TreeItem--level:10;}"]}),_R=e=>{const t=SR(),o=zR(),{level:i}=e;return e.root.className=R(BR.root,t,Qm(i)&&o[`level${i}`],e.root.className),Qm(i)||(e.root.style={[EI]:i,...e.root.style}),e};function Qm(e){return e>=1&&e<=10}function NR(e){const{value:t,itemType:o,layoutRef:i,subtreeRef:a,open:l,expandIconRef:c,actionsRef:u,treeItemRef:d,isActionsVisible:p,isAsideVisible:v,selectionRef:h,checked:x}=e;return{treeItem:m.useMemo(()=>({value:t,checked:x,itemType:o,layoutRef:i,subtreeRef:a,open:l,selectionRef:h,isActionsVisible:p,isAsideVisible:v,actionsRef:u,treeItemRef:d,expandIconRef:c}),[t,x,o,i,a,l,h,p,v,u,d,c])}}const jR=m.forwardRef((e,t)=>{const o=kR(e,t);_R(o),de("useTreeItemStyles_unstable")(o);const i=NR(o);return xR(o,i)});jR.displayName="TreeItem";const O1=m.createContext(void 0),CR={handleTagDismiss:()=>({}),size:"medium",role:"toolbar",handleTagSelect:void 0},TR=O1.Provider,Ns=()=>{var e;return(e=m.useContext(O1))!==null&&e!==void 0?e:CR},qR={medium:28,small:20,"extra-small":16},IR={rounded:"square",circular:"circular"},RR=(e,t)=>{const{handleTagDismiss:o,disabled:i,dismissible:a,role:l}=Ns(),c=Le("fui-Tag",e.id),{disabled:u=!1,dismissible:d=a??!1,selected:p,value:v=c}=e,h=K(B=>{var z;(z=e.onClick)===null||z===void 0||z.call(e,B),B.defaultPrevented||o?.(B,{value:v})}),x=K(B=>{var z;e==null||(z=e.onKeyDown)===null||z===void 0||z.call(e,B),!B.defaultPrevented&&(B.key===mb||B.key===gb)&&o?.(B,{value:v})}),y=d?"button":"span",k=l==="listbox"?"aria-selected":"aria-pressed",b=typeof p=="boolean"||l==="listbox";return{disabled:i?!0:u,dismissible:d,selected:!!p,components:{root:y,media:"span",icon:"span",primaryText:"span",secondaryText:"span",dismissIcon:"span"},root:ie(ze(y,{ref:t,role:l==="listbox"?"option":void 0,[k]:b?p:void 0,...e,disabled:i?!0:u,id:c,...d&&{onClick:h,onKeyDown:x}}),{defaultProps:{type:y==="button"?"button":void 0},elementType:y}),media:ve(e.media,{elementType:"span"}),icon:ve(e.icon,{elementType:"span"}),primaryText:ve(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:ve(e.secondaryText,{elementType:"span"}),dismissIcon:ve(e.dismissIcon,{renderByDefault:d,elementType:"span"})}},ER=(e,t)=>{const{size:o,appearance:i}=Ns(),{appearance:a=i??"filled",shape:l="rounded",size:c=o}=e,u=RR(e,t);if(u.dismissIcon){var d,p;(p=(d=u.dismissIcon).children)!==null&&p!==void 0||(d.children=m.createElement(ba,null))}return{...u,appearance:a,avatarShape:IR[l],avatarSize:qR[c],shape:l,size:c}},PR=(e,t)=>_e(e.root,{children:[e.media&&I(Ad,{value:t.avatar,children:I(e.media,{})}),e.icon&&I(e.icon,{}),e.primaryText&&I(e.primaryText,{}),e.secondaryText&&I(e.secondaryText,{}),e.dismissIcon&&e.dismissible&&I(e.dismissIcon,{})]}),Kn={root:"fui-Tag",media:"fui-Tag__media",icon:"fui-Tag__icon",primaryText:"fui-Tag__primaryText",secondaryText:"fui-Tag__secondaryText",dismissIcon:"fui-Tag__dismissIcon"},DR=me("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);}}']}),FR=me("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);}}']}),MR=L({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)"}]]}),HR=L({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);}"]}),AR=L({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;}"]}),OR=L({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;}"]}),L1=L({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;}"]}),V1=L({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);}"]}),LR=L({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);}"]}),W1=L({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;}"]}),$1=me("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;}"]),VR=e=>{const t=DR(),o=FR(),i=MR(),a=HR(),l=AR(),c=OR(),u=L1(),d=V1(),p=LR(),v=W1(),h=$1(),{disabled:x,shape:y,size:k,appearance:b,selected:B}=e;return e.root.className=R(Kn.root,y==="rounded"?t:o,x?a[b]:i[b],B&&!x&&i.selected,i[k],!e.media&&!e.icon&&l[k],!e.dismissIcon&&c[k],e.root.className),e.media&&(e.media.className=R(Kn.media,d.base,d[k],e.media.className)),e.icon&&(e.icon.className=R(Kn.icon,u.base,u[k],e.icon.className)),e.primaryText&&(e.primaryText.className=R(Kn.primaryText,v.base,v[k],e.secondaryText?v.withSecondaryText:v.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=R(Kn.secondaryText,h,e.secondaryText.className)),e.dismissIcon&&(e.dismissIcon.className=R(Kn.dismissIcon,p.base,p[k],!x&&p[b],B&&!x&&p.selected,e.dismissIcon.className)),e};function G1(e){const{avatarSize:t,avatarShape:o}=e;return{avatar:m.useMemo(()=>({size:t,shape:o}),[o,t])}}const WR=m.forwardRef((e,t)=>{const o=ER(e,t);return VR(o),de("useTagStyles_unstable")(o),PR(o,G1(o))});WR.displayName="Tag";const $R=(e,t)=>{const{handleTagDismiss:o,handleTagSelect:i,disabled:a,selectedValues:l=[]}=Ns(),c=Le("fui-InteractionTag-",e.id),u=Le("fui-InteractionTagPrimary-"),{disabled:d=!1,selected:p=!1,value:v=c}=e;return{disabled:a?!0:d,handleTagDismiss:o,handleTagSelect:i,interactionTagPrimaryId:u,selected:l.includes(v)||p,selectedValues:l,value:v,components:{root:"div"},root:ie(ze("div",{ref:t,...e,disabled:a?!0:d,id:c}),{elementType:"div"})}},GR=(e,t)=>{const{size:o,appearance:i}=Ns(),{appearance:a=i??"filled",shape:l="rounded",size:c=o}=e;return{...$R(e,t),appearance:a,shape:l,size:c}},U1=m.createContext(void 0),UR={appearance:"filled",disabled:!1,handleTagDismiss:()=>({}),handleTagSelect:()=>({}),interactionTagPrimaryId:"",selected:!1,selectedValues:[],shape:"rounded",size:"medium",value:""},XR=U1.Provider,js=()=>{var e;return(e=m.useContext(U1))!==null&&e!==void 0?e:UR},KR=(e,t)=>I(XR,{value:t.interactionTag,children:I(e.root,{})}),QR={root:"fui-InteractionTag"},YR=me("r1y684pp",null,[".r1y684pp{display:inline-flex;align-items:center;box-sizing:border-box;width:fit-content;}"]),JR=L({rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},medium:{Bqenvij:"f1d2rq10"},small:{Bqenvij:"frvgh55"},"extra-small":{Bqenvij:"fjamq6b"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],".f1d2rq10{height:32px;}",".frvgh55{height:24px;}",".fjamq6b{height:20px;}"]}),ZR=e=>{const t=YR(),o=JR(),{shape:i,size:a}=e;return e.root.className=R(QR.root,t,o[i],o[a],e.root.className),e};function eE(e){const{appearance:t,disabled:o,handleTagDismiss:i,handleTagSelect:a,interactionTagPrimaryId:l,selected:c,selectedValues:u,shape:d,size:p,value:v}=e;return{interactionTag:m.useMemo(()=>({appearance:t,disabled:o,handleTagDismiss:i,handleTagSelect:a,interactionTagPrimaryId:l,selected:c,selectedValues:u,shape:d,size:p,value:v}),[t,o,i,a,l,c,u,d,p,v])}}const tE=m.forwardRef((e,t)=>{const o=GR(e,t);return ZR(o),de("useInteractionTagStyles_unstable")(o),KR(o,eE(o))});tE.displayName="InteractionTag";const oE={medium:28,small:20,"extra-small":16},rE={rounded:"square",circular:"circular"},nE=(e,t)=>{const{disabled:o,handleTagSelect:i,interactionTagPrimaryId:a,selected:l,selectedValues:c,value:u}=js(),{hasSecondaryAction:d=!1}=e,p=K(ye(e?.onClick,v=>i?.(v,{type:"click",event:v,value:u,selectedValues:c})));return{disabled:o,hasSecondaryAction:d,selected:l,components:{root:"button",media:"span",icon:"span",primaryText:"span",secondaryText:"span"},root:ie(ze("button",{ref:t,disabled:o,id:a,...i!==void 0&&{"aria-pressed":l},onClick:p,...e}),{elementType:"button"}),media:ve(e.media,{elementType:"span"}),icon:ve(e.icon,{elementType:"span"}),primaryText:ve(e.primaryText,{renderByDefault:!0,defaultProps:{children:e.children},elementType:"span"}),secondaryText:ve(e.secondaryText,{elementType:"span"})}},iE=(e,t)=>{const{appearance:o,shape:i,size:a}=js();return{...nE(e,t),appearance:o,avatarShape:rE[i],avatarSize:oE[a],shape:i,size:a}},aE=(e,t)=>_e(e.root,{children:[e.media&&I(Ad,{value:t.avatar,children:I(e.media,{})}),e.icon&&I(e.icon,{}),e.primaryText&&I(e.primaryText,{}),e.secondaryText&&I(e.secondaryText,{})]}),ia={root:"fui-InteractionTagPrimary",media:"fui-InteractionTagPrimary__media",icon:"fui-InteractionTagPrimary__icon",primaryText:"fui-InteractionTagPrimary__primaryText",secondaryText:"fui-InteractionTagPrimary__secondaryText"},lE=me("r22quyo","r1yd8tpa",{r:['.r22quyo{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r22quyo[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}",'.r1yd8tpa{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusMedium);}',".r1yd8tpa[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}"],s:['@media (forced-colors: active){.r22quyo{position:relative;}.r22quyo::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){.r1yd8tpa{position:relative;}.r1yd8tpa::before{content:"";border-top:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusMedium);border-top-left-radius:var(--borderRadiusMedium);}}']}),sE=me("r132q0f6","r15qe99u",{r:['.r132q0f6{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r132q0f6[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}",'.r15qe99u{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:inline-grid;height:100%;align-items:center;grid-template-areas:"media primary " "media secondary";border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-radius:var(--borderRadiusCircular);}',".r15qe99u[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);z-index:1;}"],s:['@media (forced-colors: active){.r132q0f6{position:relative;}.r132q0f6::before{content:"";border-top:var(--strokeWidthThin) solid;border-left:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-left-radius:var(--borderRadiusCircular);border-bottom-left-radius:var(--borderRadiusCircular);}}','@media (forced-colors: active){.r15qe99u{position:relative;}.r15qe99u::before{content:"";border-top:var(--strokeWidthThin) solid;border-right:var(--strokeWidthThin) solid;position:absolute;inset:-1px;border-top-right-radius:var(--borderRadiusCircular);border-bottom-right-radius:var(--borderRadiusCircular);}}']}),cE=L({withoutSecondaryAction:{Bvgf1ty:"f135udas",Cqojjj:0,dd5wkx:0,Bdzpf8n:0,ibz501:["f1i3lrd2","fbpt94e"],Bs8828g:["f14bn3u","fdhx3t9"],Bn0yx1x:["fu87gj3","f631p13"]}},{m:[["@media (forced-colors: active){.f135udas{position:relative;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i3lrd2::before{border-right:var(--strokeWidthThin) solid transparent;}.fbpt94e::before{border-left:var(--strokeWidthThin) solid transparent;}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bn3u::before{border-top-right-radius:var(--borderRadiusCircular);}.fdhx3t9::before{border-top-left-radius:var(--borderRadiusCircular);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f631p13::before{border-bottom-left-radius:var(--borderRadiusCircular);}.fu87gj3::before{border-bottom-right-radius:var(--borderRadiusCircular);}}",{m:"(forced-colors: active)"}]]}),uE=L({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",eoavqd:"f8491dx",Jwef8y:"f1h648pw",Bi91k9c:"fnwyq0v",ecr2s2:"fwdzr64",lj723h:"flvvhsy",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],eoavqd:"f8491dx",Jwef8y:"f1t94bn6",Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",I6i3kg:"fqbfmpb",Bmfj8id:"fuxngvv",ecr2s2:"f1wfn5kd",lj723h:"flvvhsy",Bnrwwps:"fvpl5sy",weioyw:"f1xblose",Bpre390:"f8upcvr",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0",eoavqd:"f8491dx",Jwef8y:"f1yj72w4",Bi91k9c:"f3ymbdj",ecr2s2:"fy3sl2y",lj723h:"fryz5bw",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},selected:{Bgh53k4:0,B2eet1l:0,De3pzq:0,Bcmaq0h:0,gk0gix:0,B20660r:0,B8a6bjv:0,Bpptf2m:0,e5kdtc:0,Bkjc3bi:0,ayd6f0:"f1tdnksq",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f1qpacp7","f1vfbj5f"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4",Jwef8y:"f15wkkf3",Bi91k9c:"f1rq72xc",I6i3kg:"f10jvnl4",Bbkh6qg:"f1tx4pjd",Bahaeuw:"fu37p9p",ecr2s2:"fsp1bjw",lj723h:"f18otbis",weioyw:"f3wpj5r",Cnge2b:"f16z8z4r",Boo3t63:"f7ydw7o"},medium:{z189sj:["f18k1jr3","f1rtp3s9"]},small:{z189sj:["fwiuce9","f15vdbe4"]},"extra-small":{z189sj:["fwiuce9","f15vdbe4"],qhf8xq:"f10pi13n",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);}",[".f1tdnksq{background:var(--colorBrandBackground);}",{p:-2}],".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);}",".f18k1jr3{padding-right:7px;}",".f1rtp3s9{padding-left:7px;}",".fwiuce9{padding-right:5px;}",".f15vdbe4{padding-left:5px;}",".f10pi13n{position:relative;}"],h:[".f8491dx:hover{cursor:pointer;}",".f1h648pw:hover{background-color:var(--colorNeutralBackground3Hover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fqbfmpb:hover .fui-Icon-filled{color:var(--colorNeutralForeground2BrandHover);}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".f1yj72w4:hover{background-color:var(--colorBrandBackground2Hover);}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f10jvnl4:hover .fui-Icon-filled{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fwdzr64:active{background-color:var(--colorNeutralBackground3Pressed);}",".flvvhsy:active{color:var(--colorNeutralForeground2Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".fvpl5sy:active .fui-Icon-filled{display:inline;}",".f1xblose:active .fui-Icon-filled{color:var(--colorNeutralForeground2BrandPressed);}",".f8upcvr:active .fui-Icon-regular{display:none;}",".fy3sl2y:active{background-color:var(--colorBrandBackground2Pressed);}",".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}",".f3wpj5r:active .fui-Icon-filled{color:var(--colorNeutralForegroundOnBrand);}"],m:[["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8zknr1:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@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: active){.f1tx4pjd:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu37p9p:hover{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16z8z4r:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f7ydw7o:active{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)"}]]}),dE=L({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);}"]}),fE=L({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;}"]}),pE=L({base:{B7oj6ja:["f3fg2lr","f13av6d4"],Bbmb7ep:["fzi6hpg","fyowgf4"],vrafjx:["f1n71otn","f1deefiw"],B6xbmo0:["f146y5a9","f1k2ftg"],kdpuga:["f1ndz5i7","f1co4qro"],Bs8828g:["fyvfifd","fbkbt8g"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},small:{z189sj:["fdw0yi8","fk8j09s"]},"extra-small":{z189sj:["fdw0yi8","fk8j09s"]}},{d:[".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}",".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}",".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}",".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f146y5a9[data-fui-focus-visible]{border-top-right-radius:var(--borderRadiusNone);}",".f1k2ftg[data-fui-focus-visible]{border-top-left-radius:var(--borderRadiusNone);}",".f1ndz5i7[data-fui-focus-visible]{border-bottom-right-radius:var(--borderRadiusNone);}",".f1co4qro[data-fui-focus-visible]{border-bottom-left-radius:var(--borderRadiusNone);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}"],m:[["@media (forced-colors: active){.fbkbt8g::before{border-top-left-radius:0;}.fyvfifd::before{border-top-right-radius:0;}}",{m:"(forced-colors: active)"}]]}),vE=e=>{const t=lE(),o=sE(),i=uE(),a=dE(),l=fE(),c=pE(),u=L1(),d=V1(),p=W1(),v=$1(),h=cE(),{disabled:x,shape:y,size:k,appearance:b,selected:B}=e;return e.root.className=R(ia.root,y==="rounded"?t:o,y==="circular"&&!e.hasSecondaryAction&&h.withoutSecondaryAction,x?a[b]:i[b],B&&!x&&i.selected,i[k],!e.media&&!e.icon&&l[k],e.hasSecondaryAction&&c.base,e.hasSecondaryAction&&c[k],e.root.className),e.media&&(e.media.className=R(ia.media,d.base,d[k],e.media.className)),e.icon&&(e.icon.className=R(ia.icon,u.base,u[k],e.icon.className)),e.primaryText&&(e.primaryText.className=R(ia.primaryText,p.base,p[k],e.secondaryText?p.withSecondaryText:p.withoutSecondaryText,e.primaryText.className)),e.secondaryText&&(e.secondaryText.className=R(ia.secondaryText,v,e.secondaryText.className)),e},gE=m.forwardRef((e,t)=>{const o=iE(e,t);return vE(o),de("useInteractionTagPrimaryStyles_unstable")(o),aE(o,G1(o))});gE.displayName="InteractionTagPrimary";const mE=(e,t)=>{const{disabled:o,handleTagDismiss:i,interactionTagPrimaryId:a,selected:l,value:c}=js(),u=Le("fui-InteractionTagSecondary-",e.id),d=K(v=>{var h;e==null||(h=e.onClick)===null||h===void 0||h.call(e,v),v.defaultPrevented||i?.(v,{value:c})}),p=K(v=>{var h;e==null||(h=e.onKeyDown)===null||h===void 0||h.call(e,v),!v.defaultPrevented&&(v.key===mb||v.key===gb)&&i?.(v,{value:c})});return{disabled:o,selected:l,components:{root:"button"},root:ie(ze("button",{type:"button",disabled:o,ref:t,"aria-labelledby":`${a} ${u}`,...e,id:u,onClick:d,onKeyDown:p}),{elementType:"button"})}},hE=(e,t)=>{var o;const{appearance:i,shape:a,size:l}=js(),c=mE(e,t);var u;return(u=(o=c.root).children)!==null&&u!==void 0||(o.children=m.createElement(ba,null)),{...c,appearance:i,shape:a,size:l}},bE=e=>I(e.root,{}),X1={root:"fui-InteractionTagSecondary"},yE=me("rxqbxwz","rdjx360",[".rxqbxwz{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:flex;height:100%;align-items:center;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-left-color:var(--colorNeutralStroke1);border-top-left-radius:var(--borderRadiusNone);border-bottom-left-radius:var(--borderRadiusNone);}",".rxqbxwz[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}",".rdjx360{color:inherit;font-family:inherit;padding:0px;border-style:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-align:unset;background-color:transparent;display:flex;height:100%;align-items:center;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);border-right-color:var(--colorNeutralStroke1);border-top-right-radius:var(--borderRadiusNone);border-bottom-right-radius:var(--borderRadiusNone);}",".rdjx360[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),wE=L({filled:{De3pzq:"f16xq7d1",sj55zd:"fkfq4zb",B4j52fo:"fre7gi1",Bn0qgzm:"fqdk4by",eoavqd:"f8491dx",Jwef8y:"f1h648pw",Bi91k9c:"f139oj5f",ecr2s2:"fwdzr64",lj723h:"f19au66r",kr9cjb:"fmvl6o9",u9orzk:"fb8cdra",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},outline:{De3pzq:"fhovq9v",sj55zd:"fkfq4zb",g2u3we:"fj3muxo",h3c5rm:["f1akhkt","f1lxtadh"],B9xav0g:"f1aperda",zhjwy3:["f1lxtadh","f1akhkt"],eoavqd:"f8491dx",Jwef8y:"f1t94bn6",Bi91k9c:"f139oj5f",ecr2s2:"f1wfn5kd",lj723h:"f19au66r",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},brand:{De3pzq:"f16xkysk",sj55zd:"faj9fo0",zhjwy3:["f1sl6hi9","f1c8dzaj"],B4j52fo:"fre7gi1",Bn0qgzm:"fqdk4by",eoavqd:"f8491dx",Jwef8y:"f1yj72w4",Bi91k9c:"f3ymbdj",ecr2s2:"fy3sl2y",lj723h:"fryz5bw",kr9cjb:"fmvl6o9",u9orzk:"fb8cdra",Bbkh6qg:"fkiggi6",Cnge2b:"f8zknr1"},selected:{Bgh53k4:0,B2eet1l:0,De3pzq:0,Bcmaq0h:0,gk0gix:0,B20660r:0,B8a6bjv:0,Bpptf2m:0,e5kdtc:0,Bkjc3bi:0,ayd6f0:"f1tdnksq",sj55zd:"f1phragk",g2u3we:"fk9qgl1",h3c5rm:["f1vfbj5f","f1qpacp7"],B9xav0g:"fdf0ba2",zhjwy3:["f4j9k2g","f1mg2euo"],B8gzw0y:"f1h3a8gf",By8wz76:"f1nz3ub2",B7iucu3:"fqc85l4",Jwef8y:"f15wkkf3",Bi91k9c:"f1rq72xc",Bbkh6qg:"f1tx4pjd",Bahaeuw:"fu37p9p",ecr2s2:"fsp1bjw",lj723h:"f18otbis",Cnge2b:"f16z8z4r",Boo3t63:"f7ydw7o"},rounded:{B7oj6ja:["f1jar5jt","fyu767a"],Bbmb7ep:["f1aa9q02","f16jpd5f"]},circular:{B7oj6ja:["f1djnp8u","f1s8kh49"],Bbmb7ep:["f8fbkgy","f1nfllo7"]},medium:{Be2twd7:"fe5j1ua",uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["fwiuce9","f15vdbe4"]},small:{Be2twd7:"f4ybsrx",uwmqm3:["f2lugmd","f6zblan"],z189sj:["f6zblan","f2lugmd"]},"extra-small":{Be2twd7:"f1ugzwwg",uwmqm3:["f15vdbe4","fwiuce9"],z189sj:["fwiuce9","f15vdbe4"],qhf8xq:"f10pi13n",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);}",".fre7gi1{border-top-width:0;}",".fqdk4by{border-bottom-width:0;}",".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);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",[".f1tdnksq{background:var(--colorBrandBackground);}",{p:-2}],".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);}",".f4j9k2g{border-left-color:var(--colorNeutralStrokeOnBrand2);}",".f1mg2euo{border-right-color:var(--colorNeutralStrokeOnBrand2);}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}",".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}",".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}",".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}",".fe5j1ua{font-size:20px;}",".f15vdbe4{padding-left:5px;}",".fwiuce9{padding-right:5px;}",".f4ybsrx{font-size:16px;}",".f2lugmd{padding-left:3px;}",".f6zblan{padding-right:3px;}",".f1ugzwwg{font-size:12px;}",".f10pi13n{position:relative;}"],h:[".f8491dx:hover{cursor:pointer;}",".f1h648pw:hover{background-color:var(--colorNeutralBackground3Hover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".f1yj72w4:hover{background-color:var(--colorBrandBackground2Hover);}",".f3ymbdj:hover{color:var(--colorCompoundBrandForeground1Hover);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}"],a:[".fwdzr64:active{background-color:var(--colorNeutralBackground3Pressed);}",".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".fy3sl2y:active{background-color:var(--colorBrandBackground2Pressed);}",".fryz5bw:active{color:var(--colorCompoundBrandForeground1Pressed);}",".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}",".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}"],m:[["@media (forced-colors: active){.fmvl6o9{border-top-width:var(--strokeWidthThin);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb8cdra{border-bottom-width:var(--strokeWidthThin);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8zknr1:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@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: active){.f1tx4pjd:hover{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fu37p9p:hover{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f16z8z4r:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f7ydw7o:active{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)"}]]}),kE=L({filled:{Bceei9c:"fdrzuqr",De3pzq:"f1bg9a2p",sj55zd:"f1s2aq7o",g2u3we:"fgig46g",h3c5rm:["f1mxt3zg","fziff3p"],B9xav0g:"f250w3l",zhjwy3:["fy0fskl","f15xbau"]},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:["fy0fskl","f15xbau"]}},{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);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"]}),xE=e=>{const t=yE(),o=wE(),i=kE(),{disabled:a,selected:l,shape:c,size:u,appearance:d}=e;return e.root.className=R(X1.root,t,a?i[d]:o[d],o[c],o[u],l&&!a&&o.selected,e.root.className),e},BE=m.forwardRef((e,t)=>{const o=hE(e,t);return xE(o),de("useInteractionTagSecondaryStyles_unstable")(o),bE(o)});BE.displayName="InteractionTagSecondary";const SE=(e,t)=>{const{onDismiss:o,disabled:i=!1,defaultSelectedValues:a,dismissible:l=!1,role:c="toolbar",onTagSelect:u,selectedValues:d,...p}=e,[v,h]=Xe({defaultState:a,state:d,initialState:[]}),x=K((k,b)=>{o?.(k,b)}),y=K(ye(u,(k,b)=>{v.includes(b.value)?h(v.filter(B=>B!==b.value)):h([...v,b.value])}));return{handleTagDismiss:x,handleTagSelect:u?y:void 0,selectedValues:v,role:c,disabled:i,dismissible:l,components:{root:"div"},root:ie(ze("div",{ref:t,role:c,"aria-disabled":i,...p}),{elementType:"div"})}},zE=(e,t)=>{const{size:o="medium",appearance:i="filled"}=e,{targetDocument:a}=Ie(),{findNextFocusable:l,findPrevFocusable:c}=Ao(),u=tr({circular:!0,axis:"both",memorizeCurrent:!0}),d=m.useRef(null),p=Se(t,d),v=K((h,x)=>{var y;(y=e.onDismiss)===null||y===void 0||y.call(e,h,x);const k=d.current,b=a?.activeElement;if(k?.contains(b)){const B=l(b,{container:k});if(B){B.focus();return}if(b?.className.includes(X1.root)){const z=c(b.parentElement,{container:k});z?.focus()}else{const z=c(b,{container:k});z?.focus()}}});return{...SE({...u,...e,onDismiss:v},p),size:o,appearance:i}},_E=(e,t)=>I(TR,{value:t.tagGroup,children:I(e.root,{})}),NE={root:"fui-TagGroup"},jE=L({base:{mc9l5x:"ftuwxu6"},medium:{i8kkvl:"fsnqrgy"},small:{i8kkvl:"f1rjii52"},"extra-small":{i8kkvl:"f1ufnopg"}},{d:[".ftuwxu6{display:inline-flex;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}"]}),CE=e=>{const t=jE(),{size:o}=e;return e.root.className=R(NE.root,t.base,t[o],e.root.className),e};function TE(e){const{handleTagDismiss:t,handleTagSelect:o,selectedValues:i,size:a,disabled:l,appearance:c,dismissible:u,role:d}=e;return{tagGroup:m.useMemo(()=>({handleTagDismiss:t,handleTagSelect:o,selectedValues:i,size:a,disabled:l,appearance:c,dismissible:u,role:d}),[t,o,i,a,l,c,u,d])}}const qE=m.forwardRef((e,t)=>{const o=zE(e,t);return CE(o),de("useTagGroupStyles_unstable")(o),_E(o,TE(o))});qE.displayName="TagGroup";function IE(e){switch(e){case"info":return m.createElement(bk,null);case"warning":return m.createElement(hk,null);case"error":return m.createElement(mk,null);case"success":return m.createElement(gk,null);default:return null}}function RE(e=!1){const{targetDocument:t}=Ie(),o=m.useReducer(()=>({}),{})[1],i=m.useRef(!1),a=m.useRef(null),l=m.useRef(Number.POSITIVE_INFINITY),c=m.useCallback(d=>{var p,v;const h=d[0];var x;const y=(x=h==null||(v=h.borderBoxSize)===null||v===void 0||(p=v[0])===null||p===void 0?void 0:p.inlineSize)!==null&&x!==void 0?x:h?.target.getBoundingClientRect().width;if(y===void 0||!h)return;const{target:k}=h;if(!it(k))return;let b;if(i.current)y>=l.current&&(b=!1);else{const B=k.scrollWidth;y<B&&(b=!0,l.current=B)}typeof b<"u"&&i.current!==b&&(i.current=b,o())},[o]),u=m.useCallback(d=>{var p;if(!e||!d||!t?.defaultView)return;(p=a.current)===null||p===void 0||p.disconnect();const v=t.defaultView,h=new v.ResizeObserver(c);a.current=h,h.observe(d,{box:"border-box"})},[t,c,e]);return m.useEffect(()=>()=>{var d;(d=a.current)===null||d===void 0||d.disconnect()},[]),{ref:u,reflowing:i.current}}const K1=m.createContext(void 0),EE={className:"",nodeRef:m.createRef()};K1.Provider;const PE=()=>{var e;return(e=m.useContext(K1))!==null&&e!==void 0?e:EE},DE=(e,t)=>{const{layout:o="auto",intent:i="info",politeness:a}=e,l=a??i==="info"?"polite":"assertive",c=o==="auto",{ref:u,reflowing:d}=RE(c),p=c?d?"multiline":"singleline":o,{className:v,nodeRef:h}=PE(),x=m.useRef(null),y=m.useRef(null),{announce:k}=bx(),b=Le();return m.useEffect(()=>{var B,z;const j=(B=y.current)===null||B===void 0?void 0:B.textContent,S=(z=x.current)===null||z===void 0?void 0:z.textContent,N=[j,S].filter(Boolean).join(",");k(N,{polite:l==="polite",alert:l==="assertive"})},[y,x,k,l]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:ie(ze("div",{ref:Se(t,u,h),role:"group","aria-labelledby":b,...e}),{elementType:"div"}),icon:ve(e.icon,{renderByDefault:!0,elementType:"div"}),bottomReflowSpacer:ve(e.bottomReflowSpacer,{renderByDefault:p==="multiline",elementType:"div"}),layout:p,intent:i,transitionClassName:v,actionsRef:x,bodyRef:y,titleId:b}},FE=(e,t)=>{const{shape:o="rounded",...i}=e,a=hs(),l=DE(i,Se(t,a));return{...l,shape:o,icon:ve(e.icon,{defaultProps:{children:IE(l.intent)},renderByDefault:!0,elementType:"div"})}},Q1=m.createContext(void 0),ME={titleId:"",layout:"singleline",actionsRef:m.createRef(),bodyRef:m.createRef()},HE=Q1.Provider,pf=()=>{var e;return(e=m.useContext(Q1))!==null&&e!==void 0?e:ME},AE=(e,t)=>I(HE,{value:t.messageBar,children:_e(e.root,{children:[e.icon&&I(e.icon,{}),e.root.children,e.bottomReflowSpacer&&I(e.bottomReflowSpacer,{})]})}),Gu={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},OE=me("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);}']),LE=me("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;}"]),VE=me("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),WE=L({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}]]}),$E=L({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),GE=L({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);}"]}),UE=e=>{const t=OE(),o=LE(),i=$E(),a=GE(),l=VE(),c=WE();return e.root.className=R(Gu.root,t,e.layout==="multiline"&&c.rootMultiline,e.shape==="square"&&c.square,a[e.intent],e.root.className),e.icon&&(e.icon.className=R(Gu.icon,o,i[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=R(Gu.bottomReflowSpacer,l)),e};function XE(e){const{layout:t,actionsRef:o,bodyRef:i,titleId:a}=e;return{messageBar:m.useMemo(()=>({layout:t,actionsRef:o,bodyRef:i,titleId:a}),[t,o,i,a])}}const KE=m.forwardRef((e,t)=>{const o=FE(e,t);return UE(o),de("useMessageBarStyles_unstable")(o),AE(o,XE(o))});KE.displayName="MessageBar";const QE=(e,t)=>{const{titleId:o}=pf();return{components:{root:"span"},root:ie(ze("span",{ref:t,id:o,...e}),{elementType:"span"})}},YE=e=>I(e.root,{}),JE={root:"fui-MessageBarTitle"},ZE=me("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),eP=e=>{const t=ZE();return e.root.className=R(JE.root,t,e.root.className),e},tP=m.forwardRef((e,t)=>{const o=QE(e,t);return eP(o),de("useMessageBarTitleStyles_unstable")(o),YE(o)});tP.displayName="MessageBarTitle";const oP=(e,t)=>{const{layout:o="singleline",actionsRef:i}=pf();return{components:{root:"div",containerAction:"div"},containerAction:ve(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:ie(ze("div",{ref:Se(t,i),...e}),{elementType:"div"}),layout:o,hasActions:!!e.children}},rP=(e,t)=>_e(s0,{value:t.button,children:[e.layout==="multiline"&&e.containerAction&&I(e.containerAction,{},"containerAction"),I(e.root,{}),e.layout!=="multiline"&&e.containerAction&&I(e.containerAction,{},"containerAction")]}),Ym={root:"fui-MessageBarActions",containerAction:"fui-MessageBarActions__containerAction"},nP=me("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);}"]),iP=me("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),aP=L({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;}"]}),lP=e=>{const t=nP(),o=iP(),i=aP();return e.root.className=R(Ym.root,t,e.layout==="multiline"&&i.root,!e.hasActions&&i.noActions,e.root.className),e.containerAction&&(e.containerAction.className=R(Ym.containerAction,o,e.containerAction.className)),e};function sP(){return{button:m.useMemo(()=>({size:"small"}),[])}}const cP=m.forwardRef((e,t)=>{const o=oP(e,t);return lP(o),de("useMessageBarActionsStyles_unstable")(o),rP(o,sP())});cP.displayName="MessageBarActions";const uP=(e,t)=>{const{bodyRef:o}=pf();return{components:{root:"div"},root:ie(ze("div",{ref:Se(t,o),...e}),{elementType:"div"})}},dP=(e,t)=>I(QN,{value:t.link,children:I(e.root,{})}),fP={root:"fui-MessageBarBody"},pP=me("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);}"]),vP=e=>{const t=pP();return e.root.className=R(fP.root,t,e.root.className),e};function gP(e){return{link:m.useMemo(()=>({inline:!0}),[])}}const mP=m.forwardRef((e,t)=>{const o=uP(e,t),i=gP();return vP(o),de("useMessageBarBodyStyles_unstable")(o),dP(o,i)});mP.displayName="MessageBarBody";const hP=(e,t)=>{var o;const i=m.Children.map((o=e.children)!==null&&o!==void 0?o:[],l=>m.isValidElement(l)&&l.type!==m.Fragment?l:null).filter(Boolean);var a;return{components:{root:"div"},root:ie(ze("div",{ref:t,...e}),{elementType:"div"}),children:i,animate:(a=e.animate)!==null&&a!==void 0?a:"exit-only",enterStyles:"",exitStyles:""}},bP=Lo(({animate:e})=>{const t=qe.durationGentle;return{enter:e==="both"?[ao({direction:"enter",duration:t}),Hd({direction:"enter",outY:"-100%",duration:t})]:[],exit:ao({direction:"exit",duration:t})}}),yP=e=>I(e.root,{children:I(Ez,{children:e.children.map(t=>I(bP,{animate:e.animate,unmountOnExit:!0,children:I(_a,{children:t})},t.key))})}),wP={root:"fui-MessageBarGroup"},kP=e=>(e.root.className=R(wP.root,e.root.className),e),xP=m.forwardRef((e,t)=>{const o=hP(e,t);return kP(o),de("useMessageBarGroupStyles_unstable")(o),yP(o)});xP.displayName="MessageBarGroup";const BP=e=>_e(e.root,{children:[I(e.label,{}),e.infoButton&&I(e.infoButton,{})]}),SP=e=>_e(e.popover,{children:[I(Xd,{children:I(e.root,{})}),I(e.info,{})]}),zP=ya(Sk,Bk),_P=ya(xk,kk),NP=ya(wk,yk),jP={small:m.createElement(zP,null),medium:m.createElement(_P,null),large:m.createElement(NP,null)},CP={small:"small",medium:"small",large:"medium"},TP=(e,t)=>{const{size:o="medium",inline:i=!0,popover:a,info:l,...c}=e,u=Se(t),d={inline:i,size:o,components:{root:"button",popover:cd,info:sd},root:ie(ze("button",{children:jP[o],type:"button","aria-label":"information",...c,ref:u}),{elementType:"button"}),popover:ie(a,{defaultProps:{inline:i,positioning:"above-start",size:CP[o],withArrow:!0},elementType:cd}),info:ie(l,{defaultProps:{role:"note",tabIndex:-1},elementType:sd})},[p,v]=Xe({state:d.popover.open,defaultState:d.popover.defaultOpen,initialState:!1});d.popover.open=p,d.popover.onOpenChange=ye(d.popover.onOpenChange,(y,k)=>v(k.open));const h=Se(d.info.ref);d.info.ref=h;const x=y=>{const k=y.relatedTarget;k&&u.current!==k&&!Nt(h.current,k)&&v(!1)};return d.root.onBlur=K(ye(d.root.onBlur,x)),d.info.onBlurCapture=K(ye(d.info.onBlurCapture,x)),d},Jm={root:"fui-InfoButton",info:"fui-InfoButton__info"},qP=L({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Brf1p80:"f4d9j23",w71qe1:"f1iuv45f",ha4doy:"fmrv4ls",qhf8xq:"f10pi13n",De3pzq:"f1c21dwh",sj55zd:"fkfq4zb",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"],Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f16d74zd",D0sxk3:"f16u1re",t6yez3:"f1rw4040",Jwef8y:"fjxutwb",Bi91k9c:"f139oj5f",eoavqd:"f8491dx",Bk3fhr4:"f1jpd6y0",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",B2d53fq:"f1fg1p5m"},selected:{De3pzq:"f1q9pm1r",sj55zd:"f1qj7y59",D0sxk3:"fgzdkf0",t6yez3:"f15q0o9g",By8wz76:"f1nz3ub2",B7iucu3:"f1205bnn"},highContrast:{B7iucu3:"fslfhp6",Bfsdueo:"f11s1vgy",pb71ee:"f12b7wpn",ik86qs:"f1u668rv"},focusIndicator:{Brovlpu:"ftqa4ok",B486eqv:"f2hkw1w",B8q5s1w:"f8hki3x",Bci5o5g:["f1d2448m","ffh67wi"],n8qw10:"f1bjia2o",Bdrgwmp:["ffh67wi","f1d2448m"],Bqhya38:"f1j6vpng",Bwxa6fj:["f1pniga2","f1ffjurs"],Bdhvstf:"f987i1v",B7zbvrb:["f1ffjurs","f1pniga2"],Bm4h7ae:"f15bsgw9",B7ys5i9:"f14e48fq",Busjfv9:"f18yb2kv",Bhk32uz:"fd6o370",f6g5ot:0,Boxcth7:0,Bhdgwq3:0,hgwjuy:0,Bshpdp8:0,Bsom6fd:0,Blkhhs4:0,Bonggc9:0,Ddfuxk:0,i03rao:0,kclons:0,clg4pj:0,Bpqj9nj:0,B6dhp37:0,Bf4ptjt:0,Bqtpl0w:0,i4rwgc:"ffwy5si",Dah5zi:0,B1tsrr9:0,qqdqy8:0,Bkh64rk:0,e3fwne:"f3znvyf",J0r882:"f57olzd",Bule8hv:["f4stah7","fs1por5"],Bjwuhne:"f480a47",Ghsupd:["fs1por5","f4stah7"]},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1kx978o"}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f4d9j23{justify-content:center;}",".f1iuv45f{text-decoration-line:none;}",".fmrv4ls{vertical-align:middle;}",".f10pi13n{position:relative;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1s184ao{margin:0;}",{p:-1}],[".f16d74zd{padding:var(--spacingVerticalXS) var(--spacingHorizontalXS);}",{p:-1}],".f16u1re .fui-Icon-filled{display:none;}",".f1rw4040 .fui-Icon-regular{display:inline-flex;}",".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}",".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}",".fgzdkf0 .fui-Icon-filled{display:inline-flex;}",".f15q0o9g .fui-Icon-regular{display:none;}",".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}",".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}",".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}",".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}",'.f15bsgw9[data-fui-focus-visible]::after{content:"";}',".f14e48fq[data-fui-focus-visible]::after{position:absolute;}",".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}",".fd6o370[data-fui-focus-visible]::after{z-index:1;}",[".ffwy5si[data-fui-focus-visible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f57olzd[data-fui-focus-visible]::after{top:calc(2px * -1);}",".f4stah7[data-fui-focus-visible]::after{right:calc(2px * -1);}",".fs1por5[data-fui-focus-visible]::after{left:calc(2px * -1);}",".f480a47[data-fui-focus-visible]::after{bottom:calc(2px * -1);}",[".f1kx978o{padding:var(--spacingVerticalXXS) var(--spacingVerticalXXS);}",{p:-1}]],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f8491dx:hover{cursor:pointer;}",".f1jpd6y0:hover .fui-Icon-filled{display:inline-flex;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1205bnn{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fslfhp6{color:CanvasText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f11s1vgy:hover,.f11s1vgy:hover:active{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12b7wpn:hover,.f12b7wpn:hover:active{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1u668rv:hover,.f1u668rv:hover:active{color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6vpng[data-fui-focus-visible]::after{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ffjurs[data-fui-focus-visible]::after{border-left-color:Highlight;}.f1pniga2[data-fui-focus-visible]::after{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f987i1v[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}]],f:[".ftqa4ok:focus{outline-style:none;}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"]}),IP=L({base:{B2u0y6b:"f1qmtlvf"},smallMedium:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f1qmtlvf{max-width:264px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),RP=e=>{const{size:t}=e,{open:o}=e.popover,i=qP(),a=IP();return e.info.className=R(Jm.info,a.base,t==="large"?a.large:a.smallMedium,e.info.className),e.root.className=R(Jm.root,i.base,i.highContrast,i.focusIndicator,o&&i.selected,t==="large"&&i.large,e.root.className),e},bd=m.forwardRef((e,t)=>{const o=TP(e,t);return RP(o),de("useInfoButtonStyles_unstable")(o),SP(o)});bd.displayName="InfoButton";const EP=(e,t)=>{const{root:o,label:i,infoButton:a,info:l,size:c,className:u,style:d,...p}=e,v=Le("infolabel-"),[h,x]=m.useState(!1),y=ie(o,{defaultProps:{className:u,style:d},elementType:"span"}),k=ie(i,{defaultProps:{id:v+"__label",ref:t,size:c,...p},elementType:Kt}),b=ve(a,{renderByDefault:!!l,defaultProps:{id:v+"__infoButton",size:c,info:l},elementType:bd}),B=ie(b?.popover,{elementType:"div"});if(B.onOpenChange=K(ye(B.onOpenChange,(H,W)=>{x(W.open)})),b){var z,j;b.popover=B;const H=v+"__info";b.info=ve(b?.info,{defaultProps:{id:H,"aria-labelledby":H},elementType:"div"});var S;if((S=(z=b)[j="aria-labelledby"])!==null&&S!==void 0||(z[j]=`${k.id} ${b.id}`),h){var N,q,C,M;(M=(q=y)[C="aria-owns"])!==null&&M!==void 0||(q[C]=(N=b.info)===null||N===void 0?void 0:N.id)}}return{size:c,components:{root:"span",label:Kt,infoButton:bd},root:y,label:k,infoButton:b}},Uu={root:"fui-InfoLabel",label:"fui-InfoLabel__label",infoButton:"fui-InfoLabel__infoButton"},PP=L({base:{ha4doy:"f12kltsn",Bceei9c:"fpo1scq",sj55zd:"f1ym3bx4"}},{d:[".f12kltsn{vertical-align:top;}",".fpo1scq{cursor:inherit;}",".f1ym3bx4{color:inherit;}"]}),DP=L({base:{ha4doy:"f12kltsn",B6of3ja:"f1bmzb36",jrapky:"f1nyzk09"},large:{B6of3ja:"fkrn0sh",jrapky:"fmxx68s"}},{d:[".f12kltsn{vertical-align:top;}",".f1bmzb36{margin-top:calc(0px - var(--spacingVerticalXXS));}",".f1nyzk09{margin-bottom:calc(0px - var(--spacingVerticalXXS));}",".fkrn0sh{margin-top:-1px;}",".fmxx68s{margin-bottom:-1px;}"]}),FP=e=>{e.root.className=R(Uu.root,e.root.className);const t=PP();e.label.className=R(Uu.label,t.base,e.label.className);const o=DP();return e.infoButton&&(e.infoButton.className=R(Uu.infoButton,o.base,e.size==="large"&&o.large,e.infoButton.className)),e},MP=m.forwardRef((e,t)=>{const o=EP(e,t);return FP(o),de("useInfoLabelStyles_unstable")(o),BP(o)});MP.displayName="InfoLabel";const HP={scrollState:"none",setScrollState:()=>({})},Y1=m.createContext(void 0),AP=Y1.Provider,vf=()=>{var e;return(e=m.useContext(Y1))!==null&&e!==void 0?e:HP},OP=()=>{const[e,t]=m.useState("none");return{setScrollState:t,scrollState:e}};function LP(e){return it(e)?{element:e}:typeof e=="object"?e===null?{element:null}:e:{}}const J1={drawerSizeVar:"--fui-Drawer--size"},VP=L({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;}"]}),WP=L({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%;}"]}),$P=({position:e,size:t})=>{const o=VP(),i=WP();return R(o[e],e==="bottom"&&i[t],e!=="bottom"&&o[t])},gf={small:qe.durationGentle,medium:qe.durationSlow,large:qe.durationSlower,full:qe.durationUltraSlow};function Z1(e,t,o){const i=`translate3d(var(${t}), 0, 0)`,a=`translate3d(calc(var(${t}) * -1), 0, 0)`,l=`translate3d(0, var(${t}), 0)`;return e==="start"?o==="ltr"?a:i:e==="end"?o==="ltr"?i:a:e==="bottom"?l:"translate3d(0, 0, 0)"}Lo(({position:e,size:t,dir:o})=>{const i=[{transform:Z1(e,J1.drawerSizeVar,o),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],a=gf[t];return{enter:{keyframes:i,duration:a,easing:qe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:a,easing:qe.curveAccelerateMin}}});const GP=Lo(({position:e,size:t,dir:o})=>{const i=[{transform:Z1(e,J1.drawerSizeVar,o),boxShadow:`0px ${Dg.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:Dg.shadow64,opacity:1}],a=gf[t];return{enter:{keyframes:i,duration:a,easing:qe.curveDecelerateMid},exit:{keyframes:[...i].reverse(),duration:a,easing:qe.curveAccelerateMin}}}),UP=Lo(({size:e})=>{const t=gf[e],o=qe.curveLinear;return{enter:ao({direction:"enter",duration:t,easing:o}),exit:ao({direction:"exit",duration:t,easing:o})}});function XP(e){const{open:t=!1,size:o="small",position:i="start",unmountOnClose:a=!0}=e;return{size:o,position:i,open:t,unmountOnClose:a}}const KP=me("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),QP=L({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),YP=e=>{const{treatBackdropAsNested:t,backdrop:o,open:i,unmountOnClose:a}=e,l=KP(),c=QP(),u=!a&&!i;return o&&(o.className=R(l,t&&c.nested,u&&c.drawerHidden,o.className)),e},yd=m.forwardRef((e,t)=>{const o=Z0({...e,as:e.as},t),i=r1();return YP(o),de("useOverlayDrawerSurfaceStyles_unstable")(o),o1(o,i)});yd.displayName="OverlayDrawerSurface";function Zm(e,t,o){return e===null?null:{...e,children:(i,a)=>e?.children?e.children(t,{...a,...o}):m.createElement(t,{...a,...o},a.children)}}const JP={active:!0,canRender:!0,ref:m.createRef(),type:"idle"},ZP=(e,t)=>{const{open:o,size:i,position:a,unmountOnClose:l}=XP(e),{modalType:c="modal",inertTrapFocus:u,onOpenChange:d,backdropMotion:p,surfaceMotion:v,mountNode:h}=e,{dir:x,targetDocument:y}=Ie(),{element:k}=LP(h),b=!!(k&&y?.body!==k),B=xd(e.backdrop),j=ie({...e,ref:t,unmountOnClose:l,backdrop:c!=="non-modal"&&B!==null?{...B}:null,backdropMotion:Zm(p,UP,{size:i})},{elementType:yd}),S=ie({open:o,onOpenChange:d,inertTrapFocus:u,modalType:c,unmountOnClose:l,surfaceMotion:Zm(v,GP,{position:a,size:i,dir:x}),children:null},{elementType:pd});return{components:{root:yd,dialog:pd},root:j,dialog:S,open:o,size:i,position:a,hasMountNodeElement:b,unmountOnClose:l,mountNode:h,motion:JP}},eD=(e,t)=>I(AP,{value:t,children:I(j9,{value:!1,children:I(e.dialog,{children:I(e.root,{})})})}),eh={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},tD=me("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;}}"]}),oD=L({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;}"]}),rD=e=>{const t=$P(e),o=tD(),i=oD(),a=e.hasMountNodeElement&&i.absolute,l=e.root.backdrop;return e.root.className=R(eh.root,t,o,i[e.position],a,e.root.className),l&&(l.className=R(eh.backdrop,a,l.className)),e},nD=m.forwardRef((e,t)=>{const o=ZP(e,t),i=OP();return rD(o),de("useDrawerOverlayStyles_unstable")(o),de("useOverlayDrawerStyles_unstable")(o),eD(o,i)});nD.displayName="OverlayDrawer";const iD=({scrollTop:e,scrollHeight:t,clientHeight:o})=>t<=o?"none":e===0?"top":e+o===t?"bottom":"middle",aD=(e,t)=>{const{targetDocument:o}=Ie(),i=o?.defaultView,{setScrollState:a}=vf(),l=m.useRef(null),c=Se(t,l),[u,d]=sa(),[p,v]=sa(),h=m.useCallback(()=>{l.current&&a(iD(l.current))},[a]),x=m.useCallback(()=>{d(),u(h)},[d,u,h]);return He(h,[e.children,h]),He(()=>{if(!l.current||!i?.ResizeObserver)return;const y=new i.ResizeObserver(()=>p(h));return y.observe(l.current),()=>{y.disconnect(),v()}},[p,v,h,i]),{components:{root:"div"},root:ie(ze("div",{ref:c,...e,onScroll:ye(e.onScroll,x)}),{elementType:"div"})}},lD=e=>I(e.root,{}),sD={root:"fui-DrawerBody"},cD=me("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);}"]),uD=e=>{const t=cD();return e.root.className=R(sD.root,t,e.root.className),e},dD=m.forwardRef((e,t)=>{const o=aD(e,t);return uD(o),de("useDrawerBodyStyles_unstable")(o),lD(o)});dD.displayName="DrawerBody";const fD=(e,t)=>{const{scrollState:o}=vf();return{components:{root:"header"},root:ie(ze("header",{ref:t,role:"none",...e}),{elementType:"header"}),scrollState:o}},pD=e=>I(e.root,{}),vD={root:"fui-DrawerHeader"},gD=me("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;}"]),mD=L({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;}"]}),hD=e=>{const t=gD(),o=mD();return e.root.className=R(vD.root,t,e.scrollState!=="none"&&o.separator,["middle","bottom"].includes(e.scrollState)&&o.separatorVisible,e.root.className),e},bD=m.forwardRef((e,t)=>{const o=fD(e,t);return hD(o),de("useDrawerHeaderStyles_unstable")(o),pD(o)});bD.displayName="DrawerHeader";const yD=(e,t)=>{const{children:o,heading:i}=e,a=ro(l=>l.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:ie(ze("div",{ref:t,...e}),{elementType:"div"}),heading:ve(i,{defaultProps:{id:a,children:o},renderByDefault:!0,elementType:"h2"}),action:ve(e.action,{elementType:"div"})}},wD=e=>_e(e.root,{children:[e.heading&&I(e.heading,{}),e.action&&I(e.action,{})]}),Xu={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},kD=L({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);}"]}),xD=e=>{const t=kD(),{heading:o={},action:i,components:a}=e;return J0({components:{root:a.heading,action:a.action},root:o,action:i}),e.root.className=R(Xu.root,t.root,e.root.className),e.heading&&(e.heading.className=R(Xu.heading,e.heading.className)),e.action&&(e.action.className=R(Xu.action,t.action,e.action.className)),e},BD=m.forwardRef((e,t)=>{const o=yD(e,t);return xD(o),de("useDrawerHeaderTitleStyles_unstable")(o),wD(o)});BD.displayName="DrawerHeaderTitle";const SD=(e,t)=>({components:{root:"nav"},root:ie(ze("nav",{ref:t,...e}),{elementType:"nav"})}),zD=e=>I(e.root,{}),_D={root:"fui-DrawerHeaderNavigation"},ND=me("r1ig4pwh",null,[".r1ig4pwh{margin:calc(var(--spacingVerticalS) * -1) calc(var(--spacingHorizontalL) * -1);}"]),jD=e=>{const t=ND();return e.root.className=R(_D.root,t,e.root.className),e},CD=m.forwardRef((e,t)=>{const o=SD(e,t);return jD(o),de("useDrawerHeaderNavigationStyles_unstable")(o),zD(o)});CD.displayName="DrawerHeaderNavigation";const TD=(e,t)=>{const{scrollState:o}=vf();return{components:{root:"footer"},root:ie(ze("footer",{ref:t,role:"none",...e}),{elementType:"footer"}),scrollState:o}},qD=e=>I(e.root,{}),ID={root:"fui-DrawerFooter"},RD=me("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),ED=L({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),PD=e=>{const t=RD(),o=ED();return e.root.className=R(ID.root,t,e.scrollState!=="none"&&o.separator,["middle","top"].includes(e.scrollState)&&o.separatorVisible,e.root.className),e},DD=m.forwardRef((e,t)=>{const o=TD(e,t);return PD(o),de("useDrawerFooterStyles_unstable")(o),qD(o)});DD.displayName="DrawerFooter";const FD=(e,t)=>{const{size:o="medium",appearance:i="outline",...a}=e,l=MD(a,t);if(l.contentBefore){var c,u;(u=(c=l.contentBefore).children)!==null&&u!==void 0||(c.children=m.createElement(zk,null))}if(l.dismiss){var d,p;(p=(d=l.dismiss).children)!==null&&p!==void 0||(d.children=m.createElement(ba,null))}return{...l,size:o,appearance:i}},MD=(e,t)=>{const{disabled:o=!1,root:i,contentBefore:a,dismiss:l,contentAfter:c,value:u,defaultValue:d,...p}=e,v=m.useRef(null),h=m.useRef(null),[x,y]=Xe({state:u,defaultState:d,initialState:""}),[k,b]=m.useState(!1),B=m.useCallback(()=>{b(!0)},[b]),z=m.useCallback(C=>{var M;b(!!(!((M=v.current)===null||M===void 0)&&M.contains(C.relatedTarget)))},[b]),j=xd(i),S=K(C=>{var M,H;if(Tr(l)){var W;(W=l.onClick)===null||W===void 0||W.call(l,C)}const ce="";y(ce),(M=e.onChange)===null||M===void 0||M.call(e,C,{value:ce}),(H=h.current)===null||H===void 0||H.focus()}),N=z0({type:"search",disabled:o,value:x,root:ie({...j,ref:Se(j?.ref,v),onFocus:ye(j?.onFocus,B),onBlur:ye(j?.onBlur,z)},{elementType:"span"}),contentBefore:ve(a,{renderByDefault:!0,elementType:"span"}),contentAfter:ve(c,{renderByDefault:!0,elementType:"span"}),...p,onChange:K(C=>{var M;const H=C.target.value;(M=e.onChange)===null||M===void 0||M.call(e,C,{value:H}),y(H)})},Se(h,t)),q={...N,components:{...N.components,dismiss:"span"},dismiss:ve(l,{defaultProps:{role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:o,focused:k};return q.dismiss&&(q.dismiss.onClick=S),q},HD=e=>_e(e.root,{children:[e.contentBefore&&I(e.contentBefore,{}),I(e.input,{}),e.contentAfter&&_e(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&I(e.dismiss,{})]})]}),aa={root:"fui-SearchBox",dismiss:"fui-SearchBox__dismiss",contentAfter:"fui-SearchBox__contentAfter",contentBefore:"fui-SearchBox__contentBefore",input:"fui-SearchBox__input"},AD=L({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),OD=L({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),LD=L({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),VD=me("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),WD=L({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;}"]}),$D=e=>{const{disabled:t,focused:o,size:i}=e,a=AD(),l=OD(),c=LD(),u=VD(),d=WD();return e.root.className=R(aa.root,a[i],!o&&a.unfocusedNoContentAfter,e.root.className),e.input.className=R(aa.input,a.input,!o&&l[i],e.input.className),e.dismiss&&(e.dismiss.className=R(aa.dismiss,u,t&&d.disabled,d[i],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=R(aa.contentBefore,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=R(aa.contentAfter,c.contentAfter,!o&&c.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=R(e.dismiss.className,c.contentAfter)),_0(e),e},GD=m.forwardRef((e,t)=>{const o=FD(e,t);return $D(o),de("useSearchBoxStyles_unstable")(o),HD(o)});GD.displayName="SearchBox";export{_7 as $,bC as A,u3 as B,hN as C,pd as D,Oj as E,N_ as F,pC as G,nF as H,MP as I,rF as J,xP as K,KE as L,Pj as M,mP as N,IN as O,cd as P,tP as Q,cP as R,nj as S,a0 as T,nD as U,iT as V,ma as W,UN as X,BT as Y,tr as Z,x7 as _,Ck as a,dD as a$,f7 as a0,q7 as a1,h7 as a2,Zq as a3,W7 as a4,Nd as a5,iF as a6,j6 as a7,GD as a8,mI as a9,g3 as aA,cI as aB,aI as aC,P7 as aD,KD as aE,Ie as aF,QD as aG,dI as aH,fI as aI,vI as aJ,gI as aK,eI as aL,nI as aM,oI as aN,hI as aO,Se as aP,wI as aQ,bI as aR,yR as aS,jR as aT,aR as aU,WS as aV,JD as aW,YD as aX,bD as aY,CD as aZ,BD as a_,kI as aa,iI as ab,_I as ac,uI as ad,Q7 as ae,eF as af,m6 as ag,H6 as ah,n9 as ai,q8 as aj,RT as ak,VT as al,iz as am,pz as an,Wz as ao,n3 as ap,Kt as aq,r6 as ar,qE as as,tE as at,gE as au,y9 as av,MN as aw,WR as ax,BE as ay,tF as az,l9 as b,DD as b0,NN as b1,pa as b2,s_ as b3,Jl as c,g8 as d,X9 as e,t8 as f,sf as g,Z4 as h,k8 as i,L9 as j,Xd as k,sd as l,oF as m,aq as n,X8 as o,dq as p,mq as q,Ar as r,H0 as s,Dg as t,ZD as u,$C as v,CC as w,sC as x,Uj as y,Zj as z};
|