From 2bf518d473a2fc0896b4237f2bc062215ba48f04 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 10 Jun 2023 16:32:59 +0200 Subject: [PATCH] use app for dev setup directly --- cli/dev.ts | 162 +- cli/devassets/assets/codicon-9420d58f.ttf | Bin 73504 -> 0 bytes cli/devassets/assets/index-08372519.css | 1 - cli/devassets/assets/index-7dd803f3.js | 5435 ---------------- cli/devassets/assets/javascript-7c20984c.js | 6 - cli/devassets/assets/jsonMode-31d2b4a2.js | 11 - cli/devassets/assets/sql-14921769.js | 6 - cli/devassets/assets/tsMode-48e8e31f.js | 16 - cli/devassets/assets/typescript-73b32302.js | 6 - .../windmill_parser_wasm_bg-2b5c3fbf.wasm | Bin 4086516 -> 0 bytes cli/devassets/assets/yaml-a723dc77.js | 6 - cli/devassets/index.html | 15 - devfrontend/.gitignore | 24 - .../.vite/deps_temp_09ac8bfc/package.json | 3 + devfrontend/.vscode/extensions.json | 3 - devfrontend/README.md | 18 - devfrontend/index.html | 13 - .../register/.babel.7.5.5.development.json | 1 + devfrontend/package-lock.json | 3550 ---------- devfrontend/package.json | 36 - devfrontend/src/App.svelte | 169 - devfrontend/src/main.ts | 8 - devfrontend/src/tailwind.css | 5685 ----------------- devfrontend/src/vite-env.d.ts | 2 - devfrontend/svelte.config.js | 7 - devfrontend/tailwind.config.cjs | 685 -- devfrontend/tsconfig.json | 20 - devfrontend/tsconfig.node.json | 9 - devfrontend/vite.config.ts | 17 - .../components/scriptEditor/LogPanel.svelte | 8 +- .../src/routes/(root)/(logged)/+layout.svelte | 16 +- .../(root)/(logged)/scripts/dev/+page.js | 0 .../(root)/(logged)/scripts/dev/+page.svelte | 194 + 33 files changed, 285 insertions(+), 15847 deletions(-) delete mode 100644 cli/devassets/assets/codicon-9420d58f.ttf delete mode 100644 cli/devassets/assets/index-08372519.css delete mode 100644 cli/devassets/assets/index-7dd803f3.js delete mode 100644 cli/devassets/assets/javascript-7c20984c.js delete mode 100644 cli/devassets/assets/jsonMode-31d2b4a2.js delete mode 100644 cli/devassets/assets/sql-14921769.js delete mode 100644 cli/devassets/assets/tsMode-48e8e31f.js delete mode 100644 cli/devassets/assets/typescript-73b32302.js delete mode 100644 cli/devassets/assets/windmill_parser_wasm_bg-2b5c3fbf.wasm delete mode 100644 cli/devassets/assets/yaml-a723dc77.js delete mode 100644 cli/devassets/index.html delete mode 100644 devfrontend/.gitignore create mode 100644 devfrontend/.vite/deps_temp_09ac8bfc/package.json delete mode 100644 devfrontend/.vscode/extensions.json delete mode 100644 devfrontend/README.md delete mode 100644 devfrontend/index.html create mode 100644 devfrontend/node_modules/.cache/@babel/register/.babel.7.5.5.development.json delete mode 100644 devfrontend/package-lock.json delete mode 100644 devfrontend/package.json delete mode 100644 devfrontend/src/App.svelte delete mode 100644 devfrontend/src/main.ts delete mode 100644 devfrontend/src/tailwind.css delete mode 100644 devfrontend/src/vite-env.d.ts delete mode 100644 devfrontend/svelte.config.js delete mode 100644 devfrontend/tailwind.config.cjs delete mode 100644 devfrontend/tsconfig.json delete mode 100644 devfrontend/tsconfig.node.json delete mode 100644 devfrontend/vite.config.ts create mode 100644 frontend/src/routes/(root)/(logged)/scripts/dev/+page.js create mode 100644 frontend/src/routes/(root)/(logged)/scripts/dev/+page.svelte diff --git a/cli/dev.ts b/cli/dev.ts index a4d4c8f92f..45a0bc1e76 100644 --- a/cli/dev.ts +++ b/cli/dev.ts @@ -5,13 +5,14 @@ import { Router, UserService, log, + open, path, } from "./deps.ts"; import { GlobalOptions } from "./types.ts"; import { ignoreF } from "./sync.ts"; import { requireLogin, resolveWorkspace } from "./context.ts"; -import { mimelite } from "https://deno.land/x/mimetypes@v1.0.0/mod.ts"; +const PORT = 3001; async function dev(opts: GlobalOptions & { filter?: string }) { const workspace = await resolveWorkspace(opts); await requireLogin(opts); @@ -24,53 +25,53 @@ async function dev(opts: GlobalOptions & { filter?: string }) { const watcher = Deno.watchFs(opts.filter ?? "."); const base = await Deno.realPath("."); - async function watchChanges() { - const ignore = await ignoreF(); + const ignore = await ignoreF(); + async function watchChanges() { for await (const event of watcher) { - log.info(">>>> event", event); + log.debug(">>>> event", event); // Example event: { kind: "create", paths: [ "/home/alice/deno/foo.txt" ] } - const paths = event.paths.filter( - (path) => - path.endsWith(".go") || - path.endsWith(".ts") || - path.endsWith(".py") || - path.endsWith(".sh") - ); - if (paths.length == 0) { - return; - } - const cpath = (await Deno.realPath(paths[0])).replace( - base + path.sep, - "" - ); - console.log("Detected change in " + cpath); - if (!ignore(cpath, false)) { - const content = await Deno.readTextFile(cpath); - const splitted = cpath.split("."); - const wmPath = splitted[0]; - const ext = splitted[splitted.length - 1]; - const lang = - ext == "py" - ? "python3" - : ext == "ts" - ? "deno" - : ext == "go" - ? "go" - : "bash"; - currentLastEdit = { - content, - path: wmPath, - language: lang, - workspace: workspace.workspaceId, - username, - }; - broadcast_changes(currentLastEdit); - log.info("Updated " + wmPath); - } + await loadPaths(event.paths); } } + async function loadPaths(pathsToLoad: string[]) { + const paths = pathsToLoad.filter( + (path) => + path.endsWith(".go") || + path.endsWith(".ts") || + path.endsWith(".py") || + path.endsWith(".sh") + ); + if (paths.length == 0) { + return; + } + const cpath = (await Deno.realPath(paths[0])).replace(base + path.sep, ""); + console.log("Detected change in " + cpath); + if (!ignore(cpath, false)) { + const content = await Deno.readTextFile(cpath); + const splitted = cpath.split("."); + const wmPath = splitted[0]; + const ext = splitted[splitted.length - 1]; + const lang = + ext == "py" + ? "python3" + : ext == "ts" + ? "deno" + : ext == "go" + ? "go" + : "bash"; + currentLastEdit = { + content, + path: wmPath, + language: lang, + workspace: workspace.workspaceId, + username, + }; + broadcast_changes(currentLastEdit); + log.info("Updated " + wmPath); + } + } type LastEdit = { content: string; path: string; @@ -106,63 +107,36 @@ async function dev(opts: GlobalOptions & { filter?: string }) { socket.onclose = () => { connectedClients.delete(socket); }; + + socket.onmessage = (event) => { + let data: any | undefined = undefined; + try { + data = JSON.parse(event.data); + } catch { + console.log("Received invalid JSON: " + event.data); + return; + } + + if (data.type == "load") { + loadPaths([data.path] as string[]); + } + }; }); app.use(router.routes()); app.use(router.allowedMethods()); - app.use(async (ctx) => { - const req = ctx.request; - const url = new URL(req.url); - let path = url.pathname; - if (path.startsWith("/api")) { - const fpath = - workspace.remote.substring(0, workspace.remote.length - 1) + - path + - "?" + - url.searchParams.toString(); - console.log(fpath); - console.log("Proxying to " + fpath); - const proxyRes = await fetch(fpath, { - headers: { - Authorization: "Bearer " + workspace.token, - ...Object.fromEntries(req.headers.entries()), - }, - method: req.method, - body: JSON.stringify(await req.body().value), - }); - ctx.response.body = proxyRes.body; - ctx.response.status = proxyRes.status; - ctx.response.headers = proxyRes.headers; - } else { - console.log("Serving " + path); - if (path == "/") { - path = "devassets/index.html"; - } else { - path = "devassets" + path; - } - try { - const FILE_URL = new URL(path, import.meta.url).href; - console.log(FILE_URL); - const resp = await fetch(FILE_URL); - ctx.response.body = resp.body; - ctx.response.headers.set( - "Content-Type", - mimelite.getType(path.split(".").pop() ?? "txt") ?? "text/plain" - ); - } catch (e) { - console.log(`${path}: ${e}`); - ctx.response.body = "404"; - ctx.response.status = 404; - } - } - }); - const port = getPort(3000); - console.log( - "Started dev server at http://localhost:" + - port + - (port == 3000 ? "/" : "/?port=" + port) - ); + const port = getPort(PORT); + const url = + `${workspace.remote}scripts/dev?workspace=${workspace.workspaceId}` + + (port == PORT ? "" : "&port=" + port); + console.log(`Go to ${url}`); + try { + await open(url); + log.info("Opened browser for you"); + } catch { + console.error(`Failed to open browser, please navigate to ${url}`); + } console.log( "Dev server will automatically point to the last script edited locally" ); diff --git a/cli/devassets/assets/codicon-9420d58f.ttf b/cli/devassets/assets/codicon-9420d58f.ttf deleted file mode 100644 index ea2309d11d3390a5cf2f8dac873808182dffc666..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73504 zcmeFa37lJ3eLs56)!nb|)z!U{uJ&0pl4d-cXVFOGWgJgzC-FFrlQ@pEcoJu`lQ_v3 zl8~5$1Z=htLIPn}OCY7G%~nV$rNp!p!rJ^3N@<~#QYNJ>Nd5x_mr_cS_x;@?jmHV? z`?R0;-sio~>sVhM>FO@${LVSQ{TwsS7_->DEW%cwb>T&`-ES%%VvIL%bmw^&j*i#Q z+p-?t@5lEmufA#T!fo%H9A->^n6dQt_8qwMx@RtXyq~eYrx;t3_g}mBn%(bs|AjdB z`@qzG9FQ)P{t};$1AY5%y7i8qIWIhi`<-A+J$m4ltM@KEH2o#UdTwPbvg@Y3cPvPM z#$S!!(>TBT=Djyv`?g>F(N@NlujAM+7jAj^tzX^x_WK#vzQR~=5kuYi5YEK=3opFz zJRhMWEC2Y1!Xr5Pqf5T!T@hRNFU%5G+*SVgy>up(xb`_d!qG0KGl`DkkM8{;ej5wI zZ*=XvP@p_`^wM!!1ep~;{M`Fj`QeOjw76@ z?V~audjrPKe=5FXNZ;>-j!@8NY!a zY^y`s#9e2<|f9`uJiE3hKl#V%&M*(L09wukkwURGj#tjzkM z5e%a3!)%0&LiZSB<7|ShVRg2atz+w^W$adV8@rvog5AOHWQW)**29%aAHKFB`IKEi&FeS-Y~`xN^l_5^gj&q8l` zl6{eViG7)Ug?*KMjr|!k!e`mvvwvhiVola!C)iKfKeLnUU)V3$zp;O3zh=*|=efiq zT;&=!xy9o=$x}SwX`badp63N#%76I z`3&E{&)^&REZ@Y>;am9}-^S15JNSisC%=ea%y;w4`5r#cui#hltNAtjI=-LZ$Zz7e z@H_aO{5AYAKf+(jU&r6T-^lOdZ{qj!2l-q1+xWx$9sHgAUHm=#z5M3`+x&z4 zC_l!2!2W^#6Z;{%lwHPdU=4O7o97GcdUg}r$1Y+OR%QRnUd!%df5;!g_zl<?d5|B{sl49%VH)#kTO<_}lqg_?!6y z>@mKEuj4Yij{gq-UH%w}mGD*i+CTx3M{v zU|(Rr!+w`t$gbk+*?TeilkE4|C%MbISU3CM%;$@ov+uEI*w@)#vcJI0_!j#%`wsgq z`&;Owf6iaQ{)G3i*Fb00pt~CEZ`fb4zh*i1Y4&sWGd9gKEX~egN7*rcCOeyN;TNz! z1y>>s_y6yIQ6fNsECBq$G68QA2szhYd!$<8UaSvUMs-6QC=s& zZ%4ULfX7ho7XS}q&Fcl&uTb6~0KUeWHwv(=C=UqmM^N4*z&E43S%7axd5ZuzA!{xO zfG4u%K>;?2@?`?xldSo20dP##gq24C?_|x}1i(dElj;qy4JcnB0M5#qcL;#TvgVxv zEQJylDgk_#HD4(J4$PW&39x%n-Yq~nL6e>hfIqY5JpyFMHR(KnSIML%i0e&gUHwkd+lluiY_1jwn z_+=;`6yVfX4+(Ih@mmEr^%b=lfJ|Y{hXvTjQNCS(Ux{*201}5a-yuLYZu6Z2Bwd^D z5+JGDe768e*XDZ!Afs6Gy#kO{tVwhSAh%eP=mJ23u_lch0J4lV-!A~E#+n}xfP7=k zM+G41So609AoE!Bg94C#tob_vkb|uGm;fXqYyPePWFu=H6@Zjv&0_+Pm#q0A0Z2~P z{ICFIC~JO10Me8-KPmvZ%9_-d03pLjlNc*8H>pq&RE-kpSd5YtonlAlX^-2?5A>);ul% zY0sLU6@c7l%|8}^2EdwsA^=^0H9sc+t$;QEQ~>$`YkppUoq_TT0?-*)^GN|{53Kn` z0q7B|`6U5p6s-AW0q7R2`BedE8Lat~0Q3#k{9gjlJXrH-0q7vC`HTRx5!U>=0Q3^p z{Br?lD6IJn0q82M`4>^?+HLhV$Hu3fVRY%-xq-1#F|S2(4biJ zSpn!$toio>(5hJT2LjNqSo0qQplPw@KMFwSV$FXNfcC|jKNNr-#+pA8fVRb&O#$d; ztl1KPmd2VV1fZ|6=KmIe=Ej;o7Jv@Nnm-YMHpiMj6@XsHn*S^S4UaW{CIDTJHGeJu zt&cTN3PAs3&3_SqCdit<5P(j|n*S;Q?T|HpDF8i@HUCY3y&vVT1fV;z=D!Ps?fNx7 z1JEZ~^Em-%maO@_0CY^&d_e%(Ce%j(=$)*^1)zblmLvdOl(ixP&`McL7Jz=rT8aQP zRn}4kptG`;CP1FbmM#E2mbDB4Xtb z(B)aHPk^BhTV(-G{ZkR()IU`L(hghw0-X9`K!BSlR|#;U{h$CR`V9$iqRp@XC)$h% zaH7qq0C|&Js|7gGV@!Y(J;nt%(F1&zz=yUqgUX`=$jr zwQr38r}nKC;MBf#0-V~nUVu~kW(3F^-P#}kzcy=~A;75}8wEJEV^)Au-Om)@RQF8+ zoa(+=fK%PK2ym+VSpwwkZ=Ef`sqW_paH`8z0Zw(96W~;rZ33L?a;^ZUx@;HV^!yzH zobGqN0H^z1Ai(K<7YcB?-%bI39?FXZINf8H0H<>=7T|R5ZUIi`ULwHh_e%vh{eGDM zzZ_*7d=Eai!RPV04Soeax52N%=PL#H)hPE0@M}=gZvejzCH)5Q{V3@-fZvGnS^<6& zN;(hVx1ii7!0$jw*8u!Zl-CRJ*Py&XfFDLl_X7A4lm`U(Yf;jD0scCaHw*ALprmI2 z{Ea9V1o(X@4+`)%p?sMDMRi&)7eL&BwQd#QZ$){V0Dl|G+XeW;C|@DK-+_|a0PuIB zq&5KjT__I;@b{p6r2u~~%DV*k`%&I4z(0WURRa7`l=lem-$r?_0RJG$R}1i?D2YY@ z>~7W~8Ue7tS&L`{z!qmMq7eYAoVAEX0PJ(tdc6QFb=D$!0kGLwi|7TwdS@-77XUk+ zwTNB-EPB==dI5~a%bNvY<+IiU0n#GX{8@`=3cv@zS`P`p8^BsbUjTjq)*|`> z@DQ*T(HDTPfVJK(0IvaSEegPYz*cL|E%10`QHn7S#iQmxQ%G zCcu7z^7jO|g7V`6@S(8QCj{64O1cK%9?IVrfQN;(J}CfS3v2y>0K6`&^(g_i1trlP zKxB}$J}tnhul`7YQ~!TPfWH~#69Vwqu-0(_M)dfs0AGXhj|KQTlz$=s&kk#SPJms9 z@=pag(e?8JoM`z40Z#XPQh>h_n{Z;?%Db)0r;<2>stcwWUnYBLF`aYyFJ?JYKBz zT><#MSnF>E*i|UMCjfsKYth^Q;2C4B?+dUiQ7#F#)!w_Xr{ zXOUFa5b!aw6QBhF-bQvp5`f>4ornm)1IbQc&Jf^>WG55>cqQ2hJdXhXBs+oU5#Xt0 zC-6K1e3tA4Jr98QlASOG;KyVqECF~l*@>tCJBHF0fR~eZ*RT{(a+}<~H-K=4Z^Otb|pu8rD|pa_e^M4c5cf zyfbk;@y)~!5+{=^nMn2~w?v-#|7_NwgbvX5q;%>E+Ro7VYbv@s`sryKGvnSfKre|Bv{+<)PW^bi; zw)er_r%O_4b?MQ*Y~OW#50>5XVr5n3vFb?mj_UFL9sLgstRDE#s!glDG$;?I2j>T0 zGx)K=9}gvlUN-dTusnRm@Xf=Y97&998o6rZ<0C&9)kkk1eQLG7y0Q9oV>4q5V}CV1 zGyc}`Z%#-P*@^Lq9TRsdEbs*G(RoeDCBZCx2X9RlBQpy!QR6 z*{MsXZm&n{ef3TC+w0${|FW^QaeL!~jpnpFy?XlW>077YJ^i&ctJZ8<^X@fIu4QW* zYwuY5k+t7j7hShy-8JiuuKW7>UF#p5F=uveXlz*6@aP%(8AE3rI^(+=CpRA2`1I_S z*>}&LI8!=v{LDMf{P>w)IrFER+)WFcKDc>g^ZlEDyrp}~!j|`*C7m^X*6y=De%4cG zedp|l&;Hdp#dF?y&iA+O*!rnCY3|awH_Ux{o44)eZC}~;({mH&HqPCB?p^18d%L&& zg6(%~|H$@#Ja6@R51jY8^S-kqwd2wAqvyZw{HHJ2birL0eCk5?!d(}Be&-u@KDP78 ziypt|2N(TnSNE|>XwFF)h*Lzn+_&(NNQJ&*7C@%-fcz4PCm|MeAHuK3=SQ&&x0ed3z*HS4bV z(lyO%Q`e4Md+)X1xNhOP4_)_}>%Ml~cdl#h+q&<*eP7$3*njE%ukAm1{p|H$x#5}{ z9=_opZ%p5~^TrR|c;Z0g!0rQ&ANa;i?oI1%TD<9#H{Wsd4{y0|L0Z_d0RBS0Op18I z=NpG_Z<6Frd2)pJIy{+3b@9~r284#R-fDeDo)|CkAQh<9%H)hRUX&6J*VO6=4_2>7 zNU2(>PSx?RIyEBoI#MzrPS$Wza)j3=XE-iTCR9GuzxjgA{rQYtxxC_}^NRz$JYqU- z(u@_7YDDVYE$g~$r7 zabRK6=tlZYM#8fV-SLufN5-|zWt=-{LsKHMrn?Cz zn=s8p)-ioYmt|Qq(lPF>&i1VjRj}D)&;rZaM!8gPs9yT@SQs4Q~_GdXUtr^+vzlXxRP7MR6E~J?-@OJJa|8VnN>E z1{(Yn25MBI>+yVCU#ix{SQ9j>Vnp?ha4}S_?e{BA!)|=MYhq@iSj1bGpBWk-%7kwZ z_aC^SV%O`ju8FSp30;}?ZeXg3m1)mD=EH??C0Y5z}Zv^*B%us_k46QF9Xl&r3ux99Ec z{`SLr_Bh+0d~$nd%tD`lmQW|khkelb{bxAeIoCgR-apfM8#t&H5Z#W=&pX?{@P+OD zdz?KsSg^Psyn##Nei%LBIQr_SJ!*IPUH6TS+Qt3*yV~ddIdndHt{ADwQg8^rcU^yd z*VW?u;)~7;M=~Zy^-*!3;?p?KDf*rJwV%6zPhj+8`f2m+=RV%P?=p|b;klSJr=EPO zP3Ns!XAk}8M?}9_9$n-)JFM4J;-y1mnKS6_yR^Aq#UWlyXPcR+pU_?Hc3(prLLG#w4tcG zWkZo}l%xaGiB*!!FWxLk+crz`HqIqU8d_3xt|?23p+_{eXAmsd(D{zZyLkku4B8UT zS>h21jXTB53WyQaC@xcHxHWnK`=C#}q?;cmlA!~-vOo|)cm^`t#t zH>VBb?Cs}8WQouD-rNIsKkx#p;ec-+}iGV=`H8Qyr75rMDQIGbd3q_ zTRv4oBIi^!tawSQPoPuJ_7?oDvSl7Otv5)OzMHFs*AzzH96rm8#~+lppLf>WG}P|S zeUaCJDB2iX14^i+WTK0g>Qn2%F{NN)s$Qv99I3z)F&<1LQsYx#_ti>G!!t{XRDFDE zveK(2QYQ^l*Zx2=?4T9eV>)U07aOOEogbz#ucGt$%ZPD##Y63I+v zz%3?C$#BhzucA_}?`s8{TQ7;OdZ+H;X}1^l8LgmkcUi zPcANr3I@q`|7VGGxnw#kYAdI#oKwM=>5N%$>ywCdrzkRwp+BC24yc8iV5yp%z#yG0 zRZ&b<2KoGku5QXjI#0 z7+1TFd$n=DtnRtQIW(_H_N9x{;_rAv{BbQ3jYiBTOxHD^_;e(4%y~~l`hZ>WroD#W z@OF8 zZD%1idpGDdR)R{6&T=HJ7(q!KI$46QR2{2SYn6I!QhdPsAP145myUriRPbIOo59He zxMc70IqUfpuBwiWNQ2N8z%#>J2Bj3~uSF;-V3-Fb)zoAOYPS*=rYcE>YlBA<7ndW7 zqH>N?Bnby15!*GShb2i>pi-YY6rK^@gvWw--d5ASU4G9=SvS>;8nvKo>sAyWO zTh}$N>n_~`0wCfkc(&^5^k-w9;}ECE;t1F1kbmkvQrz$AO{;c34mRA88-jkXA|LSo za}*V{(m_+ryMj@GP<%19pjd^6s{}D%h7~coD^)j>j1I1;IgzN&t+6xK{BC4aR&cvf zMXuvX~8-XJqmj!!gZlU&)qm`!3u)$&&}Z0+pe_OEiwDOs?e+*EFPIP^QIeuvyXO$gg zpo;X>qSbX%&>a*EJC!TsQ&IifR;s%@Wzl8XT-41a=`!xPF$Y&wcq->cb6L8~a)ZFN zT%O7V)qE_LuLhYEr}mKVP}uA-=;J{+LQBv{29ZrP5oQ2yK<>_2@Qa^EG6Q;K2(p%i zos4FM!h!?@nI!dgN#99uz^V?9zxX?idhX`^ML$o(_K4WWArivBig)U-(m9B--1*Ek zI>Dr_`PNb2pZ7_ci1#D-MBhX?4AU@L3Jcj z>WyI{z%8Sac-X*6DaI*y!HENX1t&*pmGGB|aX5bPf+Fcip%-XkypG<60ox_f4@vrk z*QwcL$hQ>B)FP@9(WL>)l2s0sKB7i+#fsW`RCg33V#d???%p2PjN7WCMMOPw<8qo|jYA6sax}(~0GuGSFozKKgSyvoAs-To*N8TxML-VqBzF3TDj)B7w zRW~$QiC7WMv`jn})xfiGSXT51gq-*TsR6}8uWQwIXNoBY@wqN`Y>mT z{Lzco@9}nzMU9xQMIs=q6E|IIV>)g|bPzVGIkt%^gA%f&%9b@C=|mSDtSAc7$q?0Q zM4`rlsA#PcH8vBawTL1KDu~uX${TLV&UQJ)-`nl&S$}a!heHn3r|v}Qp*wqeFzcv0 zb<38~Q?TbS2GA2xtBPJh-zdtZI7How!654)Nzt*!X4#4wpfJuRBiXinl>b*RL9oF13ouqopjJ?-jj1JA3zHl8WT{uHf!45mL(e5CmXG<%I1fG*x1c=tb|t-7EYTNFN28VzbaOoP1x3zAU9%FC zxo&~OBWNM&QidL@BF8gIwtbm=S3zB?S5XfzNBYLgZ*|rx3!>gCzX6#rADG>*N-f|F+t_PS&=&#Sf$6 z+qV<8opTiMpo&-V_xIRY+u26P>`Uo0Xb{#Jo}53WI)m|3ixc~kI* z*4s)Jwg0sj#V_i-7CRqs1lNTA64dS_W-;PfnWz=hWN}gvN_fh@9T*b!$avJehxoVolp6eR#8r? zU+LAx=+nEx_d;2yQR>Tr*9ExI1yd5 z%&6^L_~IJ&iJEf>27w;S*o7`9pE6^l{o|Vx>v9}BYFe5e`Phq_&~DmF`51)_ipa7r zoUp>rtbrki0y8-=S*gM-MK6S2e}oiD>$chUBbnK?ea||grD$cqyKtc90G^?h#AQfvY4apt^R>}psQV3_5m1FHI=={!W zxow!oq#gT+UFShBFih~GkbPErYCTCHfI2vl#M^NjdO~-1tXQ;*U*_ubzakJjJp(^< zemm^X`Ll*M4NlRK7b)muDOe^$1Nh>$Ag8%Qh2P2N~8aA|oU=LKX^96q*a6#ZX@>kFcfy?Ed}^uS8wPX&r&6Yv_kLy|%;| zSJbu+uPs%!)7>DwsBO9Yo9jC|iu%T6OAGR0eIs2N??0?Cx7#R+0|!y2c~&RlnG z8j-nW{*F2);Wb;XGYo;1WNbU;UPSK+QO)~Lr`|n>Y5u*G${{sRBizd|MPEeOwtP)s zUaD9lL-G|v5}_M}&oDBfUDvC-$How5e8?FecN(9L&&R(oHXa5V!{SQ)2~rzZjPD5U zB4#%xGU*T))Gry=2&c@wbT}XOFv3qC#HZw8lyawh!CM8N)oMbftPmZ2VO(;h!1(!6 z7^kEvBX48M$+F2WgR8GkpgS>xNiy>=Mu#gC0jrHle+PFE_UbhA~w-C0!62Tn!EesvX(S6I~Mgyr>FsxRCGRLv_wi zxv1Kb=|7z}ZZFa2MZ=hzJyI}IyZu~J8>R0%=Z+Y&y=vavW8&q{%^5Kyj|qB_Ka})u z2lP*aURA6W8l!wuxFtf~8tTB%hYN^S!Oet-B)NM*nV^mX=zAcTSdY`|s3>fCGSR&S z1jfqcV`zN2Vrc!Q;Z7-sy(Rd(VP_k8u6i)yVUI(dGxB7kNBVorS#1gzHN3omVxCT* zF71pF4Lw>yKY}3e&Z2ff5>Z1HEFa(Ci8GsmqyHf&61QUchq=#*-6SZ^Ik*U zzi9UKM+|cc^f`8Dg^%;pvn(2qoftp0R1?jviRk{QJ9UrY9YV`SmT=Ew#;7)B9D9UX zLHaIozOa+aFvj9g=sQ1?Ry88FglZ#*0Pa5{(RhOmOCu~r8cLWQf`~nw0+sqGM+|3F z>f%$u__E(qNYW3hs+SwdOP(hchI8$Y99Cjmi|TW1*{)Z%h`u$qtx}imKCiE0^6oSdFVoY#VHjSenBV3FG|xoa zHvIQmMxitk+W)ooj6#O=jCTK*8gUV16|SPOBy3L7?a5Xt(VDkK<|^ zEO*Ya%C^c*ko8W9$oArHnD3CVwC>op%C?;#;Hgtq()-XUjkh!R$=|98E0|*8Ax9$i zL#Y*DM05VNo8b65)|g*B?s<3mOa7T}0yAwq@pJFE|4cYf+HHfrN^K**Txe-w7Q?GX z{>DTYDTQmcLM|q*k^gLoe4tC3Wt~x}Jnebq`9(`VOvmuH;J0;*XN28Ge!BUEg+(Z1 zupluz46Id&LeuL99oJCKp%1|;Q4R>=#N-ddsK(bKEO8B)Jz;8ymO`(?+No<8*BT@> z{4@x|@I;`&D;%7Y+qkw*E=+A)QGLD$*Vz5C5>LdWXu|XqQ`2R> zGo~00;zg5I)GK<1?M5n%ELS|b0dAA8Z(MWK!!0taibk}1cy!f$_JEOyN=_1@yC))B z3fHtj$FjYccyw8N9bIFk>3u7;5!hCvc@w(Y0|-yus3p|{ZHB-=26 zHX^=_@>;5%s-Fx~S>P#=YiHNsDcY0tT_3MiqPUWCKjy9SVm{}k{{B+aPDP_BTY5~3 z2SHqWtfP=DI(e5#QJjJ#sUe_HuY$RhCa1`;4~rSYOaoI2v?MWl_@IO28{=}OJ0r*KRK)kW zjEJF@N~g4>ot8Oxc4{u_Hr#P38H*+P+^U%W!0NNky8bP{bJ&d~5;50KNw~@|aG7aY zCay9}?)g&6cB4^u4%hHxEdTrZu1!~T2czyasV!FoHzQ58Gfz`1+VtOT5xGLpmSpL_ z)D+)2c3{^7{(q?*AJz}LX9v?)z^-renE^i3?vpeAyFF4DwTHl~|K|;mlBe~>r|-St zQNwgP4M}o1P8|_Rp4Jgpy630P+;_Vgc~$5p3;79F`u#oTIB9&{Xv3-b4Wk}W zpl~MB_yP{Z`}+dP>*?=HMZ7{ZpNUDfkvzc21brrD%}P=$2kuwHB^- zq5rgPZI>i(eWfNy8W1TLD=ckqZfZIIF1fSV8 zG_-4I&6;9yO<@UFPvEc3-^BSCVRYg@4AO~dVaqez4>JV3cyX?@r8Ix| z!20&};&(`r(&F6W(yN!RTlR^OXAgr=o8Gf$&*bFf;{5!cfyo+Jim>6tdAMGy;-~qO z0PYd$gl+l@n#_QOf}KiJpLhf_O<23I z3!J(Rg%Wx&?5Ro8N0OD&dQ=jD3-TUnc)>_Tuc~A(!0`n)PPI;I7dQuyh47eyJ zCN=PrQW6%|)Nbh$*r*1t%e5;%VwkThA#|M|HYYER+eu;tFJ&Nh$Y7Fc+%+1Ki5*hF zO0dfcZt)2zhAgO$Tqa%4_m#+fH)2k#b#07fkDI4hN=8T0Q8<#pa^U<{9V5EajOFvh zT?7qz6nrFt+y;14eGJqvXRZb%cFy-_VzI-i>mdvOQai5garJHQY+n;waSaHue9dS+ ze|ai(q-PJV`D^Pq9MIP6k@hvjuMF6I(4NubZN3BM3eoEzCjeo)Fo^^q40*gLQ^p3u zrlC--%?pN;L;wN)dl!&Y3*jE!MBcoqtFo3)N!;bq3mqOY1NAx5{Bc`uL4u7~Cr|1K6SRlX1jS2@mx| zV*?2`3O&+rR$quH87r$9iG-yW&Mz3U9z;~6>?4Z^c~7#sHy_QF^3l9iFmy$wQ@vzT zFHGrfEUHH7#2*-1*2<_7B)Ne*=vKnf!aE>r0CU{ExezUs0IQ%UlW{#0%_yp&7qYTu z#q>DcA{^R67s;Zfr1y~jDG7c>Sush97!u=v?NTd?q}pWt;8D!NJx7l||10O(YaM^< zL3mW)XF{&8|55GC*e3n9tH)@{h`ImmWxsa&UONkgBYF6>j~^H3K+mUs&xSr9IGu#U zQyM`I7G?!yh>$k|Q>Hy0UYDtsbk7_fFKOA)v6ycRrOi?~=y#4?a^?g6T%t?&JT1s* z0z!lwZ|Imt47Z2=T8ss-u| z(VnDQIAGb(0{p!a4-D&#*DH~|vCY$F)n=3|&=Htm{GZ&M+Rk-mryKdG##MYCrA_{2c4 zYSZRa-q~1kYW31$am3E$t#prVc8_NJ)&|LZ@0^p*q+)1XhZjD-VoqWnS3%Nht&7*5 z`%mVii)(byh&;j_-|<8{iwOf7{48j@l6UTiUy)8<5#O=*iYw0R_?0iw(~k%GC0ifA zq-}@N{fO$UeELneyYlkKUVI(0#&Uf)>Wwh(1h;-;i>YBr_ct{eTX%KCbsx4l%#{ygR6goTU0+#BKmIrwLSK8lGp`1r zvvK&!HX>8w66%2fQz0)@;oxJHzD;S+TTyN8R)kkjN&%D*yVU#89o>tkYb+aO8vM^ zrsz4{d5-%;;|1hv#-mX`n;qvoo6ijQ#N$1~nL?XJG5?Mf^HjRWYz#^WtoM%MWBD?{m43Saf8!eegW$~YWdckiXGqTZ6 zI{NlA75cW~UgYbbdcgO4+P#q5U8*f-EiIN8D$7-=ln+*x>(aTNyt8fkLNlcFXByOr zROc24+iAffgk&r&9qSN8_%^9ckx)7##tYlCb1$^z`21|AHITszVfNIwpXrR3cKzYv zSbn~sBN=s_r!SQo^YcW6Fn+akq%k)KC9LD8$U;_%z7W|;;K6MV3+_bJ?2H_e*7UuC z3_85X$e246euUF>Zmvlqz%&jbS123}k5tMq62RE;_pjI^1aW9Tl=z{Y6slIFvg1Q- z)|g%G*}bKVY1(`3t6=~33=O%kyAj^P8Y&}GDn+ld_r`~YdJvJb;Q?OJe$rfF7W<`` z6l{=cS{UpJewlkuWGH*C^6nFboZGY5!!z$z&dm-*-jn;YM$W{6)9yiY4q6e`J_r|b zxN?c~0_1yO0#1N-Z>Cm{BGmQsxy567zL%=ec+%t0eHU29$>=CzAO=%z@hLvqWCqQjqQtXW~?5VHh>g!*EF{Ppc_fvm=; zoeKxN-|&|X9z1vm^LHtn0?+N+a~PQx=F=3g5OeTZ@EQxP1|@_-D>ymnC(8?>G%<|F zr#_NO#XGOQQ5gqNu#T`9ISE+5yUpr+t2n*^)4)`>AXOmwtu1k zdXFMkZwKvr02xm4$|O08f(a;*p-h7lYXj91Gp38&cwHQ>B=Q`^U;qXxnSe+GrE&&3 z$|?5%y6oeVW~GuH9?n)OW)&uk;Z$N7b!bS<#43)FYJatKI-xJ>%UG^rIVRU(#M!o- zbka_#Cs6EsZ+A+K>hnAk-bvh4w_bFc_E*?TReI`b$BL+$&P~VSx}gL)k59tt$d`Ij zN;KEoQ$$2r=+U%(j&y=#+rvR(4zlh)iELFc{a+HQJ?vHH=fS;B4{vp3Dy(>&tk2N4 zt|EFvhRMGS*=L?<4}BKVk7L93rZeqfzi}9SBkUPkJ4!sOlV3>|dnn#W&r-s$Q2RS- z3(2rns+ErUd;IYA{6G2g-n{QW?H`0M0Utp<@e2%}1*ARFj|<@sow1PM3D%8lf7-zn zYf7+yfrf68)4;6RW_!#o~qarg@Iympy2s9CF{?m2XkTV zO2fm;)#&h=a1HA!>}$6Jb)W|#t(Uyt;Q|9n-^GenD2Ctw;{h^#uwbW(0H(I7#2;a zFw0P?YV@-`V{T72_#jdPZ&Bh_kjDwQ7Pml_5S%EoY1U(3~D6n zX)!GxQ==a|JT~TLvsWW0n}@b==n#bdoDFTCG_1TTqJ(SN85k>I2}0{4O}DBgC`k~B zgK982p6CrFDjdpa7;$rW!JtB)e#)0-B4FCaLvJ|V*pK`pyxc@$-EgeSjb(>pZnu*_ zs+>5=gBk5pLgzd>y{(+^@XC%`(eP;Djw3=sS zjl&2p>A2+aNJ6-hNm=jINNzNa9G^9|_Sypjb|1aP-l3P$ zehwnXCk`z-5AW{)taD_l_#|&ZpHWFL^#01!LBa z%%~3;#%$woqp=Uc+(pCdvQz!GeO|0k+~bdyg|CoNKk?NrRhc(Wj5!Ess3nn zM=YQ7M>b-R;e{TgIucDB%$W>y{eJkY>WCYh)3ItP`7W$3>O_kkp&)=f=s-BE@IDT^ zpIngRlK})8j!le1lbC{X4cm_@aT;(57+x_@Zhjl1Qdi%vpmM z6A2qmFw4}>_3WO6_t&WXzIkegJl$@AG4JhZ_|v|Qbdq?*h~{|%>FQPtD*#f{7NxW- z$MlGg_aNRMS_07Nz$3fbdY-Ui!f((jU=<_-sy~Dpj52({JLQj?7wY7(iI z)AdaU^-XJa{osCo+=r<47P?_*M z>3NfWzjGnq=oz!ep|L}L;V&F(lwt7VRRS1qq|;-B5d$GppJoUr)<^XUt4G!j zjzZT*J@K}pT#GYdIF^#&K)4RXz@jk&p1e840S&`94Zq@hkk+U0a<>tS_|SFd)p$te z$`iM{+RjlEojW9Zps50J23;g7pA=~Y6g&kCCTEEt&Jxwz(1)4yZa#T$G%|R@E z^WNdDbsNQEWpNrN$s!D$A*jEI15bPJC>EEVfI;#^L)anVxC0jgNkOS9Rx9tBo99~h zCHwbZ(tS$L*1)OYxa*un799~XJbR%skCX;+1=NR2kP_SW_xwBBK1_QSA%sY3EVv1T znKpvV6o@if%McdiV$|>jnj!=puLde<2pXl4RjLjGz9?`hmPErLGKL>3xcI}^s=@MP z2l?_5(@J#3ky9@lriCX(LmuAHIDadL4R<+UziS+*%hJw!rv75Z(|NJw!5=8+*I zyUbM7yzf|fBbI{m)YctGPL~rJuCZf|Zd$P@93ZK)%9;+Bx?j#EviE2wPR8uh?-uP34bKAT-*Ab1v*eZ72{RXnaL?a1vl-5gZ3-%FD!V}URbbS zp*jZ-I@p(}eXY~EmTZx5KY_6D>6+WIFHTr|z&?1;zT<~<{T*%E{}}T*d}dudGBg59 z+V{84MbEd+|Lt?PMK822cwy^S>-_Vd-nPxU-~!@9*n?!G?ayiR#UM#R9AZEd@U6k! zLOgPr6P?oEMU%jabnA9kz356wz6BPsW-T+LmBGHoaIBh+cAqqNLNx<7LMk*S<5b9# zW>?1jE?66#^c|Ruf-jN(hBzeUOOoyeUVvF2RxbIHx?%DY1EAOgs^z@`({>(fN>|hg zVRdlvvR8?pG&lOFhj*$PwS|R+>$Mw5w-)objAz?nt|p!f6Nk)V2nMJsM3E%b0`5IL z5<(*Xv@vcZ%>!|D-tc$0+P;fa_bkKz>}R?*tL{w|^+!?k3%Cumi#VwZ$)4OtcA4MDxo+{DT=m~derufA-r zFS~R;Y^F@R98X7vhm~}!9Mh2x82D5g@y zfR@z3y#LN{c&d#Xg;x%qcB3=HD^^^LkGSPwq$?MLpjY?{I%9J$iCE7dABVo7a%8@4!hHxS>!mEh^tAY;h&@mvv0bKvgN zkwF!=?KmyCfdwjasYrQsNA~P#U~zs#(xjLS4#XuN%XAep64RA%--RjIS4(=#!fGrm zq?MFJ0{+hkcv%EH(Ca&^bJ=A(keoHqF4(!d1Fr61$|nbiRczY_wmL?=q#9& zJ{<8AN?A3d<@t)oG1R0PZ8Z}8jajV1p7YE(qz;-M+@6w(Ae4&TChCnwoBu39X2r;Z z1Wh)~c)5`v!5{ebX48zkSN!N|mbOd9uzTA#zUvbQ6#L%<(gla`~BW{%_i`SuxK*^|v z#ai)bL~|QqIuR%8`&3)zekar1S~Jxbzd1VqdiX4QgI3l-u+QG zyv|PN5|48TAxDiw0wJa+`x>nBxqZ z)TSs;N6-KsZ7i)owiVi3g+Ggu-l0No+i7X zUgQc%(Q`Ra5p+g^)^O57dPy>pE04>u4z*un#)z2lg#AiIju;NUsFn?V89W*PV;=eb zdZ1lQgBlmn-t2WK2+$yC?O(X^kJ8W)0t>@oSa1nCAxwk?Gg380fleew5Lr6Ok~B0X z0t$dq{@E1xB8k~hs$H+!Sg>fjn(Y~}kRI(3;@MgX$HTT`>Ew{++Io8kV5B(IQj8PL z^ehbni0bbq3SD+rx82occX!!ekE+r+mh|l|r@Pw`cc(EUWG3ZZ7BFX~KqusJw5cRqjWh^4M4C!z zL?g1pUqmE$BTkz$P|`^3f@wnEOqPf|zKKPL>B0))_yrEy=yp89G16Z|9PiZ3ancGh z!$J>jNDkSJVw~WTaF~SD;Q2%h#7JThE3!3K5@R&KJY`(?#J?y)8N#N{q21lErD)HS ztHNo~4Shcj4T)GYan5Q(Ha(VjL;j&-G3uzHPcxD6R zGHMv8MuIrsL0D8r9au8c*iQhbRVs7-yKovR=cA%HW2HV44_D`moU)E8P_0lac#X-@ zrevdVn9-11k+KcL$$?|?8biHkVcOJht|Fg4tkc4B>b5YZbo1HiH4$ZY!8iAXm8q;q z-=;az<|Sf|TulG7!+&FroX$vIGG983MVk6=%$8HEWTnUnC(bfs0b~5HPanvimAvGX z{GrM8p*CY7KHlLa#B(XPkJd>b;spIW)VhNtX&JQC6+63;7EBHTt&VlVGxPY4yu&Wk)&`<#39MvNDAHj5_vT5D%OdLz-Wz$U#tV*~@ zcQTrZ+;BRMrKKa3pF5&s2{%FzF|UxqYI0A;o)VUXmC%NsGz;+<^0Z=RY!tpbISYZR z%hKW0aYisD%C zGe;s=@E$QpWwlUZmkh2K-IS{tG9oTEHle{rkf5Hz-Bhd#dk!eY(agYR+LUsjd(A3S zmNU48f<@}sG>WTO_(eMvASF7g%eG$);(h|gzM@1U689549#lPBjyUFkESrOCx=$j~o1?Th`e|#0unz<6IZ~-&T?K8yfGs5P2A&s_DjJQDL8wOXu!n;Pt1b}RKtx~^ zx)YKz5bMCeDPoZxcACO2CQveHBTk${R0#Lg?B7hg^T>)FxY&gO9fcj&pu!tkcQF4HxOH~$b4vW$gBjOG3uFh>|NspWs7I%F5TU9t2rd71-XVI z$81x_`XLjFE1V1n!*48Rv&CFmLxjdDI6gL)+nUNNnZj5qm&+G3NA5OxdZ=Mf%d3;@e?4Q#UmiaYLj99@`!|# zJ4iand^|cVNhts?dr2K^1)Bg+9b_XJG51~t86VLU&GZvUO3sKc+q%xy_h0H1-FQkZAAXzLFhK6K8 z*HCD*la#AbQa?O$IQpDtM?HVt#s;1+JK&$abwnDQ+v2&g#_Y_X1E=cdV0t>p=H;IJ zFgRszAvtsIIV9`HWD5wEJ(BWkvSTWrm<$!9mT!} zSm8Sd-3R-N8MBL{Mz2=uw;U{I!hpuEVcUF!WBetfVtQB%JgE&wrwk9PPm|a^2zHxh zDSI0?O9Pe2h>87$3ORIf>RyMt7D{)L;yLQC1a?q+ zNQVw84x2mNjF@B*(wSmuFPil0>vD-=T(Yy3!EUc7>RH%-a%>`*$ws=e@ru`##vji_ zAU|i$$fh%rgG8p`p}ws3b2$-%GN1I~Fqvy>#~mo#4|}wvWreSla%5<&H)sbRK*$Wk zK;nweRZ3~9(*9rAa%ORHu~VMJMiYaB;CK`=#3BF$*Tjbh!XGfa+PVX-h0YnS!NGV5 zgA~N&t4bAO5sVpq?|Dlwo_XR`6W!~}Cw>3mK|HJbRiBtpcg^5Fr(*6Dbx6W)?}Nk| z7dyDt1E^VADnScuv=rVct!7-qxD2MWNhIGO##X@!O4_v*9zSfq+lxz3R6BVBKk=|A zSg~BMWE6)Kuj;9>o()FHi^qml4{55NT8z_g_*V54H~h_Yw+WxZJ*Qoeq+6-c@bq&N zbR$>sa<~`v0P(Q*MdvYVgo|UDMkS1sBzVCz#u+qjtPqM|d#w_(A2n>Mq*a~BNCcuQ zQH(%E2LoDmyj;EB&cGhZ_4N;w^Dg(~@v~>5Lmw5#1_t`_uH<7U)xJ`9pbcv4?-AjF z&u5f%TA$yQ&>;mXiM~mr+UuRUUN6%j4Tq9ojd^NIKJIxLQ+QF@{Ym`74*MXqB52ng z+FxI5J5kBuxLmzAmuK=$?d(mfuuijgINd#&wujcQDPgDFs-OVR3~V}Q(#fwcXNF4N zQfbZlAv-%% zY1^%;ytCh`Vrh^R*tgYynSY!%Zp9{U|KW8SW{TMF^|b3c^AZ1RJaNWEC{tFf)fDSH z60|p=*hJ`l*)$NFQq-6(#YOb4ot!%mL4G@;@^ZwE?Gm%Doy6PWi?pUNj~Txi8V3HC z1_$0|iNoUC$&Zf_4rCWQ~9&gaCYm zIx}K*n0d95zeD9Zftj50I+-l3NTf!*>p)+;&$@2$eV{AO-Y&GkUoz7vk%a5srP4;} zl2@<#JFWv;o+CWXMZonYuSJK_XpOD~+Z{l?o8^J`Rx0lqsNe~qMH8{72=+v4;6K_0 zk2XvXg$_Of0FL`TM5iYFI;$tiv{g=f@IzcQ8v)ZGz8$cTCBM1eZ?CS}OKVe8)4zYgzSwi> zl@I7vxfncU;`q^{WB2pkSNMN_NcY0{iB0?&SfgQFi{Kb;+|be%#lOG3Nhe=$zWBfU z=imPF*7;l@bU(xs^D$}hV1#{a_#X3{R}r|d?Yi6YsORxdK91`h9>$?ajz1rqs<1bF z->TOq`ua{2wPO1FZU-(?0k0U=UGBH}zET^B#T2eOc#l4B87soJN=?F*>3aG7@m=qu zZ3kQJq3;vk<}=)b&x^H-2n2K~3LUN;9tq#)T5dv^LU}VDub=;tZ7OXNyn!HR;8LyI zg=8){xSkj3kMHu_aqn9A+}k`^`XgMw{aBql+Ae(Jw)cFoXMLBx&pj1Z^Es*WOFV09 zTt3A$x>fvf`I2oSEgIAiu(p@`tZid@W9wPe?q#)u-|V+<-rUkLi9g#G=F=VRr#beZ z_pNO`GA?1ig!N2_gPr{0qURTsCBAjQsu1I=B|G2?HvB{4#HWd@61VLW}$&l|h}X>$-1rWxP7`R_AS^j}68ll5?;2t&+x*D1O09z`tGEm3V%etl!( z#*OitH_=3ey(3Y2a=pYqhS&%pVmmUTbPLRF&^gjk(n;YqR6YFk-Q4;-7oZv62!6wH zQ&UxKUl~RRN8hvHB7*w;+^9o-N_4YCY!dorT1aaMaafD+BO-?vM%pbA<#V~&*<8FU zUCb9sAcjQCJN5u&e$U;#t%KPDXcM_&x^g1b(Uvisl-Ey^01GD!BW|VI(k7?|k7OT6 z)FM$Q-D$dRd3QCdj@L%VyHz$@>=3sW<9?ibTRYmVRHAqHLAddBHUsBeY}>R;OO7G5 z&4lhiOJ$IeYbF-!+B3SRE9S-e#*dBn#jdyYx3>1TRfjt|hO0EO?%b9?QyH{Goh=RF zxAEty?IrvN9p0D@`#UJa0vvNJ(+~>;euSs-QBHy zeF95~mM|RCqEnG*647BwaM5?*rNsRFFH87(4c<+2q zK^Qu3dAzl%c*4eVIJVkoSIN28DY|B{`;rL(Mpp#bpfpHVp?c=O|03ei#4|P37W_!& zF}|fN@U=s47$3imyJK~*Ta9<_KeWF~Wk^Q|4V;p!Me@t}w^{N%ueA#Lf#j3mFT|>D zQ)$+HAFVQcyAsO_&!(r3s-Ljm%F43wMBB$(|M+%3{+W0|r6+$Rk@%7Eqa7XZSZQOS z-E1>IE?FW0?&u5DL$wk{7~dKAd}{W_)HihG@sB+H^rLUMZ(Eyh&TDkL1kn>EQ6j*q zetdF#^2D>x?0n`6&(!$0^O=CQXIlQJrUM0$bL0xhD>yhJsUr_cAO>p#`e(@A@q66Z zWa6H?<=Y+q%H`T+{$_W_pNS9c*54msduyG%#XAHxFfkM|b)`GdSdJh-m&PtP+8Lgh zJ$I01;v;>%W1}~(&dkhMLjza)`=iAZCq_rZan#oGH_ShcUWX736%i*cxTukmfF}@O z(7=(X{#U8gN+iv?VKO6*sbt1AUh}oD{oFD86Lx1ZZN@TqAlki$(b}YpczpN7doUpR zyvg6R`~zCo6TH9KFu5}d3h{@)@L%g05e)`uIMwhdRUfuYG!)`ZAPTF3WI`*Vwq)1X zD3bG6+q$yd<&<*Cnblh?cj2UoUsu*CIf-;6noWbl;}-h5$V{nlr2@+2fow7pO_bf- zEAV_sm8-dYqXR~(*4Yqlpr->^qj>s|V|Nuhs;xU)(`3(7${8=^vb`jE3fpHlG0i?L zZ|Ms#l}GqhyT9`XTmNqYW}`s>{CECl%XhGl64&X+8x;2PFE4H(Vxp5YMdCZmB1?0? z^x-Koq)-gFq(tHXYPM&0xI3JJ_&ktY!o@MRjT{t~V++gSAOGbRAWM$Nye`q%rFPN8(ScMcwsvH@a4soAc)8YVP2m(|NJe;iqdw zl_#yw#V04@pR*=Ed*T{nm#^26ERl0KMY1M_@521_pjthmP2yDmNP)y^GJ$(9HaH$P z3fn$b6ot7ezukPh*Po6}#_u!JM^79-p`5+e9_RSn+}yA3+jn^?TWE`0Jw5Swxlq1G zb#|(v#5QGj06gr=%^7I0Z$}buE{nM*VJY;fNWPdrP+Z9(uU|4uGFtmecdpyn z{K820@#Edj-n~uz?Q|cXsUAC4#Ypr+j$e4B>Q&vn&Yl5wI(yx!beqqoh}YD^M+V;~Md=&9F1es039eaL6nGG+J!|D^x zfwC%TKMCJnCPV`Ep6(RgqX4w9^4l2ffZ-BtOn-n`d* z&b&7<^_qkK>Yy=spHuA)4+ecF{vsKAkEkCRGiU;N3+gOJczP2028Dxwvg?b-3~zFZ z2)M*sqoW1i`BjyUV~d!)l>^NpHvv=TgL3%eQSL2qFX+2e7!xA5gA7~5$kI)0Ficp} zHXjnkhs;gs=n&5f<3o^8Q49W?6LPaUE6GcZRA^zLzRmWNfT_VnB)I^#Ed@Z+Z-QEWuA5P8N`mql%2~b9RH{9d8WwC@#XU_p}q>1QUp7U z0V5&TD!(Bp$PKdW@^>>vWUZp@CC2{weDU*R6z|e`j2^>7|Me|z zWLD83h3EYjaiqjv;h-ZNV{9BW3MBRPITBe43nRmF*06|=tSq|TdQx(U3?cb1bS>n# zgI}Nl9`VT(bgR8M}f>Ch&`gOdH z>R#W5mfu3(BVYFv$_F*Z{kDp3*PPrTCFmP++iRLVWX7T^@IPBRE)ga4JMcF657YF4 zo{wBDeJv8b^e7aPWwlYOi}Yt9AR;A-fe3?*@Aer)%UeAnKcdhW9b?sI=dkbK!Bve= z9WopiNP?j~4aq~4a&sqg8`fN+Pl)(jqXfq%3+PNi zaqvk~so>{V=Ar;iGG!MJbxIA1l(iQa8pP1ECLZm6NDq;It*8hLrUz^g*ONf z{%a{);k&xq*`0uCv!YIc&;lJ!fJ!5UHe)twO#OBtck9-zif3e1m=)uKoc`z9J-5e-w3-Rec(3gax?YmpCozlIH7f}^EzNBZ9c2z;h27sn8g+P?)(ANq zy`<%SKH*34B=FXkJI4M{L@ey&h*({96bR(~Cfp{K#%t4xImFIHOuMa!-4;x#PkD~r zlZx+j@))jSyG9J-s-1Ta##6g7E-E7x-<^sda_&D0r=^Y_X0%zxCF(P>D~5I~@9d1H zdTi&9{m_$iJe95MyUN<@ufG=bOn7_o9u!`OI5DA*!sq*%Z~2YLFr%}=S&Xv++D@M! zT)!c?%KZ;9#yO5XC$vXC-}$TO>JS$nTPmEt&oP3;FG8%^tdgSggtHQu7_jw_N09l6 zb+kr4v5>M>SIy-4=%jsYBKz}GQx~V|-g6y^wu5VClQ$pS@icDDEi zBbqd0sSJ?)uOOkI9gCiJ7^SB-hG$3RCbaB9TX9rj287^xlULs5g|zw-q%q zsl(&(5?A61Y(!7*!h?*o_VHgp`Gb-uTJnBYv_!AKSNfGB(Ii$!GSiP}c}?@-fgdhJ zcMRjTFCtSpjP+wkU)$0gWSxGe_hHA|LJ5CR?+E!H!5K1X^C9l!2OmQ&wCW6%1vB-# z!VO(=UgbR8>pcFlkcQs$xSadGmkTiz(sb%3w4^3hVRTHgv@!TFoNf`2Z90#Vp51;( zQb;fSD3!61p1R2RD4Zk`4XdBk@7CGy7hVgVw(j! zZz`FmBxx&mp7bObFCI7HxD3xpFzxoadM)(zIJX#cf+w?6{0_YkQ3iFp7=icKOM3Vr z92QLcsf1MR!`A?kLJxrpThUZ)eZ> zkcp=}cb^ak{3iQ#6;BO^wT3_l=?>;0^^M^R+pax^hjF|s_ydB>E(ic3)oRDLF@Xfd zTe3DH8KX;#y&LzLJHQ1THq~-s$a{k|+*96N?yq|7d#X_b*w429vg#bZ(Z0jH?+xZ~ z%}y+Dc-4N+=^3_u8wD6(XhyWUr=9ejfzI4QKCOs#0zY32;x#t{&%+333;-0Qi9dq1 zxNFv!$x>CRk|-cxC5t7-Z_=|yA)q-same!yCG2cG6Cbra<`aRn(FgI{jHXSKXxymr zAn~|3a^Bp)MbEWklXhYfWDyq1JZ=_d4A>}KI5!A3fV7kTkfob8^XK9KdazN6D8@!0 zA*M_qJW?PUgbkyn#+_X%Bp5u*sbR5HAT}{hMRh4|ge4psWYYN%Up?|BbvZUVxxo@Z z=0121^7hFyUvG$i1-ZbZmYRw&j_pYzN2uk~mYa^d1a}y~T_GpCMb1_Lyoas8>Opov z|20XEgSSoi{#N|X#`!Tw5IX5J9u3=WNMK5+_W;tt@0aj>k?vpcPItVsywPTJ=(mz4 z-mH9n+goiYGa3(HH>~`Nb>a3`*w%&GcH@ub5JPQH{FuC#N7kU9^bV@4mj|KNa8I3b za|d2NdfI2>QA_sa+hVY~ks zbF-kONUhBv1_g2`3=q*&>|vo2TM=V$BiE7W>&SKVB`RM1V2X^+%c?w{I8o`3OiV=j zD<=};uP?;mng zg(Lgj6snrQ&Op0}P1KjqBy+Jy5uubOdgU~|Jv|{x1wfLXx~+5JJoD63^o8G6+x-e? z!aHh4Em*Cz?{6qS-o_*TA~}4-RY7ZGzj52cEBPW8do5Gbv(F*NYpt5JdV%Exbqj*~ z$babeYQCJBCi-UaymRJhK&a(_Pt9QSE!i0V*F-v2->~deRcQHgen% zQbll5F^a;@j7A3w;Js|c*xarRjqj;cXYt=~1tF#r`JBEfn+`GB4XR!E<;&3n6YP;$q z54G2}m&0*Y4%(>?ns8UkLr9B{^GqItxtj?^1C9AV{;m@I1$J+iz`Qwz!z|>zBzr7E z-B1nT(8CoHEzcsTSM)&zb_7$VW{r~vIqLx$lg{LwlmsOt`1t?e0y0pcO zB-_KI!ePNrj`%{O+6;0of!(LwJ!z6nY%yd2#yq+V=HqSUMXCpn4W=p+)waP_vqs$D zRo@wKFz-5vayw3mR&L1OHRf| zV_Y+2@F;xryxC48o}W7!q!i%=x8(m{`lKS&OVMQhZhGH4Oqa(UVtgO;WK;K!@~TLA)II+`^Z`t=LzD`>pz43 zdwEOZH32UMn7I9AvHBN%Z1B&#Y+m2jDSlH0n73kl^Z9#m^_Iy6?=+2(SX*pJ;*g>5=>j1clC&VXnO#C;brA0*0=p&-W_Ow#gkAU)3Rw8dOvSpaaP>^3y z&go%;PeJXy{chVKu{$J_`AQ{!sLky^`J`<>X+JqTdpCuBJ7$3(3_eoG=XdQY{ykS^ z%elM)$3$_-cmC1-xXs_wPx6(2`q14!keAPI(Q+HG-W{L zSkJ^?R3a1f`lz*2!(i)Z5l$yrLu~NHS6QU=qNGHj4A@s`G?+`EZjp_VD2hQ7H zEA$o$y}RVAkZI3k+N8Fo0{%&$I^~fWifAGQ7qmN#>e=_+<>XFBNe5}oN z`?}09v7h;on3B>8zJ-sL(S@?sTMm#Z<24|WthRh#%iCJs$>_u0Oq6;)oIJOV{h$ZLk!vh!M ztrc6P5z=rn&=H(AmBoH}QeHZ_dv`RJOC5A_(F7=-An979 zSx1!-F|FMx92_jzI*SnQYzj%pjE+gPwG~H687F@2Euj{7S@Mg1E8(`LE%W~U=r&v{ z9(!m<%IiSuWJWr2DW_V(!zD%#GST0O9QqGXNR|3$Y>|!7;Om)LY!s;IeI^Bf+1N zjn@VU5y537K^)yn~#cO0`OPOD^MMdtxIYtaya?{|_Zl3}ak>wKz)5G64BO`2 zUm}?=ZX4If4~vrI@L?yfRKDNo+w1gtb!WKG+3&)~V~(pMVt5I{F%mhIcfRO)uXB3a zIqQ8N;Iy_r2SAmOKaV3*`G_+ueJJb%w7Z~Pcn+ge)IKh%qd!0D^j>k)#L$w|q1Om% zt#2DWIeozwxz;p3_ui-;M~~|+9dX`W0iVoYyZo^uc)P=*eexJFcw`hI#=&rxVJ`fk z%m|qx)*gtp%#v^vX#?E1zodtabJ!n5jHdDN=v}a@xnJZw%t;I)8BKNU zye0MCcX_Y&htWtn=hHTg(<9O8J|}}du@9g@-!INLZ24hJ+uK#wuR&ckYfE*dVev7N z+GEQ6l5R#?h<5a+DUy3IQEy;}^FIk`&x;>R7_^%ytw-?DwpOLWC$7Qg%B-A|Rt(3y z$jA~mq;vfG60#`1m}9gg)hM8Wwd6zfO+T z4^Qi`D&}wr!LCE?YxhwY_(RcvA3E&X6%H`$j6U%}+B!8z*tGq^6 zAY$S(6O+Ucgf>jQj%@mlvrBFD}*d9y1v*msj!bIO1pBz3hCc>skPu83j?Sw zgY|0q0Hf%0r>x9(tFvGq$L*(3I+{qHRM+Aqe)1)%?8{SVYb0luD=3CzsK$$pg4i2} zA?(&>X{w$n)(0ON@P;2BM*Hn`4UgB0pYsMD8f3?$SMF~k2X!EyiT=mWzy-&`2&0qG zFvvnnz>wv=*?sd7>&@1Yjir&bk)?e-r#|)OH@in7kt3IuMn-yi9-}R_EUBu@3(+Ss zRYHv-N+eVj5M!&+?Yh@L`My2kSLAh(TsnT+(mF;0wY$!q?b28q{(U45ncN5e)$l%~ z@)NH>Yd<&n)cYU*5ZbSe2IF9bqdNeR_YNQ=lc%7pdRn@>!C&a zP=_lyvMSI#_!;e61=J|MT;lsHreg^R#E^#?-4XyI_7wIOMG?yW5-v-SWLEUCMvxRQ zQr;nGnTh_r*-SoB+~ekRu%)WCw@OguZsG(=sbWdKH*@2qRa-gLnktrUY@nS56;GCJ zWjOJCGTRmRx;>ARTlFQS))cQF%tfJnf^jM1IzV@Zcu3F6dLi@|0#%aW6<8|J*4R+R ziurM%z#)4>iOJ98E~bm8NuLv`m{T7reXA1D`BeD&_|4BuOcc}LfJ~W{NL>`Tp&qBK zscqHA;L^TEk{5}tm&HkowxTYD#lTbZC{ZOe=vd=c7uLxx^J3q)J?MEKIa;q@t*lI> zDl2og7fDa2mDlB(iF9>xQirmTMycYgRGje@B8EHC)6!XfpUXQZ71`m#33epZAK^H09A{+qb71p1zTB6` z;wAn%K3B{brO8;P#L;eeL}H5NHN+oPlOdY(#84lekqI1J`-Z;O=OsQSd8M98@SNN1 zvB~c4eUVcr6DKO!a4HN0+6f%x-S{AjY>ds-$J-((zchwyr!BeGrW_1aW~pY*Km~*> zA}wAckR_Eo>D*mtqf~6XmMp_UQu%t-4!0s;{$%g!>f7n43@2neQ=IFT8Uu~esjQp` zwa#_^z>bPjz}K&RF|@Cd*(r%!Ni144vN?d$(hu9M4*`tU z-J1IwZv<$EL?U9IbWWB}9w>W+NdlW|wC&2b4X!JwEe=&2^16uJ$Wk!{tPN)}3v?YrL2r>qf>eH3sXYQoW>h zcaI+`uBKKBM*Z0F9bYas2Bmce8%(ZnY|D7m84vnmV-09(T8)Xs-_cR_KKfDb3)hyH zFLpeT)u~>Cu_c(azE7Bs!NeFAcE|r;>SjdaF)WTM;x?=882((f@H3OoXTS4YYfTik z%fP@yYCp5Q{4;LhTETq||0pybQ`eE$VTY~gXX>|}L!&#sIi`J#i9xv6SG7#hE({(` z17wy6^Cc<)y0$Kkjo2V1r!y*-BIL4xvSAaj;ANf$_m;c8@eF9ww@=3aR?jJwv&o9> z#iBXnB6!M&(Q3V~8eRbj~;I@bA*9$6QXC=Wy2Ezj; z1~BquD~n2?Foa~r1sC#01c5}K6EO+}+2S1JorsYiGUbs7!9GtXJfol*)M%HZKK8uK zX4Eb|iIgVN%_P5Ys@spzX!@8w2f+jde}NxO#)U>~{)c{(p5i#1GkxUUsOO&1JD&D8 zWcSlL3=hFopOLHI)Idl!a)EqcL^m{2QUbAt4fzB+0-ZBE`WXBE`Y3*fCEiDD8E_6S z#N>u_$ij_RaKq9}1&boivnW?fVqTIJ0RB~5_Iy`N=#T*JFq8iK{{5Z(yOW2KyLWZ$ z-`}xI7yI|_+hV#{;R)b( zTkxx;GQDbu+Sc#3aNh~fTRCJ|hvH}T_i+(AB#!fk^(N^D`6z43_TmZecmmvO@0t4K zGD4gH#^pYKak6idHdOF;JK6F|dSEaHXsW3i&7x}Tf;w*uC#&js7P0kO^ z_#Ye;vT(3&I)Nq0K9{hgnLG{+cD%0@l;Au zm*;*Y-uegSpDPb~zS}$9y!AYZ;9$f{Jc&GSZ}>#vX~QSN1VGD}$}fE4_f4JF?)HDt z;q_pI`Kr%k;mkb?x5y(Vl4g@Ik)Y4*80c0R7@brY)Ya`*zh58LOfq`B>M% zyN@-Zorg{y{Zb~@zVGm8ceH)qp^-QG%9j95<1s*3b7Uj+;%+w7zsQ{Mk?}+#?m^op ze7g`PSnh_X?=6-d(QL~s5WW+lhit_X&z^=wQ1VlebPgLe_A80|6a6KU@|0HulCSO{ z58xR-7)c-S>U|S^lfH{CIXx!o*X}L4^|}k!Co~EEMtlc%Ybg{vi`I2vO2lf2ccy5m zLtU5ee<@LG;`xNC>m}7(ZfjdH5zRTVT(YkyYSZ@K_DCU@D@Mw_6*HHU{kaZ6PH&2| z*^1M;{+UCRLtK5^m`?b6%{I*Jpuggf z7%RAKZEgYV8GM5%5$=F=tf>BLhVc5dAdP+Fb5dZbKYHiR7Uu-pjXc zZPFC!N8h*Pj%!D@uGJTWmlD-1V<6-MbKsqRq~&KA0d?$#HMF&4@rBUu6Z9d;o`Cgb zOuW1#&=tq~15)bdM1~)*pSNA8!QDw?J z@!@tE8pCo5+oOyuSzY{<1aB!lY%Crp1|KnV)Xt&N!zH~l8q3CQmBA?>0xC{}?#`A7 ziG53^QcMsVhKDh*y2K*m!J3N^51Vam%Sm!AE1jAp=omZEq8)ElITuH`L+D{~KC{S1 zL3CHej&>J_nkB&wStxLBk9w|`ak55?Z0vT@V)-FEj;%~(Z2(ei;nwgil}MEnwGya9 ztTmXIq#^7`!ZrvykEvv-BU8+haw35b8x{aYwv{dBl1?llrY9?s%&1?&KNFWc90LIP zB}Up{!HPv%jf7o*lEx%$04$D~@{so9?J3?5e_E!CZ6!6bG-4i~(_T*+QHhA)G_lZY0Z*dRL92kChYut+cKf=1rx*$@>*vm8hBZ%yISyulW zlP}-kPo;dhP1Y=lG1D3*80-;=EMti;P{9I1GdYc)m7uOVGQrIRF}}AYD(MD|5nPYX z%!2=;ZG?+QQieyTWns)QLTyH+fjZ*{z&>~Jfrc|a?(BH*zJ@b4<}~iR=m*1o>^R%* zn6o3dL;p68Q%9fX=jks$r;u(r&4HkS(2NKRC(Eh7qO!c|wbr70tRZ8p^oP#AvePqF zt2>i@ZXxlSR+sJC)WhScKK<_lt%u8(_BrLA)*iQS(y13OB<%7&w_KY{>`K;C;i@tqDXjVB`Qy(Fl_!(MFo9=|=kf09icfS6Bn&4APWQEu`1)K{b%Mpo&5E=MR zzJ=XIfd5#KwZ{pzCE2sd(p+oX(+BQnTfRa@&xo5&)(+SBQ#Ni%@pRYjjAa|quHnNv zs2MCqF%XUOUm=if;E^nbqW1>do_|=C^L=~T;;s_~;IJKQmFhio&!OIbfD)zRnf_`f z4(Dm17S*@C;j=yO<%fg?0dN@k`{Z87{GYI&LRnKGJ7=^B$O4kwN;po7JaG>5bznRuE!kwth6@m2{VgX9k3ldF>UW7 zh>xV>Nt80I_@FJ?MbAQRf1{~LJ-oonTr|u`ssbsgU3fk_TIIxIk?%^qTiET z%;Imd6M8IaG`bj$fh3r87#v!tDHXvHX&*8@d5zqq-j2fLwM*4x|E_ecnm00?JzaSt zUAD_5*GSo!dJ#3)q>7&TSoba>E62UbCv79$S*vw9TSs*YCiY>Atok+Txeaud(iiyd&0{>Q);Mnpgxq4KomTi zrb7LA9u2=E1GxbKXGm*DZzTY^B3Afrln@Z+&nQ741hWvHYT4p&BTmNV1GCP|W4WOr z{uZ3>?(pwGB$XkI+QL!WQdtm<;Gww!ne7=~ghcVN6#D)oU|P|>h!qh`S=j8J+0@Lt z%!{Y%$cHSwkP09M0Ut6k5$~BZuirbcDK9d1}QJ*qA`y%=D@)1d!XX< zxZQ4hyVLFVZ1tt|%7X{yy;oRV742Fs#2iPD=&?n1?bDWJt zCmQt;*E8a^V+8yavO9CB(b71fLrE~+`*N?SCVmja_ZSApNc0u82zQA`I`50c(p8kC ziG$+=$-70|3fkobL+hFi9WDejY#_>E_0*^ zjNuAkngVd{k5909d|kKCTf?u)f+^#2`+sPq&j3MB$&#>%?brvGBHUd@mzFJpU*Vd>?PMr{2%h)`zEWtsae|g_NVxdEB))#@*4Go?`4;=O zeYSXBKL(_W5i#0wOd`9*7QLy!+H#I0wu+&0hjS!rg^U$^rBKzOdkuUnOWWNdu_EV- zR765XZvS-P@0i-=?%0oKq|!c;;+%-Nl`A zB`%N^9Q(xqvO9EQWHH5y5puGP_w+FUTah==c5c2YEog;&EG;`i8;8OUYJd&uN#`PhSf9*C6wPLfH7kb~jx)^nM2B7^yPoBEjpbelBti1vPmtO*mU@qBbVE;1-~ zP&hhl3RWHCCQ{lr5YdJbhoa`G#9)lCM=F(M`_cCH6DMwZKyfg}Haz=UBR-VqtHg)m z^;eVeD4nTfUft1#(axXy{Ys)FeG4p_4#ZQ|WwCvN=}VfXK|^Mju&137c3N}kw!@=U zl!}dXBVAH$yZ0VTw;e#pDWx0kj&#vzZ47?M`4i`_$TC+M?kc*C9d4<0SF8F35Pm!M zc5vYiw}=HW^2^TexB*S?Ck938pnb#jvkV=60#OLGqyjKplG@dS=R|fMo=B&?llSfU zH|*irB{g{O$$UC<;85d({zJNkoVH4`yEA)WsO0WwxW&E$UVAm!-kRAH_zBC}y~REI zu}+&d4S&Fk0#|ffg8U$JN>hF2oL*;wDJ>$&w~17`Z40U%b_%ja^P%_kFR&hh33)T& zjg$O@Kd*0sEFGAb#3L%~2f?S8HV||yVU(C{k`oaR<2uP6u<cZrkm{iyTLi=Oc1;vUWR zzc7Mg(g(5p@vR8y4K05j8Sd;Heqmh21Koq&{EdU`6^~7KW@vPumO5T%B;j^h`2mleQIOBpKL^rBqMj(kv&N_HWZ286^YH6yDYmfp0{iL z-Gi}-VhvoRswziMC)=X&O4Pytk<7>Kj(GA+hB&^#)`8Xsy$8M3*N;z5KXhOCZaGy$ zp1KEn*CJ9GQi$lhMem8e8vk^StX?P6DlY4iM673IZ2#DB5ru^CFvMX4)Yt*$3oh+I zw%2{iogd4K3WZ~P$5>*y8==vnH5K<_f@qOYA{o>`UYDJqau|p|No*d9@STlvwwR-GN_!uOhbg@!?`bw)~c91QR_ z=z@y!HD;EE$+l^sz!HKCQa{E~;KS-;xOL&2uotNpVO_W^p!o~@q75G&6L+tDgn#cX zYELgwz)JxUY+r*+b*1{=LXp7h5gt}!kiq=!-M?3!*8`$|LEOZ8U<#O!W(kbBy+vzu zKMoL7v|&;n*}H#C59@{oiQw7rcw~hY4z z85t$>Ds$!?(TL&R3;3r}?HQ*=G#{RK5tGqJR5#EeQS@;r#~BjXZ)NNX>6HL!H1{Ca zh~8U~QIEuXG0c>KgbOQY2a_Wn)K4mU(WrJqbY~4Ir6wX-+zA zC-SI(pQsVV^%T^=pxUZ)9h|Dbr z2nh?9zt-lM|F3KL`IcLRwTmaQHbja&5;+u7?`LNa2L^*FqGt)VZ!vKh`$tDG;xa=c z4XBw&MUDO9BYIDm$ zLu9`a-V(JQN$AZ|Ua$mpkb|;H)JLs-M;dY9XXHz=`WUj@=s%=CC>9(9FJ(aNxTF?d!}&tj(nh}cKV;_7 zlyr%Viv)HpL5iS5qaBv0<}k$q5tB%i>3J9+(trwlltqwBJfULA962Tu0=vKxl8V2T z4(1ZZqMpB!&J(c_e>r9}fz%9387e%B-UBUxo)+U4d+1$%8cKJ|v$40a!@yq5K#SOt zR+DQ1fQ{W1r8b&I$Qj&BZXu%!O27cmgKk1qSp>NgQ%;Z>8S+vCP%!OdnDiKKWZ)#C zm>FP@m7Zl+>L8RrC0>ug4b1{0o?*?~qikTZ1fW&|w82baY_cmJb09j@J%Oz{Pb`q# z3e=IA!ZA1Hl~NAIV>6e?7ajZkyb)tp-j*u!u96)_8baC%KxW!S&mpNR02wqaA0c)! zDP>-ABH6+ITxKmH3>p1Cq|t&)fbP-yG$*r+s;RhS9_4iD2&06NQplf}t0NJI2IPe; z0+Pjc8HcguO(gdi_oEFsxgg0lA)S2Uv2+w_Ee(XO0~;(jPnHf%_4&kpEvF04fy7<< zNbj1XW39w73yn@`=(%`LlK<}Q>g@+3Q^w(w&c4G5(p)9}E)lW+%U?(S#Q4da;SG(Y z8x15%|GvJjTaamLGZTgui34%L7Zsj5eHtsd*vT~`aB=R|t-#)GYThNUy3qh+(Mjzk zhVj)FOhtt!r5F=z! zRmf9gunULNg*1O3GV{d4@qZt)1pIi0Z7%=HTzB5+Q&~5j0h-WFx0O71B9r#At&ndz zr8S##v-h*3)RuN5X)A+cjOvT*yp~L-i|O>cQG=6B29WiF`6f;6g6n$I25; zWTUC7bziP(SCifOSUQuA<-3z?jal8vNET?Ah})MJ@7+*F3jGHHANx&xgcvWaQYe!D zgmdDA12RaM{^0gL_eAo919WQGM{UU7;zgVeUJh5ZP)$9HJC+a z6vajTKA|pCydp>G+nzy$ike{AO3z>+5k?%Z1Pd-+s2%*0h<=2p9fhVt4skFz8;6z1 z?T2enks8R-@lVt0$?{^HOf<B?c98>m0L@!6rt0UQg(tzrcBS=(nWZ2ab!a?zc(6pX4qJfQt5t)`% zLjt#kfBi+P*mglzv75Rb2IXh7iVz9Lp0cHys6M5dc2G<6cV4`f{#+4ki7H;*$MFz( zwB?-0Mxu?a3!h(-)gML(GYGc3nd%*Y8*31fXj6~G%(Xg3>!-?FDH4edUNWmTg zeuh;}l##r%EVX0YN&q_=ETfH5BjU8TF{lqrV6uVoB&u#2c z`>w0%?sN*BZ#r+sdTLJ3Z&ln>N<~MLw3gkUue`@OfP|FBmEs_n^w2O!=r<#c(vEaA znQ!lK4jhaZa3!?7zV3ErR9odsG@NPdzB_6~Cf`x&N~fx696@Rhv81l!bj5p(bZYci zM`8C{oI~*ORgSqB zi>yRPZ~wrqTwzxxRbrKj;VqgmQz<7Y3CCH0ZKvFo$*3qP!;ASiYUo_%FXFCgWxBwL zZ%w6AM$%2eXtD$viMUI37$vS_nJK$~x}Nno!7nM66P~TMtudQcYs|(%2(|8T(_URe z&h-^oqMQ=#y(qE1T|Jt&!BVZ78)UuhldjuZ<2Ik~uW{B^B{rXo)&&`w=Zh0OhK1p8lekt*98k90xBEz*XW4fC zXw|;mH#NSYA$rE`;Hma$spup><7he2s%;42)PxBdA$Woz;s`biKn1yd*b3-v8NmMQ z3*FR;YeuZ7fI?rjZ+BNoGDhxTeC8^NYLBGWt=?57eehEZ;_-1{LvG;eU%iJj{4Bfn zJyj|7RQ1Wvdf>C;woILTJ*san_cVGNws)S3<1sG%zLzHh6^?>B(ofU^;v`duiq%G* z@vw~a;OiUwo-t3JG#^59cwpk;*vXTzhbJhGf01lq-JHc!IZq06-WbN#fdMc4mHyFz zP&$TEbjzWSwnWoPR@HlmL1$J`F%2&vHdDWT(t^@bc<-R?+$w95{=)rXUgFUm=~Axb zG>8guB!%`vv}T_GJwLZRjZxsgi@Lz?oha4Mrd>CM z@KJW%bRUk~xN_IALRfD6cLU7oS0DWK1ChzT(ypA7?)4g7PPV_)Rd(`2p3n;i>>@`T zqy70-P5$*=clCB0J4Whq)ut(Gl5U zRVoD*r!4e}1ox!x6ImJ)WHgI|qn3Q)Cq2i1iE+mnl}9g#{!-$s`% zBDg6;9wZ&^m4eWTV4tvKae%Jk5K%;*=xIoQV6PFK-U(tZUWX^v*_J2hsr{o`AU$dz zuJ%|XW5|!ZEP!dX9_^=LiJ&Vm!*~Wj>P674H$+3+Tf zu*u3RssnNE00l78F4`X)Hxd{U(IX(_K)(@^U|?tg(?SaZgNrnVPJ@kA0oHH`Uic{S z3n(-*x1O&oJO!I3S7)4d9s@^&;WBQL-w=BjO=HG;5Cnx&f+;3O3ppqs#p4(q2?03Z zQQ3tyw`3>EPFuk)r`q#3w`mvsIpdEZ6y?lyp_hyx#u3aeV}}vMO!rYpe=_X&E+^=^ zqwd|#u{I~@&R}@BjFUZgyT{v{fc}MJRJhrH>In6p{PM@TmSbU>be(xV4c`#o2pj`^VL_Mh92yeQZSFY;`(H>gj2 zqfCJNqm?}{xGYGlS*#4(>vMA(s8zZx%^wzugJR z4|ddK`pHMAe37<-RKn>4E+>3H zMo=vuAnG&ewIy$9UrK*D6N}@B z=52&~P#K);=EkovSTLM(|1aAx+zgB_UJvP`tYbcQ?;h+O$7D9jh-MUWC$Y^JwDA%v zv%ibm<1eGtahU4SjUyf5_$FRdj0myfKk9o3Tw@)j)FoTF`+-n?I-Y5bKOO%m1KHw= z>j}0;+yvF0kAz7wN%RHYV4RFIr7Y){J}PS4E8zLK#2d(f@Ygqy-z4T;v?eklAVvsb zGIIn~^L?4`i~ra7#`!;bqvRO>OUJqSo7^173BND-78%BbAJEc^epl2Um;^NEr%Al< z$0gQ2s6QM7x{_!5Dqf{nE*If4bCLg4UNApwR_+0)Xqd=XIS8b5af-A`gE`5 zHqQ=nCVA*Y^%N7=8QpEDO+k%0h;0yjzPX%)0Ou+=rjA!|ZA7&pac(({ zh?WTEbIX52M^WLOB*w4>F1lO(!!XuN?kWa55UQ+^(cyh4bY;~-uQNIVS_RK4>}9vC zYCYnBA^Qc~&LidLcmCk*8D$qT*`BUqE}hQzX3D7~0EwBS*=(vcUo7uRW*mavD%mN* zk;XG#*6D~v+wcLaqfY~Z*Uq}_=^wi*-`?8Rb)e|bD;0W5{@gbU;s36IQs7;=g6BI?&zpnU-_oCghV2F2^S>$9i+w1VIZ;gTFEYW z3sH@VZ3Nz{X!0l{GPs8N7mUeF#zJ^Y$#dR7SmBy zSSo^!l8Fa%;5ap$QGD-_?tI$ZhYg|^Y2g88q7XqX`~sEcMkR^CZc?# ziHWa_mX5>-2^14~T6Gym)sM!B^RS5SDy5Q1uiVw0B@U*iv(2-Ut;K?!YI}EKXD(4J zlHz@5(I)1lGc6I3xy1f>{FRk>+~@@x`t@qJybdNML)~Aj*E-uvXpQYsdnf6s9>92n z5_?>w5SS5@Q)(jDQ*Cc8Al{bSt3A20rQXyqENhrHJI^@tX-)Wk^DP&*y&;YjTW?6< z5M%De-mnpxVql;lQX+k59-5&F8n;GX5Oc?9sc4Bf#VMQZPz0w?w*!IN-@6^M_M71C zgwI3o%~;R{BbH`-u+7+U(`F|n{$9F`FsQwBBbg}|4jyH_JOY4g;lxpy34bdgLUAk@ z4Ag0P5(DJUG4j|yy#fkcssS*q$+nN{}m0jML##3z7OW<)j{QAFkXx z;Z=^_vu8Hjl~O4%AvE;CNs_44yz9cK2`xp069Vsl(mb{ zCVlnmQTyKYXdnZ>kHE>!B+6|cyncSerd6~cX02XVArX0&8nPV zJ-f8H#@9;q@%h#D>4oZJYwNS~OVzuUW}D~M)|L+p4aphJg@vWTnWYOYGc8Lkvn})b zcM&~wvt_Pjy=4LP$(83FyYtM)IdcVs%6YC|Y^lP(3s<`5dDommuifNmc>gMGCFifP zPf9ENKF-lqo;l4^tF-GHWvS5;TX*q2%N@?Kcdcc)xU4H^p*%X_0 zRduT#Ra3pHPt|cK*r9f+U6>TW6JcHrsXc11+NXxqe!O5tLHih26Y2n#>O&fo@2EPa zj;j;uF7*m^Qr)fYQTM9*@RgZV52y##L+W9?W?qTk%wy`5dX;({|C!gQ*Q(d4*Q+HLspf=hcF`pcd7VT2>d;idt1`YF%AYm(`Q%in^-4 zPrX^aMZHzMO}$-xzxn~Sp`KFjQ14XlQtwtjsNSRAi#xV4|{>I3S7>O<;>)DNp4 zQPvQ z>I>@U)fd$-sDG~h7xjzkOX^>!UsC_8`m(yA{x|i@>Q~fP)W1}}s(wvfK+ep~$;byM9^zoULv{hs=L^#|$?)gP&^sjsU)R{vK0JN56?e^CFs`V;l1 z>bCkb^?#^8SAU`YQvH?sYxN)1H`F)P|Ed0y`WyAP>OZUhqW(_(y?RdlgZi)Pzp4MO z{)hUO`oGlwRNq$LQU7SPu%e1>L;Eve{*B|*WE)8%WjKawq>YS`H86}Cc?_~eqhz!i zWuwh#H!4O4iFvw=s?lxq7&W8U=rig@!`NZ$G=M)5d3v>&DL-pKYR_5o< zt)=hSwZ0tOQLYb)a$(XxOJ9-k%c~cr7Z&t$?${w`2M_ko(AT)zui1Ra>gDO>xPN4Q zIW>KCeT9lQFD)&v#`H$=3@_bW8CYFgS~mT1{0wB4r>?oWu(~k4dQLX&t<9(uV`mno z7tcq}EG^9PwRAo%Ul*oV&L_{TOwXKeuE|ACSZ>maD~U5J^Ubp})2mHNOVhKI)+|bw zSDP!5GwXBlndyb*;_UQ_Lt$ZHei2$fzc}Y_Ev>K3(K~alTtBedTwI-}=bDL`bIqCa z1DqezC4YNieswLy_NA4jMcsm%8`64Cctp3H9d6M=Gv`*8E;I*b7M50<>0sl+^po=! z=C5vT&oAn2H#ol1r1e&sPB1Rc&Mz!9XT4yHRdB93;O|Rq-xqG^_6^VW`}5AT^*+VevRQcy)v6%7*4OqtD7?m^UKRu*g?Jhwvdv`_WG=T{{@;mYkiT%SX#K$ zoRw?k8kgVY>DAQ%JvF)%S$V3%~{94f)=1t zn!)vKt<5j4GleeDlJ4dydgtaQ?KC~t%=ky8-Ph>ySOAkZ;&`R?Hl?cvT zX)f{zCIRPJ((*DRWNtX}#nfDwzQP;CA;I&@tMjX==7r_8D+8D37giQYpY<;0w^f#|uV1%59ZmckNmR7E0@7OIH{td3qFGpo7 zCSR)#-)k&N{6I-fe=Bx&fo4gZWx3IPV(HR4*RjWuFRt*3j2mn%%(MEeTnP^@EjJhC zcKX!l9HcWkH_yU5$6CR90s&gH=Y#}7x#nfJE-p{6G!s&$+vl1kDJ`$FIIT1evEe)(K4a}UIUYu*LR$g#;v3WT>n0fv|haKnE&*+z5 zT9jANTMKLHpg1p74{~7o+p)QYr87<2f1)(FHMcT-<_wd7-{o@yvO2 zDKWjp6|6VSmF(Qg(mE6F3e9nLVC~9sGj)!3Wwz_Ci|GyP91Tq8N6)derq3;{%wL5B zL5)`!C^71~v=*CRJhSwq$q;7Ah|VvbU7`$Aux9bI%-BiJudYI}bmO^xd8HY2sNP&P z=egzljQNDnk}J_CR+kpt^UX8UX9ncu=V2%!=bKj|3)7b!CJ-kDgT)TESddJ=Sn?;B ze|&!J${E&JX_M9$+3z!W!GRen-(-rr!8YsPIv0DvCeyFEFyNn*zhmDM>#J+?XRl=M z*eQ?9+_7ir?AhEMJM`02+joU^Uxhq{^&a55unybzhwl^a(|41T!^+)pAgl`1c5Qu? zdrNCUhpb?hWfz3kJ+r>RKwMv2Iy?VlVsnq9seq816;|P>Y$b(5lVQR>PL%S(^jb=n zmR6X{(v1GZT%i9UQvO+ME6t{VU>$O*&$Aa`0|!>mF;OkyY~T^&3rh@FF0v_{_sL;Y zispssxy9yM;==U2OyTL-sFdsr)62n-jZlmW7c1;};zDzd8L_n3w1k)8eo^Vum?i~@ z3qq^bIA~s&7w$H70iw!S(M(HJD0=3?`oh}$G9=We&a2T2>ub%pOlFyPwk~LLWKopG z)LvW~2#V3grL|^OzJ#$JScA;dLR=l}i7!D?&rZ)YQ!)<*mRDGdnwL{cD|6F}^H=rT zoAl2zU9=1-XEl#6PqP%xOfM!iN9NDbsFZEyG80CYE7LC~mgiX!Xw$XG^88|o|Ikh$ z!cW$6j}H3ltR zZN@bzrFml)*Ll0-3Y{qQ@G@hAPSV}Knq&>3#|N0jfSCGapEve5q70cO8#=_;S)6IE zS`?|vx!6i`uK8qI)>x!GmOj|q=8EZW>z_+JvB?{-y2BB1oi20T^1>BvxC~uhpqse` zMU+&Wx4gc3PA<~h=bN)sld>!fVQKXo62Er#%{7?Fxzzz#TjSxDxq5ECxiD+3!T=%C#q}=((_EDabS1q?^T_C(X+r#Gn(pe- zy0oxxgDXqC2@CM~g=S`Td4Z*OYxQvb9U*a#Gp?A0%>`T7!2!(^C3I0<+b^A)UO1bS z*9%5%YW2zm#Mc4j%^?1+Zf=NZlnzd$g4};`Ef;J<7%sphTwozh zZrc@J+q^`>g&Rm93$x)_LJBg$70l1(icD%d*uiKIYew-h6Tk_MTxhPHTiU$I1sKKf zCc;0`Y|@tg3sN)0o|&-b478PLR^;$}T9_+%aCid!$|-AC!s^OGy%OGRby1f7wXhni zYb*45cq_KnXV%a%gtxjhy)r+2W}(Tg7H0+m9ylr+F@(B>W@K%8&ZNiYnrrd3>DBW> z^Ajj~n@AkXO@~UM0f1LP{yUf2+?u&Co8H`DrJJ8#bT_x5qw7z4o14o*Mpn9$vxYpM)Vq;`qK$|}Y63ujhkRfzk=_2t+aV`VkAwnE(; zngQM|&0iFKks#c&7m-3JmMaxhn%O()kzcqEFmAcbe<4 zN(-~z`r->1F%IbkZ+%hL9D7Rub;B+h(AT7yL0S|E7QlG8Ed?zcBraVDc_m7LAZSx$ z66-aKA~a}`VPIUk5WS3)VO^eHk?q*!>9v`2_T_W)YyOC&$n+YJacuf)VnWITm*G6K rl+NpMJHRMHQk&hjXMOSfB5m(&okO4bXIWR5mM#co(Z5tmE71RMA`!4e diff --git a/cli/devassets/assets/index-08372519.css b/cli/devassets/assets/index-08372519.css deleted file mode 100644 index 44725fea84..0000000000 --- a/cli/devassets/assets/index-08372519.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}html{font-family:Inter,sans-serif;font-size:1rem;font-weight:400;color:#111827}@media (min-width: 2500px){html{font-size:1.125rem}}h1{font-size:24px;font-weight:800;line-height:1.05;color:#1f2937}@media (min-width: 1024px){h1{font-size:26px}}@media (min-width: 1900px){h1{font-size:29px}}@media (min-width: 2500px){h1{font-size:34px}}h2{font-size:20px;font-weight:800;line-height:1.1;color:#374151}@media (min-width: 1900px){h2{font-size:22px}}@media (min-width: 2500px){h2{font-size:25px}}mark{background-color:#fef08a;border-radius:.125rem}h3{font-size:18px;font-weight:700;line-height:1.2;color:#4b5563}@media (min-width: 1900px){h3{font-size:20px}}@media (min-width: 2500px){h3{font-size:22px}}h4{font-size:18px;font-weight:600;line-height:1.3;color:#4b5563}@media (min-width: 2500px){h4{font-size:20px}}h5{font-size:16px;font-weight:600;line-height:1.5;color:#4b5563}@media (min-width: 2500px){h5{font-size:18px}}h6{font-size:16px;font-weight:500;line-height:1.5;color:#4b5563}@media (min-width: 2500px){h6{font-size:18px}}button{font-weight:600}a{color:#3b82f6}input:not(.windmillapp),input[type=text]:not(.windmillapp),input[type=email]:not(.windmillapp),input[type=url]:not(.windmillapp),input[type=password]:not(.windmillapp),input[type=number]:not(.windmillapp),input[type=date]:not(.windmillapp),input[type=datetime-local]:not(.windmillapp),input[type=month]:not(.windmillapp),input[type=search]:not(.windmillapp),input[type=tel]:not(.windmillapp),input[type=time]:not(.windmillapp),input[type=week]:not(.windmillapp),textarea:not(.windmillapp):not(.monaco-mouse-cursor-text),select:not(.windmillapp){display:block;font-size:.875rem;width:100%;padding:.25rem .5rem;border:1px solid #d1d5db;border-radius:.375rem}input:not(.windmillapp):focus,input[type=text]:not(.windmillapp):focus,input[type=email]:not(.windmillapp):focus,input[type=url]:not(.windmillapp):focus,input[type=password]:not(.windmillapp):focus,input[type=number]:not(.windmillapp):focus,input[type=date]:not(.windmillapp):focus,input[type=datetime-local]:not(.windmillapp):focus,input[type=month]:not(.windmillapp):focus,input[type=search]:not(.windmillapp):focus,input[type=tel]:not(.windmillapp):focus,input[type=time]:not(.windmillapp):focus,input[type=week]:not(.windmillapp):focus,textarea:not(.windmillapp):not(.monaco-mouse-cursor-text):focus,select:not(.windmillapp):focus{--tw-ring-color: #e0e7ff;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}input:not(.windmillapp):disabled,input:not(.windmillapp) [disabled],input[type=text]:not(.windmillapp):disabled,input[type=text]:not(.windmillapp) [disabled],input[type=email]:not(.windmillapp):disabled,input[type=email]:not(.windmillapp) [disabled],input[type=url]:not(.windmillapp):disabled,input[type=url]:not(.windmillapp) [disabled],input[type=password]:not(.windmillapp):disabled,input[type=password]:not(.windmillapp) [disabled],input[type=number]:not(.windmillapp):disabled,input[type=number]:not(.windmillapp) [disabled],input[type=date]:not(.windmillapp):disabled,input[type=date]:not(.windmillapp) [disabled],input[type=datetime-local]:not(.windmillapp):disabled,input[type=datetime-local]:not(.windmillapp) [disabled],input[type=month]:not(.windmillapp):disabled,input[type=month]:not(.windmillapp) [disabled],input[type=search]:not(.windmillapp):disabled,input[type=search]:not(.windmillapp) [disabled],input[type=tel]:not(.windmillapp):disabled,input[type=tel]:not(.windmillapp) [disabled],input[type=time]:not(.windmillapp):disabled,input[type=time]:not(.windmillapp) [disabled],input[type=week]:not(.windmillapp):disabled,input[type=week]:not(.windmillapp) [disabled],textarea:not(.windmillapp):not(.monaco-mouse-cursor-text):disabled,textarea:not(.windmillapp):not(.monaco-mouse-cursor-text) [disabled],select:not(.windmillapp):disabled,select:not(.windmillapp) [disabled]{background-color:#f3f4f6!important}button:disabled,button[disabled=true],a:disabled,a[disabled=true]{pointer-events:none;cursor:default;filter:grayscale(1)}pre code.hljs{padding:0!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875rem!important;line-height:1rem!important}.h1-textarea{font-size:24px!important;font-weight:800!important;line-height:1.05!important}@media (min-width: 1024px){.h1-textarea{font-size:26px!important}}@media (min-width: 1900px){.h1-textarea{font-size:29px!important}}@media (min-width: 2500px){.h1-textarea{font-size:34px!important}}.h3-textarea{font-size:18px!important;font-weight:700!important;line-height:1.2!important}@media (min-width: 1900px){.h3-textarea{font-size:20px!important}}@media (min-width: 2500px){.h3-textarea{font-size:22px!important}}.p-textarea{font-size:16px!important;font-weight:400!important;line-height:1.5!important}@media (min-width: 1900px){.p-textarea{font-size:18px!important}}@media (min-width: 2500px){.p-textarea{font-size:20px!important}}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1900px){.container{max-width:1900px}}@media (min-width: 2500px){.container{max-width:2500px}}@media (min-width: 3800px){.container{max-width:3800px}}.table-custom th{padding:.75rem .25rem;font-size:.875rem;text-align:left;font-weight:600;color:#111827;text-transform:capitalize}.table-custom td{padding:.5rem .25rem;font-size:.875rem;color:#374151}.table-custom tbody>:not([hidden])~:not([hidden]){border-top:1px solid #e5e7eb}.table-custom tbody>tr:hover{background-color:#f9fafb}.box{border-width:1px;border-radius:.125rem;box-shadow:0 1px 2px #0000000d;padding:1rem}.animate-skeleton{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite;background-color:#dbeafe;border-radius:.25rem}.splitpanes__pane{background-color:#fff!important;overflow:auto!important}.splitpanes__splitter{background-color:#d1d5db!important;margin:0!important;border:none!important}.splitpanes__splitter:after{background-color:#3f83f850!important;margin:0!important;transform:none!important;z-index:1001!important;transition:opacity .2s!important;opacity:0;--splitter-hover-size: 5px;--splitter-hover-adjustment: -2px}.splitpanes__splitter:hover:after{opacity:1}.splitpanes--vertical>.splitpanes__splitter{width:1px!important}.splitpanes--vertical>.splitpanes__splitter:before{left:1px!important;width:0px!important;margin-left:0!important}.splitpanes--vertical>.splitpanes__splitter:after{top:0!important;height:100%!important;left:var(--splitter-hover-adjustment)!important;width:var(--splitter-hover-size)!important}.splitpanes--horizontal>.splitpanes__splitter{height:1px!important}.splitpanes--horizontal>.splitpanes__splitter:before{top:1px!important;height:0px!important;margin-top:0!important}.splitpanes--horizontal>.splitpanes__splitter:after{top:var(--splitter-hover-adjustment)!important;height:var(--splitter-hover-size)!important;left:0!important;width:100%!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.\!fixed{position:fixed!important}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.\!inset-0{inset:0px!important}.inset-0{inset:0px}.inset-y-0{top:0px;bottom:0px}.\!right-9{right:2.25rem!important}.-bottom-1{bottom:-.25rem}.-bottom-2{bottom:-.5rem}.-bottom-3{bottom:-.75rem}.-left-10{left:-2.5rem}.-left-2{left:-.5rem}.-left-\[8px\]{left:-8px}.-right-0{right:-0px}.-right-0\.5{right:-.125rem}.-right-2{right:-.5rem}.-right-\[8px\]{right:-8px}.-top-0{top:-0px}.-top-0\.5{top:-.125rem}.-top-10{top:-2.5rem}.-top-2{top:-.5rem}.-top-5{top:-1.25rem}.-top-8{top:-2rem}.-top-9{top:-2.25rem}.-top-\[9px\]{top:-9px}.bottom-0{bottom:0px}.bottom-1{bottom:.25rem}.bottom-\[35px\]{bottom:35px}.left-0{left:0px}.left-1\/2{left:50%}.left-2{left:.5rem}.left-28{left:7rem}.left-36{left:9rem}.left-\[50\%\]{left:50%}.left-\[60\%\]{left:60%}.left-\[65\%\]{left:65%}.right-0{right:0px}.right-1{right:.25rem}.right-10{right:2.5rem}.right-12{right:3rem}.right-2{right:.5rem}.right-20{right:5rem}.right-6{right:1.5rem}.right-\[35\%\]{right:35%}.right-\[40\%\]{right:40%}.right-\[50\%\]{right:50%}.top-0{top:0px}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\/2{top:50%}.top-11{top:2.75rem}.top-12{top:3rem}.top-2{top:.5rem}.top-4{top:1rem}.top-5{top:1.25rem}.top-\[-9px\]{top:-9px}.top-\[1px\]{top:1px}.top-\[35px\]{top:35px}.top-\[9\.5px\]{top:9.5px}.isolate{isolation:isolate}.\!z-10{z-index:10!important}.\!z-\[1002\]{z-index:1002!important}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\[1000\]{z-index:1000}.z-\[1002\]{z-index:1002}.z-\[1100\]{z-index:1100}.z-\[2000\]{z-index:2000}.z-\[500\]{z-index:500}.z-auto{z-index:auto}.col-span-10{grid-column:span 10 / span 10}.col-span-2{grid-column:span 2 / span 2}.col-span-3{grid-column:span 3 / span 3}.col-span-4{grid-column:span 4 / span 4}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-24{margin:6rem}.m-4{margin:1rem}.m-\[1px\]{margin:1px}.m-auto{margin:auto}.\!my-0{margin-top:0!important;margin-bottom:0!important}.-my-1{margin-top:-.25rem;margin-bottom:-.25rem}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-0{margin-left:0;margin-right:0}.mx-0\.5{margin-left:.125rem;margin-right:.125rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.\!ml-0{margin-left:0!important}.\!ml-1{margin-left:.25rem!important}.\!ml-4{margin-left:1rem!important}.\!ml-8{margin-left:2rem!important}.\!mt-0{margin-top:0!important}.\!mt-2{margin-top:.5rem!important}.-ml-0{margin-left:-0px}.-ml-0\.5{margin-left:-.125rem}.-mr-1{margin-right:-.25rem}.-mt-0{margin-top:-0px}.-mt-0\.5{margin-top:-.125rem}.-mt-2{margin-top:-.5rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-40{margin-top:10rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.contents{display:contents}.\!hidden{display:none!important}.hidden{display:none}.\!h-10{height:2.5rem!important}.\!h-\[24px\]{height:24px!important}.\!h-\[28px\]{height:28px!important}.\!h-\[34px\]{height:34px!important}.\!h-full{height:100%!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-\[30px\]{height:30px}.h-\[80\%\]{height:80%}.h-\[\^\\s\]{height:^s}.h-\[calc\(100\%-22px\)\]{height:calc(100% - 22px)}.h-\[calc\(100\%-32px\)\]{height:calc(100% - 32px)}.h-\[calc\(100\%-35px\)\]{height:calc(100% - 35px)}.h-\[calc\(100\%-50px\)\]{height:calc(100% - 50px)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.\!max-h-\[400px\]{max-height:400px!important}.\!max-h-\[calc\(100\%-43px\)\]{max-height:calc(100% - 43px)!important}.\!max-h-\[calc\(100\%-48px\)\]{max-height:calc(100% - 48px)!important}.max-h-1\/2{max-height:50vh}.max-h-12{max-height:3rem}.max-h-40{max-height:10rem}.max-h-60{max-height:15rem}.max-h-80{max-height:20rem}.max-h-\[300px\]{max-height:300px}.max-h-\[90vh\]{max-height:90vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.\!min-h-\[30px\]{min-height:30px!important}.\!min-h-\[42px\]{min-height:42px!important}.min-h-0{min-height:0px}.min-h-\[150px\]{min-height:150px}.min-h-\[28px\]{min-height:28px}.min-h-\[48px\]{min-height:48px}.min-h-\[60px\]{min-height:60px}.min-h-\[72px\]{min-height:72px}.min-h-\[80px\]{min-height:80px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.\!w-14{width:3.5rem!important}.\!w-16{width:4rem!important}.\!w-36{width:9rem!important}.\!w-40{width:10rem!important}.\!w-\[34px\]{width:34px!important}.\!w-\[45px\]{width:45px!important}.\!w-\[50px\]{width:50px!important}.\!w-\[70px\]{width:70px!important}.\!w-\[90px\]{width:90px!important}.\!w-auto{width:auto!important}.\!w-full{width:100%!important}.w-0{width:0px}.w-1\/2{width:50%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[600px\]{width:600px}.w-\[\^\\s\]{width:^s}.w-\[calc\(100\%-2px\)\]{width:calc(100% - 2px)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-screen{width:100vw}.\!min-w-0{min-width:0px!important}.\!min-w-\[34px\]{min-width:34px!important}.\!min-w-\[96px\]{min-width:96px!important}.min-w-0{min-width:0px}.min-w-1\/3{min-width:33%}.min-w-\[100px\]{min-width:100px}.min-w-\[150px\]{min-width:150px}.min-w-\[250px\]{min-width:250px}.min-w-\[2rem\]{min-width:2rem}.min-w-\[300px\]{min-width:300px}.min-w-\[32px\]{min-width:32px}.min-w-\[400px\]{min-width:400px}.min-w-\[60px\]{min-width:60px}.min-w-\[710px\]{min-width:710px}.min-w-\[768px\]{min-width:768px}.min-w-full{min-width:100%}.min-w-min{min-width:-moz-min-content;min-width:min-content}.\!max-w-\[300px\]{max-width:300px!important}.max-w-3xl{max-width:48rem}.max-w-6xl{max-width:72rem}.max-w-\[160px\]{max-width:160px}.max-w-\[248px\]{max-width:248px}.max-w-\[250px\]{max-width:250px}.max-w-\[300px\]{max-width:300px}.max-w-\[640px\]{max-width:640px}.max-w-\[656px\]{max-width:656px}.max-w-\[calc\(100\%-70px\)\]{max-width:calc(100% - 70px)}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.max-w-screen-lg{max-width:1024px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-initial{flex:0 1 auto}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.\!grow-0{flex-grow:0!important}.grow{flex-grow:1}.table-auto{table-layout:auto}.origin-bottom-left{transform-origin:bottom left}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!-rotate-180{--tw-rotate: -180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.\!rotate-180{--tw-rotate: 180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-\[pulse_5s_linear_infinite\]{animation:pulse 5s linear infinite}.animate-\[spin_15s_linear_infinite\]{animation:spin 15s linear infinite}.animate-\[spin_50s_linear_infinite\]{animation:spin 50s linear infinite}.animate-\[spin_5s_linear_infinite\]{animation:spin 5s linear infinite}.animate-none{animation:none}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping{animation:ping 1s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-not-allowed{cursor:not-allowed!important}.\!cursor-pointer{cursor:pointer!important}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.\!resize-none{resize:none!important}.resize-y{resize:vertical}.resize{resize:both}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-flow-col-dense{grid-auto-flow:column dense}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.\!justify-start{justify-content:flex-start!important}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.\!justify-between{justify-content:space-between!important}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-14{gap:3.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0px}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-16{row-gap:4rem}.gap-y-2{row-gap:.5rem}.gap-y-4{row-gap:1rem}.-space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-.25rem * var(--tw-space-x-reverse));margin-left:calc(-.25rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-.5rem * var(--tw-space-x-reverse));margin-left:calc(-.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-16>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4rem * var(--tw-space-x-reverse));margin-left:calc(4rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-x-reverse>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-blue-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(191 219 254 / var(--tw-divide-opacity))}.divide-frost-600>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 103 138 / var(--tw-divide-opacity))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.divide-gray-600>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}.divide-gray-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}.divide-gray-800>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(31 41 55 / var(--tw-divide-opacity))}.divide-green-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(21 128 61 / var(--tw-divide-opacity))}.divide-red-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(185 28 28 / var(--tw-divide-opacity))}.place-self-start{place-self:start}.overflow-auto{overflow:auto}.\!overflow-hidden{overflow:hidden!important}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.\!overflow-visible{overflow:visible!important}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-visible{overflow-y:visible}.\!truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.text-clip{text-overflow:clip}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.\!rounded-full{border-radius:9999px!important}.\!rounded-lg{border-radius:.5rem!important}.\!rounded-md{border-radius:.375rem!important}.\!rounded-none{border-radius:0!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.\!rounded-b-none{border-bottom-right-radius:0!important;border-bottom-left-radius:0!important}.\!rounded-l-none{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.\!rounded-r-none{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-t-sm{border-top-left-radius:.125rem;border-top-right-radius:.125rem}.rounded-bl-lg{border-bottom-left-radius:.5rem}.rounded-br-lg{border-bottom-right-radius:.5rem}.\!border{border-width:1px!important}.\!border-0{border-width:0px!important}.\!border-2{border-width:2px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-y{border-top-width:1px;border-bottom-width:1px}.\!border-l-0{border-left-width:0px!important}.\!border-r-0{border-right-width:0px!important}.\!border-t-0{border-top-width:0px!important}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-r-2{border-right-width:2px}.border-t{border-top-width:1px}.border-t-2{border-top-width:2px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-none{border-style:none}.\!border-blue-500{--tw-border-opacity: 1 !important;border-color:rgb(59 130 246 / var(--tw-border-opacity))!important}.border-\[\#80cbc4\]{--tw-border-opacity: 1;border-color:rgb(128 203 196 / var(--tw-border-opacity))}.border-\[\#99f6e4\]{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-\[\#ffe082\]{--tw-border-opacity: 1;border-color:rgb(255 224 130 / var(--tw-border-opacity))}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-frost-500{--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 192 137 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-b-gray-200{--tw-border-opacity: 1;border-bottom-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-opacity-0{--tw-border-opacity: 0}.border-opacity-100{--tw-border-opacity: 1}.border-opacity-30{--tw-border-opacity: .3}.\!bg-blue-50{--tw-bg-opacity: 1 !important;background-color:rgb(239 246 255 / var(--tw-bg-opacity))!important}.\!bg-blue-50\/75{background-color:#eff6ffbf!important}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-gray-200\/60{background-color:#e5e7eb99!important}.\!bg-gray-300{--tw-bg-opacity: 1 !important;background-color:rgb(209 213 219 / var(--tw-bg-opacity))!important}.\!bg-gray-700{--tw-bg-opacity: 1 !important;background-color:rgb(55 65 81 / var(--tw-bg-opacity))!important}.\!bg-red-100{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.\!bg-transparent{background-color:transparent!important}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.bg-\[\#f0fdfa\]{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-\[\#fff7ed\]{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/20{background-color:#0003}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-50\/50{background-color:#eff6ff80}.bg-blue-50\/60{background-color:#eff6ff99}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-500\/90{background-color:#3b82f6e6}.bg-frost-500{--tw-bg-opacity: 1;background-color:rgb(94 129 172 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-50\/20{background-color:#f9fafb33}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-700\/90{background-color:#374151e6}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-800\/50{background-color:#1f293780}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-500\/90{background-color:#6366f1e6}.bg-orange-100\/40{background-color:#ffedd566}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 192 137 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-100\/80{background-color:#fee2e2cc}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-500\/90{background-color:#ef4444e6}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/40{background-color:#fff6}.bg-white\/60{background-color:#fff9}.bg-white\/70{background-color:#ffffffb3}.bg-white\/90{background-color:#ffffffe6}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-opacity-60{--tw-bg-opacity: .6}.bg-opacity-75{--tw-bg-opacity: .75}.fill-current{fill:currentcolor}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.\!p-0{padding:0!important}.\!p-1{padding:.25rem!important}.\!p-1\.5{padding:.375rem!important}.\!p-\[6px\]{padding:6px!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.\!px-0{padding-left:0!important;padding-right:0!important}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!px-4{padding-left:1rem!important;padding-right:1rem!important}.\!px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.py-\[7px\]{padding-top:7px;padding-bottom:7px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.py-\[9px\]{padding-top:9px;padding-bottom:9px}.\!pl-1{padding-left:.25rem!important}.\!pr-1{padding-right:.25rem!important}.\!pr-10{padding-right:2.5rem!important}.\!pr-12{padding-right:3rem!important}.\!pr-6{padding-right:1.5rem!important}.\!pr-\[26px\]{padding-right:26px!important}.\!pt-0{padding-top:0!important}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pb-80{padding-bottom:20rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-14{padding-left:3.5rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-0\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-6{padding-right:1.5rem}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-10{padding-top:2.5rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.\!text-left{text-align:left!important}.text-left{text-align:left}.\!text-center{text-align:center!important}.text-center{text-align:center}.\!text-right{text-align:right!important}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-main{font-family:Inter,sans-serif}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-2xs{font-size:.7rem!important}.\!text-\[10px\]{font-size:10px!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-2xs{font-size:.7rem}.text-\[1\.2em\]{font-size:1.2em}.text-\[10px\]{font-size:10px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\!font-bold{font-weight:700!important}.\!font-medium{font-weight:500!important}.font-black{font-weight:900}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.\!text-black{--tw-text-opacity: 1 !important;color:rgb(0 0 0 / var(--tw-text-opacity))!important}.\!text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.\!text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}.\!text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.\!text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.\!text-gray-800{--tw-text-opacity: 1 !important;color:rgb(31 41 55 / var(--tw-text-opacity))!important}.\!text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.\!text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.\!text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.text-\[\#14b8a6\]{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-\[\#2e3440\]{--tw-text-opacity: 1;color:rgb(46 52 64 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-frost-500{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.decoration-gray-400{text-decoration-color:#9ca3af}.\!opacity-0{opacity:0!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_10px_40px_-5px_rgba\(0\,0\,0\,0\.25\)\]{--tw-shadow: 0 10px 40px -5px rgba(0,0,0,.25);--tw-shadow-colored: 0 10px 40px -5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-2{outline-width:2px}.outline-offset-0{outline-offset:0px}.outline-offset-1{outline-offset:1px}.outline-blue-500{outline-color:#3b82f6}.outline-blue-600{outline-color:#2563eb}.outline-gray-500{outline-color:#6b7280}.outline-gray-600{outline-color:#4b5563}.outline-indigo-500{outline-color:#6366f1}.outline-indigo-600{outline-color:#4f46e5}.outline-orange-600{outline-color:#ea580c}.outline-slate-900{outline-color:#0f172a}.\!ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--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)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));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)}.grayscale{--tw-grayscale: grayscale(100%);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{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)!important}.filter{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)}.backdrop-blur-\[1px\]{--tw-backdrop-blur: blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.\!transition-none{transition-property:none!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-\[25ms\]{transition-duration:25ms}.duration-\[50ms\]{transition-duration:50ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.separator{background-color:#ddd!important}.center-center{display:flex;justify-content:center;align-items:center}.ellipsize{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsize-multi-line{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.\!disabled{pointer-events:none!important;cursor:default!important;filter:grayscale(1)!important}.disabled{pointer-events:none;cursor:default;filter:grayscale(1)}.scrollbar-hidden{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hidden::-webkit-scrollbar{display:none;width:0px}.\[-webkit-line-clamp\:2\]{-webkit-line-clamp:2}.\[animation-delay\:1000ms\]{animation-delay:1s}.\[font-variant\:small-caps\]{font-variant:small-caps}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-\[2px\]:after{content:var(--tw-content);left:2px}.after\:top-0:after{content:var(--tw-content);top:0px}.after\:top-0\.5:after{content:var(--tw-content);top:.125rem}.after\:h-3:after{content:var(--tw-content);height:.75rem}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-3:after{content:var(--tw-content);width:.75rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.last\:pb-0:last-child{padding-bottom:0}.first-of-type\:rounded-t-md:first-of-type{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.first-of-type\:\!border-t-0:first-of-type{border-top-width:0px!important}.last-of-type\:rounded-b-md:last-of-type{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.last-of-type\:\!border-b-0:last-of-type{border-bottom-width:0px!important}.focus-within\:border-blue-500:focus-within{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus-within\:bg-blue-50:focus-within{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:z-50:hover{z-index:50}.hover\:divide-blue-300:hover>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(147 197 253 / var(--tw-divide-opacity))}.hover\:border:hover{border-width:1px}.hover\:border-\[\#99f6e4\]:hover{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-frost-700:hover{--tw-border-opacity: 1;border-color:rgb(56 77 103 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-gray-900:hover{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-green-700:hover{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-orange-300:hover{--tw-border-opacity: 1;border-color:rgb(253 192 137 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-opacity-100:hover{--tw-border-opacity: 1}.hover\:\!bg-gray-200:hover{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.hover\:\!bg-gray-900:hover{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}.hover\:\!bg-red-200:hover{--tw-bg-opacity: 1 !important;background-color:rgb(254 202 202 / var(--tw-bg-opacity))!important}.hover\:bg-\[\#f0fdfa\]:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.hover\:bg-\[\#fff7ed\]:hover{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-frost-100:hover{--tw-bg-opacity: 1;background-color:rgb(223 230 238 / var(--tw-bg-opacity))}.hover\:bg-frost-700:hover{--tw-bg-opacity: 1;background-color:rgb(56 77 103 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-200\/90:hover{background-color:#e5e7ebe6}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-300\/20:hover{background-color:#d1d5db33}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-gray-900\/90:hover{background-color:#111827e6}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-opacity-30:hover{--tw-bg-opacity: .3}.hover\:text-black:hover{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-frost-700:hover{--tw-text-opacity: 1;color:rgb(56 77 103 / var(--tw-text-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-green-700:hover{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:text-indigo-800:hover{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.hover\:text-red-800:hover{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:drop-shadow-sm:hover{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));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)}.focus\:border-frost-700:focus{--tw-border-opacity: 1;border-color:rgb(56 77 103 / var(--tw-border-opacity))}.focus\:border-gray-900:focus{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.focus\:border-indigo-300:focus{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.focus\:border-red-700:focus{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.focus\:border-opacity-30:focus{--tw-border-opacity: .3}.focus\:\!bg-gray-200:focus{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.focus\:bg-frost-100:focus{--tw-bg-opacity: 1;background-color:rgb(223 230 238 / var(--tw-bg-opacity))}.focus\:bg-frost-700:focus{--tw-bg-opacity: 1;background-color:rgb(56 77 103 / var(--tw-bg-opacity))}.focus\:bg-gray-100:focus{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.focus\:bg-gray-200:focus{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.focus\:bg-gray-600:focus{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.focus\:bg-gray-900:focus{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.focus\:bg-gray-900\/90:focus{background-color:#111827e6}.focus\:bg-indigo-500:focus{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.focus\:text-frost-700:focus{--tw-text-opacity: 1;color:rgb(56 77 103 / var(--tw-text-opacity))}.focus\:text-gray-800:focus{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.focus\:text-gray-900:focus{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-frost-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(158 179 205 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(134 239 172 / var(--tw-ring-opacity))}.focus\:ring-indigo-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(224 231 255 / var(--tw-ring-opacity))}.focus\:ring-indigo-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(252 165 165 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus-visible\:border-red-700:focus-visible{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.focus-visible\:ring-red-700:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(185 28 28 / var(--tw-ring-opacity))}.focus-visible\:ring-opacity-25:focus-visible{--tw-ring-opacity: .25}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:left-40{left:10rem}.sm\:top-6{top:1.5rem}.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:w-2\/3{width:66.666667%}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:gap-4{gap:1rem}.sm\:p-6{padding:1.5rem}.sm\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-8{padding-top:2rem;padding-bottom:2rem}.sm\:pl-6{padding-left:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:mb-10{margin-bottom:2.5rem}.md\:mb-20{margin-bottom:5rem}.md\:mt-6{margin-top:1.5rem}.md\:inline{display:inline}.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:w-2\/3{width:66.666667%}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:justify-between{justify-content:space-between}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:pb-4{padding-bottom:1rem}.md\:pl-0{padding-left:0}.md\:text-base{font-size:1rem;line-height:1.5rem}}@media (min-width: 1024px){.lg\:sticky{position:sticky}.lg\:top-0{top:0px}.lg\:top-8{top:2rem}.lg\:block{display:block}.lg\:flex{display:flex}.lg\:inline-flex{display:inline-flex}.lg\:w-1\/2{width:50%}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:gap-4{gap:1rem}}@media (min-width: 1280px){.xl\:inline{display:inline}}.\[\&\:has\(button\:hover\)\]\:border-gray-400:has(button:hover){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}._toastItem.svelte-95rq8t{width:var(--toastWidth, 16rem);height:var(--toastHeight, auto);min-height:var(--toastMinHeight, 3.5rem);margin:var(--toastMargin, 0 0 .5rem 0);padding:var(--toastPadding, 0);background:var(--toastBackground, rgba(66, 66, 66, .9));color:var(--toastColor, #fff);box-shadow:var( --toastBoxShadow, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06) );border:var(--toastBorder, none);border-radius:var(--toastBorderRadius, .125rem);position:relative;display:flex;flex-direction:row;align-items:center;overflow:hidden;will-change:transform,opacity;-webkit-tap-highlight-color:transparent}._toastMsg.svelte-95rq8t{padding:var(--toastMsgPadding, .75rem .5rem);flex:1 1 0%}.pe.svelte-95rq8t,._toastMsg.svelte-95rq8t a{pointer-events:auto}._toastBtn.svelte-95rq8t{width:var(--toastBtnWidth, 2rem);height:var(--toastBtnHeight, 100%);cursor:pointer;outline:none}._toastBtn.svelte-95rq8t:after{content:var(--toastBtnContent, "✕");font:var(--toastBtnFont, 1rem sans-serif);display:flex;align-items:center;justify-content:center}._toastBar.svelte-95rq8t{top:var(--toastBarTop, auto);right:var(--toastBarRight, auto);bottom:var(--toastBarBottom, 0);left:var(--toastBarLeft, 0);height:var(--toastBarHeight, 6px);width:var(--toastBarWidth, 100%);position:absolute;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;pointer-events:none}._toastBar.svelte-95rq8t::-webkit-progress-bar{background:transparent}._toastBar.svelte-95rq8t::-webkit-progress-value{background:var(--toastProgressBackground, var(--toastBarBackground, rgba(33, 150, 243, .75)))}._toastBar.svelte-95rq8t::-moz-progress-bar{background:var(--toastProgressBackground, var(--toastBarBackground, rgba(33, 150, 243, .75)))}._toastContainer.svelte-1u812xz{top:var(--toastContainerTop, 1.5rem);right:var(--toastContainerRight, 2rem);bottom:var(--toastContainerBottom, auto);left:var(--toastContainerLeft, auto);position:fixed;margin:0;padding:0;list-style-type:none;pointer-events:none;z-index:var(--toastContainerZIndex, 9999)}.fa-icon.svelte-1mc5hvj{display:inline-block;fill:currentColor}.fa-flip-horizontal.svelte-1mc5hvj{transform:scaleX(-1)}.fa-flip-vertical.svelte-1mc5hvj{transform:scaleY(-1)}.fa-spin.svelte-1mc5hvj{animation:svelte-1mc5hvj-fa-spin 1s 0s infinite linear}.fa-inverse.svelte-1mc5hvj{color:#fff}.fa-pulse.svelte-1mc5hvj{animation:svelte-1mc5hvj-fa-spin 1s infinite steps(8)}@keyframes svelte-1mc5hvj-fa-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.langtag.svelte-11sh29b{position:relative}.langtag.svelte-11sh29b:after{content:attr(data-language);position:absolute;top:0;right:0;padding:1em;display:flex;align-items:center;justify-content:center;background:var(--langtag-background, inherit);color:var(--langtag-color, inherit);border-radius:var(--langtag-border-radius)}pre.svelte-1vh31p0.svelte-1vh31p0{margin:0}table.svelte-1vh31p0.svelte-1vh31p0,tr.svelte-1vh31p0.svelte-1vh31p0,td.svelte-1vh31p0.svelte-1vh31p0{padding:0;border:0;margin:0;vertical-align:baseline}table.svelte-1vh31p0.svelte-1vh31p0{width:100%;border-collapse:collapse;border-spacing:0}tr.svelte-1vh31p0:first-of-type td.svelte-1vh31p0{padding-top:1em}tr.svelte-1vh31p0:last-child td.svelte-1vh31p0{padding-bottom:1em}tr.svelte-1vh31p0 td.svelte-1vh31p0:first-of-type{z-index:2}td.svelte-1vh31p0.svelte-1vh31p0{padding-left:var(--padding-left, 1em);padding-right:var(--padding-right, 1em)}td.hljs.svelte-1vh31p0.svelte-1vh31p0:not(.hideBorder):after{content:"";position:absolute;top:0;right:0;width:1px;height:100%;background:var(--border-color, currentColor)}.wrapLines.svelte-1vh31p0.svelte-1vh31p0{white-space:pre-wrap}td.svelte-1vh31p0.svelte-1vh31p0,td.svelte-1vh31p0>code.svelte-1vh31p0,pre.svelte-1vh31p0.svelte-1vh31p0{position:relative}td.svelte-1vh31p0>code.svelte-1vh31p0,pre.svelte-1vh31p0.svelte-1vh31p0{z-index:1}.line-background.svelte-1vh31p0.svelte-1vh31p0{position:absolute;z-index:0;top:0;left:0;width:100%;height:100%}tr.svelte-1vh31p0:first-of-type td .line-background.svelte-1vh31p0,tr.svelte-1vh31p0:last-of-type td .line-background.svelte-1vh31p0{height:calc(100% - 1em)}tr.svelte-1vh31p0:first-of-type td .line-background.svelte-1vh31p0{top:1em}tr.svelte-1vh31p0:last-of-type td .line-background.svelte-1vh31p0{bottom:1em}.drawer.svelte-t18bd6.svelte-t18bd6{position:fixed;top:0;left:0;height:100%;width:100%;z-index:-1;transition:z-index var(--duration) step-end;overflow:clip;pointer-events:none}.drawer.open.svelte-t18bd6.svelte-t18bd6{height:100%;width:100%;z-index:1002;transition:z-index var(--duration) step-start;pointer-events:auto}.overlay.svelte-t18bd6.svelte-t18bd6{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(100,100,100,.5);opacity:0;z-index:2;transition:opacity var(--duration) ease}.drawer.open.svelte-t18bd6>.overlay.svelte-t18bd6{opacity:1}.drawer.close.svelte-t18bd6>.panel.svelte-t18bd6{height:0;overflow:hidden}.panel.svelte-t18bd6.svelte-t18bd6{position:fixed;width:100%;background:white;z-index:3;transition:transform var(--duration) ease}.panel.left.svelte-t18bd6.svelte-t18bd6{left:0;transform:translate(-100%)}.panel.right.svelte-t18bd6.svelte-t18bd6{right:0;transform:translate(100%)}.panel.top.svelte-t18bd6.svelte-t18bd6{top:0;transform:translateY(-100%)}.panel.bottom.svelte-t18bd6.svelte-t18bd6{bottom:0;transform:translateY(100%)}.panel.left.size.svelte-t18bd6.svelte-t18bd6,.panel.right.size.svelte-t18bd6.svelte-t18bd6{max-width:var(--size)}.panel.top.size.svelte-t18bd6.svelte-t18bd6,.panel.bottom.size.svelte-t18bd6.svelte-t18bd6{max-height:var(--size)}.drawer.open.svelte-t18bd6>.panel.svelte-t18bd6{transform:translate(0)}ul.svelte-z8t461{list-style:none;font-size:.875rem;line-height:1.25rem}.val.undefined.svelte-z8t461,.val.null.svelte-z8t461{--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity))}.val.string.svelte-z8t461{--tw-text-opacity:1;color:rgb(22 163 74 / var(--tw-text-opacity))}.val.number.svelte-z8t461{--tw-text-opacity:1;color:rgb(234 88 12 / var(--tw-text-opacity))}.val.boolean.svelte-z8t461{--tw-text-opacity:1;color:rgb(37 99 235 / var(--tw-text-opacity))}div.splitpanes--horizontal.splitpanes--dragging{cursor:row-resize}div.splitpanes--vertical.splitpanes--dragging{cursor:col-resize}.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging *{user-select:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--vertical>.splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal>.splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none;pointer-events:none}.splitpanes--freeze .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;cursor:col-resize}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;cursor:row-resize}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);background-color:var(--vscode-editor-background)}.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground, inherit)}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset}.mtkcontrol{color:#fff!important;background:rgb(150,0,0)!important}.mtkoverflow{background-color:var(--vscode-button-background, --vscode-editor-background);color:var(--vscode-button-foreground, --vscode-editor-foreground);border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkw{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}:root{--vscode-sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.hover:before,.monaco-sash.active:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign,.monaco-editor.hc-light .insert-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-editor .char-insert,.monaco-diff-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-diff-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-editor .char-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .line-insert,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-light .char-insert{border-style:dashed}.monaco-editor .line-delete,.monaco-editor .char-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-black .char-delete,.monaco-editor.hc-light .char-delete{border-style:dashed}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .gutter-insert,.monaco-diff-editor .gutter-insert{background-color:var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-delete,.monaco-diff-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .line-delete,.monaco-diff-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .gutter-delete,.monaco-diff-editor .gutter-delete{background-color:var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-select-box-dropdown-padding{--dropdown-padding-top: 1px;--dropdown-padding-bottom: 1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top: 3px;--dropdown-padding-bottom: 4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px #0F4A85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-light .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls,.hc-light .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls,.hc-light .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border, transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus,.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border, transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-label,.monaco-description-button .monaco-button-description{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-label>.codicon,.monaco-description-button .monaco-button-description>.codicon{margin:0 .2em;color:inherit!important}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}@font-face{font-family:codicon;font-display:block;src:url(/assets/codicon-9420d58f.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-value,.monaco-editor .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-enum{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:500px;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:-1}.context-view-pointerBlock{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:2}.action-widget .monaco-list{user-select:none;-webkit-user-select:none;border:none!important;border-width:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder, transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-pickerGroup-foreground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled:before,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action.option-disabled .codicon{opacity:.4}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:solid .1em #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:solid .1em #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .zone-widget .codicon.codicon-error,.markers-panel .marker-icon.error,.markers-panel .marker-icon .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.extension-editor .codicon.codicon-error,.preferences-editor .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-warning,.markers-panel .marker-icon.warning,.markers-panel .marker-icon .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.extension-editor .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-info,.markers-panel .marker-icon.info,.markers-panel .marker-icon .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.extension-editor .codicon.codicon-info,.preferences-editor .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-editor.vs .dnd-target,.monaco-editor.hc-light .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed{transition:initial}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder, transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);border-left-color:var(--vscode-editor-linkedEditingBackground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input{padding:3px;border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-line{color:var(--vscode-editorLineNumber-foreground);overflow:hidden;white-space:nowrap;display:inline-block}.monaco-editor .sticky-line-number{text-align:right;float:left}.monaco-editor .sticky-line-root{background-color:inherit;overflow:hidden;white-space:nowrap;width:100%}.monaco-editor.hc-black .sticky-widget,.monaco-editor.hc-light .sticky-widget{border-bottom:1px solid var(--vscode-contrastBorder)}.monaco-editor .sticky-line-root:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:center center;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll;color:var(--vscode-editorWidget-foreground);background-color:var(--vscode-editorWidget-background);box-shadow:0 2px 8px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.editor.svelte-excc6k{border-radius:.5rem;padding:0}.small-editor.svelte-excc6k{height:26vh}.few-lines-editor.svelte-excc6k{height:100px}svg.svelte-qbd276{width:var(--chevron-icon-width, 20px);height:var(--chevron-icon-width, 20px);color:var(--chevron-icon-colour, currentColor)}svg.svelte-whdbu1{width:var(--clear-icon-width, 20px);height:var(--clear-icon-width, 20px);color:var(--clear-icon-color, currentColor)}.loading.svelte-1p3nqvd{width:var(--spinner-width, 20px);height:var(--spinner-height, 20px);color:var(--spinner-color, var(--icons-color));animation:svelte-1p3nqvd-rotate .75s linear infinite;transform-origin:center center;transform:none}.circle_path.svelte-1p3nqvd{stroke-dasharray:90;stroke-linecap:round}@keyframes svelte-1p3nqvd-rotate{to{transform:rotate(360deg)}}.svelte-select.svelte-apvs86.svelte-apvs86.svelte-apvs86{--borderRadius:var(--border-radius);--clearSelectColor:var(--clear-select-color);--clearSelectWidth:var(--clear-select-width);--disabledBackground:var(--disabled-background);--disabledBorderColor:var(--disabled-border-color);--disabledColor:var(--disabled-color);--disabledPlaceholderColor:var(--disabled-placeholder-color);--disabledPlaceholderOpacity:var(--disabled-placeholder-opacity);--errorBackground:var(--error-background);--errorBorder:var(--error-border);--groupItemPaddingLeft:var(--group-item-padding-left);--groupTitleColor:var(--group-title-color);--groupTitleFontSize:var(--group-title-font-size);--groupTitleFontWeight:var(--group-title-font-weight);--groupTitlePadding:var(--group-title-padding);--groupTitleTextTransform:var(--group-title-text-transform);--indicatorColor:var(--chevron-color);--indicatorHeight:var(--chevron-height);--indicatorWidth:var(--chevron-width);--inputColor:var(--input-color);--inputLeft:var(--input-left);--inputLetterSpacing:var(--input-letter-spacing);--inputMargin:var(--input-margin);--inputPadding:var(--input-padding);--itemActiveBackground:var(--item-active-background);--itemColor:var(--item-color);--itemFirstBorderRadius:var(--item-first-border-radius);--itemHoverBG:var(--item-hover-bg);--itemHoverColor:var(--item-hover-color);--itemIsActiveBG:var(--item-is-active-bg);--itemIsActiveColor:var(--item-is-active-color);--itemIsNotSelectableColor:var(--item-is-not-selectable-color);--itemPadding:var(--item-padding);--listBackground:var(--list-background);--listBorder:var(--list-border);--listBorderRadius:var(--list-border-radius);--listEmptyColor:var(--list-empty-color);--listEmptyPadding:var(--list-empty-padding);--listEmptyTextAlign:var(--list-empty-text-align);--listMaxHeight:var(--list-max-height);--listPosition:var(--list-position);--listShadow:var(--list-shadow);--listZIndex:var(--list-z-index);--multiItemBG:var(--multi-item-bg);--multiItemBorderRadius:var(--multi-item-border-radius);--multiItemDisabledHoverBg:var(--multi-item-disabled-hover-bg);--multiItemDisabledHoverColor:var(--multi-item-disabled-hover-color);--multiItemHeight:var(--multi-item-height);--multiItemMargin:var(--multi-item-margin);--multiItemPadding:var(--multi-item-padding);--multiSelectInputMargin:var(--multi-select-input-margin);--multiSelectInputPadding:var(--multi-select-input-padding);--multiSelectPadding:var(--multi-select-padding);--placeholderColor:var(--placeholder-color);--placeholderOpacity:var(--placeholder-opacity);--selectedItemPadding:var(--selected-item-padding);--spinnerColor:var(--spinner-color);--spinnerHeight:var(--spinner-height);--spinnerWidth:var(--spinner-width);--internal-padding:0 0 0 16px;border:var(--border, 1px solid #d8dbdf);border-radius:var(--border-radius, 6px);min-height:var(--height, 42px);position:relative;display:flex;align-items:stretch;padding:var(--padding, var(--internal-padding));background:var(--background, #fff);margin:var(--margin, 0);width:var(--width, 100%);font-size:var(--font-size, 16px);max-height:var(--max-height)}.svelte-apvs86.svelte-apvs86.svelte-apvs86{box-sizing:var(--box-sizing, border-box)}.svelte-select.svelte-apvs86.svelte-apvs86.svelte-apvs86:hover{border:var(--border-hover, 1px solid #b2b8bf)}.value-container.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;flex:1 1 0%;flex-wrap:wrap;align-items:center;gap:5px 10px;padding:var(--value-container-padding, 5px 0);position:relative;overflow:var(--value-container-overflow, hidden);align-self:stretch}.prepend.svelte-apvs86.svelte-apvs86.svelte-apvs86,.indicators.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;flex-shrink:0;align-items:center}.indicators.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:var(--indicators-position);top:var(--indicators-top);right:var(--indicators-right);bottom:var(--indicators-bottom)}input.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:absolute;cursor:default;border:none;color:var(--input-color, var(--item-color));padding:var(--input-padding, 0);letter-spacing:var(--input-letter-spacing, inherit);margin:var(--input-margin, 0);min-width:10px;top:0;right:0;bottom:0;left:0;background:transparent;font-size:var(--font-size, 16px)}.svelte-apvs86:not(.multi)>.value-container.svelte-apvs86>input.svelte-apvs86{width:100%;height:100%}input.svelte-apvs86.svelte-apvs86.svelte-apvs86::placeholder{color:var(--placeholder-color, #78848f);opacity:var(--placeholder-opacity, 1)}input.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:none}.svelte-select.focused.svelte-apvs86.svelte-apvs86.svelte-apvs86{border:var(--border-focused, 1px solid #006fe8);border-radius:var(--border-radius-focused, var(--border-radius, 6px))}.disabled.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--disabled-background, #ebedef);border-color:var(--disabled-border-color, #ebedef);color:var(--disabled-color, #c1c6cc)}.disabled.svelte-apvs86 input.svelte-apvs86.svelte-apvs86::placeholder{color:var(--disabled-placeholder-color, #c1c6cc);opacity:var(--disabled-placeholder-opacity, 1)}.selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{position:relative;overflow:var(--selected-item-overflow, hidden);padding:var(--selected-item-padding, 0 20px 0 0);text-overflow:ellipsis;white-space:nowrap;color:var(--selected-item-color, inherit);font-size:var(--font-size, 16px)}.multi.svelte-apvs86 .selected-item.svelte-apvs86.svelte-apvs86{position:absolute;line-height:var(--height, 42px);height:var(--height, 42px)}.selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:none}.hide-selected-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0}.icon.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;align-items:center;justify-content:center}.clear-select.svelte-apvs86.svelte-apvs86.svelte-apvs86{all:unset;display:flex;align-items:center;justify-content:center;width:var(--clear-select-width, 40px);height:var(--clear-select-height, 100%);color:var(--clear-select-color, var(--icons-color));margin:var(--clear-select-margin, 0);pointer-events:all;flex-shrink:0}.clear-select.svelte-apvs86.svelte-apvs86.svelte-apvs86:focus{outline:var(--clear-select-focus-outline, 1px solid #006fe8)}.loading.svelte-apvs86.svelte-apvs86.svelte-apvs86{width:var(--loading-width, 40px);height:var(--loading-height);color:var(--loading-color, var(--icons-color));margin:var(--loading--margin, 0);flex-shrink:0}.chevron.svelte-apvs86.svelte-apvs86.svelte-apvs86{width:var(--chevron-width, 40px);height:var(--chevron-height, 40px);background:var(--chevron-background, transparent);pointer-events:var(--chevron-pointer-events, none);color:var(--chevron-color, var(--icons-color));border:var(--chevron-border, 0 0 0 1px solid #d8dbdf);flex-shrink:0}.multi.svelte-apvs86.svelte-apvs86.svelte-apvs86{padding:var(--multi-select-padding, var(--internal-padding))}.multi.svelte-apvs86 input.svelte-apvs86.svelte-apvs86{padding:var(--multi-select-input-padding, 0);position:relative;margin:var(--multi-select-input-margin, 5px 0);flex:1 1 40px}.svelte-select.error.svelte-apvs86.svelte-apvs86.svelte-apvs86{border:var(--error-border, 1px solid #ff2d55);background:var(--error-background, #fff)}.a11y-text.svelte-apvs86.svelte-apvs86.svelte-apvs86{z-index:9999;border:0px;clip:rect(1px,1px,1px,1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap}.multi-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--multi-item-bg, #ebedef);margin:var(--multi-item-margin, 0);outline:var(--multi-item-outline, 1px solid #ddd);border-radius:var(--multi-item-border-radius, 4px);height:var(--multi-item-height, 25px);line-height:var(--multi-item-height, 25px);display:flex;cursor:default;padding:var(--multi-item-padding, 0 5px);overflow:hidden;gap:var(--multi-item-gap, 4px);outline-offset:-1px;max-width:var(--multi-max-width, none);color:var(--multi-item-color, var(--item-color))}.multi-item.disabled.svelte-apvs86.svelte-apvs86.svelte-apvs86:hover{background:var(--multi-item-disabled-hover-bg, #ebedef);color:var(--multi-item-disabled-hover-color, #c1c6cc)}.multi-item-text.svelte-apvs86.svelte-apvs86.svelte-apvs86{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-item-clear.svelte-apvs86.svelte-apvs86.svelte-apvs86{display:flex;align-items:center;justify-content:center;--clear-icon-color:var(--multi-item-clear-icon-color, #000)}.multi-item.active.svelte-apvs86.svelte-apvs86.svelte-apvs86{outline:var(--multi-item-active-outline, 1px solid #006fe8)}.svelte-select-list.svelte-apvs86.svelte-apvs86.svelte-apvs86{box-shadow:var(--list-shadow, 0 2px 3px 0 rgba(44, 62, 80, .24));border-radius:var(--list-border-radius, 4px);max-height:var(--list-max-height, 252px);overflow-y:auto;background:var(--list-background, #fff);position:var(--list-position, absolute);z-index:var(--list-z-index, 2);border:var(--list-border)}.prefloat.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0;pointer-events:none}.list-group-title.svelte-apvs86.svelte-apvs86.svelte-apvs86{color:var(--group-title-color, #8f8f8f);cursor:default;font-size:var(--group-title-font-size, 16px);font-weight:var(--group-title-font-weight, 600);height:var(--height, 42px);line-height:var(--height, 42px);padding:var(--group-title-padding, 0 20px);text-overflow:ellipsis;overflow-x:hidden;white-space:nowrap;text-transform:var(--group-title-text-transform, uppercase)}.empty.svelte-apvs86.svelte-apvs86.svelte-apvs86{text-align:var(--list-empty-text-align, center);padding:var(--list-empty-padding, 20px 0);color:var(--list-empty-color, #78848f)}.item.svelte-apvs86.svelte-apvs86.svelte-apvs86{cursor:default;height:var(--item-height, var(--height, 42px));line-height:var(--item-line-height, var(--height, 42px));padding:var(--item-padding, 0 20px);color:var(--item-color, inherit);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;transition:var(--item-transition, all .2s);align-items:center;width:100%}.item.group-item.svelte-apvs86.svelte-apvs86.svelte-apvs86{padding-left:var(--group-item-padding-left, 40px)}.item.svelte-apvs86.svelte-apvs86.svelte-apvs86:active{background:var(--item-active-background, #b9daff)}.item.active.svelte-apvs86.svelte-apvs86.svelte-apvs86{background:var(--item-is-active-bg, #007aff);color:var(--item-is-active-color, #fff)}.item.first.svelte-apvs86.svelte-apvs86.svelte-apvs86{border-radius:var(--item-first-border-radius, 4px 4px 0 0)}.item.hover.svelte-apvs86.svelte-apvs86.svelte-apvs86:not(.active){background:var(--item-hover-bg, #e7f2ff);color:var(--item-hover-color, inherit)}.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.hover.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.active.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86,.item.not-selectable.svelte-apvs86.svelte-apvs86.svelte-apvs86:active{color:var(--item-is-not-selectable-color, #999);background:transparent}.required.svelte-apvs86.svelte-apvs86.svelte-apvs86{opacity:0;z-index:-1;position:absolute;top:0;left:0;bottom:0;right:0}.autocomplete.svelte-75ckfb.svelte-75ckfb{min-width:200px;display:inline-block;max-width:100%;position:relative;vertical-align:top;height:2.25em}.autocomplete.svelte-75ckfb.svelte-75ckfb:not(.hide-arrow):not(.is-loading):after{border:3px solid;border-radius:2px;border-right:0;border-top:0;content:" ";display:block;height:.625em;margin-top:-.4375em;pointer-events:none;position:absolute;top:50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:center;transform-origin:center;width:.625em;border-color:#3273dc;right:1.125em;z-index:4}.autocomplete.show-clear.svelte-75ckfb.svelte-75ckfb:not(.hide-arrow):after{right:2.3em}.autocomplete.svelte-75ckfb .svelte-75ckfb{box-sizing:border-box}.autocomplete-input.svelte-75ckfb.svelte-75ckfb{font:inherit;width:100%;height:100%;padding:5px 11px}.autocomplete.svelte-75ckfb:not(.hide-arrow) .autocomplete-input.svelte-75ckfb{padding-right:2em}.autocomplete.show-clear.svelte-75ckfb:not(.hide-arrow) .autocomplete-input.svelte-75ckfb{padding-right:3.2em}.autocomplete.hide-arrow.show-clear.svelte-75ckfb .autocomplete-input.svelte-75ckfb{padding-right:2em}.autocomplete-list.svelte-75ckfb.svelte-75ckfb{background:#fff;position:relative;width:100%;overflow-y:auto;z-index:99;padding:10px 0;top:0px;border:1px solid #999;max-height:calc(15*(1rem + 10px) + 15px);user-select:none}.autocomplete-list.svelte-75ckfb.svelte-75ckfb:empty{padding:0}.autocomplete-list-item.svelte-75ckfb.svelte-75ckfb{padding:5px 15px;color:#333;cursor:pointer;line-height:1}.autocomplete-list-item.confirmed.svelte-75ckfb.svelte-75ckfb{background-color:#789fed;color:#fff}.autocomplete-list-item.selected.svelte-75ckfb.svelte-75ckfb{background-color:#2e69e2;color:#fff}.autocomplete-list-item-no-results.svelte-75ckfb.svelte-75ckfb{padding:5px 15px;color:#999;line-height:1}.autocomplete-list-item-create.svelte-75ckfb.svelte-75ckfb,.autocomplete-list-item-loading.svelte-75ckfb.svelte-75ckfb{padding:5px 15px;line-height:1}.autocomplete-list.hidden.svelte-75ckfb.svelte-75ckfb{visibility:hidden}.autocomplete.show-clear.svelte-75ckfb .autocomplete-clear-button.svelte-75ckfb{cursor:pointer;display:block;text-align:center;position:absolute;right:.1em;padding:.3em .6em;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);z-index:4}.autocomplete.svelte-75ckfb:not(.show-clear) .autocomplete-clear-button.svelte-75ckfb{display:none}.autocomplete.svelte-75ckfb select.svelte-75ckfb{display:none}.autocomplete.is-multiple.svelte-75ckfb .input-container.svelte-75ckfb{height:auto;box-shadow:inset 0 1px 2px #0a0a0a1a;border-radius:4px;border:1px solid #b5b5b5;padding-left:.4em;padding-right:.4em;display:flex;flex-wrap:wrap;align-items:stretch;background-color:#fff}.autocomplete.is-multiple.svelte-75ckfb .tag.svelte-75ckfb{display:flex;margin-top:.5em;margin-bottom:.3em}.autocomplete.is-multiple.svelte-75ckfb .tag.is-delete.svelte-75ckfb{cursor:pointer}.autocomplete.is-multiple.svelte-75ckfb .tags.svelte-75ckfb{margin-right:.3em;margin-bottom:0}.autocomplete.is-multiple.svelte-75ckfb .autocomplete-input.svelte-75ckfb{display:flex;width:100%;flex:1 1 50px;min-width:3em;border:none;box-shadow:none;background:none}input.svelte-zfuteo:disabled{background:rgba(200,200,200,.267)}.svelte-select-list{font-size:small!important}.range.svelte-1y0hlf5.svelte-1y0hlf5{position:relative;flex:1}.range__wrapper.svelte-1y0hlf5.svelte-1y0hlf5{min-width:100%;position:relative;padding:.5rem;box-sizing:border-box;outline:none}.range__wrapper.svelte-1y0hlf5:focus-visible>.range__track.svelte-1y0hlf5{box-shadow:0 0 0 2px #fff,0 0 0 3px var(--track-focus, #6185ff)}.range__track.svelte-1y0hlf5.svelte-1y0hlf5{height:6px;background-color:var(--track-bgcolor, #d0d0d0);border-radius:999px}.range__track--highlighted.svelte-1y0hlf5.svelte-1y0hlf5{background-color:var(--track-highlight-bgcolor, #6185ff);background:var(--track-highlight-bg, linear-gradient(90deg, #6185ff, #9c65ff));width:0;height:6px;position:absolute;border-radius:999px}.range__thumb.svelte-1y0hlf5.svelte-1y0hlf5{display:flex;align-items:center;justify-content:center;position:absolute;width:20px;height:20px;background-color:var(--thumb-bgcolor, white);cursor:pointer;border-radius:999px;margin-top:-8px;transition:box-shadow .1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-shadow:var( --thumb-boxshadow, 0 1px 1px 0 rgba(0, 0, 0, .14), 0 0px 2px 1px rgba(0, 0, 0, .2) )}.range__thumb--holding.svelte-1y0hlf5.svelte-1y0hlf5{box-shadow:0 1px 1px #00000024,0 1px 2px 1px #0003,0 0 0 6px var(--thumb-holding-outline, rgba(113, 119, 250, .3))}.range__tooltip.svelte-1y0hlf5.svelte-1y0hlf5{pointer-events:none;position:absolute;top:-33px;color:var(--tooltip-text, white);width:38px;padding:4px 0;border-radius:4px;text-align:center;background-color:var(--tooltip-bgcolor, #6185ff);background:var(--tooltip-bg, linear-gradient(45deg, #6185ff, #9c65ff))}.range__tooltip.svelte-1y0hlf5.svelte-1y0hlf5:after{content:"";display:block;position:absolute;height:7px;width:7px;background-color:var(--tooltip-bgcolor, #6185ff);bottom:-3px;left:calc(50% - 3px);-webkit-clip-path:polygon(0% 0%,100% 100%,0% 100%);clip-path:polygon(0% 0%,100% 100%,0% 100%);transform:rotate(-45deg);border-radius:0 0 0 3px} diff --git a/cli/devassets/assets/index-7dd803f3.js b/cli/devassets/assets/index-7dd803f3.js deleted file mode 100644 index b8c308b813..0000000000 --- a/cli/devassets/assets/index-7dd803f3.js +++ /dev/null @@ -1,5435 +0,0 @@ -var Ir=Object.defineProperty;var Tr=(B,_,I)=>_ in B?Ir(B,_,{enumerable:!0,configurable:!0,writable:!0,value:I}):B[_]=I;var At=(B,_,I)=>(Tr(B,typeof _!="symbol"?_+"":_,I),I),Tn=(B,_,I)=>{if(!_.has(B))throw TypeError("Cannot "+I)};var Tt=(B,_,I)=>(Tn(B,_,"read from private field"),I?I.call(B):_.get(B)),ai=(B,_,I)=>{if(_.has(B))throw TypeError("Cannot add the same private member more than once");_ instanceof WeakSet?_.add(B):_.set(B,I)},Yt=(B,_,I,A)=>(Tn(B,_,"write to private field"),A?A.call(B,I):_.set(B,I),I);(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const N of document.querySelectorAll('link[rel="modulepreload"]'))A(N);new MutationObserver(N=>{for(const U of N)if(U.type==="childList")for(const K of U.addedNodes)K.tagName==="LINK"&&K.rel==="modulepreload"&&A(K)}).observe(document,{childList:!0,subtree:!0});function I(N){const U={};return N.integrity&&(U.integrity=N.integrity),N.referrerPolicy&&(U.referrerPolicy=N.referrerPolicy),N.crossOrigin==="use-credentials"?U.credentials="include":N.crossOrigin==="anonymous"?U.credentials="omit":U.credentials="same-origin",U}function A(N){if(N.ep)return;N.ep=!0;const U=I(N);fetch(N.href,U)}})();const tailwind="";function noop(){}const identity=B=>B;function assign(B,_){for(const I in _)B[I]=_[I];return B}function run(B){return B()}function blank_object(){return Object.create(null)}function run_all(B){B.forEach(run)}function is_function(B){return typeof B=="function"}function safe_not_equal(B,_){return B!=B?_==_:B!==_||B&&typeof B=="object"||typeof B=="function"}let src_url_equal_anchor;function src_url_equal(B,_){return src_url_equal_anchor||(src_url_equal_anchor=document.createElement("a")),src_url_equal_anchor.href=_,B===src_url_equal_anchor.href}function is_empty(B){return Object.keys(B).length===0}function subscribe(B,..._){if(B==null)return noop;const I=B.subscribe(..._);return I.unsubscribe?()=>I.unsubscribe():I}function get_store_value(B){let _;return subscribe(B,I=>_=I)(),_}function component_subscribe(B,_,I){B.$$.on_destroy.push(subscribe(_,I))}function create_slot(B,_,I,A){if(B){const N=get_slot_context(B,_,I,A);return B[0](N)}}function get_slot_context(B,_,I,A){return B[1]&&A?assign(I.ctx.slice(),B[1](A(_))):I.ctx}function get_slot_changes(B,_,I,A){if(B[2]&&A){const N=B[2](A(I));if(_.dirty===void 0)return N;if(typeof N=="object"){const U=[],K=Math.max(_.dirty.length,N.length);for(let j=0;j32){const _=[],I=B.ctx.length/32;for(let A=0;Awindow.performance.now():()=>Date.now(),raf=is_client?B=>requestAnimationFrame(B):noop;const tasks=new Set;function run_tasks(B){tasks.forEach(_=>{_.c(B)||(tasks.delete(_),_.f())}),tasks.size!==0&&raf(run_tasks)}function loop(B){let _;return tasks.size===0&&raf(run_tasks),{promise:new Promise(I=>{tasks.add(_={c:B,f:I})}),abort(){tasks.delete(_)}}}const globals$1=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function append$2(B,_){B.appendChild(_)}function get_root_for_style(B){if(!B)return document;const _=B.getRootNode?B.getRootNode():B.ownerDocument;return _&&_.host?_:B.ownerDocument}function append_empty_stylesheet(B){const _=element("style");return append_stylesheet(get_root_for_style(B),_),_.sheet}function append_stylesheet(B,_){return append$2(B.head||B,_),_.sheet}function insert(B,_,I){B.insertBefore(_,I||null)}function detach(B){B.parentNode&&B.parentNode.removeChild(B)}function destroy_each(B,_){for(let I=0;IB.removeEventListener(_,I,A)}function prevent_default(B){return function(_){return _.preventDefault(),B.call(this,_)}}function stop_propagation(B){return function(_){return _.stopPropagation(),B.call(this,_)}}function attr(B,_,I){I==null?B.removeAttribute(_):B.getAttribute(_)!==I&&B.setAttribute(_,I)}const always_set_through_set_attribute=["width","height"];function set_attributes(B,_){const I=Object.getOwnPropertyDescriptors(B.__proto__);for(const A in _)_[A]==null?B.removeAttribute(A):A==="style"?B.style.cssText=_[A]:A==="__value"?B.value=B[A]=_[A]:I[A]&&I[A].set&&always_set_through_set_attribute.indexOf(A)===-1?B[A]=_[A]:attr(B,A,_[A])}function set_svg_attributes(B,_){for(const I in _)attr(B,I,_[I])}function set_custom_element_data_map(B,_){Object.keys(_).forEach(I=>{set_custom_element_data(B,I,_[I])})}function set_custom_element_data(B,_,I){_ in B?B[_]=typeof B[_]=="boolean"&&I===""?!0:I:attr(B,_,I)}function set_dynamic_element_data(B){return/-/.test(B)?set_custom_element_data_map:set_attributes}function init_binding_group(B){let _;return{p(...I){_=I,_.forEach(A=>B.push(A))},r(){_.forEach(I=>B.splice(B.indexOf(I),1))}}}function to_number(B){return B===""?null:+B}function children(B){return Array.from(B.childNodes)}function set_data(B,_){_=""+_,B.data!==_&&(B.data=_)}function set_input_value(B,_){B.value=_??""}function set_style(B,_,I,A){I==null?B.style.removeProperty(_):B.style.setProperty(_,I,A?"important":"")}function select_option(B,_,I){for(let A=0;A{K.source===A.contentWindow&&_()})):(A.src="about:blank",A.onload=()=>{U=listen(A.contentWindow,"resize",_),_()}),append$2(B,A),()=>{(N||U&&A.contentWindow)&&U(),detach(A)}}function toggle_class(B,_,I){B.classList[I?"add":"remove"](_)}function custom_event(B,_,{bubbles:I=!1,cancelable:A=!1}={}){const N=document.createEvent("CustomEvent");return N.initCustomEvent(B,I,A,_),N}class HtmlTag{constructor(_=!1){this.is_svg=!1,this.is_svg=_,this.e=this.n=null}c(_){this.h(_)}m(_,I,A=null){this.e||(this.is_svg?this.e=svg_element(I.nodeName):this.e=element(I.nodeType===11?"TEMPLATE":I.nodeName),this.t=I.tagName!=="TEMPLATE"?I:I.content,this.c(_)),this.i(A)}h(_){this.e.innerHTML=_,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(_){for(let I=0;I>>0}function create_style_information(B,_){const I={stylesheet:append_empty_stylesheet(_),rules:{}};return managed_styles.set(B,I),I}function create_rule(B,_,I,A,N,U,K,j=0){const q=16.666/A;let G=`{ -`;for(let ie=0;ie<=1;ie+=q){const ne=_+(I-_)*U(ie);G+=ie*100+`%{${K(ne,1-ne)}} -`}const Z=G+`100% {${K(I,1-I)}} -}`,Y=`__svelte_${hash$3(Z)}_${j}`,Q=get_root_for_style(B),{stylesheet:J,rules:ee}=managed_styles.get(Q)||create_style_information(Q,B);ee[Y]||(ee[Y]=!0,J.insertRule(`@keyframes ${Y} ${Z}`,J.cssRules.length));const te=B.style.animation||"";return B.style.animation=`${te?`${te}, `:""}${Y} ${A}ms linear ${N}ms 1 both`,active+=1,Y}function delete_rule(B,_){const I=(B.style.animation||"").split(", "),A=I.filter(_?U=>U.indexOf(_)<0:U=>U.indexOf("__svelte")===-1),N=I.length-A.length;N&&(B.style.animation=A.join(", "),active-=N,active||clear_rules())}function clear_rules(){raf(()=>{active||(managed_styles.forEach(B=>{const{ownerNode:_}=B.stylesheet;_&&detach(_)}),managed_styles.clear())})}function create_animation(B,_,I,A){if(!_)return noop;const N=B.getBoundingClientRect();if(_.left===N.left&&_.right===N.right&&_.top===N.top&&_.bottom===N.bottom)return noop;const{delay:U=0,duration:K=300,easing:j=identity,start:q=now()+U,end:G=q+K,tick:Z=noop,css:Y}=I(B,{from:_,to:N},A);let Q=!0,J=!1,ee;function te(){Y&&(ee=create_rule(B,0,1,K,U,j,Y)),U||(J=!0)}function ie(){Y&&delete_rule(B,ee),Q=!1}return loop(ne=>{if(!J&&ne>=q&&(J=!0),J&&ne>=G&&(Z(1,0),ie()),!Q)return!1;if(J){const re=ne-q,oe=0+1*j(re/K);Z(oe,1-oe)}return!0}),te(),Z(0,1),ie}function fix_position(B){const _=getComputedStyle(B);if(_.position!=="absolute"&&_.position!=="fixed"){const{width:I,height:A}=_,N=B.getBoundingClientRect();B.style.position="absolute",B.style.width=I,B.style.height=A,add_transform(B,N)}}function add_transform(B,_){const I=B.getBoundingClientRect();if(_.left!==I.left||_.top!==I.top){const A=getComputedStyle(B),N=A.transform==="none"?"":A.transform;B.style.transform=`${N} translate(${_.left-I.left}px, ${_.top-I.top}px)`}}let current_component;function set_current_component(B){current_component=B}function get_current_component(){if(!current_component)throw new Error("Function called outside component initialization");return current_component}function beforeUpdate(B){get_current_component().$$.before_update.push(B)}function onMount(B){get_current_component().$$.on_mount.push(B)}function afterUpdate(B){get_current_component().$$.after_update.push(B)}function onDestroy(B){get_current_component().$$.on_destroy.push(B)}function createEventDispatcher(){const B=get_current_component();return(_,I,{cancelable:A=!1}={})=>{const N=B.$$.callbacks[_];if(N){const U=custom_event(_,I,{cancelable:A});return N.slice().forEach(K=>{K.call(B,U)}),!U.defaultPrevented}return!0}}function setContext$1(B,_){return get_current_component().$$.context.set(B,_),_}function getContext(B){return get_current_component().$$.context.get(B)}function bubble(B,_){const I=B.$$.callbacks[_.type];I&&I.slice().forEach(A=>A.call(this,_))}const dirty_components=[],binding_callbacks=[];let render_callbacks=[];const flush_callbacks=[],resolved_promise=Promise.resolve();let update_scheduled=!1;function schedule_update(){update_scheduled||(update_scheduled=!0,resolved_promise.then(flush))}function tick(){return schedule_update(),resolved_promise}function add_render_callback(B){render_callbacks.push(B)}function add_flush_callback(B){flush_callbacks.push(B)}const seen_callbacks=new Set;let flushidx=0;function flush(){if(flushidx!==0)return;const B=current_component;do{try{for(;flushidxB.indexOf(A)===-1?_.push(A):I.push(A)),I.forEach(A=>A()),render_callbacks=_}let promise;function wait(){return promise||(promise=Promise.resolve(),promise.then(()=>{promise=null})),promise}function dispatch(B,_,I){B.dispatchEvent(custom_event(`${_?"intro":"outro"}${I}`))}const outroing=new Set;let outros;function group_outros(){outros={r:0,c:[],p:outros}}function check_outros(){outros.r||run_all(outros.c),outros=outros.p}function transition_in(B,_){B&&B.i&&(outroing.delete(B),B.i(_))}function transition_out(B,_,I,A){if(B&&B.o){if(outroing.has(B))return;outroing.add(B),outros.c.push(()=>{outroing.delete(B),A&&(I&&B.d(1),A())}),B.o(_)}else A&&A()}const null_transition={duration:0};function create_in_transition(B,_,I){const A={direction:"in"};let N=_(B,I,A),U=!1,K,j,q=0;function G(){K&&delete_rule(B,K)}function Z(){const{delay:Q=0,duration:J=300,easing:ee=identity,tick:te=noop,css:ie}=N||null_transition;ie&&(K=create_rule(B,0,1,J,Q,ee,ie,q++)),te(0,1);const ne=now()+Q,re=ne+J;j&&j.abort(),U=!0,add_render_callback(()=>dispatch(B,!0,"start")),j=loop(oe=>{if(U){if(oe>=re)return te(1,0),dispatch(B,!0,"end"),G(),U=!1;if(oe>=ne){const se=ee((oe-ne)/J);te(se,1-se)}}return U})}let Y=!1;return{start(){Y||(Y=!0,delete_rule(B),is_function(N)?(N=N(A),wait().then(Z)):Z())},invalidate(){Y=!1},end(){U&&(G(),U=!1)}}}function create_out_transition(B,_,I){const A={direction:"out"};let N=_(B,I,A),U=!0,K;const j=outros;j.r+=1;function q(){const{delay:G=0,duration:Z=300,easing:Y=identity,tick:Q=noop,css:J}=N||null_transition;J&&(K=create_rule(B,1,0,Z,G,Y,J));const ee=now()+G,te=ee+Z;add_render_callback(()=>dispatch(B,!1,"start")),loop(ie=>{if(U){if(ie>=te)return Q(0,1),dispatch(B,!1,"end"),--j.r||run_all(j.c),!1;if(ie>=ee){const ne=Y((ie-ee)/Z);Q(1-ne,ne)}}return U})}return is_function(N)?wait().then(()=>{N=N(A),q()}):q(),{end(G){G&&N.tick&&N.tick(1,0),U&&(K&&delete_rule(B,K),U=!1)}}}function create_bidirectional_transition(B,_,I,A){const N={direction:"both"};let U=_(B,I,N),K=A?0:1,j=null,q=null,G=null;function Z(){G&&delete_rule(B,G)}function Y(J,ee){const te=J.b-K;return ee*=Math.abs(te),{a:K,b:J.b,d:te,duration:ee,start:J.start,end:J.start+ee,group:J.group}}function Q(J){const{delay:ee=0,duration:te=300,easing:ie=identity,tick:ne=noop,css:re}=U||null_transition,oe={start:now()+ee,b:J};J||(oe.group=outros,outros.r+=1),j||q?q=oe:(re&&(Z(),G=create_rule(B,K,J,te,ee,ie,re)),J&&ne(0,1),j=Y(oe,te),add_render_callback(()=>dispatch(B,J,"start")),loop(se=>{if(q&&se>q.start&&(j=Y(q,te),q=null,dispatch(B,j.b,"start"),re&&(Z(),G=create_rule(B,K,j.b,j.duration,0,ie,U.css))),j){if(se>=j.end)ne(K=j.b,1-K),dispatch(B,j.b,"end"),q||(j.b?Z():--j.group.r||run_all(j.group.c)),j=null;else if(se>=j.start){const ae=se-j.start;K=j.a+j.d*ie(ae/j.duration),ne(K,1-K)}}return!!(j||q)}))}return{run(J){is_function(U)?wait().then(()=>{U=U(N),Q(J)}):Q(J)},end(){Z(),j=q=null}}}function outro_and_destroy_block(B,_){transition_out(B,1,1,()=>{_.delete(B.key)})}function fix_and_outro_and_destroy_block(B,_){B.f(),outro_and_destroy_block(B,_)}function update_keyed_each(B,_,I,A,N,U,K,j,q,G,Z,Y){let Q=B.length,J=U.length,ee=Q;const te={};for(;ee--;)te[B[ee].key]=ee;const ie=[],ne=new Map,re=new Map,oe=[];for(ee=J;ee--;){const ce=Y(N,U,ee),le=I(ce);let de=K.get(le);de?A&&oe.push(()=>de.p(ce,_)):(de=G(le,ce),de.c()),ne.set(le,ie[ee]=de),le in te&&re.set(le,Math.abs(ee-te[le]))}const se=new Set,ae=new Set;function ue(ce){transition_in(ce,1),ce.m(j,Z),K.set(ce.key,ce),Z=ce.first,J--}for(;Q&&J;){const ce=ie[J-1],le=B[Q-1],de=ce.key,fe=le.key;ce===le?(Z=ce.first,Q--,J--):ne.has(fe)?!K.has(de)||se.has(de)?ue(ce):ae.has(fe)?Q--:re.get(de)>re.get(fe)?(ae.add(de),ue(ce)):(se.add(fe),Q--):(q(le,K),Q--)}for(;Q--;){const ce=B[Q];ne.has(ce.key)||q(ce,K)}for(;J;)ue(ie[J-1]);return run_all(oe),ie}function get_spread_update(B,_){const I={},A={},N={$$scope:1};let U=B.length;for(;U--;){const K=B[U],j=_[U];if(j){for(const q in K)q in j||(A[q]=1);for(const q in j)N[q]||(I[q]=j[q],N[q]=1);B[U]=j}else for(const q in K)N[q]=1}for(const K in A)K in I||(I[K]=void 0);return I}function get_spread_object(B){return typeof B=="object"&&B!==null?B:{}}function bind(B,_,I){const A=B.$$.props[_];A!==void 0&&(B.$$.bound[A]=I,I(B.$$.ctx[A]))}function create_component(B){B&&B.c()}function mount_component(B,_,I,A){const{fragment:N,after_update:U}=B.$$;N&&N.m(_,I),A||add_render_callback(()=>{const K=B.$$.on_mount.map(run).filter(is_function);B.$$.on_destroy?B.$$.on_destroy.push(...K):run_all(K),B.$$.on_mount=[]}),U.forEach(add_render_callback)}function destroy_component(B,_){const I=B.$$;I.fragment!==null&&(flush_render_callbacks(I.after_update),run_all(I.on_destroy),I.fragment&&I.fragment.d(_),I.on_destroy=I.fragment=null,I.ctx=[])}function make_dirty(B,_){B.$$.dirty[0]===-1&&(dirty_components.push(B),schedule_update(),B.$$.dirty.fill(0)),B.$$.dirty[_/31|0]|=1<<_%31}function init(B,_,I,A,N,U,K,j=[-1]){const q=current_component;set_current_component(B);const G=B.$$={fragment:null,ctx:[],props:U,update:noop,not_equal:N,bound:blank_object(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(_.context||(q?q.$$.context:[])),callbacks:blank_object(),dirty:j,skip_bound:!1,root:_.target||q.$$.root};K&&K(G.root);let Z=!1;if(G.ctx=I?I(B,_.props||{},(Y,Q,...J)=>{const ee=J.length?J[0]:Q;return G.ctx&&N(G.ctx[Y],G.ctx[Y]=ee)&&(!G.skip_bound&&G.bound[Y]&&G.bound[Y](ee),Z&&make_dirty(B,Y)),Q}):[],G.update(),Z=!0,run_all(G.before_update),G.fragment=A?A(G.ctx):!1,_.target){if(_.hydrate){const Y=children(_.target);G.fragment&&G.fragment.l(Y),Y.forEach(detach)}else G.fragment&&G.fragment.c();_.intro&&transition_in(B.$$.fragment),mount_component(B,_.target,_.anchor,_.customElement),flush()}set_current_component(q)}class SvelteComponent{$destroy(){destroy_component(this,1),this.$destroy=noop}$on(_,I){if(!is_function(I))return noop;const A=this.$$.callbacks[_]||(this.$$.callbacks[_]=[]);return A.push(I),()=>{const N=A.indexOf(I);N!==-1&&A.splice(N,1)}}$set(_){this.$$set&&!is_empty(_)&&(this.$$.skip_bound=!0,this.$$set(_),this.$$.skip_bound=!1)}}let ApiError$2=class extends Error{constructor(I,A,N){super(N);At(this,"url");At(this,"status");At(this,"statusText");At(this,"body");At(this,"request");this.name="ApiError",this.url=A.url,this.status=A.status,this.statusText=A.statusText,this.body=A.body,this.request=I}},CancelError$1=class extends Error{constructor(_){super(_),this.name="CancelError"}get isCancelled(){return!0}};var ti,ii,Xt,li,pi,Oi,Ei,Dn;let CancelablePromise$2=(Dn=class{constructor(_){ai(this,ti,void 0);ai(this,ii,void 0);ai(this,Xt,void 0);ai(this,li,void 0);ai(this,pi,void 0);ai(this,Oi,void 0);ai(this,Ei,void 0);Yt(this,ti,!1),Yt(this,ii,!1),Yt(this,Xt,!1),Yt(this,li,[]),Yt(this,pi,new Promise((I,A)=>{Yt(this,Oi,I),Yt(this,Ei,A);const N=j=>{var q;Tt(this,ti)||Tt(this,ii)||Tt(this,Xt)||(Yt(this,ti,!0),(q=Tt(this,Oi))==null||q.call(this,j))},U=j=>{var q;Tt(this,ti)||Tt(this,ii)||Tt(this,Xt)||(Yt(this,ii,!0),(q=Tt(this,Ei))==null||q.call(this,j))},K=j=>{Tt(this,ti)||Tt(this,ii)||Tt(this,Xt)||Tt(this,li).push(j)};return Object.defineProperty(K,"isResolved",{get:()=>Tt(this,ti)}),Object.defineProperty(K,"isRejected",{get:()=>Tt(this,ii)}),Object.defineProperty(K,"isCancelled",{get:()=>Tt(this,Xt)}),_(N,U,K)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(_,I){return Tt(this,pi).then(_,I)}catch(_){return Tt(this,pi).catch(_)}finally(_){return Tt(this,pi).finally(_)}cancel(){var _;if(!(Tt(this,ti)||Tt(this,ii)||Tt(this,Xt))){if(Yt(this,Xt,!0),Tt(this,li).length)try{for(const I of Tt(this,li))I()}catch(I){console.warn("Cancellation threw an error",I);return}Tt(this,li).length=0,(_=Tt(this,Ei))==null||_.call(this,new CancelError$1("Request aborted"))}}get isCancelled(){return Tt(this,Xt)}},ti=new WeakMap,ii=new WeakMap,Xt=new WeakMap,li=new WeakMap,pi=new WeakMap,Oi=new WeakMap,Ei=new WeakMap,Dn);const OpenAPI$1={BASE:"/api",VERSION:"1.109.1",WITH_CREDENTIALS:!1,CREDENTIALS:"include",TOKEN:void 0,USERNAME:void 0,PASSWORD:void 0,HEADERS:void 0,ENCODE_PATH:void 0};var AppWithLastVersion$1;(function(B){(function(_){_.VIEWER="viewer",_.PUBLISHER="publisher",_.ANONYMOUS="anonymous"})(B.execution_mode||(B.execution_mode={}))})(AppWithLastVersion$1||(AppWithLastVersion$1={}));var AuditLog$1;(function(B){(function(_){_.JOBS_RUN="jobs.run",_.SCRIPTS_CREATE="scripts.create",_.SCRIPTS_UPDATE="scripts.update",_.USERS_CREATE="users.create",_.USERS_DELETE="users.delete",_.USERS_SETPASSWORD="users.setpassword",_.USERS_UPDATE="users.update",_.USERS_LOGIN="users.login",_.USERS_TOKEN_CREATE="users.token.create",_.USERS_TOKEN_DELETE="users.token.delete",_.VARIABLES_CREATE="variables.create",_.VARIABLES_DELETE="variables.delete",_.VARIABLES_UPDATE="variables.update"})(B.operation||(B.operation={})),function(_){_.CREATED="Created",_.UPDATED="Updated",_.DELETE="Delete",_.EXECUTE="Execute"}(B.action_kind||(B.action_kind={}))})(AuditLog$1||(AuditLog$1={}));var CompletedJob$1;(function(B){(function(_){_.SCRIPT="script",_.PREVIEW="preview",_.DEPENDENCIES="dependencies",_.FLOW="flow",_.FLOWPREVIEW="flowpreview",_.SCRIPT_HUB="script_hub",_.IDENTITY="identity"})(B.job_kind||(B.job_kind={})),function(_){_.PYTHON3="python3",_.DENO="deno",_.GO="go",_.BASH="bash"}(B.language||(B.language={}))})(CompletedJob$1||(CompletedJob$1={}));var FlowStatusModule$1;(function(B){(function(_){_.WAITING_FOR_PRIOR_STEPS="WaitingForPriorSteps",_.WAITING_FOR_EVENTS="WaitingForEvents",_.WAITING_FOR_EXECUTOR="WaitingForExecutor",_.IN_PROGRESS="InProgress",_.SUCCESS="Success",_.FAILURE="Failure"})(B.type||(B.type={}))})(FlowStatusModule$1||(FlowStatusModule$1={}));var GlobalUserInfo$1;(function(B){(function(_){_.PASSWORD="password",_.GITHUB="github"})(B.login_type||(B.login_type={}))})(GlobalUserInfo$1||(GlobalUserInfo$1={}));var Job$1;(function(B){(function(_){_.COMPLETED_JOB="CompletedJob",_.QUEUED_JOB="QueuedJob"})(B.type||(B.type={}))})(Job$1||(Job$1={}));var ListableApp$1;(function(B){(function(_){_.VIEWER="viewer",_.PUBLISHER="publisher",_.ANONYMOUS="anonymous"})(B.execution_mode||(B.execution_mode={}))})(ListableApp$1||(ListableApp$1={}));var MainArgSignature$1;(function(B){(function(_){_.VALID="Valid",_.INVALID="Invalid"})(B.type||(B.type={}))})(MainArgSignature$1||(MainArgSignature$1={}));var NewScript$1;(function(B){(function(_){_.PYTHON3="python3",_.DENO="deno",_.GO="go",_.BASH="bash"})(B.language||(B.language={})),function(_){_.SCRIPT="script",_.FAILURE="failure",_.TRIGGER="trigger",_.COMMAND="command",_.APPROVAL="approval"}(B.kind||(B.kind={}))})(NewScript$1||(NewScript$1={}));var Policy$1;(function(B){(function(_){_.VIEWER="viewer",_.PUBLISHER="publisher",_.ANONYMOUS="anonymous"})(B.execution_mode||(B.execution_mode={}))})(Policy$1||(Policy$1={}));var Preview$1;(function(B){(function(_){_.PYTHON3="python3",_.DENO="deno",_.GO="go",_.BASH="bash"})(B.language||(B.language={}))})(Preview$1||(Preview$1={}));var QueuedJob$1;(function(B){(function(_){_.SCRIPT="script",_.PREVIEW="preview",_.DEPENDENCIES="dependencies",_.FLOW="flow",_.FLOWPREVIEW="flowpreview",_.SCRIPT_HUB="script_hub",_.IDENTITY="identity"})(B.job_kind||(B.job_kind={})),function(_){_.PYTHON3="python3",_.DENO="deno",_.GO="go",_.BASH="bash"}(B.language||(B.language={}))})(QueuedJob$1||(QueuedJob$1={}));var RawScript$1;(function(B){(function(_){_.DENO="deno",_.PYTHON3="python3",_.GO="go",_.BASH="bash"})(B.language||(B.language={}))})(RawScript$1||(RawScript$1={}));var RunnableType$1;(function(B){B.SCRIPT_HASH="ScriptHash",B.SCRIPT_PATH="ScriptPath",B.FLOW_PATH="FlowPath"})(RunnableType$1||(RunnableType$1={}));var Script$1;(function(B){(function(_){_.PYTHON3="python3",_.DENO="deno",_.GO="go",_.BASH="bash"})(B.language||(B.language={})),function(_){_.SCRIPT="script",_.FAILURE="failure",_.TRIGGER="trigger",_.COMMAND="command",_.APPROVAL="approval"}(B.kind||(B.kind={}))})(Script$1||(Script$1={}));const isDefined$1=B=>B!=null,isString$3=B=>typeof B=="string",isStringWithValue=B=>isString$3(B)&&B!=="",isBlob=B=>typeof B=="object"&&typeof B.type=="string"&&typeof B.stream=="function"&&typeof B.arrayBuffer=="function"&&typeof B.constructor=="function"&&typeof B.constructor.name=="string"&&/^(Blob|File)$/.test(B.constructor.name)&&/^(Blob|File)$/.test(B[Symbol.toStringTag]),isFormData=B=>B instanceof FormData,base64=B=>{try{return btoa(B)}catch{return Buffer.from(B).toString("base64")}},getQueryString=B=>{const _=[],I=(N,U)=>{_.push(`${encodeURIComponent(N)}=${encodeURIComponent(String(U))}`)},A=(N,U)=>{isDefined$1(U)&&(Array.isArray(U)?U.forEach(K=>{A(N,K)}):typeof U=="object"?Object.entries(U).forEach(([K,j])=>{A(`${N}[${K}]`,j)}):I(N,U))};return Object.entries(B).forEach(([N,U])=>{A(N,U)}),_.length>0?`?${_.join("&")}`:""},getUrl=(B,_)=>{const I=B.ENCODE_PATH||encodeURI,A=_.url.replace("{api-version}",B.VERSION).replace(/{(.*?)}/g,(U,K)=>{var j;return(j=_.path)!=null&&j.hasOwnProperty(K)?I(String(_.path[K])):U}),N=`${B.BASE}${A}`;return _.query?`${N}${getQueryString(_.query)}`:N},getFormData=B=>{if(B.formData){const _=new FormData,I=(A,N)=>{isString$3(N)||isBlob(N)?_.append(A,N):_.append(A,JSON.stringify(N))};return Object.entries(B.formData).filter(([A,N])=>isDefined$1(N)).forEach(([A,N])=>{Array.isArray(N)?N.forEach(U=>I(A,U)):I(A,N)}),_}},resolve$1=async(B,_)=>typeof _=="function"?_(B):_,getHeaders=async(B,_)=>{const I=await resolve$1(_,B.TOKEN),A=await resolve$1(_,B.USERNAME),N=await resolve$1(_,B.PASSWORD),U=await resolve$1(_,B.HEADERS),K=Object.entries({Accept:"application/json",...U,..._.headers}).filter(([j,q])=>isDefined$1(q)).reduce((j,[q,G])=>({...j,[q]:String(G)}),{});if(isStringWithValue(I)&&(K.Authorization=`Bearer ${I}`),isStringWithValue(A)&&isStringWithValue(N)){const j=base64(`${A}:${N}`);K.Authorization=`Basic ${j}`}return _.body&&(_.mediaType?K["Content-Type"]=_.mediaType:isBlob(_.body)?K["Content-Type"]=_.body.type||"application/octet-stream":isString$3(_.body)?K["Content-Type"]="text/plain":isFormData(_.body)||(K["Content-Type"]="application/json")),new Headers(K)},getRequestBody=B=>{var _;if(B.body!==void 0)return(_=B.mediaType)!=null&&_.includes("/json")?JSON.stringify(B.body):isString$3(B.body)||isBlob(B.body)||isFormData(B.body)?B.body:JSON.stringify(B.body)},sendRequest=async(B,_,I,A,N,U,K)=>{const j=new AbortController,q={headers:U,body:A??N,method:_.method,signal:j.signal};return B.WITH_CREDENTIALS&&(q.credentials=B.CREDENTIALS),q.referrerPolicy="no-referrer",K(()=>j.abort()),await fetch(I,q)},getResponseHeader=(B,_)=>{if(_){const I=B.headers.get(_);if(isString$3(I))return I}},getResponseBody=async B=>{if(B.status!==204)try{const _=B.headers.get("Content-Type");if(_)return["application/json","application/problem+json"].some(N=>_.toLowerCase().startsWith(N))?await B.json():await B.text()}catch(_){console.error(_)}},catchErrorCodes=(B,_)=>{const A={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...B.errors}[_.status];if(A)throw new ApiError$2(B,_,A);if(!_.ok)throw new ApiError$2(B,_,"Generic Error")},request$1=(B,_)=>new CancelablePromise$2(async(I,A,N)=>{try{const U=getUrl(B,_),K=getFormData(_),j=getRequestBody(_),q=await getHeaders(B,_);if(!N.isCancelled){const G=await sendRequest(B,_,U,j,K,q,N),Z=await getResponseBody(G),Y=getResponseHeader(G,_.responseHeader),Q={url:U,ok:G.ok,status:G.status,statusText:G.statusText,body:Y??Z};catchErrorCodes(_,Q),I(Q.body)}}catch(U){A(U)}});let AppService$2=class{static listHubApps(){return request$1(OpenAPI$1,{method:"GET",url:"/apps/hub/list"})}static getHubAppById({id:_}){return request$1(OpenAPI$1,{method:"GET",url:"/apps/hub/get/{id}",path:{id:_}})}static listApps({workspace:_,page:I,perPage:A,orderDesc:N,createdBy:U,pathStart:K,pathExact:j,starredOnly:q}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/list",path:{workspace:_},query:{page:I,per_page:A,order_desc:N,created_by:U,path_start:K,path_exact:j,starred_only:q}})}static createApp({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/apps/create",path:{workspace:_},body:I,mediaType:"application/json"})}static existsApp({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/exists/{path}",path:{workspace:_,path:I}})}static getAppByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/get/p/{path}",path:{workspace:_,path:I}})}static getAppByPathWithDraft({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/get/draft/{path}",path:{workspace:_,path:I}})}static getPublicAppBySecret({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps_u/public_app/{path}",path:{workspace:_,path:I}})}static getPublicSecretOfApp({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/secret_of/{path}",path:{workspace:_,path:I}})}static getAppByVersion({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/apps/get/v/{id}",path:{workspace:_,id:I}})}static deleteApp({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/apps/delete/{path}",path:{workspace:_,path:I}})}static updateApp({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/apps/update/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static executeComponent({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/apps_u/execute_component/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}},FlowService$2=class{static listHubFlows(){return request$1(OpenAPI$1,{method:"GET",url:"/flows/hub/list"})}static getHubFlowById({id:_}){return request$1(OpenAPI$1,{method:"GET",url:"/flows/hub/get/{id}",path:{id:_}})}static listFlowPaths({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/list_paths",path:{workspace:_}})}static listFlows({workspace:_,page:I,perPage:A,orderDesc:N,createdBy:U,pathStart:K,pathExact:j,showArchived:q,starredOnly:G}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/list",path:{workspace:_},query:{page:I,per_page:A,order_desc:N,created_by:U,path_start:K,path_exact:j,show_archived:q,starred_only:G}})}static getFlowByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/get/{path}",path:{workspace:_,path:I}})}static getFlowByPathWithDraft({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/get/draft/{path}",path:{workspace:_,path:I}})}static existsFlowByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/exists/{path}",path:{workspace:_,path:I}})}static createFlow({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/flows/create",path:{workspace:_},body:I,mediaType:"application/json"})}static updateFlow({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/flows/update/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static archiveFlowByPath({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/flows/archive/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static deleteFlowByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/flows/delete/{path}",path:{workspace:_,path:I}})}static getFlowInputHistoryByPath({workspace:_,path:I,page:A,perPage:N}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/flows/input_history/p/{path}",path:{workspace:_,path:I},query:{page:A,per_page:N}})}},FolderService$2=class{static listFolders({workspace:_,page:I,perPage:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/folders/list",path:{workspace:_},query:{page:I,per_page:A}})}static listFolderNames({workspace:_,onlyMemberOf:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/folders/listnames",path:{workspace:_},query:{only_member_of:I}})}static createFolder({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/folders/create",path:{workspace:_},body:I,mediaType:"application/json"})}static updateFolder({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/folders/update/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}static deleteFolder({workspace:_,name:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/folders/delete/{name}",path:{workspace:_,name:I}})}static getFolder({workspace:_,name:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/folders/get/{name}",path:{workspace:_,name:I}})}static getFolderUsage({workspace:_,name:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/folders/getusage/{name}",path:{workspace:_,name:I}})}static addOwnerToFolder({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/folders/addowner/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}static removeOwnerToFolder({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/folders/removeowner/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}},GranularAclService$2=class{static getGranularAcls({workspace:_,path:I,kind:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/acls/get/{kind}/{path}",path:{workspace:_,path:I,kind:A}})}static addGranularAcls({workspace:_,path:I,kind:A,requestBody:N}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/acls/add/{kind}/{path}",path:{workspace:_,path:I,kind:A},body:N,mediaType:"application/json"})}static removeGranularAcls({workspace:_,path:I,kind:A,requestBody:N}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/acls/remove/{kind}/{path}",path:{workspace:_,path:I,kind:A},body:N,mediaType:"application/json"})}},GroupService$2=class{static listGroups({workspace:_,page:I,perPage:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/groups/list",path:{workspace:_},query:{page:I,per_page:A}})}static listGroupNames({workspace:_,onlyMemberOf:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/groups/listnames",path:{workspace:_},query:{only_member_of:I}})}static createGroup({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/groups/create",path:{workspace:_},body:I,mediaType:"application/json"})}static updateGroup({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/groups/update/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}static deleteGroup({workspace:_,name:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/groups/delete/{name}",path:{workspace:_,name:I}})}static getGroup({workspace:_,name:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/groups/get/{name}",path:{workspace:_,name:I}})}static addUserToGroup({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/groups/adduser/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}static removeUserToGroup({workspace:_,name:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/groups/removeuser/{name}",path:{workspace:_,name:I},body:A,mediaType:"application/json"})}},JobService$2=class{static runScriptByPath({workspace:_,path:I,requestBody:A,scheduledFor:N,scheduledInSecs:U,parentJob:K,jobId:j,invisibleToOwner:q}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run/p/{path}",path:{workspace:_,path:I},query:{scheduled_for:N,scheduled_in_secs:U,parent_job:K,job_id:j,invisible_to_owner:q},body:A,mediaType:"application/json"})}static openaiSyncScriptByPath({workspace:_,path:I,requestBody:A,parentJob:N,jobId:U,includeHeader:K,queueLimit:j}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/openai_sync/p/{path}",path:{workspace:_,path:I},query:{parent_job:N,job_id:U,include_header:K,queue_limit:j},body:A,mediaType:"application/json"})}static runWaitResultScriptByPath({workspace:_,path:I,requestBody:A,parentJob:N,jobId:U,includeHeader:K,queueLimit:j}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run_wait_result/p/{path}",path:{workspace:_,path:I},query:{parent_job:N,job_id:U,include_header:K,queue_limit:j},body:A,mediaType:"application/json"})}static runWaitResultScriptByPathGet({workspace:_,path:I,parentJob:A,jobId:N,includeHeader:U,queueLimit:K,payload:j}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/run_wait_result/p/{path}",path:{workspace:_,path:I},query:{parent_job:A,job_id:N,include_header:U,queue_limit:K,payload:j}})}static openaiSyncFlowByPath({workspace:_,path:I,requestBody:A,includeHeader:N,queueLimit:U,jobId:K}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/openai_sync/f/{path}",path:{workspace:_,path:I},query:{include_header:N,queue_limit:U,job_id:K},body:A,mediaType:"application/json"})}static runWaitResultFlowByPath({workspace:_,path:I,requestBody:A,includeHeader:N,queueLimit:U,jobId:K}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run_wait_result/f/{path}",path:{workspace:_,path:I},query:{include_header:N,queue_limit:U,job_id:K},body:A,mediaType:"application/json"})}static resultById({workspace:_,flowJobId:I,nodeId:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/result_by_id/{flow_job_id}/{node_id}",path:{workspace:_,flow_job_id:I,node_id:A}})}static runFlowByPath({workspace:_,path:I,requestBody:A,scheduledFor:N,scheduledInSecs:U,parentJob:K,jobId:j,includeHeader:q,invisibleToOwner:G}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run/f/{path}",path:{workspace:_,path:I},query:{scheduled_for:N,scheduled_in_secs:U,parent_job:K,job_id:j,include_header:q,invisible_to_owner:G},body:A,mediaType:"application/json"})}static runScriptByHash({workspace:_,hash:I,requestBody:A,scheduledFor:N,scheduledInSecs:U,parentJob:K,jobId:j,includeHeader:q,invisibleToOwner:G}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run/h/{hash}",path:{workspace:_,hash:I},query:{scheduled_for:N,scheduled_in_secs:U,parent_job:K,job_id:j,include_header:q,invisible_to_owner:G},body:A,mediaType:"application/json"})}static runScriptPreview({workspace:_,requestBody:I,includeHeader:A,invisibleToOwner:N,jobId:U}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run/preview",path:{workspace:_},query:{include_header:A,invisible_to_owner:N,job_id:U},body:I,mediaType:"application/json"})}static runFlowPreview({workspace:_,requestBody:I,includeHeader:A,invisibleToOwner:N,jobId:U}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/run/preview_flow",path:{workspace:_},query:{include_header:A,invisible_to_owner:N,job_id:U},body:I,mediaType:"application/json"})}static listQueue({workspace:_,orderDesc:I,createdBy:A,parentJob:N,scriptPathExact:U,scriptPathStart:K,scriptHash:j,startedBefore:q,startedAfter:G,success:Z,jobKinds:Y,suspended:Q,running:J,args:ee,result:te,tag:ie}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/queue/list",path:{workspace:_},query:{order_desc:I,created_by:A,parent_job:N,script_path_exact:U,script_path_start:K,script_hash:j,started_before:q,started_after:G,success:Z,job_kinds:Y,suspended:Q,running:J,args:ee,result:te,tag:ie}})}static listCompletedJobs({workspace:_,orderDesc:I,createdBy:A,parentJob:N,scriptPathExact:U,scriptPathStart:K,scriptHash:j,startedBefore:q,startedAfter:G,success:Z,jobKinds:Y,args:Q,result:J,tag:ee,isSkipped:te,isFlowStep:ie}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/completed/list",path:{workspace:_},query:{order_desc:I,created_by:A,parent_job:N,script_path_exact:U,script_path_start:K,script_hash:j,started_before:q,started_after:G,success:Z,job_kinds:Y,args:Q,result:J,tag:ee,is_skipped:te,is_flow_step:ie}})}static listJobs({workspace:_,createdBy:I,parentJob:A,scriptPathExact:N,scriptPathStart:U,scriptHash:K,startedBefore:j,startedAfter:q,jobKinds:G,args:Z,tag:Y,result:Q,isSkipped:J,isFlowStep:ee,success:te}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/list",path:{workspace:_},query:{created_by:I,parent_job:A,script_path_exact:N,script_path_start:U,script_hash:K,started_before:j,started_after:q,job_kinds:G,args:Z,tag:Y,result:Q,is_skipped:J,is_flow_step:ee,success:te}})}static getJob({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/get/{id}",path:{workspace:_,id:I}})}static getJobUpdates({workspace:_,id:I,running:A,logOffset:N}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/getupdate/{id}",path:{workspace:_,id:I},query:{running:A,log_offset:N}})}static getCompletedJob({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/completed/get/{id}",path:{workspace:_,id:I}})}static getCompletedJobResult({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/completed/get_result/{id}",path:{workspace:_,id:I}})}static getCompletedJobResultMaybe({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/completed/get_result_maybe/{id}",path:{workspace:_,id:I}})}static deleteCompletedJob({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/completed/delete/{id}",path:{workspace:_,id:I}})}static cancelQueuedJob({workspace:_,id:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs_u/queue/cancel/{id}",path:{workspace:_,id:I},body:A,mediaType:"application/json"})}static forceCancelQueuedJob({workspace:_,id:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs_u/queue/force_cancel/{id}",path:{workspace:_,id:I},body:A,mediaType:"application/json"})}static createJobSignature({workspace:_,id:I,resumeId:A,approver:N}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/job_signature/{id}/{resume_id}",path:{workspace:_,id:I,resume_id:A},query:{approver:N}})}static getResumeUrls({workspace:_,id:I,resumeId:A,approver:N}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs/resume_urls/{id}/{resume_id}",path:{workspace:_,id:I,resume_id:A},query:{approver:N}})}static resumeSuspendedJobGet({workspace:_,id:I,resumeId:A,signature:N,payload:U,approver:K}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}",path:{workspace:_,id:I,resume_id:A,signature:N},query:{payload:U,approver:K}})}static resumeSuspendedJobPost({workspace:_,id:I,resumeId:A,signature:N,requestBody:U,approver:K}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs_u/resume/{id}/{resume_id}/{signature}",path:{workspace:_,id:I,resume_id:A,signature:N},query:{approver:K},body:U,mediaType:"application/json"})}static resumeSuspendedFlowAsOwner({workspace:_,id:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs/flow/resume/{id}",path:{workspace:_,id:I},body:A,mediaType:"application/json"})}static cancelSuspendedJobGet({workspace:_,id:I,resumeId:A,signature:N,approver:U}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}",path:{workspace:_,id:I,resume_id:A,signature:N},query:{approver:U}})}static cancelSuspendedJobPost({workspace:_,id:I,resumeId:A,signature:N,requestBody:U,approver:K}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/jobs_u/cancel/{id}/{resume_id}/{signature}",path:{workspace:_,id:I,resume_id:A,signature:N},query:{approver:K},body:U,mediaType:"application/json"})}static getSuspendedJobFlow({workspace:_,id:I,resumeId:A,signature:N,approver:U}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/jobs_u/get_flow/{id}/{resume_id}/{signature}",path:{workspace:_,id:I,resume_id:A,signature:N},query:{approver:U}})}},OauthService$2=class{static connectSlackCallback({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/oauth/connect_slack_callback",path:{workspace:_},body:I,mediaType:"application/json"})}static connectCallback({clientName:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/oauth/connect_callback/{client_name}",path:{client_name:_},body:I,mediaType:"application/json"})}static createAccount({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/oauth/create_account",path:{workspace:_},body:I,mediaType:"application/json"})}static refreshToken({workspace:_,id:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/oauth/refresh_token/{id}",path:{workspace:_,id:I},body:A,mediaType:"application/json"})}static disconnectAccount({workspace:_,id:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/oauth/disconnect/{id}",path:{workspace:_,id:I}})}static disconnectSlack({workspace:_}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/oauth/disconnect_slack",path:{workspace:_}})}static listOAuthLogins(){return request$1(OpenAPI$1,{method:"GET",url:"/oauth/list_logins"})}static listOAuthConnects(){return request$1(OpenAPI$1,{method:"GET",url:"/oauth/list_connects"})}},ResourceService$2=class{static createResource({workspace:_,requestBody:I,updateIfExists:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/resources/create",path:{workspace:_},query:{update_if_exists:A},body:I,mediaType:"application/json"})}static deleteResource({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/resources/delete/{path}",path:{workspace:_,path:I}})}static updateResource({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/resources/update/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static updateResourceValue({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/resources/update_value/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static getResource({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/get/{path}",path:{workspace:_,path:I}})}static getResourceValue({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/get_value/{path}",path:{workspace:_,path:I}})}static existsResource({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/exists/{path}",path:{workspace:_,path:I}})}static listResource({workspace:_,page:I,perPage:A,resourceType:N,resourceTypeExclude:U}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/list",path:{workspace:_},query:{page:I,per_page:A,resource_type:N,resource_type_exclude:U}})}static createResourceType({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/resources/type/create",path:{workspace:_},body:I,mediaType:"application/json"})}static deleteResourceType({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/resources/type/delete/{path}",path:{workspace:_,path:I}})}static updateResourceType({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/resources/type/update/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static getResourceType({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/type/get/{path}",path:{workspace:_,path:I}})}static existsResourceType({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/type/exists/{path}",path:{workspace:_,path:I}})}static listResourceType({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/type/list",path:{workspace:_}})}static listResourceTypeNames({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/resources/type/listnames",path:{workspace:_}})}},ScheduleService$2=class{static previewSchedule({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/schedules/preview",body:_,mediaType:"application/json"})}static createSchedule({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/schedules/create",path:{workspace:_},body:I,mediaType:"application/json"})}static updateSchedule({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/schedules/update/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static setScheduleEnabled({workspace:_,path:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/schedules/setenabled/{path}",path:{workspace:_,path:I},body:A,mediaType:"application/json"})}static deleteSchedule({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/schedules/delete/{path}",path:{workspace:_,path:I}})}static getSchedule({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/schedules/get/{path}",path:{workspace:_,path:I}})}static existsSchedule({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/schedules/exists/{path}",path:{workspace:_,path:I}})}static listSchedules({workspace:_,page:I,perPage:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/schedules/list",path:{workspace:_},query:{page:I,per_page:A}})}},ScriptService$2=class{static listHubScripts(){return request$1(OpenAPI$1,{method:"GET",url:"/scripts/hub/list"})}static getHubScriptContentByPath({path:_}){return request$1(OpenAPI$1,{method:"GET",url:"/scripts/hub/get/{path}",path:{path:_}})}static getHubScriptByPath({path:_}){return request$1(OpenAPI$1,{method:"GET",url:"/scripts/hub/get_full/{path}",path:{path:_}})}static listScripts({workspace:_,page:I,perPage:A,orderDesc:N,createdBy:U,pathStart:K,pathExact:j,firstParentHash:q,lastParentHash:G,parentHash:Z,showArchived:Y,isTemplate:Q,kind:J,starredOnly:ee}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/list",path:{workspace:_},query:{page:I,per_page:A,order_desc:N,created_by:U,path_start:K,path_exact:j,first_parent_hash:q,last_parent_hash:G,parent_hash:Z,show_archived:Y,is_template:Q,kind:J,starred_only:ee}})}static listScriptPaths({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/list_paths",path:{workspace:_}})}static createScript({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/scripts/create",path:{workspace:_},body:I,mediaType:"application/json"})}static archiveScriptByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/scripts/archive/p/{path}",path:{workspace:_,path:I}})}static archiveScriptByHash({workspace:_,hash:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/scripts/archive/h/{hash}",path:{workspace:_,hash:I}})}static deleteScriptByHash({workspace:_,hash:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/scripts/delete/h/{hash}",path:{workspace:_,hash:I}})}static deleteScriptByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/scripts/delete/p/{path}",path:{workspace:_,path:I}})}static getScriptByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/get/p/{path}",path:{workspace:_,path:I}})}static getScriptByPathWithDraft({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/get/draft/{path}",path:{workspace:_,path:I}})}static rawScriptByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/raw/p/{path}",path:{workspace:_,path:I}})}static rawScriptByPathTokened({workspace:_,token:I,path:A}){return request$1(OpenAPI$1,{method:"GET",url:"/scripts_u/tokened_raw/{workspace}/{token}/{path}",path:{workspace:_,token:I,path:A}})}static existsScriptByPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/exists/p/{path}",path:{workspace:_,path:I}})}static getScriptByHash({workspace:_,hash:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/get/h/{hash}",path:{workspace:_,hash:I}})}static rawScriptByHash({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/raw/h/{path}",path:{workspace:_,path:I}})}static getScriptDeploymentStatus({workspace:_,hash:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/scripts/deployment_status/h/{hash}",path:{workspace:_,hash:I}})}},UserService$2=class{static login({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/auth/login",body:_,mediaType:"application/json"})}static logout(){return request$1(OpenAPI$1,{method:"POST",url:"/auth/logout"})}static createUser({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/users/add",path:{workspace:_},body:I,mediaType:"application/json"})}static updateUser({workspace:_,username:I,requestBody:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/users/update/{username}",path:{workspace:_,username:I},body:A,mediaType:"application/json"})}static isOwnerOfPath({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/users/is_owner/{path}",path:{workspace:_,path:I}})}static setPassword({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/setpassword",body:_,mediaType:"application/json"})}static createUserGlobally({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/create",body:_,mediaType:"application/json"})}static globalUserUpdate({email:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/users/update/{email}",path:{email:_},body:I,mediaType:"application/json"})}static globalUserDelete({email:_}){return request$1(OpenAPI$1,{method:"DELETE",url:"/users/delete/{email}",path:{email:_}})}static deleteUser({workspace:_,username:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/users/delete/{username}",path:{workspace:_,username:I}})}static getCurrentEmail(){return request$1(OpenAPI$1,{method:"GET",url:"/users/email"})}static getUsage(){return request$1(OpenAPI$1,{method:"GET",url:"/users/usage"})}static getRunnable(){return request$1(OpenAPI$1,{method:"GET",url:"/users/all_runnables"})}static globalWhoami(){return request$1(OpenAPI$1,{method:"GET",url:"/users/whoami"})}static listWorkspaceInvites(){return request$1(OpenAPI$1,{method:"GET",url:"/users/list_invites"})}static whoami({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/users/whoami",path:{workspace:_}})}static leaveWorkspace({workspace:_}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/users/leave_workspace",path:{workspace:_}})}static acceptInvite({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/accept_invite",body:_,mediaType:"application/json"})}static declineInvite({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/decline_invite",body:_,mediaType:"application/json"})}static whois({workspace:_,username:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/users/whois/{username}",path:{workspace:_,username:I}})}static listUsersAsSuperAdmin({page:_,perPage:I}){return request$1(OpenAPI$1,{method:"GET",url:"/users/list_as_super_admin",query:{page:_,per_page:I}})}static listUsers({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/users/list",path:{workspace:_}})}static listUsernames({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/users/list_usernames",path:{workspace:_}})}static createToken({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/tokens/create",body:_,mediaType:"application/json"})}static createTokenImpersonate({requestBody:_}){return request$1(OpenAPI$1,{method:"POST",url:"/users/tokens/impersonate",body:_,mediaType:"application/json"})}static deleteToken({tokenPrefix:_}){return request$1(OpenAPI$1,{method:"DELETE",url:"/users/tokens/delete/{token_prefix}",path:{token_prefix:_}})}static listTokens(){return request$1(OpenAPI$1,{method:"GET",url:"/users/tokens/list"})}static loginWithOauth({clientName:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/oauth/login_callback/{client_name}",path:{client_name:_},body:I,mediaType:"application/json"})}},VariableService$2=class{static createVariable({workspace:_,requestBody:I,alreadyEncrypted:A}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/variables/create",path:{workspace:_},query:{already_encrypted:A},body:I,mediaType:"application/json"})}static encryptValue({workspace:_,requestBody:I}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/variables/encrypt",path:{workspace:_},body:I,mediaType:"application/json"})}static deleteVariable({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"DELETE",url:"/w/{workspace}/variables/delete/{path}",path:{workspace:_,path:I}})}static updateVariable({workspace:_,path:I,requestBody:A,alreadyEncrypted:N}){return request$1(OpenAPI$1,{method:"POST",url:"/w/{workspace}/variables/update/{path}",path:{workspace:_,path:I},query:{already_encrypted:N},body:A,mediaType:"application/json"})}static getVariable({workspace:_,path:I,decryptSecret:A}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/variables/get/{path}",path:{workspace:_,path:I},query:{decrypt_secret:A}})}static existsVariable({workspace:_,path:I}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/variables/exists/{path}",path:{workspace:_,path:I}})}static listVariable({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/variables/list",path:{workspace:_}})}static listContextualVariables({workspace:_}){return request$1(OpenAPI$1,{method:"GET",url:"/w/{workspace}/variables/list_contextual",path:{workspace:_}})}},WorkerService$2=class{static getCustomTags(){return request$1(OpenAPI$1,{method:"GET",url:"/workers/custom_tags"})}static listWorkers({page:_,perPage:I}){return request$1(OpenAPI$1,{method:"GET",url:"/workers/list",query:{page:_,per_page:I}})}};const BROWSER=!0,subscriber_queue=[];function readable(B,_){return{subscribe:writable(B,_).subscribe}}function writable(B,_=noop){let I;const A=new Set;function N(j){if(safe_not_equal(B,j)&&(B=j,I)){const q=!subscriber_queue.length;for(const G of A)G[1](),subscriber_queue.push(G,B);if(q){for(let G=0;G{A.delete(G),A.size===0&&I&&(I(),I=null)}}return{set:N,update:U,subscribe:K}}function derived$1(B,_,I){const A=!Array.isArray(B),N=A?[B]:B,U=_.length<2;return readable(I,K=>{let j=!1;const q=[];let G=0,Z=noop;const Y=()=>{if(G)return;Z();const J=_(A?q[0]:q,K);U?K(J):Z=is_function(J)?J:noop},Q=N.map((J,ee)=>subscribe(J,te=>{q[ee]=te,G&=~(1<{G|=1<{const I=(B==null?void 0:B.workspaces)??[];return _?[...I.filter(A=>A.id!="admins"),{id:"admins",name:"Admins",username:"superadmin"}]:I});const get_default_slot_changes$7=B=>({job:B&2,isLoading:B&1,workspaceOverride:B&8,notfound:B&4}),get_default_slot_context$7=B=>({job:B[1],isLoading:B[0],workspaceOverride:B[3],notfound:B[2],abstractRun:B[4],runScriptByPath:B[5],runFlowByPath:B[6],runPreview:B[7],cancelJob:B[8],clearCurrentJob:B[9],watchJob:B[10],loadTestJob:B[11],syncer:B[12]});function create_fragment$2j(B){let _;const I=B[16].default,A=create_slot(I,B,B[15],get_default_slot_context$7);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,[U]){A&&A.p&&(!_||U&32783)&&update_slot_base(A,I,N,N[15],_?get_slot_changes(I,N[15],U,get_default_slot_changes$7):get_all_dirty_from_scope(N[15]),get_default_slot_context$7)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}let ITERATIONS_BEFORE_SLOW_REFRESH=10,ITERATIONS_BEFORE_SUPER_SLOW_REFRESH=100;function instance$2f(B,_,I){let A,N;component_subscribe(B,workspaceStore,de=>I(14,N=de));let{$$slots:U={},$$scope:K}=_,{isLoading:j=!1}=_,{job:q=void 0}=_,{workspaceOverride:G=void 0}=_,{notfound:Z=!1}=_;const Y=createEventDispatcher();let Q=0,J=0,ee=Date.now(),te;async function ie(de){try{I(0,j=!0),ae();const fe=Date.now(),he=await de();if(eeJobService$2.runScriptByPath({workspace:N,path:de??"",requestBody:fe}))}async function re(de,fe){return ie(()=>JobService$2.runFlowByPath({workspace:N,path:de??"",requestBody:fe}))}async function oe(de,fe,he,ge,pe){return ie(()=>JobService$2.runScriptPreview({workspace:N,requestBody:{path:de,content:fe,args:ge,language:he,tag:pe}}))}async function se(){const de=te;if(de){I(13,te=void 0);try{await JobService$2.cancelQueuedJob({workspace:N??"",id:de,requestBody:{}})}catch(fe){console.error(fe)}}}async function ae(){te&&(I(1,q=void 0),await se())}async function ue(de){Q=0,J=0,I(13,te=de),I(1,q=void 0),await ce(de)||setTimeout(()=>{le(de)},50)}async function ce(de){var he,ge;let fe=!1;if(te===de){try{if(q&&"running"in q){let pe=await JobService$2.getJobUpdates({workspace:A,id:de,running:q.running,logOffset:(he=q.logs)!=null&&he.length?((ge=q.logs)==null?void 0:ge.length)+1:0});pe.new_logs&&I(1,q.logs=((q==null?void 0:q.logs)??"").concat(pe.new_logs),q),pe.mem_peak&&q&&I(1,q.mem_peak=pe.mem_peak,q),((pe.running??!1)||(pe.completed??!1))&&I(1,q=await JobService$2.getJob({workspace:A,id:de}))}else I(1,q=await JobService$2.getJob({workspace:A,id:de}));(q==null?void 0:q.type)==="CompletedJob"&&(fe=!0,te===de&&(await tick(),Y("done",q),I(13,te=void 0))),I(2,Z=!1)}catch(pe){J+=1,J==5&&(I(2,Z=!0),await ae()),console.warn(pe)}return fe}else return!0}async function le(de){if(te!=de)return;Q++,await ce(de);let fe=50;Q>ITERATIONS_BEFORE_SLOW_REFRESH?fe=500:Q>ITERATIONS_BEFORE_SUPER_SLOW_REFRESH&&(fe=2e3),setTimeout(()=>le(de),fe)}return onDestroy(async()=>{I(13,te=void 0)}),B.$$set=de=>{"isLoading"in de&&I(0,j=de.isLoading),"job"in de&&I(1,q=de.job),"workspaceOverride"in de&&I(3,G=de.workspaceOverride),"notfound"in de&&I(2,Z=de.notfound),"$$scope"in de&&I(15,K=de.$$scope)},B.$$.update=()=>{B.$$.dirty&16392&&(A=G??N),B.$$.dirty&8192&&I(0,j=te!==void 0)},[j,q,Z,G,ie,ne,re,oe,se,ae,ue,ce,le,te,N,K,U]}class TestJobLoader extends SvelteComponent{constructor(_){super(),init(this,_,instance$2f,create_fragment$2j,safe_not_equal,{isLoading:0,job:1,workspaceOverride:3,notfound:2,abstractRun:4,runScriptByPath:5,runFlowByPath:6,runPreview:7,cancelJob:8,clearCurrentJob:9,watchJob:10})}get abstractRun(){return this.$$.ctx[4]}get runScriptByPath(){return this.$$.ctx[5]}get runFlowByPath(){return this.$$.ctx[6]}get runPreview(){return this.$$.ctx[7]}get cancelJob(){return this.$$.ctx[8]}get clearCurrentJob(){return this.$$.ctx[9]}get watchJob(){return this.$$.ctx[10]}}function create_fragment$2i(B){let _,I,A,N;const U=B[4].default,K=create_slot(U,B,B[3],null);return{c(){_=element("span"),I=element("kbd"),K&&K.c(),attr(I,"class",B[0]),attr(_,"class",A=B[2].class+" "+(B[1]?"h-4 center-center":"")+" -py-0.5 ml-0.5 rounded border bg-white/70 text-gray-600 shadow-sm font-light transition-all group-hover:border-primary-500 group-hover:text-primary-500")},m(j,q){insert(j,_,q),append$2(_,I),K&&K.m(I,null),N=!0},p(j,[q]){K&&K.p&&(!N||q&8)&&update_slot_base(K,U,j,j[3],N?get_slot_changes(U,j[3],q,null):get_all_dirty_from_scope(j[3]),null),(!N||q&1)&&attr(I,"class",j[0]),(!N||q&6&&A!==(A=j[2].class+" "+(j[1]?"h-4 center-center":"")+" -py-0.5 ml-0.5 rounded border bg-white/70 text-gray-600 shadow-sm font-light transition-all group-hover:border-primary-500 group-hover:text-primary-500"))&&attr(_,"class",A)},i(j){N||(transition_in(K,j),N=!0)},o(j){transition_out(K,j),N=!1},d(j){j&&detach(_),K&&K.d(j)}}}function instance$2e(B,_,I){let{$$slots:A={},$$scope:N}=_,{kbdClass:U=""}=_,{small:K=!1}=_;return K?U+=" !text-[10px] -my-1 px-1":U+=" !text-xs px-1.5",B.$$set=j=>{I(2,_=assign(assign({},_),exclude_internal_props(j))),"kbdClass"in j&&I(0,U=j.kbdClass),"small"in j&&I(1,K=j.small),"$$scope"in j&&I(3,N=j.$$scope)},_=exclude_internal_props(_),[U,K,_,N,A]}class Kbd extends SvelteComponent{constructor(_){super(),init(this,_,instance$2e,create_fragment$2i,safe_not_equal,{kbdClass:0,small:1})}}function cubicOut(B){const _=B-1;return _*_*_+1}function fade(B,{delay:_=0,duration:I=400,easing:A=identity}={}){const N=+getComputedStyle(B).opacity;return{delay:_,duration:I,easing:A,css:U=>`opacity: ${U*N}`}}function fly(B,{delay:_=0,duration:I=400,easing:A=cubicOut,x:N=0,y:U=0,opacity:K=0}={}){const j=getComputedStyle(B),q=+j.opacity,G=j.transform==="none"?"":j.transform,Z=q*(1-K),[Y,Q]=split_css_unit(N),[J,ee]=split_css_unit(U);return{delay:_,duration:I,easing:A,css:(te,ie)=>` - transform: ${G} translate(${(1-te)*Y}${Q}, ${(1-te)*J}${ee}); - opacity: ${q-Z*ie}`}}function flip$2(B,{from:_,to:I},A={}){const N=getComputedStyle(B),U=N.transform==="none"?"":N.transform,[K,j]=N.transformOrigin.split(" ").map(parseFloat),q=_.left+_.width*K/I.width-(I.left+K),G=_.top+_.height*j/I.height-(I.top+j),{delay:Z=0,duration:Y=J=>Math.sqrt(J)*120,easing:Q=cubicOut}=A;return{delay:Z,duration:is_function(Y)?Y(Math.sqrt(q*q+G*G)):Y,easing:Q,css:(J,ee)=>{const te=ee*q,ie=ee*G,ne=J+ee*_.width/I.width,re=J+ee*_.height/I.height;return`transform: ${U} translate(${te}px, ${ie}px) scale(${ne}, ${re});`}}}const defaults={duration:4e3,initial:1,next:0,pausable:!1,dismissable:!0,reversed:!1,intro:{x:256}};function createToast(){const{subscribe:B,update:_}=writable(new Array),I={};let A=0;function N(G){return G instanceof Object}function U(G="default",Z={}){return I[G]=Z,I}function K(G,Z){const Y={target:"default",...N(G)?G:{...Z,msg:G}},Q=I[Y.target]||{},J={...defaults,...Q,...Y,theme:{...Q.theme,...Y.theme},classes:[...Q.classes||[],...Y.classes||[]],id:++A};return _(ee=>J.reversed?[...ee,J]:[J,...ee]),A}function j(G){_(Z=>{if(!Z.length||G===0)return[];if(typeof G=="function")return Z.filter(Q=>G(Q));if(N(G))return Z.filter(Q=>Q.target!==G.target);const Y=G||Math.max(...Z.map(Q=>Q.id));return Z.filter(Q=>Q.id!==Y)})}function q(G,Z){const Y=N(G)?G:{...Z,id:G};_(Q=>{const J=Q.findIndex(ee=>ee.id===Y.id);return J>-1&&(Q[J]={...Q[J],...Y}),Q})}return{subscribe:B,push:K,pop:j,set:q,_init:U}}const toast=createToast(),ToastItem_svelte_svelte_type_style_lang="",SvelteToast_svelte_svelte_type_style_lang="",defaultAttributes={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function get_each_context$k(B,_,I){const A=B.slice();return A[10]=_[I][0],A[11]=_[I][1],A}function create_dynamic_element$1(B){let _,I=[B[11]],A={};for(let N=0;N{I(7,_=assign(assign({},_),exclude_internal_props(J))),I(6,N=compute_rest_props(_,A)),"name"in J&&I(0,j=J.name),"color"in J&&I(1,q=J.color),"size"in J&&I(2,G=J.size),"strokeWidth"in J&&I(3,Z=J.strokeWidth),"absoluteStrokeWidth"in J&&I(4,Y=J.absoluteStrokeWidth),"iconNode"in J&&I(5,Q=J.iconNode),"$$scope"in J&&I(8,K=J.$$scope)},_=exclude_internal_props(_),[j,q,G,Z,Y,Q,N,_,K,U]}let Icon$1=class extends SvelteComponent{constructor(_){super(),init(this,_,instance$2d,create_fragment$2h,safe_not_equal,{name:0,color:1,size:2,strokeWidth:3,absoluteStrokeWidth:4,iconNode:5})}};const Icon$2=Icon$1;function create_default_slot$L(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2g(B){let _,I;const A=[{name:"check-circle-2"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$L]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Check_circle_2 extends SvelteComponent{constructor(_){super(),init(this,_,instance$2c,create_fragment$2g,safe_not_equal,{})}}const CheckCircle2=Check_circle_2;function create_default_slot$K(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2f(B){let _,I;const A=[{name:"chevron-down"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$K]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Chevron_down extends SvelteComponent{constructor(_){super(),init(this,_,instance$2b,create_fragment$2f,safe_not_equal,{})}}const ChevronDown=Chevron_down;function create_default_slot$J(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2e(B){let _,I;const A=[{name:"clipboard-copy"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$J]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Clipboard_copy extends SvelteComponent{constructor(_){super(),init(this,_,instance$2a,create_fragment$2e,safe_not_equal,{})}}const ClipboardCopy=Clipboard_copy;function create_default_slot$I(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2d(B){let _,I;const A=[{name:"dollar-sign"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$I]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Dollar_sign extends SvelteComponent{constructor(_){super(),init(this,_,instance$29,create_fragment$2d,safe_not_equal,{})}}const DollarSign=Dollar_sign;function create_default_slot$H(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2c(B){let _,I;const A=[{name:"edit-2"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$H]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Edit_2 extends SvelteComponent{constructor(_){super(),init(this,_,instance$28,create_fragment$2c,safe_not_equal,{})}}const Pen=Edit_2;function create_default_slot$G(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2b(B){let _,I;const A=[{name:"external-link"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$G]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class External_link extends SvelteComponent{constructor(_){super(),init(this,_,instance$27,create_fragment$2b,safe_not_equal,{})}}const ExternalLink=External_link;function create_default_slot$F(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$2a(B){let _,I;const A=[{name:"loader-2"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$F]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Loader_2 extends SvelteComponent{constructor(_){super(),init(this,_,instance$26,create_fragment$2a,safe_not_equal,{})}}const Loader2=Loader_2;function create_default_slot$E(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$29(B){let _,I;const A=[{name:"qr-code"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$E]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class Qr_code extends SvelteComponent{constructor(_){super(),init(this,_,instance$25,create_fragment$29,safe_not_equal,{})}}const QrCode=Qr_code;function create_default_slot$D(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$28(B){let _,I;const A=[{name:"x-circle"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$D]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class X_circle extends SvelteComponent{constructor(_){super(),init(this,_,instance$24,create_fragment$28,safe_not_equal,{})}}const XCircleIcon=X_circle;function create_default_slot$C(B){let _;const I=B[2].default,A=create_slot(I,B,B[3],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&8)&&update_slot_base(A,I,N,N[3],_?get_slot_changes(I,N[3],U,null):get_all_dirty_from_scope(N[3]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$27(B){let _,I;const A=[{name:"x"},B[1],{iconNode:B[0]}];let N={$$slots:{default:[create_default_slot$C]},$$scope:{ctx:B}};for(let U=0;U{I(1,_=assign(assign({},_),exclude_internal_props(K))),"$$scope"in K&&I(3,N=K.$$scope)},_=exclude_internal_props(_),[U,_,A,N]}class X extends SvelteComponent{constructor(_){super(),init(this,_,instance$23,create_fragment$27,safe_not_equal,{})}}const X$1=X;function create_fragment$26(B){let _;return{c(){_=svg_element("g")},m(I,A){insert(I,_,A),_.innerHTML=B[0]},p(I,[A]){A&1&&(_.innerHTML=I[0])},i:noop,o:noop,d(I){I&&detach(_)}}}function instance$22(B,_,I){let A=870711;function N(){return A+=1,`fa-${A.toString(16)}`}let U="",{data:K}=_;function j(q){if(!q||!q.raw)return"";let G=q.raw;const Z={};return G=G.replace(/\s(?:xml:)?id=["']?([^"')\s]+)/g,(Y,Q)=>{const J=N();return Z[Q]=J,` id="${J}"`}),G=G.replace(/#(?:([^'")\s]+)|xpointer\(id\((['"]?)([^')]+)\2\)\))/g,(Y,Q,J,ee)=>{const te=Q||ee;return!te||!Z[te]?Y:`#${Z[te]}`}),G}return B.$$set=q=>{"data"in q&&I(1,K=q.data)},B.$$.update=()=>{B.$$.dirty&2&&I(0,U=j(K))},[U,K]}class Raw extends SvelteComponent{constructor(_){super(),init(this,_,instance$22,create_fragment$26,safe_not_equal,{data:1})}}const Svg_svelte_svelte_type_style_lang="";function create_fragment$25(B){let _,I,A,N;const U=B[12].default,K=create_slot(U,B,B[11],null);let j=[{version:"1.1"},{class:I="fa-icon "+B[0]},{width:B[1]},{height:B[2]},{"aria-label":B[9]},{role:A=B[9]?"img":"presentation"},{viewBox:B[3]},{style:B[8]},B[10]],q={};for(let G=0;G{_=assign(assign({},_),exclude_internal_props(ne)),I(10,N=compute_rest_props(_,A)),"class"in ne&&I(0,j=ne.class),"width"in ne&&I(1,q=ne.width),"height"in ne&&I(2,G=ne.height),"box"in ne&&I(3,Z=ne.box),"spin"in ne&&I(4,Y=ne.spin),"inverse"in ne&&I(5,Q=ne.inverse),"pulse"in ne&&I(6,J=ne.pulse),"flip"in ne&&I(7,ee=ne.flip),"style"in ne&&I(8,te=ne.style),"label"in ne&&I(9,ie=ne.label),"$$scope"in ne&&I(11,K=ne.$$scope)},[j,q,G,Z,Y,Q,J,ee,te,ie,N,K,U]}class Svg extends SvelteComponent{constructor(_){super(),init(this,_,instance$21,create_fragment$25,safe_not_equal,{class:0,width:1,height:2,box:3,spin:4,inverse:5,pulse:6,flip:7,style:8,label:9})}}function get_each_context$j(B,_,I){const A=B.slice();return A[24]=_[I],A}function get_each_context_1$a(B,_,I){const A=B.slice();return A[27]=_[I],A}function create_if_block$K(B){let _,I,A,N,U=B[6].paths&&create_if_block_3$j(B),K=B[6].polygons&&create_if_block_2$p(B),j=B[6].raw&&create_if_block_1$x(B);return{c(){U&&U.c(),_=space(),K&&K.c(),I=space(),j&&j.c(),A=empty$1()},m(q,G){U&&U.m(q,G),insert(q,_,G),K&&K.m(q,G),insert(q,I,G),j&&j.m(q,G),insert(q,A,G),N=!0},p(q,G){q[6].paths?U?U.p(q,G):(U=create_if_block_3$j(q),U.c(),U.m(_.parentNode,_)):U&&(U.d(1),U=null),q[6].polygons?K?K.p(q,G):(K=create_if_block_2$p(q),K.c(),K.m(I.parentNode,I)):K&&(K.d(1),K=null),q[6].raw?j?(j.p(q,G),G&64&&transition_in(j,1)):(j=create_if_block_1$x(q),j.c(),transition_in(j,1),j.m(A.parentNode,A)):j&&(group_outros(),transition_out(j,1,1,()=>{j=null}),check_outros())},i(q){N||(transition_in(j),N=!0)},o(q){transition_out(j),N=!1},d(q){U&&U.d(q),q&&detach(_),K&&K.d(q),q&&detach(I),j&&j.d(q),q&&detach(A)}}}function create_if_block_3$j(B){let _,I=B[6].paths,A=[];for(let N=0;Nbind(_,"data",N)),{c(){create_component(_.$$.fragment)},m(K,j){mount_component(_,K,j),A=!0},p(K,j){const q={};!I&&j&64&&(I=!0,q.data=K[6],add_flush_callback(()=>I=!1)),_.$set(q)},i(K){A||(transition_in(_.$$.fragment,K),A=!0)},o(K){transition_out(_.$$.fragment,K),A=!1},d(K){destroy_component(_,K)}}}function fallback_block$3(B){let _,I,A=B[6]&&create_if_block$K(B);return{c(){A&&A.c(),_=empty$1()},m(N,U){A&&A.m(N,U),insert(N,_,U),I=!0},p(N,U){N[6]?A?(A.p(N,U),U&64&&transition_in(A,1)):(A=create_if_block$K(N),A.c(),transition_in(A,1),A.m(_.parentNode,_)):A&&(group_outros(),transition_out(A,1,1,()=>{A=null}),check_outros())},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}function create_default_slot$B(B){let _;const I=B[15].default,A=create_slot(I,B,B[17],null),N=A||fallback_block$3(B);return{c(){N&&N.c()},m(U,K){N&&N.m(U,K),_=!0},p(U,K){A?A.p&&(!_||K&131072)&&update_slot_base(A,I,U,U[17],_?get_slot_changes(I,U[17],K,null):get_all_dirty_from_scope(U[17]),null):N&&N.p&&(!_||K&64)&&N.p(U,_?K:-1)},i(U){_||(transition_in(N,U),_=!0)},o(U){transition_out(N,U),_=!1},d(U){N&&N.d(U)}}}function create_fragment$24(B){let _,I;const A=[{label:B[5]},{width:B[7]},{height:B[8]},{box:B[10]},{style:B[9]},{spin:B[1]},{flip:B[4]},{inverse:B[2]},{pulse:B[3]},{class:B[0]},B[11]];let N={$$slots:{default:[create_default_slot$B]},$$scope:{ctx:B}};for(let U=0;U({d:j}))}}else _=Object.keys(B)[0],I=B[_];else return;return I}function instance$20(B,_,I){const A=["class","data","scale","spin","inverse","pulse","flip","label","style"];let N=compute_rest_props(_,A),{$$slots:U={},$$scope:K}=_,{class:j=""}=_,{data:q}=_,G,{scale:Z=1}=_,{spin:Y=!1}=_,{inverse:Q=!1}=_,{pulse:J=!1}=_,{flip:ee=void 0}=_,{label:te=""}=_,{style:ie=""}=_,ne=10,re=10,oe,se;function ae(){let ge=1;return typeof Z<"u"&&(ge=Number(Z)),isNaN(ge)||ge<=0?(console.warn('Invalid prop: prop "scale" should be a number over 0.'),outerScale):ge*outerScale}function ue(){return G?`0 0 ${G.width} ${G.height}`:`0 0 ${ne} ${re}`}function ce(){return G?Math.max(G.width,G.height)/16:1}function le(){return G?G.width/ce()*ae():0}function de(){return G?G.height/ce()*ae():0}function fe(){let ge="";ie!==null&&(ge+=ie);let pe=ae();return pe===1?ge.length===0?"":ge:(ge!==""&&!ge.endsWith(";")&&(ge+="; "),`${ge}font-size: ${pe}em`)}function he(ge){G=ge,I(6,G),I(12,q),I(14,ie),I(13,Z)}return B.$$set=ge=>{_=assign(assign({},_),exclude_internal_props(ge)),I(11,N=compute_rest_props(_,A)),"class"in ge&&I(0,j=ge.class),"data"in ge&&I(12,q=ge.data),"scale"in ge&&I(13,Z=ge.scale),"spin"in ge&&I(1,Y=ge.spin),"inverse"in ge&&I(2,Q=ge.inverse),"pulse"in ge&&I(3,J=ge.pulse),"flip"in ge&&I(4,ee=ge.flip),"label"in ge&&I(5,te=ge.label),"style"in ge&&I(14,ie=ge.style),"$$scope"in ge&&I(17,K=ge.$$scope)},B.$$.update=()=>{B.$$.dirty&28672&&(I(6,G=normaliseData(q)),I(7,ne=le()),I(8,re=de()),I(9,oe=fe()),I(10,se=ue()))},[j,Y,Q,J,ee,te,G,ne,re,oe,se,N,q,Z,ie,U,he,K]}class Icon extends SvelteComponent{constructor(_){super(),init(this,_,instance$20,create_fragment$24,safe_not_equal,{class:0,data:12,scale:13,spin:1,inverse:2,pulse:3,flip:4,label:5,style:14})}}var ButtonType;(function(B){B.FontSizeClasses={xs2:"text-xs",xs:"text-xs",sm:"text-sm",md:"text-md",lg:"text-lg",xl:"text-xl"},B.SpacingClasses={xs2:{border:"px-2 py-[4px]",contained:"px-2 py-[4px]",divider:""},xs:{border:"px-3 py-[6px]",contained:"px-3 py-[7px]",divider:""},sm:{border:"px-3 py-[6px]",contained:"px-3 py-[7px]",divider:""},md:{border:"px-3 py-[6px]",contained:"px-3 py-[7px]",divider:""},lg:{border:"px-4 py-[8px]",contained:"px-4 py-[9px]",divider:""},xl:{border:"px-4 py-[8px]",contained:"px-4 py-[9px]",divider:""}},B.IconScale={xs2:.6,xs:.7,sm:.8,md:1,lg:1.1,xl:1.2}})(ButtonType||(ButtonType={}));function twJoin(){for(var B=0,_,I,A="";BB&&(_=0,A=I,I=new Map)}return{get:function(K){var j=I.get(K);if(j!==void 0)return j;if((j=A.get(K))!==void 0)return N(K,j),j},set:function(K,j){I.has(K)?I.set(K,j):N(K,j)}}}var IMPORTANT_MODIFIER="!";function createSplitModifiers(B){var _=B.separator||":",I=_.length===1,A=_[0],N=_.length;return function(K){for(var j=[],q=0,G=0,Z,Y=0;YG?Z-G:void 0;return{modifiers:j,hasImportantModifier:ee,baseClassName:te,maybePostfixModifierPosition:ie}}}function sortModifiers(B){if(B.length<=1)return B;var _=[],I=[];return B.forEach(function(A){var N=A[0]==="[";N?(_.push.apply(_,I.sort().concat([A])),I=[]):I.push(A)}),_.push.apply(_,I.sort()),_}function createConfigUtils(B){return{cache:createLruCache(B.cacheSize),splitModifiers:createSplitModifiers(B),...createClassUtils(B)}}var SPLIT_CLASSES_REGEX=/\s+/;function mergeClassList(B,_){var I=_.splitModifiers,A=_.getClassGroupId,N=_.getConflictingClassGroupIds,U=new Set;return B.trim().split(SPLIT_CLASSES_REGEX).map(function(K){var j=I(K),q=j.modifiers,G=j.hasImportantModifier,Z=j.baseClassName,Y=j.maybePostfixModifierPosition,Q=A(Y?Z.substring(0,Y):Z),J=!!Y;if(!Q){if(!Y)return{isTailwindClass:!1,originalClassName:K};if(Q=A(Z),!Q)return{isTailwindClass:!1,originalClassName:K};J=!1}var ee=sortModifiers(q).join(":"),te=G?ee+IMPORTANT_MODIFIER:ee;return{isTailwindClass:!0,modifierId:te,classGroupId:Q,originalClassName:K,hasPostfixModifier:J}}).reverse().filter(function(K){if(!K.isTailwindClass)return!0;var j=K.modifierId,q=K.classGroupId,G=K.hasPostfixModifier,Z=j+q;return U.has(Z)?!1:(U.add(Z),N(q,G).forEach(function(Y){return U.add(j+Y)}),!0)}).reverse().map(function(K){return K.originalClassName}).join(" ")}function createTailwindMerge(){for(var B=arguments.length,_=new Array(B),I=0;I`"${N}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(A,match$1),A}let id=0;function generateId(){return++id}function useId(){return generateId()}var Keys;(function(B){B.Space=" ",B.Enter="Enter",B.Escape="Escape",B.Backspace="Backspace",B.ArrowLeft="ArrowLeft",B.ArrowUp="ArrowUp",B.ArrowRight="ArrowRight",B.ArrowDown="ArrowDown",B.Home="Home",B.End="End",B.PageUp="PageUp",B.PageDown="PageDown",B.Tab="Tab"})(Keys||(Keys={}));var Focus$1;(function(B){B[B.First=1]="First",B[B.Previous=2]="Previous",B[B.Next=4]="Next",B[B.Last=8]="Last",B[B.WrapAround=16]="WrapAround",B[B.NoScroll=32]="NoScroll"})(Focus$1||(Focus$1={}));var FocusResult;(function(B){B[B.Error=0]="Error",B[B.Overflow=1]="Overflow",B[B.Success=2]="Success",B[B.Underflow=3]="Underflow"})(FocusResult||(FocusResult={}));var Direction$1;(function(B){B[B.Previous=-1]="Previous",B[B.Next=1]="Next"})(Direction$1||(Direction$1={}));var FocusableMode;(function(B){B[B.Strict=0]="Strict",B[B.Loose=1]="Loose"})(FocusableMode||(FocusableMode={}));var StackMessage;(function(B){B[B.Add=0]="Add",B[B.Remove=1]="Remove"})(StackMessage||(StackMessage={}));const MODIFIER_DIVIDER="!",modifierRegex=new RegExp(`^[^${MODIFIER_DIVIDER}]+(?:${MODIFIER_DIVIDER}(?:preventDefault|stopPropagation|passive|nonpassive|capture|once|self))+$`);function forwardEventsBuilder(B,_=[]){let I,A=[];B.$on=(U,K)=>{let j=U,q=()=>{};for(let G of _){if(typeof G=="string"&&G===j){const Z=B.$$.callbacks[j]||(B.$$.callbacks[j]=[]);return Z.push(K),()=>{const Y=Z.indexOf(K);Y!==-1&&Z.splice(Y,1)}}if(typeof G=="object"&&G.name===j){let Z=K;K=(...Y)=>{typeof G=="object"&&G.shouldExclude()||Z(...Y)}}}return I?q=I(j,K):A.push([j,K]),()=>{q()}};function N(U){bubble(B,U)}return U=>{const K=[],j={};I=(q,G)=>{let Z=q,Y=G,Q=!1;if(Z.match(modifierRegex)){const ie=Z.split(MODIFIER_DIVIDER);Z=ie[0];const ne=Object.fromEntries(ie.slice(1).map(re=>[re,!0]));ne.passive&&(Q=Q||{},Q.passive=!0),ne.nonpassive&&(Q=Q||{},Q.passive=!1),ne.capture&&(Q=Q||{},Q.capture=!0),ne.once&&(Q=Q||{},Q.once=!0),ne.preventDefault&&(Y=prevent_default(Y)),ne.stopPropagation&&(Y=stop_propagation(Y))}const ee=listen(U,Z,Y,Q),te=()=>{ee();const ie=K.indexOf(te);ie>-1&&K.splice(ie,1)};return K.push(te),Z in j||(j[Z]=listen(U,Z,N)),te};for(let q=0;q{for(let q=0;q1?I.push(U(B,N[1])):I.push(U(B))}return{update(A){if((A&&A.length||0)!=I.length)throw new Error("You must not change the length of an actions array.");if(A)for(let N=0;N1?U.update(K[1]):U.update()}}},destroy(){for(let A=0;A{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function create_else_block$q(B){let _,I,A,N;const U=[{use:[...B[2],B[6]]},B[7],B[3],{hidden:B[4]||void 0}];function K(G){B[58](G)}var j=B[1];function q(G){let Z={$$slots:{default:[create_default_slot$A]},$$scope:{ctx:G}};for(let Y=0;Ybind(_,"el",K))),{c(){_&&create_component(_.$$.fragment),A=empty$1()},m(G,Z){_&&mount_component(_,G,Z),insert(G,A,Z),N=!0},p(G,Z){const Y=Z[0]&220?get_spread_update(U,[Z[0]&68&&{use:[...G[2],G[6]]},Z[0]&128&&get_spread_object(G[7]),Z[0]&8&&get_spread_object(G[3]),Z[0]&16&&{hidden:G[4]||void 0}]):{};if(Z[1]&268435456&&(Y.$$scope={dirty:Z,ctx:G}),!I&&Z[0]&1&&(I=!0,Y.el=G[0],add_flush_callback(()=>I=!1)),Z[0]&2&&j!==(j=G[1])){if(_){group_outros();const Q=_;transition_out(Q.$$.fragment,1,0,()=>{destroy_component(Q,1)}),check_outros()}j?(_=construct_svelte_component(j,q(G)),binding_callbacks.push(()=>bind(_,"el",K)),create_component(_.$$.fragment),transition_in(_.$$.fragment,1),mount_component(_,A.parentNode,A)):_=null}else j&&_.$set(Y)},i(G){N||(_&&transition_in(_.$$.fragment,G),N=!0)},o(G){_&&transition_out(_.$$.fragment,G),N=!1},d(G){G&&detach(A),_&&destroy_component(_,G)}}}function create_if_block_39(B){let _,I,A,N,U,K;const j=B[18].default,q=create_slot(j,B,B[59],null);let G=[B[7],B[3],{hidden:I=B[4]||void 0}],Z={};for(let Y=0;Y{A=null}),check_outros())},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}var RenderStrategy;(function(B){B[B.Unmount=0]="Unmount",B[B.Hidden=1]="Hidden"})(RenderStrategy||(RenderStrategy={}));function instance$1$(B,_,I){let A,N,U,K,j;const q=["name","as","slotProps","el","use","visible","features","unmount","static","class","style"];let G=compute_rest_props(_,q),{$$slots:Z={},$$scope:Y}=_;const Q=forwardEventsBuilder(get_current_component());let{name:J}=_,{as:ee}=_,{slotProps:te}=_,{el:ie=null}=_,{use:ne=[]}=_,{visible:re=!0}=_,{features:oe=Features.None}=_,{unmount:se=!0}=_,{static:ae=!1}=_,{class:ue=void 0}=_,{style:ce=void 0}=_;if(!ee)throw new Error(`<${J}> did not provide an \`as\` value to `);if(!isValidElement(ee))throw new Error(`<${J}> has an invalid or unsupported \`as\` prop: ${ee}`);function le(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function de(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function fe(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function he(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ge(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function pe(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function we(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ye(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Le(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Se(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ae(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function be(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function xe(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function $e(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Oe(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ze(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Je(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function tt(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ve(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ze(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function He(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ue(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function nt(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function je(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function gt(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ft(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ot(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function pt(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function _t(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Xe(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function it(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function et(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Be(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Re(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ne(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Ce(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ve(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function Te(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function ke(me){binding_callbacks[me?"unshift":"push"](()=>{ie=me,I(0,ie)})}function De(me){ie=me,I(0,ie)}return B.$$set=me=>{_=assign(assign({},_),exclude_internal_props(me)),I(7,G=compute_rest_props(_,q)),"name"in me&&I(8,J=me.name),"as"in me&&I(1,ee=me.as),"slotProps"in me&&I(9,te=me.slotProps),"el"in me&&I(0,ie=me.el),"use"in me&&I(2,ne=me.use),"visible"in me&&I(10,re=me.visible),"features"in me&&I(11,oe=me.features),"unmount"in me&&I(12,se=me.unmount),"static"in me&&I(13,ae=me.static),"class"in me&&I(14,ue=me.class),"style"in me&&I(15,ce=me.style),"$$scope"in me&&I(59,Y=me.$$scope)},B.$$.update=()=>{B.$$.dirty[0]&16896&&I(17,A=typeof ue=="function"?ue(te):ue),B.$$.dirty[0]&33280&&I(16,N=typeof ce=="function"?ce(te):ce),B.$$.dirty[0]&15360&&I(5,U=re||oe&Features.Static&&ae||!(oe&Features.RenderStrategy&&se)),B.$$.dirty[0]&15360&&I(4,K=!re&&!(oe&Features.Static&&ae)&&oe&Features.RenderStrategy&&!se),B.$$.dirty[0]&196624&&I(3,j={class:A,style:`${N??""}${K?" display: none":""}`||void 0}),B.$$.dirty[0]&8&&j.style===void 0&&delete j.style},[ie,ee,ne,j,K,U,Q,G,J,te,re,oe,se,ae,ue,ce,N,A,Z,le,de,fe,he,ge,pe,we,ye,Le,Se,Ae,be,xe,$e,Oe,ze,Je,tt,Ve,Ze,He,Ue,nt,je,gt,ft,ot,pt,_t,Xe,it,et,Be,Re,Ne,Ce,ve,Te,ke,De,Y]}class Render extends SvelteComponent{constructor(_){super(),init(this,_,instance$1$,create_fragment$23,safe_not_equal,{name:8,as:1,slotProps:9,el:0,use:2,visible:10,features:11,unmount:12,static:13,class:14,style:15},null,[-1,-1])}}var DialogStates;(function(B){B[B.Open=0]="Open",B[B.Closed=1]="Closed"})(DialogStates||(DialogStates={}));var DisclosureStates;(function(B){B[B.Open=0]="Open",B[B.Closed=1]="Closed"})(DisclosureStates||(DisclosureStates={}));function resolveButtonType(B,_){if(B.type)return B.type;let I=B.as??"button";if(typeof I=="string"&&I.toLowerCase()==="button"||_&&_ instanceof HTMLButtonElement)return"button"}function assertNever$1(B){throw new Error("Unexpected object: "+B)}var Focus;(function(B){B[B.First=0]="First",B[B.Previous=1]="Previous",B[B.Next=2]="Next",B[B.Last=3]="Last",B[B.Specific=4]="Specific",B[B.Nothing=5]="Nothing"})(Focus||(Focus={}));function calculateActiveIndex(B,_){let I=_.resolveItems();if(I.length<=0)return null;let A=_.resolveActiveIndex(),N=A??-1,U=(()=>{switch(B.focus){case Focus.First:return I.findIndex(K=>!_.resolveDisabled(K));case Focus.Previous:{let K=I.slice().reverse().findIndex((j,q,G)=>N!==-1&&G.length-q-1>=N?!1:!_.resolveDisabled(j));return K===-1?K:I.length-1-K}case Focus.Next:return I.findIndex((K,j)=>j<=N?!1:!_.resolveDisabled(K));case Focus.Last:{let K=I.slice().reverse().findIndex(j=>!_.resolveDisabled(j));return K===-1?K:I.length-1-K}case Focus.Specific:return I.findIndex(K=>_.resolveId(K)===B.id);case Focus.Nothing:return null;default:assertNever$1(B)}})();return U===-1?A:U}var ListboxStates;(function(B){B[B.Open=0]="Open",B[B.Closed=1]="Closed"})(ListboxStates||(ListboxStates={}));const get_default_slot_spread_changes$3=B=>B&4,get_default_slot_changes$6=B=>({}),get_default_slot_context$6=B=>({...B[2]});function create_default_slot$z(B){let _;const I=B[14].default,A=create_slot(I,B,B[15],get_default_slot_context$6);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&32772)&&update_slot_base(A,I,N,N[15],get_default_slot_spread_changes$3(U)||!_?get_all_dirty_from_scope(N[15]):get_slot_changes(I,N[15],U,get_default_slot_changes$6),get_default_slot_context$6)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$22(B){let _,I,A,N;const U=[B[9],{use:[...B[0],B[3]]},{as:B[1]},{slotProps:B[2]},{name:"Menu"}];let K={$$slots:{default:[create_default_slot$z]},$$scope:{ctx:B}};for(let j=0;j is missing a parent component.`);return _}function instance$1_(B,_,I){let A;const N=["use","as"];let U=compute_rest_props(_,N),K,j,q,G,{$$slots:Z={},$$scope:Y}=_,{use:Q=[]}=_,{as:J="div"}=_;const ee=forwardEventsBuilder(get_current_component());let te=MenuStates.Closed,ie=writable(null);component_subscribe(B,ie,le=>I(17,j=le));let ne=writable(null);component_subscribe(B,ne,le=>I(19,G=le));let re=[],oe="",se=null,ae=writable({menuState:te,buttonStore:ie,itemsStore:ne,items:re,searchQuery:oe,activeItemIndex:se,closeMenu:()=>{I(10,te=MenuStates.Closed),I(13,se=null)},openMenu:()=>I(10,te=MenuStates.Open),goToItem(le,de){let fe=calculateActiveIndex(le===Focus.Specific?{focus:Focus.Specific,id:de}:{focus:le},{resolveItems:()=>re,resolveActiveIndex:()=>se,resolveId:he=>he.id,resolveDisabled:he=>he.data.disabled});oe===""&&se===fe||(I(12,oe=""),I(13,se=fe))},search(le){I(12,oe+=le.toLowerCase());let fe=(se!==null?re.slice(se+1).concat(re.slice(0,se+1)):re).find(ge=>ge.data.textValue.startsWith(oe)&&!ge.data.disabled),he=fe?re.indexOf(fe):-1;he===-1||he===se||I(13,se=he)},clearSearch(){I(12,oe="")},registerItem(le,de){if(!G){I(11,re=[...re,{id:le,data:de}]);return}let fe=se!==null?re[se]:null,he=Array.from(G.querySelectorAll('[id^="headlessui-menu-item-"]')).reduce((pe,we,ye)=>Object.assign(pe,{[we.id]:ye}),{}),ge=[...re,{id:le,data:de}];ge.sort((pe,we)=>he[pe.id]-he[we.id]),I(11,re=ge),I(13,se=(()=>fe===null?null:re.indexOf(fe))())},unregisterItem(le){let de=re.slice(),fe=se!==null?de[se]:null,he=de.findIndex(ge=>ge.id===le);he!==-1&&de.splice(he,1),I(11,re=de),I(13,se=(()=>he===se||fe===null?null:de.indexOf(fe))())}});component_subscribe(B,ae,le=>I(18,q=le)),setContext$1(MENU_CONTEXT_NAME,ae);function ue(le){let de=le.target,fe=document.activeElement;te===MenuStates.Open&&(j!=null&&j.contains(de)||(G!=null&&G.contains(de)||q.closeMenu(),!(fe!==document.body&&(fe!=null&&fe.contains(de)))&&(le.defaultPrevented||j==null||j.focus({preventScroll:!0}))))}let ce=writable(State$1.Closed);return component_subscribe(B,ce,le=>I(16,K=le)),useOpenClosedProvider(ce),B.$$set=le=>{_=assign(assign({},_),exclude_internal_props(le)),I(9,U=compute_rest_props(_,N)),"use"in le&&I(0,Q=le.use),"as"in le&&I(1,J=le.as),"$$scope"in le&&I(15,Y=le.$$scope)},B.$$.update=()=>{B.$$.dirty&15360&&ae.update(le=>({...le,menuState:te,buttonStore:ie,itemsStore:ne,items:re,searchQuery:oe,activeItemIndex:se})),B.$$.dirty&1024&&set_store_value(ce,K=match$1(te,{[MenuStates.Open]:State$1.Open,[MenuStates.Closed]:State$1.Closed}),K),B.$$.dirty&1024&&I(2,A={open:te===MenuStates.Open})},[Q,J,A,ee,ie,ne,ae,ue,ce,U,te,re,oe,se,Z,Y]}let Menu$1=class extends SvelteComponent{constructor(_){super(),init(this,_,instance$1_,create_fragment$22,safe_not_equal,{use:0,as:1})}};const get_default_slot_spread_changes$2=B=>B&8,get_default_slot_changes$5=B=>({}),get_default_slot_context$5=B=>({...B[3]});function create_default_slot$y(B){let _;const I=B[16].default,A=create_slot(I,B,B[18],get_default_slot_context$5);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&262152)&&update_slot_base(A,I,N,N[18],get_default_slot_spread_changes$2(U)||!_?get_all_dirty_from_scope(N[18]):get_slot_changes(I,N[18],U,get_default_slot_changes$5),get_default_slot_context$5)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$21(B){let _,I,A;const N=[{...B[12],...B[4]},{as:B[0]},{slotProps:B[3]},{use:[...B[1],B[7]]},{name:"MenuButton"}];function U(j){B[17](j)}let K={$$slots:{default:[create_default_slot$y]},$$scope:{ctx:B}};for(let j=0;jbind(_,"el",U)),_.$on("click",B[11]),_.$on("keydown",B[9]),_.$on("keyup",B[10]),{c(){create_component(_.$$.fragment)},m(j,q){mount_component(_,j,q),A=!0},p(j,[q]){const G=q&4251?get_spread_update(N,[q&4112&&{...j[12],...j[4]},q&1&&{as:j[0]},q&8&&{slotProps:j[3]},q&130&&{use:[...j[1],j[7]]},N[4]]):{};q&262152&&(G.$$scope={dirty:q,ctx:j}),!I&&q&4&&(I=!0,G.el=j[2],add_flush_callback(()=>I=!1)),_.$set(G)},i(j){A||(transition_in(_.$$.fragment,j),A=!0)},o(j){transition_out(_.$$.fragment,j),A=!1},d(j){destroy_component(_,j)}}}function instance$1Z(B,_,I){let A,N,U,K;const j=["as","use","disabled"];let q=compute_rest_props(_,j),G,Z,Y=noop,Q=()=>(Y(),Y=subscribe(N,ge=>I(15,Z=ge)),N),J,ee=noop,te=()=>(ee(),ee=subscribe(A,ge=>I(2,J=ge)),A);B.$$.on_destroy.push(()=>Y()),B.$$.on_destroy.push(()=>ee());let{$$slots:ie={},$$scope:ne}=_,{as:re="button"}=_,{use:oe=[]}=_,{disabled:se=!1}=_;const ae=forwardEventsBuilder(get_current_component()),ue=useMenuContext("MenuButton");component_subscribe(B,ue,ge=>I(14,G=ge));const ce=`headlessui-menu-button-${useId()}`;async function le(ge){let pe=ge;switch(pe.key){case Keys.Space:case Keys.Enter:case Keys.ArrowDown:pe.preventDefault(),pe.stopPropagation(),G.openMenu(),await tick(),Z==null||Z.focus({preventScroll:!0}),G.goToItem(Focus.First);break;case Keys.ArrowUp:pe.preventDefault(),pe.stopPropagation(),G.openMenu(),await tick(),Z==null||Z.focus({preventScroll:!0}),G.goToItem(Focus.Last);break}}function de(ge){let pe=ge;switch(pe.key){case Keys.Space:pe.preventDefault();break}}async function fe(ge){let pe=ge;se||(G.menuState===MenuStates.Open?(G.closeMenu(),await tick(),J==null||J.focus({preventScroll:!0})):(pe.preventDefault(),pe.stopPropagation(),G.openMenu(),await tick(),Z==null||Z.focus({preventScroll:!0})))}function he(ge){J=ge,A.set(J)}return B.$$set=ge=>{I(20,_=assign(assign({},_),exclude_internal_props(ge))),I(12,q=compute_rest_props(_,j)),"as"in ge&&I(0,re=ge.as),"use"in ge&&I(1,oe=ge.use),"disabled"in ge&&I(13,se=ge.disabled),"$$scope"in ge&&I(18,ne=ge.$$scope)},B.$$.update=()=>{B.$$.dirty&16384&&te(I(6,A=G.buttonStore)),B.$$.dirty&16384&&Q(I(5,N=G.itemsStore)),I(4,U={id:ce,type:resolveButtonType({type:_.type,as:re},J),disabled:se?!0:void 0,"aria-haspopup":!0,"aria-controls":Z==null?void 0:Z.id,"aria-expanded":se?void 0:G.menuState===MenuStates.Open}),B.$$.dirty&16384&&I(3,K={open:G.menuState===MenuStates.Open})},_=exclude_internal_props(_),[re,oe,J,K,U,N,A,ae,ue,le,de,fe,q,se,G,Z,ie,he,ne]}class MenuButton extends SvelteComponent{constructor(_){super(),init(this,_,instance$1Z,create_fragment$21,safe_not_equal,{as:0,use:1,disabled:13})}}function treeWalker({container:B,accept:_,walk:I,enabled:A}){let N=B;if(!N||A!==void 0&&!A)return;let U=Object.assign(j=>_(j),{acceptNode:_}),K=document.createTreeWalker(N,NodeFilter.SHOW_ELEMENT,U,!1);for(;K.nextNode();)I(K.currentNode)}const get_default_slot_spread_changes$1=B=>B&8,get_default_slot_changes$4=B=>({}),get_default_slot_context$4=B=>({...B[3]});function create_default_slot$x(B){let _;const I=B[17].default,A=create_slot(I,B,B[19],get_default_slot_context$4);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&524296)&&update_slot_base(A,I,N,N[19],get_default_slot_spread_changes$1(U)||!_?get_all_dirty_from_scope(N[19]):get_slot_changes(I,N[19],U,get_default_slot_changes$4),get_default_slot_context$4)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$20(B){let _,I,A;const N=[{...B[13],...B[4]},{as:B[0]},{slotProps:B[3]},{use:[...B[1],B[8]]},{name:"MenuItems"},{visible:B[5]},{features:Features.RenderStrategy|Features.Static}];function U(j){B[18](j)}let K={$$slots:{default:[create_default_slot$x]},$$scope:{ctx:B}};for(let j=0;jbind(_,"el",U)),_.$on("keydown",B[11]),_.$on("keyup",B[12]),{c(){create_component(_.$$.fragment)},m(j,q){mount_component(_,j,q),A=!0},p(j,[q]){const G=q&8507?get_spread_update(N,[q&8208&&{...j[13],...j[4]},q&1&&{as:j[0]},q&8&&{slotProps:j[3]},q&258&&{use:[...j[1],j[8]]},N[4],q&32&&{visible:j[5]},q&0&&{features:Features.RenderStrategy|Features.Static}]):{};q&524296&&(G.$$scope={dirty:q,ctx:j}),!I&&q&4&&(I=!0,G.el=j[2],add_flush_callback(()=>I=!1)),_.$set(G)},i(j){A||(transition_in(_.$$.fragment,j),A=!0)},o(j){transition_out(_.$$.fragment,j),A=!1},d(j){destroy_component(_,j)}}}function instance$1Y(B,_,I){let A,N,U,K,j;const q=["as","use"];let G=compute_rest_props(_,q),Z,Y,Q=noop,J=()=>(Q(),Q=subscribe(A,we=>I(15,Y=we)),A),ee,te=noop,ie=()=>(te(),te=subscribe(N,we=>I(2,ee=we)),N),ne;B.$$.on_destroy.push(()=>Q()),B.$$.on_destroy.push(()=>te());let{$$slots:re={},$$scope:oe}=_,{as:se="div"}=_,{use:ae=[]}=_;const ue=forwardEventsBuilder(get_current_component()),ce=useMenuContext("MenuItems");component_subscribe(B,ce,we=>I(14,Z=we));const le=`headlessui-menu-items-${useId()}`;let de=null,fe=useOpenClosed();component_subscribe(B,fe,we=>I(16,ne=we));async function he(we){var Le;de&&clearTimeout(de);let ye=we;switch(ye.key){case Keys.Space:if(Z.searchQuery!=="")return ye.preventDefault(),ye.stopPropagation(),Z.search(ye.key);case Keys.Enter:if(ye.preventDefault(),ye.stopPropagation(),Z.activeItemIndex!==null){let{id:Se}=Z.items[Z.activeItemIndex];(Le=document.getElementById(Se))==null||Le.click()}Z.closeMenu(),await tick(),Y==null||Y.focus({preventScroll:!0});break;case Keys.ArrowDown:return ye.preventDefault(),ye.stopPropagation(),Z.goToItem(Focus.Next);case Keys.ArrowUp:return ye.preventDefault(),ye.stopPropagation(),Z.goToItem(Focus.Previous);case Keys.Home:case Keys.PageUp:return ye.preventDefault(),ye.stopPropagation(),Z.goToItem(Focus.First);case Keys.End:case Keys.PageDown:return ye.preventDefault(),ye.stopPropagation(),Z.goToItem(Focus.Last);case Keys.Escape:ye.preventDefault(),ye.stopPropagation(),Z.closeMenu(),await tick(),Y==null||Y.focus({preventScroll:!0});break;case Keys.Tab:ye.preventDefault(),ye.stopPropagation();break;default:ye.key.length===1&&(Z.search(ye.key),de=setTimeout(()=>Z.clearSearch(),350));break}}function ge(we){let ye=we;switch(ye.key){case Keys.Space:ye.preventDefault();break}}function pe(we){ee=we,N.set(ee)}return B.$$set=we=>{_=assign(assign({},_),exclude_internal_props(we)),I(13,G=compute_rest_props(_,q)),"as"in we&&I(0,se=we.as),"use"in we&&I(1,ae=we.use),"$$scope"in we&&I(19,oe=we.$$scope)},B.$$.update=()=>{var we;B.$$.dirty&16384&&J(I(7,A=Z.buttonStore)),B.$$.dirty&16384&&ie(I(6,N=Z.itemsStore)),B.$$.dirty&81920&&I(5,U=fe!==void 0?ne===State$1.Open:Z.menuState===MenuStates.Open),B.$$.dirty&16388&&treeWalker({container:ee,enabled:Z.menuState===MenuStates.Open,accept(ye){return ye.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:ye.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(ye){ye.setAttribute("role","none")}}),B.$$.dirty&49152&&I(4,K={"aria-activedescendant":Z.activeItemIndex===null||(we=Z.items[Z.activeItemIndex])==null?void 0:we.id,"aria-labelledby":Y==null?void 0:Y.id,id:le,role:"menu",tabIndex:0}),B.$$.dirty&16384&&I(3,j={open:Z.menuState===MenuStates.Open})},[se,ae,ee,j,K,U,N,A,ue,ce,fe,he,ge,G,Z,Y,ne,re,pe,oe]}class MenuItems extends SvelteComponent{constructor(_){super(),init(this,_,instance$1Y,create_fragment$20,safe_not_equal,{as:0,use:1})}}const get_default_slot_spread_changes=B=>B&8,get_default_slot_changes$3=B=>({}),get_default_slot_context$3=B=>({...B[3]});function create_default_slot$w(B){let _;const I=B[17].default,A=create_slot(I,B,B[19],get_default_slot_context$3);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&524296)&&update_slot_base(A,I,N,N[19],get_default_slot_spread_changes(U)||!_?get_all_dirty_from_scope(N[19]):get_slot_changes(I,N[19],U,get_default_slot_changes$3),get_default_slot_context$3)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$1$(B){let _,I,A;const N=[{...B[12],...B[4]},{use:[...B[1],B[6]]},{as:B[0]},{slotProps:B[3]},{name:"MenuItem"}];function U(j){B[18](j)}let K={$$slots:{default:[create_default_slot$w]},$$scope:{ctx:B}};for(let j=0;jbind(_,"el",U)),_.$on("click",B[8]),_.$on("focus",B[9]),_.$on("pointermove",B[10]),_.$on("mousemove",B[10]),_.$on("pointerleave",B[11]),_.$on("mouseleave",B[11]),{c(){create_component(_.$$.fragment)},m(j,q){mount_component(_,j,q),A=!0},p(j,[q]){const G=q&4187?get_spread_update(N,[q&4112&&{...j[12],...j[4]},q&66&&{use:[...j[1],j[6]]},q&1&&{as:j[0]},q&8&&{slotProps:j[3]},N[4]]):{};q&524296&&(G.$$scope={dirty:q,ctx:j}),!I&&q&4&&(I=!0,G.el=j[2],add_flush_callback(()=>I=!1)),_.$set(G)},i(j){A||(transition_in(_.$$.fragment,j),A=!0)},o(j){transition_out(_.$$.fragment,j),A=!1},d(j){destroy_component(_,j)}}}function instance$1X(B,_,I){let A,N,U,K,j;const q=["as","use","disabled"];let G=compute_rest_props(_,q),Z,Y,Q=noop,J=()=>(Q(),Q=subscribe(N,pe=>I(21,Y=pe)),N);B.$$.on_destroy.push(()=>Q());let{$$slots:ee={},$$scope:te}=_,{as:ie="a"}=_,{use:ne=[]}=_,{disabled:re=!1}=_;const oe=forwardEventsBuilder(get_current_component(),[{name:"click",shouldExclude:()=>re}]),se=useMenuContext("MenuItem");component_subscribe(B,se,pe=>I(16,Z=pe));const ae=`headlessui-menu-item-${useId()}`;let ue,ce={disabled:re,textValue:U};onMount(async()=>{Z.registerItem(ae,ce)}),onDestroy(()=>{Z.unregisterItem(ae)}),afterUpdate(async()=>{var pe;Z.menuState===MenuStates.Open&&A&&(await tick(),(pe=ue==null?void 0:ue.scrollIntoView)==null||pe.call(ue,{block:"nearest"}))});async function le(pe){if(re)return pe.preventDefault();Z.closeMenu(),Y==null||Y.focus({preventScroll:!0})}function de(){if(re)return Z.goToItem(Focus.Nothing);Z.goToItem(Focus.Specific,ae)}function fe(){re||A||Z.goToItem(Focus.Specific,ae)}function he(){re||A&&Z.goToItem(Focus.Nothing)}function ge(pe){ue=pe,I(2,ue)}return B.$$set=pe=>{_=assign(assign({},_),exclude_internal_props(pe)),I(12,G=compute_rest_props(_,q)),"as"in pe&&I(0,ie=pe.as),"use"in pe&&I(1,ne=pe.use),"disabled"in pe&&I(13,re=pe.disabled),"$$scope"in pe&&I(19,te=pe.$$scope)},B.$$.update=()=>{var pe;B.$$.dirty&65536&&I(14,A=Z.activeItemIndex!==null?Z.items[Z.activeItemIndex].id===ae:!1),B.$$.dirty&65536&&J(I(5,N=Z.buttonStore)),B.$$.dirty&4&&I(15,U=((pe=ue==null?void 0:ue.textContent)==null?void 0:pe.toLowerCase().trim())||""),B.$$.dirty&8192&&(ce.disabled=re),B.$$.dirty&32768&&(ce.textValue=U),B.$$.dirty&8192&&I(4,K={id:ae,role:"menuitem",tabIndex:re===!0?void 0:-1,"aria-disabled":re===!0?!0:void 0}),B.$$.dirty&24576&&I(3,j={active:A,disabled:re})},[ie,ne,ue,j,K,N,oe,se,le,de,fe,he,G,re,A,U,Z,ee,ge,te]}class MenuItem extends SvelteComponent{constructor(_){super(),init(this,_,instance$1X,create_fragment$1$,safe_not_equal,{as:0,use:1,disabled:13})}}var PopoverStates;(function(B){B[B.Open=0]="Open",B[B.Closed=1]="Closed"})(PopoverStates||(PopoverStates={}));function once$2(B){let _={called:!1};return(...I)=>{if(!_.called)return _.called=!0,B(...I)}}function disposables(){let B=[],_={requestAnimationFrame(...I){let A=requestAnimationFrame(...I);_.add(()=>cancelAnimationFrame(A))},nextFrame(...I){_.requestAnimationFrame(()=>{_.requestAnimationFrame(...I)})},setTimeout(...I){let A=setTimeout(...I);_.add(()=>clearTimeout(A))},add(I){B.push(I)},dispose(){for(let I of B.splice(0))I()}};return _}function addClasses(B,..._){B&&_.length>0&&B.classList.add(..._)}function removeClasses(B,..._){B&&_.length>0&&B.classList.remove(..._)}var Reason;(function(B){B.Finished="finished",B.Cancelled="cancelled"})(Reason||(Reason={}));function waitForTransition(B,_){let I=disposables();if(!B)return I.dispose;let{transitionDuration:A,transitionDelay:N}=getComputedStyle(B),[U,K]=[A,N].map(j=>{let[q=0]=j.split(",").filter(Boolean).map(G=>G.includes("ms")?parseFloat(G):parseFloat(G)*1e3).sort((G,Z)=>Z-G);return q});return U!==0?I.setTimeout(()=>{_(Reason.Finished)},U+K):_(Reason.Finished),I.add(()=>_(Reason.Cancelled)),I.dispose}function transition(B,_,I,A,N,U){let K=disposables(),j=U!==void 0?once$2(U):()=>{};return removeClasses(B,...N),addClasses(B,..._,...I),K.nextFrame(()=>{removeClasses(B,...I),addClasses(B,...A),K.add(waitForTransition(B,q=>(removeClasses(B,...A,..._),addClasses(B,...N),j(q))))}),K.add(()=>removeClasses(B,..._,...I,...A)),K.add(()=>j(Reason.Cancelled)),K.dispose}var TreeStates;(function(B){B.Visible="visible",B.Hidden="hidden"})(TreeStates||(TreeStates={}));const TRANSITION_CONTEXT_NAME="headlessui-transition-context",NESTING_CONTEXT_NAME="headlessui-nesting-context";function useTransitionContext(){let B=getContext(TRANSITION_CONTEXT_NAME);if(B===void 0)throw new Error("A is used but it is missing a parent .");return B}function useParentNesting(){let B=getContext(NESTING_CONTEXT_NAME);if(B===void 0)throw new Error("A is used but it is missing a parent .");return B}function hasChildren(B){return"children"in B?hasChildren(B.children):B.filter(({state:_})=>_===TreeStates.Visible).length>0}function useNesting(B){let _=[];function I(N,U=RenderStrategy.Hidden){let K=_.findIndex(({id:q})=>q===N);if(K===-1)return;let j=hasChildren(_);match$1(U,{[RenderStrategy.Unmount](){_.splice(K,1)},[RenderStrategy.Hidden](){_[K].state=TreeStates.Hidden}}),j&&!hasChildren(_)&&(B==null||B())}function A(N){let U=_.find(({id:K})=>K===N);return U?U.state!==TreeStates.Visible&&(U.state=TreeStates.Visible):_.push({id:N,state:TreeStates.Visible}),()=>I(N,RenderStrategy.Unmount)}return{children:_,register:A,unregister:I}}function create_default_slot$v(B){let _;const I=B[23].default,A=create_slot(I,B,B[25],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U[0]&33554432)&&update_slot_base(A,I,N,N[25],_?get_slot_changes(I,N[25],U,null):get_all_dirty_from_scope(N[25]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$1_(B){let _,I,A;const N=[B[9],{as:B[0]},{use:[...B[1],B[5]]},{slotProps:{}},{name:"TransitionChild"},{class:B[4]},{visible:B[3]===TreeStates.Visible},{features:Features.RenderStrategy}];function U(j){B[24](j)}let K={$$slots:{default:[create_default_slot$v]},$$scope:{ctx:B}};for(let j=0;jbind(_,"el",U)),{c(){create_component(_.$$.fragment)},m(j,q){mount_component(_,j,q),A=!0},p(j,q){const G=q[0]&571?get_spread_update(N,[q[0]&512&&get_spread_object(j[9]),q[0]&1&&{as:j[0]},q[0]&34&&{use:[...j[1],j[5]]},N[3],N[4],q[0]&16&&{class:j[4]},q[0]&8&&{visible:j[3]===TreeStates.Visible},q&0&&{features:Features.RenderStrategy}]):{};q[0]&33554432&&(G.$$scope={dirty:q,ctx:j}),!I&&q[0]&4&&(I=!0,G.el=j[2],add_flush_callback(()=>I=!1)),_.$set(G)},i(j){A||(transition_in(_.$$.fragment,j),A=!0)},o(j){transition_out(_.$$.fragment,j),A=!1},d(j){destroy_component(_,j)}}}function instance$1W(B,_,I){let A,N,U,K,j,q,G,Z,Y;const Q=["as","use","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"];let J=compute_rest_props(_,Q),ee,te,ie,{$$slots:ne={},$$scope:re}=_,{as:oe="div"}=_,{use:se=[]}=_,{enter:ae=""}=_,{enterFrom:ue=""}=_,{enterTo:ce=""}=_,{entered:le=""}=_,{leave:de=""}=_,{leaveFrom:fe=""}=_,{leaveTo:he=""}=_;const ge=createEventDispatcher(),pe=forwardEventsBuilder(get_current_component(),["beforeEnter","beforeLeave","afterEnter","afterLeave"]);let we=null,ye=useTransitionContext();component_subscribe(B,ye,He=>I(21,ee=He));let Le=useParentNesting();component_subscribe(B,Le,He=>I(22,te=He));let Se=ee.initialShow||_.unmount!==!1?TreeStates.Visible:TreeStates.Hidden,Ae=!0,be=useId(),xe=!1,$e=writable(useNesting(()=>{xe||(I(3,Se=TreeStates.Hidden),te.unregister(be),ge("afterLeave"))}));component_subscribe(B,$e,He=>I(34,ie=He)),onMount(()=>te.register(be));function Oe(He=""){return He.split(" ").filter(Ue=>Ue.trim().length>1)}let ze=!1;onMount(()=>I(18,ze=!0));function Je(He,Ue){let nt=Ae&&!Ue,je=we;if(!(!je||!(je instanceof HTMLElement))&&!nt)return I(17,xe=!0),He&&ge("beforeEnter"),He||ge("beforeLeave"),He?transition(je,N,U,K,j,gt=>{I(17,xe=!1),gt===Reason.Finished&&ge("afterEnter")}):transition(je,q,G,Z,j,gt=>{I(17,xe=!1),gt===Reason.Finished&&(hasChildren(ie)||(I(3,Se=TreeStates.Hidden),te.unregister(be),ge("afterLeave")))})}let tt=null;setContext$1(NESTING_CONTEXT_NAME,$e);let Ve=writable(State$1.Closed);useOpenClosedProvider(Ve);function Ze(He){we=He,I(2,we)}return B.$$set=He=>{I(40,_=assign(assign({},_),exclude_internal_props(He))),I(9,J=compute_rest_props(_,Q)),"as"in He&&I(0,oe=He.as),"use"in He&&I(1,se=He.use),"enter"in He&&I(10,ae=He.enter),"enterFrom"in He&&I(11,ue=He.enterFrom),"enterTo"in He&&I(12,ce=He.enterTo),"entered"in He&&I(13,le=He.entered),"leave"in He&&I(14,de=He.leave),"leaveFrom"in He&&I(15,fe=He.leaveFrom),"leaveTo"in He&&I(16,he=He.leaveTo),"$$scope"in He&&I(25,re=He.$$scope)},B.$$.update=()=>{I(20,A=_.unmount===!1?RenderStrategy.Hidden:RenderStrategy.Unmount),B.$$.dirty[0]&7340040&&(()=>{if(A===RenderStrategy.Hidden&&be){if(ee.show&&Se!==TreeStates.Visible){I(3,Se=TreeStates.Visible);return}match$1(Se,{[TreeStates.Hidden]:()=>te.unregister(be),[TreeStates.Visible]:()=>te.register(be)})}})(),B.$$.dirty[0]&1024&&(N=Oe(ae)),B.$$.dirty[0]&2048&&(U=Oe(ue)),B.$$.dirty[0]&4096&&(K=Oe(ce)),B.$$.dirty[0]&8192&&(j=Oe(le)),B.$$.dirty[0]&16384&&(q=Oe(de)),B.$$.dirty[0]&32768&&(G=Oe(fe)),B.$$.dirty[0]&65536&&(Z=Oe(he)),B.$$.dirty[0]&2883584&&ze&&(tt&&tt(),I(19,tt=Je(ee.show,ee.appear)),Ae=!1),B.$$.dirty[0]&8&&Ve.set(match$1(Se,{[TreeStates.Visible]:State$1.Open,[TreeStates.Hidden]:State$1.Closed})),I(4,Y=xe?we==null?void 0:we.className:`${_.class||""} ${le}`)},_=exclude_internal_props(_),[oe,se,we,Se,Y,pe,ye,Le,$e,J,ae,ue,ce,le,de,fe,he,xe,ze,tt,A,ee,te,ne,Ze,re]}class TransitionChild extends SvelteComponent{constructor(_){super(),init(this,_,instance$1W,create_fragment$1_,safe_not_equal,{as:0,use:1,enter:10,enterFrom:11,enterTo:12,entered:13,leave:14,leaveFrom:15,leaveTo:16},null,[-1,-1])}}function create_if_block$I(B){let _,I;const A=[B[7],{as:B[0]},{use:[...B[1],B[3]]}];let N={$$slots:{default:[create_default_slot$u]},$$scope:{ctx:B}};for(let U=0;U{A=null}),check_outros())},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}function instance$1V(B,_,I){const A=["as","use","show","appear"];let N=compute_rest_props(_,A),U,K,{$$slots:j={},$$scope:q}=_;const G=forwardEventsBuilder(get_current_component(),["beforeEnter","beforeLeave","afterEnter","afterLeave"]);let{as:Z="div"}=_,{use:Y=[]}=_,{show:Q=void 0}=_,{appear:J=!1}=_,ee=useOpenClosed();component_subscribe(B,ee,fe=>I(13,K=fe));function te(fe,he){return fe===void 0&&he!==void 0?match$1(he,{[State$1.Open]:!0,[State$1.Closed]:!1}):fe}let ie=te(Q,ee!==void 0?K:void 0),ne=ie,re=ie?TreeStates.Visible:TreeStates.Hidden,oe=writable(useNesting(()=>{I(2,re=TreeStates.Hidden)}));component_subscribe(B,oe,fe=>I(12,U=fe));let se=!0,ae=writable();onMount(()=>{I(11,se=!1)}),setContext$1(NESTING_CONTEXT_NAME,oe),setContext$1(TRANSITION_CONTEXT_NAME,ae);function ue(fe){bubble.call(this,B,fe)}function ce(fe){bubble.call(this,B,fe)}function le(fe){bubble.call(this,B,fe)}function de(fe){bubble.call(this,B,fe)}return B.$$set=fe=>{I(6,_=assign(assign({},_),exclude_internal_props(fe))),I(7,N=compute_rest_props(_,A)),"as"in fe&&I(0,Z=fe.as),"use"in fe&&I(1,Y=fe.use),"show"in fe&&I(8,Q=fe.show),"appear"in fe&&I(9,J=fe.appear),"$$scope"in fe&&I(19,q=fe.$$scope)},B.$$.update=()=>{if(B.$$.dirty&9472&&(I(10,ie=te(Q,ee!==void 0?K:void 0)),ie!==!0&&ie!==!1))throw new Error("A is used but it is missing a `show={true | false}` prop.");B.$$.dirty&3584&&ae.set({show:!!ie,appear:J||!se,initialShow:!!ne}),B.$$.dirty&7168&&(se||(ie?I(2,re=TreeStates.Visible):hasChildren(U)||I(2,re=TreeStates.Hidden)))},_=exclude_internal_props(_),[Z,Y,re,G,ee,oe,_,N,Q,J,ie,se,U,K,j,ue,ce,le,de,q]}class TransitionRoot extends SvelteComponent{constructor(_){super(),init(this,_,instance$1V,create_fragment$1Z,safe_not_equal,{as:0,use:1,show:8,appear:9})}}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(B,_){return B.concat([_+"-"+start,_+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(B,_){return B.concat([_,_+"-"+start,_+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(B){return B?(B.nodeName||"").toLowerCase():null}function getWindow(B){if(B==null)return window;if(B.toString()!=="[object Window]"){var _=B.ownerDocument;return _&&_.defaultView||window}return B}function isElement(B){var _=getWindow(B).Element;return B instanceof _||B instanceof Element}function isHTMLElement$1(B){var _=getWindow(B).HTMLElement;return B instanceof _||B instanceof HTMLElement}function isShadowRoot$1(B){if(typeof ShadowRoot>"u")return!1;var _=getWindow(B).ShadowRoot;return B instanceof _||B instanceof ShadowRoot}function applyStyles(B){var _=B.state;Object.keys(_.elements).forEach(function(I){var A=_.styles[I]||{},N=_.attributes[I]||{},U=_.elements[I];!isHTMLElement$1(U)||!getNodeName(U)||(Object.assign(U.style,A),Object.keys(N).forEach(function(K){var j=N[K];j===!1?U.removeAttribute(K):U.setAttribute(K,j===!0?"":j)}))})}function effect$2(B){var _=B.state,I={popper:{position:_.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(_.elements.popper.style,I.popper),_.styles=I,_.elements.arrow&&Object.assign(_.elements.arrow.style,I.arrow),function(){Object.keys(_.elements).forEach(function(A){var N=_.elements[A],U=_.attributes[A]||{},K=Object.keys(_.styles.hasOwnProperty(A)?_.styles[A]:I[A]),j=K.reduce(function(q,G){return q[G]="",q},{});!isHTMLElement$1(N)||!getNodeName(N)||(Object.assign(N.style,j),Object.keys(U).forEach(function(q){N.removeAttribute(q)}))})}}const applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(B){return B.split("-")[0]}var max=Math.max,min=Math.min,round=Math.round;function getUAString(){var B=navigator.userAgentData;return B!=null&&B.brands&&Array.isArray(B.brands)?B.brands.map(function(_){return _.brand+"/"+_.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(B,_,I){_===void 0&&(_=!1),I===void 0&&(I=!1);var A=B.getBoundingClientRect(),N=1,U=1;_&&isHTMLElement$1(B)&&(N=B.offsetWidth>0&&round(A.width)/B.offsetWidth||1,U=B.offsetHeight>0&&round(A.height)/B.offsetHeight||1);var K=isElement(B)?getWindow(B):window,j=K.visualViewport,q=!isLayoutViewport()&&I,G=(A.left+(q&&j?j.offsetLeft:0))/N,Z=(A.top+(q&&j?j.offsetTop:0))/U,Y=A.width/N,Q=A.height/U;return{width:Y,height:Q,top:Z,right:G+Y,bottom:Z+Q,left:G,x:G,y:Z}}function getLayoutRect(B){var _=getBoundingClientRect(B),I=B.offsetWidth,A=B.offsetHeight;return Math.abs(_.width-I)<=1&&(I=_.width),Math.abs(_.height-A)<=1&&(A=_.height),{x:B.offsetLeft,y:B.offsetTop,width:I,height:A}}function contains(B,_){var I=_.getRootNode&&_.getRootNode();if(B.contains(_))return!0;if(I&&isShadowRoot$1(I)){var A=_;do{if(A&&B.isSameNode(A))return!0;A=A.parentNode||A.host}while(A)}return!1}function getComputedStyle$2(B){return getWindow(B).getComputedStyle(B)}function isTableElement(B){return["table","td","th"].indexOf(getNodeName(B))>=0}function getDocumentElement(B){return((isElement(B)?B.ownerDocument:B.document)||window.document).documentElement}function getParentNode(B){return getNodeName(B)==="html"?B:B.assignedSlot||B.parentNode||(isShadowRoot$1(B)?B.host:null)||getDocumentElement(B)}function getTrueOffsetParent(B){return!isHTMLElement$1(B)||getComputedStyle$2(B).position==="fixed"?null:B.offsetParent}function getContainingBlock(B){var _=/firefox/i.test(getUAString()),I=/Trident/i.test(getUAString());if(I&&isHTMLElement$1(B)){var A=getComputedStyle$2(B);if(A.position==="fixed")return null}var N=getParentNode(B);for(isShadowRoot$1(N)&&(N=N.host);isHTMLElement$1(N)&&["html","body"].indexOf(getNodeName(N))<0;){var U=getComputedStyle$2(N);if(U.transform!=="none"||U.perspective!=="none"||U.contain==="paint"||["transform","perspective"].indexOf(U.willChange)!==-1||_&&U.willChange==="filter"||_&&U.filter&&U.filter!=="none")return N;N=N.parentNode}return null}function getOffsetParent(B){for(var _=getWindow(B),I=getTrueOffsetParent(B);I&&isTableElement(I)&&getComputedStyle$2(I).position==="static";)I=getTrueOffsetParent(I);return I&&(getNodeName(I)==="html"||getNodeName(I)==="body"&&getComputedStyle$2(I).position==="static")?_:I||getContainingBlock(B)||_}function getMainAxisFromPlacement(B){return["top","bottom"].indexOf(B)>=0?"x":"y"}function within(B,_,I){return max(B,min(_,I))}function withinMaxClamp(B,_,I){var A=within(B,_,I);return A>I?I:A}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(B){return Object.assign({},getFreshSideObject(),B)}function expandToHashMap(B,_){return _.reduce(function(I,A){return I[A]=B,I},{})}var toPaddingObject=function(_,I){return _=typeof _=="function"?_(Object.assign({},I.rects,{placement:I.placement})):_,mergePaddingObject(typeof _!="number"?_:expandToHashMap(_,basePlacements))};function arrow(B){var _,I=B.state,A=B.name,N=B.options,U=I.elements.arrow,K=I.modifiersData.popperOffsets,j=getBasePlacement(I.placement),q=getMainAxisFromPlacement(j),G=[left,right].indexOf(j)>=0,Z=G?"height":"width";if(!(!U||!K)){var Y=toPaddingObject(N.padding,I),Q=getLayoutRect(U),J=q==="y"?top:left,ee=q==="y"?bottom:right,te=I.rects.reference[Z]+I.rects.reference[q]-K[q]-I.rects.popper[Z],ie=K[q]-I.rects.reference[q],ne=getOffsetParent(U),re=ne?q==="y"?ne.clientHeight||0:ne.clientWidth||0:0,oe=te/2-ie/2,se=Y[J],ae=re-Q[Z]-Y[ee],ue=re/2-Q[Z]/2+oe,ce=within(se,ue,ae),le=q;I.modifiersData[A]=(_={},_[le]=ce,_.centerOffset=ce-ue,_)}}function effect$1(B){var _=B.state,I=B.options,A=I.element,N=A===void 0?"[data-popper-arrow]":A;N!=null&&(typeof N=="string"&&(N=_.elements.popper.querySelector(N),!N)||contains(_.elements.popper,N)&&(_.elements.arrow=N))}const arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(B){return B.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(B,_){var I=B.x,A=B.y,N=_.devicePixelRatio||1;return{x:round(I*N)/N||0,y:round(A*N)/N||0}}function mapToStyles(B){var _,I=B.popper,A=B.popperRect,N=B.placement,U=B.variation,K=B.offsets,j=B.position,q=B.gpuAcceleration,G=B.adaptive,Z=B.roundOffsets,Y=B.isFixed,Q=K.x,J=Q===void 0?0:Q,ee=K.y,te=ee===void 0?0:ee,ie=typeof Z=="function"?Z({x:J,y:te}):{x:J,y:te};J=ie.x,te=ie.y;var ne=K.hasOwnProperty("x"),re=K.hasOwnProperty("y"),oe=left,se=top,ae=window;if(G){var ue=getOffsetParent(I),ce="clientHeight",le="clientWidth";if(ue===getWindow(I)&&(ue=getDocumentElement(I),getComputedStyle$2(ue).position!=="static"&&j==="absolute"&&(ce="scrollHeight",le="scrollWidth")),ue=ue,N===top||(N===left||N===right)&&U===end){se=bottom;var de=Y&&ue===ae&&ae.visualViewport?ae.visualViewport.height:ue[ce];te-=de-A.height,te*=q?1:-1}if(N===left||(N===top||N===bottom)&&U===end){oe=right;var fe=Y&&ue===ae&&ae.visualViewport?ae.visualViewport.width:ue[le];J-=fe-A.width,J*=q?1:-1}}var he=Object.assign({position:j},G&&unsetSides),ge=Z===!0?roundOffsetsByDPR({x:J,y:te},getWindow(I)):{x:J,y:te};if(J=ge.x,te=ge.y,q){var pe;return Object.assign({},he,(pe={},pe[se]=re?"0":"",pe[oe]=ne?"0":"",pe.transform=(ae.devicePixelRatio||1)<=1?"translate("+J+"px, "+te+"px)":"translate3d("+J+"px, "+te+"px, 0)",pe))}return Object.assign({},he,(_={},_[se]=re?te+"px":"",_[oe]=ne?J+"px":"",_.transform="",_))}function computeStyles(B){var _=B.state,I=B.options,A=I.gpuAcceleration,N=A===void 0?!0:A,U=I.adaptive,K=U===void 0?!0:U,j=I.roundOffsets,q=j===void 0?!0:j,G={placement:getBasePlacement(_.placement),variation:getVariation(_.placement),popper:_.elements.popper,popperRect:_.rects.popper,gpuAcceleration:N,isFixed:_.options.strategy==="fixed"};_.modifiersData.popperOffsets!=null&&(_.styles.popper=Object.assign({},_.styles.popper,mapToStyles(Object.assign({},G,{offsets:_.modifiersData.popperOffsets,position:_.options.strategy,adaptive:K,roundOffsets:q})))),_.modifiersData.arrow!=null&&(_.styles.arrow=Object.assign({},_.styles.arrow,mapToStyles(Object.assign({},G,{offsets:_.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:q})))),_.attributes.popper=Object.assign({},_.attributes.popper,{"data-popper-placement":_.placement})}const computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:!0};function effect(B){var _=B.state,I=B.instance,A=B.options,N=A.scroll,U=N===void 0?!0:N,K=A.resize,j=K===void 0?!0:K,q=getWindow(_.elements.popper),G=[].concat(_.scrollParents.reference,_.scrollParents.popper);return U&&G.forEach(function(Z){Z.addEventListener("scroll",I.update,passive)}),j&&q.addEventListener("resize",I.update,passive),function(){U&&G.forEach(function(Z){Z.removeEventListener("scroll",I.update,passive)}),j&&q.removeEventListener("resize",I.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};var hash$2={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(B){return B.replace(/left|right|bottom|top/g,function(_){return hash$2[_]})}var hash$1={start:"end",end:"start"};function getOppositeVariationPlacement(B){return B.replace(/start|end/g,function(_){return hash$1[_]})}function getWindowScroll(B){var _=getWindow(B),I=_.pageXOffset,A=_.pageYOffset;return{scrollLeft:I,scrollTop:A}}function getWindowScrollBarX(B){return getBoundingClientRect(getDocumentElement(B)).left+getWindowScroll(B).scrollLeft}function getViewportRect(B,_){var I=getWindow(B),A=getDocumentElement(B),N=I.visualViewport,U=A.clientWidth,K=A.clientHeight,j=0,q=0;if(N){U=N.width,K=N.height;var G=isLayoutViewport();(G||!G&&_==="fixed")&&(j=N.offsetLeft,q=N.offsetTop)}return{width:U,height:K,x:j+getWindowScrollBarX(B),y:q}}function getDocumentRect(B){var _,I=getDocumentElement(B),A=getWindowScroll(B),N=(_=B.ownerDocument)==null?void 0:_.body,U=max(I.scrollWidth,I.clientWidth,N?N.scrollWidth:0,N?N.clientWidth:0),K=max(I.scrollHeight,I.clientHeight,N?N.scrollHeight:0,N?N.clientHeight:0),j=-A.scrollLeft+getWindowScrollBarX(B),q=-A.scrollTop;return getComputedStyle$2(N||I).direction==="rtl"&&(j+=max(I.clientWidth,N?N.clientWidth:0)-U),{width:U,height:K,x:j,y:q}}function isScrollParent(B){var _=getComputedStyle$2(B),I=_.overflow,A=_.overflowX,N=_.overflowY;return/auto|scroll|overlay|hidden/.test(I+N+A)}function getScrollParent(B){return["html","body","#document"].indexOf(getNodeName(B))>=0?B.ownerDocument.body:isHTMLElement$1(B)&&isScrollParent(B)?B:getScrollParent(getParentNode(B))}function listScrollParents(B,_){var I;_===void 0&&(_=[]);var A=getScrollParent(B),N=A===((I=B.ownerDocument)==null?void 0:I.body),U=getWindow(A),K=N?[U].concat(U.visualViewport||[],isScrollParent(A)?A:[]):A,j=_.concat(K);return N?j:j.concat(listScrollParents(getParentNode(K)))}function rectToClientRect(B){return Object.assign({},B,{left:B.x,top:B.y,right:B.x+B.width,bottom:B.y+B.height})}function getInnerBoundingClientRect(B,_){var I=getBoundingClientRect(B,!1,_==="fixed");return I.top=I.top+B.clientTop,I.left=I.left+B.clientLeft,I.bottom=I.top+B.clientHeight,I.right=I.left+B.clientWidth,I.width=B.clientWidth,I.height=B.clientHeight,I.x=I.left,I.y=I.top,I}function getClientRectFromMixedType(B,_,I){return _===viewport?rectToClientRect(getViewportRect(B,I)):isElement(_)?getInnerBoundingClientRect(_,I):rectToClientRect(getDocumentRect(getDocumentElement(B)))}function getClippingParents(B){var _=listScrollParents(getParentNode(B)),I=["absolute","fixed"].indexOf(getComputedStyle$2(B).position)>=0,A=I&&isHTMLElement$1(B)?getOffsetParent(B):B;return isElement(A)?_.filter(function(N){return isElement(N)&&contains(N,A)&&getNodeName(N)!=="body"}):[]}function getClippingRect(B,_,I,A){var N=_==="clippingParents"?getClippingParents(B):[].concat(_),U=[].concat(N,[I]),K=U[0],j=U.reduce(function(q,G){var Z=getClientRectFromMixedType(B,G,A);return q.top=max(Z.top,q.top),q.right=min(Z.right,q.right),q.bottom=min(Z.bottom,q.bottom),q.left=max(Z.left,q.left),q},getClientRectFromMixedType(B,K,A));return j.width=j.right-j.left,j.height=j.bottom-j.top,j.x=j.left,j.y=j.top,j}function computeOffsets(B){var _=B.reference,I=B.element,A=B.placement,N=A?getBasePlacement(A):null,U=A?getVariation(A):null,K=_.x+_.width/2-I.width/2,j=_.y+_.height/2-I.height/2,q;switch(N){case top:q={x:K,y:_.y-I.height};break;case bottom:q={x:K,y:_.y+_.height};break;case right:q={x:_.x+_.width,y:j};break;case left:q={x:_.x-I.width,y:j};break;default:q={x:_.x,y:_.y}}var G=N?getMainAxisFromPlacement(N):null;if(G!=null){var Z=G==="y"?"height":"width";switch(U){case start:q[G]=q[G]-(_[Z]/2-I[Z]/2);break;case end:q[G]=q[G]+(_[Z]/2-I[Z]/2);break}}return q}function detectOverflow(B,_){_===void 0&&(_={});var I=_,A=I.placement,N=A===void 0?B.placement:A,U=I.strategy,K=U===void 0?B.strategy:U,j=I.boundary,q=j===void 0?clippingParents:j,G=I.rootBoundary,Z=G===void 0?viewport:G,Y=I.elementContext,Q=Y===void 0?popper:Y,J=I.altBoundary,ee=J===void 0?!1:J,te=I.padding,ie=te===void 0?0:te,ne=mergePaddingObject(typeof ie!="number"?ie:expandToHashMap(ie,basePlacements)),re=Q===popper?reference:popper,oe=B.rects.popper,se=B.elements[ee?re:Q],ae=getClippingRect(isElement(se)?se:se.contextElement||getDocumentElement(B.elements.popper),q,Z,K),ue=getBoundingClientRect(B.elements.reference),ce=computeOffsets({reference:ue,element:oe,strategy:"absolute",placement:N}),le=rectToClientRect(Object.assign({},oe,ce)),de=Q===popper?le:ue,fe={top:ae.top-de.top+ne.top,bottom:de.bottom-ae.bottom+ne.bottom,left:ae.left-de.left+ne.left,right:de.right-ae.right+ne.right},he=B.modifiersData.offset;if(Q===popper&&he){var ge=he[N];Object.keys(fe).forEach(function(pe){var we=[right,bottom].indexOf(pe)>=0?1:-1,ye=[top,bottom].indexOf(pe)>=0?"y":"x";fe[pe]+=ge[ye]*we})}return fe}function computeAutoPlacement(B,_){_===void 0&&(_={});var I=_,A=I.placement,N=I.boundary,U=I.rootBoundary,K=I.padding,j=I.flipVariations,q=I.allowedAutoPlacements,G=q===void 0?placements:q,Z=getVariation(A),Y=Z?j?variationPlacements:variationPlacements.filter(function(ee){return getVariation(ee)===Z}):basePlacements,Q=Y.filter(function(ee){return G.indexOf(ee)>=0});Q.length===0&&(Q=Y);var J=Q.reduce(function(ee,te){return ee[te]=detectOverflow(B,{placement:te,boundary:N,rootBoundary:U,padding:K})[getBasePlacement(te)],ee},{});return Object.keys(J).sort(function(ee,te){return J[ee]-J[te]})}function getExpandedFallbackPlacements(B){if(getBasePlacement(B)===auto)return[];var _=getOppositePlacement(B);return[getOppositeVariationPlacement(B),_,getOppositeVariationPlacement(_)]}function flip(B){var _=B.state,I=B.options,A=B.name;if(!_.modifiersData[A]._skip){for(var N=I.mainAxis,U=N===void 0?!0:N,K=I.altAxis,j=K===void 0?!0:K,q=I.fallbackPlacements,G=I.padding,Z=I.boundary,Y=I.rootBoundary,Q=I.altBoundary,J=I.flipVariations,ee=J===void 0?!0:J,te=I.allowedAutoPlacements,ie=_.options.placement,ne=getBasePlacement(ie),re=ne===ie,oe=q||(re||!ee?[getOppositePlacement(ie)]:getExpandedFallbackPlacements(ie)),se=[ie].concat(oe).reduce(function(Je,tt){return Je.concat(getBasePlacement(tt)===auto?computeAutoPlacement(_,{placement:tt,boundary:Z,rootBoundary:Y,padding:G,flipVariations:ee,allowedAutoPlacements:te}):tt)},[]),ae=_.rects.reference,ue=_.rects.popper,ce=new Map,le=!0,de=se[0],fe=0;fe=0,ye=we?"width":"height",Le=detectOverflow(_,{placement:he,boundary:Z,rootBoundary:Y,altBoundary:Q,padding:G}),Se=we?pe?right:left:pe?bottom:top;ae[ye]>ue[ye]&&(Se=getOppositePlacement(Se));var Ae=getOppositePlacement(Se),be=[];if(U&&be.push(Le[ge]<=0),j&&be.push(Le[Se]<=0,Le[Ae]<=0),be.every(function(Je){return Je})){de=he,le=!1;break}ce.set(he,be)}if(le)for(var xe=ee?3:1,$e=function(tt){var Ve=se.find(function(Ze){var He=ce.get(Ze);if(He)return He.slice(0,tt).every(function(Ue){return Ue})});if(Ve)return de=Ve,"break"},Oe=xe;Oe>0;Oe--){var ze=$e(Oe);if(ze==="break")break}_.placement!==de&&(_.modifiersData[A]._skip=!0,_.placement=de,_.reset=!0)}}const flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(B,_,I){return I===void 0&&(I={x:0,y:0}),{top:B.top-_.height-I.y,right:B.right-_.width+I.x,bottom:B.bottom-_.height+I.y,left:B.left-_.width-I.x}}function isAnySideFullyClipped(B){return[top,right,bottom,left].some(function(_){return B[_]>=0})}function hide$1(B){var _=B.state,I=B.name,A=_.rects.reference,N=_.rects.popper,U=_.modifiersData.preventOverflow,K=detectOverflow(_,{elementContext:"reference"}),j=detectOverflow(_,{altBoundary:!0}),q=getSideOffsets(K,A),G=getSideOffsets(j,N,U),Z=isAnySideFullyClipped(q),Y=isAnySideFullyClipped(G);_.modifiersData[I]={referenceClippingOffsets:q,popperEscapeOffsets:G,isReferenceHidden:Z,hasPopperEscaped:Y},_.attributes.popper=Object.assign({},_.attributes.popper,{"data-popper-reference-hidden":Z,"data-popper-escaped":Y})}const hide$2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide$1};function distanceAndSkiddingToXY(B,_,I){var A=getBasePlacement(B),N=[left,top].indexOf(A)>=0?-1:1,U=typeof I=="function"?I(Object.assign({},_,{placement:B})):I,K=U[0],j=U[1];return K=K||0,j=(j||0)*N,[left,right].indexOf(A)>=0?{x:j,y:K}:{x:K,y:j}}function offset(B){var _=B.state,I=B.options,A=B.name,N=I.offset,U=N===void 0?[0,0]:N,K=placements.reduce(function(Z,Y){return Z[Y]=distanceAndSkiddingToXY(Y,_.rects,U),Z},{}),j=K[_.placement],q=j.x,G=j.y;_.modifiersData.popperOffsets!=null&&(_.modifiersData.popperOffsets.x+=q,_.modifiersData.popperOffsets.y+=G),_.modifiersData[A]=K}const offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(B){var _=B.state,I=B.name;_.modifiersData[I]=computeOffsets({reference:_.rects.reference,element:_.rects.popper,strategy:"absolute",placement:_.placement})}const popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(B){return B==="x"?"y":"x"}function preventOverflow(B){var _=B.state,I=B.options,A=B.name,N=I.mainAxis,U=N===void 0?!0:N,K=I.altAxis,j=K===void 0?!1:K,q=I.boundary,G=I.rootBoundary,Z=I.altBoundary,Y=I.padding,Q=I.tether,J=Q===void 0?!0:Q,ee=I.tetherOffset,te=ee===void 0?0:ee,ie=detectOverflow(_,{boundary:q,rootBoundary:G,padding:Y,altBoundary:Z}),ne=getBasePlacement(_.placement),re=getVariation(_.placement),oe=!re,se=getMainAxisFromPlacement(ne),ae=getAltAxis(se),ue=_.modifiersData.popperOffsets,ce=_.rects.reference,le=_.rects.popper,de=typeof te=="function"?te(Object.assign({},_.rects,{placement:_.placement})):te,fe=typeof de=="number"?{mainAxis:de,altAxis:de}:Object.assign({mainAxis:0,altAxis:0},de),he=_.modifiersData.offset?_.modifiersData.offset[_.placement]:null,ge={x:0,y:0};if(ue){if(U){var pe,we=se==="y"?top:left,ye=se==="y"?bottom:right,Le=se==="y"?"height":"width",Se=ue[se],Ae=Se+ie[we],be=Se-ie[ye],xe=J?-le[Le]/2:0,$e=re===start?ce[Le]:le[Le],Oe=re===start?-le[Le]:-ce[Le],ze=_.elements.arrow,Je=J&&ze?getLayoutRect(ze):{width:0,height:0},tt=_.modifiersData["arrow#persistent"]?_.modifiersData["arrow#persistent"].padding:getFreshSideObject(),Ve=tt[we],Ze=tt[ye],He=within(0,ce[Le],Je[Le]),Ue=oe?ce[Le]/2-xe-He-Ve-fe.mainAxis:$e-He-Ve-fe.mainAxis,nt=oe?-ce[Le]/2+xe+He+Ze+fe.mainAxis:Oe+He+Ze+fe.mainAxis,je=_.elements.arrow&&getOffsetParent(_.elements.arrow),gt=je?se==="y"?je.clientTop||0:je.clientLeft||0:0,ft=(pe=he==null?void 0:he[se])!=null?pe:0,ot=Se+Ue-ft-gt,pt=Se+nt-ft,_t=within(J?min(Ae,ot):Ae,Se,J?max(be,pt):be);ue[se]=_t,ge[se]=_t-Se}if(j){var Xe,it=se==="x"?top:left,et=se==="x"?bottom:right,Be=ue[ae],Re=ae==="y"?"height":"width",Ne=Be+ie[it],Ce=Be-ie[et],ve=[top,left].indexOf(ne)!==-1,Te=(Xe=he==null?void 0:he[ae])!=null?Xe:0,ke=ve?Ne:Be-ce[Re]-le[Re]-Te+fe.altAxis,De=ve?Be+ce[Re]+le[Re]-Te-fe.altAxis:Ce,me=J&&ve?withinMaxClamp(ke,Be,De):within(J?ke:Ne,Be,J?De:Ce);ue[ae]=me,ge[ae]=me-Be}_.modifiersData[A]=ge}}const preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(B){return{scrollLeft:B.scrollLeft,scrollTop:B.scrollTop}}function getNodeScroll(B){return B===getWindow(B)||!isHTMLElement$1(B)?getWindowScroll(B):getHTMLElementScroll(B)}function isElementScaled(B){var _=B.getBoundingClientRect(),I=round(_.width)/B.offsetWidth||1,A=round(_.height)/B.offsetHeight||1;return I!==1||A!==1}function getCompositeRect(B,_,I){I===void 0&&(I=!1);var A=isHTMLElement$1(_),N=isHTMLElement$1(_)&&isElementScaled(_),U=getDocumentElement(_),K=getBoundingClientRect(B,N,I),j={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(A||!A&&!I)&&((getNodeName(_)!=="body"||isScrollParent(U))&&(j=getNodeScroll(_)),isHTMLElement$1(_)?(q=getBoundingClientRect(_,!0),q.x+=_.clientLeft,q.y+=_.clientTop):U&&(q.x=getWindowScrollBarX(U))),{x:K.left+j.scrollLeft-q.x,y:K.top+j.scrollTop-q.y,width:K.width,height:K.height}}function order(B){var _=new Map,I=new Set,A=[];B.forEach(function(U){_.set(U.name,U)});function N(U){I.add(U.name);var K=[].concat(U.requires||[],U.requiresIfExists||[]);K.forEach(function(j){if(!I.has(j)){var q=_.get(j);q&&N(q)}}),A.push(U)}return B.forEach(function(U){I.has(U.name)||N(U)}),A}function orderModifiers(B){var _=order(B);return modifierPhases.reduce(function(I,A){return I.concat(_.filter(function(N){return N.phase===A}))},[])}function debounce(B){var _;return function(){return _||(_=new Promise(function(I){Promise.resolve().then(function(){_=void 0,I(B())})})),_}}function mergeByName(B){var _=B.reduce(function(I,A){var N=I[A.name];return I[A.name]=N?Object.assign({},N,A,{options:Object.assign({},N.options,A.options),data:Object.assign({},N.data,A.data)}):A,I},{});return Object.keys(_).map(function(I){return _[I]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var B=arguments.length,_=new Array(B),I=0;I{I!==void 0&&A!==void 0&&(_=createPopper(I,A,N))},K=()=>{_!==null&&(_.destroy(),_=null)},j=Z=>"subscribe"in Z?(q(Z),{}):(I=Z,U(),{destroy(){K()}}),q=Z=>{const Y=Z.subscribe(Q=>{I===void 0?(I=Q,U()):(Object.assign(I,Q),_==null||_.update())});onDestroy(Y)};return[j,(Z,Y)=>(A=Z,N={...B,...Y},U(),{update(Q){N={...B,...Q},_==null||_.setOptions(N)},destroy(){K()}}),()=>_]}function create_fragment$1Y(B){let _,I,A,N,U;const K=B[2].default,j=create_slot(K,B,B[1],null);return{c(){_=element("div"),j&&j.c(),_.hidden=!0},m(q,G){insert(q,_,G),j&&j.m(_,null),A=!0,N||(U=action_destroyer(I=portal.call(null,_,B[0])),N=!0)},p(q,[G]){j&&j.p&&(!A||G&2)&&update_slot_base(j,K,q,q[1],A?get_slot_changes(K,q[1],G,null):get_all_dirty_from_scope(q[1]),null),I&&is_function(I.update)&&G&1&&I.update.call(null,q[0])},i(q){A||(transition_in(j,q),A=!0)},o(q){transition_out(j,q),A=!1},d(q){q&&detach(_),j&&j.d(q),N=!1,U()}}}function portal(B,_="body"){let I;async function A(U){if(_=U,typeof _=="string"){if(I=document.querySelector(_),I===null&&(await tick(),I=document.querySelector(_)),I===null)throw new Error(`No element found matching css selector: "${_}"`)}else if(_ instanceof HTMLElement)I=_;else throw new TypeError(`Unknown portal target type: ${_===null?"null":typeof _}. Allowed types: string (CSS selector) or HTMLElement.`);I.appendChild(B),B.hidden=!1}function N(){B.parentNode&&B.parentNode.removeChild(B)}return A(_),{update:A,destroy:N}}function instance$1U(B,_,I){let{$$slots:A={},$$scope:N}=_,{target:U="body"}=_;return B.$$set=K=>{"target"in K&&I(0,U=K.target),"$$scope"in K&&I(1,N=K.$$scope)},[U,N,A]}class Portal extends SvelteComponent{constructor(_){super(),init(this,_,instance$1U,create_fragment$1Y,safe_not_equal,{target:0})}}const get_items_slot_changes=B=>({}),get_items_slot_context=B=>({}),get_label_slot_changes=B=>({}),get_label_slot_context=B=>({});function create_default_slot_4$8(B){let _,I,A;const N=B[4].label,U=create_slot(N,B,B[5],get_label_slot_context);return I=new ChevronDown({props:{class:"w-5 h-5"}}),{c(){U&&U.c(),_=space(),create_component(I.$$.fragment)},m(K,j){U&&U.m(K,j),insert(K,_,j),mount_component(I,K,j),A=!0},p(K,j){U&&U.p&&(!A||j&32)&&update_slot_base(U,N,K,K[5],A?get_slot_changes(N,K[5],j,get_label_slot_changes):get_all_dirty_from_scope(K[5]),get_label_slot_context)},i(K){A||(transition_in(U,K),transition_in(I.$$.fragment,K),A=!0)},o(K){transition_out(U,K),transition_out(I.$$.fragment,K),A=!1},d(K){U&&U.d(K),K&&detach(_),destroy_component(I,K)}}}function create_default_slot_3$a(B){let _,I;const A=B[4].items,N=create_slot(A,B,B[5],get_items_slot_context);return{c(){_=element("div"),N&&N.c(),attr(_,"class","my-1")},m(U,K){insert(U,_,K),N&&N.m(_,null),I=!0},p(U,K){N&&N.p&&(!I||K&32)&&update_slot_base(N,A,U,U[5],I?get_slot_changes(A,U[5],K,get_items_slot_changes):get_all_dirty_from_scope(U[5]),get_items_slot_context)},i(U){I||(transition_in(N,U),I=!0)},o(U){transition_out(N,U),I=!1},d(U){U&&detach(_),N&&N.d(U)}}}function create_default_slot_2$c(B){let _,I;return _=new MenuItems({props:{class:"absolute border right-0 z-50 w-56 origin-top-right top-1 rounded-md bg-white shadow-md focus:outline-none",$$slots:{default:[create_default_slot_3$a]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&32&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot_1$f(B){let _,I,A,N,U;return I=new TransitionRoot({props:{show:B[6],enter:"transition ease-out duration-[25ms]",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-[25ms]",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",$$slots:{default:[create_default_slot_2$c]},$$scope:{ctx:B}}}),{c(){_=element("div"),create_component(I.$$.fragment),attr(_,"class","z-[2000]")},m(K,j){insert(K,_,j),mount_component(I,_,null),A=!0,N||(U=action_destroyer(B[2].call(null,_,B[3])),N=!0)},p(K,j){const q={};j&64&&(q.show=K[6]),j&32&&(q.$$scope={dirty:j,ctx:K}),I.$set(q)},i(K){A||(transition_in(I.$$.fragment,K),A=!0)},o(K){transition_out(I.$$.fragment,K),A=!1},d(K){K&&detach(_),destroy_component(I),N=!1,U()}}}function create_default_slot$t(B){let _,I,A,N,U,K,j;return I=new MenuButton({props:{class:twMerge("h-full w-full flex flex-row gap-2 items-center",B[0]?"px-2":""),$$slots:{default:[create_default_slot_4$8]},$$scope:{ctx:B}}}),N=new Portal({props:{$$slots:{default:[create_default_slot_1$f]},$$scope:{ctx:B}}}),{c(){_=element("span"),create_component(I.$$.fragment),A=space(),create_component(N.$$.fragment)},m(q,G){insert(q,_,G),mount_component(I,_,null),insert(q,A,G),mount_component(N,q,G),U=!0,K||(j=action_destroyer(B[1].call(null,_)),K=!0)},p(q,G){const Z={};G&1&&(Z.class=twMerge("h-full w-full flex flex-row gap-2 items-center",q[0]?"px-2":"")),G&32&&(Z.$$scope={dirty:G,ctx:q}),I.$set(Z);const Y={};G&96&&(Y.$$scope={dirty:G,ctx:q}),N.$set(Y)},i(q){U||(transition_in(I.$$.fragment,q),transition_in(N.$$.fragment,q),U=!0)},o(q){transition_out(I.$$.fragment,q),transition_out(N.$$.fragment,q),U=!1},d(q){q&&detach(_),destroy_component(I),q&&detach(A),destroy_component(N,q),K=!1,j()}}}function create_fragment$1X(B){let _,I;return _=new Menu$1({props:{as:"div",class:"relative hover:z-50 flex w-full h-full",$$slots:{default:[create_default_slot$t,({open:A})=>({6:A}),({open:A})=>A?64:0]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,[N]){const U={};N&97&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function instance$1T(B,_,I){let{$$slots:A={},$$scope:N}=_,{hasPadding:U=!0}=_;const[K,j]=createPopperActions({placement:"auto"}),q={placement:"bottom-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:10}}]};return B.$$set=G=>{"hasPadding"in G&&I(0,U=G.hasPadding),"$$scope"in G&&I(5,N=G.$$scope)},[U,K,j,q,A,N]}class ButtonDropdown extends SvelteComponent{constructor(_){super(),init(this,_,instance$1T,create_fragment$1X,safe_not_equal,{hasPadding:0})}}function get_each_context$i(B,_,I){const A=B.slice();return A[41]=_[I],A}function create_else_block$p(B){let _,I,A,N,U,K,j,q,G,Z,Y;const Q=[create_if_block_9$6,create_if_block_10$6],J=[];function ee(oe,se){return oe[1]?0:oe[10]?1:-1}~(I=ee(B))&&(A=J[I]=Q[I](B));let te=!B[9]&&create_if_block_8$7(B),ie=B[11]&&create_if_block_7$7(B),ne=[{class:K=twMerge(B[17],B[6]?"!bg-gray-300 !text-gray-600 !cursor-not-allowed":"")},{id:B[12]},{tabindex:j=B[6]?-1:0},{title:B[13]},B[24],{disabled:q=B[6]||B[1]},{style:B[14]}],re={};for(let oe=0;oe{J[ae]=null}),check_outros()),~I?(A=J[I],A?A.p(oe,se):(A=J[I]=Q[I](oe),A.c()),transition_in(A,1),A.m(_,N)):A=null),oe[9]?te&&(group_outros(),transition_out(te,1,1,()=>{te=null}),check_outros()):te?(te.p(oe,se),se[0]&512&&transition_in(te,1)):(te=create_if_block_8$7(oe),te.c(),transition_in(te,1),te.m(_,U)),oe[11]?ie?(ie.p(oe,se),se[0]&2048&&transition_in(ie,1)):(ie=create_if_block_7$7(oe),ie.c(),transition_in(ie,1),ie.m(_,null)):ie&&(group_outros(),transition_out(ie,1,1,()=>{ie=null}),check_outros()),set_attributes(_,re=get_spread_update(ne,[(!G||se[0]&131136&&K!==(K=twMerge(oe[17],oe[6]?"!bg-gray-300 !text-gray-600 !cursor-not-allowed":"")))&&{class:K},(!G||se[0]&4096)&&{id:oe[12]},(!G||se[0]&64&&j!==(j=oe[6]?-1:0))&&{tabindex:j},(!G||se[0]&8192)&&{title:oe[13]},se[0]&16777216&&oe[24],(!G||se[0]&66&&q!==(q=oe[6]||oe[1]))&&{disabled:q},(!G||se[0]&16384)&&{style:oe[14]}]))},i(oe){G||(transition_in(A),transition_in(te),transition_in(ie),G=!0)},o(oe){transition_out(A),transition_out(te),transition_out(ie),G=!1},d(oe){oe&&detach(_),~I&&J[I].d(),te&&te.d(),ie&&ie.d(),B[39](null),Z=!1,run_all(Y)}}}function create_if_block_2$n(B){let _,I,A,N,U,K,j,q,G,Z;const Y=[create_if_block_5$d,create_if_block_6$9],Q=[];function J(re,oe){return re[1]?0:re[10]?1:-1}~(I=J(B))&&(A=Q[I]=Y[I](B));let ee=!B[9]&&create_if_block_4$g(B),te=B[11]&&create_if_block_3$h(B),ie=[{"data-sveltekit-preload-code":"hover"},{href:B[7]},{download:B[15]},{class:K=twMerge(B[17],B[6]?"!bg-gray-300 !text-gray-600 !cursor-not-allowed":"")},{id:B[12]},{target:B[8]},{tabindex:j=B[6]?-1:0},B[24],{style:B[14]}],ne={};for(let re=0;re{Q[se]=null}),check_outros()),~I?(A=Q[I],A?A.p(re,oe):(A=Q[I]=Y[I](re),A.c()),transition_in(A,1),A.m(_,N)):A=null),re[9]?ee&&(group_outros(),transition_out(ee,1,1,()=>{ee=null}),check_outros()):ee?(ee.p(re,oe),oe[0]&512&&transition_in(ee,1)):(ee=create_if_block_4$g(re),ee.c(),transition_in(ee,1),ee.m(_,U)),re[11]?te?(te.p(re,oe),oe[0]&2048&&transition_in(te,1)):(te=create_if_block_3$h(re),te.c(),transition_in(te,1),te.m(_,null)):te&&(group_outros(),transition_out(te,1,1,()=>{te=null}),check_outros()),set_attributes(_,ne=get_spread_update(ie,[{"data-sveltekit-preload-code":"hover"},(!q||oe[0]&128)&&{href:re[7]},(!q||oe[0]&32768)&&{download:re[15]},(!q||oe[0]&131136&&K!==(K=twMerge(re[17],re[6]?"!bg-gray-300 !text-gray-600 !cursor-not-allowed":"")))&&{class:K},(!q||oe[0]&4096)&&{id:re[12]},(!q||oe[0]&256)&&{target:re[8]},(!q||oe[0]&64&&j!==(j=re[6]?-1:0))&&{tabindex:j},oe[0]&16777216&&re[24],(!q||oe[0]&16384)&&{style:re[14]}]))},i(re){q||(transition_in(A),transition_in(ee),transition_in(te),q=!0)},o(re){transition_out(A),transition_out(ee),transition_out(te),q=!1},d(re){re&&detach(_),~I&&Q[I].d(),ee&&ee.d(),te&&te.d(),B[37](null),G=!1,run_all(Z)}}}function create_if_block_10$6(B){let _,I;return _=new Icon({props:{data:B[10].icon,class:B[19],scale:ButtonType.IconScale[B[2]]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N[0]&1024&&(U.data=A[10].icon),N[0]&524288&&(U.class=A[19]),N[0]&4&&(U.scale=ButtonType.IconScale[A[2]]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_9$6(B){let _,I;return _=new Loader2({props:{class:"animate-spin mr-1",size:14}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_8$7(B){let _;const I=B[30].default,A=create_slot(I,B,B[40],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U[1]&512)&&update_slot_base(A,I,N,N[40],_?get_slot_changes(I,N[40],U,null):get_all_dirty_from_scope(N[40]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_if_block_7$7(B){let _,I;return _=new Icon({props:{data:B[11].icon,class:B[18],scale:ButtonType.IconScale[B[2]]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N[0]&2048&&(U.data=A[11].icon),N[0]&262144&&(U.class=A[18]),N[0]&4&&(U.scale=ButtonType.IconScale[A[2]]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_6$9(B){let _,I;return _=new Icon({props:{data:B[10].icon,class:B[19],scale:ButtonType.IconScale[B[2]]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N[0]&1024&&(U.data=A[10].icon),N[0]&524288&&(U.class=A[19]),N[0]&4&&(U.scale=ButtonType.IconScale[A[2]]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_5$d(B){let _,I;return _=new Loader2({props:{class:"animate-spin mr-1",size:14}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_4$g(B){let _;const I=B[30].default,A=create_slot(I,B,B[40],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U[1]&512)&&update_slot_base(A,I,N,N[40],_?get_slot_changes(I,N[40],U,null):get_all_dirty_from_scope(N[40]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_if_block_3$h(B){let _,I;return _=new Icon({props:{data:B[11].icon,class:B[18],scale:ButtonType.IconScale[B[2]]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N[0]&2048&&(U.data=A[11].icon),N[0]&262144&&(U.class=A[18]),N[0]&4&&(U.scale=ButtonType.IconScale[A[2]]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block$H(B){let _,I,A,N;return I=new ButtonDropdown({props:{$$slots:{items:[create_items_slot]},$$scope:{ctx:B}}}),{c(){_=element("div"),create_component(I.$$.fragment),attr(_,"class",A=twMerge(B[17],"rounded-r-md rounded-l-none m-0 p-0 h-auto"))},m(U,K){insert(U,_,K),mount_component(I,_,null),N=!0},p(U,K){const j={};K[1]&512&&(j.$$scope={dirty:K,ctx:U}),I.$set(j),(!N||K[0]&131072&&A!==(A=twMerge(U[17],"rounded-r-md rounded-l-none m-0 p-0 h-auto")))&&attr(_,"class",A)},i(U){N||(transition_in(I.$$.fragment,U),N=!0)},o(U){transition_out(I.$$.fragment,U),N=!1},d(U){U&&detach(_),destroy_component(I)}}}function create_if_block_1$v(B){let _,I,A;var N=B[41].icon;function U(K){return{props:{class:"w-4 h-4"}}}return N&&(_=construct_svelte_component(N,U())),{c(){_&&create_component(_.$$.fragment),I=empty$1()},m(K,j){_&&mount_component(_,K,j),insert(K,I,j),A=!0},p(K,j){if(N!==(N=K[41].icon)){if(_){group_outros();const q=_;transition_out(q.$$.fragment,1,0,()=>{destroy_component(q,1)}),check_outros()}N?(_=construct_svelte_component(N,U()),create_component(_.$$.fragment),transition_in(_.$$.fragment,1),mount_component(_,I.parentNode,I)):_=null}},i(K){A||(_&&transition_in(_.$$.fragment,K),A=!0)},o(K){_&&transition_out(_.$$.fragment,K),A=!1},d(K){K&&detach(I),_&&destroy_component(_,K)}}}function create_default_slot$s(B){let _,I,A=B[41].label+"",N,U,K,j=B[41].icon&&create_if_block_1$v(B);return{c(){_=element("div"),j&&j.c(),I=space(),N=text$1(A),U=space(),attr(_,"class",classNames("!text-gray-600 text-left px-4 py-2 gap-2 cursor-pointer hover:bg-gray-100 !text-xs font-semibold"))},m(q,G){insert(q,_,G),j&&j.m(_,null),append$2(_,I),append$2(_,N),insert(q,U,G),K=!0},p(q,G){q[41].icon&&j.p(q,G)},i(q){K||(transition_in(j),K=!0)},o(q){transition_out(j),K=!1},d(q){q&&detach(_),j&&j.d(),q&&detach(U)}}}function create_each_block$i(B){let _,I;return _=new MenuItem({props:{href:B[41].href,$$slots:{default:[create_default_slot$s]},$$scope:{ctx:B}}}),_.$on("click",B[41].onClick),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N[1]&512&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_items_slot(B){let _,I,A=B[20]()??[],N=[];for(let K=0;Ktransition_out(N[K],1,1,()=>{N[K]=null});return{c(){for(let K=0;K{q[J]=null}),check_outros(),A=q[I],A?A.p(Y,Q):(A=q[I]=j[I](Y),A.c()),transition_in(A,1),A.m(_,N)),Y[16]?Z?(Z.p(Y,Q),Q[0]&65536&&transition_in(Z,1)):(Z=create_if_block$H(Y),Z.c(),transition_in(Z,1),Z.m(_,null)):Z&&(group_outros(),transition_out(Z,1,1,()=>{Z=null}),check_outros()),(!K||Q[0]&65560&&U!==(U=(Y[16]?Y[22][Y[3]].divider:"")+" "+Y[4]+" flex flex-row"))&&attr(_,"class",U),(!K||Q[0]&32)&&attr(_,"style",Y[5])},i(Y){K||(transition_in(A),transition_in(Z),K=!0)},o(Y){transition_out(A),transition_out(Z),K=!1},d(Y){Y&&detach(_),q[I].d(),Z&&Z.d()}}}function instance$1S(B,_,I){let A,N,U,K;const j=["size","spacingSize","color","variant","btnClasses","wrapperClasses","wrapperStyle","disabled","href","target","iconOnly","startIcon","endIcon","element","id","nonCaptureEvent","loading","title","style","download","dropdownItems"];let q=compute_rest_props(_,j),{$$slots:G={},$$scope:Z}=_,{size:Y="md"}=_,{spacingSize:Q=Y}=_,{color:J="blue"}=_,{variant:ee="contained"}=_,{btnClasses:te=""}=_,{wrapperClasses:ie=""}=_,{wrapperStyle:ne=""}=_,{disabled:re=!1}=_,{href:oe=void 0}=_,{target:se=void 0}=_,{iconOnly:ae=!1}=_,{startIcon:ue=void 0}=_,{endIcon:ce=void 0}=_,{element:le=void 0}=_,{id:de=""}=_,{nonCaptureEvent:fe=!1}=_,{loading:he=!1}=_,{title:ge=void 0}=_,{style:pe=""}=_,{download:we=void 0}=_,{dropdownItems:ye=void 0}=_;function Le(){return typeof ye=="function"?ye():ye}const Se=createEventDispatcher(),Ae={none:{border:"",contained:"",divider:""},blue:{border:"border-frost-500 hover:border-frost-700 focus:border-frost-700 bg-white hover:bg-frost-100 focus:bg-frost-100 text-frost-500 hover:text-frost-700 focus:text-frost-700 focus:ring-frost-300",contained:"bg-frost-500 hover:bg-frost-700 focus:bg-frost-700 text-white focus:ring-frost-300",divider:"divide-x divide-frost-600"},red:{border:"border-red-600 hover:border-red-700 bg-white hover:bg-red-100 text-red-600 hover:text-red-700 focus:ring-red-300",contained:"bg-red-600 hover:bg-red-700 text-white focus:ring-red-300",divider:"divide-x divide-red-700"},green:{border:"border-green-600 hover:border-green-700 bg-white hover:bg-green-100 text-green-600 hover:text-green-700 focus:ring-green-300",contained:"bg-green-600 hover:bg-green-700 text-white focus:ring-green-300",divider:"divide-x divide-green-700"},dark:{border:"border-gray-800 hover:border-gray-900 focus:border-gray-900 bg-white hover:bg-gray-200 focus:bg-gray-200 text-gray-800 hover:text-gray-900 focus:text-gray-900 focus:ring-gray-300",contained:"bg-gray-700 hover:bg-gray-900 focus:bg-gray-900 text-white focus:ring-gray-300",divider:"divide-x divide-gray-800"},gray:{border:"border-gray-600 hover:border-gray-900 focus:border-gray-900 bg-white hover:bg-gray-200 focus:bg-gray-200 text-gray-800 hover:text-gray-900 focus:text-gray-900 focus:ring-gray-300",contained:"bg-gray-700/90 hover:bg-gray-900/90 focus:bg-gray-900/90 text-white focus:ring-gray-300",divider:"divide-x divide-gray-700"},light:{border:"border border-gray-300 bg-white hover:bg-gray-100 focus:bg-gray-100 text-gray-700 hover:text-gray-800 focus:text-gray-800 focus:ring-gray-300",contained:"bg-white border-gray-300 hover:bg-gray-100 focus:bg-gray-100 text-gray-700 focus:ring-gray-300",divider:"divide-x divide-gray-100"}};async function be(Ue){fe||(Ue.preventDefault(),Ue.stopPropagation(),Se("click",Ue))}function xe(Ue){bubble.call(this,B,Ue)}function $e(Ue){bubble.call(this,B,Ue)}function Oe(Ue){bubble.call(this,B,Ue)}function ze(Ue){bubble.call(this,B,Ue)}function Je(Ue){bubble.call(this,B,Ue)}function tt(Ue){bubble.call(this,B,Ue)}function Ve(Ue){binding_callbacks[Ue?"unshift":"push"](()=>{le=Ue,I(0,le)})}const Ze=()=>{I(1,he=!0),Se("click",event),I(1,he=!1)};function He(Ue){binding_callbacks[Ue?"unshift":"push"](()=>{le=Ue,I(0,le)})}return B.$$set=Ue=>{_=assign(assign({},_),exclude_internal_props(Ue)),I(24,q=compute_rest_props(_,j)),"size"in Ue&&I(2,Y=Ue.size),"spacingSize"in Ue&&I(25,Q=Ue.spacingSize),"color"in Ue&&I(3,J=Ue.color),"variant"in Ue&&I(26,ee=Ue.variant),"btnClasses"in Ue&&I(27,te=Ue.btnClasses),"wrapperClasses"in Ue&&I(4,ie=Ue.wrapperClasses),"wrapperStyle"in Ue&&I(5,ne=Ue.wrapperStyle),"disabled"in Ue&&I(6,re=Ue.disabled),"href"in Ue&&I(7,oe=Ue.href),"target"in Ue&&I(8,se=Ue.target),"iconOnly"in Ue&&I(9,ae=Ue.iconOnly),"startIcon"in Ue&&I(10,ue=Ue.startIcon),"endIcon"in Ue&&I(11,ce=Ue.endIcon),"element"in Ue&&I(0,le=Ue.element),"id"in Ue&&I(12,de=Ue.id),"nonCaptureEvent"in Ue&&I(28,fe=Ue.nonCaptureEvent),"loading"in Ue&&I(1,he=Ue.loading),"title"in Ue&&I(13,ge=Ue.title),"style"in Ue&&I(14,pe=Ue.style),"download"in Ue&&I(15,we=Ue.download),"dropdownItems"in Ue&&I(16,ye=Ue.dropdownItems),"$$scope"in Ue&&I(40,Z=Ue.$$scope)},B.$$.update=()=>{var Ue;B.$$.dirty[0]&4&&I(29,A=Y==="xs"||Y==="sm"),B.$$.dirty[0]&536872448&&I(19,N=twMerge(ae?void 0:A?"mr-1":"mr-2",ue==null?void 0:ue.classes)),B.$$.dirty[0]&536873472&&I(18,U=twMerge(ae?void 0:A?"ml-1":"ml-2",ce==null?void 0:ce.classes)),B.$$.dirty[0]&234946572&&I(17,K=twMerge("w-full",(Ue=Ae==null?void 0:Ae[J])==null?void 0:Ue[ee],ee==="border"?"border":"",ButtonType.FontSizeClasses[Y],ButtonType.SpacingClasses[Q][ee],"focus:ring-2 font-semibold",ye?"rounded-l-md h-full":"rounded-md","justify-center items-center text-center whitespace-nowrap inline-flex",te,"transition-all "))},[le,he,Y,J,ie,ne,re,oe,se,ae,ue,ce,de,ge,pe,we,ye,K,U,N,Le,Se,Ae,be,q,Q,ee,te,fe,A,G,xe,$e,Oe,ze,Je,tt,Ve,Ze,He,Z]}let Button$1=class extends SvelteComponent{constructor(_){super(),init(this,_,instance$1S,create_fragment$1W,safe_not_equal,{size:2,spacingSize:25,color:3,variant:26,btnClasses:27,wrapperClasses:4,wrapperStyle:5,disabled:6,href:7,target:8,iconOnly:9,startIcon:10,endIcon:11,element:0,id:12,nonCaptureEvent:28,loading:1,title:13,style:14,download:15,dropdownItems:16},null,[-1,-1])}};function get_each_context$h(B,_,I){const A=B.slice();return A[7]=_[I],A[9]=I,A}function create_else_block$o(B){let _,I;return _=new CheckCircle2({props:{class:"h-4 w-4 text-green-400"}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_1$u(B){let _,I;return _=new XCircleIcon({props:{class:"h-4 w-4 text-red-400"}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block$G(B){let _,I;return{c(){_=element("p"),I=text$1(B[4]),attr(_,"class","text-sm text-gray-500 border bg-gray-50 p-2 w-full overflow-auto mt-2")},m(A,N){insert(A,_,N),append$2(_,I)},p(A,N){N&16&&set_data(I,A[4])},d(A){A&&detach(_)}}}function create_default_slot$r(B){let _=B[7].label+"",I,A;return{c(){I=text$1(_),A=space()},m(N,U){insert(N,I,U),insert(N,A,U)},p(N,U){U&8&&_!==(_=N[7].label+"")&&set_data(I,_)},d(N){N&&detach(I),N&&detach(A)}}}function create_each_block$h(B,_){let I,A,N;function U(){return _[6](_[7])}return A=new Button$1({props:{class:"text-sm !text-black",$$slots:{default:[create_default_slot$r]},$$scope:{ctx:_}}}),A.$on("click",U),{key:B,first:null,c(){I=empty$1(),create_component(A.$$.fragment),this.first=I},m(K,j){insert(K,I,j),mount_component(A,K,j),N=!0},p(K,j){_=K;const q={};j&1032&&(q.$$scope={dirty:j,ctx:_}),A.$set(q)},i(K){N||(transition_in(A.$$.fragment,K),N=!0)},o(K){transition_out(A.$$.fragment,K),N=!1},d(K){K&&detach(I),destroy_component(A,K)}}}function create_fragment$1V(B){let _,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne=[],re=new Map,oe,se,ae;const ue=[create_if_block_1$u,create_else_block$o],ce=[];function le(ge,pe){return ge[2]?0:1}U=le(B),K=ce[U]=ue[U](B);let de=B[4]&&create_if_block$G(B),fe=B[3];const he=ge=>ge[9];for(let ge=0;geClose - `,te=space(),ie=element("div");for(let ge=0;ge{ce[we]=null}),check_outros(),K=ce[U],K||(K=ce[U]=ue[U](ge),K.c()),transition_in(K,1),K.m(N,null)),(!oe||pe&1)&&set_data(Z,ge[0]),ge[4]?de?de.p(ge,pe):(de=create_if_block$G(ge),de.c(),de.m(q,null)):de&&(de.d(1),de=null),pe&10&&(fe=ge[3],group_outros(),ne=update_keyed_each(ne,pe,he,1,ge,fe,re,ie,outro_and_destroy_block,create_each_block$h,null,get_each_context$h),check_outros())},i(ge){if(!oe){transition_in(K);for(let pe=0;pe{setTimeout(()=>{toast.pop(N)},5e3)});const G=Z=>{Z.callback(),toast.pop(N)};return B.$$set=Z=>{"message"in Z&&I(0,A=Z.message),"toastId"in Z&&I(1,N=Z.toastId),"error"in Z&&I(2,U=Z.error),"actions"in Z&&I(3,K=Z.actions),"errorMessage"in Z&&I(4,j=Z.errorMessage)},[A,N,U,K,j,q,G]}class Toast extends SvelteComponent{constructor(_){super(),init(this,_,instance$1R,create_fragment$1V,safe_not_equal,{message:0,toastId:1,error:2,actions:3,errorMessage:4})}}function sendUserToast(B,_=!1,I=[],A=void 0){toast.push({component:{src:Toast,props:{message:B,error:_,actions:I,errorMessage:A},sendIdTo:"toastId"},dismissable:!1,initial:0,theme:{"--toastPadding":"0","--toastMsgPadding":"0"}})}function displayDate(B,_=!1){const I=new Date(B??"");return I.toString()==="Invalid Date"?"":`${I.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",second:_?"2-digit":void 0})} ${I.getDate()}/${I.getMonth()+1}`}function emptySchema(){return{$schema:"https://json-schema.org/draft/2020-12/schema",properties:{},required:[],type:"object"}}function emptyString(B){return B==null||B===""}function allTrue(B){return Object.values(B).every(Boolean)}function truncate(B,_,I="..."){return B?B.length<=_?B:B.substring(0,_)+I:""}function truncateRev(B,_,I="..."){return B?B.length<=_?B:I+B.substring(B.length-_,B.length):I}function setInputCat(B,_,I,A,N){return B==="number"||B==="integer"?"number":B==="boolean"?"boolean":B=="array"&&I!=null?"list":B=="object"&&(_!=null&&_.startsWith("resource"))?"resource-object":!B||B=="object"||B=="array"?"object":B=="string"&&A?"enum":B=="string"&&_=="date-time"?"date":B=="string"&&_=="sql"?"sql":B=="string"&&_=="yaml"?"yaml":B=="string"&&N=="base64"?"base64":"string"}function classNames(...B){return B.filter(Boolean).join(" ")}async function copyToClipboard(B,_=!0){if(!B)return!1;let I=!1;return navigator!=null&&navigator.clipboard&&(I=await navigator.clipboard.writeText(B).then(()=>!0).catch(()=>!1)),_&&sendUserToast(I?"Copied to clipboard!":"Couldn't copy to clipboard",!I),I}function pluralize(B,_,I){return B<=1?`${B} ${_}`:I?`${B} ${I}}`:`${B} ${_}s`}function capitalize(B){return B?B.charAt(0).toUpperCase()+B.slice(1):""}function isMac(){return navigator.userAgent.indexOf("Mac OS X")!==-1}function getModifierKey(){return isMac()?"⌘":"Ctrl"}function sortObject(B){return Object.keys(B).sort().reduce((_,I)=>(_[I]=B[I],_),{})}function canWrite(B,_,I){if(I!=null&&I.is_admin||I!=null&&I.is_super_admin)return!0;let A=Object.keys(_);if(!I)return!1;if(isObviousOwner(B,I))return!0;let N=`u/${I.username}`;return!!(A.includes(N)&&_[N]||I.pgroups.findIndex(U=>A.includes(U)&&_[U])!=-1||I.folders.findIndex(U=>B.startsWith("f/"+U))!=-1)}function isOwner(B,_,I){return!_||!I?!1:_.is_super_admin?!0:I=="admin"?!1:_.is_admin||B.startsWith("u/"+_.username+"/")?!0:B.startsWith("f/")?_.folders_owners.some(A=>B.startsWith("f/"+A+"/")):!1}function isObviousOwner(B,_){if(!_)return!1;if(_.is_admin||_.is_super_admin)return!0;let I=`u/${_.username}`;return!!(B.startsWith(I)||_.pgroups.findIndex(A=>B.startsWith(A))!=-1||_.folders.findIndex(A=>B.startsWith("f/"+A))!=-1)}var faChevronUp={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},faCircleCheck={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},faCheckCircle=faCircleCheck,faEye={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},faPen={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},faFloppyDisk={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"]},faSave=faFloppyDisk,faCircleInfo={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},faInfoCircle=faCircleInfo,faMinus={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]},faRotateRight={prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},faPlay={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},faChevronDown={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},faPlus={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},faXmark={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},faClose=faXmark,faTimes=faXmark,faTriangleExclamation={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},faWarning=faTriangleExclamation;const check={check:{width:1792,height:1792,paths:[{d:"M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z"}]}},{window:window_1$2}=globals$1,get_content_slot_changes=B=>({selected:B&1}),get_content_slot_context=B=>({selected:B[0]}),get_default_slot_changes$2=B=>({selected:B&1}),get_default_slot_context$2=B=>({selected:B[0]});function create_fragment$1U(B){let _,I,A,N,U,K,j,q;const G=B[10].default,Z=create_slot(G,B,B[9],get_default_slot_context$2),Y=B[10].content,Q=create_slot(Y,B,B[9],get_content_slot_context);return{c(){_=element("div"),I=element("div"),Z&&Z.c(),U=space(),Q&&Q.c(),attr(I,"class",A=twMerge("border-b border-gray-200 flex flex-row whitespace-nowrap scrollbar-hidden",B[1])),attr(I,"style",B[3]),attr(_,"class",N="overflow-x-auto "+B[2])},m(J,ee){insert(J,_,ee),append$2(_,I),Z&&Z.m(I,null),insert(J,U,ee),Q&&Q.m(J,ee),K=!0,j||(q=listen(window_1$2,"hashchange",B[5]),j=!0)},p(J,[ee]){Z&&Z.p&&(!K||ee&513)&&update_slot_base(Z,G,J,J[9],K?get_slot_changes(G,J[9],ee,get_default_slot_changes$2):get_all_dirty_from_scope(J[9]),get_default_slot_context$2),(!K||ee&2&&A!==(A=twMerge("border-b border-gray-200 flex flex-row whitespace-nowrap scrollbar-hidden",J[1])))&&attr(I,"class",A),(!K||ee&8)&&attr(I,"style",J[3]),(!K||ee&4&&N!==(N="overflow-x-auto "+J[2]))&&attr(_,"class",N),Q&&Q.p&&(!K||ee&513)&&update_slot_base(Q,Y,J,J[9],K?get_slot_changes(Y,J[9],ee,get_content_slot_changes):get_all_dirty_from_scope(J[9]),get_content_slot_context)},i(J){K||(transition_in(Z,J),transition_in(Q,J),K=!0)},o(J){transition_out(Z,J),transition_out(Q,J),K=!1},d(J){J&&detach(_),Z&&Z.d(J),J&&detach(U),Q&&Q.d(J),j=!1,q()}}}function instance$1Q(B,_,I){let A,{$$slots:N={},$$scope:U}=_;const K=createEventDispatcher();let{selected:j}=_,{class:q=""}=_,{wrapperClass:G=""}=_,{style:Z=""}=_,{hashNavigation:Y=!1}=_,{dflt:Q=void 0}=_;const J=writable(j);component_subscribe(B,J,ie=>I(8,A=ie)),setContext$1("Tabs",{selected:J,update:ie=>{J.set(ie),I(0,j=ie)},hashNavigation:Y});function ee(){J.set(j)}function te(){if(Y){const ie=window.location.hash;if(ie){const ne=ie.replace("#","");J.set(ne),I(0,j=ne)}else Q&&(J.set(Q),I(0,j=Q))}}return B.$$set=ie=>{"selected"in ie&&I(0,j=ie.selected),"class"in ie&&I(1,q=ie.class),"wrapperClass"in ie&&I(2,G=ie.wrapperClass),"style"in ie&&I(3,Z=ie.style),"hashNavigation"in ie&&I(6,Y=ie.hashNavigation),"dflt"in ie&&I(7,Q=ie.dflt),"$$scope"in ie&&I(9,U=ie.$$scope)},B.$$.update=()=>{B.$$.dirty&1&&j&&ee(),B.$$.dirty&256&&A&&K("selected",A)},[j,q,G,Z,J,te,Y,Q,A,U,N]}class Tabs extends SvelteComponent{constructor(_){super(),init(this,_,instance$1Q,create_fragment$1U,safe_not_equal,{selected:0,class:1,wrapperClass:2,style:3,hashNavigation:6,dflt:7})}}function create_fragment$1T(B){let _,I,A,N,U,K;const j=B[13].default,q=create_slot(j,B,B[12],null);return{c(){var G,Z,Y;_=element("button"),q&&q.c(),attr(_,"class",I=twMerge("border-b-2 py-1 px-4 cursor-pointer transition-all z-10 ease-linear font-medium",(G=B[7])!=null&&G.startsWith(B[0])?"border-gray-600 text-gray-800 ":"border-gray-300 border-opacity-0 hover:border-opacity-100 text-gray-600",B[8][B[1]],B[2],(Z=B[7])!=null&&Z.startsWith(B[0])?B[4]:"",B[6]?"cursor-not-allowed text-gray-400":"")),attr(_,"style",A=`${B[3]} ${(Y=B[7])!=null&&Y.startsWith(B[0])?B[5]:""}`),_.disabled=B[6]},m(G,Z){insert(G,_,Z),q&&q.m(_,null),N=!0,U||(K=[listen(_,"click",B[15]),listen(_,"pointerdown",stop_propagation(B[14]))],U=!0)},p(G,[Z]){var Y,Q,J;q&&q.p&&(!N||Z&4096)&&update_slot_base(q,j,G,G[12],N?get_slot_changes(j,G[12],Z,null):get_all_dirty_from_scope(G[12]),null),(!N||Z&215&&I!==(I=twMerge("border-b-2 py-1 px-4 cursor-pointer transition-all z-10 ease-linear font-medium",(Y=G[7])!=null&&Y.startsWith(G[0])?"border-gray-600 text-gray-800 ":"border-gray-300 border-opacity-0 hover:border-opacity-100 text-gray-600",G[8][G[1]],G[2],(Q=G[7])!=null&&Q.startsWith(G[0])?G[4]:"",G[6]?"cursor-not-allowed text-gray-400":"")))&&attr(_,"class",I),(!N||Z&169&&A!==(A=`${G[3]} ${(J=G[7])!=null&&J.startsWith(G[0])?G[5]:""}`))&&attr(_,"style",A),(!N||Z&64)&&(_.disabled=G[6])},i(G){N||(transition_in(q,G),N=!0)},o(G){transition_out(q,G),N=!1},d(G){G&&detach(_),q&&q.d(G),U=!1,run_all(K)}}}function instance$1P(B,_,I){let A,{$$slots:N={},$$scope:U}=_,{value:K}=_,{size:j="sm"}=_,{class:q=""}=_,{style:G=""}=_,{selectedClass:Z=""}=_,{selectedStyle:Y=""}=_,{disabled:Q=!1}=_;const J={xs:"text-xs",sm:"text-sm",md:"text-md",lg:"text-lg",xl:"text-xl"},{selected:ee,update:te,hashNavigation:ie}=getContext("Tabs");component_subscribe(B,ee,oe=>I(7,A=oe));function ne(oe){bubble.call(this,B,oe)}const re=()=>{ie?window.location.hash=K:te(K)};return B.$$set=oe=>{"value"in oe&&I(0,K=oe.value),"size"in oe&&I(1,j=oe.size),"class"in oe&&I(2,q=oe.class),"style"in oe&&I(3,G=oe.style),"selectedClass"in oe&&I(4,Z=oe.selectedClass),"selectedStyle"in oe&&I(5,Y=oe.selectedStyle),"disabled"in oe&&I(6,Q=oe.disabled),"$$scope"in oe&&I(12,U=oe.$$scope)},[K,j,q,G,Z,Y,Q,A,J,ee,te,ie,U,N,ne,re]}class Tab extends SvelteComponent{constructor(_){super(),init(this,_,instance$1P,create_fragment$1T,safe_not_equal,{value:0,size:1,class:2,style:3,selectedClass:4,selectedStyle:5,disabled:6})}}function create_if_block$F(B){let _,I,A;const N=B[7].default,U=create_slot(N,B,B[6],null);return{c(){_=element("div"),U&&U.c(),attr(_,"class",I=`${B[3]} ${B[0]===B[4]?"visible":"hidden"}`),attr(_,"style",B[2])},m(K,j){insert(K,_,j),U&&U.m(_,null),A=!0},p(K,j){U&&U.p&&(!A||j&64)&&update_slot_base(U,N,K,K[6],A?get_slot_changes(N,K[6],j,null):get_all_dirty_from_scope(K[6]),null),(!A||j&25&&I!==(I=`${K[3]} ${K[0]===K[4]?"visible":"hidden"}`))&&attr(_,"class",I),(!A||j&4)&&attr(_,"style",K[2])},i(K){A||(transition_in(U,K),A=!0)},o(K){transition_out(U,K),A=!1},d(K){K&&detach(_),U&&U.d(K)}}}function create_fragment$1S(B){let _,I,A=(B[0]===B[4]||B[1])&&create_if_block$F(B);return{c(){A&&A.c(),_=empty$1()},m(N,U){A&&A.m(N,U),insert(N,_,U),I=!0},p(N,[U]){N[0]===N[4]||N[1]?A?(A.p(N,U),U&19&&transition_in(A,1)):(A=create_if_block$F(N),A.c(),transition_in(A,1),A.m(_.parentNode,_)):A&&(group_outros(),transition_out(A,1,1,()=>{A=null}),check_outros())},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}function instance$1O(B,_,I){let A,{$$slots:N={},$$scope:U}=_,{value:K}=_,{alwaysMounted:j=!1}=_,{style:q=""}=_,{class:G=""}=_;const{selected:Z}=getContext("Tabs");return component_subscribe(B,Z,Y=>I(4,A=Y)),B.$$set=Y=>{"value"in Y&&I(0,K=Y.value),"alwaysMounted"in Y&&I(1,j=Y.alwaysMounted),"style"in Y&&I(2,q=Y.style),"class"in Y&&I(3,G=Y.class),"$$scope"in Y&&I(6,U=Y.$$scope)},[K,j,q,G,A,Z,U,N]}class TabContent extends SvelteComponent{constructor(_){super(),init(this,_,instance$1O,create_fragment$1S,safe_not_equal,{value:0,alwaysMounted:1,style:2,class:3})}}function getDefaultExportFromCjs(B){return B&&B.__esModule&&Object.prototype.hasOwnProperty.call(B,"default")?B.default:B}function deepFreeze$1(B){return B instanceof Map?B.clear=B.delete=B.set=function(){throw new Error("map is read-only")}:B instanceof Set&&(B.add=B.clear=B.delete=function(){throw new Error("set is read-only")}),Object.freeze(B),Object.getOwnPropertyNames(B).forEach(_=>{const I=B[_],A=typeof I;(A==="object"||A==="function")&&!Object.isFrozen(I)&&deepFreeze$1(I)}),B}let Response$1=class{constructor(_){_.data===void 0&&(_.data={}),this.data=_.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function escapeHTML(B){return B.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(B,..._){const I=Object.create(null);for(const A in B)I[A]=B[A];return _.forEach(function(A){for(const N in A)I[N]=A[N]}),I}const SPAN_CLOSE="",emitsWrappingTags=B=>!!B.scope,scopeToCSSClass=(B,{prefix:_})=>{if(B.startsWith("language:"))return B.replace("language:","language-");if(B.includes(".")){const I=B.split(".");return[`${_}${I.shift()}`,...I.map((A,N)=>`${A}${"_".repeat(N+1)}`)].join(" ")}return`${_}${B}`};class HTMLRenderer{constructor(_,I){this.buffer="",this.classPrefix=I.classPrefix,_.walk(this)}addText(_){this.buffer+=escapeHTML(_)}openNode(_){if(!emitsWrappingTags(_))return;const I=scopeToCSSClass(_.scope,{prefix:this.classPrefix});this.span(I)}closeNode(_){emitsWrappingTags(_)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(_){this.buffer+=``}}const newNode=(B={})=>{const _={children:[]};return Object.assign(_,B),_};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(_){this.top.children.push(_)}openNode(_){const I=newNode({scope:_});this.add(I),this.stack.push(I)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(_){return this.constructor._walk(_,this.rootNode)}static _walk(_,I){return typeof I=="string"?_.addText(I):I.children&&(_.openNode(I),I.children.forEach(A=>this._walk(_,A)),_.closeNode(I)),_}static _collapse(_){typeof _!="string"&&_.children&&(_.children.every(I=>typeof I=="string")?_.children=[_.children.join("")]:_.children.forEach(I=>{TokenTree._collapse(I)}))}}class TokenTreeEmitter extends TokenTree{constructor(_){super(),this.options=_}addText(_){_!==""&&this.add(_)}startScope(_){this.openNode(_)}endScope(){this.closeNode()}__addSublanguage(_,I){const A=_.root;I&&(A.scope=`language:${I}`),this.add(A)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(B){return B?typeof B=="string"?B:B.source:null}function lookahead(B){return concat$2("(?=",B,")")}function anyNumberOfTimes(B){return concat$2("(?:",B,")*")}function optional(B){return concat$2("(?:",B,")?")}function concat$2(...B){return B.map(I=>source(I)).join("")}function stripOptionsFromArgs(B){const _=B[B.length-1];return typeof _=="object"&&_.constructor===Object?(B.splice(B.length-1,1),_):{}}function either(...B){return"("+(stripOptionsFromArgs(B).capture?"":"?:")+B.map(A=>source(A)).join("|")+")"}function countMatchGroups(B){return new RegExp(B.toString()+"|").exec("").length-1}function startsWith(B,_){const I=B&&B.exec(_);return I&&I.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(B,{joinWith:_}){let I=0;return B.map(A=>{I+=1;const N=I;let U=source(A),K="";for(;U.length>0;){const j=BACKREF_RE.exec(U);if(!j){K+=U;break}K+=U.substring(0,j.index),U=U.substring(j.index+j[0].length),j[0][0]==="\\"&&j[1]?K+="\\"+String(Number(j[1])+N):(K+=j[0],j[0]==="("&&I++)}return K}).map(A=>`(${A})`).join(_)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE$1="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(B={})=>{const _=/^#![ ]*\//;return B.binary&&(B.begin=concat$2(_,/.*\b/,B.binary,/\b.*/)),inherit$1({scope:"meta",begin:_,end:/$/,relevance:0,"on:begin":(I,A)=>{I.index!==0&&A.ignoreMatch()}},B)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(B,_,I={}){const A=inherit$1({scope:"comment",begin:B,end:_,contains:[]},I);A.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const N=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return A.contains.push({begin:concat$2(/[ ]+/,"(",N,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),A},C_LINE_COMMENT_MODE=COMMENT("//","$"),C_BLOCK_COMMENT_MODE=COMMENT("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]}]},TITLE_MODE={scope:"title",begin:IDENT_RE$1,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(B){return Object.assign(B,{"on:begin":(_,I)=>{I.data._beginMatch=_[1]},"on:end":(_,I)=>{I.data._beginMatch!==_[1]&&I.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,MATCH_NOTHING_RE,IDENT_RE:IDENT_RE$1,UNDERSCORE_IDENT_RE,NUMBER_RE,C_NUMBER_RE,BINARY_NUMBER_RE,RE_STARTERS_RE,SHEBANG,BACKSLASH_ESCAPE,APOS_STRING_MODE,QUOTE_STRING_MODE,PHRASAL_WORDS_MODE,COMMENT,C_LINE_COMMENT_MODE,C_BLOCK_COMMENT_MODE,HASH_COMMENT_MODE,NUMBER_MODE,C_NUMBER_MODE,BINARY_NUMBER_MODE,REGEXP_MODE,TITLE_MODE,UNDERSCORE_TITLE_MODE,METHOD_GUARD,END_SAME_AS_BEGIN});function skipIfHasPrecedingDot(B,_){B.input[B.index-1]==="."&&_.ignoreMatch()}function scopeClassName(B,_){B.className!==void 0&&(B.scope=B.className,delete B.className)}function beginKeywords(B,_){_&&B.beginKeywords&&(B.begin="\\b("+B.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",B.__beforeBegin=skipIfHasPrecedingDot,B.keywords=B.keywords||B.beginKeywords,delete B.beginKeywords,B.relevance===void 0&&(B.relevance=0))}function compileIllegal(B,_){Array.isArray(B.illegal)&&(B.illegal=either(...B.illegal))}function compileMatch(B,_){if(B.match){if(B.begin||B.end)throw new Error("begin & end are not supported with match");B.begin=B.match,delete B.match}}function compileRelevance(B,_){B.relevance===void 0&&(B.relevance=1)}const beforeMatchExt=(B,_)=>{if(!B.beforeMatch)return;if(B.starts)throw new Error("beforeMatch cannot be used with starts");const I=Object.assign({},B);Object.keys(B).forEach(A=>{delete B[A]}),B.keywords=I.keywords,B.begin=concat$2(I.beforeMatch,lookahead(I.begin)),B.starts={relevance:0,contains:[Object.assign(I,{endsParent:!0})]},B.relevance=0,delete I.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(B,_,I=DEFAULT_KEYWORD_SCOPE){const A=Object.create(null);return typeof B=="string"?N(I,B.split(" ")):Array.isArray(B)?N(I,B):Object.keys(B).forEach(function(U){Object.assign(A,compileKeywords(B[U],_,U))}),A;function N(U,K){_&&(K=K.map(j=>j.toLowerCase())),K.forEach(function(j){const q=j.split("|");A[q[0]]=[U,scoreForKeyword(q[0],q[1])]})}}function scoreForKeyword(B,_){return _?Number(_):commonKeyword(B)?0:1}function commonKeyword(B){return COMMON_KEYWORDS.includes(B.toLowerCase())}const seenDeprecations={},error=B=>{console.error(B)},warn=(B,..._)=>{console.log(`WARN: ${B}`,..._)},deprecated=(B,_)=>{seenDeprecations[`${B}/${_}`]||(console.log(`Deprecated as of ${B}. ${_}`),seenDeprecations[`${B}/${_}`]=!0)},MultiClassError=new Error;function remapScopeNames(B,_,{key:I}){let A=0;const N=B[I],U={},K={};for(let j=1;j<=_.length;j++)K[j+A]=N[j],U[j+A]=!0,A+=countMatchGroups(_[j-1]);B[I]=K,B[I]._emit=U,B[I]._multi=!0}function beginMultiClass(B){if(Array.isArray(B.begin)){if(B.skip||B.excludeBegin||B.returnBegin)throw error("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof B.beginScope!="object"||B.beginScope===null)throw error("beginScope must be object"),MultiClassError;remapScopeNames(B,B.begin,{key:"beginScope"}),B.begin=_rewriteBackreferences(B.begin,{joinWith:""})}}function endMultiClass(B){if(Array.isArray(B.end)){if(B.skip||B.excludeEnd||B.returnEnd)throw error("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof B.endScope!="object"||B.endScope===null)throw error("endScope must be object"),MultiClassError;remapScopeNames(B,B.end,{key:"endScope"}),B.end=_rewriteBackreferences(B.end,{joinWith:""})}}function scopeSugar(B){B.scope&&typeof B.scope=="object"&&B.scope!==null&&(B.beginScope=B.scope,delete B.scope)}function MultiClass(B){scopeSugar(B),typeof B.beginScope=="string"&&(B.beginScope={_wrap:B.beginScope}),typeof B.endScope=="string"&&(B.endScope={_wrap:B.endScope}),beginMultiClass(B),endMultiClass(B)}function compileLanguage(B){function _(K,j){return new RegExp(source(K),"m"+(B.case_insensitive?"i":"")+(B.unicodeRegex?"u":"")+(j?"g":""))}class I{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(j,q){q.position=this.position++,this.matchIndexes[this.matchAt]=q,this.regexes.push([q,j]),this.matchAt+=countMatchGroups(j)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const j=this.regexes.map(q=>q[1]);this.matcherRe=_(_rewriteBackreferences(j,{joinWith:"|"}),!0),this.lastIndex=0}exec(j){this.matcherRe.lastIndex=this.lastIndex;const q=this.matcherRe.exec(j);if(!q)return null;const G=q.findIndex((Y,Q)=>Q>0&&Y!==void 0),Z=this.matchIndexes[G];return q.splice(0,G),Object.assign(q,Z)}}class A{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(j){if(this.multiRegexes[j])return this.multiRegexes[j];const q=new I;return this.rules.slice(j).forEach(([G,Z])=>q.addRule(G,Z)),q.compile(),this.multiRegexes[j]=q,q}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(j,q){this.rules.push([j,q]),q.type==="begin"&&this.count++}exec(j){const q=this.getMatcher(this.regexIndex);q.lastIndex=this.lastIndex;let G=q.exec(j);if(this.resumingScanAtSamePosition()&&!(G&&G.index===this.lastIndex)){const Z=this.getMatcher(0);Z.lastIndex=this.lastIndex+1,G=Z.exec(j)}return G&&(this.regexIndex+=G.position+1,this.regexIndex===this.count&&this.considerAll()),G}}function N(K){const j=new A;return K.contains.forEach(q=>j.addRule(q.begin,{rule:q,type:"begin"})),K.terminatorEnd&&j.addRule(K.terminatorEnd,{type:"end"}),K.illegal&&j.addRule(K.illegal,{type:"illegal"}),j}function U(K,j){const q=K;if(K.isCompiled)return q;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(Z=>Z(K,j)),B.compilerExtensions.forEach(Z=>Z(K,j)),K.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(Z=>Z(K,j)),K.isCompiled=!0;let G=null;return typeof K.keywords=="object"&&K.keywords.$pattern&&(K.keywords=Object.assign({},K.keywords),G=K.keywords.$pattern,delete K.keywords.$pattern),G=G||/\w+/,K.keywords&&(K.keywords=compileKeywords(K.keywords,B.case_insensitive)),q.keywordPatternRe=_(G,!0),j&&(K.begin||(K.begin=/\B|\b/),q.beginRe=_(q.begin),!K.end&&!K.endsWithParent&&(K.end=/\B|\b/),K.end&&(q.endRe=_(q.end)),q.terminatorEnd=source(q.end)||"",K.endsWithParent&&j.terminatorEnd&&(q.terminatorEnd+=(K.end?"|":"")+j.terminatorEnd)),K.illegal&&(q.illegalRe=_(K.illegal)),K.contains||(K.contains=[]),K.contains=[].concat(...K.contains.map(function(Z){return expandOrCloneMode(Z==="self"?K:Z)})),K.contains.forEach(function(Z){U(Z,q)}),K.starts&&U(K.starts,j),q.matcher=N(q),q}if(B.compilerExtensions||(B.compilerExtensions=[]),B.contains&&B.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return B.classNameAliases=inherit$1(B.classNameAliases||{}),U(B)}function dependencyOnParent(B){return B?B.endsWithParent||dependencyOnParent(B.starts):!1}function expandOrCloneMode(B){return B.variants&&!B.cachedVariants&&(B.cachedVariants=B.variants.map(function(_){return inherit$1(B,{variants:null},_)})),B.cachedVariants?B.cachedVariants:dependencyOnParent(B)?inherit$1(B,{starts:B.starts?inherit$1(B.starts):null}):Object.isFrozen(B)?inherit$1(B):B}var version="11.8.0";class HTMLInjectionError extends Error{constructor(_,I){super(_),this.name="HTMLInjectionError",this.html=I}}const escape$1=escapeHTML,inherit=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(B){const _=Object.create(null),I=Object.create(null),A=[];let N=!0;const U="Could not find the language '{}', did you forget to load/include a language module?",K={disableAutodetect:!0,name:"Plain text",contains:[]};let j={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function q(Se){return j.noHighlightRe.test(Se)}function G(Se){let Ae=Se.className+" ";Ae+=Se.parentNode?Se.parentNode.className:"";const be=j.languageDetectRe.exec(Ae);if(be){const xe=de(be[1]);return xe||(warn(U.replace("{}",be[1])),warn("Falling back to no-highlight mode for this block.",Se)),xe?be[1]:"no-highlight"}return Ae.split(/\s+/).find(xe=>q(xe)||de(xe))}function Z(Se,Ae,be){let xe="",$e="";typeof Ae=="object"?(xe=Se,be=Ae.ignoreIllegals,$e=Ae.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),$e=Se,xe=Ae),be===void 0&&(be=!0);const Oe={code:xe,language:$e};ye("before:highlight",Oe);const ze=Oe.result?Oe.result:Y(Oe.language,Oe.code,be);return ze.code=Oe.code,ye("after:highlight",ze),ze}function Y(Se,Ae,be,xe){const $e=Object.create(null);function Oe(De,me){return De.keywords[me]}function ze(){if(!et.keywords){Re.addText(Ne);return}let De=0;et.keywordPatternRe.lastIndex=0;let me=et.keywordPatternRe.exec(Ne),Pe="";for(;me;){Pe+=Ne.substring(De,me.index);const We=_t.case_insensitive?me[0].toLowerCase():me[0],Fe=Oe(et,We);if(Fe){const[qe,Ke]=Fe;if(Re.addText(Pe),Pe="",$e[We]=($e[We]||0)+1,$e[We]<=MAX_KEYWORD_HITS&&(Ce+=Ke),qe.startsWith("_"))Pe+=me[0];else{const Ye=_t.classNameAliases[qe]||qe;Ve(me[0],Ye)}}else Pe+=me[0];De=et.keywordPatternRe.lastIndex,me=et.keywordPatternRe.exec(Ne)}Pe+=Ne.substring(De),Re.addText(Pe)}function Je(){if(Ne==="")return;let De=null;if(typeof et.subLanguage=="string"){if(!_[et.subLanguage]){Re.addText(Ne);return}De=Y(et.subLanguage,Ne,!0,Be[et.subLanguage]),Be[et.subLanguage]=De._top}else De=J(Ne,et.subLanguage.length?et.subLanguage:null);et.relevance>0&&(Ce+=De.relevance),Re.__addSublanguage(De._emitter,De.language)}function tt(){et.subLanguage!=null?Je():ze(),Ne=""}function Ve(De,me){De!==""&&(Re.startScope(me),Re.addText(De),Re.endScope())}function Ze(De,me){let Pe=1;const We=me.length-1;for(;Pe<=We;){if(!De._emit[Pe]){Pe++;continue}const Fe=_t.classNameAliases[De[Pe]]||De[Pe],qe=me[Pe];Fe?Ve(qe,Fe):(Ne=qe,ze(),Ne=""),Pe++}}function He(De,me){return De.scope&&typeof De.scope=="string"&&Re.openNode(_t.classNameAliases[De.scope]||De.scope),De.beginScope&&(De.beginScope._wrap?(Ve(Ne,_t.classNameAliases[De.beginScope._wrap]||De.beginScope._wrap),Ne=""):De.beginScope._multi&&(Ze(De.beginScope,me),Ne="")),et=Object.create(De,{parent:{value:et}}),et}function Ue(De,me,Pe){let We=startsWith(De.endRe,Pe);if(We){if(De["on:end"]){const Fe=new Response$1(De);De["on:end"](me,Fe),Fe.isMatchIgnored&&(We=!1)}if(We){for(;De.endsParent&&De.parent;)De=De.parent;return De}}if(De.endsWithParent)return Ue(De.parent,me,Pe)}function nt(De){return et.matcher.regexIndex===0?(Ne+=De[0],1):(ke=!0,0)}function je(De){const me=De[0],Pe=De.rule,We=new Response$1(Pe),Fe=[Pe.__beforeBegin,Pe["on:begin"]];for(const qe of Fe)if(qe&&(qe(De,We),We.isMatchIgnored))return nt(me);return Pe.skip?Ne+=me:(Pe.excludeBegin&&(Ne+=me),tt(),!Pe.returnBegin&&!Pe.excludeBegin&&(Ne=me)),He(Pe,De),Pe.returnBegin?0:me.length}function gt(De){const me=De[0],Pe=Ae.substring(De.index),We=Ue(et,De,Pe);if(!We)return NO_MATCH;const Fe=et;et.endScope&&et.endScope._wrap?(tt(),Ve(me,et.endScope._wrap)):et.endScope&&et.endScope._multi?(tt(),Ze(et.endScope,De)):Fe.skip?Ne+=me:(Fe.returnEnd||Fe.excludeEnd||(Ne+=me),tt(),Fe.excludeEnd&&(Ne=me));do et.scope&&Re.closeNode(),!et.skip&&!et.subLanguage&&(Ce+=et.relevance),et=et.parent;while(et!==We.parent);return We.starts&&He(We.starts,De),Fe.returnEnd?0:me.length}function ft(){const De=[];for(let me=et;me!==_t;me=me.parent)me.scope&&De.unshift(me.scope);De.forEach(me=>Re.openNode(me))}let ot={};function pt(De,me){const Pe=me&&me[0];if(Ne+=De,Pe==null)return tt(),0;if(ot.type==="begin"&&me.type==="end"&&ot.index===me.index&&Pe===""){if(Ne+=Ae.slice(me.index,me.index+1),!N){const We=new Error(`0 width match regex (${Se})`);throw We.languageName=Se,We.badRule=ot.rule,We}return 1}if(ot=me,me.type==="begin")return je(me);if(me.type==="illegal"&&!be){const We=new Error('Illegal lexeme "'+Pe+'" for mode "'+(et.scope||"")+'"');throw We.mode=et,We}else if(me.type==="end"){const We=gt(me);if(We!==NO_MATCH)return We}if(me.type==="illegal"&&Pe==="")return 1;if(Te>1e5&&Te>me.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ne+=Pe,Pe.length}const _t=de(Se);if(!_t)throw error(U.replace("{}",Se)),new Error('Unknown language: "'+Se+'"');const Xe=compileLanguage(_t);let it="",et=xe||Xe;const Be={},Re=new j.__emitter(j);ft();let Ne="",Ce=0,ve=0,Te=0,ke=!1;try{if(_t.__emitTokens)_t.__emitTokens(Ae,Re);else{for(et.matcher.considerAll();;){Te++,ke?ke=!1:et.matcher.considerAll(),et.matcher.lastIndex=ve;const De=et.matcher.exec(Ae);if(!De)break;const me=Ae.substring(ve,De.index),Pe=pt(me,De);ve=De.index+Pe}pt(Ae.substring(ve))}return Re.finalize(),it=Re.toHTML(),{language:Se,value:it,relevance:Ce,illegal:!1,_emitter:Re,_top:et}}catch(De){if(De.message&&De.message.includes("Illegal"))return{language:Se,value:escape$1(Ae),illegal:!0,relevance:0,_illegalBy:{message:De.message,index:ve,context:Ae.slice(ve-100,ve+100),mode:De.mode,resultSoFar:it},_emitter:Re};if(N)return{language:Se,value:escape$1(Ae),illegal:!1,relevance:0,errorRaised:De,_emitter:Re,_top:et};throw De}}function Q(Se){const Ae={value:escape$1(Se),illegal:!1,relevance:0,_top:K,_emitter:new j.__emitter(j)};return Ae._emitter.addText(Se),Ae}function J(Se,Ae){Ae=Ae||j.languages||Object.keys(_);const be=Q(Se),xe=Ae.filter(de).filter(he).map(tt=>Y(tt,Se,!1));xe.unshift(be);const $e=xe.sort((tt,Ve)=>{if(tt.relevance!==Ve.relevance)return Ve.relevance-tt.relevance;if(tt.language&&Ve.language){if(de(tt.language).supersetOf===Ve.language)return 1;if(de(Ve.language).supersetOf===tt.language)return-1}return 0}),[Oe,ze]=$e,Je=Oe;return Je.secondBest=ze,Je}function ee(Se,Ae,be){const xe=Ae&&I[Ae]||be;Se.classList.add("hljs"),Se.classList.add(`language-${xe}`)}function te(Se){let Ae=null;const be=G(Se);if(q(be))return;if(ye("before:highlightElement",{el:Se,language:be}),Se.children.length>0&&(j.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Se)),j.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",Se.innerHTML);Ae=Se;const xe=Ae.textContent,$e=be?Z(xe,{language:be,ignoreIllegals:!0}):J(xe);Se.innerHTML=$e.value,ee(Se,be,$e.language),Se.result={language:$e.language,re:$e.relevance,relevance:$e.relevance},$e.secondBest&&(Se.secondBest={language:$e.secondBest.language,relevance:$e.secondBest.relevance}),ye("after:highlightElement",{el:Se,result:$e,text:xe})}function ie(Se){j=inherit(j,Se)}const ne=()=>{se(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function re(){se(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let oe=!1;function se(){if(document.readyState==="loading"){oe=!0;return}document.querySelectorAll(j.cssSelector).forEach(te)}function ae(){oe&&se()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",ae,!1);function ue(Se,Ae){let be=null;try{be=Ae(B)}catch(xe){if(error("Language definition for '{}' could not be registered.".replace("{}",Se)),N)error(xe);else throw xe;be=K}be.name||(be.name=Se),_[Se]=be,be.rawDefinition=Ae.bind(null,B),be.aliases&&fe(be.aliases,{languageName:Se})}function ce(Se){delete _[Se];for(const Ae of Object.keys(I))I[Ae]===Se&&delete I[Ae]}function le(){return Object.keys(_)}function de(Se){return Se=(Se||"").toLowerCase(),_[Se]||_[I[Se]]}function fe(Se,{languageName:Ae}){typeof Se=="string"&&(Se=[Se]),Se.forEach(be=>{I[be.toLowerCase()]=Ae})}function he(Se){const Ae=de(Se);return Ae&&!Ae.disableAutodetect}function ge(Se){Se["before:highlightBlock"]&&!Se["before:highlightElement"]&&(Se["before:highlightElement"]=Ae=>{Se["before:highlightBlock"](Object.assign({block:Ae.el},Ae))}),Se["after:highlightBlock"]&&!Se["after:highlightElement"]&&(Se["after:highlightElement"]=Ae=>{Se["after:highlightBlock"](Object.assign({block:Ae.el},Ae))})}function pe(Se){ge(Se),A.push(Se)}function we(Se){const Ae=A.indexOf(Se);Ae!==-1&&A.splice(Ae,1)}function ye(Se,Ae){const be=Se;A.forEach(function(xe){xe[be]&&xe[be](Ae)})}function Le(Se){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),te(Se)}Object.assign(B,{highlight:Z,highlightAuto:J,highlightAll:se,highlightElement:te,highlightBlock:Le,configure:ie,initHighlighting:ne,initHighlightingOnLoad:re,registerLanguage:ue,unregisterLanguage:ce,listLanguages:le,getLanguage:de,registerAliases:fe,autoDetection:he,inherit,addPlugin:pe,removePlugin:we}),B.debugMode=function(){N=!1},B.safeMode=function(){N=!0},B.versionString=version,B.regex={concat:concat$2,lookahead,either,optional,anyNumberOfTimes};for(const Se in MODES)typeof MODES[Se]=="object"&&deepFreeze$1(MODES[Se]);return Object.assign(B,MODES),B},highlight$1=HLJS({});highlight$1.newInstance=()=>HLJS({});var core=highlight$1;highlight$1.HighlightJS=highlight$1;highlight$1.default=highlight$1;const HighlightJS=getDefaultExportFromCjs(core),LangTag_svelte_svelte_type_style_lang="";function create_else_block$n(B){let _;return{c(){_=text$1(B[2])},m(I,A){insert(I,_,A)},p(I,A){A&4&&set_data(_,I[2])},d(I){I&&detach(_)}}}function create_if_block$E(B){let _,I;return{c(){_=new HtmlTag(!1),I=empty$1(),_.a=I},m(A,N){_.m(B[1],A,N),insert(A,I,N)},p(A,N){N&2&&_.p(A[1])},d(A){A&&detach(I),A&&_.d()}}}function create_fragment$1R(B){let _,I;function A(q,G){return q[1]?create_if_block$E:create_else_block$n}let N=A(B),U=N(B),K=[{"data-language":B[3]},B[4]],j={};for(let q=0;q{_=assign(assign({},_),exclude_internal_props(G)),I(4,N=compute_rest_props(_,A)),"langtag"in G&&I(0,U=G.langtag),"highlighted"in G&&I(1,K=G.highlighted),"code"in G&&I(2,j=G.code),"languageName"in G&&I(3,q=G.languageName)},[U,K,j,q,N]}class LangTag extends SvelteComponent{constructor(_){super(),init(this,_,instance$1N,create_fragment$1R,safe_not_equal,{langtag:0,highlighted:1,code:2,languageName:3})}}const LangTag$1=LangTag,get_default_slot_changes$1=B=>({highlighted:B&8}),get_default_slot_context$1=B=>({highlighted:B[3]});function fallback_block$2(B){let _,I;const A=[B[4],{languageName:B[0].name},{langtag:B[2]},{highlighted:B[3]},{code:B[1]}];let N={};for(let U=0;U{Y&&Z("highlight",{highlighted:Y})}),B.$$set=Q=>{_=assign(assign({},_),exclude_internal_props(Q)),I(4,N=compute_rest_props(_,A)),"language"in Q&&I(0,j=Q.language),"code"in Q&&I(1,q=Q.code),"langtag"in Q&&I(2,G=Q.langtag),"$$scope"in Q&&I(5,K=Q.$$scope)},B.$$.update=()=>{B.$$.dirty&3&&(HighlightJS.registerLanguage(j.name,j.register),I(3,Y=HighlightJS.highlight(q,{language:j.name}).value))},[j,q,G,Y,N,K,U]}class Highlight extends SvelteComponent{constructor(_){super(),init(this,_,instance$1M,create_fragment$1Q,safe_not_equal,{language:0,code:1,langtag:2})}}const Highlight$1=Highlight,LineNumbers_svelte_svelte_type_style_lang="";function get_each_context$g(B,_,I){const A=B.slice();A[10]=_[I],A[13]=I;const N=A[13]+A[2];return A[11]=N,A}function create_if_block_1$t(B){let _,I=`var(--highlighted-background, ${HIGHLIGHTED_BACKGROUND})`;return{c(){_=element("div"),attr(_,"class","svelte-1vh31p0"),toggle_class(_,"line-background",!0),set_style(_,"background",I)},m(A,N){insert(A,_,N)},p:noop,d(A){A&&detach(_)}}}function create_if_block$D(B){let _,I=`var(--highlighted-background, ${HIGHLIGHTED_BACKGROUND})`;return{c(){_=element("div"),attr(_,"class","svelte-1vh31p0"),toggle_class(_,"line-background",!0),set_style(_,"background",I)},m(A,N){insert(A,_,N)},p:noop,d(A){A&&detach(_)}}}function create_each_block$g(B){let _,I,A,N=B[11]+"",U,K,j=B[3].includes(B[13]),q,G,Z,Y,Q=(B[10]||` -`)+"",J,ee=B[3].includes(B[13]),te,ie=j&&create_if_block_1$t(),ne=ee&&create_if_block$D();return{c(){_=element("tr"),I=element("td"),A=element("code"),U=text$1(N),K=space(),ie&&ie.c(),q=space(),G=element("td"),Z=element("pre"),Y=element("code"),J=space(),ne&&ne.c(),te=space(),attr(A,"class","svelte-1vh31p0"),set_style(A,"color","var(--line-number-color, currentColor)"),attr(I,"class","svelte-1vh31p0"),toggle_class(I,"hljs",!0),toggle_class(I,"hideBorder",B[0]),set_style(I,"position","sticky"),set_style(I,"left","0"),set_style(I,"text-align","right"),set_style(I,"user-select","none"),set_style(I,"width",B[5]+"px"),attr(Z,"class","svelte-1vh31p0"),toggle_class(Z,"wrapLines",B[1]),attr(G,"class","svelte-1vh31p0"),attr(_,"class","svelte-1vh31p0")},m(re,oe){insert(re,_,oe),append$2(_,I),append$2(I,A),append$2(A,U),append$2(I,K),ie&&ie.m(I,null),append$2(_,q),append$2(_,G),append$2(G,Z),append$2(Z,Y),Y.innerHTML=Q,append$2(G,J),ne&&ne.m(G,null),append$2(_,te)},p(re,oe){oe&4&&N!==(N=re[11]+"")&&set_data(U,N),oe&8&&(j=re[3].includes(re[13])),j?ie?ie.p(re,oe):(ie=create_if_block_1$t(),ie.c(),ie.m(I,null)):ie&&(ie.d(1),ie=null),oe&1&&toggle_class(I,"hideBorder",re[0]),oe&32&&set_style(I,"width",re[5]+"px"),oe&16&&Q!==(Q=(re[10]||` -`)+"")&&(Y.innerHTML=Q),oe&2&&toggle_class(Z,"wrapLines",re[1]),oe&8&&(ee=re[3].includes(re[13])),ee?ne?ne.p(re,oe):(ne=create_if_block$D(),ne.c(),ne.m(G,null)):ne&&(ne.d(1),ne=null)},d(re){re&&detach(_),ie&&ie.d(),ne&&ne.d()}}}function create_fragment$1P(B){let _,I,A,N=B[4],U=[];for(let q=0;q{_=assign(assign({},_),exclude_internal_props(ee)),I(6,q=compute_rest_props(_,j)),"highlighted"in ee&&I(7,G=ee.highlighted),"hideBorder"in ee&&I(0,Z=ee.hideBorder),"wrapLines"in ee&&I(1,Y=ee.wrapLines),"startingLineNumber"in ee&&I(2,Q=ee.startingLineNumber),"highlightedLines"in ee&&I(3,J=ee.highlightedLines)},B.$$.update=()=>{B.$$.dirty&128&&I(4,A=G.split(` -`)),B.$$.dirty&16&&I(9,N=A.length.toString().length),B.$$.dirty&512&&I(8,U=N-MIN_DIGITS<1?MIN_DIGITS:N),B.$$.dirty&256&&I(5,K=U*DIGIT_WIDTH)},[Z,Y,Q,J,A,K,q,G,U,N]}class LineNumbers extends SvelteComponent{constructor(_){super(),init(this,_,instance$1L,create_fragment$1P,safe_not_equal,{highlighted:7,hideBorder:0,wrapLines:1,startingLineNumber:2,highlightedLines:3})}}const LineNumbers$1=LineNumbers;function go$2(B){const U={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:U,illegal:">>|\.\.\.) /},G={className:"subst",begin:/\{/,end:/\}/,keywords:j,illegal:/#/},Z={begin:/\{\{/,relevance:0},Y={className:"string",contains:[B.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[B.BACKSLASH_ESCAPE,q],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[B.BACKSLASH_ESCAPE,q],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[B.BACKSLASH_ESCAPE,q,Z,G]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[B.BACKSLASH_ESCAPE,q,Z,G]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[B.BACKSLASH_ESCAPE,Z,G]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[B.BACKSLASH_ESCAPE,Z,G]},B.APOS_STRING_MODE,B.QUOTE_STRING_MODE]},Q="[0-9](_?[0-9])*",J=`(\\b(${Q}))?\\.(${Q})|\\b(${Q})\\.`,ee=`\\b|${A.join("|")}`,te={className:"number",relevance:0,variants:[{begin:`(\\b(${Q})|(${J}))[eE][+-]?(${Q})[jJ]?(?=${ee})`},{begin:`(${J})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${ee})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${ee})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${ee})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${ee})`},{begin:`\\b(${Q})[jJ](?=${ee})`}]},ie={className:"comment",begin:_.lookahead(/# type:/),end:/$/,keywords:j,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},ne={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:j,contains:["self",q,te,Y,B.HASH_COMMENT_MODE]}]};return G.contains=[Y,te,q],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:j,illegal:/(<\/|\?)|=>/,contains:[q,te,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},Y,ie,B.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,I],scope:{1:"keyword",3:"title.function"},contains:[ne]},{variants:[{match:[/\bclass/,/\s+/,I,/\s*/,/\(\s*/,I,/\s*\)/]},{match:[/\bclass/,/\s+/,I]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[te,ne,Y]}]}}const python={name:"python",register:python$2},python$1=python;function shell$2(B){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}const shell={name:"shell",register:shell$2},shell$1=shell,IDENT_RE="[A-Za-z$_][0-9A-Za-z$_]*",KEYWORDS=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],LITERALS=["true","false","null","undefined","NaN","Infinity"],TYPES=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ERROR_TYPES=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],BUILT_IN_GLOBALS=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],BUILT_IN_VARIABLES=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],BUILT_INS=[].concat(BUILT_IN_GLOBALS,TYPES,ERROR_TYPES);function javascript(B){const _=B.regex,I=(Ae,{after:be})=>{const xe="",end:""},U=/<[A-Za-z0-9\\._:-]+\s*\/>/,K={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ae,be)=>{const xe=Ae[0].length+Ae.index,$e=Ae.input[xe];if($e==="<"||$e===","){be.ignoreMatch();return}$e===">"&&(I(Ae,{after:xe})||be.ignoreMatch());let Oe;const ze=Ae.input.substring(xe);if(Oe=ze.match(/^\s*=/)){be.ignoreMatch();return}if((Oe=ze.match(/^\s+extends\s+/))&&Oe.index===0){be.ignoreMatch();return}}},j={$pattern:IDENT_RE,keyword:KEYWORDS,literal:LITERALS,built_in:BUILT_INS,"variable.language":BUILT_IN_VARIABLES},q="[0-9](_?[0-9])*",G=`\\.(${q})`,Z="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Y={className:"number",variants:[{begin:`(\\b(${Z})((${G})|\\.)?|(${G}))[eE][+-]?(${q})\\b`},{begin:`\\b(${Z})\\b((${G})\\b|\\.)?|(${G})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Q={className:"subst",begin:"\\$\\{",end:"\\}",keywords:j,contains:[]},J={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[B.BACKSLASH_ESCAPE,Q],subLanguage:"xml"}},ee={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[B.BACKSLASH_ESCAPE,Q],subLanguage:"css"}},te={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[B.BACKSLASH_ESCAPE,Q],subLanguage:"graphql"}},ie={className:"string",begin:"`",end:"`",contains:[B.BACKSLASH_ESCAPE,Q]},re={className:"comment",variants:[B.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:A+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),B.C_BLOCK_COMMENT_MODE,B.C_LINE_COMMENT_MODE]},oe=[B.APOS_STRING_MODE,B.QUOTE_STRING_MODE,J,ee,te,ie,{match:/\$\d+/},Y];Q.contains=oe.concat({begin:/\{/,end:/\}/,keywords:j,contains:["self"].concat(oe)});const se=[].concat(re,Q.contains),ae=se.concat([{begin:/\(/,end:/\)/,keywords:j,contains:["self"].concat(se)}]),ue={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:j,contains:ae},ce={variants:[{match:[/class/,/\s+/,A,/\s+/,/extends/,/\s+/,_.concat(A,"(",_.concat(/\./,A),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,A],scope:{1:"keyword",3:"title.class"}}]},le={relevance:0,match:_.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...TYPES,...ERROR_TYPES]}},de={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},fe={variants:[{match:[/function/,/\s+/,A,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ue],illegal:/%/},he={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ge(Ae){return _.concat("(?!",Ae.join("|"),")")}const pe={match:_.concat(/\b/,ge([...BUILT_IN_GLOBALS,"super","import"]),A,_.lookahead(/\(/)),className:"title.function",relevance:0},we={begin:_.concat(/\./,_.lookahead(_.concat(A,/(?![0-9A-Za-z$_(])/))),end:A,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ye={match:[/get|set/,/\s+/,A,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ue]},Le="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+B.UNDERSCORE_IDENT_RE+")\\s*=>",Se={match:[/const|var|let/,/\s+/,A,/\s*/,/=\s*/,/(async\s*)?/,_.lookahead(Le)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ue]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:j,exports:{PARAMS_CONTAINS:ae,CLASS_REFERENCE:le},illegal:/#(?![$_A-z])/,contains:[B.SHEBANG({label:"shebang",binary:"node",relevance:5}),de,B.APOS_STRING_MODE,B.QUOTE_STRING_MODE,J,ee,te,ie,re,{match:/\$\d+/},Y,le,{className:"attr",begin:A+_.lookahead(":"),relevance:0},Se,{begin:"("+B.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[re,B.REGEXP_MODE,{className:"function",begin:Le,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:B.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:j,contains:ae}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:N.begin,end:N.end},{match:U},{begin:K.begin,"on:begin":K.isTrulyOpeningTag,end:K.end}],subLanguage:"xml",contains:[{begin:K.begin,end:K.end,skip:!0,contains:["self"]}]}]},fe,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+B.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ue,B.inherit(B.TITLE_MODE,{begin:A,className:"title.function"})]},{match:/\.\.\./,relevance:0},we,{match:"\\$"+A,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ue]},pe,he,ce,ye,{match:/\$[(.]/}]}}function typescript$2(B){const _=javascript(B),I=IDENT_RE,A=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],N={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[_.exports.CLASS_REFERENCE]},U={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:A},contains:[_.exports.CLASS_REFERENCE]},K={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},j=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],q={$pattern:IDENT_RE,keyword:KEYWORDS.concat(j),literal:LITERALS,built_in:BUILT_INS.concat(A),"variable.language":BUILT_IN_VARIABLES},G={className:"meta",begin:"@"+I},Z=(Q,J,ee)=>{const te=Q.contains.findIndex(ie=>ie.label===J);if(te===-1)throw new Error("can not find mode to replace");Q.contains.splice(te,1,ee)};Object.assign(_.keywords,q),_.exports.PARAMS_CONTAINS.push(G),_.contains=_.contains.concat([G,N,U]),Z(_,"shebang",B.SHEBANG()),Z(_,"use_strict",K);const Y=_.contains.find(Q=>Q.label==="func.def");return Y.relevance=0,Object.assign(_,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),_}const typescript={name:"typescript",register:typescript$2},typescript$1=typescript,get_body_slot_changes=B=>({}),get_body_slot_context=B=>({}),get_header_row_slot_changes=B=>({}),get_header_row_slot_context=B=>({});function create_if_block$C(B){let _,I,A,N,U,K,j,q,G,Z;return{c(){_=element("div"),I=element("button"),A=text$1("Next"),U=space(),K=element("button"),j=text$1("Previous"),attr(I,"class",N="ml-2 drop-shadow-md "+(B[2]?"visible":"invisible")),attr(K,"class",q="mx-2 drop-shadow-md "+(B[1]===1?"hidden":"")),attr(_,"class","sticky flex flex-row-reverse text-gray-500 mb-6")},m(Y,Q){insert(Y,_,Q),append$2(_,I),append$2(I,A),append$2(_,U),append$2(_,K),append$2(K,j),G||(Z=[listen(I,"click",B[7]),listen(K,"click",B[8])],G=!0)},p(Y,Q){Q&4&&N!==(N="ml-2 drop-shadow-md "+(Y[2]?"visible":"invisible"))&&attr(I,"class",N),Q&2&&q!==(q="mx-2 drop-shadow-md "+(Y[1]===1?"hidden":""))&&attr(K,"class",q)},d(Y){Y&&detach(_),G=!1,run_all(Z)}}}function create_fragment$1O(B){let _,I,A,N,U,K,j,q;const G=B[6]["header-row"],Z=create_slot(G,B,B[5],get_header_row_slot_context),Y=B[6].body,Q=create_slot(Y,B,B[5],get_body_slot_context);let J=B[0]&&create_if_block$C(B);return{c(){_=element("div"),I=element("div"),A=element("table"),N=element("thead"),Z&&Z.c(),U=space(),Q&&Q.c(),K=space(),J&&J.c(),attr(A,"class","table-custom min-w-full table-auto divide-y divide-gray-300"),attr(I,"class","inline-block min-w-full py-2 align-middle"),attr(_,"class",j="flex flex-col "+B[4].class+" min-w-full")},m(ee,te){insert(ee,_,te),append$2(_,I),append$2(I,A),append$2(A,N),Z&&Z.m(N,null),append$2(A,U),Q&&Q.m(A,null),append$2(_,K),J&&J.m(_,null),q=!0},p(ee,[te]){Z&&Z.p&&(!q||te&32)&&update_slot_base(Z,G,ee,ee[5],q?get_slot_changes(G,ee[5],te,get_header_row_slot_changes):get_all_dirty_from_scope(ee[5]),get_header_row_slot_context),Q&&Q.p&&(!q||te&32)&&update_slot_base(Q,Y,ee,ee[5],q?get_slot_changes(Y,ee[5],te,get_body_slot_changes):get_all_dirty_from_scope(ee[5]),get_body_slot_context),ee[0]?J?J.p(ee,te):(J=create_if_block$C(ee),J.c(),J.m(_,null)):J&&(J.d(1),J=null),(!q||te&16&&j!==(j="flex flex-col "+ee[4].class+" min-w-full"))&&attr(_,"class",j)},i(ee){q||(transition_in(Z,ee),transition_in(Q,ee),q=!0)},o(ee){transition_out(Z,ee),transition_out(Q,ee),q=!1},d(ee){ee&&detach(_),Z&&Z.d(ee),Q&&Q.d(ee),J&&J.d()}}}function instance$1K(B,_,I){let{$$slots:A={},$$scope:N}=_,{paginated:U=!1}=_,{currentPage:K=1}=_,{showNext:j=!0}=_;const q=createEventDispatcher(),G=()=>q("next"),Z=()=>q("previous");return B.$$set=Y=>{I(4,_=assign(assign({},_),exclude_internal_props(Y))),"paginated"in Y&&I(0,U=Y.paginated),"currentPage"in Y&&I(1,K=Y.currentPage),"showNext"in Y&&I(2,j=Y.showNext),"$$scope"in Y&&I(5,N=Y.$$scope)},_=exclude_internal_props(_),[U,K,j,q,_,N,A,G,Z]}class TableCustom extends SvelteComponent{constructor(_){super(),init(this,_,instance$1K,create_fragment$1O,safe_not_equal,{paginated:0,currentPage:1,showNext:2})}}const get_text_slot_changes=B=>({}),get_text_slot_context=B=>({});function create_else_block$m(B){let _,I,A,N,U;const K=B[12].default,j=create_slot(K,B,B[14],null);return{c(){_=element("button"),j&&j.c(),attr(_,"class",I=B[9].class)},m(q,G){insert(q,_,G),j&&j.m(_,null),A=!0,N||(U=[action_destroyer(B[4].call(null,_)),listen(_,"mouseenter",B[7]),listen(_,"mouseleave",B[8]),listen(_,"click",B[13])],N=!0)},p(q,G){j&&j.p&&(!A||G&16384)&&update_slot_base(j,K,q,q[14],A?get_slot_changes(K,q[14],G,null):get_all_dirty_from_scope(q[14]),null),(!A||G&512&&I!==(I=q[9].class))&&attr(_,"class",I)},i(q){A||(transition_in(j,q),A=!0)},o(q){transition_out(j,q),A=!1},d(q){q&&detach(_),j&&j.d(q),N=!1,run_all(U)}}}function create_if_block_1$s(B){let _,I,A,N,U;const K=B[12].default,j=create_slot(K,B,B[14],null);return{c(){_=element("span"),j&&j.c(),attr(_,"class",I=B[9].class)},m(q,G){insert(q,_,G),j&&j.m(_,null),A=!0,N||(U=[action_destroyer(B[4].call(null,_)),listen(_,"mouseenter",B[7]),listen(_,"mouseleave",B[8])],N=!0)},p(q,G){j&&j.p&&(!A||G&16384)&&update_slot_base(j,K,q,q[14],A?get_slot_changes(K,q[14],G,null):get_all_dirty_from_scope(q[14]),null),(!A||G&512&&I!==(I=q[9].class))&&attr(_,"class",I)},i(q){A||(transition_in(j,q),A=!0)},o(q){transition_out(j,q),A=!1},d(q){q&&detach(_),j&&j.d(q),N=!1,run_all(U)}}}function create_if_block$B(B){let _,I;return _=new Portal({props:{$$slots:{default:[create_default_slot$q]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&16386&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot$q(B){let _,I,A,N,U,K;const j=B[12].text,q=create_slot(j,B,B[14],get_text_slot_context);return{c(){_=element("div"),I=element("div"),q&&q.c(),attr(I,"class","max-w-sm"),attr(_,"class",A="z-[2000] py-2 px-3 rounded-md text-sm font-normal !text-gray-300 bg-gray-800 whitespace-normal text-left "+B[1])},m(G,Z){insert(G,_,Z),append$2(_,I),q&&q.m(I,null),N=!0,U||(K=[action_destroyer(B[5].call(null,_,B[6])),listen(_,"mouseenter",B[7]),listen(_,"mouseleave",B[8])],U=!0)},p(G,Z){q&&q.p&&(!N||Z&16384)&&update_slot_base(q,j,G,G[14],N?get_slot_changes(j,G[14],Z,get_text_slot_changes):get_all_dirty_from_scope(G[14]),get_text_slot_context),(!N||Z&2&&A!==(A="z-[2000] py-2 px-3 rounded-md text-sm font-normal !text-gray-300 bg-gray-800 whitespace-normal text-left "+G[1]))&&attr(_,"class",A)},i(G){N||(transition_in(q,G),N=!0)},o(G){transition_out(q,G),N=!1},d(G){G&&detach(_),q&&q.d(G),U=!1,run_all(K)}}}function create_fragment$1N(B){let _,I,A,N,U;const K=[create_if_block_1$s,create_else_block$m],j=[];function q(Z,Y){return Z[0]?0:1}_=q(B),I=j[_]=K[_](B);let G=B[3]&&!B[2]&&create_if_block$B(B);return{c(){I.c(),A=space(),G&&G.c(),N=empty$1()},m(Z,Y){j[_].m(Z,Y),insert(Z,A,Y),G&&G.m(Z,Y),insert(Z,N,Y),U=!0},p(Z,[Y]){let Q=_;_=q(Z),_===Q?j[_].p(Z,Y):(group_outros(),transition_out(j[Q],1,1,()=>{j[Q]=null}),check_outros(),I=j[_],I?I.p(Z,Y):(I=j[_]=K[_](Z),I.c()),transition_in(I,1),I.m(A.parentNode,A)),Z[3]&&!Z[2]?G?(G.p(Z,Y),Y&12&&transition_in(G,1)):(G=create_if_block$B(Z),G.c(),transition_in(G,1),G.m(N.parentNode,N)):G&&(group_outros(),transition_out(G,1,1,()=>{G=null}),check_outros())},i(Z){U||(transition_in(I),transition_in(G),U=!0)},o(Z){transition_out(I),transition_out(G),U=!1},d(Z){j[_].d(Z),Z&&detach(A),G&&G.d(Z),Z&&detach(N)}}}function instance$1J(B,_,I){let{$$slots:A={},$$scope:N}=_,{placement:U="auto"}=_,{notClickable:K=!1}=_,{popupClass:j=""}=_,{disablePopup:q=!1}=_,{disappearTimeout:G=100}=_;const[Z,Y]=createPopperActions({placement:U}),Q={placement:"bottom-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:10}}]};let J=!1,ee;function te(){clearTimeout(ee),I(3,J=!0)}function ie(){ee=setTimeout(()=>I(3,J=!1),G)}function ne(re){bubble.call(this,B,re)}return B.$$set=re=>{I(9,_=assign(assign({},_),exclude_internal_props(re))),"placement"in re&&I(10,U=re.placement),"notClickable"in re&&I(0,K=re.notClickable),"popupClass"in re&&I(1,j=re.popupClass),"disablePopup"in re&&I(2,q=re.disablePopup),"disappearTimeout"in re&&I(11,G=re.disappearTimeout),"$$scope"in re&&I(14,N=re.$$scope)},_=exclude_internal_props(_),[K,j,q,J,Z,Y,Q,te,ie,_,U,G,A,ne,N]}class Popover extends SvelteComponent{constructor(_){super(),init(this,_,instance$1J,create_fragment$1N,safe_not_equal,{placement:10,notClickable:0,popupClass:1,disablePopup:2,disappearTimeout:11})}}function create_default_slot$p(B){let _,I;return _=new Icon({props:{class:(B[0]?"text-gray-400 hover:text-gray-500":" text-gray-500 hover:text-gray-600")+" cursor-pointer transition-all font-thin flex h-4 p-0.5 w-4 justify-center items-center "+B[5].class,data:faInfoCircle,scale:B[1]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&33&&(U.class=(A[0]?"text-gray-400 hover:text-gray-500":" text-gray-500 hover:text-gray-600")+" cursor-pointer transition-all font-thin flex h-4 p-0.5 w-4 justify-center items-center "+A[5].class),N&2&&(U.scale=A[1]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block$A(B){let _,I,A,N,U;return N=new ExternalLink({props:{size:"16"}}),{c(){_=element("a"),I=element("div"),A=text$1(`See documentation - `),create_component(N.$$.fragment),attr(I,"class","flex flex-row gap-2 mt-4"),attr(_,"href",B[4]),attr(_,"target","_blank"),attr(_,"class","text-blue-300 text-xs")},m(K,j){insert(K,_,j),append$2(_,I),append$2(I,A),mount_component(N,I,null),U=!0},p(K,j){(!U||j&16)&&attr(_,"href",K[4])},i(K){U||(transition_in(N.$$.fragment,K),U=!0)},o(K){transition_out(N.$$.fragment,K),U=!1},d(K){K&&detach(_),destroy_component(N)}}}function create_text_slot(B){let _,I,A;const N=B[6].default,U=create_slot(N,B,B[7],null);let K=B[4]&&create_if_block$A(B);return{c(){U&&U.c(),_=space(),K&&K.c(),I=empty$1()},m(j,q){U&&U.m(j,q),insert(j,_,q),K&&K.m(j,q),insert(j,I,q),A=!0},p(j,q){U&&U.p&&(!A||q&128)&&update_slot_base(U,N,j,j[7],A?get_slot_changes(N,j[7],q,null):get_all_dirty_from_scope(j[7]),null),j[4]?K?(K.p(j,q),q&16&&transition_in(K,1)):(K=create_if_block$A(j),K.c(),transition_in(K,1),K.m(I.parentNode,I)):K&&(group_outros(),transition_out(K,1,1,()=>{K=null}),check_outros())},i(j){A||(transition_in(U,j),transition_in(K),A=!0)},o(j){transition_out(U,j),transition_out(K),A=!1},d(j){U&&U.d(j),j&&detach(_),K&&K.d(j),j&&detach(I)}}}function create_fragment$1M(B){let _,I;return _=new Popover({props:{notClickable:!0,placement:B[3],class:B[2],$$slots:{text:[create_text_slot],default:[create_default_slot$p]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,[N]){const U={};N&8&&(U.placement=A[3]),N&4&&(U.class=A[2]),N&179&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function instance$1I(B,_,I){let{$$slots:A={},$$scope:N}=_,{light:U=!1}=_,{scale:K=.8}=_,{wrapperClass:j=""}=_,{placement:q=void 0}=_,{documentationLink:G=void 0}=_;return B.$$set=Z=>{I(5,_=assign(assign({},_),exclude_internal_props(Z))),"light"in Z&&I(0,U=Z.light),"scale"in Z&&I(1,K=Z.scale),"wrapperClass"in Z&&I(2,j=Z.wrapperClass),"placement"in Z&&I(3,q=Z.placement),"documentationLink"in Z&&I(4,G=Z.documentationLink),"$$scope"in Z&&I(7,N=Z.$$scope)},_=exclude_internal_props(_),[U,K,j,q,G,_,A,N]}class Tooltip extends SvelteComponent{constructor(_){super(),init(this,_,instance$1I,create_fragment$1M,safe_not_equal,{light:0,scale:1,wrapperClass:2,placement:3,documentationLink:4})}}function create_if_block$z(B){let _,I;return _=new Tooltip({props:{documentationLink:B[4],scale:.9,$$slots:{default:[create_default_slot$o]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&16&&(U.documentationLink=A[4]),N&1032&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot$o(B){let _;return{c(){_=text$1(B[3])},m(I,A){insert(I,_,A)},p(I,A){A&8&&set_data(_,I[3])},d(I){I&&detach(_)}}}function create_fragment$1L(B){let _,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te;N=new Icon({props:{data:B[6][B[0]],class:B[7][B[0]].iconClass}});let ie=(B[3]!=""||B[4])&&create_if_block$z(B);const ne=B[9].default,re=create_slot(ne,B,B[10],null);return{c(){_=element("div"),I=element("div"),A=element("div"),create_component(N.$$.fragment),U=space(),K=element("div"),j=element("span"),q=text$1(B[1]),G=text$1(" "),ie&&ie.c(),Y=space(),Q=element("div"),re&&re.c(),attr(A,"class","flex h-8 w-8 items-center justify-center rounded-full"),attr(j,"class",Z=classNames(B[5]==="sm"?"text-sm":"text-xs ","font-medium",B[7][B[0]].titleClass)),attr(Q,"class",J=classNames(B[5]==="sm"?"text-sm":"text-xs ","mt-2",B[7][B[0]].descriptionClass)),attr(K,"class","ml-2 w-full"),attr(I,"class","flex"),attr(_,"class",ee=classNames(B[2]?"":"rounded-md",B[5]==="sm"?"p-4":"p-2 ",B[7][B[0]].bgClass,B[8].class))},m(oe,se){insert(oe,_,se),append$2(_,I),append$2(I,A),mount_component(N,A,null),append$2(I,U),append$2(I,K),append$2(K,j),append$2(j,q),append$2(j,G),ie&&ie.m(j,null),append$2(K,Y),append$2(K,Q),re&&re.m(Q,null),te=!0},p(oe,[se]){const ae={};se&1&&(ae.data=oe[6][oe[0]]),se&1&&(ae.class=oe[7][oe[0]].iconClass),N.$set(ae),(!te||se&2)&&set_data(q,oe[1]),oe[3]!=""||oe[4]?ie?(ie.p(oe,se),se&24&&transition_in(ie,1)):(ie=create_if_block$z(oe),ie.c(),transition_in(ie,1),ie.m(j,null)):ie&&(group_outros(),transition_out(ie,1,1,()=>{ie=null}),check_outros()),(!te||se&33&&Z!==(Z=classNames(oe[5]==="sm"?"text-sm":"text-xs ","font-medium",oe[7][oe[0]].titleClass)))&&attr(j,"class",Z),re&&re.p&&(!te||se&1024)&&update_slot_base(re,ne,oe,oe[10],te?get_slot_changes(ne,oe[10],se,null):get_all_dirty_from_scope(oe[10]),null),(!te||se&33&&J!==(J=classNames(oe[5]==="sm"?"text-sm":"text-xs ","mt-2",oe[7][oe[0]].descriptionClass)))&&attr(Q,"class",J),(!te||se&293&&ee!==(ee=classNames(oe[2]?"":"rounded-md",oe[5]==="sm"?"p-4":"p-2 ",oe[7][oe[0]].bgClass,oe[8].class)))&&attr(_,"class",ee)},i(oe){te||(transition_in(N.$$.fragment,oe),transition_in(ie),transition_in(re,oe),te=!0)},o(oe){transition_out(N.$$.fragment,oe),transition_out(ie),transition_out(re,oe),te=!1},d(oe){oe&&detach(_),destroy_component(N),ie&&ie.d(),re&&re.d(oe)}}}function instance$1H(B,_,I){let{$$slots:A={},$$scope:N}=_,{type:U="info"}=_,{title:K}=_,{notRounded:j=!1}=_,{tooltip:q=""}=_,{documentationLink:G=void 0}=_,{size:Z="sm"}=_;const Y={info:faInfoCircle,warning:faWarning,error:faWarning,success:faCheckCircle},Q={info:{bgClass:"bg-blue-50 border-blue-200 border",iconClass:"text-blue-500",titleClass:"text-blue-800",descriptionClass:"text-blue-700"},warning:{bgClass:"bg-yellow-50 border-yellow-200 border",iconClass:"text-yellow-500",titleClass:"text-yellow-800",descriptionClass:"text-yellow-700"},error:{bgClass:"bg-red-50 border-red-200 border",iconClass:"text-red-500",titleClass:"text-red-800",descriptionClass:"text-red-700"},success:{bgClass:"bg-green-50 border-green-200 border",iconClass:"text-green-500",titleClass:"text-green-800",descriptionClass:"text-green-700"}};return B.$$set=J=>{I(8,_=assign(assign({},_),exclude_internal_props(J))),"type"in J&&I(0,U=J.type),"title"in J&&I(1,K=J.title),"notRounded"in J&&I(2,j=J.notRounded),"tooltip"in J&&I(3,q=J.tooltip),"documentationLink"in J&&I(4,G=J.documentationLink),"size"in J&&I(5,Z=J.size),"$$scope"in J&&I(10,N=J.$$scope)},_=exclude_internal_props(_),[U,K,j,q,G,Z,Y,Q,_,A,N]}class Alert extends SvelteComponent{constructor(_){super(),init(this,_,instance$1H,create_fragment$1L,safe_not_equal,{type:0,title:1,notRounded:2,tooltip:3,documentationLink:4,size:5})}}const ColorModifier="dark-";function create_if_block_2$m(B){let _,I;const A=[B[5]];let N={};for(let U=0;U{K=null}),check_outros()),q&&q.p&&(!U||ee&16384)&&update_slot_base(q,j,J,J[14],U?get_slot_changes(j,J[14],ee,null):get_all_dirty_from_scope(J[14]),null),J[5].data&&J[5].position==="right"?G?(G.p(J,ee),ee&32&&transition_in(G,1)):(G=create_if_block_1$r(J),G.c(),transition_in(G,1),G.m(_,N)):G&&(group_outros(),transition_out(G,1,1,()=>{G=null}),check_outros()),J[1]?Z?(Z.p(J,ee),ee&2&&transition_in(Z,1)):(Z=create_if_block$y(J),Z.c(),transition_in(Z,1),Z.m(_,null)):Z&&(group_outros(),transition_out(Z,1,1,()=>{Z=null}),check_outros()),set_dynamic_element_data(J[0]?"a":"span")(_,Q=get_spread_update(Y,[(!U||ee&1)&&{href:J[0]},ee&256&&J[8],(!U||ee&64)&&{class:J[6]}])),toggle_class(_,"hidden",J[4]),toggle_class(_,"capitalize",J[3])},i(J){U||(transition_in(K),transition_in(q,J),transition_in(G),transition_in(Z),U=!0)},o(J){transition_out(K),transition_out(q,J),transition_out(G),transition_out(Z),U=!1},d(J){J&&detach(_),K&&K.d(),q&&q.d(J),G&&G.d(),Z&&Z.d()}}}function create_fragment$1K(B){let _,I=B[0]?"a":"span",A,N,U,K,j=(B[0]?"a":"span")&&create_dynamic_element(B);return{c(){_=element("span"),j&&j.c(),attr(_,"class",A="inline-flex justify-center items-center whitespace-nowrap "+B[2])},m(q,G){insert(q,_,G),j&&j.m(_,null),N=!0,U||(K=[listen(_,"click",B[16]),listen(_,"keydown",B[17])],U=!0)},p(q,[G]){q[0],I?safe_not_equal(I,q[0]?"a":"span")?(j.d(1),j=create_dynamic_element(q),I=q[0]?"a":"span",j.c(),j.m(_,null)):j.p(q,G):(j=create_dynamic_element(q),I=q[0]?"a":"span",j.c(),j.m(_,null)),(!N||G&4&&A!==(A="inline-flex justify-center items-center whitespace-nowrap "+q[2]))&&attr(_,"class",A)},i(q){N||(transition_in(j),N=!0)},o(q){transition_out(j),N=!1},d(q){q&&detach(_),j&&j.d(q),U=!1,run_all(K)}}}function instance$1G(B,_,I){let A,N;const U=["color","large","href","rounded","dismissable","wrapperClass","baseClass","capitalize","icon"];let K=compute_rest_props(_,U),{$$slots:j={},$$scope:q}=_,{color:G="gray"}=_,{large:Z=!1}=_,{href:Y=""}=_,{rounded:Q=!1}=_,{dismissable:J=!1}=_,{wrapperClass:ee=""}=_,{baseClass:te="text-center"}=_,{capitalize:ie=!1}=_,{icon:ne=void 0}=_,re={position:"left",scale:.7},oe=!1;const se={gray:"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300",blue:"bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800",red:"bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900",green:"bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900",yellow:"bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900",indigo:"bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900",["dark-gray"]:"bg-gray-500 text-gray-100",["dark-blue"]:"bg-blue-500 text-blue-100",["dark-red"]:"bg-red-500 text-white",["dark-green"]:"bg-green-500 text-green-100",["dark-yellow"]:"bg-yellow-300 text-yellow-800",["dark-indigo"]:"bg-indigo-500 text-indigo-100"},ae={gray:"hover:bg-gray-200 dark:hover:bg-gray-300",blue:"hover:bg-blue-200 dark:hover:bg-blue-300",red:"hover:bg-red-200 dark:hover:bg-red-300",green:"hover:bg-green-200 dark:hover:bg-green-300",yellow:"hover:bg-yellow-200 dark:hover:bg-yellow-300",indigo:"hover:bg-indigo-200 dark:hover:bg-indigo-300"},ue=()=>I(4,oe=!oe);function ce(de){bubble.call(this,B,de)}function le(de){bubble.call(this,B,de)}return B.$$set=de=>{I(21,_=assign(assign({},_),exclude_internal_props(de))),I(8,K=compute_rest_props(_,U)),"color"in de&&I(9,G=de.color),"large"in de&&I(10,Z=de.large),"href"in de&&I(0,Y=de.href),"rounded"in de&&I(11,Q=de.rounded),"dismissable"in de&&I(1,J=de.dismissable),"wrapperClass"in de&&I(2,ee=de.wrapperClass),"baseClass"in de&&I(12,te=de.baseClass),"capitalize"in de&&I(3,ie=de.capitalize),"icon"in de&&I(13,ne=de.icon),"$$scope"in de&&I(14,q=de.$$scope)},B.$$.update=()=>{I(6,A=classNames(te,Z?"text-sm font-medium":"text-xs font-semibold",se[G],Y&&(G.startsWith(ColorModifier)?ae[G.replace(ColorModifier,"")]:ae[G]),Q?"rounded-full px-2 py-1":"rounded px-2.5 py-0.5",_.class)),B.$$.dirty&8192&&I(5,N=ne?{...re,...ne}:{data:void 0})},_=exclude_internal_props(_),[Y,J,ee,ie,oe,N,A,ue,K,G,Z,Q,te,ne,q,j,ce,le]}class Badge extends SvelteComponent{constructor(_){super(),init(this,_,instance$1G,create_fragment$1K,safe_not_equal,{color:9,large:10,href:0,rounded:11,dismissable:1,wrapperClass:2,baseClass:12,capitalize:3,icon:13})}}const Drawer_svelte_svelte_type_style_lang="",get_default_slot_changes=B=>({open:B&1}),get_default_slot_context=B=>({open:B[0]});function create_if_block$x(B){let _;const I=B[16].default,A=create_slot(I,B,B[15],get_default_slot_context);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&32769)&&update_slot_base(A,I,N,N[15],_?get_slot_changes(I,N[15],U,get_default_slot_changes):get_all_dirty_from_scope(N[15]),get_default_slot_context)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$1J(B){let _,I,A,N,U,K,j,q,G,Z,Y=(B[0]||!B[4]||B[3])&&create_if_block$x(B);return{c(){_=element("aside"),I=element("div"),N=space(),U=element("div"),Y&&Y.c(),attr(I,"class",A="overlay "+(B[8].positionClass??"")+" svelte-t18bd6"),attr(U,"class",K="panel "+B[1]+" "+B[8].positionClass+" svelte-t18bd6"),toggle_class(U,"size",B[2]),attr(_,"class",j="drawer "+(B[8].class??"")+" "+(B[8].positionClass??"")+" svelte-t18bd6"),attr(_,"style",B[5]),toggle_class(_,"open",B[0]),toggle_class(_,"close",!B[0]&&B[4])},m(Q,J){insert(Q,_,J),append$2(_,I),append$2(_,N),append$2(_,U),Y&&Y.m(U,null),q=!0,G||(Z=[listen(window,"keydown",B[7]),listen(I,"click",B[6])],G=!0)},p(Q,[J]){(!q||J&256&&A!==(A="overlay "+(Q[8].positionClass??"")+" svelte-t18bd6"))&&attr(I,"class",A),Q[0]||!Q[4]||Q[3]?Y?(Y.p(Q,J),J&25&&transition_in(Y,1)):(Y=create_if_block$x(Q),Y.c(),transition_in(Y,1),Y.m(U,null)):Y&&(group_outros(),transition_out(Y,1,1,()=>{Y=null}),check_outros()),(!q||J&258&&K!==(K="panel "+Q[1]+" "+Q[8].positionClass+" svelte-t18bd6"))&&attr(U,"class",K),(!q||J&262)&&toggle_class(U,"size",Q[2]),(!q||J&256&&j!==(j="drawer "+(Q[8].class??"")+" "+(Q[8].positionClass??"")+" svelte-t18bd6"))&&attr(_,"class",j),(!q||J&32)&&attr(_,"style",Q[5]),(!q||J&257)&&toggle_class(_,"open",Q[0]),(!q||J&273)&&toggle_class(_,"close",!Q[0]&&Q[4])},i(Q){q||(transition_in(Y),q=!0)},o(Q){transition_out(Y),q=!1},d(Q){Q&&detach(_),Y&&Y.d(),G=!1,run_all(Z)}}}function instance$1F(B,_,I){let A,N,{$$slots:U={},$$scope:K}=_,{open:j=!1}=_,{duration:q=.3}=_,{placement:G="right"}=_,{size:Z="600px"}=_,{alwaysOpen:Y=!1}=_;function Q(){I(0,j=!j)}function J(){I(0,j=!0)}function ee(){I(0,j=!1),setTimeout(()=>{ne("afterClose")},A)}function te(){return j}let ie=!1;const ne=createEventDispatcher();function re(ue){{const ce=document.querySelector("body");ie&&ce&&(ce.style.overflowY=ue?"hidden":"auto")}}function oe(){ne("clickAway"),I(0,j=!1)}function se(ue){if(j)switch(ue.key){case"Escape":ue.preventDefault(),ue.stopPropagation(),ue.stopImmediatePropagation(),I(0,j=!1);break}}let ae=!0;return onMount(()=>{ie=!0}),B.$$set=ue=>{I(8,_=assign(assign({},_),exclude_internal_props(ue))),"open"in ue&&I(0,j=ue.open),"duration"in ue&&I(9,q=ue.duration),"placement"in ue&&I(1,G=ue.placement),"size"in ue&&I(2,Z=ue.size),"alwaysOpen"in ue&&I(3,Y=ue.alwaysOpen),"$$scope"in ue&&I(15,K=ue.$$scope)},B.$$.update=()=>{B.$$.dirty&512&&I(14,A=q*1e3),B.$$.dirty&516&&I(5,N=`--duration: ${q}s; --size: ${Z};`),B.$$.dirty&1&&re(j),B.$$.dirty&1&&ne(j?"open":"close"),B.$$.dirty&16385&&(j?I(4,ae=!1):setTimeout(()=>I(4,ae=!0),A))},_=exclude_internal_props(_),[j,G,Z,Y,ae,N,oe,se,_,q,Q,J,ee,te,A,K,U]}class Drawer extends SvelteComponent{constructor(_){super(),init(this,_,instance$1F,create_fragment$1J,safe_not_equal,{open:0,duration:9,placement:1,size:2,alwaysOpen:3,toggleDrawer:10,openDrawer:11,closeDrawer:12,isOpen:13})}get toggleDrawer(){return this.$$.ctx[10]}get openDrawer(){return this.$$.ctx[11]}get closeDrawer(){return this.$$.ctx[12]}get isOpen(){return this.$$.ctx[13]}}function create_fragment$1I(B){let _,I,A,N,U,K;return I=new Icon({props:{data:faClose,class:"text-gray-500"}}),{c(){_=element("button"),create_component(I.$$.fragment),attr(_,"class",A="hover:bg-gray-200 "+(B[0]?"":"bg-gray-100")+" rounded-full w-8 h-8 flex items-center justify-center transition-all")},m(j,q){insert(j,_,q),mount_component(I,_,null),N=!0,U||(K=listen(_,"click",B[2]),U=!0)},p(j,[q]){(!N||q&1&&A!==(A="hover:bg-gray-200 "+(j[0]?"":"bg-gray-100")+" rounded-full w-8 h-8 flex items-center justify-center transition-all"))&&attr(_,"class",A)},i(j){N||(transition_in(I.$$.fragment,j),N=!0)},o(j){transition_out(I.$$.fragment,j),N=!1},d(j){j&&detach(_),destroy_component(I),U=!1,K()}}}function instance$1E(B,_,I){let{noBg:A=!1}=_;const N=createEventDispatcher(),U=()=>N("close");return B.$$set=K=>{"noBg"in K&&I(0,A=K.noBg)},[A,N,U]}class CloseButton extends SvelteComponent{constructor(_){super(),init(this,_,instance$1E,create_fragment$1I,safe_not_equal,{noBg:0})}}const get_actions_slot_changes$1=B=>({}),get_actions_slot_context$1=B=>({});function create_if_block_1$q(B){let _,I;return _=new Tooltip({props:{documentationLink:B[5],scale:.9,$$slots:{default:[create_default_slot$n]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&32&&(U.documentationLink=A[5]),N&528&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot$n(B){let _;return{c(){_=text$1(B[4])},m(I,A){insert(I,_,A)},p(I,A){A&16&&set_data(_,I[4])},d(I){I&&detach(_)}}}function create_if_block$w(B){let _,I;const A=B[7].actions,N=create_slot(A,B,B[9],get_actions_slot_context$1);return{c(){_=element("div"),N&&N.c(),attr(_,"class","flex gap-2 items-center justify-end")},m(U,K){insert(U,_,K),N&&N.m(_,null),I=!0},p(U,K){N&&N.p&&(!I||K&512)&&update_slot_base(N,A,U,U[9],I?get_slot_changes(A,U[9],K,get_actions_slot_changes$1):get_all_dirty_from_scope(U[9]),get_actions_slot_context$1)},i(U){I||(transition_in(N,U),I=!0)},o(U){transition_out(N,U),I=!1},d(U){U&&detach(_),N&&N.d(U)}}}function create_fragment$1H(B){let _,I,A,N,U,K,j=(B[0]??"")+"",q,G,Z,Y,Q,J,ee;N=new CloseButton({}),N.$on("close",B[8]);let te=(B[4]!=""||B[5])&&create_if_block_1$q(B),ie=B[6].actions&&create_if_block$w(B);const ne=B[7].default,re=create_slot(ne,B,B[9],null);return{c(){_=element("div"),I=element("div"),A=element("div"),create_component(N.$$.fragment),U=space(),K=element("span"),q=text$1(j),G=space(),te&&te.c(),Z=space(),ie&&ie.c(),Y=space(),Q=element("div"),re&&re.c(),attr(K,"class","font-semibold truncate text-gray-800"),attr(A,"class","flex items-center gap-2 min-w-0"),attr(I,"class","flex justify-between w-full items-center px-2 py-2 gap-2"),attr(Q,"class",J=classNames(B[2]?"":"p-4","grow h-full max-h-full",B[3]?"!overflow-visible":"")),toggle_class(Q,"overflow-y-auto",B[1]),attr(_,"class","flex flex-col divide-y h-screen max-h-screen")},m(oe,se){insert(oe,_,se),append$2(_,I),append$2(I,A),mount_component(N,A,null),append$2(A,U),append$2(A,K),append$2(K,q),append$2(K,G),te&&te.m(K,null),append$2(I,Z),ie&&ie.m(I,null),append$2(_,Y),append$2(_,Q),re&&re.m(Q,null),ee=!0},p(oe,[se]){(!ee||se&1)&&j!==(j=(oe[0]??"")+"")&&set_data(q,j),oe[4]!=""||oe[5]?te?(te.p(oe,se),se&48&&transition_in(te,1)):(te=create_if_block_1$q(oe),te.c(),transition_in(te,1),te.m(K,null)):te&&(group_outros(),transition_out(te,1,1,()=>{te=null}),check_outros()),oe[6].actions?ie?(ie.p(oe,se),se&64&&transition_in(ie,1)):(ie=create_if_block$w(oe),ie.c(),transition_in(ie,1),ie.m(I,null)):ie&&(group_outros(),transition_out(ie,1,1,()=>{ie=null}),check_outros()),re&&re.p&&(!ee||se&512)&&update_slot_base(re,ne,oe,oe[9],ee?get_slot_changes(ne,oe[9],se,null):get_all_dirty_from_scope(oe[9]),null),(!ee||se&12&&J!==(J=classNames(oe[2]?"":"p-4","grow h-full max-h-full",oe[3]?"!overflow-visible":"")))&&attr(Q,"class",J),(!ee||se&14)&&toggle_class(Q,"overflow-y-auto",oe[1])},i(oe){ee||(transition_in(N.$$.fragment,oe),transition_in(te),transition_in(ie),transition_in(re,oe),ee=!0)},o(oe){transition_out(N.$$.fragment,oe),transition_out(te),transition_out(ie),transition_out(re,oe),ee=!1},d(oe){oe&&detach(_),destroy_component(N),te&&te.d(),ie&&ie.d(),re&&re.d(oe)}}}function instance$1D(B,_,I){let{$$slots:A={},$$scope:N}=_;const U=compute_slots(A);let{title:K=void 0}=_,{overflow_y:j=!0}=_,{noPadding:q=!1}=_,{forceOverflowVisible:G=!1}=_,{tooltip:Z=""}=_,{documentationLink:Y=void 0}=_;function Q(J){bubble.call(this,B,J)}return B.$$set=J=>{"title"in J&&I(0,K=J.title),"overflow_y"in J&&I(1,j=J.overflow_y),"noPadding"in J&&I(2,q=J.noPadding),"forceOverflowVisible"in J&&I(3,G=J.forceOverflowVisible),"tooltip"in J&&I(4,Z=J.tooltip),"documentationLink"in J&&I(5,Y=J.documentationLink),"$$scope"in J&&I(9,N=J.$$scope)},[K,j,q,G,Z,Y,U,A,Q,N]}class DrawerContent extends SvelteComponent{constructor(_){super(),init(this,_,instance$1D,create_fragment$1H,safe_not_equal,{title:0,overflow_y:1,noPadding:2,forceOverflowVisible:3,tooltip:4,documentationLink:5})}}function create_if_block$v(B){let _,I;return{c(){_=element("input"),_.value=I=B[2]?"":B[0]+" second"+(B[0]===1?"":"s"),_.disabled=B[2],_.readOnly=!0,attr(_,"type","text"),attr(_,"class","max-w-[248px] bg-gray-50 mb-2")},m(A,N){insert(A,_,N)},p(A,N){N&5&&I!==(I=A[2]?"":A[0]+" second"+(A[0]===1?"":"s"))&&_.value!==I&&(_.value=I),N&4&&(_.disabled=A[2])},d(A){A&&detach(_)}}}function create_fragment$1G(B){let _,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re,oe,se,ae,ue,ce=!B[1]&&create_if_block$v(B);return{c(){_=element("div"),ce&&ce.c(),I=space(),A=element("div"),N=element("div"),U=element("label"),K=text$1(`Sec - `),j=element("input"),q=space(),G=element("label"),Z=text$1(`Min - `),Y=element("input"),Q=space(),J=element("div"),ee=element("label"),te=text$1(`Hour - `),ie=element("input"),ne=space(),re=element("label"),oe=text$1(`Day - `),se=element("input"),attr(j,"type","number"),attr(j,"class","!w-14"),j.disabled=B[2],attr(Y,"type","number"),attr(Y,"class","!w-14"),Y.disabled=B[2],attr(N,"class","flex items-center gap-2"),attr(ie,"type","number"),attr(ie,"class","!w-14"),ie.disabled=B[2],attr(se,"type","number"),attr(se,"class","!w-14"),se.disabled=B[2],attr(J,"class","flex items-center gap-2"),attr(A,"class","flex flex-wrap items-center gap-2 text-xs font-medium")},m(le,de){insert(le,_,de),ce&&ce.m(_,null),append$2(_,I),append$2(_,A),append$2(A,N),append$2(N,U),append$2(U,K),append$2(U,j),set_input_value(j,B[6]),append$2(N,q),append$2(N,G),append$2(G,Z),append$2(G,Y),set_input_value(Y,B[5]),append$2(A,Q),append$2(A,J),append$2(J,ee),append$2(ee,te),append$2(ee,ie),set_input_value(ie,B[4]),append$2(J,ne),append$2(J,re),append$2(re,oe),append$2(re,se),set_input_value(se,B[3]),ae||(ue=[listen(j,"input",B[12]),listen(j,"change",B[7]),listen(j,"focus",B[11]),listen(Y,"input",B[13]),listen(Y,"change",B[7]),listen(Y,"focus",B[10]),listen(ie,"input",B[14]),listen(ie,"change",B[7]),listen(ie,"focus",B[9]),listen(se,"input",B[15]),listen(se,"change",B[7]),listen(se,"focus",B[8])],ae=!0)},p(le,[de]){le[1]?ce&&(ce.d(1),ce=null):ce?ce.p(le,de):(ce=create_if_block$v(le),ce.c(),ce.m(_,I)),de&4&&(j.disabled=le[2]),de&64&&to_number(j.value)!==le[6]&&set_input_value(j,le[6]),de&4&&(Y.disabled=le[2]),de&32&&to_number(Y.value)!==le[5]&&set_input_value(Y,le[5]),de&4&&(ie.disabled=le[2]),de&16&&to_number(ie.value)!==le[4]&&set_input_value(ie,le[4]),de&4&&(se.disabled=le[2]),de&8&&to_number(se.value)!==le[3]&&set_input_value(se,le[3])},i:noop,o:noop,d(le){le&&detach(_),ce&&ce.d(),ae=!1,run_all(ue)}}}const ONE_DAY_IN_SECONDS=86400,ONE_HOUR_IN_SECONDS=3600,ONE_MINUTE_IN_SECONDS=60;function instance$1C(B,_,I){let{seconds:A=0}=_,{hideDisplay:N=!1}=_,{disabled:U=!1}=_,K,j,q,G;function Z(se){I(3,K=Math.floor(se/ONE_DAY_IN_SECONDS)),se-=K*ONE_DAY_IN_SECONDS,I(3,K=K||void 0),I(4,j=Math.floor(se/ONE_HOUR_IN_SECONDS)),se-=j*ONE_HOUR_IN_SECONDS,I(4,j=j||void 0),I(5,q=Math.floor(se/ONE_MINUTE_IN_SECONDS)),se-=q*ONE_MINUTE_IN_SECONDS,I(5,q=q||void 0),I(6,G=se||void 0)}function Y(){I(0,A=(K||0)*ONE_DAY_IN_SECONDS+(j||0)*ONE_HOUR_IN_SECONDS+(q||0)*ONE_MINUTE_IN_SECONDS+(G||0)),A<0&&I(0,A=0)}function Q(se){bubble.call(this,B,se)}function J(se){bubble.call(this,B,se)}function ee(se){bubble.call(this,B,se)}function te(se){bubble.call(this,B,se)}function ie(){G=to_number(this.value),I(6,G)}function ne(){q=to_number(this.value),I(5,q)}function re(){j=to_number(this.value),I(4,j)}function oe(){K=to_number(this.value),I(3,K)}return B.$$set=se=>{"seconds"in se&&I(0,A=se.seconds),"hideDisplay"in se&&I(1,N=se.hideDisplay),"disabled"in se&&I(2,U=se.disabled)},B.$$.update=()=>{B.$$.dirty&1&&Z(A)},[A,N,U,K,j,q,G,Y,Q,J,ee,te,ie,ne,re,oe]}class SecondsInput extends SvelteComponent{constructor(_){super(),init(this,_,instance$1C,create_fragment$1G,safe_not_equal,{seconds:0,hideDisplay:1,disabled:2})}}const HEIGHT_UNIT=16;function create_fragment$1F(B){let _;return{c(){_=element("div"),attr(_,"class","animate-skeleton [animation-delay:1000ms]"),set_style(_,"height",B[0].h*HEIGHT_UNIT+"px"),set_style(_,"width",B[0].w+"%"),set_style(_,"min-width",B[0].minW+"px")},m(I,A){insert(I,_,A)},p(I,[A]){A&1&&set_style(_,"height",I[0].h*HEIGHT_UNIT+"px"),A&1&&set_style(_,"width",I[0].w+"%"),A&1&&set_style(_,"min-width",I[0].minW+"px")},i:noop,o:noop,d(I){I&&detach(_)}}}function instance$1B(B,_,I){let{element:A}=_;return B.$$set=N=>{"element"in N&&I(0,A=N.element)},[A]}class SkeletonElement extends SvelteComponent{constructor(_){super(),init(this,_,instance$1B,create_fragment$1F,safe_not_equal,{element:0})}}function get_each_context$f(B,_,I){const A=B.slice();return A[4]=_[I],A}function get_each_context_2$4(B,_,I){const A=B.slice();return A[13]=_[I],A}function get_each_context_1$9(B,_,I){const A=B.slice();A[7]=_[I];const N=typeof A[7]=="number"?{h:A[7],w:100/A[4].length,minW:0}:A[7];return A[8]=N,A}function get_else_ctx$1(B){const _=B.slice(),I=_[4];return _[11]=I.elements,_[12]=I.h,_}function create_if_block$u(B){let _,I,A,N,U,K=B[0],j=[];for(let G=0;Gtransition_out(j[G],1,1,()=>{j[G]=null});return{c(){_=element("div"),I=element("div");for(let G=0;G{N=create_in_transition(I,fade,{duration:1e3}),N.start()})),U=!0}},o(G){j=j.filter(Boolean);for(let Z=0;Ztransition_out(N[K],1,1,()=>{N[K]=null});return{c(){for(let K=0;Ktransition_out(N[K],1,1,()=>{N[K]=null});return{c(){for(let K=0;K{q[J]=null}),check_outros(),N=q[A],N?N.p(Z(Y,A),Q):(N=q[A]=j[A](Z(Y,A)),N.c()),transition_in(N,1),N.m(_,U))},i(Y){K||(transition_in(N),K=!0)},o(Y){transition_out(N),K=!1},d(Y){Y&&detach(_),q[A].d()}}}function create_fragment$1E(B){let _,I,A=B[1]&&create_if_block$u(B);return{c(){A&&A.c(),_=empty$1()},m(N,U){A&&A.m(N,U),insert(N,_,U),I=!0},p(N,[U]){N[1]?A?(A.p(N,U),U&2&&transition_in(A,1)):(A=create_if_block$u(N),A.c(),transition_in(A,1),A.m(_.parentNode,_)):A&&(group_outros(),transition_out(A,1,1,()=>{A=null}),check_outros())},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}function instance$1A(B,_,I){let{layout:A}=_,{loading:N=!0}=_,{overlay:U=!1}=_;return B.$$set=K=>{I(3,_=assign(assign({},_),exclude_internal_props(K))),"layout"in K&&I(0,A=K.layout),"loading"in K&&I(1,N=K.loading),"overlay"in K&&I(2,U=K.overlay)},_=exclude_internal_props(_),[A,N,U,_]}class Skeleton extends SvelteComponent{constructor(_){super(),init(this,_,instance$1A,create_fragment$1E,safe_not_equal,{layout:0,loading:1,overlay:2})}}function create_default_slot$m(B){let _;const I=B[8].default,A=create_slot(I,B,B[10],null);return{c(){A&&A.c()},m(N,U){A&&A.m(N,U),_=!0},p(N,U){A&&A.p&&(!_||U&1024)&&update_slot_base(A,I,N,N[10],_?get_slot_changes(I,N[10],U,null):get_all_dirty_from_scope(N[10]),null)},i(N){_||(transition_in(A,N),_=!0)},o(N){transition_out(A,N),_=!1},d(N){A&&A.d(N)}}}function create_fragment$1D(B){let _,I;const A=[B[7],{title:B[3]},{btnClasses:classNames("border-gray-200 focus:ring-0 w-full",B[1]==="left"?"rounded-none rounded-l-lg border":"",B[1]==="center"?"rounded-none border-t border-b border-r":"",B[1]==="right"?"rounded-none rounded-r-md border-r border-y":"")},{color:B[4]===B[0]?B[2]?"gray":"dark":"light"},{variant:"contained"}];let N={$$slots:{default:[create_default_slot$m]},$$scope:{ctx:B}};for(let U=0;UI(4,A=J));const Q=()=>Z(K);return B.$$set=J=>{I(7,_=assign(assign({},_),exclude_internal_props(J))),"value"in J&&I(0,K=J.value),"position"in J&&I(1,j=J.position),"light"in J&&I(2,q=J.light),"title"in J&&I(3,G=J.title),"$$scope"in J&&I(10,U=J.$$scope)},_=exclude_internal_props(_),[K,j,q,G,A,Z,Y,_,N,Q,U]}class ToggleButton extends SvelteComponent{constructor(_){super(),init(this,_,instance$1z,create_fragment$1D,safe_not_equal,{value:0,position:1,light:2,title:3})}}function create_fragment$1C(B){let _,I,A;const N=B[6].default,U=create_slot(N,B,B[5],null);return{c(){_=element("div"),U&&U.c(),attr(_,"class",I="flex rounded-md "+B[2].class),attr(_,"role","group"),toggle_class(_,"flex-col",B[0])},m(K,j){insert(K,_,j),U&&U.m(_,null),A=!0},p(K,[j]){U&&U.p&&(!A||j&32)&&update_slot_base(U,N,K,K[5],A?get_slot_changes(N,K[5],j,null):get_all_dirty_from_scope(K[5]),null),(!A||j&4&&I!==(I="flex rounded-md "+K[2].class))&&attr(_,"class",I),(!A||j&5)&&toggle_class(_,"flex-col",K[0])},i(K){A||(transition_in(U,K),A=!0)},o(K){transition_out(U,K),A=!1},d(K){K&&detach(_),U&&U.d(K)}}}function instance$1y(B,_,I){let A,{$$slots:N={},$$scope:U}=_,{selected:K}=_,{col:j=!1}=_;const q=createEventDispatcher(),G=writable(K);component_subscribe(B,G,Y=>I(4,A=Y));function Z(Y){G.set(Y)}return setContext$1("ToggleButtonGroup",{selected:G,select:Y=>{G.set(Y),I(3,K=Y)}}),B.$$set=Y=>{I(2,_=assign(assign({},_),exclude_internal_props(Y))),"selected"in Y&&I(3,K=Y.selected),"col"in Y&&I(0,j=Y.col),"$$scope"in Y&&I(5,U=Y.$$scope)},B.$$.update=()=>{B.$$.dirty&8&&Z(K),B.$$.dirty&16&&A&&q("selected",A)},_=exclude_internal_props(_),[j,G,_,K,A,U,N]}class ToggleButtonGroup extends SvelteComponent{constructor(_){super(),init(this,_,instance$1y,create_fragment$1C,safe_not_equal,{selected:3,col:0})}}var e$1=new Map;function t$1(B){var _=e$1.get(B);_&&_.destroy()}function o$2(B){var _=e$1.get(B);_&&_.update()}var r$2=null;typeof window>"u"?((r$2=function(B){return B}).destroy=function(B){return B},r$2.update=function(B){return B}):((r$2=function(B,_){return B&&Array.prototype.forEach.call(B.length?B:[B],function(I){return function(A){if(A&&A.nodeName&&A.nodeName==="TEXTAREA"&&!e$1.has(A)){var N,U=null,K=window.getComputedStyle(A),j=(N=A.value,function(){G({testForHeightReduction:N===""||!A.value.startsWith(N),restoreTextAlign:null}),N=A.value}),q=function(Y){A.removeEventListener("autosize:destroy",q),A.removeEventListener("autosize:update",Z),A.removeEventListener("input",j),window.removeEventListener("resize",Z),Object.keys(Y).forEach(function(Q){return A.style[Q]=Y[Q]}),e$1.delete(A)}.bind(A,{height:A.style.height,resize:A.style.resize,textAlign:A.style.textAlign,overflowY:A.style.overflowY,overflowX:A.style.overflowX,wordWrap:A.style.wordWrap});A.addEventListener("autosize:destroy",q),A.addEventListener("autosize:update",Z),A.addEventListener("input",j),window.addEventListener("resize",Z),A.style.overflowX="hidden",A.style.wordWrap="break-word",e$1.set(A,{destroy:q,update:Z}),Z()}function G(Y){var Q,J,ee=Y.restoreTextAlign,te=ee===void 0?null:ee,ie=Y.testForHeightReduction,ne=ie===void 0||ie,re=K.overflowY;if(A.scrollHeight!==0&&(K.resize==="vertical"?A.style.resize="none":K.resize==="both"&&(A.style.resize="horizontal"),ne&&(Q=function(se){for(var ae=[];se&&se.parentNode&&se.parentNode instanceof Element;)se.parentNode.scrollTop&&ae.push([se.parentNode,se.parentNode.scrollTop]),se=se.parentNode;return function(){return ae.forEach(function(ue){var ce=ue[0],le=ue[1];ce.style.scrollBehavior="auto",ce.scrollTop=le,ce.style.scrollBehavior=null})}}(A),A.style.height=""),J=K.boxSizing==="content-box"?A.scrollHeight-(parseFloat(K.paddingTop)+parseFloat(K.paddingBottom)):A.scrollHeight+parseFloat(K.borderTopWidth)+parseFloat(K.borderBottomWidth),K.maxHeight!=="none"&&J>parseFloat(K.maxHeight)?(K.overflowY==="hidden"&&(A.style.overflow="scroll"),J=parseFloat(K.maxHeight)):K.overflowY!=="hidden"&&(A.style.overflow="hidden"),A.style.height=J+"px",te&&(A.style.textAlign=te),Q&&Q(),U!==J&&(A.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),U=J),re!==K.overflow&&!te)){var oe=K.textAlign;K.overflow==="hidden"&&(A.style.textAlign=oe==="start"?"end":"start"),G({restoreTextAlign:oe,testForHeightReduction:!0})}}function Z(){G({testForHeightReduction:!0,restoreTextAlign:null})}}(I)}),B}).destroy=function(B){return B&&Array.prototype.forEach.call(B.length?B:[B],t$1),B},r$2.update=function(B){return B&&Array.prototype.forEach.call(B.length?B:[B],o$2),B});var n$2=r$2;const action=B=>(n$2(B),{destroy(){n$2.destroy(B)}});action.update=n$2.update;action.destroy=n$2.destroy;const validJSExpressionRegex=new RegExp(/^(?!(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$)[$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z\_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/);function computeKey(B,_,I){const A=validJSExpressionRegex.test(B),N=B;return A||(B=`["${B}"]`),_?I==="step"?`step(${N})`:`${I}[${N}]`:I?`${I}${A?".":""}${B}`:B}function create_fragment$1B(B){let _;return{c(){_=element("div"),_.innerHTML='
Require testing flow
',attr(_,"class","flex px-2 bg-yellow-100 rounded-lg dark:bg-yellow-200"),attr(_,"role","alert")},m(I,A){insert(I,_,A)},p:noop,i:noop,o:noop,d(I){I&&detach(_)}}}class WarningMessage extends SvelteComponent{constructor(_){super(),init(this,_,null,create_fragment$1B,safe_not_equal,{})}}const NEVER_TESTED_THIS_FAR="never tested this far",ObjectViewer_svelte_svelte_type_style_lang="";function get_if_ctx$1(B){const _=B.slice(),I=Math.min(100,_[12].length-_[9]);return _[22]=I,_}function get_each_context$e(B,_,I){const A=B.slice();return A[23]=_[I],A[25]=I,A}function create_else_block_3$3(B){let _;return{c(){_=element("span"),_.textContent="No items ([])",attr(_,"class","text-gray-400 text-xs ml-2")},m(I,A){insert(I,_,A)},p:noop,i:noop,o:noop,d(I){I&&detach(_)}}}function create_if_block_13$4(B){let _,I,A;return{c(){_=element("span"),I=text$1(B[11]),A=text$1(B[10]),attr(_,"class","text-black")},m(N,U){insert(N,_,U),append$2(_,I),append$2(_,A)},p(N,U){U&2048&&set_data(I,N[11]),U&1024&&set_data(A,N[10])},i:noop,o:noop,d(N){N&&detach(_)}}}function create_if_block$t(B){let _,I,A,N,U,K,j,q,G,Z,Y=!B[0]&&create_if_block_2$k(B),Q=B[0]&&create_if_block_1$o(B);return{c(){Y&&Y.c(),_=space(),I=element("span"),A=text$1(B[11]),N=text$1(collapsedSymbol),U=text$1(B[10]),K=space(),Q&&Q.c(),j=empty$1(),attr(I,"class","border border-blue-600 rounded px-1 cursor-pointer hover:bg-gray-200"),toggle_class(I,"hidden",!B[0])},m(J,ee){Y&&Y.m(J,ee),insert(J,_,ee),insert(J,I,ee),append$2(I,A),append$2(I,N),append$2(I,U),insert(J,K,ee),Q&&Q.m(J,ee),insert(J,j,ee),q=!0,G||(Z=listen(I,"click",B[13]),G=!0)},p(J,ee){J[0]?Y&&(group_outros(),transition_out(Y,1,1,()=>{Y=null}),check_outros()):Y?(Y.p(J,ee),ee&1&&transition_in(Y,1)):(Y=create_if_block_2$k(J),Y.c(),transition_in(Y,1),Y.m(_.parentNode,_)),(!q||ee&2048)&&set_data(A,J[11]),(!q||ee&1024)&&set_data(U,J[10]),(!q||ee&1)&&toggle_class(I,"hidden",!J[0]),J[0]?Q?Q.p(J,ee):(Q=create_if_block_1$o(J),Q.c(),Q.m(j.parentNode,j)):Q&&(Q.d(1),Q=null)},i(J){q||(transition_in(Y),q=!0)},o(J){transition_out(Y),q=!1},d(J){Y&&Y.d(J),J&&detach(_),J&&detach(I),J&&detach(K),Q&&Q.d(J),J&&detach(j),G=!1,Z()}}}function create_if_block_2$k(B){let _,I,A,N,U=[],K=new Map,j,q,G,Z,Y=B[2]!=0&&create_if_block_12$4(B),Q=B[2]==0&&B[5]&&create_if_block_11$5(B),J=B[12].length>B[9]?B[12].slice(0,B[9]):B[12];const ee=ne=>ne[23];for(let ne=0;neB[9]&&create_if_block_4$f(get_if_ctx$1(B)),ie=B[2]==0&&B[5]&&create_if_block_3$g(B);return{c(){_=element("span"),Y&&Y.c(),I=space(),Q&&Q.c(),A=space(),N=element("ul");for(let ne=0;nene[9]?ne[12].slice(0,ne[9]):ne[12],group_outros(),U=update_keyed_each(U,re,ee,1,ne,J,K,N,outro_and_destroy_block,create_each_block$e,j,get_each_context$e),check_outros()),ne[12].length>ne[9]?te?te.p(get_if_ctx$1(ne),re):(te=create_if_block_4$f(get_if_ctx$1(ne)),te.c(),te.m(N,null)):te&&(te.d(1),te=null),(!Z||re&4&&q!==(q=null_to_empty(`w-full pl-2 ${ne[2]===0?"border-none":"border-l border-dotted border-gray-200"}`)+" svelte-z8t461"))&&attr(N,"class",q),ne[2]==0&&ne[5]?ie?ie.p(ne,re):(ie=create_if_block_3$g(ne),ie.c(),ie.m(_,null)):ie&&(ie.d(1),ie=null)},i(ne){if(!Z){for(let re=0;re{G[ee]=null}),check_outros(),A=G[I],A?A.p(B,J):(A=G[I]=q[I](B),A.c()),transition_in(A,1),A.m(_,null)),(!U||J&4626&&N!==(N="val "+(B[4]?"cursor-auto":"")+" rounded px-1 hover:bg-blue-100 "+getTypeAsString(B[1][B[23]])+" svelte-z8t461"))&&attr(_,"class",N)},i(Q){U||(transition_in(A),U=!0)},o(Q){transition_out(A),U=!1},d(Q){Q&&detach(_),G[I].d(),K=!1,j()}}}function create_if_block_5$c(B){let _,I;return _=new ObjectViewer({props:{json:B[1][B[23]],level:B[2]+1,currentPath:computeKey(B[23],B[8],B[3]),pureViewer:B[4]}}),_.$on("select",B[18]),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&4610&&(U.json=A[1][A[23]]),N&4&&(U.level=A[2]+1),N&4872&&(U.currentPath=computeKey(A[23],A[8],A[3])),N&16&&(U.pureViewer=A[4]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_else_block_1$c(B){let _,I=truncate(JSON.stringify(B[1][B[23]]),200)+"",A,N;return{c(){_=element("span"),A=text$1(I),attr(_,"title",N=JSON.stringify(B[1][B[23]])),attr(_,"class","text-2xs")},m(U,K){insert(U,_,K),append$2(_,A)},p(U,K){K&4610&&I!==(I=truncate(JSON.stringify(U[1][U[23]]),200)+"")&&set_data(A,I),K&4610&&N!==(N=JSON.stringify(U[1][U[23]]))&&attr(_,"title",N)},i:noop,o:noop,d(U){U&&detach(_)}}}function create_if_block_9$5(B){let _,I,A=truncate(B[1][B[23]],200)+"",N,U,K;return{c(){_=element("span"),I=text$1('"'),N=text$1(A),U=text$1('"'),attr(_,"title",K=B[1][B[23]]),attr(_,"class","text-2xs")},m(j,q){insert(j,_,q),append$2(_,I),append$2(_,N),append$2(_,U)},p(j,q){q&4610&&A!==(A=truncate(j[1][j[23]],200)+"")&&set_data(N,A),q&4610&&K!==(K=j[1][j[23]])&&attr(_,"title",K)},i:noop,o:noop,d(j){j&&detach(_)}}}function create_if_block_8$6(B){let _;return{c(){_=element("span"),_.textContent="null",attr(_,"class","text-2xs")},m(I,A){insert(I,_,A)},p:noop,i:noop,o:noop,d(I){I&&detach(_)}}}function create_if_block_7$6(B){let _;return{c(){_=element("span"),_.textContent="undefined",attr(_,"class","text-2xs")},m(I,A){insert(I,_,A)},p:noop,i:noop,o:noop,d(I){I&&detach(_)}}}function create_if_block_6$8(B){let _,I;return _=new WarningMessage({}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_each_block$e(B,_){let I,A,N,U,K,j,q,G,Z,Y,Q,J;const ee=[create_if_block_10$5,create_else_block_2$7],te=[];function ie(ae,ue){return ae[6]?0:1}N=ie(_),U=te[N]=ee[N](_);function ne(){return _[17](_[23])}const re=[create_if_block_5$c,create_else_block$k],oe=[];function se(ae,ue){return ue&4610&&(q=null),q==null&&(q=getTypeAsString(ae[1][ae[23]])==="object"),q?0:1}return G=se(_,-1),Z=oe[G]=re[G](_),{key:B,first:null,c(){I=element("li"),A=element("button"),U.c(),K=text$1(":"),j=space(),Z.c(),attr(A,"class","whitespace-nowrap"),this.first=I},m(ae,ue){insert(ae,I,ue),append$2(I,A),te[N].m(A,null),append$2(A,K),append$2(I,j),oe[G].m(I,null),Y=!0,Q||(J=listen(A,"click",ne),Q=!0)},p(ae,ue){_=ae;let ce=N;N=ie(_),N===ce?te[N].p(_,ue):(group_outros(),transition_out(te[ce],1,1,()=>{te[ce]=null}),check_outros(),U=te[N],U?U.p(_,ue):(U=te[N]=ee[N](_),U.c()),transition_in(U,1),U.m(A,K));let le=G;G=se(_,ue),G===le?oe[G].p(_,ue):(group_outros(),transition_out(oe[le],1,1,()=>{oe[le]=null}),check_outros(),Z=oe[G],Z?Z.p(_,ue):(Z=oe[G]=re[G](_),Z.c()),transition_in(Z,1),Z.m(I,null))},i(ae){Y||(transition_in(U),transition_in(Z),Y=!0)},o(ae){transition_out(U),transition_out(Z),Y=!1},d(ae){ae&&detach(I),te[N].d(),oe[G].d(),Q=!1,J()}}}function create_if_block_4$f(B){let _,I,A,N=B[12].length+"",U,K,j=B[22]+"",q,G,Z,Y;function Q(){return B[20](B[22])}return{c(){_=element("button"),I=text$1(B[9]),A=text$1("/"),U=text$1(N),K=text$1(": Load "),q=text$1(j),G=text$1(" more..."),attr(_,"class","text-xs py-2 text-blue-600")},m(J,ee){insert(J,_,ee),append$2(_,I),append$2(_,A),append$2(_,U),append$2(_,K),append$2(_,q),append$2(_,G),Z||(Y=listen(_,"click",Q),Z=!0)},p(J,ee){B=J,ee&512&&set_data(I,B[9]),ee&4096&&N!==(N=B[12].length+"")&&set_data(U,N),ee&4608&&j!==(j=B[22]+"")&&set_data(q,j)},d(J){J&&detach(_),Z=!1,Y()}}}function create_if_block_3$g(B){let _,I;return{c(){_=element("span"),I=text$1(B[10]),attr(_,"class","h-0")},m(A,N){insert(A,_,N),append$2(_,I)},p(A,N){N&1024&&set_data(I,A[10])},d(A){A&&detach(_)}}}function create_if_block_1$o(B){let _,I=pluralize(Object.keys(B[1]).length,Array.isArray(B[1])?"item":"key")+"",A;return{c(){_=element("span"),A=text$1(I),attr(_,"class","text-gray-500 text-xs")},m(N,U){insert(N,_,U),append$2(_,A)},p(N,U){U&2&&I!==(I=pluralize(Object.keys(N[1]).length,Array.isArray(N[1])?"item":"key")+"")&&set_data(A,I)},d(N){N&&detach(_)}}}function create_fragment$1A(B){let _,I,A,N;const U=[create_if_block$t,create_if_block_13$4,create_else_block_3$3],K=[];function j(q,G){return q[12].length>0?0:q[5]?1:2}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,[G]){let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}const collapsedSymbol="...";function getTypeAsString(B){return B===null?"null":B===void 0?"undefined":typeof B}function instance$1x(B,_,I){let A,N,U,K,j,{json:q}=_,{level:G=0}=_,{currentPath:Z=""}=_,{pureViewer:Y=!1}=_,{collapsed:Q=G!=0&&G%3==0||Array.isArray(q)}=_,{rawKey:J=!1}=_,{topBrackets:ee=!1}=_,{topLevelNode:te=!1}=_,{allowCopy:ie=!0}=_;function ne(){I(0,Q=!Q)}const re=createEventDispatcher();function oe(le,de){Y&&ie&©ToClipboard(computeKey(le,N,Z)),re("select",J?le:computeKey(le,N,Z))}const se=le=>oe(le);function ae(le){bubble.call(this,B,le)}const ue=le=>oe(le,q[le]),ce=le=>I(9,j+=le);return B.$$set=le=>{"json"in le&&I(1,q=le.json),"level"in le&&I(2,G=le.level),"currentPath"in le&&I(3,Z=le.currentPath),"pureViewer"in le&&I(4,Y=le.pureViewer),"collapsed"in le&&I(0,Q=le.collapsed),"rawKey"in le&&I(15,J=le.rawKey),"topBrackets"in le&&I(5,ee=le.topBrackets),"topLevelNode"in le&&I(6,te=le.topLevelNode),"allowCopy"in le&&I(16,ie=le.allowCopy)},B.$$.update=()=>{B.$$.dirty&2&&I(12,A=getTypeAsString(q)==="object"?Object.keys(q):[]),B.$$.dirty&2&&I(8,N=Array.isArray(q)),B.$$.dirty&256&&I(11,U=N?"[":"{"),B.$$.dirty&256&&I(10,K=N?"]":"}"),B.$$.dirty&256&&I(9,j=N?1:100)},[Q,q,G,Z,Y,ee,te,getTypeAsString,N,j,K,U,A,ne,oe,J,ie,se,ae,ue,ce]}class ObjectViewer extends SvelteComponent{constructor(_){super(),init(this,_,instance$1x,create_fragment$1A,safe_not_equal,{json:1,level:2,currentPath:3,pureViewer:4,collapsed:0,rawKey:15,topBrackets:5,topLevelNode:6,allowCopy:16,getTypeAsString:7})}get getTypeAsString(){return getTypeAsString}}function get_context(B){const _=JSON.stringify(B[0],null,4).replace(/\\n/g,` -`);B[16]=_}function get_each_context_2$3(B,_,I){const A=B.slice();return A[23]=_[I],A}function get_each_context_3$1(B,_,I){const A=B.slice();return A[26]=_[I],A}function get_each_context$d(B,_,I){const A=B.slice();return A[17]=_[I],A}function get_each_context_1$8(B,_,I){const A=B.slice();return A[20]=_[I],A}function get_else_ctx(B){const _=B.slice(),I=JSON.stringify(_[0],null,4).replace(/\\n/g,` -`);return _[29]=I,_}function create_else_block_5$1(B){let _,I,A=JSON.stringify(B[0])+"",N;return{c(){_=element("div"),I=text$1("No result: "),N=text$1(A),attr(_,"class","text-gray-500 text-sm")},m(U,K){insert(U,_,K),append$2(_,I),append$2(_,N)},p(U,K){K&1&&A!==(A=JSON.stringify(U[0])+"")&&set_data(N,A)},i:noop,o:noop,d(U){U&&detach(_)}}}function create_if_block_2$j(B){let _,I=typeof B[0]=="object"&&Object.keys(B[0]).length>0,A,N,U,K,j,q=B[4]&&B[4]!="json"&&create_if_block_19$1(B),G=I&&create_if_block_17$1(B);const Z=[create_if_block_3$f,create_if_block_5$b,create_if_block_6$7,create_if_block_8$5,create_if_block_9$4,create_if_block_10$4,create_if_block_11$4,create_if_block_12$3,create_if_block_13$3,create_if_block_15$1,create_else_block_3$2],Y=[];function Q(ee,te){return!ee[5]&&ee[4]=="table-col"?0:!ee[5]&&ee[4]=="table-row"?1:!ee[5]&&ee[4]=="html"?2:!ee[5]&&ee[4]=="png"?3:!ee[5]&&ee[4]=="jpeg"?4:!ee[5]&&ee[4]=="svg"?5:!ee[5]&&ee[4]=="gif"?6:!ee[5]&&ee[4]=="file"?7:!ee[5]&&ee[4]=="error"?8:!ee[5]&&ee[4]=="approval"?9:10}function J(ee,te){return te===10?get_else_ctx(ee):ee}return N=Q(B),U=Y[N]=Z[N](J(B,N)),{c(){q&&q.c(),_=empty$1(),G&&G.c(),A=empty$1(),U.c(),K=empty$1()},m(ee,te){q&&q.m(ee,te),insert(ee,_,te),G&&G.m(ee,te),insert(ee,A,te),Y[N].m(ee,te),insert(ee,K,te),j=!0},p(ee,te){ee[4]&&ee[4]!="json"?q?q.p(ee,te):(q=create_if_block_19$1(ee),q.c(),q.m(_.parentNode,_)):q&&(q.d(1),q=null),te&1&&(I=typeof ee[0]=="object"&&Object.keys(ee[0]).length>0),I?G?G.p(ee,te):(G=create_if_block_17$1(ee),G.c(),G.m(A.parentNode,A)):G&&(G.d(1),G=null);let ie=N;N=Q(ee),N===ie?Y[N].p(J(ee,N),te):(group_outros(),transition_out(Y[ie],1,1,()=>{Y[ie]=null}),check_outros(),U=Y[N],U?U.p(J(ee,N),te):(U=Y[N]=Z[N](J(ee,N)),U.c()),transition_in(U,1),U.m(K.parentNode,K))},i(ee){j||(transition_in(U),j=!0)},o(ee){transition_out(U),j=!1},d(ee){q&&q.d(ee),ee&&detach(_),G&&G.d(ee),ee&&detach(A),Y[N].d(ee),ee&&detach(K)}}}function create_if_block_19$1(B){let _,I,A,N,U;return{c(){_=element("div"),I=text$1("as JSON "),A=element("input"),attr(A,"class","windmillapp"),attr(A,"type","checkbox"),attr(_,"class","mb-2 text-gray-500 text-sm bg-gray-50/20")},m(K,j){insert(K,_,j),append$2(_,I),append$2(_,A),A.checked=B[5],N||(U=listen(A,"change",B[9]),N=!0)},p(K,j){j&32&&(A.checked=K[5])},d(K){K&&detach(_),N=!1,U()}}}function create_if_block_17$1(B){let _,I,A,N=truncate(Object.keys(B[0]).join(", "),50)+"",U,K,j,q=!B[3]&&create_if_block_18$1(B);return{c(){_=element("div"),I=text$1("The result keys are: "),A=element("b"),U=text$1(N),K=space(),q&&q.c(),j=space(),attr(_,"class","mb-2 w-full text-sm text-gray-700 relative")},m(G,Z){insert(G,_,Z),append$2(_,I),append$2(_,A),append$2(A,U),append$2(_,K),q&&q.m(_,null),append$2(_,j)},p(G,Z){Z&1&&N!==(N=truncate(Object.keys(G[0]).join(", "),50)+"")&&set_data(U,N),G[3]?q&&(q.d(1),q=null):q?q.p(G,Z):(q=create_if_block_18$1(G),q.c(),q.m(_,j))},d(G){G&&detach(_),q&&q.d()}}}function create_if_block_18$1(B){let _,I,A,N;return{c(){_=element("div"),I=element("button"),I.textContent="Expand",attr(_,"class","text-gray-500 text-xs absolute top-5 right-0")},m(U,K){insert(U,_,K),append$2(_,I),A||(N=listen(I,"click",function(){is_function(B[8].openDrawer)&&B[8].openDrawer.apply(this,arguments)}),A=!0)},p(U,K){B=U},d(U){U&&detach(_),A=!1,N()}}}function create_else_block_3$2(B){let _,I,A,N;const U=[create_if_block_16$1,create_else_block_4$2],K=[];function j(q,G){return q[29].length>1e4?0:1}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,G){let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function create_if_block_15$1(B){let _,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re;return I=new Button$1({props:{color:"green",variant:"border",$$slots:{default:[create_default_slot_6$7]},$$scope:{ctx:B}}}),I.$on("click",B[11]),N=new Button$1({props:{color:"red",variant:"border",$$slots:{default:[create_default_slot_5$7]},$$scope:{ctx:B}}}),N.$on("click",B[12]),{c(){_=element("div"),create_component(I.$$.fragment),A=space(),create_component(N.$$.fragment),U=space(),K=element("div"),j=element("h3"),j.textContent="Payload",q=space(),G=element("div"),Z=element("input"),Y=space(),Q=element("div"),J=element("a"),ee=text$1("Approval Page"),attr(Z,"type","text"),attr(G,"class","border border-black"),attr(J,"rel","noreferrer"),attr(J,"target","_blank"),attr(J,"href",te=B[0].approvalPage),attr(Q,"class","center-center"),attr(_,"class","flex flex-col gap-1 mx-4")},m(oe,se){insert(oe,_,se),mount_component(I,_,null),append$2(_,A),mount_component(N,_,null),append$2(_,U),append$2(_,K),append$2(K,j),append$2(K,q),append$2(K,G),append$2(G,Z),set_input_value(Z,B[7]),append$2(_,Y),append$2(_,Q),append$2(Q,J),append$2(J,ee),ie=!0,ne||(re=[listen(Z,"input",B[13]),action_destroyer(action.call(null,Z))],ne=!0)},p(oe,se){const ae={};se&1073741824&&(ae.$$scope={dirty:se,ctx:oe}),I.$set(ae);const ue={};se&1073741824&&(ue.$$scope={dirty:se,ctx:oe}),N.$set(ue),se&128&&Z.value!==oe[7]&&set_input_value(Z,oe[7]),(!ie||se&1&&te!==(te=oe[0].approvalPage))&&attr(J,"href",te)},i(oe){ie||(transition_in(I.$$.fragment,oe),transition_in(N.$$.fragment,oe),ie=!0)},o(oe){transition_out(I.$$.fragment,oe),transition_out(N.$$.fragment,oe),ie=!1},d(oe){oe&&detach(_),destroy_component(I),destroy_component(N),ne=!1,run_all(re)}}}function create_if_block_13$3(B){let _,I,A,N,U=(B[0].error.stack??"")+"",K;function j(Z,Y){return Z[0].error.name||Z[0].error.message?create_if_block_14$1:create_else_block_2$6}let q=j(B),G=q(B);return{c(){_=element("div"),I=element("span"),G.c(),A=space(),N=element("pre"),K=text$1(U),attr(I,"class","text-red-500 font-semibold text-sm whitespace-pre-wrap"),attr(N,"class","text-sm whitespace-pre-wrap text-gray-900")},m(Z,Y){insert(Z,_,Y),append$2(_,I),G.m(I,null),append$2(_,A),append$2(_,N),append$2(N,K)},p(Z,Y){q===(q=j(Z))&&G?G.p(Z,Y):(G.d(1),G=q(Z),G&&(G.c(),G.m(I,null))),Y&1&&U!==(U=(Z[0].error.stack??"")+"")&&set_data(K,U)},i:noop,o:noop,d(Z){Z&&detach(_),G.d()}}}function create_if_block_12$3(B){let _,I,A,N,U;return{c(){_=element("div"),I=element("a"),A=text$1("Download"),attr(I,"download",N=B[0].filename??"windmill.file"),attr(I,"href",U="data:application/octet-stream;base64,"+B[0].file)},m(K,j){insert(K,_,j),append$2(_,I),append$2(I,A)},p(K,j){j&1&&N!==(N=K[0].filename??"windmill.file")&&attr(I,"download",N),j&1&&U!==(U="data:application/octet-stream;base64,"+K[0].file)&&attr(I,"href",U)},i:noop,o:noop,d(K){K&&detach(_)}}}function create_if_block_11$4(B){let _,I,A;return{c(){_=element("div"),I=element("img"),attr(I,"alt","gif rendered"),attr(I,"class","w-auto h-full"),src_url_equal(I.src,A="data:image/gif;base64,"+B[0].gif)||attr(I,"src",A),attr(_,"class","h-full")},m(N,U){insert(N,_,U),append$2(_,I)},p(N,U){U&1&&!src_url_equal(I.src,A="data:image/gif;base64,"+N[0].gif)&&attr(I,"src",A)},i:noop,o:noop,d(N){N&&detach(_)}}}function create_if_block_10$4(B){let _,I,A,N,U,K,j=B[0].svg+"";return{c(){_=element("div"),I=element("a"),A=text$1("Download"),U=space(),K=element("div"),attr(I,"download","windmill.svg"),attr(I,"href",N="data:text/plain;base64,"+btoa(B[0].svg)),attr(K,"class","h-full overflow-auto")},m(q,G){insert(q,_,G),append$2(_,I),append$2(I,A),insert(q,U,G),insert(q,K,G),K.innerHTML=j},p(q,G){G&1&&N!==(N="data:text/plain;base64,"+btoa(q[0].svg))&&attr(I,"href",N),G&1&&j!==(j=q[0].svg+"")&&(K.innerHTML=j)},i:noop,o:noop,d(q){q&&detach(_),q&&detach(U),q&&detach(K)}}}function create_if_block_9$4(B){let _,I,A;return{c(){_=element("div"),I=element("img"),attr(I,"alt","jpeg rendered"),attr(I,"class","w-auto h-full"),src_url_equal(I.src,A="data:image/jpeg;base64,"+B[0].jpeg)||attr(I,"src",A),attr(_,"class","h-full")},m(N,U){insert(N,_,U),append$2(_,I)},p(N,U){U&1&&!src_url_equal(I.src,A="data:image/jpeg;base64,"+N[0].jpeg)&&attr(I,"src",A)},i:noop,o:noop,d(N){N&&detach(_)}}}function create_if_block_8$5(B){let _,I,A;return{c(){_=element("div"),I=element("img"),attr(I,"alt","png rendered"),attr(I,"class","w-auto h-full"),src_url_equal(I.src,A="data:image/png;base64,"+B[0].png)||attr(I,"src",A),attr(_,"class","h-full")},m(N,U){insert(N,_,U),append$2(_,I)},p(N,U){U&1&&!src_url_equal(I.src,A="data:image/png;base64,"+N[0].png)&&attr(I,"src",A)},i:noop,o:noop,d(N){N&&detach(_)}}}function create_if_block_6$7(B){let _,I,A,N;const U=[create_if_block_7$5,create_else_block_1$b],K=[];function j(q,G){return!q[1]||q[6]?0:1}return I=j(B),A=K[I]=U[I](B),{c(){_=element("div"),A.c(),attr(_,"class","h-full")},m(q,G){insert(q,_,G),K[I].m(_,null),N=!0},p(q,G){let Z=I;I=j(q),I===Z?K[I].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),A=K[I],A?A.p(q,G):(A=K[I]=U[I](q),A.c()),transition_in(A,1),A.m(_,null))},i(q){N||(transition_in(A),N=!0)},o(q){transition_out(A),N=!1},d(q){q&&detach(_),K[I].d()}}}function create_if_block_5$b(B){let _,I,A;return I=new TableCustom({props:{$$slots:{body:[create_body_slot$3]},$$scope:{ctx:B}}}),{c(){_=element("div"),create_component(I.$$.fragment),attr(_,"class","grid grid-flow-col-dense border border-gray-200")},m(N,U){insert(N,_,U),mount_component(I,_,null),A=!0},p(N,U){const K={};U&1073741825&&(K.$$scope={dirty:U,ctx:N}),I.$set(K)},i(N){A||(transition_in(I.$$.fragment,N),A=!0)},o(N){transition_out(I.$$.fragment,N),A=!1},d(N){N&&detach(_),destroy_component(I)}}}function create_if_block_3$f(B){let _,I=Object.keys(B[0]),A=[];for(let N=0;NWarning -

Rendering HTML can expose you to XSS attacks. Only enable it if you trust the author of the script.

`,A=space(),N=element("div"),create_component(U.$$.fragment),attr(I,"class","flex flex-col"),attr(N,"class","center-center"),attr(_,"class","font-main text-sm")},m(j,q){insert(j,_,q),append$2(_,I),append$2(_,A),append$2(_,N),mount_component(U,N,null),K=!0},p(j,q){const G={};q&1073741824&&(G.$$scope={dirty:q,ctx:j}),U.$set(G)},i(j){K||(transition_in(U.$$.fragment,j),K=!0)},o(j){transition_out(U.$$.fragment,j),K=!1},d(j){j&&detach(_),destroy_component(U)}}}function create_if_block_7$5(B){let _,I=B[0].html+"",A;return{c(){_=new HtmlTag(!1),A=empty$1(),_.a=A},m(N,U){_.m(I,N,U),insert(N,A,U)},p(N,U){U&1&&I!==(I=N[0].html+"")&&_.p(I)},i:noop,o:noop,d(N){N&&detach(A),N&&_.d()}}}function create_default_slot_4$7(B){let _;return{c(){_=text$1("Enable HTML rendering")},m(I,A){insert(I,_,A)},d(I){I&&detach(_)}}}function create_each_block_3$1(B){let _,I=(truncate(JSON.stringify(B[26]),200)??"")+"",A;return{c(){_=element("td"),A=text$1(I),attr(_,"class","!text-xs")},m(N,U){insert(N,_,U),append$2(_,A)},p(N,U){U&1&&I!==(I=(truncate(JSON.stringify(N[26]),200)??"")+"")&&set_data(A,I)},d(N){N&&detach(_)}}}function create_each_block_2$3(B){let _,I,A=B[23],N=[];for(let U=0;U1e5?0:1}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,G){get_context(q);let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function create_default_slot_2$b(B){let _,I,A,N;return A=new ClipboardCopy({}),{c(){_=element("div"),I=text$1("Copy to clipboard "),create_component(A.$$.fragment),attr(_,"class","flex gap-2 items-center")},m(U,K){insert(U,_,K),append$2(_,I),mount_component(A,_,null),N=!0},p:noop,i(U){N||(transition_in(A.$$.fragment,U),N=!0)},o(U){transition_out(A.$$.fragment,U),N=!1},d(U){U&&detach(_),destroy_component(A)}}}function create_actions_slot$4(B){let _,I;return _=new Button$1({props:{color:"light",size:"xs",$$slots:{default:[create_default_slot_2$b]},$$scope:{ctx:B}}}),_.$on("click",B[14]),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&1073741824&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot_1$e(B){let _,I;return _=new DrawerContent({props:{title:"Expanded Result",$$slots:{actions:[create_actions_slot$4],default:[create_default_slot_3$9]},$$scope:{ctx:B}}}),_.$on("close",function(){is_function(B[8].closeDrawer)&&B[8].closeDrawer.apply(this,arguments)}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){B=A;const U={};N&1073741829&&(U.$$scope={dirty:N,ctx:B}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot$k(B){let _,I,A={size:"900px",$$slots:{default:[create_default_slot_1$e]},$$scope:{ctx:B}};return _=new Drawer({props:A}),B[15](_),{c(){create_component(_.$$.fragment)},m(N,U){mount_component(_,N,U),I=!0},p(N,U){const K={};U&1073742085&&(K.$$scope={dirty:U,ctx:N}),_.$set(K)},i(N){I||(transition_in(_.$$.fragment,N),I=!0)},o(N){transition_out(_.$$.fragment,N),I=!1},d(N){B[15](null),destroy_component(_,N)}}}function create_fragment$1z(B){let _,I,A,N,U,K;const j=[create_if_block_2$j,create_else_block_5$1],q=[];function G(Y,Q){return Y[0]!=null?0:1}I=G(B),A=q[I]=j[I](B);let Z=!B[3]&&create_if_block$s(B);return{c(){_=element("div"),A.c(),N=space(),Z&&Z.c(),U=empty$1(),attr(_,"class","inline-highlight")},m(Y,Q){insert(Y,_,Q),q[I].m(_,null),insert(Y,N,Q),Z&&Z.m(Y,Q),insert(Y,U,Q),K=!0},p(Y,[Q]){let J=I;I=G(Y),I===J?q[I].p(Y,Q):(group_outros(),transition_out(q[J],1,1,()=>{q[J]=null}),check_outros(),A=q[I],A?A.p(Y,Q):(A=q[I]=j[I](Y),A.c()),transition_in(A,1),A.m(_,null)),Y[3]?Z&&(group_outros(),transition_out(Z,1,1,()=>{Z=null}),check_outros()):Z?(Z.p(Y,Q),Q&8&&transition_in(Z,1)):(Z=create_if_block$s(Y),Z.c(),transition_in(Z,1),Z.m(U.parentNode,U))},i(Y){K||(transition_in(A),transition_in(Z),K=!0)},o(Y){transition_out(A),transition_out(Z),K=!1},d(Y){Y&&detach(_),q[I].d(),Y&&detach(N),Z&&Z.d(Y),Y&&detach(U)}}}function isRectangularArray(B){if(!Array.isArray(B)||B.length==0||!Object.values(B).map(Array.isArray).reduce((I,A)=>I&&A))return!1;let _=B[0].length;return Object.values(B).map(I=>I.length==_).reduce((I,A)=>I&&A)}function asListOfList(B){return B}function inferResultKind(B){if(B)try{let _=Object.keys(B);if(isRectangularArray(B))return"table-row";if(_.map(I=>Array.isArray(B[I])).reduce((I,A)=>I&&A))return"table-col";if(_.length==1&&_[0]=="html")return"html";if(_.length==1&&_[0]=="png")return"png";if(_.length==1&&_[0]=="svg")return"svg";if(_.length==1&&_[0]=="jpeg")return"jpeg";if(_.length==1&&_[0]=="file")return"file";if(_.length==1&&_[0]=="error")return"error";if(_.length===2&&_.includes("file")&&_.includes("filename"))return"file";if(_.length===3&&_.includes("file")&&_.includes("filename")&&_.includes("autodownload")){if(B.autodownload){const I=document.createElement("a");I.href="data:application/octet-stream;base64,"+B.file,I.download=B.filename,I.click(),console.log("autodownload",B.file,B.filename)}return"file"}else if(_.length==3&&_.includes("resume")&&_.includes("cancel")&&_.includes("approvalPage"))return"approval"}catch{}return"json"}function instance$1w(B,_,I){let{result:A}=_,{requireHtmlApproval:N=!1}=_,{filename:U=void 0}=_,{disableExpand:K=!1}=_,j,q=!1,G=!1,Z="",Y;function Q(){q=this.checked,I(5,q)}const J=()=>I(6,G=!0),ee=()=>fetch(A.resume,{method:"POST",body:JSON.stringify(Z),headers:{"Content-Type":"application/json"}}),te=()=>fetch(A.cancel);function ie(){Z=this.value,I(7,Z)}const ne=()=>copyToClipboard(JSON.stringify(A,null,4));function re(oe){binding_callbacks[oe?"unshift":"push"](()=>{Y=oe,I(8,Y)})}return B.$$set=oe=>{"result"in oe&&I(0,A=oe.result),"requireHtmlApproval"in oe&&I(1,N=oe.requireHtmlApproval),"filename"in oe&&I(2,U=oe.filename),"disableExpand"in oe&&I(3,K=oe.disableExpand)},B.$$.update=()=>{B.$$.dirty&1&&I(4,j=inferResultKind(A))},[A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re]}class DisplayResult extends SvelteComponent{constructor(_){super(),init(this,_,instance$1w,create_fragment$1z,safe_not_equal,{result:0,requireHtmlApproval:1,filename:2,disableExpand:3})}}function create_else_block_1$a(B){let _,I,A,N,U;return{c(){_=element("pre"),I=element("code"),A=text$1(B[0]),attr(I,"class",N="language-"+B[1]),attr(_,"class",U="overflow-auto max-h-screen "+B[4].class)},m(K,j){insert(K,_,j),append$2(_,I),append$2(I,A)},p(K,j){j&1&&set_data(A,K[0]),j&2&&N!==(N="language-"+K[1])&&attr(I,"class",N),j&16&&U!==(U="overflow-auto max-h-screen "+K[4].class)&&attr(_,"class",U)},i:noop,o:noop,d(K){K&&detach(_)}}}function create_if_block$r(B){let _,I,A,N;const U=[create_if_block_1$m,create_else_block$i],K=[];function j(q,G){return q[2]?1:0}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,G){let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function create_else_block$i(B){let _,I;return _=new Highlight$1({props:{class:"nowrap "+B[4].class,language:B[3],code:B[0],$$slots:{default:[create_default_slot$j,({highlighted:A})=>({6:A}),({highlighted:A})=>A?64:0]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&16&&(U.class="nowrap "+A[4].class),N&8&&(U.language=A[3]),N&1&&(U.code=A[0]),N&192&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_1$m(B){let _,I;return _=new Highlight$1({props:{class:"nowrap "+B[4].class,language:B[3],code:B[0]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&16&&(U.class="nowrap "+A[4].class),N&8&&(U.language=A[3]),N&1&&(U.code=A[0]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot$j(B){let _,I;return _=new LineNumbers$1({props:{highlighted:B[6]}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&64&&(U.highlighted=A[6]),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_fragment$1y(B){let _,I,A,N;const U=[create_if_block$r,create_else_block_1$a],K=[];function j(q,G){var Z;return((Z=q[0])==null?void 0:Z.length)<5e3?0:1}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,[G]){let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function instance$1v(B,_,I){let A,{code:N=""}=_,{language:U}=_,{lines:K=!1}=_;function j(q){switch(q){case"python3":return python$1;case"deno":return typescript$1;case"go":return go$1;case"bash":return shell$1;default:return typescript$1}}return B.$$set=q=>{I(4,_=assign(assign({},_),exclude_internal_props(q))),"code"in q&&I(0,N=q.code),"language"in q&&I(1,U=q.language),"lines"in q&&I(2,K=q.lines)},B.$$.update=()=>{B.$$.dirty&2&&I(3,A=j(U))},_=exclude_internal_props(_),[N,U,K,A,_]}class HighlightCode extends SvelteComponent{constructor(_){super(),init(this,_,instance$1v,create_fragment$1y,safe_not_equal,{code:0,language:1,lines:2})}}function create_else_block$h(B){let _;return{c(){_=text$1("No logs are available yet")},m(I,A){insert(I,_,A)},p:noop,d(I){I&&detach(_)}}}function create_if_block_6$6(B){let _;return{c(){_=text$1("Waiting for job to start...")},m(I,A){insert(I,_,A)},p:noop,d(I){I&&detach(_)}}}function create_if_block_5$a(B){let _;return{c(){_=text$1(B[1])},m(I,A){insert(I,_,A)},p(I,A){A&2&&set_data(_,I[1])},d(I){I&&detach(_)}}}function create_default_slot_1$d(B){let _,I;function A(K,j){return K[1]?create_if_block_5$a:K[0]?create_if_block_6$6:create_else_block$h}let N=A(B),U=N(B);return{c(){_=element("div"),I=element("pre"),U.c(),attr(I,"class","bg-gray-50 text-xs w-full p-2")},m(K,j){insert(K,_,j),append$2(_,I),U.m(I,null)},p(K,j){N===(N=A(K))&&U?U.p(K,j):(U.d(1),U=N(K),U&&(U.c(),U.m(I,null)))},d(K){K&&detach(_),U.d()}}}function create_default_slot$i(B){let _,I;return _=new DrawerContent({props:{title:"Expanded Logs",$$slots:{default:[create_default_slot_1$d]},$$scope:{ctx:B}}}),_.$on("close",function(){is_function(B[7].closeDrawer)&&B[7].closeDrawer.apply(this,arguments)}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){B=A;const U={};N&4099&&(U.$$scope={dirty:N,ctx:B}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_4$d(B){let _,I,A,N;return{c(){_=element("span"),I=text$1("took "),A=text$1(B[2]),N=text$1("ms"),attr(_,"class","absolute text-xs text-gray-500 top-2 left-2")},m(U,K){insert(U,_,K),append$2(_,I),append$2(_,A),append$2(_,N)},p(U,K){K&4&&set_data(A,U[2])},i:noop,o:noop,d(U){U&&detach(_)}}}function create_if_block_3$e(B){let _,I;return _=new Loader2({props:{class:"animate-spin absolute top-2 left-2"}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block_2$i(B){let _,I,A=(B[3]/1024).toPrecision(4)+"",N,U;return{c(){_=element("span"),I=text$1("mem peak: "),N=text$1(A),U=text$1("MB"),attr(_,"class","absolute text-xs text-gray-500 top-2 left-36")},m(K,j){insert(K,_,j),append$2(_,I),append$2(_,N),append$2(_,U)},p(K,j){j&8&&A!==(A=(K[3]/1024).toPrecision(4)+"")&&set_data(N,A)},d(K){K&&detach(_)}}}function create_if_block_1$l(B){let _;return{c(){_=element("span"),_.textContent="No logs are available yet",attr(_,"class","text-gray-600")},m(I,A){insert(I,_,A)},p:noop,d(I){I&&detach(_)}}}function create_if_block$q(B){let _,I;return{c(){_=element("span"),I=text$1(B[1])},m(A,N){insert(A,_,N),append$2(_,I)},p(A,N){N&2&&set_data(I,A[1])},d(A){A&&detach(_)}}}function create_fragment$1x(B){let _,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re,oe,se,ae,ue={size:"900px",$$slots:{default:[create_default_slot$i]},$$scope:{ctx:B}};_=new Drawer({props:ue}),B[9](_);const ce=[create_if_block_3$e,create_if_block_4$d],le=[];function de(we,ye){return we[0]?0:we[2]?1:-1}~(J=de(B))&&(ee=le[J]=ce[J](B));let fe=B[3]&&create_if_block_2$i(B);function he(we,ye){if(we[1])return create_if_block$q;if(!we[0])return create_if_block_1$l}let ge=he(B),pe=ge&&ge(B);return{c(){create_component(_.$$.fragment),I=space(),A=element("div"),N=element("div"),U=element("div"),K=element("div"),j=element("button"),j.textContent="Expand",q=space(),G=element("div"),Z=text$1(`Auto scroll - `),Y=element("input"),Q=space(),ee&&ee.c(),te=space(),fe&&fe.c(),ie=space(),ne=element("pre"),pe&&pe.c(),attr(Y,"class","windmillapp"),attr(Y,"type","checkbox"),attr(G,"class","py-2 pr-2 text-xs flex gap-2 items-center"),attr(K,"class","flex gap-1"),attr(U,"class","sticky top-0 right-0 w-full flex flex-row-reverse justify-between text-gray-500 text-sm bg-gray-50/20"),attr(ne,"class","whitespace-pre-wrap break-words bg-gray-50 text-xs w-full p-2"),attr(N,"class","w-full h-full overflow-auto bg-gray-50 relative"),attr(A,"class",re="relative w-full h-full "+B[4])},m(we,ye){mount_component(_,we,ye),insert(we,I,ye),insert(we,A,ye),append$2(A,N),append$2(N,U),append$2(U,K),append$2(K,j),append$2(K,q),append$2(K,G),append$2(G,Z),append$2(G,Y),Y.checked=B[5],append$2(N,Q),~J&&le[J].m(N,null),append$2(N,te),fe&&fe.m(N,null),append$2(N,ie),append$2(N,ne),pe&&pe.m(ne,null),B[11](N),oe=!0,se||(ae=[listen(j,"click",function(){is_function(B[7].openDrawer)&&B[7].openDrawer.apply(this,arguments)}),listen(Y,"change",B[10])],se=!0)},p(we,[ye]){B=we;const Le={};ye&4227&&(Le.$$scope={dirty:ye,ctx:B}),_.$set(Le),ye&32&&(Y.checked=B[5]);let Se=J;J=de(B),J===Se?~J&&le[J].p(B,ye):(ee&&(group_outros(),transition_out(le[Se],1,1,()=>{le[Se]=null}),check_outros()),~J?(ee=le[J],ee?ee.p(B,ye):(ee=le[J]=ce[J](B),ee.c()),transition_in(ee,1),ee.m(N,te)):ee=null),B[3]?fe?fe.p(B,ye):(fe=create_if_block_2$i(B),fe.c(),fe.m(N,ie)):fe&&(fe.d(1),fe=null),ge===(ge=he(B))&&pe?pe.p(B,ye):(pe&&pe.d(1),pe=ge&&ge(B),pe&&(pe.c(),pe.m(ne,null))),(!oe||ye&16&&re!==(re="relative w-full h-full "+B[4]))&&attr(A,"class",re)},i(we){oe||(transition_in(_.$$.fragment,we),transition_in(ee),oe=!0)},o(we){transition_out(_.$$.fragment,we),transition_out(ee),oe=!1},d(we){B[9](null),destroy_component(_,we),we&&detach(I),we&&detach(A),~J&&le[J].d(),fe&&fe.d(),pe&&pe.d(),B[11](null),se=!1,run_all(ae)}}}function instance$1u(B,_,I){let{content:A}=_,{isLoading:N}=_,{duration:U=void 0}=_,{mem:K=void 0}=_,{wrapperClass:j=""}=_,q=!0,G=null;function Z(){q&&setTimeout(()=>G==null?void 0:G.scroll({top:G==null?void 0:G.scrollHeight,behavior:"smooth"}),100)}let Y;function Q(te){binding_callbacks[te?"unshift":"push"](()=>{Y=te,I(7,Y)})}function J(){q=this.checked,I(5,q)}function ee(te){binding_callbacks[te?"unshift":"push"](()=>{G=te,I(6,G)})}return B.$$set=te=>{"content"in te&&I(1,A=te.content),"isLoading"in te&&I(0,N=te.isLoading),"duration"in te&&I(2,U=te.duration),"mem"in te&&I(3,K=te.mem),"wrapperClass"in te&&I(4,j=te.wrapperClass)},B.$$.update=()=>{B.$$.dirty&2&&A!=null&&I(0,N=!1),B.$$.dirty&2&&A&&Z()},[N,A,U,K,j,q,G,Y,Z,Q,J,ee]}class LogViewer extends SvelteComponent{constructor(_){super(),init(this,_,instance$1u,create_fragment$1x,safe_not_equal,{content:1,isLoading:0,duration:2,mem:3,wrapperClass:4,scrollToBottom:8})}get scrollToBottom(){return this.$$.ctx[8]}}function pxToNumber(B){if(!B.endsWith("px"))return;const _=parseFloat(B.slice(0,B.length-2));return isNaN(_)?void 0:_}const getDimensionName=B=>B?"height":"width",calcComputedStyle=B=>window.getComputedStyle(B),getElementRect=B=>B.getBoundingClientRect(),getBordersSizeOffsets=(B,_=!0)=>{if(B.getPropertyValue("box-sizing")==="border-box")return;const I=pxToNumber(B.getPropertyValue("border-left-width"));if(I===void 0){console.error("Splitpanes Error: Fail to parse container `border-left-width`.");return}const A=pxToNumber(B.getPropertyValue("border-top-width"));if(A===void 0){console.error("Splitpanes Error: Fail to parse container `border-top-width`.");return}const N={left:I,top:A};if(_){const U=pxToNumber(B.getPropertyValue("border-right-width"));if(U===void 0){console.error("Splitpanes Error: Fail to parse container `border-right-width`.");return}const K=pxToNumber(B.getPropertyValue("border-bottom-width"));if(K===void 0){console.error("Splitpanes Error: Fail to parse container `border-bottom-width`.");return}const j=N;j.right=U,j.bottom=K}return N};function elementRectWithoutBorder(B,_){_||(_=calcComputedStyle(B));const I=getElementRect(B),A=getBordersSizeOffsets(_,!0)||{left:0,top:0,right:0,bottom:0};return{width:I.width-A.left-A.right,height:I.height-A.top-A.bottom,left:I.left+A.left,top:I.top+A.top}}const positionDiff=(B,_)=>({left:B.left-_.left,top:B.top-_.top});function getGlobalMousePosition(B){const _=B,I=B,{clientX:A,clientY:N}="ontouchstart"in window&&I.touches?I.touches[0]:_;return{left:A,top:N}}function sumPartial(B,_,I,A){let N=0;for(let U=_;UI(31,U=me));const pe=writable(J);component_subscribe(B,pe,me=>I(30,N=me));const we=writable(void 0);component_subscribe(B,we,me=>I(29,A=me));let ye=null,Le=null;setContext$1(KEY,{showFirstSplitter:pe,veryFirstPaneKey:we,isHorizontal:ge,ssrRegisterPaneSize:void 0,onPaneInit:me=>(A===void 0&&set_store_value(we,A=me,A),{undefinedPaneInitSize:0}),clientOnly:{onPaneAdd:Ae,onPaneRemove:be}});function Ae(me){let Pe=-1;Array.from(me.element.parentNode.children).some(Fe=>(Fe.className.includes("splitpanes__pane")&&Pe++,Fe===me.element)),Pe===0&&set_store_value(we,A=me.key,A),he.splice(Pe,0,me);for(let Fe=0;Fe{me.isReady=!0,ne("pane-add",{index:Pe,panes:ft()})});const We=(Fe,qe=!0)=>Ke=>{(qe||me.index>0)&&Fe(Ke,me)};return{onSplitterDown:We(He,!1),onSplitterClick:We(je,!1),onSplitterDblClick:We(gt),onPaneClick:We(xe),reportGivenSizeChange:We($e)}}async function be(me){const Pe=he.findIndex(We=>We.key===me);if(Pe>=0){const We=he.splice(Pe,1)[0];for(let Fe=0;Fe0?he[0].key:void 0,A),oe&&(await Ne(),ne("pane-remove",{removed:We,panes:ft()}))}}function xe(me,Pe){ne("pane-click",Pe)}function $e(me,Pe){Pe.setSz(me),Ne()}onMount(()=>{ke(),Ce();for(let me=0;me{I(6,ae=!0)},0)}),onDestroy(()=>{oe&&Je(),oe=!1}),afterUpdate(()=>{ke()});function Oe(me){if(Q==="auto")try{return(me??calcComputedStyle(re)).direction==="rtl"}catch{}return Q===!0}function ze(){document.body.style.cursor=ge?"col-resize":"row-resize",document.addEventListener("mousemove",Ue,{passive:!1}),document.addEventListener("mouseup",nt),"ontouchstart"in window&&(document.addEventListener("touchmove",Ue,{passive:!1}),document.addEventListener("touchend",nt))}function Je(){document.body.style.cursor="",document.removeEventListener("mousemove",Ue),document.removeEventListener("mouseup",nt),"ontouchstart"in window&&(document.removeEventListener("touchmove",Ue),document.removeEventListener("touchend",nt))}const tt=me=>me.nodeType===Node.ELEMENT_NODE&&me.classList.contains("splitpanes__splitter");function Ve(me,Pe,We){let Fe=me[G?"top":"left"];return We&&!G&&(Fe=Pe-Fe),Fe}const Ze=()=>getDimensionName(G);function He(me,Pe){I(7,ue=!0),le=Pe.index,Pe.setSplitterActive(!0);let Fe=Pe.element;for(;Fe!=null&&(Fe=Fe.previousSibling,!tt(Fe)););if(Fe==null){console.error("Splitpane Error: Active splitter wasn't found!");return}ye=Fe;const qe=getGlobalMousePosition(me),Ke=getElementRect(ye);Le=Ve(positionDiff(qe,Ke),Ke[Ze()],Oe()),ze()}function Ue(me){if(ue){me.preventDefault(),I(8,ce=!0);const Pe=getGlobalMousePosition(me),We=calcComputedStyle(re),Fe=elementRectWithoutBorder(re,We),qe=Fe[Ze()],Ke=Oe(We),Ye=positionDiff(Pe,Fe),Ge=Ve(Ye,qe,Ke);pt(Ge,qe),ne("resize",ft())}}function nt(){ce&&ne("resized",ft()),I(7,ue=!1),he[le].setSplitterActive(!1),setTimeout(()=>{I(8,ce=!1),Je()},100)}function je(me,Pe){if("ontouchstart"in window){me.preventDefault();const We=Pe.index;Y&&(de===We?(fe&&clearTimeout(fe),fe=null,gt(me,Pe),de=-1):(de=We,fe=setTimeout(()=>{de=-1},500)))}ce||ne("splitter-click",Pe)}function gt(me,Pe){const We=Pe.index;let Fe=0;for(let Ye=0;Ye=100)for(let Ye=0;Ye{const st=at.min(),bt=at.max(),mt=Math.min(Math.max(0,Ye),bt-st);at.setSz(st+mt),Ye-=mt};for(let at=We-1;at>=0;at--)Ge(he[at]);for(let at=We+1;athe.map(me=>({min:me.min(),max:me.max(),size:me.sz(),snap:me.snap()}));function ot(me,Pe){const We=bt=>getElementRect(bt)[Ze()],Fe=We(ye);let qe=0,Ke=ye.previousSibling;for(;Ke!=null;)tt(Ke)&&(qe+=We(Ke)),Ke=Ke.previousSibling;let Ye=0,Ge=ye.nextSibling;for(;Ge!=null;)tt(Ge)&&(Ye+=We(Ge)),Ge=Ge.nextSibling;const at=qe+Le,st=qe+Fe+Ye;return(me-at)/(Pe-st)*100}function pt(me,Pe){let We=le-1,Fe=he[We],qe=le,Ke=he[qe],Ye={prevPanesSize:it(We),nextPanesSize:et(qe),prevReachedMinPanes:0,nextReachedMinPanes:0};const Ge=0+(Z?0:Ye.prevPanesSize),at=100-(Z?0:Ye.nextPanesSize),st=Math.max(Math.min(ot(me,Pe),at),Ge),bt=Ye.prevPanesSize+Fe.min()+Fe.snap(),mt=100-(Ye.nextPanesSize+Ke.min()+Ke.snap());let ht=st,kt=!1;st<=bt?st>Ye.prevPanesSize+Fe.min()&&(ht=Math.max(Fe.min()+Ye.prevPanesSize,100-(Ke.max()+Ye.nextPanesSize)),kt=!0):st>=mt&&st<100-Ye.nextPanesSize-Ke.min()&&(ht=Math.min(100-(Ke.min()+Ye.nextPanesSize),Fe.max()+Ye.prevPanesSize),kt=!0);const vt=Fe.max()<100&&ht>=Fe.max()+Ye.prevPanesSize,Ct=Ke.max()<100&&ht<=100-(Ke.max()+Ye.nextPanesSize);if(vt||Ct)vt?(Fe.setSz(Fe.max()),Ke.setSz(Math.max(100-Fe.max()-Ye.prevPanesSize-Ye.nextPanesSize,0))):(Fe.setSz(Math.max(100-Ke.max()-Ye.prevPanesSize-Ye.nextPanesSize,0)),Ke.setSz(Ke.max()));else{if(Z&&!kt){const Dt=_t(Ye,ht);if(!Dt)return;({sums:Ye,paneBeforeIndex:We,paneAfterIndex:qe}=Dt),Fe=he[We],Ke=he[qe]}We!=null&&Fe.setSz(Math.min(Math.max(ht-Ye.prevPanesSize-Ye.prevReachedMinPanes,Fe.min()),Fe.max())),qe!=null&&Ke.setSz(Math.min(Math.max(100-ht-Ye.nextPanesSize-Ye.nextReachedMinPanes,Ke.min()),Ke.max()))}}function _t(me,Pe){var Ke,Ye;const We=le-1;let Fe=We,qe=We+1;if(Pe{Ge.setSz(Ge.min()),me.prevReachedMinPanes+=Ge.min()}),me.prevPanesSize=it(Fe),Fe==null))return me.prevReachedMinPanes=0,he[0].setSz(he[0].min()),forEachPartial(he,1,We+1,Ge=>{Ge.setSz(Ge.min()),me.prevReachedMinPanes+=Ge.min()}),he[qe].setSz(100-me.prevReachedMinPanes-he[0].min()-me.prevPanesSize-me.nextPanesSize),null;if(Pe>100-me.nextPanesSize-he[qe].min()){qe=(Ye=Re(We))==null?void 0:Ye.index,me.nextReachedMinPanes=0,qe>We+1&&forEachPartial(he,We+1,qe,at=>{at.setSz(at.min()),me.nextReachedMinPanes+=at.min()}),me.nextPanesSize=et(qe);const Ge=he.length;if(qe==null)return me.nextReachedMinPanes=0,he[Ge-1].setSz(he[Ge-1].min()),forEachPartial(he,We+1,Ge-1,at=>{at.setSz(at.min()),me.nextReachedMinPanes+=at.min()}),he[Fe].setSz(100-me.prevPanesSize-me.nextReachedMinPanes-he[Ge-1].min()-me.nextPanesSize),null}return{sums:me,paneBeforeIndex:Fe,paneAfterIndex:qe}}const Xe=me=>me.sz(),it=me=>sumPartial(he,0,me,Xe),et=me=>sumPartial(he,me+1,he.length,Xe),Be=me=>[...he].reverse().find(Pe=>Pe.indexPe.min()),Re=me=>he.find(Pe=>Pe.index>me+1&&Pe.sz()>Pe.min());async function Ne(){se=!0,await tick(),se&&(Ce(),se=!1)}function Ce(){ve(),oe&&ne("resized",ft())}function ve(){if(he.length===0)return;const me=he.length;let Pe=100,We=0,Fe=0,qe=0,Ke=[],Ye=[];for(let mt=0;mt=ht.max()&&Ke.push(ht),kt<=ht.min()&&Ye.push(ht)):Fe+=1:(Pe-=kt,We++,Ke.push(ht),Ye.push(ht))}const Ge=me-We,at=Ge-Fe;let st,bt;if(at>0?(st=qe/at,st>.1&&Pe>.1?(qe+=Fe*st,bt=Pe/qe):(st=0,bt=1)):(st=Pe/Ge,bt=1),Pe+qe>.1){Pe=100;for(let mt=0;mt.1&&(Pe=Te(Pe,Ke,Ye))}isFinite(Pe)?Math.abs(Pe)>.1&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints."):console.warn("Splitpanes: Internal error, sizes might be NaN as a result.")}function Te(me,Pe,We){const qe=he.length-(me>0?Pe.length:We.length);if(qe<=0)return me;const Ke=me/qe;if(he.length===1)he[0].setSz(100),me=0;else for(let Ye=0;Ye0&&!Pe.includes(Ge)){const st=Math.max(Math.min(at+Ke,Ge.max()),Ge.min()),bt=st-at;me-=bt,Ge.setSz(st)}else if(!We.includes(Ge)){const st=Math.max(Math.min(at+Ke,Ge.max()),Ge.min()),bt=st-at;me-=bt,Ge.setSz(st)}}return me}function ke(){var Fe;const{children:me}=re;let Pe=0,We=!1;for(let qe=0;qe elements are allowed at the root of . One of your DOM nodes was removed.");return}else Ye&&(!We&&he[Pe].element!==Ke&&(We=!0),Pe++)}if(We){const qe=[];for(let Ke=0;Kest.element===Ye);at!=null?(at.index=qe.length,qe.push(at)):console.warn("Splitpanes: Internal error - found a elements which isn't tracked.")}}he=qe,set_store_value(we,A=he.length>0?he[0].key:void 0,A)}}function De(me){binding_callbacks[me?"unshift":"push"](()=>{re=me,I(5,re)})}return B.$$set=me=>{"id"in me&&I(0,q=me.id),"horizontal"in me&&I(1,G=me.horizontal),"pushOtherPanes"in me&&I(12,Z=me.pushOtherPanes),"dblClickSplitter"in me&&I(13,Y=me.dblClickSplitter),"rtl"in me&&I(14,Q=me.rtl),"firstSplitter"in me&&I(15,J=me.firstSplitter),"style"in me&&I(2,ee=me.style),"theme"in me&&I(3,te=me.theme),"class"in me&&I(4,ie=me.class),"$$scope"in me&&I(18,j=me.$$scope)},B.$$.update=()=>{B.$$.dirty[0]&2&&set_store_value(ge,U=G,U),B.$$.dirty[0]&32768&&set_store_value(pe,N=J,N)},[q,G,ee,te,ie,re,ae,ue,ce,ge,pe,we,Z,Y,Q,J,K,De,j]}class Splitpanes extends SvelteComponent{constructor(_){super(),init(this,_,instance$1t,create_fragment$1w,safe_not_equal,{id:0,horizontal:1,pushOtherPanes:12,dblClickSplitter:13,rtl:14,firstSplitter:15,style:2,theme:3,class:4},null,[-1,-1,-1])}}const carefullCallbackGenerator=(B,_)=>I=>{const A=B();A!=null&&A[_](I)},carefullCallbackSource=B=>carefullCallbackGenerator.bind(null,B);function create_if_block$p(B){let _,I,A,N,U,K,j=(B[4]!==B[9]||B[5])&&create_if_block_1$k(B);const q=B[20].default,G=create_slot(q,B,B[19],null);return{c(){j&&j.c(),_=space(),I=element("div"),G&&G.c(),attr(I,"class",A=`splitpanes__pane ${B[0]||""}`),attr(I,"style",B[3])},m(Z,Y){j&&j.m(Z,Y),insert(Z,_,Y),insert(Z,I,Y),G&&G.m(I,null),B[21](I),N=!0,U||(K=listen(I,"click",B[11]("onPaneClick")),U=!0)},p(Z,Y){Z[4]!==Z[9]||Z[5]?j?j.p(Z,Y):(j=create_if_block_1$k(Z),j.c(),j.m(_.parentNode,_)):j&&(j.d(1),j=null),G&&G.p&&(!N||Y&524288)&&update_slot_base(G,q,Z,Z[19],N?get_slot_changes(q,Z[19],Y,null):get_all_dirty_from_scope(Z[19]),null),(!N||Y&1&&A!==(A=`splitpanes__pane ${Z[0]||""}`))&&attr(I,"class",A),(!N||Y&8)&&attr(I,"style",Z[3])},i(Z){N||(transition_in(G,Z),N=!0)},o(Z){transition_out(G,Z),N=!1},d(Z){j&&j.d(Z),Z&&detach(_),Z&&detach(I),G&&G.d(Z),B[21](null),U=!1,K()}}}function create_if_block_1$k(B){let _,I,A,N;return{c(){_=element("div"),attr(_,"class",I="splitpanes__splitter "+(B[2]?"splitpanes__splitter__active":""))},m(U,K){insert(U,_,K),A||(N=[listen(_,"mousedown",B[11]("onSplitterDown")),listen(_,"touchstart",B[11]("onSplitterDown")),listen(_,"click",B[11]("onSplitterClick")),listen(_,"dblclick",B[11]("onSplitterDblClick"))],A=!0)},p(U,K){K&4&&I!==(I="splitpanes__splitter "+(U[2]?"splitpanes__splitter__active":""))&&attr(_,"class",I)},d(U){U&&detach(_),A=!1,run_all(N)}}}function create_fragment$1v(B){let _,I,A=!B[10]&&create_if_block$p(B);return{c(){A&&A.c(),_=empty$1()},m(N,U){A&&A.m(N,U),insert(N,_,U),I=!0},p(N,[U]){N[10]||A.p(N,U)},i(N){I||(transition_in(A),I=!0)},o(N){transition_out(A),I=!1},d(N){A&&A.d(N),N&&detach(_)}}}function instance$1s(B,_,I){let A,N,U,K,j,{$$slots:q={},$$scope:G}=_;const{ssrRegisterPaneSize:Z,onPaneInit:Y,clientOnly:Q,isHorizontal:J,showFirstSplitter:ee,veryFirstPaneKey:te}=getContext(KEY);component_subscribe(B,J,ye=>I(18,U=ye)),component_subscribe(B,ee,ye=>I(5,j=ye)),component_subscribe(B,te,ye=>I(4,K=ye));let{size:ie=null}=_,{minSize:ne=0}=_,{maxSize:re=100}=_,{snapSize:oe=0}=_,{class:se=""}=_;const ae={},ue=!BROWSER,{undefinedPaneInitSize:ce}=Y(ae);let le,de=ie??ce,fe=!1,he;const ge=carefullCallbackSource(()=>he),pe=ye=>{ye!=de&&ge("reportGivenSizeChange")(ye)};onMount(()=>{const ye={key:ae,element:le,givenSize:ie,sz:()=>de,setSz:Le=>{I(16,de=Le),ie!=null&&ie!=de&&I(12,ie=de)},min:()=>ne,max:()=>re,snap:()=>oe,setSplitterActive:Le=>{I(2,fe=Le)},isReady:!1};he=Q.onPaneAdd(ye)}),onDestroy(()=>{Q.onPaneRemove(ae)});function we(ye){binding_callbacks[ye?"unshift":"push"](()=>{le=ye,I(1,le)})}return B.$$set=ye=>{"size"in ye&&I(12,ie=ye.size),"minSize"in ye&&I(13,ne=ye.minSize),"maxSize"in ye&&I(14,re=ye.maxSize),"snapSize"in ye&&I(15,oe=ye.snapSize),"class"in ye&&I(0,se=ye.class),"$$scope"in ye&&I(19,G=ye.$$scope)},B.$$.update=()=>{B.$$.dirty&4096&&ie!=null&&pe(ie),B.$$.dirty&262144&&I(17,A=getDimensionName(U)),B.$$.dirty&196608&&I(3,N=`${A}: ${de}%;`)},[se,le,fe,N,K,j,J,ee,te,ae,ue,ge,ie,ne,re,oe,de,A,U,G,q,we]}class Pane extends SvelteComponent{constructor(_){super(),init(this,_,instance$1s,create_fragment$1v,safe_not_equal,{size:12,minSize:13,maxSize:14,snapSize:15,class:0})}}function create_fragment$1u(B){let _,I,A;const N=B[5].default,U=create_slot(N,B,B[4],null);return{c(){_=element("div"),U&&U.c(),attr(_,"class",I="h-full "+(B[2].class||"")),set_style(_,"max-height","calc(100% - "+B[1]+"px)",1)},m(K,j){insert(K,_,j),U&&U.m(_,null),B[6](_),A=!0},p(K,[j]){U&&U.p&&(!A||j&16)&&update_slot_base(U,N,K,K[4],A?get_slot_changes(N,K[4],j,null):get_all_dirty_from_scope(K[4]),null),(!A||j&4&&I!==(I="h-full "+(K[2].class||"")))&&attr(_,"class",I),(!A||j&2)&&set_style(_,"max-height","calc(100% - "+K[1]+"px)",1)},i(K){A||(transition_in(U,K),A=!0)},o(K){transition_out(U,K),A=!1},d(K){K&&detach(_),U&&U.d(K),B[6](null)}}}function instance$1r(B,_,I){let{$$slots:A={},$$scope:N}=_,{refElement:U=void 0}=_,K,j=0;function q(){const Z=U||K.parentElement;if(!(K&&Z))return 0;const Y=K.getBoundingClientRect().top,Q=Z.getBoundingClientRect().top;return Y-Q}afterUpdate(()=>{I(1,j=q())});function G(Z){binding_callbacks[Z?"unshift":"push"](()=>{K=Z,I(0,K)})}return B.$$set=Z=>{I(2,_=assign(assign({},_),exclude_internal_props(Z))),"refElement"in Z&&I(3,U=Z.refElement),"$$scope"in Z&&I(4,N=Z.$$scope)},_=exclude_internal_props(_),[K,j,_,U,N,A,G]}class SplitPanesWrapper extends SvelteComponent{constructor(_){super(),init(this,_,instance$1r,create_fragment$1u,safe_not_equal,{refElement:3})}}function get_each_context$c(B,_,I){const A=B.slice();return A[17]=_[I].id,A[18]=_[I].created_at,A[19]=_[I].success,A[20]=_[I].result,A}function create_if_block_6$5(B){var A,N;let _,I;return _=new HighlightCode({props:{language:(A=B[6])==null?void 0:A.mode,code:(N=B[6])==null?void 0:N.content}}),{c(){create_component(_.$$.fragment)},m(U,K){mount_component(_,U,K),I=!0},p(U,K){var q,G;const j={};K&64&&(j.language=(q=U[6])==null?void 0:q.mode),K&64&&(j.code=(G=U[6])==null?void 0:G.content),_.$set(j)},i(U){I||(transition_in(_.$$.fragment,U),I=!0)},o(U){transition_out(_.$$.fragment,U),I=!1},d(U){destroy_component(_,U)}}}function create_if_block_5$9(B){var K;let _,I,A=((K=B[6])==null?void 0:K.content)+"",N,U;return{c(){_=element("pre"),I=text$1(" "),N=text$1(A),U=text$1(` - `),attr(_,"class","overflow-x-auto break-words relative h-full m-2 text-xs bg-white shadow-inner p-2")},m(j,q){insert(j,_,q),append$2(_,I),append$2(_,N),append$2(_,U)},p(j,q){var G;q&64&&A!==(A=((G=j[6])==null?void 0:G.content)+"")&&set_data(N,A)},i:noop,o:noop,d(j){j&&detach(_)}}}function create_if_block_4$c(B){let _,I;return _=new Highlight$1({props:{language:json$1,code:JSON.stringify(B[6].content,null,4)}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&64&&(U.code=JSON.stringify(A[6].content,null,4)),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot_9$3(B){let _,I,A,N;const U=[create_if_block_4$c,create_if_block_5$9,create_if_block_6$5],K=[];function j(q,G){var Z,Y,Q,J,ee,te;return((Z=q[6])==null?void 0:Z.mode)==="json"?0:((Y=q[6])==null?void 0:Y.mode)==="plain"?1:((Q=q[6])==null?void 0:Q.mode)==="deno"||((J=q[6])==null?void 0:J.mode)==="python3"||((ee=q[6])==null?void 0:ee.mode)==="go"||((te=q[6])==null?void 0:te.mode)==="bash"?2:-1}return~(_=j(B))&&(I=K[_]=U[_](B)),{c(){I&&I.c(),A=empty$1()},m(q,G){~_&&K[_].m(q,G),insert(q,A,G),N=!0},p(q,G){let Z=_;_=j(q),_===Z?~_&&K[_].p(q,G):(I&&(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros()),~_?(I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A)):I=null)},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){~_&&K[_].d(q),q&&detach(A)}}}function create_default_slot_8$3(B){var A;let _,I;return _=new DrawerContent({props:{title:(A=B[6])==null?void 0:A.title,$$slots:{default:[create_default_slot_9$3]},$$scope:{ctx:B}}}),_.$on("close",B[11]),{c(){create_component(_.$$.fragment)},m(N,U){mount_component(_,N,U),I=!0},p(N,U){var j;const K={};U&64&&(K.title=(j=N[6])==null?void 0:j.title),U&8388672&&(K.$$scope={dirty:U,ctx:N}),_.$set(K)},i(N){I||(transition_in(_.$$.fragment,N),I=!0)},o(N){transition_out(_.$$.fragment,N),I=!1},d(N){destroy_component(_,N)}}}function create_default_slot_7$4(B){let _;return{c(){_=text$1("Logs & Result")},m(I,A){insert(I,_,A)},d(I){I&&detach(_)}}}function create_default_slot_6$6(B){let _;return{c(){_=text$1("History")},m(I,A){insert(I,_,A)},d(I){I&&detach(_)}}}function create_default_slot_5$6(B){let _,I,A,N;return _=new Tab({props:{value:"logs",size:"xs",$$slots:{default:[create_default_slot_7$4]},$$scope:{ctx:B}}}),A=new Tab({props:{value:"history",size:"xs",$$slots:{default:[create_default_slot_6$6]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment),I=space(),create_component(A.$$.fragment)},m(U,K){mount_component(_,U,K),insert(U,I,K),mount_component(A,U,K),N=!0},p(U,K){const j={};K&8388608&&(j.$$scope={dirty:K,ctx:U}),_.$set(j);const q={};K&8388608&&(q.$$scope={dirty:K,ctx:U}),A.$set(q)},i(U){N||(transition_in(_.$$.fragment,U),transition_in(A.$$.fragment,U),N=!0)},o(U){transition_out(_.$$.fragment,U),transition_out(A.$$.fragment,U),N=!1},d(U){destroy_component(_,U),U&&detach(I),destroy_component(A,U)}}}function create_if_block_1$j(B){let _,I;return _=new SplitPanesWrapper({props:{$$slots:{default:[create_default_slot_1$c]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&8388614&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot_4$6(B){var A,N,U;let _,I;return _=new LogViewer({props:{duration:(A=B[2])==null?void 0:A.duration_ms,mem:(N=B[2])==null?void 0:N.mem_peak,content:(U=B[2])==null?void 0:U.logs,isLoading:B[1]}}),{c(){create_component(_.$$.fragment)},m(K,j){mount_component(_,K,j),I=!0},p(K,j){var G,Z,Y;const q={};j&4&&(q.duration=(G=K[2])==null?void 0:G.duration_ms),j&4&&(q.mem=(Z=K[2])==null?void 0:Z.mem_peak),j&4&&(q.content=(Y=K[2])==null?void 0:Y.logs),j&2&&(q.isLoading=K[1]),_.$set(q)},i(K){I||(transition_in(_.$$.fragment,K),I=!0)},o(K){transition_out(_.$$.fragment,K),I=!1},d(K){destroy_component(_,K)}}}function create_else_block_1$9(B){let _,I,A,N;const U=[create_if_block_3$d,create_else_block_2$5],K=[];function j(q,G){return q[1]?0:1}return I=j(B),A=K[I]=U[I](B),{c(){_=element("div"),A.c(),attr(_,"class","text-sm text-gray-600 p-2")},m(q,G){insert(q,_,G),K[I].m(_,null),N=!0},p(q,G){let Z=I;I=j(q),I!==Z&&(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),A=K[I],A||(A=K[I]=U[I](q),A.c()),transition_in(A,1),A.m(_,null))},i(q){N||(transition_in(A),N=!0)},o(q){transition_out(A),N=!1},d(q){q&&detach(_),K[I].d()}}}function create_if_block_2$h(B){let _,I,A;return I=new DisplayResult({props:{result:B[2].result}}),{c(){_=element("div"),create_component(I.$$.fragment),attr(_,"class","relative w-full h-full p-2")},m(N,U){insert(N,_,U),mount_component(I,_,null),A=!0},p(N,U){const K={};U&4&&(K.result=N[2].result),I.$set(K)},i(N){A||(transition_in(I.$$.fragment,N),A=!0)},o(N){transition_out(I.$$.fragment,N),A=!1},d(N){N&&detach(_),destroy_component(I)}}}function create_else_block_2$5(B){let _;return{c(){_=text$1("Test to see the result here")},m(I,A){insert(I,_,A)},i:noop,o:noop,d(I){I&&detach(_)}}}function create_if_block_3$d(B){let _,I;return _=new Loader2({props:{class:"animate-spin"}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_default_slot_3$8(B){let _,I,A,N;const U=[create_if_block_2$h,create_else_block_1$9],K=[];function j(q,G){return q[2]!=null&&"result"in q[2]?0:1}return _=j(B),I=K[_]=U[_](B),{c(){I.c(),A=empty$1()},m(q,G){K[_].m(q,G),insert(q,A,G),N=!0},p(q,G){let Z=_;_=j(q),_===Z?K[_].p(q,G):(group_outros(),transition_out(K[Z],1,1,()=>{K[Z]=null}),check_outros(),I=K[_],I?I.p(q,G):(I=K[_]=U[_](q),I.c()),transition_in(I,1),I.m(A.parentNode,A))},i(q){N||(transition_in(I),N=!0)},o(q){transition_out(I),N=!1},d(q){K[_].d(q),q&&detach(A)}}}function create_default_slot_2$a(B){let _,I,A,N;return _=new Pane({props:{class:"relative",$$slots:{default:[create_default_slot_4$6]},$$scope:{ctx:B}}}),A=new Pane({props:{$$slots:{default:[create_default_slot_3$8]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment),I=space(),create_component(A.$$.fragment)},m(U,K){mount_component(_,U,K),insert(U,I,K),mount_component(A,U,K),N=!0},p(U,K){const j={};K&8388614&&(j.$$scope={dirty:K,ctx:U}),_.$set(j);const q={};K&8388614&&(q.$$scope={dirty:K,ctx:U}),A.$set(q)},i(U){N||(transition_in(_.$$.fragment,U),transition_in(A.$$.fragment,U),N=!0)},o(U){transition_out(_.$$.fragment,U),transition_out(A.$$.fragment,U),N=!1},d(U){destroy_component(_,U),U&&detach(I),destroy_component(A,U)}}}function create_default_slot_1$c(B){let _,I;return _=new Splitpanes({props:{horizontal:!0,$$slots:{default:[create_default_slot_2$a]},$$scope:{ctx:B}}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p(A,N){const U={};N&8388614&&(U.$$scope={dirty:N,ctx:A}),_.$set(U)},i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_header_row_slot$2(B){let _;return{c(){_=element("tr"),_.innerHTML=`Id - Created at - Success - Result - Code - Logs`,attr(_,"slot","header-row")},m(I,A){insert(I,_,A)},p:noop,d(I){I&&detach(_)}}}function create_else_block$g(B){let _,I;return _=new Icon({props:{class:"text-red-700",data:faTimes,scale:.6}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_if_block$o(B){let _,I;return _=new Icon({props:{class:"text-green-600",data:check,scale:.6}}),{c(){create_component(_.$$.fragment)},m(A,N){mount_component(_,A,N),I=!0},p:noop,i(A){I||(transition_in(_.$$.fragment,A),I=!0)},o(A){transition_out(_.$$.fragment,A),I=!1},d(A){destroy_component(_,A)}}}function create_each_block$c(B){let _,I,A,N=B[17].substring(30)+"",U,K,j,q,G=displayDate(B[18])+"",Z,Y,Q,J,ee,te,ie,ne,re=JSON.stringify(B[20]).substring(0,30)+"",oe,se,ae,ue,ce,le,de,fe,he,ge,pe,we;const ye=[create_if_block$o,create_else_block$g],Le=[];function Se($e,Oe){return $e[19]?0:1}J=Se(B),ee=Le[J]=ye[J](B);function Ae(){return B[13](B[20])}function be(){return B[14](B[17])}function xe(){return B[15](B[17])}return{c(){_=element("tr"),I=element("td"),A=element("a"),U=text$1(N),j=space(),q=element("td"),Z=text$1(G),Y=space(),Q=element("td"),ee.c(),te=space(),ie=element("td"),ne=element("a"),oe=text$1(re),se=text$1("..."),ae=space(),ue=element("td"),ce=element("a"),ce.textContent="View code",le=space(),de=element("td"),fe=element("a"),fe.textContent="View logs",he=space(),attr(A,"class","pr-3"),attr(A,"href",K="/run/"+B[17]),attr(A,"target","_blank"),attr(I,"class","text-xs"),attr(q,"class","text-xs"),attr(Q,"class","text-xs"),attr(ne,"href","#result"),attr(ne,"class","text-xs"),attr(ie,"class","text-xs"),attr(ce,"href","#code"),attr(ce,"class","text-xs"),attr(ue,"class","text-xs"),attr(fe,"href","#logs"),attr(fe,"class","text-xs"),attr(_,"class","")},m($e,Oe){insert($e,_,Oe),append$2(_,I),append$2(I,A),append$2(A,U),append$2(_,j),append$2(_,q),append$2(q,Z),append$2(_,Y),append$2(_,Q),Le[J].m(Q,null),append$2(_,te),append$2(_,ie),append$2(ie,ne),append$2(ne,oe),append$2(ne,se),append$2(_,ae),append$2(_,ue),append$2(ue,ce),append$2(_,le),append$2(_,de),append$2(de,fe),append$2(_,he),ge=!0,pe||(we=[listen(ne,"click",Ae),listen(ce,"click",be),listen(fe,"click",xe)],pe=!0)},p($e,Oe){B=$e,(!ge||Oe&8)&&N!==(N=B[17].substring(30)+"")&&set_data(U,N),(!ge||Oe&8&&K!==(K="/run/"+B[17]))&&attr(A,"href",K),(!ge||Oe&8)&&G!==(G=displayDate(B[18])+"")&&set_data(Z,G);let ze=J;J=Se(B),J===ze?Le[J].p(B,Oe):(group_outros(),transition_out(Le[ze],1,1,()=>{Le[ze]=null}),check_outros(),ee=Le[J],ee?ee.p(B,Oe):(ee=Le[J]=ye[J](B),ee.c()),transition_in(ee,1),ee.m(Q,null)),(!ge||Oe&8)&&re!==(re=JSON.stringify(B[20]).substring(0,30)+"")&&set_data(oe,re)},i($e){ge||(transition_in(ee),ge=!0)},o($e){transition_out(ee),ge=!1},d($e){$e&&detach(_),Le[J].d(),pe=!1,run_all(we)}}}function create_body_slot$2(B){let _,I,A=B[3],N=[];for(let K=0;Ktransition_out(N[K],1,1,()=>{N[K]=null});return{c(){_=element("tbody");for(let K=0;K{N=null}),check_outros());const j={};K&8388745&&(j.$$scope={dirty:K,ctx:U}),I.$set(j)},i(U){A||(transition_in(N),transition_in(I.$$.fragment,U),A=!0)},o(U){transition_out(N),transition_out(I.$$.fragment,U),A=!1},d(U){N&&N.d(U),U&&detach(_),destroy_component(I,U)}}}function create_fragment$1t(B){let _,I,A,N,U,K;function j(Y){B[12](Y)}let q={size:"800px",$$slots:{default:[create_default_slot_8$3]},$$scope:{ctx:B}};B[5]!==void 0&&(q.open=B[5]),_=new Drawer({props:q}),binding_callbacks.push(()=>bind(_,"open",j));function G(Y){B[16](Y)}let Z={class:"mt-1",$$slots:{content:[create_content_slot],default:[create_default_slot_5$6]},$$scope:{ctx:B}};return B[4]!==void 0&&(Z.selected=B[4]),N=new Tabs({props:Z}),binding_callbacks.push(()=>bind(N,"selected",G)),{c(){create_component(_.$$.fragment),A=space(),create_component(N.$$.fragment)},m(Y,Q){mount_component(_,Y,Q),insert(Y,A,Q),mount_component(N,Y,Q),K=!0},p(Y,[Q]){const J={};Q&8388672&&(J.$$scope={dirty:Q,ctx:Y}),!I&&Q&32&&(I=!0,J.open=Y[5],add_flush_callback(()=>I=!1)),_.$set(J);const ee={};Q&8388767&&(ee.$$scope={dirty:Q,ctx:Y}),!U&&Q&16&&(U=!0,ee.selected=Y[4],add_flush_callback(()=>U=!1)),N.$set(ee)},i(Y){K||(transition_in(_.$$.fragment,Y),transition_in(N.$$.fragment,Y),K=!0)},o(Y){transition_out(_.$$.fragment,Y),transition_out(N.$$.fragment,Y),K=!1},d(Y){destroy_component(_,Y),Y&&detach(A),destroy_component(N,Y)}}}function instance$1q(B,_,I){let A;component_subscribe(B,workspaceStore,se=>I(7,A=se));let{lang:N}=_,{previewIsLoading:U=!1}=_,{previewJob:K}=_,{pastPreviews:j=[]}=_,q="logs",G=!1,Z;function Y(){I(4,q="logs")}function Q(se){I(6,Z=se),I(5,G=!0)}function J(){I(5,G=!1)}const ee=()=>J();function te(se){G=se,I(5,G)}const ie=se=>{Q({mode:"json",content:se,title:"Result"})},ne=async se=>{const ae=(await JobService$2.getCompletedJob({workspace:A??"NO_W",id:se})).raw_code;Q({mode:N,content:String(ae),title:`Code ${N}`})},re=async se=>{const ae=(await JobService$2.getCompletedJob({workspace:A??"NO_W",id:se})).logs;Q({mode:"plain",content:String(ae),title:`Code ${N}`})};function oe(se){q=se,I(4,q)}return B.$$set=se=>{"lang"in se&&I(0,N=se.lang),"previewIsLoading"in se&&I(1,U=se.previewIsLoading),"previewJob"in se&&I(2,K=se.previewJob),"pastPreviews"in se&&I(3,j=se.pastPreviews)},[N,U,K,j,q,G,Z,A,Q,J,Y,ee,te,ie,ne,re,oe]}class LogPanel extends SvelteComponent{constructor(_){super(),init(this,_,instance$1q,create_fragment$1t,safe_not_equal,{lang:0,previewIsLoading:1,previewJob:2,pastPreviews:3,setFocusToLogs:10})}get setFocusToLogs(){return this.$$.ctx[10]}}function create_fragment$1s(B){let _,I,A,N,U,K,j,q,G,Z,Y;return{c(){_=svg_element("svg"),I=svg_element("style"),A=text$1(`.st0 { - fill: #ffffff; - } - .st1 { - opacity: 0.4; - fill: #ffffff; - } - .st2 { - fill: #bcd4fc; - } - .st3 { - fill: #3b82f6; - } - .st4 { - fill: #b3b3b3; - } - .st5 { - fill: url(#SVGID_1_); - } - .st6 { - fill: url(#SVGID_00000021089067129159788970000008246765442136188072_); - } - .st7 { - fill: url(#SVGID_00000117639240116366130650000015074833605515028638_); - } - .st8 { - opacity: 0.4; - fill: url(#SVGID_00000101781798616409025840000016567063639337360777_); - } - .st9 { - opacity: 0.4; - fill: url(#SVGID_00000052086836598721292040000002033117744178971046_); - } - .st10 { - opacity: 0.4; - fill: url(#SVGID_00000159460939004760751800000002448009281983951536_); - } - .st11 { - opacity: 0.4; - fill: url(#SVGID_00000013177830667419993080000017721442101626521532_); - } - .st12 { - opacity: 0.4; - fill: url(#SVGID_00000152235521444854938490000006526001119318383285_); - } - .st13 { - opacity: 0.4; - fill: url(#SVGID_00000119823135212293698520000012774889010992664993_); - }`),N=svg_element("g"),U=svg_element("polygon"),K=svg_element("polygon"),j=svg_element("polygon"),q=svg_element("polygon"),G=svg_element("polygon"),Z=svg_element("polygon"),attr(U,"class","st2"),attr(U,"points","134.78,14.22 114.31,48.21 101.33,69.75 158.22,69.75 177.97,36.95 191.67,14.22 "),attr(K,"points","227.55,69.75 186.61,69.75 101.33,69.75 129.78,119.02 158.16,119.02 228.61,119.02 256,119.02 "),toggle_class(K,"st3",!B[2]),toggle_class(K,"st0",B[2]),attr(j,"points",`136.93,132.47 116.46,167.93 73.82,241.78 130.71,241.78 144.9,217.2 180.13,156.18 193.82,132.46 - `),toggle_class(j,"st3",!B[2]),toggle_class(j,"st0",B[2]),attr(q,"points","121.7,131.95 101.23,96.49 58.59,22.63 30.15,71.91 44.34,96.49 79.57,157.5 93.26,181.22 "),toggle_class(q,"st3",!B[2]),toggle_class(q,"st0",B[2]),attr(G,"class","st2"),attr(G,"points","64.81,131.95 25.15,131.21 0,130.74 28.44,180.01 66.73,180.72 93.26,181.21 "),attr(Z,"class","st2"),attr(Z,"points","165.38,181.74 184.58,216.46 196.75,238.47 225.19,189.2 206.66,155.69 193.83,132.46 "),attr(_,"class",Y=B[4].class),attr(_,"version","1.1"),attr(_,"id","Calque_1"),attr(_,"xmlns","http://www.w3.org/2000/svg"),attr(_,"xmlns:xlink","http://www.w3.org/1999/xlink"),attr(_,"x","0px"),attr(_,"y","0px"),attr(_,"width",B[1]),attr(_,"height",B[0]),attr(_,"viewBox","0 0 256 256"),set_style(_,"enable-background","new 0 0 256 256"),attr(_,"xml:space","preserve"),toggle_class(_,"animate-[spin_5s_linear_infinite]",B[3]==="fast"),toggle_class(_,"animate-[spin_15s_linear_infinite]",B[3]==="medium"),toggle_class(_,"animate-[spin_50s_linear_infinite]",B[3]==="slow")},m(Q,J){insert(Q,_,J),append$2(_,I),append$2(I,A),append$2(_,N),append$2(N,U),append$2(N,K),append$2(N,j),append$2(N,q),append$2(N,G),append$2(N,Z)},p(Q,[J]){J&4&&toggle_class(K,"st3",!Q[2]),J&4&&toggle_class(K,"st0",Q[2]),J&4&&toggle_class(j,"st3",!Q[2]),J&4&&toggle_class(j,"st0",Q[2]),J&4&&toggle_class(q,"st3",!Q[2]),J&4&&toggle_class(q,"st0",Q[2]),J&16&&Y!==(Y=Q[4].class)&&attr(_,"class",Y),J&2&&attr(_,"width",Q[1]),J&1&&attr(_,"height",Q[0]),J&24&&toggle_class(_,"animate-[spin_5s_linear_infinite]",Q[3]==="fast"),J&24&&toggle_class(_,"animate-[spin_15s_linear_infinite]",Q[3]==="medium"),J&24&&toggle_class(_,"animate-[spin_50s_linear_infinite]",Q[3]==="slow")},i:noop,o:noop,d(Q){Q&&detach(_)}}}function instance$1p(B,_,I){let{height:A="24px"}=_,{width:N="24px"}=_,{white:U=!1}=_,{spin:K=void 0}=_;return B.$$set=j=>{I(4,_=assign(assign({},_),exclude_internal_props(j))),"height"in j&&I(0,A=j.height),"width"in j&&I(1,N=j.width),"white"in j&&I(2,U=j.white),"spin"in j&&I(3,K=j.spin)},_=exclude_internal_props(_),[A,N,U,K,_]}class WindmillIcon extends SvelteComponent{constructor(_){super(),init(this,_,instance$1p,create_fragment$1s,safe_not_equal,{height:0,width:1,white:2,spin:3})}}globalThis&&globalThis.__awaiter;let isPseudo=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function _format$1(B,_){let I;return _.length===0?I=B:I=B.replace(/\{(\d+)\}/g,(A,N)=>{const U=N[0],K=_[U];let j=A;return typeof K=="string"?j=K:(typeof K=="number"||typeof K=="boolean"||K===void 0||K===null)&&(j=String(K)),j}),isPseudo&&(I="["+I.replace(/[aouei]/g,"$&$&")+"]"),I}function localize(B,_,...I){return _format$1(_,I)}function getConfiguredDefaultLocale(B){}var _a$d;const LANGUAGE_DEFAULT="en";let _isWindows=!1,_isMacintosh=!1,_isLinux=!1,_isNative=!1,_isWeb=!1,_isIOS=!1,_isMobile=!1,_locale,_language=LANGUAGE_DEFAULT,_platformLocale=LANGUAGE_DEFAULT,_translationsConfigFile,_userAgent;const globals=typeof self=="object"?self:typeof global=="object"?global:{};let nodeProcess;typeof globals.vscode<"u"&&typeof globals.vscode.process<"u"?nodeProcess=globals.vscode.process:typeof process<"u"&&(nodeProcess=process);const isElectronProcess=typeof((_a$d=nodeProcess==null?void 0:nodeProcess.versions)===null||_a$d===void 0?void 0:_a$d.electron)=="string",isElectronRenderer=isElectronProcess&&(nodeProcess==null?void 0:nodeProcess.type)==="renderer";if(typeof navigator=="object"&&!isElectronRenderer)_userAgent=navigator.userAgent,_isWindows=_userAgent.indexOf("Windows")>=0,_isMacintosh=_userAgent.indexOf("Macintosh")>=0,_isIOS=(_userAgent.indexOf("Macintosh")>=0||_userAgent.indexOf("iPad")>=0||_userAgent.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,_isLinux=_userAgent.indexOf("Linux")>=0,_isMobile=(_userAgent==null?void 0:_userAgent.indexOf("Mobi"))>=0,_isWeb=!0,localize({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),_locale=LANGUAGE_DEFAULT,_language=_locale,_platformLocale=navigator.language;else if(typeof nodeProcess=="object"){_isWindows=nodeProcess.platform==="win32",_isMacintosh=nodeProcess.platform==="darwin",_isLinux=nodeProcess.platform==="linux",_isLinux&&nodeProcess.env.SNAP&&nodeProcess.env.SNAP_REVISION,nodeProcess.env.CI||nodeProcess.env.BUILD_ARTIFACTSTAGINGDIRECTORY,_locale=LANGUAGE_DEFAULT,_language=LANGUAGE_DEFAULT;const B=nodeProcess.env.VSCODE_NLS_CONFIG;if(B)try{const _=JSON.parse(B),I=_.availableLanguages["*"];_locale=_.locale,_platformLocale=_.osLocale,_language=I||LANGUAGE_DEFAULT,_translationsConfigFile=_._translationsConfigFile}catch{}_isNative=!0}else console.error("Unable to resolve platform.");const isWindows=_isWindows,isMacintosh=_isMacintosh,isLinux=_isLinux,isNative=_isNative,isWeb=_isWeb,isWebWorker=_isWeb&&typeof globals.importScripts=="function",isIOS=_isIOS,isMobile=_isMobile,userAgent$1=_userAgent,language=_language;var Language;(function(B){function _(){return language}B.value=_;function I(){return language.length===2?language==="en":language.length>=3?language[0]==="e"&&language[1]==="n"&&language[2]==="-":!1}B.isDefaultVariant=I;function A(){return language==="en"}B.isDefault=A})(Language||(Language={}));const setTimeout0IsFaster=typeof globals.postMessage=="function"&&!globals.importScripts,setTimeout0=(()=>{if(setTimeout0IsFaster){const B=[];globals.addEventListener("message",I=>{if(I.data&&I.data.vscodeScheduleAsyncWork)for(let A=0,N=B.length;A{const A=++_;B.push({id:A,callback:I}),globals.postMessage({vscodeScheduleAsyncWork:A},"*")}}return B=>setTimeout(B)})(),OS=_isMacintosh||_isIOS?2:_isWindows?1:3;let _isLittleEndian=!0,_isLittleEndianComputed=!1;function isLittleEndian(){if(!_isLittleEndianComputed){_isLittleEndianComputed=!0;const B=new Uint8Array(2);B[0]=1,B[1]=2,_isLittleEndian=new Uint16Array(B.buffer)[0]===512+1}return _isLittleEndian}const isChrome$1=!!(userAgent$1&&userAgent$1.indexOf("Chrome")>=0),isFirefox$1=!!(userAgent$1&&userAgent$1.indexOf("Firefox")>=0),isSafari$1=!!(!isChrome$1&&userAgent$1&&userAgent$1.indexOf("Safari")>=0),isEdge=!!(userAgent$1&&userAgent$1.indexOf("Edg/")>=0);userAgent$1&&userAgent$1.indexOf("Android")>=0;var Iterable;(function(B){function _(ne){return ne&&typeof ne=="object"&&typeof ne[Symbol.iterator]=="function"}B.is=_;const I=Object.freeze([]);function A(){return I}B.empty=A;function*N(ne){yield ne}B.single=N;function U(ne){return _(ne)?ne:N(ne)}B.wrap=U;function K(ne){return ne||I}B.from=K;function j(ne){return!ne||ne[Symbol.iterator]().next().done===!0}B.isEmpty=j;function q(ne){return ne[Symbol.iterator]().next().value}B.first=q;function G(ne,re){for(const oe of ne)if(re(oe))return!0;return!1}B.some=G;function Z(ne,re){for(const oe of ne)if(re(oe))return oe}B.find=Z;function*Y(ne,re){for(const oe of ne)re(oe)&&(yield oe)}B.filter=Y;function*Q(ne,re){let oe=0;for(const se of ne)yield re(se,oe++)}B.map=Q;function*J(...ne){for(const re of ne)for(const oe of re)yield oe}B.concat=J;function ee(ne,re,oe){let se=oe;for(const ae of ne)se=re(se,ae);return se}B.reduce=ee;function*te(ne,re,oe=ne.length){for(re<0&&(re+=ne.length),oe<0?oe+=ne.length:oe>ne.length&&(oe=ne.length);re1)throw new AggregateError(_,"Encountered errors while disposing of store");return Array.isArray(B)?[]:B}else if(B)return B.dispose(),B}function combinedDisposable(...B){return toDisposable(()=>dispose(B))}function toDisposable(B){return{dispose:once$1(()=>{B()})}}class DisposableStore{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{dispose(this._toDispose)}finally{this._toDispose.clear()}}add(_){if(!_)return _;if(_===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?DisposableStore.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(_),_}}DisposableStore.DISABLE_DISPOSED_WARNING=!1;class Disposable{constructor(){this._store=new DisposableStore,this._store}dispose(){this._store.dispose()}_register(_){if(_===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(_)}}Disposable.None=Object.freeze({dispose(){}});class MutableDisposable{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(_){var I;this._isDisposed||_===this._value||((I=this._value)===null||I===void 0||I.dispose(),this._value=_)}clear(){this.value=void 0}dispose(){var _;this._isDisposed=!0,(_=this._value)===null||_===void 0||_.dispose(),this._value=void 0}clearAndLeak(){const _=this._value;return this._value=void 0,_}}class RefCountedDisposable{constructor(_){this._disposable=_,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}class SafeDisposable{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(_){let I=_;return this.unset=()=>I=void 0,this.isset=()=>I!==void 0,this.dispose=()=>{I&&(I(),I=void 0)},this}}class ImmortalReference{constructor(_){this.object=_}dispose(){}}class DisposableMap{constructor(){this._store=new Map,this._isDisposed=!1}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{dispose(this._store.values())}finally{this._store.clear()}}has(_){return this._store.has(_)}get(_){return this._store.get(_)}set(_,I,A=!1){var N;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),A||(N=this._store.get(_))===null||N===void 0||N.dispose(),this._store.set(_,I)}deleteAndDispose(_){var I;(I=this._store.get(_))===null||I===void 0||I.dispose(),this._store.delete(_)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}let Node$2=class un{constructor(_){this.element=_,this.next=un.Undefined,this.prev=un.Undefined}};Node$2.Undefined=new Node$2(void 0);class LinkedList{constructor(){this._first=Node$2.Undefined,this._last=Node$2.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Node$2.Undefined}clear(){let _=this._first;for(;_!==Node$2.Undefined;){const I=_.next;_.prev=Node$2.Undefined,_.next=Node$2.Undefined,_=I}this._first=Node$2.Undefined,this._last=Node$2.Undefined,this._size=0}unshift(_){return this._insert(_,!1)}push(_){return this._insert(_,!0)}_insert(_,I){const A=new Node$2(_);if(this._first===Node$2.Undefined)this._first=A,this._last=A;else if(I){const U=this._last;this._last=A,A.prev=U,U.next=A}else{const U=this._first;this._first=A,A.next=U,U.prev=A}this._size+=1;let N=!1;return()=>{N||(N=!0,this._remove(A))}}shift(){if(this._first!==Node$2.Undefined){const _=this._first.element;return this._remove(this._first),_}}pop(){if(this._last!==Node$2.Undefined){const _=this._last.element;return this._remove(this._last),_}}_remove(_){if(_.prev!==Node$2.Undefined&&_.next!==Node$2.Undefined){const I=_.prev;I.next=_.next,_.next.prev=I}else _.prev===Node$2.Undefined&&_.next===Node$2.Undefined?(this._first=Node$2.Undefined,this._last=Node$2.Undefined):_.next===Node$2.Undefined?(this._last=this._last.prev,this._last.next=Node$2.Undefined):_.prev===Node$2.Undefined&&(this._first=this._first.next,this._first.prev=Node$2.Undefined);this._size-=1}*[Symbol.iterator](){let _=this._first;for(;_!==Node$2.Undefined;)yield _.element,_=_.next}}const USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function createWordRegExp(B=""){let _="(-?\\d*\\.\\d\\w*)|([^";for(const I of USUAL_WORD_SEPARATORS)B.indexOf(I)>=0||(_+="\\"+I);return _+="\\s]+)",new RegExp(_,"g")}const DEFAULT_WORD_REGEXP=createWordRegExp();function ensureValidWordDefinition(B){let _=DEFAULT_WORD_REGEXP;if(B&&B instanceof RegExp)if(B.global)_=B;else{let I="g";B.ignoreCase&&(I+="i"),B.multiline&&(I+="m"),B.unicode&&(I+="u"),_=new RegExp(B.source,I)}return _.lastIndex=0,_}const _defaultConfig=new LinkedList;_defaultConfig.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function getWordAtText(B,_,I,A,N){if(N||(N=Iterable.first(_defaultConfig)),I.length>N.maxLen){let G=B-N.maxLen/2;return G<0?G=0:A+=G,I=I.substring(G,B+N.maxLen/2),getWordAtText(B,_,I,A,N)}const U=Date.now(),K=B-1-A;let j=-1,q=null;for(let G=1;!(Date.now()-U>=N.timeBudget);G++){const Z=K-N.windowSize*G;_.lastIndex=Math.max(0,Z);const Y=_findRegexMatchEnclosingPosition(_,I,K,j);if(!Y&&q||(q=Y,Z<=0))break;j=Z}if(q){const G={word:q[0],startColumn:A+1+q.index,endColumn:A+1+q.index+q[0].length};return _.lastIndex=0,G}return null}function _findRegexMatchEnclosingPosition(B,_,I,A){let N;for(;N=B.exec(_);){const U=N.index||0;if(U<=I&&B.lastIndex>=I)return N;if(A>0&&U>A)return null}return null}class ErrorHandler{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(_){setTimeout(()=>{throw _.stack?ErrorNoTelemetry.isErrorNoTelemetry(_)?new ErrorNoTelemetry(_.message+` - -`+_.stack):new Error(_.message+` - -`+_.stack):_},0)}}addListener(_){return this.listeners.push(_),()=>{this._removeListener(_)}}emit(_){this.listeners.forEach(I=>{I(_)})}_removeListener(_){this.listeners.splice(this.listeners.indexOf(_),1)}setUnexpectedErrorHandler(_){this.unexpectedErrorHandler=_}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(_){this.unexpectedErrorHandler(_),this.emit(_)}onUnexpectedExternalError(_){this.unexpectedErrorHandler(_)}}const errorHandler=new ErrorHandler;function onUnexpectedError(B){isCancellationError(B)||errorHandler.onUnexpectedError(B)}function onUnexpectedExternalError(B){isCancellationError(B)||errorHandler.onUnexpectedExternalError(B)}function transformErrorForSerialization(B){if(B instanceof Error){const{name:_,message:I}=B,A=B.stacktrace||B.stack;return{$isError:!0,name:_,message:I,stack:A,noTelemetry:ErrorNoTelemetry.isErrorNoTelemetry(B)}}return B}const canceledName="Canceled";function isCancellationError(B){return B instanceof CancellationError?!0:B instanceof Error&&B.name===canceledName&&B.message===canceledName}class CancellationError extends Error{constructor(){super(canceledName),this.name=this.message}}function canceled(){const B=new Error(canceledName);return B.name=B.message,B}function illegalArgument(B){return B?new Error(`Illegal argument: ${B}`):new Error("Illegal argument")}function illegalState(B){return B?new Error(`Illegal state: ${B}`):new Error("Illegal state")}class NotSupportedError extends Error{constructor(_){super("NotSupported"),_&&(this.message=_)}}class ErrorNoTelemetry extends Error{constructor(_){super(_),this.name="CodeExpectedError"}static fromError(_){if(_ instanceof ErrorNoTelemetry)return _;const I=new ErrorNoTelemetry;return I.message=_.message,I.stack=_.stack,I}static isErrorNoTelemetry(_){return _.name==="CodeExpectedError"}}class BugIndicatingError extends Error{constructor(_){super(_||"An unexpected bug occurred."),Object.setPrototypeOf(this,BugIndicatingError.prototype);debugger}}globalThis&&globalThis.__awaiter;function tail(B,_=0){return B[B.length-(1+_)]}function tail2(B){if(B.length===0)throw new Error("Invalid tail call");return[B.slice(0,B.length-1),B[B.length-1]]}function equals$1(B,_,I=(A,N)=>A===N){if(B===_)return!0;if(!B||!_||B.length!==_.length)return!1;for(let A=0,N=B.length;AI(B[A],_))}function binarySearch2(B,_){let I=0,A=B-1;for(;I<=A;){const N=(I+A)/2|0,U=_(N);if(U<0)I=N+1;else if(U>0)A=N-1;else return N}return-(I+1)}function findFirstInSorted(B,_){let I=0,A=B.length;if(A===0)return 0;for(;I=_.length)throw new TypeError("invalid index");const A=_[Math.floor(_.length*Math.random())],N=[],U=[],K=[];for(const j of _){const q=I(j,A);q<0?N.push(j):q>0?U.push(j):K.push(j)}return B!!_)}function coalesceInPlace(B){let _=0;for(let I=0;I0}function distinct$1(B,_=I=>I){const I=new Set;return B.filter(A=>{const N=_(A);return I.has(N)?!1:(I.add(N),!0)})}function findLast(B,_){const I=lastIndex(B,_);if(I!==-1)return B[I]}function lastIndex(B,_){for(let I=B.length-1;I>=0;I--){const A=B[I];if(_(A))return I}return-1}function firstOrDefault(B,_){return B.length>0?B[0]:_}function range(B,_){let I=typeof _=="number"?B:0;typeof _=="number"?I=B:(I=0,_=B);const A=[];if(I<=_)for(let N=I;N<_;N++)A.push(N);else for(let N=I;N>_;N--)A.push(N);return A}function arrayInsert(B,_,I){const A=B.slice(0,_),N=B.slice(_);return A.concat(I,N)}function shuffle(B,_){let I;if(typeof _=="number"){let A=_;I=()=>{const N=Math.sin(A++)*179426549;return N-Math.floor(N)}}else I=Math.random;for(let A=B.length-1;A>0;A-=1){const N=Math.floor(I()*(A+1)),U=B[A];B[A]=B[N],B[N]=U}}function pushToStart(B,_){const I=B.indexOf(_);I>-1&&(B.splice(I,1),B.unshift(_))}function pushToEnd(B,_){const I=B.indexOf(_);I>-1&&(B.splice(I,1),B.push(_))}function pushMany(B,_){for(const I of _)B.push(I)}function asArray(B){return Array.isArray(B)?B:[B]}function insertInto(B,_,I){const A=getActualStartIndex(B,_),N=B.length,U=I.length;B.length=N+U;for(let K=N-1;K>=A;K--)B[K+U]=B[K];for(let K=0;K0}B.isGreaterThan=I;function A(N){return N===0}B.isNeitherLessOrGreaterThan=A,B.greaterThan=1,B.lessThan=-1,B.neitherLessOrGreaterThan=0})(CompareResult||(CompareResult={}));function compareBy(B,_){return(I,A)=>_(B(I),B(A))}const numberComparator=(B,_)=>B-_;function findMaxBy(B,_){if(B.length===0)return;let I=B[0];for(let A=1;A0&&(I=N)}return I}function findLastMaxBy(B,_){if(B.length===0)return;let I=B[0];for(let A=1;A=0&&(I=N)}return I}function findMinBy(B,_){return findMaxBy(B,(I,A)=>-_(I,A))}class ArrayQueue{constructor(_){this.items=_,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(_){let I=this.firstIdx;for(;I=0&&_(this.items[I]);)I--;const A=I===this.lastIdx?null:this.items.slice(I+1,this.lastIdx+1);return this.lastIdx=I,A}peek(){if(this.length!==0)return this.items[this.firstIdx]}peekLast(){if(this.length!==0)return this.items[this.lastIdx]}dequeue(){const _=this.items[this.firstIdx];return this.firstIdx++,_}removeLast(){const _=this.items[this.lastIdx];return this.lastIdx--,_}takeCount(_){const I=this.items.slice(this.firstIdx,this.firstIdx+_);return this.firstIdx+=_,I}}class CallbackIterable{constructor(_){this.iterate=_}forEach(_){this.iterate(I=>(_(I),!0))}toArray(){const _=[];return this.iterate(I=>(_.push(I),!0)),_}filter(_){return new CallbackIterable(I=>this.iterate(A=>_(A)?I(A):!0))}map(_){return new CallbackIterable(I=>this.iterate(A=>I(_(A))))}some(_){let I=!1;return this.iterate(A=>(I=_(A),!I)),I}findFirst(_){let I;return this.iterate(A=>_(A)?(I=A,!1):!0),I}findLast(_){let I;return this.iterate(A=>(_(A)&&(I=A),!0)),I}findLastMaxBy(_){let I,A=!0;return this.iterate(N=>((A||CompareResult.isGreaterThan(_(N,I)))&&(A=!1,I=N),!0)),I}}CallbackIterable.empty=new CallbackIterable(B=>{});function isString$2(B){return typeof B=="string"}function isObject(B){return typeof B=="object"&&B!==null&&!Array.isArray(B)&&!(B instanceof RegExp)&&!(B instanceof Date)}function isTypedArray(B){const _=Object.getPrototypeOf(Uint8Array);return typeof B=="object"&&B instanceof _}function isNumber$1(B){return typeof B=="number"&&!isNaN(B)}function isIterable(B){return!!B&&typeof B[Symbol.iterator]=="function"}function isBoolean(B){return B===!0||B===!1}function isUndefined(B){return typeof B>"u"}function isDefined(B){return!isUndefinedOrNull(B)}function isUndefinedOrNull(B){return isUndefined(B)||B===null}function assertType(B,_){if(!B)throw new Error(_?`Unexpected type, expected '${_}'`:"Unexpected type")}function assertIsDefined(B){if(isUndefinedOrNull(B))throw new Error("Assertion Failed: argument is undefined or null");return B}const hasOwnProperty$3=Object.prototype.hasOwnProperty;function isEmptyObject(B){if(!isObject(B))return!1;for(const _ in B)if(hasOwnProperty$3.call(B,_))return!1;return!0}function isFunction(B){return typeof B=="function"}function validateConstraints(B,_){const I=Math.min(B.length,_.length);for(let A=0;A{_[I]=A&&typeof A=="object"?deepClone(A):A}),_}function deepFreeze(B){if(!B||typeof B!="object")return B;const _=[B];for(;_.length>0;){const I=_.shift();Object.freeze(I);for(const A in I)if(_hasOwnProperty.call(I,A)){const N=I[A];typeof N=="object"&&!Object.isFrozen(N)&&!isTypedArray(N)&&_.push(N)}}return B}const _hasOwnProperty=Object.prototype.hasOwnProperty;function cloneAndChange(B,_){return _cloneAndChange(B,_,new Set)}function _cloneAndChange(B,_,I){if(isUndefinedOrNull(B))return B;const A=_(B);if(typeof A<"u")return A;if(Array.isArray(B)){const N=[];for(const U of B)N.push(_cloneAndChange(U,_,I));return N}if(isObject(B)){if(I.has(B))throw new Error("Cannot clone recursive data-structure");I.add(B);const N={};for(const U in B)_hasOwnProperty.call(B,U)&&(N[U]=_cloneAndChange(B[U],_,I));return I.delete(B),N}return B}function mixin(B,_,I=!0){return isObject(B)?(isObject(_)&&Object.keys(_).forEach(A=>{A in B?I&&(isObject(B[A])&&isObject(_[A])?mixin(B[A],_[A],I):B[A]=_[A]):B[A]=_[A]}),B):_}function equals(B,_){if(B===_)return!0;if(B==null||_===null||_===void 0||typeof B!=typeof _||typeof B!="object"||Array.isArray(B)!==Array.isArray(_))return!1;let I,A;if(Array.isArray(B)){if(B.length!==_.length)return!1;for(I=0;I{const U=B[N],K=_[N];equals(U,K)||(I[N]=K)}),I}function getAllPropertyNames(B){let _=[],I=Object.getPrototypeOf(B);for(;Object.prototype!==I;)_=_.concat(Object.getOwnPropertyNames(I)),I=Object.getPrototypeOf(I);return _}function getAllMethodNames(B){const _=[];for(const I of getAllPropertyNames(B))typeof B[I]=="function"&&_.push(I);return _}function createProxyObject$1(B,_){const I=N=>function(){const U=Array.prototype.slice.call(arguments,0);return _(N,U)},A={};for(const N of B)A[N]=I(N);return A}const EDITOR_MODEL_DEFAULTS={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},MINIMAP_GUTTER_WIDTH=8;class ConfigurationChangedEvent{constructor(_){this._values=_}hasChanged(_){return this._values[_]}}class ComputeOptionsMemory{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class BaseEditorOption{constructor(_,I,A,N){this.id=_,this.name=I,this.defaultValue=A,this.schema=N}applyUpdate(_,I){return applyUpdate(_,I)}compute(_,I,A){return A}}class ApplyUpdateResult{constructor(_,I){this.newValue=_,this.didChange=I}}function applyUpdate(B,_){if(typeof B!="object"||typeof _!="object"||!B||!_)return new ApplyUpdateResult(_,B!==_);if(Array.isArray(B)||Array.isArray(_)){const A=Array.isArray(B)&&Array.isArray(_)&&equals$1(B,_);return new ApplyUpdateResult(_,!A)}let I=!1;for(const A in _)if(_.hasOwnProperty(A)){const N=applyUpdate(B[A],_[A]);N.didChange&&(B[A]=N.newValue,I=!0)}return new ApplyUpdateResult(B,I)}class ComputedEditorOption{constructor(_){this.schema=void 0,this.id=_,this.name="_never_",this.defaultValue=void 0}applyUpdate(_,I){return applyUpdate(_,I)}validate(_){return this.defaultValue}}class SimpleEditorOption{constructor(_,I,A,N){this.id=_,this.name=I,this.defaultValue=A,this.schema=N}applyUpdate(_,I){return applyUpdate(_,I)}validate(_){return typeof _>"u"?this.defaultValue:_}compute(_,I,A){return A}}function boolean(B,_){return typeof B>"u"?_:B==="false"?!1:!!B}class EditorBooleanOption extends SimpleEditorOption{constructor(_,I,A,N=void 0){typeof N<"u"&&(N.type="boolean",N.default=A),super(_,I,A,N)}validate(_){return boolean(_,this.defaultValue)}}function clampedInt(B,_,I,A){if(typeof B>"u")return _;let N=parseInt(B,10);return isNaN(N)?_:(N=Math.max(I,N),N=Math.min(A,N),N|0)}class EditorIntOption extends SimpleEditorOption{static clampedInt(_,I,A,N){return clampedInt(_,I,A,N)}constructor(_,I,A,N,U,K=void 0){typeof K<"u"&&(K.type="integer",K.default=A,K.minimum=N,K.maximum=U),super(_,I,A,K),this.minimum=N,this.maximum=U}validate(_){return EditorIntOption.clampedInt(_,this.defaultValue,this.minimum,this.maximum)}}class EditorFloatOption extends SimpleEditorOption{static clamp(_,I,A){return _A?A:_}static float(_,I){if(typeof _=="number")return _;if(typeof _>"u")return I;const A=parseFloat(_);return isNaN(A)?I:A}constructor(_,I,A,N,U){typeof U<"u"&&(U.type="number",U.default=A),super(_,I,A,U),this.validationFn=N}validate(_){return this.validationFn(EditorFloatOption.float(_,this.defaultValue))}}class EditorStringOption extends SimpleEditorOption{static string(_,I){return typeof _!="string"?I:_}constructor(_,I,A,N=void 0){typeof N<"u"&&(N.type="string",N.default=A),super(_,I,A,N)}validate(_){return EditorStringOption.string(_,this.defaultValue)}}function stringSet(B,_,I){return typeof B!="string"||I.indexOf(B)===-1?_:B}class EditorStringEnumOption extends SimpleEditorOption{constructor(_,I,A,N,U=void 0){typeof U<"u"&&(U.type="string",U.enum=N,U.default=A),super(_,I,A,U),this._allowedValues=N}validate(_){return stringSet(_,this.defaultValue,this._allowedValues)}}class EditorEnumOption extends BaseEditorOption{constructor(_,I,A,N,U,K,j=void 0){typeof j<"u"&&(j.type="string",j.enum=U,j.default=N),super(_,I,A,j),this._allowedValues=U,this._convert=K}validate(_){return typeof _!="string"?this.defaultValue:this._allowedValues.indexOf(_)===-1?this.defaultValue:this._convert(_)}}function _autoIndentFromString(B){switch(B){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class EditorAccessibilitySupport extends BaseEditorOption{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[localize("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached"),localize("accessibilitySupport.on","Optimize for usage with a Screen Reader"),localize("accessibilitySupport.off","Assume a screen reader is not attached")],default:"auto",tags:["accessibility"],description:localize("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(_){switch(_){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(_,I,A){return A===0?_.accessibilitySupport:A}}class EditorComments extends BaseEditorOption{constructor(){const _={insertSpace:!0,ignoreEmptyLines:!0};super(21,"comments",_,{"editor.comments.insertSpace":{type:"boolean",default:_.insertSpace,description:localize("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:_.ignoreEmptyLines,description:localize("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{insertSpace:boolean(I.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:boolean(I.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function _cursorBlinkingStyleFromString(B){switch(B){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var TextEditorCursorStyle$1;(function(B){B[B.Line=1]="Line",B[B.Block=2]="Block",B[B.Underline=3]="Underline",B[B.LineThin=4]="LineThin",B[B.BlockOutline=5]="BlockOutline",B[B.UnderlineThin=6]="UnderlineThin"})(TextEditorCursorStyle$1||(TextEditorCursorStyle$1={}));function _cursorStyleFromString(B){switch(B){case"line":return TextEditorCursorStyle$1.Line;case"block":return TextEditorCursorStyle$1.Block;case"underline":return TextEditorCursorStyle$1.Underline;case"line-thin":return TextEditorCursorStyle$1.LineThin;case"block-outline":return TextEditorCursorStyle$1.BlockOutline;case"underline-thin":return TextEditorCursorStyle$1.UnderlineThin}}class EditorClassName extends ComputedEditorOption{constructor(){super(136)}compute(_,I,A){const N=["monaco-editor"];return I.get(37)&&N.push(I.get(37)),_.extraEditorClassName&&N.push(_.extraEditorClassName),I.get(71)==="default"?N.push("mouse-default"):I.get(71)==="copy"&&N.push("mouse-copy"),I.get(106)&&N.push("showUnused"),I.get(134)&&N.push("showDeprecated"),N.join(" ")}}class EditorEmptySelectionClipboard extends EditorBooleanOption{constructor(){super(35,"emptySelectionClipboard",!0,{description:localize("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(_,I,A){return A&&_.emptySelectionClipboard}}class EditorFind extends BaseEditorOption{constructor(){const _={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(39,"find",_,{"editor.find.cursorMoveOnType":{type:"boolean",default:_.cursorMoveOnType,description:localize("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:_.seedSearchStringFromSelection,enumDescriptions:[localize("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),localize("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),localize("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:localize("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:_.autoFindInSelection,enumDescriptions:[localize("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),localize("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),localize("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:localize("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:_.globalFindClipboard,description:localize("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:isMacintosh},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:_.addExtraSpaceOnTop,description:localize("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:_.loop,description:localize("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{cursorMoveOnType:boolean(I.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof _.seedSearchStringFromSelection=="boolean"?_.seedSearchStringFromSelection?"always":"never":stringSet(I.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof _.autoFindInSelection=="boolean"?_.autoFindInSelection?"always":"never":stringSet(I.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:boolean(I.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:boolean(I.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:boolean(I.loop,this.defaultValue.loop)}}}class EditorFontLigatures extends BaseEditorOption{constructor(){super(49,"fontLigatures",EditorFontLigatures.OFF,{anyOf:[{type:"boolean",description:localize("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:localize("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:localize("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(_){return typeof _>"u"?this.defaultValue:typeof _=="string"?_==="false"?EditorFontLigatures.OFF:_==="true"?EditorFontLigatures.ON:_:_?EditorFontLigatures.ON:EditorFontLigatures.OFF}}EditorFontLigatures.OFF='"liga" off, "calt" off';EditorFontLigatures.ON='"liga" on, "calt" on';class EditorFontVariations extends BaseEditorOption{constructor(){super(52,"fontVariations",EditorFontVariations.OFF,{anyOf:[{type:"boolean",description:localize("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:localize("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:localize("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(_){return typeof _>"u"?this.defaultValue:typeof _=="string"?_==="false"?EditorFontVariations.OFF:_==="true"?EditorFontVariations.TRANSLATE:_:_?EditorFontVariations.TRANSLATE:EditorFontVariations.OFF}compute(_,I,A){return _.fontInfo.fontVariationSettings}}EditorFontVariations.OFF="normal";EditorFontVariations.TRANSLATE="translate";class EditorFontInfo extends ComputedEditorOption{constructor(){super(48)}compute(_,I,A){return _.fontInfo}}class EditorFontSize extends SimpleEditorOption{constructor(){super(50,"fontSize",EDITOR_FONT_DEFAULTS.fontSize,{type:"number",minimum:6,maximum:100,default:EDITOR_FONT_DEFAULTS.fontSize,description:localize("fontSize","Controls the font size in pixels.")})}validate(_){const I=EditorFloatOption.float(_,this.defaultValue);return I===0?EDITOR_FONT_DEFAULTS.fontSize:EditorFloatOption.clamp(I,6,100)}compute(_,I,A){return _.fontInfo.fontSize}}class EditorFontWeight extends BaseEditorOption{constructor(){super(51,"fontWeight",EDITOR_FONT_DEFAULTS.fontWeight,{anyOf:[{type:"number",minimum:EditorFontWeight.MINIMUM_VALUE,maximum:EditorFontWeight.MAXIMUM_VALUE,errorMessage:localize("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:EditorFontWeight.SUGGESTION_VALUES}],default:EDITOR_FONT_DEFAULTS.fontWeight,description:localize("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(_){return _==="normal"||_==="bold"?_:String(EditorIntOption.clampedInt(_,EDITOR_FONT_DEFAULTS.fontWeight,EditorFontWeight.MINIMUM_VALUE,EditorFontWeight.MAXIMUM_VALUE))}}EditorFontWeight.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];EditorFontWeight.MINIMUM_VALUE=1;EditorFontWeight.MAXIMUM_VALUE=1e3;class EditorGoToLocation extends BaseEditorOption{constructor(){const _={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},I={type:"string",enum:["peek","gotoAndPeek","goto"],default:_.multiple,enumDescriptions:[localize("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),localize("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),localize("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},A=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(56,"gotoLocation",_,{"editor.gotoLocation.multiple":{deprecationMessage:localize("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:localize("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},I),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:localize("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},I),"editor.gotoLocation.multipleDeclarations":Object.assign({description:localize("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},I),"editor.gotoLocation.multipleImplementations":Object.assign({description:localize("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},I),"editor.gotoLocation.multipleReferences":Object.assign({description:localize("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},I),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:_.alternativeDefinitionCommand,enum:A,description:localize("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:_.alternativeTypeDefinitionCommand,enum:A,description:localize("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:_.alternativeDeclarationCommand,enum:A,description:localize("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:_.alternativeImplementationCommand,enum:A,description:localize("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:_.alternativeReferenceCommand,enum:A,description:localize("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(_){var I,A,N,U,K;if(!_||typeof _!="object")return this.defaultValue;const j=_;return{multiple:stringSet(j.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(I=j.multipleDefinitions)!==null&&I!==void 0?I:stringSet(j.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(A=j.multipleTypeDefinitions)!==null&&A!==void 0?A:stringSet(j.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(N=j.multipleDeclarations)!==null&&N!==void 0?N:stringSet(j.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(U=j.multipleImplementations)!==null&&U!==void 0?U:stringSet(j.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(K=j.multipleReferences)!==null&&K!==void 0?K:stringSet(j.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:EditorStringOption.string(j.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:EditorStringOption.string(j.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:EditorStringOption.string(j.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:EditorStringOption.string(j.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:EditorStringOption.string(j.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class EditorHover extends BaseEditorOption{constructor(){const _={enabled:!0,delay:300,sticky:!0,above:!0};super(58,"hover",_,{"editor.hover.enabled":{type:"boolean",default:_.enabled,description:localize("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:_.delay,minimum:0,maximum:1e4,description:localize("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:_.sticky,description:localize("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:_.above,description:localize("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),delay:EditorIntOption.clampedInt(I.delay,this.defaultValue.delay,0,1e4),sticky:boolean(I.sticky,this.defaultValue.sticky),above:boolean(I.above,this.defaultValue.above)}}}class EditorLayoutInfoComputer extends ComputedEditorOption{constructor(){super(139)}compute(_,I,A){return EditorLayoutInfoComputer.computeLayout(I,{memory:_.memory,outerWidth:_.outerWidth,outerHeight:_.outerHeight,isDominatedByLongLines:_.isDominatedByLongLines,lineHeight:_.fontInfo.lineHeight,viewLineCount:_.viewLineCount,lineNumbersDigitCount:_.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:_.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:_.fontInfo.maxDigitWidth,pixelRatio:_.pixelRatio})}static computeContainedMinimapLineCount(_){const I=_.height/_.lineHeight,A=Math.floor(_.paddingTop/_.lineHeight);let N=Math.floor(_.paddingBottom/_.lineHeight);_.scrollBeyondLastLine&&(N=Math.max(N,I-1));const U=(A+_.viewLineCount+N)/(_.pixelRatio*_.height),K=Math.floor(_.viewLineCount/U);return{typicalViewportLineCount:I,extraLinesBeforeFirstLine:A,extraLinesBeyondLastLine:N,desiredRatio:U,minimapLineCount:K}}static _computeMinimapLayout(_,I){const A=_.outerWidth,N=_.outerHeight,U=_.pixelRatio;if(!_.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(U*N),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:N};const K=I.stableMinimapLayoutInput,j=K&&_.outerHeight===K.outerHeight&&_.lineHeight===K.lineHeight&&_.typicalHalfwidthCharacterWidth===K.typicalHalfwidthCharacterWidth&&_.pixelRatio===K.pixelRatio&&_.scrollBeyondLastLine===K.scrollBeyondLastLine&&_.paddingTop===K.paddingTop&&_.paddingBottom===K.paddingBottom&&_.minimap.enabled===K.minimap.enabled&&_.minimap.side===K.minimap.side&&_.minimap.size===K.minimap.size&&_.minimap.showSlider===K.minimap.showSlider&&_.minimap.renderCharacters===K.minimap.renderCharacters&&_.minimap.maxColumn===K.minimap.maxColumn&&_.minimap.scale===K.minimap.scale&&_.verticalScrollbarWidth===K.verticalScrollbarWidth&&_.isViewportWrapping===K.isViewportWrapping,q=_.lineHeight,G=_.typicalHalfwidthCharacterWidth,Z=_.scrollBeyondLastLine,Y=_.minimap.renderCharacters;let Q=U>=2?Math.round(_.minimap.scale*2):_.minimap.scale;const J=_.minimap.maxColumn,ee=_.minimap.size,te=_.minimap.side,ie=_.verticalScrollbarWidth,ne=_.viewLineCount,re=_.remainingWidth,oe=_.isViewportWrapping,se=Y?2:3;let ae=Math.floor(U*N);const ue=ae/U;let ce=!1,le=!1,de=se*Q,fe=Q/U,he=1;if(ee==="fill"||ee==="fit"){const{typicalViewportLineCount:Ae,extraLinesBeforeFirstLine:be,extraLinesBeyondLastLine:xe,desiredRatio:$e,minimapLineCount:Oe}=EditorLayoutInfoComputer.computeContainedMinimapLineCount({viewLineCount:ne,scrollBeyondLastLine:Z,paddingTop:_.paddingTop,paddingBottom:_.paddingBottom,height:N,lineHeight:q,pixelRatio:U});if(ne/Oe>1)ce=!0,le=!0,Q=1,de=1,fe=Q/U;else{let Je=!1,tt=Q+1;if(ee==="fit"){const Ve=Math.ceil((be+ne+xe)*de);oe&&j&&re<=I.stableFitRemainingWidth?(Je=!0,tt=I.stableFitMaxMinimapScale):Je=Ve>ae}if(ee==="fill"||Je){ce=!0;const Ve=Q;de=Math.min(q*U,Math.max(1,Math.floor(1/$e))),oe&&j&&re<=I.stableFitRemainingWidth&&(tt=I.stableFitMaxMinimapScale),Q=Math.min(tt,Math.max(1,Math.floor(de/se))),Q>Ve&&(he=Math.min(2,Q/Ve)),fe=Q/U/he,ae=Math.ceil(Math.max(Ae,be+ne+xe)*de),oe?(I.stableMinimapLayoutInput=_,I.stableFitRemainingWidth=re,I.stableFitMaxMinimapScale=Q):(I.stableMinimapLayoutInput=null,I.stableFitRemainingWidth=0)}}}const ge=Math.floor(J*fe),pe=Math.min(ge,Math.max(0,Math.floor((re-ie-2)*fe/(G+fe)))+MINIMAP_GUTTER_WIDTH);let we=Math.floor(U*pe);const ye=we/U;we=Math.floor(we*he);const Le=Y?1:2,Se=te==="left"?0:A-pe-ie;return{renderMinimap:Le,minimapLeft:Se,minimapWidth:pe,minimapHeightIsEditorHeight:ce,minimapIsSampling:le,minimapScale:Q,minimapLineHeight:de,minimapCanvasInnerWidth:we,minimapCanvasInnerHeight:ae,minimapCanvasOuterWidth:ye,minimapCanvasOuterHeight:ue}}static computeLayout(_,I){const A=I.outerWidth|0,N=I.outerHeight|0,U=I.lineHeight|0,K=I.lineNumbersDigitCount|0,j=I.typicalHalfwidthCharacterWidth,q=I.maxDigitWidth,G=I.pixelRatio,Z=I.viewLineCount,Y=_.get(131),Q=Y==="inherit"?_.get(130):Y,J=Q==="inherit"?_.get(126):Q,ee=_.get(129),te=I.isDominatedByLongLines,ie=_.get(55),ne=_.get(65).renderType!==0,re=_.get(66),oe=_.get(100),se=_.get(81),ae=_.get(70),ue=_.get(98),ce=ue.verticalScrollbarSize,le=ue.verticalHasArrows,de=ue.arrowSize,fe=ue.horizontalScrollbarSize,he=_.get(41),ge=_.get(105)!=="never";let pe=_.get(63);he&&ge&&(pe+=16);let we=0;if(ne){const He=Math.max(K,re);we=Math.round(He*q)}let ye=0;ie&&(ye=U);let Le=0,Se=Le+ye,Ae=Se+we,be=Ae+pe;const xe=A-ye-we-pe;let $e=!1,Oe=!1,ze=-1;Q==="inherit"&&te?($e=!0,Oe=!0):J==="on"||J==="bounded"?Oe=!0:J==="wordWrapColumn"&&(ze=ee);const Je=EditorLayoutInfoComputer._computeMinimapLayout({outerWidth:A,outerHeight:N,lineHeight:U,typicalHalfwidthCharacterWidth:j,pixelRatio:G,scrollBeyondLastLine:oe,paddingTop:se.top,paddingBottom:se.bottom,minimap:ae,verticalScrollbarWidth:ce,viewLineCount:Z,remainingWidth:xe,isViewportWrapping:Oe},I.memory||new ComputeOptionsMemory);Je.renderMinimap!==0&&Je.minimapLeft===0&&(Le+=Je.minimapWidth,Se+=Je.minimapWidth,Ae+=Je.minimapWidth,be+=Je.minimapWidth);const tt=xe-Je.minimapWidth,Ve=Math.max(1,Math.floor((tt-ce-2)/j)),Ze=le?de:0;return Oe&&(ze=Math.max(1,Ve),J==="bounded"&&(ze=Math.min(ze,ee))),{width:A,height:N,glyphMarginLeft:Le,glyphMarginWidth:ye,lineNumbersLeft:Se,lineNumbersWidth:we,decorationsLeft:Ae,decorationsWidth:pe,contentLeft:be,contentWidth:tt,minimap:Je,viewportColumn:Ve,isWordWrapMinified:$e,isViewportWrapping:Oe,wrappingColumn:ze,verticalScrollbarWidth:ce,horizontalScrollbarHeight:fe,overviewRuler:{top:Ze,width:ce,height:N-2*Ze,right:0}}}}class WrappingStrategy extends BaseEditorOption{constructor(){super(133,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[localize("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),localize("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:localize("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(_){return stringSet(_,"simple",["simple","advanced"])}compute(_,I,A){return I.get(2)===2?"advanced":A}}class EditorLightbulb extends BaseEditorOption{constructor(){const _={enabled:!0};super(62,"lightbulb",_,{"editor.lightbulb.enabled":{type:"boolean",default:_.enabled,description:localize("codeActions","Enables the Code Action lightbulb in the editor.")}})}validate(_){return!_||typeof _!="object"?this.defaultValue:{enabled:boolean(_.enabled,this.defaultValue.enabled)}}}class EditorStickyScroll extends BaseEditorOption{constructor(){const _={enabled:!1,maxLineCount:5,defaultModel:"outlineModel"};super(110,"stickyScroll",_,{"editor.stickyScroll.enabled":{type:"boolean",default:_.enabled,description:localize("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:_.maxLineCount,minimum:1,maximum:10,description:localize("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:_.defaultModel,description:localize("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),maxLineCount:EditorIntOption.clampedInt(I.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:stringSet(I.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"])}}}class EditorInlayHints extends BaseEditorOption{constructor(){const _={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(135,"inlayHints",_,{"editor.inlayHints.enabled":{type:"string",default:_.enabled,description:localize("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[localize("editor.inlayHints.on","Inlay hints are enabled"),localize("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",isMacintosh?"Ctrl+Option":"Ctrl+Alt"),localize("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",isMacintosh?"Ctrl+Option":"Ctrl+Alt"),localize("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:_.fontSize,markdownDescription:localize("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:_.fontFamily,markdownDescription:localize("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:_.padding,description:localize("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return typeof I.enabled=="boolean"&&(I.enabled=I.enabled?"on":"off"),{enabled:stringSet(I.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:EditorIntOption.clampedInt(I.fontSize,this.defaultValue.fontSize,0,100),fontFamily:EditorStringOption.string(I.fontFamily,this.defaultValue.fontFamily),padding:boolean(I.padding,this.defaultValue.padding)}}}class EditorLineDecorationsWidth extends BaseEditorOption{constructor(){super(63,"lineDecorationsWidth",10)}validate(_){return typeof _=="string"&&/^\d+(\.\d+)?ch$/.test(_)?-parseFloat(_.substring(0,_.length-2)):EditorIntOption.clampedInt(_,this.defaultValue,0,1e3)}compute(_,I,A){return A<0?EditorIntOption.clampedInt(-A*_.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):A}}class EditorLineHeight extends EditorFloatOption{constructor(){super(64,"lineHeight",EDITOR_FONT_DEFAULTS.lineHeight,_=>EditorFloatOption.clamp(_,0,150),{markdownDescription:localize("lineHeight",`Controls the line height. - - Use 0 to automatically compute the line height from the font size. - - Values between 0 and 8 will be used as a multiplier with the font size. - - Values greater than or equal to 8 will be used as effective values.`)})}compute(_,I,A){return _.fontInfo.lineHeight}}class EditorMinimap extends BaseEditorOption{constructor(){const _={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(70,"minimap",_,{"editor.minimap.enabled":{type:"boolean",default:_.enabled,description:localize("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:_.autohide,description:localize("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[localize("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),localize("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),localize("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:_.size,description:localize("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:_.side,description:localize("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:_.showSlider,description:localize("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:_.scale,minimum:1,maximum:3,enum:[1,2,3],description:localize("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:_.renderCharacters,description:localize("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:_.maxColumn,description:localize("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),autohide:boolean(I.autohide,this.defaultValue.autohide),size:stringSet(I.size,this.defaultValue.size,["proportional","fill","fit"]),side:stringSet(I.side,this.defaultValue.side,["right","left"]),showSlider:stringSet(I.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:boolean(I.renderCharacters,this.defaultValue.renderCharacters),scale:EditorIntOption.clampedInt(I.scale,1,1,3),maxColumn:EditorIntOption.clampedInt(I.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function _multiCursorModifierFromString(B){return B==="ctrlCmd"?isMacintosh?"metaKey":"ctrlKey":"altKey"}class EditorPadding extends BaseEditorOption{constructor(){super(81,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:localize("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:localize("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{top:EditorIntOption.clampedInt(I.top,0,0,1e3),bottom:EditorIntOption.clampedInt(I.bottom,0,0,1e3)}}}class EditorParameterHints extends BaseEditorOption{constructor(){const _={enabled:!0,cycle:!0};super(82,"parameterHints",_,{"editor.parameterHints.enabled":{type:"boolean",default:_.enabled,description:localize("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:_.cycle,description:localize("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),cycle:boolean(I.cycle,this.defaultValue.cycle)}}}class EditorPixelRatio extends ComputedEditorOption{constructor(){super(137)}compute(_,I,A){return _.pixelRatio}}class EditorQuickSuggestions extends BaseEditorOption{constructor(){const _={other:"on",comments:"off",strings:"off"},I=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[localize("on","Quick suggestions show inside the suggest widget"),localize("inline","Quick suggestions show as ghost text"),localize("off","Quick suggestions are disabled")]}];super(85,"quickSuggestions",_,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:I,default:_.strings,description:localize("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:I,default:_.comments,description:localize("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:I,default:_.other,description:localize("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:_,markdownDescription:localize("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=_}validate(_){if(typeof _=="boolean"){const G=_?"on":"off";return{comments:G,strings:G,other:G}}if(!_||typeof _!="object")return this.defaultValue;const{other:I,comments:A,strings:N}=_,U=["on","inline","off"];let K,j,q;return typeof I=="boolean"?K=I?"on":"off":K=stringSet(I,this.defaultValue.other,U),typeof A=="boolean"?j=A?"on":"off":j=stringSet(A,this.defaultValue.comments,U),typeof N=="boolean"?q=N?"on":"off":q=stringSet(N,this.defaultValue.strings,U),{other:K,comments:j,strings:q}}}class EditorRenderLineNumbersOption extends BaseEditorOption{constructor(){super(65,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[localize("lineNumbers.off","Line numbers are not rendered."),localize("lineNumbers.on","Line numbers are rendered as absolute number."),localize("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),localize("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:localize("lineNumbers","Controls the display of line numbers.")})}validate(_){let I=this.defaultValue.renderType,A=this.defaultValue.renderFn;return typeof _<"u"&&(typeof _=="function"?(I=4,A=_):_==="interval"?I=3:_==="relative"?I=2:_==="on"?I=1:I=0),{renderType:I,renderFn:A}}}function filterValidationDecorations(B){const _=B.get(93);return _==="editable"?B.get(87):_!=="on"}class EditorRulers extends BaseEditorOption{constructor(){const _=[],I={type:"number",description:localize("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(97,"rulers",_,{type:"array",items:{anyOf:[I,{type:["object"],properties:{column:I,color:{type:"string",description:localize("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:_,description:localize("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(_){if(Array.isArray(_)){const I=[];for(const A of _)if(typeof A=="number")I.push({column:EditorIntOption.clampedInt(A,0,0,1e4),color:null});else if(A&&typeof A=="object"){const N=A;I.push({column:EditorIntOption.clampedInt(N.column,0,0,1e4),color:N.color})}return I.sort((A,N)=>A.column-N.column),I}return this.defaultValue}}function _scrollbarVisibilityFromString(B,_){if(typeof B!="string")return _;switch(B){case"hidden":return 2;case"visible":return 3;default:return 1}}let EditorScrollbar$1=class extends BaseEditorOption{constructor(){const _={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(98,"scrollbar",_,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[localize("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),localize("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),localize("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:localize("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[localize("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),localize("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),localize("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:localize("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:_.verticalScrollbarSize,description:localize("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:_.horizontalScrollbarSize,description:localize("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:_.scrollByPage,description:localize("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_,A=EditorIntOption.clampedInt(I.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),N=EditorIntOption.clampedInt(I.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:EditorIntOption.clampedInt(I.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:_scrollbarVisibilityFromString(I.vertical,this.defaultValue.vertical),horizontal:_scrollbarVisibilityFromString(I.horizontal,this.defaultValue.horizontal),useShadows:boolean(I.useShadows,this.defaultValue.useShadows),verticalHasArrows:boolean(I.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:boolean(I.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:boolean(I.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:boolean(I.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:A,horizontalSliderSize:EditorIntOption.clampedInt(I.horizontalSliderSize,A,0,1e3),verticalScrollbarSize:N,verticalSliderSize:EditorIntOption.clampedInt(I.verticalSliderSize,N,0,1e3),scrollByPage:boolean(I.scrollByPage,this.defaultValue.scrollByPage)}}};const inUntrustedWorkspace="inUntrustedWorkspace",unicodeHighlightConfigKeys={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class UnicodeHighlight extends BaseEditorOption{constructor(){const _={nonBasicASCII:inUntrustedWorkspace,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:inUntrustedWorkspace,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(120,"unicodeHighlight",_,{[unicodeHighlightConfigKeys.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,inUntrustedWorkspace],default:_.nonBasicASCII,description:localize("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[unicodeHighlightConfigKeys.invisibleCharacters]:{restricted:!0,type:"boolean",default:_.invisibleCharacters,description:localize("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[unicodeHighlightConfigKeys.ambiguousCharacters]:{restricted:!0,type:"boolean",default:_.ambiguousCharacters,description:localize("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[unicodeHighlightConfigKeys.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,inUntrustedWorkspace],default:_.includeComments,description:localize("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[unicodeHighlightConfigKeys.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,inUntrustedWorkspace],default:_.includeStrings,description:localize("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[unicodeHighlightConfigKeys.allowedCharacters]:{restricted:!0,type:"object",default:_.allowedCharacters,description:localize("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[unicodeHighlightConfigKeys.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:_.allowedLocales,description:localize("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(_,I){let A=!1;I.allowedCharacters&&_&&(equals(_.allowedCharacters,I.allowedCharacters)||(_=Object.assign(Object.assign({},_),{allowedCharacters:I.allowedCharacters}),A=!0)),I.allowedLocales&&_&&(equals(_.allowedLocales,I.allowedLocales)||(_=Object.assign(Object.assign({},_),{allowedLocales:I.allowedLocales}),A=!0));const N=super.applyUpdate(_,I);return A?new ApplyUpdateResult(N.newValue,!0):N}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{nonBasicASCII:primitiveSet(I.nonBasicASCII,inUntrustedWorkspace,[!0,!1,inUntrustedWorkspace]),invisibleCharacters:boolean(I.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:boolean(I.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:primitiveSet(I.includeComments,inUntrustedWorkspace,[!0,!1,inUntrustedWorkspace]),includeStrings:primitiveSet(I.includeStrings,inUntrustedWorkspace,[!0,!1,inUntrustedWorkspace]),allowedCharacters:this.validateBooleanMap(_.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(_.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(_,I){if(typeof _!="object"||!_)return I;const A={};for(const[N,U]of Object.entries(_))U===!0&&(A[N]=!0);return A}}class InlineEditorSuggest extends BaseEditorOption{constructor(){const _={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1};super(60,"inlineSuggest",_,{"editor.inlineSuggest.enabled":{type:"boolean",default:_.enabled,description:localize("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:_.showToolbar,enum:["always","onHover"],enumDescriptions:[localize("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),localize("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion.")],description:localize("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:_.suppressSuggestions,description:localize("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),mode:stringSet(I.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:stringSet(I.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:boolean(I.suppressSuggestions,this.defaultValue.suppressSuggestions)}}}class BracketPairColorization extends BaseEditorOption{constructor(){const _={enabled:EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(13,"bracketPairColorization",_,{"editor.bracketPairColorization.enabled":{type:"boolean",default:_.enabled,markdownDescription:localize("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:_.independentColorPoolPerBracketType,description:localize("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{enabled:boolean(I.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:boolean(I.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class GuideOptions extends BaseEditorOption{constructor(){const _={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(14,"guides",_,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[localize("editor.guides.bracketPairs.true","Enables bracket pair guides."),localize("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),localize("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:_.bracketPairs,description:localize("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[localize("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),localize("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),localize("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:_.bracketPairsHorizontal,description:localize("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:_.highlightActiveBracketPair,description:localize("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:_.indentation,description:localize("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[localize("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),localize("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),localize("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:_.highlightActiveIndentation,description:localize("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{bracketPairs:primitiveSet(I.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:primitiveSet(I.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:boolean(I.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:boolean(I.indentation,this.defaultValue.indentation),highlightActiveIndentation:primitiveSet(I.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function primitiveSet(B,_,I){const A=I.indexOf(B);return A===-1?_:I[A]}class EditorSuggest extends BaseEditorOption{constructor(){const _={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(113,"suggest",_,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[localize("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),localize("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:_.insertMode,description:localize("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:_.filterGraceful,description:localize("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:_.localityBonus,description:localize("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:_.shareSuggestSelections,markdownDescription:localize("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[localize("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),localize("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),localize("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),localize("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:_.selectionMode,markdownDescription:localize("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:_.snippetsPreventQuickSuggestions,description:localize("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:_.showIcons,description:localize("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:_.showStatusBar,description:localize("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:_.preview,description:localize("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:_.showInlineDetails,description:localize("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:localize("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:localize("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:localize("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(_){if(!_||typeof _!="object")return this.defaultValue;const I=_;return{insertMode:stringSet(I.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:boolean(I.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:boolean(I.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:boolean(I.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:boolean(I.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:stringSet(I.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:boolean(I.showIcons,this.defaultValue.showIcons),showStatusBar:boolean(I.showStatusBar,this.defaultValue.showStatusBar),preview:boolean(I.preview,this.defaultValue.preview),previewMode:stringSet(I.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:boolean(I.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:boolean(I.showMethods,this.defaultValue.showMethods),showFunctions:boolean(I.showFunctions,this.defaultValue.showFunctions),showConstructors:boolean(I.showConstructors,this.defaultValue.showConstructors),showDeprecated:boolean(I.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:boolean(I.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:boolean(I.showFields,this.defaultValue.showFields),showVariables:boolean(I.showVariables,this.defaultValue.showVariables),showClasses:boolean(I.showClasses,this.defaultValue.showClasses),showStructs:boolean(I.showStructs,this.defaultValue.showStructs),showInterfaces:boolean(I.showInterfaces,this.defaultValue.showInterfaces),showModules:boolean(I.showModules,this.defaultValue.showModules),showProperties:boolean(I.showProperties,this.defaultValue.showProperties),showEvents:boolean(I.showEvents,this.defaultValue.showEvents),showOperators:boolean(I.showOperators,this.defaultValue.showOperators),showUnits:boolean(I.showUnits,this.defaultValue.showUnits),showValues:boolean(I.showValues,this.defaultValue.showValues),showConstants:boolean(I.showConstants,this.defaultValue.showConstants),showEnums:boolean(I.showEnums,this.defaultValue.showEnums),showEnumMembers:boolean(I.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:boolean(I.showKeywords,this.defaultValue.showKeywords),showWords:boolean(I.showWords,this.defaultValue.showWords),showColors:boolean(I.showColors,this.defaultValue.showColors),showFiles:boolean(I.showFiles,this.defaultValue.showFiles),showReferences:boolean(I.showReferences,this.defaultValue.showReferences),showFolders:boolean(I.showFolders,this.defaultValue.showFolders),showTypeParameters:boolean(I.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:boolean(I.showSnippets,this.defaultValue.showSnippets),showUsers:boolean(I.showUsers,this.defaultValue.showUsers),showIssues:boolean(I.showIssues,this.defaultValue.showIssues)}}}class SmartSelect extends BaseEditorOption{constructor(){super(108,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:localize("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(_){return!_||typeof _!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:boolean(_.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class WrappingIndentOption extends BaseEditorOption{constructor(){super(132,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[localize("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),localize("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),localize("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),localize("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:localize("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(_){switch(_){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(_,I,A){return I.get(2)===2?0:A}}class EditorWrappingInfoComputer extends ComputedEditorOption{constructor(){super(140)}compute(_,I,A){const N=I.get(139);return{isDominatedByLongLines:_.isDominatedByLongLines,isWordWrapMinified:N.isWordWrapMinified,isViewportWrapping:N.isViewportWrapping,wrappingColumn:N.wrappingColumn}}}class EditorDropIntoEditor extends BaseEditorOption{constructor(){const _={enabled:!0};super(34,"dropIntoEditor",_,{"editor.dropIntoEditor.enabled":{type:"boolean",default:_.enabled,markdownDescription:localize("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")}})}validate(_){return!_||typeof _!="object"?this.defaultValue:{enabled:boolean(_.enabled,this.defaultValue.enabled)}}}const DEFAULT_WINDOWS_FONT_FAMILY="Consolas, 'Courier New', monospace",DEFAULT_MAC_FONT_FAMILY="Menlo, Monaco, 'Courier New', monospace",DEFAULT_LINUX_FONT_FAMILY="'Droid Sans Mono', 'monospace', monospace",EDITOR_FONT_DEFAULTS={fontFamily:isMacintosh?DEFAULT_MAC_FONT_FAMILY:isLinux?DEFAULT_LINUX_FONT_FAMILY:DEFAULT_WINDOWS_FONT_FAMILY,fontWeight:"normal",fontSize:isMacintosh?12:14,lineHeight:0,letterSpacing:0},editorOptionsRegistry=[];function register$2(B){return editorOptionsRegistry[B.id]=B,B}const EditorOptions={acceptSuggestionOnCommitCharacter:register$2(new EditorBooleanOption(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:localize("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:register$2(new EditorStringEnumOption(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",localize("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:localize("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:register$2(new EditorAccessibilitySupport),accessibilityPageSize:register$2(new EditorIntOption(3,"accessibilityPageSize",10,1,1073741824,{description:localize("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:register$2(new EditorStringOption(4,"ariaLabel",localize("editorViewAccessibleLabel","Editor content"))),screenReaderAnnounceInlineSuggestion:register$2(new EditorBooleanOption(6,"screenReaderAnnounceInlineSuggestion",!1,{description:localize("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader. Note that this does not work on macOS with VoiceOver."),tags:["accessibility"]})),autoClosingBrackets:register$2(new EditorStringEnumOption(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",localize("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),localize("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:localize("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:register$2(new EditorStringEnumOption(7,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",localize("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:localize("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:register$2(new EditorStringEnumOption(8,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",localize("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:localize("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:register$2(new EditorStringEnumOption(9,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",localize("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),localize("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:localize("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:register$2(new EditorEnumOption(10,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],_autoIndentFromString,{enumDescriptions:[localize("editor.autoIndent.none","The editor will not insert indentation automatically."),localize("editor.autoIndent.keep","The editor will keep the current line's indentation."),localize("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),localize("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),localize("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:localize("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:register$2(new EditorBooleanOption(11,"automaticLayout",!1)),autoSurround:register$2(new EditorStringEnumOption(12,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[localize("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),localize("editor.autoSurround.quotes","Surround with quotes but not brackets."),localize("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:localize("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:register$2(new BracketPairColorization),bracketPairGuides:register$2(new GuideOptions),stickyTabStops:register$2(new EditorBooleanOption(111,"stickyTabStops",!1,{description:localize("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:register$2(new EditorBooleanOption(15,"codeLens",!0,{description:localize("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:register$2(new EditorStringOption(16,"codeLensFontFamily","",{description:localize("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:register$2(new EditorIntOption(17,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:localize("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:register$2(new EditorBooleanOption(18,"colorDecorators",!0,{description:localize("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorsLimit:register$2(new EditorIntOption(19,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:localize("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:register$2(new EditorBooleanOption(20,"columnSelection",!1,{description:localize("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:register$2(new EditorComments),contextmenu:register$2(new EditorBooleanOption(22,"contextmenu",!0)),copyWithSyntaxHighlighting:register$2(new EditorBooleanOption(23,"copyWithSyntaxHighlighting",!0,{description:localize("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:register$2(new EditorEnumOption(24,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],_cursorBlinkingStyleFromString,{description:localize("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:register$2(new EditorStringEnumOption(25,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[localize("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),localize("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),localize("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:localize("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:register$2(new EditorEnumOption(26,"cursorStyle",TextEditorCursorStyle$1.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],_cursorStyleFromString,{description:localize("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:register$2(new EditorIntOption(27,"cursorSurroundingLines",0,0,1073741824,{description:localize("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:register$2(new EditorStringEnumOption(28,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[localize("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),localize("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:localize("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:register$2(new EditorIntOption(29,"cursorWidth",0,0,1073741824,{markdownDescription:localize("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:register$2(new EditorBooleanOption(30,"disableLayerHinting",!1)),disableMonospaceOptimizations:register$2(new EditorBooleanOption(31,"disableMonospaceOptimizations",!1)),domReadOnly:register$2(new EditorBooleanOption(32,"domReadOnly",!1)),dragAndDrop:register$2(new EditorBooleanOption(33,"dragAndDrop",!0,{description:localize("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:register$2(new EditorEmptySelectionClipboard),dropIntoEditor:register$2(new EditorDropIntoEditor),stickyScroll:register$2(new EditorStickyScroll),experimentalWhitespaceRendering:register$2(new EditorStringEnumOption(36,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[localize("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),localize("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),localize("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:localize("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:register$2(new EditorStringOption(37,"extraEditorClassName","")),fastScrollSensitivity:register$2(new EditorFloatOption(38,"fastScrollSensitivity",5,B=>B<=0?5:B,{markdownDescription:localize("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:register$2(new EditorFind),fixedOverflowWidgets:register$2(new EditorBooleanOption(40,"fixedOverflowWidgets",!1)),folding:register$2(new EditorBooleanOption(41,"folding",!0,{description:localize("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:register$2(new EditorStringEnumOption(42,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[localize("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),localize("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:localize("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:register$2(new EditorBooleanOption(43,"foldingHighlight",!0,{description:localize("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:register$2(new EditorBooleanOption(44,"foldingImportsByDefault",!1,{description:localize("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:register$2(new EditorIntOption(45,"foldingMaximumRegions",5e3,10,65e3,{description:localize("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:register$2(new EditorBooleanOption(46,"unfoldOnClickAfterEndOfLine",!1,{description:localize("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:register$2(new EditorStringOption(47,"fontFamily",EDITOR_FONT_DEFAULTS.fontFamily,{description:localize("fontFamily","Controls the font family.")})),fontInfo:register$2(new EditorFontInfo),fontLigatures2:register$2(new EditorFontLigatures),fontSize:register$2(new EditorFontSize),fontWeight:register$2(new EditorFontWeight),fontVariations:register$2(new EditorFontVariations),formatOnPaste:register$2(new EditorBooleanOption(53,"formatOnPaste",!1,{description:localize("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:register$2(new EditorBooleanOption(54,"formatOnType",!1,{description:localize("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:register$2(new EditorBooleanOption(55,"glyphMargin",!0,{description:localize("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:register$2(new EditorGoToLocation),hideCursorInOverviewRuler:register$2(new EditorBooleanOption(57,"hideCursorInOverviewRuler",!1,{description:localize("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:register$2(new EditorHover),inDiffEditor:register$2(new EditorBooleanOption(59,"inDiffEditor",!1)),letterSpacing:register$2(new EditorFloatOption(61,"letterSpacing",EDITOR_FONT_DEFAULTS.letterSpacing,B=>EditorFloatOption.clamp(B,-5,20),{description:localize("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:register$2(new EditorLightbulb),lineDecorationsWidth:register$2(new EditorLineDecorationsWidth),lineHeight:register$2(new EditorLineHeight),lineNumbers:register$2(new EditorRenderLineNumbersOption),lineNumbersMinChars:register$2(new EditorIntOption(66,"lineNumbersMinChars",5,1,300)),linkedEditing:register$2(new EditorBooleanOption(67,"linkedEditing",!1,{description:localize("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:register$2(new EditorBooleanOption(68,"links",!0,{description:localize("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:register$2(new EditorStringEnumOption(69,"matchBrackets","always",["always","near","never"],{description:localize("matchBrackets","Highlight matching brackets.")})),minimap:register$2(new EditorMinimap),mouseStyle:register$2(new EditorStringEnumOption(71,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:register$2(new EditorFloatOption(72,"mouseWheelScrollSensitivity",1,B=>B===0?1:B,{markdownDescription:localize("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:register$2(new EditorBooleanOption(73,"mouseWheelZoom",!1,{markdownDescription:localize("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:register$2(new EditorBooleanOption(74,"multiCursorMergeOverlapping",!0,{description:localize("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:register$2(new EditorEnumOption(75,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],_multiCursorModifierFromString,{markdownEnumDescriptions:[localize("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),localize("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:localize({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:register$2(new EditorStringEnumOption(76,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[localize("multiCursorPaste.spread","Each cursor pastes a single line of the text."),localize("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:localize("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:register$2(new EditorIntOption(77,"multiCursorLimit",1e4,1,1e5,{markdownDescription:localize("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:register$2(new EditorBooleanOption(78,"occurrencesHighlight",!0,{description:localize("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:register$2(new EditorBooleanOption(79,"overviewRulerBorder",!0,{description:localize("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:register$2(new EditorIntOption(80,"overviewRulerLanes",3,0,3)),padding:register$2(new EditorPadding),parameterHints:register$2(new EditorParameterHints),peekWidgetDefaultFocus:register$2(new EditorStringEnumOption(83,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[localize("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),localize("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:localize("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:register$2(new EditorBooleanOption(84,"definitionLinkOpensInPeek",!1,{description:localize("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:register$2(new EditorQuickSuggestions),quickSuggestionsDelay:register$2(new EditorIntOption(86,"quickSuggestionsDelay",10,0,1073741824,{description:localize("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:register$2(new EditorBooleanOption(87,"readOnly",!1)),renameOnType:register$2(new EditorBooleanOption(88,"renameOnType",!1,{description:localize("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:localize("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:register$2(new EditorBooleanOption(89,"renderControlCharacters",!0,{description:localize("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:register$2(new EditorStringEnumOption(90,"renderFinalNewline",isLinux?"dimmed":"on",["off","on","dimmed"],{description:localize("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:register$2(new EditorStringEnumOption(91,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",localize("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:localize("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:register$2(new EditorBooleanOption(92,"renderLineHighlightOnlyWhenFocus",!1,{description:localize("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:register$2(new EditorStringEnumOption(93,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:register$2(new EditorStringEnumOption(94,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",localize("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),localize("renderWhitespace.selection","Render whitespace characters only on selected text."),localize("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:localize("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:register$2(new EditorIntOption(95,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:register$2(new EditorBooleanOption(96,"roundedSelection",!0,{description:localize("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:register$2(new EditorRulers),scrollbar:register$2(new EditorScrollbar$1),scrollBeyondLastColumn:register$2(new EditorIntOption(99,"scrollBeyondLastColumn",4,0,1073741824,{description:localize("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:register$2(new EditorBooleanOption(100,"scrollBeyondLastLine",!0,{description:localize("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:register$2(new EditorBooleanOption(101,"scrollPredominantAxis",!0,{description:localize("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:register$2(new EditorBooleanOption(102,"selectionClipboard",!0,{description:localize("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:isLinux})),selectionHighlight:register$2(new EditorBooleanOption(103,"selectionHighlight",!0,{description:localize("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:register$2(new EditorBooleanOption(104,"selectOnLineNumbers",!0)),showFoldingControls:register$2(new EditorStringEnumOption(105,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[localize("showFoldingControls.always","Always show the folding controls."),localize("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),localize("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:localize("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:register$2(new EditorBooleanOption(106,"showUnused",!0,{description:localize("showUnused","Controls fading out of unused code.")})),showDeprecated:register$2(new EditorBooleanOption(134,"showDeprecated",!0,{description:localize("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:register$2(new EditorInlayHints),snippetSuggestions:register$2(new EditorStringEnumOption(107,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[localize("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),localize("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),localize("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),localize("snippetSuggestions.none","Do not show snippet suggestions.")],description:localize("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:register$2(new SmartSelect),smoothScrolling:register$2(new EditorBooleanOption(109,"smoothScrolling",!1,{description:localize("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:register$2(new EditorIntOption(112,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:register$2(new EditorSuggest),inlineSuggest:register$2(new InlineEditorSuggest),suggestFontSize:register$2(new EditorIntOption(114,"suggestFontSize",0,0,1e3,{markdownDescription:localize("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:register$2(new EditorIntOption(115,"suggestLineHeight",0,0,1e3,{markdownDescription:localize("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:register$2(new EditorBooleanOption(116,"suggestOnTriggerCharacters",!0,{description:localize("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:register$2(new EditorStringEnumOption(117,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[localize("suggestSelection.first","Always select the first suggestion."),localize("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),localize("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:localize("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:register$2(new EditorStringEnumOption(118,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[localize("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),localize("tabCompletion.off","Disable tab completions."),localize("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:localize("tabCompletion","Enables tab completions.")})),tabIndex:register$2(new EditorIntOption(119,"tabIndex",0,-1,1073741824)),unicodeHighlight:register$2(new UnicodeHighlight),unusualLineTerminators:register$2(new EditorStringEnumOption(121,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[localize("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),localize("unusualLineTerminators.off","Unusual line terminators are ignored."),localize("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:localize("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:register$2(new EditorBooleanOption(122,"useShadowDOM",!0)),useTabStops:register$2(new EditorBooleanOption(123,"useTabStops",!0,{description:localize("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:register$2(new EditorStringEnumOption(124,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[localize("wordBreak.normal","Use the default line break rule."),localize("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:localize("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:register$2(new EditorStringOption(125,"wordSeparators",USUAL_WORD_SEPARATORS,{description:localize("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:register$2(new EditorStringEnumOption(126,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[localize("wordWrap.off","Lines will never wrap."),localize("wordWrap.on","Lines will wrap at the viewport width."),localize({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),localize({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:localize({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:register$2(new EditorStringOption(127,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:register$2(new EditorStringOption(128,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:register$2(new EditorIntOption(129,"wordWrapColumn",80,1,1073741824,{markdownDescription:localize({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:register$2(new EditorStringEnumOption(130,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:register$2(new EditorStringEnumOption(131,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:register$2(new EditorClassName),pixelRatio:register$2(new EditorPixelRatio),tabFocusMode:register$2(new EditorBooleanOption(138,"tabFocusMode",!1,{markdownDescription:localize("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:register$2(new EditorLayoutInfoComputer),wrappingInfo:register$2(new EditorWrappingInfoComputer),wrappingIndent:register$2(new WrappingIndentOption),wrappingStrategy:register$2(new WrappingStrategy)},hasPerformanceNow=globals.performance&&typeof globals.performance.now=="function";class StopWatch{static create(_=!0){return new StopWatch(_)}constructor(_){this._highResolution=hasPerformanceNow&&_,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?globals.performance.now():Date.now()}}globalThis&&globalThis.__awaiter;var Event$1;(function(B){B.None=()=>Disposable.None;function _(le,de){return Z(le,()=>{},0,void 0,!0,void 0,de)}B.defer=_;function I(le){return(de,fe=null,he)=>{let ge=!1,pe;return pe=le(we=>{if(!ge)return pe?pe.dispose():ge=!0,de.call(fe,we)},null,he),ge&&pe.dispose(),pe}}B.once=I;function A(le,de,fe){return G((he,ge=null,pe)=>le(we=>he.call(ge,de(we)),null,pe),fe)}B.map=A;function N(le,de,fe){return G((he,ge=null,pe)=>le(we=>{de(we),he.call(ge,we)},null,pe),fe)}B.forEach=N;function U(le,de,fe){return G((he,ge=null,pe)=>le(we=>de(we)&&he.call(ge,we),null,pe),fe)}B.filter=U;function K(le){return le}B.signal=K;function j(...le){return(de,fe=null,he)=>combinedDisposable(...le.map(ge=>ge(pe=>de.call(fe,pe),null,he)))}B.any=j;function q(le,de,fe,he){let ge=fe;return A(le,pe=>(ge=de(ge,pe),ge),he)}B.reduce=q;function G(le,de){let fe;const he={onWillAddFirstListener(){fe=le(ge.fire,ge)},onDidRemoveLastListener(){fe==null||fe.dispose()}},ge=new Emitter$1(he);return de==null||de.add(ge),ge.event}function Z(le,de,fe=100,he=!1,ge=!1,pe,we){let ye,Le,Se,Ae=0,be;const xe={leakWarningThreshold:pe,onWillAddFirstListener(){ye=le(Oe=>{Ae++,Le=de(Le,Oe),he&&!Se&&($e.fire(Le),Le=void 0),be=()=>{const ze=Le;Le=void 0,Se=void 0,(!he||Ae>1)&&$e.fire(ze),Ae=0},typeof fe=="number"?(clearTimeout(Se),Se=setTimeout(be,fe)):Se===void 0&&(Se=0,queueMicrotask(be))})},onWillRemoveListener(){ge&&Ae>0&&(be==null||be())},onDidRemoveLastListener(){be=void 0,ye.dispose()}},$e=new Emitter$1(xe);return we==null||we.add($e),$e.event}B.debounce=Z;function Y(le,de=0,fe){return B.debounce(le,(he,ge)=>he?(he.push(ge),he):[ge],de,void 0,!0,void 0,fe)}B.accumulate=Y;function Q(le,de=(he,ge)=>he===ge,fe){let he=!0,ge;return U(le,pe=>{const we=he||!de(pe,ge);return he=!1,ge=pe,we},fe)}B.latch=Q;function J(le,de,fe){return[B.filter(le,de,fe),B.filter(le,he=>!de(he),fe)]}B.split=J;function ee(le,de=!1,fe=[]){let he=fe.slice(),ge=le(ye=>{he?he.push(ye):we.fire(ye)});const pe=()=>{he==null||he.forEach(ye=>we.fire(ye)),he=null},we=new Emitter$1({onWillAddFirstListener(){ge||(ge=le(ye=>we.fire(ye)))},onDidAddFirstListener(){he&&(de?setTimeout(pe):pe())},onDidRemoveLastListener(){ge&&ge.dispose(),ge=null}});return we.event}B.buffer=ee;class te{constructor(de){this.event=de,this.disposables=new DisposableStore}map(de){return new te(A(this.event,de,this.disposables))}forEach(de){return new te(N(this.event,de,this.disposables))}filter(de){return new te(U(this.event,de,this.disposables))}reduce(de,fe){return new te(q(this.event,de,fe,this.disposables))}latch(){return new te(Q(this.event,void 0,this.disposables))}debounce(de,fe=100,he=!1,ge=!1,pe){return new te(Z(this.event,de,fe,he,ge,pe,this.disposables))}on(de,fe,he){return this.event(de,fe,he)}once(de,fe,he){return I(this.event)(de,fe,he)}dispose(){this.disposables.dispose()}}function ie(le){return new te(le)}B.chain=ie;function ne(le,de,fe=he=>he){const he=(...ye)=>we.fire(fe(...ye)),ge=()=>le.on(de,he),pe=()=>le.removeListener(de,he),we=new Emitter$1({onWillAddFirstListener:ge,onDidRemoveLastListener:pe});return we.event}B.fromNodeEventEmitter=ne;function re(le,de,fe=he=>he){const he=(...ye)=>we.fire(fe(...ye)),ge=()=>le.addEventListener(de,he),pe=()=>le.removeEventListener(de,he),we=new Emitter$1({onWillAddFirstListener:ge,onDidRemoveLastListener:pe});return we.event}B.fromDOMEventEmitter=re;function oe(le){return new Promise(de=>I(le)(de))}B.toPromise=oe;function se(le,de){return de(void 0),le(fe=>de(fe))}B.runAndSubscribe=se;function ae(le,de){let fe=null;function he(pe){fe==null||fe.dispose(),fe=new DisposableStore,de(pe,fe)}he(void 0);const ge=le(pe=>he(pe));return toDisposable(()=>{ge.dispose(),fe==null||fe.dispose()})}B.runAndSubscribeWithStore=ae;class ue{constructor(de,fe){this.obs=de,this._counter=0,this._hasChanged=!1;const he={onWillAddFirstListener:()=>{de.addObserver(this)},onDidRemoveLastListener:()=>{de.removeObserver(this)}};this.emitter=new Emitter$1(he),fe&&fe.add(this.emitter)}beginUpdate(de){this._counter++}handleChange(de,fe){this._hasChanged=!0}endUpdate(de){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function ce(le,de){return new ue(le,de).emitter.event}B.fromObservable=ce})(Event$1||(Event$1={}));class EventProfiling{constructor(_){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${_}_${EventProfiling._idPool++}`,EventProfiling.all.add(this)}start(_){this._stopWatch=new StopWatch(!0),this.listenerCount=_}stop(){if(this._stopWatch){const _=this._stopWatch.elapsed();this.durations.push(_),this.elapsedOverall+=_,this.invocationCount+=1,this._stopWatch=void 0}}}EventProfiling.all=new Set;EventProfiling._idPool=0;let _globalLeakWarningThreshold=-1;class LeakageMonitor{constructor(_,I=Math.random().toString(18).slice(2,5)){this.threshold=_,this.name=I,this._warnCountdown=0}dispose(){var _;(_=this._stacks)===null||_===void 0||_.clear()}check(_,I){const A=this.threshold;if(A<=0||I{const U=this._stacks.get(_.value)||0;this._stacks.set(_.value,U-1)}}}class Stacktrace{static create(){var _;return new Stacktrace((_=new Error().stack)!==null&&_!==void 0?_:"")}constructor(_){this.value=_}print(){console.warn(this.value.split(` -`).slice(2).join(` -`))}}class Listener{constructor(_,I,A){this.callback=_,this.callbackThis=I,this.stack=A,this.subscription=new SafeDisposable}invoke(_){this.callback.call(this.callbackThis,_)}}let Emitter$1=class{constructor(_){var I,A,N,U,K;this._disposed=!1,this._options=_,this._leakageMon=!((I=this._options)===null||I===void 0)&&I.leakWarningThreshold?new LeakageMonitor((N=(A=this._options)===null||A===void 0?void 0:A.leakWarningThreshold)!==null&&N!==void 0?N:_globalLeakWarningThreshold):void 0,this._perfMon=!((U=this._options)===null||U===void 0)&&U._profName?new EventProfiling(this._options._profName):void 0,this._deliveryQueue=(K=this._options)===null||K===void 0?void 0:K.deliveryQueue}dispose(){var _,I,A,N;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(_=this._deliveryQueue)===null||_===void 0||_.clear(this),(A=(I=this._options)===null||I===void 0?void 0:I.onDidRemoveLastListener)===null||A===void 0||A.call(I),(N=this._leakageMon)===null||N===void 0||N.dispose())}get event(){return this._event||(this._event=(_,I,A)=>{var N,U,K;if(this._listeners||(this._listeners=new LinkedList),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),Disposable.None;const j=this._listeners.isEmpty();j&&(!((N=this._options)===null||N===void 0)&&N.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let q,G;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(G=Stacktrace.create(),q=this._leakageMon.check(G,this._listeners.size+1));const Z=new Listener(_,I,G),Y=this._listeners.push(Z);j&&(!((U=this._options)===null||U===void 0)&&U.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((K=this._options)===null||K===void 0)&&K.onDidAddListener&&this._options.onDidAddListener(this,_,I);const Q=Z.subscription.set(()=>{var J,ee;q==null||q(),this._disposed||((ee=(J=this._options)===null||J===void 0?void 0:J.onWillRemoveListener)===null||ee===void 0||ee.call(J,this),Y(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return A instanceof DisposableStore?A.add(Q):Array.isArray(A)&&A.push(Q),Q}),this._event}fire(_){var I,A,N;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new PrivateEventDeliveryQueue((I=this._options)===null||I===void 0?void 0:I.onListenerError));for(const U of this._listeners)this._deliveryQueue.push(this,U,_);(A=this._perfMon)===null||A===void 0||A.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(N=this._perfMon)===null||N===void 0||N.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}};class EventDeliveryQueue{constructor(_=onUnexpectedError){this._onListenerError=_,this._queue=new LinkedList}get size(){return this._queue.size}push(_,I,A){this._queue.push(new EventDeliveryQueueElement(_,I,A))}clear(_){const I=new LinkedList;for(const A of this._queue)A.emitter!==_&&I.push(A);this._queue=I}deliver(){for(;this._queue.size>0;){const _=this._queue.shift();try{_.listener.invoke(_.event)}catch(I){this._onListenerError(I)}}}}class PrivateEventDeliveryQueue extends EventDeliveryQueue{clear(_){this._queue.clear()}}class EventDeliveryQueueElement{constructor(_,I,A){this.emitter=_,this.listener=I,this.event=A}}class PauseableEmitter extends Emitter$1{constructor(_){super(_),this._isPaused=0,this._eventQueue=new LinkedList,this._mergeFn=_==null?void 0:_.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const _=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(_))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(_){this._listeners&&(this._isPaused!==0?this._eventQueue.push(_):super.fire(_))}}class DebounceEmitter extends PauseableEmitter{constructor(_){var I;super(_),this._delay=(I=_.delay)!==null&&I!==void 0?I:100}fire(_){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(_)}}class MicrotaskEmitter extends Emitter$1{constructor(_){super(_),this._queuedEvents=[],this._mergeFn=_==null?void 0:_.merge}fire(_){this.hasListeners()&&(this._queuedEvents.push(_),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(I=>super.fire(I)),this._queuedEvents=[]}))}}class EventMultiplexer{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new Emitter$1({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(_){const I={event:_,listener:null};return this.events.push(I),this.hasListeners&&this.hook(I),toDisposable(once$1(()=>{this.hasListeners&&this.unhook(I);const N=this.events.indexOf(I);this.events.splice(N,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(_=>this.hook(_))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(_=>this.unhook(_))}hook(_){_.listener=_.event(I=>this.emitter.fire(I))}unhook(_){_.listener&&_.listener.dispose(),_.listener=null}dispose(){this.emitter.dispose()}}class EventBufferer{constructor(){this.buffers=[]}wrapEvent(_){return(I,A,N)=>_(U=>{const K=this.buffers[this.buffers.length-1];K?K.push(()=>I.call(A,U)):I.call(A,U)},void 0,N)}bufferEvents(_){const I=[];this.buffers.push(I);const A=_();return this.buffers.pop(),I.forEach(N=>N()),A}}class Relay{constructor(){this.listening=!1,this.inputEvent=Event$1.None,this.inputEventListener=Disposable.None,this.emitter=new Emitter$1({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(_){this.inputEvent=_,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=_(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const shortcutEvent=Object.freeze(function(B,_){const I=setTimeout(B.bind(_),0);return{dispose(){clearTimeout(I)}}});var CancellationToken;(function(B){function _(I){return I===B.None||I===B.Cancelled||I instanceof MutableToken?!0:!I||typeof I!="object"?!1:typeof I.isCancellationRequested=="boolean"&&typeof I.onCancellationRequested=="function"}B.isCancellationToken=_,B.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Event$1.None}),B.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:shortcutEvent})})(CancellationToken||(CancellationToken={}));class MutableToken{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?shortcutEvent:(this._emitter||(this._emitter=new Emitter$1),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}let CancellationTokenSource$1=class{constructor(_){this._token=void 0,this._parentListener=void 0,this._parentListener=_&&_.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new MutableToken),this._token}cancel(){this._token?this._token instanceof MutableToken&&this._token.cancel():this._token=CancellationToken.Cancelled}dispose(_=!1){var I;_&&this.cancel(),(I=this._parentListener)===null||I===void 0||I.dispose(),this._token?this._token instanceof MutableToken&&this._token.dispose():this._token=CancellationToken.None}};class KeyCodeStrMap{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(_,I){this._keyCodeToStr[_]=I,this._strToKeyCode[I.toLowerCase()]=_}keyCodeToStr(_){return this._keyCodeToStr[_]}strToKeyCode(_){return this._strToKeyCode[_.toLowerCase()]||0}}const uiMap=new KeyCodeStrMap,userSettingsUSMap=new KeyCodeStrMap,userSettingsGeneralMap=new KeyCodeStrMap,EVENT_KEY_CODE_MAP=new Array(230),scanCodeStrToInt=Object.create(null),scanCodeLowerCaseStrToInt=Object.create(null),IMMUTABLE_CODE_TO_KEY_CODE=[];for(let B=0;B<=193;B++)IMMUTABLE_CODE_TO_KEY_CODE[B]=-1;(function(){const B="",_=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",B,B],[0,1,1,"Hyper",0,B,0,B,B,B],[0,1,2,"Super",0,B,0,B,B,B],[0,1,3,"Fn",0,B,0,B,B,B],[0,1,4,"FnLock",0,B,0,B,B,B],[0,1,5,"Suspend",0,B,0,B,B,B],[0,1,6,"Resume",0,B,0,B,B,B],[0,1,7,"Turbo",0,B,0,B,B,B],[0,1,8,"Sleep",0,B,0,"VK_SLEEP",B,B],[0,1,9,"WakeUp",0,B,0,B,B,B],[31,0,10,"KeyA",31,"A",65,"VK_A",B,B],[32,0,11,"KeyB",32,"B",66,"VK_B",B,B],[33,0,12,"KeyC",33,"C",67,"VK_C",B,B],[34,0,13,"KeyD",34,"D",68,"VK_D",B,B],[35,0,14,"KeyE",35,"E",69,"VK_E",B,B],[36,0,15,"KeyF",36,"F",70,"VK_F",B,B],[37,0,16,"KeyG",37,"G",71,"VK_G",B,B],[38,0,17,"KeyH",38,"H",72,"VK_H",B,B],[39,0,18,"KeyI",39,"I",73,"VK_I",B,B],[40,0,19,"KeyJ",40,"J",74,"VK_J",B,B],[41,0,20,"KeyK",41,"K",75,"VK_K",B,B],[42,0,21,"KeyL",42,"L",76,"VK_L",B,B],[43,0,22,"KeyM",43,"M",77,"VK_M",B,B],[44,0,23,"KeyN",44,"N",78,"VK_N",B,B],[45,0,24,"KeyO",45,"O",79,"VK_O",B,B],[46,0,25,"KeyP",46,"P",80,"VK_P",B,B],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",B,B],[48,0,27,"KeyR",48,"R",82,"VK_R",B,B],[49,0,28,"KeyS",49,"S",83,"VK_S",B,B],[50,0,29,"KeyT",50,"T",84,"VK_T",B,B],[51,0,30,"KeyU",51,"U",85,"VK_U",B,B],[52,0,31,"KeyV",52,"V",86,"VK_V",B,B],[53,0,32,"KeyW",53,"W",87,"VK_W",B,B],[54,0,33,"KeyX",54,"X",88,"VK_X",B,B],[55,0,34,"KeyY",55,"Y",89,"VK_Y",B,B],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",B,B],[22,0,36,"Digit1",22,"1",49,"VK_1",B,B],[23,0,37,"Digit2",23,"2",50,"VK_2",B,B],[24,0,38,"Digit3",24,"3",51,"VK_3",B,B],[25,0,39,"Digit4",25,"4",52,"VK_4",B,B],[26,0,40,"Digit5",26,"5",53,"VK_5",B,B],[27,0,41,"Digit6",27,"6",54,"VK_6",B,B],[28,0,42,"Digit7",28,"7",55,"VK_7",B,B],[29,0,43,"Digit8",29,"8",56,"VK_8",B,B],[30,0,44,"Digit9",30,"9",57,"VK_9",B,B],[21,0,45,"Digit0",21,"0",48,"VK_0",B,B],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",B,B],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",B,B],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",B,B],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",B,B],[10,1,50,"Space",10,"Space",32,"VK_SPACE",B,B],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,B,0,B,B,B],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",B,B],[59,1,64,"F1",59,"F1",112,"VK_F1",B,B],[60,1,65,"F2",60,"F2",113,"VK_F2",B,B],[61,1,66,"F3",61,"F3",114,"VK_F3",B,B],[62,1,67,"F4",62,"F4",115,"VK_F4",B,B],[63,1,68,"F5",63,"F5",116,"VK_F5",B,B],[64,1,69,"F6",64,"F6",117,"VK_F6",B,B],[65,1,70,"F7",65,"F7",118,"VK_F7",B,B],[66,1,71,"F8",66,"F8",119,"VK_F8",B,B],[67,1,72,"F9",67,"F9",120,"VK_F9",B,B],[68,1,73,"F10",68,"F10",121,"VK_F10",B,B],[69,1,74,"F11",69,"F11",122,"VK_F11",B,B],[70,1,75,"F12",70,"F12",123,"VK_F12",B,B],[0,1,76,"PrintScreen",0,B,0,B,B,B],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",B,B],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",B,B],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",B,B],[14,1,80,"Home",14,"Home",36,"VK_HOME",B,B],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",B,B],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",B,B],[13,1,83,"End",13,"End",35,"VK_END",B,B],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",B,B],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",B],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",B],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",B],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",B],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",B,B],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",B,B],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",B,B],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",B,B],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",B,B],[3,1,94,"NumpadEnter",3,B,0,B,B,B],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",B,B],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",B,B],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",B,B],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",B,B],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",B,B],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",B,B],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",B,B],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",B,B],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",B,B],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",B,B],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",B,B],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",B,B],[58,1,107,"ContextMenu",58,"ContextMenu",93,B,B,B],[0,1,108,"Power",0,B,0,B,B,B],[0,1,109,"NumpadEqual",0,B,0,B,B,B],[71,1,110,"F13",71,"F13",124,"VK_F13",B,B],[72,1,111,"F14",72,"F14",125,"VK_F14",B,B],[73,1,112,"F15",73,"F15",126,"VK_F15",B,B],[74,1,113,"F16",74,"F16",127,"VK_F16",B,B],[75,1,114,"F17",75,"F17",128,"VK_F17",B,B],[76,1,115,"F18",76,"F18",129,"VK_F18",B,B],[77,1,116,"F19",77,"F19",130,"VK_F19",B,B],[0,1,117,"F20",0,B,0,"VK_F20",B,B],[0,1,118,"F21",0,B,0,"VK_F21",B,B],[0,1,119,"F22",0,B,0,"VK_F22",B,B],[0,1,120,"F23",0,B,0,"VK_F23",B,B],[0,1,121,"F24",0,B,0,"VK_F24",B,B],[0,1,122,"Open",0,B,0,B,B,B],[0,1,123,"Help",0,B,0,B,B,B],[0,1,124,"Select",0,B,0,B,B,B],[0,1,125,"Again",0,B,0,B,B,B],[0,1,126,"Undo",0,B,0,B,B,B],[0,1,127,"Cut",0,B,0,B,B,B],[0,1,128,"Copy",0,B,0,B,B,B],[0,1,129,"Paste",0,B,0,B,B,B],[0,1,130,"Find",0,B,0,B,B,B],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",B,B],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",B,B],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",B,B],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",B,B],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",B,B],[0,1,136,"KanaMode",0,B,0,B,B,B],[0,0,137,"IntlYen",0,B,0,B,B,B],[0,1,138,"Convert",0,B,0,B,B,B],[0,1,139,"NonConvert",0,B,0,B,B,B],[0,1,140,"Lang1",0,B,0,B,B,B],[0,1,141,"Lang2",0,B,0,B,B,B],[0,1,142,"Lang3",0,B,0,B,B,B],[0,1,143,"Lang4",0,B,0,B,B,B],[0,1,144,"Lang5",0,B,0,B,B,B],[0,1,145,"Abort",0,B,0,B,B,B],[0,1,146,"Props",0,B,0,B,B,B],[0,1,147,"NumpadParenLeft",0,B,0,B,B,B],[0,1,148,"NumpadParenRight",0,B,0,B,B,B],[0,1,149,"NumpadBackspace",0,B,0,B,B,B],[0,1,150,"NumpadMemoryStore",0,B,0,B,B,B],[0,1,151,"NumpadMemoryRecall",0,B,0,B,B,B],[0,1,152,"NumpadMemoryClear",0,B,0,B,B,B],[0,1,153,"NumpadMemoryAdd",0,B,0,B,B,B],[0,1,154,"NumpadMemorySubtract",0,B,0,B,B,B],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",B,B],[0,1,156,"NumpadClearEntry",0,B,0,B,B,B],[5,1,0,B,5,"Ctrl",17,"VK_CONTROL",B,B],[4,1,0,B,4,"Shift",16,"VK_SHIFT",B,B],[6,1,0,B,6,"Alt",18,"VK_MENU",B,B],[57,1,0,B,57,"Meta",91,"VK_COMMAND",B,B],[5,1,157,"ControlLeft",5,B,0,"VK_LCONTROL",B,B],[4,1,158,"ShiftLeft",4,B,0,"VK_LSHIFT",B,B],[6,1,159,"AltLeft",6,B,0,"VK_LMENU",B,B],[57,1,160,"MetaLeft",57,B,0,"VK_LWIN",B,B],[5,1,161,"ControlRight",5,B,0,"VK_RCONTROL",B,B],[4,1,162,"ShiftRight",4,B,0,"VK_RSHIFT",B,B],[6,1,163,"AltRight",6,B,0,"VK_RMENU",B,B],[57,1,164,"MetaRight",57,B,0,"VK_RWIN",B,B],[0,1,165,"BrightnessUp",0,B,0,B,B,B],[0,1,166,"BrightnessDown",0,B,0,B,B,B],[0,1,167,"MediaPlay",0,B,0,B,B,B],[0,1,168,"MediaRecord",0,B,0,B,B,B],[0,1,169,"MediaFastForward",0,B,0,B,B,B],[0,1,170,"MediaRewind",0,B,0,B,B,B],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",B,B],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",B,B],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",B,B],[0,1,174,"Eject",0,B,0,B,B,B],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",B,B],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",B,B],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",B,B],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",B,B],[0,1,179,"LaunchApp1",0,B,0,"VK_MEDIA_LAUNCH_APP1",B,B],[0,1,180,"SelectTask",0,B,0,B,B,B],[0,1,181,"LaunchScreenSaver",0,B,0,B,B,B],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",B,B],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",B,B],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",B,B],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",B,B],[0,1,186,"BrowserStop",0,B,0,"VK_BROWSER_STOP",B,B],[0,1,187,"BrowserRefresh",0,B,0,"VK_BROWSER_REFRESH",B,B],[0,1,188,"BrowserFavorites",0,B,0,"VK_BROWSER_FAVORITES",B,B],[0,1,189,"ZoomToggle",0,B,0,B,B,B],[0,1,190,"MailReply",0,B,0,B,B,B],[0,1,191,"MailForward",0,B,0,B,B,B],[0,1,192,"MailSend",0,B,0,B,B,B],[109,1,0,B,109,"KeyInComposition",229,B,B,B],[111,1,0,B,111,"ABNT_C2",194,"VK_ABNT_C2",B,B],[91,1,0,B,91,"OEM_8",223,"VK_OEM_8",B,B],[0,1,0,B,0,B,0,"VK_KANA",B,B],[0,1,0,B,0,B,0,"VK_HANGUL",B,B],[0,1,0,B,0,B,0,"VK_JUNJA",B,B],[0,1,0,B,0,B,0,"VK_FINAL",B,B],[0,1,0,B,0,B,0,"VK_HANJA",B,B],[0,1,0,B,0,B,0,"VK_KANJI",B,B],[0,1,0,B,0,B,0,"VK_CONVERT",B,B],[0,1,0,B,0,B,0,"VK_NONCONVERT",B,B],[0,1,0,B,0,B,0,"VK_ACCEPT",B,B],[0,1,0,B,0,B,0,"VK_MODECHANGE",B,B],[0,1,0,B,0,B,0,"VK_SELECT",B,B],[0,1,0,B,0,B,0,"VK_PRINT",B,B],[0,1,0,B,0,B,0,"VK_EXECUTE",B,B],[0,1,0,B,0,B,0,"VK_SNAPSHOT",B,B],[0,1,0,B,0,B,0,"VK_HELP",B,B],[0,1,0,B,0,B,0,"VK_APPS",B,B],[0,1,0,B,0,B,0,"VK_PROCESSKEY",B,B],[0,1,0,B,0,B,0,"VK_PACKET",B,B],[0,1,0,B,0,B,0,"VK_DBE_SBCSCHAR",B,B],[0,1,0,B,0,B,0,"VK_DBE_DBCSCHAR",B,B],[0,1,0,B,0,B,0,"VK_ATTN",B,B],[0,1,0,B,0,B,0,"VK_CRSEL",B,B],[0,1,0,B,0,B,0,"VK_EXSEL",B,B],[0,1,0,B,0,B,0,"VK_EREOF",B,B],[0,1,0,B,0,B,0,"VK_PLAY",B,B],[0,1,0,B,0,B,0,"VK_ZOOM",B,B],[0,1,0,B,0,B,0,"VK_NONAME",B,B],[0,1,0,B,0,B,0,"VK_PA1",B,B],[0,1,0,B,0,B,0,"VK_OEM_CLEAR",B,B]],I=[],A=[];for(const N of _){const[U,K,j,q,G,Z,Y,Q,J,ee]=N;if(A[j]||(A[j]=!0,scanCodeStrToInt[q]=j,scanCodeLowerCaseStrToInt[q.toLowerCase()]=j,K&&(IMMUTABLE_CODE_TO_KEY_CODE[j]=G)),!I[G]){if(I[G]=!0,!Z)throw new Error(`String representation missing for key code ${G} around scan code ${q}`);uiMap.define(G,Z),userSettingsUSMap.define(G,J||Z),userSettingsGeneralMap.define(G,ee||J||Z)}Y&&(EVENT_KEY_CODE_MAP[Y]=G)}})();var KeyCodeUtils;(function(B){function _(j){return uiMap.keyCodeToStr(j)}B.toString=_;function I(j){return uiMap.strToKeyCode(j)}B.fromString=I;function A(j){return userSettingsUSMap.keyCodeToStr(j)}B.toUserSettingsUS=A;function N(j){return userSettingsGeneralMap.keyCodeToStr(j)}B.toUserSettingsGeneral=N;function U(j){return userSettingsUSMap.strToKeyCode(j)||userSettingsGeneralMap.strToKeyCode(j)}B.fromUserSettings=U;function K(j){if(j>=93&&j<=108)return null;switch(j){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return uiMap.keyCodeToStr(j)}B.toElectronAccelerator=K})(KeyCodeUtils||(KeyCodeUtils={}));function KeyChord(B,_){const I=(_&65535)<<16>>>0;return(B|I)>>>0}let safeProcess;if(typeof globals.vscode<"u"&&typeof globals.vscode.process<"u"){const B=globals.vscode.process;safeProcess={get platform(){return B.platform},get arch(){return B.arch},get env(){return B.env},cwd(){return B.cwd()}}}else typeof process<"u"?safeProcess={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:safeProcess={get platform(){return isWindows?"win32":isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const cwd=safeProcess.cwd,env=safeProcess.env,platform=safeProcess.platform;safeProcess.arch;const CHAR_UPPERCASE_A=65,CHAR_LOWERCASE_A=97,CHAR_UPPERCASE_Z=90,CHAR_LOWERCASE_Z=122,CHAR_DOT=46,CHAR_FORWARD_SLASH=47,CHAR_BACKWARD_SLASH=92,CHAR_COLON=58,CHAR_QUESTION_MARK=63;class ErrorInvalidArgType extends Error{constructor(_,I,A){let N;typeof I=="string"&&I.indexOf("not ")===0?(N="must not be",I=I.replace(/^not /,"")):N="must be";const U=_.indexOf(".")!==-1?"property":"argument";let K=`The "${_}" ${U} ${N} of type ${I}`;K+=`. Received type ${typeof A}`,super(K),this.code="ERR_INVALID_ARG_TYPE"}}function validateObject(B,_){if(B===null||typeof B!="object")throw new ErrorInvalidArgType(_,"Object",B)}function validateString(B,_){if(typeof B!="string")throw new ErrorInvalidArgType(_,"string",B)}const platformIsWin32=platform==="win32";function isPathSeparator$1(B){return B===CHAR_FORWARD_SLASH||B===CHAR_BACKWARD_SLASH}function isPosixPathSeparator(B){return B===CHAR_FORWARD_SLASH}function isWindowsDeviceRoot(B){return B>=CHAR_UPPERCASE_A&&B<=CHAR_UPPERCASE_Z||B>=CHAR_LOWERCASE_A&&B<=CHAR_LOWERCASE_Z}function normalizeString(B,_,I,A){let N="",U=0,K=-1,j=0,q=0;for(let G=0;G<=B.length;++G){if(G2){const Z=N.lastIndexOf(I);Z===-1?(N="",U=0):(N=N.slice(0,Z),U=N.length-1-N.lastIndexOf(I)),K=G,j=0;continue}else if(N.length!==0){N="",U=0,K=G,j=0;continue}}_&&(N+=N.length>0?`${I}..`:"..",U=2)}else N.length>0?N+=`${I}${B.slice(K+1,G)}`:N=B.slice(K+1,G),U=G-K-1;K=G,j=0}else q===CHAR_DOT&&j!==-1?++j:j=-1}return N}function _format(B,_){validateObject(_,"pathObject");const I=_.dir||_.root,A=_.base||`${_.name||""}${_.ext||""}`;return I?I===_.root?`${I}${A}`:`${I}${B}${A}`:A}const win32={resolve(...B){let _="",I="",A=!1;for(let N=B.length-1;N>=-1;N--){let U;if(N>=0){if(U=B[N],validateString(U,"path"),U.length===0)continue}else _.length===0?U=cwd():(U=env[`=${_}`]||cwd(),(U===void 0||U.slice(0,2).toLowerCase()!==_.toLowerCase()&&U.charCodeAt(2)===CHAR_BACKWARD_SLASH)&&(U=`${_}\\`));const K=U.length;let j=0,q="",G=!1;const Z=U.charCodeAt(0);if(K===1)isPathSeparator$1(Z)&&(j=1,G=!0);else if(isPathSeparator$1(Z))if(G=!0,isPathSeparator$1(U.charCodeAt(1))){let Y=2,Q=Y;for(;Y2&&isPathSeparator$1(U.charCodeAt(2))&&(G=!0,j=3));if(q.length>0)if(_.length>0){if(q.toLowerCase()!==_.toLowerCase())continue}else _=q;if(A){if(_.length>0)break}else if(I=`${U.slice(j)}\\${I}`,A=G,G&&_.length>0)break}return I=normalizeString(I,!A,"\\",isPathSeparator$1),A?`${_}\\${I}`:`${_}${I}`||"."},normalize(B){validateString(B,"path");const _=B.length;if(_===0)return".";let I=0,A,N=!1;const U=B.charCodeAt(0);if(_===1)return isPosixPathSeparator(U)?"\\":B;if(isPathSeparator$1(U))if(N=!0,isPathSeparator$1(B.charCodeAt(1))){let j=2,q=j;for(;j<_&&!isPathSeparator$1(B.charCodeAt(j));)j++;if(j<_&&j!==q){const G=B.slice(q,j);for(q=j;j<_&&isPathSeparator$1(B.charCodeAt(j));)j++;if(j<_&&j!==q){for(q=j;j<_&&!isPathSeparator$1(B.charCodeAt(j));)j++;if(j===_)return`\\\\${G}\\${B.slice(q)}\\`;j!==q&&(A=`\\\\${G}\\${B.slice(q,j)}`,I=j)}}}else I=1;else isWindowsDeviceRoot(U)&&B.charCodeAt(1)===CHAR_COLON&&(A=B.slice(0,2),I=2,_>2&&isPathSeparator$1(B.charCodeAt(2))&&(N=!0,I=3));let K=I<_?normalizeString(B.slice(I),!N,"\\",isPathSeparator$1):"";return K.length===0&&!N&&(K="."),K.length>0&&isPathSeparator$1(B.charCodeAt(_-1))&&(K+="\\"),A===void 0?N?`\\${K}`:K:N?`${A}\\${K}`:`${A}${K}`},isAbsolute(B){validateString(B,"path");const _=B.length;if(_===0)return!1;const I=B.charCodeAt(0);return isPathSeparator$1(I)||_>2&&isWindowsDeviceRoot(I)&&B.charCodeAt(1)===CHAR_COLON&&isPathSeparator$1(B.charCodeAt(2))},join(...B){if(B.length===0)return".";let _,I;for(let U=0;U0&&(_===void 0?_=I=K:_+=`\\${K}`)}if(_===void 0)return".";let A=!0,N=0;if(typeof I=="string"&&isPathSeparator$1(I.charCodeAt(0))){++N;const U=I.length;U>1&&isPathSeparator$1(I.charCodeAt(1))&&(++N,U>2&&(isPathSeparator$1(I.charCodeAt(2))?++N:A=!1))}if(A){for(;N<_.length&&isPathSeparator$1(_.charCodeAt(N));)N++;N>=2&&(_=`\\${_.slice(N)}`)}return win32.normalize(_)},relative(B,_){if(validateString(B,"from"),validateString(_,"to"),B===_)return"";const I=win32.resolve(B),A=win32.resolve(_);if(I===A||(B=I.toLowerCase(),_=A.toLowerCase(),B===_))return"";let N=0;for(;NN&&B.charCodeAt(U-1)===CHAR_BACKWARD_SLASH;)U--;const K=U-N;let j=0;for(;j<_.length&&_.charCodeAt(j)===CHAR_BACKWARD_SLASH;)j++;let q=_.length;for(;q-1>j&&_.charCodeAt(q-1)===CHAR_BACKWARD_SLASH;)q--;const G=q-j,Z=KZ){if(_.charCodeAt(j+Q)===CHAR_BACKWARD_SLASH)return A.slice(j+Q+1);if(Q===2)return A.slice(j+Q)}K>Z&&(B.charCodeAt(N+Q)===CHAR_BACKWARD_SLASH?Y=Q:Q===2&&(Y=3)),Y===-1&&(Y=0)}let J="";for(Q=N+Y+1;Q<=U;++Q)(Q===U||B.charCodeAt(Q)===CHAR_BACKWARD_SLASH)&&(J+=J.length===0?"..":"\\..");return j+=Y,J.length>0?`${J}${A.slice(j,q)}`:(A.charCodeAt(j)===CHAR_BACKWARD_SLASH&&++j,A.slice(j,q))},toNamespacedPath(B){if(typeof B!="string"||B.length===0)return B;const _=win32.resolve(B);if(_.length<=2)return B;if(_.charCodeAt(0)===CHAR_BACKWARD_SLASH){if(_.charCodeAt(1)===CHAR_BACKWARD_SLASH){const I=_.charCodeAt(2);if(I!==CHAR_QUESTION_MARK&&I!==CHAR_DOT)return`\\\\?\\UNC\\${_.slice(2)}`}}else if(isWindowsDeviceRoot(_.charCodeAt(0))&&_.charCodeAt(1)===CHAR_COLON&&_.charCodeAt(2)===CHAR_BACKWARD_SLASH)return`\\\\?\\${_}`;return B},dirname(B){validateString(B,"path");const _=B.length;if(_===0)return".";let I=-1,A=0;const N=B.charCodeAt(0);if(_===1)return isPathSeparator$1(N)?B:".";if(isPathSeparator$1(N)){if(I=A=1,isPathSeparator$1(B.charCodeAt(1))){let j=2,q=j;for(;j<_&&!isPathSeparator$1(B.charCodeAt(j));)j++;if(j<_&&j!==q){for(q=j;j<_&&isPathSeparator$1(B.charCodeAt(j));)j++;if(j<_&&j!==q){for(q=j;j<_&&!isPathSeparator$1(B.charCodeAt(j));)j++;if(j===_)return B;j!==q&&(I=A=j+1)}}}}else isWindowsDeviceRoot(N)&&B.charCodeAt(1)===CHAR_COLON&&(I=_>2&&isPathSeparator$1(B.charCodeAt(2))?3:2,A=I);let U=-1,K=!0;for(let j=_-1;j>=A;--j)if(isPathSeparator$1(B.charCodeAt(j))){if(!K){U=j;break}}else K=!1;if(U===-1){if(I===-1)return".";U=I}return B.slice(0,U)},basename(B,_){_!==void 0&&validateString(_,"ext"),validateString(B,"path");let I=0,A=-1,N=!0,U;if(B.length>=2&&isWindowsDeviceRoot(B.charCodeAt(0))&&B.charCodeAt(1)===CHAR_COLON&&(I=2),_!==void 0&&_.length>0&&_.length<=B.length){if(_===B)return"";let K=_.length-1,j=-1;for(U=B.length-1;U>=I;--U){const q=B.charCodeAt(U);if(isPathSeparator$1(q)){if(!N){I=U+1;break}}else j===-1&&(N=!1,j=U+1),K>=0&&(q===_.charCodeAt(K)?--K===-1&&(A=U):(K=-1,A=j))}return I===A?A=j:A===-1&&(A=B.length),B.slice(I,A)}for(U=B.length-1;U>=I;--U)if(isPathSeparator$1(B.charCodeAt(U))){if(!N){I=U+1;break}}else A===-1&&(N=!1,A=U+1);return A===-1?"":B.slice(I,A)},extname(B){validateString(B,"path");let _=0,I=-1,A=0,N=-1,U=!0,K=0;B.length>=2&&B.charCodeAt(1)===CHAR_COLON&&isWindowsDeviceRoot(B.charCodeAt(0))&&(_=A=2);for(let j=B.length-1;j>=_;--j){const q=B.charCodeAt(j);if(isPathSeparator$1(q)){if(!U){A=j+1;break}continue}N===-1&&(U=!1,N=j+1),q===CHAR_DOT?I===-1?I=j:K!==1&&(K=1):I!==-1&&(K=-1)}return I===-1||N===-1||K===0||K===1&&I===N-1&&I===A+1?"":B.slice(I,N)},format:_format.bind(null,"\\"),parse(B){validateString(B,"path");const _={root:"",dir:"",base:"",ext:"",name:""};if(B.length===0)return _;const I=B.length;let A=0,N=B.charCodeAt(0);if(I===1)return isPathSeparator$1(N)?(_.root=_.dir=B,_):(_.base=_.name=B,_);if(isPathSeparator$1(N)){if(A=1,isPathSeparator$1(B.charCodeAt(1))){let Y=2,Q=Y;for(;Y0&&(_.root=B.slice(0,A));let U=-1,K=A,j=-1,q=!0,G=B.length-1,Z=0;for(;G>=A;--G){if(N=B.charCodeAt(G),isPathSeparator$1(N)){if(!q){K=G+1;break}continue}j===-1&&(q=!1,j=G+1),N===CHAR_DOT?U===-1?U=G:Z!==1&&(Z=1):U!==-1&&(Z=-1)}return j!==-1&&(U===-1||Z===0||Z===1&&U===j-1&&U===K+1?_.base=_.name=B.slice(K,j):(_.name=B.slice(K,U),_.base=B.slice(K,j),_.ext=B.slice(U,j))),K>0&&K!==A?_.dir=B.slice(0,K-1):_.dir=_.root,_},sep:"\\",delimiter:";",win32:null,posix:null},posixCwd=(()=>{if(platformIsWin32){const B=/\\/g;return()=>{const _=cwd().replace(B,"/");return _.slice(_.indexOf("/"))}}return()=>cwd()})(),posix={resolve(...B){let _="",I=!1;for(let A=B.length-1;A>=-1&&!I;A--){const N=A>=0?B[A]:posixCwd();validateString(N,"path"),N.length!==0&&(_=`${N}/${_}`,I=N.charCodeAt(0)===CHAR_FORWARD_SLASH)}return _=normalizeString(_,!I,"/",isPosixPathSeparator),I?`/${_}`:_.length>0?_:"."},normalize(B){if(validateString(B,"path"),B.length===0)return".";const _=B.charCodeAt(0)===CHAR_FORWARD_SLASH,I=B.charCodeAt(B.length-1)===CHAR_FORWARD_SLASH;return B=normalizeString(B,!_,"/",isPosixPathSeparator),B.length===0?_?"/":I?"./":".":(I&&(B+="/"),_?`/${B}`:B)},isAbsolute(B){return validateString(B,"path"),B.length>0&&B.charCodeAt(0)===CHAR_FORWARD_SLASH},join(...B){if(B.length===0)return".";let _;for(let I=0;I0&&(_===void 0?_=A:_+=`/${A}`)}return _===void 0?".":posix.normalize(_)},relative(B,_){if(validateString(B,"from"),validateString(_,"to"),B===_||(B=posix.resolve(B),_=posix.resolve(_),B===_))return"";const I=1,A=B.length,N=A-I,U=1,K=_.length-U,j=Nj){if(_.charCodeAt(U+G)===CHAR_FORWARD_SLASH)return _.slice(U+G+1);if(G===0)return _.slice(U+G)}else N>j&&(B.charCodeAt(I+G)===CHAR_FORWARD_SLASH?q=G:G===0&&(q=0));let Z="";for(G=I+q+1;G<=A;++G)(G===A||B.charCodeAt(G)===CHAR_FORWARD_SLASH)&&(Z+=Z.length===0?"..":"/..");return`${Z}${_.slice(U+q)}`},toNamespacedPath(B){return B},dirname(B){if(validateString(B,"path"),B.length===0)return".";const _=B.charCodeAt(0)===CHAR_FORWARD_SLASH;let I=-1,A=!0;for(let N=B.length-1;N>=1;--N)if(B.charCodeAt(N)===CHAR_FORWARD_SLASH){if(!A){I=N;break}}else A=!1;return I===-1?_?"/":".":_&&I===1?"//":B.slice(0,I)},basename(B,_){_!==void 0&&validateString(_,"ext"),validateString(B,"path");let I=0,A=-1,N=!0,U;if(_!==void 0&&_.length>0&&_.length<=B.length){if(_===B)return"";let K=_.length-1,j=-1;for(U=B.length-1;U>=0;--U){const q=B.charCodeAt(U);if(q===CHAR_FORWARD_SLASH){if(!N){I=U+1;break}}else j===-1&&(N=!1,j=U+1),K>=0&&(q===_.charCodeAt(K)?--K===-1&&(A=U):(K=-1,A=j))}return I===A?A=j:A===-1&&(A=B.length),B.slice(I,A)}for(U=B.length-1;U>=0;--U)if(B.charCodeAt(U)===CHAR_FORWARD_SLASH){if(!N){I=U+1;break}}else A===-1&&(N=!1,A=U+1);return A===-1?"":B.slice(I,A)},extname(B){validateString(B,"path");let _=-1,I=0,A=-1,N=!0,U=0;for(let K=B.length-1;K>=0;--K){const j=B.charCodeAt(K);if(j===CHAR_FORWARD_SLASH){if(!N){I=K+1;break}continue}A===-1&&(N=!1,A=K+1),j===CHAR_DOT?_===-1?_=K:U!==1&&(U=1):_!==-1&&(U=-1)}return _===-1||A===-1||U===0||U===1&&_===A-1&&_===I+1?"":B.slice(_,A)},format:_format.bind(null,"/"),parse(B){validateString(B,"path");const _={root:"",dir:"",base:"",ext:"",name:""};if(B.length===0)return _;const I=B.charCodeAt(0)===CHAR_FORWARD_SLASH;let A;I?(_.root="/",A=1):A=0;let N=-1,U=0,K=-1,j=!0,q=B.length-1,G=0;for(;q>=A;--q){const Z=B.charCodeAt(q);if(Z===CHAR_FORWARD_SLASH){if(!j){U=q+1;break}continue}K===-1&&(j=!1,K=q+1),Z===CHAR_DOT?N===-1?N=q:G!==1&&(G=1):N!==-1&&(G=-1)}if(K!==-1){const Z=U===0&&I?1:U;N===-1||G===0||G===1&&N===K-1&&N===U+1?_.base=_.name=B.slice(Z,K):(_.name=B.slice(Z,N),_.base=B.slice(Z,K),_.ext=B.slice(N,K))}return U>0?_.dir=B.slice(0,U-1):I&&(_.dir="/"),_},sep:"/",delimiter:":",win32:null,posix:null};posix.win32=win32.win32=win32;posix.posix=win32.posix=posix;const normalize=platformIsWin32?win32.normalize:posix.normalize;platformIsWin32?win32.isAbsolute:posix.isAbsolute;platformIsWin32?win32.join:posix.join;const resolve=platformIsWin32?win32.resolve:posix.resolve,relative=platformIsWin32?win32.relative:posix.relative,dirname$1=platformIsWin32?win32.dirname:posix.dirname,basename$1=platformIsWin32?win32.basename:posix.basename,extname$1=platformIsWin32?win32.extname:posix.extname;platformIsWin32?win32.format:posix.format;platformIsWin32?win32.parse:posix.parse;platformIsWin32?win32.toNamespacedPath:posix.toNamespacedPath;const sep=platformIsWin32?win32.sep:posix.sep;platformIsWin32?win32.delimiter:posix.delimiter;const _schemePattern=/^\w[\w\d+.-]*$/,_singleSlashStart=/^\//,_doubleSlashStart=/^\/\//;function _validateUri(B,_){if(!B.scheme&&_)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${B.authority}", path: "${B.path}", query: "${B.query}", fragment: "${B.fragment}"}`);if(B.scheme&&!_schemePattern.test(B.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(B.path){if(B.authority){if(!_singleSlashStart.test(B.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(_doubleSlashStart.test(B.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function _schemeFix(B,_){return!B&&!_?"file":B}function _referenceResolution(B,_){switch(B){case"https":case"http":case"file":_?_[0]!==_slash&&(_=_slash+_):_=_slash;break}return _}const _empty="",_slash="/",_regexp=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class URI{static isUri(_){return _ instanceof URI?!0:_?typeof _.authority=="string"&&typeof _.fragment=="string"&&typeof _.path=="string"&&typeof _.query=="string"&&typeof _.scheme=="string"&&typeof _.fsPath=="string"&&typeof _.with=="function"&&typeof _.toString=="function":!1}constructor(_,I,A,N,U,K=!1){typeof _=="object"?(this.scheme=_.scheme||_empty,this.authority=_.authority||_empty,this.path=_.path||_empty,this.query=_.query||_empty,this.fragment=_.fragment||_empty):(this.scheme=_schemeFix(_,K),this.authority=I||_empty,this.path=_referenceResolution(this.scheme,A||_empty),this.query=N||_empty,this.fragment=U||_empty,_validateUri(this,K))}get fsPath(){return uriToFsPath(this,!1)}with(_){if(!_)return this;let{scheme:I,authority:A,path:N,query:U,fragment:K}=_;return I===void 0?I=this.scheme:I===null&&(I=_empty),A===void 0?A=this.authority:A===null&&(A=_empty),N===void 0?N=this.path:N===null&&(N=_empty),U===void 0?U=this.query:U===null&&(U=_empty),K===void 0?K=this.fragment:K===null&&(K=_empty),I===this.scheme&&A===this.authority&&N===this.path&&U===this.query&&K===this.fragment?this:new Uri$1(I,A,N,U,K)}static parse(_,I=!1){const A=_regexp.exec(_);return A?new Uri$1(A[2]||_empty,percentDecode(A[4]||_empty),percentDecode(A[5]||_empty),percentDecode(A[7]||_empty),percentDecode(A[9]||_empty),I):new Uri$1(_empty,_empty,_empty,_empty,_empty)}static file(_){let I=_empty;if(isWindows&&(_=_.replace(/\\/g,_slash)),_[0]===_slash&&_[1]===_slash){const A=_.indexOf(_slash,2);A===-1?(I=_.substring(2),_=_slash):(I=_.substring(2,A),_=_.substring(A)||_slash)}return new Uri$1("file",I,_,_empty,_empty)}static from(_){const I=new Uri$1(_.scheme,_.authority,_.path,_.query,_.fragment);return _validateUri(I,!0),I}static joinPath(_,...I){if(!_.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let A;return isWindows&&_.scheme==="file"?A=URI.file(win32.join(uriToFsPath(_,!0),...I)).path:A=posix.join(_.path,...I),_.with({path:A})}toString(_=!1){return _asFormatted(this,_)}toJSON(){return this}static revive(_){if(_){if(_ instanceof URI)return _;{const I=new Uri$1(_);return I._formatted=_.external,I._fsPath=_._sep===_pathSepMarker?_.fsPath:null,I}}else return _}}const _pathSepMarker=isWindows?1:void 0;let Uri$1=class extends URI{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=uriToFsPath(this,!1)),this._fsPath}toString(_=!1){return _?_asFormatted(this,!0):(this._formatted||(this._formatted=_asFormatted(this,!1)),this._formatted)}toJSON(){const _={$mid:1};return this._fsPath&&(_.fsPath=this._fsPath,_._sep=_pathSepMarker),this._formatted&&(_.external=this._formatted),this.path&&(_.path=this.path),this.scheme&&(_.scheme=this.scheme),this.authority&&(_.authority=this.authority),this.query&&(_.query=this.query),this.fragment&&(_.fragment=this.fragment),_}};const encodeTable={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function encodeURIComponentFast(B,_,I){let A,N=-1;for(let U=0;U=97&&K<=122||K>=65&&K<=90||K>=48&&K<=57||K===45||K===46||K===95||K===126||_&&K===47||I&&K===91||I&&K===93||I&&K===58)N!==-1&&(A+=encodeURIComponent(B.substring(N,U)),N=-1),A!==void 0&&(A+=B.charAt(U));else{A===void 0&&(A=B.substr(0,U));const j=encodeTable[K];j!==void 0?(N!==-1&&(A+=encodeURIComponent(B.substring(N,U)),N=-1),A+=j):N===-1&&(N=U)}}return N!==-1&&(A+=encodeURIComponent(B.substring(N))),A!==void 0?A:B}function encodeURIComponentMinimal(B){let _;for(let I=0;I1&&B.scheme==="file"?I=`//${B.authority}${B.path}`:B.path.charCodeAt(0)===47&&(B.path.charCodeAt(1)>=65&&B.path.charCodeAt(1)<=90||B.path.charCodeAt(1)>=97&&B.path.charCodeAt(1)<=122)&&B.path.charCodeAt(2)===58?_?I=B.path.substr(1):I=B.path[1].toLowerCase()+B.path.substr(2):I=B.path,isWindows&&(I=I.replace(/\//g,"\\")),I}function _asFormatted(B,_){const I=_?encodeURIComponentMinimal:encodeURIComponentFast;let A="",{scheme:N,authority:U,path:K,query:j,fragment:q}=B;if(N&&(A+=N,A+=":"),(U||N==="file")&&(A+=_slash,A+=_slash),U){let G=U.indexOf("@");if(G!==-1){const Z=U.substr(0,G);U=U.substr(G+1),G=Z.lastIndexOf(":"),G===-1?A+=I(Z,!1,!1):(A+=I(Z.substr(0,G),!1,!1),A+=":",A+=I(Z.substr(G+1),!1,!0)),A+="@"}U=U.toLowerCase(),G=U.lastIndexOf(":"),G===-1?A+=I(U,!1,!0):(A+=I(U.substr(0,G),!1,!0),A+=U.substr(G))}if(K){if(K.length>=3&&K.charCodeAt(0)===47&&K.charCodeAt(2)===58){const G=K.charCodeAt(1);G>=65&&G<=90&&(K=`/${String.fromCharCode(G+32)}:${K.substr(3)}`)}else if(K.length>=2&&K.charCodeAt(1)===58){const G=K.charCodeAt(0);G>=65&&G<=90&&(K=`${String.fromCharCode(G+32)}:${K.substr(2)}`)}A+=I(K,!0,!1)}return j&&(A+="?",A+=I(j,!1,!1)),q&&(A+="#",A+=_?q:encodeURIComponentFast(q,!1,!1)),A}function decodeURIComponentGraceful(B){try{return decodeURIComponent(B)}catch{return B.length>3?B.substr(0,3)+decodeURIComponentGraceful(B.substr(3)):B}}const _rEncodedAsHex=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function percentDecode(B){return B.match(_rEncodedAsHex)?B.replace(_rEncodedAsHex,_=>decodeURIComponentGraceful(_)):B}let Position$1=class ui{constructor(_,I){this.lineNumber=_,this.column=I}with(_=this.lineNumber,I=this.column){return _===this.lineNumber&&I===this.column?this:new ui(_,I)}delta(_=0,I=0){return this.with(this.lineNumber+_,this.column+I)}equals(_){return ui.equals(this,_)}static equals(_,I){return!_&&!I?!0:!!_&&!!I&&_.lineNumber===I.lineNumber&&_.column===I.column}isBefore(_){return ui.isBefore(this,_)}static isBefore(_,I){return _.lineNumberA||_===A&&I>N?(this.startLineNumber=A,this.startColumn=N,this.endLineNumber=_,this.endColumn=I):(this.startLineNumber=_,this.startColumn=I,this.endLineNumber=A,this.endColumn=N)}isEmpty(){return Mt.isEmpty(this)}static isEmpty(_){return _.startLineNumber===_.endLineNumber&&_.startColumn===_.endColumn}containsPosition(_){return Mt.containsPosition(this,_)}static containsPosition(_,I){return!(I.lineNumber<_.startLineNumber||I.lineNumber>_.endLineNumber||I.lineNumber===_.startLineNumber&&I.column<_.startColumn||I.lineNumber===_.endLineNumber&&I.column>_.endColumn)}static strictContainsPosition(_,I){return!(I.lineNumber<_.startLineNumber||I.lineNumber>_.endLineNumber||I.lineNumber===_.startLineNumber&&I.column<=_.startColumn||I.lineNumber===_.endLineNumber&&I.column>=_.endColumn)}containsRange(_){return Mt.containsRange(this,_)}static containsRange(_,I){return!(I.startLineNumber<_.startLineNumber||I.endLineNumber<_.startLineNumber||I.startLineNumber>_.endLineNumber||I.endLineNumber>_.endLineNumber||I.startLineNumber===_.startLineNumber&&I.startColumn<_.startColumn||I.endLineNumber===_.endLineNumber&&I.endColumn>_.endColumn)}strictContainsRange(_){return Mt.strictContainsRange(this,_)}static strictContainsRange(_,I){return!(I.startLineNumber<_.startLineNumber||I.endLineNumber<_.startLineNumber||I.startLineNumber>_.endLineNumber||I.endLineNumber>_.endLineNumber||I.startLineNumber===_.startLineNumber&&I.startColumn<=_.startColumn||I.endLineNumber===_.endLineNumber&&I.endColumn>=_.endColumn)}plusRange(_){return Mt.plusRange(this,_)}static plusRange(_,I){let A,N,U,K;return I.startLineNumber<_.startLineNumber?(A=I.startLineNumber,N=I.startColumn):I.startLineNumber===_.startLineNumber?(A=I.startLineNumber,N=Math.min(I.startColumn,_.startColumn)):(A=_.startLineNumber,N=_.startColumn),I.endLineNumber>_.endLineNumber?(U=I.endLineNumber,K=I.endColumn):I.endLineNumber===_.endLineNumber?(U=I.endLineNumber,K=Math.max(I.endColumn,_.endColumn)):(U=_.endLineNumber,K=_.endColumn),new Mt(A,N,U,K)}intersectRanges(_){return Mt.intersectRanges(this,_)}static intersectRanges(_,I){let A=_.startLineNumber,N=_.startColumn,U=_.endLineNumber,K=_.endColumn;const j=I.startLineNumber,q=I.startColumn,G=I.endLineNumber,Z=I.endColumn;return AG?(U=G,K=Z):U===G&&(K=Math.min(K,Z)),A>U||A===U&&N>K?null:new Mt(A,N,U,K)}equalsRange(_){return Mt.equalsRange(this,_)}static equalsRange(_,I){return!_&&!I?!0:!!_&&!!I&&_.startLineNumber===I.startLineNumber&&_.startColumn===I.startColumn&&_.endLineNumber===I.endLineNumber&&_.endColumn===I.endColumn}getEndPosition(){return Mt.getEndPosition(this)}static getEndPosition(_){return new Position$1(_.endLineNumber,_.endColumn)}getStartPosition(){return Mt.getStartPosition(this)}static getStartPosition(_){return new Position$1(_.startLineNumber,_.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(_,I){return new Mt(this.startLineNumber,this.startColumn,_,I)}setStartPosition(_,I){return new Mt(_,I,this.endLineNumber,this.endColumn)}collapseToStart(){return Mt.collapseToStart(this)}static collapseToStart(_){return new Mt(_.startLineNumber,_.startColumn,_.startLineNumber,_.startColumn)}collapseToEnd(){return Mt.collapseToEnd(this)}static collapseToEnd(_){return new Mt(_.endLineNumber,_.endColumn,_.endLineNumber,_.endColumn)}delta(_){return new Mt(this.startLineNumber+_,this.startColumn,this.endLineNumber+_,this.endColumn)}static fromPositions(_,I=_){return new Mt(_.lineNumber,_.column,I.lineNumber,I.column)}static lift(_){return _?new Mt(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn):null}static isIRange(_){return _&&typeof _.startLineNumber=="number"&&typeof _.startColumn=="number"&&typeof _.endLineNumber=="number"&&typeof _.endColumn=="number"}static areIntersectingOrTouching(_,I){return!(_.endLineNumber_.startLineNumber}toJSON(){return this}},Selection$1=class Kt extends Range$3{constructor(_,I,A,N){super(_,I,A,N),this.selectionStartLineNumber=_,this.selectionStartColumn=I,this.positionLineNumber=A,this.positionColumn=N}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(_){return Kt.selectionsEqual(this,_)}static selectionsEqual(_,I){return _.selectionStartLineNumber===I.selectionStartLineNumber&&_.selectionStartColumn===I.selectionStartColumn&&_.positionLineNumber===I.positionLineNumber&&_.positionColumn===I.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(_,I){return this.getDirection()===0?new Kt(this.startLineNumber,this.startColumn,_,I):new Kt(_,I,this.startLineNumber,this.startColumn)}getPosition(){return new Position$1(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Position$1(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(_,I){return this.getDirection()===0?new Kt(_,I,this.endLineNumber,this.endColumn):new Kt(this.endLineNumber,this.endColumn,_,I)}static fromPositions(_,I=_){return new Kt(_.lineNumber,_.column,I.lineNumber,I.column)}static fromRange(_,I){return I===0?new Kt(_.startLineNumber,_.startColumn,_.endLineNumber,_.endColumn):new Kt(_.endLineNumber,_.endColumn,_.startLineNumber,_.startColumn)}static liftSelection(_){return new Kt(_.selectionStartLineNumber,_.selectionStartColumn,_.positionLineNumber,_.positionColumn)}static selectionsArrEqual(_,I){if(_&&!I||!_&&I)return!1;if(!_&&!I)return!0;if(_.length!==I.length)return!1;for(let A=0,N=_.length;A{this._tokenizationSupports.get(_)===I&&(this._tokenizationSupports.delete(_),this.handleChange([_]))})}get(_){return this._tokenizationSupports.get(_)||null}registerFactory(_,I){var A;(A=this._factories.get(_))===null||A===void 0||A.dispose();const N=new TokenizationSupportFactoryData(this,_,I);return this._factories.set(_,N),toDisposable(()=>{const U=this._factories.get(_);!U||U!==N||(this._factories.delete(_),U.dispose())})}getOrCreate(_){return __awaiter$1w(this,void 0,void 0,function*(){const I=this.get(_);if(I)return I;const A=this._factories.get(_);return!A||A.isResolved?null:(yield A.resolve(),this.get(_))})}isResolved(_){if(this.get(_))return!0;const A=this._factories.get(_);return!!(!A||A.isResolved)}setColorMap(_){this._colorMap=_,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};class TokenizationSupportFactoryData extends Disposable{get isResolved(){return this._isResolved}constructor(_,I,A){super(),this._registry=_,this._languageId=I,this._factory=A,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return __awaiter$1w(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return __awaiter$1w(this,void 0,void 0,function*(){const _=yield this._factory.tokenizationSupport;this._isResolved=!0,_&&!this._isDisposed&&this._register(this._registry.register(this._languageId,_))})}}let Token$2=class{constructor(_,I,A){this.offset=_,this.type=I,this.language=A,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};class TokenizationResult{constructor(_,I){this.tokens=_,this.endState=I,this._tokenizationResultBrand=void 0}}class EncodedTokenizationResult{constructor(_,I){this.tokens=_,this.endState=I,this._encodedTokenizationResultBrand=void 0}}var CompletionItemKinds;(function(B){const _=new Map;_.set(0,Codicon.symbolMethod),_.set(1,Codicon.symbolFunction),_.set(2,Codicon.symbolConstructor),_.set(3,Codicon.symbolField),_.set(4,Codicon.symbolVariable),_.set(5,Codicon.symbolClass),_.set(6,Codicon.symbolStruct),_.set(7,Codicon.symbolInterface),_.set(8,Codicon.symbolModule),_.set(9,Codicon.symbolProperty),_.set(10,Codicon.symbolEvent),_.set(11,Codicon.symbolOperator),_.set(12,Codicon.symbolUnit),_.set(13,Codicon.symbolValue),_.set(15,Codicon.symbolEnum),_.set(14,Codicon.symbolConstant),_.set(15,Codicon.symbolEnum),_.set(16,Codicon.symbolEnumMember),_.set(17,Codicon.symbolKeyword),_.set(27,Codicon.symbolSnippet),_.set(18,Codicon.symbolText),_.set(19,Codicon.symbolColor),_.set(20,Codicon.symbolFile),_.set(21,Codicon.symbolReference),_.set(22,Codicon.symbolCustomColor),_.set(23,Codicon.symbolFolder),_.set(24,Codicon.symbolTypeParameter),_.set(25,Codicon.account),_.set(26,Codicon.issues);function I(U){let K=_.get(U);return K||(console.info("No codicon found for CompletionItemKind "+U),K=Codicon.symbolProperty),K}B.toIcon=I;const A=new Map;A.set("method",0),A.set("function",1),A.set("constructor",2),A.set("field",3),A.set("variable",4),A.set("class",5),A.set("struct",6),A.set("interface",7),A.set("module",8),A.set("property",9),A.set("event",10),A.set("operator",11),A.set("unit",12),A.set("value",13),A.set("constant",14),A.set("enum",15),A.set("enum-member",16),A.set("enumMember",16),A.set("keyword",17),A.set("snippet",27),A.set("text",18),A.set("color",19),A.set("file",20),A.set("reference",21),A.set("customcolor",22),A.set("folder",23),A.set("type-parameter",24),A.set("typeParameter",24),A.set("account",25),A.set("issue",26);function N(U,K){let j=A.get(U);return typeof j>"u"&&!K&&(j=9),j}B.fromString=N})(CompletionItemKinds||(CompletionItemKinds={}));var InlineCompletionTriggerKind$1;(function(B){B[B.Automatic=0]="Automatic",B[B.Explicit=1]="Explicit"})(InlineCompletionTriggerKind$1||(InlineCompletionTriggerKind$1={}));var SignatureHelpTriggerKind$1;(function(B){B[B.Invoke=1]="Invoke",B[B.TriggerCharacter=2]="TriggerCharacter",B[B.ContentChange=3]="ContentChange"})(SignatureHelpTriggerKind$1||(SignatureHelpTriggerKind$1={}));var DocumentHighlightKind$1;(function(B){B[B.Text=0]="Text",B[B.Read=1]="Read",B[B.Write=2]="Write"})(DocumentHighlightKind$1||(DocumentHighlightKind$1={}));function isLocationLink(B){return B&&URI.isUri(B.uri)&&Range$3.isIRange(B.range)&&(Range$3.isIRange(B.originSelectionRange)||Range$3.isIRange(B.targetSelectionRange))}var SymbolKinds;(function(B){const _=new Map;_.set(0,Codicon.symbolFile),_.set(1,Codicon.symbolModule),_.set(2,Codicon.symbolNamespace),_.set(3,Codicon.symbolPackage),_.set(4,Codicon.symbolClass),_.set(5,Codicon.symbolMethod),_.set(6,Codicon.symbolProperty),_.set(7,Codicon.symbolField),_.set(8,Codicon.symbolConstructor),_.set(9,Codicon.symbolEnum),_.set(10,Codicon.symbolInterface),_.set(11,Codicon.symbolFunction),_.set(12,Codicon.symbolVariable),_.set(13,Codicon.symbolConstant),_.set(14,Codicon.symbolString),_.set(15,Codicon.symbolNumber),_.set(16,Codicon.symbolBoolean),_.set(17,Codicon.symbolArray),_.set(18,Codicon.symbolObject),_.set(19,Codicon.symbolKey),_.set(20,Codicon.symbolNull),_.set(21,Codicon.symbolEnumMember),_.set(22,Codicon.symbolStruct),_.set(23,Codicon.symbolEvent),_.set(24,Codicon.symbolOperator),_.set(25,Codicon.symbolTypeParameter);function I(A){let N=_.get(A);return N||(console.info("No codicon found for SymbolKind "+A),N=Codicon.symbolProperty),N}B.toIcon=I})(SymbolKinds||(SymbolKinds={}));class FoldingRangeKind{static fromValue(_){switch(_){case"comment":return FoldingRangeKind.Comment;case"imports":return FoldingRangeKind.Imports;case"region":return FoldingRangeKind.Region}return new FoldingRangeKind(_)}constructor(_){this.value=_}}FoldingRangeKind.Comment=new FoldingRangeKind("comment");FoldingRangeKind.Imports=new FoldingRangeKind("imports");FoldingRangeKind.Region=new FoldingRangeKind("region");var Command$1;(function(B){function _(I){return!I||typeof I!="object"?!1:typeof I.id=="string"&&typeof I.title=="string"}B.is=_})(Command$1||(Command$1={}));var CommentThreadCollapsibleState;(function(B){B[B.Collapsed=0]="Collapsed",B[B.Expanded=1]="Expanded"})(CommentThreadCollapsibleState||(CommentThreadCollapsibleState={}));var CommentThreadState;(function(B){B[B.Unresolved=0]="Unresolved",B[B.Resolved=1]="Resolved"})(CommentThreadState||(CommentThreadState={}));var CommentMode;(function(B){B[B.Editing=0]="Editing",B[B.Preview=1]="Preview"})(CommentMode||(CommentMode={}));var CommentState;(function(B){B[B.Published=0]="Published",B[B.Draft=1]="Draft"})(CommentState||(CommentState={}));var InlayHintKind$1;(function(B){B[B.Type=1]="Type",B[B.Parameter=2]="Parameter"})(InlayHintKind$1||(InlayHintKind$1={}));class LazyTokenizationSupport{constructor(_){this.createSupport=_,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(_=>{_&&_.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const TokenizationRegistry=new TokenizationRegistry$1;var ExternalUriOpenerPriority;(function(B){B[B.None=0]="None",B[B.Option=1]="Option",B[B.Default=2]="Default",B[B.Preferred=3]="Preferred"})(ExternalUriOpenerPriority||(ExternalUriOpenerPriority={}));var AccessibilitySupport;(function(B){B[B.Unknown=0]="Unknown",B[B.Disabled=1]="Disabled",B[B.Enabled=2]="Enabled"})(AccessibilitySupport||(AccessibilitySupport={}));var CodeActionTriggerType;(function(B){B[B.Invoke=1]="Invoke",B[B.Auto=2]="Auto"})(CodeActionTriggerType||(CodeActionTriggerType={}));var CompletionItemInsertTextRule;(function(B){B[B.None=0]="None",B[B.KeepWhitespace=1]="KeepWhitespace",B[B.InsertAsSnippet=4]="InsertAsSnippet"})(CompletionItemInsertTextRule||(CompletionItemInsertTextRule={}));var CompletionItemKind;(function(B){B[B.Method=0]="Method",B[B.Function=1]="Function",B[B.Constructor=2]="Constructor",B[B.Field=3]="Field",B[B.Variable=4]="Variable",B[B.Class=5]="Class",B[B.Struct=6]="Struct",B[B.Interface=7]="Interface",B[B.Module=8]="Module",B[B.Property=9]="Property",B[B.Event=10]="Event",B[B.Operator=11]="Operator",B[B.Unit=12]="Unit",B[B.Value=13]="Value",B[B.Constant=14]="Constant",B[B.Enum=15]="Enum",B[B.EnumMember=16]="EnumMember",B[B.Keyword=17]="Keyword",B[B.Text=18]="Text",B[B.Color=19]="Color",B[B.File=20]="File",B[B.Reference=21]="Reference",B[B.Customcolor=22]="Customcolor",B[B.Folder=23]="Folder",B[B.TypeParameter=24]="TypeParameter",B[B.User=25]="User",B[B.Issue=26]="Issue",B[B.Snippet=27]="Snippet"})(CompletionItemKind||(CompletionItemKind={}));var CompletionItemTag;(function(B){B[B.Deprecated=1]="Deprecated"})(CompletionItemTag||(CompletionItemTag={}));var CompletionTriggerKind;(function(B){B[B.Invoke=0]="Invoke",B[B.TriggerCharacter=1]="TriggerCharacter",B[B.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(CompletionTriggerKind||(CompletionTriggerKind={}));var ContentWidgetPositionPreference;(function(B){B[B.EXACT=0]="EXACT",B[B.ABOVE=1]="ABOVE",B[B.BELOW=2]="BELOW"})(ContentWidgetPositionPreference||(ContentWidgetPositionPreference={}));var CursorChangeReason;(function(B){B[B.NotSet=0]="NotSet",B[B.ContentFlush=1]="ContentFlush",B[B.RecoverFromMarkers=2]="RecoverFromMarkers",B[B.Explicit=3]="Explicit",B[B.Paste=4]="Paste",B[B.Undo=5]="Undo",B[B.Redo=6]="Redo"})(CursorChangeReason||(CursorChangeReason={}));var DefaultEndOfLine;(function(B){B[B.LF=1]="LF",B[B.CRLF=2]="CRLF"})(DefaultEndOfLine||(DefaultEndOfLine={}));var DocumentHighlightKind;(function(B){B[B.Text=0]="Text",B[B.Read=1]="Read",B[B.Write=2]="Write"})(DocumentHighlightKind||(DocumentHighlightKind={}));var EditorAutoIndentStrategy;(function(B){B[B.None=0]="None",B[B.Keep=1]="Keep",B[B.Brackets=2]="Brackets",B[B.Advanced=3]="Advanced",B[B.Full=4]="Full"})(EditorAutoIndentStrategy||(EditorAutoIndentStrategy={}));var EditorOption;(function(B){B[B.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",B[B.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",B[B.accessibilitySupport=2]="accessibilitySupport",B[B.accessibilityPageSize=3]="accessibilityPageSize",B[B.ariaLabel=4]="ariaLabel",B[B.autoClosingBrackets=5]="autoClosingBrackets",B[B.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",B[B.autoClosingDelete=7]="autoClosingDelete",B[B.autoClosingOvertype=8]="autoClosingOvertype",B[B.autoClosingQuotes=9]="autoClosingQuotes",B[B.autoIndent=10]="autoIndent",B[B.automaticLayout=11]="automaticLayout",B[B.autoSurround=12]="autoSurround",B[B.bracketPairColorization=13]="bracketPairColorization",B[B.guides=14]="guides",B[B.codeLens=15]="codeLens",B[B.codeLensFontFamily=16]="codeLensFontFamily",B[B.codeLensFontSize=17]="codeLensFontSize",B[B.colorDecorators=18]="colorDecorators",B[B.colorDecoratorsLimit=19]="colorDecoratorsLimit",B[B.columnSelection=20]="columnSelection",B[B.comments=21]="comments",B[B.contextmenu=22]="contextmenu",B[B.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",B[B.cursorBlinking=24]="cursorBlinking",B[B.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",B[B.cursorStyle=26]="cursorStyle",B[B.cursorSurroundingLines=27]="cursorSurroundingLines",B[B.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",B[B.cursorWidth=29]="cursorWidth",B[B.disableLayerHinting=30]="disableLayerHinting",B[B.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",B[B.domReadOnly=32]="domReadOnly",B[B.dragAndDrop=33]="dragAndDrop",B[B.dropIntoEditor=34]="dropIntoEditor",B[B.emptySelectionClipboard=35]="emptySelectionClipboard",B[B.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",B[B.extraEditorClassName=37]="extraEditorClassName",B[B.fastScrollSensitivity=38]="fastScrollSensitivity",B[B.find=39]="find",B[B.fixedOverflowWidgets=40]="fixedOverflowWidgets",B[B.folding=41]="folding",B[B.foldingStrategy=42]="foldingStrategy",B[B.foldingHighlight=43]="foldingHighlight",B[B.foldingImportsByDefault=44]="foldingImportsByDefault",B[B.foldingMaximumRegions=45]="foldingMaximumRegions",B[B.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",B[B.fontFamily=47]="fontFamily",B[B.fontInfo=48]="fontInfo",B[B.fontLigatures=49]="fontLigatures",B[B.fontSize=50]="fontSize",B[B.fontWeight=51]="fontWeight",B[B.fontVariations=52]="fontVariations",B[B.formatOnPaste=53]="formatOnPaste",B[B.formatOnType=54]="formatOnType",B[B.glyphMargin=55]="glyphMargin",B[B.gotoLocation=56]="gotoLocation",B[B.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",B[B.hover=58]="hover",B[B.inDiffEditor=59]="inDiffEditor",B[B.inlineSuggest=60]="inlineSuggest",B[B.letterSpacing=61]="letterSpacing",B[B.lightbulb=62]="lightbulb",B[B.lineDecorationsWidth=63]="lineDecorationsWidth",B[B.lineHeight=64]="lineHeight",B[B.lineNumbers=65]="lineNumbers",B[B.lineNumbersMinChars=66]="lineNumbersMinChars",B[B.linkedEditing=67]="linkedEditing",B[B.links=68]="links",B[B.matchBrackets=69]="matchBrackets",B[B.minimap=70]="minimap",B[B.mouseStyle=71]="mouseStyle",B[B.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",B[B.mouseWheelZoom=73]="mouseWheelZoom",B[B.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",B[B.multiCursorModifier=75]="multiCursorModifier",B[B.multiCursorPaste=76]="multiCursorPaste",B[B.multiCursorLimit=77]="multiCursorLimit",B[B.occurrencesHighlight=78]="occurrencesHighlight",B[B.overviewRulerBorder=79]="overviewRulerBorder",B[B.overviewRulerLanes=80]="overviewRulerLanes",B[B.padding=81]="padding",B[B.parameterHints=82]="parameterHints",B[B.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",B[B.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",B[B.quickSuggestions=85]="quickSuggestions",B[B.quickSuggestionsDelay=86]="quickSuggestionsDelay",B[B.readOnly=87]="readOnly",B[B.renameOnType=88]="renameOnType",B[B.renderControlCharacters=89]="renderControlCharacters",B[B.renderFinalNewline=90]="renderFinalNewline",B[B.renderLineHighlight=91]="renderLineHighlight",B[B.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",B[B.renderValidationDecorations=93]="renderValidationDecorations",B[B.renderWhitespace=94]="renderWhitespace",B[B.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",B[B.roundedSelection=96]="roundedSelection",B[B.rulers=97]="rulers",B[B.scrollbar=98]="scrollbar",B[B.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",B[B.scrollBeyondLastLine=100]="scrollBeyondLastLine",B[B.scrollPredominantAxis=101]="scrollPredominantAxis",B[B.selectionClipboard=102]="selectionClipboard",B[B.selectionHighlight=103]="selectionHighlight",B[B.selectOnLineNumbers=104]="selectOnLineNumbers",B[B.showFoldingControls=105]="showFoldingControls",B[B.showUnused=106]="showUnused",B[B.snippetSuggestions=107]="snippetSuggestions",B[B.smartSelect=108]="smartSelect",B[B.smoothScrolling=109]="smoothScrolling",B[B.stickyScroll=110]="stickyScroll",B[B.stickyTabStops=111]="stickyTabStops",B[B.stopRenderingLineAfter=112]="stopRenderingLineAfter",B[B.suggest=113]="suggest",B[B.suggestFontSize=114]="suggestFontSize",B[B.suggestLineHeight=115]="suggestLineHeight",B[B.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",B[B.suggestSelection=117]="suggestSelection",B[B.tabCompletion=118]="tabCompletion",B[B.tabIndex=119]="tabIndex",B[B.unicodeHighlighting=120]="unicodeHighlighting",B[B.unusualLineTerminators=121]="unusualLineTerminators",B[B.useShadowDOM=122]="useShadowDOM",B[B.useTabStops=123]="useTabStops",B[B.wordBreak=124]="wordBreak",B[B.wordSeparators=125]="wordSeparators",B[B.wordWrap=126]="wordWrap",B[B.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",B[B.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",B[B.wordWrapColumn=129]="wordWrapColumn",B[B.wordWrapOverride1=130]="wordWrapOverride1",B[B.wordWrapOverride2=131]="wordWrapOverride2",B[B.wrappingIndent=132]="wrappingIndent",B[B.wrappingStrategy=133]="wrappingStrategy",B[B.showDeprecated=134]="showDeprecated",B[B.inlayHints=135]="inlayHints",B[B.editorClassName=136]="editorClassName",B[B.pixelRatio=137]="pixelRatio",B[B.tabFocusMode=138]="tabFocusMode",B[B.layoutInfo=139]="layoutInfo",B[B.wrappingInfo=140]="wrappingInfo"})(EditorOption||(EditorOption={}));var EndOfLinePreference;(function(B){B[B.TextDefined=0]="TextDefined",B[B.LF=1]="LF",B[B.CRLF=2]="CRLF"})(EndOfLinePreference||(EndOfLinePreference={}));var EndOfLineSequence;(function(B){B[B.LF=0]="LF",B[B.CRLF=1]="CRLF"})(EndOfLineSequence||(EndOfLineSequence={}));var IndentAction$1;(function(B){B[B.None=0]="None",B[B.Indent=1]="Indent",B[B.IndentOutdent=2]="IndentOutdent",B[B.Outdent=3]="Outdent"})(IndentAction$1||(IndentAction$1={}));var InjectedTextCursorStops$1;(function(B){B[B.Both=0]="Both",B[B.Right=1]="Right",B[B.Left=2]="Left",B[B.None=3]="None"})(InjectedTextCursorStops$1||(InjectedTextCursorStops$1={}));var InlayHintKind;(function(B){B[B.Type=1]="Type",B[B.Parameter=2]="Parameter"})(InlayHintKind||(InlayHintKind={}));var InlineCompletionTriggerKind;(function(B){B[B.Automatic=0]="Automatic",B[B.Explicit=1]="Explicit"})(InlineCompletionTriggerKind||(InlineCompletionTriggerKind={}));var KeyCode$1;(function(B){B[B.DependsOnKbLayout=-1]="DependsOnKbLayout",B[B.Unknown=0]="Unknown",B[B.Backspace=1]="Backspace",B[B.Tab=2]="Tab",B[B.Enter=3]="Enter",B[B.Shift=4]="Shift",B[B.Ctrl=5]="Ctrl",B[B.Alt=6]="Alt",B[B.PauseBreak=7]="PauseBreak",B[B.CapsLock=8]="CapsLock",B[B.Escape=9]="Escape",B[B.Space=10]="Space",B[B.PageUp=11]="PageUp",B[B.PageDown=12]="PageDown",B[B.End=13]="End",B[B.Home=14]="Home",B[B.LeftArrow=15]="LeftArrow",B[B.UpArrow=16]="UpArrow",B[B.RightArrow=17]="RightArrow",B[B.DownArrow=18]="DownArrow",B[B.Insert=19]="Insert",B[B.Delete=20]="Delete",B[B.Digit0=21]="Digit0",B[B.Digit1=22]="Digit1",B[B.Digit2=23]="Digit2",B[B.Digit3=24]="Digit3",B[B.Digit4=25]="Digit4",B[B.Digit5=26]="Digit5",B[B.Digit6=27]="Digit6",B[B.Digit7=28]="Digit7",B[B.Digit8=29]="Digit8",B[B.Digit9=30]="Digit9",B[B.KeyA=31]="KeyA",B[B.KeyB=32]="KeyB",B[B.KeyC=33]="KeyC",B[B.KeyD=34]="KeyD",B[B.KeyE=35]="KeyE",B[B.KeyF=36]="KeyF",B[B.KeyG=37]="KeyG",B[B.KeyH=38]="KeyH",B[B.KeyI=39]="KeyI",B[B.KeyJ=40]="KeyJ",B[B.KeyK=41]="KeyK",B[B.KeyL=42]="KeyL",B[B.KeyM=43]="KeyM",B[B.KeyN=44]="KeyN",B[B.KeyO=45]="KeyO",B[B.KeyP=46]="KeyP",B[B.KeyQ=47]="KeyQ",B[B.KeyR=48]="KeyR",B[B.KeyS=49]="KeyS",B[B.KeyT=50]="KeyT",B[B.KeyU=51]="KeyU",B[B.KeyV=52]="KeyV",B[B.KeyW=53]="KeyW",B[B.KeyX=54]="KeyX",B[B.KeyY=55]="KeyY",B[B.KeyZ=56]="KeyZ",B[B.Meta=57]="Meta",B[B.ContextMenu=58]="ContextMenu",B[B.F1=59]="F1",B[B.F2=60]="F2",B[B.F3=61]="F3",B[B.F4=62]="F4",B[B.F5=63]="F5",B[B.F6=64]="F6",B[B.F7=65]="F7",B[B.F8=66]="F8",B[B.F9=67]="F9",B[B.F10=68]="F10",B[B.F11=69]="F11",B[B.F12=70]="F12",B[B.F13=71]="F13",B[B.F14=72]="F14",B[B.F15=73]="F15",B[B.F16=74]="F16",B[B.F17=75]="F17",B[B.F18=76]="F18",B[B.F19=77]="F19",B[B.NumLock=78]="NumLock",B[B.ScrollLock=79]="ScrollLock",B[B.Semicolon=80]="Semicolon",B[B.Equal=81]="Equal",B[B.Comma=82]="Comma",B[B.Minus=83]="Minus",B[B.Period=84]="Period",B[B.Slash=85]="Slash",B[B.Backquote=86]="Backquote",B[B.BracketLeft=87]="BracketLeft",B[B.Backslash=88]="Backslash",B[B.BracketRight=89]="BracketRight",B[B.Quote=90]="Quote",B[B.OEM_8=91]="OEM_8",B[B.IntlBackslash=92]="IntlBackslash",B[B.Numpad0=93]="Numpad0",B[B.Numpad1=94]="Numpad1",B[B.Numpad2=95]="Numpad2",B[B.Numpad3=96]="Numpad3",B[B.Numpad4=97]="Numpad4",B[B.Numpad5=98]="Numpad5",B[B.Numpad6=99]="Numpad6",B[B.Numpad7=100]="Numpad7",B[B.Numpad8=101]="Numpad8",B[B.Numpad9=102]="Numpad9",B[B.NumpadMultiply=103]="NumpadMultiply",B[B.NumpadAdd=104]="NumpadAdd",B[B.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",B[B.NumpadSubtract=106]="NumpadSubtract",B[B.NumpadDecimal=107]="NumpadDecimal",B[B.NumpadDivide=108]="NumpadDivide",B[B.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",B[B.ABNT_C1=110]="ABNT_C1",B[B.ABNT_C2=111]="ABNT_C2",B[B.AudioVolumeMute=112]="AudioVolumeMute",B[B.AudioVolumeUp=113]="AudioVolumeUp",B[B.AudioVolumeDown=114]="AudioVolumeDown",B[B.BrowserSearch=115]="BrowserSearch",B[B.BrowserHome=116]="BrowserHome",B[B.BrowserBack=117]="BrowserBack",B[B.BrowserForward=118]="BrowserForward",B[B.MediaTrackNext=119]="MediaTrackNext",B[B.MediaTrackPrevious=120]="MediaTrackPrevious",B[B.MediaStop=121]="MediaStop",B[B.MediaPlayPause=122]="MediaPlayPause",B[B.LaunchMediaPlayer=123]="LaunchMediaPlayer",B[B.LaunchMail=124]="LaunchMail",B[B.LaunchApp2=125]="LaunchApp2",B[B.Clear=126]="Clear",B[B.MAX_VALUE=127]="MAX_VALUE"})(KeyCode$1||(KeyCode$1={}));var MarkerSeverity$2;(function(B){B[B.Hint=1]="Hint",B[B.Info=2]="Info",B[B.Warning=4]="Warning",B[B.Error=8]="Error"})(MarkerSeverity$2||(MarkerSeverity$2={}));var MarkerTag$1;(function(B){B[B.Unnecessary=1]="Unnecessary",B[B.Deprecated=2]="Deprecated"})(MarkerTag$1||(MarkerTag$1={}));var MinimapPosition$1;(function(B){B[B.Inline=1]="Inline",B[B.Gutter=2]="Gutter"})(MinimapPosition$1||(MinimapPosition$1={}));var MouseTargetType;(function(B){B[B.UNKNOWN=0]="UNKNOWN",B[B.TEXTAREA=1]="TEXTAREA",B[B.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",B[B.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",B[B.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",B[B.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",B[B.CONTENT_TEXT=6]="CONTENT_TEXT",B[B.CONTENT_EMPTY=7]="CONTENT_EMPTY",B[B.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",B[B.CONTENT_WIDGET=9]="CONTENT_WIDGET",B[B.OVERVIEW_RULER=10]="OVERVIEW_RULER",B[B.SCROLLBAR=11]="SCROLLBAR",B[B.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",B[B.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(MouseTargetType||(MouseTargetType={}));var OverlayWidgetPositionPreference;(function(B){B[B.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",B[B.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",B[B.TOP_CENTER=2]="TOP_CENTER"})(OverlayWidgetPositionPreference||(OverlayWidgetPositionPreference={}));var OverviewRulerLane$1;(function(B){B[B.Left=1]="Left",B[B.Center=2]="Center",B[B.Right=4]="Right",B[B.Full=7]="Full"})(OverviewRulerLane$1||(OverviewRulerLane$1={}));var PositionAffinity;(function(B){B[B.Left=0]="Left",B[B.Right=1]="Right",B[B.None=2]="None",B[B.LeftOfInjectedText=3]="LeftOfInjectedText",B[B.RightOfInjectedText=4]="RightOfInjectedText"})(PositionAffinity||(PositionAffinity={}));var RenderLineNumbersType;(function(B){B[B.Off=0]="Off",B[B.On=1]="On",B[B.Relative=2]="Relative",B[B.Interval=3]="Interval",B[B.Custom=4]="Custom"})(RenderLineNumbersType||(RenderLineNumbersType={}));var RenderMinimap;(function(B){B[B.None=0]="None",B[B.Text=1]="Text",B[B.Blocks=2]="Blocks"})(RenderMinimap||(RenderMinimap={}));var ScrollType;(function(B){B[B.Smooth=0]="Smooth",B[B.Immediate=1]="Immediate"})(ScrollType||(ScrollType={}));var ScrollbarVisibility;(function(B){B[B.Auto=1]="Auto",B[B.Hidden=2]="Hidden",B[B.Visible=3]="Visible"})(ScrollbarVisibility||(ScrollbarVisibility={}));var SelectionDirection$1;(function(B){B[B.LTR=0]="LTR",B[B.RTL=1]="RTL"})(SelectionDirection$1||(SelectionDirection$1={}));var SignatureHelpTriggerKind;(function(B){B[B.Invoke=1]="Invoke",B[B.TriggerCharacter=2]="TriggerCharacter",B[B.ContentChange=3]="ContentChange"})(SignatureHelpTriggerKind||(SignatureHelpTriggerKind={}));var SymbolKind;(function(B){B[B.File=0]="File",B[B.Module=1]="Module",B[B.Namespace=2]="Namespace",B[B.Package=3]="Package",B[B.Class=4]="Class",B[B.Method=5]="Method",B[B.Property=6]="Property",B[B.Field=7]="Field",B[B.Constructor=8]="Constructor",B[B.Enum=9]="Enum",B[B.Interface=10]="Interface",B[B.Function=11]="Function",B[B.Variable=12]="Variable",B[B.Constant=13]="Constant",B[B.String=14]="String",B[B.Number=15]="Number",B[B.Boolean=16]="Boolean",B[B.Array=17]="Array",B[B.Object=18]="Object",B[B.Key=19]="Key",B[B.Null=20]="Null",B[B.EnumMember=21]="EnumMember",B[B.Struct=22]="Struct",B[B.Event=23]="Event",B[B.Operator=24]="Operator",B[B.TypeParameter=25]="TypeParameter"})(SymbolKind||(SymbolKind={}));var SymbolTag;(function(B){B[B.Deprecated=1]="Deprecated"})(SymbolTag||(SymbolTag={}));var TextEditorCursorBlinkingStyle;(function(B){B[B.Hidden=0]="Hidden",B[B.Blink=1]="Blink",B[B.Smooth=2]="Smooth",B[B.Phase=3]="Phase",B[B.Expand=4]="Expand",B[B.Solid=5]="Solid"})(TextEditorCursorBlinkingStyle||(TextEditorCursorBlinkingStyle={}));var TextEditorCursorStyle;(function(B){B[B.Line=1]="Line",B[B.Block=2]="Block",B[B.Underline=3]="Underline",B[B.LineThin=4]="LineThin",B[B.BlockOutline=5]="BlockOutline",B[B.UnderlineThin=6]="UnderlineThin"})(TextEditorCursorStyle||(TextEditorCursorStyle={}));var TrackedRangeStickiness;(function(B){B[B.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",B[B.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",B[B.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",B[B.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(TrackedRangeStickiness||(TrackedRangeStickiness={}));var WrappingIndent;(function(B){B[B.None=0]="None",B[B.Same=1]="Same",B[B.Indent=2]="Indent",B[B.DeepIndent=3]="DeepIndent"})(WrappingIndent||(WrappingIndent={}));let KeyMod$1=class{static chord(_,I){return KeyChord(_,I)}};KeyMod$1.CtrlCmd=2048;KeyMod$1.Shift=1024;KeyMod$1.Alt=512;KeyMod$1.WinCtrl=256;function createMonacoBaseAPI(){return{editor:void 0,languages:void 0,CancellationTokenSource:CancellationTokenSource$1,Emitter:Emitter$1,KeyCode:KeyCode$1,KeyMod:KeyMod$1,Position:Position$1,Range:Range$3,Selection:Selection$1,SelectionDirection:SelectionDirection$1,MarkerSeverity:MarkerSeverity$2,MarkerTag:MarkerTag$1,Uri:URI,Token:Token$2}}const standaloneTokens="";class LRUCachedFunction{constructor(_){this.fn=_,this.lastCache=void 0,this.lastArgKey=void 0}get(_){const I=JSON.stringify(_);return this.lastArgKey!==I&&(this.lastArgKey=I,this.lastCache=this.fn(_)),this.lastCache}}class CachedFunction{get cachedValues(){return this._map}constructor(_){this.fn=_,this._map=new Map}get(_){if(this._map.has(_))return this._map.get(_);const I=this.fn(_);return this._map.set(_,I),I}}class Lazy{constructor(_){this.executor=_,this._didRun=!1}get hasValue(){return this._didRun}get value(){if(!this._didRun)try{this._value=this.executor()}catch(_){this._error=_}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var _a$c;function isFalsyOrWhitespace(B){return!B||typeof B!="string"?!0:B.trim().length===0}const _formatRegexp=/{(\d+)}/g;function format(B,..._){return _.length===0?B:B.replace(_formatRegexp,function(I,A){const N=parseInt(A,10);return isNaN(N)||N<0||N>=_.length?I:_[N]})}function escape(B){return B.replace(/[<>&]/g,function(_){switch(_){case"<":return"<";case">":return">";case"&":return"&";default:return _}})}function escapeRegExpCharacters(B){return B.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function trim(B,_=" "){const I=ltrim(B,_);return rtrim(I,_)}function ltrim(B,_){if(!B||!_)return B;const I=_.length;if(I===0||B.length===0)return B;let A=0;for(;B.indexOf(_,A)===A;)A=A+I;return B.substring(A)}function rtrim(B,_){if(!B||!_)return B;const I=_.length,A=B.length;if(I===0||A===0)return B;let N=A,U=-1;for(;U=B.lastIndexOf(_,N-1),!(U===-1||U+I!==N);){if(U===0)return"";N=U}return B.substring(0,N)}function convertSimple2RegExpPattern(B){return B.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function stripWildcards(B){return B.replace(/\*/g,"")}function createRegExp(B,_,I={}){if(!B)throw new Error("Cannot create regex from empty string");_||(B=escapeRegExpCharacters(B)),I.wholeWord&&(/\B/.test(B.charAt(0))||(B="\\b"+B),/\B/.test(B.charAt(B.length-1))||(B=B+"\\b"));let A="";return I.global&&(A+="g"),I.matchCase||(A+="i"),I.multiline&&(A+="m"),I.unicode&&(A+="u"),new RegExp(B,A)}function regExpLeadsToEndlessLoop(B){return B.source==="^"||B.source==="^$"||B.source==="$"||B.source==="^\\s*$"?!1:!!(B.exec("")&&B.lastIndex===0)}function regExpFlags(B){return(B.global?"g":"")+(B.ignoreCase?"i":"")+(B.multiline?"m":"")+(B.unicode?"u":"")}function splitLines(B){return B.split(/\r\n|\r|\n/)}function firstNonWhitespaceIndex(B){for(let _=0,I=B.length;_=0;I--){const A=B.charCodeAt(I);if(A!==32&&A!==9)return I}return-1}function compare$1(B,_){return B<_?-1:B>_?1:0}function compareSubstring(B,_,I=0,A=B.length,N=0,U=_.length){for(;IG)return 1}const K=A-I,j=U-N;return Kj?1:0}function compareIgnoreCase(B,_){return compareSubstringIgnoreCase(B,_,0,B.length,0,_.length)}function compareSubstringIgnoreCase(B,_,I=0,A=B.length,N=0,U=_.length){for(;I=128||G>=128)return compareSubstring(B.toLowerCase(),_.toLowerCase(),I,A,N,U);isLowerAsciiLetter(q)&&(q-=32),isLowerAsciiLetter(G)&&(G-=32);const Z=q-G;if(Z!==0)return Z}const K=A-I,j=U-N;return Kj?1:0}function isAsciiDigit(B){return B>=48&&B<=57}function isLowerAsciiLetter(B){return B>=97&&B<=122}function isUpperAsciiLetter(B){return B>=65&&B<=90}function equalsIgnoreCase(B,_){return B.length===_.length&&compareSubstringIgnoreCase(B,_)===0}function startsWithIgnoreCase(B,_){const I=_.length;return _.length>B.length?!1:compareSubstringIgnoreCase(B,_,0,I)===0}function commonPrefixLength(B,_){const I=Math.min(B.length,_.length);let A;for(A=0;A1){const A=B.charCodeAt(_-2);if(isHighSurrogate(A))return computeCodePoint(A,I)}return I}class CodePointIterator{get offset(){return this._offset}constructor(_,I=0){this._str=_,this._len=_.length,this._offset=I}setOffset(_){this._offset=_}prevCodePoint(){const _=getPrevCodePoint(this._str,this._offset);return this._offset-=_>=65536?2:1,_}nextCodePoint(){const _=getNextCodePoint(this._str,this._len,this._offset);return this._offset+=_>=65536?2:1,_}eol(){return this._offset>=this._len}}class GraphemeIterator{get offset(){return this._iterator.offset}constructor(_,I=0){this._iterator=new CodePointIterator(_,I)}nextGraphemeLength(){const _=GraphemeBreakTree.getInstance(),I=this._iterator,A=I.offset;let N=_.getGraphemeBreakType(I.nextCodePoint());for(;!I.eol();){const U=I.offset,K=_.getGraphemeBreakType(I.nextCodePoint());if(breakBetweenGraphemeBreakType(N,K)){I.setOffset(U);break}N=K}return I.offset-A}prevGraphemeLength(){const _=GraphemeBreakTree.getInstance(),I=this._iterator,A=I.offset;let N=_.getGraphemeBreakType(I.prevCodePoint());for(;I.offset>0;){const U=I.offset,K=_.getGraphemeBreakType(I.prevCodePoint());if(breakBetweenGraphemeBreakType(K,N)){I.setOffset(U);break}N=K}return A-I.offset}eol(){return this._iterator.eol()}}function nextCharLength(B,_){return new GraphemeIterator(B,_).nextGraphemeLength()}function prevCharLength(B,_){return new GraphemeIterator(B,_).prevGraphemeLength()}function getCharContainingOffset(B,_){_>0&&isLowSurrogate(B.charCodeAt(_))&&_--;const I=_+nextCharLength(B,_);return[I-prevCharLength(B,I),I]}let CONTAINS_RTL;function makeContainsRtl(){return/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/}function containsRTL(B){return CONTAINS_RTL||(CONTAINS_RTL=makeContainsRtl()),CONTAINS_RTL.test(B)}const IS_BASIC_ASCII=/^[\t\n\r\x20-\x7E]*$/;function isBasicASCII(B){return IS_BASIC_ASCII.test(B)}const UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function containsUnusualLineTerminators(B){return UNUSUAL_LINE_TERMINATORS.test(B)}function isFullWidthCharacter(B){return B>=11904&&B<=55215||B>=63744&&B<=64255||B>=65281&&B<=65374}function isEmojiImprecise(B){return B>=127462&&B<=127487||B===8986||B===8987||B===9200||B===9203||B>=9728&&B<=10175||B===11088||B===11093||B>=127744&&B<=128591||B>=128640&&B<=128764||B>=128992&&B<=129008||B>=129280&&B<=129535||B>=129648&&B<=129782}const UTF8_BOM_CHARACTER=String.fromCharCode(65279);function startsWithUTF8BOM(B){return!!(B&&B.length>0&&B.charCodeAt(0)===65279)}function containsUppercaseCharacter(B,_=!1){return B?(_&&(B=B.replace(/\\./g,"")),B.toLowerCase()!==B):!1}function singleLetterHash(B){return B=B%(2*26),B<26?String.fromCharCode(97+B):String.fromCharCode(65+B-26)}function breakBetweenGraphemeBreakType(B,_){return B===0?_!==5&&_!==7:B===2&&_===3?!1:B===4||B===2||B===3||_===4||_===2||_===3?!0:!(B===8&&(_===8||_===9||_===11||_===12)||(B===11||B===9)&&(_===9||_===10)||(B===12||B===10)&&_===10||_===5||_===13||_===7||B===1||B===13&&_===14||B===6&&_===6)}class GraphemeBreakTree{static getInstance(){return GraphemeBreakTree._INSTANCE||(GraphemeBreakTree._INSTANCE=new GraphemeBreakTree),GraphemeBreakTree._INSTANCE}constructor(){this._data=getGraphemeBreakRawData()}getGraphemeBreakType(_){if(_<32)return _===10?3:_===13?2:4;if(_<127)return 0;const I=this._data,A=I.length/3;let N=1;for(;N<=A;)if(_I[3*N+1])N=2*N+1;else return I[3*N+2];return 0}}GraphemeBreakTree._INSTANCE=null;function getGraphemeBreakRawData(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function getLeftDeleteOffset(B,_){if(B===0)return 0;const I=getOffsetBeforeLastEmojiComponent(B,_);if(I!==void 0)return I;const A=new CodePointIterator(_,B);return A.prevCodePoint(),A.offset}function getOffsetBeforeLastEmojiComponent(B,_){const I=new CodePointIterator(_,B);let A=I.prevCodePoint();for(;isEmojiModifier(A)||A===65039||A===8419;){if(I.offset===0)return;A=I.prevCodePoint()}if(!isEmojiImprecise(A))return;let N=I.offset;return N>0&&I.prevCodePoint()===8205&&(N=I.offset),N}function isEmojiModifier(B){return 127995<=B&&B<=127999}const noBreakWhitespace=" ";class AmbiguousCharacters{static getInstance(_){return AmbiguousCharacters.cache.get(Array.from(_))}static getLocales(){return AmbiguousCharacters._locales.value}constructor(_){this.confusableDictionary=_}isAmbiguous(_){return this.confusableDictionary.has(_)}getPrimaryConfusable(_){return this.confusableDictionary.get(_)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}_a$c=AmbiguousCharacters;AmbiguousCharacters.ambiguousCharacterData=new Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'));AmbiguousCharacters.cache=new LRUCachedFunction(B=>{function _(G){const Z=new Map;for(let Y=0;Y!G.startsWith("_")&&G in N);U.length===0&&(U=["_default"]);let K;for(const G of U){const Z=_(N[G]);K=A(K,Z)}const j=_(N._common),q=I(j,K);return new AmbiguousCharacters(q)});AmbiguousCharacters._locales=new Lazy(()=>Object.keys(AmbiguousCharacters.ambiguousCharacterData.value).filter(B=>!B.startsWith("_")));class InvisibleCharacters{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(InvisibleCharacters.getRawData())),this._data}static isInvisibleCharacter(_){return InvisibleCharacters.getData().has(_)}static get codePoints(){return InvisibleCharacters.getData()}}InvisibleCharacters._data=void 0;class WindowManager{constructor(){this._zoomLevel=0,this._zoomFactor=1,this._fullscreen=!1,this._onDidChangeFullscreen=new Emitter$1,this.onDidChangeFullscreen=this._onDidChangeFullscreen.event}getZoomLevel(){return this._zoomLevel}setZoomLevel(_,I){this._zoomLevel!==_&&(this._zoomLevel=_)}getZoomFactor(){return this._zoomFactor}setZoomFactor(_){this._zoomFactor=_}setFullscreen(_){this._fullscreen!==_&&(this._fullscreen=_,this._onDidChangeFullscreen.fire())}isFullscreen(){return this._fullscreen}}WindowManager.INSTANCE=new WindowManager;class DevicePixelRatioMonitor extends Disposable{constructor(){super(),this._onDidChange=this._register(new Emitter$1),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(_){var I;(I=this._mediaQueryList)===null||I===void 0||I.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),_&&this._onDidChange.fire()}}class PixelRatioImpl extends Disposable{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new Emitter$1),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const _=this._register(new DevicePixelRatioMonitor);this._register(_.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const _=document.createElement("canvas").getContext("2d"),I=window.devicePixelRatio||1,A=_.webkitBackingStorePixelRatio||_.mozBackingStorePixelRatio||_.msBackingStorePixelRatio||_.oBackingStorePixelRatio||_.backingStorePixelRatio||1;return I/A}}class PixelRatioFacade{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=new PixelRatioImpl),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function addMatchMediaChangeListener(B,_){typeof B=="string"&&(B=window.matchMedia(B)),B.addEventListener("change",_)}const PixelRatio=new PixelRatioFacade;function setZoomLevel(B,_){WindowManager.INSTANCE.setZoomLevel(B,_)}function getZoomLevel(){return WindowManager.INSTANCE.getZoomLevel()}function getZoomFactor(){return WindowManager.INSTANCE.getZoomFactor()}function setZoomFactor(B){WindowManager.INSTANCE.setZoomFactor(B)}function setFullscreen(B){WindowManager.INSTANCE.setFullscreen(B)}function isFullscreen(){return WindowManager.INSTANCE.isFullscreen()}const onDidChangeFullscreen=WindowManager.INSTANCE.onDidChangeFullscreen,userAgent=navigator.userAgent,isFirefox=userAgent.indexOf("Firefox")>=0,isWebKit=userAgent.indexOf("AppleWebKit")>=0,isChrome=userAgent.indexOf("Chrome")>=0,isSafari=!isChrome&&userAgent.indexOf("Safari")>=0,isWebkitWebView=!isChrome&&!isSafari&&isWebKit,isElectron=userAgent.indexOf("Electron/")>=0,isAndroid=userAgent.indexOf("Android")>=0;let standalone=!1;if(window.matchMedia){const B=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),_=window.matchMedia("(display-mode: fullscreen)");standalone=B.matches,addMatchMediaChangeListener(B,({matches:I})=>{standalone&&_.matches||(standalone=I)})}function isStandalone(){return standalone}function isWCOEnabled(){var B;return(B=navigator==null?void 0:navigator.windowControlsOverlay)===null||B===void 0?void 0:B.visible}const browser=Object.freeze(Object.defineProperty({__proto__:null,PixelRatio,addMatchMediaChangeListener,getZoomFactor,getZoomLevel,isAndroid,isChrome,isElectron,isFirefox,isFullscreen,isSafari,isStandalone,isWCOEnabled,isWebKit,isWebkitWebView,onDidChangeFullscreen,setFullscreen,setZoomFactor,setZoomLevel},Symbol.toStringTag,{value:"Module"}));class FastDomNode{constructor(_){this.domNode=_,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingTop="",this._paddingLeft="",this._paddingBottom="",this._paddingRight="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(_){const I=numberAsPixels(_);this._maxWidth!==I&&(this._maxWidth=I,this.domNode.style.maxWidth=this._maxWidth)}setWidth(_){const I=numberAsPixels(_);this._width!==I&&(this._width=I,this.domNode.style.width=this._width)}setHeight(_){const I=numberAsPixels(_);this._height!==I&&(this._height=I,this.domNode.style.height=this._height)}setTop(_){const I=numberAsPixels(_);this._top!==I&&(this._top=I,this.domNode.style.top=this._top)}setLeft(_){const I=numberAsPixels(_);this._left!==I&&(this._left=I,this.domNode.style.left=this._left)}setBottom(_){const I=numberAsPixels(_);this._bottom!==I&&(this._bottom=I,this.domNode.style.bottom=this._bottom)}setRight(_){const I=numberAsPixels(_);this._right!==I&&(this._right=I,this.domNode.style.right=this._right)}setPaddingTop(_){const I=numberAsPixels(_);this._paddingTop!==I&&(this._paddingTop=I,this.domNode.style.paddingTop=this._paddingTop)}setPaddingLeft(_){const I=numberAsPixels(_);this._paddingLeft!==I&&(this._paddingLeft=I,this.domNode.style.paddingLeft=this._paddingLeft)}setPaddingBottom(_){const I=numberAsPixels(_);this._paddingBottom!==I&&(this._paddingBottom=I,this.domNode.style.paddingBottom=this._paddingBottom)}setPaddingRight(_){const I=numberAsPixels(_);this._paddingRight!==I&&(this._paddingRight=I,this.domNode.style.paddingRight=this._paddingRight)}setFontFamily(_){this._fontFamily!==_&&(this._fontFamily=_,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(_){this._fontWeight!==_&&(this._fontWeight=_,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(_){const I=numberAsPixels(_);this._fontSize!==I&&(this._fontSize=I,this.domNode.style.fontSize=this._fontSize)}setFontStyle(_){this._fontStyle!==_&&(this._fontStyle=_,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(_){this._fontFeatureSettings!==_&&(this._fontFeatureSettings=_,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(_){this._fontVariationSettings!==_&&(this._fontVariationSettings=_,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(_){this._textDecoration!==_&&(this._textDecoration=_,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(_){const I=numberAsPixels(_);this._lineHeight!==I&&(this._lineHeight=I,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(_){const I=numberAsPixels(_);this._letterSpacing!==I&&(this._letterSpacing=I,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(_){this._className!==_&&(this._className=_,this.domNode.className=this._className)}toggleClassName(_,I){this.domNode.classList.toggle(_,I),this._className=this.domNode.className}setDisplay(_){this._display!==_&&(this._display=_,this.domNode.style.display=this._display)}setPosition(_){this._position!==_&&(this._position=_,this.domNode.style.position=this._position)}setVisibility(_){this._visibility!==_&&(this._visibility=_,this.domNode.style.visibility=this._visibility)}setColor(_){this._color!==_&&(this._color=_,this.domNode.style.color=this._color)}setBackgroundColor(_){this._backgroundColor!==_&&(this._backgroundColor=_,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(_){this._layerHint!==_&&(this._layerHint=_,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(_){this._boxShadow!==_&&(this._boxShadow=_,this.domNode.style.boxShadow=_)}setContain(_){this._contain!==_&&(this._contain=_,this.domNode.style.contain=this._contain)}setAttribute(_,I){this.domNode.setAttribute(_,I)}removeAttribute(_){this.domNode.removeAttribute(_)}appendChild(_){this.domNode.appendChild(_.domNode)}removeChild(_){this.domNode.removeChild(_.domNode)}}function numberAsPixels(B){return typeof B=="number"?`${B}px`:B}function createFastDomNode(B){return new FastDomNode(B)}function applyFontInfo(B,_){B instanceof FastDomNode?(B.setFontFamily(_.getMassagedFontFamily()),B.setFontWeight(_.fontWeight),B.setFontSize(_.fontSize),B.setFontFeatureSettings(_.fontFeatureSettings),B.setFontVariationSettings(_.fontVariationSettings),B.setLineHeight(_.lineHeight),B.setLetterSpacing(_.letterSpacing)):(B.style.fontFamily=_.getMassagedFontFamily(),B.style.fontWeight=_.fontWeight,B.style.fontSize=_.fontSize+"px",B.style.fontFeatureSettings=_.fontFeatureSettings,B.style.fontVariationSettings=_.fontVariationSettings,B.style.lineHeight=_.lineHeight+"px",B.style.letterSpacing=_.letterSpacing+"px")}class CharWidthRequest{constructor(_,I){this.chr=_,this.type=I,this.width=0}fulfill(_){this.width=_}}class DomCharWidthReader{constructor(_,I){this._bareFontInfo=_,this._requests=I,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const _=document.createElement("div");_.style.position="absolute",_.style.top="-50000px",_.style.width="50000px";const I=document.createElement("div");applyFontInfo(I,this._bareFontInfo),_.appendChild(I);const A=document.createElement("div");applyFontInfo(A,this._bareFontInfo),A.style.fontWeight="bold",_.appendChild(A);const N=document.createElement("div");applyFontInfo(N,this._bareFontInfo),N.style.fontStyle="italic",_.appendChild(N);const U=[];for(const K of this._requests){let j;K.type===0&&(j=I),K.type===2&&(j=A),K.type===1&&(j=N),j.appendChild(document.createElement("br"));const q=document.createElement("span");DomCharWidthReader._render(q,K),j.appendChild(q),U.push(q)}this._container=_,this._testElements=U}static _render(_,I){if(I.chr===" "){let A=" ";for(let N=0;N<8;N++)A+=A;_.innerText=A}else{let A=I.chr;for(let N=0;N<8;N++)A+=A;_.textContent=A}}_readFromDomElements(){for(let _=0,I=this._requests.length;_{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const _=this._cache.getValues();let I=!1;for(const A of _)A.isTrusted||(I=!0,this._cache.remove(A));I&&this._onDidChange.fire()}serializeFontInfo(){return this._cache.getValues().filter(_=>_.isTrusted)}restoreFontInfo(_){for(const I of _){if(I.version!==SERIALIZED_FONT_INFO_VERSION)continue;const A=new FontInfo(I,!1);this._writeToCache(A,A)}}readFontInfo(_){if(!this._cache.has(_)){let I=this._actualReadFontInfo(_);(I.typicalHalfwidthCharacterWidth<=2||I.typicalFullwidthCharacterWidth<=2||I.spaceWidth<=2||I.maxDigitWidth<=2)&&(I=new FontInfo({pixelRatio:PixelRatio.value,fontFamily:I.fontFamily,fontWeight:I.fontWeight,fontSize:I.fontSize,fontFeatureSettings:I.fontFeatureSettings,fontVariationSettings:I.fontVariationSettings,lineHeight:I.lineHeight,letterSpacing:I.letterSpacing,isMonospace:I.isMonospace,typicalHalfwidthCharacterWidth:Math.max(I.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(I.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:I.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(I.spaceWidth,5),middotWidth:Math.max(I.middotWidth,5),wsmiddotWidth:Math.max(I.wsmiddotWidth,5),maxDigitWidth:Math.max(I.maxDigitWidth,5)},!1)),this._writeToCache(_,I)}return this._cache.get(_)}_createRequest(_,I,A,N){const U=new CharWidthRequest(_,I);return A.push(U),N==null||N.push(U),U}_actualReadFontInfo(_){const I=[],A=[],N=this._createRequest("n",0,I,A),U=this._createRequest("m",0,I,null),K=this._createRequest(" ",0,I,A),j=this._createRequest("0",0,I,A),q=this._createRequest("1",0,I,A),G=this._createRequest("2",0,I,A),Z=this._createRequest("3",0,I,A),Y=this._createRequest("4",0,I,A),Q=this._createRequest("5",0,I,A),J=this._createRequest("6",0,I,A),ee=this._createRequest("7",0,I,A),te=this._createRequest("8",0,I,A),ie=this._createRequest("9",0,I,A),ne=this._createRequest("→",0,I,A),re=this._createRequest("→",0,I,null),oe=this._createRequest("·",0,I,A),se=this._createRequest(String.fromCharCode(11825),0,I,null),ae="|/-_ilm%";for(let fe=0,he=ae.length;fe.001){ce=!1;break}}let de=!0;return ce&&re.width!==le&&(de=!1),re.width>ne.width&&(de=!1),new FontInfo({pixelRatio:PixelRatio.value,fontFamily:_.fontFamily,fontWeight:_.fontWeight,fontSize:_.fontSize,fontFeatureSettings:_.fontFeatureSettings,fontVariationSettings:_.fontVariationSettings,lineHeight:_.lineHeight,letterSpacing:_.letterSpacing,isMonospace:ce,typicalHalfwidthCharacterWidth:N.width,typicalFullwidthCharacterWidth:U.width,canUseHalfwidthRightwardsArrow:de,spaceWidth:K.width,middotWidth:oe.width,wsmiddotWidth:se.width,maxDigitWidth:ue},!0)}}class FontMeasurementsCache{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(_){const I=_.getId();return!!this._values[I]}get(_){const I=_.getId();return this._values[I]}put(_,I){const A=_.getId();this._keys[A]=_,this._values[A]=I}remove(_){const I=_.getId();delete this._keys[I],delete this._values[I]}getValues(){return Object.keys(this._keys).map(_=>this._values[_])}}const FontMeasurements=new FontMeasurementsImpl;var _util;(function(B){B.serviceIds=new Map,B.DI_TARGET="$di$target",B.DI_DEPENDENCIES="$di$dependencies";function _(I){return I[B.DI_DEPENDENCIES]||[]}B.getServiceDependencies=_})(_util||(_util={}));const IInstantiationService=createDecorator("instantiationService");function storeServiceDependency(B,_,I){_[_util.DI_TARGET]===_?_[_util.DI_DEPENDENCIES].push({id:B,index:I}):(_[_util.DI_DEPENDENCIES]=[{id:B,index:I}],_[_util.DI_TARGET]=_)}function createDecorator(B){if(_util.serviceIds.has(B))return _util.serviceIds.get(B);const _=function(I,A,N){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");storeServiceDependency(_,I,N)};return _.toString=()=>B,_util.serviceIds.set(B,_),_}const ICodeEditorService=createDecorator("codeEditorService");function ok(B,_){if(!B)throw new Error(_?`Assertion failed (${_})`:"Assertion Failed")}function assertNever(B,_="Unreachable"){throw new Error(_)}function assertFn(B){if(!B()){debugger;B(),onUnexpectedError(new BugIndicatingError("Assertion Failed"))}}function checkAdjacentItems(B,_){let I=0;for(;I\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(_){switch(_.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return _.isTripleEq?"===":"==";case 4:return _.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return _.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return _.lexeme;case 18:return _.lexeme;case 19:return _.lexeme;case 20:return"EOF";default:throw illegalState(`unhandled token type: ${JSON.stringify(_)}; have you forgotten to add a case?`)}}get errors(){return this._errors}reset(_){return this._input=_,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const I=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:I})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const I=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:I})}else this._match(126)?this._addToken(9):this._error(hintDidYouMean("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(hintDidYouMean("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(hintDidYouMean("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(_){return this._isAtEnd()||this._input.charCodeAt(this._current)!==_?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(_){this._tokens.push({type:_,offset:this._start})}_error(_){const I=this._start,A=this._input.substring(this._start,this._current),N={type:19,offset:this._start,lexeme:A};this._errors.push({offset:I,lexeme:A,additionalInfo:_}),this._tokens.push(N)}_string(){this.stringRe.lastIndex=this._start;const _=this.stringRe.exec(this._input);if(_){this._current=this._start+_[0].length;const I=this._input.substring(this._start,this._current),A=dn._keywords.get(I);A?this._addToken(A):this._tokens.push({type:17,lexeme:I,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(hintDidYouForgetToOpenOrCloseQuote);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let _=this._current,I=!1,A=!1;for(;;){if(_>=this._input.length){this._current=_,this._error(hintDidYouForgetToEscapeSlash);return}const U=this._input.charCodeAt(_);if(I)I=!1;else if(U===47&&!A){_++;break}else U===91?A=!0:U===92?I=!0:U===93&&(A=!1);_++}for(;_=this._input.length}};Scanner$1._regexFlags=new Set(["i","g","s","m","y","u"].map(B=>B.charCodeAt(0)));Scanner$1._keywords=new Map([["not",14],["in",13],["false",12],["true",11]]);const CONSTANT_VALUES=new Map;CONSTANT_VALUES.set("false",!1);CONSTANT_VALUES.set("true",!0);CONSTANT_VALUES.set("isMac",isMacintosh);CONSTANT_VALUES.set("isLinux",isLinux);CONSTANT_VALUES.set("isWindows",isWindows);CONSTANT_VALUES.set("isWeb",isWeb);CONSTANT_VALUES.set("isMacNative",isMacintosh&&!isWeb);CONSTANT_VALUES.set("isEdge",isEdge);CONSTANT_VALUES.set("isFirefox",isFirefox$1);CONSTANT_VALUES.set("isChrome",isChrome$1);CONSTANT_VALUES.set("isSafari",isSafari$1);const hasOwnProperty$2=Object.prototype.hasOwnProperty,defaultConfig={regexParsingWithErrorRecovery:!0},errorEmptyString=localize("contextkey.parser.error.emptyString","Empty context key expression"),hintEmptyString=localize("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),errorNoInAfterNot=localize("contextkey.parser.error.noInAfterNot","'in' after 'not'."),errorClosingParenthesis=localize("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),errorUnexpectedToken=localize("contextkey.parser.error.unexpectedToken","Unexpected token"),hintUnexpectedToken=localize("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),errorUnexpectedEOF=localize("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),hintUnexpectedEOF=localize("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");let Parser$1=class Ai{get lexingErrors(){return this._scanner.errors}get parsingErrors(){return this._parsingErrors}constructor(_=defaultConfig){this._config=_,this._scanner=new Scanner$1,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(_){if(_===""){this._parsingErrors.push({message:errorEmptyString,offset:0,lexeme:"",additionalInfo:hintEmptyString});return}this._tokens=this._scanner.reset(_).scan(),this._current=0,this._parsingErrors=[];try{const I=this._expr();if(!this._isAtEnd()){const A=this._peek(),N=A.type===17?hintUnexpectedToken:void 0;throw this._parsingErrors.push({message:errorUnexpectedToken,offset:A.offset,lexeme:Scanner$1.getLexeme(A),additionalInfo:N}),Ai._parseError}return I}catch(I){if(I!==Ai._parseError)throw I;return}}_expr(){return this._or()}_or(){const _=[this._and()];for(;this._matchOne(16);){const I=this._and();_.push(I)}return _.length===1?_[0]:ContextKeyExpr.or(..._)}_and(){const _=[this._term()];for(;this._matchOne(15);){const I=this._term();_.push(I)}return _.length===1?_[0]:ContextKeyExpr.and(..._)}_term(){if(this._matchOne(2)){const _=this._peek();switch(_.type){case 11:return this._advance(),ContextKeyFalseExpr.INSTANCE;case 12:return this._advance(),ContextKeyTrueExpr.INSTANCE;case 0:{this._advance();const I=this._expr();return this._consume(1,errorClosingParenthesis),I==null?void 0:I.negate()}case 17:return this._advance(),ContextKeyNotExpr.create(_.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",_)}}return this._primary()}_primary(){const _=this._peek();switch(_.type){case 11:return this._advance(),ContextKeyExpr.true();case 12:return this._advance(),ContextKeyExpr.false();case 0:{this._advance();const I=this._expr();return this._consume(1,errorClosingParenthesis),I}case 17:{const I=_.lexeme;if(this._advance(),this._matchOne(9)){const N=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),N.type!==10)throw this._errExpectedButGot("REGEX",N);const U=N.lexeme,K=U.lastIndexOf("/"),j=K===U.length-1?void 0:this._removeFlagsGY(U.substring(K+1));let q;try{q=new RegExp(U.substring(1,K),j)}catch{throw this._errExpectedButGot("REGEX",N)}return ContextKeyRegexExpr.create(I,q)}switch(N.type){case 10:case 19:{const U=[N.lexeme];this._advance();let K=this._peek(),j=0;for(let Q=0;Q=0){const G=U.slice(j+1,q),Z=U[q+1]==="i"?"i":"";try{K=new RegExp(G,Z)}catch{throw this._errExpectedButGot("REGEX",N)}}}if(K===null)throw this._errExpectedButGot("REGEX",N);return ContextKeyRegexExpr.create(I,K)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,errorNoInAfterNot);const N=this._value();return ContextKeyExpr.notIn(I,N)}switch(this._peek().type){case 3:{this._advance();const N=this._value();if(this._previous().type===18)return ContextKeyExpr.equals(I,N);switch(N){case"true":return ContextKeyExpr.has(I);case"false":return ContextKeyExpr.not(I);default:return ContextKeyExpr.equals(I,N)}}case 4:{this._advance();const N=this._value();if(this._previous().type===18)return ContextKeyExpr.notEquals(I,N);switch(N){case"true":return ContextKeyExpr.not(I);case"false":return ContextKeyExpr.has(I);default:return ContextKeyExpr.notEquals(I,N)}}case 5:return this._advance(),ContextKeySmallerExpr.create(I,this._value());case 6:return this._advance(),ContextKeySmallerEqualsExpr.create(I,this._value());case 7:return this._advance(),ContextKeyGreaterExpr.create(I,this._value());case 8:return this._advance(),ContextKeyGreaterEqualsExpr.create(I,this._value());case 13:return this._advance(),ContextKeyExpr.in(I,this._value());default:return ContextKeyExpr.has(I)}}case 20:throw this._parsingErrors.push({message:errorUnexpectedEOF,offset:_.offset,lexeme:"",additionalInfo:hintUnexpectedEOF}),Ai._parseError;default:throw this._errExpectedButGot(`true | false | KEY - | KEY '=~' REGEX - | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const _=this._peek();switch(_.type){case 17:case 18:return this._advance(),_.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(_){return _.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(_){return this._check(_)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(_,I){if(this._check(_))return this._advance();throw this._errExpectedButGot(I,this._peek())}_errExpectedButGot(_,I,A){const N=localize("contextkey.parser.error.expectedButGot",`Expected: {0} -Received: '{1}'.`,_,Scanner$1.getLexeme(I)),U=I.offset,K=Scanner$1.getLexeme(I);return this._parsingErrors.push({message:N,offset:U,lexeme:K,additionalInfo:A}),Ai._parseError}_check(_){return this._peek().type===_}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}};Parser$1._parseError=new Error;class ContextKeyExpr{static false(){return ContextKeyFalseExpr.INSTANCE}static true(){return ContextKeyTrueExpr.INSTANCE}static has(_){return ContextKeyDefinedExpr.create(_)}static equals(_,I){return ContextKeyEqualsExpr.create(_,I)}static notEquals(_,I){return ContextKeyNotEqualsExpr.create(_,I)}static regex(_,I){return ContextKeyRegexExpr.create(_,I)}static in(_,I){return ContextKeyInExpr.create(_,I)}static notIn(_,I){return ContextKeyNotInExpr.create(_,I)}static not(_){return ContextKeyNotExpr.create(_)}static and(..._){return ContextKeyAndExpr.create(_,null,!0)}static or(..._){return ContextKeyOrExpr.create(_,null,!0)}static greater(_,I){return ContextKeyGreaterExpr.create(_,I)}static greaterEquals(_,I){return ContextKeyGreaterEqualsExpr.create(_,I)}static smaller(_,I){return ContextKeySmallerExpr.create(_,I)}static smallerEquals(_,I){return ContextKeySmallerEqualsExpr.create(_,I)}static deserialize(_){return _==null?void 0:this._parser.parse(_)}}ContextKeyExpr._parser=new Parser$1({regexParsingWithErrorRecovery:!1});function expressionsAreEqualWithConstantSubstitution(B,_){const I=B?B.substituteConstants():void 0,A=_?_.substituteConstants():void 0;return!I&&!A?!0:!I||!A?!1:I.equals(A)}function cmp$1(B,_){return B.cmp(_)}class ContextKeyFalseExpr{constructor(){this.type=0}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!1}serialize(){return"false"}keys(){return[]}map(_){return this}negate(){return ContextKeyTrueExpr.INSTANCE}}ContextKeyFalseExpr.INSTANCE=new ContextKeyFalseExpr;class ContextKeyTrueExpr{constructor(){this.type=1}cmp(_){return this.type-_.type}equals(_){return _.type===this.type}substituteConstants(){return this}evaluate(_){return!0}serialize(){return"true"}keys(){return[]}map(_){return this}negate(){return ContextKeyFalseExpr.INSTANCE}}ContextKeyTrueExpr.INSTANCE=new ContextKeyTrueExpr;class ContextKeyDefinedExpr{static create(_,I=null){const A=CONSTANT_VALUES.get(_);return typeof A=="boolean"?A?ContextKeyTrueExpr.INSTANCE:ContextKeyFalseExpr.INSTANCE:new ContextKeyDefinedExpr(_,I)}constructor(_,I){this.key=_,this.negated=I,this.type=2}cmp(_){return _.type!==this.type?this.type-_.type:cmp1(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=CONSTANT_VALUES.get(this.key);return typeof _=="boolean"?_?ContextKeyTrueExpr.INSTANCE:ContextKeyFalseExpr.INSTANCE:this}evaluate(_){return!!_.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}map(_){return _.mapDefined(this.key)}negate(){return this.negated||(this.negated=ContextKeyNotExpr.create(this.key,this)),this.negated}}class ContextKeyEqualsExpr{static create(_,I,A=null){if(typeof I=="boolean")return I?ContextKeyDefinedExpr.create(_,A):ContextKeyNotExpr.create(_,A);const N=CONSTANT_VALUES.get(_);return typeof N=="boolean"?I===(N?"true":"false")?ContextKeyTrueExpr.INSTANCE:ContextKeyFalseExpr.INSTANCE:new ContextKeyEqualsExpr(_,I,A)}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=4}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=CONSTANT_VALUES.get(this.key);if(typeof _=="boolean"){const I=_?"true":"false";return this.value===I?ContextKeyTrueExpr.INSTANCE:ContextKeyFalseExpr.INSTANCE}return this}evaluate(_){return _.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}map(_){return _.mapEquals(this.key,this.value)}negate(){return this.negated||(this.negated=ContextKeyNotEqualsExpr.create(this.key,this.value,this)),this.negated}}class ContextKeyInExpr{static create(_,I){return new ContextKeyInExpr(_,I)}constructor(_,I){this.key=_,this.valueKey=I,this.type=10,this.negated=null}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.valueKey,_.key,_.valueKey)}equals(_){return _.type===this.type?this.key===_.key&&this.valueKey===_.valueKey:!1}substituteConstants(){return this}evaluate(_){const I=_.getValue(this.valueKey),A=_.getValue(this.key);return Array.isArray(I)?I.includes(A):typeof A=="string"&&typeof I=="object"&&I!==null?hasOwnProperty$2.call(I,A):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}map(_){return _.mapIn(this.key,this.valueKey)}negate(){return this.negated||(this.negated=ContextKeyNotInExpr.create(this.key,this.valueKey)),this.negated}}class ContextKeyNotInExpr{static create(_,I){return new ContextKeyNotInExpr(_,I)}constructor(_,I){this.key=_,this.valueKey=I,this.type=11,this._negated=ContextKeyInExpr.create(_,I)}cmp(_){return _.type!==this.type?this.type-_.type:this._negated.cmp(_._negated)}equals(_){return _.type===this.type?this._negated.equals(_._negated):!1}substituteConstants(){return this}evaluate(_){return!this._negated.evaluate(_)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}map(_){return _.mapNotIn(this.key,this.valueKey)}negate(){return this._negated}}class ContextKeyNotEqualsExpr{static create(_,I,A=null){if(typeof I=="boolean")return I?ContextKeyNotExpr.create(_,A):ContextKeyDefinedExpr.create(_,A);const N=CONSTANT_VALUES.get(_);return typeof N=="boolean"?I===(N?"true":"false")?ContextKeyFalseExpr.INSTANCE:ContextKeyTrueExpr.INSTANCE:new ContextKeyNotEqualsExpr(_,I,A)}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=5}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){const _=CONSTANT_VALUES.get(this.key);if(typeof _=="boolean"){const I=_?"true":"false";return this.value===I?ContextKeyFalseExpr.INSTANCE:ContextKeyTrueExpr.INSTANCE}return this}evaluate(_){return _.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}map(_){return _.mapNotEquals(this.key,this.value)}negate(){return this.negated||(this.negated=ContextKeyEqualsExpr.create(this.key,this.value,this)),this.negated}}class ContextKeyNotExpr{static create(_,I=null){const A=CONSTANT_VALUES.get(_);return typeof A=="boolean"?A?ContextKeyFalseExpr.INSTANCE:ContextKeyTrueExpr.INSTANCE:new ContextKeyNotExpr(_,I)}constructor(_,I){this.key=_,this.negated=I,this.type=3}cmp(_){return _.type!==this.type?this.type-_.type:cmp1(this.key,_.key)}equals(_){return _.type===this.type?this.key===_.key:!1}substituteConstants(){const _=CONSTANT_VALUES.get(this.key);return typeof _=="boolean"?_?ContextKeyFalseExpr.INSTANCE:ContextKeyTrueExpr.INSTANCE:this}evaluate(_){return!_.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}map(_){return _.mapNot(this.key)}negate(){return this.negated||(this.negated=ContextKeyDefinedExpr.create(this.key,this)),this.negated}}function withFloatOrStr(B,_){if(typeof B=="string"){const I=parseFloat(B);isNaN(I)||(B=I)}return typeof B=="string"||typeof B=="number"?_(B):ContextKeyFalseExpr.INSTANCE}class ContextKeyGreaterExpr{static create(_,I,A=null){return withFloatOrStr(I,N=>new ContextKeyGreaterExpr(_,N,A))}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=12}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}map(_){return _.mapGreater(this.key,this.value)}negate(){return this.negated||(this.negated=ContextKeySmallerEqualsExpr.create(this.key,this.value,this)),this.negated}}class ContextKeyGreaterEqualsExpr{static create(_,I,A=null){return withFloatOrStr(I,N=>new ContextKeyGreaterEqualsExpr(_,N,A))}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=13}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}map(_){return _.mapGreaterEquals(this.key,this.value)}negate(){return this.negated||(this.negated=ContextKeySmallerExpr.create(this.key,this.value,this)),this.negated}}class ContextKeySmallerExpr{static create(_,I,A=null){return withFloatOrStr(I,N=>new ContextKeySmallerExpr(_,N,A))}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=14}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))new ContextKeySmallerEqualsExpr(_,N,A))}constructor(_,I,A){this.key=_,this.value=I,this.negated=A,this.type=15}cmp(_){return _.type!==this.type?this.type-_.type:cmp2(this.key,this.value,_.key,_.value)}equals(_){return _.type===this.type?this.key===_.key&&this.value===_.value:!1}substituteConstants(){return this}evaluate(_){return typeof this.value=="string"?!1:parseFloat(_.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}map(_){return _.mapSmallerEquals(this.key,this.value)}negate(){return this.negated||(this.negated=ContextKeyGreaterExpr.create(this.key,this.value,this)),this.negated}}class ContextKeyRegexExpr{static create(_,I){return new ContextKeyRegexExpr(_,I)}constructor(_,I){this.key=_,this.regexp=I,this.type=7,this.negated=null}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.key<_.key)return-1;if(this.key>_.key)return 1;const I=this.regexp?this.regexp.source:"",A=_.regexp?_.regexp.source:"";return IA?1:0}equals(_){if(_.type===this.type){const I=this.regexp?this.regexp.source:"",A=_.regexp?_.regexp.source:"";return this.key===_.key&&I===A}return!1}substituteConstants(){return this}evaluate(_){const I=_.getValue(this.key);return this.regexp?this.regexp.test(I):!1}serialize(){const _=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${_}`}keys(){return[this.key]}map(_){return _.mapRegex(this.key,this.regexp)}negate(){return this.negated||(this.negated=ContextKeyNotRegexExpr.create(this)),this.negated}}class ContextKeyNotRegexExpr{static create(_){return new ContextKeyNotRegexExpr(_)}constructor(_){this._actual=_,this.type=8}cmp(_){return _.type!==this.type?this.type-_.type:this._actual.cmp(_._actual)}equals(_){return _.type===this.type?this._actual.equals(_._actual):!1}substituteConstants(){return this}evaluate(_){return!this._actual.evaluate(_)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}map(_){return new ContextKeyNotRegexExpr(this._actual.map(_))}negate(){return this._actual}}function eliminateConstantsInArray(B){let _=null;for(let I=0,A=B.length;I_.expr.length)return 1;for(let I=0,A=this.expr.length;I1;){const K=N[N.length-1];if(K.type!==9)break;N.pop();const j=N.pop(),q=N.length===0,G=ContextKeyOrExpr.create(K.expr.map(Z=>ContextKeyAndExpr.create([Z,j],null,A)),null,q);G&&(N.push(G),N.sort(cmp$1))}if(N.length===1)return N[0];if(A){for(let K=0;K_.serialize()).join(" && ")}keys(){const _=[];for(const I of this.expr)_.push(...I.keys());return _}map(_){return new ContextKeyAndExpr(this.expr.map(I=>I.map(_)),null)}negate(){if(!this.negated){const _=[];for(const I of this.expr)_.push(I.negate());this.negated=ContextKeyOrExpr.create(_,this,!0)}return this.negated}}class ContextKeyOrExpr{static create(_,I,A){return ContextKeyOrExpr._normalizeArr(_,I,A)}constructor(_,I){this.expr=_,this.negated=I,this.type=9}cmp(_){if(_.type!==this.type)return this.type-_.type;if(this.expr.length<_.expr.length)return-1;if(this.expr.length>_.expr.length)return 1;for(let I=0,A=this.expr.length;I_.serialize()).join(" || ")}keys(){const _=[];for(const I of this.expr)_.push(...I.keys());return _}map(_){return new ContextKeyOrExpr(this.expr.map(I=>I.map(_)),null)}negate(){if(!this.negated){const _=[];for(const I of this.expr)_.push(I.negate());for(;_.length>1;){const I=_.shift(),A=_.shift(),N=[];for(const U of getTerminals(I))for(const K of getTerminals(A))N.push(ContextKeyAndExpr.create([U,K],null,!1));_.unshift(ContextKeyOrExpr.create(N,null,!1))}this.negated=ContextKeyOrExpr.create(_,this,!0)}return this.negated}}class RawContextKey extends ContextKeyDefinedExpr{static all(){return RawContextKey._info.values()}constructor(_,I,A){super(_,null),this._defaultValue=I,typeof A=="object"?RawContextKey._info.push(Object.assign(Object.assign({},A),{key:_})):A!==!0&&RawContextKey._info.push({key:_,description:A,type:I!=null?typeof I:void 0})}bindTo(_){return _.createKey(this.key,this._defaultValue)}getValue(_){return _.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(_){return ContextKeyEqualsExpr.create(this.key,_)}notEqualsTo(_){return ContextKeyNotEqualsExpr.create(this.key,_)}}RawContextKey._info=[];const IContextKeyService=createDecorator("contextKeyService");function cmp1(B,_){return B<_?-1:B>_?1:0}function cmp2(B,_,I,A){return BI?1:_A?1:0}function implies(B,_){if(B.type===0||_.type===1)return!0;if(B.type===9)return _.type===9?allElementsIncluded(B.expr,_.expr):!1;if(_.type===9){for(const I of _.expr)if(implies(B,I))return!0;return!1}if(B.type===6){if(_.type===6)return allElementsIncluded(_.expr,B.expr);for(const I of B.expr)if(implies(I,_))return!0;return!1}return B.equals(_)}function allElementsIncluded(B,_){let I=0,A=0;for(;I"u"?I:U}function getLanguageTagSettingPlainKey(B){return B.replace(/[\[\]]/g,"")}let globalObservableLogger;function getLogger(){return globalObservableLogger}let _derived;function _setDerived(B){_derived=B}class ConvenientObservable{get TChange(){return null}read(_){return _.subscribeTo(this),this.get()}map(_){return _derived(()=>{const I=getFunctionName(_);return I!==void 0?I:`${this.debugName} (mapped)`},I=>_(this.read(I)))}}class BaseObservable extends ConvenientObservable{constructor(){super(...arguments),this.observers=new Set}addObserver(_){const I=this.observers.size;this.observers.add(_),I===0&&this.onFirstObserverAdded()}removeObserver(_){this.observers.delete(_)&&this.observers.size===0&&this.onLastObserverRemoved()}onFirstObserverAdded(){}onLastObserverRemoved(){}}function transaction(B,_){var I,A;const N=new TransactionImpl(B,_);try{(I=getLogger())===null||I===void 0||I.handleBeginTransaction(N),B(N)}finally{N.finish(),(A=getLogger())===null||A===void 0||A.handleEndTransaction()}}function getFunctionName(B){const _=B.toString(),A=/\/\*\*\s*@description\s*([^*]*)\*\//.exec(_),N=A?A[1]:void 0;return N==null?void 0:N.trim()}class TransactionImpl{constructor(_,I){this.fn=_,this._getDebugName=I,this.updatingObservers=[]}getDebugName(){return this._getDebugName?this._getDebugName():getFunctionName(this.fn)}updateObserver(_,I){this.updatingObservers.push({observer:_,observable:I}),_.beginUpdate(I)}finish(){const _=this.updatingObservers;this.updatingObservers=null;for(const{observer:I,observable:A}of _)I.endUpdate(A)}}function derived(B,_){return new Derived(B,_)}_setDerived(derived);class Derived extends BaseObservable{get dependencies(){return this._dependencies}get debugName(){return typeof this._debugName=="function"?this._debugName():this._debugName}constructor(_,I){var A;super(),this._debugName=_,this.computeFn=I,this.hadValue=!1,this.hasValue=!1,this.value=void 0,this.updateCount=0,this._dependencies=new Set,this.staleDependencies=new Set,(A=getLogger())===null||A===void 0||A.handleDerivedCreated(this)}onLastObserverRemoved(){this.hasValue=!1,this.hadValue=!1,this.value=void 0;for(const _ of this._dependencies)_.removeObserver(this);this._dependencies.clear()}get(){var _;if(this.observers.size===0){const I=this.computeFn(this);return this.onLastObserverRemoved(),I}if(this.updateCount>0&&this.hasValue){for(const I of this._dependencies)if(I.get(),!this.hasValue)break}if(!this.hasValue){const I=this.staleDependencies;this.staleDependencies=this._dependencies,this._dependencies=I;const A=this.value;try{this.value=this.computeFn(this)}finally{for(const U of this.staleDependencies)U.removeObserver(this);this.staleDependencies.clear()}this.hasValue=!0;const N=this.hadValue&&A!==this.value;if((_=getLogger())===null||_===void 0||_.handleDerivedRecomputed(this,{oldValue:A,newValue:this.value,change:void 0,didChange:N}),N)for(const U of this.observers)U.handleChange(this,void 0)}return this.value}beginUpdate(){if(this.updateCount===0)for(const _ of this.observers)_.beginUpdate(this);this.updateCount++}handleChange(_,I){this.hasValue&&(this.hadValue=!0,this.hasValue=!1),this.updateCount===0&&this.observers.size>0&&this.get()}endUpdate(){if(this.updateCount--,this.updateCount===0){this.observers.size>0&&this.get();for(const _ of this.observers)_.endUpdate(this)}}subscribeTo(_){this._dependencies.add(_),this.staleDependencies.delete(_)||_.addObserver(this)}toString(){return`LazyDerived<${this.debugName}>`}}function autorun(B,_){return new AutorunObserver(B,_,void 0)}class AutorunObserver{get dependencies(){return this._dependencies}constructor(_,I,A){var N;this.debugName=_,this.runFn=I,this._handleChange=A,this.needsToRun=!0,this.updateCount=0,this.disposed=!1,this._dependencies=new Set,this.staleDependencies=new Set,(N=getLogger())===null||N===void 0||N.handleAutorunCreated(this),this.runIfNeeded()}subscribeTo(_){this.disposed||(this._dependencies.add(_),this.staleDependencies.delete(_)||_.addObserver(this))}handleChange(_,I){const A=this._handleChange?this._handleChange({changedObservable:_,change:I,didChange:N=>N===_}):!0;this.needsToRun=this.needsToRun||A,this.updateCount===0&&this.runIfNeeded()}beginUpdate(){this.updateCount++}endUpdate(){this.updateCount--,this.updateCount===0&&this.runIfNeeded()}runIfNeeded(){var _;if(!this.needsToRun)return;const I=this.staleDependencies;this.staleDependencies=this._dependencies,this._dependencies=I,this.needsToRun=!1,(_=getLogger())===null||_===void 0||_.handleAutorunTriggered(this);try{this.runFn(this)}finally{for(const A of this.staleDependencies)A.removeObserver(this);this.staleDependencies.clear()}}dispose(){this.disposed=!0;for(const _ of this._dependencies)_.removeObserver(this);this._dependencies.clear()}toString(){return`Autorun<${this.debugName}>`}}(function(B){B.Observer=AutorunObserver})(autorun||(autorun={}));function observableFromEvent(B,_){return new FromEventObservable(B,_)}class FromEventObservable extends BaseObservable{constructor(_,I){super(),this.event=_,this.getValue=I,this.hasValue=!1,this.handleEvent=A=>{var N;const U=this.getValue(A),K=!this.hasValue||this.value!==U;(N=getLogger())===null||N===void 0||N.handleFromEventObservableTriggered(this,{oldValue:this.value,newValue:U,change:void 0,didChange:K}),K&&(this.value=U,this.hasValue&&transaction(j=>{for(const q of this.observers)j.updateObserver(q,this),q.handleChange(this,void 0)},()=>{const j=this.getDebugName();return"Event fired"+(j?`: ${j}`:"")}),this.hasValue=!0)}}getDebugName(){return getFunctionName(this.getValue)}get debugName(){const _=this.getDebugName();return"From Event"+(_?`: ${_}`:"")}onFirstObserverAdded(){this.subscription=this.event(this.handleEvent)}onLastObserverRemoved(){this.subscription.dispose(),this.subscription=void 0,this.hasValue=!1,this.value=void 0}get(){return this.subscription?(this.hasValue||this.handleEvent(void 0),this.value):this.getValue(void 0)}}(function(B){B.Observer=FromEventObservable})(observableFromEvent||(observableFromEvent={}));var __decorate$26=globalThis&&globalThis.__decorate||function(B,_,I,A){var N=arguments.length,U=N<3?_:A===null?A=Object.getOwnPropertyDescriptor(_,I):A,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")U=Reflect.decorate(B,_,I,A);else for(var j=B.length-1;j>=0;j--)(K=B[j])&&(U=(N<3?K(U):N>3?K(_,I,U):K(_,I))||U);return N>3&&U&&Object.defineProperty(_,I,U),U},__param$1$=globalThis&&globalThis.__param||function(B,_){return function(I,A){_(I,A,B)}},__awaiter$1v=globalThis&&globalThis.__awaiter||function(B,_,I,A){function N(U){return U instanceof I?U:new I(function(K){K(U)})}return new(I||(I=Promise))(function(U,K){function j(Z){try{G(A.next(Z))}catch(Y){K(Y)}}function q(Z){try{G(A.throw(Z))}catch(Y){K(Y)}}function G(Z){Z.done?U(Z.value):N(Z.value).then(j,q)}G((A=A.apply(B,_||[])).next())})};const IAudioCueService=createDecorator("audioCue");let AudioCueService=class extends Disposable{constructor(_,I){super(),this.configurationService=_,this.accessibilityService=I,this.screenReaderAttached=observableFromEvent(this.accessibilityService.onDidChangeScreenReaderOptimized,()=>this.accessibilityService.isScreenReaderOptimized()),this.playingSounds=new Set,this.obsoleteAudioCuesEnabled=observableFromEvent(Event$1.filter(this.configurationService.onDidChangeConfiguration,A=>A.affectsConfiguration("audioCues.enabled")),()=>this.configurationService.getValue("audioCues.enabled")),this.isEnabledCache=new Cache(A=>{const N=observableFromEvent(Event$1.filter(this.configurationService.onDidChangeConfiguration,U=>U.affectsConfiguration(A.settingsKey)),()=>this.configurationService.getValue(A.settingsKey));return derived("audio cue enabled",U=>{const K=N.read(U);if(K==="on"||K==="auto"&&this.screenReaderAttached.read(U))return!0;const j=this.obsoleteAudioCuesEnabled.read(U);return!!(j==="on"||j==="auto"&&this.screenReaderAttached.read(U))})})}playAudioCue(_,I=!1){return __awaiter$1v(this,void 0,void 0,function*(){this.isEnabled(_)&&(yield this.playSound(_.sound,I))})}playAudioCues(_){return __awaiter$1v(this,void 0,void 0,function*(){const I=new Set(_.filter(A=>this.isEnabled(A)).map(A=>A.sound));yield Promise.all(Array.from(I).map(A=>this.playSound(A,!0)))})}getVolumeInPercent(){const _=this.configurationService.getValue("audioCues.volume");return typeof _!="number"?50:Math.max(Math.min(_,100),0)}playSound(_,I=!1){return __awaiter$1v(this,void 0,void 0,function*(){if(!I&&this.playingSounds.has(_))return;this.playingSounds.add(_);const A=FileAccess.asBrowserUri(`vs/platform/audioCues/browser/media/${_.fileName}`).toString(!0);try{yield playAudio(A,this.getVolumeInPercent()/100)}catch(N){console.error("Error while playing sound",N)}finally{this.playingSounds.delete(_)}})}isEnabled(_){return this.isEnabledCache.get(_).get()}onEnabledChanged(_){return eventFromObservable(this.isEnabledCache.get(_))}};AudioCueService=__decorate$26([__param$1$(0,IConfigurationService),__param$1$(1,IAccessibilityService)],AudioCueService);function playAudio(B,_){return new Promise((I,A)=>{const N=new Audio(B);N.volume=_,N.addEventListener("ended",()=>{I()}),N.addEventListener("error",U=>{A(U.error)}),N.play().catch(U=>{A(U)})})}function eventFromObservable(B){return _=>{let I=0,A=!1;const N={beginUpdate(){I++},endUpdate(){I--,I===0&&A&&(A=!1,_())},handleChange(){I===0?_():A=!0}};return B.addObserver(N),{dispose(){B.removeObserver(N)}}}}class Cache{constructor(_){this.getValue=_,this.map=new Map}get(_){if(this.map.has(_))return this.map.get(_);const I=this.getValue(_);return this.map.set(_,I),I}}class Sound{static register(_){return new Sound(_.fileName)}constructor(_){this.fileName=_}}Sound.error=Sound.register({fileName:"error.mp3"});Sound.warning=Sound.register({fileName:"warning.mp3"});Sound.foldedArea=Sound.register({fileName:"foldedAreas.mp3"});Sound.break=Sound.register({fileName:"break.mp3"});Sound.quickFixes=Sound.register({fileName:"quickFixes.mp3"});Sound.taskCompleted=Sound.register({fileName:"taskCompleted.mp3"});Sound.taskFailed=Sound.register({fileName:"taskFailed.mp3"});Sound.terminalBell=Sound.register({fileName:"terminalBell.mp3"});Sound.diffLineInserted=Sound.register({fileName:"diffLineInserted.mp3"});Sound.diffLineDeleted=Sound.register({fileName:"diffLineDeleted.mp3"});Sound.diffLineModified=Sound.register({fileName:"diffLineModified.mp3"});class AudioCue{static register(_){const I=new AudioCue(_.sound,_.name,_.settingsKey);return AudioCue._audioCues.add(I),I}static get allAudioCues(){return[...this._audioCues]}constructor(_,I,A){this.sound=_,this.name=I,this.settingsKey=A}}AudioCue._audioCues=new Set;AudioCue.error=AudioCue.register({name:localize("audioCues.lineHasError.name","Error on Line"),sound:Sound.error,settingsKey:"audioCues.lineHasError"});AudioCue.warning=AudioCue.register({name:localize("audioCues.lineHasWarning.name","Warning on Line"),sound:Sound.warning,settingsKey:"audioCues.lineHasWarning"});AudioCue.foldedArea=AudioCue.register({name:localize("audioCues.lineHasFoldedArea.name","Folded Area on Line"),sound:Sound.foldedArea,settingsKey:"audioCues.lineHasFoldedArea"});AudioCue.break=AudioCue.register({name:localize("audioCues.lineHasBreakpoint.name","Breakpoint on Line"),sound:Sound.break,settingsKey:"audioCues.lineHasBreakpoint"});AudioCue.inlineSuggestion=AudioCue.register({name:localize("audioCues.lineHasInlineSuggestion.name","Inline Suggestion on Line"),sound:Sound.quickFixes,settingsKey:"audioCues.lineHasInlineSuggestion"});AudioCue.terminalQuickFix=AudioCue.register({name:localize("audioCues.terminalQuickFix.name","Terminal Quick Fix"),sound:Sound.quickFixes,settingsKey:"audioCues.terminalQuickFix"});AudioCue.onDebugBreak=AudioCue.register({name:localize("audioCues.onDebugBreak.name","Debugger Stopped on Breakpoint"),sound:Sound.break,settingsKey:"audioCues.onDebugBreak"});AudioCue.noInlayHints=AudioCue.register({name:localize("audioCues.noInlayHints","No Inlay Hints on Line"),sound:Sound.error,settingsKey:"audioCues.noInlayHints"});AudioCue.taskCompleted=AudioCue.register({name:localize("audioCues.taskCompleted","Task Completed"),sound:Sound.taskCompleted,settingsKey:"audioCues.taskCompleted"});AudioCue.taskFailed=AudioCue.register({name:localize("audioCues.taskFailed","Task Failed"),sound:Sound.taskFailed,settingsKey:"audioCues.taskFailed"});AudioCue.terminalCommandFailed=AudioCue.register({name:localize("audioCues.terminalCommandFailed","Terminal Command Failed"),sound:Sound.error,settingsKey:"audioCues.terminalCommandFailed"});AudioCue.terminalBell=AudioCue.register({name:localize("audioCues.terminalBell","Terminal Bell"),sound:Sound.terminalBell,settingsKey:"audioCues.terminalBell"});AudioCue.notebookCellCompleted=AudioCue.register({name:localize("audioCues.notebookCellCompleted","Notebook Cell Completed"),sound:Sound.taskCompleted,settingsKey:"audioCues.notebookCellCompleted"});AudioCue.notebookCellFailed=AudioCue.register({name:localize("audioCues.notebookCellFailed","Notebook Cell Failed"),sound:Sound.taskFailed,settingsKey:"audioCues.notebookCellFailed"});AudioCue.diffLineInserted=AudioCue.register({name:localize("audioCues.diffLineInserted","Diff Line Inserted"),sound:Sound.diffLineInserted,settingsKey:"audioCues.diffLineInserted"});AudioCue.diffLineDeleted=AudioCue.register({name:localize("audioCues.diffLineDeleted","Diff Line Deleted"),sound:Sound.diffLineDeleted,settingsKey:"audioCues.diffLineDeleted"});AudioCue.diffLineModified=AudioCue.register({name:localize("audioCues.diffLineModified","Diff Line Modified"),sound:Sound.diffLineModified,settingsKey:"audioCues.diffLineModified"});var __decorate$25=globalThis&&globalThis.__decorate||function(B,_,I,A){var N=arguments.length,U=N<3?_:A===null?A=Object.getOwnPropertyDescriptor(_,I):A,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")U=Reflect.decorate(B,_,I,A);else for(var j=B.length-1;j>=0;j--)(K=B[j])&&(U=(N<3?K(U):N>3?K(_,I,U):K(_,I))||U);return N>3&&U&&Object.defineProperty(_,I,U),U},__param$1_=globalThis&&globalThis.__param||function(B,_){return function(I,A){_(I,A,B)}};const defaultOptions$2={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0};let DiffNavigator=class extends Disposable{constructor(_,I={},A,N,U){super(),this._audioCueService=A,this._codeEditorService=N,this._accessibilityService=U,this._onDidUpdate=this._register(new Emitter$1),this.onDidUpdate=this._onDidUpdate.event,this._editor=_,this._options=mixin(I,defaultOptions$2,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(K=>{this.ignoreSelectionChange||(this._updateAccessibilityState(K.position.lineNumber),this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(K=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(_){this.ranges=[],_&&_.forEach(I=>{!this._options.ignoreCharChanges&&I.charChanges?I.charChanges.forEach(A=>{this.ranges.push({rhs:!0,range:new Range$3(A.modifiedStartLineNumber,A.modifiedStartColumn,A.modifiedEndLineNumber,A.modifiedEndColumn)})}):I.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new Range$3(I.modifiedStartLineNumber,1,I.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new Range$3(I.modifiedStartLineNumber,1,I.modifiedEndLineNumber+1,1)})}),this.ranges.sort((I,A)=>Range$3.compareRangesUsingStarts(I.range,A.range)),this._onDidUpdate.fire(this)}_initIdx(_){let I=!1;const A=this._editor.getPosition();if(!A){this.nextIdx=0;return}for(let N=0,U=this.ranges.length;N=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const A=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const N=A.range.getStartPosition();this._editor.setPosition(N),this._editor.revealRangeInCenter(A.range,I),this._updateAccessibilityState(N.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(_,I){var A;const N=(A=this._editor.getModel())===null||A===void 0?void 0:A.modified;if(!N)return;const U=N.getLineDecorations(_).find(j=>j.options.className==="line-insert");if(U)this._audioCueService.playAudioCue(AudioCue.diffLineModified,!0);else if(I)this._audioCueService.playAudioCue(AudioCue.diffLineDeleted,!0);else return;const K=this._codeEditorService.getActiveCodeEditor();I&&K&&U&&this._accessibilityService.isScreenReaderOptimized()&&(K.setSelection({startLineNumber:_,startColumn:0,endLineNumber:_,endColumn:Number.MAX_VALUE}),K.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(_=0){this.canNavigateNext()&&this._move(!0,_)}previous(_=0){this.canNavigatePrevious()&&this._move(!1,_)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx0&&B.getLanguageId(K-1)===N;)K--;return new ScopedLineTokens(B,N,K,U+1,B.getStartOffset(K),B.getEndOffset(U))}class ScopedLineTokens{constructor(_,I,A,N,U,K){this._scopedLineTokensBrand=void 0,this._actual=_,this.languageId=I,this._firstTokenIndex=A,this._lastTokenIndex=N,this.firstCharOffset=U,this._lastCharOffset=K}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(_){return this._actual.getLineContent().substring(0,this.firstCharOffset+_)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(_){return this._actual.findTokenIndexAtOffset(_+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(_){return this._actual.getStandardTokenType(_+this._firstTokenIndex)}}function ignoreBracketsInToken(B){return(B&3)!==0}class CharacterPairSupport{constructor(_){if(_.autoClosingPairs?this._autoClosingPairs=_.autoClosingPairs.map(I=>new StandardAutoClosingPairConditional(I)):_.brackets?this._autoClosingPairs=_.brackets.map(I=>new StandardAutoClosingPairConditional({open:I[0],close:I[1]})):this._autoClosingPairs=[],_.__electricCharacterSupport&&_.__electricCharacterSupport.docComment){const I=_.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new StandardAutoClosingPairConditional({open:I.open,close:I.close||""}))}this._autoCloseBeforeForQuotes=typeof _.autoCloseBefore=="string"?_.autoCloseBefore:CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof _.autoCloseBefore=="string"?_.autoCloseBefore:CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=_.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(_){return _?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> - `;CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> - `;CharacterPairSupport.DEFAULT_AUTOCLOSE_BEFORE_WHITESPACE=` - `;globalThis&&globalThis.__awaiter;const hasBuffer=typeof Buffer<"u";let textEncoder,textDecoder;class VSBuffer{static alloc(_){return hasBuffer?new VSBuffer(Buffer.allocUnsafe(_)):new VSBuffer(new Uint8Array(_))}static wrap(_){return hasBuffer&&!Buffer.isBuffer(_)&&(_=Buffer.from(_.buffer,_.byteOffset,_.byteLength)),new VSBuffer(_)}static fromString(_,I){return!((I==null?void 0:I.dontUseNodeBuffer)||!1)&&hasBuffer?new VSBuffer(Buffer.from(_)):(textEncoder||(textEncoder=new TextEncoder),new VSBuffer(textEncoder.encode(_)))}static fromByteArray(_){const I=VSBuffer.alloc(_.length);for(let A=0,N=_.length;A"u"){I=0;for(let U=0,K=_.length;U>>0|B[_+1]<<8>>>0}function writeUInt16LE(B,_,I){B[I+0]=_&255,_=_>>>8,B[I+1]=_&255}function readUInt32BE(B,_){return B[_]*Math.pow(2,24)+B[_+1]*Math.pow(2,16)+B[_+2]*Math.pow(2,8)+B[_+3]}function writeUInt32BE(B,_,I){B[I+3]=_,_=_>>>8,B[I+2]=_,_=_>>>8,B[I+1]=_,_=_>>>8,B[I]=_}function readUInt32LE(B,_){return B[_+0]<<0>>>0|B[_+1]<<8>>>0|B[_+2]<<16>>>0|B[_+3]<<24>>>0}function writeUInt32LE(B,_,I){B[I+0]=_&255,_=_>>>8,B[I+1]=_&255,_=_>>>8,B[I+2]=_&255,_=_>>>8,B[I+3]=_&255}function readUInt8(B,_){return B[_]}function writeUInt8(B,_,I){B[I]=_}let _utf16LE_TextDecoder;function getUTF16LE_TextDecoder(){return _utf16LE_TextDecoder||(_utf16LE_TextDecoder=new TextDecoder("UTF-16LE")),_utf16LE_TextDecoder}let _utf16BE_TextDecoder;function getUTF16BE_TextDecoder(){return _utf16BE_TextDecoder||(_utf16BE_TextDecoder=new TextDecoder("UTF-16BE")),_utf16BE_TextDecoder}let _platformTextDecoder;function getPlatformTextDecoder(){return _platformTextDecoder||(_platformTextDecoder=isLittleEndian()?getUTF16LE_TextDecoder():getUTF16BE_TextDecoder()),_platformTextDecoder}function decodeUTF16LE(B,_,I){const A=new Uint16Array(B.buffer,_,I);return I>0&&(A[0]===65279||A[0]===65534)?compatDecodeUTF16LE(B,_,I):getUTF16LE_TextDecoder().decode(A)}function compatDecodeUTF16LE(B,_,I){const A=[];let N=0;for(let U=0;U=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=_;return}for(let A=0;A[K[0].toLowerCase(),K[1].toLowerCase()]);const I=[];for(let K=0;K<_;K++)I[K]=K;const A=(K,j)=>{const[q,G]=K,[Z,Y]=j;return q===Z||q===Y||G===Z||G===Y},N=(K,j)=>{const q=Math.min(K,j),G=Math.max(K,j);for(let Z=0;Z<_;Z++)I[Z]===G&&(I[Z]=q)};for(let K=0;K<_;K++){const j=B[K];for(let q=K+1;q<_;q++){const G=B[q];A(j,G)&&N(I[K],I[q])}}const U=[];for(let K=0;K<_;K++){const j=[],q=[];for(let G=0;G<_;G++)if(I[G]===K){const[Z,Y]=B[G];j.push(Z),q.push(Y)}j.length>0&&U.push({open:j,close:q})}return U}class RichEditBrackets{constructor(_,I){this._richEditBracketsBrand=void 0;const A=groupFuzzyBrackets(I);this.brackets=A.map((N,U)=>new RichEditBracket(_,U,N.open,N.close,getRegexForBracketPair(N.open,N.close,A,U),getReversedRegexForBracketPair(N.open,N.close,A,U))),this.forwardRegex=getRegexForBrackets(this.brackets),this.reversedRegex=getReversedRegexForBrackets(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const N of this.brackets){for(const U of N.open)this.textIsBracket[U]=N,this.textIsOpenBracket[U]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,U.length);for(const U of N.close)this.textIsBracket[U]=N,this.textIsOpenBracket[U]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,U.length)}}}function collectSuperstrings(B,_,I,A){for(let N=0,U=_.length;N=0&&A.push(j);for(const j of K.close)j.indexOf(B)>=0&&A.push(j)}}function lengthcmp(B,_){return B.length-_.length}function unique(B){if(B.length<=1)return B;const _=[],I=new Set;for(const A of B)I.has(A)||(_.push(A),I.add(A));return _}function getRegexForBracketPair(B,_,I,A){let N=[];N=N.concat(B),N=N.concat(_);for(let U=0,K=N.length;U=0;K--)N[U++]=A.charCodeAt(K);return getPlatformTextDecoder().decode(N)}let _=null,I=null;return function(N){return _!==N&&(_=N,I=B(_)),I}}();class BracketsUtils{static _findPrevBracketInText(_,I,A,N){const U=A.match(_);if(!U)return null;const K=A.length-(U.index||0),j=U[0].length,q=N+K;return new Range$3(I,q-j+1,I,q+1)}static findPrevBracketInRange(_,I,A,N,U){const j=toReversedString(A).substring(A.length-U,A.length-N);return this._findPrevBracketInText(_,I,j,N)}static findNextBracketInText(_,I,A,N){const U=A.match(_);if(!U)return null;const K=U.index||0,j=U[0].length;if(j===0)return null;const q=N+K;return new Range$3(I,q+1,I,q+1+j)}static findNextBracketInRange(_,I,A,N,U){const K=A.substring(N,U);return this.findNextBracketInText(_,I,K,N)}}class BracketElectricCharacterSupport{constructor(_){this._richEditBrackets=_}getElectricCharacters(){const _=[];if(this._richEditBrackets)for(const I of this._richEditBrackets.brackets)for(const A of I.close){const N=A.charAt(A.length-1);_.push(N)}return distinct$1(_)}onElectricCharacter(_,I,A){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const N=I.findTokenIndexAtOffset(A-1);if(ignoreBracketsInToken(I.getStandardTokenType(N)))return null;const U=this._richEditBrackets.reversedRegex,K=I.getLineContent().substring(0,A-1)+_,j=BracketsUtils.findPrevBracketInRange(U,1,K,0,K.length);if(!j)return null;const q=K.substring(j.startColumn-1,j.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[q])return null;const Z=I.getActualLineContentBefore(j.startColumn-1);return/^\s*$/.test(Z)?{matchOpenBracket:q}:null}}function resetGlobalRegex(B){return B.global&&(B.lastIndex=0),!0}class IndentRulesSupport{constructor(_){this._indentationRules=_}shouldIncrease(_){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&resetGlobalRegex(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(_))}shouldDecrease(_){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&resetGlobalRegex(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(_))}shouldIndentNextLine(_){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&resetGlobalRegex(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(_))}shouldIgnore(_){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&resetGlobalRegex(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(_))}getIndentMetadata(_){let I=0;return this.shouldIncrease(_)&&(I+=1),this.shouldDecrease(_)&&(I+=2),this.shouldIndentNextLine(_)&&(I+=4),this.shouldIgnore(_)&&(I+=8),I}}class OnEnterSupport{constructor(_){_=_||{},_.brackets=_.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],_.brackets.forEach(I=>{const A=OnEnterSupport._createOpenBracketRegExp(I[0]),N=OnEnterSupport._createCloseBracketRegExp(I[1]);A&&N&&this._brackets.push({open:I[0],openRegExp:A,close:I[1],closeRegExp:N})}),this._regExpRules=_.onEnterRules||[]}onEnter(_,I,A,N){if(_>=3)for(let U=0,K=this._regExpRules.length;UG.reg?(G.reg.lastIndex=0,G.reg.test(G.text)):!0))return j.action}if(_>=2&&A.length>0&&N.length>0)for(let U=0,K=this._brackets.length;U=2&&A.length>0){for(let U=0,K=this._brackets.length;U0&&B.charAt(B.length-1)==="#"?B.substring(0,B.length-1):B}class JSONContributionRegistry{constructor(){this._onDidChangeSchema=new Emitter$1,this.onDidChangeSchema=this._onDidChangeSchema.event,this.schemasById={}}registerSchema(_,I){this.schemasById[normalizeId(_)]=I,this._onDidChangeSchema.fire(_)}notifySchemaChanged(_){this._onDidChangeSchema.fire(_)}getSchemaContributions(){return{schemas:this.schemasById}}}const jsonContributionRegistry=new JSONContributionRegistry;Registry.add(Extensions$9.JSONContribution,jsonContributionRegistry);var EditPresentationTypes;(function(B){B.Multiline="multilineText",B.Singleline="singlelineText"})(EditPresentationTypes||(EditPresentationTypes={}));const Extensions$8={Configuration:"base.contributions.configuration"},resourceLanguageSettingsSchemaId="vscode://schemas/settings/resourceLanguage",contributionRegistry=Registry.as(Extensions$9.JSONContribution);class ConfigurationRegistry{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new Emitter$1,this.onDidSchemaChange=this._onDidSchemaChange.event,this._onDidUpdateConfiguration=new Emitter$1,this.onDidUpdateConfiguration=this._onDidUpdateConfiguration.event,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:localize("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},contributionRegistry.registerSchema(resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(_,I=!0){this.registerConfigurations([_],I)}registerConfigurations(_,I=!0){const A=new Set;this.doRegisterConfigurations(_,I,A),contributionRegistry.registerSchema(resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:A})}deregisterConfigurations(_){const I=new Set;this.doDeregisterConfigurations(_,I),contributionRegistry.registerSchema(resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:I})}updateConfigurations({add:_,remove:I}){const A=new Set;this.doDeregisterConfigurations(I,A),this.doRegisterConfigurations(_,!1,A),contributionRegistry.registerSchema(resourceLanguageSettingsSchemaId,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:A})}registerDefaultConfigurations(_){const I=new Set;this.doRegisterDefaultConfigurations(_,I),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:I,defaultsOverrides:!0})}doRegisterDefaultConfigurations(_,I){var A;const N=[];for(const{overrides:U,source:K}of _)for(const j in U)if(I.add(j),OVERRIDE_PROPERTY_REGEX.test(j)){const q=this.configurationDefaultsOverrides.get(j),G=(A=q==null?void 0:q.valuesSources)!==null&&A!==void 0?A:new Map;if(K)for(const J of Object.keys(U[j]))G.set(J,K);const Z=Object.assign(Object.assign({},(q==null?void 0:q.value)||{}),U[j]);this.configurationDefaultsOverrides.set(j,{source:K,value:Z,valuesSources:G});const Y=getLanguageTagSettingPlainKey(j),Q={type:"object",default:Z,description:localize("defaultLanguageConfiguration.description","Configure settings to be overridden for the {0} language.",Y),$ref:resourceLanguageSettingsSchemaId,defaultDefaultValue:Z,source:isString$2(K)?void 0:K,defaultValueSource:K};N.push(...overrideIdentifiersFromKey(j)),this.configurationProperties[j]=Q,this.defaultLanguageConfigurationOverridesNode.properties[j]=Q}else{this.configurationDefaultsOverrides.set(j,{value:U[j],source:K});const q=this.configurationProperties[j];q&&(this.updatePropertyDefaultValue(j,q),this.updateSchema(j,q))}this.doRegisterOverrideIdentifiers(N)}deregisterDefaultConfigurations(_){const I=new Set;this.doDeregisterDefaultConfigurations(_,I),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:I,defaultsOverrides:!0})}doDeregisterDefaultConfigurations(_,I){var A;for(const{overrides:N,source:U}of _)for(const K in N){const j=this.configurationDefaultsOverrides.get(K),q=isString$2(U)?U:U==null?void 0:U.id,G=isString$2(j==null?void 0:j.source)?j==null?void 0:j.source:(A=j==null?void 0:j.source)===null||A===void 0?void 0:A.id;if(q===G)if(I.add(K),this.configurationDefaultsOverrides.delete(K),OVERRIDE_PROPERTY_REGEX.test(K))delete this.configurationProperties[K],delete this.defaultLanguageConfigurationOverridesNode.properties[K];else{const Z=this.configurationProperties[K];Z&&(this.updatePropertyDefaultValue(K,Z),this.updateSchema(K,Z))}}this.updateOverridePropertyPatternKey()}deltaConfiguration(_){let I=!1;const A=new Set;_.removedDefaults&&(this.doDeregisterDefaultConfigurations(_.removedDefaults,A),I=!0),_.addedDefaults&&(this.doRegisterDefaultConfigurations(_.addedDefaults,A),I=!0),_.removedConfigurations&&this.doDeregisterConfigurations(_.removedConfigurations,A),_.addedConfigurations&&this.doRegisterConfigurations(_.addedConfigurations,!1,A),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:A,defaultsOverrides:I})}notifyConfigurationSchemaUpdated(..._){this._onDidSchemaChange.fire()}registerOverrideIdentifiers(_){this.doRegisterOverrideIdentifiers(_),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(_){for(const I of _)this.overrideIdentifiers.add(I);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(_,I,A){_.forEach(N=>{this.validateAndRegisterProperties(N,I,N.extensionInfo,N.restrictedProperties,void 0,A),this.configurationContributors.push(N),this.registerJSONConfiguration(N)})}doDeregisterConfigurations(_,I){const A=N=>{var U,K;if(N.properties)for(const j in N.properties){I.add(j);const q=this.configurationProperties[j];!((U=q==null?void 0:q.policy)===null||U===void 0)&&U.name&&this.policyConfigurations.delete(q.policy.name),delete this.configurationProperties[j],this.removeFromSchema(j,N.properties[j])}(K=N.allOf)===null||K===void 0||K.forEach(j=>A(j))};for(const N of _){A(N);const U=this.configurationContributors.indexOf(N);U!==-1&&this.configurationContributors.splice(U,1)}}validateAndRegisterProperties(_,I=!0,A,N,U=3,K){var j;U=isUndefinedOrNull(_.scope)?U:_.scope;const q=_.properties;if(q)for(const Z in q){const Y=q[Z];if(I&&validateProperty(Z,Y)){delete q[Z];continue}if(Y.source=A,Y.defaultDefaultValue=q[Z].default,this.updatePropertyDefaultValue(Z,Y),OVERRIDE_PROPERTY_REGEX.test(Z)?Y.scope=void 0:(Y.scope=isUndefinedOrNull(Y.scope)?U:Y.scope,Y.restricted=isUndefinedOrNull(Y.restricted)?!!(N!=null&&N.includes(Z)):Y.restricted),q[Z].hasOwnProperty("included")&&!q[Z].included){this.excludedConfigurationProperties[Z]=q[Z],delete q[Z];continue}else this.configurationProperties[Z]=q[Z],!((j=q[Z].policy)===null||j===void 0)&&j.name&&this.policyConfigurations.set(q[Z].policy.name,Z);!q[Z].deprecationMessage&&q[Z].markdownDeprecationMessage&&(q[Z].deprecationMessage=q[Z].markdownDeprecationMessage),K.add(Z)}const G=_.allOf;if(G)for(const Z of G)this.validateAndRegisterProperties(Z,I,A,N,U,K)}getConfigurations(){return this.configurationContributors}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}getExcludedConfigurationProperties(){return this.excludedConfigurationProperties}getConfigurationDefaultsOverrides(){return this.configurationDefaultsOverrides}registerJSONConfiguration(_){const I=A=>{const N=A.properties;if(N)for(const K in N)this.updateSchema(K,N[K]);const U=A.allOf;U==null||U.forEach(I)};I(_)}updateSchema(_,I){switch(I.scope){case 1:break;case 2:break;case 6:break;case 3:break;case 4:break;case 5:this.resourceLanguageSettingsSchema.properties[_]=I;break}}removeFromSchema(_,I){switch(I.scope){case 1:break;case 2:break;case 6:break;case 3:break;case 4:case 5:delete this.resourceLanguageSettingsSchema.properties[_];break}}updateOverridePropertyPatternKey(){for(const _ of this.overrideIdentifiers.values()){const I=`[${_}]`,A={type:"object",description:localize("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:localize("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:resourceLanguageSettingsSchemaId};this.updatePropertyDefaultValue(I,A)}}registerOverridePropertyPatternKey(){localize("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),localize("overrideSettings.errorMessage","This setting does not support per-language configuration."),this._onDidSchemaChange.fire()}updatePropertyDefaultValue(_,I){const A=this.configurationDefaultsOverrides.get(_);let N=A==null?void 0:A.value,U=A==null?void 0:A.source;isUndefined(N)&&(N=I.defaultDefaultValue,U=void 0),isUndefined(N)&&(N=getDefaultValue(I.type)),I.default=N,I.defaultValueSource=U}}const OVERRIDE_IDENTIFIER_PATTERN="\\[([^\\]]+)\\]",OVERRIDE_IDENTIFIER_REGEX=new RegExp(OVERRIDE_IDENTIFIER_PATTERN,"g"),OVERRIDE_PROPERTY_PATTERN=`^(${OVERRIDE_IDENTIFIER_PATTERN})+$`,OVERRIDE_PROPERTY_REGEX=new RegExp(OVERRIDE_PROPERTY_PATTERN);function overrideIdentifiersFromKey(B){const _=[];if(OVERRIDE_PROPERTY_REGEX.test(B)){let I=OVERRIDE_IDENTIFIER_REGEX.exec(B);for(;I!=null&&I.length;){const A=I[1].trim();A&&_.push(A),I=OVERRIDE_IDENTIFIER_REGEX.exec(B)}}return distinct$1(_)}function getDefaultValue(B){switch(Array.isArray(B)?B[0]:B){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const configurationRegistry$2=new ConfigurationRegistry;Registry.add(Extensions$8.Configuration,configurationRegistry$2);function validateProperty(B,_){var I,A,N,U;return B.trim()?OVERRIDE_PROPERTY_REGEX.test(B)?localize("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",B):configurationRegistry$2.getConfigurationProperties()[B]!==void 0?localize("config.property.duplicate","Cannot register '{0}'. This property is already registered.",B):!((I=_.policy)===null||I===void 0)&&I.name&&configurationRegistry$2.getPolicyConfigurations().get((A=_.policy)===null||A===void 0?void 0:A.name)!==void 0?localize("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",B,(N=_.policy)===null||N===void 0?void 0:N.name,configurationRegistry$2.getPolicyConfigurations().get((U=_.policy)===null||U===void 0?void 0:U.name)):null:localize("config.property.empty","Cannot register an empty property")}const Extensions$7={ModesRegistry:"editor.modesRegistry"};class EditorModesRegistry{constructor(){this._onDidChangeLanguages=new Emitter$1,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(_){return this._languages.push(_),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let I=0,A=this._languages.length;I{const q=new Set;return{info:new OpeningBracketKind(this,j,q),closing:q}}),U=new CachedFunction(j=>{const q=new Set,G=new Set;return{info:new ClosingBracketKind(this,j,q,G),opening:q,openingColorized:G}});for(const[j,q]of A){const G=N.get(j),Z=U.get(q);G.closing.add(Z.info),Z.opening.add(G.info)}const K=I.colorizedBracketPairs?filterValidBrackets(I.colorizedBracketPairs):A.filter(j=>!(j[0]==="<"&&j[1]===">"));for(const[j,q]of K){const G=N.get(j),Z=U.get(q);G.closing.add(Z.info),Z.openingColorized.add(G.info),Z.opening.add(G.info)}this._openingBrackets=new Map([...N.cachedValues].map(([j,q])=>[j,q.info])),this._closingBrackets=new Map([...U.cachedValues].map(([j,q])=>[j,q.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(_){return this._openingBrackets.get(_)}getClosingBracketInfo(_){return this._closingBrackets.get(_)}getBracketInfo(_){return this.getOpeningBracketInfo(_)||this.getClosingBracketInfo(_)}}function filterValidBrackets(B){return B.filter(([_,I])=>_!==""&&I!=="")}class BracketKindBase{constructor(_,I){this.config=_,this.bracketText=I}get languageId(){return this.config.languageId}}class OpeningBracketKind extends BracketKindBase{constructor(_,I,A){super(_,I),this.openedBrackets=A,this.isOpeningBracket=!0}}class ClosingBracketKind extends BracketKindBase{constructor(_,I,A,N){super(_,I),this.openingBrackets=A,this.openingColorizedBrackets=N,this.isOpeningBracket=!1}closes(_){return _.config!==this.config?!1:this.openingBrackets.has(_)}closesColorized(_){return _.config!==this.config?!1:this.openingColorizedBrackets.has(_)}getOpeningBrackets(){return[...this.openingBrackets]}}var __decorate$24=globalThis&&globalThis.__decorate||function(B,_,I,A){var N=arguments.length,U=N<3?_:A===null?A=Object.getOwnPropertyDescriptor(_,I):A,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")U=Reflect.decorate(B,_,I,A);else for(var j=B.length-1;j>=0;j--)(K=B[j])&&(U=(N<3?K(U):N>3?K(_,I,U):K(_,I))||U);return N>3&&U&&Object.defineProperty(_,I,U),U},__param$1Z=globalThis&&globalThis.__param||function(B,_){return function(I,A){_(I,A,B)}};class LanguageConfigurationServiceChangeEvent{constructor(_){this.languageId=_}affects(_){return this.languageId?this.languageId===_:!0}}const ILanguageConfigurationService=createDecorator("languageConfigurationService");let LanguageConfigurationService=class extends Disposable{constructor(_,I){super(),this.configurationService=_,this.languageService=I,this._registry=this._register(new LanguageConfigurationRegistry),this.onDidChangeEmitter=this._register(new Emitter$1),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const A=new Set(Object.values(customizedLanguageConfigKeys));this._register(this.configurationService.onDidChangeConfiguration(N=>{const U=N.change.keys.some(j=>A.has(j)),K=N.change.overrides.filter(([j,q])=>q.some(G=>A.has(G))).map(([j])=>j);if(U)this.configurations.clear(),this.onDidChangeEmitter.fire(new LanguageConfigurationServiceChangeEvent(void 0));else for(const j of K)this.languageService.isRegisteredLanguageId(j)&&(this.configurations.delete(j),this.onDidChangeEmitter.fire(new LanguageConfigurationServiceChangeEvent(j)))})),this._register(this._registry.onDidChange(N=>{this.configurations.delete(N.languageId),this.onDidChangeEmitter.fire(new LanguageConfigurationServiceChangeEvent(N.languageId))}))}register(_,I,A){return this._registry.register(_,I,A)}getLanguageConfiguration(_){let I=this.configurations.get(_);return I||(I=computeConfig(_,this._registry,this.configurationService,this.languageService),this.configurations.set(_,I)),I}};LanguageConfigurationService=__decorate$24([__param$1Z(0,IConfigurationService),__param$1Z(1,ILanguageService)],LanguageConfigurationService);function computeConfig(B,_,I,A){let N=_.getLanguageConfiguration(B);if(!N){if(!A.isRegisteredLanguageId(B))return new ResolvedLanguageConfiguration(B,{});N=new ResolvedLanguageConfiguration(B,{})}const U=getCustomizedLanguageConfig(N.languageId,I),K=combineLanguageConfigurations([N.underlyingConfig,U]);return new ResolvedLanguageConfiguration(N.languageId,K)}const customizedLanguageConfigKeys={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function getCustomizedLanguageConfig(B,_){const I=_.getValue(customizedLanguageConfigKeys.brackets,{overrideIdentifier:B}),A=_.getValue(customizedLanguageConfigKeys.colorizedBracketPairs,{overrideIdentifier:B});return{brackets:validateBracketPairs(I),colorizedBracketPairs:validateBracketPairs(A)}}function validateBracketPairs(B){if(Array.isArray(B))return B.map(_=>{if(!(!Array.isArray(_)||_.length!==2))return[_[0],_[1]]}).filter(_=>!!_)}function getIndentationAtPosition(B,_,I){const A=B.getLineContent(_);let N=getLeadingWhitespace(A);return N.length>I-1&&(N=N.substring(0,I-1)),N}function getScopedLineTokens(B,_,I){B.tokenization.forceTokenization(_);const A=B.tokenization.getLineTokens(_),N=typeof I>"u"?B.getLineMaxColumn(_)-1:I-1;return createScopedLineTokens(A,N)}class ComposedLanguageConfiguration{constructor(_){this.languageId=_,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(_,I){const A=new LanguageConfigurationContribution(_,I,++this._order);return this._entries.push(A),this._resolved=null,toDisposable(()=>{for(let N=0;N_.configuration)))}}function combineLanguageConfigurations(B){let _={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const I of B)_={comments:I.comments||_.comments,brackets:I.brackets||_.brackets,wordPattern:I.wordPattern||_.wordPattern,indentationRules:I.indentationRules||_.indentationRules,onEnterRules:I.onEnterRules||_.onEnterRules,autoClosingPairs:I.autoClosingPairs||_.autoClosingPairs,surroundingPairs:I.surroundingPairs||_.surroundingPairs,autoCloseBefore:I.autoCloseBefore||_.autoCloseBefore,folding:I.folding||_.folding,colorizedBracketPairs:I.colorizedBracketPairs||_.colorizedBracketPairs,__electricCharacterSupport:I.__electricCharacterSupport||_.__electricCharacterSupport};return _}class LanguageConfigurationContribution{constructor(_,I,A){this.configuration=_,this.priority=I,this.order=A}static cmp(_,I){return _.priority===I.priority?_.order-I.order:_.priority-I.priority}}class LanguageConfigurationChangeEvent{constructor(_){this.languageId=_}}class LanguageConfigurationRegistry extends Disposable{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new Emitter$1),this.onDidChange=this._onDidChange.event,this._register(this.register(PLAINTEXT_LANGUAGE_ID,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(_,I,A=0){let N=this._entries.get(_);N||(N=new ComposedLanguageConfiguration(_),this._entries.set(_,N));const U=N.register(I,A);return this._onDidChange.fire(new LanguageConfigurationChangeEvent(_)),toDisposable(()=>{U.dispose(),this._onDidChange.fire(new LanguageConfigurationChangeEvent(_))})}getLanguageConfiguration(_){const I=this._entries.get(_);return(I==null?void 0:I.getResolvedConfiguration())||null}}class ResolvedLanguageConfiguration{constructor(_,I){this.languageId=_,this.underlyingConfig=I,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new OnEnterSupport(this.underlyingConfig):null,this.comments=ResolvedLanguageConfiguration._handleComments(this.underlyingConfig),this.characterPair=new CharacterPairSupport(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||DEFAULT_WORD_REGEXP,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new IndentRulesSupport(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new LanguageBracketsConfiguration(_,this.underlyingConfig)}getWordDefinition(){return ensureValidWordDefinition(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new RichEditBrackets(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new BracketElectricCharacterSupport(this.brackets)),this._electricCharacter}onEnter(_,I,A,N){return this._onEnterSupport?this._onEnterSupport.onEnter(_,I,A,N):null}getAutoClosingPairs(){return new AutoClosingPairs(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(_){return this.characterPair.getAutoCloseBeforeSet(_)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(_){const I=_.comments;if(!I)return null;const A={};if(I.lineComment&&(A.lineCommentToken=I.lineComment),I.blockComment){const[N,U]=I.blockComment;A.blockCommentStartToken=N,A.blockCommentEndToken=U}return A}}registerSingleton(ILanguageConfigurationService,LanguageConfigurationService,1);const NullState=new class{clone(){return this}equals(B){return this===B}};function nullTokenize(B,_){return new TokenizationResult([new Token$2(0,"",B)],_)}function nullTokenizeEncoded(B,_){const I=new Uint32Array(2);return I[0]=0,I[1]=(B<<0|0|0|32768|2<<24)>>>0,new EncodedTokenizationResult(I,_===null?NullState:_)}const IModelService=createDecorator("modelService");function isPathSeparator(B){return B===47||B===92}function toSlashes(B){return B.replace(/[\\/]/g,posix.sep)}function toPosixPath(B){return B.indexOf("/")===-1&&(B=toSlashes(B)),/^[a-zA-Z]:(\/|$)/.test(B)&&(B="/"+B),B}function getRoot(B,_=posix.sep){if(!B)return"";const I=B.length,A=B.charCodeAt(0);if(isPathSeparator(A)){if(isPathSeparator(B.charCodeAt(1))&&!isPathSeparator(B.charCodeAt(2))){let U=3;const K=U;for(;UB.length)return!1;if(I){if(!startsWithIgnoreCase(B,_))return!1;if(_.length===B.length)return!0;let U=_.length;return _.charAt(_.length-1)===A&&U--,B.charAt(U)===A}return _.charAt(_.length-1)!==A&&(_+=A),B.indexOf(_)===0}function isWindowsDriveLetter(B){return B>=65&&B<=90||B>=97&&B<=122}function hasDriveLetter(B,_=isWindows){return _?isWindowsDriveLetter(B.charCodeAt(0))&&B.charCodeAt(1)===58:!1}function originalFSPath(B){return uriToFsPath(B,!0)}class ExtUri{constructor(_){this._ignorePathCasing=_}compare(_,I,A=!1){return _===I?0:compare$1(this.getComparisonKey(_,A),this.getComparisonKey(I,A))}isEqual(_,I,A=!1){return _===I?!0:!_||!I?!1:this.getComparisonKey(_,A)===this.getComparisonKey(I,A)}getComparisonKey(_,I=!1){return _.with({path:this._ignorePathCasing(_)?_.path.toLowerCase():void 0,fragment:I?null:void 0}).toString()}ignorePathCasing(_){return this._ignorePathCasing(_)}isEqualOrParent(_,I,A=!1){if(_.scheme===I.scheme){if(_.scheme===Schemas.file)return isEqualOrParent(originalFSPath(_),originalFSPath(I),this._ignorePathCasing(_))&&_.query===I.query&&(A||_.fragment===I.fragment);if(isEqualAuthority(_.authority,I.authority))return isEqualOrParent(_.path,I.path,this._ignorePathCasing(_),"/")&&_.query===I.query&&(A||_.fragment===I.fragment)}return!1}joinPath(_,...I){return URI.joinPath(_,...I)}basenameOrAuthority(_){return basename(_)||_.authority}basename(_){return posix.basename(_.path)}extname(_){return posix.extname(_.path)}dirname(_){if(_.path.length===0)return _;let I;return _.scheme===Schemas.file?I=URI.file(dirname$1(originalFSPath(_))).path:(I=posix.dirname(_.path),_.authority&&I.length&&I.charCodeAt(0)!==47&&(console.error(`dirname("${_.toString})) resulted in a relative path`),I="/")),_.with({path:I})}normalizePath(_){if(!_.path.length)return _;let I;return _.scheme===Schemas.file?I=URI.file(normalize(originalFSPath(_))).path:I=posix.normalize(_.path),_.with({path:I})}relativePath(_,I){if(_.scheme!==I.scheme||!isEqualAuthority(_.authority,I.authority))return;if(_.scheme===Schemas.file){const U=relative(originalFSPath(_),originalFSPath(I));return isWindows?toSlashes(U):U}let A=_.path||"/";const N=I.path||"/";if(this._ignorePathCasing(_)){let U=0;for(const K=Math.min(A.length,N.length);UgetRoot(A).length&&A[A.length-1]===I}else{const A=_.path;return A.length>1&&A.charCodeAt(A.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(_.fsPath)}}removeTrailingPathSeparator(_,I=sep){return hasTrailingPathSeparator(_,I)?_.with({path:_.path.substr(0,_.path.length-1)}):_}addTrailingPathSeparator(_,I=sep){let A=!1;if(_.scheme===Schemas.file){const N=originalFSPath(_);A=N!==void 0&&N.length===getRoot(N).length&&N[N.length-1]===I}else{I="/";const N=_.path;A=N.length===1&&N.charCodeAt(N.length-1)===47}return!A&&!hasTrailingPathSeparator(_,I)?_.with({path:_.path+"/"}):_}}const extUri=new ExtUri(()=>!1),isEqual=extUri.isEqual.bind(extUri);extUri.isEqualOrParent.bind(extUri);extUri.getComparisonKey.bind(extUri);const basenameOrAuthority=extUri.basenameOrAuthority.bind(extUri),basename=extUri.basename.bind(extUri),extname=extUri.extname.bind(extUri),dirname=extUri.dirname.bind(extUri),joinPath=extUri.joinPath.bind(extUri),normalizePath=extUri.normalizePath.bind(extUri),relativePath=extUri.relativePath.bind(extUri),resolvePath=extUri.resolvePath.bind(extUri);extUri.isAbsolutePath.bind(extUri);const isEqualAuthority=extUri.isEqualAuthority.bind(extUri),hasTrailingPathSeparator=extUri.hasTrailingPathSeparator.bind(extUri);extUri.removeTrailingPathSeparator.bind(extUri);extUri.addTrailingPathSeparator.bind(extUri);var DataUri;(function(B){B.META_DATA_LABEL="label",B.META_DATA_DESCRIPTION="description",B.META_DATA_SIZE="size",B.META_DATA_MIME="mime";function _(I){const A=new Map;I.path.substring(I.path.indexOf(";")+1,I.path.lastIndexOf(";")).split(";").forEach(K=>{const[j,q]=K.split(":");j&&q&&A.set(j,q)});const U=I.path.substring(0,I.path.indexOf(";"));return U&&A.set(B.META_DATA_MIME,U),A}B.parseMetaData=_})(DataUri||(DataUri={}));const MicrotaskDelay=Symbol("MicrotaskDelay");var __awaiter$1u=globalThis&&globalThis.__awaiter||function(B,_,I,A){function N(U){return U instanceof I?U:new I(function(K){K(U)})}return new(I||(I=Promise))(function(U,K){function j(Z){try{G(A.next(Z))}catch(Y){K(Y)}}function q(Z){try{G(A.throw(Z))}catch(Y){K(Y)}}function G(Z){Z.done?U(Z.value):N(Z.value).then(j,q)}G((A=A.apply(B,_||[])).next())})},__asyncValues$2=globalThis&&globalThis.__asyncValues||function(B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var _=B[Symbol.asyncIterator],I;return _?_.call(B):(B=typeof __values=="function"?__values(B):B[Symbol.iterator](),I={},A("next"),A("throw"),A("return"),I[Symbol.asyncIterator]=function(){return this},I);function A(U){I[U]=B[U]&&function(K){return new Promise(function(j,q){K=B[U](K),N(j,q,K.done,K.value)})}}function N(U,K,j,q){Promise.resolve(q).then(function(G){U({value:G,done:j})},K)}};function isThenable$1(B){return!!B&&typeof B.then=="function"}function createCancelablePromise(B){const _=new CancellationTokenSource$1,I=B(_.token),A=new Promise((N,U)=>{const K=_.token.onCancellationRequested(()=>{K.dispose(),_.dispose(),U(new CancellationError)});Promise.resolve(I).then(j=>{K.dispose(),_.dispose(),N(j)},j=>{K.dispose(),_.dispose(),U(j)})});return new class{cancel(){_.cancel()}then(N,U){return A.then(N,U)}catch(N){return this.then(void 0,N)}finally(N){return A.finally(N)}}}function raceCancellation(B,_,I){return new Promise((A,N)=>{const U=_.onCancellationRequested(()=>{U.dispose(),A(I)});B.then(A,N).finally(()=>U.dispose())})}class Throttler{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(_){if(this.activePromise){if(this.queuedPromiseFactory=_,!this.queuedPromise){const I=()=>{this.queuedPromise=null;const A=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,A};this.queuedPromise=new Promise(A=>{this.activePromise.then(I,I).then(A)})}return new Promise((I,A)=>{this.queuedPromise.then(I,A)})}return this.activePromise=_(),new Promise((I,A)=>{this.activePromise.then(N=>{this.activePromise=null,I(N)},N=>{this.activePromise=null,A(N)})})}}const timeoutDeferred=(B,_)=>{let I=!0;const A=setTimeout(()=>{I=!1,_()},B);return{isTriggered:()=>I,dispose:()=>{clearTimeout(A),I=!1}}},microtaskDeferred=B=>{let _=!0;return queueMicrotask(()=>{_&&(_=!1,B())}),{isTriggered:()=>_,dispose:()=>{_=!1}}};class Delayer{constructor(_){this.defaultDelay=_,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(_,I=this.defaultDelay){this.task=_,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((N,U)=>{this.doResolve=N,this.doReject=U}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const N=this.task;return this.task=null,N()}}));const A=()=>{var N;this.deferred=null,(N=this.doResolve)===null||N===void 0||N.call(this,null)};return this.deferred=I===MicrotaskDelay?microtaskDeferred(A):timeoutDeferred(I,A),this.completionPromise}isTriggered(){var _;return!!(!((_=this.deferred)===null||_===void 0)&&_.isTriggered())}cancel(){var _;this.cancelTimeout(),this.completionPromise&&((_=this.doReject)===null||_===void 0||_.call(this,new CancellationError),this.completionPromise=null)}cancelTimeout(){var _;(_=this.deferred)===null||_===void 0||_.dispose(),this.deferred=null}dispose(){this.cancel()}}class ThrottledDelayer{constructor(_){this.delayer=new Delayer(_),this.throttler=new Throttler}trigger(_,I){return this.delayer.trigger(()=>this.throttler.queue(_),I)}isTriggered(){return this.delayer.isTriggered()}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose()}}function timeout(B,_){return _?new Promise((I,A)=>{const N=setTimeout(()=>{U.dispose(),I()},B),U=_.onCancellationRequested(()=>{clearTimeout(N),U.dispose(),A(new CancellationError)})}):createCancelablePromise(I=>timeout(B,I))}function disposableTimeout(B,_=0){const I=setTimeout(B,_);return toDisposable(()=>clearTimeout(I))}function first(B,_=A=>!!A,I=null){let A=0;const N=B.length,U=()=>{if(A>=N)return Promise.resolve(I);const K=B[A++];return Promise.resolve(K()).then(q=>_(q)?Promise.resolve(q):U())};return U()}class TimeoutTimer{constructor(_,I){this._token=-1,typeof _=="function"&&typeof I=="number"&&this.setIfNotSet(_,I)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(_,I){this.cancel(),this._token=setTimeout(()=>{this._token=-1,_()},I)}setIfNotSet(_,I){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,_()},I))}}class IntervalTimer{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(_,I){this.cancel(),this._token=setInterval(()=>{_()},I)}}class RunOnceScheduler{constructor(_,I){this.timeoutToken=-1,this.runner=_,this.timeout=I,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(_=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,_)}get delay(){return this.timeout}set delay(_){this.timeout=_}isScheduled(){return this.timeoutToken!==-1}flush(){this.isScheduled()&&(this.cancel(),this.doRun())}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var _;(_=this.runner)===null||_===void 0||_.call(this)}}let runWhenIdle;(function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?runWhenIdle=B=>{setTimeout0(()=>{if(_)return;const I=Date.now()+15;B(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,I-Date.now())}}))});let _=!1;return{dispose(){_||(_=!0)}}}:runWhenIdle=(B,_)=>{const I=requestIdleCallback(B,typeof _=="number"?{timeout:_}:void 0);let A=!1;return{dispose(){A||(A=!0,cancelIdleCallback(I))}}}})();class IdleValue{constructor(_){this._didRun=!1,this._executor=()=>{try{this._value=_()}catch(I){this._error=I}finally{this._didRun=!0}},this._handle=runWhenIdle(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class DeferredPromise{get isRejected(){return this.rejected}get isResolved(){return this.resolved}get isSettled(){return this.rejected||this.resolved}constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((_,I)=>{this.completeCallback=_,this.errorCallback=I})}complete(_){return new Promise(I=>{this.completeCallback(_),this.resolved=!0,I()})}error(_){return new Promise(I=>{this.errorCallback(_),this.rejected=!0,I()})}cancel(){new Promise(_=>{this.errorCallback(new CancellationError),this.rejected=!0,_()})}}var Promises;(function(B){function _(A){return __awaiter$1u(this,void 0,void 0,function*(){let N;const U=yield Promise.all(A.map(K=>K.then(j=>j,j=>{N||(N=j)})));if(typeof N<"u")throw N;return U})}B.settled=_;function I(A){return new Promise((N,U)=>__awaiter$1u(this,void 0,void 0,function*(){try{yield A(N,U)}catch(K){U(K)}}))}B.withAsyncBody=I})(Promises||(Promises={}));class AsyncIterableObject{static fromArray(_){return new AsyncIterableObject(I=>{I.emitMany(_)})}static fromPromise(_){return new AsyncIterableObject(I=>__awaiter$1u(this,void 0,void 0,function*(){I.emitMany(yield _)}))}static fromPromises(_){return new AsyncIterableObject(I=>__awaiter$1u(this,void 0,void 0,function*(){yield Promise.all(_.map(A=>__awaiter$1u(this,void 0,void 0,function*(){return I.emitOne(yield A)})))}))}static merge(_){return new AsyncIterableObject(I=>__awaiter$1u(this,void 0,void 0,function*(){yield Promise.all(_.map(A=>{var N,U,K;return __awaiter$1u(this,void 0,void 0,function*(){var j,q,G,Z;try{for(N=!0,U=__asyncValues$2(A);K=yield U.next(),j=K.done,!j;){Z=K.value,N=!1;try{const Y=Z;I.emitOne(Y)}finally{N=!0}}}catch(Y){q={error:Y}}finally{try{!N&&!j&&(G=U.return)&&(yield G.call(U))}finally{if(q)throw q.error}}})}))}))}constructor(_){this._state=0,this._results=[],this._error=null,this._onStateChanged=new Emitter$1,queueMicrotask(()=>__awaiter$1u(this,void 0,void 0,function*(){const I={emitOne:A=>this.emitOne(A),emitMany:A=>this.emitMany(A),reject:A=>this.reject(A)};try{yield Promise.resolve(_(I)),this.resolve()}catch(A){this.reject(A)}finally{I.emitOne=void 0,I.emitMany=void 0,I.reject=void 0}}))}[Symbol.asyncIterator](){let _=0;return{next:()=>__awaiter$1u(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(___awaiter$1u(this,void 0,void 0,function*(){var N,U,K,j;try{for(var q=!0,G=__asyncValues$2(_),Z;Z=yield G.next(),N=Z.done,!N;){j=Z.value,q=!1;try{const Y=j;A.emitOne(I(Y))}finally{q=!0}}}catch(Y){U={error:Y}}finally{try{!q&&!N&&(K=G.return)&&(yield K.call(G))}finally{if(U)throw U.error}}}))}map(_){return AsyncIterableObject.map(this,_)}static filter(_,I){return new AsyncIterableObject(A=>__awaiter$1u(this,void 0,void 0,function*(){var N,U,K,j;try{for(var q=!0,G=__asyncValues$2(_),Z;Z=yield G.next(),N=Z.done,!N;){j=Z.value,q=!1;try{const Y=j;I(Y)&&A.emitOne(Y)}finally{q=!0}}}catch(Y){U={error:Y}}finally{try{!q&&!N&&(K=G.return)&&(yield K.call(G))}finally{if(U)throw U.error}}}))}filter(_){return AsyncIterableObject.filter(this,_)}static coalesce(_){return AsyncIterableObject.filter(_,I=>!!I)}coalesce(){return AsyncIterableObject.coalesce(this)}static toPromise(_){var I,A,N,U,K,j,q;return __awaiter$1u(this,void 0,void 0,function*(){const G=[];try{for(I=!0,A=__asyncValues$2(_);N=yield A.next(),U=N.done,!U;){q=N.value,I=!1;try{const Z=q;G.push(Z)}finally{I=!0}}}catch(Z){K={error:Z}}finally{try{!I&&!U&&(j=A.return)&&(yield j.call(A))}finally{if(K)throw K.error}}return G})}toPromise(){return AsyncIterableObject.toPromise(this)}emitOne(_){this._state===0&&(this._results.push(_),this._onStateChanged.fire())}emitMany(_){this._state===0&&(this._results=this._results.concat(_),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(_){this._state===0&&(this._state=2,this._error=_,this._onStateChanged.fire())}}AsyncIterableObject.EMPTY=AsyncIterableObject.fromArray([]);class CancelableAsyncIterableObject extends AsyncIterableObject{constructor(_,I){super(I),this._source=_}cancel(){this._source.cancel()}}function createCancelableAsyncIterable(B){const _=new CancellationTokenSource$1,I=B(_.token);return new CancelableAsyncIterableObject(_,A=>__awaiter$1u(this,void 0,void 0,function*(){var N,U,K,j;const q=_.token.onCancellationRequested(()=>{q.dispose(),_.dispose(),A.reject(new CancellationError)});try{try{for(var G=!0,Z=__asyncValues$2(I),Y;Y=yield Z.next(),N=Y.done,!N;){j=Y.value,G=!1;try{const Q=j;if(_.token.isCancellationRequested)return;A.emitOne(Q)}finally{G=!0}}}catch(Q){U={error:Q}}finally{try{!G&&!N&&(K=Z.return)&&(yield K.call(Z))}finally{if(U)throw U.error}}q.dispose(),_.dispose()}catch(Q){q.dispose(),_.dispose(),A.reject(Q)}}))}const INITIALIZE="$initialize";let webWorkerWarningLogged=!1;function logOnceWebWorkerWarning(B){isWeb&&(webWorkerWarningLogged||(webWorkerWarningLogged=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(B.message))}class RequestMessage{constructor(_,I,A,N){this.vsWorker=_,this.req=I,this.method=A,this.args=N,this.type=0}}class ReplyMessage{constructor(_,I,A,N){this.vsWorker=_,this.seq=I,this.res=A,this.err=N,this.type=1}}class SubscribeEventMessage{constructor(_,I,A,N){this.vsWorker=_,this.req=I,this.eventName=A,this.arg=N,this.type=2}}class EventMessage{constructor(_,I,A){this.vsWorker=_,this.req=I,this.event=A,this.type=3}}class UnsubscribeEventMessage{constructor(_,I){this.vsWorker=_,this.req=I,this.type=4}}class SimpleWorkerProtocol{constructor(_){this._workerId=-1,this._handler=_,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(_){this._workerId=_}sendMessage(_,I){const A=String(++this._lastSentReq);return new Promise((N,U)=>{this._pendingReplies[A]={resolve:N,reject:U},this._send(new RequestMessage(this._workerId,A,_,I))})}listen(_,I){let A=null;const N=new Emitter$1({onWillAddFirstListener:()=>{A=String(++this._lastSentReq),this._pendingEmitters.set(A,N),this._send(new SubscribeEventMessage(this._workerId,A,_,I))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(A),this._send(new UnsubscribeEventMessage(this._workerId,A)),A=null}});return N.event}handleMessage(_){!_||!_.vsWorker||this._workerId!==-1&&_.vsWorker!==this._workerId||this._handleMessage(_)}_handleMessage(_){switch(_.type){case 1:return this._handleReplyMessage(_);case 0:return this._handleRequestMessage(_);case 2:return this._handleSubscribeEventMessage(_);case 3:return this._handleEventMessage(_);case 4:return this._handleUnsubscribeEventMessage(_)}}_handleReplyMessage(_){if(!this._pendingReplies[_.seq]){console.warn("Got reply to unknown seq");return}const I=this._pendingReplies[_.seq];if(delete this._pendingReplies[_.seq],_.err){let A=_.err;_.err.$isError&&(A=new Error,A.name=_.err.name,A.message=_.err.message,A.stack=_.err.stack),I.reject(A);return}I.resolve(_.res)}_handleRequestMessage(_){const I=_.req;this._handler.handleMessage(_.method,_.args).then(N=>{this._send(new ReplyMessage(this._workerId,I,N,void 0))},N=>{N.detail instanceof Error&&(N.detail=transformErrorForSerialization(N.detail)),this._send(new ReplyMessage(this._workerId,I,void 0,transformErrorForSerialization(N)))})}_handleSubscribeEventMessage(_){const I=_.req,A=this._handler.handleEvent(_.eventName,_.arg)(N=>{this._send(new EventMessage(this._workerId,I,N))});this._pendingEvents.set(I,A)}_handleEventMessage(_){if(!this._pendingEmitters.has(_.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(_.req).fire(_.event)}_handleUnsubscribeEventMessage(_){if(!this._pendingEvents.has(_.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(_.req).dispose(),this._pendingEvents.delete(_.req)}_send(_){const I=[];if(_.type===0)for(let A=0;A<_.args.length;A++)_.args[A]instanceof ArrayBuffer&&I.push(_.args[A]);else _.type===1&&_.res instanceof ArrayBuffer&&I.push(_.res);this._handler.sendMessage(_,I)}}class SimpleWorkerClient extends Disposable{constructor(_,I,A){super();let N=null;this._worker=this._register(_.create("vs/base/common/worker/simpleWorker",Z=>{this._protocol.handleMessage(Z)},Z=>{N==null||N(Z)})),this._protocol=new SimpleWorkerProtocol({sendMessage:(Z,Y)=>{this._worker.postMessage(Z,Y)},handleMessage:(Z,Y)=>{if(typeof A[Z]!="function")return Promise.reject(new Error("Missing method "+Z+" on main thread host."));try{return Promise.resolve(A[Z].apply(A,Y))}catch(Q){return Promise.reject(Q)}},handleEvent:(Z,Y)=>{if(propertyIsDynamicEvent(Z)){const Q=A[Z].call(A,Y);if(typeof Q!="function")throw new Error(`Missing dynamic event ${Z} on main thread host.`);return Q}if(propertyIsEvent(Z)){const Q=A[Z];if(typeof Q!="function")throw new Error(`Missing event ${Z} on main thread host.`);return Q}throw new Error(`Malformed event name ${Z}`)}}),this._protocol.setWorkerId(this._worker.getId());let U=null;const K=globalThis.require;typeof K<"u"&&typeof K.getConfig=="function"?U=K.getConfig():typeof globalThis.requirejs<"u"&&(U=globalThis.requirejs.s.contexts._.config);const j=getAllMethodNames(A);this._onModuleLoaded=this._protocol.sendMessage(INITIALIZE,[this._worker.getId(),JSON.parse(JSON.stringify(U)),I,j]);const q=(Z,Y)=>this._request(Z,Y),G=(Z,Y)=>this._protocol.listen(Z,Y);this._lazyProxy=new Promise((Z,Y)=>{N=Y,this._onModuleLoaded.then(Q=>{Z(createProxyObject(Q,q,G))},Q=>{Y(Q),this._onError("Worker failed to load "+I,Q)})})}getProxyObject(){return this._lazyProxy}_request(_,I){return new Promise((A,N)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(_,I).then(A,N)},N)})}_onError(_,I){console.error(_),console.info(I)}}function propertyIsEvent(B){return B[0]==="o"&&B[1]==="n"&&isUpperAsciiLetter(B.charCodeAt(2))}function propertyIsDynamicEvent(B){return/^onDynamic/.test(B)&&isUpperAsciiLetter(B.charCodeAt(9))}function createProxyObject(B,_,I){const A=K=>function(){const j=Array.prototype.slice.call(arguments,0);return _(K,j)},N=K=>function(j){return I(K,j)},U={};for(const K of B){if(propertyIsDynamicEvent(K)){U[K]=N(K);continue}if(propertyIsEvent(K)){U[K]=I(K,void 0);continue}U[K]=A(K)}return U}var _a$b;const ttPolicy$4=(_a$b=window.trustedTypes)===null||_a$b===void 0?void 0:_a$b.createPolicy("defaultWorkerFactory",{createScriptURL:B=>B});function getWorker(B){const _=globalThis.MonacoEnvironment;if(_){if(typeof _.getWorker=="function")return _.getWorker("workerMain.js",B);if(typeof _.getWorkerUrl=="function"){const I=_.getWorkerUrl("workerMain.js",B);return new Worker(ttPolicy$4?ttPolicy$4.createScriptURL(I):I,{name:B})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function isPromiseLike(B){return typeof B.then=="function"}class WebWorker{constructor(_,I,A,N,U){this.id=I;const K=getWorker(A);isPromiseLike(K)?this.worker=K:this.worker=Promise.resolve(K),this.postMessage(_,[]),this.worker.then(j=>{j.onmessage=function(q){N(q.data)},j.onmessageerror=U,typeof j.addEventListener=="function"&&j.addEventListener("error",U)})}getId(){return this.id}postMessage(_,I){var A;(A=this.worker)===null||A===void 0||A.then(N=>N.postMessage(_,I))}dispose(){var _;(_=this.worker)===null||_===void 0||_.then(I=>I.terminate()),this.worker=null}}class DefaultWorkerFactory{constructor(_){this._label=_,this._webWorkerFailedBeforeError=!1}create(_,I,A){const N=++DefaultWorkerFactory.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new WebWorker(_,N,this._label||"anonymous"+N,I,U=>{logOnceWebWorkerWarning(U),this._webWorkerFailedBeforeError=U,A(U)})}}DefaultWorkerFactory.LAST_WORKER_ID=0;class DiffChange{constructor(_,I,A,N){this.originalStart=_,this.originalLength=I,this.modifiedStart=A,this.modifiedLength=N}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function hash(B){return doHash(B,0)}function doHash(B,_){switch(typeof B){case"object":return B===null?numberHash(349,_):Array.isArray(B)?arrayHash(B,_):objectHash(B,_);case"string":return stringHash(B,_);case"boolean":return booleanHash(B,_);case"number":return numberHash(B,_);case"undefined":return numberHash(937,_);default:return numberHash(617,_)}}function numberHash(B,_){return(_<<5)-_+B|0}function booleanHash(B,_){return numberHash(B?433:863,_)}function stringHash(B,_){_=numberHash(149417,_);for(let I=0,A=B.length;IdoHash(A,I),_)}function objectHash(B,_){return _=numberHash(181387,_),Object.keys(B).sort().reduce((I,A)=>(I=stringHash(A,I),doHash(B[A],I)),_)}function leftRotate$2(B,_,I=32){const A=I-_,N=~((1<>>A)>>>0}function fill(B,_=0,I=B.byteLength,A=0){for(let N=0;NI.toString(16).padStart(2,"0")).join(""):leftPad((B>>>0).toString(16),_/4)}class StringSHA1{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(_){const I=_.length;if(I===0)return;const A=this._buff;let N=this._buffLen,U=this._leftoverHighSurrogate,K,j;for(U!==0?(K=U,j=-1,U=0):(K=_.charCodeAt(0),j=0);;){let q=K;if(isHighSurrogate(K))if(j+1>>6,_[I++]=128|(A&63)>>>0):A<65536?(_[I++]=224|(A&61440)>>>12,_[I++]=128|(A&4032)>>>6,_[I++]=128|(A&63)>>>0):(_[I++]=240|(A&1835008)>>>18,_[I++]=128|(A&258048)>>>12,_[I++]=128|(A&4032)>>>6,_[I++]=128|(A&63)>>>0),I>=64&&(this._step(),I-=64,this._totalLen+=64,_[0]=_[64+0],_[1]=_[64+1],_[2]=_[64+2]),I}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),toHexString(this._h0)+toHexString(this._h1)+toHexString(this._h2)+toHexString(this._h3)+toHexString(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,fill(this._buff,this._buffLen),this._buffLen>56&&(this._step(),fill(this._buff));const _=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(_/4294967296),!1),this._buffDV.setUint32(60,_%4294967296,!1),this._step()}_step(){const _=StringSHA1._bigBlock32,I=this._buffDV;for(let Y=0;Y<64;Y+=4)_.setUint32(Y,I.getUint32(Y,!1),!1);for(let Y=64;Y<320;Y+=4)_.setUint32(Y,leftRotate$2(_.getUint32(Y-12,!1)^_.getUint32(Y-32,!1)^_.getUint32(Y-56,!1)^_.getUint32(Y-64,!1),1),!1);let A=this._h0,N=this._h1,U=this._h2,K=this._h3,j=this._h4,q,G,Z;for(let Y=0;Y<80;Y++)Y<20?(q=N&U|~N&K,G=1518500249):Y<40?(q=N^U^K,G=1859775393):Y<60?(q=N&U|N&K|U&K,G=2400959708):(q=N^U^K,G=3395469782),Z=leftRotate$2(A,5)+q+j+G+_.getUint32(Y*4,!1)&4294967295,j=K,K=U,U=leftRotate$2(N,30),N=A,A=Z;this._h0=this._h0+A&4294967295,this._h1=this._h1+N&4294967295,this._h2=this._h2+U&4294967295,this._h3=this._h3+K&4294967295,this._h4=this._h4+j&4294967295}}StringSHA1._bigBlock32=new DataView(new ArrayBuffer(320));class StringDiffSequence{constructor(_){this.source=_}getElements(){const _=this.source,I=new Int32Array(_.length);for(let A=0,N=_.length;A0||this.m_modifiedCount>0)&&this.m_changes.push(new DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(_,I){this.m_originalStart=Math.min(this.m_originalStart,_),this.m_modifiedStart=Math.min(this.m_modifiedStart,I),this.m_originalCount++}AddModifiedElement(_,I){this.m_originalStart=Math.min(this.m_originalStart,_),this.m_modifiedStart=Math.min(this.m_modifiedStart,I),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class LcsDiff{constructor(_,I,A=null){this.ContinueProcessingPredicate=A,this._originalSequence=_,this._modifiedSequence=I;const[N,U,K]=LcsDiff._getElements(_),[j,q,G]=LcsDiff._getElements(I);this._hasStrings=K&&G,this._originalStringElements=N,this._originalElementsOrHash=U,this._modifiedStringElements=j,this._modifiedElementsOrHash=q,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(_){return _.length>0&&typeof _[0]=="string"}static _getElements(_){const I=_.getElements();if(LcsDiff._isStringArray(I)){const A=new Int32Array(I.length);for(let N=0,U=I.length;N=_&&N>=A&&this.ElementsAreEqual(I,N);)I--,N--;if(_>I||A>N){let Y;return A<=N?(Debug.Assert(_===I+1,"originalStart should only be one more than originalEnd"),Y=[new DiffChange(_,0,A,N-A+1)]):_<=I?(Debug.Assert(A===N+1,"modifiedStart should only be one more than modifiedEnd"),Y=[new DiffChange(_,I-_+1,A,0)]):(Debug.Assert(_===I+1,"originalStart should only be one more than originalEnd"),Debug.Assert(A===N+1,"modifiedStart should only be one more than modifiedEnd"),Y=[]),Y}const K=[0],j=[0],q=this.ComputeRecursionPoint(_,I,A,N,K,j,U),G=K[0],Z=j[0];if(q!==null)return q;if(!U[0]){const Y=this.ComputeDiffRecursive(_,G,A,Z,U);let Q=[];return U[0]?Q=[new DiffChange(G+1,I-(G+1)+1,Z+1,N-(Z+1)+1)]:Q=this.ComputeDiffRecursive(G+1,I,Z+1,N,U),this.ConcatenateChanges(Y,Q)}return[new DiffChange(_,I-_+1,A,N-A+1)]}WALKTRACE(_,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re){let oe=null,se=null,ae=new DiffChangeHelper,ue=I,ce=A,le=J[0]-ie[0]-N,de=-1073741824,fe=this.m_forwardHistory.length-1;do{const he=le+_;he===ue||he=0&&(G=this.m_forwardHistory[fe],_=G[0],ue=1,ce=G.length-1)}while(--fe>=-1);if(oe=ae.getReverseChanges(),re[0]){let he=J[0]+1,ge=ie[0]+1;if(oe!==null&&oe.length>0){const pe=oe[oe.length-1];he=Math.max(he,pe.getOriginalEnd()),ge=Math.max(ge,pe.getModifiedEnd())}se=[new DiffChange(he,Q-he+1,ge,te-ge+1)]}else{ae=new DiffChangeHelper,ue=K,ce=j,le=J[0]-ie[0]-q,de=1073741824,fe=ne?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const he=le+U;he===ue||he=Z[he+1]?(Y=Z[he+1]-1,ee=Y-le-q,Y>de&&ae.MarkNextChange(),de=Y+1,ae.AddOriginalElement(Y+1,ee+1),le=he+1-U):(Y=Z[he-1],ee=Y-le-q,Y>de&&ae.MarkNextChange(),de=Y,ae.AddModifiedElement(Y+1,ee+1),le=he-1-U),fe>=0&&(Z=this.m_reverseHistory[fe],U=Z[0],ue=1,ce=Z.length-1)}while(--fe>=-1);se=ae.getChanges()}return this.ConcatenateChanges(oe,se)}ComputeRecursionPoint(_,I,A,N,U,K,j){let q=0,G=0,Z=0,Y=0,Q=0,J=0;_--,A--,U[0]=0,K[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const ee=I-_+(N-A),te=ee+1,ie=new Int32Array(te),ne=new Int32Array(te),re=N-A,oe=I-_,se=_-A,ae=I-N,ce=(oe-re)%2===0;ie[re]=_,ne[oe]=I,j[0]=!1;for(let le=1;le<=ee/2+1;le++){let de=0,fe=0;Z=this.ClipDiagonalBound(re-le,le,re,te),Y=this.ClipDiagonalBound(re+le,le,re,te);for(let ge=Z;ge<=Y;ge+=2){ge===Z||gede+fe&&(de=q,fe=G),!ce&&Math.abs(ge-oe)<=le-1&&q>=ne[ge])return U[0]=q,K[0]=G,pe<=ne[ge]&&1447>0&&le<=1447+1?this.WALKTRACE(re,Z,Y,se,oe,Q,J,ae,ie,ne,q,I,U,G,N,K,ce,j):null}const he=(de-_+(fe-A)-le)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(de,he))return j[0]=!0,U[0]=de,K[0]=fe,he>0&&1447>0&&le<=1447+1?this.WALKTRACE(re,Z,Y,se,oe,Q,J,ae,ie,ne,q,I,U,G,N,K,ce,j):(_++,A++,[new DiffChange(_,I-_+1,A,N-A+1)]);Q=this.ClipDiagonalBound(oe-le,le,oe,te),J=this.ClipDiagonalBound(oe+le,le,oe,te);for(let ge=Q;ge<=J;ge+=2){ge===Q||ge=ne[ge+1]?q=ne[ge+1]-1:q=ne[ge-1],G=q-(ge-oe)-ae;const pe=q;for(;q>_&&G>A&&this.ElementsAreEqual(q,G);)q--,G--;if(ne[ge]=q,ce&&Math.abs(ge-re)<=le&&q<=ie[ge])return U[0]=q,K[0]=G,pe>=ie[ge]&&1447>0&&le<=1447+1?this.WALKTRACE(re,Z,Y,se,oe,Q,J,ae,ie,ne,q,I,U,G,N,K,ce,j):null}if(le<=1447){let ge=new Int32Array(Y-Z+2);ge[0]=re-Z+1,MyArray.Copy2(ie,Z,ge,1,Y-Z+1),this.m_forwardHistory.push(ge),ge=new Int32Array(J-Q+2),ge[0]=oe-Q+1,MyArray.Copy2(ne,Q,ge,1,J-Q+1),this.m_reverseHistory.push(ge)}}return this.WALKTRACE(re,Z,Y,se,oe,Q,J,ae,ie,ne,q,I,U,G,N,K,ce,j)}PrettifyChanges(_){for(let I=0;I<_.length;I++){const A=_[I],N=I<_.length-1?_[I+1].originalStart:this._originalElementsOrHash.length,U=I<_.length-1?_[I+1].modifiedStart:this._modifiedElementsOrHash.length,K=A.originalLength>0,j=A.modifiedLength>0;for(;A.originalStart+A.originalLength=0;I--){const A=_[I];let N=0,U=0;if(I>0){const Y=_[I-1];N=Y.originalStart+Y.originalLength,U=Y.modifiedStart+Y.modifiedLength}const K=A.originalLength>0,j=A.modifiedLength>0;let q=0,G=this._boundaryScore(A.originalStart,A.originalLength,A.modifiedStart,A.modifiedLength);for(let Y=1;;Y++){const Q=A.originalStart-Y,J=A.modifiedStart-Y;if(QG&&(G=te,q=Y)}A.originalStart-=q,A.modifiedStart-=q;const Z=[null];if(I>0&&this.ChangesOverlap(_[I-1],_[I],Z)){_[I-1]=Z[0],_.splice(I,1),I++;continue}}if(this._hasStrings)for(let I=1,A=_.length;I0&&J>q&&(q=J,G=Y,Z=Q)}return q>0?[G,Z]:null}_contiguousSequenceScore(_,I,A){let N=0;for(let U=0;U=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[_])}_OriginalRegionIsBoundary(_,I){if(this._OriginalIsBoundary(_)||this._OriginalIsBoundary(_-1))return!0;if(I>0){const A=_+I;if(this._OriginalIsBoundary(A-1)||this._OriginalIsBoundary(A))return!0}return!1}_ModifiedIsBoundary(_){return _<=0||_>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[_])}_ModifiedRegionIsBoundary(_,I){if(this._ModifiedIsBoundary(_)||this._ModifiedIsBoundary(_-1))return!0;if(I>0){const A=_+I;if(this._ModifiedIsBoundary(A-1)||this._ModifiedIsBoundary(A))return!0}return!1}_boundaryScore(_,I,A,N){const U=this._OriginalRegionIsBoundary(_,I)?1:0,K=this._ModifiedRegionIsBoundary(A,N)?1:0;return U+K}ConcatenateChanges(_,I){const A=[];if(_.length===0||I.length===0)return I.length>0?I:_;if(this.ChangesOverlap(_[_.length-1],I[0],A)){const N=new Array(_.length+I.length-1);return MyArray.Copy(_,0,N,0,_.length-1),N[_.length-1]=A[0],MyArray.Copy(I,1,N,_.length,I.length-1),N}else{const N=new Array(_.length+I.length);return MyArray.Copy(_,0,N,0,_.length),MyArray.Copy(I,0,N,_.length,I.length),N}}ChangesOverlap(_,I,A){if(Debug.Assert(_.originalStart<=I.originalStart,"Left change is not less than or equal to right change"),Debug.Assert(_.modifiedStart<=I.modifiedStart,"Left change is not less than or equal to right change"),_.originalStart+_.originalLength>=I.originalStart||_.modifiedStart+_.modifiedLength>=I.modifiedStart){const N=_.originalStart;let U=_.originalLength;const K=_.modifiedStart;let j=_.modifiedLength;return _.originalStart+_.originalLength>=I.originalStart&&(U=I.originalStart+I.originalLength-_.originalStart),_.modifiedStart+_.modifiedLength>=I.modifiedStart&&(j=I.modifiedStart+I.modifiedLength-_.modifiedStart),A[0]=new DiffChange(N,U,K,j),!0}else return A[0]=null,!1}ClipDiagonalBound(_,I,A,N){if(_>=0&&_255?255:B|0}function toUint32(B){return B<0?0:B>4294967295?4294967295:B|0}class PrefixSumComputer{constructor(_){this.values=_,this.prefixSum=new Uint32Array(_.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}getCount(){return this.values.length}insertValues(_,I){_=toUint32(_);const A=this.values,N=this.prefixSum,U=I.length;return U===0?!1:(this.values=new Uint32Array(A.length+U),this.values.set(A.subarray(0,_),0),this.values.set(A.subarray(_),_+U),this.values.set(I,_),_-1=0&&this.prefixSum.set(N.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(_,I){return _=toUint32(_),I=toUint32(I),this.values[_]===I?!1:(this.values[_]=I,_-1=A.length)return!1;const U=A.length-_;return I>=U&&(I=U),I===0?!1:(this.values=new Uint32Array(A.length-I),this.values.set(A.subarray(0,_),0),this.values.set(A.subarray(_+I),_),this.prefixSum=new Uint32Array(this.values.length),_-1=0&&this.prefixSum.set(N.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(_){return _<0?0:(_=toUint32(_),this._getPrefixSum(_))}_getPrefixSum(_){if(_<=this.prefixSumValidIndex[0])return this.prefixSum[_];let I=this.prefixSumValidIndex[0]+1;I===0&&(this.prefixSum[0]=this.values[0],I++),_>=this.values.length&&(_=this.values.length-1);for(let A=I;A<=_;A++)this.prefixSum[A]=this.prefixSum[A-1]+this.values[A];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],_),this.prefixSum[_]}getIndexOf(_){_=Math.floor(_),this.getTotalSum();let I=0,A=this.values.length-1,N=0,U=0,K=0;for(;I<=A;)if(N=I+(A-I)/2|0,U=this.prefixSum[N],K=U-this.values[N],_=U)I=N+1;else break;return new PrefixSumIndexOfResult(N,_-K)}}class ConstantTimePrefixSumComputer{constructor(_){this._values=_,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(_){return this._ensureValid(),_===0?0:this._prefixSum[_-1]}getIndexOf(_){this._ensureValid();const I=this._indexBySum[_],A=I>0?this._prefixSum[I-1]:0;return new PrefixSumIndexOfResult(I,_-A)}removeValues(_,I){this._values.splice(_,I),this._invalidate(_)}insertValues(_,I){this._values=arrayInsert(this._values,_,I),this._invalidate(_)}_invalidate(_){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,_-1)}_ensureValid(){if(!this._isValid){for(let _=this._validEndIndex+1,I=this._values.length;_0?this._prefixSum[_-1]:0;this._prefixSum[_]=N+A;for(let U=0;U=0&&_<256?this._asciiMap[_]=A:this._map.set(_,A)}get(_){return _>=0&&_<256?this._asciiMap[_]:this._map.get(_)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class CharacterSet{constructor(){this._actual=new CharacterClassifier(0)}add(_){this._actual.set(_,1)}has(_){return this._actual.get(_)===1}clear(){return this._actual.clear()}}class Uint8Matrix{constructor(_,I,A){const N=new Uint8Array(_*I);for(let U=0,K=_*I;UI&&(I=q),j>A&&(A=j),G>A&&(A=G)}I++,A++;const N=new Uint8Matrix(A,I,0);for(let U=0,K=_.length;U=this._maxCharCode?0:this._states.get(_,I)}}let _stateMachine=null;function getStateMachine(){return _stateMachine===null&&(_stateMachine=new StateMachine([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),_stateMachine}let _classifier=null;function getClassifier(){if(_classifier===null){_classifier=new CharacterClassifier(0);const B=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let I=0;IN);if(N>0){const j=I.charCodeAt(N-1),q=I.charCodeAt(K);(j===40&&q===41||j===91&&q===93||j===123&&q===125)&&K--}return{range:{startLineNumber:A,startColumn:N+1,endLineNumber:A,endColumn:K+2},url:I.substring(N,K+1)}}static computeLinks(_,I=getStateMachine()){const A=getClassifier(),N=[];for(let U=1,K=_.getLineCount();U<=K;U++){const j=_.getLineContent(U),q=j.length;let G=0,Z=0,Y=0,Q=1,J=!1,ee=!1,te=!1,ie=!1;for(;G=0?(N+=A?1:-1,N<0?N=_.length-1:N%=_.length,_[N]):null}}BasicInplaceReplace.INSTANCE=new BasicInplaceReplace;class WordCharacterClassifier extends CharacterClassifier{constructor(_){super(0);for(let I=0,A=_.length;I(_.hasOwnProperty(I)||(_[I]=B(I)),_[I])}const getMapForWordSeparators=once(B=>new WordCharacterClassifier(B)),LIMIT_FIND_COUNT$1=999;class SearchParams{constructor(_,I,A,N){this.searchString=_,this.isRegex=I,this.matchCase=A,this.wordSeparators=N}parseSearchRequest(){if(this.searchString==="")return null;let _;this.isRegex?_=isMultilineRegexSource(this.searchString):_=this.searchString.indexOf(` -`)>=0;let I=null;try{I=createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:_,global:!0,unicode:!0})}catch{return null}if(!I)return null;let A=!this.isRegex&&!_;return A&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(A=this.matchCase),new SearchData(I,this.wordSeparators?getMapForWordSeparators(this.wordSeparators):null,A?this.searchString:null)}}function isMultilineRegexSource(B){if(!B||B.length===0)return!1;for(let _=0,I=B.length;_=I)break;const N=B.charCodeAt(_);if(N===110||N===114||N===87)return!0}}return!1}function createFindMatch(B,_,I){if(!I)return new FindMatch(B,null);const A=[];for(let N=0,U=_.length;N>0);I[U]>=_?N=U-1:I[U+1]>=_?(A=U,N=U):A=U+1}return A+1}}class TextModelSearch{static findMatches(_,I,A,N,U){const K=I.parseSearchRequest();return K?K.regex.multiline?this._doFindMatchesMultiline(_,A,new Searcher(K.wordSeparators,K.regex),N,U):this._doFindMatchesLineByLine(_,A,K,N,U):[]}static _getMultilineMatchRange(_,I,A,N,U,K){let j,q=0;N?(q=N.findLineFeedCountBeforeOffset(U),j=I+U+q):j=I+U;let G;if(N){const J=N.findLineFeedCountBeforeOffset(U+K.length)-q;G=j+K.length+J}else G=j+K.length;const Z=_.getPositionAt(j),Y=_.getPositionAt(G);return new Range$3(Z.lineNumber,Z.column,Y.lineNumber,Y.column)}static _doFindMatchesMultiline(_,I,A,N,U){const K=_.getOffsetAt(I.getStartPosition()),j=_.getValueInRange(I,1),q=_.getEOL()===`\r -`?new LineFeedCounter(j):null,G=[];let Z=0,Y;for(A.reset(0);Y=A.next(j);)if(G[Z++]=createFindMatch(this._getMultilineMatchRange(_,K,j,q,Y.index,Y[0]),Y,N),Z>=U)return G;return G}static _doFindMatchesLineByLine(_,I,A,N,U){const K=[];let j=0;if(I.startLineNumber===I.endLineNumber){const G=_.getLineContent(I.startLineNumber).substring(I.startColumn-1,I.endColumn-1);return j=this._findMatchesInLine(A,G,I.startLineNumber,I.startColumn-1,j,K,N,U),K}const q=_.getLineContent(I.startLineNumber).substring(I.startColumn-1);j=this._findMatchesInLine(A,q,I.startLineNumber,I.startColumn-1,j,K,N,U);for(let G=I.startLineNumber+1;G=q))return U;return U}const Z=new Searcher(_.wordSeparators,_.regex);let Y;Z.reset(0);do if(Y=Z.next(I),Y&&(K[U++]=createFindMatch(new Range$3(A,Y.index+1+N,A,Y.index+1+Y[0].length+N),Y,j),U>=q))return U;while(Y);return U}static findNextMatch(_,I,A,N){const U=I.parseSearchRequest();if(!U)return null;const K=new Searcher(U.wordSeparators,U.regex);return U.regex.multiline?this._doFindNextMatchMultiline(_,A,K,N):this._doFindNextMatchLineByLine(_,A,K,N)}static _doFindNextMatchMultiline(_,I,A,N){const U=new Position$1(I.lineNumber,1),K=_.getOffsetAt(U),j=_.getLineCount(),q=_.getValueInRange(new Range$3(U.lineNumber,U.column,j,_.getLineMaxColumn(j)),1),G=_.getEOL()===`\r -`?new LineFeedCounter(q):null;A.reset(I.column-1);const Z=A.next(q);return Z?createFindMatch(this._getMultilineMatchRange(_,K,q,G,Z.index,Z[0]),Z,N):I.lineNumber!==1||I.column!==1?this._doFindNextMatchMultiline(_,new Position$1(1,1),A,N):null}static _doFindNextMatchLineByLine(_,I,A,N){const U=_.getLineCount(),K=I.lineNumber,j=_.getLineContent(K),q=this._findFirstMatchInLine(A,j,K,I.column,N);if(q)return q;for(let G=1;G<=U;G++){const Z=(K+G-1)%U,Y=_.getLineContent(Z+1),Q=this._findFirstMatchInLine(A,Y,Z+1,1,N);if(Q)return Q}return null}static _findFirstMatchInLine(_,I,A,N,U){_.reset(N-1);const K=_.next(I);return K?createFindMatch(new Range$3(A,K.index+1,A,K.index+1+K[0].length),K,U):null}static findPreviousMatch(_,I,A,N){const U=I.parseSearchRequest();if(!U)return null;const K=new Searcher(U.wordSeparators,U.regex);return U.regex.multiline?this._doFindPreviousMatchMultiline(_,A,K,N):this._doFindPreviousMatchLineByLine(_,A,K,N)}static _doFindPreviousMatchMultiline(_,I,A,N){const U=this._doFindMatchesMultiline(_,new Range$3(1,1,I.lineNumber,I.column),A,N,10*LIMIT_FIND_COUNT$1);if(U.length>0)return U[U.length-1];const K=_.getLineCount();return I.lineNumber!==K||I.column!==_.getLineMaxColumn(K)?this._doFindPreviousMatchMultiline(_,new Position$1(K,_.getLineMaxColumn(K)),A,N):null}static _doFindPreviousMatchLineByLine(_,I,A,N){const U=_.getLineCount(),K=I.lineNumber,j=_.getLineContent(K).substring(0,I.column-1),q=this._findLastMatchInLine(A,j,K,N);if(q)return q;for(let G=1;G<=U;G++){const Z=(U+K-G-1)%U,Y=_.getLineContent(Z+1),Q=this._findLastMatchInLine(A,Y,Z+1,N);if(Q)return Q}return null}static _findLastMatchInLine(_,I,A,N){let U=null,K;for(_.reset(0);K=_.next(I);)U=createFindMatch(new Range$3(A,K.index+1,A,K.index+1+K[0].length),K,N);return U}}function leftIsWordBounday(B,_,I,A,N){if(A===0)return!0;const U=_.charCodeAt(A-1);if(B.get(U)!==0||U===13||U===10)return!0;if(N>0){const K=_.charCodeAt(A);if(B.get(K)!==0)return!0}return!1}function rightIsWordBounday(B,_,I,A,N){if(A+N===I)return!0;const U=_.charCodeAt(A+N);if(B.get(U)!==0||U===13||U===10)return!0;if(N>0){const K=_.charCodeAt(A+N-1);if(B.get(K)!==0)return!0}return!1}function isValidMatch(B,_,I,A,N){return leftIsWordBounday(B,_,I,A,N)&&rightIsWordBounday(B,_,I,A,N)}class Searcher{constructor(_,I){this._wordSeparators=_,this._searchRegex=I,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(_){this._searchRegex.lastIndex=_,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(_){const I=_.length;let A;do{if(this._prevMatchStartIndex+this._prevMatchLength===I||(A=this._searchRegex.exec(_),!A))return null;const N=A.index,U=A[0].length;if(N===this._prevMatchStartIndex&&U===this._prevMatchLength){if(U===0){getNextCodePoint(_,I,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=N,this._prevMatchLength=U,!this._wordSeparators||isValidMatch(this._wordSeparators,_,I,N,U))return A}while(A);return null}}class UnicodeTextModelHighlighter{static computeUnicodeHighlights(_,I,A){const N=A?A.startLineNumber:1,U=A?A.endLineNumber:_.getLineCount(),K=new CodePointHighlighter(I),j=K.getCandidateCodePoints();let q;j==="allNonBasicAscii"?q=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):q=new RegExp(`${buildRegExpCharClassExpr(Array.from(j))}`,"g");const G=new Searcher(null,q),Z=[];let Y=!1,Q,J=0,ee=0,te=0;e:for(let ie=N,ne=U;ie<=ne;ie++){const re=_.getLineContent(ie),oe=re.length;G.reset(0);do if(Q=G.next(re),Q){let se=Q.index,ae=Q.index+Q[0].length;if(se>0){const de=re.charCodeAt(se-1);isHighSurrogate(de)&&se--}if(ae+1=de){Y=!0;break e}Z.push(new Range$3(ie,se+1,ie,ae+1))}}while(Q)}return{ranges:Z,hasMore:Y,ambiguousCharacterCount:J,invisibleCharacterCount:ee,nonBasicAsciiCharacterCount:te}}static computeUnicodeHighlightReason(_,I){const A=new CodePointHighlighter(I);switch(A.shouldHighlightNonBasicASCII(_,null)){case 0:return null;case 2:return{kind:1};case 3:{const U=_.codePointAt(0),K=A.ambiguousCharacters.getPrimaryConfusable(U),j=AmbiguousCharacters.getLocales().filter(q=>!AmbiguousCharacters.getInstance(new Set([...I.allowedLocales,q])).isAmbiguous(U));return{kind:0,confusableWith:String.fromCodePoint(K),notAmbiguousInLocales:j}}case 1:return{kind:2}}}}function buildRegExpCharClassExpr(B,_){return`[${escapeRegExpCharacters(B.map(A=>String.fromCodePoint(A)).join(""))}]`}class CodePointHighlighter{constructor(_){this.options=_,this.allowedCodePoints=new Set(_.allowedCodePoints),this.ambiguousCharacters=AmbiguousCharacters.getInstance(new Set(_.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const _=new Set;if(this.options.invisibleCharacters)for(const I of InvisibleCharacters.codePoints)isAllowedInvisibleCharacter(String.fromCodePoint(I))||_.add(I);if(this.options.ambiguousCharacters)for(const I of this.ambiguousCharacters.getConfusableCodePoints())_.add(I);for(const I of this.allowedCodePoints)_.delete(I);return _}shouldHighlightNonBasicASCII(_,I){const A=_.codePointAt(0);if(this.allowedCodePoints.has(A))return 0;if(this.options.nonBasicASCII)return 1;let N=!1,U=!1;if(I)for(const K of I){const j=K.codePointAt(0),q=isBasicASCII(K);N=N||q,!q&&!this.ambiguousCharacters.isAmbiguous(j)&&!InvisibleCharacters.isInvisibleCharacter(j)&&(U=!0)}return!N&&U?0:this.options.invisibleCharacters&&!isAllowedInvisibleCharacter(_)&&InvisibleCharacters.isInvisibleCharacter(A)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(A)?3:0}}function isAllowedInvisibleCharacter(B){return B===" "||B===` -`||B===" "}class LinesDiff{constructor(_,I){this.changes=_,this.hitTimeout=I}}class LineRangeMapping{constructor(_,I,A){this.originalRange=_,this.modifiedRange=I,this.innerChanges=A}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class RangeMapping{constructor(_,I){this.originalRange=_,this.modifiedRange=I}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}let LineRange$1=class xi{static joinMany(_){if(_.length===0)return[];let I=_[0];for(let A=1;A<_.length;A++)I=this.join(I,_[A]);return I}static join(_,I){if(_.length===0)return I;if(I.length===0)return _;const A=[];let N=0,U=0,K=null;for(;N<_.length||U=j.startLineNumber?K=new xi(K.startLineNumber,Math.max(K.endLineNumberExclusive,j.endLineNumberExclusive)):(A.push(K),K=j)}return K!==null&&A.push(K),A}constructor(_,I){if(_>I)throw new BugIndicatingError(`startLineNumber ${_} cannot be after endLineNumberExclusive ${I}`);this.startLineNumber=_,this.endLineNumberExclusive=I}contains(_){return this.startLineNumber<=_&&_new RangeMapping(new Range$3(J.originalStartLineNumber,J.originalStartColumn,J.originalEndLineNumber,J.originalEndColumn),new Range$3(J.modifiedStartLineNumber,J.modifiedStartColumn,J.modifiedEndLineNumber,J.modifiedEndColumn))));q&&(q.modifiedRange.endLineNumberExclusive===Q.modifiedRange.startLineNumber||q.originalRange.endLineNumberExclusive===Q.originalRange.startLineNumber)&&(Q=new LineRangeMapping(q.originalRange.join(Q.originalRange),q.modifiedRange.join(Q.modifiedRange),q.innerChanges&&Q.innerChanges?q.innerChanges.concat(Q.innerChanges):void 0),j.pop()),j.push(Q),q=Q}return assertFn(()=>checkAdjacentItems(j,(G,Z)=>Z.originalRange.startLineNumber-G.originalRange.endLineNumberExclusive===Z.modifiedRange.startLineNumber-G.modifiedRange.endLineNumberExclusive&&G.originalRange.endLineNumberExclusive(_===10?"\\n":String.fromCharCode(_))+`-(${this._lineNumbers[I]},${this._columns[I]})`).join(", ")+"]"}_assertIndex(_,I){if(_<0||_>=I.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(_){return _>0&&_===this._lineNumbers.length?this.getEndLineNumber(_-1):(this._assertIndex(_,this._lineNumbers),this._lineNumbers[_])}getEndLineNumber(_){return _===-1?this.getStartLineNumber(_+1):(this._assertIndex(_,this._lineNumbers),this._charCodes[_]===10?this._lineNumbers[_]+1:this._lineNumbers[_])}getStartColumn(_){return _>0&&_===this._columns.length?this.getEndColumn(_-1):(this._assertIndex(_,this._columns),this._columns[_])}getEndColumn(_){return _===-1?this.getStartColumn(_+1):(this._assertIndex(_,this._columns),this._charCodes[_]===10?1:this._columns[_]+1)}}class CharChange{constructor(_,I,A,N,U,K,j,q){this.originalStartLineNumber=_,this.originalStartColumn=I,this.originalEndLineNumber=A,this.originalEndColumn=N,this.modifiedStartLineNumber=U,this.modifiedStartColumn=K,this.modifiedEndLineNumber=j,this.modifiedEndColumn=q}static createFromDiffChange(_,I,A){const N=I.getStartLineNumber(_.originalStart),U=I.getStartColumn(_.originalStart),K=I.getEndLineNumber(_.originalStart+_.originalLength-1),j=I.getEndColumn(_.originalStart+_.originalLength-1),q=A.getStartLineNumber(_.modifiedStart),G=A.getStartColumn(_.modifiedStart),Z=A.getEndLineNumber(_.modifiedStart+_.modifiedLength-1),Y=A.getEndColumn(_.modifiedStart+_.modifiedLength-1);return new CharChange(N,U,K,j,q,G,Z,Y)}}function postProcessCharChanges(B){if(B.length<=1)return B;const _=[B[0]];let I=_[0];for(let A=1,N=B.length;A0&&I.originalLength<20&&I.modifiedLength>0&&I.modifiedLength<20&&U()){const J=A.createCharSequence(_,I.originalStart,I.originalStart+I.originalLength-1),ee=N.createCharSequence(_,I.modifiedStart,I.modifiedStart+I.modifiedLength-1);if(J.getElements().length>0&&ee.getElements().length>0){let te=computeDiff(J,ee,U,!0).changes;j&&(te=postProcessCharChanges(te)),Q=[];for(let ie=0,ne=te.length;ie1&&te>1;){const ie=Q.charCodeAt(ee-2),ne=J.charCodeAt(te-2);if(ie!==ne)break;ee--,te--}(ee>1||te>1)&&this._pushTrimWhitespaceCharChange(N,U+1,1,ee,K+1,1,te)}{let ee=getLastNonBlankColumn(Q,1),te=getLastNonBlankColumn(J,1);const ie=Q.length+1,ne=J.length+1;for(;ee!0;const _=Date.now();return()=>Date.now()-_I))return new OffsetRange(_,I)}constructor(_,I){if(this.start=_,this.endExclusive=I,_>I)throw new BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(_){return new OffsetRange(this.start+_,this.endExclusive+_)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(_){return this.start===_.start&&this.endExclusive===_.endExclusive}containsRange(_){return this.start<=_.start&&_.endExclusive<=this.endExclusive}contains(_){return this.start<=_&&_ ${this.seq2Range}`}join(_){return new SequenceDiff(this.seq1Range.join(_.seq1Range),this.seq2Range.join(_.seq2Range))}}class InfiniteTimeout{isValid(){return!0}}InfiniteTimeout.instance=new InfiniteTimeout;class DateTimeout{constructor(_){if(this.timeout=_,this.startTime=Date.now(),this.valid=!0,_<=0)throw new BugIndicatingError("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime!0,this.valid=!0}}class Array2D{constructor(_,I){this.width=_,this.height=I,this.array=[],this.array=new Array(_*I)}get(_,I){return this.array[_+I*this.width]}set(_,I,A){this.array[_+I*this.width]=A}}class DynamicProgrammingDiffing{compute(_,I,A=InfiniteTimeout.instance,N){if(_.length===0||I.length===0)return DiffAlgorithmResult.trivial(_,I);const U=new Array2D(_.length,I.length),K=new Array2D(_.length,I.length),j=new Array2D(_.length,I.length);for(let ee=0;ee<_.length;ee++)for(let te=0;te0&&te>0&&K.get(ee-1,te-1)===3&&(re+=j.get(ee-1,te-1)),re+=N?N(ee,te):1):re=-1;const oe=Math.max(ie,ne,re);if(oe===re){const se=ee>0&&te>0?j.get(ee-1,te-1):0;j.set(ee,te,se+1),K.set(ee,te,3)}else oe===ie?(j.set(ee,te,0),K.set(ee,te,1)):oe===ne&&(j.set(ee,te,0),K.set(ee,te,2));U.set(ee,te,oe)}const q=[];let G=_.length,Z=I.length;function Y(ee,te){(ee+1!==G||te+1!==Z)&&q.push(new SequenceDiff(new OffsetRange(ee+1,G),new OffsetRange(te+1,Z))),G=ee,Z=te}let Q=_.length-1,J=I.length-1;for(;Q>=0&&J>=0;)K.get(Q,J)===3?(Y(Q,J),Q--,J--):K.get(Q,J)===1?Q--:J--;return Y(-1,-1),q.reverse(),new DiffAlgorithmResult(q,!1)}}function optimizeSequenceDiffs(B,_,I){let A=I;return A=joinSequenceDiffs(B,_,A),A=shiftSequenceDiffs(B,_,A),A}function smoothenSequenceDiffs(B,_,I){const A=[];for(const N of I){const U=A[A.length-1];if(!U){A.push(N);continue}N.seq1Range.start-U.seq1Range.endExclusive<=2||N.seq2Range.start-U.seq2Range.endExclusive<=2?A[A.length-1]=new SequenceDiff(U.seq1Range.join(N.seq1Range),U.seq2Range.join(N.seq2Range)):A.push(N)}return A}function joinSequenceDiffs(B,_,I){const A=[];I.length>0&&A.push(I[0]);for(let N=1;N0?I[A-1].seq2Range.endExclusive:-1,K=A+10?I[A-1].seq1Range.endExclusive:-1,K=A+1N&&I.getElement(B.seq2Range.start-K)===I.getElement(B.seq2Range.endExclusive-K)&&K<20;)K++;K--;let j=0;for(;B.seq2Range.start+jG&&(G=ee,q=Z)}return q!==0?new SequenceDiff(B.seq1Range.delta(q),B.seq2Range.delta(q)):B}class MyersDiffAlgorithm{compute(_,I,A=InfiniteTimeout.instance){if(_.length===0||I.length===0)return DiffAlgorithmResult.trivial(_,I);function N(J,ee){for(;J<_.length&&ee=this.negativeArr.length){const A=this.negativeArr;this.negativeArr=new Int32Array(A.length*2),this.negativeArr.set(A)}this.negativeArr[_]=I}else{if(_>=this.positiveArr.length){const A=this.positiveArr;this.positiveArr=new Int32Array(A.length*2),this.positiveArr.set(A)}this.positiveArr[_]=I}}}class FastArrayNegativeIndices{constructor(){this.positiveArr=[],this.negativeArr=[]}get(_){return _<0?(_=-_-1,this.negativeArr[_]):this.positiveArr[_]}set(_,I){_<0?(_=-_-1,this.negativeArr[_]=I):this.positiveArr[_]=I}}class StandardLinesDiffComputer{constructor(){this.dynamicProgrammingDiffing=new DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new MyersDiffAlgorithm}computeDiff(_,I,A){const N=A.maxComputationTimeMs===0?InfiniteTimeout.instance:new DateTimeout(A.maxComputationTimeMs),U=!A.ignoreTrimWhitespace,K=new Map;function j(se){let ae=K.get(se);return ae===void 0&&(ae=K.size,K.set(se,ae)),ae}const q=_.map(se=>j(se.trim())),G=I.map(se=>j(se.trim())),Z=new LineSequence(q,_),Y=new LineSequence(G,I),Q=(()=>Z.length+Y.length<1500?this.dynamicProgrammingDiffing.compute(Z,Y,N,(se,ae)=>_[se]===I[ae]?I[ae].length===0?.1:1+Math.log(1+I[ae].length):.99):this.myersDiffingAlgorithm.compute(Z,Y))();let J=Q.diffs,ee=Q.hitTimeout;J=optimizeSequenceDiffs(Z,Y,J);const te=[],ie=se=>{if(U)for(let ae=0;aese.seq1Range.start-ne===se.seq2Range.start-re);const ae=se.seq1Range.start-ne;ie(ae),ne=se.seq1Range.endExclusive,re=se.seq2Range.endExclusive;const ue=this.refineDiff(_,I,se,N,U);ue.hitTimeout&&(ee=!0);for(const ce of ue.mappings)te.push(ce)}ie(_.length-ne);const oe=lineRangeMappingFromRangeMappings(te,_,I);return new LinesDiff(oe,ee)}refineDiff(_,I,A,N,U){const K=new Slice(_,A.seq1Range,U),j=new Slice(I,A.seq2Range,U),q=K.length+j.length<500?this.dynamicProgrammingDiffing.compute(K,j,N):this.myersDiffingAlgorithm.compute(K,j,N);let G=q.diffs;return G=optimizeSequenceDiffs(K,j,G),G=coverFullWords(K,j,G),G=smoothenSequenceDiffs(K,j,G),{mappings:G.map(Y=>new RangeMapping(K.translateRange(Y.seq1Range),j.translateRange(Y.seq2Range))),hitTimeout:q.hitTimeout}}}function coverFullWords(B,_,I){const A=[];let N;function U(){if(!N)return;const j=N.s1Range.length-N.deleted;N.s2Range.length-N.added,Math.max(N.deleted,N.added)+(N.count-1)>j&&A.push(new SequenceDiff(N.s1Range,N.s2Range)),N=void 0}for(const j of I){let q=function(J,ee){var te,ie,ne,re;if(!N||!N.s1Range.containsRange(J)||!N.s2Range.containsRange(ee))if(N&&!(N.s1Range.endExclusive0||_.length>0;){const A=B[0],N=_[0];let U;A&&(!N||A.seq1Range.start0&&I[I.length-1].seq1Range.endExclusive>=U.seq1Range.start?I[I.length-1]=I[I.length-1].join(U):I.push(U)}return I}function lineRangeMappingFromRangeMappings(B,_,I){const A=[];for(const N of group(B.map(U=>getLineRangeMapping(U,_,I)),(U,K)=>U.originalRange.overlapOrTouch(K.originalRange)||U.modifiedRange.overlapOrTouch(K.modifiedRange))){const U=N[0],K=N[N.length-1];A.push(new LineRangeMapping(U.originalRange.join(K.originalRange),U.modifiedRange.join(K.modifiedRange),N.map(j=>j.innerChanges[0])))}return assertFn(()=>checkAdjacentItems(A,(N,U)=>U.originalRange.startLineNumber-N.originalRange.endLineNumberExclusive===U.modifiedRange.startLineNumber-N.modifiedRange.endLineNumberExclusive&&N.originalRange.endLineNumberExclusive=I[B.modifiedRange.startLineNumber-1].length&&B.originalRange.startColumn-1>=_[B.originalRange.startLineNumber-1].length&&(A=1),B.modifiedRange.endColumn===1&&B.originalRange.endColumn===1&&B.originalRange.startLineNumber+A<=B.originalRange.endLineNumber&&B.modifiedRange.startLineNumber+A<=B.modifiedRange.endLineNumber&&(N=-1);const U=new LineRange$1(B.originalRange.startLineNumber+A,B.originalRange.endLineNumber+1+N),K=new LineRange$1(B.modifiedRange.startLineNumber+A,B.modifiedRange.endLineNumber+1+N);return new LineRangeMapping(U,K,[B])}function*group(B,_){let I,A;for(const N of B)A!==void 0&&_(A,N)?I.push(N):(I&&(yield I),I=[N]),A=N;I&&(yield I)}class LineSequence{constructor(_,I){this.trimmedHash=_,this.lines=I}getElement(_){return this.trimmedHash[_]}get length(){return this.trimmedHash.length}getBoundaryScore(_){const I=_===0?0:getIndentation(this.lines[_-1]),A=_===this.lines.length?0:getIndentation(this.lines[_]);return 1e3-(I+A)}}function getIndentation(B){let _=0;for(;_0&&I.endExclusive>=_.length&&(I=new OffsetRange(I.start-1,I.endExclusive),N=!0),this.lineRange=I;for(let U=this.lineRange.start;UString.fromCharCode(_)).join("")}getElement(_){return this.elements[_]}get length(){return this.elements.length}getBoundaryScore(_){const I=getCategory(_>0?this.elements[_-1]:-1),A=getCategory(__?A=U:I=U+1}const N=I===0?0:this.firstCharOffsetByLineMinusOne[I-1];return new Position$1(this.lineRange.start+I+1,_-N+1+this.offsetByLine[I])}translateRange(_){return Range$3.fromPositions(this.translateOffset(_.start),this.translateOffset(_.endExclusive))}findWordContaining(_){if(_<0||_>=this.elements.length||!isWordChar(this.elements[_]))return;let I=_;for(;I>0&&isWordChar(this.elements[I-1]);)I--;let A=_;for(;A=97&&B<=122||B>=65&&B<=90||B>=48&&B<=57}const score$1={[0]:0,[1]:0,[2]:0,[3]:10,[4]:2,[5]:3,[6]:10,[7]:10};function getCategoryBoundaryScore(B){return score$1[B]}function getCategory(B){return B===10?7:B===13?6:isSpace(B)?5:B>=97&&B<=122?0:B>=65&&B<=90?1:B>=48&&B<=57?2:B===-1?3:4}function isSpace(B){return B===32||B===9}const linesDiffComputers={smart:new SmartLinesDiffComputer,experimental:new StandardLinesDiffComputer};var __awaiter$1t=globalThis&&globalThis.__awaiter||function(B,_,I,A){function N(U){return U instanceof I?U:new I(function(K){K(U)})}return new(I||(I=Promise))(function(U,K){function j(Z){try{G(A.next(Z))}catch(Y){K(Y)}}function q(Z){try{G(A.throw(Z))}catch(Y){K(Y)}}function G(Z){Z.done?U(Z.value):N(Z.value).then(j,q)}G((A=A.apply(B,_||[])).next())})};class MirrorModel extends MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(_){return this._lines[_-1]}getWordAtPosition(_,I){const A=getWordAtText(_.column,ensureValidWordDefinition(I),this._lines[_.lineNumber-1],0);return A?new Range$3(_.lineNumber,A.startColumn,_.lineNumber,A.endColumn):null}getWordUntilPosition(_,I){const A=this.getWordAtPosition(_,I);return A?{word:this._lines[_.lineNumber-1].substring(A.startColumn-1,_.column-1),startColumn:A.startColumn,endColumn:_.column}:{word:"",startColumn:_.column,endColumn:_.column}}words(_){const I=this._lines,A=this._wordenize.bind(this);let N=0,U="",K=0,j=[];return{*[Symbol.iterator](){for(;;)if(Kthis._lines.length)I=this._lines.length,A=this._lines[I-1].length+1,N=!0;else{const U=this._lines[I-1].length+1;A<1?(A=1,N=!0):A>U&&(A=U,N=!0)}return N?{lineNumber:I,column:A}:_}}class EditorSimpleWorker{constructor(_,I){this._host=_,this._models=Object.create(null),this._foreignModuleFactory=I,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(_){return this._models[_]}_getModels(){const _=[];return Object.keys(this._models).forEach(I=>_.push(this._models[I])),_}acceptNewModel(_){this._models[_.url]=new MirrorModel(URI.parse(_.url),_.lines,_.EOL,_.versionId)}acceptModelChanged(_,I){if(!this._models[_])return;this._models[_].onEvents(I)}acceptRemovedModel(_){this._models[_]&&delete this._models[_]}computeUnicodeHighlights(_,I,A){return __awaiter$1t(this,void 0,void 0,function*(){const N=this._getModel(_);return N?UnicodeTextModelHighlighter.computeUnicodeHighlights(N,I,A):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(_,I,A,N){return __awaiter$1t(this,void 0,void 0,function*(){const U=this._getModel(_),K=this._getModel(I);return!U||!K?null:EditorSimpleWorker.computeDiff(U,K,A,N)})}static computeDiff(_,I,A,N){const U=N==="experimental"?linesDiffComputers.experimental:linesDiffComputers.smart,K=_.getLinesContent(),j=I.getLinesContent(),q=U.computeDiff(K,j,A);return{identical:q.changes.length>0?!1:this._modelsAreIdentical(_,I),quitEarly:q.hitTimeout,changes:q.changes.map(Z=>{var Y;return[Z.originalRange.startLineNumber,Z.originalRange.endLineNumberExclusive,Z.modifiedRange.startLineNumber,Z.modifiedRange.endLineNumberExclusive,(Y=Z.innerChanges)===null||Y===void 0?void 0:Y.map(Q=>[Q.originalRange.startLineNumber,Q.originalRange.startColumn,Q.originalRange.endLineNumber,Q.originalRange.endColumn,Q.modifiedRange.startLineNumber,Q.modifiedRange.startColumn,Q.modifiedRange.endLineNumber,Q.modifiedRange.endColumn])]})}}static _modelsAreIdentical(_,I){const A=_.getLineCount(),N=I.getLineCount();if(A!==N)return!1;for(let U=1;U<=A;U++){const K=_.getLineContent(U),j=I.getLineContent(U);if(K!==j)return!1}return!0}computeDirtyDiff(_,I,A){return __awaiter$1t(this,void 0,void 0,function*(){const N=this._getModel(_),U=this._getModel(I);if(!N||!U)return null;const K=N.getLinesContent(),j=U.getLinesContent();return new DiffComputer(K,j,{shouldComputeCharChanges:!1,shouldPostProcessCharChanges:!1,shouldIgnoreTrimWhitespace:A,shouldMakePrettyDiff:!0,maxComputationTime:1e3}).computeDiff().changes})}computeMoreMinimalEdits(_,I,A){return __awaiter$1t(this,void 0,void 0,function*(){const N=this._getModel(_);if(!N)return I;const U=[];let K;I=I.slice(0).sort((j,q)=>{if(j.range&&q.range)return Range$3.compareRangesUsingStarts(j.range,q.range);const G=j.range?0:1,Z=q.range?0:1;return G-Z});for(let{range:j,text:q,eol:G}of I){if(typeof G=="number"&&(K=G),Range$3.isEmpty(j)&&!q)continue;const Z=N.getValueInRange(j);if(q=q.replace(/\r\n|\n|\r/g,N.eol),Z===q)continue;if(Math.max(q.length,Z.length)>EditorSimpleWorker._diffLimit){U.push({range:j,text:q});continue}const Y=stringDiff(Z,q,A),Q=N.offsetAt(Range$3.lift(j).getStartPosition());for(const J of Y){const ee=N.positionAt(Q+J.originalStart),te=N.positionAt(Q+J.originalStart+J.originalLength),ie={text:q.substr(J.modifiedStart,J.modifiedLength),range:{startLineNumber:ee.lineNumber,startColumn:ee.column,endLineNumber:te.lineNumber,endColumn:te.column}};N.getValueInRange(ie.range)!==ie.text&&U.push(ie)}}return typeof K=="number"&&U.push({eol:K,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),U})}computeHumanReadableDiff(_,I,A){return __awaiter$1t(this,void 0,void 0,function*(){const N=this._getModel(_);if(!N)return I;const U=[];let K;I=I.slice(0).sort((j,q)=>{if(j.range&&q.range)return Range$3.compareRangesUsingStarts(j.range,q.range);const G=j.range?0:1,Z=q.range?0:1;return G-Z});for(let{range:j,text:q,eol:G}of I){let te=function(ne,re){return new Position$1(ne.lineNumber+re.lineNumber-1,re.lineNumber===1?ne.column+re.column-1:re.column)},ie=function(ne,re){const oe=[];for(let se=re.startLineNumber;se<=re.endLineNumber;se++){const ae=ne[se-1];se===re.startLineNumber&&se===re.endLineNumber?oe.push(ae.substring(re.startColumn-1,re.endColumn-1)):se===re.startLineNumber?oe.push(ae.substring(re.startColumn-1)):se===re.endLineNumber?oe.push(ae.substring(0,re.endColumn-1)):oe.push(ae)}return oe};if(typeof G=="number"&&(K=G),Range$3.isEmpty(j)&&!q)continue;const Z=N.getValueInRange(j);if(q=q.replace(/\r\n|\n|\r/g,N.eol),Z===q)continue;if(Math.max(q.length,Z.length)>EditorSimpleWorker._diffLimit){U.push({range:j,text:q});continue}const Y=Z.split(/\r\n|\n|\r/),Q=q.split(/\r\n|\n|\r/),J=linesDiffComputers.experimental.computeDiff(Y,Q,A),ee=Range$3.lift(j).getStartPosition();for(const ne of J.changes)if(ne.innerChanges)for(const re of ne.innerChanges)U.push({range:Range$3.fromPositions(te(ee,re.originalRange.getStartPosition()),te(ee,re.originalRange.getEndPosition())),text:ie(Q,re.modifiedRange).join(N.eol)});else throw new BugIndicatingError("The experimental diff algorithm always produces inner changes")}return typeof K=="number"&&U.push({eol:K,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),U})}computeLinks(_){return __awaiter$1t(this,void 0,void 0,function*(){const I=this._getModel(_);return I?computeLinks(I):null})}textualSuggest(_,I,A,N){return __awaiter$1t(this,void 0,void 0,function*(){const U=new StopWatch(!0),K=new RegExp(A,N),j=new Set;e:for(const q of _){const G=this._getModel(q);if(G){for(const Z of G.words(K))if(!(Z===I||!isNaN(Number(Z)))&&(j.add(Z),j.size>EditorSimpleWorker._suggestionsLimit))break e}}return{words:Array.from(j),duration:U.elapsed()}})}computeWordRanges(_,I,A,N){return __awaiter$1t(this,void 0,void 0,function*(){const U=this._getModel(_);if(!U)return Object.create(null);const K=new RegExp(A,N),j=Object.create(null);for(let q=I.startLineNumber;qthis._host.fhr(j,q)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(K,I),Promise.resolve(getAllMethodNames(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(_,I){if(!this._foreignModule||typeof this._foreignModule[_]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+_));try{return Promise.resolve(this._foreignModule[_].apply(this._foreignModule,I))}catch(A){return Promise.reject(A)}}}EditorSimpleWorker._diffLimit=1e5;EditorSimpleWorker._suggestionsLimit=1e4;typeof importScripts=="function"&&(globalThis.monaco=createMonacoBaseAPI());const ITextResourceConfigurationService=createDecorator("textResourceConfigurationService"),ITextResourcePropertiesService=createDecorator("textResourcePropertiesService");function exceptionToErrorMessage(B,_){return _&&(B.stack||B.stacktrace)?localize("stackTrace.format","{0}: {1}",detectSystemErrorMessage(B),stackToString(B.stack)||stackToString(B.stacktrace)):detectSystemErrorMessage(B)}function stackToString(B){return Array.isArray(B)?B.join(` -`):B}function detectSystemErrorMessage(B){return typeof B.code=="string"&&typeof B.errno=="number"&&typeof B.syscall=="string"?localize("nodeExceptionMessage","A system error occurred ({0})",B.message):B.message||localize("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function toErrorMessage(B=null,_=!1){if(!B)return localize("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(B)){const I=coalesce(B),A=toErrorMessage(I[0],_);return I.length>1?localize("error.moreErrors","{0} ({1} errors in total)",A,I.length):A}if(isString$2(B))return B;if(B.detail){const I=B.detail;if(I.error)return exceptionToErrorMessage(I.error,_);if(I.exception)return exceptionToErrorMessage(I.exception,_)}return B.stack?exceptionToErrorMessage(B,_):B.message?B.message:localize("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var _a$a,_c$1;class ResourceMapEntry{constructor(_,I){this.uri=_,this.value=I}}class ResourceMap{constructor(_,I){this[_a$a]="ResourceMap",_ instanceof ResourceMap?(this.map=new Map(_.map),this.toKey=I??ResourceMap.defaultToKey):(this.map=new Map,this.toKey=_??ResourceMap.defaultToKey)}set(_,I){return this.map.set(this.toKey(_),new ResourceMapEntry(_,I)),this}get(_){var I;return(I=this.map.get(this.toKey(_)))===null||I===void 0?void 0:I.value}has(_){return this.map.has(this.toKey(_))}get size(){return this.map.size}clear(){this.map.clear()}delete(_){return this.map.delete(this.toKey(_))}forEach(_,I){typeof I<"u"&&(_=_.bind(I));for(const[A,N]of this.map)_(N.value,N.uri,this)}*values(){for(const _ of this.map.values())yield _.value}*keys(){for(const _ of this.map.values())yield _.uri}*entries(){for(const _ of this.map.values())yield[_.uri,_.value]}*[(_a$a=Symbol.toStringTag,Symbol.iterator)](){for(const[,_]of this.map)yield[_.uri,_.value]}}ResourceMap.defaultToKey=B=>B.toString();class LinkedMap{constructor(){this[_c$1]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var _;return(_=this._head)===null||_===void 0?void 0:_.value}get last(){var _;return(_=this._tail)===null||_===void 0?void 0:_.value}has(_){return this._map.has(_)}get(_,I=0){const A=this._map.get(_);if(A)return I!==0&&this.touch(A,I),A.value}set(_,I,A=0){let N=this._map.get(_);if(N)N.value=I,A!==0&&this.touch(N,A);else{switch(N={key:_,value:I,next:void 0,previous:void 0},A){case 0:this.addItemLast(N);break;case 1:this.addItemFirst(N);break;case 2:this.addItemLast(N);break;default:this.addItemLast(N);break}this._map.set(_,N),this._size++}return this}delete(_){return!!this.remove(_)}remove(_){const I=this._map.get(_);if(I)return this._map.delete(_),this.removeItem(I),this._size--,I.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const _=this._head;return this._map.delete(_.key),this.removeItem(_),this._size--,_.value}forEach(_,I){const A=this._state;let N=this._head;for(;N;){if(I?_.bind(I)(N.value,N.key,this):_(N.value,N.key,this),this._state!==A)throw new Error("LinkedMap got modified during iteration.");N=N.next}}keys(){const _=this,I=this._state;let A=this._head;const N={[Symbol.iterator](){return N},next(){if(_._state!==I)throw new Error("LinkedMap got modified during iteration.");if(A){const U={value:A.key,done:!1};return A=A.next,U}else return{value:void 0,done:!0}}};return N}values(){const _=this,I=this._state;let A=this._head;const N={[Symbol.iterator](){return N},next(){if(_._state!==I)throw new Error("LinkedMap got modified during iteration.");if(A){const U={value:A.value,done:!1};return A=A.next,U}else return{value:void 0,done:!0}}};return N}entries(){const _=this,I=this._state;let A=this._head;const N={[Symbol.iterator](){return N},next(){if(_._state!==I)throw new Error("LinkedMap got modified during iteration.");if(A){const U={value:[A.key,A.value],done:!1};return A=A.next,U}else return{value:void 0,done:!0}}};return N}[(_c$1=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(_){if(_>=this.size)return;if(_===0){this.clear();return}let I=this._head,A=this.size;for(;I&&A>_;)this._map.delete(I.key),I=I.next,A--;this._head=I,this._size=A,I&&(I.previous=void 0),this._state++}addItemFirst(_){if(!this._head&&!this._tail)this._tail=_;else if(this._head)_.next=this._head,this._head.previous=_;else throw new Error("Invalid list");this._head=_,this._state++}addItemLast(_){if(!this._head&&!this._tail)this._head=_;else if(this._tail)_.previous=this._tail,this._tail.next=_;else throw new Error("Invalid list");this._tail=_,this._state++}removeItem(_){if(_===this._head&&_===this._tail)this._head=void 0,this._tail=void 0;else if(_===this._head){if(!_.next)throw new Error("Invalid list");_.next.previous=void 0,this._head=_.next}else if(_===this._tail){if(!_.previous)throw new Error("Invalid list");_.previous.next=void 0,this._tail=_.previous}else{const I=_.next,A=_.previous;if(!I||!A)throw new Error("Invalid list");I.previous=A,A.next=I}_.next=void 0,_.previous=void 0,this._state++}touch(_,I){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(I!==1&&I!==2)){if(I===1){if(_===this._head)return;const A=_.next,N=_.previous;_===this._tail?(N.next=void 0,this._tail=N):(A.previous=N,N.next=A),_.previous=void 0,_.next=this._head,this._head.previous=_,this._head=_,this._state++}else if(I===2){if(_===this._tail)return;const A=_.next,N=_.previous;_===this._head?(A.previous=void 0,this._head=A):(A.previous=N,N.next=A),_.next=void 0,_.previous=this._tail,this._tail.next=_,this._tail=_,this._state++}}}toJSON(){const _=[];return this.forEach((I,A)=>{_.push([A,I])}),_}fromJSON(_){this.clear();for(const[I,A]of _)this.set(I,A)}}class LRUCache extends LinkedMap{constructor(_,I=1){super(),this._limit=_,this._ratio=Math.min(Math.max(0,I),1)}get limit(){return this._limit}set limit(_){this._limit=_,this.checkTrim()}get ratio(){return this._ratio}set ratio(_){this._ratio=Math.min(Math.max(0,_),1),this.checkTrim()}get(_,I=2){return super.get(_,I)}peek(_){return super.get(_,0)}set(_,I){return super.set(_,I,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}const ILogService=createDecorator("logService");createDecorator("loggerService");var LogLevel;(function(B){B[B.Off=0]="Off",B[B.Trace=1]="Trace",B[B.Debug=2]="Debug",B[B.Info=3]="Info",B[B.Warning=4]="Warning",B[B.Error=5]="Error"})(LogLevel||(LogLevel={}));const DEFAULT_LOG_LEVEL=LogLevel.Info;class AbstractLogger extends Disposable{constructor(){super(...arguments),this.level=DEFAULT_LOG_LEVEL,this._onDidChangeLogLevel=this._register(new Emitter$1),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(_){this.level!==_&&(this.level=_,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(_){return this.level!==LogLevel.Off&&this.level<=_}}class ConsoleLogger extends AbstractLogger{constructor(_=DEFAULT_LOG_LEVEL,I=!0){super(),this.useColors=I,this.setLevel(_)}trace(_,...I){this.checkLogLevel(LogLevel.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",_,...I):console.log(_,...I))}debug(_,...I){this.checkLogLevel(LogLevel.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",_,...I):console.log(_,...I))}info(_,...I){this.checkLogLevel(LogLevel.Info)&&(this.useColors?console.log("%c INFO","color: #33f",_,...I):console.log(_,...I))}warn(_,...I){this.checkLogLevel(LogLevel.Warning)&&(this.useColors?console.log("%c WARN","color: #993",_,...I):console.log(_,...I))}error(_,...I){this.checkLogLevel(LogLevel.Error)&&(this.useColors?console.log("%c ERR","color: #f33",_,...I):console.error(_,...I))}dispose(){}flush(){}}class MultiplexLogger extends AbstractLogger{constructor(_){super(),this.loggers=_,_.length&&this.setLevel(_[0].getLevel())}setLevel(_){for(const I of this.loggers)I.setLevel(_);super.setLevel(_)}trace(_,...I){for(const A of this.loggers)A.trace(_,...I)}debug(_,...I){for(const A of this.loggers)A.debug(_,...I)}info(_,...I){for(const A of this.loggers)A.info(_,...I)}warn(_,...I){for(const A of this.loggers)A.warn(_,...I)}error(_,...I){for(const A of this.loggers)A.error(_,...I)}flush(){for(const _ of this.loggers)_.flush()}dispose(){for(const _ of this.loggers)_.dispose()}}function LogLevelToString(B){switch(B){case LogLevel.Trace:return"trace";case LogLevel.Debug:return"debug";case LogLevel.Info:return"info";case LogLevel.Warning:return"warn";case LogLevel.Error:return"error";case LogLevel.Off:return"off"}}new RawContextKey("logLevel",LogLevelToString(LogLevel.Info));const ILanguageFeaturesService=createDecorator("ILanguageFeaturesService");var __decorate$23=globalThis&&globalThis.__decorate||function(B,_,I,A){var N=arguments.length,U=N<3?_:A===null?A=Object.getOwnPropertyDescriptor(_,I):A,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")U=Reflect.decorate(B,_,I,A);else for(var j=B.length-1;j>=0;j--)(K=B[j])&&(U=(N<3?K(U):N>3?K(_,I,U):K(_,I))||U);return N>3&&U&&Object.defineProperty(_,I,U),U},__param$1Y=globalThis&&globalThis.__param||function(B,_){return function(I,A){_(I,A,B)}},__awaiter$1s=globalThis&&globalThis.__awaiter||function(B,_,I,A){function N(U){return U instanceof I?U:new I(function(K){K(U)})}return new(I||(I=Promise))(function(U,K){function j(Z){try{G(A.next(Z))}catch(Y){K(Y)}}function q(Z){try{G(A.throw(Z))}catch(Y){K(Y)}}function G(Z){Z.done?U(Z.value):N(Z.value).then(j,q)}G((A=A.apply(B,_||[])).next())})};const STOP_SYNC_MODEL_DELTA_TIME_MS=60*1e3,STOP_WORKER_DELTA_TIME_MS=5*60*1e3;function canSyncModel(B,_){const I=B.getModel(_);return!(!I||I.isTooLargeForSyncing())}let EditorWorkerService=class extends Disposable{constructor(_,I,A,N,U){super(),this._modelService=_,this._workerManager=this._register(new WorkerManager(this._modelService,N)),this._logService=A,this._register(U.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(K,j)=>canSyncModel(this._modelService,K.uri)?this._workerManager.withWorker().then(q=>q.computeLinks(K.uri)).then(q=>q&&{links:q}):Promise.resolve({links:[]})})),this._register(U.completionProvider.register("*",new WordBasedCompletionItemProvider(this._workerManager,I,this._modelService,N)))}dispose(){super.dispose()}canComputeUnicodeHighlights(_){return canSyncModel(this._modelService,_)}computedUnicodeHighlights(_,I,A){return this._workerManager.withWorker().then(N=>N.computedUnicodeHighlights(_,I,A))}computeDiff(_,I,A,N){return __awaiter$1s(this,void 0,void 0,function*(){const U=yield this._workerManager.withWorker().then(j=>j.computeDiff(_,I,A,N));return U?{identical:U.identical,quitEarly:U.quitEarly,changes:U.changes.map(j=>{var q;return new LineRangeMapping(new LineRange$1(j[0],j[1]),new LineRange$1(j[2],j[3]),(q=j[4])===null||q===void 0?void 0:q.map(G=>new RangeMapping(new Range$3(G[0],G[1],G[2],G[3]),new Range$3(G[4],G[5],G[6],G[7]))))})}:null})}canComputeDirtyDiff(_,I){return canSyncModel(this._modelService,_)&&canSyncModel(this._modelService,I)}computeDirtyDiff(_,I,A){return this._workerManager.withWorker().then(N=>N.computeDirtyDiff(_,I,A))}computeMoreMinimalEdits(_,I,A=!1){if(isNonEmptyArray(I)){if(!canSyncModel(this._modelService,_))return Promise.resolve(I);const N=StopWatch.create(!0),U=this._workerManager.withWorker().then(K=>K.computeMoreMinimalEdits(_,I,A));return U.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",_.toString(!0),N.elapsed())),Promise.race([U,timeout(1e3).then(()=>I)])}else return Promise.resolve(void 0)}computeHumanReadableDiff(_,I){if(isNonEmptyArray(I)){if(!canSyncModel(this._modelService,_))return Promise.resolve(I);const A=StopWatch.create(!0),N=this._workerManager.withWorker().then(U=>U.computeHumanReadableDiff(_,I,{ignoreTrimWhitespace:!1,maxComputationTimeMs:1e3})).catch(U=>(onUnexpectedError(U),this.computeMoreMinimalEdits(_,I,!0)));return N.finally(()=>this._logService.trace("FORMAT#computeHumanReadableDiff",_.toString(!0),A.elapsed())),N}else return Promise.resolve(void 0)}canNavigateValueSet(_){return canSyncModel(this._modelService,_)}navigateValueSet(_,I,A){return this._workerManager.withWorker().then(N=>N.navigateValueSet(_,I,A))}canComputeWordRanges(_){return canSyncModel(this._modelService,_)}computeWordRanges(_,I){return this._workerManager.withWorker().then(A=>A.computeWordRanges(_,I))}};EditorWorkerService=__decorate$23([__param$1Y(0,IModelService),__param$1Y(1,ITextResourceConfigurationService),__param$1Y(2,ILogService),__param$1Y(3,ILanguageConfigurationService),__param$1Y(4,ILanguageFeaturesService)],EditorWorkerService);class WordBasedCompletionItemProvider{constructor(_,I,A,N){this.languageConfigurationService=N,this._debugDisplayName="wordbasedCompletions",this._workerManager=_,this._configurationService=I,this._modelService=A}provideCompletionItems(_,I){return __awaiter$1s(this,void 0,void 0,function*(){const A=this._configurationService.getValue(_.uri,I,"editor");if(!A.wordBasedSuggestions)return;const N=[];if(A.wordBasedSuggestionsMode==="currentDocument")canSyncModel(this._modelService,_.uri)&&N.push(_.uri);else for(const Y of this._modelService.getModels())canSyncModel(this._modelService,Y.uri)&&(Y===_?N.unshift(Y.uri):(A.wordBasedSuggestionsMode==="allDocuments"||Y.getLanguageId()===_.getLanguageId())&&N.push(Y.uri));if(N.length===0)return;const U=this.languageConfigurationService.getLanguageConfiguration(_.getLanguageId()).getWordDefinition(),K=_.getWordAtPosition(I),j=K?new Range$3(I.lineNumber,K.startColumn,I.lineNumber,K.endColumn):Range$3.fromPositions(I),q=j.setEndPosition(I.lineNumber,I.column),Z=yield(yield this._workerManager.withWorker()).textualSuggest(N,K==null?void 0:K.word,U);if(Z)return{duration:Z.duration,suggestions:Z.words.map(Y=>({kind:18,label:Y,insertText:Y,range:{insert:q,replace:j}}))}})}}class WorkerManager extends Disposable{constructor(_,I){super(),this.languageConfigurationService=I,this._modelService=_,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new IntervalTimer).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(STOP_WORKER_DELTA_TIME_MS/2)),this._register(this._modelService.onModelRemoved(N=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>STOP_WORKER_DELTA_TIME_MS&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new EditorWorkerClient(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class EditorModelManager extends Disposable{constructor(_,I,A){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=_,this._modelService=I,!A){const N=new IntervalTimer;N.cancelAndSet(()=>this._checkStopModelSync(),Math.round(STOP_SYNC_MODEL_DELTA_TIME_MS/2)),this._register(N)}}dispose(){for(const _ in this._syncedModels)dispose(this._syncedModels[_]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(_,I){for(const A of _){const N=A.toString();this._syncedModels[N]||this._beginModelSync(A,I),this._syncedModels[N]&&(this._syncedModelsLastUsedTime[N]=new Date().getTime())}}_checkStopModelSync(){const _=new Date().getTime(),I=[];for(const A in this._syncedModelsLastUsedTime)_-this._syncedModelsLastUsedTime[A]>STOP_SYNC_MODEL_DELTA_TIME_MS&&I.push(A);for(const A of I)this._stopModelSync(A)}_beginModelSync(_,I){const A=this._modelService.getModel(_);if(!A||!I&&A.isTooLargeForSyncing())return;const N=_.toString();this._proxy.acceptNewModel({url:A.uri.toString(),lines:A.getLinesContent(),EOL:A.getEOL(),versionId:A.getVersionId()});const U=new DisposableStore;U.add(A.onDidChangeContent(K=>{this._proxy.acceptModelChanged(N.toString(),K)})),U.add(A.onWillDispose(()=>{this._stopModelSync(N)})),U.add(toDisposable(()=>{this._proxy.acceptRemovedModel(N)})),this._syncedModels[N]=U}_stopModelSync(_){const I=this._syncedModels[_];delete this._syncedModels[_],delete this._syncedModelsLastUsedTime[_],dispose(I)}}class SynchronousWorkerClient{constructor(_){this._instance=_,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class EditorWorkerHost{constructor(_){this._workerClient=_}fhr(_,I){return this._workerClient.fhr(_,I)}}class EditorWorkerClient extends Disposable{constructor(_,I,A,N){super(),this.languageConfigurationService=N,this._disposed=!1,this._modelService=_,this._keepIdleModels=I,this._workerFactory=new DefaultWorkerFactory(A),this._worker=null,this._modelManager=null}fhr(_,I){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new SimpleWorkerClient(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new EditorWorkerHost(this)))}catch(_){logOnceWebWorkerWarning(_),this._worker=new SynchronousWorkerClient(new EditorSimpleWorker(new EditorWorkerHost(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,_=>(logOnceWebWorkerWarning(_),this._worker=new SynchronousWorkerClient(new EditorSimpleWorker(new EditorWorkerHost(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(_){return this._modelManager||(this._modelManager=this._register(new EditorModelManager(_,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(_,I=!1){return __awaiter$1s(this,void 0,void 0,function*(){return this._disposed?Promise.reject(canceled()):this._getProxy().then(A=>(this._getOrCreateModelManager(A).ensureSyncedResources(_,I),A))})}computedUnicodeHighlights(_,I,A){return this._withSyncedResources([_]).then(N=>N.computeUnicodeHighlights(_.toString(),I,A))}computeDiff(_,I,A,N){return this._withSyncedResources([_,I],!0).then(U=>U.computeDiff(_.toString(),I.toString(),A,N))}computeDirtyDiff(_,I,A){return this._withSyncedResources([_,I]).then(N=>N.computeDirtyDiff(_.toString(),I.toString(),A))}computeMoreMinimalEdits(_,I,A){return this._withSyncedResources([_]).then(N=>N.computeMoreMinimalEdits(_.toString(),I,A))}computeHumanReadableDiff(_,I,A){return this._withSyncedResources([_]).then(N=>N.computeHumanReadableDiff(_.toString(),I,A))}computeLinks(_){return this._withSyncedResources([_]).then(I=>I.computeLinks(_.toString()))}textualSuggest(_,I,A){return __awaiter$1s(this,void 0,void 0,function*(){const N=yield this._withSyncedResources(_),U=A.source,K=regExpFlags(A);return N.textualSuggest(_.map(j=>j.toString()),I,U,K)})}computeWordRanges(_,I){return this._withSyncedResources([_]).then(A=>{const N=this._modelService.getModel(_);if(!N)return Promise.resolve(null);const U=this.languageConfigurationService.getLanguageConfiguration(N.getLanguageId()).getWordDefinition(),K=U.source,j=regExpFlags(U);return A.computeWordRanges(_.toString(),I,K,j)})}navigateValueSet(_,I,A){return this._withSyncedResources([_]).then(N=>{const U=this._modelService.getModel(_);if(!U)return null;const K=this.languageConfigurationService.getLanguageConfiguration(U.getLanguageId()).getWordDefinition(),j=K.source,q=regExpFlags(K);return N.navigateValueSet(_.toString(),I,A,j,q)})}dispose(){super.dispose(),this._disposed=!0}}function createWebWorker$1(B,_,I){return new MonacoWebWorkerImpl(B,_,I)}class MonacoWebWorkerImpl extends EditorWorkerClient{constructor(_,I,A){super(_,A.keepIdleModels||!1,A.label,I),this._foreignModuleId=A.moduleId,this._foreignModuleCreateData=A.createData||null,this._foreignModuleHost=A.host||null,this._foreignProxy=null}fhr(_,I){if(!this._foreignModuleHost||typeof this._foreignModuleHost[_]!="function")return Promise.reject(new Error("Missing method "+_+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[_].apply(this._foreignModuleHost,I))}catch(A){return Promise.reject(A)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(_=>{const I=this._foreignModuleHost?getAllMethodNames(this._foreignModuleHost):[];return _.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,I).then(A=>{this._foreignModuleCreateData=null;const N=(j,q)=>_.fmr(j,q),U=(j,q)=>function(){const G=Array.prototype.slice.call(arguments,0);return q(j,G)},K={};for(const j of A)K[j]=U(j,N);return K})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(_){return this._withSyncedResources(_).then(I=>this.getProxy())}}class TokenMetadata{static getLanguageId(_){return(_&255)>>>0}static getTokenType(_){return(_&768)>>>8}static containsBalancedBrackets(_){return(_&1024)!==0}static getFontStyle(_){return(_&30720)>>>11}static getForeground(_){return(_&16744448)>>>15}static getBackground(_){return(_&4278190080)>>>24}static getClassNameFromMetadata(_){let A="mtk"+this.getForeground(_);const N=this.getFontStyle(_);return N&1&&(A+=" mtki"),N&2&&(A+=" mtkb"),N&4&&(A+=" mtku"),N&8&&(A+=" mtks"),A}static getInlineStyleFromMetadata(_,I){const A=this.getForeground(_),N=this.getFontStyle(_);let U=`color: ${I[A]};`;N&1&&(U+="font-style: italic;"),N&2&&(U+="font-weight: bold;");let K="";return N&4&&(K+=" underline"),N&8&&(K+=" line-through"),K&&(U+=`text-decoration:${K};`),U}static getPresentationFromMetadata(_){const I=this.getForeground(_),A=this.getFontStyle(_);return{foreground:I,italic:!!(A&1),bold:!!(A&2),underline:!!(A&4),strikethrough:!!(A&8)}}}class LineTokens{static createEmpty(_,I){const A=LineTokens.defaultTokenMetadata,N=new Uint32Array(2);return N[0]=_.length,N[1]=A,new LineTokens(N,_,I)}constructor(_,I,A){this._lineTokensBrand=void 0,this._tokens=_,this._tokensCount=this._tokens.length>>>1,this._text=I,this._languageIdCodec=A}equals(_){return _ instanceof LineTokens?this.slicedEquals(_,0,this._tokensCount):!1}slicedEquals(_,I,A){if(this._text!==_._text||this._tokensCount!==_._tokensCount)return!1;const N=I<<1,U=N+(A<<1);for(let K=N;K0?this._tokens[_-1<<1]:0}getMetadata(_){return this._tokens[(_<<1)+1]}getLanguageId(_){const I=this._tokens[(_<<1)+1],A=TokenMetadata.getLanguageId(I);return this._languageIdCodec.decodeLanguageId(A)}getStandardTokenType(_){const I=this._tokens[(_<<1)+1];return TokenMetadata.getTokenType(I)}getForeground(_){const I=this._tokens[(_<<1)+1];return TokenMetadata.getForeground(I)}getClassName(_){const I=this._tokens[(_<<1)+1];return TokenMetadata.getClassNameFromMetadata(I)}getInlineStyle(_,I){const A=this._tokens[(_<<1)+1];return TokenMetadata.getInlineStyleFromMetadata(A,I)}getPresentation(_){const I=this._tokens[(_<<1)+1];return TokenMetadata.getPresentationFromMetadata(I)}getEndOffset(_){return this._tokens[_<<1]}findTokenIndexAtOffset(_){return LineTokens.findIndexInTokensArray(this._tokens,_)}inflate(){return this}sliceAndInflate(_,I,A){return new SliceLineTokens(this,_,I,A)}static convertToEndOffset(_,I){const N=(_.length>>>1)-1;for(let U=0;U>>1)-1;for(;AI&&(N=U)}return A}withInserted(_){if(_.length===0)return this;let I=0,A=0,N="";const U=new Array;let K=0;for(;;){const j=IK){N+=this._text.substring(K,q.offset);const G=this._tokens[(I<<1)+1];U.push(N.length,G),K=q.offset}N+=q.text,U.push(N.length,q.tokenMetadata),A++}else break}return new LineTokens(new Uint32Array(U),N,this._languageIdCodec)}}LineTokens.defaultTokenMetadata=(32768|2<<24)>>>0;class SliceLineTokens{constructor(_,I,A,N){this._source=_,this._startOffset=I,this._endOffset=A,this._deltaOffset=N,this._firstTokenIndex=_.findTokenIndexAtOffset(I),this._tokensCount=0;for(let U=this._firstTokenIndex,K=_.getCount();U=A);U++)this._tokensCount++}getMetadata(_){return this._source.getMetadata(this._firstTokenIndex+_)}getLanguageId(_){return this._source.getLanguageId(this._firstTokenIndex+_)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(_){return _ instanceof SliceLineTokens?this._startOffset===_._startOffset&&this._endOffset===_._endOffset&&this._deltaOffset===_._deltaOffset&&this._source.slicedEquals(_._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(_){return this._source.getForeground(this._firstTokenIndex+_)}getEndOffset(_){const I=this._source.getEndOffset(this._firstTokenIndex+_);return Math.min(this._endOffset,I)-this._startOffset+this._deltaOffset}getClassName(_){return this._source.getClassName(this._firstTokenIndex+_)}getInlineStyle(_,I){return this._source.getInlineStyle(this._firstTokenIndex+_,I)}getPresentation(_){return this._source.getPresentation(this._firstTokenIndex+_)}findTokenIndexAtOffset(_){return this._source.findTokenIndexAtOffset(_+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}class LineDecoration{constructor(_,I,A,N){this.startColumn=_,this.endColumn=I,this.className=A,this.type=N,this._lineDecorationBrand=void 0}static _equals(_,I){return _.startColumn===I.startColumn&&_.endColumn===I.endColumn&&_.className===I.className&&_.type===I.type}static equalsArr(_,I){const A=_.length,N=I.length;if(A!==N)return!1;for(let U=0;U=U||(j[q++]=new LineDecoration(Math.max(1,G.startColumn-N+1),Math.min(K+1,G.endColumn-N+1),G.className,G.type));return j}static filter(_,I,A,N){if(_.length===0)return[];const U=[];let K=0;for(let j=0,q=_.length;jI||Z.isEmpty()&&(G.type===0||G.type===3))continue;const Y=Z.startLineNumber===I?Z.startColumn:A,Q=Z.endLineNumber===I?Z.endColumn:N;U[K++]=new LineDecoration(Y,Q,G.inlineClassName,G.type)}return U}static _typeCompare(_,I){const A=[2,0,1,3];return A[_]-A[I]}static compare(_,I){if(_.startColumn!==I.startColumn)return _.startColumn-I.startColumn;if(_.endColumn!==I.endColumn)return _.endColumn-I.endColumn;const A=LineDecoration._typeCompare(_.type,I.type);return A!==0?A:_.className!==I.className?_.className0&&this.stopOffsets[0]<_;){let N=0;for(;N+10&&I<_&&(A.push(new DecorationSegment(I,_-1,this.classNames.join(" "),Stack._metadata(this.metadata))),I=_),I}insert(_,I,A){if(this.count===0||this.stopOffsets[this.count-1]<=_)this.stopOffsets.push(_),this.classNames.push(I),this.metadata.push(A);else for(let N=0;N=_){this.stopOffsets.splice(N,0,_),this.classNames.splice(N,0,I),this.metadata.splice(N,0,A);break}this.count++}}class LineDecorationsNormalizer{static normalize(_,I){if(I.length===0)return[];const A=[],N=new Stack;let U=0;for(let K=0,j=I.length;K1){const te=_.charCodeAt(G-2);isHighSurrogate(te)&&G--}if(Z>1){const te=_.charCodeAt(Z-2);isHighSurrogate(te)&&Z--}const J=G-1,ee=Z-2;U=N.consumeLowerThan(J,U,A),N.count===0&&(U=J),N.insert(ee,Y,Q)}return N.consumeLowerThan(1073741824,U,A),A}}class LinePart{constructor(_,I,A,N){this.endIndex=_,this.type=I,this.metadata=A,this.containsRTL=N,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}class LineRange{constructor(_,I){this.startOffset=_,this.endOffset=I}equals(_){return this.startOffset===_.startOffset&&this.endOffset===_.endOffset}}class RenderLineInput{constructor(_,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie,ne,re,oe){this.useMonospaceOptimizations=_,this.canUseHalfwidthRightwardsArrow=I,this.lineContent=A,this.continuesWithWrappedLine=N,this.isBasicASCII=U,this.containsRTL=K,this.fauxIndentLength=j,this.lineTokens=q,this.lineDecorations=G.sort(LineDecoration.compare),this.tabSize=Z,this.startVisibleColumn=Y,this.spaceWidth=Q,this.stopRenderingLineAfter=te,this.renderWhitespace=ie==="all"?4:ie==="boundary"?1:ie==="selection"?2:ie==="trailing"?3:0,this.renderControlCharacters=ne,this.fontLigatures=re,this.selectionsOnLine=oe&&oe.sort((ue,ce)=>ue.startOffset>>16}static getCharIndex(_){return(_&65535)>>>0}constructor(_,I){this.length=_,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(_,I,A,N){const U=(I<<16|A<<0)>>>0;this._data[_-1]=U,this._horizontalOffset[_-1]=N}getHorizontalOffset(_){return this._horizontalOffset.length===0?0:this._horizontalOffset[_-1]}charOffsetToPartData(_){return this.length===0?0:_<0?this._data[0]:_>=this.length?this._data[this.length-1]:this._data[_]}getDomPosition(_){const I=this.charOffsetToPartData(_-1),A=CharacterMapping.getPartIndex(I),N=CharacterMapping.getCharIndex(I);return new DomPosition(A,N)}getColumn(_,I){return this.partDataToCharOffset(_.partIndex,I,_.charIndex)+1}partDataToCharOffset(_,I,A){if(this.length===0)return 0;const N=(_<<16|A<<0)>>>0;let U=0,K=this.length-1;for(;U+1>>1,ie=this._data[te];if(ie===N)return te;ie>N?K=te:U=te}if(U===K)return U;const j=this._data[U],q=this._data[K];if(j===N)return U;if(q===N)return K;const G=CharacterMapping.getPartIndex(j),Z=CharacterMapping.getCharIndex(j),Y=CharacterMapping.getPartIndex(q);let Q;G!==Y?Q=I:Q=CharacterMapping.getCharIndex(q);const J=A-Z,ee=Q-A;return J<=ee?U:K}inflate(){const _=[];for(let I=0;I0){_.appendString("");let I=0,A=0,N=0;for(const K of B.lineDecorations)(K.type===1||K.type===2)&&(_.appendString(''),K.type===1&&(N|=1,I++),K.type===2&&(N|=2,A++));_.appendString("");const U=new CharacterMapping(1,I+A);return U.setColumnInfo(1,I,0,0),new RenderLineOutput(U,!1,N)}return _.appendString(""),new RenderLineOutput(new CharacterMapping(0,0),!1,0)}return _renderLine(resolveRenderLineInput(B),_)}class RenderLineOutput2{constructor(_,I,A,N){this.characterMapping=_,this.html=I,this.containsRTL=A,this.containsForeignElements=N}}function renderViewLine2(B){const _=new StringBuilder(1e4),I=renderViewLine(B,_);return new RenderLineOutput2(I.characterMapping,_.build(),I.containsRTL,I.containsForeignElements)}class ResolvedRenderLineInput{constructor(_,I,A,N,U,K,j,q,G,Z,Y,Q,J,ee,te,ie){this.fontIsMonospace=_,this.canUseHalfwidthRightwardsArrow=I,this.lineContent=A,this.len=N,this.isOverflowing=U,this.overflowingCharCount=K,this.parts=j,this.containsForeignElements=q,this.fauxIndentLength=G,this.tabSize=Z,this.startVisibleColumn=Y,this.containsRTL=Q,this.spaceWidth=J,this.renderSpaceCharCode=ee,this.renderWhitespace=te,this.renderControlCharacters=ie}}function resolveRenderLineInput(B){const _=B.lineContent;let I,A,N;B.stopRenderingLineAfter!==-1&&B.stopRenderingLineAfter<_.length?(I=!0,A=_.length-B.stopRenderingLineAfter,N=B.stopRenderingLineAfter):(I=!1,A=0,N=_.length);let U=transformAndRemoveOverflowing(_,B.containsRTL,B.lineTokens,B.fauxIndentLength,N);B.renderControlCharacters&&!B.isBasicASCII&&(U=extractControlCharacters(_,U)),(B.renderWhitespace===4||B.renderWhitespace===1||B.renderWhitespace===2&&B.selectionsOnLine||B.renderWhitespace===3&&!B.continuesWithWrappedLine)&&(U=_applyRenderWhitespace(B,_,N,U));let K=0;if(B.lineDecorations.length>0){for(let j=0,q=B.lineDecorations.length;j0&&(U[K++]=new LinePart(A,"",0,!1));let j=A;for(let q=0,G=I.getCount();q=N){const J=_?containsRTL(B.substring(j,N)):!1;U[K++]=new LinePart(N,Y,0,J);break}const Q=_?containsRTL(B.substring(j,Z)):!1;U[K++]=new LinePart(Z,Y,0,Q),j=Z}return U}function splitLargeTokens(B,_,I){let A=0;const N=[];let U=0;if(I)for(let K=0,j=_.length;K=50&&(N[U++]=new LinePart(J+1,Z,Y,Q),ee=J+1,J=-1);ee!==G&&(N[U++]=new LinePart(G,Z,Y,Q))}else N[U++]=q;A=G}else for(let K=0,j=_.length;K50){const Y=q.type,Q=q.metadata,J=q.containsRTL,ee=Math.ceil(Z/50);for(let te=1;te=8234&&B<=8238||B>=8294&&B<=8297||B>=8206&&B<=8207||B===1564}function extractControlCharacters(B,_){const I=[];let A=new LinePart(0,"",0,!1),N=0;for(const U of _){const K=U.endIndex;for(;NA.endIndex&&(A=new LinePart(N,U.type,U.metadata,U.containsRTL),I.push(A)),A=new LinePart(N+1,"mtkcontrol",U.metadata,!1),I.push(A))}N>A.endIndex&&(A=new LinePart(K,U.type,U.metadata,U.containsRTL),I.push(A))}return I}function _applyRenderWhitespace(B,_,I,A){const N=B.continuesWithWrappedLine,U=B.fauxIndentLength,K=B.tabSize,j=B.startVisibleColumn,q=B.useMonospaceOptimizations,G=B.selectionsOnLine,Z=B.renderWhitespace===1,Y=B.renderWhitespace===3,Q=B.renderSpaceWidth!==B.spaceWidth,J=[];let ee=0,te=0,ie=A[te].type,ne=A[te].containsRTL,re=A[te].endIndex;const oe=A.length;let se=!1,ae=firstNonWhitespaceIndex(_),ue;ae===-1?(se=!0,ae=I,ue=I):ue=lastNonWhitespaceIndex(_);let ce=!1,le=0,de=G&&G[le],fe=j%K;for(let ge=U;ge=de.endOffset&&(le++,de=G&&G[le]);let we;if(geue)we=!0;else if(pe===9)we=!0;else if(pe===32)if(Z)if(ce)we=!0;else{const ye=ge+1ge),we&&Y&&(we=se||ge>ue),we&&ne&&ge>=ae&&ge<=ue&&(we=!1),ce){if(!we||!q&&fe>=K){if(Q){const ye=ee>0?J[ee-1].endIndex:U;for(let Le=ye+1;Le<=ge;Le++)J[ee++]=new LinePart(Le,"mtkw",1,!1)}else J[ee++]=new LinePart(ge,"mtkw",1,!1);fe=fe%K}}else(ge===re||we&&ge>U)&&(J[ee++]=new LinePart(ge,ie,0,ne),fe=fe%K);for(pe===9?fe=K:isFullWidthCharacter(pe)?fe+=2:fe++,ce=we;ge===re&&(te++,te0?_.charCodeAt(I-1):0,pe=I>1?_.charCodeAt(I-2):0;ge===32&&pe!==32&&pe!==9||(he=!0)}else he=!0;if(he)if(Q){const ge=ee>0?J[ee-1].endIndex:U;for(let pe=ge+1;pe<=I;pe++)J[ee++]=new LinePart(pe,"mtkw",1,!1)}else J[ee++]=new LinePart(I,"mtkw",1,!1);else J[ee++]=new LinePart(I,ie,0,ne);return J}function _applyInlineDecorations(B,_,I,A){A.sort(LineDecoration.compare);const N=LineDecorationsNormalizer.normalize(B,A),U=N.length;let K=0;const j=[];let q=0,G=0;for(let Y=0,Q=I.length;YG&&(G=re.startOffset,j[q++]=new LinePart(G,te,ie,ne)),re.endOffset+1<=ee)G=re.endOffset+1,j[q++]=new LinePart(G,te+" "+re.className,ie|re.metadata,ne),K++;else{G=ee,j[q++]=new LinePart(G,te+" "+re.className,ie|re.metadata,ne);break}}ee>G&&(G=ee,j[q++]=new LinePart(G,te,ie,ne))}const Z=I[I.length-1].endIndex;if(K'):_.appendString("");for(let de=0,fe=G.length;de=Z&&(xe+=Oe)}}for(Le&&(_.appendString(' style="width:'),_.appendString(String(ee*Ae)),_.appendString('px"')),_.appendASCIICharCode(62);se1?_.appendCharCode(8594):_.appendCharCode(65515);for(let Oe=2;Oe<=$e;Oe++)_.appendCharCode(160)}else xe=2,$e=1,_.appendCharCode(te),_.appendCharCode(8204);ue+=xe,ce+=$e,se>=Z&&(ae+=$e)}}else for(_.appendASCIICharCode(62);se=Z&&(ae+=xe)}Se?le++:le=0,se>=K&&!oe&&he.isPseudoAfter()&&(oe=!0,re.setColumnInfo(se+1,de,ue,ce)),_.appendString("")}return oe||re.setColumnInfo(K+1,G.length-1,ue,ce),j&&(_.appendString(''),_.appendString(localize("showMore","Show more ({0})",renderOverflowingCharCount(q))),_.appendString("")),_.appendString("
"),new RenderLineOutput(re,J,N)}function to4CharHex(B){return B.toString(16).toUpperCase().padStart(4,"0")}function renderOverflowingCharCount(B){return B<1024?localize("overflow.chars","{0} chars",B):B<1024*1024?`${(B/1024).toFixed(1)} KB`:`${(B/1024/1024).toFixed(1)} MB`}class Viewport{constructor(_,I,A,N){this._viewportBrand=void 0,this.top=_|0,this.left=I|0,this.width=A|0,this.height=N|0}}class MinimapLinesRenderingData{constructor(_,I){this.tabSize=_,this.data=I}}class ViewLineData{constructor(_,I,A,N,U,K,j){this._viewLineDataBrand=void 0,this.content=_,this.continuesWithWrappedLine=I,this.minColumn=A,this.maxColumn=N,this.startVisibleColumn=U,this.tokens=K,this.inlineDecorations=j}}class ViewLineRenderingData{constructor(_,I,A,N,U,K,j,q,G,Z){this.minColumn=_,this.maxColumn=I,this.content=A,this.continuesWithWrappedLine=N,this.isBasicASCII=ViewLineRenderingData.isBasicASCII(A,K),this.containsRTL=ViewLineRenderingData.containsRTL(A,this.isBasicASCII,U),this.tokens=j,this.inlineDecorations=q,this.tabSize=G,this.startVisibleColumn=Z}static isBasicASCII(_,I){return I?isBasicASCII(_):!0}static containsRTL(_,I,A){return!I&&A?containsRTL(_):!1}}class InlineDecoration{constructor(_,I,A){this.range=_,this.inlineClassName=I,this.type=A}}class SingleLineInlineDecoration{constructor(_,I,A,N){this.startOffset=_,this.endOffset=I,this.inlineClassName=A,this.inlineClassNameAffectsLetterSpacing=N}toInlineDecoration(_){return new InlineDecoration(new Range$3(_,this.startOffset+1,_,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class ViewModelDecoration{constructor(_,I){this._viewModelDecorationBrand=void 0,this.range=_,this.options=I}}class OverviewRulerDecorationsGroup{constructor(_,I,A){this.color=_,this.zIndex=I,this.data=A}static cmp(_,I){return _.zIndex===I.zIndex?_.colorI.color?1:0:_.zIndex-I.zIndex}}function isFuzzyActionArr(B){return Array.isArray(B)}function isFuzzyAction(B){return!isFuzzyActionArr(B)}function isString$1(B){return typeof B=="string"}function isIAction(B){return!isString$1(B)}function empty(B){return!B}function fixCase(B,_){return B.ignoreCase&&_?_.toLowerCase():_}function sanitize$1(B){return B.replace(/[&<>'"_]/g,"-")}function log(B,_){console.log(`${B.languageId}: ${_}`)}function createError(B,_){return new Error(`${B.languageId}: ${_}`)}function substituteMatches(B,_,I,A,N){const U=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let K=null;return _.replace(U,function(j,q,G,Z,Y,Q,J,ee,te){return empty(G)?empty(Z)?!empty(Y)&&Y0;){const A=B.tokenizer[I];if(A)return A;const N=I.lastIndexOf(".");N<0?I=null:I=I.substr(0,N)}return null}function stateExists(B,_){let I=_;for(;I&&I.length>0;){if(B.stateNames[I])return!0;const N=I.lastIndexOf(".");N<0?I=null:I=I.substr(0,N)}return!1}var __decorate$22=globalThis&&globalThis.__decorate||function(B,_,I,A){var N=arguments.length,U=N<3?_:A===null?A=Object.getOwnPropertyDescriptor(_,I):A,K;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")U=Reflect.decorate(B,_,I,A);else for(var j=B.length-1;j>=0;j--)(K=B[j])&&(U=(N<3?K(U):N>3?K(_,I,U):K(_,I))||U);return N>3&&U&&Object.defineProperty(_,I,U),U},__param$1X=globalThis&&globalThis.__param||function(B,_){return function(I,A){_(I,A,B)}};const CACHE_STACK_DEPTH=5;class MonarchStackElementFactory{static create(_,I){return this._INSTANCE.create(_,I)}constructor(_){this._maxCacheDepth=_,this._entries=Object.create(null)}create(_,I){if(_!==null&&_.depth>=this._maxCacheDepth)return new MonarchStackElement(_,I);let A=MonarchStackElement.getStackElementId(_);A.length>0&&(A+="|"),A+=I;let N=this._entries[A];return N||(N=new MonarchStackElement(_,I),this._entries[A]=N,N)}}MonarchStackElementFactory._INSTANCE=new MonarchStackElementFactory(CACHE_STACK_DEPTH);class MonarchStackElement{constructor(_,I){this.parent=_,this.state=I,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(_){let I="";for(;_!==null;)I.length>0&&(I+="|"),I+=_.state,_=_.parent;return I}static _equals(_,I){for(;_!==null&&I!==null;){if(_===I)return!0;if(_.state!==I.state)return!1;_=_.parent,I=I.parent}return _===null&&I===null}equals(_){return MonarchStackElement._equals(this,_)}push(_){return MonarchStackElementFactory.create(this,_)}pop(){return this.parent}popall(){let _=this;for(;_.parent;)_=_.parent;return _}switchTo(_){return MonarchStackElementFactory.create(this.parent,_)}}class EmbeddedLanguageData{constructor(_,I){this.languageId=_,this.state=I}equals(_){return this.languageId===_.languageId&&this.state.equals(_.state)}clone(){return this.state.clone()===this.state?this:new EmbeddedLanguageData(this.languageId,this.state)}}class MonarchLineStateFactory{static create(_,I){return this._INSTANCE.create(_,I)}constructor(_){this._maxCacheDepth=_,this._entries=Object.create(null)}create(_,I){if(I!==null)return new MonarchLineState(_,I);if(_!==null&&_.depth>=this._maxCacheDepth)return new MonarchLineState(_,I);const A=MonarchStackElement.getStackElementId(_);let N=this._entries[A];return N||(N=new MonarchLineState(_,null),this._entries[A]=N,N)}}MonarchLineStateFactory._INSTANCE=new MonarchLineStateFactory(CACHE_STACK_DEPTH);class MonarchLineState{constructor(_,I){this.stack=_,this.embeddedLanguageData=I}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:MonarchLineStateFactory.create(this.stack,this.embeddedLanguageData)}equals(_){return!(_ instanceof MonarchLineState)||!this.stack.equals(_.stack)?!1:this.embeddedLanguageData===null&&_.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||_.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(_.embeddedLanguageData)}}class MonarchClassicTokensCollector{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(_){this._languageId=_}emit(_,I){this._lastTokenType===I&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=I,this._lastTokenLanguage=this._languageId,this._tokens.push(new Token$2(_,I,this._languageId)))}nestedLanguageTokenize(_,I,A,N){const U=A.languageId,K=A.state,j=TokenizationRegistry.get(U);if(!j)return this.enterLanguage(U),this.emit(N,""),K;const q=j.tokenize(_,I,K);if(N!==0)for(const G of q.tokens)this._tokens.push(new Token$2(G.offset+N,G.type,G.language));else this._tokens=this._tokens.concat(q.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,q.endState}finalize(_){return new TokenizationResult(this._tokens,_)}}class MonarchModernTokensCollector{constructor(_,I){this._languageService=_,this._theme=I,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(_){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(_)}emit(_,I){const A=this._theme.match(this._currentLanguageId,I)|1024;this._lastTokenMetadata!==A&&(this._lastTokenMetadata=A,this._tokens.push(_),this._tokens.push(A))}static _merge(_,I,A){const N=_!==null?_.length:0,U=I.length,K=A!==null?A.length:0;if(N===0&&U===0&&K===0)return new Uint32Array(0);if(N===0&&U===0)return A;if(U===0&&K===0)return _;const j=new Uint32Array(N+U+K);_!==null&&j.set(_);for(let q=0;q{if(K)return;let q=!1;for(let G=0,Z=j.changedLanguages.length;G{j.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const _=[];for(const I in this._embeddedLanguages){const A=TokenizationRegistry.get(I);if(A){if(A instanceof An){const N=A.getLoadStatus();N.loaded===!1&&_.push(N.promise)}continue}TokenizationRegistry.isResolved(I)||_.push(TokenizationRegistry.getOrCreate(I))}return _.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(_).then(I=>{})}}getInitialState(){const _=MonarchStackElementFactory.create(null,this._lexer.start);return MonarchLineStateFactory.create(_,null)}tokenize(_,I,A){if(_.length>=this._maxTokenizationLineLength)return nullTokenize(this._languageId,A);const N=new MonarchClassicTokensCollector,U=this._tokenize(_,I,A,N);return N.finalize(U)}tokenizeEncoded(_,I,A){if(_.length>=this._maxTokenizationLineLength)return nullTokenizeEncoded(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),A);const N=new MonarchModernTokensCollector(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),U=this._tokenize(_,I,A,N);return N.finalize(U)}_tokenize(_,I,A,N){return A.embeddedLanguageData?this._nestedTokenize(_,I,A,0,N):this._myTokenize(_,I,A,0,N)}_findLeavingNestedLanguageOffset(_,I){let A=this._lexer.tokenizer[I.stack.state];if(!A&&(A=findRules(this._lexer,I.stack.state),!A))throw createError(this._lexer,"tokenizer state is not defined: "+I.stack.state);let N=-1,U=!1;for(const K of A){if(!isIAction(K.action)||K.action.nextEmbedded!=="@pop")continue;U=!0;let j=K.regex;const q=K.regex.source;if(q.substr(0,4)==="^(?:"&&q.substr(q.length-1,1)===")"){const Z=(j.ignoreCase?"i":"")+(j.unicode?"u":"");j=new RegExp(q.substr(4,q.length-5),Z)}const G=_.search(j);G===-1||G!==0&&K.matchOnlyAtLineStart||(N===-1||G0&&U.nestedLanguageTokenize(j,!1,A.embeddedLanguageData,N);const q=_.substring(K);return this._myTokenize(q,I,A,N+K,U)}_safeRuleName(_){return _?_.name:"(unknown)"}_myTokenize(_,I,A,N,U){U.enterLanguage(this._languageId);const K=_.length,j=I&&this._lexer.includeLF?_+` -`:_,q=j.length;let G=A.embeddedLanguageData,Z=A.stack,Y=0,Q=null,J=!0;for(;J||Y=q)break;J=!1;let de=this._lexer.tokenizer[ne];if(!de&&(de=findRules(this._lexer,ne),!de))throw createError(this._lexer,"tokenizer state is not defined: "+ne);const fe=j.substr(Y);for(const he of de)if((Y===0||!he.matchOnlyAtLineStart)&&(re=fe.match(he.regex),re)){oe=re[0],se=he.action;break}}if(re||(re=[""],oe=""),se||(Y=this._lexer.maxStack)throw createError(this._lexer,"maximum tokenizer stack size reached: ["+Z.state+","+Z.parent.state+",...]");Z=Z.push(ne)}else if(se.next==="@pop"){if(Z.depth<=1)throw createError(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(ae));Z=Z.pop()}else if(se.next==="@popall")Z=Z.popall();else{let de=substituteMatches(this._lexer,se.next,oe,re,ne);if(de[0]==="@"&&(de=de.substr(1)),findRules(this._lexer,de))Z=Z.push(de);else throw createError(this._lexer,"trying to set a next state '"+de+"' that is undefined in rule: "+this._safeRuleName(ae))}}se.log&&typeof se.log=="string"&&log(this._lexer,this._lexer.languageId+": "+substituteMatches(this._lexer,se.log,oe,re,ne))}if(ce===null)throw createError(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(ae));const le=de=>{const fe=this._languageService.getLanguageIdByLanguageName(de)||this._languageService.getLanguageIdByMimeType(de)||de,he=this._getNestedEmbeddedLanguageData(fe);if(Y0)throw createError(this._lexer,"groups cannot be nested: "+this._safeRuleName(ae));if(re.length!==ce.length+1)throw createError(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(ae));let de=0;for(let fe=1;feB});class Colorizer{static colorizeElement(_,I,A,N){N=N||{};const U=N.theme||"vs",K=N.mimeType||A.getAttribute("lang")||A.getAttribute("data-lang");if(!K)return console.error("Mode not detected"),Promise.resolve();const j=I.getLanguageIdByMimeType(K)||K;_.setTheme(U);const q=A.firstChild?A.firstChild.nodeValue:"";A.className+=" "+U;const G=Z=>{var Y;const Q=(Y=ttPolicy$3==null?void 0:ttPolicy$3.createHTML(Z))!==null&&Y!==void 0?Y:Z;A.innerHTML=Q};return this.colorize(I,q||"",j,N).then(G,Z=>console.error(Z))}static colorize(_,I,A,N){return __awaiter$1r(this,void 0,void 0,function*(){const U=_.languageIdCodec;let K=4;N&&typeof N.tabSize=="number"&&(K=N.tabSize),startsWithUTF8BOM(I)&&(I=I.substr(1));const j=splitLines(I);if(!_.isRegisteredLanguageId(A))return _fakeColorize(j,K,U);const q=yield TokenizationRegistry.getOrCreate(A);return q?_colorize(j,K,q,U):_fakeColorize(j,K,U)})}static colorizeLine(_,I,A,N,U=4){const K=ViewLineRenderingData.isBasicASCII(_,I),j=ViewLineRenderingData.containsRTL(_,K,A);return renderViewLine2(new RenderLineInput(!1,!0,_,!1,K,j,0,N,[],U,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(_,I,A=4){const N=_.getLineContent(I);_.tokenization.forceTokenization(I);const K=_.tokenization.getLineTokens(I).inflate();return this.colorizeLine(N,_.mightContainNonBasicASCII(),_.mightContainRTL(),K,A)}}function _colorize(B,_,I,A){return new Promise((N,U)=>{const K=()=>{const j=_actualColorize(B,_,I,A);if(I instanceof MonarchTokenizer){const q=I.getLoadStatus();if(q.loaded===!1){q.promise.then(K,U);return}}N(j)};K()})}function _fakeColorize(B,_,I){let A=[];const U=new Uint32Array(2);U[0]=0,U[1]=33587200;for(let K=0,j=B.length;K")}return A.join("")}function _actualColorize(B,_,I,A){let N=[],U=I.getInitialState();for(let K=0,j=B.length;K"),U=G.endState}return N.join("")}const BrowserFeatures={clipboard:{writeText:isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>isNative||isStandalone()?0:navigator.keyboard||isSafari?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function decodeKeybinding(B,_){if(typeof B=="number"){if(B===0)return null;const I=(B&65535)>>>0,A=(B&4294901760)>>>16;return A!==0?new Keybinding([createSimpleKeybinding(I,_),createSimpleKeybinding(A,_)]):new Keybinding([createSimpleKeybinding(I,_)])}else{const I=[];for(let A=0;A1?I-1:0),N=1;N/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(B){return typeof B}:function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B};function _toConsumableArray$1(B){if(Array.isArray(B)){for(var _=0,I=Array(B.length);_"u"?null:window},_createTrustedTypesPolicy=function(_,I){if((typeof _>"u"?"undefined":_typeof(_))!=="object"||typeof _.createPolicy!="function")return null;var A=null,N="data-tt-policy-suffix";I.currentScript&&I.currentScript.hasAttribute(N)&&(A=I.currentScript.getAttribute(N));var U="dompurify"+(A?"#"+A:"");try{return _.createPolicy(U,{createHTML:function(j){return j}})}catch{return console.warn("TrustedTypes policy "+U+" could not be created."),null}};function createDOMPurify(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:getGlobal(),_=function(Ee){return createDOMPurify(Ee)};if(_.version="2.3.1",_.removed=[],!B||!B.document||B.document.nodeType!==9)return _.isSupported=!1,_;var I=B.document,A=B.document,N=B.DocumentFragment,U=B.HTMLTemplateElement,K=B.Node,j=B.Element,q=B.NodeFilter,G=B.NamedNodeMap,Z=G===void 0?B.NamedNodeMap||B.MozNamedAttrMap:G,Y=B.Text,Q=B.Comment,J=B.DOMParser,ee=B.trustedTypes,te=j.prototype,ie=lookupGetter(te,"cloneNode"),ne=lookupGetter(te,"nextSibling"),re=lookupGetter(te,"childNodes"),oe=lookupGetter(te,"parentNode");if(typeof U=="function"){var se=A.createElement("template");se.content&&se.content.ownerDocument&&(A=se.content.ownerDocument)}var ae=_createTrustedTypesPolicy(ee,I),ue=ae&&it?ae.createHTML(""):"",ce=A,le=ce.implementation,de=ce.createNodeIterator,fe=ce.createDocumentFragment,he=ce.getElementsByTagName,ge=I.importNode,pe={};try{pe=clone(A).documentMode?A.documentMode:{}}catch{}var we={};_.isSupported=typeof oe=="function"&&le&&typeof le.createHTMLDocument<"u"&&pe!==9;var ye=MUSTACHE_EXPR,Le=ERB_EXPR,Se=DATA_ATTR,Ae=ARIA_ATTR,be=IS_SCRIPT_OR_DATA,xe=ATTR_WHITESPACE,$e=IS_ALLOWED_URI,Oe=null,ze=addToSet({},[].concat(_toConsumableArray$1(html),_toConsumableArray$1(svg),_toConsumableArray$1(svgFilters),_toConsumableArray$1(mathMl),_toConsumableArray$1(text))),Je=null,tt=addToSet({},[].concat(_toConsumableArray$1(html$1),_toConsumableArray$1(svg$1),_toConsumableArray$1(mathMl$1),_toConsumableArray$1(xml))),Ve=null,Ze=null,He=!0,Ue=!0,nt=!1,je=!1,gt=!1,ft=!1,ot=!1,pt=!1,_t=!1,Xe=!0,it=!1,et=!0,Be=!0,Re=!1,Ne={},Ce=null,ve=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Te=null,ke=addToSet({},["audio","video","img","source","image","track"]),De=null,me=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Pe="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Fe="http://www.w3.org/1999/xhtml",qe=Fe,Ke=!1,Ye=null,Ge=A.createElement("form"),at=function(Ee){Ye&&Ye===Ee||((!Ee||(typeof Ee>"u"?"undefined":_typeof(Ee))!=="object")&&(Ee={}),Ee=clone(Ee),Oe="ALLOWED_TAGS"in Ee?addToSet({},Ee.ALLOWED_TAGS):ze,Je="ALLOWED_ATTR"in Ee?addToSet({},Ee.ALLOWED_ATTR):tt,De="ADD_URI_SAFE_ATTR"in Ee?addToSet(clone(me),Ee.ADD_URI_SAFE_ATTR):me,Te="ADD_DATA_URI_TAGS"in Ee?addToSet(clone(ke),Ee.ADD_DATA_URI_TAGS):ke,Ce="FORBID_CONTENTS"in Ee?addToSet({},Ee.FORBID_CONTENTS):ve,Ve="FORBID_TAGS"in Ee?addToSet({},Ee.FORBID_TAGS):{},Ze="FORBID_ATTR"in Ee?addToSet({},Ee.FORBID_ATTR):{},Ne="USE_PROFILES"in Ee?Ee.USE_PROFILES:!1,He=Ee.ALLOW_ARIA_ATTR!==!1,Ue=Ee.ALLOW_DATA_ATTR!==!1,nt=Ee.ALLOW_UNKNOWN_PROTOCOLS||!1,je=Ee.SAFE_FOR_TEMPLATES||!1,gt=Ee.WHOLE_DOCUMENT||!1,pt=Ee.RETURN_DOM||!1,_t=Ee.RETURN_DOM_FRAGMENT||!1,Xe=Ee.RETURN_DOM_IMPORT!==!1,it=Ee.RETURN_TRUSTED_TYPE||!1,ot=Ee.FORCE_BODY||!1,et=Ee.SANITIZE_DOM!==!1,Be=Ee.KEEP_CONTENT!==!1,Re=Ee.IN_PLACE||!1,$e=Ee.ALLOWED_URI_REGEXP||$e,qe=Ee.NAMESPACE||Fe,je&&(Ue=!1),_t&&(pt=!0),Ne&&(Oe=addToSet({},[].concat(_toConsumableArray$1(text))),Je=[],Ne.html===!0&&(addToSet(Oe,html),addToSet(Je,html$1)),Ne.svg===!0&&(addToSet(Oe,svg),addToSet(Je,svg$1),addToSet(Je,xml)),Ne.svgFilters===!0&&(addToSet(Oe,svgFilters),addToSet(Je,svg$1),addToSet(Je,xml)),Ne.mathMl===!0&&(addToSet(Oe,mathMl),addToSet(Je,mathMl$1),addToSet(Je,xml))),Ee.ADD_TAGS&&(Oe===ze&&(Oe=clone(Oe)),addToSet(Oe,Ee.ADD_TAGS)),Ee.ADD_ATTR&&(Je===tt&&(Je=clone(Je)),addToSet(Je,Ee.ADD_ATTR)),Ee.ADD_URI_SAFE_ATTR&&addToSet(De,Ee.ADD_URI_SAFE_ATTR),Ee.FORBID_CONTENTS&&(Ce===ve&&(Ce=clone(Ce)),addToSet(Ce,Ee.FORBID_CONTENTS)),Be&&(Oe["#text"]=!0),gt&&addToSet(Oe,["html","head","body"]),Oe.table&&(addToSet(Oe,["tbody"]),delete Ve.tbody),freeze$1&&freeze$1(Ee),Ye=Ee)},st=addToSet({},["mi","mo","mn","ms","mtext"]),bt=addToSet({},["foreignobject","desc","title","annotation-xml"]),mt=addToSet({},svg);addToSet(mt,svgFilters),addToSet(mt,svgDisallowed);var ht=addToSet({},mathMl);addToSet(ht,mathMlDisallowed);var kt=function(Ee){var Qe=oe(Ee);(!Qe||!Qe.tagName)&&(Qe={namespaceURI:Fe,tagName:"template"});var lt=stringToLowerCase(Ee.tagName),wt=stringToLowerCase(Qe.tagName);if(Ee.namespaceURI===We)return Qe.namespaceURI===Fe?lt==="svg":Qe.namespaceURI===Pe?lt==="svg"&&(wt==="annotation-xml"||st[wt]):!!mt[lt];if(Ee.namespaceURI===Pe)return Qe.namespaceURI===Fe?lt==="math":Qe.namespaceURI===We?lt==="math"&&bt[wt]:!!ht[lt];if(Ee.namespaceURI===Fe){if(Qe.namespaceURI===We&&!bt[wt]||Qe.namespaceURI===Pe&&!st[wt])return!1;var Ot=addToSet({},["title","style","font","a","script"]);return!ht[lt]&&(Ot[lt]||!mt[lt])}return!1},vt=function(Ee){arrayPush(_.removed,{element:Ee});try{Ee.parentNode.removeChild(Ee)}catch{try{Ee.outerHTML=ue}catch{Ee.remove()}}},Ct=function(Ee,Qe){try{arrayPush(_.removed,{attribute:Qe.getAttributeNode(Ee),from:Qe})}catch{arrayPush(_.removed,{attribute:null,from:Qe})}if(Qe.removeAttribute(Ee),Ee==="is"&&!Je[Ee])if(pt||_t)try{vt(Qe)}catch{}else try{Qe.setAttribute(Ee,"")}catch{}},Dt=function(Ee){var Qe=void 0,lt=void 0;if(ot)Ee=""+Ee;else{var wt=stringMatch(Ee,/^[\r\n\t ]+/);lt=wt&&wt[0]}var Ot=ae?ae.createHTML(Ee):Ee;if(qe===Fe)try{Qe=new J().parseFromString(Ot,"text/html")}catch{}if(!Qe||!Qe.documentElement){Qe=le.createDocument(qe,"template",null);try{Qe.documentElement.innerHTML=Ke?"":Ot}catch{}}var St=Qe.body||Qe.documentElement;return Ee&<&&St.insertBefore(A.createTextNode(lt),St.childNodes[0]||null),qe===Fe?he.call(Qe,gt?"html":"body")[0]:gt?Qe.documentElement:St},Et=function(Ee){return de.call(Ee.ownerDocument||Ee,Ee,q.SHOW_ELEMENT|q.SHOW_COMMENT|q.SHOW_TEXT,null,!1)},Lt=function(Ee){return Ee instanceof Y||Ee instanceof Q?!1:typeof Ee.nodeName!="string"||typeof Ee.textContent!="string"||typeof Ee.removeChild!="function"||!(Ee.attributes instanceof Z)||typeof Ee.removeAttribute!="function"||typeof Ee.setAttribute!="function"||typeof Ee.namespaceURI!="string"||typeof Ee.insertBefore!="function"},Bt=function(Ee){return(typeof K>"u"?"undefined":_typeof(K))==="object"?Ee instanceof K:Ee&&(typeof Ee>"u"?"undefined":_typeof(Ee))==="object"&&typeof Ee.nodeType=="number"&&typeof Ee.nodeName=="string"},It=function(Ee,Qe,lt){we[Ee]&&arrayForEach(we[Ee],function(wt){wt.call(_,Qe,lt,Ye)})},Vt=function(Ee){var Qe=void 0;if(It("beforeSanitizeElements",Ee,null),Lt(Ee)||stringMatch(Ee.nodeName,/[\u0080-\uFFFF]/))return vt(Ee),!0;var lt=stringToLowerCase(Ee.nodeName);if(It("uponSanitizeElement",Ee,{tagName:lt,allowedTags:Oe}),!Bt(Ee.firstElementChild)&&(!Bt(Ee.content)||!Bt(Ee.content.firstElementChild))&®ExpTest(/<[/\w]/g,Ee.innerHTML)&®ExpTest(/<[/\w]/g,Ee.textContent)||lt==="select"&®ExpTest(/