@ws-ui/code-editor 1.13.10 → 1.14.1
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/dist/code-editor.css +1 -1
- package/dist/editor/services/user/configuration.json.d.ts +2 -2
- package/dist/index.cjs.js +80 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +10790 -944
- package/dist/index.es.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
"workbench.colorTheme": "
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),E=require("react"),Pr=require("@monaco-editor/react"),ve=require("@ws-ui/shared"),as=require("monaco-languageclient"),Cn=require("monaco-languageclient/vscode/services"),kn=require("@codingame/monaco-vscode-configuration-service-override"),ls=require("@codingame/monaco-vscode-languages-service-override"),cs=require("@codingame/monaco-vscode-textmate-service-override");require("@codingame/monaco-vscode-theme-defaults-default-extension");const ds=require("@codingame/monaco-vscode-editor-service-override"),us=require("@codingame/monaco-vscode-theme-service-override"),ps=require("@codingame/monaco-vscode-files-service-override"),br=require("vscode/vscode/vs/platform/files/common/files"),vo=require("vscode/vscode/vs/base/common/event"),gs=require("monaco-languageclient/tools"),fo=require("vscode-languageclient"),he=require("monaco-editor"),Fr=require("vscode-ws-jsonrpc"),We=require("vscode-languageserver-protocol"),mo=require("vscode/services"),wr=require("vscode/monaco"),zt=require("react-dom");require("@codingame/monaco-vscode-standalone-languages");require("@codingame/monaco-vscode-standalone-html-language-features");require("@codingame/monaco-vscode-standalone-css-language-features");require("@codingame/monaco-vscode-standalone-json-language-features");require("@codingame/monaco-vscode-standalone-typescript-language-features");require("@codingame/monaco-vscode-css-default-extension");require("@codingame/monaco-vscode-json-default-extension");require("@codingame/monaco-vscode-html-default-extension");require("@codingame/monaco-vscode-javascript-default-extension");const hs=require("vscode/extensions");var Re=typeof document<"u"?document.currentScript:null;function Sn(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const pe=Sn(E),Q=Sn(he),vs=()=>kn(),fs=()=>ds(()=>Promise.resolve(void 0)),ms=()=>{const e=us(),r=e.themeService.ctor.prototype;return r.defineTheme=()=>{},e},bs=`{
|
|
2
|
+
"workbench.colorTheme": "{{default_theme_name}}",
|
|
3
3
|
"workbench.iconTheme": "vs-seti",
|
|
4
4
|
"editor.autoClosingBrackets": "languageDefined",
|
|
5
5
|
"editor.autoClosingQuotes": "languageDefined",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"editor.experimental.asyncTokenization": true,
|
|
15
15
|
"editor.semanticHighlighting.enabled": true,
|
|
16
16
|
"workbench.colorCustomizations": {
|
|
17
|
-
"editor.background": "#
|
|
17
|
+
"editor.background": "#FFFFFF00"
|
|
18
18
|
},
|
|
19
19
|
"editor.semanticTokenColorCustomizations": {
|
|
20
20
|
"[Default Light+]": {
|
|
@@ -83,38 +83,90 @@
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
`;class
|
|
86
|
+
`;class ws{constructor(){this._onDidChangeCapabilities=new vo.Emitter,this.onDidChangeCapabilities=this._onDidChangeCapabilities.event,this._onDidChangeFile=new vo.Emitter,this.onDidChangeFile=this._onDidChangeFile.event,this.capabilities=br.FileSystemProviderCapabilities.FileReadWrite|br.FileSystemProviderCapabilities.FileOpenReadWriteClose,this.files=new Map}async stat(r){const t=this.files.get(r.fsPath),o=Date.now();return{type:br.FileType.File,ctime:0,mtime:o,size:t?t.byteLength:0}}async mkdir(r){}async readdir(r){return[]}async readFile(r){const o=r.toString().split("/"),i=o.length,[n,s]=o.slice(i-2),a=await ve.getNodeInfo({verb:ve.DesignerRequestVerb.GET_INFO,path:`${n}/${s}`,content:!0,as:"text"}),l=new TextEncoder().encode(a.content);return this.files.set(r.fsPath,l),l}async writeFile(r,t){const o=r.toString();this.files.set(o,t),this._onDidChangeFile.fire([{type:1,resource:r}])}async delete(r){const t=r.toString();this.files.delete(t)}async rename(r,t){const o=r.toString(),i=t.toString(),n=this.files.get(o);n&&(this.files.set(i,n),this.files.delete(o))}watch(r,t){return{dispose(){}}}}const En=()=>{const e=ve.getStoredVSCodeTheme(),r=ve.resolveMonacoTheme(e),t=bs.replace("{{default_theme_name}}",r);return kn.initUserConfiguration(t)},Nn=async e=>{var i;const r=e.serviceConfig??{};r.debugLogging=((i=e.logger)==null?void 0:i.isEnabled())===!0&&(r.debugLogging===!0||e.logger.isDebugEnabled()===!0),await En(),r.userServices=r.userServices??{};const t=r.userServices.configurationService??void 0,o=r.workspaceConfig??void 0;if(t===void 0){if(o)throw new Error("You provided a workspaceConfig without using the configurationServiceOverride");const n={...vs(),...ms(),...cs(),...ls(),...fs()};Cn.mergeServices(n,r.userServices)}return ps.registerFileSystemOverlay(1,new ws),r};class xs extends Fr.WebSocketMessageReader{constructor(r,t){super(r),this.onMessage=t}readMessage(r){this.onMessage&&this.onMessage();const[,t]=r.split(`\r
|
|
87
87
|
\r
|
|
88
|
-
`);if(this.state==="initial")this.events.splice(0,0,{message:
|
|
89
|
-
`),insertTextRules:
|
|
90
|
-
`),insertTextRules:
|
|
91
|
-
`),insertTextRules:
|
|
92
|
-
`),insertTextRules:
|
|
93
|
-
`),insertTextRules:
|
|
94
|
-
`),insertTextRules:
|
|
95
|
-
`),insertTextRules:
|
|
96
|
-
`),insertTextRules:
|
|
97
|
-
`),insertTextRules:
|
|
98
|
-
`),insertTextRules:
|
|
99
|
-
`),insertTextRules:
|
|
100
|
-
`),insertTextRules:
|
|
101
|
-
`),insertTextRules:
|
|
102
|
-
`),insertTextRules:
|
|
103
|
-
`),insertTextRules:
|
|
88
|
+
`);if(this.state==="initial")this.events.splice(0,0,{message:t});else if(this.state==="listening"){const o=JSON.parse(t);this.callback(o)}}}class ys extends Fr.WebSocketMessageWriter{constructor(r,t){super(r),this.onSend=t}async write(r){try{const t=JSON.stringify(r);this.socket.send(t),this.onSend&&this.onSend()}catch(t){this.errorCount++,this.fireError(t,r,this.errorCount)}}}function Ae(e,r=!0){const t=`/PACKAGE/Project/Sources/${e}`;return r?`file://${t}`:t}function Hr(e,r=0){setTimeout(e,r)}function _n(e,r){const t=new he.Selection(r.startLineNumber,r.startColumn,r.endLineNumber||r.startLineNumber,r.endColumn||r.startColumn);Hr(()=>{e.setSelection(t),e.revealRangeInCenter(t),e.focus()})}function An(e,r,t=0){t>0&&(r=t+r),Hr(()=>{e.setPosition({lineNumber:r,column:1}),e.revealLineInCenter(r),e.focus()})}function Is(e,r,t){const i=e.getModel();if(i&&r){const n=i.getLineCount();for(let s=1;s<=n;s++){const a=i.getLineContent(s);if(new RegExp(`(?:Function|function) ${t}`).test(a))return s}}return 0}const On=e=>{const r=e==null?void 0:e.getLanguageId();return r&&["css","scss","less"].includes(r)},Cs={provideCompletionItems:async(e,r)=>{const t=e.getWordUntilPosition(r);return{suggestions:[{label:"var",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["var ${1:var_name} : ${2:var_type}"].join(`
|
|
89
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"While",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["While(${1:expression})"," ${2:body}","End while"].join(`
|
|
90
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"Case of",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["Case of"," :(${1:boolean_expression})"," ${2:body}","End case"].join(`
|
|
91
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"Else",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["Else"," "].join(`
|
|
92
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"If",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["If (${1:expression})"," ${5:body}","End if"].join(`
|
|
93
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"For",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["For(${1:counter};${2:start};${3:end}${4:;increment})"," ${5:body}","End for"].join(`
|
|
94
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"Function",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["Function ${1:function_name}(${2:params}) -> ${3:var_name} : ${4:var_type}"," ${5:body}"].join(`
|
|
95
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet}]}}},ks={provideCompletionItems:async(e,r)=>{const t=e.getWordUntilPosition(r);return{suggestions:[{label:"var",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["var ${1:var_name} : ${2:var_type}"].join(`
|
|
96
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"while",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["while(${1:expression})"," ${2:body}","end"].join(`
|
|
97
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"switch",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["switch"," :(${1:boolean_expression})"," ${2:body}","end"].join(`
|
|
98
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"else",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["else"," "].join(`
|
|
99
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"if",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["if (${1:expression})"," ${5:body}","end"].join(`
|
|
100
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"for",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["for(${1:counter},${2:start},${3:end}${4:,increment})"," ${5:body}","end"].join(`
|
|
101
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet},{label:"function",kind:Q.languages.CompletionItemKind.Snippet,range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["function ${1:function_name}(${2:params}) -> ${3:var_name} : ${4:var_type}"," ${5:body}"].join(`
|
|
102
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet}]}}},Ss=[{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.NumpadAdd,command:"editor.action.fontZoomIn"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.Equal,command:"editor.action.fontZoomIn"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.NumpadSubtract,command:"editor.action.fontZoomOut"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.Minus,command:"editor.action.fontZoomOut"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.Numpad0,command:"editor.action.fontZoomReset"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.Digit0,command:"editor.action.fontZoomReset"},{keybinding:he.KeyMod.CtrlCmd|he.KeyCode.F12,command:"editor.action.revealDefinition"}],Es=({defaultZoom:e})=>(E.useEffect(()=>{e!==void 0&&he.editor.EditorZoom.setZoomLevel(e)},[]),null);Pr.loader.config({monaco:Q});var St=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(St||{}),zn=(e=>(e[e.None=0]="None",e[e.DefaultForeground=1]="DefaultForeground",e[e.DefaultBackground=2]="DefaultBackground",e))(zn||{}),Rn=(e=>(e[e.Other=0]="Other",e[e.Comment=1]="Comment",e[e.String=2]="String",e[e.RegEx=3]="RegEx",e))(Rn||{});class wt{static getLanguageId(r){return(r&255)>>>0}static getTokenType(r){return(r&768)>>>8}static containsBalancedBrackets(r){return(r&1024)!==0}static getFontStyle(r){return(r&30720)>>>11}static getForeground(r){return(r&16744448)>>>15}static getBackground(r){return(r&4278190080)>>>24}static getClassNameFromMetadata(r){let o="mtk"+this.getForeground(r);const i=this.getFontStyle(r);return i&1&&(o+=" mtki"),i&2&&(o+=" mtkb"),i&4&&(o+=" mtku"),i&8&&(o+=" mtks"),o}static getInlineStyleFromMetadata(r,t){const o=this.getForeground(r),i=this.getFontStyle(r);let n=`color: ${t[o]};`;i&1&&(n+="font-style: italic;"),i&2&&(n+="font-weight: bold;");let s="";return i&4&&(s+=" underline"),i&8&&(s+=" line-through"),s&&(n+=`text-decoration:${s};`),n}static getPresentationFromMetadata(r){const t=this.getForeground(r),o=this.getFontStyle(r);return{foreground:t,italic:!!(o&1),bold:!!(o&2),underline:!!(o&4),strikethrough:!!(o&8)}}}function Ns(e,r,t,o){const i=t.tokens.data,n=e.getLanguageId();let s=0,a=0;const l=o.lineNumber-1,c=o.column-1;for(let d=0;d<i.length;d+=5){const g=i[d],h=i[d+1],y=i[d+2],N=i[d+3],x=i[d+4],m=s+g,k=g===0?a+h:h;if(l===m&&k<=c&&c<k+y){const p=t.legend.tokenTypes[N]||"not in legend (ignored)",f=[];let v=x;for(let Z=0;v>0&&Z<t.legend.tokenModifiers.length;Z++)v&1&&f.push(t.legend.tokenModifiers[Z]),v=v>>1;v>0&&f.push("not in legend (ignored)");const u=new he.Range(m+1,k+1,m+1,k+1+y),S={},A=r.getColorTheme().tokenColorMap,O=r.getColorTheme().getTokenStyleMetadata(p,f,n,!0,S);let H;return O&&(H={languageId:void 0,tokenType:Rn.Other,bold:O==null?void 0:O.bold,italic:O==null?void 0:O.italic,underline:O==null?void 0:O.underline,strikethrough:O==null?void 0:O.strikethrough,foreground:A[(O==null?void 0:O.foreground)||zn.None],background:void 0}),{type:p,modifiers:f,range:u,metadata:H,definitions:S}}s=m,a=k}return null}function _s(e,r,t){let o=null;for(let i=1;i<t;i++)o=r.tokenizeLine(e.getLineContent(i),o).ruleStack;return o}function As(e,r,t){const o=e.getColorTheme().tokenColorMap,i=wt.getLanguageId(t),n=wt.getTokenType(t),s=wt.getFontStyle(t),a=wt.getForeground(t),l=wt.getBackground(t);return{languageId:r.languageIdCodec.decodeLanguageId(i),tokenType:n,bold:s&St.Bold?!0:void 0,italic:s&St.Italic?!0:void 0,underline:s&St.Underline?!0:void 0,strikethrough:s&St.Strikethrough?!0:void 0,foreground:o[a],background:o[l]}}function Os(e,r,t){const o=t.lineNumber,i=e,n=i._tokenizationTextModelPart.grammarTokens._tokenizer.tokenizationSupport._actual._grammar,s=_s(e,n,o),a=n.tokenizeLine(e.getLineContent(o),s),l=n.tokenizeLine2(e.getLineContent(o),s);let c=0;for(let g=a.tokens.length-1;g>=0;g--){const h=a.tokens[g];if(t.column-1>=h.startIndex){c=g;break}}let d=0;for(let g=l.tokens.length>>>1;g>=0;g--)if(t.column-1>=l.tokens[g<<1]){d=g;break}return{token:a.tokens[c],metadata:As(r,i._languageService,l.tokens[(d<<1)+1])}}const Dn=E.createContext(void 0),zs=({children:e,url:r,qodly:t,defaultZoom:o,openHandler:i,language:n="4d",defaultInited:s=!1})=>{const a=Pr.useMonaco(),[l,c]=E.useState(s),[d,g]=E.useState(null),h=E.useRef(),y=E.useRef(0);E.useEffect(()=>{r&&a&&N()},[r,a]);const N=async()=>{if(!a)return;const P=new gs.Logger({enabled:process.env.NODE_ENV==="development",debugEnabled:process.env.NODE_ENV==="development"}),D=await Nn({logger:P});await Cn.initServices({caller:"Qodly Code Editor",logger:P,serviceConfig:D}),i&&mo.StandaloneServices.get(mo.ICodeEditorService).registerCodeEditorOpenHandler(i),a.languages.registerCompletionItemProvider(n,t?ks:Cs);const F=wr.KeybindingsRegistry.getDefaultKeybindings.bind(wr.KeybindingsRegistry);wr.KeybindingsRegistry.getDefaultKeybindings=()=>F().filter(ne=>!["workbench.action.files.saveAs","workbench.action.files.save"].includes(ne.command)),he.editor.addKeybindingRules(Ss),a.languages.registerFoldingRangeProvider(n,{provideFoldingRanges:function(R){const ne=[],b=/\\\s*$/;for(let I=1,L=R.getLineCount();I<=L;I++){const T=R.getLineContent(I);if(b.exec(T)){let X=I+1;for(;X<=L;){const B=R.getLineContent(X);if(b.exec(B)==null)break;X++}X>I&&(ne.push({start:I,end:X,kind:a.languages.FoldingRangeKind.Region}),I=X)}}return ne}}),x()},x=()=>{g(null);let P;try{P=new WebSocket(localStorage.LSP_SERVER||r)}catch{g(new Event("INVALID_URL"));return}P.onopen=m,P.onclose=k,P.onerror=p,y.current=0},m=async function(){const P=Fr.toSocket(this),D=new xs(P),F=new ys(P),R=new as.MonacoLanguageClient({name:"4D Language Client",clientOptions:{workspaceFolder:{uri:he.Uri.parse("file:///PACKAGE")},documentSelector:[{scheme:"file",language:n}],errorHandler:{error:()=>({action:fo.ErrorAction.Continue}),closed:()=>({action:fo.CloseAction.DoNotRestart})}},connectionProvider:{get:()=>Promise.resolve({reader:D,writer:F})}});h.current=R;const ne=R.sendRequest.bind(R);h.current.sendRequest=function(b,I,L){return typeof b=="object"&&b.method==="textDocument/diagnostic"&&/file:\/\/\/PACKAGE\/Project\/Sources\/Methods\/__Debugger_.*/.test(I.textDocument.uri)?Promise.resolve():ne(b,I,L)},D.onClose(()=>{R.stop(),y.current<3?setTimeout(()=>{y.current++,x()},1e3):g(new Event("WEBSOCKET_CLOSED"))}),R.needsStart()&&await R.start(),c(!0)},k=()=>{},p=P=>{g(P)};E.useEffect(()=>{const P=ve.lspSubject.subscribe(({action:D,payload:F})=>{switch(D){case ve.LspActions.WILL_SAVE:A(F.filePath);break;case ve.LspActions.DID_SAVE:C(F.filePath,F.content);break;case ve.LspActions.WILL_CREATE:O(F.filePath);break;case ve.LspActions.DID_CREATE:J(F.filePath);break;case ve.LspActions.WILL_RENAME:H(F.oldPath,F.newPath);break;case ve.LspActions.DID_RENAME:oe(F.oldPath,F.newPath);break;case ve.LspActions.WILL_DELETE:Z(F.filePath);break;case ve.LspActions.DID_DELETE:G(F.filePath);break;case ve.LspActions.DIAGNOSTIC_REFRESH:S(F.filePath);break}});return()=>P.unsubscribe()},[]);const f=P=>{var D,F;return(F=(D=h.current)==null?void 0:D._features)==null?void 0:F.find(R=>{var ne;return((ne=R._registrationType)==null?void 0:ne.method)===P})},v=P=>{const D=[],F=f(P);if(F)for(const[,R]of F._registrations)R.provider&&D.push(R.provider);return D},u=async(P,D,F)=>{var ne,b,I;const R=v(We.SemanticTokensRegistrationType.method);if(R[0]){const L=new he.CancellationTokenSource,T=await Promise.resolve(R[0].full.provideDocumentSemanticTokens(D,L.token)),j=P,X=T?Ns(D,j._themeService,{tokens:T,legend:(I=(b=(ne=h.current)==null?void 0:ne._capabilities)==null?void 0:b.semanticTokensProvider)==null?void 0:I.legend},F):null,B=Os(D,j._themeService,F);return{semanticTokenInfo:X,textmateTokenInfo:B}}return null},S=P=>{if(h.current){const D=v(We.DocumentDiagnosticRequest.method);for(const F of D)F.onDidChangeDiagnosticsEmitter.fire()}},A=(P,D=We.TextDocumentSaveReason.Manual)=>{var F;(F=h.current)==null||F.sendNotification(We.WillSaveTextDocumentNotification.type,{textDocument:{uri:Ae(P)},reason:D})},C=(P,D)=>{var F;(F=h.current)==null||F.sendNotification(We.DidSaveTextDocumentNotification.type,{textDocument:{uri:Ae(P)},text:D})},O=P=>{var D;(D=h.current)==null||D.sendRequest(We.WillCreateFilesRequest.type,{files:[{uri:Ae(P)}]})},H=(P,D)=>{var F;(F=h.current)==null||F.sendRequest(We.WillRenameFilesRequest.type,{files:[{oldUri:Ae(P),newUri:Ae(D)}]})},Z=P=>{var D;(D=h.current)==null||D.sendRequest(We.WillDeleteFilesRequest.type,{files:[{uri:Ae(P)}]})},J=P=>{var D;(D=h.current)==null||D.sendNotification(We.DidCreateFilesNotification.type,{files:[{uri:Ae(P)}]})},oe=(P,D)=>{var F;(F=h.current)==null||F.sendNotification(We.DidRenameFilesNotification.type,{files:[{oldUri:Ae(P),newUri:Ae(D)}]})},G=P=>{var D;(D=h.current)==null||D.sendNotification(We.DidDeleteFilesNotification.type,{files:[{uri:Ae(P)}]})};return w.jsxs(Dn.Provider,{value:{inited:l||!!d,clientRef:h,lastError:d,reload:x,getTokenAtPosition:u},children:[e,w.jsx(Es,{defaultZoom:o})]})};function Rs(){const e=E.useContext(Dn);if(e===void 0)throw new Error("useLSP must be used within an LSPContext");return e}const jn=E.createContext(void 0),Ds=E.memo(({children:e})=>{const[r,t]=E.useState(null);return w.jsx(jn.Provider,{value:{editor:r,setEditor:t},children:e})});function Mn(){const e=E.useContext(jn),r=E.useState(null);if(e===void 0){const[t,o]=r;return{editor:t,setEditor:o}}return e}const js={provideCompletionItems:(e,r)=>{const t=e.getWordUntilPosition(r);return{suggestions:[{label:"device:xs",kind:Q.languages.CompletionItemKind.Snippet,documentation:"Media query for phone device",range:new Q.Range(r.lineNumber,t.startColumn,r.lineNumber,t.endColumn),insertText:["@media screen and (max-width: ${1:365px}) {"," self {"," ${2:background-color}:${3:red};"," }","}"].join(`
|
|
103
|
+
`),insertTextRules:Q.languages.CompletionItemInsertTextRule.InsertAsSnippet}]}}},Ms="#/definitions/Condition",Ws={Base:{type:"object",properties:{id:{type:"string"},name:{type:"string"}},required:["id"]},Condition:{oneOf:[{$ref:"#/definitions/Datasource"},{$ref:"#/definitions/Privilege"},{$ref:"#/definitions/Combination"},{$ref:"#/definitions/CurrentState"},{$ref:"#/definitions/ParentState"},{$ref:"#/definitions/Reference"}]},Datasource:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"datasource"},path:{type:"string"},value:{type:["number","string","boolean","object","array","null"]},valueType:{enum:["datasource","hardCoded"]},dataType:{enum:["string","number","date","boolean","array","object"]},op:{enum:["eq","neq","regex","in","nin","gt","gte","lt","lte"]}},required:["name","type","path","value","op"]},Privilege:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"privilege"},value:{type:"string"},valueType:{enum:["datasource","hardCoded"]},op:{enum:["eq","neq","regex"]}},required:["name","type","value","op"]},Combination:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"combination"},op:{enum:["and","or"]},conditions:{type:"array",items:{$ref:"#/definitions/Condition"}}},required:["type","conditions","op"]},CurrentState:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"currentState"},value:{type:"string"},valueType:{enum:["datasource","hardCoded"]},dataType:{enum:["string","number","date","boolean","array","object"]},op:{enum:["eq","neq","regex"]}},required:["name","type","value","op"]},ParentState:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"parentState"},value:{type:"string"},valueType:{enum:["datasource","hardCoded"]},dataType:{enum:["string","number","date","boolean","array","object"]},op:{enum:["eq","neq","regex"]}},required:["name","type","value","op"]},Reference:{allOf:[{$ref:"#/definitions/Base"}],properties:{type:{const:"reference"},ref:{type:"string"}},required:["type","ref"]}},Ts={$ref:Ms,definitions:Ws},Ls="array",Vs={type:"object",properties:{class:{type:"string"},method:{type:"string"},regexPattern:{type:"string"},verbs:{type:"string"}}},Ps={type:Ls,items:Vs};function Fs(e,r){const t=document.createElement("style");t.dataset.id=r,t.textContent=e,document.head.append(t)}function Hs(e){return Array.from(document.styleSheets).find(r=>r.ownerNode.getAttribute("data-id")===e)}function Bs(e,r){const t=[];let o=[];const i=[],n=(v,u,S,A)=>{t.push({startLineNumber:v,endLineNumber:S,startColumn:u,endColumn:A}),c(),l()},s=v=>{i.indexOf(v)<0&&i.push(v)},a=v=>{const u=i.indexOf(v);u<0||i.splice(u,1)},l=()=>{for(const v of i)try{v(o)}catch(u){console.error(u)}},c=()=>{const v=e.getModel();v&&(o=qs(t.map(u=>[v.getOffsetAt({lineNumber:u.startLineNumber,column:u.startColumn}),v.getOffsetAt({lineNumber:u.endLineNumber,column:u.endColumn})]),!0),o.length>0&&(o[0][0]<=0&&(o[0][0]=Number.NEGATIVE_INFINITY),o[o.length-1][1]>=v.getValueLength()&&(o[o.length-1][1]=Number.POSITIVE_INFINITY)))},d=v=>{const u={isDeletion:!1,isAddition:!1,isReplacement:!1};return v.text===""?u.isDeletion=!0:v.range.startLineNumber===v.range.endLineNumber&&v.range.startColumn===v.range.endColumn?u.isAddition=!0:u.isReplacement=!0,u},g=e.onDidChangeModel(v=>{c(),p()}),h=e.onDidChangeModelContent(v=>{if(!v.isUndoing)for(const u of v.changes){const S=d(u);if(S.isReplacement||S.isDeletion||S.isAddition){const A=t.some(O=>u.range.startLineNumber>=O.startLineNumber&&u.range.endLineNumber<=O.endLineNumber&&u.range.startColumn>=O.startColumn&&u.range.endColumn<=O.endColumn),C=!A&&r&&u.range.startLineNumber===1&&u.range.startColumn===1&&!ve.hasAttributesString(u.text);if(A||C){const O=e.getModel();if(O){O.undo();return}}}}}),y=()=>{g.dispose(),h.dispose()};let N=[],x=`
|
|
104
104
|
.idoc-readonly-mark {
|
|
105
105
|
cursor: not-allowed;
|
|
106
106
|
z-index: 1;
|
|
107
107
|
}
|
|
108
|
-
`;if(
|
|
109
|
-
`+
|
|
108
|
+
`;if(x){const v="monaco-read-only";Hs(v)||Fs(x,v),x=null}const m=()=>{s(p),p()},k=()=>{a(p),N=e.deltaDecorations(N,[])},p=()=>{const v=e.getModel();v&&(N=e.deltaDecorations(N,o.map(f(v))))},f=v=>u=>{const S=v.getPositionAt(u[0]),A=v.getPositionAt(u[1]);return{range:new Q.Range(S.lineNumber,S.column,A.lineNumber,A.column),options:{className:"idoc-readonly-mark"}}};return{get buffer(){return o},exclude:n,attach:s,detach:a,dispose:y,show:m,hide:k}}function $s(e,r,t){let o=!1;const i=k=>k[1]<k[0]?(o=!0,[[k[1],k[0]]]):[[...k]],n=k=>o?k.map(p=>p[1]>p[0]?a(p):p).reverse():k;let s;const a=k=>(s=k[1],k[1]=k[0],k[0]=s,k),l=i(e);let c,d,g,h,y,N,x,m;g=l[0];for(d of r)for(x=d[0],m=d[1],h=0;h<l.length;h++){if(g=l[h],y=g[0],N=g[1],y<x)N<x?c=[g]:N<=m?c=[[y,x-1]]:c=[[y,x-1],[m+1,N]];else if(y<=m)if(x===Number.NEGATIVE_INFINITY){const k=m+1;c=t===0?[]:[[k,N>k?N:k]]}else m===Number.POSITIVE_INFINITY?c=t===0?[]:[[x-1,x-1]]:N<=m?c=t<0?[[x-1,x-1]]:t>0?[[m+1,m+1]]:[]:c=[[m+1,N]];else c=[g];if(l.splice(h,1,...c),l.length===1&&l[0][1]<x)return n(l)}return n(l)}function qs(e,r){if(e.length<2)return e;const t=[];let o=null,i,n;e=e.map(s=>(s[1]<s[0]&&(i=s[1],s[1]=s[0],s[1]=i),s)).sort((s,a)=>s[0]-a[0]),t.push(e[0]);for(let s=1;s<e.length;s++)o=t[t.length-1],n=e[s],o[1]===n[0]&&!r||(o[1]===n[0]-1&&r?(o[1]=n[1],t.splice(t.length-1,1,o)):o[1]<n[0]?t.push(n):o[1]<n[1]&&(o[1]=n[1],t.splice(t.length-1,1,o)));return t}function xt(e,r){return r.bind(e)}class Gs{constructor(r,t){var o;this.disposables=[],this.prefer=1,this.lastPrefer=1,this.onCursor=xt(this,function(i){if(i.source==="api")return;const n=this.getApprovedSelections();n.length!==0&&this.editor.setSelections(n)}),this.onRectangleSelectionStart=xt(this,function({event:i}){i.middleButton&&(this.lastPrefer=this.prefer,this.prefer=0,window.addEventListener("pointerup",this.onRectangleSelectionStop))}),this.onRectangleSelectionStop=xt(this,function(){this.prefer=this.lastPrefer,window.removeEventListener("pointerup",this.onRectangleSelectionStop)}),this.onKey=xt(this,function(i){const n=i.keyCode,s=Q.KeyCode;if(i.altKey||s.F1<=n&&n<=s.F19||i.ctrlKey&&n!==s.Backspace)return;if(n===s.UpArrow||n===s.LeftArrow||n===s.Home||n===s.PageUp){this.prefer=-1;return}if(n===s.DownArrow||n===s.RightArrow||n===s.End||n===s.PageDown){this.prefer=1;return}const a=this.getSelections(),l=this.intervals.buffer;let c;if(n===s.Delete)c=d=>d[0]===d[1]&&l.find(g=>d[1]+1===g[0])!=null;else if(n===s.Backspace)c=d=>d[0]===d[1]&&l.find(g=>g[1]+1===d[0])!=null;else return;a.findIndex(c)!==-1&&(i.stopPropagation(),i.preventDefault())}),this.getOffsetAt=xt(this,function(i){let n;for(let s=0;s<this.intervals.buffer.length;s++)if(n=this.intervals.buffer[s],i<=n[1])return n[0]-i<i-n[1]?n[0]:n[1]}),this.editor=r,this.intervals=Bs(r,t),(o=this.editor.getModel())==null||o.setEOL(Q.editor.EndOfLineSequence.LF)}enable(){this.disposables.push(this.editor.onDidChangeCursorPosition(this.onCursor),this.editor.onKeyDown(this.onKey),this.editor.onMouseDown(this.onRectangleSelectionStart)),this.intervals.show()}dispose(){for(const r of this.disposables)r.dispose();this.disposables.splice(0)}exclude(r,t,o,i){arguments.length===1?this.intervals.exclude(r,0,r,Number.MAX_SAFE_INTEGER):this.intervals.exclude(r,t,o,i)}getApprovedSelections(){const r=this.editor.getModel();return this.getSelections().map(o=>$s(o,this.intervals.buffer,this.prefer)).flat().map(o=>{const i=r.getPositionAt(o[0]),n=r.getPositionAt(o[1]);return new Q.Selection(i.lineNumber,i.column,n.lineNumber,n.column)})}getSelections(){const r=this.editor.getModel();return(this.editor.getSelections()||[]).map(t=>[r.getOffsetAt({lineNumber:t.selectionStartLineNumber,column:t.selectionStartColumn}),r.getOffsetAt({lineNumber:t.positionLineNumber,column:t.positionColumn})])}}const Ks={provideDocumentFormattingEdits(e,r){const t=e.getValue();try{const o=Xs(t,r.tabSize,r.insertSpaces);return[{range:e.getFullModelRange(),text:o}]}catch{return[]}}};function Xs(e,r=2,t=!0){const o=t?" ".repeat(r):" ";let i=e.replace(/\s+/g," ").trim();return i=i.replace(/\{/g,` {
|
|
109
|
+
`+o).replace(/\}/g,`
|
|
110
110
|
}
|
|
111
111
|
`).replace(/;/g,`;
|
|
112
|
-
`+
|
|
113
|
-
`+
|
|
114
|
-
`+
|
|
112
|
+
`+o).replace(/,/g,`,
|
|
113
|
+
`+o),i=i.replace(/\s*\{\s*/g,` {
|
|
114
|
+
`+o).replace(/\s*\}\s*/g,`
|
|
115
115
|
}
|
|
116
116
|
`).replace(/\s*;\s*/g,`;
|
|
117
|
-
`+
|
|
118
|
-
`).map(
|
|
119
|
-
`).trim(),o}const bt={provideDocumentFormattingEdits(t,e){const n=t.getValue();try{const i=ht(n,e.tabSize);return[{range:t.getFullModelRange(),text:i}]}catch{return[]}}};function ht(t,e=2){const n=JSON.parse(t);return JSON.stringify(n,null,e)}const vt=new RegExp("^[ s]+(exposed|Function)","i"),ye=({lineNumber:t,editor:e,type:n,source:i})=>{var v;const o=n===j.FileFolderType.METHOD||n===j.FileFolderType.DEBUGGER&&((v=i==null?void 0:i.codeDescriptorInfo)==null?void 0:v.type)===j.SourceCodeDescriptor.METHOD;if(t===1)return o?"":"1";const r=e==null?void 0:e.getModel(),s=(r==null?void 0:r.getLinesContent())||[],I=Array(s.length).fill("-");let C=o?0:1;for(let f=1;f<s.length;f++)(f===1?"":s[f-1]).endsWith("\\")||(C+=1,I[f]=C.toString());return I[t-1]},ce=()=>x.jsx("div",{className:"absolute inset-0 animate-pulse",children:x.jsx("div",{className:"w-full space-y-4 px-4 py-1",children:x.jsxs("div",{className:"space-y-2",children:[x.jsx("div",{className:"h-3 w-3/4 rounded bg-grey-200"}),x.jsx("div",{className:"h-3 rounded bg-grey-200"}),x.jsx("div",{className:"h-3 w-5/6 rounded bg-grey-200"}),x.jsx("div",{className:"h-3 rounded bg-grey-200"}),x.jsx("div",{className:"h-3 rounded bg-grey-200"})]})})}),U=["fd-dark"],z={css:[],json:[]},St=({path:t,initialValue:e,type:n,language:i,onChange:o,options:r={},extra:s={},lspProps:I,theme:C=U[0],...v})=>{const{initialLineInfo:f,initialSelectionInfo:A}=s,{editor:p,setEditor:k}=Se(),{inited:L}=I;function y(c){i==="css"&&c.languages.css&&(c.languages.registerCompletionItemProvider("css",ot),c.languages.css.cssDefaults.setModeConfiguration({...c.languages.css.cssDefaults.modeConfiguration,documentFormattingEdits:!1,documentRangeFormattingEdits:!1}),z.css.forEach(W=>W.dispose()),z.css.push(c.languages.registerDocumentFormattingEditProvider("css",pt))),i==="json"&&c.languages.json&&(c.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"condition-schema.json",fileMatch:["*.condition.json"],schema:at},{uri:"handlers-schema.json",fileMatch:[j.HTTP_HANDLERS_TAB_PATH],schema:gt}]}),c.languages.json.jsonDefaults.setModeConfiguration({...c.languages.json.jsonDefaults.modeConfiguration,documentFormattingEdits:!1,documentRangeFormattingEdits:!1}),z.json.forEach(W=>W.dispose()),z.json.push(c.languages.registerDocumentFormattingEditProvider("json",bt)))}function R(c,W){k(c);const l=c.getModel();if(l&&(l.updateOptions({insertSpaces:!1}),c.onKeyUp(()=>{var w;const g=(w=c.getPosition())==null?void 0:w.lineNumber;if(g){const E=l.getLineFirstNonWhitespaceColumn(g),O=l.getLineLength(g),b=l.getLineContent(g);vt.test(b)&&c.executeEdits("edit-handler",[{range:new W.Range(g,0,g,O),text:b.substr(E-1,O-E)}])}})),pe(l)){const g=["editor.action.revealDefinition","editor.action.goToReferences","submenuitem.EditorContextPeek"],w=c.getContribution("editor.contrib.contextmenu"),E=w._getMenuActions;w._getMenuActions=function(){return E.apply(w,arguments).filter(function(b){return!g.includes(b.id)})}}if(n===j.FileFolderType.METHOD&&j.hasAttributesString(e)){const g=new ft(c,!0);g.exclude(1,1,1,Number.POSITIVE_INFINITY),g.enable()}}S.useEffect(()=>{if(!p)return;const{line:c,offset:W}=f||{};c&&fe(p,c,W)},[f,p]),S.useEffect(()=>{if(!p)return;const{selection:c}=A||{};c&&me(p,c)},[A,p]);const h=c=>U.includes(c)?c:U[0];return L?x.jsx(ie.Editor,{options:{readOnly:!0,fontSize:12,"semanticHighlighting.enabled":!0,padding:{top:10},lineNumbers:i==="4d"?c=>ye({lineNumber:c,editor:p,type:n,source:s==null?void 0:s.source}):void 0,scrollBeyondLastLine:!1,...r},path:T(t),value:e,theme:h(C),onChange:c=>o&&o(c||""),language:i,beforeMount:y,onMount:R,loading:x.jsx(ce,{}),...v}):x.jsx("div",{className:"relative flex-1 w-full",children:x.jsx(ce,{})})};var xe={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ge=S.createContext&&S.createContext(xe),P=function(){return P=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},P.apply(this,arguments)},yt=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(n[i[o]]=t[i[o]]);return n};function Re(t){return t&&t.map(function(e,n){return S.createElement(e.tag,P({key:n},e.attr),Re(e.child))})}function Ne(t){return function(e){return S.createElement(xt,P({attr:P({},t.attr)},e),Re(t.child))}}function xt(t){var e=function(n){var i=t.attr,o=t.size,r=t.title,s=yt(t,["attr","size","title"]),I=o||n.size||"1em",C;return n.className&&(C=n.className),t.className&&(C=(C?C+" ":"")+t.className),S.createElement("svg",P({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,s,{className:C,style:P(P({color:t.color||n.color},n.style),t.style),height:I,width:I,xmlns:"http://www.w3.org/2000/svg"}),r&&S.createElement("title",null,r),t.children)};return ge!==void 0?S.createElement(ge.Consumer,null,function(n){return e(n)}):e(xe)}function Rt(t){return Ne({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 10.5858L9.17157 7.75736L7.75736 9.17157L10.5858 12L7.75736 14.8284L9.17157 16.2426L12 13.4142L14.8284 16.2426L16.2426 14.8284L13.4142 12L16.2426 9.17157L14.8284 7.75736L12 10.5858Z"}}]})(t)}function Nt(t){return Ne({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0080 446.25h340.89a32 32 0 0028.18-47.17zm-198.6-1.83a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.95a21.73 21.73 0 0121.5-22.69h.21a21.74 21.74 0 0121.73 22.7z"}}]})(t)}const wt=({lspProps:{lastError:t,reload:e}})=>{const[n,i]=S.useState(!1),o=()=>{e()},r=()=>{i(!1)};return S.useEffect(()=>{i(!!t)},[t]),n?x.jsxs("div",{className:"flex items-center border-b border-fd-gray-darker bg-grey-800 px-2 py-1.5 text-xs text-grey-50",children:[x.jsxs("span",{className:"flex flex-1 justify-center gap-1",children:[x.jsx(Nt,{className:"h-4 w-4 text-yellow-600"}),x.jsxs("span",{children:["LSP not loaded."," ",x.jsx("button",{className:"text-primary-dark underline",onClick:o,children:"Reload?"})]})]}),x.jsx("button",{className:"focus:outline-none",children:x.jsx(Rt,{className:"h-4 w-4 text-white",onClick:r})})]}):null},Ft={name:"4d",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",engines:{vscode:"0.10.x"},categories:["Programming Languages"],contributes:{languages:[{id:"4d",aliases:["4D","4d"],extensions:[".4dm",".4qs"],configuration:"./language-configuration.json"}],grammars:[{language:"4d",scopeName:"source.4dm",path:"./syntaxes/4d.tmLanguage.json"}]}},{registerFileUrl:$,whenReady:jt}=Xe.registerExtension(Ft,void 0,{system:!0});$("./syntaxes/4d.tmLanguage.json",new URL("data:application/json;base64,ewogICJuYW1lIjogIjREIiwKICAic2NvcGVOYW1lIjogInNvdXJjZS40ZG0iLAogICJwYXR0ZXJucyI6IFsKICAgIHsKICAgICAgImluY2x1ZGUiOiAiI3N0YXRlbWVudHMiCiAgICB9CiAgXSwKICAicmVwb3NpdG9yeSI6IHsKICAgICJzdGF0ZW1lbnRzIjogewogICAgICAicGF0dGVybnMiOiBbCiAgICAgICAgewogICAgICAgICAgImluY2x1ZGUiOiAiI2NvbW1lbnQiCiAgICAgICAgfQogICAgICBdCiAgICB9LAogICAgImNvbW1lbnQiOiB7CiAgICAgICJwYXR0ZXJucyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJjb21tZW50LmJsb2NrLjRkIiwKICAgICAgICAgICJiZWdpbiI6ICIoL1xcKikoPzpcXHMqKChAKWludGVybmFsKSg/PVxcc3woXFwqLykpKT8iLAogICAgICAgICAgImJlZ2luQ2FwdHVyZXMiOiB7CiAgICAgICAgICAgICIxIjogewogICAgICAgICAgICAgICJuYW1lIjogInB1bmN0dWF0aW9uLmRlZmluaXRpb24uY29tbWVudC40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjIiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAic3RvcmFnZS50eXBlLmludGVybmFsZGVjbGFyYXRpb24uNGQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICIzIjogewogICAgICAgICAgICAgICJuYW1lIjogInB1bmN0dWF0aW9uLmRlY29yYXRvci5pbnRlcm5hbGRlY2xhcmF0aW9uLjRkIgogICAgICAgICAgICB9CiAgICAgICAgICB9LAogICAgICAgICAgImVuZCI6ICJcXCovIiwKICAgICAgICAgICJlbmRDYXB0dXJlcyI6IHsKICAgICAgICAgICAgIjAiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVmaW5pdGlvbi5jb21tZW50LjRkIgogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiYmVnaW4iOiAiKF5bIFxcdF0rKT8oKC8vKSg/OlxccyooKEApaW50ZXJuYWwpKD89XFxzfCQpKT8pIiwKICAgICAgICAgICJiZWdpbkNhcHR1cmVzIjogewogICAgICAgICAgICAiMSI6IHsKICAgICAgICAgICAgICAibmFtZSI6ICJwdW5jdHVhdGlvbi53aGl0ZXNwYWNlLmNvbW1lbnQubGVhZGluZy40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjIiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAiY29tbWVudC5saW5lLmRvdWJsZS1zbGFzaC40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjMiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVmaW5pdGlvbi5jb21tZW50LjRkIgogICAgICAgICAgICB9LAogICAgICAgICAgICAiNCI6IHsKICAgICAgICAgICAgICAibmFtZSI6ICJzdG9yYWdlLnR5cGUuaW50ZXJuYWxkZWNsYXJhdGlvbi40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjUiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVjb3JhdG9yLmludGVybmFsZGVjbGFyYXRpb24uNGQiCiAgICAgICAgICAgIH0KICAgICAgICAgIH0sCiAgICAgICAgICAiZW5kIjogIig/PSQpIiwKICAgICAgICAgICJjb250ZW50TmFtZSI6ICJjb21tZW50LmxpbmUuZG91YmxlLXNsYXNoLjRkIgogICAgICAgIH0KICAgICAgXQogICAgfQogIH0KfQo=",typeof document>"u"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1592});$("./language-configuration.json",new URL("data:application/json;base64,ewogICJjb21tZW50cyI6IHsKICAgICJsaW5lQ29tbWVudCI6ICIvLyIsCiAgICAiYmxvY2tDb21tZW50IjogWyIvKioiLCAiKiovIl0KICB9LAogIC8vIHN5bWJvbHMgdXNlZCBhcyBicmFja2V0cwogICJicmFja2V0cyI6IFsKICAgIFsieyIsICJ9Il0sCiAgICBbIigiLCAiKSJdLAogICAgWyJbIiwgIl0iXQogIF0sCiAgLy8gc3ltYm9scyB0aGF0IGFyZSBhdXRvIGNsb3NlZCB3aGVuIHR5cGluZwogIC8vIHN5bWJvbHMgdGhhdCB0aGF0IGNhbiBiZSB1c2VkIHRvIHN1cnJvdW5kIGEgc2VsZWN0aW9uCiAgInN1cnJvdW5kaW5nUGFpcnMiOiBbCiAgICBbInsiLCAifSJdLAogICAgWyJbIiwgIl0iXSwKICAgIFsiKCIsICIpIl0sCiAgICBbIlwiIiwgIlwiIl0sCiAgICBbIiciLCAiJyJdCiAgXSwKICAiYXV0b0Nsb3NpbmdQYWlycyI6IFsKICAgIHsKICAgICAgIm9wZW4iOiAiKCIsCiAgICAgICJjbG9zZSI6ICIpIgogICAgfSwKICAgIHsgIm9wZW4iOiAieyIsICJjbG9zZSI6ICJ9IiB9LAogICAgeyAib3BlbiI6ICJbIiwgImNsb3NlIjogIl0iIH0sCiAgICB7ICJvcGVuIjogIiciLCAiY2xvc2UiOiAiJyIsICJub3RJbiI6IFsic3RyaW5nIiwgImNvbW1lbnQiXSB9LAogICAgeyAib3BlbiI6ICJcIiIsICJjbG9zZSI6ICJcIiIsICJub3RJbiI6IFsic3RyaW5nIl0gfSwKICAgIHsgIm9wZW4iOiAiYCIsICJjbG9zZSI6ICJgIiwgIm5vdEluIjogWyJzdHJpbmciLCAiY29tbWVudCJdIH0sCiAgICB7ICJvcGVuIjogIi8qKiIsICJjbG9zZSI6ICIgKiovIiwgIm5vdEluIjogWyJzdHJpbmciXSB9CiAgXSwKICAiYXV0b0Nsb3NlQmVmb3JlIjogIjs6Liw9fV0pPmAgXG5cdCIsCiAgIndvcmRQYXR0ZXJuIjogIigtP1xcZCpcXC5cXGRcXHcqKXwoW15cXGBcXH5cXCFcXEBcXCNcXCVcXF5cXCZcXCpcXChcXClcXC1cXD1cXCtcXFtcXHtcXF1cXH1cXFxcXFx8XFw7XFw6XFwnXFxcIlxcLFxcLlxcPFxcPlxcL1xcP1xcclxcblxcdFxcZlxcdiBdKyl8KD88PVthLXpBLVpdKSA/KD89W2EtekEtWl0pIiwKICAiaW5kZW50YXRpb25SdWxlcyI6IHsKICAgICJpbmNyZWFzZUluZGVudFBhdHRlcm4iOiB7CiAgICAgICJwYXR0ZXJuIjogIiheKD8hW15cXHNdKSpcXHMqKGNsYXNzIGNvbnN0cnVjdG9yKSl8KF4oPyFbXlxcc10pKlxccyooZXhwb3NlZHxsb2NhbHxcXHMqKXsxfVxccypmdW5jdGlvbnsxfVxccypcXHcpfCheKD8hW15cXHNdKSpcXHMqKElmfEVsc2V8Rm9yfEZvciBlYWNofFdoaWxlfEJlZ2luIFNRTHxDYXNlIG9mfFVzZXxSZXBlYXR8OiAqXFwoLiopKS4qJCIsCiAgICAgICJmbGFncyI6ICJpIgogICAgfSwKICAgICJkZWNyZWFzZUluZGVudFBhdHRlcm4iOiB7CiAgICAgICJwYXR0ZXJuIjogIiheKD8hW15cXHNdKSpcXHMqKGV4cG9zZWR8bG9jYWx8XFxzKil7MX1cXHMqZnVuY3Rpb257MX1cXHMqXFx3KXwoRW5kIElmfEVuZCBGb3J8RWxzZXxFbmQgZm9yIGVhY2h8RW5kIFdoaWxlfEVuZCBTUUx8RW5kIGNhc2V8RW5kIHVzZXxVbnRpbHw6ICpcXCguKikuKiQiLAogICAgICAiZmxhZ3MiOiAiaSIKICAgIH0KICB9LAogICJvbkVudGVyUnVsZXMiOiBbCiAgICB7CiAgICAgICJiZWZvcmVUZXh0IjogewogICAgICAgICJwYXR0ZXJuIjogIl5leHBvc2VkIiwKICAgICAgICAiZmxhZ3MiOiAiaSIKICAgICAgfSwKICAgICAgImFjdGlvbiI6IHsgImluZGVudCI6ICJpbmRlbnQiLCAiaW5kZW50QWN0aW9uIjogMSB9CiAgICB9CiAgXQp9Cg==",typeof document>"u"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1723});$("package.json",new URL("data:application/json;base64,ewogICJuYW1lIjogIjRkIiwKICAiZGlzcGxheU5hbWUiOiAiJWRpc3BsYXlOYW1lJSIsCiAgImRlc2NyaXB0aW9uIjogIiVkZXNjcmlwdGlvbiUiLAogICJ2ZXJzaW9uIjogIjEuMC4wIiwKICAicHVibGlzaGVyIjogInZzY29kZSIsCiAgImxpY2Vuc2UiOiAiTUlUIiwKICAiZW5naW5lcyI6IHsKICAgICJ2c2NvZGUiOiAiMC4xMC54IgogIH0sCiAgInNjcmlwdHMiOiB7CiAgICAidXBkYXRlLWdyYW1tYXIiOiAibm9kZSAuLi9ub2RlX21vZHVsZXMvdnNjb2RlLWdyYW1tYXItdXBkYXRlci9iaW4gbWljcm9zb2Z0L3ZzY29kZS00ZCBncmFtbWFycy80ZC5jc29uIC4vc3ludGF4ZXMvNGQudG1MYW5ndWFnZS5qc29uIgogIH0sCiAgImNhdGVnb3JpZXMiOiBbCiAgICAiUHJvZ3JhbW1pbmcgTGFuZ3VhZ2VzIgogIF0sCiAgImNvbnRyaWJ1dGVzIjogewogICAgImxhbmd1YWdlcyI6IFsKICAgICAgewogICAgICAgICJpZCI6ICI0ZCIsCiAgICAgICAgImFsaWFzZXMiOiBbCiAgICAgICAgICAiNEQiLAogICAgICAgICAgIjRkIgogICAgICAgIF0sCiAgICAgICAgImV4dGVuc2lvbnMiOiBbCiAgICAgICAgICAiLjRkbSIsCiAgICAgICAgICAiLjRxcyIKICAgICAgICBdLAogICAgICAgICJjb25maWd1cmF0aW9uIjogIi4vbGFuZ3VhZ2UtY29uZmlndXJhdGlvbi5qc29uIgogICAgICB9CiAgICBdLAogICAgImdyYW1tYXJzIjogWwogICAgICB7CiAgICAgICAgImxhbmd1YWdlIjogIjRkIiwKICAgICAgICAic2NvcGVOYW1lIjogInNvdXJjZS40ZG0iLAogICAgICAgICJwYXRoIjogIi4vc3ludGF4ZXMvNGQudG1MYW5ndWFnZS5qc29uIgogICAgICB9CiAgICBdCiAgfSwKICAicmVwb3NpdG9yeSI6IHsKICAgICJ0eXBlIjogImdpdCIsCiAgICAidXJsIjogImh0dHBzOi8vZ2l0aHViLmNvbS9taWNyb3NvZnQvdnNjb2RlLmdpdCIKICB9Cn0K",typeof document>"u"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1006});$("package.nls.json",new URL("data:application/json;base64,ewogICJkaXNwbGF5TmFtZSI6ICI0RCBMYW5ndWFnZSBCYXNpY3MiLAogICJkZXNjcmlwdGlvbiI6ICJQcm92aWRlcyBzeW50YXggaGlnaGxpZ2h0aW5nIGFuZCBicmFja2V0IG1hdGNoaW5nIGZvciA0RE0gYW5kIDRRUyBmaWxlcy4iCn0K",typeof document>"u"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:135});exports.Alerts=wt;exports.CodeEditor=St;exports.CodeEditorProvider=it;exports.FdLineNumbers=ye;exports.LSPProvider=tt;exports.SUPPORTED_THEMES=U;exports._await=re;exports.configureServices=Ce;exports.getFileSystemPath=T;exports.getFunctionOffset=_e;exports.initMonacoUserConfiguration=Ie;exports.isCssModel=pe;exports.jumpToLine=fe;exports.jumpToSelection=me;exports.useCodeEditor=Se;exports.useLSP=nt;
|
|
117
|
+
`+o).replace(/\s*:\s*/g,": "),i=i.split(`
|
|
118
|
+
`).map(n=>n.trim()==="}"?"}":n.trimEnd()).filter((n,s,a)=>!(n===""&&a[s+1]==="")).join(`
|
|
119
|
+
`).trim(),i}const Zs={provideDocumentFormattingEdits(e,r){const t=e.getValue();try{const o=Ys(t,r.tabSize);return[{range:e.getFullModelRange(),text:o}]}catch{return[]}}};function Ys(e,r=2){const t=JSON.parse(e);return JSON.stringify(t,null,r)}const Js=new RegExp("^[ s]+(exposed|Function)","i"),Wn=({lineNumber:e,editor:r,type:t,source:o})=>{var c;const i=t===ve.FileFolderType.METHOD||t===ve.FileFolderType.DEBUGGER&&((c=o==null?void 0:o.codeDescriptorInfo)==null?void 0:c.type)===ve.SourceCodeDescriptor.METHOD;if(e===1)return i?"":"1";const n=r==null?void 0:r.getModel(),s=(n==null?void 0:n.getLinesContent())||[],a=Array(s.length).fill("-");let l=i?0:1;for(let d=1;d<s.length;d++)(d===1?"":s[d-1]).endsWith("\\")||(l+=1,a[d]=l.toString());return a[e-1]},bo=()=>w.jsx("div",{className:"absolute inset-0 animate-pulse",children:w.jsx("div",{className:"w-full space-y-4 px-4 py-1",children:w.jsxs("div",{className:"space-y-2",children:[w.jsx("div",{className:"h-3 w-3/4 rounded bg-grey-200"}),w.jsx("div",{className:"h-3 rounded bg-grey-200"}),w.jsx("div",{className:"h-3 w-5/6 rounded bg-grey-200"}),w.jsx("div",{className:"h-3 rounded bg-grey-200"}),w.jsx("div",{className:"h-3 rounded bg-grey-200"})]})})}),Jt=["fd-dark"],Tt={css:[],json:[]},Us=({path:e,initialValue:r,type:t,language:o,onChange:i,options:n={},extra:s={},lspProps:a,theme:l=Jt[0],...c})=>{const{initialLineInfo:d,initialSelectionInfo:g}=s,{editor:h,setEditor:y}=Mn(),{inited:N}=a;function x(p){o==="css"&&p.languages.css&&(p.languages.registerCompletionItemProvider("css",js),p.languages.css.cssDefaults.setModeConfiguration({...p.languages.css.cssDefaults.modeConfiguration,documentFormattingEdits:!1,documentRangeFormattingEdits:!1}),Tt.css.forEach(f=>f.dispose()),Tt.css.push(p.languages.registerDocumentFormattingEditProvider("css",Ks))),o==="json"&&p.languages.json&&(p.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"condition-schema.json",fileMatch:["*.condition.json"],schema:Ts},{uri:"handlers-schema.json",fileMatch:[ve.HTTP_HANDLERS_TAB_PATH],schema:Ps}]}),p.languages.json.jsonDefaults.setModeConfiguration({...p.languages.json.jsonDefaults.modeConfiguration,documentFormattingEdits:!1,documentRangeFormattingEdits:!1}),Tt.json.forEach(f=>f.dispose()),Tt.json.push(p.languages.registerDocumentFormattingEditProvider("json",Zs)))}function m(p,f){y(p);const v=p.getModel();if(v&&(v.updateOptions({insertSpaces:!1}),p.onKeyUp(()=>{var S;const u=(S=p.getPosition())==null?void 0:S.lineNumber;if(u){const A=v.getLineFirstNonWhitespaceColumn(u),C=v.getLineLength(u),O=v.getLineContent(u);Js.test(O)&&p.executeEdits("edit-handler",[{range:new f.Range(u,0,u,C),text:O.substr(A-1,C-A)}])}})),On(v)){const u=["editor.action.revealDefinition","editor.action.goToReferences","submenuitem.EditorContextPeek"],S=p.getContribution("editor.contrib.contextmenu"),A=S._getMenuActions;S._getMenuActions=function(){return A.apply(S,arguments).filter(function(O){return!u.includes(O.id)})}}if(t===ve.FileFolderType.METHOD&&ve.hasAttributesString(r)){const u=new Gs(p,!0);u.exclude(1,1,1,Number.POSITIVE_INFINITY),u.enable()}}E.useEffect(()=>{if(!h)return;const{line:p,offset:f}=d||{};p&&An(h,p,f)},[d,h]),E.useEffect(()=>{if(!h)return;const{selection:p}=g||{};p&&_n(h,p)},[g,h]);const k=p=>Jt.includes(p)?p:Jt[0];return N?w.jsx(Pr.Editor,{options:{readOnly:!0,fontSize:12,"semanticHighlighting.enabled":!0,padding:{top:10},lineNumbers:o==="4d"?p=>Wn({lineNumber:p,editor:h,type:t,source:s==null?void 0:s.source}):void 0,scrollBeyondLastLine:!1,...n},path:Ae(e),value:r,theme:k(l),onChange:p=>i&&i(p||""),language:o,beforeMount:x,onMount:m,loading:w.jsx(bo,{}),...c}):w.jsx("div",{className:"relative flex-1 w-full",children:w.jsx(bo,{})})};var Tn={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},wo=E.createContext&&E.createContext(Tn),Ue=function(){return Ue=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Ue.apply(this,arguments)},Qs=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)r.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]]);return t};function Ln(e){return e&&e.map(function(r,t){return E.createElement(r.tag,Ue({key:t},r.attr),Ln(r.child))})}function Vn(e){return function(r){return E.createElement(ea,Ue({attr:Ue({},e.attr)},r),Ln(e.child))}}function ea(e){var r=function(t){var o=e.attr,i=e.size,n=e.title,s=Qs(e,["attr","size","title"]),a=i||t.size||"1em",l;return t.className&&(l=t.className),e.className&&(l=(l?l+" ":"")+e.className),E.createElement("svg",Ue({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,o,s,{className:l,style:Ue(Ue({color:e.color||t.color},t.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),n&&E.createElement("title",null,n),e.children)};return wo!==void 0?E.createElement(wo.Consumer,null,function(t){return r(t)}):r(Tn)}function ta(e){return Vn({attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 10.5858L9.17157 7.75736L7.75736 9.17157L10.5858 12L7.75736 14.8284L9.17157 16.2426L12 13.4142L14.8284 16.2426L16.2426 14.8284L13.4142 12L16.2426 9.17157L14.8284 7.75736L12 10.5858Z"}}]})(e)}function ra(e){return Vn({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0080 446.25h340.89a32 32 0 0028.18-47.17zm-198.6-1.83a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.95a21.73 21.73 0 0121.5-22.69h.21a21.74 21.74 0 0121.73 22.7z"}}]})(e)}(function(){try{const e=document.createElement("style");e.setAttribute("data-vite-dev-id","ui-components.css"),e.textContent=`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}:root:not(#\\#),:host:not(#\\#){--color-green-500:oklch(72.3% .219 149.579);--color-blue-500:oklch(62.3% .214 259.815);--color-pink-500:oklch(65.6% .241 354.308);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-800:oklch(27.8% .033 256.848);--color-white:#fff;--spacing:.25rem;--container-md:28rem;--text-xs:.65rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-6xl:3.75rem;--text-6xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--text-9xl:8rem;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-bounce:bounce 1s infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--color-grey-50:var(--ws-grey-50);--color-grey-100:var(--ws-grey-100);--color-grey-200:var(--ws-grey-200);--color-grey-300:var(--ws-grey-300);--color-grey-400:var(--ws-grey-400);--color-grey-500:var(--ws-grey-500);--color-grey-600:var(--ws-grey-600);--color-grey-700:var(--ws-grey-700);--color-grey-800:var(--ws-grey-800);--color-primary-500:var(--ws-primary-500);--color-primary-600:var(--ws-primary-600);--color-primary-700:var(--ws-primary-700);--color-positive-200:var(--ws-positive-200);--color-positive-400:var(--ws-positive-400);--color-positive-500:var(--ws-positive-500);--color-positive-600:var(--ws-positive-600);--color-warning-500:var(--ws-warning-500);--color-negative-400:var(--ws-negative-400);--color-negative-500:var(--ws-negative-500);--text-xxs:.55rem;--text-s:.75rem;--min-height-6:1.5rem;--color-canvas-default:var(--ws-bg-default);--color-canvas-subtle:var(--ws-grey-100);--color-panel:var(--ws-grey-300);--color-panel-subtle:var(--ws-grey-200);--color-card:var(--ws-card-bg);--color-card-border:var(--ws-card-border);--color-body:var(--ws-bg-foreground);--color-body-bg:var(--ws-bg-default);--color-body-light:var(--ws-grey-100);--color-muted:var(--ws-text-muted);--color-neutral:var(--ws-grey-200);--color-button-text:var(--ws-button-fg);--color-primary:var(--ws-primary-default);--color-primary-hover:var(--ws-primary-hover);--color-primary-light:var(--ws-primary-light);--color-primary-dark:var(--ws-primary-dark);--color-positive:var(--ws-positive-500);--color-positive-hover:var(--ws-positive-hover);--color-positive-text:var(--ws-positive-text);--color-positive-bg:var(--ws-positive-bg);--color-positive-light:var(--ws-positive-light);--color-positive-dark:var(--ws-positive-dark);--color-negative:var(--ws-negative-500);--color-negative-hover:var(--ws-negative-hover);--color-negative-text:var(--ws-negative-text);--color-negative-bg:var(--ws-negative-bg);--color-negative-light:var(--ws-negative-light);--color-negative-dark:var(--ws-negative-dark);--color-warning:var(--ws-warning-500);--color-warning-hover:var(--ws-warning-hover);--color-warning-text:var(--ws-warning-text);--color-warning-bg:var(--ws-warning-bg);--color-warning-light:var(--ws-warning-light);--color-warning-dark:var(--ws-warning-dark);--color-input-bg:var(--ws-input-bg);--color-input-border:var(--ws-input-border);--color-input-text:var(--ws-input-text);--color-input-placeholder:var(--ws-input-placeholder);--color-input-focus-border:var(--ws-input-focus-border);--color-select-border:var(--ws-select-border);--color-select-text:var(--ws-select-text);--color-select-list-bg:var(--ws-select-list-bg);--color-input-option-hover-bg:var(--ws-input-option-hover-bg);--color-input-option-active-bg:var(--ws-input-option-active-bg);--color-input-option-active-text:var(--ws-input-option-active-text);--color-input-error-border:var(--ws-input-error-border);--color-input-error-bg:var(--ws-input-error-bg);--color-input-warning-border:var(--ws-input-warning-border);--color-input-warning-bg:var(--ws-input-warning-bg);--color-input-message-bg:var(--ws-input-message-bg);--color-input-message-text:var(--ws-input-message-text);--color-input-disable:var(--ws-disable-input);--color-inactive-text:var(--ws-inactive-text);--color-panel-0:var(--ws-panel-0);--color-panel-1:var(--ws-panel-1);--color-panel-2:var(--ws-panel-2);--color-panel-3:var(--ws-panel-3);--color-panel-4:var(--ws-panel-4);--color-panel-5:var(--ws-panel-5);--color-panel-border-subtle:var(--ws-panel-border-subtle);--color-tab-bg-default:var(--ws-tab-bg-default);--color-tab-border:var(--ws-tab-border);--color-tab-active-bg:var(--ws-tab-active-bg);--color-tab-active-fg:var(--ws-tab-active-fg);--color-tab-inactive-bg:var(--ws-tab-inactive-bg);--color-tab-inactive-fg:var(--ws-tab-inactive-fg);--color-panel-border:var(--ws-panel-border)}.pointer-events-auto:not(#\\#){pointer-events:auto}.pointer-events-none:not(#\\#){pointer-events:none}.collapse:not(#\\#){visibility:collapse}.visible:not(#\\#){visibility:visible}.sr-only:not(#\\#){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute:not(#\\#){position:absolute}.fixed:not(#\\#){position:fixed}.relative:not(#\\#){position:relative}.static:not(#\\#){position:static}.inset-0:not(#\\#){inset:calc(var(--spacing)*0)}.-top-1\\/5:not(#\\#){top:-20%}.top-0:not(#\\#){top:calc(var(--spacing)*0)}.top-1:not(#\\#){top:calc(var(--spacing)*1)}.top-full:not(#\\#){top:100%}.-right-12:not(#\\#){right:calc(var(--spacing)*-12)}.-right-px:not(#\\#){right:-1px}.right-0:not(#\\#){right:calc(var(--spacing)*0)}.right-1:not(#\\#){right:calc(var(--spacing)*1)}.bottom-0:not(#\\#){bottom:calc(var(--spacing)*0)}.bottom-full:not(#\\#){bottom:100%}.-left-px:not(#\\#){left:-1px}.left-0:not(#\\#){left:calc(var(--spacing)*0)}.left-0\\.5:not(#\\#){left:calc(var(--spacing)*.5)}.left-1\\/2:not(#\\#){left:50%}.left-3\\.5:not(#\\#){left:calc(var(--spacing)*3.5)}.left-4:not(#\\#){left:calc(var(--spacing)*4)}.left-4\\.5:not(#\\#){left:calc(var(--spacing)*4.5)}.left-5\\.5:not(#\\#){left:calc(var(--spacing)*5.5)}.left-full:not(#\\#){left:100%}.z-1:not(#\\#){z-index:1}.z-2:not(#\\#){z-index:2}.z-10:not(#\\#){z-index:10}.z-40:not(#\\#){z-index:40}.z-50:not(#\\#){z-index:50}.z-60:not(#\\#){z-index:60}.z-9999:not(#\\#){z-index:9999}.container:not(#\\#){width:100%}@media(min-width:40rem){.container:not(#\\#){max-width:40rem}}@media(min-width:48rem){.container:not(#\\#){max-width:48rem}}@media(min-width:64rem){.container:not(#\\#){max-width:64rem}}@media(min-width:80rem){.container:not(#\\#){max-width:80rem}}@media(min-width:96rem){.container:not(#\\#){max-width:96rem}}.m-0:not(#\\#){margin:calc(var(--spacing)*0)}.m-0\\.5:not(#\\#){margin:calc(var(--spacing)*.5)}.m-px:not(#\\#){margin:1px}.mx-1:not(#\\#){margin-inline:calc(var(--spacing)*1)}.-my-1:not(#\\#){margin-block:calc(var(--spacing)*-1)}.mt-1:not(#\\#){margin-top:calc(var(--spacing)*1)}.mt-2:not(#\\#){margin-top:calc(var(--spacing)*2)}.mt-4:not(#\\#){margin-top:calc(var(--spacing)*4)}.mt-8:not(#\\#){margin-top:calc(var(--spacing)*8)}.mr-1:not(#\\#){margin-right:calc(var(--spacing)*1)}.mr-2:not(#\\#){margin-right:calc(var(--spacing)*2)}.mb-1:not(#\\#){margin-bottom:calc(var(--spacing)*1)}.mb-2:not(#\\#){margin-bottom:calc(var(--spacing)*2)}.mb-4:not(#\\#){margin-bottom:calc(var(--spacing)*4)}.ml-1:not(#\\#){margin-left:calc(var(--spacing)*1)}.ml-1\\.5:not(#\\#){margin-left:calc(var(--spacing)*1.5)}.ml-2:not(#\\#){margin-left:calc(var(--spacing)*2)}.box-border:not(#\\#){box-sizing:border-box}.block:not(#\\#){display:block}.flex:not(#\\#){display:flex}.grid:not(#\\#){display:grid}.hidden:not(#\\#){display:none}.inline:not(#\\#){display:inline}.inline-block:not(#\\#){display:inline-block}.inline-flex:not(#\\#){display:inline-flex}.table:not(#\\#){display:table}.size-1\\.5:not(#\\#){width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-1\\.75:not(#\\#){width:calc(var(--spacing)*1.75);height:calc(var(--spacing)*1.75)}.size-2:not(#\\#){width:calc(var(--spacing)*2);height:calc(var(--spacing)*2)}.size-2\\.5:not(#\\#){width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-3:not(#\\#){width:calc(var(--spacing)*3);height:calc(var(--spacing)*3)}.size-3\\.5:not(#\\#){width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.size-3\\.25:not(#\\#){width:calc(var(--spacing)*3.25);height:calc(var(--spacing)*3.25)}.size-4:not(#\\#){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-5:not(#\\#){width:calc(var(--spacing)*5);height:calc(var(--spacing)*5)}.size-6:not(#\\#){width:calc(var(--spacing)*6);height:calc(var(--spacing)*6)}.size-fit:not(#\\#){width:fit-content;height:fit-content}.h-2:not(#\\#){height:calc(var(--spacing)*2)}.h-3:not(#\\#){height:calc(var(--spacing)*3)}.h-3\\.5:not(#\\#){height:calc(var(--spacing)*3.5)}.h-4:not(#\\#){height:calc(var(--spacing)*4)}.h-4\\.5:not(#\\#){height:calc(var(--spacing)*4.5)}.h-5:not(#\\#){height:calc(var(--spacing)*5)}.h-5\\.5:not(#\\#){height:calc(var(--spacing)*5.5)}.h-6:not(#\\#){height:calc(var(--spacing)*6)}.h-7:not(#\\#){height:calc(var(--spacing)*7)}.h-7\\.5:not(#\\#){height:calc(var(--spacing)*7.5)}.h-8:not(#\\#){height:calc(var(--spacing)*8)}.h-10:not(#\\#){height:calc(var(--spacing)*10)}.h-14:not(#\\#){height:calc(var(--spacing)*14)}.h-20:not(#\\#){height:calc(var(--spacing)*20)}.h-30:not(#\\#){height:calc(var(--spacing)*30)}.h-100:not(#\\#){height:calc(var(--spacing)*100)}.h-fit:not(#\\#){height:fit-content}.h-full:not(#\\#){height:100%}.h-screen:not(#\\#){height:100vh}.max-h-\\[400px\\]:not(#\\#){max-height:400px}.max-h-full:not(#\\#){max-height:100%}.min-h-5:not(#\\#){min-height:calc(var(--spacing)*5)}.min-h-6:not(#\\#){min-height:var(--min-height-6)}.min-h-7:not(#\\#){min-height:calc(var(--spacing)*7)}.min-h-\\[100px\\]:not(#\\#){min-height:100px}.min-h-fit:not(#\\#){min-height:fit-content}.min-h-screen:not(#\\#){min-height:100vh}.w-0\\.5:not(#\\#){width:calc(var(--spacing)*.5)}.w-1\\/2:not(#\\#){width:50%}.w-3:not(#\\#){width:calc(var(--spacing)*3)}.w-3\\.5:not(#\\#){width:calc(var(--spacing)*3.5)}.w-4:not(#\\#){width:calc(var(--spacing)*4)}.w-5:not(#\\#){width:calc(var(--spacing)*5)}.w-6:not(#\\#){width:calc(var(--spacing)*6)}.w-7:not(#\\#){width:calc(var(--spacing)*7)}.w-8:not(#\\#){width:calc(var(--spacing)*8)}.w-9:not(#\\#){width:calc(var(--spacing)*9)}.w-11:not(#\\#){width:calc(var(--spacing)*11)}.w-16:not(#\\#){width:calc(var(--spacing)*16)}.w-20:not(#\\#){width:calc(var(--spacing)*20)}.w-32:not(#\\#){width:calc(var(--spacing)*32)}.w-48:not(#\\#){width:calc(var(--spacing)*48)}.w-52:not(#\\#){width:calc(var(--spacing)*52)}.w-60:not(#\\#){width:calc(var(--spacing)*60)}.w-64:not(#\\#){width:calc(var(--spacing)*64)}.w-72:not(#\\#){width:calc(var(--spacing)*72)}.w-80:not(#\\#){width:calc(var(--spacing)*80)}.w-96:not(#\\#){width:calc(var(--spacing)*96)}.w-fit:not(#\\#){width:fit-content}.w-full:not(#\\#){width:100%}.w-px:not(#\\#){width:1px}.max-w-100:not(#\\#){max-width:calc(var(--spacing)*100)}.max-w-\\[300px\\]:not(#\\#){max-width:300px}.max-w-md:not(#\\#){max-width:var(--container-md)}.min-w-0:not(#\\#){min-width:calc(var(--spacing)*0)}.min-w-3\\.5:not(#\\#){min-width:calc(var(--spacing)*3.5)}.min-w-4\\.5:not(#\\#){min-width:calc(var(--spacing)*4.5)}.min-w-5:not(#\\#){min-width:calc(var(--spacing)*5)}.min-w-7\\.5:not(#\\#){min-width:calc(var(--spacing)*7.5)}.min-w-50:not(#\\#){min-width:calc(var(--spacing)*50)}.min-w-\\[150px\\]:not(#\\#){min-width:150px}.min-w-fit:not(#\\#){min-width:fit-content}.min-w-full:not(#\\#){min-width:100%}.flex-1:not(#\\#){flex:1}.flex-3:not(#\\#){flex:3}.flex-none:not(#\\#){flex:none}.shrink-0:not(#\\#){flex-shrink:0}.grow:not(#\\#){flex-grow:1}.origin-top-right:not(#\\#){transform-origin:100% 0}.-translate-x-1\\/2:not(#\\#){--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-full:not(#\\#){--tw-translate-x:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-0:not(#\\#){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-full:not(#\\#){--tw-translate-x:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-full:not(#\\#){--tw-translate-y:-100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-0:not(#\\#){--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-1\\/2:not(#\\#){--tw-translate-y: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full:not(#\\#){--tw-translate-y:100%;translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-0:not(#\\#){--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-95:not(#\\#){--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100:not(#\\#){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-110:not(#\\#){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x)var(--tw-scale-y)}.-rotate-45:not(#\\#){rotate:-45deg}.rotate-45:not(#\\#){rotate:45deg}.rotate-90:not(#\\#){rotate:90deg}.rotate-180:not(#\\#){rotate:180deg}.transform:not(#\\#){transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-bounce:not(#\\#){animation:var(--animate-bounce)}.cursor-auto:not(#\\#){cursor:auto}.cursor-not-allowed:not(#\\#){cursor:not-allowed}.cursor-pointer:not(#\\#){cursor:pointer}.cursor-se-resize:not(#\\#){cursor:se-resize}.resize:not(#\\#){resize:both}.resize-none:not(#\\#){resize:none}.list-disc:not(#\\#){list-style-type:disc}.appearance-none:not(#\\#){-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-2:not(#\\#){grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3:not(#\\#){grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col:not(#\\#){flex-direction:column}.flex-row:not(#\\#){flex-direction:row}.flex-wrap:not(#\\#){flex-wrap:wrap}.place-content-center:not(#\\#){place-content:center}.place-items-center:not(#\\#){place-items:center}.items-center:not(#\\#){align-items:center}.items-end:not(#\\#){align-items:flex-end}.items-start:not(#\\#){align-items:flex-start}.justify-around:not(#\\#){justify-content:space-around}.justify-between:not(#\\#){justify-content:space-between}.justify-center:not(#\\#){justify-content:center}.gap-0\\.5:not(#\\#){gap:calc(var(--spacing)*.5)}.gap-1:not(#\\#){gap:calc(var(--spacing)*1)}.gap-1\\.5:not(#\\#){gap:calc(var(--spacing)*1.5)}.gap-2:not(#\\#){gap:calc(var(--spacing)*2)}.gap-2\\.5:not(#\\#){gap:calc(var(--spacing)*2.5)}.gap-3:not(#\\#){gap:calc(var(--spacing)*3)}.gap-4:not(#\\#){gap:calc(var(--spacing)*4)}.gap-6:not(#\\#){gap:calc(var(--spacing)*6)}.gap-8:not(#\\#){gap:calc(var(--spacing)*8)}.gap-10:not(#\\#){gap:calc(var(--spacing)*10)}.gap-14:not(#\\#){gap:calc(var(--spacing)*14)}:where(.space-y-1>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-5>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)):not(#\\#){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-1:not(#\\#){column-gap:calc(var(--spacing)*1)}.gap-x-2:not(#\\#){column-gap:calc(var(--spacing)*2)}.gap-x-3:not(#\\#){column-gap:calc(var(--spacing)*3)}.gap-x-4:not(#\\#){column-gap:calc(var(--spacing)*4)}.gap-x-12:not(#\\#){column-gap:calc(var(--spacing)*12)}.gap-x-20:not(#\\#){column-gap:calc(var(--spacing)*20)}:where(.space-x-4>:not(:last-child)):not(#\\#){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing)*4)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-x-reverse)))}.truncate:not(#\\#){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden:not(#\\#){overflow:hidden}.overflow-y-auto:not(#\\#){overflow-y:auto}.scroll-auto:not(#\\#){scroll-behavior:auto}.rounded:not(#\\#){border-radius:.25rem}.rounded-full:not(#\\#){border-radius:3.40282e38px}.rounded-lg:not(#\\#){border-radius:var(--radius-lg)}.rounded-md:not(#\\#){border-radius:var(--radius-md)}.rounded-xs:not(#\\#){border-radius:var(--radius-xs)}.rounded-t:not(#\\#){border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-b:not(#\\#){border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-none:not(#\\#){border-bottom-right-radius:0;border-bottom-left-radius:0}.border:not(#\\#){border-style:var(--tw-border-style);border-width:1px}.border-0:not(#\\#){border-style:var(--tw-border-style);border-width:0}.border-2:not(#\\#){border-style:var(--tw-border-style);border-width:2px}.border-px:not(#\\#){border-width:1px}.divide:not(#\\#){border-width:.5px}.border-t:not(#\\#){border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0:not(#\\#){border-top-style:var(--tw-border-style);border-top-width:0}.border-r:not(#\\#){border-right-style:var(--tw-border-style);border-right-width:1px}.border-b:not(#\\#){border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-0:not(#\\#){border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-dashed:not(#\\#){--tw-border-style:dashed;border-style:dashed}.border-body:not(#\\#){border-color:var(--color-body)}.border-body-light:not(#\\#){border-color:var(--color-body-light)}.border-canvas-default:not(#\\#){border-color:var(--color-canvas-default)}.border-card-border:not(#\\#){border-color:var(--color-card-border)}.border-grey-100:not(#\\#){border-color:var(--color-grey-100)}.border-grey-200:not(#\\#){border-color:var(--color-grey-200)}.border-input-border:not(#\\#){border-color:var(--color-input-border)}.border-input-disable:not(#\\#){border-color:var(--color-input-disable)}.border-input-error-border:not(#\\#){border-color:var(--color-input-error-border)}.border-input-focus-border:not(#\\#){border-color:var(--color-input-focus-border)}.border-input-warning-border:not(#\\#){border-color:var(--color-input-warning-border)}.border-negative:not(#\\#){border-color:var(--color-negative)}.border-negative-500:not(#\\#){border-color:var(--color-negative-500)}.border-neutral:not(#\\#){border-color:var(--color-neutral)}.border-panel:not(#\\#){border-color:var(--color-panel)}.border-panel-border:not(#\\#){border-color:var(--color-panel-border)}.border-panel-border-subtle:not(#\\#){border-color:var(--color-panel-border-subtle)}.border-panel-subtle:not(#\\#){border-color:var(--color-panel-subtle)}.border-positive:not(#\\#){border-color:var(--color-positive)}.border-positive-text:not(#\\#){border-color:var(--color-positive-text)}.border-primary:not(#\\#){border-color:var(--color-primary)}.border-primary-700:not(#\\#){border-color:var(--color-primary-700)}.border-primary-hover:not(#\\#){border-color:var(--color-primary-hover)}.border-select-border:not(#\\#){border-color:var(--color-select-border)}.border-tab-border:not(#\\#){border-color:var(--color-tab-border)}.border-transparent:not(#\\#){border-color:#0000}.border-warning:not(#\\#){border-color:var(--color-warning)}.border-warning-bg:not(#\\#){border-color:var(--color-warning-bg)}.border-white:not(#\\#){border-color:var(--color-white)}.bg-blue-500:not(#\\#){background-color:var(--color-blue-500)}.bg-body:not(#\\#){background-color:var(--color-body)}.bg-body-bg:not(#\\#){background-color:var(--color-body-bg)}.bg-canvas-default:not(#\\#){background-color:var(--color-canvas-default)}.bg-canvas-subtle:not(#\\#){background-color:var(--color-canvas-subtle)}.bg-card:not(#\\#){background-color:var(--color-card)}.bg-gray-100:not(#\\#){background-color:var(--color-gray-100)}.bg-grey-50:not(#\\#){background-color:var(--color-grey-50)}.bg-grey-200:not(#\\#){background-color:var(--color-grey-200)}.bg-grey-300:not(#\\#){background-color:var(--color-grey-300)}.bg-grey-400:not(#\\#){background-color:var(--color-grey-400)}.bg-grey-500:not(#\\#){background-color:var(--color-grey-500)}.bg-grey-600:not(#\\#){background-color:var(--color-grey-600)}.bg-grey-700:not(#\\#){background-color:var(--color-grey-700)}.bg-grey-800:not(#\\#){background-color:var(--color-grey-800)}.bg-input-bg:not(#\\#){background-color:var(--color-input-bg)}.bg-input-border:not(#\\#){background-color:var(--color-input-border)}.bg-input-disable:not(#\\#){background-color:var(--color-input-disable)}.bg-input-error-bg:not(#\\#){background-color:var(--color-input-error-bg)}.bg-input-message-bg:not(#\\#){background-color:var(--color-input-message-bg)}.bg-input-option-active-bg:not(#\\#){background-color:var(--color-input-option-active-bg)}.bg-input-option-hover-bg:not(#\\#){background-color:var(--color-input-option-hover-bg)}.bg-input-text:not(#\\#){background-color:var(--color-input-text)}.bg-input-warning-bg:not(#\\#){background-color:var(--color-input-warning-bg)}.bg-negative:not(#\\#){background-color:var(--color-negative)}.bg-negative-400:not(#\\#){background-color:var(--color-negative-400)}.bg-negative-500:not(#\\#){background-color:var(--color-negative-500)}.bg-negative-bg:not(#\\#){background-color:var(--color-negative-bg)}.bg-negative-hover:not(#\\#){background-color:var(--color-negative-hover)}.bg-negative-light:not(#\\#){background-color:var(--color-negative-light)}.bg-panel:not(#\\#){background-color:var(--color-panel)}.bg-panel-0:not(#\\#){background-color:var(--color-panel-0)}.bg-panel-1:not(#\\#){background-color:var(--color-panel-1)}.bg-panel-2:not(#\\#){background-color:var(--color-panel-2)}.bg-panel-3:not(#\\#){background-color:var(--color-panel-3)}.bg-panel-4:not(#\\#){background-color:var(--color-panel-4)}.bg-panel-5:not(#\\#){background-color:var(--color-panel-5)}.bg-panel-subtle:not(#\\#){background-color:var(--color-panel-subtle)}.bg-positive:not(#\\#){background-color:var(--color-positive)}.bg-positive-200:not(#\\#){background-color:var(--color-positive-200)}.bg-positive-500:not(#\\#){background-color:var(--color-positive-500)}.bg-positive-bg:not(#\\#){background-color:var(--color-positive-bg)}.bg-positive-hover:not(#\\#){background-color:var(--color-positive-hover)}.bg-positive-light:not(#\\#){background-color:var(--color-positive-light)}.bg-primary:not(#\\#){background-color:var(--color-primary)}.bg-primary-500:not(#\\#){background-color:var(--color-primary-500)}.bg-primary-600:not(#\\#){background-color:var(--color-primary-600)}.bg-primary-hover:not(#\\#){background-color:var(--color-primary-hover)}.bg-primary-light:not(#\\#){background-color:var(--color-primary-light)}.bg-primary\\/30:not(#\\#){background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.bg-primary\\/30:not(#\\#){background-color:color-mix(in oklab,var(--color-primary)30%,transparent)}}.bg-select-list-bg:not(#\\#){background-color:var(--color-select-list-bg)}.bg-tab-active-bg:not(#\\#){background-color:var(--color-tab-active-bg)}.bg-tab-bg-default:not(#\\#){background-color:var(--color-tab-bg-default)}.bg-tab-inactive-bg:not(#\\#){background-color:var(--color-tab-inactive-bg)}.bg-transparent:not(#\\#){background-color:#0000}.bg-warning:not(#\\#){background-color:var(--color-warning)}.bg-warning-500:not(#\\#){background-color:var(--color-warning-500)}.bg-warning-bg:not(#\\#){background-color:var(--color-warning-bg)}.bg-warning-hover:not(#\\#){background-color:var(--color-warning-hover)}.bg-warning-light:not(#\\#){background-color:var(--color-warning-light)}.bg-white:not(#\\#){background-color:var(--color-white)}.bg-linear-to-r:not(#\\#){--tw-gradient-position:to right}@supports (background-image:linear-gradient(in lab,red,red)){.bg-linear-to-r:not(#\\#){--tw-gradient-position:to right in oklab}}.bg-linear-to-r:not(#\\#){background-image:linear-gradient(var(--tw-gradient-stops))}.from-green-500:not(#\\#){--tw-gradient-from:var(--color-green-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-primary:not(#\\#){--tw-gradient-from:var(--color-primary);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-blue-500:not(#\\#){--tw-gradient-to:var(--color-blue-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-pink-500:not(#\\#){--tw-gradient-to:var(--color-pink-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.stroke-current:not(#\\#){stroke:currentColor}.p-0:not(#\\#){padding:calc(var(--spacing)*0)}.p-0\\.5:not(#\\#){padding:calc(var(--spacing)*.5)}.p-1:not(#\\#){padding:calc(var(--spacing)*1)}.p-1\\!{padding:calc(var(--spacing)*1)!important}.p-1\\.5:not(#\\#){padding:calc(var(--spacing)*1.5)}.p-2:not(#\\#){padding:calc(var(--spacing)*2)}.p-2\\.5:not(#\\#){padding:calc(var(--spacing)*2.5)}.p-3:not(#\\#){padding:calc(var(--spacing)*3)}.p-4:not(#\\#){padding:calc(var(--spacing)*4)}.p-6:not(#\\#){padding:calc(var(--spacing)*6)}.p-8:not(#\\#){padding:calc(var(--spacing)*8)}.p-10:not(#\\#){padding:calc(var(--spacing)*10)}.p-50:not(#\\#){padding:calc(var(--spacing)*50)}.p-px:not(#\\#){padding:1px}.px-0\\.5:not(#\\#){padding-inline:calc(var(--spacing)*.5)}.px-1:not(#\\#){padding-inline:calc(var(--spacing)*1)}.px-1\\.5:not(#\\#){padding-inline:calc(var(--spacing)*1.5)}.px-2:not(#\\#){padding-inline:calc(var(--spacing)*2)}.px-3:not(#\\#){padding-inline:calc(var(--spacing)*3)}.px-4:not(#\\#){padding-inline:calc(var(--spacing)*4)}.px-6:not(#\\#){padding-inline:calc(var(--spacing)*6)}.px-7:not(#\\#){padding-inline:calc(var(--spacing)*7)}.px-8:not(#\\#){padding-inline:calc(var(--spacing)*8)}.py-0\\.5:not(#\\#){padding-block:calc(var(--spacing)*.5)}.py-1:not(#\\#){padding-block:calc(var(--spacing)*1)}.py-1\\.5:not(#\\#){padding-block:calc(var(--spacing)*1.5)}.py-2:not(#\\#){padding-block:calc(var(--spacing)*2)}.py-3:not(#\\#){padding-block:calc(var(--spacing)*3)}.pt-0\\.5:not(#\\#){padding-top:calc(var(--spacing)*.5)}.pt-1:not(#\\#){padding-top:calc(var(--spacing)*1)}.pt-1\\.5:not(#\\#){padding-top:calc(var(--spacing)*1.5)}.pt-2:not(#\\#){padding-top:calc(var(--spacing)*2)}.pl-1:not(#\\#){padding-left:calc(var(--spacing)*1)}.pl-4:not(#\\#){padding-left:calc(var(--spacing)*4)}.text-center:not(#\\#){text-align:center}.text-left:not(#\\#){text-align:left}.text-2xl:not(#\\#){font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl:not(#\\#){font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl:not(#\\#){font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl:not(#\\#){font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-6xl:not(#\\#){font-size:var(--text-6xl);line-height:var(--tw-leading,var(--text-6xl--line-height))}.text-7xl:not(#\\#){font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.text-8xl:not(#\\#){font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.text-9xl:not(#\\#){font-size:var(--text-9xl);line-height:var(--tw-leading,var(--text-9xl--line-height))}.text-base:not(#\\#){font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg:not(#\\#){font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm:not(#\\#){font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl:not(#\\#){font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs:not(#\\#){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-s:not(#\\#){font-size:var(--text-s)}.text-xxs:not(#\\#){font-size:var(--text-xxs)}.leading-3:not(#\\#){--tw-leading:calc(var(--spacing)*3);line-height:calc(var(--spacing)*3)}.leading-4:not(#\\#){--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-5:not(#\\#){--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-none:not(#\\#){--tw-leading:1;line-height:1}.font-bold:not(#\\#){--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium:not(#\\#){--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold:not(#\\#){--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.font-thin:not(#\\#){--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.whitespace-nowrap:not(#\\#){white-space:nowrap}.text-body:not(#\\#){color:var(--color-body)}.text-button-text:not(#\\#){color:var(--color-button-text)}.text-gray-50:not(#\\#){color:var(--color-gray-50)}.text-gray-400:not(#\\#){color:var(--color-gray-400)}.text-gray-500:not(#\\#){color:var(--color-gray-500)}.text-gray-800:not(#\\#){color:var(--color-gray-800)}.text-grey-100:not(#\\#){color:var(--color-grey-100)}.text-grey-200:not(#\\#){color:var(--color-grey-200)}.text-grey-300:not(#\\#){color:var(--color-grey-300)}.text-grey-700:not(#\\#){color:var(--color-grey-700)}.text-inactive-text:not(#\\#){color:var(--color-inactive-text)}.text-inherit:not(#\\#){color:inherit}.text-input-disable:not(#\\#){color:var(--color-input-disable)}.text-input-message-text:not(#\\#){color:var(--color-input-message-text)}.text-input-option-active-text:not(#\\#){color:var(--color-input-option-active-text)}.text-input-placeholder:not(#\\#){color:var(--color-input-placeholder)}.text-input-text:not(#\\#){color:var(--color-input-text)}.text-muted:not(#\\#){color:var(--color-muted)}.text-negative:not(#\\#){color:var(--color-negative)}.text-negative-500:not(#\\#){color:var(--color-negative-500)}.text-negative-dark:not(#\\#){color:var(--color-negative-dark)}.text-negative-text:not(#\\#){color:var(--color-negative-text)}.text-panel-subtle:not(#\\#){color:var(--color-panel-subtle)}.text-positive:not(#\\#){color:var(--color-positive)}.text-positive-500:not(#\\#){color:var(--color-positive-500)}.text-positive-600:not(#\\#){color:var(--color-positive-600)}.text-positive-dark:not(#\\#){color:var(--color-positive-dark)}.text-positive-text:not(#\\#),.text-positive-text\\/70:not(#\\#){color:var(--color-positive-text)}@supports (color:color-mix(in lab,red,red)){.text-positive-text\\/70:not(#\\#){color:color-mix(in oklab,var(--color-positive-text)70%,transparent)}}.text-primary:not(#\\#){color:var(--color-primary)}.text-primary-dark:not(#\\#){color:var(--color-primary-dark)}.text-primary-hover:not(#\\#){color:var(--color-primary-hover)}.text-select-text:not(#\\#){color:var(--color-select-text)}.text-tab-active-fg:not(#\\#){color:var(--color-tab-active-fg)}.text-tab-inactive-fg:not(#\\#){color:var(--color-tab-inactive-fg)}.text-warning:not(#\\#){color:var(--color-warning)}.text-warning-dark:not(#\\#){color:var(--color-warning-dark)}.text-warning-text:not(#\\#){color:var(--color-warning-text)}.capitalize:not(#\\#){text-transform:capitalize}.lowercase:not(#\\#){text-transform:lowercase}.uppercase:not(#\\#){text-transform:uppercase}.italic:not(#\\#){font-style:italic}.underline:not(#\\#){text-decoration-line:underline}.decoration-transparent:not(#\\#){text-decoration-color:#0000}.opacity-0:not(#\\#){opacity:0}.opacity-50:not(#\\#){opacity:.5}.opacity-60:not(#\\#){opacity:.6}.opacity-80:not(#\\#){opacity:.8}.opacity-100:not(#\\#){opacity:1}.shadow:not(#\\#){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-inner:not(#\\#){--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg:not(#\\#){--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md:not(#\\#){--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs:not(#\\#){--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0:not(#\\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1:not(#\\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-input-error-border:not(#\\#){--tw-ring-color:var(--color-input-error-border)}.ring-input-focus-border:not(#\\#){--tw-ring-color:var(--color-input-focus-border)}.ring-input-warning-border:not(#\\#){--tw-ring-color:var(--color-input-warning-border)}.ring-positive:not(#\\#){--tw-ring-color:var(--color-positive)}.outline-hidden:not(#\\#){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.outline-hidden:not(#\\#){outline-offset:2px;outline:2px solid #0000}}.outline:not(#\\#),.outline-1:not(#\\#){outline-style:var(--tw-outline-style);outline-width:1px}.outline-s:not(#\\#){outline-width:.5px}.outline-xs:not(#\\#){outline-width:.3px}.outline-xxs:not(#\\#){outline-width:.1px}.outline-canvas-default:not(#\\#){outline-color:var(--color-canvas-default)}.outline-primary:not(#\\#){outline-color:var(--color-primary)}.blur:not(#\\#){--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter:not(#\\#){filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition:not(#\\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all:not(#\\#){transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors:not(#\\#){transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity:not(#\\#){transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform:not(#\\#){transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150:not(#\\#){--tw-duration:.15s;transition-duration:.15s}.duration-200:not(#\\#){--tw-duration:.2s;transition-duration:.2s}.duration-300:not(#\\#){--tw-duration:.3s;transition-duration:.3s}.ease-in-out:not(#\\#){--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out:not(#\\#){--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-solid:not(#\\#){--tw-outline-style:solid;outline-style:solid}.select-none:not(#\\#){-webkit-user-select:none;user-select:none}@media(hover:hover){.group-hover\\:flex:is(:where(.group):hover *):not(#\\#){display:flex}.group-hover\\:grid:is(:where(.group):hover *):not(#\\#){display:grid}.group-hover\\:border-body:is(:where(.group):hover *):not(#\\#){border-color:var(--color-body)}.group-hover\\:border-negative-text:is(:where(.group):hover *):not(#\\#){border-color:var(--color-negative-text)}.group-hover\\:border-positive-text:is(:where(.group):hover *):not(#\\#){border-color:var(--color-positive-text)}.group-hover\\:border-warning-text:is(:where(.group):hover *):not(#\\#){border-color:var(--color-warning-text)}.group-hover\\:bg-grey-400:is(:where(.group):hover *):not(#\\#){background-color:var(--color-grey-400)}.group-hover\\:bg-negative-hover:is(:where(.group):hover *):not(#\\#){background-color:var(--color-negative-hover)}.group-hover\\:bg-negative-light:is(:where(.group):hover *):not(#\\#){background-color:var(--color-negative-light)}.group-hover\\:bg-positive-hover:is(:where(.group):hover *):not(#\\#){background-color:var(--color-positive-hover)}.group-hover\\:bg-positive-light:is(:where(.group):hover *):not(#\\#){background-color:var(--color-positive-light)}.group-hover\\:bg-primary-hover:is(:where(.group):hover *):not(#\\#){background-color:var(--color-primary-hover)}.group-hover\\:bg-primary-light:is(:where(.group):hover *):not(#\\#){background-color:var(--color-primary-light)}.group-hover\\:bg-warning-hover:is(:where(.group):hover *):not(#\\#){background-color:var(--color-warning-hover)}.group-hover\\:bg-warning-light:is(:where(.group):hover *):not(#\\#){background-color:var(--color-warning-light)}.group-hover\\:opacity-100:is(:where(.group):hover *):not(#\\#){opacity:1}}.placeholder\\:text-sm:not(#\\#)::placeholder{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.placeholder\\:text-xs:not(#\\#)::placeholder{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.placeholder\\:text-s:not(#\\#)::placeholder{font-size:var(--text-s)}.placeholder\\:text-input-placeholder:not(#\\#)::placeholder{color:var(--color-input-placeholder)}.placeholder\\:opacity-60:not(#\\#)::placeholder{opacity:.6}.first\\:bottom-full:first-child:not(#\\#){bottom:100%}.first\\:-ml-1\\.5:first-child:not(#\\#){margin-left:calc(var(--spacing)*-1.5)}.first\\:rounded-t:first-child:not(#\\#){border-top-left-radius:.25rem;border-top-right-radius:.25rem}.first\\:rounded-l:first-child:not(#\\#){border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.last\\:top-full:last-child:not(#\\#){top:100%}.last\\:-mr-1\\.5:last-child:not(#\\#){margin-right:calc(var(--spacing)*-1.5)}.last\\:rounded-r:last-child:not(#\\#){border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.last\\:rounded-b:last-child:not(#\\#){border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.only\\:top-full:only-child:not(#\\#){top:100%}.only\\:-mx-0\\.5:only-child:not(#\\#){margin-inline:calc(var(--spacing)*-.5)}.only\\:rounded:only-child:not(#\\#){border-radius:.25rem}.only\\:ring-1:only-child:not(#\\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\\:border-input-error-border:focus-within:not(#\\#){border-color:var(--color-input-error-border)}.focus-within\\:border-input-focus-border:focus-within:not(#\\#){border-color:var(--color-input-focus-border)}.focus-within\\:border-input-warning-border:focus-within:not(#\\#){border-color:var(--color-input-warning-border)}.focus-within\\:border-positive:focus-within:not(#\\#){border-color:var(--color-positive)}@media(hover:hover){.hover\\:border-canvas-default:hover:not(#\\#){border-color:var(--color-canvas-default)}.hover\\:border-canvas-subtle:hover:not(#\\#){border-color:var(--color-canvas-subtle)}.hover\\:border-negative-hover:hover:not(#\\#){border-color:var(--color-negative-hover)}.hover\\:border-positive-hover:hover:not(#\\#){border-color:var(--color-positive-hover)}.hover\\:border-primary-hover:hover:not(#\\#){border-color:var(--color-primary-hover)}.hover\\:border-warning-hover:hover:not(#\\#){border-color:var(--color-warning-hover)}.hover\\:bg-canvas-default:hover:not(#\\#){background-color:var(--color-canvas-default)}.hover\\:bg-canvas-subtle:hover:not(#\\#){background-color:var(--color-canvas-subtle)}.hover\\:bg-grey-500:hover:not(#\\#){background-color:var(--color-grey-500)}.hover\\:bg-grey-700:hover:not(#\\#){background-color:var(--color-grey-700)}.hover\\:bg-input-option-hover-bg:hover:not(#\\#){background-color:var(--color-input-option-hover-bg)}.hover\\:bg-negative:hover:not(#\\#){background-color:var(--color-negative)}.hover\\:bg-negative-hover:hover:not(#\\#){background-color:var(--color-negative-hover)}.hover\\:bg-positive:hover:not(#\\#){background-color:var(--color-positive)}.hover\\:bg-positive-hover:hover:not(#\\#){background-color:var(--color-positive-hover)}.hover\\:bg-primary:hover:not(#\\#){background-color:var(--color-primary)}.hover\\:bg-primary-600:hover:not(#\\#){background-color:var(--color-primary-600)}.hover\\:bg-primary-hover:hover:not(#\\#){background-color:var(--color-primary-hover)}.hover\\:bg-primary\\/20:hover:not(#\\#){background-color:var(--color-primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/20:hover:not(#\\#){background-color:color-mix(in oklab,var(--color-primary)20%,transparent)}}.hover\\:bg-transparent:hover:not(#\\#){background-color:#0000}.hover\\:bg-warning:hover:not(#\\#){background-color:var(--color-warning)}.hover\\:bg-warning-hover:hover:not(#\\#){background-color:var(--color-warning-hover)}.hover\\:text-body:hover:not(#\\#){color:var(--color-body)}.hover\\:text-button-text:hover:not(#\\#){color:var(--color-button-text)}.hover\\:text-grey-200:hover:not(#\\#){color:var(--color-grey-200)}.hover\\:text-negative-400:hover:not(#\\#){color:var(--color-negative-400)}.hover\\:text-positive-400:hover:not(#\\#){color:var(--color-positive-400)}.hover\\:text-positive-text:hover:not(#\\#){color:var(--color-positive-text)}.hover\\:text-primary:hover:not(#\\#){color:var(--color-primary)}.hover\\:text-primary-hover:hover:not(#\\#){color:var(--color-primary-hover)}.hover\\:text-tab-active-fg:hover:not(#\\#){color:var(--color-tab-active-fg)}.hover\\:decoration-current:hover:not(#\\#){text-decoration-color:currentColor}}.focus\\:bg-transparent:focus:not(#\\#){background-color:#0000}.focus\\:ring-2:focus:not(#\\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-negative:focus:not(#\\#){--tw-ring-color:var(--color-negative)}.focus\\:ring-positive:focus:not(#\\#){--tw-ring-color:var(--color-positive)}.focus\\:ring-primary:focus:not(#\\#){--tw-ring-color:var(--color-primary)}.focus\\:ring-warning:focus:not(#\\#){--tw-ring-color:var(--color-warning)}.focus\\:ring-offset-0:focus:not(#\\#){--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:ring-offset-2:focus:not(#\\#){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus:not(#\\#){--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.focus\\:outline-hidden:focus:not(#\\#){outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:ring-2:focus-visible:not(#\\#){--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-primary:focus-visible:not(#\\#){--tw-ring-color:var(--color-primary)}.focus-visible\\:ring-offset-2:focus-visible:not(#\\#){--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}:root:not(#\\#){--ws-primary-50:#f2ddff;--ws-primary-100:#edd0ff;--ws-primary-300:#d0acef;--ws-primary-400:#c190ea;--ws-primary-600:#935ebf;--ws-primary-800:#563374;--ws-primary-900:#381e4f;--ws-primary-950:#29133c;--ws-positive-50:#ecf9f2;--ws-positive-100:#d9f2e6;--ws-positive-300:#8ed9b3;--ws-positive-400:#68cd99;--ws-positive-700:#28734d;--ws-positive-800:#28734d;--ws-positive-900:#0d261a;--ws-positive-950:#07130d;--ws-warning-50:#fff7e6;--ws-warning-100:#ffefcc;--ws-warning-300:#fed066;--ws-warning-400:#fdc133;--ws-warning-700:#986a00;--ws-warning-800:#654700;--ws-warning-900:#332300;--ws-warning-950:#191200;--ws-negative-50:#feeeee;--ws-negative-100:#fcdcdc;--ws-negative-300:#f69797;--ws-negative-400:#f37575;--ws-negative-700:#9a3232;--ws-negative-800:#6e2222;--ws-negative-900:#431212;--ws-negative-950:#2e0a0a;--ws-grey-300:#535353;--ws-grey-400:#484848;--ws-grey-600:#3f3f3f;--ws-palette-primary-200:#e0c7f5;--ws-palette-primary-500:#b174e5;--ws-palette-primary-700:#75499a;--ws-button-bg:var(--vscode-button-background,var(--theia-button-background,var(--ws-palette-primary-500)));--ws-button-fg:var(--vscode-button-foreground,var(--theia-button-foreground,var(--ws-palette-white)));--ws-primary-default:var(--ws-button-bg);--ws-button-text:var(--ws-button-fg);--ws-primary-hover:var(--vscode-button-hoverBackground,var(--theia-button-hoverBackground,var(--ws-palette-primary-700)));--ws-primary-light:var(--vscode-editorInfo-foreground,var(--vscode-button-background,var(--theia-button-secondaryForeground,var(--theia-button-background,var(--ws-palette-primary-200)))));--ws-primary-dark:var(--vscode-editor-lineHighlightBackground,var(--vscode-button-foreground,var(--theia-button-secondaryBackground,var(--theia-button-foreground,var(--ws-palette-primary-700)))));--ws-primary-200:var(--ws-primary-light);--ws-primary-500:var(--ws-primary-default);--ws-primary-700:var(--ws-primary-hover);--ws-palette-positive-200:#b3e6cc;--ws-palette-positive-500:#42c080;--ws-palette-positive-600:#359a66;--ws-positive-dark:var(--vscode-gitDecoration-addedResourceForeground,var(--ws-palette-positive-600));--ws-positive-hover:var(--ws-positive-dark);--ws-positive-bg:var(--ws-palette-positive-100);--ws-positive-light:var(--ws-palette-positive-200);--ws-positive-border:var(--ws-positive-500);--ws-positive-text:var(--ws-positive-500);--ws-positive-500:var(--vscode-testing-iconPassed,var(--ws-palette-positive-500));--ws-positive-200:var(--ws-positive-light);--ws-positive-600:var(--ws-positive-dark);--ws-palette-warning-200:#fee099;--ws-palette-warning-500:#fdb100;--ws-palette-warning-600:#ca8e00;--ws-warning-hover:var(--ws-warning-600);--ws-warning-text:var(--ws-warning-500);--ws-warning-border:var(--ws-warning-500);--ws-warning-500:var(--vscode-list-warningForeground,var(--ws-palette-warning-500));--ws-warning-bg:var(--vscode-inputValidation-warningBackground,var(--ws-palette-warning-500));--ws-warning-light:var(--vscode-inputValidation-warningBackground,var(--ws-palette-warning-200));--ws-warning-dark:var(--vscode-inputValidation-warningBackground,var(--ws-palette-warning-600));--ws-warning-200:var(--ws-warning-light);--ws-warning-600:var(--ws-warning-dark);--ws-palette-negative-200:#f9baba;--ws-palette-negative-500:#f05252;--ws-palette-negative-600:#c54242;--ws-negative-hover:var(--ws-negative-600);--ws-negative-text:var(--ws-negative-500);--ws-negative-500:var(--vscode-errorForeground,var(--ws-palette-negative-500));--ws-negative-light:var(--ws-palette-negative-200);--ws-negative-dark:var(--ws-palette-negative-600);--ws-negative-200:var(--ws-negative-light);--ws-negative-600:var(--ws-negative-dark);--ws-palette-white:#fff;--ws-palette-grey-50:#f1f5f9;--ws-palette-grey-100:#ccc;--ws-palette-grey-200:#888;--ws-palette-grey-300:#535353;--ws-palette-grey-400:#484848;--ws-palette-grey-500:#444;--ws-palette-grey-600:#3f3f3f;--ws-palette-grey-700:#393939;--ws-palette-grey-800:#383838;--ws-palette-grey-900:#262626;--ws-palette-grey-950:#151515;--ws-bg-default:var(--vscode-editor-background,var(--theia-editor-background,var(--ws-palette-white)));--ws-bg-foreground:var(--vscode-editor-foreground,var(--theia-editor-foreground,var(--ws-palette-grey-50)));--ws-grey-50:var(--ws-bg-foreground);--ws-grey-100:var(--vscode-panel-background,var(--theia-panel-background,var(--ws-palette-grey-100)));--ws-grey-200:var(--vscode-editor-background,var(--theia-editor-background,var(--ws-palette-grey-200)));--ws-grey-950:var(--vscode-panel-border,var(--theia-border-color,var(--ws-palette-grey-950)));--ws-grey-500:var(--vscode-descriptionForeground,var(--ws-palette-grey-500));--ws-grey-800:var(--vscode-descriptionForeground,var(--ws-palette-grey-800));--ws-card-bg:var(--vscode-editorGroupHeader-tabsBackground,var(--theia-editorGroupHeader-tabsBackground,var(--ws-palette-grey-900)));--ws-card-border:var(--vscode-editorGroupHeader-tabsBorder,var(--theia-editorGroupHeader-tabsBorder,var(--ws-palette-grey-50)));--ws-palette-input-bg:var(--ws-palette-grey-300);--ws-palette-input-border:var(--ws-palette-grey-300);--ws-palette-input-text:var(--ws-palette-grey-50);--ws-palette-input-placeholder:var(--ws-palette-grey-200);--ws-palette-input-focus-border:var(--ws-palette-grey-50);--ws-input-bg:var(--vscode-input-background,var(--vscode-editorWidget-background,var(--theia-input-background,var(--ws-palette-input-bg))));--ws-input-border:var(--vscode-input-border,var(--vscode-panel-border,var(--theia-input-border,var(--ws-palette-input-border))));--ws-input-text:var(--vscode-input-foreground,var(--vscode-editor-foreground,var(--theia-input-foreground,var(--ws-palette-input-text))));--ws-input-placeholder:var(--vscode-input-placeholderForeground,var(--vscode-editor-foreground,var(--theia-input-placeholderForeground,var(--ws-palette-input-placeholder))));--ws-input-focus-border:var(--vscode-focusBorder,var(--vscode-button-background,var(--theia-focusBorder,var(--ws-palette-primary-500))));--ws-select-bg:var(--vscode-dropdown-background,var(--vscode-editorWidget-background,var(--theia-dropdown-background,var(--ws-input-bg))));--ws-select-border:var(--vscode-dropdown-border,var(--vscode-panel-border,var(--theia-dropdown-border,var(--ws-input-border))));--ws-select-text:var(--vscode-dropdown-foreground,var(--vscode-editor-foreground,var(--theia-dropdown-foreground,var(--ws-input-text))));--ws-select-list-bg:var(--vscode-dropdown-listBackground,var(--vscode-editorWidget-background,var(--theia-editorWidget-background,var(--ws-palette-grey-900))));--ws-input-option-hover-bg:var(--vscode-list-hoverBackground,var(--vscode-button-hoverBackground,var(--theia-list-hoverBackground,var(--ws-palette-primary-700))));--ws-input-option-active-bg:var(--vscode-list-activeSelectionBackground,var(--theia-list-activeSelectionBackground,var(--ws-palette-primary-500)));--ws-input-option-active-text:var(--vscode-list-activeSelectionForeground,var(--theia-list-activeSelectionForeground,var(--ws-palette-white)));--ws-input-error-border:var(--vscode-inputValidation-errorBorder,var(--theia-inputValidation-errorBorder,var(--ws-palette-negative-500)));--ws-input-error-bg:var(--vscode-inputValidation-errorBackground,var(--theia-inputValidation-errorBackground,var(--ws-palette-negative-200)));--ws-input-warning-border:var(--vscode-inputValidation-warningBorder,var(--theia-inputValidation-warningBorder,var(--ws-palette-warning-500)));--ws-input-warning-bg:var(--vscode-inputValidation-warningBackground,var(--theia-inputValidation-warningBackground,var(--ws-palette-warning-200)));--ws-input-info-bg:var(--vscode-panel-background,var(--theia-inputValidation-infoBackground,var(--ws-palette-primary-200)));--ws-input-message-bg:var(--vscode-editor-lineHighlightBackground,var(--vscode-editorWidget-background,var(--theia-inputValidation-infoBackground,var(--ws-palette-primary-200))));--ws-input-message-text:var(--vscode-editorInfo-foreground,var(--vscode-editor-foreground,var(--theia-inputValidation-infoForeground,var(--ws-palette-primary-500))));--ws-inactive-text:var(--vscode-disabledForeground,var(--theia-disabled-foreground,var(--ws-palette-grey-200)));--ws-text-muted:var(--vscode-descriptionForeground,var(--vscode-editor-foreground,var(--theia-descriptionForeground,var(--ws-palette-grey-100))));--ws-disable-bg:var(--vscode-button-disabledBackground,var(--theia-button-disabledBackground,var(--ws-palette-grey-300)));--ws-disable-input:var(--vscode-button-disabledBackground,var(--theia-button-disabledBackground,var(--ws-palette-grey-200)));--ws-panel-base-ide:var(--vscode-editor-background,var(--theia-editor-background));--ws-panel-shift-ide:var(--vscode-editor-foreground,var(--theia-panel-foreground));--ws-panel-0-mix:var(--ws-panel-base-ide);--ws-panel-1-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-1-mix:color-mix(in srgb,var(--ws-panel-base-ide)96%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-2-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-2-mix:color-mix(in srgb,var(--ws-panel-base-ide)92%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-3-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-3-mix:color-mix(in srgb,var(--ws-panel-base-ide)88%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-4-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-4-mix:color-mix(in srgb,var(--ws-panel-base-ide)84%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-5-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-5-mix:color-mix(in srgb,var(--ws-panel-base-ide)80%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-light-mix:var(--ws-panel-base-ide)}@supports (color:color-mix(in lab,red,red)){:root:not(#\\#){--ws-panel-light-mix:color-mix(in srgb,var(--ws-panel-base-ide)70%,var(--ws-panel-shift-ide))}}:root:not(#\\#){--ws-panel-0:var(--ws-panel-0-mix,var(--ws-palette-grey-900));--ws-panel-1:var(--ws-panel-1-mix,var(--ws-palette-grey-700));--ws-panel-2:var(--ws-panel-2-mix,var(--ws-palette-grey-900));--ws-panel-3:var(--ws-panel-3-mix,var(--ws-palette-grey-900));--ws-panel-4:var(--ws-panel-4-mix,var(--ws-palette-grey-300));--ws-panel-5:var(--ws-panel-5-mix,var(--ws-palette-grey-950));--ws-panel-light:var(--ws-panel-light-mix,var(--ws-palette-grey-200));--ws-panel-border-subtle:var(--vscode-panel-border,var(--vscode-tab-border,var(--theia-border-color,var(--ws-palette-grey-100))));--ws-panel-border-strong:var(--vscode-contrastBorder,var(--vscode-focusBorder,var(--theia-contrastBorder,var(--ws-palette-grey-300))));--ws-tab-bg-default:var(--vscode-editorGroupHeader-tabsBackground,var(--vscode-editorWidget-background,var(--ws-palette-grey-900)));--ws-tab-border:var(--vscode-tab-border,var(--vscode-editorGroupHeader-tabsBorder,var(--ws-palette-grey-950)));--ws-tab-active-bg:var(--vscode-tab-activeBackground,var(--ws-palette-grey-800));--ws-tab-active-fg:var(--vscode-tab-activeForeground,var(--vscode-editor-foreground,var(--ws-bg-foreground)));--ws-tab-inactive-bg:var(--vscode-tab-inactiveBackground,var(--ws-palette-grey-900));--ws-tab-inactive-fg:var(--vscode-tab-inactiveForeground,var(--vscode-descriptionForeground,var(--ws-palette-grey-200)));--ws-tab-hover-bg:var(--vscode-tab-hoverBackground,var(--vscode-toolbar-hoverBackground,var(--ws-palette-grey-700)));--ws-panel-header-bg:var(--vscode-sideBarSectionHeader-background,var(--vscode-editorGroupHeader-tabsBackground,var(--ws-palette-grey-800)));--ws-panel-header-fg:var(--vscode-sideBarSectionHeader-foreground,var(--vscode-editor-foreground,var(--ws-bg-foreground)));--ws-panel-bg:var(--vscode-panel-background,var(--vscode-editor-background,var(--ws-bg-default)));--ws-panel-border:var(--vscode-panel-border,var(--vscode-tab-border,var(--ws-palette-grey-950)));--ws-panel-title-active-border:var(--vscode-panelTitle-activeBorder,var(--vscode-focusBorder,var(--ws-palette-primary-500)));--ws-panel-title-active-fg:var(--vscode-panelTitle-activeForeground,var(--vscode-editor-foreground,var(--ws-bg-foreground)));--ws-panel-title-inactive-fg:var(--vscode-panelTitle-inactiveForeground,var(--vscode-descriptionForeground,var(--ws-palette-grey-100)))}.center-absolute:not(#\\#){--tw-translate-x: -50% ;--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y);transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);position:absolute;top:50%;left:50%}.ws-group:hover .ws-checkbox-hover-target{opacity:1!important}.simplebar-scrollbar:not(#\\#):before{background-color:#ccc}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
|
|
120
|
+
`,document.head.prepend(e)}catch(e){console.error("vite-plugin-inject-css: failed to inject css",e)}})();const oa=e=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:w.jsx("path",{d:"M21.66 6.28a.5.5 0 0 0 0-.697l-.967-.993a.5.5 0 0 0-.716 0L8.499 16.373 4.023 11.78a.5.5 0 0 0-.716 0l-.967.993a.5.5 0 0 0 0 .697l5.889 6.046.014-.014a.377.377 0 0 0 .54 0L21.66 6.28Z",fill:"currentColor"})}),na=e=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:w.jsx("path",{d:"M10.84 2.714c0-.394.346-.714.773-.714h.774c.427 0 .773.32.773.714V9.5h5.025c.427 0 .773.32.773.714v3.572H5.042v-3.572c0-.394.346-.714.773-.714h5.025V2.714ZM5.042 14.5h13.916l1.034 6.685c.067.43-.295.815-.765.815h-2.1l-.681-5.929L15.764 22h-3.236l-.721-2.143L11.086 22h-2.85l-.682-3.929L6.872 22H4.773c-.47 0-.832-.385-.765-.815L5.042 14.5Z",fill:"currentColor"})}),cr=e=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:w.jsx("path",{d:"M4.497 5.361a.5.5 0 0 0 0 .707L10.429 12l-5.932 5.932a.5.5 0 0 0 0 .707l.864.864a.5.5 0 0 0 .707 0L12 13.571l5.932 5.932a.5.5 0 0 0 .707 0l.864-.864a.5.5 0 0 0 0-.707L13.571 12l5.932-5.932a.5.5 0 0 0 0-.707l-.864-.864a.5.5 0 0 0-.707 0L12 10.429 6.068 4.497a.5.5 0 0 0-.707 0l-.864.864Z",fill:"currentColor"})}),ia=e=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:w.jsx("path",{d:"M11.701 18.797c.206.195.52.195.726 0l2.487-2.349-.008-.007 6.973-6.585a.58.58 0 0 0 0-.835l-2.045-1.932a.524.524 0 0 0-.726 0l-7.052 6.66-7.051-6.66a.524.524 0 0 0-.726 0L2.234 9.021a.58.58 0 0 0 0 .835l9.467 8.941Z",fill:"currentColor"})}),sa=e=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:w.jsx("path",{d:"M20.673 5.133c.136.24.053.55-.185.69l-16.25 9.623a.487.487 0 0 1-.676-.18l-.497-.884a.513.513 0 0 1 .185-.69L19.5 4.069c.238-.141.54-.06.676.18l.497.884ZM20.938 9.657c.136.24.053.55-.185.69L7.925 17.944a.487.487 0 0 1-.676-.181l-.497-.884a.513.513 0 0 1 .185-.69l12.829-7.597c.237-.14.54-.06.675.181l.497.884ZM20.16 15.376c.237-.14.32-.45.184-.69l-.497-.884a.487.487 0 0 0-.676-.18l-7.695 4.556a.513.513 0 0 0-.185.69l.498.884c.135.24.437.322.675.181l7.695-4.557Z",fill:"currentColor"})}),aa=(e,r)=>{const t=new Array(e.length+r.length);for(let o=0;o<e.length;o++)t[o]=e[o];for(let o=0;o<r.length;o++)t[e.length+o]=r[o];return t},la=(e,r)=>({classGroupId:e,validator:r}),Pn=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),ir="-",xo=[],ca="arbitrary..",da=e=>{const r=pa(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return ua(i);const n=i.split(ir),s=n[0]===""&&n.length>1?1:0;return Fn(n,s,r)},getConflictingClassGroupIds:(i,n)=>{if(n){const s=o[i],a=t[i];return s?a?aa(a,s):s:a||xo}return t[i]||xo}}},Fn=(e,r,t)=>{if(e.length-r===0)return t.classGroupId;const o=e[r],i=t.nextPart.get(o);if(i){const l=Fn(e,r+1,i);if(l)return l}const n=t.validators;if(n===null)return;const s=r===0?e.join(ir):e.slice(r).join(ir),a=n.length;for(let l=0;l<a;l++){const c=n[l];if(c.validator(s))return c.classGroupId}},ua=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const r=e.slice(1,-1),t=r.indexOf(":"),o=r.slice(0,t);return o?ca+o:void 0})(),pa=e=>{const{theme:r,classGroups:t}=e;return ga(t,r)},ga=(e,r)=>{const t=Pn();for(const o in e){const i=e[o];Br(i,t,o,r)}return t},Br=(e,r,t,o)=>{const i=e.length;for(let n=0;n<i;n++){const s=e[n];ha(s,r,t,o)}},ha=(e,r,t,o)=>{if(typeof e=="string"){va(e,r,t);return}if(typeof e=="function"){fa(e,r,t,o);return}ma(e,r,t,o)},va=(e,r,t)=>{const o=e===""?r:Hn(r,e);o.classGroupId=t},fa=(e,r,t,o)=>{if(ba(e)){Br(e(o),r,t,o);return}r.validators===null&&(r.validators=[]),r.validators.push(la(t,e))},ma=(e,r,t,o)=>{const i=Object.entries(e),n=i.length;for(let s=0;s<n;s++){const[a,l]=i[s];Br(l,Hn(r,a),t,o)}},Hn=(e,r)=>{let t=e;const o=r.split(ir),i=o.length;for(let n=0;n<i;n++){const s=o[n];let a=t.nextPart.get(s);a||(a=Pn(),t.nextPart.set(s,a)),t=a}return t},ba=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,wa=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null);const i=(n,s)=>{t[n]=s,r++,r>e&&(r=0,o=t,t=Object.create(null))};return{get(n){let s=t[n];if(s!==void 0)return s;if((s=o[n])!==void 0)return i(n,s),s},set(n,s){n in t?t[n]=s:i(n,s)}}},jr="!",yo=":",xa=[],Io=(e,r,t,o,i)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:i}),ya=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=i=>{const n=[];let s=0,a=0,l=0,c;const d=i.length;for(let x=0;x<d;x++){const m=i[x];if(s===0&&a===0){if(m===yo){n.push(i.slice(l,x)),l=x+1;continue}if(m==="/"){c=x;continue}}m==="["?s++:m==="]"?s--:m==="("?a++:m===")"&&a--}const g=n.length===0?i:i.slice(l);let h=g,y=!1;g.endsWith(jr)?(h=g.slice(0,-1),y=!0):g.startsWith(jr)&&(h=g.slice(1),y=!0);const N=c&&c>l?c-l:void 0;return Io(n,y,h,N)};if(r){const i=r+yo,n=o;o=s=>s.startsWith(i)?n(s.slice(i.length)):Io(xa,!1,s,void 0,!0)}if(t){const i=o;o=n=>t({className:n,parseClassName:i})}return o},Ia=e=>{const r=new Map;return e.orderSensitiveModifiers.forEach((t,o)=>{r.set(t,1e6+o)}),t=>{const o=[];let i=[];for(let n=0;n<t.length;n++){const s=t[n],a=s[0]==="[",l=r.has(s);a||l?(i.length>0&&(i.sort(),o.push(...i),i=[]),o.push(s)):i.push(s)}return i.length>0&&(i.sort(),o.push(...i)),o}},Ca=e=>({cache:wa(e.cacheSize),parseClassName:ya(e),sortModifiers:Ia(e),...da(e)}),ka=/\s+/,Sa=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:i,sortModifiers:n}=r,s=[],a=e.trim().split(ka);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{isExternal:g,modifiers:h,hasImportantModifier:y,baseClassName:N,maybePostfixModifierPosition:x}=t(d);if(g){l=d+(l.length>0?" "+l:l);continue}let m=!!x,k=o(m?N.substring(0,x):N);if(!k){if(!m){l=d+(l.length>0?" "+l:l);continue}if(k=o(N),!k){l=d+(l.length>0?" "+l:l);continue}m=!1}const p=h.length===0?"":h.length===1?h[0]:n(h).join(":"),f=y?p+jr:p,v=f+k;if(s.indexOf(v)>-1)continue;s.push(v);const u=i(k,m);for(let S=0;S<u.length;++S){const A=u[S];s.push(f+A)}l=d+(l.length>0?" "+l:l)}return l},Ea=(...e)=>{let r=0,t,o,i="";for(;r<e.length;)(t=e[r++])&&(o=Bn(t))&&(i&&(i+=" "),i+=o);return i},Bn=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=Bn(e[o]))&&(t&&(t+=" "),t+=r);return t},Co=(e,...r)=>{let t,o,i,n;const s=l=>{const c=r.reduce((d,g)=>g(d),e());return t=Ca(c),o=t.cache.get,i=t.cache.set,n=a,a(l)},a=l=>{const c=o(l);if(c)return c;const d=Sa(l,t);return i(l,d),d};return n=s,(...l)=>n(Ea(...l))},Na=[],me=e=>{const r=t=>t[e]||Na;return r.isThemeGetter=!0,r},$n=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qn=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_a=/^\d+\/\d+$/,Aa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Oa=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,za=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ra=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Da=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,nt=e=>_a.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),Xe=e=>!!e&&Number.isInteger(Number(e)),xr=e=>e.endsWith("%")&&re(e.slice(0,-1)),qe=e=>Aa.test(e),ja=()=>!0,Ma=e=>Oa.test(e)&&!za.test(e),Gn=()=>!1,Wa=e=>Ra.test(e),Ta=e=>Da.test(e),La=e=>!$(e)&&!q(e),Va=e=>gt(e,Zn,Gn),$=e=>$n.test(e),et=e=>gt(e,Yn,Ma),yr=e=>gt(e,$a,re),ko=e=>gt(e,Kn,Gn),Pa=e=>gt(e,Xn,Ta),Lt=e=>gt(e,Jn,Wa),q=e=>qn.test(e),yt=e=>ht(e,Yn),Fa=e=>ht(e,qa),So=e=>ht(e,Kn),Ha=e=>ht(e,Zn),Ba=e=>ht(e,Xn),Vt=e=>ht(e,Jn,!0),gt=(e,r,t)=>{const o=$n.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},ht=(e,r,t=!1)=>{const o=qn.exec(e);return o?o[1]?r(o[1]):t:!1},Kn=e=>e==="position"||e==="percentage",Xn=e=>e==="image"||e==="url",Zn=e=>e==="length"||e==="size"||e==="bg-size",Yn=e=>e==="length",$a=e=>e==="number",qa=e=>e==="family-name",Jn=e=>e==="shadow",Eo=()=>{const e=me("color"),r=me("font"),t=me("text"),o=me("font-weight"),i=me("tracking"),n=me("leading"),s=me("breakpoint"),a=me("container"),l=me("spacing"),c=me("radius"),d=me("shadow"),g=me("inset-shadow"),h=me("text-shadow"),y=me("drop-shadow"),N=me("blur"),x=me("perspective"),m=me("aspect"),k=me("ease"),p=me("animate"),f=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],u=()=>[...v(),q,$],S=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],C=()=>[q,$,l],O=()=>[nt,"full","auto",...C()],H=()=>[Xe,"none","subgrid",q,$],Z=()=>["auto",{span:["full",Xe,q,$]},Xe,q,$],J=()=>[Xe,"auto",q,$],oe=()=>["auto","min","max","fr",q,$],G=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],P=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...C()],F=()=>[nt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],R=()=>[e,q,$],ne=()=>[...v(),So,ko,{position:[q,$]}],b=()=>["no-repeat",{repeat:["","x","y","space","round"]}],I=()=>["auto","cover","contain",Ha,Va,{size:[q,$]}],L=()=>[xr,yt,et],T=()=>["","none","full",c,q,$],j=()=>["",re,yt,et],X=()=>["solid","dashed","dotted","double"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>[re,xr,So,ko],V=()=>["","none",N,q,$],ee=()=>["none",re,q,$],Y=()=>["none",re,q,$],ie=()=>[re,q,$],W=()=>[nt,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[qe],breakpoint:[qe],color:[ja],container:[qe],"drop-shadow":[qe],ease:["in","out","in-out"],font:[La],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[qe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[qe],shadow:[qe],spacing:["px",re],text:[qe],"text-shadow":[qe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",nt,$,q,m]}],container:["container"],columns:[{columns:[re,$,q,a]}],"break-after":[{"break-after":f()}],"break-before":[{"break-before":f()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:u()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{start:O()}],end:[{end:O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[Xe,"auto",q,$]}],basis:[{basis:[nt,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,nt,"auto","initial","none",$]}],grow:[{grow:["",re,q,$]}],shrink:[{shrink:["",re,q,$]}],order:[{order:[Xe,"first","last","none",q,$]}],"grid-cols":[{"grid-cols":H()}],"col-start-end":[{col:Z()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":H()}],"row-start-end":[{row:Z()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...G(),"normal"]}],"justify-items":[{"justify-items":[...P(),"normal"]}],"justify-self":[{"justify-self":["auto",...P()]}],"align-content":[{content:["normal",...G()]}],"align-items":[{items:[...P(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...P(),{baseline:["","last"]}]}],"place-content":[{"place-content":G()}],"place-items":[{"place-items":[...P(),"baseline"]}],"place-self":[{"place-self":["auto",...P()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[a,"screen",...F()]}],"min-w":[{"min-w":[a,"screen","none",...F()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",t,yt,et]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,q,yr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xr,$]}],"font-family":[{font:[Fa,$,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,q,$]}],"line-clamp":[{"line-clamp":[re,"none",q,yr]}],leading:[{leading:[n,...C()]}],"list-image":[{"list-image":["none",q,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:[re,"from-font","auto",q,et]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[re,"auto",q,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:b()}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Xe,q,$],radial:["",q,$],conic:[Xe,q,$]},Ba,Pa]}],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...X(),"hidden","none"]}],"divide-style":[{divide:[...X(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}],"divide-color":[{divide:R()}],"outline-style":[{outline:[...X(),"none","hidden"]}],"outline-offset":[{"outline-offset":[re,q,$]}],"outline-w":[{outline:["",re,yt,et]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",d,Vt,Lt]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",g,Vt,Lt]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[re,et]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",h,Vt,Lt]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[re,q,$]}],"mix-blend":[{"mix-blend":[...B(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":B()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[re]}],"mask-image-linear-from-pos":[{"mask-linear-from":M()}],"mask-image-linear-to-pos":[{"mask-linear-to":M()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":M()}],"mask-image-t-to-pos":[{"mask-t-to":M()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":M()}],"mask-image-r-to-pos":[{"mask-r-to":M()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":M()}],"mask-image-b-to-pos":[{"mask-b-to":M()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":M()}],"mask-image-l-to-pos":[{"mask-l-to":M()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":M()}],"mask-image-x-to-pos":[{"mask-x-to":M()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":M()}],"mask-image-y-to-pos":[{"mask-y-to":M()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[q,$]}],"mask-image-radial-from-pos":[{"mask-radial-from":M()}],"mask-image-radial-to-pos":[{"mask-radial-to":M()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[re]}],"mask-image-conic-from-pos":[{"mask-conic-from":M()}],"mask-image-conic-to-pos":[{"mask-conic-to":M()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:b()}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,$]}],filter:[{filter:["","none",q,$]}],blur:[{blur:V()}],brightness:[{brightness:[re,q,$]}],contrast:[{contrast:[re,q,$]}],"drop-shadow":[{"drop-shadow":["","none",y,Vt,Lt]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",re,q,$]}],"hue-rotate":[{"hue-rotate":[re,q,$]}],invert:[{invert:["",re,q,$]}],saturate:[{saturate:[re,q,$]}],sepia:[{sepia:["",re,q,$]}],"backdrop-filter":[{"backdrop-filter":["","none",q,$]}],"backdrop-blur":[{"backdrop-blur":V()}],"backdrop-brightness":[{"backdrop-brightness":[re,q,$]}],"backdrop-contrast":[{"backdrop-contrast":[re,q,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,q,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,q,$]}],"backdrop-invert":[{"backdrop-invert":["",re,q,$]}],"backdrop-opacity":[{"backdrop-opacity":[re,q,$]}],"backdrop-saturate":[{"backdrop-saturate":[re,q,$]}],"backdrop-sepia":[{"backdrop-sepia":["",re,q,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[re,"initial",q,$]}],ease:[{ease:["linear","initial",k,q,$]}],delay:[{delay:[re,q,$]}],animate:[{animate:["none",p,q,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,q,$]}],"perspective-origin":[{"perspective-origin":u()}],rotate:[{rotate:ee()}],"rotate-x":[{"rotate-x":ee()}],"rotate-y":[{"rotate-y":ee()}],"rotate-z":[{"rotate-z":ee()}],scale:[{scale:Y()}],"scale-x":[{"scale-x":Y()}],"scale-y":[{"scale-y":Y()}],"scale-z":[{"scale-z":Y()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[q,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:u()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:W()}],"translate-x":[{"translate-x":W()}],"translate-y":[{"translate-y":W()}],"translate-z":[{"translate-z":W()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,$]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,$]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[re,yt,et,yr]}],stroke:[{stroke:["none",...R()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ga=(e,{cacheSize:r,prefix:t,experimentalParseClassName:o,extend:i={},override:n={}})=>(Et(e,"cacheSize",r),Et(e,"prefix",t),Et(e,"experimentalParseClassName",o),Pt(e.theme,n.theme),Pt(e.classGroups,n.classGroups),Pt(e.conflictingClassGroups,n.conflictingClassGroups),Pt(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),Et(e,"orderSensitiveModifiers",n.orderSensitiveModifiers),Ft(e.theme,i.theme),Ft(e.classGroups,i.classGroups),Ft(e.conflictingClassGroups,i.conflictingClassGroups),Ft(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Un(e,i,"orderSensitiveModifiers"),e),Et=(e,r,t)=>{t!==void 0&&(e[r]=t)},Pt=(e,r)=>{if(r)for(const t in r)Et(e,t,r[t])},Ft=(e,r)=>{if(r)for(const t in r)Un(e,r,t)},Un=(e,r,t)=>{const o=r[t];o!==void 0&&(e[t]=e[t]?e[t].concat(o):o)},Ka=(e,...r)=>typeof e=="function"?Co(Eo,e,...r):Co(()=>Ga(Eo(),e),...r);function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var No={exports:{}};/*!
|
|
121
|
+
Copyright (c) 2018 Jed Watson.
|
|
122
|
+
Licensed under the MIT License (MIT), see
|
|
123
|
+
http://jedwatson.github.io/classnames
|
|
124
|
+
*/var _o;function Xa(){return _o||(_o=1,(function(e){(function(){var r={}.hasOwnProperty;function t(){for(var n="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(n=i(n,o(a)))}return n}function o(n){if(typeof n=="string"||typeof n=="number")return n;if(typeof n!="object")return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var s="";for(var a in n)r.call(n,a)&&n[a]&&(s=i(s,a));return s}function i(n,s){return s?n?n+" "+s:n+s:n}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(No)),No.exports}var Za=Xa();const Ya=Qn(Za),Ja=Ka({extend:{classGroups:{"font-size":["text-xxs","text-xs","text-s","text-sm","text-base","text-lg","text-xl","text-2xl","text-3xl","text-4xl","text-5xl","text-6xl","text-7xl","text-8xl","text-9xl"],"text-color":["text-body","text-muted","text-inactive-text","text-button-text","text-positive-text","text-negative-text","text-negative","text-warning-text","text-input-text","text-select-text","text-input-message-text","text-placeholder"]}}});function _(...e){return Ja(Ya(e))}const Rt={sm:{checkbox:"size-4",hoverSquare:"size-2.5",text:"text-xs",spacing:"gap-1",icon:"size-3.25"},md:{checkbox:"size-5",hoverSquare:"size-3.5",text:"text-sm",spacing:"gap-1.5",icon:"size-4"},lg:{checkbox:"size-6",hoverSquare:"size-4",text:"text-base",spacing:"gap-2",icon:"size-5"}},Oe={primary:{checked:"bg-primary border-primary",unchecked:"border border-body bg-transparent",checkedHover:"hover:bg-primary-hover hover:border-primary-hover",hoverSquare:"bg-primary-hover",focus:"focus:ring-primary",label:"text-body"},positive:{checked:"bg-positive border-positive",unchecked:"border border-positive bg-transparent",checkedHover:"hover:bg-positive-hover hover:border-positive-hover",hoverSquare:"bg-positive-hover",focus:"focus:ring-positive",label:"text-positive"},warning:{checked:"bg-warning border-warning",unchecked:"border border-warning bg-transparent",checkedHover:"hover:bg-warning-hover hover:border-warning-hover",hoverSquare:"bg-warning-hover",focus:"focus:ring-warning",label:"text-warning"},negative:{checked:"bg-negative border-negative",unchecked:"border border-negative bg-transparent",checkedHover:"hover:bg-negative-hover hover:border-negative-hover",hoverSquare:"bg-negative-hover",focus:"focus:ring-negative",label:"text-negative"}},Ua=`
|
|
125
|
+
appearance-none border rounded transition-all duration-200
|
|
126
|
+
focus:ring-2 focus:ring-offset-2 focus:outline-hidden
|
|
127
|
+
relative
|
|
128
|
+
`,Qa=(e,r,t)=>{const{isChecked:o,isIndeterminate:i,isDisabled:n,isInvalid:s}=t,a=o||i;return _(Ua,Rt[e].checkbox,{"cursor-pointer":!n},s?{[Oe.negative.checked]:a,[Oe.negative.unchecked]:!a,[Oe.negative.checkedHover]:!n&&a,[Oe.negative.focus]:!n,"border-input-disable":n}:{[Oe[r].checked]:a&&!n,[Oe[r].unchecked]:!a&&!n,[Oe[r].checkedHover]:!n&&a,[Oe[r].focus]:!n,"border-input-disable":n,"bg-input-disable":n&&a})},el=(e,r,t)=>{const{isDisabled:o,isInvalid:i}=t;return _(Rt[e].text,i?{[Oe.negative.label]:i}:{"text-input-disable":o,[Oe[r].label]:!o,"cursor-pointer":!o})},tl=e=>_("inline-flex items-center ws-group",Rt[e].spacing),rl=(e,r,t)=>_("center-absolute rounded-xs transition-all duration-200 opacity-0 ws-checkbox-hover-target",Rt[e].hoverSquare,{[Oe.negative.hoverSquare]:t,[Oe[r].hoverSquare]:!t}),ol=e=>`${Rt[e].icon}`,nl=e=>w.jsx("svg",{className:`absolute inset-0 ${e.className}`,fill:"none",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",xmlns:"http://www.w3.org/2000/svg",...e,children:w.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2",fill:"none"})}),il=E.forwardRef(({label:e,isDisabled:r=!1,isInvalid:t=!1,isRequired:o=!1,size:i="md",color:n="primary",onChange:s,onFocus:a,onBlur:l,value:c,defaultValue:d,name:g,id:h,...y},N)=>{const[x,m]=E.useState(d),k=c===!0||x===!0,p=c===null,f=k||p,v={isChecked:k,isIndeterminate:p,isDisabled:r,isInvalid:t},u=Qa(i,n,v),S=el(i,n,v),A=tl(i),C=rl(i,n,t),O=ol(i);return w.jsxs("label",{"data-qui":"Checkbox",className:A,children:[w.jsxs("div",{className:u,children:[w.jsx("input",{ref:N,type:"checkbox",className:"sr-only",checked:k,disabled:r,required:o,onChange:H=>{c===void 0&&m(H.target.checked),s==null||s(H)},onFocus:a,onBlur:l,name:g,id:h,...y}),f&&w.jsx("div",{className:"center-absolute",children:p?w.jsx(nl,{className:O}):w.jsx(oa,{className:O})}),!f&&!r&&w.jsx("div",{className:C})]}),e&&w.jsxs("span",{className:S,children:[e,o&&w.jsx("span",{className:"text-negative ml-1",children:"*"})]})]})});il.displayName="Checkbox";const Dt={sm:{container:"gap-2",radio:"size-3",label:"text-xs",dot:"size-2",hoverDot:"size-1.5"},md:{container:"gap-2.5",radio:"size-4",label:"text-sm",dot:"size-2.5",hoverDot:"size-2"},lg:{container:"gap-3",radio:"size-6",label:"text-base",dot:"size-4",hoverDot:"size-3"}},_t={primary:{radio:"border-body-light group-hover:border-body",radioInvalid:"border-negative",dot:"bg-primary group-hover:bg-primary-hover",hoverDot:"bg-primary-hover",label:"text-body"},positive:{radio:"border-positive group-hover:border-positive-text",radioInvalid:"border-negative",dot:"bg-positive group-hover:bg-positive-hover",hoverDot:"bg-positive-bg",label:"text-positive-text"},warning:{radio:"border-warning group-hover:border-warning-text",radioInvalid:"border-negative",dot:"bg-warning group-hover:bg-warning-hover",hoverDot:"bg-warning-bg",label:"text-warning-text"},negative:{radio:"border-negative group-hover:border-negative-text",radioInvalid:"border-negative",dot:"bg-negative group-hover:bg-negative-hover",hoverDot:"bg-negative-bg",label:"text-negative"}},sl=`
|
|
129
|
+
relative rounded-full border transition-all duration-200 ease-in-out bg-transparent
|
|
130
|
+
focus:outline-hidden focus:ring-2 focus:ring-offset-0
|
|
131
|
+
cursor-pointer peer
|
|
132
|
+
`,al=(e,r,t)=>{const{isDisabled:o,isInvalid:i}=t;return _(sl,Dt[e].radio,i?_t[r].radioInvalid:{[_t[r].radio]:!o,"cursor-not-allowed opacity-60":o})},ll=(e,r,t)=>{const{checked:o,isDisabled:i,isInvalid:n}=t;return _("center-absolute rounded-full transition-all duration-200 ease-in-out",Dt[e].dot,n?"bg-negative":{[_t[r].dot]:!i,"border-neutral":i,"opacity-0 scale-0":!o,"opacity-100 scale-100":o&&!i})},cl=(e,r,t)=>_("center-absolute rounded-full transition-all duration-200 opacity-0 group-hover:opacity-100",Dt[e].hoverDot,{[_t[r].hoverDot]:!t,"bg-negative-bg":t}),dl=e=>_("cursor-pointer select-none transition-colors duration-200",Dt[e].label),ul=(e,r,t,o)=>{const{isDisabled:i,isInvalid:n}=t;return _("inline-flex items-center group",Dt[e].container,n?{"text-negative":n}:{[_t[r].label]:!i,"text-muted":i},o)},pl=E.createContext(null),gl=()=>{const e=E.useContext(pl);if(!e)throw new Error("Radio.Item must be used within Radio.Group");return e},hl=E.forwardRef(({value:e,label:r,size:t,color:o,isDisabled:i,isInvalid:n,isRequired:s,className:a,...l},c)=>{const d=gl(),g=t??d.size,h=o??d.color,y=i??d.isDisabled,N=n??d.isInvalid,x=s??d.isRequired,m=d.value===e,k={checked:m,isDisabled:y,isInvalid:N},p=al(g,h,k),f=ll(g,h,k),v=cl(g,h,N),u=dl(g),S=ul(g,h,k,a),A=()=>{y||d.onChange(e)};return w.jsxs("label",{"data-qui":"RadioItem",className:S,children:[w.jsxs("div",{className:_("relative",{hidden:d.hideIndicator}),children:[w.jsx("input",{ref:c,type:"radio",value:e,checked:m,disabled:y,required:x,"aria-invalid":N,"aria-label":r?void 0:l["aria-label"],name:d.name,onChange:A,className:"sr-only",...l}),w.jsxs("div",{className:p,children:[w.jsx("div",{className:f}),!m&&!y&&w.jsx("div",{className:v})]})]}),r&&w.jsxs("span",{className:u,children:[r,x&&w.jsx("span",{className:"text-negative ml-1",children:"*"})]})]})});hl.displayName="RadioItem";const ei={sm:{container:"h-4.5 p-1 rounded",text:"text-xxs"},md:{container:"h-6 p-1 rounded",text:"text-s"},lg:{container:"h-7 p-1 rounded",text:"text-sm"},xl:{container:"h-7.5 p-1 rounded",text:"text-lg"}},vl={primary:{bg:{solid:"bg-primary",outline:"bg-transparent",ghost:"bg-transparent"},text:{solid:"text-button-text",outline:"text-primary",ghost:"text-primary"},border:{solid:"border-primary",outline:"border-primary",ghost:"border-transparent"},hover:{solid:"hover:bg-primary-hover hover:border-primary-hover",outline:"hover:border-primary-hover hover:bg-primary hover:text-body",ghost:"hover:bg-primary-hover hover:text-body"}},white:{bg:{solid:"bg-body",outline:"bg-transparent",ghost:"bg-transparent"},text:{solid:"text-primary",outline:"text-body",ghost:"text-body"},border:{solid:"border-body",outline:"border-body",ghost:"border-transparent"},hover:{solid:"hover:bg-canvas-subtle hover:border-canvas-subtle",outline:"hover:border-canvas-default hover:bg-canvas-default hover:text-primary",ghost:"hover:bg-primary-hover hover:text-body"}},positive:{bg:{solid:"bg-positive",outline:"bg-transparent",ghost:"bg-transparent"},text:{solid:"text-button-text",outline:"text-positive-text",ghost:"text-positive-text"},border:{solid:"border-positive",outline:"border-positive",ghost:"border-transparent"},hover:{solid:"hover:bg-positive-hover hover:border-positive-hover",outline:"hover:border-positive-hover hover:bg-positive-hover hover:text-body",ghost:"hover:bg-positive-hover hover:text-body"}},warning:{bg:{solid:"bg-warning",outline:"bg-transparent",ghost:"bg-transparent"},text:{solid:"text-button-text",outline:"text-warning-text",ghost:"text-warning-text"},border:{solid:"border-warning",outline:"border-warning",ghost:"border-transparent"},hover:{solid:"hover:bg-warning-hover hover:border-warning-hover",outline:"hover:border-warning-hover hover:bg-warning-hover hover:text-body",ghost:"hover:bg-warning-hover hover:text-body"}},negative:{bg:{solid:"bg-negative",outline:"bg-transparent",ghost:"bg-transparent"},text:{solid:"text-button-text",outline:"text-negative",ghost:"text-negative"},border:{solid:"border-negative",outline:"border-negative",ghost:"border-transparent"},hover:{solid:"hover:bg-negative-hover hover:border-negative-hover",outline:"hover:border-negative-hover hover:bg-negative-hover hover:text-body",ghost:"hover:bg-negative-hover hover:text-body"}}},fl=(e,r,t,o)=>{const i=ei[e],n=vl[t],s=_("inline-flex items-center justify-center font-medium transition-colors duration-200 focus:outline-hidden border",{"cursor-pointer":!o},i.container);return o?_(s,"text-inactive-text pointer-events-none",{"border-panel":r!=="ghost"&&r==="solid","border-panel-subtle":r==="outline","bg-panel":r==="solid","bg-transparent ":r==="outline"||r==="ghost","border-transparent":r==="ghost"}):_(s,n.bg[r],n.text[r],n.hover[r],n.border[r])},ml=e=>_("flex items-center justify-center gap-1",ei[e].text),ti=E.forwardRef(({size:e="md",variant:r="solid",color:t="primary",className:o,children:i,disabled:n,...s},a)=>w.jsx("button",{"data-qui":"Button",ref:a,type:"button",className:_(fl(e,r,t,n),ml(e),o),disabled:n,...s,children:i}));ti.displayName="Button";const ri=E.createContext(null),jt=()=>{const e=E.useContext(ri);if(!e)throw new Error("Input components must be used within Input.Root");return e},vt={sm:{group:"h-5 min-h-fit",input:"text-xxs",message:"text-xxs p-1.5",icon:"text-sm"},md:{group:"h-6 min-h-fit",input:"text-xs",message:"text-xs p-2",icon:"text-base"},lg:{group:"h-7 min-h-fit",input:"text-s",message:"text-s p-2.5",icon:"text-lg"}},tt={primary:{border:"border border-input-border focus-within:border-input-focus-border",borderInvalid:"ring-input-error-border",borderMessage:"ring-input-focus-border",text:"text-input-text",placeholder:"placeholder:text-input-placeholder",messageText:"text-input-message-text",messageBackground:"bg-input-message-bg",icon:"text-input-text",action:"text-input-text",actionHover:"hover:text-body hover:bg-primary-hover"},positive:{border:"border border-input-border focus-within:border-positive",borderInvalid:"ring-input-error-border",borderMessage:"ring-positive",text:"text-input-text",placeholder:"placeholder:text-input-placeholder",messageText:"text-positive-dark",messageBackground:"bg-positive-light",icon:"text-positive-text",action:"text-input-text",actionHover:"hover:text-body hover:bg-primary-hover"},warning:{border:"border border-input-border focus-within:border-input-warning-border",borderInvalid:"ring-input-error-border",borderMessage:"ring-input-warning-border",text:"text-input-text",placeholder:"placeholder:text-input-placeholder",messageText:"text-warning-dark",messageBackground:"bg-input-warning-bg",icon:"text-warning-text",action:"text-input-text",actionHover:"hover:text-body hover:bg-primary-hover"},negative:{border:"border border-input-border focus-within:border-input-error-border",borderInvalid:"ring-input-error-border",borderMessage:"ring-input-error-border",text:"text-negative",placeholder:"placeholder:text-input-placeholder",messageText:"text-negative-dark",messageBackground:"bg-input-error-bg",icon:"text-negative",action:"text-input-text",actionHover:"hover:text-body hover:bg-primary-hover"}},bl=()=>_("flex flex-col relative"),wl=({size:e,color:r,isDisabled:t,isReadOnly:o,hasMessage:i,hasArea:n,isInvalid:s})=>{const a=tt[s?"negative":r];return _("bg-input-bg flex gap-1 relative px-1 transition-all duration-200 ease-in-out only:rounded first:rounded-t last:rounded-b",a.text,i?a.borderMessage:!o&&a.border,vt[e].group,{"ring-1":i,"opacity-60":t,"items-center":!n})},xl=({size:e,color:r})=>_("bg-transparent ring-0 w-full","focus:outline-hidden",[vt[e].input],tt[r].placeholder),Ao=({size:e,color:r})=>_("bg-transparent ring-0 w-full h-fit resize-none py-0.5","focus:outline-hidden",vt[e].input,tt[r].placeholder),yl=({size:e,color:r,isDisabled:t,isAction:o})=>{const i=tt[r];return _("transition-colors duration-200 rounded max-h-full h-fit",vt[e].icon,e==="sm"?"m-px":"m-0.5",t?"text-muted opacity-60 pointer-events-none":o?i.action:i.icon,{"cursor-pointer p-0.5":o&&!t,[i.actionHover]:o&&!t,"pointer-events-none":!o})},Il=({size:e,color:r,isDisabled:t,usePortal:o=!1,portalPlacement:i="bottom"})=>_("flex items-start gap-x-2 ring-1",o?i==="top"?"rounded-t ring-b-0":"rounded-b ring-t-0":["absolute left-0 right-0 z-10","first:bottom-full first:rounded-t first:ring-b-0","last:top-full last:rounded-b last:ring-t-0","only:top-full only:rounded only:ring-1"],t?"text-muted":tt[r].messageText,tt[r].borderMessage,tt[r].messageBackground,vt[e].message,{"opacity-60":t}),Cl=({size:e})=>_(vt[e].icon);function sr(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var kl=typeof global=="object"&&global&&global.Object===Object&&global,Sl=typeof self=="object"&&self&&self.Object===Object&&self,oi=kl||Sl||Function("return this")(),Ir=function(){return oi.Date.now()},El=/\s/;function Nl(e){for(var r=e.length;r--&&El.test(e.charAt(r)););return r}var _l=/^\s+/;function Al(e){return e&&e.slice(0,Nl(e)+1).replace(_l,"")}var ar=oi.Symbol,ni=Object.prototype,Ol=ni.hasOwnProperty,zl=ni.toString,It=ar?ar.toStringTag:void 0;function Rl(e){var r=Ol.call(e,It),t=e[It];try{e[It]=void 0;var o=!0}catch{}var i=zl.call(e);return o&&(r?e[It]=t:delete e[It]),i}var Dl=Object.prototype,jl=Dl.toString;function Ml(e){return jl.call(e)}var Wl="[object Null]",Tl="[object Undefined]",Oo=ar?ar.toStringTag:void 0;function Ll(e){return e==null?e===void 0?Tl:Wl:Oo&&Oo in Object(e)?Rl(e):Ml(e)}function Vl(e){return e!=null&&typeof e=="object"}var Pl="[object Symbol]";function Fl(e){return typeof e=="symbol"||Vl(e)&&Ll(e)==Pl}var zo=NaN,Hl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,$l=/^0o[0-7]+$/i,ql=parseInt;function Ro(e){if(typeof e=="number")return e;if(Fl(e))return zo;if(sr(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=sr(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Al(e);var t=Bl.test(e);return t||$l.test(e)?ql(e.slice(2),t?2:8):Hl.test(e)?zo:+e}var Gl="Expected a function",Kl=Math.max,Xl=Math.min;function Ut(e,r,t){var o,i,n,s,a,l,c=0,d=!1,g=!1,h=!0;if(typeof e!="function")throw new TypeError(Gl);r=Ro(r)||0,sr(t)&&(d=!!t.leading,g="maxWait"in t,n=g?Kl(Ro(t.maxWait)||0,r):n,h="trailing"in t?!!t.trailing:h);function y(S){var A=o,C=i;return o=i=void 0,c=S,s=e.apply(C,A),s}function N(S){return c=S,a=setTimeout(k,r),d?y(S):s}function x(S){var A=S-l,C=S-c,O=r-A;return g?Xl(O,n-C):O}function m(S){var A=S-l,C=S-c;return l===void 0||A>=r||A<0||g&&C>=n}function k(){var S=Ir();if(m(S))return p(S);a=setTimeout(k,x(S))}function p(S){return a=void 0,h&&o?y(S):(o=i=void 0,s)}function f(){a!==void 0&&clearTimeout(a),c=0,o=l=i=a=void 0}function v(){return a===void 0?s:p(Ir())}function u(){var S=Ir(),A=m(S);if(o=arguments,i=this,l=S,A){if(a===void 0)return N(l);if(g)return clearTimeout(a),a=setTimeout(k,r),y(l)}return a===void 0&&(a=setTimeout(k,r)),s}return u.cancel=f,u.flush=v,u}var Zl="Expected a function";function Yl(e,r,t){var o=!0,i=!0;if(typeof e!="function")throw new TypeError(Zl);return sr(t)&&(o="leading"in t?!!t.leading:o,i="trailing"in t?!!t.trailing:i),Ut(e,r,{leading:o,maxWait:r,trailing:i})}var dt=function(){return dt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},dt.apply(this,arguments)};function ii(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function si(e){return!e||!e.ownerDocument?document:e.ownerDocument}var ai=function(e){var r={},t=Array.prototype.reduce.call(e,function(o,i){var n=i.name.match(/data-simplebar-(.+)/);if(n){var s=n[1].replace(/\W+(.)/g,function(a,l){return l.toUpperCase()});switch(i.value){case"true":o[s]=!0;break;case"false":o[s]=!1;break;case void 0:o[s]=!0;break;default:o[s]=i.value}}return o},r);return t};function li(e,r){var t;e&&(t=e.classList).add.apply(t,r.split(" "))}function ci(e,r){e&&r.split(" ").forEach(function(t){e.classList.remove(t)})}function di(e){return".".concat(e.split(" ").join("."))}var $r=!!(typeof window<"u"&&window.document&&window.document.createElement),Jl=Object.freeze({__proto__:null,addClasses:li,canUseDOM:$r,classNamesToQuery:di,getElementDocument:si,getElementWindow:ii,getOptions:ai,removeClasses:ci}),lt=null,Do=null;$r&&window.addEventListener("resize",function(){Do!==window.devicePixelRatio&&(Do=window.devicePixelRatio,lt=null)});function jo(){if(lt===null){if(typeof document>"u")return lt=0,lt;var e=document.body,r=document.createElement("div");r.classList.add("simplebar-hide-scrollbar"),e.appendChild(r);var t=r.getBoundingClientRect().right;e.removeChild(r),lt=t}return lt}var Ze=ii,Cr=si,Ul=ai,Ye=li,Je=ci,Ne=di,Ct=(function(){function e(r,t){t===void 0&&(t={});var o=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=Ze(o.el);o.scrollXTicking||(i.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(i.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0),o.isScrolling||(o.isScrolling=!0,Ye(o.el,o.classNames.scrolling)),o.showScrollbar("x"),o.showScrollbar("y"),o.onStopScrolling()},this.scrollX=function(){o.axis.x.isOverflowing&&o.positionScrollbar("x"),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&o.positionScrollbar("y"),o.scrollYTicking=!1},this._onStopScrolling=function(){Je(o.el,o.classNames.scrolling),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isScrolling=!1},this.onMouseEnter=function(){o.isMouseEntering||(Ye(o.el,o.classNames.mouseEntered),o.showScrollbar("x"),o.showScrollbar("y"),o.isMouseEntering=!0),o.onMouseEntered()},this._onMouseEntered=function(){Je(o.el,o.classNames.mouseEntered),o.options.autoHide&&(o.hideScrollbar("x"),o.hideScrollbar("y")),o.isMouseEntering=!1},this._onMouseMove=function(i){o.mouseX=i.clientX,o.mouseY=i.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this._onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!o.axis.x.track.el||!o.axis.y.track.el||!o.axis.x.scrollbar.el||!o.axis.y.scrollbar.el)){var n,s;o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(n=o.isWithinBounds(o.axis.x.track.rect)),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(s=o.isWithinBounds(o.axis.y.track.rect)),(n||s)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(n&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(i,"x"):o.onTrackClick(i,"x")),s&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(i,"y"):o.onTrackClick(i,"y"))))}},this.drag=function(i){var n,s,a,l,c,d,g,h,y,N,x;if(!(!o.draggedAxis||!o.contentWrapperEl)){var m,k=o.axis[o.draggedAxis].track,p=(s=(n=k.rect)===null||n===void 0?void 0:n[o.axis[o.draggedAxis].sizeAttr])!==null&&s!==void 0?s:0,f=o.axis[o.draggedAxis].scrollbar,v=(l=(a=o.contentWrapperEl)===null||a===void 0?void 0:a[o.axis[o.draggedAxis].scrollSizeAttr])!==null&&l!==void 0?l:0,u=parseInt((d=(c=o.elStyles)===null||c===void 0?void 0:c[o.axis[o.draggedAxis].sizeAttr])!==null&&d!==void 0?d:"0px",10);i.preventDefault(),i.stopPropagation(),o.draggedAxis==="y"?m=i.pageY:m=i.pageX;var S=m-((h=(g=k.rect)===null||g===void 0?void 0:g[o.axis[o.draggedAxis].offsetAttr])!==null&&h!==void 0?h:0)-o.axis[o.draggedAxis].dragOffset;S=o.draggedAxis==="x"&&o.isRtl?((N=(y=k.rect)===null||y===void 0?void 0:y[o.axis[o.draggedAxis].sizeAttr])!==null&&N!==void 0?N:0)-f.size-S:S;var A=S/(p-f.size),C=A*(v-u);o.draggedAxis==="x"&&o.isRtl&&(C=!((x=e.getRtlHelpers())===null||x===void 0)&&x.isScrollingToNegative?-C:C),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=C}},this.onEndDrag=function(i){o.isDragging=!1;var n=Cr(o.el),s=Ze(o.el);i.preventDefault(),i.stopPropagation(),Je(o.el,o.classNames.dragging),o.onStopScrolling(),n.removeEventListener("mousemove",o.drag,!0),n.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=s.setTimeout(function(){n.removeEventListener("click",o.preventClick,!0),n.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=r,this.options=dt(dt({},e.defaultOptions),t),this.classNames=dt(dt({},e.defaultOptions.classNames),t.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Yl(this._onMouseMove,64),this.onWindowResize=Ut(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Ut(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Ut(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var r=document.createElement("div");r.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var t=r.firstElementChild,o=t==null?void 0:t.firstElementChild;if(!o)return null;document.body.appendChild(t),t.scrollLeft=0;var i=e.getOffset(t),n=e.getOffset(o);t.scrollLeft=-999;var s=e.getOffset(o);return document.body.removeChild(t),e.rtlHelpers={isScrollOriginAtZero:i.left!==n.left,isScrollingToNegative:n.left!==s.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:jo()}catch{return jo()}},e.getOffset=function(r){var t=r.getBoundingClientRect(),o=Cr(r),i=Ze(r);return{top:t.top+(i.pageYOffset||o.documentElement.scrollTop),left:t.left+(i.pageXOffset||o.documentElement.scrollLeft)}},e.prototype.init=function(){$r&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var r,t;this.wrapperEl=this.el.querySelector(Ne(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Ne(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Ne(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Ne(this.classNames.offset)),this.maskEl=this.el.querySelector(Ne(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Ne(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Ne(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Ne(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Ne(this.classNames.track)).concat(Ne(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Ne(this.classNames.track)).concat(Ne(this.classNames.vertical))),this.axis.x.scrollbar.el=((r=this.axis.x.track.el)===null||r===void 0?void 0:r.querySelector(Ne(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((t=this.axis.y.track.el)===null||t===void 0?void 0:t.querySelector(Ne(this.classNames.scrollbar)))||null,this.options.autoHide||(Ye(this.axis.x.scrollbar.el,this.classNames.visible),Ye(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var r=this,t,o=Ze(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(t=this.contentWrapperEl)===null||t===void 0||t.addEventListener("scroll",this.onScroll),o.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,n=o.ResizeObserver||ResizeObserver;this.resizeObserver=new n(function(){i&&o.requestAnimationFrame(function(){r.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),o.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new o.MutationObserver(function(){o.requestAnimationFrame(function(){r.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var r=Ze(this.el);this.elStyles=r.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var t=this.contentEl.offsetWidth,o=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||t>0,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var l=this.contentEl.scrollHeight,c=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=o?"auto":"100%",this.placeholderEl.style.width=i?"".concat(t||c,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var d=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=t!==0&&c>t,this.axis.y.isOverflowing=l>d,this.axis.x.isOverflowing=s==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=a==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var g=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&c>n-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>d-g,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(r){var t,o;if(r===void 0&&(r="y"),!this.axis[r].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[r].scrollSizeAttr],n=(o=(t=this.axis[r].track.el)===null||t===void 0?void 0:t[this.axis[r].offsetSizeAttr])!==null&&o!==void 0?o:0,s=n/i,a;return a=Math.max(~~(s*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},e.prototype.positionScrollbar=function(r){var t,o,i;r===void 0&&(r="y");var n=this.axis[r].scrollbar;if(!(!this.axis[r].isOverflowing||!this.contentWrapperEl||!n.el||!this.elStyles)){var s=this.contentWrapperEl[this.axis[r].scrollSizeAttr],a=((t=this.axis[r].track.el)===null||t===void 0?void 0:t[this.axis[r].offsetSizeAttr])||0,l=parseInt(this.elStyles[this.axis[r].sizeAttr],10),c=this.contentWrapperEl[this.axis[r].scrollOffsetAttr];c=r==="x"&&this.isRtl&&!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollOriginAtZero?-c:c,r==="x"&&this.isRtl&&(c=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?c:-c);var d=c/(s-l),g=~~((a-n.size)*d);g=r==="x"&&this.isRtl?-g+(a-n.size):g,n.el.style.transform=r==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"px, 0)")}},e.prototype.toggleTrackVisibility=function(r){r===void 0&&(r="y");var t=this.axis[r].track.el,o=this.axis[r].scrollbar.el;!t||!o||!this.contentWrapperEl||(this.axis[r].isOverflowing||this.axis[r].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[r].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(r))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[r].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(r))),this.axis[r].isOverflowing?o.style.display="block":o.style.display="none")},e.prototype.showScrollbar=function(r){r===void 0&&(r="y"),this.axis[r].isOverflowing&&!this.axis[r].scrollbar.isVisible&&(Ye(this.axis[r].scrollbar.el,this.classNames.visible),this.axis[r].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(r){r===void 0&&(r="y"),!this.isDragging&&this.axis[r].isOverflowing&&this.axis[r].scrollbar.isVisible&&(Je(this.axis[r].scrollbar.el,this.classNames.visible),this.axis[r].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(r){r===void 0&&(r="y");var t=this.axis[r];!t.track.el||!t.scrollbar.el||(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(r),Ye(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?Ye(t.scrollbar.el,this.classNames.hover):Je(t.scrollbar.el,this.classNames.hover)):(Je(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(r)))},e.prototype.onMouseLeaveForAxis=function(r){r===void 0&&(r="y"),Je(this.axis[r].track.el,this.classNames.hover),Je(this.axis[r].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(r)},e.prototype.onDragStart=function(r,t){var o;t===void 0&&(t="y"),this.isDragging=!0;var i=Cr(this.el),n=Ze(this.el),s=this.axis[t].scrollbar,a=t==="y"?r.pageY:r.pageX;this.axis[t].dragOffset=a-(((o=s.rect)===null||o===void 0?void 0:o[this.axis[t].offsetAttr])||0),this.draggedAxis=t,Ye(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(r,t){var o=this,i,n,s,a;t===void 0&&(t="y");var l=this.axis[t];if(!(!this.options.clickOnTrack||!l.scrollbar.el||!this.contentWrapperEl)){r.preventDefault();var c=Ze(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var d=this.axis[t].scrollbar,g=(n=(i=d.rect)===null||i===void 0?void 0:i[this.axis[t].offsetAttr])!==null&&n!==void 0?n:0,h=parseInt((a=(s=this.elStyles)===null||s===void 0?void 0:s[this.axis[t].sizeAttr])!==null&&a!==void 0?a:"0px",10),y=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],N=t==="y"?this.mouseY-g:this.mouseX-g,x=N<0?-1:1,m=x===-1?y-h:y+h,k=40,p=function(){o.contentWrapperEl&&(x===-1?y>m&&(y-=k,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=y,c.requestAnimationFrame(p)):y<m&&(y+=k,o.contentWrapperEl[o.axis[t].scrollOffsetAttr]=y,c.requestAnimationFrame(p)))};p()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var r=Ze(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),r.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(r){return this.mouseX>=r.left&&this.mouseX<=r.left+r.width&&this.mouseY>=r.top&&this.mouseY<=r.top+r.height},e.prototype.findChild=function(r,t){var o=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector;return Array.prototype.filter.call(r.children,function(i){return o.call(i,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Ul,e.helpers=Jl,e})(),_e=function(){return _e=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},_e.apply(this,arguments)};function Ql(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)r.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]]);return t}var qr=pe.forwardRef(function(e,r){var t=e.children,o=e.scrollableNodeProps,i=o===void 0?{}:o,n=Ql(e,["children","scrollableNodeProps"]),s=pe.useRef(),a=pe.useRef(),l=pe.useRef(),c={},d={};Object.keys(n).forEach(function(y){Object.prototype.hasOwnProperty.call(Ct.defaultOptions,y)?c[y]=n[y]:d[y]=n[y]});var g=_e(_e({},Ct.defaultOptions.classNames),c.classNames),h=_e(_e({},i),{className:"".concat(g.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:c.tabIndex||Ct.defaultOptions.tabIndex,role:"region","aria-label":c.ariaLabel||Ct.defaultOptions.ariaLabel});return pe.useEffect(function(){var y;return a.current=h.ref?h.ref.current:a.current,s.current&&(y=new Ct(s.current,_e(_e(_e({},c),a.current&&{scrollableNode:a.current}),l.current&&{contentNode:l.current})),typeof r=="function"?r(y):r&&(r.current=y)),function(){y==null||y.unMount(),y=null,typeof r=="function"&&r(null)}},[]),pe.createElement("div",_e({"data-simplebar":"init",ref:s},d),pe.createElement("div",{className:g.wrapper},pe.createElement("div",{className:g.heightAutoObserverWrapperEl},pe.createElement("div",{className:g.heightAutoObserverEl})),pe.createElement("div",{className:g.mask},pe.createElement("div",{className:g.offset},typeof t=="function"?t({scrollableNodeRef:a,scrollableNodeProps:_e(_e({},h),{ref:a}),contentNodeRef:l,contentNodeProps:{className:g.contentEl,ref:l}}):pe.createElement("div",_e({},h),pe.createElement("div",{className:g.contentEl},t)))),pe.createElement("div",{className:g.placeholder})),pe.createElement("div",{className:"".concat(g.track," ").concat(g.horizontal)},pe.createElement("div",{className:g.scrollbar})),pe.createElement("div",{className:"".concat(g.track," ").concat(g.vertical)},pe.createElement("div",{className:g.scrollbar})))});qr.displayName="SimpleBar";const ec=E.forwardRef(({size:e="md",color:r="primary",isInvalid:t=!1,isDisabled:o=!1,isReadOnly:i=!1,className:n,children:s,...a},l)=>{const[c,d]=E.useState(!1),[g,h]=E.useState(!1),y={size:e,color:t?"negative":r,isInvalid:t,isDisabled:o,isReadOnly:i,hasMessage:c,setHasMessage:d,hasArea:g,setHasArea:h};return w.jsx(ri.Provider,{value:y,children:w.jsx("div",{ref:l,"data-qui":"Input",className:_(bl(),n),...a,children:s})})}),tc=E.forwardRef(({className:e,children:r,...t},o)=>{const{size:i,color:n,isDisabled:s,isReadOnly:a,hasMessage:l,hasArea:c,isInvalid:d}=jt();return w.jsx("div",{ref:o,"data-qui":"InputGroup",className:_(wl({size:i,color:n,isDisabled:s,isReadOnly:a,hasMessage:l,hasArea:c,isInvalid:d}),e),...t,children:r})}),rc=E.forwardRef(({className:e,...r},t)=>{const{size:o,color:i,isInvalid:n,isDisabled:s,isReadOnly:a}=jt(),{isDisabled:l,isReadOnly:c,...d}=r;return w.jsx("input",{...d,ref:t,disabled:s||l,readOnly:c||a||!1,"aria-invalid":n,className:_(xl({size:o,color:i}),e)})}),oc=E.forwardRef(({className:e,wrapperClassName:r,autoHeight:t,...o},i)=>{const{size:n,color:s,isInvalid:a,isDisabled:l,isReadOnly:c,setHasArea:d}=jt(),g=E.useRef(null),h=i||g,y=E.useRef(null);E.useEffect(()=>(d(!0),()=>{d(!1)}),[d]);const N=E.useCallback(()=>{if(g.current){const u=g.current;u.style.height="auto",u.style.height=`${u.scrollHeight}px`}},[]),{isDisabled:x,isReadOnly:m,onInput:k,...p}=o,f=u=>{N(),k==null||k(u)};E.useEffect(()=>{N()},[N,o.value]),E.useEffect(()=>{t&&y.current&&y.current.style.removeProperty("height")},[t]);const v=u=>{u.preventDefault();const S=y.current;if(!S)return;const A=u.clientY,C=S.offsetHeight,O=Z=>{const J=C+(Z.clientY-A);J>30&&(S.style.height=J+"px")},H=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",H)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",H)};return w.jsxs("div",{ref:y,className:_("w-full relative",!t&&!o.rows&&"h-30",r),children:[t?w.jsx("textarea",{...p,ref:h,rows:1,className:_(Ao({size:n,color:s}),e),disabled:l||x,onInput:f,readOnly:m||c||!1,"aria-invalid":a,style:{overflow:"hidden"}}):w.jsx(qr,{style:{height:"100%"},children:w.jsx("textarea",{...p,ref:h,rows:1,className:_(Ao({size:n,color:s}),e),disabled:l||x,onInput:f,readOnly:m||c||!1,"aria-invalid":a,style:{height:"auto",overflow:"hidden",width:"100%"}})}),!t&&w.jsx("div",{className:"absolute right-0 bottom-0 -translate-x-full -translate-y-full size-1.75 text-sm cursor-se-resize z-10",onMouseDown:v,children:w.jsx(sa,{})})]})}),nc=E.forwardRef(({isAction:e=!1,className:r,isDisabled:t=!1,style:o,children:i,...n},s)=>{const{size:a,color:l,isDisabled:c}=jt(),d=t||c,g=yl({size:a,color:l,isDisabled:d,isAction:e});return w.jsx("div",{ref:s,"data-qui":"InputIcon",className:_(g,r),style:o,role:e||n.onClick?"button":void 0,tabIndex:(e||n.onClick)&&!d?0:void 0,"aria-disabled":d,...n,children:i})}),ic=E.forwardRef(({icon:e,usePortal:r=!1,className:t,children:o,...i},n)=>{const{size:s,color:a,setHasMessage:l,isDisabled:c}=jt(),d=E.useRef(null),g=E.useRef("bottom"),[h,y]=E.useState(null);E.useEffect(()=>(l(!0),()=>l(!1)),[l]),E.useEffect(()=>{if(!r||!d.current)return;const m=d.current,k=m.closest('[data-qui="Input"]'),p=k==null?void 0:k.querySelector('[data-qui="InputGroup"]'),f=p||k;if(!f)return;const v=!!(p&&m.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_FOLLOWING);g.current=v?"top":"bottom";const u=()=>{const A=f.getBoundingClientRect();y({top:v?A.top:A.bottom,left:A.left,width:A.width})};u();const S=new ResizeObserver(u);return S.observe(f),window.addEventListener("resize",u),window.addEventListener("scroll",u,!0),()=>{S.disconnect(),window.removeEventListener("resize",u),window.removeEventListener("scroll",u,!0)}},[r]);const N=g.current,x=w.jsxs("div",{ref:n,"data-qui":"InputMessage",role:"alert",className:_(Il({size:s,color:a,isDisabled:c,usePortal:r,portalPlacement:N}),t),...i,children:[e!==void 0&&w.jsx("div",{className:_(Cl({size:s})),children:e}),w.jsx("p",{children:o})]});return r?w.jsxs(w.Fragment,{children:[w.jsx("span",{ref:d,style:{display:"none"}}),h&&zt.createPortal(w.jsx("div",{"data-qui":"InputMessagePortal",style:{position:"fixed",top:N==="top"?void 0:h.top,bottom:N==="top"?`calc(100vh - ${h.top}px)`:void 0,left:h.left,width:h.width,zIndex:50},children:x}),document.body)]}):x});ec.displayName="InputRoot";tc.displayName="InputGroup";rc.displayName="InputField";oc.displayName="InputArea";nc.displayName="InputIcon";ic.displayName="InputMessage";const At={primary:{container:"bg-primary-light",text:"text-primary-dark",icon:"text-primary-dark",button:"hover:bg-primary-hover hover:text-body"},positive:{container:"bg-positive-light",text:"text-positive-dark",icon:"text-positive-dark",button:"hover:bg-positive hover:text-body"},negative:{container:"bg-negative-light",text:"text-negative-dark",icon:"text-negative-dark",button:"hover:bg-negative hover:text-body"},warning:{container:"bg-warning-light",text:"text-warning-dark",icon:"text-warning-dark",button:"hover:bg-warning hover:text-body"}},sc=({color:e})=>_("min-h-6 absolute py-0.5 px-1 rounded whitespace-nowrap flex items-center gap-1",At[e].container,At[e].icon),ac=({color:e})=>_("text-xs font-medium leading-3",At[e].text),lc=({color:e})=>_("p-0.5 rounded cursor-pointer",At[e].button,At[e].icon),cc=({label:e,color:r="primary",position:t="up",showCloseButton:o=!1,icon:i,children:n,delay:s=0,trigger:a="hover",className:l,container:c,isHidden:d=!1,usePortal:g=!1})=>{const[h,y]=E.useState(!1),[N,x]=E.useState(!1),[m,k]=E.useState({position:t,transform:""}),p=E.useRef(null),f=E.useRef(null),v=E.useRef(null),u=g||c!=null,S=h&&!d;E.useEffect(()=>{S||x(!1)},[S]);const A=E.useCallback(()=>{if(!p.current||!f.current)return;const b=p.current.getBoundingClientRect(),I=f.current.getBoundingClientRect(),L=window.innerWidth,T=window.innerHeight,j=window.scrollX,X=window.scrollY,B=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth,L),M=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,T),V=4;let ee=t,Y={position:ee,transform:""};const ie=ue=>{const{top:Se,left:He,width:Ee,height:Ie}=b,Ce=u?Se+X:0,we=u?He+j:0;switch(ue){case"up":return{top:`${Ce-I.height-V}px`,left:`${we+Ee/2}px`,transform:"translateX(-50%)"};case"up-start":return{top:`${Ce-I.height-V}px`,left:`${we}px`,transform:"translateX(0)"};case"up-end":return{top:`${Ce-I.height-V}px`,left:`${we+Ee-I.width}px`,transform:"translateX(0)"};case"down":return{top:`${Ce+Ie+V}px`,left:`${we+Ee/2}px`,transform:"translateX(-50%)"};case"down-start":return{top:`${Ce+Ie+V}px`,left:`${we}px`,transform:"translateX(0)"};case"down-end":return{top:`${Ce+Ie+V}px`,left:`${we+Ee-I.width}px`,transform:"translateX(0)"};case"left":return{top:`${Ce+Ie/2}px`,left:`${we-I.width-V}px`,transform:"translateY(-50%)"};case"left-start":return{top:`${Ce}px`,left:`${we-I.width-V}px`,transform:"translateY(0)"};case"left-end":return{top:`${Ce+Ie-I.height}px`,left:`${we-I.width-V}px`,transform:"translateY(0)"};case"right":return{top:`${Ce+Ie/2}px`,left:`${we+Ee+V}px`,transform:"translateY(-50%)"};case"right-start":return{top:`${Ce}px`,left:`${we+Ee+V}px`,transform:"translateY(0)"};case"right-end":return{top:`${Ce+Ie-I.height}px`,left:`${we+Ee+V}px`,transform:"translateY(0)"};default:return{}}},W={up:{fits:b.top-I.height-V>=0},"up-start":{fits:b.top-I.height-V>=0&&b.left+I.width<=L},"up-end":{fits:b.top-I.height-V>=0&&b.right-I.width>=0},down:{fits:b.bottom+I.height+V<=T&&b.bottom+I.height+V<=M},"down-start":{fits:b.bottom+I.height+V<=T&&b.bottom+I.height+V<=M&&b.left+I.width<=L},"down-end":{fits:b.bottom+I.height+V<=T&&b.bottom+I.height+V<=M&&b.right-I.width>=0},left:{fits:b.left-I.width-V>=0},"left-start":{fits:b.left-I.width-V>=0&&b.top+I.height<=T},"left-end":{fits:b.left-I.width-V>=0&&b.bottom-I.height>=0},right:{fits:b.right+I.width+V<=L&&b.right+I.width+V<=B},"right-start":{fits:b.right+I.width+V<=L&&b.right+I.width+V<=B&&b.top+I.height<=T},"right-end":{fits:b.right+I.width+V<=L&&b.right+I.width+V<=B&&b.bottom-I.height>=0}},ye=b.left+b.width/2-I.width/2,K=b.left+b.width/2+I.width/2;if((t==="up"||t==="down")&&(ye<0||K>L)&&(W[t].fits=!1),W[t].fits){const ue=ie(t);Y={position:t,...ue,transform:ue.transform||""}}else{const ue=["up","up-start","up-end","down","down-start","down-end","right","right-start","right-end","left","left-start","left-end"].find(Se=>W[Se].fits);if(ue){ee=ue;const Se=ie(ue);Y={position:ee,...Se,transform:Se.transform||""}}else{const Se={up:b.top,"up-start":b.top,"up-end":b.top,down:Math.min(T-b.bottom,M-b.bottom),"down-start":Math.min(T-b.bottom,M-b.bottom),"down-end":Math.min(T-b.bottom,M-b.bottom),left:b.left,"left-start":b.left,"left-end":b.left,right:Math.min(L-b.right,B-b.right),"right-start":Math.min(L-b.right,B-b.right),"right-end":Math.min(L-b.right,B-b.right)},He=Object.entries(Se).reduce((Ie,[Ce,we])=>we>Ie.space?{position:Ce,space:we}:Ie,{position:"up",space:0}).position;ee=He;const Ee=ie(He);Y={position:ee,...Ee,transform:Ee.transform||""}}}k(Y)},[t,u]),C=()=>{v.current&&(clearTimeout(v.current),v.current=null)},O=()=>{C(),y(!1)},H=()=>{C(),s===0?y(!1):v.current=setTimeout(()=>y(!1),s)},Z=()=>{a==="click"&&(y(!0),C(),v.current=setTimeout(()=>{N||y(!1)},s))},J=b=>{b.stopPropagation(),O()},oe=()=>{x(!0),C()},G=()=>{x(!1),h&&H()},P=()=>{a==="hover"&&(C(),y(!0))},D=()=>{a==="hover"&&H()};E.useEffect(()=>{if(!h||d||!p.current)return;const b=p.current;let I=!1,L=!1;const T=new IntersectionObserver(([j])=>{if(!I){L=j.isIntersecting,I=!0;return}L&&!j.isIntersecting&&O(),L=j.isIntersecting},{threshold:0});return T.observe(b),()=>T.disconnect()},[h,d]),E.useEffect(()=>{if(h){const b=requestAnimationFrame(()=>A());return()=>cancelAnimationFrame(b)}},[h,e,A]),E.useEffect(()=>{if(h){const b=setTimeout(()=>A(),0);return()=>clearTimeout(b)}},[h,A]),E.useEffect(()=>{const b=()=>{h&&A()},I=()=>{h&&A()};return window.addEventListener("resize",b),window.addEventListener("scroll",I,!0),()=>{window.removeEventListener("resize",b),window.removeEventListener("scroll",I,!0),C()}},[h,A]);const F=c||(typeof document<"u"?document.body:null),R=h&&!d&&!!e,ne=w.jsxs("div",{ref:f,role:"tooltip",className:sc({color:r}),style:{position:"absolute",left:m.left??0,top:m.top??0,transform:m.transform,zIndex:1e3,opacity:m.left?1:0,pointerEvents:o?"auto":"none"},onMouseEnter:o?oe:void 0,onMouseLeave:o?G:void 0,children:[i&&w.jsx("span",{"data-testid":"tooltip-icon",children:i}),w.jsx("div",{className:ac({color:r}),children:e}),o&&w.jsx("div",{onClick:J,className:lc({color:r}),role:"button",children:w.jsx(cr,{})})]});return w.jsxs(w.Fragment,{children:[w.jsxs("div",{"data-qui":"Tooltip",ref:p,onClick:Z,onMouseEnter:P,onMouseLeave:D,className:_("relative inline-flex items-center",l),children:[n,R&&!u&&ne]}),R&&u&&F&&zt.createPortal(ne,F)]})};var Mo;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(Mo||(Mo={}));const dc=Object.freeze({x:0,y:0});var ut;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(ut||(ut={}));var Wo;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Wo||(Wo={}));var ze;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(ze||(ze={}));ze.Space,ze.Enter,ze.Esc,ze.Space,ze.Enter,ze.Tab;var To;(function(e){e[e.RightClick=2]="RightClick"})(To||(To={}));var Lo;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Lo||(Lo={}));var Vo;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Vo||(Vo={}));ut.Backward+"",ut.Forward+"",ut.Backward+"",ut.Forward+"";var Mr;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Mr||(Mr={}));var Wr;(function(e){e.Optimized="optimized"})(Wr||(Wr={}));Mr.WhileDragging,Wr.Optimized;({...dc});var Po;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Po||(Po={}));ze.Down,ze.Right,ze.Up,ze.Left;const ui={sm:{padding:"px-4 py-0.5",text:"text-xxs",icon:"w-3 h-3",gap:"gap-0.5",badge:"min-w-3.5 h-3.5 text-2"},md:{padding:"px-6 py-1",text:"text-s",icon:"w-4 h-4",gap:"gap-1",badge:"min-w-4.5 h-4.5 text-xxs"},lg:{padding:"px-8 py-1.5",text:"text-base",icon:"w-5 h-5",gap:"gap-1.5",badge:"min-w-5 h-5 text-xs"}},uc={primary:{active:{bg:"bg-primary",text:"text-button-text",border:"border-primary"},inactive:{bg:"bg-input-bg",text:"text-inactive-text",border:"border-transparent"},hover:{bg:"hover:bg-primary-hover",text:"hover:text-button-text"}},positive:{active:{bg:"bg-positive",text:"text-button-text",border:"border-positive"},inactive:{bg:"bg-input-bg",text:"text-inactive-text",border:"border-transparent"},hover:{bg:"hover:bg-positive-hover",text:"hover:text-body"}},warning:{active:{bg:"bg-warning",text:"text-warning-text",border:"border-warning"},inactive:{bg:"bg-input-bg",text:"text-inactive-text",border:"border-transparent"},hover:{bg:"hover:bg-warning-hover",text:"hover:text-body"}},negative:{active:{bg:"bg-negative",text:"text-button-text",border:"border-negative"},inactive:{bg:"bg-input-bg",text:"text-inactive-text",border:"border-transparent"},hover:{bg:"hover:bg-negative-hover",text:"hover:text-body"}}},pc=(e,r,t,o)=>{const i=uc[e],n=ui[r],s="relative inline-flex items-center font-medium cursor-pointer transition-all duration-200";return o?_(s,n.padding,n.text,n.gap,"pointer-events-none cursor-not-allowed opacity-50","bg-card","text-inactive-text"):t?_(s,n.padding,n.text,n.gap,i.active.bg,i.active.text,"shadow-xs"):_(s,n.padding,n.text,n.gap,i.inactive.bg,i.inactive.text,i.hover.bg,i.hover.text)},gc=(e,r)=>_("flex items-center justify-center",ui[e].icon,{"opacity-50":r}),hc=()=>_("whitespace-nowrap"),pi=(e,r)=>{const t=_("group flex items-center justify-between space-x-4","rounded-t px-2 text-xs","focus:outline-hidden");return e&&!r?_(t,"z-2 border border-b-0 border-tab-border","bg-tab-active-bg font-semibold text-tab-active-fg"):r&&!e?_(t,"border border-transparent bg-tab-inactive-bg text-inactive-text"):_(t,"border border-transparent bg-tab-inactive-bg text-tab-inactive-fg","hover:text-tab-active-fg")},vc=E.createContext(void 0),fc=E.forwardRef(({value:e,label:r,icon:t,disabled:o,children:i,className:n,onClick:s,active:a,onClose:l,closable:c,touched:d,content:g,renderTab:h,...y},N)=>{const x=E.useContext(vc);if(!x)return null;const{activeTab:m,onTabChange:k,variant:p,color:f,size:v,showIcons:u,disabled:S}=x,A=a!==void 0?a:m===e,C=o||S,O=H=>{C||(k(e),s==null||s(H))};return p==="file"?w.jsx("div",{"data-qui":"FileTabItem",className:_(pi(A,!1),"cursor-pointer",n),onClick:H=>!C&&O(H),children:i||w.jsx(w.Fragment,{children:w.jsxs("span",{className:"flex items-center gap-2",children:[t,w.jsx("span",{children:r})]})})}):w.jsxs("button",{ref:N,"data-qui":"TabItem",type:"button",role:"tab","aria-selected":A,"aria-disabled":C,className:_(pc(f,v,A,C||!1),n),onClick:O,disabled:C,...y,children:[u&&t&&w.jsx("span",{className:gc(v,C||!1),children:t}),w.jsx("span",{className:hc(),children:i||r})]})});fc.displayName="TabItem";const mc=E.forwardRef(({isActive:e=!1,isDesactive:r=!1,children:t,...o},i)=>w.jsx("div",{"data-qui":"TabNavContainer",className:pi(e,r),ref:i,...o,children:t}));mc.displayName="TabNavContainer";var fe=function(){return fe=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},fe.apply(this,arguments)},Fo={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},Ho={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Ht={width:"20px",height:"20px",position:"absolute",zIndex:1},bc={top:fe(fe({},Fo),{top:"-5px"}),right:fe(fe({},Ho),{left:void 0,right:"-5px"}),bottom:fe(fe({},Fo),{top:void 0,bottom:"-5px"}),left:fe(fe({},Ho),{left:"-5px"}),topRight:fe(fe({},Ht),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:fe(fe({},Ht),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:fe(fe({},Ht),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:fe(fe({},Ht),{left:"-10px",top:"-10px",cursor:"nw-resize"})},wc=E.memo(function(e){var r=e.onResizeStart,t=e.direction,o=e.children,i=e.replaceStyles,n=e.className,s=E.useCallback(function(c){r(c,t)},[r,t]),a=E.useCallback(function(c){r(c,t)},[r,t]),l=E.useMemo(function(){return fe(fe({position:"absolute",userSelect:"none"},bc[t]),i??{})},[i,t]);return w.jsx("div",{className:n||void 0,style:l,onMouseDown:s,onTouchStart:a,children:o})}),xc=(function(){var e=function(r,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i[n])},e(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function o(){this.constructor=r}r.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}})(),Fe=function(){return Fe=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},Fe.apply(this,arguments)},yc={width:"auto",height:"auto"},Bt=function(e,r,t){return Math.max(Math.min(e,t),r)},Bo=function(e,r,t){var o=Math.round(e/r);return o*r+t*(o-1)},it=function(e,r){return new RegExp(e,"i").test(r)},$t=function(e){return!!(e.touches&&e.touches.length)},Ic=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},$o=function(e,r,t){t===void 0&&(t=0);var o=r.reduce(function(n,s,a){return Math.abs(s-e)<Math.abs(r[n]-e)?a:n},0),i=Math.abs(r[o]-e);return t===0||i<t?r[o]:e},kr=function(e){return e=e.toString(),e==="auto"||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:"".concat(e,"px")},qt=function(e,r,t,o){if(e&&typeof e=="string"){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%")){var i=Number(e.replace("%",""))/100;return r*i}if(e.endsWith("vw")){var i=Number(e.replace("vw",""))/100;return t*i}if(e.endsWith("vh")){var i=Number(e.replace("vh",""))/100;return o*i}}return e},Cc=function(e,r,t,o,i,n,s){return o=qt(o,e.width,r,t),i=qt(i,e.height,r,t),n=qt(n,e.width,r,t),s=qt(s,e.height,r,t),{maxWidth:typeof o>"u"?void 0:Number(o),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof n>"u"?void 0:Number(n),minHeight:typeof s>"u"?void 0:Number(s)}},kc=function(e){return Array.isArray(e)?e:[e,e]},Sc=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],qo="__resizable_base__",Ec=(function(e){xc(r,e);function r(t){var o,i,n,s,a=e.call(this,t)||this;return a.ratio=1,a.resizable=null,a.parentLeft=0,a.parentTop=0,a.resizableLeft=0,a.resizableRight=0,a.resizableTop=0,a.resizableBottom=0,a.targetLeft=0,a.targetTop=0,a.delta={width:0,height:0},a.appendBase=function(){if(!a.resizable||!a.window)return null;var l=a.parentNode;if(!l)return null;var c=a.window.document.createElement("div");return c.style.width="100%",c.style.height="100%",c.style.position="absolute",c.style.transform="scale(0, 0)",c.style.left="0",c.style.flex="0 0 100%",c.classList?c.classList.add(qo):c.className+=qo,l.appendChild(c),c},a.removeBase=function(l){var c=a.parentNode;c&&c.removeChild(l)},a.state={isResizing:!1,width:(i=(o=a.propsSize)===null||o===void 0?void 0:o.width)!==null&&i!==void 0?i:"auto",height:(s=(n=a.propsSize)===null||n===void 0?void 0:n.height)!==null&&s!==void 0?s:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},a.onResizeStart=a.onResizeStart.bind(a),a.onMouseMove=a.onMouseMove.bind(a),a.onMouseUp=a.onMouseUp.bind(a),a}return Object.defineProperty(r.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||yc},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"size",{get:function(){var t=0,o=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,n=this.resizable.offsetHeight,s=this.resizable.style.position;s!=="relative"&&(this.resizable.style.position="relative"),t=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,o=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:n,this.resizable.style.position=s}return{width:t,height:o}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"sizeStyle",{get:function(){var t=this,o=this.props.size,i=function(a){var l;if(typeof t.state[a]>"u"||t.state[a]==="auto")return"auto";if(t.propsSize&&t.propsSize[a]&&!((l=t.propsSize[a])===null||l===void 0)&&l.toString().endsWith("%")){if(t.state[a].toString().endsWith("%"))return t.state[a].toString();var c=t.getParentSize(),d=Number(t.state[a].toString().replace("px","")),g=d/c[a]*100;return"".concat(g,"%")}return kr(t.state[a])},n=o&&typeof o.width<"u"&&!this.state.isResizing?kr(o.width):i("width"),s=o&&typeof o.height<"u"&&!this.state.isResizing?kr(o.height):i("height");return{width:n,height:s}},enumerable:!1,configurable:!0}),r.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var t=this.appendBase();if(!t)return{width:0,height:0};var o=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(o=!0,this.parentNode.style.flexWrap="wrap"),t.style.position="relative",t.style.minWidth="100%",t.style.minHeight="100%";var n={width:t.offsetWidth,height:t.offsetHeight};return o&&(this.parentNode.style.flexWrap=i),this.removeBase(t),n},r.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},r.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},r.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var t=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:t.flexBasis!=="auto"?t.flexBasis:void 0})}},r.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},r.prototype.createSizeForCssProperty=function(t,o){var i=this.propsSize&&this.propsSize[o];return this.state[o]==="auto"&&this.state.original[o]===t&&(typeof i>"u"||i==="auto")?"auto":t},r.prototype.calculateNewMaxFromBoundary=function(t,o){var i=this.props.boundsByDirection,n=this.state.direction,s=i&&it("left",n),a=i&&it("top",n),l,c;if(this.props.bounds==="parent"){var d=this.parentNode;d&&(l=s?this.resizableRight-this.parentLeft:d.offsetWidth+(this.parentLeft-this.resizableLeft),c=a?this.resizableBottom-this.parentTop:d.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(l=s?this.resizableRight:this.window.innerWidth-this.resizableLeft,c=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(l=s?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),c=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return l&&Number.isFinite(l)&&(t=t&&t<l?t:l),c&&Number.isFinite(c)&&(o=o&&o<c?o:c),{maxWidth:t,maxHeight:o}},r.prototype.calculateNewSizeFromDirection=function(t,o){var i=this.props.scale||1,n=kc(this.props.resizeRatio||1),s=n[0],a=n[1],l=this.state,c=l.direction,d=l.original,g=this.props,h=g.lockAspectRatio,y=g.lockAspectRatioExtraHeight,N=g.lockAspectRatioExtraWidth,x=d.width,m=d.height,k=y||0,p=N||0;return it("right",c)&&(x=d.width+(t-d.x)*s/i,h&&(m=(x-p)/this.ratio+k)),it("left",c)&&(x=d.width-(t-d.x)*s/i,h&&(m=(x-p)/this.ratio+k)),it("bottom",c)&&(m=d.height+(o-d.y)*a/i,h&&(x=(m-k)*this.ratio+p)),it("top",c)&&(m=d.height-(o-d.y)*a/i,h&&(x=(m-k)*this.ratio+p)),{newWidth:x,newHeight:m}},r.prototype.calculateNewSizeFromAspectRatio=function(t,o,i,n){var s=this.props,a=s.lockAspectRatio,l=s.lockAspectRatioExtraHeight,c=s.lockAspectRatioExtraWidth,d=typeof n.width>"u"?10:n.width,g=typeof i.width>"u"||i.width<0?t:i.width,h=typeof n.height>"u"?10:n.height,y=typeof i.height>"u"||i.height<0?o:i.height,N=l||0,x=c||0;if(a){var m=(h-N)*this.ratio+x,k=(y-N)*this.ratio+x,p=(d-x)/this.ratio+N,f=(g-x)/this.ratio+N,v=Math.max(d,m),u=Math.min(g,k),S=Math.max(h,p),A=Math.min(y,f);t=Bt(t,v,u),o=Bt(o,S,A)}else t=Bt(t,d,g),o=Bt(o,h,y);return{newWidth:t,newHeight:o}},r.prototype.setBoundingClientRect=function(){var t=1/(this.props.scale||1);if(this.props.bounds==="parent"){var o=this.parentNode;if(o){var i=o.getBoundingClientRect();this.parentLeft=i.left*t,this.parentTop=i.top*t}}if(this.props.bounds&&typeof this.props.bounds!="string"){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left*t,this.targetTop=n.top*t}if(this.resizable){var s=this.resizable.getBoundingClientRect(),a=s.left,l=s.top,c=s.right,d=s.bottom;this.resizableLeft=a*t,this.resizableRight=c*t,this.resizableTop=l*t,this.resizableBottom=d*t}},r.prototype.onResizeStart=function(t,o){if(!(!this.resizable||!this.window)){var i=0,n=0;if(t.nativeEvent&&Ic(t.nativeEvent)?(i=t.nativeEvent.clientX,n=t.nativeEvent.clientY):t.nativeEvent&&$t(t.nativeEvent)&&(i=t.nativeEvent.touches[0].clientX,n=t.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var s=this.props.onResizeStart(t,o,this.resizable);if(s===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var a,l=this.window.getComputedStyle(this.resizable);if(l.flexBasis!=="auto"){var c=this.parentNode;if(c){var d=this.window.getComputedStyle(c).flexDirection;this.flexDir=d.startsWith("row")?"row":"column",a=l.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var g={original:{x:i,y:n,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Fe(Fe({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),direction:o,flexBasis:a};this.setState(g)}},r.prototype.onMouseMove=function(t){var o=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&$t(t))try{t.preventDefault(),t.stopPropagation()}catch{}var i=this.props,n=i.maxWidth,s=i.maxHeight,a=i.minWidth,l=i.minHeight,c=$t(t)?t.touches[0].clientX:t.clientX,d=$t(t)?t.touches[0].clientY:t.clientY,g=this.state,h=g.direction,y=g.original,N=g.width,x=g.height,m=this.getParentSize(),k=Cc(m,this.window.innerWidth,this.window.innerHeight,n,s,a,l);n=k.maxWidth,s=k.maxHeight,a=k.minWidth,l=k.minHeight;var p=this.calculateNewSizeFromDirection(c,d),f=p.newHeight,v=p.newWidth,u=this.calculateNewMaxFromBoundary(n,s);this.props.snap&&this.props.snap.x&&(v=$o(v,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(f=$o(f,this.props.snap.y,this.props.snapGap));var S=this.calculateNewSizeFromAspectRatio(v,f,{width:u.maxWidth,height:u.maxHeight},{width:a,height:l});if(v=S.newWidth,f=S.newHeight,this.props.grid){var A=Bo(v,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),C=Bo(f,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),O=this.props.snapGap||0,H=O===0||Math.abs(A-v)<=O?A:v,Z=O===0||Math.abs(C-f)<=O?C:f;v=H,f=Z}var J={width:v-y.width,height:f-y.height};if(this.delta=J,N&&typeof N=="string"){if(N.endsWith("%")){var oe=v/m.width*100;v="".concat(oe,"%")}else if(N.endsWith("vw")){var G=v/this.window.innerWidth*100;v="".concat(G,"vw")}else if(N.endsWith("vh")){var P=v/this.window.innerHeight*100;v="".concat(P,"vh")}}if(x&&typeof x=="string"){if(x.endsWith("%")){var oe=f/m.height*100;f="".concat(oe,"%")}else if(x.endsWith("vw")){var G=f/this.window.innerWidth*100;f="".concat(G,"vw")}else if(x.endsWith("vh")){var P=f/this.window.innerHeight*100;f="".concat(P,"vh")}}var D={width:this.createSizeForCssProperty(v,"width"),height:this.createSizeForCssProperty(f,"height")};this.flexDir==="row"?D.flexBasis=D.width:this.flexDir==="column"&&(D.flexBasis=D.height);var F=this.state.width!==D.width,R=this.state.height!==D.height,ne=this.state.flexBasis!==D.flexBasis,b=F||R||ne;b&&zt.flushSync(function(){o.setState(D)}),this.props.onResize&&b&&this.props.onResize(t,h,this.resizable,J)}},r.prototype.onMouseUp=function(t){var o,i,n=this.state,s=n.isResizing,a=n.direction;n.original,!(!s||!this.resizable)&&(this.props.onResizeStop&&this.props.onResizeStop(t,a,this.resizable,this.delta),this.props.size&&this.setState({width:(o=this.props.size.width)!==null&&o!==void 0?o:"auto",height:(i=this.props.size.height)!==null&&i!==void 0?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Fe(Fe({},this.state.backgroundStyle),{cursor:"auto"})}))},r.prototype.updateSize=function(t){var o,i;this.setState({width:(o=t.width)!==null&&o!==void 0?o:"auto",height:(i=t.height)!==null&&i!==void 0?i:"auto"})},r.prototype.renderResizer=function(){var t=this,o=this.props,i=o.enable,n=o.handleStyles,s=o.handleClasses,a=o.handleWrapperStyle,l=o.handleWrapperClass,c=o.handleComponent;if(!i)return null;var d=Object.keys(i).map(function(g){return i[g]!==!1?w.jsx(wc,{direction:g,onResizeStart:t.onResizeStart,replaceStyles:n&&n[g],className:s&&s[g],children:c&&c[g]?c[g]:null},g):null});return w.jsx("div",{className:l,style:a,children:d})},r.prototype.render=function(){var t=this,o=Object.keys(this.props).reduce(function(s,a){return Sc.indexOf(a)!==-1||(s[a]=t.props[a]),s},{}),i=Fe(Fe(Fe({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var n=this.props.as||"div";return w.jsxs(n,Fe({style:i,className:this.props.className},o,{ref:function(s){s&&(t.resizable=s)},children:[this.state.isResizing&&w.jsx("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},r.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},r})(E.PureComponent);const Nc={0:"bg-panel-0",1:"bg-panel-1",2:"bg-panel-2",3:"bg-panel-3",4:"bg-panel-4",5:"bg-panel-5"},_c={tabs:"border-tab-border",primary:"border-primary",negative:"border-input-error-border",positive:"border-positive",light:"border-panel-border-subtle",default:"border-panel-border"},gi=({depth:e=0,className:r,borderType:t,disabled:o})=>_("transition-colors duration-200",{"text-body":!o,"text-inactive-text":o},t?_c[t]:"border-panel-border",Nc[e],r),Ac=e=>{if(!e)return{};const r={},t=e.match(/min-w-\[(\d+)px\]/);t&&(r.minWidth=parseInt(t[1],10));const o=e.match(/max-w-\[(\d+)px\]/);o&&(r.maxWidth=parseInt(o[1],10));const i=e.match(/min-h-\[(\d+)px\]/);i&&(r.minHeight=parseInt(i[1],10));const n=e.match(/max-h-\[(\d+)px\]/);return n&&(r.maxHeight=parseInt(n[1],10)),r},Oc=E.forwardRef(({children:e,width:r,height:t,minWidth:o=10,minHeight:i=10,maxWidth:n,maxHeight:s,defaultWidth:a,defaultHeight:l,defaultSize:c,size:d,grid:g,snap:h,lockAspectRatio:y=!1,enable:N,handleStyles:x={},handleClasses:m={},handleComponent:k={},style:p={},className:f,onResizeStart:v,onResize:u,onResizeStop:S,scale:A=1,bounds:C,snapGap:O,as:H="div",depth:Z,disabled:J},oe)=>{const G=gi({depth:Z,className:f,disabled:J}),P=Ac(f),D=d?{size:d}:r!==void 0||t!==void 0?{size:{width:r??"auto",height:t??"auto"}}:{},F=c?{defaultSize:c}:a!==void 0||l!==void 0?{defaultSize:{width:a??"auto",height:l??"auto"}}:{},R=E.useRef(null);return E.useImperativeHandle(oe,()=>{var ne;return(ne=R.current)==null?void 0:ne.resizable}),w.jsx(Ec,{"data-qui":"Resizable",ref:R,...D,...F,minWidth:o??P.minWidth,minHeight:i??P.minHeight,maxWidth:n??P.maxWidth,maxHeight:s??P.maxHeight,grid:g,snap:h,lockAspectRatio:y,enable:N,handleStyles:x,handleClasses:m,handleComponent:k,style:p,className:_("relative box-border",G),onResizeStart:v,onResize:u,onResizeStop:S,scale:A,bounds:C,snapGap:O,as:H,children:e})});Oc.displayName="Resizable";const st={sm:{track:"h-4 w-7",thumb:"size-3",thumbUnchecked:"left-0.5",thumbChecked:"left-3.5",label:"text-xs",gap:"gap-2"},md:{track:"h-5 w-9",thumb:"size-4",thumbUnchecked:"left-0.5",thumbChecked:"left-4.5",label:"text-sm",gap:"gap-2.5"},lg:{track:"h-6 w-11",thumb:"size-5",thumbUnchecked:"left-0.5",thumbChecked:"left-5.5",label:"text-base",gap:"gap-3"}},Gt={primary:{bg:"bg-primary",thumb:"group-hover:bg-primary-light",icon:"text-primary"},positive:{bg:"bg-positive",thumb:"group-hover:bg-positive-light",icon:"text-positive"},warning:{bg:"bg-warning",thumb:"group-hover:bg-warning-light",icon:"text-warning"},negative:{bg:"bg-negative",thumb:"group-hover:bg-negative-light",icon:"text-negative"}},zc=(e,r,t,o,i,n)=>({container:_("inline-flex items-center",st[e].gap,n),track:_("relative inline-flex items-center shrink-0 group","transition-colors duration-200 ease-in-out","focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2","border border-input-border rounded-full justify-between",st[e].track,{[Gt[r].bg]:t&&!o&&!i,"bg-input-bg":!t&&!o||i,"bg-panel cursor-not-allowed":o,"cursor-pointer":!o}),thumb:_("bg-input-text pointer-events-none inline-flex items-center justify-center shadow-xs","transition-all duration-200 ease-in-out","rounded-full absolute",st[e].thumb,t?st[e].thumbChecked:st[e].thumbUnchecked,{[Gt[r].thumb]:!o,"bg-canvas-subtle":o}),iconLeft:_("flex items-center justify-center z-10 w-1/2 p-0.5",{[Gt[r].icon]:!t&&!o,"text-panel-subtle":o||t}),iconRight:_("flex items-center justify-center z-10 w-1/2 p-0.5",{[Gt[r].icon]:t&&!o,"text-panel-subtle":o||!t}),label:_("font-medium text-body",st[e].label,{"cursor-pointer":!o,"cursor-not-allowed text-muted":o})}),Rc=E.forwardRef(({label:e,checked:r,defaultChecked:t=!1,disabled:o=!1,size:i="md",color:n="primary",icons:s,onChange:a,className:l,id:c,name:d,...g},h)=>{const[y,N]=E.useState(t),x=r!==void 0,m=x?r:y,k=()=>{const f=!m;x||N(f),a==null||a(f)},p=zc(i,n,m,o,!!s,l);return w.jsxs("div",{"data-qui":"Toggle",className:p.container,children:[e&&w.jsx("label",{htmlFor:c,className:p.label,children:e}),w.jsxs("button",{ref:h,...g,type:"button",role:"switch","aria-checked":m,"aria-label":e,disabled:o,onClick:k,name:d,id:c,className:p.track,children:[s&&w.jsx("span",{className:p.iconLeft,children:s.unchecked}),w.jsx("span",{className:p.thumb,"aria-hidden":"true"}),s&&w.jsx("span",{className:p.iconRight,children:s.checked})]})]})});Rc.displayName="Toggle";E.createContext(null);const hi=E.forwardRef(({depth:e=0,className:r,children:t,borderType:o,disabled:i,...n},s)=>{const a=gi({depth:e,className:r,borderType:o,disabled:i});return w.jsx("div",{"data-qui":"Panel",ref:s,className:a,"aria-disabled":i,...n,children:t})});hi.displayName="Panel";const Ot={sm:{container:"h-5 px-0.5 gap-1 rounded",text:"text-xxs leading-3",icon:"text-s",iconButton:"text-s p-0.5 cursor-pointer"},md:{container:"h-5.5 px-1 gap-1 rounded",text:"text-xs leading-4",icon:"text-sm",iconButton:" text-sm p-0.5 cursor-pointer"},lg:{container:"h-6 px-1.5 gap-1.5 rounded",text:"text-s leading-none",icon:"text-base",iconButton:"text-base p-0.5 cursor-pointer"}},Qt={primary:{bg:"bg-primary",text:"text-button-text",border:"border-primary",buttonHover:"hover:bg-primary-hover"},white:{bg:"bg-canvas-default",text:"text-primary",border:"border-canvas-default",buttonHover:"hover:bg-primary-hover hover:text-button-text"},positive:{bg:"bg-positive",text:"text-button-text",border:"border-positive",buttonHover:"hover:bg-positive-hover"},warning:{bg:"bg-warning",text:"text-button-text",border:"border-warning",buttonHover:"hover:bg-warning-hover"},negative:{bg:"bg-negative",text:"text-button-text",border:"border-negative",buttonHover:"hover:bg-negative-hover"},grey:{bg:"bg-input-bg",text:"text-input-text",border:"border-input-border",buttonHover:"hover:bg-input-hover"},dark:{bg:"bg-tab-inactive-bg",text:"text-input-text",border:"border-input-border",buttonHover:"hover:bg-primary-hover hover:text-button-text"}},Dc=(e,r,t,o)=>_("inline-flex items-center justify-center font-medium border",Ot[e].container,Qt[r].bg,Qt[r].text,Qt[r].border,Ot[e].text,{"opacity-60 pointer-events-none":t,"cursor-pointer hover:bg-opacity-90 transition-opacity":o&&!t}),jc=(e,r,t)=>_({[Ot[e].icon]:!t,"bg-canvas-default outline-canvas-default text-primary":t&&r!=="white"||t,"bg-primary outline-primary text-button-text":t&&r==="white"&&!t,"outline-solid outline-1 h-full py-0.5 grid place-items-center -my-1 only:-mx-0.5 first:-ml-1.5 last:-mr-1.5 only:rounded first:rounded-l last:rounded-r":t||t}),Mc=e=>_(Ot[e].text),vi=(e,r,t)=>_("inline-flex items-center justify-center rounded transition-colors duration-200 focus:outline-hidden ",Ot[e].iconButton,Qt[r].buttonHover,{"pointer-events-none":t}),fi=E.createContext(null),dr=()=>{const e=E.useContext(fi);if(!e)throw new Error("Pill components must be used within a Pill.Root");return e},Gr=E.forwardRef(({size:e="md",color:r="primary",className:t,children:o,disabled:i=!1,onClick:n,...s},a)=>{const l={size:e,color:r,disabled:i},c=!!n;return w.jsx(fi.Provider,{value:l,children:w.jsx("div",{"data-qui":"Pill",ref:a,onClick:n,className:_(Dc(e,r,i,c),t),...s,children:o})})});Gr.displayName="Pill.Root";const Kr=E.forwardRef(({className:e,children:r,...t},o)=>{const{size:i}=dr();return w.jsx("span",{ref:o,className:_(Mc(i),e),...t,children:r})});Kr.displayName="Pill.Text";const Xr=E.forwardRef(({className:e,children:r,label:t,position:o,...i},n)=>{const{size:s,color:a,disabled:l}=dr(),c=!!t,d=w.jsx("span",{ref:n,className:_(jc(s,a,c),e,{"opacity-60":l}),...i,children:r});return c&&!l?w.jsx(cc,{label:t||"",position:o||"up",children:d}):d});Xr.displayName="Pill.Icon";const mi=E.forwardRef(({className:e,children:r,...t},o)=>{const{size:i,color:n,disabled:s}=dr();return w.jsx("button",{ref:o,type:"button",disabled:s,className:_(vi(i,n,s),e),...t,children:r})});mi.displayName="Pill.Button";const Zr=E.forwardRef(({className:e,onClose:r,"aria-label":t="Remove pill",children:o,...i},n)=>{const{size:s,color:a,disabled:l}=dr();return w.jsx("button",{ref:n,type:"button",disabled:l,className:_(vi(s,a,l),e),onClick:r,"aria-label":t,...i,children:o||w.jsx(cr,{})})});Zr.displayName="Pill.Close";const bi=E.forwardRef(({size:e="md",color:r="primary",label:t,icon:o,onClose:i,closable:n=!1,className:s,children:a,disabled:l=!1,...c},d)=>w.jsxs(Gr,{ref:d,size:e,color:r,className:s,disabled:l,...c,children:[o&&w.jsx(Xr,{children:o}),a||t&&w.jsx(Kr,{children:t}),n&&w.jsx(Zr,{onClose:i})]}));bi.displayName="Pill";Object.assign(bi,{Root:Gr,Text:Kr,Icon:Xr,Button:mi,Close:Zr});function at(e,r,t){let o=t.initialDeps??[],i,n=!0;function s(){var a,l,c;let d;t.key&&(a=t.debug)!=null&&a.call(t)&&(d=Date.now());const g=e();if(!(g.length!==o.length||g.some((y,N)=>o[N]!==y)))return i;o=g;let h;if(t.key&&(l=t.debug)!=null&&l.call(t)&&(h=Date.now()),i=r(...g),t.key&&(c=t.debug)!=null&&c.call(t)){const y=Math.round((Date.now()-d)*100)/100,N=Math.round((Date.now()-h)*100)/100,x=N/16,m=(k,p)=>{for(k=String(k);k.length<p;)k=" "+k;return k};console.info(`%c⏱ ${m(N,5)} /${m(y,5)} ms`,`
|
|
133
|
+
font-size: .6rem;
|
|
134
|
+
font-weight: bold;
|
|
135
|
+
color: hsl(${Math.max(0,Math.min(120-120*x,120))}deg 100% 31%);`,t==null?void 0:t.key)}return t!=null&&t.onChange&&!(n&&t.skipInitialOnChange)&&t.onChange(i),n=!1,i}return s.updateDeps=a=>{o=a},s}function Go(e,r){if(e===void 0)throw new Error("Unexpected undefined");return e}const Wc=(e,r)=>Math.abs(e-r)<1.01,Tc=(e,r,t)=>{let o;return function(...i){e.clearTimeout(o),o=e.setTimeout(()=>r.apply(this,i),t)}},Ko=e=>{const{offsetWidth:r,offsetHeight:t}=e;return{width:r,height:t}},Lc=e=>e,Vc=e=>{const r=Math.max(e.startIndex-e.overscan,0),t=Math.min(e.endIndex+e.overscan,e.count-1),o=[];for(let i=r;i<=t;i++)o.push(i);return o},Pc=(e,r)=>{const t=e.scrollElement;if(!t)return;const o=e.targetWindow;if(!o)return;const i=s=>{const{width:a,height:l}=s;r({width:Math.round(a),height:Math.round(l)})};if(i(Ko(t)),!o.ResizeObserver)return()=>{};const n=new o.ResizeObserver(s=>{const a=()=>{const l=s[0];if(l!=null&&l.borderBoxSize){const c=l.borderBoxSize[0];if(c){i({width:c.inlineSize,height:c.blockSize});return}}i(Ko(t))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(a):a()});return n.observe(t,{box:"border-box"}),()=>{n.unobserve(t)}},Xo={passive:!0},Zo=typeof window>"u"?!0:"onscrollend"in window,Fc=(e,r)=>{const t=e.scrollElement;if(!t)return;const o=e.targetWindow;if(!o)return;let i=0;const n=e.options.useScrollendEvent&&Zo?()=>{}:Tc(o,()=>{r(i,!1)},e.options.isScrollingResetDelay),s=d=>()=>{const{horizontal:g,isRtl:h}=e.options;i=g?t.scrollLeft*(h&&-1||1):t.scrollTop,n(),r(i,d)},a=s(!0),l=s(!1);t.addEventListener("scroll",a,Xo);const c=e.options.useScrollendEvent&&Zo;return c&&t.addEventListener("scrollend",l,Xo),()=>{t.removeEventListener("scroll",a),c&&t.removeEventListener("scrollend",l)}},Hc=(e,r,t)=>{if(r!=null&&r.borderBoxSize){const o=r.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return e[t.options.horizontal?"offsetWidth":"offsetHeight"]},Bc=(e,{adjustments:r=0,behavior:t},o)=>{var i,n;const s=e+r;(n=(i=o.scrollElement)==null?void 0:i.scrollTo)==null||n.call(i,{[o.options.horizontal?"left":"top"]:s,behavior:t})};class $c{constructor(r){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var t,o,i;return((i=(o=(t=this.targetWindow)==null?void 0:t.performance)==null?void 0:o.now)==null?void 0:i.call(o))??Date.now()},this.observer=(()=>{let t=null;const o=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(i=>{i.forEach(n=>{const s=()=>{const a=n.target,l=this.indexFromElement(a);if(!a.isConnected){this.observer.unobserve(a);return}this.shouldMeasureDuringScroll(l)&&this.resizeItem(l,this.options.measureElement(a,n,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(s):s()})}));return{disconnect:()=>{var i;(i=o())==null||i.disconnect(),t=null},observe:i=>{var n;return(n=o())==null?void 0:n.observe(i,{box:"border-box"})},unobserve:i=>{var n;return(n=o())==null?void 0:n.unobserve(i)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,i])=>{typeof i>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Lc,rangeExtractor:Vc,onChange:()=>{},measureElement:Hc,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var o,i;(i=(o=this.options).onChange)==null||i.call(o,this,t)},this.maybeNotify=at(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const o=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==o){if(this.cleanup(),!o){this.maybeNotify();return}this.scrollElement=o,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(i=>{this.observer.observe(i)}),this.unsubs.push(this.options.observeElementRect(this,i=>{this.scrollRect=i,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(i,n)=>{this.scrollAdjustments=0,this.scrollDirection=n?this.getScrollOffset()<i?"forward":"backward":null,this.scrollOffset=i,this.isScrolling=n,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,o)=>{const i=new Map,n=new Map;for(let s=o-1;s>=0;s--){const a=t[s];if(i.has(a.lane))continue;const l=n.get(a.lane);if(l==null||a.end>l.end?n.set(a.lane,a):a.end<l.end&&i.set(a.lane,!0),i.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((s,a)=>s.end===a.end?s.index-a.index:s.end-a.end)[0]:void 0},this.getMeasurementOptions=at(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(t,o,i,n,s,a)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:i,getItemKey:n,enabled:s,lanes:a}),{key:!1}),this.getMeasurements=at(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:i,getItemKey:n,enabled:s,lanes:a},l)=>{if(!s)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>t)for(const h of this.laneAssignments.keys())h>=t&&this.laneAssignments.delete(h);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(h=>{this.itemSizeCache.set(h.key,h.size)}));const c=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===t&&(this.lanesSettling=!1);const d=this.measurementsCache.slice(0,c),g=new Array(a).fill(void 0);for(let h=0;h<c;h++){const y=d[h];y&&(g[y.lane]=h)}for(let h=c;h<t;h++){const y=n(h),N=this.laneAssignments.get(h);let x,m;if(N!==void 0&&this.options.lanes>1){x=N;const v=g[x],u=v!==void 0?d[v]:void 0;m=u?u.end+this.options.gap:o+i}else{const v=this.options.lanes===1?d[h-1]:this.getFurthestMeasurement(d,h);m=v?v.end+this.options.gap:o+i,x=v?v.lane:h%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(h,x)}const k=l.get(y),p=typeof k=="number"?k:this.options.estimateSize(h),f=m+p;d[h]={index:h,start:m,size:p,end:f,key:y,lane:x},g[x]=h}return this.measurementsCache=d,d},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=at(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,o,i,n)=>this.range=t.length>0&&o>0?qc({measurements:t,outerSize:o,scrollOffset:i,lanes:n}):null,{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=at(()=>{let t=null,o=null;const i=this.calculateRange();return i&&(t=i.startIndex,o=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,o]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,o]},(t,o,i,n,s)=>n===null||s===null?[]:t({startIndex:n,endIndex:s,overscan:o,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=t=>{const o=this.options.indexAttribute,i=t.getAttribute(o);return i?parseInt(i,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=t=>{var o;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((o=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:o.index);if(i!==void 0&&this.range){const n=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),s=Math.max(0,i-n),a=Math.min(this.options.count-1,i+n);return t>=s&&t<=a}return!0},this.measureElement=t=>{if(!t){this.elementsCache.forEach((s,a)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(a))});return}const o=this.indexFromElement(t),i=this.options.getItemKey(o),n=this.elementsCache.get(i);n!==t&&(n&&this.observer.unobserve(n),this.observer.observe(t),this.elementsCache.set(i,t)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(o)&&this.resizeItem(o,this.options.measureElement(t,void 0,this))},this.resizeItem=(t,o)=>{var i;const n=this.measurementsCache[t];if(!n)return;const s=this.itemSizeCache.get(n.key)??n.size,a=o-s;a!==0&&(((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,a,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",a),this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=a,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,o)),this.notify(!1))},this.getVirtualItems=at(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,o)=>{const i=[];for(let n=0,s=t.length;n<s;n++){const a=t[n],l=o[a];i.push(l)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const o=this.getMeasurements();if(o.length!==0)return Go(o[wi(0,o.length-1,i=>Go(o[i]).start,t)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const t=this.scrollElement.document.documentElement;return this.options.horizontal?t.scrollWidth-this.scrollElement.innerWidth:t.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(t,o,i=0)=>{if(!this.scrollElement)return 0;const n=this.getSize(),s=this.getScrollOffset();o==="auto"&&(o=t>=s+n?"end":"start"),o==="center"?t+=(i-n)/2:o==="end"&&(t-=n);const a=this.getMaxScrollOffset();return Math.max(Math.min(a,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const i=this.getSize(),n=this.getScrollOffset(),s=this.measurementsCache[t];if(!s)return;if(o==="auto")if(s.end>=n+i-this.options.scrollPaddingEnd)o="end";else if(s.start<=n+this.options.scrollPaddingStart)o="start";else return[n,o];if(o==="end"&&t===this.options.count-1)return[this.getMaxScrollOffset(),o];const a=o==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,o,s.size),o]},this.scrollToOffset=(t,{align:o="start",behavior:i="auto"}={})=>{const n=this.getOffsetForAlignment(t,o),s=this.now();this.scrollState={index:null,align:o,behavior:i,startedAt:s,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(t,{align:o="auto",behavior:i="auto"}={})=>{t=Math.max(0,Math.min(t,this.options.count-1));const n=this.getOffsetForIndex(t,o);if(!n)return;const[s,a]=n,l=this.now();this.scrollState={index:t,align:a,behavior:i,startedAt:l,lastTargetOffset:s,stableFrames:0},this._scrollToOffset(s,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(t,{behavior:o="auto"}={})=>{const i=this.getScrollOffset()+t,n=this.now();this.scrollState={index:null,align:"start",behavior:o,startedAt:n,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:o}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{var t;const o=this.getMeasurements();let i;if(o.length===0)i=this.options.paddingStart;else if(this.options.lanes===1)i=((t=o[o.length-1])==null?void 0:t.end)??0;else{const n=Array(this.options.lanes).fill(null);let s=o.length-1;for(;s>=0&&n.some(a=>a===null);){const a=o[s];n[a.lane]===null&&(n[a.lane]=a.end),s--}i=Math.max(...n.filter(a=>a!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:o,behavior:i})=>{this.options.scrollToFn(t,{behavior:i,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(r)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const r=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,t=r?r[0]:this.scrollState.lastTargetOffset,o=1,i=t!==this.scrollState.lastTargetOffset;if(!i&&Wc(t,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=o){this.scrollState=null;return}}else this.scrollState.stableFrames=0,i&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior="auto",this._scrollToOffset(t,{adjustments:void 0,behavior:"auto"}));this.scheduleScrollReconcile()}}const wi=(e,r,t,o)=>{for(;e<=r;){const i=(e+r)/2|0,n=t(i);if(n<o)e=i+1;else if(n>o)r=i-1;else return i}return e>0?e-1:0};function qc({measurements:e,outerSize:r,scrollOffset:t,lanes:o}){const i=e.length-1,n=l=>e[l].start;if(e.length<=o)return{startIndex:0,endIndex:i};let s=wi(0,i,n,t),a=s;if(o===1)for(;a<i&&e[a].end<t+r;)a++;else if(o>1){const l=Array(o).fill(0);for(;a<i&&l.some(d=>d<t+r);){const d=e[a];l[d.lane]=d.end,a++}const c=Array(o).fill(t+r);for(;s>=0&&c.some(d=>d>=t);){const d=e[s];c[d.lane]=d.start,s--}s=Math.max(0,s-s%o),a=Math.min(i,a+(o-1-a%o))}return{startIndex:s,endIndex:a}}const Yo=typeof document<"u"?pe.useLayoutEffect:pe.useEffect;function Gc({useFlushSync:e=!0,...r}){const t=pe.useReducer(()=>({}),{})[1],o={...r,onChange:(n,s)=>{var a;e&&s?zt.flushSync(t):t(),(a=r.onChange)==null||a.call(r,n,s)}},[i]=pe.useState(()=>new $c(o));return i.setOptions(o),Yo(()=>i._didMount(),[]),Yo(()=>i._willUpdate()),i}function Kc(e){return Gc({observeElementRect:Pc,observeElementOffset:Fc,scrollToFn:Bc,...e})}const Xc=E.createContext(null),xe=()=>{const e=E.useContext(Xc);if(!e)throw new Error("Select compound components must be used within Select.Root");return e},be={sm:{trigger:"h-5 min-h-fit",control:"min-h-5 p-0.5 gap-1",input:"text-xs h-3.5",placeholder:"placeholder:text-xs text-xs",singleValue:"text-xs",multiValue:"h-3.5 px-0.5 gap-1 text-xxs",multiValueLabel:"text-xxs",multiValueRemove:"w-3 h-3",indicatorsContainer:"gap-1",clearIndicator:"p-0.5 size-3",dropdownIndicator:"p-0.5 size-3",indicatorSeparator:"h-3",loadingIndicator:"w-3 h-3",menu:"m-0",menuList:"py-1",option:"px-1 py-0.5 text-xs",group:"pt-1",groupHeading:"px-2 py-0.5 text-xxs",noOptionsMessage:"px-2 py-1 text-xxs",loadingMessage:"px-2 py-1 text-xxs",message:"text-xxs p-1.5",icon:"text-sm"},md:{trigger:"h-6 min-h-fit",control:"min-h-6 p-1 gap-1.5",input:"text-s h-4",placeholder:"placeholder:text-s text-s",singleValue:"text-s",multiValue:"h-4 p-1 gap-1 text-xs",multiValueLabel:"text-xs",multiValueRemove:"w-3.5 h-3.5",indicatorsContainer:"gap-1",clearIndicator:"p-0.5 size-4",dropdownIndicator:"p-0.5 size-4",indicatorSeparator:"h-4",loadingIndicator:"w-4 h-4",menu:"m-0",menuList:"py-1",option:"px-2 py-1 text-s",group:"pt-1.5",groupHeading:"px-3 py-1 text-xs",noOptionsMessage:"px-2 py-1.5 text-xs",loadingMessage:"px-3 py-1.5 text-xs",message:"text-xs p-2",icon:"text-base"},lg:{trigger:"h-7 min-h-fit",control:"min-h-7 p-1.5 gap-2",input:"text-sm h-5",placeholder:"placeholder:text-sm text-sm",singleValue:"text-sm",multiValue:"h-5 px-1.5 gap-1.5 text-s",multiValueLabel:"text-xs",multiValueRemove:"w-4 h-4",indicatorsContainer:"gap-1.5",clearIndicator:"p-0.5 size-5",dropdownIndicator:"p-1 size-5",indicatorSeparator:"h-5",loadingIndicator:"w-5 h-5",menu:"m-0",menuList:"py-1.5",option:"px-3 py-2 text-sm",group:"pt-2",groupHeading:"px-4 py-1.5 text-s",noOptionsMessage:"px-4 py-2 text-s",loadingMessage:"px-4 py-2 text-s",message:"text-s p-2.5",icon:"text-lg"}},de={primary:{control:"cursor-pointer bg-input-bg text-select-text",controlFocused:"border-input-focus-border",controlDisabled:"opacity-60",controlInvalid:"bg-input-bg border-input-error-border text-select-text",placeholder:"placeholder:text-input-placeholder text-input-text placeholder:opacity-60",singleValue:"text-select-text",singleValueDisabled:"text-input-placeholder",multiValue:"bg-input-option-active-bg text-input-option-active-text",multiValueLabel:"text-input-option-active-text",multiValueRemove:"text-input-option-active-text hover:bg-input-option-hover-bg hover:text-body rounded-xs p-px",multiValueRemoveHover:"hover:bg-input-option-hover-bg",multiValueDisabled:"bg-canvas-subtle text-muted",clearIndicator:"text-input-text hover:text-body cursor-pointer",clearIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",dropdownIndicator:"text-input-text",dropdownIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",indicatorSeparator:"bg-input-border",loadingIndicator:"text-primary",menu:"bg-select-list-bg border-input-focus-border shadow-lg",menuList:"scrollbar-thin scrollbar-thumb-input-border scrollbar-track-transparent",option:"text-select-text cursor-pointer",optionFocused:"bg-input-option-hover-bg text-body",optionSelected:"bg-input-option-active-bg text-input-option-active-text",optionDisabled:"text-input-placeholder cursor-not-allowed",group:"",groupHeading:"text-input-placeholder font-semibold",noOptionsMessage:"text-input-placeholder",loadingMessage:"text-input-placeholder",message:"text-primary-dark",messageBackground:"bg-input-message-bg",messageBorder:"ring-input-info-border",icon:"text-input-text",iconAction:"text-input-text hover:text-body",iconActionHover:"hover:text-body hover:bg-input-option-hover-bg"},positive:{control:"cursor-pointer bg-input-bg text-select-text",controlFocused:"border-positive",controlDisabled:"opacity-60",controlInvalid:"bg-input-bg border-input-error-border text-select-text",placeholder:"placeholder:text-input-placeholder text-input-text placeholder:opacity-60",singleValue:"text-select-text",singleValueDisabled:"text-input-placeholder",multiValue:"bg-input-option-active-bg text-input-option-active-text",multiValueLabel:"text-input-option-active-text",multiValueRemove:"text-input-option-active-text hover:bg-input-option-hover-bg hover:text-body rounded-xs p-px",multiValueRemoveHover:"hover:bg-input-option-hover-bg",multiValueDisabled:"bg-canvas-subtle text-muted",clearIndicator:"text-input-text hover:text-body cursor-pointer",clearIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",dropdownIndicator:"text-input-text",dropdownIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",indicatorSeparator:"bg-input-border",loadingIndicator:"text-positive",menu:"bg-select-list-bg border-positive shadow-lg",menuList:"scrollbar-thin scrollbar-thumb-input-border scrollbar-track-transparent",option:"text-select-text cursor-pointer",optionFocused:"bg-input-option-hover-bg text-body",optionSelected:"bg-input-option-active-bg text-input-option-active-text",optionDisabled:"text-input-placeholder cursor-not-allowed",group:"",groupHeading:"text-input-placeholder font-semibold",noOptionsMessage:"text-input-placeholder",loadingMessage:"text-input-placeholder",message:"text-positive-dark",messageBackground:"bg-positive-light",messageBorder:"ring-positive",icon:"text-input-text",iconAction:"text-input-text hover:text-body",iconActionHover:"hover:text-body hover:bg-input-option-hover-bg"},warning:{control:"cursor-pointer bg-input-bg text-select-text",controlFocused:"border-input-warning-border",controlDisabled:"opacity-60",controlInvalid:"bg-input-bg border-input-error-border text-select-text",placeholder:"placeholder:text-input-placeholder text-input-text placeholder:opacity-60",singleValue:"text-select-text",singleValueDisabled:"text-input-placeholder",multiValue:"bg-input-option-active-bg text-input-option-active-text",multiValueLabel:"text-input-option-active-text",multiValueRemove:"text-input-option-active-text hover:bg-input-option-hover-bg hover:text-body rounded-xs p-px",multiValueRemoveHover:"hover:bg-input-option-hover-bg",multiValueDisabled:"bg-canvas-subtle text-muted",clearIndicator:"text-input-text hover:text-body cursor-pointer",clearIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",dropdownIndicator:"text-input-text",dropdownIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",indicatorSeparator:"bg-input-border",loadingIndicator:"text-warning",menu:"bg-select-list-bg border-input-warning-border shadow-lg",menuList:"scrollbar-thin scrollbar-thumb-input-border scrollbar-track-transparent",option:"text-select-text cursor-pointer",optionFocused:"bg-input-option-hover-bg text-body",optionSelected:"bg-input-option-active-bg text-input-option-active-text",optionDisabled:"text-input-placeholder cursor-not-allowed",group:"",groupHeading:"text-input-placeholder font-semibold",noOptionsMessage:"text-input-placeholder",loadingMessage:"text-input-placeholder",message:"text-warning-dark",messageBackground:"bg-input-warning-bg",messageBorder:"ring-input-warning-border",icon:"text-input-text",iconAction:"text-input-text hover:text-body",iconActionHover:"hover:text-body hover:bg-input-option-hover-bg"},negative:{control:"cursor-pointer bg-input-bg text-negative",controlFocused:"border-input-error-border",controlDisabled:"opacity-60",controlInvalid:"bg-input-bg border-input-error-border text-negative",placeholder:"placeholder:text-input-placeholder text-input-text placeholder:opacity-60",singleValue:"text-negative",singleValueDisabled:"text-input-placeholder",multiValue:"bg-input-option-active-bg text-input-option-active-text",multiValueLabel:"text-input-option-active-text",multiValueRemove:"text-input-option-active-text hover:bg-input-option-hover-bg hover:text-body rounded-xs p-px",multiValueRemoveHover:"hover:bg-input-option-hover-bg",multiValueDisabled:"bg-canvas-subtle text-muted",clearIndicator:"text-input-text hover:text-body cursor-pointer",clearIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",dropdownIndicator:"text-input-text",dropdownIndicatorHover:"hover:text-body hover:bg-input-option-hover-bg",indicatorSeparator:"bg-input-border",loadingIndicator:"text-negative",menu:"bg-select-list-bg border-input-error-border shadow-lg",menuList:"scrollbar-thin scrollbar-thumb-input-border scrollbar-track-transparent",option:"text-select-text cursor-pointer",optionFocused:"bg-input-option-hover-bg text-body",optionSelected:"bg-input-option-active-bg text-input-option-active-text",optionDisabled:"text-input-placeholder cursor-not-allowed",group:"",groupHeading:"text-input-placeholder font-semibold",noOptionsMessage:"text-input-placeholder",loadingMessage:"text-input-placeholder",message:"text-negative-dark",messageBackground:"bg-input-error-bg",messageBorder:"ring-input-error-border",icon:"text-input-text",iconAction:"text-input-text hover:text-body",iconActionHover:"hover:text-body hover:bg-input-option-hover-bg"}},xi=({menuOpen:e,menuPlacement:r,hasMessage:t,fallback:o})=>{if(!e)return o;const i=r==="top";return t?i?"last:rounded-b":"first:rounded-t":i?"rounded-b":"rounded-t"},Zc=({size:e,color:r,isDisabled:t,hasMessage:o,isInvalid:i,isFocused:n,menuPlacement:s})=>{const a=de[i?"negative":r],l=xi({menuOpen:!!(n&&s),menuPlacement:s,hasMessage:o,fallback:"only:rounded first:rounded-t last:rounded-b"});return _("bg-input-bg flex relative transition-all duration-200 ease-in-out items-center",l,a.control,o?["ring-1",a.messageBorder]:["border",t?"border-input-border":n?a.controlFocused:`border-select-border focus-within:${a.controlFocused}`],be[e].trigger,{"ring-1":o,[a.controlDisabled]:t})},Yc=({size:e,color:r,isDisabled:t,isAction:o})=>{const i=de[r];return _("transition-colors duration-200 rounded max-h-full h-fit px-0.5",be[e].icon,e==="sm"?"m-px":"m-0.5",t?"text-muted opacity-60 pointer-events-none":o?i.iconAction:i.icon,{"cursor-pointer p-0.5":o&&!t,[i.iconActionHover]:o&&!t,"pointer-events-none":!o})},Jc=({size:e,color:r,isDisabled:t,isFocused:o,isInvalid:i,hasMessage:n,hasGroup:s,menuPlacement:a})=>{const l=de[i?"negative":r],c=xi({menuOpen:!!(o&&a),menuPlacement:a,hasMessage:n,fallback:"rounded"});return s?_("flex items-center justify-between flex-1 min-w-0",be[e].control,"bg-transparent border-0",{[l.controlDisabled]:t}):_("flex items-center justify-between",c,be[e].control,l.control,n?["ring-1",l.messageBorder]:["border",t?"border-input-border":o?l.controlFocused:`border-select-border
|
|
136
|
+
focus-within:${l.controlFocused}`],{[l.controlDisabled]:t})},Uc=({isMulti:e})=>_("flex items-center gap-1 flex-1 min-w-0 overflow-hidden",{"flex-wrap":e,"px-0.5":!e}),Qc=({size:e,color:r})=>_("bg-transparent border-0 outline-hidden flex-1 min-w-7.5 text-input-text",be[e].input,de[r].placeholder),ed=({size:e,color:r})=>_("select-none truncate",be[e].placeholder,de[r].placeholder),td=({size:e,color:r,isDisabled:t})=>_("truncate",be[e].singleValue,t?de[r].singleValueDisabled:de[r].singleValue),rd=({size:e,color:r,isDisabled:t,isFocused:o})=>_("inline-flex items-center rounded-xs",be[e].multiValue,t?de[r].multiValueDisabled:de[r].multiValue,{"border border-white":o&&!t}),od=({size:e})=>_("truncate",be[e].multiValueLabel),nd=({size:e,color:r,isDisabled:t})=>_("flex items-center justify-center cursor-pointer transition-colors",be[e].multiValueRemove,de[r].multiValueRemove),yi=({size:e,color:r,isDisabled:t})=>_("flex items-center justify-center transition-colors rounded",be[e].clearIndicator,t?"hidden":[de[r].clearIndicator,de[r].clearIndicatorHover]),id=({size:e,color:r,isDisabled:t})=>_("flex items-center justify-center transition-colors rounded",be[e].dropdownIndicator,t?"text-grey-200":[de[r].dropdownIndicator,de[r].dropdownIndicatorHover]),sd=({size:e,placement:r,hasMessage:t,color:o,hasGroup:i})=>{const n=r==="top";return _("absolute z-50 overflow-hidden border",i?"-left-px -right-px":"w-full",de[o].menu,{[de[o].messageBorder]:t},n?"bottom-full rounded-t rounded-b-none border-b-0":"top-full rounded-b border-t-0",be[e].menu)},ad=({size:e})=>_("overflow-y-auto",be[e].menuList,de.primary.menuList),ld=({size:e,color:r,isDisabled:t,isFocused:o,isSelected:i})=>_("transition-colors duration-150 cursor-pointer mx-1 rounded flex items-center gap-2 min-w-fit",be[e].option,{[de[r].optionDisabled]:t,[de[r].optionSelected]:i&&!t,[de[r].optionFocused]:o&&!i&&!t,[de[r].option]:!i&&!o&&!t}),cd=({size:e})=>_(be[e].group),dd=({size:e,color:r})=>_(be[e].groupHeading,de[r].groupHeading),ud=({size:e})=>_("text-grey-100",be[e].loadingMessage),pd=({size:e})=>_(be[e].noOptionsMessage,de.primary.noOptionsMessage),Jo=e=>{const r=e[0];return e.length>0&&typeof r=="object"&&r!==null&&"options"in r&&Array.isArray(r.options)};function kt(e,r){if(e==null)return{};var t={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(r.indexOf(o)!==-1)continue;t[o]=e[o]}return t}function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ge.apply(null,arguments)}function Tr(e,r){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,o){return t.__proto__=o,t},Tr(e,r)}function gd(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Tr(e,r)}var Kt={exports:{}},Sr={exports:{}},se={};/** @license React v16.13.1
|
|
137
|
+
* react-is.production.min.js
|
|
138
|
+
*
|
|
139
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
140
|
+
*
|
|
141
|
+
* This source code is licensed under the MIT license found in the
|
|
142
|
+
* LICENSE file in the root directory of this source tree.
|
|
143
|
+
*/var Uo;function hd(){if(Uo)return se;Uo=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,N=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,p=e?Symbol.for("react.scope"):60119;function f(u){if(typeof u=="object"&&u!==null){var S=u.$$typeof;switch(S){case r:switch(u=u.type,u){case l:case c:case o:case n:case i:case g:return u;default:switch(u=u&&u.$$typeof,u){case a:case d:case N:case y:case s:return u;default:return S}}case t:return S}}}function v(u){return f(u)===c}return se.AsyncMode=l,se.ConcurrentMode=c,se.ContextConsumer=a,se.ContextProvider=s,se.Element=r,se.ForwardRef=d,se.Fragment=o,se.Lazy=N,se.Memo=y,se.Portal=t,se.Profiler=n,se.StrictMode=i,se.Suspense=g,se.isAsyncMode=function(u){return v(u)||f(u)===l},se.isConcurrentMode=v,se.isContextConsumer=function(u){return f(u)===a},se.isContextProvider=function(u){return f(u)===s},se.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===r},se.isForwardRef=function(u){return f(u)===d},se.isFragment=function(u){return f(u)===o},se.isLazy=function(u){return f(u)===N},se.isMemo=function(u){return f(u)===y},se.isPortal=function(u){return f(u)===t},se.isProfiler=function(u){return f(u)===n},se.isStrictMode=function(u){return f(u)===i},se.isSuspense=function(u){return f(u)===g},se.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===o||u===c||u===n||u===i||u===g||u===h||typeof u=="object"&&u!==null&&(u.$$typeof===N||u.$$typeof===y||u.$$typeof===s||u.$$typeof===a||u.$$typeof===d||u.$$typeof===m||u.$$typeof===k||u.$$typeof===p||u.$$typeof===x)},se.typeOf=f,se}var le={};/** @license React v16.13.1
|
|
144
|
+
* react-is.development.js
|
|
145
|
+
*
|
|
146
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
147
|
+
*
|
|
148
|
+
* This source code is licensed under the MIT license found in the
|
|
149
|
+
* LICENSE file in the root directory of this source tree.
|
|
150
|
+
*/var Qo;function vd(){return Qo||(Qo=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,N=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,k=e?Symbol.for("react.responder"):60118,p=e?Symbol.for("react.scope"):60119;function f(W){return typeof W=="string"||typeof W=="function"||W===o||W===c||W===n||W===i||W===g||W===h||typeof W=="object"&&W!==null&&(W.$$typeof===N||W.$$typeof===y||W.$$typeof===s||W.$$typeof===a||W.$$typeof===d||W.$$typeof===m||W.$$typeof===k||W.$$typeof===p||W.$$typeof===x)}function v(W){if(typeof W=="object"&&W!==null){var ye=W.$$typeof;switch(ye){case r:var K=W.type;switch(K){case l:case c:case o:case n:case i:case g:return K;default:var ue=K&&K.$$typeof;switch(ue){case a:case d:case N:case y:case s:return ue;default:return ye}}case t:return ye}}}var u=l,S=c,A=a,C=s,O=r,H=d,Z=o,J=N,oe=y,G=t,P=n,D=i,F=g,R=!1;function ne(W){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),b(W)||v(W)===l}function b(W){return v(W)===c}function I(W){return v(W)===a}function L(W){return v(W)===s}function T(W){return typeof W=="object"&&W!==null&&W.$$typeof===r}function j(W){return v(W)===d}function X(W){return v(W)===o}function B(W){return v(W)===N}function M(W){return v(W)===y}function V(W){return v(W)===t}function ee(W){return v(W)===n}function Y(W){return v(W)===i}function ie(W){return v(W)===g}le.AsyncMode=u,le.ConcurrentMode=S,le.ContextConsumer=A,le.ContextProvider=C,le.Element=O,le.ForwardRef=H,le.Fragment=Z,le.Lazy=J,le.Memo=oe,le.Portal=G,le.Profiler=P,le.StrictMode=D,le.Suspense=F,le.isAsyncMode=ne,le.isConcurrentMode=b,le.isContextConsumer=I,le.isContextProvider=L,le.isElement=T,le.isForwardRef=j,le.isFragment=X,le.isLazy=B,le.isMemo=M,le.isPortal=V,le.isProfiler=ee,le.isStrictMode=Y,le.isSuspense=ie,le.isValidElementType=f,le.typeOf=v})()),le}var en;function Ii(){return en||(en=1,process.env.NODE_ENV==="production"?Sr.exports=hd():Sr.exports=vd()),Sr.exports}/*
|
|
151
|
+
object-assign
|
|
152
|
+
(c) Sindre Sorhus
|
|
153
|
+
@license MIT
|
|
154
|
+
*/var Er,tn;function fd(){if(tn)return Er;tn=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function o(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function i(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var l=Object.getOwnPropertyNames(s).map(function(d){return s[d]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(d){c[d]=d}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Er=i()?Object.assign:function(n,s){for(var a,l=o(n),c,d=1;d<arguments.length;d++){a=Object(arguments[d]);for(var g in a)r.call(a,g)&&(l[g]=a[g]);if(e){c=e(a);for(var h=0;h<c.length;h++)t.call(a,c[h])&&(l[c[h]]=a[c[h]])}}return l},Er}var Nr,rn;function Yr(){if(rn)return Nr;rn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Nr=e,Nr}var on,nn;function Ci(){return nn||(nn=1,on=Function.call.bind(Object.prototype.hasOwnProperty)),on}var _r,sn;function md(){if(sn)return _r;sn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Yr(),t={},o=Ci();e=function(n){var s="Warning: "+n;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(n,s,a,l,c){if(process.env.NODE_ENV!=="production"){for(var d in n)if(o(n,d)){var g;try{if(typeof n[d]!="function"){var h=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}g=n[d](s,d,l,a,null,r)}catch(N){g=N}if(g&&!(g instanceof Error)&&e((l||"React class")+": type specification of "+a+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in t)){t[g.message]=!0;var y=c?c():"";e("Failed "+a+" type: "+g.message+(y??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},_r=i,_r}var Ar,an;function bd(){if(an)return Ar;an=1;var e=Ii(),r=fd(),t=Yr(),o=Ci(),i=md(),n=function(){};process.env.NODE_ENV!=="production"&&(n=function(a){var l="Warning: "+a;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return Ar=function(a,l){var c=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function g(b){var I=b&&(c&&b[c]||b[d]);if(typeof I=="function")return I}var h="<<anonymous>>",y={array:k("array"),bigint:k("bigint"),bool:k("boolean"),func:k("function"),number:k("number"),object:k("object"),string:k("string"),symbol:k("symbol"),any:p(),arrayOf:f,element:v(),elementType:u(),instanceOf:S,node:H(),objectOf:C,oneOf:A,oneOfType:O,shape:J,exact:oe};function N(b,I){return b===I?b!==0||1/b===1/I:b!==b&&I!==I}function x(b,I){this.message=b,this.data=I&&typeof I=="object"?I:{},this.stack=""}x.prototype=Error.prototype;function m(b){if(process.env.NODE_ENV!=="production")var I={},L=0;function T(X,B,M,V,ee,Y,ie){if(V=V||h,Y=Y||M,ie!==t){if(l){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ye=V+":"+M;!I[ye]&&L<3&&(n("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+V+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),I[ye]=!0,L++)}}return B[M]==null?X?B[M]===null?new x("The "+ee+" `"+Y+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new x("The "+ee+" `"+Y+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:b(B,M,V,ee,Y)}var j=T.bind(null,!1);return j.isRequired=T.bind(null,!0),j}function k(b){function I(L,T,j,X,B,M){var V=L[T],ee=D(V);if(ee!==b){var Y=F(V);return new x("Invalid "+X+" `"+B+"` of type "+("`"+Y+"` supplied to `"+j+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return m(I)}function p(){return m(s)}function f(b){function I(L,T,j,X,B){if(typeof b!="function")return new x("Property `"+B+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var M=L[T];if(!Array.isArray(M)){var V=D(M);return new x("Invalid "+X+" `"+B+"` of type "+("`"+V+"` supplied to `"+j+"`, expected an array."))}for(var ee=0;ee<M.length;ee++){var Y=b(M,ee,j,X,B+"["+ee+"]",t);if(Y instanceof Error)return Y}return null}return m(I)}function v(){function b(I,L,T,j,X){var B=I[L];if(!a(B)){var M=D(B);return new x("Invalid "+j+" `"+X+"` of type "+("`"+M+"` supplied to `"+T+"`, expected a single ReactElement."))}return null}return m(b)}function u(){function b(I,L,T,j,X){var B=I[L];if(!e.isValidElementType(B)){var M=D(B);return new x("Invalid "+j+" `"+X+"` of type "+("`"+M+"` supplied to `"+T+"`, expected a single ReactElement type."))}return null}return m(b)}function S(b){function I(L,T,j,X,B){if(!(L[T]instanceof b)){var M=b.name||h,V=ne(L[T]);return new x("Invalid "+X+" `"+B+"` of type "+("`"+V+"` supplied to `"+j+"`, expected ")+("instance of `"+M+"`."))}return null}return m(I)}function A(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?n("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):n("Invalid argument supplied to oneOf, expected an array.")),s;function I(L,T,j,X,B){for(var M=L[T],V=0;V<b.length;V++)if(N(M,b[V]))return null;var ee=JSON.stringify(b,function(Y,ie){var W=F(ie);return W==="symbol"?String(ie):ie});return new x("Invalid "+X+" `"+B+"` of value `"+String(M)+"` "+("supplied to `"+j+"`, expected one of "+ee+"."))}return m(I)}function C(b){function I(L,T,j,X,B){if(typeof b!="function")return new x("Property `"+B+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var M=L[T],V=D(M);if(V!=="object")return new x("Invalid "+X+" `"+B+"` of type "+("`"+V+"` supplied to `"+j+"`, expected an object."));for(var ee in M)if(o(M,ee)){var Y=b(M,ee,j,X,B+"."+ee,t);if(Y instanceof Error)return Y}return null}return m(I)}function O(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&n("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var I=0;I<b.length;I++){var L=b[I];if(typeof L!="function")return n("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+R(L)+" at index "+I+"."),s}function T(j,X,B,M,V){for(var ee=[],Y=0;Y<b.length;Y++){var ie=b[Y],W=ie(j,X,B,M,V,t);if(W==null)return null;W.data&&o(W.data,"expectedType")&&ee.push(W.data.expectedType)}var ye=ee.length>0?", expected one of type ["+ee.join(", ")+"]":"";return new x("Invalid "+M+" `"+V+"` supplied to "+("`"+B+"`"+ye+"."))}return m(T)}function H(){function b(I,L,T,j,X){return G(I[L])?null:new x("Invalid "+j+" `"+X+"` supplied to "+("`"+T+"`, expected a ReactNode."))}return m(b)}function Z(b,I,L,T,j){return new x((b||"React class")+": "+I+" type `"+L+"."+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function J(b){function I(L,T,j,X,B){var M=L[T],V=D(M);if(V!=="object")return new x("Invalid "+X+" `"+B+"` of type `"+V+"` "+("supplied to `"+j+"`, expected `object`."));for(var ee in b){var Y=b[ee];if(typeof Y!="function")return Z(j,X,B,ee,F(Y));var ie=Y(M,ee,j,X,B+"."+ee,t);if(ie)return ie}return null}return m(I)}function oe(b){function I(L,T,j,X,B){var M=L[T],V=D(M);if(V!=="object")return new x("Invalid "+X+" `"+B+"` of type `"+V+"` "+("supplied to `"+j+"`, expected `object`."));var ee=r({},L[T],b);for(var Y in ee){var ie=b[Y];if(o(b,Y)&&typeof ie!="function")return Z(j,X,B,Y,F(ie));if(!ie)return new x("Invalid "+X+" `"+B+"` key `"+Y+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(L[T],null," ")+`
|
|
155
|
+
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var W=ie(M,Y,j,X,B+"."+Y,t);if(W)return W}return null}return m(I)}function G(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(G);if(b===null||a(b))return!0;var I=g(b);if(I){var L=I.call(b),T;if(I!==b.entries){for(;!(T=L.next()).done;)if(!G(T.value))return!1}else for(;!(T=L.next()).done;){var j=T.value;if(j&&!G(j[1]))return!1}}else return!1;return!0;default:return!1}}function P(b,I){return b==="symbol"?!0:I?I["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&I instanceof Symbol:!1}function D(b){var I=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":P(I,b)?"symbol":I}function F(b){if(typeof b>"u"||b===null)return""+b;var I=D(b);if(I==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return I}function R(b){var I=F(b);switch(I){case"array":case"object":return"an "+I;case"boolean":case"date":case"regexp":return"a "+I;default:return I}}function ne(b){return!b.constructor||!b.constructor.name?h:b.constructor.name}return y.checkPropTypes=i,y.resetWarningCache=i.resetWarningCache,y.PropTypes=y,y},Ar}var Or,ln;function wd(){if(ln)return Or;ln=1;var e=Yr();function r(){}function t(){}return t.resetWarningCache=r,Or=function(){function o(s,a,l,c,d,g){if(g!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}o.isRequired=o;function i(){return o}var n={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:t,resetWarningCache:r};return n.PropTypes=n,n},Or}var cn;function xd(){if(cn)return Kt.exports;if(cn=1,process.env.NODE_ENV!=="production"){var e=Ii(),r=!0;Kt.exports=bd()(e.isElement,r)}else Kt.exports=wd()();return Kt.exports}var yd=xd();const z=Qn(yd);var zr={exports:{}},ae={};/**
|
|
156
|
+
* @license React
|
|
157
|
+
* react-is.production.min.js
|
|
158
|
+
*
|
|
159
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
160
|
+
*
|
|
161
|
+
* This source code is licensed under the MIT license found in the
|
|
162
|
+
* LICENSE file in the root directory of this source tree.
|
|
163
|
+
*/var dn;function Id(){if(dn)return ae;dn=1;var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),N;N=Symbol.for("react.module.reference");function x(m){if(typeof m=="object"&&m!==null){var k=m.$$typeof;switch(k){case e:switch(m=m.type,m){case t:case i:case o:case c:case d:return m;default:switch(m=m&&m.$$typeof,m){case a:case s:case l:case h:case g:case n:return m;default:return k}}case r:return k}}}return ae.ContextConsumer=s,ae.ContextProvider=n,ae.Element=e,ae.ForwardRef=l,ae.Fragment=t,ae.Lazy=h,ae.Memo=g,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=c,ae.SuspenseList=d,ae.isAsyncMode=function(){return!1},ae.isConcurrentMode=function(){return!1},ae.isContextConsumer=function(m){return x(m)===s},ae.isContextProvider=function(m){return x(m)===n},ae.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===e},ae.isForwardRef=function(m){return x(m)===l},ae.isFragment=function(m){return x(m)===t},ae.isLazy=function(m){return x(m)===h},ae.isMemo=function(m){return x(m)===g},ae.isPortal=function(m){return x(m)===r},ae.isProfiler=function(m){return x(m)===i},ae.isStrictMode=function(m){return x(m)===o},ae.isSuspense=function(m){return x(m)===c},ae.isSuspenseList=function(m){return x(m)===d},ae.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===t||m===i||m===o||m===c||m===d||m===y||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===g||m.$$typeof===n||m.$$typeof===s||m.$$typeof===l||m.$$typeof===N||m.getModuleId!==void 0)},ae.typeOf=x,ae}var ce={};/**
|
|
164
|
+
* @license React
|
|
165
|
+
* react-is.development.js
|
|
166
|
+
*
|
|
167
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the MIT license found in the
|
|
170
|
+
* LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/var un;function Cd(){return un||(un=1,process.env.NODE_ENV!=="production"&&(function(){var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),N=!1,x=!1,m=!1,k=!1,p=!1,f;f=Symbol.for("react.module.reference");function v(K){return!!(typeof K=="string"||typeof K=="function"||K===t||K===i||p||K===o||K===c||K===d||k||K===y||N||x||m||typeof K=="object"&&K!==null&&(K.$$typeof===h||K.$$typeof===g||K.$$typeof===n||K.$$typeof===s||K.$$typeof===l||K.$$typeof===f||K.getModuleId!==void 0))}function u(K){if(typeof K=="object"&&K!==null){var ue=K.$$typeof;switch(ue){case e:var Se=K.type;switch(Se){case t:case i:case o:case c:case d:return Se;default:var He=Se&&Se.$$typeof;switch(He){case a:case s:case l:case h:case g:case n:return He;default:return ue}}case r:return ue}}}var S=s,A=n,C=e,O=l,H=t,Z=h,J=g,oe=r,G=i,P=o,D=c,F=d,R=!1,ne=!1;function b(K){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function I(K){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(K){return u(K)===s}function T(K){return u(K)===n}function j(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function X(K){return u(K)===l}function B(K){return u(K)===t}function M(K){return u(K)===h}function V(K){return u(K)===g}function ee(K){return u(K)===r}function Y(K){return u(K)===i}function ie(K){return u(K)===o}function W(K){return u(K)===c}function ye(K){return u(K)===d}ce.ContextConsumer=S,ce.ContextProvider=A,ce.Element=C,ce.ForwardRef=O,ce.Fragment=H,ce.Lazy=Z,ce.Memo=J,ce.Portal=oe,ce.Profiler=G,ce.StrictMode=P,ce.Suspense=D,ce.SuspenseList=F,ce.isAsyncMode=b,ce.isConcurrentMode=I,ce.isContextConsumer=L,ce.isContextProvider=T,ce.isElement=j,ce.isForwardRef=X,ce.isFragment=B,ce.isLazy=M,ce.isMemo=V,ce.isPortal=ee,ce.isProfiler=Y,ce.isStrictMode=ie,ce.isSuspense=W,ce.isSuspenseList=ye,ce.isValidElementType=v,ce.typeOf=u})()),ce}var pn;function kd(){return pn||(pn=1,process.env.NODE_ENV==="production"?zr.exports=Id():zr.exports=Cd()),zr.exports}var gn=kd();const hn=e=>typeof e=="object"&&e!=null&&e.nodeType===1,vn=(e,r)=>(!r||e!=="hidden")&&e!=="visible"&&e!=="clip",Xt=(e,r)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){const t=getComputedStyle(e,null);return vn(t.overflowY,r)||vn(t.overflowX,r)||(o=>{const i=(n=>{if(!n.ownerDocument||!n.ownerDocument.defaultView)return null;try{return n.ownerDocument.defaultView.frameElement}catch{return null}})(o);return!!i&&(i.clientHeight<o.scrollHeight||i.clientWidth<o.scrollWidth)})(e)}return!1},Zt=(e,r,t,o,i,n,s,a)=>n<e&&s>r||n>e&&s<r?0:n<=e&&a<=t||s>=r&&a>=t?n-e-o:s>r&&a<t||n<e&&a>t?s-r+i:0,Sd=e=>e.parentElement??(e.getRootNode().host||null),Ed=(e,r)=>{var t,o,i,n;if(typeof document>"u")return[];const{inline:s,boundary:a,skipOverflowHiddenElements:l}=r,c=typeof a=="function"?a:oe=>oe!==a;if(!hn(e))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,g=[];let h=e;for(;hn(h)&&c(h);){if(h=Sd(h),h===d){g.push(h);break}h!=null&&h===document.body&&Xt(h)&&!Xt(document.documentElement)||h!=null&&Xt(h,l)&&g.push(h)}const y=(o=(t=window.visualViewport)==null?void 0:t.width)!=null?o:innerWidth,N=(n=(i=window.visualViewport)==null?void 0:i.height)!=null?n:innerHeight,{scrollX:x,scrollY:m}=window,{height:k,width:p,top:f,right:v,bottom:u,left:S}=e.getBoundingClientRect(),{top:A,right:C,left:O}=(oe=>{const G=window.getComputedStyle(oe);return{top:parseFloat(G.scrollMarginTop)||0,right:parseFloat(G.scrollMarginRight)||0,bottom:parseFloat(G.scrollMarginBottom)||0,left:parseFloat(G.scrollMarginLeft)||0}})(e);let H=f-A,Z=s==="center"?S+p/2-O+C:s==="end"?v+C:S-O;const J=[];for(let oe=0;oe<g.length;oe++){const G=g[oe],{height:P,width:D,top:F,right:R,bottom:ne,left:b}=G.getBoundingClientRect();if(f>=0&&S>=0&&u<=N&&v<=y&&(G===d&&!Xt(G)||f>=F&&u<=ne&&S>=b&&v<=R))return J;const I=getComputedStyle(G),L=parseInt(I.borderLeftWidth,10),T=parseInt(I.borderTopWidth,10),j=parseInt(I.borderRightWidth,10),X=parseInt(I.borderBottomWidth,10);let B=0,M=0;const V="offsetWidth"in G?G.offsetWidth-G.clientWidth-L-j:0,ee="offsetHeight"in G?G.offsetHeight-G.clientHeight-T-X:0,Y="offsetWidth"in G?G.offsetWidth===0?0:D/G.offsetWidth:0,ie="offsetHeight"in G?G.offsetHeight===0?0:P/G.offsetHeight:0;if(d===G)B=Zt(m,m+N,N,T,X,m+H,m+H+k,k),M=s==="start"?Z:s==="center"?Z-y/2:s==="end"?Z-y:Zt(x,x+y,y,L,j,x+Z,x+Z+p,p),B=Math.max(0,B+m),M=Math.max(0,M+x);else{B=Zt(F,ne,P,T,X+ee,H,H+k,k),M=s==="start"?Z-b-L:s==="center"?Z-(b+D/2)+V/2:s==="end"?Z-R+j+V:Zt(b,R,D,L,j+V,Z,Z+p,p);const{scrollLeft:W,scrollTop:ye}=G;B=ie===0?0:Math.max(0,Math.min(ye+B/ie,G.scrollHeight-P/ie+ee)),M=Y===0?0:Math.max(0,Math.min(W+M/Y,G.scrollWidth-D/Y+V)),H+=ye-B,Z+=W-M}J.push({el:G,top:B,left:M})}return J};var pt=function(){return pt=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},pt.apply(this,arguments)},Nd=0;function fn(e){return typeof e=="function"?e:Ge}function Ge(){}function ki(e,r){if(e){var t=Ed(e,{boundary:r});t.forEach(function(o){var i=o.el,n=o.top,s=o.left;i.scrollTop=n,i.scrollLeft=s})}}function mn(e,r,t){var o=e===r||r instanceof t.Node&&e.contains&&e.contains(r);return o}function Jr(e,r){var t;function o(){t&&clearTimeout(t)}function i(){for(var n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];o(),t=setTimeout(function(){t=null,e.apply(void 0,s)},r)}return i.cancel=o,i}function Pe(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(o){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return r.some(function(a){return a&&a.apply(void 0,[o].concat(n)),o.preventDownshiftDefault||o.hasOwnProperty("nativeEvent")&&o.nativeEvent.preventDownshiftDefault})}}function bn(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return function(o){r.forEach(function(i){typeof i=="function"?i(o):i&&(i.current=o)})}}function _d(){return String(Nd++)}function Ad(e){var r=e.isOpen,t=e.resultCount,o=e.previousResultCount;return r?t?t!==o?t+" result"+(t===1?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function wn(e,r){return e=Array.isArray(e)?e[0]:e,!e&&r?r:e}function Si(e){return typeof e.type=="string"}function Ei(e){return e.props}function Od(e,r){console.error('The property "'+r+'" is required in "'+e+'"')}var zd=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function Yt(e){e===void 0&&(e={});var r={};return zd.forEach(function(t){e.hasOwnProperty(t)&&(r[t]=e[t])}),r}function Rd(e,r){return!e||!r?e:Object.keys(e).reduce(function(t,o){return t[o]=Lr(r,o)?r[o]:e[o],t},{})}function Lr(e,r){return e[r]!==void 0}function xn(e){var r=e.key,t=e.keyCode;return t>=37&&t<=40&&r.indexOf("Arrow")!==0?"Arrow"+r:r}function Dd(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rr(e,r,t,o,i){var n=t.length;if(n===0)return-1;var s=n-1;(typeof e!="number"||e<0||e>s)&&(e=r>0?-1:s+1);var a=e+r;a<0?a=s:a>s&&(a=0);var l=lr(a,r<0,t,o,i);return l===-1?e>=n?-1:e:l}function lr(e,r,t,o,i){i===void 0&&(i=!1);var n=t.length;if(r){for(var s=e;s>=0;s--)if(!o(t[s],s))return s}else for(var a=e;a<n;a++)if(!o(t[a],a))return a;return i?lr(r?n-1:0,r,t,o):-1}function yn(e,r,t,o){return o===void 0&&(o=!0),t&&r.some(function(i){return i&&(mn(i,e,t)||o&&mn(i,t.document.activeElement,t))})}var Ur=Ge;process.env.NODE_ENV!=="production"&&(Ur=function(e,r,t){var o="This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";Object.keys(e).forEach(function(i){r[i]!==void 0&&t[i]===void 0?console.error('downshift: A component has changed the controlled prop "'+i+'" to be uncontrolled. '+o):r[i]===void 0&&t[i]!==void 0&&console.error('downshift: A component has changed the uncontrolled prop "'+i+'" to be controlled. '+o)})});var jd=Jr(function(e){Ni(e).textContent=""},500);function Ni(e){var r=e.getElementById("a11y-status-message");return r||(r=e.createElement("div"),r.setAttribute("id","a11y-status-message"),r.setAttribute("role","status"),r.setAttribute("aria-live","polite"),r.setAttribute("aria-relevant","additions text"),Object.assign(r.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(r),r)}function _i(e,r){if(!(!e||!r)){var t=Ni(r);t.textContent=e,jd(r)}}var Ai=process.env.NODE_ENV!=="production"?"__autocomplete_unknown__":0,Oi=process.env.NODE_ENV!=="production"?"__autocomplete_mouseup__":1,zi=process.env.NODE_ENV!=="production"?"__autocomplete_item_mouseenter__":2,er=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_arrow_up__":3,tr=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_arrow_down__":4,Ri=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_escape__":5,Di=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_enter__":6,ji=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_home__":7,Mi=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_end__":8,Wi=process.env.NODE_ENV!=="production"?"__autocomplete_click_item__":9,Ti=process.env.NODE_ENV!=="production"?"__autocomplete_blur_input__":10,Li=process.env.NODE_ENV!=="production"?"__autocomplete_change_input__":11,Vi=process.env.NODE_ENV!=="production"?"__autocomplete_keydown_space_button__":12,Vr=process.env.NODE_ENV!=="production"?"__autocomplete_click_button__":13,Pi=process.env.NODE_ENV!=="production"?"__autocomplete_blur_button__":14,Fi=process.env.NODE_ENV!=="production"?"__autocomplete_controlled_prop_updated_selected_item__":15,Hi=process.env.NODE_ENV!=="production"?"__autocomplete_touchend__":16,Md=Object.freeze({__proto__:null,blurButton:Pi,blurInput:Ti,changeInput:Li,clickButton:Vr,clickItem:Wi,controlledPropUpdatedSelectedItem:Fi,itemMouseEnter:zi,keyDownArrowDown:tr,keyDownArrowUp:er,keyDownEnd:Mi,keyDownEnter:Di,keyDownEscape:Ri,keyDownHome:ji,keyDownSpaceButton:Vi,mouseUp:Oi,touchEnd:Hi,unknown:Ai}),Wd=["refKey","ref"],Td=["onClick","onPress","onKeyDown","onKeyUp","onBlur"],Ld=["onKeyDown","onBlur","onChange","onInput","onChangeText"],Vd=["refKey","ref"],Pd=["onMouseMove","onMouseDown","onClick","onPress","index","item"],Fd=(function(){var e=(function(r){function t(i){var n;n=r.call(this,i)||this,n.id=n.props.id||"downshift-"+_d(),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(p){return n.id+"-item-"+p},n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(p,f){var v=setTimeout(function(){n.timeoutIds=n.timeoutIds.filter(function(u){return u!==v}),p()},f);n.timeoutIds.push(v)},n.setItemCount=function(p){n.itemCount=p},n.unsetItemCount=function(){n.itemCount=null},n.isItemDisabled=function(p,f){var v=n.getItemNodeFromIndex(f);return v&&v.hasAttribute("disabled")},n.setHighlightedIndex=function(p,f){p===void 0&&(p=n.props.defaultHighlightedIndex),f===void 0&&(f={}),f=Yt(f),n.internalSetState(ge({highlightedIndex:p},f))},n.clearSelection=function(p){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},p)},n.selectItem=function(p,f,v){f=Yt(f),n.internalSetState(ge({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:p,inputValue:n.props.itemToString(p)},f),v)},n.selectItemAtIndex=function(p,f,v){var u=n.items[p];u!=null&&n.selectItem(u,f,v)},n.selectHighlightedItem=function(p,f){return n.selectItemAtIndex(n.getState().highlightedIndex,p,f)},n.internalSetState=function(p,f){var v,u,S={},A=typeof p=="function";return!A&&p.hasOwnProperty("inputValue")&&n.props.onInputValueChange(p.inputValue,ge({},n.getStateAndHelpers(),p)),n.setState(function(C){var O;C=n.getState(C);var H=A?p(C):p;H=n.props.stateReducer(C,H),v=H.hasOwnProperty("selectedItem");var Z={};return v&&H.selectedItem!==C.selectedItem&&(u=H.selectedItem),(O=H).type||(O.type=Ai),Object.keys(H).forEach(function(J){C[J]!==H[J]&&(S[J]=H[J]),J!=="type"&&(H[J],Lr(n.props,J)||(Z[J]=H[J]))}),A&&H.hasOwnProperty("inputValue")&&n.props.onInputValueChange(H.inputValue,ge({},n.getStateAndHelpers(),H)),Z},function(){fn(f)();var C=Object.keys(S).length>1;C&&n.props.onStateChange(S,n.getStateAndHelpers()),v&&n.props.onSelect(p.selectedItem,n.getStateAndHelpers()),u!==void 0&&n.props.onChange(u,n.getStateAndHelpers()),n.props.onUserAction(S,n.getStateAndHelpers())})},n.rootRef=function(p){return n._rootNode=p},n.getRootProps=function(p,f){var v,u=p===void 0?{}:p,S=u.refKey,A=S===void 0?"ref":S,C=u.ref,O=kt(u,Wd),H=f===void 0?{}:f,Z=H.suppressRefError,J=Z===void 0?!1:Z;n.getRootProps.called=!0,n.getRootProps.refKey=A,n.getRootProps.suppressRefError=J;var oe=n.getState(),G=oe.isOpen;return ge((v={},v[A]=bn(C,n.rootRef),v.role="combobox",v["aria-expanded"]=G,v["aria-haspopup"]="listbox",v["aria-owns"]=G?n.menuId:void 0,v["aria-labelledby"]=n.labelId,v),O)},n.keyDownHandlers={ArrowDown:function(p){var f=this;if(p.preventDefault(),this.getState().isOpen){var v=p.shiftKey?5:1;this.moveHighlightedIndex(v,{type:tr})}else this.internalSetState({isOpen:!0,type:tr},function(){var u=f.getItemCount();if(u>0){var S=f.getState(),A=S.highlightedIndex,C=Rr(A,1,{length:u},f.isItemDisabled,!0);f.setHighlightedIndex(C,{type:tr})}})},ArrowUp:function(p){var f=this;if(p.preventDefault(),this.getState().isOpen){var v=p.shiftKey?-5:-1;this.moveHighlightedIndex(v,{type:er})}else this.internalSetState({isOpen:!0,type:er},function(){var u=f.getItemCount();if(u>0){var S=f.getState(),A=S.highlightedIndex,C=Rr(A,-1,{length:u},f.isItemDisabled,!0);f.setHighlightedIndex(C,{type:er})}})},Enter:function(p){if(p.which!==229){var f=this.getState(),v=f.isOpen,u=f.highlightedIndex;if(v&&u!=null){p.preventDefault();var S=this.items[u],A=this.getItemNodeFromIndex(u);if(S==null||A&&A.hasAttribute("disabled"))return;this.selectHighlightedItem({type:Di})}}},Escape:function(p){p.preventDefault(),this.reset(ge({type:Ri},!this.state.isOpen&&{selectedItem:null,inputValue:""}))}},n.buttonKeyDownHandlers=ge({},n.keyDownHandlers,{" ":function(p){p.preventDefault(),this.toggleMenu({type:Vi})}}),n.inputKeyDownHandlers=ge({},n.keyDownHandlers,{Home:function(p){var f=this.getState(),v=f.isOpen;if(v){p.preventDefault();var u=this.getItemCount();if(!(u<=0||!v)){var S=lr(0,!1,{length:u},this.isItemDisabled);this.setHighlightedIndex(S,{type:ji})}}},End:function(p){var f=this.getState(),v=f.isOpen;if(v){p.preventDefault();var u=this.getItemCount();if(!(u<=0||!v)){var S=lr(u-1,!0,{length:u},this.isItemDisabled);this.setHighlightedIndex(S,{type:Mi})}}}}),n.getToggleButtonProps=function(p){var f=p===void 0?{}:p,v=f.onClick;f.onPress;var u=f.onKeyDown,S=f.onKeyUp,A=f.onBlur,C=kt(f,Td),O=n.getState(),H=O.isOpen,Z={onClick:Pe(v,n.buttonHandleClick),onKeyDown:Pe(u,n.buttonHandleKeyDown),onKeyUp:Pe(S,n.buttonHandleKeyUp),onBlur:Pe(A,n.buttonHandleBlur)},J=C.disabled?{}:Z;return ge({type:"button",role:"button","aria-label":H?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},J,C)},n.buttonHandleKeyUp=function(p){p.preventDefault()},n.buttonHandleKeyDown=function(p){var f=xn(p);n.buttonKeyDownHandlers[f]&&n.buttonKeyDownHandlers[f].call(n,p)},n.buttonHandleClick=function(p){if(p.preventDefault(),n.props.environment){var f=n.props.environment.document,v=f.body,u=f.activeElement;v&&v===u&&p.target.focus()}process.env.NODE_ENV==="test"?n.toggleMenu({type:Vr}):n.internalSetTimeout(function(){return n.toggleMenu({type:Vr})})},n.buttonHandleBlur=function(p){var f=p.target;n.internalSetTimeout(function(){if(!(n.isMouseDown||!n.props.environment)){var v=n.props.environment.document.activeElement;(v==null||v.id!==n.inputId)&&v!==f&&n.reset({type:Pi})}})},n.getLabelProps=function(p){return ge({htmlFor:n.inputId,id:n.labelId},p)},n.getInputProps=function(p){var f=p===void 0?{}:p,v=f.onKeyDown,u=f.onBlur,S=f.onChange,A=f.onInput;f.onChangeText;var C=kt(f,Ld),O,H={};O="onChange";var Z=n.getState(),J=Z.inputValue,oe=Z.isOpen,G=Z.highlightedIndex;if(!C.disabled){var P;H=(P={},P[O]=Pe(S,A,n.inputHandleChange),P.onKeyDown=Pe(v,n.inputHandleKeyDown),P.onBlur=Pe(u,n.inputHandleBlur),P)}return ge({"aria-autocomplete":"list","aria-activedescendant":oe&&typeof G=="number"&&G>=0?n.getItemId(G):void 0,"aria-controls":oe?n.menuId:void 0,"aria-labelledby":C&&C["aria-label"]?void 0:n.labelId,autoComplete:"off",value:J,id:n.inputId},H,C)},n.inputHandleKeyDown=function(p){var f=xn(p);f&&n.inputKeyDownHandlers[f]&&n.inputKeyDownHandlers[f].call(n,p)},n.inputHandleChange=function(p){n.internalSetState({type:Li,isOpen:!0,inputValue:p.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout(function(){var p;if(!(n.isMouseDown||!n.props.environment)){var f=n.props.environment.document.activeElement,v=(f==null||(p=f.dataset)==null?void 0:p.toggle)&&n._rootNode&&n._rootNode.contains(f);v||n.reset({type:Ti})}})},n.menuRef=function(p){n._menuNode=p},n.getMenuProps=function(p,f){var v,u=p===void 0?{}:p,S=u.refKey,A=S===void 0?"ref":S,C=u.ref,O=kt(u,Vd),H=f===void 0?{}:f,Z=H.suppressRefError,J=Z===void 0?!1:Z;return n.getMenuProps.called=!0,n.getMenuProps.refKey=A,n.getMenuProps.suppressRefError=J,ge((v={},v[A]=bn(C,n.menuRef),v.role="listbox",v["aria-labelledby"]=O&&O["aria-label"]?void 0:n.labelId,v.id=n.menuId,v),O)},n.getItemProps=function(p){var f,v=p===void 0?{}:p,u=v.onMouseMove,S=v.onMouseDown,A=v.onClick;v.onPress;var C=v.index,O=v.item,H=O===void 0?process.env.NODE_ENV==="production"?void 0:Od("getItemProps","item"):O,Z=kt(v,Pd);C===void 0?(n.items.push(H),C=n.items.indexOf(H)):n.items[C]=H;var J="onClick",oe=A,G=(f={onMouseMove:Pe(u,function(){C!==n.getState().highlightedIndex&&(n.setHighlightedIndex(C,{type:zi}),n.avoidScrolling=!0,n.internalSetTimeout(function(){return n.avoidScrolling=!1},250))}),onMouseDown:Pe(S,function(D){D.preventDefault()})},f[J]=Pe(oe,function(){n.selectItemAtIndex(C,{type:Wi})}),f),P=Z.disabled?{onMouseDown:G.onMouseDown}:G;return ge({id:n.getItemId(C),role:"option","aria-selected":n.getState().highlightedIndex===C},P,Z)},n.clearItems=function(){n.items=[]},n.reset=function(p,f){p===void 0&&(p={}),p=Yt(p),n.internalSetState(function(v){var u=v.selectedItem;return ge({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(u)},p)},f)},n.toggleMenu=function(p,f){p===void 0&&(p={}),p=Yt(p),n.internalSetState(function(v){var u=v.isOpen;return ge({isOpen:!u},u&&{highlightedIndex:n.props.defaultHighlightedIndex},p)},function(){var v=n.getState(),u=v.isOpen,S=v.highlightedIndex;u&&n.getItemCount()>0&&typeof S=="number"&&n.setHighlightedIndex(S,p),fn(f)()})},n.openMenu=function(p){n.internalSetState({isOpen:!0},p)},n.closeMenu=function(p){n.internalSetState({isOpen:!1},p)},n.updateStatus=Jr(function(){var p;if((p=n.props)!=null&&(p=p.environment)!=null&&p.document){var f=n.getState(),v=n.items[f.highlightedIndex],u=n.getItemCount(),S=n.props.getA11yStatusMessage(ge({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:u,highlightedItem:v},f));n.previousResultCount=u,_i(S,n.props.environment.document)}},200);var s=n.props,a=s.defaultHighlightedIndex,l=s.initialHighlightedIndex,c=l===void 0?a:l,d=s.defaultIsOpen,g=s.initialIsOpen,h=g===void 0?d:g,y=s.initialInputValue,N=y===void 0?"":y,x=s.initialSelectedItem,m=x===void 0?null:x,k=n.getState({highlightedIndex:c,isOpen:h,inputValue:N,selectedItem:m});return k.selectedItem!=null&&n.props.initialInputValue===void 0&&(k.inputValue=n.props.itemToString(k.selectedItem)),n.state=k,n}gd(t,r);var o=t.prototype;return o.internalClearTimeouts=function(){this.timeoutIds.forEach(function(i){clearTimeout(i)}),this.timeoutIds=[]},o.getState=function(i){return i===void 0&&(i=this.state),Rd(i,this.props)},o.getItemCount=function(){var i=this.items.length;return this.itemCount!=null?i=this.itemCount:this.props.itemCount!==void 0&&(i=this.props.itemCount),i},o.getItemNodeFromIndex=function(i){return this.props.environment?this.props.environment.document.getElementById(this.getItemId(i)):null},o.scrollHighlightedItemIntoView=function(){{var i=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(i,this._menuNode)}},o.moveHighlightedIndex=function(i,n){var s=this.getItemCount(),a=this.getState(),l=a.highlightedIndex;if(s>0){var c=Rr(l,i,{length:s},this.isItemDisabled,!0);this.setHighlightedIndex(c,n)}},o.getStateAndHelpers=function(){var i=this.getState(),n=i.highlightedIndex,s=i.inputValue,a=i.selectedItem,l=i.isOpen,c=this.props.itemToString,d=this.id,g=this.getRootProps,h=this.getToggleButtonProps,y=this.getLabelProps,N=this.getMenuProps,x=this.getInputProps,m=this.getItemProps,k=this.openMenu,p=this.closeMenu,f=this.toggleMenu,v=this.selectItem,u=this.selectItemAtIndex,S=this.selectHighlightedItem,A=this.setHighlightedIndex,C=this.clearSelection,O=this.clearItems,H=this.reset,Z=this.setItemCount,J=this.unsetItemCount,oe=this.internalSetState;return{getRootProps:g,getToggleButtonProps:h,getLabelProps:y,getMenuProps:N,getInputProps:x,getItemProps:m,reset:H,openMenu:k,closeMenu:p,toggleMenu:f,selectItem:v,selectItemAtIndex:u,selectHighlightedItem:S,setHighlightedIndex:A,clearSelection:C,clearItems:O,setItemCount:Z,unsetItemCount:J,setState:oe,itemToString:c,id:d,highlightedIndex:n,inputValue:s,isOpen:l,selectedItem:a}},o.componentDidMount=function(){var i=this;if(process.env.NODE_ENV!=="production"&&this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&In(this._menuNode,this.getMenuProps),!this.props.environment)this.cleanup=function(){i.internalClearTimeouts()};else{var n=function(){i.isMouseDown=!0},s=function(g){i.isMouseDown=!1;var h=yn(g.target,[i._rootNode,i._menuNode],i.props.environment);!h&&i.getState().isOpen&&i.reset({type:Oi},function(){return i.props.onOuterClick(i.getStateAndHelpers())})},a=function(){i.isTouchMove=!1},l=function(){i.isTouchMove=!0},c=function(g){var h=yn(g.target,[i._rootNode,i._menuNode],i.props.environment,!1);!i.isTouchMove&&!h&&i.getState().isOpen&&i.reset({type:Hi},function(){return i.props.onOuterClick(i.getStateAndHelpers())})},d=this.props.environment;d.addEventListener("mousedown",n),d.addEventListener("mouseup",s),d.addEventListener("touchstart",a),d.addEventListener("touchmove",l),d.addEventListener("touchend",c),this.cleanup=function(){i.internalClearTimeouts(),i.updateStatus.cancel(),d.removeEventListener("mousedown",n),d.removeEventListener("mouseup",s),d.removeEventListener("touchstart",a),d.removeEventListener("touchmove",l),d.removeEventListener("touchend",c)}}},o.shouldScroll=function(i,n){var s=this.props.highlightedIndex===void 0?this.getState():this.props,a=s.highlightedIndex,l=n.highlightedIndex===void 0?i:n,c=l.highlightedIndex,d=a&&this.getState().isOpen&&!i.isOpen,g=a!==c;return d||g},o.componentDidUpdate=function(i,n){process.env.NODE_ENV!=="production"&&(Ur(this.state,i,this.props),this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&In(this._menuNode,this.getMenuProps)),Lr(this.props,"selectedItem")&&this.props.selectedItemChanged(i.selectedItem,this.props.selectedItem)&&this.internalSetState({type:Fi,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(n,i)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},o.componentWillUnmount=function(){this.cleanup()},o.render=function(){var i=wn(this.props.children,Ge);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var n=wn(i(this.getStateAndHelpers()));if(!n)return null;if(this.getRootProps.called||this.props.suppressRefError)return process.env.NODE_ENV!=="production"&&!this.getRootProps.suppressRefError&&!this.props.suppressRefError&&Hd(n,this.getRootProps),n;if(Si(n))return E.cloneElement(n,this.getRootProps(Ei(n)));if(process.env.NODE_ENV!=="production")throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function")},t})(E.Component);return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:Ad,itemToString:function(r){return r==null?"":(process.env.NODE_ENV!=="production"&&Dd(r)&&!r.hasOwnProperty("toString")&&console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.","The object that was passed:",r),String(r))},onStateChange:Ge,onInputValueChange:Ge,onUserAction:Ge,onChange:Ge,onSelect:Ge,onOuterClick:Ge,selectedItemChanged:function(r,t){return r!==t},environment:typeof window>"u"?void 0:window,stateReducer:function(r,t){return t},suppressRefError:!1,scrollIntoView:ki},e.stateChangeTypes=Md,e})();process.env.NODE_ENV!=="production"&&(Fd.propTypes={children:z.func,defaultHighlightedIndex:z.number,defaultIsOpen:z.bool,initialHighlightedIndex:z.number,initialSelectedItem:z.any,initialInputValue:z.string,initialIsOpen:z.bool,getA11yStatusMessage:z.func,itemToString:z.func,onChange:z.func,onSelect:z.func,onStateChange:z.func,onInputValueChange:z.func,onUserAction:z.func,onOuterClick:z.func,selectedItemChanged:z.func,stateReducer:z.func,itemCount:z.number,id:z.string,environment:z.shape({addEventListener:z.func.isRequired,removeEventListener:z.func.isRequired,document:z.shape({createElement:z.func.isRequired,getElementById:z.func.isRequired,activeElement:z.any.isRequired,body:z.any.isRequired}).isRequired,Node:z.func.isRequired}),suppressRefError:z.bool,scrollIntoView:z.func,selectedItem:z.any,isOpen:z.bool,inputValue:z.string,highlightedIndex:z.number,labelId:z.string,inputId:z.string,menuId:z.string,getItemId:z.func});function In(e,r){var t=r.refKey;e||console.error('downshift: The ref prop "'+t+'" from getMenuProps was not applied correctly on your menu element.')}function Hd(e,r){var t=r.refKey,o=t!=="ref",i=!Si(e);i&&!o&&!gn.isForwardRef(e)?console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps"):!i&&o&&console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "'+t+'"'),!gn.isForwardRef(e)&&!Ei(e)[t]&&console.error('downshift: You must apply the ref prop "'+t+'" from getRootProps onto your root element.')}function Bd(e,r){return r.changes}Jr(function(e,r){_i(e,r)},200);var Nt={itemToString:function(e){return e?String(e):""},itemToKey:function(e){return e},stateReducer:Bd,scrollIntoView:ki,environment:typeof window>"u"?void 0:window};process.env.NODE_ENV;process.env.NODE_ENV;function $d(){var e=E.useRef(!0);return E.useEffect(function(){return e.current=!1,function(){e.current=!0}},[]),e.current}var rr={environment:z.shape({addEventListener:z.func.isRequired,removeEventListener:z.func.isRequired,document:z.shape({createElement:z.func.isRequired,getElementById:z.func.isRequired,activeElement:z.any.isRequired,body:z.any.isRequired}).isRequired,Node:z.func.isRequired}),itemToString:z.func,itemToKey:z.func,stateReducer:z.func},Bi=ge({},rr,{getA11yStatusMessage:z.func,highlightedIndex:z.number,defaultHighlightedIndex:z.number,initialHighlightedIndex:z.number,isOpen:z.bool,defaultIsOpen:z.bool,initialIsOpen:z.bool,selectedItem:z.any,initialSelectedItem:z.any,defaultSelectedItem:z.any,id:z.string,labelId:z.string,menuId:z.string,getItemId:z.func,toggleButtonId:z.string,onSelectedItemChange:z.func,onHighlightedIndexChange:z.func,onStateChange:z.func,onIsOpenChange:z.func,scrollIntoView:z.func}),qd=pt(pt({},Bi),{items:z.array.isRequired,isItemDisabled:z.func});pt(pt({},Nt),{isItemDisabled:function(){return!1}});process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;var Gd=ge({},Bi,{items:z.array.isRequired,isItemDisabled:z.func,inputValue:z.string,defaultInputValue:z.string,initialInputValue:z.string,inputId:z.string,onInputValueChange:z.func});process.env.NODE_ENV;ge({},Nt,{isItemDisabled:function(){return!1}});var Kd={stateReducer:rr.stateReducer,itemToKey:rr.itemToKey,environment:rr.environment,selectedItems:z.array,initialSelectedItems:z.array,defaultSelectedItems:z.array,getA11yStatusMessage:z.func,activeIndex:z.number,initialActiveIndex:z.number,defaultActiveIndex:z.number,onActiveIndexChange:z.func,onSelectedItemsChange:z.func,keyNavigationNext:z.string,keyNavigationPrevious:z.string};Nt.itemToKey,Nt.stateReducer,Nt.environment;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;const Xd=E.forwardRef(({className:e,children:r,isFocused:t,isDisabled:o,...i},n)=>{const{size:s,color:a,isDisabled:l,hasMessage:c,hasGroup:d,downshift:g,isInvalid:h,menuPlacement:y}=xe(),N=o??l,x=t??g.isOpen;return w.jsx("div",{ref:n,className:_(Jc({size:s,color:a,isDisabled:N,isFocused:!!x,isInvalid:h&&!g.isOpen,hasMessage:c,hasGroup:d,menuPlacement:g.isOpen?y:void 0}),e),"aria-disabled":N,"aria-invalid":h,role:"combobox",tabIndex:N?-1:0,...i,children:r})}),Zd=({className:e,children:r,isMulti:t})=>w.jsx("div",{className:_(Uc({isMulti:t}),e),children:r}),or=E.forwardRef(({isHidden:e,inputClassName:r,className:t,...o},i)=>{const{size:n,color:s}=xe();return e?w.jsx("input",{ref:i,type:"text",className:t,style:{position:"absolute",top:0,left:0,opacity:0,width:"100%",height:"100%",pointerEvents:"none"},tabIndex:-1,...o}):w.jsx("input",{ref:i,type:"text","data-qui":"SelectSearchInput",className:_(Qc({size:n,color:s}),r,e?"":t),...o})}),Yd=({className:e,children:r})=>{const{size:t,color:o}=xe();return w.jsx("div",{className:_(ed({size:t,color:o}),e),children:r})},Jd=({className:e,children:r,data:t,isDisabled:o})=>{const{size:i,color:n,getOptionLabel:s}=xe();return w.jsx("div",{className:_(td({size:i,color:n,isDisabled:o}),e),children:r||s(t)})},$i=({className:e,children:r,data:t,isDisabled:o,isFocused:i,onRemove:n})=>{const{size:s,color:a,downshift:l,getOptionLabel:c}=xe(),d=()=>{n?n(t):l.removeItem(t)};return w.jsxs("div",{className:_(rd({size:s,color:a,isDisabled:o,isFocused:i}),e),children:[w.jsx("div",{className:od({size:s}),children:r||c(t)}),!o&&w.jsx("div",{className:nd({size:s,color:a,isDisabled:!1}),onClick:d,children:w.jsx(cr,{className:"w-3 h-3"})})]})},qi=({color:e,className:r,children:t,onClick:o,isDisabled:i,...n})=>{const{size:s,color:a,isDisabled:l,downshift:c}=xe(),d=i??l,g=c.selectedItems.length>0;if(d||!g)return null;const h=y=>{y.stopPropagation(),o?o(y):c.clearSelection()};return w.jsx("div",{className:_(yi({size:s,color:e||a,isDisabled:d}),r),onClick:h,role:"button",tabIndex:0,"aria-label":"Clear selection",...n,children:t||w.jsx(na,{})})},Ud=({className:e,children:r,onClick:t,isDisabled:o,...i})=>{const{size:n,color:s,isDisabled:a,downshift:l}=xe(),c=o??a,d=l.inputValue.length>0&&l.isSearchable;if(c||!d)return null;const g=h=>{c||(h.preventDefault(),h.stopPropagation(),t?t(h):(l.setInputValue(""),l.clearSelection()))};return w.jsx("div",{"data-qui":"SelectIndicator",className:_(yi({size:n,color:s,isDisabled:c}),"cursor-pointer",e),onClick:g,onMouseDown:h=>{h.preventDefault(),h.stopPropagation()},role:"button",tabIndex:-1,"aria-label":"Clear selection",...i,children:r||w.jsx(cr,{})})},Gi=E.forwardRef(({color:e,className:r,children:t,onClick:o,isDisabled:i,...n},s)=>{const{size:a,color:l,isDisabled:c,downshift:d}=xe(),g=i??c,h=d.isOpen,y=x=>{g||(x.preventDefault(),x.stopPropagation(),o?o(x):d.toggleMenu())},N=x=>{x.preventDefault(),x.stopPropagation()};return w.jsx("div",{ref:s,"data-qui":"SelectIndicator",className:_(id({size:a,color:e||l,isDisabled:g}),"cursor-pointer",r),onClick:N,onMouseDown:y,role:"button",tabIndex:-1,"aria-label":h?"Close menu":"Open menu","aria-expanded":h,"aria-disabled":g,...n,children:t||w.jsx(ia,{className:_("transition-transform duration-200",{"rotate-180":h})})})}),Qd=E.forwardRef(({className:e,children:r,placement:t,...o},i)=>{const{size:n,hasMessage:s,color:a,hasGroup:l}=xe();return w.jsx("div",{"data-qui":"SelectMenu",ref:i,className:_(sd({size:n,placement:t,hasMessage:s,color:a,hasGroup:l}),e),...o,children:r})}),eu=E.forwardRef(({className:e,children:r,maxHeight:t=300,totalHeight:o,...i},n)=>{const{size:s}=xe();return w.jsx(qr,{scrollableNodeProps:{ref:n},className:_(ad({size:s}),e),style:{maxHeight:t},...i,children:o!==void 0?w.jsx("div",{style:{height:o,position:"relative",width:"100%"},children:r}):r})}),nr=({className:e,children:r,data:t,isDisabled:o,isFocused:i,isSelected:n,innerProps:s,optionClassName:a,...l})=>{const{size:c,color:d,getOptionLabel:g}=xe();return w.jsx("div",{"data-qui":"SelectOption",className:_(ld({size:c,color:d,isDisabled:o,isFocused:i,isSelected:n}),a,e),...s,...l,children:r??g(t)})},Ki=({className:e,children:r,data:t,label:o,renderGroupHeading:i})=>{const{size:n}=xe();return w.jsxs("div",{"data-qui":"SelectOptionGroup",className:_(cd({size:n}),e),children:[w.jsx(tu,{children:i?i(t):o||t.label}),r]})},tu=({className:e,children:r})=>{const{size:t,color:o}=xe();return w.jsx("div",{className:_(dd({size:t,color:o}),e),children:r})},Dr=({className:e,children:r,inputValue:t})=>{const{size:o}=xe();return w.jsx("div",{className:_(pd({size:o}),e),children:r||`No options found${t?` for "${t}"`:""}`})},ru=E.forwardRef(({className:e,children:r,...t},o)=>{const{size:i,color:n,isDisabled:s,hasMessage:a,isInvalid:l,setHasGroup:c,groupRef:d,menuVisible:g,menuPlacement:h}=xe();return E.useEffect(()=>(c(!0),()=>{c(!1)}),[c]),w.jsx("div",{ref:ct([o,d]),"data-qui":"SelectGroup",className:_(Zc({size:i,color:n,isDisabled:s,hasMessage:a,isInvalid:l,isFocused:g,menuPlacement:g?h:void 0}),e),...t,children:r})}),ou=E.forwardRef(({isAction:e=!1,className:r,isDisabled:t=!1,style:o,children:i,...n},s)=>{const{size:a,color:l,isDisabled:c}=xe(),d=t||c,g=Yc({size:a,color:l,isDisabled:d,isAction:e});return w.jsx("div",{ref:s,"data-qui":"SelectIcon",className:_(g,r),style:o,role:e||n.onClick?"button":void 0,tabIndex:(e||n.onClick)&&!d?0:void 0,"aria-disabled":d,...n,children:i})}),nu=({isOpen:e,usePortal:r,controlRef:t,selectId:o,children:i})=>{const[n,s]=E.useState(null);return E.useLayoutEffect(()=>{if(r&&e&&t.current){const a=()=>{var l;const c=(l=t.current)==null?void 0:l.closest('[data-qui="SelectGroup"]'),d=c||t.current;if(!d)return;const g=d.getBoundingClientRect();s(c?{top:g.top+window.scrollY+c.clientTop,left:g.left+window.scrollX+c.clientLeft,width:c.clientWidth,height:c.clientHeight}:{top:g.top+window.scrollY,left:g.left+window.scrollX,width:g.width,height:g.height})};return a(),window.addEventListener("resize",a),window.addEventListener("scroll",a,!0),()=>{window.removeEventListener("resize",a),window.removeEventListener("scroll",a,!0)}}},[e,r,t]),e?r&&n?zt.createPortal(w.jsx("div",{"data-qui":"SelectPortal","data-select-id":o,style:{position:"absolute",top:n.top,left:n.left,width:n.width,height:n.height,zIndex:50,pointerEvents:"none"},children:w.jsx("div",{style:{pointerEvents:"auto"},children:i})}),document.body):w.jsx(w.Fragment,{children:i}):null},ct=e=>r=>{e.forEach(t=>{typeof t=="function"?t(r):t!=null&&"current"in t&&(t.current=r)})},iu=e=>{let r=0,t=window.innerHeight,o=e.parentElement;for(;o&&o!==document.body&&o!==document.documentElement;){const{overflowY:i}=window.getComputedStyle(o);if(i!=="visible"){const n=o.getBoundingClientRect();r=Math.max(r,n.top),t=Math.min(t,n.bottom)}o=o.parentElement}return{top:r,bottom:t}},su=E.forwardRef(({placeholder:e,noOptionsMessage:r,hideNoOptions:t=!1,loadingMessage:o="Loading...",isClearable:i=!1,isSearchClearable:n=!1,isLoading:s=!1,isRequired:a=!1,hideIndicators:l=!1,hideDropdownIndicator:c=!1,searchPlacement:d="trigger",menuPlacement:g="bottom",hideSelectedOptions:h=!1,onFocus:y,onBlur:N,renderMenuHeader:x,formatOptionLabel:m,renderOption:k,optionClassName:p,renderValue:f,renderGroupHeading:v,inputRef:u,controlShouldRenderValue:S=!0,name:A,id:C,onSelectionComplete:O,"aria-label":H,"aria-labelledby":Z,"aria-describedby":J,children:oe,usePortal:G=!1,virtualizeThreshold:P=100,className:D,inputClassName:F,...R},ne)=>{const{size:b,isInvalid:I,isDisabled:L,hasGroup:T,downshift:j,options:X=[],getOptionLabel:B,getOptionValue:M,isOptionDisabled:V,menuPlacement:ee,setMenuPlacement:Y,menuVisible:ie,setMenuVisible:W,inputClassName:ye}=xe(),K=F||ye,ue=E.useMemo(()=>{if(k)return k;if(m)return({data:U})=>m(U)},[k,m]),Se=E.useRef(null),He=u||Se,Ee=E.useRef(null),[Ie,Ce]=E.useState(null),we=E.useRef(null),{isOpen:Te,openMenu:Xi,selectedItem:Qr,inputValue:Be,highlightedIndex:Qe,getToggleButtonProps:eo,getMenuProps:Zi,getInputProps:to,getItemProps:pr,isMulti:Mt,isSearchable:$e,multipleSelection:Yi}=j,{getDropdownProps:Ji}=Yi;E.useLayoutEffect(()=>{if(!Te)return;if(g==="top"||g==="bottom"){Y(g);return}const U=Ee.current;if(!U)return;const te=()=>{const ke=U.getBoundingClientRect(),je=G?{top:0,bottom:window.innerHeight}:iu(U),Me=je.bottom-ke.bottom,Ve=ke.top-je.top,Ke=b==="sm"?22:b==="lg"?36:28,ot=Math.min((j.filteredItems.length||1)*Ke+16,300),bt=Ie==null?void 0:Ie.getBoundingClientRect().height,mr=bt&&bt>0?bt:ot,ss=Me>=mr;Y(!ss&&Ve>Me?"top":"bottom")};te(),window.addEventListener("resize",te),window.addEventListener("scroll",te,!0);const De=Ie&&typeof ResizeObserver<"u"?new ResizeObserver(()=>te()):void 0;return Ie&&(De==null||De.observe(Ie)),()=>{window.removeEventListener("resize",te),window.removeEventListener("scroll",te,!0),De==null||De.disconnect()}},[Te,Y,b,j.filteredItems.length,g,G,Ie]),E.useLayoutEffect(()=>{const U=Te&&!(t&&j.filteredItems.length===0);return W(U),()=>W(!1)},[Te,t,j.filteredItems.length,W]);const Le=Mt?j.selectedItems??[]:Qr?[Qr]:[],gr=Le.length>0,Ui=n&&!!Be&&!L&&!l,ro=i&&(gr||!!Be)&&!L&&!l,oo=!c&&!l,Qi=!gr&&(!$e||!Be)||!S,no={},io={};Object.entries(R).forEach(([U,te])=>{U.startsWith("data-")||U.startsWith("aria-")||U==="role"?no[U]=te:io[U]=te});const so=E.useMemo(()=>ct([Ee,ne]),[ne]),ao=Zi({},{suppressRefError:!0}),ft=Ji({preventKeyAction:Te}),hr={ref:He,disabled:L,required:a,name:A,id:C,"aria-label":H,"aria-labelledby":Z,"aria-describedby":J,"aria-invalid":I,onFocus:y,onBlur:N,...io},es=$e?(to==null?void 0:to({...hr,...ft}))??hr:{...hr,...ft},{ref:lo,...vr}=es,fr=E.useMemo(()=>ct([lo]),[lo]),{ref:co,...uo}=ao,po=E.useRef(co);po.current=co;const ts=E.useCallback(U=>{Ce(te=>te===U?te:U),ct([po.current])(U)},[]),rs=U=>Le.some(te=>M(te)===M(U)),go=U=>h?U.filter(te=>!rs(te)):U,os=U=>h?U.map(te=>({...te,options:go(te.options)})).filter(te=>te.options.length>0):U,rt=Jo(X)?[]:go(j.filteredItems),ns={sm:22,md:28,lg:36}[b]??28,mt=rt.length>=P,Wt=Kc({count:mt?rt.length:0,getScrollElement:()=>we.current,estimateSize:()=>ns,overscan:5});E.useEffect(()=>{mt&&Te&&Qe>=0&&Qe<rt.length&&Wt.scrollToIndex(Qe,{align:"auto"})},[Qe,mt,Te]);const{registerOnSelectionComplete:ho}=xe();E.useEffect(()=>{if(O)return ho(O)},[O,ho]);const is=$e?{}:eo({disabled:L,...ft,ref:ct([so,ft.ref])});return w.jsxs("div",{className:_({relative:!T,"flex-1 min-w-0":T}),children:[w.jsxs(Xd,{"data-qui":"SelectControl",className:D,...$e?{ref:ct([so,ft.ref])}:is,...no,isFocused:ie,isDisabled:L,onClick:U=>{U.defaultPrevented||($e?Xi():j.toggleMenu())},children:[oe||w.jsxs(Zd,{isMulti:Mt,children:[Mt&&S&&Le.map((U,te)=>w.jsx($i,{data:U,index:te,isDisabled:L,children:f?f(U):void 0},M(U))),!Mt&&gr&&S&&!$e&&w.jsx("div",{className:"flex items-center gap-2",children:w.jsx(Jd,{data:Le[0],isDisabled:L,children:f?f(Le[0]):B(Le[0])})}),$e&&d==="trigger"?w.jsx(or,{ref:fr,...vr,className:D,inputClassName:K,placeholder:e}):w.jsxs(w.Fragment,{children:[w.jsx(or,{ref:fr,...vr,className:D,inputClassName:K,isHidden:!0,readOnly:!0,value:Le.map(U=>M(U)).join(",")}),Qi&&w.jsx(Yd,{children:e})]})]}),w.jsxs("div",{className:_("flex items-center size-fit gap-1",{hidden:!ro&&!oo}),children:[Ui&&w.jsx(Ud,{}),ro&&w.jsx(qi,{}),oo&&w.jsx(Gi,{...$e?eo({disabled:L,"aria-label":Te?"Close menu":"Open menu"}):{}})]})]}),!Te&&w.jsx("div",{ref:ao.ref,style:{display:"none"},"aria-hidden":"true"}),w.jsx(nu,{isOpen:Te,usePortal:G,controlRef:Ee,selectId:j.selectId,children:t&&j.filteredItems.length===0?w.jsx("div",{...uo,style:{display:"none"},"aria-hidden":"true"}):w.jsxs(Qd,{ref:ts,...uo,placement:ee,children:[x&&x(j),$e&&d==="menu"&&w.jsx("div",{className:"p-2",children:w.jsx(or,{ref:fr,...vr,className:D,inputClassName:K,autoFocus:!0,placeholder:e,onClick:U=>U.stopPropagation()})}),w.jsx(eu,{ref:we,totalHeight:mt?Wt.getTotalSize():void 0,children:s?w.jsx("div",{className:ud({size:b}),children:o}):j.filteredItems.length===0?w.jsx(Dr,{inputValue:Be,children:typeof r=="function"?r(Be):r}):Jo(X)?(()=>{const U=os(X);return U.length===0?w.jsx(Dr,{inputValue:Be,children:typeof r=="function"?r(Be):r}):U.map((te,De)=>w.jsx(Ki,{data:te,label:te.label,options:te.options,renderGroupHeading:v,children:te.options.map(ke=>{const je=M(ke),Me=Le.some(mr=>M(mr)===je),Ve=j.filteredItems.indexOf(ke),Ke=Qe===Ve,ot=V(ke),bt=pr({item:ke,index:Ve});return w.jsx(nr,{...bt,data:ke,isDisabled:ot,isFocused:Ke,isSelected:Me,optionClassName:p,children:ue?ue({data:ke,isFocused:Ke,isSelected:Me,isDisabled:ot}):void 0},`${je}-${Ve}`)})},`${te.label}-${De}`))})():rt.length===0?w.jsx(Dr,{inputValue:Be,children:typeof r=="function"?r(Be):r}):mt?Wt.getVirtualItems().map(U=>{const te=rt[U.index],De=M(te),ke=Le.some(ot=>M(ot)===De),je=j.filteredItems.indexOf(te),Me=Qe===je,Ve=V(te),Ke=pr({item:te,index:je});return w.jsx("div",{"data-index":U.index,ref:Wt.measureElement,style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${U.start}px)`},children:w.jsx(nr,{...Ke,data:te,isDisabled:Ve,isFocused:Me,isSelected:ke,optionClassName:p,children:ue?ue({data:te,isFocused:Me,isSelected:ke,isDisabled:Ve}):void 0})},U.key)}):rt.map(U=>{const te=M(U),De=Le.some(Ke=>M(Ke)===te),ke=j.filteredItems.indexOf(U),je=Qe===ke,Me=V(U),Ve=pr({item:U,index:ke});return w.jsx(nr,{...Ve,data:U,isDisabled:Me,isFocused:je,isSelected:De,optionClassName:p,children:ue?ue({data:U,isFocused:je,isSelected:De,isDisabled:Me}):void 0},`${te}-${ke}`)})})]})})]})});ru.displayName="Select.Group";ou.displayName="Select.Icon";or.displayName="Select.Input";$i.displayName="Select.MultiValue";qi.displayName="Select.ClearIndicator";Gi.displayName="Select.DropdownIndicator";nr.displayName="Select.Option";Ki.displayName="Select.OptionGroup";const au=su;au.displayName="Select.Field";E.createContext(void 0);const lu=({active:e,disabled:r,error:t,isOpen:o,className:i})=>_("flex w-full items-center justify-between text-left leading-5 transition-colors duration-200",{"cursor-pointer":!r,"text-inactive-text":r,"bg-primary hover:bg-primary-hover":e&&!r,"text-negative":t&&!e&&!r,"bg-primary-hover text-body":o&&!e&&!r,"text-body":!e&&!r&&!t,"hover:bg-primary-hover hover:text-tab-active-fg":!r&&!e},i),cu=E.forwardRef(({active:e,disabled:r,error:t,isOpen:o,className:i,children:n,as:s="div",...a},l)=>{const c=lu({active:e,disabled:r,error:t,isOpen:o,className:i});return w.jsx(s,{"data-qui":"ListItem",ref:l,className:c,"aria-disabled":r,"aria-selected":e,"aria-invalid":t,"aria-expanded":o,role:a.onClick?"button":"listitem",...a,children:n})});cu.displayName="ListItem";const du=({lspProps:{lastError:e,reload:r}})=>{const[t,o]=E.useState(!1),i=()=>{r()},n=()=>{o(!1)};return E.useEffect(()=>{o(!!e)},[e]),t?w.jsxs(hi,{depth:1,className:"flex items-center border-b px-2 py-1.5 text-xs",children:[w.jsxs("span",{className:"flex flex-1 justify-center gap-1",children:[w.jsx(ra,{className:"h-4 w-4 text-negative-text"}),w.jsxs("span",{children:["LSP not loaded."," ",w.jsx("button",{className:"text-primary underline",onClick:i,children:"Reload?"})]})]}),w.jsx(ti,{color:"white",variant:"ghost",className:"focus:outline-none",children:w.jsx(ta,{className:"h-4 w-4",onClick:n})})]}):null},uu={name:"4d",displayName:"%displayName%",description:"%description%",version:"1.0.0",publisher:"vscode",engines:{vscode:"0.10.x"},categories:["Programming Languages"],contributes:{languages:[{id:"4d",aliases:["4D","4d"],extensions:[".4dm",".4qs"],configuration:"./language-configuration.json"}],grammars:[{language:"4d",scopeName:"source.4dm",path:"./syntaxes/4d.tmLanguage.json"}]}},{registerFileUrl:ur,whenReady:pu}=hs.registerExtension(uu,void 0,{system:!0});ur("./syntaxes/4d.tmLanguage.json",new URL("data:application/json;base64,ewogICJuYW1lIjogIjREIiwKICAic2NvcGVOYW1lIjogInNvdXJjZS40ZG0iLAogICJwYXR0ZXJucyI6IFsKICAgIHsKICAgICAgImluY2x1ZGUiOiAiI3N0YXRlbWVudHMiCiAgICB9CiAgXSwKICAicmVwb3NpdG9yeSI6IHsKICAgICJzdGF0ZW1lbnRzIjogewogICAgICAicGF0dGVybnMiOiBbCiAgICAgICAgewogICAgICAgICAgImluY2x1ZGUiOiAiI2NvbW1lbnQiCiAgICAgICAgfQogICAgICBdCiAgICB9LAogICAgImNvbW1lbnQiOiB7CiAgICAgICJwYXR0ZXJucyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJjb21tZW50LmJsb2NrLjRkIiwKICAgICAgICAgICJiZWdpbiI6ICIoL1xcKikoPzpcXHMqKChAKWludGVybmFsKSg/PVxcc3woXFwqLykpKT8iLAogICAgICAgICAgImJlZ2luQ2FwdHVyZXMiOiB7CiAgICAgICAgICAgICIxIjogewogICAgICAgICAgICAgICJuYW1lIjogInB1bmN0dWF0aW9uLmRlZmluaXRpb24uY29tbWVudC40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjIiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAic3RvcmFnZS50eXBlLmludGVybmFsZGVjbGFyYXRpb24uNGQiCiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICIzIjogewogICAgICAgICAgICAgICJuYW1lIjogInB1bmN0dWF0aW9uLmRlY29yYXRvci5pbnRlcm5hbGRlY2xhcmF0aW9uLjRkIgogICAgICAgICAgICB9CiAgICAgICAgICB9LAogICAgICAgICAgImVuZCI6ICJcXCovIiwKICAgICAgICAgICJlbmRDYXB0dXJlcyI6IHsKICAgICAgICAgICAgIjAiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVmaW5pdGlvbi5jb21tZW50LjRkIgogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgfSwKICAgICAgICB7CiAgICAgICAgICAiYmVnaW4iOiAiKF5bIFxcdF0rKT8oKC8vKSg/OlxccyooKEApaW50ZXJuYWwpKD89XFxzfCQpKT8pIiwKICAgICAgICAgICJiZWdpbkNhcHR1cmVzIjogewogICAgICAgICAgICAiMSI6IHsKICAgICAgICAgICAgICAibmFtZSI6ICJwdW5jdHVhdGlvbi53aGl0ZXNwYWNlLmNvbW1lbnQubGVhZGluZy40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjIiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAiY29tbWVudC5saW5lLmRvdWJsZS1zbGFzaC40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjMiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVmaW5pdGlvbi5jb21tZW50LjRkIgogICAgICAgICAgICB9LAogICAgICAgICAgICAiNCI6IHsKICAgICAgICAgICAgICAibmFtZSI6ICJzdG9yYWdlLnR5cGUuaW50ZXJuYWxkZWNsYXJhdGlvbi40ZCIKICAgICAgICAgICAgfSwKICAgICAgICAgICAgIjUiOiB7CiAgICAgICAgICAgICAgIm5hbWUiOiAicHVuY3R1YXRpb24uZGVjb3JhdG9yLmludGVybmFsZGVjbGFyYXRpb24uNGQiCiAgICAgICAgICAgIH0KICAgICAgICAgIH0sCiAgICAgICAgICAiZW5kIjogIig/PSQpIiwKICAgICAgICAgICJjb250ZW50TmFtZSI6ICJjb21tZW50LmxpbmUuZG91YmxlLXNsYXNoLjRkIgogICAgICAgIH0KICAgICAgXQogICAgfQogIH0KfQo=",typeof document>"u"?require("url").pathToFileURL(__filename).href:Re&&Re.tagName.toUpperCase()==="SCRIPT"&&Re.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1592});ur("./language-configuration.json",new URL("data:application/json;base64,ewogICJjb21tZW50cyI6IHsKICAgICJsaW5lQ29tbWVudCI6ICIvLyIsCiAgICAiYmxvY2tDb21tZW50IjogWyIvKioiLCAiKiovIl0KICB9LAogIC8vIHN5bWJvbHMgdXNlZCBhcyBicmFja2V0cwogICJicmFja2V0cyI6IFsKICAgIFsieyIsICJ9Il0sCiAgICBbIigiLCAiKSJdLAogICAgWyJbIiwgIl0iXQogIF0sCiAgLy8gc3ltYm9scyB0aGF0IGFyZSBhdXRvIGNsb3NlZCB3aGVuIHR5cGluZwogIC8vIHN5bWJvbHMgdGhhdCB0aGF0IGNhbiBiZSB1c2VkIHRvIHN1cnJvdW5kIGEgc2VsZWN0aW9uCiAgInN1cnJvdW5kaW5nUGFpcnMiOiBbCiAgICBbInsiLCAifSJdLAogICAgWyJbIiwgIl0iXSwKICAgIFsiKCIsICIpIl0sCiAgICBbIlwiIiwgIlwiIl0sCiAgICBbIiciLCAiJyJdCiAgXSwKICAiYXV0b0Nsb3NpbmdQYWlycyI6IFsKICAgIHsKICAgICAgIm9wZW4iOiAiKCIsCiAgICAgICJjbG9zZSI6ICIpIgogICAgfSwKICAgIHsgIm9wZW4iOiAieyIsICJjbG9zZSI6ICJ9IiB9LAogICAgeyAib3BlbiI6ICJbIiwgImNsb3NlIjogIl0iIH0sCiAgICB7ICJvcGVuIjogIiciLCAiY2xvc2UiOiAiJyIsICJub3RJbiI6IFsic3RyaW5nIiwgImNvbW1lbnQiXSB9LAogICAgeyAib3BlbiI6ICJcIiIsICJjbG9zZSI6ICJcIiIsICJub3RJbiI6IFsic3RyaW5nIl0gfSwKICAgIHsgIm9wZW4iOiAiYCIsICJjbG9zZSI6ICJgIiwgIm5vdEluIjogWyJzdHJpbmciLCAiY29tbWVudCJdIH0sCiAgICB7ICJvcGVuIjogIi8qKiIsICJjbG9zZSI6ICIgKiovIiwgIm5vdEluIjogWyJzdHJpbmciXSB9CiAgXSwKICAiYXV0b0Nsb3NlQmVmb3JlIjogIjs6Liw9fV0pPmAgXG5cdCIsCiAgIndvcmRQYXR0ZXJuIjogIigtP1xcZCpcXC5cXGRcXHcqKXwoW15cXGBcXH5cXCFcXEBcXCNcXCVcXF5cXCZcXCpcXChcXClcXC1cXD1cXCtcXFtcXHtcXF1cXH1cXFxcXFx8XFw7XFw6XFwnXFxcIlxcLFxcLlxcPFxcPlxcL1xcP1xcclxcblxcdFxcZlxcdiBdKyl8KD88PVthLXpBLVpdKSA/KD89W2EtekEtWl0pIiwKICAiaW5kZW50YXRpb25SdWxlcyI6IHsKICAgICJpbmNyZWFzZUluZGVudFBhdHRlcm4iOiB7CiAgICAgICJwYXR0ZXJuIjogIiheKD8hW15cXHNdKSpcXHMqKGNsYXNzIGNvbnN0cnVjdG9yKSl8KF4oPyFbXlxcc10pKlxccyooZXhwb3NlZHxsb2NhbHxcXHMqKXsxfVxccypmdW5jdGlvbnsxfVxccypcXHcpfCheKD8hW15cXHNdKSpcXHMqKElmfEVsc2V8Rm9yfEZvciBlYWNofFdoaWxlfEJlZ2luIFNRTHxDYXNlIG9mfFVzZXxSZXBlYXR8OiAqXFwoLiopKS4qJCIsCiAgICAgICJmbGFncyI6ICJpIgogICAgfSwKICAgICJkZWNyZWFzZUluZGVudFBhdHRlcm4iOiB7CiAgICAgICJwYXR0ZXJuIjogIiheKD8hW15cXHNdKSpcXHMqKGV4cG9zZWR8bG9jYWx8XFxzKil7MX1cXHMqZnVuY3Rpb257MX1cXHMqXFx3KXwoRW5kIElmfEVuZCBGb3J8RWxzZXxFbmQgZm9yIGVhY2h8RW5kIFdoaWxlfEVuZCBTUUx8RW5kIGNhc2V8RW5kIHVzZXxVbnRpbHw6ICpcXCguKikuKiQiLAogICAgICAiZmxhZ3MiOiAiaSIKICAgIH0KICB9LAogICJvbkVudGVyUnVsZXMiOiBbCiAgICB7CiAgICAgICJiZWZvcmVUZXh0IjogewogICAgICAgICJwYXR0ZXJuIjogIl5leHBvc2VkIiwKICAgICAgICAiZmxhZ3MiOiAiaSIKICAgICAgfSwKICAgICAgImFjdGlvbiI6IHsgImluZGVudCI6ICJpbmRlbnQiLCAiaW5kZW50QWN0aW9uIjogMSB9CiAgICB9CiAgXQp9Cg==",typeof document>"u"?require("url").pathToFileURL(__filename).href:Re&&Re.tagName.toUpperCase()==="SCRIPT"&&Re.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1723});ur("package.json",new URL("data:application/json;base64,ewogICJuYW1lIjogIjRkIiwKICAiZGlzcGxheU5hbWUiOiAiJWRpc3BsYXlOYW1lJSIsCiAgImRlc2NyaXB0aW9uIjogIiVkZXNjcmlwdGlvbiUiLAogICJ2ZXJzaW9uIjogIjEuMC4wIiwKICAicHVibGlzaGVyIjogInZzY29kZSIsCiAgImxpY2Vuc2UiOiAiTUlUIiwKICAiZW5naW5lcyI6IHsKICAgICJ2c2NvZGUiOiAiMC4xMC54IgogIH0sCiAgInNjcmlwdHMiOiB7CiAgICAidXBkYXRlLWdyYW1tYXIiOiAibm9kZSAuLi9ub2RlX21vZHVsZXMvdnNjb2RlLWdyYW1tYXItdXBkYXRlci9iaW4gbWljcm9zb2Z0L3ZzY29kZS00ZCBncmFtbWFycy80ZC5jc29uIC4vc3ludGF4ZXMvNGQudG1MYW5ndWFnZS5qc29uIgogIH0sCiAgImNhdGVnb3JpZXMiOiBbCiAgICAiUHJvZ3JhbW1pbmcgTGFuZ3VhZ2VzIgogIF0sCiAgImNvbnRyaWJ1dGVzIjogewogICAgImxhbmd1YWdlcyI6IFsKICAgICAgewogICAgICAgICJpZCI6ICI0ZCIsCiAgICAgICAgImFsaWFzZXMiOiBbCiAgICAgICAgICAiNEQiLAogICAgICAgICAgIjRkIgogICAgICAgIF0sCiAgICAgICAgImV4dGVuc2lvbnMiOiBbCiAgICAgICAgICAiLjRkbSIsCiAgICAgICAgICAiLjRxcyIKICAgICAgICBdLAogICAgICAgICJjb25maWd1cmF0aW9uIjogIi4vbGFuZ3VhZ2UtY29uZmlndXJhdGlvbi5qc29uIgogICAgICB9CiAgICBdLAogICAgImdyYW1tYXJzIjogWwogICAgICB7CiAgICAgICAgImxhbmd1YWdlIjogIjRkIiwKICAgICAgICAic2NvcGVOYW1lIjogInNvdXJjZS40ZG0iLAogICAgICAgICJwYXRoIjogIi4vc3ludGF4ZXMvNGQudG1MYW5ndWFnZS5qc29uIgogICAgICB9CiAgICBdCiAgfSwKICAicmVwb3NpdG9yeSI6IHsKICAgICJ0eXBlIjogImdpdCIsCiAgICAidXJsIjogImh0dHBzOi8vZ2l0aHViLmNvbS9taWNyb3NvZnQvdnNjb2RlLmdpdCIKICB9Cn0K",typeof document>"u"?require("url").pathToFileURL(__filename).href:Re&&Re.tagName.toUpperCase()==="SCRIPT"&&Re.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:1006});ur("package.nls.json",new URL("data:application/json;base64,ewogICJkaXNwbGF5TmFtZSI6ICI0RCBMYW5ndWFnZSBCYXNpY3MiLAogICJkZXNjcmlwdGlvbiI6ICJQcm92aWRlcyBzeW50YXggaGlnaGxpZ2h0aW5nIGFuZCBicmFja2V0IG1hdGNoaW5nIGZvciA0RE0gYW5kIDRRUyBmaWxlcy4iCn0K",typeof document>"u"?require("url").pathToFileURL(__filename).href:Re&&Re.tagName.toUpperCase()==="SCRIPT"&&Re.src||new URL("index.cjs.js",document.baseURI).href).toString(),{mimeType:"application/json",size:135});exports.Alerts=du;exports.CodeEditor=Us;exports.CodeEditorProvider=Ds;exports.FdLineNumbers=Wn;exports.LSPProvider=zs;exports.SUPPORTED_THEMES=Jt;exports._await=Hr;exports.configureServices=Nn;exports.getFileSystemPath=Ae;exports.getFunctionOffset=Is;exports.initMonacoUserConfiguration=En;exports.isCssModel=On;exports.jumpToLine=An;exports.jumpToSelection=_n;exports.useCodeEditor=Mn;exports.useLSP=Rs;
|
|
120
172
|
//# sourceMappingURL=index.cjs.js.map
|