@codexhost/cli-darwin-x64 0.25.0 → 0.26.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/app/codexhost-distribution.json +1 -1
- package/app/console-server.mjs +174 -18
- package/app/console-web.js +543 -230
- package/app/desktop-controller.mjs +154 -5
- package/app/host-runtime.mjs +1064 -645
- package/app/plugins/antigravity/plugin.mjs +202 -19
- package/app/plugins/claude-code/plugin.mjs +195 -10
- package/app/plugins/codebuddy/plugin.mjs +154 -5
- package/app/plugins/codex-usage/plugin.mjs +154 -5
- package/app/plugins/copilot/plugin.mjs +154 -5
- package/app/plugins/cursor-cli/plugin.mjs +154 -5
- package/app/plugins/deepseek-harness/plugin.mjs +182 -36
- package/app/plugins/devin/plugin.mjs +154 -5
- package/app/plugins/grok/plugin.mjs +154 -5
- package/app/plugins/hermes/plugin.mjs +198 -20
- package/app/plugins/kimi-code/plugin.mjs +154 -5
- package/app/plugins/kiro-cli/plugin.mjs +154 -5
- package/app/plugins/omp/plugin.mjs +154 -5
- package/app/plugins/opencode/plugin.mjs +155 -9
- package/app/plugins/pi/plugin.mjs +296 -33
- package/app/plugins/qoder/plugin.mjs +154 -5
- package/app/plugins/qoder-cn/plugin.mjs +154 -5
- package/app/plugins/qwen-code/plugin.mjs +154 -5
- package/app/plugins/workbuddy/plugin.mjs +154 -5
- package/app/plugins/zcode/plugin.mjs +154 -5
- package/app/renderer-extension.js +1132 -330
- package/app/web/assets/{index-DUOvhHbV.js → index-Bl_9AU27.js} +70 -70
- package/app/web/assets/{index-CTCFIQbU.css → index-arwoPpaG.css} +1 -1
- package/app/web/codexhost-settings.js +230 -140
- package/app/web/index.html +2 -2
- package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +8 -10
- package/app/web/plugins/deepseek-ai__dsh-client-ui-brand-official/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +13 -13
- package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +73 -73
- package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +75 -75
- package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-theme/client.js +1 -1
- package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
- package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +11 -11
- package/app/web-modules/server.mjs +14416 -13144
- package/bin/codexhost +0 -0
- package/libexec/CodexHost.app/Contents/Info.plist +2 -2
- package/libexec/CodexHost.app/Contents/MacOS/CodexHost +0 -0
- package/libexec/codexhost-shim +0 -0
- package/libexec/codexhost-updater +0 -0
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./langs/ruby-rH_O_vse.js","./langs/html-D5X2rnY9.js","./langs/javascript-DI5JR1nB.js","./langs/css-Z72CF80r.js","./langs/xml-sdJ4AIDG.js","./langs/java-CylS5w8V.js","./langs/sql-DkvoVjww.js","./langs/graphql-ChAeyPkT.js","./vendor-C9g2bw8s.js","./vendor-BNsW4eBh.css","./langs/cpp-DddhVWhK.js","./langs/c-BIGW1oBm.js","./langs/lua-BaeVxFsk.js","./langs/yaml-Buea-lGh.js","./langs/php-D8omCIuJ.js","./langs/scss-Cw6XMfVs.js","./langs/http-BvreBIbD.js","./langs/rst-Do7RLLCS.js","./langs/html-derivative-Cd6Og6Q7.js","./langs/python-B6aJPvgy.js","./langs/cmake-D1j8_8rp.js","./langs/latex-BK3a6r9z.js","./langs/r-Cf5RLm7j.js","./langs/julia-Cvj785wQ.js","./langs/erlang-DsQrWhSR.js","./langs/markdown-Cvjx9yec.js","./langs/elixir-23K7EnKp.js","./langs/fsharp-CXgrBDvD.js","./langs/perl-Devmrv7e.js","./langs/vue-C4DW8agZ.js","./langs/svelte-xZy73wAj.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as
|
|
2
|
+
import{c as ew,a as tw,b as nw,d as rw,t as ow,s as iw,j as sw,e as Ve,f as Z6,g as aw,h as _f,i as zd,u as lw,m as wi,k as pn,l as qu,n as W6,o as U6,p as cw,q as q6,r as uw,v as bf,w as w0}from"./vendor-C9g2bw8s.js";function El(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(r,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function vr(e){return e==null}function dw(e){return!vr(e)}function fw(e,t){return Object.fromEntries(Object.entries(e).map(([n,r])=>[n,t(r,n)]))}function tr(e,t,n){return Object.defineProperty(e,t,{writable:!0,value:n,enumerable:!1})}const G6=Symbol.for("cosmokit.volatile.write");function As(e){return typeof e=="object"&&e!==null&&G6 in e}function hw(e){const t=new Set;function n(r,s){if(As(r))return[{path:s,ref:r}];if(!r||typeof r!="object"||t.has(r))return[];if(!Array.isArray(r)&&Object.getPrototypeOf(r)!==Object.prototype&&Object.getPrototypeOf(r)!==null)return[];t.add(r);try{return Object.entries(r).flatMap(([l,u])=>n(u,[...s,l]))}finally{t.delete(r)}}return n(e,[])}function pw(e,t){e[G6](t.get())}function xi(e,t){return arguments.length===1?n=>xi(e,n):e in globalThis&&t instanceof globalThis[e]||Object.prototype.toString.call(t).slice(8,-1)===e}function x0(e){return xi("ArrayBuffer",e)||xi("SharedArrayBuffer",e)}function mw(e){return x0(e)||ArrayBuffer.isView(e)}var Ci;(e=>{e.is=x0,e.isSource=mw;function t(u){return ArrayBuffer.isView(u)?u.buffer.slice(u.byteOffset,u.byteOffset+u.byteLength):u}e.fromSource=t;function n(u){if(u=t(u),typeof Buffer<"u")return Buffer.from(u).toString("base64");let d="";const p=new Uint8Array(u);for(let m=0;m<p.byteLength;m++)d+=String.fromCharCode(p[m]);return btoa(d)}e.toBase64=n;function r(u){return typeof Buffer<"u"?t(Buffer.from(u,"base64")):Uint8Array.from(atob(u),d=>d.charCodeAt(0))}e.fromBase64=r;function s(u){return u=t(u),typeof Buffer<"u"?Buffer.from(u).toString("hex"):Array.from(new Uint8Array(u),d=>d.toString(16).padStart(2,"0")).join("")}e.toHex=s;function l(u){if(typeof Buffer<"u")return t(Buffer.from(u,"hex"));const d=u.length%2===0?u:u.slice(0,u.length-1),p=[];for(let m=0;m<d.length;m+=2)p.push(parseInt(`${d[m]}${d[m+1]}`,16));return Uint8Array.from(p).buffer}e.fromHex=l})(Ci||(Ci={}));Ci.fromBase64;Ci.toBase64;Ci.fromHex;Ci.toHex;function yi(e,t,n){const r=new Set;function s(l,u){if(l===u)return!0;if(As(l)||As(u))return As(l)&&As(u);if(!n&&vr(l)&&vr(u))return!0;if(typeof l!=typeof u||typeof l!="object"||!l||!u||r.has(l))return!1;function d(p,m){return p(l)?p(u)?m(l,u):!1:p(u)?!1:void 0}r.add(l);try{return d(Array.isArray,(p,m)=>{if(p.length!==m.length)return!1;for(let g=0;g<p.length;g++)if(!s(p[g],m[g]))return!1;return!0})??d(xi("Date"),(p,m)=>p.valueOf()===m.valueOf())??d(xi("URL"),(p,m)=>p.href===m.href)??d(xi("RegExp"),(p,m)=>p.source===m.source&&p.flags===m.flags)??d(x0,(p,m)=>{if(p.byteLength!==m.byteLength)return!1;const g=new Uint8Array(p),w=new Uint8Array(m);for(let x=0;x<g.length;x++)if(g[x]!==w[x])return!1;return!0})??((!n||[l,u].every(p=>Object.getPrototypeOf(p)===Object.prototype||Object.getPrototypeOf(p)===null))&&Object.keys({...l,...u}).every(p=>s(l[p],u[p])))}finally{r.delete(l)}}return s(e,t)}function gw(e,t,n){const r=[];let s=0;for(let l=0;l<e.length;l++){const u=e.charCodeAt(l);if(u>=65&&u<=90){if(s===1){const d=e.charCodeAt(l+1);d>=97&&d<=122&&r.push(n),r.push(u+32)}else s!==0&&r.push(n),r.push(u+32);s=1}else u>=97&&u<=122?(r.push(u),s=2):t.includes(u)?(s!==0&&r.push(n),s=0):r.push(u)}return String.fromCharCode(...r)}function vw(e){return gw(e,[45,95],45)}const ww=vw;var Cf;(e=>{e.millisecond=1,e.second=1e3,e.minute=e.second*60,e.hour=e.minute*60,e.day=e.hour*24,e.week=e.day*7;let t=new Date().getTimezoneOffset();function n(_){t=_}e.setTimezoneOffset=n;function r(){return t}e.getTimezoneOffset=r;function s(_=new Date,C){return typeof _=="number"&&(_=new Date(_)),C===void 0&&(C=t),Math.floor((_.valueOf()/e.minute-C)/1440)}e.getDateNumber=s;function l(_,C){const I=new Date(_*e.day);return C===void 0&&(C=t),new Date(+I+C*e.minute)}e.fromDateNumber=l;const u=/\d+(?:\.\d+)?/.source,d=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(_=>`(${u}${_})?`).join("")}$`);function p(_){const C=d.exec(_);return C?(parseFloat(C[1])*e.week||0)+(parseFloat(C[2])*e.day||0)+(parseFloat(C[3])*e.hour||0)+(parseFloat(C[4])*e.minute||0)+(parseFloat(C[5])*e.second||0):0}e.parseTime=p;function m(_){const C=p(_);return C?_=Date.now()+C:/^\d{1,2}(:\d{1,2}){1,2}$/.test(_)?_=`${new Date().toLocaleDateString()}-${_}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(_)&&(_=`${new Date().getFullYear()}-${_}`),_?new Date(_):new Date}e.parseDate=m;function g(_){const C=Math.abs(_);return C>=e.day-e.hour/2?Math.round(_/e.day)+"d":C>=e.hour-e.minute/2?Math.round(_/e.hour)+"h":C>=e.minute-e.second/2?Math.round(_/e.minute)+"m":C>=e.second?Math.round(_/e.second)+"s":_+"ms"}e.format=g;function w(_,C=2){return _.toString().padStart(C,"0")}e.toDigits=w;function x(_,C=new Date){return _.replace("yyyy",C.getFullYear().toString()).replace("yy",C.getFullYear().toString().slice(2)).replace("MM",w(C.getMonth()+1)).replace("dd",w(C.getDate())).replace("hh",w(C.getHours())).replace("mm",w(C.getMinutes())).replace("ss",w(C.getSeconds())).replace("SSS",w(C.getMilliseconds(),3))}e.template=x})(Cf||(Cf={}));class jl{sn=0;map=new Map;weak=new WeakMap;get length(){return this.map.size}push(t){const n=++this.sn;return this.map.set(n,t),this.weak.set(t,n),()=>this.map.delete(n)}delete(t){const n=this.weak.get(t);return n?this.map.delete(n):!1}clear(){const t=[...this.map.values()];return this.map.clear(),t.reverse()}[Symbol.iterator](){return this.map.values()}[Symbol.for("nodejs.util.inspect.custom")](){return[...this]}}const ve={shadow:Symbol.for("cordis.shadow"),receiver:Symbol.for("cordis.receiver"),original:Symbol.for("cordis.original"),metadata:Symbol.for("cordis.metadata"),initHooks:Symbol.for("cordis.initHooks"),checkProto:Symbol.for("cordis.checkProto"),effect:Symbol.for("cordis.effect"),filter:Symbol.for("cordis.filter"),isolate:Symbol.for("cordis.isolate"),intercept:Symbol.for("cordis.intercept"),init:Symbol.for("cordis.init"),check:Symbol.for("cordis.check"),config:Symbol.for("cordis.config"),invoke:Symbol.for("cordis.invoke"),extend:Symbol.for("cordis.extend"),tracker:Symbol.for("cordis.tracker"),resolveConfig:Symbol.for("cordis.resolveConfig")},xw=function*(){}.constructor,kf=async function*(){}.constructor;function K6(e){return!(!e.prototype||e instanceof xw||kf!==Function&&e instanceof kf)}function Il(e,t){if(e===Object.prototype)return t;const n=Object.create(Il(Object.getPrototypeOf(e),t));for(const r of Reflect.ownKeys(e))Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r));return n}function bo(e){return e&&(typeof e=="object"||typeof e=="function")}function Y6(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Wr(e,t){if(!bo(t))return t;if(Object.hasOwn(t,ve.shadow))return Object.getPrototypeOf(t);const n=t[ve.tracker];return n?y0(e,t,n):t}function qs(e,t){return t?new Proxy(e,{get:(n,r,s)=>r in t&&r!=="constructor"?Reflect.get(t,r,s):Reflect.get(n,r,s),set:(n,r,s,l)=>r in t&&r!=="constructor"?Reflect.set(t,r,s,l):Reflect.set(n,r,s,l)}):e}function Ad(e,t,n){return qs(e,Object.defineProperty(Object.create(null),t,{value:n,writable:!1}))}function Gu(e,t,n,r){if(!n)return r;const s=Reflect.getOwnPropertyDescriptor(t,n)?.value;return s?Ad(r,n,e.extend({[ve.shadow]:s})):r}function yw(e,t,n,r){return new Proxy(t,{apply:(s,l,u)=>(l===n&&(l=r),Wr(e,Reflect.apply(s,l,u)))})}function y0(e,t,n){e[ve.shadow]&&!n.noShadow&&(e=Object.getPrototypeOf(e));const r=new Proxy(t,{get:(s,l,u)=>{if(l===ve.original)return s;if(l===n.property)return e;if(typeof l=="symbol")return Reflect.get(s,l,u);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.get(e,`${n.associate}.${l}`,Ad(e,ve.receiver,u));let d,p;const m=Y6(s,l);m&&"value"in m?p=m.value:(d=Gu(e,s,n.property,u),p=Reflect.get(s,l,d));const g=p?.[ve.tracker];return g?y0(e,p,g):!n.noShadow&&typeof p=="function"?(d??=Gu(e,s,n.property,u),yw(e,p,u,d)):p},set:(s,l,u,d)=>{if(l===ve.original||l===n.property)return!1;if(typeof l=="symbol")return Reflect.set(s,l,u,d);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.set(e,`${n.associate}.${l}`,u,Ad(e,ve.receiver,d));const p=Gu(e,s,n.property,d);return Reflect.set(s,l,u,p)},apply:(s,l,u)=>J6(r,s,l,u)});return r}function J6(e,t,n,r){return t[ve.invoke]?t[ve.invoke].apply(e,r):Reflect.apply(t,n,r)}function nl(e,t,n){const r=function(...s){const l=y0(r.ctx,r,n);return J6(l,r,this,s)};return tr(r,"name",e),Object.setPrototypeOf(r,t)}function Sf(e,t,n){const r=e.error.stack.split(`
|
|
3
3
|
`);if(typeof t?.stack!="string"){const u=new Error(t),d=u.stack.split(`
|
|
4
4
|
`);throw d.splice(1,1/0,...n()),u.stack=d.join(`
|
|
5
5
|
`),u}const s=t.stack.split(`
|
|
6
6
|
`);let l=s.indexOf(r[2]);if(l===-1)throw t;for(l-=e.offset;l>0&&s[l-1].endsWith(" (<anonymous>)");)l-=1;throw s.splice(l,1/0,...n()),t.stack=s.join(`
|
|
7
|
-
`),t}function
|
|
8
|
-
`).slice(3+e)}function
|
|
9
|
-
`)}_method(t,n){return(...r)=>{if(r.length===1&&r[0]instanceof Error){if(r[0].cause)this[t](r[0].cause);else if(
|
|
7
|
+
`),t}function rl(e,t=Ml()){const n={offset:1,error:new Error};try{const r=e(n);return bo(r)&&"then"in r?r.then(void 0,s=>Sf(n,s,t)):r}catch(r){Sf(n,r,t)}}function Ml(e=0){const t=new Error;return()=>t.stack.split(`
|
|
8
|
+
`).slice(3+e)}function Rd(e){return e!==null&&e!==!1&&e!==void 0}class X6{constructor(t){this.ctx=t,tr(this,ve.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(n,r,s){if(n==="internal/update"&&!s.global){const l=this.fiber._hooks["internal/update"]??=new jl,u=s.prepend?"unshift":"push";return l[u](r)}}),this.on("internal/update",function(n,r,s){const l=[...this._hooks["internal/update"]||[]],u=()=>(l.shift()??s).call(this,n,r,u);return u()},{global:!0,prepend:!0})}_hooks={};dispatch(t,n){const r=typeof n[0]=="object"||typeof n[0]=="function"?n.shift():null,s=n.shift();s.startsWith("internal/")||this.emit("internal/dispatch",t,s,n,r);const l=r?.[ot.filter];return(this._hooks[s]||[]).filter(u=>u.global||!l||l.call(r,u.ctx)).map(u=>u.callback.bind(r))}async parallel(...t){const r=(await Promise.allSettled(this.dispatch("emit",t).map(async s=>s(...t)))).filter(s=>s.status==="rejected");if(r.length)throw new AggregateError(r.map(s=>s.reason))}emit(...t){this.dispatch("emit",t).map(n=>n(...t))}async serial(...t){for(const n of this.dispatch("serial",t)){const r=await n(...t);if(Rd(r))return r}}bail(...t){for(const n of this.dispatch("bail",t)){const r=n(...t);if(Rd(r))return r}}waterfall(...t){const n=this.dispatch("waterfall",t),r=t.pop(),s=()=>(n.shift()??r)(...t);return t.push(s),s()}register(t,n,r,s){const l=s.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>(n[l]({ctx:this.ctx,callback:r,...s}),()=>this.unregister(n,r)),t)}unregister(t,n){const r=t.findIndex(s=>s.callback===n);if(r>=0)return t.splice(r,1),!0}on(t,n,r){typeof r!="object"&&(r={prepend:r}),this.ctx.fiber.assertActive(),n=this.ctx.reflect.bind(n);const s=this.bail(this.ctx,"internal/listener",t,n,r);if(s)return s;const l=this._hooks[t]||=[],u=`ctx.on(${typeof t=="string"?JSON.stringify(t):t.toString()})`;return this.register(u,l,n,r)}once(t,n,r){const s=this.on(t,function(...l){return s(),n.apply(this,l)},r);return s}}var Q6=(e=>(e[e.ERROR=0]="ERROR",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.DEBUG=3]="DEBUG",e))(Q6||{});const Dd={s:e=>String(e),d:e=>Math.trunc(Number(e)),i:e=>Math.trunc(Number(e)),f:e=>Number(e),o:e=>JSON.stringify(e),O:e=>JSON.stringify(e),c:()=>"",C:(e,t,n)=>ol.color(t,ol.code(n.name,t.colors),e)};function _w(e){return e instanceof Error&&Array.isArray(e.errors)}class ol{constructor(t,n){this.service=n,Object.assign(this,t),this.error=this._method("error",0),this.info=this._method("info",1),this.warn=this._method("warn",2),this.debug=this._method("debug",3)}static color(t,n,r,s=""){return t.colors?`\x1B[3${n<8?n:"8;5;"+n}${t.colors>=2?s:""}m${r}\x1B[0m`:""+r}static code(t,n){let r=0;for(let l=0;l<t.length;l++)r=(r<<3)-r+t.charCodeAt(l)+13,r|=0;const s=n?n>=2?th:eh:[];return s[Math.abs(r)%s.length]}static format(t,n){const r=n.args.slice();r[0]instanceof Error?(r[0]=r[0].stack||r[0].message,r.unshift("%s")):typeof r[0]!="string"&&r.unshift("%o");let s=r.shift();s=s.replace(/%([a-zA-Z%])/g,(d,p)=>{if(d==="%%")return"%";const m=t.formatters?.[p]??Dd[p];if(typeof m=="function"){const g=r.shift();return m(g,t,n)}return d});const l=t.formatters?.o??Dd.o;for(let d of r)typeof d=="object"&&d&&(d=l(d,t,n)),s+=" "+d;const{maxLength:u=10240}=t;return s.split(/\r?\n/g).map(d=>d.slice(0,u)+(d.length>u?"...":"")).join(`
|
|
9
|
+
`)}_method(t,n){return(...r)=>{if(r.length===1&&r[0]instanceof Error){if(r[0].cause)this[t](r[0].cause);else if(_w(r[0])){r[0].errors.forEach(u=>this[t](u));return}}const s=++this.service._snMessage,l=Date.now();for(const u of this.service.exporters.values()){if((u.levels?.[this.name]??u.levels?.default??this.level??1)<n)continue;const p={sn:s,ts:l,type:t,level:n,name:this.name,...this.meta,args:r};u.export(p)}}}}const eh=[6,2,3,4,5,1],th=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221];class Ol{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(t){const n={property:"ctx",noShadow:!0},r=nl("logger",Il(Object.getPrototypeOf(this),Function.prototype),n);return Object.assign(r,this),r.ctx=t,tr(r,ve.tracker,n),r.exporter({colors:3,export:s=>{r.buffer.push(s),r.buffer.length>r.bufferSize&&(r.buffer=r.buffer.slice(-r.bufferSize))}}),r}exporter(t){return this.ctx.effect(()=>{const n=++this._snExporter;return this.exporters.set(n,t),()=>this.exporters.delete(n)},"ctx.logger.exporter()")}_resolveConfig(){let t=this.ctx[ve.intercept];const n=[];for(;"logger"in t;)Object.hasOwn(t,"logger")&&n.unshift(t.logger),t=Object.getPrototypeOf(t);return Object.assign({},...n)}[ve.invoke](t){const n=this._resolveConfig(),r=(this.ctx[ve.shadow]??this.ctx).fiber;return t??=n.name,t??=ww(r.name),new ol({name:t,level:n.level,meta:{fiber:new WeakRef(r)}},this)}static{for(const t of["error","info","warn","debug"])Ol.prototype[t]=function(...n){return this()[t](...n)}}}const bw=Symbol.for("ValidationError");class _0 extends TypeError{name="ValidationError";constructor(t){super(`invalid config:
|
|
10
10
|
`+t.map(n=>n.path?` - ${n.message} (at ${n.path.join(".")})`:` - ${n.message}`).join(`
|
|
11
|
-
`))}}Object.defineProperty(
|
|
11
|
+
`))}}Object.defineProperty(_0.prototype,bw,{value:!0});function b0(e,t){if(!e.Config)return t;const n=e.Config["~standard"].validate(t);if("then"in n)throw new TypeError("Async config validation is not supported");if(n.issues)throw new _0(n.issues);return n.value}const nh=new WeakMap;function Ku(e){const t=e();return nh.get(e)?.()??t}function Cw(e,t){const n=["internal/plugin",t];let r;try{r=e.events.dispatch("emit",n)}catch(s){e.logger.error(s);return}for(const s of r)try{const l=s(...n);Promise.resolve(l).catch(u=>e.logger.error(u))}catch(l){e.logger.error(l)}}var ki=(e=>(e[e.PENDING=0]="PENDING",e[e.LOADING=1]="LOADING",e[e.ACTIVE=2]="ACTIVE",e[e.FAILED=3]="FAILED",e[e.DISPOSED=4]="DISPOSED",e[e.UNLOADING=5]="UNLOADING",e))(ki||{});class Io extends Error{constructor(t,n){super(n??Io.Code[t]),this.code=t}}(e=>{e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(Io||(Io={}));const Yn="__INACTIVE__";class C0{constructor(t,n,r,s,l){this.parent=t,this.inject=r,this.runtime=s,this._config=n;const u=d=>{this._disposables.push(d)};if(s){this.uid=t.registry.counter,this.ctx=this.context=t.extend({fiber:this});const d=Object.entries(this.inject);if(d.length){this.ctx[ot.intercept]=Object.create(t[ot.intercept]);for(const[p,m]of d)vr(m)||(this.ctx[ot.intercept][p]=m)}this._runner={epoch:Yn,getOuterStack:l,execute:function(){if(K6(s.callback)){const p=new s.callback(this.ctx,this.config);for(const m of p?.[ve.initHooks]??[])m();return p?.[ve.init]?.()}else return s.callback(this.ctx,this.config)},collect:u},this.dispose=t.fiber.effect(()=>{const p=s.fibers.push(this);return async()=>{for(this.uid=null,Cw(this.context,this),this.ctx.registry.has(s.callback)&&(p(),s.fibers.length||this.ctx.registry.delete(s.callback)),this._setEpoch(Yn),this.inertia||this._updateState(()=>(this.inertia=this._unload(),5));this.inertia;)await this.inertia}},"ctx.plugin()");try{this.context.emit("internal/plugin",this)}catch(p){throw Promise.resolve(this.dispose()).catch(m=>this.ctx.logger.error(m)),p}if(this.uid!==null&&t.fiber.state!==5){for(const p of Object.keys(this.inject))this._checkImpl(p);this._refresh()}}else this.uid=0,this.ctx=this.context=t,this.state=2,this.store=Object.create(null),this._runner={epoch:"",getOuterStack:l,execute:()=>{},collect:u},this.dispose=()=>this.restart()}uid;ctx;config;_config;state=0;dispose;store;inertia;_hooks=Object.create(null);_disposables=new jl;context;_error;_runner;_store=Object.create(null);get name(){let t=this;do{if(t.runtime?.name)return t.runtime.name;t=t.parent.fiber}while(t!==t.parent.fiber);return"root"}assertActive(){if(this.uid===null)throw new Io("INACTIVE_EFFECT")}_execute(t){const n=t.epoch;return rl(r=>{const s=u=>{if(typeof u=="function")t.collect(u);else if(!vr(u))throw new TypeError("Invalid effect")},l=t.execute.call(this);if(typeof l=="function")return t.collect(l);if(!vr(l))if(bo(l)){if("then"in l)return l.then(s);if(Symbol.iterator in l){r.error=new Error;const u=l[Symbol.iterator]();for(;;){const d=u.next();if(s(d.value),d.done)return}}else if(Symbol.asyncIterator in l){const u=l[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),r.error=new Error;;){if(t.epoch!==n)return;const d=await u.next();if(s(d.value),d.done)return}})()}else throw new TypeError("Invalid effect")}else throw new TypeError("Invalid effect")},t.getOuterStack)}effect(t,n="anonymous"){if(this.assertActive(),this.state===5)throw new Io("INACTIVE_EFFECT");const r=[];let s=!1,l;const u=()=>{if(s)return l;s=!0;let Z;for(const ee of r.splice(0).reverse())if(Z)Z=Z.then(()=>Ku(ee));else{const q=Ku(ee);bo(q)&&"then"in q&&(Z=q)}return l=Z},d={label:n,children:[]},p={execute:t,epoch:!0,collect:Z=>{r.push(Z),this._disposables.delete(Z),Z[ve.effect]&&d.children.push(Z[ve.effect])},getOuterStack:Ml()};let m,g=!0,w,x,_,C=!1,I,M=()=>!1;const N=()=>(_??=new Promise((Z,ee)=>{w=Z,x=ee}),_),O=Z=>Promise.resolve(Z).then(()=>u(),async ee=>{throw await u(),ee}),B=Z=>{let ee;try{ee=Z()}catch(q){throw M(),q}if(bo(ee)&&"then"in ee){const q=Promise.resolve(ee).finally(()=>{M(),I===q&&(I=void 0)});return I=q}return M(),ee},z=tr(()=>p.epoch?(p.epoch=!1,B(()=>g?O(N()):m?O(m):u())):C?I:void 0,ve.effect,d);nh.set(z,()=>I),M=this._disposables.push(z);try{m=this._execute(p)}catch(Z){g=!1,C=!0,p.epoch=!1;let ee;try{ee=B(u)}finally{x?.(Z)}throw bo(ee)&&"then"in ee&&ee.catch(q=>this.ctx.logger.error(q)),Z}g=!1,_&&Promise.resolve(m).then(w,x),m?.catch(()=>p.epoch?B(u):u()).catch(Z=>this.ctx.logger.error(Z));const U=()=>{if(p.epoch)return p.epoch=!1,B(u)};return z.then=async(Z,ee)=>Promise.resolve(m).then(()=>U).then(Z,ee),z}getEffects(){return[...this._disposables].map(t=>t[ve.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Yn?2:0}_updateState(t){const n=this.state;if(this.state=t()??this._getState(),n!==this.state&&(this.context.emit("internal/status",this,n),!(n!==2&&this.state!==2)))for(const r of Reflect.ownKeys(this.ctx.reflect.store)){const s=this.ctx.reflect.store[r];s.fiber===this&&this.ctx.reflect.notify([s.name])}}_checkImpl(t){const n=this.ctx.reflect._getImpl(t,!0);if(!n)return delete this._store[t];try{if(n.check&&!n.check.call(Wr(this.ctx,n.value)))return delete this._store[t]}catch(r){return n.fiber.ctx.logger.error(r),delete this._store[t]}this._store[t]=n}_refresh(){let t=!1;t="";for(const n of Object.keys(this.inject)){const r=this._store[n];if(!r){t=Yn;break}t+=":"+r.fiber.uid}this._setEpoch(t)}_setEpoch(t){const n=this._runner.epoch;t!==n&&(this._runner.epoch=t,!this.inertia&&this._updateState(()=>t!==Yn&&n===Yn?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}_resolveConfig(t){return t=this.context.waterfall(this,"internal/config",t,()=>t),this.runtime?b0(this.runtime,t):t}async _reload(){this.store={...this._store};const t=this._runner.epoch;try{await Promise.resolve(),this._runner.epoch===t&&(this.config=this._resolveConfig(this._config),await this._execute(this._runner),this._error=void 0)}catch(n){this.ctx.logger.error(n),this._error=n,this._runner.epoch=Yn}this._updateState(()=>{if(this._runner.epoch===t)this.inertia=void 0;else return this.inertia=this._unload(),5})}async _unload(){await Promise.all(this._disposables.clear().map(async t=>{try{await rl(async n=>{await Promise.resolve(),n.error=new Error,await Ku(t)},this._runner.getOuterStack)}catch(n){this.ctx.logger.error(n)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===Yn)this.inertia=void 0;else return this.inertia=this._reload(),1})}async await(){for(;this.inertia;)await this.inertia;if(this._error)throw this._error;return this}async restart(){this.assertActive(),this._setEpoch(Yn),this._refresh(),await this.await()}update(t,n=!1){if(this.assertActive(),this._config=t,this.state!==2){this._error=void 0,this._setEpoch(Yn),this._refresh();return}t=this._resolveConfig(t),this.context.waterfall(this,"internal/update",t,n,()=>(this.config=t,this._error=void 0,this.restart()))}}function Yu(e){const t=e.stack.split(`
|
|
12
12
|
`);return t.splice(0,2,`Error: ${e.message}`),e.stack=t.join(`
|
|
13
|
-
`),e}const bw=["prototype","then"];function Yu(e){return typeof e=="symbol"||bw.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class Sf{constructor(t){this.ctx=t,tr(this,ve.tracker,{property:"ctx",noShadow:!0}),this.mixin("reflect",["get","set","provide","accessor","mixin"]),this.mixin("fiber",["runtime","effect"]),this.mixin("registry",["inject","plugin"]),this.mixin("events",["on","once","parallel","emit","serial","bail","waterfall"])}static handler={get:(t,n,r)=>{if(Yu(n))return Reflect.get(t,n,r);if(Reflect.has(t,n))return Zr(r,Reflect.get(t,n,r));const s=new Error(`cannot get property "${n}" without inject`);try{const l=t.reflect.props[n];return l?.type==="accessor"?l.get.call(r,r[ve.receiver],s):r.fiber.runtime?r.events.waterfall("internal/get",r,n,s,()=>{const u=t[ve.isolate][n];let d=(r[ve.shadow]??r).fiber;for(;;){const p=d.store?.[n];if(p)return Zr(r,p.value);if(n in d.inject)throw s.message=`cannot get required service "${n}" in inactive context`,s;if(!d.runtime||d.parent[ve.isolate][n]!==u)throw s;d=d.parent.fiber}}):r.reflect.get(n,!1)}catch(l){throw l===s?Ku(l):l}},set:(t,n,r,s)=>{if(Yu(n))return Reflect.set(t,n,r,s);const l=new Error(`cannot set property "${n}" without provide`),u=t.reflect.props[n];if(!u){if(!s.fiber.runtime)return Reflect.set(t,n,r,s);throw Ku(l)}try{return u.type==="accessor"?u.set?u.set.call(s,r,s[ve.receiver],l):!1:s.events.waterfall("internal/set",s,n,r,l,()=>s.reflect.set(n,r,l))}catch(d){throw d===l?Ku(d):d}},has:(t,n)=>Yu(n)?Reflect.has(t,n):Reflect.has(t,n)?!0:!!t.reflect.props[n]};store=Object.create(null);props=Object.create(null);get(t,n=!0){return Zr(this.ctx,this._getImpl(t,n)?.value)}_getImpl(t,n=!0){const r=this.ctx[ve.isolate][t],s=r&&this.store[r];if(s&&!(n&&s.fiber.state!==Ci.ACTIVE))return s}set(t,n,r){const s=this.ctx[ve.isolate][t],l=this.store[s];if(!l)throw new Error(`cannot set property "${t}" without provide`);if(l.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${t}" in multiple fibers`);return l.value=n,!0}provide(t,n,r){return this.ctx.fiber.effect(()=>{if(!this.props[t])this.props[t]??={type:"service"};else if(this.props[t].type!=="service")throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);this.props[t]={type:"service"},this.ctx.root[ve.isolate][t]??=Symbol(t);const s=this.ctx[ve.isolate][t],l={name:t,value:n,fiber:this.ctx.fiber,check:r};if(this.store[s])throw new Error(`service "${t}" has been registered at <${this.store[s].fiber.name}>`);return this.store[s]=l,this.ctx.fiber.store[t]=l,this.ctx.fiber.state===Ci.ACTIVE&&this.notify([t]),async()=>{delete this.store[s];const u=this.notify([t]);await Promise.allSettled(u.map(d=>d.await())),delete this.ctx.fiber.store[t]}},`ctx.provide(${JSON.stringify(t)})`)}notify(t,n=(r,s)=>r[ve.isolate][s]===this.ctx[ve.isolate][s]){const r=[];for(const s of this.ctx.registry.values())for(const l of s.fibers){let u=!1;for(const d of t)d in l.inject&&n(l.ctx,d)&&(u=!0,l._checkImpl(d));u&&(l._refresh(),r.push(l))}for(const s of t){const l=Object.create(this.ctx);l[ve.filter]=u=>n(u,s),this.ctx.events.emit(l,"internal/service",s,this._getImpl(s,!1)?.value)}return r}accessor(t,n){return this.ctx.fiber.effect(()=>{if(t in this.props)throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);return this.props[t]={type:"accessor",...n},()=>delete this.props[t]},`ctx.accessor(${JSON.stringify(t)})`)}mixin(t,n){const r=this;return this.ctx.fiber.effect(function*(){const s=Array.isArray(n)?n.map(u=>[u,u]):Object.entries(n),l=(u,d)=>u[t];for(const[u,d]of s)yield r.accessor(d,{get(p,m){const g=l(this);if(vr(g))return g;const w=p?Us(p,g):g,x=Reflect.get(g,u,w);return typeof x!="function"?x:x.bind(w??g)},set(p,m,g){const w=l(this),x=m?Us(m,w):w;return Reflect.set(w,u,p,x)}})},`ctx.mixin(${JSON.stringify(t)})`)}trace(t){return Zr(this.ctx,t)}bind(t){return new Proxy(t,{apply:(n,r,s)=>Reflect.apply(n,this.trace(r),s.map(l=>this.trace(l))),construct:(n,r,s)=>Reflect.construct(n,r.map(l=>this.trace(l)),s)})}}function Cw(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function qs(e,t){return function(n,r){if(r.kind==="class")Object.hasOwn(n,"inject")||(tr(n,"inject",Object.create(Object.getPrototypeOf(n).inject??null)),tr(n.inject,ve.checkProto,!0)),n.inject[e]=t;else if(r.kind==="method"){const s=(n[ve.metadata]??={}).inject??=Object.create(null);s[e]=t,r.addInitializer(function(){const l=this[ve.tracker]?.property;(this[ve.initHooks]??=[]).push(()=>{this.ctx.inject(s,u=>n.call(l?Us(this,{[l]:u}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(e=>{function t(n,r=Object.create(null)){if(!n)return r;if(Array.isArray(n))for(const s of n)r[s]=null;else if(Reflect.has(n,ve.checkProto)){Object.assign(r,t(Object.getPrototypeOf(n)));for(const s of Object.keys(n))r[s]=n[s]??null}else for(const s of Object.keys(n))r[s]=n[s]??null;return r}e.resolve=t})(qs||(qs={}));class nh{constructor(t){this.ctx=t,tr(this,ve.tracker,{property:"ctx",noShadow:!0})}_counter=0;_internal=new Map;get counter(){return++this._counter}get size(){return this._internal.size}resolve(t){try{if(typeof t=="function")return t;if(Cw(t))return t.apply}catch{}}get(t){const n=this.resolve(t);return n&&this._internal.get(n)}has(t){const n=this.resolve(t);return!!n&&this._internal.has(n)}delete(t){const n=this.resolve(t),r=n&&this._internal.get(n);if(r){this._internal.delete(n);for(const s of r.fibers)s.dispose();return r}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(t){return this._internal.forEach(t)}inject(t,n){return this.plugin({inject:t,apply:n,name:n.name})}plugin(t,n,r=Il()){const s=this.resolve(t);if(!s)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof t);this.ctx.fiber.assertActive();let l=this._internal.get(s);if(!l){let p=t.name;p==="apply"&&(p=void 0),l={name:p,callback:s,fibers:new El,Config:t.Config},this._internal.set(s,l)}const u=new b0(this.ctx,n,qs.resolve(t.inject),l,r),d=Object.create(u);return d.then=(p,m)=>u.await().then(p,m),d}}class ot{static effect=ve.effect;static filter=ve.filter;static isolate=ve.isolate;static intercept=ve.intercept;static is(t){return!!t?.[ot.is]}static{ot.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),ot.prototype[ot.is]=!0}constructor(){this[ve.isolate]=Object.create(null),this[ve.intercept]=Object.create(null);const t=new Proxy(this,Sf.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new b0(t,{},Object.create(null),null,()=>[]),this.reflect=new Sf(t),this.registry=new nh(t),this.events=new J6(t),this.logger=new Ml(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const n=Reflect.getOwnPropertyDescriptor(this,ve.shadow)?.value,r=Object.create(Zr(this,this));for(const s of Reflect.ownKeys(t))Object.defineProperty(r,s,Reflect.getOwnPropertyDescriptor(t,s));return n?Object.assign(Object.create(r),{[ve.shadow]:n}):r}isolate(t,n){const r=Object.create(this[ve.isolate]);return r[t]=n??Symbol(t),this.extend({[ve.isolate]:r})}intercept(t,n){const r=Object.create(this[ve.intercept]);return r[t]=n,this.extend({[ve.intercept]:r})}}class gr{constructor(t,n){this.ctx=t,n??=this.constructor.provide;let r=this;const s={associate:n,property:"ctx"};return r[ve.invoke]&&(r=tl(n,jl(Object.getPrototypeOf(this),Function.prototype),s)),r.ctx=t,r.name=n,tr(r,ve.tracker,s),r.ctx.reflect.provide(n,r,this[ve.check]),r}static init=ve.init;static check=ve.check;static config=ve.config;static invoke=ve.invoke;static extend=ve.extend;static tracker=ve.tracker;static resolveConfig=ve.resolveConfig;name;[ve.filter](t){return t[ve.isolate][this.name]===this.ctx[ve.isolate][this.name]}[ve.extend](t){let n;return this[gr.invoke]?n=tl(this.name,this,this[ve.tracker]):n=Object.create(this),Object.assign(n,t)}[ve.resolveConfig](t,n){let r=this.ctx[ot.intercept];const s=[];for(;this.name in r;)Object.hasOwn(r,this.name)&&s.unshift(r[this.name]),r=Object.getPrototypeOf(r);return t&&s.unshift(t),n&&s.push(n),this.Config?.merge?this.Config.merge(...s):Object.assign({},...s)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t.constructor;for(;n;){if(n=n.prototype?.constructor,n===this)return!0;n&&=Object.getPrototypeOf(n)}return!1}}const kw=Object.freeze(Object.defineProperty({__proto__:null,Context:ot,get CordisError(){return jo},DisposableList:El,EventsService:J6,Fiber:b0,FiberState:Ci,get Inject(){return qs},Logger:rl,LoggerLevel:X6,LoggerService:Ml,RegistryService:nh,Service:gr,ValidationError:y0,buildOuterStack:Il,c16:Q6,c256:eh,composeError:nl,createCallable:tl,defaultFormatters:Rd,getPropertyDescriptor:K6,getTraceable:Zr,isBailed:Ad,isConstructor:G6,isObject:_o,joinPrototype:jl,resolveConfig:_0,symbols:ve,withProps:Us},Symbol.toStringTag,{value:"Module"}));var Ef;const Sw=Object.freeze({status:"aborted"});function J(e,t,n){function r(d,p){if(d._zod||Object.defineProperty(d,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),d._zod.traits.has(e))return;d._zod.traits.add(e),t(d,p);const m=u.prototype,g=Object.keys(m);for(let w=0;w<g.length;w++){const x=g[w];x in d||(d[x]=m[x].bind(d))}}const s=n?.Parent??Object;class l extends s{}Object.defineProperty(l,"name",{value:e});function u(d){var p;const m=n?.Parent?new l:this;r(m,d),(p=m._zod).deferred??(p.deferred=[]);for(const g of m._zod.deferred)g();return m}return Object.defineProperty(u,"init",{value:r}),Object.defineProperty(u,Symbol.hasInstance,{value:d=>n?.Parent&&d instanceof n.Parent?!0:d?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class yi extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class rh extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Ef=globalThis).__zod_globalConfig??(Ef.__zod_globalConfig={});const C0=globalThis.__zod_globalConfig;function wr(e){return C0}function oh(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,s])=>t.indexOf(+r)===-1).map(([r,s])=>s)}function Dd(e,t){return typeof t=="bigint"?t.toString():t}function Ol(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function k0(e){return e==null}function S0(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Ew(e,t){const n=e/t,r=Math.round(n),s=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<s?0:n-r}const jf=Symbol("evaluating");function We(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==jf)return r===void 0&&(r=jf,r=n()),r},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function Po(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Kr(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function If(e){return JSON.stringify(e)}function jw(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const ih="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Gs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Iw=Ol(()=>{if(C0.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function ki(e){if(Gs(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Gs(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function sh(e){return ki(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Mw=new Set(["string","number","symbol"]);function Si(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Yr(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ke(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Ow(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Tw={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Lw(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const l=Kr(e._zod.def,{get shape(){const u={};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&(u[d]=n.shape[d])}return Po(this,"shape",u),u},checks:[]});return Yr(e,l)}function Nw(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const l=Kr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&delete u[d]}return Po(this,"shape",u),u},checks:[]});return Yr(e,l)}function Pw(e,t){if(!ki(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const l=e._zod.def.shape;for(const u in t)if(Object.getOwnPropertyDescriptor(l,u)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const s=Kr(e._zod.def,{get shape(){const l={...e._zod.def.shape,...t};return Po(this,"shape",l),l}});return Yr(e,s)}function zw(e,t){if(!ki(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Kr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return Po(this,"shape",r),r}});return Yr(e,n)}function Aw(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n=Kr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return Po(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Yr(e,n)}function Rw(e,t,n){const s=t._zod.def.checks;if(s&&s.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const u=Kr(t._zod.def,{get shape(){const d=t._zod.def.shape,p={...d};if(n)for(const m in n){if(!(m in d))throw new Error(`Unrecognized key: "${m}"`);n[m]&&(p[m]=e?new e({type:"optional",innerType:d[m]}):d[m])}else for(const m in d)p[m]=e?new e({type:"optional",innerType:d[m]}):d[m];return Po(this,"shape",p),p},checks:[]});return Yr(t,u)}function Dw(e,t,n){const r=Kr(t._zod.def,{get shape(){const s=t._zod.def.shape,l={...s};if(n)for(const u in n){if(!(u in l))throw new Error(`Unrecognized key: "${u}"`);n[u]&&(l[u]=new e({type:"nonoptional",innerType:s[u]}))}else for(const u in s)l[u]=new e({type:"nonoptional",innerType:s[u]});return Po(this,"shape",l),l}});return Yr(t,r)}function mi(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Fw(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Wr(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function ja(e){return typeof e=="string"?e:e?.message}function xr(e,t,n){const r=e.message?e.message:ja(e.inst?._zod.def?.error?.(e))??ja(t?.error?.(e))??ja(n.customError?.(e))??ja(n.localeError?.(e))??"Invalid input",{inst:s,continue:l,input:u,...d}=e;return d.path??(d.path=[]),d.message=r,t?.reportInput&&(d.input=u),d}function E0(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ks(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const ah=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Dd,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},lh=J("$ZodError",ah),ch=J("$ZodError",ah,{Parent:Error});function $w(e,t=n=>n.message){const n={},r=[];for(const s of e.issues)s.path.length>0?(n[s.path[0]]=n[s.path[0]]||[],n[s.path[0]].push(t(s))):r.push(t(s));return{formErrors:r,fieldErrors:n}}function Hw(e,t=n=>n.message){const n={_errors:[]},r=(s,l=[])=>{for(const u of s.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(d=>r({issues:d},[...l,...u.path]));else if(u.code==="invalid_key")r({issues:u.issues},[...l,...u.path]);else if(u.code==="invalid_element")r({issues:u.issues},[...l,...u.path]);else{const d=[...l,...u.path];if(d.length===0)n._errors.push(t(u));else{let p=n,m=0;for(;m<d.length;){const g=d[m];m===d.length-1?(p[g]=p[g]||{_errors:[]},p[g]._errors.push(t(u))):p[g]=p[g]||{_errors:[]},p=p[g],m++}}}};return r(e),n}const j0=e=>(t,n,r,s)=>{const l=r?{...r,async:!1}:{async:!1},u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise)throw new yi;if(u.issues.length){const d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw ih(d,s?.callee),d}return u.value},I0=e=>async(t,n,r,s)=>{const l=r?{...r,async:!0}:{async:!0};let u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise&&(u=await u),u.issues.length){const d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw ih(d,s?.callee),d}return u.value},Tl=e=>(t,n,r)=>{const s=r?{...r,async:!1}:{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new yi;return l.issues.length?{success:!1,error:new(e??lh)(l.issues.map(u=>xr(u,s,wr())))}:{success:!0,data:l.value}},Vw=Tl(ch),Ll=e=>async(t,n,r)=>{const s=r?{...r,async:!0}:{async:!0};let l=t._zod.run({value:n,issues:[]},s);return l instanceof Promise&&(l=await l),l.issues.length?{success:!1,error:new e(l.issues.map(u=>xr(u,s,wr())))}:{success:!0,data:l.value}},Bw=Ll(ch),Zw=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return j0(e)(t,n,s)},Ww=e=>(t,n,r)=>j0(e)(t,n,r),Uw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return I0(e)(t,n,s)},qw=e=>async(t,n,r)=>I0(e)(t,n,r),Gw=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Tl(e)(t,n,s)},Kw=e=>(t,n,r)=>Tl(e)(t,n,r),Yw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Ll(e)(t,n,s)},Jw=e=>async(t,n,r)=>Ll(e)(t,n,r),Xw=/^[cC][0-9a-z]{6,}$/,Qw=/^[0-9a-z]+$/,ex=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,tx=/^[0-9a-vA-V]{20}$/,nx=/^[A-Za-z0-9]{27}$/,rx=/^[a-zA-Z0-9_-]{21}$/,ox=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ix=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Mf=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,sx=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ax="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function lx(){return new RegExp(ax,"u")}const cx=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ux=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,dx=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,fx=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,hx=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,uh=/^[A-Za-z0-9_-]*$/,px=/^https?$/,mx=/^\+[1-9]\d{6,14}$/,dh="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",gx=new RegExp(`^${dh}$`);function fh(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function vx(e){return new RegExp(`^${fh(e)}$`)}function wx(e){const t=fh({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${dh}T(?:${r})$`)}const xx=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},yx=/^-?\d+$/,hh=/^-?\d+(?:\.\d+)?$/,_x=/^(?:true|false)$/i,bx=/^null$/i,Cx=/^[^A-Z]*$/,kx=/^[^a-z]*$/,sn=J("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),ph={number:"number",bigint:"bigint",object:"date"},mh=J("$ZodCheckLessThan",(e,t)=>{sn.init(e,t);const n=ph[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<l&&(t.inclusive?s.maximum=t.value:s.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),gh=J("$ZodCheckGreaterThan",(e,t)=>{sn.init(e,t);const n=ph[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>l&&(t.inclusive?s.minimum=t.value:s.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Sx=J("$ZodCheckMultipleOf",(e,t)=>{sn.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):Ew(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Ex=J("$ZodCheckNumberFormat",(e,t)=>{sn.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[s,l]=Tw[t.format];e._zod.onattach.push(u=>{const d=u._zod.bag;d.format=t.format,d.minimum=s,d.maximum=l,n&&(d.pattern=yx)}),e._zod.check=u=>{const d=u.value;if(n){if(!Number.isInteger(d)){u.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){d>0?u.issues.push({input:d,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):u.issues.push({input:d,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}d<s&&u.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),d>l&&u.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),jx=J("$ZodCheckMaxLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!k0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<s&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const s=r.value;if(s.length<=t.maximum)return;const u=E0(s);r.issues.push({origin:u,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Ix=J("$ZodCheckMinLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!k0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>s&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const s=r.value;if(s.length>=t.minimum)return;const u=E0(s);r.issues.push({origin:u,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Mx=J("$ZodCheckLengthEquals",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!k0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag;s.minimum=t.length,s.maximum=t.length,s.length=t.length}),e._zod.check=r=>{const s=r.value,l=s.length;if(l===t.length)return;const u=E0(s),d=l>t.length;r.issues.push({origin:u,...d?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Nl=J("$ZodCheckStringFormat",(e,t)=>{var n,r;sn.init(e,t),e._zod.onattach.push(s=>{const l=s._zod.bag;l.format=t.format,t.pattern&&(l.patterns??(l.patterns=new Set),l.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=s=>{t.pattern.lastIndex=0,!t.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ox=J("$ZodCheckRegex",(e,t)=>{Nl.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Tx=J("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Cx),Nl.init(e,t)}),Lx=J("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=kx),Nl.init(e,t)}),Nx=J("$ZodCheckIncludes",(e,t)=>{sn.init(e,t);const n=Si(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(s=>{const l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(r)}),e._zod.check=s=>{s.value.includes(t.includes,t.position)||s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),Px=J("$ZodCheckStartsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`^${Si(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),zx=J("$ZodCheckEndsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`.*${Si(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),Ax=J("$ZodCheckOverwrite",(e,t)=>{sn.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class Rx{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(`
|
|
13
|
+
`),e}const kw=["prototype","then"];function Ju(e){return typeof e=="symbol"||kw.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class Ef{constructor(t){this.ctx=t,tr(this,ve.tracker,{property:"ctx",noShadow:!0}),this.mixin("reflect",["get","set","provide","accessor","mixin"]),this.mixin("fiber",["runtime","effect"]),this.mixin("registry",["inject","plugin"]),this.mixin("events",["on","once","parallel","emit","serial","bail","waterfall"])}static handler={get:(t,n,r)=>{if(Ju(n))return Reflect.get(t,n,r);if(Reflect.has(t,n))return Wr(r,Reflect.get(t,n,r));const s=new Error(`cannot get property "${n}" without inject`);try{const l=t.reflect.props[n];return l?.type==="accessor"?l.get.call(r,r[ve.receiver],s):r.fiber.runtime?r.events.waterfall("internal/get",r,n,s,()=>{const u=t[ve.isolate][n];let d=(r[ve.shadow]??r).fiber;for(;;){const p=d.store?.[n];if(p)return Wr(r,p.value);if(n in d.inject)throw s.message=`cannot get required service "${n}" in inactive context`,s;if(!d.runtime||d.parent[ve.isolate][n]!==u)throw s;d=d.parent.fiber}}):r.reflect.get(n,!1)}catch(l){throw l===s?Yu(l):l}},set:(t,n,r,s)=>{if(Ju(n))return Reflect.set(t,n,r,s);const l=new Error(`cannot set property "${n}" without provide`),u=t.reflect.props[n];if(!u){if(!s.fiber.runtime)return Reflect.set(t,n,r,s);throw Yu(l)}try{return u.type==="accessor"?u.set?u.set.call(s,r,s[ve.receiver],l):!1:s.events.waterfall("internal/set",s,n,r,l,()=>s.reflect.set(n,r,l))}catch(d){throw d===l?Yu(d):d}},has:(t,n)=>Ju(n)?Reflect.has(t,n):Reflect.has(t,n)?!0:!!t.reflect.props[n]};store=Object.create(null);props=Object.create(null);get(t,n=!0){return Wr(this.ctx,this._getImpl(t,n)?.value)}_getImpl(t,n=!0){const r=this.ctx[ve.isolate][t],s=r&&this.store[r];if(s&&!(n&&s.fiber.state!==ki.ACTIVE))return s}set(t,n,r){const s=this.ctx[ve.isolate][t],l=this.store[s];if(!l)throw new Error(`cannot set property "${t}" without provide`);if(l.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${t}" in multiple fibers`);return l.value=n,!0}provide(t,n,r){return this.ctx.fiber.effect(()=>{if(!this.props[t])this.props[t]??={type:"service"};else if(this.props[t].type!=="service")throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);this.props[t]={type:"service"},this.ctx.root[ve.isolate][t]??=Symbol(t);const s=this.ctx[ve.isolate][t],l={name:t,value:n,fiber:this.ctx.fiber,check:r};if(this.store[s])throw new Error(`service "${t}" has been registered at <${this.store[s].fiber.name}>`);return this.store[s]=l,this.ctx.fiber.store[t]=l,this.ctx.fiber.state===ki.ACTIVE&&this.notify([t]),async()=>{delete this.store[s];const u=this.notify([t]);await Promise.allSettled(u.map(d=>d.await())),delete this.ctx.fiber.store[t]}},`ctx.provide(${JSON.stringify(t)})`)}notify(t,n=(r,s)=>r[ve.isolate][s]===this.ctx[ve.isolate][s]){const r=[];for(const s of this.ctx.registry.values())for(const l of s.fibers){let u=!1;for(const d of t)d in l.inject&&n(l.ctx,d)&&(u=!0,l._checkImpl(d));u&&(l._refresh(),r.push(l))}for(const s of t){const l=Object.create(this.ctx);l[ve.filter]=u=>n(u,s),this.ctx.events.emit(l,"internal/service",s,this._getImpl(s,!1)?.value)}return r}accessor(t,n){return this.ctx.fiber.effect(()=>{if(t in this.props)throw new Error(`property "${t}" is already declared as ${this.props[t].type}`);return this.props[t]={type:"accessor",...n},()=>delete this.props[t]},`ctx.accessor(${JSON.stringify(t)})`)}mixin(t,n){const r=this;return this.ctx.fiber.effect(function*(){const s=Array.isArray(n)?n.map(u=>[u,u]):Object.entries(n),l=(u,d)=>u[t];for(const[u,d]of s)yield r.accessor(d,{get(p,m){const g=l(this);if(vr(g))return g;const w=p?qs(p,g):g,x=Reflect.get(g,u,w);return typeof x!="function"?x:x.bind(w??g)},set(p,m,g){const w=l(this),x=m?qs(m,w):w;return Reflect.set(w,u,p,x)}})},`ctx.mixin(${JSON.stringify(t)})`)}trace(t){return Wr(this.ctx,t)}bind(t){return new Proxy(t,{apply:(n,r,s)=>Reflect.apply(n,this.trace(r),s.map(l=>this.trace(l))),construct:(n,r,s)=>Reflect.construct(n,r.map(l=>this.trace(l)),s)})}}function Sw(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function Gs(e,t){return function(n,r){if(r.kind==="class")Object.hasOwn(n,"inject")||(tr(n,"inject",Object.create(Object.getPrototypeOf(n).inject??null)),tr(n.inject,ve.checkProto,!0)),n.inject[e]=t;else if(r.kind==="method"){const s=(n[ve.metadata]??={}).inject??=Object.create(null);s[e]=t,r.addInitializer(function(){const l=this[ve.tracker]?.property;(this[ve.initHooks]??=[]).push(()=>{this.ctx.inject(s,u=>n.call(l?qs(this,{[l]:u}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(e=>{function t(n,r=Object.create(null)){if(!n)return r;if(Array.isArray(n))for(const s of n)r[s]=null;else if(Reflect.has(n,ve.checkProto)){Object.assign(r,t(Object.getPrototypeOf(n)));for(const s of Object.keys(n))r[s]=n[s]??null}else for(const s of Object.keys(n))r[s]=n[s]??null;return r}e.resolve=t})(Gs||(Gs={}));class rh{constructor(t){this.ctx=t,tr(this,ve.tracker,{property:"ctx",noShadow:!0})}_counter=0;_internal=new Map;get counter(){return++this._counter}get size(){return this._internal.size}resolve(t){try{if(typeof t=="function")return t;if(Sw(t))return t.apply}catch{}}get(t){const n=this.resolve(t);return n&&this._internal.get(n)}has(t){const n=this.resolve(t);return!!n&&this._internal.has(n)}delete(t){const n=this.resolve(t),r=n&&this._internal.get(n);if(r){this._internal.delete(n);for(const s of r.fibers)s.dispose();return r}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(t){return this._internal.forEach(t)}inject(t,n){return this.plugin({inject:t,apply:n,name:n.name})}plugin(t,n,r=Ml()){const s=this.resolve(t);if(!s)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof t);this.ctx.fiber.assertActive();let l=this._internal.get(s);if(!l){let p=t.name;p==="apply"&&(p=void 0),l={name:p,callback:s,fibers:new jl,Config:t.Config},this._internal.set(s,l)}const u=new C0(this.ctx,n,Gs.resolve(t.inject),l,r),d=Object.create(u);return d.then=(p,m)=>u.await().then(p,m),d}}class ot{static effect=ve.effect;static filter=ve.filter;static isolate=ve.isolate;static intercept=ve.intercept;static is(t){return!!t?.[ot.is]}static{ot.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),ot.prototype[ot.is]=!0}constructor(){this[ve.isolate]=Object.create(null),this[ve.intercept]=Object.create(null);const t=new Proxy(this,Ef.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new C0(t,{},Object.create(null),null,()=>[]),this.reflect=new Ef(t),this.registry=new rh(t),this.events=new X6(t),this.logger=new Ol(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const n=Reflect.getOwnPropertyDescriptor(this,ve.shadow)?.value,r=Object.create(Wr(this,this));for(const s of Reflect.ownKeys(t))Object.defineProperty(r,s,Reflect.getOwnPropertyDescriptor(t,s));return n?Object.assign(Object.create(r),{[ve.shadow]:n}):r}isolate(t,n){const r=Object.create(this[ve.isolate]);return r[t]=n??Symbol(t),this.extend({[ve.isolate]:r})}intercept(t,n){const r=Object.create(this[ve.intercept]);return r[t]=n,this.extend({[ve.intercept]:r})}}class gr{constructor(t,n){this.ctx=t,n??=this.constructor.provide;let r=this;const s={associate:n,property:"ctx"};return r[ve.invoke]&&(r=nl(n,Il(Object.getPrototypeOf(this),Function.prototype),s)),r.ctx=t,r.name=n,tr(r,ve.tracker,s),r.ctx.reflect.provide(n,r,this[ve.check]),r}static init=ve.init;static check=ve.check;static config=ve.config;static invoke=ve.invoke;static extend=ve.extend;static tracker=ve.tracker;static resolveConfig=ve.resolveConfig;name;[ve.filter](t){return t[ve.isolate][this.name]===this.ctx[ve.isolate][this.name]}[ve.extend](t){let n;return this[gr.invoke]?n=nl(this.name,this,this[ve.tracker]):n=Object.create(this),Object.assign(n,t)}[ve.resolveConfig](t,n){let r=this.ctx[ot.intercept];const s=[];for(;this.name in r;)Object.hasOwn(r,this.name)&&s.unshift(r[this.name]),r=Object.getPrototypeOf(r);return t&&s.unshift(t),n&&s.push(n),this.Config?.merge?this.Config.merge(...s):Object.assign({},...s)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t.constructor;for(;n;){if(n=n.prototype?.constructor,n===this)return!0;n&&=Object.getPrototypeOf(n)}return!1}}const Ew=Object.freeze(Object.defineProperty({__proto__:null,Context:ot,get CordisError(){return Io},DisposableList:jl,EventsService:X6,Fiber:C0,FiberState:ki,get Inject(){return Gs},Logger:ol,LoggerLevel:Q6,LoggerService:Ol,RegistryService:rh,Service:gr,ValidationError:_0,buildOuterStack:Ml,c16:eh,c256:th,composeError:rl,createCallable:nl,defaultFormatters:Dd,getPropertyDescriptor:Y6,getTraceable:Wr,isBailed:Rd,isConstructor:K6,isObject:bo,joinPrototype:Il,resolveConfig:b0,symbols:ve,withProps:qs},Symbol.toStringTag,{value:"Module"}));var jf;const jw=Object.freeze({status:"aborted"});function J(e,t,n){function r(d,p){if(d._zod||Object.defineProperty(d,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),d._zod.traits.has(e))return;d._zod.traits.add(e),t(d,p);const m=u.prototype,g=Object.keys(m);for(let w=0;w<g.length;w++){const x=g[w];x in d||(d[x]=m[x].bind(d))}}const s=n?.Parent??Object;class l extends s{}Object.defineProperty(l,"name",{value:e});function u(d){var p;const m=n?.Parent?new l:this;r(m,d),(p=m._zod).deferred??(p.deferred=[]);for(const g of m._zod.deferred)g();return m}return Object.defineProperty(u,"init",{value:r}),Object.defineProperty(u,Symbol.hasInstance,{value:d=>n?.Parent&&d instanceof n.Parent?!0:d?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class _i extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class oh extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(jf=globalThis).__zod_globalConfig??(jf.__zod_globalConfig={});const k0=globalThis.__zod_globalConfig;function wr(e){return k0}function ih(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,s])=>t.indexOf(+r)===-1).map(([r,s])=>s)}function Fd(e,t){return typeof t=="bigint"?t.toString():t}function Tl(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function S0(e){return e==null}function E0(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Iw(e,t){const n=e/t,r=Math.round(n),s=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-r)<s?0:n-r}const If=Symbol("evaluating");function We(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==If)return r===void 0&&(r=If,r=n()),r},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function zo(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Yr(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function Mf(e){return JSON.stringify(e)}function Mw(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const sh="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ks(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ow=Tl(()=>{if(k0.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Si(e){if(Ks(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Ks(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function ah(e){return Si(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Tw=new Set(["string","number","symbol"]);function Ei(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Jr(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function ke(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Lw(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Pw={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Nw(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const l=Yr(e._zod.def,{get shape(){const u={};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&(u[d]=n.shape[d])}return zo(this,"shape",u),u},checks:[]});return Jr(e,l)}function zw(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const l=Yr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const d in t){if(!(d in n.shape))throw new Error(`Unrecognized key: "${d}"`);t[d]&&delete u[d]}return zo(this,"shape",u),u},checks:[]});return Jr(e,l)}function Aw(e,t){if(!Si(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const l=e._zod.def.shape;for(const u in t)if(Object.getOwnPropertyDescriptor(l,u)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const s=Yr(e._zod.def,{get shape(){const l={...e._zod.def.shape,...t};return zo(this,"shape",l),l}});return Jr(e,s)}function Rw(e,t){if(!Si(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Yr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return zo(this,"shape",r),r}});return Jr(e,n)}function Dw(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n=Yr(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return zo(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Jr(e,n)}function Fw(e,t,n){const s=t._zod.def.checks;if(s&&s.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const u=Yr(t._zod.def,{get shape(){const d=t._zod.def.shape,p={...d};if(n)for(const m in n){if(!(m in d))throw new Error(`Unrecognized key: "${m}"`);n[m]&&(p[m]=e?new e({type:"optional",innerType:d[m]}):d[m])}else for(const m in d)p[m]=e?new e({type:"optional",innerType:d[m]}):d[m];return zo(this,"shape",p),p},checks:[]});return Jr(t,u)}function $w(e,t,n){const r=Yr(t._zod.def,{get shape(){const s=t._zod.def.shape,l={...s};if(n)for(const u in n){if(!(u in l))throw new Error(`Unrecognized key: "${u}"`);n[u]&&(l[u]=new e({type:"nonoptional",innerType:s[u]}))}else for(const u in s)l[u]=new e({type:"nonoptional",innerType:s[u]});return zo(this,"shape",l),l}});return Jr(t,r)}function gi(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Hw(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Ur(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function Ia(e){return typeof e=="string"?e:e?.message}function xr(e,t,n){const r=e.message?e.message:Ia(e.inst?._zod.def?.error?.(e))??Ia(t?.error?.(e))??Ia(n.customError?.(e))??Ia(n.localeError?.(e))??"Invalid input",{inst:s,continue:l,input:u,...d}=e;return d.path??(d.path=[]),d.message=r,t?.reportInput&&(d.input=u),d}function j0(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ys(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const lh=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Fd,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},ch=J("$ZodError",lh),uh=J("$ZodError",lh,{Parent:Error});function Vw(e,t=n=>n.message){const n={},r=[];for(const s of e.issues)s.path.length>0?(n[s.path[0]]=n[s.path[0]]||[],n[s.path[0]].push(t(s))):r.push(t(s));return{formErrors:r,fieldErrors:n}}function Bw(e,t=n=>n.message){const n={_errors:[]},r=(s,l=[])=>{for(const u of s.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(d=>r({issues:d},[...l,...u.path]));else if(u.code==="invalid_key")r({issues:u.issues},[...l,...u.path]);else if(u.code==="invalid_element")r({issues:u.issues},[...l,...u.path]);else{const d=[...l,...u.path];if(d.length===0)n._errors.push(t(u));else{let p=n,m=0;for(;m<d.length;){const g=d[m];m===d.length-1?(p[g]=p[g]||{_errors:[]},p[g]._errors.push(t(u))):p[g]=p[g]||{_errors:[]},p=p[g],m++}}}};return r(e),n}const I0=e=>(t,n,r,s)=>{const l=r?{...r,async:!1}:{async:!1},u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise)throw new _i;if(u.issues.length){const d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw sh(d,s?.callee),d}return u.value},M0=e=>async(t,n,r,s)=>{const l=r?{...r,async:!0}:{async:!0};let u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise&&(u=await u),u.issues.length){const d=new(s?.Err??e)(u.issues.map(p=>xr(p,l,wr())));throw sh(d,s?.callee),d}return u.value},Ll=e=>(t,n,r)=>{const s=r?{...r,async:!1}:{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new _i;return l.issues.length?{success:!1,error:new(e??ch)(l.issues.map(u=>xr(u,s,wr())))}:{success:!0,data:l.value}},Zw=Ll(uh),Pl=e=>async(t,n,r)=>{const s=r?{...r,async:!0}:{async:!0};let l=t._zod.run({value:n,issues:[]},s);return l instanceof Promise&&(l=await l),l.issues.length?{success:!1,error:new e(l.issues.map(u=>xr(u,s,wr())))}:{success:!0,data:l.value}},Ww=Pl(uh),Uw=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return I0(e)(t,n,s)},qw=e=>(t,n,r)=>I0(e)(t,n,r),Gw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return M0(e)(t,n,s)},Kw=e=>async(t,n,r)=>M0(e)(t,n,r),Yw=e=>(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Ll(e)(t,n,s)},Jw=e=>(t,n,r)=>Ll(e)(t,n,r),Xw=e=>async(t,n,r)=>{const s=r?{...r,direction:"backward"}:{direction:"backward"};return Pl(e)(t,n,s)},Qw=e=>async(t,n,r)=>Pl(e)(t,n,r),ex=/^[cC][0-9a-z]{6,}$/,tx=/^[0-9a-z]+$/,nx=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,rx=/^[0-9a-vA-V]{20}$/,ox=/^[A-Za-z0-9]{27}$/,ix=/^[a-zA-Z0-9_-]{21}$/,sx=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ax=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Of=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,lx=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,cx="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function ux(){return new RegExp(cx,"u")}const dx=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,fx=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,hx=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,px=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,mx=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,dh=/^[A-Za-z0-9_-]*$/,gx=/^https?$/,vx=/^\+[1-9]\d{6,14}$/,fh="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",wx=new RegExp(`^${fh}$`);function hh(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function xx(e){return new RegExp(`^${hh(e)}$`)}function yx(e){const t=hh({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${fh}T(?:${r})$`)}const _x=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},bx=/^-?\d+$/,ph=/^-?\d+(?:\.\d+)?$/,Cx=/^(?:true|false)$/i,kx=/^null$/i,Sx=/^[^A-Z]*$/,Ex=/^[^a-z]*$/,sn=J("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),mh={number:"number",bigint:"bigint",object:"date"},gh=J("$ZodCheckLessThan",(e,t)=>{sn.init(e,t);const n=mh[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.maximum:s.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<l&&(t.inclusive?s.maximum=t.value:s.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),vh=J("$ZodCheckGreaterThan",(e,t)=>{sn.init(e,t);const n=mh[typeof t.value];e._zod.onattach.push(r=>{const s=r._zod.bag,l=(t.inclusive?s.minimum:s.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>l&&(t.inclusive?s.minimum=t.value:s.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),jx=J("$ZodCheckMultipleOf",(e,t)=>{sn.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):Iw(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Ix=J("$ZodCheckNumberFormat",(e,t)=>{sn.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[s,l]=Pw[t.format];e._zod.onattach.push(u=>{const d=u._zod.bag;d.format=t.format,d.minimum=s,d.maximum=l,n&&(d.pattern=bx)}),e._zod.check=u=>{const d=u.value;if(n){if(!Number.isInteger(d)){u.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:d,inst:e});return}if(!Number.isSafeInteger(d)){d>0?u.issues.push({input:d,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):u.issues.push({input:d,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}d<s&&u.issues.push({origin:"number",input:d,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),d>l&&u.issues.push({origin:"number",input:d,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),Mx=J("$ZodCheckMaxLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!S0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<s&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const s=r.value;if(s.length<=t.maximum)return;const u=j0(s);r.issues.push({origin:u,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Ox=J("$ZodCheckMinLength",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!S0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>s&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const s=r.value;if(s.length>=t.minimum)return;const u=j0(s);r.issues.push({origin:u,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),Tx=J("$ZodCheckLengthEquals",(e,t)=>{var n;sn.init(e,t),(n=e._zod.def).when??(n.when=r=>{const s=r.value;return!S0(s)&&s.length!==void 0}),e._zod.onattach.push(r=>{const s=r._zod.bag;s.minimum=t.length,s.maximum=t.length,s.length=t.length}),e._zod.check=r=>{const s=r.value,l=s.length;if(l===t.length)return;const u=j0(s),d=l>t.length;r.issues.push({origin:u,...d?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),Nl=J("$ZodCheckStringFormat",(e,t)=>{var n,r;sn.init(e,t),e._zod.onattach.push(s=>{const l=s._zod.bag;l.format=t.format,t.pattern&&(l.patterns??(l.patterns=new Set),l.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=s=>{t.pattern.lastIndex=0,!t.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Lx=J("$ZodCheckRegex",(e,t)=>{Nl.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Px=J("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Sx),Nl.init(e,t)}),Nx=J("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Ex),Nl.init(e,t)}),zx=J("$ZodCheckIncludes",(e,t)=>{sn.init(e,t);const n=Ei(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(s=>{const l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(r)}),e._zod.check=s=>{s.value.includes(t.includes,t.position)||s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),Ax=J("$ZodCheckStartsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`^${Ei(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),Rx=J("$ZodCheckEndsWith",(e,t)=>{sn.init(e,t);const n=new RegExp(`.*${Ei(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const s=r._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),Dx=J("$ZodCheckOverwrite",(e,t)=>{sn.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class Fx{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(`
|
|
14
14
|
`).filter(u=>u),s=Math.min(...r.map(u=>u.length-u.trimStart().length)),l=r.map(u=>u.slice(s)).map(u=>" ".repeat(this.indent*2)+u);for(const u of l)this.content.push(u)}compile(){const t=Function,n=this?.args,s=[...(this?.content??[""]).map(l=>` ${l}`)];return new t(...n,s.join(`
|
|
15
|
-
`))}}const
|
|
15
|
+
`))}}const $x={major:4,minor:4,patch:3},nt=J("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=$x;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const s of r)for(const l of s._zod.onattach)l(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const s=(u,d,p)=>{let m=gi(u),g;for(const w of d){if(w._zod.def.when){if(Hw(u)||!w._zod.def.when(u))continue}else if(m)continue;const x=u.issues.length,_=w._zod.check(u);if(_ instanceof Promise&&p?.async===!1)throw new _i;if(g||_ instanceof Promise)g=(g??Promise.resolve()).then(async()=>{await _,u.issues.length!==x&&(m||(m=gi(u,x)))});else{if(u.issues.length===x)continue;m||(m=gi(u,x))}}return g?g.then(()=>u):u},l=(u,d,p)=>{if(gi(u))return u.aborted=!0,u;const m=s(d,r,p);if(m instanceof Promise){if(p.async===!1)throw new _i;return m.then(g=>e._zod.parse(g,p))}return e._zod.parse(m,p)};e._zod.run=(u,d)=>{if(d.skipChecks)return e._zod.parse(u,d);if(d.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...d,skipChecks:!0});return m instanceof Promise?m.then(g=>l(g,u,d)):l(m,u,d)}const p=e._zod.parse(u,d);if(p instanceof Promise){if(d.async===!1)throw new _i;return p.then(m=>s(m,r,d))}return s(p,r,d)}}We(e,"~standard",()=>({validate:s=>{try{const l=Zw(e,s);return l.success?{value:l.data}:{issues:l.error?.issues}}catch{return Ww(e,s).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},vendor:"zod",version:1}))}),O0=J("$ZodString",(e,t)=>{nt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??_x(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ut=J("$ZodStringFormat",(e,t)=>{Nl.init(e,t),O0.init(e,t)}),Hx=J("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ax),ut.init(e,t)}),Vx=J("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Of(r))}else t.pattern??(t.pattern=Of());ut.init(e,t)}),Bx=J("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=lx),ut.init(e,t)}),Zx=J("$ZodURL",(e,t)=>{ut.init(e,t),e._zod.check=n=>{try{const r=n.value.trim();if(!t.normalize&&t.protocol?.source===gx.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}const s=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(s.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(s.protocol.endsWith(":")?s.protocol.slice(0,-1):s.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=s.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Wx=J("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ux()),ut.init(e,t)}),Ux=J("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=ix),ut.init(e,t)}),qx=J("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=ex),ut.init(e,t)}),Gx=J("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=tx),ut.init(e,t)}),Kx=J("$ZodULID",(e,t)=>{t.pattern??(t.pattern=nx),ut.init(e,t)}),Yx=J("$ZodXID",(e,t)=>{t.pattern??(t.pattern=rx),ut.init(e,t)}),Jx=J("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=ox),ut.init(e,t)}),Xx=J("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=yx(t)),ut.init(e,t)}),Qx=J("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=wx),ut.init(e,t)}),ey=J("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=xx(t)),ut.init(e,t)}),ty=J("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=sx),ut.init(e,t)}),ny=J("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=dx),ut.init(e,t),e._zod.bag.format="ipv4"}),ry=J("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=fx),ut.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),oy=J("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=hx),ut.init(e,t)}),iy=J("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=px),ut.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[s,l]=r;if(!l)throw new Error;const u=Number(l);if(`${u}`!==l)throw new Error;if(u<0||u>128)throw new Error;new URL(`http://[${s}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function wh(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const sy=J("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=mx),ut.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{wh(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function ay(e){if(!dh.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return wh(n)}const ly=J("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=dh),ut.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{ay(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),cy=J("$ZodE164",(e,t)=>{t.pattern??(t.pattern=vx),ut.init(e,t)});function uy(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const s=JSON.parse(atob(r));return!("typ"in s&&s?.typ!=="JWT"||!s.alg||t&&(!("alg"in s)||s.alg!==t))}catch{return!1}}const dy=J("$ZodJWT",(e,t)=>{ut.init(e,t),e._zod.check=n=>{uy(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),xh=J("$ZodNumber",(e,t)=>{nt.init(e,t),e._zod.pattern=e._zod.bag.pattern??ph,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const s=n.value;if(typeof s=="number"&&!Number.isNaN(s)&&Number.isFinite(s))return n;const l=typeof s=="number"?Number.isNaN(s)?"NaN":Number.isFinite(s)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...l?{received:l}:{}}),n}}),fy=J("$ZodNumberFormat",(e,t)=>{Ix.init(e,t),xh.init(e,t)}),hy=J("$ZodBoolean",(e,t)=>{nt.init(e,t),e._zod.pattern=Cx,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const s=n.value;return typeof s=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),n}}),py=J("$ZodNull",(e,t)=>{nt.init(e,t),e._zod.pattern=kx,e._zod.values=new Set([null]),e._zod.parse=(n,r)=>{const s=n.value;return s===null||n.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),n}}),my=J("$ZodUnknown",(e,t)=>{nt.init(e,t),e._zod.parse=n=>n}),gy=J("$ZodNever",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Tf(e,t,n){e.issues.length&&t.issues.push(...Ur(n,e.issues)),t.value[n]=e.value}const vy=J("$ZodArray",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!Array.isArray(s))return n.issues.push({expected:"array",code:"invalid_type",input:s,inst:e}),n;n.value=Array(s.length);const l=[];for(let u=0;u<s.length;u++){const d=s[u],p=t.element._zod.run({value:d,issues:[]},r);p instanceof Promise?l.push(p.then(m=>Tf(m,n,u))):Tf(p,n,u)}return l.length?Promise.all(l).then(()=>n):n}});function il(e,t,n,r,s,l){const u=n in r;if(e.issues.length){if(s&&l&&!u)return;t.issues.push(...Ur(n,e.issues))}if(!u&&!s){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?u&&(t.value[n]=void 0):t.value[n]=e.value}function yh(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=Lw(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function _h(e,t,n,r,s,l){const u=[],d=s.keySet,p=s.catchall._zod,m=p.def.type,g=p.optin==="optional",w=p.optout==="optional";for(const x in t){if(x==="__proto__"||d.has(x))continue;if(m==="never"){u.push(x);continue}const _=p.run({value:t[x],issues:[]},r);_ instanceof Promise?e.push(_.then(C=>il(C,n,x,t,g,w))):il(_,n,x,t,g,w)}return u.length&&n.issues.push({code:"unrecognized_keys",keys:u,input:t,inst:l}),e.length?Promise.all(e).then(()=>n):n}const wy=J("$ZodObject",(e,t)=>{if(nt.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const d=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...d};return Object.defineProperty(t,"shape",{value:p}),p}})}const r=Tl(()=>yh(t));We(e._zod,"propValues",()=>{const d=t.shape,p={};for(const m in d){const g=d[m]._zod;if(g.values){p[m]??(p[m]=new Set);for(const w of g.values)p[m].add(w)}}return p});const s=Ks,l=t.catchall;let u;e._zod.parse=(d,p)=>{u??(u=r.value);const m=d.value;if(!s(m))return d.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),d;d.value={};const g=[],w=u.shape;for(const x of u.keys){const _=w[x],C=_._zod.optin==="optional",I=_._zod.optout==="optional",M=_._zod.run({value:m[x],issues:[]},p);M instanceof Promise?g.push(M.then(N=>il(N,d,x,m,C,I))):il(M,d,x,m,C,I)}return l?_h(g,m,d,p,r.value,e):g.length?Promise.all(g).then(()=>d):d}}),xy=J("$ZodObjectJIT",(e,t)=>{wy.init(e,t);const n=e._zod.parse,r=Tl(()=>yh(t)),s=x=>{const _=new Fx(["shape","payload","ctx"]),C=r.value,I=B=>{const z=Mf(B);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};_.write("const input = payload.value;");const M=Object.create(null);let N=0;for(const B of C.keys)M[B]=`key_${N++}`;_.write("const newResult = {};");for(const B of C.keys){const z=M[B],U=Mf(B),Z=x[B],ee=Z?._zod?.optin==="optional",q=Z?._zod?.optout==="optional";_.write(`const ${z} = ${I(B)};`),ee&&q?_.write(`
|
|
16
16
|
if (${z}.issues.length) {
|
|
17
17
|
if (${U} in input) {
|
|
18
18
|
payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
|
|
@@ -30,7 +30,7 @@ import{c as Xv,a as Qv,b as ew,d as tw,t as nw,s as rw,j as ow,e as Ve,f as B6,g
|
|
|
30
30
|
newResult[${U}] = ${z}.value;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
`):ee?
|
|
33
|
+
`):ee?_.write(`
|
|
34
34
|
if (${z}.issues.length) {
|
|
35
35
|
payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
|
|
36
36
|
...iss,
|
|
@@ -46,7 +46,7 @@ import{c as Xv,a as Qv,b as ew,d as tw,t as nw,s as rw,j as ow,e as Ve,f as B6,g
|
|
|
46
46
|
newResult[${U}] = ${z}.value;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
`):
|
|
49
|
+
`):_.write(`
|
|
50
50
|
const ${z}_present = ${U} in input;
|
|
51
51
|
if (${z}.issues.length) {
|
|
52
52
|
payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
|
|
@@ -71,11 +71,11 @@ import{c as Xv,a as Qv,b as ew,d as tw,t as nw,s as rw,j as ow,e as Ve,f as B6,g
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
`)}y.write("payload.value = newResult;"),y.write("return payload;");const O=y.compile();return(B,z)=>O(x,B,z)};let l;const u=Gs,d=!C0.jitless,m=d&&Iw.value,g=t.catchall;let w;e._zod.parse=(x,y)=>{w??(w=r.value);const b=x.value;return u(b)?d&&m&&y?.async===!1&&y.jitless!==!0?(l||(l=s(t.shape)),x=l(x,y),g?yh([],b,x,y,w,e):x):n(x,y):(x.issues.push({expected:"object",code:"invalid_type",input:b,inst:e}),x)}});function Tf(e,t,n,r){for(const l of e)if(l.issues.length===0)return t.value=l.value,t;const s=e.filter(l=>!mi(l));return s.length===1?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(l=>l.issues.map(u=>xr(u,r,wr())))}),t)}const _h=J("$ZodUnion",(e,t)=>{nt.init(e,t),We(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),We(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),We(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),We(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){const r=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${r.map(s=>S0(s.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,s)=>{if(n)return n(r,s);let l=!1;const u=[];for(const d of t.options){const p=d._zod.run({value:r.value,issues:[]},s);if(p instanceof Promise)u.push(p),l=!0;else{if(p.issues.length===0)return p;u.push(p)}}return l?Promise.all(u).then(d=>Tf(d,r,e,s)):Tf(u,r,e,s)}}),wy=J("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,_h.init(e,t);const n=e._zod.parse;We(e._zod,"propValues",()=>{const s={};for(const l of t.options){const u=l._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const[d,p]of Object.entries(u)){s[d]||(s[d]=new Set);for(const m of p)s[d].add(m)}}return s});const r=Ol(()=>{const s=t.options,l=new Map;for(const u of s){const d=u._zod.propValues?.[t.discriminator];if(!d||d.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(const p of d){if(l.has(p))throw new Error(`Duplicate discriminator value "${String(p)}"`);l.set(p,u)}}return l});e._zod.parse=(s,l)=>{const u=s.value;if(!Gs(u))return s.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),s;const d=r.value.get(u?.[t.discriminator]);return d?d._zod.run(s,l):t.unionFallback||l.direction==="backward"?n(s,l):(s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:u,path:[t.discriminator],inst:e}),s)}}),xy=J("$ZodIntersection",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value,l=t.left._zod.run({value:s,issues:[]},r),u=t.right._zod.run({value:s,issues:[]},r);return l instanceof Promise||u instanceof Promise?Promise.all([l,u]).then(([p,m])=>Lf(n,p,m)):Lf(n,l,u)}});function Fd(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ki(e)&&ki(t)){const n=Object.keys(t),r=Object.keys(e).filter(l=>n.indexOf(l)!==-1),s={...e,...t};for(const l of r){const u=Fd(e[l],t[l]);if(!u.valid)return{valid:!1,mergeErrorPath:[l,...u.mergeErrorPath]};s[l]=u.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const s=e[r],l=t[r],u=Fd(s,l);if(!u.valid)return{valid:!1,mergeErrorPath:[r,...u.mergeErrorPath]};n.push(u.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Lf(e,t,n){const r=new Map;let s;for(const d of t.issues)if(d.code==="unrecognized_keys"){s??(s=d);for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).l=!0}else e.issues.push(d);for(const d of n.issues)if(d.code==="unrecognized_keys")for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).r=!0;else e.issues.push(d);const l=[...r].filter(([,d])=>d.l&&d.r).map(([d])=>d);if(l.length&&s&&e.issues.push({...s,keys:l}),mi(e))return e;const u=Fd(t.value,n.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const yy=J("$ZodTuple",(e,t)=>{nt.init(e,t);const n=t.items;e._zod.parse=(r,s)=>{const l=r.value;if(!Array.isArray(l))return r.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];const u=[],d=Nf(n,"optin"),p=Nf(n,"optout");if(!t.rest){if(l.length<d)return r.issues.push({code:"too_small",minimum:d,inclusive:!0,input:l,inst:e,origin:"array"}),r;l.length>n.length&&r.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:l,inst:e,origin:"array"})}const m=new Array(n.length);for(let g=0;g<n.length;g++){const w=n[g]._zod.run({value:l[g],issues:[]},s);w instanceof Promise?u.push(w.then(x=>{m[g]=x})):m[g]=w}if(t.rest){let g=n.length-1;const w=l.slice(n.length);for(const x of w){g++;const y=t.rest._zod.run({value:x,issues:[]},s);y instanceof Promise?u.push(y.then(b=>Pf(b,r,g))):Pf(y,r,g)}}return u.length?Promise.all(u).then(()=>zf(m,r,n,l,p)):zf(m,r,n,l,p)}});function Nf(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function Pf(e,t,n){e.issues.length&&t.issues.push(...Wr(n,e.issues)),t.value[n]=e.value}function zf(e,t,n,r,s){for(let l=0;l<n.length;l++){const u=e[l],d=l<r.length;if(u.issues.length){if(!d&&l>=s){t.value.length=l;break}t.issues.push(...Wr(l,u.issues))}t.value[l]=u.value}for(let l=t.value.length-1;l>=r.length&&(n[l]._zod.optout==="optional"&&t.value[l]===void 0);l--)t.value.length=l;return t}const _y=J("$ZodRecord",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!ki(s))return n.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),n;const l=[],u=t.keyType._zod.values;if(u){n.value={};const d=new Set;for(const m of u)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){d.add(typeof m=="number"?m.toString():m);const g=t.keyType._zod.run({value:m,issues:[]},r);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(g.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map(y=>xr(y,r,wr())),input:m,path:[m],inst:e});continue}const w=g.value,x=t.valueType._zod.run({value:s[m],issues:[]},r);x instanceof Promise?l.push(x.then(y=>{y.issues.length&&n.issues.push(...Wr(m,y.issues)),n.value[w]=y.value})):(x.issues.length&&n.issues.push(...Wr(m,x.issues)),n.value[w]=x.value)}let p;for(const m in s)d.has(m)||(p=p??[],p.push(m));p&&p.length>0&&n.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:p})}else{n.value={};for(const d of Reflect.ownKeys(s)){if(d==="__proto__"||!Object.prototype.propertyIsEnumerable.call(s,d))continue;let p=t.keyType._zod.run({value:d,issues:[]},r);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof d=="string"&&hh.test(d)&&p.issues.length){const w=t.keyType._zod.run({value:Number(d),issues:[]},r);if(w instanceof Promise)throw new Error("Async schemas not supported in object keys currently");w.issues.length===0&&(p=w)}if(p.issues.length){t.mode==="loose"?n.value[d]=s[d]:n.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(w=>xr(w,r,wr())),input:d,path:[d],inst:e});continue}const g=t.valueType._zod.run({value:s[d],issues:[]},r);g instanceof Promise?l.push(g.then(w=>{w.issues.length&&n.issues.push(...Wr(d,w.issues)),n.value[p.value]=w.value})):(g.issues.length&&n.issues.push(...Wr(d,g.issues)),n.value[p.value]=g.value)}}return l.length?Promise.all(l).then(()=>n):n}}),by=J("$ZodEnum",(e,t)=>{nt.init(e,t);const n=oh(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(s=>Mw.has(typeof s)).map(s=>typeof s=="string"?Si(s):s.toString()).join("|")})$`),e._zod.parse=(s,l)=>{const u=s.value;return r.has(u)||s.issues.push({code:"invalid_value",values:n,input:u,inst:e}),s}}),Cy=J("$ZodLiteral",(e,t)=>{if(nt.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?Si(r):r?Si(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,s)=>{const l=r.value;return n.has(l)||r.issues.push({code:"invalid_value",values:t.values,input:l,inst:e}),r}}),ky=J("$ZodTransform",(e,t)=>{nt.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new rh(e.constructor.name);const s=t.transform(n.value,n);if(r.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(n.value=u,n.fallback=!0,n));if(s instanceof Promise)throw new yi;return n.value=s,n.fallback=!0,n}});function Af(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const bh=J("$ZodOptional",(e,t)=>{nt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${S0(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const s=n.value,l=t.innerType._zod.run(n,r);return l instanceof Promise?l.then(u=>Af(u,s)):Af(l,s)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),Sy=J("$ZodExactOptional",(e,t)=>{bh.init(e,t),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),Ey=J("$ZodNullable",(e,t)=>{nt.init(e,t),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${S0(n.source)}|null)$`):void 0}),We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),jy=J("$ZodDefault",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>Rf(l,t)):Rf(s,t)}});function Rf(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Iy=J("$ZodPrefault",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),My=J("$ZodNonOptional",(e,t)=>{nt.init(e,t),We(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>Df(l,e)):Df(s,e)}});function Df(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Oy=J("$ZodCatch",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>(n.value=l.value,l.issues.length&&(n.value=t.catchValue({...n,error:{issues:l.issues.map(u=>xr(u,r,wr()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=s.value,s.issues.length&&(n.value=t.catchValue({...n,error:{issues:s.issues.map(l=>xr(l,r,wr()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),Ty=J("$ZodPipe",(e,t)=>{nt.init(e,t),We(e._zod,"values",()=>t.in._zod.values),We(e._zod,"optin",()=>t.in._zod.optin),We(e._zod,"optout",()=>t.out._zod.optout),We(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const l=t.out._zod.run(n,r);return l instanceof Promise?l.then(u=>Ia(u,t.in,r)):Ia(l,t.in,r)}const s=t.in._zod.run(n,r);return s instanceof Promise?s.then(l=>Ia(l,t.out,r)):Ia(s,t.out,r)}});function Ia(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const Ly=J("$ZodReadonly",(e,t)=>{nt.init(e,t),We(e._zod,"propValues",()=>t.innerType._zod.propValues),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"optin",()=>t.innerType?._zod?.optin),We(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(Ff):Ff(s)}});function Ff(e){return e.value=Object.freeze(e.value),e}const Ny=J("$ZodLazy",(e,t)=>{nt.init(e,t),We(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),We(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),We(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),We(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),We(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),Py=J("$ZodCustom",(e,t)=>{sn.init(e,t),nt.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,s=t.fn(r);if(s instanceof Promise)return s.then(l=>$f(l,n,r,e));$f(s,n,r,e)}});function $f(e,t,n,r){if(!e){const s={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(s.params=r._zod.def.params),t.issues.push(Ks(s))}}var Hf;class zy{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const s={...r,...this._map.get(t)};return Object.keys(s).length?s:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Ay(){return new zy}(Hf=globalThis).__zod_globalRegistry??(Hf.__zod_globalRegistry=Ay());const As=globalThis.__zod_globalRegistry;function Ry(e,t){return new e({type:"string",...ke(t)})}function Dy(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ke(t)})}function Vf(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ke(t)})}function Ch(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(t)})}function Fy(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(t)})}function $y(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(t)})}function Hy(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(t)})}function kh(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ke(t)})}function Vy(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(t)})}function By(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(t)})}function Zy(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(t)})}function Wy(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(t)})}function Uy(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(t)})}function qy(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ke(t)})}function Gy(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(t)})}function Ky(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(t)})}function Yy(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(t)})}function Jy(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(t)})}function Xy(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(t)})}function Qy(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ke(t)})}function e_(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(t)})}function t_(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ke(t)})}function n_(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(t)})}function r_(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(t)})}function o_(e,t){return new e({type:"string",format:"date",check:"string_format",...ke(t)})}function i_(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ke(t)})}function s_(e,t){return new e({type:"string",format:"duration",check:"string_format",...ke(t)})}function a_(e,t){return new e({type:"number",checks:[],...ke(t)})}function l_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ke(t)})}function c_(e,t){return new e({type:"boolean",...ke(t)})}function u_(e,t){return new e({type:"null",...ke(t)})}function d_(e){return new e({type:"unknown"})}function f_(e,t){return new e({type:"never",...ke(t)})}function Bf(e,t){return new mh({check:"less_than",...ke(t),value:e,inclusive:!1})}function Ju(e,t){return new mh({check:"less_than",...ke(t),value:e,inclusive:!0})}function Zf(e,t){return new gh({check:"greater_than",...ke(t),value:e,inclusive:!1})}function Xu(e,t){return new gh({check:"greater_than",...ke(t),value:e,inclusive:!0})}function Wf(e,t){return new Sx({check:"multiple_of",...ke(t),value:e})}function Sh(e,t){return new jx({check:"max_length",...ke(t),maximum:e})}function il(e,t){return new Ix({check:"min_length",...ke(t),minimum:e})}function Eh(e,t){return new Mx({check:"length_equals",...ke(t),length:e})}function h_(e,t){return new Ox({check:"string_format",format:"regex",...ke(t),pattern:e})}function p_(e){return new Tx({check:"string_format",format:"lowercase",...ke(e)})}function m_(e){return new Lx({check:"string_format",format:"uppercase",...ke(e)})}function g_(e,t){return new Nx({check:"string_format",format:"includes",...ke(t),includes:e})}function v_(e,t){return new Px({check:"string_format",format:"starts_with",...ke(t),prefix:e})}function w_(e,t){return new zx({check:"string_format",format:"ends_with",...ke(t),suffix:e})}function Ti(e){return new Ax({check:"overwrite",tx:e})}function x_(e){return Ti(t=>t.normalize(e))}function y_(){return Ti(e=>e.trim())}function __(){return Ti(e=>e.toLowerCase())}function b_(){return Ti(e=>e.toUpperCase())}function C_(){return Ti(e=>jw(e))}function k_(e,t,n){return new e({type:"array",element:t,...ke(n)})}function S_(e,t,n){const r=ke(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function E_(e,t,n){return new e({type:"custom",check:"custom",fn:t,...ke(n)})}function j_(e,t){const n=I_(r=>(r.addIssue=s=>{if(typeof s=="string")r.issues.push(Ks(s,r.value,n._zod.def));else{const l=s;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=r.value),l.inst??(l.inst=n),l.continue??(l.continue=!n._zod.def.abort),r.issues.push(Ks(l))}},e(r.value,r)),t);return n}function I_(e,t){const n=new sn({check:"custom",...ke(t)});return n._zod.check=e,n}function jh(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??As,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function pt(e,t,n={path:[],schemaPath:[]}){var r;const s=e._zod.def,l=t.seen.get(e);if(l)return l.count++,n.schemaPath.includes(e)&&(l.cycle=n.path),l.schema;const u={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,u);const d=e._zod.toJSONSchema?.();if(d)u.schema=d;else{const g={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,u.schema,g);else{const x=u.schema,y=t.processors[s.type];if(!y)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);y(e,t,x,g)}const w=e._zod.parent;w&&(u.ref||(u.ref=w),pt(w,t,g),t.seen.get(w).isParent=!0)}const p=t.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),t.io==="input"&&Kt(e)&&(delete u.schema.examples,delete u.schema.default),t.io==="input"&&"_prefault"in u.schema&&((r=u.schema).default??(r.default=u.schema._prefault)),delete u.schema._prefault,t.seen.get(e).schema}function Ih(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const u of e.seen.entries()){const d=e.metadataRegistry.get(u[0])?.id;if(d){const p=r.get(d);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(d,u[0])}}const s=u=>{const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=e.external.registry.get(u[0])?.id,x=e.external.uri??(b=>b);if(w)return{ref:x(w)};const y=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=y,{defId:y,ref:`${x("__shared")}#/${d}/${y}`}}if(u[1]===n)return{ref:"#"};const m=`#/${d}/`,g=u[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:m+g}},l=u=>{if(u[1].schema.$ref)return;const d=u[1],{ref:p,defId:m}=s(u);d.def={...d.schema},m&&(d.defId=m);const g=d.schema;for(const w in g)delete g[w];g.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const d=u[1];if(d.cycle)throw new Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
|
|
74
|
+
`)}_.write("payload.value = newResult;"),_.write("return payload;");const O=_.compile();return(B,z)=>O(x,B,z)};let l;const u=Ks,d=!k0.jitless,m=d&&Ow.value,g=t.catchall;let w;e._zod.parse=(x,_)=>{w??(w=r.value);const C=x.value;return u(C)?d&&m&&_?.async===!1&&_.jitless!==!0?(l||(l=s(t.shape)),x=l(x,_),g?_h([],C,x,_,w,e):x):n(x,_):(x.issues.push({expected:"object",code:"invalid_type",input:C,inst:e}),x)}});function Lf(e,t,n,r){for(const l of e)if(l.issues.length===0)return t.value=l.value,t;const s=e.filter(l=>!gi(l));return s.length===1?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(l=>l.issues.map(u=>xr(u,r,wr())))}),t)}const bh=J("$ZodUnion",(e,t)=>{nt.init(e,t),We(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),We(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),We(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),We(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){const r=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${r.map(s=>E0(s.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,s)=>{if(n)return n(r,s);let l=!1;const u=[];for(const d of t.options){const p=d._zod.run({value:r.value,issues:[]},s);if(p instanceof Promise)u.push(p),l=!0;else{if(p.issues.length===0)return p;u.push(p)}}return l?Promise.all(u).then(d=>Lf(d,r,e,s)):Lf(u,r,e,s)}}),yy=J("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,bh.init(e,t);const n=e._zod.parse;We(e._zod,"propValues",()=>{const s={};for(const l of t.options){const u=l._zod.propValues;if(!u||Object.keys(u).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(l)}"`);for(const[d,p]of Object.entries(u)){s[d]||(s[d]=new Set);for(const m of p)s[d].add(m)}}return s});const r=Tl(()=>{const s=t.options,l=new Map;for(const u of s){const d=u._zod.propValues?.[t.discriminator];if(!d||d.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(const p of d){if(l.has(p))throw new Error(`Duplicate discriminator value "${String(p)}"`);l.set(p,u)}}return l});e._zod.parse=(s,l)=>{const u=s.value;if(!Ks(u))return s.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),s;const d=r.value.get(u?.[t.discriminator]);return d?d._zod.run(s,l):t.unionFallback||l.direction==="backward"?n(s,l):(s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:u,path:[t.discriminator],inst:e}),s)}}),_y=J("$ZodIntersection",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value,l=t.left._zod.run({value:s,issues:[]},r),u=t.right._zod.run({value:s,issues:[]},r);return l instanceof Promise||u instanceof Promise?Promise.all([l,u]).then(([p,m])=>Pf(n,p,m)):Pf(n,l,u)}});function $d(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Si(e)&&Si(t)){const n=Object.keys(t),r=Object.keys(e).filter(l=>n.indexOf(l)!==-1),s={...e,...t};for(const l of r){const u=$d(e[l],t[l]);if(!u.valid)return{valid:!1,mergeErrorPath:[l,...u.mergeErrorPath]};s[l]=u.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const s=e[r],l=t[r],u=$d(s,l);if(!u.valid)return{valid:!1,mergeErrorPath:[r,...u.mergeErrorPath]};n.push(u.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Pf(e,t,n){const r=new Map;let s;for(const d of t.issues)if(d.code==="unrecognized_keys"){s??(s=d);for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).l=!0}else e.issues.push(d);for(const d of n.issues)if(d.code==="unrecognized_keys")for(const p of d.keys)r.has(p)||r.set(p,{}),r.get(p).r=!0;else e.issues.push(d);const l=[...r].filter(([,d])=>d.l&&d.r).map(([d])=>d);if(l.length&&s&&e.issues.push({...s,keys:l}),gi(e))return e;const u=$d(t.value,n.value);if(!u.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(u.mergeErrorPath)}`);return e.value=u.data,e}const by=J("$ZodTuple",(e,t)=>{nt.init(e,t);const n=t.items;e._zod.parse=(r,s)=>{const l=r.value;if(!Array.isArray(l))return r.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];const u=[],d=Nf(n,"optin"),p=Nf(n,"optout");if(!t.rest){if(l.length<d)return r.issues.push({code:"too_small",minimum:d,inclusive:!0,input:l,inst:e,origin:"array"}),r;l.length>n.length&&r.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:l,inst:e,origin:"array"})}const m=new Array(n.length);for(let g=0;g<n.length;g++){const w=n[g]._zod.run({value:l[g],issues:[]},s);w instanceof Promise?u.push(w.then(x=>{m[g]=x})):m[g]=w}if(t.rest){let g=n.length-1;const w=l.slice(n.length);for(const x of w){g++;const _=t.rest._zod.run({value:x,issues:[]},s);_ instanceof Promise?u.push(_.then(C=>zf(C,r,g))):zf(_,r,g)}}return u.length?Promise.all(u).then(()=>Af(m,r,n,l,p)):Af(m,r,n,l,p)}});function Nf(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function zf(e,t,n){e.issues.length&&t.issues.push(...Ur(n,e.issues)),t.value[n]=e.value}function Af(e,t,n,r,s){for(let l=0;l<n.length;l++){const u=e[l],d=l<r.length;if(u.issues.length){if(!d&&l>=s){t.value.length=l;break}t.issues.push(...Ur(l,u.issues))}t.value[l]=u.value}for(let l=t.value.length-1;l>=r.length&&(n[l]._zod.optout==="optional"&&t.value[l]===void 0);l--)t.value.length=l;return t}const Cy=J("$ZodRecord",(e,t)=>{nt.init(e,t),e._zod.parse=(n,r)=>{const s=n.value;if(!Si(s))return n.issues.push({expected:"record",code:"invalid_type",input:s,inst:e}),n;const l=[],u=t.keyType._zod.values;if(u){n.value={};const d=new Set;for(const m of u)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){d.add(typeof m=="number"?m.toString():m);const g=t.keyType._zod.run({value:m,issues:[]},r);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(g.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map(_=>xr(_,r,wr())),input:m,path:[m],inst:e});continue}const w=g.value,x=t.valueType._zod.run({value:s[m],issues:[]},r);x instanceof Promise?l.push(x.then(_=>{_.issues.length&&n.issues.push(...Ur(m,_.issues)),n.value[w]=_.value})):(x.issues.length&&n.issues.push(...Ur(m,x.issues)),n.value[w]=x.value)}let p;for(const m in s)d.has(m)||(p=p??[],p.push(m));p&&p.length>0&&n.issues.push({code:"unrecognized_keys",input:s,inst:e,keys:p})}else{n.value={};for(const d of Reflect.ownKeys(s)){if(d==="__proto__"||!Object.prototype.propertyIsEnumerable.call(s,d))continue;let p=t.keyType._zod.run({value:d,issues:[]},r);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof d=="string"&&ph.test(d)&&p.issues.length){const w=t.keyType._zod.run({value:Number(d),issues:[]},r);if(w instanceof Promise)throw new Error("Async schemas not supported in object keys currently");w.issues.length===0&&(p=w)}if(p.issues.length){t.mode==="loose"?n.value[d]=s[d]:n.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(w=>xr(w,r,wr())),input:d,path:[d],inst:e});continue}const g=t.valueType._zod.run({value:s[d],issues:[]},r);g instanceof Promise?l.push(g.then(w=>{w.issues.length&&n.issues.push(...Ur(d,w.issues)),n.value[p.value]=w.value})):(g.issues.length&&n.issues.push(...Ur(d,g.issues)),n.value[p.value]=g.value)}}return l.length?Promise.all(l).then(()=>n):n}}),ky=J("$ZodEnum",(e,t)=>{nt.init(e,t);const n=ih(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(s=>Tw.has(typeof s)).map(s=>typeof s=="string"?Ei(s):s.toString()).join("|")})$`),e._zod.parse=(s,l)=>{const u=s.value;return r.has(u)||s.issues.push({code:"invalid_value",values:n,input:u,inst:e}),s}}),Sy=J("$ZodLiteral",(e,t)=>{if(nt.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?Ei(r):r?Ei(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,s)=>{const l=r.value;return n.has(l)||r.issues.push({code:"invalid_value",values:t.values,input:l,inst:e}),r}}),Ey=J("$ZodTransform",(e,t)=>{nt.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new oh(e.constructor.name);const s=t.transform(n.value,n);if(r.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(n.value=u,n.fallback=!0,n));if(s instanceof Promise)throw new _i;return n.value=s,n.fallback=!0,n}});function Rf(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Ch=J("$ZodOptional",(e,t)=>{nt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${E0(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const s=n.value,l=t.innerType._zod.run(n,r);return l instanceof Promise?l.then(u=>Rf(u,s)):Rf(l,s)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),jy=J("$ZodExactOptional",(e,t)=>{Ch.init(e,t),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),Iy=J("$ZodNullable",(e,t)=>{nt.init(e,t),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${E0(n.source)}|null)$`):void 0}),We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),My=J("$ZodDefault",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>Df(l,t)):Df(s,t)}});function Df(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Oy=J("$ZodPrefault",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),Ty=J("$ZodNonOptional",(e,t)=>{nt.init(e,t),We(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>Ff(l,e)):Ff(s,e)}});function Ff(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Ly=J("$ZodCatch",(e,t)=>{nt.init(e,t),e._zod.optin="optional",We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then(l=>(n.value=l.value,l.issues.length&&(n.value=t.catchValue({...n,error:{issues:l.issues.map(u=>xr(u,r,wr()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=s.value,s.issues.length&&(n.value=t.catchValue({...n,error:{issues:s.issues.map(l=>xr(l,r,wr()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),Py=J("$ZodPipe",(e,t)=>{nt.init(e,t),We(e._zod,"values",()=>t.in._zod.values),We(e._zod,"optin",()=>t.in._zod.optin),We(e._zod,"optout",()=>t.out._zod.optout),We(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const l=t.out._zod.run(n,r);return l instanceof Promise?l.then(u=>Ma(u,t.in,r)):Ma(l,t.in,r)}const s=t.in._zod.run(n,r);return s instanceof Promise?s.then(l=>Ma(l,t.out,r)):Ma(s,t.out,r)}});function Ma(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const Ny=J("$ZodReadonly",(e,t)=>{nt.init(e,t),We(e._zod,"propValues",()=>t.innerType._zod.propValues),We(e._zod,"values",()=>t.innerType._zod.values),We(e._zod,"optin",()=>t.innerType?._zod?.optin),We(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const s=t.innerType._zod.run(n,r);return s instanceof Promise?s.then($f):$f(s)}});function $f(e){return e.value=Object.freeze(e.value),e}const zy=J("$ZodLazy",(e,t)=>{nt.init(e,t),We(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),We(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),We(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),We(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),We(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>e._zod.innerType._zod.run(n,r)}),Ay=J("$ZodCustom",(e,t)=>{sn.init(e,t),nt.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,s=t.fn(r);if(s instanceof Promise)return s.then(l=>Hf(l,n,r,e));Hf(s,n,r,e)}});function Hf(e,t,n,r){if(!e){const s={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(s.params=r._zod.def.params),t.issues.push(Ys(s))}}var Vf;class Ry{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const s={...r,...this._map.get(t)};return Object.keys(s).length?s:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Dy(){return new Ry}(Vf=globalThis).__zod_globalRegistry??(Vf.__zod_globalRegistry=Dy());const Rs=globalThis.__zod_globalRegistry;function Fy(e,t){return new e({type:"string",...ke(t)})}function $y(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...ke(t)})}function Bf(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...ke(t)})}function kh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...ke(t)})}function Hy(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...ke(t)})}function Vy(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...ke(t)})}function By(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...ke(t)})}function Sh(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...ke(t)})}function Zy(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...ke(t)})}function Wy(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...ke(t)})}function Uy(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...ke(t)})}function qy(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...ke(t)})}function Gy(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...ke(t)})}function Ky(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...ke(t)})}function Yy(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...ke(t)})}function Jy(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...ke(t)})}function Xy(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...ke(t)})}function Qy(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...ke(t)})}function e_(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...ke(t)})}function t_(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...ke(t)})}function n_(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...ke(t)})}function r_(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...ke(t)})}function o_(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...ke(t)})}function i_(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...ke(t)})}function s_(e,t){return new e({type:"string",format:"date",check:"string_format",...ke(t)})}function a_(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...ke(t)})}function l_(e,t){return new e({type:"string",format:"duration",check:"string_format",...ke(t)})}function c_(e,t){return new e({type:"number",checks:[],...ke(t)})}function u_(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...ke(t)})}function d_(e,t){return new e({type:"boolean",...ke(t)})}function f_(e,t){return new e({type:"null",...ke(t)})}function h_(e){return new e({type:"unknown"})}function p_(e,t){return new e({type:"never",...ke(t)})}function Zf(e,t){return new gh({check:"less_than",...ke(t),value:e,inclusive:!1})}function Xu(e,t){return new gh({check:"less_than",...ke(t),value:e,inclusive:!0})}function Wf(e,t){return new vh({check:"greater_than",...ke(t),value:e,inclusive:!1})}function Qu(e,t){return new vh({check:"greater_than",...ke(t),value:e,inclusive:!0})}function Uf(e,t){return new jx({check:"multiple_of",...ke(t),value:e})}function Eh(e,t){return new Mx({check:"max_length",...ke(t),maximum:e})}function sl(e,t){return new Ox({check:"min_length",...ke(t),minimum:e})}function jh(e,t){return new Tx({check:"length_equals",...ke(t),length:e})}function m_(e,t){return new Lx({check:"string_format",format:"regex",...ke(t),pattern:e})}function g_(e){return new Px({check:"string_format",format:"lowercase",...ke(e)})}function v_(e){return new Nx({check:"string_format",format:"uppercase",...ke(e)})}function w_(e,t){return new zx({check:"string_format",format:"includes",...ke(t),includes:e})}function x_(e,t){return new Ax({check:"string_format",format:"starts_with",...ke(t),prefix:e})}function y_(e,t){return new Rx({check:"string_format",format:"ends_with",...ke(t),suffix:e})}function Li(e){return new Dx({check:"overwrite",tx:e})}function __(e){return Li(t=>t.normalize(e))}function b_(){return Li(e=>e.trim())}function C_(){return Li(e=>e.toLowerCase())}function k_(){return Li(e=>e.toUpperCase())}function S_(){return Li(e=>Mw(e))}function E_(e,t,n){return new e({type:"array",element:t,...ke(n)})}function j_(e,t,n){const r=ke(n);return r.abort??(r.abort=!0),new e({type:"custom",check:"custom",fn:t,...r})}function I_(e,t,n){return new e({type:"custom",check:"custom",fn:t,...ke(n)})}function M_(e,t){const n=O_(r=>(r.addIssue=s=>{if(typeof s=="string")r.issues.push(Ys(s,r.value,n._zod.def));else{const l=s;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=r.value),l.inst??(l.inst=n),l.continue??(l.continue=!n._zod.def.abort),r.issues.push(Ys(l))}},e(r.value,r)),t);return n}function O_(e,t){const n=new sn({check:"custom",...ke(t)});return n._zod.check=e,n}function Ih(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Rs,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function pt(e,t,n={path:[],schemaPath:[]}){var r;const s=e._zod.def,l=t.seen.get(e);if(l)return l.count++,n.schemaPath.includes(e)&&(l.cycle=n.path),l.schema;const u={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,u);const d=e._zod.toJSONSchema?.();if(d)u.schema=d;else{const g={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,u.schema,g);else{const x=u.schema,_=t.processors[s.type];if(!_)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);_(e,t,x,g)}const w=e._zod.parent;w&&(u.ref||(u.ref=w),pt(w,t,g),t.seen.get(w).isParent=!0)}const p=t.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),t.io==="input"&&Kt(e)&&(delete u.schema.examples,delete u.schema.default),t.io==="input"&&"_prefault"in u.schema&&((r=u.schema).default??(r.default=u.schema._prefault)),delete u.schema._prefault,t.seen.get(e).schema}function Mh(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const u of e.seen.entries()){const d=e.metadataRegistry.get(u[0])?.id;if(d){const p=r.get(d);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${d}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(d,u[0])}}const s=u=>{const d=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=e.external.registry.get(u[0])?.id,x=e.external.uri??(C=>C);if(w)return{ref:x(w)};const _=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=_,{defId:_,ref:`${x("__shared")}#/${d}/${_}`}}if(u[1]===n)return{ref:"#"};const m=`#/${d}/`,g=u[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:m+g}},l=u=>{if(u[1].schema.$ref)return;const d=u[1],{ref:p,defId:m}=s(u);d.def={...d.schema},m&&(d.defId=m);const g=d.schema;for(const w in g)delete g[w];g.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const d=u[1];if(d.cycle)throw new Error(`Cycle detected: #/${d.cycle?.join("/")}/<root>
|
|
75
75
|
|
|
76
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const d=u[1];if(t===u[0]){l(u);continue}if(e.external){const m=e.external.registry.get(u[0])?.id;if(t!==u[0]&&m){l(u);continue}}if(e.metadataRegistry.get(u[0])?.id){l(u);continue}if(d.cycle){l(u);continue}if(d.count>1&&e.reused==="ref"){l(u);continue}}}function Mh(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=d=>{const p=e.seen.get(d);if(p.ref===null)return;const m=p.def??p.schema,g={...m},w=p.ref;if(p.ref=null,w){r(w);const y=e.seen.get(w),b=y.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(m.allOf=m.allOf??[],m.allOf.push(b)):Object.assign(m,b),Object.assign(m,g),d._zod.parent===w)for(const I in m)I==="$ref"||I==="allOf"||I in g||delete m[I];if(b.$ref&&y.def)for(const I in m)I==="$ref"||I==="allOf"||I in y.def&&JSON.stringify(m[I])===JSON.stringify(y.def[I])&&delete m[I]}const x=d._zod.parent;if(x&&x!==w){r(x);const y=e.seen.get(x);if(y?.schema.$ref&&(m.$ref=y.schema.$ref,y.def))for(const b in m)b==="$ref"||b==="allOf"||b in y.def&&JSON.stringify(m[b])===JSON.stringify(y.def[b])&&delete m[b]}e.override({zodSchema:d,jsonSchema:m,path:p.path??[]})};for(const d of[...e.seen.entries()].reverse())r(d[0]);const s={};if(e.target==="draft-2020-12"?s.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?s.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?s.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const d=e.external.registry.get(t)?.id;if(!d)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}Object.assign(s,n.def??n.schema);const l=e.metadataRegistry.get(t)?.id;l!==void 0&&s.id===l&&delete s.id;const u=e.external?.defs??{};for(const d of e.seen.entries()){const p=d[1];p.def&&p.defId&&(p.def.id===p.defId&&delete p.def.id,u[p.defId]=p.def)}e.external||Object.keys(u).length>0&&(e.target==="draft-2020-12"?s.$defs=u:s.definitions=u);try{const d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...t["~standard"],jsonSchema:{input:sl(t,"input",e.processors),output:sl(t,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function Kt(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Kt(r.element,n);if(r.type==="set")return Kt(r.valueType,n);if(r.type==="lazy")return Kt(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Kt(r.innerType,n);if(r.type==="intersection")return Kt(r.left,n)||Kt(r.right,n);if(r.type==="record"||r.type==="map")return Kt(r.keyType,n)||Kt(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Kt(r.in,n)||Kt(r.out,n);if(r.type==="object"){for(const s in r.shape)if(Kt(r.shape[s],n))return!0;return!1}if(r.type==="union"){for(const s of r.options)if(Kt(s,n))return!0;return!1}if(r.type==="tuple"){for(const s of r.items)if(Kt(s,n))return!0;return!!(r.rest&&Kt(r.rest,n))}return!1}const M_=(e,t={})=>n=>{const r=jh({...n,processors:t});return pt(e,r),Ih(r,e),Mh(r,e)},sl=(e,t,n={})=>r=>{const{libraryOptions:s,target:l}=r??{},u=jh({...s??{},target:l,io:t,processors:n});return pt(e,u),Ih(u,e),Mh(u,e)},O_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},T_=(e,t,n,r)=>{const s=n;s.type="string";const{minimum:l,maximum:u,format:d,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof l=="number"&&(s.minLength=l),typeof u=="number"&&(s.maxLength=u),d&&(s.format=O_[d]??d,s.format===""&&delete s.format,d==="time"&&delete s.format),m&&(s.contentEncoding=m),p&&p.size>0){const g=[...p];g.length===1?s.pattern=g[0].source:g.length>1&&(s.allOf=[...g.map(w=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},L_=(e,t,n,r)=>{const s=n,{minimum:l,maximum:u,format:d,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:g}=e._zod.bag;typeof d=="string"&&d.includes("int")?s.type="integer":s.type="number";const w=typeof g=="number"&&g>=(l??Number.NEGATIVE_INFINITY),x=typeof m=="number"&&m<=(u??Number.POSITIVE_INFINITY),y=t.target==="draft-04"||t.target==="openapi-3.0";w?y?(s.minimum=g,s.exclusiveMinimum=!0):s.exclusiveMinimum=g:typeof l=="number"&&(s.minimum=l),x?y?(s.maximum=m,s.exclusiveMaximum=!0):s.exclusiveMaximum=m:typeof u=="number"&&(s.maximum=u),typeof p=="number"&&(s.multipleOf=p)},N_=(e,t,n,r)=>{n.type="boolean"},P_=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},z_=(e,t,n,r)=>{n.not={}},A_=(e,t,n,r)=>{},R_=(e,t,n,r)=>{const s=e._zod.def,l=oh(s.entries);l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),n.enum=l},D_=(e,t,n,r)=>{const s=e._zod.def,l=[];for(const u of s.values)if(u===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof u=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");l.push(Number(u))}else l.push(u);if(l.length!==0)if(l.length===1){const u=l[0];n.type=u===null?"null":typeof u,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[u]:n.const=u}else l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),l.every(u=>typeof u=="boolean")&&(n.type="boolean"),l.every(u=>u===null)&&(n.type="null"),n.enum=l},F_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},$_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},H_=(e,t,n,r)=>{const s=n,l=e._zod.def,{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(s.minItems=u),typeof d=="number"&&(s.maxItems=d),s.type="array",s.items=pt(l.element,t,{...r,path:[...r.path,"items"]})},V_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object",s.properties={};const u=l.shape;for(const m in u)s.properties[m]=pt(u[m],t,{...r,path:[...r.path,"properties",m]});const d=new Set(Object.keys(u)),p=new Set([...d].filter(m=>{const g=l.shape[m]._zod;return t.io==="input"?g.optin===void 0:g.optout===void 0}));p.size>0&&(s.required=Array.from(p)),l.catchall?._zod.def.type==="never"?s.additionalProperties=!1:l.catchall?l.catchall&&(s.additionalProperties=pt(l.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},B_=(e,t,n,r)=>{const s=e._zod.def,l=s.inclusive===!1,u=s.options.map((d,p)=>pt(d,t,{...r,path:[...r.path,l?"oneOf":"anyOf",p]}));l?n.oneOf=u:n.anyOf=u},Z_=(e,t,n,r)=>{const s=e._zod.def,l=pt(s.left,t,{...r,path:[...r.path,"allOf",0]}),u=pt(s.right,t,{...r,path:[...r.path,"allOf",1]}),d=m=>"allOf"in m&&Object.keys(m).length===1,p=[...d(l)?l.allOf:[l],...d(u)?u.allOf:[u]];n.allOf=p},W_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="array";const u=t.target==="draft-2020-12"?"prefixItems":"items",d=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",p=l.items.map((x,y)=>pt(x,t,{...r,path:[...r.path,u,y]})),m=l.rest?pt(l.rest,t,{...r,path:[...r.path,d,...t.target==="openapi-3.0"?[l.items.length]:[]]}):null;t.target==="draft-2020-12"?(s.prefixItems=p,m&&(s.items=m)):t.target==="openapi-3.0"?(s.items={anyOf:p},m&&s.items.anyOf.push(m),s.minItems=p.length,m||(s.maxItems=p.length)):(s.items=p,m&&(s.additionalItems=m));const{minimum:g,maximum:w}=e._zod.bag;typeof g=="number"&&(s.minItems=g),typeof w=="number"&&(s.maxItems=w)},U_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object";const u=l.keyType,p=u._zod.bag?.patterns;if(l.mode==="loose"&&p&&p.size>0){const g=pt(l.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});s.patternProperties={};for(const w of p)s.patternProperties[w.source]=g}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(s.propertyNames=pt(l.keyType,t,{...r,path:[...r.path,"propertyNames"]})),s.additionalProperties=pt(l.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const m=u._zod.values;if(m){const g=[...m].filter(w=>typeof w=="string"||typeof w=="number");g.length>0&&(s.required=g)}},q_=(e,t,n,r)=>{const s=e._zod.def,l=pt(s.innerType,t,r),u=t.seen.get(e);t.target==="openapi-3.0"?(u.ref=s.innerType,n.nullable=!0):n.anyOf=[l,{type:"null"}]},G_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},K_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.default=JSON.parse(JSON.stringify(s.defaultValue))},Y_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(s.defaultValue)))},J_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType;let u;try{u=s.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=u},X_=(e,t,n,r)=>{const s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),u=t.io==="input"?l?s.out:s.in:s.out;pt(u,t,r);const d=t.seen.get(e);d.ref=u},Q_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.readOnly=!0},Oh=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},eb=(e,t,n,r)=>{const s=e._zod.innerType;pt(s,t,r);const l=t.seen.get(e);l.ref=s},tb=J("ZodISODateTime",(e,t)=>{Yx.init(e,t),mt.init(e,t)});function l1(e){return r_(tb,e)}const nb=J("ZodISODate",(e,t)=>{Jx.init(e,t),mt.init(e,t)});function rb(e){return o_(nb,e)}const ob=J("ZodISOTime",(e,t)=>{Xx.init(e,t),mt.init(e,t)});function ib(e){return i_(ob,e)}const sb=J("ZodISODuration",(e,t)=>{Qx.init(e,t),mt.init(e,t)});function ab(e){return s_(sb,e)}const lb=(e,t)=>{lh.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Hw(e,n)},flatten:{value:n=>$w(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Dd,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Dd,2)}},isEmpty:{get(){return e.issues.length===0}}})},In=J("ZodError",lb,{Parent:Error}),cb=j0(In),ub=I0(In),db=Tl(In),fb=Ll(In),hb=Zw(In),pb=Ww(In),mb=Uw(In),gb=qw(In),vb=Gw(In),wb=Kw(In),xb=Yw(In),yb=Jw(In),Uf=new WeakMap;function c1(e,t,n){const r=Object.getPrototypeOf(e);let s=Uf.get(r);if(s||(s=new Set,Uf.set(r,s)),!s.has(t)){s.add(t);for(const l in n){const u=n[l];Object.defineProperty(r,l,{configurable:!0,enumerable:!1,get(){const d=u.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d}),d},set(d){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d})}})}}}const it=J("ZodType",(e,t)=>(nt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:sl(e,"input"),output:sl(e,"output")}}),e.toJSONSchema=M_(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>cb(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>db(e,n,r),e.parseAsync=async(n,r)=>ub(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>fb(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>hb(e,n,r),e.decode=(n,r)=>pb(e,n,r),e.encodeAsync=async(n,r)=>mb(e,n,r),e.decodeAsync=async(n,r)=>gb(e,n,r),e.safeEncode=(n,r)=>vb(e,n,r),e.safeDecode=(n,r)=>wb(e,n,r),e.safeEncodeAsync=async(n,r)=>xb(e,n,r),e.safeDecodeAsync=async(n,r)=>yb(e,n,r),c1(e,"ZodType",{check(...n){const r=this.def;return this.clone(Kr(r,{checks:[...r.checks??[],...n.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,r){return Yr(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(mC(n,r))},superRefine(n,r){return this.check(gC(n,r))},overwrite(n){return this.check(Ti(n))},optional(){return Kf(this)},exactOptional(){return eC(this)},nullable(){return Yf(this)},nullish(){return Kf(Yf(this))},nonoptional(n){return sC(this,n)},array(){return re(this)},or(n){return Wt([this,n])},and(n){return qb(this,n)},transform(n){return Jf(this,Xb(n))},default(n){return rC(this,n)},prefault(n){return iC(this,n)},catch(n){return lC(this,n)},pipe(n){return Jf(this,n)},readonly(){return dC(this)},describe(n){const r=this.clone();return As.add(r,{description:n}),r},meta(...n){if(n.length===0)return As.get(this);const r=this.clone();return As.add(r,n[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return As.get(e)?.description},configurable:!0}),e)),Th=J("_ZodString",(e,t)=>{M0.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>T_(e,r,s);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,c1(e,"_ZodString",{regex(...r){return this.check(h_(...r))},includes(...r){return this.check(g_(...r))},startsWith(...r){return this.check(v_(...r))},endsWith(...r){return this.check(w_(...r))},min(...r){return this.check(il(...r))},max(...r){return this.check(Sh(...r))},length(...r){return this.check(Eh(...r))},nonempty(...r){return this.check(il(1,...r))},lowercase(r){return this.check(p_(r))},uppercase(r){return this.check(m_(r))},trim(){return this.check(y_())},normalize(...r){return this.check(x_(...r))},toLowerCase(){return this.check(__())},toUpperCase(){return this.check(b_())},slugify(){return this.check(C_())}})}),_b=J("ZodString",(e,t)=>{M0.init(e,t),Th.init(e,t),e.email=n=>e.check(Dy(bb,n)),e.url=n=>e.check(kh(Nh,n)),e.jwt=n=>e.check(n_(Rb,n)),e.emoji=n=>e.check(Vy(Cb,n)),e.guid=n=>e.check(Vf(qf,n)),e.uuid=n=>e.check(Ch(Rs,n)),e.uuidv4=n=>e.check(Fy(Rs,n)),e.uuidv6=n=>e.check($y(Rs,n)),e.uuidv7=n=>e.check(Hy(Rs,n)),e.nanoid=n=>e.check(By(kb,n)),e.guid=n=>e.check(Vf(qf,n)),e.cuid=n=>e.check(Zy(Sb,n)),e.cuid2=n=>e.check(Wy(Eb,n)),e.ulid=n=>e.check(Uy(jb,n)),e.base64=n=>e.check(Qy(Pb,n)),e.base64url=n=>e.check(e_(zb,n)),e.xid=n=>e.check(qy(Ib,n)),e.ksuid=n=>e.check(Gy(Mb,n)),e.ipv4=n=>e.check(Ky(Ob,n)),e.ipv6=n=>e.check(Yy(Tb,n)),e.cidrv4=n=>e.check(Jy(Lb,n)),e.cidrv6=n=>e.check(Xy(Nb,n)),e.e164=n=>e.check(t_(Ab,n)),e.datetime=n=>e.check(l1(n)),e.date=n=>e.check(rb(n)),e.time=n=>e.check(ib(n)),e.duration=n=>e.check(ab(n))});function C(e){return Ry(_b,e)}const mt=J("ZodStringFormat",(e,t)=>{ut.init(e,t),Th.init(e,t)}),bb=J("ZodEmail",(e,t)=>{Hx.init(e,t),mt.init(e,t)}),qf=J("ZodGUID",(e,t)=>{Fx.init(e,t),mt.init(e,t)}),Rs=J("ZodUUID",(e,t)=>{$x.init(e,t),mt.init(e,t)});function Lh(e){return Ch(Rs,e)}const Nh=J("ZodURL",(e,t)=>{Vx.init(e,t),mt.init(e,t)});function O0(e){return kh(Nh,e)}const Cb=J("ZodEmoji",(e,t)=>{Bx.init(e,t),mt.init(e,t)}),kb=J("ZodNanoID",(e,t)=>{Zx.init(e,t),mt.init(e,t)}),Sb=J("ZodCUID",(e,t)=>{Wx.init(e,t),mt.init(e,t)}),Eb=J("ZodCUID2",(e,t)=>{Ux.init(e,t),mt.init(e,t)}),jb=J("ZodULID",(e,t)=>{qx.init(e,t),mt.init(e,t)}),Ib=J("ZodXID",(e,t)=>{Gx.init(e,t),mt.init(e,t)}),Mb=J("ZodKSUID",(e,t)=>{Kx.init(e,t),mt.init(e,t)}),Ob=J("ZodIPv4",(e,t)=>{ey.init(e,t),mt.init(e,t)}),Tb=J("ZodIPv6",(e,t)=>{ty.init(e,t),mt.init(e,t)}),Lb=J("ZodCIDRv4",(e,t)=>{ny.init(e,t),mt.init(e,t)}),Nb=J("ZodCIDRv6",(e,t)=>{ry.init(e,t),mt.init(e,t)}),Pb=J("ZodBase64",(e,t)=>{oy.init(e,t),mt.init(e,t)}),zb=J("ZodBase64URL",(e,t)=>{sy.init(e,t),mt.init(e,t)}),Ab=J("ZodE164",(e,t)=>{ay.init(e,t),mt.init(e,t)}),Rb=J("ZodJWT",(e,t)=>{cy.init(e,t),mt.init(e,t)}),Ph=J("ZodNumber",(e,t)=>{wh.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>L_(e,r,s),c1(e,"ZodNumber",{gt(r,s){return this.check(Zf(r,s))},gte(r,s){return this.check(Xu(r,s))},min(r,s){return this.check(Xu(r,s))},lt(r,s){return this.check(Bf(r,s))},lte(r,s){return this.check(Ju(r,s))},max(r,s){return this.check(Ju(r,s))},int(r){return this.check(En(r))},safe(r){return this.check(En(r))},positive(r){return this.check(Zf(0,r))},nonnegative(r){return this.check(Xu(0,r))},negative(r){return this.check(Bf(0,r))},nonpositive(r){return this.check(Ju(0,r))},multipleOf(r,s){return this.check(Wf(r,s))},step(r,s){return this.check(Wf(r,s))},finite(){return this}});const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function me(e){return a_(Ph,e)}const Db=J("ZodNumberFormat",(e,t)=>{uy.init(e,t),Ph.init(e,t)});function En(e){return l_(Db,e)}const Fb=J("ZodBoolean",(e,t)=>{dy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>N_(e,n,r)});function he(e){return c_(Fb,e)}const $b=J("ZodNull",(e,t)=>{fy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>P_(e,n,r)});function Hb(e){return u_($b,e)}const Vb=J("ZodUnknown",(e,t)=>{hy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>A_()});function Ys(){return d_(Vb)}const Bb=J("ZodNever",(e,t)=>{py.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>z_(e,n,r)});function T0(e){return f_(Bb,e)}const Zb=J("ZodArray",(e,t)=>{my.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>H_(e,n,r,s),e.element=t.element,c1(e,"ZodArray",{min(n,r){return this.check(il(n,r))},nonempty(n){return this.check(il(1,n))},max(n,r){return this.check(Sh(n,r))},length(n,r){return this.check(Eh(n,r))},unwrap(){return this.element}})});function re(e,t){return k_(Zb,e,t)}const zh=J("ZodObject",(e,t)=>{vy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>V_(e,n,r,s),We(e,"shape",()=>t.shape),c1(e,"ZodObject",{keyof(){return Ie(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Ys()})},loose(){return this.clone({...this._zod.def,catchall:Ys()})},strict(){return this.clone({...this._zod.def,catchall:T0()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return Pw(this,n)},safeExtend(n){return zw(this,n)},merge(n){return Aw(this,n)},pick(n){return Lw(this,n)},omit(n){return Nw(this,n)},partial(...n){return Rw(Rh,this,n[0])},required(...n){return Dw(Dh,this,n[0])}})});function M(e,t){const n={type:"object",shape:e??{},...ke(t)};return new zh(n)}function R(e,t){return new zh({type:"object",shape:e,catchall:T0(),...ke(t)})}const Ah=J("ZodUnion",(e,t)=>{_h.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>B_(e,n,r,s),e.options=t.options});function Wt(e,t){return new Ah({type:"union",options:e,...ke(t)})}const Wb=J("ZodDiscriminatedUnion",(e,t)=>{Ah.init(e,t),wy.init(e,t)});function wt(e,t,n){return new Wb({type:"union",options:t,discriminator:e,...ke(n)})}const Ub=J("ZodIntersection",(e,t)=>{xy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Z_(e,n,r,s)});function qb(e,t){return new Ub({type:"intersection",left:e,right:t})}const Gb=J("ZodTuple",(e,t)=>{yy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>W_(e,n,r,s),e.rest=n=>e.clone({...e._zod.def,rest:n})});function Kb(e,t,n){const r=t instanceof nt,s=r?n:t,l=r?t:null;return new Gb({type:"tuple",items:e,rest:l,...ke(s)})}const Gf=J("ZodRecord",(e,t)=>{_y.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>U_(e,n,r,s),e.keyType=t.keyType,e.valueType=t.valueType});function Rt(e,t,n){return!t||!t._zod?new Gf({type:"record",keyType:C(),valueType:e,...ke(t)}):new Gf({type:"record",keyType:e,valueType:t,...ke(n)})}const $d=J("ZodEnum",(e,t)=>{by.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>R_(e,r,s),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,s)=>{const l={};for(const u of r)if(n.has(u))l[u]=t.entries[u];else throw new Error(`Key ${u} not found in enum`);return new $d({...t,checks:[],...ke(s),entries:l})},e.exclude=(r,s)=>{const l={...t.entries};for(const u of r)if(n.has(u))delete l[u];else throw new Error(`Key ${u} not found in enum`);return new $d({...t,checks:[],...ke(s),entries:l})}});function Ie(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new $d({type:"enum",entries:n,...ke(t)})}const Yb=J("ZodLiteral",(e,t)=>{Cy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>D_(e,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function H(e,t){return new Yb({type:"literal",values:Array.isArray(e)?e:[e],...ke(t)})}const Jb=J("ZodTransform",(e,t)=>{ky.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>$_(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new rh(e.constructor.name);n.addIssue=l=>{if(typeof l=="string")n.issues.push(Ks(l,n.value,t));else{const u=l;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=n.value),u.inst??(u.inst=e),n.issues.push(Ks(u))}};const s=t.transform(n.value,n);return s instanceof Promise?s.then(l=>(n.value=l,n.fallback=!0,n)):(n.value=s,n.fallback=!0,n)}});function Xb(e){return new Jb({type:"transform",transform:e})}const Rh=J("ZodOptional",(e,t)=>{bh.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Oh(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Kf(e){return new Rh({type:"optional",innerType:e})}const Qb=J("ZodExactOptional",(e,t)=>{Sy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Oh(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function eC(e){return new Qb({type:"optional",innerType:e})}const tC=J("ZodNullable",(e,t)=>{Ey.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>q_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Yf(e){return new tC({type:"nullable",innerType:e})}const nC=J("ZodDefault",(e,t)=>{jy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>K_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function rC(e,t){return new nC({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():sh(t)}})}const oC=J("ZodPrefault",(e,t)=>{Iy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Y_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function iC(e,t){return new oC({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():sh(t)}})}const Dh=J("ZodNonOptional",(e,t)=>{My.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>G_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function sC(e,t){return new Dh({type:"nonoptional",innerType:e,...ke(t)})}const aC=J("ZodCatch",(e,t)=>{Oy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>J_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function lC(e,t){return new aC({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const cC=J("ZodPipe",(e,t)=>{Ty.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>X_(e,n,r,s),e.in=t.in,e.out=t.out});function Jf(e,t){return new cC({type:"pipe",in:e,out:t})}const uC=J("ZodReadonly",(e,t)=>{Ly.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Q_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function dC(e){return new uC({type:"readonly",innerType:e})}const fC=J("ZodLazy",(e,t)=>{Ny.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>eb(e,n,r,s),e.unwrap=()=>e._zod.def.getter()});function hC(e){return new fC({type:"lazy",getter:e})}const Fh=J("ZodCustom",(e,t)=>{Py.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>F_(e,n)});function pC(e,t){return S_(Fh,e??(()=>!0),t)}function mC(e,t={}){return E_(Fh,e,t)}function gC(e,t){return j_(e,t)}function Jr(e){return(t,n)=>{for(const r of e)Object.hasOwn(t,r)&&t[r]===void 0&&n.addIssue({code:"custom",path:[r],message:"Explicit undefined is not valid JSON"})}}const vC=Wt([C(),me(),he(),Hb()]);function wC(e){const t=new WeakSet,n=[{value:e,leaving:!1}];try{for(;n.length>0;){const r=n.pop();if(!r)break;if(r.leaving){t.delete(r.value);continue}if(!(typeof r.value!="object"||r.value===null)){if(t.has(r.value))return!1;t.add(r.value),n.push({value:r.value,leaving:!0});for(const s of Object.values(r.value))n.push({value:s,leaving:!1})}}}catch{return!1}return!0}const L0=pC(wC,{message:"JSON value must not contain circular references"}),Js=hC(()=>Wt([vC,re(Js),Rt(C(),Js)])),on=L0.pipe(Js);L0.pipe(re(Js));const u1=L0.pipe(Rt(C(),Js)),xC=R({code:C().min(1),message:C().min(1),retryable:he(),diagnostic:C().min(1).optional(),stage:C().min(1).optional(),durationMs:me().int().nonnegative().optional(),stderrTail:C().min(1).optional()}).superRefine(Jr(["diagnostic","stage","durationMs","stderrTail"])),$h=C().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u),Hd=e=>C().min(1).max(e).refine(t=>t.trim().length>0),d1=Rt($h,M({label:Hd(256).optional(),description:Hd(1024).optional()}).strict()).refine(e=>Object.keys(e).length<=16,"Too many locales"),Hh=Rt($h,Hd(4096)).refine(e=>typeof e.en=="string","English fallback is required").refine(e=>Object.keys(e).length<=16,"Too many locales"),f1=C().refine(e=>e.trim().length>0,{message:"Identifier must not be empty or whitespace"}),Et=f1.brand(),ct=f1.brand(),h1=f1.brand();f1.brand();f1.brand();const yC=128,_C=256,bC=1024,CC=32,Vd=C().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),_r=Vd.max(yC).regex(/^[A-Za-z0-9._~:-]+$/u,"Permission Mode ID must use transport-safe characters").brand(),kC=M({id:_r,label:Vd.max(_C),description:Vd.max(bC).optional(),dangerous:he().optional(),localizations:d1.optional()}).strict(),SC=M({modes:re(kC).min(1).max(CC),defaultModeId:_r}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.modes.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Permission Mode IDs must be unique",path:["modes",r,"id"]}),n.add(s.id);n.has(e.defaultModeId)||t.addIssue({code:"custom",message:"Default Permission Mode must exist in the catalog",path:["defaultModeId"]})});M({threadId:ct,permissionModeId:_r}).strict();const EC=8192,Tt=me().int().safe().nonnegative(),wo=me().finite().nonnegative(),Ma=me().finite().min(0).max(100),jC=M({version:Wt([H(3),H(4)]).optional(),requestId:C().min(1),turnId:C().min(1).max(1024),outputTokens:Tt,startedAtMs:Tt,completedAtMs:Tt}).strict().refine(e=>e.completedAtMs>e.startedAtMs),Xf=M({version:Wt([H(2),H(3),H(4)]).optional(),value:wo,turnId:C().min(1).max(1024),at:Tt}).strict();M({outputTimings:re(jC).transform(e=>e.filter(t=>t.version===4)).optional(),outputTokensPerSecond:Xf.refine(e=>e.version===4).optional().catch(void 0),timeToFirstOutputMs:Xf.extend({value:Tt}).optional()}).strict();const Qf=e=>Hh.refine(t=>Object.values(t).every(n=>n.length<=e)),IC=re(M({kind:H("countdown"),id:C().min(1).max(64),expiresAtUnix:Tt,label:Qf(256).optional(),tooltip:Qf(1024).optional()}).strict()).max(2).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,{message:"Composer indicator IDs must be unique"}),N0=M({composerIndicators:IC.optional(),inputTokens:Tt.optional(),cachedInputTokens:Tt.optional(),cacheWriteInputTokens:Tt.optional(),outputTokens:Tt.optional(),outputTokensPerSecond:wo.optional(),sessionOutputTokensPerSecond:wo.optional(),apiOutputTokensPerSecond:wo.optional(),reasoningOutputTokens:Tt.optional(),totalTokens:Tt.optional(),totalCostUsd:wo.optional(),totalCredits:wo.optional(),contextUsagePercent:wo.optional(),cacheHitRatePercent:Ma.optional(),contextWindowTokens:Tt.optional(),contextUsedTokens:Tt.optional(),planFiveHourUsedPercent:Ma.optional(),planFiveHourResetsAtUnix:Tt.optional(),planSevenDayUsedPercent:Ma.optional(),planSevenDayResetsAtUnix:Tt.optional(),sessionCacheHitRatePercent:Ma.optional(),timeToFirstOutputMs:Tt.optional(),latestRequestTimeToFirstOutputMs:Tt.optional(),costSource:Ie(["publicPrice","native"]).optional(),unpricedModels:re(C().min(1)).min(1).optional()}).strict().superRefine((e,t)=>{Object.keys(e).length===0&&t.addIssue({code:"custom",message:"Thread Usage must contain a reliable field"});const n=e.contextUsedTokens!==void 0,r=e.contextWindowTokens!==void 0;n!==r&&t.addIssue({code:"custom",message:"Thread Usage context fields must be provided together",path:[n?"contextWindowTokens":"contextUsedTokens"]}),e.contextWindowTokens===0&&t.addIssue({code:"custom",message:"Thread Usage contextWindowTokens must be greater than zero",path:["contextWindowTokens"]}),e.costSource!==void 0&&e.totalCostUsd===void 0&&t.addIssue({code:"custom",message:"Thread Usage costSource must be provided with totalCostUsd",path:["costSource"]}),e.unpricedModels!==void 0&&e.costSource!=="publicPrice"&&t.addIssue({code:"custom",message:"Thread Usage unpricedModels must be provided with a publicPrice cost",path:["unpricedModels"]}),e.planFiveHourResetsAtUnix!==void 0&&e.planFiveHourUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planFiveHourResetsAtUnix must be provided with planFiveHourUsedPercent",path:["planFiveHourResetsAtUnix"]}),e.planSevenDayResetsAtUnix!==void 0&&e.planSevenDayUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planSevenDayResetsAtUnix must be provided with planSevenDayUsedPercent",path:["planSevenDayResetsAtUnix"]})}),Vh=me().finite().min(0).max(100),Bh=Ie(["weekly","monthly","five_hour","seven_day","unknown"]),Zh=M({id:C().min(1).max(256),label:C().min(1).max(256),localizations:d1.optional()}).strict(),MC=M({product:C().min(1),periodType:Bh.optional(),scope:Zh.optional(),localizations:d1.optional(),used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:C().min(1).max(32).optional(),usagePercent:Vh,resetsAt:C().min(1).optional()}).strict(),OC=M({availableCount:me().int().safe().positive(),nextExpiresAt:C().min(1).optional(),expiresAt:re(C().min(1)).min(1).max(32).optional()}).strict(),P0=M({used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:C().min(1).max(32).optional(),label:C().min(1).optional(),scope:Zh.optional(),localizations:d1.optional(),usedPercent:Vh,resetsAt:C().min(1).optional(),periodType:Bh,productUsage:re(MC).min(1).optional(),resetCredits:OC.optional()}).strict(),Wh=M({amount:me().finite().nonnegative(),currency:C().trim().min(1).max(8),label:C().trim().min(1).max(128).optional()}).strict();M({threadId:ct,refresh:H("exact").optional()}).strict();M({threadId:ct,usage:N0.nullable(),accountCredits:P0.optional(),accountBalance:Wh.optional(),accountCreditsSupported:he().optional()}).strict();const TC=512,z0=256,LC=128,Uh=100,Io=C().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),NC=C().min(1).max(TC).refine(e=>!/\p{Cc}/u.test(e),"Model Ref must not contain control characters").brand(),qh=Ie(["priority","ultrafast"]),Hn=M({id:NC,serviceTier:qh.optional()}).strict();function al(e,t){return e?.id===t?.id&&e?.serviceTier===t?.serviceTier}const Bn=Io.max(LC).regex(/^[A-Za-z0-9._~-]+$/u,"Thinking option ID must use transport-safe characters").brand(),Pl=Io.max(z0),PC=M({id:Bn,label:Io.max(z0)}).strict(),zC=M({ref:Hn,label:Io.max(z0),resolvedModelLabel:Pl.optional(),fastModel:Hn.optional(),supportedThinkingOptionIds:re(Bn).optional()}).strict().refine(e=>e.fastModel?.serviceTier===void 0||e.fastModel.id===e.ref.id,{path:["fastModel","id"],message:"A tiered Fast Model must share the base Model ID"});function AC(e,t){if(t)return e?.models.find(n=>al(n.ref,t)||al(n.fastModel,t))}const A0=re(PC).superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Thinking option IDs must be unique",path:[r,"id"]}),n.add(s.id)}),Gh=M({models:re(zC),defaultModel:Hn.optional(),thinkingOptions:A0,defaultThinkingOptionId:Bn.optional()}).strict().superRefine((e,t)=>{const n=[],r=new Set(e.thinkingOptions.map(({id:s})=>s));for(const[s,l]of e.models.entries()){n.some(d=>al(d,l.ref))&&t.addIssue({code:"custom",message:"Model Catalog refs must be unique",path:["models",s,"ref","id"]}),n.push(l.ref),l.fastModel&&(n.some(d=>al(d,l.fastModel))&&t.addIssue({code:"custom",message:"Fast Model refs must be distinct and unique",path:["models",s,"fastModel"]}),n.push(l.fastModel));const u=new Set;for(const[d,p]of(l.supportedThinkingOptionIds??[]).entries())u.has(p)&&t.addIssue({code:"custom",message:"Supported Thinking option IDs must be unique per Model",path:["models",s,"supportedThinkingOptionIds",d]}),u.add(p),r.has(p)||t.addIssue({code:"custom",message:"Supported Thinking option must exist in the catalog",path:["models",s,"supportedThinkingOptionIds",d]})}e.defaultModel&&!AC(e,e.defaultModel)&&t.addIssue({code:"custom",message:"Default Model must exist in the Model Catalog",path:["defaultModel","id"]}),e.defaultThinkingOptionId&&!r.has(e.defaultThinkingOptionId)&&t.addIssue({code:"custom",message:"Default Thinking option must exist in the catalog",path:["defaultThinkingOptionId"]})}),R0=M({fork:he(),forkAcrossCwd:he(),rollbackLastTurn:he()}).strict().refine(e=>e.fork||!e.forkAcrossCwd,{path:["forkAcrossCwd"],message:"Cross-cwd Fork requires exact history Fork support"}),RC=Ie(["live","atCreate"]),DC=M({configuration:M({selectModel:he(),selectThinkingOption:he(),selectPermissionMode:he(),permissionModeScope:RC.default("live")}).strict(),history:R0,subagents:M({observe:he(),readTranscript:he()}).strict().optional(),autonomousTurns:M({observe:he()}).strict().optional(),steer:he().optional(),persistentPlan:he().optional()}).strict();M({effectiveModel:Hn.optional(),resolvedModelLabel:Pl.optional(),effectiveThinkingOptionId:Bn.optional(),availableThinkingOptions:A0.optional(),effectivePermissionModeId:_r.optional()}).strict().superRefine((e,t)=>{e.effectiveThinkingOptionId&&e.availableThinkingOptions&&!e.availableThinkingOptions.some(({id:n})=>n===e.effectiveThinkingOptionId)&&t.addIssue({code:"custom",message:"Effective Thinking option must be currently available",path:["effectiveThinkingOptionId"]})});const FC=M({open:H(!0)}).strict(),$C=M({status:H("ready"),catalog:Gh,permissionModes:SC.optional(),capabilities:DC,webUi:FC.optional()}).strict().superRefine((e,t)=>{const n=e.capabilities.configuration.selectPermissionMode;n!==!!e.permissionModes&&t.addIssue({code:"custom",message:"Permission Mode catalog and capability must agree",path:n?["permissionModes"]:["capabilities","configuration","selectPermissionMode"]})}),HC=M({status:Ie(["notInstalled","unavailable","error"]),error:xC}).strict();Wt([$C,HC]);M({harnessId:Et,cwd:Io.max(16384).optional(),refresh:he().optional(),purpose:H("availability").optional(),credentialAccess:Ie(["allow","retry"]).optional()}).strict();M({harnessId:Et}).strict();M({}).strict();M({threadId:ct,model:Hn}).strict();M({threadId:ct,thinkingOptionId:Bn}).strict();M({threadId:ct,includeReferenceCapability:he().optional()}).strict();const VC=M({owner:H("codex"),locked:he(),effectiveModel:Hn.optional(),resolvedModelLabel:Pl.optional(),effectiveThinkingOptionId:Bn.optional(),effectivePermissionModeId:_r.optional(),history:R0.optional(),supportsThreadReferences:H(!0).optional()}).strict(),BC=M({owner:H("external"),harnessId:Io.max(256),transportModelId:Io.max(EC),effectiveModel:Hn.optional(),resolvedModelLabel:Pl.optional(),effectiveThinkingOptionId:Bn.optional(),availableThinkingOptions:A0.optional(),effectivePermissionModeId:_r.optional(),catalog:Gh.optional(),history:R0,usage:N0.optional(),locked:H(!0)}).strict();wt("owner",[VC,BC]);M({threadIds:re(ct).min(1).max(Uh)}).strict().superRefine(({threadIds:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s)&&t.addIssue({code:"custom",message:"Thread ownership-list IDs must be unique",path:["threadIds",r]}),n.add(s)});const ZC=M({threadId:ct,owner:H("codex")}).strict(),WC=M({threadId:ct,owner:H("external"),harnessId:C().max(256).pipe(Et)}).strict(),Kh=wt("owner",[ZC,WC]);M({threads:re(Kh).min(1).max(Uh)}).strict().superRefine(({threads:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.threadId)&&t.addIssue({code:"custom",message:"Thread ownership-list results must be unique",path:["threads",r,"threadId"]}),n.add(s.threadId)});M({threadId:ct,text:C().optional()}).strict();M({kind:H("application"),value:C().transform((e,t)=>{try{return JSON.parse(e)}catch{return t.addIssue({code:"custom",message:"Invalid steering context JSON"}),Sw}}).pipe(M({expectedTurnId:h1,clientUserMessageId:C().min(1),delivery:Ie(["newTurn","activeTurn"])}).strict())}).strict().transform(e=>e.value);Ie(["activeTurn","newTurn"]);M({delivery:Ie(["official","activeTurn","newTurn"])}).strict();const UC=128*1024,Yh=128,Jh=C().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u),D0=Jh.pipe(Et),Li=D0.refine(e=>e!=="codex","The official Codex identity is reserved"),ko=C().min(1).max(512).refine(e=>!/[\\\u0000:#?]/u.test(e)&&!e.startsWith("/")&&!e.split("/").some(t=>t===".."||t===""),"Plugin resources must be relative paths inside the plugin"),qa=O0().refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Plugin documentation links must be credential-free HTTPS URLs"),Bd=M({en:C().max(4096),"zh-CN":C().max(4096).optional()}).strict(),qC=M({commands:re(M({terminal:C().max(256),command:C().max(4096)}).strict()).max(8),before:Bd.optional(),after:Bd.optional(),downloads:re(M({label:C().max(128),url:qa}).strict()).max(8).optional()}).strict(),Xh={id:D0,name:C().trim().min(1).max(128),version:C().min(1).max(128),kind:H("usage").optional(),iconStyle:M({vector:M({viewBox:C().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),color:C().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),paths:re(M({d:C().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),fillRule:Ie(["evenodd","nonzero"]).optional(),fill:C().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()}).strict()).min(1).max(32)}).strict().optional(),background:C().regex(/^#[a-f0-9]{6}$/iu).optional(),borderRadius:me().min(0).max(50).optional(),paddingRatio:me().min(0).max(.25).optional()}).strict().optional(),installation:qC.optional(),notice:Bd.optional(),launchCommand:H(!0).optional(),links:M({website:qa.optional(),documentation:qa.optional(),installation:qa.optional()}).strict().optional()};M({manifestVersion:H(1),...Xh,adapterApiVersion:me().int().positive(),entry:ko,icon:ko.optional()}).strict();const GC=C().max(Math.ceil(UC/3)*4+64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u),KC=M({...Xh,icon:GC.optional()}).strict();M({}).strict();M({plugins:re(KC.extend({id:Li})).max(Yh)}).strict();M({version:H(1),enabled:re(D0).max(Yh)}).strict().refine(e=>new Set(e.enabled).size===e.enabled.length,{message:"Enabled plugin IDs must be unique",path:["enabled"]});const YC=1,Qh=64,JC=64*1024*1024,XC=128*1024,F0=4,QC=512*1024,ek=16*1024*1024,zl=Jh,e5=Ie(["sidebar.thread-layout","sidebar.thread-badge","appearance.theme"]),t5=Ie(["appearance","interface","workflow","analytics","integrations","tools"]),ll=C().trim().min(1).max(128);function tk(e){switch(e.match(/\.([^./]+)$/u)?.[1]?.toLowerCase()){case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"webp":return"image/webp";default:return}}const e8=e=>e.split("/").every(t=>!/[. ]$/u.test(t)),n5=ko.refine(e=>tk(e)!==void 0&&e8(e),"Images must be relative .png, .jpg, .jpeg, or .webp paths with no segments ending in a dot or space"),_i=C().trim().max(2048).regex(/^https?:\/\/[^/?#\\\s]+/iu,"Expected an HTTP(S) URL").pipe(O0({protocol:/^https?$/u})).refine(e=>{const{username:t,password:n}=new URL(e);return!t&&!n&&!/[\\\s]/u.test(e)},"URL must not contain credentials, backslashes, or whitespace");function cl(e){return R({en:e,"zh-CN":e})}const Xs=cl(C().trim().min(1)),t8=re(t5).max(t5.options.length).refine(e=>new Set(e).size===e.length,"Duplicate categories"),n8=re(e5).max(e5.options.length).refine(e=>new Set(e).size===e.length,"Duplicate slots"),Ga={key:C().regex(/^[A-Za-z_][A-Za-z0-9_]*$/u),label:Xs,description:Xs.optional()},r5={...Ga,step:me().positive().optional(),default:me().optional()},nk=R({value:C(),label:Xs}),rk=wt("type",[R({...Ga,type:H("boolean"),default:he().optional()}),R({...Ga,type:H("string"),placeholder:Xs.optional(),default:C().optional()}),R({...r5,type:H("number"),min:me().optional(),max:me().optional()}),R({...r5,type:H("range"),min:me(),max:me()}),R({...Ga,type:H("select"),options:re(nk).min(1),default:C().optional()})]).superRefine((e,t)=>{const n=(r,s)=>t.addIssue({code:"custom",path:[r],message:s});if(e.type==="number"||e.type==="range"){const{min:r=-1/0,max:s=1/0,default:l}=e;r>s&&n("max","Must be at least min"),l!==void 0&&(l<r||l>s)&&n("default","Must be within min and max")}else if(e.type==="select"){const r=new Set(e.options.map(({value:s})=>s));r.size!==e.options.length&&n("options","Duplicate option values"),e.default!==void 0&&!r.has(e.default)&&n("default","Must match an option value")}}),ok=M({manifestVersion:En().positive(),id:zl,name:Wt([ll,cl(ll)]),version:C().min(1).max(128),desktopApi:En().positive()}).passthrough(),ik=ok.extend({manifestVersion:H(1),desktopApi:H(YC),description:R({en:C().max(4096),"zh-CN":C().max(4096).optional()}).optional(),author:C().trim().min(1).max(128).optional(),repository:_i.optional(),details:R({en:C().max(16384),"zh-CN":C().max(16384).optional()}).optional(),icon:n5.optional(),screenshots:re(n5).max(F0).refine(e=>new Set(e).size===e.length,"Duplicate screenshots").optional(),desktop:R({script:ko,style:ko.optional()}).optional(),backend:R({script:ko.refine(e8)}).optional(),slots:n8.default(()=>[]),settingsSchema:re(rk).max(32).refine(e=>new Set(e.map(({key:t})=>t)).size===e.length,"Duplicate setting keys").optional(),categories:t8.optional()}).strict().refine(e=>e.desktop!==void 0||e.backend!==void 0,"Expected at least one desktop or backend entry"),$0=C().regex(/^[a-f0-9]{64}$/u),o5=R({state:Ie(["running","disabled","invalid","incompatible","conflict","failed","waiting"]),hash:$0.optional(),error:C().optional(),conflictWith:zl.optional()});R({controllerPid:En().positive(),targetId:C().nullable(),updatedAt:l1(),handledReloadToken:Lh().optional(),extensions:Rt(C(),o5),surfaces:Rt(C(),o5).optional()});const sk=Ie(["official","community"]);function ak(e){return e.origin==="https://api.github.com"&&/^\/repos\/[\w-]+\/[\w.-]+\/zipball(?:\/[^/]+)?\/?$/u.test(e.pathname)}const lk=_i.refine(e=>{const t=new URL(e);return/\.zip$/iu.test(t.pathname)||ak(t)||t.origin==="https://github.com"&&/^\/[\w-]+\/[\w.-]+\/zipball(?:\/.+)?\/?$/u.test(t.pathname)||t.origin==="https://codeload.github.com"&&/^\/[\w-]+\/[\w.-]+\/(?:zip|zipball|legacy\.zip)\/.+$/u.test(t.pathname)},"Expected a .zip download URL or a GitHub zipball URL"),r8=R({id:zl,version:C().trim().min(1).max(128),name:Xs.extend({en:ll,"zh-CN":ll}),description:cl(C().trim().min(1).max(4096)),details:cl(C().trim().min(1).max(16384)).optional(),author:C().trim().min(1).max(128),repository:_i,stars:me().int().min(0).optional(),downloads:me().int().min(0).optional(),categories:t8.optional(),trustTier:sk.default("community"),icon:_i.optional(),screenshots:re(_i).max(F0).optional(),downloadUrl:lk,sha256:$0,slots:n8.optional(),publishedAt:C().optional(),updatedAt:C().optional(),minCodexHostVersion:C().optional()});R({schemaVersion:H(1),generatedAt:C(),extensions:re(r8).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")});const ck=C().trim().min(1).max(128),o8=/^(?:con|prn|aux|nul|com[1-9¹²³]|lpt[1-9¹²³]) *(?:\.|$)/iu,Zd=1,Ni=zl.refine(e=>!o8.test(e),"Reserved extension ID"),uk=Ie(["desktop","web"]),i8=$0,s8=Lh(),Ei=ko.refine(e=>!/[\x00-\x1f\x7f<>"|*]/u.test(e)&&e.split("/").every(t=>!/[. ]$/u.test(t)&&!o8.test(t)),"Expected a portable relative resource path").refine(e=>e.split("/").length<=32,"Extension resources may be at most 32 segments deep"),fo=ik.shape,Oa=(e,t=0)=>R({en:C().trim().min(t).max(e),"zh-CN":C().trim().min(t).max(e)}),H0=e=>Ei.refine(t=>t.endsWith(e),`Expected a ${e} file`),Ta=H0(".mjs"),La=H0(".css").optional(),i5=e=>e.normalize("NFC").toLowerCase(),dk=R({manifestVersion:H(2),id:Ni,name:Oa(128,1),version:C().trim().min(1).max(128),description:Oa(4096),details:Oa(16384).optional(),author:fo.author,repository:fo.repository,icon:fo.icon.refine(e=>e===void 0||Ei.safeParse(e).success),screenshots:fo.screenshots.refine(e=>e===void 0||e.every(t=>Ei.safeParse(t).success)),categories:fo.categories,settingsSchema:fo.settingsSchema,slots:fo.slots.removeDefault().optional(),page:R({apiVersion:H(Zd),entry:Ta,style:La,title:Oa(128,1).optional()}).optional(),widget:R({apiVersion:H(Zd),entry:Ta,style:La}).optional(),desktop:R({apiVersion:H(1),script:H0(".js"),style:La}).optional(),web:R({apiVersion:H(1),entry:Ta.optional(),style:La}).refine(({entry:e,style:t})=>e!==void 0||t!==void 0,"Expected a Web entry or style").optional(),backend:R({apiVersion:H(1),entry:Ta}).optional()}).refine(({page:e,widget:t,desktop:n,web:r,backend:s})=>!!(e||t||n||r||s),"Expected at least one page, widget, desktop, web, or backend entry").refine(({page:e,widget:t,web:n,backend:r})=>!r||[e?.entry,t?.entry,n?.entry].every(s=>s===void 0||i5(s)!==i5(r.entry)),{path:["backend","entry"],message:"A backend entry cannot also be a frontend entry"});function fk({hasPage:e,hasWidget:t,hasDesktop:n,hasWeb:r,hasBackend:s}){if(e||t||s&&!n&&!r)return["desktop","web"];const l=[];return n&&l.push("desktop"),r&&l.push("web"),l}const hk=ck,pk="/api/extensions/assets/";function mk({id:e,activationId:t,digest:n}){return`${pk}${Ni.parse(e)}/${s8.parse(t)}/${i8.parse(n)}/`}function gk({path:e,...t}){const n=Ei.parse(e);return mk(t)+n.split("/").map(encodeURIComponent).join("/")}const vk=JC,br=En().nonnegative(),a8=R({revision:br,enabled:re(Ni).max(Qh).refine(e=>new Set(e).size===e.length,"Duplicate extension IDs")}),{downloadUrl:wk,...xk}=r8.shape,yk=M({...xk,id:Ni,format:H("codexhost"),targets:re(uk).min(1).max(2).refine(e=>new Set(e).size===e.length,"Duplicate targets"),apis:R({page:En().positive().optional(),widget:En().positive().optional(),desktop:En().positive().optional(),web:En().positive().optional(),backend:En().positive().optional()}),downloadUrl:wk.refine(e=>e.startsWith("https://"),"Expected HTTPS")}).refine(({targets:e,apis:t})=>{const n=fk({hasPage:!!t.page,hasWidget:!!t.widget,hasDesktop:!!t.desktop,hasWeb:!!t.web,hasBackend:!!t.backend});return e.length===n.length&&n.every(r=>e.includes(r))},"Catalog targets must match the declared APIs"),_k=M({schemaVersion:H(2),generatedAt:C().min(1),extensions:re(yk).max(1e4).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")}),bk=_k.extend({catalogUrl:_i,fetchedAt:l1(),cached:he()}),Ur={id:Ni},So={...Ur,activationId:s8,digest:i8},Ka={...Ur,activationId:So.activationId.optional()},s5=C().min(1).max(4096).refine(e=>/^(?:\/|[a-z]:[/\\])/iu.test(e)&&!e.includes("\0")&&!e.split(/[/\\]/u).some(t=>t==="."||t===".."),"Expected an absolute local path without dot segments"),a5=C().min(1).max(256).refine(e=>e.split("/").every(t=>t&&/^[a-z0-9_.-]+$/iu.test(t)&&t!=="."&&t!==".."),"Invalid GitHub ref");function l8(e){return C().max(4*Math.ceil(e/3)).refine(t=>{const n=t.endsWith("==")?2:t.endsWith("=")?1:0;return t.length%4===0&&t.length*3/4-n<=e&&/^[A-Za-z0-9+/]*={0,2}$/u.test(t)},"Expected bounded standard padded base64")}const c8=R({type:H("github"),repository:C().max(150).regex(/^[a-z0-9-]+\/[a-z0-9_-][a-z0-9_.-]*$/iu),ref:a5.optional(),tag:a5.optional(),asset:C().max(255).regex(/^[a-z0-9_.-]+\.zip$/iu).optional(),subpath:Ei.optional()}).refine(({ref:e,tag:t,asset:n})=>!e||!t&&!n,"Use either a zipball ref or a release tag/asset"),l5=Wt([R({type:H("catalog"),...Ur}),c8,R({type:H("zip"),base64:l8(vk).min(4)}),R({type:H("zip"),localZipPath:s5}),R({type:H("localDir"),localDir:s5})]),Ck=wt("type",[R({type:H("catalog"),...Ur}),c8,R({type:H("zip")}),R({type:H("localDir")})]),V0=R({...So,manifest:dk,installedAt:l1(),source:Ck.optional()}),c5=e=>C().max(23+4*Math.ceil(e/3)).regex(/^data:image\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/u),u8={desktopConflictWith:Ni.optional()},kk=Ie(["none","inactive","starting","running","failed"]),Sk=wt("state",[V0.extend({state:H("valid"),enabled:he(),...u8,iconDataUrl:c5(XC).optional(),screenshotDataUrls:re(c5(QC)).max(F0).optional(),backendState:kk.optional(),backendError:C().optional()}),R({state:Ie(["invalid","incompatible"]),id:C().min(1),enabled:he(),error:C()})]),Ek=R({revision:br,configuration:a8,diagnostics:re(C()),extensions:re(Sk)}),jk=V0.extend({...u8,settingsRevision:br}),Ik=R({revision:br,extensions:re(jk).max(Qh)}),Ot={list:"codexhost/extensions/list",snapshot:"codexhost/extensions/snapshot",catalog:"codexhost/extensions/catalog",install:"codexhost/extensions/install",update:"codexhost/extensions/update",enable:"codexhost/extensions/enable",disable:"codexhost/extensions/disable",uninstall:"codexhost/extensions/uninstall",recover:"codexhost/extensions/recover",asset:"codexhost/extensions/asset",settingsGet:"codexhost/extensions/settings/get",settingsSet:"codexhost/extensions/settings/set",backendInvoke:"codexhost/extensions/backend/invoke"},d8=Object.freeze(Object.values(Ot));new Set(d8);const u5=R({}),f8={expectedRevision:br},d5=R({...Ur,...f8}),f5=V0.extend({replaced:he()}),Qu=wt("state",[R({state:H("saved"),configuration:a8}),R({state:H("revision-conflict"),revision:br})]),Mk=R({...Ka,digest:So.digest.optional(),path:Ei}),Ok=R({mimeType:C().min(1),base64:l8(ek),digest:So.digest}),h5=R({settingsRevision:br,values:u1}),Tk={[Ot.list]:{params:u5,result:Ek},[Ot.snapshot]:{params:u5,result:Ik},[Ot.catalog]:{params:R({forceRefresh:he().optional()}),result:bk},[Ot.install]:{params:R({source:l5}),result:f5},[Ot.update]:{params:R({...Ur,expectedDigest:So.digest,expectedActivationId:So.activationId.optional(),source:l5.optional()}),result:f5},[Ot.enable]:{params:d5,result:Qu},[Ot.disable]:{params:d5,result:Qu},[Ot.uninstall]:{params:R({...Ur,removeData:he().optional(),expectedDigest:So.digest.optional()}),result:R({...Ur,removed:he()})},[Ot.recover]:{params:R({expectedRevision:f8.expectedRevision.optional()}),result:Qu},[Ot.asset]:{params:Mk,result:Ok},[Ot.settingsGet]:{params:R(Ka),result:h5},[Ot.settingsSet]:{params:R({...Ka,expectedSettingsRevision:br,values:u1}),result:h5},[Ot.backendInvoke]:{params:R({...Ka,method:hk,params:on.optional()}),result:R({result:on})}},Lk="codexhost/thread/archive/confirm";M({threadId:ct}).strict();M({confirmed:he()}).strict();const Nk=1;[...d8];M({sections:re(M({id:C().min(1),name:C().min(1),threads:re(u1)}).strict())}).strict();M({threadId:C().min(1).max(1024),sectionId:C().min(1).max(1024).nullable()}).strict();M({threadIds:re(C().min(1))}).strict();M({threadId:C().min(1).max(1024),pinned:he()}).strict();M({}).strict();M({parents:Rt(C().min(1),C().min(1))}).strict();M({prompt:C().max(16384).optional()}).strict();M({projects:re(M({id:C(),name:C(),rootPaths:re(C())})),assignments:Rt(C(),C()),projectless:re(C()),pinned:re(C())});const ul=Rt(C(),Ys()),Vr=M({epoch:C().uuid(),sequence:me().int().nonnegative()}),Pk=wt("type",[M({type:H("skills-changed"),cursor:Vr,cwd:C().optional()}),M({type:H("harness-inspection-changed"),cursor:Vr,harnessId:C().min(1)}),M({type:H("display-settings-changed"),cursor:Vr}),M({type:H("preferences-changed"),cursor:Vr,revision:me().int().nonnegative()}),M({type:H("extensions-changed"),cursor:Vr,revision:br}),M({type:H("hello"),version:H(1),cursor:Vr,reset:he()}),M({type:H("changed"),cursor:Vr,threadId:C().min(1),method:C().min(1)})]),zk=wt("type",[M({type:H("text"),id:C(),prompt:C(),secret:he().optional(),optional:he().optional()}),M({type:H("choice"),id:C(),prompt:C(),multiple:he(),allowOther:he(),optional:he().optional(),options:re(M({value:C(),label:C(),description:C().optional()}))})]),Ak=wt("type",[M({type:H("approval"),title:C(),description:C().optional(),subject:Ys().optional(),actions:re(M({id:C(),label:C(),effect:C()}))}),M({type:H("question"),title:C().optional(),questions:re(zk)})]),Rk=M({requestId:Wt([C(),me().int()]),threadId:C(),kind:Ie(["approval","question"]),interaction:Ak,request:ul}),Dk=M({id:C().min(1),clientUserMessageId:C().min(1),input:re(ul),presentationInput:re(ul).nullable().optional()}).passthrough(),Fk=re(Wt([C(),me().int().nonnegative()]));M({fields:re(M({path:Fk,originalLength:me().int().nonnegative()}))});const ed=M({id:C().min(1),status:C().min(1),codexhostTurnOutcome:M({status:H("unknown"),reason:C()}).optional(),items:re(M({id:C().min(1),type:C().min(1)}).passthrough()),codexhostFileOperations:re(M({beforeItemId:C().nullable(),item:M({id:C().min(1),type:C().min(1)}).passthrough()})).optional(),error:M({message:C().optional()}).passthrough().nullable().optional(),fingerprint:C().min(1).optional(),unchanged:H(!0).optional()}).passthrough(),$k=M({id:C().min(1).max(512),fingerprint:C().min(1).max(128)});M({threadId:C().min(1),knownTurns:re($k).max(64).optional(),truncateToolOutput:he().optional()});const Hk=M({harnessId:C().min(1),nativeSessionId:C().min(1)});M({cursor:Vr,activeTurnId:C().min(1).nullable().optional(),command:M({name:C().min(1),turn:ed,subsequentTurnId:C().min(1).optional()}).optional(),thread:M({id:C().min(1),cwd:C(),modelProvider:C().min(1),createdAt:me(),updatedAt:me(),status:M({type:C()}).passthrough(),name:C().nullable().optional(),preview:C().optional(),codexhostImportSource:Hk.optional(),turns:re(ed).length(0)}).passthrough(),turnsPage:M({data:re(ed).max(5),nextCursor:C().nullable()}),configuration:M({native:M({model:C().min(1).max(1024).optional(),reasoningEffort:C().min(1).max(128).optional()}).optional(),effectiveModel:Hn.optional(),effectiveThinkingOptionId:Bn.optional(),effectivePermissionModeId:_r.optional()}),queue:M({items:re(Dk),pausedReason:Ie(["interrupted","outcome-unknown","failed"]).nullable()}).optional(),interactions:re(Rk)});M({version:H(Nk),owner:H("service").optional(),pid:me().int().positive(),port:me().int().min(1).max(65535),token:C().regex(/^[0-9a-f]{64}$/u),startedAt:me(),epoch:C().uuid()});M({epoch:C().uuid(),threadId:C().min(1),requestId:Wt([C(),me().int()]),result:ul});M({includeArchived:he().optional(),officialCursor:M({live:C().nullable(),archived:C().nullable().optional()}).strict().optional()}).strict();M({threads:re(u1),ownership:re(Kh),archivedThreadIds:re(ct),officialCursor:M({live:C().nullable(),archived:C().nullable().optional()}).strict().optional()}).strict();const Vk=5e3,Bk=Ie(["running","waiting","idle","unknown"]),Zk=R({harnessId:Et,title:C().optional(),status:Bk,archived:he()}),Wk=R({revision:En().nonnegative(),parents:Rt(ct,ct),nodes:Rt(ct,Zk),truncated:he()}).refine(e=>Object.keys(e.nodes).length<=Vk,"Too many Thread tree nodes").refine(({parents:e,nodes:t})=>Object.entries(e).every(([n,r])=>Object.hasOwn(t,n)&&Object.hasOwn(t,r)),"Missing Thread tree node"),Uk=C().min(1).max(128);R({});const qk=R({subscriptionId:Uk});R({});qk.extend({snapshot:Wk});const Gk=["app","topbar","sidebar","conversation"],Kk=C().regex(/^audio\/[a-z0-9.+-]+(?:\s*;[^\r\n]*)?$/i);M({available:he()}).strict();M({path:C().min(1),mimeType:Kk}).strict();const Yk=Ie(["credentials-unavailable","login-expired","rate-limited","service-rejected","host-incompatible","network","timeout","audio-empty","audio-too-large","audio-format","audio-invalid"]);wt("ok",[M({ok:H(!0),text:C()}).strict(),M({ok:H(!1),error:M({code:Yk}).strict()}).strict()]);M({threadId:ct.optional(),cwd:C().min(1).optional()}).strict().refine(e=>!(e.threadId&&e.cwd),{message:"Specify threadId or cwd, not both"});const Jk=M({name:C().min(1).regex(/^[^\s[\]]+$/u),description:C().optional(),path:C().min(1),scope:Ie(["project","global"]),source:C().min(1)}).strict();M({revision:me().int().nonnegative(),complete:he(),skills:re(Jk),warnings:re(C()).optional()}).strict();M({cwd:C().min(1).optional()}).strict();const Xk=/\[\$([^\]\r\n]+)\]\((?:<([^<>\r\n]+)>|([^\s()]+))(?:[ \t]+(?:"[^"\r\n]*"|'[^'\r\n]*'))?\)/gu;function Qk(e){return[...e.matchAll(Xk)].flatMap(t=>{const n=t[2]??t[3]??"";return!/^(?:\/|[A-Za-z]:[\\/]|\\\\)/u.test(n)||!/[\\/]SKILL\.md$/u.test(n)?[]:[{start:t.index,end:t.index+t[0].length,name:t[1]??"",path:n,text:t[0]}]})}const p5=M({kind:Ie(["public","relay","tailscale-funnel","tailscale-https","tailscale","lan","virtual"]),url:C().min(1)}).strict(),h8=wt("status",[M({status:H("not-installed")}),M({status:H("not-running")}),M({status:H("not-logged-in")}),M({status:H("https-disabled")}),M({status:H("not-serving"),command:C()}),M({status:H("occupied"),target:C()}),M({status:H("serving"),url:C(),funnel:he()}),M({status:H("error"),message:C()})]);M({state:h8,error:C().optional()}).strict();const eS=wt("status",[M({status:H("on")}),M({status:H("off")}),M({status:H("invalid"),reason:C()})]),tS=M({lan:he(),autostart:eS}).strict(),m5=M({expiresAt:C().optional(),issuing:he(),failure:M({detail:C().optional(),retryAt:C(),paused:he()}).optional()}),nS=wt("status",[M({status:H("off"),reason:Ie(["invite","name-taken","banned"]).optional()}),M({status:H("connecting"),reason:Ie(["full","unreachable"]).optional()}),M({status:H("connected"),url:C(),certificate:m5}),M({status:H("missing-certificate"),url:C(),certificate:m5}),M({status:H("stopped"),reason:Ie(["replaced","rejected","unsupported-version"])})]);C().max(253).regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$/i).transform(e=>e.toLowerCase());C().regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)?$/);const rS=Ie(["official","self-hosted"]);M({secret:C().min(1),lastUsedAt:me().nullable(),networkUrls:re(p5),directCandidates:re(p5).optional(),tailscale:h8,background:tS.optional(),relay:M({state:nS,enabled:he(),kind:rS,officialHost:C(),customHost:C().optional(),officialHostname:C().optional(),customHostname:C().optional(),quotaUntil:C().optional()}).strict().optional()}).strict();const oS=R({threadId:C().min(1).max(1024),view:Ie(["result","messages"]),from:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),to:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()}),p8=M({id:C().min(1).max(256),harnessId:C().min(1),label:C().min(1).max(512),provider:Ie(["openai-codex","xai"])}).strict(),Ya=C().regex(/^[a-z][a-z0-9-]{0,47}$/),iS=M({name:Ya,source:p8,importedAt:C()}).strict(),sS=wt("action",[M({action:H("list")}).strict(),M({action:H("import"),sourceId:C().min(1).max(256),name:Ya,confirmed:H(!0)}).strict(),M({action:H("reimport"),sourceId:C().min(1).max(256),name:Ya,confirmed:H(!0)}).strict(),M({action:H("remove"),name:Ya,confirmed:H(!0)}).strict()]),aS=M({provider:C().min(1).max(128),type:Ie(["oauth","api_key","unknown"]),label:C().min(1).max(512).optional(),vendor:Ie(["openai-codex","xai"]).optional()}).strict();M({sources:re(p8),targets:re(M({harnessId:C(),providers:re(Ie(["openai-codex","xai"])),imports:re(iS),others:re(aS).default([])}).strict())}).strict();M({targetHarnessId:C().min(1).max(128).optional(),request:sS}).strict();M({events:he()});const m8=re(R({agent:C().min(1).max(128),section:Ie(["main","more","auto"])})).max(256).refine(e=>new Set(e.map(t=>t.agent)).size===e.length,"Duplicate Harness IDs");R({entries:m8.nullable()});R({});R({entries:m8,initializeOnly:he().optional()});const lS=5,cS=1440,g8=R({enabled:he(),timeoutMinutes:me().int().min(lS).max(cS)}),Al=C().regex(/^external$/u),B0=Et.transform(e=>String(e)),v8=R({model:Hn.optional(),thinkingOptionId:Bn.optional(),permissionModeId:_r.optional()}).refine(e=>!!(e.model||e.thinkingOptionId||e.permissionModeId),"A default configuration must contain a preference"),uS=R({lastHarness:Et.optional(),byHarness:Rt(B0,v8)}),w8=R({model:Hn.optional(),thinkingOptionId:Bn.optional()}).refine(e=>!!(e.model||e.thinkingOptionId),"A delegation default must contain a Model or Thinking option"),dS=R({byHarness:Rt(B0,w8)}),Wd=C().min(1).max(1024),x8=R({idleRelease:g8.optional(),favorites:Rt(B0,re(Wd).max(2048)).default({}),newThread:uS.optional(),delegation:dS.optional()});R({scope:Al,revision:me().int().nonnegative(),values:x8});R({scope:Al.default("external")});const fS=wt("kind",[R({kind:H("idleRelease"),value:g8}),R({kind:H("favorite"),harnessId:Et,modelId:Wd,enabled:he()}),R({kind:H("favorites"),harnessId:Et,modelIds:re(Wd).max(2048)}),R({kind:H("newThread"),lastHarness:Et.optional(),harnessId:Et.optional(),configuration:v8.optional()}),R({kind:H("delegation"),harnessId:Et,configuration:w8.nullable()})]);R({scope:Al.default("external"),operations:re(fS).min(1).max(256),initializeOnly:he().optional(),expectedRevision:me().int().nonnegative().optional()}).superRefine((e,t)=>{for(const n of e.operations)n.kind==="newThread"&&(!n.lastHarness&&!n.configuration||!!n.harnessId!=!!n.configuration)&&t.addIssue({code:"custom",message:"A default Harness or complete configuration is required"})});R({version:H(1),revision:me().int().nonnegative(),scopes:Rt(Al,x8)});const js=me().finite().nonnegative(),Rl=R({input:js,output:js,cacheRead:js.optional(),cacheWrite:js.optional(),cacheWrite1h:js.optional()}),Ud=C().max(512).refine(e=>e.trim()===e&&e.length>0,"Model ID is required");R({path:C(),entries:re(R({key:C(),price:Rl})),error:C().nullable()});R({});R({key:Ud,price:Rl.nullable(),previousKey:Ud.optional()});R({model:Ud});const hS=R({official:he().optional(),canonicalModelId:C().min(1).optional(),provider:C().min(1).max(512),model:C().min(1).max(512),price:Rl});R({price:Rl.nullable(),suggestions:re(hS).max(6).optional()});const y8=["today","7d","30d","90d","all"],Lt=me().int().min(0).max(Number.MAX_SAFE_INTEGER),Ds=C().regex(/^\d{4}-\d{2}-\d{2}$/u),mr=C().min(1).max(128),Br=C().min(1).max(512),Hs=C().min(1).max(4096);R({range:Ie(y8),timeZone:C().min(1).max(128).refine(e=>{try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}},"Unsupported usage statistics timezone").optional(),harness:mr.optional(),model:Br.nullable().optional(),project:Hs.nullable().optional(),date:Ds.optional()});const _8=R({requests:Lt,inputTokens:Lt,cachedInputTokens:Lt,cacheWriteInputTokens:Lt,cacheKnownInputTokens:Lt,cacheHitCachedInputTokens:Lt,cacheHitInputTokens:Lt,outputTokens:Lt,reasoningOutputTokens:Lt,costUsd:me().finite().min(0),unpricedRequests:Lt,unmeteredRequests:Lt}),ui=_8.shape,g5=R({harness:mr,sessionId:C().min(1).max(512),project:Hs.nullable(),title:C().min(1).max(200).optional(),models:re(Br).max(16),firstAtMs:Lt,lastAtMs:Lt,...ui});R({range:Ie(y8),from:Ds.nullable(),to:Ds,filters:R({harness:mr.nullable(),model:Br.nullable(),unknownModel:he(),project:Hs.nullable(),unknownProject:he(),date:Ds.nullable()}),reading:R({complete:he(),sources:Lt,read:Lt}),failures:re(R({harness:mr,message:C().max(2048)})).max(256),options:R({harnesses:re(mr).max(256),models:re(Br.nullable()).max(4096),projects:re(Hs.nullable()).max(4096)}),modelLabels:re(R({harness:mr,model:Br,label:Br})).max(4096).optional(),credits:re(R({harness:mr,model:Br.nullable(),credits:me().finite().min(0),reportedRequests:Lt,requests:Lt})).max(4096).optional(),totals:_8,daily:re(R({date:Ds,harness:mr,...ui})).max(2e5),hourly:re(R({weekday:me().int().min(0).max(6),hour:me().int().min(0).max(23),...ui})).max(168),byHarness:re(R({harness:mr,...ui})).max(256),byModel:re(R({model:Br.nullable(),...ui,harnessPricedRequests:Lt})).max(4096),byProject:re(R({project:Hs.nullable(),...ui})).max(4096),sessions:re(g5).max(100),recentSessions:re(g5).max(100).optional()});M({threadId:ct});M({discarded:he()});const pS=wt("type",[M({id:C().min(1),type:H("choice"),prompt:C(),options:re(M({value:C().min(1),label:C(),description:C().optional()})).min(1),multiple:he(),allowOther:he(),optional:he()}),M({id:C().min(1),type:H("text"),prompt:C(),multiline:he(),secret:H(!1),optional:he(),placeholder:C().optional(),prefill:C().optional()})]),mS=M({interactionId:C().min(1),turnId:C().min(1),title:C().optional(),questions:re(pS).min(1)}).refine(({questions:e})=>e.some(t=>t.type==="choice"&&t.multiple),{message:"Shared cards require at least one multi-select question"});R({threadId:C().min(1)});M({questions:re(mS)});R({threadId:C().min(1),turnId:C().min(1),interactionId:C().min(1),answers:Rt(C(),re(C())),cancelled:he().default(!1)});M({accepted:H(!0)});const gS=M({path:C(),oldText:C().nullable(),newText:C()});M({sessionId:C().min(1),turn:me().int().nonnegative(),path:C().min(1).optional()});M({diffs:re(gS)});R({});R({});const vS=M({sessionId:C().min(1),epoch:C().min(1),turn:me().int().nonnegative(),seq:me().int().nonnegative(),callId:C().min(1),part:me().int().nonnegative(),version:C().min(1)});M({reference:vS,length:me().int().nonnegative(),bytes:me().int().nonnegative()});R({title:C().trim().min(1).max(200),type:Ie(["info","warning","danger"]),body:C().trim().min(1).max(16*1024)});R({});R({url:C().max(2048).regex(/^http:\/\/(?:127\.0\.0\.1|localhost):\d{1,5}\/(?:\?.*)?$/u)});const wS=1,xS=Ie(["idle","running","busy","closing","failed","blocked"]),yS=Ie(["none","disabled","timeout","operation","background","identity","persistence","closeFailed"]);re(R({threadId:C(),title:C(),harnessId:C(),state:xS,reason:yS,inactiveMs:me().nonnegative()}));R({threadId:ct,turnId:h1});const b8=M({email:C().trim().min(1).max(320).optional(),label:C().trim().min(1).max(256).optional(),plan:C().trim().min(1).max(128).optional(),credits:P0.optional(),balance:Wh.optional()}).strict();function C8(e){return e.refine(t=>{const n=t;return n.credits!==void 0||n.balance!==void 0},{message:"Account must report either credits or a balance"})}const v5=C8(b8),Z0={harnessId:Et,harnessName:C().trim().min(1).max(128)},_S=M(Z0).strict();M({}).strict();M({sources:re(_S).max(128)}).strict();M({harnessId:Et,refresh:he().optional()}).strict();M({...Z0,account:v5.nullable(),accounts:re(v5).max(8).optional()}).strict();M({refresh:he().optional()}).strict();M({accounts:re(C8(b8.extend(Z0))).max(128)}).strict();M({harnessId:Li,model:Hn.optional(),thinkingOptionId:Bn.optional(),permissionModeId:_r.optional(),prewarm:H(!0).optional()}).strict();const k8=C().trim().min(1).max(4096).refine(e=>!/[\u0000\r\n]/u.test(e),"Invalid entrypoint path"),bS=M({harnessId:Li}).strict();bS.extend({path:k8.nullable()});M({path:k8.nullable(),restartRequired:he()}).strict();M({harnessId:Et,action:Ie(["check","update","install"]),confirmedVersion:C().min(1).max(128).optional()}).strict().refine(({action:e,confirmedVersion:t})=>e==="update"||t===void 0);const CS=M({currentVersion:C().min(1).max(128),latestVersion:C().min(1).max(128),updateAvailable:he(),canUpdate:he(),latestVerifiedVersion:C().min(1).max(128).optional(),confirmationRequired:H(!0).optional(),versionKind:Ie(["cli","application"]).optional(),manualUpdateUrl:O0().max(2048).refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Manual updates require a credential-free HTTPS URL").optional(),message:C().max(2048).optional(),messageCode:C().min(1).max(128).optional(),notice:Hh.optional(),latestVersionKind:Ie(["unknown","tracking-branch"]).optional()}).strict();M({taskId:C().uuid()}).strict();wt("status",[M({taskId:C().uuid(),status:H("running")}).strict(),M({taskId:C().uuid(),status:H("succeeded"),result:CS}).strict(),M({taskId:C().uuid(),status:H("failed"),error:M({code:me().int(),message:C().min(1).max(2048)}).strict()}).strict()]);const Dl=C().min(1).max(256).regex(/^[A-Za-z0-9._~-]+$/u),S8=C().trim().min(1),kS=Ie(["free","go","plus","pro","prolite","team","self_serve_business_prolite","self_serve_business_usage_based","business","ent26","enterprise_cbp_automation","enterprise_cbp_usage_based","enterprise","edu","edu_plus","edu_pro","unknown"]),SS=M({accountId:Dl,label:S8.max(256),email:C().email().max(320).optional(),planType:kS.optional()}).strict(),ES=Ie(["ready","unavailable"]);M({version:H(2),currentAccountId:Dl.nullable(),phase:ES,revision:me().int().nonnegative(),instanceId:S8.max(1024).optional(),accounts:re(SS).max(1)}).strict();M({accountId:Dl,refresh:he().optional()}).strict();M({accountId:Dl,usage:N0.nullable(),accountCredits:P0.optional(),freshness:Ie(["live","cached"]),observedAt:C().datetime().nullable()}).strict();const jS=1024,IS=16384,MS=4096,W0=1e3,OS=864e13,Qs=C().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),U0=Qs.max(jS),E8=M({nativeSessionId:U0,title:Qs.max(MS).nullable(),updatedAt:me().int().nonnegative().max(OS),cwd:Qs.max(IS),running:he().nullable()}).strict();M({}).strict();M({harnesses:re(M({harnessId:Li,name:Qs.max(128)}).strict()).max(128)}).strict();M({harnessId:Li,query:C().trim().max(4096).refine(e=>!e.includes("\0")).optional(),offset:me().int().nonnegative().safe().optional(),limit:me().int().min(1).max(W0).optional()}).strict();M({candidates:re(E8).max(W0),total:me().int().nonnegative().safe()}).strict();M({harnessId:Li,nativeSessionId:U0}).strict();M({threadId:Qs.max(1024).pipe(ct)}).strict();const TS=W0,LS=1024,NS=C().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),PS=U0,zS=E8;M({}).strict();M({candidates:re(zS).max(TS)}).strict();M({nativeSessionId:PS}).strict();M({threadId:NS.max(LS).pipe(ct)}).strict();M({threadId:ct,lastTurnId:h1}).strict();M({threadId:ct}).strict();const j8=C().trim().min(1).max(128).regex(/^[A-Za-z0-9._:-]+$/u).brand(),AS=C().min(1).max(128),RS=C().trim().min(1).max(128),DS=C().trim().min(1).max(512),FS=M({id:j8,invocation:AS,label:RS,description:DS.optional(),localizations:d1.optional(),argumentMode:Ie(["none","text"]),kind:Ie(["command","skill"]).optional()}).strict();M({commands:re(FS),warnings:re(C().min(1)).optional(),source:Ie(["live","static"]).optional()}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.commands.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Harness command IDs must be unique",path:["commands",r,"id"]}),n.add(s.id)});M({harnessId:Et,cwd:C().min(1).optional()}).strict();M({threadId:ct}).strict();M({threadId:ct,commandId:j8,turnId:h1.optional(),arguments:u1.optional()}).strict();M({accepted:H(!0),turnId:h1.optional()}).strict();const Fl=H("2.0").optional(),$n=T0().optional(),I8=C().min(1),q0=Wt([C(),me().int()]),$S=M({code:me().int(),message:C(),data:on.optional()}).catchall(on).superRefine(Jr(["data"])),HS=M({jsonrpc:Fl,id:q0,method:I8,params:on.optional(),result:$n,error:$n}).catchall(on).superRefine(Jr(["jsonrpc","params","result","error"])),VS=M({jsonrpc:Fl,id:$n,method:I8,params:on.optional(),result:$n,error:$n}).catchall(on).superRefine(Jr(["jsonrpc","id","params","result","error"])),BS=M({jsonrpc:Fl,id:q0,method:$n,params:$n,result:on,error:$n}).catchall(on).superRefine(Jr(["jsonrpc","method","params","error"])),ZS=M({jsonrpc:Fl,id:q0,method:$n,params:$n,result:$n,error:$S}).catchall(on).superRefine(Jr(["jsonrpc","method","params","result"]));Wt([HS,VS,BS,ZS]);const e1=C().refine(e=>e.trim().length>0,{message:"Native identifier must not be empty or whitespace"});R({harnessId:Et,nativeSessionId:e1,locator:on.optional(),formatVersion:H(1)}).superRefine(Jr(["locator"]));R({harnessId:Et,nativeSessionId:e1,nativeTurnKey:e1,formatVersion:H(1)});R({harnessId:Et,nativeSessionId:e1,checkpointId:e1,locator:on.optional(),formatVersion:H(1)}).superRefine(Jr(["locator"]));const M8=500,WS=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u,t1=C().regex(WS),O8=Ie(["npm","windows-installer","macos-dmg"]),US=Ie(["prepared","downloading","waiting-for-exit","installing","restarting","succeeded","failed"]),G0=R({version:t1,installation:O8,phase:US,updatedAt:me().int().nonnegative(),downloadedBytes:me().int().nonnegative().optional(),totalBytes:me().int().positive().optional(),error:C().min(1).max(M8).nullable(),serviceStopOutput:C().optional()}).superRefine((e,t)=>{e.downloadedBytes!==void 0&&e.totalBytes!==void 0&&e.downloadedBytes>e.totalBytes&&t.addIssue({code:"custom",path:["downloadedBytes"],message:"downloadedBytes must not exceed totalBytes"})});R({});const qS=C().max(300).regex(/^https:\/\/github\.com\/BytePioneer-AI\/codex-host\/releases\/tag\/v[0-9A-Za-z.+-]+$/u,"release notes URL must identify a codexhost GitHub Release");R({currentVersion:t1,installation:O8.nullable(),latestVersion:t1.nullable(),updateAvailable:he(),installationAvailable:he(),releaseNotes:C().min(1).max(2e4).nullable(),releaseNotesUrl:qS.nullable(),status:G0.nullable(),error:C().min(1).max(M8).nullable()});R({status:G0});R({status:G0.nullable()});const GS=12,KS=R({icon:C().min(1).max(16).optional(),title:C().min(1).max(120),body:C().min(1).max(1200),contributors:re(C().min(1).max(39)).max(30)}),w5=R({summary:C().min(1).max(600).optional(),themes:re(KS).min(1).max(GS)}),YS=R({version:t1,publishedAt:l1(),url:C().max(300).regex(/^https:\/\/github\.com\/BytePioneer-AI\/codex-host\/releases\/tag\/v[0-9A-Za-z.+-]+$/u),zh:w5.nullable(),en:w5.nullable()}).refine(e=>e.zh!==null||e.en!==null,{message:"an announcement needs at least one language"});R({manual:he().optional()});R({announcement:YS.nullable(),unread:he()});R({version:t1});const JS=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu;function XS(e){const t=[],n=new Set;return{text:e.replace(JS,(s,l,u)=>{const d=l.trim();return n.has(u)||(n.add(u),t.push({harnessId:u,label:d})),`@${d}`}),mentions:t}}function QS(e){if(e===void 0)return;const t=Number(e);return Number.isSafeInteger(t)&&t>0&&String(t)===e?t:void 0}const eE=Ie(["idle","installing","restarting","succeeded","failed"]);M({runningVersion:C().nullable(),installedVersion:C().nullable(),restartRequired:he(),remote:he(),updateSupported:he(),update:M({phase:eE,targetVersion:C().nullable(),error:C().nullable()})});const tE=M({version:C().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u)}).strict();M({hostname:C().min(1).max(1024).refine(e=>!e.startsWith("-")&&!/\s/u.test(e)),port:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable(),action:Ie(["inspect","install","update","repair","uninstall"]),uninstallPackage:he().optional(),version:C().regex(/^\d+\.\d+\.\d+$/u).nullable()}).strict();M({state:Ie(["installed","not-installed"])}).strict();const nE=1024,Xe=C().min(1).max(nE),di={hostId:Xe.regex(/^remote-(?:ssh(?:-|:)|control:)/u)},An={...di,threadId:Xe},T8=C().min(1).max(8e3),x5={text:T8,requestId:Xe};wt("accepted",[M({accepted:H(!0),startQueuedItemId:Xe.optional()}),M({accepted:H(!1),code:Ie(["remote/queue-unavailable","remote/steer-unavailable","remote/turn-changed","remote/send-rejected","session/queue-item-not-found","session/queue-item-starting"]),message:C()})]);wt("available",[M({available:H(!1)}),M({available:H(!0),items:re(M({id:Xe,clientUserMessageId:Xe,preview:C().max(801)})).max(100)})]);const rE=wt("kind",[R({kind:H("hosts")}),R({kind:H("create"),...di,cwd:C().min(1).max(8192),epoch:Xe}),R({kind:H("projectHarnesses"),...di,epoch:Xe}),R({kind:H("inspectHarness"),...di,epoch:Xe,cwd:C().min(1).max(8192),harnessId:Xe}),R({kind:H("startSelected"),...di,epoch:Xe,cwd:C().min(1).max(8192),harnessId:Xe,model:C().min(1).max(4096),serviceTier:Ie(["priority","ultrafast"]).optional(),reasoningEffort:Xe.optional()}),R({kind:H("status"),...An}),R({kind:H("list"),...di,cursor:C().nullable(),archived:he(),includeLoaded:H(!0).optional()}),R({kind:H("read"),...An,page:R({cursor:C().min(1).max(8192).nullable(),epoch:Xe.optional(),sortDirection:Ie(["asc","desc"]).optional(),limit:me().int().min(1).max(20).optional()}).refine(e=>e.cursor===null||e.epoch!==void 0,{message:"A history continuation requires its connection epoch"}).optional()}),R({kind:H("usage"),...An,epoch:Xe}),R({kind:H("configure"),...An,epoch:Xe,modelId:Xe.optional(),serviceTier:qh.optional(),thinkingOptionId:Xe.optional(),permissionModeId:Xe.optional()}).refine(e=>[e.modelId,e.thinkingOptionId,e.permissionModeId].filter(t=>t!==void 0).length===1,"Select exactly one remote setting").refine(e=>e.serviceTier===void 0||e.modelId!==void 0,{message:"A service tier requires a Model ID"}),R({kind:H("prompt"),...An,epoch:Xe,text:T8,requestId:Xe.optional()}),R({kind:H("queue"),...An,epoch:Xe}),R({kind:H("delivery"),...An,epoch:Xe,action:wt("kind",[R({kind:H("enqueue"),...x5}),R({kind:H("steer"),...x5,turnId:Xe}),R({kind:H("remove"),itemId:Xe}),R({kind:H("start"),itemId:Xe,onlyIfHead:H(!0).optional()})])}),R({kind:H("interrupt"),...An,epoch:Xe,turnId:Xe}),R({kind:H("rename"),...An,epoch:Xe,name:C().min(1).max(512)}),R({kind:H("archive"),...An,epoch:Xe,archived:he()}),R({kind:H("respond"),...An,epoch:Xe,requestId:Wt([Xe,me().int()]),result:Rt(C(),Ys())})]),fi=C().min(1).max(1024),y5=M({hostId:fi,displayName:C().min(1).max(1024),source:Ie(["codex-managed","discovered"]),sshAlias:C().max(1024).nullable(),sshHost:C().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable(),autoConnect:he(),connectionAnalyticsId:C().max(1024).optional()}),oE=R({displayName:C().min(1).max(1024),hostname:C().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:C().max(4096).nullable()});wt("action",[R({action:H("session"),operation:rE}),R({action:H("list")}),R({action:H("catalog")}),R({action:H("read-thread"),hostId:fi.refine(e=>e!=="local"),input:oS}),R({action:H("save"),draft:oE,previous:y5.nullable()}),R({action:H("remove"),previous:y5}),R({action:H("connect"),hostId:fi,enabled:he()}),R({action:H("state"),hostId:fi}),R({action:H("runtime"),hostId:fi}),R({action:H("update"),hostId:fi.refine(e=>e!=="local"),version:tE.shape.version})]);Wt([R({result:on}),R({error:R({code:me().int(),message:C()})})]);R({prompt:C().trim().min(1).max(2e3),cwd:C().max(4096).nullable()});C().trim().min(1).max(60).nullable();const $l=C().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u),_5=Wt([C(),M({en:C()}).catchall(C())]),iE=M({title:_5.optional(),description:_5.optional(),icon:C().max(Math.ceil(256*1024/3)*4+64).regex(/^data:image\/(?:svg\+xml|png|jpeg|webp);base64,[A-Za-z0-9+/]*={0,2}$/u).optional(),error:C().optional()}),sE=M({id:$l,name:C().min(1).max(214),version:C().min(1).max(128),format:H("dsh"),supportedTargets:Kb([H("web")]),enabledTargets:re(H("web")).max(1),source:C().min(1).max(4096),projectUrl:C().max(4096).url({protocol:/^https?$/u}).optional(),installedAt:C(),meta:iE.optional(),loadError:C().optional()});M({extensions:re(sE),loadedIds:re($l),safeMode:he(),storeError:C().optional()});const aE=C().trim().max(2048).url({protocol:/^https?$/u,normalize:!0}).refine(e=>!/[\s\\?#]/u.test(e)&&!e.split("/")[2]?.includes("@"),"Use an HTTP(S) registry URL without credentials, a query, or a fragment.").transform(e=>e.endsWith("/")?e:`${e}/`);M({spec:C().trim().min(1).max(4096),registry:aE.optional()}).strict();M({id:$l,enabled:he()}).strict();M({id:$l}).strict();H(wS);const Na=1e3,lE=3e4,b5="codexhost:host-extensions-events:v1",td=Symbol.for("codexhost.host-extension-events.v1");let nd;function cE(){return typeof BroadcastChannel=="function"&&typeof navigator<"u"&&typeof navigator.locks?.request=="function"}function uE(e,t){const n=new Set,r=cE(),s=r?new BroadcastChannel(b5):void 0;let l=!1,u=!1,d=!1,p,m,g,w,x,y=Na;const b=(G,k)=>{if(!l){for(const Y of[...n])try{Y.onExtensionsChanged(G)}catch{}if(k&&s)try{s.postMessage({type:"extensions-changed",revision:G})}catch{}}},j=G=>{if(!l){for(const k of[...n])try{k.onReconnect?.()}catch{}if(G&&s)try{s.postMessage({type:"reconnect"})}catch{}}},I=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},P=()=>{m?.abort(),m=void 0},O=()=>{if(I(),l||!u||e?.visibilityState==="hidden")return;const G=y;y=Math.min(y*2,lE),x=setTimeout(()=>{x=void 0,B()},G)},B=async()=>{if(l||!u||e?.visibilityState==="hidden")return;P();const G=new AbortController;m=G;const k=p!==void 0?`?epoch=${encodeURIComponent(p.epoch)}&after=${encodeURIComponent(String(p.sequence))}`:"";try{const Y=await fetch(`api/ch/v1/events${k}`,{method:"GET",credentials:"same-origin",cache:"no-store",headers:{accept:"application/x-ndjson"},signal:G.signal});if(!Y.ok||Y.body===null){O();return}y=Na,d&&j(!0),d=!0;const V=Y.body.getReader(),K=new TextDecoder;let X="";for(;;){const{done:we,value:fe}=await V.read();if(we||l||!u||G.signal.aborted)break;X+=K.decode(fe,{stream:!0});let Se=X.indexOf(`
|
|
77
|
-
`);for(;Se!==-1;){const ce=X.slice(0,Se).trim();if(X=X.slice(Se+1),ce.length>0)try{const Q=
|
|
78
|
-
`)}}}catch{}finally{m===G&&(m=void 0),!l&&u&&!G.signal.aborted&&O()}},z=()=>{u=!1,
|
|
76
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const d=u[1];if(t===u[0]){l(u);continue}if(e.external){const m=e.external.registry.get(u[0])?.id;if(t!==u[0]&&m){l(u);continue}}if(e.metadataRegistry.get(u[0])?.id){l(u);continue}if(d.cycle){l(u);continue}if(d.count>1&&e.reused==="ref"){l(u);continue}}}function Oh(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=d=>{const p=e.seen.get(d);if(p.ref===null)return;const m=p.def??p.schema,g={...m},w=p.ref;if(p.ref=null,w){r(w);const _=e.seen.get(w),C=_.schema;if(C.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(m.allOf=m.allOf??[],m.allOf.push(C)):Object.assign(m,C),Object.assign(m,g),d._zod.parent===w)for(const M in m)M==="$ref"||M==="allOf"||M in g||delete m[M];if(C.$ref&&_.def)for(const M in m)M==="$ref"||M==="allOf"||M in _.def&&JSON.stringify(m[M])===JSON.stringify(_.def[M])&&delete m[M]}const x=d._zod.parent;if(x&&x!==w){r(x);const _=e.seen.get(x);if(_?.schema.$ref&&(m.$ref=_.schema.$ref,_.def))for(const C in m)C==="$ref"||C==="allOf"||C in _.def&&JSON.stringify(m[C])===JSON.stringify(_.def[C])&&delete m[C]}e.override({zodSchema:d,jsonSchema:m,path:p.path??[]})};for(const d of[...e.seen.entries()].reverse())r(d[0]);const s={};if(e.target==="draft-2020-12"?s.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?s.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?s.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const d=e.external.registry.get(t)?.id;if(!d)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(d)}Object.assign(s,n.def??n.schema);const l=e.metadataRegistry.get(t)?.id;l!==void 0&&s.id===l&&delete s.id;const u=e.external?.defs??{};for(const d of e.seen.entries()){const p=d[1];p.def&&p.defId&&(p.def.id===p.defId&&delete p.def.id,u[p.defId]=p.def)}e.external||Object.keys(u).length>0&&(e.target==="draft-2020-12"?s.$defs=u:s.definitions=u);try{const d=JSON.parse(JSON.stringify(s));return Object.defineProperty(d,"~standard",{value:{...t["~standard"],jsonSchema:{input:al(t,"input",e.processors),output:al(t,"output",e.processors)}},enumerable:!1,writable:!1}),d}catch{throw new Error("Error converting schema to JSON.")}}function Kt(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Kt(r.element,n);if(r.type==="set")return Kt(r.valueType,n);if(r.type==="lazy")return Kt(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Kt(r.innerType,n);if(r.type==="intersection")return Kt(r.left,n)||Kt(r.right,n);if(r.type==="record"||r.type==="map")return Kt(r.keyType,n)||Kt(r.valueType,n);if(r.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Kt(r.in,n)||Kt(r.out,n);if(r.type==="object"){for(const s in r.shape)if(Kt(r.shape[s],n))return!0;return!1}if(r.type==="union"){for(const s of r.options)if(Kt(s,n))return!0;return!1}if(r.type==="tuple"){for(const s of r.items)if(Kt(s,n))return!0;return!!(r.rest&&Kt(r.rest,n))}return!1}const T_=(e,t={})=>n=>{const r=Ih({...n,processors:t});return pt(e,r),Mh(r,e),Oh(r,e)},al=(e,t,n={})=>r=>{const{libraryOptions:s,target:l}=r??{},u=Ih({...s??{},target:l,io:t,processors:n});return pt(e,u),Mh(u,e),Oh(u,e)},L_={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},P_=(e,t,n,r)=>{const s=n;s.type="string";const{minimum:l,maximum:u,format:d,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof l=="number"&&(s.minLength=l),typeof u=="number"&&(s.maxLength=u),d&&(s.format=L_[d]??d,s.format===""&&delete s.format,d==="time"&&delete s.format),m&&(s.contentEncoding=m),p&&p.size>0){const g=[...p];g.length===1?s.pattern=g[0].source:g.length>1&&(s.allOf=[...g.map(w=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},N_=(e,t,n,r)=>{const s=n,{minimum:l,maximum:u,format:d,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:g}=e._zod.bag;typeof d=="string"&&d.includes("int")?s.type="integer":s.type="number";const w=typeof g=="number"&&g>=(l??Number.NEGATIVE_INFINITY),x=typeof m=="number"&&m<=(u??Number.POSITIVE_INFINITY),_=t.target==="draft-04"||t.target==="openapi-3.0";w?_?(s.minimum=g,s.exclusiveMinimum=!0):s.exclusiveMinimum=g:typeof l=="number"&&(s.minimum=l),x?_?(s.maximum=m,s.exclusiveMaximum=!0):s.exclusiveMaximum=m:typeof u=="number"&&(s.maximum=u),typeof p=="number"&&(s.multipleOf=p)},z_=(e,t,n,r)=>{n.type="boolean"},A_=(e,t,n,r)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},R_=(e,t,n,r)=>{n.not={}},D_=(e,t,n,r)=>{},F_=(e,t,n,r)=>{const s=e._zod.def,l=ih(s.entries);l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),n.enum=l},$_=(e,t,n,r)=>{const s=e._zod.def,l=[];for(const u of s.values)if(u===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof u=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");l.push(Number(u))}else l.push(u);if(l.length!==0)if(l.length===1){const u=l[0];n.type=u===null?"null":typeof u,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[u]:n.const=u}else l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),l.every(u=>typeof u=="boolean")&&(n.type="boolean"),l.every(u=>u===null)&&(n.type="null"),n.enum=l},H_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},V_=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},B_=(e,t,n,r)=>{const s=n,l=e._zod.def,{minimum:u,maximum:d}=e._zod.bag;typeof u=="number"&&(s.minItems=u),typeof d=="number"&&(s.maxItems=d),s.type="array",s.items=pt(l.element,t,{...r,path:[...r.path,"items"]})},Z_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object",s.properties={};const u=l.shape;for(const m in u)s.properties[m]=pt(u[m],t,{...r,path:[...r.path,"properties",m]});const d=new Set(Object.keys(u)),p=new Set([...d].filter(m=>{const g=l.shape[m]._zod;return t.io==="input"?g.optin===void 0:g.optout===void 0}));p.size>0&&(s.required=Array.from(p)),l.catchall?._zod.def.type==="never"?s.additionalProperties=!1:l.catchall?l.catchall&&(s.additionalProperties=pt(l.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},W_=(e,t,n,r)=>{const s=e._zod.def,l=s.inclusive===!1,u=s.options.map((d,p)=>pt(d,t,{...r,path:[...r.path,l?"oneOf":"anyOf",p]}));l?n.oneOf=u:n.anyOf=u},U_=(e,t,n,r)=>{const s=e._zod.def,l=pt(s.left,t,{...r,path:[...r.path,"allOf",0]}),u=pt(s.right,t,{...r,path:[...r.path,"allOf",1]}),d=m=>"allOf"in m&&Object.keys(m).length===1,p=[...d(l)?l.allOf:[l],...d(u)?u.allOf:[u]];n.allOf=p},q_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="array";const u=t.target==="draft-2020-12"?"prefixItems":"items",d=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",p=l.items.map((x,_)=>pt(x,t,{...r,path:[...r.path,u,_]})),m=l.rest?pt(l.rest,t,{...r,path:[...r.path,d,...t.target==="openapi-3.0"?[l.items.length]:[]]}):null;t.target==="draft-2020-12"?(s.prefixItems=p,m&&(s.items=m)):t.target==="openapi-3.0"?(s.items={anyOf:p},m&&s.items.anyOf.push(m),s.minItems=p.length,m||(s.maxItems=p.length)):(s.items=p,m&&(s.additionalItems=m));const{minimum:g,maximum:w}=e._zod.bag;typeof g=="number"&&(s.minItems=g),typeof w=="number"&&(s.maxItems=w)},G_=(e,t,n,r)=>{const s=n,l=e._zod.def;s.type="object";const u=l.keyType,p=u._zod.bag?.patterns;if(l.mode==="loose"&&p&&p.size>0){const g=pt(l.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});s.patternProperties={};for(const w of p)s.patternProperties[w.source]=g}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(s.propertyNames=pt(l.keyType,t,{...r,path:[...r.path,"propertyNames"]})),s.additionalProperties=pt(l.valueType,t,{...r,path:[...r.path,"additionalProperties"]});const m=u._zod.values;if(m){const g=[...m].filter(w=>typeof w=="string"||typeof w=="number");g.length>0&&(s.required=g)}},K_=(e,t,n,r)=>{const s=e._zod.def,l=pt(s.innerType,t,r),u=t.seen.get(e);t.target==="openapi-3.0"?(u.ref=s.innerType,n.nullable=!0):n.anyOf=[l,{type:"null"}]},Y_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},J_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.default=JSON.parse(JSON.stringify(s.defaultValue))},X_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(s.defaultValue)))},Q_=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType;let u;try{u=s.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=u},eb=(e,t,n,r)=>{const s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),u=t.io==="input"?l?s.out:s.in:s.out;pt(u,t,r);const d=t.seen.get(e);d.ref=u},tb=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType,n.readOnly=!0},Th=(e,t,n,r)=>{const s=e._zod.def;pt(s.innerType,t,r);const l=t.seen.get(e);l.ref=s.innerType},nb=(e,t,n,r)=>{const s=e._zod.innerType;pt(s,t,r);const l=t.seen.get(e);l.ref=s},rb=J("ZodISODateTime",(e,t)=>{Xx.init(e,t),mt.init(e,t)});function c1(e){return i_(rb,e)}const ob=J("ZodISODate",(e,t)=>{Qx.init(e,t),mt.init(e,t)});function ib(e){return s_(ob,e)}const sb=J("ZodISOTime",(e,t)=>{ey.init(e,t),mt.init(e,t)});function ab(e){return a_(sb,e)}const lb=J("ZodISODuration",(e,t)=>{ty.init(e,t),mt.init(e,t)});function cb(e){return l_(lb,e)}const ub=(e,t)=>{ch.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Bw(e,n)},flatten:{value:n=>Vw(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Fd,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Fd,2)}},isEmpty:{get(){return e.issues.length===0}}})},In=J("ZodError",ub,{Parent:Error}),db=I0(In),fb=M0(In),hb=Ll(In),pb=Pl(In),mb=Uw(In),gb=qw(In),vb=Gw(In),wb=Kw(In),xb=Yw(In),yb=Jw(In),_b=Xw(In),bb=Qw(In),qf=new WeakMap;function u1(e,t,n){const r=Object.getPrototypeOf(e);let s=qf.get(r);if(s||(s=new Set,qf.set(r,s)),!s.has(t)){s.add(t);for(const l in n){const u=n[l];Object.defineProperty(r,l,{configurable:!0,enumerable:!1,get(){const d=u.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d}),d},set(d){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:d})}})}}}const it=J("ZodType",(e,t)=>(nt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:al(e,"input"),output:al(e,"output")}}),e.toJSONSchema=T_(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>db(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>hb(e,n,r),e.parseAsync=async(n,r)=>fb(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>pb(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>mb(e,n,r),e.decode=(n,r)=>gb(e,n,r),e.encodeAsync=async(n,r)=>vb(e,n,r),e.decodeAsync=async(n,r)=>wb(e,n,r),e.safeEncode=(n,r)=>xb(e,n,r),e.safeDecode=(n,r)=>yb(e,n,r),e.safeEncodeAsync=async(n,r)=>_b(e,n,r),e.safeDecodeAsync=async(n,r)=>bb(e,n,r),u1(e,"ZodType",{check(...n){const r=this.def;return this.clone(Yr(r,{checks:[...r.checks??[],...n.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,r){return Jr(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(vC(n,r))},superRefine(n,r){return this.check(wC(n,r))},overwrite(n){return this.check(Li(n))},optional(){return Yf(this)},exactOptional(){return nC(this)},nullable(){return Jf(this)},nullish(){return Yf(Jf(this))},nonoptional(n){return lC(this,n)},array(){return ne(this)},or(n){return Wt([this,n])},and(n){return Kb(this,n)},transform(n){return Xf(this,eC(n))},default(n){return iC(this,n)},prefault(n){return aC(this,n)},catch(n){return uC(this,n)},pipe(n){return Xf(this,n)},readonly(){return hC(this)},describe(n){const r=this.clone();return Rs.add(r,{description:n}),r},meta(...n){if(n.length===0)return Rs.get(this);const r=this.clone();return Rs.add(r,n[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return Rs.get(e)?.description},configurable:!0}),e)),Lh=J("_ZodString",(e,t)=>{O0.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>P_(e,r,s);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,u1(e,"_ZodString",{regex(...r){return this.check(m_(...r))},includes(...r){return this.check(w_(...r))},startsWith(...r){return this.check(x_(...r))},endsWith(...r){return this.check(y_(...r))},min(...r){return this.check(sl(...r))},max(...r){return this.check(Eh(...r))},length(...r){return this.check(jh(...r))},nonempty(...r){return this.check(sl(1,...r))},lowercase(r){return this.check(g_(r))},uppercase(r){return this.check(v_(r))},trim(){return this.check(b_())},normalize(...r){return this.check(__(...r))},toLowerCase(){return this.check(C_())},toUpperCase(){return this.check(k_())},slugify(){return this.check(S_())}})}),Cb=J("ZodString",(e,t)=>{O0.init(e,t),Lh.init(e,t),e.email=n=>e.check($y(kb,n)),e.url=n=>e.check(Sh(Nh,n)),e.jwt=n=>e.check(o_(Fb,n)),e.emoji=n=>e.check(Zy(Sb,n)),e.guid=n=>e.check(Bf(Gf,n)),e.uuid=n=>e.check(kh(Ds,n)),e.uuidv4=n=>e.check(Hy(Ds,n)),e.uuidv6=n=>e.check(Vy(Ds,n)),e.uuidv7=n=>e.check(By(Ds,n)),e.nanoid=n=>e.check(Wy(Eb,n)),e.guid=n=>e.check(Bf(Gf,n)),e.cuid=n=>e.check(Uy(jb,n)),e.cuid2=n=>e.check(qy(Ib,n)),e.ulid=n=>e.check(Gy(Mb,n)),e.base64=n=>e.check(t_(Ab,n)),e.base64url=n=>e.check(n_(Rb,n)),e.xid=n=>e.check(Ky(Ob,n)),e.ksuid=n=>e.check(Yy(Tb,n)),e.ipv4=n=>e.check(Jy(Lb,n)),e.ipv6=n=>e.check(Xy(Pb,n)),e.cidrv4=n=>e.check(Qy(Nb,n)),e.cidrv6=n=>e.check(e_(zb,n)),e.e164=n=>e.check(r_(Db,n)),e.datetime=n=>e.check(c1(n)),e.date=n=>e.check(ib(n)),e.time=n=>e.check(ab(n)),e.duration=n=>e.check(cb(n))});function y(e){return Fy(Cb,e)}const mt=J("ZodStringFormat",(e,t)=>{ut.init(e,t),Lh.init(e,t)}),kb=J("ZodEmail",(e,t)=>{Bx.init(e,t),mt.init(e,t)}),Gf=J("ZodGUID",(e,t)=>{Hx.init(e,t),mt.init(e,t)}),Ds=J("ZodUUID",(e,t)=>{Vx.init(e,t),mt.init(e,t)});function Ph(e){return kh(Ds,e)}const Nh=J("ZodURL",(e,t)=>{Zx.init(e,t),mt.init(e,t)});function T0(e){return Sh(Nh,e)}const Sb=J("ZodEmoji",(e,t)=>{Wx.init(e,t),mt.init(e,t)}),Eb=J("ZodNanoID",(e,t)=>{Ux.init(e,t),mt.init(e,t)}),jb=J("ZodCUID",(e,t)=>{qx.init(e,t),mt.init(e,t)}),Ib=J("ZodCUID2",(e,t)=>{Gx.init(e,t),mt.init(e,t)}),Mb=J("ZodULID",(e,t)=>{Kx.init(e,t),mt.init(e,t)}),Ob=J("ZodXID",(e,t)=>{Yx.init(e,t),mt.init(e,t)}),Tb=J("ZodKSUID",(e,t)=>{Jx.init(e,t),mt.init(e,t)}),Lb=J("ZodIPv4",(e,t)=>{ny.init(e,t),mt.init(e,t)}),Pb=J("ZodIPv6",(e,t)=>{ry.init(e,t),mt.init(e,t)}),Nb=J("ZodCIDRv4",(e,t)=>{oy.init(e,t),mt.init(e,t)}),zb=J("ZodCIDRv6",(e,t)=>{iy.init(e,t),mt.init(e,t)}),Ab=J("ZodBase64",(e,t)=>{sy.init(e,t),mt.init(e,t)}),Rb=J("ZodBase64URL",(e,t)=>{ly.init(e,t),mt.init(e,t)}),Db=J("ZodE164",(e,t)=>{cy.init(e,t),mt.init(e,t)}),Fb=J("ZodJWT",(e,t)=>{dy.init(e,t),mt.init(e,t)}),zh=J("ZodNumber",(e,t)=>{xh.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>N_(e,r,s),u1(e,"ZodNumber",{gt(r,s){return this.check(Wf(r,s))},gte(r,s){return this.check(Qu(r,s))},min(r,s){return this.check(Qu(r,s))},lt(r,s){return this.check(Zf(r,s))},lte(r,s){return this.check(Xu(r,s))},max(r,s){return this.check(Xu(r,s))},int(r){return this.check(En(r))},safe(r){return this.check(En(r))},positive(r){return this.check(Wf(0,r))},nonnegative(r){return this.check(Qu(0,r))},negative(r){return this.check(Zf(0,r))},nonpositive(r){return this.check(Xu(0,r))},multipleOf(r,s){return this.check(Uf(r,s))},step(r,s){return this.check(Uf(r,s))},finite(){return this}});const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function me(e){return c_(zh,e)}const $b=J("ZodNumberFormat",(e,t)=>{fy.init(e,t),zh.init(e,t)});function En(e){return u_($b,e)}const Hb=J("ZodBoolean",(e,t)=>{hy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>z_(e,n,r)});function de(e){return d_(Hb,e)}const Vb=J("ZodNull",(e,t)=>{py.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>A_(e,n,r)});function Bb(e){return f_(Vb,e)}const Zb=J("ZodUnknown",(e,t)=>{my.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>D_()});function Js(){return h_(Zb)}const Wb=J("ZodNever",(e,t)=>{gy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>R_(e,n,r)});function L0(e){return p_(Wb,e)}const Ub=J("ZodArray",(e,t)=>{vy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>B_(e,n,r,s),e.element=t.element,u1(e,"ZodArray",{min(n,r){return this.check(sl(n,r))},nonempty(n){return this.check(sl(1,n))},max(n,r){return this.check(Eh(n,r))},length(n,r){return this.check(jh(n,r))},unwrap(){return this.element}})});function ne(e,t){return E_(Ub,e,t)}const Ah=J("ZodObject",(e,t)=>{xy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Z_(e,n,r,s),We(e,"shape",()=>t.shape),u1(e,"ZodObject",{keyof(){return je(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Js()})},loose(){return this.clone({...this._zod.def,catchall:Js()})},strict(){return this.clone({...this._zod.def,catchall:L0()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return Aw(this,n)},safeExtend(n){return Rw(this,n)},merge(n){return Dw(this,n)},pick(n){return Nw(this,n)},omit(n){return zw(this,n)},partial(...n){return Fw(Dh,this,n[0])},required(...n){return $w(Fh,this,n[0])}})});function E(e,t){const n={type:"object",shape:e??{},...ke(t)};return new Ah(n)}function R(e,t){return new Ah({type:"object",shape:e,catchall:L0(),...ke(t)})}const Rh=J("ZodUnion",(e,t)=>{bh.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>W_(e,n,r,s),e.options=t.options});function Wt(e,t){return new Rh({type:"union",options:e,...ke(t)})}const qb=J("ZodDiscriminatedUnion",(e,t)=>{Rh.init(e,t),yy.init(e,t)});function wt(e,t,n){return new qb({type:"union",options:t,discriminator:e,...ke(n)})}const Gb=J("ZodIntersection",(e,t)=>{_y.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>U_(e,n,r,s)});function Kb(e,t){return new Gb({type:"intersection",left:e,right:t})}const Yb=J("ZodTuple",(e,t)=>{by.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>q_(e,n,r,s),e.rest=n=>e.clone({...e._zod.def,rest:n})});function Jb(e,t,n){const r=t instanceof nt,s=r?n:t,l=r?t:null;return new Yb({type:"tuple",items:e,rest:l,...ke(s)})}const Kf=J("ZodRecord",(e,t)=>{Cy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>G_(e,n,r,s),e.keyType=t.keyType,e.valueType=t.valueType});function Pt(e,t,n){return!t||!t._zod?new Kf({type:"record",keyType:y(),valueType:e,...ke(t)}):new Kf({type:"record",keyType:e,valueType:t,...ke(n)})}const Hd=J("ZodEnum",(e,t)=>{ky.init(e,t),it.init(e,t),e._zod.processJSONSchema=(r,s,l)=>F_(e,r,s),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,s)=>{const l={};for(const u of r)if(n.has(u))l[u]=t.entries[u];else throw new Error(`Key ${u} not found in enum`);return new Hd({...t,checks:[],...ke(s),entries:l})},e.exclude=(r,s)=>{const l={...t.entries};for(const u of r)if(n.has(u))delete l[u];else throw new Error(`Key ${u} not found in enum`);return new Hd({...t,checks:[],...ke(s),entries:l})}});function je(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new Hd({type:"enum",entries:n,...ke(t)})}const Xb=J("ZodLiteral",(e,t)=>{Sy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>$_(e,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function H(e,t){return new Xb({type:"literal",values:Array.isArray(e)?e:[e],...ke(t)})}const Qb=J("ZodTransform",(e,t)=>{Ey.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>V_(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new oh(e.constructor.name);n.addIssue=l=>{if(typeof l=="string")n.issues.push(Ys(l,n.value,t));else{const u=l;u.fatal&&(u.continue=!1),u.code??(u.code="custom"),u.input??(u.input=n.value),u.inst??(u.inst=e),n.issues.push(Ys(u))}};const s=t.transform(n.value,n);return s instanceof Promise?s.then(l=>(n.value=l,n.fallback=!0,n)):(n.value=s,n.fallback=!0,n)}});function eC(e){return new Qb({type:"transform",transform:e})}const Dh=J("ZodOptional",(e,t)=>{Ch.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Th(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Yf(e){return new Dh({type:"optional",innerType:e})}const tC=J("ZodExactOptional",(e,t)=>{jy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Th(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function nC(e){return new tC({type:"optional",innerType:e})}const rC=J("ZodNullable",(e,t)=>{Iy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>K_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function Jf(e){return new rC({type:"nullable",innerType:e})}const oC=J("ZodDefault",(e,t)=>{My.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>J_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function iC(e,t){return new oC({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():ah(t)}})}const sC=J("ZodPrefault",(e,t)=>{Oy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>X_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function aC(e,t){return new sC({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():ah(t)}})}const Fh=J("ZodNonOptional",(e,t)=>{Ty.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Y_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function lC(e,t){return new Fh({type:"nonoptional",innerType:e,...ke(t)})}const cC=J("ZodCatch",(e,t)=>{Ly.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>Q_(e,n,r,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function uC(e,t){return new cC({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const dC=J("ZodPipe",(e,t)=>{Py.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>eb(e,n,r,s),e.in=t.in,e.out=t.out});function Xf(e,t){return new dC({type:"pipe",in:e,out:t})}const fC=J("ZodReadonly",(e,t)=>{Ny.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>tb(e,n,r,s),e.unwrap=()=>e._zod.def.innerType});function hC(e){return new fC({type:"readonly",innerType:e})}const pC=J("ZodLazy",(e,t)=>{zy.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>nb(e,n,r,s),e.unwrap=()=>e._zod.def.getter()});function mC(e){return new pC({type:"lazy",getter:e})}const $h=J("ZodCustom",(e,t)=>{Ay.init(e,t),it.init(e,t),e._zod.processJSONSchema=(n,r,s)=>H_(e,n)});function gC(e,t){return j_($h,e??(()=>!0),t)}function vC(e,t={}){return I_($h,e,t)}function wC(e,t){return M_(e,t)}function Xr(e){return(t,n)=>{for(const r of e)Object.hasOwn(t,r)&&t[r]===void 0&&n.addIssue({code:"custom",path:[r],message:"Explicit undefined is not valid JSON"})}}const xC=Wt([y(),me(),de(),Bb()]);function yC(e){const t=new WeakSet,n=[{value:e,leaving:!1}];try{for(;n.length>0;){const r=n.pop();if(!r)break;if(r.leaving){t.delete(r.value);continue}if(!(typeof r.value!="object"||r.value===null)){if(t.has(r.value))return!1;t.add(r.value),n.push({value:r.value,leaving:!0});for(const s of Object.values(r.value))n.push({value:s,leaving:!1})}}}catch{return!1}return!0}const P0=gC(yC,{message:"JSON value must not contain circular references"}),Xs=mC(()=>Wt([xC,ne(Xs),Pt(y(),Xs)])),on=P0.pipe(Xs);P0.pipe(ne(Xs));const d1=P0.pipe(Pt(y(),Xs)),_C=R({code:y().min(1),message:y().min(1),retryable:de(),diagnostic:y().min(1).optional(),stage:y().min(1).optional(),durationMs:me().int().nonnegative().optional(),stderrTail:y().min(1).optional()}).superRefine(Xr(["diagnostic","stage","durationMs","stderrTail"])),Hh=y().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u),Vd=e=>y().min(1).max(e).refine(t=>t.trim().length>0),f1=Pt(Hh,E({label:Vd(256).optional(),description:Vd(1024).optional()}).strict()).refine(e=>Object.keys(e).length<=16,"Too many locales"),Vh=Pt(Hh,Vd(4096)).refine(e=>typeof e.en=="string","English fallback is required").refine(e=>Object.keys(e).length<=16,"Too many locales"),h1=y().refine(e=>e.trim().length>0,{message:"Identifier must not be empty or whitespace"}),Et=h1.brand(),ct=h1.brand(),p1=h1.brand();h1.brand();h1.brand();const bC=128,CC=256,kC=1024,SC=32,Bd=y().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),_r=Bd.max(bC).regex(/^[A-Za-z0-9._~:-]+$/u,"Permission Mode ID must use transport-safe characters").brand(),EC=E({id:_r,label:Bd.max(CC),description:Bd.max(kC).optional(),dangerous:de().optional(),localizations:f1.optional()}).strict(),jC=E({modes:ne(EC).min(1).max(SC),defaultModeId:_r}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.modes.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Permission Mode IDs must be unique",path:["modes",r,"id"]}),n.add(s.id);n.has(e.defaultModeId)||t.addIssue({code:"custom",message:"Default Permission Mode must exist in the catalog",path:["defaultModeId"]})});E({threadId:ct,permissionModeId:_r}).strict();const IC=8192,Tt=me().int().safe().nonnegative(),xo=me().finite().nonnegative(),Oa=me().finite().min(0).max(100),MC=E({version:Wt([H(3),H(4)]).optional(),requestId:y().min(1),turnId:y().min(1).max(1024),outputTokens:Tt,startedAtMs:Tt,completedAtMs:Tt}).strict().refine(e=>e.completedAtMs>e.startedAtMs),Qf=E({version:Wt([H(2),H(3),H(4)]).optional(),value:xo,turnId:y().min(1).max(1024),at:Tt}).strict();E({outputTimings:ne(MC).transform(e=>e.filter(t=>t.version===4)).optional(),outputTokensPerSecond:Qf.refine(e=>e.version===4).optional().catch(void 0),timeToFirstOutputMs:Qf.extend({value:Tt}).optional()}).strict();const e5=e=>Vh.refine(t=>Object.values(t).every(n=>n.length<=e)),OC=ne(E({kind:H("countdown"),id:y().min(1).max(64),expiresAtUnix:Tt,label:e5(256).optional(),tooltip:e5(1024).optional()}).strict()).max(2).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,{message:"Composer indicator IDs must be unique"}),N0=E({composerIndicators:OC.optional(),inputTokens:Tt.optional(),cachedInputTokens:Tt.optional(),cacheWriteInputTokens:Tt.optional(),outputTokens:Tt.optional(),outputTokensPerSecond:xo.optional(),sessionOutputTokensPerSecond:xo.optional(),apiOutputTokensPerSecond:xo.optional(),reasoningOutputTokens:Tt.optional(),totalTokens:Tt.optional(),totalCostUsd:xo.optional(),totalCredits:xo.optional(),contextUsagePercent:xo.optional(),cacheHitRatePercent:Oa.optional(),contextWindowTokens:Tt.optional(),contextUsedTokens:Tt.optional(),planFiveHourUsedPercent:Oa.optional(),planFiveHourResetsAtUnix:Tt.optional(),planSevenDayUsedPercent:Oa.optional(),planSevenDayResetsAtUnix:Tt.optional(),sessionCacheHitRatePercent:Oa.optional(),timeToFirstOutputMs:Tt.optional(),latestRequestTimeToFirstOutputMs:Tt.optional(),costSource:je(["publicPrice","native"]).optional(),unpricedModels:ne(y().min(1)).min(1).optional()}).strict().superRefine((e,t)=>{Object.keys(e).length===0&&t.addIssue({code:"custom",message:"Thread Usage must contain a reliable field"});const n=e.contextUsedTokens!==void 0,r=e.contextWindowTokens!==void 0;n!==r&&t.addIssue({code:"custom",message:"Thread Usage context fields must be provided together",path:[n?"contextWindowTokens":"contextUsedTokens"]}),e.contextWindowTokens===0&&t.addIssue({code:"custom",message:"Thread Usage contextWindowTokens must be greater than zero",path:["contextWindowTokens"]}),e.costSource!==void 0&&e.totalCostUsd===void 0&&t.addIssue({code:"custom",message:"Thread Usage costSource must be provided with totalCostUsd",path:["costSource"]}),e.unpricedModels!==void 0&&e.costSource!=="publicPrice"&&t.addIssue({code:"custom",message:"Thread Usage unpricedModels must be provided with a publicPrice cost",path:["unpricedModels"]}),e.planFiveHourResetsAtUnix!==void 0&&e.planFiveHourUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planFiveHourResetsAtUnix must be provided with planFiveHourUsedPercent",path:["planFiveHourResetsAtUnix"]}),e.planSevenDayResetsAtUnix!==void 0&&e.planSevenDayUsedPercent===void 0&&t.addIssue({code:"custom",message:"Thread Usage planSevenDayResetsAtUnix must be provided with planSevenDayUsedPercent",path:["planSevenDayResetsAtUnix"]})}),Bh=me().finite().min(0).max(100),Zh=je(["weekly","monthly","five_hour","seven_day","unknown"]),Wh=E({id:y().min(1).max(256),label:y().min(1).max(256),localizations:f1.optional()}).strict(),TC=E({product:y().min(1),periodType:Zh.optional(),scope:Wh.optional(),localizations:f1.optional(),used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:y().min(1).max(32).optional(),usagePercent:Bh,resetsAt:y().min(1).optional()}).strict(),LC=E({availableCount:me().int().safe().positive(),nextExpiresAt:y().min(1).optional(),expiresAt:ne(y().min(1)).min(1).max(32).optional()}).strict(),z0=E({used:me().finite().nonnegative().optional(),limit:me().finite().nonnegative().optional(),unit:y().min(1).max(32).optional(),label:y().min(1).optional(),scope:Wh.optional(),localizations:f1.optional(),usedPercent:Bh,resetsAt:y().min(1).optional(),periodType:Zh,productUsage:ne(TC).min(1).optional(),resetCredits:LC.optional()}).strict(),Uh=E({amount:me().finite().nonnegative(),currency:y().trim().min(1).max(8),label:y().trim().min(1).max(128).optional()}).strict();E({threadId:ct,refresh:H("exact").optional()}).strict();E({threadId:ct,usage:N0.nullable(),accountCredits:z0.optional(),accountBalance:Uh.optional(),accountCreditsSupported:de().optional()}).strict();const PC=512,A0=256,NC=128,qh=100,Mo=y().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),zC=y().min(1).max(PC).refine(e=>!/\p{Cc}/u.test(e),"Model Ref must not contain control characters").brand(),Gh=je(["priority","ultrafast"]),Hn=E({id:zC,serviceTier:Gh.optional()}).strict();function ll(e,t){return e?.id===t?.id&&e?.serviceTier===t?.serviceTier}const Bn=Mo.max(NC).regex(/^[A-Za-z0-9._~-]+$/u,"Thinking option ID must use transport-safe characters").brand(),zl=Mo.max(A0),AC=E({id:Bn,label:Mo.max(A0)}).strict(),RC=E({ref:Hn,label:Mo.max(A0),resolvedModelLabel:zl.optional(),fastModel:Hn.optional(),supportedThinkingOptionIds:ne(Bn).optional()}).strict().refine(e=>e.fastModel?.serviceTier===void 0||e.fastModel.id===e.ref.id,{path:["fastModel","id"],message:"A tiered Fast Model must share the base Model ID"});function DC(e,t){if(t)return e?.models.find(n=>ll(n.ref,t)||ll(n.fastModel,t))}const R0=ne(AC).superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Thinking option IDs must be unique",path:[r,"id"]}),n.add(s.id)}),Kh=E({models:ne(RC),defaultModel:Hn.optional(),thinkingOptions:R0,defaultThinkingOptionId:Bn.optional()}).strict().superRefine((e,t)=>{const n=[],r=new Set(e.thinkingOptions.map(({id:s})=>s));for(const[s,l]of e.models.entries()){n.some(d=>ll(d,l.ref))&&t.addIssue({code:"custom",message:"Model Catalog refs must be unique",path:["models",s,"ref","id"]}),n.push(l.ref),l.fastModel&&(n.some(d=>ll(d,l.fastModel))&&t.addIssue({code:"custom",message:"Fast Model refs must be distinct and unique",path:["models",s,"fastModel"]}),n.push(l.fastModel));const u=new Set;for(const[d,p]of(l.supportedThinkingOptionIds??[]).entries())u.has(p)&&t.addIssue({code:"custom",message:"Supported Thinking option IDs must be unique per Model",path:["models",s,"supportedThinkingOptionIds",d]}),u.add(p),r.has(p)||t.addIssue({code:"custom",message:"Supported Thinking option must exist in the catalog",path:["models",s,"supportedThinkingOptionIds",d]})}e.defaultModel&&!DC(e,e.defaultModel)&&t.addIssue({code:"custom",message:"Default Model must exist in the Model Catalog",path:["defaultModel","id"]}),e.defaultThinkingOptionId&&!r.has(e.defaultThinkingOptionId)&&t.addIssue({code:"custom",message:"Default Thinking option must exist in the catalog",path:["defaultThinkingOptionId"]})}),D0=E({fork:de(),forkAcrossCwd:de(),rollbackLastTurn:de()}).strict().refine(e=>e.fork||!e.forkAcrossCwd,{path:["forkAcrossCwd"],message:"Cross-cwd Fork requires exact history Fork support"}),FC=je(["live","atCreate"]),$C=E({configuration:E({selectModel:de(),selectThinkingOption:de(),selectPermissionMode:de(),permissionModeScope:FC.default("live")}).strict(),history:D0,subagents:E({observe:de(),readTranscript:de()}).strict().optional(),autonomousTurns:E({observe:de()}).strict().optional(),steer:de().optional(),persistentPlan:de().optional()}).strict();E({effectiveModel:Hn.optional(),resolvedModelLabel:zl.optional(),effectiveThinkingOptionId:Bn.optional(),availableThinkingOptions:R0.optional(),effectivePermissionModeId:_r.optional()}).strict().superRefine((e,t)=>{e.effectiveThinkingOptionId&&e.availableThinkingOptions&&!e.availableThinkingOptions.some(({id:n})=>n===e.effectiveThinkingOptionId)&&t.addIssue({code:"custom",message:"Effective Thinking option must be currently available",path:["effectiveThinkingOptionId"]})});const HC=E({open:H(!0)}).strict(),VC=E({status:H("ready"),catalog:Kh,permissionModes:jC.optional(),capabilities:$C,webUi:HC.optional()}).strict().superRefine((e,t)=>{const n=e.capabilities.configuration.selectPermissionMode;n!==!!e.permissionModes&&t.addIssue({code:"custom",message:"Permission Mode catalog and capability must agree",path:n?["permissionModes"]:["capabilities","configuration","selectPermissionMode"]})}),BC=E({status:je(["notInstalled","unavailable","error"]),error:_C}).strict();Wt([VC,BC]);E({harnessId:Et,cwd:Mo.max(16384).optional(),refresh:de().optional(),purpose:H("availability").optional(),credentialAccess:je(["allow","retry"]).optional()}).strict();E({harnessId:Et}).strict();E({}).strict();E({threadId:ct,model:Hn}).strict();E({threadId:ct,thinkingOptionId:Bn}).strict();E({threadId:ct,includeReferenceCapability:de().optional()}).strict();const ZC=E({owner:H("codex"),locked:de(),effectiveModel:Hn.optional(),resolvedModelLabel:zl.optional(),effectiveThinkingOptionId:Bn.optional(),effectivePermissionModeId:_r.optional(),history:D0.optional(),supportsThreadReferences:H(!0).optional()}).strict(),WC=E({owner:H("external"),harnessId:Mo.max(256),transportModelId:Mo.max(IC),effectiveModel:Hn.optional(),resolvedModelLabel:zl.optional(),effectiveThinkingOptionId:Bn.optional(),availableThinkingOptions:R0.optional(),effectivePermissionModeId:_r.optional(),catalog:Kh.optional(),history:D0,usage:N0.optional(),locked:H(!0)}).strict();wt("owner",[ZC,WC]);E({threadIds:ne(ct).min(1).max(qh)}).strict().superRefine(({threadIds:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s)&&t.addIssue({code:"custom",message:"Thread ownership-list IDs must be unique",path:["threadIds",r]}),n.add(s)});const UC=E({threadId:ct,owner:H("codex")}).strict(),qC=E({threadId:ct,owner:H("external"),harnessId:y().max(256).pipe(Et)}).strict(),Yh=wt("owner",[UC,qC]);E({threads:ne(Yh).min(1).max(qh)}).strict().superRefine(({threads:e},t)=>{const n=new Set;for(const[r,s]of e.entries())n.has(s.threadId)&&t.addIssue({code:"custom",message:"Thread ownership-list results must be unique",path:["threads",r,"threadId"]}),n.add(s.threadId)});E({threadId:ct,text:y().optional()}).strict();E({kind:H("application"),value:y().transform((e,t)=>{try{return JSON.parse(e)}catch{return t.addIssue({code:"custom",message:"Invalid steering context JSON"}),jw}}).pipe(E({expectedTurnId:p1,clientUserMessageId:y().min(1),delivery:je(["newTurn","activeTurn"])}).strict())}).strict().transform(e=>e.value);je(["activeTurn","newTurn"]);E({delivery:je(["official","activeTurn","newTurn"])}).strict();const GC=128*1024,Jh=128,Xh=y().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u),F0=Xh.pipe(Et),Pi=F0.refine(e=>e!=="codex","The official Codex identity is reserved"),So=y().min(1).max(512).refine(e=>!/[\\\u0000:#?]/u.test(e)&&!e.startsWith("/")&&!e.split("/").some(t=>t===".."||t===""),"Plugin resources must be relative paths inside the plugin"),Ga=T0().refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Plugin documentation links must be credential-free HTTPS URLs"),Zd=E({en:y().max(4096),"zh-CN":y().max(4096).optional()}).strict(),KC=E({commands:ne(E({terminal:y().max(256),command:y().max(4096)}).strict()).max(8),before:Zd.optional(),after:Zd.optional(),downloads:ne(E({label:y().max(128),url:Ga}).strict()).max(8).optional()}).strict(),Qh={id:F0,name:y().trim().min(1).max(128),version:y().min(1).max(128),kind:H("usage").optional(),iconStyle:E({vector:E({viewBox:y().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),color:y().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),paths:ne(E({d:y().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),fillRule:je(["evenodd","nonzero"]).optional(),fill:y().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()}).strict()).min(1).max(32)}).strict().optional(),background:y().regex(/^#[a-f0-9]{6}$/iu).optional(),borderRadius:me().min(0).max(50).optional(),paddingRatio:me().min(0).max(.25).optional()}).strict().optional(),installation:KC.optional(),notice:Zd.optional(),launchCommand:H(!0).optional(),links:E({website:Ga.optional(),documentation:Ga.optional(),installation:Ga.optional()}).strict().optional()};E({manifestVersion:H(1),...Qh,adapterApiVersion:me().int().positive(),entry:So,icon:So.optional()}).strict();const YC=y().max(Math.ceil(GC/3)*4+64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u),JC=E({...Qh,icon:YC.optional()}).strict();E({}).strict();E({plugins:ne(JC.extend({id:Pi})).max(Jh)}).strict();E({version:H(1),enabled:ne(F0).max(Jh)}).strict().refine(e=>new Set(e.enabled).size===e.enabled.length,{message:"Enabled plugin IDs must be unique",path:["enabled"]});const XC=1,e8=64,QC=64*1024*1024,ek=128*1024,$0=4,tk=512*1024,nk=16*1024*1024,Al=Xh,t5=je(["sidebar.thread-layout","sidebar.thread-badge","appearance.theme"]),n5=je(["appearance","interface","workflow","analytics","integrations","tools"]),cl=y().trim().min(1).max(128);function rk(e){switch(e.match(/\.([^./]+)$/u)?.[1]?.toLowerCase()){case"png":return"image/png";case"jpg":case"jpeg":return"image/jpeg";case"webp":return"image/webp";default:return}}const t8=e=>e.split("/").every(t=>!/[. ]$/u.test(t)),r5=So.refine(e=>rk(e)!==void 0&&t8(e),"Images must be relative .png, .jpg, .jpeg, or .webp paths with no segments ending in a dot or space"),bi=y().trim().max(2048).regex(/^https?:\/\/[^/?#\\\s]+/iu,"Expected an HTTP(S) URL").pipe(T0({protocol:/^https?$/u})).refine(e=>{const{username:t,password:n}=new URL(e);return!t&&!n&&!/[\\\s]/u.test(e)},"URL must not contain credentials, backslashes, or whitespace");function ul(e){return R({en:e,"zh-CN":e})}const Qs=ul(y().trim().min(1)),n8=ne(n5).max(n5.options.length).refine(e=>new Set(e).size===e.length,"Duplicate categories"),r8=ne(t5).max(t5.options.length).refine(e=>new Set(e).size===e.length,"Duplicate slots"),Ka={key:y().regex(/^[A-Za-z_][A-Za-z0-9_]*$/u),label:Qs,description:Qs.optional()},o5={...Ka,step:me().positive().optional(),default:me().optional()},ok=R({value:y(),label:Qs}),ik=wt("type",[R({...Ka,type:H("boolean"),default:de().optional()}),R({...Ka,type:H("string"),placeholder:Qs.optional(),default:y().optional()}),R({...o5,type:H("number"),min:me().optional(),max:me().optional()}),R({...o5,type:H("range"),min:me(),max:me()}),R({...Ka,type:H("select"),options:ne(ok).min(1),default:y().optional()})]).superRefine((e,t)=>{const n=(r,s)=>t.addIssue({code:"custom",path:[r],message:s});if(e.type==="number"||e.type==="range"){const{min:r=-1/0,max:s=1/0,default:l}=e;r>s&&n("max","Must be at least min"),l!==void 0&&(l<r||l>s)&&n("default","Must be within min and max")}else if(e.type==="select"){const r=new Set(e.options.map(({value:s})=>s));r.size!==e.options.length&&n("options","Duplicate option values"),e.default!==void 0&&!r.has(e.default)&&n("default","Must match an option value")}}),sk=E({manifestVersion:En().positive(),id:Al,name:Wt([cl,ul(cl)]),version:y().min(1).max(128),desktopApi:En().positive()}).passthrough(),ak=sk.extend({manifestVersion:H(1),desktopApi:H(XC),description:R({en:y().max(4096),"zh-CN":y().max(4096).optional()}).optional(),author:y().trim().min(1).max(128).optional(),repository:bi.optional(),details:R({en:y().max(16384),"zh-CN":y().max(16384).optional()}).optional(),icon:r5.optional(),screenshots:ne(r5).max($0).refine(e=>new Set(e).size===e.length,"Duplicate screenshots").optional(),desktop:R({script:So,style:So.optional()}).optional(),backend:R({script:So.refine(t8)}).optional(),slots:r8.default(()=>[]),settingsSchema:ne(ik).max(32).refine(e=>new Set(e.map(({key:t})=>t)).size===e.length,"Duplicate setting keys").optional(),categories:n8.optional()}).strict().refine(e=>e.desktop!==void 0||e.backend!==void 0,"Expected at least one desktop or backend entry"),H0=y().regex(/^[a-f0-9]{64}$/u),i5=R({state:je(["running","disabled","invalid","incompatible","conflict","failed","waiting"]),hash:H0.optional(),error:y().optional(),conflictWith:Al.optional()});R({controllerPid:En().positive(),targetId:y().nullable(),updatedAt:c1(),handledReloadToken:Ph().optional(),extensions:Pt(y(),i5),surfaces:Pt(y(),i5).optional()});const lk=je(["official","community"]);function ck(e){return e.origin==="https://api.github.com"&&/^\/repos\/[\w-]+\/[\w.-]+\/zipball(?:\/[^/]+)?\/?$/u.test(e.pathname)}const uk=bi.refine(e=>{const t=new URL(e);return/\.zip$/iu.test(t.pathname)||ck(t)||t.origin==="https://github.com"&&/^\/[\w-]+\/[\w.-]+\/zipball(?:\/.+)?\/?$/u.test(t.pathname)||t.origin==="https://codeload.github.com"&&/^\/[\w-]+\/[\w.-]+\/(?:zip|zipball|legacy\.zip)\/.+$/u.test(t.pathname)},"Expected a .zip download URL or a GitHub zipball URL"),o8=R({id:Al,version:y().trim().min(1).max(128),name:Qs.extend({en:cl,"zh-CN":cl}),description:ul(y().trim().min(1).max(4096)),details:ul(y().trim().min(1).max(16384)).optional(),author:y().trim().min(1).max(128),repository:bi,stars:me().int().min(0).optional(),downloads:me().int().min(0).optional(),categories:n8.optional(),trustTier:lk.default("community"),icon:bi.optional(),screenshots:ne(bi).max($0).optional(),downloadUrl:uk,sha256:H0,slots:r8.optional(),publishedAt:y().optional(),updatedAt:y().optional(),minCodexHostVersion:y().optional()});R({schemaVersion:H(1),generatedAt:y(),extensions:ne(o8).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")});const dk=y().trim().min(1).max(128),i8=/^(?:con|prn|aux|nul|com[1-9¹²³]|lpt[1-9¹²³]) *(?:\.|$)/iu,Wd=1,Ni=Al.refine(e=>!i8.test(e),"Reserved extension ID"),fk=je(["desktop","web"]),s8=H0,a8=Ph(),ji=So.refine(e=>!/[\x00-\x1f\x7f<>"|*]/u.test(e)&&e.split("/").every(t=>!/[. ]$/u.test(t)&&!i8.test(t)),"Expected a portable relative resource path").refine(e=>e.split("/").length<=32,"Extension resources may be at most 32 segments deep"),ho=ak.shape,Ta=(e,t=0)=>R({en:y().trim().min(t).max(e),"zh-CN":y().trim().min(t).max(e)}),V0=e=>ji.refine(t=>t.endsWith(e),`Expected a ${e} file`),La=V0(".mjs"),Pa=V0(".css").optional(),s5=e=>e.normalize("NFC").toLowerCase(),hk=R({manifestVersion:H(2),id:Ni,name:Ta(128,1),version:y().trim().min(1).max(128),description:Ta(4096),details:Ta(16384).optional(),author:ho.author,repository:ho.repository,icon:ho.icon.refine(e=>e===void 0||ji.safeParse(e).success),screenshots:ho.screenshots.refine(e=>e===void 0||e.every(t=>ji.safeParse(t).success)),categories:ho.categories,settingsSchema:ho.settingsSchema,slots:ho.slots.removeDefault().optional(),page:R({apiVersion:H(Wd),entry:La,style:Pa,title:Ta(128,1).optional()}).optional(),widget:R({apiVersion:H(Wd),entry:La,style:Pa}).optional(),desktop:R({apiVersion:H(1),script:V0(".js"),style:Pa}).optional(),web:R({apiVersion:H(1),entry:La.optional(),style:Pa}).refine(({entry:e,style:t})=>e!==void 0||t!==void 0,"Expected a Web entry or style").optional(),backend:R({apiVersion:H(1),entry:La}).optional()}).refine(({page:e,widget:t,desktop:n,web:r,backend:s})=>!!(e||t||n||r||s),"Expected at least one page, widget, desktop, web, or backend entry").refine(({page:e,widget:t,web:n,backend:r})=>!r||[e?.entry,t?.entry,n?.entry].every(s=>s===void 0||s5(s)!==s5(r.entry)),{path:["backend","entry"],message:"A backend entry cannot also be a frontend entry"});function pk({hasPage:e,hasWidget:t,hasDesktop:n,hasWeb:r,hasBackend:s}){if(e||t||s&&!n&&!r)return["desktop","web"];const l=[];return n&&l.push("desktop"),r&&l.push("web"),l}const mk=dk,gk="/api/extensions/assets/";function vk({id:e,activationId:t,digest:n}){return`${gk}${Ni.parse(e)}/${a8.parse(t)}/${s8.parse(n)}/`}function wk({path:e,...t}){const n=ji.parse(e);return vk(t)+n.split("/").map(encodeURIComponent).join("/")}const xk=QC,br=En().nonnegative(),l8=R({revision:br,enabled:ne(Ni).max(e8).refine(e=>new Set(e).size===e.length,"Duplicate extension IDs")}),{downloadUrl:yk,..._k}=o8.shape,bk=E({..._k,id:Ni,format:H("codexhost"),targets:ne(fk).min(1).max(2).refine(e=>new Set(e).size===e.length,"Duplicate targets"),apis:R({page:En().positive().optional(),widget:En().positive().optional(),desktop:En().positive().optional(),web:En().positive().optional(),backend:En().positive().optional()}),downloadUrl:yk.refine(e=>e.startsWith("https://"),"Expected HTTPS")}).refine(({targets:e,apis:t})=>{const n=pk({hasPage:!!t.page,hasWidget:!!t.widget,hasDesktop:!!t.desktop,hasWeb:!!t.web,hasBackend:!!t.backend});return e.length===n.length&&n.every(r=>e.includes(r))},"Catalog targets must match the declared APIs"),Ck=E({schemaVersion:H(2),generatedAt:y().min(1),extensions:ne(bk).max(1e4).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,"Duplicate extension IDs")}),kk=Ck.extend({catalogUrl:bi,fetchedAt:c1(),cached:de()}),qr={id:Ni},Eo={...qr,activationId:a8,digest:s8},Ya={...qr,activationId:Eo.activationId.optional()},a5=y().min(1).max(4096).refine(e=>/^(?:\/|[a-z]:[/\\])/iu.test(e)&&!e.includes("\0")&&!e.split(/[/\\]/u).some(t=>t==="."||t===".."),"Expected an absolute local path without dot segments"),l5=y().min(1).max(256).refine(e=>e.split("/").every(t=>t&&/^[a-z0-9_.-]+$/iu.test(t)&&t!=="."&&t!==".."),"Invalid GitHub ref");function c8(e){return y().max(4*Math.ceil(e/3)).refine(t=>{const n=t.endsWith("==")?2:t.endsWith("=")?1:0;return t.length%4===0&&t.length*3/4-n<=e&&/^[A-Za-z0-9+/]*={0,2}$/u.test(t)},"Expected bounded standard padded base64")}const u8=R({type:H("github"),repository:y().max(150).regex(/^[a-z0-9-]+\/[a-z0-9_-][a-z0-9_.-]*$/iu),ref:l5.optional(),tag:l5.optional(),asset:y().max(255).regex(/^[a-z0-9_.-]+\.zip$/iu).optional(),subpath:ji.optional()}).refine(({ref:e,tag:t,asset:n})=>!e||!t&&!n,"Use either a zipball ref or a release tag/asset"),c5=Wt([R({type:H("catalog"),...qr}),u8,R({type:H("zip"),base64:c8(xk).min(4)}),R({type:H("zip"),localZipPath:a5}),R({type:H("localDir"),localDir:a5})]),Sk=wt("type",[R({type:H("catalog"),...qr}),u8,R({type:H("zip")}),R({type:H("localDir")})]),B0=R({...Eo,manifest:hk,installedAt:c1(),source:Sk.optional()}),u5=e=>y().max(23+4*Math.ceil(e/3)).regex(/^data:image\/(?:png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$/u),d8={desktopConflictWith:Ni.optional()},Ek=je(["none","inactive","starting","running","failed"]),jk=wt("state",[B0.extend({state:H("valid"),enabled:de(),...d8,iconDataUrl:u5(ek).optional(),screenshotDataUrls:ne(u5(tk)).max($0).optional(),backendState:Ek.optional(),backendError:y().optional()}),R({state:je(["invalid","incompatible"]),id:y().min(1),enabled:de(),error:y()})]),Ik=R({revision:br,configuration:l8,diagnostics:ne(y()),extensions:ne(jk)}),Mk=B0.extend({...d8,settingsRevision:br}),Ok=R({revision:br,extensions:ne(Mk).max(e8)}),Ot={list:"codexhost/extensions/list",snapshot:"codexhost/extensions/snapshot",catalog:"codexhost/extensions/catalog",install:"codexhost/extensions/install",update:"codexhost/extensions/update",enable:"codexhost/extensions/enable",disable:"codexhost/extensions/disable",uninstall:"codexhost/extensions/uninstall",recover:"codexhost/extensions/recover",asset:"codexhost/extensions/asset",settingsGet:"codexhost/extensions/settings/get",settingsSet:"codexhost/extensions/settings/set",backendInvoke:"codexhost/extensions/backend/invoke"},f8=Object.freeze(Object.values(Ot));new Set(f8);const d5=R({}),h8={expectedRevision:br},f5=R({...qr,...h8}),h5=B0.extend({replaced:de()}),ed=wt("state",[R({state:H("saved"),configuration:l8}),R({state:H("revision-conflict"),revision:br})]),Tk=R({...Ya,digest:Eo.digest.optional(),path:ji}),Lk=R({mimeType:y().min(1),base64:c8(nk),digest:Eo.digest}),p5=R({settingsRevision:br,values:d1}),Pk={[Ot.list]:{params:d5,result:Ik},[Ot.snapshot]:{params:d5,result:Ok},[Ot.catalog]:{params:R({forceRefresh:de().optional()}),result:kk},[Ot.install]:{params:R({source:c5}),result:h5},[Ot.update]:{params:R({...qr,expectedDigest:Eo.digest,expectedActivationId:Eo.activationId.optional(),source:c5.optional()}),result:h5},[Ot.enable]:{params:f5,result:ed},[Ot.disable]:{params:f5,result:ed},[Ot.uninstall]:{params:R({...qr,removeData:de().optional(),expectedDigest:Eo.digest.optional()}),result:R({...qr,removed:de()})},[Ot.recover]:{params:R({expectedRevision:h8.expectedRevision.optional()}),result:ed},[Ot.asset]:{params:Tk,result:Lk},[Ot.settingsGet]:{params:R(Ya),result:p5},[Ot.settingsSet]:{params:R({...Ya,expectedSettingsRevision:br,values:d1}),result:p5},[Ot.backendInvoke]:{params:R({...Ya,method:mk,params:on.optional()}),result:R({result:on})}},Nk="codexhost/thread/archive/confirm";E({threadId:ct}).strict();E({confirmed:de()}).strict();const zk=1;[...f8];E({sections:ne(E({id:y().min(1),name:y().min(1),threads:ne(d1)}).strict())}).strict();E({threadId:y().min(1).max(1024),sectionId:y().min(1).max(1024).nullable()}).strict();E({threadIds:ne(y().min(1))}).strict();E({threadId:y().min(1).max(1024),pinned:de()}).strict();E({}).strict();E({parents:Pt(y().min(1),y().min(1))}).strict();E({prompt:y().max(16384).optional()}).strict();E({projects:ne(E({id:y(),name:y(),rootPaths:ne(y())})),assignments:Pt(y(),y()),projectless:ne(y()),pinned:ne(y()),sectionProjects:Pt(y(),ne(y())).optional()});const dl=Pt(y(),Js()),Br=E({epoch:y().uuid(),sequence:me().int().nonnegative()}),Ak=wt("type",[E({type:H("skills-changed"),cursor:Br,cwd:y().optional()}),E({type:H("harness-inspection-changed"),cursor:Br,harnessId:y().min(1)}),E({type:H("display-settings-changed"),cursor:Br}),E({type:H("preferences-changed"),cursor:Br,revision:me().int().nonnegative()}),E({type:H("extensions-changed"),cursor:Br,revision:br}),E({type:H("hello"),version:H(1),cursor:Br,reset:de()}),E({type:H("changed"),cursor:Br,threadId:y().min(1),method:y().min(1)})]),Rk=wt("type",[E({type:H("text"),id:y(),prompt:y(),secret:de().optional(),optional:de().optional()}),E({type:H("choice"),id:y(),prompt:y(),multiple:de(),allowOther:de(),optional:de().optional(),options:ne(E({value:y(),label:y(),description:y().optional()}))})]),Dk=wt("type",[E({type:H("approval"),title:y(),description:y().optional(),subject:Js().optional(),actions:ne(E({id:y(),label:y(),effect:y()}))}),E({type:H("question"),title:y().optional(),questions:ne(Rk)})]),Fk=E({requestId:Wt([y(),me().int()]),threadId:y(),kind:je(["approval","question"]),interaction:Dk,request:dl}),$k=E({id:y().min(1),clientUserMessageId:y().min(1),input:ne(dl),presentationInput:ne(dl).nullable().optional()}).passthrough(),Hk=ne(Wt([y(),me().int().nonnegative()]));E({fields:ne(E({path:Hk,originalLength:me().int().nonnegative()}))});const td=E({id:y().min(1),status:y().min(1),codexhostTurnOutcome:E({status:H("unknown"),reason:y()}).optional(),items:ne(E({id:y().min(1),type:y().min(1)}).passthrough()),codexhostFileOperations:ne(E({beforeItemId:y().nullable(),item:E({id:y().min(1),type:y().min(1)}).passthrough()})).optional(),error:E({message:y().optional()}).passthrough().nullable().optional(),fingerprint:y().min(1).optional(),unchanged:H(!0).optional()}).passthrough(),Vk=E({id:y().min(1).max(512),fingerprint:y().min(1).max(128)});E({threadId:y().min(1),knownTurns:ne(Vk).max(64).optional(),truncateToolOutput:de().optional()});const Bk=E({harnessId:y().min(1),nativeSessionId:y().min(1)});E({cursor:Br,activeTurnId:y().min(1).nullable().optional(),command:E({name:y().min(1),turn:td,subsequentTurnId:y().min(1).optional()}).optional(),thread:E({id:y().min(1),cwd:y(),modelProvider:y().min(1),createdAt:me(),updatedAt:me(),status:E({type:y()}).passthrough(),name:y().nullable().optional(),preview:y().optional(),codexhostImportSource:Bk.optional(),turns:ne(td).length(0)}).passthrough(),turnsPage:E({data:ne(td).max(5),nextCursor:y().nullable()}),configuration:E({native:E({model:y().min(1).max(1024).optional(),reasoningEffort:y().min(1).max(128).optional()}).optional(),effectiveModel:Hn.optional(),effectiveThinkingOptionId:Bn.optional(),effectivePermissionModeId:_r.optional()}),queue:E({items:ne($k),pausedReason:je(["interrupted","outcome-unknown","failed"]).nullable()}).optional(),interactions:ne(Fk)});E({version:H(zk),owner:H("service").optional(),pid:me().int().positive(),port:me().int().min(1).max(65535),token:y().regex(/^[0-9a-f]{64}$/u),startedAt:me(),epoch:y().uuid()});E({epoch:y().uuid(),threadId:y().min(1),requestId:Wt([y(),me().int()]),result:dl});E({includeArchived:de().optional(),officialCursor:E({live:y().nullable(),archived:y().nullable().optional()}).strict().optional(),scope:E({cwd:y().min(1).max(4096),excludeCwds:ne(y().min(1).max(4096)).max(1024)}).strict().optional()}).strict();E({threads:ne(d1),ownership:ne(Yh),archivedThreadIds:ne(ct),officialCursor:E({live:y().nullable(),archived:y().nullable().optional()}).strict().optional()}).strict();const Zk=5e3,Wk=je(["running","waiting","idle","unknown"]),Uk=R({harnessId:Et,title:y().optional(),status:Wk,archived:de()}),qk=R({revision:En().nonnegative(),parents:Pt(ct,ct),nodes:Pt(ct,Uk),truncated:de()}).refine(e=>Object.keys(e.nodes).length<=Zk,"Too many Thread tree nodes").refine(({parents:e,nodes:t})=>Object.entries(e).every(([n,r])=>Object.hasOwn(t,n)&&Object.hasOwn(t,r)),"Missing Thread tree node"),Gk=y().min(1).max(128);R({});const Kk=R({subscriptionId:Gk});R({});Kk.extend({snapshot:qk});const Yk=["app","topbar","sidebar","conversation"],Jk=y().regex(/^audio\/[a-z0-9.+-]+(?:\s*;[^\r\n]*)?$/i);E({available:de()}).strict();E({path:y().min(1),mimeType:Jk}).strict();const Xk=je(["credentials-unavailable","login-expired","rate-limited","service-rejected","host-incompatible","network","timeout","audio-empty","audio-too-large","audio-format","audio-invalid"]);wt("ok",[E({ok:H(!0),text:y()}).strict(),E({ok:H(!1),error:E({code:Xk}).strict()}).strict()]);E({threadId:ct.optional(),cwd:y().min(1).optional()}).strict().refine(e=>!(e.threadId&&e.cwd),{message:"Specify threadId or cwd, not both"});const Qk=E({name:y().min(1).regex(/^[^\s[\]]+$/u),description:y().optional(),path:y().min(1),scope:je(["project","global"]),source:y().min(1)}).strict();E({revision:me().int().nonnegative(),complete:de(),skills:ne(Qk),warnings:ne(y()).optional()}).strict();E({cwd:y().min(1).optional()}).strict();const eS=/\[\$([^\]\r\n]+)\]\((?:<([^<>\r\n]+)>|([^\s()]+))(?:[ \t]+(?:"[^"\r\n]*"|'[^'\r\n]*'))?\)/gu;function tS(e){return[...e.matchAll(eS)].flatMap(t=>{const n=t[2]??t[3]??"";return!/^(?:\/|[A-Za-z]:[\\/]|\\\\)/u.test(n)||!/[\\/]SKILL\.md$/u.test(n)?[]:[{start:t.index,end:t.index+t[0].length,name:t[1]??"",path:n,text:t[0]}]})}const m5=E({kind:je(["public","relay","tailscale-funnel","tailscale-https","tailscale","lan","virtual"]),url:y().min(1)}).strict(),p8=wt("status",[E({status:H("not-installed")}),E({status:H("not-running")}),E({status:H("not-logged-in")}),E({status:H("https-disabled")}),E({status:H("not-serving"),command:y()}),E({status:H("occupied"),target:y()}),E({status:H("serving"),url:y(),funnel:de()}),E({status:H("error"),message:y()})]);E({state:p8,error:y().optional()}).strict();const nS=wt("status",[E({status:H("on")}),E({status:H("off")}),E({status:H("invalid"),reason:y()})]),rS=E({lan:de(),autostart:nS}).strict(),g5=E({expiresAt:y().optional(),issuing:de(),failure:E({detail:y().optional(),retryAt:y(),paused:de()}).optional()}),oS=wt("status",[E({status:H("off"),reason:je(["invite","name-taken","banned"]).optional()}),E({status:H("connecting"),reason:je(["full","unreachable"]).optional()}),E({status:H("connected"),url:y(),certificate:g5}),E({status:H("missing-certificate"),url:y(),certificate:g5}),E({status:H("stopped"),reason:je(["replaced","rejected","unsupported-version"])})]);y().max(253).regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$/i).transform(e=>e.toLowerCase());y().regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)?$/);const iS=je(["official","self-hosted"]);E({secret:y().min(1),lastUsedAt:me().nullable(),networkUrls:ne(m5),directCandidates:ne(m5).optional(),tailscale:p8,background:rS.optional(),relay:E({state:oS,enabled:de(),kind:iS,officialHost:y(),customHost:y().optional(),officialHostname:y().optional(),customHostname:y().optional(),quotaUntil:y().optional()}).strict().optional()}).strict();const sS=R({threadId:y().min(1).max(1024),view:je(["result","messages"]),from:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional(),to:me().int().min(1).max(Number.MAX_SAFE_INTEGER).optional()}),m8=E({id:y().min(1).max(256),harnessId:y().min(1),label:y().min(1).max(512),provider:je(["openai-codex","xai"])}).strict(),Ja=y().regex(/^[a-z][a-z0-9-]{0,47}$/),aS=E({name:Ja,source:m8,importedAt:y()}).strict(),lS=wt("action",[E({action:H("list")}).strict(),E({action:H("import"),sourceId:y().min(1).max(256),name:Ja,confirmed:H(!0)}).strict(),E({action:H("reimport"),sourceId:y().min(1).max(256),name:Ja,confirmed:H(!0)}).strict(),E({action:H("remove"),name:Ja,confirmed:H(!0)}).strict()]),cS=E({provider:y().min(1).max(128),type:je(["oauth","api_key","unknown"]),label:y().min(1).max(512).optional(),vendor:je(["openai-codex","xai"]).optional()}).strict();E({sources:ne(m8),targets:ne(E({harnessId:y(),providers:ne(je(["openai-codex","xai"])),imports:ne(aS),others:ne(cS).default([])}).strict())}).strict();E({targetHarnessId:y().min(1).max(128).optional(),request:lS}).strict();E({events:de()});const g8=ne(R({agent:y().min(1).max(128),section:je(["main","more","auto"])})).max(256).refine(e=>new Set(e.map(t=>t.agent)).size===e.length,"Duplicate Harness IDs");R({entries:g8.nullable()});R({});R({entries:g8,initializeOnly:de().optional()});const uS=5,dS=1440,v8=R({enabled:de(),timeoutMinutes:me().int().min(uS).max(dS)}),Rl=y().regex(/^external$/u),Z0=Et.transform(e=>String(e)),w8=R({model:Hn.optional(),thinkingOptionId:Bn.optional(),permissionModeId:_r.optional()}).refine(e=>!!(e.model||e.thinkingOptionId||e.permissionModeId),"A default configuration must contain a preference"),fS=R({lastHarness:Et.optional(),byHarness:Pt(Z0,w8)}),x8=R({model:Hn.optional(),thinkingOptionId:Bn.optional()}).refine(e=>!!(e.model||e.thinkingOptionId),"A delegation default must contain a Model or Thinking option"),hS=R({byHarness:Pt(Z0,x8)}),Ud=y().min(1).max(1024),y8=R({idleRelease:v8.optional(),favorites:Pt(Z0,ne(Ud).max(2048)).default({}),newThread:fS.optional(),delegation:hS.optional()});R({scope:Rl,revision:me().int().nonnegative(),values:y8});R({scope:Rl.default("external")});const pS=wt("kind",[R({kind:H("idleRelease"),value:v8}),R({kind:H("favorite"),harnessId:Et,modelId:Ud,enabled:de()}),R({kind:H("favorites"),harnessId:Et,modelIds:ne(Ud).max(2048)}),R({kind:H("newThread"),lastHarness:Et.optional(),harnessId:Et.optional(),configuration:w8.optional()}),R({kind:H("delegation"),harnessId:Et,configuration:x8.nullable()})]);R({scope:Rl.default("external"),operations:ne(pS).min(1).max(256),initializeOnly:de().optional(),expectedRevision:me().int().nonnegative().optional()}).superRefine((e,t)=>{for(const n of e.operations)n.kind==="newThread"&&(!n.lastHarness&&!n.configuration||!!n.harnessId!=!!n.configuration)&&t.addIssue({code:"custom",message:"A default Harness or complete configuration is required"})});R({version:H(1),revision:me().int().nonnegative(),scopes:Pt(Rl,y8)});const Is=me().finite().nonnegative(),Dl=R({input:Is,output:Is,cacheRead:Is.optional(),cacheWrite:Is.optional(),cacheWrite1h:Is.optional()}),qd=y().max(512).refine(e=>e.trim()===e&&e.length>0,"Model ID is required");R({path:y(),entries:ne(R({key:y(),price:Dl})),error:y().nullable()});R({});R({key:qd,price:Dl.nullable(),previousKey:qd.optional()});R({model:qd});const mS=R({official:de().optional(),canonicalModelId:y().min(1).optional(),provider:y().min(1).max(512),model:y().min(1).max(512),price:Dl});R({price:Dl.nullable(),suggestions:ne(mS).max(6).optional()});const _8=["today","7d","30d","90d","all"],Lt=me().int().min(0).max(Number.MAX_SAFE_INTEGER),Fs=y().regex(/^\d{4}-\d{2}-\d{2}$/u),mr=y().min(1).max(128),Zr=y().min(1).max(512),Vs=y().min(1).max(4096);R({range:je(_8),timeZone:y().min(1).max(128).refine(e=>{try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}},"Unsupported usage statistics timezone").optional(),harness:mr.optional(),model:Zr.nullable().optional(),project:Vs.nullable().optional(),date:Fs.optional()});const b8=R({requests:Lt,inputTokens:Lt,cachedInputTokens:Lt,cacheWriteInputTokens:Lt,cacheKnownInputTokens:Lt,cacheHitCachedInputTokens:Lt,cacheHitInputTokens:Lt,outputTokens:Lt,reasoningOutputTokens:Lt,costUsd:me().finite().min(0),unpricedRequests:Lt,unmeteredRequests:Lt}),di=b8.shape,v5=R({harness:mr,sessionId:y().min(1).max(512),project:Vs.nullable(),title:y().min(1).max(200).optional(),models:ne(Zr).max(16),firstAtMs:Lt,lastAtMs:Lt,...di});R({range:je(_8),from:Fs.nullable(),to:Fs,filters:R({harness:mr.nullable(),model:Zr.nullable(),unknownModel:de(),project:Vs.nullable(),unknownProject:de(),date:Fs.nullable()}),reading:R({complete:de(),sources:Lt,read:Lt}),failures:ne(R({harness:mr,message:y().max(2048)})).max(256),options:R({harnesses:ne(mr).max(256),models:ne(Zr.nullable()).max(4096),projects:ne(Vs.nullable()).max(4096)}),modelLabels:ne(R({harness:mr,model:Zr,label:Zr})).max(4096).optional(),credits:ne(R({harness:mr,model:Zr.nullable(),credits:me().finite().min(0),reportedRequests:Lt,requests:Lt})).max(4096).optional(),totals:b8,daily:ne(R({date:Fs,harness:mr,...di})).max(2e5),hourly:ne(R({weekday:me().int().min(0).max(6),hour:me().int().min(0).max(23),...di})).max(168),byHarness:ne(R({harness:mr,...di})).max(256),byModel:ne(R({model:Zr.nullable(),...di,harnessPricedRequests:Lt})).max(4096),byProject:ne(R({project:Vs.nullable(),...di})).max(4096),sessions:ne(v5).max(100),recentSessions:ne(v5).max(100).optional()});E({threadId:ct});E({discarded:de()});const gS=wt("type",[E({id:y().min(1),type:H("choice"),prompt:y(),options:ne(E({value:y().min(1),label:y(),description:y().optional()})).min(1),multiple:de(),allowOther:de(),optional:de()}),E({id:y().min(1),type:H("text"),prompt:y(),multiline:de(),secret:H(!1),optional:de(),placeholder:y().optional(),prefill:y().optional()})]),vS=E({interactionId:y().min(1),turnId:y().min(1),title:y().optional(),questions:ne(gS).min(1)}).refine(({questions:e})=>e.some(t=>t.type==="choice"&&t.multiple),{message:"Shared cards require at least one multi-select question"});R({threadId:y().min(1)});E({questions:ne(vS)});R({threadId:y().min(1),turnId:y().min(1),interactionId:y().min(1),answers:Pt(y(),ne(y())),cancelled:de().default(!1)});E({accepted:H(!0)});const wS=E({path:y(),oldText:y().nullable(),newText:y()});E({sessionId:y().min(1),turn:me().int().nonnegative(),path:y().min(1).optional()});E({diffs:ne(wS)});R({});R({});const xS=E({sessionId:y().min(1),epoch:y().min(1),turn:me().int().nonnegative(),seq:me().int().nonnegative(),callId:y().min(1),part:me().int().nonnegative(),version:y().min(1)});E({reference:xS,length:me().int().nonnegative(),bytes:me().int().nonnegative()});R({title:y().trim().min(1).max(200),type:je(["info","warning","danger"]),body:y().trim().min(1).max(16*1024)});R({});R({url:y().max(2048).regex(/^http:\/\/(?:127\.0\.0\.1|localhost):\d{1,5}\/(?:\?.*)?$/u)});const yS=1,_S=je(["idle","running","busy","closing","failed","blocked"]),bS=je(["none","disabled","timeout","operation","background","identity","persistence","closeFailed"]);ne(R({threadId:y(),title:y(),harnessId:y(),state:_S,reason:bS,inactiveMs:me().nonnegative()}));R({threadId:ct,turnId:p1});const C8=E({email:y().trim().min(1).max(320).optional(),label:y().trim().min(1).max(256).optional(),plan:y().trim().min(1).max(128).optional(),credits:z0.optional(),balance:Uh.optional()}).strict();function k8(e){return e.refine(t=>{const n=t;return n.credits!==void 0||n.balance!==void 0},{message:"Account must report either credits or a balance"})}const w5=k8(C8),W0={harnessId:Et,harnessName:y().trim().min(1).max(128)},CS=E(W0).strict();E({}).strict();E({sources:ne(CS).max(128)}).strict();E({harnessId:Et,refresh:de().optional()}).strict();E({...W0,account:w5.nullable(),accounts:ne(w5).max(8).optional()}).strict();E({refresh:de().optional()}).strict();E({accounts:ne(k8(C8.extend(W0))).max(128)}).strict();E({harnessId:Pi,model:Hn.optional(),thinkingOptionId:Bn.optional(),permissionModeId:_r.optional(),prewarm:H(!0).optional()}).strict();const S8=y().trim().min(1).max(4096).refine(e=>!/[\u0000\r\n]/u.test(e),"Invalid entrypoint path"),kS=E({harnessId:Pi}).strict();kS.extend({path:S8.nullable()});E({path:S8.nullable(),restartRequired:de()}).strict();E({harnessId:Et,action:je(["check","update","install"]),confirmedVersion:y().min(1).max(128).optional()}).strict().refine(({action:e,confirmedVersion:t})=>e==="update"||t===void 0);const SS=E({currentVersion:y().min(1).max(128),latestVersion:y().min(1).max(128),updateAvailable:de(),canUpdate:de(),latestVerifiedVersion:y().min(1).max(128).optional(),confirmationRequired:H(!0).optional(),versionKind:je(["cli","application"]).optional(),manualUpdateUrl:T0().max(2048).refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Manual updates require a credential-free HTTPS URL").optional(),message:y().max(2048).optional(),messageCode:y().min(1).max(128).optional(),notice:Vh.optional(),latestVersionKind:je(["unknown","tracking-branch"]).optional()}).strict();E({taskId:y().uuid()}).strict();wt("status",[E({taskId:y().uuid(),status:H("running")}).strict(),E({taskId:y().uuid(),status:H("succeeded"),result:SS}).strict(),E({taskId:y().uuid(),status:H("failed"),error:E({code:me().int(),message:y().min(1).max(2048)}).strict()}).strict()]);const Fl=y().min(1).max(256).regex(/^[A-Za-z0-9._~-]+$/u),E8=y().trim().min(1),ES=je(["free","go","plus","pro","prolite","team","self_serve_business_prolite","self_serve_business_usage_based","business","ent26","enterprise_cbp_automation","enterprise_cbp_usage_based","enterprise","edu","edu_plus","edu_pro","unknown"]),jS=E({accountId:Fl,label:E8.max(256),email:y().email().max(320).optional(),planType:ES.optional()}).strict(),IS=je(["ready","unavailable"]);E({version:H(2),currentAccountId:Fl.nullable(),phase:IS,revision:me().int().nonnegative(),instanceId:E8.max(1024).optional(),accounts:ne(jS).max(1)}).strict();E({accountId:Fl,refresh:de().optional()}).strict();E({accountId:Fl,usage:N0.nullable(),accountCredits:z0.optional(),freshness:je(["live","cached"]),observedAt:y().datetime().nullable()}).strict();const MS=1024,OS=16384,TS=4096,U0=1e3,LS=864e13,e1=y().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),q0=e1.max(MS),j8=E({nativeSessionId:q0,title:e1.max(TS).nullable(),updatedAt:me().int().nonnegative().max(LS),cwd:e1.max(OS),running:de().nullable()}).strict();E({}).strict();E({harnesses:ne(E({harnessId:Pi,name:e1.max(128)}).strict()).max(128)}).strict();E({harnessId:Pi,query:y().trim().max(4096).refine(e=>!e.includes("\0")).optional(),offset:me().int().nonnegative().safe().optional(),limit:me().int().min(1).max(U0).optional()}).strict();E({candidates:ne(j8).max(U0),total:me().int().nonnegative().safe()}).strict();E({harnessId:Pi,nativeSessionId:q0}).strict();E({threadId:e1.max(1024).pipe(ct)}).strict();const PS=U0,NS=1024,zS=y().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),AS=q0,RS=j8;E({}).strict();E({candidates:ne(RS).max(PS)}).strict();E({nativeSessionId:AS}).strict();E({threadId:zS.max(NS).pipe(ct)}).strict();E({threadId:ct,lastTurnId:p1}).strict();E({threadId:ct}).strict();const I8=y().trim().min(1).max(128).regex(/^[A-Za-z0-9._:-]+$/u).brand(),DS=y().min(1).max(128),FS=y().trim().min(1).max(128),$S=y().trim().min(1).max(512),HS=E({id:I8,invocation:DS,label:FS,description:$S.optional(),localizations:f1.optional(),argumentMode:je(["none","text"]),kind:je(["command","skill"]).optional()}).strict();E({commands:ne(HS),warnings:ne(y().min(1)).optional(),source:je(["live","static"]).optional()}).strict().superRefine((e,t)=>{const n=new Set;for(const[r,s]of e.commands.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Harness command IDs must be unique",path:["commands",r,"id"]}),n.add(s.id)});E({harnessId:Et,cwd:y().min(1).optional()}).strict();E({threadId:ct}).strict();E({threadId:ct,commandId:I8,turnId:p1.optional(),arguments:d1.optional()}).strict();E({accepted:H(!0),turnId:p1.optional()}).strict();const $l=H("2.0").optional(),$n=L0().optional(),M8=y().min(1),G0=Wt([y(),me().int()]),VS=E({code:me().int(),message:y(),data:on.optional()}).catchall(on).superRefine(Xr(["data"])),BS=E({jsonrpc:$l,id:G0,method:M8,params:on.optional(),result:$n,error:$n}).catchall(on).superRefine(Xr(["jsonrpc","params","result","error"])),ZS=E({jsonrpc:$l,id:$n,method:M8,params:on.optional(),result:$n,error:$n}).catchall(on).superRefine(Xr(["jsonrpc","id","params","result","error"])),WS=E({jsonrpc:$l,id:G0,method:$n,params:$n,result:on,error:$n}).catchall(on).superRefine(Xr(["jsonrpc","method","params","error"])),US=E({jsonrpc:$l,id:G0,method:$n,params:$n,result:$n,error:VS}).catchall(on).superRefine(Xr(["jsonrpc","method","params","result"]));Wt([BS,ZS,WS,US]);const t1=y().refine(e=>e.trim().length>0,{message:"Native identifier must not be empty or whitespace"});R({harnessId:Et,nativeSessionId:t1,locator:on.optional(),formatVersion:H(1)}).superRefine(Xr(["locator"]));R({harnessId:Et,nativeSessionId:t1,nativeTurnKey:t1,formatVersion:H(1)});R({harnessId:Et,nativeSessionId:t1,checkpointId:t1,locator:on.optional(),formatVersion:H(1)}).superRefine(Xr(["locator"]));const O8=500,qS=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u,n1=y().regex(qS),T8=je(["npm","windows-installer","macos-dmg","linux-archive"]),GS=je(["prepared","downloading","waiting-for-exit","installing","restarting","succeeded","failed"]),K0=R({version:n1,installation:T8,phase:GS,updatedAt:me().int().nonnegative(),downloadedBytes:me().int().nonnegative().optional(),totalBytes:me().int().positive().optional(),error:y().min(1).max(O8).nullable(),serviceStopOutput:y().optional()}).superRefine((e,t)=>{e.downloadedBytes!==void 0&&e.totalBytes!==void 0&&e.downloadedBytes>e.totalBytes&&t.addIssue({code:"custom",path:["downloadedBytes"],message:"downloadedBytes must not exceed totalBytes"})});R({});const KS=y().max(300).regex(/^https:\/\/github\.com\/BytePioneer-AI\/codex-host\/releases\/tag\/v[0-9A-Za-z.+-]+$/u,"release notes URL must identify a codexhost GitHub Release");R({currentVersion:n1,installation:T8.nullable(),latestVersion:n1.nullable(),updateAvailable:de(),installationAvailable:de(),releaseNotes:y().min(1).max(2e4).nullable(),releaseNotesUrl:KS.nullable(),status:K0.nullable(),error:y().min(1).max(O8).nullable()});R({status:K0});R({status:K0.nullable()});const YS=12,JS=R({icon:y().min(1).max(16).optional(),title:y().min(1).max(120),body:y().min(1).max(1200),contributors:ne(y().min(1).max(39)).max(30)}),x5=R({summary:y().min(1).max(600).optional(),themes:ne(JS).min(1).max(YS)}),XS=R({version:n1,publishedAt:c1(),url:y().max(300).regex(/^https:\/\/github\.com\/BytePioneer-AI\/codex-host\/releases\/tag\/v[0-9A-Za-z.+-]+$/u),zh:x5.nullable(),en:x5.nullable()}).refine(e=>e.zh!==null||e.en!==null,{message:"an announcement needs at least one language"});R({manual:de().optional()});R({announcement:XS.nullable(),unread:de()});R({version:n1});const QS=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu;function eE(e){const t=[],n=new Set;return{text:e.replace(QS,(s,l,u)=>{const d=l.trim();return n.has(u)||(n.add(u),t.push({harnessId:u,label:d})),`@${d}`}),mentions:t}}function tE(e){if(e===void 0)return;const t=Number(e);return Number.isSafeInteger(t)&&t>0&&String(t)===e?t:void 0}const nE=je(["idle","installing","restarting","succeeded","failed"]);E({runningVersion:y().nullable(),installedVersion:y().nullable(),restartRequired:de(),remote:de(),updateSupported:de(),update:E({phase:nE,targetVersion:y().nullable(),error:y().nullable()})});const rE=E({version:y().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u)}).strict();E({hostname:y().min(1).max(1024).refine(e=>!e.startsWith("-")&&!/\s/u.test(e)),port:me().int().min(1).max(65535).nullable(),identity:y().max(4096).nullable(),action:je(["inspect","install","update","repair","uninstall"]),uninstallPackage:de().optional(),version:y().regex(/^\d+\.\d+\.\d+$/u).nullable()}).strict();E({state:je(["installed","not-installed"])}).strict();const oE=1024,Xe=y().min(1).max(oE),fi={hostId:Xe.regex(/^(?:remote-(?:ssh(?:-|:)|control:)|remote-peer:[a-zA-Z0-9_-]{1,64}$)/u)},An={...fi,threadId:Xe},L8=y().min(1).max(8e3),y5={text:L8,requestId:Xe};wt("accepted",[E({accepted:H(!0),startQueuedItemId:Xe.optional()}),E({accepted:H(!1),code:je(["remote/queue-unavailable","remote/steer-unavailable","remote/turn-changed","remote/send-rejected","session/queue-item-not-found","session/queue-item-starting"]),message:y()})]);wt("available",[E({available:H(!1)}),E({available:H(!0),items:ne(E({id:Xe,clientUserMessageId:Xe,preview:y().max(801)})).max(100)})]);const iE=wt("kind",[R({kind:H("hosts")}),R({kind:H("create"),...fi,cwd:y().min(1).max(8192),epoch:Xe}),R({kind:H("projectHarnesses"),...fi,epoch:Xe}),R({kind:H("inspectHarness"),...fi,epoch:Xe,cwd:y().min(1).max(8192),harnessId:Xe}),R({kind:H("startSelected"),...fi,epoch:Xe,cwd:y().min(1).max(8192),harnessId:Xe,model:y().min(1).max(4096),serviceTier:je(["priority","ultrafast"]).optional(),reasoningEffort:Xe.optional()}),R({kind:H("status"),...An}),R({kind:H("list"),...fi,cursor:y().nullable(),archived:de(),includeLoaded:H(!0).optional()}),R({kind:H("read"),...An,page:R({cursor:y().min(1).max(8192).nullable(),epoch:Xe.optional(),sortDirection:je(["asc","desc"]).optional(),limit:me().int().min(1).max(20).optional()}).refine(e=>e.cursor===null||e.epoch!==void 0,{message:"A history continuation requires its connection epoch"}).optional()}),R({kind:H("usage"),...An,epoch:Xe}),R({kind:H("configure"),...An,epoch:Xe,modelId:Xe.optional(),serviceTier:Gh.optional(),thinkingOptionId:Xe.optional(),permissionModeId:Xe.optional()}).refine(e=>[e.modelId,e.thinkingOptionId,e.permissionModeId].filter(t=>t!==void 0).length===1,"Select exactly one remote setting").refine(e=>e.serviceTier===void 0||e.modelId!==void 0,{message:"A service tier requires a Model ID"}),R({kind:H("prompt"),...An,epoch:Xe,text:L8,requestId:Xe.optional()}),R({kind:H("queue"),...An,epoch:Xe}),R({kind:H("delivery"),...An,epoch:Xe,action:wt("kind",[R({kind:H("enqueue"),...y5}),R({kind:H("steer"),...y5,turnId:Xe}),R({kind:H("remove"),itemId:Xe}),R({kind:H("start"),itemId:Xe,onlyIfHead:H(!0).optional()})])}),R({kind:H("interrupt"),...An,epoch:Xe,turnId:Xe}),R({kind:H("rename"),...An,epoch:Xe,name:y().min(1).max(512)}),R({kind:H("archive"),...An,epoch:Xe,archived:de()}),R({kind:H("respond"),...An,epoch:Xe,requestId:Wt([Xe,me().int()]),result:Pt(y(),Js())})]),hi=y().min(1).max(1024),_5=E({hostId:hi,displayName:y().min(1).max(1024),source:je(["codex-managed","discovered"]),sshAlias:y().max(1024).nullable(),sshHost:y().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:y().max(4096).nullable(),autoConnect:de(),connectionAnalyticsId:y().max(1024).optional()}),sE=R({displayName:y().min(1).max(1024),hostname:y().min(1).max(1024),sshPort:me().int().min(1).max(65535).nullable(),identity:y().max(4096).nullable()});wt("action",[R({action:H("session"),operation:iE}),R({action:H("list")}),R({action:H("catalog")}),R({action:H("read-thread"),hostId:hi.refine(e=>e!=="local"),input:sS}),R({action:H("save"),draft:sE,previous:_5.nullable()}),R({action:H("remove"),previous:_5}),R({action:H("connect"),hostId:hi,enabled:de()}),R({action:H("state"),hostId:hi}),R({action:H("runtime"),hostId:hi}),R({action:H("update"),hostId:hi.refine(e=>e!=="local"),version:rE.shape.version})]);Wt([R({result:on}),R({error:R({code:me().int(),message:y()})})]);R({prompt:y().trim().min(1).max(2e3),cwd:y().max(4096).nullable()});y().trim().min(1).max(60).nullable();const Hl=y().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u),b5=Wt([y(),E({en:y()}).catchall(y())]),aE=E({title:b5.optional(),description:b5.optional(),icon:y().max(Math.ceil(256*1024/3)*4+64).regex(/^data:image\/(?:svg\+xml|png|jpeg|webp);base64,[A-Za-z0-9+/]*={0,2}$/u).optional(),error:y().optional()}),lE=E({id:Hl,name:y().min(1).max(214),version:y().min(1).max(128),format:H("dsh"),supportedTargets:Jb([H("web")]),enabledTargets:ne(H("web")).max(1),source:y().min(1).max(4096),projectUrl:y().max(4096).url({protocol:/^https?$/u}).optional(),installedAt:y(),meta:aE.optional(),loadError:y().optional()});E({extensions:ne(lE),loadedIds:ne(Hl),safeMode:de(),storeError:y().optional()});const cE=y().trim().max(2048).url({protocol:/^https?$/u,normalize:!0}).refine(e=>!/[\s\\?#]/u.test(e)&&!e.split("/")[2]?.includes("@"),"Use an HTTP(S) registry URL without credentials, a query, or a fragment.").transform(e=>e.endsWith("/")?e:`${e}/`);E({spec:y().trim().min(1).max(4096),registry:cE.optional()}).strict();E({id:Hl,enabled:de()}).strict();E({id:Hl}).strict();const uE=/^[a-zA-Z0-9_-]{1,64}$/u,Cr=y().regex(uE),dE=y().regex(/^remote-peer:[a-zA-Z0-9_-]{1,64}$/u),P8=je(["relay","tailscale","lan","custom"]),fE=je(["connected","connecting","auth-error","offline","disabled"]),hE=E({peerId:Cr,hostId:dE,name:y().min(1).max(120),origin:y().min(1).max(2048),transportKind:P8,encrypted:de(),enabled:de(),state:fE,latencyMs:me().int().nonnegative().optional(),version:y().max(128).optional(),platform:y().max(64).optional(),hostname:y().max(255).optional(),homeDir:y().max(4096).optional(),lastError:y().max(1e3).optional(),projectCount:me().int().nonnegative(),createdAt:y(),updatedAt:y()});E({peers:ne(hE)});E({connectionUrl:y().min(1).max(4096).optional(),origin:y().min(1).max(2048).optional(),token:y().min(1).max(2048).optional(),name:y().trim().min(1).max(120).optional()}).refine(e=>!!e.connectionUrl||!!e.origin&&!!e.token,"Provide either connectionUrl or both origin and token");E({peerId:Cr,name:y().trim().min(1).max(120).optional(),connectionUrl:y().min(1).max(4096).optional(),origin:y().min(1).max(2048).optional(),token:y().min(1).max(2048).optional(),enabled:de().optional()});E({peerId:Cr});E({removed:de()});E({peerId:Cr.optional(),connectionUrl:y().min(1).max(4096).optional(),origin:y().min(1).max(2048).optional(),token:y().min(1).max(2048).optional()}).refine(e=>!!e.peerId||!!e.connectionUrl||!!e.origin&&!!e.token,"Provide peerId, connectionUrl, or both origin and token");E({ok:de(),latencyMs:me().int().nonnegative().optional(),origin:y().max(2048).optional(),transportKind:P8.optional(),encrypted:de().optional(),version:y().max(128).optional(),platform:y().max(64).optional(),hostname:y().max(255).optional(),homeDir:y().max(4096).optional(),projectCount:me().int().nonnegative().optional(),error:y().max(1e3).optional()});const pE=E({id:y().min(1).max(1024),name:y().min(1).max(512),path:y().min(1).max(8192),threadIds:ne(y().min(1).max(1024))}),mE=E({version:y().max(128),platform:y().max(64),hostname:y().max(255),homeDir:y().max(4096).optional(),epoch:y().min(1).max(256),projects:ne(pE)}),gE=E({name:y().min(1).max(512),path:y().min(1).max(8192),kind:H("directory")});E({peerId:Cr,path:y().min(1).max(8192).optional()});E({path:y().min(1).max(8192),parentPath:y().min(1).max(8192).nullable(),homeDir:y().min(1).max(8192).optional(),entries:ne(gE)});E({peerId:Cr,parentPath:y().min(1).max(8192),name:y().min(1).max(255).refine(e=>e.trim().length>0,"Directory name cannot be blank")});E({path:y().min(1).max(8192),name:y().min(1).max(255)});E({peerId:Cr,path:y().min(1).max(8192),title:y().trim().min(1).max(255).optional()});E({peerId:Cr,workspaceId:y().min(1).max(1024),title:y().trim().min(1).max(255)});E({peerId:Cr,workspaceId:y().min(1).max(1024)});E({workspaceId:y().min(1).max(1024).optional(),manifest:mE});H(yS);const Na=1e3,vE=3e4,C5="codexhost:host-extensions-events:v1",nd=Symbol.for("codexhost.host-extension-events.v1");let rd;function wE(){return typeof BroadcastChannel=="function"&&typeof navigator<"u"&&typeof navigator.locks?.request=="function"}function xE(e,t){const n=new Set,r=wE(),s=r?new BroadcastChannel(C5):void 0;let l=!1,u=!1,d=!1,p,m,g,w,x,_=Na;const C=(G,k)=>{if(!l){for(const Y of[...n])try{Y.onExtensionsChanged(G)}catch{}if(k&&s)try{s.postMessage({type:"extensions-changed",revision:G})}catch{}}},I=G=>{if(!l){for(const k of[...n])try{k.onReconnect?.()}catch{}if(G&&s)try{s.postMessage({type:"reconnect"})}catch{}}},M=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},N=()=>{m?.abort(),m=void 0},O=()=>{if(M(),l||!u||e?.visibilityState==="hidden")return;const G=_;_=Math.min(_*2,vE),x=setTimeout(()=>{x=void 0,B()},G)},B=async()=>{if(l||!u||e?.visibilityState==="hidden")return;N();const G=new AbortController;m=G;const k=p!==void 0?`?epoch=${encodeURIComponent(p.epoch)}&after=${encodeURIComponent(String(p.sequence))}`:"";try{const Y=await fetch(`api/ch/v1/events${k}`,{method:"GET",credentials:"same-origin",cache:"no-store",headers:{accept:"application/x-ndjson"},signal:G.signal});if(!Y.ok||Y.body===null){O();return}_=Na,d&&I(!0),d=!0;const V=Y.body.getReader(),K=new TextDecoder;let X="";for(;;){const{done:we,value:he}=await V.read();if(we||l||!u||G.signal.aborted)break;X+=K.decode(he,{stream:!0});let Se=X.indexOf(`
|
|
77
|
+
`);for(;Se!==-1;){const ce=X.slice(0,Se).trim();if(X=X.slice(Se+1),ce.length>0)try{const Q=Ak.safeParse(JSON.parse(ce));if(Q.success){const te=Q.data;p=te.cursor,te.type==="extensions-changed"?C(te.revision,!0):te.type==="hello"&&te.reset&&I(!0)}}catch{}Se=X.indexOf(`
|
|
78
|
+
`)}}}catch{}finally{m===G&&(m=void 0),!l&&u&&!G.signal.aborted&&O()}},z=()=>{u=!1,M(),N(),g?.abort(),g=void 0;const G=w;w=void 0,G?.()},U=()=>{if(l||e?.visibilityState==="hidden")return;if(!r){if(u)return;u=!0,_=Na,B();return}if(u||g!==void 0)return;const G=new AbortController;g=G,navigator.locks.request(C5,{signal:G.signal},async()=>{l||G.signal.aborted||e?.visibilityState==="hidden"||(u=!0,_=Na,await new Promise(k=>{w=k,d&&I(!1),B()}))}).catch(()=>{}).finally(()=>{g===G&&(g=void 0)})},Z=G=>{if(l||u)return;const k=G.data;!k||typeof k!="object"||(k.type==="extensions-changed"&&typeof k.revision=="number"?C(k.revision,!1):k.type==="reconnect"&&I(!1))};s?.addEventListener("message",Z);const ee=()=>{if(!l){if(e?.visibilityState==="hidden"){z();return}I(!1),U()}};e?.addEventListener("visibilitychange",ee),U();const q=()=>{l||(l=!0,z(),e?.removeEventListener("visibilitychange",ee),s?.removeEventListener("message",Z),s?.close(),t())};return{subscribe(G){return n.add(G),()=>{n.delete(G),n.size===0&&q()}}}}function yE(e){const{onExtensionsChanged:t,onReconnect:n}=e,r=e.document;let s=r?r[nd]:rd;return s||(s=xE(r,()=>{r?delete r[nd]:rd=void 0}),r?r[nd]=s:rd=s),s.subscribe({onExtensionsChanged:t,onReconnect:n})}function m1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var od={exports:{}},$e={};/**
|
|
79
79
|
* @license React
|
|
80
80
|
* react.production.min.js
|
|
81
81
|
*
|
|
@@ -83,13 +83,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
83
83
|
*
|
|
84
84
|
* This source code is licensed under the MIT license found in the
|
|
85
85
|
* LICENSE file in the root directory of this source tree.
|
|
86
|
-
*/var C5;function fE(){if(C5)return $e;C5=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.iterator;function x(L){return L===null||typeof L!="object"?null:(L=w&&L[w]||L["@@iterator"],typeof L=="function"?L:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,j={};function I(L,D,ne){this.props=L,this.context=D,this.refs=j,this.updater=ne||y}I.prototype.isReactComponent={},I.prototype.setState=function(L,D){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,D,"setState")},I.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function P(){}P.prototype=I.prototype;function O(L,D,ne){this.props=L,this.context=D,this.refs=j,this.updater=ne||y}var B=O.prototype=new P;B.constructor=O,b(B,I.prototype),B.isPureReactComponent=!0;var z=Array.isArray,U=Object.prototype.hasOwnProperty,Z={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function q(L,D,ne){var pe,Oe={},Ne=null,Be=null;if(D!=null)for(pe in D.ref!==void 0&&(Be=D.ref),D.key!==void 0&&(Ne=""+D.key),D)U.call(D,pe)&&!ee.hasOwnProperty(pe)&&(Oe[pe]=D[pe]);var Fe=arguments.length-2;if(Fe===1)Oe.children=ne;else if(1<Fe){for(var Re=Array(Fe),de=0;de<Fe;de++)Re[de]=arguments[de+2];Oe.children=Re}if(L&&L.defaultProps)for(pe in Fe=L.defaultProps,Fe)Oe[pe]===void 0&&(Oe[pe]=Fe[pe]);return{$$typeof:e,type:L,key:Ne,ref:Be,props:Oe,_owner:Z.current}}function G(L,D){return{$$typeof:e,type:L.type,key:D,ref:L.ref,props:L.props,_owner:L._owner}}function k(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function Y(L){var D={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(ne){return D[ne]})}var V=/\/+/g;function K(L,D){return typeof L=="object"&&L!==null&&L.key!=null?Y(""+L.key):D.toString(36)}function X(L,D,ne,pe,Oe){var Ne=typeof L;(Ne==="undefined"||Ne==="boolean")&&(L=null);var Be=!1;if(L===null)Be=!0;else switch(Ne){case"string":case"number":Be=!0;break;case"object":switch(L.$$typeof){case e:case t:Be=!0}}if(Be)return Be=L,Oe=Oe(Be),L=pe===""?"."+K(Be,0):pe,z(Oe)?(ne="",L!=null&&(ne=L.replace(V,"$&/")+"/"),X(Oe,D,ne,"",function(de){return de})):Oe!=null&&(k(Oe)&&(Oe=G(Oe,ne+(!Oe.key||Be&&Be.key===Oe.key?"":(""+Oe.key).replace(V,"$&/")+"/")+L)),D.push(Oe)),1;if(Be=0,pe=pe===""?".":pe+":",z(L))for(var Fe=0;Fe<L.length;Fe++){Ne=L[Fe];var Re=pe+K(Ne,Fe);Be+=X(Ne,D,ne,Re,Oe)}else if(Re=x(L),typeof Re=="function")for(L=Re.call(L),Fe=0;!(Ne=L.next()).done;)Ne=Ne.value,Re=pe+K(Ne,Fe++),Be+=X(Ne,D,ne,Re,Oe);else if(Ne==="object")throw D=String(L),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Be}function we(L,D,ne){if(L==null)return L;var pe=[],Oe=0;return X(L,pe,"","",function(Ne){return D.call(ne,Ne,Oe++)}),pe}function fe(L){if(L._status===-1){var D=L._result;D=D(),D.then(function(ne){(L._status===0||L._status===-1)&&(L._status=1,L._result=ne)},function(ne){(L._status===0||L._status===-1)&&(L._status=2,L._result=ne)}),L._status===-1&&(L._status=0,L._result=D)}if(L._status===1)return L._result.default;throw L._result}var Se={current:null},ce={transition:null},Q={ReactCurrentDispatcher:Se,ReactCurrentBatchConfig:ce,ReactCurrentOwner:Z};function te(){throw Error("act(...) is not supported in production builds of React.")}return $e.Children={map:we,forEach:function(L,D,ne){we(L,function(){D.apply(this,arguments)},ne)},count:function(L){var D=0;return we(L,function(){D++}),D},toArray:function(L){return we(L,function(D){return D})||[]},only:function(L){if(!k(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},$e.Component=I,$e.Fragment=n,$e.Profiler=s,$e.PureComponent=O,$e.StrictMode=r,$e.Suspense=p,$e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,$e.act=te,$e.cloneElement=function(L,D,ne){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var pe=b({},L.props),Oe=L.key,Ne=L.ref,Be=L._owner;if(D!=null){if(D.ref!==void 0&&(Ne=D.ref,Be=Z.current),D.key!==void 0&&(Oe=""+D.key),L.type&&L.type.defaultProps)var Fe=L.type.defaultProps;for(Re in D)U.call(D,Re)&&!ee.hasOwnProperty(Re)&&(pe[Re]=D[Re]===void 0&&Fe!==void 0?Fe[Re]:D[Re])}var Re=arguments.length-2;if(Re===1)pe.children=ne;else if(1<Re){Fe=Array(Re);for(var de=0;de<Re;de++)Fe[de]=arguments[de+2];pe.children=Fe}return{$$typeof:e,type:L.type,key:Oe,ref:Ne,props:pe,_owner:Be}},$e.createContext=function(L){return L={$$typeof:u,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:l,_context:L},L.Consumer=L},$e.createElement=q,$e.createFactory=function(L){var D=q.bind(null,L);return D.type=L,D},$e.createRef=function(){return{current:null}},$e.forwardRef=function(L){return{$$typeof:d,render:L}},$e.isValidElement=k,$e.lazy=function(L){return{$$typeof:g,_payload:{_status:-1,_result:L},_init:fe}},$e.memo=function(L,D){return{$$typeof:m,type:L,compare:D===void 0?null:D}},$e.startTransition=function(L){var D=ce.transition;ce.transition={};try{L()}finally{ce.transition=D}},$e.unstable_act=te,$e.useCallback=function(L,D){return Se.current.useCallback(L,D)},$e.useContext=function(L){return Se.current.useContext(L)},$e.useDebugValue=function(){},$e.useDeferredValue=function(L){return Se.current.useDeferredValue(L)},$e.useEffect=function(L,D){return Se.current.useEffect(L,D)},$e.useId=function(){return Se.current.useId()},$e.useImperativeHandle=function(L,D,ne){return Se.current.useImperativeHandle(L,D,ne)},$e.useInsertionEffect=function(L,D){return Se.current.useInsertionEffect(L,D)},$e.useLayoutEffect=function(L,D){return Se.current.useLayoutEffect(L,D)},$e.useMemo=function(L,D){return Se.current.useMemo(L,D)},$e.useReducer=function(L,D,ne){return Se.current.useReducer(L,D,ne)},$e.useRef=function(L){return Se.current.useRef(L)},$e.useState=function(L){return Se.current.useState(L)},$e.useSyncExternalStore=function(L,D,ne){return Se.current.useSyncExternalStore(L,D,ne)},$e.useTransition=function(){return Se.current.useTransition()},$e.version="18.3.1",$e}var k5;function K0(){return k5||(k5=1,rd.exports=fE()),rd.exports}var S=K0();const hE=p1(S),pE=Sl({__proto__:null,default:hE},[S]),od=100;function S5(e,t){return typeof t=="string"?t:(e.get("locale")?.getLocale().active??"en").toLowerCase().startsWith("zh")&&t["zh-CN"]||t.en}function E5(e,t){if(!e||typeof e!="object"||typeof e.id!="string"||e.id.trim().length===0)throw new Error(`Web extension ${t} contribution requires a non-empty string id`);if(typeof e.render!="function")throw new Error(`Web extension ${t} contribution "${e.id}" requires a render function`);const n=e.title;if(!(typeof n=="string"||typeof n=="object"&&n!==null&&typeof n.en=="string"&&typeof n["zh-CN"]=="string"))throw new Error(`Web extension ${t} contribution "${e.id}" requires a valid title`)}function id(e,t,n){if(typeof n=="function")try{Promise.resolve(n()).catch(r=>{console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)})}catch(r){console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)}}function mE({size:e}){return S.createElement("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0},S.createElement("rect",{x:2.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:2.25,y:9.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:9.25,width:4.5,height:4.5,rx:1}))}function sd({extensionId:e,contributionId:t,kind:n,render:r,extensionSignal:s,activeControllers:l}){const u=n==="sidebar";return function(){const p=S.useRef(null);return S.useEffect(()=>{const m=p.current;if(m===null||s.aborted)return;const g=new AbortController;l.add(g);let w=!1,x;const y=()=>{if(w)return;w=!0,l.delete(g),s.removeEventListener("abort",b),g.signal.aborted||g.abort();const j=x;x=void 0,id(e,t,j),m.replaceChildren()},b=()=>{y()};s.addEventListener("abort",b,{once:!0}),m.replaceChildren();try{const j=r(m,g.signal);j!=null&&typeof j.then=="function"?Promise.resolve(j).then(I=>{if(w||g.signal.aborted||s.aborted){id(e,t,typeof I=="function"?I:void 0),m.replaceChildren();return}typeof I=="function"&&(x=I)},I=>{console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,I)}):typeof j=="function"&&(w||g.signal.aborted||s.aborted?(id(e,t,j),m.replaceChildren()):x=j)}catch(j){console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,j)}return y},[]),S.createElement("div",{ref:p,"data-cx-web-ext-contribution":`${e}:${t}`,"data-cx-web-ext-id":e,"data-cx-web-ext-kind":n,style:u?{display:"inline-flex",alignItems:"center",justifyContent:"center"}:{width:"100%",height:"100%"}})}}class gE{constructor(t,n,r){this.ctx=t,this.extensionId=n,this.extensionSignal=r}settingsPages=new Map;panels=new Map;activeControllers=new Set;disposed=!1;registerSettingsPage(t){this.guard(),E5(t,"settings page");const n=t.id.trim();this.settingsPages.get(n)?.dispose();const r=`cx-ext-settings:${this.extensionId}:${n}`,s=sd({extensionId:this.extensionId,contributionId:n,kind:"settings",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),l=this.ctx.get("slots");if(l===void 0)throw new Error("Slot registry is unavailable");const u=l.inject("settings.section",()=>l.register({name:"settings.section",id:r,order:od,label:()=>S5(this.ctx,t.title)},s));let d=!1;const p={dispose:()=>{if(!d){d=!0,this.settingsPages.get(n)===p&&this.settingsPages.delete(n);try{u()}catch(m){console.error(`[web-native-extensions] failed to unregister settings page (${this.extensionId}/${n})`,m)}}}};return this.settingsPages.set(n,p),p.dispose}registerPanel(t){if(this.guard(),E5(t,"panel"),t.placement!=="main"&&t.placement!=="sidebar")throw new Error(`Web extension panel "${t.id}" has unsupported placement "${String(t.placement)}"`);const n=t.id.trim(),r=`${t.placement}:${n}`;this.panels.get(r)?.dispose();const s=this.ctx.get("slots");if(s===void 0)throw new Error("Slot registry is unavailable");const l=`cx-ext-panel:${this.extensionId}:${t.placement}:${n}`,u=()=>S5(this.ctx,t.title),d=[];if(t.placement==="main"){const g=sd({extensionId:this.extensionId,contributionId:n,kind:"main",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers});d.push(s.inject("main",()=>s.register({name:"main",key:l},g))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:od,label:u},mE)))}else{const g=sd({extensionId:this.extensionId,contributionId:n,kind:"sidebar",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),w=()=>S.createElement("div",{"data-cx-web-ext-sidebar-fallback":`${this.extensionId}:${n}`,style:{width:"100%",height:"100%"}});d.push(s.inject("main",()=>s.register({name:"main",key:l},w))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:od,label:u},g)))}let p=!1;const m={dispose:()=>{if(!p){p=!0,this.panels.get(r)===m&&this.panels.delete(r);for(const g of d.splice(0).reverse())try{g()}catch(w){console.error(`[web-native-extensions] failed to unregister panel (${this.extensionId}/${n})`,w)}}}};return this.panels.set(r,m),m.dispose}abortAll(){for(const t of[...this.activeControllers])t.signal.aborted||t.abort();this.activeControllers.clear()}disposeAll(){this.disposed=!0,this.abortAll();for(const t of[...this.settingsPages.values()])t.dispose();this.settingsPages.clear();for(const t of[...this.panels.values()])t.dispose();this.panels.clear()}guard(){if(this.disposed)throw new Error("Web extension is unloading");this.extensionSignal.throwIfAborted()}}const Pa=new WeakMap,vE=new Set(Gk),wE=/^[a-z0-9][a-z0-9-]{0,63}$/u;function bo(e){try{return structuredClone(e)}catch{return JSON.parse(JSON.stringify(e))}}function dl(e,t){const n=gk(e),r=t?.baseURI;if(typeof r=="string"&&r.length>0)try{return new URL(n.replace(/^\/+/u,""),r).href}catch{}return n}function xE(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"append"in e&&"prepend"in e}function j5(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"setAttribute"in e&&"removeAttribute"in e}function yE(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function _E(e){const{ctx:t,document:n,entry:r,rpc:s,onSettingsRevisionObserved:l}=e,{id:u,activationId:d,digest:p}=r,m=!!r.manifest.backend,g=new AbortController,w=new gE(t,u,g.signal),x=new Set,y=new Map,b=new Set,j=new Set;let I=r.settingsRevision,P=!1;const O=()=>{if(P)throw new Error(`Web extension "${u}" is unloading`);g.signal.throwIfAborted()},B=k=>{if(typeof k!="string"||!wE.test(k))throw new Error(`Web extension "${u}" marker name must use lowercase letters, digits, or hyphens`);return`data-cx-ext-${u}-${k}`},z=(k,Y)=>{const V=y.get(k);if(!V?.has(Y))return;const K=V.get(Y)??null;K===null?k.removeAttribute(Y):k.setAttribute(Y,K),V.delete(Y),V.size===0&&y.delete(k);const X=Pa.get(k);X?.get(Y)===u&&(X.delete(Y),X.size===0&&Pa.delete(k))},U=k=>typeof k=="string"?vE.has(k)?n.querySelector(`[data-cx-region="${k}"]`)??void 0:void 0:xE(k)?k:void 0,Z=k=>{if(!(P||g.signal.aborted))for(const Y of[...b]){if(P||g.signal.aborted)break;try{Promise.resolve(Y(bo(k))).catch(V=>{console.error(`[web-native-extensions] storage.onChange failed (${u})`,V)})}catch(V){console.error(`[web-native-extensions] storage.onChange failed (${u})`,V)}}},ee=(k,Y)=>{try{Promise.resolve(k()).catch(V=>{console.error(`[web-native-extensions] ${Y} failed (${u})`,V)})}catch(V){console.error(`[web-native-extensions] ${Y} failed (${u})`,V)}},q={id:u,apiVersion:1,signal:g.signal,dom:{mount(k,Y="append"){O();const V=U(k);if(V===void 0)return;const K=n.createElement("div");K.setAttribute("data-cx-web-ext-mount",u),Y==="prepend"?V.prepend(K):V.append(K),x.add(K);let X=!1;return{container:K,dispose:()=>{X||(X=!0,x.delete(K),K.remove())}}},mark(k,Y){if(O(),!j5(k))throw new Error(`Web extension "${u}" dom.mark requires a DOM Element`);const V=B(Y),K=Pa.get(k)??new Map,X=K.get(V);if(X!==void 0&&X!==u)throw new Error(`Web extension marker "${V}" is already owned by "${X}"`);const we=y.get(k)??new Map;we.has(V)||we.set(V,k.getAttribute(V)),k.setAttribute(V,""),K.set(V,u),Pa.set(k,K),y.set(k,we)},unmark(k,Y){g.signal.throwIfAborted(),j5(k)&&z(k,B(Y))}},track(k){if(O(),typeof k!="function")throw new Error(`Web extension "${u}" track() requires a function`);j.add(k)},assets:{url(k){return O(),dl({id:u,activationId:d,digest:p,path:k},n)}},storage:{async get(){O();const k=await s.settingsGet(u,d,g.signal);return O(),I=k.settingsRevision,l(k.settingsRevision),bo(k.values)},async set(k){O();let Y;try{Y=await s.settingsSet(u,d,I,k,g.signal)}catch(V){if(!yE(V))throw V;O();const K=await s.settingsGet(u,d,g.signal);O(),I=K.settingsRevision,Y=await s.settingsSet(u,d,I,k,g.signal)}return O(),I=Y.settingsRevision,l(Y.settingsRevision),Z(Y.values),bo(Y.values)},onChange(k){if(O(),typeof k!="function")throw new Error(`Web extension "${u}" storage.onChange requires a function`);return b.add(k),()=>{b.delete(k)}}},backend:{async invoke(k,Y){if(O(),!m)throw new Error(`Extension "${u}" does not declare a backend`);const V=await s.backendInvoke(u,d,k,Y,g.signal);return O(),V}},settings:{registerPage(k){return O(),w.registerSettingsPage(k)}},panels:{register(k){return O(),w.registerPanel(k)}}},G=k=>{P=!0,g.signal.aborted||g.abort(),w.abortAll(),b.clear(),w.disposeAll(),typeof k=="function"&&ee(k,"activate disposer");const Y=[...j].reverse();j.clear();for(const V of Y)ee(V,"tracked disposer");for(const V of x)V.remove();x.clear();for(const[V,K]of[...y.entries()])for(const X of[...K.keys()])z(V,X);y.clear()};return{api:q,signal:g.signal,hasStorageListeners:()=>b.size>0,updateSettingsRevision(k){I=k},notifyStorageChange:Z,reclaim:G}}class ad extends Error{constructor(t,n,r){super(t),this.code=n,this.status=r,this.name="WebExtensionRpcError"}}async function za(e,t,n){const r=Tk[e],s=r.params.parse(t),l=await fetch("api/ch/v1/rpc",{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:JSON.stringify({method:e,params:s}),...n===void 0?{}:{signal:n}});let u;try{u=await l.json()}catch{throw l.ok?new Error(`Invalid RPC response for ${e}`):new ad(`HTTP ${String(l.status)}`,l.status,l.status)}if(u?.error)throw new ad(u.error.message??`HTTP ${String(l.status)}`,u.error.code??l.status,l.status);if(!l.ok)throw new ad(`HTTP ${String(l.status)}`,l.status,l.status);return r.result.parse(u?.result)}const L8={snapshot:e=>za(Ot.snapshot,{},e),settingsGet:(e,t,n)=>za(Ot.settingsGet,{id:e,activationId:t},n),settingsSet:(e,t,n,r,s)=>za(Ot.settingsSet,{id:e,activationId:t,expectedSettingsRevision:n,values:r},s),backendInvoke:async(e,t,n,r,s)=>(await za(Ot.backendInvoke,{id:e,activationId:t,method:n,...r===void 0?{}:{params:r}},s)).result};function bE(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function CE(e){return e.toLowerCase().startsWith("zh")?"zh-CN":"en"}function kE(e){return{locale:{get:()=>e.locale.getLocale().active,subscribe:t=>e.locale.subscribe(t)},colorScheme:{get:()=>e.theme.getTheme().active.colorScheme,subscribe:t=>e.on("theme/change",t)}}}function SE({container:e,identity:t,spec:n,kind:r,appearance:s,hasBackend:l,settingsRevision:u,rpc:d=L8,importModule:p=g=>import(g),noBackendMessage:m=()=>`Extension "${t.id}" does not declare a backend`}){const{id:g,activationId:w}=t,x=e.ownerDocument,y=new AbortController,{signal:b}=y,j=()=>b.throwIfAborted(),{locale:I,colorScheme:P}=s,O=Q=>dl({...t,path:Q},x),B=new Set,z=new Set,U=new Set;let Z=u??-1,ee=Z,q,G;const k=[],Y=(Q,te)=>console.error(`[host-extension-${r}] ${Q} failed (${g})`,te),V=(Q,te)=>{try{Promise.resolve(te()).catch(L=>Y(Q,L))}catch(L){Y(Q,L)}},K=(Q,te)=>(j(),Q.add(te),()=>{Q.delete(te)}),X=(Q,te,L)=>{for(const D of[...te]){if(b.aborted)break;V(Q,()=>D(L()))}},we=(Q,te,L,D)=>{let ne=Q.get();L(ne),k.push(Q.subscribe(()=>{if(b.aborted)return;const pe=Q.get();pe!==ne&&(ne=pe,L(pe),X(D,te,()=>pe))}))},fe=async()=>{j();const Q=await d.settingsGet(g,w,b);return j(),Z=Math.max(Z,Q.settingsRevision),Q},Se=(Q,te)=>{b.aborted||te<Z||te<=ee||(Z=ee=te,X("storage.onChange",U,()=>bo(Q)))},ce={id:g,apiVersion:Zd,hostTarget:"web",get locale(){return CE(I.get())},onLocaleChange:Q=>K(B,Q),get colorScheme(){return P.get()},onColorSchemeChange:Q=>K(z,Q),signal:b,assets:{async url(Q){return j(),O(Q)}},storage:{async get(){return bo((await fe()).values)},async set(Q){j();const te=bo(Q),L=()=>d.settingsSet(g,w,Z,te,b);Z<0&&await fe();let D;try{D=await L()}catch(ne){if(!bE(ne))throw ne;await fe(),D=await L()}return j(),Se(D.values,D.settingsRevision),bo(D.values)},onChange:Q=>K(U,Q)},backend:{async invoke(Q,te){if(j(),!l)throw new Error(m());const L=await d.backendInvoke(g,w,Q,te,b);return j(),L}}};return{async mount(){j();const Q=e.attachShadow({mode:"open"}),te=Q?x.createElement("div"):e;if(Q&&(te.className="cx-page-mount",Q.append(te)),n.style!==void 0){const ne=x.createElement("link");ne.rel="stylesheet",ne.href=O(n.style),Q||(ne.dataset.cxPageStyle=g),G=ne,(Q??x.head??x.documentElement).prepend(ne)}we({...I,get:()=>ce.locale},B,ne=>{e.lang=ne},"onLocaleChange"),we(P,z,ne=>{e.style.colorScheme=ne},"onColorSchemeChange");const L=await p(O(n.entry));if(j(),typeof L?.mount!="function")throw new Error(`Extension ${r} "${g}" must export a mount(root, api) function`);const D=await L.mount(te,ce);if(typeof D=="function")b.aborted?V("disposer",D):q=D;else if(D!==void 0)throw new Error(`Extension ${r} "${g}" mount() returned an invalid disposer`);j()},async refreshSettings(Q){if(!(b.aborted||Q!==void 0&&Q<=ee)&&(Q!==void 0&&(Z=Math.max(Z,Q)),U.size!==0))try{const te=await fe();Se(te.values,te.settingsRevision)}catch(te){b.aborted||Y("settings refresh",te)}},dispose(){if(!b.aborted){y.abort();for(const Q of k)Q();B.clear(),z.clear(),U.clear(),q&&V("disposer",q),q=void 0,G?.remove(),e.remove()}}}}const EE="_theme_7ehws_1",jE="_widget_7ehws_12",I5={theme:EE,widget:jE};function IE(e,t,n,r){const s=kE(e),l=new Map;return{reconcile(u){const d=new Map(u.filter(({manifest:p})=>p.widget).map(p=>[p.id,p]));for(const[p,{entry:m,surface:g}]of l){const w=d.get(p);w?.activationId===m.activationId&&w.digest===m.digest||(l.delete(p),g.dispose())}for(const[p,m]of d){const g=l.get(p);if(g){g.surface.refreshSettings(m.settingsRevision);continue}const w=m.manifest.widget;if(!w||!t.body)continue;const x=t.createElement("div");x.dataset.cxHostWidget=p,x.className=`${I5.theme} ${I5.widget}`;const{activationId:y,digest:b,settingsRevision:j}=m,I=SE({container:x,identity:{id:p,activationId:y,digest:b},spec:w,kind:"widget",appearance:s,hasBackend:m.manifest.backend!==void 0,settingsRevision:j,rpc:n,importModule:r});l.set(p,{entry:m,surface:I}),t.body.append(x),I.mount().catch(P=>{l.get(p)?.surface===I&&(console.error(`[host-extension-widget] mount failed (${p})`,P),I.dispose())})}},dispose(){for(const{surface:u}of l.values())u.dispose();l.clear()}}}const ME=3e4;function OE(e){return import(e)}function TE(e,t,n){const r=e.createElement("link");return r.rel="stylesheet",r.setAttribute("data-cx-web-ext",t),r.href=n,(e.head??e.documentElement).append(r),r}function LE(e){e.styleLink!==void 0&&(e.styleLink.remove(),e.styleLink=void 0)}function NE(e){const{ctx:t,document:n,rpc:r=L8,importModule:s=OE,pollIntervalMs:l=ME}=e,u=new Map,d=IE(t,n,r,s);let p,m=!1,g=!1,w=!1,x,y;const b=k=>{k.disposed=!0,k.settingsSyncToken+=1;const Y=k.activateDispose;if(k.activateDispose=void 0,k.resources!==void 0)k.resources.reclaim(Y);else if(typeof Y=="function")try{Promise.resolve(Y()).catch(V=>{console.error(`[web-native-extensions] activate disposer failed (${k.id})`,V)})}catch(V){console.error(`[web-native-extensions] activate disposer failed (${k.id})`,V)}LE(k)},j=(k,Y)=>{k.settingsRevision=Y;const V=k.resources;if(V?.updateSettingsRevision(Y),k.disposed||V===void 0||!V.hasStorageListeners())return;const K=++k.settingsSyncToken;r.settingsGet(k.id,k.activationId,V.signal).then(X=>{m||k.disposed||u.get(k.id)!==k||k.settingsSyncToken!==K||(k.settingsRevision=X.settingsRevision,V.updateSettingsRevision(X.settingsRevision),V.notifyStorageChange(X.values))}).catch(X=>{m||k.disposed||V.signal.aborted||console.error(`[web-native-extensions] failed to reload settings (${k.id})`,X)})},I=k=>{const Y=k.manifest.web;if(!Y)return;const V={id:k.id,activationId:k.activationId,digest:k.digest,settingsRevision:k.settingsRevision,disposed:!1,styleLink:void 0,resources:void 0,activateDispose:void 0,settingsSyncToken:0};u.set(k.id,V);const K=Y.style?dl({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.style},n):void 0;try{K!==void 0&&(V.styleLink=TE(n,k.id,K))}catch(fe){console.error(`[web-native-extensions] failed to mount style (${k.id})`,fe),b(V);return}if(Y.entry===void 0)return;const X=dl({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.entry},n),we=_E({ctx:t,document:n,entry:k,rpc:r,onSettingsRevisionObserved:fe=>{!V.disposed&&u.get(k.id)===V&&(V.settingsRevision=fe)}});V.resources=we,(async()=>{try{const fe=await s(X);if(m||V.disposed||u.get(k.id)!==V){b(V);return}if(fe==null||typeof fe.activate!="function")throw new Error(`Web extension "${k.id}" must export an activate(api) function`);const Se=await fe.activate(we.api);if(m||V.disposed||u.get(k.id)!==V){typeof Se=="function"&&(V.activateDispose=Se),b(V);return}if(typeof Se=="function")V.activateDispose=Se;else if(Se!==void 0)throw new Error(`Web extension "${k.id}" activate() returned an invalid disposer`)}catch(fe){console.error(`[web-native-extensions] activation failed (${k.id})`,fe),b(V)}})()},P=k=>{if(m||k.revision===p)return;p=k.revision,d.reconcile(k.extensions);const Y=k.extensions.filter(K=>K.manifest.web!==void 0),V=new Map(Y.map(K=>[K.id,K]));for(const[K,X]of[...u.entries()]){const we=V.get(K);(we===void 0||we.activationId!==X.activationId||we.digest!==X.digest)&&(u.delete(K),b(X))}for(const K of Y){const X=u.get(K.id);if(X!==void 0){X.settingsRevision!==K.settingsRevision&&j(X,K.settingsRevision);continue}I(K)}},O=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},B=()=>{O(),!(m||n.visibilityState==="hidden")&&(x=setTimeout(()=>{x=void 0,U()},l))},z=async()=>{if(!(m||g)){g=!0,O();try{do{w=!1;const k=new AbortController;y=k;try{const Y=await r.snapshot(k.signal);!m&&!k.signal.aborted&&P(Y)}catch(Y){!m&&!k.signal.aborted&&console.debug("[web-native-extensions] snapshot sync skipped",Y)}finally{y===k&&(y=void 0)}}while(!m&&w)}finally{g=!1,B()}}},U=()=>{if(!m){if(g){w=!0;return}z()}},Z=e.subscribeEvents?e.subscribeEvents(U):dE({document:n,onExtensionsChanged:k=>{k!==p&&U()},onReconnect:U}),ee=()=>{if(!m){if(n.visibilityState==="hidden"){O();return}U()}};n.addEventListener("visibilitychange",ee);const q=[],G=t.get("connection");if(G!==void 0){let k=G.state.getSnapshot();q.push(G.state.subscribe(()=>{const V=G.state.getSnapshot(),K=V==="connected"&&k!=="connected";k=V,K&&U()}));let Y=G.generation.getSnapshot()?.id;q.push(G.generation.subscribe(()=>{const V=G.generation.getSnapshot()?.id;V!==void 0&&V!==Y&&(Y=V,U())}))}return U(),{syncNow:U,dispose:()=>{if(!m){m=!0,w=!1,O(),y?.abort(),y=void 0,Z(),n.removeEventListener("visibilitychange",ee);for(const k of q.splice(0))k();for(const k of[...u.values()])b(k);u.clear(),d.dispose()}}}}const PE=()=>{throw new Error("node:module is not available in the browser")};var zE=[],qd;(e=>{let t;function n(s){const l=PE();if(zE.includes("--expose-internals"))try{return l(s)}catch{}try{return l("node-addon-require-builtin").requireBuiltin(s)}catch{}}function r(){if(t)return t;const[s]="0.0.0".split(".").map(Number);if(s<22)return;const l=n("internal/modules/esm/loader")?.getOrInitializeCascadedLoader();if(!l)return;const u=typeof l.getOrCreateModuleJob=="function"?"v2":typeof l.getModuleJobForImport=="function"?"v1":void 0;if(u)return t=Object.assign(l,{version:u})}e.fromInternal=r})(qd||(qd={}));class fl{constructor(t,n){this.ctx=t,this.tree=n;const r=t.fiber.entry;r&&(r.subgroup=this)}static key=Symbol.for("cordis.group");data=[];get context(){return this.ctx}async create(t){const n=this.tree.ensureId(t),r=this.tree.store[n]??=new n1(this.ctx.loader);return r.parent=this,await r.update(t,!0,!0),r.id}unlink(t){const n=this.data,r=n.indexOf(t);r>=0&&n.splice(r,1)}remove(t,n=!1){const r=this.tree.store[t];r&&(r.fiber?.dispose(),n||this.unlink(r.options),delete this.tree.store[t],this.context.emit("loader/partial-dispose",r,r.options,!1))}async update(t){const n=this.data;this.data=t;const r=Object.fromEntries(n.map(u=>[u.id,u])),s=Object.fromEntries(t.map(u=>[u.id??Symbol("anonymous"),u])),l=Reflect.ownKeys({...r,...s});await Promise.all(l.map(async u=>{s[u]?await this.create(s[u]).catch(d=>{this.ctx.logger.error(d)}):this.remove(u)}))}stop(){for(const t of this.data)this.remove(t.id,!0)}}class JB extends fl{constructor(t,n){super(t,t.fiber.entry.parent.tree),this.ctx=t,this.config=n,t.on("internal/update",r=>{this.update(r)})}static initial=[];static[fl.key]=!0;async*[gr.init](){yield()=>this.stop(),await this.update(this.config)}}class Hl{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new fl(this.ctx,this);const n=this.ctx.fiber.entry;n&&(n.subtree=this)}get context(){return this.ctx}*entries(){for(const t of Object.values(this.store))yield t,t.subtree&&(yield*t.subtree.entries())}getTasks(){return[...this.entries()].map(t=>t._initTask||t.fiber?.inertia).filter(cw)}async await(){for(;;){const t=this.getTasks();if(!t.length)return;await Promise.allSettled(t)}}ensureId(t){if(!t.id)do t.id=Math.random().toString(16).slice(2,10);while(this.store[t.id]);return t.id}resolve(t){const n=t.split(Hl.sep);let r=this;const s=n.pop();for(const u of n)if(r=r.store[u]?.subtree,!r)throw new Error(`cannot resolve entry ${t}`);const l=r.store[s];if(!l)throw new Error(`cannot resolve entry ${t}`);return l}resolveGroup(t){if(!t)return this.root;const n=this.resolve(t);if(!n.subgroup)throw new Error(`entry ${t} is not a group`);return n.subgroup}async create(t,n=null,r=1/0){const s=this.resolveGroup(n);return s.data.splice(r,0,t),s.tree.write(),s.create(t)}remove(t){const n=this.resolve(t);n.parent.remove(t),n.parent.tree.write()}async update(t,n,r,s){const l=this.resolve(t),u=l.parent;if(r!==void 0){const d=this.resolveGroup(r);u.unlink(l.options),d.data.splice(s??1/0,0,l.options),d.tree.write(),l.parent=d}return u.tree.write(),l.update(n,!1,!0)}import(t,n){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:nl(async r=>(r.offset+=3,this.ctx.loader.internal?await this.ctx.loader.internal.import(t,this.ctx.baseUrl,{}):t.startsWith(".")?await import(new URL(t,this.ctx.baseUrl).href):await import(t)),n)}}const N8=new Function("ctx","expr",`
|
|
86
|
+
*/var k5;function _E(){if(k5)return $e;k5=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.iterator;function x(L){return L===null||typeof L!="object"?null:(L=w&&L[w]||L["@@iterator"],typeof L=="function"?L:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,I={};function M(L,D,re){this.props=L,this.context=D,this.refs=I,this.updater=re||_}M.prototype.isReactComponent={},M.prototype.setState=function(L,D){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,D,"setState")},M.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function N(){}N.prototype=M.prototype;function O(L,D,re){this.props=L,this.context=D,this.refs=I,this.updater=re||_}var B=O.prototype=new N;B.constructor=O,C(B,M.prototype),B.isPureReactComponent=!0;var z=Array.isArray,U=Object.prototype.hasOwnProperty,Z={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function q(L,D,re){var pe,Oe={},Pe=null,Be=null;if(D!=null)for(pe in D.ref!==void 0&&(Be=D.ref),D.key!==void 0&&(Pe=""+D.key),D)U.call(D,pe)&&!ee.hasOwnProperty(pe)&&(Oe[pe]=D[pe]);var Fe=arguments.length-2;if(Fe===1)Oe.children=re;else if(1<Fe){for(var Re=Array(Fe),fe=0;fe<Fe;fe++)Re[fe]=arguments[fe+2];Oe.children=Re}if(L&&L.defaultProps)for(pe in Fe=L.defaultProps,Fe)Oe[pe]===void 0&&(Oe[pe]=Fe[pe]);return{$$typeof:e,type:L,key:Pe,ref:Be,props:Oe,_owner:Z.current}}function G(L,D){return{$$typeof:e,type:L.type,key:D,ref:L.ref,props:L.props,_owner:L._owner}}function k(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function Y(L){var D={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(re){return D[re]})}var V=/\/+/g;function K(L,D){return typeof L=="object"&&L!==null&&L.key!=null?Y(""+L.key):D.toString(36)}function X(L,D,re,pe,Oe){var Pe=typeof L;(Pe==="undefined"||Pe==="boolean")&&(L=null);var Be=!1;if(L===null)Be=!0;else switch(Pe){case"string":case"number":Be=!0;break;case"object":switch(L.$$typeof){case e:case t:Be=!0}}if(Be)return Be=L,Oe=Oe(Be),L=pe===""?"."+K(Be,0):pe,z(Oe)?(re="",L!=null&&(re=L.replace(V,"$&/")+"/"),X(Oe,D,re,"",function(fe){return fe})):Oe!=null&&(k(Oe)&&(Oe=G(Oe,re+(!Oe.key||Be&&Be.key===Oe.key?"":(""+Oe.key).replace(V,"$&/")+"/")+L)),D.push(Oe)),1;if(Be=0,pe=pe===""?".":pe+":",z(L))for(var Fe=0;Fe<L.length;Fe++){Pe=L[Fe];var Re=pe+K(Pe,Fe);Be+=X(Pe,D,re,Re,Oe)}else if(Re=x(L),typeof Re=="function")for(L=Re.call(L),Fe=0;!(Pe=L.next()).done;)Pe=Pe.value,Re=pe+K(Pe,Fe++),Be+=X(Pe,D,re,Re,Oe);else if(Pe==="object")throw D=String(L),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return Be}function we(L,D,re){if(L==null)return L;var pe=[],Oe=0;return X(L,pe,"","",function(Pe){return D.call(re,Pe,Oe++)}),pe}function he(L){if(L._status===-1){var D=L._result;D=D(),D.then(function(re){(L._status===0||L._status===-1)&&(L._status=1,L._result=re)},function(re){(L._status===0||L._status===-1)&&(L._status=2,L._result=re)}),L._status===-1&&(L._status=0,L._result=D)}if(L._status===1)return L._result.default;throw L._result}var Se={current:null},ce={transition:null},Q={ReactCurrentDispatcher:Se,ReactCurrentBatchConfig:ce,ReactCurrentOwner:Z};function te(){throw Error("act(...) is not supported in production builds of React.")}return $e.Children={map:we,forEach:function(L,D,re){we(L,function(){D.apply(this,arguments)},re)},count:function(L){var D=0;return we(L,function(){D++}),D},toArray:function(L){return we(L,function(D){return D})||[]},only:function(L){if(!k(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},$e.Component=M,$e.Fragment=n,$e.Profiler=s,$e.PureComponent=O,$e.StrictMode=r,$e.Suspense=p,$e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Q,$e.act=te,$e.cloneElement=function(L,D,re){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var pe=C({},L.props),Oe=L.key,Pe=L.ref,Be=L._owner;if(D!=null){if(D.ref!==void 0&&(Pe=D.ref,Be=Z.current),D.key!==void 0&&(Oe=""+D.key),L.type&&L.type.defaultProps)var Fe=L.type.defaultProps;for(Re in D)U.call(D,Re)&&!ee.hasOwnProperty(Re)&&(pe[Re]=D[Re]===void 0&&Fe!==void 0?Fe[Re]:D[Re])}var Re=arguments.length-2;if(Re===1)pe.children=re;else if(1<Re){Fe=Array(Re);for(var fe=0;fe<Re;fe++)Fe[fe]=arguments[fe+2];pe.children=Fe}return{$$typeof:e,type:L.type,key:Oe,ref:Pe,props:pe,_owner:Be}},$e.createContext=function(L){return L={$$typeof:u,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:l,_context:L},L.Consumer=L},$e.createElement=q,$e.createFactory=function(L){var D=q.bind(null,L);return D.type=L,D},$e.createRef=function(){return{current:null}},$e.forwardRef=function(L){return{$$typeof:d,render:L}},$e.isValidElement=k,$e.lazy=function(L){return{$$typeof:g,_payload:{_status:-1,_result:L},_init:he}},$e.memo=function(L,D){return{$$typeof:m,type:L,compare:D===void 0?null:D}},$e.startTransition=function(L){var D=ce.transition;ce.transition={};try{L()}finally{ce.transition=D}},$e.unstable_act=te,$e.useCallback=function(L,D){return Se.current.useCallback(L,D)},$e.useContext=function(L){return Se.current.useContext(L)},$e.useDebugValue=function(){},$e.useDeferredValue=function(L){return Se.current.useDeferredValue(L)},$e.useEffect=function(L,D){return Se.current.useEffect(L,D)},$e.useId=function(){return Se.current.useId()},$e.useImperativeHandle=function(L,D,re){return Se.current.useImperativeHandle(L,D,re)},$e.useInsertionEffect=function(L,D){return Se.current.useInsertionEffect(L,D)},$e.useLayoutEffect=function(L,D){return Se.current.useLayoutEffect(L,D)},$e.useMemo=function(L,D){return Se.current.useMemo(L,D)},$e.useReducer=function(L,D,re){return Se.current.useReducer(L,D,re)},$e.useRef=function(L){return Se.current.useRef(L)},$e.useState=function(L){return Se.current.useState(L)},$e.useSyncExternalStore=function(L,D,re){return Se.current.useSyncExternalStore(L,D,re)},$e.useTransition=function(){return Se.current.useTransition()},$e.version="18.3.1",$e}var S5;function Y0(){return S5||(S5=1,od.exports=_E()),od.exports}var S=Y0();const bE=m1(S),CE=El({__proto__:null,default:bE},[S]),id=100;function E5(e,t){return typeof t=="string"?t:(e.get("locale")?.getLocale().active??"en").toLowerCase().startsWith("zh")&&t["zh-CN"]||t.en}function j5(e,t){if(!e||typeof e!="object"||typeof e.id!="string"||e.id.trim().length===0)throw new Error(`Web extension ${t} contribution requires a non-empty string id`);if(typeof e.render!="function")throw new Error(`Web extension ${t} contribution "${e.id}" requires a render function`);const n=e.title;if(!(typeof n=="string"||typeof n=="object"&&n!==null&&typeof n.en=="string"&&typeof n["zh-CN"]=="string"))throw new Error(`Web extension ${t} contribution "${e.id}" requires a valid title`)}function sd(e,t,n){if(typeof n=="function")try{Promise.resolve(n()).catch(r=>{console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)})}catch(r){console.error(`[web-native-extensions] contribution cleanup failed (${e}/${t})`,r)}}function kE({size:e}){return S.createElement("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0},S.createElement("rect",{x:2.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:2.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:2.25,y:9.25,width:4.5,height:4.5,rx:1}),S.createElement("rect",{x:9.25,y:9.25,width:4.5,height:4.5,rx:1}))}function ad({extensionId:e,contributionId:t,kind:n,render:r,extensionSignal:s,activeControllers:l}){const u=n==="sidebar";return function(){const p=S.useRef(null);return S.useEffect(()=>{const m=p.current;if(m===null||s.aborted)return;const g=new AbortController;l.add(g);let w=!1,x;const _=()=>{if(w)return;w=!0,l.delete(g),s.removeEventListener("abort",C),g.signal.aborted||g.abort();const I=x;x=void 0,sd(e,t,I),m.replaceChildren()},C=()=>{_()};s.addEventListener("abort",C,{once:!0}),m.replaceChildren();try{const I=r(m,g.signal);I!=null&&typeof I.then=="function"?Promise.resolve(I).then(M=>{if(w||g.signal.aborted||s.aborted){sd(e,t,typeof M=="function"?M:void 0),m.replaceChildren();return}typeof M=="function"&&(x=M)},M=>{console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,M)}):typeof I=="function"&&(w||g.signal.aborted||s.aborted?(sd(e,t,I),m.replaceChildren()):x=I)}catch(I){console.error(`[web-native-extensions] contribution render failed (${e}/${t})`,I)}return _},[]),S.createElement("div",{ref:p,"data-cx-web-ext-contribution":`${e}:${t}`,"data-cx-web-ext-id":e,"data-cx-web-ext-kind":n,style:u?{display:"inline-flex",alignItems:"center",justifyContent:"center"}:{width:"100%",height:"100%"}})}}class SE{constructor(t,n,r){this.ctx=t,this.extensionId=n,this.extensionSignal=r}settingsPages=new Map;panels=new Map;activeControllers=new Set;disposed=!1;registerSettingsPage(t){this.guard(),j5(t,"settings page");const n=t.id.trim();this.settingsPages.get(n)?.dispose();const r=`cx-ext-settings:${this.extensionId}:${n}`,s=ad({extensionId:this.extensionId,contributionId:n,kind:"settings",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),l=this.ctx.get("slots");if(l===void 0)throw new Error("Slot registry is unavailable");const u=l.inject("settings.section",()=>l.register({name:"settings.section",id:r,order:id,label:()=>E5(this.ctx,t.title)},s));let d=!1;const p={dispose:()=>{if(!d){d=!0,this.settingsPages.get(n)===p&&this.settingsPages.delete(n);try{u()}catch(m){console.error(`[web-native-extensions] failed to unregister settings page (${this.extensionId}/${n})`,m)}}}};return this.settingsPages.set(n,p),p.dispose}registerPanel(t){if(this.guard(),j5(t,"panel"),t.placement!=="main"&&t.placement!=="sidebar")throw new Error(`Web extension panel "${t.id}" has unsupported placement "${String(t.placement)}"`);const n=t.id.trim(),r=`${t.placement}:${n}`;this.panels.get(r)?.dispose();const s=this.ctx.get("slots");if(s===void 0)throw new Error("Slot registry is unavailable");const l=`cx-ext-panel:${this.extensionId}:${t.placement}:${n}`,u=()=>E5(this.ctx,t.title),d=[];if(t.placement==="main"){const g=ad({extensionId:this.extensionId,contributionId:n,kind:"main",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers});d.push(s.inject("main",()=>s.register({name:"main",key:l},g))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:id,label:u},kE)))}else{const g=ad({extensionId:this.extensionId,contributionId:n,kind:"sidebar",render:t.render,extensionSignal:this.extensionSignal,activeControllers:this.activeControllers}),w=()=>S.createElement("div",{"data-cx-web-ext-sidebar-fallback":`${this.extensionId}:${n}`,style:{width:"100%",height:"100%"}});d.push(s.inject("main",()=>s.register({name:"main",key:l},w))),d.push(s.inject("sidebar.panellist",()=>s.register({name:"sidebar.panellist",id:l,order:id,label:u},g)))}let p=!1;const m={dispose:()=>{if(!p){p=!0,this.panels.get(r)===m&&this.panels.delete(r);for(const g of d.splice(0).reverse())try{g()}catch(w){console.error(`[web-native-extensions] failed to unregister panel (${this.extensionId}/${n})`,w)}}}};return this.panels.set(r,m),m.dispose}abortAll(){for(const t of[...this.activeControllers])t.signal.aborted||t.abort();this.activeControllers.clear()}disposeAll(){this.disposed=!0,this.abortAll();for(const t of[...this.settingsPages.values()])t.dispose();this.settingsPages.clear();for(const t of[...this.panels.values()])t.dispose();this.panels.clear()}guard(){if(this.disposed)throw new Error("Web extension is unloading");this.extensionSignal.throwIfAborted()}}const za=new WeakMap,EE=new Set(Yk),jE=/^[a-z0-9][a-z0-9-]{0,63}$/u;function Co(e){try{return structuredClone(e)}catch{return JSON.parse(JSON.stringify(e))}}function fl(e,t){const n=wk(e),r=t?.baseURI;if(typeof r=="string"&&r.length>0)try{return new URL(n.replace(/^\/+/u,""),r).href}catch{}return n}function IE(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"append"in e&&"prepend"in e}function I5(e){return typeof e=="object"&&e!==null&&"nodeType"in e&&e.nodeType===1&&"setAttribute"in e&&"removeAttribute"in e}function ME(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function OE(e){const{ctx:t,document:n,entry:r,rpc:s,onSettingsRevisionObserved:l}=e,{id:u,activationId:d,digest:p}=r,m=!!r.manifest.backend,g=new AbortController,w=new SE(t,u,g.signal),x=new Set,_=new Map,C=new Set,I=new Set;let M=r.settingsRevision,N=!1;const O=()=>{if(N)throw new Error(`Web extension "${u}" is unloading`);g.signal.throwIfAborted()},B=k=>{if(typeof k!="string"||!jE.test(k))throw new Error(`Web extension "${u}" marker name must use lowercase letters, digits, or hyphens`);return`data-cx-ext-${u}-${k}`},z=(k,Y)=>{const V=_.get(k);if(!V?.has(Y))return;const K=V.get(Y)??null;K===null?k.removeAttribute(Y):k.setAttribute(Y,K),V.delete(Y),V.size===0&&_.delete(k);const X=za.get(k);X?.get(Y)===u&&(X.delete(Y),X.size===0&&za.delete(k))},U=k=>typeof k=="string"?EE.has(k)?n.querySelector(`[data-cx-region="${k}"]`)??void 0:void 0:IE(k)?k:void 0,Z=k=>{if(!(N||g.signal.aborted))for(const Y of[...C]){if(N||g.signal.aborted)break;try{Promise.resolve(Y(Co(k))).catch(V=>{console.error(`[web-native-extensions] storage.onChange failed (${u})`,V)})}catch(V){console.error(`[web-native-extensions] storage.onChange failed (${u})`,V)}}},ee=(k,Y)=>{try{Promise.resolve(k()).catch(V=>{console.error(`[web-native-extensions] ${Y} failed (${u})`,V)})}catch(V){console.error(`[web-native-extensions] ${Y} failed (${u})`,V)}},q={id:u,apiVersion:1,signal:g.signal,dom:{mount(k,Y="append"){O();const V=U(k);if(V===void 0)return;const K=n.createElement("div");K.setAttribute("data-cx-web-ext-mount",u),Y==="prepend"?V.prepend(K):V.append(K),x.add(K);let X=!1;return{container:K,dispose:()=>{X||(X=!0,x.delete(K),K.remove())}}},mark(k,Y){if(O(),!I5(k))throw new Error(`Web extension "${u}" dom.mark requires a DOM Element`);const V=B(Y),K=za.get(k)??new Map,X=K.get(V);if(X!==void 0&&X!==u)throw new Error(`Web extension marker "${V}" is already owned by "${X}"`);const we=_.get(k)??new Map;we.has(V)||we.set(V,k.getAttribute(V)),k.setAttribute(V,""),K.set(V,u),za.set(k,K),_.set(k,we)},unmark(k,Y){g.signal.throwIfAborted(),I5(k)&&z(k,B(Y))}},track(k){if(O(),typeof k!="function")throw new Error(`Web extension "${u}" track() requires a function`);I.add(k)},assets:{url(k){return O(),fl({id:u,activationId:d,digest:p,path:k},n)}},storage:{async get(){O();const k=await s.settingsGet(u,d,g.signal);return O(),M=k.settingsRevision,l(k.settingsRevision),Co(k.values)},async set(k){O();let Y;try{Y=await s.settingsSet(u,d,M,k,g.signal)}catch(V){if(!ME(V))throw V;O();const K=await s.settingsGet(u,d,g.signal);O(),M=K.settingsRevision,Y=await s.settingsSet(u,d,M,k,g.signal)}return O(),M=Y.settingsRevision,l(Y.settingsRevision),Z(Y.values),Co(Y.values)},onChange(k){if(O(),typeof k!="function")throw new Error(`Web extension "${u}" storage.onChange requires a function`);return C.add(k),()=>{C.delete(k)}}},backend:{async invoke(k,Y){if(O(),!m)throw new Error(`Extension "${u}" does not declare a backend`);const V=await s.backendInvoke(u,d,k,Y,g.signal);return O(),V}},settings:{registerPage(k){return O(),w.registerSettingsPage(k)}},panels:{register(k){return O(),w.registerPanel(k)}}},G=k=>{N=!0,g.signal.aborted||g.abort(),w.abortAll(),C.clear(),w.disposeAll(),typeof k=="function"&&ee(k,"activate disposer");const Y=[...I].reverse();I.clear();for(const V of Y)ee(V,"tracked disposer");for(const V of x)V.remove();x.clear();for(const[V,K]of[..._.entries()])for(const X of[...K.keys()])z(V,X);_.clear()};return{api:q,signal:g.signal,hasStorageListeners:()=>C.size>0,updateSettingsRevision(k){M=k},notifyStorageChange:Z,reclaim:G}}class ld extends Error{constructor(t,n,r){super(t),this.code=n,this.status=r,this.name="WebExtensionRpcError"}}async function Aa(e,t,n){const r=Pk[e],s=r.params.parse(t),l=await fetch("api/ch/v1/rpc",{method:"POST",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:JSON.stringify({method:e,params:s}),...n===void 0?{}:{signal:n}});let u;try{u=await l.json()}catch{throw l.ok?new Error(`Invalid RPC response for ${e}`):new ld(`HTTP ${String(l.status)}`,l.status,l.status)}if(u?.error)throw new ld(u.error.message??`HTTP ${String(l.status)}`,u.error.code??l.status,l.status);if(!l.ok)throw new ld(`HTTP ${String(l.status)}`,l.status,l.status);return r.result.parse(u?.result)}const N8={snapshot:e=>Aa(Ot.snapshot,{},e),settingsGet:(e,t,n)=>Aa(Ot.settingsGet,{id:e,activationId:t},n),settingsSet:(e,t,n,r,s)=>Aa(Ot.settingsSet,{id:e,activationId:t,expectedSettingsRevision:n,values:r},s),backendInvoke:async(e,t,n,r,s)=>(await Aa(Ot.backendInvoke,{id:e,activationId:t,method:n,...r===void 0?{}:{params:r}},s)).result};function TE(e){const t=e instanceof Error?e.message:String(e);return/revision|conflict|stale/iu.test(t)}function LE(e){return e.toLowerCase().startsWith("zh")?"zh-CN":"en"}function PE(e){return{locale:{get:()=>e.locale.getLocale().active,subscribe:t=>e.locale.subscribe(t)},colorScheme:{get:()=>e.theme.getTheme().active.colorScheme,subscribe:t=>e.on("theme/change",t)}}}function NE({container:e,identity:t,spec:n,kind:r,appearance:s,hasBackend:l,settingsRevision:u,rpc:d=N8,importModule:p=g=>import(g),noBackendMessage:m=()=>`Extension "${t.id}" does not declare a backend`}){const{id:g,activationId:w}=t,x=e.ownerDocument,_=new AbortController,{signal:C}=_,I=()=>C.throwIfAborted(),{locale:M,colorScheme:N}=s,O=Q=>fl({...t,path:Q},x),B=new Set,z=new Set,U=new Set;let Z=u??-1,ee=Z,q,G;const k=[],Y=(Q,te)=>console.error(`[host-extension-${r}] ${Q} failed (${g})`,te),V=(Q,te)=>{try{Promise.resolve(te()).catch(L=>Y(Q,L))}catch(L){Y(Q,L)}},K=(Q,te)=>(I(),Q.add(te),()=>{Q.delete(te)}),X=(Q,te,L)=>{for(const D of[...te]){if(C.aborted)break;V(Q,()=>D(L()))}},we=(Q,te,L,D)=>{let re=Q.get();L(re),k.push(Q.subscribe(()=>{if(C.aborted)return;const pe=Q.get();pe!==re&&(re=pe,L(pe),X(D,te,()=>pe))}))},he=async()=>{I();const Q=await d.settingsGet(g,w,C);return I(),Z=Math.max(Z,Q.settingsRevision),Q},Se=(Q,te)=>{C.aborted||te<Z||te<=ee||(Z=ee=te,X("storage.onChange",U,()=>Co(Q)))},ce={id:g,apiVersion:Wd,hostTarget:"web",get locale(){return LE(M.get())},onLocaleChange:Q=>K(B,Q),get colorScheme(){return N.get()},onColorSchemeChange:Q=>K(z,Q),signal:C,assets:{async url(Q){return I(),O(Q)}},storage:{async get(){return Co((await he()).values)},async set(Q){I();const te=Co(Q),L=()=>d.settingsSet(g,w,Z,te,C);Z<0&&await he();let D;try{D=await L()}catch(re){if(!TE(re))throw re;await he(),D=await L()}return I(),Se(D.values,D.settingsRevision),Co(D.values)},onChange:Q=>K(U,Q)},backend:{async invoke(Q,te){if(I(),!l)throw new Error(m());const L=await d.backendInvoke(g,w,Q,te,C);return I(),L}}};return{async mount(){I();const Q=e.attachShadow({mode:"open"}),te=Q?x.createElement("div"):e;if(Q&&(te.className="cx-page-mount",Q.append(te)),n.style!==void 0){const re=x.createElement("link");re.rel="stylesheet",re.href=O(n.style),Q||(re.dataset.cxPageStyle=g),G=re,(Q??x.head??x.documentElement).prepend(re)}we({...M,get:()=>ce.locale},B,re=>{e.lang=re},"onLocaleChange"),we(N,z,re=>{e.style.colorScheme=re},"onColorSchemeChange");const L=await p(O(n.entry));if(I(),typeof L?.mount!="function")throw new Error(`Extension ${r} "${g}" must export a mount(root, api) function`);const D=await L.mount(te,ce);if(typeof D=="function")C.aborted?V("disposer",D):q=D;else if(D!==void 0)throw new Error(`Extension ${r} "${g}" mount() returned an invalid disposer`);I()},async refreshSettings(Q){if(!(C.aborted||Q!==void 0&&Q<=ee)&&(Q!==void 0&&(Z=Math.max(Z,Q)),U.size!==0))try{const te=await he();Se(te.values,te.settingsRevision)}catch(te){C.aborted||Y("settings refresh",te)}},dispose(){if(!C.aborted){_.abort();for(const Q of k)Q();B.clear(),z.clear(),U.clear(),q&&V("disposer",q),q=void 0,G?.remove(),e.remove()}}}}const zE="_theme_7ehws_1",AE="_widget_7ehws_12",M5={theme:zE,widget:AE};function RE(e,t,n,r){const s=PE(e),l=new Map;return{reconcile(u){const d=new Map(u.filter(({manifest:p})=>p.widget).map(p=>[p.id,p]));for(const[p,{entry:m,surface:g}]of l){const w=d.get(p);w?.activationId===m.activationId&&w.digest===m.digest||(l.delete(p),g.dispose())}for(const[p,m]of d){const g=l.get(p);if(g){g.surface.refreshSettings(m.settingsRevision);continue}const w=m.manifest.widget;if(!w||!t.body)continue;const x=t.createElement("div");x.dataset.cxHostWidget=p,x.className=`${M5.theme} ${M5.widget}`;const{activationId:_,digest:C,settingsRevision:I}=m,M=NE({container:x,identity:{id:p,activationId:_,digest:C},spec:w,kind:"widget",appearance:s,hasBackend:m.manifest.backend!==void 0,settingsRevision:I,rpc:n,importModule:r});l.set(p,{entry:m,surface:M}),t.body.append(x),M.mount().catch(N=>{l.get(p)?.surface===M&&(console.error(`[host-extension-widget] mount failed (${p})`,N),M.dispose())})}},dispose(){for(const{surface:u}of l.values())u.dispose();l.clear()}}}const DE=3e4;function FE(e){return import(e)}function $E(e,t,n){const r=e.createElement("link");return r.rel="stylesheet",r.setAttribute("data-cx-web-ext",t),r.href=n,(e.head??e.documentElement).append(r),r}function HE(e){e.styleLink!==void 0&&(e.styleLink.remove(),e.styleLink=void 0)}function VE(e){const{ctx:t,document:n,rpc:r=N8,importModule:s=FE,pollIntervalMs:l=DE}=e,u=new Map,d=RE(t,n,r,s);let p,m=!1,g=!1,w=!1,x,_;const C=k=>{k.disposed=!0,k.settingsSyncToken+=1;const Y=k.activateDispose;if(k.activateDispose=void 0,k.resources!==void 0)k.resources.reclaim(Y);else if(typeof Y=="function")try{Promise.resolve(Y()).catch(V=>{console.error(`[web-native-extensions] activate disposer failed (${k.id})`,V)})}catch(V){console.error(`[web-native-extensions] activate disposer failed (${k.id})`,V)}HE(k)},I=(k,Y)=>{k.settingsRevision=Y;const V=k.resources;if(V?.updateSettingsRevision(Y),k.disposed||V===void 0||!V.hasStorageListeners())return;const K=++k.settingsSyncToken;r.settingsGet(k.id,k.activationId,V.signal).then(X=>{m||k.disposed||u.get(k.id)!==k||k.settingsSyncToken!==K||(k.settingsRevision=X.settingsRevision,V.updateSettingsRevision(X.settingsRevision),V.notifyStorageChange(X.values))}).catch(X=>{m||k.disposed||V.signal.aborted||console.error(`[web-native-extensions] failed to reload settings (${k.id})`,X)})},M=k=>{const Y=k.manifest.web;if(!Y)return;const V={id:k.id,activationId:k.activationId,digest:k.digest,settingsRevision:k.settingsRevision,disposed:!1,styleLink:void 0,resources:void 0,activateDispose:void 0,settingsSyncToken:0};u.set(k.id,V);const K=Y.style?fl({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.style},n):void 0;try{K!==void 0&&(V.styleLink=$E(n,k.id,K))}catch(he){console.error(`[web-native-extensions] failed to mount style (${k.id})`,he),C(V);return}if(Y.entry===void 0)return;const X=fl({id:k.id,activationId:k.activationId,digest:k.digest,path:Y.entry},n),we=OE({ctx:t,document:n,entry:k,rpc:r,onSettingsRevisionObserved:he=>{!V.disposed&&u.get(k.id)===V&&(V.settingsRevision=he)}});V.resources=we,(async()=>{try{const he=await s(X);if(m||V.disposed||u.get(k.id)!==V){C(V);return}if(he==null||typeof he.activate!="function")throw new Error(`Web extension "${k.id}" must export an activate(api) function`);const Se=await he.activate(we.api);if(m||V.disposed||u.get(k.id)!==V){typeof Se=="function"&&(V.activateDispose=Se),C(V);return}if(typeof Se=="function")V.activateDispose=Se;else if(Se!==void 0)throw new Error(`Web extension "${k.id}" activate() returned an invalid disposer`)}catch(he){console.error(`[web-native-extensions] activation failed (${k.id})`,he),C(V)}})()},N=k=>{if(m||k.revision===p)return;p=k.revision,d.reconcile(k.extensions);const Y=k.extensions.filter(K=>K.manifest.web!==void 0),V=new Map(Y.map(K=>[K.id,K]));for(const[K,X]of[...u.entries()]){const we=V.get(K);(we===void 0||we.activationId!==X.activationId||we.digest!==X.digest)&&(u.delete(K),C(X))}for(const K of Y){const X=u.get(K.id);if(X!==void 0){X.settingsRevision!==K.settingsRevision&&I(X,K.settingsRevision);continue}M(K)}},O=()=>{x!==void 0&&(clearTimeout(x),x=void 0)},B=()=>{O(),!(m||n.visibilityState==="hidden")&&(x=setTimeout(()=>{x=void 0,U()},l))},z=async()=>{if(!(m||g)){g=!0,O();try{do{w=!1;const k=new AbortController;_=k;try{const Y=await r.snapshot(k.signal);!m&&!k.signal.aborted&&N(Y)}catch(Y){!m&&!k.signal.aborted&&console.debug("[web-native-extensions] snapshot sync skipped",Y)}finally{_===k&&(_=void 0)}}while(!m&&w)}finally{g=!1,B()}}},U=()=>{if(!m){if(g){w=!0;return}z()}},Z=e.subscribeEvents?e.subscribeEvents(U):yE({document:n,onExtensionsChanged:k=>{k!==p&&U()},onReconnect:U}),ee=()=>{if(!m){if(n.visibilityState==="hidden"){O();return}U()}};n.addEventListener("visibilitychange",ee);const q=[],G=t.get("connection");if(G!==void 0){let k=G.state.getSnapshot();q.push(G.state.subscribe(()=>{const V=G.state.getSnapshot(),K=V==="connected"&&k!=="connected";k=V,K&&U()}));let Y=G.generation.getSnapshot()?.id;q.push(G.generation.subscribe(()=>{const V=G.generation.getSnapshot()?.id;V!==void 0&&V!==Y&&(Y=V,U())}))}return U(),{syncNow:U,dispose:()=>{if(!m){m=!0,w=!1,O(),_?.abort(),_=void 0,Z(),n.removeEventListener("visibilitychange",ee);for(const k of q.splice(0))k();for(const k of[...u.values()])C(k);u.clear(),d.dispose()}}}}const BE=()=>{throw new Error("node:module is not available in the browser")};var ZE=[],Gd;(e=>{let t;function n(s){const l=BE();if(ZE.includes("--expose-internals"))try{return l(s)}catch{}try{return l("node-addon-require-builtin").requireBuiltin(s)}catch{}}function r(){if(t)return t;const[s]="0.0.0".split(".").map(Number);if(s<22)return;const l=n("internal/modules/esm/loader")?.getOrInitializeCascadedLoader();if(!l)return;const u=typeof l.getOrCreateModuleJob=="function"?"v2":typeof l.getModuleJobForImport=="function"?"v1":void 0;if(u)return t=Object.assign(l,{version:u})}e.fromInternal=r})(Gd||(Gd={}));class hl{constructor(t,n){this.ctx=t,this.tree=n;const r=t.fiber.entry;r&&(r.subgroup=this)}static key=Symbol.for("cordis.group");data=[];get context(){return this.ctx}async create(t){const n=this.tree.ensureId(t),r=this.tree.store[n]??=new r1(this.ctx.loader);return r.parent=this,await r.update(t,!0,!0),r.id}unlink(t){const n=this.data,r=n.indexOf(t);r>=0&&n.splice(r,1)}remove(t,n=!1){const r=this.tree.store[t];r&&(r.fiber?.dispose(),n||this.unlink(r.options),delete this.tree.store[t],this.context.emit("loader/partial-dispose",r,r.options,!1))}async update(t){const n=this.data;this.data=t;const r=Object.fromEntries(n.map(u=>[u.id,u])),s=Object.fromEntries(t.map(u=>[u.id??Symbol("anonymous"),u])),l=Reflect.ownKeys({...r,...s});await Promise.all(l.map(async u=>{s[u]?await this.create(s[u]).catch(d=>{this.ctx.logger.error(d)}):this.remove(u)}))}stop(){for(const t of this.data)this.remove(t.id,!0)}}class sZ extends hl{constructor(t,n){super(t,t.fiber.entry.parent.tree),this.ctx=t,this.config=n,t.on("internal/update",r=>{this.update(r)})}static initial=[];static[hl.key]=!0;async*[gr.init](){yield()=>this.stop(),await this.update(this.config)}}class Vl{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new hl(this.ctx,this);const n=this.ctx.fiber.entry;n&&(n.subtree=this)}get context(){return this.ctx}*entries(){for(const t of Object.values(this.store))yield t,t.subtree&&(yield*t.subtree.entries())}getTasks(){return[...this.entries()].map(t=>t._initTask||t.fiber?.inertia).filter(dw)}async await(){for(;;){const t=this.getTasks();if(!t.length)return;await Promise.allSettled(t)}}ensureId(t){if(!t.id)do t.id=Math.random().toString(16).slice(2,10);while(this.store[t.id]);return t.id}resolve(t){const n=t.split(Vl.sep);let r=this;const s=n.pop();for(const u of n)if(r=r.store[u]?.subtree,!r)throw new Error(`cannot resolve entry ${t}`);const l=r.store[s];if(!l)throw new Error(`cannot resolve entry ${t}`);return l}resolveGroup(t){if(!t)return this.root;const n=this.resolve(t);if(!n.subgroup)throw new Error(`entry ${t} is not a group`);return n.subgroup}async create(t,n=null,r=1/0){const s=this.resolveGroup(n);return s.data.splice(r,0,t),s.tree.write(),s.create(t)}remove(t){const n=this.resolve(t);n.parent.remove(t),n.parent.tree.write()}async update(t,n,r,s){const l=this.resolve(t),u=l.parent;if(r!==void 0){const d=this.resolveGroup(r);u.unlink(l.options),d.data.splice(s??1/0,0,l.options),d.tree.write(),l.parent=d}return u.tree.write(),l.update(n,!1,!0)}import(t,n){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:rl(async r=>(r.offset+=3,this.ctx.loader.internal?await this.ctx.loader.internal.import(t,this.ctx.baseUrl,{}):t.startsWith(".")?await import(new URL(t,this.ctx.baseUrl).href):await import(t)),n)}}const z8=new Function("ctx","expr",`
|
|
87
87
|
with (ctx) {
|
|
88
88
|
return eval(expr)
|
|
89
89
|
}
|
|
90
|
-
`);function Gd(e,t){return Y0(t)?N8(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(n=>Gd(e,n)):uw(t,n=>Gd(e,n))}function Y0(e){return e instanceof Object&&"__jsExpr"in e}function AE(e){return e?.["~standard"].vendor==="schemastery"}function M5(e){if(!e||typeof e!="object"||Y0(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function P8(e,t,n,r){if(n?.meta?.volatile)return!0;if(n?.type!=="object"||!n.dict||r.has(n))return xi(e,t,!0);const s=e??n.meta?.default,l=t??n.meta?.default;if(!M5(s)||!M5(l))return xi(s,l,!0);const{dict:u}=n;r.add(n);try{return Object.keys({...s,...l}).every(d=>P8(s[d],l[d],Object.hasOwn(u,d)?u[d]:void 0,r))}finally{r.delete(n)}}function RE(e,t,n){return AE(n)?P8(e,t,n,new Set):xi(e,t,!0)}function ld(e,t){const n=[];for(const r of t)r in e&&(n.push([r,e[r]]),delete e[r]);return n}function DE(e,t=["id","name"],n=["config"]){const r=ld(e,t),s=ld(e,n),l=ld(e,Object.keys(e)).sort(([u],[d])=>u.localeCompare(d));return Object.assign(e,Object.fromEntries([...r,...l,...s]))}class n1{constructor(t){this.loader=t,this.ctx=t.ctx.extend({[n1.key]:this}),this.context.emit("loader/entry-init",this)}static key=Symbol.for("cordis.entry");ctx;fiber;moduleNamespace;parent;options={};subgroup;subtree;_initTask;get context(){return this.ctx}get id(){let t=this.options.id;return this.parent.tree.ctx.fiber.entry&&(t=this.parent.tree.ctx.fiber.entry.id+Hl.sep+t),t}get disabled(){if(this.options.group)return!1;let t=this;do{if(this.disabledOf(t.options))return!0;t=t.parent.ctx.fiber.entry}while(t);return!1}disabledOf(t){return Y0(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return N8(this.ctx,t)}_patchContext(t){this.context.waterfall("loader/patch-context",this,()=>{Object.setPrototypeOf(this.ctx,this.parent.ctx),this.fiber?.uid&&(t.includes("config")||this.options.group)&&this.fiber.update(this.options.config,!0)})}async refresh(){this.fiber||this.disabled||await this.init()}async update(t,n=!1,r=!1){const s={...this.options};if(n)this.options=t;else for(const[l,u]of Object.entries(t))vr(u)?delete this.options[l]:this.options[l]=u;if(DE(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const l=Object.keys({...this.options,...s}).filter(p=>!xi(this.options[p],s[p],p==="config")),u=l.length===1&&l[0]==="config"&&this.fiber.state===Ci.ACTIVE&&Object.getPrototypeOf(this.ctx)===this.parent.ctx&&RE(s.config,this.options.config,this.fiber.runtime?.Config);u&&(this.fiber._config=this.options.config);const d=u&&this._commitVolatile()?[]:l;if(!d.length&&!r)return;this.context.emit("loader/partial-dispose",this,s,!0),this._patchContext(d)}else await this.init()}_commitVolatile(){const t=this.fiber,n=dw(t.config);if(!n.length)return!0;const r=this.options.config;let s;try{s=_0(t.runtime,t.ctx.waterfall(t,"internal/config",r,()=>r))}catch(d){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(d),!0}if(!xi(t.config,s,!0))return this.ctx.logger.debug("ordinary config values of %C changed with its volatile values; applying the ordinary update",this.options.id),!1;const l=n.flatMap(({path:d,ref:p})=>{const m=d.reduce((g,w)=>Reflect.get(g,w),s);return xi(p.get(),m.get(),!0)?[]:(fw(p,m),[d])});if(!l.length)return!0;const u=Object.create(t.ctx);u[ot.filter]=d=>d.fiber===t;try{t.ctx.emit(u,"loader/volatile-update",l)}catch(d){this.ctx.logger.warn(d)}return!0}getOuterStack=()=>{let t=this;const n=[];do n.push(` at ${t.parent.tree.ctx.baseUrl}#${t.options.id}`),t=t.parent.ctx.fiber.entry;while(t);return n};async init(){try{await(this._initTask??=this._init())}finally{this._initTask=void 0}const t=()=>{this.loader.getTasks().length||this.ctx.reflect.notify(["loader"])};this.fiber?.await().then(t,t)}async _init(){let t;try{t=await this.parent.tree.import(this.options.name,this.getOuterStack)}catch(r){this.ctx.logger.error(r);return}finally{this._initTask=void 0}const n=this.loader.unwrapExports(t);this._patchContext([]),this.loader.showLog(this,"apply"),this.fiber=this.ctx.registry.plugin(n,this.options.config,this.getOuterStack).ctx.fiber,this.moduleNamespace=t}}function O5(e,t){for(const n of Reflect.ownKeys(e))Reflect.deleteProperty(e,n);for(const n of Reflect.ownKeys(t||{}))Reflect.defineProperty(e,n,Reflect.getOwnPropertyDescriptor(t,n))}class z8{store=Object.create(null);access(t,n=!1){return n?this.store[t]??=Symbol(`${t}${this.suffix}`):this.store[t]??Symbol(`${t}${this.suffix}`)}delete(t){delete this.store[t]}get size(){return Object.keys(this.store).length}}class FE extends z8{constructor(t){super(),this.entry=t}get suffix(){return"#"+this.entry.options.id}}class $E extends z8{constructor(t){super(),this.label=t}get suffix(){return"@"+this.label}}function HE(e){const t=Object.create(null),n=Object.create(null);function r(s,l,u=!1){let d;const p=s.options.isolate?.[l];if(p)return p===!0?d=s.realm??=new FE(s):u?d=t[p]??=new $E(p):d=t[p],d?.access(l,u)}e.on("loader/entry-init",s=>{s.ctx[ot.intercept]=Object.create(s.ctx[ot.intercept]),s.ctx[ot.isolate]=Object.create(s.ctx[ot.isolate])}),e.on("loader/patch-context",(s,l)=>{const u=Object.create(s.parent.ctx[ot.isolate]);for(const m of Object.keys(s.options.isolate??{}))u[m]=r(s,m,!0);const d=Object.create(null),p=s.ctx[ot.isolate];for(const m in{...u,...n}){if(u[m]===p[m])continue;const g=n[m]??=Symbol(`delim:${m}`);s.ctx[g]=Symbol(`${m}#${s.id}`);for(const w of[p[m],u[m]]){const x=w&&s.ctx.reflect.store[w];if(x){if(!x.fiber){s.ctx.logger.warn(new Error(`expected service ${m} to be implemented`));continue}if(d[m]=[p[m],u[m],s.ctx[g],x.fiber.ctx[g]],s.ctx[g]!==x.fiber.ctx[g])break}}}Object.setPrototypeOf(s.ctx[ot.isolate],s.parent.ctx[ot.isolate]),Object.setPrototypeOf(s.ctx[ot.intercept],s.parent.ctx[ot.intercept]),O5(s.ctx[ot.isolate],u),O5(s.ctx[ot.intercept],s.options.intercept),l();for(const[m,g,w,x]of Object.values(d))w===x&&s.ctx.reflect.store[m]&&!s.ctx.reflect.store[g]&&(s.ctx.reflect.store[g]=s.ctx.reflect.store[m],delete s.ctx.reflect.store[m]);e.reflect.notify(Object.keys(d),(m,g)=>{const[w,x,y,b]=d[g],j=m[ot.isolate][g],I=m[n[g]];return(w===j||x===j)&&y===I!=(y===b)});for(const m in n)Reflect.ownKeys(u).includes(m)||delete s.ctx[n[m]]}),e.on("loader/partial-dispose",(s,l,u)=>{for(const[d,p]of Object.entries(l.isolate??{})){if(p===!0||u&&s.options.isolate?.[d]===p)continue;const m=t[p];if(m){for(const g of e.loader.entries())if(g.options.isolate?.[d]===m.label)return;m.delete(d),m.size||delete t[m.label]}}})}class VE extends Hl{constructor(t,n={}){super(t),this.config=n,n.baseUrl&&(this.ctx.baseUrl=n.baseUrl);const r=this;tr(this,gr.tracker,{associate:"loader",property:"ctx",noShadow:!0}),t.reflect.provide("loader",this,this[gr.check]),t.on("internal/config",function(s,l){const u=l();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[fl.key]?u:Gd(this.ctx,u)},{global:!0}),t.on("internal/update",function(s,l,u){if(!this.entry||l||this.parent.fiber?.entry===this.entry)return u();const d=this.runtime?.Config?.simplify;return this.entry.options.config=d?d.call(this.runtime.Config,s):s,this.entry.parent.tree.write(),u()},{global:!0,prepend:!0}),t.on("internal/update",function(s,l,u){return!this.entry||this.parent.fiber?.entry===this.entry||r.showLog(this.entry,"reload"),u()},{global:!0}),t.on("internal/plugin",s=>{if(s.parent[n1.key]&&!s.entry&&(s.entry=s.parent[n1.key],qs.resolve(s.entry.options.inject,s.inject)),s.uid||!s.entry||s.parent.fiber?.entry===s.entry||!t.registry.has(s.runtime.callback))return;const l=s.entry.parent.tree.ctx.fiber;!l.uid||l.state===Ci.UNLOADING||(this.showLog(s.entry,"unload"),!s.entry.disabled&&(s.entry.options.disabled=!0,s.entry.parent.tree.write()))}),t.plugin(HE)}envData={startTime:Date.now()};name="loader";internal=qd.fromInternal();builtins=Object.create(null);write(){}[gr.check](){return!(gr.prototype[gr.resolveConfig].call(this).await&&this.getTasks().length)}showLog(t,n){t.options.group||!t.parent.tree.enableLogs||this.ctx.root.logger?.("loader").info("%s plugin %C",n,t.options.name)}locate(t=this.ctx.fiber){for(;;){if(t.entry)return t.entry.id;const n=t.parent.fiber;if(t===n)return;t=n}}exit(){}unwrapExports(t){return vr(t)||(t=t.default??t,!t.__esModule)?t:t.default??t}}const si={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},A8={[si.PENDING]:"pending",[si.LOADING]:"loading",[si.ACTIVE]:"active",[si.FAILED]:"failed",[si.DISPOSED]:"disposed",[si.UNLOADING]:"unloading"},BE=new Set(["@deepseek-ai/dsh-api-gateway","@deepseek-ai/dsh-client-modules","@deepseek-ai/dsh-client-ui-theme","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-shortcuts","@deepseek-ai/dsh-client-ui-shortcuts","@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-session","@deepseek-ai/dsh-client-resources","@deepseek-ai/dsh-client-ui-sidebar","@deepseek-ai/dsh-client-ui-sidebar-right","@deepseek-ai/dsh-client-ui-sidebar-files","@deepseek-ai/dsh-client-ui-sidebar-documentpreview","@deepseek-ai/dsh-client-ui-sidebar-terminal","@deepseek-ai/dsh-client-ui-sidebar-browser","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-general","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-approval","@deepseek-ai/dsh-client-ui-chat","@deepseek-ai/dsh-client-ui-brand-official","@deepseek-ai/dsh-client-ui-attachment","@deepseek-ai/dsh-client-ui-tool","@deepseek-ai/dsh-client-ui-workspace","@deepseek-ai/dsh-client-ui-input-trigger","@deepseek-ai/dsh-client-ui-commands","@deepseek-ai/dsh-client-ui-subagent","@deepseek-ai/dsh-client-ui-model-selection","@deepseek-ai/dsh-client-ui-permission-presets","@deepseek-ai/dsh-client-ui-plan","@deepseek-ai/dsh-client-ui-user-questions","@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-client-file-upload","@deepseek-ai/dsh-api-remotes","@deepseek-ai/dsh-api-session-controller","@deepseek-ai/dsh-api-terminal-controller","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-api-workspace-controller","@deepseek-ai/dsh-client-ui-directory-picker-browse","@deepseek-ai/dsh-client-ui-codexhost","@deepseek-ai/dsh-api-workspace-files","@deepseek-ai/dsh-client-hmr"]);function ZE(e,t=n=>BE.has(n)){if(!e.plugins.some(u=>t(u.id)))return{core:e,external:[]};const r=new Set(e.plugins.filter(u=>t(u.id)).map(u=>u.id)),s=e.plugins.filter(u=>!r.has(u.id)),l=new Set(s.map(u=>u.id));return{core:{rev:e.rev,modules:e.modules.filter(u=>!l.has(u.id)),plugins:e.plugins.filter(u=>r.has(u.id))},external:s}}async function WE(e){const{ctx:t,manifest:n,onEntryState:r}=e;await t.plugin(VE);const s=t.loader;s.internal=e.modules;const l=new Set(n.plugins.map(d=>d.id)),u=t.on("internal/status",d=>{const p=d.entry;p===void 0||p.fiber===void 0||l.has(p.options.name)&&r?.(p.options.name,A8[p.fiber.state])});try{for(const d of l)r?.(d,"loading");await e.modules.entries.start(s,n);for(const d of s.entries())l.has(d.options.name)&&d.fiber===void 0&&r?.(d.options.name,"failed");await s.await(),UE(t,e.modules,l)}finally{u()}}function UE(e,t,n){const r=[];for(const s of e.loader.entries()){const l=s.options.name;if(n!==void 0&&!n.has(l))continue;if(s.fiber===void 0){const d=t.importError(l);r.push(d===void 0?`${l}: import failed (see console for the import error)`:`${l}: import failed: ${d.message}`);continue}const u=A8[s.fiber.state];if(u!=="active")if(u==="pending"){const d=Object.keys(s.fiber.inject).filter(p=>e.get(p)===void 0);r.push(`${l}: pending (waiting for service${d.length===1?"":"s"}: ${d.join(", ")||"unknown"})`)}else r.push(`${l}: ${u}`)}if(r.length>0)throw new Error(`web boot: ${String(r.length)} entr${r.length===1?"y":"ies"} did not activate
|
|
90
|
+
`);function Kd(e,t){return J0(t)?z8(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(n=>Kd(e,n)):fw(t,n=>Kd(e,n))}function J0(e){return e instanceof Object&&"__jsExpr"in e}function WE(e){return e?.["~standard"].vendor==="schemastery"}function O5(e){if(!e||typeof e!="object"||J0(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function A8(e,t,n,r){if(n?.meta?.volatile)return!0;if(n?.type!=="object"||!n.dict||r.has(n))return yi(e,t,!0);const s=e??n.meta?.default,l=t??n.meta?.default;if(!O5(s)||!O5(l))return yi(s,l,!0);const{dict:u}=n;r.add(n);try{return Object.keys({...s,...l}).every(d=>A8(s[d],l[d],Object.hasOwn(u,d)?u[d]:void 0,r))}finally{r.delete(n)}}function UE(e,t,n){return WE(n)?A8(e,t,n,new Set):yi(e,t,!0)}function cd(e,t){const n=[];for(const r of t)r in e&&(n.push([r,e[r]]),delete e[r]);return n}function qE(e,t=["id","name"],n=["config"]){const r=cd(e,t),s=cd(e,n),l=cd(e,Object.keys(e)).sort(([u],[d])=>u.localeCompare(d));return Object.assign(e,Object.fromEntries([...r,...l,...s]))}class r1{constructor(t){this.loader=t,this.ctx=t.ctx.extend({[r1.key]:this}),this.context.emit("loader/entry-init",this)}static key=Symbol.for("cordis.entry");ctx;fiber;moduleNamespace;parent;options={};subgroup;subtree;_initTask;get context(){return this.ctx}get id(){let t=this.options.id;return this.parent.tree.ctx.fiber.entry&&(t=this.parent.tree.ctx.fiber.entry.id+Vl.sep+t),t}get disabled(){if(this.options.group)return!1;let t=this;do{if(this.disabledOf(t.options))return!0;t=t.parent.ctx.fiber.entry}while(t);return!1}disabledOf(t){return J0(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return z8(this.ctx,t)}_patchContext(t){this.context.waterfall("loader/patch-context",this,()=>{Object.setPrototypeOf(this.ctx,this.parent.ctx),this.fiber?.uid&&(t.includes("config")||this.options.group)&&this.fiber.update(this.options.config,!0)})}async refresh(){this.fiber||this.disabled||await this.init()}async update(t,n=!1,r=!1){const s={...this.options};if(n)this.options=t;else for(const[l,u]of Object.entries(t))vr(u)?delete this.options[l]:this.options[l]=u;if(qE(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const l=Object.keys({...this.options,...s}).filter(p=>!yi(this.options[p],s[p],p==="config")),u=l.length===1&&l[0]==="config"&&this.fiber.state===ki.ACTIVE&&Object.getPrototypeOf(this.ctx)===this.parent.ctx&&UE(s.config,this.options.config,this.fiber.runtime?.Config);u&&(this.fiber._config=this.options.config);const d=u&&this._commitVolatile()?[]:l;if(!d.length&&!r)return;this.context.emit("loader/partial-dispose",this,s,!0),this._patchContext(d)}else await this.init()}_commitVolatile(){const t=this.fiber,n=hw(t.config);if(!n.length)return!0;const r=this.options.config;let s;try{s=b0(t.runtime,t.ctx.waterfall(t,"internal/config",r,()=>r))}catch(d){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(d),!0}if(!yi(t.config,s,!0))return this.ctx.logger.debug("ordinary config values of %C changed with its volatile values; applying the ordinary update",this.options.id),!1;const l=n.flatMap(({path:d,ref:p})=>{const m=d.reduce((g,w)=>Reflect.get(g,w),s);return yi(p.get(),m.get(),!0)?[]:(pw(p,m),[d])});if(!l.length)return!0;const u=Object.create(t.ctx);u[ot.filter]=d=>d.fiber===t;try{t.ctx.emit(u,"loader/volatile-update",l)}catch(d){this.ctx.logger.warn(d)}return!0}getOuterStack=()=>{let t=this;const n=[];do n.push(` at ${t.parent.tree.ctx.baseUrl}#${t.options.id}`),t=t.parent.ctx.fiber.entry;while(t);return n};async init(){try{await(this._initTask??=this._init())}finally{this._initTask=void 0}const t=()=>{this.loader.getTasks().length||this.ctx.reflect.notify(["loader"])};this.fiber?.await().then(t,t)}async _init(){let t;try{t=await this.parent.tree.import(this.options.name,this.getOuterStack)}catch(r){this.ctx.logger.error(r);return}finally{this._initTask=void 0}const n=this.loader.unwrapExports(t);this._patchContext([]),this.loader.showLog(this,"apply"),this.fiber=this.ctx.registry.plugin(n,this.options.config,this.getOuterStack).ctx.fiber,this.moduleNamespace=t}}function T5(e,t){for(const n of Reflect.ownKeys(e))Reflect.deleteProperty(e,n);for(const n of Reflect.ownKeys(t||{}))Reflect.defineProperty(e,n,Reflect.getOwnPropertyDescriptor(t,n))}class R8{store=Object.create(null);access(t,n=!1){return n?this.store[t]??=Symbol(`${t}${this.suffix}`):this.store[t]??Symbol(`${t}${this.suffix}`)}delete(t){delete this.store[t]}get size(){return Object.keys(this.store).length}}class GE extends R8{constructor(t){super(),this.entry=t}get suffix(){return"#"+this.entry.options.id}}class KE extends R8{constructor(t){super(),this.label=t}get suffix(){return"@"+this.label}}function YE(e){const t=Object.create(null),n=Object.create(null);function r(s,l,u=!1){let d;const p=s.options.isolate?.[l];if(p)return p===!0?d=s.realm??=new GE(s):u?d=t[p]??=new KE(p):d=t[p],d?.access(l,u)}e.on("loader/entry-init",s=>{s.ctx[ot.intercept]=Object.create(s.ctx[ot.intercept]),s.ctx[ot.isolate]=Object.create(s.ctx[ot.isolate])}),e.on("loader/patch-context",(s,l)=>{const u=Object.create(s.parent.ctx[ot.isolate]);for(const m of Object.keys(s.options.isolate??{}))u[m]=r(s,m,!0);const d=Object.create(null),p=s.ctx[ot.isolate];for(const m in{...u,...n}){if(u[m]===p[m])continue;const g=n[m]??=Symbol(`delim:${m}`);s.ctx[g]=Symbol(`${m}#${s.id}`);for(const w of[p[m],u[m]]){const x=w&&s.ctx.reflect.store[w];if(x){if(!x.fiber){s.ctx.logger.warn(new Error(`expected service ${m} to be implemented`));continue}if(d[m]=[p[m],u[m],s.ctx[g],x.fiber.ctx[g]],s.ctx[g]!==x.fiber.ctx[g])break}}}Object.setPrototypeOf(s.ctx[ot.isolate],s.parent.ctx[ot.isolate]),Object.setPrototypeOf(s.ctx[ot.intercept],s.parent.ctx[ot.intercept]),T5(s.ctx[ot.isolate],u),T5(s.ctx[ot.intercept],s.options.intercept),l();for(const[m,g,w,x]of Object.values(d))w===x&&s.ctx.reflect.store[m]&&!s.ctx.reflect.store[g]&&(s.ctx.reflect.store[g]=s.ctx.reflect.store[m],delete s.ctx.reflect.store[m]);e.reflect.notify(Object.keys(d),(m,g)=>{const[w,x,_,C]=d[g],I=m[ot.isolate][g],M=m[n[g]];return(w===I||x===I)&&_===M!=(_===C)});for(const m in n)Reflect.ownKeys(u).includes(m)||delete s.ctx[n[m]]}),e.on("loader/partial-dispose",(s,l,u)=>{for(const[d,p]of Object.entries(l.isolate??{})){if(p===!0||u&&s.options.isolate?.[d]===p)continue;const m=t[p];if(m){for(const g of e.loader.entries())if(g.options.isolate?.[d]===m.label)return;m.delete(d),m.size||delete t[m.label]}}})}class JE extends Vl{constructor(t,n={}){super(t),this.config=n,n.baseUrl&&(this.ctx.baseUrl=n.baseUrl);const r=this;tr(this,gr.tracker,{associate:"loader",property:"ctx",noShadow:!0}),t.reflect.provide("loader",this,this[gr.check]),t.on("internal/config",function(s,l){const u=l();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[hl.key]?u:Kd(this.ctx,u)},{global:!0}),t.on("internal/update",function(s,l,u){if(!this.entry||l||this.parent.fiber?.entry===this.entry)return u();const d=this.runtime?.Config?.simplify;return this.entry.options.config=d?d.call(this.runtime.Config,s):s,this.entry.parent.tree.write(),u()},{global:!0,prepend:!0}),t.on("internal/update",function(s,l,u){return!this.entry||this.parent.fiber?.entry===this.entry||r.showLog(this.entry,"reload"),u()},{global:!0}),t.on("internal/plugin",s=>{if(s.parent[r1.key]&&!s.entry&&(s.entry=s.parent[r1.key],Gs.resolve(s.entry.options.inject,s.inject)),s.uid||!s.entry||s.parent.fiber?.entry===s.entry||!t.registry.has(s.runtime.callback))return;const l=s.entry.parent.tree.ctx.fiber;!l.uid||l.state===ki.UNLOADING||(this.showLog(s.entry,"unload"),!s.entry.disabled&&(s.entry.options.disabled=!0,s.entry.parent.tree.write()))}),t.plugin(YE)}envData={startTime:Date.now()};name="loader";internal=Gd.fromInternal();builtins=Object.create(null);write(){}[gr.check](){return!(gr.prototype[gr.resolveConfig].call(this).await&&this.getTasks().length)}showLog(t,n){t.options.group||!t.parent.tree.enableLogs||this.ctx.root.logger?.("loader").info("%s plugin %C",n,t.options.name)}locate(t=this.ctx.fiber){for(;;){if(t.entry)return t.entry.id;const n=t.parent.fiber;if(t===n)return;t=n}}exit(){}unwrapExports(t){return vr(t)||(t=t.default??t,!t.__esModule)?t:t.default??t}}const ai={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},D8={[ai.PENDING]:"pending",[ai.LOADING]:"loading",[ai.ACTIVE]:"active",[ai.FAILED]:"failed",[ai.DISPOSED]:"disposed",[ai.UNLOADING]:"unloading"},XE=new Set(["@deepseek-ai/dsh-api-gateway","@deepseek-ai/dsh-client-modules","@deepseek-ai/dsh-client-ui-theme","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-shortcuts","@deepseek-ai/dsh-client-ui-shortcuts","@deepseek-ai/dsh-client-ui-layout","@deepseek-ai/dsh-client-ui-renderer","@deepseek-ai/dsh-client-ui-session","@deepseek-ai/dsh-client-resources","@deepseek-ai/dsh-client-ui-sidebar","@deepseek-ai/dsh-client-ui-sidebar-right","@deepseek-ai/dsh-client-ui-sidebar-files","@deepseek-ai/dsh-client-ui-sidebar-documentpreview","@deepseek-ai/dsh-client-ui-sidebar-terminal","@deepseek-ai/dsh-client-ui-sidebar-browser","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-settings-general","@deepseek-ai/dsh-client-ui-conversation","@deepseek-ai/dsh-client-ui-approval","@deepseek-ai/dsh-client-ui-chat","@deepseek-ai/dsh-client-ui-brand-official","@deepseek-ai/dsh-client-ui-attachment","@deepseek-ai/dsh-client-ui-tool","@deepseek-ai/dsh-client-ui-workspace","@deepseek-ai/dsh-client-ui-input-trigger","@deepseek-ai/dsh-client-ui-commands","@deepseek-ai/dsh-client-ui-subagent","@deepseek-ai/dsh-client-ui-model-selection","@deepseek-ai/dsh-client-ui-permission-presets","@deepseek-ai/dsh-client-ui-plan","@deepseek-ai/dsh-client-ui-user-questions","@deepseek-ai/dsh-typert-registry","@deepseek-ai/dsh-client-file-upload","@deepseek-ai/dsh-api-remotes","@deepseek-ai/dsh-api-session-controller","@deepseek-ai/dsh-api-terminal-controller","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-api-workspace-controller","@deepseek-ai/dsh-client-ui-directory-picker-browse","@deepseek-ai/dsh-client-ui-codexhost","@deepseek-ai/dsh-api-workspace-files","@deepseek-ai/dsh-client-hmr"]);function QE(e,t=n=>XE.has(n)){if(!e.plugins.some(u=>t(u.id)))return{core:e,external:[]};const r=new Set(e.plugins.filter(u=>t(u.id)).map(u=>u.id)),s=e.plugins.filter(u=>!r.has(u.id)),l=new Set(s.map(u=>u.id));return{core:{rev:e.rev,modules:e.modules.filter(u=>!l.has(u.id)),plugins:e.plugins.filter(u=>r.has(u.id))},external:s}}async function ej(e){const{ctx:t,manifest:n,onEntryState:r}=e;await t.plugin(JE);const s=t.loader;s.internal=e.modules;const l=new Set(n.plugins.map(d=>d.id)),u=t.on("internal/status",d=>{const p=d.entry;p===void 0||p.fiber===void 0||l.has(p.options.name)&&r?.(p.options.name,D8[p.fiber.state])});try{for(const d of l)r?.(d,"loading");await e.modules.entries.start(s,n);for(const d of s.entries())l.has(d.options.name)&&d.fiber===void 0&&r?.(d.options.name,"failed");await s.await(),tj(t,e.modules,l)}finally{u()}}function tj(e,t,n){const r=[];for(const s of e.loader.entries()){const l=s.options.name;if(n!==void 0&&!n.has(l))continue;if(s.fiber===void 0){const d=t.importError(l);r.push(d===void 0?`${l}: import failed (see console for the import error)`:`${l}: import failed: ${d.message}`);continue}const u=D8[s.fiber.state];if(u!=="active")if(u==="pending"){const d=Object.keys(s.fiber.inject).filter(p=>e.get(p)===void 0);r.push(`${l}: pending (waiting for service${d.length===1?"":"s"}: ${d.join(", ")||"unknown"})`)}else r.push(`${l}: ${u}`)}if(r.length>0)throw new Error(`web boot: ${String(r.length)} entr${r.length===1?"y":"ies"} did not activate
|
|
91
91
|
${r.join(`
|
|
92
|
-
`)}`)}const qE="_boot_hsk5m_3",GE="_card_hsk5m_24",KE="_wordmark_hsk5m_31",YE="_hint_hsk5m_39",JE="_spinner_hsk5m_45",XE="_failed_hsk5m_74",QE="_failedTitle_hsk5m_81",ej="_failedItem_hsk5m_88",dr={boot:qE,card:GE,wordmark:KE,hint:YE,spinner:JE,failed:XE,failedTitle:QE,failedItem:ej};function fr(e,t){const n=document.createElement("div");return n.className=e??"",t!==void 0&&(n.textContent=t),n}class tj{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(t){this.root=fr(dr.boot),this.root.dataset.dshBoot="",this.card=fr(dr.card),this.wordmark=fr(dr.wordmark,"HARNESS"),this.spinner=fr(dr.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=fr(dr.hint,"Loading plugins…"),this.card.append(this.wordmark,this.spinner,this.hint),this.root.append(this.card),t.append(this.root),this.updateProgress()}setTotal(t){this.total=t,this.updateProgress()}setState(t,n){this.states.set(t,n),n==="active"&&this.active.add(t),this.updateProgress(),this.render()}fail(t){this.failure=t,this.render()}dispose(){this.root.remove()}render(){const t=[...this.states].filter(([,u])=>u==="failed").map(([u])=>u);if(this.failure===void 0&&t.length===0){this.spinner.parentElement!==this.card&&this.card.replaceChildren(this.wordmark,this.spinner,this.hint);return}const n=fr(dr.failed);n.append(fr(dr.failedTitle,"Failed to load plugins"));for(const u of t)n.append(fr(dr.failedItem,u));this.failure!==void 0&&n.append(fr(dr.failedItem,this.failure));const r=document.createElement("p"),s=document.createElement("a");s.href="./extensions",s.textContent="管理扩展 / Manage extensions";const l=document.createElement("a");l.href="./?extensions=off",l.textContent="仅加载内置界面 / Open built-in UI",r.append(s," · ",l),n.append(r),this.card.replaceChildren(this.wordmark,n)}updateProgress(){const t=this.total===0?0:Math.min(this.active.size/this.total,1);this.spinner.style.setProperty("--dsh-boot-arc",`${String(Math.round(72+t*216))}deg`)}}const nj={},rj=e=>{let t;const n=new Set,r=(g,w)=>{const x=typeof g=="function"?g(t):g;if(!Object.is(x,t)){const y=t;t=w??(typeof x!="object"||x===null)?x:Object.assign({},t,x),n.forEach(b=>b(t,y))}},s=()=>t,p={setState:r,getState:s,getInitialState:()=>m,subscribe:g=>(n.add(g),()=>n.delete(g)),destroy:()=>{(nj?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},m=t=e(r,s,p);return p},oj=e=>rj,ij=e=>(t,n,r)=>{const s=r.subscribe;return r.subscribe=(u,d,p)=>{let m=u;if(d){const g=p?.equalityFn||Object.is;let w=u(r.getState());m=x=>{const y=u(x);if(!g(w,y)){const b=w;d(w=y,b)}},p?.fireImmediately&&d(w,w)}return s(m)},e(t,n,r)},sj=ij;function aj(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[r,s]of e)if(!Object.is(s,t.get(r)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}var R8=Symbol.for("immer-nothing"),T5=Symbol.for("immer-draftable"),mn=Symbol.for("immer-state");function Fn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var r1=Object.getPrototypeOf;function ji(e){return!!e&&!!e[mn]}function Mo(e){return e?D8(e)||Array.isArray(e)||!!e[T5]||!!e.constructor?.[T5]||m1(e)||Bl(e):!1}var lj=Object.prototype.constructor.toString(),L5=new WeakMap;function D8(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let r=L5.get(n);return r===void 0&&(r=Function.toString.call(n),L5.set(n,r)),r===lj}function hl(e,t,n=!0){Vl(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(s=>{t(s,e[s],e)}):e.forEach((r,s)=>t(s,r,e))}function Vl(e){const t=e[mn];return t?t.type_:Array.isArray(e)?1:m1(e)?2:Bl(e)?3:0}function Kd(e,t){return Vl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function F8(e,t,n){const r=Vl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function cj(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function m1(e){return e instanceof Map}function Bl(e){return e instanceof Set}function xo(e){return e.copy_||e.base_}function Yd(e,t){if(m1(e))return new Map(e);if(Bl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=D8(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[mn];let s=Reflect.ownKeys(r);for(let l=0;l<s.length;l++){const u=s[l],d=r[u];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(r[u]={configurable:!0,writable:!0,enumerable:d.enumerable,value:e[u]})}return Object.create(r1(e),r)}else{const r=r1(e);if(r!==null&&n)return{...e};const s=Object.create(r);return Object.assign(s,e)}}function J0(e,t=!1){return Zl(e)||ji(e)||!Mo(e)||(Vl(e)>1&&Object.defineProperties(e,{set:Aa,add:Aa,clear:Aa,delete:Aa}),Object.freeze(e),t&&Object.values(e).forEach(n=>J0(n,!0))),e}function uj(){Fn(2)}var Aa={value:uj};function Zl(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var dj={};function Oo(e){const t=dj[e];return t||Fn(0,e),t}var o1;function $8(){return o1}function fj(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function N5(e,t){t&&(Oo("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Jd(e){Xd(e),e.drafts_.forEach(hj),e.drafts_=null}function Xd(e){e===o1&&(o1=e.parent_)}function P5(e){return o1=fj(o1,e)}function hj(e){const t=e[mn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function z5(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[mn].modified_&&(Jd(t),Fn(4)),Mo(e)&&(e=pl(t,e),t.parent_||ml(t,e)),t.patches_&&Oo("Patches").generateReplacementPatches_(n[mn].base_,e,t.patches_,t.inversePatches_)):e=pl(t,n,[]),Jd(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==R8?e:void 0}function pl(e,t,n){if(Zl(t))return t;const r=e.immer_.shouldUseStrictIteration(),s=t[mn];if(!s)return hl(t,(l,u)=>A5(e,s,t,l,u,n),r),t;if(s.scope_!==e)return t;if(!s.modified_)return ml(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,d=!1;s.type_===3&&(u=new Set(l),l.clear(),d=!0),hl(u,(p,m)=>A5(e,s,l,p,m,n,d),r),ml(e,l,!1),n&&e.patches_&&Oo("Patches").generatePatches_(s,n,e.patches_,e.inversePatches_)}return s.copy_}function A5(e,t,n,r,s,l,u){if(s==null||typeof s!="object"&&!u)return;const d=Zl(s);if(!(d&&!u)){if(ji(s)){const p=l&&t&&t.type_!==3&&!Kd(t.assigned_,r)?l.concat(r):void 0,m=pl(e,s,p);if(F8(n,r,m),ji(m))e.canAutoFreeze_=!1;else return}else u&&n.add(s);if(Mo(s)&&!d){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===s&&d)return;pl(e,s),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&(m1(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&ml(e,s)}}}function ml(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&J0(t,n)}function pj(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:$8(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=r,l=X0;n&&(s=[r],l=i1);const{revoke:u,proxy:d}=Proxy.revocable(s,l);return r.draft_=d,r.revoke_=u,d}var X0={get(e,t){if(t===mn)return e;const n=xo(e);if(!Kd(n,t))return mj(e,n,t);const r=n[t];return e.finalized_||!Mo(r)?r:r===cd(e.base_,t)?(ud(e),e.copy_[t]=e0(r,e)):r},has(e,t){return t in xo(e)},ownKeys(e){return Reflect.ownKeys(xo(e))},set(e,t,n){const r=H8(xo(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const s=cd(xo(e),t),l=s?.[mn];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(cj(n,s)&&(n!==void 0||Kd(e.base_,t)))return!0;ud(e),Qd(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return cd(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ud(e),Qd(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=xo(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Fn(11)},getPrototypeOf(e){return r1(e.base_)},setPrototypeOf(){Fn(12)}},i1={};hl(X0,(e,t)=>{i1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});i1.deleteProperty=function(e,t){return i1.set.call(this,e,t,void 0)};i1.set=function(e,t,n){return X0.set.call(this,e[0],t,n,e[0])};function cd(e,t){const n=e[mn];return(n?xo(n):e)[t]}function mj(e,t,n){const r=H8(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}function H8(e,t){if(!(t in e))return;let n=r1(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=r1(n)}}function Qd(e){e.modified_||(e.modified_=!0,e.parent_&&Qd(e.parent_))}function ud(e){e.copy_||(e.copy_=Yd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var gj=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const u=this;return function(p=l,...m){return u.produce(p,g=>n.call(this,g,...m))}}typeof n!="function"&&Fn(6),r!==void 0&&typeof r!="function"&&Fn(7);let s;if(Mo(t)){const l=P5(this),u=e0(t,void 0);let d=!0;try{s=n(u),d=!1}finally{d?Jd(l):Xd(l)}return N5(l,r),z5(s,l)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===R8&&(s=void 0),this.autoFreeze_&&J0(s,!0),r){const l=[],u=[];Oo("Patches").generateReplacementPatches_(t,s,l,u),r(l,u)}return s}else Fn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...d)=>this.produceWithPatches(u,p=>t(p,...d));let r,s;return[this.produce(t,n,(u,d)=>{r=u,s=d}),r,s]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Mo(e)||Fn(8),ji(e)&&(e=vj(e));const t=P5(this),n=e0(e,void 0);return n[mn].isManual_=!0,Xd(t),n}finishDraft(e,t){const n=e&&e[mn];(!n||!n.isManual_)&&Fn(9);const{scope_:r}=n;return N5(r,t),z5(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const s=t[n];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}n>-1&&(t=t.slice(n+1));const r=Oo("Patches").applyPatches_;return ji(e)?r(e,t):this.produce(e,s=>r(s,t))}};function e0(e,t){const n=m1(e)?Oo("MapSet").proxyMap_(e,t):Bl(e)?Oo("MapSet").proxySet_(e,t):pj(e,t);return(t?t.scope_:$8()).drafts_.push(n),n}function vj(e){return ji(e)||Fn(10,e),V8(e)}function V8(e){if(!Mo(e)||Zl(e))return e;const t=e[mn];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Yd(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Yd(e,!0);return hl(n,(s,l)=>{F8(n,s,V8(l))},r),t&&(t.finalized_=!1),n}var wj=new gj,xj=wj.produce;function t0(e,t,...n){for(const r of[...e])try{r(...n)}catch(s){console.error(`${t} subscriber failed:`,s)}}function yj(e,t){return aj(e,t)}function _j(e){const t=typeof requestAnimationFrame=="function"?r=>{requestAnimationFrame(()=>{r()})}:r=>{queueMicrotask(r)};let n=!1;return()=>{n||(n=!0,t(()=>{n=!1,e()}))}}function Wl(e,t){const n=sj(()=>e),r=oj()(n);t?.persist&&bj(r,t.persist.name);let s=l=>r.subscribe(()=>{t0([l],"[client-store]")});if(t?.flush==="raf"){const l=new Set,u=_j(()=>{t0(l,"[client-store]")});r.subscribe(u),s=d=>(l.add(d),()=>{l.delete(d)})}return{getSnapshot:()=>r.getState(),subscribe:l=>s(l),update:l=>{r.setState(xj(r.getState(),u=>{l(u)}),!0)},set:l=>{r.setState(l,!0)}}}function bj(e,t){if(!(typeof localStorage>"u")){try{const n=localStorage.getItem(t);n!==null&&e.setState(JSON.parse(n),!0)}catch(n){console.error(`snapshot store '${t}' rehydration failed:`,n)}e.subscribe(n=>{try{localStorage.setItem(t,JSON.stringify(n))}catch(r){console.error(`snapshot store '${t}' persistence failed:`,r)}})}}function Cj(e){return{spec:e,create(t){const n=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,r=Wl(e.init(),n!==void 0?{persist:{name:n}}:void 0),s={};for(const l of Object.keys(e.actions)){const u=e.actions[l];s[l]=(...d)=>{r.update(p=>{u(p,...d)})}}return{actions:s,getSnapshot:()=>r.getSnapshot(),subscribe:l=>r.subscribe(l),store:r,clearPersisted:()=>{if(!(n===void 0||typeof localStorage>"u"))try{localStorage.removeItem(n)}catch{}}}}}}const kj=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:Wl,defineStore:Cj,notifySubscribers:t0,shallowEqual:yj},Symbol.toStringTag,{value:"Module"}));function Sj(e){if(!e.isSecureContext)return"insecure";const{userAgent:t,maxTouchPoints:n}=e.navigator;return/iPad|iPhone|iPod/u.test(t)||/Macintosh/u.test(t)&&n>1?"ios":/Android/u.test(t)?"android":/Macintosh/u.test(t)&&/Safari/u.test(t)&&!/Chrome|Chromium|Edg|OPR/u.test(t)?"safari":"browser"}class Ej{constructor(t){this.browser=t,this.guide=Sj(t),this.standalone=t.matchMedia("(display-mode: standalone)"),this.onDisplayMode(),t.addEventListener("beforeinstallprompt",this.onPrompt),t.addEventListener("appinstalled",this.onInstalled),this.standalone.addEventListener("change",this.onDisplayMode)}store=Wl("manual");guide;pending;live=!0;installationConfirmed=!1;standalone;onPrompt=t=>{if(!this.browser.isSecureContext||this.store.getSnapshot()==="installed")return;const n=t;typeof n.prompt!="function"||n.userChoice===void 0||(t.preventDefault(),this.pending=n,this.store.getSnapshot()!=="prompting"&&this.store.set("available"))};onInstalled=()=>{this.installationConfirmed=!0,this.pending=void 0,this.store.set("installed")};onDisplayMode=()=>{const t=this.browser.navigator.standalone;this.installationConfirmed||this.standalone.matches||t===!0?(this.pending=void 0,this.store.set("installed")):this.store.getSnapshot()==="installed"&&this.store.set("manual")};async install(){if(!this.live||this.pending===void 0||this.store.getSnapshot()==="prompting")return;const t=this.pending;this.pending=void 0,this.store.set("prompting");let n;try{await t.prompt(),n=(await t.userChoice).outcome}catch{n="failed"}!this.live||this.store.getSnapshot()==="installed"||this.store.set(this.pending===void 0?n:"available")}dispose(){this.live=!1,this.pending=void 0,this.browser.removeEventListener("beforeinstallprompt",this.onPrompt),this.browser.removeEventListener("appinstalled",this.onInstalled),this.standalone.removeEventListener("change",this.onDisplayMode)}}function jj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Ij(){if(typeof document>"u"||!jj())return;const e=document.querySelector('meta[name="viewport"]');e===null||/maximum-scale/u.test(e.content)||(e.content=`${e.content}, maximum-scale=1`)}function Mj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Oj(){if(typeof window>"u"||!Mj())return;const e=window.scrollBy.bind(window);window.scrollBy=((...t)=>{const n=document.activeElement;n instanceof HTMLElement&&n.closest("[data-composer-input]")!==null||e(...t)})}async function Tj(e,t){await e.inject(["uiRenderer"],r=>{r.effect(()=>r.uiRenderer.mount(t),"web boot: application mount")})}var dd={exports:{}},Is={};/**
|
|
92
|
+
`)}`)}const nj="_boot_hsk5m_3",rj="_card_hsk5m_24",oj="_wordmark_hsk5m_31",ij="_hint_hsk5m_39",sj="_spinner_hsk5m_45",aj="_failed_hsk5m_74",lj="_failedTitle_hsk5m_81",cj="_failedItem_hsk5m_88",dr={boot:nj,card:rj,wordmark:oj,hint:ij,spinner:sj,failed:aj,failedTitle:lj,failedItem:cj};function fr(e,t){const n=document.createElement("div");return n.className=e??"",t!==void 0&&(n.textContent=t),n}class uj{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(t){this.root=fr(dr.boot),this.root.dataset.dshBoot="",this.card=fr(dr.card),this.wordmark=fr(dr.wordmark,"HARNESS"),this.spinner=fr(dr.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=fr(dr.hint,"Loading plugins…"),this.card.append(this.wordmark,this.spinner,this.hint),this.root.append(this.card),t.append(this.root),this.updateProgress()}setTotal(t){this.total=t,this.updateProgress()}setState(t,n){this.states.set(t,n),n==="active"&&this.active.add(t),this.updateProgress(),this.render()}fail(t){this.failure=t,this.render()}dispose(){this.root.remove()}render(){const t=[...this.states].filter(([,u])=>u==="failed").map(([u])=>u);if(this.failure===void 0&&t.length===0){this.spinner.parentElement!==this.card&&this.card.replaceChildren(this.wordmark,this.spinner,this.hint);return}const n=fr(dr.failed);n.append(fr(dr.failedTitle,"Failed to load plugins"));for(const u of t)n.append(fr(dr.failedItem,u));this.failure!==void 0&&n.append(fr(dr.failedItem,this.failure));const r=document.createElement("p"),s=document.createElement("a");s.href="./extensions",s.textContent="管理扩展 / Manage extensions";const l=document.createElement("a");l.href="./?extensions=off",l.textContent="仅加载内置界面 / Open built-in UI",r.append(s," · ",l),n.append(r),this.card.replaceChildren(this.wordmark,n)}updateProgress(){const t=this.total===0?0:Math.min(this.active.size/this.total,1);this.spinner.style.setProperty("--dsh-boot-arc",`${String(Math.round(72+t*216))}deg`)}}const dj={},fj=e=>{let t;const n=new Set,r=(g,w)=>{const x=typeof g=="function"?g(t):g;if(!Object.is(x,t)){const _=t;t=w??(typeof x!="object"||x===null)?x:Object.assign({},t,x),n.forEach(C=>C(t,_))}},s=()=>t,p={setState:r,getState:s,getInitialState:()=>m,subscribe:g=>(n.add(g),()=>n.delete(g)),destroy:()=>{(dj?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},m=t=e(r,s,p);return p},hj=e=>fj,pj=e=>(t,n,r)=>{const s=r.subscribe;return r.subscribe=(u,d,p)=>{let m=u;if(d){const g=p?.equalityFn||Object.is;let w=u(r.getState());m=x=>{const _=u(x);if(!g(w,_)){const C=w;d(w=_,C)}},p?.fireImmediately&&d(w,w)}return s(m)},e(t,n,r)},mj=pj;function gj(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(const[r,s]of e)if(!Object.is(s,t.get(r)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}var F8=Symbol.for("immer-nothing"),L5=Symbol.for("immer-draftable"),mn=Symbol.for("immer-state");function Fn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var o1=Object.getPrototypeOf;function Ii(e){return!!e&&!!e[mn]}function Oo(e){return e?$8(e)||Array.isArray(e)||!!e[L5]||!!e.constructor?.[L5]||g1(e)||Zl(e):!1}var vj=Object.prototype.constructor.toString(),P5=new WeakMap;function $8(e){if(!e||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;if(n===Object)return!0;if(typeof n!="function")return!1;let r=P5.get(n);return r===void 0&&(r=Function.toString.call(n),P5.set(n,r)),r===vj}function pl(e,t,n=!0){Bl(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(s=>{t(s,e[s],e)}):e.forEach((r,s)=>t(s,r,e))}function Bl(e){const t=e[mn];return t?t.type_:Array.isArray(e)?1:g1(e)?2:Zl(e)?3:0}function Yd(e,t){return Bl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function H8(e,t,n){const r=Bl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function wj(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function g1(e){return e instanceof Map}function Zl(e){return e instanceof Set}function yo(e){return e.copy_||e.base_}function Jd(e,t){if(g1(e))return new Map(e);if(Zl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=$8(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[mn];let s=Reflect.ownKeys(r);for(let l=0;l<s.length;l++){const u=s[l],d=r[u];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(r[u]={configurable:!0,writable:!0,enumerable:d.enumerable,value:e[u]})}return Object.create(o1(e),r)}else{const r=o1(e);if(r!==null&&n)return{...e};const s=Object.create(r);return Object.assign(s,e)}}function X0(e,t=!1){return Wl(e)||Ii(e)||!Oo(e)||(Bl(e)>1&&Object.defineProperties(e,{set:Ra,add:Ra,clear:Ra,delete:Ra}),Object.freeze(e),t&&Object.values(e).forEach(n=>X0(n,!0))),e}function xj(){Fn(2)}var Ra={value:xj};function Wl(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var yj={};function To(e){const t=yj[e];return t||Fn(0,e),t}var i1;function V8(){return i1}function _j(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function N5(e,t){t&&(To("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Xd(e){Qd(e),e.drafts_.forEach(bj),e.drafts_=null}function Qd(e){e===i1&&(i1=e.parent_)}function z5(e){return i1=_j(i1,e)}function bj(e){const t=e[mn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function A5(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[mn].modified_&&(Xd(t),Fn(4)),Oo(e)&&(e=ml(t,e),t.parent_||gl(t,e)),t.patches_&&To("Patches").generateReplacementPatches_(n[mn].base_,e,t.patches_,t.inversePatches_)):e=ml(t,n,[]),Xd(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==F8?e:void 0}function ml(e,t,n){if(Wl(t))return t;const r=e.immer_.shouldUseStrictIteration(),s=t[mn];if(!s)return pl(t,(l,u)=>R5(e,s,t,l,u,n),r),t;if(s.scope_!==e)return t;if(!s.modified_)return gl(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,d=!1;s.type_===3&&(u=new Set(l),l.clear(),d=!0),pl(u,(p,m)=>R5(e,s,l,p,m,n,d),r),gl(e,l,!1),n&&e.patches_&&To("Patches").generatePatches_(s,n,e.patches_,e.inversePatches_)}return s.copy_}function R5(e,t,n,r,s,l,u){if(s==null||typeof s!="object"&&!u)return;const d=Wl(s);if(!(d&&!u)){if(Ii(s)){const p=l&&t&&t.type_!==3&&!Yd(t.assigned_,r)?l.concat(r):void 0,m=ml(e,s,p);if(H8(n,r,m),Ii(m))e.canAutoFreeze_=!1;else return}else u&&n.add(s);if(Oo(s)&&!d){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===s&&d)return;ml(e,s),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&(g1(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&gl(e,s)}}}function gl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&X0(t,n)}function Cj(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:V8(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=r,l=Q0;n&&(s=[r],l=s1);const{revoke:u,proxy:d}=Proxy.revocable(s,l);return r.draft_=d,r.revoke_=u,d}var Q0={get(e,t){if(t===mn)return e;const n=yo(e);if(!Yd(n,t))return kj(e,n,t);const r=n[t];return e.finalized_||!Oo(r)?r:r===ud(e.base_,t)?(dd(e),e.copy_[t]=t0(r,e)):r},has(e,t){return t in yo(e)},ownKeys(e){return Reflect.ownKeys(yo(e))},set(e,t,n){const r=B8(yo(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const s=ud(yo(e),t),l=s?.[mn];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(wj(n,s)&&(n!==void 0||Yd(e.base_,t)))return!0;dd(e),e0(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return ud(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,dd(e),e0(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=yo(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Fn(11)},getPrototypeOf(e){return o1(e.base_)},setPrototypeOf(){Fn(12)}},s1={};pl(Q0,(e,t)=>{s1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});s1.deleteProperty=function(e,t){return s1.set.call(this,e,t,void 0)};s1.set=function(e,t,n){return Q0.set.call(this,e[0],t,n,e[0])};function ud(e,t){const n=e[mn];return(n?yo(n):e)[t]}function kj(e,t,n){const r=B8(t,n);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}function B8(e,t){if(!(t in e))return;let n=o1(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=o1(n)}}function e0(e){e.modified_||(e.modified_=!0,e.parent_&&e0(e.parent_))}function dd(e){e.copy_||(e.copy_=Jd(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Sj=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const u=this;return function(p=l,...m){return u.produce(p,g=>n.call(this,g,...m))}}typeof n!="function"&&Fn(6),r!==void 0&&typeof r!="function"&&Fn(7);let s;if(Oo(t)){const l=z5(this),u=t0(t,void 0);let d=!0;try{s=n(u),d=!1}finally{d?Xd(l):Qd(l)}return N5(l,r),A5(s,l)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===F8&&(s=void 0),this.autoFreeze_&&X0(s,!0),r){const l=[],u=[];To("Patches").generateReplacementPatches_(t,s,l,u),r(l,u)}return s}else Fn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...d)=>this.produceWithPatches(u,p=>t(p,...d));let r,s;return[this.produce(t,n,(u,d)=>{r=u,s=d}),r,s]},typeof e?.autoFreeze=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration=="boolean"&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Oo(e)||Fn(8),Ii(e)&&(e=Ej(e));const t=z5(this),n=t0(e,void 0);return n[mn].isManual_=!0,Qd(t),n}finishDraft(e,t){const n=e&&e[mn];(!n||!n.isManual_)&&Fn(9);const{scope_:r}=n;return N5(r,t),A5(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const s=t[n];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}n>-1&&(t=t.slice(n+1));const r=To("Patches").applyPatches_;return Ii(e)?r(e,t):this.produce(e,s=>r(s,t))}};function t0(e,t){const n=g1(e)?To("MapSet").proxyMap_(e,t):Zl(e)?To("MapSet").proxySet_(e,t):Cj(e,t);return(t?t.scope_:V8()).drafts_.push(n),n}function Ej(e){return Ii(e)||Fn(10,e),Z8(e)}function Z8(e){if(!Oo(e)||Wl(e))return e;const t=e[mn];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Jd(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Jd(e,!0);return pl(n,(s,l)=>{H8(n,s,Z8(l))},r),t&&(t.finalized_=!1),n}var jj=new Sj,Ij=jj.produce;function n0(e,t,...n){for(const r of[...e])try{r(...n)}catch(s){console.error(`${t} subscriber failed:`,s)}}function Mj(e,t){return gj(e,t)}function Oj(e){const t=typeof requestAnimationFrame=="function"?r=>{requestAnimationFrame(()=>{r()})}:r=>{queueMicrotask(r)};let n=!1;return()=>{n||(n=!0,t(()=>{n=!1,e()}))}}function Ul(e,t){const n=mj(()=>e),r=hj()(n);t?.persist&&Tj(r,t.persist.name);let s=l=>r.subscribe(()=>{n0([l],"[client-store]")});if(t?.flush==="raf"){const l=new Set,u=Oj(()=>{n0(l,"[client-store]")});r.subscribe(u),s=d=>(l.add(d),()=>{l.delete(d)})}return{getSnapshot:()=>r.getState(),subscribe:l=>s(l),update:l=>{r.setState(Ij(r.getState(),u=>{l(u)}),!0)},set:l=>{r.setState(l,!0)}}}function Tj(e,t){if(!(typeof localStorage>"u")){try{const n=localStorage.getItem(t);n!==null&&e.setState(JSON.parse(n),!0)}catch(n){console.error(`snapshot store '${t}' rehydration failed:`,n)}e.subscribe(n=>{try{localStorage.setItem(t,JSON.stringify(n))}catch(r){console.error(`snapshot store '${t}' persistence failed:`,r)}})}}function Lj(e){return{spec:e,create(t){const n=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,r=Ul(e.init(),n!==void 0?{persist:{name:n}}:void 0),s={};for(const l of Object.keys(e.actions)){const u=e.actions[l];s[l]=(...d)=>{r.update(p=>{u(p,...d)})}}return{actions:s,getSnapshot:()=>r.getSnapshot(),subscribe:l=>r.subscribe(l),store:r,clearPersisted:()=>{if(!(n===void 0||typeof localStorage>"u"))try{localStorage.removeItem(n)}catch{}}}}}}const Pj=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:Ul,defineStore:Lj,notifySubscribers:n0,shallowEqual:Mj},Symbol.toStringTag,{value:"Module"}));function Nj(e){if(!e.isSecureContext)return"insecure";const{userAgent:t,maxTouchPoints:n}=e.navigator;return/iPad|iPhone|iPod/u.test(t)||/Macintosh/u.test(t)&&n>1?"ios":/Android/u.test(t)?"android":/Macintosh/u.test(t)&&/Safari/u.test(t)&&!/Chrome|Chromium|Edg|OPR/u.test(t)?"safari":"browser"}class zj{constructor(t){this.browser=t,this.guide=Nj(t),this.standalone=t.matchMedia("(display-mode: standalone)"),this.onDisplayMode(),t.addEventListener("beforeinstallprompt",this.onPrompt),t.addEventListener("appinstalled",this.onInstalled),this.standalone.addEventListener("change",this.onDisplayMode)}store=Ul("manual");guide;pending;live=!0;installationConfirmed=!1;standalone;onPrompt=t=>{if(!this.browser.isSecureContext||this.store.getSnapshot()==="installed")return;const n=t;typeof n.prompt!="function"||n.userChoice===void 0||(t.preventDefault(),this.pending=n,this.store.getSnapshot()!=="prompting"&&this.store.set("available"))};onInstalled=()=>{this.installationConfirmed=!0,this.pending=void 0,this.store.set("installed")};onDisplayMode=()=>{const t=this.browser.navigator.standalone;this.installationConfirmed||this.standalone.matches||t===!0?(this.pending=void 0,this.store.set("installed")):this.store.getSnapshot()==="installed"&&this.store.set("manual")};async install(){if(!this.live||this.pending===void 0||this.store.getSnapshot()==="prompting")return;const t=this.pending;this.pending=void 0,this.store.set("prompting");let n;try{await t.prompt(),n=(await t.userChoice).outcome}catch{n="failed"}!this.live||this.store.getSnapshot()==="installed"||this.store.set(this.pending===void 0?n:"available")}dispose(){this.live=!1,this.pending=void 0,this.browser.removeEventListener("beforeinstallprompt",this.onPrompt),this.browser.removeEventListener("appinstalled",this.onInstalled),this.standalone.removeEventListener("change",this.onDisplayMode)}}function Aj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Rj(){if(typeof document>"u"||!Aj())return;const e=document.querySelector('meta[name="viewport"]');e===null||/maximum-scale/u.test(e.content)||(e.content=`${e.content}, maximum-scale=1`)}function Dj(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Fj(){if(typeof window>"u"||!Dj())return;const e=window.scrollBy.bind(window);window.scrollBy=((...t)=>{const n=document.activeElement;n instanceof HTMLElement&&n.closest("[data-composer-input]")!==null||e(...t)})}async function $j(e,t){await e.inject(["uiRenderer"],r=>{r.effect(()=>r.uiRenderer.mount(t),"web boot: application mount")})}var fd={exports:{}},Ms={};/**
|
|
93
93
|
* @license React
|
|
94
94
|
* react-jsx-runtime.production.min.js
|
|
95
95
|
*
|
|
@@ -97,7 +97,7 @@ ${r.join(`
|
|
|
97
97
|
*
|
|
98
98
|
* This source code is licensed under the MIT license found in the
|
|
99
99
|
* LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/var
|
|
100
|
+
*/var D5;function Hj(){if(D5)return Ms;D5=1;var e=Y0(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,m){var g,w={},x=null,_=null;m!==void 0&&(x=""+m),p.key!==void 0&&(x=""+p.key),p.ref!==void 0&&(_=p.ref);for(g in p)r.call(p,g)&&!l.hasOwnProperty(g)&&(w[g]=p[g]);if(d&&d.defaultProps)for(g in p=d.defaultProps,p)w[g]===void 0&&(w[g]=p[g]);return{$$typeof:t,type:d,key:x,ref:_,props:w,_owner:s.current}}return Ms.Fragment=n,Ms.jsx=u,Ms.jsxs=u,Ms}var F5;function Vj(){return F5||(F5=1,fd.exports=Hj()),fd.exports}var c=Vj();const Bj=m1(c),Zj=El({__proto__:null,default:Bj},[c]);var hd={exports:{}},tn={},pd={exports:{}},md={};/**
|
|
101
101
|
* @license React
|
|
102
102
|
* scheduler.production.min.js
|
|
103
103
|
*
|
|
@@ -105,7 +105,7 @@ ${r.join(`
|
|
|
105
105
|
*
|
|
106
106
|
* This source code is licensed under the MIT license found in the
|
|
107
107
|
* LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/var
|
|
108
|
+
*/var $5;function Wj(){return $5||($5=1,(function(e){function t(ce,Q){var te=ce.length;ce.push(Q);e:for(;0<te;){var L=te-1>>>1,D=ce[L];if(0<s(D,Q))ce[L]=Q,ce[te]=D,te=L;else break e}}function n(ce){return ce.length===0?null:ce[0]}function r(ce){if(ce.length===0)return null;var Q=ce[0],te=ce.pop();if(te!==Q){ce[0]=te;e:for(var L=0,D=ce.length,re=D>>>1;L<re;){var pe=2*(L+1)-1,Oe=ce[pe],Pe=pe+1,Be=ce[Pe];if(0>s(Oe,te))Pe<D&&0>s(Be,Oe)?(ce[L]=Be,ce[Pe]=te,L=Pe):(ce[L]=Oe,ce[pe]=te,L=pe);else if(Pe<D&&0>s(Be,te))ce[L]=Be,ce[Pe]=te,L=Pe;else break e}}return Q}function s(ce,Q){var te=ce.sortIndex-Q.sortIndex;return te!==0?te:ce.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],m=[],g=1,w=null,x=3,_=!1,C=!1,I=!1,M=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function B(ce){for(var Q=n(m);Q!==null;){if(Q.callback===null)r(m);else if(Q.startTime<=ce)r(m),Q.sortIndex=Q.expirationTime,t(p,Q);else break;Q=n(m)}}function z(ce){if(I=!1,B(ce),!C)if(n(p)!==null)C=!0,he(U);else{var Q=n(m);Q!==null&&Se(z,Q.startTime-ce)}}function U(ce,Q){C=!1,I&&(I=!1,N(q),q=-1),_=!0;var te=x;try{for(B(Q),w=n(p);w!==null&&(!(w.expirationTime>Q)||ce&&!Y());){var L=w.callback;if(typeof L=="function"){w.callback=null,x=w.priorityLevel;var D=L(w.expirationTime<=Q);Q=e.unstable_now(),typeof D=="function"?w.callback=D:w===n(p)&&r(p),B(Q)}else r(p);w=n(p)}if(w!==null)var re=!0;else{var pe=n(m);pe!==null&&Se(z,pe.startTime-Q),re=!1}return re}finally{w=null,x=te,_=!1}}var Z=!1,ee=null,q=-1,G=5,k=-1;function Y(){return!(e.unstable_now()-k<G)}function V(){if(ee!==null){var ce=e.unstable_now();k=ce;var Q=!0;try{Q=ee(!0,ce)}finally{Q?K():(Z=!1,ee=null)}}else Z=!1}var K;if(typeof O=="function")K=function(){O(V)};else if(typeof MessageChannel<"u"){var X=new MessageChannel,we=X.port2;X.port1.onmessage=V,K=function(){we.postMessage(null)}}else K=function(){M(V,0)};function he(ce){ee=ce,Z||(Z=!0,K())}function Se(ce,Q){q=M(function(){ce(e.unstable_now())},Q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ce){ce.callback=null},e.unstable_continueExecution=function(){C||_||(C=!0,he(U))},e.unstable_forceFrameRate=function(ce){0>ce||125<ce?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):G=0<ce?Math.floor(1e3/ce):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(ce){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var te=x;x=Q;try{return ce()}finally{x=te}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ce,Q){switch(ce){case 1:case 2:case 3:case 4:case 5:break;default:ce=3}var te=x;x=ce;try{return Q()}finally{x=te}},e.unstable_scheduleCallback=function(ce,Q,te){var L=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?L+te:L):te=L,ce){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=te+D,ce={id:g++,callback:Q,priorityLevel:ce,startTime:te,expirationTime:D,sortIndex:-1},te>L?(ce.sortIndex=te,t(m,ce),n(p)===null&&ce===n(m)&&(I?(N(q),q=-1):I=!0,Se(z,te-L))):(ce.sortIndex=D,t(p,ce),C||_||(C=!0,he(U))),ce},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(ce){var Q=x;return function(){var te=x;x=Q;try{return ce.apply(this,arguments)}finally{x=te}}}})(md)),md}var H5;function Uj(){return H5||(H5=1,pd.exports=Wj()),pd.exports}/**
|
|
109
109
|
* @license React
|
|
110
110
|
* react-dom.production.min.js
|
|
111
111
|
*
|
|
@@ -113,91 +113,91 @@ ${r.join(`
|
|
|
113
113
|
*
|
|
114
114
|
* This source code is licensed under the MIT license found in the
|
|
115
115
|
* LICENSE file in the root directory of this source tree.
|
|
116
|
-
*/var
|
|
117
|
-
`+L+o}var
|
|
116
|
+
*/var V5;function qj(){if(V5)return tn;V5=1;var e=Y0(),t=Uj();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,a=1;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+o+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=new Set,s={};function l(o,i){u(o,i),u(o+"Capture",i)}function u(o,i){for(s[o]=i,o=0;o<i.length;o++)r.add(i[o])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},w={};function x(o){return p.call(w,o)?!0:p.call(g,o)?!1:m.test(o)?w[o]=!0:(g[o]=!0,!1)}function _(o,i,a,f){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return f?!1:a!==null?!a.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function C(o,i,a,f){if(i===null||typeof i>"u"||_(o,i,a,f))return!0;if(f)return!1;if(a!==null)switch(a.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function I(o,i,a,f,h,v,b){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=o,this.type=i,this.sanitizeURL=v,this.removeEmptyString=b}var M={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){M[o]=new I(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];M[i]=new I(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){M[o]=new I(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){M[o]=new I(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){M[o]=new I(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){M[o]=new I(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){M[o]=new I(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){M[o]=new I(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){M[o]=new I(o,5,!1,o.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function O(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(N,O);M[i]=new I(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(N,O);M[i]=new I(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(N,O);M[i]=new I(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){M[o]=new I(o,1,!1,o.toLowerCase(),null,!1,!1)}),M.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){M[o]=new I(o,1,!1,o.toLowerCase(),null,!0,!0)});function B(o,i,a,f){var h=M.hasOwnProperty(i)?M[i]:null;(h!==null?h.type!==0:f||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(C(i,a,h,f)&&(a=null),f||h===null?x(i)&&(a===null?o.removeAttribute(i):o.setAttribute(i,""+a)):h.mustUseProperty?o[h.propertyName]=a===null?h.type===3?!1:"":a:(i=h.attributeName,f=h.attributeNamespace,a===null?o.removeAttribute(i):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,f?o.setAttributeNS(f,i,a):o.setAttribute(i,a))))}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,U=Symbol.for("react.element"),Z=Symbol.for("react.portal"),ee=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),Y=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),we=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),Se=Symbol.for("react.offscreen"),ce=Symbol.iterator;function Q(o){return o===null||typeof o!="object"?null:(o=ce&&o[ce]||o["@@iterator"],typeof o=="function"?o:null)}var te=Object.assign,L;function D(o){if(L===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);L=i&&i[1]||""}return`
|
|
117
|
+
`+L+o}var re=!1;function pe(o,i){if(!o||re)return"";re=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(W){var f=W}Reflect.construct(o,[],i)}else{try{i.call()}catch(W){f=W}o.call(i.prototype)}else{try{throw Error()}catch(W){f=W}o()}}catch(W){if(W&&f&&typeof W.stack=="string"){for(var h=W.stack.split(`
|
|
118
118
|
`),v=f.stack.split(`
|
|
119
|
-
`),
|
|
120
|
-
`+h[_].replace(" at new "," at ");return o.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",o.displayName)),T}while(1<=_&&0<=E);break}}}finally{ne=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?D(o):""}function Oe(o){switch(o.tag){case 5:return D(o.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return o=pe(o.type,!1),o;case 11:return o=pe(o.type.render,!1),o;case 1:return o=pe(o.type,!0),o;default:return""}}function Ne(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case ee:return"Fragment";case Z:return"Portal";case G:return"Profiler";case q:return"StrictMode";case K:return"Suspense";case X:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Y:return(o.displayName||"Context")+".Consumer";case k:return(o._context.displayName||"Context")+".Provider";case V:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case we:return i=o.displayName||null,i!==null?i:Ne(o.type)||"Memo";case fe:i=o._payload,o=o._init;try{return Ne(o(i))}catch{}}return null}function Be(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ne(i);case 8:return i===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Fe(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Re(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function de(o){var i=Re(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),f=""+o[i];if(!o.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,v=a.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return h.call(this)},set:function(_){f=""+_,v.call(this,_)}}),Object.defineProperty(o,i,{enumerable:a.enumerable}),{getValue:function(){return f},setValue:function(_){f=""+_},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function De(o){o._valueTracker||(o._valueTracker=de(o))}function dt(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var a=i.getValue(),f="";return o&&(f=Re(o)?o.checked?"true":"false":o.value),o=f,o!==a?(i.setValue(o),!0):!1}function Ye(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Qe(o,i){var a=i.checked;return te({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function an(o,i){var a=i.defaultValue==null?"":i.defaultValue,f=i.checked!=null?i.checked:i.defaultChecked;a=Fe(i.value!=null?i.value:a),o._wrapperState={initialChecked:f,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Ze(o,i){i=i.checked,i!=null&&B(o,"checked",i,!1)}function ln(o,i){Ze(o,i);var a=Fe(i.value),f=i.type;if(a!=null)f==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(f==="submit"||f==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?wn(o,i.type,a):i.hasOwnProperty("defaultValue")&&wn(o,i.type,Fe(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function nr(o,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var f=i.type;if(!(f!=="submit"&&f!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,a||i===o.value||(o.value=i),o.defaultValue=i}a=o.name,a!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,a!==""&&(o.name=a)}function wn(o,i,a){(i!=="number"||Ye(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var Dt=Array.isArray;function gt(o,i,a,f){if(o=o.options,i){i={};for(var h=0;h<a.length;h++)i["$"+a[h]]=!0;for(a=0;a<o.length;a++)h=i.hasOwnProperty("$"+o[a].value),o[a].selected!==h&&(o[a].selected=h),h&&f&&(o[a].defaultSelected=!0)}else{for(a=""+Fe(a),i=null,h=0;h<o.length;h++){if(o[h].value===a){o[h].selected=!0,f&&(o[h].defaultSelected=!0);return}i!==null||o[h].disabled||(i=o[h])}i!==null&&(i.selected=!0)}}function Zn(o,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return te({},i,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function Fi(o,i){var a=i.value;if(a==null){if(a=i.children,i=i.defaultValue,a!=null){if(i!=null)throw Error(n(92));if(Dt(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}o._wrapperState={initialValue:Fe(a)}}function $i(o,i){var a=Fe(i.value),f=Fe(i.defaultValue);a!=null&&(a=""+a,a!==o.value&&(o.value=a),i.defaultValue==null&&o.defaultValue!==a&&(o.defaultValue=a)),f!=null&&(o.defaultValue=""+f)}function Hi(o){var i=o.textContent;i===o._wrapperState.initialValue&&i!==""&&i!==null&&(o.value=i)}function Vi(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rc(o,i){return o==null||o==="http://www.w3.org/1999/xhtml"?Vi(i):o==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var x1,N2=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,f,h){MSApp.execUnsafeLocalFunction(function(){return o(i,a,f,h)})}:o})(function(o,i){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=i;else{for(x1=x1||document.createElement("div"),x1.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=x1.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Bi(o,i){if(i){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=i;return}}o.textContent=i}var Zi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ng=["Webkit","ms","Moz","O"];Object.keys(Zi).forEach(function(o){ng.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Zi[i]=Zi[o]})});function P2(o,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Zi.hasOwnProperty(o)&&Zi[o]?(""+i).trim():i+"px"}function z2(o,i){o=o.style;for(var a in i)if(i.hasOwnProperty(a)){var f=a.indexOf("--")===0,h=P2(a,i[a],f);a==="float"&&(a="cssFloat"),f?o.setProperty(a,h):o[a]=h}}var rg=te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function oc(o,i){if(i){if(rg[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function ic(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sc=null;function ac(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var lc=null,Ao=null,Ro=null;function A2(o){if(o=fs(o)){if(typeof lc!="function")throw Error(n(280));var i=o.stateNode;i&&(i=V1(i),lc(o.stateNode,o.type,i))}}function R2(o){Ao?Ro?Ro.push(o):Ro=[o]:Ao=o}function D2(){if(Ao){var o=Ao,i=Ro;if(Ro=Ao=null,A2(o),i)for(o=0;o<i.length;o++)A2(i[o])}}function F2(o,i){return o(i)}function $2(){}var cc=!1;function H2(o,i,a){if(cc)return o(i,a);cc=!0;try{return F2(o,i,a)}finally{cc=!1,(Ao!==null||Ro!==null)&&($2(),D2())}}function Wi(o,i){var a=o.stateNode;if(a===null)return null;var f=V1(a);if(f===null)return null;a=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(o=o.type,f=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!f;break e;default:o=!1}if(o)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var uc=!1;if(d)try{var Ui={};Object.defineProperty(Ui,"passive",{get:function(){uc=!0}}),window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{uc=!1}function og(o,i,a,f,h,v,_,E,T){var W=Array.prototype.slice.call(arguments,3);try{i.apply(a,W)}catch(ie){this.onError(ie)}}var qi=!1,y1=null,_1=!1,dc=null,ig={onError:function(o){qi=!0,y1=o}};function sg(o,i,a,f,h,v,_,E,T){qi=!1,y1=null,og.apply(ig,arguments)}function ag(o,i,a,f,h,v,_,E,T){if(sg.apply(this,arguments),qi){if(qi){var W=y1;qi=!1,y1=null}else throw Error(n(198));_1||(_1=!0,dc=W)}}function Xr(o){var i=o,a=o;if(o.alternate)for(;i.return;)i=i.return;else{o=i;do i=o,(i.flags&4098)!==0&&(a=i.return),o=i.return;while(o)}return i.tag===3?a:null}function V2(o){if(o.tag===13){var i=o.memoizedState;if(i===null&&(o=o.alternate,o!==null&&(i=o.memoizedState)),i!==null)return i.dehydrated}return null}function B2(o){if(Xr(o)!==o)throw Error(n(188))}function lg(o){var i=o.alternate;if(!i){if(i=Xr(o),i===null)throw Error(n(188));return i!==o?null:o}for(var a=o,f=i;;){var h=a.return;if(h===null)break;var v=h.alternate;if(v===null){if(f=h.return,f!==null){a=f;continue}break}if(h.child===v.child){for(v=h.child;v;){if(v===a)return B2(h),o;if(v===f)return B2(h),i;v=v.sibling}throw Error(n(188))}if(a.return!==f.return)a=h,f=v;else{for(var _=!1,E=h.child;E;){if(E===a){_=!0,a=h,f=v;break}if(E===f){_=!0,f=h,a=v;break}E=E.sibling}if(!_){for(E=v.child;E;){if(E===a){_=!0,a=v,f=h;break}if(E===f){_=!0,f=v,a=h;break}E=E.sibling}if(!_)throw Error(n(189))}}if(a.alternate!==f)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?o:i}function Z2(o){return o=lg(o),o!==null?W2(o):null}function W2(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var i=W2(o);if(i!==null)return i;o=o.sibling}return null}var U2=t.unstable_scheduleCallback,q2=t.unstable_cancelCallback,cg=t.unstable_shouldYield,ug=t.unstable_requestPaint,xt=t.unstable_now,dg=t.unstable_getCurrentPriorityLevel,fc=t.unstable_ImmediatePriority,G2=t.unstable_UserBlockingPriority,b1=t.unstable_NormalPriority,fg=t.unstable_LowPriority,K2=t.unstable_IdlePriority,C1=null,Wn=null;function hg(o){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(C1,o,void 0,(o.current.flags&128)===128)}catch{}}var Mn=Math.clz32?Math.clz32:gg,pg=Math.log,mg=Math.LN2;function gg(o){return o>>>=0,o===0?32:31-(pg(o)/mg|0)|0}var k1=64,S1=4194304;function Gi(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function E1(o,i){var a=o.pendingLanes;if(a===0)return 0;var f=0,h=o.suspendedLanes,v=o.pingedLanes,_=a&268435455;if(_!==0){var E=_&~h;E!==0?f=Gi(E):(v&=_,v!==0&&(f=Gi(v)))}else _=a&~h,_!==0?f=Gi(_):v!==0&&(f=Gi(v));if(f===0)return 0;if(i!==0&&i!==f&&(i&h)===0&&(h=f&-f,v=i&-i,h>=v||h===16&&(v&4194240)!==0))return i;if((f&4)!==0&&(f|=a&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=f;0<i;)a=31-Mn(i),h=1<<a,f|=o[a],i&=~h;return f}function vg(o,i){switch(o){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wg(o,i){for(var a=o.suspendedLanes,f=o.pingedLanes,h=o.expirationTimes,v=o.pendingLanes;0<v;){var _=31-Mn(v),E=1<<_,T=h[_];T===-1?((E&a)===0||(E&f)!==0)&&(h[_]=vg(E,i)):T<=i&&(o.expiredLanes|=E),v&=~E}}function hc(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function Y2(){var o=k1;return k1<<=1,(k1&4194240)===0&&(k1=64),o}function pc(o){for(var i=[],a=0;31>a;a++)i.push(o);return i}function Ki(o,i,a){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Mn(i),o[i]=a}function xg(o,i){var a=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var f=o.eventTimes;for(o=o.expirationTimes;0<a;){var h=31-Mn(a),v=1<<h;i[h]=0,f[h]=-1,o[h]=-1,a&=~v}}function mc(o,i){var a=o.entangledLanes|=i;for(o=o.entanglements;a;){var f=31-Mn(a),h=1<<f;h&i|o[f]&i&&(o[f]|=i),a&=~h}}var et=0;function J2(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var X2,gc,Q2,e3,t3,vc=!1,j1=[],Cr=null,kr=null,Sr=null,Yi=new Map,Ji=new Map,Er=[],yg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function n3(o,i){switch(o){case"focusin":case"focusout":Cr=null;break;case"dragenter":case"dragleave":kr=null;break;case"mouseover":case"mouseout":Sr=null;break;case"pointerover":case"pointerout":Yi.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ji.delete(i.pointerId)}}function Xi(o,i,a,f,h,v){return o===null||o.nativeEvent!==v?(o={blockedOn:i,domEventName:a,eventSystemFlags:f,nativeEvent:v,targetContainers:[h]},i!==null&&(i=fs(i),i!==null&&gc(i)),o):(o.eventSystemFlags|=f,i=o.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),o)}function _g(o,i,a,f,h){switch(i){case"focusin":return Cr=Xi(Cr,o,i,a,f,h),!0;case"dragenter":return kr=Xi(kr,o,i,a,f,h),!0;case"mouseover":return Sr=Xi(Sr,o,i,a,f,h),!0;case"pointerover":var v=h.pointerId;return Yi.set(v,Xi(Yi.get(v)||null,o,i,a,f,h)),!0;case"gotpointercapture":return v=h.pointerId,Ji.set(v,Xi(Ji.get(v)||null,o,i,a,f,h)),!0}return!1}function r3(o){var i=Qr(o.target);if(i!==null){var a=Xr(i);if(a!==null){if(i=a.tag,i===13){if(i=V2(a),i!==null){o.blockedOn=i,t3(o.priority,function(){Q2(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){o.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}o.blockedOn=null}function I1(o){if(o.blockedOn!==null)return!1;for(var i=o.targetContainers;0<i.length;){var a=xc(o.domEventName,o.eventSystemFlags,i[0],o.nativeEvent);if(a===null){a=o.nativeEvent;var f=new a.constructor(a.type,a);sc=f,a.target.dispatchEvent(f),sc=null}else return i=fs(a),i!==null&&gc(i),o.blockedOn=a,!1;i.shift()}return!0}function o3(o,i,a){I1(o)&&a.delete(i)}function bg(){vc=!1,Cr!==null&&I1(Cr)&&(Cr=null),kr!==null&&I1(kr)&&(kr=null),Sr!==null&&I1(Sr)&&(Sr=null),Yi.forEach(o3),Ji.forEach(o3)}function Qi(o,i){o.blockedOn===i&&(o.blockedOn=null,vc||(vc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,bg)))}function es(o){function i(h){return Qi(h,o)}if(0<j1.length){Qi(j1[0],o);for(var a=1;a<j1.length;a++){var f=j1[a];f.blockedOn===o&&(f.blockedOn=null)}}for(Cr!==null&&Qi(Cr,o),kr!==null&&Qi(kr,o),Sr!==null&&Qi(Sr,o),Yi.forEach(i),Ji.forEach(i),a=0;a<Er.length;a++)f=Er[a],f.blockedOn===o&&(f.blockedOn=null);for(;0<Er.length&&(a=Er[0],a.blockedOn===null);)r3(a),a.blockedOn===null&&Er.shift()}var Do=z.ReactCurrentBatchConfig,M1=!0;function Cg(o,i,a,f){var h=et,v=Do.transition;Do.transition=null;try{et=1,wc(o,i,a,f)}finally{et=h,Do.transition=v}}function kg(o,i,a,f){var h=et,v=Do.transition;Do.transition=null;try{et=4,wc(o,i,a,f)}finally{et=h,Do.transition=v}}function wc(o,i,a,f){if(M1){var h=xc(o,i,a,f);if(h===null)Ac(o,i,f,O1,a),n3(o,f);else if(_g(h,o,i,a,f))f.stopPropagation();else if(n3(o,f),i&4&&-1<yg.indexOf(o)){for(;h!==null;){var v=fs(h);if(v!==null&&X2(v),v=xc(o,i,a,f),v===null&&Ac(o,i,f,O1,a),v===h)break;h=v}h!==null&&f.stopPropagation()}else Ac(o,i,f,null,a)}}var O1=null;function xc(o,i,a,f){if(O1=null,o=ac(f),o=Qr(o),o!==null)if(i=Xr(o),i===null)o=null;else if(a=i.tag,a===13){if(o=V2(i),o!==null)return o;o=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null);return O1=o,null}function i3(o){switch(o){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(dg()){case fc:return 1;case G2:return 4;case b1:case fg:return 16;case K2:return 536870912;default:return 16}default:return 16}}var jr=null,yc=null,T1=null;function s3(){if(T1)return T1;var o,i=yc,a=i.length,f,h="value"in jr?jr.value:jr.textContent,v=h.length;for(o=0;o<a&&i[o]===h[o];o++);var _=a-o;for(f=1;f<=_&&i[a-f]===h[v-f];f++);return T1=h.slice(o,1<f?1-f:void 0)}function L1(o){var i=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&i===13&&(o=13)):o=i,o===10&&(o=13),32<=o||o===13?o:0}function N1(){return!0}function a3(){return!1}function cn(o){function i(a,f,h,v,_){this._reactName=a,this._targetInst=h,this.type=f,this.nativeEvent=v,this.target=_,this.currentTarget=null;for(var E in o)o.hasOwnProperty(E)&&(a=o[E],this[E]=a?a(v):v[E]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?N1:a3,this.isPropagationStopped=a3,this}return te(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=N1)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=N1)},persist:function(){},isPersistent:N1}),i}var Fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_c=cn(Fo),ts=te({},Fo,{view:0,detail:0}),Sg=cn(ts),bc,Cc,ns,P1=te({},ts,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sc,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==ns&&(ns&&o.type==="mousemove"?(bc=o.screenX-ns.screenX,Cc=o.screenY-ns.screenY):Cc=bc=0,ns=o),bc)},movementY:function(o){return"movementY"in o?o.movementY:Cc}}),l3=cn(P1),Eg=te({},P1,{dataTransfer:0}),jg=cn(Eg),Ig=te({},ts,{relatedTarget:0}),kc=cn(Ig),Mg=te({},Fo,{animationName:0,elapsedTime:0,pseudoElement:0}),Og=cn(Mg),Tg=te({},Fo,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Lg=cn(Tg),Ng=te({},Fo,{data:0}),c3=cn(Ng),Pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ag={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rg(o){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(o):(o=Ag[o])?!!i[o]:!1}function Sc(){return Rg}var Dg=te({},ts,{key:function(o){if(o.key){var i=Pg[o.key]||o.key;if(i!=="Unidentified")return i}return o.type==="keypress"?(o=L1(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?zg[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sc,charCode:function(o){return o.type==="keypress"?L1(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?L1(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Fg=cn(Dg),$g=te({},P1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),u3=cn($g),Hg=te({},ts,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sc}),Vg=cn(Hg),Bg=te({},Fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zg=cn(Bg),Wg=te({},P1,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),Ug=cn(Wg),qg=[9,13,27,32],Ec=d&&"CompositionEvent"in window,rs=null;d&&"documentMode"in document&&(rs=document.documentMode);var Gg=d&&"TextEvent"in window&&!rs,d3=d&&(!Ec||rs&&8<rs&&11>=rs),f3=" ",h3=!1;function p3(o,i){switch(o){case"keyup":return qg.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m3(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var $o=!1;function Kg(o,i){switch(o){case"compositionend":return m3(i);case"keypress":return i.which!==32?null:(h3=!0,f3);case"textInput":return o=i.data,o===f3&&h3?null:o;default:return null}}function Yg(o,i){if($o)return o==="compositionend"||!Ec&&p3(o,i)?(o=s3(),T1=yc=jr=null,$o=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return d3&&i.locale!=="ko"?null:i.data;default:return null}}var Jg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function g3(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i==="input"?!!Jg[o.type]:i==="textarea"}function v3(o,i,a,f){R2(f),i=F1(i,"onChange"),0<i.length&&(a=new _c("onChange","change",null,a,f),o.push({event:a,listeners:i}))}var os=null,is=null;function Xg(o){z3(o,0)}function z1(o){var i=Wo(o);if(dt(i))return o}function Qg(o,i){if(o==="change")return i}var w3=!1;if(d){var jc;if(d){var Ic="oninput"in document;if(!Ic){var x3=document.createElement("div");x3.setAttribute("oninput","return;"),Ic=typeof x3.oninput=="function"}jc=Ic}else jc=!1;w3=jc&&(!document.documentMode||9<document.documentMode)}function y3(){os&&(os.detachEvent("onpropertychange",_3),is=os=null)}function _3(o){if(o.propertyName==="value"&&z1(is)){var i=[];v3(i,is,o,ac(o)),H2(Xg,i)}}function ev(o,i,a){o==="focusin"?(y3(),os=i,is=a,os.attachEvent("onpropertychange",_3)):o==="focusout"&&y3()}function tv(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return z1(is)}function nv(o,i){if(o==="click")return z1(i)}function rv(o,i){if(o==="input"||o==="change")return z1(i)}function ov(o,i){return o===i&&(o!==0||1/o===1/i)||o!==o&&i!==i}var On=typeof Object.is=="function"?Object.is:ov;function ss(o,i){if(On(o,i))return!0;if(typeof o!="object"||o===null||typeof i!="object"||i===null)return!1;var a=Object.keys(o),f=Object.keys(i);if(a.length!==f.length)return!1;for(f=0;f<a.length;f++){var h=a[f];if(!p.call(i,h)||!On(o[h],i[h]))return!1}return!0}function b3(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function C3(o,i){var a=b3(o);o=0;for(var f;a;){if(a.nodeType===3){if(f=o+a.textContent.length,o<=i&&f>=i)return{node:a,offset:i-o};o=f}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=b3(a)}}function k3(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?k3(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function S3(){for(var o=window,i=Ye();i instanceof o.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)o=i.contentWindow;else break;i=Ye(o.document)}return i}function Mc(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function iv(o){var i=S3(),a=o.focusedElem,f=o.selectionRange;if(i!==a&&a&&a.ownerDocument&&k3(a.ownerDocument.documentElement,a)){if(f!==null&&Mc(a)){if(i=f.start,o=f.end,o===void 0&&(o=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(o,a.value.length);else if(o=(i=a.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var h=a.textContent.length,v=Math.min(f.start,h);f=f.end===void 0?v:Math.min(f.end,h),!o.extend&&v>f&&(h=f,f=v,v=h),h=C3(a,v);var _=C3(a,f);h&&_&&(o.rangeCount!==1||o.anchorNode!==h.node||o.anchorOffset!==h.offset||o.focusNode!==_.node||o.focusOffset!==_.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),o.removeAllRanges(),v>f?(o.addRange(i),o.extend(_.node,_.offset)):(i.setEnd(_.node,_.offset),o.addRange(i)))}}for(i=[],o=a;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)o=i[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var sv=d&&"documentMode"in document&&11>=document.documentMode,Ho=null,Oc=null,as=null,Tc=!1;function E3(o,i,a){var f=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Tc||Ho==null||Ho!==Ye(f)||(f=Ho,"selectionStart"in f&&Mc(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),as&&ss(as,f)||(as=f,f=F1(Oc,"onSelect"),0<f.length&&(i=new _c("onSelect","select",null,i,a),o.push({event:i,listeners:f}),i.target=Ho)))}function A1(o,i){var a={};return a[o.toLowerCase()]=i.toLowerCase(),a["Webkit"+o]="webkit"+i,a["Moz"+o]="moz"+i,a}var Vo={animationend:A1("Animation","AnimationEnd"),animationiteration:A1("Animation","AnimationIteration"),animationstart:A1("Animation","AnimationStart"),transitionend:A1("Transition","TransitionEnd")},Lc={},j3={};d&&(j3=document.createElement("div").style,"AnimationEvent"in window||(delete Vo.animationend.animation,delete Vo.animationiteration.animation,delete Vo.animationstart.animation),"TransitionEvent"in window||delete Vo.transitionend.transition);function R1(o){if(Lc[o])return Lc[o];if(!Vo[o])return o;var i=Vo[o],a;for(a in i)if(i.hasOwnProperty(a)&&a in j3)return Lc[o]=i[a];return o}var I3=R1("animationend"),M3=R1("animationiteration"),O3=R1("animationstart"),T3=R1("transitionend"),L3=new Map,N3="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ir(o,i){L3.set(o,i),l(i,[o])}for(var Nc=0;Nc<N3.length;Nc++){var Pc=N3[Nc],av=Pc.toLowerCase(),lv=Pc[0].toUpperCase()+Pc.slice(1);Ir(av,"on"+lv)}Ir(I3,"onAnimationEnd"),Ir(M3,"onAnimationIteration"),Ir(O3,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(T3,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ls="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),cv=new Set("cancel close invalid load scroll toggle".split(" ").concat(ls));function P3(o,i,a){var f=o.type||"unknown-event";o.currentTarget=a,ag(f,i,void 0,o),o.currentTarget=null}function z3(o,i){i=(i&4)!==0;for(var a=0;a<o.length;a++){var f=o[a],h=f.event;f=f.listeners;e:{var v=void 0;if(i)for(var _=f.length-1;0<=_;_--){var E=f[_],T=E.instance,W=E.currentTarget;if(E=E.listener,T!==v&&h.isPropagationStopped())break e;P3(h,E,W),v=T}else for(_=0;_<f.length;_++){if(E=f[_],T=E.instance,W=E.currentTarget,E=E.listener,T!==v&&h.isPropagationStopped())break e;P3(h,E,W),v=T}}}if(_1)throw o=dc,_1=!1,dc=null,o}function st(o,i){var a=i[Vc];a===void 0&&(a=i[Vc]=new Set);var f=o+"__bubble";a.has(f)||(A3(i,o,2,!1),a.add(f))}function zc(o,i,a){var f=0;i&&(f|=4),A3(a,o,f,i)}var D1="_reactListening"+Math.random().toString(36).slice(2);function cs(o){if(!o[D1]){o[D1]=!0,r.forEach(function(a){a!=="selectionchange"&&(cv.has(a)||zc(a,!1,o),zc(a,!0,o))});var i=o.nodeType===9?o:o.ownerDocument;i===null||i[D1]||(i[D1]=!0,zc("selectionchange",!1,i))}}function A3(o,i,a,f){switch(i3(i)){case 1:var h=Cg;break;case 4:h=kg;break;default:h=wc}a=h.bind(null,i,a,o),h=void 0,!uc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),f?h!==void 0?o.addEventListener(i,a,{capture:!0,passive:h}):o.addEventListener(i,a,!0):h!==void 0?o.addEventListener(i,a,{passive:h}):o.addEventListener(i,a,!1)}function Ac(o,i,a,f,h){var v=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var _=f.tag;if(_===3||_===4){var E=f.stateNode.containerInfo;if(E===h||E.nodeType===8&&E.parentNode===h)break;if(_===4)for(_=f.return;_!==null;){var T=_.tag;if((T===3||T===4)&&(T=_.stateNode.containerInfo,T===h||T.nodeType===8&&T.parentNode===h))return;_=_.return}for(;E!==null;){if(_=Qr(E),_===null)return;if(T=_.tag,T===5||T===6){f=v=_;continue e}E=E.parentNode}}f=f.return}H2(function(){var W=v,ie=ac(a),le=[];e:{var oe=L3.get(o);if(oe!==void 0){var ge=_c,be=o;switch(o){case"keypress":if(L1(a)===0)break e;case"keydown":case"keyup":ge=Fg;break;case"focusin":be="focus",ge=kc;break;case"focusout":be="blur",ge=kc;break;case"beforeblur":case"afterblur":ge=kc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ge=l3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=jg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=Vg;break;case I3:case M3:case O3:ge=Og;break;case T3:ge=Zg;break;case"scroll":ge=Sg;break;case"wheel":ge=Ug;break;case"copy":case"cut":case"paste":ge=Lg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=u3}var Ce=(i&4)!==0,yt=!Ce&&o==="scroll",A=Ce?oe!==null?oe+"Capture":null:oe;Ce=[];for(var N=W,$;N!==null;){$=N;var ue=$.stateNode;if($.tag===5&&ue!==null&&($=ue,A!==null&&(ue=Wi(N,A),ue!=null&&Ce.push(us(N,ue,$)))),yt)break;N=N.return}0<Ce.length&&(oe=new ge(oe,be,null,a,ie),le.push({event:oe,listeners:Ce}))}}if((i&7)===0){e:{if(oe=o==="mouseover"||o==="pointerover",ge=o==="mouseout"||o==="pointerout",oe&&a!==sc&&(be=a.relatedTarget||a.fromElement)&&(Qr(be)||be[rr]))break e;if((ge||oe)&&(oe=ie.window===ie?ie:(oe=ie.ownerDocument)?oe.defaultView||oe.parentWindow:window,ge?(be=a.relatedTarget||a.toElement,ge=W,be=be?Qr(be):null,be!==null&&(yt=Xr(be),be!==yt||be.tag!==5&&be.tag!==6)&&(be=null)):(ge=null,be=W),ge!==be)){if(Ce=l3,ue="onMouseLeave",A="onMouseEnter",N="mouse",(o==="pointerout"||o==="pointerover")&&(Ce=u3,ue="onPointerLeave",A="onPointerEnter",N="pointer"),yt=ge==null?oe:Wo(ge),$=be==null?oe:Wo(be),oe=new Ce(ue,N+"leave",ge,a,ie),oe.target=yt,oe.relatedTarget=$,ue=null,Qr(ie)===W&&(Ce=new Ce(A,N+"enter",be,a,ie),Ce.target=$,Ce.relatedTarget=yt,ue=Ce),yt=ue,ge&&be)t:{for(Ce=ge,A=be,N=0,$=Ce;$;$=Bo($))N++;for($=0,ue=A;ue;ue=Bo(ue))$++;for(;0<N-$;)Ce=Bo(Ce),N--;for(;0<$-N;)A=Bo(A),$--;for(;N--;){if(Ce===A||A!==null&&Ce===A.alternate)break t;Ce=Bo(Ce),A=Bo(A)}Ce=null}else Ce=null;ge!==null&&R3(le,oe,ge,Ce,!1),be!==null&&yt!==null&&R3(le,yt,be,Ce,!0)}}e:{if(oe=W?Wo(W):window,ge=oe.nodeName&&oe.nodeName.toLowerCase(),ge==="select"||ge==="input"&&oe.type==="file")var Ee=Qg;else if(g3(oe))if(w3)Ee=rv;else{Ee=tv;var Te=ev}else(ge=oe.nodeName)&&ge.toLowerCase()==="input"&&(oe.type==="checkbox"||oe.type==="radio")&&(Ee=nv);if(Ee&&(Ee=Ee(o,W))){v3(le,Ee,a,ie);break e}Te&&Te(o,oe,W),o==="focusout"&&(Te=oe._wrapperState)&&Te.controlled&&oe.type==="number"&&wn(oe,"number",oe.value)}switch(Te=W?Wo(W):window,o){case"focusin":(g3(Te)||Te.contentEditable==="true")&&(Ho=Te,Oc=W,as=null);break;case"focusout":as=Oc=Ho=null;break;case"mousedown":Tc=!0;break;case"contextmenu":case"mouseup":case"dragend":Tc=!1,E3(le,a,ie);break;case"selectionchange":if(sv)break;case"keydown":case"keyup":E3(le,a,ie)}var Le;if(Ec)e:{switch(o){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else $o?p3(o,a)&&(Ae="onCompositionEnd"):o==="keydown"&&a.keyCode===229&&(Ae="onCompositionStart");Ae&&(d3&&a.locale!=="ko"&&($o||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&$o&&(Le=s3()):(jr=ie,yc="value"in jr?jr.value:jr.textContent,$o=!0)),Te=F1(W,Ae),0<Te.length&&(Ae=new c3(Ae,o,null,a,ie),le.push({event:Ae,listeners:Te}),Le?Ae.data=Le:(Le=m3(a),Le!==null&&(Ae.data=Le)))),(Le=Gg?Kg(o,a):Yg(o,a))&&(W=F1(W,"onBeforeInput"),0<W.length&&(ie=new c3("onBeforeInput","beforeinput",null,a,ie),le.push({event:ie,listeners:W}),ie.data=Le))}z3(le,i)})}function us(o,i,a){return{instance:o,listener:i,currentTarget:a}}function F1(o,i){for(var a=i+"Capture",f=[];o!==null;){var h=o,v=h.stateNode;h.tag===5&&v!==null&&(h=v,v=Wi(o,a),v!=null&&f.unshift(us(o,v,h)),v=Wi(o,i),v!=null&&f.push(us(o,v,h))),o=o.return}return f}function Bo(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function R3(o,i,a,f,h){for(var v=i._reactName,_=[];a!==null&&a!==f;){var E=a,T=E.alternate,W=E.stateNode;if(T!==null&&T===f)break;E.tag===5&&W!==null&&(E=W,h?(T=Wi(a,v),T!=null&&_.unshift(us(a,T,E))):h||(T=Wi(a,v),T!=null&&_.push(us(a,T,E)))),a=a.return}_.length!==0&&o.push({event:i,listeners:_})}var uv=/\r\n?/g,dv=/\u0000|\uFFFD/g;function D3(o){return(typeof o=="string"?o:""+o).replace(uv,`
|
|
121
|
-
`).replace(dv,"")}function $1(o,i,a){if(i=D3(i),D3(o)!==i&&a)throw Error(n(425))}function H1(){}var Rc=null,Dc=null;function Fc(o,i){return o==="textarea"||o==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var $c=typeof setTimeout=="function"?setTimeout:void 0,fv=typeof clearTimeout=="function"?clearTimeout:void 0,F3=typeof Promise=="function"?Promise:void 0,hv=typeof queueMicrotask=="function"?queueMicrotask:typeof F3<"u"?function(o){return F3.resolve(null).then(o).catch(pv)}:$c;function pv(o){setTimeout(function(){throw o})}function Hc(o,i){var a=i,f=0;do{var h=a.nextSibling;if(o.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(f===0){o.removeChild(h),es(i);return}f--}else a!=="$"&&a!=="$?"&&a!=="$!"||f++;a=h}while(a);es(i)}function Mr(o){for(;o!=null;o=o.nextSibling){var i=o.nodeType;if(i===1||i===3)break;if(i===8){if(i=o.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return o}function $3(o){o=o.previousSibling;for(var i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return o;i--}else a==="/$"&&i++}o=o.previousSibling}return null}var Zo=Math.random().toString(36).slice(2),Un="__reactFiber$"+Zo,ds="__reactProps$"+Zo,rr="__reactContainer$"+Zo,Vc="__reactEvents$"+Zo,mv="__reactListeners$"+Zo,gv="__reactHandles$"+Zo;function Qr(o){var i=o[Un];if(i)return i;for(var a=o.parentNode;a;){if(i=a[rr]||a[Un]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(o=$3(o);o!==null;){if(a=o[Un])return a;o=$3(o)}return i}o=a,a=o.parentNode}return null}function fs(o){return o=o[Un]||o[rr],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Wo(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(n(33))}function V1(o){return o[ds]||null}var Bc=[],Uo=-1;function Or(o){return{current:o}}function at(o){0>Uo||(o.current=Bc[Uo],Bc[Uo]=null,Uo--)}function rt(o,i){Uo++,Bc[Uo]=o.current,o.current=i}var Tr={},Ft=Or(Tr),Yt=Or(!1),eo=Tr;function qo(o,i){var a=o.type.contextTypes;if(!a)return Tr;var f=o.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===i)return f.__reactInternalMemoizedMaskedChildContext;var h={},v;for(v in a)h[v]=i[v];return f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=h),h}function Jt(o){return o=o.childContextTypes,o!=null}function B1(){at(Yt),at(Ft)}function H3(o,i,a){if(Ft.current!==Tr)throw Error(n(168));rt(Ft,i),rt(Yt,a)}function V3(o,i,a){var f=o.stateNode;if(i=i.childContextTypes,typeof f.getChildContext!="function")return a;f=f.getChildContext();for(var h in f)if(!(h in i))throw Error(n(108,Be(o)||"Unknown",h));return te({},a,f)}function Z1(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Tr,eo=Ft.current,rt(Ft,o),rt(Yt,Yt.current),!0}function B3(o,i,a){var f=o.stateNode;if(!f)throw Error(n(169));a?(o=V3(o,i,eo),f.__reactInternalMemoizedMergedChildContext=o,at(Yt),at(Ft),rt(Ft,o)):at(Yt),rt(Yt,a)}var or=null,W1=!1,Zc=!1;function Z3(o){or===null?or=[o]:or.push(o)}function vv(o){W1=!0,Z3(o)}function Lr(){if(!Zc&&or!==null){Zc=!0;var o=0,i=et;try{var a=or;for(et=1;o<a.length;o++){var f=a[o];do f=f(!0);while(f!==null)}or=null,W1=!1}catch(h){throw or!==null&&(or=or.slice(o+1)),U2(fc,Lr),h}finally{et=i,Zc=!1}}return null}var Go=[],Ko=0,U1=null,q1=0,xn=[],yn=0,to=null,ir=1,sr="";function no(o,i){Go[Ko++]=q1,Go[Ko++]=U1,U1=o,q1=i}function W3(o,i,a){xn[yn++]=ir,xn[yn++]=sr,xn[yn++]=to,to=o;var f=ir;o=sr;var h=32-Mn(f)-1;f&=~(1<<h),a+=1;var v=32-Mn(i)+h;if(30<v){var _=h-h%5;v=(f&(1<<_)-1).toString(32),f>>=_,h-=_,ir=1<<32-Mn(i)+h|a<<h|f,sr=v+o}else ir=1<<v|a<<h|f,sr=o}function Wc(o){o.return!==null&&(no(o,1),W3(o,1,0))}function Uc(o){for(;o===U1;)U1=Go[--Ko],Go[Ko]=null,q1=Go[--Ko],Go[Ko]=null;for(;o===to;)to=xn[--yn],xn[yn]=null,sr=xn[--yn],xn[yn]=null,ir=xn[--yn],xn[yn]=null}var un=null,dn=null,lt=!1,Tn=null;function U3(o,i){var a=kn(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=o,i=o.deletions,i===null?(o.deletions=[a],o.flags|=16):i.push(a)}function q3(o,i){switch(o.tag){case 5:var a=o.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(o.stateNode=i,un=o,dn=Mr(i.firstChild),!0):!1;case 6:return i=o.pendingProps===""||i.nodeType!==3?null:i,i!==null?(o.stateNode=i,un=o,dn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=to!==null?{id:ir,overflow:sr}:null,o.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=kn(18,null,null,0),a.stateNode=i,a.return=o,o.child=a,un=o,dn=null,!0):!1;default:return!1}}function qc(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Gc(o){if(lt){var i=dn;if(i){var a=i;if(!q3(o,i)){if(qc(o))throw Error(n(418));i=Mr(a.nextSibling);var f=un;i&&q3(o,i)?U3(f,a):(o.flags=o.flags&-4097|2,lt=!1,un=o)}}else{if(qc(o))throw Error(n(418));o.flags=o.flags&-4097|2,lt=!1,un=o}}}function G3(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;un=o}function G1(o){if(o!==un)return!1;if(!lt)return G3(o),lt=!0,!1;var i;if((i=o.tag!==3)&&!(i=o.tag!==5)&&(i=o.type,i=i!=="head"&&i!=="body"&&!Fc(o.type,o.memoizedProps)),i&&(i=dn)){if(qc(o))throw K3(),Error(n(418));for(;i;)U3(o,i),i=Mr(i.nextSibling)}if(G3(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));e:{for(o=o.nextSibling,i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="/$"){if(i===0){dn=Mr(o.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}o=o.nextSibling}dn=null}}else dn=un?Mr(o.stateNode.nextSibling):null;return!0}function K3(){for(var o=dn;o;)o=Mr(o.nextSibling)}function Yo(){dn=un=null,lt=!1}function Kc(o){Tn===null?Tn=[o]:Tn.push(o)}var wv=z.ReactCurrentBatchConfig;function hs(o,i,a){if(o=a.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var f=a.stateNode}if(!f)throw Error(n(147,o));var h=f,v=""+o;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===v?i.ref:(i=function(_){var E=h.refs;_===null?delete E[v]:E[v]=_},i._stringRef=v,i)}if(typeof o!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,o))}return o}function K1(o,i){throw o=Object.prototype.toString.call(i),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":o))}function Y3(o){var i=o._init;return i(o._payload)}function J3(o){function i(A,N){if(o){var $=A.deletions;$===null?(A.deletions=[N],A.flags|=16):$.push(N)}}function a(A,N){if(!o)return null;for(;N!==null;)i(A,N),N=N.sibling;return null}function f(A,N){for(A=new Map;N!==null;)N.key!==null?A.set(N.key,N):A.set(N.index,N),N=N.sibling;return A}function h(A,N){return A=$r(A,N),A.index=0,A.sibling=null,A}function v(A,N,$){return A.index=$,o?($=A.alternate,$!==null?($=$.index,$<N?(A.flags|=2,N):$):(A.flags|=2,N)):(A.flags|=1048576,N)}function _(A){return o&&A.alternate===null&&(A.flags|=2),A}function E(A,N,$,ue){return N===null||N.tag!==6?(N=$u($,A.mode,ue),N.return=A,N):(N=h(N,$),N.return=A,N)}function T(A,N,$,ue){var Ee=$.type;return Ee===ee?ie(A,N,$.props.children,ue,$.key):N!==null&&(N.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===fe&&Y3(Ee)===N.type)?(ue=h(N,$.props),ue.ref=hs(A,N,$),ue.return=A,ue):(ue=xa($.type,$.key,$.props,null,A.mode,ue),ue.ref=hs(A,N,$),ue.return=A,ue)}function W(A,N,$,ue){return N===null||N.tag!==4||N.stateNode.containerInfo!==$.containerInfo||N.stateNode.implementation!==$.implementation?(N=Hu($,A.mode,ue),N.return=A,N):(N=h(N,$.children||[]),N.return=A,N)}function ie(A,N,$,ue,Ee){return N===null||N.tag!==7?(N=uo($,A.mode,ue,Ee),N.return=A,N):(N=h(N,$),N.return=A,N)}function le(A,N,$){if(typeof N=="string"&&N!==""||typeof N=="number")return N=$u(""+N,A.mode,$),N.return=A,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case U:return $=xa(N.type,N.key,N.props,null,A.mode,$),$.ref=hs(A,null,N),$.return=A,$;case Z:return N=Hu(N,A.mode,$),N.return=A,N;case fe:var ue=N._init;return le(A,ue(N._payload),$)}if(Dt(N)||Q(N))return N=uo(N,A.mode,$,null),N.return=A,N;K1(A,N)}return null}function oe(A,N,$,ue){var Ee=N!==null?N.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return Ee!==null?null:E(A,N,""+$,ue);if(typeof $=="object"&&$!==null){switch($.$$typeof){case U:return $.key===Ee?T(A,N,$,ue):null;case Z:return $.key===Ee?W(A,N,$,ue):null;case fe:return Ee=$._init,oe(A,N,Ee($._payload),ue)}if(Dt($)||Q($))return Ee!==null?null:ie(A,N,$,ue,null);K1(A,$)}return null}function ge(A,N,$,ue,Ee){if(typeof ue=="string"&&ue!==""||typeof ue=="number")return A=A.get($)||null,E(N,A,""+ue,Ee);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case U:return A=A.get(ue.key===null?$:ue.key)||null,T(N,A,ue,Ee);case Z:return A=A.get(ue.key===null?$:ue.key)||null,W(N,A,ue,Ee);case fe:var Te=ue._init;return ge(A,N,$,Te(ue._payload),Ee)}if(Dt(ue)||Q(ue))return A=A.get($)||null,ie(N,A,ue,Ee,null);K1(N,ue)}return null}function be(A,N,$,ue){for(var Ee=null,Te=null,Le=N,Ae=N=0,Mt=null;Le!==null&&Ae<$.length;Ae++){Le.index>Ae?(Mt=Le,Le=null):Mt=Le.sibling;var Je=oe(A,Le,$[Ae],ue);if(Je===null){Le===null&&(Le=Mt);break}o&&Le&&Je.alternate===null&&i(A,Le),N=v(Je,N,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je,Le=Mt}if(Ae===$.length)return a(A,Le),lt&&no(A,Ae),Ee;if(Le===null){for(;Ae<$.length;Ae++)Le=le(A,$[Ae],ue),Le!==null&&(N=v(Le,N,Ae),Te===null?Ee=Le:Te.sibling=Le,Te=Le);return lt&&no(A,Ae),Ee}for(Le=f(A,Le);Ae<$.length;Ae++)Mt=ge(Le,A,Ae,$[Ae],ue),Mt!==null&&(o&&Mt.alternate!==null&&Le.delete(Mt.key===null?Ae:Mt.key),N=v(Mt,N,Ae),Te===null?Ee=Mt:Te.sibling=Mt,Te=Mt);return o&&Le.forEach(function(Hr){return i(A,Hr)}),lt&&no(A,Ae),Ee}function Ce(A,N,$,ue){var Ee=Q($);if(typeof Ee!="function")throw Error(n(150));if($=Ee.call($),$==null)throw Error(n(151));for(var Te=Ee=null,Le=N,Ae=N=0,Mt=null,Je=$.next();Le!==null&&!Je.done;Ae++,Je=$.next()){Le.index>Ae?(Mt=Le,Le=null):Mt=Le.sibling;var Hr=oe(A,Le,Je.value,ue);if(Hr===null){Le===null&&(Le=Mt);break}o&&Le&&Hr.alternate===null&&i(A,Le),N=v(Hr,N,Ae),Te===null?Ee=Hr:Te.sibling=Hr,Te=Hr,Le=Mt}if(Je.done)return a(A,Le),lt&&no(A,Ae),Ee;if(Le===null){for(;!Je.done;Ae++,Je=$.next())Je=le(A,Je.value,ue),Je!==null&&(N=v(Je,N,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je);return lt&&no(A,Ae),Ee}for(Le=f(A,Le);!Je.done;Ae++,Je=$.next())Je=ge(Le,A,Ae,Je.value,ue),Je!==null&&(o&&Je.alternate!==null&&Le.delete(Je.key===null?Ae:Je.key),N=v(Je,N,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je);return o&&Le.forEach(function(Jv){return i(A,Jv)}),lt&&no(A,Ae),Ee}function yt(A,N,$,ue){if(typeof $=="object"&&$!==null&&$.type===ee&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case U:e:{for(var Ee=$.key,Te=N;Te!==null;){if(Te.key===Ee){if(Ee=$.type,Ee===ee){if(Te.tag===7){a(A,Te.sibling),N=h(Te,$.props.children),N.return=A,A=N;break e}}else if(Te.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===fe&&Y3(Ee)===Te.type){a(A,Te.sibling),N=h(Te,$.props),N.ref=hs(A,Te,$),N.return=A,A=N;break e}a(A,Te);break}else i(A,Te);Te=Te.sibling}$.type===ee?(N=uo($.props.children,A.mode,ue,$.key),N.return=A,A=N):(ue=xa($.type,$.key,$.props,null,A.mode,ue),ue.ref=hs(A,N,$),ue.return=A,A=ue)}return _(A);case Z:e:{for(Te=$.key;N!==null;){if(N.key===Te)if(N.tag===4&&N.stateNode.containerInfo===$.containerInfo&&N.stateNode.implementation===$.implementation){a(A,N.sibling),N=h(N,$.children||[]),N.return=A,A=N;break e}else{a(A,N);break}else i(A,N);N=N.sibling}N=Hu($,A.mode,ue),N.return=A,A=N}return _(A);case fe:return Te=$._init,yt(A,N,Te($._payload),ue)}if(Dt($))return be(A,N,$,ue);if(Q($))return Ce(A,N,$,ue);K1(A,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,N!==null&&N.tag===6?(a(A,N.sibling),N=h(N,$),N.return=A,A=N):(a(A,N),N=$u($,A.mode,ue),N.return=A,A=N),_(A)):a(A,N)}return yt}var Jo=J3(!0),X3=J3(!1),Y1=Or(null),J1=null,Xo=null,Yc=null;function Jc(){Yc=Xo=J1=null}function Xc(o){var i=Y1.current;at(Y1),o._currentValue=i}function Qc(o,i,a){for(;o!==null;){var f=o.alternate;if((o.childLanes&i)!==i?(o.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),o===a)break;o=o.return}}function Qo(o,i){J1=o,Yc=Xo=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&i)!==0&&(Xt=!0),o.firstContext=null)}function _n(o){var i=o._currentValue;if(Yc!==o)if(o={context:o,memoizedValue:i,next:null},Xo===null){if(J1===null)throw Error(n(308));Xo=o,J1.dependencies={lanes:0,firstContext:o}}else Xo=Xo.next=o;return i}var ro=null;function eu(o){ro===null?ro=[o]:ro.push(o)}function Q3(o,i,a,f){var h=i.interleaved;return h===null?(a.next=a,eu(i)):(a.next=h.next,h.next=a),i.interleaved=a,ar(o,f)}function ar(o,i){o.lanes|=i;var a=o.alternate;for(a!==null&&(a.lanes|=i),a=o,o=o.return;o!==null;)o.childLanes|=i,a=o.alternate,a!==null&&(a.childLanes|=i),a=o,o=o.return;return a.tag===3?a.stateNode:null}var Nr=!1;function tu(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function e4(o,i){o=o.updateQueue,i.updateQueue===o&&(i.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function lr(o,i){return{eventTime:o,lane:i,tag:0,payload:null,callback:null,next:null}}function Pr(o,i,a){var f=o.updateQueue;if(f===null)return null;if(f=f.shared,(Ke&2)!==0){var h=f.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),f.pending=i,ar(o,a)}return h=f.interleaved,h===null?(i.next=i,eu(f)):(i.next=h.next,h.next=i),f.interleaved=i,ar(o,a)}function X1(o,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,mc(o,a)}}function t4(o,i){var a=o.updateQueue,f=o.alternate;if(f!==null&&(f=f.updateQueue,a===f)){var h=null,v=null;if(a=a.firstBaseUpdate,a!==null){do{var _={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};v===null?h=v=_:v=v.next=_,a=a.next}while(a!==null);v===null?h=v=i:v=v.next=i}else h=v=i;a={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:v,shared:f.shared,effects:f.effects},o.updateQueue=a;return}o=a.lastBaseUpdate,o===null?a.firstBaseUpdate=i:o.next=i,a.lastBaseUpdate=i}function Q1(o,i,a,f){var h=o.updateQueue;Nr=!1;var v=h.firstBaseUpdate,_=h.lastBaseUpdate,E=h.shared.pending;if(E!==null){h.shared.pending=null;var T=E,W=T.next;T.next=null,_===null?v=W:_.next=W,_=T;var ie=o.alternate;ie!==null&&(ie=ie.updateQueue,E=ie.lastBaseUpdate,E!==_&&(E===null?ie.firstBaseUpdate=W:E.next=W,ie.lastBaseUpdate=T))}if(v!==null){var le=h.baseState;_=0,ie=W=T=null,E=v;do{var oe=E.lane,ge=E.eventTime;if((f&oe)===oe){ie!==null&&(ie=ie.next={eventTime:ge,lane:0,tag:E.tag,payload:E.payload,callback:E.callback,next:null});e:{var be=o,Ce=E;switch(oe=i,ge=a,Ce.tag){case 1:if(be=Ce.payload,typeof be=="function"){le=be.call(ge,le,oe);break e}le=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=Ce.payload,oe=typeof be=="function"?be.call(ge,le,oe):be,oe==null)break e;le=te({},le,oe);break e;case 2:Nr=!0}}E.callback!==null&&E.lane!==0&&(o.flags|=64,oe=h.effects,oe===null?h.effects=[E]:oe.push(E))}else ge={eventTime:ge,lane:oe,tag:E.tag,payload:E.payload,callback:E.callback,next:null},ie===null?(W=ie=ge,T=le):ie=ie.next=ge,_|=oe;if(E=E.next,E===null){if(E=h.shared.pending,E===null)break;oe=E,E=oe.next,oe.next=null,h.lastBaseUpdate=oe,h.shared.pending=null}}while(!0);if(ie===null&&(T=le),h.baseState=T,h.firstBaseUpdate=W,h.lastBaseUpdate=ie,i=h.shared.interleaved,i!==null){h=i;do _|=h.lane,h=h.next;while(h!==i)}else v===null&&(h.shared.lanes=0);so|=_,o.lanes=_,o.memoizedState=le}}function n4(o,i,a){if(o=i.effects,i.effects=null,o!==null)for(i=0;i<o.length;i++){var f=o[i],h=f.callback;if(h!==null){if(f.callback=null,f=a,typeof h!="function")throw Error(n(191,h));h.call(f)}}}var ps={},qn=Or(ps),ms=Or(ps),gs=Or(ps);function oo(o){if(o===ps)throw Error(n(174));return o}function nu(o,i){switch(rt(gs,i),rt(ms,o),rt(qn,ps),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:rc(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=rc(i,o)}at(qn),rt(qn,i)}function ei(){at(qn),at(ms),at(gs)}function r4(o){oo(gs.current);var i=oo(qn.current),a=rc(i,o.type);i!==a&&(rt(ms,o),rt(qn,a))}function ru(o){ms.current===o&&(at(qn),at(ms))}var ft=Or(0);function ea(o){for(var i=o;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var ou=[];function iu(){for(var o=0;o<ou.length;o++)ou[o]._workInProgressVersionPrimary=null;ou.length=0}var ta=z.ReactCurrentDispatcher,su=z.ReactCurrentBatchConfig,io=0,ht=null,Ct=null,jt=null,na=!1,vs=!1,ws=0,xv=0;function $t(){throw Error(n(321))}function au(o,i){if(i===null)return!1;for(var a=0;a<i.length&&a<o.length;a++)if(!On(o[a],i[a]))return!1;return!0}function lu(o,i,a,f,h,v){if(io=v,ht=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,ta.current=o===null||o.memoizedState===null?Cv:kv,o=a(f,h),vs){v=0;do{if(vs=!1,ws=0,25<=v)throw Error(n(301));v+=1,jt=Ct=null,i.updateQueue=null,ta.current=Sv,o=a(f,h)}while(vs)}if(ta.current=ia,i=Ct!==null&&Ct.next!==null,io=0,jt=Ct=ht=null,na=!1,i)throw Error(n(300));return o}function cu(){var o=ws!==0;return ws=0,o}function Gn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jt===null?ht.memoizedState=jt=o:jt=jt.next=o,jt}function bn(){if(Ct===null){var o=ht.alternate;o=o!==null?o.memoizedState:null}else o=Ct.next;var i=jt===null?ht.memoizedState:jt.next;if(i!==null)jt=i,Ct=o;else{if(o===null)throw Error(n(310));Ct=o,o={memoizedState:Ct.memoizedState,baseState:Ct.baseState,baseQueue:Ct.baseQueue,queue:Ct.queue,next:null},jt===null?ht.memoizedState=jt=o:jt=jt.next=o}return jt}function xs(o,i){return typeof i=="function"?i(o):i}function uu(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=Ct,h=f.baseQueue,v=a.pending;if(v!==null){if(h!==null){var _=h.next;h.next=v.next,v.next=_}f.baseQueue=h=v,a.pending=null}if(h!==null){v=h.next,f=f.baseState;var E=_=null,T=null,W=v;do{var ie=W.lane;if((io&ie)===ie)T!==null&&(T=T.next={lane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),f=W.hasEagerState?W.eagerState:o(f,W.action);else{var le={lane:ie,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};T===null?(E=T=le,_=f):T=T.next=le,ht.lanes|=ie,so|=ie}W=W.next}while(W!==null&&W!==v);T===null?_=f:T.next=E,On(f,i.memoizedState)||(Xt=!0),i.memoizedState=f,i.baseState=_,i.baseQueue=T,a.lastRenderedState=f}if(o=a.interleaved,o!==null){h=o;do v=h.lane,ht.lanes|=v,so|=v,h=h.next;while(h!==o)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function du(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=a.dispatch,h=a.pending,v=i.memoizedState;if(h!==null){a.pending=null;var _=h=h.next;do v=o(v,_.action),_=_.next;while(_!==h);On(v,i.memoizedState)||(Xt=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),a.lastRenderedState=v}return[v,f]}function o4(){}function i4(o,i){var a=ht,f=bn(),h=i(),v=!On(f.memoizedState,h);if(v&&(f.memoizedState=h,Xt=!0),f=f.queue,fu(l4.bind(null,a,f,o),[o]),f.getSnapshot!==i||v||jt!==null&&jt.memoizedState.tag&1){if(a.flags|=2048,ys(9,a4.bind(null,a,f,h,i),void 0,null),It===null)throw Error(n(349));(io&30)!==0||s4(a,i,h)}return h}function s4(o,i,a){o.flags|=16384,o={getSnapshot:i,value:a},i=ht.updateQueue,i===null?(i={lastEffect:null,stores:null},ht.updateQueue=i,i.stores=[o]):(a=i.stores,a===null?i.stores=[o]:a.push(o))}function a4(o,i,a,f){i.value=a,i.getSnapshot=f,c4(i)&&u4(o)}function l4(o,i,a){return a(function(){c4(i)&&u4(o)})}function c4(o){var i=o.getSnapshot;o=o.value;try{var a=i();return!On(o,a)}catch{return!0}}function u4(o){var i=ar(o,1);i!==null&&zn(i,o,1,-1)}function d4(o){var i=Gn();return typeof o=="function"&&(o=o()),i.memoizedState=i.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xs,lastRenderedState:o},i.queue=o,o=o.dispatch=bv.bind(null,ht,o),[i.memoizedState,o]}function ys(o,i,a,f){return o={tag:o,create:i,destroy:a,deps:f,next:null},i=ht.updateQueue,i===null?(i={lastEffect:null,stores:null},ht.updateQueue=i,i.lastEffect=o.next=o):(a=i.lastEffect,a===null?i.lastEffect=o.next=o:(f=a.next,a.next=o,o.next=f,i.lastEffect=o)),o}function f4(){return bn().memoizedState}function ra(o,i,a,f){var h=Gn();ht.flags|=o,h.memoizedState=ys(1|i,a,void 0,f===void 0?null:f)}function oa(o,i,a,f){var h=bn();f=f===void 0?null:f;var v=void 0;if(Ct!==null){var _=Ct.memoizedState;if(v=_.destroy,f!==null&&au(f,_.deps)){h.memoizedState=ys(i,a,v,f);return}}ht.flags|=o,h.memoizedState=ys(1|i,a,v,f)}function h4(o,i){return ra(8390656,8,o,i)}function fu(o,i){return oa(2048,8,o,i)}function p4(o,i){return oa(4,2,o,i)}function m4(o,i){return oa(4,4,o,i)}function g4(o,i){if(typeof i=="function")return o=o(),i(o),function(){i(null)};if(i!=null)return o=o(),i.current=o,function(){i.current=null}}function v4(o,i,a){return a=a!=null?a.concat([o]):null,oa(4,4,g4.bind(null,i,o),a)}function hu(){}function w4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&au(i,f[1])?f[0]:(a.memoizedState=[o,i],o)}function x4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&au(i,f[1])?f[0]:(o=o(),a.memoizedState=[o,i],o)}function y4(o,i,a){return(io&21)===0?(o.baseState&&(o.baseState=!1,Xt=!0),o.memoizedState=a):(On(a,i)||(a=Y2(),ht.lanes|=a,so|=a,o.baseState=!0),i)}function yv(o,i){var a=et;et=a!==0&&4>a?a:4,o(!0);var f=su.transition;su.transition={};try{o(!1),i()}finally{et=a,su.transition=f}}function _4(){return bn().memoizedState}function _v(o,i,a){var f=Dr(o);if(a={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null},b4(o))C4(i,a);else if(a=Q3(o,i,a,f),a!==null){var h=qt();zn(a,o,f,h),k4(a,i,f)}}function bv(o,i,a){var f=Dr(o),h={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null};if(b4(o))C4(i,h);else{var v=o.alternate;if(o.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var _=i.lastRenderedState,E=v(_,a);if(h.hasEagerState=!0,h.eagerState=E,On(E,_)){var T=i.interleaved;T===null?(h.next=h,eu(i)):(h.next=T.next,T.next=h),i.interleaved=h;return}}catch{}finally{}a=Q3(o,i,h,f),a!==null&&(h=qt(),zn(a,o,f,h),k4(a,i,f))}}function b4(o){var i=o.alternate;return o===ht||i!==null&&i===ht}function C4(o,i){vs=na=!0;var a=o.pending;a===null?i.next=i:(i.next=a.next,a.next=i),o.pending=i}function k4(o,i,a){if((a&4194240)!==0){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,mc(o,a)}}var ia={readContext:_n,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},Cv={readContext:_n,useCallback:function(o,i){return Gn().memoizedState=[o,i===void 0?null:i],o},useContext:_n,useEffect:h4,useImperativeHandle:function(o,i,a){return a=a!=null?a.concat([o]):null,ra(4194308,4,g4.bind(null,i,o),a)},useLayoutEffect:function(o,i){return ra(4194308,4,o,i)},useInsertionEffect:function(o,i){return ra(4,2,o,i)},useMemo:function(o,i){var a=Gn();return i=i===void 0?null:i,o=o(),a.memoizedState=[o,i],o},useReducer:function(o,i,a){var f=Gn();return i=a!==void 0?a(i):i,f.memoizedState=f.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},f.queue=o,o=o.dispatch=_v.bind(null,ht,o),[f.memoizedState,o]},useRef:function(o){var i=Gn();return o={current:o},i.memoizedState=o},useState:d4,useDebugValue:hu,useDeferredValue:function(o){return Gn().memoizedState=o},useTransition:function(){var o=d4(!1),i=o[0];return o=yv.bind(null,o[1]),Gn().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,a){var f=ht,h=Gn();if(lt){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),It===null)throw Error(n(349));(io&30)!==0||s4(f,i,a)}h.memoizedState=a;var v={value:a,getSnapshot:i};return h.queue=v,h4(l4.bind(null,f,v,o),[o]),f.flags|=2048,ys(9,a4.bind(null,f,v,a,i),void 0,null),a},useId:function(){var o=Gn(),i=It.identifierPrefix;if(lt){var a=sr,f=ir;a=(f&~(1<<32-Mn(f)-1)).toString(32)+a,i=":"+i+"R"+a,a=ws++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=xv++,i=":"+i+"r"+a.toString(32)+":";return o.memoizedState=i},unstable_isNewReconciler:!1},kv={readContext:_n,useCallback:w4,useContext:_n,useEffect:fu,useImperativeHandle:v4,useInsertionEffect:p4,useLayoutEffect:m4,useMemo:x4,useReducer:uu,useRef:f4,useState:function(){return uu(xs)},useDebugValue:hu,useDeferredValue:function(o){var i=bn();return y4(i,Ct.memoizedState,o)},useTransition:function(){var o=uu(xs)[0],i=bn().memoizedState;return[o,i]},useMutableSource:o4,useSyncExternalStore:i4,useId:_4,unstable_isNewReconciler:!1},Sv={readContext:_n,useCallback:w4,useContext:_n,useEffect:fu,useImperativeHandle:v4,useInsertionEffect:p4,useLayoutEffect:m4,useMemo:x4,useReducer:du,useRef:f4,useState:function(){return du(xs)},useDebugValue:hu,useDeferredValue:function(o){var i=bn();return Ct===null?i.memoizedState=o:y4(i,Ct.memoizedState,o)},useTransition:function(){var o=du(xs)[0],i=bn().memoizedState;return[o,i]},useMutableSource:o4,useSyncExternalStore:i4,useId:_4,unstable_isNewReconciler:!1};function Ln(o,i){if(o&&o.defaultProps){i=te({},i),o=o.defaultProps;for(var a in o)i[a]===void 0&&(i[a]=o[a]);return i}return i}function pu(o,i,a,f){i=o.memoizedState,a=a(f,i),a=a==null?i:te({},i,a),o.memoizedState=a,o.lanes===0&&(o.updateQueue.baseState=a)}var sa={isMounted:function(o){return(o=o._reactInternals)?Xr(o)===o:!1},enqueueSetState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Dr(o),v=lr(f,h);v.payload=i,a!=null&&(v.callback=a),i=Pr(o,v,h),i!==null&&(zn(i,o,h,f),X1(i,o,h))},enqueueReplaceState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Dr(o),v=lr(f,h);v.tag=1,v.payload=i,a!=null&&(v.callback=a),i=Pr(o,v,h),i!==null&&(zn(i,o,h,f),X1(i,o,h))},enqueueForceUpdate:function(o,i){o=o._reactInternals;var a=qt(),f=Dr(o),h=lr(a,f);h.tag=2,i!=null&&(h.callback=i),i=Pr(o,h,f),i!==null&&(zn(i,o,f,a),X1(i,o,f))}};function S4(o,i,a,f,h,v,_){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(f,v,_):i.prototype&&i.prototype.isPureReactComponent?!ss(a,f)||!ss(h,v):!0}function E4(o,i,a){var f=!1,h=Tr,v=i.contextType;return typeof v=="object"&&v!==null?v=_n(v):(h=Jt(i)?eo:Ft.current,f=i.contextTypes,v=(f=f!=null)?qo(o,h):Tr),i=new i(a,v),o.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=sa,o.stateNode=i,i._reactInternals=o,f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=h,o.__reactInternalMemoizedMaskedChildContext=v),i}function j4(o,i,a,f){o=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,f),i.state!==o&&sa.enqueueReplaceState(i,i.state,null)}function mu(o,i,a,f){var h=o.stateNode;h.props=a,h.state=o.memoizedState,h.refs={},tu(o);var v=i.contextType;typeof v=="object"&&v!==null?h.context=_n(v):(v=Jt(i)?eo:Ft.current,h.context=qo(o,v)),h.state=o.memoizedState,v=i.getDerivedStateFromProps,typeof v=="function"&&(pu(o,i,v,a),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&sa.enqueueReplaceState(h,h.state,null),Q1(o,a,h,f),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308)}function ti(o,i){try{var a="",f=i;do a+=Oe(f),f=f.return;while(f);var h=a}catch(v){h=`
|
|
119
|
+
`),b=h.length-1,j=v.length-1;1<=b&&0<=j&&h[b]!==v[j];)j--;for(;1<=b&&0<=j;b--,j--)if(h[b]!==v[j]){if(b!==1||j!==1)do if(b--,j--,0>j||h[b]!==v[j]){var T=`
|
|
120
|
+
`+h[b].replace(" at new "," at ");return o.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",o.displayName)),T}while(1<=b&&0<=j);break}}}finally{re=!1,Error.prepareStackTrace=a}return(o=o?o.displayName||o.name:"")?D(o):""}function Oe(o){switch(o.tag){case 5:return D(o.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return o=pe(o.type,!1),o;case 11:return o=pe(o.type.render,!1),o;case 1:return o=pe(o.type,!0),o;default:return""}}function Pe(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case ee:return"Fragment";case Z:return"Portal";case G:return"Profiler";case q:return"StrictMode";case K:return"Suspense";case X:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Y:return(o.displayName||"Context")+".Consumer";case k:return(o._context.displayName||"Context")+".Provider";case V:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case we:return i=o.displayName||null,i!==null?i:Pe(o.type)||"Memo";case he:i=o._payload,o=o._init;try{return Pe(o(i))}catch{}}return null}function Be(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pe(i);case 8:return i===q?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Fe(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Re(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function fe(o){var i=Re(o)?"checked":"value",a=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),f=""+o[i];if(!o.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,v=a.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return h.call(this)},set:function(b){f=""+b,v.call(this,b)}}),Object.defineProperty(o,i,{enumerable:a.enumerable}),{getValue:function(){return f},setValue:function(b){f=""+b},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function De(o){o._valueTracker||(o._valueTracker=fe(o))}function dt(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var a=i.getValue(),f="";return o&&(f=Re(o)?o.checked?"true":"false":o.value),o=f,o!==a?(i.setValue(o),!0):!1}function Ye(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Qe(o,i){var a=i.checked;return te({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??o._wrapperState.initialChecked})}function an(o,i){var a=i.defaultValue==null?"":i.defaultValue,f=i.checked!=null?i.checked:i.defaultChecked;a=Fe(i.value!=null?i.value:a),o._wrapperState={initialChecked:f,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Ze(o,i){i=i.checked,i!=null&&B(o,"checked",i,!1)}function ln(o,i){Ze(o,i);var a=Fe(i.value),f=i.type;if(a!=null)f==="number"?(a===0&&o.value===""||o.value!=a)&&(o.value=""+a):o.value!==""+a&&(o.value=""+a);else if(f==="submit"||f==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?wn(o,i.type,a):i.hasOwnProperty("defaultValue")&&wn(o,i.type,Fe(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function nr(o,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var f=i.type;if(!(f!=="submit"&&f!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,a||i===o.value||(o.value=i),o.defaultValue=i}a=o.name,a!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,a!==""&&(o.name=a)}function wn(o,i,a){(i!=="number"||Ye(o.ownerDocument)!==o)&&(a==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+a&&(o.defaultValue=""+a))}var Dt=Array.isArray;function gt(o,i,a,f){if(o=o.options,i){i={};for(var h=0;h<a.length;h++)i["$"+a[h]]=!0;for(a=0;a<o.length;a++)h=i.hasOwnProperty("$"+o[a].value),o[a].selected!==h&&(o[a].selected=h),h&&f&&(o[a].defaultSelected=!0)}else{for(a=""+Fe(a),i=null,h=0;h<o.length;h++){if(o[h].value===a){o[h].selected=!0,f&&(o[h].defaultSelected=!0);return}i!==null||o[h].disabled||(i=o[h])}i!==null&&(i.selected=!0)}}function Zn(o,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return te({},i,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function $i(o,i){var a=i.value;if(a==null){if(a=i.children,i=i.defaultValue,a!=null){if(i!=null)throw Error(n(92));if(Dt(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}o._wrapperState={initialValue:Fe(a)}}function Hi(o,i){var a=Fe(i.value),f=Fe(i.defaultValue);a!=null&&(a=""+a,a!==o.value&&(o.value=a),i.defaultValue==null&&o.defaultValue!==a&&(o.defaultValue=a)),f!=null&&(o.defaultValue=""+f)}function Vi(o){var i=o.textContent;i===o._wrapperState.initialValue&&i!==""&&i!==null&&(o.value=i)}function Bi(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function oc(o,i){return o==null||o==="http://www.w3.org/1999/xhtml"?Bi(i):o==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var y1,N2=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,f,h){MSApp.execUnsafeLocalFunction(function(){return o(i,a,f,h)})}:o})(function(o,i){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=i;else{for(y1=y1||document.createElement("div"),y1.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=y1.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Zi(o,i){if(i){var a=o.firstChild;if(a&&a===o.lastChild&&a.nodeType===3){a.nodeValue=i;return}}o.textContent=i}var Wi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},og=["Webkit","ms","Moz","O"];Object.keys(Wi).forEach(function(o){og.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Wi[i]=Wi[o]})});function z2(o,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Wi.hasOwnProperty(o)&&Wi[o]?(""+i).trim():i+"px"}function A2(o,i){o=o.style;for(var a in i)if(i.hasOwnProperty(a)){var f=a.indexOf("--")===0,h=z2(a,i[a],f);a==="float"&&(a="cssFloat"),f?o.setProperty(a,h):o[a]=h}}var ig=te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ic(o,i){if(i){if(ig[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function sc(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ac=null;function lc(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var cc=null,Ro=null,Do=null;function R2(o){if(o=hs(o)){if(typeof cc!="function")throw Error(n(280));var i=o.stateNode;i&&(i=B1(i),cc(o.stateNode,o.type,i))}}function D2(o){Ro?Do?Do.push(o):Do=[o]:Ro=o}function F2(){if(Ro){var o=Ro,i=Do;if(Do=Ro=null,R2(o),i)for(o=0;o<i.length;o++)R2(i[o])}}function $2(o,i){return o(i)}function H2(){}var uc=!1;function V2(o,i,a){if(uc)return o(i,a);uc=!0;try{return $2(o,i,a)}finally{uc=!1,(Ro!==null||Do!==null)&&(H2(),F2())}}function Ui(o,i){var a=o.stateNode;if(a===null)return null;var f=B1(a);if(f===null)return null;a=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(o=o.type,f=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!f;break e;default:o=!1}if(o)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var dc=!1;if(d)try{var qi={};Object.defineProperty(qi,"passive",{get:function(){dc=!0}}),window.addEventListener("test",qi,qi),window.removeEventListener("test",qi,qi)}catch{dc=!1}function sg(o,i,a,f,h,v,b,j,T){var W=Array.prototype.slice.call(arguments,3);try{i.apply(a,W)}catch(ie){this.onError(ie)}}var Gi=!1,_1=null,b1=!1,fc=null,ag={onError:function(o){Gi=!0,_1=o}};function lg(o,i,a,f,h,v,b,j,T){Gi=!1,_1=null,sg.apply(ag,arguments)}function cg(o,i,a,f,h,v,b,j,T){if(lg.apply(this,arguments),Gi){if(Gi){var W=_1;Gi=!1,_1=null}else throw Error(n(198));b1||(b1=!0,fc=W)}}function Qr(o){var i=o,a=o;if(o.alternate)for(;i.return;)i=i.return;else{o=i;do i=o,(i.flags&4098)!==0&&(a=i.return),o=i.return;while(o)}return i.tag===3?a:null}function B2(o){if(o.tag===13){var i=o.memoizedState;if(i===null&&(o=o.alternate,o!==null&&(i=o.memoizedState)),i!==null)return i.dehydrated}return null}function Z2(o){if(Qr(o)!==o)throw Error(n(188))}function ug(o){var i=o.alternate;if(!i){if(i=Qr(o),i===null)throw Error(n(188));return i!==o?null:o}for(var a=o,f=i;;){var h=a.return;if(h===null)break;var v=h.alternate;if(v===null){if(f=h.return,f!==null){a=f;continue}break}if(h.child===v.child){for(v=h.child;v;){if(v===a)return Z2(h),o;if(v===f)return Z2(h),i;v=v.sibling}throw Error(n(188))}if(a.return!==f.return)a=h,f=v;else{for(var b=!1,j=h.child;j;){if(j===a){b=!0,a=h,f=v;break}if(j===f){b=!0,f=h,a=v;break}j=j.sibling}if(!b){for(j=v.child;j;){if(j===a){b=!0,a=v,f=h;break}if(j===f){b=!0,f=v,a=h;break}j=j.sibling}if(!b)throw Error(n(189))}}if(a.alternate!==f)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?o:i}function W2(o){return o=ug(o),o!==null?U2(o):null}function U2(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var i=U2(o);if(i!==null)return i;o=o.sibling}return null}var q2=t.unstable_scheduleCallback,G2=t.unstable_cancelCallback,dg=t.unstable_shouldYield,fg=t.unstable_requestPaint,xt=t.unstable_now,hg=t.unstable_getCurrentPriorityLevel,hc=t.unstable_ImmediatePriority,K2=t.unstable_UserBlockingPriority,C1=t.unstable_NormalPriority,pg=t.unstable_LowPriority,Y2=t.unstable_IdlePriority,k1=null,Wn=null;function mg(o){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(k1,o,void 0,(o.current.flags&128)===128)}catch{}}var Mn=Math.clz32?Math.clz32:wg,gg=Math.log,vg=Math.LN2;function wg(o){return o>>>=0,o===0?32:31-(gg(o)/vg|0)|0}var S1=64,E1=4194304;function Ki(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function j1(o,i){var a=o.pendingLanes;if(a===0)return 0;var f=0,h=o.suspendedLanes,v=o.pingedLanes,b=a&268435455;if(b!==0){var j=b&~h;j!==0?f=Ki(j):(v&=b,v!==0&&(f=Ki(v)))}else b=a&~h,b!==0?f=Ki(b):v!==0&&(f=Ki(v));if(f===0)return 0;if(i!==0&&i!==f&&(i&h)===0&&(h=f&-f,v=i&-i,h>=v||h===16&&(v&4194240)!==0))return i;if((f&4)!==0&&(f|=a&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=f;0<i;)a=31-Mn(i),h=1<<a,f|=o[a],i&=~h;return f}function xg(o,i){switch(o){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function yg(o,i){for(var a=o.suspendedLanes,f=o.pingedLanes,h=o.expirationTimes,v=o.pendingLanes;0<v;){var b=31-Mn(v),j=1<<b,T=h[b];T===-1?((j&a)===0||(j&f)!==0)&&(h[b]=xg(j,i)):T<=i&&(o.expiredLanes|=j),v&=~j}}function pc(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function J2(){var o=S1;return S1<<=1,(S1&4194240)===0&&(S1=64),o}function mc(o){for(var i=[],a=0;31>a;a++)i.push(o);return i}function Yi(o,i,a){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Mn(i),o[i]=a}function _g(o,i){var a=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var f=o.eventTimes;for(o=o.expirationTimes;0<a;){var h=31-Mn(a),v=1<<h;i[h]=0,f[h]=-1,o[h]=-1,a&=~v}}function gc(o,i){var a=o.entangledLanes|=i;for(o=o.entanglements;a;){var f=31-Mn(a),h=1<<f;h&i|o[f]&i&&(o[f]|=i),a&=~h}}var et=0;function X2(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Q2,vc,e3,t3,n3,wc=!1,I1=[],kr=null,Sr=null,Er=null,Ji=new Map,Xi=new Map,jr=[],bg="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function r3(o,i){switch(o){case"focusin":case"focusout":kr=null;break;case"dragenter":case"dragleave":Sr=null;break;case"mouseover":case"mouseout":Er=null;break;case"pointerover":case"pointerout":Ji.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xi.delete(i.pointerId)}}function Qi(o,i,a,f,h,v){return o===null||o.nativeEvent!==v?(o={blockedOn:i,domEventName:a,eventSystemFlags:f,nativeEvent:v,targetContainers:[h]},i!==null&&(i=hs(i),i!==null&&vc(i)),o):(o.eventSystemFlags|=f,i=o.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),o)}function Cg(o,i,a,f,h){switch(i){case"focusin":return kr=Qi(kr,o,i,a,f,h),!0;case"dragenter":return Sr=Qi(Sr,o,i,a,f,h),!0;case"mouseover":return Er=Qi(Er,o,i,a,f,h),!0;case"pointerover":var v=h.pointerId;return Ji.set(v,Qi(Ji.get(v)||null,o,i,a,f,h)),!0;case"gotpointercapture":return v=h.pointerId,Xi.set(v,Qi(Xi.get(v)||null,o,i,a,f,h)),!0}return!1}function o3(o){var i=eo(o.target);if(i!==null){var a=Qr(i);if(a!==null){if(i=a.tag,i===13){if(i=B2(a),i!==null){o.blockedOn=i,n3(o.priority,function(){e3(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){o.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}o.blockedOn=null}function M1(o){if(o.blockedOn!==null)return!1;for(var i=o.targetContainers;0<i.length;){var a=yc(o.domEventName,o.eventSystemFlags,i[0],o.nativeEvent);if(a===null){a=o.nativeEvent;var f=new a.constructor(a.type,a);ac=f,a.target.dispatchEvent(f),ac=null}else return i=hs(a),i!==null&&vc(i),o.blockedOn=a,!1;i.shift()}return!0}function i3(o,i,a){M1(o)&&a.delete(i)}function kg(){wc=!1,kr!==null&&M1(kr)&&(kr=null),Sr!==null&&M1(Sr)&&(Sr=null),Er!==null&&M1(Er)&&(Er=null),Ji.forEach(i3),Xi.forEach(i3)}function es(o,i){o.blockedOn===i&&(o.blockedOn=null,wc||(wc=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,kg)))}function ts(o){function i(h){return es(h,o)}if(0<I1.length){es(I1[0],o);for(var a=1;a<I1.length;a++){var f=I1[a];f.blockedOn===o&&(f.blockedOn=null)}}for(kr!==null&&es(kr,o),Sr!==null&&es(Sr,o),Er!==null&&es(Er,o),Ji.forEach(i),Xi.forEach(i),a=0;a<jr.length;a++)f=jr[a],f.blockedOn===o&&(f.blockedOn=null);for(;0<jr.length&&(a=jr[0],a.blockedOn===null);)o3(a),a.blockedOn===null&&jr.shift()}var Fo=z.ReactCurrentBatchConfig,O1=!0;function Sg(o,i,a,f){var h=et,v=Fo.transition;Fo.transition=null;try{et=1,xc(o,i,a,f)}finally{et=h,Fo.transition=v}}function Eg(o,i,a,f){var h=et,v=Fo.transition;Fo.transition=null;try{et=4,xc(o,i,a,f)}finally{et=h,Fo.transition=v}}function xc(o,i,a,f){if(O1){var h=yc(o,i,a,f);if(h===null)Rc(o,i,f,T1,a),r3(o,f);else if(Cg(h,o,i,a,f))f.stopPropagation();else if(r3(o,f),i&4&&-1<bg.indexOf(o)){for(;h!==null;){var v=hs(h);if(v!==null&&Q2(v),v=yc(o,i,a,f),v===null&&Rc(o,i,f,T1,a),v===h)break;h=v}h!==null&&f.stopPropagation()}else Rc(o,i,f,null,a)}}var T1=null;function yc(o,i,a,f){if(T1=null,o=lc(f),o=eo(o),o!==null)if(i=Qr(o),i===null)o=null;else if(a=i.tag,a===13){if(o=B2(i),o!==null)return o;o=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null);return T1=o,null}function s3(o){switch(o){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(hg()){case hc:return 1;case K2:return 4;case C1:case pg:return 16;case Y2:return 536870912;default:return 16}default:return 16}}var Ir=null,_c=null,L1=null;function a3(){if(L1)return L1;var o,i=_c,a=i.length,f,h="value"in Ir?Ir.value:Ir.textContent,v=h.length;for(o=0;o<a&&i[o]===h[o];o++);var b=a-o;for(f=1;f<=b&&i[a-f]===h[v-f];f++);return L1=h.slice(o,1<f?1-f:void 0)}function P1(o){var i=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&i===13&&(o=13)):o=i,o===10&&(o=13),32<=o||o===13?o:0}function N1(){return!0}function l3(){return!1}function cn(o){function i(a,f,h,v,b){this._reactName=a,this._targetInst=h,this.type=f,this.nativeEvent=v,this.target=b,this.currentTarget=null;for(var j in o)o.hasOwnProperty(j)&&(a=o[j],this[j]=a?a(v):v[j]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?N1:l3,this.isPropagationStopped=l3,this}return te(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=N1)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=N1)},persist:function(){},isPersistent:N1}),i}var $o={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bc=cn($o),ns=te({},$o,{view:0,detail:0}),jg=cn(ns),Cc,kc,rs,z1=te({},ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ec,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==rs&&(rs&&o.type==="mousemove"?(Cc=o.screenX-rs.screenX,kc=o.screenY-rs.screenY):kc=Cc=0,rs=o),Cc)},movementY:function(o){return"movementY"in o?o.movementY:kc}}),c3=cn(z1),Ig=te({},z1,{dataTransfer:0}),Mg=cn(Ig),Og=te({},ns,{relatedTarget:0}),Sc=cn(Og),Tg=te({},$o,{animationName:0,elapsedTime:0,pseudoElement:0}),Lg=cn(Tg),Pg=te({},$o,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Ng=cn(Pg),zg=te({},$o,{data:0}),u3=cn(zg),Ag={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rg={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Dg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fg(o){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(o):(o=Dg[o])?!!i[o]:!1}function Ec(){return Fg}var $g=te({},ns,{key:function(o){if(o.key){var i=Ag[o.key]||o.key;if(i!=="Unidentified")return i}return o.type==="keypress"?(o=P1(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Rg[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ec,charCode:function(o){return o.type==="keypress"?P1(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?P1(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Hg=cn($g),Vg=te({},z1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),d3=cn(Vg),Bg=te({},ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ec}),Zg=cn(Bg),Wg=te({},$o,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ug=cn(Wg),qg=te({},z1,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),Gg=cn(qg),Kg=[9,13,27,32],jc=d&&"CompositionEvent"in window,os=null;d&&"documentMode"in document&&(os=document.documentMode);var Yg=d&&"TextEvent"in window&&!os,f3=d&&(!jc||os&&8<os&&11>=os),h3=" ",p3=!1;function m3(o,i){switch(o){case"keyup":return Kg.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function g3(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Ho=!1;function Jg(o,i){switch(o){case"compositionend":return g3(i);case"keypress":return i.which!==32?null:(p3=!0,h3);case"textInput":return o=i.data,o===h3&&p3?null:o;default:return null}}function Xg(o,i){if(Ho)return o==="compositionend"||!jc&&m3(o,i)?(o=a3(),L1=_c=Ir=null,Ho=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return f3&&i.locale!=="ko"?null:i.data;default:return null}}var Qg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function v3(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i==="input"?!!Qg[o.type]:i==="textarea"}function w3(o,i,a,f){D2(f),i=$1(i,"onChange"),0<i.length&&(a=new bc("onChange","change",null,a,f),o.push({event:a,listeners:i}))}var is=null,ss=null;function ev(o){A3(o,0)}function A1(o){var i=Uo(o);if(dt(i))return o}function tv(o,i){if(o==="change")return i}var x3=!1;if(d){var Ic;if(d){var Mc="oninput"in document;if(!Mc){var y3=document.createElement("div");y3.setAttribute("oninput","return;"),Mc=typeof y3.oninput=="function"}Ic=Mc}else Ic=!1;x3=Ic&&(!document.documentMode||9<document.documentMode)}function _3(){is&&(is.detachEvent("onpropertychange",b3),ss=is=null)}function b3(o){if(o.propertyName==="value"&&A1(ss)){var i=[];w3(i,ss,o,lc(o)),V2(ev,i)}}function nv(o,i,a){o==="focusin"?(_3(),is=i,ss=a,is.attachEvent("onpropertychange",b3)):o==="focusout"&&_3()}function rv(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return A1(ss)}function ov(o,i){if(o==="click")return A1(i)}function iv(o,i){if(o==="input"||o==="change")return A1(i)}function sv(o,i){return o===i&&(o!==0||1/o===1/i)||o!==o&&i!==i}var On=typeof Object.is=="function"?Object.is:sv;function as(o,i){if(On(o,i))return!0;if(typeof o!="object"||o===null||typeof i!="object"||i===null)return!1;var a=Object.keys(o),f=Object.keys(i);if(a.length!==f.length)return!1;for(f=0;f<a.length;f++){var h=a[f];if(!p.call(i,h)||!On(o[h],i[h]))return!1}return!0}function C3(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function k3(o,i){var a=C3(o);o=0;for(var f;a;){if(a.nodeType===3){if(f=o+a.textContent.length,o<=i&&f>=i)return{node:a,offset:i-o};o=f}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=C3(a)}}function S3(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?S3(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function E3(){for(var o=window,i=Ye();i instanceof o.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)o=i.contentWindow;else break;i=Ye(o.document)}return i}function Oc(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function av(o){var i=E3(),a=o.focusedElem,f=o.selectionRange;if(i!==a&&a&&a.ownerDocument&&S3(a.ownerDocument.documentElement,a)){if(f!==null&&Oc(a)){if(i=f.start,o=f.end,o===void 0&&(o=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(o,a.value.length);else if(o=(i=a.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var h=a.textContent.length,v=Math.min(f.start,h);f=f.end===void 0?v:Math.min(f.end,h),!o.extend&&v>f&&(h=f,f=v,v=h),h=k3(a,v);var b=k3(a,f);h&&b&&(o.rangeCount!==1||o.anchorNode!==h.node||o.anchorOffset!==h.offset||o.focusNode!==b.node||o.focusOffset!==b.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),o.removeAllRanges(),v>f?(o.addRange(i),o.extend(b.node,b.offset)):(i.setEnd(b.node,b.offset),o.addRange(i)))}}for(i=[],o=a;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)o=i[a],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var lv=d&&"documentMode"in document&&11>=document.documentMode,Vo=null,Tc=null,ls=null,Lc=!1;function j3(o,i,a){var f=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Lc||Vo==null||Vo!==Ye(f)||(f=Vo,"selectionStart"in f&&Oc(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),ls&&as(ls,f)||(ls=f,f=$1(Tc,"onSelect"),0<f.length&&(i=new bc("onSelect","select",null,i,a),o.push({event:i,listeners:f}),i.target=Vo)))}function R1(o,i){var a={};return a[o.toLowerCase()]=i.toLowerCase(),a["Webkit"+o]="webkit"+i,a["Moz"+o]="moz"+i,a}var Bo={animationend:R1("Animation","AnimationEnd"),animationiteration:R1("Animation","AnimationIteration"),animationstart:R1("Animation","AnimationStart"),transitionend:R1("Transition","TransitionEnd")},Pc={},I3={};d&&(I3=document.createElement("div").style,"AnimationEvent"in window||(delete Bo.animationend.animation,delete Bo.animationiteration.animation,delete Bo.animationstart.animation),"TransitionEvent"in window||delete Bo.transitionend.transition);function D1(o){if(Pc[o])return Pc[o];if(!Bo[o])return o;var i=Bo[o],a;for(a in i)if(i.hasOwnProperty(a)&&a in I3)return Pc[o]=i[a];return o}var M3=D1("animationend"),O3=D1("animationiteration"),T3=D1("animationstart"),L3=D1("transitionend"),P3=new Map,N3="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(o,i){P3.set(o,i),l(i,[o])}for(var Nc=0;Nc<N3.length;Nc++){var zc=N3[Nc],cv=zc.toLowerCase(),uv=zc[0].toUpperCase()+zc.slice(1);Mr(cv,"on"+uv)}Mr(M3,"onAnimationEnd"),Mr(O3,"onAnimationIteration"),Mr(T3,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(L3,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dv=new Set("cancel close invalid load scroll toggle".split(" ").concat(cs));function z3(o,i,a){var f=o.type||"unknown-event";o.currentTarget=a,cg(f,i,void 0,o),o.currentTarget=null}function A3(o,i){i=(i&4)!==0;for(var a=0;a<o.length;a++){var f=o[a],h=f.event;f=f.listeners;e:{var v=void 0;if(i)for(var b=f.length-1;0<=b;b--){var j=f[b],T=j.instance,W=j.currentTarget;if(j=j.listener,T!==v&&h.isPropagationStopped())break e;z3(h,j,W),v=T}else for(b=0;b<f.length;b++){if(j=f[b],T=j.instance,W=j.currentTarget,j=j.listener,T!==v&&h.isPropagationStopped())break e;z3(h,j,W),v=T}}}if(b1)throw o=fc,b1=!1,fc=null,o}function st(o,i){var a=i[Bc];a===void 0&&(a=i[Bc]=new Set);var f=o+"__bubble";a.has(f)||(R3(i,o,2,!1),a.add(f))}function Ac(o,i,a){var f=0;i&&(f|=4),R3(a,o,f,i)}var F1="_reactListening"+Math.random().toString(36).slice(2);function us(o){if(!o[F1]){o[F1]=!0,r.forEach(function(a){a!=="selectionchange"&&(dv.has(a)||Ac(a,!1,o),Ac(a,!0,o))});var i=o.nodeType===9?o:o.ownerDocument;i===null||i[F1]||(i[F1]=!0,Ac("selectionchange",!1,i))}}function R3(o,i,a,f){switch(s3(i)){case 1:var h=Sg;break;case 4:h=Eg;break;default:h=xc}a=h.bind(null,i,a,o),h=void 0,!dc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),f?h!==void 0?o.addEventListener(i,a,{capture:!0,passive:h}):o.addEventListener(i,a,!0):h!==void 0?o.addEventListener(i,a,{passive:h}):o.addEventListener(i,a,!1)}function Rc(o,i,a,f,h){var v=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var b=f.tag;if(b===3||b===4){var j=f.stateNode.containerInfo;if(j===h||j.nodeType===8&&j.parentNode===h)break;if(b===4)for(b=f.return;b!==null;){var T=b.tag;if((T===3||T===4)&&(T=b.stateNode.containerInfo,T===h||T.nodeType===8&&T.parentNode===h))return;b=b.return}for(;j!==null;){if(b=eo(j),b===null)return;if(T=b.tag,T===5||T===6){f=v=b;continue e}j=j.parentNode}}f=f.return}V2(function(){var W=v,ie=lc(a),le=[];e:{var oe=P3.get(o);if(oe!==void 0){var ge=bc,be=o;switch(o){case"keypress":if(P1(a)===0)break e;case"keydown":case"keyup":ge=Hg;break;case"focusin":be="focus",ge=Sc;break;case"focusout":be="blur",ge=Sc;break;case"beforeblur":case"afterblur":ge=Sc;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ge=c3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=Mg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=Zg;break;case M3:case O3:case T3:ge=Lg;break;case L3:ge=Ug;break;case"scroll":ge=jg;break;case"wheel":ge=Gg;break;case"copy":case"cut":case"paste":ge=Ng;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=d3}var Ce=(i&4)!==0,yt=!Ce&&o==="scroll",A=Ce?oe!==null?oe+"Capture":null:oe;Ce=[];for(var P=W,$;P!==null;){$=P;var ue=$.stateNode;if($.tag===5&&ue!==null&&($=ue,A!==null&&(ue=Ui(P,A),ue!=null&&Ce.push(ds(P,ue,$)))),yt)break;P=P.return}0<Ce.length&&(oe=new ge(oe,be,null,a,ie),le.push({event:oe,listeners:Ce}))}}if((i&7)===0){e:{if(oe=o==="mouseover"||o==="pointerover",ge=o==="mouseout"||o==="pointerout",oe&&a!==ac&&(be=a.relatedTarget||a.fromElement)&&(eo(be)||be[rr]))break e;if((ge||oe)&&(oe=ie.window===ie?ie:(oe=ie.ownerDocument)?oe.defaultView||oe.parentWindow:window,ge?(be=a.relatedTarget||a.toElement,ge=W,be=be?eo(be):null,be!==null&&(yt=Qr(be),be!==yt||be.tag!==5&&be.tag!==6)&&(be=null)):(ge=null,be=W),ge!==be)){if(Ce=c3,ue="onMouseLeave",A="onMouseEnter",P="mouse",(o==="pointerout"||o==="pointerover")&&(Ce=d3,ue="onPointerLeave",A="onPointerEnter",P="pointer"),yt=ge==null?oe:Uo(ge),$=be==null?oe:Uo(be),oe=new Ce(ue,P+"leave",ge,a,ie),oe.target=yt,oe.relatedTarget=$,ue=null,eo(ie)===W&&(Ce=new Ce(A,P+"enter",be,a,ie),Ce.target=$,Ce.relatedTarget=yt,ue=Ce),yt=ue,ge&&be)t:{for(Ce=ge,A=be,P=0,$=Ce;$;$=Zo($))P++;for($=0,ue=A;ue;ue=Zo(ue))$++;for(;0<P-$;)Ce=Zo(Ce),P--;for(;0<$-P;)A=Zo(A),$--;for(;P--;){if(Ce===A||A!==null&&Ce===A.alternate)break t;Ce=Zo(Ce),A=Zo(A)}Ce=null}else Ce=null;ge!==null&&D3(le,oe,ge,Ce,!1),be!==null&&yt!==null&&D3(le,yt,be,Ce,!0)}}e:{if(oe=W?Uo(W):window,ge=oe.nodeName&&oe.nodeName.toLowerCase(),ge==="select"||ge==="input"&&oe.type==="file")var Ee=tv;else if(v3(oe))if(x3)Ee=iv;else{Ee=rv;var Te=nv}else(ge=oe.nodeName)&&ge.toLowerCase()==="input"&&(oe.type==="checkbox"||oe.type==="radio")&&(Ee=ov);if(Ee&&(Ee=Ee(o,W))){w3(le,Ee,a,ie);break e}Te&&Te(o,oe,W),o==="focusout"&&(Te=oe._wrapperState)&&Te.controlled&&oe.type==="number"&&wn(oe,"number",oe.value)}switch(Te=W?Uo(W):window,o){case"focusin":(v3(Te)||Te.contentEditable==="true")&&(Vo=Te,Tc=W,ls=null);break;case"focusout":ls=Tc=Vo=null;break;case"mousedown":Lc=!0;break;case"contextmenu":case"mouseup":case"dragend":Lc=!1,j3(le,a,ie);break;case"selectionchange":if(lv)break;case"keydown":case"keyup":j3(le,a,ie)}var Le;if(jc)e:{switch(o){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else Ho?m3(o,a)&&(Ae="onCompositionEnd"):o==="keydown"&&a.keyCode===229&&(Ae="onCompositionStart");Ae&&(f3&&a.locale!=="ko"&&(Ho||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&Ho&&(Le=a3()):(Ir=ie,_c="value"in Ir?Ir.value:Ir.textContent,Ho=!0)),Te=$1(W,Ae),0<Te.length&&(Ae=new u3(Ae,o,null,a,ie),le.push({event:Ae,listeners:Te}),Le?Ae.data=Le:(Le=g3(a),Le!==null&&(Ae.data=Le)))),(Le=Yg?Jg(o,a):Xg(o,a))&&(W=$1(W,"onBeforeInput"),0<W.length&&(ie=new u3("onBeforeInput","beforeinput",null,a,ie),le.push({event:ie,listeners:W}),ie.data=Le))}A3(le,i)})}function ds(o,i,a){return{instance:o,listener:i,currentTarget:a}}function $1(o,i){for(var a=i+"Capture",f=[];o!==null;){var h=o,v=h.stateNode;h.tag===5&&v!==null&&(h=v,v=Ui(o,a),v!=null&&f.unshift(ds(o,v,h)),v=Ui(o,i),v!=null&&f.push(ds(o,v,h))),o=o.return}return f}function Zo(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function D3(o,i,a,f,h){for(var v=i._reactName,b=[];a!==null&&a!==f;){var j=a,T=j.alternate,W=j.stateNode;if(T!==null&&T===f)break;j.tag===5&&W!==null&&(j=W,h?(T=Ui(a,v),T!=null&&b.unshift(ds(a,T,j))):h||(T=Ui(a,v),T!=null&&b.push(ds(a,T,j)))),a=a.return}b.length!==0&&o.push({event:i,listeners:b})}var fv=/\r\n?/g,hv=/\u0000|\uFFFD/g;function F3(o){return(typeof o=="string"?o:""+o).replace(fv,`
|
|
121
|
+
`).replace(hv,"")}function H1(o,i,a){if(i=F3(i),F3(o)!==i&&a)throw Error(n(425))}function V1(){}var Dc=null,Fc=null;function $c(o,i){return o==="textarea"||o==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Hc=typeof setTimeout=="function"?setTimeout:void 0,pv=typeof clearTimeout=="function"?clearTimeout:void 0,$3=typeof Promise=="function"?Promise:void 0,mv=typeof queueMicrotask=="function"?queueMicrotask:typeof $3<"u"?function(o){return $3.resolve(null).then(o).catch(gv)}:Hc;function gv(o){setTimeout(function(){throw o})}function Vc(o,i){var a=i,f=0;do{var h=a.nextSibling;if(o.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(f===0){o.removeChild(h),ts(i);return}f--}else a!=="$"&&a!=="$?"&&a!=="$!"||f++;a=h}while(a);ts(i)}function Or(o){for(;o!=null;o=o.nextSibling){var i=o.nodeType;if(i===1||i===3)break;if(i===8){if(i=o.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return o}function H3(o){o=o.previousSibling;for(var i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return o;i--}else a==="/$"&&i++}o=o.previousSibling}return null}var Wo=Math.random().toString(36).slice(2),Un="__reactFiber$"+Wo,fs="__reactProps$"+Wo,rr="__reactContainer$"+Wo,Bc="__reactEvents$"+Wo,vv="__reactListeners$"+Wo,wv="__reactHandles$"+Wo;function eo(o){var i=o[Un];if(i)return i;for(var a=o.parentNode;a;){if(i=a[rr]||a[Un]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(o=H3(o);o!==null;){if(a=o[Un])return a;o=H3(o)}return i}o=a,a=o.parentNode}return null}function hs(o){return o=o[Un]||o[rr],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function Uo(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(n(33))}function B1(o){return o[fs]||null}var Zc=[],qo=-1;function Tr(o){return{current:o}}function at(o){0>qo||(o.current=Zc[qo],Zc[qo]=null,qo--)}function rt(o,i){qo++,Zc[qo]=o.current,o.current=i}var Lr={},Ft=Tr(Lr),Yt=Tr(!1),to=Lr;function Go(o,i){var a=o.type.contextTypes;if(!a)return Lr;var f=o.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===i)return f.__reactInternalMemoizedMaskedChildContext;var h={},v;for(v in a)h[v]=i[v];return f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=h),h}function Jt(o){return o=o.childContextTypes,o!=null}function Z1(){at(Yt),at(Ft)}function V3(o,i,a){if(Ft.current!==Lr)throw Error(n(168));rt(Ft,i),rt(Yt,a)}function B3(o,i,a){var f=o.stateNode;if(i=i.childContextTypes,typeof f.getChildContext!="function")return a;f=f.getChildContext();for(var h in f)if(!(h in i))throw Error(n(108,Be(o)||"Unknown",h));return te({},a,f)}function W1(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Lr,to=Ft.current,rt(Ft,o),rt(Yt,Yt.current),!0}function Z3(o,i,a){var f=o.stateNode;if(!f)throw Error(n(169));a?(o=B3(o,i,to),f.__reactInternalMemoizedMergedChildContext=o,at(Yt),at(Ft),rt(Ft,o)):at(Yt),rt(Yt,a)}var or=null,U1=!1,Wc=!1;function W3(o){or===null?or=[o]:or.push(o)}function xv(o){U1=!0,W3(o)}function Pr(){if(!Wc&&or!==null){Wc=!0;var o=0,i=et;try{var a=or;for(et=1;o<a.length;o++){var f=a[o];do f=f(!0);while(f!==null)}or=null,U1=!1}catch(h){throw or!==null&&(or=or.slice(o+1)),q2(hc,Pr),h}finally{et=i,Wc=!1}}return null}var Ko=[],Yo=0,q1=null,G1=0,xn=[],yn=0,no=null,ir=1,sr="";function ro(o,i){Ko[Yo++]=G1,Ko[Yo++]=q1,q1=o,G1=i}function U3(o,i,a){xn[yn++]=ir,xn[yn++]=sr,xn[yn++]=no,no=o;var f=ir;o=sr;var h=32-Mn(f)-1;f&=~(1<<h),a+=1;var v=32-Mn(i)+h;if(30<v){var b=h-h%5;v=(f&(1<<b)-1).toString(32),f>>=b,h-=b,ir=1<<32-Mn(i)+h|a<<h|f,sr=v+o}else ir=1<<v|a<<h|f,sr=o}function Uc(o){o.return!==null&&(ro(o,1),U3(o,1,0))}function qc(o){for(;o===q1;)q1=Ko[--Yo],Ko[Yo]=null,G1=Ko[--Yo],Ko[Yo]=null;for(;o===no;)no=xn[--yn],xn[yn]=null,sr=xn[--yn],xn[yn]=null,ir=xn[--yn],xn[yn]=null}var un=null,dn=null,lt=!1,Tn=null;function q3(o,i){var a=kn(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=o,i=o.deletions,i===null?(o.deletions=[a],o.flags|=16):i.push(a)}function G3(o,i){switch(o.tag){case 5:var a=o.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(o.stateNode=i,un=o,dn=Or(i.firstChild),!0):!1;case 6:return i=o.pendingProps===""||i.nodeType!==3?null:i,i!==null?(o.stateNode=i,un=o,dn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=no!==null?{id:ir,overflow:sr}:null,o.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=kn(18,null,null,0),a.stateNode=i,a.return=o,o.child=a,un=o,dn=null,!0):!1;default:return!1}}function Gc(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Kc(o){if(lt){var i=dn;if(i){var a=i;if(!G3(o,i)){if(Gc(o))throw Error(n(418));i=Or(a.nextSibling);var f=un;i&&G3(o,i)?q3(f,a):(o.flags=o.flags&-4097|2,lt=!1,un=o)}}else{if(Gc(o))throw Error(n(418));o.flags=o.flags&-4097|2,lt=!1,un=o}}}function K3(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;un=o}function K1(o){if(o!==un)return!1;if(!lt)return K3(o),lt=!0,!1;var i;if((i=o.tag!==3)&&!(i=o.tag!==5)&&(i=o.type,i=i!=="head"&&i!=="body"&&!$c(o.type,o.memoizedProps)),i&&(i=dn)){if(Gc(o))throw Y3(),Error(n(418));for(;i;)q3(o,i),i=Or(i.nextSibling)}if(K3(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(n(317));e:{for(o=o.nextSibling,i=0;o;){if(o.nodeType===8){var a=o.data;if(a==="/$"){if(i===0){dn=Or(o.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}o=o.nextSibling}dn=null}}else dn=un?Or(o.stateNode.nextSibling):null;return!0}function Y3(){for(var o=dn;o;)o=Or(o.nextSibling)}function Jo(){dn=un=null,lt=!1}function Yc(o){Tn===null?Tn=[o]:Tn.push(o)}var yv=z.ReactCurrentBatchConfig;function ps(o,i,a){if(o=a.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var f=a.stateNode}if(!f)throw Error(n(147,o));var h=f,v=""+o;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===v?i.ref:(i=function(b){var j=h.refs;b===null?delete j[v]:j[v]=b},i._stringRef=v,i)}if(typeof o!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,o))}return o}function Y1(o,i){throw o=Object.prototype.toString.call(i),Error(n(31,o==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":o))}function J3(o){var i=o._init;return i(o._payload)}function X3(o){function i(A,P){if(o){var $=A.deletions;$===null?(A.deletions=[P],A.flags|=16):$.push(P)}}function a(A,P){if(!o)return null;for(;P!==null;)i(A,P),P=P.sibling;return null}function f(A,P){for(A=new Map;P!==null;)P.key!==null?A.set(P.key,P):A.set(P.index,P),P=P.sibling;return A}function h(A,P){return A=Hr(A,P),A.index=0,A.sibling=null,A}function v(A,P,$){return A.index=$,o?($=A.alternate,$!==null?($=$.index,$<P?(A.flags|=2,P):$):(A.flags|=2,P)):(A.flags|=1048576,P)}function b(A){return o&&A.alternate===null&&(A.flags|=2),A}function j(A,P,$,ue){return P===null||P.tag!==6?(P=Hu($,A.mode,ue),P.return=A,P):(P=h(P,$),P.return=A,P)}function T(A,P,$,ue){var Ee=$.type;return Ee===ee?ie(A,P,$.props.children,ue,$.key):P!==null&&(P.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===he&&J3(Ee)===P.type)?(ue=h(P,$.props),ue.ref=ps(A,P,$),ue.return=A,ue):(ue=ya($.type,$.key,$.props,null,A.mode,ue),ue.ref=ps(A,P,$),ue.return=A,ue)}function W(A,P,$,ue){return P===null||P.tag!==4||P.stateNode.containerInfo!==$.containerInfo||P.stateNode.implementation!==$.implementation?(P=Vu($,A.mode,ue),P.return=A,P):(P=h(P,$.children||[]),P.return=A,P)}function ie(A,P,$,ue,Ee){return P===null||P.tag!==7?(P=fo($,A.mode,ue,Ee),P.return=A,P):(P=h(P,$),P.return=A,P)}function le(A,P,$){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Hu(""+P,A.mode,$),P.return=A,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case U:return $=ya(P.type,P.key,P.props,null,A.mode,$),$.ref=ps(A,null,P),$.return=A,$;case Z:return P=Vu(P,A.mode,$),P.return=A,P;case he:var ue=P._init;return le(A,ue(P._payload),$)}if(Dt(P)||Q(P))return P=fo(P,A.mode,$,null),P.return=A,P;Y1(A,P)}return null}function oe(A,P,$,ue){var Ee=P!==null?P.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return Ee!==null?null:j(A,P,""+$,ue);if(typeof $=="object"&&$!==null){switch($.$$typeof){case U:return $.key===Ee?T(A,P,$,ue):null;case Z:return $.key===Ee?W(A,P,$,ue):null;case he:return Ee=$._init,oe(A,P,Ee($._payload),ue)}if(Dt($)||Q($))return Ee!==null?null:ie(A,P,$,ue,null);Y1(A,$)}return null}function ge(A,P,$,ue,Ee){if(typeof ue=="string"&&ue!==""||typeof ue=="number")return A=A.get($)||null,j(P,A,""+ue,Ee);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case U:return A=A.get(ue.key===null?$:ue.key)||null,T(P,A,ue,Ee);case Z:return A=A.get(ue.key===null?$:ue.key)||null,W(P,A,ue,Ee);case he:var Te=ue._init;return ge(A,P,$,Te(ue._payload),Ee)}if(Dt(ue)||Q(ue))return A=A.get($)||null,ie(P,A,ue,Ee,null);Y1(P,ue)}return null}function be(A,P,$,ue){for(var Ee=null,Te=null,Le=P,Ae=P=0,Mt=null;Le!==null&&Ae<$.length;Ae++){Le.index>Ae?(Mt=Le,Le=null):Mt=Le.sibling;var Je=oe(A,Le,$[Ae],ue);if(Je===null){Le===null&&(Le=Mt);break}o&&Le&&Je.alternate===null&&i(A,Le),P=v(Je,P,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je,Le=Mt}if(Ae===$.length)return a(A,Le),lt&&ro(A,Ae),Ee;if(Le===null){for(;Ae<$.length;Ae++)Le=le(A,$[Ae],ue),Le!==null&&(P=v(Le,P,Ae),Te===null?Ee=Le:Te.sibling=Le,Te=Le);return lt&&ro(A,Ae),Ee}for(Le=f(A,Le);Ae<$.length;Ae++)Mt=ge(Le,A,Ae,$[Ae],ue),Mt!==null&&(o&&Mt.alternate!==null&&Le.delete(Mt.key===null?Ae:Mt.key),P=v(Mt,P,Ae),Te===null?Ee=Mt:Te.sibling=Mt,Te=Mt);return o&&Le.forEach(function(Vr){return i(A,Vr)}),lt&&ro(A,Ae),Ee}function Ce(A,P,$,ue){var Ee=Q($);if(typeof Ee!="function")throw Error(n(150));if($=Ee.call($),$==null)throw Error(n(151));for(var Te=Ee=null,Le=P,Ae=P=0,Mt=null,Je=$.next();Le!==null&&!Je.done;Ae++,Je=$.next()){Le.index>Ae?(Mt=Le,Le=null):Mt=Le.sibling;var Vr=oe(A,Le,Je.value,ue);if(Vr===null){Le===null&&(Le=Mt);break}o&&Le&&Vr.alternate===null&&i(A,Le),P=v(Vr,P,Ae),Te===null?Ee=Vr:Te.sibling=Vr,Te=Vr,Le=Mt}if(Je.done)return a(A,Le),lt&&ro(A,Ae),Ee;if(Le===null){for(;!Je.done;Ae++,Je=$.next())Je=le(A,Je.value,ue),Je!==null&&(P=v(Je,P,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je);return lt&&ro(A,Ae),Ee}for(Le=f(A,Le);!Je.done;Ae++,Je=$.next())Je=ge(Le,A,Ae,Je.value,ue),Je!==null&&(o&&Je.alternate!==null&&Le.delete(Je.key===null?Ae:Je.key),P=v(Je,P,Ae),Te===null?Ee=Je:Te.sibling=Je,Te=Je);return o&&Le.forEach(function(Qv){return i(A,Qv)}),lt&&ro(A,Ae),Ee}function yt(A,P,$,ue){if(typeof $=="object"&&$!==null&&$.type===ee&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case U:e:{for(var Ee=$.key,Te=P;Te!==null;){if(Te.key===Ee){if(Ee=$.type,Ee===ee){if(Te.tag===7){a(A,Te.sibling),P=h(Te,$.props.children),P.return=A,A=P;break e}}else if(Te.elementType===Ee||typeof Ee=="object"&&Ee!==null&&Ee.$$typeof===he&&J3(Ee)===Te.type){a(A,Te.sibling),P=h(Te,$.props),P.ref=ps(A,Te,$),P.return=A,A=P;break e}a(A,Te);break}else i(A,Te);Te=Te.sibling}$.type===ee?(P=fo($.props.children,A.mode,ue,$.key),P.return=A,A=P):(ue=ya($.type,$.key,$.props,null,A.mode,ue),ue.ref=ps(A,P,$),ue.return=A,A=ue)}return b(A);case Z:e:{for(Te=$.key;P!==null;){if(P.key===Te)if(P.tag===4&&P.stateNode.containerInfo===$.containerInfo&&P.stateNode.implementation===$.implementation){a(A,P.sibling),P=h(P,$.children||[]),P.return=A,A=P;break e}else{a(A,P);break}else i(A,P);P=P.sibling}P=Vu($,A.mode,ue),P.return=A,A=P}return b(A);case he:return Te=$._init,yt(A,P,Te($._payload),ue)}if(Dt($))return be(A,P,$,ue);if(Q($))return Ce(A,P,$,ue);Y1(A,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,P!==null&&P.tag===6?(a(A,P.sibling),P=h(P,$),P.return=A,A=P):(a(A,P),P=Hu($,A.mode,ue),P.return=A,A=P),b(A)):a(A,P)}return yt}var Xo=X3(!0),Q3=X3(!1),J1=Tr(null),X1=null,Qo=null,Jc=null;function Xc(){Jc=Qo=X1=null}function Qc(o){var i=J1.current;at(J1),o._currentValue=i}function eu(o,i,a){for(;o!==null;){var f=o.alternate;if((o.childLanes&i)!==i?(o.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),o===a)break;o=o.return}}function ei(o,i){X1=o,Jc=Qo=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&i)!==0&&(Xt=!0),o.firstContext=null)}function _n(o){var i=o._currentValue;if(Jc!==o)if(o={context:o,memoizedValue:i,next:null},Qo===null){if(X1===null)throw Error(n(308));Qo=o,X1.dependencies={lanes:0,firstContext:o}}else Qo=Qo.next=o;return i}var oo=null;function tu(o){oo===null?oo=[o]:oo.push(o)}function e4(o,i,a,f){var h=i.interleaved;return h===null?(a.next=a,tu(i)):(a.next=h.next,h.next=a),i.interleaved=a,ar(o,f)}function ar(o,i){o.lanes|=i;var a=o.alternate;for(a!==null&&(a.lanes|=i),a=o,o=o.return;o!==null;)o.childLanes|=i,a=o.alternate,a!==null&&(a.childLanes|=i),a=o,o=o.return;return a.tag===3?a.stateNode:null}var Nr=!1;function nu(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function t4(o,i){o=o.updateQueue,i.updateQueue===o&&(i.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function lr(o,i){return{eventTime:o,lane:i,tag:0,payload:null,callback:null,next:null}}function zr(o,i,a){var f=o.updateQueue;if(f===null)return null;if(f=f.shared,(Ke&2)!==0){var h=f.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),f.pending=i,ar(o,a)}return h=f.interleaved,h===null?(i.next=i,tu(f)):(i.next=h.next,h.next=i),f.interleaved=i,ar(o,a)}function Q1(o,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,gc(o,a)}}function n4(o,i){var a=o.updateQueue,f=o.alternate;if(f!==null&&(f=f.updateQueue,a===f)){var h=null,v=null;if(a=a.firstBaseUpdate,a!==null){do{var b={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};v===null?h=v=b:v=v.next=b,a=a.next}while(a!==null);v===null?h=v=i:v=v.next=i}else h=v=i;a={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:v,shared:f.shared,effects:f.effects},o.updateQueue=a;return}o=a.lastBaseUpdate,o===null?a.firstBaseUpdate=i:o.next=i,a.lastBaseUpdate=i}function ea(o,i,a,f){var h=o.updateQueue;Nr=!1;var v=h.firstBaseUpdate,b=h.lastBaseUpdate,j=h.shared.pending;if(j!==null){h.shared.pending=null;var T=j,W=T.next;T.next=null,b===null?v=W:b.next=W,b=T;var ie=o.alternate;ie!==null&&(ie=ie.updateQueue,j=ie.lastBaseUpdate,j!==b&&(j===null?ie.firstBaseUpdate=W:j.next=W,ie.lastBaseUpdate=T))}if(v!==null){var le=h.baseState;b=0,ie=W=T=null,j=v;do{var oe=j.lane,ge=j.eventTime;if((f&oe)===oe){ie!==null&&(ie=ie.next={eventTime:ge,lane:0,tag:j.tag,payload:j.payload,callback:j.callback,next:null});e:{var be=o,Ce=j;switch(oe=i,ge=a,Ce.tag){case 1:if(be=Ce.payload,typeof be=="function"){le=be.call(ge,le,oe);break e}le=be;break e;case 3:be.flags=be.flags&-65537|128;case 0:if(be=Ce.payload,oe=typeof be=="function"?be.call(ge,le,oe):be,oe==null)break e;le=te({},le,oe);break e;case 2:Nr=!0}}j.callback!==null&&j.lane!==0&&(o.flags|=64,oe=h.effects,oe===null?h.effects=[j]:oe.push(j))}else ge={eventTime:ge,lane:oe,tag:j.tag,payload:j.payload,callback:j.callback,next:null},ie===null?(W=ie=ge,T=le):ie=ie.next=ge,b|=oe;if(j=j.next,j===null){if(j=h.shared.pending,j===null)break;oe=j,j=oe.next,oe.next=null,h.lastBaseUpdate=oe,h.shared.pending=null}}while(!0);if(ie===null&&(T=le),h.baseState=T,h.firstBaseUpdate=W,h.lastBaseUpdate=ie,i=h.shared.interleaved,i!==null){h=i;do b|=h.lane,h=h.next;while(h!==i)}else v===null&&(h.shared.lanes=0);ao|=b,o.lanes=b,o.memoizedState=le}}function r4(o,i,a){if(o=i.effects,i.effects=null,o!==null)for(i=0;i<o.length;i++){var f=o[i],h=f.callback;if(h!==null){if(f.callback=null,f=a,typeof h!="function")throw Error(n(191,h));h.call(f)}}}var ms={},qn=Tr(ms),gs=Tr(ms),vs=Tr(ms);function io(o){if(o===ms)throw Error(n(174));return o}function ru(o,i){switch(rt(vs,i),rt(gs,o),rt(qn,ms),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:oc(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=oc(i,o)}at(qn),rt(qn,i)}function ti(){at(qn),at(gs),at(vs)}function o4(o){io(vs.current);var i=io(qn.current),a=oc(i,o.type);i!==a&&(rt(gs,o),rt(qn,a))}function ou(o){gs.current===o&&(at(qn),at(gs))}var ft=Tr(0);function ta(o){for(var i=o;i!==null;){if(i.tag===13){var a=i.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var iu=[];function su(){for(var o=0;o<iu.length;o++)iu[o]._workInProgressVersionPrimary=null;iu.length=0}var na=z.ReactCurrentDispatcher,au=z.ReactCurrentBatchConfig,so=0,ht=null,Ct=null,jt=null,ra=!1,ws=!1,xs=0,_v=0;function $t(){throw Error(n(321))}function lu(o,i){if(i===null)return!1;for(var a=0;a<i.length&&a<o.length;a++)if(!On(o[a],i[a]))return!1;return!0}function cu(o,i,a,f,h,v){if(so=v,ht=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,na.current=o===null||o.memoizedState===null?Sv:Ev,o=a(f,h),ws){v=0;do{if(ws=!1,xs=0,25<=v)throw Error(n(301));v+=1,jt=Ct=null,i.updateQueue=null,na.current=jv,o=a(f,h)}while(ws)}if(na.current=sa,i=Ct!==null&&Ct.next!==null,so=0,jt=Ct=ht=null,ra=!1,i)throw Error(n(300));return o}function uu(){var o=xs!==0;return xs=0,o}function Gn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return jt===null?ht.memoizedState=jt=o:jt=jt.next=o,jt}function bn(){if(Ct===null){var o=ht.alternate;o=o!==null?o.memoizedState:null}else o=Ct.next;var i=jt===null?ht.memoizedState:jt.next;if(i!==null)jt=i,Ct=o;else{if(o===null)throw Error(n(310));Ct=o,o={memoizedState:Ct.memoizedState,baseState:Ct.baseState,baseQueue:Ct.baseQueue,queue:Ct.queue,next:null},jt===null?ht.memoizedState=jt=o:jt=jt.next=o}return jt}function ys(o,i){return typeof i=="function"?i(o):i}function du(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=Ct,h=f.baseQueue,v=a.pending;if(v!==null){if(h!==null){var b=h.next;h.next=v.next,v.next=b}f.baseQueue=h=v,a.pending=null}if(h!==null){v=h.next,f=f.baseState;var j=b=null,T=null,W=v;do{var ie=W.lane;if((so&ie)===ie)T!==null&&(T=T.next={lane:0,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null}),f=W.hasEagerState?W.eagerState:o(f,W.action);else{var le={lane:ie,action:W.action,hasEagerState:W.hasEagerState,eagerState:W.eagerState,next:null};T===null?(j=T=le,b=f):T=T.next=le,ht.lanes|=ie,ao|=ie}W=W.next}while(W!==null&&W!==v);T===null?b=f:T.next=j,On(f,i.memoizedState)||(Xt=!0),i.memoizedState=f,i.baseState=b,i.baseQueue=T,a.lastRenderedState=f}if(o=a.interleaved,o!==null){h=o;do v=h.lane,ht.lanes|=v,ao|=v,h=h.next;while(h!==o)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function fu(o){var i=bn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=o;var f=a.dispatch,h=a.pending,v=i.memoizedState;if(h!==null){a.pending=null;var b=h=h.next;do v=o(v,b.action),b=b.next;while(b!==h);On(v,i.memoizedState)||(Xt=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),a.lastRenderedState=v}return[v,f]}function i4(){}function s4(o,i){var a=ht,f=bn(),h=i(),v=!On(f.memoizedState,h);if(v&&(f.memoizedState=h,Xt=!0),f=f.queue,hu(c4.bind(null,a,f,o),[o]),f.getSnapshot!==i||v||jt!==null&&jt.memoizedState.tag&1){if(a.flags|=2048,_s(9,l4.bind(null,a,f,h,i),void 0,null),It===null)throw Error(n(349));(so&30)!==0||a4(a,i,h)}return h}function a4(o,i,a){o.flags|=16384,o={getSnapshot:i,value:a},i=ht.updateQueue,i===null?(i={lastEffect:null,stores:null},ht.updateQueue=i,i.stores=[o]):(a=i.stores,a===null?i.stores=[o]:a.push(o))}function l4(o,i,a,f){i.value=a,i.getSnapshot=f,u4(i)&&d4(o)}function c4(o,i,a){return a(function(){u4(i)&&d4(o)})}function u4(o){var i=o.getSnapshot;o=o.value;try{var a=i();return!On(o,a)}catch{return!0}}function d4(o){var i=ar(o,1);i!==null&&zn(i,o,1,-1)}function f4(o){var i=Gn();return typeof o=="function"&&(o=o()),i.memoizedState=i.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ys,lastRenderedState:o},i.queue=o,o=o.dispatch=kv.bind(null,ht,o),[i.memoizedState,o]}function _s(o,i,a,f){return o={tag:o,create:i,destroy:a,deps:f,next:null},i=ht.updateQueue,i===null?(i={lastEffect:null,stores:null},ht.updateQueue=i,i.lastEffect=o.next=o):(a=i.lastEffect,a===null?i.lastEffect=o.next=o:(f=a.next,a.next=o,o.next=f,i.lastEffect=o)),o}function h4(){return bn().memoizedState}function oa(o,i,a,f){var h=Gn();ht.flags|=o,h.memoizedState=_s(1|i,a,void 0,f===void 0?null:f)}function ia(o,i,a,f){var h=bn();f=f===void 0?null:f;var v=void 0;if(Ct!==null){var b=Ct.memoizedState;if(v=b.destroy,f!==null&&lu(f,b.deps)){h.memoizedState=_s(i,a,v,f);return}}ht.flags|=o,h.memoizedState=_s(1|i,a,v,f)}function p4(o,i){return oa(8390656,8,o,i)}function hu(o,i){return ia(2048,8,o,i)}function m4(o,i){return ia(4,2,o,i)}function g4(o,i){return ia(4,4,o,i)}function v4(o,i){if(typeof i=="function")return o=o(),i(o),function(){i(null)};if(i!=null)return o=o(),i.current=o,function(){i.current=null}}function w4(o,i,a){return a=a!=null?a.concat([o]):null,ia(4,4,v4.bind(null,i,o),a)}function pu(){}function x4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&lu(i,f[1])?f[0]:(a.memoizedState=[o,i],o)}function y4(o,i){var a=bn();i=i===void 0?null:i;var f=a.memoizedState;return f!==null&&i!==null&&lu(i,f[1])?f[0]:(o=o(),a.memoizedState=[o,i],o)}function _4(o,i,a){return(so&21)===0?(o.baseState&&(o.baseState=!1,Xt=!0),o.memoizedState=a):(On(a,i)||(a=J2(),ht.lanes|=a,ao|=a,o.baseState=!0),i)}function bv(o,i){var a=et;et=a!==0&&4>a?a:4,o(!0);var f=au.transition;au.transition={};try{o(!1),i()}finally{et=a,au.transition=f}}function b4(){return bn().memoizedState}function Cv(o,i,a){var f=Fr(o);if(a={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null},C4(o))k4(i,a);else if(a=e4(o,i,a,f),a!==null){var h=qt();zn(a,o,f,h),S4(a,i,f)}}function kv(o,i,a){var f=Fr(o),h={lane:f,action:a,hasEagerState:!1,eagerState:null,next:null};if(C4(o))k4(i,h);else{var v=o.alternate;if(o.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var b=i.lastRenderedState,j=v(b,a);if(h.hasEagerState=!0,h.eagerState=j,On(j,b)){var T=i.interleaved;T===null?(h.next=h,tu(i)):(h.next=T.next,T.next=h),i.interleaved=h;return}}catch{}finally{}a=e4(o,i,h,f),a!==null&&(h=qt(),zn(a,o,f,h),S4(a,i,f))}}function C4(o){var i=o.alternate;return o===ht||i!==null&&i===ht}function k4(o,i){ws=ra=!0;var a=o.pending;a===null?i.next=i:(i.next=a.next,a.next=i),o.pending=i}function S4(o,i,a){if((a&4194240)!==0){var f=i.lanes;f&=o.pendingLanes,a|=f,i.lanes=a,gc(o,a)}}var sa={readContext:_n,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useInsertionEffect:$t,useLayoutEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useMutableSource:$t,useSyncExternalStore:$t,useId:$t,unstable_isNewReconciler:!1},Sv={readContext:_n,useCallback:function(o,i){return Gn().memoizedState=[o,i===void 0?null:i],o},useContext:_n,useEffect:p4,useImperativeHandle:function(o,i,a){return a=a!=null?a.concat([o]):null,oa(4194308,4,v4.bind(null,i,o),a)},useLayoutEffect:function(o,i){return oa(4194308,4,o,i)},useInsertionEffect:function(o,i){return oa(4,2,o,i)},useMemo:function(o,i){var a=Gn();return i=i===void 0?null:i,o=o(),a.memoizedState=[o,i],o},useReducer:function(o,i,a){var f=Gn();return i=a!==void 0?a(i):i,f.memoizedState=f.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},f.queue=o,o=o.dispatch=Cv.bind(null,ht,o),[f.memoizedState,o]},useRef:function(o){var i=Gn();return o={current:o},i.memoizedState=o},useState:f4,useDebugValue:pu,useDeferredValue:function(o){return Gn().memoizedState=o},useTransition:function(){var o=f4(!1),i=o[0];return o=bv.bind(null,o[1]),Gn().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,a){var f=ht,h=Gn();if(lt){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),It===null)throw Error(n(349));(so&30)!==0||a4(f,i,a)}h.memoizedState=a;var v={value:a,getSnapshot:i};return h.queue=v,p4(c4.bind(null,f,v,o),[o]),f.flags|=2048,_s(9,l4.bind(null,f,v,a,i),void 0,null),a},useId:function(){var o=Gn(),i=It.identifierPrefix;if(lt){var a=sr,f=ir;a=(f&~(1<<32-Mn(f)-1)).toString(32)+a,i=":"+i+"R"+a,a=xs++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=_v++,i=":"+i+"r"+a.toString(32)+":";return o.memoizedState=i},unstable_isNewReconciler:!1},Ev={readContext:_n,useCallback:x4,useContext:_n,useEffect:hu,useImperativeHandle:w4,useInsertionEffect:m4,useLayoutEffect:g4,useMemo:y4,useReducer:du,useRef:h4,useState:function(){return du(ys)},useDebugValue:pu,useDeferredValue:function(o){var i=bn();return _4(i,Ct.memoizedState,o)},useTransition:function(){var o=du(ys)[0],i=bn().memoizedState;return[o,i]},useMutableSource:i4,useSyncExternalStore:s4,useId:b4,unstable_isNewReconciler:!1},jv={readContext:_n,useCallback:x4,useContext:_n,useEffect:hu,useImperativeHandle:w4,useInsertionEffect:m4,useLayoutEffect:g4,useMemo:y4,useReducer:fu,useRef:h4,useState:function(){return fu(ys)},useDebugValue:pu,useDeferredValue:function(o){var i=bn();return Ct===null?i.memoizedState=o:_4(i,Ct.memoizedState,o)},useTransition:function(){var o=fu(ys)[0],i=bn().memoizedState;return[o,i]},useMutableSource:i4,useSyncExternalStore:s4,useId:b4,unstable_isNewReconciler:!1};function Ln(o,i){if(o&&o.defaultProps){i=te({},i),o=o.defaultProps;for(var a in o)i[a]===void 0&&(i[a]=o[a]);return i}return i}function mu(o,i,a,f){i=o.memoizedState,a=a(f,i),a=a==null?i:te({},i,a),o.memoizedState=a,o.lanes===0&&(o.updateQueue.baseState=a)}var aa={isMounted:function(o){return(o=o._reactInternals)?Qr(o)===o:!1},enqueueSetState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Fr(o),v=lr(f,h);v.payload=i,a!=null&&(v.callback=a),i=zr(o,v,h),i!==null&&(zn(i,o,h,f),Q1(i,o,h))},enqueueReplaceState:function(o,i,a){o=o._reactInternals;var f=qt(),h=Fr(o),v=lr(f,h);v.tag=1,v.payload=i,a!=null&&(v.callback=a),i=zr(o,v,h),i!==null&&(zn(i,o,h,f),Q1(i,o,h))},enqueueForceUpdate:function(o,i){o=o._reactInternals;var a=qt(),f=Fr(o),h=lr(a,f);h.tag=2,i!=null&&(h.callback=i),i=zr(o,h,f),i!==null&&(zn(i,o,f,a),Q1(i,o,f))}};function E4(o,i,a,f,h,v,b){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(f,v,b):i.prototype&&i.prototype.isPureReactComponent?!as(a,f)||!as(h,v):!0}function j4(o,i,a){var f=!1,h=Lr,v=i.contextType;return typeof v=="object"&&v!==null?v=_n(v):(h=Jt(i)?to:Ft.current,f=i.contextTypes,v=(f=f!=null)?Go(o,h):Lr),i=new i(a,v),o.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=aa,o.stateNode=i,i._reactInternals=o,f&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=h,o.__reactInternalMemoizedMaskedChildContext=v),i}function I4(o,i,a,f){o=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,f),i.state!==o&&aa.enqueueReplaceState(i,i.state,null)}function gu(o,i,a,f){var h=o.stateNode;h.props=a,h.state=o.memoizedState,h.refs={},nu(o);var v=i.contextType;typeof v=="object"&&v!==null?h.context=_n(v):(v=Jt(i)?to:Ft.current,h.context=Go(o,v)),h.state=o.memoizedState,v=i.getDerivedStateFromProps,typeof v=="function"&&(mu(o,i,v,a),h.state=o.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&aa.enqueueReplaceState(h,h.state,null),ea(o,a,h,f),h.state=o.memoizedState),typeof h.componentDidMount=="function"&&(o.flags|=4194308)}function ni(o,i){try{var a="",f=i;do a+=Oe(f),f=f.return;while(f);var h=a}catch(v){h=`
|
|
122
122
|
Error generating stack: `+v.message+`
|
|
123
|
-
`+v.stack}return{value:o,source:i,stack:h,digest:null}}function gu(o,i,a){return{value:o,source:null,stack:a??null,digest:i??null}}function vu(o,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var Ev=typeof WeakMap=="function"?WeakMap:Map;function I4(o,i,a){a=lr(-1,a),a.tag=3,a.payload={element:null};var f=i.value;return a.callback=function(){ha||(ha=!0,Lu=f),vu(o,i)},a}function M4(o,i,a){a=lr(-1,a),a.tag=3;var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var h=i.value;a.payload=function(){return f(h)},a.callback=function(){vu(o,i)}}var v=o.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(a.callback=function(){vu(o,i),typeof f!="function"&&(Ar===null?Ar=new Set([this]):Ar.add(this));var _=i.stack;this.componentDidCatch(i.value,{componentStack:_!==null?_:""})}),a}function O4(o,i,a){var f=o.pingCache;if(f===null){f=o.pingCache=new Ev;var h=new Set;f.set(i,h)}else h=f.get(i),h===void 0&&(h=new Set,f.set(i,h));h.has(a)||(h.add(a),o=$v.bind(null,o,i,a),i.then(o,o))}function T4(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function L4(o,i,a,f,h){return(o.mode&1)===0?(o===i?o.flags|=65536:(o.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=lr(-1,1),i.tag=2,Pr(a,i,1))),a.lanes|=1),o):(o.flags|=65536,o.lanes=h,o)}var jv=z.ReactCurrentOwner,Xt=!1;function Ut(o,i,a,f){i.child=o===null?X3(i,null,a,f):Jo(i,o.child,a,f)}function N4(o,i,a,f,h){a=a.render;var v=i.ref;return Qo(i,h),f=lu(o,i,a,f,v,h),a=cu(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,cr(o,i,h)):(lt&&a&&Wc(i),i.flags|=1,Ut(o,i,f,h),i.child)}function P4(o,i,a,f,h){if(o===null){var v=a.type;return typeof v=="function"&&!Fu(v)&&v.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=v,z4(o,i,v,f,h)):(o=xa(a.type,null,f,i,i.mode,h),o.ref=i.ref,o.return=i,i.child=o)}if(v=o.child,(o.lanes&h)===0){var _=v.memoizedProps;if(a=a.compare,a=a!==null?a:ss,a(_,f)&&o.ref===i.ref)return cr(o,i,h)}return i.flags|=1,o=$r(v,f),o.ref=i.ref,o.return=i,i.child=o}function z4(o,i,a,f,h){if(o!==null){var v=o.memoizedProps;if(ss(v,f)&&o.ref===i.ref)if(Xt=!1,i.pendingProps=f=v,(o.lanes&h)!==0)(o.flags&131072)!==0&&(Xt=!0);else return i.lanes=o.lanes,cr(o,i,h)}return wu(o,i,a,f,h)}function A4(o,i,a){var f=i.pendingProps,h=f.children,v=o!==null?o.memoizedState:null;if(f.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},rt(ri,fn),fn|=a;else{if((a&1073741824)===0)return o=v!==null?v.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,rt(ri,fn),fn|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=v!==null?v.baseLanes:a,rt(ri,fn),fn|=f}else v!==null?(f=v.baseLanes|a,i.memoizedState=null):f=a,rt(ri,fn),fn|=f;return Ut(o,i,h,a),i.child}function R4(o,i){var a=i.ref;(o===null&&a!==null||o!==null&&o.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function wu(o,i,a,f,h){var v=Jt(a)?eo:Ft.current;return v=qo(i,v),Qo(i,h),a=lu(o,i,a,f,v,h),f=cu(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,cr(o,i,h)):(lt&&f&&Wc(i),i.flags|=1,Ut(o,i,a,h),i.child)}function D4(o,i,a,f,h){if(Jt(a)){var v=!0;Z1(i)}else v=!1;if(Qo(i,h),i.stateNode===null)la(o,i),E4(i,a,f),mu(i,a,f,h),f=!0;else if(o===null){var _=i.stateNode,E=i.memoizedProps;_.props=E;var T=_.context,W=a.contextType;typeof W=="object"&&W!==null?W=_n(W):(W=Jt(a)?eo:Ft.current,W=qo(i,W));var ie=a.getDerivedStateFromProps,le=typeof ie=="function"||typeof _.getSnapshotBeforeUpdate=="function";le||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(E!==f||T!==W)&&j4(i,_,f,W),Nr=!1;var oe=i.memoizedState;_.state=oe,Q1(i,f,_,h),T=i.memoizedState,E!==f||oe!==T||Yt.current||Nr?(typeof ie=="function"&&(pu(i,a,ie,f),T=i.memoizedState),(E=Nr||S4(i,a,E,f,oe,T,W))?(le||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(i.flags|=4194308)):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=T),_.props=f,_.state=T,_.context=W,f=E):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{_=i.stateNode,e4(o,i),E=i.memoizedProps,W=i.type===i.elementType?E:Ln(i.type,E),_.props=W,le=i.pendingProps,oe=_.context,T=a.contextType,typeof T=="object"&&T!==null?T=_n(T):(T=Jt(a)?eo:Ft.current,T=qo(i,T));var ge=a.getDerivedStateFromProps;(ie=typeof ge=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(E!==le||oe!==T)&&j4(i,_,f,T),Nr=!1,oe=i.memoizedState,_.state=oe,Q1(i,f,_,h);var be=i.memoizedState;E!==le||oe!==be||Yt.current||Nr?(typeof ge=="function"&&(pu(i,a,ge,f),be=i.memoizedState),(W=Nr||S4(i,a,W,f,oe,be,T)||!1)?(ie||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(f,be,T),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(f,be,T)),typeof _.componentDidUpdate=="function"&&(i.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof _.componentDidUpdate!="function"||E===o.memoizedProps&&oe===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||E===o.memoizedProps&&oe===o.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=be),_.props=f,_.state=be,_.context=T,f=W):(typeof _.componentDidUpdate!="function"||E===o.memoizedProps&&oe===o.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||E===o.memoizedProps&&oe===o.memoizedState||(i.flags|=1024),f=!1)}return xu(o,i,a,f,v,h)}function xu(o,i,a,f,h,v){R4(o,i);var _=(i.flags&128)!==0;if(!f&&!_)return h&&B3(i,a,!1),cr(o,i,v);f=i.stateNode,jv.current=i;var E=_&&typeof a.getDerivedStateFromError!="function"?null:f.render();return i.flags|=1,o!==null&&_?(i.child=Jo(i,o.child,null,v),i.child=Jo(i,null,E,v)):Ut(o,i,E,v),i.memoizedState=f.state,h&&B3(i,a,!0),i.child}function F4(o){var i=o.stateNode;i.pendingContext?H3(o,i.pendingContext,i.pendingContext!==i.context):i.context&&H3(o,i.context,!1),nu(o,i.containerInfo)}function $4(o,i,a,f,h){return Yo(),Kc(h),i.flags|=256,Ut(o,i,a,f),i.child}var yu={dehydrated:null,treeContext:null,retryLane:0};function _u(o){return{baseLanes:o,cachePool:null,transitions:null}}function H4(o,i,a){var f=i.pendingProps,h=ft.current,v=!1,_=(i.flags&128)!==0,E;if((E=_)||(E=o!==null&&o.memoizedState===null?!1:(h&2)!==0),E?(v=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(h|=1),rt(ft,h&1),o===null)return Gc(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((i.mode&1)===0?i.lanes=1:o.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(_=f.children,o=f.fallback,v?(f=i.mode,v=i.child,_={mode:"hidden",children:_},(f&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=_):v=ya(_,f,0,null),o=uo(o,f,a,null),v.return=i,o.return=i,v.sibling=o,i.child=v,i.child.memoizedState=_u(a),i.memoizedState=yu,o):bu(i,_));if(h=o.memoizedState,h!==null&&(E=h.dehydrated,E!==null))return Iv(o,i,_,f,E,h,a);if(v){v=f.fallback,_=i.mode,h=o.child,E=h.sibling;var T={mode:"hidden",children:f.children};return(_&1)===0&&i.child!==h?(f=i.child,f.childLanes=0,f.pendingProps=T,i.deletions=null):(f=$r(h,T),f.subtreeFlags=h.subtreeFlags&14680064),E!==null?v=$r(E,v):(v=uo(v,_,a,null),v.flags|=2),v.return=i,f.return=i,f.sibling=v,i.child=f,f=v,v=i.child,_=o.child.memoizedState,_=_===null?_u(a):{baseLanes:_.baseLanes|a,cachePool:null,transitions:_.transitions},v.memoizedState=_,v.childLanes=o.childLanes&~a,i.memoizedState=yu,f}return v=o.child,o=v.sibling,f=$r(v,{mode:"visible",children:f.children}),(i.mode&1)===0&&(f.lanes=a),f.return=i,f.sibling=null,o!==null&&(a=i.deletions,a===null?(i.deletions=[o],i.flags|=16):a.push(o)),i.child=f,i.memoizedState=null,f}function bu(o,i){return i=ya({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function aa(o,i,a,f){return f!==null&&Kc(f),Jo(i,o.child,null,a),o=bu(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function Iv(o,i,a,f,h,v,_){if(a)return i.flags&256?(i.flags&=-257,f=gu(Error(n(422))),aa(o,i,_,f)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(v=f.fallback,h=i.mode,f=ya({mode:"visible",children:f.children},h,0,null),v=uo(v,h,_,null),v.flags|=2,f.return=i,v.return=i,f.sibling=v,i.child=f,(i.mode&1)!==0&&Jo(i,o.child,null,_),i.child.memoizedState=_u(_),i.memoizedState=yu,v);if((i.mode&1)===0)return aa(o,i,_,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var E=f.dgst;return f=E,v=Error(n(419)),f=gu(v,f,void 0),aa(o,i,_,f)}if(E=(_&o.childLanes)!==0,Xt||E){if(f=It,f!==null){switch(_&-_){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(f.suspendedLanes|_))!==0?0:h,h!==0&&h!==v.retryLane&&(v.retryLane=h,ar(o,h),zn(f,o,h,-1))}return Du(),f=gu(Error(n(421))),aa(o,i,_,f)}return h.data==="$?"?(i.flags|=128,i.child=o.child,i=Hv.bind(null,o),h._reactRetry=i,null):(o=v.treeContext,dn=Mr(h.nextSibling),un=i,lt=!0,Tn=null,o!==null&&(xn[yn++]=ir,xn[yn++]=sr,xn[yn++]=to,ir=o.id,sr=o.overflow,to=i),i=bu(i,f.children),i.flags|=4096,i)}function V4(o,i,a){o.lanes|=i;var f=o.alternate;f!==null&&(f.lanes|=i),Qc(o.return,i,a)}function Cu(o,i,a,f,h){var v=o.memoizedState;v===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:a,tailMode:h}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=f,v.tail=a,v.tailMode=h)}function B4(o,i,a){var f=i.pendingProps,h=f.revealOrder,v=f.tail;if(Ut(o,i,f.children,a),f=ft.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&V4(o,a,i);else if(o.tag===19)V4(o,a,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}f&=1}if(rt(ft,f),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(a=i.child,h=null;a!==null;)o=a.alternate,o!==null&&ea(o)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),Cu(i,!1,h,a,v);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(o=h.alternate,o!==null&&ea(o)===null){i.child=h;break}o=h.sibling,h.sibling=a,a=h,h=o}Cu(i,!0,a,null,v);break;case"together":Cu(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function la(o,i){(i.mode&1)===0&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function cr(o,i,a){if(o!==null&&(i.dependencies=o.dependencies),so|=i.lanes,(a&i.childLanes)===0)return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,a=$r(o,o.pendingProps),i.child=a,a.return=i;o.sibling!==null;)o=o.sibling,a=a.sibling=$r(o,o.pendingProps),a.return=i;a.sibling=null}return i.child}function Mv(o,i,a){switch(i.tag){case 3:F4(i),Yo();break;case 5:r4(i);break;case 1:Jt(i.type)&&Z1(i);break;case 4:nu(i,i.stateNode.containerInfo);break;case 10:var f=i.type._context,h=i.memoizedProps.value;rt(Y1,f._currentValue),f._currentValue=h;break;case 13:if(f=i.memoizedState,f!==null)return f.dehydrated!==null?(rt(ft,ft.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?H4(o,i,a):(rt(ft,ft.current&1),o=cr(o,i,a),o!==null?o.sibling:null);rt(ft,ft.current&1);break;case 19:if(f=(a&i.childLanes)!==0,(o.flags&128)!==0){if(f)return B4(o,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),rt(ft,ft.current),f)break;return null;case 22:case 23:return i.lanes=0,A4(o,i,a)}return cr(o,i,a)}var Z4,ku,W4,U4;Z4=function(o,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},ku=function(){},W4=function(o,i,a,f){var h=o.memoizedProps;if(h!==f){o=i.stateNode,oo(qn.current);var v=null;switch(a){case"input":h=Qe(o,h),f=Qe(o,f),v=[];break;case"select":h=te({},h,{value:void 0}),f=te({},f,{value:void 0}),v=[];break;case"textarea":h=Zn(o,h),f=Zn(o,f),v=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(o.onclick=H1)}oc(a,f);var _;a=null;for(W in h)if(!f.hasOwnProperty(W)&&h.hasOwnProperty(W)&&h[W]!=null)if(W==="style"){var E=h[W];for(_ in E)E.hasOwnProperty(_)&&(a||(a={}),a[_]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(s.hasOwnProperty(W)?v||(v=[]):(v=v||[]).push(W,null));for(W in f){var T=f[W];if(E=h?.[W],f.hasOwnProperty(W)&&T!==E&&(T!=null||E!=null))if(W==="style")if(E){for(_ in E)!E.hasOwnProperty(_)||T&&T.hasOwnProperty(_)||(a||(a={}),a[_]="");for(_ in T)T.hasOwnProperty(_)&&E[_]!==T[_]&&(a||(a={}),a[_]=T[_])}else a||(v||(v=[]),v.push(W,a)),a=T;else W==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,E=E?E.__html:void 0,T!=null&&E!==T&&(v=v||[]).push(W,T)):W==="children"?typeof T!="string"&&typeof T!="number"||(v=v||[]).push(W,""+T):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(s.hasOwnProperty(W)?(T!=null&&W==="onScroll"&&st("scroll",o),v||E===T||(v=[])):(v=v||[]).push(W,T))}a&&(v=v||[]).push("style",a);var W=v;(i.updateQueue=W)&&(i.flags|=4)}},U4=function(o,i,a,f){a!==f&&(i.flags|=4)};function _s(o,i){if(!lt)switch(o.tailMode){case"hidden":i=o.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?o.tail=null:a.sibling=null;break;case"collapsed":a=o.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:f.sibling=null}}function Ht(o){var i=o.alternate!==null&&o.alternate.child===o.child,a=0,f=0;if(i)for(var h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=o,h=h.sibling;else for(h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=o,h=h.sibling;return o.subtreeFlags|=f,o.childLanes=a,i}function Ov(o,i,a){var f=i.pendingProps;switch(Uc(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(i),null;case 1:return Jt(i.type)&&B1(),Ht(i),null;case 3:return f=i.stateNode,ei(),at(Yt),at(Ft),iu(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(G1(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Tn!==null&&(zu(Tn),Tn=null))),ku(o,i),Ht(i),null;case 5:ru(i);var h=oo(gs.current);if(a=i.type,o!==null&&i.stateNode!=null)W4(o,i,a,f,h),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!f){if(i.stateNode===null)throw Error(n(166));return Ht(i),null}if(o=oo(qn.current),G1(i)){f=i.stateNode,a=i.type;var v=i.memoizedProps;switch(f[Un]=i,f[ds]=v,o=(i.mode&1)!==0,a){case"dialog":st("cancel",f),st("close",f);break;case"iframe":case"object":case"embed":st("load",f);break;case"video":case"audio":for(h=0;h<ls.length;h++)st(ls[h],f);break;case"source":st("error",f);break;case"img":case"image":case"link":st("error",f),st("load",f);break;case"details":st("toggle",f);break;case"input":an(f,v),st("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!v.multiple},st("invalid",f);break;case"textarea":Fi(f,v),st("invalid",f)}oc(a,v),h=null;for(var _ in v)if(v.hasOwnProperty(_)){var E=v[_];_==="children"?typeof E=="string"?f.textContent!==E&&(v.suppressHydrationWarning!==!0&&$1(f.textContent,E,o),h=["children",E]):typeof E=="number"&&f.textContent!==""+E&&(v.suppressHydrationWarning!==!0&&$1(f.textContent,E,o),h=["children",""+E]):s.hasOwnProperty(_)&&E!=null&&_==="onScroll"&&st("scroll",f)}switch(a){case"input":De(f),nr(f,v,!0);break;case"textarea":De(f),Hi(f);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(f.onclick=H1)}f=h,i.updateQueue=f,f!==null&&(i.flags|=4)}else{_=h.nodeType===9?h:h.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=Vi(a)),o==="http://www.w3.org/1999/xhtml"?a==="script"?(o=_.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof f.is=="string"?o=_.createElement(a,{is:f.is}):(o=_.createElement(a),a==="select"&&(_=o,f.multiple?_.multiple=!0:f.size&&(_.size=f.size))):o=_.createElementNS(o,a),o[Un]=i,o[ds]=f,Z4(o,i,!1,!1),i.stateNode=o;e:{switch(_=ic(a,f),a){case"dialog":st("cancel",o),st("close",o),h=f;break;case"iframe":case"object":case"embed":st("load",o),h=f;break;case"video":case"audio":for(h=0;h<ls.length;h++)st(ls[h],o);h=f;break;case"source":st("error",o),h=f;break;case"img":case"image":case"link":st("error",o),st("load",o),h=f;break;case"details":st("toggle",o),h=f;break;case"input":an(o,f),h=Qe(o,f),st("invalid",o);break;case"option":h=f;break;case"select":o._wrapperState={wasMultiple:!!f.multiple},h=te({},f,{value:void 0}),st("invalid",o);break;case"textarea":Fi(o,f),h=Zn(o,f),st("invalid",o);break;default:h=f}oc(a,h),E=h;for(v in E)if(E.hasOwnProperty(v)){var T=E[v];v==="style"?z2(o,T):v==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&N2(o,T)):v==="children"?typeof T=="string"?(a!=="textarea"||T!=="")&&Bi(o,T):typeof T=="number"&&Bi(o,""+T):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(s.hasOwnProperty(v)?T!=null&&v==="onScroll"&&st("scroll",o):T!=null&&B(o,v,T,_))}switch(a){case"input":De(o),nr(o,f,!1);break;case"textarea":De(o),Hi(o);break;case"option":f.value!=null&&o.setAttribute("value",""+Fe(f.value));break;case"select":o.multiple=!!f.multiple,v=f.value,v!=null?gt(o,!!f.multiple,v,!1):f.defaultValue!=null&>(o,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(o.onclick=H1)}switch(a){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return Ht(i),null;case 6:if(o&&i.stateNode!=null)U4(o,i,o.memoizedProps,f);else{if(typeof f!="string"&&i.stateNode===null)throw Error(n(166));if(a=oo(gs.current),oo(qn.current),G1(i)){if(f=i.stateNode,a=i.memoizedProps,f[Un]=i,(v=f.nodeValue!==a)&&(o=un,o!==null))switch(o.tag){case 3:$1(f.nodeValue,a,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&$1(f.nodeValue,a,(o.mode&1)!==0)}v&&(i.flags|=4)}else f=(a.nodeType===9?a:a.ownerDocument).createTextNode(f),f[Un]=i,i.stateNode=f}return Ht(i),null;case 13:if(at(ft),f=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(lt&&dn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)K3(),Yo(),i.flags|=98560,v=!1;else if(v=G1(i),f!==null&&f.dehydrated!==null){if(o===null){if(!v)throw Error(n(318));if(v=i.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(n(317));v[Un]=i}else Yo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ht(i),v=!1}else Tn!==null&&(zu(Tn),Tn=null),v=!0;if(!v)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(f=f!==null,f!==(o!==null&&o.memoizedState!==null)&&f&&(i.child.flags|=8192,(i.mode&1)!==0&&(o===null||(ft.current&1)!==0?kt===0&&(kt=3):Du())),i.updateQueue!==null&&(i.flags|=4),Ht(i),null);case 4:return ei(),ku(o,i),o===null&&cs(i.stateNode.containerInfo),Ht(i),null;case 10:return Xc(i.type._context),Ht(i),null;case 17:return Jt(i.type)&&B1(),Ht(i),null;case 19:if(at(ft),v=i.memoizedState,v===null)return Ht(i),null;if(f=(i.flags&128)!==0,_=v.rendering,_===null)if(f)_s(v,!1);else{if(kt!==0||o!==null&&(o.flags&128)!==0)for(o=i.child;o!==null;){if(_=ea(o),_!==null){for(i.flags|=128,_s(v,!1),f=_.updateQueue,f!==null&&(i.updateQueue=f,i.flags|=4),i.subtreeFlags=0,f=a,a=i.child;a!==null;)v=a,o=f,v.flags&=14680066,_=v.alternate,_===null?(v.childLanes=0,v.lanes=o,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=_.childLanes,v.lanes=_.lanes,v.child=_.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=_.memoizedProps,v.memoizedState=_.memoizedState,v.updateQueue=_.updateQueue,v.type=_.type,o=_.dependencies,v.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a=a.sibling;return rt(ft,ft.current&1|2),i.child}o=o.sibling}v.tail!==null&&xt()>oi&&(i.flags|=128,f=!0,_s(v,!1),i.lanes=4194304)}else{if(!f)if(o=ea(_),o!==null){if(i.flags|=128,f=!0,a=o.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),_s(v,!0),v.tail===null&&v.tailMode==="hidden"&&!_.alternate&&!lt)return Ht(i),null}else 2*xt()-v.renderingStartTime>oi&&a!==1073741824&&(i.flags|=128,f=!0,_s(v,!1),i.lanes=4194304);v.isBackwards?(_.sibling=i.child,i.child=_):(a=v.last,a!==null?a.sibling=_:i.child=_,v.last=_)}return v.tail!==null?(i=v.tail,v.rendering=i,v.tail=i.sibling,v.renderingStartTime=xt(),i.sibling=null,a=ft.current,rt(ft,f?a&1|2:a&1),i):(Ht(i),null);case 22:case 23:return Ru(),f=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==f&&(i.flags|=8192),f&&(i.mode&1)!==0?(fn&1073741824)!==0&&(Ht(i),i.subtreeFlags&6&&(i.flags|=8192)):Ht(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function Tv(o,i){switch(Uc(i),i.tag){case 1:return Jt(i.type)&&B1(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return ei(),at(Yt),at(Ft),iu(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return ru(i),null;case 13:if(at(ft),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Yo()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return at(ft),null;case 4:return ei(),null;case 10:return Xc(i.type._context),null;case 22:case 23:return Ru(),null;case 24:return null;default:return null}}var ca=!1,Vt=!1,Lv=typeof WeakSet=="function"?WeakSet:Set,ye=null;function ni(o,i){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(f){vt(o,i,f)}else a.current=null}function Su(o,i,a){try{a()}catch(f){vt(o,i,f)}}var q4=!1;function Nv(o,i){if(Rc=M1,o=S3(),Mc(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var f=a.getSelection&&a.getSelection();if(f&&f.rangeCount!==0){a=f.anchorNode;var h=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{a.nodeType,v.nodeType}catch{a=null;break e}var _=0,E=-1,T=-1,W=0,ie=0,le=o,oe=null;t:for(;;){for(var ge;le!==a||h!==0&&le.nodeType!==3||(E=_+h),le!==v||f!==0&&le.nodeType!==3||(T=_+f),le.nodeType===3&&(_+=le.nodeValue.length),(ge=le.firstChild)!==null;)oe=le,le=ge;for(;;){if(le===o)break t;if(oe===a&&++W===h&&(E=_),oe===v&&++ie===f&&(T=_),(ge=le.nextSibling)!==null)break;le=oe,oe=le.parentNode}le=ge}a=E===-1||T===-1?null:{start:E,end:T}}else a=null}a=a||{start:0,end:0}}else a=null;for(Dc={focusedElem:o,selectionRange:a},M1=!1,ye=i;ye!==null;)if(i=ye,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,ye=o;else for(;ye!==null;){i=ye;try{var be=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(be!==null){var Ce=be.memoizedProps,yt=be.memoizedState,A=i.stateNode,N=A.getSnapshotBeforeUpdate(i.elementType===i.type?Ce:Ln(i.type,Ce),yt);A.__reactInternalSnapshotBeforeUpdate=N}break;case 3:var $=i.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ue){vt(i,i.return,ue)}if(o=i.sibling,o!==null){o.return=i.return,ye=o;break}ye=i.return}return be=q4,q4=!1,be}function bs(o,i,a){var f=i.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&o)===o){var v=h.destroy;h.destroy=void 0,v!==void 0&&Su(i,a,v)}h=h.next}while(h!==f)}}function ua(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&o)===o){var f=a.create;a.destroy=f()}a=a.next}while(a!==i)}}function Eu(o){var i=o.ref;if(i!==null){var a=o.stateNode;switch(o.tag){case 5:o=a;break;default:o=a}typeof i=="function"?i(o):i.current=o}}function G4(o){var i=o.alternate;i!==null&&(o.alternate=null,G4(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Un],delete i[ds],delete i[Vc],delete i[mv],delete i[gv])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function K4(o){return o.tag===5||o.tag===3||o.tag===4}function Y4(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||K4(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function ju(o,i,a){var f=o.tag;if(f===5||f===6)o=o.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(o,i):a.insertBefore(o,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(o,a)):(i=a,i.appendChild(o)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=H1));else if(f!==4&&(o=o.child,o!==null))for(ju(o,i,a),o=o.sibling;o!==null;)ju(o,i,a),o=o.sibling}function Iu(o,i,a){var f=o.tag;if(f===5||f===6)o=o.stateNode,i?a.insertBefore(o,i):a.appendChild(o);else if(f!==4&&(o=o.child,o!==null))for(Iu(o,i,a),o=o.sibling;o!==null;)Iu(o,i,a),o=o.sibling}var Nt=null,Nn=!1;function zr(o,i,a){for(a=a.child;a!==null;)J4(o,i,a),a=a.sibling}function J4(o,i,a){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(C1,a)}catch{}switch(a.tag){case 5:Vt||ni(a,i);case 6:var f=Nt,h=Nn;Nt=null,zr(o,i,a),Nt=f,Nn=h,Nt!==null&&(Nn?(o=Nt,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):Nt.removeChild(a.stateNode));break;case 18:Nt!==null&&(Nn?(o=Nt,a=a.stateNode,o.nodeType===8?Hc(o.parentNode,a):o.nodeType===1&&Hc(o,a),es(o)):Hc(Nt,a.stateNode));break;case 4:f=Nt,h=Nn,Nt=a.stateNode.containerInfo,Nn=!0,zr(o,i,a),Nt=f,Nn=h;break;case 0:case 11:case 14:case 15:if(!Vt&&(f=a.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var v=h,_=v.destroy;v=v.tag,_!==void 0&&((v&2)!==0||(v&4)!==0)&&Su(a,i,_),h=h.next}while(h!==f)}zr(o,i,a);break;case 1:if(!Vt&&(ni(a,i),f=a.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=a.memoizedProps,f.state=a.memoizedState,f.componentWillUnmount()}catch(E){vt(a,i,E)}zr(o,i,a);break;case 21:zr(o,i,a);break;case 22:a.mode&1?(Vt=(f=Vt)||a.memoizedState!==null,zr(o,i,a),Vt=f):zr(o,i,a);break;default:zr(o,i,a)}}function X4(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new Lv),i.forEach(function(f){var h=Vv.bind(null,o,f);a.has(f)||(a.add(f),f.then(h,h))})}}function Pn(o,i){var a=i.deletions;if(a!==null)for(var f=0;f<a.length;f++){var h=a[f];try{var v=o,_=i,E=_;e:for(;E!==null;){switch(E.tag){case 5:Nt=E.stateNode,Nn=!1;break e;case 3:Nt=E.stateNode.containerInfo,Nn=!0;break e;case 4:Nt=E.stateNode.containerInfo,Nn=!0;break e}E=E.return}if(Nt===null)throw Error(n(160));J4(v,_,h),Nt=null,Nn=!1;var T=h.alternate;T!==null&&(T.return=null),h.return=null}catch(W){vt(h,i,W)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)Q4(i,o),i=i.sibling}function Q4(o,i){var a=o.alternate,f=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(Pn(i,o),Kn(o),f&4){try{bs(3,o,o.return),ua(3,o)}catch(Ce){vt(o,o.return,Ce)}try{bs(5,o,o.return)}catch(Ce){vt(o,o.return,Ce)}}break;case 1:Pn(i,o),Kn(o),f&512&&a!==null&&ni(a,a.return);break;case 5:if(Pn(i,o),Kn(o),f&512&&a!==null&&ni(a,a.return),o.flags&32){var h=o.stateNode;try{Bi(h,"")}catch(Ce){vt(o,o.return,Ce)}}if(f&4&&(h=o.stateNode,h!=null)){var v=o.memoizedProps,_=a!==null?a.memoizedProps:v,E=o.type,T=o.updateQueue;if(o.updateQueue=null,T!==null)try{E==="input"&&v.type==="radio"&&v.name!=null&&Ze(h,v),ic(E,_);var W=ic(E,v);for(_=0;_<T.length;_+=2){var ie=T[_],le=T[_+1];ie==="style"?z2(h,le):ie==="dangerouslySetInnerHTML"?N2(h,le):ie==="children"?Bi(h,le):B(h,ie,le,W)}switch(E){case"input":ln(h,v);break;case"textarea":$i(h,v);break;case"select":var oe=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!v.multiple;var ge=v.value;ge!=null?gt(h,!!v.multiple,ge,!1):oe!==!!v.multiple&&(v.defaultValue!=null?gt(h,!!v.multiple,v.defaultValue,!0):gt(h,!!v.multiple,v.multiple?[]:"",!1))}h[ds]=v}catch(Ce){vt(o,o.return,Ce)}}break;case 6:if(Pn(i,o),Kn(o),f&4){if(o.stateNode===null)throw Error(n(162));h=o.stateNode,v=o.memoizedProps;try{h.nodeValue=v}catch(Ce){vt(o,o.return,Ce)}}break;case 3:if(Pn(i,o),Kn(o),f&4&&a!==null&&a.memoizedState.isDehydrated)try{es(i.containerInfo)}catch(Ce){vt(o,o.return,Ce)}break;case 4:Pn(i,o),Kn(o);break;case 13:Pn(i,o),Kn(o),h=o.child,h.flags&8192&&(v=h.memoizedState!==null,h.stateNode.isHidden=v,!v||h.alternate!==null&&h.alternate.memoizedState!==null||(Tu=xt())),f&4&&X4(o);break;case 22:if(ie=a!==null&&a.memoizedState!==null,o.mode&1?(Vt=(W=Vt)||ie,Pn(i,o),Vt=W):Pn(i,o),Kn(o),f&8192){if(W=o.memoizedState!==null,(o.stateNode.isHidden=W)&&!ie&&(o.mode&1)!==0)for(ye=o,ie=o.child;ie!==null;){for(le=ye=ie;ye!==null;){switch(oe=ye,ge=oe.child,oe.tag){case 0:case 11:case 14:case 15:bs(4,oe,oe.return);break;case 1:ni(oe,oe.return);var be=oe.stateNode;if(typeof be.componentWillUnmount=="function"){f=oe,a=oe.return;try{i=f,be.props=i.memoizedProps,be.state=i.memoizedState,be.componentWillUnmount()}catch(Ce){vt(f,a,Ce)}}break;case 5:ni(oe,oe.return);break;case 22:if(oe.memoizedState!==null){nf(le);continue}}ge!==null?(ge.return=oe,ye=ge):nf(le)}ie=ie.sibling}e:for(ie=null,le=o;;){if(le.tag===5){if(ie===null){ie=le;try{h=le.stateNode,W?(v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(E=le.stateNode,T=le.memoizedProps.style,_=T!=null&&T.hasOwnProperty("display")?T.display:null,E.style.display=P2("display",_))}catch(Ce){vt(o,o.return,Ce)}}}else if(le.tag===6){if(ie===null)try{le.stateNode.nodeValue=W?"":le.memoizedProps}catch(Ce){vt(o,o.return,Ce)}}else if((le.tag!==22&&le.tag!==23||le.memoizedState===null||le===o)&&le.child!==null){le.child.return=le,le=le.child;continue}if(le===o)break e;for(;le.sibling===null;){if(le.return===null||le.return===o)break e;ie===le&&(ie=null),le=le.return}ie===le&&(ie=null),le.sibling.return=le.return,le=le.sibling}}break;case 19:Pn(i,o),Kn(o),f&4&&X4(o);break;case 21:break;default:Pn(i,o),Kn(o)}}function Kn(o){var i=o.flags;if(i&2){try{e:{for(var a=o.return;a!==null;){if(K4(a)){var f=a;break e}a=a.return}throw Error(n(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(Bi(h,""),f.flags&=-33);var v=Y4(o);Iu(o,v,h);break;case 3:case 4:var _=f.stateNode.containerInfo,E=Y4(o);ju(o,E,_);break;default:throw Error(n(161))}}catch(T){vt(o,o.return,T)}o.flags&=-3}i&4096&&(o.flags&=-4097)}function Pv(o,i,a){ye=o,ef(o)}function ef(o,i,a){for(var f=(o.mode&1)!==0;ye!==null;){var h=ye,v=h.child;if(h.tag===22&&f){var _=h.memoizedState!==null||ca;if(!_){var E=h.alternate,T=E!==null&&E.memoizedState!==null||Vt;E=ca;var W=Vt;if(ca=_,(Vt=T)&&!W)for(ye=h;ye!==null;)_=ye,T=_.child,_.tag===22&&_.memoizedState!==null?rf(h):T!==null?(T.return=_,ye=T):rf(h);for(;v!==null;)ye=v,ef(v),v=v.sibling;ye=h,ca=E,Vt=W}tf(o)}else(h.subtreeFlags&8772)!==0&&v!==null?(v.return=h,ye=v):tf(o)}}function tf(o){for(;ye!==null;){var i=ye;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Vt||ua(5,i);break;case 1:var f=i.stateNode;if(i.flags&4&&!Vt)if(a===null)f.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:Ln(i.type,a.memoizedProps);f.componentDidUpdate(h,a.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&n4(i,v,f);break;case 3:var _=i.updateQueue;if(_!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}n4(i,_,a)}break;case 5:var E=i.stateNode;if(a===null&&i.flags&4){a=E;var T=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&a.focus();break;case"img":T.src&&(a.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var W=i.alternate;if(W!==null){var ie=W.memoizedState;if(ie!==null){var le=ie.dehydrated;le!==null&&es(le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Vt||i.flags&512&&Eu(i)}catch(oe){vt(i,i.return,oe)}}if(i===o){ye=null;break}if(a=i.sibling,a!==null){a.return=i.return,ye=a;break}ye=i.return}}function nf(o){for(;ye!==null;){var i=ye;if(i===o){ye=null;break}var a=i.sibling;if(a!==null){a.return=i.return,ye=a;break}ye=i.return}}function rf(o){for(;ye!==null;){var i=ye;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{ua(4,i)}catch(T){vt(i,a,T)}break;case 1:var f=i.stateNode;if(typeof f.componentDidMount=="function"){var h=i.return;try{f.componentDidMount()}catch(T){vt(i,h,T)}}var v=i.return;try{Eu(i)}catch(T){vt(i,v,T)}break;case 5:var _=i.return;try{Eu(i)}catch(T){vt(i,_,T)}}}catch(T){vt(i,i.return,T)}if(i===o){ye=null;break}var E=i.sibling;if(E!==null){E.return=i.return,ye=E;break}ye=i.return}}var zv=Math.ceil,da=z.ReactCurrentDispatcher,Mu=z.ReactCurrentOwner,Cn=z.ReactCurrentBatchConfig,Ke=0,It=null,bt=null,Pt=0,fn=0,ri=Or(0),kt=0,Cs=null,so=0,fa=0,Ou=0,ks=null,Qt=null,Tu=0,oi=1/0,ur=null,ha=!1,Lu=null,Ar=null,pa=!1,Rr=null,ma=0,Ss=0,Nu=null,ga=-1,va=0;function qt(){return(Ke&6)!==0?xt():ga!==-1?ga:ga=xt()}function Dr(o){return(o.mode&1)===0?1:(Ke&2)!==0&&Pt!==0?Pt&-Pt:wv.transition!==null?(va===0&&(va=Y2()),va):(o=et,o!==0||(o=window.event,o=o===void 0?16:i3(o.type)),o)}function zn(o,i,a,f){if(50<Ss)throw Ss=0,Nu=null,Error(n(185));Ki(o,a,f),((Ke&2)===0||o!==It)&&(o===It&&((Ke&2)===0&&(fa|=a),kt===4&&Fr(o,Pt)),en(o,f),a===1&&Ke===0&&(i.mode&1)===0&&(oi=xt()+500,W1&&Lr()))}function en(o,i){var a=o.callbackNode;wg(o,i);var f=E1(o,o===It?Pt:0);if(f===0)a!==null&&q2(a),o.callbackNode=null,o.callbackPriority=0;else if(i=f&-f,o.callbackPriority!==i){if(a!=null&&q2(a),i===1)o.tag===0?vv(sf.bind(null,o)):Z3(sf.bind(null,o)),hv(function(){(Ke&6)===0&&Lr()}),a=null;else{switch(J2(f)){case 1:a=fc;break;case 4:a=G2;break;case 16:a=b1;break;case 536870912:a=K2;break;default:a=b1}a=pf(a,of.bind(null,o))}o.callbackPriority=i,o.callbackNode=a}}function of(o,i){if(ga=-1,va=0,(Ke&6)!==0)throw Error(n(327));var a=o.callbackNode;if(ii()&&o.callbackNode!==a)return null;var f=E1(o,o===It?Pt:0);if(f===0)return null;if((f&30)!==0||(f&o.expiredLanes)!==0||i)i=wa(o,f);else{i=f;var h=Ke;Ke|=2;var v=lf();(It!==o||Pt!==i)&&(ur=null,oi=xt()+500,lo(o,i));do try{Dv();break}catch(E){af(o,E)}while(!0);Jc(),da.current=v,Ke=h,bt!==null?i=0:(It=null,Pt=0,i=kt)}if(i!==0){if(i===2&&(h=hc(o),h!==0&&(f=h,i=Pu(o,h))),i===1)throw a=Cs,lo(o,0),Fr(o,f),en(o,xt()),a;if(i===6)Fr(o,f);else{if(h=o.current.alternate,(f&30)===0&&!Av(h)&&(i=wa(o,f),i===2&&(v=hc(o),v!==0&&(f=v,i=Pu(o,v))),i===1))throw a=Cs,lo(o,0),Fr(o,f),en(o,xt()),a;switch(o.finishedWork=h,o.finishedLanes=f,i){case 0:case 1:throw Error(n(345));case 2:co(o,Qt,ur);break;case 3:if(Fr(o,f),(f&130023424)===f&&(i=Tu+500-xt(),10<i)){if(E1(o,0)!==0)break;if(h=o.suspendedLanes,(h&f)!==f){qt(),o.pingedLanes|=o.suspendedLanes&h;break}o.timeoutHandle=$c(co.bind(null,o,Qt,ur),i);break}co(o,Qt,ur);break;case 4:if(Fr(o,f),(f&4194240)===f)break;for(i=o.eventTimes,h=-1;0<f;){var _=31-Mn(f);v=1<<_,_=i[_],_>h&&(h=_),f&=~v}if(f=h,f=xt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*zv(f/1960))-f,10<f){o.timeoutHandle=$c(co.bind(null,o,Qt,ur),f);break}co(o,Qt,ur);break;case 5:co(o,Qt,ur);break;default:throw Error(n(329))}}}return en(o,xt()),o.callbackNode===a?of.bind(null,o):null}function Pu(o,i){var a=ks;return o.current.memoizedState.isDehydrated&&(lo(o,i).flags|=256),o=wa(o,i),o!==2&&(i=Qt,Qt=a,i!==null&&zu(i)),o}function zu(o){Qt===null?Qt=o:Qt.push.apply(Qt,o)}function Av(o){for(var i=o;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var f=0;f<a.length;f++){var h=a[f],v=h.getSnapshot;h=h.value;try{if(!On(v(),h))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Fr(o,i){for(i&=~Ou,i&=~fa,o.suspendedLanes|=i,o.pingedLanes&=~i,o=o.expirationTimes;0<i;){var a=31-Mn(i),f=1<<a;o[a]=-1,i&=~f}}function sf(o){if((Ke&6)!==0)throw Error(n(327));ii();var i=E1(o,0);if((i&1)===0)return en(o,xt()),null;var a=wa(o,i);if(o.tag!==0&&a===2){var f=hc(o);f!==0&&(i=f,a=Pu(o,f))}if(a===1)throw a=Cs,lo(o,0),Fr(o,i),en(o,xt()),a;if(a===6)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=i,co(o,Qt,ur),en(o,xt()),null}function Au(o,i){var a=Ke;Ke|=1;try{return o(i)}finally{Ke=a,Ke===0&&(oi=xt()+500,W1&&Lr())}}function ao(o){Rr!==null&&Rr.tag===0&&(Ke&6)===0&&ii();var i=Ke;Ke|=1;var a=Cn.transition,f=et;try{if(Cn.transition=null,et=1,o)return o()}finally{et=f,Cn.transition=a,Ke=i,(Ke&6)===0&&Lr()}}function Ru(){fn=ri.current,at(ri)}function lo(o,i){o.finishedWork=null,o.finishedLanes=0;var a=o.timeoutHandle;if(a!==-1&&(o.timeoutHandle=-1,fv(a)),bt!==null)for(a=bt.return;a!==null;){var f=a;switch(Uc(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&B1();break;case 3:ei(),at(Yt),at(Ft),iu();break;case 5:ru(f);break;case 4:ei();break;case 13:at(ft);break;case 19:at(ft);break;case 10:Xc(f.type._context);break;case 22:case 23:Ru()}a=a.return}if(It=o,bt=o=$r(o.current,null),Pt=fn=i,kt=0,Cs=null,Ou=fa=so=0,Qt=ks=null,ro!==null){for(i=0;i<ro.length;i++)if(a=ro[i],f=a.interleaved,f!==null){a.interleaved=null;var h=f.next,v=a.pending;if(v!==null){var _=v.next;v.next=h,f.next=_}a.pending=f}ro=null}return o}function af(o,i){do{var a=bt;try{if(Jc(),ta.current=ia,na){for(var f=ht.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}na=!1}if(io=0,jt=Ct=ht=null,vs=!1,ws=0,Mu.current=null,a===null||a.return===null){kt=1,Cs=i,bt=null;break}e:{var v=o,_=a.return,E=a,T=i;if(i=Pt,E.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var W=T,ie=E,le=ie.tag;if((ie.mode&1)===0&&(le===0||le===11||le===15)){var oe=ie.alternate;oe?(ie.updateQueue=oe.updateQueue,ie.memoizedState=oe.memoizedState,ie.lanes=oe.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var ge=T4(_);if(ge!==null){ge.flags&=-257,L4(ge,_,E,v,i),ge.mode&1&&O4(v,W,i),i=ge,T=W;var be=i.updateQueue;if(be===null){var Ce=new Set;Ce.add(T),i.updateQueue=Ce}else be.add(T);break e}else{if((i&1)===0){O4(v,W,i),Du();break e}T=Error(n(426))}}else if(lt&&E.mode&1){var yt=T4(_);if(yt!==null){(yt.flags&65536)===0&&(yt.flags|=256),L4(yt,_,E,v,i),Kc(ti(T,E));break e}}v=T=ti(T,E),kt!==4&&(kt=2),ks===null?ks=[v]:ks.push(v),v=_;do{switch(v.tag){case 3:v.flags|=65536,i&=-i,v.lanes|=i;var A=I4(v,T,i);t4(v,A);break e;case 1:E=T;var N=v.type,$=v.stateNode;if((v.flags&128)===0&&(typeof N.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(Ar===null||!Ar.has($)))){v.flags|=65536,i&=-i,v.lanes|=i;var ue=M4(v,E,i);t4(v,ue);break e}}v=v.return}while(v!==null)}uf(a)}catch(Ee){i=Ee,bt===a&&a!==null&&(bt=a=a.return);continue}break}while(!0)}function lf(){var o=da.current;return da.current=ia,o===null?ia:o}function Du(){(kt===0||kt===3||kt===2)&&(kt=4),It===null||(so&268435455)===0&&(fa&268435455)===0||Fr(It,Pt)}function wa(o,i){var a=Ke;Ke|=2;var f=lf();(It!==o||Pt!==i)&&(ur=null,lo(o,i));do try{Rv();break}catch(h){af(o,h)}while(!0);if(Jc(),Ke=a,da.current=f,bt!==null)throw Error(n(261));return It=null,Pt=0,kt}function Rv(){for(;bt!==null;)cf(bt)}function Dv(){for(;bt!==null&&!cg();)cf(bt)}function cf(o){var i=hf(o.alternate,o,fn);o.memoizedProps=o.pendingProps,i===null?uf(o):bt=i,Mu.current=null}function uf(o){var i=o;do{var a=i.alternate;if(o=i.return,(i.flags&32768)===0){if(a=Ov(a,i,fn),a!==null){bt=a;return}}else{if(a=Tv(a,i),a!==null){a.flags&=32767,bt=a;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{kt=6,bt=null;return}}if(i=i.sibling,i!==null){bt=i;return}bt=i=o}while(i!==null);kt===0&&(kt=5)}function co(o,i,a){var f=et,h=Cn.transition;try{Cn.transition=null,et=1,Fv(o,i,a,f)}finally{Cn.transition=h,et=f}return null}function Fv(o,i,a,f){do ii();while(Rr!==null);if((Ke&6)!==0)throw Error(n(327));a=o.finishedWork;var h=o.finishedLanes;if(a===null)return null;if(o.finishedWork=null,o.finishedLanes=0,a===o.current)throw Error(n(177));o.callbackNode=null,o.callbackPriority=0;var v=a.lanes|a.childLanes;if(xg(o,v),o===It&&(bt=It=null,Pt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||pa||(pa=!0,pf(b1,function(){return ii(),null})),v=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||v){v=Cn.transition,Cn.transition=null;var _=et;et=1;var E=Ke;Ke|=4,Mu.current=null,Nv(o,a),Q4(a,o),iv(Dc),M1=!!Rc,Dc=Rc=null,o.current=a,Pv(a),ug(),Ke=E,et=_,Cn.transition=v}else o.current=a;if(pa&&(pa=!1,Rr=o,ma=h),v=o.pendingLanes,v===0&&(Ar=null),hg(a.stateNode),en(o,xt()),i!==null)for(f=o.onRecoverableError,a=0;a<i.length;a++)h=i[a],f(h.value,{componentStack:h.stack,digest:h.digest});if(ha)throw ha=!1,o=Lu,Lu=null,o;return(ma&1)!==0&&o.tag!==0&&ii(),v=o.pendingLanes,(v&1)!==0?o===Nu?Ss++:(Ss=0,Nu=o):Ss=0,Lr(),null}function ii(){if(Rr!==null){var o=J2(ma),i=Cn.transition,a=et;try{if(Cn.transition=null,et=16>o?16:o,Rr===null)var f=!1;else{if(o=Rr,Rr=null,ma=0,(Ke&6)!==0)throw Error(n(331));var h=Ke;for(Ke|=4,ye=o.current;ye!==null;){var v=ye,_=v.child;if((ye.flags&16)!==0){var E=v.deletions;if(E!==null){for(var T=0;T<E.length;T++){var W=E[T];for(ye=W;ye!==null;){var ie=ye;switch(ie.tag){case 0:case 11:case 15:bs(8,ie,v)}var le=ie.child;if(le!==null)le.return=ie,ye=le;else for(;ye!==null;){ie=ye;var oe=ie.sibling,ge=ie.return;if(G4(ie),ie===W){ye=null;break}if(oe!==null){oe.return=ge,ye=oe;break}ye=ge}}}var be=v.alternate;if(be!==null){var Ce=be.child;if(Ce!==null){be.child=null;do{var yt=Ce.sibling;Ce.sibling=null,Ce=yt}while(Ce!==null)}}ye=v}}if((v.subtreeFlags&2064)!==0&&_!==null)_.return=v,ye=_;else e:for(;ye!==null;){if(v=ye,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:bs(9,v,v.return)}var A=v.sibling;if(A!==null){A.return=v.return,ye=A;break e}ye=v.return}}var N=o.current;for(ye=N;ye!==null;){_=ye;var $=_.child;if((_.subtreeFlags&2064)!==0&&$!==null)$.return=_,ye=$;else e:for(_=N;ye!==null;){if(E=ye,(E.flags&2048)!==0)try{switch(E.tag){case 0:case 11:case 15:ua(9,E)}}catch(Ee){vt(E,E.return,Ee)}if(E===_){ye=null;break e}var ue=E.sibling;if(ue!==null){ue.return=E.return,ye=ue;break e}ye=E.return}}if(Ke=h,Lr(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(C1,o)}catch{}f=!0}return f}finally{et=a,Cn.transition=i}}return!1}function df(o,i,a){i=ti(a,i),i=I4(o,i,1),o=Pr(o,i,1),i=qt(),o!==null&&(Ki(o,1,i),en(o,i))}function vt(o,i,a){if(o.tag===3)df(o,o,a);else for(;i!==null;){if(i.tag===3){df(i,o,a);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Ar===null||!Ar.has(f))){o=ti(a,o),o=M4(i,o,1),i=Pr(i,o,1),o=qt(),i!==null&&(Ki(i,1,o),en(i,o));break}}i=i.return}}function $v(o,i,a){var f=o.pingCache;f!==null&&f.delete(i),i=qt(),o.pingedLanes|=o.suspendedLanes&a,It===o&&(Pt&a)===a&&(kt===4||kt===3&&(Pt&130023424)===Pt&&500>xt()-Tu?lo(o,0):Ou|=a),en(o,i)}function ff(o,i){i===0&&((o.mode&1)===0?i=1:(i=S1,S1<<=1,(S1&130023424)===0&&(S1=4194304)));var a=qt();o=ar(o,i),o!==null&&(Ki(o,i,a),en(o,a))}function Hv(o){var i=o.memoizedState,a=0;i!==null&&(a=i.retryLane),ff(o,a)}function Vv(o,i){var a=0;switch(o.tag){case 13:var f=o.stateNode,h=o.memoizedState;h!==null&&(a=h.retryLane);break;case 19:f=o.stateNode;break;default:throw Error(n(314))}f!==null&&f.delete(i),ff(o,a)}var hf;hf=function(o,i,a){if(o!==null)if(o.memoizedProps!==i.pendingProps||Yt.current)Xt=!0;else{if((o.lanes&a)===0&&(i.flags&128)===0)return Xt=!1,Mv(o,i,a);Xt=(o.flags&131072)!==0}else Xt=!1,lt&&(i.flags&1048576)!==0&&W3(i,q1,i.index);switch(i.lanes=0,i.tag){case 2:var f=i.type;la(o,i),o=i.pendingProps;var h=qo(i,Ft.current);Qo(i,a),h=lu(null,i,f,o,h,a);var v=cu();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Jt(f)?(v=!0,Z1(i)):v=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,tu(i),h.updater=sa,i.stateNode=h,h._reactInternals=i,mu(i,f,o,a),i=xu(null,i,f,!0,v,a)):(i.tag=0,lt&&v&&Wc(i),Ut(null,i,h,a),i=i.child),i;case 16:f=i.elementType;e:{switch(la(o,i),o=i.pendingProps,h=f._init,f=h(f._payload),i.type=f,h=i.tag=Zv(f),o=Ln(f,o),h){case 0:i=wu(null,i,f,o,a);break e;case 1:i=D4(null,i,f,o,a);break e;case 11:i=N4(null,i,f,o,a);break e;case 14:i=P4(null,i,f,Ln(f.type,o),a);break e}throw Error(n(306,f,""))}return i;case 0:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),wu(o,i,f,h,a);case 1:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),D4(o,i,f,h,a);case 3:e:{if(F4(i),o===null)throw Error(n(387));f=i.pendingProps,v=i.memoizedState,h=v.element,e4(o,i),Q1(i,f,null,a);var _=i.memoizedState;if(f=_.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){h=ti(Error(n(423)),i),i=$4(o,i,f,a,h);break e}else if(f!==h){h=ti(Error(n(424)),i),i=$4(o,i,f,a,h);break e}else for(dn=Mr(i.stateNode.containerInfo.firstChild),un=i,lt=!0,Tn=null,a=X3(i,null,f,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Yo(),f===h){i=cr(o,i,a);break e}Ut(o,i,f,a)}i=i.child}return i;case 5:return r4(i),o===null&&Gc(i),f=i.type,h=i.pendingProps,v=o!==null?o.memoizedProps:null,_=h.children,Fc(f,h)?_=null:v!==null&&Fc(f,v)&&(i.flags|=32),R4(o,i),Ut(o,i,_,a),i.child;case 6:return o===null&&Gc(i),null;case 13:return H4(o,i,a);case 4:return nu(i,i.stateNode.containerInfo),f=i.pendingProps,o===null?i.child=Jo(i,null,f,a):Ut(o,i,f,a),i.child;case 11:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),N4(o,i,f,h,a);case 7:return Ut(o,i,i.pendingProps,a),i.child;case 8:return Ut(o,i,i.pendingProps.children,a),i.child;case 12:return Ut(o,i,i.pendingProps.children,a),i.child;case 10:e:{if(f=i.type._context,h=i.pendingProps,v=i.memoizedProps,_=h.value,rt(Y1,f._currentValue),f._currentValue=_,v!==null)if(On(v.value,_)){if(v.children===h.children&&!Yt.current){i=cr(o,i,a);break e}}else for(v=i.child,v!==null&&(v.return=i);v!==null;){var E=v.dependencies;if(E!==null){_=v.child;for(var T=E.firstContext;T!==null;){if(T.context===f){if(v.tag===1){T=lr(-1,a&-a),T.tag=2;var W=v.updateQueue;if(W!==null){W=W.shared;var ie=W.pending;ie===null?T.next=T:(T.next=ie.next,ie.next=T),W.pending=T}}v.lanes|=a,T=v.alternate,T!==null&&(T.lanes|=a),Qc(v.return,a,i),E.lanes|=a;break}T=T.next}}else if(v.tag===10)_=v.type===i.type?null:v.child;else if(v.tag===18){if(_=v.return,_===null)throw Error(n(341));_.lanes|=a,E=_.alternate,E!==null&&(E.lanes|=a),Qc(_,a,i),_=v.sibling}else _=v.child;if(_!==null)_.return=v;else for(_=v;_!==null;){if(_===i){_=null;break}if(v=_.sibling,v!==null){v.return=_.return,_=v;break}_=_.return}v=_}Ut(o,i,h.children,a),i=i.child}return i;case 9:return h=i.type,f=i.pendingProps.children,Qo(i,a),h=_n(h),f=f(h),i.flags|=1,Ut(o,i,f,a),i.child;case 14:return f=i.type,h=Ln(f,i.pendingProps),h=Ln(f.type,h),P4(o,i,f,h,a);case 15:return z4(o,i,i.type,i.pendingProps,a);case 17:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),la(o,i),i.tag=1,Jt(f)?(o=!0,Z1(i)):o=!1,Qo(i,a),E4(i,f,h),mu(i,f,h,a),xu(null,i,f,!0,o,a);case 19:return B4(o,i,a);case 22:return A4(o,i,a)}throw Error(n(156,i.tag))};function pf(o,i){return U2(o,i)}function Bv(o,i,a,f){this.tag=o,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(o,i,a,f){return new Bv(o,i,a,f)}function Fu(o){return o=o.prototype,!(!o||!o.isReactComponent)}function Zv(o){if(typeof o=="function")return Fu(o)?1:0;if(o!=null){if(o=o.$$typeof,o===V)return 11;if(o===we)return 14}return 2}function $r(o,i){var a=o.alternate;return a===null?(a=kn(o.tag,i,o.key,o.mode),a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.alternate=o,o.alternate=a):(a.pendingProps=i,a.type=o.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=o.flags&14680064,a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a}function xa(o,i,a,f,h,v){var _=2;if(f=o,typeof o=="function")Fu(o)&&(_=1);else if(typeof o=="string")_=5;else e:switch(o){case ee:return uo(a.children,h,v,i);case q:_=8,h|=8;break;case G:return o=kn(12,a,i,h|2),o.elementType=G,o.lanes=v,o;case K:return o=kn(13,a,i,h),o.elementType=K,o.lanes=v,o;case X:return o=kn(19,a,i,h),o.elementType=X,o.lanes=v,o;case Se:return ya(a,h,v,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case k:_=10;break e;case Y:_=9;break e;case V:_=11;break e;case we:_=14;break e;case fe:_=16,f=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=kn(_,a,i,h),i.elementType=o,i.type=f,i.lanes=v,i}function uo(o,i,a,f){return o=kn(7,o,f,i),o.lanes=a,o}function ya(o,i,a,f){return o=kn(22,o,f,i),o.elementType=Se,o.lanes=a,o.stateNode={isHidden:!1},o}function $u(o,i,a){return o=kn(6,o,null,i),o.lanes=a,o}function Hu(o,i,a){return i=kn(4,o.children!==null?o.children:[],o.key,i),i.lanes=a,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function Wv(o,i,a,f,h){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pc(0),this.expirationTimes=pc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pc(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Vu(o,i,a,f,h,v,_,E,T){return o=new Wv(o,i,a,E,T),i===1?(i=1,v===!0&&(i|=8)):i=0,v=kn(3,null,null,i),o.current=v,v.stateNode=o,v.memoizedState={element:f,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},tu(v),o}function Uv(o,i,a){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Z,key:f==null?null:""+f,children:o,containerInfo:i,implementation:a}}function mf(o){if(!o)return Tr;o=o._reactInternals;e:{if(Xr(o)!==o||o.tag!==1)throw Error(n(170));var i=o;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Jt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(o.tag===1){var a=o.type;if(Jt(a))return V3(o,a,i)}return i}function gf(o,i,a,f,h,v,_,E,T){return o=Vu(a,f,!0,o,h,v,_,E,T),o.context=mf(null),a=o.current,f=qt(),h=Dr(a),v=lr(f,h),v.callback=i??null,Pr(a,v,h),o.current.lanes=h,Ki(o,h,f),en(o,f),o}function _a(o,i,a,f){var h=i.current,v=qt(),_=Dr(h);return a=mf(a),i.context===null?i.context=a:i.pendingContext=a,i=lr(v,_),i.payload={element:o},f=f===void 0?null:f,f!==null&&(i.callback=f),o=Pr(h,i,_),o!==null&&(zn(o,h,_,v),X1(o,h,_)),_}function ba(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function vf(o,i){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var a=o.retryLane;o.retryLane=a!==0&&a<i?a:i}}function Bu(o,i){vf(o,i),(o=o.alternate)&&vf(o,i)}function qv(){return null}var wf=typeof reportError=="function"?reportError:function(o){console.error(o)};function Zu(o){this._internalRoot=o}Ca.prototype.render=Zu.prototype.render=function(o){var i=this._internalRoot;if(i===null)throw Error(n(409));_a(o,i,null,null)},Ca.prototype.unmount=Zu.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var i=o.containerInfo;ao(function(){_a(null,o,null,null)}),i[rr]=null}};function Ca(o){this._internalRoot=o}Ca.prototype.unstable_scheduleHydration=function(o){if(o){var i=e3();o={blockedOn:null,target:o,priority:i};for(var a=0;a<Er.length&&i!==0&&i<Er[a].priority;a++);Er.splice(a,0,o),a===0&&r3(o)}};function Wu(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function ka(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function xf(){}function Gv(o,i,a,f,h){if(h){if(typeof f=="function"){var v=f;f=function(){var W=ba(_);v.call(W)}}var _=gf(i,f,o,0,null,!1,!1,"",xf);return o._reactRootContainer=_,o[rr]=_.current,cs(o.nodeType===8?o.parentNode:o),ao(),_}for(;h=o.lastChild;)o.removeChild(h);if(typeof f=="function"){var E=f;f=function(){var W=ba(T);E.call(W)}}var T=Vu(o,0,!1,null,null,!1,!1,"",xf);return o._reactRootContainer=T,o[rr]=T.current,cs(o.nodeType===8?o.parentNode:o),ao(function(){_a(i,T,a,f)}),T}function Sa(o,i,a,f,h){var v=a._reactRootContainer;if(v){var _=v;if(typeof h=="function"){var E=h;h=function(){var T=ba(_);E.call(T)}}_a(i,_,o,h)}else _=Gv(a,i,o,h,f);return ba(_)}X2=function(o){switch(o.tag){case 3:var i=o.stateNode;if(i.current.memoizedState.isDehydrated){var a=Gi(i.pendingLanes);a!==0&&(mc(i,a|1),en(i,xt()),(Ke&6)===0&&(oi=xt()+500,Lr()))}break;case 13:ao(function(){var f=ar(o,1);if(f!==null){var h=qt();zn(f,o,1,h)}}),Bu(o,1)}},gc=function(o){if(o.tag===13){var i=ar(o,134217728);if(i!==null){var a=qt();zn(i,o,134217728,a)}Bu(o,134217728)}},Q2=function(o){if(o.tag===13){var i=Dr(o),a=ar(o,i);if(a!==null){var f=qt();zn(a,o,i,f)}Bu(o,i)}},e3=function(){return et},t3=function(o,i){var a=et;try{return et=o,i()}finally{et=a}},lc=function(o,i,a){switch(i){case"input":if(ln(o,a),i=a.name,a.type==="radio"&&i!=null){for(a=o;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var f=a[i];if(f!==o&&f.form===o.form){var h=V1(f);if(!h)throw Error(n(90));dt(f),ln(f,h)}}}break;case"textarea":$i(o,a);break;case"select":i=a.value,i!=null&>(o,!!a.multiple,i,!1)}},F2=Au,$2=ao;var Kv={usingClientEntryPoint:!1,Events:[fs,Wo,V1,R2,D2,Au]},Es={findFiberByHostInstance:Qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Yv={bundleType:Es.bundleType,version:Es.version,rendererPackageName:Es.rendererPackageName,rendererConfig:Es.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=Z2(o),o===null?null:o.stateNode},findFiberByHostInstance:Es.findFiberByHostInstance||qv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ea=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ea.isDisabled&&Ea.supportsFiber)try{C1=Ea.inject(Yv),Wn=Ea}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kv,tn.createPortal=function(o,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Wu(i))throw Error(n(200));return Uv(o,i,null,a)},tn.createRoot=function(o,i){if(!Wu(o))throw Error(n(299));var a=!1,f="",h=wf;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=Vu(o,1,!1,null,null,a,!1,f,h),o[rr]=i.current,cs(o.nodeType===8?o.parentNode:o),new Zu(i)},tn.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var i=o._reactInternals;if(i===void 0)throw typeof o.render=="function"?Error(n(188)):(o=Object.keys(o).join(","),Error(n(268,o)));return o=Z2(i),o=o===null?null:o.stateNode,o},tn.flushSync=function(o){return ao(o)},tn.hydrate=function(o,i,a){if(!ka(i))throw Error(n(200));return Sa(null,o,i,!0,a)},tn.hydrateRoot=function(o,i,a){if(!Wu(o))throw Error(n(405));var f=a!=null&&a.hydratedSources||null,h=!1,v="",_=wf;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(v=a.identifierPrefix),a.onRecoverableError!==void 0&&(_=a.onRecoverableError)),i=gf(i,null,o,1,a??null,h,!1,v,_),o[rr]=i.current,cs(o),f)for(o=0;o<f.length;o++)a=f[o],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new Ca(i)},tn.render=function(o,i,a){if(!ka(i))throw Error(n(200));return Sa(null,o,i,!1,a)},tn.unmountComponentAtNode=function(o){if(!ka(o))throw Error(n(40));return o._reactRootContainer?(ao(function(){Sa(null,null,o,!1,function(){o._reactRootContainer=null,o[rr]=null})}),!0):!1},tn.unstable_batchedUpdates=Au,tn.unstable_renderSubtreeIntoContainer=function(o,i,a,f){if(!ka(a))throw Error(n(200));if(o==null||o._reactInternals===void 0)throw Error(n(38));return Sa(o,i,a,!1,f)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var V5;function B8(){if(V5)return fd.exports;V5=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),fd.exports=Dj(),fd.exports}var gn=B8();const Fj=p1(gn),$j=Sl({__proto__:null,default:Fj},[gn]);var Ra={},B5;function Hj(){if(B5)return Ra;B5=1;var e=B8();return Ra.createRoot=e.createRoot,Ra.hydrateRoot=e.hydrateRoot,Ra}var Z8=Hj();const Vj=p1(Z8),Bj=Sl({__proto__:null,default:Vj},[Z8]);function Zj(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class Wj extends Error{}class Uj extends Error{}function qj(e){return typeof e=="function"?e():e}const Da=Object.freeze([]);class Gj{records=new Map;factories=new Map;mutateListeners=new Set;handleScopes=new Map;dirty=new Set;flushScheduled=!1;abdicated=new WeakSet;entryErrorListeners=new Set;constructor(){const t=this.record("root");t.spec={kind:"single",scope:"root"},t.declaredBy="(built-in)",t.declarationEpoch=1}registerFactory=((t,n)=>{const r=t,s=this.factoryRecord(r.name);if(s.definition!==void 0)throw new Error(`slot factory "${r.name}" already has a definition`);for(const d of Object.keys(r.children??{})){const p=this.records.get(d);if(p?.spec!==void 0)throw new Error(`slot "${d}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(r.store!==void 0&&typeof r.store!="function"){const d=this.handleScopes.get(r.store);if(d!==void 0&&d.scope!==r.scope)throw new Error(`store handle mounted under factory "${r.name}" (scope "${r.scope}") is already mounted under scope "${d.scope}" — one handle, one scope`);d!==void 0?d.count+=1:this.handleScopes.set(r.store,{scope:r.scope,count:1})}const l={name:r.name,component:n,scope:r.scope,...r.children===void 0?{}:{children:r.children},...r.store===void 0?{}:{store:r.store},...r.inject===void 0?{}:{inject:r.inject},...r.locale===void 0?{}:{locale:r.locale},...r.slots===void 0?{}:{slots:r.slots},...r.registrant===void 0?{}:{registrant:r.registrant}};s.definition=l,this.markFactoryDirty(s);const u=[];for(const[d,p]of Object.entries(r.children??{})){const m=this.record(d);m.spec=p,m.declaredBy=`factory "${r.name}"${r.registrant?` (${r.registrant})`:""}`,m.parent=`factory:${r.name}`,m.declarationEpoch+=1,u.push([d,m])}for(const[d,p]of u)this.markDirty(d,p);for(const[,d]of u)this.notifyDeclaration(d);return()=>{if(s.definition===l){if(s.definition=void 0,this.markFactoryDirty(s),l.store!==void 0&&typeof l.store!="function"){const d=this.handleScopes.get(l.store);d!==void 0&&--d.count===0&&this.handleScopes.delete(l.store)}this.releaseChildren(l.children)}}});factory(t){return this.factories.get(t)?.definition}factoryVersion(t){return this.factories.get(t)?.version??0}subscribeFactory(t,n){const r=this.factoryRecord(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}isFactoryLive(t){return this.factories.get(t.name)?.definition===t}register(t,n){const r=this.records.get(t.name);if(!r?.spec)throw new Error(`slot "${t.name}" is not declared (a parent entry's children table must declare it)`);const s=r.spec,l=t.priority??0,u=m=>`at priority ${l}${m.registrant!==void 0?` (registered by ${m.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(s.kind){case"single":{const m=r.entries.find(g=>(g.options.priority??0)===l);if(m)throw new Error(`single slot "${t.name}" already has a registration ${u(m)}`);break}case"keyed":{if(t.key===void 0)throw new Error(`keyed slot "${t.name}" requires options.key`);const m=r.entries.find(g=>g.options.key===t.key&&(g.options.priority??0)===l);if(m)throw new Error(`keyed slot "${t.name}" already has an entry for key "${t.key}" ${u(m)}`);break}case"list":{if(t.id===void 0)throw new Error(`list slot "${t.name}" requires options.id`);const m=r.entries.find(g=>g.options.id===t.id&&(g.options.priority??0)===l);if(m)throw new Error(`list slot "${t.name}" already has an entry with id "${t.id}" ${u(m)}`);break}case"chain":if(t.select===void 0)throw new Error(`chain slot "${t.name}" requires options.select`);break}if(t.children)for(const m of Object.keys(t.children)){const g=this.records.get(m);if(g?.spec)throw new Error(`slot "${m}" is already declared (by ${g.declaredBy??"an unknown entry"})`)}if(t.store!==void 0&&typeof t.store!="function"){const m=this.handleScopes.get(t.store);if(m&&m.scope!==s.scope)throw new Error(`store handle mounted under "${t.name}" (scope "${s.scope}") is already mounted under scope "${m.scope}" — one handle, one scope`);m?m.count+=1:this.handleScopes.set(t.store,{scope:s.scope,count:1})}const d={component:n,options:{...t.key!==void 0?{key:t.key}:{},...t.id!==void 0?{id:t.id}:{},...t.order!==void 0?{order:t.order}:{},...t.label!==void 0?{label:t.label}:{},...t.priority!==void 0?{priority:t.priority}:{}},...t.select!==void 0?{select:t.select}:{},...t.inject!==void 0?{inject:t.inject}:{},...t.children!==void 0?{children:t.children}:{},...t.store!==void 0?{store:t.store}:{},...t.locale!==void 0?{locale:t.locale}:{},...t.registrant!==void 0?{registrant:t.registrant}:{}},p=[...r.entries,d];if(p.sort(s.kind==="list"?(m,g)=>(m.options.priority??0)-(g.options.priority??0)||(m.options.order??0)-(g.options.order??0):(m,g)=>(m.options.priority??0)-(g.options.priority??0)),r.entries=p,this.markDirty(t.name,r),t.children){const m=[];for(const[g,w]of Object.entries(t.children)){const x=this.record(g);x.spec=w,x.declaredBy=`an entry in "${t.name}"${t.registrant?` (${t.registrant})`:""}`,x.parent=t.name,x.declarationEpoch+=1,m.push([g,x])}for(const[g,w]of m)this.markDirty(g,w);for(const[,g]of m)this.notifyDeclaration(g)}return()=>{r.entries.includes(d)&&(r.entries=r.entries.filter(m=>m!==d),this.markDirty(t.name,r),this.releaseEntry(d))}}isLive(t){for(const n of this.records.values())if(n.entries.includes(t))return!0;return!1}entries(t){return this.records.get(t)?.entries??Da}entriesOfSlot(t){const n=this.records.get(t);if(!n?.spec)return Da;const r=n.spec.kind;if(r==="chain")return n.entries;const s=[],l=new Set;for(const u of n.entries){if(this.abdicated.has(u))continue;const d=r==="keyed"?u.options.key:r==="list"?u.options.id:void 0;l.has(d)||(l.add(d),s.push(u))}return s}spec(t){return this.records.get(t)?.spec}specDynamic(t){return this.records.get(t)?.spec}snapshot(t){const n=(u,d)=>{const p=this.records.get(u);if(p?.spec===void 0||d.has(u))return;const m=new Set(d);m.add(u);const g=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,x])=>x.spec!==void 0&&x.parent===u).flatMap(([x])=>{const y=n(x,m);return y===void 0?[]:[y]});return{type:"slot",name:u,kind:p.spec.kind,scope:p.spec.scope,...p.declaredBy===void 0?{}:{declaredBy:p.declaredBy},occupants:p.entries.map(x=>({...x.registrant===void 0?{}:{registrant:x.registrant},...x.options.key===void 0?{}:{key:x.options.key},...x.options.id===void 0?{}:{id:x.options.id},...x.options.order===void 0?{}:{order:x.options.order},priority:x.options.priority??0,active:g.has(x)})),children:w}},r=u=>{const d=this.factories.get(u)?.definition;if(d===void 0)return;const p=`factory:${u}`,m=[...this.records.entries()].filter(([,g])=>g.spec!==void 0&&g.parent===p).flatMap(([g])=>{const w=n(g,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:d.scope,...d.registrant===void 0?{}:{registrant:d.registrant},children:m}};if(t!==void 0){const u=t.startsWith("factory:")?r(t.slice(8)):n(t,new Set);return u===void 0?[]:[u]}const s=[...this.records.entries()].filter(([,u])=>u.spec!==void 0&&u.parent===void 0).flatMap(([u])=>{const d=n(u,new Set);return d===void 0?[]:[d]}),l=[...this.factories.keys()].flatMap(u=>{const d=r(u);return d===void 0?[]:[d]});return[...s,...l]}declarationEpoch(t){return this.records.get(t)?.declarationEpoch??0}subscribe(t,n){const r=this.record(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}subscribeDeclaration(t,n){const r=this.record(t);return r.declarationListeners.add(n),()=>{r.declarationListeners.delete(n)}}getVersion(t){return this.records.get(t)?.version??0}onMutate(t){return this.mutateListeners.add(t),()=>{this.mutateListeners.delete(t)}}reportEntryError(t,n,r,s){if(s.abdicate){if(this.abdicated.has(n))return;this.abdicated.add(n);const l=this.records.get(t);l!==void 0&&this.markDirty(t,l)}for(const l of[...this.entryErrorListeners])l(t,n,r,{abdicated:s.abdicate})}reportFactoryError(t,n,r){for(const s of[...this.entryErrorListeners])s(`factory:${t}`,n,r,{abdicated:!1})}onEntryError(t){return this.entryErrorListeners.add(t),()=>{this.entryErrorListeners.delete(t)}}releaseEntry(t){if(t.store!==void 0&&typeof t.store!="function"){const n=this.handleScopes.get(t.store);n&&--n.count===0&&this.handleScopes.delete(t.store)}this.releaseChildren(t.children)}releaseChildren(t){if(t!==void 0)for(const n of Object.keys(t)){const r=this.records.get(n);if(!r)continue;const s=r.entries;r.spec=void 0,r.declaredBy=void 0,r.parent=void 0,r.declarationEpoch+=1,r.entries=Da,this.markDirty(n,r),this.notifyDeclaration(r);for(const l of s)this.releaseEntry(l)}}record(t){let n=this.records.get(t);return n||(n={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:Da,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(t,n)),n}factoryRecord(t){let n=this.factories.get(t);return n===void 0&&(n={definition:void 0,version:0,listeners:new Set},this.factories.set(t,n)),n}markFactoryDirty(t){t.version+=1,queueMicrotask(()=>{for(const n of[...t.listeners])n()})}markDirty(t,n){n.version+=1;for(const r of[...this.mutateListeners])r(t);this.dirty.add(n),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(t){for(const n of[...t.declarationListeners])n()}flush(){this.flushScheduled=!1;const t=[...this.dirty];this.dirty.clear();for(const n of t)for(const r of[...n.listeners])r()}}const Kj=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:Gj,SlotOwnershipError:Uj,StaleAuthorizationError:Wj,resolveSlotLabel:qj,standardHookPropName:Zj},Symbol.toStringTag,{value:"Module"}));async function Ul(e){if(navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{return!1}const t=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(t===void 0)return!1;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.left="-9999px",document.body.appendChild(n),n.select();try{return t("copy")}catch{return!1}finally{n.remove()}}const Yj=1e3;function g1(e){const[t,n]=S.useState(!1),r=S.useCallback(()=>{t||(async()=>{try{const s=typeof e=="function"?await e():e;if(!await Ul(s))return;n(!0),window.setTimeout(()=>n(!1),Yj)}catch{return}})()},[t,e]);return{copied:t,onCopy:r}}function W8(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=W8(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xe(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=W8(e))&&(r&&(r+=" "),r+=t);return r}const Jj="_dot_1i08g_2",Xj="_spinner_1i08g_37",Qj="_spinnerMotion_1i08g_42",eI="_spinnerTrack_1i08g_47",tI="_spinnerArc_1i08g_48",nI="_step_1i08g_99",ai={dot:Jj,spinner:Xj,spinnerMotion:Qj,spinnerTrack:eI,spinnerArc:tI,step:nI},U8=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M8.16675 2.50127C8.53391 2.50127 8.83161 2.7992 8.83179 3.16631C8.83179 3.53358 8.53402 3.83135 8.16675 3.83135H5.83374C4.72836 3.83135 3.83197 4.72797 3.83179 5.8333V14.1663C3.83179 15.2718 4.72825 16.1683 5.83374 16.1683H14.1667C15.2722 16.1683 16.1687 15.2718 16.1687 14.1663V11.8333C16.1689 11.4662 16.4666 11.1683 16.8337 11.1683C17.2007 11.1684 17.4986 11.4663 17.4988 11.8333V14.1663C17.4988 16.0063 16.0068 17.4983 14.1667 17.4983H5.83374C3.99371 17.4983 2.50171 16.0063 2.50171 14.1663V5.8333C2.50189 3.99343 3.99382 2.50127 5.83374 2.50127H8.16675Z"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4265 3.10381C14.3857 2.15908 15.9276 2.16466 16.8796 3.11651C17.8339 4.07106 17.8372 5.61827 16.8865 6.57647L11.7244 11.7786C11.3005 12.2058 10.7622 12.5027 10.1746 12.6321L7.78784 13.1565C7.20661 13.2842 6.6889 12.766 6.81714 12.1849L7.34253 9.80498C7.47294 9.21426 7.77197 8.67391 8.20288 8.24932L13.4265 3.10381ZM15.9392 4.05694C15.5038 3.62172 14.7988 3.61907 14.3601 4.05108L9.13647 9.19659C8.88861 9.44077 8.71644 9.75138 8.64136 10.0911L8.28979 11.6849L9.88843 11.3333C10.2265 11.2588 10.5362 11.0878 10.78 10.8421L15.9421 5.63897C16.3769 5.20075 16.3756 4.49352 15.9392 4.05694Z"})]}),q8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 6.75H11",stroke:"currentColor"}),c.jsx("path",{d:"M5 9H8",stroke:"currentColor"}),c.jsx("path",{d:"M2.37067 11.2497C1.5872 9.89252 1.32042 8.29798 1.61945 6.7597C1.91847 5.22141 2.76317 3.84293 3.99801 2.87809C5.23285 1.91325 6.7747 1.427 8.33964 1.50888C9.90458 1.59076 11.3873 2.23526 12.5147 3.32369C13.6422 4.41232 14.3384 5.8717 14.4751 7.43304C14.6118 8.99438 14.1797 10.5525 13.2585 11.8205C12.3372 13.0885 10.9889 13.9809 9.4617 14.3334C8.18666 14.6277 6.8587 14.529 5.64964 14.0601C5.17095 13.8745 4.76937 13.4929 4.26509 13.3963C3.67389 13.2832 2.95232 13.5595 2.0377 14.3334",stroke:"currentColor"})]}),Q0=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.99986 14.0887C11.3626 14.0887 14.0886 11.3627 14.0886 7.99998C14.0886 4.63727 11.3626 1.91125 7.99986 1.91125C4.63715 1.91125 1.91113 4.63727 1.91113 7.99998C1.91113 11.3627 4.63715 14.0887 7.99986 14.0887Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.34619 8H13.6538",stroke:"currentColor",strokeLinecap:"square"}),c.jsx("path",{d:"M7.99976 14.0889C9.23509 14.0889 10.1743 11.3629 10.1743 8.00006C10.1743 4.63739 9.23509 1.91138 7.99976 1.91138",stroke:"currentColor"}),c.jsx("path",{d:"M7.99973 14.0889C6.76445 14.0889 5.8252 11.3629 5.8252 8.00006C5.8252 4.63739 6.76445 1.91138 7.99973 1.91138",stroke:"currentColor"})]}),e2=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.67398 4.25061L1.36094 7.86484C1.29085 7.9413 1.29085 8.05866 1.36094 8.13513L4.67398 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M11.3262 4.25061L14.6392 7.86484C14.7093 7.9413 14.7093 8.05866 14.6392 8.13513L11.3262 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M9.56222 3.62573L6.43774 12.3743",stroke:"currentColor"})]}),t2=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V13.2246C13.9996 14.0489 13.3036 14.6738 12.5 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5ZM3.5 2.32617C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H12.5C12.8004 13.6738 12.9996 13.4489 13 13.2246V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5Z",fill:"currentColor"})]}),ql=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.50439 3.11059C1.50439 2.55831 1.95211 2.1106 2.50439 2.1106H5.43389C5.67773 2.1106 5.91318 2.19969 6.09593 2.36113L7.71649 3.79265C7.89924 3.95409 8.1347 4.04319 8.3785 4.04319H13.4958C14.0481 4.04319 14.4958 4.4909 14.4958 5.04319V12.8894C14.4958 13.4417 14.0481 13.8894 13.4958 13.8894H2.50439C1.95211 13.8894 1.50439 13.4417 1.50439 12.8894V4.04319V3.11059Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.50439 7.5H14.4958",stroke:"currentColor"})]}),G8="M6.80132 2.14853C7.70663 1.80917 8.70422 1.80919 9.60952 2.14859L14.1296 3.84317V7.11961C14.1296 11.6089 10.7615 13.5975 8.20543 14.5779C5.64931 13.5975 2.28052 11.6089 2.28052 7.11961V3.84317L6.80132 2.14853Z",se=1,ae=1.3,rI=e=>c.jsx(U8,{...e}),oI=e=>c.jsx(U8,{...e}),K8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.58727 11.8586C9.55061 11.8586 11.9529 9.45637 11.9529 6.49304C11.9529 3.5297 9.55061 1.12744 6.58727 1.12744C3.62394 1.12744 1.22168 3.5297 1.22168 6.49304C1.22168 9.45637 3.62394 11.8586 6.58727 11.8586Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2991 10.3933L14.7783 14.8725",stroke:"currentColor"})]}),iI=e=>c.jsx(K8,{...e,strokeWidth:se}),sI=e=>c.jsx(K8,{...e,strokeWidth:ae}),aI=e=>c.jsx(Q0,{...e,strokeWidth:se}),lI=e=>c.jsx(Q0,{...e,strokeWidth:ae}),Y8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 9.75012C8.9665 9.75012 9.75 8.96662 9.75 8.00012C9.75 7.03362 8.9665 6.25012 8 6.25012C7.0335 6.25012 6.25 7.03362 6.25 8.00012C6.25 8.96662 7.0335 9.75012 8 9.75012Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.0107 7.79377C12.9505 7.89401 12.9205 7.94413 12.9205 7.99951C12.9205 8.0549 12.9505 8.10502 13.0106 8.20528L13.9849 9.83006C14.045 9.93029 14.0751 9.9804 14.0751 10.0358C14.0751 10.0911 14.045 10.1413 13.9849 10.2415L13.0037 11.8777C12.9468 11.9726 12.9184 12.0201 12.8725 12.0461C12.8267 12.072 12.7713 12.072 12.6607 12.072H10.6704C10.5598 12.072 10.5045 12.072 10.4586 12.098C10.4128 12.1239 10.3843 12.1714 10.3274 12.2662L9.33825 13.9142C9.28133 14.009 9.25287 14.0564 9.20703 14.0823C9.16118 14.1083 9.10588 14.1083 8.99529 14.1083H7.00486C6.89426 14.1083 6.83896 14.1083 6.79312 14.0823C6.74727 14.0564 6.71881 14.009 6.6619 13.9142L5.67273 12.2662C5.61581 12.1714 5.58735 12.1239 5.54151 12.098C5.49566 12.072 5.44036 12.072 5.32977 12.072H3.33945C3.2288 12.072 3.17347 12.072 3.12761 12.0461C3.08176 12.0201 3.0533 11.9726 2.9964 11.8777L2.0152 10.2415C1.9551 10.1413 1.92505 10.0911 1.92505 10.0358C1.92505 9.9804 1.9551 9.93029 2.0152 9.83006L2.98951 8.20528C3.04963 8.10502 3.07969 8.0549 3.07969 7.99951C3.07968 7.94413 3.04961 7.89401 2.98946 7.79377L2.01529 6.17011C1.95514 6.06987 1.92507 6.01975 1.92507 5.96437C1.92506 5.90899 1.95512 5.85886 2.01524 5.7586L2.9964 4.1224C3.0533 4.0275 3.08176 3.98005 3.12761 3.95408C3.17347 3.92811 3.2288 3.92811 3.33945 3.92811H5.32977C5.44036 3.92811 5.49566 3.92811 5.54151 3.90216C5.58735 3.87621 5.61581 3.82879 5.67273 3.73397L6.6619 2.08599C6.71881 1.99116 6.74727 1.94375 6.79312 1.9178C6.83896 1.89185 6.89426 1.89185 7.00486 1.89185H8.99529C9.10588 1.89185 9.16118 1.89185 9.20703 1.9178C9.25287 1.94375 9.28133 1.99116 9.33825 2.08599L10.3274 3.73397C10.3843 3.82879 10.4128 3.87621 10.4586 3.90216C10.5045 3.92811 10.5598 3.92811 10.6704 3.92811H12.6607C12.7713 3.92811 12.8267 3.92811 12.8725 3.95408C12.9184 3.98005 12.9468 4.0275 13.0037 4.1224L13.9849 5.7586C14.045 5.85886 14.0751 5.90899 14.0751 5.96437C14.0751 6.01975 14.045 6.06987 13.9849 6.17011L13.0107 7.79377Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),cI=e=>c.jsx(Y8,{...e,strokeWidth:se}),uI=e=>c.jsx(Y8,{...e,strokeWidth:ae}),J8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 1.5V14.5",stroke:"currentColor"})]}),X8=e=>c.jsx(J8,{...e,strokeWidth:se}),dI=e=>c.jsx(J8,{...e,strokeWidth:ae}),Q8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9Z",fill:"currentColor"}),c.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),c.jsx("path",{d:"M13 9C13.5523 9 14 8.55228 14 8C14 7.44772 13.5523 7 13 7C12.4477 7 12 7.44772 12 8C12 8.55228 12.4477 9 13 9Z",fill:"currentColor"})]}),fI=e=>c.jsx(Q8,{...e,strokeWidth:se}),hI=e=>c.jsx(Q8,{...e,strokeWidth:ae}),e7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 2V14",stroke:"currentColor"}),c.jsx("path",{d:"M2 8H14",stroke:"currentColor"})]}),t7=e=>c.jsx(e7,{...e,strokeWidth:se}),pI=e=>c.jsx(e7,{...e,strokeWidth:ae}),n7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4",stroke:"currentColor"})}),Pi=e=>c.jsx(n7,{...e,strokeWidth:se}),mI=e=>c.jsx(n7,{...e,strokeWidth:ae}),r7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.01503 8.0001L5.6964 8.0001C6.41913 8.0001 6.78049 8.0001 7.12115 7.91951C7.4232 7.84804 7.71233 7.73014 7.97821 7.57C8.27809 7.38939 8.5364 7.13669 9.05303 6.63129L11.3281 4.40564",stroke:"currentColor"}),c.jsx("path",{d:"M1.01221 7.9999L5.6964 7.9999C6.41913 7.9999 6.78049 7.9999 7.12115 8.08049C7.4232 8.15196 7.71233 8.26986 7.97821 8.43C8.27809 8.61061 8.5364 8.86331 9.05303 9.36871L11.3281 11.5944",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"3.3079",r:"1.56962",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"12.6921",r:"1.56962",stroke:"currentColor"})]}),gI=e=>c.jsx(r7,{...e,strokeWidth:se}),vI=e=>c.jsx(r7,{...e,strokeWidth:ae}),o7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M4 6L7.29289 9.29289C7.68342 9.68342 8.31658 9.68342 8.70711 9.29289L12 6",stroke:"currentColor"})}),i7=e=>c.jsx(o7,{...e,strokeWidth:se}),wI=e=>c.jsx(o7,{...e,strokeWidth:ae}),s7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M10 4L6.70711 7.29289C6.31658 7.68342 6.31658 8.31658 6.70711 8.70711L10 12",stroke:"currentColor"})}),a7=e=>c.jsx(s7,{...e,strokeWidth:se}),xI=e=>c.jsx(s7,{...e,strokeWidth:ae}),l7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M6 12L9.29289 8.70711C9.68342 8.31658 9.68342 7.68342 9.29289 7.29289L6 4",stroke:"currentColor"})}),yI=e=>c.jsx(l7,{...e,strokeWidth:se}),_I=e=>c.jsx(l7,{...e,strokeWidth:ae}),c7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M5.5 4.5C5.5 4.40714 5.52586 4.31612 5.57467 4.23713C5.62349 4.15815 5.69334 4.09431 5.77639 4.05279C5.85945 4.01126 5.95242 3.99368 6.0449 4.00202C6.13738 4.01036 6.22572 4.04429 6.3 4.1L10.967 7.6C11.0291 7.64657 11.0795 7.70697 11.1142 7.77639C11.1489 7.84582 11.167 7.92238 11.167 8C11.167 8.07762 11.1489 8.15418 11.1142 8.22361C11.0795 8.29303 11.0291 8.35343 10.967 8.4L6.3 11.9C6.22572 11.9557 6.13738 11.9896 6.0449 11.998C5.95242 12.0063 5.85945 11.9887 5.77639 11.9472C5.69334 11.9057 5.62349 11.8419 5.57467 11.7629C5.52586 11.6839 5.5 11.5929 5.5 11.5V4.5Z",fill:"currentColor"})}),bI=e=>c.jsx(c7,{...e,strokeWidth:se}),CI=e=>c.jsx(c7,{...e,strokeWidth:ae}),u7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12 10L8.70711 6.70711C8.31658 6.31658 7.68342 6.31658 7.29289 6.70711L4 10",stroke:"currentColor"})}),d7=e=>c.jsx(u7,{...e,strokeWidth:se}),kI=e=>c.jsx(u7,{...e,strokeWidth:ae}),f7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.5 2.5L13.5 13.5",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 2.5L2.5 13.5",stroke:"currentColor"})]}),Gl=e=>c.jsx(f7,{...e,strokeWidth:se}),SI=e=>c.jsx(f7,{...e,strokeWidth:ae}),h7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.5 3.5L12.5 12.5",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 3.5L3.5 12.5",stroke:"currentColor"})]}),n2=e=>c.jsx(h7,{...e,strokeWidth:se}),EI=e=>c.jsx(h7,{...e,strokeWidth:ae}),p7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8A7 7 0 1 1 15 8ZM6.409 10.652L5.348 9.591L6.939 8L5.348 6.409L6.409 5.348L8 6.939L9.591 5.348L10.652 6.409L9.061 8L10.652 9.591L9.591 10.652L8 9.061Z",fill:"currentColor"})}),jI=e=>c.jsx(p7,{...e,strokeWidth:se}),II=e=>c.jsx(p7,{...e,strokeWidth:ae}),m7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.52075",y:"4.07373",width:"10.3932",height:"10.3932",rx:"2",stroke:"currentColor"}),c.jsx("path",{d:"M11.9792 1.53296C13.36 1.53296 14.4792 2.65225 14.4792 4.03296V9.42847C14.4792 10.3756 13.9521 11.1987 13.1755 11.6228V10.3298C13.3652 10.0787 13.4792 9.7674 13.4792 9.42847V4.03296C13.4792 3.20453 12.8077 2.53296 11.9792 2.53296H6.58374C6.27966 2.53301 5.99684 2.6235 5.7605 2.77905H4.42358C4.85652 2.03463 5.66056 1.53304 6.58374 1.53296H11.9792Z",fill:"currentColor"})]}),r2=e=>c.jsx(m7,{...e,strokeWidth:se}),MI=e=>c.jsx(m7,{...e,strokeWidth:ae}),g7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5C9.9001 1.5 11.7001 2.3 13.0001 3.6L14.5001 5.1",stroke:"currentColor"}),c.jsx("path",{d:"M14.4999 1.5V5.1H10.8999",stroke:"currentColor"})]}),v7=e=>c.jsx(g7,{...e,strokeWidth:se}),OI=e=>c.jsx(g7,{...e,strokeWidth:ae}),w7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",stroke:"currentColor"})}),TI=e=>c.jsx(w7,{...e,strokeWidth:se}),LI=e=>c.jsx(w7,{...e,strokeWidth:ae}),x7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",fill:"currentColor",stroke:"currentColor"})}),NI=e=>c.jsx(x7,{...e,strokeWidth:se}),PI=e=>c.jsx(x7,{...e,strokeWidth:ae}),y7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",stroke:"currentColor"})}),zI=e=>c.jsx(y7,{...e,strokeWidth:se}),AI=e=>c.jsx(y7,{...e,strokeWidth:ae}),_7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",fill:"currentColor",stroke:"currentColor"})}),RI=e=>c.jsx(_7,{...e,strokeWidth:se}),DI=e=>c.jsx(_7,{...e,strokeWidth:ae}),b7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1256 7.58723C14.3483 7.81942 14.3482 8.18589 14.1254 8.41799L8.6646 14.1077C8.53985 14.2377 8.32031 14.1494 8.32031 13.9692L8.32035 10.2039C8.32035 10.1943 8.31534 10.1864 8.30592 10.1849C8.08306 10.148 5.30067 9.7729 1.50993 13.2904C1.49711 13.3023 1.47561 13.2943 1.4757 13.2768C1.49273 9.87168 3.42001 5.07166 8.29999 5.05835C8.31103 5.05832 8.32035 5.04937 8.32035 5.03832L8.32031 2.03109C8.32031 1.85088 8.53993 1.76259 8.66466 1.89266L14.1256 7.58723Z",stroke:"currentColor"})}),FI=e=>c.jsx(b7,{...e,strokeWidth:se}),$I=e=>c.jsx(b7,{...e,strokeWidth:ae}),C7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.15479 4.91687H9.84543",stroke:"currentColor"}),c.jsx("path",{d:"M11.8798 9.55347V2.71525C11.8798 2.37416 11.564 2.09766 11.1744 2.09766H4.82577C4.43618 2.09766 4.12036 2.37416 4.12036 2.71525V9.55347",stroke:"currentColor"}),c.jsx("path",{d:"M2.28735 13.8022V8.84792C2.28735 8.77514 2.36262 8.72673 2.42884 8.75693L13.2936 13.7112C13.3914 13.7558 13.3596 13.9022 13.2521 13.9022H2.38735C2.33213 13.9022 2.28735 13.8575 2.28735 13.8022Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.46929 10.979L13.5783 8.7416C13.6435 8.7177 13.7126 8.76601 13.7126 8.83551L13.7125 13.8022C13.7125 13.8574 13.6678 13.9022 13.6125 13.9022H7.99999",stroke:"currentColor"}),c.jsx("path",{d:"M6.15479 7.2395H9.05644",stroke:"currentColor"})]}),HI=e=>c.jsx(C7,{...e,strokeWidth:se}),VI=e=>c.jsx(C7,{...e,strokeWidth:ae}),k7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.85596 2.69971H4.19971C3.37141 2.69971 2.69992 3.37146 2.69971 4.19971V11.8003C2.69992 12.6285 3.37141 13.3003 4.19971 13.3003H11.8003C12.6283 13.2999 13.3001 12.6283 13.3003 11.8003V7.89893H14.3003V11.8003C14.3001 13.1806 13.1806 14.2999 11.8003 14.3003H4.19971C2.81913 14.3003 1.69992 13.1808 1.69971 11.8003V4.19971C1.69992 2.81918 2.81913 1.69971 4.19971 1.69971H8.85596V2.69971Z",fill:"currentColor"}),c.jsx("path",{d:"M7.7849 8.23878L13.888 2.13574",stroke:"currentColor"})]}),BI=e=>c.jsx(k7,{...e,strokeWidth:se}),ZI=e=>c.jsx(k7,{...e,strokeWidth:ae}),S7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M10.2854 5.71481C12.9673 8.39663 14.1182 11.5938 12.8562 12.8559C11.5942 14.1179 8.39706 12.9669 5.71518 10.2851C3.03333 7.60323 1.88236 4.40608 3.14441 3.14403C4.40644 1.882 7.6036 3.03297 10.2854 5.71481Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2854 10.2851C7.6036 12.9669 4.40644 14.1179 3.14441 12.8559C1.88236 11.5938 3.03333 8.39663 5.71518 5.71481C8.39706 3.03297 11.5942 1.882 12.8562 3.14403C14.1182 4.40608 12.9673 7.60323 10.2854 10.2851Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.86291 8.0002C8.86291 8.47549 8.47762 8.86087 8.00224 8.86087C7.52694 8.86087 7.1416 8.47549 7.1416 8.0002C7.1416 7.52485 7.52694 7.13953 8.00224 7.13953C8.47762 7.13953 8.86291 7.52485 8.86291 8.0002Z",fill:"currentColor"})]}),WI=e=>c.jsx(S7,{...e,strokeWidth:se}),UI=e=>c.jsx(S7,{...e,strokeWidth:ae}),E7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.51867 12.3282C7.29816 12.6011 8.16475 12.6514 9.02269 12.4216C9.57879 12.2726 10.0784 12.0185 10.5087 11.6888C10.7819 12.0555 11.1606 12.3304 11.5913 12.4805C10.9688 13.029 10.2149 13.4478 9.35911 13.6771C8.13946 14.0038 6.90632 13.8971 5.82126 13.4533C6.15821 13.1562 6.4021 12.7652 6.51867 12.3282ZM9.17629 2.89409C11.1101 3.34433 12.739 4.81872 13.2889 6.87043C13.4219 7.3665 13.4811 7.8649 13.4774 8.35466C13.0924 8.13213 12.6422 8.01837 12.1741 8.05276L12.1711 8.05257C12.1539 7.77199 12.109 7.48889 12.0334 7.20684C11.6363 5.72533 10.5048 4.6372 9.13549 4.22844C9.25559 3.87667 9.29214 3.49087 9.22309 3.09892C9.2108 3.02922 9.19451 2.96108 9.17629 2.89409ZM4.7311 3.89107L4.78302 4.11879C4.87648 4.4488 5.04146 4.74263 5.25579 4.98896C3.98078 6.01355 3.35848 7.72904 3.8089 9.41059C3.81828 9.44559 3.82866 9.48025 3.83885 9.51479C3.38217 9.61268 2.98548 9.84137 2.68107 10.1556C2.63414 10.022 2.5897 9.88632 2.55244 9.74726C1.93301 7.43489 2.86717 5.07173 4.71504 3.76697L4.7311 3.89107Z",fill:"currentColor"}),c.jsx("path",{d:"M7.99136 5.28105C8.87501 5.28105 9.59136 4.56471 9.59136 3.68105C9.59136 2.7974 8.87501 2.08105 7.99136 2.08105C7.1077 2.08105 6.39136 2.7974 6.39136 3.68105C6.39136 4.56471 7.1077 5.28105 7.99136 5.28105Z",stroke:"currentColor"}),c.jsx("path",{d:"M3.94009 12.9417C4.82374 12.9417 5.54009 12.2254 5.54009 11.3417C5.54009 10.458 4.82374 9.7417 3.94009 9.7417C3.05643 9.7417 2.34009 10.458 2.34009 11.3417C2.34009 12.2254 3.05643 12.9417 3.94009 12.9417Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.0851 12.9417C12.9688 12.9417 13.6851 12.2254 13.6851 11.3417C13.6851 10.458 12.9688 9.7417 12.0851 9.7417C11.2015 9.7417 10.4851 10.458 10.4851 11.3417C10.4851 12.2254 11.2015 12.9417 12.0851 12.9417Z",stroke:"currentColor"})]}),qI=e=>c.jsx(E7,{...e,strokeWidth:se}),GI=e=>c.jsx(E7,{...e,strokeWidth:ae}),KI=e=>c.jsx(t2,{...e,strokeWidth:se}),YI=e=>c.jsx(t2,{...e,strokeWidth:ae}),j7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 2.5H3.5C3.23478 2.5 2.98043 2.60536 2.79289 2.79289C2.60536 2.98043 2.5 3.23478 2.5 3.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V3.5C13.5 3.23478 13.3946 2.98043 13.2071 2.79289C13.0196 2.60536 12.7652 2.5 12.5 2.5H11",stroke:"currentColor"}),c.jsx("path",{d:"M8 0.5V7.5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 5L8 7.5L10.5 5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 11H10.5",stroke:"currentColor"})]}),JI=e=>c.jsx(j7,{...e,strokeWidth:se}),XI=e=>c.jsx(j7,{...e,strokeWidth:ae}),I7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59961 9.40051C6.82779 9.6334 7.10015 9.81842 7.40074 9.94472C7.70132 10.071 8.02409 10.1361 8.35013 10.1361C8.67618 10.1361 8.99894 10.071 9.29953 9.94472C9.60011 9.81842 9.87247 9.6334 10.1007 9.40051L12.9015 6.59967C13.3658 6.13541 13.6266 5.50572 13.6266 4.84915C13.6266 4.19258 13.3658 3.56289 12.9015 3.09863C12.4372 2.63436 11.8075 2.37354 11.151 2.37354C10.4944 2.37354 9.86472 2.63436 9.40045 3.09863L9.05034 3.44873",stroke:"currentColor"}),c.jsx("path",{d:"M9.40051 6.59959C9.17233 6.3667 8.89997 6.18169 8.59939 6.05538C8.2988 5.92907 7.97603 5.86401 7.64999 5.86401C7.32395 5.86401 7.00118 5.92907 6.70059 6.05538C6.40001 6.18169 6.12765 6.3667 5.89946 6.59959L3.09863 9.40043C2.63436 9.8647 2.37354 10.4944 2.37354 11.151C2.37354 11.8075 2.63436 12.4372 3.09863 12.9015C3.56289 13.3657 4.19258 13.6266 4.84915 13.6266C5.50572 13.6266 6.13541 13.3657 6.59967 12.9015L6.94978 12.5514",stroke:"currentColor"})]}),QI=e=>c.jsx(I7,{...e,strokeWidth:se}),eM=e=>c.jsx(I7,{...e,strokeWidth:ae}),M7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M11.7256 2.77441C12.5538 2.77469 13.2256 3.44616 13.2256 4.27441V10.1416H12.2256V4.27441C12.2256 3.99844 12.0015 3.77469 11.7256 3.77441H5.7207V2.77441H11.7256Z",fill:"currentColor"}),c.jsx("path",{d:"M2.77441 13.2255L12.3756 3.62427",stroke:"currentColor"})]}),tM=e=>c.jsx(M7,{...e,strokeWidth:se}),nM=e=>c.jsx(M7,{...e,strokeWidth:ae}),O7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.98486 2.95374H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 6.31787H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 9.68213H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 13.0463H8.4627",stroke:"currentColor"})]}),rM=e=>c.jsx(O7,{...e,strokeWidth:se}),oM=e=>c.jsx(O7,{...e,strokeWidth:ae}),T7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.28149 3.88831H14.7187",stroke:"currentColor"}),c.jsx("path",{d:"M5.41602 3.88833V2.47962C5.41602 2.29282 5.52492 2.11366 5.71876 1.98157C5.9126 1.84948 6.17551 1.77527 6.44964 1.77527H9.55053C9.82466 1.77527 10.0876 1.84948 10.2814 1.98157C10.4753 2.11366 10.5842 2.29282 10.5842 2.47962V3.88833",stroke:"currentColor"}),c.jsx("path",{d:"M2.57349 3.88831L3.19366 13.2943C3.21937 13.5502 3.33952 13.7872 3.53065 13.9593C3.72178 14.1313 3.97016 14.2259 4.22729 14.2246H11.7728C12.0299 14.2259 12.2783 14.1313 12.4694 13.9593C12.6605 13.7872 12.7807 13.5502 12.8064 13.2943L13.4266 3.88831",stroke:"currentColor"}),c.jsx("path",{d:"M6.44946 6.98926V11.1238",stroke:"currentColor"}),c.jsx("path",{d:"M9.55054 6.98926V11.1238",stroke:"currentColor"})]}),iM=e=>c.jsx(T7,{...e,strokeWidth:se}),sM=e=>c.jsx(T7,{...e,strokeWidth:ae}),L7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.29199V9.79199",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.708V11.708",stroke:"currentColor"})]}),N7=e=>c.jsx(L7,{...e,strokeWidth:se}),aM=e=>c.jsx(L7,{...e,strokeWidth:ae}),P7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M28.1936 14.6936L19.8066 23.0806C19.2373 23.65 18.7159 24.1742 18.24 24.5571C17.7389 24.9602 17.1365 25.3359 16.3657 25.458C15.9581 25.5225 15.5428 25.5225 15.1353 25.458C14.3645 25.3359 13.7621 24.9602 13.261 24.5571C12.7851 24.1742 12.2637 23.65 11.6943 23.0806L7.80737 19.1936L10.1936 16.8074L14.0806 20.6943C14.7033 21.317 15.0763 21.6873 15.377 21.9292C15.6523 22.1507 15.7109 22.1325 15.6626 22.1248C15.7208 22.1339 15.7802 22.1339 15.8384 22.1248C15.7901 22.1325 15.8486 22.1507 16.124 21.9292C16.4247 21.6873 16.7977 21.317 17.4204 20.6943L25.8074 12.3074L28.1936 14.6936Z",fill:"currentColor"}),c.jsx("path",{d:"M32.8496 18.0005C32.8496 9.79906 26.2019 3.15137 18.0005 3.15137C9.79906 3.15137 3.15137 9.79906 3.15137 18.0005C3.15137 26.2019 9.79906 32.8496 18.0005 32.8496C26.2019 32.8496 32.8496 26.2019 32.8496 18.0005ZM35.7764 18.0005C35.7764 27.8173 27.8173 35.7764 18.0005 35.7764C8.18363 35.7764 0.224609 27.8173 0.224609 18.0005C0.224609 8.18363 8.18363 0.224609 18.0005 0.224609C27.8173 0.224609 35.7764 8.18363 35.7764 18.0005Z",fill:"currentColor"})]}),lM=e=>c.jsx(P7,{...e,strokeWidth:se}),cM=e=>c.jsx(P7,{...e,strokeWidth:ae}),z7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("path",{d:"M6.87 2.6a1.33 1.33 0 0 1 2.26 0l5.34 9.33A1.33 1.33 0 0 1 13.33 14H2.67a1.33 1.33 0 0 1-1.14-2.07Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 6v3m0 2.33h.01",stroke:"currentColor"})]}),uM=e=>c.jsx(z7,{...e,strokeWidth:se}),dM=e=>c.jsx(z7,{...e,strokeWidth:ae}),A7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 8.25C9.51878 8.25 10.75 7.01878 10.75 5.5C10.75 3.98122 9.51878 2.75 8 2.75C6.48122 2.75 5.25 3.98122 5.25 5.5C5.25 7.01878 6.48122 8.25 8 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 14.5C2.5 11.5 5.25 10.25 8 10.25C10.75 10.25 13.5 11.5 13.5 14.5",stroke:"currentColor"})]}),fM=e=>c.jsx(A7,{...e,strokeWidth:se}),hM=e=>c.jsx(A7,{...e,strokeWidth:ae}),R7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 8.25C7.51878 8.25 8.75 7.01878 8.75 5.5C8.75 3.98122 7.51878 2.75 6 2.75C4.48122 2.75 3.25 3.98122 3.25 5.5C3.25 7.01878 4.48122 8.25 6 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M1 14.5C1 11.5 3.5 10.25 6 10.25C8.5 10.25 11 11.5 11 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M10.5 2.9C11.65 3.35 12.45 4.35 12.45 5.5C12.45 6.65 11.65 7.65 10.5 8.1",stroke:"currentColor"}),c.jsx("path",{d:"M12.4 10.6C13.9 11.3 15 12.6 15 14.5",stroke:"currentColor"})]}),pM=e=>c.jsx(R7,{...e,strokeWidth:se}),mM=e=>c.jsx(R7,{...e,strokeWidth:ae}),D7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.74024 9.11029L1.82882 7.79865C1.75022 7.76323 1.75026 7.65161 1.82889 7.61626L12.9665 2.60943C13.0354 2.57846 13.1125 2.63213 13.1073 2.70749L12.3914 13.1388C12.3864 13.2117 12.3073 13.2548 12.2433 13.2194L6.12677 9.83657",stroke:"currentColor"}),c.jsx("path",{d:"M8.44336 11.0825L6.2832 13.2843C6.22048 13.3482 6.11182 13.3038 6.11182 13.2143V9.86772C6.11182 9.84165 6.122 9.8166 6.1402 9.79793L12.972 2.78748",stroke:"currentColor"})]}),gM=e=>c.jsx(D7,{...e,strokeWidth:se}),vM=e=>c.jsx(D7,{...e,strokeWidth:ae}),F7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.5 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5Z",fill:"currentColor"})}),wM=e=>c.jsx(F7,{...e,strokeWidth:se}),xM=e=>c.jsx(F7,{...e,strokeWidth:ae}),$7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.75 4.5V9.5C12.75 10.7598 12.2496 11.968 11.3588 12.8588C10.468 13.7496 9.25978 14.25 8 14.25C6.74022 14.25 5.53204 13.7496 4.64124 12.8588C3.75045 11.968 3.25 10.7598 3.25 9.5V5C3.25 4.13805 3.59241 3.3114 4.2019 2.7019C4.8114 2.09241 5.63805 1.75 6.5 1.75C7.36195 1.75 8.1886 2.09241 8.7981 2.7019C9.40759 3.3114 9.75 4.13805 9.75 5V9.5C9.75 9.96413 9.56563 10.4092 9.23744 10.7374C8.90925 11.0656 8.46413 11.25 8 11.25C7.53587 11.25 7.09075 11.0656 6.76256 10.7374C6.43437 10.4092 6.25 9.96413 6.25 9.5V5.5",stroke:"currentColor"})}),yM=e=>c.jsx($7,{...e,strokeWidth:se}),_M=e=>c.jsx($7,{...e,strokeWidth:ae}),H7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.596 12.596C11.687 13.5049 10.5288 14.1239 9.26798 14.3747C8.00716 14.6255 6.70028 14.4968 5.51261 14.0048C4.32494 13.5129 3.30981 12.6798 2.59557 11.611C1.88134 10.5421 1.50008 9.2855 1.5 7.99998C1.50008 6.71446 1.88134 5.45783 2.59557 4.38898C3.30981 3.32013 4.32494 2.48707 5.51261 1.99513C6.70028 1.50319 8.00716 1.37447 9.26798 1.62524C10.5288 1.87602 11.687 2.49502 12.596 3.40398",stroke:"currentColor"})}),V7=e=>c.jsx(H7,{...e,strokeWidth:se}),bM=e=>c.jsx(H7,{...e,strokeWidth:ae}),B7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 1.95317V10.0469",stroke:"currentColor"}),c.jsx("path",{d:"M4.25 6.29688L8 10.0469L11.75 6.29688",stroke:"currentColor"}),c.jsx("path",{d:"M1.5 10.0469V13.158C1.5 13.3937 1.60536 13.6198 1.79289 13.7865C1.98043 13.9532 2.23478 14.0469 2.5 14.0469H13.5C13.7652 14.0469 14.0196 13.9532 14.2071 13.7865C14.3946 13.6198 14.5 13.3937 14.5 13.158V10.0469",stroke:"currentColor"})]}),CM=e=>c.jsx(B7,{...e,strokeWidth:se}),kM=e=>c.jsx(B7,{...e,strokeWidth:ae}),Z7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.3329 7.91346C10.3996 7.95195 10.3996 8.04818 10.3329 8.08667L6.78304 10.1362C6.71638 10.1747 6.63304 10.1266 6.63304 10.0496L6.63304 5.95055C6.63304 5.87357 6.71638 5.82546 6.78304 5.86395L10.3329 7.91346Z",stroke:"currentColor"})]}),SM=e=>c.jsx(Z7,{...e,strokeWidth:se}),EM=e=>c.jsx(Z7,{...e,strokeWidth:ae}),W7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 5V11",stroke:"currentColor"}),c.jsx("path",{d:"M9.5 5V11",stroke:"currentColor"})]}),jM=e=>c.jsx(W7,{...e,strokeWidth:se}),IM=e=>c.jsx(W7,{...e,strokeWidth:ae}),U7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.33154 9.40576V13.1685C2.3318 13.4444 2.55556 13.6685 2.83154 13.6685H6.49463V14.6685H2.83154C2.00328 14.6685 1.3318 13.9967 1.33154 13.1685V9.40576H2.33154ZM13.1685 1.33154C13.9964 1.33199 14.6683 2.00352 14.6685 2.83154V6.40576H13.6685V2.83154C13.6683 2.5558 13.4441 2.33199 13.1685 2.33154H9.49463V1.33154H13.1685Z",fill:"currentColor"}),c.jsx("path",{d:"M9.4292 6.57077L13.914 2.08594",stroke:"currentColor"}),c.jsx("path",{d:"M6.57077 9.4292L2.08594 13.914",stroke:"currentColor"})]}),MM=e=>c.jsx(U7,{...e,strokeWidth:se}),OM=e=>c.jsx(U7,{...e,strokeWidth:ae}),q7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.27612 1.5L4.52612 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.4739 1.5L9.72388 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M2.39868 5.5H14.0681",stroke:"currentColor"}),c.jsx("path",{d:"M1.93188 10.5H13.6013",stroke:"currentColor"})]}),TM=e=>c.jsx(q7,{...e,strokeWidth:se}),LM=e=>c.jsx(q7,{...e,strokeWidth:ae}),G7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.16143 6.59068L1.75205 8.00006L3.10619 9.35419L2.39908 10.0613L0.832948 8.49517C0.559581 8.2218 0.559582 7.77831 0.832948 7.50494L2.45432 5.88357L3.16143 6.59068ZM8.49511 15.1671C8.22176 15.4405 7.77826 15.4404 7.50489 15.1671L5.93461 13.5968L6.64172 12.8897L8 14.248L9.40938 12.8386L10.1165 13.5457L8.49511 15.1671ZM15.1671 7.50494C15.4403 7.7782 15.4401 8.22179 15.1671 8.49517L13.652 10.0102L12.9449 9.30309L14.248 8.00006L12.8897 6.64178L13.5968 5.93467L15.1671 7.50494ZM9.35414 3.10624L8 1.7521L6.69696 3.05514L5.98986 2.34803L7.50489 0.833003C7.77828 0.559981 8.22186 0.559752 8.49511 0.833003L10.0612 2.39913L9.35414 3.10624Z",fill:"currentColor"}),c.jsx("circle",{cx:"8",cy:"8",r:"1.76221",stroke:"currentColor"})]}),NM=e=>c.jsx(G7,{...e,strokeWidth:se}),PM=e=>c.jsx(G7,{...e,strokeWidth:ae}),K7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 4L7 8L3 12",stroke:"currentColor"}),c.jsx("path",{d:"M9 12H13",stroke:"currentColor"})]}),zM=e=>c.jsx(K7,{...e,strokeWidth:se}),AM=e=>c.jsx(K7,{...e,strokeWidth:ae}),Y7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.25 7.16357C3.20417 7.32247 3.17778 7.48993 3.17773 7.66357C3.17773 7.83698 3.20336 8.00486 3.24902 8.16357H1.85742V7.16357H3.25ZM14.1426 8.16357H6.71484C6.76052 8.00485 6.78613 7.837 6.78613 7.66357C6.78609 7.48991 6.75971 7.32249 6.71387 7.16357H14.1426V8.16357Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1377 11.9092C9.08596 12.0666 9.05668 12.2344 9.05664 12.4092C9.05664 12.5838 9.08606 12.7518 9.1377 12.9092H1.85742V11.9092H9.1377ZM14.1426 12.9092H12.1816C12.2332 12.7519 12.2617 12.5838 12.2617 12.4092C12.2617 12.2345 12.2333 12.0666 12.1816 11.9092H14.1426V12.9092Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1123 3.09106C9.06138 3.24865 9.03324 3.41653 9.0332 3.59106C9.0332 3.76549 9.06148 3.93355 9.1123 4.09106H1.85742V3.09106H9.1123ZM14.1426 4.09106H12.207C12.2578 3.93358 12.2861 3.76545 12.2861 3.59106C12.2861 3.41657 12.2579 3.24862 12.207 3.09106H14.1426V4.09106Z",fill:"currentColor"}),c.jsx("circle",{cx:"4.97065",cy:"7.66401",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"12.4091",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"3.59101",r:"1.35151",stroke:"currentColor"})]}),RM=e=>c.jsx(Y7,{...e,strokeWidth:se}),DM=e=>c.jsx(Y7,{...e,strokeWidth:ae}),J7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.54492 2.06738C5.91034 2.06754 6.26318 2.20149 6.53711 2.44336L7.94043 3.68164V4.7998C7.71462 4.74105 7.50367 4.63139 7.32617 4.47461L5.87598 3.19238C5.78477 3.11185 5.66658 3.06754 5.54492 3.06738H2.94922C2.67322 3.06738 2.44946 3.29145 2.44922 3.56738V12.4326C2.44927 12.7087 2.67311 12.9326 2.94922 12.9326H12.9326C13.2086 12.9325 13.4326 12.7086 13.4326 12.4326V8.53613H14.4326V12.4326C14.4326 13.2609 13.7609 13.9325 12.9326 13.9326H2.94922C2.12083 13.9326 1.44927 13.261 1.44922 12.4326V3.56738C1.44946 2.73916 2.12094 2.06738 2.94922 2.06738H5.54492Z",fill:"currentColor"}),c.jsx("path",{d:"M9.75977 4.50208H14.5509",stroke:"currentColor"}),c.jsx("path",{d:"M12.1492 6.89758L12.1492 2.10642",stroke:"currentColor"})]}),FM=e=>c.jsx(J7,{...e,strokeWidth:se}),$M=e=>c.jsx(J7,{...e,strokeWidth:ae}),X7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.3994 13.5986H2.04956C1.49728 13.5986 1.04956 13.1509 1.04956 12.5986V3.40137C1.04956 2.84908 1.49728 2.40137 2.04956 2.40137H4.76632C5.01016 2.40137 5.24561 2.49046 5.42836 2.6519L6.94088 3.98799C7.12364 4.14943 7.35908 4.23852 7.60293 4.23852H12.3994C12.9517 4.23852 13.3994 4.68624 13.3994 5.23852V7.16991",stroke:"currentColor"}),c.jsx("path",{d:"M2.55911 7.93683C2.67584 7.49906 3.07229 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55911 7.93683Z",stroke:"currentColor"})]}),HM=e=>c.jsx(X7,{...e,strokeWidth:se}),VM=e=>c.jsx(X7,{...e,strokeWidth:ae}),Q7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.55912 7.93683C2.67584 7.49906 3.0723 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55912 7.93683Z",fill:"currentColor",opacity:"0.16"}),c.jsx("path",{d:"M13.6491 6.69446C14.6346 6.69453 15.3522 7.62895 15.0983 8.58118L13.9245 12.9845C13.7494 13.6412 13.1539 14.0988 12.4743 14.0988H2.35126C1.36574 14.0988 0.648153 13.1643 0.902044 12.212L2.07587 7.80774C2.25102 7.15128 2.84567 6.69455 3.52509 6.69446H13.6491ZM3.52509 7.69446C3.29865 7.69455 3.10004 7.84674 3.04169 8.06555L1.86786 12.4698C1.78345 12.7872 2.02285 13.0988 2.35126 13.0988H12.4743C12.7007 13.0988 12.8992 12.9463 12.9577 12.7277L14.1325 8.32336C14.2171 8.00598 13.9776 7.69453 13.6491 7.69446H3.52509Z",fill:"currentColor"}),c.jsx("path",{d:"M4.7666 1.90137C5.13227 1.90144 5.48571 2.03525 5.75977 2.27734L7.27246 3.61328C7.36379 3.69382 7.48174 3.73828 7.60352 3.73828H12.3994C13.2276 3.73841 13.8993 4.41005 13.8994 5.23828V6.7168C13.8183 6.70327 13.735 6.69436 13.6494 6.69434H12.8994V5.23828C12.8993 4.96233 12.6754 4.73841 12.3994 4.73828H7.60352C7.23781 4.73828 6.88446 4.60438 6.61035 4.3623L5.09766 3.02637C5.00636 2.94576 4.88838 2.90144 4.7666 2.90137H2.0498C1.77366 2.90137 1.5498 3.12523 1.5498 3.40137V9.78223L0.902344 12.2119C0.648452 13.1642 1.36604 14.0986 2.35156 14.0986H2.0498C1.2214 14.0986 0.549838 13.427 0.549805 12.5986V3.40137C0.549805 2.57294 1.22138 1.90137 2.0498 1.90137H4.7666Z",fill:"currentColor"})]}),BM=e=>c.jsx(Q7,{...e,strokeWidth:se}),ZM=e=>c.jsx(Q7,{...e,strokeWidth:ae}),WM=e=>c.jsx(ql,{...e,strokeWidth:se}),UM=e=>c.jsx(ql,{...e,strokeWidth:ae}),ep=({size:e=10,className:t,strokeWidth:n})=>c.jsx("svg",{width:e*8/10,height:e,className:t,viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M0.5 0V7C0.5 7.79565 0.81607 8.55871 1.37868 9.12132C1.94129 9.68393 2.70435 10 3.5 10H8.5",stroke:"currentColor"})}),qM=e=>c.jsx(ep,{...e,strokeWidth:se}),GM=e=>c.jsx(ep,{...e,strokeWidth:ae}),tp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.00007 11.8117C10.1052 11.8117 11.8117 10.1052 11.8117 8.00007C11.8117 5.89499 10.1052 4.18848 8.00007 4.18848C5.89499 4.18848 4.18848 5.89499 4.18848 8.00007C4.18848 10.1052 5.89499 11.8117 8.00007 11.8117Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.3899 8H15.1499",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 11.8115L13.0556 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M8 13.3901V15.1501",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 11.8115L2.94458 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M2.6101 8H0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 4.18856L2.94458 2.94446",stroke:"currentColor"}),c.jsx("path",{d:"M8 2.6101V0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 4.18856L13.0556 2.94446",stroke:"currentColor"})]}),KM=e=>c.jsx(tp,{...e,strokeWidth:se}),YM=e=>c.jsx(tp,{...e,strokeWidth:ae}),np=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1127 8.70663C14.2576 8.60602 14.4627 8.71355 14.4386 8.88834C14.2901 9.96567 13.8731 10.9912 13.2229 11.8692C12.479 12.8735 11.4613 13.6421 10.2917 14.0829C9.1222 14.5236 7.85038 14.6179 6.62865 14.3543C5.40692 14.0907 4.28709 13.4805 3.40332 12.5967C2.51955 11.7129 1.90931 10.5931 1.64572 9.37135C1.38212 8.14962 1.47635 6.87779 1.91711 5.70825C2.35787 4.5387 3.12647 3.52103 4.13083 2.77714C5.00878 2.12689 6.03433 1.70994 7.11166 1.5614C7.28645 1.5373 7.39397 1.74238 7.29337 1.88734C6.68703 2.76099 6.37885 3.81241 6.42313 4.88345C6.47392 6.11194 6.98471 7.27645 7.85413 8.14587C8.72355 9.01529 9.88805 9.52608 11.1166 9.57687C12.1876 9.62114 13.239 9.31296 14.1127 8.70663Z",stroke:"currentColor"})}),JM=e=>c.jsx(np,{...e,strokeWidth:se}),XM=e=>c.jsx(np,{...e,strokeWidth:ae}),rp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V11.5C1.5 12.0523 1.94772 12.5 2.5 12.5H13.5C14.0523 12.5 14.5 12.0523 14.5 11.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5 14.5H11",stroke:"currentColor"})]}),QM=e=>c.jsx(rp,{...e,strokeWidth:se}),eO=e=>c.jsx(rp,{...e,strokeWidth:ae}),op=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.8667 0.349609C8.96906 0.349634 10.0601 0.481272 11.0317 0.735352C11.9973 0.987845 12.8453 1.362 13.4644 1.84766C14.0744 2.32629 14.507 2.95539 14.5161 3.69336H14.5171V8.53516C14.0843 8.32076 13.6108 8.17679 13.1108 8.11816C13.1831 7.96848 13.2162 7.82856 13.2163 7.70312V5.76758C12.6269 6.16618 11.8739 6.47995 11.0317 6.7002C10.0602 6.95423 8.96896 7.08494 7.8667 7.08496C6.76461 7.08493 5.67411 6.95415 4.70264 6.7002C3.85994 6.48006 3.10694 6.1662 2.51709 5.76758V7.70312L2.521 7.78418C2.56374 8.19554 2.93361 8.74414 3.91357 9.23145C4.9281 9.73585 6.35004 10.0371 7.8667 10.0371C8.26373 10.0371 8.6543 10.0141 9.03271 9.97461C8.75596 10.3799 8.54664 10.8349 8.42041 11.3232C8.23666 11.3313 8.0518 11.3369 7.8667 11.3369C6.20108 11.3369 4.57025 11.01 3.33447 10.3955C3.04163 10.2499 2.76658 10.0836 2.51709 9.90039V11.6738C2.51728 12.1379 2.88589 12.7556 3.92236 13.292C4.93457 13.8157 6.35342 14.1289 7.8667 14.1289C8.12318 14.1289 8.37694 14.1161 8.62646 14.0986C8.82021 14.5535 9.08999 14.9682 9.41943 15.3271C8.91285 15.3934 8.39149 15.4287 7.8667 15.4287C6.19761 15.4287 4.56379 15.0869 3.32568 14.4463C2.11244 13.8185 1.21649 12.8562 1.21631 11.6738V3.76367C1.21595 3.74853 1.21438 3.733 1.21436 3.71777C1.21436 2.96917 1.65103 2.33053 2.26807 1.84668C2.88747 1.36112 3.73675 0.987685 4.70264 0.735352C5.67413 0.481376 6.76457 0.349636 7.8667 0.349609ZM7.8667 1.65039C6.86269 1.65042 5.88326 1.77028 5.03076 1.99316C4.17183 2.2176 3.50421 2.52956 3.06982 2.87012C2.65043 3.19909 2.52622 3.48898 2.51709 3.69336V3.74414C2.52719 3.94845 2.65185 4.23772 3.06982 4.56543C3.50425 4.90601 4.17172 5.21795 5.03076 5.44238C5.88326 5.66527 6.8627 5.78513 7.8667 5.78516C8.8707 5.78513 9.85015 5.66525 10.7026 5.44238C11.5611 5.21787 12.2286 4.9049 12.6626 4.56445C13.0982 4.22252 13.2163 3.9231 13.2163 3.71777L13.2104 3.63574C13.1818 3.43623 13.044 3.16941 12.6626 2.87012C12.2286 2.52957 11.5614 2.21773 10.7026 1.99316C9.85009 1.77025 8.8708 1.65041 7.8667 1.65039Z",fill:"currentColor"}),c.jsx("path",{d:"M12.8936 10.0361L13.2061 10.5566C13.2296 10.5959 13.2651 10.6562 13.3027 10.707C13.3469 10.7666 13.4148 10.8431 13.5195 10.9023C13.6244 10.9617 13.725 10.9801 13.7988 10.9873C13.8619 10.9934 13.9318 10.9932 13.9775 10.9932H14.6162L14.8896 11.4502L14.5947 11.9443C14.5698 11.9859 14.5312 12.0483 14.5029 12.1084C14.4781 12.1611 14.4514 12.2312 14.4395 12.3164L14.4326 12.4072L14.4395 12.4971C14.4514 12.5825 14.4781 12.6532 14.5029 12.7061C14.5312 12.7661 14.5689 12.8287 14.5938 12.8701L14.8896 13.3633L14.6162 13.8213H13.9775C13.9318 13.8213 13.8619 13.821 13.7988 13.8271C13.7433 13.8326 13.6728 13.8442 13.5967 13.875L13.5195 13.9121C13.4148 13.9714 13.3469 14.0478 13.3027 14.1074C13.265 14.1583 13.2296 14.2186 13.2061 14.2578L12.8936 14.7783H12.3115L11.999 14.2578C11.9755 14.2186 11.9401 14.1583 11.9023 14.1074C11.8693 14.0628 11.823 14.0083 11.7578 13.959L11.6855 13.9121L11.6074 13.875C11.5316 13.8445 11.4615 13.8325 11.4062 13.8271C11.3432 13.821 11.2733 13.8213 11.2275 13.8213H10.5889L10.3135 13.3633L10.6104 12.8701C10.6352 12.8287 10.6739 12.7661 10.7021 12.7061C10.7352 12.6357 10.7724 12.534 10.7725 12.4072C10.7724 12.2804 10.7352 12.1788 10.7021 12.1084C10.6739 12.0483 10.6353 11.9859 10.6104 11.9443L10.3135 11.4502L10.5889 10.9932H11.2275C11.2733 10.9932 11.3432 10.9934 11.4062 10.9873C11.4801 10.9801 11.5808 10.9616 11.6855 10.9023C11.7903 10.843 11.8582 10.7666 11.9023 10.707C11.94 10.6562 11.9755 10.5959 11.999 10.5566L12.3115 10.0361H12.8936Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),ip=e=>c.jsx(op,{...e,strokeWidth:se}),tO=e=>c.jsx(op,{...e,strokeWidth:ae}),sp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.1967 5.1869C13.7232 4.77378 14.0003 4.30517 14.0001 3.82819C14.0003 3.3512 13.7232 2.88259 13.1967 2.46947C12.6702 2.05635 11.9128 1.71328 11.0006 1.47475C10.0885 1.23621 9.05371 1.11062 8.00039 1.1106C6.94707 1.11057 5.9123 1.23612 5.00009 1.47461C4.08742 1.71301 3.32948 2.05604 2.80249 2.46919C2.2755 2.88235 1.99805 3.35106 1.99805 3.82819C1.99805 4.30531 2.2755 4.77402 2.80249 5.18718C3.32948 5.60033 4.08742 5.94336 5.00009 6.18176C5.9123 6.42025 6.94707 6.5458 8.00039 6.54578C9.05371 6.54575 10.0885 6.42016 11.0006 6.18163C11.9128 5.94309 12.6702 5.60002 13.1967 5.1869Z",stroke:"currentColor"}),c.jsx("path",{d:"M2 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M14 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M2 7.81396C2 8.60524 2.63214 9.36411 3.75736 9.92363C4.88258 10.4832 6.4087 10.7975 8 10.7975C9.5913 10.7975 11.1174 10.4832 12.2426 9.92363C13.3679 9.36411 14 8.60524 14 7.81396",stroke:"currentColor"}),c.jsx("path",{d:"M2 11.7847C2 12.6081 2.63214 13.3977 3.75736 13.98C4.88258 14.5622 6.4087 14.8893 8 14.8893C9.5913 14.8893 11.1174 14.5622 12.2426 13.98C13.3679 13.3977 14 12.6081 14 11.7847",stroke:"currentColor"})]}),nO=e=>c.jsx(sp,{...e,strokeWidth:se}),rO=e=>c.jsx(sp,{...e,strokeWidth:ae}),ap=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.31V8.46L11 10.08",stroke:"currentColor"})]}),oO=e=>c.jsx(ap,{...e,strokeWidth:se}),iO=e=>c.jsx(ap,{...e,strokeWidth:ae}),lp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.4041 13.096C2.49514 12.187 1.87614 11.0288 1.62537 9.76798C1.37459 8.50716 1.50331 7.20028 1.99525 6.01261C2.48719 4.82494 3.32025 3.80981 4.3891 3.09557C5.45795 2.38134 6.71458 2.00008 8.0001 2C9.28563 2.00008 10.5423 2.38134 11.6111 3.09557C12.68 3.80981 13.513 4.82494 14.005 6.01261C14.4969 7.20028 14.6256 8.50716 14.3748 9.76798C14.1241 11.0288 13.5051 12.187 12.5961 13.096",stroke:"currentColor"}),c.jsx("path",{d:"M8 8.49994L11.6114 4.88855",stroke:"currentColor"}),c.jsx("path",{d:"M8 9.75C8.69036 9.75 9.25 9.19036 9.25 8.5C9.25 7.80964 8.69036 7.25 8 7.25C7.30964 7.25 6.75 7.80964 6.75 8.5C6.75 9.19036 7.30964 9.75 8 9.75Z",fill:"currentColor"})]}),sO=e=>c.jsx(lp,{...e,strokeWidth:se}),aO=e=>c.jsx(lp,{...e,strokeWidth:ae}),cp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.97211 1.94476C7.55785 1.35914 8.50767 1.35919 9.09343 1.94476L13.921 6.77228L13.2138 7.47939L8.38632 2.65187C8.19108 2.45682 7.87443 2.45677 7.67922 2.65187L2.74397 7.58711L2.03687 6.88L6.97211 1.94476Z",fill:"currentColor"}),c.jsx("path",{d:"M7.97571 14.5732L8.02421 2.34139",stroke:"currentColor"})]}),lO=e=>c.jsx(cp,{...e,strokeWidth:se}),cO=e=>c.jsx(cp,{...e,strokeWidth:ae}),up=({size:e=14,...t})=>c.jsx(q8,{size:e,...t}),uO=e=>c.jsx(up,{...e,strokeWidth:se}),dO=e=>c.jsx(up,{...e,strokeWidth:ae}),dp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75 6.25C4.7165 6.25 5.5 5.4665 5.5 4.5C5.5 3.5335 4.7165 2.75 3.75 2.75C2.7835 2.75 2 3.5335 2 4.5C2 5.4665 2.7835 6.25 3.75 6.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 4.5H13.5",stroke:"currentColor"}),c.jsx("path",{d:"M3.75 13.25C4.7165 13.25 5.5 12.4665 5.5 11.5C5.5 10.5335 4.7165 9.75 3.75 9.75C2.7835 9.75 2 10.5335 2 11.5C2 12.4665 2.7835 13.25 3.75 13.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 11.5H13.5",stroke:"currentColor"})]}),fO=e=>c.jsx(dp,{...e,strokeWidth:se}),hO=e=>c.jsx(dp,{...e,strokeWidth:ae}),o2=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V7.61328L13 8.68164V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H8.32812L7.39258 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5Z",fill:"currentColor"}),c.jsx("path",{d:"M8.97212 14.3693C9.17511 14.5723 9.37811 14.7753 9.5811 14.9783C9.67012 14.8953 9.75914 14.8123 9.84815 14.7293C11.4505 13.2352 13.0528 11.7411 14.6551 10.247C14.7441 10.164 14.8331 10.081 14.9221 9.99803C14.5989 9.6748 14.2756 9.35157 13.9524 9.02834C13.8694 9.11736 13.7864 9.20637 13.7034 9.29539C12.2093 10.8977 10.7152 12.5 9.22113 14.1023C9.13813 14.1913 9.05513 14.2803 8.97212 14.3693Z",fill:"currentColor"}),c.jsx("path",{d:"M11.6323 13.7841C11.6323 14.0395 11.6323 14.295 11.6323 14.5504C11.6812 14.5523 11.7301 14.5543 11.779 14.5562C12.659 14.5913 13.539 14.6263 14.419 14.6614C14.4679 14.6633 14.5168 14.6653 14.5657 14.6672C14.5657 14.3339 14.5657 14.0006 14.5657 13.6672C14.5168 13.6692 14.4679 13.6711 14.419 13.6731C13.539 13.7081 12.659 13.7432 11.779 13.7783C11.7301 13.7802 11.6812 13.7821 11.6323 13.7841Z",fill:"currentColor"})]}),pO=e=>c.jsx(o2,{...e,strokeWidth:se}),mO=e=>c.jsx(o2,{...e,strokeWidth:ae}),fp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.5 8C11.5001 8.69227 11.2948 9.36901 10.9102 9.94463C10.5257 10.5202 9.97901 10.9689 9.33944 11.2338C8.69986 11.4987 7.99609 11.5681 7.31712 11.433C6.63816 11.2979 6.01449 10.9645 5.52501 10.475C5.03548 9.98552 4.70209 9.36185 4.56702 8.68289C4.43195 8.00392 4.50127 7.30015 4.76619 6.66057C5.03112 6.021 5.47976 5.47436 6.05538 5.08978C6.631 4.70519 7.30774 4.49995 8.00001 4.5",stroke:"currentColor"}),c.jsx("path",{d:"M8.00024 7.99976L11.2 4.80005",stroke:"currentColor"}),c.jsx("path",{d:"M12.4719 5.62245C12.4246 5.66972 12.3569 5.69025 12.2913 5.67715L10.7814 5.37555C10.7022 5.35972 10.6402 5.29781 10.6244 5.2186L10.3228 3.70866C10.3097 3.6431 10.3302 3.57533 10.3775 3.52806L12.1826 1.723C12.2863 1.61929 12.4627 1.65879 12.5122 1.79684L12.9271 2.95225C12.9472 3.00847 12.9915 3.05272 13.0477 3.07291L14.2031 3.48774C14.3412 3.5373 14.3807 3.71368 14.277 3.81739L12.4719 5.62245Z",stroke:"currentColor"})]}),gO=e=>c.jsx(fp,{...e,strokeWidth:se}),vO=e=>c.jsx(fp,{...e,strokeWidth:ae}),hp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.875 3C5.875 6.33333 7.54167 8 10.875 8C7.54167 8 5.875 9.66667 5.875 13C5.875 9.66667 4.20833 8 0.875 8C4.20833 8 5.875 6.33333 5.875 3Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 1.55823C12.375 3.39156 13.2917 4.30823 15.125 4.30823C13.2917 4.30823 12.375 5.22489 12.375 7.05823C12.375 5.22489 11.4583 4.30823 9.625 4.30823C11.4583 4.30823 12.375 3.39156 12.375 1.55823Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 10.4418C12.375 11.7751 13.0417 12.4418 14.375 12.4418C13.0417 12.4418 12.375 13.1084 12.375 14.4418C12.375 13.1084 11.7083 12.4418 10.375 12.4418C11.7083 12.4418 12.375 11.7751 12.375 10.4418Z",stroke:"currentColor"})]}),wO=e=>c.jsx(hp,{...e,strokeWidth:se}),xO=e=>c.jsx(hp,{...e,strokeWidth:ae}),yO=e=>c.jsx(e2,{...e,size:e.size??12,strokeWidth:se}),_O=e=>c.jsx(e2,{...e,size:e.size??12,strokeWidth:ae}),pp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.57788 5.77124H10.7029",stroke:"currentColor"}),c.jsx("path",{d:"M4.57788 8.89819H7.91879",stroke:"currentColor"}),c.jsx("path",{d:"M12.1404 1.19446C12.9442 1.19446 13.6404 1.81999 13.6404 2.64465V8.89856H12.6404V2.64465C12.6404 2.42015 12.4411 2.19446 12.1404 2.19446H3.14038C2.83968 2.19446 2.64038 2.42015 2.64038 2.64465V13.0929C2.64082 13.3172 2.84001 13.5421 3.14038 13.5421H8.88159V14.5421H3.14038C2.33675 14.5421 1.6408 13.9172 1.64038 13.0929V2.64465C1.64038 1.81999 2.33651 1.19446 3.14038 1.19446H12.1404Z",fill:"currentColor"}),c.jsx("path",{d:"M12.0051 15.1056C12.0051 13.6395 10.8166 12.451 9.35059 12.451C10.8166 12.451 12.0051 11.2626 12.0051 9.79651C12.0051 11.2626 13.1936 12.451 14.6597 12.451C13.1936 12.451 12.0051 13.6395 12.0051 15.1056Z",stroke:"currentColor"})]}),mp=e=>c.jsx(pp,{...e,strokeWidth:se}),bO=e=>c.jsx(pp,{...e,strokeWidth:ae}),gp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.75 6.69646C5.75 6.29865 5.88196 5.90976 6.12919 5.57899C6.37643 5.24821 6.72783 4.99041 7.13896 4.83817C7.5501 4.68593 8.0025 4.6461 8.43895 4.72371C8.87541 4.80132 9.27632 4.99289 9.59099 5.27419C9.90566 5.55549 10.12 5.91388 10.2068 6.30406C10.2936 6.69423 10.249 7.09866 10.0787 7.4662C9.90843 7.83373 9.62004 8.14787 9.25003 8.36889C9.19476 8.4019 9.13803 8.43262 9.08004 8.46099C8.52566 8.73217 8 9.20817 8 9.82532",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.7416V11.7416",stroke:"currentColor"})]}),CO=e=>c.jsx(gp,{...e,strokeWidth:se}),kO=e=>c.jsx(gp,{...e,strokeWidth:ae}),vp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5757 7.00012C12.5757 3.92085 10.0794 1.42463 7.00012 1.42456C3.9208 1.42456 1.42456 3.9208 1.42456 7.00012C1.42463 10.0794 3.92085 12.5757 7.00012 12.5757C10.0793 12.5756 12.5756 10.0793 12.5757 7.00012ZM13.8002 7.00012C13.8001 10.7559 10.7559 13.8001 7.00012 13.8002C3.2443 13.8002 0.199291 10.7559 0.199219 7.00012C0.199219 3.24426 3.24426 0.199219 7.00012 0.199219C10.7559 0.199291 13.8002 3.2443 13.8002 7.00012Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 3.18921V4.55986H6.38735V3.18921H7.6127Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 5.68921V10.8109H6.38735V5.68921H7.6127Z",fill:"currentColor"})]}),wp=e=>c.jsx(vp,{...e,strokeWidth:se}),SO=e=>c.jsx(vp,{...e,strokeWidth:ae}),xp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.84457 5.06199C11.6605 4.93876 14.7962 6.14848 14.8484 7.76397C14.8875 8.97461 13.1838 10.0696 10.7215 10.5942",stroke:"currentColor"}),c.jsx("path",{d:"M5.12742 8.07731C5.00419 4.26138 6.21391 1.12568 7.8294 1.07351C9.04004 1.03441 10.135 2.73808 10.6596 5.20037",stroke:"currentColor"}),c.jsx("path",{d:"M8.02457 10.6802C4.20865 10.8034 1.07294 9.5937 1.02077 7.97821C0.981678 6.76758 2.68535 5.67262 5.14763 5.14798",stroke:"currentColor"}),c.jsx("path",{d:"M10.7476 7.89535C10.8708 11.7113 9.66109 14.847 8.0456 14.8991C6.83496 14.9382 5.74 13.2346 5.21536 10.7723",stroke:"currentColor"})]}),EO=e=>c.jsx(xp,{...e,strokeWidth:se}),jO=e=>c.jsx(xp,{...e,strokeWidth:ae}),yp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.09372 11.9895L3.11865 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M12.1392 11.9895L13.1143 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 4.78442V8.03442L10.6165 9.53442",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 13.4094C11.154 13.4094 13.6165 10.947 13.6165 7.90942C13.6165 4.87186 11.154 2.40942 8.11646 2.40942C5.07889 2.40942 2.61646 4.87186 2.61646 7.90942C2.61646 10.947 5.07889 13.4094 8.11646 13.4094Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.75952 4.74323C2.30657 3.65639 3.12646 2.73047 4.12926 2.05542",stroke:"currentColor"}),c.jsx("path",{d:"M14.3345 4.74323C13.7874 3.65639 12.9675 2.73047 11.9647 2.05542",stroke:"currentColor"})]}),IO=e=>c.jsx(yp,{...e,strokeWidth:se}),MO=e=>c.jsx(yp,{...e,strokeWidth:ae}),_p=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V4.5C1.5 5.05228 1.94772 5.5 2.5 5.5H13.5C14.0523 5.5 14.5 5.05228 14.5 4.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 5.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V5.5",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 9.5H9.5",stroke:"currentColor"})]}),OO=e=>c.jsx(_p,{...e,strokeWidth:se}),TO=e=>c.jsx(_p,{...e,strokeWidth:ae}),bp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3457 3.19299H13.6541",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 7.46497H9.19332",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 11.7369H6.4849",stroke:"currentColor"}),c.jsx("path",{d:"M9.1936 7.46497H11.5183C12.6981 7.46497 13.6544 8.42132 13.6544 9.60103C13.6544 10.7808 12.6981 11.7371 11.5183 11.7371H9.1936",stroke:"currentColor"}),c.jsx("path",{d:"M10.9505 9.7677L9.12262 11.5956C9.04452 11.6737 9.04452 11.8003 9.12262 11.8784L10.9505 13.7063",stroke:"currentColor"})]}),Cp=e=>c.jsx(bp,{...e,strokeWidth:se}),LO=e=>c.jsx(bp,{...e,strokeWidth:ae}),kp=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M12.3535 7.64645C12.5487 7.84171 12.5487 8.15829 12.3535 8.35355L9.85352 10.8535L9.14648 10.1465L10.793 8.5H3.5V7.5H10.793L9.14648 5.85352L9.85352 5.14648L12.3535 7.64645Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),Sp=e=>c.jsx(kp,{...e}),NO=e=>c.jsx(kp,{...e}),Ep=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M10.9999 8C10.9999 6.89543 10.1046 6 9 6H4.5V5H9C10.6568 5 11.9999 6.34315 11.9999 8C11.9999 9.65685 10.6568 11 9 11H6.20703L6.85351 11.6465L6.14648 12.3535L4.64652 10.8536C4.45126 10.6583 4.45126 10.3417 4.64652 10.1464L6.14648 8.64648L6.85351 9.35352L6.20703 10H9C10.1046 10 10.9999 9.10457 10.9999 8Z",fill:"currentColor"}),c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),jp=e=>c.jsx(Ep,{...e}),PO=e=>c.jsx(Ep,{...e}),Ip=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H6C6.55228 14.5 7 14.0523 7 13.5V2.5C7 1.94772 6.55228 1.5 6 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 1.5H10C9.44772 1.5 9 1.94772 9 2.5V13.5C9 14.0523 9.44772 14.5 10 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"})]}),zO=e=>c.jsx(Ip,{...e,strokeWidth:se}),AO=e=>c.jsx(Ip,{...e,strokeWidth:ae}),Mp=e=>c.jsx(o2,{...e,size:e.size??14}),RO=e=>c.jsx(Mp,{...e,strokeWidth:se}),DO=e=>c.jsx(Mp,{...e,strokeWidth:ae}),Op=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{opacity:"0.35",d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5C8.85359 1.5 9.69883 1.66813 10.4874 1.99478C11.2761 2.32144 11.9926 2.80022 12.5962 3.40381C13.1998 4.00739 13.6786 4.72394 14.0052 5.51256C14.3319 6.30117 14.5 7.14641 14.5 8",stroke:"currentColor"})]}),FO=e=>c.jsx(Op,{...e,strokeWidth:se}),$O=e=>c.jsx(Op,{...e,strokeWidth:ae}),Tp=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:G8,stroke:"currentColor",strokeLinejoin:"round"})}),HO=e=>c.jsx(Tp,{...e,strokeWidth:se}),VO=e=>c.jsx(Tp,{...e,strokeWidth:ae}),Lp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5303 6.53027L8.80273 10.2578C8.54967 10.5109 8.31796 10.7439 8.10645 10.9141C7.88375 11.0932 7.616 11.2602 7.27344 11.3145C7.09229 11.3431 6.90771 11.3431 6.72656 11.3145C6.384 11.2602 6.11625 11.0932 5.89355 10.9141C5.68204 10.7439 5.45033 10.5109 5.19727 10.2578L3.46973 8.53027L4.53027 7.46973L6.25781 9.19727C6.53457 9.47402 6.70036 9.63859 6.83398 9.74609C6.95637 9.84453 6.98241 9.83644 6.96094 9.83301C6.98679 9.83709 7.01321 9.83709 7.03906 9.83301C7.01759 9.83644 7.04363 9.84453 7.16602 9.74609C7.29964 9.63859 7.46543 9.47402 7.74219 9.19727L11.4697 5.46973L12.5303 6.53027Z",fill:"currentColor"}),c.jsx("path",{d:"M14.5996 8C14.5996 4.35492 11.6451 1.40039 8 1.40039C4.35492 1.40039 1.40039 4.35492 1.40039 8C1.40039 11.6451 4.35492 14.5996 8 14.5996C11.6451 14.5996 14.5996 11.6451 14.5996 8ZM15.9004 8C15.9004 12.363 12.363 15.9004 8 15.9004C3.63695 15.9004 0.0996094 12.363 0.0996094 8C0.0996094 3.63695 3.63695 0.0996094 8 0.0996094C12.363 0.0996094 15.9004 3.63695 15.9004 8Z",fill:"currentColor"})]}),Np=e=>c.jsx(Lp,{...e,strokeWidth:se}),BO=e=>c.jsx(Lp,{...e,strokeWidth:ae}),Pp=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8659 2.05975C17.2603 2.05995 18.3913 3.19096 18.3914 4.58527V5.4874C18.3914 6.02747 18.2192 6.52672 17.9303 6.93735C17.9336 6.96524 17.9388 6.99318 17.9388 7.02195V12.8884C17.9388 13.6345 17.9395 14.2379 17.8996 14.7254C17.8642 15.1593 17.7936 15.5499 17.6373 15.9141L17.5654 16.0685C17.278 16.6328 16.8405 17.1046 16.3038 17.434L16.0679 17.5661C15.66 17.7739 15.2196 17.8598 14.7237 17.9003C14.2362 17.9401 13.6327 17.9405 12.8867 17.9405H7.11122C6.36511 17.9405 5.76171 17.9401 5.27418 17.9003C4.84051 17.8649 4.44949 17.7952 4.08545 17.6391L3.93104 17.5661C3.36673 17.2785 2.89392 16.8414 2.56465 16.3044L2.43245 16.0685C2.22473 15.6608 2.13878 15.2211 2.09825 14.7254C2.05841 14.2379 2.05912 13.6345 2.05912 12.8884V7.02195C2.05912 6.99284 2.06422 6.96449 2.06758 6.93629C1.77931 6.52592 1.60858 6.02687 1.60858 5.4874V4.58527C1.60876 3.19084 2.73962 2.05975 4.1341 2.05975H15.8659ZM16.4984 7.92936C16.296 7.98169 16.0847 8.01288 15.8659 8.01291H4.1341C3.91478 8.01291 3.70246 7.98194 3.49955 7.92936V12.8884C3.49955 13.6582 3.50053 14.1927 3.53445 14.608C3.56769 15.0146 3.62923 15.244 3.71635 15.415L3.7925 15.5514C3.98339 15.8627 4.25749 16.1165 4.58464 16.2833L4.72529 16.3435C4.88095 16.3993 5.08638 16.4402 5.39158 16.4651C5.80685 16.4991 6.34138 16.5001 7.11122 16.5001H12.8867C13.6564 16.5001 14.1911 16.499 14.6063 16.4651C15.0128 16.432 15.2423 16.3703 15.4133 16.2833L15.5508 16.2061C15.8618 16.0152 16.116 15.7419 16.2827 15.415L16.3429 15.2732C16.3985 15.1177 16.4396 14.9128 16.4645 14.608C16.4985 14.1927 16.4984 13.6583 16.4984 12.8884V7.92936ZM4.1341 3.50019C3.53511 3.50019 3.0492 3.98631 3.04902 4.58527V5.4874C3.04902 6.08649 3.535 6.57248 4.1341 6.57248H15.8659C16.4648 6.57228 16.951 6.08638 16.951 5.4874V4.58527C16.9509 3.98644 16.4647 3.50038 15.8659 3.50019H4.1341Z",fill:"currentColor"}),c.jsx("path",{d:"M10 14.1V10.1M7.85 12.05L10 9.9L12.15 12.05",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),ZO=e=>c.jsx(Pp,{...e,strokeWidth:se}),WO=e=>c.jsx(Pp,{...e,strokeWidth:ae}),zp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),UO=e=>c.jsx(zp,{...e,strokeWidth:se}),qO=e=>c.jsx(zp,{...e,strokeWidth:ae}),Ap=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),GO=e=>c.jsx(Ap,{...e,strokeWidth:se}),KO=e=>c.jsx(Ap,{...e,strokeWidth:ae}),Rp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 3.5h7.5M6 8h7.5M6 12.5h7.5"}),c.jsx("path",{d:"M2.6 3.5h.01M2.6 8h.01M2.6 12.5h.01"})]}),YO=e=>c.jsx(Rp,{...e,strokeWidth:se}),JO=e=>c.jsx(Rp,{...e,strokeWidth:ae}),Dp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14 12.05c0 .8-.65 1.45-1.46 1.45H3.46C2.65 13.5 2 12.85 2 12.05v-8.1c0-.8.65-1.45 1.46-1.45h2.4c.49 0 .94.24 1.21.65l.5.73c.27.4.73.65 1.21.65h3.76c.8 0 1.46.65 1.46 1.45v6.02Z"}),c.jsx("path",{d:"M8.7 8.1v3M11.2 8.1v3"})]}),XO=e=>c.jsx(Dp,{...e,strokeWidth:se}),QO=e=>c.jsx(Dp,{...e,strokeWidth:ae}),Fp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"m5.1 6 2.9-2.9L10.9 6"}),c.jsx("path",{d:"m5.1 10 2.9 2.9 2.9-2.9"})]}),eT=e=>c.jsx(Fp,{...e,strokeWidth:se}),tT=e=>c.jsx(Fp,{...e,strokeWidth:ae}),$p=({size:e=16,className:t,strokeWidth:n})=>{const r=`dsh-archive-off-${S.useId().replaceAll(":","")}`;return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsxs("mask",{id:r,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:[c.jsx("rect",{x:"0",y:"0",width:"16",height:"16",fill:"white",stroke:"none"}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8",stroke:"black",strokeWidth:n+3})]}),c.jsxs("g",{mask:`url(#${r})`,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"})]}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8"})]})},nT=e=>c.jsx($p,{...e,strokeWidth:se}),rT=e=>c.jsx($p,{...e,strokeWidth:ae}),Hp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"}),c.jsx("path",{d:"m6 9.35 1.4 1.4 2.6-2.6"})]}),oT=e=>c.jsx(Hp,{...e,strokeWidth:se}),iT=e=>c.jsx(Hp,{...e,strokeWidth:ae}),Vp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3 5h5.85M12.05 5h1.65"}),c.jsx("circle",{cx:"9.95",cy:"5",r:"1.45"}),c.jsx("path",{d:"M2.3 11h1.65M7.85 11h5.85"}),c.jsx("circle",{cx:"5.75",cy:"11",r:"1.45"})]}),sT=e=>c.jsx(Vp,{...e,strokeWidth:se}),aT=e=>c.jsx(Vp,{...e,strokeWidth:ae}),Bp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,viewBox:"0 0 16 16",className:t,fill:"none",stroke:"currentColor",strokeWidth:n,"aria-hidden":"true",children:[c.jsx("rect",{x:4.5+n/2,y:1+n/2,width:7-n,height:10-n,rx:(7-n)/2}),c.jsx("path",{d:"M2.35 8.675C3.075 11.3 5.2 13.125 8 13.125C10.8 13.125 12.925 11.3 13.65 8.675M8 13.125V15"})]}),lT=e=>c.jsx(Bp,{...e,strokeWidth:se}),cT=e=>c.jsx(Bp,{...e,strokeWidth:ae});function uT(e){e!==null&&(Z5(e),e.addEventListener("animationstart",()=>{Z5(e)}))}function Z5(e){const t=e;for(const n of t.getAnimations?.({subtree:!0})??[])n.startTime=0}function i2({state:e,size:t,className:n,appearance:r="dot"}){const s=t??(e==="ongoing"?14:10);return e==="ongoing"?c.jsx("svg",{ref:uT,className:xe(ai.spinner,n),"data-state":"ongoing",width:s,height:s,viewBox:"0 0 24 24","aria-hidden":"true",children:c.jsxs("g",{className:ai.spinnerMotion,children:[c.jsx("circle",{className:ai.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),c.jsx("circle",{className:ai.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):c.jsx("span",{className:xe(r==="step"?ai.step:ai.dot,n),"data-state":e,style:{width:s,height:s},"aria-hidden":"true",children:r==="step"&&e==="done"&&c.jsx(Pi,{size:s-2})})}const md=new Map,Zp=new Map;function dT(e){const t=md.get(e);if(t)return t;const n=new AbortController,r=setTimeout(()=>n.abort(),1e4),s=fetch(e,{credentials:"same-origin",signal:n.signal}).then(async l=>{if(!l.ok)throw new Error("Icon presentation unavailable");const u=await l.json();if(!u||typeof u!="object"||Array.isArray(u))throw new Error("Invalid icon catalog");const d=u;return Zp.set(e,d),d}).catch(l=>{throw md.delete(e),l}).finally(()=>clearTimeout(r));return md.set(e,s),s}function Wp({id:e,src:t,presentationUrl:n,size:r,className:s,fallback:l}){const[u,d]=S.useState(()=>{const m=Zp.get(n);return m?{url:n,icons:m}:null});if(S.useEffect(()=>{let m=!0;return dT(n).then(g=>{m&&d({url:n,icons:g})},()=>{m&&d(null)}),()=>{m=!1}},[n]),!u||u.url!==n)return l;const p=u.icons[e];if(p?.vector){const{paths:m,color:g,viewBox:w}=p.vector;return c.jsx("svg",{className:s,viewBox:w,width:r,height:r,"aria-hidden":"true",focusable:"false",style:{fill:g,flex:"none"},children:m.map((x,y)=>c.jsx("path",{d:x.d,fillRule:x.fillRule,fill:x.fill},y))})}return c.jsx(fT,{src:t,size:r,className:s,presentation:p,fallback:l},t)}function fT({src:e,size:t,className:n,presentation:r,fallback:s}){const[l,u]=S.useState(!1);return l?s:c.jsx("img",{src:e,width:t,height:t,className:n,alt:"","aria-hidden":"true",draggable:!1,style:{objectFit:"contain",flex:"none",...r?.borderRadius===void 0?{}:{borderRadius:`${r.borderRadius}%`},...r?.background?{background:r.background}:{},...r?.paddingRatio?{boxSizing:"border-box",padding:Math.max(1,Math.round(t*r.paddingRatio))}:{}},onError:()=>u(!0)})}function hT({size:e=16,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[c.jsx("rect",{x:"4",y:"3",width:"16",height:"18",rx:"3"}),c.jsx("path",{d:"M9 10h6m-3-3v6m-3 4h6"})]})}function pT({size:e=16,className:t}){return c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:se,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:c.jsx("path",{d:"M6.5 13a1.5 1.5 0 0 0 3 0M8 1.5v1M4 6.5a4 4 0 0 1 8 0c0 3 1.5 4 1.5 4.5h-11C2.5 10.5 4 9.5 4 6.5Z"})})}const mT="_root_r2lcn_1",gT="_content_r2lcn_11",vT="_text_r2lcn_17",wT="_decoration_r2lcn_25",xT="_sweep_r2lcn_34",yT="_highlight_r2lcn_54",yo={root:mT,content:gT,text:vT,decoration:wT,sweep:xT,highlight:yT},Ja=S.createContext(void 0);function W5({children:e,className:t}){const r=S.useContext(Ja)===!0&&typeof e=="string";return c.jsx("span",{className:xe(yo.text,t),"data-shimmer-text":r?e:void 0,children:r?null:e})}const n0=S.memo(function({children:t,active:n=!1,className:r,contentClassName:s}){if(S.useContext(Ja)!==void 0)return c.jsx(W5,{className:r,children:t});const u=typeof t=="string"?c.jsx(W5,{children:t}):t;return c.jsxs("span",{className:xe(yo.root,r),"data-shimmer":n||void 0,children:[c.jsx(Ja.Provider,{value:!1,children:c.jsx("span",{className:xe(yo.content,s),children:u})}),n&&c.jsx("span",{className:yo.decoration,"aria-hidden":"true",inert:"",children:c.jsx("span",{className:yo.sweep,children:c.jsx(Ja.Provider,{value:!0,children:c.jsx("span",{className:xe(yo.content,yo.highlight,s),children:u})})})})]})}),_T="_root_1vqtz_9",bT="_row_1vqtz_16",CT="_leading_1vqtz_41",kT="_iconIdle_1vqtz_69",ST="_chevronHover_1vqtz_75",ET="_title_1vqtz_93",ho={root:_T,row:bT,leading:CT,iconIdle:kT,chevronHover:ST,title:ET},jT=S.memo(function({icon:t,title:n,open:r,expandable:s,onToggle:l,running:u=!1,expandOnRowClick:d=!1,previewChevron:p=s,keepContentWhenOpen:m=!1,collapsedContent:g,children:w,className:x,rowClassName:y,contentClassName:b,contentLayoutClassName:j,leadingClassName:I,chevronClassName:P,titleClassName:O}){const B=s&&d,z=q=>{q.stopPropagation(),l()},U=q=>{!B||q.key!=="Enter"&&q.key!==" "||(q.preventDefault(),l())},Z=p?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:ho.iconIdle,children:t}),c.jsx(i7,{className:xe(P,ho.chevronHover)})]}):t,ee=r?c.jsx(d7,{className:P}):Z;return c.jsxs("div",{className:xe(ho.root,x),"data-open":r||void 0,children:[c.jsxs("div",{className:xe(ho.row,y),"data-disclosure-row":!0,"data-expandable":B||void 0,role:B?"button":void 0,tabIndex:B?0:void 0,"aria-expanded":B?r:void 0,onClick:B?l:void 0,onKeyDown:B?U:void 0,children:[s&&!B?c.jsx("button",{type:"button",className:xe(ho.leading,I),"aria-label":n,"aria-expanded":r,onClick:z,children:ee}):c.jsx("span",{className:xe(ho.leading,I),children:ee}),c.jsxs(n0,{active:u,className:b,contentClassName:j,children:[c.jsx(n0,{className:xe(ho.title,O),children:n}),(m||!r)&&g]})]}),r&&w]})}),IT="_button_1clvl_2",MT="_md_1clvl_29",OT="_sm_1clvl_34",TT="_primary_1clvl_42",LT="_ghost_1clvl_51",NT="_outline_1clvl_56",PT="_toolbar_1clvl_65",zT="_icon_1clvl_91",Fa={button:IT,md:MT,sm:OT,primary:TT,ghost:LT,outline:NT,toolbar:PT,icon:zT},r0=S.forwardRef(function({variant:t="ghost",size:n="md",icon:r,className:s,children:l,...u},d){return c.jsxs("button",{ref:d,type:"button",className:xe(Fa.button,Fa[t],Fa[n],s),...u,children:[r!=null&&c.jsx("span",{className:Fa.icon,children:r}),l]})}),AT="_pill_1bqmh_1",RT="_interactive_1bqmh_16",DT="_active_1bqmh_24",Ms={pill:AT,interactive:RT,active:DT};function s2({active:e=!1,className:t,children:n,onClick:r,...s}){return r?c.jsx("button",{type:"button",className:xe(Ms.pill,Ms.interactive,e&&Ms.active,t),onClick:r,...s,children:n}):c.jsx("span",{className:xe(Ms.pill,e&&Ms.active,t),children:n})}const FT="_row_vgkh2_3",$T="_rowText_vgkh2_12",HT="_title_vgkh2_20",VT="_description_vgkh2_27",BT="_choices_vgkh2_34",ZT="_choice_vgkh2_34",WT={row:FT,rowText:$T,title:HT,description:VT,choices:BT,choice:ZT},UT="_tabs_19aqj_1",qT="_indicator_19aqj_9",GT="_tab_19aqj_1",gd={tabs:UT,indicator:qT,tab:GT};function KT({items:e,value:t,onChange:n,label:r,className:s}){const l=e.findIndex(d=>d.value===t),u=(d,p)=>{let m;switch(d.key){case"ArrowLeft":m=(p+e.length-1)%e.length;break;case"ArrowRight":m=(p+1)%e.length;break;case"Home":m=0;break;case"End":m=e.length-1;break;default:return}d.preventDefault(),d.stopPropagation();const g=d.currentTarget.parentElement,w=e[m];g===null||w===void 0||(g.querySelectorAll('[role="tab"]').item(m).focus(),n(w.value))};return c.jsxs("div",{role:"tablist","aria-label":r,className:xe(gd.tabs,s),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[c.jsx("span",{className:gd.indicator,"aria-hidden":"true",style:{width:`calc((100% - 8px) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((d,p)=>c.jsx(s2,{id:d.id,role:"tab",className:gd.tab,"aria-selected":t===d.value,"aria-controls":d.panelId,tabIndex:t===d.value?0:-1,onClick:()=>{n(d.value)},onKeyDown:m=>{u(m,p)},children:d.label},d.value))]})}const YT="_tag_usm2l_4",JT={tag:YT};function a2({tone:e="outline",className:t,children:n}){return c.jsx("span",{className:xe(JT.tag,t),"data-tone":e,children:n})}function XT(e){const t=e.replace(/[/\\]+$/,"");if(t==="")return{directory:"",name:e};const n=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1;return{directory:t.slice(0,n),name:t.slice(n)}}const QT="_path_1kiio_3",eL="_text_1kiio_17",tL="_directory_1kiio_22",nL="_name_1kiio_26",$a={path:QT,text:eL,directory:tL,name:nL};function rL({path:e,className:t,...n}){const r=S.useRef(null),s=S.useRef(null),{directory:l,name:u}=XT(e);return S.useLayoutEffect(()=>{const d=r.current,p=s.current,m=()=>{d.toggleAttribute("data-path-clipped",p.offsetWidth>d.clientWidth)};m();const g=typeof ResizeObserver>"u"?void 0:new ResizeObserver(m);return g?.observe(d),g?.observe(p),()=>{g?.disconnect()}},[e]),c.jsx("span",{...n,ref:r,className:xe($a.path,t),title:e,"data-path-label":!0,children:c.jsxs("span",{ref:s,className:$a.text,children:[l!==""&&c.jsx("span",{className:$a.directory,children:l}),c.jsx("span",{className:$a.name,children:u})]})})}const oL="_thumb_1jvir_37",U5={switch:"_switch_1jvir_5",thumb:oL};function iL({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":n,title:s,disabled:r,className:xe(U5.switch,l),onClick:()=>{t(!e)},children:c.jsx("span",{className:U5.thumb})})}const sL="_control_1oziv_11",aL="_indicator_1oziv_22",lL="_tab_1oziv_37",vd={control:sL,indicator:aL,tab:lL};function cL(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function uL(e,t,n){const r=e.filter(u=>u.disabled!==!0);if(n==="Home")return r[0];if(n==="End")return r[r.length-1];const s=n==="ArrowRight"||n==="ArrowDown"?1:-1,l=e.length;for(let u=1;u<l;u+=1){const d=e[((t+s*u)%l+l)%l];if(d!==void 0&&d.disabled!==!0)return d}}function dL({id:e,value:t,options:n,onChange:r,label:s,disabled:l=!1,className:u}){const d=S.useRef(null),p=n.findIndex(w=>w.value===t);S.useEffect(()=>{const w=d.current;w!==null&&w.contains(document.activeElement)&&w.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const m=w=>{if(!cL(w.key))return;w.preventDefault();const x=uL(n,p,w.key);x!==void 0&&x.value!==t&&r(x.value)},g={"--dsh-segment-count":String(n.length),"--dsh-segment-index":String(p)};return c.jsxs("div",{ref:d,role:"tablist","aria-label":s,className:xe(vd.control,u),style:g,children:[c.jsx("span",{"aria-hidden":"true",className:vd.indicator}),n.map(w=>{const x=w.value===t;return c.jsx("button",{id:`${e}-${w.value}`,type:"button",role:"tab","aria-selected":x,"aria-controls":`${e}-${w.value}-panel`,tabIndex:x?0:-1,disabled:l||w.disabled===!0,title:w.title,className:vd.tab,onClick:()=>{x||r(w.value)},onKeyDown:m,children:w.label},w.value)})]})}const fL="_checkbox_oegbd_1",hL={checkbox:fL};function pL({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsxs("label",{className:xe(hL.checkbox,l),title:s,children:[c.jsx("input",{type:"checkbox",checked:e,disabled:r,onChange:u=>{t(u.target.checked)}}),c.jsx("span",{children:n})]})}const mL="_wrap_gyn8v_1",gL="_icon_gyn8v_16",vL="_input_gyn8v_25",wd={wrap:mL,icon:gL,input:vL},wL=S.forwardRef(function({icon:t,className:n,...r},s){return c.jsxs("span",{className:xe(wd.wrap,n),children:[t!=null&&c.jsx("span",{className:wd.icon,children:t}),c.jsx("input",{ref:s,className:wd.input,...r})]})}),xL="_editor_61ozo_1",yL={editor:xL};function _L({value:e,label:t,onChange:n,onSave:r,onCancel:s,className:l}){const u=S.useRef(null);S.useLayoutEffect(()=>{const p=u.current,m=()=>{p.style.height="auto",p.style.height=`${p.scrollHeight+p.offsetHeight-p.clientHeight}px`};m();const g=new ResizeObserver(m);return g.observe(p),()=>{g.disconnect()}},[e]);const d=p=>{if(p.key==="Escape"){s();return}const m=p.nativeEvent.isComposing||Reflect.get(p.nativeEvent,"keyCode")===229;p.key!=="Enter"||p.shiftKey||m||(p.preventDefault(),r())};return c.jsx("textarea",{ref:u,autoFocus:!0,rows:1,className:xe(yL.editor,l),"aria-label":t,value:e,onChange:p=>{n(p.currentTarget.value)},onKeyDown:d})}function Ii(e){const t=document.documentElement,n=Number.parseFloat(getComputedStyle(t).getPropertyValue("--dsh-frame-top-clearance"));return Number.isNaN(n)?e:Math.max(e,(t.hasAttribute("data-fullscreen")?0:n)+20)}const bL=200;function Up(e){const t=S.useRef(null),n=S.useRef(e);n.current=e;const r=S.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),s=S.useCallback(()=>{r(),t.current=setTimeout(()=>{t.current=null,n.current()},bL)},[r]);return S.useEffect(()=>r,[r]),{arm:s,cancel:r}}function Kl(e){let t=!1,n=!1;const r=()=>{t=!0},s=()=>{t=!1,n=!0},l=()=>{n=!1},u=()=>{t=!1,n=!1};return e.addEventListener("compositionstart",r,!0),e.addEventListener("compositionend",s,!0),e.addEventListener("keyup",l,!0),e.defaultView?.addEventListener("blur",u),{guards:d=>{const p=t||n||d.isComposing||d.keyCode===229;return n=!1,p},dispose:()=>{e.removeEventListener("compositionstart",r,!0),e.removeEventListener("compositionend",s,!0),e.removeEventListener("keyup",l,!0),e.defaultView?.removeEventListener("blur",u)}}}/*!
|
|
123
|
+
`+v.stack}return{value:o,source:i,stack:h,digest:null}}function vu(o,i,a){return{value:o,source:null,stack:a??null,digest:i??null}}function wu(o,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var Iv=typeof WeakMap=="function"?WeakMap:Map;function M4(o,i,a){a=lr(-1,a),a.tag=3,a.payload={element:null};var f=i.value;return a.callback=function(){pa||(pa=!0,Pu=f),wu(o,i)},a}function O4(o,i,a){a=lr(-1,a),a.tag=3;var f=o.type.getDerivedStateFromError;if(typeof f=="function"){var h=i.value;a.payload=function(){return f(h)},a.callback=function(){wu(o,i)}}var v=o.stateNode;return v!==null&&typeof v.componentDidCatch=="function"&&(a.callback=function(){wu(o,i),typeof f!="function"&&(Rr===null?Rr=new Set([this]):Rr.add(this));var b=i.stack;this.componentDidCatch(i.value,{componentStack:b!==null?b:""})}),a}function T4(o,i,a){var f=o.pingCache;if(f===null){f=o.pingCache=new Iv;var h=new Set;f.set(i,h)}else h=f.get(i),h===void 0&&(h=new Set,f.set(i,h));h.has(a)||(h.add(a),o=Vv.bind(null,o,i,a),i.then(o,o))}function L4(o){do{var i;if((i=o.tag===13)&&(i=o.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return o;o=o.return}while(o!==null);return null}function P4(o,i,a,f,h){return(o.mode&1)===0?(o===i?o.flags|=65536:(o.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=lr(-1,1),i.tag=2,zr(a,i,1))),a.lanes|=1),o):(o.flags|=65536,o.lanes=h,o)}var Mv=z.ReactCurrentOwner,Xt=!1;function Ut(o,i,a,f){i.child=o===null?Q3(i,null,a,f):Xo(i,o.child,a,f)}function N4(o,i,a,f,h){a=a.render;var v=i.ref;return ei(i,h),f=cu(o,i,a,f,v,h),a=uu(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,cr(o,i,h)):(lt&&a&&Uc(i),i.flags|=1,Ut(o,i,f,h),i.child)}function z4(o,i,a,f,h){if(o===null){var v=a.type;return typeof v=="function"&&!$u(v)&&v.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=v,A4(o,i,v,f,h)):(o=ya(a.type,null,f,i,i.mode,h),o.ref=i.ref,o.return=i,i.child=o)}if(v=o.child,(o.lanes&h)===0){var b=v.memoizedProps;if(a=a.compare,a=a!==null?a:as,a(b,f)&&o.ref===i.ref)return cr(o,i,h)}return i.flags|=1,o=Hr(v,f),o.ref=i.ref,o.return=i,i.child=o}function A4(o,i,a,f,h){if(o!==null){var v=o.memoizedProps;if(as(v,f)&&o.ref===i.ref)if(Xt=!1,i.pendingProps=f=v,(o.lanes&h)!==0)(o.flags&131072)!==0&&(Xt=!0);else return i.lanes=o.lanes,cr(o,i,h)}return xu(o,i,a,f,h)}function R4(o,i,a){var f=i.pendingProps,h=f.children,v=o!==null?o.memoizedState:null;if(f.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},rt(oi,fn),fn|=a;else{if((a&1073741824)===0)return o=v!==null?v.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:o,cachePool:null,transitions:null},i.updateQueue=null,rt(oi,fn),fn|=o,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=v!==null?v.baseLanes:a,rt(oi,fn),fn|=f}else v!==null?(f=v.baseLanes|a,i.memoizedState=null):f=a,rt(oi,fn),fn|=f;return Ut(o,i,h,a),i.child}function D4(o,i){var a=i.ref;(o===null&&a!==null||o!==null&&o.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function xu(o,i,a,f,h){var v=Jt(a)?to:Ft.current;return v=Go(i,v),ei(i,h),a=cu(o,i,a,f,v,h),f=uu(),o!==null&&!Xt?(i.updateQueue=o.updateQueue,i.flags&=-2053,o.lanes&=~h,cr(o,i,h)):(lt&&f&&Uc(i),i.flags|=1,Ut(o,i,a,h),i.child)}function F4(o,i,a,f,h){if(Jt(a)){var v=!0;W1(i)}else v=!1;if(ei(i,h),i.stateNode===null)ca(o,i),j4(i,a,f),gu(i,a,f,h),f=!0;else if(o===null){var b=i.stateNode,j=i.memoizedProps;b.props=j;var T=b.context,W=a.contextType;typeof W=="object"&&W!==null?W=_n(W):(W=Jt(a)?to:Ft.current,W=Go(i,W));var ie=a.getDerivedStateFromProps,le=typeof ie=="function"||typeof b.getSnapshotBeforeUpdate=="function";le||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(j!==f||T!==W)&&I4(i,b,f,W),Nr=!1;var oe=i.memoizedState;b.state=oe,ea(i,f,b,h),T=i.memoizedState,j!==f||oe!==T||Yt.current||Nr?(typeof ie=="function"&&(mu(i,a,ie,f),T=i.memoizedState),(j=Nr||E4(i,a,j,f,oe,T,W))?(le||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(i.flags|=4194308)):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=T),b.props=f,b.state=T,b.context=W,f=j):(typeof b.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{b=i.stateNode,t4(o,i),j=i.memoizedProps,W=i.type===i.elementType?j:Ln(i.type,j),b.props=W,le=i.pendingProps,oe=b.context,T=a.contextType,typeof T=="object"&&T!==null?T=_n(T):(T=Jt(a)?to:Ft.current,T=Go(i,T));var ge=a.getDerivedStateFromProps;(ie=typeof ge=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(j!==le||oe!==T)&&I4(i,b,f,T),Nr=!1,oe=i.memoizedState,b.state=oe,ea(i,f,b,h);var be=i.memoizedState;j!==le||oe!==be||Yt.current||Nr?(typeof ge=="function"&&(mu(i,a,ge,f),be=i.memoizedState),(W=Nr||E4(i,a,W,f,oe,be,T)||!1)?(ie||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(f,be,T),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(f,be,T)),typeof b.componentDidUpdate=="function"&&(i.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof b.componentDidUpdate!="function"||j===o.memoizedProps&&oe===o.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||j===o.memoizedProps&&oe===o.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=be),b.props=f,b.state=be,b.context=T,f=W):(typeof b.componentDidUpdate!="function"||j===o.memoizedProps&&oe===o.memoizedState||(i.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||j===o.memoizedProps&&oe===o.memoizedState||(i.flags|=1024),f=!1)}return yu(o,i,a,f,v,h)}function yu(o,i,a,f,h,v){D4(o,i);var b=(i.flags&128)!==0;if(!f&&!b)return h&&Z3(i,a,!1),cr(o,i,v);f=i.stateNode,Mv.current=i;var j=b&&typeof a.getDerivedStateFromError!="function"?null:f.render();return i.flags|=1,o!==null&&b?(i.child=Xo(i,o.child,null,v),i.child=Xo(i,null,j,v)):Ut(o,i,j,v),i.memoizedState=f.state,h&&Z3(i,a,!0),i.child}function $4(o){var i=o.stateNode;i.pendingContext?V3(o,i.pendingContext,i.pendingContext!==i.context):i.context&&V3(o,i.context,!1),ru(o,i.containerInfo)}function H4(o,i,a,f,h){return Jo(),Yc(h),i.flags|=256,Ut(o,i,a,f),i.child}var _u={dehydrated:null,treeContext:null,retryLane:0};function bu(o){return{baseLanes:o,cachePool:null,transitions:null}}function V4(o,i,a){var f=i.pendingProps,h=ft.current,v=!1,b=(i.flags&128)!==0,j;if((j=b)||(j=o!==null&&o.memoizedState===null?!1:(h&2)!==0),j?(v=!0,i.flags&=-129):(o===null||o.memoizedState!==null)&&(h|=1),rt(ft,h&1),o===null)return Kc(i),o=i.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((i.mode&1)===0?i.lanes=1:o.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(b=f.children,o=f.fallback,v?(f=i.mode,v=i.child,b={mode:"hidden",children:b},(f&1)===0&&v!==null?(v.childLanes=0,v.pendingProps=b):v=_a(b,f,0,null),o=fo(o,f,a,null),v.return=i,o.return=i,v.sibling=o,i.child=v,i.child.memoizedState=bu(a),i.memoizedState=_u,o):Cu(i,b));if(h=o.memoizedState,h!==null&&(j=h.dehydrated,j!==null))return Ov(o,i,b,f,j,h,a);if(v){v=f.fallback,b=i.mode,h=o.child,j=h.sibling;var T={mode:"hidden",children:f.children};return(b&1)===0&&i.child!==h?(f=i.child,f.childLanes=0,f.pendingProps=T,i.deletions=null):(f=Hr(h,T),f.subtreeFlags=h.subtreeFlags&14680064),j!==null?v=Hr(j,v):(v=fo(v,b,a,null),v.flags|=2),v.return=i,f.return=i,f.sibling=v,i.child=f,f=v,v=i.child,b=o.child.memoizedState,b=b===null?bu(a):{baseLanes:b.baseLanes|a,cachePool:null,transitions:b.transitions},v.memoizedState=b,v.childLanes=o.childLanes&~a,i.memoizedState=_u,f}return v=o.child,o=v.sibling,f=Hr(v,{mode:"visible",children:f.children}),(i.mode&1)===0&&(f.lanes=a),f.return=i,f.sibling=null,o!==null&&(a=i.deletions,a===null?(i.deletions=[o],i.flags|=16):a.push(o)),i.child=f,i.memoizedState=null,f}function Cu(o,i){return i=_a({mode:"visible",children:i},o.mode,0,null),i.return=o,o.child=i}function la(o,i,a,f){return f!==null&&Yc(f),Xo(i,o.child,null,a),o=Cu(i,i.pendingProps.children),o.flags|=2,i.memoizedState=null,o}function Ov(o,i,a,f,h,v,b){if(a)return i.flags&256?(i.flags&=-257,f=vu(Error(n(422))),la(o,i,b,f)):i.memoizedState!==null?(i.child=o.child,i.flags|=128,null):(v=f.fallback,h=i.mode,f=_a({mode:"visible",children:f.children},h,0,null),v=fo(v,h,b,null),v.flags|=2,f.return=i,v.return=i,f.sibling=v,i.child=f,(i.mode&1)!==0&&Xo(i,o.child,null,b),i.child.memoizedState=bu(b),i.memoizedState=_u,v);if((i.mode&1)===0)return la(o,i,b,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var j=f.dgst;return f=j,v=Error(n(419)),f=vu(v,f,void 0),la(o,i,b,f)}if(j=(b&o.childLanes)!==0,Xt||j){if(f=It,f!==null){switch(b&-b){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(f.suspendedLanes|b))!==0?0:h,h!==0&&h!==v.retryLane&&(v.retryLane=h,ar(o,h),zn(f,o,h,-1))}return Fu(),f=vu(Error(n(421))),la(o,i,b,f)}return h.data==="$?"?(i.flags|=128,i.child=o.child,i=Bv.bind(null,o),h._reactRetry=i,null):(o=v.treeContext,dn=Or(h.nextSibling),un=i,lt=!0,Tn=null,o!==null&&(xn[yn++]=ir,xn[yn++]=sr,xn[yn++]=no,ir=o.id,sr=o.overflow,no=i),i=Cu(i,f.children),i.flags|=4096,i)}function B4(o,i,a){o.lanes|=i;var f=o.alternate;f!==null&&(f.lanes|=i),eu(o.return,i,a)}function ku(o,i,a,f,h){var v=o.memoizedState;v===null?o.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:a,tailMode:h}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=f,v.tail=a,v.tailMode=h)}function Z4(o,i,a){var f=i.pendingProps,h=f.revealOrder,v=f.tail;if(Ut(o,i,f.children,a),f=ft.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=i.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&B4(o,a,i);else if(o.tag===19)B4(o,a,i);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===i)break e;for(;o.sibling===null;){if(o.return===null||o.return===i)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}f&=1}if(rt(ft,f),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(a=i.child,h=null;a!==null;)o=a.alternate,o!==null&&ta(o)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),ku(i,!1,h,a,v);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(o=h.alternate,o!==null&&ta(o)===null){i.child=h;break}o=h.sibling,h.sibling=a,a=h,h=o}ku(i,!0,a,null,v);break;case"together":ku(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function ca(o,i){(i.mode&1)===0&&o!==null&&(o.alternate=null,i.alternate=null,i.flags|=2)}function cr(o,i,a){if(o!==null&&(i.dependencies=o.dependencies),ao|=i.lanes,(a&i.childLanes)===0)return null;if(o!==null&&i.child!==o.child)throw Error(n(153));if(i.child!==null){for(o=i.child,a=Hr(o,o.pendingProps),i.child=a,a.return=i;o.sibling!==null;)o=o.sibling,a=a.sibling=Hr(o,o.pendingProps),a.return=i;a.sibling=null}return i.child}function Tv(o,i,a){switch(i.tag){case 3:$4(i),Jo();break;case 5:o4(i);break;case 1:Jt(i.type)&&W1(i);break;case 4:ru(i,i.stateNode.containerInfo);break;case 10:var f=i.type._context,h=i.memoizedProps.value;rt(J1,f._currentValue),f._currentValue=h;break;case 13:if(f=i.memoizedState,f!==null)return f.dehydrated!==null?(rt(ft,ft.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?V4(o,i,a):(rt(ft,ft.current&1),o=cr(o,i,a),o!==null?o.sibling:null);rt(ft,ft.current&1);break;case 19:if(f=(a&i.childLanes)!==0,(o.flags&128)!==0){if(f)return Z4(o,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),rt(ft,ft.current),f)break;return null;case 22:case 23:return i.lanes=0,R4(o,i,a)}return cr(o,i,a)}var W4,Su,U4,q4;W4=function(o,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return;a=a.return}a.sibling.return=a.return,a=a.sibling}},Su=function(){},U4=function(o,i,a,f){var h=o.memoizedProps;if(h!==f){o=i.stateNode,io(qn.current);var v=null;switch(a){case"input":h=Qe(o,h),f=Qe(o,f),v=[];break;case"select":h=te({},h,{value:void 0}),f=te({},f,{value:void 0}),v=[];break;case"textarea":h=Zn(o,h),f=Zn(o,f),v=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(o.onclick=V1)}ic(a,f);var b;a=null;for(W in h)if(!f.hasOwnProperty(W)&&h.hasOwnProperty(W)&&h[W]!=null)if(W==="style"){var j=h[W];for(b in j)j.hasOwnProperty(b)&&(a||(a={}),a[b]="")}else W!=="dangerouslySetInnerHTML"&&W!=="children"&&W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&W!=="autoFocus"&&(s.hasOwnProperty(W)?v||(v=[]):(v=v||[]).push(W,null));for(W in f){var T=f[W];if(j=h?.[W],f.hasOwnProperty(W)&&T!==j&&(T!=null||j!=null))if(W==="style")if(j){for(b in j)!j.hasOwnProperty(b)||T&&T.hasOwnProperty(b)||(a||(a={}),a[b]="");for(b in T)T.hasOwnProperty(b)&&j[b]!==T[b]&&(a||(a={}),a[b]=T[b])}else a||(v||(v=[]),v.push(W,a)),a=T;else W==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,j=j?j.__html:void 0,T!=null&&j!==T&&(v=v||[]).push(W,T)):W==="children"?typeof T!="string"&&typeof T!="number"||(v=v||[]).push(W,""+T):W!=="suppressContentEditableWarning"&&W!=="suppressHydrationWarning"&&(s.hasOwnProperty(W)?(T!=null&&W==="onScroll"&&st("scroll",o),v||j===T||(v=[])):(v=v||[]).push(W,T))}a&&(v=v||[]).push("style",a);var W=v;(i.updateQueue=W)&&(i.flags|=4)}},q4=function(o,i,a,f){a!==f&&(i.flags|=4)};function bs(o,i){if(!lt)switch(o.tailMode){case"hidden":i=o.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?o.tail=null:a.sibling=null;break;case"collapsed":a=o.tail;for(var f=null;a!==null;)a.alternate!==null&&(f=a),a=a.sibling;f===null?i||o.tail===null?o.tail=null:o.tail.sibling=null:f.sibling=null}}function Ht(o){var i=o.alternate!==null&&o.alternate.child===o.child,a=0,f=0;if(i)for(var h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=o,h=h.sibling;else for(h=o.child;h!==null;)a|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=o,h=h.sibling;return o.subtreeFlags|=f,o.childLanes=a,i}function Lv(o,i,a){var f=i.pendingProps;switch(qc(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(i),null;case 1:return Jt(i.type)&&Z1(),Ht(i),null;case 3:return f=i.stateNode,ti(),at(Yt),at(Ft),su(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(o===null||o.child===null)&&(K1(i)?i.flags|=4:o===null||o.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Tn!==null&&(Au(Tn),Tn=null))),Su(o,i),Ht(i),null;case 5:ou(i);var h=io(vs.current);if(a=i.type,o!==null&&i.stateNode!=null)U4(o,i,a,f,h),o.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!f){if(i.stateNode===null)throw Error(n(166));return Ht(i),null}if(o=io(qn.current),K1(i)){f=i.stateNode,a=i.type;var v=i.memoizedProps;switch(f[Un]=i,f[fs]=v,o=(i.mode&1)!==0,a){case"dialog":st("cancel",f),st("close",f);break;case"iframe":case"object":case"embed":st("load",f);break;case"video":case"audio":for(h=0;h<cs.length;h++)st(cs[h],f);break;case"source":st("error",f);break;case"img":case"image":case"link":st("error",f),st("load",f);break;case"details":st("toggle",f);break;case"input":an(f,v),st("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!v.multiple},st("invalid",f);break;case"textarea":$i(f,v),st("invalid",f)}ic(a,v),h=null;for(var b in v)if(v.hasOwnProperty(b)){var j=v[b];b==="children"?typeof j=="string"?f.textContent!==j&&(v.suppressHydrationWarning!==!0&&H1(f.textContent,j,o),h=["children",j]):typeof j=="number"&&f.textContent!==""+j&&(v.suppressHydrationWarning!==!0&&H1(f.textContent,j,o),h=["children",""+j]):s.hasOwnProperty(b)&&j!=null&&b==="onScroll"&&st("scroll",f)}switch(a){case"input":De(f),nr(f,v,!0);break;case"textarea":De(f),Vi(f);break;case"select":case"option":break;default:typeof v.onClick=="function"&&(f.onclick=V1)}f=h,i.updateQueue=f,f!==null&&(i.flags|=4)}else{b=h.nodeType===9?h:h.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=Bi(a)),o==="http://www.w3.org/1999/xhtml"?a==="script"?(o=b.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof f.is=="string"?o=b.createElement(a,{is:f.is}):(o=b.createElement(a),a==="select"&&(b=o,f.multiple?b.multiple=!0:f.size&&(b.size=f.size))):o=b.createElementNS(o,a),o[Un]=i,o[fs]=f,W4(o,i,!1,!1),i.stateNode=o;e:{switch(b=sc(a,f),a){case"dialog":st("cancel",o),st("close",o),h=f;break;case"iframe":case"object":case"embed":st("load",o),h=f;break;case"video":case"audio":for(h=0;h<cs.length;h++)st(cs[h],o);h=f;break;case"source":st("error",o),h=f;break;case"img":case"image":case"link":st("error",o),st("load",o),h=f;break;case"details":st("toggle",o),h=f;break;case"input":an(o,f),h=Qe(o,f),st("invalid",o);break;case"option":h=f;break;case"select":o._wrapperState={wasMultiple:!!f.multiple},h=te({},f,{value:void 0}),st("invalid",o);break;case"textarea":$i(o,f),h=Zn(o,f),st("invalid",o);break;default:h=f}ic(a,h),j=h;for(v in j)if(j.hasOwnProperty(v)){var T=j[v];v==="style"?A2(o,T):v==="dangerouslySetInnerHTML"?(T=T?T.__html:void 0,T!=null&&N2(o,T)):v==="children"?typeof T=="string"?(a!=="textarea"||T!=="")&&Zi(o,T):typeof T=="number"&&Zi(o,""+T):v!=="suppressContentEditableWarning"&&v!=="suppressHydrationWarning"&&v!=="autoFocus"&&(s.hasOwnProperty(v)?T!=null&&v==="onScroll"&&st("scroll",o):T!=null&&B(o,v,T,b))}switch(a){case"input":De(o),nr(o,f,!1);break;case"textarea":De(o),Vi(o);break;case"option":f.value!=null&&o.setAttribute("value",""+Fe(f.value));break;case"select":o.multiple=!!f.multiple,v=f.value,v!=null?gt(o,!!f.multiple,v,!1):f.defaultValue!=null&>(o,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(o.onclick=V1)}switch(a){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return Ht(i),null;case 6:if(o&&i.stateNode!=null)q4(o,i,o.memoizedProps,f);else{if(typeof f!="string"&&i.stateNode===null)throw Error(n(166));if(a=io(vs.current),io(qn.current),K1(i)){if(f=i.stateNode,a=i.memoizedProps,f[Un]=i,(v=f.nodeValue!==a)&&(o=un,o!==null))switch(o.tag){case 3:H1(f.nodeValue,a,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&H1(f.nodeValue,a,(o.mode&1)!==0)}v&&(i.flags|=4)}else f=(a.nodeType===9?a:a.ownerDocument).createTextNode(f),f[Un]=i,i.stateNode=f}return Ht(i),null;case 13:if(at(ft),f=i.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(lt&&dn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)Y3(),Jo(),i.flags|=98560,v=!1;else if(v=K1(i),f!==null&&f.dehydrated!==null){if(o===null){if(!v)throw Error(n(318));if(v=i.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(n(317));v[Un]=i}else Jo(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Ht(i),v=!1}else Tn!==null&&(Au(Tn),Tn=null),v=!0;if(!v)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(f=f!==null,f!==(o!==null&&o.memoizedState!==null)&&f&&(i.child.flags|=8192,(i.mode&1)!==0&&(o===null||(ft.current&1)!==0?kt===0&&(kt=3):Fu())),i.updateQueue!==null&&(i.flags|=4),Ht(i),null);case 4:return ti(),Su(o,i),o===null&&us(i.stateNode.containerInfo),Ht(i),null;case 10:return Qc(i.type._context),Ht(i),null;case 17:return Jt(i.type)&&Z1(),Ht(i),null;case 19:if(at(ft),v=i.memoizedState,v===null)return Ht(i),null;if(f=(i.flags&128)!==0,b=v.rendering,b===null)if(f)bs(v,!1);else{if(kt!==0||o!==null&&(o.flags&128)!==0)for(o=i.child;o!==null;){if(b=ta(o),b!==null){for(i.flags|=128,bs(v,!1),f=b.updateQueue,f!==null&&(i.updateQueue=f,i.flags|=4),i.subtreeFlags=0,f=a,a=i.child;a!==null;)v=a,o=f,v.flags&=14680066,b=v.alternate,b===null?(v.childLanes=0,v.lanes=o,v.child=null,v.subtreeFlags=0,v.memoizedProps=null,v.memoizedState=null,v.updateQueue=null,v.dependencies=null,v.stateNode=null):(v.childLanes=b.childLanes,v.lanes=b.lanes,v.child=b.child,v.subtreeFlags=0,v.deletions=null,v.memoizedProps=b.memoizedProps,v.memoizedState=b.memoizedState,v.updateQueue=b.updateQueue,v.type=b.type,o=b.dependencies,v.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),a=a.sibling;return rt(ft,ft.current&1|2),i.child}o=o.sibling}v.tail!==null&&xt()>ii&&(i.flags|=128,f=!0,bs(v,!1),i.lanes=4194304)}else{if(!f)if(o=ta(b),o!==null){if(i.flags|=128,f=!0,a=o.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),bs(v,!0),v.tail===null&&v.tailMode==="hidden"&&!b.alternate&&!lt)return Ht(i),null}else 2*xt()-v.renderingStartTime>ii&&a!==1073741824&&(i.flags|=128,f=!0,bs(v,!1),i.lanes=4194304);v.isBackwards?(b.sibling=i.child,i.child=b):(a=v.last,a!==null?a.sibling=b:i.child=b,v.last=b)}return v.tail!==null?(i=v.tail,v.rendering=i,v.tail=i.sibling,v.renderingStartTime=xt(),i.sibling=null,a=ft.current,rt(ft,f?a&1|2:a&1),i):(Ht(i),null);case 22:case 23:return Du(),f=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==f&&(i.flags|=8192),f&&(i.mode&1)!==0?(fn&1073741824)!==0&&(Ht(i),i.subtreeFlags&6&&(i.flags|=8192)):Ht(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function Pv(o,i){switch(qc(i),i.tag){case 1:return Jt(i.type)&&Z1(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return ti(),at(Yt),at(Ft),su(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return ou(i),null;case 13:if(at(ft),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Jo()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return at(ft),null;case 4:return ti(),null;case 10:return Qc(i.type._context),null;case 22:case 23:return Du(),null;case 24:return null;default:return null}}var ua=!1,Vt=!1,Nv=typeof WeakSet=="function"?WeakSet:Set,ye=null;function ri(o,i){var a=o.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(f){vt(o,i,f)}else a.current=null}function Eu(o,i,a){try{a()}catch(f){vt(o,i,f)}}var G4=!1;function zv(o,i){if(Dc=O1,o=E3(),Oc(o)){if("selectionStart"in o)var a={start:o.selectionStart,end:o.selectionEnd};else e:{a=(a=o.ownerDocument)&&a.defaultView||window;var f=a.getSelection&&a.getSelection();if(f&&f.rangeCount!==0){a=f.anchorNode;var h=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{a.nodeType,v.nodeType}catch{a=null;break e}var b=0,j=-1,T=-1,W=0,ie=0,le=o,oe=null;t:for(;;){for(var ge;le!==a||h!==0&&le.nodeType!==3||(j=b+h),le!==v||f!==0&&le.nodeType!==3||(T=b+f),le.nodeType===3&&(b+=le.nodeValue.length),(ge=le.firstChild)!==null;)oe=le,le=ge;for(;;){if(le===o)break t;if(oe===a&&++W===h&&(j=b),oe===v&&++ie===f&&(T=b),(ge=le.nextSibling)!==null)break;le=oe,oe=le.parentNode}le=ge}a=j===-1||T===-1?null:{start:j,end:T}}else a=null}a=a||{start:0,end:0}}else a=null;for(Fc={focusedElem:o,selectionRange:a},O1=!1,ye=i;ye!==null;)if(i=ye,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,ye=o;else for(;ye!==null;){i=ye;try{var be=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(be!==null){var Ce=be.memoizedProps,yt=be.memoizedState,A=i.stateNode,P=A.getSnapshotBeforeUpdate(i.elementType===i.type?Ce:Ln(i.type,Ce),yt);A.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var $=i.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ue){vt(i,i.return,ue)}if(o=i.sibling,o!==null){o.return=i.return,ye=o;break}ye=i.return}return be=G4,G4=!1,be}function Cs(o,i,a){var f=i.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&o)===o){var v=h.destroy;h.destroy=void 0,v!==void 0&&Eu(i,a,v)}h=h.next}while(h!==f)}}function da(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&o)===o){var f=a.create;a.destroy=f()}a=a.next}while(a!==i)}}function ju(o){var i=o.ref;if(i!==null){var a=o.stateNode;switch(o.tag){case 5:o=a;break;default:o=a}typeof i=="function"?i(o):i.current=o}}function K4(o){var i=o.alternate;i!==null&&(o.alternate=null,K4(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Un],delete i[fs],delete i[Bc],delete i[vv],delete i[wv])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Y4(o){return o.tag===5||o.tag===3||o.tag===4}function J4(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Y4(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Iu(o,i,a){var f=o.tag;if(f===5||f===6)o=o.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(o,i):a.insertBefore(o,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(o,a)):(i=a,i.appendChild(o)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=V1));else if(f!==4&&(o=o.child,o!==null))for(Iu(o,i,a),o=o.sibling;o!==null;)Iu(o,i,a),o=o.sibling}function Mu(o,i,a){var f=o.tag;if(f===5||f===6)o=o.stateNode,i?a.insertBefore(o,i):a.appendChild(o);else if(f!==4&&(o=o.child,o!==null))for(Mu(o,i,a),o=o.sibling;o!==null;)Mu(o,i,a),o=o.sibling}var Nt=null,Pn=!1;function Ar(o,i,a){for(a=a.child;a!==null;)X4(o,i,a),a=a.sibling}function X4(o,i,a){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(k1,a)}catch{}switch(a.tag){case 5:Vt||ri(a,i);case 6:var f=Nt,h=Pn;Nt=null,Ar(o,i,a),Nt=f,Pn=h,Nt!==null&&(Pn?(o=Nt,a=a.stateNode,o.nodeType===8?o.parentNode.removeChild(a):o.removeChild(a)):Nt.removeChild(a.stateNode));break;case 18:Nt!==null&&(Pn?(o=Nt,a=a.stateNode,o.nodeType===8?Vc(o.parentNode,a):o.nodeType===1&&Vc(o,a),ts(o)):Vc(Nt,a.stateNode));break;case 4:f=Nt,h=Pn,Nt=a.stateNode.containerInfo,Pn=!0,Ar(o,i,a),Nt=f,Pn=h;break;case 0:case 11:case 14:case 15:if(!Vt&&(f=a.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var v=h,b=v.destroy;v=v.tag,b!==void 0&&((v&2)!==0||(v&4)!==0)&&Eu(a,i,b),h=h.next}while(h!==f)}Ar(o,i,a);break;case 1:if(!Vt&&(ri(a,i),f=a.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=a.memoizedProps,f.state=a.memoizedState,f.componentWillUnmount()}catch(j){vt(a,i,j)}Ar(o,i,a);break;case 21:Ar(o,i,a);break;case 22:a.mode&1?(Vt=(f=Vt)||a.memoizedState!==null,Ar(o,i,a),Vt=f):Ar(o,i,a);break;default:Ar(o,i,a)}}function Q4(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var a=o.stateNode;a===null&&(a=o.stateNode=new Nv),i.forEach(function(f){var h=Zv.bind(null,o,f);a.has(f)||(a.add(f),f.then(h,h))})}}function Nn(o,i){var a=i.deletions;if(a!==null)for(var f=0;f<a.length;f++){var h=a[f];try{var v=o,b=i,j=b;e:for(;j!==null;){switch(j.tag){case 5:Nt=j.stateNode,Pn=!1;break e;case 3:Nt=j.stateNode.containerInfo,Pn=!0;break e;case 4:Nt=j.stateNode.containerInfo,Pn=!0;break e}j=j.return}if(Nt===null)throw Error(n(160));X4(v,b,h),Nt=null,Pn=!1;var T=h.alternate;T!==null&&(T.return=null),h.return=null}catch(W){vt(h,i,W)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)ef(i,o),i=i.sibling}function ef(o,i){var a=o.alternate,f=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(Nn(i,o),Kn(o),f&4){try{Cs(3,o,o.return),da(3,o)}catch(Ce){vt(o,o.return,Ce)}try{Cs(5,o,o.return)}catch(Ce){vt(o,o.return,Ce)}}break;case 1:Nn(i,o),Kn(o),f&512&&a!==null&&ri(a,a.return);break;case 5:if(Nn(i,o),Kn(o),f&512&&a!==null&&ri(a,a.return),o.flags&32){var h=o.stateNode;try{Zi(h,"")}catch(Ce){vt(o,o.return,Ce)}}if(f&4&&(h=o.stateNode,h!=null)){var v=o.memoizedProps,b=a!==null?a.memoizedProps:v,j=o.type,T=o.updateQueue;if(o.updateQueue=null,T!==null)try{j==="input"&&v.type==="radio"&&v.name!=null&&Ze(h,v),sc(j,b);var W=sc(j,v);for(b=0;b<T.length;b+=2){var ie=T[b],le=T[b+1];ie==="style"?A2(h,le):ie==="dangerouslySetInnerHTML"?N2(h,le):ie==="children"?Zi(h,le):B(h,ie,le,W)}switch(j){case"input":ln(h,v);break;case"textarea":Hi(h,v);break;case"select":var oe=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!v.multiple;var ge=v.value;ge!=null?gt(h,!!v.multiple,ge,!1):oe!==!!v.multiple&&(v.defaultValue!=null?gt(h,!!v.multiple,v.defaultValue,!0):gt(h,!!v.multiple,v.multiple?[]:"",!1))}h[fs]=v}catch(Ce){vt(o,o.return,Ce)}}break;case 6:if(Nn(i,o),Kn(o),f&4){if(o.stateNode===null)throw Error(n(162));h=o.stateNode,v=o.memoizedProps;try{h.nodeValue=v}catch(Ce){vt(o,o.return,Ce)}}break;case 3:if(Nn(i,o),Kn(o),f&4&&a!==null&&a.memoizedState.isDehydrated)try{ts(i.containerInfo)}catch(Ce){vt(o,o.return,Ce)}break;case 4:Nn(i,o),Kn(o);break;case 13:Nn(i,o),Kn(o),h=o.child,h.flags&8192&&(v=h.memoizedState!==null,h.stateNode.isHidden=v,!v||h.alternate!==null&&h.alternate.memoizedState!==null||(Lu=xt())),f&4&&Q4(o);break;case 22:if(ie=a!==null&&a.memoizedState!==null,o.mode&1?(Vt=(W=Vt)||ie,Nn(i,o),Vt=W):Nn(i,o),Kn(o),f&8192){if(W=o.memoizedState!==null,(o.stateNode.isHidden=W)&&!ie&&(o.mode&1)!==0)for(ye=o,ie=o.child;ie!==null;){for(le=ye=ie;ye!==null;){switch(oe=ye,ge=oe.child,oe.tag){case 0:case 11:case 14:case 15:Cs(4,oe,oe.return);break;case 1:ri(oe,oe.return);var be=oe.stateNode;if(typeof be.componentWillUnmount=="function"){f=oe,a=oe.return;try{i=f,be.props=i.memoizedProps,be.state=i.memoizedState,be.componentWillUnmount()}catch(Ce){vt(f,a,Ce)}}break;case 5:ri(oe,oe.return);break;case 22:if(oe.memoizedState!==null){rf(le);continue}}ge!==null?(ge.return=oe,ye=ge):rf(le)}ie=ie.sibling}e:for(ie=null,le=o;;){if(le.tag===5){if(ie===null){ie=le;try{h=le.stateNode,W?(v=h.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none"):(j=le.stateNode,T=le.memoizedProps.style,b=T!=null&&T.hasOwnProperty("display")?T.display:null,j.style.display=z2("display",b))}catch(Ce){vt(o,o.return,Ce)}}}else if(le.tag===6){if(ie===null)try{le.stateNode.nodeValue=W?"":le.memoizedProps}catch(Ce){vt(o,o.return,Ce)}}else if((le.tag!==22&&le.tag!==23||le.memoizedState===null||le===o)&&le.child!==null){le.child.return=le,le=le.child;continue}if(le===o)break e;for(;le.sibling===null;){if(le.return===null||le.return===o)break e;ie===le&&(ie=null),le=le.return}ie===le&&(ie=null),le.sibling.return=le.return,le=le.sibling}}break;case 19:Nn(i,o),Kn(o),f&4&&Q4(o);break;case 21:break;default:Nn(i,o),Kn(o)}}function Kn(o){var i=o.flags;if(i&2){try{e:{for(var a=o.return;a!==null;){if(Y4(a)){var f=a;break e}a=a.return}throw Error(n(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(Zi(h,""),f.flags&=-33);var v=J4(o);Mu(o,v,h);break;case 3:case 4:var b=f.stateNode.containerInfo,j=J4(o);Iu(o,j,b);break;default:throw Error(n(161))}}catch(T){vt(o,o.return,T)}o.flags&=-3}i&4096&&(o.flags&=-4097)}function Av(o,i,a){ye=o,tf(o)}function tf(o,i,a){for(var f=(o.mode&1)!==0;ye!==null;){var h=ye,v=h.child;if(h.tag===22&&f){var b=h.memoizedState!==null||ua;if(!b){var j=h.alternate,T=j!==null&&j.memoizedState!==null||Vt;j=ua;var W=Vt;if(ua=b,(Vt=T)&&!W)for(ye=h;ye!==null;)b=ye,T=b.child,b.tag===22&&b.memoizedState!==null?of(h):T!==null?(T.return=b,ye=T):of(h);for(;v!==null;)ye=v,tf(v),v=v.sibling;ye=h,ua=j,Vt=W}nf(o)}else(h.subtreeFlags&8772)!==0&&v!==null?(v.return=h,ye=v):nf(o)}}function nf(o){for(;ye!==null;){var i=ye;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Vt||da(5,i);break;case 1:var f=i.stateNode;if(i.flags&4&&!Vt)if(a===null)f.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:Ln(i.type,a.memoizedProps);f.componentDidUpdate(h,a.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&r4(i,v,f);break;case 3:var b=i.updateQueue;if(b!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}r4(i,b,a)}break;case 5:var j=i.stateNode;if(a===null&&i.flags&4){a=j;var T=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":T.autoFocus&&a.focus();break;case"img":T.src&&(a.src=T.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var W=i.alternate;if(W!==null){var ie=W.memoizedState;if(ie!==null){var le=ie.dehydrated;le!==null&&ts(le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Vt||i.flags&512&&ju(i)}catch(oe){vt(i,i.return,oe)}}if(i===o){ye=null;break}if(a=i.sibling,a!==null){a.return=i.return,ye=a;break}ye=i.return}}function rf(o){for(;ye!==null;){var i=ye;if(i===o){ye=null;break}var a=i.sibling;if(a!==null){a.return=i.return,ye=a;break}ye=i.return}}function of(o){for(;ye!==null;){var i=ye;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{da(4,i)}catch(T){vt(i,a,T)}break;case 1:var f=i.stateNode;if(typeof f.componentDidMount=="function"){var h=i.return;try{f.componentDidMount()}catch(T){vt(i,h,T)}}var v=i.return;try{ju(i)}catch(T){vt(i,v,T)}break;case 5:var b=i.return;try{ju(i)}catch(T){vt(i,b,T)}}}catch(T){vt(i,i.return,T)}if(i===o){ye=null;break}var j=i.sibling;if(j!==null){j.return=i.return,ye=j;break}ye=i.return}}var Rv=Math.ceil,fa=z.ReactCurrentDispatcher,Ou=z.ReactCurrentOwner,Cn=z.ReactCurrentBatchConfig,Ke=0,It=null,bt=null,zt=0,fn=0,oi=Tr(0),kt=0,ks=null,ao=0,ha=0,Tu=0,Ss=null,Qt=null,Lu=0,ii=1/0,ur=null,pa=!1,Pu=null,Rr=null,ma=!1,Dr=null,ga=0,Es=0,Nu=null,va=-1,wa=0;function qt(){return(Ke&6)!==0?xt():va!==-1?va:va=xt()}function Fr(o){return(o.mode&1)===0?1:(Ke&2)!==0&&zt!==0?zt&-zt:yv.transition!==null?(wa===0&&(wa=J2()),wa):(o=et,o!==0||(o=window.event,o=o===void 0?16:s3(o.type)),o)}function zn(o,i,a,f){if(50<Es)throw Es=0,Nu=null,Error(n(185));Yi(o,a,f),((Ke&2)===0||o!==It)&&(o===It&&((Ke&2)===0&&(ha|=a),kt===4&&$r(o,zt)),en(o,f),a===1&&Ke===0&&(i.mode&1)===0&&(ii=xt()+500,U1&&Pr()))}function en(o,i){var a=o.callbackNode;yg(o,i);var f=j1(o,o===It?zt:0);if(f===0)a!==null&&G2(a),o.callbackNode=null,o.callbackPriority=0;else if(i=f&-f,o.callbackPriority!==i){if(a!=null&&G2(a),i===1)o.tag===0?xv(af.bind(null,o)):W3(af.bind(null,o)),mv(function(){(Ke&6)===0&&Pr()}),a=null;else{switch(X2(f)){case 1:a=hc;break;case 4:a=K2;break;case 16:a=C1;break;case 536870912:a=Y2;break;default:a=C1}a=mf(a,sf.bind(null,o))}o.callbackPriority=i,o.callbackNode=a}}function sf(o,i){if(va=-1,wa=0,(Ke&6)!==0)throw Error(n(327));var a=o.callbackNode;if(si()&&o.callbackNode!==a)return null;var f=j1(o,o===It?zt:0);if(f===0)return null;if((f&30)!==0||(f&o.expiredLanes)!==0||i)i=xa(o,f);else{i=f;var h=Ke;Ke|=2;var v=cf();(It!==o||zt!==i)&&(ur=null,ii=xt()+500,co(o,i));do try{$v();break}catch(j){lf(o,j)}while(!0);Xc(),fa.current=v,Ke=h,bt!==null?i=0:(It=null,zt=0,i=kt)}if(i!==0){if(i===2&&(h=pc(o),h!==0&&(f=h,i=zu(o,h))),i===1)throw a=ks,co(o,0),$r(o,f),en(o,xt()),a;if(i===6)$r(o,f);else{if(h=o.current.alternate,(f&30)===0&&!Dv(h)&&(i=xa(o,f),i===2&&(v=pc(o),v!==0&&(f=v,i=zu(o,v))),i===1))throw a=ks,co(o,0),$r(o,f),en(o,xt()),a;switch(o.finishedWork=h,o.finishedLanes=f,i){case 0:case 1:throw Error(n(345));case 2:uo(o,Qt,ur);break;case 3:if($r(o,f),(f&130023424)===f&&(i=Lu+500-xt(),10<i)){if(j1(o,0)!==0)break;if(h=o.suspendedLanes,(h&f)!==f){qt(),o.pingedLanes|=o.suspendedLanes&h;break}o.timeoutHandle=Hc(uo.bind(null,o,Qt,ur),i);break}uo(o,Qt,ur);break;case 4:if($r(o,f),(f&4194240)===f)break;for(i=o.eventTimes,h=-1;0<f;){var b=31-Mn(f);v=1<<b,b=i[b],b>h&&(h=b),f&=~v}if(f=h,f=xt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Rv(f/1960))-f,10<f){o.timeoutHandle=Hc(uo.bind(null,o,Qt,ur),f);break}uo(o,Qt,ur);break;case 5:uo(o,Qt,ur);break;default:throw Error(n(329))}}}return en(o,xt()),o.callbackNode===a?sf.bind(null,o):null}function zu(o,i){var a=Ss;return o.current.memoizedState.isDehydrated&&(co(o,i).flags|=256),o=xa(o,i),o!==2&&(i=Qt,Qt=a,i!==null&&Au(i)),o}function Au(o){Qt===null?Qt=o:Qt.push.apply(Qt,o)}function Dv(o){for(var i=o;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var f=0;f<a.length;f++){var h=a[f],v=h.getSnapshot;h=h.value;try{if(!On(v(),h))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function $r(o,i){for(i&=~Tu,i&=~ha,o.suspendedLanes|=i,o.pingedLanes&=~i,o=o.expirationTimes;0<i;){var a=31-Mn(i),f=1<<a;o[a]=-1,i&=~f}}function af(o){if((Ke&6)!==0)throw Error(n(327));si();var i=j1(o,0);if((i&1)===0)return en(o,xt()),null;var a=xa(o,i);if(o.tag!==0&&a===2){var f=pc(o);f!==0&&(i=f,a=zu(o,f))}if(a===1)throw a=ks,co(o,0),$r(o,i),en(o,xt()),a;if(a===6)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=i,uo(o,Qt,ur),en(o,xt()),null}function Ru(o,i){var a=Ke;Ke|=1;try{return o(i)}finally{Ke=a,Ke===0&&(ii=xt()+500,U1&&Pr())}}function lo(o){Dr!==null&&Dr.tag===0&&(Ke&6)===0&&si();var i=Ke;Ke|=1;var a=Cn.transition,f=et;try{if(Cn.transition=null,et=1,o)return o()}finally{et=f,Cn.transition=a,Ke=i,(Ke&6)===0&&Pr()}}function Du(){fn=oi.current,at(oi)}function co(o,i){o.finishedWork=null,o.finishedLanes=0;var a=o.timeoutHandle;if(a!==-1&&(o.timeoutHandle=-1,pv(a)),bt!==null)for(a=bt.return;a!==null;){var f=a;switch(qc(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Z1();break;case 3:ti(),at(Yt),at(Ft),su();break;case 5:ou(f);break;case 4:ti();break;case 13:at(ft);break;case 19:at(ft);break;case 10:Qc(f.type._context);break;case 22:case 23:Du()}a=a.return}if(It=o,bt=o=Hr(o.current,null),zt=fn=i,kt=0,ks=null,Tu=ha=ao=0,Qt=Ss=null,oo!==null){for(i=0;i<oo.length;i++)if(a=oo[i],f=a.interleaved,f!==null){a.interleaved=null;var h=f.next,v=a.pending;if(v!==null){var b=v.next;v.next=h,f.next=b}a.pending=f}oo=null}return o}function lf(o,i){do{var a=bt;try{if(Xc(),na.current=sa,ra){for(var f=ht.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}ra=!1}if(so=0,jt=Ct=ht=null,ws=!1,xs=0,Ou.current=null,a===null||a.return===null){kt=1,ks=i,bt=null;break}e:{var v=o,b=a.return,j=a,T=i;if(i=zt,j.flags|=32768,T!==null&&typeof T=="object"&&typeof T.then=="function"){var W=T,ie=j,le=ie.tag;if((ie.mode&1)===0&&(le===0||le===11||le===15)){var oe=ie.alternate;oe?(ie.updateQueue=oe.updateQueue,ie.memoizedState=oe.memoizedState,ie.lanes=oe.lanes):(ie.updateQueue=null,ie.memoizedState=null)}var ge=L4(b);if(ge!==null){ge.flags&=-257,P4(ge,b,j,v,i),ge.mode&1&&T4(v,W,i),i=ge,T=W;var be=i.updateQueue;if(be===null){var Ce=new Set;Ce.add(T),i.updateQueue=Ce}else be.add(T);break e}else{if((i&1)===0){T4(v,W,i),Fu();break e}T=Error(n(426))}}else if(lt&&j.mode&1){var yt=L4(b);if(yt!==null){(yt.flags&65536)===0&&(yt.flags|=256),P4(yt,b,j,v,i),Yc(ni(T,j));break e}}v=T=ni(T,j),kt!==4&&(kt=2),Ss===null?Ss=[v]:Ss.push(v),v=b;do{switch(v.tag){case 3:v.flags|=65536,i&=-i,v.lanes|=i;var A=M4(v,T,i);n4(v,A);break e;case 1:j=T;var P=v.type,$=v.stateNode;if((v.flags&128)===0&&(typeof P.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(Rr===null||!Rr.has($)))){v.flags|=65536,i&=-i,v.lanes|=i;var ue=O4(v,j,i);n4(v,ue);break e}}v=v.return}while(v!==null)}df(a)}catch(Ee){i=Ee,bt===a&&a!==null&&(bt=a=a.return);continue}break}while(!0)}function cf(){var o=fa.current;return fa.current=sa,o===null?sa:o}function Fu(){(kt===0||kt===3||kt===2)&&(kt=4),It===null||(ao&268435455)===0&&(ha&268435455)===0||$r(It,zt)}function xa(o,i){var a=Ke;Ke|=2;var f=cf();(It!==o||zt!==i)&&(ur=null,co(o,i));do try{Fv();break}catch(h){lf(o,h)}while(!0);if(Xc(),Ke=a,fa.current=f,bt!==null)throw Error(n(261));return It=null,zt=0,kt}function Fv(){for(;bt!==null;)uf(bt)}function $v(){for(;bt!==null&&!dg();)uf(bt)}function uf(o){var i=pf(o.alternate,o,fn);o.memoizedProps=o.pendingProps,i===null?df(o):bt=i,Ou.current=null}function df(o){var i=o;do{var a=i.alternate;if(o=i.return,(i.flags&32768)===0){if(a=Lv(a,i,fn),a!==null){bt=a;return}}else{if(a=Pv(a,i),a!==null){a.flags&=32767,bt=a;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{kt=6,bt=null;return}}if(i=i.sibling,i!==null){bt=i;return}bt=i=o}while(i!==null);kt===0&&(kt=5)}function uo(o,i,a){var f=et,h=Cn.transition;try{Cn.transition=null,et=1,Hv(o,i,a,f)}finally{Cn.transition=h,et=f}return null}function Hv(o,i,a,f){do si();while(Dr!==null);if((Ke&6)!==0)throw Error(n(327));a=o.finishedWork;var h=o.finishedLanes;if(a===null)return null;if(o.finishedWork=null,o.finishedLanes=0,a===o.current)throw Error(n(177));o.callbackNode=null,o.callbackPriority=0;var v=a.lanes|a.childLanes;if(_g(o,v),o===It&&(bt=It=null,zt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||ma||(ma=!0,mf(C1,function(){return si(),null})),v=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||v){v=Cn.transition,Cn.transition=null;var b=et;et=1;var j=Ke;Ke|=4,Ou.current=null,zv(o,a),ef(a,o),av(Fc),O1=!!Dc,Fc=Dc=null,o.current=a,Av(a),fg(),Ke=j,et=b,Cn.transition=v}else o.current=a;if(ma&&(ma=!1,Dr=o,ga=h),v=o.pendingLanes,v===0&&(Rr=null),mg(a.stateNode),en(o,xt()),i!==null)for(f=o.onRecoverableError,a=0;a<i.length;a++)h=i[a],f(h.value,{componentStack:h.stack,digest:h.digest});if(pa)throw pa=!1,o=Pu,Pu=null,o;return(ga&1)!==0&&o.tag!==0&&si(),v=o.pendingLanes,(v&1)!==0?o===Nu?Es++:(Es=0,Nu=o):Es=0,Pr(),null}function si(){if(Dr!==null){var o=X2(ga),i=Cn.transition,a=et;try{if(Cn.transition=null,et=16>o?16:o,Dr===null)var f=!1;else{if(o=Dr,Dr=null,ga=0,(Ke&6)!==0)throw Error(n(331));var h=Ke;for(Ke|=4,ye=o.current;ye!==null;){var v=ye,b=v.child;if((ye.flags&16)!==0){var j=v.deletions;if(j!==null){for(var T=0;T<j.length;T++){var W=j[T];for(ye=W;ye!==null;){var ie=ye;switch(ie.tag){case 0:case 11:case 15:Cs(8,ie,v)}var le=ie.child;if(le!==null)le.return=ie,ye=le;else for(;ye!==null;){ie=ye;var oe=ie.sibling,ge=ie.return;if(K4(ie),ie===W){ye=null;break}if(oe!==null){oe.return=ge,ye=oe;break}ye=ge}}}var be=v.alternate;if(be!==null){var Ce=be.child;if(Ce!==null){be.child=null;do{var yt=Ce.sibling;Ce.sibling=null,Ce=yt}while(Ce!==null)}}ye=v}}if((v.subtreeFlags&2064)!==0&&b!==null)b.return=v,ye=b;else e:for(;ye!==null;){if(v=ye,(v.flags&2048)!==0)switch(v.tag){case 0:case 11:case 15:Cs(9,v,v.return)}var A=v.sibling;if(A!==null){A.return=v.return,ye=A;break e}ye=v.return}}var P=o.current;for(ye=P;ye!==null;){b=ye;var $=b.child;if((b.subtreeFlags&2064)!==0&&$!==null)$.return=b,ye=$;else e:for(b=P;ye!==null;){if(j=ye,(j.flags&2048)!==0)try{switch(j.tag){case 0:case 11:case 15:da(9,j)}}catch(Ee){vt(j,j.return,Ee)}if(j===b){ye=null;break e}var ue=j.sibling;if(ue!==null){ue.return=j.return,ye=ue;break e}ye=j.return}}if(Ke=h,Pr(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(k1,o)}catch{}f=!0}return f}finally{et=a,Cn.transition=i}}return!1}function ff(o,i,a){i=ni(a,i),i=M4(o,i,1),o=zr(o,i,1),i=qt(),o!==null&&(Yi(o,1,i),en(o,i))}function vt(o,i,a){if(o.tag===3)ff(o,o,a);else for(;i!==null;){if(i.tag===3){ff(i,o,a);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Rr===null||!Rr.has(f))){o=ni(a,o),o=O4(i,o,1),i=zr(i,o,1),o=qt(),i!==null&&(Yi(i,1,o),en(i,o));break}}i=i.return}}function Vv(o,i,a){var f=o.pingCache;f!==null&&f.delete(i),i=qt(),o.pingedLanes|=o.suspendedLanes&a,It===o&&(zt&a)===a&&(kt===4||kt===3&&(zt&130023424)===zt&&500>xt()-Lu?co(o,0):Tu|=a),en(o,i)}function hf(o,i){i===0&&((o.mode&1)===0?i=1:(i=E1,E1<<=1,(E1&130023424)===0&&(E1=4194304)));var a=qt();o=ar(o,i),o!==null&&(Yi(o,i,a),en(o,a))}function Bv(o){var i=o.memoizedState,a=0;i!==null&&(a=i.retryLane),hf(o,a)}function Zv(o,i){var a=0;switch(o.tag){case 13:var f=o.stateNode,h=o.memoizedState;h!==null&&(a=h.retryLane);break;case 19:f=o.stateNode;break;default:throw Error(n(314))}f!==null&&f.delete(i),hf(o,a)}var pf;pf=function(o,i,a){if(o!==null)if(o.memoizedProps!==i.pendingProps||Yt.current)Xt=!0;else{if((o.lanes&a)===0&&(i.flags&128)===0)return Xt=!1,Tv(o,i,a);Xt=(o.flags&131072)!==0}else Xt=!1,lt&&(i.flags&1048576)!==0&&U3(i,G1,i.index);switch(i.lanes=0,i.tag){case 2:var f=i.type;ca(o,i),o=i.pendingProps;var h=Go(i,Ft.current);ei(i,a),h=cu(null,i,f,o,h,a);var v=uu();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Jt(f)?(v=!0,W1(i)):v=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,nu(i),h.updater=aa,i.stateNode=h,h._reactInternals=i,gu(i,f,o,a),i=yu(null,i,f,!0,v,a)):(i.tag=0,lt&&v&&Uc(i),Ut(null,i,h,a),i=i.child),i;case 16:f=i.elementType;e:{switch(ca(o,i),o=i.pendingProps,h=f._init,f=h(f._payload),i.type=f,h=i.tag=Uv(f),o=Ln(f,o),h){case 0:i=xu(null,i,f,o,a);break e;case 1:i=F4(null,i,f,o,a);break e;case 11:i=N4(null,i,f,o,a);break e;case 14:i=z4(null,i,f,Ln(f.type,o),a);break e}throw Error(n(306,f,""))}return i;case 0:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),xu(o,i,f,h,a);case 1:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),F4(o,i,f,h,a);case 3:e:{if($4(i),o===null)throw Error(n(387));f=i.pendingProps,v=i.memoizedState,h=v.element,t4(o,i),ea(i,f,null,a);var b=i.memoizedState;if(f=b.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){h=ni(Error(n(423)),i),i=H4(o,i,f,a,h);break e}else if(f!==h){h=ni(Error(n(424)),i),i=H4(o,i,f,a,h);break e}else for(dn=Or(i.stateNode.containerInfo.firstChild),un=i,lt=!0,Tn=null,a=Q3(i,null,f,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Jo(),f===h){i=cr(o,i,a);break e}Ut(o,i,f,a)}i=i.child}return i;case 5:return o4(i),o===null&&Kc(i),f=i.type,h=i.pendingProps,v=o!==null?o.memoizedProps:null,b=h.children,$c(f,h)?b=null:v!==null&&$c(f,v)&&(i.flags|=32),D4(o,i),Ut(o,i,b,a),i.child;case 6:return o===null&&Kc(i),null;case 13:return V4(o,i,a);case 4:return ru(i,i.stateNode.containerInfo),f=i.pendingProps,o===null?i.child=Xo(i,null,f,a):Ut(o,i,f,a),i.child;case 11:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),N4(o,i,f,h,a);case 7:return Ut(o,i,i.pendingProps,a),i.child;case 8:return Ut(o,i,i.pendingProps.children,a),i.child;case 12:return Ut(o,i,i.pendingProps.children,a),i.child;case 10:e:{if(f=i.type._context,h=i.pendingProps,v=i.memoizedProps,b=h.value,rt(J1,f._currentValue),f._currentValue=b,v!==null)if(On(v.value,b)){if(v.children===h.children&&!Yt.current){i=cr(o,i,a);break e}}else for(v=i.child,v!==null&&(v.return=i);v!==null;){var j=v.dependencies;if(j!==null){b=v.child;for(var T=j.firstContext;T!==null;){if(T.context===f){if(v.tag===1){T=lr(-1,a&-a),T.tag=2;var W=v.updateQueue;if(W!==null){W=W.shared;var ie=W.pending;ie===null?T.next=T:(T.next=ie.next,ie.next=T),W.pending=T}}v.lanes|=a,T=v.alternate,T!==null&&(T.lanes|=a),eu(v.return,a,i),j.lanes|=a;break}T=T.next}}else if(v.tag===10)b=v.type===i.type?null:v.child;else if(v.tag===18){if(b=v.return,b===null)throw Error(n(341));b.lanes|=a,j=b.alternate,j!==null&&(j.lanes|=a),eu(b,a,i),b=v.sibling}else b=v.child;if(b!==null)b.return=v;else for(b=v;b!==null;){if(b===i){b=null;break}if(v=b.sibling,v!==null){v.return=b.return,b=v;break}b=b.return}v=b}Ut(o,i,h.children,a),i=i.child}return i;case 9:return h=i.type,f=i.pendingProps.children,ei(i,a),h=_n(h),f=f(h),i.flags|=1,Ut(o,i,f,a),i.child;case 14:return f=i.type,h=Ln(f,i.pendingProps),h=Ln(f.type,h),z4(o,i,f,h,a);case 15:return A4(o,i,i.type,i.pendingProps,a);case 17:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Ln(f,h),ca(o,i),i.tag=1,Jt(f)?(o=!0,W1(i)):o=!1,ei(i,a),j4(i,f,h),gu(i,f,h,a),yu(null,i,f,!0,o,a);case 19:return Z4(o,i,a);case 22:return R4(o,i,a)}throw Error(n(156,i.tag))};function mf(o,i){return q2(o,i)}function Wv(o,i,a,f){this.tag=o,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function kn(o,i,a,f){return new Wv(o,i,a,f)}function $u(o){return o=o.prototype,!(!o||!o.isReactComponent)}function Uv(o){if(typeof o=="function")return $u(o)?1:0;if(o!=null){if(o=o.$$typeof,o===V)return 11;if(o===we)return 14}return 2}function Hr(o,i){var a=o.alternate;return a===null?(a=kn(o.tag,i,o.key,o.mode),a.elementType=o.elementType,a.type=o.type,a.stateNode=o.stateNode,a.alternate=o,o.alternate=a):(a.pendingProps=i,a.type=o.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=o.flags&14680064,a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,i=o.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=o.sibling,a.index=o.index,a.ref=o.ref,a}function ya(o,i,a,f,h,v){var b=2;if(f=o,typeof o=="function")$u(o)&&(b=1);else if(typeof o=="string")b=5;else e:switch(o){case ee:return fo(a.children,h,v,i);case q:b=8,h|=8;break;case G:return o=kn(12,a,i,h|2),o.elementType=G,o.lanes=v,o;case K:return o=kn(13,a,i,h),o.elementType=K,o.lanes=v,o;case X:return o=kn(19,a,i,h),o.elementType=X,o.lanes=v,o;case Se:return _a(a,h,v,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case k:b=10;break e;case Y:b=9;break e;case V:b=11;break e;case we:b=14;break e;case he:b=16,f=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=kn(b,a,i,h),i.elementType=o,i.type=f,i.lanes=v,i}function fo(o,i,a,f){return o=kn(7,o,f,i),o.lanes=a,o}function _a(o,i,a,f){return o=kn(22,o,f,i),o.elementType=Se,o.lanes=a,o.stateNode={isHidden:!1},o}function Hu(o,i,a){return o=kn(6,o,null,i),o.lanes=a,o}function Vu(o,i,a){return i=kn(4,o.children!==null?o.children:[],o.key,i),i.lanes=a,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function qv(o,i,a,f,h){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mc(0),this.expirationTimes=mc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mc(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Bu(o,i,a,f,h,v,b,j,T){return o=new qv(o,i,a,j,T),i===1?(i=1,v===!0&&(i|=8)):i=0,v=kn(3,null,null,i),o.current=v,v.stateNode=o,v.memoizedState={element:f,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},nu(v),o}function Gv(o,i,a){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Z,key:f==null?null:""+f,children:o,containerInfo:i,implementation:a}}function gf(o){if(!o)return Lr;o=o._reactInternals;e:{if(Qr(o)!==o||o.tag!==1)throw Error(n(170));var i=o;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Jt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(o.tag===1){var a=o.type;if(Jt(a))return B3(o,a,i)}return i}function vf(o,i,a,f,h,v,b,j,T){return o=Bu(a,f,!0,o,h,v,b,j,T),o.context=gf(null),a=o.current,f=qt(),h=Fr(a),v=lr(f,h),v.callback=i??null,zr(a,v,h),o.current.lanes=h,Yi(o,h,f),en(o,f),o}function ba(o,i,a,f){var h=i.current,v=qt(),b=Fr(h);return a=gf(a),i.context===null?i.context=a:i.pendingContext=a,i=lr(v,b),i.payload={element:o},f=f===void 0?null:f,f!==null&&(i.callback=f),o=zr(h,i,b),o!==null&&(zn(o,h,b,v),Q1(o,h,b)),b}function Ca(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function wf(o,i){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var a=o.retryLane;o.retryLane=a!==0&&a<i?a:i}}function Zu(o,i){wf(o,i),(o=o.alternate)&&wf(o,i)}function Kv(){return null}var xf=typeof reportError=="function"?reportError:function(o){console.error(o)};function Wu(o){this._internalRoot=o}ka.prototype.render=Wu.prototype.render=function(o){var i=this._internalRoot;if(i===null)throw Error(n(409));ba(o,i,null,null)},ka.prototype.unmount=Wu.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var i=o.containerInfo;lo(function(){ba(null,o,null,null)}),i[rr]=null}};function ka(o){this._internalRoot=o}ka.prototype.unstable_scheduleHydration=function(o){if(o){var i=t3();o={blockedOn:null,target:o,priority:i};for(var a=0;a<jr.length&&i!==0&&i<jr[a].priority;a++);jr.splice(a,0,o),a===0&&o3(o)}};function Uu(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function Sa(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function yf(){}function Yv(o,i,a,f,h){if(h){if(typeof f=="function"){var v=f;f=function(){var W=Ca(b);v.call(W)}}var b=vf(i,f,o,0,null,!1,!1,"",yf);return o._reactRootContainer=b,o[rr]=b.current,us(o.nodeType===8?o.parentNode:o),lo(),b}for(;h=o.lastChild;)o.removeChild(h);if(typeof f=="function"){var j=f;f=function(){var W=Ca(T);j.call(W)}}var T=Bu(o,0,!1,null,null,!1,!1,"",yf);return o._reactRootContainer=T,o[rr]=T.current,us(o.nodeType===8?o.parentNode:o),lo(function(){ba(i,T,a,f)}),T}function Ea(o,i,a,f,h){var v=a._reactRootContainer;if(v){var b=v;if(typeof h=="function"){var j=h;h=function(){var T=Ca(b);j.call(T)}}ba(i,b,o,h)}else b=Yv(a,i,o,h,f);return Ca(b)}Q2=function(o){switch(o.tag){case 3:var i=o.stateNode;if(i.current.memoizedState.isDehydrated){var a=Ki(i.pendingLanes);a!==0&&(gc(i,a|1),en(i,xt()),(Ke&6)===0&&(ii=xt()+500,Pr()))}break;case 13:lo(function(){var f=ar(o,1);if(f!==null){var h=qt();zn(f,o,1,h)}}),Zu(o,1)}},vc=function(o){if(o.tag===13){var i=ar(o,134217728);if(i!==null){var a=qt();zn(i,o,134217728,a)}Zu(o,134217728)}},e3=function(o){if(o.tag===13){var i=Fr(o),a=ar(o,i);if(a!==null){var f=qt();zn(a,o,i,f)}Zu(o,i)}},t3=function(){return et},n3=function(o,i){var a=et;try{return et=o,i()}finally{et=a}},cc=function(o,i,a){switch(i){case"input":if(ln(o,a),i=a.name,a.type==="radio"&&i!=null){for(a=o;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var f=a[i];if(f!==o&&f.form===o.form){var h=B1(f);if(!h)throw Error(n(90));dt(f),ln(f,h)}}}break;case"textarea":Hi(o,a);break;case"select":i=a.value,i!=null&>(o,!!a.multiple,i,!1)}},$2=Ru,H2=lo;var Jv={usingClientEntryPoint:!1,Events:[hs,Uo,B1,D2,F2,Ru]},js={findFiberByHostInstance:eo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Xv={bundleType:js.bundleType,version:js.version,rendererPackageName:js.rendererPackageName,rendererConfig:js.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:z.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=W2(o),o===null?null:o.stateNode},findFiberByHostInstance:js.findFiberByHostInstance||Kv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ja=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ja.isDisabled&&ja.supportsFiber)try{k1=ja.inject(Xv),Wn=ja}catch{}}return tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jv,tn.createPortal=function(o,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uu(i))throw Error(n(200));return Gv(o,i,null,a)},tn.createRoot=function(o,i){if(!Uu(o))throw Error(n(299));var a=!1,f="",h=xf;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=Bu(o,1,!1,null,null,a,!1,f,h),o[rr]=i.current,us(o.nodeType===8?o.parentNode:o),new Wu(i)},tn.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var i=o._reactInternals;if(i===void 0)throw typeof o.render=="function"?Error(n(188)):(o=Object.keys(o).join(","),Error(n(268,o)));return o=W2(i),o=o===null?null:o.stateNode,o},tn.flushSync=function(o){return lo(o)},tn.hydrate=function(o,i,a){if(!Sa(i))throw Error(n(200));return Ea(null,o,i,!0,a)},tn.hydrateRoot=function(o,i,a){if(!Uu(o))throw Error(n(405));var f=a!=null&&a.hydratedSources||null,h=!1,v="",b=xf;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(v=a.identifierPrefix),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),i=vf(i,null,o,1,a??null,h,!1,v,b),o[rr]=i.current,us(o),f)for(o=0;o<f.length;o++)a=f[o],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new ka(i)},tn.render=function(o,i,a){if(!Sa(i))throw Error(n(200));return Ea(null,o,i,!1,a)},tn.unmountComponentAtNode=function(o){if(!Sa(o))throw Error(n(40));return o._reactRootContainer?(lo(function(){Ea(null,null,o,!1,function(){o._reactRootContainer=null,o[rr]=null})}),!0):!1},tn.unstable_batchedUpdates=Ru,tn.unstable_renderSubtreeIntoContainer=function(o,i,a,f){if(!Sa(a))throw Error(n(200));if(o==null||o._reactInternals===void 0)throw Error(n(38));return Ea(o,i,a,!1,f)},tn.version="18.3.1-next-f1338f8080-20240426",tn}var B5;function W8(){if(B5)return hd.exports;B5=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),hd.exports=qj(),hd.exports}var gn=W8();const Gj=m1(gn),Kj=El({__proto__:null,default:Gj},[gn]);var Da={},Z5;function Yj(){if(Z5)return Da;Z5=1;var e=W8();return Da.createRoot=e.createRoot,Da.hydrateRoot=e.hydrateRoot,Da}var U8=Yj();const Jj=m1(U8),Xj=El({__proto__:null,default:Jj},[U8]);function Qj(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class eI extends Error{}class tI extends Error{}function nI(e){return typeof e=="function"?e():e}const Fa=Object.freeze([]);class rI{records=new Map;factories=new Map;mutateListeners=new Set;handleScopes=new Map;dirty=new Set;flushScheduled=!1;abdicated=new WeakSet;entryErrorListeners=new Set;constructor(){const t=this.record("root");t.spec={kind:"single",scope:"root"},t.declaredBy="(built-in)",t.declarationEpoch=1}registerFactory=((t,n)=>{const r=t,s=this.factoryRecord(r.name);if(s.definition!==void 0)throw new Error(`slot factory "${r.name}" already has a definition`);for(const d of Object.keys(r.children??{})){const p=this.records.get(d);if(p?.spec!==void 0)throw new Error(`slot "${d}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(r.store!==void 0&&typeof r.store!="function"){const d=this.handleScopes.get(r.store);if(d!==void 0&&d.scope!==r.scope)throw new Error(`store handle mounted under factory "${r.name}" (scope "${r.scope}") is already mounted under scope "${d.scope}" — one handle, one scope`);d!==void 0?d.count+=1:this.handleScopes.set(r.store,{scope:r.scope,count:1})}const l={name:r.name,component:n,scope:r.scope,...r.children===void 0?{}:{children:r.children},...r.store===void 0?{}:{store:r.store},...r.inject===void 0?{}:{inject:r.inject},...r.locale===void 0?{}:{locale:r.locale},...r.slots===void 0?{}:{slots:r.slots},...r.registrant===void 0?{}:{registrant:r.registrant}};s.definition=l,this.markFactoryDirty(s);const u=[];for(const[d,p]of Object.entries(r.children??{})){const m=this.record(d);m.spec=p,m.declaredBy=`factory "${r.name}"${r.registrant?` (${r.registrant})`:""}`,m.parent=`factory:${r.name}`,m.declarationEpoch+=1,u.push([d,m])}for(const[d,p]of u)this.markDirty(d,p);for(const[,d]of u)this.notifyDeclaration(d);return()=>{if(s.definition===l){if(s.definition=void 0,this.markFactoryDirty(s),l.store!==void 0&&typeof l.store!="function"){const d=this.handleScopes.get(l.store);d!==void 0&&--d.count===0&&this.handleScopes.delete(l.store)}this.releaseChildren(l.children)}}});factory(t){return this.factories.get(t)?.definition}factoryVersion(t){return this.factories.get(t)?.version??0}subscribeFactory(t,n){const r=this.factoryRecord(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}isFactoryLive(t){return this.factories.get(t.name)?.definition===t}register(t,n){const r=this.records.get(t.name);if(!r?.spec)throw new Error(`slot "${t.name}" is not declared (a parent entry's children table must declare it)`);const s=r.spec,l=t.priority??0,u=m=>`at priority ${l}${m.registrant!==void 0?` (registered by ${m.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(s.kind){case"single":{const m=r.entries.find(g=>(g.options.priority??0)===l);if(m)throw new Error(`single slot "${t.name}" already has a registration ${u(m)}`);break}case"keyed":{if(t.key===void 0)throw new Error(`keyed slot "${t.name}" requires options.key`);const m=r.entries.find(g=>g.options.key===t.key&&(g.options.priority??0)===l);if(m)throw new Error(`keyed slot "${t.name}" already has an entry for key "${t.key}" ${u(m)}`);break}case"list":{if(t.id===void 0)throw new Error(`list slot "${t.name}" requires options.id`);const m=r.entries.find(g=>g.options.id===t.id&&(g.options.priority??0)===l);if(m)throw new Error(`list slot "${t.name}" already has an entry with id "${t.id}" ${u(m)}`);break}case"chain":if(t.select===void 0)throw new Error(`chain slot "${t.name}" requires options.select`);break}if(t.children)for(const m of Object.keys(t.children)){const g=this.records.get(m);if(g?.spec)throw new Error(`slot "${m}" is already declared (by ${g.declaredBy??"an unknown entry"})`)}if(t.store!==void 0&&typeof t.store!="function"){const m=this.handleScopes.get(t.store);if(m&&m.scope!==s.scope)throw new Error(`store handle mounted under "${t.name}" (scope "${s.scope}") is already mounted under scope "${m.scope}" — one handle, one scope`);m?m.count+=1:this.handleScopes.set(t.store,{scope:s.scope,count:1})}const d={component:n,options:{...t.key!==void 0?{key:t.key}:{},...t.id!==void 0?{id:t.id}:{},...t.order!==void 0?{order:t.order}:{},...t.label!==void 0?{label:t.label}:{},...t.priority!==void 0?{priority:t.priority}:{}},...t.select!==void 0?{select:t.select}:{},...t.inject!==void 0?{inject:t.inject}:{},...t.children!==void 0?{children:t.children}:{},...t.store!==void 0?{store:t.store}:{},...t.locale!==void 0?{locale:t.locale}:{},...t.registrant!==void 0?{registrant:t.registrant}:{}},p=[...r.entries,d];if(p.sort(s.kind==="list"?(m,g)=>(m.options.priority??0)-(g.options.priority??0)||(m.options.order??0)-(g.options.order??0):(m,g)=>(m.options.priority??0)-(g.options.priority??0)),r.entries=p,this.markDirty(t.name,r),t.children){const m=[];for(const[g,w]of Object.entries(t.children)){const x=this.record(g);x.spec=w,x.declaredBy=`an entry in "${t.name}"${t.registrant?` (${t.registrant})`:""}`,x.parent=t.name,x.declarationEpoch+=1,m.push([g,x])}for(const[g,w]of m)this.markDirty(g,w);for(const[,g]of m)this.notifyDeclaration(g)}return()=>{r.entries.includes(d)&&(r.entries=r.entries.filter(m=>m!==d),this.markDirty(t.name,r),this.releaseEntry(d))}}isLive(t){for(const n of this.records.values())if(n.entries.includes(t))return!0;return!1}entries(t){return this.records.get(t)?.entries??Fa}entriesOfSlot(t){const n=this.records.get(t);if(!n?.spec)return Fa;const r=n.spec.kind;if(r==="chain")return n.entries;const s=[],l=new Set;for(const u of n.entries){if(this.abdicated.has(u))continue;const d=r==="keyed"?u.options.key:r==="list"?u.options.id:void 0;l.has(d)||(l.add(d),s.push(u))}return s}spec(t){return this.records.get(t)?.spec}specDynamic(t){return this.records.get(t)?.spec}snapshot(t){const n=(u,d)=>{const p=this.records.get(u);if(p?.spec===void 0||d.has(u))return;const m=new Set(d);m.add(u);const g=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,x])=>x.spec!==void 0&&x.parent===u).flatMap(([x])=>{const _=n(x,m);return _===void 0?[]:[_]});return{type:"slot",name:u,kind:p.spec.kind,scope:p.spec.scope,...p.declaredBy===void 0?{}:{declaredBy:p.declaredBy},occupants:p.entries.map(x=>({...x.registrant===void 0?{}:{registrant:x.registrant},...x.options.key===void 0?{}:{key:x.options.key},...x.options.id===void 0?{}:{id:x.options.id},...x.options.order===void 0?{}:{order:x.options.order},priority:x.options.priority??0,active:g.has(x)})),children:w}},r=u=>{const d=this.factories.get(u)?.definition;if(d===void 0)return;const p=`factory:${u}`,m=[...this.records.entries()].filter(([,g])=>g.spec!==void 0&&g.parent===p).flatMap(([g])=>{const w=n(g,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:d.scope,...d.registrant===void 0?{}:{registrant:d.registrant},children:m}};if(t!==void 0){const u=t.startsWith("factory:")?r(t.slice(8)):n(t,new Set);return u===void 0?[]:[u]}const s=[...this.records.entries()].filter(([,u])=>u.spec!==void 0&&u.parent===void 0).flatMap(([u])=>{const d=n(u,new Set);return d===void 0?[]:[d]}),l=[...this.factories.keys()].flatMap(u=>{const d=r(u);return d===void 0?[]:[d]});return[...s,...l]}declarationEpoch(t){return this.records.get(t)?.declarationEpoch??0}subscribe(t,n){const r=this.record(t);return r.listeners.add(n),()=>{r.listeners.delete(n)}}subscribeDeclaration(t,n){const r=this.record(t);return r.declarationListeners.add(n),()=>{r.declarationListeners.delete(n)}}getVersion(t){return this.records.get(t)?.version??0}onMutate(t){return this.mutateListeners.add(t),()=>{this.mutateListeners.delete(t)}}reportEntryError(t,n,r,s){if(s.abdicate){if(this.abdicated.has(n))return;this.abdicated.add(n);const l=this.records.get(t);l!==void 0&&this.markDirty(t,l)}for(const l of[...this.entryErrorListeners])l(t,n,r,{abdicated:s.abdicate})}reportFactoryError(t,n,r){for(const s of[...this.entryErrorListeners])s(`factory:${t}`,n,r,{abdicated:!1})}onEntryError(t){return this.entryErrorListeners.add(t),()=>{this.entryErrorListeners.delete(t)}}releaseEntry(t){if(t.store!==void 0&&typeof t.store!="function"){const n=this.handleScopes.get(t.store);n&&--n.count===0&&this.handleScopes.delete(t.store)}this.releaseChildren(t.children)}releaseChildren(t){if(t!==void 0)for(const n of Object.keys(t)){const r=this.records.get(n);if(!r)continue;const s=r.entries;r.spec=void 0,r.declaredBy=void 0,r.parent=void 0,r.declarationEpoch+=1,r.entries=Fa,this.markDirty(n,r),this.notifyDeclaration(r);for(const l of s)this.releaseEntry(l)}}record(t){let n=this.records.get(t);return n||(n={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:Fa,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(t,n)),n}factoryRecord(t){let n=this.factories.get(t);return n===void 0&&(n={definition:void 0,version:0,listeners:new Set},this.factories.set(t,n)),n}markFactoryDirty(t){t.version+=1,queueMicrotask(()=>{for(const n of[...t.listeners])n()})}markDirty(t,n){n.version+=1;for(const r of[...this.mutateListeners])r(t);this.dirty.add(n),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(t){for(const n of[...t.declarationListeners])n()}flush(){this.flushScheduled=!1;const t=[...this.dirty];this.dirty.clear();for(const n of t)for(const r of[...n.listeners])r()}}const oI=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:rI,SlotOwnershipError:tI,StaleAuthorizationError:eI,resolveSlotLabel:nI,standardHookPropName:Qj},Symbol.toStringTag,{value:"Module"}));async function ql(e){if(navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{return!1}const t=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(t===void 0)return!1;const n=document.createElement("textarea");n.value=e,n.setAttribute("readonly",""),n.style.position="fixed",n.style.left="-9999px",document.body.appendChild(n),n.select();try{return t("copy")}catch{return!1}finally{n.remove()}}const iI=1e3;function v1(e){const[t,n]=S.useState(!1),r=S.useCallback(()=>{t||(async()=>{try{const s=typeof e=="function"?await e():e;if(!await ql(s))return;n(!0),window.setTimeout(()=>n(!1),iI)}catch{return}})()},[t,e]);return{copied:t,onCopy:r}}function q8(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=q8(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xe(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=q8(e))&&(r&&(r+=" "),r+=t);return r}const sI="_dot_1i08g_2",aI="_spinner_1i08g_37",lI="_spinnerMotion_1i08g_42",cI="_spinnerTrack_1i08g_47",uI="_spinnerArc_1i08g_48",dI="_step_1i08g_99",li={dot:sI,spinner:aI,spinnerMotion:lI,spinnerTrack:cI,spinnerArc:uI,step:dI},G8=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M8.16675 2.50127C8.53391 2.50127 8.83161 2.7992 8.83179 3.16631C8.83179 3.53358 8.53402 3.83135 8.16675 3.83135H5.83374C4.72836 3.83135 3.83197 4.72797 3.83179 5.8333V14.1663C3.83179 15.2718 4.72825 16.1683 5.83374 16.1683H14.1667C15.2722 16.1683 16.1687 15.2718 16.1687 14.1663V11.8333C16.1689 11.4662 16.4666 11.1683 16.8337 11.1683C17.2007 11.1684 17.4986 11.4663 17.4988 11.8333V14.1663C17.4988 16.0063 16.0068 17.4983 14.1667 17.4983H5.83374C3.99371 17.4983 2.50171 16.0063 2.50171 14.1663V5.8333C2.50189 3.99343 3.99382 2.50127 5.83374 2.50127H8.16675Z"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4265 3.10381C14.3857 2.15908 15.9276 2.16466 16.8796 3.11651C17.8339 4.07106 17.8372 5.61827 16.8865 6.57647L11.7244 11.7786C11.3005 12.2058 10.7622 12.5027 10.1746 12.6321L7.78784 13.1565C7.20661 13.2842 6.6889 12.766 6.81714 12.1849L7.34253 9.80498C7.47294 9.21426 7.77197 8.67391 8.20288 8.24932L13.4265 3.10381ZM15.9392 4.05694C15.5038 3.62172 14.7988 3.61907 14.3601 4.05108L9.13647 9.19659C8.88861 9.44077 8.71644 9.75138 8.64136 10.0911L8.28979 11.6849L9.88843 11.3333C10.2265 11.2588 10.5362 11.0878 10.78 10.8421L15.9421 5.63897C16.3769 5.20075 16.3756 4.49352 15.9392 4.05694Z"})]}),K8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 6.75H11",stroke:"currentColor"}),c.jsx("path",{d:"M5 9H8",stroke:"currentColor"}),c.jsx("path",{d:"M2.37067 11.2497C1.5872 9.89252 1.32042 8.29798 1.61945 6.7597C1.91847 5.22141 2.76317 3.84293 3.99801 2.87809C5.23285 1.91325 6.7747 1.427 8.33964 1.50888C9.90458 1.59076 11.3873 2.23526 12.5147 3.32369C13.6422 4.41232 14.3384 5.8717 14.4751 7.43304C14.6118 8.99438 14.1797 10.5525 13.2585 11.8205C12.3372 13.0885 10.9889 13.9809 9.4617 14.3334C8.18666 14.6277 6.8587 14.529 5.64964 14.0601C5.17095 13.8745 4.76937 13.4929 4.26509 13.3963C3.67389 13.2832 2.95232 13.5595 2.0377 14.3334",stroke:"currentColor"})]}),e2=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.99986 14.0887C11.3626 14.0887 14.0886 11.3627 14.0886 7.99998C14.0886 4.63727 11.3626 1.91125 7.99986 1.91125C4.63715 1.91125 1.91113 4.63727 1.91113 7.99998C1.91113 11.3627 4.63715 14.0887 7.99986 14.0887Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.34619 8H13.6538",stroke:"currentColor",strokeLinecap:"square"}),c.jsx("path",{d:"M7.99976 14.0889C9.23509 14.0889 10.1743 11.3629 10.1743 8.00006C10.1743 4.63739 9.23509 1.91138 7.99976 1.91138",stroke:"currentColor"}),c.jsx("path",{d:"M7.99973 14.0889C6.76445 14.0889 5.8252 11.3629 5.8252 8.00006C5.8252 4.63739 6.76445 1.91138 7.99973 1.91138",stroke:"currentColor"})]}),t2=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.67398 4.25061L1.36094 7.86484C1.29085 7.9413 1.29085 8.05866 1.36094 8.13513L4.67398 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M11.3262 4.25061L14.6392 7.86484C14.7093 7.9413 14.7093 8.05866 14.6392 8.13513L11.3262 11.7494",stroke:"currentColor"}),c.jsx("path",{d:"M9.56222 3.62573L6.43774 12.3743",stroke:"currentColor"})]}),n2=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V13.2246C13.9996 14.0489 13.3036 14.6738 12.5 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5ZM3.5 2.32617C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H12.5C12.8004 13.6738 12.9996 13.4489 13 13.2246V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5Z",fill:"currentColor"})]}),Gl=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.50439 3.11059C1.50439 2.55831 1.95211 2.1106 2.50439 2.1106H5.43389C5.67773 2.1106 5.91318 2.19969 6.09593 2.36113L7.71649 3.79265C7.89924 3.95409 8.1347 4.04319 8.3785 4.04319H13.4958C14.0481 4.04319 14.4958 4.4909 14.4958 5.04319V12.8894C14.4958 13.4417 14.0481 13.8894 13.4958 13.8894H2.50439C1.95211 13.8894 1.50439 13.4417 1.50439 12.8894V4.04319V3.11059Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.50439 7.5H14.4958",stroke:"currentColor"})]}),Y8="M6.80132 2.14853C7.70663 1.80917 8.70422 1.80919 9.60952 2.14859L14.1296 3.84317V7.11961C14.1296 11.6089 10.7615 13.5975 8.20543 14.5779C5.64931 13.5975 2.28052 11.6089 2.28052 7.11961V3.84317L6.80132 2.14853Z",se=1,ae=1.3,fI=e=>c.jsx(G8,{...e}),hI=e=>c.jsx(G8,{...e}),J8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.58727 11.8586C9.55061 11.8586 11.9529 9.45637 11.9529 6.49304C11.9529 3.5297 9.55061 1.12744 6.58727 1.12744C3.62394 1.12744 1.22168 3.5297 1.22168 6.49304C1.22168 9.45637 3.62394 11.8586 6.58727 11.8586Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2991 10.3933L14.7783 14.8725",stroke:"currentColor"})]}),pI=e=>c.jsx(J8,{...e,strokeWidth:se}),mI=e=>c.jsx(J8,{...e,strokeWidth:ae}),gI=e=>c.jsx(e2,{...e,strokeWidth:se}),vI=e=>c.jsx(e2,{...e,strokeWidth:ae}),X8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 9.75012C8.9665 9.75012 9.75 8.96662 9.75 8.00012C9.75 7.03362 8.9665 6.25012 8 6.25012C7.0335 6.25012 6.25 7.03362 6.25 8.00012C6.25 8.96662 7.0335 9.75012 8 9.75012Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.0107 7.79377C12.9505 7.89401 12.9205 7.94413 12.9205 7.99951C12.9205 8.0549 12.9505 8.10502 13.0106 8.20528L13.9849 9.83006C14.045 9.93029 14.0751 9.9804 14.0751 10.0358C14.0751 10.0911 14.045 10.1413 13.9849 10.2415L13.0037 11.8777C12.9468 11.9726 12.9184 12.0201 12.8725 12.0461C12.8267 12.072 12.7713 12.072 12.6607 12.072H10.6704C10.5598 12.072 10.5045 12.072 10.4586 12.098C10.4128 12.1239 10.3843 12.1714 10.3274 12.2662L9.33825 13.9142C9.28133 14.009 9.25287 14.0564 9.20703 14.0823C9.16118 14.1083 9.10588 14.1083 8.99529 14.1083H7.00486C6.89426 14.1083 6.83896 14.1083 6.79312 14.0823C6.74727 14.0564 6.71881 14.009 6.6619 13.9142L5.67273 12.2662C5.61581 12.1714 5.58735 12.1239 5.54151 12.098C5.49566 12.072 5.44036 12.072 5.32977 12.072H3.33945C3.2288 12.072 3.17347 12.072 3.12761 12.0461C3.08176 12.0201 3.0533 11.9726 2.9964 11.8777L2.0152 10.2415C1.9551 10.1413 1.92505 10.0911 1.92505 10.0358C1.92505 9.9804 1.9551 9.93029 2.0152 9.83006L2.98951 8.20528C3.04963 8.10502 3.07969 8.0549 3.07969 7.99951C3.07968 7.94413 3.04961 7.89401 2.98946 7.79377L2.01529 6.17011C1.95514 6.06987 1.92507 6.01975 1.92507 5.96437C1.92506 5.90899 1.95512 5.85886 2.01524 5.7586L2.9964 4.1224C3.0533 4.0275 3.08176 3.98005 3.12761 3.95408C3.17347 3.92811 3.2288 3.92811 3.33945 3.92811H5.32977C5.44036 3.92811 5.49566 3.92811 5.54151 3.90216C5.58735 3.87621 5.61581 3.82879 5.67273 3.73397L6.6619 2.08599C6.71881 1.99116 6.74727 1.94375 6.79312 1.9178C6.83896 1.89185 6.89426 1.89185 7.00486 1.89185H8.99529C9.10588 1.89185 9.16118 1.89185 9.20703 1.9178C9.25287 1.94375 9.28133 1.99116 9.33825 2.08599L10.3274 3.73397C10.3843 3.82879 10.4128 3.87621 10.4586 3.90216C10.5045 3.92811 10.5598 3.92811 10.6704 3.92811H12.6607C12.7713 3.92811 12.8267 3.92811 12.8725 3.95408C12.9184 3.98005 12.9468 4.0275 13.0037 4.1224L13.9849 5.7586C14.045 5.85886 14.0751 5.90899 14.0751 5.96437C14.0751 6.01975 14.045 6.06987 13.9849 6.17011L13.0107 7.79377Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),wI=e=>c.jsx(X8,{...e,strokeWidth:se}),xI=e=>c.jsx(X8,{...e,strokeWidth:ae}),Q8=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 1.5V14.5",stroke:"currentColor"})]}),e7=e=>c.jsx(Q8,{...e,strokeWidth:se}),yI=e=>c.jsx(Q8,{...e,strokeWidth:ae}),t7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 9C3.55228 9 4 8.55228 4 8C4 7.44772 3.55228 7 3 7C2.44772 7 2 7.44772 2 8C2 8.55228 2.44772 9 3 9Z",fill:"currentColor"}),c.jsx("path",{d:"M8 9C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7C7.44772 7 7 7.44772 7 8C7 8.55228 7.44772 9 8 9Z",fill:"currentColor"}),c.jsx("path",{d:"M13 9C13.5523 9 14 8.55228 14 8C14 7.44772 13.5523 7 13 7C12.4477 7 12 7.44772 12 8C12 8.55228 12.4477 9 13 9Z",fill:"currentColor"})]}),_I=e=>c.jsx(t7,{...e,strokeWidth:se}),bI=e=>c.jsx(t7,{...e,strokeWidth:ae}),n7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 2V14",stroke:"currentColor"}),c.jsx("path",{d:"M2 8H14",stroke:"currentColor"})]}),r7=e=>c.jsx(n7,{...e,strokeWidth:se}),CI=e=>c.jsx(n7,{...e,strokeWidth:ae}),o7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4",stroke:"currentColor"})}),zi=e=>c.jsx(o7,{...e,strokeWidth:se}),kI=e=>c.jsx(o7,{...e,strokeWidth:ae}),i7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.01503 8.0001L5.6964 8.0001C6.41913 8.0001 6.78049 8.0001 7.12115 7.91951C7.4232 7.84804 7.71233 7.73014 7.97821 7.57C8.27809 7.38939 8.5364 7.13669 9.05303 6.63129L11.3281 4.40564",stroke:"currentColor"}),c.jsx("path",{d:"M1.01221 7.9999L5.6964 7.9999C6.41913 7.9999 6.78049 7.9999 7.12115 8.08049C7.4232 8.15196 7.71233 8.26986 7.97821 8.43C8.27809 8.61061 8.5364 8.86331 9.05303 9.36871L11.3281 11.5944",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"3.3079",r:"1.56962",stroke:"currentColor"}),c.jsx("circle",{cx:"12.4502",cy:"12.6921",r:"1.56962",stroke:"currentColor"})]}),SI=e=>c.jsx(i7,{...e,strokeWidth:se}),EI=e=>c.jsx(i7,{...e,strokeWidth:ae}),s7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M4 6L7.29289 9.29289C7.68342 9.68342 8.31658 9.68342 8.70711 9.29289L12 6",stroke:"currentColor"})}),a7=e=>c.jsx(s7,{...e,strokeWidth:se}),jI=e=>c.jsx(s7,{...e,strokeWidth:ae}),l7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M10 4L6.70711 7.29289C6.31658 7.68342 6.31658 8.31658 6.70711 8.70711L10 12",stroke:"currentColor"})}),c7=e=>c.jsx(l7,{...e,strokeWidth:se}),II=e=>c.jsx(l7,{...e,strokeWidth:ae}),u7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M6 12L9.29289 8.70711C9.68342 8.31658 9.68342 7.68342 9.29289 7.29289L6 4",stroke:"currentColor"})}),MI=e=>c.jsx(u7,{...e,strokeWidth:se}),OI=e=>c.jsx(u7,{...e,strokeWidth:ae}),d7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M5.5 4.5C5.5 4.40714 5.52586 4.31612 5.57467 4.23713C5.62349 4.15815 5.69334 4.09431 5.77639 4.05279C5.85945 4.01126 5.95242 3.99368 6.0449 4.00202C6.13738 4.01036 6.22572 4.04429 6.3 4.1L10.967 7.6C11.0291 7.64657 11.0795 7.70697 11.1142 7.77639C11.1489 7.84582 11.167 7.92238 11.167 8C11.167 8.07762 11.1489 8.15418 11.1142 8.22361C11.0795 8.29303 11.0291 8.35343 10.967 8.4L6.3 11.9C6.22572 11.9557 6.13738 11.9896 6.0449 11.998C5.95242 12.0063 5.85945 11.9887 5.77639 11.9472C5.69334 11.9057 5.62349 11.8419 5.57467 11.7629C5.52586 11.6839 5.5 11.5929 5.5 11.5V4.5Z",fill:"currentColor"})}),TI=e=>c.jsx(d7,{...e,strokeWidth:se}),LI=e=>c.jsx(d7,{...e,strokeWidth:ae}),f7=({size:e=14,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12 10L8.70711 6.70711C8.31658 6.31658 7.68342 6.31658 7.29289 6.70711L4 10",stroke:"currentColor"})}),h7=e=>c.jsx(f7,{...e,strokeWidth:se}),PI=e=>c.jsx(f7,{...e,strokeWidth:ae}),p7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.5 2.5L13.5 13.5",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 2.5L2.5 13.5",stroke:"currentColor"})]}),Kl=e=>c.jsx(p7,{...e,strokeWidth:se}),NI=e=>c.jsx(p7,{...e,strokeWidth:ae}),m7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.5 3.5L12.5 12.5",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 3.5L3.5 12.5",stroke:"currentColor"})]}),r2=e=>c.jsx(m7,{...e,strokeWidth:se}),zI=e=>c.jsx(m7,{...e,strokeWidth:ae}),g7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 8A7 7 0 1 1 1 8A7 7 0 1 1 15 8ZM6.409 10.652L5.348 9.591L6.939 8L5.348 6.409L6.409 5.348L8 6.939L9.591 5.348L10.652 6.409L9.061 8L10.652 9.591L9.591 10.652L8 9.061Z",fill:"currentColor"})}),AI=e=>c.jsx(g7,{...e,strokeWidth:se}),RI=e=>c.jsx(g7,{...e,strokeWidth:ae}),v7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.52075",y:"4.07373",width:"10.3932",height:"10.3932",rx:"2",stroke:"currentColor"}),c.jsx("path",{d:"M11.9792 1.53296C13.36 1.53296 14.4792 2.65225 14.4792 4.03296V9.42847C14.4792 10.3756 13.9521 11.1987 13.1755 11.6228V10.3298C13.3652 10.0787 13.4792 9.7674 13.4792 9.42847V4.03296C13.4792 3.20453 12.8077 2.53296 11.9792 2.53296H6.58374C6.27966 2.53301 5.99684 2.6235 5.7605 2.77905H4.42358C4.85652 2.03463 5.66056 1.53304 6.58374 1.53296H11.9792Z",fill:"currentColor"})]}),o2=e=>c.jsx(v7,{...e,strokeWidth:se}),DI=e=>c.jsx(v7,{...e,strokeWidth:ae}),w7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5C9.9001 1.5 11.7001 2.3 13.0001 3.6L14.5001 5.1",stroke:"currentColor"}),c.jsx("path",{d:"M14.4999 1.5V5.1H10.8999",stroke:"currentColor"})]}),x7=e=>c.jsx(w7,{...e,strokeWidth:se}),FI=e=>c.jsx(w7,{...e,strokeWidth:ae}),y7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",stroke:"currentColor"})}),$I=e=>c.jsx(y7,{...e,strokeWidth:se}),HI=e=>c.jsx(y7,{...e,strokeWidth:ae}),_7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M13.537 8.12098L12.3983 12.8455C12.1818 13.7438 11.378 14.3769 10.454 14.3769L9.35595 14.3769H7.43799H5.16577C3.50892 14.3769 2.16577 13.0337 2.16577 11.3769V7.88668C2.16577 7.33439 2.61349 6.88668 3.16577 6.88668H4.02665C5.84943 6.88668 7.38083 3.28711 7.67689 2.54578C7.71259 2.45639 7.73501 2.36373 7.77922 2.27824C7.86506 2.11221 8.08228 1.87578 8.59039 2.07775C10.3291 2.76886 9.23144 6.04071 8.96955 6.75058C8.94502 6.81707 8.99495 6.88668 9.06581 6.88668H12.5648C13.2119 6.88668 13.6886 7.49192 13.537 8.12098Z",fill:"currentColor",stroke:"currentColor"})}),VI=e=>c.jsx(_7,{...e,strokeWidth:se}),BI=e=>c.jsx(_7,{...e,strokeWidth:ae}),b7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",stroke:"currentColor"})}),ZI=e=>c.jsx(b7,{...e,strokeWidth:se}),WI=e=>c.jsx(b7,{...e,strokeWidth:ae}),C7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M2.46302 8.06749L3.60171 3.34299C3.81822 2.44467 4.62196 1.81162 5.546 1.8116L6.64406 1.81158L8.56202 1.81158L10.8342 1.81158C12.4911 1.81158 13.8342 3.15473 13.8342 4.81158L13.8342 8.3018C13.8342 8.85408 13.3865 9.3018 12.8342 9.3018L11.9734 9.3018C10.1506 9.3018 8.61918 12.9014 8.32311 13.6427C8.28741 13.7321 8.26499 13.8247 8.22078 13.9102C8.13494 14.0763 7.91772 14.3127 7.40961 14.1107C5.67089 13.4196 6.76856 10.1478 7.03045 9.43789C7.05498 9.37141 7.00505 9.3018 6.93419 9.3018L3.43519 9.3018C2.78811 9.3018 2.31141 8.69656 2.46302 8.06749Z",fill:"currentColor",stroke:"currentColor"})}),UI=e=>c.jsx(C7,{...e,strokeWidth:se}),qI=e=>c.jsx(C7,{...e,strokeWidth:ae}),k7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1256 7.58723C14.3483 7.81942 14.3482 8.18589 14.1254 8.41799L8.6646 14.1077C8.53985 14.2377 8.32031 14.1494 8.32031 13.9692L8.32035 10.2039C8.32035 10.1943 8.31534 10.1864 8.30592 10.1849C8.08306 10.148 5.30067 9.7729 1.50993 13.2904C1.49711 13.3023 1.47561 13.2943 1.4757 13.2768C1.49273 9.87168 3.42001 5.07166 8.29999 5.05835C8.31103 5.05832 8.32035 5.04937 8.32035 5.03832L8.32031 2.03109C8.32031 1.85088 8.53993 1.76259 8.66466 1.89266L14.1256 7.58723Z",stroke:"currentColor"})}),GI=e=>c.jsx(k7,{...e,strokeWidth:se}),KI=e=>c.jsx(k7,{...e,strokeWidth:ae}),S7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.15479 4.91687H9.84543",stroke:"currentColor"}),c.jsx("path",{d:"M11.8798 9.55347V2.71525C11.8798 2.37416 11.564 2.09766 11.1744 2.09766H4.82577C4.43618 2.09766 4.12036 2.37416 4.12036 2.71525V9.55347",stroke:"currentColor"}),c.jsx("path",{d:"M2.28735 13.8022V8.84792C2.28735 8.77514 2.36262 8.72673 2.42884 8.75693L13.2936 13.7112C13.3914 13.7558 13.3596 13.9022 13.2521 13.9022H2.38735C2.33213 13.9022 2.28735 13.8575 2.28735 13.8022Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.46929 10.979L13.5783 8.7416C13.6435 8.7177 13.7126 8.76601 13.7126 8.83551L13.7125 13.8022C13.7125 13.8574 13.6678 13.9022 13.6125 13.9022H7.99999",stroke:"currentColor"}),c.jsx("path",{d:"M6.15479 7.2395H9.05644",stroke:"currentColor"})]}),YI=e=>c.jsx(S7,{...e,strokeWidth:se}),JI=e=>c.jsx(S7,{...e,strokeWidth:ae}),E7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.85596 2.69971H4.19971C3.37141 2.69971 2.69992 3.37146 2.69971 4.19971V11.8003C2.69992 12.6285 3.37141 13.3003 4.19971 13.3003H11.8003C12.6283 13.2999 13.3001 12.6283 13.3003 11.8003V7.89893H14.3003V11.8003C14.3001 13.1806 13.1806 14.2999 11.8003 14.3003H4.19971C2.81913 14.3003 1.69992 13.1808 1.69971 11.8003V4.19971C1.69992 2.81918 2.81913 1.69971 4.19971 1.69971H8.85596V2.69971Z",fill:"currentColor"}),c.jsx("path",{d:"M7.7849 8.23878L13.888 2.13574",stroke:"currentColor"})]}),XI=e=>c.jsx(E7,{...e,strokeWidth:se}),QI=e=>c.jsx(E7,{...e,strokeWidth:ae}),j7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M10.2854 5.71481C12.9673 8.39663 14.1182 11.5938 12.8562 12.8559C11.5942 14.1179 8.39706 12.9669 5.71518 10.2851C3.03333 7.60323 1.88236 4.40608 3.14441 3.14403C4.40644 1.882 7.6036 3.03297 10.2854 5.71481Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.2854 10.2851C7.6036 12.9669 4.40644 14.1179 3.14441 12.8559C1.88236 11.5938 3.03333 8.39663 5.71518 5.71481C8.39706 3.03297 11.5942 1.882 12.8562 3.14403C14.1182 4.40608 12.9673 7.60323 10.2854 10.2851Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.86291 8.0002C8.86291 8.47549 8.47762 8.86087 8.00224 8.86087C7.52694 8.86087 7.1416 8.47549 7.1416 8.0002C7.1416 7.52485 7.52694 7.13953 8.00224 7.13953C8.47762 7.13953 8.86291 7.52485 8.86291 8.0002Z",fill:"currentColor"})]}),eM=e=>c.jsx(j7,{...e,strokeWidth:se}),tM=e=>c.jsx(j7,{...e,strokeWidth:ae}),I7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.51867 12.3282C7.29816 12.6011 8.16475 12.6514 9.02269 12.4216C9.57879 12.2726 10.0784 12.0185 10.5087 11.6888C10.7819 12.0555 11.1606 12.3304 11.5913 12.4805C10.9688 13.029 10.2149 13.4478 9.35911 13.6771C8.13946 14.0038 6.90632 13.8971 5.82126 13.4533C6.15821 13.1562 6.4021 12.7652 6.51867 12.3282ZM9.17629 2.89409C11.1101 3.34433 12.739 4.81872 13.2889 6.87043C13.4219 7.3665 13.4811 7.8649 13.4774 8.35466C13.0924 8.13213 12.6422 8.01837 12.1741 8.05276L12.1711 8.05257C12.1539 7.77199 12.109 7.48889 12.0334 7.20684C11.6363 5.72533 10.5048 4.6372 9.13549 4.22844C9.25559 3.87667 9.29214 3.49087 9.22309 3.09892C9.2108 3.02922 9.19451 2.96108 9.17629 2.89409ZM4.7311 3.89107L4.78302 4.11879C4.87648 4.4488 5.04146 4.74263 5.25579 4.98896C3.98078 6.01355 3.35848 7.72904 3.8089 9.41059C3.81828 9.44559 3.82866 9.48025 3.83885 9.51479C3.38217 9.61268 2.98548 9.84137 2.68107 10.1556C2.63414 10.022 2.5897 9.88632 2.55244 9.74726C1.93301 7.43489 2.86717 5.07173 4.71504 3.76697L4.7311 3.89107Z",fill:"currentColor"}),c.jsx("path",{d:"M7.99136 5.28105C8.87501 5.28105 9.59136 4.56471 9.59136 3.68105C9.59136 2.7974 8.87501 2.08105 7.99136 2.08105C7.1077 2.08105 6.39136 2.7974 6.39136 3.68105C6.39136 4.56471 7.1077 5.28105 7.99136 5.28105Z",stroke:"currentColor"}),c.jsx("path",{d:"M3.94009 12.9417C4.82374 12.9417 5.54009 12.2254 5.54009 11.3417C5.54009 10.458 4.82374 9.7417 3.94009 9.7417C3.05643 9.7417 2.34009 10.458 2.34009 11.3417C2.34009 12.2254 3.05643 12.9417 3.94009 12.9417Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.0851 12.9417C12.9688 12.9417 13.6851 12.2254 13.6851 11.3417C13.6851 10.458 12.9688 9.7417 12.0851 9.7417C11.2015 9.7417 10.4851 10.458 10.4851 11.3417C10.4851 12.2254 11.2015 12.9417 12.0851 12.9417Z",stroke:"currentColor"})]}),nM=e=>c.jsx(I7,{...e,strokeWidth:se}),rM=e=>c.jsx(I7,{...e,strokeWidth:ae}),oM=e=>c.jsx(n2,{...e,strokeWidth:se}),iM=e=>c.jsx(n2,{...e,strokeWidth:ae}),M7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5 2.5H3.5C3.23478 2.5 2.98043 2.60536 2.79289 2.79289C2.60536 2.98043 2.5 3.23478 2.5 3.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V3.5C13.5 3.23478 13.3946 2.98043 13.2071 2.79289C13.0196 2.60536 12.7652 2.5 12.5 2.5H11",stroke:"currentColor"}),c.jsx("path",{d:"M8 0.5V7.5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 5L8 7.5L10.5 5",stroke:"currentColor"}),c.jsx("path",{d:"M5.5 11H10.5",stroke:"currentColor"})]}),sM=e=>c.jsx(M7,{...e,strokeWidth:se}),aM=e=>c.jsx(M7,{...e,strokeWidth:ae}),O7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59961 9.40051C6.82779 9.6334 7.10015 9.81842 7.40074 9.94472C7.70132 10.071 8.02409 10.1361 8.35013 10.1361C8.67618 10.1361 8.99894 10.071 9.29953 9.94472C9.60011 9.81842 9.87247 9.6334 10.1007 9.40051L12.9015 6.59967C13.3658 6.13541 13.6266 5.50572 13.6266 4.84915C13.6266 4.19258 13.3658 3.56289 12.9015 3.09863C12.4372 2.63436 11.8075 2.37354 11.151 2.37354C10.4944 2.37354 9.86472 2.63436 9.40045 3.09863L9.05034 3.44873",stroke:"currentColor"}),c.jsx("path",{d:"M9.40051 6.59959C9.17233 6.3667 8.89997 6.18169 8.59939 6.05538C8.2988 5.92907 7.97603 5.86401 7.64999 5.86401C7.32395 5.86401 7.00118 5.92907 6.70059 6.05538C6.40001 6.18169 6.12765 6.3667 5.89946 6.59959L3.09863 9.40043C2.63436 9.8647 2.37354 10.4944 2.37354 11.151C2.37354 11.8075 2.63436 12.4372 3.09863 12.9015C3.56289 13.3657 4.19258 13.6266 4.84915 13.6266C5.50572 13.6266 6.13541 13.3657 6.59967 12.9015L6.94978 12.5514",stroke:"currentColor"})]}),lM=e=>c.jsx(O7,{...e,strokeWidth:se}),cM=e=>c.jsx(O7,{...e,strokeWidth:ae}),T7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M11.7256 2.77441C12.5538 2.77469 13.2256 3.44616 13.2256 4.27441V10.1416H12.2256V4.27441C12.2256 3.99844 12.0015 3.77469 11.7256 3.77441H5.7207V2.77441H11.7256Z",fill:"currentColor"}),c.jsx("path",{d:"M2.77441 13.2255L12.3756 3.62427",stroke:"currentColor"})]}),uM=e=>c.jsx(T7,{...e,strokeWidth:se}),dM=e=>c.jsx(T7,{...e,strokeWidth:ae}),L7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.98486 2.95374H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 6.31787H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 9.68213H14.0151",stroke:"currentColor"}),c.jsx("path",{d:"M1.98486 13.0463H8.4627",stroke:"currentColor"})]}),fM=e=>c.jsx(L7,{...e,strokeWidth:se}),hM=e=>c.jsx(L7,{...e,strokeWidth:ae}),P7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M1.28149 3.88831H14.7187",stroke:"currentColor"}),c.jsx("path",{d:"M5.41602 3.88833V2.47962C5.41602 2.29282 5.52492 2.11366 5.71876 1.98157C5.9126 1.84948 6.17551 1.77527 6.44964 1.77527H9.55053C9.82466 1.77527 10.0876 1.84948 10.2814 1.98157C10.4753 2.11366 10.5842 2.29282 10.5842 2.47962V3.88833",stroke:"currentColor"}),c.jsx("path",{d:"M2.57349 3.88831L3.19366 13.2943C3.21937 13.5502 3.33952 13.7872 3.53065 13.9593C3.72178 14.1313 3.97016 14.2259 4.22729 14.2246H11.7728C12.0299 14.2259 12.2783 14.1313 12.4694 13.9593C12.6605 13.7872 12.7807 13.5502 12.8064 13.2943L13.4266 3.88831",stroke:"currentColor"}),c.jsx("path",{d:"M6.44946 6.98926V11.1238",stroke:"currentColor"}),c.jsx("path",{d:"M9.55054 6.98926V11.1238",stroke:"currentColor"})]}),pM=e=>c.jsx(P7,{...e,strokeWidth:se}),mM=e=>c.jsx(P7,{...e,strokeWidth:ae}),N7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.29199V9.79199",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.708V11.708",stroke:"currentColor"})]}),z7=e=>c.jsx(N7,{...e,strokeWidth:se}),gM=e=>c.jsx(N7,{...e,strokeWidth:ae}),A7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M28.1936 14.6936L19.8066 23.0806C19.2373 23.65 18.7159 24.1742 18.24 24.5571C17.7389 24.9602 17.1365 25.3359 16.3657 25.458C15.9581 25.5225 15.5428 25.5225 15.1353 25.458C14.3645 25.3359 13.7621 24.9602 13.261 24.5571C12.7851 24.1742 12.2637 23.65 11.6943 23.0806L7.80737 19.1936L10.1936 16.8074L14.0806 20.6943C14.7033 21.317 15.0763 21.6873 15.377 21.9292C15.6523 22.1507 15.7109 22.1325 15.6626 22.1248C15.7208 22.1339 15.7802 22.1339 15.8384 22.1248C15.7901 22.1325 15.8486 22.1507 16.124 21.9292C16.4247 21.6873 16.7977 21.317 17.4204 20.6943L25.8074 12.3074L28.1936 14.6936Z",fill:"currentColor"}),c.jsx("path",{d:"M32.8496 18.0005C32.8496 9.79906 26.2019 3.15137 18.0005 3.15137C9.79906 3.15137 3.15137 9.79906 3.15137 18.0005C3.15137 26.2019 9.79906 32.8496 18.0005 32.8496C26.2019 32.8496 32.8496 26.2019 32.8496 18.0005ZM35.7764 18.0005C35.7764 27.8173 27.8173 35.7764 18.0005 35.7764C8.18363 35.7764 0.224609 27.8173 0.224609 18.0005C0.224609 8.18363 8.18363 0.224609 18.0005 0.224609C27.8173 0.224609 35.7764 8.18363 35.7764 18.0005Z",fill:"currentColor"})]}),vM=e=>c.jsx(A7,{...e,strokeWidth:se}),wM=e=>c.jsx(A7,{...e,strokeWidth:ae}),R7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("path",{d:"M6.87 2.6a1.33 1.33 0 0 1 2.26 0l5.34 9.33A1.33 1.33 0 0 1 13.33 14H2.67a1.33 1.33 0 0 1-1.14-2.07Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 6v3m0 2.33h.01",stroke:"currentColor"})]}),xM=e=>c.jsx(R7,{...e,strokeWidth:se}),yM=e=>c.jsx(R7,{...e,strokeWidth:ae}),D7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 8.25C9.51878 8.25 10.75 7.01878 10.75 5.5C10.75 3.98122 9.51878 2.75 8 2.75C6.48122 2.75 5.25 3.98122 5.25 5.5C5.25 7.01878 6.48122 8.25 8 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 14.5C2.5 11.5 5.25 10.25 8 10.25C10.75 10.25 13.5 11.5 13.5 14.5",stroke:"currentColor"})]}),_M=e=>c.jsx(D7,{...e,strokeWidth:se}),bM=e=>c.jsx(D7,{...e,strokeWidth:ae}),F7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 8.25C7.51878 8.25 8.75 7.01878 8.75 5.5C8.75 3.98122 7.51878 2.75 6 2.75C4.48122 2.75 3.25 3.98122 3.25 5.5C3.25 7.01878 4.48122 8.25 6 8.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M1 14.5C1 11.5 3.5 10.25 6 10.25C8.5 10.25 11 11.5 11 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M10.5 2.9C11.65 3.35 12.45 4.35 12.45 5.5C12.45 6.65 11.65 7.65 10.5 8.1",stroke:"currentColor"}),c.jsx("path",{d:"M12.4 10.6C13.9 11.3 15 12.6 15 14.5",stroke:"currentColor"})]}),CM=e=>c.jsx(F7,{...e,strokeWidth:se}),kM=e=>c.jsx(F7,{...e,strokeWidth:ae}),$7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.74024 9.11029L1.82882 7.79865C1.75022 7.76323 1.75026 7.65161 1.82889 7.61626L12.9665 2.60943C13.0354 2.57846 13.1125 2.63213 13.1073 2.70749L12.3914 13.1388C12.3864 13.2117 12.3073 13.2548 12.2433 13.2194L6.12677 9.83657",stroke:"currentColor"}),c.jsx("path",{d:"M8.44336 11.0825L6.2832 13.2843C6.22048 13.3482 6.11182 13.3038 6.11182 13.2143V9.86772C6.11182 9.84165 6.122 9.8166 6.1402 9.79793L12.972 2.78748",stroke:"currentColor"})]}),SM=e=>c.jsx($7,{...e,strokeWidth:se}),EM=e=>c.jsx($7,{...e,strokeWidth:ae}),H7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.5 2.5H3.5C2.94772 2.5 2.5 2.94772 2.5 3.5V12.5C2.5 13.0523 2.94772 13.5 3.5 13.5H12.5C13.0523 13.5 13.5 13.0523 13.5 12.5V3.5C13.5 2.94772 13.0523 2.5 12.5 2.5Z",fill:"currentColor"})}),jM=e=>c.jsx(H7,{...e,strokeWidth:se}),IM=e=>c.jsx(H7,{...e,strokeWidth:ae}),V7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.75 4.5V9.5C12.75 10.7598 12.2496 11.968 11.3588 12.8588C10.468 13.7496 9.25978 14.25 8 14.25C6.74022 14.25 5.53204 13.7496 4.64124 12.8588C3.75045 11.968 3.25 10.7598 3.25 9.5V5C3.25 4.13805 3.59241 3.3114 4.2019 2.7019C4.8114 2.09241 5.63805 1.75 6.5 1.75C7.36195 1.75 8.1886 2.09241 8.7981 2.7019C9.40759 3.3114 9.75 4.13805 9.75 5V9.5C9.75 9.96413 9.56563 10.4092 9.23744 10.7374C8.90925 11.0656 8.46413 11.25 8 11.25C7.53587 11.25 7.09075 11.0656 6.76256 10.7374C6.43437 10.4092 6.25 9.96413 6.25 9.5V5.5",stroke:"currentColor"})}),MM=e=>c.jsx(V7,{...e,strokeWidth:se}),OM=e=>c.jsx(V7,{...e,strokeWidth:ae}),B7=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M12.596 12.596C11.687 13.5049 10.5288 14.1239 9.26798 14.3747C8.00716 14.6255 6.70028 14.4968 5.51261 14.0048C4.32494 13.5129 3.30981 12.6798 2.59557 11.611C1.88134 10.5421 1.50008 9.2855 1.5 7.99998C1.50008 6.71446 1.88134 5.45783 2.59557 4.38898C3.30981 3.32013 4.32494 2.48707 5.51261 1.99513C6.70028 1.50319 8.00716 1.37447 9.26798 1.62524C10.5288 1.87602 11.687 2.49502 12.596 3.40398",stroke:"currentColor"})}),Z7=e=>c.jsx(B7,{...e,strokeWidth:se}),TM=e=>c.jsx(B7,{...e,strokeWidth:ae}),W7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 1.95317V10.0469",stroke:"currentColor"}),c.jsx("path",{d:"M4.25 6.29688L8 10.0469L11.75 6.29688",stroke:"currentColor"}),c.jsx("path",{d:"M1.5 10.0469V13.158C1.5 13.3937 1.60536 13.6198 1.79289 13.7865C1.98043 13.9532 2.23478 14.0469 2.5 14.0469H13.5C13.7652 14.0469 14.0196 13.9532 14.2071 13.7865C14.3946 13.6198 14.5 13.3937 14.5 13.158V10.0469",stroke:"currentColor"})]}),LM=e=>c.jsx(W7,{...e,strokeWidth:se}),PM=e=>c.jsx(W7,{...e,strokeWidth:ae}),U7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.3329 7.91346C10.3996 7.95195 10.3996 8.04818 10.3329 8.08667L6.78304 10.1362C6.71638 10.1747 6.63304 10.1266 6.63304 10.0496L6.63304 5.95055C6.63304 5.87357 6.71638 5.82546 6.78304 5.86395L10.3329 7.91346Z",stroke:"currentColor"})]}),NM=e=>c.jsx(U7,{...e,strokeWidth:se}),zM=e=>c.jsx(U7,{...e,strokeWidth:ae}),q7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 5V11",stroke:"currentColor"}),c.jsx("path",{d:"M9.5 5V11",stroke:"currentColor"})]}),AM=e=>c.jsx(q7,{...e,strokeWidth:se}),RM=e=>c.jsx(q7,{...e,strokeWidth:ae}),G7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.33154 9.40576V13.1685C2.3318 13.4444 2.55556 13.6685 2.83154 13.6685H6.49463V14.6685H2.83154C2.00328 14.6685 1.3318 13.9967 1.33154 13.1685V9.40576H2.33154ZM13.1685 1.33154C13.9964 1.33199 14.6683 2.00352 14.6685 2.83154V6.40576H13.6685V2.83154C13.6683 2.5558 13.4441 2.33199 13.1685 2.33154H9.49463V1.33154H13.1685Z",fill:"currentColor"}),c.jsx("path",{d:"M9.4292 6.57077L13.914 2.08594",stroke:"currentColor"}),c.jsx("path",{d:"M6.57077 9.4292L2.08594 13.914",stroke:"currentColor"})]}),DM=e=>c.jsx(G7,{...e,strokeWidth:se}),FM=e=>c.jsx(G7,{...e,strokeWidth:ae}),K7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.27612 1.5L4.52612 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.4739 1.5L9.72388 14.5",stroke:"currentColor"}),c.jsx("path",{d:"M2.39868 5.5H14.0681",stroke:"currentColor"}),c.jsx("path",{d:"M1.93188 10.5H13.6013",stroke:"currentColor"})]}),$M=e=>c.jsx(K7,{...e,strokeWidth:se}),HM=e=>c.jsx(K7,{...e,strokeWidth:ae}),Y7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.16143 6.59068L1.75205 8.00006L3.10619 9.35419L2.39908 10.0613L0.832948 8.49517C0.559581 8.2218 0.559582 7.77831 0.832948 7.50494L2.45432 5.88357L3.16143 6.59068ZM8.49511 15.1671C8.22176 15.4405 7.77826 15.4404 7.50489 15.1671L5.93461 13.5968L6.64172 12.8897L8 14.248L9.40938 12.8386L10.1165 13.5457L8.49511 15.1671ZM15.1671 7.50494C15.4403 7.7782 15.4401 8.22179 15.1671 8.49517L13.652 10.0102L12.9449 9.30309L14.248 8.00006L12.8897 6.64178L13.5968 5.93467L15.1671 7.50494ZM9.35414 3.10624L8 1.7521L6.69696 3.05514L5.98986 2.34803L7.50489 0.833003C7.77828 0.559981 8.22186 0.559752 8.49511 0.833003L10.0612 2.39913L9.35414 3.10624Z",fill:"currentColor"}),c.jsx("circle",{cx:"8",cy:"8",r:"1.76221",stroke:"currentColor"})]}),VM=e=>c.jsx(Y7,{...e,strokeWidth:se}),BM=e=>c.jsx(Y7,{...e,strokeWidth:ae}),J7=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3 4L7 8L3 12",stroke:"currentColor"}),c.jsx("path",{d:"M9 12H13",stroke:"currentColor"})]}),ZM=e=>c.jsx(J7,{...e,strokeWidth:se}),WM=e=>c.jsx(J7,{...e,strokeWidth:ae}),X7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.25 7.16357C3.20417 7.32247 3.17778 7.48993 3.17773 7.66357C3.17773 7.83698 3.20336 8.00486 3.24902 8.16357H1.85742V7.16357H3.25ZM14.1426 8.16357H6.71484C6.76052 8.00485 6.78613 7.837 6.78613 7.66357C6.78609 7.48991 6.75971 7.32249 6.71387 7.16357H14.1426V8.16357Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1377 11.9092C9.08596 12.0666 9.05668 12.2344 9.05664 12.4092C9.05664 12.5838 9.08606 12.7518 9.1377 12.9092H1.85742V11.9092H9.1377ZM14.1426 12.9092H12.1816C12.2332 12.7519 12.2617 12.5838 12.2617 12.4092C12.2617 12.2345 12.2333 12.0666 12.1816 11.9092H14.1426V12.9092Z",fill:"currentColor"}),c.jsx("path",{d:"M9.1123 3.09106C9.06138 3.24865 9.03324 3.41653 9.0332 3.59106C9.0332 3.76549 9.06148 3.93355 9.1123 4.09106H1.85742V3.09106H9.1123ZM14.1426 4.09106H12.207C12.2578 3.93358 12.2861 3.76545 12.2861 3.59106C12.2861 3.41657 12.2579 3.24862 12.207 3.09106H14.1426V4.09106Z",fill:"currentColor"}),c.jsx("circle",{cx:"4.97065",cy:"7.66401",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"12.4091",r:"1.35151",stroke:"currentColor"}),c.jsx("circle",{cx:"10.6596",cy:"3.59101",r:"1.35151",stroke:"currentColor"})]}),UM=e=>c.jsx(X7,{...e,strokeWidth:se}),qM=e=>c.jsx(X7,{...e,strokeWidth:ae}),Q7=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.54492 2.06738C5.91034 2.06754 6.26318 2.20149 6.53711 2.44336L7.94043 3.68164V4.7998C7.71462 4.74105 7.50367 4.63139 7.32617 4.47461L5.87598 3.19238C5.78477 3.11185 5.66658 3.06754 5.54492 3.06738H2.94922C2.67322 3.06738 2.44946 3.29145 2.44922 3.56738V12.4326C2.44927 12.7087 2.67311 12.9326 2.94922 12.9326H12.9326C13.2086 12.9325 13.4326 12.7086 13.4326 12.4326V8.53613H14.4326V12.4326C14.4326 13.2609 13.7609 13.9325 12.9326 13.9326H2.94922C2.12083 13.9326 1.44927 13.261 1.44922 12.4326V3.56738C1.44946 2.73916 2.12094 2.06738 2.94922 2.06738H5.54492Z",fill:"currentColor"}),c.jsx("path",{d:"M9.75977 4.50208H14.5509",stroke:"currentColor"}),c.jsx("path",{d:"M12.1492 6.89758L12.1492 2.10642",stroke:"currentColor"})]}),GM=e=>c.jsx(Q7,{...e,strokeWidth:se}),KM=e=>c.jsx(Q7,{...e,strokeWidth:ae}),ep=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.3994 13.5986H2.04956C1.49728 13.5986 1.04956 13.1509 1.04956 12.5986V3.40137C1.04956 2.84908 1.49728 2.40137 2.04956 2.40137H4.76632C5.01016 2.40137 5.24561 2.49046 5.42836 2.6519L6.94088 3.98799C7.12364 4.14943 7.35908 4.23852 7.60293 4.23852H12.3994C12.9517 4.23852 13.3994 4.68624 13.3994 5.23852V7.16991",stroke:"currentColor"}),c.jsx("path",{d:"M2.55911 7.93683C2.67584 7.49906 3.07229 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55911 7.93683Z",stroke:"currentColor"})]}),YM=e=>c.jsx(ep,{...e,strokeWidth:se}),JM=e=>c.jsx(ep,{...e,strokeWidth:ae}),tp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.55912 7.93683C2.67584 7.49906 3.0723 7.19446 3.52536 7.19446H13.6491C14.3061 7.19446 14.7846 7.81725 14.6153 8.45209L13.4411 12.856C13.3244 13.2938 12.9279 13.5984 12.4748 13.5984H2.35113C1.69411 13.5984 1.21562 12.9756 1.38489 12.3407L2.55912 7.93683Z",fill:"currentColor",opacity:"0.16"}),c.jsx("path",{d:"M13.6491 6.69446C14.6346 6.69453 15.3522 7.62895 15.0983 8.58118L13.9245 12.9845C13.7494 13.6412 13.1539 14.0988 12.4743 14.0988H2.35126C1.36574 14.0988 0.648153 13.1643 0.902044 12.212L2.07587 7.80774C2.25102 7.15128 2.84567 6.69455 3.52509 6.69446H13.6491ZM3.52509 7.69446C3.29865 7.69455 3.10004 7.84674 3.04169 8.06555L1.86786 12.4698C1.78345 12.7872 2.02285 13.0988 2.35126 13.0988H12.4743C12.7007 13.0988 12.8992 12.9463 12.9577 12.7277L14.1325 8.32336C14.2171 8.00598 13.9776 7.69453 13.6491 7.69446H3.52509Z",fill:"currentColor"}),c.jsx("path",{d:"M4.7666 1.90137C5.13227 1.90144 5.48571 2.03525 5.75977 2.27734L7.27246 3.61328C7.36379 3.69382 7.48174 3.73828 7.60352 3.73828H12.3994C13.2276 3.73841 13.8993 4.41005 13.8994 5.23828V6.7168C13.8183 6.70327 13.735 6.69436 13.6494 6.69434H12.8994V5.23828C12.8993 4.96233 12.6754 4.73841 12.3994 4.73828H7.60352C7.23781 4.73828 6.88446 4.60438 6.61035 4.3623L5.09766 3.02637C5.00636 2.94576 4.88838 2.90144 4.7666 2.90137H2.0498C1.77366 2.90137 1.5498 3.12523 1.5498 3.40137V9.78223L0.902344 12.2119C0.648452 13.1642 1.36604 14.0986 2.35156 14.0986H2.0498C1.2214 14.0986 0.549838 13.427 0.549805 12.5986V3.40137C0.549805 2.57294 1.22138 1.90137 2.0498 1.90137H4.7666Z",fill:"currentColor"})]}),XM=e=>c.jsx(tp,{...e,strokeWidth:se}),QM=e=>c.jsx(tp,{...e,strokeWidth:ae}),eO=e=>c.jsx(Gl,{...e,strokeWidth:se}),tO=e=>c.jsx(Gl,{...e,strokeWidth:ae}),np=({size:e=10,className:t,strokeWidth:n})=>c.jsx("svg",{width:e*8/10,height:e,className:t,viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M0.5 0V7C0.5 7.79565 0.81607 8.55871 1.37868 9.12132C1.94129 9.68393 2.70435 10 3.5 10H8.5",stroke:"currentColor"})}),nO=e=>c.jsx(np,{...e,strokeWidth:se}),rO=e=>c.jsx(np,{...e,strokeWidth:ae}),rp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8.00007 11.8117C10.1052 11.8117 11.8117 10.1052 11.8117 8.00007C11.8117 5.89499 10.1052 4.18848 8.00007 4.18848C5.89499 4.18848 4.18848 5.89499 4.18848 8.00007C4.18848 10.1052 5.89499 11.8117 8.00007 11.8117Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.3899 8H15.1499",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 11.8115L13.0556 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M8 13.3901V15.1501",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 11.8115L2.94458 13.0556",stroke:"currentColor"}),c.jsx("path",{d:"M2.6101 8H0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M4.18868 4.18856L2.94458 2.94446",stroke:"currentColor"}),c.jsx("path",{d:"M8 2.6101V0.850098",stroke:"currentColor"}),c.jsx("path",{d:"M11.8115 4.18856L13.0556 2.94446",stroke:"currentColor"})]}),oO=e=>c.jsx(rp,{...e,strokeWidth:se}),iO=e=>c.jsx(rp,{...e,strokeWidth:ae}),op=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:"M14.1127 8.70663C14.2576 8.60602 14.4627 8.71355 14.4386 8.88834C14.2901 9.96567 13.8731 10.9912 13.2229 11.8692C12.479 12.8735 11.4613 13.6421 10.2917 14.0829C9.1222 14.5236 7.85038 14.6179 6.62865 14.3543C5.40692 14.0907 4.28709 13.4805 3.40332 12.5967C2.51955 11.7129 1.90931 10.5931 1.64572 9.37135C1.38212 8.14962 1.47635 6.87779 1.91711 5.70825C2.35787 4.5387 3.12647 3.52103 4.13083 2.77714C5.00878 2.12689 6.03433 1.70994 7.11166 1.5614C7.28645 1.5373 7.39397 1.74238 7.29337 1.88734C6.68703 2.76099 6.37885 3.81241 6.42313 4.88345C6.47392 6.11194 6.98471 7.27645 7.85413 8.14587C8.72355 9.01529 9.88805 9.52608 11.1166 9.57687C12.1876 9.62114 13.239 9.31296 14.1127 8.70663Z",stroke:"currentColor"})}),sO=e=>c.jsx(op,{...e,strokeWidth:se}),aO=e=>c.jsx(op,{...e,strokeWidth:ae}),ip=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V11.5C1.5 12.0523 1.94772 12.5 2.5 12.5H13.5C14.0523 12.5 14.5 12.0523 14.5 11.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5 14.5H11",stroke:"currentColor"})]}),lO=e=>c.jsx(ip,{...e,strokeWidth:se}),cO=e=>c.jsx(ip,{...e,strokeWidth:ae}),sp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.8667 0.349609C8.96906 0.349634 10.0601 0.481272 11.0317 0.735352C11.9973 0.987845 12.8453 1.362 13.4644 1.84766C14.0744 2.32629 14.507 2.95539 14.5161 3.69336H14.5171V8.53516C14.0843 8.32076 13.6108 8.17679 13.1108 8.11816C13.1831 7.96848 13.2162 7.82856 13.2163 7.70312V5.76758C12.6269 6.16618 11.8739 6.47995 11.0317 6.7002C10.0602 6.95423 8.96896 7.08494 7.8667 7.08496C6.76461 7.08493 5.67411 6.95415 4.70264 6.7002C3.85994 6.48006 3.10694 6.1662 2.51709 5.76758V7.70312L2.521 7.78418C2.56374 8.19554 2.93361 8.74414 3.91357 9.23145C4.9281 9.73585 6.35004 10.0371 7.8667 10.0371C8.26373 10.0371 8.6543 10.0141 9.03271 9.97461C8.75596 10.3799 8.54664 10.8349 8.42041 11.3232C8.23666 11.3313 8.0518 11.3369 7.8667 11.3369C6.20108 11.3369 4.57025 11.01 3.33447 10.3955C3.04163 10.2499 2.76658 10.0836 2.51709 9.90039V11.6738C2.51728 12.1379 2.88589 12.7556 3.92236 13.292C4.93457 13.8157 6.35342 14.1289 7.8667 14.1289C8.12318 14.1289 8.37694 14.1161 8.62646 14.0986C8.82021 14.5535 9.08999 14.9682 9.41943 15.3271C8.91285 15.3934 8.39149 15.4287 7.8667 15.4287C6.19761 15.4287 4.56379 15.0869 3.32568 14.4463C2.11244 13.8185 1.21649 12.8562 1.21631 11.6738V3.76367C1.21595 3.74853 1.21438 3.733 1.21436 3.71777C1.21436 2.96917 1.65103 2.33053 2.26807 1.84668C2.88747 1.36112 3.73675 0.987685 4.70264 0.735352C5.67413 0.481376 6.76457 0.349636 7.8667 0.349609ZM7.8667 1.65039C6.86269 1.65042 5.88326 1.77028 5.03076 1.99316C4.17183 2.2176 3.50421 2.52956 3.06982 2.87012C2.65043 3.19909 2.52622 3.48898 2.51709 3.69336V3.74414C2.52719 3.94845 2.65185 4.23772 3.06982 4.56543C3.50425 4.90601 4.17172 5.21795 5.03076 5.44238C5.88326 5.66527 6.8627 5.78513 7.8667 5.78516C8.8707 5.78513 9.85015 5.66525 10.7026 5.44238C11.5611 5.21787 12.2286 4.9049 12.6626 4.56445C13.0982 4.22252 13.2163 3.9231 13.2163 3.71777L13.2104 3.63574C13.1818 3.43623 13.044 3.16941 12.6626 2.87012C12.2286 2.52957 11.5614 2.21773 10.7026 1.99316C9.85009 1.77025 8.8708 1.65041 7.8667 1.65039Z",fill:"currentColor"}),c.jsx("path",{d:"M12.8936 10.0361L13.2061 10.5566C13.2296 10.5959 13.2651 10.6562 13.3027 10.707C13.3469 10.7666 13.4148 10.8431 13.5195 10.9023C13.6244 10.9617 13.725 10.9801 13.7988 10.9873C13.8619 10.9934 13.9318 10.9932 13.9775 10.9932H14.6162L14.8896 11.4502L14.5947 11.9443C14.5698 11.9859 14.5312 12.0483 14.5029 12.1084C14.4781 12.1611 14.4514 12.2312 14.4395 12.3164L14.4326 12.4072L14.4395 12.4971C14.4514 12.5825 14.4781 12.6532 14.5029 12.7061C14.5312 12.7661 14.5689 12.8287 14.5938 12.8701L14.8896 13.3633L14.6162 13.8213H13.9775C13.9318 13.8213 13.8619 13.821 13.7988 13.8271C13.7433 13.8326 13.6728 13.8442 13.5967 13.875L13.5195 13.9121C13.4148 13.9714 13.3469 14.0478 13.3027 14.1074C13.265 14.1583 13.2296 14.2186 13.2061 14.2578L12.8936 14.7783H12.3115L11.999 14.2578C11.9755 14.2186 11.9401 14.1583 11.9023 14.1074C11.8693 14.0628 11.823 14.0083 11.7578 13.959L11.6855 13.9121L11.6074 13.875C11.5316 13.8445 11.4615 13.8325 11.4062 13.8271C11.3432 13.821 11.2733 13.8213 11.2275 13.8213H10.5889L10.3135 13.3633L10.6104 12.8701C10.6352 12.8287 10.6739 12.7661 10.7021 12.7061C10.7352 12.6357 10.7724 12.534 10.7725 12.4072C10.7724 12.2804 10.7352 12.1788 10.7021 12.1084C10.6739 12.0483 10.6353 11.9859 10.6104 11.9443L10.3135 11.4502L10.5889 10.9932H11.2275C11.2733 10.9932 11.3432 10.9934 11.4062 10.9873C11.4801 10.9801 11.5808 10.9616 11.6855 10.9023C11.7903 10.843 11.8582 10.7666 11.9023 10.707C11.94 10.6562 11.9755 10.5959 11.999 10.5566L12.3115 10.0361H12.8936Z",stroke:"currentColor",strokeMiterlimit:"10"})]}),ap=e=>c.jsx(sp,{...e,strokeWidth:se}),uO=e=>c.jsx(sp,{...e,strokeWidth:ae}),lp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.1967 5.1869C13.7232 4.77378 14.0003 4.30517 14.0001 3.82819C14.0003 3.3512 13.7232 2.88259 13.1967 2.46947C12.6702 2.05635 11.9128 1.71328 11.0006 1.47475C10.0885 1.23621 9.05371 1.11062 8.00039 1.1106C6.94707 1.11057 5.9123 1.23612 5.00009 1.47461C4.08742 1.71301 3.32948 2.05604 2.80249 2.46919C2.2755 2.88235 1.99805 3.35106 1.99805 3.82819C1.99805 4.30531 2.2755 4.77402 2.80249 5.18718C3.32948 5.60033 4.08742 5.94336 5.00009 6.18176C5.9123 6.42025 6.94707 6.5458 8.00039 6.54578C9.05371 6.54575 10.0885 6.42016 11.0006 6.18163C11.9128 5.94309 12.6702 5.60002 13.1967 5.1869Z",stroke:"currentColor"}),c.jsx("path",{d:"M2 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M14 3.80371V11.7848",stroke:"currentColor"}),c.jsx("path",{d:"M2 7.81396C2 8.60524 2.63214 9.36411 3.75736 9.92363C4.88258 10.4832 6.4087 10.7975 8 10.7975C9.5913 10.7975 11.1174 10.4832 12.2426 9.92363C13.3679 9.36411 14 8.60524 14 7.81396",stroke:"currentColor"}),c.jsx("path",{d:"M2 11.7847C2 12.6081 2.63214 13.3977 3.75736 13.98C4.88258 14.5622 6.4087 14.8893 8 14.8893C9.5913 14.8893 11.1174 14.5622 12.2426 13.98C13.3679 13.3977 14 12.6081 14 11.7847",stroke:"currentColor"})]}),dO=e=>c.jsx(lp,{...e,strokeWidth:se}),fO=e=>c.jsx(lp,{...e,strokeWidth:ae}),cp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 4.31V8.46L11 10.08",stroke:"currentColor"})]}),hO=e=>c.jsx(cp,{...e,strokeWidth:se}),pO=e=>c.jsx(cp,{...e,strokeWidth:ae}),up=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.4041 13.096C2.49514 12.187 1.87614 11.0288 1.62537 9.76798C1.37459 8.50716 1.50331 7.20028 1.99525 6.01261C2.48719 4.82494 3.32025 3.80981 4.3891 3.09557C5.45795 2.38134 6.71458 2.00008 8.0001 2C9.28563 2.00008 10.5423 2.38134 11.6111 3.09557C12.68 3.80981 13.513 4.82494 14.005 6.01261C14.4969 7.20028 14.6256 8.50716 14.3748 9.76798C14.1241 11.0288 13.5051 12.187 12.5961 13.096",stroke:"currentColor"}),c.jsx("path",{d:"M8 8.49994L11.6114 4.88855",stroke:"currentColor"}),c.jsx("path",{d:"M8 9.75C8.69036 9.75 9.25 9.19036 9.25 8.5C9.25 7.80964 8.69036 7.25 8 7.25C7.30964 7.25 6.75 7.80964 6.75 8.5C6.75 9.19036 7.30964 9.75 8 9.75Z",fill:"currentColor"})]}),mO=e=>c.jsx(up,{...e,strokeWidth:se}),gO=e=>c.jsx(up,{...e,strokeWidth:ae}),dp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.97211 1.94476C7.55785 1.35914 8.50767 1.35919 9.09343 1.94476L13.921 6.77228L13.2138 7.47939L8.38632 2.65187C8.19108 2.45682 7.87443 2.45677 7.67922 2.65187L2.74397 7.58711L2.03687 6.88L6.97211 1.94476Z",fill:"currentColor"}),c.jsx("path",{d:"M7.97571 14.5732L8.02421 2.34139",stroke:"currentColor"})]}),vO=e=>c.jsx(dp,{...e,strokeWidth:se}),wO=e=>c.jsx(dp,{...e,strokeWidth:ae}),fp=({size:e=14,...t})=>c.jsx(K8,{size:e,...t}),xO=e=>c.jsx(fp,{...e,strokeWidth:se}),yO=e=>c.jsx(fp,{...e,strokeWidth:ae}),hp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75 6.25C4.7165 6.25 5.5 5.4665 5.5 4.5C5.5 3.5335 4.7165 2.75 3.75 2.75C2.7835 2.75 2 3.5335 2 4.5C2 5.4665 2.7835 6.25 3.75 6.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 4.5H13.5",stroke:"currentColor"}),c.jsx("path",{d:"M3.75 13.25C4.7165 13.25 5.5 12.4665 5.5 11.5C5.5 10.5335 4.7165 9.75 3.75 9.75C2.7835 9.75 2 10.5335 2 11.5C2 12.4665 2.7835 13.25 3.75 13.25Z",stroke:"currentColor"}),c.jsx("path",{d:"M7.5 11.5H13.5",stroke:"currentColor"})]}),_O=e=>c.jsx(hp,{...e,strokeWidth:se}),bO=e=>c.jsx(hp,{...e,strokeWidth:ae}),i2=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.9375 5.90295H11.0625",stroke:"currentColor"}),c.jsx("path",{d:"M4.9375 9.02991H8.27841",stroke:"currentColor"}),c.jsx("path",{d:"M12.5 1.32617C13.3039 1.32617 14 1.95171 14 2.77637V7.61328L13 8.68164V2.77637C13 2.55186 12.8007 2.32617 12.5 2.32617H3.5C3.1993 2.32617 3 2.55186 3 2.77637V13.2246C3.00044 13.4489 3.19963 13.6738 3.5 13.6738H8.32812L7.39258 14.6738H3.5C2.69637 14.6738 2.00042 14.0489 2 13.2246V2.77637C2 1.95171 2.69613 1.32617 3.5 1.32617H12.5Z",fill:"currentColor"}),c.jsx("path",{d:"M8.97212 14.3693C9.17511 14.5723 9.37811 14.7753 9.5811 14.9783C9.67012 14.8953 9.75914 14.8123 9.84815 14.7293C11.4505 13.2352 13.0528 11.7411 14.6551 10.247C14.7441 10.164 14.8331 10.081 14.9221 9.99803C14.5989 9.6748 14.2756 9.35157 13.9524 9.02834C13.8694 9.11736 13.7864 9.20637 13.7034 9.29539C12.2093 10.8977 10.7152 12.5 9.22113 14.1023C9.13813 14.1913 9.05513 14.2803 8.97212 14.3693Z",fill:"currentColor"}),c.jsx("path",{d:"M11.6323 13.7841C11.6323 14.0395 11.6323 14.295 11.6323 14.5504C11.6812 14.5523 11.7301 14.5543 11.779 14.5562C12.659 14.5913 13.539 14.6263 14.419 14.6614C14.4679 14.6633 14.5168 14.6653 14.5657 14.6672C14.5657 14.3339 14.5657 14.0006 14.5657 13.6672C14.5168 13.6692 14.4679 13.6711 14.419 13.6731C13.539 13.7081 12.659 13.7432 11.779 13.7783C11.7301 13.7802 11.6812 13.7821 11.6323 13.7841Z",fill:"currentColor"})]}),CO=e=>c.jsx(i2,{...e,strokeWidth:se}),kO=e=>c.jsx(i2,{...e,strokeWidth:ae}),pp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14.5001 8C14.5 9.28552 14.1188 10.5422 13.4045 11.611C12.6903 12.6799 11.6752 13.5129 10.4875 14.0049C9.29982 14.4968 7.99295 14.6255 6.73212 14.3747C5.4713 14.124 4.31314 13.505 3.4041 12.596C2.49514 11.687 1.87614 10.5288 1.62537 9.26798C1.37459 8.00716 1.50331 6.70028 1.99525 5.51261C2.48719 4.32494 3.32025 3.30981 4.3891 2.59557C5.45795 1.88134 6.71458 1.50008 8.0001 1.5",stroke:"currentColor"}),c.jsx("path",{d:"M11.5 8C11.5001 8.69227 11.2948 9.36901 10.9102 9.94463C10.5257 10.5202 9.97901 10.9689 9.33944 11.2338C8.69986 11.4987 7.99609 11.5681 7.31712 11.433C6.63816 11.2979 6.01449 10.9645 5.52501 10.475C5.03548 9.98552 4.70209 9.36185 4.56702 8.68289C4.43195 8.00392 4.50127 7.30015 4.76619 6.66057C5.03112 6.021 5.47976 5.47436 6.05538 5.08978C6.631 4.70519 7.30774 4.49995 8.00001 4.5",stroke:"currentColor"}),c.jsx("path",{d:"M8.00024 7.99976L11.2 4.80005",stroke:"currentColor"}),c.jsx("path",{d:"M12.4719 5.62245C12.4246 5.66972 12.3569 5.69025 12.2913 5.67715L10.7814 5.37555C10.7022 5.35972 10.6402 5.29781 10.6244 5.2186L10.3228 3.70866C10.3097 3.6431 10.3302 3.57533 10.3775 3.52806L12.1826 1.723C12.2863 1.61929 12.4627 1.65879 12.5122 1.79684L12.9271 2.95225C12.9472 3.00847 12.9915 3.05272 13.0477 3.07291L14.2031 3.48774C14.3412 3.5373 14.3807 3.71368 14.277 3.81739L12.4719 5.62245Z",stroke:"currentColor"})]}),SO=e=>c.jsx(pp,{...e,strokeWidth:se}),EO=e=>c.jsx(pp,{...e,strokeWidth:ae}),mp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.875 3C5.875 6.33333 7.54167 8 10.875 8C7.54167 8 5.875 9.66667 5.875 13C5.875 9.66667 4.20833 8 0.875 8C4.20833 8 5.875 6.33333 5.875 3Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 1.55823C12.375 3.39156 13.2917 4.30823 15.125 4.30823C13.2917 4.30823 12.375 5.22489 12.375 7.05823C12.375 5.22489 11.4583 4.30823 9.625 4.30823C11.4583 4.30823 12.375 3.39156 12.375 1.55823Z",stroke:"currentColor"}),c.jsx("path",{d:"M12.375 10.4418C12.375 11.7751 13.0417 12.4418 14.375 12.4418C13.0417 12.4418 12.375 13.1084 12.375 14.4418C12.375 13.1084 11.7083 12.4418 10.375 12.4418C11.7083 12.4418 12.375 11.7751 12.375 10.4418Z",stroke:"currentColor"})]}),jO=e=>c.jsx(mp,{...e,strokeWidth:se}),IO=e=>c.jsx(mp,{...e,strokeWidth:ae}),MO=e=>c.jsx(t2,{...e,size:e.size??12,strokeWidth:se}),OO=e=>c.jsx(t2,{...e,size:e.size??12,strokeWidth:ae}),gp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.57788 5.77124H10.7029",stroke:"currentColor"}),c.jsx("path",{d:"M4.57788 8.89819H7.91879",stroke:"currentColor"}),c.jsx("path",{d:"M12.1404 1.19446C12.9442 1.19446 13.6404 1.81999 13.6404 2.64465V8.89856H12.6404V2.64465C12.6404 2.42015 12.4411 2.19446 12.1404 2.19446H3.14038C2.83968 2.19446 2.64038 2.42015 2.64038 2.64465V13.0929C2.64082 13.3172 2.84001 13.5421 3.14038 13.5421H8.88159V14.5421H3.14038C2.33675 14.5421 1.6408 13.9172 1.64038 13.0929V2.64465C1.64038 1.81999 2.33651 1.19446 3.14038 1.19446H12.1404Z",fill:"currentColor"}),c.jsx("path",{d:"M12.0051 15.1056C12.0051 13.6395 10.8166 12.451 9.35059 12.451C10.8166 12.451 12.0051 11.2626 12.0051 9.79651C12.0051 11.2626 13.1936 12.451 14.6597 12.451C13.1936 12.451 12.0051 13.6395 12.0051 15.1056Z",stroke:"currentColor"})]}),vp=e=>c.jsx(gp,{...e,strokeWidth:se}),TO=e=>c.jsx(gp,{...e,strokeWidth:ae}),wp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M5.75 6.69646C5.75 6.29865 5.88196 5.90976 6.12919 5.57899C6.37643 5.24821 6.72783 4.99041 7.13896 4.83817C7.5501 4.68593 8.0025 4.6461 8.43895 4.72371C8.87541 4.80132 9.27632 4.99289 9.59099 5.27419C9.90566 5.55549 10.12 5.91388 10.2068 6.30406C10.2936 6.69423 10.249 7.09866 10.0787 7.4662C9.90843 7.83373 9.62004 8.14787 9.25003 8.36889C9.19476 8.4019 9.13803 8.43262 9.08004 8.46099C8.52566 8.73217 8 9.20817 8 9.82532",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.7416V11.7416",stroke:"currentColor"})]}),LO=e=>c.jsx(wp,{...e,strokeWidth:se}),PO=e=>c.jsx(wp,{...e,strokeWidth:ae}),xp=({size:e=14,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5757 7.00012C12.5757 3.92085 10.0794 1.42463 7.00012 1.42456C3.9208 1.42456 1.42456 3.9208 1.42456 7.00012C1.42463 10.0794 3.92085 12.5757 7.00012 12.5757C10.0793 12.5756 12.5756 10.0793 12.5757 7.00012ZM13.8002 7.00012C13.8001 10.7559 10.7559 13.8001 7.00012 13.8002C3.2443 13.8002 0.199291 10.7559 0.199219 7.00012C0.199219 3.24426 3.24426 0.199219 7.00012 0.199219C10.7559 0.199291 13.8002 3.2443 13.8002 7.00012Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 3.18921V4.55986H6.38735V3.18921H7.6127Z",fill:"currentColor"}),c.jsx("path",{d:"M7.6127 5.68921V10.8109H6.38735V5.68921H7.6127Z",fill:"currentColor"})]}),yp=e=>c.jsx(xp,{...e,strokeWidth:se}),NO=e=>c.jsx(xp,{...e,strokeWidth:ae}),_p=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M7.84457 5.06199C11.6605 4.93876 14.7962 6.14848 14.8484 7.76397C14.8875 8.97461 13.1838 10.0696 10.7215 10.5942",stroke:"currentColor"}),c.jsx("path",{d:"M5.12742 8.07731C5.00419 4.26138 6.21391 1.12568 7.8294 1.07351C9.04004 1.03441 10.135 2.73808 10.6596 5.20037",stroke:"currentColor"}),c.jsx("path",{d:"M8.02457 10.6802C4.20865 10.8034 1.07294 9.5937 1.02077 7.97821C0.981678 6.76758 2.68535 5.67262 5.14763 5.14798",stroke:"currentColor"}),c.jsx("path",{d:"M10.7476 7.89535C10.8708 11.7113 9.66109 14.847 8.0456 14.8991C6.83496 14.9382 5.74 13.2346 5.21536 10.7723",stroke:"currentColor"})]}),zO=e=>c.jsx(_p,{...e,strokeWidth:se}),AO=e=>c.jsx(_p,{...e,strokeWidth:ae}),bp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M4.09372 11.9895L3.11865 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M12.1392 11.9895L13.1143 14.0387",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 4.78442V8.03442L10.6165 9.53442",stroke:"currentColor"}),c.jsx("path",{d:"M8.11646 13.4094C11.154 13.4094 13.6165 10.947 13.6165 7.90942C13.6165 4.87186 11.154 2.40942 8.11646 2.40942C5.07889 2.40942 2.61646 4.87186 2.61646 7.90942C2.61646 10.947 5.07889 13.4094 8.11646 13.4094Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.75952 4.74323C2.30657 3.65639 3.12646 2.73047 4.12926 2.05542",stroke:"currentColor"}),c.jsx("path",{d:"M14.3345 4.74323C13.7874 3.65639 12.9675 2.73047 11.9647 2.05542",stroke:"currentColor"})]}),RO=e=>c.jsx(bp,{...e,strokeWidth:se}),DO=e=>c.jsx(bp,{...e,strokeWidth:ae}),Cp=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M13.5 2.5H2.5C1.94772 2.5 1.5 2.94772 1.5 3.5V4.5C1.5 5.05228 1.94772 5.5 2.5 5.5H13.5C14.0523 5.5 14.5 5.05228 14.5 4.5V3.5C14.5 2.94772 14.0523 2.5 13.5 2.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M2.5 5.5V13.5C2.5 13.7652 2.60536 14.0196 2.79289 14.2071C2.98043 14.3946 3.23478 14.5 3.5 14.5H12.5C12.7652 14.5 13.0196 14.3946 13.2071 14.2071C13.3946 14.0196 13.5 13.7652 13.5 13.5V5.5",stroke:"currentColor"}),c.jsx("path",{d:"M6.5 9.5H9.5",stroke:"currentColor"})]}),FO=e=>c.jsx(Cp,{...e,strokeWidth:se}),$O=e=>c.jsx(Cp,{...e,strokeWidth:ae}),kp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3457 3.19299H13.6541",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 7.46497H9.19332",stroke:"currentColor"}),c.jsx("path",{d:"M2.3457 11.7369H6.4849",stroke:"currentColor"}),c.jsx("path",{d:"M9.1936 7.46497H11.5183C12.6981 7.46497 13.6544 8.42132 13.6544 9.60103C13.6544 10.7808 12.6981 11.7371 11.5183 11.7371H9.1936",stroke:"currentColor"}),c.jsx("path",{d:"M10.9505 9.7677L9.12262 11.5956C9.04452 11.6737 9.04452 11.8003 9.12262 11.8784L10.9505 13.7063",stroke:"currentColor"})]}),Sp=e=>c.jsx(kp,{...e,strokeWidth:se}),HO=e=>c.jsx(kp,{...e,strokeWidth:ae}),Ep=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M12.3535 7.64645C12.5487 7.84171 12.5487 8.15829 12.3535 8.35355L9.85352 10.8535L9.14648 10.1465L10.793 8.5H3.5V7.5H10.793L9.14648 5.85352L9.85352 5.14648L12.3535 7.64645Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),jp=e=>c.jsx(Ep,{...e}),VO=e=>c.jsx(Ep,{...e}),Ip=({size:e=16,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[c.jsx("path",{d:"M10.9999 8C10.9999 6.89543 10.1046 6 9 6H4.5V5H9C10.6568 5 11.9999 6.34315 11.9999 8C11.9999 9.65685 10.6568 11 9 11H6.20703L6.85351 11.6465L6.14648 12.3535L4.64652 10.8536C4.45126 10.6583 4.45126 10.3417 4.64652 10.1464L6.14648 8.64648L6.85351 9.35352L6.20703 10H9C10.1046 10 10.9999 9.10457 10.9999 8Z",fill:"currentColor"}),c.jsx("path",{d:"M2 15H1V1H2V15Z",fill:"currentColor"}),c.jsx("path",{d:"M15 15H14V1H15V15Z",fill:"currentColor"})]}),Mp=e=>c.jsx(Ip,{...e}),BO=e=>c.jsx(Ip,{...e}),Op=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H6C6.55228 14.5 7 14.0523 7 13.5V2.5C7 1.94772 6.55228 1.5 6 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M13.5 1.5H10C9.44772 1.5 9 1.94772 9 2.5V13.5C9 14.0523 9.44772 14.5 10 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"})]}),ZO=e=>c.jsx(Op,{...e,strokeWidth:se}),WO=e=>c.jsx(Op,{...e,strokeWidth:ae}),Tp=e=>c.jsx(i2,{...e,size:e.size??14}),UO=e=>c.jsx(Tp,{...e,strokeWidth:se}),qO=e=>c.jsx(Tp,{...e,strokeWidth:ae}),Lp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{opacity:"0.35",d:"M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5C8.85359 1.5 9.69883 1.66813 10.4874 1.99478C11.2761 2.32144 11.9926 2.80022 12.5962 3.40381C13.1998 4.00739 13.6786 4.72394 14.0052 5.51256C14.3319 6.30117 14.5 7.14641 14.5 8",stroke:"currentColor"})]}),GO=e=>c.jsx(Lp,{...e,strokeWidth:se}),KO=e=>c.jsx(Lp,{...e,strokeWidth:ae}),Pp=({size:e=16,className:t,strokeWidth:n})=>c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:c.jsx("path",{d:Y8,stroke:"currentColor",strokeLinejoin:"round"})}),YO=e=>c.jsx(Pp,{...e,strokeWidth:se}),JO=e=>c.jsx(Pp,{...e,strokeWidth:ae}),Np=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.5303 6.53027L8.80273 10.2578C8.54967 10.5109 8.31796 10.7439 8.10645 10.9141C7.88375 11.0932 7.616 11.2602 7.27344 11.3145C7.09229 11.3431 6.90771 11.3431 6.72656 11.3145C6.384 11.2602 6.11625 11.0932 5.89355 10.9141C5.68204 10.7439 5.45033 10.5109 5.19727 10.2578L3.46973 8.53027L4.53027 7.46973L6.25781 9.19727C6.53457 9.47402 6.70036 9.63859 6.83398 9.74609C6.95637 9.84453 6.98241 9.83644 6.96094 9.83301C6.98679 9.83709 7.01321 9.83709 7.03906 9.83301C7.01759 9.83644 7.04363 9.84453 7.16602 9.74609C7.29964 9.63859 7.46543 9.47402 7.74219 9.19727L11.4697 5.46973L12.5303 6.53027Z",fill:"currentColor"}),c.jsx("path",{d:"M14.5996 8C14.5996 4.35492 11.6451 1.40039 8 1.40039C4.35492 1.40039 1.40039 4.35492 1.40039 8C1.40039 11.6451 4.35492 14.5996 8 14.5996C11.6451 14.5996 14.5996 11.6451 14.5996 8ZM15.9004 8C15.9004 12.363 12.363 15.9004 8 15.9004C3.63695 15.9004 0.0996094 12.363 0.0996094 8C0.0996094 3.63695 3.63695 0.0996094 8 0.0996094C12.363 0.0996094 15.9004 3.63695 15.9004 8Z",fill:"currentColor"})]}),zp=e=>c.jsx(Np,{...e,strokeWidth:se}),XO=e=>c.jsx(Np,{...e,strokeWidth:ae}),Ap=({size:e=20,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8659 2.05975C17.2603 2.05995 18.3913 3.19096 18.3914 4.58527V5.4874C18.3914 6.02747 18.2192 6.52672 17.9303 6.93735C17.9336 6.96524 17.9388 6.99318 17.9388 7.02195V12.8884C17.9388 13.6345 17.9395 14.2379 17.8996 14.7254C17.8642 15.1593 17.7936 15.5499 17.6373 15.9141L17.5654 16.0685C17.278 16.6328 16.8405 17.1046 16.3038 17.434L16.0679 17.5661C15.66 17.7739 15.2196 17.8598 14.7237 17.9003C14.2362 17.9401 13.6327 17.9405 12.8867 17.9405H7.11122C6.36511 17.9405 5.76171 17.9401 5.27418 17.9003C4.84051 17.8649 4.44949 17.7952 4.08545 17.6391L3.93104 17.5661C3.36673 17.2785 2.89392 16.8414 2.56465 16.3044L2.43245 16.0685C2.22473 15.6608 2.13878 15.2211 2.09825 14.7254C2.05841 14.2379 2.05912 13.6345 2.05912 12.8884V7.02195C2.05912 6.99284 2.06422 6.96449 2.06758 6.93629C1.77931 6.52592 1.60858 6.02687 1.60858 5.4874V4.58527C1.60876 3.19084 2.73962 2.05975 4.1341 2.05975H15.8659ZM16.4984 7.92936C16.296 7.98169 16.0847 8.01288 15.8659 8.01291H4.1341C3.91478 8.01291 3.70246 7.98194 3.49955 7.92936V12.8884C3.49955 13.6582 3.50053 14.1927 3.53445 14.608C3.56769 15.0146 3.62923 15.244 3.71635 15.415L3.7925 15.5514C3.98339 15.8627 4.25749 16.1165 4.58464 16.2833L4.72529 16.3435C4.88095 16.3993 5.08638 16.4402 5.39158 16.4651C5.80685 16.4991 6.34138 16.5001 7.11122 16.5001H12.8867C13.6564 16.5001 14.1911 16.499 14.6063 16.4651C15.0128 16.432 15.2423 16.3703 15.4133 16.2833L15.5508 16.2061C15.8618 16.0152 16.116 15.7419 16.2827 15.415L16.3429 15.2732C16.3985 15.1177 16.4396 14.9128 16.4645 14.608C16.4985 14.1927 16.4984 13.6583 16.4984 12.8884V7.92936ZM4.1341 3.50019C3.53511 3.50019 3.0492 3.98631 3.04902 4.58527V5.4874C3.04902 6.08649 3.535 6.57248 4.1341 6.57248H15.8659C16.4648 6.57228 16.951 6.08638 16.951 5.4874V4.58527C16.9509 3.98644 16.4647 3.50038 15.8659 3.50019H4.1341Z",fill:"currentColor"}),c.jsx("path",{d:"M10 14.1V10.1M7.85 12.05L10 9.9L12.15 12.05",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]}),QO=e=>c.jsx(Ap,{...e,strokeWidth:se}),eT=e=>c.jsx(Ap,{...e,strokeWidth:ae}),Rp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),tT=e=>c.jsx(Rp,{...e,strokeWidth:se}),nT=e=>c.jsx(Rp,{...e,strokeWidth:ae}),Dp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M9.96976 1.70572L13.1554 3.93629L10.9019 8.12317L11.5158 11.605L10.7192 12.7427L2.52767 7.00693L3.3243 5.86922L6.80612 5.25528L9.96976 1.70572Z",fill:"currentColor",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M6.05285 9.47511C6.27284 9.16094 6.70586 9.08458 7.02003 9.30457C7.3342 9.52455 7.41055 9.95757 7.19057 10.2717L3.98587 14.4708L3.21223 13.9291L6.05285 9.47511Z",fill:"currentColor"})]}),rT=e=>c.jsx(Dp,{...e,strokeWidth:se}),oT=e=>c.jsx(Dp,{...e,strokeWidth:ae}),Fp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6 3.5h7.5M6 8h7.5M6 12.5h7.5"}),c.jsx("path",{d:"M2.6 3.5h.01M2.6 8h.01M2.6 12.5h.01"})]}),iT=e=>c.jsx(Fp,{...e,strokeWidth:se}),sT=e=>c.jsx(Fp,{...e,strokeWidth:ae}),$p=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M14 12.05c0 .8-.65 1.45-1.46 1.45H3.46C2.65 13.5 2 12.85 2 12.05v-8.1c0-.8.65-1.45 1.46-1.45h2.4c.49 0 .94.24 1.21.65l.5.73c.27.4.73.65 1.21.65h3.76c.8 0 1.46.65 1.46 1.45v6.02Z"}),c.jsx("path",{d:"M8.7 8.1v3M11.2 8.1v3"})]}),aT=e=>c.jsx($p,{...e,strokeWidth:se}),lT=e=>c.jsx($p,{...e,strokeWidth:ae}),Hp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"m5.1 6 2.9-2.9L10.9 6"}),c.jsx("path",{d:"m5.1 10 2.9 2.9 2.9-2.9"})]}),cT=e=>c.jsx(Hp,{...e,strokeWidth:se}),uT=e=>c.jsx(Hp,{...e,strokeWidth:ae}),Vp=({size:e=16,className:t,strokeWidth:n})=>{const r=`dsh-archive-off-${S.useId().replaceAll(":","")}`;return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsxs("mask",{id:r,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"16",children:[c.jsx("rect",{x:"0",y:"0",width:"16",height:"16",fill:"white",stroke:"none"}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8",stroke:"black",strokeWidth:n+3})]}),c.jsxs("g",{mask:`url(#${r})`,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"})]}),c.jsx("path",{d:"m2.2 1.3 11.6 12.8"})]})},dT=e=>c.jsx(Vp,{...e,strokeWidth:se}),fT=e=>c.jsx(Vp,{...e,strokeWidth:ae}),Bp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("rect",{x:"1.9",y:"2.1",width:"12.2",height:"3.4",rx:"1.1"}),c.jsx("path",{d:"M2.95 5.7v4.8a2.9 2.9 0 0 0 2.9 2.9h4.3a2.9 2.9 0 0 0 2.9-2.9V5.7"}),c.jsx("path",{d:"m6 9.35 1.4 1.4 2.6-2.6"})]}),hT=e=>c.jsx(Bp,{...e,strokeWidth:se}),pT=e=>c.jsx(Bp,{...e,strokeWidth:ae}),Zp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M2.3 5h5.85M12.05 5h1.65"}),c.jsx("circle",{cx:"9.95",cy:"5",r:"1.45"}),c.jsx("path",{d:"M2.3 11h1.65M7.85 11h5.85"}),c.jsx("circle",{cx:"5.75",cy:"11",r:"1.45"})]}),mT=e=>c.jsx(Zp,{...e,strokeWidth:se}),gT=e=>c.jsx(Zp,{...e,strokeWidth:ae}),Wp=({size:e=16,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,viewBox:"0 0 16 16",className:t,fill:"none",stroke:"currentColor",strokeWidth:n,"aria-hidden":"true",children:[c.jsx("rect",{x:4.5+n/2,y:1+n/2,width:7-n,height:10-n,rx:(7-n)/2}),c.jsx("path",{d:"M2.35 8.675C3.075 11.3 5.2 13.125 8 13.125C10.8 13.125 12.925 11.3 13.65 8.675M8 13.125V15"})]}),vT=e=>c.jsx(Wp,{...e,strokeWidth:se}),wT=e=>c.jsx(Wp,{...e,strokeWidth:ae});function xT(e){e!==null&&(W5(e),e.addEventListener("animationstart",()=>{W5(e)}))}function W5(e){const t=e;for(const n of t.getAnimations?.({subtree:!0})??[])n.startTime=0}function s2({state:e,size:t,className:n,appearance:r="dot"}){const s=t??(e==="ongoing"?14:10);return e==="ongoing"?c.jsx("svg",{ref:xT,className:xe(li.spinner,n),"data-state":"ongoing",width:s,height:s,viewBox:"0 0 24 24","aria-hidden":"true",children:c.jsxs("g",{className:li.spinnerMotion,children:[c.jsx("circle",{className:li.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),c.jsx("circle",{className:li.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):c.jsx("span",{className:xe(r==="step"?li.step:li.dot,n),"data-state":e,style:{width:s,height:s},"aria-hidden":"true",children:r==="step"&&e==="done"&&c.jsx(zi,{size:s-2})})}const gd=new Map,Up=new Map;function yT(e){const t=gd.get(e);if(t)return t;const n=new AbortController,r=setTimeout(()=>n.abort(),1e4),s=fetch(e,{credentials:"same-origin",signal:n.signal}).then(async l=>{if(!l.ok)throw new Error("Icon presentation unavailable");const u=await l.json();if(!u||typeof u!="object"||Array.isArray(u))throw new Error("Invalid icon catalog");const d=u;return Up.set(e,d),d}).catch(l=>{throw gd.delete(e),l}).finally(()=>clearTimeout(r));return gd.set(e,s),s}function qp({id:e,src:t,presentationUrl:n,size:r,className:s,fallback:l}){const[u,d]=S.useState(()=>{const m=Up.get(n);return m?{url:n,icons:m}:null});if(S.useEffect(()=>{let m=!0;return yT(n).then(g=>{m&&d({url:n,icons:g})},()=>{m&&d(null)}),()=>{m=!1}},[n]),!u||u.url!==n)return l;const p=u.icons[e];if(p?.vector){const{paths:m,color:g,viewBox:w}=p.vector;return c.jsx("svg",{className:s,viewBox:w,width:r,height:r,"aria-hidden":"true",focusable:"false",style:{fill:g,flex:"none"},children:m.map((x,_)=>c.jsx("path",{d:x.d,fillRule:x.fillRule,fill:x.fill},_))})}return c.jsx(_T,{src:t,size:r,className:s,presentation:p,fallback:l},t)}function _T({src:e,size:t,className:n,presentation:r,fallback:s}){const[l,u]=S.useState(!1);return l?s:c.jsx("img",{src:e,width:t,height:t,className:n,alt:"","aria-hidden":"true",draggable:!1,style:{objectFit:"contain",flex:"none",...r?.borderRadius===void 0?{}:{borderRadius:`${r.borderRadius}%`},...r?.background?{background:r.background}:{},...r?.paddingRatio?{boxSizing:"border-box",padding:Math.max(1,Math.round(t*r.paddingRatio))}:{}},onError:()=>u(!0)})}function bT({size:e=16,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[c.jsx("rect",{x:"4",y:"3",width:"16",height:"18",rx:"3"}),c.jsx("path",{d:"M9 10h6m-3-3v6m-3 4h6"})]})}function CT({size:e=16,className:t}){return c.jsx("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:se,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:c.jsx("path",{d:"M6.5 13a1.5 1.5 0 0 0 3 0M8 1.5v1M4 6.5a4 4 0 0 1 8 0c0 3 1.5 4 1.5 4.5h-11C2.5 10.5 4 9.5 4 6.5Z"})})}const kT="_root_r2lcn_1",ST="_content_r2lcn_11",ET="_text_r2lcn_17",jT="_decoration_r2lcn_25",IT="_sweep_r2lcn_34",MT="_highlight_r2lcn_54",_o={root:kT,content:ST,text:ET,decoration:jT,sweep:IT,highlight:MT},Xa=S.createContext(void 0);function U5({children:e,className:t}){const r=S.useContext(Xa)===!0&&typeof e=="string";return c.jsx("span",{className:xe(_o.text,t),"data-shimmer-text":r?e:void 0,children:r?null:e})}const r0=S.memo(function({children:t,active:n=!1,className:r,contentClassName:s}){if(S.useContext(Xa)!==void 0)return c.jsx(U5,{className:r,children:t});const u=typeof t=="string"?c.jsx(U5,{children:t}):t;return c.jsxs("span",{className:xe(_o.root,r),"data-shimmer":n||void 0,children:[c.jsx(Xa.Provider,{value:!1,children:c.jsx("span",{className:xe(_o.content,s),children:u})}),n&&c.jsx("span",{className:_o.decoration,"aria-hidden":"true",inert:"",children:c.jsx("span",{className:_o.sweep,children:c.jsx(Xa.Provider,{value:!0,children:c.jsx("span",{className:xe(_o.content,_o.highlight,s),children:u})})})})]})}),OT="_root_1vqtz_9",TT="_row_1vqtz_16",LT="_leading_1vqtz_41",PT="_iconIdle_1vqtz_69",NT="_chevronHover_1vqtz_75",zT="_title_1vqtz_93",po={root:OT,row:TT,leading:LT,iconIdle:PT,chevronHover:NT,title:zT},AT=S.memo(function({icon:t,title:n,open:r,expandable:s,onToggle:l,running:u=!1,expandOnRowClick:d=!1,previewChevron:p=s,keepContentWhenOpen:m=!1,collapsedContent:g,children:w,className:x,rowClassName:_,contentClassName:C,contentLayoutClassName:I,leadingClassName:M,chevronClassName:N,titleClassName:O}){const B=s&&d,z=q=>{q.stopPropagation(),l()},U=q=>{!B||q.key!=="Enter"&&q.key!==" "||(q.preventDefault(),l())},Z=p?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:po.iconIdle,children:t}),c.jsx(a7,{className:xe(N,po.chevronHover)})]}):t,ee=r?c.jsx(h7,{className:N}):Z;return c.jsxs("div",{className:xe(po.root,x),"data-open":r||void 0,children:[c.jsxs("div",{className:xe(po.row,_),"data-disclosure-row":!0,"data-expandable":B||void 0,role:B?"button":void 0,tabIndex:B?0:void 0,"aria-expanded":B?r:void 0,onClick:B?l:void 0,onKeyDown:B?U:void 0,children:[s&&!B?c.jsx("button",{type:"button",className:xe(po.leading,M),"aria-label":n,"aria-expanded":r,onClick:z,children:ee}):c.jsx("span",{className:xe(po.leading,M),children:ee}),c.jsxs(r0,{active:u,className:C,contentClassName:I,children:[c.jsx(r0,{className:xe(po.title,O),children:n}),(m||!r)&&g]})]}),r&&w]})}),RT="_button_1clvl_2",DT="_md_1clvl_29",FT="_sm_1clvl_34",$T="_primary_1clvl_42",HT="_ghost_1clvl_51",VT="_outline_1clvl_56",BT="_toolbar_1clvl_65",ZT="_icon_1clvl_91",$a={button:RT,md:DT,sm:FT,primary:$T,ghost:HT,outline:VT,toolbar:BT,icon:ZT},o0=S.forwardRef(function({variant:t="ghost",size:n="md",icon:r,className:s,children:l,...u},d){return c.jsxs("button",{ref:d,type:"button",className:xe($a.button,$a[t],$a[n],s),...u,children:[r!=null&&c.jsx("span",{className:$a.icon,children:r}),l]})}),WT="_pill_1bqmh_1",UT="_interactive_1bqmh_16",qT="_active_1bqmh_24",Os={pill:WT,interactive:UT,active:qT};function a2({active:e=!1,className:t,children:n,onClick:r,...s}){return r?c.jsx("button",{type:"button",className:xe(Os.pill,Os.interactive,e&&Os.active,t),onClick:r,...s,children:n}):c.jsx("span",{className:xe(Os.pill,e&&Os.active,t),children:n})}const GT="_row_vgkh2_3",KT="_rowText_vgkh2_12",YT="_title_vgkh2_20",JT="_description_vgkh2_27",XT="_choices_vgkh2_34",QT="_choice_vgkh2_34",eL={row:GT,rowText:KT,title:YT,description:JT,choices:XT,choice:QT},tL="_tabs_19aqj_1",nL="_indicator_19aqj_9",rL="_tab_19aqj_1",vd={tabs:tL,indicator:nL,tab:rL};function oL({items:e,value:t,onChange:n,label:r,className:s}){const l=e.findIndex(d=>d.value===t),u=(d,p)=>{let m;switch(d.key){case"ArrowLeft":m=(p+e.length-1)%e.length;break;case"ArrowRight":m=(p+1)%e.length;break;case"Home":m=0;break;case"End":m=e.length-1;break;default:return}d.preventDefault(),d.stopPropagation();const g=d.currentTarget.parentElement,w=e[m];g===null||w===void 0||(g.querySelectorAll('[role="tab"]').item(m).focus(),n(w.value))};return c.jsxs("div",{role:"tablist","aria-label":r,className:xe(vd.tabs,s),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[c.jsx("span",{className:vd.indicator,"aria-hidden":"true",style:{width:`calc((100% - 8px) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((d,p)=>c.jsx(a2,{id:d.id,role:"tab",className:vd.tab,"aria-selected":t===d.value,"aria-controls":d.panelId,tabIndex:t===d.value?0:-1,onClick:()=>{n(d.value)},onKeyDown:m=>{u(m,p)},children:d.label},d.value))]})}const iL="_tag_usm2l_4",sL={tag:iL};function l2({tone:e="outline",className:t,children:n}){return c.jsx("span",{className:xe(sL.tag,t),"data-tone":e,children:n})}function aL(e){const t=e.replace(/[/\\]+$/,"");if(t==="")return{directory:"",name:e};const n=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"))+1;return{directory:t.slice(0,n),name:t.slice(n)}}const lL="_path_1kiio_3",cL="_text_1kiio_17",uL="_directory_1kiio_22",dL="_name_1kiio_26",Ha={path:lL,text:cL,directory:uL,name:dL};function fL({path:e,className:t,...n}){const r=S.useRef(null),s=S.useRef(null),{directory:l,name:u}=aL(e);return S.useLayoutEffect(()=>{const d=r.current,p=s.current,m=()=>{d.toggleAttribute("data-path-clipped",p.offsetWidth>d.clientWidth)};m();const g=typeof ResizeObserver>"u"?void 0:new ResizeObserver(m);return g?.observe(d),g?.observe(p),()=>{g?.disconnect()}},[e]),c.jsx("span",{...n,ref:r,className:xe(Ha.path,t),title:e,"data-path-label":!0,children:c.jsxs("span",{ref:s,className:Ha.text,children:[l!==""&&c.jsx("span",{className:Ha.directory,children:l}),c.jsx("span",{className:Ha.name,children:u})]})})}const hL="_thumb_1jvir_37",q5={switch:"_switch_1jvir_5",thumb:hL};function pL({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":n,title:s,disabled:r,className:xe(q5.switch,l),onClick:()=>{t(!e)},children:c.jsx("span",{className:q5.thumb})})}const mL="_control_1oziv_11",gL="_indicator_1oziv_22",vL="_tab_1oziv_37",wd={control:mL,indicator:gL,tab:vL};function wL(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function xL(e,t,n){const r=e.filter(u=>u.disabled!==!0);if(n==="Home")return r[0];if(n==="End")return r[r.length-1];const s=n==="ArrowRight"||n==="ArrowDown"?1:-1,l=e.length;for(let u=1;u<l;u+=1){const d=e[((t+s*u)%l+l)%l];if(d!==void 0&&d.disabled!==!0)return d}}function yL({id:e,value:t,options:n,onChange:r,label:s,disabled:l=!1,className:u}){const d=S.useRef(null),p=n.findIndex(w=>w.value===t);S.useEffect(()=>{const w=d.current;w!==null&&w.contains(document.activeElement)&&w.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const m=w=>{if(!wL(w.key))return;w.preventDefault();const x=xL(n,p,w.key);x!==void 0&&x.value!==t&&r(x.value)},g={"--dsh-segment-count":String(n.length),"--dsh-segment-index":String(p)};return c.jsxs("div",{ref:d,role:"tablist","aria-label":s,className:xe(wd.control,u),style:g,children:[c.jsx("span",{"aria-hidden":"true",className:wd.indicator}),n.map(w=>{const x=w.value===t;return c.jsx("button",{id:`${e}-${w.value}`,type:"button",role:"tab","aria-selected":x,"aria-controls":`${e}-${w.value}-panel`,tabIndex:x?0:-1,disabled:l||w.disabled===!0,title:w.title,className:wd.tab,onClick:()=>{x||r(w.value)},onKeyDown:m,children:w.label},w.value)})]})}const _L="_checkbox_oegbd_1",bL={checkbox:_L};function CL({checked:e,onChange:t,label:n,disabled:r=!1,title:s,className:l}){return c.jsxs("label",{className:xe(bL.checkbox,l),title:s,children:[c.jsx("input",{type:"checkbox",checked:e,disabled:r,onChange:u=>{t(u.target.checked)}}),c.jsx("span",{children:n})]})}const kL="_wrap_gyn8v_1",SL="_icon_gyn8v_16",EL="_input_gyn8v_25",xd={wrap:kL,icon:SL,input:EL},jL=S.forwardRef(function({icon:t,className:n,...r},s){return c.jsxs("span",{className:xe(xd.wrap,n),children:[t!=null&&c.jsx("span",{className:xd.icon,children:t}),c.jsx("input",{ref:s,className:xd.input,...r})]})}),IL="_editor_61ozo_1",ML={editor:IL};function OL({value:e,label:t,onChange:n,onSave:r,onCancel:s,className:l}){const u=S.useRef(null);S.useLayoutEffect(()=>{const p=u.current,m=()=>{p.style.height="auto",p.style.height=`${p.scrollHeight+p.offsetHeight-p.clientHeight}px`};m();const g=new ResizeObserver(m);return g.observe(p),()=>{g.disconnect()}},[e]);const d=p=>{if(p.key==="Escape"){s();return}const m=p.nativeEvent.isComposing||Reflect.get(p.nativeEvent,"keyCode")===229;p.key!=="Enter"||p.shiftKey||m||(p.preventDefault(),r())};return c.jsx("textarea",{ref:u,autoFocus:!0,rows:1,className:xe(ML.editor,l),"aria-label":t,value:e,onChange:p=>{n(p.currentTarget.value)},onKeyDown:d})}function Mi(e){const t=document.documentElement,n=Number.parseFloat(getComputedStyle(t).getPropertyValue("--dsh-frame-top-clearance"));return Number.isNaN(n)?e:Math.max(e,(t.hasAttribute("data-fullscreen")?0:n)+20)}const TL=200;function Gp(e){const t=S.useRef(null),n=S.useRef(e);n.current=e;const r=S.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),s=S.useCallback(()=>{r(),t.current=setTimeout(()=>{t.current=null,n.current()},TL)},[r]);return S.useEffect(()=>r,[r]),{arm:s,cancel:r}}function Yl(e){let t=!1,n=!1;const r=()=>{t=!0},s=()=>{t=!1,n=!0},l=()=>{n=!1},u=()=>{t=!1,n=!1};return e.addEventListener("compositionstart",r,!0),e.addEventListener("compositionend",s,!0),e.addEventListener("keyup",l,!0),e.defaultView?.addEventListener("blur",u),{guards:d=>{const p=t||n||d.isComposing||d.keyCode===229;return n=!1,p},dispose:()=>{e.removeEventListener("compositionstart",r,!0),e.removeEventListener("compositionend",s,!0),e.removeEventListener("keyup",l,!0),e.defaultView?.removeEventListener("blur",u)}}}/*!
|
|
124
124
|
* Bowser - a browser detector
|
|
125
125
|
* https://github.com/lancedikson/bowser
|
|
126
126
|
* MIT License | (c) Dustin Diaz 2012-2015
|
|
127
127
|
* MIT License | (c) Denis Demchenko 2015-2026
|
|
128
|
-
*/var CL={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","HeyTap Browser":"heytap","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",Ladybird:"ladybird",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc","Vivo Browser":"vivo",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},qp={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",heytap:"HeyTap Browser",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",ladybird:"Ladybird",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivo:"Vivo Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},ze={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},Bt={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},pr={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",LibWeb:"LibWeb",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"},F=(function(){function e(){}return e.getFirstMatch=function(n,r){var s=r.match(n);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(n,r){var s=r.match(n);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(n,r,s){if(n.test(r))return s},e.isFirefoxOnIpad=function(n){var r=n.indexOf("Macintosh");if(r===-1)return!1;var s=n.indexOf(" FxiOS",r+9);return s!==-1&&n.indexOf("/",s+6)!==-1},e.getWindowsVersionName=function(n){switch(n){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(n){var r=n.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});r.push(0);var s=r[0],l=r[1];if(s===10)switch(l){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(s){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},e.getAndroidVersionName=function(n){var r=n.split(".").splice(0,2).map(function(s){return parseInt(s,10)||0});if(r.push(0),!(r[0]===1&&r[1]<5)){if(r[0]===1&&r[1]<6)return"Cupcake";if(r[0]===1&&r[1]>=6)return"Donut";if(r[0]===2&&r[1]<2)return"Eclair";if(r[0]===2&&r[1]===2)return"Froyo";if(r[0]===2&&r[1]>2)return"Gingerbread";if(r[0]===3)return"Honeycomb";if(r[0]===4&&r[1]<1)return"Ice Cream Sandwich";if(r[0]===4&&r[1]<4)return"Jelly Bean";if(r[0]===4&&r[1]>=4)return"KitKat";if(r[0]===5)return"Lollipop";if(r[0]===6)return"Marshmallow";if(r[0]===7)return"Nougat";if(r[0]===8)return"Oreo";if(r[0]===9)return"Pie"}},e.getVersionPrecision=function(n){return n.split(".").length},e.compareVersions=function(n,r,s){s===void 0&&(s=!1);var l=e.getVersionPrecision(n),u=e.getVersionPrecision(r),d=Math.max(l,u),p=0,m=e.map([n,r],function(g){var w=d-e.getVersionPrecision(g),x=g+new Array(w+1).join(".0");return e.map(x.split("."),function(y){return new Array(20-y.length).join("0")+y}).reverse()});for(s&&(p=d-Math.min(l,u)),d-=1;d>=p;){if(m[0][d]>m[1][d])return 1;if(m[0][d]===m[1][d]){if(d===p)return 0;d-=1}else if(m[0][d]<m[1][d])return-1}},e.map=function(n,r){var s=[],l;if(Array.prototype.map)return Array.prototype.map.call(n,r);for(l=0;l<n.length;l+=1)s.push(r(n[l]));return s},e.find=function(n,r){var s,l;if(Array.prototype.find)return Array.prototype.find.call(n,r);for(s=0,l=n.length;s<l;s+=1){var u=n[s];if(r(u,s))return u}},e.assign=function(n){for(var r=n,s,l,u=arguments.length,d=new Array(u>1?u-1:0),p=1;p<u;p++)d[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[n].concat(d));var m=function(){var w=d[s];typeof w=="object"&&w!==null&&Object.keys(w).forEach(function(x){r[x]=w[x]})};for(s=0,l=d.length;s<l;s+=1)m();return n},e.getBrowserAlias=function(n){return CL[n]},e.getBrowserTypeByAlias=function(n){return qp[n]||""},e})(),Pe=/version\/(\d+(\.?_?\d+)+)/i,kL=[{test:[/gptbot/i],describe:function(t){var n={name:"GPTBot"},r=F.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/chatgpt-user/i],describe:function(t){var n={name:"ChatGPT-User"},r=F.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/oai-searchbot/i],describe:function(t){var n={name:"OAI-SearchBot"},r=F.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(t){var n={name:"ClaudeBot"},r=F.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var n={name:"Omgilibot"},r=F.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/diffbot/i],describe:function(t){var n={name:"Diffbot"},r=F.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/perplexitybot/i],describe:function(t){var n={name:"PerplexityBot"},r=F.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/perplexity-user/i],describe:function(t){var n={name:"Perplexity-User"},r=F.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/youbot/i],describe:function(t){var n={name:"YouBot"},r=F.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-webindexer/i],describe:function(t){var n={name:"Meta-WebIndexer"},r=F.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalads/i],describe:function(t){var n={name:"Meta-ExternalAds"},r=F.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalagent/i],describe:function(t){var n={name:"Meta-ExternalAgent"},r=F.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/meta-externalfetcher/i],describe:function(t){var n={name:"Meta-ExternalFetcher"},r=F.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/googlebot/i],describe:function(t){var n={name:"Googlebot"},r=F.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/linespider/i],describe:function(t){var n={name:"Linespider"},r=F.getFirstMatch(/(?:linespider)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/amazonbot/i],describe:function(t){var n={name:"AmazonBot"},r=F.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/bingbot/i],describe:function(t){var n={name:"BingCrawler"},r=F.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/baiduspider/i],describe:function(t){var n={name:"BaiduSpider"},r=F.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/duckduckbot/i],describe:function(t){var n={name:"DuckDuckBot"},r=F.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ia_archiver/i],describe:function(t){var n={name:"InternetArchiveCrawler"},r=F.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(t){var n={name:"SlackBot"},r=F.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(t){var n={name:"Opera"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opr\/|opios/i],describe:function(t){var n={name:"Opera"},r=F.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/SamsungBrowser/i],describe:function(t){var n={name:"Samsung Internet for Android"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Whale/i],describe:function(t){var n={name:"NAVER Whale Browser"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/PaleMoon/i],describe:function(t){var n={name:"Pale Moon"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/HeyTapBrowser/i],describe:function(t){var n={name:"HeyTap Browser"},r=F.getFirstMatch(/(?:HeyTapBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/VivoBrowser/i],describe:function(t){var n={name:"Vivo Browser"},r=F.getFirstMatch(/(?:VivoBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/MZBrowser/i],describe:function(t){var n={name:"MZ Browser"},r=F.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/focus/i],describe:function(t){var n={name:"Focus"},r=F.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/swing/i],describe:function(t){var n={name:"Swing"},r=F.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/coast/i],describe:function(t){var n={name:"Opera Coast"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var n={name:"Opera Touch"},r=F.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/yabrowser/i],describe:function(t){var n={name:"Yandex Browser"},r=F.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ucbrowser/i],describe:function(t){var n={name:"UC Browser"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Maxthon|mxios/i],describe:function(t){var n={name:"Maxthon"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/epiphany/i],describe:function(t){var n={name:"Epiphany"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/puffin/i],describe:function(t){var n={name:"Puffin"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sleipnir/i],describe:function(t){var n={name:"Sleipnir"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/k-meleon/i],describe:function(t){var n={name:"K-Meleon"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/micromessenger/i],describe:function(t){var n={name:"WeChat"},r=F.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/qqbrowser/i],describe:function(t){var n={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},r=F.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/msie|trident/i],describe:function(t){var n={name:"Internet Explorer"},r=F.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/\sedg\//i],describe:function(t){var n={name:"Microsoft Edge"},r=F.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/edg([ea]|ios)\//i],describe:function(t){var n={name:"Microsoft Edge"},r=F.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("Vivaldi")?!0:t.test(/vivaldi/i)},describe:function(t,n){var r={name:"Vivaldi"};if(n){var s=n.getBrandVersion("Vivaldi");if(s)return r.version=s,r}var l=F.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return l&&(r.version=l),r}},{test:[/seamonkey/i],describe:function(t){var n={name:"SeaMonkey"},r=F.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sailfish/i],describe:function(t){var n={name:"Sailfish"},r=F.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return r&&(n.version=r),n}},{test:[/silk/i],describe:function(t){var n={name:"Amazon Silk"},r=F.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/phantom/i],describe:function(t){var n={name:"PhantomJS"},r=F.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/slimerjs/i],describe:function(t){var n={name:"SlimerJS"},r=F.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n={name:"BlackBerry"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n={name:"WebOS Browser"},r=F.getFirstMatch(Pe,t)||F.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/bada/i],describe:function(t){var n={name:"Bada"},r=F.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/tizen/i],describe:function(t){var n={name:"Tizen"},r=F.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/qupzilla/i],describe:function(t){var n={name:"QupZilla"},r=F.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/librewolf/i],describe:function(t){var n={name:"LibreWolf"},r=F.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var n={name:"Firefox"},r=F.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/electron/i],describe:function(t){var n={name:"Electron"},r=F.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(t){var n={name:"Sogou Browser"},r=F.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),s=F.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=F.getFirstMatch(/se ([\d.]+)x/i,t),u=r||s||l;return u&&(n.version=u),n}},{test:[/MiuiBrowser/i],describe:function(t){var n={name:"Miui"},r=F.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("DuckDuckGo")?!0:t.test(/\sDdg\/[\d.]+$/i)},describe:function(t,n){var r={name:"DuckDuckGo"};if(n){var s=n.getBrandVersion("DuckDuckGo");if(s)return r.version=s,r}var l=F.getFirstMatch(/\sDdg\/([\d.]+)$/i,t);return l&&(r.version=l),r}},{test:function(t){return t.hasBrand("Brave")},describe:function(t,n){var r={name:"Brave"};if(n){var s=n.getBrandVersion("Brave");if(s)return r.version=s,r}return r}},{test:[/chromium/i],describe:function(t){var n={name:"Chromium"},r=F.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/ladybird/i],describe:function(t){var n={name:"Ladybird"},r=F.getFirstMatch(/ladybird\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/chrome|crios|crmo/i],describe:function(t){var n={name:"Chrome"},r=F.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/GSA/i],describe:function(t){var n={name:"Google Search"},r=F.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n={name:"Android Browser"},r=F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/playstation 4/i],describe:function(t){var n={name:"PlayStation 4"},r=F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/safari|applewebkit/i],describe:function(t){var n={name:"Safari"},r=F.getFirstMatch(Pe,t);return r&&(n.version=r),n}},{test:[/.*/i],describe:function(t){var n=t.search("\\(")!==-1?/^(.*)\/([^/]*)[ \t]\((.*)/:/^(.*)\/([^/]*) /;return{name:F.getFirstMatch(n,t),version:F.getSecondMatch(n,t)}}}],SL=[{test:[/Roku\/DVP/],describe:function(t){var n=F.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:Bt.Roku,version:n}}},{test:[/windows phone/i],describe:function(t){var n=F.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:Bt.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(t){var n=F.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),r=F.getWindowsVersionName(n);return{name:Bt.Windows,version:n,versionName:r}}},{test:function(t){return F.isFirefoxOnIpad(t.getUA())},describe:function(t){var n={name:Bt.iOS},r=F.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return r&&(n.version=r),n}},{test:[/macintosh/i],describe:function(t){var n=F.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),r=F.getMacOSVersionName(n),s={name:Bt.MacOS,version:n};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var n=F.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:Bt.iOS,version:n}}},{test:[/OpenHarmony/i],describe:function(t){var n=F.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:Bt.HarmonyOS,version:n}}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n=F.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),r=F.getAndroidVersionName(n),s={name:Bt.Android,version:n};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n=F.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),r={name:Bt.WebOS};return n&&n.length&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n=F.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||F.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||F.getFirstMatch(/\bbb(\d+)/i,t);return{name:Bt.BlackBerry,version:n}}},{test:[/bada/i],describe:function(t){var n=F.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:Bt.Bada,version:n}}},{test:[/tizen/i],describe:function(t){var n=F.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:Bt.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:Bt.Linux}}},{test:[/CrOS/],describe:function(){return{name:Bt.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var n=F.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:Bt.PlayStation4,version:n}}}],EL=[{test:[/googlebot/i],describe:function(){return{type:ze.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:ze.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:ze.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:ze.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:ze.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:ze.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:ze.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:ze.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:ze.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:ze.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:ze.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:ze.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:ze.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:ze.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:ze.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var n=F.getFirstMatch(/(can-l01)/i,t)&&"Nova",r={type:ze.mobile,vendor:"Huawei"};return n&&(r.model=n),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:ze.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:function(t){return F.isFirefoxOnIpad(t.getUA())},describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:ze.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:ze.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:ze.tablet}}},{test:function(t){var n=t.test(/ipod|iphone/i),r=t.test(/like (ipod|iphone)/i);return n&&!r},describe:function(t){var n=F.getFirstMatch(/(ipod|iphone)/i,t);return{type:ze.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:ze.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var n=F.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),r={type:ze.mobile,vendor:"Nokia"};return n&&(r.model=n),r}},{test:[/[^-]mobi/i],describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:ze.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:ze.mobile,vendor:"Microsoft"}}},{test:function(t){var n=Number(String(t.getOSVersion()).split(".")[0]);return t.getOSName(!0)==="android"&&n>=3},describe:function(){return{type:ze.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:ze.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:ze.tv}}},{test:[/netcast/i],describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:ze.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:ze.tv}}}],jL=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:pr.Blink};var n=F.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:pr.EdgeHTML,version:n}}},{test:function(t){return t.getBrowserName(!0)==="ladybird"},describe:function(){return{name:pr.LibWeb}}},{test:[/trident/i],describe:function(t){var n={name:pr.Trident},r=F.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.test(/presto/i)},describe:function(t){var n={name:pr.Presto},r=F.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=t.test(/gecko/i),r=t.test(/like gecko/i);return n&&!r},describe:function(t){var n={name:pr.Gecko},r=F.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:pr.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var n={name:pr.WebKit},r=F.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}}],q5=(function(){function e(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),n==null||n==="")throw new Error("UserAgent parameter can't be empty");this._ua=n;var l=!1;typeof r=="boolean"?(l=r,this._hints=s):r!=null&&typeof r=="object"?this._hints=r:this._hints=null,this.parsedResult={},l!==!0&&this.parse()}var t=e.prototype;return t.getHints=function(){return this._hints},t.hasBrand=function(r){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var s=r.toLowerCase();return this._hints.brands.some(function(l){return l.brand&&l.brand.toLowerCase()===s})},t.getBrandVersion=function(r){if(!(!this._hints||!Array.isArray(this._hints.brands))){var s=r.toLowerCase(),l=F.find(this._hints.brands,function(u){return u.brand&&u.brand.toLowerCase()===s});return l?l.version:void 0}},t.getUA=function(){return this._ua},t.test=function(r){return r.test(this._ua)},t.parseBrowser=function(){var r=this;this.parsedResult.browser={};var s=F.find(kL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.browser=s.describe(this.getUA(),this)),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(r){return r?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var r=this;this.parsedResult.os={};var s=F.find(SL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.os=s.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(r){var s=this.getOS().name;return r?String(s).toLowerCase()||"":s||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(r){r===void 0&&(r=!1);var s=this.getPlatform().type;return r?String(s).toLowerCase()||"":s||""},t.parsePlatform=function(){var r=this;this.parsedResult.platform={};var s=F.find(EL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.platform=s.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(r){return r?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var r=this;this.parsedResult.engine={};var s=F.find(jL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.engine=s.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return F.assign({},this.parsedResult)},t.satisfies=function(r){var s=this,l={},u=0,d={},p=0;if(Object.keys(r).forEach(function(I){var P=r[I];typeof P=="string"||Array.isArray(P)?(d[I]=P,p+=1):typeof P=="object"&&(l[I]=P,u+=1)}),u>0){var m=Object.keys(l),g=F.find(m,function(I){return s.isOS(I)});if(g){var w=this.satisfies(l[g]);if(w!==void 0)return w}var x=F.find(m,function(I){return s.isPlatform(I)});if(x){var y=this.satisfies(l[x]);if(y!==void 0)return y}}if(p>0){var b=Object.keys(d),j=F.find(b,function(I){return s.isBrowser(I,!0)});if(j!==void 0)return this.compareVersions(d[j])}},t.isBrowser=function(r,s){s===void 0&&(s=!1);var l=this.getBrowserName().toLowerCase(),u=r.toLowerCase(),d=F.getBrowserTypeByAlias(u);return s&&d&&(u=d.toLowerCase()),u===l},t.compareVersions=function(r){var s=this;return typeof r=="string"?this.compareVersion(r):r.some(function(l){return s.compareVersion(l)})},t.compareVersion=function(r){var s=[0],l=r,u=!1,d=this.getBrowserVersion();if(typeof d=="string")return r[0]===">"||r[0]==="<"?(l=r.substr(1),r[1]==="="?(u=!0,l=r.substr(2)):s=[],r[0]===">"?s.push(1):s.push(-1)):r[0]==="="?l=r.substr(1):r[0]==="~"&&(u=!0,l=r.substr(1)),s.indexOf(F.compareVersions(d,l,u))>-1},t.isOS=function(r){return this.getOSName(!0)===String(r).toLowerCase()},t.isPlatform=function(r){return this.getPlatformType(!0)===String(r).toLowerCase()},t.isEngine=function(r){return this.getEngineName(!0)===String(r).toLowerCase()},t.is=function(r,s){return s===void 0&&(s=!1),this.isBrowser(r,s)||this.isOS(r)||this.isPlatform(r)},t.some=function(r){var s=this;return r===void 0&&(r=[]),r.some(function(l){return s.is(l)})},e})();/*!
|
|
128
|
+
*/var LL={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","HeyTap Browser":"heytap","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",Ladybird:"ladybird",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc","Vivo Browser":"vivo",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},Kp={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",heytap:"HeyTap Browser",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",ladybird:"Ladybird",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivo:"Vivo Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},ze={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},Bt={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},pr={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",LibWeb:"LibWeb",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"},F=(function(){function e(){}return e.getFirstMatch=function(n,r){var s=r.match(n);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(n,r){var s=r.match(n);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(n,r,s){if(n.test(r))return s},e.isFirefoxOnIpad=function(n){var r=n.indexOf("Macintosh");if(r===-1)return!1;var s=n.indexOf(" FxiOS",r+9);return s!==-1&&n.indexOf("/",s+6)!==-1},e.getWindowsVersionName=function(n){switch(n){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(n){var r=n.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});r.push(0);var s=r[0],l=r[1];if(s===10)switch(l){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(s){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},e.getAndroidVersionName=function(n){var r=n.split(".").splice(0,2).map(function(s){return parseInt(s,10)||0});if(r.push(0),!(r[0]===1&&r[1]<5)){if(r[0]===1&&r[1]<6)return"Cupcake";if(r[0]===1&&r[1]>=6)return"Donut";if(r[0]===2&&r[1]<2)return"Eclair";if(r[0]===2&&r[1]===2)return"Froyo";if(r[0]===2&&r[1]>2)return"Gingerbread";if(r[0]===3)return"Honeycomb";if(r[0]===4&&r[1]<1)return"Ice Cream Sandwich";if(r[0]===4&&r[1]<4)return"Jelly Bean";if(r[0]===4&&r[1]>=4)return"KitKat";if(r[0]===5)return"Lollipop";if(r[0]===6)return"Marshmallow";if(r[0]===7)return"Nougat";if(r[0]===8)return"Oreo";if(r[0]===9)return"Pie"}},e.getVersionPrecision=function(n){return n.split(".").length},e.compareVersions=function(n,r,s){s===void 0&&(s=!1);var l=e.getVersionPrecision(n),u=e.getVersionPrecision(r),d=Math.max(l,u),p=0,m=e.map([n,r],function(g){var w=d-e.getVersionPrecision(g),x=g+new Array(w+1).join(".0");return e.map(x.split("."),function(_){return new Array(20-_.length).join("0")+_}).reverse()});for(s&&(p=d-Math.min(l,u)),d-=1;d>=p;){if(m[0][d]>m[1][d])return 1;if(m[0][d]===m[1][d]){if(d===p)return 0;d-=1}else if(m[0][d]<m[1][d])return-1}},e.map=function(n,r){var s=[],l;if(Array.prototype.map)return Array.prototype.map.call(n,r);for(l=0;l<n.length;l+=1)s.push(r(n[l]));return s},e.find=function(n,r){var s,l;if(Array.prototype.find)return Array.prototype.find.call(n,r);for(s=0,l=n.length;s<l;s+=1){var u=n[s];if(r(u,s))return u}},e.assign=function(n){for(var r=n,s,l,u=arguments.length,d=new Array(u>1?u-1:0),p=1;p<u;p++)d[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[n].concat(d));var m=function(){var w=d[s];typeof w=="object"&&w!==null&&Object.keys(w).forEach(function(x){r[x]=w[x]})};for(s=0,l=d.length;s<l;s+=1)m();return n},e.getBrowserAlias=function(n){return LL[n]},e.getBrowserTypeByAlias=function(n){return Kp[n]||""},e})(),Ne=/version\/(\d+(\.?_?\d+)+)/i,PL=[{test:[/gptbot/i],describe:function(t){var n={name:"GPTBot"},r=F.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/chatgpt-user/i],describe:function(t){var n={name:"ChatGPT-User"},r=F.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/oai-searchbot/i],describe:function(t){var n={name:"OAI-SearchBot"},r=F.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(t){var n={name:"ClaudeBot"},r=F.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var n={name:"Omgilibot"},r=F.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/diffbot/i],describe:function(t){var n={name:"Diffbot"},r=F.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/perplexitybot/i],describe:function(t){var n={name:"PerplexityBot"},r=F.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/perplexity-user/i],describe:function(t){var n={name:"Perplexity-User"},r=F.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/youbot/i],describe:function(t){var n={name:"YouBot"},r=F.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/meta-webindexer/i],describe:function(t){var n={name:"Meta-WebIndexer"},r=F.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/meta-externalads/i],describe:function(t){var n={name:"Meta-ExternalAds"},r=F.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/meta-externalagent/i],describe:function(t){var n={name:"Meta-ExternalAgent"},r=F.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/meta-externalfetcher/i],describe:function(t){var n={name:"Meta-ExternalFetcher"},r=F.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/googlebot/i],describe:function(t){var n={name:"Googlebot"},r=F.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/linespider/i],describe:function(t){var n={name:"Linespider"},r=F.getFirstMatch(/(?:linespider)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/amazonbot/i],describe:function(t){var n={name:"AmazonBot"},r=F.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/bingbot/i],describe:function(t){var n={name:"BingCrawler"},r=F.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/baiduspider/i],describe:function(t){var n={name:"BaiduSpider"},r=F.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/duckduckbot/i],describe:function(t){var n={name:"DuckDuckBot"},r=F.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/ia_archiver/i],describe:function(t){var n={name:"InternetArchiveCrawler"},r=F.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(t){var n={name:"SlackBot"},r=F.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(t){var n={name:"Opera"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opr\/|opios/i],describe:function(t){var n={name:"Opera"},r=F.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/SamsungBrowser/i],describe:function(t){var n={name:"Samsung Internet for Android"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Whale/i],describe:function(t){var n={name:"NAVER Whale Browser"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/PaleMoon/i],describe:function(t){var n={name:"Pale Moon"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/HeyTapBrowser/i],describe:function(t){var n={name:"HeyTap Browser"},r=F.getFirstMatch(/(?:HeyTapBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/VivoBrowser/i],describe:function(t){var n={name:"Vivo Browser"},r=F.getFirstMatch(/(?:VivoBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/MZBrowser/i],describe:function(t){var n={name:"MZ Browser"},r=F.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/focus/i],describe:function(t){var n={name:"Focus"},r=F.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/swing/i],describe:function(t){var n={name:"Swing"},r=F.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/coast/i],describe:function(t){var n={name:"Opera Coast"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var n={name:"Opera Touch"},r=F.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/yabrowser/i],describe:function(t){var n={name:"Yandex Browser"},r=F.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/ucbrowser/i],describe:function(t){var n={name:"UC Browser"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/Maxthon|mxios/i],describe:function(t){var n={name:"Maxthon"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/epiphany/i],describe:function(t){var n={name:"Epiphany"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/puffin/i],describe:function(t){var n={name:"Puffin"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sleipnir/i],describe:function(t){var n={name:"Sleipnir"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/k-meleon/i],describe:function(t){var n={name:"K-Meleon"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/micromessenger/i],describe:function(t){var n={name:"WeChat"},r=F.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/qqbrowser/i],describe:function(t){var n={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},r=F.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/msie|trident/i],describe:function(t){var n={name:"Internet Explorer"},r=F.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/\sedg\//i],describe:function(t){var n={name:"Microsoft Edge"},r=F.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/edg([ea]|ios)\//i],describe:function(t){var n={name:"Microsoft Edge"},r=F.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("Vivaldi")?!0:t.test(/vivaldi/i)},describe:function(t,n){var r={name:"Vivaldi"};if(n){var s=n.getBrandVersion("Vivaldi");if(s)return r.version=s,r}var l=F.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return l&&(r.version=l),r}},{test:[/seamonkey/i],describe:function(t){var n={name:"SeaMonkey"},r=F.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sailfish/i],describe:function(t){var n={name:"Sailfish"},r=F.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return r&&(n.version=r),n}},{test:[/silk/i],describe:function(t){var n={name:"Amazon Silk"},r=F.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/phantom/i],describe:function(t){var n={name:"PhantomJS"},r=F.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/slimerjs/i],describe:function(t){var n={name:"SlimerJS"},r=F.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n={name:"BlackBerry"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n={name:"WebOS Browser"},r=F.getFirstMatch(Ne,t)||F.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/bada/i],describe:function(t){var n={name:"Bada"},r=F.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/tizen/i],describe:function(t){var n={name:"Tizen"},r=F.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/qupzilla/i],describe:function(t){var n={name:"QupZilla"},r=F.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/librewolf/i],describe:function(t){var n={name:"LibreWolf"},r=F.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var n={name:"Firefox"},r=F.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/electron/i],describe:function(t){var n={name:"Electron"},r=F.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(t){var n={name:"Sogou Browser"},r=F.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),s=F.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=F.getFirstMatch(/se ([\d.]+)x/i,t),u=r||s||l;return u&&(n.version=u),n}},{test:[/MiuiBrowser/i],describe:function(t){var n={name:"Miui"},r=F.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.hasBrand("DuckDuckGo")?!0:t.test(/\sDdg\/[\d.]+$/i)},describe:function(t,n){var r={name:"DuckDuckGo"};if(n){var s=n.getBrandVersion("DuckDuckGo");if(s)return r.version=s,r}var l=F.getFirstMatch(/\sDdg\/([\d.]+)$/i,t);return l&&(r.version=l),r}},{test:function(t){return t.hasBrand("Brave")},describe:function(t,n){var r={name:"Brave"};if(n){var s=n.getBrandVersion("Brave");if(s)return r.version=s,r}return r}},{test:[/chromium/i],describe:function(t){var n={name:"Chromium"},r=F.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/ladybird/i],describe:function(t){var n={name:"Ladybird"},r=F.getFirstMatch(/ladybird\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/chrome|crios|crmo/i],describe:function(t){var n={name:"Chrome"},r=F.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/GSA/i],describe:function(t){var n={name:"Google Search"},r=F.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n={name:"Android Browser"},r=F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/playstation 4/i],describe:function(t){var n={name:"PlayStation 4"},r=F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/safari|applewebkit/i],describe:function(t){var n={name:"Safari"},r=F.getFirstMatch(Ne,t);return r&&(n.version=r),n}},{test:[/.*/i],describe:function(t){var n=t.search("\\(")!==-1?/^(.*)\/([^/]*)[ \t]\((.*)/:/^(.*)\/([^/]*) /;return{name:F.getFirstMatch(n,t),version:F.getSecondMatch(n,t)}}}],NL=[{test:[/Roku\/DVP/],describe:function(t){var n=F.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:Bt.Roku,version:n}}},{test:[/windows phone/i],describe:function(t){var n=F.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:Bt.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(t){var n=F.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),r=F.getWindowsVersionName(n);return{name:Bt.Windows,version:n,versionName:r}}},{test:function(t){return F.isFirefoxOnIpad(t.getUA())},describe:function(t){var n={name:Bt.iOS},r=F.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return r&&(n.version=r),n}},{test:[/macintosh/i],describe:function(t){var n=F.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),r=F.getMacOSVersionName(n),s={name:Bt.MacOS,version:n};return r&&(s.versionName=r),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var n=F.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:Bt.iOS,version:n}}},{test:[/OpenHarmony/i],describe:function(t){var n=F.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:Bt.HarmonyOS,version:n}}},{test:function(t){var n=!t.test(/like android/i),r=t.test(/android/i);return n&&r},describe:function(t){var n=F.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),r=F.getAndroidVersionName(n),s={name:Bt.Android,version:n};return r&&(s.versionName=r),s}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n=F.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),r={name:Bt.WebOS};return n&&n.length&&(r.version=n),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n=F.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||F.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||F.getFirstMatch(/\bbb(\d+)/i,t);return{name:Bt.BlackBerry,version:n}}},{test:[/bada/i],describe:function(t){var n=F.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:Bt.Bada,version:n}}},{test:[/tizen/i],describe:function(t){var n=F.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:Bt.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:Bt.Linux}}},{test:[/CrOS/],describe:function(){return{name:Bt.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var n=F.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:Bt.PlayStation4,version:n}}}],zL=[{test:[/googlebot/i],describe:function(){return{type:ze.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:ze.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:ze.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:ze.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:ze.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:ze.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:ze.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:ze.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:ze.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:ze.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:ze.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:ze.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:ze.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:ze.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:ze.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:ze.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:ze.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:ze.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var n=F.getFirstMatch(/(can-l01)/i,t)&&"Nova",r={type:ze.mobile,vendor:"Huawei"};return n&&(r.model=n),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:ze.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:function(t){return F.isFirefoxOnIpad(t.getUA())},describe:function(){return{type:ze.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:ze.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:ze.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:ze.tablet}}},{test:function(t){var n=t.test(/ipod|iphone/i),r=t.test(/like (ipod|iphone)/i);return n&&!r},describe:function(t){var n=F.getFirstMatch(/(ipod|iphone)/i,t);return{type:ze.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:ze.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var n=F.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),r={type:ze.mobile,vendor:"Nokia"};return n&&(r.model=n),r}},{test:[/[^-]mobi/i],describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:ze.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:ze.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:ze.mobile,vendor:"Microsoft"}}},{test:function(t){var n=Number(String(t.getOSVersion()).split(".")[0]);return t.getOSName(!0)==="android"&&n>=3},describe:function(){return{type:ze.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:ze.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:ze.tv}}},{test:[/netcast/i],describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:ze.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:ze.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:ze.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:ze.tv}}}],AL=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:pr.Blink};var n=F.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:pr.EdgeHTML,version:n}}},{test:function(t){return t.getBrowserName(!0)==="ladybird"},describe:function(){return{name:pr.LibWeb}}},{test:[/trident/i],describe:function(t){var n={name:pr.Trident},r=F.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){return t.test(/presto/i)},describe:function(t){var n={name:pr.Presto},r=F.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:function(t){var n=t.test(/gecko/i),r=t.test(/like gecko/i);return n&&!r},describe:function(t){var n={name:pr.Gecko},r=F.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:pr.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var n={name:pr.WebKit},r=F.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return r&&(n.version=r),n}}],G5=(function(){function e(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),n==null||n==="")throw new Error("UserAgent parameter can't be empty");this._ua=n;var l=!1;typeof r=="boolean"?(l=r,this._hints=s):r!=null&&typeof r=="object"?this._hints=r:this._hints=null,this.parsedResult={},l!==!0&&this.parse()}var t=e.prototype;return t.getHints=function(){return this._hints},t.hasBrand=function(r){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var s=r.toLowerCase();return this._hints.brands.some(function(l){return l.brand&&l.brand.toLowerCase()===s})},t.getBrandVersion=function(r){if(!(!this._hints||!Array.isArray(this._hints.brands))){var s=r.toLowerCase(),l=F.find(this._hints.brands,function(u){return u.brand&&u.brand.toLowerCase()===s});return l?l.version:void 0}},t.getUA=function(){return this._ua},t.test=function(r){return r.test(this._ua)},t.parseBrowser=function(){var r=this;this.parsedResult.browser={};var s=F.find(PL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.browser=s.describe(this.getUA(),this)),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(r){return r?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var r=this;this.parsedResult.os={};var s=F.find(NL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.os=s.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(r){var s=this.getOS().name;return r?String(s).toLowerCase()||"":s||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(r){r===void 0&&(r=!1);var s=this.getPlatform().type;return r?String(s).toLowerCase()||"":s||""},t.parsePlatform=function(){var r=this;this.parsedResult.platform={};var s=F.find(zL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.platform=s.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(r){return r?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var r=this;this.parsedResult.engine={};var s=F.find(AL,function(l){if(typeof l.test=="function")return l.test(r);if(Array.isArray(l.test))return l.test.some(function(u){return r.test(u)});throw new Error("Browser's test function is not valid")});return s&&(this.parsedResult.engine=s.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return F.assign({},this.parsedResult)},t.satisfies=function(r){var s=this,l={},u=0,d={},p=0;if(Object.keys(r).forEach(function(M){var N=r[M];typeof N=="string"||Array.isArray(N)?(d[M]=N,p+=1):typeof N=="object"&&(l[M]=N,u+=1)}),u>0){var m=Object.keys(l),g=F.find(m,function(M){return s.isOS(M)});if(g){var w=this.satisfies(l[g]);if(w!==void 0)return w}var x=F.find(m,function(M){return s.isPlatform(M)});if(x){var _=this.satisfies(l[x]);if(_!==void 0)return _}}if(p>0){var C=Object.keys(d),I=F.find(C,function(M){return s.isBrowser(M,!0)});if(I!==void 0)return this.compareVersions(d[I])}},t.isBrowser=function(r,s){s===void 0&&(s=!1);var l=this.getBrowserName().toLowerCase(),u=r.toLowerCase(),d=F.getBrowserTypeByAlias(u);return s&&d&&(u=d.toLowerCase()),u===l},t.compareVersions=function(r){var s=this;return typeof r=="string"?this.compareVersion(r):r.some(function(l){return s.compareVersion(l)})},t.compareVersion=function(r){var s=[0],l=r,u=!1,d=this.getBrowserVersion();if(typeof d=="string")return r[0]===">"||r[0]==="<"?(l=r.substr(1),r[1]==="="?(u=!0,l=r.substr(2)):s=[],r[0]===">"?s.push(1):s.push(-1)):r[0]==="="?l=r.substr(1):r[0]==="~"&&(u=!0,l=r.substr(1)),s.indexOf(F.compareVersions(d,l,u))>-1},t.isOS=function(r){return this.getOSName(!0)===String(r).toLowerCase()},t.isPlatform=function(r){return this.getPlatformType(!0)===String(r).toLowerCase()},t.isEngine=function(r){return this.getEngineName(!0)===String(r).toLowerCase()},t.is=function(r,s){return s===void 0&&(s=!1),this.isBrowser(r,s)||this.isOS(r)||this.isPlatform(r)},t.some=function(r){var s=this;return r===void 0&&(r=[]),r.some(function(l){return s.is(l)})},e})();/*!
|
|
129
129
|
* Bowser - a browser detector
|
|
130
130
|
* https://github.com/bowser-js/bowser
|
|
131
131
|
* MIT License | (c) Dustin Diaz 2012-2015
|
|
132
132
|
* MIT License | (c) Denis Demchenko 2015-2026
|
|
133
|
-
*/function IL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,OL(r.key),r)}}function ML(e,t,n){return n&&IL(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function OL(e){var t=TL(e,"string");return typeof t=="symbol"?t:t+""}function TL(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var l2=(function(){function e(){}return e.getParser=function(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),typeof n!="string")throw new Error("UserAgent should be a string");return new q5(n,r,s)},e.parse=function(n,r){return r===void 0&&(r=null),new q5(n,r).getResult()},ML(e,null,[{key:"BROWSER_MAP",get:function(){return qp}},{key:"ENGINE_MAP",get:function(){return pr}},{key:"OS_MAP",get:function(){return Bt}},{key:"PLATFORMS_MAP",get:function(){return ze}}])})();l2.parse;l2.getParser;const xd=new WeakMap,LL=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);function Gp(){const e=l2.parse(navigator.userAgent).platform.type,t=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;return e==="mobile"||e==="tablet"||t}function NL(){return Gp()?!1:!window.matchMedia?.("(width < 640px) and (pointer: coarse) and (hover: none)").matches}function Mi(e,t){xd.get(e)?.();const n=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",n),e.removeEventListener("keydown",r,!0),xd.delete(e)},r=s=>{!s.isComposing&&!s.ctrlKey&&!s.altKey&&!s.metaKey&&LL.has(s.key)&&n()};xd.set(e,n),e.setAttribute("data-dsh-automatic-focus",""),e.addEventListener("blur",n),e.addEventListener("keydown",r,!0),e.focus(t),e.matches(":focus")||n()}const c2='[role="dialog"][aria-modal="true"], [role="menu"]',Vs=new WeakMap;function PL(e){const t=Vs.get(e)?.at(-1);if(t===void 0)return;[...e.querySelectorAll(c2)].at(-1)===t.element&&t.close()}function Kp(e){if(e===null)return!1;const t=Vs.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const G5='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function u2(e,t,n){const r=S.useRef(n);r.current=n,S.useLayoutEffect(()=>{const s=e.current;if(!t||s===null)return;const l=s.ownerDocument,u=Kl(l),d=l.activeElement,p=Vs.get(l)??[];Vs.set(l,p);const m={element:s,close:()=>{r.current()}};p.push(m);const g=s.querySelector("[data-modal-autofocus]")??s.querySelector(G5)??s;s.contains(l.activeElement)||Mi(g);const w=x=>{const y=u.guards(x);if(p.at(-1)!==m||x.defaultPrevented||y||x.ctrlKey||x.altKey||x.metaKey||(x.key==="Escape"&&!x.shiftKey&&(x.preventDefault(),x.repeat||r.current()),x.key!=="Tab")||l.activeElement?.closest('[role="menu"]'))return;const b=[...s.querySelectorAll(G5)].filter(O=>!O.closest("[inert], [hidden]")),j=b[0]??s,I=b.at(-1)??s,P=x.shiftKey?l.activeElement===j:l.activeElement===I;(l.activeElement===s||!s.contains(l.activeElement)||P)&&(x.preventDefault(),(x.shiftKey?I:j).focus())};return l.addEventListener("keydown",w),()=>{u.dispose();const x=p.at(-1)===m;if(p.splice(p.indexOf(m),1),l.removeEventListener("keydown",w),p.length===0&&Vs.delete(l),x){const y=d instanceof HTMLElement&&d.isConnected?d:p.at(-1)?.element;y!==void 0&&Mi(y)}}},[e,t])}const zL="_keys_1p14q_1",AL="_key_1p14q_1",RL="_tooltip_1p14q_20",DL="_separator_1p14q_35",FL="_joined_1p14q_39",Os={keys:zL,key:AL,tooltip:RL,separator:DL,joined:FL},$L="_view_1ufe2_1",HL="_withFooter_1ufe2_24",VL="_content_1ufe2_31",BL="_header_1ufe2_39",ZL="_footer_1ufe2_44",WL="_footerBack_1ufe2_49",UL="_back_1ufe2_93",po={view:$L,withFooter:HL,content:VL,header:BL,footer:ZL,footerBack:WL,back:UL},Yp=S.createContext(null);function qL({target:e,backLabel:t,open:n,close:r,enterView:s,children:l}){const u=S.useRef(null),d=S.useMemo(()=>e===null?null:{target:e,backLabel:t,open:n,close:r,enterView:s,returnFocus:u},[e,t,n,r,s]);return c.jsx(Yp.Provider,{value:d,children:l})}function zi(){return S.useContext(Yp)}function Jp({title:e,onBack:t,footerBackLabel:n,children:r,className:s,onKeyDownCapture:l}){const u=zi(),d=S.useRef(null),p=u?.target,m=u?.enterView,g=u?.returnFocus;S.useLayoutEffect(()=>m?.(),[m]),S.useLayoutEffect(()=>{const b=document.activeElement,j=b instanceof HTMLElement&&b!==document.body?b:null,I=p?.parentElement?.querySelector("[data-phone-sidebar-content]");return j&&I?.contains(j)&&g&&(g.current=j),I&&(I.inert=!0),()=>{queueMicrotask(()=>{I&&(I.inert=p?.querySelector("[data-phone-sidebar-view]")!==null);const P=document.activeElement;if(!p?.closest("[data-phone-drawer][data-open]")||P!==document.body&&P?.isConnected&&!P.matches("[data-phone-drawer]")&&I?.contains(P)!==!0)return;const O=p?.closest("[data-phone-drawer]")?.querySelector("[data-phone-sidebar-return]");(j?.isConnected&&j.getClientRects().length>0?j:g?.current?.isConnected&&g.current.getClientRects().length>0?g.current:O)?.focus({preventScroll:!0})})}},[p,g]),u2(d,u?.open===!0,t);const w=S.useRef(t);w.current=t;const x=S.useRef(u?.open===!0);if(S.useEffect(()=>{const b=x.current&&u?.open===!1;x.current=u?.open===!0,b&&w.current()},[u?.open]),u?.target==null)return null;const y=c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:po.header,children:[c.jsx("button",{type:"button",className:po.back,"aria-label":u.backLabel,onClick:t,children:c.jsx(a7,{})}),c.jsx("h2",{children:e})]}),r]});return gn.createPortal(c.jsx("div",{ref:d,className:xe(s,po.view,n!==void 0&&po.withFooter),"data-phone-sidebar-view":!0,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,onKeyDownCapture:l,onClick:b=>b.stopPropagation(),children:n===void 0?y:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:po.content,children:y}),c.jsx("div",{className:po.footer,children:c.jsx("button",{type:"button",className:po.footerBack,onClick:t,children:n})})]})}),u.target)}function s1({keys:e,variant:t="plain",className:n}){return zi()!==null?null:c.jsx("span",{className:xe(Os.keys,t==="tooltip"&&Os.tooltip,t==="tooltip"&&e.includes("+")&&Os.joined,n),children:e.map((s,l)=>c.jsx("kbd",{className:s==="+"?Os.separator:Os.key,children:s},l))})}const GL="_surface_1ucg6_1",KL="_backing_1ucg6_2",YL="_compact_1ucg6_6",JL="_material_1ucg6_21",Ts={surface:GL,backing:KL,compact:YL,material:JL},gl=S.forwardRef(function({compact:t=!1,className:n,style:r,children:s,...l},u){const d=S.useId(),p=S.useRef(null);S.useLayoutEffect(()=>{document.body.appendChild(p.current)},[]);const m={"--dsh-menu-anchor":`--dsh-menu-${d.replaceAll(":","")}`};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{...l,ref:u,"data-menu-material":"translucent",className:xe(Ts.surface,t&&Ts.compact,n),style:{...r,...m},children:[c.jsx("div",{"aria-hidden":"true",className:Ts.material}),s]}),gn.createPortal(c.jsx("div",{ref:p,"aria-hidden":"true","data-menu-backing":"",className:xe(Ts.backing,t&&Ts.compact),style:{...m,visibility:r?.visibility}}),document.body)]})}),XL="_root_15q5x_1",QL="_list_15q5x_7",eN="_submenu_15q5x_8",tN="_portal_15q5x_41",nN="_sideTop_15q5x_49",rN="_alignEnd_15q5x_54",oN="_scrollable_15q5x_19",iN="_viewport_15q5x_19",sN="_footer_15q5x_62",aN="_itemWrap_15q5x_90",lN="_item_15q5x_90",cN="_denseList_15q5x_124",uN="_label_15q5x_129",dN="_compactList_15q5x_133",fN="_itemIcon_15q5x_148",hN="_separator_15q5x_80",pN="_check_15q5x_179",mN="_itemLabel_15q5x_190",gN="_shortcut_15q5x_198",vN="_shortcutKeys_15q5x_203",wN="_selected_15q5x_216",xN="_selectedFill_15q5x_221",yN="_danger_15q5x_226",_N="_phoneList_15q5x_288",He={root:XL,list:QL,submenu:eN,portal:tN,sideTop:nN,alignEnd:rN,scrollable:oN,viewport:iN,footer:sN,itemWrap:aN,item:lN,denseList:cN,label:uN,compactList:dN,itemIcon:fN,separator:hN,check:pN,itemLabel:mN,shortcut:gN,shortcutKeys:vN,selected:wN,selectedFill:xN,danger:yN,phoneList:_N};function bN({children:e,shortcut:t,icon:n,disabled:r=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return c.jsxs("div",{className:He.itemWrap,children:[l&&c.jsx("div",{className:He.separator,role:"separator"}),c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,s&&He.danger),disabled:r,"aria-keyshortcuts":t?.aria,onClick:u,children:[n!==void 0&&c.jsx("span",{className:He.itemIcon,children:n}),c.jsx("span",{className:He.itemLabel,children:e}),t!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(s1,{keys:t.keys,className:He.shortcutKeys})})]})]})}function K5(e){return"type"in e&&e.type==="separator"}function Y5(e){return"type"in e&&e.type==="label"}const CN={visibility:"hidden",left:0,top:0};function Xp({open:e,anchor:t,items:n=[],children:r,selectedId:s,selectedIds:l,onSelect:u,onClose:d,align:p="start",side:m="bottom",portal:g=!1,closeOnPointerLeave:w=!1,dense:x=!1,compact:y=!1,autoFocus:b=!1,selection:j="check",getAnchorRect:I,focusReturnTarget:P,footer:O,className:B,listClassName:z,phoneSidebarTitle:U,phoneSidebarDetails:Z,phoneSidebarFooterBackLabel:ee}){const G=zi()!==null&&U!==void 0,k=g&&!G,Y=S.useRef(null),V=S.useRef(null),K=S.useRef(null),X=S.useRef(null),we=S.useRef(!1),fe=(de=!1)=>{const De=P??X.current,dt=De!==null&&De.isConnected&&!De.matches(":disabled")?De:Y.current?.querySelector("button:not(:disabled)");dt!=null&&(de?dt.focus():Mi(dt))},Se=()=>{const de=we.current;queueMicrotask(()=>{if(ce.current)return;const De=document.activeElement;(De===null||De===document.body||V.current?.contains(De)===!0)&&fe(de)})},ce=S.useRef(e);ce.current=e;const[Q,te]=S.useState(null),[L,D]=S.useState(null),{arm:ne,cancel:pe}=Up(d);S.useLayoutEffect(()=>{if(!e||!k){D(null);return}const de=()=>{let Ye;if(I!==void 0?Ye=I():Ye=Y.current?.getBoundingClientRect()??null,Ye===null)return;const Qe=12,an=window.innerWidth,Ze=window.innerHeight,ln=V.current,nr=ln?.offsetWidth??0,wn=ln?.offsetHeight??0;let Dt,gt;m==="right"?(Dt=Ye.right+4,gt=Ye.top):p==="start"?(Dt=Ye.left,gt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4):(Dt=Ye.right-nr,gt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4),nr>0&&(Dt=Math.min(Math.max(Dt,Qe),an-nr-Qe)),wn>0&&(gt=Math.min(Math.max(gt,Ii(Qe)),Ze-wn-Qe)),D(Zn=>Zn?.left===Dt&&Zn.top===gt?Zn:{left:Dt,top:gt})};de();const De=()=>{de(),dt=requestAnimationFrame(De)};let dt=requestAnimationFrame(De);return window.addEventListener("scroll",de,!0),window.addEventListener("resize",de),()=>{cancelAnimationFrame(dt),window.removeEventListener("scroll",de,!0),window.removeEventListener("resize",de)}},[e,k,p,m,I]),S.useEffect(()=>{if(!e){X.current=null;return}const de=document.activeElement;X.current=de instanceof HTMLElement&&Y.current?.contains(de)===!0?de:null},[e]);const Oe=!k||L!==null;S.useEffect(()=>{if(!e||!b||!Oe)return;const de=V.current?.querySelector("button:not(:disabled)");K.current=de==null?null:0,de!=null&&Mi(de)},[e,b,Oe]),S.useEffect(()=>{if(!e){te(null),K.current=null;return}const de=Kl(document),De=Ze=>{G||!(Ze.target instanceof Node)||Y.current?.contains(Ze.target)!==!0&&V.current?.contains(Ze.target)!==!0&&d()},dt=Ze=>{if(de.guards(Ze)||Kp(G?V.current:P??Y.current)||Ze.defaultPrevented||Ze.ctrlKey||Ze.altKey||Ze.metaKey)return;const ln=document.activeElement,nr=V.current?.contains(ln)===!0,wn=Y.current?.contains(ln)===!0||nr;if(Ze.key==="Escape"&&!Ze.shiftKey){if(Ze.preventDefault(),Ze.repeat)return;d(),(wn||b)&&fe()}if(Ze.key==="Tab"){const Hi=V.current;if(Hi===null||!wn)return;if(Ze.shiftKey){Ze.preventDefault(),d(),fe(!0);return}if(nr){if(ln instanceof Element&&ln.getAttribute("role")==="menuitem"){Ze.preventDefault(),we.current=!0;try{ln.click()}finally{we.current=!1}}return}const Vi=Hi.querySelector("button:not(:disabled)");if(Vi===null)return;Ze.preventDefault(),Vi.focus(),K.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(Ze.key))return;const Dt=V.current;if(Dt===null||!wn)return;const gt=Array.from(Dt.querySelectorAll("button:not(:disabled)"));if(gt.length===0)return;const Zn=gt.indexOf(ln),Fi=Zn>=0?Zn:K.current,$i=Ze.key==="Home"?0:Ze.key==="End"?gt.length-1:Fi===null?Ze.key==="ArrowDown"?0:gt.length-1:(Fi+(Ze.key==="ArrowDown"?1:-1)+gt.length)%gt.length;Ze.preventDefault(),K.current=$i,gt[$i]?.focus()},Ye=()=>{document.activeElement instanceof HTMLIFrameElement&&d()};document.addEventListener("pointerdown",De);const Qe=Ze=>{Ze.key==="Escape"&&dt(Ze)},an=Ze=>{Ze.key!=="Escape"&&dt(Ze)};return document.addEventListener("keydown",an),document.addEventListener("keydown",Qe,!0),window.addEventListener("blur",Ye),()=>{de.dispose(),document.removeEventListener("pointerdown",De),document.removeEventListener("keydown",an),document.removeEventListener("keydown",Qe,!0),window.removeEventListener("blur",Ye)}},[e,d,b,G,P]),S.useEffect(()=>{e||pe()},[e,pe]);const Ne=!n.some(de=>!K5(de)&&!Y5(de)&&de.submenu!==void 0&&de.submenu.length>0),Be=de=>{if(K5(de))return c.jsx("div",{className:He.separator,role:"separator"},de.id);if(Y5(de))return c.jsx("div",{className:He.label,role:"presentation",children:de.text},de.id);const De=de.submenu!==void 0&&de.submenu.length>0,dt=De&&Q===de.id,Ye=de.id===s||l?.includes(de.id)===!0;return c.jsxs("div",{className:He.itemWrap,onMouseEnter:De?()=>{te(de.id)}:void 0,onMouseLeave:()=>{te(null)},children:[c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,Ye&&(j==="fill"?He.selectedFill:He.selected),de.danger===!0&&He.danger),disabled:de.disabled,"aria-keyshortcuts":de.shortcut?.aria,"aria-haspopup":De?"menu":void 0,"aria-expanded":De?dt:void 0,onFocus:De?()=>{te(de.id)}:void 0,onClick:()=>{if(De){te(de.id);return}u?.(de.id)},children:[de.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:de.icon}),c.jsx("span",{className:He.itemLabel,children:de.label}),de.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(s1,{keys:de.shortcut.keys,className:He.shortcutKeys})}),Ye&&j==="check"&&c.jsx(Pi,{className:He.check})]}),dt&&de.submenu!==void 0&&c.jsx(gl,{compact:y,className:xe(He.submenu,y&&He.compactList),role:"menu",children:de.submenu.map(Qe=>c.jsxs("button",{type:"button",role:"menuitem",className:He.item,disabled:Qe.disabled,"aria-keyshortcuts":Qe.shortcut?.aria,onClick:()=>{u?.(Qe.id),Se()},children:[Qe.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:Qe.icon}),c.jsx("span",{className:He.itemLabel,children:Qe.label}),Qe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(s1,{keys:Qe.shortcut.keys,className:He.shortcutKeys})})]},Qe.id))})]},de.id)},Fe=de=>{const De=de.target instanceof Element?de.target.closest('button[role="menuitem"]'):null;De===null||De.getAttribute("aria-haspopup")==="menu"||De.closest('[role="menu"]')===de.currentTarget&&te(null)},Re=e&&c.jsxs(gl,{compact:y,ref:V,className:xe(He.list,z,x&&He.denseList,y&&He.compactList,Ne&&He.scrollable,k&&He.portal,m==="top"&&!g&&He.sideTop,p==="end"&&!g&&He.alignEnd,G&&He.phoneList),style:k?L??CN:void 0,role:"menu",onClick:de=>{de.stopPropagation();const De=de.target instanceof Element?de.target.closest('button[role="menuitem"]'):null;De!==null&&De.getAttribute("aria-haspopup")!=="menu"&&Se()},onMouseOver:Fe,onFocus:Fe,children:[c.jsxs("div",{className:He.viewport,role:"presentation",children:[G&&Z,n.map(Be),r]}),O!==void 0&&O.length>0&&c.jsx("div",{className:He.footer,role:"presentation",children:O.map(Be)})]});return k&&t===null&&I!==void 0?e?gn.createPortal(Re,document.body):null:c.jsxs("span",{ref:Y,className:xe(He.root,B),onPointerEnter:w?pe:void 0,onPointerLeave:w?()=>{e&&ne()}:void 0,children:[t,G?e&&c.jsx(Jp,{title:U,onBack:d,footerBackLabel:ee,children:Re}):g?Re!==!1&&gn.createPortal(Re,document.body):Re]})}const kN="_group_i2pru_1",SN="_start_i2pru_5",EN="_heading_i2pru_19",yd={group:kN,start:SN,heading:EN};function jN({label:e,children:t}){const n=S.useId();return c.jsxs("section",{role:"group","aria-labelledby":n,"data-menu-group":"",className:yd.group,children:[c.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:yd.start}),c.jsx("div",{id:n,"data-menu-group-heading":"",className:yd.heading,children:e}),t]})}function IN(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(g=>{const w=g.querySelector(":scope > [data-menu-group-heading]"),x=g.querySelector(":scope > [data-menu-group-start]");return w===null||x===null?[]:[{section:g,heading:w,start:x,atTop:!1,above:!1,topTime:-1/0,aboveTime:-1/0}]});if(t.length===0||typeof IntersectionObserver>"u"||typeof ResizeObserver>"u")return()=>{};const n=new Map(t.map(g=>[g.section,g])),r=new Map(t.map(g=>[g.start,g]));let s=!1,l,u;const d=g=>{const w=g.atTop&&g.above;g.heading.hasAttribute("data-stuck")!==w&&g.heading.toggleAttribute("data-stuck",w)},p=new IntersectionObserver(g=>{if(!s)for(const w of g){const x=r.get(w.target);!x||w.rootBounds===null||w.time<x.aboveTime||(x.above=w.boundingClientRect.top<w.rootBounds.top,x.aboveTime=w.time,d(x))}},{root:e,threshold:[0,1]});for(const{start:g}of t)p.observe(g);const m=new ResizeObserver(g=>{if(!s)for(const w of g){if(w.target!==e||w.contentRect.height===u)continue;u=w.contentRect.height,l?.disconnect();const x=new IntersectionObserver(y=>{if(!(s||l!==x))for(const b of y){const j=n.get(b.target);if(!j||b.rootBounds===null)continue;const I=b.rootBounds.top;b.time>=j.topTime&&(j.atTop=b.isIntersecting&&b.boundingClientRect.bottom>I,j.topTime=b.time),b.time>=j.aboveTime&&(j.above=b.boundingClientRect.top<I,j.aboveTime=b.time),d(j)}},{root:e,rootMargin:`0px 0px ${Math.min(1,u)-u}px 0px`,threshold:0});l=x;for(const{section:y}of t)x.observe(y)}});return m.observe(e),()=>{if(!s){s=!0,p.disconnect(),l?.disconnect(),m.disconnect();for(const{heading:g}of t)g.hasAttribute("data-stuck")&&g.removeAttribute("data-stuck")}}}const MN=12;function ON(e,t,n,r=MN){const[s,l]=S.useState(t);return S.useLayoutEffect(()=>{const u=e.current;if(u===null)return;const d=()=>{l(Math.min(t,Math.max(0,u.getBoundingClientRect().bottom-Ii(r))))};return d(),window.addEventListener("resize",d),window.addEventListener("scroll",d,!0),()=>{window.removeEventListener("resize",d),window.removeEventListener("scroll",d,!0)}},[e,t,n,r]),s}function TN(e){const{open:t,anchorRef:n,panelRef:r,side:s="bottom",align:l="start",gap:u,margin:d}=e,[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(!t){m(null);return}const g=()=>{const y=n.current?.getBoundingClientRect();if(y===void 0)return;const b=r.current,j=b?.offsetWidth??0,I=b?.offsetHeight??0;let P=l==="end"?y.right-j:y.left,O=s==="top"?y.top-u-I:y.bottom+u;j>0&&(P=Math.min(Math.max(P,d),window.innerWidth-j-d)),I>0&&(O=Math.min(Math.max(O,Ii(d)),window.innerHeight-I-d)),m({left:P,top:O})};g(),window.addEventListener("scroll",g,!0),window.addEventListener("resize",g);const w=r.current;let x=null;return typeof ResizeObserver<"u"&&w!==null&&(x=new ResizeObserver(g),x.observe(w)),()=>{x?.disconnect(),window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g)}},[t,n,r,s,l,u,d]),p}function d2(e,t,n,r){S.useEffect(()=>{if(!t)return;const s=l=>{l.target instanceof Node&&e.current?.contains(l.target)!==!0&&r?.current?.contains(l.target)!==!0&&n(!1)};return document.addEventListener("pointerdown",s),()=>{document.removeEventListener("pointerdown",s)}},[e,t,n,r])}const LN="_bubble_dcbfb_1",NN="_label_dcbfb_31",J5={bubble:LN,label:NN},X5={pointer:"pointer",keyboard:"keyboard"},PN="data-input-modality",zN=new Set(["Tab","Home","End","PageUp","PageDown"]);let o0=!1,Fs=!1,mo;function _d(){document.documentElement.setAttribute(PN,Fs?X5.pointer:X5.keyboard)}function Qp(){return o0}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{o0=!0,Fs=!0,mo=void 0,_d()},!0),window.addEventListener("keydown",e=>{if(o0=!1,e.isComposing){mo=void 0;return}mo=e.composedPath()[0],!(!zN.has(e.key)&&!e.key.startsWith("Arrow"))&&(Fs=!1,_d())},!0),window.addEventListener("focusin",e=>{mo===void 0||e.composedPath()[0]===mo||(mo=void 0,Fs&&(Fs=!1,_d()))},!0),window.addEventListener("blur",()=>{mo=void 0}));const i0=S.createContext(null);function qr({label:e,shortcutKeys:t,side:n="right",align:r="center",delayMs:s=0,focusDelayMs:l=0,gap:u=8,disabled:d=!1,portal:p=!1,maxWidth:m,openOnClick:g=!1,children:w}){const x=S.useId(),y=zi()!==null,b=!y&&!!t?.length,[j,I]=S.useState(!1),P=S.useRef(null),O=w.ref,B=S.useCallback(ne=>{P.current=ne,typeof O=="function"?O(ne):O!=null&&(O.current=ne)},[O]),[z,U]=S.useState(null),Z=S.useRef(null),ee=z===null?null:typeof e=="function"?e():e,q=z===null?0:n==="right"?z.top+(z.bottom-z.top)/2:n==="top"?z.top-u:z.bottom+u,G=S.useRef(null),k=S.useRef({hover:!1,focus:!1}),Y=S.useContext(i0),[V,K]=S.useState(!1),X=S.useCallback(ne=>{Y?.(ne)},[Y]),we=z!==null&&!d&&(!y||!!ee);S.useEffect(()=>{const ne=Z.current;if(z===null||!we||V||ne===null)return;const pe=12;let Oe,Ne=n;const Be=()=>{if(Oe===void 0)return;const{inlineSize:Re,blockSize:de}=Oe,De=n==="right"?0:r==="end"?Re:Re/2,dt=Math.max(pe,Math.min(z.x-De,window.innerWidth-pe-Re)),Ye=z.bottom+u+de<=window.innerHeight-pe,Qe=z.top-u-de>=pe;Ne==="bottom"&&!Ye&&Qe?Ne="top":Ne==="top"&&!Qe&&Ye&&(Ne="bottom"),ne.style.left=`${dt+De}px`,ne.style.top=`${Ne==="right"?(z.top+z.bottom)/2:Ne==="top"?z.top-u:z.bottom+u}px`,ne.dataset.side=Ne,ne.style.visibility="visible"},Fe=new ResizeObserver(Re=>{Oe=Re[0]?.borderBoxSize[0],Be()});return Fe.observe(ne,{box:"border-box"}),window.addEventListener("resize",Be),()=>{Fe.disconnect(),window.removeEventListener("resize",Be)}},[r,u,z,n,V,we]),S.useEffect(()=>(X(we),()=>{X(!1)}),[X,we]);const fe=S.useCallback(()=>{G.current!==null&&(clearTimeout(G.current),G.current=null)},[]);S.useEffect(()=>(j&&(d||!g)&&I(!1),d&&(fe(),k.current={hover:!1,focus:!1},U(null)),fe),[fe,d,g,j]);const Se=()=>{if(d||y&&!(typeof e=="function"?e():e))return;const ne=P.current;if(ne===null)return;const pe=ne.getBoundingClientRect();U({x:n==="right"?pe.right+10:r==="end"?pe.right:pe.left+pe.width/2,top:pe.top,bottom:pe.bottom}),X(!0)},ce=ne=>{if(fe(),ne<=0){Se();return}G.current=setTimeout(()=>{G.current=null,Se()},ne)},Q=S.useCallback(()=>{I(!1),U(null),X(!1)},[X]),te=()=>{fe(),!k.current.hover&&!k.current.focus&&!j&&Q()},L=S.useCallback(()=>{fe(),k.current={hover:!1,focus:!1},Q()},[fe,Q]);d2(P,g&&we,L,Z),S.useEffect(()=>{if(!g||!we)return;const ne=pe=>{pe.key!=="Escape"&&pe.key!=="Tab"||(pe.key==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),L())};return document.addEventListener("keydown",ne,!0),()=>{document.removeEventListener("keydown",ne,!0)}},[L,g,we]);const D=we&&!V&&c.jsxs("span",{ref:Z,id:g?x:void 0,className:J5.bubble,"data-side":n,"data-portal":p||void 0,"data-pinned":j||void 0,"data-align":r,"data-has-shortcut":b||void 0,style:{left:z.x,top:q,visibility:"hidden",...m===void 0?{}:{maxWidth:m}},role:"tooltip","aria-label":t?.length?[ee,t.join(" ")].filter(Boolean).join(" "):void 0,children:[ee&&c.jsx("span",{className:J5.label,children:ee}),t!==void 0&&t.length>0&&c.jsx(s1,{keys:t,variant:"tooltip"})]});return c.jsxs(i0.Provider,{value:K,children:[S.cloneElement(w,{ref:B,"aria-describedby":g&&we?[w.props["aria-describedby"],x].filter(Boolean).join(" "):w.props["aria-describedby"],onPointerEnter:ne=>{w.props.onPointerEnter?.(ne),!(!y||ne.pointerType==="touch")&&(k.current.hover=!0,ce(s))},onPointerLeave:ne=>{w.props.onPointerLeave?.(ne),y&&(k.current.hover=!1,fe(),j||Q())},onMouseEnter:ne=>{w.props.onMouseEnter?.(ne),!y&&(k.current.hover=!0,ce(s))},onMouseLeave:ne=>{w.props.onMouseLeave?.(ne),k.current.hover=!1,fe(),j||Q()},onClick:ne=>{w.props.onClick?.(ne),k.current.focus=!1,fe(),g&&!d&&!j?(I(!0),Se()):Q()},onFocus:ne=>{w.props.onFocus?.(ne),!(Qp()||y&&ne.currentTarget.hasAttribute("data-dsh-automatic-focus"))&&(k.current.focus=!0,ce(l))},onBlur:ne=>{w.props.onBlur?.(ne),k.current.focus=!1,te()}}),p?D!==!1&&gn.createPortal(D,document.body):D]})}const AN="_root_ghlrl_3",RN="_card_ghlrl_9",DN="_copyable_ghlrl_21",FN="_feedback_ghlrl_31",$N="_copied_ghlrl_37",HN="_status_ghlrl_44",VN="_preview_ghlrl_53",BN="_inline_ghlrl_84",ZN="_media_ghlrl_87",hr={root:AN,card:RN,copyable:DN,feedback:FN,copied:$N,status:HN,preview:VN,inline:BN,media:ZN},Q5=100,e6=420,t6=24,WN=300,go=8,nn=8;function e9({anchor:e,content:t,openDelayMs:n=500,disabled:r=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:d="compact",widthAnchorRef:p,inline:m=!1}){const g=S.useRef(null),w=S.useRef(null),x=S.useRef(null),y=S.useRef(null),b=S.useRef(null),j=S.useRef(0),I=S.useRef(!1),P=S.useRef(!0),[O,B]=S.useState("closed"),z=O!=="closed",U=O==="closing",[Z,ee]=S.useState(null),q=Z!==null,[G,k]=S.useState(!1),[Y,V]=S.useState(!1),K=S.useCallback(()=>{y.current!==null&&(clearTimeout(y.current),y.current=null),b.current=null,k(!1)},[]),X=S.useCallback(()=>{j.current+=1,K(),B(D=>d==="preview"&&D!=="closed"?"closing":"closed")},[K,d]),{arm:we,cancel:fe}=Up(X),Se=()=>{x.current!==null&&(clearTimeout(x.current),x.current=null)};S.useEffect(()=>{if(!U)return;const D=setTimeout(()=>{B("closed")},Q5);return()=>{clearTimeout(D)}},[U]),S.useEffect(()=>{r&&(Se(),fe(),X())},[r,fe,X]),S.useEffect(()=>(P.current=!0,()=>{P.current=!1,j.current+=1,Se(),y.current!==null&&(clearTimeout(y.current),y.current=null)}),[]),S.useEffect(()=>{if(!z||d!=="preview"&&!m)return;const D=ne=>{ne.key==="Escape"&&(m&&ne.stopPropagation(),Se(),fe(),X())};return window.addEventListener("keydown",D,m),()=>{window.removeEventListener("keydown",D,m)}},[z,d,m,fe,X]),S.useLayoutEffect(()=>{if(!z){ee(null);return}const D=()=>{const pe=g.current;if(pe===null)return;const Oe=pe.getBoundingClientRect(),Ne=w.current?.offsetHeight??0;if(d==="preview"){const Fe=p?.current?.getBoundingClientRect()??Oe,Re=Math.max(0,Math.min(Fe.width-t6*2,window.innerWidth-nn*2)),de=Ii(nn),De=Math.max(de,Oe.bottom+go),dt=Math.max(0,Oe.top-go-de),Ye=Math.max(0,window.innerHeight-De-nn),Qe=dt>=Math.min(e6,Ye),an=Math.min(e6,Qe?dt:Ye);ee({left:Math.max(nn,Math.min(Fe.left+t6,window.innerWidth-Re-nn)),top:Qe?Math.max(de,Oe.top-Math.min(Ne,an)-go):De,width:Re,maxHeight:an});return}if(m){const Fe=Math.max(Ne,w.current?.scrollHeight??0),Re=Math.max(0,Math.min(WN,window.innerWidth-nn*2)),de=Ii(nn),De=Math.max(de,Oe.bottom+go),dt=Math.max(0,Oe.top-go-de),Ye=Math.max(0,window.innerHeight-De-nn),Qe=Fe>Ye&&dt>Ye,an=Qe?dt:Ye;ee({left:Math.max(nn,Math.min(Oe.left,window.innerWidth-Re-nn)),top:Qe?Oe.top-go-Math.min(Fe,an):De,width:Re,maxHeight:an});return}const Be=Oe.top+Ne>window.innerHeight-nn?window.innerHeight-Ne-nn:Oe.top;ee({left:Oe.right+go,top:Be})};D();const ne=(d==="preview"||m)&&typeof ResizeObserver<"u"?new ResizeObserver(D):null;for(const pe of[w.current,g.current,p?.current])pe!=null&&ne?.observe(pe);return window.addEventListener("scroll",D,!0),window.addEventListener("resize",D),()=>{ne?.disconnect(),window.removeEventListener("scroll",D,!0),window.removeEventListener("resize",D)}},[z,d,p,q,m]),S.useLayoutEffect(()=>{if(!z||Z===null||d==="preview"||m||Y)return;const D=w.current?.offsetHeight??0;Z.top+D>window.innerHeight-nn&&ee({left:Z.left,top:window.innerHeight-D-nn})},[z,Z,d,m,Y]);const ce=async D=>{if(G||I.current)return;I.current=!0;const ne=j.current,pe=await Ul(D);I.current=!1;const Oe=w.current;if(!pe||!P.current||ne!==j.current||Oe===null)return;const Ne=Oe.offsetHeight;b.current=Ne>0?Ne:null,k(!0),y.current=setTimeout(K,1e3)},Q=s!==void 0,te=D=>{w.current?.contains(D.target)||(Se(),fe(),X())},L=z&&Z!==null&&!Y&&c.jsx("div",{ref:w,className:xe(hr.card,d==="preview"&&hr.preview,m&&hr.media,Q&&hr.copyable,G&&hr.feedback),"data-closing":U||void 0,style:{...Z,minHeight:G&&b.current!==null?b.current:void 0,"--dsh-hover-preview-fade":`${Q5}ms`},role:Q?"button":void 0,tabIndex:Q?0:void 0,"aria-label":Q?`${l}: ${s}`:void 0,onClick:Q?D=>{const ne=window.getSelection();if(ne!==null&&!ne.isCollapsed){for(let pe=0;pe<ne.rangeCount;pe+=1)if(ne.getRangeAt(pe).intersectsNode(D.currentTarget))return}ce(s)}:void 0,onKeyDown:Q?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),ce(s))}:void 0,children:G?c.jsx("span",{className:hr.copied,"aria-hidden":"true",children:u}):t});return c.jsxs("span",{ref:g,className:xe(hr.root,m&&hr.inline),onFocus:m?D=>{!r&&D.target.matches(":focus-visible")&&(fe(),B("open"))}:void 0,onBlur:m?D=>{D.currentTarget.contains(D.relatedTarget)||(Se(),fe(),X())}:void 0,onPointerEnter:D=>{if(!(r||m&&D.pointerType==="touch")){if(fe(),z){B("open");return}Se(),x.current=setTimeout(()=>{B("open")},n)}},onPointerLeave:()=>{Se(),z&&we()},onPointerDownCapture:te,onClickCapture:te,children:[c.jsx(i0.Provider,{value:V,children:e}),z&&!Y&&Q&&c.jsx("span",{className:hr.status,role:"status",children:G?u:""}),L!==!1&&gn.createPortal(L,document.body)]})}const UN="_triggerSeat_l2tp1_1",qN="_trigger_l2tp1_1",GN="_chipBody_l2tp1_19",KN="_chip_l2tp1_19",YN="_chipNumber_l2tp1_36",JN="_chipText_l2tp1_42",XN="_chipRemove_l2tp1_50",QN="_labelSeat_l2tp1_69",eP="_label_l2tp1_69",tP="_popover_l2tp1_86",nP="_card_l2tp1_102",rP="_cardSection_l2tp1_108",oP="_cardHeading_l2tp1_115",iP="_cardText_l2tp1_121",sP="_cardPre_l2tp1_127",St={triggerSeat:UN,trigger:qN,chipBody:GN,chip:KN,chipNumber:YN,chipText:JN,chipRemove:XN,labelSeat:QN,label:eP,popover:tP,card:nP,cardSection:rP,cardHeading:oP,cardText:iP,cardPre:sP},n6=48,aP=320,bd=8,Ls=8;function s0(e){const t=e.replace(/\s+/gu," ").trim();return t.length<=n6?t:`${t.slice(0,n6-1)}…`}function t9({annotation:e,labels:t}){const n=e.text.includes(`
|
|
134
|
-
`);return c.jsxs("div",{className:St.card,children:[c.jsxs("div",{className:St.cardSection,children:[c.jsx("div",{className:St.cardHeading,children:t.selectedText}),n?c.jsx("pre",{className:St.cardPre,tabIndex:0,children:e.text}):c.jsx("div",{className:St.cardText,children:e.text})]}),e.annotation===void 0?null:c.jsxs("div",{className:St.cardSection,children:[c.jsx("div",{className:St.cardHeading,children:t.userComment}),c.jsx("div",{className:St.cardText,children:e.annotation})]})]})}function f2({anchor:e,annotation:t,labels:n,className:r,title:s,open:l=!1,onActivate:u}){const[d,p]=S.useState(l),m=S.useRef(null),g=S.useRef(null),[w,x]=S.useState(null),y=S.useCallback(()=>{p(!1)},[]);return d2(m,d,y,g),S.useEffect(()=>{if(!d)return;const b=j=>{j.key==="Escape"&&y()};return window.addEventListener("keydown",b),()=>{window.removeEventListener("keydown",b)}},[d,y]),S.useEffect(()=>{if(!d){x(null);return}const b=()=>{const I=m.current?.getBoundingClientRect();if(I===void 0)return;const P=Math.min(aP,window.innerWidth-Ls*2),O=Ii(Ls),B=Math.max(O,I.bottom+bd),z=Math.max(0,I.top-bd-O),U=Math.max(0,window.innerHeight-B-Ls),Z=Math.min(g.current?.offsetHeight??0,z),ee=U<80&&z>U;x({left:Math.max(Ls,Math.min(I.left,window.innerWidth-P-Ls)),top:ee?Math.max(O,I.top-bd-Z):B,width:P,maxHeight:ee?z:U})};b();const j=requestAnimationFrame(b);return window.addEventListener("resize",b),window.addEventListener("scroll",b,!0),()=>{cancelAnimationFrame(j),window.removeEventListener("resize",b),window.removeEventListener("scroll",b,!0)}},[d]),c.jsxs("span",{ref:m,className:xe(St.triggerSeat,r),children:[c.jsx("button",{type:"button",className:St.trigger,title:s,"aria-expanded":d,onClick:()=>{u?.(),p(b=>!b)},children:e}),d&&w!==null&&gn.createPortal(c.jsx("div",{ref:g,className:St.popover,role:"dialog","aria-label":n.selectedText,style:{left:w.left,top:w.top,width:w.width,maxHeight:w.maxHeight},children:c.jsx(t9,{annotation:t,labels:n})}),document.body)]})}function lP({index:e,annotation:t,labels:n,onActivate:r,onRemove:s}){return c.jsxs("div",{className:St.chip,"data-response-annotation":e,children:[c.jsx(f2,{annotation:t,labels:n,title:n.railTitle(e,s0(t.text)),className:St.chipBody,onActivate:r,anchor:c.jsxs(c.Fragment,{children:[c.jsx("span",{className:St.chipNumber,children:n.railLabel(e)}),c.jsx("span",{className:St.chipText,children:s0(t.text)})]})}),s===void 0?null:c.jsx("button",{type:"button",className:St.chipRemove,"aria-label":n.remove(e),onClick:s,children:c.jsx(n2,{size:12})})]})}function n9({index:e,annotation:t,labels:n}){return t===void 0?c.jsx("span",{className:St.label,children:n.label(e)}):c.jsx(f2,{annotation:t,labels:n,title:n.railTitle(e,s0(t.text)),className:St.labelSeat,anchor:c.jsx("span",{className:St.label,children:n.label(e)})})}const cP="_root_6j8uo_6",uP="_mask_6j8uo_18",dP="_dialog_6j8uo_33",fP="_content_6j8uo_74",hP="_header_6j8uo_86",pP="_title_6j8uo_95",mP="_close_6j8uo_103",gP="_description_6j8uo_129",vP="_body_6j8uo_138",wP="_footer_6j8uo_146",rn={root:cP,mask:uP,dialog:dP,content:fP,header:hP,title:pP,close:mP,description:gP,body:vP,footer:wP};function r9({open:e,onClose:t,title:n,closeLabel:r,description:s,children:l,footer:u,className:d,contentClassName:p,onKeyDownCapture:m,headless:g=!1,backdropBlur:w=!0,shortcutModal:x,phoneSidebar:y=!1,phoneSidebarOrigin:b=!1}){const j=zi(),I=S.useRef(!1),P=S.useRef(!1);e&&!P.current&&(I.current=y&&(j?.open===!0||b)),P.current=e;const O=I.current&&j!==null,B=S.useRef(null);return u2(B,e&&!O,t),e?O?c.jsxs(Jp,{title:n,onBack:t,className:d,onKeyDownCapture:m,children:[g?l:c.jsxs("div",{className:xe(rn.content,p),children:[s&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]}):gn.createPortal(c.jsxs("div",{className:rn.root,role:"presentation",onKeyDownCapture:m,children:[c.jsx("div",{className:rn.mask,style:w?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),c.jsx("div",{ref:B,tabIndex:-1,"data-shortcut-modal":x,className:xe(rn.dialog,d),role:"dialog","aria-modal":"true","aria-label":n,children:g?l:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:rn.header,children:[c.jsx("h2",{className:rn.title,children:n}),c.jsx("button",{type:"button",className:rn.close,"aria-label":r,onClick:t,children:c.jsx(Gl,{size:14})})]}),c.jsxs("div",{className:xe(rn.content,p),children:[s!==void 0&&s!==""&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]})})]}),document.body):null}const xP="_confirmation_18u1x_1",yP="_confirmationContent_18u1x_7",_P="_warning_18u1x_19",bP="_warningIcon_18u1x_32",CP="_acknowledgement_18u1x_38",kP="_modalAction_18u1x_68",SP="_confirmAction_18u1x_72",vo={confirmation:xP,confirmationContent:yP,warning:_P,warningIcon:bP,acknowledgement:CP,modalAction:kP,confirmAction:SP};function EP({open:e,title:t,description:n,acknowledgeLabel:r,cancelLabel:s,closeLabel:l,confirmLabel:u,acknowledged:d,disabled:p=!1,onAcknowledgedChange:m,onCancel:g,onConfirm:w}){return c.jsxs(r9,{open:e,onClose:g,title:t,closeLabel:l,className:vo.confirmation,contentClassName:vo.confirmationContent,footer:c.jsxs(c.Fragment,{children:[c.jsx(r0,{variant:"outline",className:vo.modalAction,onClick:g,children:s}),c.jsx(r0,{variant:"primary",className:vo.confirmAction,disabled:p||!d,onClick:w,children:u})]}),children:[c.jsxs("div",{className:vo.warning,children:[c.jsx(N7,{size:18,className:vo.warningIcon}),c.jsx("p",{children:n})]}),c.jsxs("label",{className:vo.acknowledgement,children:[c.jsx("input",{type:"checkbox",checked:d,disabled:p,"data-modal-autofocus":!0,onChange:x=>{m(x.currentTarget.checked)}}),c.jsx("span",{children:r})]})]})}const jP="_indicator_9rbf2_1",IP="_leaving_9rbf2_25",MP="_warning_9rbf2_35",OP="_success_9rbf2_64",TP="_icon_9rbf2_70",LP="_label_9rbf2_81",NP="_dots_9rbf2_85",PP="_secondDot_9rbf2_91",zP="_thirdDot_9rbf2_95",Sn={indicator:jP,leaving:IP,warning:MP,success:OP,icon:TP,label:LP,dots:NP,secondDot:PP,thirdDot:zP},AP=150;function RP({state:e,disconnectedLabel:t,connectingLabel:n,recoveredLabel:r,reconnectActionLabel:s,restartActionLabel:l,onReconnect:u}){const[d,p]=S.useState(e),m=e===void 0&&d!==void 0;if(S.useEffect(()=>{if(e!==void 0){p(e);return}if(d===void 0)return;const x=window.setTimeout(()=>{p(void 0)},AP);return()=>{window.clearTimeout(x)}},[e,d]),d===void 0)return null;const g=m?` ${Sn.leaving}`:"";if(d==="recovered")return c.jsxs("div",{className:`${Sn.indicator} ${Sn.success}${g}`,role:"status","aria-label":r,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:c.jsx(Pi,{size:14})}),c.jsx("span",{className:Sn.label,children:r})]});const w=d==="connecting";return c.jsxs("button",{type:"button",className:`${Sn.indicator} ${Sn.warning}${g}`,"data-phase":d,"aria-label":w?l:s,onClick:u,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:w?c.jsx(i2,{state:"ongoing"}):c.jsx(v7,{size:14})}),c.jsx("span",{className:Sn.label,children:w?c.jsxs(c.Fragment,{children:[n,c.jsxs("span",{className:Sn.dots,"aria-hidden":"true",children:[c.jsx("span",{children:"."}),c.jsx("span",{className:Sn.secondDot,children:"."}),c.jsx("span",{className:Sn.thirdDot,children:"."})]})]}):t})]})}const $s={width:23.16,height:17.04},o9="M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z";function DP({size:e=24,className:t}){return c.jsx("svg",{width:e,height:e*$s.height/$s.width,className:t,viewBox:`0 0 ${$s.width} ${$s.height}`,fill:"none","aria-hidden":"true",children:c.jsx("path",{d:o9,fill:"currentColor"})})}function FP({size:e=24,className:t,includeMark:n=!0}){const r=n?182:156;return c.jsxs("svg",{width:e*r/24,height:e,className:t,viewBox:n?"0 0 182 24":"26 0 156 24",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M68.416 18.2447H67.0501V16.1272H68.416C69.2619 16.1272 70.1166 15.9163 70.6671 15.3304C71.2181 14.7444 71.426 13.8455 71.426 12.9471C71.426 12.0487 71.2268 11.1498 70.6671 10.5643C70.1083 9.97831 69.2619 9.76744 68.416 9.76744C67.5701 9.76744 66.7154 9.97831 66.1639 10.5643C65.6129 11.1503 65.4049 12.0487 65.4049 12.9471V21.6435H63.009V7.6582H65.4049V8.54883H65.8442C65.8918 8.49393 65.9394 8.44728 65.9875 8.40064C66.5871 7.85353 67.5049 7.6582 68.4072 7.6582C69.8212 7.6582 71.2341 8.00998 72.1607 8.98662C73.0868 9.96325 73.4143 11.4632 73.4143 12.9558C73.4143 14.4485 73.0785 15.9406 72.1607 16.925C71.2424 17.9094 69.8212 18.2457 68.416 18.2457V18.2447Z",fill:"currentColor"}),c.jsx("path",{d:"M31.9551 8.03497H33.3204V10.1525H31.9551C31.1087 10.1525 30.2545 10.3633 29.7035 10.9493C29.1525 11.5353 28.945 12.4342 28.945 13.3326C28.945 14.231 29.1447 15.1294 29.7035 15.7154C30.2623 16.3014 31.1087 16.5122 31.9551 16.5122C32.8015 16.5122 33.6562 16.3014 34.2072 15.7154C34.7582 15.1294 34.9657 14.231 34.9657 13.3326V4.62842H37.3611V18.6219H34.9657V17.7313H34.5264C34.4783 17.7857 34.4307 17.8329 34.3826 17.8795C33.7835 18.4261 32.8652 18.6219 31.9629 18.6219C30.5494 18.6219 29.136 18.2707 28.2099 17.294C27.2838 16.3174 26.9563 14.817 26.9563 13.3248C26.9563 11.8327 27.2916 10.34 28.2099 9.35561C29.136 8.37898 30.5494 8.03497 31.9551 8.03497Z",fill:"currentColor"}),c.jsx("path",{d:"M49.3786 13.1431V13.9948H42.9984V12.2996H47.2305C47.1348 11.6825 46.9113 11.1043 46.5119 10.682C45.9371 10.0727 45.0503 9.85409 44.1723 9.85409C43.2943 9.85409 42.4076 10.0727 41.8328 10.682C41.258 11.2913 41.05 12.2213 41.05 13.1435C41.05 14.0658 41.2575 15.003 41.8328 15.6046C42.4076 16.2061 43.2939 16.433 44.1723 16.433C45.0508 16.433 45.9371 16.2143 46.5119 15.6046C46.5916 15.5186 46.6635 15.4248 46.7354 15.331H49.0992C48.8918 16.0657 48.5643 16.7299 48.0691 17.2454C47.111 18.2531 45.6339 18.6205 44.1723 18.6205C42.7108 18.6205 41.2337 18.2609 40.2755 17.2454C39.3174 16.2299 38.9661 14.6828 38.9661 13.1435C38.9661 11.6043 39.3096 10.0494 40.2755 9.04168C41.242 8.03396 42.7108 7.66663 44.1723 7.66663C45.6339 7.66663 47.111 8.02618 48.0691 9.04168C49.0351 10.0572 49.3786 11.6043 49.3786 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M61.4045 13.1431V13.9948H55.0243V12.2996H59.2564C59.1602 11.6825 58.9372 11.1043 58.5378 10.682C57.963 10.0727 57.0762 9.85409 56.1982 9.85409C55.3202 9.85409 54.4335 10.0727 53.8587 10.682C53.2839 11.2913 53.0759 12.2213 53.0759 13.1435C53.0759 14.0658 53.2834 15.003 53.8587 15.6046C54.4335 16.2061 55.3202 16.433 56.1982 16.433C57.0762 16.433 57.963 16.2143 58.5378 15.6046C58.6179 15.5186 58.6894 15.4248 58.7608 15.331H61.1251C60.9171 16.0657 60.5897 16.7299 60.0945 17.2454C59.1364 18.2531 57.6593 18.6205 56.1982 18.6205C54.7372 18.6205 53.2596 18.2609 52.3014 17.2454C51.3432 16.2299 50.9919 14.6828 50.9919 13.1435C50.9919 11.6043 51.3355 10.0494 52.3014 9.04168C53.2678 8.03396 54.7367 7.66663 56.1982 7.66663C57.6598 7.66663 59.1364 8.02618 60.0945 9.04168C61.061 10.0572 61.4045 11.6043 61.4045 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M80.242 18.6214C81.7035 18.6214 83.1801 18.4105 84.1383 17.809C85.0965 17.2075 85.4482 16.2931 85.4482 15.3869C85.4482 14.4807 85.1042 13.5585 84.1383 12.9647C83.1801 12.371 81.703 12.1518 80.242 12.1518C79.6186 12.1518 79.0438 12.0658 78.6366 11.8394C78.2294 11.6047 78.0778 11.2534 78.0778 10.9017C78.0778 10.5499 78.2216 10.1908 78.6366 9.9639C79.0438 9.72921 79.6749 9.65147 80.2973 9.65147C80.9198 9.65147 81.5509 9.73747 81.9591 9.9639C82.3663 10.1986 82.5179 10.5499 82.5179 10.9017H84.9531C84.9531 9.99499 84.6421 9.07327 83.7719 8.47951C82.9017 7.88576 81.5679 7.66663 80.2424 7.66663C78.9169 7.66663 77.5837 7.8775 76.713 8.47951C75.8427 9.08104 75.5308 9.99499 75.5308 10.9017C75.5308 11.8083 75.8423 12.73 76.713 13.3238C77.5832 13.9176 78.9165 14.1367 80.2424 14.1367C80.929 14.1367 81.688 14.2227 82.1428 14.4491C82.5985 14.676 82.7579 15.0351 82.7579 15.3869C82.7579 15.7387 82.5985 16.0977 82.1428 16.3246C81.688 16.5511 80.9931 16.6371 80.3066 16.6371C79.62 16.6371 78.9169 16.5511 78.4694 16.3246C78.0224 16.0982 77.8543 15.7387 77.8543 15.3869H75.0435C75.0435 16.2935 75.3865 17.2153 76.3534 17.809C77.3194 18.4028 78.7809 18.6214 80.2424 18.6214H80.242Z",fill:"currentColor"}),c.jsx("path",{d:"M97.4733 13.1431V13.9948H91.0932V12.2996H95.3252C95.23 11.6825 95.006 11.1043 94.6071 10.682C94.0313 10.0727 93.1456 9.85409 92.2666 9.85409C91.3876 9.85409 90.5018 10.0727 89.927 10.682C89.3522 11.2913 89.1452 12.2213 89.1452 13.1435C89.1452 14.0658 89.3522 15.003 89.927 15.6046C90.5018 16.2061 91.3886 16.433 92.2666 16.433C93.1446 16.433 94.0313 16.2143 94.6071 15.6046C94.6863 15.5186 94.7587 15.4248 94.8301 15.331H97.1935C96.9855 16.0657 96.6585 16.7299 96.1639 17.2454C95.2057 18.2531 93.7281 18.6205 92.2666 18.6205C90.805 18.6205 89.3284 18.2609 88.3703 17.2454C87.4121 16.2299 87.0613 14.6828 87.0613 13.1435C87.0613 11.6043 87.4043 10.0494 88.3703 9.04168C89.3367 8.03396 90.806 7.66663 92.2666 7.66663C93.7272 7.66663 95.2057 8.02618 96.1639 9.04168C97.1298 10.0572 97.4729 11.6043 97.4729 13.1435L97.4733 13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M109.499 13.1431V13.9948H103.119V12.2996H107.351C107.256 11.6825 107.032 11.1043 106.632 10.682C106.057 10.0727 105.172 9.85409 104.293 9.85409C103.414 9.85409 102.528 10.0727 101.953 10.682C101.378 11.2913 101.17 12.2213 101.17 13.1435C101.17 14.0658 101.378 15.003 101.953 15.6046C102.528 16.2061 103.415 16.433 104.293 16.433C105.171 16.433 106.057 16.2143 106.632 15.6046C106.712 15.5186 106.784 15.4248 106.856 15.331H109.22C109.012 16.0657 108.685 16.7299 108.19 17.2454C107.231 18.2531 105.754 18.6205 104.293 18.6205C102.831 18.6205 101.355 18.2609 100.396 17.2454C99.4382 16.2299 99.0864 14.6828 99.0864 13.1435C99.0864 11.6043 99.4295 10.0494 100.396 9.04168C101.362 8.03396 102.832 7.66663 104.293 7.66663C105.754 7.66663 107.231 8.02618 108.19 9.04168C109.156 10.0572 109.499 11.6043 109.499 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M113.5 4.62817H111.104V18.6217H113.5V4.62817Z",fill:"currentColor"}),c.jsx("path",{d:"M117.589 12.8154L121.517 18.6208H118.554L114.625 12.8154L118.554 8.15088H121.517L117.589 12.8154Z",fill:"currentColor"}),c.jsx("g",{clipPath:"url(#dsh-wordmark-whale-clip)",children:c.jsx("path",{d:"M23.0584 4.95203C22.8129 4.83203 22.7074 5.06103 22.5639 5.17704C22.5149 5.21454 22.4734 5.26354 22.4319 5.30854C22.0734 5.69155 21.6543 5.94306 21.1073 5.91306C20.3073 5.86806 19.6243 6.11957 19.0203 6.73158C18.8918 5.97706 18.4652 5.52655 17.8162 5.23754C17.4767 5.08753 17.1332 4.93703 16.8952 4.61052C16.7292 4.37801 16.6837 4.11901 16.6007 3.8635C16.5477 3.70949 16.4952 3.55199 16.3177 3.52549C16.1252 3.49549 16.0497 3.65699 15.9742 3.792C15.6722 4.34401 15.5552 4.95203 15.5667 5.56805C15.5932 6.95359 16.1782 8.05712 17.3407 8.84215C17.4727 8.93215 17.5067 9.02215 17.4652 9.15366C17.3857 9.42416 17.2917 9.68667 17.2087 9.95718C17.1557 10.1297 17.0767 10.1677 16.8917 10.0922C16.2537 9.82568 15.7027 9.43117 15.2156 8.95465C14.3891 8.15513 13.6416 7.2726 12.7096 6.58158C12.4906 6.42007 12.2716 6.27007 12.045 6.12707C11.094 5.20354 12.1696 4.44502 12.4186 4.35501C12.6791 4.26101 12.5091 3.938 11.6675 3.942C10.826 3.9455 10.056 4.22751 9.07446 4.60302C8.93096 4.65952 8.77995 4.70052 8.62545 4.73452C7.73492 4.56552 6.80989 4.52802 5.84386 4.63702C4.02481 4.83953 2.57177 5.69955 1.50373 7.1676C0.220694 8.93215 -0.0813148 10.9372 0.288196 13.0283C0.676708 15.2323 1.80174 17.0569 3.53029 18.4834C5.32285 19.9625 7.38741 20.6875 9.74298 20.5485C11.1735 20.466 12.7661 20.2745 14.5626 18.7539C15.0156 18.9795 15.4912 19.0695 16.2797 19.137C16.8872 19.1935 17.4722 19.107 17.9252 19.013C18.6347 18.8629 18.5857 18.2059 18.3292 18.0854C16.2497 17.1169 16.7062 17.5109 16.2912 17.1919C17.3477 15.9419 18.9618 13.7198 19.4598 10.6942C19.5088 10.3602 19.5713 9.88968 19.5638 9.61917C19.5598 9.45417 19.5978 9.39016 19.7863 9.37116C20.3073 9.31116 20.8128 9.16866 21.2773 8.91315C22.6249 8.17713 23.1684 6.96809 23.2964 5.51905C23.3154 5.29754 23.2924 5.06853 23.0584 4.95203ZM11.3165 17.9954C9.30097 16.4109 8.32344 15.8894 7.91992 15.9119C7.54241 15.9344 7.61042 16.3664 7.69342 16.6479C7.78042 16.9259 7.89342 17.1174 8.05193 17.3614C8.16143 17.5229 8.23694 17.7629 7.94243 17.9434C7.29341 18.3449 6.16487 17.8084 6.11187 17.7819C4.79833 17.0084 3.7003 15.9874 2.92628 14.5908C2.17875 13.2468 1.74474 11.8047 1.67324 10.2657C1.65424 9.89418 1.76374 9.76267 2.13375 9.69517C2.62077 9.60517 3.12278 9.58617 3.6093 9.65767C5.66636 9.95818 7.41741 10.8777 8.88545 12.3348C9.72348 13.1643 10.3575 14.1558 11.0105 15.1243C11.705 16.1529 12.4521 17.1329 13.4036 17.9364C13.7396 18.2179 14.0076 18.4319 14.2641 18.5899C13.4906 18.6764 12.1996 18.6949 11.3165 17.9964V17.9954ZM12.2826 11.7817C12.2826 11.6167 12.4146 11.4852 12.5806 11.4852C12.6181 11.4852 12.6521 11.4927 12.6826 11.5037C12.7241 11.5187 12.7621 11.5412 12.7921 11.5752C12.8451 11.6277 12.8751 11.7027 12.8751 11.7817C12.8751 11.9467 12.7431 12.0782 12.5771 12.0782C12.4111 12.0782 12.2826 11.9467 12.2826 11.7817ZM15.2831 13.3208C15.0906 13.3998 14.8981 13.4673 14.7131 13.4748C14.4261 13.4898 14.1131 13.3733 13.9431 13.2308C13.6791 13.0093 13.4901 12.8853 13.4111 12.4988C13.3771 12.3338 13.3961 12.0782 13.4261 11.9317C13.4941 11.6162 13.4186 11.4137 13.1961 11.2297C13.0151 11.0797 12.7846 11.0382 12.5316 11.0382C12.4371 11.0382 12.3506 10.9967 12.2861 10.9632C12.1806 10.9107 12.0936 10.7792 12.1766 10.6177C12.2031 10.5652 12.3316 10.4377 12.3616 10.4152C12.7051 10.2197 13.1011 10.2837 13.4676 10.4302C13.8071 10.5692 14.0641 10.8242 14.4336 11.1847C14.8111 11.6202 14.8791 11.7402 15.0941 12.0672C15.2641 12.3228 15.4186 12.5853 15.5247 12.8858C15.5887 13.0733 15.5057 13.2268 15.2831 13.3208Z",fill:"currentColor"})}),c.jsx("rect",{x:"129.348",y:"5.5",width:"52",height:"14",rx:"2",fill:"currentColor"}),c.jsxs("g",{clipPath:"url(#dsh-wordmark-badge-clip)",children:[c.jsx("path",{d:"M132.848 8.93205H134.08V16.137H132.848V8.93205ZM136.5 8.93205H137.732V16.137H136.5V8.93205ZM133.365 13.024V11.99H137.193V13.024H133.365Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M140.397 14.432L140.672 13.453H143.202L143.532 14.432H140.397ZM140.287 16.137H139.055L141.277 8.93205H142.201L142.146 9.74605L140.947 13.915H140.969L140.287 16.137ZM145.039 16.137H143.741L143.07 13.948L143.081 13.937L141.871 9.74605L141.926 8.93205H142.817L145.039 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M146.846 8.93205H149.068C149.852 8.93205 150.443 9.11538 150.839 9.48205C151.235 9.84138 151.433 10.3327 151.433 10.956C151.433 11.22 151.396 11.4657 151.323 11.693C151.249 11.9204 151.125 12.1257 150.949 12.309C150.773 12.4924 150.531 12.65 150.223 12.782C149.922 12.9067 149.541 13.0057 149.079 13.079V13.321H146.846V12.639L148.023 12.485C148.631 12.4044 149.09 12.298 149.398 12.166C149.706 12.034 149.915 11.8764 150.025 11.693C150.135 11.5024 150.19 11.2934 150.19 11.066C150.19 10.6994 150.083 10.417 149.871 10.219C149.658 10.021 149.324 9.92205 148.87 9.92205H146.846V8.93205ZM146.395 8.93205H147.627V16.137H146.395V8.93205ZM151.917 16.093V16.137H150.366L149.024 14.322C148.87 14.1094 148.73 13.9407 148.606 13.816C148.481 13.684 148.345 13.5887 148.199 13.53C148.052 13.464 147.872 13.42 147.66 13.398C147.447 13.3687 147.176 13.3504 146.846 13.343V13.145H149.079C149.233 13.211 149.368 13.2844 149.486 13.365C149.61 13.4457 149.735 13.5447 149.86 13.662C149.992 13.7794 150.138 13.937 150.3 14.135L151.917 16.093Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M153.58 9.57005L153.591 8.93205H154.46L157.584 15.51V16.137H156.704L153.58 9.57005ZM158.024 16.137H156.968L156.88 8.93205H158.024V16.137ZM154.24 16.137H153.096V8.93205H154.152L154.24 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M159.963 8.93205H161.206V16.137H159.963V8.93205ZM160.095 9.96605V8.93205H164.858V9.96605H160.095ZM160.095 16.137V15.103H164.902V16.137H160.095ZM160.095 13.013V11.99H164.374V13.013H160.095Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M169.052 15.257C169.543 15.257 169.895 15.1654 170.108 14.982C170.328 14.7987 170.438 14.5457 170.438 14.223C170.438 14.047 170.405 13.8967 170.339 13.772C170.273 13.6474 170.152 13.5337 169.976 13.431C169.807 13.321 169.558 13.2147 169.228 13.112L168.491 12.881C167.846 12.6757 167.38 12.4044 167.094 12.067C166.808 11.7297 166.665 11.3007 166.665 10.78C166.665 10.428 166.76 10.1017 166.951 9.80105C167.142 9.50038 167.428 9.25838 167.809 9.07505C168.19 8.89172 168.663 8.80005 169.228 8.80005C169.631 8.80005 169.998 8.82938 170.328 8.88805C170.665 8.93938 171.039 9.01638 171.45 9.11905L171.274 10.175C170.834 10.0504 170.442 9.96238 170.097 9.91105C169.76 9.85238 169.463 9.82305 169.206 9.82305C168.737 9.82305 168.403 9.90738 168.205 10.076C168.007 10.2374 167.908 10.439 167.908 10.681C167.908 10.857 167.941 11.0147 168.007 11.154C168.073 11.286 168.19 11.407 168.359 11.517C168.535 11.627 168.784 11.7334 169.107 11.836L169.866 12.078C170.526 12.276 170.995 12.5327 171.274 12.848C171.553 13.156 171.692 13.585 171.692 14.135C171.692 14.5604 171.589 14.9344 171.384 15.257C171.179 15.5797 170.878 15.8327 170.482 16.016C170.093 16.1994 169.609 16.291 169.03 16.291C168.627 16.291 168.212 16.247 167.787 16.159C167.362 16.071 166.9 15.9427 166.401 15.774L166.665 14.718C167.156 14.894 167.6 15.0297 167.996 15.125C168.399 15.213 168.751 15.257 169.052 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M175.809 15.257C176.3 15.257 176.652 15.1654 176.865 14.982C177.085 14.7987 177.195 14.5457 177.195 14.223C177.195 14.047 177.162 13.8967 177.096 13.772C177.03 13.6474 176.909 13.5337 176.733 13.431C176.564 13.321 176.315 13.2147 175.985 13.112L175.248 12.881C174.603 12.6757 174.137 12.4044 173.851 12.067C173.565 11.7297 173.422 11.3007 173.422 10.78C173.422 10.428 173.517 10.1017 173.708 9.80105C173.899 9.50038 174.185 9.25838 174.566 9.07505C174.947 8.89172 175.42 8.80005 175.985 8.80005C176.388 8.80005 176.755 8.82938 177.085 8.88805C177.422 8.93938 177.796 9.01638 178.207 9.11905L178.031 10.175C177.591 10.0504 177.199 9.96238 176.854 9.91105C176.517 9.85238 176.22 9.82305 175.963 9.82305C175.494 9.82305 175.16 9.90738 174.962 10.076C174.764 10.2374 174.665 10.439 174.665 10.681C174.665 10.857 174.698 11.0147 174.764 11.154C174.83 11.286 174.947 11.407 175.116 11.517C175.292 11.627 175.541 11.7334 175.864 11.836L176.623 12.078C177.283 12.276 177.752 12.5327 178.031 12.848C178.31 13.156 178.449 13.585 178.449 14.135C178.449 14.5604 178.346 14.9344 178.141 15.257C177.936 15.5797 177.635 15.8327 177.239 16.016C176.85 16.1994 176.366 16.291 175.787 16.291C175.384 16.291 174.969 16.247 174.544 16.159C174.119 16.071 173.657 15.9427 173.158 15.774L173.422 14.718C173.913 14.894 174.357 15.0297 174.753 15.125C175.156 15.213 175.508 15.257 175.809 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"})]}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"dsh-wordmark-whale-clip",children:c.jsx("rect",{width:"23.16",height:"17.0435",fill:"white",transform:"translate(0.141602 3.52185)"})}),c.jsx("clipPath",{id:"dsh-wordmark-badge-clip",children:c.jsx("rect",{width:"46",height:"14",fill:"white",transform:"translate(132.348 5.5)"})})]})]})}function i9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.08545 8.13775L7.18455 10.2368C7.26636 10.3187 7.4003 10.3142 7.47649 10.2271L11.5148 5.61194",stroke:"currentColor"}),c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"})]})}function s9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.4209 1.68067C7.43922 1.299 8.56177 1.29898 9.58008 1.68067L14.0996 3.375C14.2946 3.44811 14.4236 3.63455 14.4238 3.84278V6.89063C14.1115 6.71853 13.7761 6.58312 13.4238 6.48926V4.18946L9.22852 2.61621C8.43657 2.31947 7.56341 2.31939 6.77148 2.61621L2.5752 4.18946V7.11914C2.5752 11.1796 5.52369 13.056 8 14.0391C8.27653 13.9293 8.55827 13.8067 8.8418 13.6729C9.07101 13.9468 9.33228 14.1929 9.62012 14.4053C9.12409 14.6579 8.63578 14.8696 8.17871 15.0449C8.0637 15.0889 7.93628 15.0889 7.82129 15.0449C5.22011 14.0472 1.5752 11.9381 1.5752 7.11914V3.84278C1.57541 3.63469 1.70463 3.44821 1.89941 3.375L6.4209 1.68067Z",fill:"currentColor"}),c.jsx("path",{d:"M5.26392 6.60339H10.7361",stroke:"currentColor"}),c.jsx("path",{d:"M5.26392 9.86902H8.32833",stroke:"currentColor"}),c.jsx("path",{d:"M10.0317 13.2229C10.263 13.3929 10.4943 13.563 10.7256 13.733C10.7932 13.6482 10.8608 13.5634 10.9284 13.4786C12.1455 11.9522 13.3626 10.4258 14.5798 8.89935C14.6474 8.81455 14.715 8.72975 14.7826 8.64495C14.4143 8.37419 14.046 8.10344 13.6777 7.83268C13.6169 7.92252 13.5562 8.01236 13.4954 8.10219C12.4016 9.71926 11.3078 11.3363 10.214 12.9534C10.1532 13.0432 10.0924 13.1331 10.0317 13.2229Z",fill:"currentColor"}),c.jsx("path",{d:"M12.6516 12.6696C12.6516 12.925 12.6516 13.1804 12.6516 13.4359C12.6952 13.4378 12.7387 13.4398 12.7823 13.4417C13.5663 13.4768 14.3504 13.5118 15.1345 13.5469C15.178 13.5488 15.2216 13.5508 15.2651 13.5527C15.2651 13.2194 15.2651 12.8861 15.2651 12.5527C15.2216 12.5547 15.178 12.5566 15.1345 12.5586C14.3504 12.5936 13.5663 12.6287 12.7823 12.6637C12.7387 12.6657 12.6952 12.6676 12.6516 12.6696Z",fill:"currentColor"})]})}function a9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M8 4.39209V9.89209",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.8081V11.8081",stroke:"currentColor"})]})}function $P(e){return c.jsx(i9,{...e,strokeWidth:se})}function HP(e){return c.jsx(i9,{...e,strokeWidth:ae})}function VP(e){return c.jsx(s9,{...e,strokeWidth:se})}function BP(e){return c.jsx(s9,{...e,strokeWidth:ae})}function ZP(e){return c.jsx(a9,{...e,strokeWidth:se})}function WP(e){return c.jsx(a9,{...e,strokeWidth:ae})}function l9({kind:e,size:t=16,className:n,strokeWidth:r,reference:s}){if(e==="session"&&s!==void 0){const{text:l,mentions:u}=XS(s),d=u[0];if(d&&u.length===1&&l===`@${d.label}`)return c.jsx(Wp,{id:d.harnessId,src:`/harness-icons/${encodeURIComponent(d.harnessId)}`,presentationUrl:"/harness-icons/presentation.json",size:t,className:n,fallback:c.jsx(ip,{size:t,className:n})})}switch(e){case"skill":return c.jsx(mp,{size:t,className:n});case"session":return c.jsx(q8,{size:t,className:n,strokeWidth:r});case"file":return c.jsx(t2,{size:t,className:n,strokeWidth:r});case"folder":return c.jsx(ql,{size:t,className:n,strokeWidth:r})}}function c9(e){return c.jsx(l9,{...e,strokeWidth:se})}function UP(e){return c.jsx(l9,{...e,strokeWidth:ae})}const qP="__DSH_CODE_ICON_INSTANCE__",GP=Object.freeze({angular:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F8ECEF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DD0031" d="M16.712 17.711H7.288l-1.204 2.916L12 24l5.916-3.373-1.204-2.916ZM14.692 0l7.832 16.855.814-12.856L14.692 0ZM9.308 0 .662 3.999l.814 12.856L9.308 0Zm-.405 13.93h6.198L12 6.396 8.903 13.93Z"/></g>',c:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF4F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#659AD2" d="M16.5921 9.1962s-.354-3.298-3.627-3.39c-3.2741-.09-4.9552 2.474-4.9552 6.14 0 3.6651 1.858 6.5972 5.0451 6.5972 3.184 0 3.5381-3.665 3.5381-3.665l6.1041.365s.36 3.31-2.196 5.836c-2.552 2.5241-5.6901 2.9371-7.8762 2.9201-2.19-.017-5.2261.034-8.1602-2.97-2.938-3.0101-3.436-5.9302-3.436-8.8002 0-2.8701.556-6.6702 4.047-9.5502C7.444.72 9.849 0 12.254 0c10.0422 0 10.7172 9.2602 10.7172 9.2602z"/></g>',clojure:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F1F7EC" stroke="#DCEAD2" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="none"><path d="M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0" fill="#FFF"/><path d="M61.659 64.898a265.825 265.825 0 00-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0010.533 1.87 30.796 30.796 0 009.642-1.566 18.09 18.09 0 01-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 00-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492" fill="#91DC47"/><path d="M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 01-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277" fill="#63B132"/><path d="M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 00-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716" fill="#90B4FE"/><path d="M17.057 30.311c5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0114.786-3.096c20.295.003 36.747 16.386 36.75 36.601-.003 10.192-4.188 19.408-10.934 26.044a45.3 45.3 0 005.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614-19.372 0-36.508 9.5-47.004 24.065z" fill="#5881D8"/></g></svg>',cmake:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F5F7" stroke="#D9E1E7" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#064F8C" d="M62.8.4L.3 123.8l68.1-57.9z"/><path fill="#249847" d="M123.8 127.7l-84-33.9L0 127.7z"/><path fill="#BE2128" d="M128 126.6L65.6 2.5l9.2 102.6z"/><path fill="#CDCDCE" d="M71.9 104l-3.1-34.9L42 92z"/></svg>',cpp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F2F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00599C" d="M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91.167.29.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69.167-.29.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91zM12 19.11c-3.92 0-7.109-3.19-7.109-7.11 0-3.92 3.19-7.11 7.11-7.11a7.133 7.133 0 016.156 3.553l-3.076 1.78a3.567 3.567 0 00-3.08-1.78A3.56 3.56 0 008.444 12 3.56 3.56 0 0012 15.555a3.57 3.57 0 003.08-1.778l3.078 1.78A7.135 7.135 0 0112 19.11zm7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z"/></g>',csharp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF7" stroke="#E2D7EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#9B4F96" d="M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7z"/><path fill="#68217A" d="M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8l-106.6 62z"/><path fill="#fff" d="M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8l-12.9-7.6zM97 66.2l.9-4.3h-4.2v-4.7h5.1L100 51h4.9l-1.2 6.1h3.8l1.2-6.1h4.8l-1.2 6.1h2.4v4.7h-3.3l-.9 4.3h4.2v4.7h-5.1l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6h-2.4v-4.7H97zm4.8 0h3.8l.9-4.3h-3.8l-.9 4.3z"/></svg>',css:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#1572B6"/><text x="10" y="12.8" text-anchor="middle" font-family="Arial,sans-serif" font-size="6.2" font-weight="900" fill="#fff">CSS</text>',dart:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF7FA" stroke="#D5EAF0" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#00c4b3" d="M35.2 34.9l-8.3-8.3v59.7l.1 2.8c0 1.3.2 2.8.7 4.3l65.6 23.1 16.3-7.2-74.4-74.4z"/><path d="M27.7 93.4zm81.9 15.9l-16.3 7.2-65.4-23.1c1.3 4.8 4 10.1 7 13.2l21.3 21.2 47.6.1 5.8-18.6z" fill="#22d3c5"/><path fill="#0075c9" d="M1.7 65.1C-.4 67.3.7 72 4 75.5l14.7 14.8 9.2 3.3c-.3-1.5-.7-3-.7-4.3l-.1-2.8-.2-59.8m82.7 82.6l7.2-16.4-23-65.6c-1.5-.3-3-.6-4.3-.7l-2.9-.1-59.6.1"/><path d="M93.6 27.3c.2 0 .2 0 0 0 .2 0 .2 0 0 0zm16 82l17.7-5.8V54.8l-20.4-20.5c-3-3-8.3-5.8-13.2-7l23.1 65.6" fill="#00a8e1"/><path fill="#00c4b3" d="M90.5 18.2L75.7 3.5c-3.4-3.4-8-4.4-10.4-2.3L26.9 26.6h59.5l2.9.1c1.3 0 2.8.2 4.3.7l-3.1-9.2z"/></svg>',docker:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F4FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2496ED" d="M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z"/></g>',elixir:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF6" stroke="#E3D9E8" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-a" gradientUnits="userSpaceOnUse" x1="835.592" y1="-36.546" x2="821.211" y2="553.414" gradientTransform="matrix(.1297 0 0 .2 -46.03 17.198)"><stop offset="0" stop-color="#d9d8dc"/><stop offset="1" stop-color="#fff" stop-opacity=".385"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-a)" d="M64.4.5C36.7 13.9 1.9 83.4 30.9 113.9c26.8 33.5 85.4 1.3 68.4-40.5-21.5-36-35-37.9-34.9-72.9z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-b" gradientUnits="userSpaceOnUse" x1="942.357" y1="-40.593" x2="824.692" y2="472.243" gradientTransform="matrix(.1142 0 0 .2271 -47.053 17.229)"><stop offset="0" stop-color="#8d67af" stop-opacity=".672"/><stop offset="1" stop-color="#9f8daf"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-b)" d="M64.4.2C36.8 13.6 1.9 82.9 31 113.5c10.7 12.4 28 16.5 37.7 9.1 26.4-18.8 7.4-53.1 10.4-78.5C68.1 33.9 64.2 11.3 64.4.2z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-c" gradientUnits="userSpaceOnUse" x1="924.646" y1="120.513" x2="924.646" y2="505.851" gradientTransform="matrix(.1227 0 0 .2115 -46.493 17.206)"><stop offset="0" stop-color="#26053d" stop-opacity=".762"/><stop offset="1" stop-color="#b7b4b4" stop-opacity=".278"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-c)" d="M56.7 4.3c-22.3 15.9-28.2 75-24.1 94.2 8.2 48.1 75.2 28.3 69.6-16.5-6-29.2-48.8-39.2-45.5-77.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-d" gradientUnits="userSpaceOnUse" x1="428.034" y1="198.448" x2="607.325" y2="559.255" gradientTransform="matrix(.1848 0 0 .1404 -42.394 17.138)"><stop offset="0" stop-color="#91739f" stop-opacity=".46"/><stop offset="1" stop-color="#32054f" stop-opacity=".54"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-d)" d="M78.8 49.8c10.4 13.4 12.7 22.6 6.8 27.9-27.7 19.4-61.3 7.4-54-37.3C22.1 63 4.5 96.8 43.3 101.6c20.8 3.6 54 2 58.9-16.1-.2-15.9-10.8-22.9-23.4-35.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-e" gradientUnits="userSpaceOnUse" x1="907.895" y1="540.636" x2="590.242" y2="201.281" gradientTransform="matrix(.1418 0 0 .1829 -45.23 17.18)"><stop offset="0" stop-color="#463d49" stop-opacity=".331"/><stop offset="1" stop-color="#340a50" stop-opacity=".821"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-e)" d="M38.1 36.4c-2.9 21.2 35.1 77.9 58.3 71-17.7 35.6-56.9-21.2-64-41.7 1.5-11 2.2-16.4 5.7-29.3z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-f" gradientUnits="userSpaceOnUse" x1="1102.297" y1="100.542" x2="1008.071" y2="431.648" gradientTransform="matrix(.106 0 0 .2448 -47.595 17.242)"><stop offset="0" stop-color="#715383" stop-opacity=".145"/><stop offset="1" stop-color="#f4f4f4" stop-opacity=".234"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-f)" d="M60.4 49.7c.8 7.9 3.9 20.5 0 28.8S38.7 102 43.6 115.3c11.4 24.8 37.1-4.4 36.9-19 1.1-11.8-6.6-38.7-1.8-52.5L76.5 41l-13.6-4c-2.2 3.2-3 7.5-2.5 12.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-g" gradientUnits="userSpaceOnUse" x1="1354.664" y1="140.06" x2="1059.233" y2="84.466" gradientTransform="matrix(.09173 0 0 .2828 -48.536 17.28)"><stop offset="0" stop-color="#a5a1a8" stop-opacity=".356"/><stop offset="1" stop-color="#370c50" stop-opacity=".582"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-g)" d="M65.3 10.8C36 27.4 48 53.4 49.3 81.6l19.1-55.4c-1.4-5.7-2.3-9.5-3.1-15.4z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#330A4C" fill-opacity=".316" d="M68.3 26.1c-14.8 11.7-14.1 31.3-18.6 54 8.1-21.3 4.1-38.2 18.6-54z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF" d="M45.8 119.7c8 1.1 12.1 2.2 12.5 3 .3 4.2-11.1 1.2-12.5-3z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#EDEDED" fill-opacity=".603" d="M49.8 10.8c-6.9 7.7-14.4 21.8-18.2 29.7-1 6.5-.5 15.7.6 23.5.9-18.2 7.5-39.2 17.6-53.2z"/></svg>',env:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECD53F"/><text x="10" y="12.9" text-anchor="middle" font-family="Arial,sans-serif" font-size="5.7" font-weight="900" fill="#24292F">.ENV</text>',erlang:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FAEDF1" stroke="#EED6DE" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path d="M20.7 103.9C11 93.5 5.2 79.2 5.3 62.1 5.2 47 10 34 18.2 24.1H1v79.7l19.7.1zm90.4 0c4.2-4.5 8-9.8 11.4-15.9l-19-9.5c-6.7 10.8-16.4 20.8-29.9 20.9-19.6-.1-27.3-16.9-27.3-38.5h73.3c.1-2.4.1-3.6 0-4.7.5-12.9-2.9-23.7-9.1-32.1H127v79.7l-15.9.1zM47.5 42.4c.8-9.8 8.5-16.3 17.6-16.4 9.1 0 15.7 6.6 15.9 16.4H47.5z" fill="#A90533"/></svg>',flutter:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF7FD" stroke="#D7EAF6" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="#3FB6D3"><path d="M12.3 64.2L76.3 0h39.4L32.1 83.6zM76.3 128h39.4L81.6 93.9l34.1-34.8H76.3L42.2 93.5z"/></g><path fill="#27AACD" d="M81.6 93.9l-20-20-19.4 19.6 19.4 19.6z"/><path fill="#19599A" d="M115.7 128L81.6 93.9l-20 19.2L76.3 128z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__flutter-original-a" gradientUnits="userSpaceOnUse" x1="59.365" y1="116.36" x2="86.825" y2="99.399"><stop offset="0" stop-color="#1b4e94"/><stop offset=".63" stop-color="#1a5497"/><stop offset="1" stop-color="#195a9b"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__flutter-original-a)" d="M61.6 113.1l30.8-8.4-10.8-10.8z"/></svg>',git:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#F05032" d="M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19 2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63 10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z"/></g>',go:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E7F9FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00ADD8" d="M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"/></g>',graphql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEAF6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E10098" d="M12.002 0a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.54 4.931a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm0 9.862a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm-8.54 4.931a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.276zm-8.542-4.93a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.277zm0-9.863a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.542-3.378L2.953 6.777v10.448l9.049 5.224 9.047-5.224V6.777zm0 1.601 7.66 13.27H4.34zm-1.387.371L3.97 15.037V7.363zm2.774 0 6.646 3.838v7.674zM5.355 17.44h13.293l-6.646 3.836z"/></g>',haskell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3F0F7" stroke="#E1D9EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#463B63" d="M0 110.2L30.1 65 0 19.9h22.6L52.7 65l-30.1 45.1H0z"/><path fill="#5E5187" d="M30.1 110.2L60.2 65 30.1 19.9h22.6l60.2 90.3H90.4L71.5 81.9l-18.8 28.2H30.1z"/><path fill="#904F8C" d="M102.9 83.8l-10-15.1H128v15.1h-25.1zM87.8 61.3l-10-15.1H128v15.1H87.8z"/></svg>',ini:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#6E7781"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">INI</text>',java:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F7FA" stroke="#D9E2E8" stroke-width=".5"/><svg x="2.5" y="2.5" width="15" height="15" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#0074BD" d="M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969zm-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336z"/><path fill="#EA2D2E" d="M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187z"/><path fill="#0074BD" d="M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468zM49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643zm40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617z"/><path fill="#EA2D2E" d="M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587z"/><path fill="#0074BD" d="M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331z"/></svg>',javascript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#F0DB4F" d="M1.408 1.408h125.184v125.185H1.408z"/><path fill="#323330" d="M116.347 96.736c-.917-5.711-4.641-10.508-15.672-14.981-3.832-1.761-8.104-3.022-9.377-5.926-.452-1.69-.512-2.642-.226-3.665.821-3.32 4.784-4.355 7.925-3.403 2.023.678 3.938 2.237 5.093 4.724 5.402-3.498 5.391-3.475 9.163-5.879-1.381-2.141-2.118-3.129-3.022-4.045-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902 2.748-8.877 5.235-5.926 6.724-4.236 18.492 2.975 23.335 7.104 5.332 17.54 6.545 18.873 11.531 1.297 6.104-4.486 8.08-10.234 7.378-4.236-.881-6.592-3.034-9.139-6.949-4.688 2.713-4.688 2.713-9.508 5.485 1.143 2.499 2.344 3.63 4.26 5.795 9.068 9.198 31.76 8.746 35.83-5.176.165-.478 1.261-3.666.38-8.581zM69.462 58.943H57.753l-.048 30.272c0 6.438.333 12.34-.714 14.149-1.713 3.558-6.152 3.117-8.175 2.427-2.059-1.012-3.106-2.451-4.319-4.485-.333-.584-.583-1.036-.667-1.071l-9.52 5.83c1.583 3.249 3.915 6.069 6.902 7.901 4.462 2.678 10.459 3.499 16.731 2.059 4.082-1.189 7.604-3.652 9.448-7.401 2.666-4.915 2.094-10.864 2.07-17.444.06-10.735.001-21.468.001-32.237z"/></svg></g>',json:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F4F4" stroke="#DDDDDD" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__a" x1="-670.564" x2="-583.105" y1="-280.831" y2="-368.306" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__a)" fill-rule="evenodd" d="M63.895 94.303c27.433 37.398 54.281-10.438 54.241-39.205-.046-34.012-34.518-53.021-54.263-53.021C32.182 2.077 2 28.269 2 64.105 2 103.937 36.596 126 63.873 126c-6.172-.889-26.742-5.296-27.019-52.674-.186-32.044 10.453-44.846 26.974-39.214.37.137 18.223 7.18 18.223 30.187 0 22.908-18.156 30.004-18.156 30.004z" clip-rule="evenodd"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__b" x1="-579.148" x2="-666.607" y1="-364.34" y2="-276.873" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__b)" fill-rule="evenodd" d="M63.863 34.086C45.736 27.838 23.53 42.778 23.53 72.703 23.53 121.565 59.739 126 64.128 126 95.818 126 126 99.808 126 63.972 126 24.14 91.404 2.077 64.127 2.077c7.555-1.046 40.719 8.176 40.719 53.504 0 29.559-24.764 45.651-40.87 38.776-.37-.137-18.223-7.18-18.223-30.187 0-22.91 18.11-30.085 18.11-30.084z" clip-rule="evenodd"/></svg>',kotlin:'<defs><linearGradient id="__DSH_CODE_ICON_INSTANCE__k" x1="1" y1="19" x2="19" y2="1"><stop stop-color="#0095D5"/><stop offset=".5" stop-color="#7F52FF"/><stop offset="1" stop-color="#F88909"/></linearGradient></defs><rect x="1" y="1" width="18" height="18" rx="4" fill="url(#__DSH_CODE_ICON_INSTANCE__k)"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FFFFFF" d="M24 24H0V0h24L12 12Z"/></g>',lua:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECECF7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#000080" d="M.38 10.377l-.272-.037c-.048.344-.082.695-.101 1.041l.275.016c.018-.34.051-.682.098-1.02zM4.136 3.289l-.184-.205c-.258.232-.509.48-.746.734l.202.188c.231-.248.476-.49.728-.717zM5.769 2.059l-.146-.235c-.296.186-.586.385-.863.594l.166.219c.27-.203.554-.399.843-.578zM1.824 18.369c.185.297.384.586.593.863l.22-.164c-.205-.271-.399-.555-.58-.844l-.233.145zM1.127 16.402l-.255.104c.129.318.274.635.431.943l.005.01.245-.125-.005-.01c-.153-.301-.295-.611-.421-.922zM.298 9.309l.269.063c.076-.332.168-.664.272-.986l-.261-.087c-.108.332-.202.672-.28 1.01zM.274 12.42l-.275.01c.012.348.04.699.083 1.043l.273-.033c-.042-.336-.069-.68-.081-1.02zM.256 14.506c.073.34.162.682.264 1.014l.263-.08c-.1-.326-.187-.658-.258-.99l-.269.056zM11.573.275L11.563 0c-.348.012-.699.039-1.044.082l.034.273c.338-.041.68-.068 1.02-.08zM23.221 8.566c.1.326.186.66.256.992l.27-.059c-.072-.34-.16-.682-.262-1.014l-.264.081zM17.621 1.389c-.309-.164-.627-.314-.947-.449l-.107.252c.314.133.625.281.926.439l.128-.242zM15.693.572c-.332-.105-.67-.199-1.01-.277l-.063.268c.332.076.664.168.988.273l.085-.264zM6.674 1.545c.298-.15.606-.291.916-.418L7.486.873c-.317.127-.632.272-.937.428l-.015.008.125.244.015-.008zM23.727 11.588l.275-.01a11.797 11.797 0 0 0-.082-1.045l-.273.033c.041.338.068.682.08 1.022zM13.654.105c-.346-.047-.696-.08-1.043-.098l-.014.273c.339.018.683.051 1.019.098l.038-.273zM9.544.527l-.058-.27c-.34.072-.681.16-1.014.264l.081.262c.325-.099.659-.185.991-.256zM1.921 5.469l.231.15c.185-.285.384-.566.592-.834l-.217-.17c-.213.276-.417.563-.606.854zM.943 7.318l.253.107c.132-.313.28-.625.439-.924l-.243-.128c-.163.307-.314.625-.449.945zM18.223 21.943l.145.234c.295-.186.586-.385.863-.594l-.164-.219c-.272.204-.557.4-.844.579zM21.248 19.219l.217.17c.215-.273.418-.561.607-.854l-.23-.148c-.186.285-.385.564-.594.832zM19.855 20.715l.184.203c.258-.23.51-.479.746-.732l-.201-.188c-.23.248-.477.488-.729.717zM22.359 17.504l.244.129c.162-.307.314-.625.449-.945l-.254-.107a11.27 11.27 0 0 1-.439.923zM23.617 13.629l.273.039c.049-.346.082-.695.102-1.043l-.275-.014c-.018.338-.051.682-.1 1.018zM23.156 15.621l.264.086c.107-.332.201-.67.279-1.01l-.268-.063c-.077.333-.169.665-.275.987zM22.453 6.672c.154.303.297.617.424.932l.256-.104c-.131-.322-.277-.643-.436-.953l-.244.125zM8.296 23.418c.331.107.67.201 1.009.279l.062-.268c-.331-.076-.663-.168-.986-.273l-.085.262zM10.335 23.889c.345.049.696.082 1.043.102l.014-.275c-.339-.018-.682-.051-1.019-.098l-.038.271zM17.326 22.449c-.303.154-.613.297-.926.424l.104.256c.318-.131.639-.275.947-.434l.004-.002-.123-.246-.006.002zM4.613 21.467c.274.213.562.418.854.605l.149-.23c-.285-.184-.565-.385-.833-.592l-.17.217zM12.417 23.725l.009.275c.348-.014.699-.041 1.045-.084l-.035-.271c-.336.041-.68.068-1.019.08zM6.37 22.604c.307.162.625.314.946.449l.107-.254c-.313-.133-.624-.279-.924-.439l-.129.244zM3.083 20.041c.233.258.48.51.734.746l.188-.201c-.249-.23-.49-.477-.717-.729l-.205.184zM14.445 23.475l.059.27c.34-.074.68-.162 1.014-.266l-.082-.262c-.325.099-.659.185-.991.258zM21.18.129A2.689 2.689 0 1 0 21.18 5.507 2.689 2.689 0 1 0 21.18.129zM15.324 15.447c0 .471.314.66.852.66.67 0 1.297-.396 1.297-1.016v-.645c-.23.107-.379.141-1.107.24-.735.109-1.042.306-1.042.761zM12 2.818c-5.07 0-9.18 4.109-9.18 9.18 0 5.068 4.11 9.18 9.18 9.18 5.07 0 9.18-4.111 9.18-9.18 0-5.07-4.11-9.18-9.18-9.18zm-2.487 13.77H5.771v-6.023h.769v5.346h2.974v.677zm4.13 0h-.619v-.67c-.405.57-.811.793-1.446.793-.843 0-1.38-.463-1.38-1.182v-3.271h.686v3c0 .52.347.85.893.85.719 0 1.181-.578 1.181-1.461v-2.389h.686v4.33zm-.53-8.393c0-1.484 1.205-2.689 2.689-2.689s2.688 1.205 2.688 2.689-1.203 2.688-2.688 2.688-2.689-1.203-2.689-2.688zm5.567 7.856v.52c-.223.059-.33.074-.471.074-.34 0-.637-.238-.711-.57-.381.406-.918.637-1.471.637-.877 0-1.422-.463-1.422-1.248 0-.527.256-.916.76-1.123.266-.107.414-.141 1.389-.264.545-.066.719-.191.719-.48v-.182c0-.412-.348-.645-.967-.645-.645 0-.957.24-1.016.77h-.693c.041-1 .686-1.404 1.734-1.404 1.066 0 1.627.412 1.627 1.182v2.412c0 .215.133.338.373.338.041-.002.074-.002.149-.017z"/></g>',makefile:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#427819"/><path fill="#fff" d="m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z"/>',node:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EDF7EA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#539E43" d="M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"/></g>',"objective-c":'<rect x="1" y="1" width="18" height="18" rx="4" fill="#438EFF"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">OC</text>',perl:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF2F7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#0073A1" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0m.157 1.103a10.91 10.91 0 0 1 9.214 5.404c-1.962.152-3.156 1.698-5.132 3.553-2.81 2.637-4.562.582-5.288-.898-.447-1.004-.847-2.117-1.544-2.769A.4.4 0 0 1 9.3 6.02l.08-.37a.083.083 0 0 0-.074-.1c-.33-.022-.601.093-.84.368a2.5 2.5 0 0 0-.375-.064c-.863-.093-1.036.345-1.873.345H5.81c-.758 0-1.391.361-1.7.892-.248.424-.257.884.15.93-.126.445.292.62 1.224.192 0 0 .733.421 1.749.421.549 0 .712.087.914.967.486 2.138 2.404 5.655 6.282 5.655l.118.166c.659.934.86 2.113.48 3.184-.307.867-.697 1.531-.697 1.531q.01.178.01.349c0 .81-.175 1.553-.387 2.23a10.91 10.91 0 0 1-11.989-6.342A10.91 10.91 0 0 1 7.608 2.01a10.9 10.9 0 0 1 4.55-.907M7.524 6.47c.288 0 .575.231.477.272a.4.4 0 0 1-.1.02.38.38 0 0 1-.375.327.384.384 0 0 1-.378-.326.4.4 0 0 1-.101-.02c-.098-.042.19-.273.477-.273m10.193 10.49q.05 0 .101.007.326.054.694.096.135.01.269.026a13.4 13.4 0 0 0 2.846-.007 10.9 10.9 0 0 1-2.007 2.705c-.11-.23-.547-1.19-.573-2.196q-.156-.01-.313-.026-.13-.014-.256-.022a18 18 0 0 1-.735-.102h-.003c-.032 0-.06.01-.074.035l-.003.012q-.081.265-.182.544c.428 1.084.652 2.078.652 2.078.14.22.258.432.363.64a11 11 0 0 1-2.168 1.264 11 11 0 0 1-1.205.426 13.3 13.3 0 0 1 1.055-2.531s.678-1.445 1.027-2.564v-.004a.55.55 0 0 1 .512-.38"/></g>',php:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0EFF8" stroke="#DDDCEB" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#777BB4" d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z"/></g>',powershell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#2671BE"/><path fill="#fff" fill-opacity=".16" d="M5.5 4h11l-3.5 12H2z"/><path d="m6.5 6.5 3 3-4.2 3.2m4 1h4" fill="none" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',protobuf:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#4285F4"/><path fill="none" stroke="#fff" stroke-width="1.2" stroke-linejoin="round" d="m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"/><path fill="#fff" d="M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z"/>',python:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F4F7" stroke="#D5DBE5" stroke-width=".5"/><g transform="matrix(.126 0 0 .126 2.30 2.24)"><path fill="#3776AB" d="M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z "/><path fill="#FFD43B" d="M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z "/></g>',r:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF2F6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#276DC3" d="M12 2.746c-6.627 0-12 3.599-12 8.037 0 3.897 4.144 7.144 9.64 7.88V16.26c-2.924-.915-4.925-2.755-4.925-4.877 0-3.035 4.084-5.494 9.12-5.494 5.038 0 8.757 1.683 8.757 5.494 0 1.976-.999 3.379-2.662 4.272.09.066.174.128.258.216.169.149.25.363.372.544 2.128-1.45 3.44-3.437 3.44-5.631 0-4.44-5.373-8.038-12-8.038zm-2.111 4.99v13.516l4.093-.002-.002-5.291h1.1c.225 0 .321.066.549.25.272.22.715.982.715.982l2.164 4.063 4.627-.002-2.864-4.826s-.086-.193-.265-.383a2.22 2.22 0 00-.582-.416c-.422-.214-1.149-.434-1.149-.434s3.578-.264 3.578-3.826c0-3.562-3.744-3.63-3.744-3.63zm4.127 2.93l2.478.002s1.149-.062 1.149 1.127c0 1.165-1.149 1.17-1.149 1.17h-2.478zm1.754 6.119c-.494.049-1.012.079-1.54.088v1.807a16.622 16.622 0 002.37-.473l-.471-.891s-.108-.183-.248-.394c-.039-.054-.08-.098-.111-.137z"/></g>',react:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#20232A"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#61DAFB" d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"/></g>',ruby:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEDEC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#CC342D" d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z"/></g>',rust:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3E6DD" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2B2B2B" d="M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z"/></g>',scala:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCECEB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DC322F" d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z"/></g>',shell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#303642"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#7EE787" d="M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z"/></g>',solidity:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0F0F0" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#363636" d="M4.409 6.608L7.981.255l3.572 6.353H4.409zM8.411 0l3.569 6.348L15.552 0H8.411zm4.036 17.392l3.572 6.354 3.575-6.354h-7.147zm-.608-10.284h-7.43l3.715 6.605 3.715-6.605zm.428-.25h7.428L15.982.255l-3.715 6.603zM15.589 24l-3.569-6.349L8.448 24h7.141zm-3.856-6.858H4.306l3.712 6.603 3.715-6.603zm.428-.25h7.433l-3.718-6.605-3.715 6.605z"/></g>',sql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#336791"/><ellipse cx="10" cy="5.5" rx="5.8" ry="2.1" fill="#fff"/><path fill="#fff" fill-opacity=".88" d="M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z"/><path d="M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1" fill="none" stroke="#336791" stroke-opacity=".7" stroke-width=".7"/>',svelte:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FF3E00" d="M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767 4.109 4.109 0 0 1-.703-3.107 3.898 3.898 0 0 1 .134-.522l.105-.321.287.21a7.21 7.21 0 0 0 2.186 1.092l.208.063-.02.208a1.253 1.253 0 0 0 .226.83 1.337 1.337 0 0 0 1.435.533 1.231 1.231 0 0 0 .343-.15l5.59-3.562a1.164 1.164 0 0 0 .524-.778 1.242 1.242 0 0 0-.211-.937 1.338 1.338 0 0 0-1.435-.533 1.23 1.23 0 0 0-.343.15l-2.133 1.36a4.078 4.078 0 0 1-1.135.499 4.44 4.44 0 0 1-4.765-1.766 4.108 4.108 0 0 1-.702-3.108 3.855 3.855 0 0 1 1.742-2.582l5.589-3.563a4.072 4.072 0 0 1 1.135-.499 4.44 4.44 0 0 1 4.765 1.767 4.109 4.109 0 0 1 .703 3.107 3.943 3.943 0 0 1-.134.522l-.105.321-.286-.21a7.204 7.204 0 0 0-2.187-1.093l-.208-.063.02-.207a1.255 1.255 0 0 0-.226-.831 1.337 1.337 0 0 0-1.435-.532 1.231 1.231 0 0 0-.343.15L8.62 9.368a1.162 1.162 0 0 0-.524.778 1.24 1.24 0 0 0 .211.937 1.338 1.338 0 0 0 1.435.533 1.235 1.235 0 0 0 .344-.151l2.132-1.36a4.067 4.067 0 0 1 1.135-.498 4.44 4.44 0 0 1 4.765 1.766 4.108 4.108 0 0 1 .702 3.108 3.857 3.857 0 0 1-1.742 2.583l-5.589 3.562a4.072 4.072 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.412 6.412 0 0 0-2.896 4.295 6.753 6.753 0 0 0 .666 4.336 6.43 6.43 0 0 0-.96 2.396 6.833 6.833 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.41 6.41 0 0 0 2.896-4.295 6.756 6.756 0 0 0-.665-4.336 6.429 6.429 0 0 0 .958-2.396 6.831 6.831 0 0 0-1.167-5.168Z"/></g>',swift:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#f05138" d="M126.33 34.06a39.32 39.32 0 00-.79-7.83 28.78 28.78 0 00-2.65-7.58 28.84 28.84 0 00-4.76-6.32 23.42 23.42 0 00-6.62-4.55 27.27 27.27 0 00-7.68-2.53c-2.65-.51-5.56-.51-8.21-.76H30.25a45.46 45.46 0 00-6.09.51 21.82 21.82 0 00-5.82 1.52c-.53.25-1.32.51-1.85.76a33.82 33.82 0 00-5 3.28c-.53.51-1.06.76-1.59 1.26a22.41 22.41 0 00-4.76 6.32 23.61 23.61 0 00-2.65 7.58 78.5 78.5 0 00-.79 7.83v60.39a39.32 39.32 0 00.79 7.83 28.78 28.78 0 002.65 7.58 28.84 28.84 0 004.76 6.32 23.42 23.42 0 006.62 4.55 27.27 27.27 0 007.68 2.53c2.65.51 5.56.51 8.21.76h63.22a45.08 45.08 0 008.21-.76 27.27 27.27 0 007.68-2.53 30.13 30.13 0 006.62-4.55 22.41 22.41 0 004.76-6.32 23.61 23.61 0 002.65-7.58 78.49 78.49 0 00.79-7.83V34.06z"/><path fill="#fefefe" d="M85 96.5c-11.11 6.13-26.38 6.76-41.75.47A64.53 64.53 0 0113.84 73a50 50 0 0010.85 6.32c15.87 7.1 31.73 6.61 42.9 0-15.9-11.66-29.4-26.82-39.46-39.2a43.47 43.47 0 01-5.29-6.82c12.16 10.61 31.5 24 38.38 27.79a271.77 271.77 0 01-27-32.34 266.8 266.8 0 0044.47 34.87c.71.38 1.26.7 1.7 1a32.7 32.7 0 001.21-3.51c3.71-12.89-.53-27.54-9.79-39.67C93.25 33.81 106 57.05 100.66 76.51c-.14.53-.29 1-.45 1.55l.19.22c10.59 12.63 7.68 26 6.35 23.5C101 91 90.37 94.33 85 96.5z"/></svg></g>',toml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F6EEEA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#9C4121" d="M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015V0Zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05h11.577ZM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z"/></g>',typescript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#fff" d="M22.67 47h99.67v73.67H22.67z"/><path data-name="original" fill="#007acc" d="M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z"/></svg></g>',vue:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF8F3" stroke="#D5EAE0" stroke-width=".5"/><path fill="#41B883" d="M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z"/><path fill="#35495E" d="M6.7 5H9l1 1.8L11 5h2.3L10 10.7z"/>',wasm:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#654ff0" d="M.223.222v127.555h127.555V.222H78.594c.014.227.036.455.036.686 0 8.08-6.55 14.626-14.63 14.626-8.078 0-14.625-6.546-14.625-14.626 0-.231.022-.459.031-.686zm29.595 68.746h8.445l5.782 30.738h.107l6.968-30.738h7.908l6.265 31.119h.106l6.597-31.119h8.284l-10.765 45.156H61.12l-6.213-30.738H54.8l-6.7 30.738h-8.557zm59.994 0h13.334l13.284 45.156h-8.77l-2.879-10.051H89.59l-2.212 10.05h-8.5ZM94.895 80.1l-3.684 16.57h11.473L98.448 80.1Z"/></svg></g>',xml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF3FA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#005FAD" d="M4.345 7.053c-.495.02-.44.725-.536 1.081-.157.583-.3 1.325-.347 1.926-.046.585-.008 1.127.066 1.719.058.46.191.767.07.89-.108.11-3.216 2.962-3.466 3.123-.26.169-.08.584.069.817.157.246.23.373.557.33.306-.042.405-.409.583-.606.228-.252 2.421-2.401 2.616-2.401.077.544.367 1.064.67 1.513.15.222.314.439.505.629.175.175.4.317.587.45.44.024.795-.301.35-.67-.17-.14-.735-.971-.927-1.43-.18-.43-.574-1.076-.146-1.428 1.494-1.23 3.72-2.262 4.247-2.313-.257 1.024-1.356 3.048-1.757 4.012-.14.333-.231.732-.185 1.094.055.434.383.774.587.806.417-.023.7-.387.946-.645.343-.357.634-.685.974-1.043.339-.356.672-.731.971-1.07.184-.207.674-.713.963-.713-.11.693-.716 1.552-.839 2.254-.125.716.531 1.596 1.217.956.623-.58 1.255-1.129 1.867-1.72.217-.208.175.037.224.242.05.208.176.91.275 1.1.18.346.496.592.897.598.362.006.727-.161.982-.414.19-.187.513-.699.154-.832-.23-.086-.217-.176-.495-.129-.172.029-.362.074-.507.179-.367-.003-.381-.89-.324-1.161.068-.327.207-.659.185-.998-.026-.418-.478-.69-.582-.72-.156-.076-.253.023-.458.212-.173.161-.363.332-.535.495-.34.322-.768.813-.942.813.305-.705.708-2.652-.643-2.48-.563.071-.95.377-1.394.71-.29.28-.683.641-.936.87-.236.216-.371.404-.496.404.132-.747 1.685-3.167.885-3.853-.158-.136-.313-.325-.515-.349a4.637 4.637 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289-.131.094-.214-.085-.231-.29-.087-1.058.199-2.19.496-3.188.208-.696-.557-1.225-.659-1.249zm18.177.874c-.166.364-.2.894-.248 1.319a24.307 24.307 0 0 0-1.246-.115c.238.296.691.588 1.056.724-.048.366-.434.67-.599 1.021.458-.127.676-.47.989-.821.362.22.791.627 1.26.636-.177-.376-.334-.695-.658-.966.269-.175.717-.362.924-.633-.345-.074-.718-.093-1.052-.015-.258-.284-.3-.772-.426-1.15zm-2.92.079c-.23.02-.613.49-.832.773-.807 1.039-1.542 3.15-1.661 3.542-.363 1.195-.502 2.672.28 3.722.456.612 1.258.66 2.041.434.405-.116.812-.406.95-.723.114-.263.174-.753-.404-.38-.224.145-.634.304-1.37.291-.247-.004-.651-.357-.76-.722-.192-.595-.11-1.393-.11-1.393.167-1.028.642-2.146 1.061-3.076.163-.36.658-1.259.842-1.546 0 0 .239-.373.131-.77-.031-.116-.091-.16-.168-.152zm3.072 2.976c-.12.264-.144.648-.18.956-.274-.031-.63-.066-.904-.083.172.215.501.426.766.525-.034.265-.314.486-.434.741.332-.092.49-.34.717-.596.263.16.575.456.914.462-.127-.273-.242-.504-.477-.701.195-.127.52-.262.67-.46a1.77 1.77 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834zm-1.123 2.422c-.083.183-.1.449-.125.662a12.6 12.6 0 0 0-.624-.058c.119.148.346.295.53.363-.025.184-.219.336-.301.513.23-.064.339-.236.496-.413.181.11.397.316.632.32-.088-.19-.168-.349-.33-.485.135-.087.36-.181.463-.317a1.22 1.22 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z"/></g>',yaml:`<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEEEF" stroke="#F0D8DB" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet">
|
|
133
|
+
*/function RL(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,FL(r.key),r)}}function DL(e,t,n){return n&&RL(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function FL(e){var t=$L(e,"string");return typeof t=="symbol"?t:t+""}function $L(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var c2=(function(){function e(){}return e.getParser=function(n,r,s){if(r===void 0&&(r=!1),s===void 0&&(s=null),typeof n!="string")throw new Error("UserAgent should be a string");return new G5(n,r,s)},e.parse=function(n,r){return r===void 0&&(r=null),new G5(n,r).getResult()},DL(e,null,[{key:"BROWSER_MAP",get:function(){return Kp}},{key:"ENGINE_MAP",get:function(){return pr}},{key:"OS_MAP",get:function(){return Bt}},{key:"PLATFORMS_MAP",get:function(){return ze}}])})();c2.parse;c2.getParser;const yd=new WeakMap,HL=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);function Yp(){const e=c2.parse(navigator.userAgent).platform.type,t=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;return e==="mobile"||e==="tablet"||t}function VL(){return Yp()?!1:!window.matchMedia?.("(width < 640px) and (pointer: coarse) and (hover: none)").matches}function Oi(e,t){yd.get(e)?.();const n=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",n),e.removeEventListener("keydown",r,!0),yd.delete(e)},r=s=>{!s.isComposing&&!s.ctrlKey&&!s.altKey&&!s.metaKey&&HL.has(s.key)&&n()};yd.set(e,n),e.setAttribute("data-dsh-automatic-focus",""),e.addEventListener("blur",n),e.addEventListener("keydown",r,!0),e.focus(t),e.matches(":focus")||n()}const u2='[role="dialog"][aria-modal="true"], [role="menu"]',Bs=new WeakMap;function BL(e){const t=Bs.get(e)?.at(-1);if(t===void 0)return;[...e.querySelectorAll(u2)].at(-1)===t.element&&t.close()}function Jp(e){if(e===null)return!1;const t=Bs.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const K5='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function d2(e,t,n){const r=S.useRef(n);r.current=n,S.useLayoutEffect(()=>{const s=e.current;if(!t||s===null)return;const l=s.ownerDocument,u=Yl(l),d=l.activeElement,p=Bs.get(l)??[];Bs.set(l,p);const m={element:s,close:()=>{r.current()}};p.push(m);const g=s.querySelector("[data-modal-autofocus]")??s.querySelector(K5)??s;s.contains(l.activeElement)||Oi(g);const w=x=>{const _=u.guards(x);if(p.at(-1)!==m||x.defaultPrevented||_||x.ctrlKey||x.altKey||x.metaKey||(x.key==="Escape"&&!x.shiftKey&&(x.preventDefault(),x.repeat||r.current()),x.key!=="Tab")||l.activeElement?.closest('[role="menu"]'))return;const C=[...s.querySelectorAll(K5)].filter(O=>!O.closest("[inert], [hidden]")),I=C[0]??s,M=C.at(-1)??s,N=x.shiftKey?l.activeElement===I:l.activeElement===M;(l.activeElement===s||!s.contains(l.activeElement)||N)&&(x.preventDefault(),(x.shiftKey?M:I).focus())};return l.addEventListener("keydown",w),()=>{u.dispose();const x=p.at(-1)===m;if(p.splice(p.indexOf(m),1),l.removeEventListener("keydown",w),p.length===0&&Bs.delete(l),x){const _=d instanceof HTMLElement&&d.isConnected?d:p.at(-1)?.element;_!==void 0&&Oi(_)}}},[e,t])}const ZL="_keys_1p14q_1",WL="_key_1p14q_1",UL="_tooltip_1p14q_20",qL="_separator_1p14q_35",GL="_joined_1p14q_39",Ts={keys:ZL,key:WL,tooltip:UL,separator:qL,joined:GL},KL="_view_1ufe2_1",YL="_withFooter_1ufe2_24",JL="_content_1ufe2_31",XL="_header_1ufe2_39",QL="_footer_1ufe2_44",eP="_footerBack_1ufe2_49",tP="_back_1ufe2_93",mo={view:KL,withFooter:YL,content:JL,header:XL,footer:QL,footerBack:eP,back:tP},Xp=S.createContext(null);function nP({target:e,backLabel:t,open:n,close:r,enterView:s,children:l}){const u=S.useRef(null),d=S.useMemo(()=>e===null?null:{target:e,backLabel:t,open:n,close:r,enterView:s,returnFocus:u},[e,t,n,r,s]);return c.jsx(Xp.Provider,{value:d,children:l})}function Ai(){return S.useContext(Xp)}function Qp({title:e,onBack:t,footerBackLabel:n,children:r,className:s,onKeyDownCapture:l}){const u=Ai(),d=S.useRef(null),p=u?.target,m=u?.enterView,g=u?.returnFocus;S.useLayoutEffect(()=>m?.(),[m]),S.useLayoutEffect(()=>{const C=document.activeElement,I=C instanceof HTMLElement&&C!==document.body?C:null,M=p?.parentElement?.querySelector("[data-phone-sidebar-content]");return I&&M?.contains(I)&&g&&(g.current=I),M&&(M.inert=!0),()=>{queueMicrotask(()=>{M&&(M.inert=p?.querySelector("[data-phone-sidebar-view]")!==null);const N=document.activeElement;if(!p?.closest("[data-phone-drawer][data-open]")||N!==document.body&&N?.isConnected&&!N.matches("[data-phone-drawer]")&&M?.contains(N)!==!0)return;const O=p?.closest("[data-phone-drawer]")?.querySelector("[data-phone-sidebar-return]");(I?.isConnected&&I.getClientRects().length>0?I:g?.current?.isConnected&&g.current.getClientRects().length>0?g.current:O)?.focus({preventScroll:!0})})}},[p,g]),d2(d,u?.open===!0,t);const w=S.useRef(t);w.current=t;const x=S.useRef(u?.open===!0);if(S.useEffect(()=>{const C=x.current&&u?.open===!1;x.current=u?.open===!0,C&&w.current()},[u?.open]),u?.target==null)return null;const _=c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:mo.header,children:[c.jsx("button",{type:"button",className:mo.back,"aria-label":u.backLabel,onClick:t,children:c.jsx(c7,{})}),c.jsx("h2",{children:e})]}),r]});return gn.createPortal(c.jsx("div",{ref:d,className:xe(s,mo.view,n!==void 0&&mo.withFooter),"data-phone-sidebar-view":!0,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,onKeyDownCapture:l,onClick:C=>C.stopPropagation(),children:n===void 0?_:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:mo.content,children:_}),c.jsx("div",{className:mo.footer,children:c.jsx("button",{type:"button",className:mo.footerBack,onClick:t,children:n})})]})}),u.target)}function a1({keys:e,variant:t="plain",className:n}){return Ai()!==null?null:c.jsx("span",{className:xe(Ts.keys,t==="tooltip"&&Ts.tooltip,t==="tooltip"&&e.includes("+")&&Ts.joined,n),children:e.map((s,l)=>c.jsx("kbd",{className:s==="+"?Ts.separator:Ts.key,children:s},l))})}const rP="_surface_1ucg6_1",oP="_backing_1ucg6_2",iP="_compact_1ucg6_6",sP="_material_1ucg6_21",Ls={surface:rP,backing:oP,compact:iP,material:sP},vl=S.forwardRef(function({compact:t=!1,className:n,style:r,children:s,...l},u){const d=S.useId(),p=S.useRef(null);S.useLayoutEffect(()=>{document.body.appendChild(p.current)},[]);const m={"--dsh-menu-anchor":`--dsh-menu-${d.replaceAll(":","")}`};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{...l,ref:u,"data-menu-material":"translucent",className:xe(Ls.surface,t&&Ls.compact,n),style:{...r,...m},children:[c.jsx("div",{"aria-hidden":"true",className:Ls.material}),s]}),gn.createPortal(c.jsx("div",{ref:p,"aria-hidden":"true","data-menu-backing":"",className:xe(Ls.backing,t&&Ls.compact),style:{...m,visibility:r?.visibility}}),document.body)]})}),aP="_root_15q5x_1",lP="_list_15q5x_7",cP="_submenu_15q5x_8",uP="_portal_15q5x_41",dP="_sideTop_15q5x_49",fP="_alignEnd_15q5x_54",hP="_scrollable_15q5x_19",pP="_viewport_15q5x_19",mP="_footer_15q5x_62",gP="_itemWrap_15q5x_90",vP="_item_15q5x_90",wP="_denseList_15q5x_124",xP="_label_15q5x_129",yP="_compactList_15q5x_133",_P="_itemIcon_15q5x_148",bP="_separator_15q5x_80",CP="_check_15q5x_179",kP="_itemLabel_15q5x_190",SP="_shortcut_15q5x_198",EP="_shortcutKeys_15q5x_203",jP="_selected_15q5x_216",IP="_selectedFill_15q5x_221",MP="_danger_15q5x_226",OP="_phoneList_15q5x_288",He={root:aP,list:lP,submenu:cP,portal:uP,sideTop:dP,alignEnd:fP,scrollable:hP,viewport:pP,footer:mP,itemWrap:gP,item:vP,denseList:wP,label:xP,compactList:yP,itemIcon:_P,separator:bP,check:CP,itemLabel:kP,shortcut:SP,shortcutKeys:EP,selected:jP,selectedFill:IP,danger:MP,phoneList:OP};function TP({children:e,shortcut:t,icon:n,disabled:r=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return c.jsxs("div",{className:He.itemWrap,children:[l&&c.jsx("div",{className:He.separator,role:"separator"}),c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,s&&He.danger),disabled:r,"aria-keyshortcuts":t?.aria,onClick:u,children:[n!==void 0&&c.jsx("span",{className:He.itemIcon,children:n}),c.jsx("span",{className:He.itemLabel,children:e}),t!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(a1,{keys:t.keys,className:He.shortcutKeys})})]})]})}function Y5(e){return"type"in e&&e.type==="separator"}function J5(e){return"type"in e&&e.type==="label"}const LP={visibility:"hidden",left:0,top:0};function e9({open:e,anchor:t,items:n=[],children:r,selectedId:s,selectedIds:l,onSelect:u,onClose:d,align:p="start",side:m="bottom",portal:g=!1,closeOnPointerLeave:w=!1,dense:x=!1,compact:_=!1,autoFocus:C=!1,selection:I="check",getAnchorRect:M,focusReturnTarget:N,footer:O,className:B,listClassName:z,phoneSidebarTitle:U,phoneSidebarDetails:Z,phoneSidebarFooterBackLabel:ee}){const G=Ai()!==null&&U!==void 0,k=g&&!G,Y=S.useRef(null),V=S.useRef(null),K=S.useRef(null),X=S.useRef(null),we=S.useRef(!1),he=(fe=!1)=>{const De=N??X.current,dt=De!==null&&De.isConnected&&!De.matches(":disabled")?De:Y.current?.querySelector("button:not(:disabled)");dt!=null&&(fe?dt.focus():Oi(dt))},Se=()=>{const fe=we.current;queueMicrotask(()=>{if(ce.current)return;const De=document.activeElement;(De===null||De===document.body||V.current?.contains(De)===!0)&&he(fe)})},ce=S.useRef(e);ce.current=e;const[Q,te]=S.useState(null),[L,D]=S.useState(null),{arm:re,cancel:pe}=Gp(d);S.useLayoutEffect(()=>{if(!e||!k){D(null);return}const fe=()=>{let Ye;if(M!==void 0?Ye=M():Ye=Y.current?.getBoundingClientRect()??null,Ye===null)return;const Qe=12,an=window.innerWidth,Ze=window.innerHeight,ln=V.current,nr=ln?.offsetWidth??0,wn=ln?.offsetHeight??0;let Dt,gt;m==="right"?(Dt=Ye.right+4,gt=Ye.top):p==="start"?(Dt=Ye.left,gt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4):(Dt=Ye.right-nr,gt=m==="bottom"?Ye.bottom+4:Ye.top-wn-4),nr>0&&(Dt=Math.min(Math.max(Dt,Qe),an-nr-Qe)),wn>0&&(gt=Math.min(Math.max(gt,Mi(Qe)),Ze-wn-Qe)),D(Zn=>Zn?.left===Dt&&Zn.top===gt?Zn:{left:Dt,top:gt})};fe();const De=()=>{fe(),dt=requestAnimationFrame(De)};let dt=requestAnimationFrame(De);return window.addEventListener("scroll",fe,!0),window.addEventListener("resize",fe),()=>{cancelAnimationFrame(dt),window.removeEventListener("scroll",fe,!0),window.removeEventListener("resize",fe)}},[e,k,p,m,M]),S.useEffect(()=>{if(!e){X.current=null;return}const fe=document.activeElement;X.current=fe instanceof HTMLElement&&Y.current?.contains(fe)===!0?fe:null},[e]);const Oe=!k||L!==null;S.useEffect(()=>{if(!e||!C||!Oe)return;const fe=V.current?.querySelector("button:not(:disabled)");K.current=fe==null?null:0,fe!=null&&Oi(fe)},[e,C,Oe]),S.useEffect(()=>{if(!e){te(null),K.current=null;return}const fe=Yl(document),De=Ze=>{G||!(Ze.target instanceof Node)||Y.current?.contains(Ze.target)!==!0&&V.current?.contains(Ze.target)!==!0&&d()},dt=Ze=>{if(fe.guards(Ze)||Jp(G?V.current:N??Y.current)||Ze.defaultPrevented||Ze.ctrlKey||Ze.altKey||Ze.metaKey)return;const ln=document.activeElement,nr=V.current?.contains(ln)===!0,wn=Y.current?.contains(ln)===!0||nr;if(Ze.key==="Escape"&&!Ze.shiftKey){if(Ze.preventDefault(),Ze.repeat)return;d(),(wn||C)&&he()}if(Ze.key==="Tab"){const Vi=V.current;if(Vi===null||!wn)return;if(Ze.shiftKey){Ze.preventDefault(),d(),he(!0);return}if(nr){if(ln instanceof Element&&ln.getAttribute("role")==="menuitem"){Ze.preventDefault(),we.current=!0;try{ln.click()}finally{we.current=!1}}return}const Bi=Vi.querySelector("button:not(:disabled)");if(Bi===null)return;Ze.preventDefault(),Bi.focus(),K.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(Ze.key))return;const Dt=V.current;if(Dt===null||!wn)return;const gt=Array.from(Dt.querySelectorAll("button:not(:disabled)"));if(gt.length===0)return;const Zn=gt.indexOf(ln),$i=Zn>=0?Zn:K.current,Hi=Ze.key==="Home"?0:Ze.key==="End"?gt.length-1:$i===null?Ze.key==="ArrowDown"?0:gt.length-1:($i+(Ze.key==="ArrowDown"?1:-1)+gt.length)%gt.length;Ze.preventDefault(),K.current=Hi,gt[Hi]?.focus()},Ye=()=>{document.activeElement instanceof HTMLIFrameElement&&d()};document.addEventListener("pointerdown",De);const Qe=Ze=>{Ze.key==="Escape"&&dt(Ze)},an=Ze=>{Ze.key!=="Escape"&&dt(Ze)};return document.addEventListener("keydown",an),document.addEventListener("keydown",Qe,!0),window.addEventListener("blur",Ye),()=>{fe.dispose(),document.removeEventListener("pointerdown",De),document.removeEventListener("keydown",an),document.removeEventListener("keydown",Qe,!0),window.removeEventListener("blur",Ye)}},[e,d,C,G,N]),S.useEffect(()=>{e||pe()},[e,pe]);const Pe=!n.some(fe=>!Y5(fe)&&!J5(fe)&&fe.submenu!==void 0&&fe.submenu.length>0),Be=fe=>{if(Y5(fe))return c.jsx("div",{className:He.separator,role:"separator"},fe.id);if(J5(fe))return c.jsx("div",{className:He.label,role:"presentation",children:fe.text},fe.id);const De=fe.submenu!==void 0&&fe.submenu.length>0,dt=De&&Q===fe.id,Ye=fe.id===s||l?.includes(fe.id)===!0;return c.jsxs("div",{className:He.itemWrap,onMouseEnter:De?()=>{te(fe.id)}:void 0,onMouseLeave:()=>{te(null)},children:[c.jsxs("button",{type:"button",role:"menuitem",className:xe(He.item,Ye&&(I==="fill"?He.selectedFill:He.selected),fe.danger===!0&&He.danger),disabled:fe.disabled,"aria-keyshortcuts":fe.shortcut?.aria,"aria-haspopup":De?"menu":void 0,"aria-expanded":De?dt:void 0,onFocus:De?()=>{te(fe.id)}:void 0,onClick:()=>{if(De){te(fe.id);return}u?.(fe.id)},children:[fe.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:fe.icon}),c.jsx("span",{className:He.itemLabel,children:fe.label}),fe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(a1,{keys:fe.shortcut.keys,className:He.shortcutKeys})}),Ye&&I==="check"&&c.jsx(zi,{className:He.check})]}),dt&&fe.submenu!==void 0&&c.jsx(vl,{compact:_,className:xe(He.submenu,_&&He.compactList),role:"menu",children:fe.submenu.map(Qe=>c.jsxs("button",{type:"button",role:"menuitem",className:He.item,disabled:Qe.disabled,"aria-keyshortcuts":Qe.shortcut?.aria,onClick:()=>{u?.(Qe.id),Se()},children:[Qe.icon!==void 0&&c.jsx("span",{className:He.itemIcon,children:Qe.icon}),c.jsx("span",{className:He.itemLabel,children:Qe.label}),Qe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:He.shortcut,children:c.jsx(a1,{keys:Qe.shortcut.keys,className:He.shortcutKeys})})]},Qe.id))})]},fe.id)},Fe=fe=>{const De=fe.target instanceof Element?fe.target.closest('button[role="menuitem"]'):null;De===null||De.getAttribute("aria-haspopup")==="menu"||De.closest('[role="menu"]')===fe.currentTarget&&te(null)},Re=e&&c.jsxs(vl,{compact:_,ref:V,className:xe(He.list,z,x&&He.denseList,_&&He.compactList,Pe&&He.scrollable,k&&He.portal,m==="top"&&!g&&He.sideTop,p==="end"&&!g&&He.alignEnd,G&&He.phoneList),style:k?L??LP:void 0,role:"menu",onClick:fe=>{fe.stopPropagation();const De=fe.target instanceof Element?fe.target.closest('button[role="menuitem"]'):null;De!==null&&De.getAttribute("aria-haspopup")!=="menu"&&Se()},onMouseOver:Fe,onFocus:Fe,children:[c.jsxs("div",{className:He.viewport,role:"presentation",children:[G&&Z,n.map(Be),r]}),O!==void 0&&O.length>0&&c.jsx("div",{className:He.footer,role:"presentation",children:O.map(Be)})]});return k&&t===null&&M!==void 0?e?gn.createPortal(Re,document.body):null:c.jsxs("span",{ref:Y,className:xe(He.root,B),onPointerEnter:w?pe:void 0,onPointerLeave:w?()=>{e&&re()}:void 0,children:[t,G?e&&c.jsx(Qp,{title:U,onBack:d,footerBackLabel:ee,children:Re}):g?Re!==!1&&gn.createPortal(Re,document.body):Re]})}const PP="_group_i2pru_1",NP="_start_i2pru_5",zP="_heading_i2pru_19",_d={group:PP,start:NP,heading:zP};function AP({label:e,children:t}){const n=S.useId();return c.jsxs("section",{role:"group","aria-labelledby":n,"data-menu-group":"",className:_d.group,children:[c.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:_d.start}),c.jsx("div",{id:n,"data-menu-group-heading":"",className:_d.heading,children:e}),t]})}function RP(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(g=>{const w=g.querySelector(":scope > [data-menu-group-heading]"),x=g.querySelector(":scope > [data-menu-group-start]");return w===null||x===null?[]:[{section:g,heading:w,start:x,atTop:!1,above:!1,topTime:-1/0,aboveTime:-1/0}]});if(t.length===0||typeof IntersectionObserver>"u"||typeof ResizeObserver>"u")return()=>{};const n=new Map(t.map(g=>[g.section,g])),r=new Map(t.map(g=>[g.start,g]));let s=!1,l,u;const d=g=>{const w=g.atTop&&g.above;g.heading.hasAttribute("data-stuck")!==w&&g.heading.toggleAttribute("data-stuck",w)},p=new IntersectionObserver(g=>{if(!s)for(const w of g){const x=r.get(w.target);!x||w.rootBounds===null||w.time<x.aboveTime||(x.above=w.boundingClientRect.top<w.rootBounds.top,x.aboveTime=w.time,d(x))}},{root:e,threshold:[0,1]});for(const{start:g}of t)p.observe(g);const m=new ResizeObserver(g=>{if(!s)for(const w of g){if(w.target!==e||w.contentRect.height===u)continue;u=w.contentRect.height,l?.disconnect();const x=new IntersectionObserver(_=>{if(!(s||l!==x))for(const C of _){const I=n.get(C.target);if(!I||C.rootBounds===null)continue;const M=C.rootBounds.top;C.time>=I.topTime&&(I.atTop=C.isIntersecting&&C.boundingClientRect.bottom>M,I.topTime=C.time),C.time>=I.aboveTime&&(I.above=C.boundingClientRect.top<M,I.aboveTime=C.time),d(I)}},{root:e,rootMargin:`0px 0px ${Math.min(1,u)-u}px 0px`,threshold:0});l=x;for(const{section:_}of t)x.observe(_)}});return m.observe(e),()=>{if(!s){s=!0,p.disconnect(),l?.disconnect(),m.disconnect();for(const{heading:g}of t)g.hasAttribute("data-stuck")&&g.removeAttribute("data-stuck")}}}const DP=12;function FP(e,t,n,r=DP){const[s,l]=S.useState(t);return S.useLayoutEffect(()=>{const u=e.current;if(u===null)return;const d=()=>{l(Math.min(t,Math.max(0,u.getBoundingClientRect().bottom-Mi(r))))};return d(),window.addEventListener("resize",d),window.addEventListener("scroll",d,!0),()=>{window.removeEventListener("resize",d),window.removeEventListener("scroll",d,!0)}},[e,t,n,r]),s}function $P(e){const{open:t,anchorRef:n,panelRef:r,side:s="bottom",align:l="start",gap:u,margin:d}=e,[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(!t){m(null);return}const g=()=>{const _=n.current?.getBoundingClientRect();if(_===void 0)return;const C=r.current,I=C?.offsetWidth??0,M=C?.offsetHeight??0;let N=l==="end"?_.right-I:_.left,O=s==="top"?_.top-u-M:_.bottom+u;I>0&&(N=Math.min(Math.max(N,d),window.innerWidth-I-d)),M>0&&(O=Math.min(Math.max(O,Mi(d)),window.innerHeight-M-d)),m({left:N,top:O})};g(),window.addEventListener("scroll",g,!0),window.addEventListener("resize",g);const w=r.current;let x=null;return typeof ResizeObserver<"u"&&w!==null&&(x=new ResizeObserver(g),x.observe(w)),()=>{x?.disconnect(),window.removeEventListener("scroll",g,!0),window.removeEventListener("resize",g)}},[t,n,r,s,l,u,d]),p}function f2(e,t,n,r){S.useEffect(()=>{if(!t)return;const s=l=>{l.target instanceof Node&&e.current?.contains(l.target)!==!0&&r?.current?.contains(l.target)!==!0&&n(!1)};return document.addEventListener("pointerdown",s),()=>{document.removeEventListener("pointerdown",s)}},[e,t,n,r])}const HP="_bubble_dcbfb_1",VP="_label_dcbfb_31",X5={bubble:HP,label:VP},Q5={pointer:"pointer",keyboard:"keyboard"},BP="data-input-modality",ZP=new Set(["Tab","Home","End","PageUp","PageDown"]);let i0=!1,$s=!1,go;function bd(){document.documentElement.setAttribute(BP,$s?Q5.pointer:Q5.keyboard)}function t9(){return i0}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{i0=!0,$s=!0,go=void 0,bd()},!0),window.addEventListener("keydown",e=>{if(i0=!1,e.isComposing){go=void 0;return}go=e.composedPath()[0],!(!ZP.has(e.key)&&!e.key.startsWith("Arrow"))&&($s=!1,bd())},!0),window.addEventListener("focusin",e=>{go===void 0||e.composedPath()[0]===go||(go=void 0,$s&&($s=!1,bd()))},!0),window.addEventListener("blur",()=>{go=void 0}));const s0=S.createContext(null);function Gr({label:e,shortcutKeys:t,side:n="right",align:r="center",delayMs:s=0,focusDelayMs:l=0,gap:u=8,disabled:d=!1,portal:p=!1,maxWidth:m,openOnClick:g=!1,children:w}){const x=S.useId(),_=Ai()!==null,C=!_&&!!t?.length,[I,M]=S.useState(!1),N=S.useRef(null),O=w.ref,B=S.useCallback(re=>{N.current=re,typeof O=="function"?O(re):O!=null&&(O.current=re)},[O]),[z,U]=S.useState(null),Z=S.useRef(null),ee=z===null?null:typeof e=="function"?e():e,q=z===null?0:n==="right"?z.top+(z.bottom-z.top)/2:n==="top"?z.top-u:z.bottom+u,G=S.useRef(null),k=S.useRef({hover:!1,focus:!1}),Y=S.useContext(s0),[V,K]=S.useState(!1),X=S.useCallback(re=>{Y?.(re)},[Y]),we=z!==null&&!d&&(!_||!!ee);S.useEffect(()=>{const re=Z.current;if(z===null||!we||V||re===null)return;const pe=12;let Oe,Pe=n;const Be=()=>{if(Oe===void 0)return;const{inlineSize:Re,blockSize:fe}=Oe,De=n==="right"?0:r==="end"?Re:Re/2,dt=Math.max(pe,Math.min(z.x-De,window.innerWidth-pe-Re)),Ye=z.bottom+u+fe<=window.innerHeight-pe,Qe=z.top-u-fe>=pe;Pe==="bottom"&&!Ye&&Qe?Pe="top":Pe==="top"&&!Qe&&Ye&&(Pe="bottom"),re.style.left=`${dt+De}px`,re.style.top=`${Pe==="right"?(z.top+z.bottom)/2:Pe==="top"?z.top-u:z.bottom+u}px`,re.dataset.side=Pe,re.style.visibility="visible"},Fe=new ResizeObserver(Re=>{Oe=Re[0]?.borderBoxSize[0],Be()});return Fe.observe(re,{box:"border-box"}),window.addEventListener("resize",Be),()=>{Fe.disconnect(),window.removeEventListener("resize",Be)}},[r,u,z,n,V,we]),S.useEffect(()=>(X(we),()=>{X(!1)}),[X,we]);const he=S.useCallback(()=>{G.current!==null&&(clearTimeout(G.current),G.current=null)},[]);S.useEffect(()=>(I&&(d||!g)&&M(!1),d&&(he(),k.current={hover:!1,focus:!1},U(null)),he),[he,d,g,I]);const Se=()=>{if(d||_&&!(typeof e=="function"?e():e))return;const re=N.current;if(re===null)return;const pe=re.getBoundingClientRect();U({x:n==="right"?pe.right+10:r==="end"?pe.right:pe.left+pe.width/2,top:pe.top,bottom:pe.bottom}),X(!0)},ce=re=>{if(he(),re<=0){Se();return}G.current=setTimeout(()=>{G.current=null,Se()},re)},Q=S.useCallback(()=>{M(!1),U(null),X(!1)},[X]),te=()=>{he(),!k.current.hover&&!k.current.focus&&!I&&Q()},L=S.useCallback(()=>{he(),k.current={hover:!1,focus:!1},Q()},[he,Q]);f2(N,g&&we,L,Z),S.useEffect(()=>{if(!g||!we)return;const re=pe=>{pe.key!=="Escape"&&pe.key!=="Tab"||(pe.key==="Escape"&&(pe.preventDefault(),pe.stopPropagation()),L())};return document.addEventListener("keydown",re,!0),()=>{document.removeEventListener("keydown",re,!0)}},[L,g,we]);const D=we&&!V&&c.jsxs("span",{ref:Z,id:g?x:void 0,className:X5.bubble,"data-side":n,"data-portal":p||void 0,"data-pinned":I||void 0,"data-align":r,"data-has-shortcut":C||void 0,style:{left:z.x,top:q,visibility:"hidden",...m===void 0?{}:{maxWidth:m}},role:"tooltip","aria-label":t?.length?[ee,t.join(" ")].filter(Boolean).join(" "):void 0,children:[ee&&c.jsx("span",{className:X5.label,children:ee}),t!==void 0&&t.length>0&&c.jsx(a1,{keys:t,variant:"tooltip"})]});return c.jsxs(s0.Provider,{value:K,children:[S.cloneElement(w,{ref:B,"aria-describedby":g&&we?[w.props["aria-describedby"],x].filter(Boolean).join(" "):w.props["aria-describedby"],onPointerEnter:re=>{w.props.onPointerEnter?.(re),!(!_||re.pointerType==="touch")&&(k.current.hover=!0,ce(s))},onPointerLeave:re=>{w.props.onPointerLeave?.(re),_&&(k.current.hover=!1,he(),I||Q())},onMouseEnter:re=>{w.props.onMouseEnter?.(re),!_&&(k.current.hover=!0,ce(s))},onMouseLeave:re=>{w.props.onMouseLeave?.(re),k.current.hover=!1,he(),I||Q()},onClick:re=>{w.props.onClick?.(re),k.current.focus=!1,he(),g&&!d&&!I?(M(!0),Se()):Q()},onFocus:re=>{w.props.onFocus?.(re),!(t9()||_&&re.currentTarget.hasAttribute("data-dsh-automatic-focus"))&&(k.current.focus=!0,ce(l))},onBlur:re=>{w.props.onBlur?.(re),k.current.focus=!1,te()}}),p?D!==!1&&gn.createPortal(D,document.body):D]})}const WP="_root_ghlrl_3",UP="_card_ghlrl_9",qP="_copyable_ghlrl_21",GP="_feedback_ghlrl_31",KP="_copied_ghlrl_37",YP="_status_ghlrl_44",JP="_preview_ghlrl_53",XP="_inline_ghlrl_84",QP="_media_ghlrl_87",hr={root:WP,card:UP,copyable:qP,feedback:GP,copied:KP,status:YP,preview:JP,inline:XP,media:QP},e6=100,t6=420,n6=24,eN=300,vo=8,nn=8;function n9({anchor:e,content:t,openDelayMs:n=500,disabled:r=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:d="compact",widthAnchorRef:p,inline:m=!1}){const g=S.useRef(null),w=S.useRef(null),x=S.useRef(null),_=S.useRef(null),C=S.useRef(null),I=S.useRef(0),M=S.useRef(!1),N=S.useRef(!0),[O,B]=S.useState("closed"),z=O!=="closed",U=O==="closing",[Z,ee]=S.useState(null),q=Z!==null,[G,k]=S.useState(!1),[Y,V]=S.useState(!1),K=S.useCallback(()=>{_.current!==null&&(clearTimeout(_.current),_.current=null),C.current=null,k(!1)},[]),X=S.useCallback(()=>{I.current+=1,K(),B(D=>d==="preview"&&D!=="closed"?"closing":"closed")},[K,d]),{arm:we,cancel:he}=Gp(X),Se=()=>{x.current!==null&&(clearTimeout(x.current),x.current=null)};S.useEffect(()=>{if(!U)return;const D=setTimeout(()=>{B("closed")},e6);return()=>{clearTimeout(D)}},[U]),S.useEffect(()=>{r&&(Se(),he(),X())},[r,he,X]),S.useEffect(()=>(N.current=!0,()=>{N.current=!1,I.current+=1,Se(),_.current!==null&&(clearTimeout(_.current),_.current=null)}),[]),S.useEffect(()=>{if(!z||d!=="preview"&&!m)return;const D=re=>{re.key==="Escape"&&(m&&re.stopPropagation(),Se(),he(),X())};return window.addEventListener("keydown",D,m),()=>{window.removeEventListener("keydown",D,m)}},[z,d,m,he,X]),S.useLayoutEffect(()=>{if(!z){ee(null);return}const D=()=>{const pe=g.current;if(pe===null)return;const Oe=pe.getBoundingClientRect(),Pe=w.current?.offsetHeight??0;if(d==="preview"){const Fe=p?.current?.getBoundingClientRect()??Oe,Re=Math.max(0,Math.min(Fe.width-n6*2,window.innerWidth-nn*2)),fe=Mi(nn),De=Math.max(fe,Oe.bottom+vo),dt=Math.max(0,Oe.top-vo-fe),Ye=Math.max(0,window.innerHeight-De-nn),Qe=dt>=Math.min(t6,Ye),an=Math.min(t6,Qe?dt:Ye);ee({left:Math.max(nn,Math.min(Fe.left+n6,window.innerWidth-Re-nn)),top:Qe?Math.max(fe,Oe.top-Math.min(Pe,an)-vo):De,width:Re,maxHeight:an});return}if(m){const Fe=Math.max(Pe,w.current?.scrollHeight??0),Re=Math.max(0,Math.min(eN,window.innerWidth-nn*2)),fe=Mi(nn),De=Math.max(fe,Oe.bottom+vo),dt=Math.max(0,Oe.top-vo-fe),Ye=Math.max(0,window.innerHeight-De-nn),Qe=Fe>Ye&&dt>Ye,an=Qe?dt:Ye;ee({left:Math.max(nn,Math.min(Oe.left,window.innerWidth-Re-nn)),top:Qe?Oe.top-vo-Math.min(Fe,an):De,width:Re,maxHeight:an});return}const Be=Oe.top+Pe>window.innerHeight-nn?window.innerHeight-Pe-nn:Oe.top;ee({left:Oe.right+vo,top:Be})};D();const re=(d==="preview"||m)&&typeof ResizeObserver<"u"?new ResizeObserver(D):null;for(const pe of[w.current,g.current,p?.current])pe!=null&&re?.observe(pe);return window.addEventListener("scroll",D,!0),window.addEventListener("resize",D),()=>{re?.disconnect(),window.removeEventListener("scroll",D,!0),window.removeEventListener("resize",D)}},[z,d,p,q,m]),S.useLayoutEffect(()=>{if(!z||Z===null||d==="preview"||m||Y)return;const D=w.current?.offsetHeight??0;Z.top+D>window.innerHeight-nn&&ee({left:Z.left,top:window.innerHeight-D-nn})},[z,Z,d,m,Y]);const ce=async D=>{if(G||M.current)return;M.current=!0;const re=I.current,pe=await ql(D);M.current=!1;const Oe=w.current;if(!pe||!N.current||re!==I.current||Oe===null)return;const Pe=Oe.offsetHeight;C.current=Pe>0?Pe:null,k(!0),_.current=setTimeout(K,1e3)},Q=s!==void 0,te=D=>{w.current?.contains(D.target)||(Se(),he(),X())},L=z&&Z!==null&&!Y&&c.jsx("div",{ref:w,className:xe(hr.card,d==="preview"&&hr.preview,m&&hr.media,Q&&hr.copyable,G&&hr.feedback),"data-closing":U||void 0,style:{...Z,minHeight:G&&C.current!==null?C.current:void 0,"--dsh-hover-preview-fade":`${e6}ms`},role:Q?"button":void 0,tabIndex:Q?0:void 0,"aria-label":Q?`${l}: ${s}`:void 0,onClick:Q?D=>{const re=window.getSelection();if(re!==null&&!re.isCollapsed){for(let pe=0;pe<re.rangeCount;pe+=1)if(re.getRangeAt(pe).intersectsNode(D.currentTarget))return}ce(s)}:void 0,onKeyDown:Q?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),ce(s))}:void 0,children:G?c.jsx("span",{className:hr.copied,"aria-hidden":"true",children:u}):t});return c.jsxs("span",{ref:g,className:xe(hr.root,m&&hr.inline),onFocus:m?D=>{!r&&D.target.matches(":focus-visible")&&(he(),B("open"))}:void 0,onBlur:m?D=>{D.currentTarget.contains(D.relatedTarget)||(Se(),he(),X())}:void 0,onPointerEnter:D=>{if(!(r||m&&D.pointerType==="touch")){if(he(),z){B("open");return}Se(),x.current=setTimeout(()=>{B("open")},n)}},onPointerLeave:()=>{Se(),z&&we()},onPointerDownCapture:te,onClickCapture:te,children:[c.jsx(s0.Provider,{value:V,children:e}),z&&!Y&&Q&&c.jsx("span",{className:hr.status,role:"status",children:G?u:""}),L!==!1&&gn.createPortal(L,document.body)]})}const tN="_triggerSeat_l2tp1_1",nN="_trigger_l2tp1_1",rN="_chipBody_l2tp1_19",oN="_chip_l2tp1_19",iN="_chipNumber_l2tp1_36",sN="_chipText_l2tp1_42",aN="_chipRemove_l2tp1_50",lN="_labelSeat_l2tp1_69",cN="_label_l2tp1_69",uN="_popover_l2tp1_86",dN="_card_l2tp1_102",fN="_cardSection_l2tp1_108",hN="_cardHeading_l2tp1_115",pN="_cardText_l2tp1_121",mN="_cardPre_l2tp1_127",St={triggerSeat:tN,trigger:nN,chipBody:rN,chip:oN,chipNumber:iN,chipText:sN,chipRemove:aN,labelSeat:lN,label:cN,popover:uN,card:dN,cardSection:fN,cardHeading:hN,cardText:pN,cardPre:mN},r6=48,gN=320,Cd=8,Ps=8;function a0(e){const t=e.replace(/\s+/gu," ").trim();return t.length<=r6?t:`${t.slice(0,r6-1)}…`}function r9({annotation:e,labels:t}){const n=e.text.includes(`
|
|
134
|
+
`);return c.jsxs("div",{className:St.card,children:[c.jsxs("div",{className:St.cardSection,children:[c.jsx("div",{className:St.cardHeading,children:t.selectedText}),n?c.jsx("pre",{className:St.cardPre,tabIndex:0,children:e.text}):c.jsx("div",{className:St.cardText,children:e.text})]}),e.annotation===void 0?null:c.jsxs("div",{className:St.cardSection,children:[c.jsx("div",{className:St.cardHeading,children:t.userComment}),c.jsx("div",{className:St.cardText,children:e.annotation})]})]})}function h2({anchor:e,annotation:t,labels:n,className:r,title:s,open:l=!1,onActivate:u}){const[d,p]=S.useState(l),m=S.useRef(null),g=S.useRef(null),[w,x]=S.useState(null),_=S.useCallback(()=>{p(!1)},[]);return f2(m,d,_,g),S.useEffect(()=>{if(!d)return;const C=I=>{I.key==="Escape"&&_()};return window.addEventListener("keydown",C),()=>{window.removeEventListener("keydown",C)}},[d,_]),S.useEffect(()=>{if(!d){x(null);return}const C=()=>{const M=m.current?.getBoundingClientRect();if(M===void 0)return;const N=Math.min(gN,window.innerWidth-Ps*2),O=Mi(Ps),B=Math.max(O,M.bottom+Cd),z=Math.max(0,M.top-Cd-O),U=Math.max(0,window.innerHeight-B-Ps),Z=Math.min(g.current?.offsetHeight??0,z),ee=U<80&&z>U;x({left:Math.max(Ps,Math.min(M.left,window.innerWidth-N-Ps)),top:ee?Math.max(O,M.top-Cd-Z):B,width:N,maxHeight:ee?z:U})};C();const I=requestAnimationFrame(C);return window.addEventListener("resize",C),window.addEventListener("scroll",C,!0),()=>{cancelAnimationFrame(I),window.removeEventListener("resize",C),window.removeEventListener("scroll",C,!0)}},[d]),c.jsxs("span",{ref:m,className:xe(St.triggerSeat,r),children:[c.jsx("button",{type:"button",className:St.trigger,title:s,"aria-expanded":d,onClick:()=>{u?.(),p(C=>!C)},children:e}),d&&w!==null&&gn.createPortal(c.jsx("div",{ref:g,className:St.popover,role:"dialog","aria-label":n.selectedText,style:{left:w.left,top:w.top,width:w.width,maxHeight:w.maxHeight},children:c.jsx(r9,{annotation:t,labels:n})}),document.body)]})}function vN({index:e,annotation:t,labels:n,onActivate:r,onRemove:s}){return c.jsxs("div",{className:St.chip,"data-response-annotation":e,children:[c.jsx(h2,{annotation:t,labels:n,title:n.railTitle(e,a0(t.text)),className:St.chipBody,onActivate:r,anchor:c.jsxs(c.Fragment,{children:[c.jsx("span",{className:St.chipNumber,children:n.railLabel(e)}),c.jsx("span",{className:St.chipText,children:a0(t.text)})]})}),s===void 0?null:c.jsx("button",{type:"button",className:St.chipRemove,"aria-label":n.remove(e),onClick:s,children:c.jsx(r2,{size:12})})]})}function o9({index:e,annotation:t,labels:n}){return t===void 0?c.jsx("span",{className:St.label,children:n.label(e)}):c.jsx(h2,{annotation:t,labels:n,title:n.railTitle(e,a0(t.text)),className:St.labelSeat,anchor:c.jsx("span",{className:St.label,children:n.label(e)})})}const wN="_root_6j8uo_6",xN="_mask_6j8uo_18",yN="_dialog_6j8uo_33",_N="_content_6j8uo_74",bN="_header_6j8uo_86",CN="_title_6j8uo_95",kN="_close_6j8uo_103",SN="_description_6j8uo_129",EN="_body_6j8uo_138",jN="_footer_6j8uo_146",rn={root:wN,mask:xN,dialog:yN,content:_N,header:bN,title:CN,close:kN,description:SN,body:EN,footer:jN};function i9({open:e,onClose:t,title:n,closeLabel:r,description:s,children:l,footer:u,className:d,contentClassName:p,onKeyDownCapture:m,headless:g=!1,backdropBlur:w=!0,shortcutModal:x,phoneSidebar:_=!1,phoneSidebarOrigin:C=!1}){const I=Ai(),M=S.useRef(!1),N=S.useRef(!1);e&&!N.current&&(M.current=_&&(I?.open===!0||C)),N.current=e;const O=M.current&&I!==null,B=S.useRef(null);return d2(B,e&&!O,t),e?O?c.jsxs(Qp,{title:n,onBack:t,className:d,onKeyDownCapture:m,children:[g?l:c.jsxs("div",{className:xe(rn.content,p),children:[s&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]}):gn.createPortal(c.jsxs("div",{className:rn.root,role:"presentation",onKeyDownCapture:m,children:[c.jsx("div",{className:rn.mask,style:w?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),c.jsx("div",{ref:B,tabIndex:-1,"data-shortcut-modal":x,className:xe(rn.dialog,d),role:"dialog","aria-modal":"true","aria-label":n,children:g?l:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:rn.header,children:[c.jsx("h2",{className:rn.title,children:n}),c.jsx("button",{type:"button",className:rn.close,"aria-label":r,onClick:t,children:c.jsx(Kl,{size:14})})]}),c.jsxs("div",{className:xe(rn.content,p),children:[s!==void 0&&s!==""&&c.jsx("p",{className:rn.description,children:s}),l!==void 0&&c.jsx("div",{className:rn.body,children:l})]}),u!==void 0&&c.jsx("div",{className:rn.footer,children:u})]})})]}),document.body):null}const IN="_confirmation_18u1x_1",MN="_confirmationContent_18u1x_7",ON="_warning_18u1x_19",TN="_warningIcon_18u1x_32",LN="_acknowledgement_18u1x_38",PN="_modalAction_18u1x_68",NN="_confirmAction_18u1x_72",wo={confirmation:IN,confirmationContent:MN,warning:ON,warningIcon:TN,acknowledgement:LN,modalAction:PN,confirmAction:NN};function zN({open:e,title:t,description:n,acknowledgeLabel:r,cancelLabel:s,closeLabel:l,confirmLabel:u,acknowledged:d,disabled:p=!1,onAcknowledgedChange:m,onCancel:g,onConfirm:w}){return c.jsxs(i9,{open:e,onClose:g,title:t,closeLabel:l,className:wo.confirmation,contentClassName:wo.confirmationContent,footer:c.jsxs(c.Fragment,{children:[c.jsx(o0,{variant:"outline",className:wo.modalAction,onClick:g,children:s}),c.jsx(o0,{variant:"primary",className:wo.confirmAction,disabled:p||!d,onClick:w,children:u})]}),children:[c.jsxs("div",{className:wo.warning,children:[c.jsx(z7,{size:18,className:wo.warningIcon}),c.jsx("p",{children:n})]}),c.jsxs("label",{className:wo.acknowledgement,children:[c.jsx("input",{type:"checkbox",checked:d,disabled:p,"data-modal-autofocus":!0,onChange:x=>{m(x.currentTarget.checked)}}),c.jsx("span",{children:r})]})]})}const AN="_indicator_9rbf2_1",RN="_leaving_9rbf2_25",DN="_warning_9rbf2_35",FN="_success_9rbf2_64",$N="_icon_9rbf2_70",HN="_label_9rbf2_81",VN="_dots_9rbf2_85",BN="_secondDot_9rbf2_91",ZN="_thirdDot_9rbf2_95",Sn={indicator:AN,leaving:RN,warning:DN,success:FN,icon:$N,label:HN,dots:VN,secondDot:BN,thirdDot:ZN},WN=150;function UN({state:e,disconnectedLabel:t,connectingLabel:n,recoveredLabel:r,reconnectActionLabel:s,restartActionLabel:l,onReconnect:u}){const[d,p]=S.useState(e),m=e===void 0&&d!==void 0;if(S.useEffect(()=>{if(e!==void 0){p(e);return}if(d===void 0)return;const x=window.setTimeout(()=>{p(void 0)},WN);return()=>{window.clearTimeout(x)}},[e,d]),d===void 0)return null;const g=m?` ${Sn.leaving}`:"";if(d==="recovered")return c.jsxs("div",{className:`${Sn.indicator} ${Sn.success}${g}`,role:"status","aria-label":r,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:c.jsx(zi,{size:14})}),c.jsx("span",{className:Sn.label,children:r})]});const w=d==="connecting";return c.jsxs("button",{type:"button",className:`${Sn.indicator} ${Sn.warning}${g}`,"data-phase":d,"aria-label":w?l:s,onClick:u,children:[c.jsx("span",{className:Sn.icon,"aria-hidden":"true",children:w?c.jsx(s2,{state:"ongoing"}):c.jsx(x7,{size:14})}),c.jsx("span",{className:Sn.label,children:w?c.jsxs(c.Fragment,{children:[n,c.jsxs("span",{className:Sn.dots,"aria-hidden":"true",children:[c.jsx("span",{children:"."}),c.jsx("span",{className:Sn.secondDot,children:"."}),c.jsx("span",{className:Sn.thirdDot,children:"."})]})]}):t})]})}const Hs={width:23.16,height:17.04},s9="M22.9168 1.43018C22.6713 1.31018 22.5658 1.53918 22.4223 1.65519C22.3733 1.69269 22.3318 1.74169 22.2903 1.78669C21.9317 2.1697 21.5127 2.42121 20.9657 2.39121C20.1657 2.34621 19.4827 2.59771 18.8787 3.20973C18.7502 2.45521 18.3236 2.0047 17.6746 1.71569C17.3351 1.56568 16.9916 1.41518 16.7536 1.08867C16.5876 0.856163 16.5421 0.597155 16.4591 0.341647C16.4061 0.187643 16.3536 0.0301382 16.1761 0.00363739C15.9836 -0.0263635 15.9081 0.135141 15.8326 0.270145C15.5306 0.822162 15.4136 1.43018 15.4251 2.0462C15.4516 3.43174 16.0366 4.53527 17.1991 5.3203C17.3311 5.4103 17.3651 5.5003 17.3236 5.63181C17.2441 5.90231 17.1501 6.16482 17.0671 6.43533C17.0141 6.60784 16.9351 6.64584 16.7501 6.57033C16.1121 6.30383 15.5611 5.90931 15.074 5.4328C14.2475 4.63328 13.5 3.75075 12.568 3.05973C12.349 2.89822 12.13 2.74822 11.9034 2.60522C10.9524 1.68169 12.028 0.923165 12.277 0.833162C12.5375 0.739159 12.3675 0.41615 11.5259 0.42015C10.6844 0.42365 9.91439 0.705658 8.93286 1.08117C8.78935 1.13767 8.63835 1.17867 8.48384 1.21267C7.59332 1.04367 6.66829 1.00617 5.70226 1.11517C3.88321 1.31768 2.43016 2.1777 1.36213 3.64575C0.0790928 5.4103 -0.222916 7.41536 0.146595 9.50642C0.535106 11.7105 1.66014 13.535 3.38869 14.9616C5.18125 16.4406 7.24581 17.1657 9.60138 17.0266C11.0319 16.9441 12.6245 16.7526 14.421 15.2321C14.874 15.4576 15.3496 15.5476 16.1381 15.6151C16.7456 15.6716 17.3306 15.5851 17.7836 15.4911C18.4931 15.3411 18.4441 14.6841 18.1876 14.5636C16.1081 13.595 16.5646 13.9891 16.1496 13.67C17.2061 12.42 18.8202 10.1979 19.3182 7.17235C19.3672 6.83834 19.4297 6.36783 19.4222 6.09732C19.4182 5.93231 19.4562 5.86831 19.6447 5.84931C20.1657 5.78931 20.6712 5.64681 21.1357 5.3913C22.4833 4.65528 23.0268 3.44624 23.1548 1.9972C23.1738 1.77569 23.1508 1.54668 22.9168 1.43018ZM11.1749 14.4736C9.15936 12.889 8.18184 12.3675 7.77832 12.39C7.40081 12.4125 7.46881 12.8445 7.55182 13.126C7.63882 13.404 7.75182 13.5955 7.91033 13.8396C8.01983 14.0011 8.09533 14.2411 7.80083 14.4216C7.15181 14.8231 6.02327 14.2866 5.97027 14.2601C4.65673 13.4865 3.5587 12.4655 2.78467 11.069C2.03715 9.72493 1.60314 8.28289 1.53164 6.74384C1.51264 6.37233 1.62214 6.24082 1.99215 6.17332C2.47916 6.08332 2.98118 6.06432 3.46769 6.13582C5.52476 6.43633 7.27581 7.35586 8.74385 8.8129C9.58188 9.64243 10.2159 10.634 10.8689 11.6025C11.5634 12.631 12.3105 13.611 13.262 14.4146C13.598 14.6961 13.866 14.9101 14.1225 15.0681C13.349 15.1546 12.058 15.1731 11.1749 14.4746L11.1749 14.4736ZM12.141 8.25988C12.141 8.09488 12.273 7.96338 12.439 7.96338C12.4765 7.96338 12.5105 7.97088 12.541 7.98188C12.5825 7.99688 12.6205 8.01938 12.6505 8.05338C12.7035 8.10588 12.7335 8.18088 12.7335 8.25988C12.7335 8.42489 12.6015 8.55639 12.4355 8.55639C12.2695 8.55639 12.141 8.42489 12.141 8.25988ZM15.1415 9.79893C14.949 9.87793 14.7565 9.94544 14.5715 9.95294C14.2845 9.96794 13.9715 9.85143 13.8015 9.70893C13.5375 9.48742 13.3485 9.36342 13.2695 8.97691C13.2355 8.8119 13.2545 8.55639 13.2845 8.40989C13.3525 8.09438 13.277 7.89187 13.0545 7.70787C12.8735 7.55786 12.643 7.51636 12.39 7.51636C12.2955 7.51636 12.209 7.47486 12.1445 7.44136C12.039 7.38886 11.9519 7.25735 12.035 7.09585C12.0615 7.04335 12.19 6.91584 12.22 6.89334C12.5635 6.69784 12.9595 6.76184 13.326 6.90834C13.6655 7.04735 13.9225 7.30236 14.292 7.66287C14.6695 8.09838 14.7375 8.21838 14.9525 8.54539C15.1225 8.8009 15.277 9.06341 15.3831 9.36392C15.4471 9.55142 15.3641 9.70493 15.1415 9.79893Z";function qN({size:e=24,className:t}){return c.jsx("svg",{width:e,height:e*Hs.height/Hs.width,className:t,viewBox:`0 0 ${Hs.width} ${Hs.height}`,fill:"none","aria-hidden":"true",children:c.jsx("path",{d:s9,fill:"currentColor"})})}function GN({size:e=24,className:t,includeMark:n=!0}){const r=n?182:156;return c.jsxs("svg",{width:e*r/24,height:e,className:t,viewBox:n?"0 0 182 24":"26 0 156 24",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M68.416 18.2447H67.0501V16.1272H68.416C69.2619 16.1272 70.1166 15.9163 70.6671 15.3304C71.2181 14.7444 71.426 13.8455 71.426 12.9471C71.426 12.0487 71.2268 11.1498 70.6671 10.5643C70.1083 9.97831 69.2619 9.76744 68.416 9.76744C67.5701 9.76744 66.7154 9.97831 66.1639 10.5643C65.6129 11.1503 65.4049 12.0487 65.4049 12.9471V21.6435H63.009V7.6582H65.4049V8.54883H65.8442C65.8918 8.49393 65.9394 8.44728 65.9875 8.40064C66.5871 7.85353 67.5049 7.6582 68.4072 7.6582C69.8212 7.6582 71.2341 8.00998 72.1607 8.98662C73.0868 9.96325 73.4143 11.4632 73.4143 12.9558C73.4143 14.4485 73.0785 15.9406 72.1607 16.925C71.2424 17.9094 69.8212 18.2457 68.416 18.2457V18.2447Z",fill:"currentColor"}),c.jsx("path",{d:"M31.9551 8.03497H33.3204V10.1525H31.9551C31.1087 10.1525 30.2545 10.3633 29.7035 10.9493C29.1525 11.5353 28.945 12.4342 28.945 13.3326C28.945 14.231 29.1447 15.1294 29.7035 15.7154C30.2623 16.3014 31.1087 16.5122 31.9551 16.5122C32.8015 16.5122 33.6562 16.3014 34.2072 15.7154C34.7582 15.1294 34.9657 14.231 34.9657 13.3326V4.62842H37.3611V18.6219H34.9657V17.7313H34.5264C34.4783 17.7857 34.4307 17.8329 34.3826 17.8795C33.7835 18.4261 32.8652 18.6219 31.9629 18.6219C30.5494 18.6219 29.136 18.2707 28.2099 17.294C27.2838 16.3174 26.9563 14.817 26.9563 13.3248C26.9563 11.8327 27.2916 10.34 28.2099 9.35561C29.136 8.37898 30.5494 8.03497 31.9551 8.03497Z",fill:"currentColor"}),c.jsx("path",{d:"M49.3786 13.1431V13.9948H42.9984V12.2996H47.2305C47.1348 11.6825 46.9113 11.1043 46.5119 10.682C45.9371 10.0727 45.0503 9.85409 44.1723 9.85409C43.2943 9.85409 42.4076 10.0727 41.8328 10.682C41.258 11.2913 41.05 12.2213 41.05 13.1435C41.05 14.0658 41.2575 15.003 41.8328 15.6046C42.4076 16.2061 43.2939 16.433 44.1723 16.433C45.0508 16.433 45.9371 16.2143 46.5119 15.6046C46.5916 15.5186 46.6635 15.4248 46.7354 15.331H49.0992C48.8918 16.0657 48.5643 16.7299 48.0691 17.2454C47.111 18.2531 45.6339 18.6205 44.1723 18.6205C42.7108 18.6205 41.2337 18.2609 40.2755 17.2454C39.3174 16.2299 38.9661 14.6828 38.9661 13.1435C38.9661 11.6043 39.3096 10.0494 40.2755 9.04168C41.242 8.03396 42.7108 7.66663 44.1723 7.66663C45.6339 7.66663 47.111 8.02618 48.0691 9.04168C49.0351 10.0572 49.3786 11.6043 49.3786 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M61.4045 13.1431V13.9948H55.0243V12.2996H59.2564C59.1602 11.6825 58.9372 11.1043 58.5378 10.682C57.963 10.0727 57.0762 9.85409 56.1982 9.85409C55.3202 9.85409 54.4335 10.0727 53.8587 10.682C53.2839 11.2913 53.0759 12.2213 53.0759 13.1435C53.0759 14.0658 53.2834 15.003 53.8587 15.6046C54.4335 16.2061 55.3202 16.433 56.1982 16.433C57.0762 16.433 57.963 16.2143 58.5378 15.6046C58.6179 15.5186 58.6894 15.4248 58.7608 15.331H61.1251C60.9171 16.0657 60.5897 16.7299 60.0945 17.2454C59.1364 18.2531 57.6593 18.6205 56.1982 18.6205C54.7372 18.6205 53.2596 18.2609 52.3014 17.2454C51.3432 16.2299 50.9919 14.6828 50.9919 13.1435C50.9919 11.6043 51.3355 10.0494 52.3014 9.04168C53.2678 8.03396 54.7367 7.66663 56.1982 7.66663C57.6598 7.66663 59.1364 8.02618 60.0945 9.04168C61.061 10.0572 61.4045 11.6043 61.4045 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M80.242 18.6214C81.7035 18.6214 83.1801 18.4105 84.1383 17.809C85.0965 17.2075 85.4482 16.2931 85.4482 15.3869C85.4482 14.4807 85.1042 13.5585 84.1383 12.9647C83.1801 12.371 81.703 12.1518 80.242 12.1518C79.6186 12.1518 79.0438 12.0658 78.6366 11.8394C78.2294 11.6047 78.0778 11.2534 78.0778 10.9017C78.0778 10.5499 78.2216 10.1908 78.6366 9.9639C79.0438 9.72921 79.6749 9.65147 80.2973 9.65147C80.9198 9.65147 81.5509 9.73747 81.9591 9.9639C82.3663 10.1986 82.5179 10.5499 82.5179 10.9017H84.9531C84.9531 9.99499 84.6421 9.07327 83.7719 8.47951C82.9017 7.88576 81.5679 7.66663 80.2424 7.66663C78.9169 7.66663 77.5837 7.8775 76.713 8.47951C75.8427 9.08104 75.5308 9.99499 75.5308 10.9017C75.5308 11.8083 75.8423 12.73 76.713 13.3238C77.5832 13.9176 78.9165 14.1367 80.2424 14.1367C80.929 14.1367 81.688 14.2227 82.1428 14.4491C82.5985 14.676 82.7579 15.0351 82.7579 15.3869C82.7579 15.7387 82.5985 16.0977 82.1428 16.3246C81.688 16.5511 80.9931 16.6371 80.3066 16.6371C79.62 16.6371 78.9169 16.5511 78.4694 16.3246C78.0224 16.0982 77.8543 15.7387 77.8543 15.3869H75.0435C75.0435 16.2935 75.3865 17.2153 76.3534 17.809C77.3194 18.4028 78.7809 18.6214 80.2424 18.6214H80.242Z",fill:"currentColor"}),c.jsx("path",{d:"M97.4733 13.1431V13.9948H91.0932V12.2996H95.3252C95.23 11.6825 95.006 11.1043 94.6071 10.682C94.0313 10.0727 93.1456 9.85409 92.2666 9.85409C91.3876 9.85409 90.5018 10.0727 89.927 10.682C89.3522 11.2913 89.1452 12.2213 89.1452 13.1435C89.1452 14.0658 89.3522 15.003 89.927 15.6046C90.5018 16.2061 91.3886 16.433 92.2666 16.433C93.1446 16.433 94.0313 16.2143 94.6071 15.6046C94.6863 15.5186 94.7587 15.4248 94.8301 15.331H97.1935C96.9855 16.0657 96.6585 16.7299 96.1639 17.2454C95.2057 18.2531 93.7281 18.6205 92.2666 18.6205C90.805 18.6205 89.3284 18.2609 88.3703 17.2454C87.4121 16.2299 87.0613 14.6828 87.0613 13.1435C87.0613 11.6043 87.4043 10.0494 88.3703 9.04168C89.3367 8.03396 90.806 7.66663 92.2666 7.66663C93.7272 7.66663 95.2057 8.02618 96.1639 9.04168C97.1298 10.0572 97.4729 11.6043 97.4729 13.1435L97.4733 13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M109.499 13.1431V13.9948H103.119V12.2996H107.351C107.256 11.6825 107.032 11.1043 106.632 10.682C106.057 10.0727 105.172 9.85409 104.293 9.85409C103.414 9.85409 102.528 10.0727 101.953 10.682C101.378 11.2913 101.17 12.2213 101.17 13.1435C101.17 14.0658 101.378 15.003 101.953 15.6046C102.528 16.2061 103.415 16.433 104.293 16.433C105.171 16.433 106.057 16.2143 106.632 15.6046C106.712 15.5186 106.784 15.4248 106.856 15.331H109.22C109.012 16.0657 108.685 16.7299 108.19 17.2454C107.231 18.2531 105.754 18.6205 104.293 18.6205C102.831 18.6205 101.355 18.2609 100.396 17.2454C99.4382 16.2299 99.0864 14.6828 99.0864 13.1435C99.0864 11.6043 99.4295 10.0494 100.396 9.04168C101.362 8.03396 102.832 7.66663 104.293 7.66663C105.754 7.66663 107.231 8.02618 108.19 9.04168C109.156 10.0572 109.499 11.6043 109.499 13.1435V13.1431Z",fill:"currentColor"}),c.jsx("path",{d:"M113.5 4.62817H111.104V18.6217H113.5V4.62817Z",fill:"currentColor"}),c.jsx("path",{d:"M117.589 12.8154L121.517 18.6208H118.554L114.625 12.8154L118.554 8.15088H121.517L117.589 12.8154Z",fill:"currentColor"}),c.jsx("g",{clipPath:"url(#dsh-wordmark-whale-clip)",children:c.jsx("path",{d:"M23.0584 4.95203C22.8129 4.83203 22.7074 5.06103 22.5639 5.17704C22.5149 5.21454 22.4734 5.26354 22.4319 5.30854C22.0734 5.69155 21.6543 5.94306 21.1073 5.91306C20.3073 5.86806 19.6243 6.11957 19.0203 6.73158C18.8918 5.97706 18.4652 5.52655 17.8162 5.23754C17.4767 5.08753 17.1332 4.93703 16.8952 4.61052C16.7292 4.37801 16.6837 4.11901 16.6007 3.8635C16.5477 3.70949 16.4952 3.55199 16.3177 3.52549C16.1252 3.49549 16.0497 3.65699 15.9742 3.792C15.6722 4.34401 15.5552 4.95203 15.5667 5.56805C15.5932 6.95359 16.1782 8.05712 17.3407 8.84215C17.4727 8.93215 17.5067 9.02215 17.4652 9.15366C17.3857 9.42416 17.2917 9.68667 17.2087 9.95718C17.1557 10.1297 17.0767 10.1677 16.8917 10.0922C16.2537 9.82568 15.7027 9.43117 15.2156 8.95465C14.3891 8.15513 13.6416 7.2726 12.7096 6.58158C12.4906 6.42007 12.2716 6.27007 12.045 6.12707C11.094 5.20354 12.1696 4.44502 12.4186 4.35501C12.6791 4.26101 12.5091 3.938 11.6675 3.942C10.826 3.9455 10.056 4.22751 9.07446 4.60302C8.93096 4.65952 8.77995 4.70052 8.62545 4.73452C7.73492 4.56552 6.80989 4.52802 5.84386 4.63702C4.02481 4.83953 2.57177 5.69955 1.50373 7.1676C0.220694 8.93215 -0.0813148 10.9372 0.288196 13.0283C0.676708 15.2323 1.80174 17.0569 3.53029 18.4834C5.32285 19.9625 7.38741 20.6875 9.74298 20.5485C11.1735 20.466 12.7661 20.2745 14.5626 18.7539C15.0156 18.9795 15.4912 19.0695 16.2797 19.137C16.8872 19.1935 17.4722 19.107 17.9252 19.013C18.6347 18.8629 18.5857 18.2059 18.3292 18.0854C16.2497 17.1169 16.7062 17.5109 16.2912 17.1919C17.3477 15.9419 18.9618 13.7198 19.4598 10.6942C19.5088 10.3602 19.5713 9.88968 19.5638 9.61917C19.5598 9.45417 19.5978 9.39016 19.7863 9.37116C20.3073 9.31116 20.8128 9.16866 21.2773 8.91315C22.6249 8.17713 23.1684 6.96809 23.2964 5.51905C23.3154 5.29754 23.2924 5.06853 23.0584 4.95203ZM11.3165 17.9954C9.30097 16.4109 8.32344 15.8894 7.91992 15.9119C7.54241 15.9344 7.61042 16.3664 7.69342 16.6479C7.78042 16.9259 7.89342 17.1174 8.05193 17.3614C8.16143 17.5229 8.23694 17.7629 7.94243 17.9434C7.29341 18.3449 6.16487 17.8084 6.11187 17.7819C4.79833 17.0084 3.7003 15.9874 2.92628 14.5908C2.17875 13.2468 1.74474 11.8047 1.67324 10.2657C1.65424 9.89418 1.76374 9.76267 2.13375 9.69517C2.62077 9.60517 3.12278 9.58617 3.6093 9.65767C5.66636 9.95818 7.41741 10.8777 8.88545 12.3348C9.72348 13.1643 10.3575 14.1558 11.0105 15.1243C11.705 16.1529 12.4521 17.1329 13.4036 17.9364C13.7396 18.2179 14.0076 18.4319 14.2641 18.5899C13.4906 18.6764 12.1996 18.6949 11.3165 17.9964V17.9954ZM12.2826 11.7817C12.2826 11.6167 12.4146 11.4852 12.5806 11.4852C12.6181 11.4852 12.6521 11.4927 12.6826 11.5037C12.7241 11.5187 12.7621 11.5412 12.7921 11.5752C12.8451 11.6277 12.8751 11.7027 12.8751 11.7817C12.8751 11.9467 12.7431 12.0782 12.5771 12.0782C12.4111 12.0782 12.2826 11.9467 12.2826 11.7817ZM15.2831 13.3208C15.0906 13.3998 14.8981 13.4673 14.7131 13.4748C14.4261 13.4898 14.1131 13.3733 13.9431 13.2308C13.6791 13.0093 13.4901 12.8853 13.4111 12.4988C13.3771 12.3338 13.3961 12.0782 13.4261 11.9317C13.4941 11.6162 13.4186 11.4137 13.1961 11.2297C13.0151 11.0797 12.7846 11.0382 12.5316 11.0382C12.4371 11.0382 12.3506 10.9967 12.2861 10.9632C12.1806 10.9107 12.0936 10.7792 12.1766 10.6177C12.2031 10.5652 12.3316 10.4377 12.3616 10.4152C12.7051 10.2197 13.1011 10.2837 13.4676 10.4302C13.8071 10.5692 14.0641 10.8242 14.4336 11.1847C14.8111 11.6202 14.8791 11.7402 15.0941 12.0672C15.2641 12.3228 15.4186 12.5853 15.5247 12.8858C15.5887 13.0733 15.5057 13.2268 15.2831 13.3208Z",fill:"currentColor"})}),c.jsx("rect",{x:"129.348",y:"5.5",width:"52",height:"14",rx:"2",fill:"currentColor"}),c.jsxs("g",{clipPath:"url(#dsh-wordmark-badge-clip)",children:[c.jsx("path",{d:"M132.848 8.93205H134.08V16.137H132.848V8.93205ZM136.5 8.93205H137.732V16.137H136.5V8.93205ZM133.365 13.024V11.99H137.193V13.024H133.365Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M140.397 14.432L140.672 13.453H143.202L143.532 14.432H140.397ZM140.287 16.137H139.055L141.277 8.93205H142.201L142.146 9.74605L140.947 13.915H140.969L140.287 16.137ZM145.039 16.137H143.741L143.07 13.948L143.081 13.937L141.871 9.74605L141.926 8.93205H142.817L145.039 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M146.846 8.93205H149.068C149.852 8.93205 150.443 9.11538 150.839 9.48205C151.235 9.84138 151.433 10.3327 151.433 10.956C151.433 11.22 151.396 11.4657 151.323 11.693C151.249 11.9204 151.125 12.1257 150.949 12.309C150.773 12.4924 150.531 12.65 150.223 12.782C149.922 12.9067 149.541 13.0057 149.079 13.079V13.321H146.846V12.639L148.023 12.485C148.631 12.4044 149.09 12.298 149.398 12.166C149.706 12.034 149.915 11.8764 150.025 11.693C150.135 11.5024 150.19 11.2934 150.19 11.066C150.19 10.6994 150.083 10.417 149.871 10.219C149.658 10.021 149.324 9.92205 148.87 9.92205H146.846V8.93205ZM146.395 8.93205H147.627V16.137H146.395V8.93205ZM151.917 16.093V16.137H150.366L149.024 14.322C148.87 14.1094 148.73 13.9407 148.606 13.816C148.481 13.684 148.345 13.5887 148.199 13.53C148.052 13.464 147.872 13.42 147.66 13.398C147.447 13.3687 147.176 13.3504 146.846 13.343V13.145H149.079C149.233 13.211 149.368 13.2844 149.486 13.365C149.61 13.4457 149.735 13.5447 149.86 13.662C149.992 13.7794 150.138 13.937 150.3 14.135L151.917 16.093Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M153.58 9.57005L153.591 8.93205H154.46L157.584 15.51V16.137H156.704L153.58 9.57005ZM158.024 16.137H156.968L156.88 8.93205H158.024V16.137ZM154.24 16.137H153.096V8.93205H154.152L154.24 16.137Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M159.963 8.93205H161.206V16.137H159.963V8.93205ZM160.095 9.96605V8.93205H164.858V9.96605H160.095ZM160.095 16.137V15.103H164.902V16.137H160.095ZM160.095 13.013V11.99H164.374V13.013H160.095Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M169.052 15.257C169.543 15.257 169.895 15.1654 170.108 14.982C170.328 14.7987 170.438 14.5457 170.438 14.223C170.438 14.047 170.405 13.8967 170.339 13.772C170.273 13.6474 170.152 13.5337 169.976 13.431C169.807 13.321 169.558 13.2147 169.228 13.112L168.491 12.881C167.846 12.6757 167.38 12.4044 167.094 12.067C166.808 11.7297 166.665 11.3007 166.665 10.78C166.665 10.428 166.76 10.1017 166.951 9.80105C167.142 9.50038 167.428 9.25838 167.809 9.07505C168.19 8.89172 168.663 8.80005 169.228 8.80005C169.631 8.80005 169.998 8.82938 170.328 8.88805C170.665 8.93938 171.039 9.01638 171.45 9.11905L171.274 10.175C170.834 10.0504 170.442 9.96238 170.097 9.91105C169.76 9.85238 169.463 9.82305 169.206 9.82305C168.737 9.82305 168.403 9.90738 168.205 10.076C168.007 10.2374 167.908 10.439 167.908 10.681C167.908 10.857 167.941 11.0147 168.007 11.154C168.073 11.286 168.19 11.407 168.359 11.517C168.535 11.627 168.784 11.7334 169.107 11.836L169.866 12.078C170.526 12.276 170.995 12.5327 171.274 12.848C171.553 13.156 171.692 13.585 171.692 14.135C171.692 14.5604 171.589 14.9344 171.384 15.257C171.179 15.5797 170.878 15.8327 170.482 16.016C170.093 16.1994 169.609 16.291 169.03 16.291C168.627 16.291 168.212 16.247 167.787 16.159C167.362 16.071 166.9 15.9427 166.401 15.774L166.665 14.718C167.156 14.894 167.6 15.0297 167.996 15.125C168.399 15.213 168.751 15.257 169.052 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"}),c.jsx("path",{d:"M175.809 15.257C176.3 15.257 176.652 15.1654 176.865 14.982C177.085 14.7987 177.195 14.5457 177.195 14.223C177.195 14.047 177.162 13.8967 177.096 13.772C177.03 13.6474 176.909 13.5337 176.733 13.431C176.564 13.321 176.315 13.2147 175.985 13.112L175.248 12.881C174.603 12.6757 174.137 12.4044 173.851 12.067C173.565 11.7297 173.422 11.3007 173.422 10.78C173.422 10.428 173.517 10.1017 173.708 9.80105C173.899 9.50038 174.185 9.25838 174.566 9.07505C174.947 8.89172 175.42 8.80005 175.985 8.80005C176.388 8.80005 176.755 8.82938 177.085 8.88805C177.422 8.93938 177.796 9.01638 178.207 9.11905L178.031 10.175C177.591 10.0504 177.199 9.96238 176.854 9.91105C176.517 9.85238 176.22 9.82305 175.963 9.82305C175.494 9.82305 175.16 9.90738 174.962 10.076C174.764 10.2374 174.665 10.439 174.665 10.681C174.665 10.857 174.698 11.0147 174.764 11.154C174.83 11.286 174.947 11.407 175.116 11.517C175.292 11.627 175.541 11.7334 175.864 11.836L176.623 12.078C177.283 12.276 177.752 12.5327 178.031 12.848C178.31 13.156 178.449 13.585 178.449 14.135C178.449 14.5604 178.346 14.9344 178.141 15.257C177.936 15.5797 177.635 15.8327 177.239 16.016C176.85 16.1994 176.366 16.291 175.787 16.291C175.384 16.291 174.969 16.247 174.544 16.159C174.119 16.071 173.657 15.9427 173.158 15.774L173.422 14.718C173.913 14.894 174.357 15.0297 174.753 15.125C175.156 15.213 175.508 15.257 175.809 15.257Z",fill:"var(--dsw-alias-label-primary-inverted)"})]}),c.jsxs("defs",{children:[c.jsx("clipPath",{id:"dsh-wordmark-whale-clip",children:c.jsx("rect",{width:"23.16",height:"17.0435",fill:"white",transform:"translate(0.141602 3.52185)"})}),c.jsx("clipPath",{id:"dsh-wordmark-badge-clip",children:c.jsx("rect",{width:"46",height:"14",fill:"white",transform:"translate(132.348 5.5)"})})]})]})}function a9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M5.08545 8.13775L7.18455 10.2368C7.26636 10.3187 7.4003 10.3142 7.47649 10.2271L11.5148 5.61194",stroke:"currentColor"}),c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"})]})}function l9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.4209 1.68067C7.43922 1.299 8.56177 1.29898 9.58008 1.68067L14.0996 3.375C14.2946 3.44811 14.4236 3.63455 14.4238 3.84278V6.89063C14.1115 6.71853 13.7761 6.58312 13.4238 6.48926V4.18946L9.22852 2.61621C8.43657 2.31947 7.56341 2.31939 6.77148 2.61621L2.5752 4.18946V7.11914C2.5752 11.1796 5.52369 13.056 8 14.0391C8.27653 13.9293 8.55827 13.8067 8.8418 13.6729C9.07101 13.9468 9.33228 14.1929 9.62012 14.4053C9.12409 14.6579 8.63578 14.8696 8.17871 15.0449C8.0637 15.0889 7.93628 15.0889 7.82129 15.0449C5.22011 14.0472 1.5752 11.9381 1.5752 7.11914V3.84278C1.57541 3.63469 1.70463 3.44821 1.89941 3.375L6.4209 1.68067Z",fill:"currentColor"}),c.jsx("path",{d:"M5.26392 6.60339H10.7361",stroke:"currentColor"}),c.jsx("path",{d:"M5.26392 9.86902H8.32833",stroke:"currentColor"}),c.jsx("path",{d:"M10.0317 13.2229C10.263 13.3929 10.4943 13.563 10.7256 13.733C10.7932 13.6482 10.8608 13.5634 10.9284 13.4786C12.1455 11.9522 13.3626 10.4258 14.5798 8.89935C14.6474 8.81455 14.715 8.72975 14.7826 8.64495C14.4143 8.37419 14.046 8.10344 13.6777 7.83268C13.6169 7.92252 13.5562 8.01236 13.4954 8.10219C12.4016 9.71926 11.3078 11.3363 10.214 12.9534C10.1532 13.0432 10.0924 13.1331 10.0317 13.2229Z",fill:"currentColor"}),c.jsx("path",{d:"M12.6516 12.6696C12.6516 12.925 12.6516 13.1804 12.6516 13.4359C12.6952 13.4378 12.7387 13.4398 12.7823 13.4417C13.5663 13.4768 14.3504 13.5118 15.1345 13.5469C15.178 13.5488 15.2216 13.5508 15.2651 13.5527C15.2651 13.2194 15.2651 12.8861 15.2651 12.5527C15.2216 12.5547 15.178 12.5566 15.1345 12.5586C14.3504 12.5936 13.5663 12.6287 12.7823 12.6637C12.7387 12.6657 12.6952 12.6676 12.6516 12.6696Z",fill:"currentColor"})]})}function c9({size:e=16,className:t,strokeWidth:n}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M6.59624 2.14853C7.50155 1.80917 8.49914 1.80919 9.40444 2.14859L13.9245 3.84317V7.11961C13.9245 11.6089 10.5565 13.5975 8.00035 14.5779C5.44423 13.5975 2.07544 11.6089 2.07544 7.11961V3.84317L6.59624 2.14853Z",stroke:"currentColor",strokeLinejoin:"round"}),c.jsx("path",{d:"M8 4.39209V9.89209",stroke:"currentColor"}),c.jsx("path",{d:"M8 10.8081V11.8081",stroke:"currentColor"})]})}function KN(e){return c.jsx(a9,{...e,strokeWidth:se})}function YN(e){return c.jsx(a9,{...e,strokeWidth:ae})}function JN(e){return c.jsx(l9,{...e,strokeWidth:se})}function XN(e){return c.jsx(l9,{...e,strokeWidth:ae})}function QN(e){return c.jsx(c9,{...e,strokeWidth:se})}function ez(e){return c.jsx(c9,{...e,strokeWidth:ae})}function u9({kind:e,size:t=16,className:n,strokeWidth:r,reference:s}){if(e==="session"&&s!==void 0){const{text:l,mentions:u}=eE(s),d=u[0];if(d&&u.length===1&&l===`@${d.label}`)return c.jsx(qp,{id:d.harnessId,src:`/harness-icons/${encodeURIComponent(d.harnessId)}`,presentationUrl:"/harness-icons/presentation.json",size:t,className:n,fallback:c.jsx(ap,{size:t,className:n})})}switch(e){case"skill":return c.jsx(vp,{size:t,className:n});case"session":return c.jsx(K8,{size:t,className:n,strokeWidth:r});case"file":return c.jsx(n2,{size:t,className:n,strokeWidth:r});case"folder":return c.jsx(Gl,{size:t,className:n,strokeWidth:r})}}function d9(e){return c.jsx(u9,{...e,strokeWidth:se})}function tz(e){return c.jsx(u9,{...e,strokeWidth:ae})}const nz="__DSH_CODE_ICON_INSTANCE__",rz=Object.freeze({angular:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F8ECEF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DD0031" d="M16.712 17.711H7.288l-1.204 2.916L12 24l5.916-3.373-1.204-2.916ZM14.692 0l7.832 16.855.814-12.856L14.692 0ZM9.308 0 .662 3.999l.814 12.856L9.308 0Zm-.405 13.93h6.198L12 6.396 8.903 13.93Z"/></g>',c:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF4F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#659AD2" d="M16.5921 9.1962s-.354-3.298-3.627-3.39c-3.2741-.09-4.9552 2.474-4.9552 6.14 0 3.6651 1.858 6.5972 5.0451 6.5972 3.184 0 3.5381-3.665 3.5381-3.665l6.1041.365s.36 3.31-2.196 5.836c-2.552 2.5241-5.6901 2.9371-7.8762 2.9201-2.19-.017-5.2261.034-8.1602-2.97-2.938-3.0101-3.436-5.9302-3.436-8.8002 0-2.8701.556-6.6702 4.047-9.5502C7.444.72 9.849 0 12.254 0c10.0422 0 10.7172 9.2602 10.7172 9.2602z"/></g>',clojure:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F1F7EC" stroke="#DCEAD2" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="none"><path d="M64 0C28.712 0 0 28.6 0 63.751c0 35.155 28.712 63.753 64 63.753s64-28.598 64-63.753C128 28.6 99.288 0 64 0" fill="#FFF"/><path d="M61.659 64.898a265.825 265.825 0 00-1.867 4.12c-2.322 5.241-4.894 11.62-5.834 15.706-.337 1.455-.546 3.258-.542 5.258 0 .79.043 1.622.11 2.469a30.74 30.74 0 0010.533 1.87 30.796 30.796 0 009.642-1.566 18.09 18.09 0 01-2.011-2.12c-4.11-5.221-6.403-12.872-10.031-25.737M46.485 38.96c-7.85 5.51-12.986 14.6-13.005 24.9.019 10.145 5.001 19.116 12.653 24.65 1.877-7.789 6.582-14.92 13.637-29.214a114.691 114.691 0 00-1.43-3.72c-1.955-4.884-4.776-10.556-7.294-13.124-1.283-1.342-2.84-2.502-4.561-3.492" fill="#91DC47"/><path d="M90.697 98.798c-4.05-.506-7.392-1.116-10.317-2.144a36.708 36.708 0 01-16.32 3.807c-20.293 0-36.742-16.383-36.745-36.602 0-10.97 4.852-20.805 12.528-27.512-2.053-.495-4.194-.783-6.38-.779-10.782.101-22.162 6.044-26.9 22.095-.443 2.337-.337 4.103-.337 6.197 0 31.818 25.895 57.613 57.835 57.613 19.561 0 36.841-9.682 47.305-24.489-5.66 1.405-11.103 2.077-15.763 2.091-1.747 0-3.387-.093-4.906-.277" fill="#63B132"/><path d="M79.829 87.634c.357.176 1.167.464 2.293.783 7.579-5.542 12.504-14.469 12.523-24.558h-.003c-.028-16.82-13.693-30.43-30.582-30.462a30.765 30.765 0 00-9.602 1.554c6.21 7.05 9.196 17.127 12.084 28.148l.005.013c.005.009.924 3.06 2.501 7.11 1.566 4.042 3.797 9.048 6.23 12.696 1.597 2.444 3.354 4.2 4.551 4.716" fill="#90B4FE"/><path d="M17.057 30.311c5.463-3.408 11.04-4.637 15.908-4.593 6.722.02 12.008 2.096 14.544 3.516.612.352 1.194.73 1.764 1.12a36.714 36.714 0 0114.786-3.096c20.295.003 36.747 16.386 36.75 36.601-.003 10.192-4.188 19.408-10.934 26.044a45.3 45.3 0 005.225.29c6.406.004 13.329-1.404 18.52-5.753 3.384-2.84 6.22-6.998 7.792-13.233.307-2.408.484-4.856.484-7.347 0-31.817-25.892-57.614-57.835-57.614-19.372 0-36.508 9.5-47.004 24.065z" fill="#5881D8"/></g></svg>',cmake:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F5F7" stroke="#D9E1E7" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#064F8C" d="M62.8.4L.3 123.8l68.1-57.9z"/><path fill="#249847" d="M123.8 127.7l-84-33.9L0 127.7z"/><path fill="#BE2128" d="M128 126.6L65.6 2.5l9.2 102.6z"/><path fill="#CDCDCE" d="M71.9 104l-3.1-34.9L42 92z"/></svg>',cpp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F2F8" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00599C" d="M22.394 6c-.167-.29-.398-.543-.652-.69L12.926.22c-.509-.294-1.34-.294-1.848 0L2.26 5.31c-.508.293-.923 1.013-.923 1.6v10.18c0 .294.104.62.271.91.167.29.398.543.652.69l8.816 5.09c.508.293 1.34.293 1.848 0l8.816-5.09c.254-.147.485-.4.652-.69.167-.29.27-.616.27-.91V6.91c.003-.294-.1-.62-.268-.91zM12 19.11c-3.92 0-7.109-3.19-7.109-7.11 0-3.92 3.19-7.11 7.11-7.11a7.133 7.133 0 016.156 3.553l-3.076 1.78a3.567 3.567 0 00-3.08-1.78A3.56 3.56 0 008.444 12 3.56 3.56 0 0012 15.555a3.57 3.57 0 003.08-1.778l3.078 1.78A7.135 7.135 0 0112 19.11zm7.11-6.715h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79zm2.962 0h-.79v.79h-.79v-.79h-.79v-.79h.79v-.79h.79v.79h.79z"/></g>',csharp:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF7" stroke="#E2D7EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#9B4F96" d="M115.4 30.7L67.1 2.9c-.8-.5-1.9-.7-3.1-.7-1.2 0-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.4 1 3.5l106.8-62c-.6-1.2-1.5-2.1-2.4-2.7z"/><path fill="#68217A" d="M10.7 95.3c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7 1.2 0 2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c0-.9-.1-1.9-.6-2.8l-106.6 62z"/><path fill="#fff" d="M85.3 76.1C81.1 83.5 73.1 88.5 64 88.5c-13.5 0-24.5-11-24.5-24.5s11-24.5 24.5-24.5c9.1 0 17.1 5 21.3 12.5l13-7.5c-6.8-11.9-19.6-20-34.3-20-21.8 0-39.5 17.7-39.5 39.5s17.7 39.5 39.5 39.5c14.6 0 27.4-8 34.2-19.8l-12.9-7.6zM97 66.2l.9-4.3h-4.2v-4.7h5.1L100 51h4.9l-1.2 6.1h3.8l1.2-6.1h4.8l-1.2 6.1h2.4v4.7h-3.3l-.9 4.3h4.2v4.7h-5.1l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6h-2.4v-4.7H97zm4.8 0h3.8l.9-4.3h-3.8l-.9 4.3z"/></svg>',css:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#1572B6"/><text x="10" y="12.8" text-anchor="middle" font-family="Arial,sans-serif" font-size="6.2" font-weight="900" fill="#fff">CSS</text>',dart:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF7FA" stroke="#D5EAF0" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#00c4b3" d="M35.2 34.9l-8.3-8.3v59.7l.1 2.8c0 1.3.2 2.8.7 4.3l65.6 23.1 16.3-7.2-74.4-74.4z"/><path d="M27.7 93.4zm81.9 15.9l-16.3 7.2-65.4-23.1c1.3 4.8 4 10.1 7 13.2l21.3 21.2 47.6.1 5.8-18.6z" fill="#22d3c5"/><path fill="#0075c9" d="M1.7 65.1C-.4 67.3.7 72 4 75.5l14.7 14.8 9.2 3.3c-.3-1.5-.7-3-.7-4.3l-.1-2.8-.2-59.8m82.7 82.6l7.2-16.4-23-65.6c-1.5-.3-3-.6-4.3-.7l-2.9-.1-59.6.1"/><path d="M93.6 27.3c.2 0 .2 0 0 0 .2 0 .2 0 0 0zm16 82l17.7-5.8V54.8l-20.4-20.5c-3-3-8.3-5.8-13.2-7l23.1 65.6" fill="#00a8e1"/><path fill="#00c4b3" d="M90.5 18.2L75.7 3.5c-3.4-3.4-8-4.4-10.4-2.3L26.9 26.6h59.5l2.9.1c1.3 0 2.8.2 4.3.7l-3.1-9.2z"/></svg>',docker:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E8F4FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2496ED" d="M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288Z"/></g>',elixir:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3EEF6" stroke="#E3D9E8" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-a" gradientUnits="userSpaceOnUse" x1="835.592" y1="-36.546" x2="821.211" y2="553.414" gradientTransform="matrix(.1297 0 0 .2 -46.03 17.198)"><stop offset="0" stop-color="#d9d8dc"/><stop offset="1" stop-color="#fff" stop-opacity=".385"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-a)" d="M64.4.5C36.7 13.9 1.9 83.4 30.9 113.9c26.8 33.5 85.4 1.3 68.4-40.5-21.5-36-35-37.9-34.9-72.9z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-b" gradientUnits="userSpaceOnUse" x1="942.357" y1="-40.593" x2="824.692" y2="472.243" gradientTransform="matrix(.1142 0 0 .2271 -47.053 17.229)"><stop offset="0" stop-color="#8d67af" stop-opacity=".672"/><stop offset="1" stop-color="#9f8daf"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-b)" d="M64.4.2C36.8 13.6 1.9 82.9 31 113.5c10.7 12.4 28 16.5 37.7 9.1 26.4-18.8 7.4-53.1 10.4-78.5C68.1 33.9 64.2 11.3 64.4.2z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-c" gradientUnits="userSpaceOnUse" x1="924.646" y1="120.513" x2="924.646" y2="505.851" gradientTransform="matrix(.1227 0 0 .2115 -46.493 17.206)"><stop offset="0" stop-color="#26053d" stop-opacity=".762"/><stop offset="1" stop-color="#b7b4b4" stop-opacity=".278"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-c)" d="M56.7 4.3c-22.3 15.9-28.2 75-24.1 94.2 8.2 48.1 75.2 28.3 69.6-16.5-6-29.2-48.8-39.2-45.5-77.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-d" gradientUnits="userSpaceOnUse" x1="428.034" y1="198.448" x2="607.325" y2="559.255" gradientTransform="matrix(.1848 0 0 .1404 -42.394 17.138)"><stop offset="0" stop-color="#91739f" stop-opacity=".46"/><stop offset="1" stop-color="#32054f" stop-opacity=".54"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-d)" d="M78.8 49.8c10.4 13.4 12.7 22.6 6.8 27.9-27.7 19.4-61.3 7.4-54-37.3C22.1 63 4.5 96.8 43.3 101.6c20.8 3.6 54 2 58.9-16.1-.2-15.9-10.8-22.9-23.4-35.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-e" gradientUnits="userSpaceOnUse" x1="907.895" y1="540.636" x2="590.242" y2="201.281" gradientTransform="matrix(.1418 0 0 .1829 -45.23 17.18)"><stop offset="0" stop-color="#463d49" stop-opacity=".331"/><stop offset="1" stop-color="#340a50" stop-opacity=".821"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-e)" d="M38.1 36.4c-2.9 21.2 35.1 77.9 58.3 71-17.7 35.6-56.9-21.2-64-41.7 1.5-11 2.2-16.4 5.7-29.3z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-f" gradientUnits="userSpaceOnUse" x1="1102.297" y1="100.542" x2="1008.071" y2="431.648" gradientTransform="matrix(.106 0 0 .2448 -47.595 17.242)"><stop offset="0" stop-color="#715383" stop-opacity=".145"/><stop offset="1" stop-color="#f4f4f4" stop-opacity=".234"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-f)" d="M60.4 49.7c.8 7.9 3.9 20.5 0 28.8S38.7 102 43.6 115.3c11.4 24.8 37.1-4.4 36.9-19 1.1-11.8-6.6-38.7-1.8-52.5L76.5 41l-13.6-4c-2.2 3.2-3 7.5-2.5 12.7z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__elixir-original-g" gradientUnits="userSpaceOnUse" x1="1354.664" y1="140.06" x2="1059.233" y2="84.466" gradientTransform="matrix(.09173 0 0 .2828 -48.536 17.28)"><stop offset="0" stop-color="#a5a1a8" stop-opacity=".356"/><stop offset="1" stop-color="#370c50" stop-opacity=".582"/></linearGradient><path fill-rule="evenodd" clip-rule="evenodd" fill="url(#__DSH_CODE_ICON_INSTANCE__elixir-original-g)" d="M65.3 10.8C36 27.4 48 53.4 49.3 81.6l19.1-55.4c-1.4-5.7-2.3-9.5-3.1-15.4z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#330A4C" fill-opacity=".316" d="M68.3 26.1c-14.8 11.7-14.1 31.3-18.6 54 8.1-21.3 4.1-38.2 18.6-54z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FFF" d="M45.8 119.7c8 1.1 12.1 2.2 12.5 3 .3 4.2-11.1 1.2-12.5-3z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#EDEDED" fill-opacity=".603" d="M49.8 10.8c-6.9 7.7-14.4 21.8-18.2 29.7-1 6.5-.5 15.7.6 23.5.9-18.2 7.5-39.2 17.6-53.2z"/></svg>',env:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECD53F"/><text x="10" y="12.9" text-anchor="middle" font-family="Arial,sans-serif" font-size="5.7" font-weight="900" fill="#24292F">.ENV</text>',erlang:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FAEDF1" stroke="#EED6DE" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path d="M20.7 103.9C11 93.5 5.2 79.2 5.3 62.1 5.2 47 10 34 18.2 24.1H1v79.7l19.7.1zm90.4 0c4.2-4.5 8-9.8 11.4-15.9l-19-9.5c-6.7 10.8-16.4 20.8-29.9 20.9-19.6-.1-27.3-16.9-27.3-38.5h73.3c.1-2.4.1-3.6 0-4.7.5-12.9-2.9-23.7-9.1-32.1H127v79.7l-15.9.1zM47.5 42.4c.8-9.8 8.5-16.3 17.6-16.4 9.1 0 15.7 6.6 15.9 16.4H47.5z" fill="#A90533"/></svg>',flutter:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF7FD" stroke="#D7EAF6" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><g fill="#3FB6D3"><path d="M12.3 64.2L76.3 0h39.4L32.1 83.6zM76.3 128h39.4L81.6 93.9l34.1-34.8H76.3L42.2 93.5z"/></g><path fill="#27AACD" d="M81.6 93.9l-20-20-19.4 19.6 19.4 19.6z"/><path fill="#19599A" d="M115.7 128L81.6 93.9l-20 19.2L76.3 128z"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__flutter-original-a" gradientUnits="userSpaceOnUse" x1="59.365" y1="116.36" x2="86.825" y2="99.399"><stop offset="0" stop-color="#1b4e94"/><stop offset=".63" stop-color="#1a5497"/><stop offset="1" stop-color="#195a9b"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__flutter-original-a)" d="M61.6 113.1l30.8-8.4-10.8-10.8z"/></svg>',git:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#F05032" d="M13.09 23.549a1.54 1.54 0 0 1-2.18 0L.451 13.089a1.54 1.54 0 0 1 0-2.179l7.191-7.19 2.733 2.733a1.85 1.85 0 0 0 .964 2.326v6.66a1.849 1.849 0 1 0 1.54 0V8.957l2.508 2.508a1.85 1.85 0 1 0 1.09-1.09l-2.634-2.634a1.85 1.85 0 0 0-2.378-2.377L8.73 2.63 10.91.451a1.54 1.54 0 0 1 2.179 0l10.459 10.46a1.54 1.54 0 0 1 0 2.179z"/></g>',go:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#E7F9FC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#00ADD8" d="M1.811 10.231c-.047 0-.058-.023-.035-.059l.246-.315c.023-.035.081-.058.128-.058h4.172c.046 0 .058.035.035.07l-.199.303c-.023.036-.082.07-.117.07zM.047 11.306c-.047 0-.059-.023-.035-.058l.245-.316c.023-.035.082-.058.129-.058h5.328c.047 0 .07.035.058.07l-.093.28c-.012.047-.058.07-.105.07zm2.828 1.075c-.047 0-.059-.035-.035-.07l.163-.292c.023-.035.07-.07.117-.07h2.337c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082zm12.129-2.36c-.736.187-1.239.327-1.963.514-.176.046-.187.058-.34-.117-.174-.199-.303-.327-.548-.444-.737-.362-1.45-.257-2.115.175-.795.514-1.204 1.274-1.192 2.22.011.935.654 1.706 1.577 1.835.795.105 1.46-.175 1.987-.77.105-.13.198-.27.315-.434H10.47c-.245 0-.304-.152-.222-.35.152-.362.432-.97.596-1.274a.315.315 0 01.292-.187h4.253c-.023.316-.023.631-.07.947a4.983 4.983 0 01-.958 2.29c-.841 1.11-1.94 1.8-3.33 1.986-1.145.152-2.209-.07-3.143-.77-.865-.655-1.356-1.52-1.484-2.595-.152-1.274.222-2.419.993-3.424.83-1.086 1.928-1.776 3.272-2.02 1.098-.2 2.15-.07 3.096.571.62.41 1.063.97 1.356 1.648.07.105.023.164-.117.2m3.868 6.461c-1.064-.024-2.034-.328-2.852-1.029a3.665 3.665 0 01-1.262-2.255c-.21-1.32.152-2.489.947-3.529.853-1.122 1.881-1.706 3.272-1.95 1.192-.21 2.314-.095 3.33.595.923.63 1.496 1.484 1.648 2.605.198 1.578-.257 2.863-1.344 3.962-.771.783-1.718 1.273-2.805 1.495-.315.06-.63.07-.934.106zm2.78-4.72c-.011-.153-.011-.27-.034-.387-.21-1.157-1.274-1.81-2.384-1.554-1.087.245-1.788.935-2.045 2.033-.21.912.234 1.835 1.075 2.21.643.28 1.285.244 1.905-.07.923-.48 1.425-1.228 1.484-2.233z"/></g>',graphql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEAF6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E10098" d="M12.002 0a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.54 4.931a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm0 9.862a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm-8.54 4.931a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.276zm-8.542-4.93a2.138 2.138 0 1 0 0 4.276 2.138 2.138 0 1 0 0-4.277zm0-9.863a2.138 2.138 0 1 0 0 4.277 2.138 2.138 0 1 0 0-4.277zm8.542-3.378L2.953 6.777v10.448l9.049 5.224 9.047-5.224V6.777zm0 1.601 7.66 13.27H4.34zm-1.387.371L3.97 15.037V7.363zm2.774 0 6.646 3.838v7.674zM5.355 17.44h13.293l-6.646 3.836z"/></g>',haskell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3F0F7" stroke="#E1D9EA" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#463B63" d="M0 110.2L30.1 65 0 19.9h22.6L52.7 65l-30.1 45.1H0z"/><path fill="#5E5187" d="M30.1 110.2L60.2 65 30.1 19.9h22.6l60.2 90.3H90.4L71.5 81.9l-18.8 28.2H30.1z"/><path fill="#904F8C" d="M102.9 83.8l-10-15.1H128v15.1h-25.1zM87.8 61.3l-10-15.1H128v15.1H87.8z"/></svg>',ini:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#6E7781"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">INI</text>',java:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F7FA" stroke="#D9E2E8" stroke-width=".5"/><svg x="2.5" y="2.5" width="15" height="15" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#0074BD" d="M47.617 98.12s-4.767 2.774 3.397 3.71c9.892 1.13 14.947.968 25.845-1.092 0 0 2.871 1.795 6.873 3.351-24.439 10.47-55.308-.607-36.115-5.969zm-2.988-13.665s-5.348 3.959 2.823 4.805c10.567 1.091 18.91 1.18 33.354-1.6 0 0 1.993 2.025 5.132 3.131-29.542 8.64-62.446.68-41.309-6.336z"/><path fill="#EA2D2E" d="M69.802 61.271c6.025 6.935-1.58 13.17-1.58 13.17s15.289-7.891 8.269-17.777c-6.559-9.215-11.587-13.792 15.635-29.58 0 .001-42.731 10.67-22.324 34.187z"/><path fill="#0074BD" d="M102.123 108.229s3.529 2.91-3.888 5.159c-14.102 4.272-58.706 5.56-71.094.171-4.451-1.938 3.899-4.625 6.526-5.192 2.739-.593 4.303-.485 4.303-.485-4.953-3.487-32.013 6.85-13.743 9.815 49.821 8.076 90.817-3.637 77.896-9.468zM49.912 70.294s-22.686 5.389-8.033 7.348c6.188.828 18.518.638 30.011-.326 9.39-.789 18.813-2.474 18.813-2.474s-3.308 1.419-5.704 3.053c-23.042 6.061-67.544 3.238-54.731-2.958 10.832-5.239 19.644-4.643 19.644-4.643zm40.697 22.747c23.421-12.167 12.591-23.86 5.032-22.285-1.848.385-2.677.72-2.677.72s.688-1.079 2-1.543c14.953-5.255 26.451 15.503-4.823 23.725 0-.002.359-.327.468-.617z"/><path fill="#EA2D2E" d="M76.491 1.587S89.459 14.563 64.188 34.51c-20.266 16.006-4.621 25.13-.007 35.559-11.831-10.673-20.509-20.07-14.688-28.815C58.041 28.42 81.722 22.195 76.491 1.587z"/><path fill="#0074BD" d="M52.214 126.021c22.476 1.437 57-.8 57.817-11.436 0 0-1.571 4.032-18.577 7.231-19.186 3.612-42.854 3.191-56.887.874 0 .001 2.875 2.381 17.647 3.331z"/></svg>',javascript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#F0DB4F" d="M1.408 1.408h125.184v125.185H1.408z"/><path fill="#323330" d="M116.347 96.736c-.917-5.711-4.641-10.508-15.672-14.981-3.832-1.761-8.104-3.022-9.377-5.926-.452-1.69-.512-2.642-.226-3.665.821-3.32 4.784-4.355 7.925-3.403 2.023.678 3.938 2.237 5.093 4.724 5.402-3.498 5.391-3.475 9.163-5.879-1.381-2.141-2.118-3.129-3.022-4.045-3.249-3.629-7.676-5.498-14.756-5.355l-3.688.477c-3.534.893-6.902 2.748-8.877 5.235-5.926 6.724-4.236 18.492 2.975 23.335 7.104 5.332 17.54 6.545 18.873 11.531 1.297 6.104-4.486 8.08-10.234 7.378-4.236-.881-6.592-3.034-9.139-6.949-4.688 2.713-4.688 2.713-9.508 5.485 1.143 2.499 2.344 3.63 4.26 5.795 9.068 9.198 31.76 8.746 35.83-5.176.165-.478 1.261-3.666.38-8.581zM69.462 58.943H57.753l-.048 30.272c0 6.438.333 12.34-.714 14.149-1.713 3.558-6.152 3.117-8.175 2.427-2.059-1.012-3.106-2.451-4.319-4.485-.333-.584-.583-1.036-.667-1.071l-9.52 5.83c1.583 3.249 3.915 6.069 6.902 7.901 4.462 2.678 10.459 3.499 16.731 2.059 4.082-1.189 7.604-3.652 9.448-7.401 2.666-4.915 2.094-10.864 2.07-17.444.06-10.735.001-21.468.001-32.237z"/></svg></g>',json:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F4F4F4" stroke="#DDDDDD" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><linearGradient id="__DSH_CODE_ICON_INSTANCE__a" x1="-670.564" x2="-583.105" y1="-280.831" y2="-368.306" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__a)" fill-rule="evenodd" d="M63.895 94.303c27.433 37.398 54.281-10.438 54.241-39.205-.046-34.012-34.518-53.021-54.263-53.021C32.182 2.077 2 28.269 2 64.105 2 103.937 36.596 126 63.873 126c-6.172-.889-26.742-5.296-27.019-52.674-.186-32.044 10.453-44.846 26.974-39.214.37.137 18.223 7.18 18.223 30.187 0 22.908-18.156 30.004-18.156 30.004z" clip-rule="evenodd"/><linearGradient id="__DSH_CODE_ICON_INSTANCE__b" x1="-579.148" x2="-666.607" y1="-364.34" y2="-276.873" gradientTransform="matrix(.9988 0 0 -.9987 689.011 -259.008)" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="1" stop-color="#fff"/></linearGradient><path fill="url(#__DSH_CODE_ICON_INSTANCE__b)" fill-rule="evenodd" d="M63.863 34.086C45.736 27.838 23.53 42.778 23.53 72.703 23.53 121.565 59.739 126 64.128 126 95.818 126 126 99.808 126 63.972 126 24.14 91.404 2.077 64.127 2.077c7.555-1.046 40.719 8.176 40.719 53.504 0 29.559-24.764 45.651-40.87 38.776-.37-.137-18.223-7.18-18.223-30.187 0-22.91 18.11-30.085 18.11-30.084z" clip-rule="evenodd"/></svg>',kotlin:'<defs><linearGradient id="__DSH_CODE_ICON_INSTANCE__k" x1="1" y1="19" x2="19" y2="1"><stop stop-color="#0095D5"/><stop offset=".5" stop-color="#7F52FF"/><stop offset="1" stop-color="#F88909"/></linearGradient></defs><rect x="1" y="1" width="18" height="18" rx="4" fill="url(#__DSH_CODE_ICON_INSTANCE__k)"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FFFFFF" d="M24 24H0V0h24L12 12Z"/></g>',lua:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECECF7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#000080" d="M.38 10.377l-.272-.037c-.048.344-.082.695-.101 1.041l.275.016c.018-.34.051-.682.098-1.02zM4.136 3.289l-.184-.205c-.258.232-.509.48-.746.734l.202.188c.231-.248.476-.49.728-.717zM5.769 2.059l-.146-.235c-.296.186-.586.385-.863.594l.166.219c.27-.203.554-.399.843-.578zM1.824 18.369c.185.297.384.586.593.863l.22-.164c-.205-.271-.399-.555-.58-.844l-.233.145zM1.127 16.402l-.255.104c.129.318.274.635.431.943l.005.01.245-.125-.005-.01c-.153-.301-.295-.611-.421-.922zM.298 9.309l.269.063c.076-.332.168-.664.272-.986l-.261-.087c-.108.332-.202.672-.28 1.01zM.274 12.42l-.275.01c.012.348.04.699.083 1.043l.273-.033c-.042-.336-.069-.68-.081-1.02zM.256 14.506c.073.34.162.682.264 1.014l.263-.08c-.1-.326-.187-.658-.258-.99l-.269.056zM11.573.275L11.563 0c-.348.012-.699.039-1.044.082l.034.273c.338-.041.68-.068 1.02-.08zM23.221 8.566c.1.326.186.66.256.992l.27-.059c-.072-.34-.16-.682-.262-1.014l-.264.081zM17.621 1.389c-.309-.164-.627-.314-.947-.449l-.107.252c.314.133.625.281.926.439l.128-.242zM15.693.572c-.332-.105-.67-.199-1.01-.277l-.063.268c.332.076.664.168.988.273l.085-.264zM6.674 1.545c.298-.15.606-.291.916-.418L7.486.873c-.317.127-.632.272-.937.428l-.015.008.125.244.015-.008zM23.727 11.588l.275-.01a11.797 11.797 0 0 0-.082-1.045l-.273.033c.041.338.068.682.08 1.022zM13.654.105c-.346-.047-.696-.08-1.043-.098l-.014.273c.339.018.683.051 1.019.098l.038-.273zM9.544.527l-.058-.27c-.34.072-.681.16-1.014.264l.081.262c.325-.099.659-.185.991-.256zM1.921 5.469l.231.15c.185-.285.384-.566.592-.834l-.217-.17c-.213.276-.417.563-.606.854zM.943 7.318l.253.107c.132-.313.28-.625.439-.924l-.243-.128c-.163.307-.314.625-.449.945zM18.223 21.943l.145.234c.295-.186.586-.385.863-.594l-.164-.219c-.272.204-.557.4-.844.579zM21.248 19.219l.217.17c.215-.273.418-.561.607-.854l-.23-.148c-.186.285-.385.564-.594.832zM19.855 20.715l.184.203c.258-.23.51-.479.746-.732l-.201-.188c-.23.248-.477.488-.729.717zM22.359 17.504l.244.129c.162-.307.314-.625.449-.945l-.254-.107a11.27 11.27 0 0 1-.439.923zM23.617 13.629l.273.039c.049-.346.082-.695.102-1.043l-.275-.014c-.018.338-.051.682-.1 1.018zM23.156 15.621l.264.086c.107-.332.201-.67.279-1.01l-.268-.063c-.077.333-.169.665-.275.987zM22.453 6.672c.154.303.297.617.424.932l.256-.104c-.131-.322-.277-.643-.436-.953l-.244.125zM8.296 23.418c.331.107.67.201 1.009.279l.062-.268c-.331-.076-.663-.168-.986-.273l-.085.262zM10.335 23.889c.345.049.696.082 1.043.102l.014-.275c-.339-.018-.682-.051-1.019-.098l-.038.271zM17.326 22.449c-.303.154-.613.297-.926.424l.104.256c.318-.131.639-.275.947-.434l.004-.002-.123-.246-.006.002zM4.613 21.467c.274.213.562.418.854.605l.149-.23c-.285-.184-.565-.385-.833-.592l-.17.217zM12.417 23.725l.009.275c.348-.014.699-.041 1.045-.084l-.035-.271c-.336.041-.68.068-1.019.08zM6.37 22.604c.307.162.625.314.946.449l.107-.254c-.313-.133-.624-.279-.924-.439l-.129.244zM3.083 20.041c.233.258.48.51.734.746l.188-.201c-.249-.23-.49-.477-.717-.729l-.205.184zM14.445 23.475l.059.27c.34-.074.68-.162 1.014-.266l-.082-.262c-.325.099-.659.185-.991.258zM21.18.129A2.689 2.689 0 1 0 21.18 5.507 2.689 2.689 0 1 0 21.18.129zM15.324 15.447c0 .471.314.66.852.66.67 0 1.297-.396 1.297-1.016v-.645c-.23.107-.379.141-1.107.24-.735.109-1.042.306-1.042.761zM12 2.818c-5.07 0-9.18 4.109-9.18 9.18 0 5.068 4.11 9.18 9.18 9.18 5.07 0 9.18-4.111 9.18-9.18 0-5.07-4.11-9.18-9.18-9.18zm-2.487 13.77H5.771v-6.023h.769v5.346h2.974v.677zm4.13 0h-.619v-.67c-.405.57-.811.793-1.446.793-.843 0-1.38-.463-1.38-1.182v-3.271h.686v3c0 .52.347.85.893.85.719 0 1.181-.578 1.181-1.461v-2.389h.686v4.33zm-.53-8.393c0-1.484 1.205-2.689 2.689-2.689s2.688 1.205 2.688 2.689-1.203 2.688-2.688 2.688-2.689-1.203-2.689-2.688zm5.567 7.856v.52c-.223.059-.33.074-.471.074-.34 0-.637-.238-.711-.57-.381.406-.918.637-1.471.637-.877 0-1.422-.463-1.422-1.248 0-.527.256-.916.76-1.123.266-.107.414-.141 1.389-.264.545-.066.719-.191.719-.48v-.182c0-.412-.348-.645-.967-.645-.645 0-.957.24-1.016.77h-.693c.041-1 .686-1.404 1.734-1.404 1.066 0 1.627.412 1.627 1.182v2.412c0 .215.133.338.373.338.041-.002.074-.002.149-.017z"/></g>',makefile:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#427819"/><path fill="#fff" d="m5 4.5 2.3 2.3 2.3-2.3L11 5.9 8.7 8.2l2.4 2.4L9.7 12l-2.4-2.4L5 11.9 3.6 10.5l2.3-2.3-2.3-2.3zm7 6.5h4v1.5h-4zm0 2.8h4v1.5h-4z"/>',node:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EDF7EA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#539E43" d="M11.998,24c-0.321,0-0.641-0.084-0.922-0.247l-2.936-1.737c-0.438-0.245-0.224-0.332-0.08-0.383 c0.585-0.203,0.703-0.25,1.328-0.604c0.065-0.037,0.151-0.023,0.218,0.017l2.256,1.339c0.082,0.045,0.197,0.045,0.272,0l8.795-5.076 c0.082-0.047,0.134-0.141,0.134-0.238V6.921c0-0.099-0.053-0.192-0.137-0.242l-8.791-5.072c-0.081-0.047-0.189-0.047-0.271,0 L3.075,6.68C2.99,6.729,2.936,6.825,2.936,6.921v10.15c0,0.097,0.054,0.189,0.139,0.235l2.409,1.392 c1.307,0.654,2.108-0.116,2.108-0.89V7.787c0-0.142,0.114-0.253,0.256-0.253h1.115c0.139,0,0.255,0.112,0.255,0.253v10.021 c0,1.745-0.95,2.745-2.604,2.745c-0.508,0-0.909,0-2.026-0.551L2.28,18.675c-0.57-0.329-0.922-0.945-0.922-1.604V6.921 c0-0.659,0.353-1.275,0.922-1.603l8.795-5.082c0.557-0.315,1.296-0.315,1.848,0l8.794,5.082c0.57,0.329,0.924,0.944,0.924,1.603 v10.15c0,0.659-0.354,1.273-0.924,1.604l-8.794,5.078C12.643,23.916,12.324,24,11.998,24z M19.099,13.993 c0-1.9-1.284-2.406-3.987-2.763c-2.731-0.361-3.009-0.548-3.009-1.187c0-0.528,0.235-1.233,2.258-1.233 c1.807,0,2.473,0.389,2.747,1.607c0.024,0.115,0.129,0.199,0.247,0.199h1.141c0.071,0,0.138-0.031,0.186-0.081 c0.048-0.054,0.074-0.123,0.067-0.196c-0.177-2.098-1.571-3.076-4.388-3.076c-2.508,0-4.004,1.058-4.004,2.833 c0,1.925,1.488,2.457,3.895,2.695c2.88,0.282,3.103,0.703,3.103,1.269c0,0.983-0.789,1.402-2.642,1.402 c-2.327,0-2.839-0.584-3.011-1.742c-0.02-0.124-0.126-0.215-0.253-0.215h-1.137c-0.141,0-0.254,0.112-0.254,0.253 c0,1.482,0.806,3.248,4.655,3.248C17.501,17.007,19.099,15.91,19.099,13.993z"/></g>',"objective-c":'<rect x="1" y="1" width="18" height="18" rx="4" fill="#438EFF"/><text x="10" y="13.2" text-anchor="middle" font-family="Arial,sans-serif" font-size="7.2" font-weight="800" fill="#fff">OC</text>',perl:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF2F7" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#0073A1" d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0m.157 1.103a10.91 10.91 0 0 1 9.214 5.404c-1.962.152-3.156 1.698-5.132 3.553-2.81 2.637-4.562.582-5.288-.898-.447-1.004-.847-2.117-1.544-2.769A.4.4 0 0 1 9.3 6.02l.08-.37a.083.083 0 0 0-.074-.1c-.33-.022-.601.093-.84.368a2.5 2.5 0 0 0-.375-.064c-.863-.093-1.036.345-1.873.345H5.81c-.758 0-1.391.361-1.7.892-.248.424-.257.884.15.93-.126.445.292.62 1.224.192 0 0 .733.421 1.749.421.549 0 .712.087.914.967.486 2.138 2.404 5.655 6.282 5.655l.118.166c.659.934.86 2.113.48 3.184-.307.867-.697 1.531-.697 1.531q.01.178.01.349c0 .81-.175 1.553-.387 2.23a10.91 10.91 0 0 1-11.989-6.342A10.91 10.91 0 0 1 7.608 2.01a10.9 10.9 0 0 1 4.55-.907M7.524 6.47c.288 0 .575.231.477.272a.4.4 0 0 1-.1.02.38.38 0 0 1-.375.327.384.384 0 0 1-.378-.326.4.4 0 0 1-.101-.02c-.098-.042.19-.273.477-.273m10.193 10.49q.05 0 .101.007.326.054.694.096.135.01.269.026a13.4 13.4 0 0 0 2.846-.007 10.9 10.9 0 0 1-2.007 2.705c-.11-.23-.547-1.19-.573-2.196q-.156-.01-.313-.026-.13-.014-.256-.022a18 18 0 0 1-.735-.102h-.003c-.032 0-.06.01-.074.035l-.003.012q-.081.265-.182.544c.428 1.084.652 2.078.652 2.078.14.22.258.432.363.64a11 11 0 0 1-2.168 1.264 11 11 0 0 1-1.205.426 13.3 13.3 0 0 1 1.055-2.531s.678-1.445 1.027-2.564v-.004a.55.55 0 0 1 .512-.38"/></g>',php:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0EFF8" stroke="#DDDCEB" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#777BB4" d="M7.01 10.207h-.944l-.515 2.648h.838c.556 0 .97-.105 1.242-.314.272-.21.455-.559.55-1.049.092-.47.05-.802-.124-.995-.175-.193-.523-.29-1.047-.29zM12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12c0-3.486-5.373-6.312-12-6.312zm-3.26 7.451c-.261.25-.575.438-.917.551-.336.108-.765.164-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65c.797 0 1.378.209 1.744.628.366.418.476 1.002.33 1.752a2.836 2.836 0 0 1-.305.847c-.143.255-.33.49-.561.703zm4.024.715l.543-2.799c.063-.318.039-.536-.068-.651-.107-.116-.336-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218c.767 0 1.295.134 1.586.401s.378.7.263 1.299l-.572 2.944h-1.389zm7.597-2.265a2.782 2.782 0 0 1-.305.847c-.143.255-.33.49-.561.703a2.44 2.44 0 0 1-.917.551c-.336.108-.765.164-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649c.797 0 1.378.209 1.744.628.366.417.477 1.001.331 1.751zM17.766 10.207h-.943l-.516 2.648h.838c.557 0 .971-.105 1.242-.314.272-.21.455-.559.551-1.049.092-.47.049-.802-.125-.995s-.524-.29-1.047-.29z"/></g>',powershell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#2671BE"/><path fill="#fff" fill-opacity=".16" d="M5.5 4h11l-3.5 12H2z"/><path d="m6.5 6.5 3 3-4.2 3.2m4 1h4" fill="none" stroke="#fff" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>',protobuf:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#4285F4"/><path fill="none" stroke="#fff" stroke-width="1.2" stroke-linejoin="round" d="m10 3.5 6 3.3v6.4l-6 3.3-6-3.3V6.8z"/><path fill="#fff" d="M6.5 6.5h4.4c2.3 0 3.6 1.2 3.6 3.1s-1.3 3.1-3.6 3.1H9v2H6.5zM9 8.4v2.4h1.6c.8 0 1.2-.4 1.2-1.2s-.4-1.2-1.2-1.2z"/>',python:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F2F4F7" stroke="#D5DBE5" stroke-width=".5"/><g transform="matrix(.126 0 0 .126 2.30 2.24)"><path fill="#3776AB" d="M 60.510156,6.3979729 C 55.926503,6.4192712 51.549217,6.8101906 47.697656,7.4917229 C 36.35144,9.4962267 34.291407,13.691825 34.291406,21.429223 L 34.291406,31.647973 L 61.103906,31.647973 L 61.103906,35.054223 L 34.291406,35.054223 L 24.228906,35.054223 C 16.436447,35.054223 9.6131468,39.73794 7.4789058,48.647973 C 5.0170858,58.860939 4.9078907,65.233996 7.4789058,75.897973 C 9.3848341,83.835825 13.936449,89.491721 21.728906,89.491723 L 30.947656,89.491723 L 30.947656,77.241723 C 30.947656,68.391821 38.6048,60.585475 47.697656,60.585473 L 74.478906,60.585473 C 81.933857,60.585473 87.885159,54.447309 87.885156,46.960473 L 87.885156,21.429223 C 87.885156,14.162884 81.755176,8.7044455 74.478906,7.4917229 C 69.872919,6.7249976 65.093809,6.3766746 60.510156,6.3979729 z M 46.010156,14.616723 C 48.779703,14.616723 51.041406,16.915369 51.041406,19.741723 C 51.041404,22.558059 48.779703,24.835473 46.010156,24.835473 C 43.23068,24.835472 40.978906,22.558058 40.978906,19.741723 C 40.978905,16.91537 43.23068,14.616723 46.010156,14.616723 z "/><path fill="#FFD43B" d="M 91.228906,35.054223 L 91.228906,46.960473 C 91.228906,56.191228 83.403011,63.960472 74.478906,63.960473 L 47.697656,63.960473 C 40.361823,63.960473 34.291407,70.238956 34.291406,77.585473 L 34.291406,103.11672 C 34.291406,110.38306 40.609994,114.65704 47.697656,116.74172 C 56.184987,119.23733 64.323893,119.68835 74.478906,116.74172 C 81.229061,114.78733 87.885159,110.85411 87.885156,103.11672 L 87.885156,92.897973 L 61.103906,92.897973 L 61.103906,89.491723 L 87.885156,89.491723 L 101.29141,89.491723 C 109.08387,89.491723 111.98766,84.056315 114.69765,75.897973 C 117.49698,67.499087 117.37787,59.422197 114.69765,48.647973 C 112.77187,40.890532 109.09378,35.054223 101.29141,35.054223 L 91.228906,35.054223 z M 76.166406,99.710473 C 78.945884,99.710476 81.197656,101.98789 81.197656,104.80422 C 81.197654,107.63057 78.945881,109.92922 76.166406,109.92922 C 73.396856,109.92922 71.135156,107.63057 71.135156,104.80422 C 71.135158,101.98789 73.396853,99.710473 76.166406,99.710473 z "/></g>',r:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EEF2F6" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#276DC3" d="M12 2.746c-6.627 0-12 3.599-12 8.037 0 3.897 4.144 7.144 9.64 7.88V16.26c-2.924-.915-4.925-2.755-4.925-4.877 0-3.035 4.084-5.494 9.12-5.494 5.038 0 8.757 1.683 8.757 5.494 0 1.976-.999 3.379-2.662 4.272.09.066.174.128.258.216.169.149.25.363.372.544 2.128-1.45 3.44-3.437 3.44-5.631 0-4.44-5.373-8.038-12-8.038zm-2.111 4.99v13.516l4.093-.002-.002-5.291h1.1c.225 0 .321.066.549.25.272.22.715.982.715.982l2.164 4.063 4.627-.002-2.864-4.826s-.086-.193-.265-.383a2.22 2.22 0 00-.582-.416c-.422-.214-1.149-.434-1.149-.434s3.578-.264 3.578-3.826c0-3.562-3.744-3.63-3.744-3.63zm4.127 2.93l2.478.002s1.149-.062 1.149 1.127c0 1.165-1.149 1.17-1.149 1.17h-2.478zm1.754 6.119c-.494.049-1.012.079-1.54.088v1.807a16.622 16.622 0 002.37-.473l-.471-.891s-.108-.183-.248-.394c-.039-.054-.08-.098-.111-.137z"/></g>',react:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#20232A"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#61DAFB" d="M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"/></g>',ruby:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEDEC" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#CC342D" d="M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073l-.003.01zM0 19.089zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75l.003-.003z"/></g>',rust:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F3E6DD" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#2B2B2B" d="M23.8346 11.7033l-1.0073-.6236a13.7268 13.7268 0 00-.0283-.2936l.8656-.8069a.3483.3483 0 00-.1154-.578l-1.1066-.414a8.4958 8.4958 0 00-.087-.2856l.6904-.9587a.3462.3462 0 00-.2257-.5446l-1.1663-.1894a9.3574 9.3574 0 00-.1407-.2622l.49-1.0761a.3437.3437 0 00-.0274-.3361.3486.3486 0 00-.3006-.154l-1.1845.0416a6.7444 6.7444 0 00-.1873-.2268l.2723-1.153a.3472.3472 0 00-.417-.4172l-1.1532.2724a14.0183 14.0183 0 00-.2278-.1873l.0415-1.1845a.3442.3442 0 00-.49-.328l-1.076.491c-.0872-.0476-.1742-.0952-.2623-.1407l-.1903-1.1673A.3483.3483 0 0016.256.955l-.9597.6905a8.4867 8.4867 0 00-.2855-.086l-.414-1.1066a.3483.3483 0 00-.5781-.1154l-.8069.8666a9.2936 9.2936 0 00-.2936-.0284L12.2946.1683a.3462.3462 0 00-.5892 0l-.6236 1.0073a13.7383 13.7383 0 00-.2936.0284L9.9803.3374a.3462.3462 0 00-.578.1154l-.4141 1.1065c-.0962.0274-.1903.0567-.2855.086L7.744.955a.3483.3483 0 00-.5447.2258L7.009 2.348a9.3574 9.3574 0 00-.2622.1407l-1.0762-.491a.3462.3462 0 00-.49.328l.0416 1.1845a7.9826 7.9826 0 00-.2278.1873L3.8413 3.425a.3472.3472 0 00-.4171.4171l.2713 1.1531c-.0628.075-.1255.1509-.1863.2268l-1.1845-.0415a.3462.3462 0 00-.328.49l.491 1.0761a9.167 9.167 0 00-.1407.2622l-1.1662.1894a.3483.3483 0 00-.2258.5446l.6904.9587a13.303 13.303 0 00-.087.2855l-1.1065.414a.3483.3483 0 00-.1155.5781l.8656.807a9.2936 9.2936 0 00-.0283.2935l-1.0073.6236a.3442.3442 0 000 .5892l1.0073.6236c.008.0982.0182.1964.0283.2936l-.8656.8079a.3462.3462 0 00.1155.578l1.1065.4141c.0273.0962.0567.1914.087.2855l-.6904.9587a.3452.3452 0 00.2268.5447l1.1662.1893c.0456.088.0922.1751.1408.2622l-.491 1.0762a.3462.3462 0 00.328.49l1.1834-.0415c.0618.0769.1235.1528.1873.2277l-.2713 1.1541a.3462.3462 0 00.4171.4161l1.153-.2713c.075.0638.151.1255.2279.1863l-.0415 1.1845a.3442.3442 0 00.49.327l1.0761-.49c.087.0486.1741.0951.2622.1407l.1903 1.1662a.3483.3483 0 00.5447.2268l.9587-.6904a9.299 9.299 0 00.2855.087l.414 1.1066a.3452.3452 0 00.5781.1154l.8079-.8656c.0972.0111.1954.0203.2936.0294l.6236 1.0073a.3472.3472 0 00.5892 0l.6236-1.0073c.0982-.0091.1964-.0183.2936-.0294l.8069.8656a.3483.3483 0 00.578-.1154l.4141-1.1066a8.4626 8.4626 0 00.2855-.087l.9587.6904a.3452.3452 0 00.5447-.2268l.1903-1.1662c.088-.0456.1751-.0931.2622-.1407l1.0762.49a.3472.3472 0 00.49-.327l-.0415-1.1845a6.7267 6.7267 0 00.2267-.1863l1.1531.2713a.3472.3472 0 00.4171-.416l-.2713-1.1542c.0628-.0749.1255-.1508.1863-.2278l1.1845.0415a.3442.3442 0 00.328-.49l-.49-1.076c.0475-.0872.0951-.1742.1407-.2623l1.1662-.1893a.3483.3483 0 00.2258-.5447l-.6904-.9587.087-.2855 1.1066-.414a.3462.3462 0 00.1154-.5781l-.8656-.8079c.0101-.0972.0202-.1954.0283-.2936l1.0073-.6236a.3442.3442 0 000-.5892zm-6.7413 8.3551a.7138.7138 0 01.2986-1.396.714.714 0 11-.2997 1.396zm-.3422-2.3142a.649.649 0 00-.7715.5l-.3573 1.6685c-1.1035.501-2.3285.7795-3.6193.7795a8.7368 8.7368 0 01-3.6951-.814l-.3574-1.6684a.648.648 0 00-.7714-.499l-1.473.3158a8.7216 8.7216 0 01-.7613-.898h7.1676c.081 0 .1356-.0141.1356-.088v-2.536c0-.074-.0536-.0881-.1356-.0881h-2.0966v-1.6077h2.2677c.2065 0 1.1065.0587 1.394 1.2088.0901.3533.2875 1.5044.4232 1.8729.1346.413.6833 1.2381 1.2685 1.2381h3.5716a.7492.7492 0 00.1296-.0131 8.7874 8.7874 0 01-.8119.9526zM6.8369 20.024a.714.714 0 11-.2997-1.396.714.714 0 01.2997 1.396zM4.1177 8.9972a.7137.7137 0 11-1.304.5791.7137.7137 0 011.304-.579zm-.8352 1.9813l1.5347-.6824a.65.65 0 00.33-.8585l-.3158-.7147h1.2432v5.6025H3.5669a8.7753 8.7753 0 01-.2834-3.348zm6.7343-.5437V8.7836h2.9601c.153 0 1.0792.1772 1.0792.8697 0 .575-.7107.7815-1.2948.7815zm10.7574 1.4862c0 .2187-.008.4363-.0243.651h-.9c-.09 0-.1265.0586-.1265.1477v.413c0 .973-.5487 1.1846-1.0296 1.2382-.4576.0517-.9648-.1913-1.0275-.4717-.2704-1.5186-.7198-1.8436-1.4305-2.4034.8817-.5599 1.799-1.386 1.799-2.4915 0-1.1936-.819-1.9458-1.3769-2.3153-.7825-.5163-1.6491-.6195-1.883-.6195H5.4682a8.7651 8.7651 0 014.907-2.7699l1.0974 1.151a.648.648 0 00.9182.0213l1.227-1.1743a8.7753 8.7753 0 016.0044 4.2762l-.8403 1.8982a.652.652 0 00.33.8585l1.6178.7188c.0283.2875.0425.577.0425.8717zm-9.3006-9.5993a.7128.7128 0 11.984 1.0316.7137.7137 0 01-.984-1.0316zm8.3389 6.71a.7107.7107 0 01.9395-.3625.7137.7137 0 11-.9405.3635z"/></g>',scala:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCECEB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#DC322F" d="M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912V24zM4.589 16.365c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912v5.817zM4.589 8.729c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912v5.817z"/></g>',shell:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#303642"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#7EE787" d="M21.038,4.9l-7.577-4.498C13.009,0.134,12.505,0,12,0c-0.505,0-1.009,0.134-1.462,0.403L2.961,4.9 C2.057,5.437,1.5,6.429,1.5,7.503v8.995c0,1.073,0.557,2.066,1.462,2.603l7.577,4.497C10.991,23.866,11.495,24,12,24 c0.505,0,1.009-0.134,1.461-0.402l7.577-4.497c0.904-0.537,1.462-1.529,1.462-2.603V7.503C22.5,6.429,21.943,5.437,21.038,4.9z M15.17,18.946l0.013,0.646c0.001,0.078-0.05,0.167-0.111,0.198l-0.383,0.22c-0.061,0.031-0.111-0.007-0.112-0.085L14.57,19.29 c-0.328,0.136-0.66,0.169-0.872,0.084c-0.04-0.016-0.057-0.075-0.041-0.142l0.139-0.584c0.011-0.046,0.036-0.092,0.069-0.121 c0.012-0.011,0.024-0.02,0.036-0.026c0.022-0.011,0.043-0.014,0.062-0.006c0.229,0.077,0.521,0.041,0.802-0.101 c0.357-0.181,0.596-0.545,0.592-0.907c-0.003-0.328-0.181-0.465-0.613-0.468c-0.55,0.001-1.064-0.107-1.072-0.917 c-0.007-0.667,0.34-1.361,0.889-1.8l-0.007-0.652c-0.001-0.08,0.048-0.168,0.111-0.2l0.37-0.236 c0.061-0.031,0.111,0.007,0.112,0.087l0.006,0.653c0.273-0.109,0.511-0.138,0.726-0.088c0.047,0.012,0.067,0.076,0.048,0.151 l-0.144,0.578c-0.011,0.044-0.036,0.088-0.065,0.116c-0.012,0.012-0.025,0.021-0.038,0.028c-0.019,0.01-0.038,0.013-0.057,0.009 c-0.098-0.022-0.332-0.073-0.699,0.113c-0.385,0.195-0.52,0.53-0.517,0.778c0.003,0.297,0.155,0.387,0.681,0.396 c0.7,0.012,1.003,0.318,1.01,1.023C16.105,17.747,15.736,18.491,15.17,18.946z M19.143,17.859c0,0.06-0.008,0.116-0.058,0.145 l-1.916,1.164c-0.05,0.029-0.09,0.004-0.09-0.056v-0.494c0-0.06,0.037-0.093,0.087-0.122l1.887-1.129 c0.05-0.029,0.09-0.004,0.09,0.056V17.859z M20.459,6.797l-7.168,4.427c-0.894,0.523-1.553,1.109-1.553,2.187v8.833 c0,0.645,0.26,1.063,0.66,1.184c-0.131,0.023-0.264,0.039-0.398,0.039c-0.42,0-0.833-0.114-1.197-0.33L3.226,18.64 c-0.741-0.44-1.201-1.261-1.201-2.142V7.503c0-0.881,0.46-1.702,1.201-2.142l7.577-4.498c0.363-0.216,0.777-0.33,1.197-0.33 c0.419,0,0.833,0.114,1.197,0.33l7.577,4.498c0.624,0.371,1.046,1.013,1.164,1.732C21.686,6.557,21.12,6.411,20.459,6.797z"/></g>',solidity:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F0F0F0" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#363636" d="M4.409 6.608L7.981.255l3.572 6.353H4.409zM8.411 0l3.569 6.348L15.552 0H8.411zm4.036 17.392l3.572 6.354 3.575-6.354h-7.147zm-.608-10.284h-7.43l3.715 6.605 3.715-6.605zm.428-.25h7.428L15.982.255l-3.715 6.603zM15.589 24l-3.569-6.349L8.448 24h7.141zm-3.856-6.858H4.306l3.712 6.603 3.715-6.603zm.428-.25h7.433l-3.718-6.605-3.715 6.605z"/></g>',sql:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#336791"/><ellipse cx="10" cy="5.5" rx="5.8" ry="2.1" fill="#fff"/><path fill="#fff" fill-opacity=".88" d="M4.2 5.5v8.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1V5.5c0 1.2-2.6 2.1-5.8 2.1s-5.8-.9-5.8-2.1z"/><path d="M4.2 9.2c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1M4.2 12.9c0 1.2 2.6 2.1 5.8 2.1s5.8-.9 5.8-2.1" fill="none" stroke="#336791" stroke-opacity=".7" stroke-width=".7"/>',svelte:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF0EB" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#FF3E00" d="M10.354 21.125a4.44 4.44 0 0 1-4.765-1.767 4.109 4.109 0 0 1-.703-3.107 3.898 3.898 0 0 1 .134-.522l.105-.321.287.21a7.21 7.21 0 0 0 2.186 1.092l.208.063-.02.208a1.253 1.253 0 0 0 .226.83 1.337 1.337 0 0 0 1.435.533 1.231 1.231 0 0 0 .343-.15l5.59-3.562a1.164 1.164 0 0 0 .524-.778 1.242 1.242 0 0 0-.211-.937 1.338 1.338 0 0 0-1.435-.533 1.23 1.23 0 0 0-.343.15l-2.133 1.36a4.078 4.078 0 0 1-1.135.499 4.44 4.44 0 0 1-4.765-1.766 4.108 4.108 0 0 1-.702-3.108 3.855 3.855 0 0 1 1.742-2.582l5.589-3.563a4.072 4.072 0 0 1 1.135-.499 4.44 4.44 0 0 1 4.765 1.767 4.109 4.109 0 0 1 .703 3.107 3.943 3.943 0 0 1-.134.522l-.105.321-.286-.21a7.204 7.204 0 0 0-2.187-1.093l-.208-.063.02-.207a1.255 1.255 0 0 0-.226-.831 1.337 1.337 0 0 0-1.435-.532 1.231 1.231 0 0 0-.343.15L8.62 9.368a1.162 1.162 0 0 0-.524.778 1.24 1.24 0 0 0 .211.937 1.338 1.338 0 0 0 1.435.533 1.235 1.235 0 0 0 .344-.151l2.132-1.36a4.067 4.067 0 0 1 1.135-.498 4.44 4.44 0 0 1 4.765 1.766 4.108 4.108 0 0 1 .702 3.108 3.857 3.857 0 0 1-1.742 2.583l-5.589 3.562a4.072 4.072 0 0 1-1.135.499m10.358-17.95C18.484-.015 14.082-.96 10.9 1.068L5.31 4.63a6.412 6.412 0 0 0-2.896 4.295 6.753 6.753 0 0 0 .666 4.336 6.43 6.43 0 0 0-.96 2.396 6.833 6.833 0 0 0 1.168 5.167c2.229 3.19 6.63 4.135 9.812 2.108l5.59-3.562a6.41 6.41 0 0 0 2.896-4.295 6.756 6.756 0 0 0-.665-4.336 6.429 6.429 0 0 0 .958-2.396 6.831 6.831 0 0 0-1.167-5.168Z"/></g>',swift:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#f05138" d="M126.33 34.06a39.32 39.32 0 00-.79-7.83 28.78 28.78 0 00-2.65-7.58 28.84 28.84 0 00-4.76-6.32 23.42 23.42 0 00-6.62-4.55 27.27 27.27 0 00-7.68-2.53c-2.65-.51-5.56-.51-8.21-.76H30.25a45.46 45.46 0 00-6.09.51 21.82 21.82 0 00-5.82 1.52c-.53.25-1.32.51-1.85.76a33.82 33.82 0 00-5 3.28c-.53.51-1.06.76-1.59 1.26a22.41 22.41 0 00-4.76 6.32 23.61 23.61 0 00-2.65 7.58 78.5 78.5 0 00-.79 7.83v60.39a39.32 39.32 0 00.79 7.83 28.78 28.78 0 002.65 7.58 28.84 28.84 0 004.76 6.32 23.42 23.42 0 006.62 4.55 27.27 27.27 0 007.68 2.53c2.65.51 5.56.51 8.21.76h63.22a45.08 45.08 0 008.21-.76 27.27 27.27 0 007.68-2.53 30.13 30.13 0 006.62-4.55 22.41 22.41 0 004.76-6.32 23.61 23.61 0 002.65-7.58 78.49 78.49 0 00.79-7.83V34.06z"/><path fill="#fefefe" d="M85 96.5c-11.11 6.13-26.38 6.76-41.75.47A64.53 64.53 0 0113.84 73a50 50 0 0010.85 6.32c15.87 7.1 31.73 6.61 42.9 0-15.9-11.66-29.4-26.82-39.46-39.2a43.47 43.47 0 01-5.29-6.82c12.16 10.61 31.5 24 38.38 27.79a271.77 271.77 0 01-27-32.34 266.8 266.8 0 0044.47 34.87c.71.38 1.26.7 1.7 1a32.7 32.7 0 001.21-3.51c3.71-12.89-.53-27.54-9.79-39.67C93.25 33.81 106 57.05 100.66 76.51c-.14.53-.29 1-.45 1.55l.19.22c10.59 12.63 7.68 26 6.35 23.5C101 91 90.37 94.33 85 96.5z"/></svg></g>',toml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#F6EEEA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#9C4121" d="M.014 0h5.34v2.652H2.888v18.681h2.468V24H.015V0Zm17.622 5.049v2.78h-4.274v12.935h-3.008V7.83H6.059V5.05h11.577ZM23.986 24h-5.34v-2.652h2.467V2.667h-2.468V0h5.34v24Z"/></g>',typescript:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#fff" d="M22.67 47h99.67v73.67H22.67z"/><path data-name="original" fill="#007acc" d="M1.5 63.91v62.5h125v-125H1.5zm100.73-5a15.56 15.56 0 017.82 4.5 20.58 20.58 0 013 4c0 .16-5.4 3.81-8.69 5.85-.12.08-.6-.44-1.13-1.23a7.09 7.09 0 00-5.87-3.53c-3.79-.26-6.23 1.73-6.21 5a4.58 4.58 0 00.54 2.34c.83 1.73 2.38 2.76 7.24 4.86 8.95 3.85 12.78 6.39 15.16 10 2.66 4 3.25 10.46 1.45 15.24-2 5.2-6.9 8.73-13.83 9.9a38.32 38.32 0 01-9.52-.1 23 23 0 01-12.72-6.63c-1.15-1.27-3.39-4.58-3.25-4.82a9.34 9.34 0 011.15-.73L82 101l3.59-2.08.75 1.11a16.78 16.78 0 004.74 4.54c4 2.1 9.46 1.81 12.16-.62a5.43 5.43 0 00.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48 16.48 0 01-3.43-6.25 25 25 0 01-.22-8c1.33-6.23 6-10.58 12.82-11.87a31.66 31.66 0 019.49.26zm-29.34 5.24v5.12H56.66v46.23H45.15V69.26H28.88v-5a49.19 49.19 0 01.12-5.17C29.08 59 39 59 51 59h21.83z"/></svg></g>',vue:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#ECF8F3" stroke="#D5EAE0" stroke-width=".5"/><path fill="#41B883" d="M3.5 5h3.2l3.3 5.7L13.3 5h3.2L10 16z"/><path fill="#35495E" d="M6.7 5H9l1 1.8L11 5h2.3L10 10.7z"/>',wasm:'<defs><clipPath id="__DSH_CODE_ICON_INSTANCE__a"><rect x="1" y="1" width="18" height="18" rx="4"/></clipPath></defs><g clip-path="url(#__DSH_CODE_ICON_INSTANCE__a)"><svg x="1" y="1" width="18" height="18" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet"><path fill="#654ff0" d="M.223.222v127.555h127.555V.222H78.594c.014.227.036.455.036.686 0 8.08-6.55 14.626-14.63 14.626-8.078 0-14.625-6.546-14.625-14.626 0-.231.022-.459.031-.686zm29.595 68.746h8.445l5.782 30.738h.107l6.968-30.738h7.908l6.265 31.119h.106l6.597-31.119h8.284l-10.765 45.156H61.12l-6.213-30.738H54.8l-6.7 30.738h-8.557zm59.994 0h13.334l13.284 45.156h-8.77l-2.879-10.051H89.59l-2.212 10.05h-8.5ZM94.895 80.1l-3.684 16.57h11.473L98.448 80.1Z"/></svg></g>',xml:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#EAF3FA" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#005FAD" d="M4.345 7.053c-.495.02-.44.725-.536 1.081-.157.583-.3 1.325-.347 1.926-.046.585-.008 1.127.066 1.719.058.46.191.767.07.89-.108.11-3.216 2.962-3.466 3.123-.26.169-.08.584.069.817.157.246.23.373.557.33.306-.042.405-.409.583-.606.228-.252 2.421-2.401 2.616-2.401.077.544.367 1.064.67 1.513.15.222.314.439.505.629.175.175.4.317.587.45.44.024.795-.301.35-.67-.17-.14-.735-.971-.927-1.43-.18-.43-.574-1.076-.146-1.428 1.494-1.23 3.72-2.262 4.247-2.313-.257 1.024-1.356 3.048-1.757 4.012-.14.333-.231.732-.185 1.094.055.434.383.774.587.806.417-.023.7-.387.946-.645.343-.357.634-.685.974-1.043.339-.356.672-.731.971-1.07.184-.207.674-.713.963-.713-.11.693-.716 1.552-.839 2.254-.125.716.531 1.596 1.217.956.623-.58 1.255-1.129 1.867-1.72.217-.208.175.037.224.242.05.208.176.91.275 1.1.18.346.496.592.897.598.362.006.727-.161.982-.414.19-.187.513-.699.154-.832-.23-.086-.217-.176-.495-.129-.172.029-.362.074-.507.179-.367-.003-.381-.89-.324-1.161.068-.327.207-.659.185-.998-.026-.418-.478-.69-.582-.72-.156-.076-.253.023-.458.212-.173.161-.363.332-.535.495-.34.322-.768.813-.942.813.305-.705.708-2.652-.643-2.48-.563.071-.95.377-1.394.71-.29.28-.683.641-.936.87-.236.216-.371.404-.496.404.132-.747 1.685-3.167.885-3.853-.158-.136-.313-.325-.515-.349a4.637 4.637 0 0 0-.833.19c-.565.18-2.78 1.28-4.19 2.289-.131.094-.214-.085-.231-.29-.087-1.058.199-2.19.496-3.188.208-.696-.557-1.225-.659-1.249zm18.177.874c-.166.364-.2.894-.248 1.319a24.307 24.307 0 0 0-1.246-.115c.238.296.691.588 1.056.724-.048.366-.434.67-.599 1.021.458-.127.676-.47.989-.821.362.22.791.627 1.26.636-.177-.376-.334-.695-.658-.966.269-.175.717-.362.924-.633-.345-.074-.718-.093-1.052-.015-.258-.284-.3-.772-.426-1.15zm-2.92.079c-.23.02-.613.49-.832.773-.807 1.039-1.542 3.15-1.661 3.542-.363 1.195-.502 2.672.28 3.722.456.612 1.258.66 2.041.434.405-.116.812-.406.95-.723.114-.263.174-.753-.404-.38-.224.145-.634.304-1.37.291-.247-.004-.651-.357-.76-.722-.192-.595-.11-1.393-.11-1.393.167-1.028.642-2.146 1.061-3.076.163-.36.658-1.259.842-1.546 0 0 .239-.373.131-.77-.031-.116-.091-.16-.168-.152zm3.072 2.976c-.12.264-.144.648-.18.956-.274-.031-.63-.066-.904-.083.172.215.501.426.766.525-.034.265-.314.486-.434.741.332-.092.49-.34.717-.596.263.16.575.456.914.462-.127-.273-.242-.504-.477-.701.195-.127.52-.262.67-.46a1.77 1.77 0 0 0-.763-.01c-.187-.206-.217-.56-.309-.834zm-1.123 2.422c-.083.183-.1.449-.125.662a12.6 12.6 0 0 0-.624-.058c.119.148.346.295.53.363-.025.184-.219.336-.301.513.23-.064.339-.236.496-.413.181.11.397.316.632.32-.088-.19-.168-.349-.33-.485.135-.087.36-.181.463-.317a1.22 1.22 0 0 0-.527-.008c-.13-.142-.151-.387-.214-.576z"/></g>',yaml:`<rect x="1" y="1" width="18" height="18" rx="4" fill="#FCEEEF" stroke="#F0D8DB" stroke-width=".5"/><svg x="2.75" y="2.75" width="14.5" height="14.5" viewBox="0 0 128 128" preserveAspectRatio="xMidYMid meet">
|
|
135
135
|
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.702 137.67 0 0 63.25 0 119.02 88.646 175.24 0 235.79 0 143.98 137.67 143.98 224.95 87.702 224.95"/>
|
|
136
136
|
<path d="m82.428 49.149h-25.266l-5.1388 12.408h-11.188l23.659-55.798h11.444l22.699 55.798h-11.956l-4.2525-12.408zm-4.197-11.14-7.7455-20.476-8.6412 20.476z" fill="#cb171e"/>
|
|
137
137
|
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="87.701 250.18 87.701 470.65 135 470.65 135 318.57 184.51 420.79 221.74 420.79 272.94 314.98 272.94 470.6 318.32 470.6 318.32 250.18 256.36 250.18 201.38 349.88 149.02 250.18"/>
|
|
138
138
|
<polygon transform="matrix(.24805 0 0 .24805 .5 5.6287)" points="512 422.74 512 422.74 395.64 422.74 395.64 250.12 347.44 250.12 347.44 469.65 512 469.65"/>
|
|
139
|
-
</svg>`,zig:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF4DF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E18A00" d="m23.53 1.02-7.686 3.45h-7.06l-2.98 3.452h7.173L.47 22.98l7.681-3.607h7.065v-.002l2.978-3.45-7.148-.001 12.482-14.9zM0 4.47v14.901h1.883l2.98-3.45H3.451v-8h.942l2.824-3.45H0zm22.117 0-2.98 3.608h1.412v7.844h-.942l-2.98 3.45H24V4.47h-1.883z"/></g>'});function KP({type:e,size:t=20,className:n}){const r=`dsh-code-icon-${S.useId().replaceAll(":","")}`,s=GP[e].replaceAll(qP,r);return c.jsx("svg",{width:t,height:t,className:n,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,dangerouslySetInnerHTML:{__html:s}})}const YP=["angular","c","clojure","cmake","cpp","csharp","css","dart","docker","elixir","env","erlang","flutter","git","go","graphql","haskell","ini","java","javascript","json","kotlin","lua","makefile","node","objective-c","perl","php","powershell","protobuf","python","r","react","ruby","rust","scala","shell","solidity","sql","svelte","swift","toml","typescript","vue","wasm","xml","yaml","zig"],JP=new Set(YP),XP={".bash_profile":"shell",".bashrc":"shell",".env":"env",".gitattributes":"git",".gitconfig":"git",".gitignore":"git",".gitmodules":"git",".mailmap":"git",".profile":"shell",".zprofile":"shell",".zshrc":"shell",bsdmakefile:"makefile","cmakelists.txt":"cmake",commit_editmsg:"git","compose.yaml":"docker","compose.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker",gemfile:"ruby",gnumakefile:"makefile",guardfile:"ruby",makefile:"makefile","npm-shrinkwrap.json":"node","package-lock.json":"node","package.json":"node",podfile:"ruby",rakefile:"ruby"},QP=[["dockerfile.","docker"],[".env.","env"]],ez=[[".component.ts","angular"],[".component.html","angular"],[".directive.ts","angular"],[".service.ts","angular"],[".module.ts","angular"],[".pipe.ts","angular"],[".guard.ts","angular"],[".interceptor.ts","angular"],[".dockerfile","docker"]],tz={bash:"shell",c:"c","c++":"cpp",cc:"cpp",cfg:"ini",cjs:"javascript",clj:"clojure",cljc:"clojure",cljs:"clojure",cmake:"cmake",cpp:"cpp",cs:"csharp",csh:"shell",css:"css",csx:"csharp",cts:"typescript",cxx:"cpp",dart:"dart",dtd:"xml",edn:"clojure",env:"env",erl:"erlang",es6:"javascript",escript:"erlang",ex:"elixir",exs:"elixir",fish:"shell",gemspec:"ruby",go:"go",gql:"graphql",graphql:"graphql",h:"c","h++":"cpp",hh:"cpp",hpp:"cpp",hrl:"erlang",hs:"haskell",hxx:"cpp",ini:"ini",ipp:"cpp",java:"java",js:"javascript",json:"json",json5:"json",jsonc:"json",jsx:"react",ksh:"shell",kt:"kotlin",kts:"kotlin",lhs:"haskell",lua:"lua",m:"objective-c",mak:"makefile",mjs:"javascript",mk:"makefile",mm:"objective-c",mts:"typescript",node:"node",pch:"objective-c",php:"php",php3:"php",php4:"php",php5:"php",phps:"php",phtml:"php",pl:"perl",plist:"xml",pm:"perl",pod:"perl",proto:"protobuf",ps1:"powershell",psd1:"powershell",psm1:"powershell",py:"python",pyi:"python",pyw:"python",pyx:"python",r:"r",rake:"ruby",rb:"ruby",rmd:"r",rs:"rust",sc:"scala",scala:"scala",sh:"shell",sol:"solidity",sql:"sql",svelte:"svelte",swift:"swift",t:"perl",tcsh:"shell",toml:"toml",tpp:"cpp",ts:"typescript",tsx:"react",vue:"vue",wasm:"wasm",wast:"wasm",wat:"wasm",xml:"xml",xsd:"xml",xsl:"xml",xslt:"xml",yaml:"yaml",yml:"yaml",zig:"zig",zsh:"shell"},nz=new Set(["ts","tsx","js","jsx","mjs","cjs","cts","mts","css","scss","sass","less","html","htm","vue","svelte","astro","json","jsonc","json5","yaml","yml","toml","xml","ini","env","sh","bash","zsh","fish","ps1","bat","cmd","py","pyi","rb","rs","go","java","kt","kts","c","cc","cpp","cxx","h","hh","hpp","cs","php","swift","sql","proto","graphql","gql","lua","r","pl","scala","clj","cljs","ex","exs","erl","hs","dart"]);function rz(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function u9(e){return JP.has(e)}function oz(e){return nz.has(e.toLowerCase())}function iz(e,t,n){const r=XP[e];if(r!==void 0)return r;for(const[s,l]of QP)if(e.startsWith(s))return l;for(const[s,l]of ez)if(e.endsWith(s))return l;return t==="dart"&&n!==void 0&&Object.entries(n.files).find(([l])=>rz(l).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":tz[t]??null}const sz="_icon_1wejo_1",az="_code_1wejo_8",lz="_excel_1wejo_12",cz="_folder_1wejo_16",uz="_html_1wejo_20",dz="_image_1wejo_24",fz="_markdown_1wejo_28",hz="_other_1wejo_32",pz="_pdf_1wejo_36",mz="_ppt_1wejo_40",gz="_video_1wejo_44",vz="_word_1wejo_48",r6={icon:sz,code:az,excel:lz,folder:cz,html:uz,image:dz,markdown:fz,other:hz,pdf:pz,ppt:mz,video:gz,word:vz},wz={scss:"code",sass:"code",less:"code",vue:"code",svelte:"code",astro:"code",bat:"code",cmd:"code",csv:"excel",tsv:"excel",html:"html",htm:"html",png:"image",jpg:"image",jpeg:"image",gif:"image",svg:"image",webp:"image",avif:"image",bmp:"image",ico:"image",tif:"image",tiff:"image",heic:"image",heif:"image",md:"markdown",mdx:"markdown",markdown:"markdown",pdf:"pdf",ppt:"ppt",pptx:"ppt",key:"ppt",mp4:"video",mov:"video",m4v:"video",webm:"video",mkv:"video",avi:"video",mpg:"video",mpeg:"video",doc:"word",docx:"word",rtf:"word",odt:"word",pages:"word",xls:"excel",xlsx:"excel",xlsm:"excel",xlsb:"excel",xlt:"excel",xltx:"excel",xltm:"excel",ods:"excel",ots:"excel",fods:"excel",numbers:"excel"},xz={changelog:"markdown",contributing:"markdown",readme:"markdown"};function d9(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function h2(e){const t=d9(e),n=t.lastIndexOf(".");return n<0?"":t.slice(n+1)}function Yl(e,t){const n=d9(e).toLowerCase(),r=h2(n).toLowerCase();return iz(n,r,t)??xz[n]??wz[r]??"other"}const yz="M8.48924 28H19.5108C21.6479 28 22.7165 28 23.5594 27.6509C24.6833 27.1853 25.5762 26.2924 26.0417 25.1685C26.3909 24.3256 26.3909 23.257 26.3909 21.1199V8.79443C26.3909 8.32877 26.3909 8.09593 26.3471 7.87507C26.2887 7.58058 26.173 7.30042 26.0067 7.05048C25.882 6.86303 25.7177 6.69799 25.3893 6.36792L20.0611 1.01354C19.7304 0.681235 19.5651 0.515081 19.3769 0.38885C19.126 0.220541 18.8443 0.103463 18.5481 0.0443412C18.3259 0 18.0915 0 17.6226 0H8.48924C6.35209 0 5.28351 0 4.4406 0.349145C3.31672 0.814671 2.4238 1.70759 1.95828 2.83147C1.60913 3.67438 1.60913 4.74296 1.60913 6.88011V21.1199C1.60913 23.257 1.60913 24.3256 1.95828 25.1685C2.4238 26.2924 3.31672 27.1853 4.4406 27.6509C5.28351 28 6.35209 28 8.48924 28Z",o6="M26.3909 7.37445L19.0525 0V3.77445C19.0525 4.89271 19.0525 5.45184 19.2352 5.89289C19.4788 6.48096 19.946 6.94818 20.5341 7.19176C20.9751 7.37445 21.5342 7.37445 22.6525 7.37445H26.3909Z",Cd="translate(14 16) scale(1.12) translate(-14 -16)",Ha="translate(14 16) scale(1.22) translate(-14 -16)",_z="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Xn({size:e,className:t,children:n,markTransform:r,muted:s=!1}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:yz,fill:"currentColor"}),s?c.jsx("path",{d:o6,fill:"var(--dsw-static-neutral-400)"}):c.jsx("path",{d:o6,fill:"var(--dsw-static-neutral-00)",fillOpacity:".7"}),n!==void 0&&c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:r,children:n})]})}function bz({size:e,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:"M2.80078 10.2112C2.80078 9.52802 2.80078 9.18642 2.85314 8.866C2.98648 8.05 3.36942 7.29538 3.94925 6.70595C4.17694 6.4745 4.45264 6.2728 5.00404 5.86939C5.29197 5.65874 5.43594 5.55342 5.58711 5.46632C5.97089 5.24521 6.39638 5.10618 6.83667 5.05803C7.01011 5.03906 7.18849 5.03906 7.54524 5.03906H11.6543C12.4669 5.03906 12.8732 5.03906 13.2599 5.13697C13.3882 5.16945 13.5143 5.20986 13.6375 5.25795C14.0091 5.40294 14.3398 5.63902 15.0012 6.1112L16.2632 7.01224C16.5526 7.21881 16.6972 7.3221 16.8598 7.38553C16.9137 7.40657 16.9689 7.42425 17.025 7.43846C17.1942 7.4813 17.372 7.4813 17.7275 7.4813H19.8008C22.0506 7.4813 23.1755 7.4813 23.9641 8.05425C24.2188 8.23928 24.4428 8.46326 24.6278 8.71794C25.2008 9.50654 25.2008 10.6315 25.2008 12.8813V18.7283C25.2008 20.9781 25.2008 22.1031 24.6278 22.8917C24.4428 23.1463 24.2188 23.3703 23.9641 23.5554C23.1755 24.1283 22.0506 24.1283 19.8008 24.1283H8.20077C5.95094 24.1283 4.82602 24.1283 4.03743 23.5554C3.78274 23.3703 3.55877 23.1463 3.37373 22.8917C2.80078 22.1031 2.80078 20.9781 2.80078 18.7283V10.2112Z",fill:"currentColor"}),c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:_z,children:c.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function Cz({size:e,className:t}){return c.jsx(Xn,{size:e,className:t,children:c.jsx("path",{d:"M14 11.5H11.4C10.5599 11.5 10.1399 11.5 9.81901 11.6635C9.53677 11.8073 9.3073 12.0368 9.16349 12.319C9 12.6399 9 13.0599 9 13.9V16.5M14 11.5H16.6C17.4401 11.5 17.8601 11.5 18.181 11.6635C18.4632 11.8073 18.6927 12.0368 18.8365 12.319C19 12.6399 19 13.0599 19 13.9V16.5M14 11.5V21.5M14 21.5H16.6C17.4401 21.5 17.8601 21.5 18.181 21.3365C18.4632 21.1927 18.6927 20.9632 18.8365 20.681C19 20.3601 19 19.9401 19 19.1V16.5M14 21.5H11.4C10.5599 21.5 10.1399 21.5 9.81901 21.3365C9.53677 21.1927 9.3073 20.9632 9.16349 20.681C9 20.3601 9 19.9401 9 19.1V16.5M19 16.5H9",stroke:"currentColor",strokeWidth:"1.2"})})}function kz(e,t,n){switch(e){case"code":return c.jsxs(Xn,{size:t,className:n,children:[c.jsx("path",{d:"M10.0053 13.126L7.0236 16.3788C6.96052 16.4476 6.96052 16.5532 7.0236 16.622L10.0053 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M17.9941 13.126L20.9759 16.3788C21.039 16.4476 21.039 16.5532 20.9759 16.622L17.9941 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M15.2652 12.957L12.7344 20.0433",stroke:"currentColor",strokeWidth:"1.35"})]});case"excel":return c.jsx(Cz,{size:t,className:n});case"folder":return c.jsx(bz,{size:t,className:n});case"html":return c.jsx(Xn,{size:t,className:n,markTransform:Cd,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9994 9.68298C17.212 9.68298 19.8167 12.2872 19.8168 15.4997C19.8168 18.7123 17.2121 21.3171 13.9994 21.3171C10.7869 21.3169 8.18274 18.7122 8.18274 15.4997C8.1829 12.2873 10.787 9.68315 13.9994 9.68298ZM9.26213 16.0247C9.47025 17.9241 10.7936 19.4876 12.5639 20.0463C12.42 19.7977 12.2952 19.5152 12.1879 19.2116C11.885 18.3541 11.693 17.2434 11.6424 16.0247H9.26213ZM16.3565 16.0247C16.3059 17.2434 16.1145 18.3542 15.8116 19.2116C15.7044 19.5151 15.5788 19.7971 15.435 20.0456C17.2054 19.487 18.5293 17.9242 18.7374 16.0247H16.3565ZM12.6938 16.0247C12.7439 17.1459 12.9212 18.1334 13.1784 18.8616C13.332 19.2962 13.503 19.61 13.6686 19.805C13.834 19.9996 13.9473 20.0256 13.9994 20.0258C14.0514 20.0258 14.1651 20.0002 14.331 19.805C14.4966 19.61 14.6676 19.2962 14.8211 18.8616C15.0784 18.1334 15.2557 17.1459 15.3058 16.0247H12.6938ZM13.9994 10.733C13.9473 10.7331 13.834 10.7598 13.6686 10.9545C13.503 11.1494 13.3319 11.4633 13.1784 11.8978C12.903 12.6777 12.7188 13.7545 12.6849 14.9747H15.3147C15.2808 13.7545 15.0966 12.6777 14.8211 11.8978C14.6676 11.4633 14.4965 11.1494 14.331 10.9545C14.1651 10.7593 14.0514 10.733 13.9994 10.733ZM15.5888 11.0051C15.6701 11.1756 15.7444 11.3576 15.8116 11.5478C16.1343 12.4613 16.3308 13.6619 16.3647 14.9747H18.7374C18.5352 13.1307 17.2817 11.6036 15.5888 11.0051ZM12.4101 11.0051C10.7174 11.6037 9.46428 13.1308 9.26213 14.9747H11.6349C11.6688 13.6619 11.8652 12.4613 12.1879 11.5478C12.2551 11.3577 12.3288 11.1756 12.4101 11.0051Z",fill:"currentColor"})});case"image":return c.jsxs(Xn,{size:t,className:n,markTransform:Cd,children:[c.jsx("path",{d:"M10.4212 15.9204C10.5756 15.6558 10.9579 15.6558 11.1123 15.9204L13.6493 20.2696C13.8048 20.5362 13.6125 20.8711 13.3037 20.8711H8.22974C7.92102 20.8711 7.72868 20.5362 7.88423 20.2696L10.4212 15.9204Z",fill:"currentColor"}),c.jsx("path",{d:"M15.4981 13.186C15.6505 12.9117 16.0451 12.9117 16.1975 13.186L20.1368 20.2769C20.2849 20.5435 20.0922 20.8711 19.7872 20.8711H11.9084C11.6034 20.8711 11.4107 20.5435 11.5588 20.2769L15.4981 13.186Z",fill:"currentColor"}),c.jsx("path",{d:"M11.8603 11.3997C11.8603 12.286 11.1418 13.0045 10.2555 13.0045C9.36924 13.0045 8.65076 12.286 8.65076 11.3997C8.65076 10.5134 9.36924 9.79492 10.2555 9.79492C11.1418 9.79492 11.8603 10.5134 11.8603 11.3997Z",fill:"currentColor"})]});case"markdown":return c.jsx(Xn,{size:t,className:n,markTransform:Ha,children:c.jsx("path",{d:"M8.7588 19.5V14.6H9.8998L11.9298 17.932H11.3278L13.3018 14.6H14.4428L14.4568 19.5H13.1828L13.1688 16.539H13.3858L11.9088 19.017H11.2928L9.7738 16.539H10.0398V19.5H8.7588ZM15.4375 19.5V14.6H17.7545C18.2958 14.6 18.7718 14.7003 19.1825 14.901C19.5932 15.1017 19.9128 15.384 20.1415 15.748C20.3748 16.112 20.4915 16.546 20.4915 17.05C20.4915 17.5493 20.3748 17.9833 20.1415 18.352C19.9128 18.716 19.5932 18.9983 19.1825 19.199C18.7718 19.3997 18.2958 19.5 17.7545 19.5H15.4375ZM16.8235 18.394H17.6985C17.9785 18.394 18.2212 18.3427 18.4265 18.24C18.6365 18.1327 18.7998 17.9787 18.9165 17.778C19.0332 17.5727 19.0915 17.33 19.0915 17.05C19.0915 16.7653 19.0332 16.5227 18.9165 16.322C18.7998 16.1213 18.6365 15.9697 18.4265 15.867C18.2212 15.7597 17.9785 15.706 17.6985 15.706H16.8235V18.394Z",fill:"currentColor"})});case"other":return c.jsx(Xn,{size:t,className:n,muted:!0});case"pdf":return c.jsx(Xn,{size:t,className:n,markTransform:Ha,children:c.jsx("path",{d:"M6.80616 19.5V14.6H9.04616C9.49416 14.6 9.87916 14.6723 10.2012 14.817C10.5278 14.9617 10.7798 15.1717 10.9572 15.447C11.1345 15.7177 11.2232 16.0397 11.2232 16.413C11.2232 16.7817 11.1345 17.1013 10.9572 17.372C10.7798 17.6427 10.5278 17.8527 10.2012 18.002C9.87916 18.1467 9.49416 18.219 9.04616 18.219H7.57616L8.19216 17.617V19.5H6.80616ZM8.19216 17.764L7.57616 17.127H8.96216C9.2515 17.127 9.46616 17.064 9.60616 16.938C9.75083 16.812 9.82316 16.637 9.82316 16.413C9.82316 16.1843 9.75083 16.007 9.60616 15.881C9.46616 15.755 9.2515 15.692 8.96216 15.692H7.57616L8.19216 15.055V17.764ZM11.8989 19.5V14.6H14.2159C14.7573 14.6 15.2333 14.7003 15.6439 14.901C16.0546 15.1017 16.3743 15.384 16.6029 15.748C16.8363 16.112 16.9529 16.546 16.9529 17.05C16.9529 17.5493 16.8363 17.9833 16.6029 18.352C16.3743 18.716 16.0546 18.9983 15.6439 19.199C15.2333 19.3997 14.7573 19.5 14.2159 19.5H11.8989ZM13.2849 18.394H14.1599C14.4399 18.394 14.6826 18.3427 14.8879 18.24C15.0979 18.1327 15.2613 17.9787 15.3779 17.778C15.4946 17.5727 15.5529 17.33 15.5529 17.05C15.5529 16.7653 15.4946 16.5227 15.3779 16.322C15.2613 16.1213 15.0979 15.9697 14.8879 15.867C14.6826 15.7597 14.4399 15.706 14.1599 15.706H13.2849V18.394ZM17.6821 19.5V14.6H21.5251V15.671H19.0681V19.5H17.6821ZM18.9701 17.82V16.749H21.2311V17.82H18.9701Z",fill:"currentColor"})});case"ppt":return c.jsx(Xn,{size:t,className:n,markTransform:Ha,children:c.jsx("path",{d:"M11.0132 20.5V13.5H14.2132C14.8532 13.5 15.4032 13.6033 15.8632 13.81C16.3299 14.0167 16.6899 14.3167 16.9432 14.71C17.1966 15.0967 17.3232 15.5567 17.3232 16.09C17.3232 16.6167 17.1966 17.0733 16.9432 17.46C16.6899 17.8467 16.3299 18.1467 15.8632 18.36C15.4032 18.5667 14.8532 18.67 14.2132 18.67H12.1132L12.9932 17.81V20.5H11.0132ZM12.9932 18.02L12.1132 17.11H14.0932C14.5066 17.11 14.8132 17.02 15.0132 16.84C15.2199 16.66 15.3232 16.41 15.3232 16.09C15.3232 15.7633 15.2199 15.51 15.0132 15.33C14.8132 15.15 14.5066 15.06 14.0932 15.06H12.1132L12.9932 14.15V18.02Z",fill:"currentColor"})});case"video":return c.jsx(Xn,{size:t,className:n,markTransform:Cd,children:c.jsx("path",{d:"M17.5 14.634C18.1667 15.0189 18.1667 15.9811 17.5 16.366L11.5 19.8301C10.8333 20.215 10 19.7339 10 18.9641L10 12.0359C10 11.2661 10.8333 10.785 11.5 11.1699L17.5 14.634Z",fill:"currentColor"})});case"word":return c.jsx(Xn,{size:t,className:n,markTransform:Ha,children:c.jsx("path",{d:"M10.5118 20.5L8.24179 13.5H10.2818L12.1918 19.56H11.1618L13.1718 13.5H14.9918L16.8918 19.56H15.9018L17.8718 13.5H19.7618L17.4918 20.5H15.3718L13.7518 15.35H14.3218L12.6318 20.5H10.5118Z",fill:"currentColor"})});default:return Sz(e)}}function Sz(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function Ez(e){const{size:t=28,className:n}=e,r="path"in e?Yl(e.path,e.context):e.kind;return u9(r)?c.jsx(KP,{type:r,size:t,className:n}):kz(r,t,xe(r6.icon,r6[r],n))}const Ue='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',qe='</title><path d="',Ge='"/></svg>',jz={title:"AliExpress",slug:"aliexpress",get svg(){return Ue+"AliExpress"+qe+this.path+Ge},path:"M5.166 9.096a.022.022 0 0 0-.022.021c0 .396-.32.717-.713.717a.021.021 0 0 0-.021.022c0 .012.01.021.021.021.394 0 .713.322.713.718 0 .012.01.021.022.021.011 0 .021-.01.021-.021A.717.717 0 0 1 5.9 9.88a.021.021 0 0 0 0-.043.716.716 0 0 1-.713-.718v-.002a.021.021 0 0 0-.006-.015.022.022 0 0 0-.015-.006zm-3.693.526L0 13.462h.48l.355-.922h1.782l.354.922h.481L1.98 9.622zm2.264.002v3.838h.491V9.624zm2.375 0v3.838h2.413v-.502H6.613v-1.19H8.19v-.477H6.613v-1.166h1.773v-.502zm-4.386.592l.698 1.82H1.028zm14.689.402a1.466 1.466 0 0 0-.966.366V10.7h-.491v2.763h.49c.002-.477 0-.955.002-1.433a.969.969 0 0 1 .965-.918zm4.18.007c-.053 0-.105.003-.158.01-.315.031-.606.175-.753.377a.689.689 0 0 0-.14.465c.007.2.066.357.233.496.184.147.42.2.657.259.311.067.426.095.546.186.08.07.133.127.136.27 0 .25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.54-.01.891-.217 1.029-.534.066-.153.063-.309.063-.38a.677.677 0 0 0-.267-.545c-.228-.177-.583-.228-.636-.242-.437-.078-.658-.196-.697-.341-.043-.192.102-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.166 1.166 0 0 0-.939-.494zm2.387 0c-.052 0-.105.003-.157.01-.316.031-.607.175-.753.377a.689.689 0 0 0-.14.465c.006.2.065.357.233.496.183.147.42.2.657.259.31.067.426.095.545.186.081.07.134.127.136.27.001.25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.541-.01.891-.217 1.03-.534.065-.153.062-.309.062-.38a.677.677 0 0 0-.267-.545c-.227-.177-.583-.228-.636-.242-.437-.078-.658-.196-.696-.341-.043-.192.101-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.167 1.167 0 0 0-.94-.494zm-9.84.002a1.461 1.461 0 0 0-1.42 1.117 1.305 1.305 0 0 0-.041.327v2.833h.491v-1.813c.17.18.487.42.96.454a1.447 1.447 0 0 0 1.208-.627 1.457 1.457 0 0 0-1.199-2.292zm4.804 0a1.448 1.448 0 0 0-1.288 2.08c.255.53.811.87 1.412.833a1.452 1.452 0 0 0 1.012-.51l-.363-.291a.968.968 0 0 1-1.106.273 1.01 1.01 0 0 1-.602-.69h2.239l.002-.427a1.295 1.295 0 0 0-1.306-1.268zm-9.2.08l1.062 1.377-1.062 1.378h.581l.779-1.01.778 1.01h.581l-1.062-1.378 1.062-1.378h-.581l-.778 1.01-.779-1.01zm-3.825.015v2.74h.49v-2.74zm8.233.37a.96.96 0 0 1 .95.993.963.963 0 0 1-.863.998.962.962 0 0 1-1.034-.739c-.074-.382 0-.746.307-1.019a.959.959 0 0 1 .64-.233zm4.79.015a.823.823 0 0 1 .819.755h-1.76a.964.964 0 0 1 .94-.755z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"FF4747"},Iz={title:"Apple",slug:"apple",get svg(){return Ue+"Apple"+qe+this.path+Ge},path:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",source:"https://www.apple.com",hex:"000000"},Mz={title:"Baidu",slug:"baidu",get svg(){return Ue+"Baidu"+qe+this.path+Ge},path:"M9.154 0C7.71 0 6.54 1.658 6.54 3.707c0 2.051 1.171 3.71 2.615 3.71 1.446 0 2.614-1.659 2.614-3.71C11.768 1.658 10.6 0 9.154 0zm7.025.594C14.86.58 13.347 2.589 13.2 3.927c-.187 1.745.25 3.487 2.179 3.735 1.933.25 3.175-1.806 3.422-3.364.252-1.555-.995-3.364-2.362-3.674a1.218 1.218 0 0 0-.261-.03zM3.582 5.535a2.811 2.811 0 0 0-.156.008c-2.118.19-2.428 3.24-2.428 3.24-.287 1.41.686 4.425 3.297 3.864 2.617-.561 2.262-3.68 2.183-4.362-.125-1.018-1.292-2.773-2.896-2.75zm16.534 1.753c-2.308 0-2.617 2.119-2.617 3.616 0 1.43.121 3.425 2.988 3.362 2.867-.063 2.553-3.238 2.553-3.988 0-.745-.62-2.99-2.924-2.99zm-8.264 2.478c-1.424.014-2.708.925-3.323 1.947-1.118 1.868-2.863 3.05-3.112 3.363-.25.309-3.61 2.116-2.864 5.42.746 3.301 3.365 3.237 3.365 3.237s1.93.19 4.171-.31c2.24-.495 4.17.123 4.17.123s5.233 1.748 6.665-1.616c1.43-3.364-.808-5.109-.808-5.109s-2.99-2.306-4.736-4.798c-1.072-1.665-2.348-2.268-3.528-2.257zm-2.234 3.84l1.542.024v8.197H7.758c-1.47-.291-2.055-1.292-2.13-1.462-.072-.173-.488-.976-.268-2.343.635-2.049 2.447-2.196 2.447-2.196h1.81zm3.964 2.39v3.881c.096.413.612.488.612.488h1.614v-4.343h1.689v5.782h-3.915c-1.517-.39-1.59-1.465-1.59-1.465v-4.317zm-5.458 1.147c-.66.197-.978.708-1.05.928-.076.22-.247.78-.1 1.269.294 1.095 1.248 1.144 1.248 1.144h1.37v-3.34z",source:"https://www.baidu.com",hex:"2932E1"},Oz={title:"Bilibili",slug:"bilibili",get svg(){return Ue+"Bilibili"+qe+this.path+Ge},path:"M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z",source:"https://www.bilibili.com",hex:"00A1D6"},Tz={title:"CSDN",slug:"csdn",get svg(){return Ue+"CSDN"+qe+this.path+Ge},path:"M4.693 13.638c-.497.568-1.363.63-1.712.63-.648 0-1.144-.164-1.474-.488-.313-.307-.478-.76-.489-1.346-.025-1.358.744-2.762 2.074-2.762.635 0 1.124.455 1.311.644a.337.337 0 0 0 .282.099.38.38 0 0 0 .241-.159c.068-.087.135-.237.138-.401s-.057-.344-.243-.49a2.642 2.642 0 0 0-1.668-.591c-.819 0-1.627.376-2.218 1.033-.621.691-.953 1.63-.935 2.646.015.815.282 1.5.773 1.982.528.518 1.3.791 2.235.791 1.097 0 1.776-.325 2.154-.597a.584.584 0 0 0 .24-.456.702.702 0 0 0-.208-.497c-.23-.248-.448-.101-.503-.037ZM9.663 11.488a7.471 7.471 0 0 0-.698-.248c-.157-.048-.309-.091-.45-.131-.922-.26-1.027-.5-1.017-.68.022-.363.515-.853 1.352-.792.607.045 1.015.509 1.205.781.149.214.371.135.434.095a.602.602 0 0 0 .309-.514.626.626 0 0 0-.209-.488 2.654 2.654 0 0 0-3.347-.273c-.456.323-.744.772-.77 1.202-.064 1.061 1.015 1.366 1.803 1.588.214.061.429.127.667.202 1.14.357 1.173.717 1.092 1.267-.082.556-.696.834-1.685.761-1.029-.076-1.464-.61-1.612-.901-.05-.098-.205-.248-.413-.156-.514.229-.473.731-.26.993.339.416 1.15 1.035 2.667 1.035 1.734 0 2.255-.875 2.378-1.64.092-.572-.022-1.028-.348-1.396-.236-.267-.592-.495-1.101-.706ZM16.44 9.323c-.598-.431-1.393-.61-2.36-.532-.712.058-1.274.243-1.335.263l-.006.002a.437.437 0 0 0-.297.379l-.47 5.201a.337.337 0 0 0 .247.35l.072.02.066.018.086.021a7.914 7.914 0 0 0 1.64.183c.972 0 1.765-.23 2.36-.684.764-.583 1.141-1.5 1.118-2.725-.021-1.135-.398-1.974-1.121-2.495Zm-.662 4.461c-.836.639-2.09.562-2.677.481a.128.128 0 0 1-.109-.137l.397-4.248a.113.113 0 0 1 .086-.1c.999-.241 1.777-.168 2.312.218.189.137.348.331.471.568.176.339.277.765.286 1.234.017.916-.24 1.583-.765 1.984ZM23.967 10.41a1.92 1.92 0 0 0-.432-.919c-.399-.465-1.029-.689-1.848-.689-.734 0-1.372.228-1.947.799.007-.086.019-.159.018-.223s-.017-.116-.066-.163c-.048-.045-.077-.067-.127-.077-.05-.01-.122-.008-.256-.006a.587.587 0 0 0-.589.54s-.325 3.874-.428 5.165a.308.308 0 0 0 .073.228.36.36 0 0 0 .26.131h.387a.224.224 0 0 0 .226-.205l.273-2.929.014-.147a1.902 1.902 0 0 1 .082-.412c.014-.045.03-.092.047-.14.245-.694.803-1.72 1.971-1.694.84.018 1.449.455 1.385 1.114-.101 1.034-.266 3.1-.358 4.14-.019.209.182.273.252.273h.304a.442.442 0 0 0 .444-.404s.185-2.127.294-3.352l.048-.532a1.959 1.959 0 0 0-.026-.5Z",source:"https://www.csdn.net/company/index.html",hex:"FC5531"},Lz={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return Ue+"DuckDuckGo"+qe+this.path+Ge},path:"M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 .984C18.083.984 23.016 5.916 23.016 12S18.084 23.016 12 23.016.984 18.084.984 12C.984 5.917 5.916.984 12 .984zm0 .938C6.434 1.922 1.922 6.434 1.922 12c0 4.437 2.867 8.205 6.85 9.55-.237-.82-.776-2.753-1.6-6.052-1.184-4.741-2.064-8.606 2.379-9.813.047-.011.064-.064.03-.093-.514-.467-1.382-.548-2.233-.38a.06.06 0 0 1-.07-.058c0-.011 0-.023.011-.035.205-.286.572-.507.822-.64a1.843 1.843 0 0 0-.607-.335c-.059-.022-.059-.12-.006-.144.006-.006.012-.012.024-.012 1.749-.233 3.586.292 4.49 1.448.011.011.023.017.035.023 2.968.635 3.509 4.837 3.328 5.998a9.607 9.607 0 0 0 2.346-.576c.746-.286 1.008-.222 1.101-.053.1.193-.018.513-.28.81-.496.567-1.393 1.01-2.974 1.137-.546.044-1.029.024-1.445.006-.789-.035-1.339-.059-1.633.39-.192.298-.041.998 1.487 1.22 1.09.157 2.078.047 2.798-.034.643-.07 1.073-.118 1.172.069.21.402-.996 1.207-3.066 1.224-.158 0-.315-.006-.467-.011-1.283-.065-2.227-.414-2.816-.735a.094.094 0 0 1-.035-.017c-.105-.059-.31.045-.188.267.07.134.444.478 1.004.776-.058.466.087 1.184.338 2l.088-.016c.041-.009.087-.019.134-.025.507-.082.775.012.926.175.717-.536 1.913-1.294 2.03-1.154.583.694.66 2.332.53 2.99-.004.012-.017.024-.04.035-.274.117-1.783-.296-1.783-.511-.059-1.075-.26-1.173-.493-1.225h-.156c.006.006.012.018.018.03l.052.12c.093.257.24 1.063.13 1.26-.112.199-.835.297-1.284.303-.443.006-.543-.158-.637-.408-.07-.204-.103-.675-.103-.95a.857.857 0 0 1 .012-.216c-.134.058-.333.193-.397.281-.017.262-.017.682.123 1.149.07.221-1.518 1.164-1.74.99-.227-.181-.634-1.952-.459-2.67-.187.017-.338.075-.42.191-.367.508.093 2.933.582 3.248.257.169 1.54-.553 2.176-1.095.105.145.305.158.553.158.326-.012.782-.06 1.103-.158.192.45.423.972.613 1.388 4.47-1.032 7.803-5.037 7.803-9.82 0-5.566-4.512-10.078-10.078-10.078zm1.791 5.646c-.42 0-.678.146-.795.332-.023.047.047.094.094.07.14-.075.357-.161.701-.156.328.006.516.09.67.159l.023.01c.041.017.088-.03.059-.065-.134-.18-.332-.35-.752-.35zm-5.078.198a1.24 1.24 0 0 0-.522.082c-.454.169-.67.526-.67.76 0 .051.112.057.141.011.081-.123.21-.31.617-.478.408-.17.73-.146.951-.094.047.012.083-.041.041-.07a.989.989 0 0 0-.558-.211zm5.434 1.423a.651.651 0 0 0-.655.647.652.652 0 0 0 1.307 0 .646.646 0 0 0-.652-.647zm.283.262h.008a.17.17 0 0 1 .17.17c0 .093-.077.17-.17.17a.17.17 0 0 1-.17-.17c0-.09.072-.165.162-.17zm-5.358.076a.752.752 0 0 0-.758.758c0 .42.338.758.758.758s.758-.337.758-.758a.756.756 0 0 0-.758-.758zm.328.303h.01c.112 0 .2.089.2.2 0 .11-.088.197-.2.197a.195.195 0 0 1-.197-.198c0-.107.082-.194.187-.199z",source:"https://github.com/duckduckgo/duckduckgo-privacy-extension/blob/5c6ac8d6a07421adbfb97ee2ff855dd7655f8d71/shared/img/logo-small-grayscale.svg",hex:"DE5833",guidelines:"https://duckduckgo.com/press#press-materials"},Nz={title:"eBay",slug:"ebay",get svg(){return Ue+"eBay"+qe+this.path+Ge},path:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.765 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z",source:"https://go.developer.ebay.com/logos",hex:"E53238"},Pz={title:"Facebook",slug:"facebook",get svg(){return Ue+"Facebook"+qe+this.path+Ge},path:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",source:"https://about.meta.com/brand/resources/facebook/logo",hex:"0866FF",guidelines:"https://about.meta.com/brand/resources/facebook/logo"},kd={title:"GitHub",slug:"github",get svg(){return Ue+"GitHub"+qe+this.path+Ge},path:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",source:"https://github.com/logos",hex:"181717",guidelines:"https://github.com/logos"},zz={title:"GitLab",slug:"gitlab",get svg(){return Ue+"GitLab"+qe+this.path+Ge},path:"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z",source:"https://about.gitlab.com/press/press-kit/",hex:"FC6D26",guidelines:"https://about.gitlab.com/handbook/marketing/corporate-marketing/brand-activation/trademark-guidelines/"},Az={title:"Google",slug:"google",get svg(){return Ue+"Google"+qe+this.path+Ge},path:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",source:"https://partnermarketinghub.withgoogle.com",hex:"4285F4",guidelines:"https://about.google/brand-resource-center/brand-elements/"},Rz={title:"Instagram",slug:"instagram",get svg(){return Ue+"Instagram"+qe+this.path+Ge},path:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077",source:"https://about.meta.com/brand/resources/instagram",hex:"FF0069",guidelines:"https://about.meta.com/brand/resources/instagram"},Dz={title:"Juejin",slug:"juejin",get svg(){return Ue+"Juejin"+qe+this.path+Ge},path:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",source:"https://juejin.cn",hex:"007FFF"},Fz={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return Ue+"MDN Web Docs"+qe+this.path+Ge},path:"m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z",source:"https://github.com/mdn/yari/blob/77e6cda02f7013219e9da27a00b9424085e60fdb/client/src/assets/mdn-logo.svg",hex:"000000"},$z={title:"Netflix",slug:"netflix",get svg(){return Ue+"Netflix"+qe+this.path+Ge},path:"m5.398 0 8.348 23.602c2.346.059 4.856.398 4.856.398L10.113 0H5.398zm8.489 0v9.172l4.715 13.33V0h-4.715zM5.398 1.5V24c1.873-.225 2.81-.312 4.715-.398V14.83L5.398 1.5z",source:"https://brand.netflix.com/en/assets/logos",hex:"E50914",guidelines:"https://brand.netflix.com/en/assets/logos"},Hz={title:"npm",slug:"npm",get svg(){return Ue+"npm"+qe+this.path+Ge},path:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",source:"https://www.npmjs.com",hex:"CB3837",guidelines:"https://docs.npmjs.com/policies/logos-and-usage"},Vz={title:"PyPI",slug:"pypi",get svg(){return Ue+"PyPI"+qe+this.path+Ge},path:"M23.922 13.58v3.912L20.55 18.72l-.078.055.052.037 3.45-1.256.026-.036v-3.997l-.053-.036-.025.092z M23.621 5.618l-3.04 1.107v3.912l3.339-1.215V5.509zM23.92 13.457V9.544l-3.336 1.215v3.913zM20.47 14.71V10.8L17.17 12v3.913zM17.034 19.996v-3.912l-3.313 1.206v3.912zM17.17 16.057v3.868l3.314-1.206V14.85l-3.314 1.206zm2.093 1.882c-.367.134-.663-.074-.663-.463s.296-.814.663-.947c.365-.133.662.075.662.464s-.297.814-.662.946z M13.225 9.315l.365-.132-3.285-1.197-3.323 1.21.102.037 3.184 1.16zM20.507 10.664V6.751L17.17 7.965v3.913zM17.058 11.918V8.005l-3.302 1.202v3.912zM13.643 9.246l-3.336 1.215v3.913l3.336-1.215zM6.907 13.165l3.322 1.209v-3.913L6.907 9.252z M10.34 7.873l3.281 1.193V5.198l-3.28-1.193zM20.507 2.715L17.19 3.922v3.913l3.317-1.207zM16.95 3.903L13.724 2.73l-3.269 1.19 3.225 1.174zM15.365 4.606l-1.624.592v3.868l3.317-1.207V3.991l-1.693.615zm-.391 2.778c-.367.134-.662-.074-.662-.464s.295-.813.662-.946c.366-.133.663.074.663.464s-.297.813-.663.946z M10.229 18.41v-3.914l-3.322-1.209V17.2zM13.678 17.182v-3.913l-3.371 1.227v3.913z M13.756 17.154l3.3-1.2V12.04l-3.3 1.2zM13.678 21.217l-3.371 1.227v-3.912h-.078v3.912l-3.322-1.209v-3.913l-.053-.058-.025-.06-3.336-1.21v-3.948l.034.013 3.287 1.196.015-.078-3.261-1.187 3.26-1.187v-.109L3.876 9.62l-.307-.112 3.26-1.188v.877l.079-.055V6.769l3.257 1.185.058-.061L7.084 6.75l-.102-.037 3.24-1.179v-.083L6.854 6.677v.018l-.025.018v1.523L3.44 9.47v.02l-.025.017v4.007l-3.39 1.233v.019L0 14.784v3.995l.025.037 3.4 1.237.008-.006.007.01 3.4 1.238.008-.006.006.01 3.4 1.237.014-.009.012.01 3.45-1.256.026-.037-.078-.027zM3.493 9.563l3.257 1.185-3.257 1.187V9.562zM3.4 19.96L.078 18.752v-3.913l2.361.86.96.349v3.913zm.015-3.99L.335 14.85l-.182-.066 3.262-1.187v2.374zm3.399 5.231l-3.321-1.209v-3.912l3.321 1.209v3.912zM23.791 5.434l-3.21-1.17v2.338zM20.387 2.643l-3.24-1.18-3.27 1.19 3.247 1.182z",source:"https://pypi.org",hex:"3775A9"},Bz={title:"QQ",slug:"qq",get svg(){return Ue+"QQ"+qe+this.path+Ge},path:"M21.395 15.035a40 40 0 0 0-.803-2.264l-1.079-2.695c.001-.032.014-.562.014-.836C19.526 4.632 17.351 0 12 0S4.474 4.632 4.474 9.241c0 .274.013.804.014.836l-1.08 2.695a39 39 0 0 0-.802 2.264c-1.021 3.283-.69 4.643-.438 4.673.54.065 2.103-2.472 2.103-2.472 0 1.469.756 3.387 2.394 4.771-.612.188-1.363.479-1.845.835-.434.32-.379.646-.301.778.343.578 5.883.369 7.482.189 1.6.18 7.14.389 7.483-.189.078-.132.132-.458-.301-.778-.483-.356-1.233-.646-1.846-.836 1.637-1.384 2.393-3.302 2.393-4.771 0 0 1.563 2.537 2.103 2.472.251-.03.581-1.39-.438-4.673",source:"https://en.wikipedia.org/wiki/File:Tencent_QQ.svg",hex:"1EBAFC",guidelines:"https://qq.design/brand/BrandDesign/Logo"},Zz={title:"Quora",slug:"quora",get svg(){return Ue+"Quora"+qe+this.path+Ge},path:"M7.3799.9483A11.9628 11.9628 0 0 1 21.248 19.5397l2.4096 2.4225c.7322.7362.21 1.9905-.8272 1.9905l-10.7105.01a12.52 12.52 0 0 1-.304 0h-.02A11.9628 11.9628 0 0 1 7.3818.9503Zm7.3217 4.428a7.1717 7.1717 0 1 0-5.4873 13.2512 7.1717 7.1717 0 0 0 5.4883-13.2511Z",source:"https://www.quora.com",hex:"B92B27"},Wz={title:"Reddit",slug:"reddit",get svg(){return Ue+"Reddit"+qe+this.path+Ge},path:"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z",source:"https://www.redditinc.com/brand",hex:"FF4500",guidelines:"https://www.redditinc.com/brand"},Uz={title:"Sina Weibo",slug:"sinaweibo",get svg(){return Ue+"Sina Weibo"+qe+this.path+Ge},path:"M10.098 20.323c-3.977.391-7.414-1.406-7.672-4.02-.259-2.609 2.759-5.047 6.74-5.441 3.979-.394 7.413 1.404 7.671 4.018.259 2.6-2.759 5.049-6.737 5.439l-.002.004zM9.05 17.219c-.384.616-1.208.884-1.829.602-.612-.279-.793-.991-.406-1.593.379-.595 1.176-.861 1.793-.601.622.263.82.972.442 1.592zm1.27-1.627c-.141.237-.449.353-.689.253-.236-.09-.313-.361-.177-.586.138-.227.436-.346.672-.24.239.09.315.36.18.601l.014-.028zm.176-2.719c-1.893-.493-4.033.45-4.857 2.118-.836 1.704-.026 3.591 1.886 4.21 1.983.64 4.318-.341 5.132-2.179.8-1.793-.201-3.642-2.161-4.149zm7.563-1.224c-.346-.105-.57-.18-.405-.615.375-.977.42-1.804 0-2.404-.781-1.112-2.915-1.053-5.364-.03 0 0-.766.331-.571-.271.376-1.217.315-2.224-.27-2.809-1.338-1.337-4.869.045-7.888 3.08C1.309 10.87 0 13.273 0 15.348c0 3.981 5.099 6.395 10.086 6.395 6.536 0 10.888-3.801 10.888-6.82 0-1.822-1.547-2.854-2.915-3.284v.01zm1.908-5.092c-.766-.856-1.908-1.187-2.96-.962-.436.09-.706.511-.616.932.09.42.511.691.932.602.511-.105 1.067.044 1.442.465.376.421.466.977.316 1.473-.136.406.089.856.51.992.405.119.857-.105.992-.512.33-1.021.12-2.178-.646-3.035l.03.045zm2.418-2.195c-1.576-1.757-3.905-2.419-6.054-1.968-.496.104-.812.587-.706 1.081.104.496.586.813 1.082.707 1.532-.331 3.185.15 4.296 1.383 1.112 1.246 1.429 2.943.947 4.416-.165.48.106 1.007.586 1.157.479.165.991-.104 1.157-.586.675-2.088.241-4.478-1.338-6.235l.03.045z",source:"https://en.wikipedia.org/wiki/Sina_Weibo",hex:"E6162D"},qz={title:"Spotify",slug:"spotify",get svg(){return Ue+"Spotify"+qe+this.path+Ge},path:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",source:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo",hex:"1ED760",guidelines:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo"},Gz={title:"Stack Overflow",slug:"stackoverflow",get svg(){return Ue+"Stack Overflow"+qe+this.path+Ge},path:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z",source:"https://stackoverflow.design/brand/logo/",hex:"F58025",guidelines:"https://stackoverflow.com/legal/trademark-guidance"},Kz={title:"Taobao",slug:"taobao",get svg(){return Ue+"Taobao"+qe+this.path+Ge},path:"M21.3099 9.9008c.5285 0 .9584.4284.9584.9589 0 .5276-.4299.958-.9584.958-.5276 0-.9585-.4304-.9585-.958 0-.5305.4309-.959.9585-.959zm2.3899 3.0462h-10.408v-.9595h4.15V9.7591h-2.8869v-.768h2.8868v-.9234h-2.508v.2034h-1.6418V5.3733h1.6418v.3497c.4945-.0607 1.463-.1814 2.5175-.2956v-.8257h1.8522v.6408c.9249-.0807 1.753-.1312 2.211-.1112 1.489.0716 2.4449.2816 2.485 1.273.0356.989-1.4244 1.9043-1.4244 1.9043l-.4509-.4338v.1929h-2.8116v.9233h3.229v.768h-3.229v2.2285h4.3873v.9595zM21.5259 7.299l-.0115-.0115s1.3722-.7595.3427-1.272c-.8633-.43-5.5346.3056-6.9234.6257v.6578h6.5922zM1.8822 6.4166c.5515 0 .9985-.449.9985-1 0-.5531-.447-.9995-.9985-.9995a.9984.9984 0 00-1.001.9995c0 .551.4463 1 1.001 1zm3.4094-.8596c.252-.4364.3717-.7195.3717-.7195l-1.466-.4123S3.6068 6.3546 2.5527 7.253c0 0 1.0195.5897 1.0095.5732a9.6444 9.6444 0 00.782-.8793c.2345-.1017.4585-.198.6794-.2876-.2715.487-.7094 1.219-1.1478 1.6809l.6178.5385s.4198-.4033.8792-.8907h.5246v.8993H3.8557v.7204h2.0416v1.7235c-.025 0-.0521 0-.0782-.002-.224-.0106-.5751-.0476-.7124-.265-.1678-.2636-.044-.7496-.0346-1.0457H3.6608l-.0496.026s-.517 2.3142 1.489 2.2621c1.8793.0521 2.9544-.523 3.4725-.9178l.2064.7645 1.1583-.4825-.785-1.9183-.941.292.1764.6574c-.2415.1809-.518.3157-.8187.4134V9.6076h1.995v-.7204h-1.995v-.8993h2.003v-.72h-3.557c.2565-.3111.4589-.5982.5095-.78L5.9058 6.32c2.6603-.9519 4.1408-.7886 4.1278.773v4.1128s.1568 1.4124-1.461 1.3107l-.8757-.188-.207.8307s3.7822 1.0812 4.0913-1.8246c.3096-2.9058-.0767-4.7576-.0767-4.7576s-.3451-2.6824-6.213-1.02zM.0582 12.1534l1.5867.9905c1.0967-2.3813 1.0265-2.0657 1.302-2.92.2832-.8737.3453-1.54-.1362-2.023-.6172-.6197-.6844-.6773-1.6017-1.3582L.5487 7.8562l1.2164.7576s.8141.4153.4274 1.1903c-.3617.7375-2.1343 2.3493-2.1343 2.3493zm19.94 6.8484s-.0186.523-.6704.523c-.5892 0-.6363-.4113-.6363-.4113-.2485.2996-.6207.4549-1.0696.4549-.7606 0-1.2961-.5135-1.2961-1.2896 0-.786.5576-1.28 1.3983-1.28.3832 0 .725.1462.9258.4037.0066-.0706.0136-.1362.0136-.1968 0-.5622-.3092-.8127-1.01-.8127-.3382 0-.6659.0486-1.0136.1408.1107-.219.1924-.3793.2971-.4574.1202-.0972.4294-.1408.9419-.1408 1.269 0 1.742.4259 1.742 1.4279v1.2024c0 .3161.033.4359.3772.4359zm-1.3272-.745c0-.4815-.2555-.747-.6378-.747-.4043 0-.6668.2825-.6668.7595 0 .467.2775.7615.6533.7615.3882 0 .6513-.275.6513-.774zm5.2706-.501c0 1.1528-.6924 1.8271-1.7786 1.8271-1.0957 0-1.7766-.6743-1.7766-1.8271 0-1.1584.6809-1.8252 1.7766-1.8252 1.0862 0 1.7786.6719 1.7786 1.8252zm-1.0867 0c0-.8693-.237-1.2997-.692-1.2997-.4734 0-.6938.4304-.6938 1.2997 0 .8662.2204 1.299.6939 1.299.467 0 .6919-.4328.6919-1.299zm-7.1313-.0441c0 1.1703-.6534 1.8567-1.5767 1.8567-.4233 0-.8056-.1633-1.0466-.47 0 0-.1082.4264-.6618.4264-.6884 0-.6644-.523-.6644-.523.3868.0165.3758-.2145.3758-.436v-2.8862c0-.3552-.0742-.4795-.4269-.4865.0136-.1072.0777-.5376.6789-.5376.8156 0 .7615.9149.7615.9149v.786c.229-.268.5516-.3942.9905-.3942.9624 0 1.5697.6447 1.5697 1.7495zm-1.0937.0806c0-.8983-.2716-1.3557-.7616-1.3557-.4393 0-.74.3968-.74 1.1047v.3602c0 .7205.3152 1.1168.7631 1.1168.477 0 .7385-.4134.7385-1.226zm-3.2425-.0365c0 1.1528-.688 1.8271-1.7806 1.8271-1.0937 0-1.7726-.6743-1.7726-1.8271 0-1.1584.6789-1.8252 1.7726-1.8252 1.0927 0 1.7806.6719 1.7806 1.8252zm-1.0832 0c0-.8693-.236-1.2997-.6974-1.2997-.467 0-.6874.4304-.6874 1.2997 0 .8662.2205 1.299.6874 1.299.469 0 .6974-.4328.6974-1.299zm-5.9895-2.716c-.268.0782-.7901.0972-1.5516.0972-.925 0-1.5391-.039-1.8543-.039-.5195 0-.7254.1342-.9088.6592.3006-.1017.6729-.1087 1.1353-.1087.3512 0 .4108.0431.4108.2941V18.846c0 .2821.1178.6789.7255.6789.7104 0 .8346-.526.8346-.526-.3552-.007-.4248-.1313-.4248-.4865V15.952c0-.2675.1012-.2795.471-.2795.1252 0 .2094.007.2605.007.545 0 .6883-.1047.9018-.6398zm3.1303 3.962s-.018.523-.6664.523c-.556 0-.6403-.4113-.6403-.4113-.248.2996-.6207.4549-1.0656.4549-.7655 0-1.2996-.5135-1.2996-1.2896 0-.786.557-1.28 1.3993-1.28.3843 0 .7274.1462.9258.4037.0036-.0706.0106-.1362.0106-.1968 0-.5622-.3051-.8127-1.007-.8127-.3382 0-.6669.0486-1.015.1408.1131-.219.1923-.3793.2945-.4574.1293-.0972.4329-.1408.9469-.1408 1.265 0 1.746.4259 1.746 1.4279v1.2024c0 .3161.0276.4359.3708.4359zm-1.3262-.745c0-.4815-.2555-.747-.6378-.747-.4013 0-.6668.2825-.6668.7595 0 .467.279.7615.6513.7615.3893 0 .6533-.275.6533-.774z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"E94F20"},i6={title:"Telegram",slug:"telegram",get svg(){return Ue+"Telegram"+qe+this.path+Ge},path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",source:"https://telegram.org/tour/screenshots",hex:"26A5E4"},Yz={title:"TikTok",slug:"tiktok",get svg(){return Ue+"TikTok"+qe+this.path+Ge},path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z",source:"https://tiktok.com",hex:"000000"},Jz={title:"V2EX",slug:"v2ex",get svg(){return Ue+"V2EX"+qe+this.path+Ge},path:"M.671 1.933h13.821a1.342 1.342 0 0 1 .98.425l8.166 8.725a1.342 1.342 0 0 1 0 1.834l-8.166 8.724a1.342 1.342 0 0 1-.98.426H.673A.671.671 0 0 1 0 21.395v-6.878h13.19l2.276-2.28a.336.336 0 0 0 0-.474l-2.276-2.28H0V2.604a.671.671 0 0 1 .671-.671Z",source:"https://www.v2ex.com",hex:"1F1F1F"},Xz={title:"WeChat",slug:"wechat",get svg(){return Ue+"WeChat"+qe+this.path+Ge},path:"M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z",source:"https://wechat.design/tool/brand",hex:"07C160",guidelines:"https://wechat.design/brand/main-brand"},s6={title:"WhatsApp",slug:"whatsapp",get svg(){return Ue+"WhatsApp"+qe+this.path+Ge},path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",source:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand",hex:"25D366",guidelines:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand"},Qz={title:"Wikipedia",slug:"wikipedia",get svg(){return Ue+"Wikipedia"+qe+this.path+Ge},path:"M12.09 13.119c-.936 1.932-2.217 4.548-2.853 5.728-.616 1.074-1.127.931-1.532.029-1.406-3.321-4.293-9.144-5.651-12.409-.251-.601-.441-.987-.619-1.139-.181-.15-.554-.24-1.122-.271C.103 5.033 0 4.982 0 4.898v-.455l.052-.045c.924-.005 5.401 0 5.401 0l.051.045v.434c0 .119-.075.176-.225.176l-.564.031c-.485.029-.727.164-.727.436 0 .135.053.33.166.601 1.082 2.646 4.818 10.521 4.818 10.521l.136.046 2.411-4.81-.482-1.067-1.658-3.264s-.318-.654-.428-.872c-.728-1.443-.712-1.518-1.447-1.617-.207-.023-.313-.05-.313-.149v-.468l.06-.045h4.292l.113.037v.451c0 .105-.076.15-.227.15l-.308.047c-.792.061-.661.381-.136 1.422l1.582 3.252 1.758-3.504c.293-.64.233-.801.111-.947-.07-.084-.305-.22-.812-.24l-.201-.021c-.052 0-.098-.015-.145-.051-.045-.031-.067-.076-.067-.129v-.427l.061-.045c1.247-.008 4.043 0 4.043 0l.059.045v.436c0 .121-.059.178-.193.178-.646.03-.782.095-1.023.439-.12.186-.375.589-.646 1.039l-2.301 4.273-.065.135 2.792 5.712.17.048 4.396-10.438c.154-.422.129-.722-.064-.895-.197-.172-.346-.273-.857-.295l-.42-.016c-.061 0-.105-.014-.152-.045-.043-.029-.072-.075-.072-.119v-.436l.059-.045h4.961l.041.045v.437c0 .119-.074.18-.209.18-.648.03-1.127.18-1.443.421-.314.255-.557.616-.736 1.067 0 0-4.043 9.258-5.426 12.339-.525 1.007-1.053.917-1.503-.031-.571-1.171-1.773-3.786-2.646-5.71l.053-.036z",source:"https://commons.wikimedia.org/wiki/File:Wikipedia-logo-v2.svg",hex:"000000"},a6={title:"X",slug:"x",get svg(){return Ue+"X"+qe+this.path+Ge},path:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z",source:"https://x.com",hex:"000000",guidelines:"https://about.x.com/en/who-we-are/brand-toolkit"},eA={title:"Y Combinator",slug:"ycombinator",get svg(){return Ue+"Y Combinator"+qe+this.path+Ge},path:"M0 24V0h24v24H0zM6.951 5.896l4.112 7.708v5.064h1.583v-4.972l4.148-7.799h-1.749l-2.457 4.875c-.372.745-.688 1.434-.688 1.434s-.297-.708-.651-1.434L8.831 5.896h-1.88z",source:"https://www.ycombinator.com/press",hex:"F0652F"},l6={title:"YouTube",slug:"youtube",get svg(){return Ue+"YouTube"+qe+this.path+Ge},path:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",source:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors",hex:"FF0000",guidelines:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors"},tA={title:"Zhihu",slug:"zhihu",get svg(){return Ue+"Zhihu"+qe+this.path+Ge},path:"M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 01-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 01-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607-.523.468-1.58.82-2.64.516 2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753-.594 1.095-1.603 1.122-1.907 1.155.906-1.821 1.416-3.6 1.591-4.064.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937 1.455-.938h1.456v-8.86z",source:"https://www.zhihu.com",hex:"0084FF"},nA={"github.com":kd,"github.io":kd,"raw.githubusercontent.com":kd,"gitlab.com":zz,"npmjs.com":Hz,"pypi.org":Vz,"stackoverflow.com":Gz,"developer.mozilla.org":Fz,"wikipedia.org":Qz,"news.ycombinator.com":eA,"youtube.com":l6,"youtu.be":l6,"x.com":a6,"twitter.com":a6,"bilibili.com":Oz,"zhihu.com":tA,"juejin.cn":Dz,"csdn.net":Tz,"google.com":Az,"baidu.com":Mz,"duckduckgo.com":Lz,"tiktok.com":Yz,"netflix.com":$z,"spotify.com":qz,"facebook.com":Pz,"instagram.com":Rz,"reddit.com":Wz,"telegram.org":i6,"t.me":i6,"weixin.qq.com":Xz,"qq.com":Bz,"whatsapp.com":s6,"wa.me":s6,"weibo.com":Uz,"taobao.com":Kz,"aliexpress.com":jz,"ebay.com":Nz,"quora.com":Zz,"v2ex.com":Jz,"apple.com":Iz};function rA(e){let t;try{const s=new URL(e);if(s.protocol!=="http:"&&s.protocol!=="https:")return;t=s.hostname.toLowerCase()}catch{return}let n,r=0;for(const[s,l]of Object.entries(nA))(t===s||t.endsWith(`.${s}`))&&s.length>r&&(n=l,r=s.length);return n}function oA({href:e,size:t,className:n}){const r=e===void 0?void 0:rA(e);if(r!==void 0)return c.jsx("svg",{width:t,height:t,className:n,viewBox:"-2 -2 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:c.jsx("path",{d:r.path,fill:"currentColor"})})}function vl(e){const t=Yl(e),n=h2(e);if(u9(t))return oz(n)?"code":"other";if(n==="")return"other";switch(t){case"code":case"html":return"code";case"image":return"image";case"excel":case"pdf":case"ppt":case"word":return"document";case"markdown":case"other":case"video":return"other";default:return f9(t)}}const iA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.4326 2.38086H3.56763C2.46306 2.38086 1.56763 3.27629 1.56763 4.38086V11.6192C1.56763 12.7237 2.46306 13.6192 3.56763 13.6192H12.4326C13.5372 13.6192 14.4326 12.7237 14.4326 11.6192V4.38086C14.4326 3.27629 13.5372 2.38086 12.4326 2.38086Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.536 7.03286C11.1948 7.03286 11.7288 6.49884 11.7288 5.8401C11.7288 5.18136 11.1948 4.64734 10.536 4.64734C9.87728 4.64734 9.34326 5.18136 9.34326 5.8401C9.34326 6.49884 9.87728 7.03286 10.536 7.03286Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.5979 9.28409L4.17738 7.37514C4.57462 7.08117 5.12701 7.12145 5.47741 7.46992L8.3322 10.309C8.6572 10.6323 9.1605 10.6931 9.5532 10.4566L10.8859 9.65399C11.2531 9.43289 11.7205 9.47039 12.0477 9.74729L14.2823 11.6379",stroke:"currentColor"})]}),sA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.51919 14.5069H12.4807C13.0679 14.5069 13.5438 14.031 13.5438 13.4438V5.97499C13.5438 5.68818 13.428 5.41352 13.2226 5.21341L9.71251 1.79459C9.51402 1.60124 9.24781 1.49304 8.97075 1.49304H3.51919C2.93204 1.49304 2.45605 1.96902 2.45605 2.55618V13.4438C2.45605 14.031 2.93203 14.5069 3.51919 14.5069Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.90454 1.6095V4.87091C8.90454 5.45806 9.38051 5.93405 9.96768 5.93405H13.4953",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 8.7561H7.83046",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 11.3651H9.36598",stroke:"currentColor"})]}),aA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75275 14.271H12.2473C12.7749 14.271 13.2027 13.8433 13.2027 13.3156V5.91732C13.2027 5.65958 13.0985 5.41276 12.9139 5.23293L9.59477 2.00011C9.4164 1.82636 9.17717 1.72913 8.9282 1.72913H3.75275C3.22511 1.72913 2.79736 2.15686 2.79736 2.68451V13.3156C2.79736 13.8433 3.22511 14.271 3.75275 14.271Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.84888 1.83838V4.94133C8.84888 5.46896 9.2766 5.89671 9.80426 5.89671H13.157",stroke:"currentColor"})]});function f9(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function h9({kind:e,href:t,size:n=14,className:r,strokeWidth:s}){switch(e){case"url":return oA({href:t,size:n,className:r})??c.jsx(Q0,{size:n,className:r,strokeWidth:s});case"folder":return c.jsx(ql,{size:n,className:r,strokeWidth:s});case"code":return c.jsx(e2,{size:n,className:r,strokeWidth:s});case"image":return c.jsx(iA,{size:n,className:r,strokeWidth:s});case"document":return c.jsx(sA,{size:n,className:r,strokeWidth:s});case"other":return c.jsx(aA,{size:n,className:r,strokeWidth:s});default:return f9(e)}}function lA(e){return c.jsx(h9,{...e,strokeWidth:se})}function v1(e){return c.jsx(h9,{...e,strokeWidth:ae})}const cA="_plainRun_1e1vv_6",uA="_refChip_1e1vv_11",dA="_slashChip_1e1vv_30",fA="_refIcon_1e1vv_39",Ns={plainRun:cA,refChip:uA,slashChip:dA,refIcon:fA},hA="_markdown_4cpb5_5",pA="_fileLink_4cpb5_59",mA="_fileMention_4cpb5_85",gA="_linkIcon_4cpb5_94",vA="_tableScroll_4cpb5_192",wA="_tableFill_4cpb5_247",xA="_imageAlt_4cpb5_295",yA="_image_4cpb5_295",_A="_compact_4cpb5_339",bA="_imageButton_4cpb5_454",CA="_previewName_4cpb5_473",kA="_annotationCitation_4cpb5_485",At={markdown:hA,fileLink:pA,fileMention:mA,linkIcon:gA,tableScroll:vA,tableFill:wA,imageAlt:xA,image:yA,compact:_A,imageButton:bA,previewName:CA,annotationCitation:kA},c6=/@\[([^\]\n]+)\]\(dsh-session:[^)\s]+\)/gu,SA=/\[@((?:\\.|[^\\\]\r\n])+)\]\((thread:\/\/[^/?#()\s<>]+\?hostId=[^&#()\s<>]+)\)/gu,EA=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu,jA=/[.,;:!?,。;:!?]+$/u;function IA(e,t,n=[],r="skill",s){const l=Qk(e).map(y=>({start:y.start,end:y.end,label:y.text,kind:"skill",display:y.name}));for(const y of e.matchAll(EA))l.push({start:y.index,end:y.index+y[0].length,label:y[0],kind:"harness",display:y[1].trim()});for(const y of e.matchAll(SA))l.push({start:y.index,end:y.index+y[0].length,label:y[0],kind:"session",display:y[1].replace(/\\([\\`*{}[\]()#+.!_<>|~-])/gu,"$1")});c6.lastIndex=0;let u;for(;(u=c6.exec(e))!==null;)l.push({start:u.index,end:u.index+u[0].length,label:u[0],kind:"session",display:u[1]});for(const y of[...new Set(t)].sort((b,j)=>j.length-b.length)){const b=`@${y}`;let j=e.indexOf(b);for(;j>=0;)l.push({start:j,end:j+b.length,label:b,kind:"session"}),j=e.indexOf(b,j+b.length)}const d=/(^|\s)(\/[\w-]+(?=\s|$)|@"[^"\n]+"|@[^\s]+)/gu;let p;for(;(p=d.exec(e))!==null;){const y=p.index+p[1].length,b=p[2],j=b.startsWith('@"')?b:b.replace(jA,"");j.length<=1||j.startsWith("/")&&!n.includes(j.slice(1))||l.push({start:y,end:y+j.length,label:j,kind:"plain"})}const m=y=>y.kind==="plain"?1:0;l.sort((y,b)=>y.start-b.start||m(y)-m(b)||b.end-y.end);const g=[];let w=0;const x=(y,b)=>{g.push(c.jsx("span",{className:Ns.plainRun,children:e.slice(y,b)},`t${y}`))};for(const y of l){if(y.start<w)continue;const{start:b,end:j,label:I,kind:P}=y;b>w&&x(w,b);const O=P==="skill"?"skill":P==="harness"?"harness":P==="session"?"session":I.startsWith("@")?I.replace(/^@"|"$/gu,"").endsWith("/")?"folder":"file":void 0,B=y.display??(O===void 0?I:O==="session"?I.slice(1):I.slice(1).replace(/^"|"$/gu,"").split(/[\\/]/u).filter(Boolean).at(-1)??I.slice(1)),z=c.jsxs(c.Fragment,{children:[O!==void 0&&c.jsx(c9,{kind:O==="harness"?"session":O,reference:I,size:16,className:Ns.refIcon}),B]}),U=s===void 0?void 0:O==="file"?()=>{s.openFile(I.slice(1).replace(/^"|"$/gu,""))}:O===void 0&&r==="skill"?()=>{s.openSkill(I.slice(1))}:void 0,Z=xe(Ns.refChip,O===void 0&&Ns.slashChip);g.push(U===void 0?c.jsx("span",{className:Z,"data-ref-chip":O??r,title:I,children:z},b):c.jsx("button",{type:"button",className:xe(Z,At.fileMention),"data-ref-chip":O??r,title:I,onClick:ee=>{ee.detail>1||ee.detail!==0&&ee.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||U()},children:z},b)),w=j}return g.length===0?c.jsx("span",{className:Ns.plainRun,children:e}):(w<e.length&&x(w,e.length),c.jsx(c.Fragment,{children:g}))}const MA="_toast_l6cvn_6",OA="_icon_l6cvn_40",TA="_success_l6cvn_47",LA="_text_l6cvn_51",NA="_action_l6cvn_55",li={toast:MA,icon:OA,success:TA,text:LA,action:NA},PA=3e3,zA=1e3;function AA({text:e,icon:t,tone:n,anchor:r,holdMs:s=PA,actions:l,onDone:u}){const d=S.useRef(u);S.useLayoutEffect(()=>{d.current=u},[u]),S.useEffect(()=>{const g=setTimeout(()=>{d.current()},s+zA);return()=>{clearTimeout(g)}},[s]);const[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(r==null)return;const g=()=>{const w=r.getBoundingClientRect();m(w.left+w.width/2)};return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[r]),gn.createPortal(c.jsxs("div",{className:li.toast,role:"alert",style:{...p===null?{}:{left:p},"--dsh-toast-hold":`${String(s)}ms`},children:[n==="success"?c.jsx("span",{className:`${li.icon} ${li.success}`,"aria-hidden":!0,children:c.jsx(Np,{})}):t!==void 0&&c.jsx("span",{className:li.icon,"aria-hidden":!0,children:t}),c.jsxs("span",{className:li.text,children:[e,l?.map(g=>c.jsxs(S.Fragment,{children:[g.prefix,c.jsx("button",{type:"button",className:li.action,onClick:g.onClick,children:g.label})]},g.label))]})]}),document.body)}const RA=5e3;function DA(e){const[t,n]=S.useState(!1);return S.useEffect(()=>{if(!e)return;let r,s=document.visibilityState!=="hidden";const l=()=>{r=setTimeout(()=>n(!0),RA)},u=()=>{const d=document.visibilityState!=="hidden";d!==s&&(s=d,clearTimeout(r),n(!1),s&&l())};return s&&l(),document.addEventListener("visibilitychange",u),()=>{clearTimeout(r),document.removeEventListener("visibilitychange",u),n(!1)}},[e]),e&&t}function FA(e){if(e<1024)return`${e}B`;const t=e/1024;if(t<1024)return`${t<10?t.toFixed(1):Math.round(t)}KB`;const n=t/1024;if(n<1024)return`${n<10?n.toFixed(1):Math.round(n)}MB`;const r=n/1024;return`${r<10?r.toFixed(1):Math.round(r)}GB`}const $A="_form_1vwfs_3",HA="_readOnly_1vwfs_8",VA="_unavailable_1vwfs_9",BA="_footer_1vwfs_16",ZA="_failed_1vwfs_23",WA="_save_1vwfs_32",ci={form:$A,readOnly:HA,unavailable:VA,footer:BA,failed:ZA,save:WA};function UA(e){const{state:t,labels:n}=e,r=S.useRef(e.onDiscard);if(r.current=e.onDiscard,S.useEffect(()=>()=>{r.current()},[]),!t.available)return c.jsx("p",{className:ci.unavailable,role:"status",children:n.unavailable});const s=!t.dirty||t.invalid||t.saving;return c.jsxs("div",{className:ci.form,children:[t.writable?null:c.jsx("p",{className:ci.readOnly,role:"status",children:n.readOnly}),e.children,c.jsxs("div",{className:ci.footer,children:[t.failed?c.jsx("p",{className:ci.failed,role:"status",children:n.saveFailed}):null,c.jsx("button",{type:"button",className:ci.save,disabled:s,onClick:e.onSave,children:t.saving?n.saving:n.save})]})]})}const qA="_field_1o7ya_3",GA="_head_1o7ya_14",KA="_label_1o7ya_20",YA="_labelGroup_1o7ya_29",JA="_helpButton_1o7ya_41",XA="_help_1o7ya_41",QA="_badges_1o7ya_86",eR="_reset_1o7ya_92",tR="_input_1o7ya_114",nR="_invalid_1o7ya_140",rR="_hint_1o7ya_147",zt={field:qA,head:GA,label:KA,labelGroup:YA,helpButton:JA,help:XA,badges:QA,reset:eR,input:tR,invalid:nR,hint:rR};function oR(e){const[t,n]=S.useState(!1),r=`${e.id}-help`,s=`${e.id}-message`,l=e.invalid||!!e.hint,u=[l?s:"",t?r:""].filter(Boolean).join(" ");return c.jsxs("div",{className:zt.field,children:[c.jsxs("div",{className:zt.head,children:[c.jsxs("div",{className:zt.labelGroup,children:[c.jsx("label",{className:zt.label,htmlFor:e.id,children:e.label}),e.help!==void 0?c.jsx("button",{type:"button",className:zt.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":r,onClick:()=>{n(!t)},children:c.jsx(wp,{size:12})}):null]}),e.overridden?c.jsxs("span",{className:zt.badges,children:[c.jsx(a2,{tone:"neutral",children:e.overriddenLabel}),c.jsx("button",{type:"button",className:zt.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),c.jsx("input",{id:e.id,className:zt.input,type:"text",...e.numeric===!0?{inputMode:"numeric"}:{},...e.invalid?{"aria-invalid":!0}:{},"aria-describedby":u||void 0,value:e.text,placeholder:e.placeholder??"",disabled:e.disabled,onChange:d=>{e.onEdit(d.target.value)}}),l?c.jsx("p",{id:s,className:e.invalid?zt.invalid:zt.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?c.jsx("div",{id:r,className:zt.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function iR(e){return c.jsxs("div",{className:zt.field,children:[c.jsxs("div",{className:zt.head,children:[c.jsx("label",{className:zt.label,htmlFor:e.id,children:e.label}),c.jsx("span",{className:zt.badges,children:c.jsx(a2,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),c.jsx("input",{id:e.id,className:zt.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),c.jsx("p",{className:zt.hint,children:e.hint})]})}function sR(e){return{field:e,format:t=>typeof t=="number"?String(t):"",parse:t=>{const n=t.trim();if(n==="")return{kind:"clear"};const r=Number(n);return Number.isFinite(r)?{kind:"set",value:r}:void 0}}}function aR(e){return{field:e,format:t=>typeof t=="string"?t:"",parse:t=>{const n=t.trim();return n===""?{kind:"clear"}:{kind:"set",value:n}}}}class lR{constructor(t,n,r=[]){this.scope=t,this.specs=new Map(n.map(s=>[s.field,s])),this.secretSpecs=new Map(r.map(s=>[s.field,s])),this.unsubscribe=t.subscribe(()=>{this.publish()})}specs;secretSpecs;staged=new Map;listeners=new Set;baseline;unsubscribe;saving=!1;failed=!1;bind(t){const n=Wl(t());return this.listeners.add(()=>{n.set(t())}),n}shell(){const t=this.scope.getSnapshot(),n=this.plan();return{available:t.status==="ready",writable:t.writable,dirty:n.length>0,invalid:n.some(r=>r.run===void 0&&r.op===void 0),saving:this.saving,failed:this.failed}}field(t){const n=this.staged.get(t);if(this.secretSpecs.has(t))return{text:n?.text??"",overridden:!1,invalid:!1};const r=this.spec(t);if(n===void 0)return{text:r.format(this.sectionValue(t)),overridden:this.stored(t),invalid:!1};const s=n.clear?{kind:"clear"}:r.parse(n.text);return{text:n.text,overridden:s?.kind==="set",invalid:s===void 0}}actions(){return{edit:(t,n)=>{this.stage(t,{text:n,clear:!1})},resetField:t=>{this.stage(t,{text:this.spec(t).format(this.baseValue(t)),clear:!0})},save:()=>{this.save()},discard:()=>{this.staged.size===0&&!this.failed||(this.staged.clear(),this.baseline=void 0,this.failed=!1,this.publish())}}}async save(){const t=this.plan();if(!(!t.length||this.saving||!this.scope.getSnapshot().writable||t.some(n=>n.run===void 0&&n.op===void 0))){this.saving=!0,this.failed=!1,this.publish();try{const n=t.flatMap(s=>s.op===void 0?[]:[s.op]);let r=!n.length||await this.scope.mutate(n,this.baseline?.revision);if(!r){this.failed=!0;return}for(const s of t)s.run&&(r=await s.run()&&r);r&&(this.staged.clear(),this.baseline=void 0),this.failed=!r}catch{this.failed=!0}finally{this.saving=!1,this.publish()}}}dispose(){this.unsubscribe(),this.listeners.clear()}plan(){const t=[];for(const[n,r]of this.staged){const s=this.secretSpecs.get(n);if(s!==void 0){const d=r.text.trim();d!==""&&t.push({field:n,run:()=>s.write(d)});continue}const l=this.spec(n);if(r.clear){this.stored(n)&&t.push({field:n,op:{op:"unset",path:[n]}});continue}if(r.text===l.format(this.sectionValue(n)))continue;const u=l.parse(r.text);u===void 0?t.push({field:n}):u.kind==="clear"?t.push({field:n,op:{op:"unset",path:[n]}}):t.push({field:n,op:{op:"set",path:[n],value:u.value}})}return t}stage(t,n){this.baseline??=this.scope.getSnapshot(),this.staged.set(t,n),this.failed=!1,this.publish()}spec(t){const n=this.specs.get(t);if(n===void 0)throw new Error(`plugin card has no field ${t}`);return n}snapshotOf(){return this.scope.getSnapshot()}sectionValue(t){return this.snapshotOf().value?.[t]}baseValue(t){return this.snapshotOf().base?.[t]}userLayer(){return this.snapshotOf().user}stored(t){const n=this.userLayer();return n!==void 0&&Object.hasOwn(n,t)}publish(){for(const t of this.listeners)t()}}const cR="modulepreload",uR=function(e,t){return new URL(e,t).href},u6={},je=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(g){return Promise.all(g.map(w=>Promise.resolve(w).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};const d=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");s=u(n.map(g=>{if(g=uR(g,r),g in u6)return;u6[g]=!0;const w=g.endsWith(".css"),x=w?'[rel="stylesheet"]':"";if(!!r)for(let j=d.length-1;j>=0;j--){const I=d[j];if(I.href===g&&(!w||I.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${x}`))return;const b=document.createElement("link");if(b.rel=w?"stylesheet":cR,w||(b.as="script"),b.crossOrigin="",b.href=g,m&&b.setAttribute("nonce",m),document.head.appendChild(b),w)return new Promise((j,I)=>{b.addEventListener("load",j),b.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${g}`)))})}))}function l(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&l(d.reason);return t().catch(l)})},dR=[nw,rw,ow],fR=new Map([["python",()=>je(()=>import("./langs/python-B6aJPvgy.js"),[],import.meta.url)],["ruby",()=>je(()=>import("./langs/ruby-rH_O_vse.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)],["go",()=>je(()=>import("./langs/go-C27-OAKa.js"),[],import.meta.url)],["rust",()=>je(()=>import("./langs/rust-DPvrY3IQ.js"),[],import.meta.url)],["java",()=>je(()=>import("./langs/java-CylS5w8V.js"),[],import.meta.url)],["c",()=>je(()=>import("./langs/c-BIGW1oBm.js"),[],import.meta.url)],["cpp",()=>je(()=>import("./langs/cpp-DddhVWhK.js"),__vite__mapDeps([10,11]),import.meta.url)],["csharp",()=>je(()=>import("./langs/csharp-B_TYUkTI.js"),[],import.meta.url)],["kotlin",()=>je(()=>import("./langs/kotlin-BdnUsdx6.js"),[],import.meta.url)],["swift",()=>je(()=>import("./langs/swift-C2oV4EkX.js"),[],import.meta.url)],["php",()=>je(()=>import("./langs/php-D8omCIuJ.js"),__vite__mapDeps([14,1,2,3,4,5,6,8,9]),import.meta.url)],["yaml",()=>je(()=>import("./langs/yaml-Buea-lGh.js"),[],import.meta.url)],["toml",()=>je(()=>import("./langs/toml-vGWfd6FD.js"),[],import.meta.url)],["ini",()=>je(()=>import("./langs/ini-BEwlwnbL.js"),[],import.meta.url)],["markdown",()=>je(()=>import("./langs/markdown-Cvjx9yec.js"),[],import.meta.url)],["mdx",()=>je(()=>import("./langs/mdx-Cmh6b_Ma.js"),[],import.meta.url)],["html",()=>je(()=>import("./langs/html-D5X2rnY9.js"),__vite__mapDeps([1,2,3]),import.meta.url)],["css",()=>je(()=>import("./langs/css-Z72CF80r.js"),[],import.meta.url)],["scss",()=>je(()=>import("./langs/scss-Cw6XMfVs.js"),__vite__mapDeps([15,3]),import.meta.url)],["less",()=>je(()=>import("./langs/less-B1dDrJ26.js"),[],import.meta.url)],["sql",()=>je(()=>import("./langs/sql-DkvoVjww.js"),[],import.meta.url)],["xml",()=>je(()=>import("./langs/xml-sdJ4AIDG.js"),__vite__mapDeps([4,5]),import.meta.url)],["lua",()=>je(()=>import("./langs/lua-BaeVxFsk.js"),__vite__mapDeps([12,11]),import.meta.url)],["bat",()=>je(()=>import("./langs/bat-CickPsom.js"),[],import.meta.url)],["powershell",()=>je(()=>import("./langs/powershell-Dd0kTxKP.js"),[],import.meta.url)],["fish",()=>je(()=>import("./langs/fish-BvzEVeQv.js"),[],import.meta.url)],["dotenv",()=>je(()=>import("./langs/dotenv-De0Btta0.js"),[],import.meta.url)],["log",()=>je(()=>import("./langs/log-2UxHyX5q.js"),[],import.meta.url)],["csv",()=>je(()=>import("./langs/csv-fuZLfV_i.js"),[],import.meta.url)],["diff",()=>je(()=>import("./langs/diff-D97Zzqfu.js"),[],import.meta.url)],["http",()=>je(()=>import("./langs/http-BvreBIbD.js"),__vite__mapDeps([16,8,9,4,5,7,2]),import.meta.url)],["rst",()=>je(()=>import("./langs/rst-Do7RLLCS.js"),__vite__mapDeps([17,18,1,2,3,10,11,19,8,9,13,20,0,4,5,6,7,12]),import.meta.url)],["latex",()=>je(()=>import("./langs/latex-BK3a6r9z.js"),__vite__mapDeps([21,22]),import.meta.url)],["bibtex",()=>je(()=>import("./langs/bibtex-CHM0blh-.js"),[],import.meta.url)],["asciidoc",()=>je(()=>import("./langs/asciidoc-CSVQ5wI8.js"),[],import.meta.url)],["r",()=>je(()=>import("./langs/r-Cf5RLm7j.js"),[],import.meta.url)],["julia",()=>je(()=>import("./langs/julia-Cvj785wQ.js"),__vite__mapDeps([23,10,11,19,2,22,6]),import.meta.url)],["dart",()=>je(()=>import("./langs/dart-CtKP3W-j.js"),[],import.meta.url)],["scala",()=>je(()=>import("./langs/scala-CqE71os6.js"),[],import.meta.url)],["clojure",()=>je(()=>import("./langs/clojure-P80f7IUj.js"),[],import.meta.url)],["erlang",()=>je(()=>import("./langs/erlang-DsQrWhSR.js"),__vite__mapDeps([24,25]),import.meta.url)],["elixir",()=>je(()=>import("./langs/elixir-23K7EnKp.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)],["haskell",()=>je(()=>import("./langs/haskell-Df6bDoY_.js"),[],import.meta.url)],["fsharp",()=>je(()=>import("./langs/fsharp-CXgrBDvD.js"),__vite__mapDeps([27,25]),import.meta.url)],["vb",()=>je(()=>import("./langs/vb-Cu-pLBUe.js"),[],import.meta.url)],["perl",()=>je(()=>import("./langs/perl-Devmrv7e.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url)],["verilog",()=>je(()=>import("./langs/verilog-nZwndyjY.js"),[],import.meta.url)],["system-verilog",()=>je(()=>import("./langs/system-verilog-0hqHdDBg.js"),[],import.meta.url)],["graphql",()=>je(()=>import("./langs/graphql-ChAeyPkT.js"),__vite__mapDeps([7,2,8,9]),import.meta.url)],["proto",()=>je(()=>import("./langs/proto-C7zT0LnQ.js"),[],import.meta.url)],["hcl",()=>je(()=>import("./langs/hcl-BWvSN4gD.js"),[],import.meta.url)],["nix",()=>je(()=>import("./langs/nix-CwoSXNpI.js"),[],import.meta.url)],["vue",()=>je(()=>import("./langs/vue-C4DW8agZ.js"),__vite__mapDeps([29,3,2,8,9,1,18]),import.meta.url)],["svelte",()=>je(()=>import("./langs/svelte-xZy73wAj.js"),__vite__mapDeps([30,2,8,9,3]),import.meta.url)],["make",()=>je(()=>import("./langs/make-CHLpvVh8.js"),[],import.meta.url)],["cmake",()=>je(()=>import("./langs/cmake-D1j8_8rp.js"),[],import.meta.url)],["groovy",()=>je(()=>import("./langs/groovy-gcz8RCvz.js"),[],import.meta.url)]]),hR=new Map([["typescript","typescript"],["ts","typescript"],["tsx","typescript"],["javascript","typescript"],["js","typescript"],["jsx","typescript"],["shellscript","shellscript"],["bash","shellscript"],["sh","shellscript"],["shell","shellscript"],["zsh","shellscript"],["json","json"],["jsonc","json"],["py","python"],["python","python"],["rb","ruby"],["ruby","ruby"],["go","go"],["rs","rust"],["rust","rust"],["java","java"],["c","c"],["cpp","cpp"],["cs","csharp"],["csharp","csharp"],["kotlin","kotlin"],["swift","swift"],["php","php"],["yaml","yaml"],["yml","yaml"],["toml","toml"],["ini","ini"],["md","markdown"],["markdown","markdown"],["mdx","mdx"],["html","html"],["css","css"],["scss","scss"],["less","less"],["sql","sql"],["xml","xml"],["lua","lua"],["bat","bat"],["batch","bat"],["powershell","powershell"],["ps1","powershell"],["ps","powershell"],["fish","fish"],["properties","ini"],["dotenv","dotenv"],["env","dotenv"],["log","log"],["csv","csv"],["diff","diff"],["patch","diff"],["http","http"],["rst","rst"],["latex","latex"],["tex","latex"],["bibtex","bibtex"],["bib","bibtex"],["asciidoc","asciidoc"],["adoc","asciidoc"],["r","r"],["julia","julia"],["jl","julia"],["dart","dart"],["scala","scala"],["clojure","clojure"],["clj","clojure"],["erlang","erlang"],["erl","erlang"],["elixir","elixir"],["ex","elixir"],["exs","elixir"],["haskell","haskell"],["hs","haskell"],["fsharp","fsharp"],["fs","fsharp"],["fsi","fsharp"],["fsx","fsharp"],["vb","vb"],["vbnet","vb"],["perl","perl"],["pl","perl"],["pm","perl"],["verilog","verilog"],["v","verilog"],["system-verilog","system-verilog"],["systemverilog","system-verilog"],["sv","system-verilog"],["svh","system-verilog"],["graphql","graphql"],["gql","graphql"],["proto","proto"],["protobuf","proto"],["hcl","hcl"],["tf","hcl"],["tfvars","hcl"],["nix","nix"],["vue","vue"],["svelte","svelte"],["make","make"],["makefile","make"],["mk","make"],["cmake","cmake"],["groovy","groovy"],["gradle","groovy"]]);function Jl(e){return e===void 0?void 0:hR.get(e.toLowerCase())}function p9(e){return Jl(e)!==void 0}const pR=Xv({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),mR=Qv({forgiving:!0,regexConstructor:e=>tw(e,{lazyCompileLength:Number.POSITIVE_INFINITY})});let d6;const gR=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function vR(){const e=ew({themes:[pR],langs:dR,engine:mR});for(const t of gR)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function To(){return d6??=vR(),d6}const f6=new Set,a0=new Set;let m9=0;function p2(e){return a0.add(e),()=>{a0.delete(e)}}function Oi(){return m9}function m2(e){const t=fR.get(e);return t===void 0||To().getLoadedLanguages().includes(e)?!0:(f6.has(e)||(f6.add(e),t().then(n=>{To().loadLanguageSync(n.default),m9+=1;for(const r of a0)r()})),!1)}const wR=setTimeout(()=>{To()},0);wR.unref?.();function xR(e,t){const n=Jl(t);if(n!==void 0&&m2(n))return To().codeToHtml(e,{lang:n,theme:"css-variables"})}const yR=[[4,"underline"],[8,"line-through"]];function _R(e){const t={color:e.color},n=e.fontStyle??0;(n&1)!==0&&(t.fontStyle="italic"),(n&2)!==0&&(t.fontWeight="bold");const r=yR.filter(([s])=>(n&s)!==0);return r.length>0&&(t.textDecoration=r.map(([,s])=>s).join(" ")),t}function h6(e){const t=[];let n="";for(const[r,s]of e.entries()){if(/^\s+$/.test(s.content)&&r+1<e.length){n+=s.content;continue}t.push({text:n+s.content,style:_R(s)}),n=""}return t}class bR{resolved;prefix="";spans=[];state;lastCode;lastLang;lastResult;generation=0;lastFrame;reset(t){this.resolved=t,this.prefix="",this.spans=[],this.state=void 0,this.generation+=1,this.lastFrame=void 0}tokenize(t,n){return To().codeToTokensBase(n,{lang:t,theme:"css-variables",...this.state===void 0?{}:{grammarState:this.state}})}updateFrame(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastFrame!==void 0)return this.lastFrame;this.lastCode=t,this.lastLang=n,this.lastResult=void 0;const r=Jl(n);if(r===void 0||!m2(r)){this.reset(void 0);return}(r!==this.resolved||!t.startsWith(this.prefix))&&this.reset(r);const s=this.spans.length,l=t.slice(this.prefix.length),u=l.lastIndexOf(`
|
|
140
|
-
`);if(u>=0){const d=l[u-1]==="\r"?u-1:u,p=this.tokenize(r,l.slice(0,d));for(const m of p)this.spans.push(h6(m));this.state=To().getLastGrammarState(p),this.prefix=t.slice(0,this.prefix.length+u+1)}return this.lastFrame={generation:this.generation,appended:this.spans.slice(s),tail:this.tokenize(r,l.slice(u+1)).map(h6)},this.lastFrame}update(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastResult!==void 0)return this.lastResult;const r=this.updateFrame(t,n);if(r!==void 0)return this.lastResult=[...this.spans,...r.tail],this.lastResult}}function g9(e,t){const n=Jl(t);if(n===void 0||!m2(n))return;const{tokens:r}=To().codeToTokens(e,{lang:n,theme:"css-variables"}),s=r[r.length-1];return(r.length>1&&s!==void 0&&s.length===0?r.slice(0,-1):r).map(u=>u.map(d=>({text:d.content,style:{color:d.color}})))}const CR={typescript:["ts","tsx","mts","cts"],javascript:["js","jsx","mjs","cjs"],shellscript:["sh","bash","zsh"],fish:["fish"],json:["json","jsonc","jsonl","ndjson","ipynb"],csv:["csv"],python:["py","pyw","pyi"],ruby:["rb","rake","gemspec"],go:["go"],rust:["rs"],java:["java"],c:["c","h"],cpp:["cc","cpp","cxx","hh","hpp","hxx"],csharp:["cs"],kotlin:["kt","kts"],swift:["swift"],php:["php"],yaml:["yaml","yml"],toml:["toml"],ini:["ini","conf","cfg","properties"],dotenv:["env"],log:["log"],diff:["diff","patch"],http:["http"],markdown:["md","markdown"],mdx:["mdx"],rst:["rst"],latex:["tex","sty","cls"],bibtex:["bib"],asciidoc:["adoc"],html:["html","htm","xhtml"],css:["css"],scss:["scss"],less:["less"],sql:["sql"],xml:["xml","xsd","xsl","xslt","plist","svg"],lua:["lua"],bat:["bat","cmd"],powershell:["ps1","psm1","psd1"],r:["r"],julia:["jl"],dart:["dart"],scala:["scala"],clojure:["clj","cljs","edn"],erlang:["erl","hrl"],elixir:["ex","exs"],haskell:["hs"],fsharp:["fs","fsi","fsx"],vb:["vb"],perl:["pl","pm"],verilog:["v"],"system-verilog":["sv","svh"],graphql:["graphql","gql"],proto:["proto"],hcl:["tf","tfvars","hcl"],nix:["nix"],vue:["vue"],svelte:["svelte"],make:["makefile","mk"],cmake:["cmake"],groovy:["gradle","groovy"]},v9=new Map(Object.entries(CR).flatMap(([e,t])=>t.map(n=>[n,e]))),kR=[...v9.keys()];function SR(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),n=e.slice(t+1),r=n.lastIndexOf(".");return r<0?void 0:n.slice(r+1).toLowerCase()}function l0(e){const t=SR(e);return t===void 0?void 0:v9.get(t)}function ER(e){const t=S.useSyncExternalStore(p2,Oi,Oi);return S.useCallback(n=>g9(n,e),[e,t])}function jR(e,t){const l=Math.max(0,t-e);return l<6e4?{unit:"now",n:0}:l<36e5?{unit:"minutes",n:Math.floor(l/6e4)}:l<864e5?{unit:"hours",n:Math.floor(l/36e5)}:l<30*864e5?{unit:"days",n:Math.floor(l/864e5)}:l<365*864e5?{unit:"months",n:Math.floor(l/(30*864e5))}:{unit:"years",n:Math.floor(l/(365*864e5))}}function p6(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function IR(e,t){if(t.length>e.length)return;const n=Number.NEGATIVE_INFINITY;let r=Array(e.length).fill(n);for(let l=0;l<e.length;l++)e.charAt(l)===t.charAt(0)&&(r[l]=1+p6(e,l)-l);for(let l=1;l<t.length;l++){const u=Array(e.length).fill(n);let d=n,p=n,m=n;for(const[g,w]of r.entries()){if(p!==n&&(m=Math.max(m,p+g-2)),e.charAt(g)===t.charAt(l)){const x=1+p6(e,g);let y=n;d!==n&&(y=d+x+4),m!==n&&(y=Math.max(y,m+x+1-g)),u[g]=y}p=d,d=w}r=u}let s=n;for(const l of r)s=Math.max(s,l);return s===n?void 0:s}function MR(e,t){const n=t.toLowerCase();if(n==="")return e;const r=[];return e.forEach((s,l)=>{const u=s.label===void 0?[s.name]:[s.name,s.label];let d=!1,p;for(const m of u){const g=m.toLowerCase(),w=IR(g,n);w!==void 0&&(d||=g.startsWith(n),p=p===void 0?w:Math.max(p,w))}p!==void 0&&r.push({item:s,index:l,prefix:d,score:p})}),r.sort((s,l)=>Number(l.prefix)-Number(s.prefix)||l.score-s.score||s.index-l.index),r.map(s=>s.item)}function OR(){return document.documentElement.dataset.platform==="darwin"}const TR="_root_m1m7t_1",LR="_container_m1m7t_30",NR="_expandedTopLevel_m1m7t_39",PR="_topLevelBracket_m1m7t_46",zR="_expandedTopLevelContainer_m1m7t_51",AR="_row_m1m7t_55",RR="_children_m1m7t_60",DR="_expander_m1m7t_80",FR="_copySlot_m1m7t_92",$R="_label_m1m7t_97",HR="_clickableLabel_m1m7t_103",VR="_stringValue_m1m7t_107",BR="_stringField_m1m7t_111",ZR="_stringText_m1m7t_117",WR="_stringRaw_m1m7t_126",UR="_stringActions_m1m7t_136",qR="_stringToggleSlot_m1m7t_159",GR="_stringToggle_m1m7t_159",KR="_summary_m1m7t_198",YR="_numberValue_m1m7t_205",JR="_keywordValue_m1m7t_209",XR="_otherValue_m1m7t_213",QR="_punctuation_m1m7t_217",eD="_preview_m1m7t_221",tD="_previewProperty_m1m7t_225",nD="_previewEllipsis_m1m7t_229",rD="_actionButton_m1m7t_264",oD="_collapseIcon_m1m7t_325",_e={root:TR,container:LR,expandedTopLevel:NR,topLevelBracket:PR,expandedTopLevelContainer:zR,row:AR,children:RR,expander:DR,copySlot:FR,label:$R,clickableLabel:HR,stringValue:VR,stringField:BR,stringText:ZR,stringRaw:WR,stringActions:UR,stringToggleSlot:qR,stringToggle:GR,summary:KR,numberValue:YR,keywordValue:JR,otherValue:XR,punctuation:QR,preview:eD,previewProperty:tD,previewEllipsis:nD,actionButton:rD,collapseIcon:oD},iD=4,sD=5,m6=2;function aD(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function lD(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function cD(){let e;const t=new Map;return{get:()=>e,set(n){const r=e?.id;e=n;for(const s of new Set([r,n?.id]))if(s!==void 0)for(const l of t.get(s)??[])l()},subscribe(n,r){let s=t.get(n);return s===void 0&&t.set(n,s=new Set),s.add(r),()=>{s.delete(r),s.size===0&&t.delete(n)}}}}function uD({store:e,target:t,persistent:n,labels:r,onCopy:s,onClose:l}){const u=gi(t.path),d=S.useCallback(b=>e.subscribe(u,b),[u,e]),p=()=>{const b=e.get();return b?.id===u?b:void 0},m=S.useSyncExternalStore(d,p,p),g=S.useRef(null),w=m?.state??"idle",x=typeof t.value=="object"&&t.value!==null,y=w==="copied"?r.copied:w==="failed"?r.copyFailed:x?r.copyPrettyJson:r.copyValue;return c.jsx("span",{className:_e.copySlot,children:(n||m!==void 0)&&c.jsx(Xp,{open:m?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:c.jsx("button",{ref:g,type:"button",className:_e.actionButton,"data-json-copy-button":!0,"data-state":w,"aria-label":y,title:r.copyButtonTitle(y),onClick:()=>void s(t,x?"prettyJson":"value"),onContextMenu:b=>{b.preventDefault(),b.stopPropagation(),e.set({id:u,target:t,state:w,menuOpen:!0})},children:w==="copied"?c.jsx(Pi,{size:12}):c.jsx(r2,{size:12})}),items:x?lD(r):aD(r),onSelect:b=>{s(t,b)},onClose:l,getAnchorRect:()=>g.current.getBoundingClientRect()})})}function wl(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function xl(e){return Array.isArray(e)?e.map((t,n)=>[String(n),t]):Object.keys(e).map(t=>[t,e[t]])}function g2(e){return Array.isArray(e)?["[","]"]:["{","}"]}function dD(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.otherValue,children:e.toString()}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):typeof e=="symbol"?c.jsx("span",{className:_e.otherValue,children:e.description??"Symbol"}):typeof e=="function"?c.jsx("span",{className:_e.otherValue,children:e.name||"Function"}):null}function w9(e,t){if(!wl(e))return dD(e);const n=Array.isArray(e),r=xl(e),s=n?sD:iD,l=r.slice(0,s),[u,d]=g2(e);return c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.punctuation,children:u}),t>=m6?c.jsx("span",{className:_e.previewEllipsis,children:"…"}):l.map(([p,m],g)=>c.jsxs("span",{children:[g>0&&c.jsx("span",{className:_e.punctuation,children:", "}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.previewProperty,children:p}),c.jsx("span",{className:_e.punctuation,children:": "})]}),w9(m,t+1)]},p)),t<m6&&r.length>s&&c.jsx("span",{className:_e.previewEllipsis,children:", …"}),c.jsx("span",{className:_e.punctuation,children:d})]})}function x9(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.numberValue,children:`${e.toString()}n`}):e instanceof Date?c.jsx("span",{className:_e.otherValue,children:e.toISOString()}):typeof e=="function"?c.jsxs("span",{className:_e.otherValue,children:["function() ","{ }"]}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):c.jsx("span",{className:_e.otherValue,children:e.toString()})}function c0(e){return e===""?'""':e}function gi(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function y9(e){e.focus()}function fD(e,t){const n=e.closest('[role="tree"]');if(n===null)return;const r=Array.from(n.querySelectorAll("[data-json-expander]")),s=r.indexOf(e);if(s<0||r.length===0)return;const l=(s+t+r.length)%r.length,u=r[l];u!==void 0&&y9(u)}function Sd({field:e,expandable:t,onToggle:n}){return e===void 0?null:c.jsxs("span",{className:xe(_e.label,t&&_e.clickableLabel),onClick:t?n:void 0,children:[c0(e),":"]})}function hD({collapsedStringLines:e,stringWrapping:t,field:n,labels:r,lastElement:s,renderCopy:l,value:u}){const d=S.useId(),p=S.useRef(null),m=S.useRef(null),[g,w]=S.useState(!1),[x,y]=S.useState(!1),[b,j]=S.useState(!1);if(S.useLayoutEffect(()=>{if(g)return;const I=p.current,P=()=>{const B=Number.parseFloat(getComputedStyle(I).lineHeight);j(I.scrollHeight>B*e)};if(P(),typeof ResizeObserver>"u")return;const O=new ResizeObserver(P);return O.observe(I),()=>{O.disconnect()}},[e,g,n,s,u]),S.useLayoutEffect(()=>{if(!g)return;const I=m.current,P=[],O=I.closest(`.${_e.root}`);for(let U=O.parentElement;U!==null;U=U.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(U).overflowY)&&P.push(U);const B=()=>{let U=0,Z=window.innerHeight;for(const q of P){const G=q.getBoundingClientRect(),k=getComputedStyle(q);U=Math.max(U,G.top+q.clientTop),Z=Math.min(Z,G.top+q.clientTop+q.clientHeight-Number.parseFloat(k.paddingBottom))}const ee=Z-Math.max(U,I.getBoundingClientRect().top);I.style.maxHeight=`${Math.max(16,ee-4)}px`};B();const z=typeof ResizeObserver>"u"?void 0:new ResizeObserver(B);z?.observe(I);for(const U of P)z?.observe(U);return window.addEventListener("resize",B),window.addEventListener("scroll",B,!0),()=>{z?.disconnect(),window.removeEventListener("resize",B),window.removeEventListener("scroll",B,!0)}},[g,u]),g){const I=`${d}-field`;return c.jsxs("div",{className:_e.stringField,"data-expanded":!0,children:[n!==void 0&&c.jsxs("span",{id:I,className:_e.label,children:[c0(n),":"]}),c.jsx("pre",{ref:m,id:d,className:_e.stringRaw,"data-wrap":x,tabIndex:0,"aria-labelledby":n===void 0?void 0:I,children:u}),!s&&c.jsx("span",{className:_e.punctuation,children:","}),c.jsxs("div",{className:_e.stringActions,children:[t!==void 0&&c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":x,"aria-controls":d,onClick:()=>{const P=!x;y(P),t.setDefault(P)},children:c.jsx(Cp,{size:12})}),c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":r.collapseNode,title:r.collapseNode,"aria-expanded":!0,"aria-controls":d,onClick:()=>{w(!1)},children:c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","aria-hidden":"true",children:c.jsx("path",{d:"M9.5 1.5V6.5H14.5M1.5 9.5H6.5V14.5"})})}),l?.(!0)]})]})}return c.jsxs(c.Fragment,{children:[l?.(),c.jsx("span",{className:_e.stringField,"data-expanded":g,children:c.jsxs("span",{ref:p,id:d,className:_e.stringText,children:[b&&c.jsx("span",{className:_e.stringToggleSlot,children:c.jsxs("button",{type:"button",className:_e.stringToggle,"aria-label":r.expandNode,"aria-expanded":!1,"aria-controls":d,onClick:()=>{y(t?.getDefault()??!1),w(!0)},children:[c.jsx("span",{"aria-hidden":"true",children:"…"}),r.expandNode]})}),n!==void 0&&c.jsxs("span",{className:_e.label,children:[c0(n),":"]}),x9(u),!s&&c.jsx("span",{className:_e.punctuation,children:","})]})})]})}function u0({collapsedStringLines:e,stringWrapping:t,field:n,initialExpanded:r,labels:s,lastElement:l,onClaimTabStop:u,onRowHover:d,path:p,renderCopy:m,tabStopId:g,value:w}){const x=S.useId(),y=S.useRef(null),[b,j]=S.useState(r),I=gi(p),P=wl(w),O=P?xl(w):[],B=O.length>0,z=()=>{j(G=>!G),y9(y.current)},U=G=>{if(G.key==="ArrowRight"||G.key==="ArrowLeft"){G.preventDefault(),j(G.key==="ArrowRight");return}(G.key==="ArrowUp"||G.key==="ArrowDown")&&(G.preventDefault(),fD(G.currentTarget,G.key==="ArrowUp"?-1:1))},Z=(G,k)=>c.jsxs("div",{className:_e.row,role:"treeitem","aria-expanded":k,onMouseOver:Y=>{Y.stopPropagation(),d(Y.currentTarget,{path:p,value:w})},children:[typeof w!="string"&&m?.({path:p,value:w}),G]});if(typeof w=="string")return Z(c.jsx(hD,{collapsedStringLines:e,stringWrapping:t,field:n,value:w,labels:s,lastElement:l,renderCopy:m===void 0?void 0:G=>m({path:p,value:w},G)}));if(!P)return Z(c.jsxs(c.Fragment,{children:[c.jsx(Sd,{field:n,expandable:!1,onToggle:z}),x9(w),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}));const[ee,q]=g2(w);return B?Z(c.jsxs(c.Fragment,{children:[c.jsx("span",{ref:y,className:xe(_e.expander,b?_e.collapseIcon:_e.expandIcon),"data-json-expander":!0,role:"button","aria-label":b?s.collapseNode:s.expandNode,"aria-expanded":b,"aria-controls":b?x:void 0,tabIndex:g===I?0:-1,onFocus:()=>{u(I)},onClick:z,onKeyDown:U}),c.jsxs("span",{className:_e.summary,children:[c.jsx(Sd,{field:n,expandable:!0,onToggle:z}),c.jsx("span",{className:_e.preview,children:w9(w,0)}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}),b&&c.jsx("ul",{id:x,role:"group",className:_e.children,children:O.map(([G,k],Y)=>c.jsx(u0,{collapsedStringLines:e,stringWrapping:t,field:G,value:k,path:[...p,Array.isArray(w)?Y:G],labels:s,lastElement:Y===O.length-1,initialExpanded:!1,tabStopId:g,onClaimTabStop:u,onRowHover:d,renderCopy:m},G))})]}),b):Z(c.jsxs(c.Fragment,{children:[c.jsx(Sd,{field:n,expandable:!1,onToggle:z}),c.jsx("span",{className:_e.punctuation,children:ee}),c.jsx("span",{className:_e.punctuation,children:q}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}))}function pD(e){return e.reduce((t,n)=>typeof n=="number"?`${t}[${String(n)}]`:/^[A-Za-z_$][\w$]*$/.test(n)?`${t}.${n}`:`${t}[${JSON.stringify(n)}]`,"$")}function mD(e,t){return t==="path"?pD(e.path):t==="prettyJson"?JSON.stringify(e.value,null,2):t==="json"?JSON.stringify(e.value):typeof e.value=="string"?e.value:typeof e.value>"u"?"undefined":typeof e.value=="bigint"?e.value.toString():typeof e.value=="symbol"?e.value.description??"Symbol":typeof e.value=="function"?e.value.name||"Function":JSON.stringify(e.value)}function gD({data:e,label:t,className:n,collapsedStringLines:r=3,stringWrapping:s,copyable:l=!0,expandTopLevel:u=!0,labels:d}){const p=xl(e),m=p.findIndex(([,k])=>wl(k)&&xl(k).length>0),g=p[m],w=u?g===void 0?null:gi([Array.isArray(e)?m:g[0]]):wl(e)&&p.length>0?gi([]):null,x=S.useRef(),y=S.useRef(),b=S.useRef(0),[j]=S.useState(cD),[I,P]=S.useState(w),O=k=>{x.current?.removeAttribute("data-json-copy-active"),x.current=k,k?.setAttribute("data-json-copy-active","")},B=()=>{b.current+=1,y.current!==void 0&&clearTimeout(y.current),O(void 0),j.set(void 0)};S.useEffect(()=>()=>{b.current+=1,y.current!==void 0&&clearTimeout(y.current),x.current?.removeAttribute("data-json-copy-active")},[]),S.useEffect(()=>{B(),P(w)},[e,u,w]);const z=(k,Y)=>{!l||j.get()?.menuOpen||x.current!==k&&(O(k),j.set({id:gi(Y.path),target:Y,state:"idle",menuOpen:!1}))},U=k=>{!l||j.get()?.menuOpen||k.target instanceof Element&&k.target.closest("[data-json-copy-button]")===null&&B()},Z=async(k,Y)=>{const V=++b.current,K={id:gi(k.path),target:k,state:"idle",menuOpen:!1};j.set(K);let X;try{await navigator.clipboard.writeText(mD(k,Y)),X="copied"}catch{X="failed"}const we=j.get();V!==b.current||we?.target!==k||(j.set({...we,state:X}),y.current!==void 0&&clearTimeout(y.current),y.current=setTimeout(()=>{const fe=j.get();fe?.target===k&&j.set({...fe,state:"idle"})},1500))},[ee,q]=g2(e),G=l?(k,Y=!1)=>c.jsx(uD,{store:j,target:k,persistent:Y,labels:d,onCopy:Z,onClose:B}):void 0;return c.jsx("div",{className:xe(_e.root,n),style:{"--json-tree-collapsed-lines":r},onMouseOver:U,onMouseLeave:()=>{j.get()?.menuOpen||B()},children:u?c.jsxs("div",{className:_e.expandedTopLevel,children:[c.jsxs("div",{className:xe(_e.row,_e.topLevelBracket),"data-json-root-row":!0,onMouseOver:k=>{k.stopPropagation(),z(k.currentTarget,{path:[],value:e})},children:[G?.({path:[],value:e}),c.jsx("span",{className:_e.punctuation,children:ee})]}),c.jsx("div",{"aria-label":t,className:xe(_e.container,_e.expandedTopLevelContainer),role:"tree",children:p.map(([k,Y],V)=>c.jsx(u0,{collapsedStringLines:r,stringWrapping:s,field:k,value:Y,path:[Array.isArray(e)?V:k],labels:d,lastElement:V===p.length-1,initialExpanded:!1,tabStopId:I,onClaimTabStop:P,onRowHover:z,renderCopy:G},k))}),c.jsx("div",{className:xe(_e.row,_e.topLevelBracket),children:c.jsx("span",{className:_e.punctuation,children:q})})]}):c.jsx("div",{"aria-label":t,className:_e.container,role:"tree",children:c.jsx(u0,{collapsedStringLines:r,stringWrapping:s,value:e,path:[],labels:d,lastElement:!0,initialExpanded:!0,tabStopId:I,onClaimTabStop:P,onRowHover:z,renderCopy:G})})})}var Ed,g6;function vD(){if(g6)return Ed;g6=1;const e=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],t=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class n{static escapeForHtml(s){return new n().escapeForHtml(s)}static linkify(s){return new n().linkify(s)}static ansiToHtml(s,l){return new n().ansiToHtml(s,l)}static ansiToJson(s,l){return new n().ansiToJson(s,l)}static ansiToText(s){return new n().ansiToText(s)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let d=0;d<2;++d)for(let p=0;p<8;++p)this.PALETTE_COLORS.push(e[d][p].color);let s=[0,95,135,175,215,255],l=(d,p,m)=>s[d]+", "+s[p]+", "+s[m];for(let d=0;d<6;++d)for(let p=0;p<6;++p)for(let m=0;m<6;++m)this.PALETTE_COLORS.push(l(d,p,m));let u=8;for(let d=0;d<24;++d,u+=10)this.PALETTE_COLORS.push(u+", "+u+", "+u)}escapeForHtml(s){return s.replace(/[&<>\"]/gm,l=>l=="&"?"&":l=='"'?""":l=="<"?"<":l==">"?">":"")}linkify(s){return s.replace(t,l=>`<a href="${l}">${l}</a>`)}ansiToHtml(s,l){return this.process(s,l,!0)}ansiToJson(s,l){return l=l||{},l.json=!0,l.clearLine=!1,this.process(s,l,!0)}ansiToText(s){return this.process(s,{},!1)}process(s,l,u){let d=this,p=s.split(/\033\[/),m=p.shift();l==null&&(l={}),l.clearLine=/\r/.test(s);let g=p.map(w=>this.processChunk(w,l,u));if(l&&l.json){let w=d.processChunkJson("");return w.content=m,w.clearLine=l.clearLine,g.unshift(w),l.remove_empty&&(g=g.filter(x=>!x.isEmpty())),g}else g.unshift(m);return g.join("")}processChunkJson(s,l,u){l=typeof l>"u"?{}:l;let d=l.use_classes=typeof l.use_classes<"u"&&l.use_classes,p=l.key=d?"class":"color",m={content:s,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:l.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!m.content},g=s.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!g)return m;m.content=g[4];let w=g[2].split(";");if(g[1]!==""||g[3]!=="m"||!u)return m;let x=this;for(;w.length>0;){let y=w.shift(),b=parseInt(y);if(isNaN(b)||b===0)x.fg=x.bg=null,x.decorations=[];else if(b===1)x.decorations.push("bold");else if(b===2)x.decorations.push("dim");else if(b===3)x.decorations.push("italic");else if(b===4)x.decorations.push("underline");else if(b===5)x.decorations.push("blink");else if(b===7)x.decorations.push("reverse");else if(b===8)x.decorations.push("hidden");else if(b===9)x.decorations.push("strikethrough");else if(b===21)x.removeDecoration("bold");else if(b===22)x.removeDecoration("bold"),x.removeDecoration("dim");else if(b===23)x.removeDecoration("italic");else if(b===24)x.removeDecoration("underline");else if(b===25)x.removeDecoration("blink");else if(b===27)x.removeDecoration("reverse");else if(b===28)x.removeDecoration("hidden");else if(b===29)x.removeDecoration("strikethrough");else if(b===39)x.fg=null;else if(b===49)x.bg=null;else if(b>=30&&b<38)x.fg=e[0][b%10][p];else if(b>=90&&b<98)x.fg=e[1][b%10][p];else if(b>=40&&b<48)x.bg=e[0][b%10][p];else if(b>=100&&b<108)x.bg=e[1][b%10][p];else if(b===38||b===48){let j=b===38;if(w.length>=1){let I=w.shift();if(I==="5"&&w.length>=1){let P=parseInt(w.shift());if(P>=0&&P<=255)if(!d)this.PALETTE_COLORS||x.setupPalette(),j?x.fg=this.PALETTE_COLORS[P]:x.bg=this.PALETTE_COLORS[P];else{let O=P>=16?"ansi-palette-"+P:e[P>7?1:0][P%8].class;j?x.fg=O:x.bg=O}}else if(I==="2"&&w.length>=3){let P=parseInt(w.shift()),O=parseInt(w.shift()),B=parseInt(w.shift());if(P>=0&&P<=255&&O>=0&&O<=255&&B>=0&&B<=255){let z=P+", "+O+", "+B;d?j?(x.fg="ansi-truecolor",x.fg_truecolor=z):(x.bg="ansi-truecolor",x.bg_truecolor=z):j?x.fg=z:x.bg=z}}}}}return x.fg===null&&x.bg===null&&x.decorations.length===0||(m.fg=x.fg,m.bg=x.bg,m.fg_truecolor=x.fg_truecolor,m.bg_truecolor=x.bg_truecolor,m.decorations=x.decorations,m.decoration=x.decorations.slice(-1).pop()||null,m.was_processed=!0),m}processChunk(s,l,u){l=l||{};let d=this.processChunkJson(s,l,u),p=l.use_classes;if(d.decorations=d.decorations.filter(b=>{if(b==="reverse"){d.fg||(d.fg=e[0][7][p?"class":"color"]),d.bg||(d.bg=e[0][0][p?"class":"color"]);let j=d.fg;d.fg=d.bg,d.bg=j;let I=d.fg_truecolor;return d.fg_truecolor=d.bg_truecolor,d.bg_truecolor=I,d.isInverted=!0,!1}return!0}),l.json)return d;if(d.isEmpty())return"";if(!d.was_processed)return d.content;let m=[],g=[],w=[],x={},y=b=>{let j=[],I;for(I in b)b.hasOwnProperty(I)&&j.push("data-"+I+'="'+this.escapeForHtml(b[I])+'"');return j.length>0?" "+j.join(" "):""};return d.isInverted&&(x["ansi-is-inverted"]="true"),d.fg&&(p?(m.push(d.fg+"-fg"),d.fg_truecolor!==null&&(x["ansi-truecolor-fg"]=d.fg_truecolor,d.fg_truecolor=null)):m.push("color:rgb("+d.fg+")")),d.bg&&(p?(m.push(d.bg+"-bg"),d.bg_truecolor!==null&&(x["ansi-truecolor-bg"]=d.bg_truecolor,d.bg_truecolor=null)):m.push("background-color:rgb("+d.bg+")")),d.decorations.forEach(b=>{if(p){g.push("ansi-"+b);return}b==="bold"?g.push("font-weight:bold"):b==="dim"?g.push("opacity:0.5"):b==="italic"?g.push("font-style:italic"):b==="hidden"?g.push("visibility:hidden"):b==="strikethrough"?w.push("line-through"):w.push(b)}),w.length&&g.push("text-decoration:"+w.join(" ")),p?'<span class="'+m.concat(g).join(" ")+'"'+y(x)+">"+d.content+"</span>":'<span style="'+m.concat(g).join(";")+'"'+y(x)+">"+d.content+"</span>"}removeDecoration(s){const l=this.decorations.indexOf(s);l>=0&&this.decorations.splice(l,1)}}return Ed=n,Ed}var wD=vD();const xD=p1(wD),yD={"0,0,0":"var(--dsw-alias-label-primary)","255,255,255":"var(--dsw-alias-label-primary)","85,85,85":"var(--dsw-alias-label-tertiary)","187,0,0":"var(--dsw-alias-state-error-primary)","255,85,85":"var(--dsw-alias-state-error-secondary)","0,187,0":"var(--dsw-alias-state-success-primary)","0,255,0":"var(--dsw-alias-state-success-secondary)","187,187,0":"var(--dsw-alias-state-warn-primary)","255,255,85":"var(--dsw-alias-state-warn-secondary)","0,0,187":"var(--dsw-alias-state-business-primary)","85,85,255":"var(--dsw-static-blue-400)","0,187,187":"var(--dsw-static-blue-600)","85,255,255":"var(--dsw-static-blue-500)"},_D={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},bD=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,CD=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,kD=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,SD=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,ED=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,v6=8,jD=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,ID=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function jd(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:ID.test(e)}const Bs={fg:"",bg:"",attrs:[]},MD={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function _9(e,t){const n=t===""?["0"]:t.split(";");let r=e;for(let s=0;s<n.length;s++){const l=String(n[s]);if(l===""||l==="0"){r=Bs;continue}if(l==="38"||l==="48"){const p=n[s+1]??"",m=p==="2"?4:p==="5"?2:0,g=n.slice(s,s+m+1).join(";");r=l==="38"?{...r,fg:g}:{...r,bg:g},s+=m;continue}const u=MD[l];if(u!==void 0){r={...r,attrs:r.attrs.filter(p=>!u.includes(p))};continue}const d=Number(l);if(l==="39"){r={...r,fg:""};continue}if(l==="49"){r={...r,bg:""};continue}if(d>=30&&d<=37||d>=90&&d<=97){r={...r,fg:l};continue}if(d>=40&&d<=47||d>=100&&d<=107){r={...r,bg:l};continue}r.attrs.includes(l)||(r={...r,attrs:[...r.attrs,l]})}return r}function w6(e){const t=[...e.attrs];return e.fg!==""&&t.push(e.fg),e.bg!==""&&t.push(e.bg),t.length===0?"":`\x1B[${t.join(";")}m`}function Va(e,t){return e.fg===t.fg&&e.bg===t.bg&&e.attrs.length===t.attrs.length&&e.attrs.every((n,r)=>n===t.attrs[r])}function OD(e,t){const n=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,r=[];let s=0,l=t,u=0;const d=(w,x)=>{const y=r[w];y?.spacer===!0&&w>0?r[w-1]={sgr:l,char:x}:y!==void 0&&jd(y.char)&&r[w+1]?.spacer===!0&&(r[w+1]={sgr:l,char:x}),r[w]={sgr:l,char:x}},p=w=>{for(const x of w){if(x==="\r"){s=0;continue}if(x==="\b"){s=Math.max(0,s-1);continue}if(x===" "){const y=s+v6-s%v6;for(;s<y;s++)r[s]??={sgr:l,char:" "};continue}if(jD.test(x)){const y=s>0?r[s-1]:void 0;y!==void 0&&(r[s-1]={sgr:y.sgr,char:y.char+x});continue}d(s," "),r[s]={sgr:l,char:x},s++,jd(x)&&(r[s]={sgr:l,char:"",spacer:!0},s++)}};for(const w of e.matchAll(n)){p(e.slice(u,w.index)),u=w.index+w[0].length;const x=String(w[1]),y=String(w[2]);if(y==="K"){const b=String(x.split(";")[0]);if(b==="1")for(let j=0;j<=s;j++)d(j," ");else r.length=b==="2"?0:s;continue}y==="m"&&(l=_9(l,x))}p(e.slice(u));let m="",g=t;for(let w=0;w<r.length;w++){const x=r[w]??{sgr:Bs,char:" "};Va(x.sgr,g)||(Va(g,Bs)||(m+="\x1B[0m"),m+=w6(x.sgr),g=x.sgr);const y=w>0&&jd(r[w-1]?.char??"");m+=x.spacer===!0&&!y?" ":x.char}return Va(g,l)||(Va(g,Bs)||(m+="\x1B[0m"),m+=w6(l)),{text:m,sgr:l}}function TD(e){const t=[];let n=Bs;for(const r of e.split(`
|
|
141
|
-
`)){const s=r.replace(/\r+$/,"");if(
|
|
142
|
-
`)}function
|
|
143
|
-
`).entries())l>0&&(t=[],n.push(t)),u!==""&&t.push({text:u,style:s})}return n}function
|
|
139
|
+
</svg>`,zig:'<rect x="1" y="1" width="18" height="18" rx="4" fill="#FFF4DF" stroke="#DDE2E8" stroke-width=".5"/><g transform="translate(3 3) scale(.5833333333)"><path fill="#E18A00" d="m23.53 1.02-7.686 3.45h-7.06l-2.98 3.452h7.173L.47 22.98l7.681-3.607h7.065v-.002l2.978-3.45-7.148-.001 12.482-14.9zM0 4.47v14.901h1.883l2.98-3.45H3.451v-8h.942l2.824-3.45H0zm22.117 0-2.98 3.608h1.412v7.844h-.942l-2.98 3.45H24V4.47h-1.883z"/></g>'});function oz({type:e,size:t=20,className:n}){const r=`dsh-code-icon-${S.useId().replaceAll(":","")}`,s=rz[e].replaceAll(nz,r);return c.jsx("svg",{width:t,height:t,className:n,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,dangerouslySetInnerHTML:{__html:s}})}const iz=["angular","c","clojure","cmake","cpp","csharp","css","dart","docker","elixir","env","erlang","flutter","git","go","graphql","haskell","ini","java","javascript","json","kotlin","lua","makefile","node","objective-c","perl","php","powershell","protobuf","python","r","react","ruby","rust","scala","shell","solidity","sql","svelte","swift","toml","typescript","vue","wasm","xml","yaml","zig"],sz=new Set(iz),az={".bash_profile":"shell",".bashrc":"shell",".env":"env",".gitattributes":"git",".gitconfig":"git",".gitignore":"git",".gitmodules":"git",".mailmap":"git",".profile":"shell",".zprofile":"shell",".zshrc":"shell",bsdmakefile:"makefile","cmakelists.txt":"cmake",commit_editmsg:"git","compose.yaml":"docker","compose.yml":"docker","docker-compose.yaml":"docker","docker-compose.yml":"docker",dockerfile:"docker",gemfile:"ruby",gnumakefile:"makefile",guardfile:"ruby",makefile:"makefile","npm-shrinkwrap.json":"node","package-lock.json":"node","package.json":"node",podfile:"ruby",rakefile:"ruby"},lz=[["dockerfile.","docker"],[".env.","env"]],cz=[[".component.ts","angular"],[".component.html","angular"],[".directive.ts","angular"],[".service.ts","angular"],[".module.ts","angular"],[".pipe.ts","angular"],[".guard.ts","angular"],[".interceptor.ts","angular"],[".dockerfile","docker"]],uz={bash:"shell",c:"c","c++":"cpp",cc:"cpp",cfg:"ini",cjs:"javascript",clj:"clojure",cljc:"clojure",cljs:"clojure",cmake:"cmake",cpp:"cpp",cs:"csharp",csh:"shell",css:"css",csx:"csharp",cts:"typescript",cxx:"cpp",dart:"dart",dtd:"xml",edn:"clojure",env:"env",erl:"erlang",es6:"javascript",escript:"erlang",ex:"elixir",exs:"elixir",fish:"shell",gemspec:"ruby",go:"go",gql:"graphql",graphql:"graphql",h:"c","h++":"cpp",hh:"cpp",hpp:"cpp",hrl:"erlang",hs:"haskell",hxx:"cpp",ini:"ini",ipp:"cpp",java:"java",js:"javascript",json:"json",json5:"json",jsonc:"json",jsx:"react",ksh:"shell",kt:"kotlin",kts:"kotlin",lhs:"haskell",lua:"lua",m:"objective-c",mak:"makefile",mjs:"javascript",mk:"makefile",mm:"objective-c",mts:"typescript",node:"node",pch:"objective-c",php:"php",php3:"php",php4:"php",php5:"php",phps:"php",phtml:"php",pl:"perl",plist:"xml",pm:"perl",pod:"perl",proto:"protobuf",ps1:"powershell",psd1:"powershell",psm1:"powershell",py:"python",pyi:"python",pyw:"python",pyx:"python",r:"r",rake:"ruby",rb:"ruby",rmd:"r",rs:"rust",sc:"scala",scala:"scala",sh:"shell",sol:"solidity",sql:"sql",svelte:"svelte",swift:"swift",t:"perl",tcsh:"shell",toml:"toml",tpp:"cpp",ts:"typescript",tsx:"react",vue:"vue",wasm:"wasm",wast:"wasm",wat:"wasm",xml:"xml",xsd:"xml",xsl:"xml",xslt:"xml",yaml:"yaml",yml:"yaml",zig:"zig",zsh:"shell"},dz=new Set(["ts","tsx","js","jsx","mjs","cjs","cts","mts","css","scss","sass","less","html","htm","vue","svelte","astro","json","jsonc","json5","yaml","yml","toml","xml","ini","env","sh","bash","zsh","fish","ps1","bat","cmd","py","pyi","rb","rs","go","java","kt","kts","c","cc","cpp","cxx","h","hh","hpp","cs","php","swift","sql","proto","graphql","gql","lua","r","pl","scala","clj","cljs","ex","exs","erl","hs","dart"]);function fz(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function f9(e){return sz.has(e)}function hz(e){return dz.has(e.toLowerCase())}function pz(e,t,n){const r=az[e];if(r!==void 0)return r;for(const[s,l]of lz)if(e.startsWith(s))return l;for(const[s,l]of cz)if(e.endsWith(s))return l;return t==="dart"&&n!==void 0&&Object.entries(n.files).find(([l])=>fz(l).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":uz[t]??null}const mz="_icon_1wejo_1",gz="_code_1wejo_8",vz="_excel_1wejo_12",wz="_folder_1wejo_16",xz="_html_1wejo_20",yz="_image_1wejo_24",_z="_markdown_1wejo_28",bz="_other_1wejo_32",Cz="_pdf_1wejo_36",kz="_ppt_1wejo_40",Sz="_video_1wejo_44",Ez="_word_1wejo_48",o6={icon:mz,code:gz,excel:vz,folder:wz,html:xz,image:yz,markdown:_z,other:bz,pdf:Cz,ppt:kz,video:Sz,word:Ez},jz={scss:"code",sass:"code",less:"code",vue:"code",svelte:"code",astro:"code",bat:"code",cmd:"code",csv:"excel",tsv:"excel",html:"html",htm:"html",png:"image",jpg:"image",jpeg:"image",gif:"image",svg:"image",webp:"image",avif:"image",bmp:"image",ico:"image",tif:"image",tiff:"image",heic:"image",heif:"image",md:"markdown",mdx:"markdown",markdown:"markdown",pdf:"pdf",ppt:"ppt",pptx:"ppt",key:"ppt",mp4:"video",mov:"video",m4v:"video",webm:"video",mkv:"video",avi:"video",mpg:"video",mpeg:"video",doc:"word",docx:"word",rtf:"word",odt:"word",pages:"word",xls:"excel",xlsx:"excel",xlsm:"excel",xlsb:"excel",xlt:"excel",xltx:"excel",xltm:"excel",ods:"excel",ots:"excel",fods:"excel",numbers:"excel"},Iz={changelog:"markdown",contributing:"markdown",readme:"markdown"};function h9(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function p2(e){const t=h9(e),n=t.lastIndexOf(".");return n<0?"":t.slice(n+1)}function Jl(e,t){const n=h9(e).toLowerCase(),r=p2(n).toLowerCase();return pz(n,r,t)??Iz[n]??jz[r]??"other"}const Mz="M8.48924 28H19.5108C21.6479 28 22.7165 28 23.5594 27.6509C24.6833 27.1853 25.5762 26.2924 26.0417 25.1685C26.3909 24.3256 26.3909 23.257 26.3909 21.1199V8.79443C26.3909 8.32877 26.3909 8.09593 26.3471 7.87507C26.2887 7.58058 26.173 7.30042 26.0067 7.05048C25.882 6.86303 25.7177 6.69799 25.3893 6.36792L20.0611 1.01354C19.7304 0.681235 19.5651 0.515081 19.3769 0.38885C19.126 0.220541 18.8443 0.103463 18.5481 0.0443412C18.3259 0 18.0915 0 17.6226 0H8.48924C6.35209 0 5.28351 0 4.4406 0.349145C3.31672 0.814671 2.4238 1.70759 1.95828 2.83147C1.60913 3.67438 1.60913 4.74296 1.60913 6.88011V21.1199C1.60913 23.257 1.60913 24.3256 1.95828 25.1685C2.4238 26.2924 3.31672 27.1853 4.4406 27.6509C5.28351 28 6.35209 28 8.48924 28Z",i6="M26.3909 7.37445L19.0525 0V3.77445C19.0525 4.89271 19.0525 5.45184 19.2352 5.89289C19.4788 6.48096 19.946 6.94818 20.5341 7.19176C20.9751 7.37445 21.5342 7.37445 22.6525 7.37445H26.3909Z",kd="translate(14 16) scale(1.12) translate(-14 -16)",Va="translate(14 16) scale(1.22) translate(-14 -16)",Oz="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Xn({size:e,className:t,children:n,markTransform:r,muted:s=!1}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:Mz,fill:"currentColor"}),s?c.jsx("path",{d:i6,fill:"var(--dsw-static-neutral-400)"}):c.jsx("path",{d:i6,fill:"var(--dsw-static-neutral-00)",fillOpacity:".7"}),n!==void 0&&c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:r,children:n})]})}function Tz({size:e,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[c.jsx("path",{d:"M2.80078 10.2112C2.80078 9.52802 2.80078 9.18642 2.85314 8.866C2.98648 8.05 3.36942 7.29538 3.94925 6.70595C4.17694 6.4745 4.45264 6.2728 5.00404 5.86939C5.29197 5.65874 5.43594 5.55342 5.58711 5.46632C5.97089 5.24521 6.39638 5.10618 6.83667 5.05803C7.01011 5.03906 7.18849 5.03906 7.54524 5.03906H11.6543C12.4669 5.03906 12.8732 5.03906 13.2599 5.13697C13.3882 5.16945 13.5143 5.20986 13.6375 5.25795C14.0091 5.40294 14.3398 5.63902 15.0012 6.1112L16.2632 7.01224C16.5526 7.21881 16.6972 7.3221 16.8598 7.38553C16.9137 7.40657 16.9689 7.42425 17.025 7.43846C17.1942 7.4813 17.372 7.4813 17.7275 7.4813H19.8008C22.0506 7.4813 23.1755 7.4813 23.9641 8.05425C24.2188 8.23928 24.4428 8.46326 24.6278 8.71794C25.2008 9.50654 25.2008 10.6315 25.2008 12.8813V18.7283C25.2008 20.9781 25.2008 22.1031 24.6278 22.8917C24.4428 23.1463 24.2188 23.3703 23.9641 23.5554C23.1755 24.1283 22.0506 24.1283 19.8008 24.1283H8.20077C5.95094 24.1283 4.82602 24.1283 4.03743 23.5554C3.78274 23.3703 3.55877 23.1463 3.37373 22.8917C2.80078 22.1031 2.80078 20.9781 2.80078 18.7283V10.2112Z",fill:"currentColor"}),c.jsx("g",{color:"var(--dsw-static-neutral-00)","data-file-type-mark":!0,transform:Oz,children:c.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function Lz({size:e,className:t}){return c.jsx(Xn,{size:e,className:t,children:c.jsx("path",{d:"M14 11.5H11.4C10.5599 11.5 10.1399 11.5 9.81901 11.6635C9.53677 11.8073 9.3073 12.0368 9.16349 12.319C9 12.6399 9 13.0599 9 13.9V16.5M14 11.5H16.6C17.4401 11.5 17.8601 11.5 18.181 11.6635C18.4632 11.8073 18.6927 12.0368 18.8365 12.319C19 12.6399 19 13.0599 19 13.9V16.5M14 11.5V21.5M14 21.5H16.6C17.4401 21.5 17.8601 21.5 18.181 21.3365C18.4632 21.1927 18.6927 20.9632 18.8365 20.681C19 20.3601 19 19.9401 19 19.1V16.5M14 21.5H11.4C10.5599 21.5 10.1399 21.5 9.81901 21.3365C9.53677 21.1927 9.3073 20.9632 9.16349 20.681C9 20.3601 9 19.9401 9 19.1V16.5M19 16.5H9",stroke:"currentColor",strokeWidth:"1.2"})})}function Pz(e,t,n){switch(e){case"code":return c.jsxs(Xn,{size:t,className:n,children:[c.jsx("path",{d:"M10.0053 13.126L7.0236 16.3788C6.96052 16.4476 6.96052 16.5532 7.0236 16.622L10.0053 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M17.9941 13.126L20.9759 16.3788C21.039 16.4476 21.039 16.5532 20.9759 16.622L17.9941 19.8748",stroke:"currentColor",strokeWidth:"1.35"}),c.jsx("path",{d:"M15.2652 12.957L12.7344 20.0433",stroke:"currentColor",strokeWidth:"1.35"})]});case"excel":return c.jsx(Lz,{size:t,className:n});case"folder":return c.jsx(Tz,{size:t,className:n});case"html":return c.jsx(Xn,{size:t,className:n,markTransform:kd,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9994 9.68298C17.212 9.68298 19.8167 12.2872 19.8168 15.4997C19.8168 18.7123 17.2121 21.3171 13.9994 21.3171C10.7869 21.3169 8.18274 18.7122 8.18274 15.4997C8.1829 12.2873 10.787 9.68315 13.9994 9.68298ZM9.26213 16.0247C9.47025 17.9241 10.7936 19.4876 12.5639 20.0463C12.42 19.7977 12.2952 19.5152 12.1879 19.2116C11.885 18.3541 11.693 17.2434 11.6424 16.0247H9.26213ZM16.3565 16.0247C16.3059 17.2434 16.1145 18.3542 15.8116 19.2116C15.7044 19.5151 15.5788 19.7971 15.435 20.0456C17.2054 19.487 18.5293 17.9242 18.7374 16.0247H16.3565ZM12.6938 16.0247C12.7439 17.1459 12.9212 18.1334 13.1784 18.8616C13.332 19.2962 13.503 19.61 13.6686 19.805C13.834 19.9996 13.9473 20.0256 13.9994 20.0258C14.0514 20.0258 14.1651 20.0002 14.331 19.805C14.4966 19.61 14.6676 19.2962 14.8211 18.8616C15.0784 18.1334 15.2557 17.1459 15.3058 16.0247H12.6938ZM13.9994 10.733C13.9473 10.7331 13.834 10.7598 13.6686 10.9545C13.503 11.1494 13.3319 11.4633 13.1784 11.8978C12.903 12.6777 12.7188 13.7545 12.6849 14.9747H15.3147C15.2808 13.7545 15.0966 12.6777 14.8211 11.8978C14.6676 11.4633 14.4965 11.1494 14.331 10.9545C14.1651 10.7593 14.0514 10.733 13.9994 10.733ZM15.5888 11.0051C15.6701 11.1756 15.7444 11.3576 15.8116 11.5478C16.1343 12.4613 16.3308 13.6619 16.3647 14.9747H18.7374C18.5352 13.1307 17.2817 11.6036 15.5888 11.0051ZM12.4101 11.0051C10.7174 11.6037 9.46428 13.1308 9.26213 14.9747H11.6349C11.6688 13.6619 11.8652 12.4613 12.1879 11.5478C12.2551 11.3577 12.3288 11.1756 12.4101 11.0051Z",fill:"currentColor"})});case"image":return c.jsxs(Xn,{size:t,className:n,markTransform:kd,children:[c.jsx("path",{d:"M10.4212 15.9204C10.5756 15.6558 10.9579 15.6558 11.1123 15.9204L13.6493 20.2696C13.8048 20.5362 13.6125 20.8711 13.3037 20.8711H8.22974C7.92102 20.8711 7.72868 20.5362 7.88423 20.2696L10.4212 15.9204Z",fill:"currentColor"}),c.jsx("path",{d:"M15.4981 13.186C15.6505 12.9117 16.0451 12.9117 16.1975 13.186L20.1368 20.2769C20.2849 20.5435 20.0922 20.8711 19.7872 20.8711H11.9084C11.6034 20.8711 11.4107 20.5435 11.5588 20.2769L15.4981 13.186Z",fill:"currentColor"}),c.jsx("path",{d:"M11.8603 11.3997C11.8603 12.286 11.1418 13.0045 10.2555 13.0045C9.36924 13.0045 8.65076 12.286 8.65076 11.3997C8.65076 10.5134 9.36924 9.79492 10.2555 9.79492C11.1418 9.79492 11.8603 10.5134 11.8603 11.3997Z",fill:"currentColor"})]});case"markdown":return c.jsx(Xn,{size:t,className:n,markTransform:Va,children:c.jsx("path",{d:"M8.7588 19.5V14.6H9.8998L11.9298 17.932H11.3278L13.3018 14.6H14.4428L14.4568 19.5H13.1828L13.1688 16.539H13.3858L11.9088 19.017H11.2928L9.7738 16.539H10.0398V19.5H8.7588ZM15.4375 19.5V14.6H17.7545C18.2958 14.6 18.7718 14.7003 19.1825 14.901C19.5932 15.1017 19.9128 15.384 20.1415 15.748C20.3748 16.112 20.4915 16.546 20.4915 17.05C20.4915 17.5493 20.3748 17.9833 20.1415 18.352C19.9128 18.716 19.5932 18.9983 19.1825 19.199C18.7718 19.3997 18.2958 19.5 17.7545 19.5H15.4375ZM16.8235 18.394H17.6985C17.9785 18.394 18.2212 18.3427 18.4265 18.24C18.6365 18.1327 18.7998 17.9787 18.9165 17.778C19.0332 17.5727 19.0915 17.33 19.0915 17.05C19.0915 16.7653 19.0332 16.5227 18.9165 16.322C18.7998 16.1213 18.6365 15.9697 18.4265 15.867C18.2212 15.7597 17.9785 15.706 17.6985 15.706H16.8235V18.394Z",fill:"currentColor"})});case"other":return c.jsx(Xn,{size:t,className:n,muted:!0});case"pdf":return c.jsx(Xn,{size:t,className:n,markTransform:Va,children:c.jsx("path",{d:"M6.80616 19.5V14.6H9.04616C9.49416 14.6 9.87916 14.6723 10.2012 14.817C10.5278 14.9617 10.7798 15.1717 10.9572 15.447C11.1345 15.7177 11.2232 16.0397 11.2232 16.413C11.2232 16.7817 11.1345 17.1013 10.9572 17.372C10.7798 17.6427 10.5278 17.8527 10.2012 18.002C9.87916 18.1467 9.49416 18.219 9.04616 18.219H7.57616L8.19216 17.617V19.5H6.80616ZM8.19216 17.764L7.57616 17.127H8.96216C9.2515 17.127 9.46616 17.064 9.60616 16.938C9.75083 16.812 9.82316 16.637 9.82316 16.413C9.82316 16.1843 9.75083 16.007 9.60616 15.881C9.46616 15.755 9.2515 15.692 8.96216 15.692H7.57616L8.19216 15.055V17.764ZM11.8989 19.5V14.6H14.2159C14.7573 14.6 15.2333 14.7003 15.6439 14.901C16.0546 15.1017 16.3743 15.384 16.6029 15.748C16.8363 16.112 16.9529 16.546 16.9529 17.05C16.9529 17.5493 16.8363 17.9833 16.6029 18.352C16.3743 18.716 16.0546 18.9983 15.6439 19.199C15.2333 19.3997 14.7573 19.5 14.2159 19.5H11.8989ZM13.2849 18.394H14.1599C14.4399 18.394 14.6826 18.3427 14.8879 18.24C15.0979 18.1327 15.2613 17.9787 15.3779 17.778C15.4946 17.5727 15.5529 17.33 15.5529 17.05C15.5529 16.7653 15.4946 16.5227 15.3779 16.322C15.2613 16.1213 15.0979 15.9697 14.8879 15.867C14.6826 15.7597 14.4399 15.706 14.1599 15.706H13.2849V18.394ZM17.6821 19.5V14.6H21.5251V15.671H19.0681V19.5H17.6821ZM18.9701 17.82V16.749H21.2311V17.82H18.9701Z",fill:"currentColor"})});case"ppt":return c.jsx(Xn,{size:t,className:n,markTransform:Va,children:c.jsx("path",{d:"M11.0132 20.5V13.5H14.2132C14.8532 13.5 15.4032 13.6033 15.8632 13.81C16.3299 14.0167 16.6899 14.3167 16.9432 14.71C17.1966 15.0967 17.3232 15.5567 17.3232 16.09C17.3232 16.6167 17.1966 17.0733 16.9432 17.46C16.6899 17.8467 16.3299 18.1467 15.8632 18.36C15.4032 18.5667 14.8532 18.67 14.2132 18.67H12.1132L12.9932 17.81V20.5H11.0132ZM12.9932 18.02L12.1132 17.11H14.0932C14.5066 17.11 14.8132 17.02 15.0132 16.84C15.2199 16.66 15.3232 16.41 15.3232 16.09C15.3232 15.7633 15.2199 15.51 15.0132 15.33C14.8132 15.15 14.5066 15.06 14.0932 15.06H12.1132L12.9932 14.15V18.02Z",fill:"currentColor"})});case"video":return c.jsx(Xn,{size:t,className:n,markTransform:kd,children:c.jsx("path",{d:"M17.5 14.634C18.1667 15.0189 18.1667 15.9811 17.5 16.366L11.5 19.8301C10.8333 20.215 10 19.7339 10 18.9641L10 12.0359C10 11.2661 10.8333 10.785 11.5 11.1699L17.5 14.634Z",fill:"currentColor"})});case"word":return c.jsx(Xn,{size:t,className:n,markTransform:Va,children:c.jsx("path",{d:"M10.5118 20.5L8.24179 13.5H10.2818L12.1918 19.56H11.1618L13.1718 13.5H14.9918L16.8918 19.56H15.9018L17.8718 13.5H19.7618L17.4918 20.5H15.3718L13.7518 15.35H14.3218L12.6318 20.5H10.5118Z",fill:"currentColor"})});default:return Nz(e)}}function Nz(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function zz(e){const{size:t=28,className:n}=e,r="path"in e?Jl(e.path,e.context):e.kind;return f9(r)?c.jsx(oz,{type:r,size:t,className:n}):Pz(r,t,xe(o6.icon,o6[r],n))}const Ue='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',qe='</title><path d="',Ge='"/></svg>',Az={title:"AliExpress",slug:"aliexpress",get svg(){return Ue+"AliExpress"+qe+this.path+Ge},path:"M5.166 9.096a.022.022 0 0 0-.022.021c0 .396-.32.717-.713.717a.021.021 0 0 0-.021.022c0 .012.01.021.021.021.394 0 .713.322.713.718 0 .012.01.021.022.021.011 0 .021-.01.021-.021A.717.717 0 0 1 5.9 9.88a.021.021 0 0 0 0-.043.716.716 0 0 1-.713-.718v-.002a.021.021 0 0 0-.006-.015.022.022 0 0 0-.015-.006zm-3.693.526L0 13.462h.48l.355-.922h1.782l.354.922h.481L1.98 9.622zm2.264.002v3.838h.491V9.624zm2.375 0v3.838h2.413v-.502H6.613v-1.19H8.19v-.477H6.613v-1.166h1.773v-.502zm-4.386.592l.698 1.82H1.028zm14.689.402a1.466 1.466 0 0 0-.966.366V10.7h-.491v2.763h.49c.002-.477 0-.955.002-1.433a.969.969 0 0 1 .965-.918zm4.18.007c-.053 0-.105.003-.158.01-.315.031-.606.175-.753.377a.689.689 0 0 0-.14.465c.007.2.066.357.233.496.184.147.42.2.657.259.311.067.426.095.546.186.08.07.133.127.136.27 0 .25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.54-.01.891-.217 1.029-.534.066-.153.063-.309.063-.38a.677.677 0 0 0-.267-.545c-.228-.177-.583-.228-.636-.242-.437-.078-.658-.196-.697-.341-.043-.192.102-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.166 1.166 0 0 0-.939-.494zm2.387 0c-.052 0-.105.003-.157.01-.316.031-.607.175-.753.377a.689.689 0 0 0-.14.465c.006.2.065.357.233.496.183.147.42.2.657.259.31.067.426.095.545.186.081.07.134.127.136.27.001.25-.221.372-.42.41a.89.89 0 0 1-.894-.344l-.371.288c.33.382.777.505 1.09.5.541-.01.891-.217 1.03-.534.065-.153.062-.309.062-.38a.677.677 0 0 0-.267-.545c-.227-.177-.583-.228-.636-.242-.437-.078-.658-.196-.696-.341-.043-.192.101-.35.297-.411a.76.76 0 0 1 .857.277l.367-.247a1.167 1.167 0 0 0-.94-.494zm-9.84.002a1.461 1.461 0 0 0-1.42 1.117 1.305 1.305 0 0 0-.041.327v2.833h.491v-1.813c.17.18.487.42.96.454a1.447 1.447 0 0 0 1.208-.627 1.457 1.457 0 0 0-1.199-2.292zm4.804 0a1.448 1.448 0 0 0-1.288 2.08c.255.53.811.87 1.412.833a1.452 1.452 0 0 0 1.012-.51l-.363-.291a.968.968 0 0 1-1.106.273 1.01 1.01 0 0 1-.602-.69h2.239l.002-.427a1.295 1.295 0 0 0-1.306-1.268zm-9.2.08l1.062 1.377-1.062 1.378h.581l.779-1.01.778 1.01h.581l-1.062-1.378 1.062-1.378h-.581l-.778 1.01-.779-1.01zm-3.825.015v2.74h.49v-2.74zm8.233.37a.96.96 0 0 1 .95.993.963.963 0 0 1-.863.998.962.962 0 0 1-1.034-.739c-.074-.382 0-.746.307-1.019a.959.959 0 0 1 .64-.233zm4.79.015a.823.823 0 0 1 .819.755h-1.76a.964.964 0 0 1 .94-.755z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"FF4747"},Rz={title:"Apple",slug:"apple",get svg(){return Ue+"Apple"+qe+this.path+Ge},path:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",source:"https://www.apple.com",hex:"000000"},Dz={title:"Baidu",slug:"baidu",get svg(){return Ue+"Baidu"+qe+this.path+Ge},path:"M9.154 0C7.71 0 6.54 1.658 6.54 3.707c0 2.051 1.171 3.71 2.615 3.71 1.446 0 2.614-1.659 2.614-3.71C11.768 1.658 10.6 0 9.154 0zm7.025.594C14.86.58 13.347 2.589 13.2 3.927c-.187 1.745.25 3.487 2.179 3.735 1.933.25 3.175-1.806 3.422-3.364.252-1.555-.995-3.364-2.362-3.674a1.218 1.218 0 0 0-.261-.03zM3.582 5.535a2.811 2.811 0 0 0-.156.008c-2.118.19-2.428 3.24-2.428 3.24-.287 1.41.686 4.425 3.297 3.864 2.617-.561 2.262-3.68 2.183-4.362-.125-1.018-1.292-2.773-2.896-2.75zm16.534 1.753c-2.308 0-2.617 2.119-2.617 3.616 0 1.43.121 3.425 2.988 3.362 2.867-.063 2.553-3.238 2.553-3.988 0-.745-.62-2.99-2.924-2.99zm-8.264 2.478c-1.424.014-2.708.925-3.323 1.947-1.118 1.868-2.863 3.05-3.112 3.363-.25.309-3.61 2.116-2.864 5.42.746 3.301 3.365 3.237 3.365 3.237s1.93.19 4.171-.31c2.24-.495 4.17.123 4.17.123s5.233 1.748 6.665-1.616c1.43-3.364-.808-5.109-.808-5.109s-2.99-2.306-4.736-4.798c-1.072-1.665-2.348-2.268-3.528-2.257zm-2.234 3.84l1.542.024v8.197H7.758c-1.47-.291-2.055-1.292-2.13-1.462-.072-.173-.488-.976-.268-2.343.635-2.049 2.447-2.196 2.447-2.196h1.81zm3.964 2.39v3.881c.096.413.612.488.612.488h1.614v-4.343h1.689v5.782h-3.915c-1.517-.39-1.59-1.465-1.59-1.465v-4.317zm-5.458 1.147c-.66.197-.978.708-1.05.928-.076.22-.247.78-.1 1.269.294 1.095 1.248 1.144 1.248 1.144h1.37v-3.34z",source:"https://www.baidu.com",hex:"2932E1"},Fz={title:"Bilibili",slug:"bilibili",get svg(){return Ue+"Bilibili"+qe+this.path+Ge},path:"M17.813 4.653h.854c1.51.054 2.769.578 3.773 1.574 1.004.995 1.524 2.249 1.56 3.76v7.36c-.036 1.51-.556 2.769-1.56 3.773s-2.262 1.524-3.773 1.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036 18.858 0 17.347v-7.36c.036-1.511.556-2.765 1.56-3.76 1.004-.996 2.262-1.52 3.773-1.574h.774l-1.174-1.12a1.234 1.234 0 0 1-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347 0 .653.124.92.373L9.653 4.44c.071.071.134.142.187.213h4.267a.836.836 0 0 1 .16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347 0 .662.151.929.4.267.249.391.551.391.907 0 .355-.124.657-.373.906zM5.333 7.24c-.746.018-1.373.276-1.88.773-.506.498-.769 1.13-.786 1.894v7.52c.017.764.28 1.395.786 1.893.507.498 1.134.756 1.88.773h13.334c.746-.017 1.373-.275 1.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8 11.107c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8 0c.373 0 .684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z",source:"https://www.bilibili.com",hex:"00A1D6"},$z={title:"CSDN",slug:"csdn",get svg(){return Ue+"CSDN"+qe+this.path+Ge},path:"M4.693 13.638c-.497.568-1.363.63-1.712.63-.648 0-1.144-.164-1.474-.488-.313-.307-.478-.76-.489-1.346-.025-1.358.744-2.762 2.074-2.762.635 0 1.124.455 1.311.644a.337.337 0 0 0 .282.099.38.38 0 0 0 .241-.159c.068-.087.135-.237.138-.401s-.057-.344-.243-.49a2.642 2.642 0 0 0-1.668-.591c-.819 0-1.627.376-2.218 1.033-.621.691-.953 1.63-.935 2.646.015.815.282 1.5.773 1.982.528.518 1.3.791 2.235.791 1.097 0 1.776-.325 2.154-.597a.584.584 0 0 0 .24-.456.702.702 0 0 0-.208-.497c-.23-.248-.448-.101-.503-.037ZM9.663 11.488a7.471 7.471 0 0 0-.698-.248c-.157-.048-.309-.091-.45-.131-.922-.26-1.027-.5-1.017-.68.022-.363.515-.853 1.352-.792.607.045 1.015.509 1.205.781.149.214.371.135.434.095a.602.602 0 0 0 .309-.514.626.626 0 0 0-.209-.488 2.654 2.654 0 0 0-3.347-.273c-.456.323-.744.772-.77 1.202-.064 1.061 1.015 1.366 1.803 1.588.214.061.429.127.667.202 1.14.357 1.173.717 1.092 1.267-.082.556-.696.834-1.685.761-1.029-.076-1.464-.61-1.612-.901-.05-.098-.205-.248-.413-.156-.514.229-.473.731-.26.993.339.416 1.15 1.035 2.667 1.035 1.734 0 2.255-.875 2.378-1.64.092-.572-.022-1.028-.348-1.396-.236-.267-.592-.495-1.101-.706ZM16.44 9.323c-.598-.431-1.393-.61-2.36-.532-.712.058-1.274.243-1.335.263l-.006.002a.437.437 0 0 0-.297.379l-.47 5.201a.337.337 0 0 0 .247.35l.072.02.066.018.086.021a7.914 7.914 0 0 0 1.64.183c.972 0 1.765-.23 2.36-.684.764-.583 1.141-1.5 1.118-2.725-.021-1.135-.398-1.974-1.121-2.495Zm-.662 4.461c-.836.639-2.09.562-2.677.481a.128.128 0 0 1-.109-.137l.397-4.248a.113.113 0 0 1 .086-.1c.999-.241 1.777-.168 2.312.218.189.137.348.331.471.568.176.339.277.765.286 1.234.017.916-.24 1.583-.765 1.984ZM23.967 10.41a1.92 1.92 0 0 0-.432-.919c-.399-.465-1.029-.689-1.848-.689-.734 0-1.372.228-1.947.799.007-.086.019-.159.018-.223s-.017-.116-.066-.163c-.048-.045-.077-.067-.127-.077-.05-.01-.122-.008-.256-.006a.587.587 0 0 0-.589.54s-.325 3.874-.428 5.165a.308.308 0 0 0 .073.228.36.36 0 0 0 .26.131h.387a.224.224 0 0 0 .226-.205l.273-2.929.014-.147a1.902 1.902 0 0 1 .082-.412c.014-.045.03-.092.047-.14.245-.694.803-1.72 1.971-1.694.84.018 1.449.455 1.385 1.114-.101 1.034-.266 3.1-.358 4.14-.019.209.182.273.252.273h.304a.442.442 0 0 0 .444-.404s.185-2.127.294-3.352l.048-.532a1.959 1.959 0 0 0-.026-.5Z",source:"https://www.csdn.net/company/index.html",hex:"FC5531"},Hz={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return Ue+"DuckDuckGo"+qe+this.path+Ge},path:"M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 .984C18.083.984 23.016 5.916 23.016 12S18.084 23.016 12 23.016.984 18.084.984 12C.984 5.917 5.916.984 12 .984zm0 .938C6.434 1.922 1.922 6.434 1.922 12c0 4.437 2.867 8.205 6.85 9.55-.237-.82-.776-2.753-1.6-6.052-1.184-4.741-2.064-8.606 2.379-9.813.047-.011.064-.064.03-.093-.514-.467-1.382-.548-2.233-.38a.06.06 0 0 1-.07-.058c0-.011 0-.023.011-.035.205-.286.572-.507.822-.64a1.843 1.843 0 0 0-.607-.335c-.059-.022-.059-.12-.006-.144.006-.006.012-.012.024-.012 1.749-.233 3.586.292 4.49 1.448.011.011.023.017.035.023 2.968.635 3.509 4.837 3.328 5.998a9.607 9.607 0 0 0 2.346-.576c.746-.286 1.008-.222 1.101-.053.1.193-.018.513-.28.81-.496.567-1.393 1.01-2.974 1.137-.546.044-1.029.024-1.445.006-.789-.035-1.339-.059-1.633.39-.192.298-.041.998 1.487 1.22 1.09.157 2.078.047 2.798-.034.643-.07 1.073-.118 1.172.069.21.402-.996 1.207-3.066 1.224-.158 0-.315-.006-.467-.011-1.283-.065-2.227-.414-2.816-.735a.094.094 0 0 1-.035-.017c-.105-.059-.31.045-.188.267.07.134.444.478 1.004.776-.058.466.087 1.184.338 2l.088-.016c.041-.009.087-.019.134-.025.507-.082.775.012.926.175.717-.536 1.913-1.294 2.03-1.154.583.694.66 2.332.53 2.99-.004.012-.017.024-.04.035-.274.117-1.783-.296-1.783-.511-.059-1.075-.26-1.173-.493-1.225h-.156c.006.006.012.018.018.03l.052.12c.093.257.24 1.063.13 1.26-.112.199-.835.297-1.284.303-.443.006-.543-.158-.637-.408-.07-.204-.103-.675-.103-.95a.857.857 0 0 1 .012-.216c-.134.058-.333.193-.397.281-.017.262-.017.682.123 1.149.07.221-1.518 1.164-1.74.99-.227-.181-.634-1.952-.459-2.67-.187.017-.338.075-.42.191-.367.508.093 2.933.582 3.248.257.169 1.54-.553 2.176-1.095.105.145.305.158.553.158.326-.012.782-.06 1.103-.158.192.45.423.972.613 1.388 4.47-1.032 7.803-5.037 7.803-9.82 0-5.566-4.512-10.078-10.078-10.078zm1.791 5.646c-.42 0-.678.146-.795.332-.023.047.047.094.094.07.14-.075.357-.161.701-.156.328.006.516.09.67.159l.023.01c.041.017.088-.03.059-.065-.134-.18-.332-.35-.752-.35zm-5.078.198a1.24 1.24 0 0 0-.522.082c-.454.169-.67.526-.67.76 0 .051.112.057.141.011.081-.123.21-.31.617-.478.408-.17.73-.146.951-.094.047.012.083-.041.041-.07a.989.989 0 0 0-.558-.211zm5.434 1.423a.651.651 0 0 0-.655.647.652.652 0 0 0 1.307 0 .646.646 0 0 0-.652-.647zm.283.262h.008a.17.17 0 0 1 .17.17c0 .093-.077.17-.17.17a.17.17 0 0 1-.17-.17c0-.09.072-.165.162-.17zm-5.358.076a.752.752 0 0 0-.758.758c0 .42.338.758.758.758s.758-.337.758-.758a.756.756 0 0 0-.758-.758zm.328.303h.01c.112 0 .2.089.2.2 0 .11-.088.197-.2.197a.195.195 0 0 1-.197-.198c0-.107.082-.194.187-.199z",source:"https://github.com/duckduckgo/duckduckgo-privacy-extension/blob/5c6ac8d6a07421adbfb97ee2ff855dd7655f8d71/shared/img/logo-small-grayscale.svg",hex:"DE5833",guidelines:"https://duckduckgo.com/press#press-materials"},Vz={title:"eBay",slug:"ebay",get svg(){return Ue+"eBay"+qe+this.path+Ge},path:"M6.056 12.132v-4.92h1.2v3.026c.59-.703 1.402-.906 2.202-.906 1.34 0 2.828.904 2.828 2.855 0 .233-.015.457-.06.668.24-.953 1.274-1.305 2.896-1.344.51-.018 1.095-.018 1.56-.018v-.135c0-.885-.556-1.244-1.53-1.244-.72 0-1.245.3-1.305.81h-1.275c.136-1.29 1.5-1.62 2.686-1.62 1.064 0 1.995.27 2.415 1.02l-.436-.84h1.41l2.055 4.125 2.055-4.126H24l-3.72 7.305h-1.346l1.07-2.04-2.33-4.38c.13.255.2.555.2.93v2.46c0 .346.01.69.04 1.005H16.8a6.543 6.543 0 01-.046-.765c-.603.734-1.32.96-2.32.96-1.48 0-2.272-.78-2.272-1.695 0-.15.015-.284.037-.405-.3 1.246-1.36 2.086-2.767 2.086-.87 0-1.694-.315-2.2-.93 0 .24-.015.494-.04.734h-1.18c.02-.39.04-.855.04-1.245v-1.05h-4.83c.065 1.095.818 1.74 1.853 1.74.718 0 1.355-.3 1.568-.93h1.24c-.24 1.29-1.61 1.725-2.79 1.725C.95 15.009 0 13.822 0 12.232c0-1.754.982-2.91 3.116-2.91 1.688 0 2.93.886 2.94 2.806v.005zm9.137.183c-1.095.034-1.77.233-1.77.95 0 .465.36.97 1.305.97 1.26 0 1.935-.69 1.935-1.814v-.13c-.45 0-.99.006-1.484.022h.012zm-6.06 1.875c1.11 0 1.876-.806 1.876-2.02s-.768-2.02-1.893-2.02c-1.11 0-1.89.806-1.89 2.02s.765 2.02 1.875 2.02h.03zm-4.35-2.514c-.044-1.125-.854-1.546-1.725-1.546-.944 0-1.694.474-1.815 1.546z",source:"https://go.developer.ebay.com/logos",hex:"E53238"},Bz={title:"Facebook",slug:"facebook",get svg(){return Ue+"Facebook"+qe+this.path+Ge},path:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z",source:"https://about.meta.com/brand/resources/facebook/logo",hex:"0866FF",guidelines:"https://about.meta.com/brand/resources/facebook/logo"},Sd={title:"GitHub",slug:"github",get svg(){return Ue+"GitHub"+qe+this.path+Ge},path:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12",source:"https://github.com/logos",hex:"181717",guidelines:"https://github.com/logos"},Zz={title:"GitLab",slug:"gitlab",get svg(){return Ue+"GitLab"+qe+this.path+Ge},path:"m23.6004 9.5927-.0337-.0862L20.3.9814a.851.851 0 0 0-.3362-.405.8748.8748 0 0 0-.9997.0539.8748.8748 0 0 0-.29.4399l-2.2055 6.748H7.5375l-2.2057-6.748a.8573.8573 0 0 0-.29-.4412.8748.8748 0 0 0-.9997-.0537.8585.8585 0 0 0-.3362.4049L.4332 9.5015l-.0325.0862a6.0657 6.0657 0 0 0 2.0119 7.0105l.0113.0087.03.0213 4.976 3.7264 2.462 1.8633 1.4995 1.1321a1.0085 1.0085 0 0 0 1.2197 0l1.4995-1.1321 2.4619-1.8633 5.006-3.7489.0125-.01a6.0682 6.0682 0 0 0 2.0094-7.003z",source:"https://about.gitlab.com/press/press-kit/",hex:"FC6D26",guidelines:"https://about.gitlab.com/handbook/marketing/corporate-marketing/brand-activation/trademark-guidelines/"},Wz={title:"Google",slug:"google",get svg(){return Ue+"Google"+qe+this.path+Ge},path:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z",source:"https://partnermarketinghub.withgoogle.com",hex:"4285F4",guidelines:"https://about.google/brand-resource-center/brand-elements/"},Uz={title:"Instagram",slug:"instagram",get svg(){return Ue+"Instagram"+qe+this.path+Ge},path:"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077",source:"https://about.meta.com/brand/resources/instagram",hex:"FF0069",guidelines:"https://about.meta.com/brand/resources/instagram"},qz={title:"Juejin",slug:"juejin",get svg(){return Ue+"Juejin"+qe+this.path+Ge},path:"m12 14.316 7.454-5.88-2.022-1.625L12 11.1l-.004.003-5.432-4.288-2.02 1.624 7.452 5.88Zm0-7.247 2.89-2.298L12 2.453l-.004-.005-2.884 2.318 2.884 2.3Zm0 11.266-.005.002-9.975-7.87L0 12.088l.194.156 11.803 9.308 7.463-5.885L24 12.085l-2.023-1.624Z",source:"https://juejin.cn",hex:"007FFF"},Gz={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return Ue+"MDN Web Docs"+qe+this.path+Ge},path:"m21.538 1.1-6.745 21.8h-2.77L18.77 1.1ZM24 1.1v21.8h-2.462V1.1Zm-12 0v21.8H9.538V1.1Zm-2.462 0L2.77 22.9H0L6.746 1.1Z",source:"https://github.com/mdn/yari/blob/77e6cda02f7013219e9da27a00b9424085e60fdb/client/src/assets/mdn-logo.svg",hex:"000000"},Kz={title:"Netflix",slug:"netflix",get svg(){return Ue+"Netflix"+qe+this.path+Ge},path:"m5.398 0 8.348 23.602c2.346.059 4.856.398 4.856.398L10.113 0H5.398zm8.489 0v9.172l4.715 13.33V0h-4.715zM5.398 1.5V24c1.873-.225 2.81-.312 4.715-.398V14.83L5.398 1.5z",source:"https://brand.netflix.com/en/assets/logos",hex:"E50914",guidelines:"https://brand.netflix.com/en/assets/logos"},Yz={title:"npm",slug:"npm",get svg(){return Ue+"npm"+qe+this.path+Ge},path:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",source:"https://www.npmjs.com",hex:"CB3837",guidelines:"https://docs.npmjs.com/policies/logos-and-usage"},Jz={title:"PyPI",slug:"pypi",get svg(){return Ue+"PyPI"+qe+this.path+Ge},path:"M23.922 13.58v3.912L20.55 18.72l-.078.055.052.037 3.45-1.256.026-.036v-3.997l-.053-.036-.025.092z M23.621 5.618l-3.04 1.107v3.912l3.339-1.215V5.509zM23.92 13.457V9.544l-3.336 1.215v3.913zM20.47 14.71V10.8L17.17 12v3.913zM17.034 19.996v-3.912l-3.313 1.206v3.912zM17.17 16.057v3.868l3.314-1.206V14.85l-3.314 1.206zm2.093 1.882c-.367.134-.663-.074-.663-.463s.296-.814.663-.947c.365-.133.662.075.662.464s-.297.814-.662.946z M13.225 9.315l.365-.132-3.285-1.197-3.323 1.21.102.037 3.184 1.16zM20.507 10.664V6.751L17.17 7.965v3.913zM17.058 11.918V8.005l-3.302 1.202v3.912zM13.643 9.246l-3.336 1.215v3.913l3.336-1.215zM6.907 13.165l3.322 1.209v-3.913L6.907 9.252z M10.34 7.873l3.281 1.193V5.198l-3.28-1.193zM20.507 2.715L17.19 3.922v3.913l3.317-1.207zM16.95 3.903L13.724 2.73l-3.269 1.19 3.225 1.174zM15.365 4.606l-1.624.592v3.868l3.317-1.207V3.991l-1.693.615zm-.391 2.778c-.367.134-.662-.074-.662-.464s.295-.813.662-.946c.366-.133.663.074.663.464s-.297.813-.663.946z M10.229 18.41v-3.914l-3.322-1.209V17.2zM13.678 17.182v-3.913l-3.371 1.227v3.913z M13.756 17.154l3.3-1.2V12.04l-3.3 1.2zM13.678 21.217l-3.371 1.227v-3.912h-.078v3.912l-3.322-1.209v-3.913l-.053-.058-.025-.06-3.336-1.21v-3.948l.034.013 3.287 1.196.015-.078-3.261-1.187 3.26-1.187v-.109L3.876 9.62l-.307-.112 3.26-1.188v.877l.079-.055V6.769l3.257 1.185.058-.061L7.084 6.75l-.102-.037 3.24-1.179v-.083L6.854 6.677v.018l-.025.018v1.523L3.44 9.47v.02l-.025.017v4.007l-3.39 1.233v.019L0 14.784v3.995l.025.037 3.4 1.237.008-.006.007.01 3.4 1.238.008-.006.006.01 3.4 1.237.014-.009.012.01 3.45-1.256.026-.037-.078-.027zM3.493 9.563l3.257 1.185-3.257 1.187V9.562zM3.4 19.96L.078 18.752v-3.913l2.361.86.96.349v3.913zm.015-3.99L.335 14.85l-.182-.066 3.262-1.187v2.374zm3.399 5.231l-3.321-1.209v-3.912l3.321 1.209v3.912zM23.791 5.434l-3.21-1.17v2.338zM20.387 2.643l-3.24-1.18-3.27 1.19 3.247 1.182z",source:"https://pypi.org",hex:"3775A9"},Xz={title:"QQ",slug:"qq",get svg(){return Ue+"QQ"+qe+this.path+Ge},path:"M21.395 15.035a40 40 0 0 0-.803-2.264l-1.079-2.695c.001-.032.014-.562.014-.836C19.526 4.632 17.351 0 12 0S4.474 4.632 4.474 9.241c0 .274.013.804.014.836l-1.08 2.695a39 39 0 0 0-.802 2.264c-1.021 3.283-.69 4.643-.438 4.673.54.065 2.103-2.472 2.103-2.472 0 1.469.756 3.387 2.394 4.771-.612.188-1.363.479-1.845.835-.434.32-.379.646-.301.778.343.578 5.883.369 7.482.189 1.6.18 7.14.389 7.483-.189.078-.132.132-.458-.301-.778-.483-.356-1.233-.646-1.846-.836 1.637-1.384 2.393-3.302 2.393-4.771 0 0 1.563 2.537 2.103 2.472.251-.03.581-1.39-.438-4.673",source:"https://en.wikipedia.org/wiki/File:Tencent_QQ.svg",hex:"1EBAFC",guidelines:"https://qq.design/brand/BrandDesign/Logo"},Qz={title:"Quora",slug:"quora",get svg(){return Ue+"Quora"+qe+this.path+Ge},path:"M7.3799.9483A11.9628 11.9628 0 0 1 21.248 19.5397l2.4096 2.4225c.7322.7362.21 1.9905-.8272 1.9905l-10.7105.01a12.52 12.52 0 0 1-.304 0h-.02A11.9628 11.9628 0 0 1 7.3818.9503Zm7.3217 4.428a7.1717 7.1717 0 1 0-5.4873 13.2512 7.1717 7.1717 0 0 0 5.4883-13.2511Z",source:"https://www.quora.com",hex:"B92B27"},eA={title:"Reddit",slug:"reddit",get svg(){return Ue+"Reddit"+qe+this.path+Ge},path:"M12 0C5.373 0 0 5.373 0 12c0 3.314 1.343 6.314 3.515 8.485l-2.286 2.286C.775 23.225 1.097 24 1.738 24H12c6.627 0 12-5.373 12-12S18.627 0 12 0Zm4.388 3.199c1.104 0 1.999.895 1.999 1.999 0 1.105-.895 2-1.999 2-.946 0-1.739-.657-1.947-1.539v.002c-1.147.162-2.032 1.15-2.032 2.341v.007c1.776.067 3.4.567 4.686 1.363.473-.363 1.064-.58 1.707-.58 1.547 0 2.802 1.254 2.802 2.802 0 1.117-.655 2.081-1.601 2.531-.088 3.256-3.637 5.876-7.997 5.876-4.361 0-7.905-2.617-7.998-5.87-.954-.447-1.614-1.415-1.614-2.538 0-1.548 1.255-2.802 2.803-2.802.645 0 1.239.218 1.712.585 1.275-.79 2.881-1.291 4.64-1.365v-.01c0-1.663 1.263-3.034 2.88-3.207.188-.911.993-1.595 1.959-1.595Zm-8.085 8.376c-.784 0-1.459.78-1.506 1.797-.047 1.016.64 1.429 1.426 1.429.786 0 1.371-.369 1.418-1.385.047-1.017-.553-1.841-1.338-1.841Zm7.406 0c-.786 0-1.385.824-1.338 1.841.047 1.017.634 1.385 1.418 1.385.785 0 1.473-.413 1.426-1.429-.046-1.017-.721-1.797-1.506-1.797Zm-3.703 4.013c-.974 0-1.907.048-2.77.135-.147.015-.241.168-.183.305.483 1.154 1.622 1.964 2.953 1.964 1.33 0 2.47-.81 2.953-1.964.057-.137-.037-.29-.184-.305-.863-.087-1.795-.135-2.769-.135Z",source:"https://www.redditinc.com/brand",hex:"FF4500",guidelines:"https://www.redditinc.com/brand"},tA={title:"Sina Weibo",slug:"sinaweibo",get svg(){return Ue+"Sina Weibo"+qe+this.path+Ge},path:"M10.098 20.323c-3.977.391-7.414-1.406-7.672-4.02-.259-2.609 2.759-5.047 6.74-5.441 3.979-.394 7.413 1.404 7.671 4.018.259 2.6-2.759 5.049-6.737 5.439l-.002.004zM9.05 17.219c-.384.616-1.208.884-1.829.602-.612-.279-.793-.991-.406-1.593.379-.595 1.176-.861 1.793-.601.622.263.82.972.442 1.592zm1.27-1.627c-.141.237-.449.353-.689.253-.236-.09-.313-.361-.177-.586.138-.227.436-.346.672-.24.239.09.315.36.18.601l.014-.028zm.176-2.719c-1.893-.493-4.033.45-4.857 2.118-.836 1.704-.026 3.591 1.886 4.21 1.983.64 4.318-.341 5.132-2.179.8-1.793-.201-3.642-2.161-4.149zm7.563-1.224c-.346-.105-.57-.18-.405-.615.375-.977.42-1.804 0-2.404-.781-1.112-2.915-1.053-5.364-.03 0 0-.766.331-.571-.271.376-1.217.315-2.224-.27-2.809-1.338-1.337-4.869.045-7.888 3.08C1.309 10.87 0 13.273 0 15.348c0 3.981 5.099 6.395 10.086 6.395 6.536 0 10.888-3.801 10.888-6.82 0-1.822-1.547-2.854-2.915-3.284v.01zm1.908-5.092c-.766-.856-1.908-1.187-2.96-.962-.436.09-.706.511-.616.932.09.42.511.691.932.602.511-.105 1.067.044 1.442.465.376.421.466.977.316 1.473-.136.406.089.856.51.992.405.119.857-.105.992-.512.33-1.021.12-2.178-.646-3.035l.03.045zm2.418-2.195c-1.576-1.757-3.905-2.419-6.054-1.968-.496.104-.812.587-.706 1.081.104.496.586.813 1.082.707 1.532-.331 3.185.15 4.296 1.383 1.112 1.246 1.429 2.943.947 4.416-.165.48.106 1.007.586 1.157.479.165.991-.104 1.157-.586.675-2.088.241-4.478-1.338-6.235l.03.045z",source:"https://en.wikipedia.org/wiki/Sina_Weibo",hex:"E6162D"},nA={title:"Spotify",slug:"spotify",get svg(){return Ue+"Spotify"+qe+this.path+Ge},path:"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",source:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo",hex:"1ED760",guidelines:"https://developer.spotify.com/documentation/general/design-and-branding/#using-our-logo"},rA={title:"Stack Overflow",slug:"stackoverflow",get svg(){return Ue+"Stack Overflow"+qe+this.path+Ge},path:"M15.725 0l-1.72 1.277 6.39 8.588 1.716-1.277L15.725 0zm-3.94 3.418l-1.369 1.644 8.225 6.85 1.369-1.644-8.225-6.85zm-3.15 4.465l-.905 1.94 9.702 4.517.904-1.94-9.701-4.517zm-1.85 4.86l-.44 2.093 10.473 2.201.44-2.092-10.473-2.203zM1.89 15.47V24h19.19v-8.53h-2.133v6.397H4.021v-6.396H1.89zm4.265 2.133v2.13h10.66v-2.13H6.154Z",source:"https://stackoverflow.design/brand/logo/",hex:"F58025",guidelines:"https://stackoverflow.com/legal/trademark-guidance"},oA={title:"Taobao",slug:"taobao",get svg(){return Ue+"Taobao"+qe+this.path+Ge},path:"M21.3099 9.9008c.5285 0 .9584.4284.9584.9589 0 .5276-.4299.958-.9584.958-.5276 0-.9585-.4304-.9585-.958 0-.5305.4309-.959.9585-.959zm2.3899 3.0462h-10.408v-.9595h4.15V9.7591h-2.8869v-.768h2.8868v-.9234h-2.508v.2034h-1.6418V5.3733h1.6418v.3497c.4945-.0607 1.463-.1814 2.5175-.2956v-.8257h1.8522v.6408c.9249-.0807 1.753-.1312 2.211-.1112 1.489.0716 2.4449.2816 2.485 1.273.0356.989-1.4244 1.9043-1.4244 1.9043l-.4509-.4338v.1929h-2.8116v.9233h3.229v.768h-3.229v2.2285h4.3873v.9595zM21.5259 7.299l-.0115-.0115s1.3722-.7595.3427-1.272c-.8633-.43-5.5346.3056-6.9234.6257v.6578h6.5922zM1.8822 6.4166c.5515 0 .9985-.449.9985-1 0-.5531-.447-.9995-.9985-.9995a.9984.9984 0 00-1.001.9995c0 .551.4463 1 1.001 1zm3.4094-.8596c.252-.4364.3717-.7195.3717-.7195l-1.466-.4123S3.6068 6.3546 2.5527 7.253c0 0 1.0195.5897 1.0095.5732a9.6444 9.6444 0 00.782-.8793c.2345-.1017.4585-.198.6794-.2876-.2715.487-.7094 1.219-1.1478 1.6809l.6178.5385s.4198-.4033.8792-.8907h.5246v.8993H3.8557v.7204h2.0416v1.7235c-.025 0-.0521 0-.0782-.002-.224-.0106-.5751-.0476-.7124-.265-.1678-.2636-.044-.7496-.0346-1.0457H3.6608l-.0496.026s-.517 2.3142 1.489 2.2621c1.8793.0521 2.9544-.523 3.4725-.9178l.2064.7645 1.1583-.4825-.785-1.9183-.941.292.1764.6574c-.2415.1809-.518.3157-.8187.4134V9.6076h1.995v-.7204h-1.995v-.8993h2.003v-.72h-3.557c.2565-.3111.4589-.5982.5095-.78L5.9058 6.32c2.6603-.9519 4.1408-.7886 4.1278.773v4.1128s.1568 1.4124-1.461 1.3107l-.8757-.188-.207.8307s3.7822 1.0812 4.0913-1.8246c.3096-2.9058-.0767-4.7576-.0767-4.7576s-.3451-2.6824-6.213-1.02zM.0582 12.1534l1.5867.9905c1.0967-2.3813 1.0265-2.0657 1.302-2.92.2832-.8737.3453-1.54-.1362-2.023-.6172-.6197-.6844-.6773-1.6017-1.3582L.5487 7.8562l1.2164.7576s.8141.4153.4274 1.1903c-.3617.7375-2.1343 2.3493-2.1343 2.3493zm19.94 6.8484s-.0186.523-.6704.523c-.5892 0-.6363-.4113-.6363-.4113-.2485.2996-.6207.4549-1.0696.4549-.7606 0-1.2961-.5135-1.2961-1.2896 0-.786.5576-1.28 1.3983-1.28.3832 0 .725.1462.9258.4037.0066-.0706.0136-.1362.0136-.1968 0-.5622-.3092-.8127-1.01-.8127-.3382 0-.6659.0486-1.0136.1408.1107-.219.1924-.3793.2971-.4574.1202-.0972.4294-.1408.9419-.1408 1.269 0 1.742.4259 1.742 1.4279v1.2024c0 .3161.033.4359.3772.4359zm-1.3272-.745c0-.4815-.2555-.747-.6378-.747-.4043 0-.6668.2825-.6668.7595 0 .467.2775.7615.6533.7615.3882 0 .6513-.275.6513-.774zm5.2706-.501c0 1.1528-.6924 1.8271-1.7786 1.8271-1.0957 0-1.7766-.6743-1.7766-1.8271 0-1.1584.6809-1.8252 1.7766-1.8252 1.0862 0 1.7786.6719 1.7786 1.8252zm-1.0867 0c0-.8693-.237-1.2997-.692-1.2997-.4734 0-.6938.4304-.6938 1.2997 0 .8662.2204 1.299.6939 1.299.467 0 .6919-.4328.6919-1.299zm-7.1313-.0441c0 1.1703-.6534 1.8567-1.5767 1.8567-.4233 0-.8056-.1633-1.0466-.47 0 0-.1082.4264-.6618.4264-.6884 0-.6644-.523-.6644-.523.3868.0165.3758-.2145.3758-.436v-2.8862c0-.3552-.0742-.4795-.4269-.4865.0136-.1072.0777-.5376.6789-.5376.8156 0 .7615.9149.7615.9149v.786c.229-.268.5516-.3942.9905-.3942.9624 0 1.5697.6447 1.5697 1.7495zm-1.0937.0806c0-.8983-.2716-1.3557-.7616-1.3557-.4393 0-.74.3968-.74 1.1047v.3602c0 .7205.3152 1.1168.7631 1.1168.477 0 .7385-.4134.7385-1.226zm-3.2425-.0365c0 1.1528-.688 1.8271-1.7806 1.8271-1.0937 0-1.7726-.6743-1.7726-1.8271 0-1.1584.6789-1.8252 1.7726-1.8252 1.0927 0 1.7806.6719 1.7806 1.8252zm-1.0832 0c0-.8693-.236-1.2997-.6974-1.2997-.467 0-.6874.4304-.6874 1.2997 0 .8662.2205 1.299.6874 1.299.469 0 .6974-.4328.6974-1.299zm-5.9895-2.716c-.268.0782-.7901.0972-1.5516.0972-.925 0-1.5391-.039-1.8543-.039-.5195 0-.7254.1342-.9088.6592.3006-.1017.6729-.1087 1.1353-.1087.3512 0 .4108.0431.4108.2941V18.846c0 .2821.1178.6789.7255.6789.7104 0 .8346-.526.8346-.526-.3552-.007-.4248-.1313-.4248-.4865V15.952c0-.2675.1012-.2795.471-.2795.1252 0 .2094.007.2605.007.545 0 .6883-.1047.9018-.6398zm3.1303 3.962s-.018.523-.6664.523c-.556 0-.6403-.4113-.6403-.4113-.248.2996-.6207.4549-1.0656.4549-.7655 0-1.2996-.5135-1.2996-1.2896 0-.786.557-1.28 1.3993-1.28.3843 0 .7274.1462.9258.4037.0036-.0706.0106-.1362.0106-.1968 0-.5622-.3051-.8127-1.007-.8127-.3382 0-.6669.0486-1.015.1408.1131-.219.1923-.3793.2945-.4574.1293-.0972.4329-.1408.9469-.1408 1.265 0 1.746.4259 1.746 1.4279v1.2024c0 .3161.0276.4359.3708.4359zm-1.3262-.745c0-.4815-.2555-.747-.6378-.747-.4013 0-.6668.2825-.6668.7595 0 .467.279.7615.6513.7615.3893 0 .6533-.275.6533-.774z",source:"https://www.alibabagroup.com/en/ir/reports",hex:"E94F20"},s6={title:"Telegram",slug:"telegram",get svg(){return Ue+"Telegram"+qe+this.path+Ge},path:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z",source:"https://telegram.org/tour/screenshots",hex:"26A5E4"},iA={title:"TikTok",slug:"tiktok",get svg(){return Ue+"TikTok"+qe+this.path+Ge},path:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z",source:"https://tiktok.com",hex:"000000"},sA={title:"V2EX",slug:"v2ex",get svg(){return Ue+"V2EX"+qe+this.path+Ge},path:"M.671 1.933h13.821a1.342 1.342 0 0 1 .98.425l8.166 8.725a1.342 1.342 0 0 1 0 1.834l-8.166 8.724a1.342 1.342 0 0 1-.98.426H.673A.671.671 0 0 1 0 21.395v-6.878h13.19l2.276-2.28a.336.336 0 0 0 0-.474l-2.276-2.28H0V2.604a.671.671 0 0 1 .671-.671Z",source:"https://www.v2ex.com",hex:"1F1F1F"},aA={title:"WeChat",slug:"wechat",get svg(){return Ue+"WeChat"+qe+this.path+Ge},path:"M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z",source:"https://wechat.design/tool/brand",hex:"07C160",guidelines:"https://wechat.design/brand/main-brand"},a6={title:"WhatsApp",slug:"whatsapp",get svg(){return Ue+"WhatsApp"+qe+this.path+Ge},path:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z",source:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand",hex:"25D366",guidelines:"https://about.meta.com/brand/resources/whatsapp/whatsapp-brand"},lA={title:"Wikipedia",slug:"wikipedia",get svg(){return Ue+"Wikipedia"+qe+this.path+Ge},path:"M12.09 13.119c-.936 1.932-2.217 4.548-2.853 5.728-.616 1.074-1.127.931-1.532.029-1.406-3.321-4.293-9.144-5.651-12.409-.251-.601-.441-.987-.619-1.139-.181-.15-.554-.24-1.122-.271C.103 5.033 0 4.982 0 4.898v-.455l.052-.045c.924-.005 5.401 0 5.401 0l.051.045v.434c0 .119-.075.176-.225.176l-.564.031c-.485.029-.727.164-.727.436 0 .135.053.33.166.601 1.082 2.646 4.818 10.521 4.818 10.521l.136.046 2.411-4.81-.482-1.067-1.658-3.264s-.318-.654-.428-.872c-.728-1.443-.712-1.518-1.447-1.617-.207-.023-.313-.05-.313-.149v-.468l.06-.045h4.292l.113.037v.451c0 .105-.076.15-.227.15l-.308.047c-.792.061-.661.381-.136 1.422l1.582 3.252 1.758-3.504c.293-.64.233-.801.111-.947-.07-.084-.305-.22-.812-.24l-.201-.021c-.052 0-.098-.015-.145-.051-.045-.031-.067-.076-.067-.129v-.427l.061-.045c1.247-.008 4.043 0 4.043 0l.059.045v.436c0 .121-.059.178-.193.178-.646.03-.782.095-1.023.439-.12.186-.375.589-.646 1.039l-2.301 4.273-.065.135 2.792 5.712.17.048 4.396-10.438c.154-.422.129-.722-.064-.895-.197-.172-.346-.273-.857-.295l-.42-.016c-.061 0-.105-.014-.152-.045-.043-.029-.072-.075-.072-.119v-.436l.059-.045h4.961l.041.045v.437c0 .119-.074.18-.209.18-.648.03-1.127.18-1.443.421-.314.255-.557.616-.736 1.067 0 0-4.043 9.258-5.426 12.339-.525 1.007-1.053.917-1.503-.031-.571-1.171-1.773-3.786-2.646-5.71l.053-.036z",source:"https://commons.wikimedia.org/wiki/File:Wikipedia-logo-v2.svg",hex:"000000"},l6={title:"X",slug:"x",get svg(){return Ue+"X"+qe+this.path+Ge},path:"M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z",source:"https://x.com",hex:"000000",guidelines:"https://about.x.com/en/who-we-are/brand-toolkit"},cA={title:"Y Combinator",slug:"ycombinator",get svg(){return Ue+"Y Combinator"+qe+this.path+Ge},path:"M0 24V0h24v24H0zM6.951 5.896l4.112 7.708v5.064h1.583v-4.972l4.148-7.799h-1.749l-2.457 4.875c-.372.745-.688 1.434-.688 1.434s-.297-.708-.651-1.434L8.831 5.896h-1.88z",source:"https://www.ycombinator.com/press",hex:"F0652F"},c6={title:"YouTube",slug:"youtube",get svg(){return Ue+"YouTube"+qe+this.path+Ge},path:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",source:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors",hex:"FF0000",guidelines:"https://www.youtube.com/howyoutubeworks/resources/brand-resources/#logos-icons-and-colors"},uA={title:"Zhihu",slug:"zhihu",get svg(){return Ue+"Zhihu"+qe+this.path+Ge},path:"M5.721 0C2.251 0 0 2.25 0 5.719V18.28C0 21.751 2.252 24 5.721 24h12.56C21.751 24 24 21.75 24 18.281V5.72C24 2.249 21.75 0 18.281 0zm1.964 4.078c-.271.73-.5 1.434-.68 2.11h4.587c.545-.006.445 1.168.445 1.171H9.384a58.104 58.104 0 01-.112 3.797h2.712c.388.023.393 1.251.393 1.266H9.183a9.223 9.223 0 01-.408 2.102l.757-.604c.452.456 1.512 1.712 1.906 2.177.473.681.063 2.081.063 2.081l-2.794-3.382c-.653 2.518-1.845 3.607-1.845 3.607-.523.468-1.58.82-2.64.516 2.218-1.73 3.44-3.917 3.667-6.497H4.491c0-.015.197-1.243.806-1.266h2.71c.024-.32.086-3.254.086-3.797H6.598c-.136.406-.158.447-.268.753-.594 1.095-1.603 1.122-1.907 1.155.906-1.821 1.416-3.6 1.591-4.064.425-1.124 1.671-1.125 1.671-1.125zM13.078 6h6.377v11.33h-2.573l-2.184 1.373-.401-1.373h-1.219zm1.313 1.219v8.86h.623l.263.937 1.455-.938h1.456v-8.86z",source:"https://www.zhihu.com",hex:"0084FF"},dA={"github.com":Sd,"github.io":Sd,"raw.githubusercontent.com":Sd,"gitlab.com":Zz,"npmjs.com":Yz,"pypi.org":Jz,"stackoverflow.com":rA,"developer.mozilla.org":Gz,"wikipedia.org":lA,"news.ycombinator.com":cA,"youtube.com":c6,"youtu.be":c6,"x.com":l6,"twitter.com":l6,"bilibili.com":Fz,"zhihu.com":uA,"juejin.cn":qz,"csdn.net":$z,"google.com":Wz,"baidu.com":Dz,"duckduckgo.com":Hz,"tiktok.com":iA,"netflix.com":Kz,"spotify.com":nA,"facebook.com":Bz,"instagram.com":Uz,"reddit.com":eA,"telegram.org":s6,"t.me":s6,"weixin.qq.com":aA,"qq.com":Xz,"whatsapp.com":a6,"wa.me":a6,"weibo.com":tA,"taobao.com":oA,"aliexpress.com":Az,"ebay.com":Vz,"quora.com":Qz,"v2ex.com":sA,"apple.com":Rz};function fA(e){let t;try{const s=new URL(e);if(s.protocol!=="http:"&&s.protocol!=="https:")return;t=s.hostname.toLowerCase()}catch{return}let n,r=0;for(const[s,l]of Object.entries(dA))(t===s||t.endsWith(`.${s}`))&&s.length>r&&(n=l,r=s.length);return n}function hA({href:e,size:t,className:n}){const r=e===void 0?void 0:fA(e);if(r!==void 0)return c.jsx("svg",{width:t,height:t,className:n,viewBox:"-2 -2 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:c.jsx("path",{d:r.path,fill:"currentColor"})})}function wl(e){const t=Jl(e),n=p2(e);if(f9(t))return hz(n)?"code":"other";if(n==="")return"other";switch(t){case"code":case"html":return"code";case"image":return"image";case"excel":case"pdf":case"ppt":case"word":return"document";case"markdown":case"other":case"video":return"other";default:return p9(t)}}const pA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M12.4326 2.38086H3.56763C2.46306 2.38086 1.56763 3.27629 1.56763 4.38086V11.6192C1.56763 12.7237 2.46306 13.6192 3.56763 13.6192H12.4326C13.5372 13.6192 14.4326 12.7237 14.4326 11.6192V4.38086C14.4326 3.27629 13.5372 2.38086 12.4326 2.38086Z",stroke:"currentColor"}),c.jsx("path",{d:"M10.536 7.03286C11.1948 7.03286 11.7288 6.49884 11.7288 5.8401C11.7288 5.18136 11.1948 4.64734 10.536 4.64734C9.87728 4.64734 9.34326 5.18136 9.34326 5.8401C9.34326 6.49884 9.87728 7.03286 10.536 7.03286Z",stroke:"currentColor"}),c.jsx("path",{d:"M1.5979 9.28409L4.17738 7.37514C4.57462 7.08117 5.12701 7.12145 5.47741 7.46992L8.3322 10.309C8.6572 10.6323 9.1605 10.6931 9.5532 10.4566L10.8859 9.65399C11.2531 9.43289 11.7205 9.47039 12.0477 9.74729L14.2823 11.6379",stroke:"currentColor"})]}),mA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.51919 14.5069H12.4807C13.0679 14.5069 13.5438 14.031 13.5438 13.4438V5.97499C13.5438 5.68818 13.428 5.41352 13.2226 5.21341L9.71251 1.79459C9.51402 1.60124 9.24781 1.49304 8.97075 1.49304H3.51919C2.93204 1.49304 2.45605 1.96902 2.45605 2.55618V13.4438C2.45605 14.031 2.93203 14.5069 3.51919 14.5069Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.90454 1.6095V4.87091C8.90454 5.45806 9.38051 5.93405 9.96768 5.93405H13.4953",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 8.7561H7.83046",stroke:"currentColor"}),c.jsx("path",{d:"M4.31152 11.3651H9.36598",stroke:"currentColor"})]}),gA=({size:e,className:t,strokeWidth:n})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:n,children:[c.jsx("path",{d:"M3.75275 14.271H12.2473C12.7749 14.271 13.2027 13.8433 13.2027 13.3156V5.91732C13.2027 5.65958 13.0985 5.41276 12.9139 5.23293L9.59477 2.00011C9.4164 1.82636 9.17717 1.72913 8.9282 1.72913H3.75275C3.22511 1.72913 2.79736 2.15686 2.79736 2.68451V13.3156C2.79736 13.8433 3.22511 14.271 3.75275 14.271Z",stroke:"currentColor"}),c.jsx("path",{d:"M8.84888 1.83838V4.94133C8.84888 5.46896 9.2766 5.89671 9.80426 5.89671H13.157",stroke:"currentColor"})]});function p9(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function m9({kind:e,href:t,size:n=14,className:r,strokeWidth:s}){switch(e){case"url":return hA({href:t,size:n,className:r})??c.jsx(e2,{size:n,className:r,strokeWidth:s});case"folder":return c.jsx(Gl,{size:n,className:r,strokeWidth:s});case"code":return c.jsx(t2,{size:n,className:r,strokeWidth:s});case"image":return c.jsx(pA,{size:n,className:r,strokeWidth:s});case"document":return c.jsx(mA,{size:n,className:r,strokeWidth:s});case"other":return c.jsx(gA,{size:n,className:r,strokeWidth:s});default:return p9(e)}}function vA(e){return c.jsx(m9,{...e,strokeWidth:se})}function w1(e){return c.jsx(m9,{...e,strokeWidth:ae})}const wA="_plainRun_1e1vv_6",xA="_refChip_1e1vv_11",yA="_slashChip_1e1vv_30",_A="_refIcon_1e1vv_39",Ns={plainRun:wA,refChip:xA,slashChip:yA,refIcon:_A},bA="_markdown_4cpb5_5",CA="_fileLink_4cpb5_59",kA="_fileMention_4cpb5_85",SA="_linkIcon_4cpb5_94",EA="_tableScroll_4cpb5_192",jA="_tableFill_4cpb5_247",IA="_imageAlt_4cpb5_295",MA="_image_4cpb5_295",OA="_compact_4cpb5_339",TA="_imageButton_4cpb5_454",LA="_previewName_4cpb5_473",PA="_annotationCitation_4cpb5_485",Rt={markdown:bA,fileLink:CA,fileMention:kA,linkIcon:SA,tableScroll:EA,tableFill:jA,imageAlt:IA,image:MA,compact:OA,imageButton:TA,previewName:LA,annotationCitation:PA},u6=/@\[([^\]\n]+)\]\(dsh-session:[^)\s]+\)/gu,NA=/\[@((?:\\.|[^\\\]\r\n])+)\]\((thread:\/\/[^/?#()\s<>]+\?hostId=[^&#()\s<>]+)\)/gu,zA=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu,AA=/[.,;:!?,。;:!?]+$/u;function RA(e,t,n=[],r="skill",s){const l=tS(e).map(_=>({start:_.start,end:_.end,label:_.text,kind:"skill",display:_.name}));for(const _ of e.matchAll(zA))l.push({start:_.index,end:_.index+_[0].length,label:_[0],kind:"harness",display:_[1].trim()});for(const _ of e.matchAll(NA))l.push({start:_.index,end:_.index+_[0].length,label:_[0],kind:"session",display:_[1].replace(/\\([\\`*{}[\]()#+.!_<>|~-])/gu,"$1")});u6.lastIndex=0;let u;for(;(u=u6.exec(e))!==null;)l.push({start:u.index,end:u.index+u[0].length,label:u[0],kind:"session",display:u[1]});for(const _ of[...new Set(t)].sort((C,I)=>I.length-C.length)){const C=`@${_}`;let I=e.indexOf(C);for(;I>=0;)l.push({start:I,end:I+C.length,label:C,kind:"session"}),I=e.indexOf(C,I+C.length)}const d=/(^|\s)(\/[\w-]+(?=\s|$)|@"[^"\n]+"|@[^\s]+)/gu;let p;for(;(p=d.exec(e))!==null;){const _=p.index+p[1].length,C=p[2],I=C.startsWith('@"')?C:C.replace(AA,"");I.length<=1||I.startsWith("/")&&!n.includes(I.slice(1))||l.push({start:_,end:_+I.length,label:I,kind:"plain"})}const m=_=>_.kind==="plain"?1:0;l.sort((_,C)=>_.start-C.start||m(_)-m(C)||C.end-_.end);const g=[];let w=0;const x=(_,C)=>{g.push(c.jsx("span",{className:Ns.plainRun,children:e.slice(_,C)},`t${_}`))};for(const _ of l){if(_.start<w)continue;const{start:C,end:I,label:M,kind:N}=_;C>w&&x(w,C);const O=N==="skill"?"skill":N==="harness"?"harness":N==="session"?"session":M.startsWith("@")?M.replace(/^@"|"$/gu,"").endsWith("/")?"folder":"file":void 0,B=_.display??(O===void 0?M:O==="session"?M.slice(1):M.slice(1).replace(/^"|"$/gu,"").split(/[\\/]/u).filter(Boolean).at(-1)??M.slice(1)),z=c.jsxs(c.Fragment,{children:[O!==void 0&&c.jsx(d9,{kind:O==="harness"?"session":O,reference:M,size:16,className:Ns.refIcon}),B]}),U=s===void 0?void 0:O==="file"?()=>{s.openFile(M.slice(1).replace(/^"|"$/gu,""))}:O===void 0&&r==="skill"?()=>{s.openSkill(M.slice(1))}:void 0,Z=xe(Ns.refChip,O===void 0&&Ns.slashChip);g.push(U===void 0?c.jsx("span",{className:Z,"data-ref-chip":O??r,title:M,children:z},C):c.jsx("button",{type:"button",className:xe(Z,Rt.fileMention),"data-ref-chip":O??r,title:M,onClick:ee=>{ee.detail>1||ee.detail!==0&&ee.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||U()},children:z},C)),w=I}return g.length===0?c.jsx("span",{className:Ns.plainRun,children:e}):(w<e.length&&x(w,e.length),c.jsx(c.Fragment,{children:g}))}const DA="_toast_l6cvn_6",FA="_icon_l6cvn_40",$A="_success_l6cvn_47",HA="_text_l6cvn_51",VA="_action_l6cvn_55",ci={toast:DA,icon:FA,success:$A,text:HA,action:VA},BA=3e3,ZA=1e3;function WA({text:e,icon:t,tone:n,anchor:r,holdMs:s=BA,actions:l,onDone:u}){const d=S.useRef(u);S.useLayoutEffect(()=>{d.current=u},[u]),S.useEffect(()=>{const g=setTimeout(()=>{d.current()},s+ZA);return()=>{clearTimeout(g)}},[s]);const[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(r==null)return;const g=()=>{const w=r.getBoundingClientRect();m(w.left+w.width/2)};return g(),window.addEventListener("resize",g),()=>{window.removeEventListener("resize",g)}},[r]),gn.createPortal(c.jsxs("div",{className:ci.toast,role:"alert",style:{...p===null?{}:{left:p},"--dsh-toast-hold":`${String(s)}ms`},children:[n==="success"?c.jsx("span",{className:`${ci.icon} ${ci.success}`,"aria-hidden":!0,children:c.jsx(zp,{})}):t!==void 0&&c.jsx("span",{className:ci.icon,"aria-hidden":!0,children:t}),c.jsxs("span",{className:ci.text,children:[e,l?.map(g=>c.jsxs(S.Fragment,{children:[g.prefix,c.jsx("button",{type:"button",className:ci.action,onClick:g.onClick,children:g.label})]},g.label))]})]}),document.body)}const UA=5e3;function qA(e){const[t,n]=S.useState(!1);return S.useEffect(()=>{if(!e)return;let r,s=document.visibilityState!=="hidden";const l=()=>{r=setTimeout(()=>n(!0),UA)},u=()=>{const d=document.visibilityState!=="hidden";d!==s&&(s=d,clearTimeout(r),n(!1),s&&l())};return s&&l(),document.addEventListener("visibilitychange",u),()=>{clearTimeout(r),document.removeEventListener("visibilitychange",u),n(!1)}},[e]),e&&t}function GA(e){if(e<1024)return`${e}B`;const t=e/1024;if(t<1024)return`${t<10?t.toFixed(1):Math.round(t)}KB`;const n=t/1024;if(n<1024)return`${n<10?n.toFixed(1):Math.round(n)}MB`;const r=n/1024;return`${r<10?r.toFixed(1):Math.round(r)}GB`}const KA="_form_1vwfs_3",YA="_readOnly_1vwfs_8",JA="_unavailable_1vwfs_9",XA="_footer_1vwfs_16",QA="_failed_1vwfs_23",eR="_save_1vwfs_32",ui={form:KA,readOnly:YA,unavailable:JA,footer:XA,failed:QA,save:eR};function tR(e){const{state:t,labels:n}=e,r=S.useRef(e.onDiscard);if(r.current=e.onDiscard,S.useEffect(()=>()=>{r.current()},[]),!t.available)return c.jsx("p",{className:ui.unavailable,role:"status",children:n.unavailable});const s=!t.dirty||t.invalid||t.saving;return c.jsxs("div",{className:ui.form,children:[t.writable?null:c.jsx("p",{className:ui.readOnly,role:"status",children:n.readOnly}),e.children,c.jsxs("div",{className:ui.footer,children:[t.failed?c.jsx("p",{className:ui.failed,role:"status",children:n.saveFailed}):null,c.jsx("button",{type:"button",className:ui.save,disabled:s,onClick:e.onSave,children:t.saving?n.saving:n.save})]})]})}const nR="_field_1o7ya_3",rR="_head_1o7ya_14",oR="_label_1o7ya_20",iR="_labelGroup_1o7ya_29",sR="_helpButton_1o7ya_41",aR="_help_1o7ya_41",lR="_badges_1o7ya_86",cR="_reset_1o7ya_92",uR="_input_1o7ya_114",dR="_invalid_1o7ya_140",fR="_hint_1o7ya_147",At={field:nR,head:rR,label:oR,labelGroup:iR,helpButton:sR,help:aR,badges:lR,reset:cR,input:uR,invalid:dR,hint:fR};function hR(e){const[t,n]=S.useState(!1),r=`${e.id}-help`,s=`${e.id}-message`,l=e.invalid||!!e.hint,u=[l?s:"",t?r:""].filter(Boolean).join(" ");return c.jsxs("div",{className:At.field,children:[c.jsxs("div",{className:At.head,children:[c.jsxs("div",{className:At.labelGroup,children:[c.jsx("label",{className:At.label,htmlFor:e.id,children:e.label}),e.help!==void 0?c.jsx("button",{type:"button",className:At.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":r,onClick:()=>{n(!t)},children:c.jsx(yp,{size:12})}):null]}),e.overridden?c.jsxs("span",{className:At.badges,children:[c.jsx(l2,{tone:"neutral",children:e.overriddenLabel}),c.jsx("button",{type:"button",className:At.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),c.jsx("input",{id:e.id,className:At.input,type:"text",...e.numeric===!0?{inputMode:"numeric"}:{},...e.invalid?{"aria-invalid":!0}:{},"aria-describedby":u||void 0,value:e.text,placeholder:e.placeholder??"",disabled:e.disabled,onChange:d=>{e.onEdit(d.target.value)}}),l?c.jsx("p",{id:s,className:e.invalid?At.invalid:At.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?c.jsx("div",{id:r,className:At.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function pR(e){return c.jsxs("div",{className:At.field,children:[c.jsxs("div",{className:At.head,children:[c.jsx("label",{className:At.label,htmlFor:e.id,children:e.label}),c.jsx("span",{className:At.badges,children:c.jsx(l2,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),c.jsx("input",{id:e.id,className:At.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),c.jsx("p",{className:At.hint,children:e.hint})]})}function mR(e){return{field:e,format:t=>typeof t=="number"?String(t):"",parse:t=>{const n=t.trim();if(n==="")return{kind:"clear"};const r=Number(n);return Number.isFinite(r)?{kind:"set",value:r}:void 0}}}function gR(e){return{field:e,format:t=>typeof t=="string"?t:"",parse:t=>{const n=t.trim();return n===""?{kind:"clear"}:{kind:"set",value:n}}}}class vR{constructor(t,n,r=[]){this.scope=t,this.specs=new Map(n.map(s=>[s.field,s])),this.secretSpecs=new Map(r.map(s=>[s.field,s])),this.unsubscribe=t.subscribe(()=>{this.publish()})}specs;secretSpecs;staged=new Map;listeners=new Set;baseline;unsubscribe;saving=!1;failed=!1;bind(t){const n=Ul(t());return this.listeners.add(()=>{n.set(t())}),n}shell(){const t=this.scope.getSnapshot(),n=this.plan();return{available:t.status==="ready",writable:t.writable,dirty:n.length>0,invalid:n.some(r=>r.run===void 0&&r.op===void 0),saving:this.saving,failed:this.failed}}field(t){const n=this.staged.get(t);if(this.secretSpecs.has(t))return{text:n?.text??"",overridden:!1,invalid:!1};const r=this.spec(t);if(n===void 0)return{text:r.format(this.sectionValue(t)),overridden:this.stored(t),invalid:!1};const s=n.clear?{kind:"clear"}:r.parse(n.text);return{text:n.text,overridden:s?.kind==="set",invalid:s===void 0}}actions(){return{edit:(t,n)=>{this.stage(t,{text:n,clear:!1})},resetField:t=>{this.stage(t,{text:this.spec(t).format(this.baseValue(t)),clear:!0})},save:()=>{this.save()},discard:()=>{this.staged.size===0&&!this.failed||(this.staged.clear(),this.baseline=void 0,this.failed=!1,this.publish())}}}async save(){const t=this.plan();if(!(!t.length||this.saving||!this.scope.getSnapshot().writable||t.some(n=>n.run===void 0&&n.op===void 0))){this.saving=!0,this.failed=!1,this.publish();try{const n=t.flatMap(s=>s.op===void 0?[]:[s.op]);let r=!n.length||await this.scope.mutate(n,this.baseline?.revision);if(!r){this.failed=!0;return}for(const s of t)s.run&&(r=await s.run()&&r);r&&(this.staged.clear(),this.baseline=void 0),this.failed=!r}catch{this.failed=!0}finally{this.saving=!1,this.publish()}}}dispose(){this.unsubscribe(),this.listeners.clear()}plan(){const t=[];for(const[n,r]of this.staged){const s=this.secretSpecs.get(n);if(s!==void 0){const d=r.text.trim();d!==""&&t.push({field:n,run:()=>s.write(d)});continue}const l=this.spec(n);if(r.clear){this.stored(n)&&t.push({field:n,op:{op:"unset",path:[n]}});continue}if(r.text===l.format(this.sectionValue(n)))continue;const u=l.parse(r.text);u===void 0?t.push({field:n}):u.kind==="clear"?t.push({field:n,op:{op:"unset",path:[n]}}):t.push({field:n,op:{op:"set",path:[n],value:u.value}})}return t}stage(t,n){this.baseline??=this.scope.getSnapshot(),this.staged.set(t,n),this.failed=!1,this.publish()}spec(t){const n=this.specs.get(t);if(n===void 0)throw new Error(`plugin card has no field ${t}`);return n}snapshotOf(){return this.scope.getSnapshot()}sectionValue(t){return this.snapshotOf().value?.[t]}baseValue(t){return this.snapshotOf().base?.[t]}userLayer(){return this.snapshotOf().user}stored(t){const n=this.userLayer();return n!==void 0&&Object.hasOwn(n,t)}publish(){for(const t of this.listeners)t()}}const wR="modulepreload",xR=function(e,t){return new URL(e,t).href},d6={},Ie=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let u=function(g){return Promise.all(g.map(w=>Promise.resolve(w).then(x=>({status:"fulfilled",value:x}),x=>({status:"rejected",reason:x}))))};const d=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");s=u(n.map(g=>{if(g=xR(g,r),g in d6)return;d6[g]=!0;const w=g.endsWith(".css"),x=w?'[rel="stylesheet"]':"";if(!!r)for(let I=d.length-1;I>=0;I--){const M=d[I];if(M.href===g&&(!w||M.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${g}"]${x}`))return;const C=document.createElement("link");if(C.rel=w?"stylesheet":wR,w||(C.as="script"),C.crossOrigin="",C.href=g,m&&C.setAttribute("nonce",m),document.head.appendChild(C),w)return new Promise((I,M)=>{C.addEventListener("load",I),C.addEventListener("error",()=>M(new Error(`Unable to preload CSS for ${g}`)))})}))}function l(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return s.then(u=>{for(const d of u||[])d.status==="rejected"&&l(d.reason);return t().catch(l)})},yR=[ow,iw,sw],_R=new Map([["python",()=>Ie(()=>import("./langs/python-B6aJPvgy.js"),[],import.meta.url)],["ruby",()=>Ie(()=>import("./langs/ruby-rH_O_vse.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)],["go",()=>Ie(()=>import("./langs/go-C27-OAKa.js"),[],import.meta.url)],["rust",()=>Ie(()=>import("./langs/rust-DPvrY3IQ.js"),[],import.meta.url)],["java",()=>Ie(()=>import("./langs/java-CylS5w8V.js"),[],import.meta.url)],["c",()=>Ie(()=>import("./langs/c-BIGW1oBm.js"),[],import.meta.url)],["cpp",()=>Ie(()=>import("./langs/cpp-DddhVWhK.js"),__vite__mapDeps([10,11]),import.meta.url)],["csharp",()=>Ie(()=>import("./langs/csharp-B_TYUkTI.js"),[],import.meta.url)],["kotlin",()=>Ie(()=>import("./langs/kotlin-BdnUsdx6.js"),[],import.meta.url)],["swift",()=>Ie(()=>import("./langs/swift-C2oV4EkX.js"),[],import.meta.url)],["php",()=>Ie(()=>import("./langs/php-D8omCIuJ.js"),__vite__mapDeps([14,1,2,3,4,5,6,8,9]),import.meta.url)],["yaml",()=>Ie(()=>import("./langs/yaml-Buea-lGh.js"),[],import.meta.url)],["toml",()=>Ie(()=>import("./langs/toml-vGWfd6FD.js"),[],import.meta.url)],["ini",()=>Ie(()=>import("./langs/ini-BEwlwnbL.js"),[],import.meta.url)],["markdown",()=>Ie(()=>import("./langs/markdown-Cvjx9yec.js"),[],import.meta.url)],["mdx",()=>Ie(()=>import("./langs/mdx-Cmh6b_Ma.js"),[],import.meta.url)],["html",()=>Ie(()=>import("./langs/html-D5X2rnY9.js"),__vite__mapDeps([1,2,3]),import.meta.url)],["css",()=>Ie(()=>import("./langs/css-Z72CF80r.js"),[],import.meta.url)],["scss",()=>Ie(()=>import("./langs/scss-Cw6XMfVs.js"),__vite__mapDeps([15,3]),import.meta.url)],["less",()=>Ie(()=>import("./langs/less-B1dDrJ26.js"),[],import.meta.url)],["sql",()=>Ie(()=>import("./langs/sql-DkvoVjww.js"),[],import.meta.url)],["xml",()=>Ie(()=>import("./langs/xml-sdJ4AIDG.js"),__vite__mapDeps([4,5]),import.meta.url)],["lua",()=>Ie(()=>import("./langs/lua-BaeVxFsk.js"),__vite__mapDeps([12,11]),import.meta.url)],["bat",()=>Ie(()=>import("./langs/bat-CickPsom.js"),[],import.meta.url)],["powershell",()=>Ie(()=>import("./langs/powershell-Dd0kTxKP.js"),[],import.meta.url)],["fish",()=>Ie(()=>import("./langs/fish-BvzEVeQv.js"),[],import.meta.url)],["dotenv",()=>Ie(()=>import("./langs/dotenv-De0Btta0.js"),[],import.meta.url)],["log",()=>Ie(()=>import("./langs/log-2UxHyX5q.js"),[],import.meta.url)],["csv",()=>Ie(()=>import("./langs/csv-fuZLfV_i.js"),[],import.meta.url)],["diff",()=>Ie(()=>import("./langs/diff-D97Zzqfu.js"),[],import.meta.url)],["http",()=>Ie(()=>import("./langs/http-BvreBIbD.js"),__vite__mapDeps([16,8,9,4,5,7,2]),import.meta.url)],["rst",()=>Ie(()=>import("./langs/rst-Do7RLLCS.js"),__vite__mapDeps([17,18,1,2,3,10,11,19,8,9,13,20,0,4,5,6,7,12]),import.meta.url)],["latex",()=>Ie(()=>import("./langs/latex-BK3a6r9z.js"),__vite__mapDeps([21,22]),import.meta.url)],["bibtex",()=>Ie(()=>import("./langs/bibtex-CHM0blh-.js"),[],import.meta.url)],["asciidoc",()=>Ie(()=>import("./langs/asciidoc-CSVQ5wI8.js"),[],import.meta.url)],["r",()=>Ie(()=>import("./langs/r-Cf5RLm7j.js"),[],import.meta.url)],["julia",()=>Ie(()=>import("./langs/julia-Cvj785wQ.js"),__vite__mapDeps([23,10,11,19,2,22,6]),import.meta.url)],["dart",()=>Ie(()=>import("./langs/dart-CtKP3W-j.js"),[],import.meta.url)],["scala",()=>Ie(()=>import("./langs/scala-CqE71os6.js"),[],import.meta.url)],["clojure",()=>Ie(()=>import("./langs/clojure-P80f7IUj.js"),[],import.meta.url)],["erlang",()=>Ie(()=>import("./langs/erlang-DsQrWhSR.js"),__vite__mapDeps([24,25]),import.meta.url)],["elixir",()=>Ie(()=>import("./langs/elixir-23K7EnKp.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)],["haskell",()=>Ie(()=>import("./langs/haskell-Df6bDoY_.js"),[],import.meta.url)],["fsharp",()=>Ie(()=>import("./langs/fsharp-CXgrBDvD.js"),__vite__mapDeps([27,25]),import.meta.url)],["vb",()=>Ie(()=>import("./langs/vb-Cu-pLBUe.js"),[],import.meta.url)],["perl",()=>Ie(()=>import("./langs/perl-Devmrv7e.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url)],["verilog",()=>Ie(()=>import("./langs/verilog-nZwndyjY.js"),[],import.meta.url)],["system-verilog",()=>Ie(()=>import("./langs/system-verilog-0hqHdDBg.js"),[],import.meta.url)],["graphql",()=>Ie(()=>import("./langs/graphql-ChAeyPkT.js"),__vite__mapDeps([7,2,8,9]),import.meta.url)],["proto",()=>Ie(()=>import("./langs/proto-C7zT0LnQ.js"),[],import.meta.url)],["hcl",()=>Ie(()=>import("./langs/hcl-BWvSN4gD.js"),[],import.meta.url)],["nix",()=>Ie(()=>import("./langs/nix-CwoSXNpI.js"),[],import.meta.url)],["vue",()=>Ie(()=>import("./langs/vue-C4DW8agZ.js"),__vite__mapDeps([29,3,2,8,9,1,18]),import.meta.url)],["svelte",()=>Ie(()=>import("./langs/svelte-xZy73wAj.js"),__vite__mapDeps([30,2,8,9,3]),import.meta.url)],["make",()=>Ie(()=>import("./langs/make-CHLpvVh8.js"),[],import.meta.url)],["cmake",()=>Ie(()=>import("./langs/cmake-D1j8_8rp.js"),[],import.meta.url)],["groovy",()=>Ie(()=>import("./langs/groovy-gcz8RCvz.js"),[],import.meta.url)]]),bR=new Map([["typescript","typescript"],["ts","typescript"],["tsx","typescript"],["javascript","typescript"],["js","typescript"],["jsx","typescript"],["shellscript","shellscript"],["bash","shellscript"],["sh","shellscript"],["shell","shellscript"],["zsh","shellscript"],["json","json"],["jsonc","json"],["py","python"],["python","python"],["rb","ruby"],["ruby","ruby"],["go","go"],["rs","rust"],["rust","rust"],["java","java"],["c","c"],["cpp","cpp"],["cs","csharp"],["csharp","csharp"],["kotlin","kotlin"],["swift","swift"],["php","php"],["yaml","yaml"],["yml","yaml"],["toml","toml"],["ini","ini"],["md","markdown"],["markdown","markdown"],["mdx","mdx"],["html","html"],["css","css"],["scss","scss"],["less","less"],["sql","sql"],["xml","xml"],["lua","lua"],["bat","bat"],["batch","bat"],["powershell","powershell"],["ps1","powershell"],["ps","powershell"],["fish","fish"],["properties","ini"],["dotenv","dotenv"],["env","dotenv"],["log","log"],["csv","csv"],["diff","diff"],["patch","diff"],["http","http"],["rst","rst"],["latex","latex"],["tex","latex"],["bibtex","bibtex"],["bib","bibtex"],["asciidoc","asciidoc"],["adoc","asciidoc"],["r","r"],["julia","julia"],["jl","julia"],["dart","dart"],["scala","scala"],["clojure","clojure"],["clj","clojure"],["erlang","erlang"],["erl","erlang"],["elixir","elixir"],["ex","elixir"],["exs","elixir"],["haskell","haskell"],["hs","haskell"],["fsharp","fsharp"],["fs","fsharp"],["fsi","fsharp"],["fsx","fsharp"],["vb","vb"],["vbnet","vb"],["perl","perl"],["pl","perl"],["pm","perl"],["verilog","verilog"],["v","verilog"],["system-verilog","system-verilog"],["systemverilog","system-verilog"],["sv","system-verilog"],["svh","system-verilog"],["graphql","graphql"],["gql","graphql"],["proto","proto"],["protobuf","proto"],["hcl","hcl"],["tf","hcl"],["tfvars","hcl"],["nix","nix"],["vue","vue"],["svelte","svelte"],["make","make"],["makefile","make"],["mk","make"],["cmake","cmake"],["groovy","groovy"],["gradle","groovy"]]);function Xl(e){return e===void 0?void 0:bR.get(e.toLowerCase())}function g9(e){return Xl(e)!==void 0}const CR=ew({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),kR=tw({forgiving:!0,regexConstructor:e=>rw(e,{lazyCompileLength:Number.POSITIVE_INFINITY})});let f6;const SR=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function ER(){const e=nw({themes:[CR],langs:yR,engine:kR});for(const t of SR)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function Lo(){return f6??=ER(),f6}const h6=new Set,l0=new Set;let v9=0;function m2(e){return l0.add(e),()=>{l0.delete(e)}}function Ti(){return v9}function g2(e){const t=_R.get(e);return t===void 0||Lo().getLoadedLanguages().includes(e)?!0:(h6.has(e)||(h6.add(e),t().then(n=>{Lo().loadLanguageSync(n.default),v9+=1;for(const r of l0)r()})),!1)}const jR=setTimeout(()=>{Lo()},0);jR.unref?.();function IR(e,t){const n=Xl(t);if(n!==void 0&&g2(n))return Lo().codeToHtml(e,{lang:n,theme:"css-variables"})}const MR=[[4,"underline"],[8,"line-through"]];function OR(e){const t={color:e.color},n=e.fontStyle??0;(n&1)!==0&&(t.fontStyle="italic"),(n&2)!==0&&(t.fontWeight="bold");const r=MR.filter(([s])=>(n&s)!==0);return r.length>0&&(t.textDecoration=r.map(([,s])=>s).join(" ")),t}function p6(e){const t=[];let n="";for(const[r,s]of e.entries()){if(/^\s+$/.test(s.content)&&r+1<e.length){n+=s.content;continue}t.push({text:n+s.content,style:OR(s)}),n=""}return t}class TR{resolved;prefix="";spans=[];state;lastCode;lastLang;lastResult;generation=0;lastFrame;reset(t){this.resolved=t,this.prefix="",this.spans=[],this.state=void 0,this.generation+=1,this.lastFrame=void 0}tokenize(t,n){return Lo().codeToTokensBase(n,{lang:t,theme:"css-variables",...this.state===void 0?{}:{grammarState:this.state}})}updateFrame(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastFrame!==void 0)return this.lastFrame;this.lastCode=t,this.lastLang=n,this.lastResult=void 0;const r=Xl(n);if(r===void 0||!g2(r)){this.reset(void 0);return}(r!==this.resolved||!t.startsWith(this.prefix))&&this.reset(r);const s=this.spans.length,l=t.slice(this.prefix.length),u=l.lastIndexOf(`
|
|
140
|
+
`);if(u>=0){const d=l[u-1]==="\r"?u-1:u,p=this.tokenize(r,l.slice(0,d));for(const m of p)this.spans.push(p6(m));this.state=Lo().getLastGrammarState(p),this.prefix=t.slice(0,this.prefix.length+u+1)}return this.lastFrame={generation:this.generation,appended:this.spans.slice(s),tail:this.tokenize(r,l.slice(u+1)).map(p6)},this.lastFrame}update(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastResult!==void 0)return this.lastResult;const r=this.updateFrame(t,n);if(r!==void 0)return this.lastResult=[...this.spans,...r.tail],this.lastResult}}function w9(e,t){const n=Xl(t);if(n===void 0||!g2(n))return;const{tokens:r}=Lo().codeToTokens(e,{lang:n,theme:"css-variables"}),s=r[r.length-1];return(r.length>1&&s!==void 0&&s.length===0?r.slice(0,-1):r).map(u=>u.map(d=>({text:d.content,style:{color:d.color}})))}const LR={typescript:["ts","tsx","mts","cts"],javascript:["js","jsx","mjs","cjs"],shellscript:["sh","bash","zsh"],fish:["fish"],json:["json","jsonc","jsonl","ndjson","ipynb"],csv:["csv"],python:["py","pyw","pyi"],ruby:["rb","rake","gemspec"],go:["go"],rust:["rs"],java:["java"],c:["c","h"],cpp:["cc","cpp","cxx","hh","hpp","hxx"],csharp:["cs"],kotlin:["kt","kts"],swift:["swift"],php:["php"],yaml:["yaml","yml"],toml:["toml"],ini:["ini","conf","cfg","properties"],dotenv:["env"],log:["log"],diff:["diff","patch"],http:["http"],markdown:["md","markdown"],mdx:["mdx"],rst:["rst"],latex:["tex","sty","cls"],bibtex:["bib"],asciidoc:["adoc"],html:["html","htm","xhtml"],css:["css"],scss:["scss"],less:["less"],sql:["sql"],xml:["xml","xsd","xsl","xslt","plist","svg"],lua:["lua"],bat:["bat","cmd"],powershell:["ps1","psm1","psd1"],r:["r"],julia:["jl"],dart:["dart"],scala:["scala"],clojure:["clj","cljs","edn"],erlang:["erl","hrl"],elixir:["ex","exs"],haskell:["hs"],fsharp:["fs","fsi","fsx"],vb:["vb"],perl:["pl","pm"],verilog:["v"],"system-verilog":["sv","svh"],graphql:["graphql","gql"],proto:["proto"],hcl:["tf","tfvars","hcl"],nix:["nix"],vue:["vue"],svelte:["svelte"],make:["makefile","mk"],cmake:["cmake"],groovy:["gradle","groovy"]},x9=new Map(Object.entries(LR).flatMap(([e,t])=>t.map(n=>[n,e]))),PR=[...x9.keys()];function NR(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),n=e.slice(t+1),r=n.lastIndexOf(".");return r<0?void 0:n.slice(r+1).toLowerCase()}function c0(e){const t=NR(e);return t===void 0?void 0:x9.get(t)}function zR(e){const t=S.useSyncExternalStore(m2,Ti,Ti);return S.useCallback(n=>w9(n,e),[e,t])}function AR(e,t){const l=Math.max(0,t-e);return l<6e4?{unit:"now",n:0}:l<36e5?{unit:"minutes",n:Math.floor(l/6e4)}:l<864e5?{unit:"hours",n:Math.floor(l/36e5)}:l<30*864e5?{unit:"days",n:Math.floor(l/864e5)}:l<365*864e5?{unit:"months",n:Math.floor(l/(30*864e5))}:{unit:"years",n:Math.floor(l/(365*864e5))}}function m6(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function RR(e,t){if(t.length>e.length)return;const n=Number.NEGATIVE_INFINITY;let r=Array(e.length).fill(n);for(let l=0;l<e.length;l++)e.charAt(l)===t.charAt(0)&&(r[l]=1+m6(e,l)-l);for(let l=1;l<t.length;l++){const u=Array(e.length).fill(n);let d=n,p=n,m=n;for(const[g,w]of r.entries()){if(p!==n&&(m=Math.max(m,p+g-2)),e.charAt(g)===t.charAt(l)){const x=1+m6(e,g);let _=n;d!==n&&(_=d+x+4),m!==n&&(_=Math.max(_,m+x+1-g)),u[g]=_}p=d,d=w}r=u}let s=n;for(const l of r)s=Math.max(s,l);return s===n?void 0:s}function DR(e,t){const n=t.toLowerCase();if(n==="")return e;const r=[];return e.forEach((s,l)=>{const u=s.label===void 0?[s.name]:[s.name,s.label];let d=!1,p;for(const m of u){const g=m.toLowerCase(),w=RR(g,n);w!==void 0&&(d||=g.startsWith(n),p=p===void 0?w:Math.max(p,w))}p!==void 0&&r.push({item:s,index:l,prefix:d,score:p})}),r.sort((s,l)=>Number(l.prefix)-Number(s.prefix)||l.score-s.score||s.index-l.index),r.map(s=>s.item)}function FR(){return document.documentElement.dataset.platform==="darwin"}const $R="_root_m1m7t_1",HR="_container_m1m7t_30",VR="_expandedTopLevel_m1m7t_39",BR="_topLevelBracket_m1m7t_46",ZR="_expandedTopLevelContainer_m1m7t_51",WR="_row_m1m7t_55",UR="_children_m1m7t_60",qR="_expander_m1m7t_80",GR="_copySlot_m1m7t_92",KR="_label_m1m7t_97",YR="_clickableLabel_m1m7t_103",JR="_stringValue_m1m7t_107",XR="_stringField_m1m7t_111",QR="_stringText_m1m7t_117",eD="_stringRaw_m1m7t_126",tD="_stringActions_m1m7t_136",nD="_stringToggleSlot_m1m7t_159",rD="_stringToggle_m1m7t_159",oD="_summary_m1m7t_198",iD="_numberValue_m1m7t_205",sD="_keywordValue_m1m7t_209",aD="_otherValue_m1m7t_213",lD="_punctuation_m1m7t_217",cD="_preview_m1m7t_221",uD="_previewProperty_m1m7t_225",dD="_previewEllipsis_m1m7t_229",fD="_actionButton_m1m7t_264",hD="_collapseIcon_m1m7t_325",_e={root:$R,container:HR,expandedTopLevel:VR,topLevelBracket:BR,expandedTopLevelContainer:ZR,row:WR,children:UR,expander:qR,copySlot:GR,label:KR,clickableLabel:YR,stringValue:JR,stringField:XR,stringText:QR,stringRaw:eD,stringActions:tD,stringToggleSlot:nD,stringToggle:rD,summary:oD,numberValue:iD,keywordValue:sD,otherValue:aD,punctuation:lD,preview:cD,previewProperty:uD,previewEllipsis:dD,actionButton:fD,collapseIcon:hD},pD=4,mD=5,g6=2;function gD(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function vD(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function wD(){let e;const t=new Map;return{get:()=>e,set(n){const r=e?.id;e=n;for(const s of new Set([r,n?.id]))if(s!==void 0)for(const l of t.get(s)??[])l()},subscribe(n,r){let s=t.get(n);return s===void 0&&t.set(n,s=new Set),s.add(r),()=>{s.delete(r),s.size===0&&t.delete(n)}}}}function xD({store:e,target:t,persistent:n,labels:r,onCopy:s,onClose:l}){const u=vi(t.path),d=S.useCallback(C=>e.subscribe(u,C),[u,e]),p=()=>{const C=e.get();return C?.id===u?C:void 0},m=S.useSyncExternalStore(d,p,p),g=S.useRef(null),w=m?.state??"idle",x=typeof t.value=="object"&&t.value!==null,_=w==="copied"?r.copied:w==="failed"?r.copyFailed:x?r.copyPrettyJson:r.copyValue;return c.jsx("span",{className:_e.copySlot,children:(n||m!==void 0)&&c.jsx(e9,{open:m?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:c.jsx("button",{ref:g,type:"button",className:_e.actionButton,"data-json-copy-button":!0,"data-state":w,"aria-label":_,title:r.copyButtonTitle(_),onClick:()=>void s(t,x?"prettyJson":"value"),onContextMenu:C=>{C.preventDefault(),C.stopPropagation(),e.set({id:u,target:t,state:w,menuOpen:!0})},children:w==="copied"?c.jsx(zi,{size:12}):c.jsx(o2,{size:12})}),items:x?vD(r):gD(r),onSelect:C=>{s(t,C)},onClose:l,getAnchorRect:()=>g.current.getBoundingClientRect()})})}function xl(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function yl(e){return Array.isArray(e)?e.map((t,n)=>[String(n),t]):Object.keys(e).map(t=>[t,e[t]])}function v2(e){return Array.isArray(e)?["[","]"]:["{","}"]}function yD(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.otherValue,children:e.toString()}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):typeof e=="symbol"?c.jsx("span",{className:_e.otherValue,children:e.description??"Symbol"}):typeof e=="function"?c.jsx("span",{className:_e.otherValue,children:e.name||"Function"}):null}function y9(e,t){if(!xl(e))return yD(e);const n=Array.isArray(e),r=yl(e),s=n?mD:pD,l=r.slice(0,s),[u,d]=v2(e);return c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.punctuation,children:u}),t>=g6?c.jsx("span",{className:_e.previewEllipsis,children:"…"}):l.map(([p,m],g)=>c.jsxs("span",{children:[g>0&&c.jsx("span",{className:_e.punctuation,children:", "}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:_e.previewProperty,children:p}),c.jsx("span",{className:_e.punctuation,children:": "})]}),y9(m,t+1)]},p)),t<g6&&r.length>s&&c.jsx("span",{className:_e.previewEllipsis,children:", …"}),c.jsx("span",{className:_e.punctuation,children:d})]})}function _9(e){return e===null?c.jsx("span",{className:_e.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:_e.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?c.jsx("span",{className:_e.keywordValue,children:String(e)}):typeof e=="number"?c.jsx("span",{className:_e.numberValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:_e.numberValue,children:`${e.toString()}n`}):e instanceof Date?c.jsx("span",{className:_e.otherValue,children:e.toISOString()}):typeof e=="function"?c.jsxs("span",{className:_e.otherValue,children:["function() ","{ }"]}):typeof e>"u"?c.jsx("span",{className:_e.otherValue,children:"undefined"}):c.jsx("span",{className:_e.otherValue,children:e.toString()})}function u0(e){return e===""?'""':e}function vi(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function b9(e){e.focus()}function _D(e,t){const n=e.closest('[role="tree"]');if(n===null)return;const r=Array.from(n.querySelectorAll("[data-json-expander]")),s=r.indexOf(e);if(s<0||r.length===0)return;const l=(s+t+r.length)%r.length,u=r[l];u!==void 0&&b9(u)}function Ed({field:e,expandable:t,onToggle:n}){return e===void 0?null:c.jsxs("span",{className:xe(_e.label,t&&_e.clickableLabel),onClick:t?n:void 0,children:[u0(e),":"]})}function bD({collapsedStringLines:e,stringWrapping:t,field:n,labels:r,lastElement:s,renderCopy:l,value:u}){const d=S.useId(),p=S.useRef(null),m=S.useRef(null),[g,w]=S.useState(!1),[x,_]=S.useState(!1),[C,I]=S.useState(!1);if(S.useLayoutEffect(()=>{if(g)return;const M=p.current,N=()=>{const B=Number.parseFloat(getComputedStyle(M).lineHeight);I(M.scrollHeight>B*e)};if(N(),typeof ResizeObserver>"u")return;const O=new ResizeObserver(N);return O.observe(M),()=>{O.disconnect()}},[e,g,n,s,u]),S.useLayoutEffect(()=>{if(!g)return;const M=m.current,N=[],O=M.closest(`.${_e.root}`);for(let U=O.parentElement;U!==null;U=U.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(U).overflowY)&&N.push(U);const B=()=>{let U=0,Z=window.innerHeight;for(const q of N){const G=q.getBoundingClientRect(),k=getComputedStyle(q);U=Math.max(U,G.top+q.clientTop),Z=Math.min(Z,G.top+q.clientTop+q.clientHeight-Number.parseFloat(k.paddingBottom))}const ee=Z-Math.max(U,M.getBoundingClientRect().top);M.style.maxHeight=`${Math.max(16,ee-4)}px`};B();const z=typeof ResizeObserver>"u"?void 0:new ResizeObserver(B);z?.observe(M);for(const U of N)z?.observe(U);return window.addEventListener("resize",B),window.addEventListener("scroll",B,!0),()=>{z?.disconnect(),window.removeEventListener("resize",B),window.removeEventListener("scroll",B,!0)}},[g,u]),g){const M=`${d}-field`;return c.jsxs("div",{className:_e.stringField,"data-expanded":!0,children:[n!==void 0&&c.jsxs("span",{id:M,className:_e.label,children:[u0(n),":"]}),c.jsx("pre",{ref:m,id:d,className:_e.stringRaw,"data-wrap":x,tabIndex:0,"aria-labelledby":n===void 0?void 0:M,children:u}),!s&&c.jsx("span",{className:_e.punctuation,children:","}),c.jsxs("div",{className:_e.stringActions,children:[t!==void 0&&c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":x,"aria-controls":d,onClick:()=>{const N=!x;_(N),t.setDefault(N)},children:c.jsx(Sp,{size:12})}),c.jsx("button",{type:"button",className:_e.actionButton,"aria-label":r.collapseNode,title:r.collapseNode,"aria-expanded":!0,"aria-controls":d,onClick:()=>{w(!1)},children:c.jsx("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","aria-hidden":"true",children:c.jsx("path",{d:"M9.5 1.5V6.5H14.5M1.5 9.5H6.5V14.5"})})}),l?.(!0)]})]})}return c.jsxs(c.Fragment,{children:[l?.(),c.jsx("span",{className:_e.stringField,"data-expanded":g,children:c.jsxs("span",{ref:p,id:d,className:_e.stringText,children:[C&&c.jsx("span",{className:_e.stringToggleSlot,children:c.jsxs("button",{type:"button",className:_e.stringToggle,"aria-label":r.expandNode,"aria-expanded":!1,"aria-controls":d,onClick:()=>{_(t?.getDefault()??!1),w(!0)},children:[c.jsx("span",{"aria-hidden":"true",children:"…"}),r.expandNode]})}),n!==void 0&&c.jsxs("span",{className:_e.label,children:[u0(n),":"]}),_9(u),!s&&c.jsx("span",{className:_e.punctuation,children:","})]})})]})}function d0({collapsedStringLines:e,stringWrapping:t,field:n,initialExpanded:r,labels:s,lastElement:l,onClaimTabStop:u,onRowHover:d,path:p,renderCopy:m,tabStopId:g,value:w}){const x=S.useId(),_=S.useRef(null),[C,I]=S.useState(r),M=vi(p),N=xl(w),O=N?yl(w):[],B=O.length>0,z=()=>{I(G=>!G),b9(_.current)},U=G=>{if(G.key==="ArrowRight"||G.key==="ArrowLeft"){G.preventDefault(),I(G.key==="ArrowRight");return}(G.key==="ArrowUp"||G.key==="ArrowDown")&&(G.preventDefault(),_D(G.currentTarget,G.key==="ArrowUp"?-1:1))},Z=(G,k)=>c.jsxs("div",{className:_e.row,role:"treeitem","aria-expanded":k,onMouseOver:Y=>{Y.stopPropagation(),d(Y.currentTarget,{path:p,value:w})},children:[typeof w!="string"&&m?.({path:p,value:w}),G]});if(typeof w=="string")return Z(c.jsx(bD,{collapsedStringLines:e,stringWrapping:t,field:n,value:w,labels:s,lastElement:l,renderCopy:m===void 0?void 0:G=>m({path:p,value:w},G)}));if(!N)return Z(c.jsxs(c.Fragment,{children:[c.jsx(Ed,{field:n,expandable:!1,onToggle:z}),_9(w),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}));const[ee,q]=v2(w);return B?Z(c.jsxs(c.Fragment,{children:[c.jsx("span",{ref:_,className:xe(_e.expander,C?_e.collapseIcon:_e.expandIcon),"data-json-expander":!0,role:"button","aria-label":C?s.collapseNode:s.expandNode,"aria-expanded":C,"aria-controls":C?x:void 0,tabIndex:g===M?0:-1,onFocus:()=>{u(M)},onClick:z,onKeyDown:U}),c.jsxs("span",{className:_e.summary,children:[c.jsx(Ed,{field:n,expandable:!0,onToggle:z}),c.jsx("span",{className:_e.preview,children:y9(w,0)}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}),C&&c.jsx("ul",{id:x,role:"group",className:_e.children,children:O.map(([G,k],Y)=>c.jsx(d0,{collapsedStringLines:e,stringWrapping:t,field:G,value:k,path:[...p,Array.isArray(w)?Y:G],labels:s,lastElement:Y===O.length-1,initialExpanded:!1,tabStopId:g,onClaimTabStop:u,onRowHover:d,renderCopy:m},G))})]}),C):Z(c.jsxs(c.Fragment,{children:[c.jsx(Ed,{field:n,expandable:!1,onToggle:z}),c.jsx("span",{className:_e.punctuation,children:ee}),c.jsx("span",{className:_e.punctuation,children:q}),!l&&c.jsx("span",{className:_e.punctuation,children:","})]}))}function CD(e){return e.reduce((t,n)=>typeof n=="number"?`${t}[${String(n)}]`:/^[A-Za-z_$][\w$]*$/.test(n)?`${t}.${n}`:`${t}[${JSON.stringify(n)}]`,"$")}function kD(e,t){return t==="path"?CD(e.path):t==="prettyJson"?JSON.stringify(e.value,null,2):t==="json"?JSON.stringify(e.value):typeof e.value=="string"?e.value:typeof e.value>"u"?"undefined":typeof e.value=="bigint"?e.value.toString():typeof e.value=="symbol"?e.value.description??"Symbol":typeof e.value=="function"?e.value.name||"Function":JSON.stringify(e.value)}function SD({data:e,label:t,className:n,collapsedStringLines:r=3,stringWrapping:s,copyable:l=!0,expandTopLevel:u=!0,labels:d}){const p=yl(e),m=p.findIndex(([,k])=>xl(k)&&yl(k).length>0),g=p[m],w=u?g===void 0?null:vi([Array.isArray(e)?m:g[0]]):xl(e)&&p.length>0?vi([]):null,x=S.useRef(),_=S.useRef(),C=S.useRef(0),[I]=S.useState(wD),[M,N]=S.useState(w),O=k=>{x.current?.removeAttribute("data-json-copy-active"),x.current=k,k?.setAttribute("data-json-copy-active","")},B=()=>{C.current+=1,_.current!==void 0&&clearTimeout(_.current),O(void 0),I.set(void 0)};S.useEffect(()=>()=>{C.current+=1,_.current!==void 0&&clearTimeout(_.current),x.current?.removeAttribute("data-json-copy-active")},[]),S.useEffect(()=>{B(),N(w)},[e,u,w]);const z=(k,Y)=>{!l||I.get()?.menuOpen||x.current!==k&&(O(k),I.set({id:vi(Y.path),target:Y,state:"idle",menuOpen:!1}))},U=k=>{!l||I.get()?.menuOpen||k.target instanceof Element&&k.target.closest("[data-json-copy-button]")===null&&B()},Z=async(k,Y)=>{const V=++C.current,K={id:vi(k.path),target:k,state:"idle",menuOpen:!1};I.set(K);let X;try{await navigator.clipboard.writeText(kD(k,Y)),X="copied"}catch{X="failed"}const we=I.get();V!==C.current||we?.target!==k||(I.set({...we,state:X}),_.current!==void 0&&clearTimeout(_.current),_.current=setTimeout(()=>{const he=I.get();he?.target===k&&I.set({...he,state:"idle"})},1500))},[ee,q]=v2(e),G=l?(k,Y=!1)=>c.jsx(xD,{store:I,target:k,persistent:Y,labels:d,onCopy:Z,onClose:B}):void 0;return c.jsx("div",{className:xe(_e.root,n),style:{"--json-tree-collapsed-lines":r},onMouseOver:U,onMouseLeave:()=>{I.get()?.menuOpen||B()},children:u?c.jsxs("div",{className:_e.expandedTopLevel,children:[c.jsxs("div",{className:xe(_e.row,_e.topLevelBracket),"data-json-root-row":!0,onMouseOver:k=>{k.stopPropagation(),z(k.currentTarget,{path:[],value:e})},children:[G?.({path:[],value:e}),c.jsx("span",{className:_e.punctuation,children:ee})]}),c.jsx("div",{"aria-label":t,className:xe(_e.container,_e.expandedTopLevelContainer),role:"tree",children:p.map(([k,Y],V)=>c.jsx(d0,{collapsedStringLines:r,stringWrapping:s,field:k,value:Y,path:[Array.isArray(e)?V:k],labels:d,lastElement:V===p.length-1,initialExpanded:!1,tabStopId:M,onClaimTabStop:N,onRowHover:z,renderCopy:G},k))}),c.jsx("div",{className:xe(_e.row,_e.topLevelBracket),children:c.jsx("span",{className:_e.punctuation,children:q})})]}):c.jsx("div",{"aria-label":t,className:_e.container,role:"tree",children:c.jsx(d0,{collapsedStringLines:r,stringWrapping:s,value:e,path:[],labels:d,lastElement:!0,initialExpanded:!0,tabStopId:M,onClaimTabStop:N,onRowHover:z,renderCopy:G})})})}var jd,v6;function ED(){if(v6)return jd;v6=1;const e=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],t=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class n{static escapeForHtml(s){return new n().escapeForHtml(s)}static linkify(s){return new n().linkify(s)}static ansiToHtml(s,l){return new n().ansiToHtml(s,l)}static ansiToJson(s,l){return new n().ansiToJson(s,l)}static ansiToText(s){return new n().ansiToText(s)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let d=0;d<2;++d)for(let p=0;p<8;++p)this.PALETTE_COLORS.push(e[d][p].color);let s=[0,95,135,175,215,255],l=(d,p,m)=>s[d]+", "+s[p]+", "+s[m];for(let d=0;d<6;++d)for(let p=0;p<6;++p)for(let m=0;m<6;++m)this.PALETTE_COLORS.push(l(d,p,m));let u=8;for(let d=0;d<24;++d,u+=10)this.PALETTE_COLORS.push(u+", "+u+", "+u)}escapeForHtml(s){return s.replace(/[&<>\"]/gm,l=>l=="&"?"&":l=='"'?""":l=="<"?"<":l==">"?">":"")}linkify(s){return s.replace(t,l=>`<a href="${l}">${l}</a>`)}ansiToHtml(s,l){return this.process(s,l,!0)}ansiToJson(s,l){return l=l||{},l.json=!0,l.clearLine=!1,this.process(s,l,!0)}ansiToText(s){return this.process(s,{},!1)}process(s,l,u){let d=this,p=s.split(/\033\[/),m=p.shift();l==null&&(l={}),l.clearLine=/\r/.test(s);let g=p.map(w=>this.processChunk(w,l,u));if(l&&l.json){let w=d.processChunkJson("");return w.content=m,w.clearLine=l.clearLine,g.unshift(w),l.remove_empty&&(g=g.filter(x=>!x.isEmpty())),g}else g.unshift(m);return g.join("")}processChunkJson(s,l,u){l=typeof l>"u"?{}:l;let d=l.use_classes=typeof l.use_classes<"u"&&l.use_classes,p=l.key=d?"class":"color",m={content:s,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:l.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!m.content},g=s.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!g)return m;m.content=g[4];let w=g[2].split(";");if(g[1]!==""||g[3]!=="m"||!u)return m;let x=this;for(;w.length>0;){let _=w.shift(),C=parseInt(_);if(isNaN(C)||C===0)x.fg=x.bg=null,x.decorations=[];else if(C===1)x.decorations.push("bold");else if(C===2)x.decorations.push("dim");else if(C===3)x.decorations.push("italic");else if(C===4)x.decorations.push("underline");else if(C===5)x.decorations.push("blink");else if(C===7)x.decorations.push("reverse");else if(C===8)x.decorations.push("hidden");else if(C===9)x.decorations.push("strikethrough");else if(C===21)x.removeDecoration("bold");else if(C===22)x.removeDecoration("bold"),x.removeDecoration("dim");else if(C===23)x.removeDecoration("italic");else if(C===24)x.removeDecoration("underline");else if(C===25)x.removeDecoration("blink");else if(C===27)x.removeDecoration("reverse");else if(C===28)x.removeDecoration("hidden");else if(C===29)x.removeDecoration("strikethrough");else if(C===39)x.fg=null;else if(C===49)x.bg=null;else if(C>=30&&C<38)x.fg=e[0][C%10][p];else if(C>=90&&C<98)x.fg=e[1][C%10][p];else if(C>=40&&C<48)x.bg=e[0][C%10][p];else if(C>=100&&C<108)x.bg=e[1][C%10][p];else if(C===38||C===48){let I=C===38;if(w.length>=1){let M=w.shift();if(M==="5"&&w.length>=1){let N=parseInt(w.shift());if(N>=0&&N<=255)if(!d)this.PALETTE_COLORS||x.setupPalette(),I?x.fg=this.PALETTE_COLORS[N]:x.bg=this.PALETTE_COLORS[N];else{let O=N>=16?"ansi-palette-"+N:e[N>7?1:0][N%8].class;I?x.fg=O:x.bg=O}}else if(M==="2"&&w.length>=3){let N=parseInt(w.shift()),O=parseInt(w.shift()),B=parseInt(w.shift());if(N>=0&&N<=255&&O>=0&&O<=255&&B>=0&&B<=255){let z=N+", "+O+", "+B;d?I?(x.fg="ansi-truecolor",x.fg_truecolor=z):(x.bg="ansi-truecolor",x.bg_truecolor=z):I?x.fg=z:x.bg=z}}}}}return x.fg===null&&x.bg===null&&x.decorations.length===0||(m.fg=x.fg,m.bg=x.bg,m.fg_truecolor=x.fg_truecolor,m.bg_truecolor=x.bg_truecolor,m.decorations=x.decorations,m.decoration=x.decorations.slice(-1).pop()||null,m.was_processed=!0),m}processChunk(s,l,u){l=l||{};let d=this.processChunkJson(s,l,u),p=l.use_classes;if(d.decorations=d.decorations.filter(C=>{if(C==="reverse"){d.fg||(d.fg=e[0][7][p?"class":"color"]),d.bg||(d.bg=e[0][0][p?"class":"color"]);let I=d.fg;d.fg=d.bg,d.bg=I;let M=d.fg_truecolor;return d.fg_truecolor=d.bg_truecolor,d.bg_truecolor=M,d.isInverted=!0,!1}return!0}),l.json)return d;if(d.isEmpty())return"";if(!d.was_processed)return d.content;let m=[],g=[],w=[],x={},_=C=>{let I=[],M;for(M in C)C.hasOwnProperty(M)&&I.push("data-"+M+'="'+this.escapeForHtml(C[M])+'"');return I.length>0?" "+I.join(" "):""};return d.isInverted&&(x["ansi-is-inverted"]="true"),d.fg&&(p?(m.push(d.fg+"-fg"),d.fg_truecolor!==null&&(x["ansi-truecolor-fg"]=d.fg_truecolor,d.fg_truecolor=null)):m.push("color:rgb("+d.fg+")")),d.bg&&(p?(m.push(d.bg+"-bg"),d.bg_truecolor!==null&&(x["ansi-truecolor-bg"]=d.bg_truecolor,d.bg_truecolor=null)):m.push("background-color:rgb("+d.bg+")")),d.decorations.forEach(C=>{if(p){g.push("ansi-"+C);return}C==="bold"?g.push("font-weight:bold"):C==="dim"?g.push("opacity:0.5"):C==="italic"?g.push("font-style:italic"):C==="hidden"?g.push("visibility:hidden"):C==="strikethrough"?w.push("line-through"):w.push(C)}),w.length&&g.push("text-decoration:"+w.join(" ")),p?'<span class="'+m.concat(g).join(" ")+'"'+_(x)+">"+d.content+"</span>":'<span style="'+m.concat(g).join(";")+'"'+_(x)+">"+d.content+"</span>"}removeDecoration(s){const l=this.decorations.indexOf(s);l>=0&&this.decorations.splice(l,1)}}return jd=n,jd}var jD=ED();const ID=m1(jD),MD={"0,0,0":"var(--dsw-alias-label-primary)","255,255,255":"var(--dsw-alias-label-primary)","85,85,85":"var(--dsw-alias-label-tertiary)","187,0,0":"var(--dsw-alias-state-error-primary)","255,85,85":"var(--dsw-alias-state-error-secondary)","0,187,0":"var(--dsw-alias-state-success-primary)","0,255,0":"var(--dsw-alias-state-success-secondary)","187,187,0":"var(--dsw-alias-state-warn-primary)","255,255,85":"var(--dsw-alias-state-warn-secondary)","0,0,187":"var(--dsw-alias-state-business-primary)","85,85,255":"var(--dsw-static-blue-400)","0,187,187":"var(--dsw-static-blue-600)","85,255,255":"var(--dsw-static-blue-500)"},OD={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},TD=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,LD=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,PD=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,ND=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,zD=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,w6=8,AD=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,RD=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function Id(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:RD.test(e)}const Zs={fg:"",bg:"",attrs:[]},DD={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function C9(e,t){const n=t===""?["0"]:t.split(";");let r=e;for(let s=0;s<n.length;s++){const l=String(n[s]);if(l===""||l==="0"){r=Zs;continue}if(l==="38"||l==="48"){const p=n[s+1]??"",m=p==="2"?4:p==="5"?2:0,g=n.slice(s,s+m+1).join(";");r=l==="38"?{...r,fg:g}:{...r,bg:g},s+=m;continue}const u=DD[l];if(u!==void 0){r={...r,attrs:r.attrs.filter(p=>!u.includes(p))};continue}const d=Number(l);if(l==="39"){r={...r,fg:""};continue}if(l==="49"){r={...r,bg:""};continue}if(d>=30&&d<=37||d>=90&&d<=97){r={...r,fg:l};continue}if(d>=40&&d<=47||d>=100&&d<=107){r={...r,bg:l};continue}r.attrs.includes(l)||(r={...r,attrs:[...r.attrs,l]})}return r}function x6(e){const t=[...e.attrs];return e.fg!==""&&t.push(e.fg),e.bg!==""&&t.push(e.bg),t.length===0?"":`\x1B[${t.join(";")}m`}function Ba(e,t){return e.fg===t.fg&&e.bg===t.bg&&e.attrs.length===t.attrs.length&&e.attrs.every((n,r)=>n===t.attrs[r])}function FD(e,t){const n=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,r=[];let s=0,l=t,u=0;const d=(w,x)=>{const _=r[w];_?.spacer===!0&&w>0?r[w-1]={sgr:l,char:x}:_!==void 0&&Id(_.char)&&r[w+1]?.spacer===!0&&(r[w+1]={sgr:l,char:x}),r[w]={sgr:l,char:x}},p=w=>{for(const x of w){if(x==="\r"){s=0;continue}if(x==="\b"){s=Math.max(0,s-1);continue}if(x===" "){const _=s+w6-s%w6;for(;s<_;s++)r[s]??={sgr:l,char:" "};continue}if(AD.test(x)){const _=s>0?r[s-1]:void 0;_!==void 0&&(r[s-1]={sgr:_.sgr,char:_.char+x});continue}d(s," "),r[s]={sgr:l,char:x},s++,Id(x)&&(r[s]={sgr:l,char:"",spacer:!0},s++)}};for(const w of e.matchAll(n)){p(e.slice(u,w.index)),u=w.index+w[0].length;const x=String(w[1]),_=String(w[2]);if(_==="K"){const C=String(x.split(";")[0]);if(C==="1")for(let I=0;I<=s;I++)d(I," ");else r.length=C==="2"?0:s;continue}_==="m"&&(l=C9(l,x))}p(e.slice(u));let m="",g=t;for(let w=0;w<r.length;w++){const x=r[w]??{sgr:Zs,char:" "};Ba(x.sgr,g)||(Ba(g,Zs)||(m+="\x1B[0m"),m+=x6(x.sgr),g=x.sgr);const _=w>0&&Id(r[w-1]?.char??"");m+=x.spacer===!0&&!_?" ":x.char}return Ba(g,l)||(Ba(g,Zs)||(m+="\x1B[0m"),m+=x6(l)),{text:m,sgr:l}}function $D(e){const t=[];let n=Zs;for(const r of e.split(`
|
|
141
|
+
`)){const s=r.replace(/\r+$/,"");if(ND.test(s)){const l=FD(s,n);t.push(l.text),n=l.sgr;continue}t.push(s);for(const l of s.matchAll(zD))n=C9(n,String(l[1]))}return t.join(`
|
|
142
|
+
`)}function HD(e){const t=e.replace(TD,"").replace(LD,"");return $D(t).replace(PD,"")}function VD(e){const t={},n=e.bg===null?void 0:`rgb(${e.bg})`;if(n!==void 0&&(t.backgroundColor=n),e.fg!==null){const r=`rgb(${e.fg})`;t.color=n===void 0?MD[e.fg.replace(/\s+/g,"")]??r:r}for(const r of e.decorations)Object.assign(t,OD[r]);return Object.keys(t).length===0?void 0:t}function BD(e){let t=[];const n=[t];for(const r of ID.ansiToJson(HD(e),{json:!0,remove_empty:!0})){const s=VD(r);for(const[l,u]of r.content.split(`
|
|
143
|
+
`).entries())l>0&&(t=[],n.push(t)),u!==""&&t.push({text:u,style:s})}return n}function k9(e,t,n){const r=e-t,s=Math.ceil(t/2);return{hidden:r,capped:r>0&&!n,headLines:s,tailLines:t-s}}const ZD="_block_1fs6g_1",WD="_header_1fs6g_32",UD="_prompt_1fs6g_70",qD="_promptLine_1fs6g_78",GD="_runState_1fs6g_91",KD="_runStateLabel_1fs6g_99",YD="_cwd_1fs6g_108",JD="_command_1fs6g_118",XD="_status_1fs6g_131",QD="_copyButton_1fs6g_139",eF="_output_1fs6g_159",tF="_line_1fs6g_186",nF="_expand_1fs6g_192",rF="_empty_1fs6g_208",Gt={block:ZD,header:WD,prompt:UD,promptLine:qD,runState:GD,runStateLabel:KD,cwd:YD,command:JD,status:XD,copyButton:QD,output:eF,line:tF,expand:nF,empty:rF},S9=16;function oF(e,t){const n=e.replace(/[/\\]+$/,"");if(t!==void 0&&n===t.replace(/[/\\]+$/,""))return"~";const r=n.split(/[/\\]/).pop();return r===void 0||r===""?e:r}function E9(e,t,n){if(t!==void 0)return n.signal(t);if(e===null)return n.noExitCode;if(e!==void 0&&e!==0)return n.exitCode(e)}function iF(e,t,n,r){return e?{state:"ongoing",label:r.running}:E9(t,n,r)!==void 0?{state:"error",label:r.failed}:{state:"done",label:r.done}}function y6(e){return e.map((t,n)=>t.style===void 0?t.text:c.jsx("span",{style:t.style,children:t.text},n))}function sF({command:e,cwd:t,home:n,output:r,exitCode:s,signal:l,running:u=!1,maxLines:d=S9,copyText:p,runStateDot:m=!0,className:g,labels:w}){const x=w,_=r??"",C=S.useMemo(()=>{const K=BD(_),X=K[K.length-1];return K.length>1&&X!==void 0&&X.every(he=>he.text==="")?K.slice(0,-1):K},[_]),[I,M]=S.useState(!1),{copied:N,onCopy:O}=v1(p??_),B=S.useCallback(()=>{M(K=>!K)},[]),z=E9(s,l,x),U=iF(u,s,l,x),Z=S.useMemo(()=>(e.endsWith(`
|
|
144
144
|
`)?e.slice(0,-1):e).split(`
|
|
145
|
-
`),[e]),ee=
|
|
146
|
-
`),[n]),w=S.useSyncExternalStore(
|
|
145
|
+
`),[e]),ee=C.every(K=>K.every(X=>X.text.trim()==="")),{hidden:q,capped:G,headLines:k,tailLines:Y}=k9(C.length,d,I),V=!u||!ee;return c.jsxs("div",{className:xe(Gt.block,g),"data-terminal":"","data-running":u?"":void 0,"data-body":V?"":void 0,children:[c.jsxs("div",{className:Gt.header,children:[c.jsxs("div",{className:Gt.prompt,children:[m&&c.jsx("span",{className:Gt.runStateLabel,children:U.label}),Z.map((K,X)=>c.jsxs("div",{className:Gt.promptLine,children:[X===0&&m&&c.jsx(s2,{state:U.state,className:Gt.runState}),c.jsx("span",{className:Gt.cwd,children:X>0||t===void 0?"$":oF(t,n)}),c.jsx("span",{className:Gt.command,children:K})]},X))]}),z!==void 0&&c.jsx(a2,{className:Gt.status,children:z}),(p!==void 0||!u&&!ee)&&c.jsx("button",{type:"button",className:Gt.copyButton,onClick:O,children:N?x.copied:x.copy})]}),V&&(ee?c.jsx("div",{className:Gt.empty,children:x.noOutput}):c.jsxs("div",{className:Gt.output,children:[(G?C.slice(0,k):C).map((K,X)=>c.jsx("div",{className:Gt.line,children:y6(K)},X)),q>0&&c.jsx("button",{type:"button",className:Gt.expand,"aria-expanded":I,"aria-label":I?x.collapseAria:x.expandAria(q),onClick:B,children:I?x.collapse:x.expand(q)}),G&&C.slice(C.length-Y).map((K,X)=>c.jsx("div",{className:Gt.line,children:y6(K)},X))]}))]})}function j9({className:e,expanded:t,hidden:n,labels:r,onToggle:s}){return c.jsx("button",{type:"button",className:e,"aria-expanded":t,"aria-label":t?r.collapseAria:r.expandAria(n),onClick:s,children:t?r.collapse:r.expand(n)})}const aF="_card_1pq26_1",lF="_header_1pq26_10",cF="_heading_1pq26_23",uF="_language_1pq26_30",dF="_title_1pq26_36",fF="_actions_1pq26_43",hF="_status_1pq26_50",pF="_action_1pq26_43",mF="_body_1pq26_79",Rn={card:aF,header:lF,heading:cF,language:uF,title:dF,actions:fF,status:hF,action:pF,body:mF};function w2({lang:e,title:t,status:n,labels:r,copyLabel:s,copiedLabel:l,copied:u,wrapped:d,onCopy:p,onWrap:m}){const g=d?r.unwrapLabel:r.wrapLabel,w=u?l:s;return c.jsxs("div",{className:Rn.header,"data-code-block-banner":!0,children:[c.jsxs("div",{className:Rn.heading,children:[c.jsx("span",{className:Rn.language,children:g9(e)?e:r.codeLabel}),t!==void 0&&c.jsx("span",{className:Rn.title,title:t,children:t})]}),c.jsxs("div",{className:Rn.actions,children:[n!==void 0&&c.jsx("span",{className:Rn.status,children:n}),m!==void 0&&c.jsx(Gr,{label:g,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:Rn.action,"aria-label":r.wrapLabel,"aria-pressed":d,onClick:m,children:d?c.jsx(jp,{size:14}):c.jsx(Mp,{size:14})})}),p!==void 0&&c.jsx(Gr,{label:w,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:Rn.action,"aria-label":w,onClick:p,children:u?c.jsx(zi,{size:14}):c.jsx(o2,{size:14})})})]})]})}const gF=()=>{};class vF{observer;activators=new Map;observe(t,n){return typeof IntersectionObserver>"u"?(n(),gF):(this.observer??=new IntersectionObserver(r=>{for(const s of r){if(!s.isIntersecting)continue;const l=this.activators.get(s.target);l!==void 0&&(this.activators.delete(s.target),this.observer?.unobserve(s.target),l())}this.releaseEmptyObserver()}),this.activators.set(t,n),this.observer.observe(t),()=>{this.activators.delete(t),this.observer?.unobserve(t),this.releaseEmptyObserver()})}releaseEmptyObserver(){this.activators.size>0||(this.observer?.disconnect(),this.observer=void 0)}}const wF=new vF;function I9(e,t){const n=g9(t),[r,s]=S.useState(!1),l=S.useCallback(()=>{s(!0)},[]);return S.useEffect(()=>{if(r||!n)return;const u=e.current;if(u!==null)return wF.observe(u,l)},[l,r,n,e]),r&&n}const xF="_line_cjydv_1",yF="_gutter_cjydv_7",_F="_content_cjydv_16",bF="_block_cjydv_21",CF="_expand_cjydv_29",zs={line:xF,gutter:yF,content:_F,block:bF,expand:CF},M9=16;function kF(e){return e.map((t,n)=>c.jsx("span",{style:t.style,children:t.text},n))}function SF({label:e,labels:t,lines:n,totalLines:r,copyText:s,lang:l,maxLines:u=M9,className:d}){const p=S.useRef(null),m=I9(p,l),g=S.useMemo(()=>n.map(K=>K.text).join(`
|
|
146
|
+
`),[n]),w=S.useSyncExternalStore(m2,Ti,Ti),x=S.useMemo(()=>m?w9(g,l):void 0,[m,g,l,w]),[_,C]=S.useState(!1),{copied:I,onCopy:M}=v1(s??g),[N,O]=S.useState(!1),B=S.useCallback(()=>{C(K=>!K)},[]),z=n.length-u,U=z>0&&!_,Z=Math.ceil(u/2),ee=u-Z,q=n.length<r,G=K=>K.map(([X,we])=>c.jsxs("div",{className:zs.line,children:[c.jsx("span",{className:zs.gutter,"aria-hidden":!0,children:X.number}),c.jsx("span",{className:zs.content,children:we===void 0?X.text:kF(we)})]},X.number)),Y={"--dsl-read-gutter":`${n.reduce((K,X)=>Math.max(K,String(X.number).length),3)}ch`},V=n.map((K,X)=>[K,x?.[X]]);return c.jsxs("div",{ref:p,className:xe(Rn.card,zs.block,d),"data-read":"","data-code-wrap":N,style:Y,children:[c.jsx(w2,{lang:l,title:e,status:q?t.window(n.length,r):void 0,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:I,wrapped:N,onCopy:n.length>0?M:void 0,onWrap:()=>{O(K=>!K)}}),c.jsxs("div",{className:Rn.body,children:[G(U?V.slice(0,Z):V),z>0&&c.jsx(j9,{className:zs.expand,expanded:_,hidden:z,labels:t,onToggle:B}),U&&G(V.slice(V.length-ee))]})]})}class EF{diff(t,n,r={}){let s;typeof r=="function"?(s=r,r={}):"callback"in r&&(s=r.callback);const l=this.castInput(t,r),u=this.castInput(n,r),d=this.removeEmpty(this.tokenize(l,r)),p=this.removeEmpty(this.tokenize(u,r));return this.diffWithOptionsObj(d,p,r,s)}diffWithOptionsObj(t,n,r,s){var l;const u=O=>{if(O=this.postProcess(O,r),s){setTimeout(function(){s(O)},0);return}else return O},d=n.length,p=t.length;let m=1,g=d+p;r.maxEditLength!=null&&(g=Math.min(g,r.maxEditLength));const w=(l=r.timeout)!==null&&l!==void 0?l:1/0,x=Date.now()+w,_=[{oldPos:-1,lastComponent:void 0}];let C=this.extractCommon(_[0],n,t,0,r);if(_[0].oldPos+1>=p&&C+1>=d)return u(this.buildValues(_[0].lastComponent,n,t));let I=-1/0,M=1/0;const N=()=>{for(let O=Math.max(I,-m);O<=Math.min(M,m);O+=2){let B;const z=_[O-1],U=_[O+1];z&&(_[O-1]=void 0);let Z=!1;if(U){const q=U.oldPos-O;Z=U&&0<=q&&q<d}const ee=z&&z.oldPos+1<p;if(!Z&&!ee){_[O]=void 0;continue}if(!ee||Z&&z.oldPos<U.oldPos?B=this.addToPath(U,!0,!1,0,r):B=this.addToPath(z,!1,!0,1,r),C=this.extractCommon(B,n,t,O,r),B.oldPos+1>=p&&C+1>=d)return u(this.buildValues(B.lastComponent,n,t))||!0;_[O]=B,B.oldPos+1>=p&&(M=Math.min(M,O-1)),C+1>=d&&(I=Math.max(I,O+1))}m++};if(s)(function O(){setTimeout(function(){if(m>g||Date.now()>x)return s(void 0);N()||O()},0)})();else for(;m<=g&&Date.now()<=x;){const O=N();if(O)return O}}addToPath(t,n,r,s,l){const u=t.lastComponent;return u&&!l.oneChangePerToken&&u.added===n&&u.removed===r?{oldPos:t.oldPos+s,lastComponent:{count:u.count+1,added:n,removed:r,previousComponent:u.previousComponent}}:{oldPos:t.oldPos+s,lastComponent:{count:1,added:n,removed:r,previousComponent:u}}}extractCommon(t,n,r,s,l){const u=n.length,d=r.length;let p=t.oldPos,m=p-s,g=0;for(;m+1<u&&p+1<d&&this.equals(r[p+1],n[m+1],l);)m++,p++,g++,l.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return g&&!l.oneChangePerToken&&(t.lastComponent={count:g,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=p,m}equals(t,n,r){return r.comparator?r.comparator(t,n):t===n||!!r.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,r){const s=[];let l;for(;t;)s.push(t),l=t.previousComponent,delete t.previousComponent,t=l;s.reverse();const u=s.length;let d=0,p=0,m=0;for(;d<u;d++){const g=s[d];if(g.removed)g.value=this.join(r.slice(m,m+g.count)),m+=g.count;else{if(!g.added&&this.useLongestToken){let w=n.slice(p,p+g.count);w=w.map(function(x,_){const C=r[m+_];return C.length>x.length?C:x}),g.value=this.join(w)}else g.value=this.join(n.slice(p,p+g.count));p+=g.count,g.added||(m+=g.count)}}return s}}class jF extends EF{constructor(){super(...arguments),this.tokenize=MF}equals(t,n,r){return r.ignoreWhitespace?((!r.newlineIsToken||!t.includes(`
|
|
147
147
|
`))&&(t=t.trim()),(!r.newlineIsToken||!n.includes(`
|
|
148
148
|
`))&&(n=n.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(t.endsWith(`
|
|
149
149
|
`)&&(t=t.slice(0,-1)),n.endsWith(`
|
|
150
|
-
`)&&(n=n.slice(0,-1))),super.equals(t,n,r)}}const
|
|
151
|
-
`));const n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let s=0;s<r.length;s++){const l=r[s];s%2&&!t.newlineIsToken?n[n.length-1]+=l:n.push(l)}return n}function
|
|
152
|
-
`)?O.lines[B]=O.lines[B].slice(0,-1):(O.lines.splice(B+1,0,"\"),B++);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:l,hunks:x}}}function
|
|
150
|
+
`)&&(n=n.slice(0,-1))),super.equals(t,n,r)}}const IF=new jF;function _6(e,t,n){return IF.diff(e,t,n)}function MF(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
151
|
+
`));const n=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let s=0;s<r.length;s++){const l=r[s];s%2&&!t.newlineIsToken?n[n.length-1]+=l:n.push(l)}return n}function OF(e,t,n,r,s,l,u){let d;u?typeof u=="function"?d={callback:u}:d=u:d={},typeof d.context>"u"&&(d.context=4);const p=d.context;if(d.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(d.callback){const{callback:g}=d;_6(n,r,Object.assign(Object.assign({},d),{callback:w=>{const x=m(w);g(x)}}))}else return m(_6(n,r,d));function m(g){if(!g)return;g.push({value:"",lines:[]});function w(O){return O.map(function(B){return" "+B})}const x=[];let _=0,C=0,I=[],M=1,N=1;for(let O=0;O<g.length;O++){const B=g[O],z=B.lines||TF(B.value);if(B.lines=z,B.added||B.removed){if(!_){const U=g[O-1];_=M,C=N,U&&(I=p>0?w(U.lines.slice(-p)):[],_-=I.length,C-=I.length)}for(const U of z)I.push((B.added?"+":"-")+U);B.added?N+=z.length:M+=z.length}else{if(_)if(z.length<=p*2&&O<g.length-2)for(const U of w(z))I.push(U);else{const U=Math.min(z.length,p);for(const ee of w(z.slice(0,U)))I.push(ee);const Z={oldStart:_,oldLines:M-_+U,newStart:C,newLines:N-C+U,lines:I};x.push(Z),_=0,C=0,I=[]}M+=z.length,N+=z.length}}for(const O of x)for(let B=0;B<O.lines.length;B++)O.lines[B].endsWith(`
|
|
152
|
+
`)?O.lines[B]=O.lines[B].slice(0,-1):(O.lines.splice(B+1,0,"\"),B++);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:l,hunks:x}}}function TF(e){const t=e.endsWith(`
|
|
153
153
|
`),n=e.split(`
|
|
154
154
|
`).map(r=>r+`
|
|
155
|
-
`);return t?n.pop():n.push(n.pop().slice(0,-1)),n}const
|
|
156
|
-
`).join("");return
|
|
155
|
+
`);return t?n.pop():n.push(n.pop().slice(0,-1)),n}const LF="_block_1a1p3_1",PF="_body_1a1p3_5",NF="_line_1a1p3_13",zF="_path_1a1p3_29",AF="_gap_1a1p3_34",RF="_del_1a1p3_38",DF="_add_1a1p3_48",FF="_context_1a1p3_58",$F="_expand_1a1p3_66",Qn={block:LF,body:PF,line:NF,path:zF,gap:AF,del:RF,add:DF,context:FF,expand:$F},O9=16;function HF(e){throw new Error(`unreachable diff row kind: ${String(e)}`)}const b6={path:Qn.path,del:Qn.del,add:Qn.add,context:Qn.context,gap:Qn.gap},VF=256;function T9(e){const t=C6(e.oldText??""),n=C6(e.newText),r=s=>s.map(l=>`${l}
|
|
156
|
+
`).join("");return OF("","",r(t),r(n),void 0,void 0,{context:3,maxEditLength:VF})?.hunks??[{lines:[...t.map(s=>`-${s}`),...n.map(s=>`+${s}`)]}]}function BF(e){let t=0,n=0;for(const r of e)for(const s of T9(r))for(const l of s.lines)l.startsWith("+")&&t++,l.startsWith("-")&&n++;return{added:t,removed:n}}function ZF(e){const t=[];let n;for(const r of e){r.path!==n?t.push({kind:"path",text:r.path}):t.push({kind:"gap",text:"⋯"}),n=r.path;for(const[s,l]of T9(r).entries()){s>0&&t.push({kind:"gap",text:"⋯"});for(const u of l.lines){const d=u.startsWith("-")?"del":u.startsWith("+")?"add":"context";t.push({kind:d,text:u.slice(1)})}}}return t}function C6(e){return e===""?[]:(e.endsWith(`
|
|
157
157
|
`)?e.slice(0,-1):e).split(`
|
|
158
|
-
`)}function
|
|
159
|
-
`)}function
|
|
158
|
+
`)}function WF(e){return e.map(t=>{switch(t.kind){case"del":return`- ${t.text}`;case"add":return`+ ${t.text}`;case"context":return` ${t.text}`;case"path":return t.text;case"gap":return t.text;default:return HF(t.kind)}}).join(`
|
|
159
|
+
`)}function UF({diffs:e,copyText:t,labels:n,maxLines:r=O9,className:s}){const l=S.useMemo(()=>ZF(e),[e]),[u,d]=S.useState(!1),p=S.useCallback(async()=>WF(l),[l]),{copied:m,onCopy:g}=v1(t??p),[w,x]=S.useState(!1),_=e[0]===void 0?void 0:c0(e[0].path),C=e.every(Z=>c0(Z.path)===_)?_:void 0,I=S.useCallback(()=>{d(Z=>!Z)},[]);if(l.length===0)return null;const M=l.length-r,N=M>0&&!u,O=Math.ceil(r/2),B=r-O,z=N?l.slice(0,O):l,U=N?l.slice(l.length-B):[];return c.jsxs("div",{className:xe(Rn.card,Qn.block,s),"data-diff":"","data-code-wrap":w,children:[c.jsx(w2,{lang:C,labels:n,copyLabel:n.copy,copiedLabel:n.copied,copied:m,wrapped:w,onCopy:g,onWrap:()=>{x(Z=>!Z)}}),c.jsxs("div",{className:Qn.body,"data-diff-body":!0,children:[z.map((Z,ee)=>c.jsx("div",{className:xe(Qn.line,b6[Z.kind]),"data-diff-row":Z.kind,children:Z.text},ee)),M>0&&c.jsx(j9,{className:Qn.expand,expanded:u,hidden:M,labels:n,onToggle:I}),U.map((Z,ee)=>c.jsx("div",{className:xe(Qn.line,b6[Z.kind]),"data-diff-row":Z.kind,children:Z.text},ee))]})]})}const qF="_block_1u3n2_1",GF="_header_1u3n2_12",KF="_summary_1u3n2_22",YF="_copyButton_1u3n2_32",JF="_body_1u3n2_43",XF="_line_1u3n2_52",QF="_lineNumber_1u3n2_60",e$="_fileHeader_1u3n2_66",t$="_filePath_1u3n2_80",n$="_fileCount_1u3n2_87",r$="_expand_1u3n2_92",o$="_empty_1u3n2_108",hn={block:qF,header:GF,summary:KF,copyButton:YF,body:JF,line:XF,lineNumber:QF,fileHeader:e$,filePath:t$,fileCount:n$,expand:r$,empty:o$},L9=16;function i$(e){return e.kind==="paths"?e.paths.join(`
|
|
160
160
|
`):e.files.map(t=>[t.path,...t.matches.map(n=>`${n.lineNumber}: ${n.line}`)].join(`
|
|
161
161
|
`)).join(`
|
|
162
162
|
|
|
163
|
-
`)}function
|
|
163
|
+
`)}function s$(e){return e.kind==="paths"?e.paths.length:e.files.reduce((t,n)=>t+n.matches.length,0)}function a$(e,t,n,r){return e.kind==="paths"?e.labels.pathsSummary(t,r,n):e.labels.matchesSummary(t,r,e.files.length,n)}function l$(e,t){if(e.kind==="paths")return e.paths.map(r=>({type:"path",path:r}));const n=[];return e.files.forEach((r,s)=>{const l=t.has(s);if(n.push({type:"file",path:r.path,count:r.matches.length,index:s,collapsed:l}),!l)for(const u of r.matches)n.push({type:"match",lineNumber:u.lineNumber,line:u.line,key:`${s}:${u.lineNumber}`,fileIndex:s})}),n}function Md(e){switch(e.type){case"match":return`match:${e.key}`;case"file":return`file:${e.index}`;case"path":return`path:${e.path}`}}function c$(e){const{truncated:t,total:n,maxLines:r=L9,className:s}=e,[l,u]=S.useState(!1),[d,p]=S.useState(()=>new Set),m=l$(e,d),g=s$(e),w=m.length===0,{copied:x,onCopy:_}=v1(e.copyText??i$(e)),C=S.useCallback(()=>{u(k=>!k)},[]),I=S.useCallback(k=>{p(Y=>{const V=new Set(Y);return V.has(k)?V.delete(k):V.add(k),V})},[]),{hidden:M,capped:N,headLines:O,tailLines:B}=k9(m.length,r,l),z=N?m.slice(0,O):m,U=N?m.slice(m.length-B):[],Z=U[0],ee=Z?.type==="match"&&!z.some(k=>k.type==="file"&&k.index===Z.fileIndex)?m.find(k=>k.type==="file"&&k.index===Z.fileIndex):void 0,q=ee===void 0?U:U.slice(1),G=k=>k.type==="path"?c.jsx("div",{className:hn.line,children:k.path}):k.type==="match"?c.jsxs("div",{className:hn.line,children:[c.jsxs("span",{className:hn.lineNumber,children:[k.lineNumber,": "]}),k.line]}):c.jsxs("button",{type:"button",className:hn.fileHeader,"aria-expanded":!k.collapsed,onClick:()=>{I(k.index)},children:[c.jsx("span",{className:hn.filePath,children:k.path}),c.jsx("span",{className:hn.fileCount,children:k.count})]});return c.jsxs("div",{className:xe(hn.block,s),"data-search":e.kind,children:[c.jsxs("div",{className:hn.header,children:[c.jsx("span",{className:hn.summary,children:a$(e,g,t,n)}),!w&&c.jsx("button",{type:"button",className:hn.copyButton,onClick:_,children:x?e.labels.copied:e.labels.copy})]}),w?c.jsx("div",{className:hn.empty,children:e.labels.noResults}):c.jsxs("div",{className:hn.body,children:[z.map(k=>c.jsx("div",{children:G(k)},Md(k))),M>0&&c.jsx("button",{type:"button",className:hn.expand,"aria-expanded":l,"aria-label":l?e.labels.collapseAria:e.labels.expandAria(M),onClick:C,children:l?e.labels.collapse:e.labels.expand(M)}),ee!==void 0&&c.jsx("div",{children:G(ee)},`tailHeader:${Md(ee)}`),q.map(k=>c.jsx("div",{children:G(k)},Md(k)))]})]})}const u$=2;function k6(e,t,n){const r=e.position?.start.offset;return r===void 0?-(n+1):t+r}function d$(e,t){for(let n=t;n<e.length;n+=1){const r=e[n];if(r===`
|
|
164
164
|
`)return n+1;if(r==="\r")return e[n+1]===`
|
|
165
|
-
`?n+2:n+1}}function
|
|
165
|
+
`?n+2:n+1}}function S6(e){let t=0,n=0;for(let r=0;r<e.length;r+=1){const s=e[r];if(s===`
|
|
166
166
|
`){t=n,n=r+1;continue}s!=="\r"||r+1>=e.length||(e[r+1]===`
|
|
167
|
-
`&&(r+=1),t=n,n=r+1)}return t}function
|
|
167
|
+
`&&(r+=1),t=n,n=r+1)}return t}function E6(e){return e.endsWith(`\r
|
|
168
168
|
`)?`\r
|
|
169
169
|
`:e.endsWith("\r")?"\r":`
|
|
170
|
-
`}function
|
|
170
|
+
`}function j6(e,t,n){let r=0;for(;r<=e.length;){let s=r;for(;s<e.length&&e[s]!==`
|
|
171
171
|
`&&e[s]!=="\r";)s+=1;const l=e.slice(r,s);let u=0;for(;u<3&&l[u]===" ";)u+=1;let d=u;for(;l[d]===t;)d+=1;if(d-u>=n&&/^[ \t]*$/.test(l.slice(d)))return!0;if(s===e.length)return!1;r=e[s]==="\r"&&e[s+1]===`
|
|
172
|
-
`?s+2:s+1}return!1}function
|
|
173
|
-
`){l||(r+=1),s=1,l=!1;continue}if(u==="\r"){r+=1,s=1,l=!0;continue}s+=1,l=!1}return{line:r,column:s,offset:e.offset+t.length}}class
|
|
174
|
-
`,p-1),x=g.lastIndexOf("\r",p-1),
|
|
175
|
-
`,ee=
|
|
176
|
-
`)break;if(g!==void 0)
|
|
177
|
-
`,c.jsx("span",{className:"line",children:e.map((n,r)=>c.jsx("span",{style:n.style,children:n.text},r))})]},t)}function
|
|
172
|
+
`?s+2:s+1}return!1}function f$(e,t,n){let r=e.line,s=e.column,l=n;for(const u of t){if(u===`
|
|
173
|
+
`){l||(r+=1),s=1,l=!1;continue}if(u==="\r"){r+=1,s=1,l=!0;continue}s+=1,l=!1}return{line:r,column:s,offset:e.offset+t.length}}class h${constructor(t){this.parse=t}prevText="";tailStart=0;frozen=[];generation=0;cached=null;openFence=null;fenceValue(t,n){const r=this.parse(`${t.syntheticPrefix}${n}`);if(r.children.length!==1)return;const s=r.children[0];return s.type==="code"?s.value:void 0}openFenceState(t,n,r,s){const l=r.length-1,u=r[l];if(u?.node.type!=="code")return null;const d=u.node,p=d.position?.start.offset,m=d.position?.end;if(p===void 0||m?.offset===void 0||n+m.offset!==t.length)return null;const g=t.slice(n),w=g.lastIndexOf(`
|
|
174
|
+
`,p-1),x=g.lastIndexOf("\r",p-1),_=Math.max(w,x)+1,C=d$(g,p);if(C===void 0||C===g.length&&g.endsWith("\r"))return null;const I=g.slice(_,C).replace(/[\r\n]+$/,""),M=/^( {0,3})(`{3,}|~{3,})/.exec(I);if(M===null)return null;const N=M[1],O=M[2];if(_+N.length!==p)return null;const B=O[0],z=n+C,U=t.slice(z);if(j6(U,B,O.length))return null;const Z=`${N}${O}
|
|
175
|
+
`,ee=S6(U),q=ee===0?"":this.fenceValue({syntheticPrefix:Z},U.slice(0,ee));if(q===void 0)return null;const G=z+ee,k=U.slice(0,ee),Y=ee===0?"":`${q}${E6(k)}`,V=this.fenceValue({syntheticPrefix:Z},t.slice(G));return V===void 0||`${Y}${V}`!==d.value?null:{marker:B,markerLength:O.length,syntheticPrefix:Z,codeIndex:l,frozen:s,tail:r,pendingStart:G,valuePrefix:Y,end:{line:m.line,column:m.column,offset:m.offset},endedWithCarriageReturn:t.endsWith("\r")}}updateOpenFence(t,n,r){const s=n.slice(t.pendingStart);if(j6(s,t.marker,t.markerLength))return;const l=this.fenceValue(t,s);if(l===void 0)return;const u=S6(s),d=u===0?"":this.fenceValue(t,s.slice(0,u));if(d===void 0)return;const m=t.tail[t.codeIndex].node,g=f$(t.end,n.slice(r.length),t.endedWithCarriageReturn),w={...m,value:`${t.valuePrefix}${l}`,position:{start:m.position.start,end:g}},x=t.tail.map((C,I)=>I===t.codeIndex?{...C,node:w}:C),_={frozen:t.frozen,tail:x,generation:this.generation};return this.openFence={...t,tail:x,pendingStart:t.pendingStart+u,valuePrefix:u===0?t.valuePrefix:`${t.valuePrefix}${d}${E6(s.slice(0,u))}`,end:g,endedWithCarriageReturn:n.endsWith("\r")},_}update(t){if(this.cached!==null&&t===this.prevText)return this.cached;t.startsWith(this.prevText)||(this.prevText="",this.tailStart=0,this.frozen=[],this.openFence=null,this.generation+=1);const n=this.prevText;if(n!==""&&this.openFence!==null){const d=this.updateOpenFence(this.openFence,t,n);if(d!==void 0)return this.prevText=t,this.cached=d,d;this.openFence=null}this.prevText=t;const r=this.tailStart,s=this.parse(t.slice(r)).children;let l=Math.max(0,s.length-u$);if(l>0){const d=s[l-1]?.position?.end.offset;if(d===void 0)l=0;else{for(const p of s.slice(0,l))this.frozen.push({node:p,key:k6(p,r,this.frozen.length)});this.tailStart=r+d}}const u=s.slice(l).map((d,p)=>({node:d,key:k6(d,r,p)}));return this.cached={frozen:[...this.frozen],tail:u,generation:this.generation},this.openFence=this.openFenceState(t,r,u,this.cached.frozen),this.cached}}const Za=":codex-annotation",Od=/[ \t\v\f\ufeff]/,p$=/^-?(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*|(?:\d(?:_?\d)*(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?)n?/;function I6(e){return Z6(e.replaceAll("\\","\\\\"))}function m$(e){const t=/[^\s\x00"'>/=\x00-\x1f\x7f-\x9f]+/y,n=/[^"\s'`=<>\x00]+/y;let r=0,s="";for(;r<e.length;){if(Od.test(e[r])){r++;continue}t.lastIndex=r;const l=t.exec(e)?.[0];if(l===void 0)return;for(r+=l.length,l==="index"&&(s="");r<e.length&&Od.test(e[r]);)r++;if(e[r]!=="="||(r++,r===e.length||Od.test(e[r])))continue;let u;const d=e[r];if(d==='"'||d==="'"){const p=++r;for(;r<e.length&&e[r]!==d;)e[r]==="\\"&&e[r+1]===d&&r++,r++;if(r===e.length)return;u=I6(e.slice(p,r).replaceAll("\\"+d,d)),r++}else{const p=e.slice(r),m=p$.exec(p)?.[0]??/^(?:true|false)/.exec(p)?.[0];if(m!==void 0)u=/^(?:true|false)$/.test(m)?m:String(Number(m.replace(/_|n$/g,""))),r+=m.length;else{n.lastIndex=r;const g=n.exec(e)?.[0];if(g===void 0)return;u=I6(g),r+=g.length}}l==="index"&&(s=u)}return s}function g$(e,t,n){if(!e.startsWith(Za,t))return;const r=t+Za.length;if(/[\w-]/.test(e[r]??""))return;let s=r,l=-1,u=-1,d=0,p=Za.slice(1);for(;s<e.length;)if(e[s]==="["){let g=s+1;for(;g<e.length&&!/[\]\r\n]/.test(e[g]);)g++;if(e[g]!=="]")break;s=g+1,l<0&&d++}else if(e[s]==="{"){if(s>=n)break;let g,w=!1,x=s+1;for(;x<e.length;x++){const C=e[x];if(C==="\r"||C===`
|
|
176
|
+
`)break;if(g!==void 0)C==="\\"&&e[x+1]===g?x++:C===g?g=void 0:C==="}"&&(w=!0);else if(C==='"'||C==="'")g=C;else if(C==="}")break}if(e[x]!=="}"){if(w)return;break}const _=l<0;for(_&&(l=s),s=x+1;e[s]==="}";)s++;if(u=s-1,_&&d<=1&&/[A-Za-z]/.test(e[x+1]??""))break}else if(s!==r&&/[A-Za-z]/.test(e[s]))p=/^[A-Za-z][\w-]*/.exec(e.slice(s))[0],s+=p.length;else break;const m=l<0?"":m$(e.slice(l+1,u));return m===void 0?void 0:{end:s,index:p===Za.slice(1)?m:""}}function v$(e){this.enter({type:"codexAnnotation",index:e.index},e)}function w$(e){this.exit(e)}function P9(e){const t=e.lastIndexOf("}"),n={name:"codexAnnotation",tokenize(r,s,l){const u=this,d=g$(e,u.now().offset,t);if(d===void 0)return l;const{end:p,index:m}=d;return g;function g(x){return r.enter("codexAnnotation").index=m,w(x)}function w(x){return u.now().offset===p?(r.exit("codexAnnotation"),s(x)):(r.consume(x),w)}}};return{text:{[Ve.colon]:n}}}function N9(){return{enter:{codexAnnotation:v$},exit:{codexAnnotation:w$}}}function z9(e,t){const n=r=>{if(r.type==="paragraph"&&r.children.length===1){const[s]=r.children;if(s.type==="text"&&s.position!==void 0&&t.slice(s.position.start.offset,s.position.end.offset)===s.value){const u=/^!\[([^\]\n]*)\]\(((?:\/(?!\/)|\.{1,2}\/|[a-z]:[\\/])[^\n<>()[\]"']+\.[a-z\d]+)\)$/iu.exec(s.value);u!==null&&u[2].includes(" ")&&Jl(u[2])==="image"&&(r.children=[{type:"image",alt:u[1],url:u[2],position:s.position}])}}else if("children"in r)for(const s of r.children)n(s)};return n(e),e}const x$=new RegExp(["\\p{Script_Extensions=Han}","\\p{Script_Extensions=Hiragana}","\\p{Script_Extensions=Katakana}","\\p{Script_Extensions=Hangul}","\\p{Script_Extensions=Bopomofo}"].join("|"),"u");function y$(e){return e!==null&&e>=0&&x$.test(String.fromCodePoint(e))}const _$=function(e,t,n){const r=this.parser.constructs.attentionMarkers.null;if(r===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const s=r,l=this.previous,u=_f(l);let d=Ve.eof;return p;function p(g){return g!==Ve.asterisk?n(g):(d=g,e.enter("attentionSequence"),m(g))}function m(g){if(g===d)return e.consume(g),m;const w=e.exit("attentionSequence"),x=_f(g),_=!x||x===zd.characterGroupPunctuation&&!!u||s.includes(g),C=!u||u===zd.characterGroupPunctuation&&!!x||s.includes(l),M=w.end.offset-w.start.offset>=2&&lw(l)&&y$(g),N=C||M;return w._open=_,w._close=N,t(g)}},b$={name:"cjkFriendlyAttention",resolveAll:aw.resolveAll,tokenize:_$},C$={text:{[Ve.asterisk]:b$}};function A9(){return C$}const k$=function(e){if(e!==Ve.backslash)return!0;const t=this.events.at(-1);return t===void 0?!1:t[1].type===pn.characterEscape},S$=function(e,t,n){return r;function r(_){return _!==Ve.backslash?n(_):(e.enter("mathText"),e.enter("mathTextSequence"),e.consume(_),s)}function s(_){return _!==Ve.leftParenthesis?n(_):(e.consume(_),e.exit("mathTextSequence"),l)}function l(_){return _===Ve.eof?n(_):_===Ve.backslash?e.attempt({partial:!0,tokenize:w},g,u)(_):wi(_)?(e.enter(pn.lineEnding),e.consume(_),e.exit(pn.lineEnding),l):d(_)}function u(_){return e.check({partial:!0,tokenize:x},n,d)(_)}function d(_){return e.enter("mathTextData"),e.consume(_),_===Ve.backslash?p:m}function p(_){return _===Ve.backslash?(e.consume(_),m):m(_)}function m(_){return _===Ve.eof||_===Ve.backslash||wi(_)?(e.exit("mathTextData"),l(_)):(e.consume(_),m)}function g(_){return e.exit("mathText"),t(_)}function w(_,C,I){return M;function M(O){return O!==Ve.backslash?I(O):(_.enter("mathTextSequence"),_.consume(O),N)}function N(O){return O!==Ve.rightParenthesis?I(O):(_.consume(O),_.exit("mathTextSequence"),C)}}function x(_,C,I){return M;function M(O){return O!==Ve.backslash?I(O):(_.enter(pn.chunkString),_.consume(O),N)}function N(O){return O!==Ve.leftParenthesis?I(O):(_.consume(O),_.exit(pn.chunkString),C)}}};function R9(e,t,n){const r=function(s,l,u){const d=this;let p=!1;const m=d.events.at(-1),g=m?.[1].type===pn.linePrefix?m[2].sliceSerialize(m[1],!0).length:0;return w;function w(q){return q!==e?u(q):(s.enter("mathFlow"),s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),s.consume(q),x)}function x(q){return q!==t?u(q):(s.consume(q),s.exit("mathFlowFenceSequence"),s.exit("mathFlowFence"),e===Ve.dollarSign?_:C)}function _(q){return q===Ve.dollarSign?u(q):C(q)}function C(q){return q===Ve.eof?u(q):q===e&&(e!==Ve.dollarSign||!p)?s.attempt({partial:!0,tokenize:Z},U,I)(q):wi(q)?d.interrupt&&e===Ve.dollarSign?l(q):s.attempt(j$,M,u)(q):N(q)}function I(q){return e===Ve.backslash?s.check({partial:!0,tokenize:ee},u,O)(q):u(q)}function M(q){return s.attempt({partial:!0,tokenize:Z},U,g?qu(s,C,pn.linePrefix,g+1):C)(q)}function N(q){return s.enter("mathFlowValue"),p=q===Ve.backslash,s.consume(q),z}function O(q){return s.enter("mathFlowValue"),p=!1,s.consume(q),B}function B(q){return q===e?(s.consume(q),z):z(q)}function z(q){return q===Ve.eof||q===e||wi(q)?(s.exit("mathFlowValue"),C(q)):(p=q===Ve.backslash?!p:!1,s.consume(q),z)}function U(q){return s.exit("mathFlow"),l(q)}function Z(q,G,k){return qu(q,Y,pn.linePrefix,zd.tabSize);function Y(X){return X!==e?k(X):(q.enter("mathFlowFence"),q.enter("mathFlowFenceSequence"),q.consume(X),V)}function V(X){return X!==n?k(X):(q.consume(X),q.exit("mathFlowFenceSequence"),qu(q,K,pn.whitespace))}function K(X){return X!==Ve.eof&&!wi(X)?k(X):(q.exit("mathFlowFence"),G(X))}}function ee(q,G,k){return Y;function Y(K){return K!==e?k(K):(q.enter(pn.chunkString),q.consume(K),V)}function V(K){return K!==t?k(K):(q.consume(K),q.exit(pn.chunkString),G)}}};return{concrete:!0,name:e===Ve.dollarSign?"dollarMathFlow":"backslashMathFlow",tokenize:r}}const E$=function(e,t,n){const r=this;return s;function s(u){return u===Ve.eof?t(u):wi(u)?(e.enter(pn.lineEnding),e.consume(u),e.exit(pn.lineEnding),l):n(u)}function l(u){return r.parser.lazy[r.now().line]?n(u):t(u)}},j$={partial:!0,tokenize:E$},I$={name:"backslashMathText",previous:k$,tokenize:S$},M$=R9(Ve.backslash,Ve.leftSquareBracket,Ve.rightSquareBracket),O$=R9(Ve.dollarSign,Ve.dollarSign,Ve.dollarSign),T$={flow:{[Ve.backslash]:M$,[Ve.dollarSign]:O$},text:{[Ve.backslash]:I$}};function L$(){return T$}function P$(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function M6(e){const t=this.resume(),n=this.sliceSerialize(e),r=this.stack.at(-1);r.url=P$(n)?Z6(n.replaceAll("\\","\\\\")):t}function D9(){return{exit:{resourceDestinationString:M6,definitionDestinationString:M6}}}const F9={singleTilde:!1};function $9(e){return z9(W6(e,{extensions:[U6(F9),A9(),P9(e)],mdastExtensions:[q6(),D9(),N9()]}),e)}function N$(e){return z9(W6(e,{extensions:[U6(F9),A9(),cw(),L$(),P9(e)],mdastExtensions:[q6(),uw(),D9(),N9()]}),e)}const z$="_block_35sw4_4",A$="_bannerWrap_35sw4_24",R$="_banner_35sw4_24",D$="_infostring_35sw4_59",F$="_action_35sw4_70",$$="_copyButton_35sw4_76",H$="_content_35sw4_88",V$="_plain_35sw4_117",B$="_card_35sw4_121",Z$="_numbered_35sw4_136",Jn={block:z$,bannerWrap:A$,banner:R$,infostring:D$,action:F$,copyButton:$$,content:H$,plain:V$,card:B$,numbered:Z$},W$={className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:0},U$=32;function O6(e,t){return c.jsxs(S.Fragment,{children:[t>0&&`
|
|
177
|
+
`,c.jsx("span",{className:"line",children:e.map((n,r)=>c.jsx("span",{style:n.style,children:n.text},r))})]},t)}function H9({code:e,lang:t,streaming:n,className:r,contentRef:s,lineNumbers:l=!1,showHeader:u=!0,copyLabel:d,copiedLabel:p,toolbarLabels:m,wrap:g}){const w=e.endsWith(`
|
|
178
178
|
`)?e.slice(0,-1):e,x=l?w.split(`
|
|
179
|
-
`):void 0,
|
|
180
|
-
`,c.jsx("span",{className:"line",children:V})]},K))})}):c.jsx("div",{dangerouslySetInnerHTML:{__html:z}});return c.jsxs("div",{ref:
|
|
179
|
+
`):void 0,_=S.useRef(null),C=I9(_,t),I=S.useSyncExternalStore(m2,Ti,Ti),M=S.useRef(null),N=S.useRef(null),O=S.useRef(!1),B=S.useMemo(()=>{if(!C){M.current=null,N.current=null,O.current=!1;return}if(n!==!0){const L=N.current;if(L!==null&&L.code===w&&L.lang===t)return O.current=!0,L.body;M.current=null,N.current=null,O.current=!0;return}O.current&&(M.current=null,N.current=null,O.current=!1),M.current??=new TR;const V=M.current.updateFrame(w,t);if(V===void 0){N.current=null;return}const K=N.current;if(K?.frame===V&&K.code===w&&K.lang===t)return K.body;const X=K?.generation===V.generation,we=X?[...K.groups]:[];let he=X?[...K.pending]:[],Se=X?K.nextLine:0;for(const L of V.appended){if(he.push(O6(L,Se)),Se+=1,he.length!==U$)continue;const D=Se-he.length;we.push(c.jsx(S.Fragment,{children:he},D)),he=[]}const ce=V.tail.map((L,D)=>O6(L,Se+D)),Q=c.jsx(S.Fragment,{children:[...he,...ce]},Se-he.length),te=c.jsx("pre",{...W$,children:c.jsxs("code",{children:[we,Q]})});return N.current={code:w,lang:t,generation:V.generation,frame:V,groups:we,pending:he,nextLine:Se,body:te},te},[n,C,w,t,I]),z=S.useMemo(()=>C&&n!==!0&&B===void 0?IR(w,t):void 0,[n,C,B,w,t,I]),[U,Z]=S.useState(!1),[ee,q]=S.useState(!0),G=g??ee,k=S.useCallback(()=>{if(U)return;const V=_.current?.querySelector("pre")?.textContent??w;ql(V).then(K=>{K&&(Z(!0),window.setTimeout(()=>{Z(!1)},1e3))})},[U,w]),Y=B!==void 0?B:z===void 0?c.jsx("pre",{className:Jn.plain,children:c.jsx("code",{children:x===void 0?w:x.map((V,K)=>c.jsxs(S.Fragment,{children:[K>0&&`
|
|
180
|
+
`,c.jsx("span",{className:"line",children:V})]},K))})}):c.jsx("div",{dangerouslySetInnerHTML:{__html:z}});return c.jsxs("div",{ref:_,className:xe(Jn.block,"md-code-block",l&&Jn.numbered,m!==void 0&&Jn.card,r),"data-line-numbers":l||void 0,"data-code-wrap":m===void 0?void 0:G,style:x===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(x.length).length)}ch`},children:[u&&c.jsx("div",{className:Jn.bannerWrap,children:m!==void 0?c.jsx(w2,{lang:t,labels:m,copyLabel:d,copiedLabel:p,copied:U,wrapped:G,onCopy:k,onWrap:g===void 0?()=>{q(V=>!V)}:void 0}):c.jsxs("div",{className:Jn.banner,"data-code-block-banner":!0,children:[c.jsx("div",{className:Jn.infostring,children:t??""}),c.jsx("div",{className:Jn.action,children:c.jsx("button",{type:"button",className:Jn.copyButton,onClick:k,children:U?p:d})})]})}),c.jsx("div",{ref:s,className:Jn.content,"data-code-block-content":!0,children:Y})]})}function V9(e){if(/^file:/i.test(e))try{const p=new URL(e);if(!/^file:\/\//i.test(e)||p.hostname&&p.hostname!=="localhost"||p.search)return;e=p.pathname+p.hash,/^\/[a-z]:\//i.test(e)&&(e=e.slice(1))}catch{return}const t=e.indexOf("#"),n=t<0?e:e.slice(0,t);if(n.includes("?"))return;let r;try{r=decodeURIComponent(n)}catch{return}if(r.length===0||/[\u0000-\u001f\u007f]/.test(r)||/^[\\/]{2}/.test(r)||/^[a-z][a-z\d+.-]*:/i.test(r)&&!/^[a-z]:[\\/]/i.test(r))return;const s=t<0?/:(\d+)(?::\d+|-(\d+))?$/.exec(n):null;if(s!==null&&(r=r.slice(0,-s[0].length)),r.length===0)return;const l=s??(t<0?null:/^L(\d+)(?:-L(\d+))?$/.exec(e.slice(t+1)));if(l===null)return{path:r};const u=Number(l[1]),d=l[2]===void 0?u:Number(l[2]);return!Number.isSafeInteger(u)||!Number.isSafeInteger(d)||u<1||d<u?{path:r}:{path:r,line:u}}function B9(e,t){return e===void 0?{}:{"aria-haspopup":"menu",onContextMenu(n){n.preventDefault(),n.stopPropagation(),e({...t,trigger:n.currentTarget,position:new DOMRect(n.clientX,n.clientY,0,0)})},onKeyDown(n){n.key!=="ContextMenu"&&!(n.shiftKey&&n.key==="F10")||(n.preventDefault(),n.stopPropagation(),e({...t,trigger:n.currentTarget,position:n.currentTarget.getBoundingClientRect()}))}}}let q$=0;const Z9=()=>++q$;function x2(e,t){let n;try{n=new URL(e)}catch{return e}return n.protocol==="data:"||n.protocol==="blob:"?e:(n.search=`${n.search===""?"?":`${n.search}&`}load=${t}`,n.href)}function G$(e){const t={};for(const n of e.split(";")){const r=n.indexOf(":");if(r===-1)continue;const l=n.slice(0,r).trim().replace(/-([a-z])/g,(u,d)=>d.toUpperCase());t[l]=n.slice(r+1).trim()}return t}function W9(e,t){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return null;const n=e,r={key:t};for(const l of n.attributes)l.name==="class"?r.className=l.value:l.name==="style"?r.style=G$(l.value):r[l.name]=l.value;const s=[...n.childNodes].map(W9);return s.length===0?S.createElement(n.localName,r):S.createElement(n.localName,r,...s)}function f0(e,t){let n;try{n=bf.renderToString(e,{displayMode:t,throwOnError:!0})}catch(s){try{n=bf.renderToString(e,{displayMode:t,strict:"ignore",throwOnError:!1})}catch{return c.jsx("span",{className:"katex-error",style:{color:"#cc0000"},title:String(s),children:e})}}return[...new DOMParser().parseFromString(n,"text/html").body.childNodes].map(W9)}const U9=S.createContext({});function K$({children:e,openExternalLink:t,onLinkContextMenu:n,openFile:r,fileImages:s,resolveLink:l}){const u=S.useMemo(()=>({openExternalLink:t,onLinkContextMenu:n,openFile:r,fileImages:s,resolveLink:l}),[t,n,r,s,l]);return c.jsx(U9.Provider,{value:u,children:e})}function x1(){return S.useContext(U9)}function q9(e){try{switch(new URL(e).protocol){case"http:":case"https:":case"mailto:":return e;default:return""}}catch{return""}}const Y$=()=>()=>{};function y2({href:e,glyph:t,children:n}){const{openExternalLink:r,onLinkContextMenu:s,resolveLink:l}=x1(),u=()=>l?.(e)?.href,d=S.useSyncExternalStore(l?.subscribe??Y$,u,u),p=q9(d??e);if(p==="")return c.jsx(c.Fragment,{children:n});const m=d===void 0&&["http:","https:"].includes(new URL(p).protocol),g=d!==void 0?()=>l?.(e)?.open():m&&r!==void 0?()=>r(p):void 0;return c.jsxs("a",{href:p,...m?{target:"_blank",rel:"noopener noreferrer"}:{},...B9(m?s:void 0,{kind:"web",href:p}),onClick:g===void 0?void 0:w=>{w.button!==0||w.metaKey||w.ctrlKey||w.shiftKey||w.altKey||(w.preventDefault(),g())},children:[t&&c.jsx(w1,{kind:"url",href:p,className:Rt.linkIcon}),n]})}function J$({value:e}){const{resolveLink:t}=x1(),n=t?.autoLinkPattern;if(n===void 0)return e;const r=[];let s=0;for(const l of e.matchAll(n)){const u=l[0];u&&(r.push(e.slice(s,l.index)),r.push(c.jsx(y2,{href:u,glyph:!1,children:[u]},l.index)),s=l.index+u.length)}return s===0?e:(r.push(e.slice(s)),c.jsx(S.Fragment,{children:r}))}const X$="_backdrop_1d1a9_1",Q$="_mask_1d1a9_11",eH="_image_1d1a9_18",tH="_close_1d1a9_29",Wa={backdrop:X$,mask:Q$,image:eH,close:tH};function G9({src:e,alt:t,labels:n,onClose:r}){const s=S.useRef(null),l=S.useRef(null);return S.useEffect(()=>{l.current=document.activeElement instanceof HTMLElement?document.activeElement:null,s.current?.focus();const u=d=>{d.key==="Escape"&&(d.stopPropagation(),r()),d.key==="Tab"&&(d.preventDefault(),s.current?.focus())};return window.addEventListener("keydown",u,!0),()=>{window.removeEventListener("keydown",u,!0),l.current?.focus()}},[r]),gn.createPortal(c.jsxs("div",{className:Wa.backdrop,role:"dialog","aria-modal":"true","aria-label":n.dialog,children:[c.jsx("div",{className:Wa.mask,"aria-hidden":"true",onMouseDown:r}),c.jsx("img",{className:Wa.image,src:e,alt:t}),c.jsx("button",{ref:s,type:"button",className:Wa.close,"aria-label":n.close,onClick:r,children:c.jsx(Kl,{size:16})})]}),document.body)}const nH="_frame_8lv00_1",rH="_image_8lv00_11",oH="_status_8lv00_21",Td={frame:nH,image:rH,status:oH};function iH({src:e,alt:t,loadingLabel:n,failedLabel:r}){return c.jsx(sH,{src:e,alt:t,loadingLabel:n,failedLabel:r},e)}function sH({src:e,alt:t,loadingLabel:n,failedLabel:r}){const[s,l]=S.useState("loading");return c.jsxs("span",{className:Td.frame,children:[s!=="failed"&&c.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:Td.image,"data-ready":s==="ready"||void 0,onLoad:()=>{l("ready")},onError:()=>{l("failed")}}),s!=="ready"&&c.jsxs("span",{className:Td.status,role:"status",children:[s==="loading"&&c.jsx(Z7,{size:16}),c.jsx("span",{children:s==="loading"?n:r})]})]})}function aH(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function lH(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"||t==="blob:"||t==="data:"||e.startsWith("dsh-app://app/api/file?")?e:void 0}catch{return}}function cH(e,t,n){const r=aH(q9(w0(e)));if(r!==void 0)return r;const s=t?.resolve(e),l=s===void 0?void 0:lH(s);return l===void 0?void 0:x2(l,n)}function h0(){return{definitions:new Map,footnotes:new Map}}function _l(e,t){for(const n of e){if(n.type==="definition"){const r=n.identifier.toUpperCase();t.definitions.has(r)||t.definitions.set(r,n)}else if(n.type==="footnoteDefinition"){const r=n.identifier.toUpperCase();t.footnotes.has(r)||t.footnotes.set(r,n)}"children"in n&&_l(n.children,t)}}function p0(e,t){return e.map(n=>b2(n.node,n.key,t)).filter(n=>n!==null)}function _2(e,t){const n=[];for(const r of e)(t||n.length>0)&&n.push(`
|
|
181
181
|
`),n.push(r);return t&&e.length>0&&n.push(`
|
|
182
|
-
`),n}function
|
|
183
|
-
`]},t);case"strong":return c.jsx("strong",{children:Dn(e.children,n)},t);case"emphasis":return c.jsx("em",{children:Dn(e.children,n)},t);case"delete":return c.jsx("del",{children:Dn(e.children,n)},t);case"inlineCode":{const r=e.value.replace(/\r?\n|\r/g," "),s=
|
|
184
|
-
`,!0)},t):c.jsx(
|
|
185
|
-
`,lang:s,streaming:n.streaming,copyLabel:n.labels.code.copyLabel,copiedLabel:n.labels.code.copiedLabel,toolbarLabels:n.labels.code.toolbarLabels},t)}function
|
|
182
|
+
`),n}function K9(e,t){const n=[];for(const[r,s]of e.entries())if(s.type==="paragraph")n.push({paragraph:Dn(s.children,t)});else{const l=b2(s,r,t);l!==null&&n.push({element:l})}return n}function Dn(e,t){return e.map((n,r)=>b2(n,r,t))}function b2(e,t,n){switch(e.type){case"text":return n.inLink?e.value:c.jsx(J$,{value:e.value},t);case"paragraph":return c.jsx("p",{children:Dn(e.children,n)},t);case"heading":return S.createElement(`h${e.depth}`,{key:t},...Dn(e.children,n));case"blockquote":return c.jsx("blockquote",{children:_2(Dn(e.children,{...n,inBlockquote:!0}).filter(r=>r!==null),!0)},t);case"thematicBreak":return c.jsx("hr",{},t);case"break":return c.jsxs(S.Fragment,{children:[c.jsx("br",{}),`
|
|
183
|
+
`]},t);case"strong":return c.jsx("strong",{children:Dn(e.children,n)},t);case"emphasis":return c.jsx("em",{children:Dn(e.children,n)},t);case"delete":return c.jsx("del",{children:Dn(e.children,n)},t);case"inlineCode":{const r=e.value.replace(/\r?\n|\r/g," "),s=mH(r);if(s!==void 0)return c.jsx("code",{children:Q9(s,[r],"link")},t);const l=n.inLink===!0?void 0:n.fileMentions?.resolve(r);return l!==void 0?c.jsx("code",{children:c.jsxs("button",{type:"button",className:Rt.fileMention,title:l.title,"aria-label":l.label,onClick:l.open,children:[c.jsx(w1,{kind:wl(r),className:Rt.linkIcon}),r]})},t):c.jsx("code",{children:r},t)}case"codexAnnotation":{const r=n.responseAnnotations,s=tE(e.index),l=s===void 0?void 0:r?.resolve(s);return r===void 0||s===void 0||l===void 0?null:n.inLink===!0?r.labels.label(s):c.jsx("span",{className:Rt.annotationCitation,children:c.jsx(o9,{index:s,annotation:l,labels:r.labels})},t)}case"html":return e.value;case"code":return uH(e,t,n);case"math":return c.jsx(S.Fragment,{children:f0(e.value,!0)},t);case"inlineMath":return c.jsx(S.Fragment,{children:f0(e.value,!1)},t);case"list":return fH(e,t,n);case"listItem":return J9(e,Y9(e),t,n);case"table":return hH(e,t,n);case"link":return em(e.url,Dn(e.children,{...n,inLink:!0}),t,!X9(e.children),n.streaming);case"linkReference":return wH(e,t,n);case"image":return tm(e.url,e.alt??"",t,n);case"imageReference":return xH(e,t,n);case"footnoteReference":return yH(e,t,n);case"definition":case"footnoteDefinition":return null;default:return null}}function uH(e,t,n){const r=e.lang??void 0;if(e.value==="")return c.jsx("pre",{children:c.jsx("code",{className:r===void 0?void 0:`language-${r}`})},t);const s=r===void 0?void 0:/^[\w-]+/.exec(r)?.[0];return!n.streaming&&s==="math"?c.jsx(S.Fragment,{children:f0(`${e.value}
|
|
184
|
+
`,!0)},t):c.jsx(H9,{code:`${e.value}
|
|
185
|
+
`,lang:s,streaming:n.streaming,copyLabel:n.labels.code.copyLabel,copiedLabel:n.labels.code.copiedLabel,toolbarLabels:n.labels.code.toolbarLabels},t)}function dH(e){return(e.spread??!1)||e.children.some(Y9)}function Y9(e){return e.spread??e.children.length>1}function fH(e,t,n){const r=dH(e),s={};return typeof e.start=="number"&&e.start!==1&&(s.start=e.start),e.children.some(l=>typeof l.checked=="boolean")&&(s.className="contains-task-list"),S.createElement(e.ordered===!0?"ol":"ul",{key:t,...s},...e.children.map((l,u)=>J9(l,r,u,n)))}function J9(e,t,n,r){const s=K9(e.children,r),l=typeof e.checked=="boolean";if(l){const p=c.jsx("input",{type:"checkbox",checked:e.checked===!0,disabled:!0},"task-checkbox"),m=s[0];m!==void 0&&"paragraph"in m?m.paragraph=m.paragraph.length>0?[p," ",...m.paragraph]:[p]:s.unshift({paragraph:[p]})}const u=[];for(const[p,m]of s.entries()){const g="paragraph"in m;(t||p!==0||!g)&&u.push(`
|
|
186
186
|
`),g?t?u.push(c.jsx("p",{children:m.paragraph},`p-${p}`)):u.push(c.jsx(S.Fragment,{children:m.paragraph},`p-${p}`)):u.push(m.element)}const d=s[s.length-1];return d!==void 0&&(t||!("paragraph"in d))&&u.push(`
|
|
187
|
-
`),c.jsx("li",{className:l?"task-list-item":void 0,children:u},n)}function
|
|
188
|
-
`,m]}class
|
|
189
|
-
`),w.push(x);this.frozenElements=w,this.frozenCount=n.length}const d={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,responseAnnotations:this.responseAnnotations,targets:u,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},p=[...this.frozenElements];for(const g of
|
|
190
|
-
`),p.push(g);const m=
|
|
191
|
-
`,m),this.lastText=t,this.lastRendered=p,this.lastRendered}}const
|
|
192
|
-
${r(d.length)}`:d},[s,t,r]);return c.jsxs("div",{className:
|
|
193
|
-
`;case"html":return e.value??"";case"codexAnnotation":return"";default:return e.children?.map(
|
|
187
|
+
`),c.jsx("li",{className:l?"task-list-item":void 0,children:u},n)}function hH(e,t,n){const r=e.align??null,[s,...l]=e.children,d=(r===null?s?.children.length??0:r.length)>=4&&n.inBlockquote!==!0;return c.jsx("div",{className:xe(Rt.tableScroll,d?"md-table-wide":Rt.tableFill),tabIndex:d?0:void 0,children:c.jsxs("table",{children:[s!==void 0&&c.jsx("thead",{children:T6(s,"th",r,0,n)}),l.length>0&&c.jsx("tbody",{children:l.map((p,m)=>T6(p,"td",r,m+1,n))})]})},t)}function T6(e,t,n,r,s){const l=n===null?e.children.length:n.length,u=[];for(let d=0;d<l;d++){const p=e.children[d],m=n?.[d];u.push(S.createElement(t,{key:d,style:m==null?void 0:{textAlign:m}},...p===void 0?[]:Dn(p.children,s)))}return c.jsx("tr",{children:u},r)}function X9(e){return e.length>0&&e.every(t=>t.type==="image"||t.type==="imageReference")}function Q9(e,t,n,r=!0){return c.jsx(y2,{href:e,glyph:r,children:t},n)}function em(e,t,n,r=!0,s=!1){const l=s?void 0:V9(e);return l!==void 0?c.jsx(pH,{href:e,file:l,glyph:r,children:t},n):Q9(w0(e),t,n,r)}function pH({href:e,file:t,glyph:n,children:r}){const{openFile:s,onLinkContextMenu:l,fileImages:u}=x1(),[d]=S.useState(Z9);if(s===void 0)return c.jsx(c.Fragment,{children:r});const p=n&&wl(t.path)==="image"?u:void 0,m=p?.resolve(t.path),g=m===void 0?void 0:x2(m,d),w=c.jsxs("button",{type:"button",className:xe(Rt.fileMention,Rt.fileLink),title:g===void 0?t.path:void 0,...B9(l,{kind:"file",href:e,...t}),onClick:x=>{s(t.path,{...t.line===void 0?{}:{line:t.line},...x.ctrlKey||x.metaKey?{external:!0}:{}})},children:[n&&c.jsx(w1,{kind:wl(t.path),className:Rt.linkIcon}),r]});return g===void 0||p===void 0?w:c.jsx(n9,{inline:!0,anchor:w,content:c.jsxs(c.Fragment,{children:[c.jsx(iH,{src:g,alt:t.path,loadingLabel:p.labels.loading,failedLabel:p.labels.failed}),c.jsx("span",{className:Rt.previewName,children:t.path.split(/[\\/]/u).pop()})]})})}function mH(e){if(e.trim()===e)try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function tm(e,t,n,r){return c.jsx(gH,{destination:e,alt:t,pathImages:r.pathImages,streaming:r.streaming,inLink:r.inLink===!0},`${n}:${e}`)}function gH({destination:e,alt:t,pathImages:n,streaming:r,inLink:s}){const{fileImages:l}=x1(),[u]=S.useState(Z9),d=r?void 0:V9(e),p=d===void 0?void 0:l?.resolve(d.path),m=p===void 0?cH(e,n,u):x2(p,u);return m===void 0?c.jsx("span",{className:Rt.imageAlt,children:t}):c.jsx(vH,{src:m,alt:t,destination:e,preview:s?void 0:l},m)}function vH({src:e,alt:t,destination:n,preview:r}){const[s,l]=S.useState(!1),[u,d]=S.useState(!1),p=S.useCallback(()=>{d(!1)},[]);if(s)return c.jsxs("span",{className:Rt.imageAlt,children:[r===void 0?"":`${r.labels.failed} · `,t||n]});const m=c.jsx("img",{className:Rt.image,src:e,alt:t,onError:()=>{l(!0)},loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"});return r===void 0?m:c.jsxs(c.Fragment,{children:[c.jsx("button",{type:"button",className:Rt.imageButton,title:r.labels.open,"aria-label":t?`${r.labels.open}: ${t}`:r.labels.open,onClick:()=>{d(!0)},children:m}),u&&c.jsx(G9,{src:e,alt:t,labels:r.labels,onClose:p})]})}function nm(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function wH(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());if(r===void 0)return c.jsxs(S.Fragment,{children:["[",Dn(e.children,n),nm(e)]},t);const s=Dn(e.children,{...n,inLink:!0});return em(r.url,s,t,!X9(e.children),n.streaming)}function xH(e,t,n){const r=n.targets.definitions.get(e.identifier.toUpperCase());return r===void 0?`![${e.alt??""}${nm(e)}`:tm(r.url,e.alt??"",t,n)}function yH(e,t,n){const r=e.identifier.toUpperCase(),s=n.footnoteCounts.get(r);return s===void 0&&n.footnoteOrder.push(r),n.footnoteCounts.set(r,(s??0)+1),c.jsx("sup",{children:String(n.footnoteOrder.indexOf(r)+1)},t)}function rm(e){const t=[];for(const n of e.footnoteOrder){const r=e.targets.footnotes.get(n);if(r===void 0)continue;const s=e.footnoteCounts.get(n)??0,l=[];for(let m=1;m<=s;m++)l.length>0&&l.push(" "),l.push("↩"),m>1&&l.push(c.jsx("sup",{children:String(m)},`re-${m}`));const u=K9(r.children,e),d=u[u.length-1],p=u.map((m,g)=>"paragraph"in m?c.jsxs("p",{children:[m.paragraph,m===d&&c.jsxs(c.Fragment,{children:[" ",l]})]},`p-${g}`):m.element);(d===void 0||!("paragraph"in d))&&p.push(...l),t.push(c.jsx("li",{id:`user-content-fn-${w0(n.toLowerCase())}`,children:_2(p,!0)},n))}return t.length===0?null:c.jsxs("section",{"data-footnotes":!0,className:"footnotes",children:[c.jsx("h2",{id:"footnote-label",className:"sr-only",children:e.labels.footnotes}),c.jsx("ol",{children:t})]},"footnotes")}function _H(e,t,n,r,s){const l=N$(e),u=h0();_l(l.children,u);const d={streaming:!1,labels:t,fileMentions:n,pathImages:r,responseAnnotations:s,targets:u,footnoteOrder:[],footnoteCounts:new Map},p=_2(p0(l.children.map((g,w)=>({node:g,key:g.position?.start.offset??-(w+1)})),d),!1),m=rm(d);return m===null?p:[...p,`
|
|
188
|
+
`,m]}class bH{constructor(t,n){this.labels=t,this.responseAnnotations=n}parser=new h$($9);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=h0();frozenFootnoteOrder=[];frozenFootnoteCounts=new Map;lastText=null;lastRendered=[];render(t){if(t===this.lastText)return this.lastRendered;const{frozen:n,tail:r,generation:s}=this.parser.update(t);s!==this.generation&&(this.generation=s,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=h0(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const l=n.slice(this.frozenCount);_l(l.map(g=>g.node),this.frozenTargets);const u={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(_l(r.map(g=>g.node),u),l.length>0){const g={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,responseAnnotations:this.responseAnnotations,targets:u,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},w=[...this.frozenElements];for(const x of p0(l,g))w.length>0&&w.push(`
|
|
189
|
+
`),w.push(x);this.frozenElements=w,this.frozenCount=n.length}const d={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,responseAnnotations:this.responseAnnotations,targets:u,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},p=[...this.frozenElements];for(const g of p0(r,d))p.length>0&&p.push(`
|
|
190
|
+
`),p.push(g);const m=rm(d);return m!==null&&p.push(`
|
|
191
|
+
`,m),this.lastText=t,this.lastRendered=p,this.lastRendered}}const om=S.memo(function({text:t,streaming:n=!1,labels:r,fileMentions:s,pathImages:l,responseAnnotations:u,variant:d="body"}){const p=S.useRef(null),m=S.useRef(r),g=S.useRef(u),w=S.useMemo(()=>n?((p.current===null||m.current!==r||g.current!==u)&&(p.current=new bH(r,u),m.current=r,g.current=u),p.current.render(t)):(p.current=null,_H(t,r,s,l,u)),[t,n,r,s,l,u]);return c.jsx("div",{className:xe(Rt.markdown,d==="compact"&&Rt.compact),"data-markdown-variant":d==="compact"?d:void 0,children:w})}),CH="_block_ca4yc_1",kH="_answer_ca4yc_13",SH="_sources_ca4yc_40",EH="_source_ca4yc_40",jH="_sourceLink_ca4yc_54",IH="_linkIcon_ca4yc_65",MH="_snippet_ca4yc_78",OH="_published_ca4yc_86",TH="_truncated_ca4yc_92",LH="_empty_ca4yc_98",PH="_fetch_ca4yc_104",NH="_fetchUrl_ca4yc_110",zH="_fetchMeta_ca4yc_126",AH="_status_ca4yc_132",Zt={block:CH,answer:kH,sources:SH,source:EH,sourceLink:jH,linkIcon:IH,snippet:MH,published:OH,truncated:TH,empty:LH,fetch:PH,fetchUrl:NH,fetchMeta:zH,status:AH};function RH(e){try{const{protocol:t}=new URL(e);return t==="http:"||t==="https:"?e:void 0}catch{return}}function DH(e,t){if(t!==void 0&&t!=="")return t;try{const{hostname:n}=new URL(e);return n===""?e:n}catch{return e}}function im({url:e,label:t,className:n}){const r=RH(e);return r===void 0?c.jsx("span",{className:n,children:t}):c.jsxs("a",{className:n,href:r,target:"_blank",rel:"noopener noreferrer",children:[c.jsx(w1,{kind:"url",href:r,className:Zt.linkIcon}),t]})}function FH({source:e,ordinal:t}){return c.jsxs("li",{className:Zt.source,value:t,children:[c.jsx(im,{url:e.url,label:DH(e.url,e.title),className:Zt.sourceLink}),e.snippet!==void 0&&e.snippet!==""&&c.jsx("div",{className:Zt.snippet,children:e.snippet}),e.publishedAt!==void 0&&e.publishedAt!==""&&c.jsx("div",{className:Zt.published,children:e.publishedAt})]})}function $H({answer:e,sources:t,truncated:n,labels:r,className:s}){const l=(e===void 0||e==="")&&t.length===0;return c.jsxs("div",{className:xe(Zt.block,s),"data-web":"search",children:[e!==void 0&&e!==""&&c.jsx("div",{className:Zt.answer,children:c.jsx(om,{text:e,labels:r.markdown})}),l?c.jsx("div",{className:Zt.empty,children:r.noResults}):c.jsx("ol",{className:Zt.sources,children:t.map((u,d)=>c.jsx(FH,{source:u,ordinal:d+1},d))}),n&&c.jsx("div",{className:Zt.truncated,children:r.sourcesTruncated})]})}function HH({url:e,statusCode:t,truncated:n,labels:r,className:s}){return c.jsxs("div",{className:xe(Zt.block,Zt.fetch,s),"data-web":"fetch",children:[c.jsx(im,{url:e,label:e,className:Zt.fetchUrl}),c.jsxs("div",{className:Zt.fetchMeta,children:[c.jsxs("span",{className:Zt.status,children:[r.http," ",t]}),n&&c.jsx("span",{className:Zt.truncated,children:r.contentTruncated})]})]})}function VH(e){return e.kind==="search"?c.jsx($H,{...e}):c.jsx(HH,{...e})}const BH="_root_74oxc_1",ZH="_toggle_74oxc_5",WH="_body_74oxc_20",Ld={root:BH,toggle:ZH,body:WH},L6=2e4;function UH({label:e,payload:t,defaultOpen:n=!1,truncatedLabel:r}){const[s,l]=S.useState(n),u=S.useMemo(()=>{if(!s)return"";let d;try{d=JSON.stringify(t,null,2)??String(t)}catch{d=String(t)}return d.length>L6?`${d.slice(0,L6)}
|
|
192
|
+
${r(d.length)}`:d},[s,t,r]);return c.jsxs("div",{className:Ld.root,children:[c.jsxs("button",{type:"button",className:Ld.toggle,onClick:()=>{l(d=>!d)},children:[s?"▾":"▸"," ",e]}),s&&c.jsx("pre",{className:Ld.body,children:u})]})}function Ws(e){switch(e.type){case"text":case"inlineCode":case"code":return e.value??"";case"image":case"imageReference":return e.alt??"";case"break":return`
|
|
193
|
+
`;case"html":return e.value??"";case"codexAnnotation":return"";default:return e.children?.map(Ws).join("")??""}}function Qa(e){return e.replace(/\s+/g," ").trim()}function pi(e){switch(e.type){case"root":case"blockquote":return e.children?.map(pi).filter(Boolean).join(`
|
|
194
194
|
|
|
195
|
-
`)??"";case"paragraph":case"heading":return
|
|
196
|
-
`)??"";case"listItem":return e.children?.map(
|
|
197
|
-
`)??"";case"tableRow":return e.children?.map(
|
|
195
|
+
`)??"";case"paragraph":case"heading":return Qa(Ws(e));case"code":return e.value?.trim()??"";case"list":return e.children?.map(pi).filter(Boolean).join(`
|
|
196
|
+
`)??"";case"listItem":return e.children?.map(pi).filter(Boolean).join(" ")??"";case"table":return e.children?.map(pi).filter(Boolean).join(`
|
|
197
|
+
`)??"";case"tableRow":return e.children?.map(pi).join(" ")??"";case"tableCell":return Qa(Ws(e));case"html":return e.value??"";case"thematicBreak":case"definition":return"";default:return Qa(Ws(e))}}function sm(e){if(e.type==="paragraph"){const t=Qa(Ws(e));if(t!=="")return t}for(const t of e.children??[]){const n=sm(t);if(n!==void 0)return n}}function qH(e){return pi(e).split(`
|
|
198
198
|
`).map(t=>t.trim()).join(`
|
|
199
199
|
`).replace(/\n{3,}/g,`
|
|
200
200
|
|
|
201
|
-
`).trim()}function
|
|
202
|
-
`).find(l=>l!=="")??"";case"first-paragraph":return
|
|
203
|
-
`).find(l=>l!=="")??""}}const Xl=()=>`dsh_plugin_art_${S.useId().replaceAll(":","")}`,$H=({size:e=36,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10 11L16.606 17.606C16.6841 17.6841 16.6841 17.8107 16.606 17.8888L10 24.4948",stroke:"#679EFE",strokeWidth:"3.5"}),c.jsx("path",{d:"M20.1211 24.4946H26.8685",stroke:"#679EFE",strokeWidth:"3.5"})]}),HH=({size:e=36,className:t})=>{const n=Xl();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M18.0486 28.4901C12.0858 28.4901 7.25195 23.6562 7.25195 17.6934C13.2148 17.6934 18.0486 22.5272 18.0486 28.4901Z",fill:"#A797FC"}),c.jsx("path",{d:"M18.0486 6.89667C12.0858 6.89667 7.25195 11.7305 7.25195 17.6934C13.2148 17.6934 18.0486 12.8595 18.0486 6.89667Z",fill:`url(#${n}a)`}),c.jsx("path",{d:"M18.0485 28.4901C24.0114 28.4901 28.8452 23.6562 28.8452 17.6934C22.8824 17.6934 18.0485 22.5272 18.0485 28.4901Z",fill:"#4561EE"}),c.jsx("path",{d:"M18.0485 6.89667C24.0114 6.89667 28.8452 11.7305 28.8452 17.6934C22.8824 17.6934 18.0485 12.8595 18.0485 6.89667Z",fill:"#658EFF"}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"16.7911",y1:"16.1655",x2:"8.98192",y2:"8.74289",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#A23AE7"}),c.jsx("stop",{offset:"1",stopColor:"#E2E2E2"})]})})]})},VH=({size:e=36,className:t})=>{const n=Xl();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("rect",{x:"14.9893",y:"15.1877",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}a)`,fillOpacity:"0.8"}),c.jsx("rect",{x:"8.87109",y:"9.0697",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}b)`,fillOpacity:"0.8"}),c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:`${n}a`,x1:"21.1075",y1:"15.1877",x2:"21.1075",y2:"27.4243",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#45E7A4"}),c.jsx("stop",{offset:"1",stopColor:"#05909D"})]}),c.jsxs("linearGradient",{id:`${n}b`,x1:"14.9894",y1:"9.0697",x2:"14.9894",y2:"21.3063",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#69B9FF"}),c.jsx("stop",{offset:"1",stopColor:"#324DE2"})]})]})]})},BH=({size:e=36,className:t})=>{const n=Xl();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M26.5362 26.9865L22.3813 22.8317",stroke:"#658EFF",strokeWidth:"3"}),c.jsx("g",{clipPath:`url(#${n}ring)`,children:c.jsx("g",{transform:"matrix(0.0119394 -0.00173904 0.00173904 0.0119394 15.7661 16.2159)",children:c.jsx("foreignObject",{x:"-958.94",y:"-958.94",width:"1917.88",height:"1917.88",children:c.jsx("div",{style:{background:"conic-gradient(from 90deg, rgb(65, 225, 172) 0deg, rgb(101, 142, 255) 62.0619deg, rgb(65, 225, 172) 360deg)",height:"100%",width:"100%"}})})})}),c.jsx("defs",{children:c.jsx("clipPath",{id:`${n}ring`,children:c.jsx("path",{d:"M21.9717 16.2159H19.9717C19.9717 18.5386 18.0888 20.4215 15.7661 20.4215V22.4215V24.4215C20.2979 24.4215 23.9717 20.7478 23.9717 16.2159H21.9717ZM15.7661 22.4215V20.4215C13.4434 20.4215 11.5605 18.5386 11.5605 16.2159H9.56055H7.56055C7.56055 20.7478 11.2343 24.4215 15.7661 24.4215V22.4215ZM9.56055 16.2159H11.5605C11.5605 13.8933 13.4434 12.0104 15.7661 12.0104V10.0104V8.01038C11.2343 8.01038 7.56055 11.6841 7.56055 16.2159H9.56055ZM15.7661 10.0104V12.0104C18.0888 12.0104 19.9717 13.8933 19.9717 16.2159H21.9717H23.9717C23.9717 11.6841 20.2979 8.01038 15.7661 8.01038V10.0104Z"})})})]})},ZH=({size:e=36,className:t})=>{const n=Xl();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M24.6294 8.63696C26.2862 8.63705 27.6294 9.98016 27.6294 11.637V12.7825C27.6292 14.4391 26.2861 15.7824 24.6294 15.7825H23.4839C22.6519 15.7825 21.5454 16.3459 21.5454 17.1778V18.1573C21.5454 18.7757 22.216 19.1966 22.8345 19.1965H24.6294C26.2861 19.1965 27.6292 20.5398 27.6294 22.1965V23.9924C27.6292 25.6491 26.2861 26.9924 24.6294 26.9924H22.8345C21.1778 26.9924 19.8347 25.649 19.8345 23.9924V22.1965C19.8345 21.7148 19.4957 21.2327 19.014 21.2327H16.4792C15.7975 21.2327 15.3374 22.0061 15.3374 22.6877V23.8333C15.3373 25.49 13.9942 26.8333 12.3374 26.8333H11.1919C9.53509 26.8333 8.19198 25.49 8.19189 23.8333V22.6877C8.19189 21.0309 9.53504 19.6877 11.1919 19.6877H12.3374C13.1964 19.6877 14.3999 19.0959 14.3999 18.2369V16.0185C14.3999 14.9518 15.2646 14.0872 16.3312 14.0872H19.435C20.0596 14.0872 20.484 13.4071 20.4839 12.7825V11.637C20.4839 9.98011 21.827 8.63696 23.4839 8.63696H24.6294ZM13.4116 11.2468C13.4116 12.6882 12.2431 13.8567 10.8018 13.8567C9.36037 13.8567 8.19189 12.6882 8.19189 11.2468C8.19189 9.80544 9.36037 8.63696 10.8018 8.63696C12.2431 8.63696 13.4116 9.80544 13.4116 11.2468Z",fill:`url(#${n}a)`}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"15.1481",y1:"9.94188",x2:"15.1481",y2:"13.6375",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#54ECE7"}),c.jsx("stop",{offset:"1",stopColor:"#658EFF"})]})})]})};function WH({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M17.9995 28.1465C23.6034 28.1465 28.1461 23.6038 28.1461 18C28.1461 12.3963 23.6034 7.85352 17.9995 7.85352C12.3958 7.85352 7.85303 12.3963 7.85303 18C7.85303 23.6038 12.3958 28.1465 17.9995 28.1465Z",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M8.57764 18H27.4211",stroke:"#539CFA",strokeWidth:"2",strokeLinecap:"square"}),c.jsx("path",{d:"M17.999 28.1467C20.0576 28.1467 21.6228 23.6039 21.6228 18C21.6228 12.3963 20.0576 7.85352 17.999 7.85352",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M17.9992 28.1467C15.9407 28.1467 14.3755 23.6039 14.3755 18C14.3755 12.3963 15.9407 7.85352 17.9992 7.85352",stroke:"#539CFA",strokeWidth:"2"})]})}function UH({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10.7603 27.922H24.6817C26.3441 27.922 27.1753 27.922 27.8102 27.5984C28.3687 27.3139 28.8228 26.8598 29.1074 26.3012C29.4309 25.6663 29.4309 24.8351 29.4309 23.1727V15.4936",stroke:"#FFCD78",strokeWidth:"1.97886"}),c.jsx("path",{d:"M13.1597 8.07812C13.4182 8.07818 13.6727 8.14336 13.8989 8.26855L16.7554 9.84961C16.9817 9.97485 17.2369 10.041 17.4956 10.041H26.106C26.9492 10.0412 27.6323 10.7251 27.6323 11.5684V24.5371C27.6323 25.3805 26.9483 26.0645 26.105 26.0645H8.09619C7.25281 26.0645 6.56884 25.3805 6.56885 24.5371V9.60449C6.56909 8.76133 7.25297 8.07812 8.09619 8.07812H13.1597ZM9.81592 14.5508V16.5293H24.3999V14.5508H9.81592Z",fill:"#FFBC4D"})]})}const qH=Object.freeze(Object.defineProperty({__proto__:null,BrandWordmark:FP,Button:r0,CODE_HIGHLIGHT_EXTENSIONS:kR,Checkbox:pL,CodeBlock:F9,ConnectionIndicator:RP,DEFAULT_DIFF_MAX_LINES:I9,DEFAULT_READ_MAX_LINES:j9,DEFAULT_SEARCH_MAX_LINES:O9,DEFAULT_TERMINAL_MAX_LINES:C9,DiffBlock:RF,DisclosureRow:jT,FISH_LOGO_PATH:o9,FISH_LOGO_VIEWBOX:$s,FileTypeIcon:Ez,FishLogo:DP,GuideArtworkBrowser:WH,GuideArtworkFiles:UH,HoverCard:e9,ICON_MEDIUM_STROKE:ae,ICON_REGULAR_STROKE:se,IconAgentPresetOutlineMedium:GI,IconAgentPresetOutlineRegular:qI,IconAlarmClockOutlineMedium:MO,IconAlarmClockOutlineRegular:IO,IconApiOutlineMedium:AM,IconApiOutlineRegular:zM,IconArchiveCheckOutlineMedium:iT,IconArchiveCheckOutlineRegular:oT,IconArchiveOffOutlineMedium:rT,IconArchiveOffOutlineRegular:nT,IconArchiveOutlineMedium:TO,IconArchiveOutlineRegular:OO,IconBellOutlineRegular:pT,IconBranchOutlineMedium:vI,IconBranchOutlineRegular:gI,IconBrowseOutlineMedium:YI,IconBrowseOutlineRegular:KI,IconCheckCircleFillMedium:cM,IconCheckCircleFillRegular:lM,IconCheckCircleOutlineMedium:BO,IconCheckCircleOutlineRegular:Np,IconCheckOutlineMedium:mI,IconCheckOutlineRegular:Pi,IconChecklistOutlineMedium:hO,IconChecklistOutlineRegular:fO,IconChevronDownOutlineMedium:wI,IconChevronDownOutlineRegular:i7,IconChevronLeftOutlineMedium:xI,IconChevronLeftOutlineRegular:a7,IconChevronRightOutlineMedium:_I,IconChevronRightOutlineRegular:yI,IconChevronUpOutlineMedium:kI,IconChevronUpOutlineRegular:d7,IconChevronsUpDownOutlineMedium:tT,IconChevronsUpDownOutlineRegular:eT,IconClockOutlineMedium:iO,IconClockOutlineRegular:oO,IconCloseCircleFillMedium:II,IconCloseCircleFillRegular:jI,IconCloseFillMedium:EI,IconCloseFillRegular:n2,IconCloseOutlineMedium:SI,IconCloseOutlineRegular:Gl,IconCodeOutlineMedium:LM,IconCodeOutlineRegular:TM,IconCompactOutlineMedium:$O,IconCompactOutlineRegular:FO,IconCompareSplitOutlineMedium:AO,IconCompareSplitOutlineRegular:zO,IconContextInjectionOutlineMedium:XI,IconContextInjectionOutlineRegular:JI,IconCopyOutlineMedium:MI,IconCopyOutlineRegular:r2,IconCordisPluginOutlineMedium:PM,IconCordisPluginOutlineRegular:NM,IconDarkOutlineMedium:XM,IconDarkOutlineRegular:JM,IconDataOutlineMedium:tO,IconDataOutlineRegular:ip,IconDatabaseOutlineMedium:rO,IconDatabaseOutlineRegular:nO,IconDeliverDocMedium:VI,IconDeliverDocRegular:HI,IconDislikeFillMedium:DI,IconDislikeFillRegular:RI,IconDislikeOutlineMedium:AI,IconDislikeOutlineRegular:zI,IconDownloadOutlineMedium:kM,IconDownloadOutlineRegular:CM,IconEditOutlineMedium:ZI,IconEditOutlineRegular:BI,IconEllipsisOutlineMedium:hI,IconEllipsisOutlineRegular:fI,IconEnhanceOutlineMedium:oM,IconEnhanceOutlineRegular:rM,IconFileDiffOutlineRegular:hT,IconFlatListOutlineMedium:JO,IconFlatListOutlineRegular:YO,IconFolderCloseMedium:UM,IconFolderCloseRegular:WM,IconFolderOpenMedium:ZM,IconFolderOpenOutlineMedium:VM,IconFolderOpenOutlineRegular:HM,IconFolderOpenRegular:BM,IconFollowsystemOutlineMedium:eO,IconFollowsystemOutlineRegular:QM,IconFullscreenOutlineMedium:OM,IconFullscreenOutlineRegular:MM,IconGaugeOutlineMedium:aO,IconGaugeOutlineRegular:sO,IconGlobeOutlineMedium:lI,IconGlobeOutlineRegular:aI,IconGoalOutlineMedium:vO,IconGoalOutlineRegular:gO,IconInfoOutlineMedium:SO,IconInfoOutlineRegular:wp,IconInspectOutlineMedium:_O,IconInspectOutlineRegular:yO,IconLightOutlineMedium:YM,IconLightOutlineRegular:KM,IconLikeFillMedium:PI,IconLikeFillRegular:NI,IconLikeOutlineMedium:LI,IconLikeOutlineRegular:TI,IconLinkOutlineMedium:eM,IconLinkOutlineRegular:QI,IconListPenOutlineMedium:mO,IconListPenOutlineRegular:pO,IconLoadingOutlineMedium:bM,IconLoadingOutlineRegular:V7,IconMicrophoneOutlineMedium:cT,IconMicrophoneOutlineRegular:lT,IconNewChatOutlineMedium:oI,IconNewChatOutlineRegular:rI,IconNowrapFillMedium:NO,IconNowrapFillRegular:Sp,IconPanelLeftOutlineMedium:dI,IconPanelLeftOutlineRegular:X8,IconPaperPlaneOutlineMedium:vM,IconPaperPlaneOutlineRegular:gM,IconPaperclipOutlineMedium:_M,IconPaperclipOutlineRegular:yM,IconPauseOutlineMedium:IM,IconPauseOutlineRegular:jM,IconPersonalizationOutlineMedium:DM,IconPersonalizationOutlineRegular:RM,IconPinFillMedium:KO,IconPinFillRegular:GO,IconPinOutlineMedium:qO,IconPinOutlineRegular:UO,IconPlanOutlineMedium:DO,IconPlanOutlineRegular:RO,IconPlayOutlineMedium:EM,IconPlayOutlineRegular:SM,IconPluginPinwheelOutlineMedium:jO,IconPluginPinwheelOutlineRegular:EO,IconPlusOutlineMedium:pI,IconPlusOutlineRegular:t7,IconProjectAddOutlineMedium:$M,IconProjectAddOutlineRegular:FM,IconQuestionOutlineMedium:kO,IconQuestionOutlineRegular:CO,IconQueueOutlineMedium:dO,IconQueueOutlineRegular:uO,IconRefreshOutlineMedium:OI,IconRefreshOutlineRegular:v7,IconRightUpOutlineMedium:nM,IconRightUpOutlineRegular:tM,IconSearchOutlineMedium:sI,IconSearchOutlineRegular:iI,IconSendOutlineMedium:cO,IconSendOutlineRegular:lO,IconSettingsOutlineMedium:uI,IconSettingsOutlineRegular:cI,IconShareOutlineMedium:$I,IconShareOutlineRegular:FI,IconShieldOutlineMedium:VO,IconShieldOutlineRegular:HO,IconSkillOutlineMedium:bO,IconSkillOutlineRegular:mp,IconSlidersTwoOutlineMedium:aT,IconSlidersTwoOutlineRegular:sT,IconSparkleMedium:xO,IconSparkleRegular:wO,IconStopFillMedium:xM,IconStopFillRegular:wM,IconThinkOutlineMedium:UI,IconThinkOutlineRegular:WI,IconTrashOutlineMedium:sM,IconTrashOutlineRegular:iM,IconTreeCornerMedium:GM,IconTreeCornerRegular:qM,IconTriangleRightFillMedium:CI,IconTriangleRightFillRegular:bI,IconUnarchiveOutlineMedium:WO,IconUnarchiveOutlineRegular:ZO,IconUserOutlineMedium:hM,IconUserOutlineRegular:fM,IconUsersOutlineMedium:mM,IconUsersOutlineRegular:pM,IconWarningOutlineMedium:aM,IconWarningOutlineRegular:N7,IconWarningTriangleOutlineMedium:dM,IconWarningTriangleOutlineRegular:uM,IconWorkspaceTreeOutlineMedium:QO,IconWorkspaceTreeOutlineRegular:XO,IconWrapFillMedium:PO,IconWrapFillRegular:jp,IconWrapLinesOutlineMedium:LO,IconWrapLinesOutlineRegular:Cp,ImageLightbox:U9,InlineEditor:_L,Input:wL,JsonBlock:RH,JsonTree:gD,LinkIconMedium:v1,LinkIconRegular:lA,MarkdownAnchor:x2,MarkdownDelegateProvider:$$,MarkdownText:nm,Menu:Xp,MenuGroup:jN,MenuItemButton:bN,MenuSurface:gl,Modal:r9,PathLabel:rL,PermissionIconFullAccessMedium:WP,PermissionIconFullAccessRegular:ZP,PermissionIconReadOnlyMedium:HP,PermissionIconReadOnlyRegular:$P,PermissionIconWorkspaceWriteMedium:BP,PermissionIconWorkspaceWriteRegular:VP,PhoneSidebarProvider:qL,Pill:s2,PluginArtworkDefault:ZH,PluginArtworkLoop:HH,PluginArtworkSearch:BH,PluginArtworkSubagent:VH,PluginArtworkTerminal:$H,ReadBlock:gF,ReferenceIconMedium:UP,ReferenceIconRegular:c9,RemotePluginIcon:Wp,ResponseAnnotationCard:t9,ResponseAnnotationChip:lP,ResponseAnnotationLabel:n9,ResponseAnnotationPopover:f2,RiskConfirmation:EP,SHIELD_OUTLINE_PATH:G8,SearchBlock:e$,SegmentedControl:dL,SegmentedTabs:KT,SettingsForm:UA,SettingsFormModel:lR,SettingsSecretField:iR,SettingsValueField:oR,ShortcutKeys:s1,StateDot:i2,Switch:iL,Tag:a2,TerminalBlock:JD,TextShimmer:n0,Toast:AA,Tooltip:qr,WebBlock:NH,classifyFileType:Yl,classifyLinkPath:vl,closeTopModal:PL,diffTotals:PF,extractMarkdownPlainText:FH,fileExtension:h2,fileSizeText:FA,focusWithoutRing:Mi,isBehindModal:Kp,isDarwinDesktop:OR,isMobileDevice:Gp,languageForPath:l0,modalSelector:c2,observeComposition:Kl,observeStickyMenuGroups:IN,pointerModality:Qp,preferenceRowStyles:WT,projectUserText:IA,rankByName:MR,relativeTime:jR,settingsNumberField:sR,settingsTextField:aR,shouldAutoFocusTextInput:NL,useAnchoredMaxHeight:ON,useAnchoredPosition:TN,useCodeHighlighter:ER,useCopyFeedback:g1,useDismissOnOutsidePointer:d2,useMarkdownDelegate:w1,useModalLayer:u2,usePhoneSidebar:zi,useSustainedRecovery:DA,writeClipboard:Ul},Symbol.toStringTag,{value:"Module"}));function b2(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function yr(e,t){const n=e.nodes[t];if(n===void 0)throw new Error(`layout: unknown node ${t}`);return n}function tt(e,t){const n=yr(e,t);if(n.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return n}function Ql(e,t){const n=yr(e,t);if(n.kind!=="split")throw new Error(`layout: ${t} is not a split`);return n}function zo(e,t){const n=e.tabs[t];if(n===void 0)throw new Error(`layout: unknown tab ${t}`);return n}function Ai(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function C2(e,t){const n=e.floats.indexOf(t);if(n<0)throw new Error(`layout: floating pane ${t} is not in the z order`);return n}function im(e){const t=e.tabs[0];if(t===void 0||e.tabs.length!==1)throw new Error(`layout: ${e.id} does not hold exactly one tab`);return t}function ec(e,t){for(const n of Object.values(e.nodes))if(n.kind==="split"&&n.children.includes(t))return n}function Vn(e,t){for(const n of Object.values(e.nodes))if(n.kind==="pane"&&n.tabs.includes(t))return n;throw new Error(`layout: tab ${t} has no pane`)}function tc(e){const t=[],n=r=>{const s=yr(e,r);if(s.kind==="pane"){t.push(s.id);return}for(const l of s.children)n(l)};return n(e.rootId),t}function sm(e){const t=e.reduce((n,r)=>n+r,0);if(!(t>0))throw new Error("layout: sizes must sum above zero");return Math.abs(t-1)<1e-12?[...e]:e.map(n=>n/t)}function a1(e){return Object.entries(e)}function GH(e){return Object.keys(e)}function _t(e,t){const n={};for(const[r,s]of a1(e.nodes))r in t||(n[r]=s);for(const[r,s]of a1(t))s!==null&&(n[r]=s);return{...e,nodes:n}}function Eo(e,t){const n={};for(const[r,s]of a1(e.tabs))r in t||(n[r]=s);for(const[r,s]of a1(t))s!==null&&(n[r]=s);return{...e,tabs:n}}function Gr(e,t,n){const r=Math.max(0,Math.min(t,e.length));return[...e.slice(0,r),n,...e.slice(r)]}function er(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function k2(e,t){const n=er(e,t);if(n.length!==0)return n[Math.max(0,t-1)]}function Lo(e,t,n){return{...e,tabs:t,activeTabId:n}}function S2(e,t,n){const r=ec(e,t);if(r===void 0){if(e.rootId!==t)throw new Error(`layout: ${t} is neither rooted nor parented`);return{...e,rootId:n}}const s=r.children.map(l=>l===t?n:l);return _t(e,{[r.id]:{...r,children:s}})}function am(e,t){let n=yr(e,e.rootId);for(;n.kind==="split";){const r=t(n);if(r===void 0)throw new Error(`layout: split ${n.id} has no children`);n=yr(e,r)}return n.id}function lm(e){return am(e,t=>t.children[0])}function cm(e){return am(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function vn(e,t){const n={};for(const r of t)n[r]=tt(e,r).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:n}}function E2(e,t){return[...e.filter(n=>n!==t),t]}function Qa(e,t){return e.activePaneId!==t?e:{...e,activePaneId:lm(e)}}function KH(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function _l(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function j2(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function YH(e,t){if(tt(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");_l(e,t.newPaneId);const r=KH(t.newPaneId),s=ec(e,t.paneId);if(s!==void 0&&s.axis===t.axis){const d=s.children.indexOf(t.paneId),p=t.direction==="after"?d+1:d,m=Gr(s.children,p,t.newPaneId),g=s.sizes.flatMap((w,x)=>x===d?[w/2,w/2]:[w]);return{state:_t(e,{[t.newPaneId]:r,[s.id]:{...s,children:m,sizes:g}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:s.id,sizes:s.sizes}]}}_l(e,t.newSplitId);const l=S2(e,t.paneId,t.newSplitId),u=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:_t(l,{[t.newPaneId]:r,[t.newSplitId]:{kind:"split",id:t.newSplitId,axis:t.axis,children:u,sizes:[.5,.5]}}),inverse:[{type:"merge",paneId:t.newPaneId}]}}function JH(e,t){const n=tt(e,t.paneId);if(n.tabs.length>0)throw new Error("layout: merge requires an empty pane");const r=vn(e,[]);if(n.host==="float"){const p=C2(e,t.paneId),m=_t({...e,floats:er(e.floats,p)},{[t.paneId]:null});return{state:Qa(m,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"float",index:p}},r]}}const s=ec(e,t.paneId);if(s===void 0)throw new Error("layout: the docked root pane cannot be merged");const l=s.children.indexOf(t.paneId);if(s.children.length>2){const p=er(s.children,l),m=sm(er(s.sizes,l)),g=_t(e,{[t.paneId]:null,[s.id]:{...s,children:p,sizes:m}});return{state:Qa(g,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"child",parentId:s.id,index:l,sizes:s.sizes}},r]}}const u=s.children[1-l];if(u===void 0)throw new Error("layout: merge found a split without a sibling");const d=_t(S2(e,s.id,u),{[t.paneId]:null,[s.id]:null});return{state:Qa(d,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"wrap",targetId:u,split:s}},r]}}function XH(e,t){const n=tt(e,t.paneId);if(n.host!=="dock")throw new Error("layout: openTab requires a docked pane");j2(e,t.tab.id);const r=vn(e,[n.id]);return{state:{..._t(Eo(e,{[t.tab.id]:t.tab}),{[n.id]:Lo(n,Gr(n.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:n.id},inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function QH(e,t){const n=tt(e,t.paneId);if(n.host!=="dock")throw new Error("layout: insertTab requires a docked pane");j2(e,t.tab.id);const r=vn(e,[n.id]),s=Gr(n.tabs,t.index,t.tab.id);return{state:_t(Eo(e,{[t.tab.id]:t.tab}),{[n.id]:Lo(n,s,n.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function eV(e,t){const n=zo(e,t.tabId),r=Vn(e,t.tabId),s=r.tabs.indexOf(t.tabId),l=vn(e,[r.id]);if(r.host==="float"){const d=C2(e,r.id),p=Eo(_t({...e,floats:er(e.floats,d)},{[r.id]:null}),{[t.tabId]:null});return{state:Qa(p,r.id),inverse:[{type:"insertPane",pane:r,tabs:[n],attach:{mode:"float",index:d}},l]}}const u=r.activeTabId===t.tabId?k2(r.tabs,s):r.activeTabId;return{state:Eo(_t(e,{[r.id]:Lo(r,er(r.tabs,s),u)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:r.id,tab:n,index:s},l]}}function tV(e,t){if(_l(e,t.pane.id),t.pane.tabs.length!==t.tabs.length)throw new Error("layout: insertPane tab records do not match the pane");if(t.pane.host==="dock"&&t.tabs.length>0)throw new Error("layout: insertPane returns a docked pane empty");const n={};for(const u of t.tabs)j2(e,u.id),n[u.id]=u;const r=t.tabs[0],s=r===void 0?[{type:"merge",paneId:t.pane.id}]:[{type:"closeTab",tabId:r.id},vn(e,[])],l=t.attach;switch(l.mode){case"child":{const u=Ql(e,l.parentId),d=Gr(u.children,l.index,t.pane.id);if(l.sizes.length!==d.length)throw new Error("layout: insertPane sizes do not match the split");return s.push({type:"resize",splitId:u.id,sizes:u.sizes}),{state:_t(Eo(e,n),{[t.pane.id]:t.pane,[u.id]:{...u,children:d,sizes:l.sizes}}),inverse:s}}case"wrap":{if(!l.split.children.includes(t.pane.id))throw new Error("layout: insertPane wrap split does not list the pane");const u=S2(e,l.targetId,l.split.id);return{state:_t(Eo(u,n),{[t.pane.id]:t.pane,[l.split.id]:l.split}),inverse:s}}case"float":{if(t.pane.host!=="float")throw new Error("layout: float attachment requires a floating pane");const u=Gr(e.floats,l.index,t.pane.id);return{state:_t(Eo({...e,floats:u},n),{[t.pane.id]:t.pane}),inverse:s}}default:return b2(l,"layout: insertPane attachment")}}function nV(e,t){const n=Vn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const r=tt(e,t.toPaneId);if(r.host!=="dock")throw new Error("layout: moveTab target must be docked");if(r.id===n.id)throw new Error("layout: moveTab across one pane; use reorderTab");const s=n.tabs.indexOf(t.tabId),l=vn(e,[n.id,r.id]),u=n.activeTabId===t.tabId?k2(n.tabs,s):n.activeTabId;return{state:{..._t(e,{[n.id]:Lo(n,er(n.tabs,s),u),[r.id]:Lo(r,Gr(r.tabs,t.index,t.tabId),t.tabId)}),activePaneId:r.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:n.id,index:s},l]}}function rV(e,t){const n=Vn(e,t.tabId),r=n.tabs.indexOf(t.tabId),s=Gr(er(n.tabs,r),t.index,t.tabId);return{state:_t(e,{[n.id]:{...n,tabs:s}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:r}]}}function oV(e,t){const n=Vn(e,t.tabId),r=vn(e,[n.id]),s=_t(e,{[n.id]:{...n,activeTabId:t.tabId}}),l=n.host==="float"?E2(s.floats,n.id):s.floats;return{state:{...s,activePaneId:n.id,floats:l},inverse:[r]}}function iV(e,t){const n=tt(e,t.paneId),r=vn(e,[]),s=n.host==="float"?E2(e.floats,n.id):e.floats;return{state:{...e,activePaneId:n.id,floats:s},inverse:[r]}}function sV(e,t){const n=Ql(e,t.splitId);if(t.sizes.length!==n.children.length)throw new Error("layout: resize sizes do not match the split");if(t.sizes.some(r=>!(r>0)))throw new Error("layout: resize sizes must all be above zero");return{state:_t(e,{[n.id]:{...n,sizes:sm(t.sizes)}}),inverse:[{type:"resize",splitId:n.id,sizes:n.sizes}]}}function aV(e,t){zo(e,t.tabId);const n=Vn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: float requires a docked tab");_l(e,t.newPaneId);const r=n.tabs.indexOf(t.tabId),s=vn(e,[n.id]),l=n.activeTabId===t.tabId?k2(n.tabs,r):n.activeTabId,u=_t(e,{[n.id]:Lo(n,er(n.tabs,r),l),[t.newPaneId]:{kind:"pane",id:t.newPaneId,host:"float",tabs:[t.tabId],activeTabId:t.tabId,rect:t.rect}});return{state:{...u,floats:[...u.floats,t.newPaneId],activePaneId:t.newPaneId},inverse:[{type:"unfloat",paneId:t.newPaneId,toPaneId:n.id,index:r},s]}}function lV(e,t){const n=tt(e,t.paneId),r=Ai(n),s=im(n),l=tt(e,t.toPaneId);if(l.host!=="dock")throw new Error("layout: unfloat target must be docked");const u=vn(e,[l.id]);return{state:{..._t({...e,floats:er(e.floats,C2(e,t.paneId))},{[t.paneId]:null,[l.id]:Lo(l,Gr(l.tabs,t.index,s),s)}),activePaneId:l.id},inverse:[{type:"float",tabId:s,newPaneId:t.paneId,rect:r},u]}}function um(e,t,n){const r=_t(e,{[t.id]:{...t,rect:n}});return{...r,activePaneId:t.id,floats:E2(r.floats,t.id)}}function cV(e,t){const n=tt(e,t.paneId),r=Ai(n);return{state:um(e,n,{...r,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:r.x,y:r.y},vn(e,[])]}}function uV(e,t){const n=tt(e,t.paneId),r=Ai(n);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:um(e,n,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:r},vn(e,[])]}}function dV(e,t){const n=vn(e,GH(t.paneActiveTabs));for(const s of t.floats)if(tt(e,s).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${s} as floating`);let r=e;for(const[s,l]of a1(t.paneActiveTabs)){const u=tt(r,s);r=_t(r,{[s]:{...u,activeTabId:l}})}return tt(r,t.activePaneId),{state:{...r,activePaneId:t.activePaneId,floats:t.floats},inverse:[n]}}function Ri(e,t){switch(t.type){case"split":return YH(e,t);case"merge":return JH(e,t);case"openTab":return XH(e,t);case"insertTab":return QH(e,t);case"closeTab":return eV(e,t);case"insertPane":return tV(e,t);case"moveTab":return nV(e,t);case"reorderTab":return rV(e,t);case"focusTab":return oV(e,t);case"focusPane":return iV(e,t);case"resize":return sV(e,t);case"float":return aV(e,t);case"unfloat":return lV(e,t);case"moveFloat":return cV(e,t);case"resizeFloat":return uV(e,t);case"setExpanded":return{state:{...e,expanded:t.expanded},inverse:[{type:"setExpanded",expanded:e.expanded}]};case"setMode":return{state:{...e,mode:t.mode},inverse:[{type:"setMode",mode:e.mode}]};case"restoreFocus":return dV(e,t);default:return b2(t,"layout: operation")}}function fV(e,t){return t.reduce((n,r)=>Ri(n,r).state,e)}const dm={entries:[],cursor:0},hV=new Set(["focusTab","focusPane","restoreFocus"]);function fm(e){return hV.has(e.type)}function bl(e,t){const n=e.entries[t];return n!==void 0&&n.ops.every(fm)}function I2(e){return e.cursor>0}function M2(e){return e.cursor<e.entries.length}function hm(e){return e.entries.flatMap(t=>t.ops)}function pm(e,t,n){if(n.length===0)return{history:e,state:t};let r=t;const s=[];for(const u of n){const d=Ri(r,u);r=d.state,s.unshift(...d.inverse)}return{history:{entries:[...e.cursor===e.entries.length?e.entries:e.entries.slice(0,e.cursor),{ops:n,inverse:s}],cursor:e.cursor+1},state:r}}function mm(e,t){if(!I2(e))return;let n=1;if(bl(e,e.cursor-1))for(;bl(e,e.cursor-1-n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor-n,e.cursor).reverse())for(const l of s.inverse)r=Ri(r,l).state;return{history:{entries:e.entries,cursor:e.cursor-n},state:r}}function gm(e,t){if(!M2(e))return;let n=1;if(bl(e,e.cursor))for(;bl(e,e.cursor+n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor,e.cursor+n))for(const l of s.ops)r=Ri(r,l).state;return{history:{entries:e.entries,cursor:e.cursor+n},state:r}}class vm{current;recorded=dm;constructor(t){this.current=t}get state(){return this.current}get history(){return this.recorded}get ops(){return hm(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return I2(this.recorded)}get canRedo(){return M2(this.recorded)}dispatch(t){return this.dispatchAll([t])}dispatchAll(t){const n=pm(this.recorded,this.current,t);return this.recorded=n.history,this.current=n.state,this.current}undo(){const t=mm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}redo(){const t=gm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}}const wm=4,O2=.12,Cl={width:380,height:300},xm={width:220,height:140},T2=.25;function ym(e){return tc(e).length}function nc(e){return ym(e)<wm}const pV=["center","top","right","bottom","left"];function _m(e,t,n=T2){let r="left",s=e;return 1-e<s&&(r="right",s=1-e),t<s&&(r="top",s=t),1-t<s&&(r="bottom",s=1-t),s<n?r:"center"}function bm(e){switch(e){case"center":return;case"left":return{axis:"row",direction:"before"};case"right":return{axis:"row",direction:"after"};case"top":return{axis:"column",direction:"before"};case"bottom":return{axis:"column",direction:"after"};default:return b2(e,"layout: dock zone")}}function L2(e,t=O2){if(e.length===0)return[];const n=Math.min(t,1/e.length),r=e.map(d=>d>0?d:0),s=r.reduce((d,p)=>d+p,0);let l=s>0?r.map(d=>d/s):r.map(()=>1/e.length);const u=new Set;for(;;){const d=l.flatMap((g,w)=>!u.has(w)&&g<n?[w]:[]);if(d.length===0)return l;for(const g of d)u.add(g);const p=1-u.size*n,m=l.reduce((g,w,x)=>u.has(x)?g:g+w,0);l=l.map((g,w)=>u.has(w)?n:g/m*p)}}function kl(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function Cm(e,t,n,r=T2){return!(e.width>0)||!(e.height>0)?"center":_m((t-e.x)/e.width,(n-e.y)/e.height,r)}function km(e,t){let n=0;for(const r of e){if(t<r.x+r.width/2)break;n+=1}return n}const No={divider:0,chip:100,body:48};function Sm(e,t=No){const{pane:n,strip:r}=e;if(!(n.width>0)||!(n.height>0)||!(r.width>0))return{row:!0,column:!0};const s=Math.max(0,n.width-r.width),l=Math.max(0,r.width-e.chipsWidth-e.fillWidth-(e.splitControlWidth??0)),u=(n.width-t.divider)/2-s,d=(n.height-t.divider)/2-s;return{row:u>=l+t.chip,column:d>=r.height+t.body}}const p0=4;function Em(e,t,n,r){return Math.abs(n-e)>=p0||Math.abs(r-t)>=p0}function jm(e,t,n){const r=e[t],s=e[t+1];if(r===void 0||s===void 0)return[...e];const l=[...e];return l[t]=r+n,l[t+1]=s-n,l}function Im(e,t,n){return{...e,x:e.x+t,y:e.y+n}}function Mm(e,t,n,r){return{...e,width:Math.max(r.width,e.width+t),height:Math.max(r.height,e.height+n)}}function Om(e,t,n){return{x:Math.max(0,e-L6.x),y:Math.max(0,t-L6.y),...n}}const L6={x:60,y:14},mV=24,N6={x:160,y:120},jn=[];function Tm(e,t,n,r){for(const s of tt(e,t).tabs){const l=e.tabs[s];if(l?.contentId===n&&(r===void 0||l.kind===r))return s}}function Lm(e,t,n){for(const r of[...tc(e),...e.floats]){const s=Tm(e,r,t,n);if(s!==void 0)return s}}function Di(e){const t=tt(e,e.activePaneId);return t.host==="dock"?t.id:lm(e)}function m0(e,t,n,r){return e.host==="float"?{type:"unfloat",paneId:e.id,toPaneId:n,index:r}:{type:"moveTab",tabId:t,toPaneId:n,index:r}}function Nm(e,t){return e.expanded===t?jn:[{type:"setExpanded",expanded:t}]}function Pm(e,t){return e.mode===t?jn:[{type:"setMode",mode:t}]}function zm(e,t,n,r){if(!nc(e))return jn;const s=n??Di(e);if(tt(e,s).host!=="dock")return jn;const l=t("pane"),u=[{type:"split",paneId:s,axis:"row",direction:"after",newPaneId:l,newSplitId:t("split")}],d=r?.(t("tab"));return d!==void 0&&u.push({type:"openTab",paneId:l,tab:d,index:0}),u}function Am(e,t,n,r){if(r===void 0)return jn;const s=tt(e,n);return s.host!=="dock"?jn:[{type:"openTab",paneId:n,tab:r(t("tab")),index:s.tabs.length}]}function Rm(e,t,n){const r=n.revealIfOpened===!1?void 0:Lm(e,n.contentId,n.kind);if(r!==void 0)return{ops:[{type:"focusTab",tabId:r}],tabId:r};const s=n.paneId??Di(e),l={id:t("tab"),kind:n.kind,contentId:n.contentId,title:n.title};return{ops:[{type:"openTab",paneId:s,tab:l,index:n.index??tt(e,s).tabs.length}],tabId:l.id}}function Dm(e,t,n){const r=zo(e,n),s=Vn(e,n),l=s.host==="dock"?s.id:Di(e),u=s.host==="dock"?s.tabs.indexOf(n)+1:tt(e,l).tabs.length,d={...r,id:t("tab")};return{ops:[{type:"openTab",paneId:l,tab:d,index:u}],tabId:d.id}}function Fm(e,t,n,r){const s=Vn(e,t);if(tt(e,n).host!=="dock")return jn;if(s.id===n){const l=s.tabs.indexOf(t),u=r>l?r-1:r;return u===l?jn:[{type:"reorderTab",tabId:t,index:u}]}return[m0(s,t,n,r)]}function $m(e,t,n,r,s,l){const u=Vn(e,n),d=tt(e,r);if(d.host!=="dock")return jn;const p=bm(s);if(p===void 0)return u.id===r?jn:[m0(u,n,r,d.tabs.length)];const m=u.id===r&&u.tabs.length===1;if(m&&l===void 0||!nc(e))return jn;const g=t("pane"),w=[{type:"split",paneId:r,axis:p.axis,direction:p.direction,newPaneId:g,newSplitId:t("split")}];return m&&l!==void 0&&w.push({type:"openTab",paneId:r,tab:l(t("tab")),index:u.tabs.length}),w.push(m0(u,n,g,0)),w}function Hm(e,t,n,r){const s=e.floats.length*mV,l=t("float");return{ops:[{type:"float",tabId:n,newPaneId:l,rect:r??{x:N6.x+s,y:N6.y+s,width:Cl.width,height:Cl.height}}],paneId:l}}function Vm(e,t,n){const r=n??Di(e);return[{type:"unfloat",paneId:t,toPaneId:r,index:tt(e,r).tabs.length}]}function Bm(e,t,n){return[{type:"resize",splitId:e,sizes:L2(t,n)}]}function gV(e,t,n){const r=[];let s=e;for(;;){const u=tc(s).find(p=>p!==s.rootId&&tt(s,p).tabs.length===0);if(u===void 0)break;const d={type:"merge",paneId:u};r.push(d),s=Ri(s,d).state}const l=yr(s,s.rootId);return l.kind==="pane"&&l.tabs.length===0&&n!==void 0&&r.push({type:"openTab",paneId:l.id,tab:n(t("tab")),index:0}),r}function Zm(e=0){let t=e;return{next:(r=>(t+=1,`${r}${t}`))}}function Wm(e,t,n="push"){const r=e.next("pane"),s=t?.(e.next("tab"));return{nodes:{[r]:{kind:"pane",id:r,host:"dock",tabs:s===void 0?[]:[s.id],activeTabId:s?.id,rect:void 0}},tabs:s===void 0?{}:{[s.id]:s},rootId:r,floats:[],activePaneId:r,expanded:!1,mode:n}}class vV{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(t={}){this.minter=Zm(),this.makePaneTab=t.makePaneTab,this.sequencer=new vm(Wm(this.minter,t.makeInitialTab,t.mode)),this.snapshot=this.buildSnapshot()}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.snapshot;get ops(){return this.sequencer.ops}buildSnapshot(){const t=this.sequencer.state;return{state:t,canUndo:this.sequencer.canUndo,canRedo:this.sequencer.canRedo,canSplit:nc(t),opCount:this.sequencer.ops.length,cursor:this.sequencer.cursor}}commit(){this.snapshot=this.buildSnapshot();for(const t of[...this.listeners])t()}get state(){return this.sequencer.state}get mint(){return this.minter.next}run(t){return t.length===0?!1:(this.sequencer.dispatchAll(t),this.commit(),!0)}setExpanded(t){this.run(Nm(this.state,t))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(t){this.run(Pm(this.state,t))}splitPane(t){return this.run(zm(this.state,this.mint,t,this.makePaneTab))}addTab(t){return this.run(Am(this.state,this.mint,t,this.makePaneTab))}openContent(t){const n=Rm(this.state,this.mint,t);return this.run(n.ops),n.tabId}duplicateTab(t){const n=Dm(this.state,this.mint,t);return this.run(n.ops),n.tabId}closeTab(t){this.run([{type:"closeTab",tabId:t}])}focusTab(t){this.run([{type:"focusTab",tabId:t}])}focusPane(t){this.run([{type:"focusPane",paneId:t}])}reorderTab(t,n){this.run([{type:"reorderTab",tabId:t,index:n}])}placeTab(t,n,r){return this.run(Fm(this.state,t,n,r))}dropTab(t,n,r){return this.run($m(this.state,this.mint,t,n,r))}floatTab(t,n){const r=Hm(this.state,this.mint,t,n);return this.run(r.ops),r.paneId}unfloatPane(t,n){this.run(Vm(this.state,t,n))}moveFloat(t,n,r){this.run([{type:"moveFloat",paneId:t,x:n,y:r}])}resizeFloat(t,n){this.run([{type:"resizeFloat",paneId:t,rect:n}])}resizeSplit(t,n){this.run(Bm(t,n))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return Di(this.state)}}const wV={x:0,y:0,width:0,height:0},xV={row:!0,column:!0};function Wa(e){return e===null?wV:e.getBoundingClientRect()}function pi(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function Um(e){const t=[];for(const n of e.querySelectorAll("[data-dockkit-pane]")){const r=n.dataset.dockkitPane;r!==void 0&&t.push([r,n])}return t}function yV(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return No.chip;const n=getComputedStyle(t),r=pi(n.minWidth);return r<=0?No.chip:n.boxSizing==="border-box"?r:r+pi(n.paddingLeft)+pi(n.paddingRight)+pi(n.borderLeftWidth)+pi(n.borderRightWidth)}function _V(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return No.divider;const{width:n,height:r}=t.getBoundingClientRect(),s=Math.min(n,r);return s>0?s:No.divider}function bV(e){const t=e.querySelector("[data-dockkit-split-button]");if(t===null)return 0;const n=t.getBoundingClientRect().width;if(!(n>0))return 0;const r=e.querySelector("[data-dockkit-strip]");return n+(r===null?0:pi(getComputedStyle(r).columnGap))}function CV(e,t=!1){const n={divider:_V(e),chip:yV(e),body:No.body},r=new Map;for(const[s,l]of Um(e))r.set(s,Sm({pane:Wa(l),strip:Wa(l.querySelector("[data-dockkit-strip]")),chipsWidth:Wa(l.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:Wa(l.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?bV(l):0},n));return r}function g0(e,t){return e.get(t)??xV}function kV(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e){const s=t.get(n);if(s===void 0||s.row!==r.row||s.column!==r.column)return!1}return!0}function SV(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function EV(e,t,n){SV(e,t);const r=new AbortController,{signal:s}=r;e.dataset.dockkitPointer=String(t),s.addEventListener("abort",()=>{e.dataset.dockkitPointer===String(t)&&delete e.dataset.dockkitPointer},{once:!0});const l=u=>u.pointerId===t;return window.addEventListener("pointermove",u=>{l(u)&&n.move(u)},{signal:s}),window.addEventListener("pointerup",u=>{l(u)&&(r.abort(),n.up(u))},{signal:s}),window.addEventListener("pointercancel",u=>{l(u)&&(r.abort(),n.cancel())},{signal:s}),()=>{r.abort()}}function qm(e){const t=S.useRef(void 0);return S.useEffect(()=>()=>{t.current?.stop()},[]),(n,r,s)=>{t.current?.end();const l=()=>{t.current=void 0,e()},u=EV(n,r,{move:s.move,up:d=>{l(),s.up(d)},cancel:l});t.current={stop:u,end:()=>{u(),l()}}}}const jV="_split_116sf_17",IV="_splitRow_116sf_24",MV="_splitColumn_116sf_28",OV="_splitCell_116sf_32",TV="_divider_116sf_39",LV="_surface_116sf_137",NV="_tabLayout_116sf_146",PV="_tabCell_116sf_154",zV="_emptyTabHost_116sf_155",AV="_floatingCell_116sf_168",RV="_tabHost_116sf_174",DV="_float_116sf_168",FV="_tabHostHeader_116sf_195",$V="_tabHostBody_116sf_199",HV="_tabLayoutDivider_116sf_204",VV="_pane_116sf_233",BV="_tabStrip_116sf_261",ZV="_stripTabs_116sf_280",WV="_stripFill_116sf_317",UV="_stripChrome_116sf_325",qV="_paneBody_116sf_347",GV="_slot_116sf_356",KV="_tabActive_116sf_375",YV="_slotCaret_116sf_375",JV="_tab_116sf_146",XV="_tabTitle_116sf_418",QV="_floatTitle_116sf_438",eB="_tabClose_116sf_445",tB="_addTab_116sf_488",nB="_tabQuiet_116sf_527",rB="_tabDragging_116sf_544",oB="_iconButton_116sf_550",iB="_menu_116sf_586",sB="_menuItem_116sf_600",aB="_empty_116sf_155",lB="_dockScrim_116sf_638",cB="_dockHint_116sf_640",uB="_dockHintCard_116sf_645",dB="_dockHintLabel_116sf_740",fB="_floatHeader_116sf_819",hB="_dockGlyph_116sf_836",pB="_floatBody_116sf_841",mB="_floatResize_116sf_851",Me={split:jV,splitRow:IV,splitColumn:MV,splitCell:OV,divider:TV,surface:LV,tabLayout:NV,tabCell:PV,emptyTabHost:zV,floatingCell:AV,tabHost:RV,float:DV,tabHostHeader:FV,tabHostBody:$V,tabLayoutDivider:HV,pane:VV,tabStrip:BV,stripTabs:ZV,stripFill:WV,stripChrome:UV,paneBody:qV,slot:GV,tabActive:KV,slotCaret:YV,tab:JV,tabTitle:XV,floatTitle:QV,tabClose:eB,addTab:tB,tabQuiet:nB,tabDragging:rB,iconButton:oB,menu:iB,menuItem:sB,empty:aB,dockScrim:lB,dockHint:cB,dockHintCard:uB,dockHintLabel:dB,floatHeader:fB,dockGlyph:hB,floatBody:pB,floatResize:mB},Ld=4;function gB(e,t){const n=e.getBoundingClientRect(),r=t.offsetWidth,s=n.left+r+Ld>window.innerWidth?Math.max(Ld,n.right-r):n.left;return{top:n.bottom+Ld,left:s}}function vB({labels:e,anchor:t,onClose:n,onDismiss:r,extras:s}){const l=S.useRef(null),[u,d]=S.useState(void 0),p=n!==void 0||S.Children.toArray(s).some(m=>m!=="");return S.useLayoutEffect(()=>{l.current!==null&&d(gB(t,l.current))},[t,p]),S.useEffect(()=>{const m=l.current;if(m===null)return;const g=m.ownerDocument,w=Kl(g),x=b=>{if(w.guards(b)||b.defaultPrevented||b.key!=="Escape"||b.ctrlKey||b.altKey||b.metaKey||b.shiftKey||[...g.querySelectorAll(c2)].at(-1)!==m||(b.preventDefault(),b.repeat))return;const I=m.contains(g.activeElement);r(),I&&Mi(t)};g.addEventListener("keydown",x,!0);const y=b=>{b.target instanceof Node&&m.contains(b.target)||r()};return window.addEventListener("pointerdown",y,!0),()=>{w.dispose(),g.removeEventListener("keydown",x,!0),window.removeEventListener("pointerdown",y,!0)}},[t,r,p]),p?gn.createPortal(c.jsxs(gl,{className:Me.menu,ref:l,role:"menu","data-dockkit-tab-menu":!0,style:u??{visibility:"hidden",top:0,left:0},onPointerDown:m=>{m.stopPropagation()},onClick:m=>{m.stopPropagation()},children:[n!==void 0&&c.jsx("button",{type:"button",role:"menuitem",className:Me.menuItem,"data-dockkit-menu-close":!0,onClick:n,children:e.closeTab}),s]}),document.body):null}function P6(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function Gm({children:e}){const t=S.useRef(null);return S.useLayoutEffect(()=>{t.current!==null&&P6(t.current)}),S.useLayoutEffect(()=>{const n=t.current;if(n===null||typeof ResizeObserver>"u")return;const r=new ResizeObserver(()=>{P6(n)});return r.observe(n),()=>{r.disconnect()}},[]),c.jsx("span",{ref:t,className:Me.tabTitle,"data-dockkit-tab-title":!0,children:e})}const wB="M9.67272 0.522841C10.8339 0.522841 11.76 0.522714 12.4963 0.602493C13.2453 0.683657 13.8789 0.854248 14.4264 1.25197C14.7504 1.48739 15.0355 1.77247 15.2709 2.0965C15.6686 2.64394 15.8392 3.27758 15.9204 4.02655C16.0002 4.7629 16 5.68895 16 6.85014V9.14986C16 10.3111 16.0002 11.2371 15.9204 11.9735C15.8392 12.7224 15.6686 13.3561 15.2709 13.9035C15.0355 14.2275 14.7504 14.5126 14.4264 14.748C13.8789 15.1458 13.2453 15.3163 12.4963 15.3975C11.76 15.4773 10.8339 15.4772 9.67272 15.4772H6.3273C5.16611 15.4772 4.24006 15.4773 3.50371 15.3975C2.75474 15.3163 2.1211 15.1458 1.57366 14.748C1.24963 14.5126 0.964549 14.2275 0.729131 13.9035C0.331407 13.3561 0.160817 12.7224 0.0796529 11.9735C-0.000126137 11.2371 1.25338e-09 10.3111 1.25338e-09 9.14986V6.85014C1.25329e-09 5.68895 -0.000126137 4.7629 0.0796529 4.02655C0.160817 3.27758 0.331407 2.64394 0.729131 2.0965C0.964549 1.77247 1.24963 1.48739 1.57366 1.25197C2.1211 0.854248 2.75474 0.683657 3.50371 0.602493C4.24006 0.522714 5.16611 0.522841 6.3273 0.522841H9.67272ZM4.1828 14.0873L5.54303 14.1118C5.78636 14.1128 6.04709 14.1169 6.3273 14.1169H9.67272C10.8639 14.1169 11.7032 14.1164 12.3493 14.0465C12.9824 13.9779 13.3497 13.8494 13.6268 13.6482C13.8354 13.4966 14.0195 13.3125 14.1711 13.1039C14.3723 12.8268 14.5007 12.4595 14.5693 11.8264C14.6393 11.1803 14.6398 10.341 14.6398 9.14986V6.85014C14.6398 5.65896 14.6393 4.81967 14.5693 4.1736C14.5007 3.54048 14.3723 3.17318 14.1711 2.89609C14.0195 2.68747 13.8354 2.50337 13.6268 2.35179C13.3497 2.1506 12.9824 2.02212 12.3493 1.95353C11.7032 1.88358 10.8639 1.88307 9.67272 1.88307H6.3273C6.04709 1.88307 5.78636 1.8862 5.54303 1.88715L4.1828 1.91166C3.99125 1.9216 3.8148 1.93577 3.65076 1.95353C3.01764 2.02212 2.65034 2.1506 2.37325 2.35179C2.16463 2.50337 1.98052 2.68747 1.82895 2.89609C1.62776 3.17318 1.49928 3.54048 1.43069 4.1736C1.36074 4.81967 1.36023 5.65896 1.36023 6.85014V9.14986C1.36023 10.341 1.36074 11.1803 1.43069 11.8264C1.49928 12.4595 1.62776 12.8268 1.82895 13.1039C1.98052 13.3125 2.16463 13.4966 2.37325 13.6482C2.65034 13.8494 3.01764 13.9779 3.65076 14.0465C3.81478 14.0642 3.99127 14.0774 4.1828 14.0873Z";function xB(){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5V14.5",stroke:"currentColor"})]})}const yB={center:"M4.56 3.48H11.44A1.6 1.6 0 0 1 13.04 5.08V10.92A1.6 1.6 0 0 1 11.44 12.52H4.56A1.6 1.6 0 0 1 2.96 10.92V5.08A1.6 1.6 0 0 1 4.56 3.48Z",left:"M4 0.523H8V15.477H4A4 4 0 0 1 0 11.477V4.523A4 4 0 0 1 4 0.523Z",right:"M8 0.523H12A4 4 0 0 1 16 4.523V11.477A4 4 0 0 1 12 15.477H8Z",top:"M0 8V4.523A4 4 0 0 1 4 0.523H12A4 4 0 0 1 16 4.523V8Z",bottom:"M0 8H16V11.477A4 4 0 0 1 12 15.477H4A4 4 0 0 1 0 11.477Z"};function _B({zone:e}){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:wB,fill:"currentColor"}),c.jsx("path",{d:yB[e],fill:"currentColor"})]})}function Nd({zone:e,active:t,labels:n}){return c.jsx("div",{className:Me.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:c.jsxs("div",{className:Me.dockHintCard,children:[c.jsx(_B,{zone:e}),c.jsx("span",{className:Me.dockHintLabel,children:n.dropZone[e]})]})})}function bB(e,t,n){const r=t.length,s=t.indexOf(n);switch(e){case"ArrowLeft":return t[(s-1+r)%r];case"ArrowRight":return t[(s+1)%r];case"Home":return t[0];case"End":return t.at(-1);default:return}}function CB(e){return e==="Enter"||e===" "}function kB(e){const t=e.scrollLeft>1,n=e.scrollLeft+e.clientWidth<e.scrollWidth-1;if(t&&n)return"start end";if(t)return"start";if(n)return"end"}function SB(e,t){S.useLayoutEffect(()=>{const n=e.current;if(n===null)return;const r=()=>{const l=kB(n);l===void 0?delete n.dataset.dockkitStripScroll:n.dataset.dockkitStripScroll=l};r(),n.addEventListener("scroll",r,{passive:!0});const s=typeof ResizeObserver>"u"?void 0:new ResizeObserver(r);return s?.observe(n),()=>{n.removeEventListener("scroll",r),s?.disconnect()}},[e,t])}function EB(e,t,n,r){S.useLayoutEffect(()=>{const s=e.current,l=r===void 0?void 0:t.get(r);if(s===null||l===void 0)return;const u=s.getBoundingClientRect(),d=l.getBoundingClientRect();d.left<u.left?s.scrollLeft+=d.left-u.left-z6:d.right>u.right&&(s.scrollLeft+=d.right-u.right+z6)},[e,t,n,r])}const z6=24;function A6(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function Km({state:e,pane:t,callbacks:n}){const[r,s]=S.useState(void 0),[l]=S.useState(()=>new Map),u=S.useRef(null);SB(u,t.tabs),EB(u,l,t.tabs,t.activeTabId);const d=n.splitBlock(t.id),p=n.dropTarget,m=p!==void 0&&p.kind==="strip"&&p.paneId===t.id?p.index:void 0,g=x=>{e.activePaneId===t.id&&t.activeTabId===x||n.onFocusTab(x)},w=x=>{const y=l.get(x);y!==void 0&&y.focus()};return c.jsxs("div",{className:Me.tabStrip,role:"tablist","data-dockkit-strip":t.id,"data-window-drag":e.floats.length===0?!0:void 0,children:[c.jsxs("div",{ref:u,className:Me.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((x,y)=>{const b=zo(e,x),j=x===t.activeTabId,I=n.canCloseTab(x),P=!I&&t.tabs.length===1;return c.jsxs(S.Fragment,{children:[(y>0||m===y)&&c.jsx("div",{className:xe(Me.slot,m===y&&Me.slotCaret),"data-dockkit-caret":m===y?y:void 0}),c.jsxs("div",{role:"tab","aria-selected":j,tabIndex:j?0:-1,className:xe(Me.tab,j&&Me.tabActive,P&&Me.tabQuiet,n.draggingTabId===x&&Me.tabDragging),"data-dockkit-tab":x,"data-dockkit-tab-quiet":P||void 0,ref:O=>{O===null?l.delete(x):l.set(x,O)},onPointerDown:O=>{O.pointerType==="touch"||O.button===2||n.onTabPressed(x,O)},onClick:O=>{O.stopPropagation(),g(x)},onKeyDown:O=>{if(O.target!==O.currentTarget||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey||O.nativeEvent.isComposing)return;const B=bB(O.key,t.tabs,x);if(B!==void 0){O.preventDefault(),w(B);return}CB(O.key)&&(O.preventDefault(),g(x))},onContextMenu:O=>{O.preventDefault();const B=O.currentTarget;s(z=>z?.tabId===x?void 0:{tabId:x,anchor:B})},children:[c.jsx(Gm,{children:n.renderTabTitle?.(b)??b.title}),I&&c.jsx(qr,{disabled:r!==void 0,label:n.labels.closeTab,shortcutKeys:n.labels.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.tabClose,"aria-label":n.labels.closeTab,"aria-keyshortcuts":n.labels.closeTabShortcut,"data-dockkit-tab-close":x,onPointerDown:O=>{O.stopPropagation()},onClick:O=>{O.stopPropagation(),n.onCloseTab(x)},children:c.jsx(n2,{size:14})})}),r?.tabId===x&&c.jsx(vB,{labels:n.labels,anchor:r.anchor,onClose:I?()=>{s(void 0),n.onCloseTab(x)}:void 0,onDismiss:()=>{s(void 0)},extras:n.renderTabMenuItems?.(b,()=>{s(void 0)})})]})]},x)}),m===t.tabs.length&&c.jsx("div",{className:xe(Me.slot,Me.slotCaret),"data-dockkit-caret":m})]}),n.canAddTab(t.id)&&c.jsx(qr,{label:n.labels.addTab,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.addTab,"aria-label":n.labels.addTab,"data-dockkit-add-tab":t.id,onClick:x=>{x.stopPropagation(),n.onAddTab(t.id)},children:c.jsx(t7,{size:14})})}),c.jsx("div",{className:Me.stripFill,"data-dockkit-strip-fill":!0}),!(n.hideSplitWhenBlocked&&d!==void 0)&&c.jsx(qr,{label:d===void 0?n.labels.splitPane:A6(n.labels,d),shortcutKeys:n.labels.splitPaneKeys,side:"bottom",delayMs:500,children:c.jsx("span",{"data-dockkit-split-control":!0,tabIndex:d===void 0?void 0:0,"aria-label":d===void 0?void 0:A6(n.labels,d),children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.labels.splitPane,"aria-keyshortcuts":n.labels.splitPaneShortcut,disabled:d!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":d,onClick:x=>{x.stopPropagation(),n.onSplitPane(t.id)},children:c.jsx(xB,{})})})}),t.id===n.chromePaneId&&n.chrome!==void 0&&c.jsx("div",{className:Me.stripChrome,"data-dockkit-strip-chrome":!0,onClick:x=>{x.stopPropagation()},children:n.chrome})]})}function Ym({pane:e,callbacks:t}){const n=t.dropTarget,r=n?.kind==="zone"&&n.paneId===e.id?n.zone:void 0;return r===void 0?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Me.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&r!=="center"?c.jsxs(c.Fragment,{children:[c.jsx(Nd,{zone:"left",active:r==="left",labels:t.labels}),c.jsx(Nd,{zone:"right",active:r==="right",labels:t.labels})]}):c.jsx(Nd,{zone:r,active:!0,labels:t.labels})]})}function Jm({state:e,pane:t,callbacks:n}){const r=t.activeTabId===void 0?void 0:zo(e,t.activeTabId);return c.jsxs("section",{className:Me.pane,"data-dockkit-pane":t.id,tabIndex:-1,"data-dockkit-pane-active":e.activePaneId===t.id||void 0,onClick:()=>{e.activePaneId!==t.id&&n.onFocusPane(t.id)},children:[c.jsx(Km,{state:e,pane:t,callbacks:n}),c.jsxs("div",{className:Me.paneBody,children:[r===void 0?c.jsx("p",{className:Me.empty,children:n.labels.emptyPane}):n.renderTab(r),c.jsx(Ym,{pane:t,callbacks:n})]})]})}function Xm({state:e,nodeId:t,callbacks:n,preview:r}){const s=yr(e,t);if(s.kind==="pane")return c.jsx(Jm,{state:e,pane:s,callbacks:n});const l=r!==void 0&&r.splitId===s.id?r.sizes:s.sizes;return c.jsx("div",{className:xe(Me.split,s.axis==="row"?Me.splitRow:Me.splitColumn),"data-dockkit-split":s.id,children:s.children.map((u,d)=>c.jsxs(S.Fragment,{children:[d>0&&c.jsx("div",{className:Me.divider,"data-dockkit-divider":`${s.id}:${d-1}`,onPointerDown:p=>{n.onDividerPressed(s.id,d-1,p)}}),c.jsx("div",{className:Me.splitCell,"data-dockkit-cell":`${s.id}:${d}`,style:{flexGrow:l[d]},children:c.jsx(Xm,{state:e,nodeId:u,callbacks:n,preview:r})})]},u))})}function R6(e,t,n){const r=t-e.originX,s=n-e.originY;return e.mode==="move"?Im(e.rect,r,s):Mm(e.rect,r,s,xm)}function jB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function IB(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function Qm(e,t){const[n,r]=S.useState(void 0),s=qm(()=>{r(void 0)}),l=d=>{IB(e,d)||t.focusPane(d)};return{preview:n,raise:l,drag:(d,p,m)=>{m.stopPropagation();const g=document.documentElement,w=g.hasAttribute("data-windows-titlebar"),x=w&&!g.hasAttribute("data-fullscreen")?Number.parseFloat(g.style.getPropertyValue("--dsh-windows-titlebar-height")):0,y=Ai(tt(e,p)),b={...y,y:Math.max(y.y,w?x+20:0)},j={mode:d,originX:m.clientX,originY:m.clientY,rect:b};s(m.currentTarget,m.pointerId,{move:I=>{r({paneId:p,rect:R6(j,I.clientX,I.clientY)})},up:I=>{const P=R6(j,I.clientX,I.clientY);jB(P,j.rect)?l(p):d==="move"?t.moveFloat(p,P.x,P.y):t.resizeFloat(p,P)}})}}}function eg({paneId:e,tab:t,labels:n,intents:r,renderTabTitle:s,canCloseTab:l,drag:u}){return c.jsxs("header",{className:xe(Me.tabStrip,Me.floatHeader),"data-dockkit-float-grip":e,onPointerDown:d=>{u("move",e,d)},children:[c.jsx("div",{className:xe(Me.tab,Me.floatTitle),"data-dockkit-float-title":!0,children:c.jsx(Gm,{children:s?.(t)??t.title})}),c.jsx("div",{className:Me.stripFill}),c.jsx(qr,{label:n.dockFloat,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.dockFloat,"data-dockkit-float-dock":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.unfloatPane(e)},children:c.jsx(X8,{className:Me.dockGlyph})})}),(l?.(t.id)??!0)&&c.jsx(qr,{label:n.closeTab,shortcutKeys:n.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.closeTab,"data-dockkit-float-close":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.closeTab(t.id)},children:c.jsx(Gl,{})})})]})}function MB({state:e,intents:t,labels:n,renderTab:r,renderTabTitle:s,canCloseTab:l}){const{preview:u,raise:d,drag:p}=Qm(e,t);return c.jsx(c.Fragment,{children:e.floats.map((m,g)=>{const w=tt(e,m),x=zo(e,im(w)),y=u?.paneId===m?u.rect:void 0,b=y??Ai(w);return c.jsxs("div",{className:Me.float,"data-dockkit-float":m,tabIndex:-1,"data-dockkit-float-active":e.activePaneId===m||void 0,style:{left:b.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${b.y}px)`,width:b.width,height:b.height,zIndex:y===void 0?g+1:e.floats.length+1},onPointerDown:()=>{d(m)},children:[c.jsx(eg,{paneId:m,tab:x,labels:n,intents:t,renderTabTitle:s,canCloseTab:l,drag:p}),c.jsx("div",{className:Me.floatBody,children:r(x)}),c.jsx("div",{className:Me.floatResize,"data-dockkit-float-resize":m,onPointerDown:j=>{p("resize",m,j)}})]},m)})})}function OB({state:e,callbacks:t,intents:n,tab:r,pane:s,column:l,floats:u,focusRequest:d,keepMounted:p,active:m=!0}){const g=s.host==="float",w=g||s.activeTabId===r.id,x=m&&w&&(g||e.expanded),y=p?.(r)??!1,[b,j]=S.useState(x);x&&!b&&j(!0);const I=S.useRef(null),P=S.useRef(null);S.useLayoutEffect(()=>{const U=I.current;U.inert=!x;const Z=document.activeElement;!x&&Z instanceof HTMLElement&&U.contains(Z)&&Z.blur();const ee=d.current;if(!x||ee?.tabId!==r.id||(d.current=void 0,Z!==null&&Z!==document.body&&Z!==document.documentElement&&Z!==ee.origin))return;[...U.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(k=>k.dataset.dockkitTab===r.id)?.focus({preventScroll:!0})},[x,r.id,d]),S.useEffect(()=>{const U=P.current,Z=()=>{x&&(g?u.raise(s.id):e.activePaneId!==s.id&&t.onFocusPane(s.id))};return U.addEventListener("focus",Z,!0),()=>{U.removeEventListener("focus",Z,!0)}},[x,g,u,s.id,e.activePaneId,t]);const O=g&&u.preview?.paneId===s.id?u.preview.rect:void 0,B=g?O??Ai(s):void 0,z=O===void 0?e.floats.indexOf(s.id)+1:e.floats.length+1;return c.jsx("div",{className:xe(Me.tabCell,g&&Me.floatingCell),hidden:!w,"data-dockkit-host":g?"float":"dock","data-dockkit-column":g?void 0:l,style:{gridColumn:g?1:l*2+1,gridRow:1,order:g?z:0},children:c.jsxs("section",{ref:I,tabIndex:-1,className:xe(Me.tabHost,g?Me.float:Me.pane),"aria-hidden":!x||void 0,"data-dockkit-content":r.id,"data-dockkit-pane":!g&&w?s.id:void 0,"data-dockkit-pane-active":!g&&e.activePaneId===s.id||void 0,"data-dockkit-float":g?s.id:void 0,"data-dockkit-float-active":g&&e.activePaneId===s.id||void 0,"data-dockkit-column":g?void 0:l,style:B===void 0?void 0:{left:B.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${B.y}px)`,width:B.width,height:B.height},onPointerDown:()=>{g&&u.raise(s.id)},onClick:()=>{!g&&e.activePaneId!==s.id&&t.onFocusPane(s.id)},children:[c.jsx("div",{className:Me.tabHostHeader,children:w&&(g?c.jsx(eg,{paneId:s.id,tab:r,labels:t.labels,intents:n,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:u.drag}):c.jsx(Km,{state:e,pane:s,callbacks:t}))}),c.jsxs("div",{ref:P,className:xe(Me.tabHostBody,g?Me.floatBody:Me.paneBody),children:[b&&(y||m&&w)?t.renderTab(r):null,!g&&c.jsx(Ym,{pane:s,callbacks:t})]}),g&&c.jsx("div",{className:Me.floatResize,"data-dockkit-float-resize":s.id,onPointerDown:U=>{u.drag("resize",s.id,U)}})]})})}function TB(e){const{state:t,callbacks:n,preview:r}=e,s=S.useRef(),l={...n,onFocusTab:w=>{s.current=Vn(t,w).activeTabId===w?void 0:{tabId:w,origin:document.activeElement},n.onFocusTab(w)}},u=yr(t,t.rootId);if(u.kind==="split"&&(u.axis!=="row"||u.children.length!==2))throw new Error("DockLayout requires one pane or two horizontally split panes");const d=u.kind==="pane"?[u]:u.children.map(w=>tt(t,w)),p=u.kind==="split"?r?.splitId===u.id?r.sizes:u.sizes:[1],m=Qm(t,e.intents),g=p.map(w=>`minmax(0, ${w}fr)`).join(" 0px ");return c.jsxs("div",{className:Me.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:g},children:[Object.values(t.tabs).sort((w,x)=>w.id.localeCompare(x.id)).map(w=>{const x=Vn(t,w.id);return c.jsx(OB,{...e,callbacks:l,tab:w,pane:x,column:d.findIndex(y=>y.id===x.id),floats:m,focusRequest:s},w.id)}),d.filter(w=>w.tabs.length===0).map(w=>c.jsx("div",{className:Me.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:d.indexOf(w)*2+1,gridRow:1},children:c.jsx(Jm,{state:t,pane:w,callbacks:n})},w.id)),u.kind==="split"&&c.jsx("div",{className:xe(Me.divider,Me.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:w=>{n.onDividerPressed(u.id,0,w)}})]})}const Ua={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},LB=new Map,D6=()=>!0;function F6(e,t,n,r,s,l){for(const[u,d]of Um(e)){const p=d.getBoundingClientRect();if(!kl(p,t,n))continue;const m=d.querySelector("[data-dockkit-strip]");if(m!==null&&kl(m.getBoundingClientRect(),t,n)){const w=[...m.querySelectorAll("[data-dockkit-tab]")];return{kind:"strip",paneId:u,index:km(w.map(x=>x.getBoundingClientRect()),t)}}const g=l==="horizontal"?r&&g0(s,u).row?t<p.x+p.width/2?"left":"right":"center":Cm(p,t,n);if(g!=="center"){const w=g0(s,u),x=g==="left"||g==="right"?w.row:w.column;if(!r||!x)return}return{kind:"zone",paneId:u,zone:g}}}function $6(e,t,n,r){const s=(e.axis==="row"?t:n)-e.origin,l=e.extent>0?s/e.extent:0;return L2(jm(e.sizes,e.index,l),r)}const NB=1e-9;function PB(e,t){return e.length===t.length&&e.every((n,r)=>{const s=t[r];return s!==void 0&&Math.abs(n-s)<NB})}function tg({state:e,canSplit:t,canAddTab:n,canCloseTab:r,intents:s,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chrome:m,onRoom:g,draw:w,dropZones:x="edges",minPaneFraction:y=O2,hideSplitWhenBlocked:b=!1}){const j=S.useRef(null),[I,P]=S.useState(Ua),[O,B]=S.useState(LB),z=qm(()=>{P(Ua)}),U=S.useCallback(G=>{const k=j.current;k!==null&&G(k)},[]),Z=S.useCallback(()=>{U(G=>{const k=CV(G,b);B(Y=>kV(Y,k)?Y:k)})},[U,b]);S.useLayoutEffect(()=>{Z()}),S.useEffect(()=>{g?.(O)},[O,g]),S.useEffect(()=>{const G=j.current;if(G===null||typeof ResizeObserver>"u")return;const k=new ResizeObserver(()=>{Z()});return k.observe(G),()=>{k.disconnect()}},[Z]);const ee=G=>t?g0(O,G).row?void 0:"width":"budget",q={onFocusTab:s.focusTab.bind(s),onFocusPane:s.focusPane.bind(s),onSplitPane:s.splitPane.bind(s),onAddTab:s.addTab.bind(s),onCloseTab:s.closeTab.bind(s),onTabPressed:(G,k)=>{U(Y=>{const V=k.clientX,K=k.clientY;let X=!1;z(k.currentTarget,k.pointerId,{move:we=>{if(!X){if(!Em(V,K,we.clientX,we.clientY))return;X=!0}P({...Ua,draggingTabId:G,dropTarget:F6(Y,we.clientX,we.clientY,t,O,x)})},up:we=>{if(!X)return;const fe=F6(Y,we.clientX,we.clientY,t,O,x);if(fe===void 0){if(kl(Y.getBoundingClientRect(),we.clientX,we.clientY))return;s.floatTab(G,Om(we.clientX,we.clientY,Cl));return}fe.kind==="strip"?s.placeTab(G,fe.paneId,fe.index):s.dropTab(G,fe.paneId,fe.zone)}})})},onDividerPressed:(G,k,Y)=>{const V=Y.currentTarget.parentElement;if(V===null)return;const K=Ql(e,G),X=V.getBoundingClientRect(),we={index:k,axis:K.axis,origin:K.axis==="row"?Y.clientX:Y.clientY,extent:K.axis==="row"?X.width:X.height,sizes:K.sizes};z(Y.currentTarget,Y.pointerId,{move:fe=>{P({...Ua,sizes:{splitId:G,sizes:$6(we,fe.clientX,fe.clientY,y)}})},up:fe=>{const Se=$6(we,fe.clientX,fe.clientY,y);PB(Se,we.sizes)||s.resizeSplit(G,Se)}})},splitBlock:ee,hideSplitWhenBlocked:b,canAddTab:n??D6,canCloseTab:r??D6,dropTarget:I.dropTarget,horizontalDrops:x==="horizontal",draggingTabId:I.draggingTabId,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chromePaneId:cm(e),chrome:m};return c.jsx("div",{className:Me.surface,ref:j,"data-dockkit-surface":!0,"data-dockkit-drop-zones":x,children:w(q,I.sizes)})}function zB(e){return c.jsx(tg,{...e,draw:(t,n)=>c.jsx(Xm,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:n})})}function AB(e){return c.jsx(tg,{...e,draw:(t,n)=>c.jsx(TB,{...e,callbacks:t,preview:n})})}const RB=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:T2,DOCK_ZONES:pV,DRAG_THRESHOLD:p0,DockController:vV,DockLayout:AB,DockSurface:zB,EMPTY_HISTORY:dm,FLOAT_DEFAULT_SIZE:Cl,FLOAT_MIN_SIZE:xm,FloatLayer:MB,MAX_DOCK_PANES:wm,MIN_PANE_FRACTION:O2,SPLIT_MINIMUMS:No,Sequencer:vm,activeDockPaneId:Di,applyOp:Ri,canSplit:nc,canStepBack:I2,canStepForward:M2,clampSizes:L2,containsPoint:kl,createIdMinter:Zm,createInitialState:Wm,dividerSizes:jm,dockPaneCount:ym,dockPaneIds:tc,findContentTab:Lm,findPaneContentTab:Tm,findParent:ec,findTabPane:Vn,floatRectAt:Om,getNode:yr,getPane:tt,getSplit:Ql,getTab:zo,halvesFit:Sm,insertionIndex:km,isFocusOp:fm,movedRect:Im,passedThreshold:Em,planAddTab:Am,planDropTab:$m,planDuplicateTab:Dm,planFloatTab:Hm,planOpenContent:Rm,planPlaceTab:Fm,planResizeSplit:Bm,planSetExpanded:Nm,planSetMode:Pm,planSettle:gV,planSplitPane:zm,planUnfloatPane:Vm,record:pm,recordedOps:hm,replay:fV,resizedRect:Mm,stepBack:mm,stepForward:gm,topRightPaneId:cm,zoneAt:_m,zoneInRect:Cm,zoneSplit:bm},Symbol.toStringTag,{value:"Module"}));function DB(){return{react:pE,"react/jsx-runtime":zj,"react-dom":$j,"react-dom/client":Bj,"@deepseek-ai/cordis":kw,"@deepseek-ai/dsh-client-store":kj,"@deepseek-ai/dsh-client-ui-slots":Kj,"@deepseek-ai/dsh-client-ui-primitives":qH,"@deepseek-ai/dsh-client-ui-dockkit":RB}}const FB="data-window-drag",el="data-window-drag-recall",Co=`[${FB}]`,$B=2,H6=["transitionstart","transitionend","animationstart","animationend"];function HB(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const n=e.scheduleFrame??ZB,r=e.watchBox??WB;let s=new Map;const l=new Map;let u=!1,d=!1,p,m=0;const g=()=>{t.body.removeAttribute(el);const P=Array.from(t.querySelectorAll(Co));y(P);const O=new Map(P.map(z=>[z,VB(z)])),B=P.length!==s.size||P.some(z=>s.get(z)!==O.get(z));if(s=O,B){t.body.setAttribute(el,""),m=0,x();return}m!==0&&(m-=1,x())},w=()=>{m=$B,x()},x=()=>{u||(u=!0,p=n(()=>{u=!1,p=void 0,!d&&g()}))},y=P=>{for(const[O,B]of l)P.includes(O)||(B(),l.delete(O));for(const O of P)l.has(O)||l.set(O,r(O,w))},b=P=>P instanceof Element?P.closest(Co)!==null||P.querySelector(Co)!==null:!1,j=P=>{b(P.target)&&w()},I=new MutationObserver(P=>{P.some(O=>BB(O,s.keys()))&&w()});I.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const P of H6)t.addEventListener(P,j,!0);return w(),()=>{d=!0,I.disconnect();for(const P of H6)t.removeEventListener(P,j,!0);p!==void 0&&p();for(const P of l.values())P();l.clear(),s.clear(),t.body.removeAttribute(el)}}function VB(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function BB(e,t){if(e.attributeName===el)return!1;for(const r of[...e.addedNodes,...e.removedNodes])if(r instanceof Element&&(r.matches(Co)||r.querySelector(Co)!==null))return!0;const n=e.target instanceof Element?e.target:e.target.parentElement;if(n===null)return!1;if(e.type==="childList"){for(const r of t)if(n.contains(r))return!0;return!1}return n.closest(Co)!==null||n.querySelector(Co)!==null}function ZB(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function WB(e,t){if(typeof ResizeObserver!="function")return()=>{};const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}}function UB(e){const t=e?.location?.search;return typeof t!="string"||t.length===0?!1:new URLSearchParams(t).get("extensions")?.toLowerCase()==="off"}class qB{container;seams;page;pwaInstall;ctx;stopDragRecall;nativeExtensions;disposed=!1;modules;manifest;constructor(t,n){this.container=t,this.seams=n;const r=t.ownerDocument.defaultView;r!==null&&!("dshDesktop"in r)&&!("dshDesktopBoot"in r)&&/^https?:$/u.test(r.location.protocol)&&(this.pwaInstall=new Ej(r)),Ij(),Oj(),this.page=new tj(t)}async run(t){try{await globalThis.__DSH_BOOT_READY__?.promise;const n=globalThis,r=n.__ModuleLoader__;if(r===void 0)throw new Error("web boot: window.__ModuleLoader__ bootstrap facade is missing");const s=globalThis.__DSH_TRANSPORT__;this.modules=r.create({boot:n.__DSH_BOOT__,staticModules:DB(),...s?.loadBundle===void 0?{}:{loadBundle:s.loadBundle},...this.seams}),this.manifest=this.modules.manifest;const l=this.container.ownerDocument.defaultView,u=UB(l),{core:d,external:p}=ZE(this.manifest),m=this.prefetchImmediateTier(d),g=new ot;if(this.ctx=g,this.pwaInstall!==void 0&&g.provide("pwaInstall",this.pwaInstall),this.page.setTotal(d.plugins.length),await m,await WE({ctx:g,modules:this.modules,manifest:d,onEntryState:(w,x)=>{(t===void 0||x!=="failed")&&this.page.setState(w,x)}}),this.stopDragRecall=HB({document:this.container.ownerDocument}),await Tj(g,this.container),this.disposed||u)return;p.length>0&&n.__DSH_BOOT__!==void 0&&this.loadExternalDshExtensions(n.__DSH_BOOT__,p.map(w=>w.id)),this.nativeExtensions=NE({ctx:g,document:this.container.ownerDocument})}catch(n){console.error(n),t!==void 0?t(n):this.page.fail(n instanceof Error?n.message:String(n))}}async dispose(){this.disposed=!0,this.nativeExtensions?.dispose(),this.nativeExtensions=void 0,this.pwaInstall?.dispose(),this.stopDragRecall?.(),this.stopDragRecall=void 0;const t=this.ctx;this.ctx=void 0,t!==void 0&&await t.fiber.dispose(),this.page.dispose()}async prefetchImmediateTier(t){await Promise.all(t.plugins.filter(n=>n.immediately).map(n=>this.modules.prefetch(n.id).catch(r=>{})))}loadExternalDshExtensions(t,n){if(this.modules.manifest.rev!==this.manifest.rev)return;const r=new Set(n);this.modules.entries.sync(t).then(()=>{if(this.disposed)return;const s=this.modules.entries.state.getSnapshot().failures.filter(l=>r.has(l.id));for(const l of s)console.warn(`[web-boot] external DSH extension "${l.id}" failed to load; continuing with built-in UI: ${l.message}`)}).catch(s=>{this.disposed||console.warn("[web-boot] external DSH extension loading failed; continuing with built-in UI",s)})}}function GB(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function KB(e,t){for(const n of e)switch(n.kind){case"global":globalThis[n.name]=n.value;break;case"script":{const r=document.createElement("script");r.textContent=n.text,(n.placement==="head"?document.head:document.body).append(r);break}case"script-src":await t(n.src);break;case"script-preload":break;case"style":{const r=document.createElement("style");r.textContent=n.text,document.head.append(r);break}case"html":(n.placement==="head"?document.head:document.body).insertAdjacentHTML("beforeend",n.html);break;default:GB(n)}}const Ws=globalThis.dshDesktopBoot,V6=e=>{if(Ws===void 0)throw e;Ws.failed(e instanceof Error?e.message:String(e)).catch(console.error)};try{const e=document.getElementById("root");if(e===null)throw new Error("web app: missing #root");const t=new qB(e);if(Ws!==void 0){const n=globalThis.__DSH_BOOT_READY__;if(n===void 0)throw new Error("desktop web: boot readiness is missing");Ws.ready().then(async({injections:r,streamBaseUrl:s})=>{const l=globalThis;l.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:s},await KB(r,u=>new Promise((d,p)=>{const m=document.createElement("script");m.src=u,m.onload=()=>{d()},m.onerror=()=>{p(new Error(`desktop web: failed to load ${u}`))},document.head.append(m)})),n.resolve()}).catch(r=>{n.reject(r)})}t.run(Ws===void 0?void 0:V6)}catch(e){V6(e)}
|
|
201
|
+
`).trim()}function GH(e,t={}){const{mode:n="all"}=t,r=$9(e),s=qH(r);switch(n){case"all":return s;case"first-line":return s.split(`
|
|
202
|
+
`).find(l=>l!=="")??"";case"first-paragraph":return sm(r)??s.split(`
|
|
203
|
+
`).find(l=>l!=="")??""}}const Ql=()=>`dsh_plugin_art_${S.useId().replaceAll(":","")}`,KH=({size:e=36,className:t})=>c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10 11L16.606 17.606C16.6841 17.6841 16.6841 17.8107 16.606 17.8888L10 24.4948",stroke:"#679EFE",strokeWidth:"3.5"}),c.jsx("path",{d:"M20.1211 24.4946H26.8685",stroke:"#679EFE",strokeWidth:"3.5"})]}),YH=({size:e=36,className:t})=>{const n=Ql();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M18.0486 28.4901C12.0858 28.4901 7.25195 23.6562 7.25195 17.6934C13.2148 17.6934 18.0486 22.5272 18.0486 28.4901Z",fill:"#A797FC"}),c.jsx("path",{d:"M18.0486 6.89667C12.0858 6.89667 7.25195 11.7305 7.25195 17.6934C13.2148 17.6934 18.0486 12.8595 18.0486 6.89667Z",fill:`url(#${n}a)`}),c.jsx("path",{d:"M18.0485 28.4901C24.0114 28.4901 28.8452 23.6562 28.8452 17.6934C22.8824 17.6934 18.0485 22.5272 18.0485 28.4901Z",fill:"#4561EE"}),c.jsx("path",{d:"M18.0485 6.89667C24.0114 6.89667 28.8452 11.7305 28.8452 17.6934C22.8824 17.6934 18.0485 12.8595 18.0485 6.89667Z",fill:"#658EFF"}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"16.7911",y1:"16.1655",x2:"8.98192",y2:"8.74289",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#A23AE7"}),c.jsx("stop",{offset:"1",stopColor:"#E2E2E2"})]})})]})},JH=({size:e=36,className:t})=>{const n=Ql();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("rect",{x:"14.9893",y:"15.1877",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}a)`,fillOpacity:"0.8"}),c.jsx("rect",{x:"8.87109",y:"9.0697",width:"12.2365",height:"12.2365",rx:"2",fill:`url(#${n}b)`,fillOpacity:"0.8"}),c.jsxs("defs",{children:[c.jsxs("linearGradient",{id:`${n}a`,x1:"21.1075",y1:"15.1877",x2:"21.1075",y2:"27.4243",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#45E7A4"}),c.jsx("stop",{offset:"1",stopColor:"#05909D"})]}),c.jsxs("linearGradient",{id:`${n}b`,x1:"14.9894",y1:"9.0697",x2:"14.9894",y2:"21.3063",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#69B9FF"}),c.jsx("stop",{offset:"1",stopColor:"#324DE2"})]})]})]})},XH=({size:e=36,className:t})=>{const n=Ql();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M26.5362 26.9865L22.3813 22.8317",stroke:"#658EFF",strokeWidth:"3"}),c.jsx("g",{clipPath:`url(#${n}ring)`,children:c.jsx("g",{transform:"matrix(0.0119394 -0.00173904 0.00173904 0.0119394 15.7661 16.2159)",children:c.jsx("foreignObject",{x:"-958.94",y:"-958.94",width:"1917.88",height:"1917.88",children:c.jsx("div",{style:{background:"conic-gradient(from 90deg, rgb(65, 225, 172) 0deg, rgb(101, 142, 255) 62.0619deg, rgb(65, 225, 172) 360deg)",height:"100%",width:"100%"}})})})}),c.jsx("defs",{children:c.jsx("clipPath",{id:`${n}ring`,children:c.jsx("path",{d:"M21.9717 16.2159H19.9717C19.9717 18.5386 18.0888 20.4215 15.7661 20.4215V22.4215V24.4215C20.2979 24.4215 23.9717 20.7478 23.9717 16.2159H21.9717ZM15.7661 22.4215V20.4215C13.4434 20.4215 11.5605 18.5386 11.5605 16.2159H9.56055H7.56055C7.56055 20.7478 11.2343 24.4215 15.7661 24.4215V22.4215ZM9.56055 16.2159H11.5605C11.5605 13.8933 13.4434 12.0104 15.7661 12.0104V10.0104V8.01038C11.2343 8.01038 7.56055 11.6841 7.56055 16.2159H9.56055ZM15.7661 10.0104V12.0104C18.0888 12.0104 19.9717 13.8933 19.9717 16.2159H21.9717H23.9717C23.9717 11.6841 20.2979 8.01038 15.7661 8.01038V10.0104Z"})})})]})},QH=({size:e=36,className:t})=>{const n=Ql();return c.jsxs("svg",{width:e,height:e,className:t,viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M24.6294 8.63696C26.2862 8.63705 27.6294 9.98016 27.6294 11.637V12.7825C27.6292 14.4391 26.2861 15.7824 24.6294 15.7825H23.4839C22.6519 15.7825 21.5454 16.3459 21.5454 17.1778V18.1573C21.5454 18.7757 22.216 19.1966 22.8345 19.1965H24.6294C26.2861 19.1965 27.6292 20.5398 27.6294 22.1965V23.9924C27.6292 25.6491 26.2861 26.9924 24.6294 26.9924H22.8345C21.1778 26.9924 19.8347 25.649 19.8345 23.9924V22.1965C19.8345 21.7148 19.4957 21.2327 19.014 21.2327H16.4792C15.7975 21.2327 15.3374 22.0061 15.3374 22.6877V23.8333C15.3373 25.49 13.9942 26.8333 12.3374 26.8333H11.1919C9.53509 26.8333 8.19198 25.49 8.19189 23.8333V22.6877C8.19189 21.0309 9.53504 19.6877 11.1919 19.6877H12.3374C13.1964 19.6877 14.3999 19.0959 14.3999 18.2369V16.0185C14.3999 14.9518 15.2646 14.0872 16.3312 14.0872H19.435C20.0596 14.0872 20.484 13.4071 20.4839 12.7825V11.637C20.4839 9.98011 21.827 8.63696 23.4839 8.63696H24.6294ZM13.4116 11.2468C13.4116 12.6882 12.2431 13.8567 10.8018 13.8567C9.36037 13.8567 8.19189 12.6882 8.19189 11.2468C8.19189 9.80544 9.36037 8.63696 10.8018 8.63696C12.2431 8.63696 13.4116 9.80544 13.4116 11.2468Z",fill:`url(#${n}a)`}),c.jsx("defs",{children:c.jsxs("linearGradient",{id:`${n}a`,x1:"15.1481",y1:"9.94188",x2:"15.1481",y2:"13.6375",gradientUnits:"userSpaceOnUse",children:[c.jsx("stop",{stopColor:"#54ECE7"}),c.jsx("stop",{offset:"1",stopColor:"#658EFF"})]})})]})};function eV({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M17.9995 28.1465C23.6034 28.1465 28.1461 23.6038 28.1461 18C28.1461 12.3963 23.6034 7.85352 17.9995 7.85352C12.3958 7.85352 7.85303 12.3963 7.85303 18C7.85303 23.6038 12.3958 28.1465 17.9995 28.1465Z",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M8.57764 18H27.4211",stroke:"#539CFA",strokeWidth:"2",strokeLinecap:"square"}),c.jsx("path",{d:"M17.999 28.1467C20.0576 28.1467 21.6228 23.6039 21.6228 18C21.6228 12.3963 20.0576 7.85352 17.999 7.85352",stroke:"#539CFA",strokeWidth:"2"}),c.jsx("path",{d:"M17.9992 28.1467C15.9407 28.1467 14.3755 23.6039 14.3755 18C14.3755 12.3963 15.9407 7.85352 17.9992 7.85352",stroke:"#539CFA",strokeWidth:"2"})]})}function tV({size:e=36,className:t}){return c.jsxs("svg",{width:e,height:e,className:t,"aria-hidden":"true",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M10.7603 27.922H24.6817C26.3441 27.922 27.1753 27.922 27.8102 27.5984C28.3687 27.3139 28.8228 26.8598 29.1074 26.3012C29.4309 25.6663 29.4309 24.8351 29.4309 23.1727V15.4936",stroke:"#FFCD78",strokeWidth:"1.97886"}),c.jsx("path",{d:"M13.1597 8.07812C13.4182 8.07818 13.6727 8.14336 13.8989 8.26855L16.7554 9.84961C16.9817 9.97485 17.2369 10.041 17.4956 10.041H26.106C26.9492 10.0412 27.6323 10.7251 27.6323 11.5684V24.5371C27.6323 25.3805 26.9483 26.0645 26.105 26.0645H8.09619C7.25281 26.0645 6.56884 25.3805 6.56885 24.5371V9.60449C6.56909 8.76133 7.25297 8.07812 8.09619 8.07812H13.1597ZM9.81592 14.5508V16.5293H24.3999V14.5508H9.81592Z",fill:"#FFBC4D"})]})}const nV=Object.freeze(Object.defineProperty({__proto__:null,BrandWordmark:GN,Button:o0,CODE_HIGHLIGHT_EXTENSIONS:PR,Checkbox:CL,CodeBlock:H9,ConnectionIndicator:UN,DEFAULT_DIFF_MAX_LINES:O9,DEFAULT_READ_MAX_LINES:M9,DEFAULT_SEARCH_MAX_LINES:L9,DEFAULT_TERMINAL_MAX_LINES:S9,DiffBlock:UF,DisclosureRow:AT,FISH_LOGO_PATH:s9,FISH_LOGO_VIEWBOX:Hs,FileTypeIcon:zz,FishLogo:qN,GuideArtworkBrowser:eV,GuideArtworkFiles:tV,HoverCard:n9,ICON_MEDIUM_STROKE:ae,ICON_REGULAR_STROKE:se,IconAgentPresetOutlineMedium:rM,IconAgentPresetOutlineRegular:nM,IconAlarmClockOutlineMedium:DO,IconAlarmClockOutlineRegular:RO,IconApiOutlineMedium:WM,IconApiOutlineRegular:ZM,IconArchiveCheckOutlineMedium:pT,IconArchiveCheckOutlineRegular:hT,IconArchiveOffOutlineMedium:fT,IconArchiveOffOutlineRegular:dT,IconArchiveOutlineMedium:$O,IconArchiveOutlineRegular:FO,IconBellOutlineRegular:CT,IconBranchOutlineMedium:EI,IconBranchOutlineRegular:SI,IconBrowseOutlineMedium:iM,IconBrowseOutlineRegular:oM,IconCheckCircleFillMedium:wM,IconCheckCircleFillRegular:vM,IconCheckCircleOutlineMedium:XO,IconCheckCircleOutlineRegular:zp,IconCheckOutlineMedium:kI,IconCheckOutlineRegular:zi,IconChecklistOutlineMedium:bO,IconChecklistOutlineRegular:_O,IconChevronDownOutlineMedium:jI,IconChevronDownOutlineRegular:a7,IconChevronLeftOutlineMedium:II,IconChevronLeftOutlineRegular:c7,IconChevronRightOutlineMedium:OI,IconChevronRightOutlineRegular:MI,IconChevronUpOutlineMedium:PI,IconChevronUpOutlineRegular:h7,IconChevronsUpDownOutlineMedium:uT,IconChevronsUpDownOutlineRegular:cT,IconClockOutlineMedium:pO,IconClockOutlineRegular:hO,IconCloseCircleFillMedium:RI,IconCloseCircleFillRegular:AI,IconCloseFillMedium:zI,IconCloseFillRegular:r2,IconCloseOutlineMedium:NI,IconCloseOutlineRegular:Kl,IconCodeOutlineMedium:HM,IconCodeOutlineRegular:$M,IconCompactOutlineMedium:KO,IconCompactOutlineRegular:GO,IconCompareSplitOutlineMedium:WO,IconCompareSplitOutlineRegular:ZO,IconContextInjectionOutlineMedium:aM,IconContextInjectionOutlineRegular:sM,IconCopyOutlineMedium:DI,IconCopyOutlineRegular:o2,IconCordisPluginOutlineMedium:BM,IconCordisPluginOutlineRegular:VM,IconDarkOutlineMedium:aO,IconDarkOutlineRegular:sO,IconDataOutlineMedium:uO,IconDataOutlineRegular:ap,IconDatabaseOutlineMedium:fO,IconDatabaseOutlineRegular:dO,IconDeliverDocMedium:JI,IconDeliverDocRegular:YI,IconDislikeFillMedium:qI,IconDislikeFillRegular:UI,IconDislikeOutlineMedium:WI,IconDislikeOutlineRegular:ZI,IconDownloadOutlineMedium:PM,IconDownloadOutlineRegular:LM,IconEditOutlineMedium:QI,IconEditOutlineRegular:XI,IconEllipsisOutlineMedium:bI,IconEllipsisOutlineRegular:_I,IconEnhanceOutlineMedium:hM,IconEnhanceOutlineRegular:fM,IconFileDiffOutlineRegular:bT,IconFlatListOutlineMedium:sT,IconFlatListOutlineRegular:iT,IconFolderCloseMedium:tO,IconFolderCloseRegular:eO,IconFolderOpenMedium:QM,IconFolderOpenOutlineMedium:JM,IconFolderOpenOutlineRegular:YM,IconFolderOpenRegular:XM,IconFollowsystemOutlineMedium:cO,IconFollowsystemOutlineRegular:lO,IconFullscreenOutlineMedium:FM,IconFullscreenOutlineRegular:DM,IconGaugeOutlineMedium:gO,IconGaugeOutlineRegular:mO,IconGlobeOutlineMedium:vI,IconGlobeOutlineRegular:gI,IconGoalOutlineMedium:EO,IconGoalOutlineRegular:SO,IconInfoOutlineMedium:NO,IconInfoOutlineRegular:yp,IconInspectOutlineMedium:OO,IconInspectOutlineRegular:MO,IconLightOutlineMedium:iO,IconLightOutlineRegular:oO,IconLikeFillMedium:BI,IconLikeFillRegular:VI,IconLikeOutlineMedium:HI,IconLikeOutlineRegular:$I,IconLinkOutlineMedium:cM,IconLinkOutlineRegular:lM,IconListPenOutlineMedium:kO,IconListPenOutlineRegular:CO,IconLoadingOutlineMedium:TM,IconLoadingOutlineRegular:Z7,IconMicrophoneOutlineMedium:wT,IconMicrophoneOutlineRegular:vT,IconNewChatOutlineMedium:hI,IconNewChatOutlineRegular:fI,IconNowrapFillMedium:VO,IconNowrapFillRegular:jp,IconPanelLeftOutlineMedium:yI,IconPanelLeftOutlineRegular:e7,IconPaperPlaneOutlineMedium:EM,IconPaperPlaneOutlineRegular:SM,IconPaperclipOutlineMedium:OM,IconPaperclipOutlineRegular:MM,IconPauseOutlineMedium:RM,IconPauseOutlineRegular:AM,IconPersonalizationOutlineMedium:qM,IconPersonalizationOutlineRegular:UM,IconPinFillMedium:oT,IconPinFillRegular:rT,IconPinOutlineMedium:nT,IconPinOutlineRegular:tT,IconPlanOutlineMedium:qO,IconPlanOutlineRegular:UO,IconPlayOutlineMedium:zM,IconPlayOutlineRegular:NM,IconPluginPinwheelOutlineMedium:AO,IconPluginPinwheelOutlineRegular:zO,IconPlusOutlineMedium:CI,IconPlusOutlineRegular:r7,IconProjectAddOutlineMedium:KM,IconProjectAddOutlineRegular:GM,IconQuestionOutlineMedium:PO,IconQuestionOutlineRegular:LO,IconQueueOutlineMedium:yO,IconQueueOutlineRegular:xO,IconRefreshOutlineMedium:FI,IconRefreshOutlineRegular:x7,IconRightUpOutlineMedium:dM,IconRightUpOutlineRegular:uM,IconSearchOutlineMedium:mI,IconSearchOutlineRegular:pI,IconSendOutlineMedium:wO,IconSendOutlineRegular:vO,IconSettingsOutlineMedium:xI,IconSettingsOutlineRegular:wI,IconShareOutlineMedium:KI,IconShareOutlineRegular:GI,IconShieldOutlineMedium:JO,IconShieldOutlineRegular:YO,IconSkillOutlineMedium:TO,IconSkillOutlineRegular:vp,IconSlidersTwoOutlineMedium:gT,IconSlidersTwoOutlineRegular:mT,IconSparkleMedium:IO,IconSparkleRegular:jO,IconStopFillMedium:IM,IconStopFillRegular:jM,IconThinkOutlineMedium:tM,IconThinkOutlineRegular:eM,IconTrashOutlineMedium:mM,IconTrashOutlineRegular:pM,IconTreeCornerMedium:rO,IconTreeCornerRegular:nO,IconTriangleRightFillMedium:LI,IconTriangleRightFillRegular:TI,IconUnarchiveOutlineMedium:eT,IconUnarchiveOutlineRegular:QO,IconUserOutlineMedium:bM,IconUserOutlineRegular:_M,IconUsersOutlineMedium:kM,IconUsersOutlineRegular:CM,IconWarningOutlineMedium:gM,IconWarningOutlineRegular:z7,IconWarningTriangleOutlineMedium:yM,IconWarningTriangleOutlineRegular:xM,IconWorkspaceTreeOutlineMedium:lT,IconWorkspaceTreeOutlineRegular:aT,IconWrapFillMedium:BO,IconWrapFillRegular:Mp,IconWrapLinesOutlineMedium:HO,IconWrapLinesOutlineRegular:Sp,ImageLightbox:G9,InlineEditor:OL,Input:jL,JsonBlock:UH,JsonTree:SD,LinkIconMedium:w1,LinkIconRegular:vA,MarkdownAnchor:y2,MarkdownDelegateProvider:K$,MarkdownText:om,Menu:e9,MenuGroup:AP,MenuItemButton:TP,MenuSurface:vl,Modal:i9,PathLabel:fL,PermissionIconFullAccessMedium:ez,PermissionIconFullAccessRegular:QN,PermissionIconReadOnlyMedium:YN,PermissionIconReadOnlyRegular:KN,PermissionIconWorkspaceWriteMedium:XN,PermissionIconWorkspaceWriteRegular:JN,PhoneSidebarProvider:nP,Pill:a2,PluginArtworkDefault:QH,PluginArtworkLoop:YH,PluginArtworkSearch:XH,PluginArtworkSubagent:JH,PluginArtworkTerminal:KH,ReadBlock:SF,ReferenceIconMedium:tz,ReferenceIconRegular:d9,RemotePluginIcon:qp,ResponseAnnotationCard:r9,ResponseAnnotationChip:vN,ResponseAnnotationLabel:o9,ResponseAnnotationPopover:h2,RiskConfirmation:zN,SHIELD_OUTLINE_PATH:Y8,SearchBlock:c$,SegmentedControl:yL,SegmentedTabs:oL,SettingsForm:tR,SettingsFormModel:vR,SettingsSecretField:pR,SettingsValueField:hR,ShortcutKeys:a1,StateDot:s2,Switch:pL,Tag:l2,TerminalBlock:sF,TextShimmer:r0,Toast:WA,Tooltip:Gr,WebBlock:VH,classifyFileType:Jl,classifyLinkPath:wl,closeTopModal:BL,diffTotals:BF,extractMarkdownPlainText:GH,fileExtension:p2,fileSizeText:GA,focusWithoutRing:Oi,isBehindModal:Jp,isDarwinDesktop:FR,isMobileDevice:Yp,languageForPath:c0,modalSelector:u2,observeComposition:Yl,observeStickyMenuGroups:RP,pointerModality:t9,preferenceRowStyles:eL,projectUserText:RA,rankByName:DR,relativeTime:AR,settingsNumberField:mR,settingsTextField:gR,shouldAutoFocusTextInput:VL,useAnchoredMaxHeight:FP,useAnchoredPosition:$P,useCodeHighlighter:zR,useCopyFeedback:v1,useDismissOnOutsidePointer:f2,useMarkdownDelegate:x1,useModalLayer:d2,usePhoneSidebar:Ai,useSustainedRecovery:qA,writeClipboard:ql},Symbol.toStringTag,{value:"Module"}));function C2(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function yr(e,t){const n=e.nodes[t];if(n===void 0)throw new Error(`layout: unknown node ${t}`);return n}function tt(e,t){const n=yr(e,t);if(n.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return n}function ec(e,t){const n=yr(e,t);if(n.kind!=="split")throw new Error(`layout: ${t} is not a split`);return n}function Ao(e,t){const n=e.tabs[t];if(n===void 0)throw new Error(`layout: unknown tab ${t}`);return n}function Ri(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function k2(e,t){const n=e.floats.indexOf(t);if(n<0)throw new Error(`layout: floating pane ${t} is not in the z order`);return n}function am(e){const t=e.tabs[0];if(t===void 0||e.tabs.length!==1)throw new Error(`layout: ${e.id} does not hold exactly one tab`);return t}function tc(e,t){for(const n of Object.values(e.nodes))if(n.kind==="split"&&n.children.includes(t))return n}function Vn(e,t){for(const n of Object.values(e.nodes))if(n.kind==="pane"&&n.tabs.includes(t))return n;throw new Error(`layout: tab ${t} has no pane`)}function nc(e){const t=[],n=r=>{const s=yr(e,r);if(s.kind==="pane"){t.push(s.id);return}for(const l of s.children)n(l)};return n(e.rootId),t}function lm(e){const t=e.reduce((n,r)=>n+r,0);if(!(t>0))throw new Error("layout: sizes must sum above zero");return Math.abs(t-1)<1e-12?[...e]:e.map(n=>n/t)}function l1(e){return Object.entries(e)}function rV(e){return Object.keys(e)}function _t(e,t){const n={};for(const[r,s]of l1(e.nodes))r in t||(n[r]=s);for(const[r,s]of l1(t))s!==null&&(n[r]=s);return{...e,nodes:n}}function jo(e,t){const n={};for(const[r,s]of l1(e.tabs))r in t||(n[r]=s);for(const[r,s]of l1(t))s!==null&&(n[r]=s);return{...e,tabs:n}}function Kr(e,t,n){const r=Math.max(0,Math.min(t,e.length));return[...e.slice(0,r),n,...e.slice(r)]}function er(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function S2(e,t){const n=er(e,t);if(n.length!==0)return n[Math.max(0,t-1)]}function Po(e,t,n){return{...e,tabs:t,activeTabId:n}}function E2(e,t,n){const r=tc(e,t);if(r===void 0){if(e.rootId!==t)throw new Error(`layout: ${t} is neither rooted nor parented`);return{...e,rootId:n}}const s=r.children.map(l=>l===t?n:l);return _t(e,{[r.id]:{...r,children:s}})}function cm(e,t){let n=yr(e,e.rootId);for(;n.kind==="split";){const r=t(n);if(r===void 0)throw new Error(`layout: split ${n.id} has no children`);n=yr(e,r)}return n.id}function um(e){return cm(e,t=>t.children[0])}function dm(e){return cm(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function vn(e,t){const n={};for(const r of t)n[r]=tt(e,r).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:n}}function j2(e,t){return[...e.filter(n=>n!==t),t]}function el(e,t){return e.activePaneId!==t?e:{...e,activePaneId:um(e)}}function oV(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function bl(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function I2(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function iV(e,t){if(tt(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");bl(e,t.newPaneId);const r=oV(t.newPaneId),s=tc(e,t.paneId);if(s!==void 0&&s.axis===t.axis){const d=s.children.indexOf(t.paneId),p=t.direction==="after"?d+1:d,m=Kr(s.children,p,t.newPaneId),g=s.sizes.flatMap((w,x)=>x===d?[w/2,w/2]:[w]);return{state:_t(e,{[t.newPaneId]:r,[s.id]:{...s,children:m,sizes:g}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:s.id,sizes:s.sizes}]}}bl(e,t.newSplitId);const l=E2(e,t.paneId,t.newSplitId),u=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:_t(l,{[t.newPaneId]:r,[t.newSplitId]:{kind:"split",id:t.newSplitId,axis:t.axis,children:u,sizes:[.5,.5]}}),inverse:[{type:"merge",paneId:t.newPaneId}]}}function sV(e,t){const n=tt(e,t.paneId);if(n.tabs.length>0)throw new Error("layout: merge requires an empty pane");const r=vn(e,[]);if(n.host==="float"){const p=k2(e,t.paneId),m=_t({...e,floats:er(e.floats,p)},{[t.paneId]:null});return{state:el(m,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"float",index:p}},r]}}const s=tc(e,t.paneId);if(s===void 0)throw new Error("layout: the docked root pane cannot be merged");const l=s.children.indexOf(t.paneId);if(s.children.length>2){const p=er(s.children,l),m=lm(er(s.sizes,l)),g=_t(e,{[t.paneId]:null,[s.id]:{...s,children:p,sizes:m}});return{state:el(g,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"child",parentId:s.id,index:l,sizes:s.sizes}},r]}}const u=s.children[1-l];if(u===void 0)throw new Error("layout: merge found a split without a sibling");const d=_t(E2(e,s.id,u),{[t.paneId]:null,[s.id]:null});return{state:el(d,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"wrap",targetId:u,split:s}},r]}}function aV(e,t){const n=tt(e,t.paneId);if(n.host!=="dock")throw new Error("layout: openTab requires a docked pane");I2(e,t.tab.id);const r=vn(e,[n.id]);return{state:{..._t(jo(e,{[t.tab.id]:t.tab}),{[n.id]:Po(n,Kr(n.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:n.id},inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function lV(e,t){const n=tt(e,t.paneId);if(n.host!=="dock")throw new Error("layout: insertTab requires a docked pane");I2(e,t.tab.id);const r=vn(e,[n.id]),s=Kr(n.tabs,t.index,t.tab.id);return{state:_t(jo(e,{[t.tab.id]:t.tab}),{[n.id]:Po(n,s,n.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},r]}}function cV(e,t){const n=Ao(e,t.tabId),r=Vn(e,t.tabId),s=r.tabs.indexOf(t.tabId),l=vn(e,[r.id]);if(r.host==="float"){const d=k2(e,r.id),p=jo(_t({...e,floats:er(e.floats,d)},{[r.id]:null}),{[t.tabId]:null});return{state:el(p,r.id),inverse:[{type:"insertPane",pane:r,tabs:[n],attach:{mode:"float",index:d}},l]}}const u=r.activeTabId===t.tabId?S2(r.tabs,s):r.activeTabId;return{state:jo(_t(e,{[r.id]:Po(r,er(r.tabs,s),u)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:r.id,tab:n,index:s},l]}}function uV(e,t){if(bl(e,t.pane.id),t.pane.tabs.length!==t.tabs.length)throw new Error("layout: insertPane tab records do not match the pane");if(t.pane.host==="dock"&&t.tabs.length>0)throw new Error("layout: insertPane returns a docked pane empty");const n={};for(const u of t.tabs)I2(e,u.id),n[u.id]=u;const r=t.tabs[0],s=r===void 0?[{type:"merge",paneId:t.pane.id}]:[{type:"closeTab",tabId:r.id},vn(e,[])],l=t.attach;switch(l.mode){case"child":{const u=ec(e,l.parentId),d=Kr(u.children,l.index,t.pane.id);if(l.sizes.length!==d.length)throw new Error("layout: insertPane sizes do not match the split");return s.push({type:"resize",splitId:u.id,sizes:u.sizes}),{state:_t(jo(e,n),{[t.pane.id]:t.pane,[u.id]:{...u,children:d,sizes:l.sizes}}),inverse:s}}case"wrap":{if(!l.split.children.includes(t.pane.id))throw new Error("layout: insertPane wrap split does not list the pane");const u=E2(e,l.targetId,l.split.id);return{state:_t(jo(u,n),{[t.pane.id]:t.pane,[l.split.id]:l.split}),inverse:s}}case"float":{if(t.pane.host!=="float")throw new Error("layout: float attachment requires a floating pane");const u=Kr(e.floats,l.index,t.pane.id);return{state:_t(jo({...e,floats:u},n),{[t.pane.id]:t.pane}),inverse:s}}default:return C2(l,"layout: insertPane attachment")}}function dV(e,t){const n=Vn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const r=tt(e,t.toPaneId);if(r.host!=="dock")throw new Error("layout: moveTab target must be docked");if(r.id===n.id)throw new Error("layout: moveTab across one pane; use reorderTab");const s=n.tabs.indexOf(t.tabId),l=vn(e,[n.id,r.id]),u=n.activeTabId===t.tabId?S2(n.tabs,s):n.activeTabId;return{state:{..._t(e,{[n.id]:Po(n,er(n.tabs,s),u),[r.id]:Po(r,Kr(r.tabs,t.index,t.tabId),t.tabId)}),activePaneId:r.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:n.id,index:s},l]}}function fV(e,t){const n=Vn(e,t.tabId),r=n.tabs.indexOf(t.tabId),s=Kr(er(n.tabs,r),t.index,t.tabId);return{state:_t(e,{[n.id]:{...n,tabs:s}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:r}]}}function hV(e,t){const n=Vn(e,t.tabId),r=vn(e,[n.id]),s=_t(e,{[n.id]:{...n,activeTabId:t.tabId}}),l=n.host==="float"?j2(s.floats,n.id):s.floats;return{state:{...s,activePaneId:n.id,floats:l},inverse:[r]}}function pV(e,t){const n=tt(e,t.paneId),r=vn(e,[]),s=n.host==="float"?j2(e.floats,n.id):e.floats;return{state:{...e,activePaneId:n.id,floats:s},inverse:[r]}}function mV(e,t){const n=ec(e,t.splitId);if(t.sizes.length!==n.children.length)throw new Error("layout: resize sizes do not match the split");if(t.sizes.some(r=>!(r>0)))throw new Error("layout: resize sizes must all be above zero");return{state:_t(e,{[n.id]:{...n,sizes:lm(t.sizes)}}),inverse:[{type:"resize",splitId:n.id,sizes:n.sizes}]}}function gV(e,t){Ao(e,t.tabId);const n=Vn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: float requires a docked tab");bl(e,t.newPaneId);const r=n.tabs.indexOf(t.tabId),s=vn(e,[n.id]),l=n.activeTabId===t.tabId?S2(n.tabs,r):n.activeTabId,u=_t(e,{[n.id]:Po(n,er(n.tabs,r),l),[t.newPaneId]:{kind:"pane",id:t.newPaneId,host:"float",tabs:[t.tabId],activeTabId:t.tabId,rect:t.rect}});return{state:{...u,floats:[...u.floats,t.newPaneId],activePaneId:t.newPaneId},inverse:[{type:"unfloat",paneId:t.newPaneId,toPaneId:n.id,index:r},s]}}function vV(e,t){const n=tt(e,t.paneId),r=Ri(n),s=am(n),l=tt(e,t.toPaneId);if(l.host!=="dock")throw new Error("layout: unfloat target must be docked");const u=vn(e,[l.id]);return{state:{..._t({...e,floats:er(e.floats,k2(e,t.paneId))},{[t.paneId]:null,[l.id]:Po(l,Kr(l.tabs,t.index,s),s)}),activePaneId:l.id},inverse:[{type:"float",tabId:s,newPaneId:t.paneId,rect:r},u]}}function fm(e,t,n){const r=_t(e,{[t.id]:{...t,rect:n}});return{...r,activePaneId:t.id,floats:j2(r.floats,t.id)}}function wV(e,t){const n=tt(e,t.paneId),r=Ri(n);return{state:fm(e,n,{...r,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:r.x,y:r.y},vn(e,[])]}}function xV(e,t){const n=tt(e,t.paneId),r=Ri(n);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:fm(e,n,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:r},vn(e,[])]}}function yV(e,t){const n=vn(e,rV(t.paneActiveTabs));for(const s of t.floats)if(tt(e,s).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${s} as floating`);let r=e;for(const[s,l]of l1(t.paneActiveTabs)){const u=tt(r,s);r=_t(r,{[s]:{...u,activeTabId:l}})}return tt(r,t.activePaneId),{state:{...r,activePaneId:t.activePaneId,floats:t.floats},inverse:[n]}}function Di(e,t){switch(t.type){case"split":return iV(e,t);case"merge":return sV(e,t);case"openTab":return aV(e,t);case"insertTab":return lV(e,t);case"closeTab":return cV(e,t);case"insertPane":return uV(e,t);case"moveTab":return dV(e,t);case"reorderTab":return fV(e,t);case"focusTab":return hV(e,t);case"focusPane":return pV(e,t);case"resize":return mV(e,t);case"float":return gV(e,t);case"unfloat":return vV(e,t);case"moveFloat":return wV(e,t);case"resizeFloat":return xV(e,t);case"setExpanded":return{state:{...e,expanded:t.expanded},inverse:[{type:"setExpanded",expanded:e.expanded}]};case"setMode":return{state:{...e,mode:t.mode},inverse:[{type:"setMode",mode:e.mode}]};case"restoreFocus":return yV(e,t);default:return C2(t,"layout: operation")}}function _V(e,t){return t.reduce((n,r)=>Di(n,r).state,e)}const hm={entries:[],cursor:0},bV=new Set(["focusTab","focusPane","restoreFocus"]);function pm(e){return bV.has(e.type)}function Cl(e,t){const n=e.entries[t];return n!==void 0&&n.ops.every(pm)}function M2(e){return e.cursor>0}function O2(e){return e.cursor<e.entries.length}function mm(e){return e.entries.flatMap(t=>t.ops)}function gm(e,t,n){if(n.length===0)return{history:e,state:t};let r=t;const s=[];for(const u of n){const d=Di(r,u);r=d.state,s.unshift(...d.inverse)}return{history:{entries:[...e.cursor===e.entries.length?e.entries:e.entries.slice(0,e.cursor),{ops:n,inverse:s}],cursor:e.cursor+1},state:r}}function vm(e,t){if(!M2(e))return;let n=1;if(Cl(e,e.cursor-1))for(;Cl(e,e.cursor-1-n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor-n,e.cursor).reverse())for(const l of s.inverse)r=Di(r,l).state;return{history:{entries:e.entries,cursor:e.cursor-n},state:r}}function wm(e,t){if(!O2(e))return;let n=1;if(Cl(e,e.cursor))for(;Cl(e,e.cursor+n);)n+=1;let r=t;for(const s of e.entries.slice(e.cursor,e.cursor+n))for(const l of s.ops)r=Di(r,l).state;return{history:{entries:e.entries,cursor:e.cursor+n},state:r}}class xm{current;recorded=hm;constructor(t){this.current=t}get state(){return this.current}get history(){return this.recorded}get ops(){return mm(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return M2(this.recorded)}get canRedo(){return O2(this.recorded)}dispatch(t){return this.dispatchAll([t])}dispatchAll(t){const n=gm(this.recorded,this.current,t);return this.recorded=n.history,this.current=n.state,this.current}undo(){const t=vm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}redo(){const t=wm(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}}const ym=4,T2=.12,kl={width:380,height:300},_m={width:220,height:140},L2=.25;function bm(e){return nc(e).length}function rc(e){return bm(e)<ym}const CV=["center","top","right","bottom","left"];function Cm(e,t,n=L2){let r="left",s=e;return 1-e<s&&(r="right",s=1-e),t<s&&(r="top",s=t),1-t<s&&(r="bottom",s=1-t),s<n?r:"center"}function km(e){switch(e){case"center":return;case"left":return{axis:"row",direction:"before"};case"right":return{axis:"row",direction:"after"};case"top":return{axis:"column",direction:"before"};case"bottom":return{axis:"column",direction:"after"};default:return C2(e,"layout: dock zone")}}function P2(e,t=T2){if(e.length===0)return[];const n=Math.min(t,1/e.length),r=e.map(d=>d>0?d:0),s=r.reduce((d,p)=>d+p,0);let l=s>0?r.map(d=>d/s):r.map(()=>1/e.length);const u=new Set;for(;;){const d=l.flatMap((g,w)=>!u.has(w)&&g<n?[w]:[]);if(d.length===0)return l;for(const g of d)u.add(g);const p=1-u.size*n,m=l.reduce((g,w,x)=>u.has(x)?g:g+w,0);l=l.map((g,w)=>u.has(w)?n:g/m*p)}}function Sl(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function Sm(e,t,n,r=L2){return!(e.width>0)||!(e.height>0)?"center":Cm((t-e.x)/e.width,(n-e.y)/e.height,r)}function Em(e,t){let n=0;for(const r of e){if(t<r.x+r.width/2)break;n+=1}return n}const No={divider:0,chip:100,body:48};function jm(e,t=No){const{pane:n,strip:r}=e;if(!(n.width>0)||!(n.height>0)||!(r.width>0))return{row:!0,column:!0};const s=Math.max(0,n.width-r.width),l=Math.max(0,r.width-e.chipsWidth-e.fillWidth-(e.splitControlWidth??0)),u=(n.width-t.divider)/2-s,d=(n.height-t.divider)/2-s;return{row:u>=l+t.chip,column:d>=r.height+t.body}}const m0=4;function Im(e,t,n,r){return Math.abs(n-e)>=m0||Math.abs(r-t)>=m0}function Mm(e,t,n){const r=e[t],s=e[t+1];if(r===void 0||s===void 0)return[...e];const l=[...e];return l[t]=r+n,l[t+1]=s-n,l}function Om(e,t,n){return{...e,x:e.x+t,y:e.y+n}}function Tm(e,t,n,r){return{...e,width:Math.max(r.width,e.width+t),height:Math.max(r.height,e.height+n)}}function Lm(e,t,n){return{x:Math.max(0,e-P6.x),y:Math.max(0,t-P6.y),...n}}const P6={x:60,y:14},kV=24,N6={x:160,y:120},jn=[];function Pm(e,t,n,r){for(const s of tt(e,t).tabs){const l=e.tabs[s];if(l?.contentId===n&&(r===void 0||l.kind===r))return s}}function Nm(e,t,n){for(const r of[...nc(e),...e.floats]){const s=Pm(e,r,t,n);if(s!==void 0)return s}}function Fi(e){const t=tt(e,e.activePaneId);return t.host==="dock"?t.id:um(e)}function g0(e,t,n,r){return e.host==="float"?{type:"unfloat",paneId:e.id,toPaneId:n,index:r}:{type:"moveTab",tabId:t,toPaneId:n,index:r}}function zm(e,t){return e.expanded===t?jn:[{type:"setExpanded",expanded:t}]}function Am(e,t){return e.mode===t?jn:[{type:"setMode",mode:t}]}function Rm(e,t,n,r){if(!rc(e))return jn;const s=n??Fi(e);if(tt(e,s).host!=="dock")return jn;const l=t("pane"),u=[{type:"split",paneId:s,axis:"row",direction:"after",newPaneId:l,newSplitId:t("split")}],d=r?.(t("tab"));return d!==void 0&&u.push({type:"openTab",paneId:l,tab:d,index:0}),u}function Dm(e,t,n,r){if(r===void 0)return jn;const s=tt(e,n);return s.host!=="dock"?jn:[{type:"openTab",paneId:n,tab:r(t("tab")),index:s.tabs.length}]}function Fm(e,t,n){const r=n.revealIfOpened===!1?void 0:Nm(e,n.contentId,n.kind);if(r!==void 0)return{ops:[{type:"focusTab",tabId:r}],tabId:r};const s=n.paneId??Fi(e),l={id:t("tab"),kind:n.kind,contentId:n.contentId,title:n.title};return{ops:[{type:"openTab",paneId:s,tab:l,index:n.index??tt(e,s).tabs.length}],tabId:l.id}}function $m(e,t,n){const r=Ao(e,n),s=Vn(e,n),l=s.host==="dock"?s.id:Fi(e),u=s.host==="dock"?s.tabs.indexOf(n)+1:tt(e,l).tabs.length,d={...r,id:t("tab")};return{ops:[{type:"openTab",paneId:l,tab:d,index:u}],tabId:d.id}}function Hm(e,t,n,r){const s=Vn(e,t);if(tt(e,n).host!=="dock")return jn;if(s.id===n){const l=s.tabs.indexOf(t),u=r>l?r-1:r;return u===l?jn:[{type:"reorderTab",tabId:t,index:u}]}return[g0(s,t,n,r)]}function Vm(e,t,n,r,s,l){const u=Vn(e,n),d=tt(e,r);if(d.host!=="dock")return jn;const p=km(s);if(p===void 0)return u.id===r?jn:[g0(u,n,r,d.tabs.length)];const m=u.id===r&&u.tabs.length===1;if(m&&l===void 0||!rc(e))return jn;const g=t("pane"),w=[{type:"split",paneId:r,axis:p.axis,direction:p.direction,newPaneId:g,newSplitId:t("split")}];return m&&l!==void 0&&w.push({type:"openTab",paneId:r,tab:l(t("tab")),index:u.tabs.length}),w.push(g0(u,n,g,0)),w}function Bm(e,t,n,r){const s=e.floats.length*kV,l=t("float");return{ops:[{type:"float",tabId:n,newPaneId:l,rect:r??{x:N6.x+s,y:N6.y+s,width:kl.width,height:kl.height}}],paneId:l}}function Zm(e,t,n){const r=n??Fi(e);return[{type:"unfloat",paneId:t,toPaneId:r,index:tt(e,r).tabs.length}]}function Wm(e,t,n){return[{type:"resize",splitId:e,sizes:P2(t,n)}]}function SV(e,t,n){const r=[];let s=e;for(;;){const u=nc(s).find(p=>p!==s.rootId&&tt(s,p).tabs.length===0);if(u===void 0)break;const d={type:"merge",paneId:u};r.push(d),s=Di(s,d).state}const l=yr(s,s.rootId);return l.kind==="pane"&&l.tabs.length===0&&n!==void 0&&r.push({type:"openTab",paneId:l.id,tab:n(t("tab")),index:0}),r}function Um(e=0){let t=e;return{next:(r=>(t+=1,`${r}${t}`))}}function qm(e,t,n="push"){const r=e.next("pane"),s=t?.(e.next("tab"));return{nodes:{[r]:{kind:"pane",id:r,host:"dock",tabs:s===void 0?[]:[s.id],activeTabId:s?.id,rect:void 0}},tabs:s===void 0?{}:{[s.id]:s},rootId:r,floats:[],activePaneId:r,expanded:!1,mode:n}}class EV{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(t={}){this.minter=Um(),this.makePaneTab=t.makePaneTab,this.sequencer=new xm(qm(this.minter,t.makeInitialTab,t.mode)),this.snapshot=this.buildSnapshot()}subscribe=t=>(this.listeners.add(t),()=>{this.listeners.delete(t)});getSnapshot=()=>this.snapshot;get ops(){return this.sequencer.ops}buildSnapshot(){const t=this.sequencer.state;return{state:t,canUndo:this.sequencer.canUndo,canRedo:this.sequencer.canRedo,canSplit:rc(t),opCount:this.sequencer.ops.length,cursor:this.sequencer.cursor}}commit(){this.snapshot=this.buildSnapshot();for(const t of[...this.listeners])t()}get state(){return this.sequencer.state}get mint(){return this.minter.next}run(t){return t.length===0?!1:(this.sequencer.dispatchAll(t),this.commit(),!0)}setExpanded(t){this.run(zm(this.state,t))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(t){this.run(Am(this.state,t))}splitPane(t){return this.run(Rm(this.state,this.mint,t,this.makePaneTab))}addTab(t){return this.run(Dm(this.state,this.mint,t,this.makePaneTab))}openContent(t){const n=Fm(this.state,this.mint,t);return this.run(n.ops),n.tabId}duplicateTab(t){const n=$m(this.state,this.mint,t);return this.run(n.ops),n.tabId}closeTab(t){this.run([{type:"closeTab",tabId:t}])}focusTab(t){this.run([{type:"focusTab",tabId:t}])}focusPane(t){this.run([{type:"focusPane",paneId:t}])}reorderTab(t,n){this.run([{type:"reorderTab",tabId:t,index:n}])}placeTab(t,n,r){return this.run(Hm(this.state,t,n,r))}dropTab(t,n,r){return this.run(Vm(this.state,this.mint,t,n,r))}floatTab(t,n){const r=Bm(this.state,this.mint,t,n);return this.run(r.ops),r.paneId}unfloatPane(t,n){this.run(Zm(this.state,t,n))}moveFloat(t,n,r){this.run([{type:"moveFloat",paneId:t,x:n,y:r}])}resizeFloat(t,n){this.run([{type:"resizeFloat",paneId:t,rect:n}])}resizeSplit(t,n){this.run(Wm(t,n))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return Fi(this.state)}}const jV={x:0,y:0,width:0,height:0},IV={row:!0,column:!0};function Ua(e){return e===null?jV:e.getBoundingClientRect()}function mi(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function Gm(e){const t=[];for(const n of e.querySelectorAll("[data-dockkit-pane]")){const r=n.dataset.dockkitPane;r!==void 0&&t.push([r,n])}return t}function MV(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return No.chip;const n=getComputedStyle(t),r=mi(n.minWidth);return r<=0?No.chip:n.boxSizing==="border-box"?r:r+mi(n.paddingLeft)+mi(n.paddingRight)+mi(n.borderLeftWidth)+mi(n.borderRightWidth)}function OV(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return No.divider;const{width:n,height:r}=t.getBoundingClientRect(),s=Math.min(n,r);return s>0?s:No.divider}function TV(e){const t=e.querySelector("[data-dockkit-split-button]");if(t===null)return 0;const n=t.getBoundingClientRect().width;if(!(n>0))return 0;const r=e.querySelector("[data-dockkit-strip]");return n+(r===null?0:mi(getComputedStyle(r).columnGap))}function LV(e,t=!1){const n={divider:OV(e),chip:MV(e),body:No.body},r=new Map;for(const[s,l]of Gm(e))r.set(s,jm({pane:Ua(l),strip:Ua(l.querySelector("[data-dockkit-strip]")),chipsWidth:Ua(l.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:Ua(l.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?TV(l):0},n));return r}function v0(e,t){return e.get(t)??IV}function PV(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e){const s=t.get(n);if(s===void 0||s.row!==r.row||s.column!==r.column)return!1}return!0}function NV(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function zV(e,t,n){NV(e,t);const r=new AbortController,{signal:s}=r;e.dataset.dockkitPointer=String(t),s.addEventListener("abort",()=>{e.dataset.dockkitPointer===String(t)&&delete e.dataset.dockkitPointer},{once:!0});const l=u=>u.pointerId===t;return window.addEventListener("pointermove",u=>{l(u)&&n.move(u)},{signal:s}),window.addEventListener("pointerup",u=>{l(u)&&(r.abort(),n.up(u))},{signal:s}),window.addEventListener("pointercancel",u=>{l(u)&&(r.abort(),n.cancel())},{signal:s}),()=>{r.abort()}}function Km(e){const t=S.useRef(void 0);return S.useEffect(()=>()=>{t.current?.stop()},[]),(n,r,s)=>{t.current?.end();const l=()=>{t.current=void 0,e()},u=zV(n,r,{move:s.move,up:d=>{l(),s.up(d)},cancel:l});t.current={stop:u,end:()=>{u(),l()}}}}const AV="_split_116sf_17",RV="_splitRow_116sf_24",DV="_splitColumn_116sf_28",FV="_splitCell_116sf_32",$V="_divider_116sf_39",HV="_surface_116sf_137",VV="_tabLayout_116sf_146",BV="_tabCell_116sf_154",ZV="_emptyTabHost_116sf_155",WV="_floatingCell_116sf_168",UV="_tabHost_116sf_174",qV="_float_116sf_168",GV="_tabHostHeader_116sf_195",KV="_tabHostBody_116sf_199",YV="_tabLayoutDivider_116sf_204",JV="_pane_116sf_233",XV="_tabStrip_116sf_261",QV="_stripTabs_116sf_280",eB="_stripFill_116sf_317",tB="_stripChrome_116sf_325",nB="_paneBody_116sf_347",rB="_slot_116sf_356",oB="_tabActive_116sf_375",iB="_slotCaret_116sf_375",sB="_tab_116sf_146",aB="_tabTitle_116sf_418",lB="_floatTitle_116sf_438",cB="_tabClose_116sf_445",uB="_addTab_116sf_488",dB="_tabQuiet_116sf_527",fB="_tabDragging_116sf_544",hB="_iconButton_116sf_550",pB="_menu_116sf_586",mB="_menuItem_116sf_600",gB="_empty_116sf_155",vB="_dockScrim_116sf_638",wB="_dockHint_116sf_640",xB="_dockHintCard_116sf_645",yB="_dockHintLabel_116sf_740",_B="_floatHeader_116sf_819",bB="_dockGlyph_116sf_836",CB="_floatBody_116sf_841",kB="_floatResize_116sf_851",Me={split:AV,splitRow:RV,splitColumn:DV,splitCell:FV,divider:$V,surface:HV,tabLayout:VV,tabCell:BV,emptyTabHost:ZV,floatingCell:WV,tabHost:UV,float:qV,tabHostHeader:GV,tabHostBody:KV,tabLayoutDivider:YV,pane:JV,tabStrip:XV,stripTabs:QV,stripFill:eB,stripChrome:tB,paneBody:nB,slot:rB,tabActive:oB,slotCaret:iB,tab:sB,tabTitle:aB,floatTitle:lB,tabClose:cB,addTab:uB,tabQuiet:dB,tabDragging:fB,iconButton:hB,menu:pB,menuItem:mB,empty:gB,dockScrim:vB,dockHint:wB,dockHintCard:xB,dockHintLabel:yB,floatHeader:_B,dockGlyph:bB,floatBody:CB,floatResize:kB},Pd=4;function SB(e,t){const n=e.getBoundingClientRect(),r=t.offsetWidth,s=n.left+r+Pd>window.innerWidth?Math.max(Pd,n.right-r):n.left;return{top:n.bottom+Pd,left:s}}function EB({labels:e,anchor:t,onClose:n,onDismiss:r,extras:s}){const l=S.useRef(null),[u,d]=S.useState(void 0),p=n!==void 0||S.Children.toArray(s).some(m=>m!=="");return S.useLayoutEffect(()=>{l.current!==null&&d(SB(t,l.current))},[t,p]),S.useEffect(()=>{const m=l.current;if(m===null)return;const g=m.ownerDocument,w=Yl(g),x=C=>{if(w.guards(C)||C.defaultPrevented||C.key!=="Escape"||C.ctrlKey||C.altKey||C.metaKey||C.shiftKey||[...g.querySelectorAll(u2)].at(-1)!==m||(C.preventDefault(),C.repeat))return;const M=m.contains(g.activeElement);r(),M&&Oi(t)};g.addEventListener("keydown",x,!0);const _=C=>{C.target instanceof Node&&m.contains(C.target)||r()};return window.addEventListener("pointerdown",_,!0),()=>{w.dispose(),g.removeEventListener("keydown",x,!0),window.removeEventListener("pointerdown",_,!0)}},[t,r,p]),p?gn.createPortal(c.jsxs(vl,{className:Me.menu,ref:l,role:"menu","data-dockkit-tab-menu":!0,style:u??{visibility:"hidden",top:0,left:0},onPointerDown:m=>{m.stopPropagation()},onClick:m=>{m.stopPropagation()},children:[n!==void 0&&c.jsx("button",{type:"button",role:"menuitem",className:Me.menuItem,"data-dockkit-menu-close":!0,onClick:n,children:e.closeTab}),s]}),document.body):null}function z6(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function Ym({children:e}){const t=S.useRef(null);return S.useLayoutEffect(()=>{t.current!==null&&z6(t.current)}),S.useLayoutEffect(()=>{const n=t.current;if(n===null||typeof ResizeObserver>"u")return;const r=new ResizeObserver(()=>{z6(n)});return r.observe(n),()=>{r.disconnect()}},[]),c.jsx("span",{ref:t,className:Me.tabTitle,"data-dockkit-tab-title":!0,children:e})}const jB="M9.67272 0.522841C10.8339 0.522841 11.76 0.522714 12.4963 0.602493C13.2453 0.683657 13.8789 0.854248 14.4264 1.25197C14.7504 1.48739 15.0355 1.77247 15.2709 2.0965C15.6686 2.64394 15.8392 3.27758 15.9204 4.02655C16.0002 4.7629 16 5.68895 16 6.85014V9.14986C16 10.3111 16.0002 11.2371 15.9204 11.9735C15.8392 12.7224 15.6686 13.3561 15.2709 13.9035C15.0355 14.2275 14.7504 14.5126 14.4264 14.748C13.8789 15.1458 13.2453 15.3163 12.4963 15.3975C11.76 15.4773 10.8339 15.4772 9.67272 15.4772H6.3273C5.16611 15.4772 4.24006 15.4773 3.50371 15.3975C2.75474 15.3163 2.1211 15.1458 1.57366 14.748C1.24963 14.5126 0.964549 14.2275 0.729131 13.9035C0.331407 13.3561 0.160817 12.7224 0.0796529 11.9735C-0.000126137 11.2371 1.25338e-09 10.3111 1.25338e-09 9.14986V6.85014C1.25329e-09 5.68895 -0.000126137 4.7629 0.0796529 4.02655C0.160817 3.27758 0.331407 2.64394 0.729131 2.0965C0.964549 1.77247 1.24963 1.48739 1.57366 1.25197C2.1211 0.854248 2.75474 0.683657 3.50371 0.602493C4.24006 0.522714 5.16611 0.522841 6.3273 0.522841H9.67272ZM4.1828 14.0873L5.54303 14.1118C5.78636 14.1128 6.04709 14.1169 6.3273 14.1169H9.67272C10.8639 14.1169 11.7032 14.1164 12.3493 14.0465C12.9824 13.9779 13.3497 13.8494 13.6268 13.6482C13.8354 13.4966 14.0195 13.3125 14.1711 13.1039C14.3723 12.8268 14.5007 12.4595 14.5693 11.8264C14.6393 11.1803 14.6398 10.341 14.6398 9.14986V6.85014C14.6398 5.65896 14.6393 4.81967 14.5693 4.1736C14.5007 3.54048 14.3723 3.17318 14.1711 2.89609C14.0195 2.68747 13.8354 2.50337 13.6268 2.35179C13.3497 2.1506 12.9824 2.02212 12.3493 1.95353C11.7032 1.88358 10.8639 1.88307 9.67272 1.88307H6.3273C6.04709 1.88307 5.78636 1.8862 5.54303 1.88715L4.1828 1.91166C3.99125 1.9216 3.8148 1.93577 3.65076 1.95353C3.01764 2.02212 2.65034 2.1506 2.37325 2.35179C2.16463 2.50337 1.98052 2.68747 1.82895 2.89609C1.62776 3.17318 1.49928 3.54048 1.43069 4.1736C1.36074 4.81967 1.36023 5.65896 1.36023 6.85014V9.14986C1.36023 10.341 1.36074 11.1803 1.43069 11.8264C1.49928 12.4595 1.62776 12.8268 1.82895 13.1039C1.98052 13.3125 2.16463 13.4966 2.37325 13.6482C2.65034 13.8494 3.01764 13.9779 3.65076 14.0465C3.81478 14.0642 3.99127 14.0774 4.1828 14.0873Z";function IB(){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M13.5 1.5H2.5C1.94772 1.5 1.5 1.94772 1.5 2.5V13.5C1.5 14.0523 1.94772 14.5 2.5 14.5H13.5C14.0523 14.5 14.5 14.0523 14.5 13.5V2.5C14.5 1.94772 14.0523 1.5 13.5 1.5Z",stroke:"currentColor"}),c.jsx("path",{d:"M8 1.5V14.5",stroke:"currentColor"})]})}const MB={center:"M4.56 3.48H11.44A1.6 1.6 0 0 1 13.04 5.08V10.92A1.6 1.6 0 0 1 11.44 12.52H4.56A1.6 1.6 0 0 1 2.96 10.92V5.08A1.6 1.6 0 0 1 4.56 3.48Z",left:"M4 0.523H8V15.477H4A4 4 0 0 1 0 11.477V4.523A4 4 0 0 1 4 0.523Z",right:"M8 0.523H12A4 4 0 0 1 16 4.523V11.477A4 4 0 0 1 12 15.477H8Z",top:"M0 8V4.523A4 4 0 0 1 4 0.523H12A4 4 0 0 1 16 4.523V8Z",bottom:"M0 8H16V11.477A4 4 0 0 1 12 15.477H4A4 4 0 0 1 0 11.477Z"};function OB({zone:e}){return c.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:jB,fill:"currentColor"}),c.jsx("path",{d:MB[e],fill:"currentColor"})]})}function Nd({zone:e,active:t,labels:n}){return c.jsx("div",{className:Me.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:c.jsxs("div",{className:Me.dockHintCard,children:[c.jsx(OB,{zone:e}),c.jsx("span",{className:Me.dockHintLabel,children:n.dropZone[e]})]})})}function TB(e,t,n){const r=t.length,s=t.indexOf(n);switch(e){case"ArrowLeft":return t[(s-1+r)%r];case"ArrowRight":return t[(s+1)%r];case"Home":return t[0];case"End":return t.at(-1);default:return}}function LB(e){return e==="Enter"||e===" "}function PB(e){const t=e.scrollLeft>1,n=e.scrollLeft+e.clientWidth<e.scrollWidth-1;if(t&&n)return"start end";if(t)return"start";if(n)return"end"}function NB(e,t){S.useLayoutEffect(()=>{const n=e.current;if(n===null)return;const r=()=>{const l=PB(n);l===void 0?delete n.dataset.dockkitStripScroll:n.dataset.dockkitStripScroll=l};r(),n.addEventListener("scroll",r,{passive:!0});const s=typeof ResizeObserver>"u"?void 0:new ResizeObserver(r);return s?.observe(n),()=>{n.removeEventListener("scroll",r),s?.disconnect()}},[e,t])}function zB(e,t,n,r){S.useLayoutEffect(()=>{const s=e.current,l=r===void 0?void 0:t.get(r);if(s===null||l===void 0)return;const u=s.getBoundingClientRect(),d=l.getBoundingClientRect();d.left<u.left?s.scrollLeft+=d.left-u.left-A6:d.right>u.right&&(s.scrollLeft+=d.right-u.right+A6)},[e,t,n,r])}const A6=24;function R6(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function Jm({state:e,pane:t,callbacks:n}){const[r,s]=S.useState(void 0),[l]=S.useState(()=>new Map),u=S.useRef(null);NB(u,t.tabs),zB(u,l,t.tabs,t.activeTabId);const d=n.splitBlock(t.id),p=n.dropTarget,m=p!==void 0&&p.kind==="strip"&&p.paneId===t.id?p.index:void 0,g=x=>{e.activePaneId===t.id&&t.activeTabId===x||n.onFocusTab(x)},w=x=>{const _=l.get(x);_!==void 0&&_.focus()};return c.jsxs("div",{className:Me.tabStrip,role:"tablist","data-dockkit-strip":t.id,"data-window-drag":e.floats.length===0?!0:void 0,children:[c.jsxs("div",{ref:u,className:Me.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((x,_)=>{const C=Ao(e,x),I=x===t.activeTabId,M=n.canCloseTab(x),N=!M&&t.tabs.length===1;return c.jsxs(S.Fragment,{children:[(_>0||m===_)&&c.jsx("div",{className:xe(Me.slot,m===_&&Me.slotCaret),"data-dockkit-caret":m===_?_:void 0}),c.jsxs("div",{role:"tab","aria-selected":I,tabIndex:I?0:-1,className:xe(Me.tab,I&&Me.tabActive,N&&Me.tabQuiet,n.draggingTabId===x&&Me.tabDragging),"data-dockkit-tab":x,"data-dockkit-tab-quiet":N||void 0,ref:O=>{O===null?l.delete(x):l.set(x,O)},onPointerDown:O=>{O.pointerType==="touch"||O.button===2||n.onTabPressed(x,O)},onClick:O=>{O.stopPropagation(),g(x)},onKeyDown:O=>{if(O.target!==O.currentTarget||O.altKey||O.ctrlKey||O.metaKey||O.shiftKey||O.nativeEvent.isComposing)return;const B=TB(O.key,t.tabs,x);if(B!==void 0){O.preventDefault(),w(B);return}LB(O.key)&&(O.preventDefault(),g(x))},onContextMenu:O=>{O.preventDefault();const B=O.currentTarget;s(z=>z?.tabId===x?void 0:{tabId:x,anchor:B})},children:[c.jsx(Ym,{children:n.renderTabTitle?.(C)??C.title}),M&&c.jsx(Gr,{disabled:r!==void 0,label:n.labels.closeTab,shortcutKeys:n.labels.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.tabClose,"aria-label":n.labels.closeTab,"aria-keyshortcuts":n.labels.closeTabShortcut,"data-dockkit-tab-close":x,onPointerDown:O=>{O.stopPropagation()},onClick:O=>{O.stopPropagation(),n.onCloseTab(x)},children:c.jsx(r2,{size:14})})}),r?.tabId===x&&c.jsx(EB,{labels:n.labels,anchor:r.anchor,onClose:M?()=>{s(void 0),n.onCloseTab(x)}:void 0,onDismiss:()=>{s(void 0)},extras:n.renderTabMenuItems?.(C,()=>{s(void 0)})})]})]},x)}),m===t.tabs.length&&c.jsx("div",{className:xe(Me.slot,Me.slotCaret),"data-dockkit-caret":m})]}),n.canAddTab(t.id)&&c.jsx(Gr,{label:n.labels.addTab,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.addTab,"aria-label":n.labels.addTab,"data-dockkit-add-tab":t.id,onClick:x=>{x.stopPropagation(),n.onAddTab(t.id)},children:c.jsx(r7,{size:14})})}),c.jsx("div",{className:Me.stripFill,"data-dockkit-strip-fill":!0}),!(n.hideSplitWhenBlocked&&d!==void 0)&&c.jsx(Gr,{label:d===void 0?n.labels.splitPane:R6(n.labels,d),shortcutKeys:n.labels.splitPaneKeys,side:"bottom",delayMs:500,children:c.jsx("span",{"data-dockkit-split-control":!0,tabIndex:d===void 0?void 0:0,"aria-label":d===void 0?void 0:R6(n.labels,d),children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.labels.splitPane,"aria-keyshortcuts":n.labels.splitPaneShortcut,disabled:d!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":d,onClick:x=>{x.stopPropagation(),n.onSplitPane(t.id)},children:c.jsx(IB,{})})})}),t.id===n.chromePaneId&&n.chrome!==void 0&&c.jsx("div",{className:Me.stripChrome,"data-dockkit-strip-chrome":!0,onClick:x=>{x.stopPropagation()},children:n.chrome})]})}function Xm({pane:e,callbacks:t}){const n=t.dropTarget,r=n?.kind==="zone"&&n.paneId===e.id?n.zone:void 0;return r===void 0?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Me.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&r!=="center"?c.jsxs(c.Fragment,{children:[c.jsx(Nd,{zone:"left",active:r==="left",labels:t.labels}),c.jsx(Nd,{zone:"right",active:r==="right",labels:t.labels})]}):c.jsx(Nd,{zone:r,active:!0,labels:t.labels})]})}function Qm({state:e,pane:t,callbacks:n}){const r=t.activeTabId===void 0?void 0:Ao(e,t.activeTabId);return c.jsxs("section",{className:Me.pane,"data-dockkit-pane":t.id,tabIndex:-1,"data-dockkit-pane-active":e.activePaneId===t.id||void 0,onClick:()=>{e.activePaneId!==t.id&&n.onFocusPane(t.id)},children:[c.jsx(Jm,{state:e,pane:t,callbacks:n}),c.jsxs("div",{className:Me.paneBody,children:[r===void 0?c.jsx("p",{className:Me.empty,children:n.labels.emptyPane}):n.renderTab(r),c.jsx(Xm,{pane:t,callbacks:n})]})]})}function eg({state:e,nodeId:t,callbacks:n,preview:r}){const s=yr(e,t);if(s.kind==="pane")return c.jsx(Qm,{state:e,pane:s,callbacks:n});const l=r!==void 0&&r.splitId===s.id?r.sizes:s.sizes;return c.jsx("div",{className:xe(Me.split,s.axis==="row"?Me.splitRow:Me.splitColumn),"data-dockkit-split":s.id,children:s.children.map((u,d)=>c.jsxs(S.Fragment,{children:[d>0&&c.jsx("div",{className:Me.divider,"data-dockkit-divider":`${s.id}:${d-1}`,onPointerDown:p=>{n.onDividerPressed(s.id,d-1,p)}}),c.jsx("div",{className:Me.splitCell,"data-dockkit-cell":`${s.id}:${d}`,style:{flexGrow:l[d]},children:c.jsx(eg,{state:e,nodeId:u,callbacks:n,preview:r})})]},u))})}function D6(e,t,n){const r=t-e.originX,s=n-e.originY;return e.mode==="move"?Om(e.rect,r,s):Tm(e.rect,r,s,_m)}function AB(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function RB(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function tg(e,t){const[n,r]=S.useState(void 0),s=Km(()=>{r(void 0)}),l=d=>{RB(e,d)||t.focusPane(d)};return{preview:n,raise:l,drag:(d,p,m)=>{m.stopPropagation();const g=document.documentElement,w=g.hasAttribute("data-windows-titlebar"),x=w&&!g.hasAttribute("data-fullscreen")?Number.parseFloat(g.style.getPropertyValue("--dsh-windows-titlebar-height")):0,_=Ri(tt(e,p)),C={..._,y:Math.max(_.y,w?x+20:0)},I={mode:d,originX:m.clientX,originY:m.clientY,rect:C};s(m.currentTarget,m.pointerId,{move:M=>{r({paneId:p,rect:D6(I,M.clientX,M.clientY)})},up:M=>{const N=D6(I,M.clientX,M.clientY);AB(N,I.rect)?l(p):d==="move"?t.moveFloat(p,N.x,N.y):t.resizeFloat(p,N)}})}}}function ng({paneId:e,tab:t,labels:n,intents:r,renderTabTitle:s,canCloseTab:l,drag:u}){return c.jsxs("header",{className:xe(Me.tabStrip,Me.floatHeader),"data-dockkit-float-grip":e,onPointerDown:d=>{u("move",e,d)},children:[c.jsx("div",{className:xe(Me.tab,Me.floatTitle),"data-dockkit-float-title":!0,children:c.jsx(Ym,{children:s?.(t)??t.title})}),c.jsx("div",{className:Me.stripFill}),c.jsx(Gr,{label:n.dockFloat,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.dockFloat,"data-dockkit-float-dock":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.unfloatPane(e)},children:c.jsx(e7,{className:Me.dockGlyph})})}),(l?.(t.id)??!0)&&c.jsx(Gr,{label:n.closeTab,shortcutKeys:n.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Me.iconButton,"aria-label":n.closeTab,"data-dockkit-float-close":e,onPointerDown:d=>{d.stopPropagation()},onClick:()=>{r.closeTab(t.id)},children:c.jsx(Kl,{})})})]})}function DB({state:e,intents:t,labels:n,renderTab:r,renderTabTitle:s,canCloseTab:l}){const{preview:u,raise:d,drag:p}=tg(e,t);return c.jsx(c.Fragment,{children:e.floats.map((m,g)=>{const w=tt(e,m),x=Ao(e,am(w)),_=u?.paneId===m?u.rect:void 0,C=_??Ri(w);return c.jsxs("div",{className:Me.float,"data-dockkit-float":m,tabIndex:-1,"data-dockkit-float-active":e.activePaneId===m||void 0,style:{left:C.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${C.y}px)`,width:C.width,height:C.height,zIndex:_===void 0?g+1:e.floats.length+1},onPointerDown:()=>{d(m)},children:[c.jsx(ng,{paneId:m,tab:x,labels:n,intents:t,renderTabTitle:s,canCloseTab:l,drag:p}),c.jsx("div",{className:Me.floatBody,children:r(x)}),c.jsx("div",{className:Me.floatResize,"data-dockkit-float-resize":m,onPointerDown:I=>{p("resize",m,I)}})]},m)})})}function FB({state:e,callbacks:t,intents:n,tab:r,pane:s,column:l,floats:u,focusRequest:d,keepMounted:p,active:m=!0}){const g=s.host==="float",w=g||s.activeTabId===r.id,x=m&&w&&(g||e.expanded),_=p?.(r)??!1,[C,I]=S.useState(x);x&&!C&&I(!0);const M=S.useRef(null),N=S.useRef(null);S.useLayoutEffect(()=>{const U=M.current;U.inert=!x;const Z=document.activeElement;!x&&Z instanceof HTMLElement&&U.contains(Z)&&Z.blur();const ee=d.current;if(!x||ee?.tabId!==r.id||(d.current=void 0,Z!==null&&Z!==document.body&&Z!==document.documentElement&&Z!==ee.origin))return;[...U.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(k=>k.dataset.dockkitTab===r.id)?.focus({preventScroll:!0})},[x,r.id,d]),S.useEffect(()=>{const U=N.current,Z=()=>{x&&(g?u.raise(s.id):e.activePaneId!==s.id&&t.onFocusPane(s.id))};return U.addEventListener("focus",Z,!0),()=>{U.removeEventListener("focus",Z,!0)}},[x,g,u,s.id,e.activePaneId,t]);const O=g&&u.preview?.paneId===s.id?u.preview.rect:void 0,B=g?O??Ri(s):void 0,z=O===void 0?e.floats.indexOf(s.id)+1:e.floats.length+1;return c.jsx("div",{className:xe(Me.tabCell,g&&Me.floatingCell),hidden:!w,"data-dockkit-host":g?"float":"dock","data-dockkit-column":g?void 0:l,style:{gridColumn:g?1:l*2+1,gridRow:1,order:g?z:0},children:c.jsxs("section",{ref:M,tabIndex:-1,className:xe(Me.tabHost,g?Me.float:Me.pane),"aria-hidden":!x||void 0,"data-dockkit-content":r.id,"data-dockkit-pane":!g&&w?s.id:void 0,"data-dockkit-pane-active":!g&&e.activePaneId===s.id||void 0,"data-dockkit-float":g?s.id:void 0,"data-dockkit-float-active":g&&e.activePaneId===s.id||void 0,"data-dockkit-column":g?void 0:l,style:B===void 0?void 0:{left:B.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${B.y}px)`,width:B.width,height:B.height},onPointerDown:()=>{g&&u.raise(s.id)},onClick:()=>{!g&&e.activePaneId!==s.id&&t.onFocusPane(s.id)},children:[c.jsx("div",{className:Me.tabHostHeader,children:w&&(g?c.jsx(ng,{paneId:s.id,tab:r,labels:t.labels,intents:n,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:u.drag}):c.jsx(Jm,{state:e,pane:s,callbacks:t}))}),c.jsxs("div",{ref:N,className:xe(Me.tabHostBody,g?Me.floatBody:Me.paneBody),children:[C&&(_||m&&w)?t.renderTab(r):null,!g&&c.jsx(Xm,{pane:s,callbacks:t})]}),g&&c.jsx("div",{className:Me.floatResize,"data-dockkit-float-resize":s.id,onPointerDown:U=>{u.drag("resize",s.id,U)}})]})})}function $B(e){const{state:t,callbacks:n,preview:r}=e,s=S.useRef(),l={...n,onFocusTab:w=>{s.current=Vn(t,w).activeTabId===w?void 0:{tabId:w,origin:document.activeElement},n.onFocusTab(w)}},u=yr(t,t.rootId);if(u.kind==="split"&&(u.axis!=="row"||u.children.length!==2))throw new Error("DockLayout requires one pane or two horizontally split panes");const d=u.kind==="pane"?[u]:u.children.map(w=>tt(t,w)),p=u.kind==="split"?r?.splitId===u.id?r.sizes:u.sizes:[1],m=tg(t,e.intents),g=p.map(w=>`minmax(0, ${w}fr)`).join(" 0px ");return c.jsxs("div",{className:Me.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:g},children:[Object.values(t.tabs).sort((w,x)=>w.id.localeCompare(x.id)).map(w=>{const x=Vn(t,w.id);return c.jsx(FB,{...e,callbacks:l,tab:w,pane:x,column:d.findIndex(_=>_.id===x.id),floats:m,focusRequest:s},w.id)}),d.filter(w=>w.tabs.length===0).map(w=>c.jsx("div",{className:Me.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:d.indexOf(w)*2+1,gridRow:1},children:c.jsx(Qm,{state:t,pane:w,callbacks:n})},w.id)),u.kind==="split"&&c.jsx("div",{className:xe(Me.divider,Me.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:w=>{n.onDividerPressed(u.id,0,w)}})]})}const qa={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},HB=new Map,F6=()=>!0;function $6(e,t,n,r,s,l){for(const[u,d]of Gm(e)){const p=d.getBoundingClientRect();if(!Sl(p,t,n))continue;const m=d.querySelector("[data-dockkit-strip]");if(m!==null&&Sl(m.getBoundingClientRect(),t,n)){const w=[...m.querySelectorAll("[data-dockkit-tab]")];return{kind:"strip",paneId:u,index:Em(w.map(x=>x.getBoundingClientRect()),t)}}const g=l==="horizontal"?r&&v0(s,u).row?t<p.x+p.width/2?"left":"right":"center":Sm(p,t,n);if(g!=="center"){const w=v0(s,u),x=g==="left"||g==="right"?w.row:w.column;if(!r||!x)return}return{kind:"zone",paneId:u,zone:g}}}function H6(e,t,n,r){const s=(e.axis==="row"?t:n)-e.origin,l=e.extent>0?s/e.extent:0;return P2(Mm(e.sizes,e.index,l),r)}const VB=1e-9;function BB(e,t){return e.length===t.length&&e.every((n,r)=>{const s=t[r];return s!==void 0&&Math.abs(n-s)<VB})}function rg({state:e,canSplit:t,canAddTab:n,canCloseTab:r,intents:s,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chrome:m,onRoom:g,draw:w,dropZones:x="edges",minPaneFraction:_=T2,hideSplitWhenBlocked:C=!1}){const I=S.useRef(null),[M,N]=S.useState(qa),[O,B]=S.useState(HB),z=Km(()=>{N(qa)}),U=S.useCallback(G=>{const k=I.current;k!==null&&G(k)},[]),Z=S.useCallback(()=>{U(G=>{const k=LV(G,C);B(Y=>PV(Y,k)?Y:k)})},[U,C]);S.useLayoutEffect(()=>{Z()}),S.useEffect(()=>{g?.(O)},[O,g]),S.useEffect(()=>{const G=I.current;if(G===null||typeof ResizeObserver>"u")return;const k=new ResizeObserver(()=>{Z()});return k.observe(G),()=>{k.disconnect()}},[Z]);const ee=G=>t?v0(O,G).row?void 0:"width":"budget",q={onFocusTab:s.focusTab.bind(s),onFocusPane:s.focusPane.bind(s),onSplitPane:s.splitPane.bind(s),onAddTab:s.addTab.bind(s),onCloseTab:s.closeTab.bind(s),onTabPressed:(G,k)=>{U(Y=>{const V=k.clientX,K=k.clientY;let X=!1;z(k.currentTarget,k.pointerId,{move:we=>{if(!X){if(!Im(V,K,we.clientX,we.clientY))return;X=!0}N({...qa,draggingTabId:G,dropTarget:$6(Y,we.clientX,we.clientY,t,O,x)})},up:we=>{if(!X)return;const he=$6(Y,we.clientX,we.clientY,t,O,x);if(he===void 0){if(Sl(Y.getBoundingClientRect(),we.clientX,we.clientY))return;s.floatTab(G,Lm(we.clientX,we.clientY,kl));return}he.kind==="strip"?s.placeTab(G,he.paneId,he.index):s.dropTab(G,he.paneId,he.zone)}})})},onDividerPressed:(G,k,Y)=>{const V=Y.currentTarget.parentElement;if(V===null)return;const K=ec(e,G),X=V.getBoundingClientRect(),we={index:k,axis:K.axis,origin:K.axis==="row"?Y.clientX:Y.clientY,extent:K.axis==="row"?X.width:X.height,sizes:K.sizes};z(Y.currentTarget,Y.pointerId,{move:he=>{N({...qa,sizes:{splitId:G,sizes:H6(we,he.clientX,he.clientY,_)}})},up:he=>{const Se=H6(we,he.clientX,he.clientY,_);BB(Se,we.sizes)||s.resizeSplit(G,Se)}})},splitBlock:ee,hideSplitWhenBlocked:C,canAddTab:n??F6,canCloseTab:r??F6,dropTarget:M.dropTarget,horizontalDrops:x==="horizontal",draggingTabId:M.draggingTabId,labels:l,renderTab:u,renderTabTitle:d,renderTabMenuItems:p,chromePaneId:dm(e),chrome:m};return c.jsx("div",{className:Me.surface,ref:I,"data-dockkit-surface":!0,"data-dockkit-drop-zones":x,children:w(q,M.sizes)})}function ZB(e){return c.jsx(rg,{...e,draw:(t,n)=>c.jsx(eg,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:n})})}function WB(e){return c.jsx(rg,{...e,draw:(t,n)=>c.jsx($B,{...e,callbacks:t,preview:n})})}const UB=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:L2,DOCK_ZONES:CV,DRAG_THRESHOLD:m0,DockController:EV,DockLayout:WB,DockSurface:ZB,EMPTY_HISTORY:hm,FLOAT_DEFAULT_SIZE:kl,FLOAT_MIN_SIZE:_m,FloatLayer:DB,MAX_DOCK_PANES:ym,MIN_PANE_FRACTION:T2,SPLIT_MINIMUMS:No,Sequencer:xm,activeDockPaneId:Fi,applyOp:Di,canSplit:rc,canStepBack:M2,canStepForward:O2,clampSizes:P2,containsPoint:Sl,createIdMinter:Um,createInitialState:qm,dividerSizes:Mm,dockPaneCount:bm,dockPaneIds:nc,findContentTab:Nm,findPaneContentTab:Pm,findParent:tc,findTabPane:Vn,floatRectAt:Lm,getNode:yr,getPane:tt,getSplit:ec,getTab:Ao,halvesFit:jm,insertionIndex:Em,isFocusOp:pm,movedRect:Om,passedThreshold:Im,planAddTab:Dm,planDropTab:Vm,planDuplicateTab:$m,planFloatTab:Bm,planOpenContent:Fm,planPlaceTab:Hm,planResizeSplit:Wm,planSetExpanded:zm,planSetMode:Am,planSettle:SV,planSplitPane:Rm,planUnfloatPane:Zm,record:gm,recordedOps:mm,replay:_V,resizedRect:Tm,stepBack:vm,stepForward:wm,topRightPaneId:dm,zoneAt:Cm,zoneInRect:Sm,zoneSplit:km},Symbol.toStringTag,{value:"Module"}));function qB(){return{react:CE,"react/jsx-runtime":Zj,"react-dom":Kj,"react-dom/client":Xj,"@deepseek-ai/cordis":Ew,"@deepseek-ai/dsh-client-store":Pj,"@deepseek-ai/dsh-client-ui-slots":oI,"@deepseek-ai/dsh-client-ui-primitives":nV,"@deepseek-ai/dsh-client-ui-dockkit":UB}}const GB="data-window-drag",tl="data-window-drag-recall",ko=`[${GB}]`,KB=2,V6=["transitionstart","transitionend","animationstart","animationend"];function YB(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const n=e.scheduleFrame??QB,r=e.watchBox??eZ;let s=new Map;const l=new Map;let u=!1,d=!1,p,m=0;const g=()=>{t.body.removeAttribute(tl);const N=Array.from(t.querySelectorAll(ko));_(N);const O=new Map(N.map(z=>[z,JB(z)])),B=N.length!==s.size||N.some(z=>s.get(z)!==O.get(z));if(s=O,B){t.body.setAttribute(tl,""),m=0,x();return}m!==0&&(m-=1,x())},w=()=>{m=KB,x()},x=()=>{u||(u=!0,p=n(()=>{u=!1,p=void 0,!d&&g()}))},_=N=>{for(const[O,B]of l)N.includes(O)||(B(),l.delete(O));for(const O of N)l.has(O)||l.set(O,r(O,w))},C=N=>N instanceof Element?N.closest(ko)!==null||N.querySelector(ko)!==null:!1,I=N=>{C(N.target)&&w()},M=new MutationObserver(N=>{N.some(O=>XB(O,s.keys()))&&w()});M.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const N of V6)t.addEventListener(N,I,!0);return w(),()=>{d=!0,M.disconnect();for(const N of V6)t.removeEventListener(N,I,!0);p!==void 0&&p();for(const N of l.values())N();l.clear(),s.clear(),t.body.removeAttribute(tl)}}function JB(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function XB(e,t){if(e.attributeName===tl)return!1;for(const r of[...e.addedNodes,...e.removedNodes])if(r instanceof Element&&(r.matches(ko)||r.querySelector(ko)!==null))return!0;const n=e.target instanceof Element?e.target:e.target.parentElement;if(n===null)return!1;if(e.type==="childList"){for(const r of t)if(n.contains(r))return!0;return!1}return n.closest(ko)!==null||n.querySelector(ko)!==null}function QB(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function eZ(e,t){if(typeof ResizeObserver!="function")return()=>{};const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}}function tZ(e){const t=e?.location?.search;return typeof t!="string"||t.length===0?!1:new URLSearchParams(t).get("extensions")?.toLowerCase()==="off"}class nZ{container;seams;page;pwaInstall;ctx;stopDragRecall;nativeExtensions;disposed=!1;modules;manifest;constructor(t,n){this.container=t,this.seams=n;const r=t.ownerDocument.defaultView;r!==null&&!("dshDesktop"in r)&&!("dshDesktopBoot"in r)&&/^https?:$/u.test(r.location.protocol)&&(this.pwaInstall=new zj(r)),Rj(),Fj(),this.page=new uj(t)}async run(t){try{await globalThis.__DSH_BOOT_READY__?.promise;const n=globalThis,r=n.__ModuleLoader__;if(r===void 0)throw new Error("web boot: window.__ModuleLoader__ bootstrap facade is missing");const s=globalThis.__DSH_TRANSPORT__;this.modules=r.create({boot:n.__DSH_BOOT__,staticModules:qB(),...s?.loadBundle===void 0?{}:{loadBundle:s.loadBundle},...this.seams}),this.manifest=this.modules.manifest;const l=this.container.ownerDocument.defaultView,u=tZ(l),{core:d,external:p}=QE(this.manifest),m=this.prefetchImmediateTier(d),g=new ot;if(this.ctx=g,this.pwaInstall!==void 0&&g.provide("pwaInstall",this.pwaInstall),this.page.setTotal(d.plugins.length),await m,await ej({ctx:g,modules:this.modules,manifest:d,onEntryState:(w,x)=>{(t===void 0||x!=="failed")&&this.page.setState(w,x)}}),this.stopDragRecall=YB({document:this.container.ownerDocument}),await $j(g,this.container),this.disposed||u)return;p.length>0&&n.__DSH_BOOT__!==void 0&&this.loadExternalDshExtensions(n.__DSH_BOOT__,p.map(w=>w.id)),this.nativeExtensions=VE({ctx:g,document:this.container.ownerDocument})}catch(n){console.error(n),t!==void 0?t(n):this.page.fail(n instanceof Error?n.message:String(n))}}async dispose(){this.disposed=!0,this.nativeExtensions?.dispose(),this.nativeExtensions=void 0,this.pwaInstall?.dispose(),this.stopDragRecall?.(),this.stopDragRecall=void 0;const t=this.ctx;this.ctx=void 0,t!==void 0&&await t.fiber.dispose(),this.page.dispose()}async prefetchImmediateTier(t){await Promise.all(t.plugins.filter(n=>n.immediately).map(n=>this.modules.prefetch(n.id).catch(r=>{})))}loadExternalDshExtensions(t,n){if(this.modules.manifest.rev!==this.manifest.rev)return;const r=new Set(n);this.modules.entries.sync(t).then(()=>{if(this.disposed)return;const s=this.modules.entries.state.getSnapshot().failures.filter(l=>r.has(l.id));for(const l of s)console.warn(`[web-boot] external DSH extension "${l.id}" failed to load; continuing with built-in UI: ${l.message}`)}).catch(s=>{this.disposed||console.warn("[web-boot] external DSH extension loading failed; continuing with built-in UI",s)})}}function rZ(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function oZ(e,t){for(const n of e)switch(n.kind){case"global":globalThis[n.name]=n.value;break;case"script":{const r=document.createElement("script");r.textContent=n.text,(n.placement==="head"?document.head:document.body).append(r);break}case"script-src":await t(n.src);break;case"script-preload":break;case"style":{const r=document.createElement("style");r.textContent=n.text,document.head.append(r);break}case"html":(n.placement==="head"?document.head:document.body).insertAdjacentHTML("beforeend",n.html);break;default:rZ(n)}}const Us=globalThis.dshDesktopBoot,B6=e=>{if(Us===void 0)throw e;Us.failed(e instanceof Error?e.message:String(e)).catch(console.error)};try{const e=document.getElementById("root");if(e===null)throw new Error("web app: missing #root");const t=new nZ(e);if(Us!==void 0){const n=globalThis.__DSH_BOOT_READY__;if(n===void 0)throw new Error("desktop web: boot readiness is missing");Us.ready().then(async({injections:r,streamBaseUrl:s})=>{const l=globalThis;l.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:s},await oZ(r,u=>new Promise((d,p)=>{const m=document.createElement("script");m.src=u,m.onload=()=>{d()},m.onerror=()=>{p(new Error(`desktop web: failed to load ${u}`))},document.head.append(m)})),n.resolve()}).catch(r=>{n.reject(r)})}t.run(Us===void 0?void 0:B6)}catch(e){B6(e)}
|