@codexhost/cli-darwin-arm64 0.18.0-beta.1 → 0.18.0-beta.4

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.
Files changed (62) hide show
  1. package/README.md +1 -1
  2. package/app/codexhost-distribution.json +1 -1
  3. package/app/console-server.mjs +109 -94
  4. package/app/console-web.js +110 -95
  5. package/app/desktop-controller.mjs +109 -110
  6. package/app/host-runtime.mjs +14225 -10527
  7. package/app/plugins/antigravity/plugin.mjs +109 -94
  8. package/app/plugins/claude-code/plugin.mjs +229 -148
  9. package/app/plugins/codebuddy/plugin.mjs +109 -94
  10. package/app/plugins/codex-usage/plugin.mjs +109 -94
  11. package/app/plugins/copilot/plugin.mjs +109 -94
  12. package/app/plugins/cursor-cli/plugin.mjs +109 -94
  13. package/app/plugins/deepseek-harness/plugin.mjs +109 -94
  14. package/app/plugins/devin/plugin.mjs +109 -94
  15. package/app/plugins/enabled.json +0 -1
  16. package/app/plugins/grok/plugin.mjs +109 -94
  17. package/app/plugins/hermes/plugin.mjs +109 -94
  18. package/app/plugins/kimi-code/plugin.mjs +109 -94
  19. package/app/plugins/kiro-cli/plugin.mjs +109 -94
  20. package/app/plugins/omp/plugin.mjs +109 -94
  21. package/app/plugins/opencode/plugin.mjs +109 -94
  22. package/app/plugins/pi/plugin.mjs +109 -94
  23. package/app/plugins/qoder/plugin.mjs +109 -94
  24. package/app/plugins/qoder-cn/plugin.mjs +109 -94
  25. package/app/plugins/qwen-code/plugin.mjs +109 -94
  26. package/app/plugins/workbuddy/plugin.mjs +109 -94
  27. package/app/plugins/zcode/plugin.mjs +109 -94
  28. package/app/renderer-extension.js +128 -150
  29. package/app/web/assets/index-C3lniEH1.css +1 -0
  30. package/app/web/assets/index-D1dOzBMI.js +199 -0
  31. package/app/web/codexhost-settings.js +110 -95
  32. package/app/web/index.html +2 -2
  33. package/app/web/plugins/deepseek-ai__dsh-api-gateway/client.js +1 -1
  34. package/app/web/plugins/deepseek-ai__dsh-api-remotes/client.js +64 -64
  35. package/app/web/plugins/deepseek-ai__dsh-api-session-controller/client.js +69 -69
  36. package/app/web/plugins/deepseek-ai__dsh-client-connection/client.js +1 -1
  37. package/app/web/plugins/deepseek-ai__dsh-client-ui-chat/client.js +2 -2
  38. package/app/web/plugins/deepseek-ai__dsh-client-ui-codexhost/client.js +57 -56
  39. package/app/web/plugins/deepseek-ai__dsh-client-ui-conversation/client.js +87 -87
  40. package/app/web/plugins/deepseek-ai__dsh-client-ui-directory-picker-browse/client.js +10 -10
  41. package/app/web/plugins/deepseek-ai__dsh-client-ui-input-trigger/client.js +1 -1
  42. package/app/web/plugins/deepseek-ai__dsh-client-ui-layout/client.js +3 -3
  43. package/app/web/plugins/deepseek-ai__dsh-client-ui-model-selection/client.js +2 -2
  44. package/app/web/plugins/deepseek-ai__dsh-client-ui-permission-presets/client.js +1 -1
  45. package/app/web/plugins/deepseek-ai__dsh-client-ui-settings/client.js +1 -1
  46. package/app/web/plugins/deepseek-ai__dsh-client-ui-settings-general/client.js +2 -2
  47. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar/client.js +2 -2
  48. package/app/web/plugins/deepseek-ai__dsh-client-ui-sidebar-right/client.js +55 -55
  49. package/app/web/plugins/deepseek-ai__dsh-client-ui-tool/client.js +18 -18
  50. package/app/web/plugins/deepseek-ai__dsh-client-ui-workspace/client.js +8 -12
  51. package/app/web/plugins.json +4 -0
  52. package/app/web/sw.js +55 -24
  53. package/app/web-modules/server.mjs +1415 -784
  54. package/bin/codexhost +0 -0
  55. package/libexec/codexhost-shim +0 -0
  56. package/libexec/codexhost-updater +0 -0
  57. package/package.json +1 -1
  58. package/app/plugins/codex-cli/manifest.json +0 -16
  59. package/app/plugins/codex-cli/plugin.mjs +0 -20374
  60. package/app/web/assets/index-CIeTchMu.css +0 -1
  61. package/app/web/assets/index-DeAPBQbV.js +0 -199
  62. /package/app/{plugins/codex-cli/assets/icon.png → web/codex.png} +0 -0
@@ -0,0 +1,199 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./langs/ruby-VKVsnS0H.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-B8vkg11W.js","./vendor-dSL872WO.js","./vendor-BNsW4eBh.css","./langs/cpp-DddhVWhK.js","./langs/c-BIGW1oBm.js","./langs/lua-BaeVxFsk.js","./langs/yaml-Buea-lGh.js","./langs/php-DJ5ovfAM.js","./langs/scss-Cw6XMfVs.js","./langs/http-DmoDEjMt.js","./langs/rst-U5-R5x3p.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-z6Y-lzP-.js","./langs/svelte-C20lOv9V.js"])))=>i.map(i=>d[i]);
2
+ import{c as ag,a as lg,b as cg,d as ug,t as dg,s as fg,j as hg,e as pg,f as Ve,g as y4,h as Bu,u as mg,m as oi,i as sn,k as uu,l as gg,n as _6,o as C6,p as vg,q as b6,r as wg,v as x4,w as S0}from"./vendor-dSL872WO.js";function Ba(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in e)){const l=Object.getOwnPropertyDescriptor(o,s);l&&Object.defineProperty(e,s,l.get?l:{enumerable:!0,get:()=>o[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"]'))o(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"&&o(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 o(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function dr(e){return e==null}function yg(e){return!dr(e)}function xg(e,t){return Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o,n)]))}function Wn(e,t,n){return Object.defineProperty(e,t,{writable:!0,value:n,enumerable:!1})}const k6=Symbol.for("cosmokit.volatile.write");function ms(e){return typeof e=="object"&&e!==null&&k6 in e}function _g(e){const t=new Set;function n(o,s){if(ms(o))return[{path:s,ref:o}];if(!o||typeof o!="object"||t.has(o))return[];if(!Array.isArray(o)&&Object.getPrototypeOf(o)!==Object.prototype&&Object.getPrototypeOf(o)!==null)return[];t.add(o);try{return Object.entries(o).flatMap(([l,u])=>n(u,[...s,l]))}finally{t.delete(o)}}return n(e,[])}function Cg(e,t){e[k6](t.get())}function ii(e,t){return arguments.length===1?n=>ii(e,n):e in globalThis&&t instanceof globalThis[e]||Object.prototype.toString.call(t).slice(8,-1)===e}function j0(e){return ii("ArrayBuffer",e)||ii("SharedArrayBuffer",e)}function bg(e){return j0(e)||ArrayBuffer.isView(e)}var li;(e=>{e.is=j0,e.isSource=bg;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 f="";const p=new Uint8Array(u);for(let m=0;m<p.byteLength;m++)f+=String.fromCharCode(p[m]);return btoa(f)}e.toBase64=n;function o(u){return typeof Buffer<"u"?t(Buffer.from(u,"base64")):Uint8Array.from(atob(u),f=>f.charCodeAt(0))}e.fromBase64=o;function s(u){return u=t(u),typeof Buffer<"u"?Buffer.from(u).toString("hex"):Array.from(new Uint8Array(u),f=>f.toString(16).padStart(2,"0")).join("")}e.toHex=s;function l(u){if(typeof Buffer<"u")return t(Buffer.from(u,"hex"));const f=u.length%2===0?u:u.slice(0,u.length-1),p=[];for(let m=0;m<f.length;m+=2)p.push(parseInt(`${f[m]}${f[m+1]}`,16));return Uint8Array.from(p).buffer}e.fromHex=l})(li||(li={}));li.fromBase64;li.toBase64;li.fromHex;li.toHex;function si(e,t,n){const o=new Set;function s(l,u){if(l===u)return!0;if(ms(l)||ms(u))return ms(l)&&ms(u);if(!n&&dr(l)&&dr(u))return!0;if(typeof l!=typeof u||typeof l!="object"||!l||!u||o.has(l))return!1;function f(p,m){return p(l)?p(u)?m(l,u):!1:p(u)?!1:void 0}o.add(l);try{return f(Array.isArray,(p,m)=>{if(p.length!==m.length)return!1;for(let v=0;v<p.length;v++)if(!s(p[v],m[v]))return!1;return!0})??f(ii("Date"),(p,m)=>p.valueOf()===m.valueOf())??f(ii("URL"),(p,m)=>p.href===m.href)??f(ii("RegExp"),(p,m)=>p.source===m.source&&p.flags===m.flags)??f(j0,(p,m)=>{if(p.byteLength!==m.byteLength)return!1;const v=new Uint8Array(p),w=new Uint8Array(m);for(let y=0;y<v.length;y++)if(v[y]!==w[y])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{o.delete(l)}}return s(e,t)}function kg(e,t,n){const o=[];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 f=e.charCodeAt(l+1);f>=97&&f<=122&&o.push(n),o.push(u+32)}else s!==0&&o.push(n),o.push(u+32);s=1}else u>=97&&u<=122?(o.push(u),s=2):t.includes(u)?(s!==0&&o.push(n),s=0):o.push(u)}return String.fromCharCode(...o)}function Sg(e){return kg(e,[45,95],45)}const jg=Sg;var _4;(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 o(){return t}e.getTimezoneOffset=o;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,f=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=f.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 v(_){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=v;function w(_,C=2){return _.toString().padStart(C,"0")}e.toDigits=w;function y(_,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=y})(_4||(_4={}));class Za{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 de={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")},Eg=function*(){}.constructor,C4=async function*(){}.constructor;function S6(e){return!(!e.prototype||e instanceof Eg||C4!==Function&&e instanceof C4)}function Wa(e,t){if(e===Object.prototype)return t;const n=Object.create(Wa(Object.getPrototypeOf(e),t));for(const o of Reflect.ownKeys(e))Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o));return n}function uo(e){return e&&(typeof e=="object"||typeof e=="function")}function j6(e,t){let n=e;for(;n;){const o=Reflect.getOwnPropertyDescriptor(n,t);if(o)return o;n=Object.getPrototypeOf(n)}}function Rr(e,t){if(!uo(t))return t;if(Object.hasOwn(t,de.shadow))return Object.getPrototypeOf(t);const n=t[de.tracker];return n?E0(e,t,n):t}function js(e,t){return t?new Proxy(e,{get:(n,o,s)=>o in t&&o!=="constructor"?Reflect.get(t,o,s):Reflect.get(n,o,s),set:(n,o,s,l)=>o in t&&o!=="constructor"?Reflect.set(t,o,s,l):Reflect.set(n,o,s,l)}):e}function Zu(e,t,n){return js(e,Object.defineProperty(Object.create(null),t,{value:n,writable:!1}))}function du(e,t,n,o){if(!n)return o;const s=Reflect.getOwnPropertyDescriptor(t,n)?.value;return s?Zu(o,n,e.extend({[de.shadow]:s})):o}function Mg(e,t,n,o){return new Proxy(t,{apply:(s,l,u)=>(l===n&&(l=o),Rr(e,Reflect.apply(s,l,u)))})}function E0(e,t,n){e[de.shadow]&&!n.noShadow&&(e=Object.getPrototypeOf(e));const o=new Proxy(t,{get:(s,l,u)=>{if(l===de.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}`,Zu(e,de.receiver,u));let f,p;const m=j6(s,l);m&&"value"in m?p=m.value:(f=du(e,s,n.property,u),p=Reflect.get(s,l,f));const v=p?.[de.tracker];return v?E0(e,p,v):!n.noShadow&&typeof p=="function"?(f??=du(e,s,n.property,u),Mg(e,p,u,f)):p},set:(s,l,u,f)=>{if(l===de.original||l===n.property)return!1;if(typeof l=="symbol")return Reflect.set(s,l,u,f);if(n.associate&&e.reflect.props[`${n.associate}.${l}`])return Reflect.set(e,`${n.associate}.${l}`,u,Zu(e,de.receiver,f));const p=du(e,s,n.property,f);return Reflect.set(s,l,u,p)},apply:(s,l,u)=>E6(o,s,l,u)});return o}function E6(e,t,n,o){return t[de.invoke]?t[de.invoke].apply(e,o):Reflect.apply(t,n,o)}function Ca(e,t,n){const o=function(...s){const l=E0(o.ctx,o,n);return E6(l,o,this,s)};return Wn(o,"name",e),Object.setPrototypeOf(o,t)}function b4(e,t,n){const o=e.error.stack.split(`
3
+ `);if(typeof t?.stack!="string"){const u=new Error(t),f=u.stack.split(`
4
+ `);throw f.splice(1,1/0,...n()),u.stack=f.join(`
5
+ `),u}const s=t.stack.split(`
6
+ `);let l=s.indexOf(o[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 ba(e,t=Ua()){const n={offset:1,error:new Error};try{const o=e(n);return uo(o)&&"then"in o?o.then(void 0,s=>b4(n,s,t)):o}catch(o){b4(n,o,t)}}function Ua(e=0){const t=new Error;return()=>t.stack.split(`
8
+ `).slice(3+e)}function Wu(e){return e!==null&&e!==!1&&e!==void 0}class M6{constructor(t){this.ctx=t,Wn(this,de.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(n,o,s){if(n==="internal/update"&&!s.global){const l=this.fiber._hooks["internal/update"]??=new Za,u=s.prepend?"unshift":"push";return l[u](o)}}),this.on("internal/update",function(n,o,s){const l=[...this._hooks["internal/update"]||[]],u=()=>(l.shift()??s).call(this,n,o,u);return u()},{global:!0,prepend:!0})}_hooks={};dispatch(t,n){const o=typeof n[0]=="object"||typeof n[0]=="function"?n.shift():null,s=n.shift();s.startsWith("internal/")||this.emit("internal/dispatch",t,s,n,o);const l=o?.[nt.filter];return(this._hooks[s]||[]).filter(u=>u.global||!l||l.call(o,u.ctx)).map(u=>u.callback.bind(o))}async parallel(...t){const o=(await Promise.allSettled(this.dispatch("emit",t).map(async s=>s(...t)))).filter(s=>s.status==="rejected");if(o.length)throw new AggregateError(o.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 o=await n(...t);if(Wu(o))return o}}bail(...t){for(const n of this.dispatch("bail",t)){const o=n(...t);if(Wu(o))return o}}waterfall(...t){const n=this.dispatch("waterfall",t),o=t.pop(),s=()=>(n.shift()??o)(...t);return t.push(s),s()}register(t,n,o,s){const l=s.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>(n[l]({ctx:this.ctx,callback:o,...s}),()=>this.unregister(n,o)),t)}unregister(t,n){const o=t.findIndex(s=>s.callback===n);if(o>=0)return t.splice(o,1),!0}on(t,n,o){typeof o!="object"&&(o={prepend:o}),this.ctx.fiber.assertActive(),n=this.ctx.reflect.bind(n);const s=this.bail(this.ctx,"internal/listener",t,n,o);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,o)}once(t,n,o){const s=this.on(t,function(...l){return s(),n.apply(this,l)},o);return s}}var I6=(e=>(e[e.ERROR=0]="ERROR",e[e.INFO=1]="INFO",e[e.WARN=2]="WARN",e[e.DEBUG=3]="DEBUG",e))(I6||{});const Uu={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)=>ka.color(t,ka.code(n.name,t.colors),e)};function Ig(e){return e instanceof Error&&Array.isArray(e.errors)}class ka{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,o,s=""){return t.colors?`\x1B[3${n<8?n:"8;5;"+n}${t.colors>=2?s:""}m${o}\x1B[0m`:""+o}static code(t,n){let o=0;for(let l=0;l<t.length;l++)o=(o<<3)-o+t.charCodeAt(l)+13,o|=0;const s=n?n>=2?L6:O6:[];return s[Math.abs(o)%s.length]}static format(t,n){const o=n.args.slice();o[0]instanceof Error?(o[0]=o[0].stack||o[0].message,o.unshift("%s")):typeof o[0]!="string"&&o.unshift("%o");let s=o.shift();s=s.replace(/%([a-zA-Z%])/g,(f,p)=>{if(f==="%%")return"%";const m=t.formatters?.[p]??Uu[p];if(typeof m=="function"){const v=o.shift();return m(v,t,n)}return f});const l=t.formatters?.o??Uu.o;for(let f of o)typeof f=="object"&&f&&(f=l(f,t,n)),s+=" "+f;const{maxLength:u=10240}=t;return s.split(/\r?\n/g).map(f=>f.slice(0,u)+(f.length>u?"...":"")).join(`
9
+ `)}_method(t,n){return(...o)=>{if(o.length===1&&o[0]instanceof Error){if(o[0].cause)this[t](o[0].cause);else if(Ig(o[0])){o[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:o};u.export(p)}}}}const O6=[6,2,3,4,5,1],L6=[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 qa{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(t){const n={property:"ctx",noShadow:!0},o=Ca("logger",Wa(Object.getPrototypeOf(this),Function.prototype),n);return Object.assign(o,this),o.ctx=t,Wn(o,de.tracker,n),o.exporter({colors:3,export:s=>{o.buffer.push(s),o.buffer.length>o.bufferSize&&(o.buffer=o.buffer.slice(-o.bufferSize))}}),o}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[de.intercept];const n=[];for(;"logger"in t;)Object.hasOwn(t,"logger")&&n.unshift(t.logger),t=Object.getPrototypeOf(t);return Object.assign({},...n)}[de.invoke](t){const n=this._resolveConfig(),o=(this.ctx[de.shadow]??this.ctx).fiber;return t??=n.name,t??=jg(o.name),new ka({name:t,level:n.level,meta:{fiber:new WeakRef(o)}},this)}static{for(const t of["error","info","warn","debug"])qa.prototype[t]=function(...n){return this()[t](...n)}}}const Og=Symbol.for("ValidationError");class M0 extends TypeError{name="ValidationError";constructor(t){super(`invalid config:
10
+ `+t.map(n=>n.path?` - ${n.message} (at ${n.path.join(".")})`:` - ${n.message}`).join(`
11
+ `))}}Object.defineProperty(M0.prototype,Og,{value:!0});function I0(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 M0(n.issues);return n.value}const T6=new WeakMap;function fu(e){const t=e();return T6.get(e)?.()??t}function Lg(e,t){const n=["internal/plugin",t];let o;try{o=e.events.dispatch("emit",n)}catch(s){e.logger.error(s);return}for(const s of o)try{const l=s(...n);Promise.resolve(l).catch(u=>e.logger.error(u))}catch(l){e.logger.error(l)}}var ci=(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))(ci||{});class po extends Error{constructor(t,n){super(n??po.Code[t]),this.code=t}}(e=>{e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(po||(po={}));const $n="__INACTIVE__";class O0{constructor(t,n,o,s,l){this.parent=t,this.inject=o,this.runtime=s,this._config=n;const u=f=>{this._disposables.push(f)};if(s){this.uid=t.registry.counter,this.ctx=this.context=t.extend({fiber:this});const f=Object.entries(this.inject);if(f.length){this.ctx[nt.intercept]=Object.create(t[nt.intercept]);for(const[p,m]of f)dr(m)||(this.ctx[nt.intercept][p]=m)}this._runner={epoch:$n,getOuterStack:l,execute:function(){if(S6(s.callback)){const p=new s.callback(this.ctx,this.config);for(const m of p?.[de.initHooks]??[])m();return p?.[de.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,Lg(this.context,this),this.ctx.registry.has(s.callback)&&(p(),s.fibers.length||this.ctx.registry.delete(s.callback)),this._setEpoch($n),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 Za;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 po("INACTIVE_EFFECT")}_execute(t){const n=t.epoch;return ba(o=>{const s=u=>{if(typeof u=="function")t.collect(u);else if(!dr(u))throw new TypeError("Invalid effect")},l=t.execute.call(this);if(typeof l=="function")return t.collect(l);if(!dr(l))if(uo(l)){if("then"in l)return l.then(s);if(Symbol.iterator in l){o.error=new Error;const u=l[Symbol.iterator]();for(;;){const f=u.next();if(s(f.value),f.done)return}}else if(Symbol.asyncIterator in l){const u=l[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),o.error=new Error;;){if(t.epoch!==n)return;const f=await u.next();if(s(f.value),f.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 po("INACTIVE_EFFECT");const o=[];let s=!1,l;const u=()=>{if(s)return l;s=!0;let B;for(const K of o.splice(0).reverse())if(B)B=B.then(()=>fu(K));else{const H=fu(K);uo(H)&&"then"in H&&(B=H)}return l=B},f={label:n,children:[]},p={execute:t,epoch:!0,collect:B=>{o.push(B),this._disposables.delete(B),B[de.effect]&&f.children.push(B[de.effect])},getOuterStack:Ua()};let m,v=!0,w,y,_,C=!1,I,M=()=>!1;const N=()=>(_??=new Promise((B,K)=>{w=B,y=K}),_),L=B=>Promise.resolve(B).then(()=>u(),async K=>{throw await u(),K}),$=B=>{let K;try{K=B()}catch(H){throw M(),H}if(uo(K)&&"then"in K){const H=Promise.resolve(K).finally(()=>{M(),I===H&&(I=void 0)});return I=H}return M(),K},A=Wn(()=>p.epoch?(p.epoch=!1,$(()=>v?L(N()):m?L(m):u())):C?I:void 0,de.effect,f);T6.set(A,()=>I),M=this._disposables.push(A);try{m=this._execute(p)}catch(B){v=!1,C=!0,p.epoch=!1;let K;try{K=$(u)}finally{y?.(B)}throw uo(K)&&"then"in K&&K.catch(H=>this.ctx.logger.error(H)),B}v=!1,_&&Promise.resolve(m).then(w,y),m?.catch(()=>p.epoch?$(u):u()).catch(B=>this.ctx.logger.error(B));const W=()=>{if(p.epoch)return p.epoch=!1,$(u)};return A.then=async(B,K)=>Promise.resolve(m).then(()=>W).then(B,K),A}getEffects(){return[...this._disposables].map(t=>t[de.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==$n?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 o of Reflect.ownKeys(this.ctx.reflect.store)){const s=this.ctx.reflect.store[o];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(Rr(this.ctx,n.value)))return delete this._store[t]}catch(o){return n.fiber.ctx.logger.error(o),delete this._store[t]}this._store[t]=n}_refresh(){let t=!1;t="";for(const n of Object.keys(this.inject)){const o=this._store[n];if(!o){t=$n;break}t+=":"+o.fiber.uid}this._setEpoch(t)}_setEpoch(t){const n=this._runner.epoch;t!==n&&(this._runner.epoch=t,!this.inertia&&this._updateState(()=>t!==$n&&n===$n?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5)))}_resolveConfig(t){return t=this.context.waterfall(this,"internal/config",t,()=>t),this.runtime?I0(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=$n}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 ba(async n=>{await Promise.resolve(),n.error=new Error,await fu(t)},this._runner.getOuterStack)}catch(n){this.ctx.logger.error(n)}})),this.store=void 0,this._updateState(()=>{if(this._runner.epoch===$n)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($n),this._refresh(),await this.await()}update(t,n=!1){if(this.assertActive(),this._config=t,this.state!==2){this._error=void 0,this._setEpoch($n),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 hu(e){const t=e.stack.split(`
12
+ `);return t.splice(0,2,`Error: ${e.message}`),e.stack=t.join(`
13
+ `),e}const Tg=["prototype","then"];function pu(e){return typeof e=="symbol"||Tg.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class k4{constructor(t){this.ctx=t,Wn(this,de.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,o)=>{if(pu(n))return Reflect.get(t,n,o);if(Reflect.has(t,n))return Rr(o,Reflect.get(t,n,o));const s=new Error(`cannot get property "${n}" without inject`);try{const l=t.reflect.props[n];return l?.type==="accessor"?l.get.call(o,o[de.receiver],s):o.fiber.runtime?o.events.waterfall("internal/get",o,n,s,()=>{const u=t[de.isolate][n];let f=(o[de.shadow]??o).fiber;for(;;){const p=f.store?.[n];if(p)return Rr(o,p.value);if(n in f.inject)throw s.message=`cannot get required service "${n}" in inactive context`,s;if(!f.runtime||f.parent[de.isolate][n]!==u)throw s;f=f.parent.fiber}}):o.reflect.get(n,!1)}catch(l){throw l===s?hu(l):l}},set:(t,n,o,s)=>{if(pu(n))return Reflect.set(t,n,o,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,o,s);throw hu(l)}try{return u.type==="accessor"?u.set?u.set.call(s,o,s[de.receiver],l):!1:s.events.waterfall("internal/set",s,n,o,l,()=>s.reflect.set(n,o,l))}catch(f){throw f===l?hu(f):f}},has:(t,n)=>pu(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 Rr(this.ctx,this._getImpl(t,n)?.value)}_getImpl(t,n=!0){const o=this.ctx[de.isolate][t],s=o&&this.store[o];if(s&&!(n&&s.fiber.state!==ci.ACTIVE))return s}set(t,n,o){const s=this.ctx[de.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,o){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[de.isolate][t]??=Symbol(t);const s=this.ctx[de.isolate][t],l={name:t,value:n,fiber:this.ctx.fiber,check:o};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(f=>f.await())),delete this.ctx.fiber.store[t]}},`ctx.provide(${JSON.stringify(t)})`)}notify(t,n=(o,s)=>o[de.isolate][s]===this.ctx[de.isolate][s]){const o=[];for(const s of this.ctx.registry.values())for(const l of s.fibers){let u=!1;for(const f of t)f in l.inject&&n(l.ctx,f)&&(u=!0,l._checkImpl(f));u&&(l._refresh(),o.push(l))}for(const s of t){const l=Object.create(this.ctx);l[de.filter]=u=>n(u,s),this.ctx.events.emit(l,"internal/service",s,this._getImpl(s,!1)?.value)}return o}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 o=this;return this.ctx.fiber.effect(function*(){const s=Array.isArray(n)?n.map(u=>[u,u]):Object.entries(n),l=(u,f)=>u[t];for(const[u,f]of s)yield o.accessor(f,{get(p,m){const v=l(this);if(dr(v))return v;const w=p?js(p,v):v,y=Reflect.get(v,u,w);return typeof y!="function"?y:y.bind(w??v)},set(p,m,v){const w=l(this),y=m?js(m,w):w;return Reflect.set(w,u,p,y)}})},`ctx.mixin(${JSON.stringify(t)})`)}trace(t){return Rr(this.ctx,t)}bind(t){return new Proxy(t,{apply:(n,o,s)=>Reflect.apply(n,this.trace(o),s.map(l=>this.trace(l))),construct:(n,o,s)=>Reflect.construct(n,o.map(l=>this.trace(l)),s)})}}function zg(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function Es(e,t){return function(n,o){if(o.kind==="class")Object.hasOwn(n,"inject")||(Wn(n,"inject",Object.create(Object.getPrototypeOf(n).inject??null)),Wn(n.inject,de.checkProto,!0)),n.inject[e]=t;else if(o.kind==="method"){const s=(n[de.metadata]??={}).inject??=Object.create(null);s[e]=t,o.addInitializer(function(){const l=this[de.tracker]?.property;(this[de.initHooks]??=[]).push(()=>{this.ctx.inject(s,u=>n.call(l?js(this,{[l]:u}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(e=>{function t(n,o=Object.create(null)){if(!n)return o;if(Array.isArray(n))for(const s of n)o[s]=null;else if(Reflect.has(n,de.checkProto)){Object.assign(o,t(Object.getPrototypeOf(n)));for(const s of Object.keys(n))o[s]=n[s]??null}else for(const s of Object.keys(n))o[s]=n[s]??null;return o}e.resolve=t})(Es||(Es={}));class z6{constructor(t){this.ctx=t,Wn(this,de.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(zg(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),o=n&&this._internal.get(n);if(o){this._internal.delete(n);for(const s of o.fibers)s.dispose();return o}}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,o=Ua()){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 Za,Config:t.Config},this._internal.set(s,l)}const u=new O0(this.ctx,n,Es.resolve(t.inject),l,o),f=Object.create(u);return f.then=(p,m)=>u.await().then(p,m),f}}class nt{static effect=de.effect;static filter=de.filter;static isolate=de.isolate;static intercept=de.intercept;static is(t){return!!t?.[nt.is]}static{nt.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),nt.prototype[nt.is]=!0}constructor(){this[de.isolate]=Object.create(null),this[de.intercept]=Object.create(null);const t=new Proxy(this,k4.handler);return this.root=t,this.baseUrl=void 0,this.fiber=new O0(t,{},Object.create(null),null,()=>[]),this.reflect=new k4(t),this.registry=new z6(t),this.events=new M6(t),this.logger=new qa(t),this.fiber._disposables.clear(),t}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(t={}){const n=Reflect.getOwnPropertyDescriptor(this,de.shadow)?.value,o=Object.create(Rr(this,this));for(const s of Reflect.ownKeys(t))Object.defineProperty(o,s,Reflect.getOwnPropertyDescriptor(t,s));return n?Object.assign(Object.create(o),{[de.shadow]:n}):o}isolate(t,n){const o=Object.create(this[de.isolate]);return o[t]=n??Symbol(t),this.extend({[de.isolate]:o})}intercept(t,n){const o=Object.create(this[de.intercept]);return o[t]=n,this.extend({[de.intercept]:o})}}class ur{constructor(t,n){this.ctx=t,n??=this.constructor.provide;let o=this;const s={associate:n,property:"ctx"};return o[de.invoke]&&(o=Ca(n,Wa(Object.getPrototypeOf(this),Function.prototype),s)),o.ctx=t,o.name=n,Wn(o,de.tracker,s),o.ctx.reflect.provide(n,o,this[de.check]),o}static init=de.init;static check=de.check;static config=de.config;static invoke=de.invoke;static extend=de.extend;static tracker=de.tracker;static resolveConfig=de.resolveConfig;name;[de.filter](t){return t[de.isolate][this.name]===this.ctx[de.isolate][this.name]}[de.extend](t){let n;return this[ur.invoke]?n=Ca(this.name,this,this[de.tracker]):n=Object.create(this),Object.assign(n,t)}[de.resolveConfig](t,n){let o=this.ctx[nt.intercept];const s=[];for(;this.name in o;)Object.hasOwn(o,this.name)&&s.unshift(o[this.name]),o=Object.getPrototypeOf(o);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 Pg=Object.freeze(Object.defineProperty({__proto__:null,Context:nt,get CordisError(){return po},DisposableList:Za,EventsService:M6,Fiber:O0,FiberState:ci,get Inject(){return Es},Logger:ka,LoggerLevel:I6,LoggerService:qa,RegistryService:z6,Service:ur,ValidationError:M0,buildOuterStack:Ua,c16:O6,c256:L6,composeError:ba,createCallable:Ca,defaultFormatters:Uu,getPropertyDescriptor:j6,getTraceable:Rr,isBailed:Wu,isConstructor:S6,isObject:uo,joinPrototype:Wa,resolveConfig:I0,symbols:de,withProps:js},Symbol.toStringTag,{value:"Module"})),Ng=()=>{throw new Error("node:module is not available in the browser")};var Rg=[],qu;(e=>{let t;function n(s){const l=Ng();if(Rg.includes("--expose-internals"))try{return l(s)}catch{}try{return l("node-addon-require-builtin").requireBuiltin(s)}catch{}}function o(){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=o})(qu||(qu={}));class Sa{constructor(t,n){this.ctx=t,this.tree=n;const o=t.fiber.entry;o&&(o.subgroup=this)}static key=Symbol.for("cordis.group");data=[];get context(){return this.ctx}async create(t){const n=this.tree.ensureId(t),o=this.tree.store[n]??=new Ms(this.ctx.loader);return o.parent=this,await o.update(t,!0,!0),o.id}unlink(t){const n=this.data,o=n.indexOf(t);o>=0&&n.splice(o,1)}remove(t,n=!1){const o=this.tree.store[t];o&&(o.fiber?.dispose(),n||this.unlink(o.options),delete this.tree.store[t],this.context.emit("loader/partial-dispose",o,o.options,!1))}async update(t){const n=this.data;this.data=t;const o=Object.fromEntries(n.map(u=>[u.id,u])),s=Object.fromEntries(t.map(u=>[u.id??Symbol("anonymous"),u])),l=Reflect.ownKeys({...o,...s});await Promise.all(l.map(async u=>{s[u]?await this.create(s[u]).catch(f=>{this.ctx.logger.error(f)}):this.remove(u)}))}stop(){for(const t of this.data)this.remove(t.id,!0)}}class i$ extends Sa{constructor(t,n){super(t,t.fiber.entry.parent.tree),this.ctx=t,this.config=n,t.on("internal/update",o=>{this.update(o)})}static initial=[];static[Sa.key]=!0;async*[ur.init](){yield()=>this.stop(),await this.update(this.config)}}class Ga{static sep=":";ctx;enableLogs;root;store=Object.create(null);constructor(t){this.ctx=t.extend({baseUrl:t.baseUrl}),this.root=new Sa(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(yg)}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(Ga.sep);let o=this;const s=n.pop();for(const u of n)if(o=o.store[u]?.subtree,!o)throw new Error(`cannot resolve entry ${t}`);const l=o.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,o=1/0){const s=this.resolveGroup(n);return s.data.splice(o,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,o,s){const l=this.resolve(t),u=l.parent;if(o!==void 0){const f=this.resolveGroup(o);u.unlink(l.options),f.data.splice(s??1/0,0,l.options),f.tree.write(),l.parent=f}return u.tree.write(),l.update(n,!1,!0)}import(t,n){return t.startsWith("cordis:")?this.ctx.loader.builtins[t.slice(7)]:ba(async o=>(o.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 P6=new Function("ctx","expr",`
14
+ with (ctx) {
15
+ return eval(expr)
16
+ }
17
+ `);function Gu(e,t){return L0(t)?P6(e,t.__jsExpr):!t||typeof t!="object"?t:Array.isArray(t)?t.map(n=>Gu(e,n)):xg(t,n=>Gu(e,n))}function L0(e){return e instanceof Object&&"__jsExpr"in e}function Ag(e){return e?.["~standard"].vendor==="schemastery"}function S4(e){if(!e||typeof e!="object"||L0(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function N6(e,t,n,o){if(n?.meta?.volatile)return!0;if(n?.type!=="object"||!n.dict||o.has(n))return si(e,t,!0);const s=e??n.meta?.default,l=t??n.meta?.default;if(!S4(s)||!S4(l))return si(s,l,!0);const{dict:u}=n;o.add(n);try{return Object.keys({...s,...l}).every(f=>N6(s[f],l[f],Object.hasOwn(u,f)?u[f]:void 0,o))}finally{o.delete(n)}}function Fg(e,t,n){return Ag(n)?N6(e,t,n,new Set):si(e,t,!0)}function mu(e,t){const n=[];for(const o of t)o in e&&(n.push([o,e[o]]),delete e[o]);return n}function Dg(e,t=["id","name"],n=["config"]){const o=mu(e,t),s=mu(e,n),l=mu(e,Object.keys(e)).sort(([u],[f])=>u.localeCompare(f));return Object.assign(e,Object.fromEntries([...o,...l,...s]))}class Ms{constructor(t){this.loader=t,this.ctx=t.ctx.extend({[Ms.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+Ga.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 L0(t.disabled)?!!this.evaluate(t.disabled.__jsExpr):!!t.disabled}evaluate(t){return P6(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,o=!1){const s={...this.options};if(n)this.options=t;else for(const[l,u]of Object.entries(t))dr(u)?delete this.options[l]:this.options[l]=u;if(Dg(this.options),this.disabled){this.fiber?.dispose();return}if(this.fiber?.uid){const l=Object.keys({...this.options,...s}).filter(p=>!si(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&&Fg(s.config,this.options.config,this.fiber.runtime?.Config);u&&(this.fiber._config=this.options.config);const f=u&&this._commitVolatile()?[]:l;if(!f.length&&!o)return;this.context.emit("loader/partial-dispose",this,s,!0),this._patchContext(f)}else await this.init()}_commitVolatile(){const t=this.fiber,n=_g(t.config);if(!n.length)return!0;const o=this.options.config;let s;try{s=I0(t.runtime,t.ctx.waterfall(t,"internal/config",o,()=>o))}catch(f){return this.ctx.logger.warn("volatile config update failed for %C",this.options.id),this.ctx.logger.warn(f),!0}if(!si(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:f,ref:p})=>{const m=f.reduce((v,w)=>Reflect.get(v,w),s);return si(p.get(),m.get(),!0)?[]:(Cg(p,m),[f])});if(!l.length)return!0;const u=Object.create(t.ctx);u[nt.filter]=f=>f.fiber===t;try{t.ctx.emit(u,"loader/volatile-update",l)}catch(f){this.ctx.logger.warn(f)}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(o){this.ctx.logger.error(o);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 j4(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 R6{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 $g extends R6{constructor(t){super(),this.entry=t}get suffix(){return"#"+this.entry.options.id}}class Hg extends R6{constructor(t){super(),this.label=t}get suffix(){return"@"+this.label}}function Vg(e){const t=Object.create(null),n=Object.create(null);function o(s,l,u=!1){let f;const p=s.options.isolate?.[l];if(p)return p===!0?f=s.realm??=new $g(s):u?f=t[p]??=new Hg(p):f=t[p],f?.access(l,u)}e.on("loader/entry-init",s=>{s.ctx[nt.intercept]=Object.create(s.ctx[nt.intercept]),s.ctx[nt.isolate]=Object.create(s.ctx[nt.isolate])}),e.on("loader/patch-context",(s,l)=>{const u=Object.create(s.parent.ctx[nt.isolate]);for(const m of Object.keys(s.options.isolate??{}))u[m]=o(s,m,!0);const f=Object.create(null),p=s.ctx[nt.isolate];for(const m in{...u,...n}){if(u[m]===p[m])continue;const v=n[m]??=Symbol(`delim:${m}`);s.ctx[v]=Symbol(`${m}#${s.id}`);for(const w of[p[m],u[m]]){const y=w&&s.ctx.reflect.store[w];if(y){if(!y.fiber){s.ctx.logger.warn(new Error(`expected service ${m} to be implemented`));continue}if(f[m]=[p[m],u[m],s.ctx[v],y.fiber.ctx[v]],s.ctx[v]!==y.fiber.ctx[v])break}}}Object.setPrototypeOf(s.ctx[nt.isolate],s.parent.ctx[nt.isolate]),Object.setPrototypeOf(s.ctx[nt.intercept],s.parent.ctx[nt.intercept]),j4(s.ctx[nt.isolate],u),j4(s.ctx[nt.intercept],s.options.intercept),l();for(const[m,v,w,y]of Object.values(f))w===y&&s.ctx.reflect.store[m]&&!s.ctx.reflect.store[v]&&(s.ctx.reflect.store[v]=s.ctx.reflect.store[m],delete s.ctx.reflect.store[m]);e.reflect.notify(Object.keys(f),(m,v)=>{const[w,y,_,C]=f[v],I=m[nt.isolate][v],M=m[n[v]];return(w===I||y===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[f,p]of Object.entries(l.isolate??{})){if(p===!0||u&&s.options.isolate?.[f]===p)continue;const m=t[p];if(m){for(const v of e.loader.entries())if(v.options.isolate?.[f]===m.label)return;m.delete(f),m.size||delete t[m.label]}}})}class Bg extends Ga{constructor(t,n={}){super(t),this.config=n,n.baseUrl&&(this.ctx.baseUrl=n.baseUrl);const o=this;Wn(this,ur.tracker,{associate:"loader",property:"ctx",noShadow:!0}),t.reflect.provide("loader",this,this[ur.check]),t.on("internal/config",function(s,l){const u=l();return!this.entry||this.parent.fiber?.entry===this.entry||this.runtime?.callback?.[Sa.key]?u:Gu(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 f=this.runtime?.Config?.simplify;return this.entry.options.config=f?f.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||o.showLog(this.entry,"reload"),u()},{global:!0}),t.on("internal/plugin",s=>{if(s.parent[Ms.key]&&!s.entry&&(s.entry=s.parent[Ms.key],Es.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(Vg)}envData={startTime:Date.now()};name="loader";internal=qu.fromInternal();builtins=Object.create(null);write(){}[ur.check](){return!(ur.prototype[ur.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 dr(t)||(t=t.default??t,!t.__esModule)?t:t.default??t}}const qo={PENDING:0,LOADING:1,ACTIVE:2,FAILED:3,DISPOSED:4,UNLOADING:5},A6={[qo.PENDING]:"pending",[qo.LOADING]:"loading",[qo.ACTIVE]:"active",[qo.FAILED]:"failed",[qo.DISPOSED]:"disposed",[qo.UNLOADING]:"unloading"};async function Zg(e){const{ctx:t,manifest:n,onEntryState:o}=e;await t.plugin(Bg);const s=t.loader;s.internal=e.modules,t.on("internal/status",u=>{const f=u.entry;f===void 0||f.fiber===void 0||o?.(f.options.name,A6[f.fiber.state])});const l=n.plugins.map(u=>u.id);for(const u of l)o?.(u,"loading");await e.modules.entries.start(s,n);for(const u of s.entries())u.fiber===void 0&&o?.(u.options.name,"failed");await s.await(),Wg(t,e.modules)}function Wg(e,t){const n=[];for(const o of e.loader.entries()){const s=o.options.name;if(o.fiber===void 0){const u=t.importError(s);n.push(u===void 0?`${s}: import failed (see console for the import error)`:`${s}: import failed: ${u.message}`);continue}const l=A6[o.fiber.state];if(l!=="active")if(l==="pending"){const u=Object.keys(o.fiber.inject).filter(f=>e.get(f)===void 0);n.push(`${s}: pending (waiting for service${u.length===1?"":"s"}: ${u.join(", ")||"unknown"})`)}else n.push(`${s}: ${l}`)}if(n.length>0)throw new Error(`web boot: ${String(n.length)} entr${n.length===1?"y":"ies"} did not activate
18
+ ${n.join(`
19
+ `)}`)}const Ug="_boot_hsk5m_3",qg="_card_hsk5m_24",Gg="_wordmark_hsk5m_31",Kg="_hint_hsk5m_39",Yg="_spinner_hsk5m_45",Jg="_failed_hsk5m_74",Qg="_failedTitle_hsk5m_81",Xg="_failedItem_hsk5m_88",ir={boot:Ug,card:qg,wordmark:Gg,hint:Kg,spinner:Yg,failed:Jg,failedTitle:Qg,failedItem:Xg};function sr(e,t){const n=document.createElement("div");return n.className=e??"",t!==void 0&&(n.textContent=t),n}class ev{root;card;wordmark;spinner;hint;states=new Map;active=new Set;total=0;failure;constructor(t){this.root=sr(ir.boot),this.root.dataset.dshBoot="",this.card=sr(ir.card),this.wordmark=sr(ir.wordmark,"HARNESS"),this.spinner=sr(ir.spinner),this.spinner.dataset.dshBootSpinner="",this.hint=sr(ir.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=sr(ir.failed);n.append(sr(ir.failedTitle,"Failed to load plugins"));for(const u of t)n.append(sr(ir.failedItem,u));this.failure!==void 0&&n.append(sr(ir.failedItem,this.failure));const o=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",o.append(s," · ",l),n.append(o),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 tv={},nv=e=>{let t;const n=new Set,o=(v,w)=>{const y=typeof v=="function"?v(t):v;if(!Object.is(y,t)){const _=t;t=w??(typeof y!="object"||y===null)?y:Object.assign({},t,y),n.forEach(C=>C(t,_))}},s=()=>t,p={setState:o,getState:s,getInitialState:()=>m,subscribe:v=>(n.add(v),()=>n.delete(v)),destroy:()=>{(tv?"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(o,s,p);return p},rv=e=>nv,ov=e=>(t,n,o)=>{const s=o.subscribe;return o.subscribe=(u,f,p)=>{let m=u;if(f){const v=p?.equalityFn||Object.is;let w=u(o.getState());m=y=>{const _=u(y);if(!v(w,_)){const C=w;f(w=_,C)}},p?.fireImmediately&&f(w,w)}return s(m)},e(t,n,o)},iv=ov;function sv(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[o,s]of e)if(!Object.is(s,t.get(o)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(const o of e)if(!t.has(o))return!1;return!0}const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(t,o)||!Object.is(e[o],t[o]))return!1;return!0}var F6=Symbol.for("immer-nothing"),E4=Symbol.for("immer-draftable"),an=Symbol.for("immer-state");function On(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Is=Object.getPrototypeOf;function ui(e){return!!e&&!!e[an]}function mo(e){return e?D6(e)||Array.isArray(e)||!!e[E4]||!!e.constructor?.[E4]||$s(e)||Ya(e):!1}var av=Object.prototype.constructor.toString(),M4=new WeakMap;function D6(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 o=M4.get(n);return o===void 0&&(o=Function.toString.call(n),M4.set(n,o)),o===av}function ja(e,t,n=!0){Ka(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(s=>{t(s,e[s],e)}):e.forEach((o,s)=>t(s,o,e))}function Ka(e){const t=e[an];return t?t.type_:Array.isArray(e)?1:$s(e)?2:Ya(e)?3:0}function Ku(e,t){return Ka(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function $6(e,t,n){const o=Ka(e);o===2?e.set(t,n):o===3?e.add(n):e[t]=n}function lv(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function $s(e){return e instanceof Map}function Ya(e){return e instanceof Set}function lo(e){return e.copy_||e.base_}function Yu(e,t){if($s(e))return new Map(e);if(Ya(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=D6(e);if(t===!0||t==="class_only"&&!n){const o=Object.getOwnPropertyDescriptors(e);delete o[an];let s=Reflect.ownKeys(o);for(let l=0;l<s.length;l++){const u=s[l],f=o[u];f.writable===!1&&(f.writable=!0,f.configurable=!0),(f.get||f.set)&&(o[u]={configurable:!0,writable:!0,enumerable:f.enumerable,value:e[u]})}return Object.create(Is(e),o)}else{const o=Is(e);if(o!==null&&n)return{...e};const s=Object.create(o);return Object.assign(s,e)}}function T0(e,t=!1){return Ja(e)||ui(e)||!mo(e)||(Ka(e)>1&&Object.defineProperties(e,{set:na,add:na,clear:na,delete:na}),Object.freeze(e),t&&Object.values(e).forEach(n=>T0(n,!0))),e}function cv(){On(2)}var na={value:cv};function Ja(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var uv={};function go(e){const t=uv[e];return t||On(0,e),t}var Os;function H6(){return Os}function dv(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function I4(e,t){t&&(go("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ju(e){Qu(e),e.drafts_.forEach(fv),e.drafts_=null}function Qu(e){e===Os&&(Os=e.parent_)}function O4(e){return Os=dv(Os,e)}function fv(e){const t=e[an];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function L4(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[an].modified_&&(Ju(t),On(4)),mo(e)&&(e=Ea(t,e),t.parent_||Ma(t,e)),t.patches_&&go("Patches").generateReplacementPatches_(n[an].base_,e,t.patches_,t.inversePatches_)):e=Ea(t,n,[]),Ju(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==F6?e:void 0}function Ea(e,t,n){if(Ja(t))return t;const o=e.immer_.shouldUseStrictIteration(),s=t[an];if(!s)return ja(t,(l,u)=>T4(e,s,t,l,u,n),o),t;if(s.scope_!==e)return t;if(!s.modified_)return Ma(e,s.base_,!0),s.base_;if(!s.finalized_){s.finalized_=!0,s.scope_.unfinalizedDrafts_--;const l=s.copy_;let u=l,f=!1;s.type_===3&&(u=new Set(l),l.clear(),f=!0),ja(u,(p,m)=>T4(e,s,l,p,m,n,f),o),Ma(e,l,!1),n&&e.patches_&&go("Patches").generatePatches_(s,n,e.patches_,e.inversePatches_)}return s.copy_}function T4(e,t,n,o,s,l,u){if(s==null||typeof s!="object"&&!u)return;const f=Ja(s);if(!(f&&!u)){if(ui(s)){const p=l&&t&&t.type_!==3&&!Ku(t.assigned_,o)?l.concat(o):void 0,m=Ea(e,s,p);if($6(n,o,m),ui(m))e.canAutoFreeze_=!1;else return}else u&&n.add(s);if(mo(s)&&!f){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[o]===s&&f)return;Ea(e,s),(!t||!t.scope_.parent_)&&typeof o!="symbol"&&($s(n)?n.has(o):Object.prototype.propertyIsEnumerable.call(n,o))&&Ma(e,s)}}}function Ma(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&T0(t,n)}function hv(e,t){const n=Array.isArray(e),o={type_:n?1:0,scope_:t?t.scope_:H6(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=o,l=z0;n&&(s=[o],l=Ls);const{revoke:u,proxy:f}=Proxy.revocable(s,l);return o.draft_=f,o.revoke_=u,f}var z0={get(e,t){if(t===an)return e;const n=lo(e);if(!Ku(n,t))return pv(e,n,t);const o=n[t];return e.finalized_||!mo(o)?o:o===gu(e.base_,t)?(vu(e),e.copy_[t]=e0(o,e)):o},has(e,t){return t in lo(e)},ownKeys(e){return Reflect.ownKeys(lo(e))},set(e,t,n){const o=V6(lo(e),t);if(o?.set)return o.set.call(e.draft_,n),!0;if(!e.modified_){const s=gu(lo(e),t),l=s?.[an];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(lv(n,s)&&(n!==void 0||Ku(e.base_,t)))return!0;vu(e),Xu(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 gu(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,vu(e),Xu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=lo(e),o=Reflect.getOwnPropertyDescriptor(n,t);return o&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:o.enumerable,value:n[t]}},defineProperty(){On(11)},getPrototypeOf(e){return Is(e.base_)},setPrototypeOf(){On(12)}},Ls={};ja(z0,(e,t)=>{Ls[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Ls.deleteProperty=function(e,t){return Ls.set.call(this,e,t,void 0)};Ls.set=function(e,t,n){return z0.set.call(this,e[0],t,n,e[0])};function gu(e,t){const n=e[an];return(n?lo(n):e)[t]}function pv(e,t,n){const o=V6(t,n);return o?"value"in o?o.value:o.get?.call(e.draft_):void 0}function V6(e,t){if(!(t in e))return;let n=Is(e);for(;n;){const o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=Is(n)}}function Xu(e){e.modified_||(e.modified_=!0,e.parent_&&Xu(e.parent_))}function vu(e){e.copy_||(e.copy_=Yu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var mv=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(t,n,o)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const u=this;return function(p=l,...m){return u.produce(p,v=>n.call(this,v,...m))}}typeof n!="function"&&On(6),o!==void 0&&typeof o!="function"&&On(7);let s;if(mo(t)){const l=O4(this),u=e0(t,void 0);let f=!0;try{s=n(u),f=!1}finally{f?Ju(l):Qu(l)}return I4(l,o),L4(s,l)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===F6&&(s=void 0),this.autoFreeze_&&T0(s,!0),o){const l=[],u=[];go("Patches").generateReplacementPatches_(t,s,l,u),o(l,u)}return s}else On(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(u,...f)=>this.produceWithPatches(u,p=>t(p,...f));let o,s;return[this.produce(t,n,(u,f)=>{o=u,s=f}),o,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)||On(8),ui(e)&&(e=gv(e));const t=O4(this),n=e0(e,void 0);return n[an].isManual_=!0,Qu(t),n}finishDraft(e,t){const n=e&&e[an];(!n||!n.isManual_)&&On(9);const{scope_:o}=n;return I4(o,t),L4(void 0,o)}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 o=go("Patches").applyPatches_;return ui(e)?o(e,t):this.produce(e,s=>o(s,t))}};function e0(e,t){const n=$s(e)?go("MapSet").proxyMap_(e,t):Ya(e)?go("MapSet").proxySet_(e,t):hv(e,t);return(t?t.scope_:H6()).drafts_.push(n),n}function gv(e){return ui(e)||On(10,e),B6(e)}function B6(e){if(!mo(e)||Ja(e))return e;const t=e[an];let n,o=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Yu(e,t.scope_.immer_.useStrictShallowCopy_),o=t.scope_.immer_.shouldUseStrictIteration()}else n=Yu(e,!0);return ja(n,(s,l)=>{$6(n,s,B6(l))},o),t&&(t.finalized_=!1),n}var vv=new mv,wv=vv.produce;function t0(e,t,...n){for(const o of[...e])try{o(...n)}catch(s){console.error(`${t} subscriber failed:`,s)}}function yv(e,t){return sv(e,t)}function xv(e){const t=typeof requestAnimationFrame=="function"?o=>{requestAnimationFrame(()=>{o()})}:o=>{queueMicrotask(o)};let n=!1;return()=>{n||(n=!0,t(()=>{n=!1,e()}))}}function Qa(e,t){const n=iv(()=>e),o=rv()(n);t?.persist&&_v(o,t.persist.name);let s=l=>o.subscribe(()=>{t0([l],"[client-store]")});if(t?.flush==="raf"){const l=new Set,u=xv(()=>{t0(l,"[client-store]")});o.subscribe(u),s=f=>(l.add(f),()=>{l.delete(f)})}return{getSnapshot:()=>o.getState(),subscribe:l=>s(l),update:l=>{o.setState(wv(o.getState(),u=>{l(u)}),!0)},set:l=>{o.setState(l,!0)}}}function _v(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(o){console.error(`snapshot store '${t}' persistence failed:`,o)}})}}function Cv(e){return{spec:e,create(t){const n=e.persist===void 0?void 0:t===void 0?e.persist:`${e.persist}.${t}`,o=Qa(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]=(...f)=>{o.update(p=>{u(p,...f)})}}return{actions:s,getSnapshot:()=>o.getSnapshot(),subscribe:l=>o.subscribe(l),store:o,clearPersisted:()=>{if(!(n===void 0||typeof localStorage>"u"))try{localStorage.removeItem(n)}catch{}}}}}}const bv=Object.freeze(Object.defineProperty({__proto__:null,createSnapshotStore:Qa,defineStore:Cv,notifySubscribers:t0,shallowEqual:yv},Symbol.toStringTag,{value:"Module"}));function kv(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 Sv{constructor(t){this.browser=t,this.guide=kv(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=Qa("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 jv(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Ev(){if(typeof document>"u"||!jv())return;const e=document.querySelector('meta[name="viewport"]');e===null||/maximum-scale/u.test(e.content)||(e.content=`${e.content}, maximum-scale=1`)}function Mv(){return/iPhone|iPad|iPod/u.test(navigator.userAgent)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1}function Iv(){if(typeof window>"u"||!Mv())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 Ov(e,t){await e.inject(["uiRenderer"],o=>{o.effect(()=>o.uiRenderer.mount(t),"web boot: application mount")})}function Hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wu={exports:{}},De={};/**
20
+ * @license React
21
+ * react.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */var z4;function Lv(){if(z4)return De;z4=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),w=Symbol.iterator;function y(T){return T===null||typeof T!="object"?null:(T=w&&T[w]||T["@@iterator"],typeof T=="function"?T:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,I={};function M(T,D,X){this.props=T,this.context=D,this.refs=I,this.updater=X||_}M.prototype.isReactComponent={},M.prototype.setState=function(T,D){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,D,"setState")},M.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function N(){}N.prototype=M.prototype;function L(T,D,X){this.props=T,this.context=D,this.refs=I,this.updater=X||_}var $=L.prototype=new N;$.constructor=L,C($,M.prototype),$.isPureReactComponent=!0;var A=Array.isArray,W=Object.prototype.hasOwnProperty,B={current:null},K={key:!0,ref:!0,__self:!0,__source:!0};function H(T,D,X){var ce,Me={},Te=null,He=null;if(D!=null)for(ce in D.ref!==void 0&&(He=D.ref),D.key!==void 0&&(Te=""+D.key),D)W.call(D,ce)&&!K.hasOwnProperty(ce)&&(Me[ce]=D[ce]);var G=arguments.length-2;if(G===1)Me.children=X;else if(1<G){for(var ve=Array(G),Be=0;Be<G;Be++)ve[Be]=arguments[Be+2];Me.children=ve}if(T&&T.defaultProps)for(ce in G=T.defaultProps,G)Me[ce]===void 0&&(Me[ce]=G[ce]);return{$$typeof:e,type:T,key:Te,ref:He,props:Me,_owner:B.current}}function ee(T,D){return{$$typeof:e,type:T.type,key:D,ref:T.ref,props:T.props,_owner:T._owner}}function Z(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function he(T){var D={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(X){return D[X]})}var me=/\/+/g;function ne(T,D){return typeof T=="object"&&T!==null&&T.key!=null?he(""+T.key):D.toString(36)}function se(T,D,X,ce,Me){var Te=typeof T;(Te==="undefined"||Te==="boolean")&&(T=null);var He=!1;if(T===null)He=!0;else switch(Te){case"string":case"number":He=!0;break;case"object":switch(T.$$typeof){case e:case t:He=!0}}if(He)return He=T,Me=Me(He),T=ce===""?"."+ne(He,0):ce,A(Me)?(X="",T!=null&&(X=T.replace(me,"$&/")+"/"),se(Me,D,X,"",function(Be){return Be})):Me!=null&&(Z(Me)&&(Me=ee(Me,X+(!Me.key||He&&He.key===Me.key?"":(""+Me.key).replace(me,"$&/")+"/")+T)),D.push(Me)),1;if(He=0,ce=ce===""?".":ce+":",A(T))for(var G=0;G<T.length;G++){Te=T[G];var ve=ce+ne(Te,G);He+=se(Te,D,X,ve,Me)}else if(ve=y(T),typeof ve=="function")for(T=ve.call(T),G=0;!(Te=T.next()).done;)Te=Te.value,ve=ce+ne(Te,G++),He+=se(Te,D,X,ve,Me);else if(Te==="object")throw D=String(T),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return He}function Ie(T,D,X){if(T==null)return T;var ce=[],Me=0;return se(T,ce,"","",function(Te){return D.call(X,Te,Me++)}),ce}function xe(T){if(T._status===-1){var D=T._result;D=D(),D.then(function(X){(T._status===0||T._status===-1)&&(T._status=1,T._result=X)},function(X){(T._status===0||T._status===-1)&&(T._status=2,T._result=X)}),T._status===-1&&(T._status=0,T._result=D)}if(T._status===1)return T._result.default;throw T._result}var Ne={current:null},ie={transition:null},le={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:ie,ReactCurrentOwner:B};function ae(){throw Error("act(...) is not supported in production builds of React.")}return De.Children={map:Ie,forEach:function(T,D,X){Ie(T,function(){D.apply(this,arguments)},X)},count:function(T){var D=0;return Ie(T,function(){D++}),D},toArray:function(T){return Ie(T,function(D){return D})||[]},only:function(T){if(!Z(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},De.Component=M,De.Fragment=n,De.Profiler=s,De.PureComponent=L,De.StrictMode=o,De.Suspense=p,De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,De.act=ae,De.cloneElement=function(T,D,X){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var ce=C({},T.props),Me=T.key,Te=T.ref,He=T._owner;if(D!=null){if(D.ref!==void 0&&(Te=D.ref,He=B.current),D.key!==void 0&&(Me=""+D.key),T.type&&T.type.defaultProps)var G=T.type.defaultProps;for(ve in D)W.call(D,ve)&&!K.hasOwnProperty(ve)&&(ce[ve]=D[ve]===void 0&&G!==void 0?G[ve]:D[ve])}var ve=arguments.length-2;if(ve===1)ce.children=X;else if(1<ve){G=Array(ve);for(var Be=0;Be<ve;Be++)G[Be]=arguments[Be+2];ce.children=G}return{$$typeof:e,type:T.type,key:Me,ref:Te,props:ce,_owner:He}},De.createContext=function(T){return T={$$typeof:u,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:l,_context:T},T.Consumer=T},De.createElement=H,De.createFactory=function(T){var D=H.bind(null,T);return D.type=T,D},De.createRef=function(){return{current:null}},De.forwardRef=function(T){return{$$typeof:f,render:T}},De.isValidElement=Z,De.lazy=function(T){return{$$typeof:v,_payload:{_status:-1,_result:T},_init:xe}},De.memo=function(T,D){return{$$typeof:m,type:T,compare:D===void 0?null:D}},De.startTransition=function(T){var D=ie.transition;ie.transition={};try{T()}finally{ie.transition=D}},De.unstable_act=ae,De.useCallback=function(T,D){return Ne.current.useCallback(T,D)},De.useContext=function(T){return Ne.current.useContext(T)},De.useDebugValue=function(){},De.useDeferredValue=function(T){return Ne.current.useDeferredValue(T)},De.useEffect=function(T,D){return Ne.current.useEffect(T,D)},De.useId=function(){return Ne.current.useId()},De.useImperativeHandle=function(T,D,X){return Ne.current.useImperativeHandle(T,D,X)},De.useInsertionEffect=function(T,D){return Ne.current.useInsertionEffect(T,D)},De.useLayoutEffect=function(T,D){return Ne.current.useLayoutEffect(T,D)},De.useMemo=function(T,D){return Ne.current.useMemo(T,D)},De.useReducer=function(T,D,X){return Ne.current.useReducer(T,D,X)},De.useRef=function(T){return Ne.current.useRef(T)},De.useState=function(T){return Ne.current.useState(T)},De.useSyncExternalStore=function(T,D,X){return Ne.current.useSyncExternalStore(T,D,X)},De.useTransition=function(){return Ne.current.useTransition()},De.version="18.3.1",De}var P4;function P0(){return P4||(P4=1,wu.exports=Lv()),wu.exports}var S=P0();const Tv=Hs(S),zv=Ba({__proto__:null,default:Tv},[S]);var yu={exports:{}},ls={};/**
28
+ * @license React
29
+ * react-jsx-runtime.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */var N4;function Pv(){if(N4)return ls;N4=1;var e=P0(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=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(f,p,m){var v,w={},y=null,_=null;m!==void 0&&(y=""+m),p.key!==void 0&&(y=""+p.key),p.ref!==void 0&&(_=p.ref);for(v in p)o.call(p,v)&&!l.hasOwnProperty(v)&&(w[v]=p[v]);if(f&&f.defaultProps)for(v in p=f.defaultProps,p)w[v]===void 0&&(w[v]=p[v]);return{$$typeof:t,type:f,key:y,ref:_,props:w,_owner:s.current}}return ls.Fragment=n,ls.jsx=u,ls.jsxs=u,ls}var R4;function Nv(){return R4||(R4=1,yu.exports=Pv()),yu.exports}var c=Nv();const Rv=Hs(c),Av=Ba({__proto__:null,default:Rv},[c]);var xu={exports:{}},qt={},_u={exports:{}},Cu={};/**
36
+ * @license React
37
+ * scheduler.production.min.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */var A4;function Fv(){return A4||(A4=1,(function(e){function t(ie,le){var ae=ie.length;ie.push(le);e:for(;0<ae;){var T=ae-1>>>1,D=ie[T];if(0<s(D,le))ie[T]=le,ie[ae]=D,ae=T;else break e}}function n(ie){return ie.length===0?null:ie[0]}function o(ie){if(ie.length===0)return null;var le=ie[0],ae=ie.pop();if(ae!==le){ie[0]=ae;e:for(var T=0,D=ie.length,X=D>>>1;T<X;){var ce=2*(T+1)-1,Me=ie[ce],Te=ce+1,He=ie[Te];if(0>s(Me,ae))Te<D&&0>s(He,Me)?(ie[T]=He,ie[Te]=ae,T=Te):(ie[T]=Me,ie[ce]=ae,T=ce);else if(Te<D&&0>s(He,ae))ie[T]=He,ie[Te]=ae,T=Te;else break e}}return le}function s(ie,le){var ae=ie.sortIndex-le.sortIndex;return ae!==0?ae:ie.id-le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var p=[],m=[],v=1,w=null,y=3,_=!1,C=!1,I=!1,M=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(ie){for(var le=n(m);le!==null;){if(le.callback===null)o(m);else if(le.startTime<=ie)o(m),le.sortIndex=le.expirationTime,t(p,le);else break;le=n(m)}}function A(ie){if(I=!1,$(ie),!C)if(n(p)!==null)C=!0,xe(W);else{var le=n(m);le!==null&&Ne(A,le.startTime-ie)}}function W(ie,le){C=!1,I&&(I=!1,N(H),H=-1),_=!0;var ae=y;try{for($(le),w=n(p);w!==null&&(!(w.expirationTime>le)||ie&&!he());){var T=w.callback;if(typeof T=="function"){w.callback=null,y=w.priorityLevel;var D=T(w.expirationTime<=le);le=e.unstable_now(),typeof D=="function"?w.callback=D:w===n(p)&&o(p),$(le)}else o(p);w=n(p)}if(w!==null)var X=!0;else{var ce=n(m);ce!==null&&Ne(A,ce.startTime-le),X=!1}return X}finally{w=null,y=ae,_=!1}}var B=!1,K=null,H=-1,ee=5,Z=-1;function he(){return!(e.unstable_now()-Z<ee)}function me(){if(K!==null){var ie=e.unstable_now();Z=ie;var le=!0;try{le=K(!0,ie)}finally{le?ne():(B=!1,K=null)}}else B=!1}var ne;if(typeof L=="function")ne=function(){L(me)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,Ie=se.port2;se.port1.onmessage=me,ne=function(){Ie.postMessage(null)}}else ne=function(){M(me,0)};function xe(ie){K=ie,B||(B=!0,ne())}function Ne(ie,le){H=M(function(){ie(e.unstable_now())},le)}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(ie){ie.callback=null},e.unstable_continueExecution=function(){C||_||(C=!0,xe(W))},e.unstable_forceFrameRate=function(ie){0>ie||125<ie?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<ie?Math.floor(1e3/ie):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(p)},e.unstable_next=function(ie){switch(y){case 1:case 2:case 3:var le=3;break;default:le=y}var ae=y;y=le;try{return ie()}finally{y=ae}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ie,le){switch(ie){case 1:case 2:case 3:case 4:case 5:break;default:ie=3}var ae=y;y=ie;try{return le()}finally{y=ae}},e.unstable_scheduleCallback=function(ie,le,ae){var T=e.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?T+ae:T):ae=T,ie){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=ae+D,ie={id:v++,callback:le,priorityLevel:ie,startTime:ae,expirationTime:D,sortIndex:-1},ae>T?(ie.sortIndex=ae,t(m,ie),n(p)===null&&ie===n(m)&&(I?(N(H),H=-1):I=!0,Ne(A,ae-T))):(ie.sortIndex=D,t(p,ie),C||_||(C=!0,xe(W))),ie},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(ie){var le=y;return function(){var ae=y;y=le;try{return ie.apply(this,arguments)}finally{y=ae}}}})(Cu)),Cu}var F4;function Dv(){return F4||(F4=1,_u.exports=Fv()),_u.exports}/**
44
+ * @license React
45
+ * react-dom.production.min.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */var D4;function $v(){if(D4)return qt;D4=1;var e=P0(),t=Dv();function n(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,a=1;a<arguments.length;a++)i+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(r,i){u(r,i),u(r+"Capture",i)}function u(r,i){for(s[r]=i,r=0;r<i.length;r++)o.add(i[r])}var f=!(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]*$/,v={},w={};function y(r){return p.call(w,r)?!0:p.call(v,r)?!1:m.test(r)?w[r]=!0:(v[r]=!0,!1)}function _(r,i,a,d){if(a!==null&&a.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:a!==null?!a.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function C(r,i,a,d){if(i===null||typeof i>"u"||_(r,i,a,d))return!0;if(d)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(r,i,a,d,h,g,x){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=h,this.mustUseProperty=a,this.propertyName=r,this.type=i,this.sanitizeURL=g,this.removeEmptyString=x}var M={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){M[r]=new I(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];M[i]=new I(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){M[r]=new I(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){M[r]=new I(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){M[r]=new I(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){M[r]=new I(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){M[r]=new I(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){M[r]=new I(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){M[r]=new I(r,5,!1,r.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function L(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(N,L);M[i]=new I(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(N,L);M[i]=new I(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(N,L);M[i]=new I(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){M[r]=new I(r,1,!1,r.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(r){M[r]=new I(r,1,!1,r.toLowerCase(),null,!0,!0)});function $(r,i,a,d){var h=M.hasOwnProperty(i)?M[i]:null;(h!==null?h.type!==0:d||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(C(i,a,h,d)&&(a=null),d||h===null?y(i)&&(a===null?r.removeAttribute(i):r.setAttribute(i,""+a)):h.mustUseProperty?r[h.propertyName]=a===null?h.type===3?!1:"":a:(i=h.attributeName,d=h.attributeNamespace,a===null?r.removeAttribute(i):(h=h.type,a=h===3||h===4&&a===!0?"":""+a,d?r.setAttributeNS(d,i,a):r.setAttribute(i,a))))}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),B=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),Z=Symbol.for("react.provider"),he=Symbol.for("react.context"),me=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Ne=Symbol.for("react.offscreen"),ie=Symbol.iterator;function le(r){return r===null||typeof r!="object"?null:(r=ie&&r[ie]||r["@@iterator"],typeof r=="function"?r:null)}var ae=Object.assign,T;function D(r){if(T===void 0)try{throw Error()}catch(a){var i=a.stack.trim().match(/\n( *(at )?)/);T=i&&i[1]||""}return`
52
+ `+T+r}var X=!1;function ce(r,i){if(!r||X)return"";X=!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(F){var d=F}Reflect.construct(r,[],i)}else{try{i.call()}catch(F){d=F}r.call(i.prototype)}else{try{throw Error()}catch(F){d=F}r()}}catch(F){if(F&&d&&typeof F.stack=="string"){for(var h=F.stack.split(`
53
+ `),g=d.stack.split(`
54
+ `),x=h.length-1,k=g.length-1;1<=x&&0<=k&&h[x]!==g[k];)k--;for(;1<=x&&0<=k;x--,k--)if(h[x]!==g[k]){if(x!==1||k!==1)do if(x--,k--,0>k||h[x]!==g[k]){var E=`
55
+ `+h[x].replace(" at new "," at ");return r.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",r.displayName)),E}while(1<=x&&0<=k);break}}}finally{X=!1,Error.prepareStackTrace=a}return(r=r?r.displayName||r.name:"")?D(r):""}function Me(r){switch(r.tag){case 5:return D(r.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return r=ce(r.type,!1),r;case 11:return r=ce(r.type.render,!1),r;case 1:return r=ce(r.type,!0),r;default:return""}}function Te(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case K:return"Fragment";case B:return"Portal";case ee:return"Profiler";case H:return"StrictMode";case ne:return"Suspense";case se:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case he:return(r.displayName||"Context")+".Consumer";case Z:return(r._context.displayName||"Context")+".Provider";case me:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ie:return i=r.displayName||null,i!==null?i:Te(r.type)||"Memo";case xe:i=r._payload,r=r._init;try{return Te(r(i))}catch{}}return null}function He(r){var i=r.type;switch(r.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 r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Te(i);case 8:return i===H?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function G(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ve(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Be(r){var i=ve(r)?"checked":"value",a=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),d=""+r[i];if(!r.hasOwnProperty(i)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var h=a.get,g=a.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(x){d=""+x,g.call(this,x)}}),Object.defineProperty(r,i,{enumerable:a.enumerable}),{getValue:function(){return d},setValue:function(x){d=""+x},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Ye(r){r._valueTracker||(r._valueTracker=Be(r))}function Qe(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var a=i.getValue(),d="";return r&&(d=ve(r)?r.checked?"true":"false":r.value),r=d,r!==a?(i.setValue(r),!0):!1}function vt(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Ae(r,i){var a=i.checked;return ae({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??r._wrapperState.initialChecked})}function Ct(r,i){var a=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;a=G(i.value!=null?i.value:a),r._wrapperState={initialChecked:d,initialValue:a,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Kn(r,i){i=i.checked,i!=null&&$(r,"checked",i,!1)}function cn(r,i){Kn(r,i);var a=G(i.value),d=i.type;if(a!=null)d==="number"?(a===0&&r.value===""||r.value!=a)&&(r.value=""+a):r.value!==""+a&&(r.value=""+a);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?wt(r,i.type,a):i.hasOwnProperty("defaultValue")&&wt(r,i.type,G(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function Xt(r,i,a){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,a||i===r.value||(r.value=i),r.defaultValue=i}a=r.name,a!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,a!==""&&(r.name=a)}function wt(r,i,a){(i!=="number"||vt(r.ownerDocument)!==r)&&(a==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+a&&(r.defaultValue=""+a))}var un=Array.isArray;function Yn(r,i,a,d){if(r=r.options,i){i={};for(var h=0;h<a.length;h++)i["$"+a[h]]=!0;for(a=0;a<r.length;a++)h=i.hasOwnProperty("$"+r[a].value),r[a].selected!==h&&(r[a].selected=h),h&&d&&(r[a].defaultSelected=!0)}else{for(a=""+G(a),i=null,h=0;h<r.length;h++){if(r[h].value===a){r[h].selected=!0,d&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Co(r,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return ae({},i,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Ci(r,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(un(a)){if(1<a.length)throw Error(n(93));a=a[0]}i=a}i==null&&(i=""),a=i}r._wrapperState={initialValue:G(a)}}function bi(r,i){var a=G(i.value),d=G(i.defaultValue);a!=null&&(a=""+a,a!==r.value&&(r.value=a),i.defaultValue==null&&r.defaultValue!==a&&(r.defaultValue=a)),d!=null&&(r.defaultValue=""+d)}function L2(r){var i=r.textContent;i===r._wrapperState.initialValue&&i!==""&&i!==null&&(r.value=i)}function T2(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _l(r,i){return r==null||r==="http://www.w3.org/1999/xhtml"?T2(i):r==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Gs,z2=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,a,d,h){MSApp.execUnsafeLocalFunction(function(){return r(i,a,d,h)})}:r})(function(r,i){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=i;else{for(Gs=Gs||document.createElement("div"),Gs.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Gs.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function ki(r,i){if(i){var a=r.firstChild;if(a&&a===r.lastChild&&a.nodeType===3){a.nodeValue=i;return}}r.textContent=i}var Si={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},dp=["Webkit","ms","Moz","O"];Object.keys(Si).forEach(function(r){dp.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),Si[i]=Si[r]})});function P2(r,i,a){return i==null||typeof i=="boolean"||i===""?"":a||typeof i!="number"||i===0||Si.hasOwnProperty(r)&&Si[r]?(""+i).trim():i+"px"}function N2(r,i){r=r.style;for(var a in i)if(i.hasOwnProperty(a)){var d=a.indexOf("--")===0,h=P2(a,i[a],d);a==="float"&&(a="cssFloat"),d?r.setProperty(a,h):r[a]=h}}var fp=ae({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 Cl(r,i){if(i){if(fp[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));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 bl(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var kl=null;function Sl(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var jl=null,bo=null,ko=null;function R2(r){if(r=qi(r)){if(typeof jl!="function")throw Error(n(280));var i=r.stateNode;i&&(i=v1(i),jl(r.stateNode,r.type,i))}}function A2(r){bo?ko?ko.push(r):ko=[r]:bo=r}function F2(){if(bo){var r=bo,i=ko;if(ko=bo=null,R2(r),i)for(r=0;r<i.length;r++)R2(i[r])}}function D2(r,i){return r(i)}function $2(){}var El=!1;function H2(r,i,a){if(El)return r(i,a);El=!0;try{return D2(r,i,a)}finally{El=!1,(bo!==null||ko!==null)&&($2(),F2())}}function ji(r,i){var a=r.stateNode;if(a===null)return null;var d=v1(a);if(d===null)return null;a=d[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":(d=!d.disabled)||(r=r.type,d=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!d;break e;default:r=!1}if(r)return null;if(a&&typeof a!="function")throw Error(n(231,i,typeof a));return a}var Ml=!1;if(f)try{var Ei={};Object.defineProperty(Ei,"passive",{get:function(){Ml=!0}}),window.addEventListener("test",Ei,Ei),window.removeEventListener("test",Ei,Ei)}catch{Ml=!1}function hp(r,i,a,d,h,g,x,k,E){var F=Array.prototype.slice.call(arguments,3);try{i.apply(a,F)}catch(q){this.onError(q)}}var Mi=!1,Ks=null,Ys=!1,Il=null,pp={onError:function(r){Mi=!0,Ks=r}};function mp(r,i,a,d,h,g,x,k,E){Mi=!1,Ks=null,hp.apply(pp,arguments)}function gp(r,i,a,d,h,g,x,k,E){if(mp.apply(this,arguments),Mi){if(Mi){var F=Ks;Mi=!1,Ks=null}else throw Error(n(198));Ys||(Ys=!0,Il=F)}}function Zr(r){var i=r,a=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(a=i.return),r=i.return;while(r)}return i.tag===3?a:null}function V2(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function B2(r){if(Zr(r)!==r)throw Error(n(188))}function vp(r){var i=r.alternate;if(!i){if(i=Zr(r),i===null)throw Error(n(188));return i!==r?null:r}for(var a=r,d=i;;){var h=a.return;if(h===null)break;var g=h.alternate;if(g===null){if(d=h.return,d!==null){a=d;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===a)return B2(h),r;if(g===d)return B2(h),i;g=g.sibling}throw Error(n(188))}if(a.return!==d.return)a=h,d=g;else{for(var x=!1,k=h.child;k;){if(k===a){x=!0,a=h,d=g;break}if(k===d){x=!0,d=h,a=g;break}k=k.sibling}if(!x){for(k=g.child;k;){if(k===a){x=!0,a=g,d=h;break}if(k===d){x=!0,d=g,a=h;break}k=k.sibling}if(!x)throw Error(n(189))}}if(a.alternate!==d)throw Error(n(190))}if(a.tag!==3)throw Error(n(188));return a.stateNode.current===a?r:i}function Z2(r){return r=vp(r),r!==null?W2(r):null}function W2(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var i=W2(r);if(i!==null)return i;r=r.sibling}return null}var U2=t.unstable_scheduleCallback,q2=t.unstable_cancelCallback,wp=t.unstable_shouldYield,yp=t.unstable_requestPaint,ht=t.unstable_now,xp=t.unstable_getCurrentPriorityLevel,Ol=t.unstable_ImmediatePriority,G2=t.unstable_UserBlockingPriority,Js=t.unstable_NormalPriority,_p=t.unstable_LowPriority,K2=t.unstable_IdlePriority,Qs=null,Nn=null;function Cp(r){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(Qs,r,void 0,(r.current.flags&128)===128)}catch{}}var _n=Math.clz32?Math.clz32:Sp,bp=Math.log,kp=Math.LN2;function Sp(r){return r>>>=0,r===0?32:31-(bp(r)/kp|0)|0}var Xs=64,e1=4194304;function Ii(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function t1(r,i){var a=r.pendingLanes;if(a===0)return 0;var d=0,h=r.suspendedLanes,g=r.pingedLanes,x=a&268435455;if(x!==0){var k=x&~h;k!==0?d=Ii(k):(g&=x,g!==0&&(d=Ii(g)))}else x=a&~h,x!==0?d=Ii(x):g!==0&&(d=Ii(g));if(d===0)return 0;if(i!==0&&i!==d&&(i&h)===0&&(h=d&-d,g=i&-i,h>=g||h===16&&(g&4194240)!==0))return i;if((d&4)!==0&&(d|=a&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=d;0<i;)a=31-_n(i),h=1<<a,d|=r[a],i&=~h;return d}function jp(r,i){switch(r){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 Ep(r,i){for(var a=r.suspendedLanes,d=r.pingedLanes,h=r.expirationTimes,g=r.pendingLanes;0<g;){var x=31-_n(g),k=1<<x,E=h[x];E===-1?((k&a)===0||(k&d)!==0)&&(h[x]=jp(k,i)):E<=i&&(r.expiredLanes|=k),g&=~k}}function Ll(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function Y2(){var r=Xs;return Xs<<=1,(Xs&4194240)===0&&(Xs=64),r}function Tl(r){for(var i=[],a=0;31>a;a++)i.push(r);return i}function Oi(r,i,a){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-_n(i),r[i]=a}function Mp(r,i){var a=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0<a;){var h=31-_n(a),g=1<<h;i[h]=0,d[h]=-1,r[h]=-1,a&=~g}}function zl(r,i){var a=r.entangledLanes|=i;for(r=r.entanglements;a;){var d=31-_n(a),h=1<<d;h&i|r[d]&i&&(r[d]|=i),a&=~h}}var Je=0;function J2(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var Q2,Pl,X2,ed,td,Nl=!1,n1=[],gr=null,vr=null,wr=null,Li=new Map,Ti=new Map,yr=[],Ip="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 nd(r,i){switch(r){case"focusin":case"focusout":gr=null;break;case"dragenter":case"dragleave":vr=null;break;case"mouseover":case"mouseout":wr=null;break;case"pointerover":case"pointerout":Li.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ti.delete(i.pointerId)}}function zi(r,i,a,d,h,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:a,eventSystemFlags:d,nativeEvent:g,targetContainers:[h]},i!==null&&(i=qi(i),i!==null&&Pl(i)),r):(r.eventSystemFlags|=d,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function Op(r,i,a,d,h){switch(i){case"focusin":return gr=zi(gr,r,i,a,d,h),!0;case"dragenter":return vr=zi(vr,r,i,a,d,h),!0;case"mouseover":return wr=zi(wr,r,i,a,d,h),!0;case"pointerover":var g=h.pointerId;return Li.set(g,zi(Li.get(g)||null,r,i,a,d,h)),!0;case"gotpointercapture":return g=h.pointerId,Ti.set(g,zi(Ti.get(g)||null,r,i,a,d,h)),!0}return!1}function rd(r){var i=Wr(r.target);if(i!==null){var a=Zr(i);if(a!==null){if(i=a.tag,i===13){if(i=V2(a),i!==null){r.blockedOn=i,td(r.priority,function(){X2(a)});return}}else if(i===3&&a.stateNode.current.memoizedState.isDehydrated){r.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}r.blockedOn=null}function r1(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var a=Al(r.domEventName,r.eventSystemFlags,i[0],r.nativeEvent);if(a===null){a=r.nativeEvent;var d=new a.constructor(a.type,a);kl=d,a.target.dispatchEvent(d),kl=null}else return i=qi(a),i!==null&&Pl(i),r.blockedOn=a,!1;i.shift()}return!0}function od(r,i,a){r1(r)&&a.delete(i)}function Lp(){Nl=!1,gr!==null&&r1(gr)&&(gr=null),vr!==null&&r1(vr)&&(vr=null),wr!==null&&r1(wr)&&(wr=null),Li.forEach(od),Ti.forEach(od)}function Pi(r,i){r.blockedOn===i&&(r.blockedOn=null,Nl||(Nl=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Lp)))}function Ni(r){function i(h){return Pi(h,r)}if(0<n1.length){Pi(n1[0],r);for(var a=1;a<n1.length;a++){var d=n1[a];d.blockedOn===r&&(d.blockedOn=null)}}for(gr!==null&&Pi(gr,r),vr!==null&&Pi(vr,r),wr!==null&&Pi(wr,r),Li.forEach(i),Ti.forEach(i),a=0;a<yr.length;a++)d=yr[a],d.blockedOn===r&&(d.blockedOn=null);for(;0<yr.length&&(a=yr[0],a.blockedOn===null);)rd(a),a.blockedOn===null&&yr.shift()}var So=A.ReactCurrentBatchConfig,o1=!0;function Tp(r,i,a,d){var h=Je,g=So.transition;So.transition=null;try{Je=1,Rl(r,i,a,d)}finally{Je=h,So.transition=g}}function zp(r,i,a,d){var h=Je,g=So.transition;So.transition=null;try{Je=4,Rl(r,i,a,d)}finally{Je=h,So.transition=g}}function Rl(r,i,a,d){if(o1){var h=Al(r,i,a,d);if(h===null)ec(r,i,d,i1,a),nd(r,d);else if(Op(h,r,i,a,d))d.stopPropagation();else if(nd(r,d),i&4&&-1<Ip.indexOf(r)){for(;h!==null;){var g=qi(h);if(g!==null&&Q2(g),g=Al(r,i,a,d),g===null&&ec(r,i,d,i1,a),g===h)break;h=g}h!==null&&d.stopPropagation()}else ec(r,i,d,null,a)}}var i1=null;function Al(r,i,a,d){if(i1=null,r=Sl(d),r=Wr(r),r!==null)if(i=Zr(r),i===null)r=null;else if(a=i.tag,a===13){if(r=V2(i),r!==null)return r;r=null}else if(a===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null);return i1=r,null}function id(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(xp()){case Ol:return 1;case G2:return 4;case Js:case _p:return 16;case K2:return 536870912;default:return 16}default:return 16}}var xr=null,Fl=null,s1=null;function sd(){if(s1)return s1;var r,i=Fl,a=i.length,d,h="value"in xr?xr.value:xr.textContent,g=h.length;for(r=0;r<a&&i[r]===h[r];r++);var x=a-r;for(d=1;d<=x&&i[a-d]===h[g-d];d++);return s1=h.slice(r,1<d?1-d:void 0)}function a1(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function l1(){return!0}function ad(){return!1}function en(r){function i(a,d,h,g,x){this._reactName=a,this._targetInst=h,this.type=d,this.nativeEvent=g,this.target=x,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(a=r[k],this[k]=a?a(g):g[k]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?l1:ad,this.isPropagationStopped=ad,this}return ae(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=l1)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=l1)},persist:function(){},isPersistent:l1}),i}var jo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Dl=en(jo),Ri=ae({},jo,{view:0,detail:0}),Pp=en(Ri),$l,Hl,Ai,c1=ae({},Ri,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bl,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Ai&&(Ai&&r.type==="mousemove"?($l=r.screenX-Ai.screenX,Hl=r.screenY-Ai.screenY):Hl=$l=0,Ai=r),$l)},movementY:function(r){return"movementY"in r?r.movementY:Hl}}),ld=en(c1),Np=ae({},c1,{dataTransfer:0}),Rp=en(Np),Ap=ae({},Ri,{relatedTarget:0}),Vl=en(Ap),Fp=ae({},jo,{animationName:0,elapsedTime:0,pseudoElement:0}),Dp=en(Fp),$p=ae({},jo,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Hp=en($p),Vp=ae({},jo,{data:0}),cd=en(Vp),Bp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zp={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"},Wp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Up(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=Wp[r])?!!i[r]:!1}function Bl(){return Up}var qp=ae({},Ri,{key:function(r){if(r.key){var i=Bp[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=a1(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Zp[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bl,charCode:function(r){return r.type==="keypress"?a1(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?a1(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Gp=en(qp),Kp=ae({},c1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ud=en(Kp),Yp=ae({},Ri,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bl}),Jp=en(Yp),Qp=ae({},jo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xp=en(Qp),em=ae({},c1,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),tm=en(em),nm=[9,13,27,32],Zl=f&&"CompositionEvent"in window,Fi=null;f&&"documentMode"in document&&(Fi=document.documentMode);var rm=f&&"TextEvent"in window&&!Fi,dd=f&&(!Zl||Fi&&8<Fi&&11>=Fi),fd=" ",hd=!1;function pd(r,i){switch(r){case"keyup":return nm.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function md(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Eo=!1;function om(r,i){switch(r){case"compositionend":return md(i);case"keypress":return i.which!==32?null:(hd=!0,fd);case"textInput":return r=i.data,r===fd&&hd?null:r;default:return null}}function im(r,i){if(Eo)return r==="compositionend"||!Zl&&pd(r,i)?(r=sd(),s1=Fl=xr=null,Eo=!1,r):null;switch(r){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 dd&&i.locale!=="ko"?null:i.data;default:return null}}var sm={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 gd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!sm[r.type]:i==="textarea"}function vd(r,i,a,d){A2(d),i=p1(i,"onChange"),0<i.length&&(a=new Dl("onChange","change",null,a,d),r.push({event:a,listeners:i}))}var Di=null,$i=null;function am(r){Nd(r,0)}function u1(r){var i=To(r);if(Qe(i))return r}function lm(r,i){if(r==="change")return i}var wd=!1;if(f){var Wl;if(f){var Ul="oninput"in document;if(!Ul){var yd=document.createElement("div");yd.setAttribute("oninput","return;"),Ul=typeof yd.oninput=="function"}Wl=Ul}else Wl=!1;wd=Wl&&(!document.documentMode||9<document.documentMode)}function xd(){Di&&(Di.detachEvent("onpropertychange",_d),$i=Di=null)}function _d(r){if(r.propertyName==="value"&&u1($i)){var i=[];vd(i,$i,r,Sl(r)),H2(am,i)}}function cm(r,i,a){r==="focusin"?(xd(),Di=i,$i=a,Di.attachEvent("onpropertychange",_d)):r==="focusout"&&xd()}function um(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return u1($i)}function dm(r,i){if(r==="click")return u1(i)}function fm(r,i){if(r==="input"||r==="change")return u1(i)}function hm(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var Cn=typeof Object.is=="function"?Object.is:hm;function Hi(r,i){if(Cn(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var a=Object.keys(r),d=Object.keys(i);if(a.length!==d.length)return!1;for(d=0;d<a.length;d++){var h=a[d];if(!p.call(i,h)||!Cn(r[h],i[h]))return!1}return!0}function Cd(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function bd(r,i){var a=Cd(r);r=0;for(var d;a;){if(a.nodeType===3){if(d=r+a.textContent.length,r<=i&&d>=i)return{node:a,offset:i-r};r=d}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Cd(a)}}function kd(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?kd(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Sd(){for(var r=window,i=vt();i instanceof r.HTMLIFrameElement;){try{var a=typeof i.contentWindow.location.href=="string"}catch{a=!1}if(a)r=i.contentWindow;else break;i=vt(r.document)}return i}function ql(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function pm(r){var i=Sd(),a=r.focusedElem,d=r.selectionRange;if(i!==a&&a&&a.ownerDocument&&kd(a.ownerDocument.documentElement,a)){if(d!==null&&ql(a)){if(i=d.start,r=d.end,r===void 0&&(r=i),"selectionStart"in a)a.selectionStart=i,a.selectionEnd=Math.min(r,a.value.length);else if(r=(i=a.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var h=a.textContent.length,g=Math.min(d.start,h);d=d.end===void 0?g:Math.min(d.end,h),!r.extend&&g>d&&(h=d,d=g,g=h),h=bd(a,g);var x=bd(a,d);h&&x&&(r.rangeCount!==1||r.anchorNode!==h.node||r.anchorOffset!==h.offset||r.focusNode!==x.node||r.focusOffset!==x.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),r.removeAllRanges(),g>d?(r.addRange(i),r.extend(x.node,x.offset)):(i.setEnd(x.node,x.offset),r.addRange(i)))}}for(i=[],r=a;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<i.length;a++)r=i[a],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var mm=f&&"documentMode"in document&&11>=document.documentMode,Mo=null,Gl=null,Vi=null,Kl=!1;function jd(r,i,a){var d=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Kl||Mo==null||Mo!==vt(d)||(d=Mo,"selectionStart"in d&&ql(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Vi&&Hi(Vi,d)||(Vi=d,d=p1(Gl,"onSelect"),0<d.length&&(i=new Dl("onSelect","select",null,i,a),r.push({event:i,listeners:d}),i.target=Mo)))}function d1(r,i){var a={};return a[r.toLowerCase()]=i.toLowerCase(),a["Webkit"+r]="webkit"+i,a["Moz"+r]="moz"+i,a}var Io={animationend:d1("Animation","AnimationEnd"),animationiteration:d1("Animation","AnimationIteration"),animationstart:d1("Animation","AnimationStart"),transitionend:d1("Transition","TransitionEnd")},Yl={},Ed={};f&&(Ed=document.createElement("div").style,"AnimationEvent"in window||(delete Io.animationend.animation,delete Io.animationiteration.animation,delete Io.animationstart.animation),"TransitionEvent"in window||delete Io.transitionend.transition);function f1(r){if(Yl[r])return Yl[r];if(!Io[r])return r;var i=Io[r],a;for(a in i)if(i.hasOwnProperty(a)&&a in Ed)return Yl[r]=i[a];return r}var Md=f1("animationend"),Id=f1("animationiteration"),Od=f1("animationstart"),Ld=f1("transitionend"),Td=new Map,zd="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 _r(r,i){Td.set(r,i),l(i,[r])}for(var Jl=0;Jl<zd.length;Jl++){var Ql=zd[Jl],gm=Ql.toLowerCase(),vm=Ql[0].toUpperCase()+Ql.slice(1);_r(gm,"on"+vm)}_r(Md,"onAnimationEnd"),_r(Id,"onAnimationIteration"),_r(Od,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(Ld,"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 Bi="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(" "),wm=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bi));function Pd(r,i,a){var d=r.type||"unknown-event";r.currentTarget=a,gp(d,i,void 0,r),r.currentTarget=null}function Nd(r,i){i=(i&4)!==0;for(var a=0;a<r.length;a++){var d=r[a],h=d.event;d=d.listeners;e:{var g=void 0;if(i)for(var x=d.length-1;0<=x;x--){var k=d[x],E=k.instance,F=k.currentTarget;if(k=k.listener,E!==g&&h.isPropagationStopped())break e;Pd(h,k,F),g=E}else for(x=0;x<d.length;x++){if(k=d[x],E=k.instance,F=k.currentTarget,k=k.listener,E!==g&&h.isPropagationStopped())break e;Pd(h,k,F),g=E}}}if(Ys)throw r=Il,Ys=!1,Il=null,r}function ot(r,i){var a=i[sc];a===void 0&&(a=i[sc]=new Set);var d=r+"__bubble";a.has(d)||(Rd(i,r,2,!1),a.add(d))}function Xl(r,i,a){var d=0;i&&(d|=4),Rd(a,r,d,i)}var h1="_reactListening"+Math.random().toString(36).slice(2);function Zi(r){if(!r[h1]){r[h1]=!0,o.forEach(function(a){a!=="selectionchange"&&(wm.has(a)||Xl(a,!1,r),Xl(a,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[h1]||(i[h1]=!0,Xl("selectionchange",!1,i))}}function Rd(r,i,a,d){switch(id(i)){case 1:var h=Tp;break;case 4:h=zp;break;default:h=Rl}a=h.bind(null,i,a,r),h=void 0,!Ml||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),d?h!==void 0?r.addEventListener(i,a,{capture:!0,passive:h}):r.addEventListener(i,a,!0):h!==void 0?r.addEventListener(i,a,{passive:h}):r.addEventListener(i,a,!1)}function ec(r,i,a,d,h){var g=d;if((i&1)===0&&(i&2)===0&&d!==null)e:for(;;){if(d===null)return;var x=d.tag;if(x===3||x===4){var k=d.stateNode.containerInfo;if(k===h||k.nodeType===8&&k.parentNode===h)break;if(x===4)for(x=d.return;x!==null;){var E=x.tag;if((E===3||E===4)&&(E=x.stateNode.containerInfo,E===h||E.nodeType===8&&E.parentNode===h))return;x=x.return}for(;k!==null;){if(x=Wr(k),x===null)return;if(E=x.tag,E===5||E===6){d=g=x;continue e}k=k.parentNode}}d=d.return}H2(function(){var F=g,q=Sl(a),Q=[];e:{var U=Td.get(r);if(U!==void 0){var ue=Dl,_e=r;switch(r){case"keypress":if(a1(a)===0)break e;case"keydown":case"keyup":ue=Gp;break;case"focusin":_e="focus",ue=Vl;break;case"focusout":_e="blur",ue=Vl;break;case"beforeblur":case"afterblur":ue=Vl;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":ue=ld;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ue=Rp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ue=Jp;break;case Md:case Id:case Od:ue=Dp;break;case Ld:ue=Xp;break;case"scroll":ue=Pp;break;case"wheel":ue=tm;break;case"copy":case"cut":case"paste":ue=Hp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ue=ud}var Ce=(i&4)!==0,pt=!Ce&&r==="scroll",z=Ce?U!==null?U+"Capture":null:U;Ce=[];for(var O=F,R;O!==null;){R=O;var te=R.stateNode;if(R.tag===5&&te!==null&&(R=te,z!==null&&(te=ji(O,z),te!=null&&Ce.push(Wi(O,te,R)))),pt)break;O=O.return}0<Ce.length&&(U=new ue(U,_e,null,a,q),Q.push({event:U,listeners:Ce}))}}if((i&7)===0){e:{if(U=r==="mouseover"||r==="pointerover",ue=r==="mouseout"||r==="pointerout",U&&a!==kl&&(_e=a.relatedTarget||a.fromElement)&&(Wr(_e)||_e[Jn]))break e;if((ue||U)&&(U=q.window===q?q:(U=q.ownerDocument)?U.defaultView||U.parentWindow:window,ue?(_e=a.relatedTarget||a.toElement,ue=F,_e=_e?Wr(_e):null,_e!==null&&(pt=Zr(_e),_e!==pt||_e.tag!==5&&_e.tag!==6)&&(_e=null)):(ue=null,_e=F),ue!==_e)){if(Ce=ld,te="onMouseLeave",z="onMouseEnter",O="mouse",(r==="pointerout"||r==="pointerover")&&(Ce=ud,te="onPointerLeave",z="onPointerEnter",O="pointer"),pt=ue==null?U:To(ue),R=_e==null?U:To(_e),U=new Ce(te,O+"leave",ue,a,q),U.target=pt,U.relatedTarget=R,te=null,Wr(q)===F&&(Ce=new Ce(z,O+"enter",_e,a,q),Ce.target=R,Ce.relatedTarget=pt,te=Ce),pt=te,ue&&_e)t:{for(Ce=ue,z=_e,O=0,R=Ce;R;R=Oo(R))O++;for(R=0,te=z;te;te=Oo(te))R++;for(;0<O-R;)Ce=Oo(Ce),O--;for(;0<R-O;)z=Oo(z),R--;for(;O--;){if(Ce===z||z!==null&&Ce===z.alternate)break t;Ce=Oo(Ce),z=Oo(z)}Ce=null}else Ce=null;ue!==null&&Ad(Q,U,ue,Ce,!1),_e!==null&&pt!==null&&Ad(Q,pt,_e,Ce,!0)}}e:{if(U=F?To(F):window,ue=U.nodeName&&U.nodeName.toLowerCase(),ue==="select"||ue==="input"&&U.type==="file")var ke=lm;else if(gd(U))if(wd)ke=fm;else{ke=um;var Oe=cm}else(ue=U.nodeName)&&ue.toLowerCase()==="input"&&(U.type==="checkbox"||U.type==="radio")&&(ke=dm);if(ke&&(ke=ke(r,F))){vd(Q,ke,a,q);break e}Oe&&Oe(r,U,F),r==="focusout"&&(Oe=U._wrapperState)&&Oe.controlled&&U.type==="number"&&wt(U,"number",U.value)}switch(Oe=F?To(F):window,r){case"focusin":(gd(Oe)||Oe.contentEditable==="true")&&(Mo=Oe,Gl=F,Vi=null);break;case"focusout":Vi=Gl=Mo=null;break;case"mousedown":Kl=!0;break;case"contextmenu":case"mouseup":case"dragend":Kl=!1,jd(Q,a,q);break;case"selectionchange":if(mm)break;case"keydown":case"keyup":jd(Q,a,q)}var Le;if(Zl)e:{switch(r){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else Eo?pd(r,a)&&(Re="onCompositionEnd"):r==="keydown"&&a.keyCode===229&&(Re="onCompositionStart");Re&&(dd&&a.locale!=="ko"&&(Eo||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&Eo&&(Le=sd()):(xr=q,Fl="value"in xr?xr.value:xr.textContent,Eo=!0)),Oe=p1(F,Re),0<Oe.length&&(Re=new cd(Re,r,null,a,q),Q.push({event:Re,listeners:Oe}),Le?Re.data=Le:(Le=md(a),Le!==null&&(Re.data=Le)))),(Le=rm?om(r,a):im(r,a))&&(F=p1(F,"onBeforeInput"),0<F.length&&(q=new cd("onBeforeInput","beforeinput",null,a,q),Q.push({event:q,listeners:F}),q.data=Le))}Nd(Q,i)})}function Wi(r,i,a){return{instance:r,listener:i,currentTarget:a}}function p1(r,i){for(var a=i+"Capture",d=[];r!==null;){var h=r,g=h.stateNode;h.tag===5&&g!==null&&(h=g,g=ji(r,a),g!=null&&d.unshift(Wi(r,g,h)),g=ji(r,i),g!=null&&d.push(Wi(r,g,h))),r=r.return}return d}function Oo(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Ad(r,i,a,d,h){for(var g=i._reactName,x=[];a!==null&&a!==d;){var k=a,E=k.alternate,F=k.stateNode;if(E!==null&&E===d)break;k.tag===5&&F!==null&&(k=F,h?(E=ji(a,g),E!=null&&x.unshift(Wi(a,E,k))):h||(E=ji(a,g),E!=null&&x.push(Wi(a,E,k)))),a=a.return}x.length!==0&&r.push({event:i,listeners:x})}var ym=/\r\n?/g,xm=/\u0000|\uFFFD/g;function Fd(r){return(typeof r=="string"?r:""+r).replace(ym,`
56
+ `).replace(xm,"")}function m1(r,i,a){if(i=Fd(i),Fd(r)!==i&&a)throw Error(n(425))}function g1(){}var tc=null,nc=null;function rc(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var oc=typeof setTimeout=="function"?setTimeout:void 0,_m=typeof clearTimeout=="function"?clearTimeout:void 0,Dd=typeof Promise=="function"?Promise:void 0,Cm=typeof queueMicrotask=="function"?queueMicrotask:typeof Dd<"u"?function(r){return Dd.resolve(null).then(r).catch(bm)}:oc;function bm(r){setTimeout(function(){throw r})}function ic(r,i){var a=i,d=0;do{var h=a.nextSibling;if(r.removeChild(a),h&&h.nodeType===8)if(a=h.data,a==="/$"){if(d===0){r.removeChild(h),Ni(i);return}d--}else a!=="$"&&a!=="$?"&&a!=="$!"||d++;a=h}while(a);Ni(i)}function Cr(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return r}function $d(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var a=r.data;if(a==="$"||a==="$!"||a==="$?"){if(i===0)return r;i--}else a==="/$"&&i++}r=r.previousSibling}return null}var Lo=Math.random().toString(36).slice(2),Rn="__reactFiber$"+Lo,Ui="__reactProps$"+Lo,Jn="__reactContainer$"+Lo,sc="__reactEvents$"+Lo,km="__reactListeners$"+Lo,Sm="__reactHandles$"+Lo;function Wr(r){var i=r[Rn];if(i)return i;for(var a=r.parentNode;a;){if(i=a[Jn]||a[Rn]){if(a=i.alternate,i.child!==null||a!==null&&a.child!==null)for(r=$d(r);r!==null;){if(a=r[Rn])return a;r=$d(r)}return i}r=a,a=r.parentNode}return null}function qi(r){return r=r[Rn]||r[Jn],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function To(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function v1(r){return r[Ui]||null}var ac=[],zo=-1;function br(r){return{current:r}}function it(r){0>zo||(r.current=ac[zo],ac[zo]=null,zo--)}function tt(r,i){zo++,ac[zo]=r.current,r.current=i}var kr={},Lt=br(kr),Vt=br(!1),Ur=kr;function Po(r,i){var a=r.type.contextTypes;if(!a)return kr;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var h={},g;for(g in a)h[g]=i[g];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=h),h}function Bt(r){return r=r.childContextTypes,r!=null}function w1(){it(Vt),it(Lt)}function Hd(r,i,a){if(Lt.current!==kr)throw Error(n(168));tt(Lt,i),tt(Vt,a)}function Vd(r,i,a){var d=r.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return a;d=d.getChildContext();for(var h in d)if(!(h in i))throw Error(n(108,He(r)||"Unknown",h));return ae({},a,d)}function y1(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||kr,Ur=Lt.current,tt(Lt,r),tt(Vt,Vt.current),!0}function Bd(r,i,a){var d=r.stateNode;if(!d)throw Error(n(169));a?(r=Vd(r,i,Ur),d.__reactInternalMemoizedMergedChildContext=r,it(Vt),it(Lt),tt(Lt,r)):it(Vt),tt(Vt,a)}var Qn=null,x1=!1,lc=!1;function Zd(r){Qn===null?Qn=[r]:Qn.push(r)}function jm(r){x1=!0,Zd(r)}function Sr(){if(!lc&&Qn!==null){lc=!0;var r=0,i=Je;try{var a=Qn;for(Je=1;r<a.length;r++){var d=a[r];do d=d(!0);while(d!==null)}Qn=null,x1=!1}catch(h){throw Qn!==null&&(Qn=Qn.slice(r+1)),U2(Ol,Sr),h}finally{Je=i,lc=!1}}return null}var No=[],Ro=0,_1=null,C1=0,dn=[],fn=0,qr=null,Xn=1,er="";function Gr(r,i){No[Ro++]=C1,No[Ro++]=_1,_1=r,C1=i}function Wd(r,i,a){dn[fn++]=Xn,dn[fn++]=er,dn[fn++]=qr,qr=r;var d=Xn;r=er;var h=32-_n(d)-1;d&=~(1<<h),a+=1;var g=32-_n(i)+h;if(30<g){var x=h-h%5;g=(d&(1<<x)-1).toString(32),d>>=x,h-=x,Xn=1<<32-_n(i)+h|a<<h|d,er=g+r}else Xn=1<<g|a<<h|d,er=r}function cc(r){r.return!==null&&(Gr(r,1),Wd(r,1,0))}function uc(r){for(;r===_1;)_1=No[--Ro],No[Ro]=null,C1=No[--Ro],No[Ro]=null;for(;r===qr;)qr=dn[--fn],dn[fn]=null,er=dn[--fn],dn[fn]=null,Xn=dn[--fn],dn[fn]=null}var tn=null,nn=null,st=!1,bn=null;function Ud(r,i){var a=gn(5,null,null,0);a.elementType="DELETED",a.stateNode=i,a.return=r,i=r.deletions,i===null?(r.deletions=[a],r.flags|=16):i.push(a)}function qd(r,i){switch(r.tag){case 5:var a=r.type;return i=i.nodeType!==1||a.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(r.stateNode=i,tn=r,nn=Cr(i.firstChild),!0):!1;case 6:return i=r.pendingProps===""||i.nodeType!==3?null:i,i!==null?(r.stateNode=i,tn=r,nn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(a=qr!==null?{id:Xn,overflow:er}:null,r.memoizedState={dehydrated:i,treeContext:a,retryLane:1073741824},a=gn(18,null,null,0),a.stateNode=i,a.return=r,r.child=a,tn=r,nn=null,!0):!1;default:return!1}}function dc(r){return(r.mode&1)!==0&&(r.flags&128)===0}function fc(r){if(st){var i=nn;if(i){var a=i;if(!qd(r,i)){if(dc(r))throw Error(n(418));i=Cr(a.nextSibling);var d=tn;i&&qd(r,i)?Ud(d,a):(r.flags=r.flags&-4097|2,st=!1,tn=r)}}else{if(dc(r))throw Error(n(418));r.flags=r.flags&-4097|2,st=!1,tn=r}}}function Gd(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;tn=r}function b1(r){if(r!==tn)return!1;if(!st)return Gd(r),st=!0,!1;var i;if((i=r.tag!==3)&&!(i=r.tag!==5)&&(i=r.type,i=i!=="head"&&i!=="body"&&!rc(r.type,r.memoizedProps)),i&&(i=nn)){if(dc(r))throw Kd(),Error(n(418));for(;i;)Ud(r,i),i=Cr(i.nextSibling)}if(Gd(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8){var a=r.data;if(a==="/$"){if(i===0){nn=Cr(r.nextSibling);break e}i--}else a!=="$"&&a!=="$!"&&a!=="$?"||i++}r=r.nextSibling}nn=null}}else nn=tn?Cr(r.stateNode.nextSibling):null;return!0}function Kd(){for(var r=nn;r;)r=Cr(r.nextSibling)}function Ao(){nn=tn=null,st=!1}function hc(r){bn===null?bn=[r]:bn.push(r)}var Em=A.ReactCurrentBatchConfig;function Gi(r,i,a){if(r=a.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(n(309));var d=a.stateNode}if(!d)throw Error(n(147,r));var h=d,g=""+r;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(x){var k=h.refs;x===null?delete k[g]:k[g]=x},i._stringRef=g,i)}if(typeof r!="string")throw Error(n(284));if(!a._owner)throw Error(n(290,r))}return r}function k1(r,i){throw r=Object.prototype.toString.call(i),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r))}function Yd(r){var i=r._init;return i(r._payload)}function Jd(r){function i(z,O){if(r){var R=z.deletions;R===null?(z.deletions=[O],z.flags|=16):R.push(O)}}function a(z,O){if(!r)return null;for(;O!==null;)i(z,O),O=O.sibling;return null}function d(z,O){for(z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function h(z,O){return z=zr(z,O),z.index=0,z.sibling=null,z}function g(z,O,R){return z.index=R,r?(R=z.alternate,R!==null?(R=R.index,R<O?(z.flags|=2,O):R):(z.flags|=2,O)):(z.flags|=1048576,O)}function x(z){return r&&z.alternate===null&&(z.flags|=2),z}function k(z,O,R,te){return O===null||O.tag!==6?(O=ou(R,z.mode,te),O.return=z,O):(O=h(O,R),O.return=z,O)}function E(z,O,R,te){var ke=R.type;return ke===K?q(z,O,R.props.children,te,R.key):O!==null&&(O.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===xe&&Yd(ke)===O.type)?(te=h(O,R.props),te.ref=Gi(z,O,R),te.return=z,te):(te=G1(R.type,R.key,R.props,null,z.mode,te),te.ref=Gi(z,O,R),te.return=z,te)}function F(z,O,R,te){return O===null||O.tag!==4||O.stateNode.containerInfo!==R.containerInfo||O.stateNode.implementation!==R.implementation?(O=iu(R,z.mode,te),O.return=z,O):(O=h(O,R.children||[]),O.return=z,O)}function q(z,O,R,te,ke){return O===null||O.tag!==7?(O=no(R,z.mode,te,ke),O.return=z,O):(O=h(O,R),O.return=z,O)}function Q(z,O,R){if(typeof O=="string"&&O!==""||typeof O=="number")return O=ou(""+O,z.mode,R),O.return=z,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case W:return R=G1(O.type,O.key,O.props,null,z.mode,R),R.ref=Gi(z,null,O),R.return=z,R;case B:return O=iu(O,z.mode,R),O.return=z,O;case xe:var te=O._init;return Q(z,te(O._payload),R)}if(un(O)||le(O))return O=no(O,z.mode,R,null),O.return=z,O;k1(z,O)}return null}function U(z,O,R,te){var ke=O!==null?O.key:null;if(typeof R=="string"&&R!==""||typeof R=="number")return ke!==null?null:k(z,O,""+R,te);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case W:return R.key===ke?E(z,O,R,te):null;case B:return R.key===ke?F(z,O,R,te):null;case xe:return ke=R._init,U(z,O,ke(R._payload),te)}if(un(R)||le(R))return ke!==null?null:q(z,O,R,te,null);k1(z,R)}return null}function ue(z,O,R,te,ke){if(typeof te=="string"&&te!==""||typeof te=="number")return z=z.get(R)||null,k(O,z,""+te,ke);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case W:return z=z.get(te.key===null?R:te.key)||null,E(O,z,te,ke);case B:return z=z.get(te.key===null?R:te.key)||null,F(O,z,te,ke);case xe:var Oe=te._init;return ue(z,O,R,Oe(te._payload),ke)}if(un(te)||le(te))return z=z.get(R)||null,q(O,z,te,ke,null);k1(O,te)}return null}function _e(z,O,R,te){for(var ke=null,Oe=null,Le=O,Re=O=0,St=null;Le!==null&&Re<R.length;Re++){Le.index>Re?(St=Le,Le=null):St=Le.sibling;var Ke=U(z,Le,R[Re],te);if(Ke===null){Le===null&&(Le=St);break}r&&Le&&Ke.alternate===null&&i(z,Le),O=g(Ke,O,Re),Oe===null?ke=Ke:Oe.sibling=Ke,Oe=Ke,Le=St}if(Re===R.length)return a(z,Le),st&&Gr(z,Re),ke;if(Le===null){for(;Re<R.length;Re++)Le=Q(z,R[Re],te),Le!==null&&(O=g(Le,O,Re),Oe===null?ke=Le:Oe.sibling=Le,Oe=Le);return st&&Gr(z,Re),ke}for(Le=d(z,Le);Re<R.length;Re++)St=ue(Le,z,Re,R[Re],te),St!==null&&(r&&St.alternate!==null&&Le.delete(St.key===null?Re:St.key),O=g(St,O,Re),Oe===null?ke=St:Oe.sibling=St,Oe=St);return r&&Le.forEach(function(Pr){return i(z,Pr)}),st&&Gr(z,Re),ke}function Ce(z,O,R,te){var ke=le(R);if(typeof ke!="function")throw Error(n(150));if(R=ke.call(R),R==null)throw Error(n(151));for(var Oe=ke=null,Le=O,Re=O=0,St=null,Ke=R.next();Le!==null&&!Ke.done;Re++,Ke=R.next()){Le.index>Re?(St=Le,Le=null):St=Le.sibling;var Pr=U(z,Le,Ke.value,te);if(Pr===null){Le===null&&(Le=St);break}r&&Le&&Pr.alternate===null&&i(z,Le),O=g(Pr,O,Re),Oe===null?ke=Pr:Oe.sibling=Pr,Oe=Pr,Le=St}if(Ke.done)return a(z,Le),st&&Gr(z,Re),ke;if(Le===null){for(;!Ke.done;Re++,Ke=R.next())Ke=Q(z,Ke.value,te),Ke!==null&&(O=g(Ke,O,Re),Oe===null?ke=Ke:Oe.sibling=Ke,Oe=Ke);return st&&Gr(z,Re),ke}for(Le=d(z,Le);!Ke.done;Re++,Ke=R.next())Ke=ue(Le,z,Re,Ke.value,te),Ke!==null&&(r&&Ke.alternate!==null&&Le.delete(Ke.key===null?Re:Ke.key),O=g(Ke,O,Re),Oe===null?ke=Ke:Oe.sibling=Ke,Oe=Ke);return r&&Le.forEach(function(sg){return i(z,sg)}),st&&Gr(z,Re),ke}function pt(z,O,R,te){if(typeof R=="object"&&R!==null&&R.type===K&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case W:e:{for(var ke=R.key,Oe=O;Oe!==null;){if(Oe.key===ke){if(ke=R.type,ke===K){if(Oe.tag===7){a(z,Oe.sibling),O=h(Oe,R.props.children),O.return=z,z=O;break e}}else if(Oe.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===xe&&Yd(ke)===Oe.type){a(z,Oe.sibling),O=h(Oe,R.props),O.ref=Gi(z,Oe,R),O.return=z,z=O;break e}a(z,Oe);break}else i(z,Oe);Oe=Oe.sibling}R.type===K?(O=no(R.props.children,z.mode,te,R.key),O.return=z,z=O):(te=G1(R.type,R.key,R.props,null,z.mode,te),te.ref=Gi(z,O,R),te.return=z,z=te)}return x(z);case B:e:{for(Oe=R.key;O!==null;){if(O.key===Oe)if(O.tag===4&&O.stateNode.containerInfo===R.containerInfo&&O.stateNode.implementation===R.implementation){a(z,O.sibling),O=h(O,R.children||[]),O.return=z,z=O;break e}else{a(z,O);break}else i(z,O);O=O.sibling}O=iu(R,z.mode,te),O.return=z,z=O}return x(z);case xe:return Oe=R._init,pt(z,O,Oe(R._payload),te)}if(un(R))return _e(z,O,R,te);if(le(R))return Ce(z,O,R,te);k1(z,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,O!==null&&O.tag===6?(a(z,O.sibling),O=h(O,R),O.return=z,z=O):(a(z,O),O=ou(R,z.mode,te),O.return=z,z=O),x(z)):a(z,O)}return pt}var Fo=Jd(!0),Qd=Jd(!1),S1=br(null),j1=null,Do=null,pc=null;function mc(){pc=Do=j1=null}function gc(r){var i=S1.current;it(S1),r._currentValue=i}function vc(r,i,a){for(;r!==null;){var d=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,d!==null&&(d.childLanes|=i)):d!==null&&(d.childLanes&i)!==i&&(d.childLanes|=i),r===a)break;r=r.return}}function $o(r,i){j1=r,pc=Do=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&i)!==0&&(Zt=!0),r.firstContext=null)}function hn(r){var i=r._currentValue;if(pc!==r)if(r={context:r,memoizedValue:i,next:null},Do===null){if(j1===null)throw Error(n(308));Do=r,j1.dependencies={lanes:0,firstContext:r}}else Do=Do.next=r;return i}var Kr=null;function wc(r){Kr===null?Kr=[r]:Kr.push(r)}function Xd(r,i,a,d){var h=i.interleaved;return h===null?(a.next=a,wc(i)):(a.next=h.next,h.next=a),i.interleaved=a,tr(r,d)}function tr(r,i){r.lanes|=i;var a=r.alternate;for(a!==null&&(a.lanes|=i),a=r,r=r.return;r!==null;)r.childLanes|=i,a=r.alternate,a!==null&&(a.childLanes|=i),a=r,r=r.return;return a.tag===3?a.stateNode:null}var jr=!1;function yc(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function e3(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function nr(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function Er(r,i,a){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(Ge&2)!==0){var h=d.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),d.pending=i,tr(r,a)}return h=d.interleaved,h===null?(i.next=i,wc(d)):(i.next=h.next,h.next=i),d.interleaved=i,tr(r,a)}function E1(r,i,a){if(i=i.updateQueue,i!==null&&(i=i.shared,(a&4194240)!==0)){var d=i.lanes;d&=r.pendingLanes,a|=d,i.lanes=a,zl(r,a)}}function t3(r,i){var a=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,a===d)){var h=null,g=null;if(a=a.firstBaseUpdate,a!==null){do{var x={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};g===null?h=g=x:g=g.next=x,a=a.next}while(a!==null);g===null?h=g=i:g=g.next=i}else h=g=i;a={baseState:d.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:d.shared,effects:d.effects},r.updateQueue=a;return}r=a.lastBaseUpdate,r===null?a.firstBaseUpdate=i:r.next=i,a.lastBaseUpdate=i}function M1(r,i,a,d){var h=r.updateQueue;jr=!1;var g=h.firstBaseUpdate,x=h.lastBaseUpdate,k=h.shared.pending;if(k!==null){h.shared.pending=null;var E=k,F=E.next;E.next=null,x===null?g=F:x.next=F,x=E;var q=r.alternate;q!==null&&(q=q.updateQueue,k=q.lastBaseUpdate,k!==x&&(k===null?q.firstBaseUpdate=F:k.next=F,q.lastBaseUpdate=E))}if(g!==null){var Q=h.baseState;x=0,q=F=E=null,k=g;do{var U=k.lane,ue=k.eventTime;if((d&U)===U){q!==null&&(q=q.next={eventTime:ue,lane:0,tag:k.tag,payload:k.payload,callback:k.callback,next:null});e:{var _e=r,Ce=k;switch(U=i,ue=a,Ce.tag){case 1:if(_e=Ce.payload,typeof _e=="function"){Q=_e.call(ue,Q,U);break e}Q=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Ce.payload,U=typeof _e=="function"?_e.call(ue,Q,U):_e,U==null)break e;Q=ae({},Q,U);break e;case 2:jr=!0}}k.callback!==null&&k.lane!==0&&(r.flags|=64,U=h.effects,U===null?h.effects=[k]:U.push(k))}else ue={eventTime:ue,lane:U,tag:k.tag,payload:k.payload,callback:k.callback,next:null},q===null?(F=q=ue,E=Q):q=q.next=ue,x|=U;if(k=k.next,k===null){if(k=h.shared.pending,k===null)break;U=k,k=U.next,U.next=null,h.lastBaseUpdate=U,h.shared.pending=null}}while(!0);if(q===null&&(E=Q),h.baseState=E,h.firstBaseUpdate=F,h.lastBaseUpdate=q,i=h.shared.interleaved,i!==null){h=i;do x|=h.lane,h=h.next;while(h!==i)}else g===null&&(h.shared.lanes=0);Qr|=x,r.lanes=x,r.memoizedState=Q}}function n3(r,i,a){if(r=i.effects,i.effects=null,r!==null)for(i=0;i<r.length;i++){var d=r[i],h=d.callback;if(h!==null){if(d.callback=null,d=a,typeof h!="function")throw Error(n(191,h));h.call(d)}}}var Ki={},An=br(Ki),Yi=br(Ki),Ji=br(Ki);function Yr(r){if(r===Ki)throw Error(n(174));return r}function xc(r,i){switch(tt(Ji,i),tt(Yi,r),tt(An,Ki),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:_l(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=_l(i,r)}it(An),tt(An,i)}function Ho(){it(An),it(Yi),it(Ji)}function r3(r){Yr(Ji.current);var i=Yr(An.current),a=_l(i,r.type);i!==a&&(tt(Yi,r),tt(An,a))}function _c(r){Yi.current===r&&(it(An),it(Yi))}var lt=br(0);function I1(r){for(var i=r;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===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Cc=[];function bc(){for(var r=0;r<Cc.length;r++)Cc[r]._workInProgressVersionPrimary=null;Cc.length=0}var O1=A.ReactCurrentDispatcher,kc=A.ReactCurrentBatchConfig,Jr=0,ct=null,yt=null,bt=null,L1=!1,Qi=!1,Xi=0,Mm=0;function Tt(){throw Error(n(321))}function Sc(r,i){if(i===null)return!1;for(var a=0;a<i.length&&a<r.length;a++)if(!Cn(r[a],i[a]))return!1;return!0}function jc(r,i,a,d,h,g){if(Jr=g,ct=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,O1.current=r===null||r.memoizedState===null?Tm:zm,r=a(d,h),Qi){g=0;do{if(Qi=!1,Xi=0,25<=g)throw Error(n(301));g+=1,bt=yt=null,i.updateQueue=null,O1.current=Pm,r=a(d,h)}while(Qi)}if(O1.current=P1,i=yt!==null&&yt.next!==null,Jr=0,bt=yt=ct=null,L1=!1,i)throw Error(n(300));return r}function Ec(){var r=Xi!==0;return Xi=0,r}function Fn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?ct.memoizedState=bt=r:bt=bt.next=r,bt}function pn(){if(yt===null){var r=ct.alternate;r=r!==null?r.memoizedState:null}else r=yt.next;var i=bt===null?ct.memoizedState:bt.next;if(i!==null)bt=i,yt=r;else{if(r===null)throw Error(n(310));yt=r,r={memoizedState:yt.memoizedState,baseState:yt.baseState,baseQueue:yt.baseQueue,queue:yt.queue,next:null},bt===null?ct.memoizedState=bt=r:bt=bt.next=r}return bt}function es(r,i){return typeof i=="function"?i(r):i}function Mc(r){var i=pn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var d=yt,h=d.baseQueue,g=a.pending;if(g!==null){if(h!==null){var x=h.next;h.next=g.next,g.next=x}d.baseQueue=h=g,a.pending=null}if(h!==null){g=h.next,d=d.baseState;var k=x=null,E=null,F=g;do{var q=F.lane;if((Jr&q)===q)E!==null&&(E=E.next={lane:0,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null}),d=F.hasEagerState?F.eagerState:r(d,F.action);else{var Q={lane:q,action:F.action,hasEagerState:F.hasEagerState,eagerState:F.eagerState,next:null};E===null?(k=E=Q,x=d):E=E.next=Q,ct.lanes|=q,Qr|=q}F=F.next}while(F!==null&&F!==g);E===null?x=d:E.next=k,Cn(d,i.memoizedState)||(Zt=!0),i.memoizedState=d,i.baseState=x,i.baseQueue=E,a.lastRenderedState=d}if(r=a.interleaved,r!==null){h=r;do g=h.lane,ct.lanes|=g,Qr|=g,h=h.next;while(h!==r)}else h===null&&(a.lanes=0);return[i.memoizedState,a.dispatch]}function Ic(r){var i=pn(),a=i.queue;if(a===null)throw Error(n(311));a.lastRenderedReducer=r;var d=a.dispatch,h=a.pending,g=i.memoizedState;if(h!==null){a.pending=null;var x=h=h.next;do g=r(g,x.action),x=x.next;while(x!==h);Cn(g,i.memoizedState)||(Zt=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),a.lastRenderedState=g}return[g,d]}function o3(){}function i3(r,i){var a=ct,d=pn(),h=i(),g=!Cn(d.memoizedState,h);if(g&&(d.memoizedState=h,Zt=!0),d=d.queue,Oc(l3.bind(null,a,d,r),[r]),d.getSnapshot!==i||g||bt!==null&&bt.memoizedState.tag&1){if(a.flags|=2048,ts(9,a3.bind(null,a,d,h,i),void 0,null),kt===null)throw Error(n(349));(Jr&30)!==0||s3(a,i,h)}return h}function s3(r,i,a){r.flags|=16384,r={getSnapshot:i,value:a},i=ct.updateQueue,i===null?(i={lastEffect:null,stores:null},ct.updateQueue=i,i.stores=[r]):(a=i.stores,a===null?i.stores=[r]:a.push(r))}function a3(r,i,a,d){i.value=a,i.getSnapshot=d,c3(i)&&u3(r)}function l3(r,i,a){return a(function(){c3(i)&&u3(r)})}function c3(r){var i=r.getSnapshot;r=r.value;try{var a=i();return!Cn(r,a)}catch{return!0}}function u3(r){var i=tr(r,1);i!==null&&En(i,r,1,-1)}function d3(r){var i=Fn();return typeof r=="function"&&(r=r()),i.memoizedState=i.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:es,lastRenderedState:r},i.queue=r,r=r.dispatch=Lm.bind(null,ct,r),[i.memoizedState,r]}function ts(r,i,a,d){return r={tag:r,create:i,destroy:a,deps:d,next:null},i=ct.updateQueue,i===null?(i={lastEffect:null,stores:null},ct.updateQueue=i,i.lastEffect=r.next=r):(a=i.lastEffect,a===null?i.lastEffect=r.next=r:(d=a.next,a.next=r,r.next=d,i.lastEffect=r)),r}function f3(){return pn().memoizedState}function T1(r,i,a,d){var h=Fn();ct.flags|=r,h.memoizedState=ts(1|i,a,void 0,d===void 0?null:d)}function z1(r,i,a,d){var h=pn();d=d===void 0?null:d;var g=void 0;if(yt!==null){var x=yt.memoizedState;if(g=x.destroy,d!==null&&Sc(d,x.deps)){h.memoizedState=ts(i,a,g,d);return}}ct.flags|=r,h.memoizedState=ts(1|i,a,g,d)}function h3(r,i){return T1(8390656,8,r,i)}function Oc(r,i){return z1(2048,8,r,i)}function p3(r,i){return z1(4,2,r,i)}function m3(r,i){return z1(4,4,r,i)}function g3(r,i){if(typeof i=="function")return r=r(),i(r),function(){i(null)};if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function v3(r,i,a){return a=a!=null?a.concat([r]):null,z1(4,4,g3.bind(null,i,r),a)}function Lc(){}function w3(r,i){var a=pn();i=i===void 0?null:i;var d=a.memoizedState;return d!==null&&i!==null&&Sc(i,d[1])?d[0]:(a.memoizedState=[r,i],r)}function y3(r,i){var a=pn();i=i===void 0?null:i;var d=a.memoizedState;return d!==null&&i!==null&&Sc(i,d[1])?d[0]:(r=r(),a.memoizedState=[r,i],r)}function x3(r,i,a){return(Jr&21)===0?(r.baseState&&(r.baseState=!1,Zt=!0),r.memoizedState=a):(Cn(a,i)||(a=Y2(),ct.lanes|=a,Qr|=a,r.baseState=!0),i)}function Im(r,i){var a=Je;Je=a!==0&&4>a?a:4,r(!0);var d=kc.transition;kc.transition={};try{r(!1),i()}finally{Je=a,kc.transition=d}}function _3(){return pn().memoizedState}function Om(r,i,a){var d=Lr(r);if(a={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null},C3(r))b3(i,a);else if(a=Xd(r,i,a,d),a!==null){var h=Dt();En(a,r,d,h),k3(a,i,d)}}function Lm(r,i,a){var d=Lr(r),h={lane:d,action:a,hasEagerState:!1,eagerState:null,next:null};if(C3(r))b3(i,h);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var x=i.lastRenderedState,k=g(x,a);if(h.hasEagerState=!0,h.eagerState=k,Cn(k,x)){var E=i.interleaved;E===null?(h.next=h,wc(i)):(h.next=E.next,E.next=h),i.interleaved=h;return}}catch{}finally{}a=Xd(r,i,h,d),a!==null&&(h=Dt(),En(a,r,d,h),k3(a,i,d))}}function C3(r){var i=r.alternate;return r===ct||i!==null&&i===ct}function b3(r,i){Qi=L1=!0;var a=r.pending;a===null?i.next=i:(i.next=a.next,a.next=i),r.pending=i}function k3(r,i,a){if((a&4194240)!==0){var d=i.lanes;d&=r.pendingLanes,a|=d,i.lanes=a,zl(r,a)}}var P1={readContext:hn,useCallback:Tt,useContext:Tt,useEffect:Tt,useImperativeHandle:Tt,useInsertionEffect:Tt,useLayoutEffect:Tt,useMemo:Tt,useReducer:Tt,useRef:Tt,useState:Tt,useDebugValue:Tt,useDeferredValue:Tt,useTransition:Tt,useMutableSource:Tt,useSyncExternalStore:Tt,useId:Tt,unstable_isNewReconciler:!1},Tm={readContext:hn,useCallback:function(r,i){return Fn().memoizedState=[r,i===void 0?null:i],r},useContext:hn,useEffect:h3,useImperativeHandle:function(r,i,a){return a=a!=null?a.concat([r]):null,T1(4194308,4,g3.bind(null,i,r),a)},useLayoutEffect:function(r,i){return T1(4194308,4,r,i)},useInsertionEffect:function(r,i){return T1(4,2,r,i)},useMemo:function(r,i){var a=Fn();return i=i===void 0?null:i,r=r(),a.memoizedState=[r,i],r},useReducer:function(r,i,a){var d=Fn();return i=a!==void 0?a(i):i,d.memoizedState=d.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},d.queue=r,r=r.dispatch=Om.bind(null,ct,r),[d.memoizedState,r]},useRef:function(r){var i=Fn();return r={current:r},i.memoizedState=r},useState:d3,useDebugValue:Lc,useDeferredValue:function(r){return Fn().memoizedState=r},useTransition:function(){var r=d3(!1),i=r[0];return r=Im.bind(null,r[1]),Fn().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,a){var d=ct,h=Fn();if(st){if(a===void 0)throw Error(n(407));a=a()}else{if(a=i(),kt===null)throw Error(n(349));(Jr&30)!==0||s3(d,i,a)}h.memoizedState=a;var g={value:a,getSnapshot:i};return h.queue=g,h3(l3.bind(null,d,g,r),[r]),d.flags|=2048,ts(9,a3.bind(null,d,g,a,i),void 0,null),a},useId:function(){var r=Fn(),i=kt.identifierPrefix;if(st){var a=er,d=Xn;a=(d&~(1<<32-_n(d)-1)).toString(32)+a,i=":"+i+"R"+a,a=Xi++,0<a&&(i+="H"+a.toString(32)),i+=":"}else a=Mm++,i=":"+i+"r"+a.toString(32)+":";return r.memoizedState=i},unstable_isNewReconciler:!1},zm={readContext:hn,useCallback:w3,useContext:hn,useEffect:Oc,useImperativeHandle:v3,useInsertionEffect:p3,useLayoutEffect:m3,useMemo:y3,useReducer:Mc,useRef:f3,useState:function(){return Mc(es)},useDebugValue:Lc,useDeferredValue:function(r){var i=pn();return x3(i,yt.memoizedState,r)},useTransition:function(){var r=Mc(es)[0],i=pn().memoizedState;return[r,i]},useMutableSource:o3,useSyncExternalStore:i3,useId:_3,unstable_isNewReconciler:!1},Pm={readContext:hn,useCallback:w3,useContext:hn,useEffect:Oc,useImperativeHandle:v3,useInsertionEffect:p3,useLayoutEffect:m3,useMemo:y3,useReducer:Ic,useRef:f3,useState:function(){return Ic(es)},useDebugValue:Lc,useDeferredValue:function(r){var i=pn();return yt===null?i.memoizedState=r:x3(i,yt.memoizedState,r)},useTransition:function(){var r=Ic(es)[0],i=pn().memoizedState;return[r,i]},useMutableSource:o3,useSyncExternalStore:i3,useId:_3,unstable_isNewReconciler:!1};function kn(r,i){if(r&&r.defaultProps){i=ae({},i),r=r.defaultProps;for(var a in r)i[a]===void 0&&(i[a]=r[a]);return i}return i}function Tc(r,i,a,d){i=r.memoizedState,a=a(d,i),a=a==null?i:ae({},i,a),r.memoizedState=a,r.lanes===0&&(r.updateQueue.baseState=a)}var N1={isMounted:function(r){return(r=r._reactInternals)?Zr(r)===r:!1},enqueueSetState:function(r,i,a){r=r._reactInternals;var d=Dt(),h=Lr(r),g=nr(d,h);g.payload=i,a!=null&&(g.callback=a),i=Er(r,g,h),i!==null&&(En(i,r,h,d),E1(i,r,h))},enqueueReplaceState:function(r,i,a){r=r._reactInternals;var d=Dt(),h=Lr(r),g=nr(d,h);g.tag=1,g.payload=i,a!=null&&(g.callback=a),i=Er(r,g,h),i!==null&&(En(i,r,h,d),E1(i,r,h))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var a=Dt(),d=Lr(r),h=nr(a,d);h.tag=2,i!=null&&(h.callback=i),i=Er(r,h,d),i!==null&&(En(i,r,d,a),E1(i,r,d))}};function S3(r,i,a,d,h,g,x){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,g,x):i.prototype&&i.prototype.isPureReactComponent?!Hi(a,d)||!Hi(h,g):!0}function j3(r,i,a){var d=!1,h=kr,g=i.contextType;return typeof g=="object"&&g!==null?g=hn(g):(h=Bt(i)?Ur:Lt.current,d=i.contextTypes,g=(d=d!=null)?Po(r,h):kr),i=new i(a,g),r.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=N1,r.stateNode=i,i._reactInternals=r,d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=h,r.__reactInternalMemoizedMaskedChildContext=g),i}function E3(r,i,a,d){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(a,d),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(a,d),i.state!==r&&N1.enqueueReplaceState(i,i.state,null)}function zc(r,i,a,d){var h=r.stateNode;h.props=a,h.state=r.memoizedState,h.refs={},yc(r);var g=i.contextType;typeof g=="object"&&g!==null?h.context=hn(g):(g=Bt(i)?Ur:Lt.current,h.context=Po(r,g)),h.state=r.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(Tc(r,i,g,a),h.state=r.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&&N1.enqueueReplaceState(h,h.state,null),M1(r,a,h,d),h.state=r.memoizedState),typeof h.componentDidMount=="function"&&(r.flags|=4194308)}function Vo(r,i){try{var a="",d=i;do a+=Me(d),d=d.return;while(d);var h=a}catch(g){h=`
57
+ Error generating stack: `+g.message+`
58
+ `+g.stack}return{value:r,source:i,stack:h,digest:null}}function Pc(r,i,a){return{value:r,source:null,stack:a??null,digest:i??null}}function Nc(r,i){try{console.error(i.value)}catch(a){setTimeout(function(){throw a})}}var Nm=typeof WeakMap=="function"?WeakMap:Map;function M3(r,i,a){a=nr(-1,a),a.tag=3,a.payload={element:null};var d=i.value;return a.callback=function(){V1||(V1=!0,Yc=d),Nc(r,i)},a}function I3(r,i,a){a=nr(-1,a),a.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var h=i.value;a.payload=function(){return d(h)},a.callback=function(){Nc(r,i)}}var g=r.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(a.callback=function(){Nc(r,i),typeof d!="function"&&(Ir===null?Ir=new Set([this]):Ir.add(this));var x=i.stack;this.componentDidCatch(i.value,{componentStack:x!==null?x:""})}),a}function O3(r,i,a){var d=r.pingCache;if(d===null){d=r.pingCache=new Nm;var h=new Set;d.set(i,h)}else h=d.get(i),h===void 0&&(h=new Set,d.set(i,h));h.has(a)||(h.add(a),r=Km.bind(null,r,i,a),i.then(r,r))}function L3(r){do{var i;if((i=r.tag===13)&&(i=r.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return r;r=r.return}while(r!==null);return null}function T3(r,i,a,d,h){return(r.mode&1)===0?(r===i?r.flags|=65536:(r.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(i=nr(-1,1),i.tag=2,Er(a,i,1))),a.lanes|=1),r):(r.flags|=65536,r.lanes=h,r)}var Rm=A.ReactCurrentOwner,Zt=!1;function Ft(r,i,a,d){i.child=r===null?Qd(i,null,a,d):Fo(i,r.child,a,d)}function z3(r,i,a,d,h){a=a.render;var g=i.ref;return $o(i,h),d=jc(r,i,a,d,g,h),a=Ec(),r!==null&&!Zt?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,rr(r,i,h)):(st&&a&&cc(i),i.flags|=1,Ft(r,i,d,h),i.child)}function P3(r,i,a,d,h){if(r===null){var g=a.type;return typeof g=="function"&&!ru(g)&&g.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(i.tag=15,i.type=g,N3(r,i,g,d,h)):(r=G1(a.type,null,d,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,(r.lanes&h)===0){var x=g.memoizedProps;if(a=a.compare,a=a!==null?a:Hi,a(x,d)&&r.ref===i.ref)return rr(r,i,h)}return i.flags|=1,r=zr(g,d),r.ref=i.ref,r.return=i,i.child=r}function N3(r,i,a,d,h){if(r!==null){var g=r.memoizedProps;if(Hi(g,d)&&r.ref===i.ref)if(Zt=!1,i.pendingProps=d=g,(r.lanes&h)!==0)(r.flags&131072)!==0&&(Zt=!0);else return i.lanes=r.lanes,rr(r,i,h)}return Rc(r,i,a,d,h)}function R3(r,i,a){var d=i.pendingProps,h=d.children,g=r!==null?r.memoizedState:null;if(d.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},tt(Zo,rn),rn|=a;else{if((a&1073741824)===0)return r=g!==null?g.baseLanes|a:a,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:r,cachePool:null,transitions:null},i.updateQueue=null,tt(Zo,rn),rn|=r,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=g!==null?g.baseLanes:a,tt(Zo,rn),rn|=d}else g!==null?(d=g.baseLanes|a,i.memoizedState=null):d=a,tt(Zo,rn),rn|=d;return Ft(r,i,h,a),i.child}function A3(r,i){var a=i.ref;(r===null&&a!==null||r!==null&&r.ref!==a)&&(i.flags|=512,i.flags|=2097152)}function Rc(r,i,a,d,h){var g=Bt(a)?Ur:Lt.current;return g=Po(i,g),$o(i,h),a=jc(r,i,a,d,g,h),d=Ec(),r!==null&&!Zt?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,rr(r,i,h)):(st&&d&&cc(i),i.flags|=1,Ft(r,i,a,h),i.child)}function F3(r,i,a,d,h){if(Bt(a)){var g=!0;y1(i)}else g=!1;if($o(i,h),i.stateNode===null)A1(r,i),j3(i,a,d),zc(i,a,d,h),d=!0;else if(r===null){var x=i.stateNode,k=i.memoizedProps;x.props=k;var E=x.context,F=a.contextType;typeof F=="object"&&F!==null?F=hn(F):(F=Bt(a)?Ur:Lt.current,F=Po(i,F));var q=a.getDerivedStateFromProps,Q=typeof q=="function"||typeof x.getSnapshotBeforeUpdate=="function";Q||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(k!==d||E!==F)&&E3(i,x,d,F),jr=!1;var U=i.memoizedState;x.state=U,M1(i,d,x,h),E=i.memoizedState,k!==d||U!==E||Vt.current||jr?(typeof q=="function"&&(Tc(i,a,q,d),E=i.memoizedState),(k=jr||S3(i,a,k,d,U,E,F))?(Q||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(i.flags|=4194308)):(typeof x.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=d,i.memoizedState=E),x.props=d,x.state=E,x.context=F,d=k):(typeof x.componentDidMount=="function"&&(i.flags|=4194308),d=!1)}else{x=i.stateNode,e3(r,i),k=i.memoizedProps,F=i.type===i.elementType?k:kn(i.type,k),x.props=F,Q=i.pendingProps,U=x.context,E=a.contextType,typeof E=="object"&&E!==null?E=hn(E):(E=Bt(a)?Ur:Lt.current,E=Po(i,E));var ue=a.getDerivedStateFromProps;(q=typeof ue=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(k!==Q||U!==E)&&E3(i,x,d,E),jr=!1,U=i.memoizedState,x.state=U,M1(i,d,x,h);var _e=i.memoizedState;k!==Q||U!==_e||Vt.current||jr?(typeof ue=="function"&&(Tc(i,a,ue,d),_e=i.memoizedState),(F=jr||S3(i,a,F,d,U,_e,E)||!1)?(q||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(d,_e,E),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(d,_e,E)),typeof x.componentDidUpdate=="function"&&(i.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof x.componentDidUpdate!="function"||k===r.memoizedProps&&U===r.memoizedState||(i.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&U===r.memoizedState||(i.flags|=1024),i.memoizedProps=d,i.memoizedState=_e),x.props=d,x.state=_e,x.context=E,d=F):(typeof x.componentDidUpdate!="function"||k===r.memoizedProps&&U===r.memoizedState||(i.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||k===r.memoizedProps&&U===r.memoizedState||(i.flags|=1024),d=!1)}return Ac(r,i,a,d,g,h)}function Ac(r,i,a,d,h,g){A3(r,i);var x=(i.flags&128)!==0;if(!d&&!x)return h&&Bd(i,a,!1),rr(r,i,g);d=i.stateNode,Rm.current=i;var k=x&&typeof a.getDerivedStateFromError!="function"?null:d.render();return i.flags|=1,r!==null&&x?(i.child=Fo(i,r.child,null,g),i.child=Fo(i,null,k,g)):Ft(r,i,k,g),i.memoizedState=d.state,h&&Bd(i,a,!0),i.child}function D3(r){var i=r.stateNode;i.pendingContext?Hd(r,i.pendingContext,i.pendingContext!==i.context):i.context&&Hd(r,i.context,!1),xc(r,i.containerInfo)}function $3(r,i,a,d,h){return Ao(),hc(h),i.flags|=256,Ft(r,i,a,d),i.child}var Fc={dehydrated:null,treeContext:null,retryLane:0};function Dc(r){return{baseLanes:r,cachePool:null,transitions:null}}function H3(r,i,a){var d=i.pendingProps,h=lt.current,g=!1,x=(i.flags&128)!==0,k;if((k=x)||(k=r!==null&&r.memoizedState===null?!1:(h&2)!==0),k?(g=!0,i.flags&=-129):(r===null||r.memoizedState!==null)&&(h|=1),tt(lt,h&1),r===null)return fc(i),r=i.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((i.mode&1)===0?i.lanes=1:r.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(x=d.children,r=d.fallback,g?(d=i.mode,g=i.child,x={mode:"hidden",children:x},(d&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=x):g=K1(x,d,0,null),r=no(r,d,a,null),g.return=i,r.return=i,g.sibling=r,i.child=g,i.child.memoizedState=Dc(a),i.memoizedState=Fc,r):$c(i,x));if(h=r.memoizedState,h!==null&&(k=h.dehydrated,k!==null))return Am(r,i,x,d,k,h,a);if(g){g=d.fallback,x=i.mode,h=r.child,k=h.sibling;var E={mode:"hidden",children:d.children};return(x&1)===0&&i.child!==h?(d=i.child,d.childLanes=0,d.pendingProps=E,i.deletions=null):(d=zr(h,E),d.subtreeFlags=h.subtreeFlags&14680064),k!==null?g=zr(k,g):(g=no(g,x,a,null),g.flags|=2),g.return=i,d.return=i,d.sibling=g,i.child=d,d=g,g=i.child,x=r.child.memoizedState,x=x===null?Dc(a):{baseLanes:x.baseLanes|a,cachePool:null,transitions:x.transitions},g.memoizedState=x,g.childLanes=r.childLanes&~a,i.memoizedState=Fc,d}return g=r.child,r=g.sibling,d=zr(g,{mode:"visible",children:d.children}),(i.mode&1)===0&&(d.lanes=a),d.return=i,d.sibling=null,r!==null&&(a=i.deletions,a===null?(i.deletions=[r],i.flags|=16):a.push(r)),i.child=d,i.memoizedState=null,d}function $c(r,i){return i=K1({mode:"visible",children:i},r.mode,0,null),i.return=r,r.child=i}function R1(r,i,a,d){return d!==null&&hc(d),Fo(i,r.child,null,a),r=$c(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function Am(r,i,a,d,h,g,x){if(a)return i.flags&256?(i.flags&=-257,d=Pc(Error(n(422))),R1(r,i,x,d)):i.memoizedState!==null?(i.child=r.child,i.flags|=128,null):(g=d.fallback,h=i.mode,d=K1({mode:"visible",children:d.children},h,0,null),g=no(g,h,x,null),g.flags|=2,d.return=i,g.return=i,d.sibling=g,i.child=d,(i.mode&1)!==0&&Fo(i,r.child,null,x),i.child.memoizedState=Dc(x),i.memoizedState=Fc,g);if((i.mode&1)===0)return R1(r,i,x,null);if(h.data==="$!"){if(d=h.nextSibling&&h.nextSibling.dataset,d)var k=d.dgst;return d=k,g=Error(n(419)),d=Pc(g,d,void 0),R1(r,i,x,d)}if(k=(x&r.childLanes)!==0,Zt||k){if(d=kt,d!==null){switch(x&-x){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&(d.suspendedLanes|x))!==0?0:h,h!==0&&h!==g.retryLane&&(g.retryLane=h,tr(r,h),En(d,r,h,-1))}return nu(),d=Pc(Error(n(421))),R1(r,i,x,d)}return h.data==="$?"?(i.flags|=128,i.child=r.child,i=Ym.bind(null,r),h._reactRetry=i,null):(r=g.treeContext,nn=Cr(h.nextSibling),tn=i,st=!0,bn=null,r!==null&&(dn[fn++]=Xn,dn[fn++]=er,dn[fn++]=qr,Xn=r.id,er=r.overflow,qr=i),i=$c(i,d.children),i.flags|=4096,i)}function V3(r,i,a){r.lanes|=i;var d=r.alternate;d!==null&&(d.lanes|=i),vc(r.return,i,a)}function Hc(r,i,a,d,h){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:d,tail:a,tailMode:h}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=d,g.tail=a,g.tailMode=h)}function B3(r,i,a){var d=i.pendingProps,h=d.revealOrder,g=d.tail;if(Ft(r,i,d.children,a),d=lt.current,(d&2)!==0)d=d&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&V3(r,a,i);else if(r.tag===19)V3(r,a,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}d&=1}if(tt(lt,d),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(a=i.child,h=null;a!==null;)r=a.alternate,r!==null&&I1(r)===null&&(h=a),a=a.sibling;a=h,a===null?(h=i.child,i.child=null):(h=a.sibling,a.sibling=null),Hc(i,!1,h,a,g);break;case"backwards":for(a=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&I1(r)===null){i.child=h;break}r=h.sibling,h.sibling=a,a=h,h=r}Hc(i,!0,a,null,g);break;case"together":Hc(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function A1(r,i){(i.mode&1)===0&&r!==null&&(r.alternate=null,i.alternate=null,i.flags|=2)}function rr(r,i,a){if(r!==null&&(i.dependencies=r.dependencies),Qr|=i.lanes,(a&i.childLanes)===0)return null;if(r!==null&&i.child!==r.child)throw Error(n(153));if(i.child!==null){for(r=i.child,a=zr(r,r.pendingProps),i.child=a,a.return=i;r.sibling!==null;)r=r.sibling,a=a.sibling=zr(r,r.pendingProps),a.return=i;a.sibling=null}return i.child}function Fm(r,i,a){switch(i.tag){case 3:D3(i),Ao();break;case 5:r3(i);break;case 1:Bt(i.type)&&y1(i);break;case 4:xc(i,i.stateNode.containerInfo);break;case 10:var d=i.type._context,h=i.memoizedProps.value;tt(S1,d._currentValue),d._currentValue=h;break;case 13:if(d=i.memoizedState,d!==null)return d.dehydrated!==null?(tt(lt,lt.current&1),i.flags|=128,null):(a&i.child.childLanes)!==0?H3(r,i,a):(tt(lt,lt.current&1),r=rr(r,i,a),r!==null?r.sibling:null);tt(lt,lt.current&1);break;case 19:if(d=(a&i.childLanes)!==0,(r.flags&128)!==0){if(d)return B3(r,i,a);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),tt(lt,lt.current),d)break;return null;case 22:case 23:return i.lanes=0,R3(r,i,a)}return rr(r,i,a)}var Z3,Vc,W3,U3;Z3=function(r,i){for(var a=i.child;a!==null;){if(a.tag===5||a.tag===6)r.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}},Vc=function(){},W3=function(r,i,a,d){var h=r.memoizedProps;if(h!==d){r=i.stateNode,Yr(An.current);var g=null;switch(a){case"input":h=Ae(r,h),d=Ae(r,d),g=[];break;case"select":h=ae({},h,{value:void 0}),d=ae({},d,{value:void 0}),g=[];break;case"textarea":h=Co(r,h),d=Co(r,d),g=[];break;default:typeof h.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=g1)}Cl(a,d);var x;a=null;for(F in h)if(!d.hasOwnProperty(F)&&h.hasOwnProperty(F)&&h[F]!=null)if(F==="style"){var k=h[F];for(x in k)k.hasOwnProperty(x)&&(a||(a={}),a[x]="")}else F!=="dangerouslySetInnerHTML"&&F!=="children"&&F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&F!=="autoFocus"&&(s.hasOwnProperty(F)?g||(g=[]):(g=g||[]).push(F,null));for(F in d){var E=d[F];if(k=h?.[F],d.hasOwnProperty(F)&&E!==k&&(E!=null||k!=null))if(F==="style")if(k){for(x in k)!k.hasOwnProperty(x)||E&&E.hasOwnProperty(x)||(a||(a={}),a[x]="");for(x in E)E.hasOwnProperty(x)&&k[x]!==E[x]&&(a||(a={}),a[x]=E[x])}else a||(g||(g=[]),g.push(F,a)),a=E;else F==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,k=k?k.__html:void 0,E!=null&&k!==E&&(g=g||[]).push(F,E)):F==="children"?typeof E!="string"&&typeof E!="number"||(g=g||[]).push(F,""+E):F!=="suppressContentEditableWarning"&&F!=="suppressHydrationWarning"&&(s.hasOwnProperty(F)?(E!=null&&F==="onScroll"&&ot("scroll",r),g||k===E||(g=[])):(g=g||[]).push(F,E))}a&&(g=g||[]).push("style",a);var F=g;(i.updateQueue=F)&&(i.flags|=4)}},U3=function(r,i,a,d){a!==d&&(i.flags|=4)};function ns(r,i){if(!st)switch(r.tailMode){case"hidden":i=r.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?r.tail=null:a.sibling=null;break;case"collapsed":a=r.tail;for(var d=null;a!==null;)a.alternate!==null&&(d=a),a=a.sibling;d===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function zt(r){var i=r.alternate!==null&&r.alternate.child===r.child,a=0,d=0;if(i)for(var h=r.child;h!==null;)a|=h.lanes|h.childLanes,d|=h.subtreeFlags&14680064,d|=h.flags&14680064,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)a|=h.lanes|h.childLanes,d|=h.subtreeFlags,d|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=d,r.childLanes=a,i}function Dm(r,i,a){var d=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 zt(i),null;case 1:return Bt(i.type)&&w1(),zt(i),null;case 3:return d=i.stateNode,Ho(),it(Vt),it(Lt),bc(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(b1(i)?i.flags|=4:r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,bn!==null&&(Xc(bn),bn=null))),Vc(r,i),zt(i),null;case 5:_c(i);var h=Yr(Ji.current);if(a=i.type,r!==null&&i.stateNode!=null)W3(r,i,a,d,h),r.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!d){if(i.stateNode===null)throw Error(n(166));return zt(i),null}if(r=Yr(An.current),b1(i)){d=i.stateNode,a=i.type;var g=i.memoizedProps;switch(d[Rn]=i,d[Ui]=g,r=(i.mode&1)!==0,a){case"dialog":ot("cancel",d),ot("close",d);break;case"iframe":case"object":case"embed":ot("load",d);break;case"video":case"audio":for(h=0;h<Bi.length;h++)ot(Bi[h],d);break;case"source":ot("error",d);break;case"img":case"image":case"link":ot("error",d),ot("load",d);break;case"details":ot("toggle",d);break;case"input":Ct(d,g),ot("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!g.multiple},ot("invalid",d);break;case"textarea":Ci(d,g),ot("invalid",d)}Cl(a,g),h=null;for(var x in g)if(g.hasOwnProperty(x)){var k=g[x];x==="children"?typeof k=="string"?d.textContent!==k&&(g.suppressHydrationWarning!==!0&&m1(d.textContent,k,r),h=["children",k]):typeof k=="number"&&d.textContent!==""+k&&(g.suppressHydrationWarning!==!0&&m1(d.textContent,k,r),h=["children",""+k]):s.hasOwnProperty(x)&&k!=null&&x==="onScroll"&&ot("scroll",d)}switch(a){case"input":Ye(d),Xt(d,g,!0);break;case"textarea":Ye(d),L2(d);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(d.onclick=g1)}d=h,i.updateQueue=d,d!==null&&(i.flags|=4)}else{x=h.nodeType===9?h:h.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=T2(a)),r==="http://www.w3.org/1999/xhtml"?a==="script"?(r=x.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=x.createElement(a,{is:d.is}):(r=x.createElement(a),a==="select"&&(x=r,d.multiple?x.multiple=!0:d.size&&(x.size=d.size))):r=x.createElementNS(r,a),r[Rn]=i,r[Ui]=d,Z3(r,i,!1,!1),i.stateNode=r;e:{switch(x=bl(a,d),a){case"dialog":ot("cancel",r),ot("close",r),h=d;break;case"iframe":case"object":case"embed":ot("load",r),h=d;break;case"video":case"audio":for(h=0;h<Bi.length;h++)ot(Bi[h],r);h=d;break;case"source":ot("error",r),h=d;break;case"img":case"image":case"link":ot("error",r),ot("load",r),h=d;break;case"details":ot("toggle",r),h=d;break;case"input":Ct(r,d),h=Ae(r,d),ot("invalid",r);break;case"option":h=d;break;case"select":r._wrapperState={wasMultiple:!!d.multiple},h=ae({},d,{value:void 0}),ot("invalid",r);break;case"textarea":Ci(r,d),h=Co(r,d),ot("invalid",r);break;default:h=d}Cl(a,h),k=h;for(g in k)if(k.hasOwnProperty(g)){var E=k[g];g==="style"?N2(r,E):g==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&z2(r,E)):g==="children"?typeof E=="string"?(a!=="textarea"||E!=="")&&ki(r,E):typeof E=="number"&&ki(r,""+E):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(s.hasOwnProperty(g)?E!=null&&g==="onScroll"&&ot("scroll",r):E!=null&&$(r,g,E,x))}switch(a){case"input":Ye(r),Xt(r,d,!1);break;case"textarea":Ye(r),L2(r);break;case"option":d.value!=null&&r.setAttribute("value",""+G(d.value));break;case"select":r.multiple=!!d.multiple,g=d.value,g!=null?Yn(r,!!d.multiple,g,!1):d.defaultValue!=null&&Yn(r,!!d.multiple,d.defaultValue,!0);break;default:typeof h.onClick=="function"&&(r.onclick=g1)}switch(a){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return zt(i),null;case 6:if(r&&i.stateNode!=null)U3(r,i,r.memoizedProps,d);else{if(typeof d!="string"&&i.stateNode===null)throw Error(n(166));if(a=Yr(Ji.current),Yr(An.current),b1(i)){if(d=i.stateNode,a=i.memoizedProps,d[Rn]=i,(g=d.nodeValue!==a)&&(r=tn,r!==null))switch(r.tag){case 3:m1(d.nodeValue,a,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&m1(d.nodeValue,a,(r.mode&1)!==0)}g&&(i.flags|=4)}else d=(a.nodeType===9?a:a.ownerDocument).createTextNode(d),d[Rn]=i,i.stateNode=d}return zt(i),null;case 13:if(it(lt),d=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(st&&nn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)Kd(),Ao(),i.flags|=98560,g=!1;else if(g=b1(i),d!==null&&d.dehydrated!==null){if(r===null){if(!g)throw Error(n(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[Rn]=i}else Ao(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;zt(i),g=!1}else bn!==null&&(Xc(bn),bn=null),g=!0;if(!g)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=a,i):(d=d!==null,d!==(r!==null&&r.memoizedState!==null)&&d&&(i.child.flags|=8192,(i.mode&1)!==0&&(r===null||(lt.current&1)!==0?xt===0&&(xt=3):nu())),i.updateQueue!==null&&(i.flags|=4),zt(i),null);case 4:return Ho(),Vc(r,i),r===null&&Zi(i.stateNode.containerInfo),zt(i),null;case 10:return gc(i.type._context),zt(i),null;case 17:return Bt(i.type)&&w1(),zt(i),null;case 19:if(it(lt),g=i.memoizedState,g===null)return zt(i),null;if(d=(i.flags&128)!==0,x=g.rendering,x===null)if(d)ns(g,!1);else{if(xt!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(x=I1(r),x!==null){for(i.flags|=128,ns(g,!1),d=x.updateQueue,d!==null&&(i.updateQueue=d,i.flags|=4),i.subtreeFlags=0,d=a,a=i.child;a!==null;)g=a,r=d,g.flags&=14680066,x=g.alternate,x===null?(g.childLanes=0,g.lanes=r,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=x.childLanes,g.lanes=x.lanes,g.child=x.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=x.memoizedProps,g.memoizedState=x.memoizedState,g.updateQueue=x.updateQueue,g.type=x.type,r=x.dependencies,g.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),a=a.sibling;return tt(lt,lt.current&1|2),i.child}r=r.sibling}g.tail!==null&&ht()>Wo&&(i.flags|=128,d=!0,ns(g,!1),i.lanes=4194304)}else{if(!d)if(r=I1(x),r!==null){if(i.flags|=128,d=!0,a=r.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),ns(g,!0),g.tail===null&&g.tailMode==="hidden"&&!x.alternate&&!st)return zt(i),null}else 2*ht()-g.renderingStartTime>Wo&&a!==1073741824&&(i.flags|=128,d=!0,ns(g,!1),i.lanes=4194304);g.isBackwards?(x.sibling=i.child,i.child=x):(a=g.last,a!==null?a.sibling=x:i.child=x,g.last=x)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=ht(),i.sibling=null,a=lt.current,tt(lt,d?a&1|2:a&1),i):(zt(i),null);case 22:case 23:return tu(),d=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(rn&1073741824)!==0&&(zt(i),i.subtreeFlags&6&&(i.flags|=8192)):zt(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function $m(r,i){switch(uc(i),i.tag){case 1:return Bt(i.type)&&w1(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Ho(),it(Vt),it(Lt),bc(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return _c(i),null;case 13:if(it(lt),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Ao()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return it(lt),null;case 4:return Ho(),null;case 10:return gc(i.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var F1=!1,Pt=!1,Hm=typeof WeakSet=="function"?WeakSet:Set,ge=null;function Bo(r,i){var a=r.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(d){ft(r,i,d)}else a.current=null}function Bc(r,i,a){try{a()}catch(d){ft(r,i,d)}}var q3=!1;function Vm(r,i){if(tc=o1,r=Sd(),ql(r)){if("selectionStart"in r)var a={start:r.selectionStart,end:r.selectionEnd};else e:{a=(a=r.ownerDocument)&&a.defaultView||window;var d=a.getSelection&&a.getSelection();if(d&&d.rangeCount!==0){a=d.anchorNode;var h=d.anchorOffset,g=d.focusNode;d=d.focusOffset;try{a.nodeType,g.nodeType}catch{a=null;break e}var x=0,k=-1,E=-1,F=0,q=0,Q=r,U=null;t:for(;;){for(var ue;Q!==a||h!==0&&Q.nodeType!==3||(k=x+h),Q!==g||d!==0&&Q.nodeType!==3||(E=x+d),Q.nodeType===3&&(x+=Q.nodeValue.length),(ue=Q.firstChild)!==null;)U=Q,Q=ue;for(;;){if(Q===r)break t;if(U===a&&++F===h&&(k=x),U===g&&++q===d&&(E=x),(ue=Q.nextSibling)!==null)break;Q=U,U=Q.parentNode}Q=ue}a=k===-1||E===-1?null:{start:k,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(nc={focusedElem:r,selectionRange:a},o1=!1,ge=i;ge!==null;)if(i=ge,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,ge=r;else for(;ge!==null;){i=ge;try{var _e=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var Ce=_e.memoizedProps,pt=_e.memoizedState,z=i.stateNode,O=z.getSnapshotBeforeUpdate(i.elementType===i.type?Ce:kn(i.type,Ce),pt);z.__reactInternalSnapshotBeforeUpdate=O}break;case 3:var R=i.stateNode.containerInfo;R.nodeType===1?R.textContent="":R.nodeType===9&&R.documentElement&&R.removeChild(R.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(te){ft(i,i.return,te)}if(r=i.sibling,r!==null){r.return=i.return,ge=r;break}ge=i.return}return _e=q3,q3=!1,_e}function rs(r,i,a){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var h=d=d.next;do{if((h.tag&r)===r){var g=h.destroy;h.destroy=void 0,g!==void 0&&Bc(i,a,g)}h=h.next}while(h!==d)}}function D1(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var a=i=i.next;do{if((a.tag&r)===r){var d=a.create;a.destroy=d()}a=a.next}while(a!==i)}}function Zc(r){var i=r.ref;if(i!==null){var a=r.stateNode;switch(r.tag){case 5:r=a;break;default:r=a}typeof i=="function"?i(r):i.current=r}}function G3(r){var i=r.alternate;i!==null&&(r.alternate=null,G3(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[Rn],delete i[Ui],delete i[sc],delete i[km],delete i[Sm])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function K3(r){return r.tag===5||r.tag===3||r.tag===4}function Y3(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||K3(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Wc(r,i,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?a.nodeType===8?a.parentNode.insertBefore(r,i):a.insertBefore(r,i):(a.nodeType===8?(i=a.parentNode,i.insertBefore(r,a)):(i=a,i.appendChild(r)),a=a._reactRootContainer,a!=null||i.onclick!==null||(i.onclick=g1));else if(d!==4&&(r=r.child,r!==null))for(Wc(r,i,a),r=r.sibling;r!==null;)Wc(r,i,a),r=r.sibling}function Uc(r,i,a){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?a.insertBefore(r,i):a.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(Uc(r,i,a),r=r.sibling;r!==null;)Uc(r,i,a),r=r.sibling}var Et=null,Sn=!1;function Mr(r,i,a){for(a=a.child;a!==null;)J3(r,i,a),a=a.sibling}function J3(r,i,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(Qs,a)}catch{}switch(a.tag){case 5:Pt||Bo(a,i);case 6:var d=Et,h=Sn;Et=null,Mr(r,i,a),Et=d,Sn=h,Et!==null&&(Sn?(r=Et,a=a.stateNode,r.nodeType===8?r.parentNode.removeChild(a):r.removeChild(a)):Et.removeChild(a.stateNode));break;case 18:Et!==null&&(Sn?(r=Et,a=a.stateNode,r.nodeType===8?ic(r.parentNode,a):r.nodeType===1&&ic(r,a),Ni(r)):ic(Et,a.stateNode));break;case 4:d=Et,h=Sn,Et=a.stateNode.containerInfo,Sn=!0,Mr(r,i,a),Et=d,Sn=h;break;case 0:case 11:case 14:case 15:if(!Pt&&(d=a.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){h=d=d.next;do{var g=h,x=g.destroy;g=g.tag,x!==void 0&&((g&2)!==0||(g&4)!==0)&&Bc(a,i,x),h=h.next}while(h!==d)}Mr(r,i,a);break;case 1:if(!Pt&&(Bo(a,i),d=a.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=a.memoizedProps,d.state=a.memoizedState,d.componentWillUnmount()}catch(k){ft(a,i,k)}Mr(r,i,a);break;case 21:Mr(r,i,a);break;case 22:a.mode&1?(Pt=(d=Pt)||a.memoizedState!==null,Mr(r,i,a),Pt=d):Mr(r,i,a);break;default:Mr(r,i,a)}}function Q3(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var a=r.stateNode;a===null&&(a=r.stateNode=new Hm),i.forEach(function(d){var h=Jm.bind(null,r,d);a.has(d)||(a.add(d),d.then(h,h))})}}function jn(r,i){var a=i.deletions;if(a!==null)for(var d=0;d<a.length;d++){var h=a[d];try{var g=r,x=i,k=x;e:for(;k!==null;){switch(k.tag){case 5:Et=k.stateNode,Sn=!1;break e;case 3:Et=k.stateNode.containerInfo,Sn=!0;break e;case 4:Et=k.stateNode.containerInfo,Sn=!0;break e}k=k.return}if(Et===null)throw Error(n(160));J3(g,x,h),Et=null,Sn=!1;var E=h.alternate;E!==null&&(E.return=null),h.return=null}catch(F){ft(h,i,F)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)X3(i,r),i=i.sibling}function X3(r,i){var a=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(jn(i,r),Dn(r),d&4){try{rs(3,r,r.return),D1(3,r)}catch(Ce){ft(r,r.return,Ce)}try{rs(5,r,r.return)}catch(Ce){ft(r,r.return,Ce)}}break;case 1:jn(i,r),Dn(r),d&512&&a!==null&&Bo(a,a.return);break;case 5:if(jn(i,r),Dn(r),d&512&&a!==null&&Bo(a,a.return),r.flags&32){var h=r.stateNode;try{ki(h,"")}catch(Ce){ft(r,r.return,Ce)}}if(d&4&&(h=r.stateNode,h!=null)){var g=r.memoizedProps,x=a!==null?a.memoizedProps:g,k=r.type,E=r.updateQueue;if(r.updateQueue=null,E!==null)try{k==="input"&&g.type==="radio"&&g.name!=null&&Kn(h,g),bl(k,x);var F=bl(k,g);for(x=0;x<E.length;x+=2){var q=E[x],Q=E[x+1];q==="style"?N2(h,Q):q==="dangerouslySetInnerHTML"?z2(h,Q):q==="children"?ki(h,Q):$(h,q,Q,F)}switch(k){case"input":cn(h,g);break;case"textarea":bi(h,g);break;case"select":var U=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!g.multiple;var ue=g.value;ue!=null?Yn(h,!!g.multiple,ue,!1):U!==!!g.multiple&&(g.defaultValue!=null?Yn(h,!!g.multiple,g.defaultValue,!0):Yn(h,!!g.multiple,g.multiple?[]:"",!1))}h[Ui]=g}catch(Ce){ft(r,r.return,Ce)}}break;case 6:if(jn(i,r),Dn(r),d&4){if(r.stateNode===null)throw Error(n(162));h=r.stateNode,g=r.memoizedProps;try{h.nodeValue=g}catch(Ce){ft(r,r.return,Ce)}}break;case 3:if(jn(i,r),Dn(r),d&4&&a!==null&&a.memoizedState.isDehydrated)try{Ni(i.containerInfo)}catch(Ce){ft(r,r.return,Ce)}break;case 4:jn(i,r),Dn(r);break;case 13:jn(i,r),Dn(r),h=r.child,h.flags&8192&&(g=h.memoizedState!==null,h.stateNode.isHidden=g,!g||h.alternate!==null&&h.alternate.memoizedState!==null||(Kc=ht())),d&4&&Q3(r);break;case 22:if(q=a!==null&&a.memoizedState!==null,r.mode&1?(Pt=(F=Pt)||q,jn(i,r),Pt=F):jn(i,r),Dn(r),d&8192){if(F=r.memoizedState!==null,(r.stateNode.isHidden=F)&&!q&&(r.mode&1)!==0)for(ge=r,q=r.child;q!==null;){for(Q=ge=q;ge!==null;){switch(U=ge,ue=U.child,U.tag){case 0:case 11:case 14:case 15:rs(4,U,U.return);break;case 1:Bo(U,U.return);var _e=U.stateNode;if(typeof _e.componentWillUnmount=="function"){d=U,a=U.return;try{i=d,_e.props=i.memoizedProps,_e.state=i.memoizedState,_e.componentWillUnmount()}catch(Ce){ft(d,a,Ce)}}break;case 5:Bo(U,U.return);break;case 22:if(U.memoizedState!==null){n4(Q);continue}}ue!==null?(ue.return=U,ge=ue):n4(Q)}q=q.sibling}e:for(q=null,Q=r;;){if(Q.tag===5){if(q===null){q=Q;try{h=Q.stateNode,F?(g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(k=Q.stateNode,E=Q.memoizedProps.style,x=E!=null&&E.hasOwnProperty("display")?E.display:null,k.style.display=P2("display",x))}catch(Ce){ft(r,r.return,Ce)}}}else if(Q.tag===6){if(q===null)try{Q.stateNode.nodeValue=F?"":Q.memoizedProps}catch(Ce){ft(r,r.return,Ce)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===r)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===r)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===r)break e;q===Q&&(q=null),Q=Q.return}q===Q&&(q=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:jn(i,r),Dn(r),d&4&&Q3(r);break;case 21:break;default:jn(i,r),Dn(r)}}function Dn(r){var i=r.flags;if(i&2){try{e:{for(var a=r.return;a!==null;){if(K3(a)){var d=a;break e}a=a.return}throw Error(n(160))}switch(d.tag){case 5:var h=d.stateNode;d.flags&32&&(ki(h,""),d.flags&=-33);var g=Y3(r);Uc(r,g,h);break;case 3:case 4:var x=d.stateNode.containerInfo,k=Y3(r);Wc(r,k,x);break;default:throw Error(n(161))}}catch(E){ft(r,r.return,E)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function Bm(r,i,a){ge=r,e4(r)}function e4(r,i,a){for(var d=(r.mode&1)!==0;ge!==null;){var h=ge,g=h.child;if(h.tag===22&&d){var x=h.memoizedState!==null||F1;if(!x){var k=h.alternate,E=k!==null&&k.memoizedState!==null||Pt;k=F1;var F=Pt;if(F1=x,(Pt=E)&&!F)for(ge=h;ge!==null;)x=ge,E=x.child,x.tag===22&&x.memoizedState!==null?r4(h):E!==null?(E.return=x,ge=E):r4(h);for(;g!==null;)ge=g,e4(g),g=g.sibling;ge=h,F1=k,Pt=F}t4(r)}else(h.subtreeFlags&8772)!==0&&g!==null?(g.return=h,ge=g):t4(r)}}function t4(r){for(;ge!==null;){var i=ge;if((i.flags&8772)!==0){var a=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Pt||D1(5,i);break;case 1:var d=i.stateNode;if(i.flags&4&&!Pt)if(a===null)d.componentDidMount();else{var h=i.elementType===i.type?a.memoizedProps:kn(i.type,a.memoizedProps);d.componentDidUpdate(h,a.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&n3(i,g,d);break;case 3:var x=i.updateQueue;if(x!==null){if(a=null,i.child!==null)switch(i.child.tag){case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}n3(i,x,a)}break;case 5:var k=i.stateNode;if(a===null&&i.flags&4){a=k;var E=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&a.focus();break;case"img":E.src&&(a.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var F=i.alternate;if(F!==null){var q=F.memoizedState;if(q!==null){var Q=q.dehydrated;Q!==null&&Ni(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Pt||i.flags&512&&Zc(i)}catch(U){ft(i,i.return,U)}}if(i===r){ge=null;break}if(a=i.sibling,a!==null){a.return=i.return,ge=a;break}ge=i.return}}function n4(r){for(;ge!==null;){var i=ge;if(i===r){ge=null;break}var a=i.sibling;if(a!==null){a.return=i.return,ge=a;break}ge=i.return}}function r4(r){for(;ge!==null;){var i=ge;try{switch(i.tag){case 0:case 11:case 15:var a=i.return;try{D1(4,i)}catch(E){ft(i,a,E)}break;case 1:var d=i.stateNode;if(typeof d.componentDidMount=="function"){var h=i.return;try{d.componentDidMount()}catch(E){ft(i,h,E)}}var g=i.return;try{Zc(i)}catch(E){ft(i,g,E)}break;case 5:var x=i.return;try{Zc(i)}catch(E){ft(i,x,E)}}}catch(E){ft(i,i.return,E)}if(i===r){ge=null;break}var k=i.sibling;if(k!==null){k.return=i.return,ge=k;break}ge=i.return}}var Zm=Math.ceil,$1=A.ReactCurrentDispatcher,qc=A.ReactCurrentOwner,mn=A.ReactCurrentBatchConfig,Ge=0,kt=null,gt=null,Mt=0,rn=0,Zo=br(0),xt=0,os=null,Qr=0,H1=0,Gc=0,is=null,Wt=null,Kc=0,Wo=1/0,or=null,V1=!1,Yc=null,Ir=null,B1=!1,Or=null,Z1=0,ss=0,Jc=null,W1=-1,U1=0;function Dt(){return(Ge&6)!==0?ht():W1!==-1?W1:W1=ht()}function Lr(r){return(r.mode&1)===0?1:(Ge&2)!==0&&Mt!==0?Mt&-Mt:Em.transition!==null?(U1===0&&(U1=Y2()),U1):(r=Je,r!==0||(r=window.event,r=r===void 0?16:id(r.type)),r)}function En(r,i,a,d){if(50<ss)throw ss=0,Jc=null,Error(n(185));Oi(r,a,d),((Ge&2)===0||r!==kt)&&(r===kt&&((Ge&2)===0&&(H1|=a),xt===4&&Tr(r,Mt)),Ut(r,d),a===1&&Ge===0&&(i.mode&1)===0&&(Wo=ht()+500,x1&&Sr()))}function Ut(r,i){var a=r.callbackNode;Ep(r,i);var d=t1(r,r===kt?Mt:0);if(d===0)a!==null&&q2(a),r.callbackNode=null,r.callbackPriority=0;else if(i=d&-d,r.callbackPriority!==i){if(a!=null&&q2(a),i===1)r.tag===0?jm(i4.bind(null,r)):Zd(i4.bind(null,r)),Cm(function(){(Ge&6)===0&&Sr()}),a=null;else{switch(J2(d)){case 1:a=Ol;break;case 4:a=G2;break;case 16:a=Js;break;case 536870912:a=K2;break;default:a=Js}a=h4(a,o4.bind(null,r))}r.callbackPriority=i,r.callbackNode=a}}function o4(r,i){if(W1=-1,U1=0,(Ge&6)!==0)throw Error(n(327));var a=r.callbackNode;if(Uo()&&r.callbackNode!==a)return null;var d=t1(r,r===kt?Mt:0);if(d===0)return null;if((d&30)!==0||(d&r.expiredLanes)!==0||i)i=q1(r,d);else{i=d;var h=Ge;Ge|=2;var g=a4();(kt!==r||Mt!==i)&&(or=null,Wo=ht()+500,eo(r,i));do try{qm();break}catch(k){s4(r,k)}while(!0);mc(),$1.current=g,Ge=h,gt!==null?i=0:(kt=null,Mt=0,i=xt)}if(i!==0){if(i===2&&(h=Ll(r),h!==0&&(d=h,i=Qc(r,h))),i===1)throw a=os,eo(r,0),Tr(r,d),Ut(r,ht()),a;if(i===6)Tr(r,d);else{if(h=r.current.alternate,(d&30)===0&&!Wm(h)&&(i=q1(r,d),i===2&&(g=Ll(r),g!==0&&(d=g,i=Qc(r,g))),i===1))throw a=os,eo(r,0),Tr(r,d),Ut(r,ht()),a;switch(r.finishedWork=h,r.finishedLanes=d,i){case 0:case 1:throw Error(n(345));case 2:to(r,Wt,or);break;case 3:if(Tr(r,d),(d&130023424)===d&&(i=Kc+500-ht(),10<i)){if(t1(r,0)!==0)break;if(h=r.suspendedLanes,(h&d)!==d){Dt(),r.pingedLanes|=r.suspendedLanes&h;break}r.timeoutHandle=oc(to.bind(null,r,Wt,or),i);break}to(r,Wt,or);break;case 4:if(Tr(r,d),(d&4194240)===d)break;for(i=r.eventTimes,h=-1;0<d;){var x=31-_n(d);g=1<<x,x=i[x],x>h&&(h=x),d&=~g}if(d=h,d=ht()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Zm(d/1960))-d,10<d){r.timeoutHandle=oc(to.bind(null,r,Wt,or),d);break}to(r,Wt,or);break;case 5:to(r,Wt,or);break;default:throw Error(n(329))}}}return Ut(r,ht()),r.callbackNode===a?o4.bind(null,r):null}function Qc(r,i){var a=is;return r.current.memoizedState.isDehydrated&&(eo(r,i).flags|=256),r=q1(r,i),r!==2&&(i=Wt,Wt=a,i!==null&&Xc(i)),r}function Xc(r){Wt===null?Wt=r:Wt.push.apply(Wt,r)}function Wm(r){for(var i=r;;){if(i.flags&16384){var a=i.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var d=0;d<a.length;d++){var h=a[d],g=h.getSnapshot;h=h.value;try{if(!Cn(g(),h))return!1}catch{return!1}}}if(a=i.child,i.subtreeFlags&16384&&a!==null)a.return=i,i=a;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Tr(r,i){for(i&=~Gc,i&=~H1,r.suspendedLanes|=i,r.pingedLanes&=~i,r=r.expirationTimes;0<i;){var a=31-_n(i),d=1<<a;r[a]=-1,i&=~d}}function i4(r){if((Ge&6)!==0)throw Error(n(327));Uo();var i=t1(r,0);if((i&1)===0)return Ut(r,ht()),null;var a=q1(r,i);if(r.tag!==0&&a===2){var d=Ll(r);d!==0&&(i=d,a=Qc(r,d))}if(a===1)throw a=os,eo(r,0),Tr(r,i),Ut(r,ht()),a;if(a===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=i,to(r,Wt,or),Ut(r,ht()),null}function eu(r,i){var a=Ge;Ge|=1;try{return r(i)}finally{Ge=a,Ge===0&&(Wo=ht()+500,x1&&Sr())}}function Xr(r){Or!==null&&Or.tag===0&&(Ge&6)===0&&Uo();var i=Ge;Ge|=1;var a=mn.transition,d=Je;try{if(mn.transition=null,Je=1,r)return r()}finally{Je=d,mn.transition=a,Ge=i,(Ge&6)===0&&Sr()}}function tu(){rn=Zo.current,it(Zo)}function eo(r,i){r.finishedWork=null,r.finishedLanes=0;var a=r.timeoutHandle;if(a!==-1&&(r.timeoutHandle=-1,_m(a)),gt!==null)for(a=gt.return;a!==null;){var d=a;switch(uc(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&w1();break;case 3:Ho(),it(Vt),it(Lt),bc();break;case 5:_c(d);break;case 4:Ho();break;case 13:it(lt);break;case 19:it(lt);break;case 10:gc(d.type._context);break;case 22:case 23:tu()}a=a.return}if(kt=r,gt=r=zr(r.current,null),Mt=rn=i,xt=0,os=null,Gc=H1=Qr=0,Wt=is=null,Kr!==null){for(i=0;i<Kr.length;i++)if(a=Kr[i],d=a.interleaved,d!==null){a.interleaved=null;var h=d.next,g=a.pending;if(g!==null){var x=g.next;g.next=h,d.next=x}a.pending=d}Kr=null}return r}function s4(r,i){do{var a=gt;try{if(mc(),O1.current=P1,L1){for(var d=ct.memoizedState;d!==null;){var h=d.queue;h!==null&&(h.pending=null),d=d.next}L1=!1}if(Jr=0,bt=yt=ct=null,Qi=!1,Xi=0,qc.current=null,a===null||a.return===null){xt=1,os=i,gt=null;break}e:{var g=r,x=a.return,k=a,E=i;if(i=Mt,k.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var F=E,q=k,Q=q.tag;if((q.mode&1)===0&&(Q===0||Q===11||Q===15)){var U=q.alternate;U?(q.updateQueue=U.updateQueue,q.memoizedState=U.memoizedState,q.lanes=U.lanes):(q.updateQueue=null,q.memoizedState=null)}var ue=L3(x);if(ue!==null){ue.flags&=-257,T3(ue,x,k,g,i),ue.mode&1&&O3(g,F,i),i=ue,E=F;var _e=i.updateQueue;if(_e===null){var Ce=new Set;Ce.add(E),i.updateQueue=Ce}else _e.add(E);break e}else{if((i&1)===0){O3(g,F,i),nu();break e}E=Error(n(426))}}else if(st&&k.mode&1){var pt=L3(x);if(pt!==null){(pt.flags&65536)===0&&(pt.flags|=256),T3(pt,x,k,g,i),hc(Vo(E,k));break e}}g=E=Vo(E,k),xt!==4&&(xt=2),is===null?is=[g]:is.push(g),g=x;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var z=M3(g,E,i);t3(g,z);break e;case 1:k=E;var O=g.type,R=g.stateNode;if((g.flags&128)===0&&(typeof O.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(Ir===null||!Ir.has(R)))){g.flags|=65536,i&=-i,g.lanes|=i;var te=I3(g,k,i);t3(g,te);break e}}g=g.return}while(g!==null)}c4(a)}catch(ke){i=ke,gt===a&&a!==null&&(gt=a=a.return);continue}break}while(!0)}function a4(){var r=$1.current;return $1.current=P1,r===null?P1:r}function nu(){(xt===0||xt===3||xt===2)&&(xt=4),kt===null||(Qr&268435455)===0&&(H1&268435455)===0||Tr(kt,Mt)}function q1(r,i){var a=Ge;Ge|=2;var d=a4();(kt!==r||Mt!==i)&&(or=null,eo(r,i));do try{Um();break}catch(h){s4(r,h)}while(!0);if(mc(),Ge=a,$1.current=d,gt!==null)throw Error(n(261));return kt=null,Mt=0,xt}function Um(){for(;gt!==null;)l4(gt)}function qm(){for(;gt!==null&&!wp();)l4(gt)}function l4(r){var i=f4(r.alternate,r,rn);r.memoizedProps=r.pendingProps,i===null?c4(r):gt=i,qc.current=null}function c4(r){var i=r;do{var a=i.alternate;if(r=i.return,(i.flags&32768)===0){if(a=Dm(a,i,rn),a!==null){gt=a;return}}else{if(a=$m(a,i),a!==null){a.flags&=32767,gt=a;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{xt=6,gt=null;return}}if(i=i.sibling,i!==null){gt=i;return}gt=i=r}while(i!==null);xt===0&&(xt=5)}function to(r,i,a){var d=Je,h=mn.transition;try{mn.transition=null,Je=1,Gm(r,i,a,d)}finally{mn.transition=h,Je=d}return null}function Gm(r,i,a,d){do Uo();while(Or!==null);if((Ge&6)!==0)throw Error(n(327));a=r.finishedWork;var h=r.finishedLanes;if(a===null)return null;if(r.finishedWork=null,r.finishedLanes=0,a===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var g=a.lanes|a.childLanes;if(Mp(r,g),r===kt&&(gt=kt=null,Mt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||B1||(B1=!0,h4(Js,function(){return Uo(),null})),g=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||g){g=mn.transition,mn.transition=null;var x=Je;Je=1;var k=Ge;Ge|=4,qc.current=null,Vm(r,a),X3(a,r),pm(nc),o1=!!tc,nc=tc=null,r.current=a,Bm(a),yp(),Ge=k,Je=x,mn.transition=g}else r.current=a;if(B1&&(B1=!1,Or=r,Z1=h),g=r.pendingLanes,g===0&&(Ir=null),Cp(a.stateNode),Ut(r,ht()),i!==null)for(d=r.onRecoverableError,a=0;a<i.length;a++)h=i[a],d(h.value,{componentStack:h.stack,digest:h.digest});if(V1)throw V1=!1,r=Yc,Yc=null,r;return(Z1&1)!==0&&r.tag!==0&&Uo(),g=r.pendingLanes,(g&1)!==0?r===Jc?ss++:(ss=0,Jc=r):ss=0,Sr(),null}function Uo(){if(Or!==null){var r=J2(Z1),i=mn.transition,a=Je;try{if(mn.transition=null,Je=16>r?16:r,Or===null)var d=!1;else{if(r=Or,Or=null,Z1=0,(Ge&6)!==0)throw Error(n(331));var h=Ge;for(Ge|=4,ge=r.current;ge!==null;){var g=ge,x=g.child;if((ge.flags&16)!==0){var k=g.deletions;if(k!==null){for(var E=0;E<k.length;E++){var F=k[E];for(ge=F;ge!==null;){var q=ge;switch(q.tag){case 0:case 11:case 15:rs(8,q,g)}var Q=q.child;if(Q!==null)Q.return=q,ge=Q;else for(;ge!==null;){q=ge;var U=q.sibling,ue=q.return;if(G3(q),q===F){ge=null;break}if(U!==null){U.return=ue,ge=U;break}ge=ue}}}var _e=g.alternate;if(_e!==null){var Ce=_e.child;if(Ce!==null){_e.child=null;do{var pt=Ce.sibling;Ce.sibling=null,Ce=pt}while(Ce!==null)}}ge=g}}if((g.subtreeFlags&2064)!==0&&x!==null)x.return=g,ge=x;else e:for(;ge!==null;){if(g=ge,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:rs(9,g,g.return)}var z=g.sibling;if(z!==null){z.return=g.return,ge=z;break e}ge=g.return}}var O=r.current;for(ge=O;ge!==null;){x=ge;var R=x.child;if((x.subtreeFlags&2064)!==0&&R!==null)R.return=x,ge=R;else e:for(x=O;ge!==null;){if(k=ge,(k.flags&2048)!==0)try{switch(k.tag){case 0:case 11:case 15:D1(9,k)}}catch(ke){ft(k,k.return,ke)}if(k===x){ge=null;break e}var te=k.sibling;if(te!==null){te.return=k.return,ge=te;break e}ge=k.return}}if(Ge=h,Sr(),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(Qs,r)}catch{}d=!0}return d}finally{Je=a,mn.transition=i}}return!1}function u4(r,i,a){i=Vo(a,i),i=M3(r,i,1),r=Er(r,i,1),i=Dt(),r!==null&&(Oi(r,1,i),Ut(r,i))}function ft(r,i,a){if(r.tag===3)u4(r,r,a);else for(;i!==null;){if(i.tag===3){u4(i,r,a);break}else if(i.tag===1){var d=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Ir===null||!Ir.has(d))){r=Vo(a,r),r=I3(i,r,1),i=Er(i,r,1),r=Dt(),i!==null&&(Oi(i,1,r),Ut(i,r));break}}i=i.return}}function Km(r,i,a){var d=r.pingCache;d!==null&&d.delete(i),i=Dt(),r.pingedLanes|=r.suspendedLanes&a,kt===r&&(Mt&a)===a&&(xt===4||xt===3&&(Mt&130023424)===Mt&&500>ht()-Kc?eo(r,0):Gc|=a),Ut(r,i)}function d4(r,i){i===0&&((r.mode&1)===0?i=1:(i=e1,e1<<=1,(e1&130023424)===0&&(e1=4194304)));var a=Dt();r=tr(r,i),r!==null&&(Oi(r,i,a),Ut(r,a))}function Ym(r){var i=r.memoizedState,a=0;i!==null&&(a=i.retryLane),d4(r,a)}function Jm(r,i){var a=0;switch(r.tag){case 13:var d=r.stateNode,h=r.memoizedState;h!==null&&(a=h.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),d4(r,a)}var f4;f4=function(r,i,a){if(r!==null)if(r.memoizedProps!==i.pendingProps||Vt.current)Zt=!0;else{if((r.lanes&a)===0&&(i.flags&128)===0)return Zt=!1,Fm(r,i,a);Zt=(r.flags&131072)!==0}else Zt=!1,st&&(i.flags&1048576)!==0&&Wd(i,C1,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;A1(r,i),r=i.pendingProps;var h=Po(i,Lt.current);$o(i,a),h=jc(null,i,d,r,h,a);var g=Ec();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,Bt(d)?(g=!0,y1(i)):g=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,yc(i),h.updater=N1,i.stateNode=h,h._reactInternals=i,zc(i,d,r,a),i=Ac(null,i,d,!0,g,a)):(i.tag=0,st&&g&&cc(i),Ft(null,i,h,a),i=i.child),i;case 16:d=i.elementType;e:{switch(A1(r,i),r=i.pendingProps,h=d._init,d=h(d._payload),i.type=d,h=i.tag=Xm(d),r=kn(d,r),h){case 0:i=Rc(null,i,d,r,a);break e;case 1:i=F3(null,i,d,r,a);break e;case 11:i=z3(null,i,d,r,a);break e;case 14:i=P3(null,i,d,kn(d.type,r),a);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:kn(d,h),Rc(r,i,d,h,a);case 1:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:kn(d,h),F3(r,i,d,h,a);case 3:e:{if(D3(i),r===null)throw Error(n(387));d=i.pendingProps,g=i.memoizedState,h=g.element,e3(r,i),M1(i,d,null,a);var x=i.memoizedState;if(d=x.element,g.isDehydrated)if(g={element:d,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){h=Vo(Error(n(423)),i),i=$3(r,i,d,a,h);break e}else if(d!==h){h=Vo(Error(n(424)),i),i=$3(r,i,d,a,h);break e}else for(nn=Cr(i.stateNode.containerInfo.firstChild),tn=i,st=!0,bn=null,a=Qd(i,null,d,a),i.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(Ao(),d===h){i=rr(r,i,a);break e}Ft(r,i,d,a)}i=i.child}return i;case 5:return r3(i),r===null&&fc(i),d=i.type,h=i.pendingProps,g=r!==null?r.memoizedProps:null,x=h.children,rc(d,h)?x=null:g!==null&&rc(d,g)&&(i.flags|=32),A3(r,i),Ft(r,i,x,a),i.child;case 6:return r===null&&fc(i),null;case 13:return H3(r,i,a);case 4:return xc(i,i.stateNode.containerInfo),d=i.pendingProps,r===null?i.child=Fo(i,null,d,a):Ft(r,i,d,a),i.child;case 11:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:kn(d,h),z3(r,i,d,h,a);case 7:return Ft(r,i,i.pendingProps,a),i.child;case 8:return Ft(r,i,i.pendingProps.children,a),i.child;case 12:return Ft(r,i,i.pendingProps.children,a),i.child;case 10:e:{if(d=i.type._context,h=i.pendingProps,g=i.memoizedProps,x=h.value,tt(S1,d._currentValue),d._currentValue=x,g!==null)if(Cn(g.value,x)){if(g.children===h.children&&!Vt.current){i=rr(r,i,a);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var k=g.dependencies;if(k!==null){x=g.child;for(var E=k.firstContext;E!==null;){if(E.context===d){if(g.tag===1){E=nr(-1,a&-a),E.tag=2;var F=g.updateQueue;if(F!==null){F=F.shared;var q=F.pending;q===null?E.next=E:(E.next=q.next,q.next=E),F.pending=E}}g.lanes|=a,E=g.alternate,E!==null&&(E.lanes|=a),vc(g.return,a,i),k.lanes|=a;break}E=E.next}}else if(g.tag===10)x=g.type===i.type?null:g.child;else if(g.tag===18){if(x=g.return,x===null)throw Error(n(341));x.lanes|=a,k=x.alternate,k!==null&&(k.lanes|=a),vc(x,a,i),x=g.sibling}else x=g.child;if(x!==null)x.return=g;else for(x=g;x!==null;){if(x===i){x=null;break}if(g=x.sibling,g!==null){g.return=x.return,x=g;break}x=x.return}g=x}Ft(r,i,h.children,a),i=i.child}return i;case 9:return h=i.type,d=i.pendingProps.children,$o(i,a),h=hn(h),d=d(h),i.flags|=1,Ft(r,i,d,a),i.child;case 14:return d=i.type,h=kn(d,i.pendingProps),h=kn(d.type,h),P3(r,i,d,h,a);case 15:return N3(r,i,i.type,i.pendingProps,a);case 17:return d=i.type,h=i.pendingProps,h=i.elementType===d?h:kn(d,h),A1(r,i),i.tag=1,Bt(d)?(r=!0,y1(i)):r=!1,$o(i,a),j3(i,d,h),zc(i,d,h,a),Ac(null,i,d,!0,r,a);case 19:return B3(r,i,a);case 22:return R3(r,i,a)}throw Error(n(156,i.tag))};function h4(r,i){return U2(r,i)}function Qm(r,i,a,d){this.tag=r,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=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(r,i,a,d){return new Qm(r,i,a,d)}function ru(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Xm(r){if(typeof r=="function")return ru(r)?1:0;if(r!=null){if(r=r.$$typeof,r===me)return 11;if(r===Ie)return 14}return 2}function zr(r,i){var a=r.alternate;return a===null?(a=gn(r.tag,i,r.key,r.mode),a.elementType=r.elementType,a.type=r.type,a.stateNode=r.stateNode,a.alternate=r,r.alternate=a):(a.pendingProps=i,a.type=r.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=r.flags&14680064,a.childLanes=r.childLanes,a.lanes=r.lanes,a.child=r.child,a.memoizedProps=r.memoizedProps,a.memoizedState=r.memoizedState,a.updateQueue=r.updateQueue,i=r.dependencies,a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=r.sibling,a.index=r.index,a.ref=r.ref,a}function G1(r,i,a,d,h,g){var x=2;if(d=r,typeof r=="function")ru(r)&&(x=1);else if(typeof r=="string")x=5;else e:switch(r){case K:return no(a.children,h,g,i);case H:x=8,h|=8;break;case ee:return r=gn(12,a,i,h|2),r.elementType=ee,r.lanes=g,r;case ne:return r=gn(13,a,i,h),r.elementType=ne,r.lanes=g,r;case se:return r=gn(19,a,i,h),r.elementType=se,r.lanes=g,r;case Ne:return K1(a,h,g,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Z:x=10;break e;case he:x=9;break e;case me:x=11;break e;case Ie:x=14;break e;case xe:x=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=gn(x,a,i,h),i.elementType=r,i.type=d,i.lanes=g,i}function no(r,i,a,d){return r=gn(7,r,d,i),r.lanes=a,r}function K1(r,i,a,d){return r=gn(22,r,d,i),r.elementType=Ne,r.lanes=a,r.stateNode={isHidden:!1},r}function ou(r,i,a){return r=gn(6,r,null,i),r.lanes=a,r}function iu(r,i,a){return i=gn(4,r.children!==null?r.children:[],r.key,i),i.lanes=a,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function eg(r,i,a,d,h){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Tl(0),this.expirationTimes=Tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tl(0),this.identifierPrefix=d,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function su(r,i,a,d,h,g,x,k,E){return r=new eg(r,i,a,k,E),i===1?(i=1,g===!0&&(i|=8)):i=0,g=gn(3,null,null,i),r.current=g,g.stateNode=r,g.memoizedState={element:d,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},yc(g),r}function tg(r,i,a){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B,key:d==null?null:""+d,children:r,containerInfo:i,implementation:a}}function p4(r){if(!r)return kr;r=r._reactInternals;e:{if(Zr(r)!==r||r.tag!==1)throw Error(n(170));var i=r;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Bt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(r.tag===1){var a=r.type;if(Bt(a))return Vd(r,a,i)}return i}function m4(r,i,a,d,h,g,x,k,E){return r=su(a,d,!0,r,h,g,x,k,E),r.context=p4(null),a=r.current,d=Dt(),h=Lr(a),g=nr(d,h),g.callback=i??null,Er(a,g,h),r.current.lanes=h,Oi(r,h,d),Ut(r,d),r}function Y1(r,i,a,d){var h=i.current,g=Dt(),x=Lr(h);return a=p4(a),i.context===null?i.context=a:i.pendingContext=a,i=nr(g,x),i.payload={element:r},d=d===void 0?null:d,d!==null&&(i.callback=d),r=Er(h,i,x),r!==null&&(En(r,h,x,g),E1(r,h,x)),x}function J1(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function g4(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var a=r.retryLane;r.retryLane=a!==0&&a<i?a:i}}function au(r,i){g4(r,i),(r=r.alternate)&&g4(r,i)}function ng(){return null}var v4=typeof reportError=="function"?reportError:function(r){console.error(r)};function lu(r){this._internalRoot=r}Q1.prototype.render=lu.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(n(409));Y1(r,i,null,null)},Q1.prototype.unmount=lu.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;Xr(function(){Y1(null,r,null,null)}),i[Jn]=null}};function Q1(r){this._internalRoot=r}Q1.prototype.unstable_scheduleHydration=function(r){if(r){var i=ed();r={blockedOn:null,target:r,priority:i};for(var a=0;a<yr.length&&i!==0&&i<yr[a].priority;a++);yr.splice(a,0,r),a===0&&rd(r)}};function cu(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function X1(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function w4(){}function rg(r,i,a,d,h){if(h){if(typeof d=="function"){var g=d;d=function(){var F=J1(x);g.call(F)}}var x=m4(i,d,r,0,null,!1,!1,"",w4);return r._reactRootContainer=x,r[Jn]=x.current,Zi(r.nodeType===8?r.parentNode:r),Xr(),x}for(;h=r.lastChild;)r.removeChild(h);if(typeof d=="function"){var k=d;d=function(){var F=J1(E);k.call(F)}}var E=su(r,0,!1,null,null,!1,!1,"",w4);return r._reactRootContainer=E,r[Jn]=E.current,Zi(r.nodeType===8?r.parentNode:r),Xr(function(){Y1(i,E,a,d)}),E}function ea(r,i,a,d,h){var g=a._reactRootContainer;if(g){var x=g;if(typeof h=="function"){var k=h;h=function(){var E=J1(x);k.call(E)}}Y1(i,x,r,h)}else x=rg(a,i,r,h,d);return J1(x)}Q2=function(r){switch(r.tag){case 3:var i=r.stateNode;if(i.current.memoizedState.isDehydrated){var a=Ii(i.pendingLanes);a!==0&&(zl(i,a|1),Ut(i,ht()),(Ge&6)===0&&(Wo=ht()+500,Sr()))}break;case 13:Xr(function(){var d=tr(r,1);if(d!==null){var h=Dt();En(d,r,1,h)}}),au(r,1)}},Pl=function(r){if(r.tag===13){var i=tr(r,134217728);if(i!==null){var a=Dt();En(i,r,134217728,a)}au(r,134217728)}},X2=function(r){if(r.tag===13){var i=Lr(r),a=tr(r,i);if(a!==null){var d=Dt();En(a,r,i,d)}au(r,i)}},ed=function(){return Je},td=function(r,i){var a=Je;try{return Je=r,i()}finally{Je=a}},jl=function(r,i,a){switch(i){case"input":if(cn(r,a),i=a.name,a.type==="radio"&&i!=null){for(a=r;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<a.length;i++){var d=a[i];if(d!==r&&d.form===r.form){var h=v1(d);if(!h)throw Error(n(90));Qe(d),cn(d,h)}}}break;case"textarea":bi(r,a);break;case"select":i=a.value,i!=null&&Yn(r,!!a.multiple,i,!1)}},D2=eu,$2=Xr;var og={usingClientEntryPoint:!1,Events:[qi,To,v1,A2,F2,eu]},as={findFiberByHostInstance:Wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ig={bundleType:as.bundleType,version:as.version,rendererPackageName:as.rendererPackageName,rendererConfig:as.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Z2(r),r===null?null:r.stateNode},findFiberByHostInstance:as.findFiberByHostInstance||ng,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 ta=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ta.isDisabled&&ta.supportsFiber)try{Qs=ta.inject(ig),Nn=ta}catch{}}return qt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=og,qt.createPortal=function(r,i){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cu(i))throw Error(n(200));return tg(r,i,null,a)},qt.createRoot=function(r,i){if(!cu(r))throw Error(n(299));var a=!1,d="",h=v4;return i!=null&&(i.unstable_strictMode===!0&&(a=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=su(r,1,!1,null,null,a,!1,d,h),r[Jn]=i.current,Zi(r.nodeType===8?r.parentNode:r),new lu(i)},qt.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=Z2(i),r=r===null?null:r.stateNode,r},qt.flushSync=function(r){return Xr(r)},qt.hydrate=function(r,i,a){if(!X1(i))throw Error(n(200));return ea(null,r,i,!0,a)},qt.hydrateRoot=function(r,i,a){if(!cu(r))throw Error(n(405));var d=a!=null&&a.hydratedSources||null,h=!1,g="",x=v4;if(a!=null&&(a.unstable_strictMode===!0&&(h=!0),a.identifierPrefix!==void 0&&(g=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError)),i=m4(i,null,r,1,a??null,h,!1,g,x),r[Jn]=i.current,Zi(r),d)for(r=0;r<d.length;r++)a=d[r],h=a._getVersion,h=h(a._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[a,h]:i.mutableSourceEagerHydrationData.push(a,h);return new Q1(i)},qt.render=function(r,i,a){if(!X1(i))throw Error(n(200));return ea(null,r,i,!1,a)},qt.unmountComponentAtNode=function(r){if(!X1(r))throw Error(n(40));return r._reactRootContainer?(Xr(function(){ea(null,null,r,!1,function(){r._reactRootContainer=null,r[Jn]=null})}),!0):!1},qt.unstable_batchedUpdates=eu,qt.unstable_renderSubtreeIntoContainer=function(r,i,a,d){if(!X1(a))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return ea(r,i,a,!1,d)},qt.version="18.3.1-next-f1338f8080-20240426",qt}var $4;function Z6(){if($4)return xu.exports;$4=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(),xu.exports=$v(),xu.exports}var zn=Z6();const Hv=Hs(zn),Vv=Ba({__proto__:null,default:Hv},[zn]);var ra={},H4;function Bv(){if(H4)return ra;H4=1;var e=Z6();return ra.createRoot=e.createRoot,ra.hydrateRoot=e.hydrateRoot,ra}var W6=Bv();const Zv=Hs(W6),Wv=Ba({__proto__:null,default:Zv},[W6]);function Uv(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class qv extends Error{}class Gv extends Error{}function Kv(e){return typeof e=="function"?e():e}const oa=Object.freeze([]);class Yv{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 o=t,s=this.factoryRecord(o.name);if(s.definition!==void 0)throw new Error(`slot factory "${o.name}" already has a definition`);for(const f of Object.keys(o.children??{})){const p=this.records.get(f);if(p?.spec!==void 0)throw new Error(`slot "${f}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(o.store!==void 0&&typeof o.store!="function"){const f=this.handleScopes.get(o.store);if(f!==void 0&&f.scope!==o.scope)throw new Error(`store handle mounted under factory "${o.name}" (scope "${o.scope}") is already mounted under scope "${f.scope}" — one handle, one scope`);f!==void 0?f.count+=1:this.handleScopes.set(o.store,{scope:o.scope,count:1})}const l={name:o.name,component:n,scope:o.scope,...o.children===void 0?{}:{children:o.children},...o.store===void 0?{}:{store:o.store},...o.inject===void 0?{}:{inject:o.inject},...o.locale===void 0?{}:{locale:o.locale},...o.slots===void 0?{}:{slots:o.slots},...o.registrant===void 0?{}:{registrant:o.registrant}};s.definition=l,this.markFactoryDirty(s);const u=[];for(const[f,p]of Object.entries(o.children??{})){const m=this.record(f);m.spec=p,m.declaredBy=`factory "${o.name}"${o.registrant?` (${o.registrant})`:""}`,m.parent=`factory:${o.name}`,m.declarationEpoch+=1,u.push([f,m])}for(const[f,p]of u)this.markDirty(f,p);for(const[,f]of u)this.notifyDeclaration(f);return()=>{if(s.definition===l){if(s.definition=void 0,this.markFactoryDirty(s),l.store!==void 0&&typeof l.store!="function"){const f=this.handleScopes.get(l.store);f!==void 0&&--f.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 o=this.factoryRecord(t);return o.listeners.add(n),()=>{o.listeners.delete(n)}}isFactoryLive(t){return this.factories.get(t.name)?.definition===t}register(t,n){const o=this.records.get(t.name);if(!o?.spec)throw new Error(`slot "${t.name}" is not declared (a parent entry's children table must declare it)`);const s=o.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=o.entries.find(v=>(v.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=o.entries.find(v=>v.options.key===t.key&&(v.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=o.entries.find(v=>v.options.id===t.id&&(v.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 v=this.records.get(m);if(v?.spec)throw new Error(`slot "${m}" is already declared (by ${v.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 f={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=[...o.entries,f];if(p.sort(s.kind==="list"?(m,v)=>(m.options.priority??0)-(v.options.priority??0)||(m.options.order??0)-(v.options.order??0):(m,v)=>(m.options.priority??0)-(v.options.priority??0)),o.entries=p,this.markDirty(t.name,o),t.children){const m=[];for(const[v,w]of Object.entries(t.children)){const y=this.record(v);y.spec=w,y.declaredBy=`an entry in "${t.name}"${t.registrant?` (${t.registrant})`:""}`,y.parent=t.name,y.declarationEpoch+=1,m.push([v,y])}for(const[v,w]of m)this.markDirty(v,w);for(const[,v]of m)this.notifyDeclaration(v)}return()=>{o.entries.includes(f)&&(o.entries=o.entries.filter(m=>m!==f),this.markDirty(t.name,o),this.releaseEntry(f))}}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??oa}entriesOfSlot(t){const n=this.records.get(t);if(!n?.spec)return oa;const o=n.spec.kind;if(o==="chain")return n.entries;const s=[],l=new Set;for(const u of n.entries){if(this.abdicated.has(u))continue;const f=o==="keyed"?u.options.key:o==="list"?u.options.id:void 0;l.has(f)||(l.add(f),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,f)=>{const p=this.records.get(u);if(p?.spec===void 0||f.has(u))return;const m=new Set(f);m.add(u);const v=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,y])=>y.spec!==void 0&&y.parent===u).flatMap(([y])=>{const _=n(y,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(y=>({...y.registrant===void 0?{}:{registrant:y.registrant},...y.options.key===void 0?{}:{key:y.options.key},...y.options.id===void 0?{}:{id:y.options.id},...y.options.order===void 0?{}:{order:y.options.order},priority:y.options.priority??0,active:v.has(y)})),children:w}},o=u=>{const f=this.factories.get(u)?.definition;if(f===void 0)return;const p=`factory:${u}`,m=[...this.records.entries()].filter(([,v])=>v.spec!==void 0&&v.parent===p).flatMap(([v])=>{const w=n(v,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:f.scope,...f.registrant===void 0?{}:{registrant:f.registrant},children:m}};if(t!==void 0){const u=t.startsWith("factory:")?o(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 f=n(u,new Set);return f===void 0?[]:[f]}),l=[...this.factories.keys()].flatMap(u=>{const f=o(u);return f===void 0?[]:[f]});return[...s,...l]}declarationEpoch(t){return this.records.get(t)?.declarationEpoch??0}subscribe(t,n){const o=this.record(t);return o.listeners.add(n),()=>{o.listeners.delete(n)}}subscribeDeclaration(t,n){const o=this.record(t);return o.declarationListeners.add(n),()=>{o.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,o,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,o,{abdicated:s.abdicate})}reportFactoryError(t,n,o){for(const s of[...this.entryErrorListeners])s(`factory:${t}`,n,o,{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 o=this.records.get(n);if(!o)continue;const s=o.entries;o.spec=void 0,o.declaredBy=void 0,o.parent=void 0,o.declarationEpoch+=1,o.entries=oa,this.markDirty(n,o),this.notifyDeclaration(o);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:oa,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 o of[...this.mutateListeners])o(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 o of[...n.listeners])o()}}const Jv=Object.freeze(Object.defineProperty({__proto__:null,SlotCore:Yv,SlotOwnershipError:Gv,StaleAuthorizationError:qv,resolveSlotLabel:Kv,standardHookPropName:Uv},Symbol.toStringTag,{value:"Module"}));async function Xa(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 Qv=1e3;function Vs(e){const[t,n]=S.useState(!1),o=S.useCallback(()=>{t||(async()=>{try{const s=typeof e=="function"?await e():e;if(!await Xa(s))return;n(!0),window.setTimeout(()=>n(!1),Qv)}catch{return}})()},[t,e]);return{copied:t,onCopy:o}}function U6(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=U6(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function pe(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=U6(e))&&(o&&(o+=" "),o+=t);return o}const Xv="_dot_1i08g_2",ew="_spinner_1i08g_37",tw="_spinnerMotion_1i08g_42",nw="_spinnerTrack_1i08g_47",rw="_spinnerArc_1i08g_48",ow="_step_1i08g_99",Go={dot:Xv,spinner:ew,spinnerMotion:tw,spinnerTrack:nw,spinnerArc:rw,step:ow},q6=({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"})]}),G6=({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"})]}),N0=({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"})]}),R0=({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"})]}),A0=({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"})]}),el=({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"})]}),K6="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",Y=1,J=1.3,iw=e=>c.jsx(q6,{...e}),sw=e=>c.jsx(q6,{...e}),Y6=({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"})]}),aw=e=>c.jsx(Y6,{...e,strokeWidth:Y}),lw=e=>c.jsx(Y6,{...e,strokeWidth:J}),cw=e=>c.jsx(N0,{...e,strokeWidth:Y}),uw=e=>c.jsx(N0,{...e,strokeWidth:J}),J6=({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"})]}),dw=e=>c.jsx(J6,{...e,strokeWidth:Y}),fw=e=>c.jsx(J6,{...e,strokeWidth:J}),Q6=({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"})]}),X6=e=>c.jsx(Q6,{...e,strokeWidth:Y}),hw=e=>c.jsx(Q6,{...e,strokeWidth:J}),ef=({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"})]}),pw=e=>c.jsx(ef,{...e,strokeWidth:Y}),mw=e=>c.jsx(ef,{...e,strokeWidth:J}),tf=({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"})]}),nf=e=>c.jsx(tf,{...e,strokeWidth:Y}),gw=e=>c.jsx(tf,{...e,strokeWidth:J}),rf=({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"})}),mi=e=>c.jsx(rf,{...e,strokeWidth:Y}),vw=e=>c.jsx(rf,{...e,strokeWidth:J}),of=({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"})]}),ww=e=>c.jsx(of,{...e,strokeWidth:Y}),yw=e=>c.jsx(of,{...e,strokeWidth:J}),sf=({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"})}),af=e=>c.jsx(sf,{...e,strokeWidth:Y}),xw=e=>c.jsx(sf,{...e,strokeWidth:J}),lf=({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"})}),cf=e=>c.jsx(lf,{...e,strokeWidth:Y}),_w=e=>c.jsx(lf,{...e,strokeWidth:J}),uf=({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"})}),Cw=e=>c.jsx(uf,{...e,strokeWidth:Y}),bw=e=>c.jsx(uf,{...e,strokeWidth:J}),df=({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"})}),kw=e=>c.jsx(df,{...e,strokeWidth:Y}),Sw=e=>c.jsx(df,{...e,strokeWidth:J}),ff=({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"})}),hf=e=>c.jsx(ff,{...e,strokeWidth:Y}),jw=e=>c.jsx(ff,{...e,strokeWidth:J}),pf=({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"})]}),tl=e=>c.jsx(pf,{...e,strokeWidth:Y}),Ew=e=>c.jsx(pf,{...e,strokeWidth:J}),mf=({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"})]}),gf=e=>c.jsx(mf,{...e,strokeWidth:Y}),Mw=e=>c.jsx(mf,{...e,strokeWidth:J}),vf=({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"})}),Iw=e=>c.jsx(vf,{...e,strokeWidth:Y}),Ow=e=>c.jsx(vf,{...e,strokeWidth:J}),wf=({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"})]}),F0=e=>c.jsx(wf,{...e,strokeWidth:Y}),Lw=e=>c.jsx(wf,{...e,strokeWidth:J}),yf=({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"})]}),xf=e=>c.jsx(yf,{...e,strokeWidth:Y}),Tw=e=>c.jsx(yf,{...e,strokeWidth:J}),_f=({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"})}),zw=e=>c.jsx(_f,{...e,strokeWidth:Y}),Pw=e=>c.jsx(_f,{...e,strokeWidth:J}),Cf=({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"})}),Nw=e=>c.jsx(Cf,{...e,strokeWidth:Y}),Rw=e=>c.jsx(Cf,{...e,strokeWidth:J}),bf=({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"})}),Aw=e=>c.jsx(bf,{...e,strokeWidth:Y}),Fw=e=>c.jsx(bf,{...e,strokeWidth:J}),kf=({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"})}),Dw=e=>c.jsx(kf,{...e,strokeWidth:Y}),$w=e=>c.jsx(kf,{...e,strokeWidth:J}),Sf=({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"})}),Hw=e=>c.jsx(Sf,{...e,strokeWidth:Y}),Vw=e=>c.jsx(Sf,{...e,strokeWidth:J}),jf=({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"})]}),Bw=e=>c.jsx(jf,{...e,strokeWidth:Y}),Zw=e=>c.jsx(jf,{...e,strokeWidth:J}),Ef=({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"})]}),Ww=e=>c.jsx(Ef,{...e,strokeWidth:Y}),Uw=e=>c.jsx(Ef,{...e,strokeWidth:J}),Mf=({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"})]}),qw=e=>c.jsx(Mf,{...e,strokeWidth:Y}),Gw=e=>c.jsx(Mf,{...e,strokeWidth:J}),If=({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"})]}),Kw=e=>c.jsx(If,{...e,strokeWidth:Y}),Yw=e=>c.jsx(If,{...e,strokeWidth:J}),Jw=e=>c.jsx(A0,{...e,strokeWidth:Y}),Qw=e=>c.jsx(A0,{...e,strokeWidth:J}),Of=({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"})]}),Xw=e=>c.jsx(Of,{...e,strokeWidth:Y}),ey=e=>c.jsx(Of,{...e,strokeWidth:J}),Lf=({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"})]}),ty=e=>c.jsx(Lf,{...e,strokeWidth:Y}),ny=e=>c.jsx(Lf,{...e,strokeWidth:J}),Tf=({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"})]}),ry=e=>c.jsx(Tf,{...e,strokeWidth:Y}),oy=e=>c.jsx(Tf,{...e,strokeWidth:J}),zf=({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"})]}),iy=e=>c.jsx(zf,{...e,strokeWidth:Y}),sy=e=>c.jsx(zf,{...e,strokeWidth:J}),Pf=({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"})]}),ay=e=>c.jsx(Pf,{...e,strokeWidth:Y}),ly=e=>c.jsx(Pf,{...e,strokeWidth:J}),Nf=({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"})]}),Rf=e=>c.jsx(Nf,{...e,strokeWidth:Y}),cy=e=>c.jsx(Nf,{...e,strokeWidth:J}),Af=({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"})]}),uy=e=>c.jsx(Af,{...e,strokeWidth:Y}),dy=e=>c.jsx(Af,{...e,strokeWidth:J}),Ff=({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"})]}),fy=e=>c.jsx(Ff,{...e,strokeWidth:Y}),hy=e=>c.jsx(Ff,{...e,strokeWidth:J}),Df=({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"})]}),py=e=>c.jsx(Df,{...e,strokeWidth:Y}),my=e=>c.jsx(Df,{...e,strokeWidth:J}),$f=({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"})]}),gy=e=>c.jsx($f,{...e,strokeWidth:Y}),vy=e=>c.jsx($f,{...e,strokeWidth:J}),Hf=({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"})]}),wy=e=>c.jsx(Hf,{...e,strokeWidth:Y}),yy=e=>c.jsx(Hf,{...e,strokeWidth:J}),Vf=({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"})}),xy=e=>c.jsx(Vf,{...e,strokeWidth:Y}),_y=e=>c.jsx(Vf,{...e,strokeWidth:J}),Bf=({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"})}),Cy=e=>c.jsx(Bf,{...e,strokeWidth:Y}),by=e=>c.jsx(Bf,{...e,strokeWidth:J}),Zf=({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"})}),Wf=e=>c.jsx(Zf,{...e,strokeWidth:Y}),ky=e=>c.jsx(Zf,{...e,strokeWidth:J}),Uf=({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"})]}),Sy=e=>c.jsx(Uf,{...e,strokeWidth:Y}),jy=e=>c.jsx(Uf,{...e,strokeWidth:J}),qf=({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"})]}),Ey=e=>c.jsx(qf,{...e,strokeWidth:Y}),My=e=>c.jsx(qf,{...e,strokeWidth:J}),Gf=({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"})]}),Iy=e=>c.jsx(Gf,{...e,strokeWidth:Y}),Oy=e=>c.jsx(Gf,{...e,strokeWidth:J}),Kf=({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"})]}),Ly=e=>c.jsx(Kf,{...e,strokeWidth:Y}),Ty=e=>c.jsx(Kf,{...e,strokeWidth:J}),Yf=({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"})]}),zy=e=>c.jsx(Yf,{...e,strokeWidth:Y}),Py=e=>c.jsx(Yf,{...e,strokeWidth:J}),Jf=({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"})]}),Ny=e=>c.jsx(Jf,{...e,strokeWidth:Y}),Ry=e=>c.jsx(Jf,{...e,strokeWidth:J}),Qf=({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"})]}),Ay=e=>c.jsx(Qf,{...e,strokeWidth:Y}),Fy=e=>c.jsx(Qf,{...e,strokeWidth:J}),Xf=({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"})]}),Dy=e=>c.jsx(Xf,{...e,strokeWidth:Y}),$y=e=>c.jsx(Xf,{...e,strokeWidth:J}),e8=({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"})]}),Hy=e=>c.jsx(e8,{...e,strokeWidth:Y}),Vy=e=>c.jsx(e8,{...e,strokeWidth:J}),t8=({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"})]}),By=e=>c.jsx(t8,{...e,strokeWidth:Y}),Zy=e=>c.jsx(t8,{...e,strokeWidth:J}),n8=({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"})]}),Wy=e=>c.jsx(n8,{...e,strokeWidth:Y}),Uy=e=>c.jsx(n8,{...e,strokeWidth:J}),qy=e=>c.jsx(el,{...e,strokeWidth:Y}),Gy=e=>c.jsx(el,{...e,strokeWidth:J}),r8=({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"})}),Ky=e=>c.jsx(r8,{...e,strokeWidth:Y}),Yy=e=>c.jsx(r8,{...e,strokeWidth:J}),o8=({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"})]}),Jy=e=>c.jsx(o8,{...e,strokeWidth:Y}),Qy=e=>c.jsx(o8,{...e,strokeWidth:J}),i8=({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"})}),Xy=e=>c.jsx(i8,{...e,strokeWidth:Y}),ex=e=>c.jsx(i8,{...e,strokeWidth:J}),s8=({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"})]}),tx=e=>c.jsx(s8,{...e,strokeWidth:Y}),nx=e=>c.jsx(s8,{...e,strokeWidth:J}),a8=({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"})]}),l8=e=>c.jsx(a8,{...e,strokeWidth:Y}),rx=e=>c.jsx(a8,{...e,strokeWidth:J}),c8=({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"})]}),ox=e=>c.jsx(c8,{...e,strokeWidth:Y}),ix=e=>c.jsx(c8,{...e,strokeWidth:J}),u8=({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"})]}),sx=e=>c.jsx(u8,{...e,strokeWidth:Y}),ax=e=>c.jsx(u8,{...e,strokeWidth:J}),d8=({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"})]}),lx=e=>c.jsx(d8,{...e,strokeWidth:Y}),cx=e=>c.jsx(d8,{...e,strokeWidth:J}),f8=({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"})]}),ux=e=>c.jsx(f8,{...e,strokeWidth:Y}),dx=e=>c.jsx(f8,{...e,strokeWidth:J}),h8=({size:e=14,...t})=>c.jsx(G6,{size:e,...t}),fx=e=>c.jsx(h8,{...e,strokeWidth:Y}),hx=e=>c.jsx(h8,{...e,strokeWidth:J}),p8=({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"})]}),px=e=>c.jsx(p8,{...e,strokeWidth:Y}),mx=e=>c.jsx(p8,{...e,strokeWidth:J}),D0=({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"})]}),gx=e=>c.jsx(D0,{...e,strokeWidth:Y}),vx=e=>c.jsx(D0,{...e,strokeWidth:J}),m8=({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"})]}),wx=e=>c.jsx(m8,{...e,strokeWidth:Y}),yx=e=>c.jsx(m8,{...e,strokeWidth:J}),g8=({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"})]}),xx=e=>c.jsx(g8,{...e,strokeWidth:Y}),_x=e=>c.jsx(g8,{...e,strokeWidth:J}),Cx=e=>c.jsx(R0,{...e,size:e.size??12,strokeWidth:Y}),bx=e=>c.jsx(R0,{...e,size:e.size??12,strokeWidth:J}),v8=({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"})]}),kx=e=>c.jsx(v8,{...e,strokeWidth:Y}),Sx=e=>c.jsx(v8,{...e,strokeWidth:J}),w8=({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"})]}),jx=e=>c.jsx(w8,{...e,strokeWidth:Y}),Ex=e=>c.jsx(w8,{...e,strokeWidth:J}),y8=({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"})]}),x8=e=>c.jsx(y8,{...e,strokeWidth:Y}),Mx=e=>c.jsx(y8,{...e,strokeWidth:J}),_8=({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"})]}),Ix=e=>c.jsx(_8,{...e,strokeWidth:Y}),Ox=e=>c.jsx(_8,{...e,strokeWidth:J}),C8=({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"})]}),Lx=e=>c.jsx(C8,{...e,strokeWidth:Y}),Tx=e=>c.jsx(C8,{...e,strokeWidth:J}),b8=({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"})]}),zx=e=>c.jsx(b8,{...e,strokeWidth:Y}),Px=e=>c.jsx(b8,{...e,strokeWidth:J}),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:"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"})]}),S8=e=>c.jsx(k8,{...e,strokeWidth:Y}),Nx=e=>c.jsx(k8,{...e,strokeWidth:J}),j8=({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"})]}),E8=e=>c.jsx(j8,{...e}),Rx=e=>c.jsx(j8,{...e}),M8=({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"})]}),I8=e=>c.jsx(M8,{...e}),Ax=e=>c.jsx(M8,{...e}),O8=({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"})]}),Fx=e=>c.jsx(O8,{...e,strokeWidth:Y}),Dx=e=>c.jsx(O8,{...e,strokeWidth:J}),L8=e=>c.jsx(D0,{...e,size:e.size??14}),$x=e=>c.jsx(L8,{...e,strokeWidth:Y}),Hx=e=>c.jsx(L8,{...e,strokeWidth:J}),T8=({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"})]}),Vx=e=>c.jsx(T8,{...e,strokeWidth:Y}),Bx=e=>c.jsx(T8,{...e,strokeWidth:J}),z8=({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:K6,stroke:"currentColor",strokeLinejoin:"round"})}),Zx=e=>c.jsx(z8,{...e,strokeWidth:Y}),Wx=e=>c.jsx(z8,{...e,strokeWidth:J}),P8=({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"})]}),N8=e=>c.jsx(P8,{...e,strokeWidth:Y}),Ux=e=>c.jsx(P8,{...e,strokeWidth:J}),R8=({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"})]}),qx=e=>c.jsx(R8,{...e,strokeWidth:Y}),Gx=e=>c.jsx(R8,{...e,strokeWidth:J}),A8=({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"})]}),Kx=e=>c.jsx(A8,{...e,strokeWidth:Y}),Yx=e=>c.jsx(A8,{...e,strokeWidth:J}),F8=({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"})]}),Jx=e=>c.jsx(F8,{...e,strokeWidth:Y}),Qx=e=>c.jsx(F8,{...e,strokeWidth:J}),D8=({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"})]}),Xx=e=>c.jsx(D8,{...e,strokeWidth:Y}),e_=e=>c.jsx(D8,{...e,strokeWidth:J}),$8=({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"})]}),t_=e=>c.jsx($8,{...e,strokeWidth:Y}),n_=e=>c.jsx($8,{...e,strokeWidth:J}),H8=({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"})]}),r_=e=>c.jsx(H8,{...e,strokeWidth:Y}),o_=e=>c.jsx(H8,{...e,strokeWidth:J}),V8=({size:e=16,className:t,strokeWidth:n})=>{const o=`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:o,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(#${o})`,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"})]})},i_=e=>c.jsx(V8,{...e,strokeWidth:Y}),s_=e=>c.jsx(V8,{...e,strokeWidth:J}),B8=({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"})]}),a_=e=>c.jsx(B8,{...e,strokeWidth:Y}),l_=e=>c.jsx(B8,{...e,strokeWidth:J}),Z8=({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"})]}),c_=e=>c.jsx(Z8,{...e,strokeWidth:Y}),u_=e=>c.jsx(Z8,{...e,strokeWidth:J}),W8=({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"})]}),d_=e=>c.jsx(W8,{...e,strokeWidth:Y}),f_=e=>c.jsx(W8,{...e,strokeWidth:J});function h_(e){e!==null&&(V4(e),e.addEventListener("animationstart",()=>{V4(e)}))}function V4(e){const t=e;for(const n of t.getAnimations?.({subtree:!0})??[])n.startTime=0}function $0({state:e,size:t,className:n,appearance:o="dot"}){const s=t??(e==="ongoing"?14:10);return e==="ongoing"?c.jsx("svg",{ref:h_,className:pe(Go.spinner,n),"data-state":"ongoing",width:s,height:s,viewBox:"0 0 24 24","aria-hidden":"true",children:c.jsxs("g",{className:Go.spinnerMotion,children:[c.jsx("circle",{className:Go.spinnerTrack,cx:"12",cy:"12",r:"9.5"}),c.jsx("circle",{className:Go.spinnerArc,cx:"12",cy:"12",r:"9.5"})]})}):c.jsx("span",{className:pe(o==="step"?Go.step:Go.dot,n),"data-state":e,style:{width:s,height:s},"aria-hidden":"true",children:o==="step"&&e==="done"&&c.jsx(mi,{size:s-2})})}const bu=new Map,U8=new Map;function p_(e){const t=bu.get(e);if(t)return t;const n=new AbortController,o=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 f=u;return U8.set(e,f),f}).catch(l=>{throw bu.delete(e),l}).finally(()=>clearTimeout(o));return bu.set(e,s),s}function q8({id:e,src:t,presentationUrl:n,size:o,className:s,fallback:l}){const[u,f]=S.useState(()=>{const m=U8.get(n);return m?{url:n,icons:m}:null});if(S.useEffect(()=>{let m=!0;return p_(n).then(v=>{m&&f({url:n,icons:v})},()=>{m&&f(null)}),()=>{m=!1}},[n]),!u||u.url!==n)return l;const p=u.icons[e];if(p?.vector){const{paths:m,color:v,viewBox:w}=p.vector;return c.jsx("svg",{className:s,viewBox:w,width:o,height:o,"aria-hidden":"true",focusable:"false",style:{fill:v,flex:"none"},children:m.map((y,_)=>c.jsx("path",{d:y.d,fillRule:y.fillRule,fill:y.fill},_))})}return c.jsx(m_,{src:t,size:o,className:s,presentation:p,fallback:l},t)}function m_({src:e,size:t,className:n,presentation:o,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",...o?.borderRadius===void 0?{}:{borderRadius:`${o.borderRadius}%`},...o?.background?{background:o.background}:{},...o?.paddingRatio?{boxSizing:"border-box",padding:Math.max(1,Math.round(t*o.paddingRatio))}:{}},onError:()=>u(!0)})}function g_({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"})]})}const v_="_root_r2lcn_1",w_="_content_r2lcn_11",y_="_text_r2lcn_17",x_="_decoration_r2lcn_25",__="_sweep_r2lcn_34",C_="_highlight_r2lcn_54",co={root:v_,content:w_,text:y_,decoration:x_,sweep:__,highlight:C_},ga=S.createContext(void 0);function B4({children:e,className:t}){const o=S.useContext(ga)===!0&&typeof e=="string";return c.jsx("span",{className:pe(co.text,t),"data-shimmer-text":o?e:void 0,children:o?null:e})}const n0=S.memo(function({children:t,active:n=!1,className:o,contentClassName:s}){if(S.useContext(ga)!==void 0)return c.jsx(B4,{className:o,children:t});const u=typeof t=="string"?c.jsx(B4,{children:t}):t;return c.jsxs("span",{className:pe(co.root,o),"data-shimmer":n||void 0,children:[c.jsx(ga.Provider,{value:!1,children:c.jsx("span",{className:pe(co.content,s),children:u})}),n&&c.jsx("span",{className:co.decoration,"aria-hidden":"true",inert:"",children:c.jsx("span",{className:co.sweep,children:c.jsx(ga.Provider,{value:!0,children:c.jsx("span",{className:pe(co.content,co.highlight,s),children:u})})})})]})}),b_="_root_jhda5_9",k_="_row_jhda5_16",S_="_leading_jhda5_35",j_="_iconIdle_jhda5_63",E_="_chevronHover_jhda5_69",M_="_title_jhda5_85",ro={root:b_,row:k_,leading:S_,iconIdle:j_,chevronHover:E_,title:M_},I_=S.memo(function({icon:t,title:n,open:o,expandable:s,onToggle:l,running:u=!1,expandOnRowClick:f=!1,previewChevron:p=s,keepContentWhenOpen:m=!1,collapsedContent:v,children:w,className:y,rowClassName:_,contentClassName:C,contentLayoutClassName:I,leadingClassName:M,chevronClassName:N,titleClassName:L}){const $=s&&f,A=H=>{H.stopPropagation(),l()},W=H=>{!$||H.key!=="Enter"&&H.key!==" "||(H.preventDefault(),l())},B=p?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:ro.iconIdle,children:t}),c.jsx(af,{className:pe(N,ro.chevronHover)})]}):t,K=o?c.jsx(hf,{className:N}):B;return c.jsxs("div",{className:pe(ro.root,y),"data-open":o||void 0,children:[c.jsxs("div",{className:pe(ro.row,_),"data-disclosure-row":!0,"data-expandable":$||void 0,role:$?"button":void 0,tabIndex:$?0:void 0,"aria-expanded":$?o:void 0,onClick:$?l:void 0,onKeyDown:$?W:void 0,children:[s&&!$?c.jsx("button",{type:"button",className:pe(ro.leading,M),"aria-label":n,"aria-expanded":o,onClick:A,children:K}):c.jsx("span",{className:pe(ro.leading,M),children:K}),c.jsxs(n0,{active:u,className:C,contentClassName:I,children:[c.jsx(n0,{className:pe(ro.title,L),children:n}),(m||!o)&&v]})]}),o&&w]})}),O_="_button_1rv3m_2",L_="_md_1rv3m_23",T_="_sm_1rv3m_28",z_="_primary_1rv3m_36",P_="_ghost_1rv3m_45",N_="_outline_1rv3m_54",R_="_toolbar_1rv3m_63",A_="_icon_1rv3m_71",ia={button:O_,md:L_,sm:T_,primary:z_,ghost:P_,outline:N_,toolbar:R_,icon:A_},r0=S.forwardRef(function({variant:t="ghost",size:n="md",icon:o,className:s,children:l,...u},f){return c.jsxs("button",{ref:f,type:"button",className:pe(ia.button,ia[t],ia[n],s),...u,children:[o!=null&&c.jsx("span",{className:ia.icon,children:o}),l]})}),F_="_pill_1bqmh_1",D_="_interactive_1bqmh_16",$_="_active_1bqmh_24",cs={pill:F_,interactive:D_,active:$_};function H0({active:e=!1,className:t,children:n,onClick:o,...s}){return o?c.jsx("button",{type:"button",className:pe(cs.pill,cs.interactive,e&&cs.active,t),onClick:o,...s,children:n}):c.jsx("span",{className:pe(cs.pill,e&&cs.active,t),children:n})}const H_="_tabs_19aqj_1",V_="_indicator_19aqj_9",B_="_tab_19aqj_1",ku={tabs:H_,indicator:V_,tab:B_};function Z_({items:e,value:t,onChange:n,label:o,className:s}){const l=e.findIndex(f=>f.value===t),u=(f,p)=>{let m;switch(f.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}f.preventDefault(),f.stopPropagation();const v=f.currentTarget.parentElement,w=e[m];v===null||w===void 0||(v.querySelectorAll('[role="tab"]').item(m).focus(),n(w.value))};return c.jsxs("div",{role:"tablist","aria-label":o,className:pe(ku.tabs,s),style:{gridTemplateColumns:`repeat(${e.length}, minmax(0, 1fr))`},children:[c.jsx("span",{className:ku.indicator,"aria-hidden":"true",style:{width:`calc((100% - 8px) / ${e.length})`,transform:`translateX(${l*100}%)`}}),e.map((f,p)=>c.jsx(H0,{id:f.id,role:"tab",className:ku.tab,"aria-selected":t===f.value,"aria-controls":f.panelId,tabIndex:t===f.value?0:-1,onClick:()=>{n(f.value)},onKeyDown:m=>{u(m,p)},children:f.label},f.value))]})}const W_="_tag_usm2l_4",U_={tag:W_};function V0({tone:e="outline",className:t,children:n}){return c.jsx("span",{className:pe(U_.tag,t),"data-tone":e,children:n})}function q_(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 G_="_path_1kiio_3",K_="_text_1kiio_17",Y_="_directory_1kiio_22",J_="_name_1kiio_26",sa={path:G_,text:K_,directory:Y_,name:J_};function Q_({path:e,className:t,...n}){const o=S.useRef(null),s=S.useRef(null),{directory:l,name:u}=q_(e);return S.useLayoutEffect(()=>{const f=o.current,p=s.current,m=()=>{f.toggleAttribute("data-path-clipped",p.offsetWidth>f.clientWidth)};m();const v=typeof ResizeObserver>"u"?void 0:new ResizeObserver(m);return v?.observe(f),v?.observe(p),()=>{v?.disconnect()}},[e]),c.jsx("span",{...n,ref:o,className:pe(sa.path,t),title:e,"data-path-label":!0,children:c.jsxs("span",{ref:s,className:sa.text,children:[l!==""&&c.jsx("span",{className:sa.directory,children:l}),c.jsx("span",{className:sa.name,children:u})]})})}const X_="_thumb_x6xd3_34",Z4={switch:"_switch_x6xd3_5",thumb:X_};function eC({checked:e,onChange:t,label:n,disabled:o=!1,title:s,className:l}){return c.jsx("button",{type:"button",role:"switch","aria-checked":e,"aria-label":n,title:s,disabled:o,className:pe(Z4.switch,l),onClick:()=>{t(!e)},children:c.jsx("span",{className:Z4.thumb})})}const tC="_control_1oziv_11",nC="_indicator_1oziv_22",rC="_tab_1oziv_37",Su={control:tC,indicator:nC,tab:rC};function oC(e){return e==="ArrowLeft"||e==="ArrowRight"||e==="ArrowUp"||e==="ArrowDown"||e==="Home"||e==="End"}function iC(e,t,n){const o=e.filter(u=>u.disabled!==!0);if(n==="Home")return o[0];if(n==="End")return o[o.length-1];const s=n==="ArrowRight"||n==="ArrowDown"?1:-1,l=e.length;for(let u=1;u<l;u+=1){const f=e[((t+s*u)%l+l)%l];if(f!==void 0&&f.disabled!==!0)return f}}function sC({id:e,value:t,options:n,onChange:o,label:s,disabled:l=!1,className:u}){const f=S.useRef(null),p=n.findIndex(w=>w.value===t);S.useEffect(()=>{const w=f.current;w!==null&&w.contains(document.activeElement)&&w.querySelector('[role="tab"][aria-selected="true"]')?.focus()},[t]);const m=w=>{if(!oC(w.key))return;w.preventDefault();const y=iC(n,p,w.key);y!==void 0&&y.value!==t&&o(y.value)},v={"--dsh-segment-count":String(n.length),"--dsh-segment-index":String(p)};return c.jsxs("div",{ref:f,role:"tablist","aria-label":s,className:pe(Su.control,u),style:v,children:[c.jsx("span",{"aria-hidden":"true",className:Su.indicator}),n.map(w=>{const y=w.value===t;return c.jsx("button",{id:`${e}-${w.value}`,type:"button",role:"tab","aria-selected":y,"aria-controls":`${e}-${w.value}-panel`,tabIndex:y?0:-1,disabled:l||w.disabled===!0,title:w.title,className:Su.tab,onClick:()=>{y||o(w.value)},onKeyDown:m,children:w.label},w.value)})]})}const aC="_checkbox_oegbd_1",lC={checkbox:aC};function cC({checked:e,onChange:t,label:n,disabled:o=!1,title:s,className:l}){return c.jsxs("label",{className:pe(lC.checkbox,l),title:s,children:[c.jsx("input",{type:"checkbox",checked:e,disabled:o,onChange:u=>{t(u.target.checked)}}),c.jsx("span",{children:n})]})}const uC="_wrap_14sgc_1",dC="_icon_14sgc_16",fC="_input_14sgc_25",ju={wrap:uC,icon:dC,input:fC},hC=S.forwardRef(function({icon:t,className:n,...o},s){return c.jsxs("span",{className:pe(ju.wrap,n),children:[t!=null&&c.jsx("span",{className:ju.icon,children:t}),c.jsx("input",{ref:s,className:ju.input,...o})]})}),pC="_editor_61ozo_1",mC={editor:pC};function gC({value:e,label:t,onChange:n,onSave:o,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 v=new ResizeObserver(m);return v.observe(p),()=>{v.disconnect()}},[e]);const f=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(),o())};return c.jsx("textarea",{ref:u,autoFocus:!0,rows:1,className:pe(mC.editor,l),"aria-label":t,value:e,onChange:p=>{n(p.currentTarget.value)},onKeyDown:f})}function Ts(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 vC=200;function G8(e){const t=S.useRef(null),n=S.useRef(e);n.current=e;const o=S.useCallback(()=>{t.current!==null&&(clearTimeout(t.current),t.current=null)},[]),s=S.useCallback(()=>{o(),t.current=setTimeout(()=>{t.current=null,n.current()},vC)},[o]);return S.useEffect(()=>o,[o]),{arm:s,cancel:o}}function nl(e){let t=!1,n=!1;const o=()=>{t=!0},s=()=>{t=!1,n=!0},l=()=>{n=!1},u=()=>{t=!1,n=!1};return e.addEventListener("compositionstart",o,!0),e.addEventListener("compositionend",s,!0),e.addEventListener("keyup",l,!0),e.defaultView?.addEventListener("blur",u),{guards:f=>{const p=t||n||f.isComposing||f.keyCode===229;return n=!1,p},dispose:()=>{e.removeEventListener("compositionstart",o,!0),e.removeEventListener("compositionend",s,!0),e.removeEventListener("keyup",l,!0),e.defaultView?.removeEventListener("blur",u)}}}/*!
59
+ * Bowser - a browser detector
60
+ * https://github.com/lancedikson/bowser
61
+ * MIT License | (c) Dustin Diaz 2012-2015
62
+ * MIT License | (c) Denis Demchenko 2015-2026
63
+ */var wC={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"},K8={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"},Pe={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},Nt={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"},lr={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",LibWeb:"LibWeb",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"},P=(function(){function e(){}return e.getFirstMatch=function(n,o){var s=o.match(n);return s&&s.length>0&&s[1]||""},e.getSecondMatch=function(n,o){var s=o.match(n);return s&&s.length>1&&s[2]||""},e.matchAndReturnConst=function(n,o,s){if(n.test(o))return s},e.isFirefoxOnIpad=function(n){var o=n.indexOf("Macintosh");if(o===-1)return!1;var s=n.indexOf(" FxiOS",o+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 o=n.split(".").splice(0,2).map(function(u){return parseInt(u,10)||0});o.push(0);var s=o[0],l=o[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 o=n.split(".").splice(0,2).map(function(s){return parseInt(s,10)||0});if(o.push(0),!(o[0]===1&&o[1]<5)){if(o[0]===1&&o[1]<6)return"Cupcake";if(o[0]===1&&o[1]>=6)return"Donut";if(o[0]===2&&o[1]<2)return"Eclair";if(o[0]===2&&o[1]===2)return"Froyo";if(o[0]===2&&o[1]>2)return"Gingerbread";if(o[0]===3)return"Honeycomb";if(o[0]===4&&o[1]<1)return"Ice Cream Sandwich";if(o[0]===4&&o[1]<4)return"Jelly Bean";if(o[0]===4&&o[1]>=4)return"KitKat";if(o[0]===5)return"Lollipop";if(o[0]===6)return"Marshmallow";if(o[0]===7)return"Nougat";if(o[0]===8)return"Oreo";if(o[0]===9)return"Pie"}},e.getVersionPrecision=function(n){return n.split(".").length},e.compareVersions=function(n,o,s){s===void 0&&(s=!1);var l=e.getVersionPrecision(n),u=e.getVersionPrecision(o),f=Math.max(l,u),p=0,m=e.map([n,o],function(v){var w=f-e.getVersionPrecision(v),y=v+new Array(w+1).join(".0");return e.map(y.split("."),function(_){return new Array(20-_.length).join("0")+_}).reverse()});for(s&&(p=f-Math.min(l,u)),f-=1;f>=p;){if(m[0][f]>m[1][f])return 1;if(m[0][f]===m[1][f]){if(f===p)return 0;f-=1}else if(m[0][f]<m[1][f])return-1}},e.map=function(n,o){var s=[],l;if(Array.prototype.map)return Array.prototype.map.call(n,o);for(l=0;l<n.length;l+=1)s.push(o(n[l]));return s},e.find=function(n,o){var s,l;if(Array.prototype.find)return Array.prototype.find.call(n,o);for(s=0,l=n.length;s<l;s+=1){var u=n[s];if(o(u,s))return u}},e.assign=function(n){for(var o=n,s,l,u=arguments.length,f=new Array(u>1?u-1:0),p=1;p<u;p++)f[p-1]=arguments[p];if(Object.assign)return Object.assign.apply(Object,[n].concat(f));var m=function(){var w=f[s];typeof w=="object"&&w!==null&&Object.keys(w).forEach(function(y){o[y]=w[y]})};for(s=0,l=f.length;s<l;s+=1)m();return n},e.getBrowserAlias=function(n){return wC[n]},e.getBrowserTypeByAlias=function(n){return K8[n]||""},e})(),ze=/version\/(\d+(\.?_?\d+)+)/i,yC=[{test:[/gptbot/i],describe:function(t){var n={name:"GPTBot"},o=P.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/chatgpt-user/i],describe:function(t){var n={name:"ChatGPT-User"},o=P.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/oai-searchbot/i],describe:function(t){var n={name:"OAI-SearchBot"},o=P.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(t){var n={name:"ClaudeBot"},o=P.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(t){var n={name:"Omgilibot"},o=P.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/diffbot/i],describe:function(t){var n={name:"Diffbot"},o=P.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/perplexitybot/i],describe:function(t){var n={name:"PerplexityBot"},o=P.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/perplexity-user/i],describe:function(t){var n={name:"Perplexity-User"},o=P.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/youbot/i],describe:function(t){var n={name:"YouBot"},o=P.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/meta-webindexer/i],describe:function(t){var n={name:"Meta-WebIndexer"},o=P.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/meta-externalads/i],describe:function(t){var n={name:"Meta-ExternalAds"},o=P.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/meta-externalagent/i],describe:function(t){var n={name:"Meta-ExternalAgent"},o=P.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/meta-externalfetcher/i],describe:function(t){var n={name:"Meta-ExternalFetcher"},o=P.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/googlebot/i],describe:function(t){var n={name:"Googlebot"},o=P.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/linespider/i],describe:function(t){var n={name:"Linespider"},o=P.getFirstMatch(/(?:linespider)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/amazonbot/i],describe:function(t){var n={name:"AmazonBot"},o=P.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/bingbot/i],describe:function(t){var n={name:"BingCrawler"},o=P.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/baiduspider/i],describe:function(t){var n={name:"BaiduSpider"},o=P.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/duckduckbot/i],describe:function(t){var n={name:"DuckDuckBot"},o=P.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/ia_archiver/i],describe:function(t){var n={name:"InternetArchiveCrawler"},o=P.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(t){var n={name:"SlackBot"},o=P.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]{1,64})?[\s/](\d+(\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),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"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/opr\/|opios/i],describe:function(t){var n={name:"Opera"},o=P.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/SamsungBrowser/i],describe:function(t){var n={name:"Samsung Internet for Android"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/Whale/i],describe:function(t){var n={name:"NAVER Whale Browser"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/PaleMoon/i],describe:function(t){var n={name:"Pale Moon"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/HeyTapBrowser/i],describe:function(t){var n={name:"HeyTap Browser"},o=P.getFirstMatch(/(?:HeyTapBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/VivoBrowser/i],describe:function(t){var n={name:"Vivo Browser"},o=P.getFirstMatch(/(?:VivoBrowser)[\s/](\d+(?:\.\d+)*)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/MZBrowser/i],describe:function(t){var n={name:"MZ Browser"},o=P.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/focus/i],describe:function(t){var n={name:"Focus"},o=P.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/swing/i],describe:function(t){var n={name:"Swing"},o=P.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/coast/i],describe:function(t){var n={name:"Opera Coast"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(t){var n={name:"Opera Touch"},o=P.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/yabrowser/i],describe:function(t){var n={name:"Yandex Browser"},o=P.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/ucbrowser/i],describe:function(t){var n={name:"UC Browser"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/Maxthon|mxios/i],describe:function(t){var n={name:"Maxthon"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/epiphany/i],describe:function(t){var n={name:"Epiphany"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/puffin/i],describe:function(t){var n={name:"Puffin"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/sleipnir/i],describe:function(t){var n={name:"Sleipnir"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/k-meleon/i],describe:function(t){var n={name:"K-Meleon"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/micromessenger/i],describe:function(t){var n={name:"WeChat"},o=P.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/qqbrowser/i],describe:function(t){var n={name:/qqbrowserlite/i.test(t)?"QQ Browser Lite":"QQ Browser"},o=P.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/msie|trident/i],describe:function(t){var n={name:"Internet Explorer"},o=P.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/\sedg\//i],describe:function(t){var n={name:"Microsoft Edge"},o=P.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/edg([ea]|ios)\//i],describe:function(t){var n={name:"Microsoft Edge"},o=P.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:function(t){return t.hasBrand("Vivaldi")?!0:t.test(/vivaldi/i)},describe:function(t,n){var o={name:"Vivaldi"};if(n){var s=n.getBrandVersion("Vivaldi");if(s)return o.version=s,o}var l=P.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,t);return l&&(o.version=l),o}},{test:[/seamonkey/i],describe:function(t){var n={name:"SeaMonkey"},o=P.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/sailfish/i],describe:function(t){var n={name:"Sailfish"},o=P.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,t);return o&&(n.version=o),n}},{test:[/silk/i],describe:function(t){var n={name:"Amazon Silk"},o=P.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/phantom/i],describe:function(t){var n={name:"PhantomJS"},o=P.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/slimerjs/i],describe:function(t){var n={name:"SlimerJS"},o=P.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n={name:"BlackBerry"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n={name:"WebOS Browser"},o=P.getFirstMatch(ze,t)||P.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/bada/i],describe:function(t){var n={name:"Bada"},o=P.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/tizen/i],describe:function(t){var n={name:"Tizen"},o=P.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/qupzilla/i],describe:function(t){var n={name:"QupZilla"},o=P.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/librewolf/i],describe:function(t){var n={name:"LibreWolf"},o=P.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(t){var n={name:"Firefox"},o=P.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/electron/i],describe:function(t){var n={name:"Electron"},o=P.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(t){var n={name:"Sogou Browser"},o=P.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,t),s=P.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t),l=P.getFirstMatch(/se ([\d.]+)x/i,t),u=o||s||l;return u&&(n.version=u),n}},{test:[/MiuiBrowser/i],describe:function(t){var n={name:"Miui"},o=P.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:function(t){return t.hasBrand("DuckDuckGo")?!0:t.test(/\sDdg\/[\d.]+$/i)},describe:function(t,n){var o={name:"DuckDuckGo"};if(n){var s=n.getBrandVersion("DuckDuckGo");if(s)return o.version=s,o}var l=P.getFirstMatch(/\sDdg\/([\d.]+)$/i,t);return l&&(o.version=l),o}},{test:function(t){return t.hasBrand("Brave")},describe:function(t,n){var o={name:"Brave"};if(n){var s=n.getBrandVersion("Brave");if(s)return o.version=s,o}return o}},{test:[/chromium/i],describe:function(t){var n={name:"Chromium"},o=P.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,t)||P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/ladybird/i],describe:function(t){var n={name:"Ladybird"},o=P.getFirstMatch(/ladybird\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/chrome|crios|crmo/i],describe:function(t){var n={name:"Chrome"},o=P.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/GSA/i],describe:function(t){var n={name:"Google Search"},o=P.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:function(t){var n=!t.test(/like android/i),o=t.test(/android/i);return n&&o},describe:function(t){var n={name:"Android Browser"},o=P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/playstation 4/i],describe:function(t){var n={name:"PlayStation 4"},o=P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/safari|applewebkit/i],describe:function(t){var n={name:"Safari"},o=P.getFirstMatch(ze,t);return o&&(n.version=o),n}},{test:[/.*/i],describe:function(t){var n=t.search("\\(")!==-1?/^(.*)\/([^/]*)[ \t]\((.*)/:/^(.*)\/([^/]*) /;return{name:P.getFirstMatch(n,t),version:P.getSecondMatch(n,t)}}}],xC=[{test:[/Roku\/DVP/],describe:function(t){var n=P.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,t);return{name:Nt.Roku,version:n}}},{test:[/windows phone/i],describe:function(t){var n=P.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,t);return{name:Nt.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(t){var n=P.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,t),o=P.getWindowsVersionName(n);return{name:Nt.Windows,version:n,versionName:o}}},{test:function(t){return P.isFirefoxOnIpad(t.getUA())},describe:function(t){var n={name:Nt.iOS},o=P.getSecondMatch(/(Version\/)(\d[\d.]+)/,t);return o&&(n.version=o),n}},{test:[/macintosh/i],describe:function(t){var n=P.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,t).replace(/[_\s]/g,"."),o=P.getMacOSVersionName(n),s={name:Nt.MacOS,version:n};return o&&(s.versionName=o),s}},{test:[/(ipod|iphone|ipad)/i],describe:function(t){var n=P.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,t).replace(/[_\s]/g,".");return{name:Nt.iOS,version:n}}},{test:[/OpenHarmony/i],describe:function(t){var n=P.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,t);return{name:Nt.HarmonyOS,version:n}}},{test:function(t){var n=!t.test(/like android/i),o=t.test(/android/i);return n&&o},describe:function(t){var n=P.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,t),o=P.getAndroidVersionName(n),s={name:Nt.Android,version:n};return o&&(s.versionName=o),s}},{test:[/(web|hpw)[o0]s/i],describe:function(t){var n=P.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,t),o={name:Nt.WebOS};return n&&n.length&&(o.version=n),o}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(t){var n=P.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,t)||P.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,t)||P.getFirstMatch(/\bbb(\d+)/i,t);return{name:Nt.BlackBerry,version:n}}},{test:[/bada/i],describe:function(t){var n=P.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,t);return{name:Nt.Bada,version:n}}},{test:[/tizen/i],describe:function(t){var n=P.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,t);return{name:Nt.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:Nt.Linux}}},{test:[/CrOS/],describe:function(){return{name:Nt.ChromeOS}}},{test:[/PlayStation 4/],describe:function(t){var n=P.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,t);return{name:Nt.PlayStation4,version:n}}}],_C=[{test:[/googlebot/i],describe:function(){return{type:Pe.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:Pe.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:Pe.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:Pe.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:Pe.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:Pe.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:Pe.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:Pe.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:Pe.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:Pe.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:Pe.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:Pe.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:Pe.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:Pe.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:Pe.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:Pe.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:Pe.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:Pe.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:Pe.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(t){var n=P.getFirstMatch(/(can-l01)/i,t)&&"Nova",o={type:Pe.mobile,vendor:"Huawei"};return n&&(o.model=n),o}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:Pe.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:Pe.tablet,vendor:"Apple",model:"iPad"}}},{test:function(t){return P.isFirefoxOnIpad(t.getUA())},describe:function(){return{type:Pe.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:Pe.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:Pe.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:Pe.tablet}}},{test:function(t){var n=t.test(/ipod|iphone/i),o=t.test(/like (ipod|iphone)/i);return n&&!o},describe:function(t){var n=P.getFirstMatch(/(ipod|iphone)/i,t);return{type:Pe.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:Pe.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(t){var n=P.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,t),o={type:Pe.mobile,vendor:"Nokia"};return n&&(o.model=n),o}},{test:[/[^-]mobi/i],describe:function(){return{type:Pe.mobile}}},{test:function(t){return t.getBrowserName(!0)==="blackberry"},describe:function(){return{type:Pe.mobile,vendor:"BlackBerry"}}},{test:function(t){return t.getBrowserName(!0)==="bada"},describe:function(){return{type:Pe.mobile}}},{test:function(t){return t.getBrowserName()==="windows phone"},describe:function(){return{type:Pe.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:Pe.tablet}}},{test:function(t){return t.getOSName(!0)==="android"},describe:function(){return{type:Pe.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:Pe.tv}}},{test:[/netcast/i],describe:function(){return{type:Pe.tv}}},{test:function(t){return t.getOSName(!0)==="macos"},describe:function(){return{type:Pe.desktop,vendor:"Apple"}}},{test:function(t){return t.getOSName(!0)==="windows"},describe:function(){return{type:Pe.desktop}}},{test:function(t){return t.getOSName(!0)==="linux"},describe:function(){return{type:Pe.desktop}}},{test:function(t){return t.getOSName(!0)==="playstation 4"},describe:function(){return{type:Pe.tv}}},{test:function(t){return t.getOSName(!0)==="roku"},describe:function(){return{type:Pe.tv}}}],CC=[{test:function(t){return t.getBrowserName(!0)==="microsoft edge"},describe:function(t){if(/\sedg\//i.test(t))return{name:lr.Blink};var n=P.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,t);return{name:lr.EdgeHTML,version:n}}},{test:function(t){return t.getBrowserName(!0)==="ladybird"},describe:function(){return{name:lr.LibWeb}}},{test:[/trident/i],describe:function(t){var n={name:lr.Trident},o=P.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:function(t){return t.test(/presto/i)},describe:function(t){var n={name:lr.Presto},o=P.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:function(t){var n=t.test(/gecko/i),o=t.test(/like gecko/i);return n&&!o},describe:function(t){var n={name:lr.Gecko},o=P.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:lr.Blink}}},{test:[/(apple)?webkit/i],describe:function(t){var n={name:lr.WebKit},o=P.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,t);return o&&(n.version=o),n}}],W4=(function(){function e(n,o,s){if(o===void 0&&(o=!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 o=="boolean"?(l=o,this._hints=s):o!=null&&typeof o=="object"?this._hints=o:this._hints=null,this.parsedResult={},l!==!0&&this.parse()}var t=e.prototype;return t.getHints=function(){return this._hints},t.hasBrand=function(o){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var s=o.toLowerCase();return this._hints.brands.some(function(l){return l.brand&&l.brand.toLowerCase()===s})},t.getBrandVersion=function(o){if(!(!this._hints||!Array.isArray(this._hints.brands))){var s=o.toLowerCase(),l=P.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(o){return o.test(this._ua)},t.parseBrowser=function(){var o=this;this.parsedResult.browser={};var s=P.find(yC,function(l){if(typeof l.test=="function")return l.test(o);if(Array.isArray(l.test))return l.test.some(function(u){return o.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(o){return o?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 o=this;this.parsedResult.os={};var s=P.find(xC,function(l){if(typeof l.test=="function")return l.test(o);if(Array.isArray(l.test))return l.test.some(function(u){return o.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(o){var s=this.getOS().name;return o?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(o){o===void 0&&(o=!1);var s=this.getPlatform().type;return o?String(s).toLowerCase()||"":s||""},t.parsePlatform=function(){var o=this;this.parsedResult.platform={};var s=P.find(_C,function(l){if(typeof l.test=="function")return l.test(o);if(Array.isArray(l.test))return l.test.some(function(u){return o.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(o){return o?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var o=this;this.parsedResult.engine={};var s=P.find(CC,function(l){if(typeof l.test=="function")return l.test(o);if(Array.isArray(l.test))return l.test.some(function(u){return o.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 P.assign({},this.parsedResult)},t.satisfies=function(o){var s=this,l={},u=0,f={},p=0;if(Object.keys(o).forEach(function(M){var N=o[M];typeof N=="string"||Array.isArray(N)?(f[M]=N,p+=1):typeof N=="object"&&(l[M]=N,u+=1)}),u>0){var m=Object.keys(l),v=P.find(m,function(M){return s.isOS(M)});if(v){var w=this.satisfies(l[v]);if(w!==void 0)return w}var y=P.find(m,function(M){return s.isPlatform(M)});if(y){var _=this.satisfies(l[y]);if(_!==void 0)return _}}if(p>0){var C=Object.keys(f),I=P.find(C,function(M){return s.isBrowser(M,!0)});if(I!==void 0)return this.compareVersions(f[I])}},t.isBrowser=function(o,s){s===void 0&&(s=!1);var l=this.getBrowserName().toLowerCase(),u=o.toLowerCase(),f=P.getBrowserTypeByAlias(u);return s&&f&&(u=f.toLowerCase()),u===l},t.compareVersions=function(o){var s=this;return typeof o=="string"?this.compareVersion(o):o.some(function(l){return s.compareVersion(l)})},t.compareVersion=function(o){var s=[0],l=o,u=!1,f=this.getBrowserVersion();if(typeof f=="string")return o[0]===">"||o[0]==="<"?(l=o.substr(1),o[1]==="="?(u=!0,l=o.substr(2)):s=[],o[0]===">"?s.push(1):s.push(-1)):o[0]==="="?l=o.substr(1):o[0]==="~"&&(u=!0,l=o.substr(1)),s.indexOf(P.compareVersions(f,l,u))>-1},t.isOS=function(o){return this.getOSName(!0)===String(o).toLowerCase()},t.isPlatform=function(o){return this.getPlatformType(!0)===String(o).toLowerCase()},t.isEngine=function(o){return this.getEngineName(!0)===String(o).toLowerCase()},t.is=function(o,s){return s===void 0&&(s=!1),this.isBrowser(o,s)||this.isOS(o)||this.isPlatform(o)},t.some=function(o){var s=this;return o===void 0&&(o=[]),o.some(function(l){return s.is(l)})},e})();/*!
64
+ * Bowser - a browser detector
65
+ * https://github.com/bowser-js/bowser
66
+ * MIT License | (c) Dustin Diaz 2012-2015
67
+ * MIT License | (c) Denis Demchenko 2015-2026
68
+ */function bC(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,SC(o.key),o)}}function kC(e,t,n){return n&&bC(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function SC(e){var t=jC(e,"string");return typeof t=="symbol"?t:t+""}function jC(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var B0=(function(){function e(){}return e.getParser=function(n,o,s){if(o===void 0&&(o=!1),s===void 0&&(s=null),typeof n!="string")throw new Error("UserAgent should be a string");return new W4(n,o,s)},e.parse=function(n,o){return o===void 0&&(o=null),new W4(n,o).getResult()},kC(e,null,[{key:"BROWSER_MAP",get:function(){return K8}},{key:"ENGINE_MAP",get:function(){return lr}},{key:"OS_MAP",get:function(){return Nt}},{key:"PLATFORMS_MAP",get:function(){return Pe}}])})();B0.parse;B0.getParser;const Eu=new WeakMap,EC=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End"]);function Y8(){const e=B0.parse(navigator.userAgent).platform.type,t=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1;return e==="mobile"||e==="tablet"||t}function MC(){return Y8()?!1:!window.matchMedia?.("(width < 640px) and (pointer: coarse) and (hover: none)").matches}function di(e,t){Eu.get(e)?.();const n=()=>{e.removeAttribute("data-dsh-automatic-focus"),e.removeEventListener("blur",n),e.removeEventListener("keydown",o,!0),Eu.delete(e)},o=s=>{!s.isComposing&&!s.ctrlKey&&!s.altKey&&!s.metaKey&&EC.has(s.key)&&n()};Eu.set(e,n),e.setAttribute("data-dsh-automatic-focus",""),e.addEventListener("blur",n),e.addEventListener("keydown",o,!0),e.focus(t),e.matches(":focus")||n()}const Z0='[role="dialog"][aria-modal="true"], [role="menu"]',_s=new WeakMap;function IC(e){const t=_s.get(e)?.at(-1);if(t===void 0)return;[...e.querySelectorAll(Z0)].at(-1)===t.element&&t.close()}function J8(e){if(e===null)return!1;const t=_s.get(e.ownerDocument)?.at(-1);return t!==void 0&&!t.element.contains(e)}const U4='button:not(:disabled), input:not(:disabled), textarea:not(:disabled), select:not(:disabled), a[href], [tabindex="0"]';function W0(e,t,n){const o=S.useRef(n);o.current=n,S.useLayoutEffect(()=>{const s=e.current;if(!t||s===null)return;const l=s.ownerDocument,u=nl(l),f=l.activeElement,p=_s.get(l)??[];_s.set(l,p);const m={element:s,close:()=>{o.current()}};p.push(m);const v=s.querySelector("[data-modal-autofocus]")??s.querySelector(U4)??s;s.contains(l.activeElement)||di(v);const w=y=>{const _=u.guards(y);if(p.at(-1)!==m||y.defaultPrevented||_||y.ctrlKey||y.altKey||y.metaKey||(y.key==="Escape"&&!y.shiftKey&&(y.preventDefault(),y.repeat||o.current()),y.key!=="Tab")||l.activeElement?.closest('[role="menu"]'))return;const C=[...s.querySelectorAll(U4)].filter(L=>!L.closest("[inert], [hidden]")),I=C[0]??s,M=C.at(-1)??s,N=y.shiftKey?l.activeElement===I:l.activeElement===M;(l.activeElement===s||!s.contains(l.activeElement)||N)&&(y.preventDefault(),(y.shiftKey?M:I).focus())};return l.addEventListener("keydown",w),()=>{u.dispose();const y=p.at(-1)===m;if(p.splice(p.indexOf(m),1),l.removeEventListener("keydown",w),p.length===0&&_s.delete(l),y){const _=f instanceof HTMLElement&&f.isConnected?f:p.at(-1)?.element;_!==void 0&&di(_)}}},[e,t])}const OC="_keys_1p14q_1",LC="_key_1p14q_1",TC="_tooltip_1p14q_20",zC="_separator_1p14q_35",PC="_joined_1p14q_39",us={keys:OC,key:LC,tooltip:TC,separator:zC,joined:PC},NC="_view_1ufe2_1",RC="_withFooter_1ufe2_24",AC="_content_1ufe2_31",FC="_header_1ufe2_39",DC="_footer_1ufe2_44",$C="_footerBack_1ufe2_49",HC="_back_1ufe2_93",oo={view:NC,withFooter:RC,content:AC,header:FC,footer:DC,footerBack:$C,back:HC},Q8=S.createContext(null);function VC({target:e,backLabel:t,open:n,close:o,enterView:s,children:l}){const u=S.useRef(null),f=S.useMemo(()=>e===null?null:{target:e,backLabel:t,open:n,close:o,enterView:s,returnFocus:u},[e,t,n,o,s]);return c.jsx(Q8.Provider,{value:f,children:l})}function gi(){return S.useContext(Q8)}function X8({title:e,onBack:t,footerBackLabel:n,children:o,className:s,onKeyDownCapture:l}){const u=gi(),f=S.useRef(null),p=u?.target,m=u?.enterView,v=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)&&v&&(v.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 L=p?.closest("[data-phone-drawer]")?.querySelector("[data-phone-sidebar-return]");(I?.isConnected&&I.getClientRects().length>0?I:v?.current?.isConnected&&v.current.getClientRects().length>0?v.current:L)?.focus({preventScroll:!0})})}},[p,v]),W0(f,u?.open===!0,t);const w=S.useRef(t);w.current=t;const y=S.useRef(u?.open===!0);if(S.useEffect(()=>{const C=y.current&&u?.open===!1;y.current=u?.open===!0,C&&w.current()},[u?.open]),u?.target==null)return null;const _=c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:oo.header,children:[c.jsx("button",{type:"button",className:oo.back,"aria-label":u.backLabel,onClick:t,children:c.jsx(cf,{})}),c.jsx("h2",{children:e})]}),o]});return zn.createPortal(c.jsx("div",{ref:f,className:pe(s,oo.view,n!==void 0&&oo.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:oo.content,children:_}),c.jsx("div",{className:oo.footer,children:c.jsx("button",{type:"button",className:oo.footerBack,onClick:t,children:n})})]})}),u.target)}function zs({keys:e,variant:t="plain",className:n}){return gi()!==null?null:c.jsx("span",{className:pe(us.keys,t==="tooltip"&&us.tooltip,t==="tooltip"&&e.includes("+")&&us.joined,n),children:e.map((s,l)=>c.jsx("kbd",{className:s==="+"?us.separator:us.key,children:s},l))})}const BC="_surface_1ucg6_1",ZC="_backing_1ucg6_2",WC="_compact_1ucg6_6",UC="_material_1ucg6_21",ds={surface:BC,backing:ZC,compact:WC,material:UC},Ia=S.forwardRef(function({compact:t=!1,className:n,style:o,children:s,...l},u){const f=S.useId(),p=S.useRef(null);S.useLayoutEffect(()=>{document.body.appendChild(p.current)},[]);const m={"--dsh-menu-anchor":`--dsh-menu-${f.replaceAll(":","")}`};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{...l,ref:u,"data-menu-material":"translucent",className:pe(ds.surface,t&&ds.compact,n),style:{...o,...m},children:[c.jsx("div",{"aria-hidden":"true",className:ds.material}),s]}),zn.createPortal(c.jsx("div",{ref:p,"aria-hidden":"true","data-menu-backing":"",className:pe(ds.backing,t&&ds.compact),style:{...m,visibility:o?.visibility}}),document.body)]})}),qC="_root_15q5x_1",GC="_list_15q5x_7",KC="_submenu_15q5x_8",YC="_portal_15q5x_41",JC="_sideTop_15q5x_49",QC="_alignEnd_15q5x_54",XC="_scrollable_15q5x_19",eb="_viewport_15q5x_19",tb="_footer_15q5x_62",nb="_itemWrap_15q5x_90",rb="_item_15q5x_90",ob="_denseList_15q5x_124",ib="_label_15q5x_129",sb="_compactList_15q5x_133",ab="_itemIcon_15q5x_148",lb="_separator_15q5x_80",cb="_check_15q5x_179",ub="_itemLabel_15q5x_190",db="_shortcut_15q5x_198",fb="_shortcutKeys_15q5x_203",hb="_selected_15q5x_216",pb="_selectedFill_15q5x_221",mb="_danger_15q5x_226",gb="_phoneList_15q5x_288",$e={root:qC,list:GC,submenu:KC,portal:YC,sideTop:JC,alignEnd:QC,scrollable:XC,viewport:eb,footer:tb,itemWrap:nb,item:rb,denseList:ob,label:ib,compactList:sb,itemIcon:ab,separator:lb,check:cb,itemLabel:ub,shortcut:db,shortcutKeys:fb,selected:hb,selectedFill:pb,danger:mb,phoneList:gb};function vb({children:e,shortcut:t,icon:n,disabled:o=!1,danger:s=!1,separatorBefore:l=!1,onSelect:u}){return c.jsxs("div",{className:$e.itemWrap,children:[l&&c.jsx("div",{className:$e.separator,role:"separator"}),c.jsxs("button",{type:"button",role:"menuitem",className:pe($e.item,s&&$e.danger),disabled:o,"aria-keyshortcuts":t?.aria,onClick:u,children:[n!==void 0&&c.jsx("span",{className:$e.itemIcon,children:n}),c.jsx("span",{className:$e.itemLabel,children:e}),t!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(zs,{keys:t.keys,className:$e.shortcutKeys})})]})]})}function q4(e){return"type"in e&&e.type==="separator"}function G4(e){return"type"in e&&e.type==="label"}const wb={visibility:"hidden",left:0,top:0};function e7({open:e,anchor:t,items:n=[],children:o,selectedId:s,selectedIds:l,onSelect:u,onClose:f,align:p="start",side:m="bottom",portal:v=!1,closeOnPointerLeave:w=!1,dense:y=!1,compact:_=!1,autoFocus:C=!1,selection:I="check",getAnchorRect:M,footer:N,className:L,listClassName:$,phoneSidebarTitle:A,phoneSidebarDetails:W,phoneSidebarFooterBackLabel:B}){const H=gi()!==null&&A!==void 0,ee=v&&!H,Z=S.useRef(null),he=S.useRef(null),me=S.useRef(null),ne=S.useRef(null),se=S.useRef(!1),Ie=(G=!1)=>{const ve=ne.current,Be=ve!==null&&document.contains(ve)&&!ve.disabled?ve:Z.current?.querySelector("button:not(:disabled)");Be!=null&&(G?Be.focus():di(Be))},xe=()=>{const G=se.current;queueMicrotask(()=>{if(Ne.current)return;const ve=document.activeElement;(ve===null||ve===document.body||he.current?.contains(ve)===!0)&&Ie(G)})},Ne=S.useRef(e);Ne.current=e;const[ie,le]=S.useState(null),[ae,T]=S.useState(null),{arm:D,cancel:X}=G8(f);S.useLayoutEffect(()=>{if(!e||!ee){T(null);return}const G=()=>{let Ye;if(M!==void 0?Ye=M():Ye=Z.current?.getBoundingClientRect()??null,Ye===null)return;const Qe=12,vt=window.innerWidth,Ae=window.innerHeight,Ct=he.current,Kn=Ct?.offsetWidth??0,cn=Ct?.offsetHeight??0;let Xt,wt;m==="right"?(Xt=Ye.right+4,wt=Ye.top):p==="start"?(Xt=Ye.left,wt=m==="bottom"?Ye.bottom+4:Ye.top-cn-4):(Xt=Ye.right-Kn,wt=m==="bottom"?Ye.bottom+4:Ye.top-cn-4),Kn>0&&(Xt=Math.min(Math.max(Xt,Qe),vt-Kn-Qe)),cn>0&&(wt=Math.min(Math.max(wt,Ts(Qe)),Ae-cn-Qe)),T(un=>un?.left===Xt&&un.top===wt?un:{left:Xt,top:wt})};G();const ve=()=>{G(),Be=requestAnimationFrame(ve)};let Be=requestAnimationFrame(ve);return window.addEventListener("scroll",G,!0),window.addEventListener("resize",G),()=>{cancelAnimationFrame(Be),window.removeEventListener("scroll",G,!0),window.removeEventListener("resize",G)}},[e,ee,p,m,M]),S.useEffect(()=>{if(!e){ne.current=null;return}const G=document.activeElement;ne.current=G instanceof HTMLElement&&Z.current?.contains(G)===!0?G:null},[e]),S.useEffect(()=>{if(!e||!C)return;const G=he.current?.querySelector("button:not(:disabled)");me.current=G==null?null:0,G!=null&&di(G)},[e,C]),S.useEffect(()=>{if(!e){le(null),me.current=null;return}const G=nl(document),ve=Ae=>{H||!(Ae.target instanceof Node)||Z.current?.contains(Ae.target)!==!0&&he.current?.contains(Ae.target)!==!0&&f()},Be=Ae=>{if(G.guards(Ae)||J8(H?he.current:Z.current)||Ae.defaultPrevented||Ae.ctrlKey||Ae.altKey||Ae.metaKey)return;const Ct=document.activeElement,Kn=he.current?.contains(Ct)===!0,cn=Z.current?.contains(Ct)===!0||Kn;if(Ae.key==="Escape"&&!Ae.shiftKey){if(Ae.preventDefault(),Ae.repeat)return;f(),(cn||C)&&Ie()}if(Ae.key==="Tab"){const Ci=he.current;if(Ci===null||!cn)return;if(Ae.shiftKey){Ae.preventDefault(),f(),Ie(!0);return}if(Kn){if(Ct instanceof Element&&Ct.getAttribute("role")==="menuitem"){Ae.preventDefault(),se.current=!0;try{Ct.click()}finally{se.current=!1}}return}const bi=Ci.querySelector("button:not(:disabled)");if(bi===null)return;Ae.preventDefault(),bi.focus(),me.current=0;return}if(!["ArrowDown","ArrowUp","Home","End"].includes(Ae.key))return;const Xt=he.current;if(Xt===null||!cn)return;const wt=Array.from(Xt.querySelectorAll("button:not(:disabled)"));if(wt.length===0)return;const un=wt.indexOf(Ct),Yn=un>=0?un:me.current,Co=Ae.key==="Home"?0:Ae.key==="End"?wt.length-1:Yn===null?Ae.key==="ArrowDown"?0:wt.length-1:(Yn+(Ae.key==="ArrowDown"?1:-1)+wt.length)%wt.length;Ae.preventDefault(),me.current=Co,wt[Co]?.focus()},Ye=()=>{document.activeElement instanceof HTMLIFrameElement&&f()};document.addEventListener("pointerdown",ve);const Qe=Ae=>{Ae.key==="Escape"&&Be(Ae)},vt=Ae=>{Ae.key!=="Escape"&&Be(Ae)};return document.addEventListener("keydown",vt),document.addEventListener("keydown",Qe,!0),window.addEventListener("blur",Ye),()=>{G.dispose(),document.removeEventListener("pointerdown",ve),document.removeEventListener("keydown",vt),document.removeEventListener("keydown",Qe,!0),window.removeEventListener("blur",Ye)}},[e,f,C,H]),S.useEffect(()=>{e||X()},[e,X]);const ce=!n.some(G=>!q4(G)&&!G4(G)&&G.submenu!==void 0&&G.submenu.length>0),Me=G=>{if(q4(G))return c.jsx("div",{className:$e.separator,role:"separator"},G.id);if(G4(G))return c.jsx("div",{className:$e.label,role:"presentation",children:G.text},G.id);const ve=G.submenu!==void 0&&G.submenu.length>0,Be=ve&&ie===G.id,Ye=G.id===s||l?.includes(G.id)===!0;return c.jsxs("div",{className:$e.itemWrap,onMouseEnter:ve?()=>{le(G.id)}:void 0,onMouseLeave:()=>{le(null)},children:[c.jsxs("button",{type:"button",role:"menuitem",className:pe($e.item,Ye&&(I==="fill"?$e.selectedFill:$e.selected),G.danger===!0&&$e.danger),disabled:G.disabled,"aria-keyshortcuts":G.shortcut?.aria,"aria-haspopup":ve?"menu":void 0,"aria-expanded":ve?Be:void 0,onFocus:ve?()=>{le(G.id)}:void 0,onClick:()=>{if(ve){le(G.id);return}u?.(G.id)},children:[G.icon!==void 0&&c.jsx("span",{className:$e.itemIcon,children:G.icon}),c.jsx("span",{className:$e.itemLabel,children:G.label}),G.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(zs,{keys:G.shortcut.keys,className:$e.shortcutKeys})}),Ye&&I==="check"&&c.jsx(mi,{className:$e.check})]}),Be&&G.submenu!==void 0&&c.jsx(Ia,{compact:_,className:pe($e.submenu,_&&$e.compactList),role:"menu",children:G.submenu.map(Qe=>c.jsxs("button",{type:"button",role:"menuitem",className:$e.item,disabled:Qe.disabled,"aria-keyshortcuts":Qe.shortcut?.aria,onClick:()=>{u?.(Qe.id),xe()},children:[Qe.icon!==void 0&&c.jsx("span",{className:$e.itemIcon,children:Qe.icon}),c.jsx("span",{className:$e.itemLabel,children:Qe.label}),Qe.shortcut!==void 0&&c.jsx("span",{"aria-hidden":"true",className:$e.shortcut,children:c.jsx(zs,{keys:Qe.shortcut.keys,className:$e.shortcutKeys})})]},Qe.id))})]},G.id)},Te=G=>{const ve=G.target instanceof Element?G.target.closest('button[role="menuitem"]'):null;ve===null||ve.getAttribute("aria-haspopup")==="menu"||ve.closest('[role="menu"]')===G.currentTarget&&le(null)},He=e&&c.jsxs(Ia,{compact:_,ref:he,className:pe($e.list,$,y&&$e.denseList,_&&$e.compactList,ce&&$e.scrollable,ee&&$e.portal,m==="top"&&!v&&$e.sideTop,p==="end"&&!v&&$e.alignEnd,H&&$e.phoneList),style:ee?ae??wb:void 0,role:"menu",onClick:G=>{G.stopPropagation();const ve=G.target instanceof Element?G.target.closest('button[role="menuitem"]'):null;ve!==null&&ve.getAttribute("aria-haspopup")!=="menu"&&xe()},onMouseOver:Te,onFocus:Te,children:[c.jsxs("div",{className:$e.viewport,role:"presentation",children:[H&&W,n.map(Me),o]}),N!==void 0&&N.length>0&&c.jsx("div",{className:$e.footer,role:"presentation",children:N.map(Me)})]});return c.jsxs("span",{ref:Z,className:pe($e.root,L),onPointerEnter:w?X:void 0,onPointerLeave:w?()=>{e&&D()}:void 0,children:[t,H?e&&c.jsx(X8,{title:A,onBack:f,footerBackLabel:B,children:He}):v?He!==!1&&zn.createPortal(He,document.body):He]})}const yb="_group_i2pru_1",xb="_start_i2pru_5",_b="_heading_i2pru_19",Mu={group:yb,start:xb,heading:_b};function Cb({label:e,children:t}){const n=S.useId();return c.jsxs("section",{role:"group","aria-labelledby":n,"data-menu-group":"",className:Mu.group,children:[c.jsx("span",{"aria-hidden":"true","data-menu-group-start":"",className:Mu.start}),c.jsx("div",{id:n,"data-menu-group-heading":"",className:Mu.heading,children:e}),t]})}function bb(e){const t=[...e.querySelectorAll(":scope > [data-menu-group]")].flatMap(v=>{const w=v.querySelector(":scope > [data-menu-group-heading]"),y=v.querySelector(":scope > [data-menu-group-start]");return w===null||y===null?[]:[{section:v,heading:w,start:y,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(v=>[v.section,v])),o=new Map(t.map(v=>[v.start,v]));let s=!1,l,u;const f=v=>{const w=v.atTop&&v.above;v.heading.hasAttribute("data-stuck")!==w&&v.heading.toggleAttribute("data-stuck",w)},p=new IntersectionObserver(v=>{if(!s)for(const w of v){const y=o.get(w.target);!y||w.rootBounds===null||w.time<y.aboveTime||(y.above=w.boundingClientRect.top<w.rootBounds.top,y.aboveTime=w.time,f(y))}},{root:e,threshold:[0,1]});for(const{start:v}of t)p.observe(v);const m=new ResizeObserver(v=>{if(!s)for(const w of v){if(w.target!==e||w.contentRect.height===u)continue;u=w.contentRect.height,l?.disconnect();const y=new IntersectionObserver(_=>{if(!(s||l!==y))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),f(I)}},{root:e,rootMargin:`0px 0px ${Math.min(1,u)-u}px 0px`,threshold:0});l=y;for(const{section:_}of t)y.observe(_)}});return m.observe(e),()=>{if(!s){s=!0,p.disconnect(),l?.disconnect(),m.disconnect();for(const{heading:v}of t)v.hasAttribute("data-stuck")&&v.removeAttribute("data-stuck")}}}const kb=12;function Sb(e,t,n,o=kb){const[s,l]=S.useState(t);return S.useLayoutEffect(()=>{const u=e.current;if(u===null)return;const f=()=>{l(Math.min(t,Math.max(0,u.getBoundingClientRect().bottom-Ts(o))))};return f(),window.addEventListener("resize",f),window.addEventListener("scroll",f,!0),()=>{window.removeEventListener("resize",f),window.removeEventListener("scroll",f,!0)}},[e,t,n,o]),s}function jb(e){const{open:t,anchorRef:n,panelRef:o,side:s="bottom",align:l="start",gap:u,margin:f}=e,[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(!t){m(null);return}const v=()=>{const _=n.current?.getBoundingClientRect();if(_===void 0)return;const C=o.current,I=C?.offsetWidth??0,M=C?.offsetHeight??0;let N=l==="end"?_.right-I:_.left,L=s==="top"?_.top-u-M:_.bottom+u;I>0&&(N=Math.min(Math.max(N,f),window.innerWidth-I-f)),M>0&&(L=Math.min(Math.max(L,Ts(f)),window.innerHeight-M-f)),m({left:N,top:L})};v(),window.addEventListener("scroll",v,!0),window.addEventListener("resize",v);const w=o.current;let y=null;return typeof ResizeObserver<"u"&&w!==null&&(y=new ResizeObserver(v),y.observe(w)),()=>{y?.disconnect(),window.removeEventListener("scroll",v,!0),window.removeEventListener("resize",v)}},[t,n,o,s,l,u,f]),p}function t7(e,t,n,o){S.useEffect(()=>{if(!t)return;const s=l=>{l.target instanceof Node&&e.current?.contains(l.target)!==!0&&o?.current?.contains(l.target)!==!0&&n(!1)};return document.addEventListener("pointerdown",s),()=>{document.removeEventListener("pointerdown",s)}},[e,t,n,o])}const Eb="_bubble_dcbfb_1",Mb="_label_dcbfb_31",K4={bubble:Eb,label:Mb},Y4={pointer:"pointer",keyboard:"keyboard"},Ib="data-input-modality",Ob=new Set(["Tab","Home","End","PageUp","PageDown"]);let o0=!1,gs=!1,io;function Iu(){document.documentElement.setAttribute(Ib,gs?Y4.pointer:Y4.keyboard)}function n7(){return o0}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{o0=!0,gs=!0,io=void 0,Iu()},!0),window.addEventListener("keydown",e=>{if(o0=!1,e.isComposing){io=void 0;return}io=e.composedPath()[0],!(!Ob.has(e.key)&&!e.key.startsWith("Arrow"))&&(gs=!1,Iu())},!0),window.addEventListener("focusin",e=>{io===void 0||e.composedPath()[0]===io||(io=void 0,gs&&(gs=!1,Iu()))},!0),window.addEventListener("blur",()=>{io=void 0}));const i0=S.createContext(null);function Fr({label:e,shortcutKeys:t,side:n="right",align:o="center",delayMs:s=0,focusDelayMs:l=0,gap:u=8,disabled:f=!1,portal:p=!1,maxWidth:m,openOnClick:v=!1,children:w}){const y=S.useId(),_=gi()!==null,C=!_&&!!t?.length,[I,M]=S.useState(!1),N=S.useRef(null),L=w.ref,$=S.useCallback(X=>{N.current=X,typeof L=="function"?L(X):L!=null&&(L.current=X)},[L]),[A,W]=S.useState(null),B=S.useRef(null),K=A===null?null:typeof e=="function"?e():e,H=A===null?0:n==="right"?A.top+(A.bottom-A.top)/2:n==="top"?A.top-u:A.bottom+u,ee=S.useRef(null),Z=S.useRef({hover:!1,focus:!1}),he=S.useContext(i0),[me,ne]=S.useState(!1),se=S.useCallback(X=>{he?.(X)},[he]),Ie=A!==null&&!f&&(!_||!!K);S.useEffect(()=>{const X=B.current;if(A===null||!Ie||me||X===null)return;const ce=12;let Me,Te=n;const He=()=>{if(Me===void 0)return;const{inlineSize:ve,blockSize:Be}=Me,Ye=n==="right"?0:o==="end"?ve:ve/2,Qe=Math.max(ce,Math.min(A.x-Ye,window.innerWidth-ce-ve)),vt=A.bottom+u+Be<=window.innerHeight-ce,Ae=A.top-u-Be>=ce;Te==="bottom"&&!vt&&Ae?Te="top":Te==="top"&&!Ae&&vt&&(Te="bottom"),X.style.left=`${Qe+Ye}px`,X.style.top=`${Te==="right"?(A.top+A.bottom)/2:Te==="top"?A.top-u:A.bottom+u}px`,X.dataset.side=Te,X.style.visibility="visible"},G=new ResizeObserver(ve=>{Me=ve[0]?.borderBoxSize[0],He()});return G.observe(X,{box:"border-box"}),window.addEventListener("resize",He),()=>{G.disconnect(),window.removeEventListener("resize",He)}},[o,u,A,n,me,Ie]),S.useEffect(()=>(se(Ie),()=>{se(!1)}),[se,Ie]);const xe=S.useCallback(()=>{ee.current!==null&&(clearTimeout(ee.current),ee.current=null)},[]);S.useEffect(()=>(I&&(f||!v)&&M(!1),f&&(xe(),Z.current={hover:!1,focus:!1},W(null)),xe),[xe,f,v,I]);const Ne=()=>{if(f||_&&!(typeof e=="function"?e():e))return;const X=N.current;if(X===null)return;const ce=X.getBoundingClientRect();W({x:n==="right"?ce.right+10:o==="end"?ce.right:ce.left+ce.width/2,top:ce.top,bottom:ce.bottom}),se(!0)},ie=X=>{if(xe(),X<=0){Ne();return}ee.current=setTimeout(()=>{ee.current=null,Ne()},X)},le=S.useCallback(()=>{M(!1),W(null),se(!1)},[se]),ae=()=>{xe(),!Z.current.hover&&!Z.current.focus&&!I&&le()},T=S.useCallback(()=>{xe(),Z.current={hover:!1,focus:!1},le()},[xe,le]);t7(N,v&&Ie,T,B),S.useEffect(()=>{if(!v||!Ie)return;const X=ce=>{ce.key!=="Escape"&&ce.key!=="Tab"||(ce.key==="Escape"&&(ce.preventDefault(),ce.stopPropagation()),T())};return document.addEventListener("keydown",X,!0),()=>{document.removeEventListener("keydown",X,!0)}},[T,v,Ie]);const D=Ie&&!me&&c.jsxs("span",{ref:B,id:v?y:void 0,className:K4.bubble,"data-side":n,"data-portal":p||void 0,"data-pinned":I||void 0,"data-align":o,"data-has-shortcut":C||void 0,style:{left:A.x,top:H,visibility:"hidden",...m===void 0?{}:{maxWidth:m}},role:"tooltip","aria-label":t?.length?[K,t.join(" ")].filter(Boolean).join(" "):void 0,children:[K&&c.jsx("span",{className:K4.label,children:K}),t!==void 0&&t.length>0&&c.jsx(zs,{keys:t,variant:"tooltip"})]});return c.jsxs(i0.Provider,{value:ne,children:[S.cloneElement(w,{ref:$,"aria-describedby":v&&Ie?[w.props["aria-describedby"],y].filter(Boolean).join(" "):w.props["aria-describedby"],onPointerEnter:X=>{w.props.onPointerEnter?.(X),!(!_||X.pointerType==="touch")&&(Z.current.hover=!0,ie(s))},onPointerLeave:X=>{w.props.onPointerLeave?.(X),_&&(Z.current.hover=!1,xe(),I||le())},onMouseEnter:X=>{w.props.onMouseEnter?.(X),!_&&(Z.current.hover=!0,ie(s))},onMouseLeave:X=>{w.props.onMouseLeave?.(X),Z.current.hover=!1,xe(),I||le()},onClick:X=>{w.props.onClick?.(X),Z.current.focus=!1,xe(),v&&!f&&!I?(M(!0),Ne()):le()},onFocus:X=>{w.props.onFocus?.(X),!(n7()||_&&X.currentTarget.hasAttribute("data-dsh-automatic-focus"))&&(Z.current.focus=!0,ie(l))},onBlur:X=>{w.props.onBlur?.(X),Z.current.focus=!1,ae()}}),p?D!==!1&&zn.createPortal(D,document.body):D]})}const Lb="_root_ghlrl_3",Tb="_card_ghlrl_9",zb="_copyable_ghlrl_21",Pb="_feedback_ghlrl_31",Nb="_copied_ghlrl_37",Rb="_status_ghlrl_44",Ab="_preview_ghlrl_53",Fb="_inline_ghlrl_84",Db="_media_ghlrl_87",ar={root:Lb,card:Tb,copyable:zb,feedback:Pb,copied:Nb,status:Rb,preview:Ab,inline:Fb,media:Db},J4=100,Q4=420,X4=24,$b=300,so=8,Gt=8;function r7({anchor:e,content:t,openDelayMs:n=500,disabled:o=!1,copyText:s,copyLabel:l,copiedLabel:u,variant:f="compact",widthAnchorRef:p,inline:m=!1}){const v=S.useRef(null),w=S.useRef(null),y=S.useRef(null),_=S.useRef(null),C=S.useRef(null),I=S.useRef(0),M=S.useRef(!1),N=S.useRef(!0),[L,$]=S.useState("closed"),A=L!=="closed",W=L==="closing",[B,K]=S.useState(null),H=B!==null,[ee,Z]=S.useState(!1),[he,me]=S.useState(!1),ne=S.useCallback(()=>{_.current!==null&&(clearTimeout(_.current),_.current=null),C.current=null,Z(!1)},[]),se=S.useCallback(()=>{I.current+=1,ne(),$(D=>f==="preview"&&D!=="closed"?"closing":"closed")},[ne,f]),{arm:Ie,cancel:xe}=G8(se),Ne=()=>{y.current!==null&&(clearTimeout(y.current),y.current=null)};S.useEffect(()=>{if(!W)return;const D=setTimeout(()=>{$("closed")},J4);return()=>{clearTimeout(D)}},[W]),S.useEffect(()=>{o&&(Ne(),xe(),se())},[o,xe,se]),S.useEffect(()=>(N.current=!0,()=>{N.current=!1,I.current+=1,Ne(),_.current!==null&&(clearTimeout(_.current),_.current=null)}),[]),S.useEffect(()=>{if(!A||f!=="preview"&&!m)return;const D=X=>{X.key==="Escape"&&(m&&X.stopPropagation(),Ne(),xe(),se())};return window.addEventListener("keydown",D,m),()=>{window.removeEventListener("keydown",D,m)}},[A,f,m,xe,se]),S.useLayoutEffect(()=>{if(!A){K(null);return}const D=()=>{const ce=v.current;if(ce===null)return;const Me=ce.getBoundingClientRect(),Te=w.current?.offsetHeight??0;if(f==="preview"){const G=p?.current?.getBoundingClientRect()??Me,ve=Math.max(0,Math.min(G.width-X4*2,window.innerWidth-Gt*2)),Be=Ts(Gt),Ye=Math.max(Be,Me.bottom+so),Qe=Math.max(0,Me.top-so-Be),vt=Math.max(0,window.innerHeight-Ye-Gt),Ae=Qe>=Math.min(Q4,vt),Ct=Math.min(Q4,Ae?Qe:vt);K({left:Math.max(Gt,Math.min(G.left+X4,window.innerWidth-ve-Gt)),top:Ae?Math.max(Be,Me.top-Math.min(Te,Ct)-so):Ye,width:ve,maxHeight:Ct});return}if(m){const G=Math.max(Te,w.current?.scrollHeight??0),ve=Math.max(0,Math.min($b,window.innerWidth-Gt*2)),Be=Ts(Gt),Ye=Math.max(Be,Me.bottom+so),Qe=Math.max(0,Me.top-so-Be),vt=Math.max(0,window.innerHeight-Ye-Gt),Ae=G>vt&&Qe>vt,Ct=Ae?Qe:vt;K({left:Math.max(Gt,Math.min(Me.left,window.innerWidth-ve-Gt)),top:Ae?Me.top-so-Math.min(G,Ct):Ye,width:ve,maxHeight:Ct});return}const He=Me.top+Te>window.innerHeight-Gt?window.innerHeight-Te-Gt:Me.top;K({left:Me.right+so,top:He})};D();const X=(f==="preview"||m)&&typeof ResizeObserver<"u"?new ResizeObserver(D):null;for(const ce of[w.current,v.current,p?.current])ce!=null&&X?.observe(ce);return window.addEventListener("scroll",D,!0),window.addEventListener("resize",D),()=>{X?.disconnect(),window.removeEventListener("scroll",D,!0),window.removeEventListener("resize",D)}},[A,f,p,H,m]),S.useLayoutEffect(()=>{if(!A||B===null||f==="preview"||m||he)return;const D=w.current?.offsetHeight??0;B.top+D>window.innerHeight-Gt&&K({left:B.left,top:window.innerHeight-D-Gt})},[A,B,f,m,he]);const ie=async D=>{if(ee||M.current)return;M.current=!0;const X=I.current,ce=await Xa(D);M.current=!1;const Me=w.current;if(!ce||!N.current||X!==I.current||Me===null)return;const Te=Me.offsetHeight;C.current=Te>0?Te:null,Z(!0),_.current=setTimeout(ne,1e3)},le=s!==void 0,ae=D=>{w.current?.contains(D.target)||(Ne(),xe(),se())},T=A&&B!==null&&!he&&c.jsx("div",{ref:w,className:pe(ar.card,f==="preview"&&ar.preview,m&&ar.media,le&&ar.copyable,ee&&ar.feedback),"data-closing":W||void 0,style:{...B,minHeight:ee&&C.current!==null?C.current:void 0,"--dsh-hover-preview-fade":`${J4}ms`},role:le?"button":void 0,tabIndex:le?0:void 0,"aria-label":le?`${l}: ${s}`:void 0,onClick:le?D=>{const X=window.getSelection();if(X!==null&&!X.isCollapsed){for(let ce=0;ce<X.rangeCount;ce+=1)if(X.getRangeAt(ce).intersectsNode(D.currentTarget))return}ie(s)}:void 0,onKeyDown:le?D=>{D.key!=="Enter"&&D.key!==" "||(D.preventDefault(),ie(s))}:void 0,children:ee?c.jsx("span",{className:ar.copied,"aria-hidden":"true",children:u}):t});return c.jsxs("span",{ref:v,className:pe(ar.root,m&&ar.inline),onFocus:m?D=>{!o&&D.target.matches(":focus-visible")&&(xe(),$("open"))}:void 0,onBlur:m?D=>{D.currentTarget.contains(D.relatedTarget)||(Ne(),xe(),se())}:void 0,onPointerEnter:D=>{if(!(o||m&&D.pointerType==="touch")){if(xe(),A){$("open");return}Ne(),y.current=setTimeout(()=>{$("open")},n)}},onPointerLeave:()=>{Ne(),A&&Ie()},onPointerDownCapture:ae,onClickCapture:ae,children:[c.jsx(i0.Provider,{value:me,children:e}),A&&!he&&le&&c.jsx("span",{className:ar.status,role:"status",children:ee?u:""}),T!==!1&&zn.createPortal(T,document.body)]})}const Hb="_root_7mu1n_6",Vb="_mask_7mu1n_18",Bb="_dialog_7mu1n_33",Zb="_content_7mu1n_70",Wb="_header_7mu1n_78",Ub="_title_7mu1n_86",qb="_close_7mu1n_94",Gb="_description_7mu1n_113",Kb="_body_7mu1n_122",Yb="_footer_7mu1n_130",Kt={root:Hb,mask:Vb,dialog:Bb,content:Zb,header:Wb,title:Ub,close:qb,description:Gb,body:Kb,footer:Yb};function o7({open:e,onClose:t,title:n,closeLabel:o,description:s,children:l,footer:u,className:f,contentClassName:p,onKeyDownCapture:m,headless:v=!1,backdropBlur:w=!0,shortcutModal:y,phoneSidebar:_=!1,phoneSidebarOrigin:C=!1}){const I=gi(),M=S.useRef(!1),N=S.useRef(!1);e&&!N.current&&(M.current=_&&(I?.open===!0||C)),N.current=e;const L=M.current&&I!==null,$=S.useRef(null);return W0($,e&&!L,t),e?L?c.jsxs(X8,{title:n,onBack:t,className:f,onKeyDownCapture:m,children:[v?l:c.jsxs("div",{className:pe(Kt.content,p),children:[s&&c.jsx("p",{className:Kt.description,children:s}),l!==void 0&&c.jsx("div",{className:Kt.body,children:l})]}),u!==void 0&&c.jsx("div",{className:Kt.footer,children:u})]}):zn.createPortal(c.jsxs("div",{className:Kt.root,role:"presentation",onKeyDownCapture:m,children:[c.jsx("div",{className:Kt.mask,style:w?void 0:{backdropFilter:"none"},"aria-hidden":"true",onClick:t}),c.jsx("div",{ref:$,tabIndex:-1,"data-shortcut-modal":y,className:pe(Kt.dialog,f),role:"dialog","aria-modal":"true","aria-label":n,children:v?l:c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:pe(Kt.content,p),children:[c.jsxs("div",{className:Kt.header,children:[c.jsx("h2",{className:Kt.title,children:n}),c.jsx("button",{type:"button",className:Kt.close,"aria-label":o,onClick:t,children:c.jsx(tl,{size:14})})]}),s!==void 0&&s!==""&&c.jsx("p",{className:Kt.description,children:s}),l!==void 0&&c.jsx("div",{className:Kt.body,children:l})]}),u!==void 0&&c.jsx("div",{className:Kt.footer,children:u})]})})]}),document.body):null}const Jb="_confirmation_1oi73_1",Qb="_confirmationContent_1oi73_7",Xb="_warning_1oi73_19",ek="_warningIcon_1oi73_32",tk="_acknowledgement_1oi73_38",nk="_modalAction_1oi73_68",rk="_confirmAction_1oi73_72",ao={confirmation:Jb,confirmationContent:Qb,warning:Xb,warningIcon:ek,acknowledgement:tk,modalAction:nk,confirmAction:rk};function ok({open:e,title:t,description:n,acknowledgeLabel:o,cancelLabel:s,closeLabel:l,confirmLabel:u,acknowledged:f,disabled:p=!1,onAcknowledgedChange:m,onCancel:v,onConfirm:w}){return c.jsxs(o7,{open:e,onClose:v,title:t,closeLabel:l,className:ao.confirmation,contentClassName:ao.confirmationContent,footer:c.jsxs(c.Fragment,{children:[c.jsx(r0,{variant:"outline",className:ao.modalAction,onClick:v,children:s}),c.jsx(r0,{variant:"primary",className:ao.confirmAction,disabled:p||!f,onClick:w,children:u})]}),children:[c.jsxs("div",{className:ao.warning,children:[c.jsx(Rf,{size:18,className:ao.warningIcon}),c.jsx("p",{children:n})]}),c.jsxs("label",{className:ao.acknowledgement,children:[c.jsx("input",{type:"checkbox",checked:f,disabled:p,"data-modal-autofocus":!0,onChange:y=>{m(y.currentTarget.checked)}}),c.jsx("span",{children:o})]})]})}const ik="_indicator_9rbf2_1",sk="_leaving_9rbf2_25",ak="_warning_9rbf2_35",lk="_success_9rbf2_64",ck="_icon_9rbf2_70",uk="_label_9rbf2_81",dk="_dots_9rbf2_85",fk="_secondDot_9rbf2_91",hk="_thirdDot_9rbf2_95",vn={indicator:ik,leaving:sk,warning:ak,success:lk,icon:ck,label:uk,dots:dk,secondDot:fk,thirdDot:hk},pk=150;function mk({state:e,disconnectedLabel:t,connectingLabel:n,recoveredLabel:o,reconnectActionLabel:s,restartActionLabel:l,onReconnect:u}){const[f,p]=S.useState(e),m=e===void 0&&f!==void 0;if(S.useEffect(()=>{if(e!==void 0){p(e);return}if(f===void 0)return;const y=window.setTimeout(()=>{p(void 0)},pk);return()=>{window.clearTimeout(y)}},[e,f]),f===void 0)return null;const v=m?` ${vn.leaving}`:"";if(f==="recovered")return c.jsxs("div",{className:`${vn.indicator} ${vn.success}${v}`,role:"status","aria-label":o,children:[c.jsx("span",{className:vn.icon,"aria-hidden":"true",children:c.jsx(mi,{size:14})}),c.jsx("span",{className:vn.label,children:o})]});const w=f==="connecting";return c.jsxs("button",{type:"button",className:`${vn.indicator} ${vn.warning}${v}`,"data-phase":f,"aria-label":w?l:s,onClick:u,children:[c.jsx("span",{className:vn.icon,"aria-hidden":"true",children:w?c.jsx($0,{state:"ongoing"}):c.jsx(xf,{size:14})}),c.jsx("span",{className:vn.label,children:w?c.jsxs(c.Fragment,{children:[n,c.jsxs("span",{className:vn.dots,"aria-hidden":"true",children:[c.jsx("span",{children:"."}),c.jsx("span",{className:vn.secondDot,children:"."}),c.jsx("span",{className:vn.thirdDot,children:"."})]})]}):t})]})}const vs={width:23.16,height:17.04},i7="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 gk({size:e=24,className:t}){return c.jsx("svg",{width:e,height:e*vs.height/vs.width,className:t,viewBox:`0 0 ${vs.width} ${vs.height}`,fill:"none","aria-hidden":"true",children:c.jsx("path",{d:i7,fill:"currentColor"})})}function vk({size:e=24,className:t,includeMark:n=!0}){const o=n?182:156;return c.jsxs("svg",{width:e*o/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 s7({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 a7({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 l7({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 wk(e){return c.jsx(s7,{...e,strokeWidth:Y})}function yk(e){return c.jsx(s7,{...e,strokeWidth:J})}function xk(e){return c.jsx(a7,{...e,strokeWidth:Y})}function _k(e){return c.jsx(a7,{...e,strokeWidth:J})}function Ck(e){return c.jsx(l7,{...e,strokeWidth:Y})}function bk(e){return c.jsx(l7,{...e,strokeWidth:J})}var e5;const kk=Object.freeze({status:"aborted"});function V(e,t,n){function o(f,p){if(f._zod||Object.defineProperty(f,"_zod",{value:{def:p,constr:u,traits:new Set},enumerable:!1}),f._zod.traits.has(e))return;f._zod.traits.add(e),t(f,p);const m=u.prototype,v=Object.keys(m);for(let w=0;w<v.length;w++){const y=v[w];y in f||(f[y]=m[y].bind(f))}}const s=n?.Parent??Object;class l extends s{}Object.defineProperty(l,"name",{value:e});function u(f){var p;const m=n?.Parent?new l:this;o(m,f),(p=m._zod).deferred??(p.deferred=[]);for(const v of m._zod.deferred)v();return m}return Object.defineProperty(u,"init",{value:o}),Object.defineProperty(u,Symbol.hasInstance,{value:f=>n?.Parent&&f instanceof n.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(u,"name",{value:e}),u}class ai extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class c7 extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(e5=globalThis).__zod_globalConfig??(e5.__zod_globalConfig={});const U0=globalThis.__zod_globalConfig;function fr(e){return U0}function u7(e){const t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,s])=>t.indexOf(+o)===-1).map(([o,s])=>s)}function s0(e,t){return typeof t=="bigint"?t.toString():t}function rl(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function q0(e){return e==null}function G0(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Sk(e,t){const n=e/t,o=Math.round(n),s=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-o)<s?0:n-o}const t5=Symbol("evaluating");function Ze(e,t,n){let o;Object.defineProperty(e,t,{get(){if(o!==t5)return o===void 0&&(o=t5,o=n()),o},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function xo(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Hr(...e){const t={};for(const n of e){const o=Object.getOwnPropertyDescriptors(n);Object.assign(t,o)}return Object.defineProperties({},t)}function n5(e){return JSON.stringify(e)}function jk(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const d7="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ps(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ek=rl(()=>{if(U0.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function fi(e){if(Ps(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Ps(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function f7(e){return fi(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Mk=new Set(["string","number","symbol"]);function hi(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Vr(e,t,n){const o=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(o._zod.parent=e),o}function be(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 Ik(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Ok={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 Lk(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const l=Hr(e._zod.def,{get shape(){const u={};for(const f in t){if(!(f in n.shape))throw new Error(`Unrecognized key: "${f}"`);t[f]&&(u[f]=n.shape[f])}return xo(this,"shape",u),u},checks:[]});return Vr(e,l)}function Tk(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const l=Hr(e._zod.def,{get shape(){const u={...e._zod.def.shape};for(const f in t){if(!(f in n.shape))throw new Error(`Unrecognized key: "${f}"`);t[f]&&delete u[f]}return xo(this,"shape",u),u},checks:[]});return Vr(e,l)}function zk(e,t){if(!fi(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=Hr(e._zod.def,{get shape(){const l={...e._zod.def.shape,...t};return xo(this,"shape",l),l}});return Vr(e,s)}function Pk(e,t){if(!fi(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=Hr(e._zod.def,{get shape(){const o={...e._zod.def.shape,...t};return xo(this,"shape",o),o}});return Vr(e,n)}function Nk(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=Hr(e._zod.def,{get shape(){const o={...e._zod.def.shape,...t._zod.def.shape};return xo(this,"shape",o),o},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Vr(e,n)}function Rk(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=Hr(t._zod.def,{get shape(){const f=t._zod.def.shape,p={...f};if(n)for(const m in n){if(!(m in f))throw new Error(`Unrecognized key: "${m}"`);n[m]&&(p[m]=e?new e({type:"optional",innerType:f[m]}):f[m])}else for(const m in f)p[m]=e?new e({type:"optional",innerType:f[m]}):f[m];return xo(this,"shape",p),p},checks:[]});return Vr(t,u)}function Ak(e,t,n){const o=Hr(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 xo(this,"shape",l),l}});return Vr(t,o)}function ni(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 Fk(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 Ar(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function aa(e){return typeof e=="string"?e:e?.message}function hr(e,t,n){const o=e.message?e.message:aa(e.inst?._zod.def?.error?.(e))??aa(t?.error?.(e))??aa(n.customError?.(e))??aa(n.localeError?.(e))??"Invalid input",{inst:s,continue:l,input:u,...f}=e;return f.path??(f.path=[]),f.message=o,t?.reportInput&&(f.input=u),f}function K0(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Ns(...e){const[t,n,o]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:o}:{...t}}const h7=(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,s0,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},p7=V("$ZodError",h7),m7=V("$ZodError",h7,{Parent:Error});function Dk(e,t=n=>n.message){const n={},o=[];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))):o.push(t(s));return{formErrors:o,fieldErrors:n}}function $k(e,t=n=>n.message){const n={_errors:[]},o=(s,l=[])=>{for(const u of s.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(f=>o({issues:f},[...l,...u.path]));else if(u.code==="invalid_key")o({issues:u.issues},[...l,...u.path]);else if(u.code==="invalid_element")o({issues:u.issues},[...l,...u.path]);else{const f=[...l,...u.path];if(f.length===0)n._errors.push(t(u));else{let p=n,m=0;for(;m<f.length;){const v=f[m];m===f.length-1?(p[v]=p[v]||{_errors:[]},p[v]._errors.push(t(u))):p[v]=p[v]||{_errors:[]},p=p[v],m++}}}};return o(e),n}const Y0=e=>(t,n,o,s)=>{const l=o?{...o,async:!1}:{async:!1},u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise)throw new ai;if(u.issues.length){const f=new(s?.Err??e)(u.issues.map(p=>hr(p,l,fr())));throw d7(f,s?.callee),f}return u.value},J0=e=>async(t,n,o,s)=>{const l=o?{...o,async:!0}:{async:!0};let u=t._zod.run({value:n,issues:[]},l);if(u instanceof Promise&&(u=await u),u.issues.length){const f=new(s?.Err??e)(u.issues.map(p=>hr(p,l,fr())));throw d7(f,s?.callee),f}return u.value},ol=e=>(t,n,o)=>{const s=o?{...o,async:!1}:{async:!1},l=t._zod.run({value:n,issues:[]},s);if(l instanceof Promise)throw new ai;return l.issues.length?{success:!1,error:new(e??p7)(l.issues.map(u=>hr(u,s,fr())))}:{success:!0,data:l.value}},Hk=ol(m7),il=e=>async(t,n,o)=>{const s=o?{...o,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=>hr(u,s,fr())))}:{success:!0,data:l.value}},Vk=il(m7),Bk=e=>(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return Y0(e)(t,n,s)},Zk=e=>(t,n,o)=>Y0(e)(t,n,o),Wk=e=>async(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return J0(e)(t,n,s)},Uk=e=>async(t,n,o)=>J0(e)(t,n,o),qk=e=>(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return ol(e)(t,n,s)},Gk=e=>(t,n,o)=>ol(e)(t,n,o),Kk=e=>async(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return il(e)(t,n,s)},Yk=e=>async(t,n,o)=>il(e)(t,n,o),Jk=/^[cC][0-9a-z]{6,}$/,Qk=/^[0-9a-z]+$/,Xk=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,eS=/^[0-9a-vA-V]{20}$/,tS=/^[A-Za-z0-9]{27}$/,nS=/^[a-zA-Z0-9_-]{21}$/,rS=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,oS=/^([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})$/,r5=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)$/,iS=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,sS="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function aS(){return new RegExp(sS,"u")}const lS=/^(?:(?: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])$/,cS=/^(([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}|:))$/,uS=/^((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])$/,dS=/^(([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])$/,fS=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,g7=/^[A-Za-z0-9_-]*$/,hS=/^https?$/,pS=/^\+[1-9]\d{6,14}$/,v7="(?:(?:\\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])))",mS=new RegExp(`^${v7}$`);function w7(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 gS(e){return new RegExp(`^${w7(e)}$`)}function vS(e){const t=w7({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const o=`${t}(?:${n.join("|")})`;return new RegExp(`^${v7}T(?:${o})$`)}const wS=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},yS=/^-?\d+$/,y7=/^-?\d+(?:\.\d+)?$/,xS=/^(?:true|false)$/i,_S=/^null$/i,CS=/^[^A-Z]*$/,bS=/^[^a-z]*$/,Jt=V("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),x7={number:"number",bigint:"bigint",object:"date"},_7=V("$ZodCheckLessThan",(e,t)=>{Jt.init(e,t);const n=x7[typeof t.value];e._zod.onattach.push(o=>{const s=o._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=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),C7=V("$ZodCheckGreaterThan",(e,t)=>{Jt.init(e,t);const n=x7[typeof t.value];e._zod.onattach.push(o=>{const s=o._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=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),kS=V("$ZodCheckMultipleOf",(e,t)=>{Jt.init(e,t),e._zod.onattach.push(n=>{var o;(o=n._zod.bag).multipleOf??(o.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):Sk(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})}}),SS=V("$ZodCheckNumberFormat",(e,t)=>{Jt.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),o=n?"int":"number",[s,l]=Ok[t.format];e._zod.onattach.push(u=>{const f=u._zod.bag;f.format=t.format,f.minimum=s,f.maximum=l,n&&(f.pattern=yS)}),e._zod.check=u=>{const f=u.value;if(n){if(!Number.isInteger(f)){u.issues.push({expected:o,format:t.format,code:"invalid_type",continue:!1,input:f,inst:e});return}if(!Number.isSafeInteger(f)){f>0?u.issues.push({input:f,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort}):u.issues.push({input:f,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}f<s&&u.issues.push({origin:"number",input:f,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),f>l&&u.issues.push({origin:"number",input:f,code:"too_big",maximum:l,inclusive:!0,inst:e,continue:!t.abort})}}),jS=V("$ZodCheckMaxLength",(e,t)=>{var n;Jt.init(e,t),(n=e._zod.def).when??(n.when=o=>{const s=o.value;return!q0(s)&&s.length!==void 0}),e._zod.onattach.push(o=>{const s=o._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<s&&(o._zod.bag.maximum=t.maximum)}),e._zod.check=o=>{const s=o.value;if(s.length<=t.maximum)return;const u=K0(s);o.issues.push({origin:u,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),ES=V("$ZodCheckMinLength",(e,t)=>{var n;Jt.init(e,t),(n=e._zod.def).when??(n.when=o=>{const s=o.value;return!q0(s)&&s.length!==void 0}),e._zod.onattach.push(o=>{const s=o._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>s&&(o._zod.bag.minimum=t.minimum)}),e._zod.check=o=>{const s=o.value;if(s.length>=t.minimum)return;const u=K0(s);o.issues.push({origin:u,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),MS=V("$ZodCheckLengthEquals",(e,t)=>{var n;Jt.init(e,t),(n=e._zod.def).when??(n.when=o=>{const s=o.value;return!q0(s)&&s.length!==void 0}),e._zod.onattach.push(o=>{const s=o._zod.bag;s.minimum=t.length,s.maximum=t.length,s.length=t.length}),e._zod.check=o=>{const s=o.value,l=s.length;if(l===t.length)return;const u=K0(s),f=l>t.length;o.issues.push({origin:u,...f?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),sl=V("$ZodCheckStringFormat",(e,t)=>{var n,o;Jt.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})}):(o=e._zod).check??(o.check=()=>{})}),IS=V("$ZodCheckRegex",(e,t)=>{sl.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})}}),OS=V("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=CS),sl.init(e,t)}),LS=V("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=bS),sl.init(e,t)}),TS=V("$ZodCheckIncludes",(e,t)=>{Jt.init(e,t);const n=hi(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=o,e._zod.onattach.push(s=>{const l=s._zod.bag;l.patterns??(l.patterns=new Set),l.patterns.add(o)}),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})}}),zS=V("$ZodCheckStartsWith",(e,t)=>{Jt.init(e,t);const n=new RegExp(`^${hi(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{const s=o._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),PS=V("$ZodCheckEndsWith",(e,t)=>{Jt.init(e,t);const n=new RegExp(`.*${hi(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(o=>{const s=o._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}}),NS=V("$ZodCheckOverwrite",(e,t)=>{Jt.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class RS{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 o=t.split(`
69
+ `).filter(u=>u),s=Math.min(...o.map(u=>u.length-u.trimStart().length)),l=o.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(`
70
+ `))}}const AS={major:4,minor:4,patch:3},et=V("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=AS;const o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(const s of o)for(const l of s._zod.onattach)l(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const s=(u,f,p)=>{let m=ni(u),v;for(const w of f){if(w._zod.def.when){if(Fk(u)||!w._zod.def.when(u))continue}else if(m)continue;const y=u.issues.length,_=w._zod.check(u);if(_ instanceof Promise&&p?.async===!1)throw new ai;if(v||_ instanceof Promise)v=(v??Promise.resolve()).then(async()=>{await _,u.issues.length!==y&&(m||(m=ni(u,y)))});else{if(u.issues.length===y)continue;m||(m=ni(u,y))}}return v?v.then(()=>u):u},l=(u,f,p)=>{if(ni(u))return u.aborted=!0,u;const m=s(f,o,p);if(m instanceof Promise){if(p.async===!1)throw new ai;return m.then(v=>e._zod.parse(v,p))}return e._zod.parse(m,p)};e._zod.run=(u,f)=>{if(f.skipChecks)return e._zod.parse(u,f);if(f.direction==="backward"){const m=e._zod.parse({value:u.value,issues:[]},{...f,skipChecks:!0});return m instanceof Promise?m.then(v=>l(v,u,f)):l(m,u,f)}const p=e._zod.parse(u,f);if(p instanceof Promise){if(f.async===!1)throw new ai;return p.then(m=>s(m,o,f))}return s(p,o,f)}}Ze(e,"~standard",()=>({validate:s=>{try{const l=Hk(e,s);return l.success?{value:l.data}:{issues:l.error?.issues}}catch{return Vk(e,s).then(u=>u.success?{value:u.data}:{issues:u.error?.issues})}},vendor:"zod",version:1}))}),Q0=V("$ZodString",(e,t)=>{et.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??wS(e._zod.bag),e._zod.parse=(n,o)=>{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}}),at=V("$ZodStringFormat",(e,t)=>{sl.init(e,t),Q0.init(e,t)}),FS=V("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=oS),at.init(e,t)}),DS=V("$ZodUUID",(e,t)=>{if(t.version){const o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=r5(o))}else t.pattern??(t.pattern=r5());at.init(e,t)}),$S=V("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=iS),at.init(e,t)}),HS=V("$ZodURL",(e,t)=>{at.init(e,t),e._zod.check=n=>{try{const o=n.value.trim();if(!t.normalize&&t.protocol?.source===hS.source&&!/^https?:\/\//i.test(o)){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(o);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=o;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),VS=V("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=aS()),at.init(e,t)}),BS=V("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=nS),at.init(e,t)}),ZS=V("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Jk),at.init(e,t)}),WS=V("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Qk),at.init(e,t)}),US=V("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Xk),at.init(e,t)}),qS=V("$ZodXID",(e,t)=>{t.pattern??(t.pattern=eS),at.init(e,t)}),GS=V("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=tS),at.init(e,t)}),KS=V("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=vS(t)),at.init(e,t)}),YS=V("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=mS),at.init(e,t)}),JS=V("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=gS(t)),at.init(e,t)}),QS=V("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=rS),at.init(e,t)}),XS=V("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=lS),at.init(e,t),e._zod.bag.format="ipv4"}),ej=V("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=cS),at.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})}}}),tj=V("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=uS),at.init(e,t)}),nj=V("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=dS),at.init(e,t),e._zod.check=n=>{const o=n.value.split("/");try{if(o.length!==2)throw new Error;const[s,l]=o;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 b7(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const rj=V("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=fS),at.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{b7(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function oj(e){if(!g7.test(e))return!1;const t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return b7(n)}const ij=V("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=g7),at.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{oj(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),sj=V("$ZodE164",(e,t)=>{t.pattern??(t.pattern=pS),at.init(e,t)});function aj(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[o]=n;if(!o)return!1;const s=JSON.parse(atob(o));return!("typ"in s&&s?.typ!=="JWT"||!s.alg||t&&(!("alg"in s)||s.alg!==t))}catch{return!1}}const lj=V("$ZodJWT",(e,t)=>{at.init(e,t),e._zod.check=n=>{aj(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),k7=V("$ZodNumber",(e,t)=>{et.init(e,t),e._zod.pattern=e._zod.bag.pattern??y7,e._zod.parse=(n,o)=>{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}}),cj=V("$ZodNumberFormat",(e,t)=>{SS.init(e,t),k7.init(e,t)}),uj=V("$ZodBoolean",(e,t)=>{et.init(e,t),e._zod.pattern=xS,e._zod.parse=(n,o)=>{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}}),dj=V("$ZodNull",(e,t)=>{et.init(e,t),e._zod.pattern=_S,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{const s=n.value;return s===null||n.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),n}}),fj=V("$ZodUnknown",(e,t)=>{et.init(e,t),e._zod.parse=n=>n}),hj=V("$ZodNever",(e,t)=>{et.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function o5(e,t,n){e.issues.length&&t.issues.push(...Ar(n,e.issues)),t.value[n]=e.value}const pj=V("$ZodArray",(e,t)=>{et.init(e,t),e._zod.parse=(n,o)=>{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 f=s[u],p=t.element._zod.run({value:f,issues:[]},o);p instanceof Promise?l.push(p.then(m=>o5(m,n,u))):o5(p,n,u)}return l.length?Promise.all(l).then(()=>n):n}});function Oa(e,t,n,o,s,l){const u=n in o;if(e.issues.length){if(s&&l&&!u)return;t.issues.push(...Ar(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 S7(e){const t=Object.keys(e.shape);for(const o of t)if(!e.shape?.[o]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${o}": expected a Zod schema`);const n=Ik(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function j7(e,t,n,o,s,l){const u=[],f=s.keySet,p=s.catchall._zod,m=p.def.type,v=p.optin==="optional",w=p.optout==="optional";for(const y in t){if(y==="__proto__"||f.has(y))continue;if(m==="never"){u.push(y);continue}const _=p.run({value:t[y],issues:[]},o);_ instanceof Promise?e.push(_.then(C=>Oa(C,n,y,t,v,w))):Oa(_,n,y,t,v,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 mj=V("$ZodObject",(e,t)=>{if(et.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const f=t.shape;Object.defineProperty(t,"shape",{get:()=>{const p={...f};return Object.defineProperty(t,"shape",{value:p}),p}})}const o=rl(()=>S7(t));Ze(e._zod,"propValues",()=>{const f=t.shape,p={};for(const m in f){const v=f[m]._zod;if(v.values){p[m]??(p[m]=new Set);for(const w of v.values)p[m].add(w)}}return p});const s=Ps,l=t.catchall;let u;e._zod.parse=(f,p)=>{u??(u=o.value);const m=f.value;if(!s(m))return f.issues.push({expected:"object",code:"invalid_type",input:m,inst:e}),f;f.value={};const v=[],w=u.shape;for(const y of u.keys){const _=w[y],C=_._zod.optin==="optional",I=_._zod.optout==="optional",M=_._zod.run({value:m[y],issues:[]},p);M instanceof Promise?v.push(M.then(N=>Oa(N,f,y,m,C,I))):Oa(M,f,y,m,C,I)}return l?j7(v,m,f,p,o.value,e):v.length?Promise.all(v).then(()=>f):f}}),gj=V("$ZodObjectJIT",(e,t)=>{mj.init(e,t);const n=e._zod.parse,o=rl(()=>S7(t)),s=y=>{const _=new RS(["shape","payload","ctx"]),C=o.value,I=$=>{const A=n5($);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};_.write("const input = payload.value;");const M=Object.create(null);let N=0;for(const $ of C.keys)M[$]=`key_${N++}`;_.write("const newResult = {};");for(const $ of C.keys){const A=M[$],W=n5($),B=y[$],K=B?._zod?.optin==="optional",H=B?._zod?.optout==="optional";_.write(`const ${A} = ${I($)};`),K&&H?_.write(`
71
+ if (${A}.issues.length) {
72
+ if (${W} in input) {
73
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
74
+ ...iss,
75
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
76
+ })));
77
+ }
78
+ }
79
+
80
+ if (${A}.value === undefined) {
81
+ if (${W} in input) {
82
+ newResult[${W}] = undefined;
83
+ }
84
+ } else {
85
+ newResult[${W}] = ${A}.value;
86
+ }
87
+
88
+ `):K?_.write(`
89
+ if (${A}.issues.length) {
90
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
91
+ ...iss,
92
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
93
+ })));
94
+ }
95
+
96
+ if (${A}.value === undefined) {
97
+ if (${W} in input) {
98
+ newResult[${W}] = undefined;
99
+ }
100
+ } else {
101
+ newResult[${W}] = ${A}.value;
102
+ }
103
+
104
+ `):_.write(`
105
+ const ${A}_present = ${W} in input;
106
+ if (${A}.issues.length) {
107
+ payload.issues = payload.issues.concat(${A}.issues.map(iss => ({
108
+ ...iss,
109
+ path: iss.path ? [${W}, ...iss.path] : [${W}]
110
+ })));
111
+ }
112
+ if (!${A}_present && !${A}.issues.length) {
113
+ payload.issues.push({
114
+ code: "invalid_type",
115
+ expected: "nonoptional",
116
+ input: undefined,
117
+ path: [${W}]
118
+ });
119
+ }
120
+
121
+ if (${A}_present) {
122
+ if (${A}.value === undefined) {
123
+ newResult[${W}] = undefined;
124
+ } else {
125
+ newResult[${W}] = ${A}.value;
126
+ }
127
+ }
128
+
129
+ `)}_.write("payload.value = newResult;"),_.write("return payload;");const L=_.compile();return($,A)=>L(y,$,A)};let l;const u=Ps,f=!U0.jitless,m=f&&Ek.value,v=t.catchall;let w;e._zod.parse=(y,_)=>{w??(w=o.value);const C=y.value;return u(C)?f&&m&&_?.async===!1&&_.jitless!==!0?(l||(l=s(t.shape)),y=l(y,_),v?j7([],C,y,_,w,e):y):n(y,_):(y.issues.push({expected:"object",code:"invalid_type",input:C,inst:e}),y)}});function i5(e,t,n,o){for(const l of e)if(l.issues.length===0)return t.value=l.value,t;const s=e.filter(l=>!ni(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=>hr(u,o,fr())))}),t)}const E7=V("$ZodUnion",(e,t)=>{et.init(e,t),Ze(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),Ze(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),Ze(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),Ze(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${o.map(s=>G0(s.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,s)=>{if(n)return n(o,s);let l=!1;const u=[];for(const f of t.options){const p=f._zod.run({value:o.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(f=>i5(f,o,e,s)):i5(u,o,e,s)}}),vj=V("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,E7.init(e,t);const n=e._zod.parse;Ze(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[f,p]of Object.entries(u)){s[f]||(s[f]=new Set);for(const m of p)s[f].add(m)}}return s});const o=rl(()=>{const s=t.options,l=new Map;for(const u of s){const f=u._zod.propValues?.[t.discriminator];if(!f||f.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(const p of f){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(!Ps(u))return s.issues.push({code:"invalid_type",expected:"object",input:u,inst:e}),s;const f=o.value.get(u?.[t.discriminator]);return f?f._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(o.value.keys()),input:u,path:[t.discriminator],inst:e}),s)}}),wj=V("$ZodIntersection",(e,t)=>{et.init(e,t),e._zod.parse=(n,o)=>{const s=n.value,l=t.left._zod.run({value:s,issues:[]},o),u=t.right._zod.run({value:s,issues:[]},o);return l instanceof Promise||u instanceof Promise?Promise.all([l,u]).then(([p,m])=>s5(n,p,m)):s5(n,l,u)}});function a0(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(fi(e)&&fi(t)){const n=Object.keys(t),o=Object.keys(e).filter(l=>n.indexOf(l)!==-1),s={...e,...t};for(const l of o){const u=a0(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 o=0;o<e.length;o++){const s=e[o],l=t[o],u=a0(s,l);if(!u.valid)return{valid:!1,mergeErrorPath:[o,...u.mergeErrorPath]};n.push(u.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function s5(e,t,n){const o=new Map;let s;for(const f of t.issues)if(f.code==="unrecognized_keys"){s??(s=f);for(const p of f.keys)o.has(p)||o.set(p,{}),o.get(p).l=!0}else e.issues.push(f);for(const f of n.issues)if(f.code==="unrecognized_keys")for(const p of f.keys)o.has(p)||o.set(p,{}),o.get(p).r=!0;else e.issues.push(f);const l=[...o].filter(([,f])=>f.l&&f.r).map(([f])=>f);if(l.length&&s&&e.issues.push({...s,keys:l}),ni(e))return e;const u=a0(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 yj=V("$ZodTuple",(e,t)=>{et.init(e,t);const n=t.items;e._zod.parse=(o,s)=>{const l=o.value;if(!Array.isArray(l))return o.issues.push({input:l,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=[];const u=[],f=a5(n,"optin"),p=a5(n,"optout");if(!t.rest){if(l.length<f)return o.issues.push({code:"too_small",minimum:f,inclusive:!0,input:l,inst:e,origin:"array"}),o;l.length>n.length&&o.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:l,inst:e,origin:"array"})}const m=new Array(n.length);for(let v=0;v<n.length;v++){const w=n[v]._zod.run({value:l[v],issues:[]},s);w instanceof Promise?u.push(w.then(y=>{m[v]=y})):m[v]=w}if(t.rest){let v=n.length-1;const w=l.slice(n.length);for(const y of w){v++;const _=t.rest._zod.run({value:y,issues:[]},s);_ instanceof Promise?u.push(_.then(C=>l5(C,o,v))):l5(_,o,v)}}return u.length?Promise.all(u).then(()=>c5(m,o,n,l,p)):c5(m,o,n,l,p)}});function a5(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function l5(e,t,n){e.issues.length&&t.issues.push(...Ar(n,e.issues)),t.value[n]=e.value}function c5(e,t,n,o,s){for(let l=0;l<n.length;l++){const u=e[l],f=l<o.length;if(u.issues.length){if(!f&&l>=s){t.value.length=l;break}t.issues.push(...Ar(l,u.issues))}t.value[l]=u.value}for(let l=t.value.length-1;l>=o.length&&(n[l]._zod.optout==="optional"&&t.value[l]===void 0);l--)t.value.length=l;return t}const xj=V("$ZodRecord",(e,t)=>{et.init(e,t),e._zod.parse=(n,o)=>{const s=n.value;if(!fi(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 f=new Set;for(const m of u)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){f.add(typeof m=="number"?m.toString():m);const v=t.keyType._zod.run({value:m,issues:[]},o);if(v instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(v.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:v.issues.map(_=>hr(_,o,fr())),input:m,path:[m],inst:e});continue}const w=v.value,y=t.valueType._zod.run({value:s[m],issues:[]},o);y instanceof Promise?l.push(y.then(_=>{_.issues.length&&n.issues.push(...Ar(m,_.issues)),n.value[w]=_.value})):(y.issues.length&&n.issues.push(...Ar(m,y.issues)),n.value[w]=y.value)}let p;for(const m in s)f.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 f of Reflect.ownKeys(s)){if(f==="__proto__"||!Object.prototype.propertyIsEnumerable.call(s,f))continue;let p=t.keyType._zod.run({value:f,issues:[]},o);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof f=="string"&&y7.test(f)&&p.issues.length){const w=t.keyType._zod.run({value:Number(f),issues:[]},o);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[f]=s[f]:n.issues.push({code:"invalid_key",origin:"record",issues:p.issues.map(w=>hr(w,o,fr())),input:f,path:[f],inst:e});continue}const v=t.valueType._zod.run({value:s[f],issues:[]},o);v instanceof Promise?l.push(v.then(w=>{w.issues.length&&n.issues.push(...Ar(f,w.issues)),n.value[p.value]=w.value})):(v.issues.length&&n.issues.push(...Ar(f,v.issues)),n.value[p.value]=v.value)}}return l.length?Promise.all(l).then(()=>n):n}}),_j=V("$ZodEnum",(e,t)=>{et.init(e,t);const n=u7(t.entries),o=new Set(n);e._zod.values=o,e._zod.pattern=new RegExp(`^(${n.filter(s=>Mk.has(typeof s)).map(s=>typeof s=="string"?hi(s):s.toString()).join("|")})$`),e._zod.parse=(s,l)=>{const u=s.value;return o.has(u)||s.issues.push({code:"invalid_value",values:n,input:u,inst:e}),s}}),Cj=V("$ZodLiteral",(e,t)=>{if(et.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(o=>typeof o=="string"?hi(o):o?hi(o.toString()):String(o)).join("|")})$`),e._zod.parse=(o,s)=>{const l=o.value;return n.has(l)||o.issues.push({code:"invalid_value",values:t.values,input:l,inst:e}),o}}),bj=V("$ZodTransform",(e,t)=>{et.init(e,t),e._zod.optin="optional",e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new c7(e.constructor.name);const s=t.transform(n.value,n);if(o.async)return(s instanceof Promise?s:Promise.resolve(s)).then(u=>(n.value=u,n.fallback=!0,n));if(s instanceof Promise)throw new ai;return n.value=s,n.fallback=!0,n}});function u5(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const M7=V("$ZodOptional",(e,t)=>{et.init(e,t),e._zod.optin="optional",e._zod.optout="optional",Ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),Ze(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${G0(n.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(t.innerType._zod.optin==="optional"){const s=n.value,l=t.innerType._zod.run(n,o);return l instanceof Promise?l.then(u=>u5(u,s)):u5(l,s)}return n.value===void 0?n:t.innerType._zod.run(n,o)}}),kj=V("$ZodExactOptional",(e,t)=>{M7.init(e,t),Ze(e._zod,"values",()=>t.innerType._zod.values),Ze(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),Sj=V("$ZodNullable",(e,t)=>{et.init(e,t),Ze(e._zod,"optin",()=>t.innerType._zod.optin),Ze(e._zod,"optout",()=>t.innerType._zod.optout),Ze(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${G0(n.source)}|null)$`):void 0}),Ze(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),jj=V("$ZodDefault",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(l=>d5(l,t)):d5(s,t)}});function d5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Ej=V("$ZodPrefault",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),Mj=V("$ZodNonOptional",(e,t)=>{et.init(e,t),Ze(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(o=>o!==void 0)):void 0}),e._zod.parse=(n,o)=>{const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(l=>f5(l,e)):f5(s,e)}});function f5(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 Ij=V("$ZodCatch",(e,t)=>{et.init(e,t),e._zod.optin="optional",Ze(e._zod,"optout",()=>t.innerType._zod.optout),Ze(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run(n,o);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=>hr(u,o,fr()))},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=>hr(l,o,fr()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),Oj=V("$ZodPipe",(e,t)=>{et.init(e,t),Ze(e._zod,"values",()=>t.in._zod.values),Ze(e._zod,"optin",()=>t.in._zod.optin),Ze(e._zod,"optout",()=>t.out._zod.optout),Ze(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction==="backward"){const l=t.out._zod.run(n,o);return l instanceof Promise?l.then(u=>la(u,t.in,o)):la(l,t.in,o)}const s=t.in._zod.run(n,o);return s instanceof Promise?s.then(l=>la(l,t.out,o)):la(s,t.out,o)}});function la(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 Lj=V("$ZodReadonly",(e,t)=>{et.init(e,t),Ze(e._zod,"propValues",()=>t.innerType._zod.propValues),Ze(e._zod,"values",()=>t.innerType._zod.values),Ze(e._zod,"optin",()=>t.innerType?._zod?.optin),Ze(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(h5):h5(s)}});function h5(e){return e.value=Object.freeze(e.value),e}const Tj=V("$ZodLazy",(e,t)=>{et.init(e,t),Ze(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),Ze(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),Ze(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),Ze(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),Ze(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),zj=V("$ZodCustom",(e,t)=>{Jt.init(e,t),et.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{const o=n.value,s=t.fn(o);if(s instanceof Promise)return s.then(l=>p5(l,n,o,e));p5(s,n,o,e)}});function p5(e,t,n,o){if(!e){const s={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(s.params=o._zod.def.params),t.issues.push(Ns(s))}}var m5;class Pj{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const o=n[0];return this._map.set(t,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.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 o={...this.get(n)??{}};delete o.id;const s={...o,...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 Nj(){return new Pj}(m5=globalThis).__zod_globalRegistry??(m5.__zod_globalRegistry=Nj());const ws=globalThis.__zod_globalRegistry;function Rj(e,t){return new e({type:"string",...be(t)})}function Aj(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...be(t)})}function g5(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...be(t)})}function Fj(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...be(t)})}function Dj(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...be(t)})}function $j(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...be(t)})}function Hj(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...be(t)})}function I7(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...be(t)})}function Vj(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...be(t)})}function Bj(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...be(t)})}function Zj(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...be(t)})}function Wj(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...be(t)})}function Uj(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...be(t)})}function qj(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...be(t)})}function Gj(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...be(t)})}function Kj(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...be(t)})}function Yj(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...be(t)})}function Jj(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...be(t)})}function Qj(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...be(t)})}function Xj(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...be(t)})}function eE(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...be(t)})}function tE(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...be(t)})}function nE(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...be(t)})}function rE(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...be(t)})}function oE(e,t){return new e({type:"string",format:"date",check:"string_format",...be(t)})}function iE(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...be(t)})}function sE(e,t){return new e({type:"string",format:"duration",check:"string_format",...be(t)})}function aE(e,t){return new e({type:"number",checks:[],...be(t)})}function lE(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...be(t)})}function cE(e,t){return new e({type:"boolean",...be(t)})}function uE(e,t){return new e({type:"null",...be(t)})}function dE(e){return new e({type:"unknown"})}function fE(e,t){return new e({type:"never",...be(t)})}function v5(e,t){return new _7({check:"less_than",...be(t),value:e,inclusive:!1})}function Ou(e,t){return new _7({check:"less_than",...be(t),value:e,inclusive:!0})}function w5(e,t){return new C7({check:"greater_than",...be(t),value:e,inclusive:!1})}function Lu(e,t){return new C7({check:"greater_than",...be(t),value:e,inclusive:!0})}function y5(e,t){return new kS({check:"multiple_of",...be(t),value:e})}function O7(e,t){return new jS({check:"max_length",...be(t),maximum:e})}function La(e,t){return new ES({check:"min_length",...be(t),minimum:e})}function L7(e,t){return new MS({check:"length_equals",...be(t),length:e})}function hE(e,t){return new IS({check:"string_format",format:"regex",...be(t),pattern:e})}function pE(e){return new OS({check:"string_format",format:"lowercase",...be(e)})}function mE(e){return new LS({check:"string_format",format:"uppercase",...be(e)})}function gE(e,t){return new TS({check:"string_format",format:"includes",...be(t),includes:e})}function vE(e,t){return new zS({check:"string_format",format:"starts_with",...be(t),prefix:e})}function wE(e,t){return new PS({check:"string_format",format:"ends_with",...be(t),suffix:e})}function vi(e){return new NS({check:"overwrite",tx:e})}function yE(e){return vi(t=>t.normalize(e))}function xE(){return vi(e=>e.trim())}function _E(){return vi(e=>e.toLowerCase())}function CE(){return vi(e=>e.toUpperCase())}function bE(){return vi(e=>jk(e))}function kE(e,t,n){return new e({type:"array",element:t,...be(n)})}function SE(e,t,n){const o=be(n);return o.abort??(o.abort=!0),new e({type:"custom",check:"custom",fn:t,...o})}function jE(e,t,n){return new e({type:"custom",check:"custom",fn:t,...be(n)})}function EE(e,t){const n=ME(o=>(o.addIssue=s=>{if(typeof s=="string")o.issues.push(Ns(s,o.value,n._zod.def));else{const l=s;l.fatal&&(l.continue=!1),l.code??(l.code="custom"),l.input??(l.input=o.value),l.inst??(l.inst=n),l.continue??(l.continue=!n._zod.def.abort),o.issues.push(Ns(l))}},e(o.value,o)),t);return n}function ME(e,t){const n=new Jt({check:"custom",...be(t)});return n._zod.check=e,n}function T7(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??ws,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 ut(e,t,n={path:[],schemaPath:[]}){var o;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 f=e._zod.toJSONSchema?.();if(f)u.schema=f;else{const v={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,u.schema,v);else{const y=u.schema,_=t.processors[s.type];if(!_)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);_(e,t,y,v)}const w=e._zod.parent;w&&(u.ref||(u.ref=w),ut(w,t,v),t.seen.get(w).isParent=!0)}const p=t.metadataRegistry.get(e);return p&&Object.assign(u.schema,p),t.io==="input"&&Ht(e)&&(delete u.schema.examples,delete u.schema.default),t.io==="input"&&"_prefault"in u.schema&&((o=u.schema).default??(o.default=u.schema._prefault)),delete u.schema._prefault,t.seen.get(e).schema}function z7(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=new Map;for(const u of e.seen.entries()){const f=e.metadataRegistry.get(u[0])?.id;if(f){const p=o.get(f);if(p&&p!==u[0])throw new Error(`Duplicate schema id "${f}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(f,u[0])}}const s=u=>{const f=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const w=e.external.registry.get(u[0])?.id,y=e.external.uri??(C=>C);if(w)return{ref:y(w)};const _=u[1].defId??u[1].schema.id??`schema${e.counter++}`;return u[1].defId=_,{defId:_,ref:`${y("__shared")}#/${f}/${_}`}}if(u[1]===n)return{ref:"#"};const m=`#/${f}/`,v=u[1].schema.id??`__schema${e.counter++}`;return{defId:v,ref:m+v}},l=u=>{if(u[1].schema.$ref)return;const f=u[1],{ref:p,defId:m}=s(u);f.def={...f.schema},m&&(f.defId=m);const v=f.schema;for(const w in v)delete v[w];v.$ref=p};if(e.cycles==="throw")for(const u of e.seen.entries()){const f=u[1];if(f.cycle)throw new Error(`Cycle detected: #/${f.cycle?.join("/")}/<root>
130
+
131
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const u of e.seen.entries()){const f=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(f.cycle){l(u);continue}if(f.count>1&&e.reused==="ref"){l(u);continue}}}function P7(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=f=>{const p=e.seen.get(f);if(p.ref===null)return;const m=p.def??p.schema,v={...m},w=p.ref;if(p.ref=null,w){o(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,v),f._zod.parent===w)for(const M in m)M==="$ref"||M==="allOf"||M in v||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 y=f._zod.parent;if(y&&y!==w){o(y);const _=e.seen.get(y);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:f,jsonSchema:m,path:p.path??[]})};for(const f of[...e.seen.entries()].reverse())o(f[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 f=e.external.registry.get(t)?.id;if(!f)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(f)}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 f of e.seen.entries()){const p=f[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 f=JSON.parse(JSON.stringify(s));return Object.defineProperty(f,"~standard",{value:{...t["~standard"],jsonSchema:{input:Ta(t,"input",e.processors),output:Ta(t,"output",e.processors)}},enumerable:!1,writable:!1}),f}catch{throw new Error("Error converting schema to JSON.")}}function Ht(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return Ht(o.element,n);if(o.type==="set")return Ht(o.valueType,n);if(o.type==="lazy")return Ht(o.getter(),n);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault")return Ht(o.innerType,n);if(o.type==="intersection")return Ht(o.left,n)||Ht(o.right,n);if(o.type==="record"||o.type==="map")return Ht(o.keyType,n)||Ht(o.valueType,n);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ht(o.in,n)||Ht(o.out,n);if(o.type==="object"){for(const s in o.shape)if(Ht(o.shape[s],n))return!0;return!1}if(o.type==="union"){for(const s of o.options)if(Ht(s,n))return!0;return!1}if(o.type==="tuple"){for(const s of o.items)if(Ht(s,n))return!0;return!!(o.rest&&Ht(o.rest,n))}return!1}const IE=(e,t={})=>n=>{const o=T7({...n,processors:t});return ut(e,o),z7(o,e),P7(o,e)},Ta=(e,t,n={})=>o=>{const{libraryOptions:s,target:l}=o??{},u=T7({...s??{},target:l,io:t,processors:n});return ut(e,u),z7(u,e),P7(u,e)},OE={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},LE=(e,t,n,o)=>{const s=n;s.type="string";const{minimum:l,maximum:u,format:f,patterns:p,contentEncoding:m}=e._zod.bag;if(typeof l=="number"&&(s.minLength=l),typeof u=="number"&&(s.maxLength=u),f&&(s.format=OE[f]??f,s.format===""&&delete s.format,f==="time"&&delete s.format),m&&(s.contentEncoding=m),p&&p.size>0){const v=[...p];v.length===1?s.pattern=v[0].source:v.length>1&&(s.allOf=[...v.map(w=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:w.source}))])}},TE=(e,t,n,o)=>{const s=n,{minimum:l,maximum:u,format:f,multipleOf:p,exclusiveMaximum:m,exclusiveMinimum:v}=e._zod.bag;typeof f=="string"&&f.includes("int")?s.type="integer":s.type="number";const w=typeof v=="number"&&v>=(l??Number.NEGATIVE_INFINITY),y=typeof m=="number"&&m<=(u??Number.POSITIVE_INFINITY),_=t.target==="draft-04"||t.target==="openapi-3.0";w?_?(s.minimum=v,s.exclusiveMinimum=!0):s.exclusiveMinimum=v:typeof l=="number"&&(s.minimum=l),y?_?(s.maximum=m,s.exclusiveMaximum=!0):s.exclusiveMaximum=m:typeof u=="number"&&(s.maximum=u),typeof p=="number"&&(s.multipleOf=p)},zE=(e,t,n,o)=>{n.type="boolean"},PE=(e,t,n,o)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},NE=(e,t,n,o)=>{n.not={}},RE=(e,t,n,o)=>{},AE=(e,t,n,o)=>{const s=e._zod.def,l=u7(s.entries);l.every(u=>typeof u=="number")&&(n.type="number"),l.every(u=>typeof u=="string")&&(n.type="string"),n.enum=l},FE=(e,t,n,o)=>{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},DE=(e,t,n,o)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},$E=(e,t,n,o)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},HE=(e,t,n,o)=>{const s=n,l=e._zod.def,{minimum:u,maximum:f}=e._zod.bag;typeof u=="number"&&(s.minItems=u),typeof f=="number"&&(s.maxItems=f),s.type="array",s.items=ut(l.element,t,{...o,path:[...o.path,"items"]})},VE=(e,t,n,o)=>{const s=n,l=e._zod.def;s.type="object",s.properties={};const u=l.shape;for(const m in u)s.properties[m]=ut(u[m],t,{...o,path:[...o.path,"properties",m]});const f=new Set(Object.keys(u)),p=new Set([...f].filter(m=>{const v=l.shape[m]._zod;return t.io==="input"?v.optin===void 0:v.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=ut(l.catchall,t,{...o,path:[...o.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},BE=(e,t,n,o)=>{const s=e._zod.def,l=s.inclusive===!1,u=s.options.map((f,p)=>ut(f,t,{...o,path:[...o.path,l?"oneOf":"anyOf",p]}));l?n.oneOf=u:n.anyOf=u},ZE=(e,t,n,o)=>{const s=e._zod.def,l=ut(s.left,t,{...o,path:[...o.path,"allOf",0]}),u=ut(s.right,t,{...o,path:[...o.path,"allOf",1]}),f=m=>"allOf"in m&&Object.keys(m).length===1,p=[...f(l)?l.allOf:[l],...f(u)?u.allOf:[u]];n.allOf=p},WE=(e,t,n,o)=>{const s=n,l=e._zod.def;s.type="array";const u=t.target==="draft-2020-12"?"prefixItems":"items",f=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",p=l.items.map((y,_)=>ut(y,t,{...o,path:[...o.path,u,_]})),m=l.rest?ut(l.rest,t,{...o,path:[...o.path,f,...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:v,maximum:w}=e._zod.bag;typeof v=="number"&&(s.minItems=v),typeof w=="number"&&(s.maxItems=w)},UE=(e,t,n,o)=>{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 v=ut(l.valueType,t,{...o,path:[...o.path,"patternProperties","*"]});s.patternProperties={};for(const w of p)s.patternProperties[w.source]=v}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(s.propertyNames=ut(l.keyType,t,{...o,path:[...o.path,"propertyNames"]})),s.additionalProperties=ut(l.valueType,t,{...o,path:[...o.path,"additionalProperties"]});const m=u._zod.values;if(m){const v=[...m].filter(w=>typeof w=="string"||typeof w=="number");v.length>0&&(s.required=v)}},qE=(e,t,n,o)=>{const s=e._zod.def,l=ut(s.innerType,t,o),u=t.seen.get(e);t.target==="openapi-3.0"?(u.ref=s.innerType,n.nullable=!0):n.anyOf=[l,{type:"null"}]},GE=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);const l=t.seen.get(e);l.ref=s.innerType},KE=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);const l=t.seen.get(e);l.ref=s.innerType,n.default=JSON.parse(JSON.stringify(s.defaultValue))},YE=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);const l=t.seen.get(e);l.ref=s.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(s.defaultValue)))},JE=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);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},QE=(e,t,n,o)=>{const s=e._zod.def,l=s.in._zod.traits.has("$ZodTransform"),u=t.io==="input"?l?s.out:s.in:s.out;ut(u,t,o);const f=t.seen.get(e);f.ref=u},XE=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);const l=t.seen.get(e);l.ref=s.innerType,n.readOnly=!0},N7=(e,t,n,o)=>{const s=e._zod.def;ut(s.innerType,t,o);const l=t.seen.get(e);l.ref=s.innerType},eM=(e,t,n,o)=>{const s=e._zod.innerType;ut(s,t,o);const l=t.seen.get(e);l.ref=s},tM=V("ZodISODateTime",(e,t)=>{KS.init(e,t),dt.init(e,t)});function nM(e){return rE(tM,e)}const rM=V("ZodISODate",(e,t)=>{YS.init(e,t),dt.init(e,t)});function oM(e){return oE(rM,e)}const iM=V("ZodISOTime",(e,t)=>{JS.init(e,t),dt.init(e,t)});function sM(e){return iE(iM,e)}const aM=V("ZodISODuration",(e,t)=>{QS.init(e,t),dt.init(e,t)});function lM(e){return sE(aM,e)}const cM=(e,t)=>{p7.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>$k(e,n)},flatten:{value:n=>Dk(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,s0,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,s0,2)}},isEmpty:{get(){return e.issues.length===0}}})},xn=V("ZodError",cM,{Parent:Error}),uM=Y0(xn),dM=J0(xn),fM=ol(xn),hM=il(xn),pM=Bk(xn),mM=Zk(xn),gM=Wk(xn),vM=Uk(xn),wM=qk(xn),yM=Gk(xn),xM=Kk(xn),_M=Yk(xn),x5=new WeakMap;function Bs(e,t,n){const o=Object.getPrototypeOf(e);let s=x5.get(o);if(s||(s=new Set,x5.set(o,s)),!s.has(t)){s.add(t);for(const l in n){const u=n[l];Object.defineProperty(o,l,{configurable:!0,enumerable:!1,get(){const f=u.bind(this);return Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:f}),f},set(f){Object.defineProperty(this,l,{configurable:!0,writable:!0,enumerable:!0,value:f})}})}}}const rt=V("ZodType",(e,t)=>(et.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Ta(e,"input"),output:Ta(e,"output")}}),e.toJSONSchema=IE(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,o)=>uM(e,n,o,{callee:e.parse}),e.safeParse=(n,o)=>fM(e,n,o),e.parseAsync=async(n,o)=>dM(e,n,o,{callee:e.parseAsync}),e.safeParseAsync=async(n,o)=>hM(e,n,o),e.spa=e.safeParseAsync,e.encode=(n,o)=>pM(e,n,o),e.decode=(n,o)=>mM(e,n,o),e.encodeAsync=async(n,o)=>gM(e,n,o),e.decodeAsync=async(n,o)=>vM(e,n,o),e.safeEncode=(n,o)=>wM(e,n,o),e.safeDecode=(n,o)=>yM(e,n,o),e.safeEncodeAsync=async(n,o)=>xM(e,n,o),e.safeDecodeAsync=async(n,o)=>_M(e,n,o),Bs(e,"ZodType",{check(...n){const o=this.def;return this.clone(Hr(o,{checks:[...o.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,o){return Vr(this,n,o)},brand(){return this},register(n,o){return n.add(this,o),this},refine(n,o){return this.check(gI(n,o))},superRefine(n,o){return this.check(vI(n,o))},overwrite(n){return this.check(vi(n))},optional(){return k5(this)},exactOptional(){return tI(this)},nullable(){return S5(this)},nullish(){return k5(S5(this))},nonoptional(n){return aI(this,n)},array(){return re(this)},or(n){return Pn([this,n])},and(n){return GM(this,n)},transform(n){return j5(this,XM(n))},default(n){return oI(this,n)},prefault(n){return sI(this,n)},catch(n){return cI(this,n)},pipe(n){return j5(this,n)},readonly(){return fI(this)},describe(n){const o=this.clone();return ws.add(o,{description:n}),o},meta(...n){if(n.length===0)return ws.get(this);const o=this.clone();return ws.add(o,n[0]),o},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return ws.get(e)?.description},configurable:!0}),e)),R7=V("_ZodString",(e,t)=>{Q0.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(o,s,l)=>LE(e,o,s);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,Bs(e,"_ZodString",{regex(...o){return this.check(hE(...o))},includes(...o){return this.check(gE(...o))},startsWith(...o){return this.check(vE(...o))},endsWith(...o){return this.check(wE(...o))},min(...o){return this.check(La(...o))},max(...o){return this.check(O7(...o))},length(...o){return this.check(L7(...o))},nonempty(...o){return this.check(La(1,...o))},lowercase(o){return this.check(pE(o))},uppercase(o){return this.check(mE(o))},trim(){return this.check(xE())},normalize(...o){return this.check(yE(...o))},toLowerCase(){return this.check(_E())},toUpperCase(){return this.check(CE())},slugify(){return this.check(bE())}})}),CM=V("ZodString",(e,t)=>{Q0.init(e,t),R7.init(e,t),e.email=n=>e.check(Aj(bM,n)),e.url=n=>e.check(I7(A7,n)),e.jwt=n=>e.check(nE(FM,n)),e.emoji=n=>e.check(Vj(kM,n)),e.guid=n=>e.check(g5(_5,n)),e.uuid=n=>e.check(Fj(ca,n)),e.uuidv4=n=>e.check(Dj(ca,n)),e.uuidv6=n=>e.check($j(ca,n)),e.uuidv7=n=>e.check(Hj(ca,n)),e.nanoid=n=>e.check(Bj(SM,n)),e.guid=n=>e.check(g5(_5,n)),e.cuid=n=>e.check(Zj(jM,n)),e.cuid2=n=>e.check(Wj(EM,n)),e.ulid=n=>e.check(Uj(MM,n)),e.base64=n=>e.check(Xj(NM,n)),e.base64url=n=>e.check(eE(RM,n)),e.xid=n=>e.check(qj(IM,n)),e.ksuid=n=>e.check(Gj(OM,n)),e.ipv4=n=>e.check(Kj(LM,n)),e.ipv6=n=>e.check(Yj(TM,n)),e.cidrv4=n=>e.check(Jj(zM,n)),e.cidrv6=n=>e.check(Qj(PM,n)),e.e164=n=>e.check(tE(AM,n)),e.datetime=n=>e.check(nM(n)),e.date=n=>e.check(oM(n)),e.time=n=>e.check(sM(n)),e.duration=n=>e.check(lM(n))});function b(e){return Rj(CM,e)}const dt=V("ZodStringFormat",(e,t)=>{at.init(e,t),R7.init(e,t)}),bM=V("ZodEmail",(e,t)=>{$S.init(e,t),dt.init(e,t)}),_5=V("ZodGUID",(e,t)=>{FS.init(e,t),dt.init(e,t)}),ca=V("ZodUUID",(e,t)=>{DS.init(e,t),dt.init(e,t)}),A7=V("ZodURL",(e,t)=>{HS.init(e,t),dt.init(e,t)});function F7(e){return I7(A7,e)}const kM=V("ZodEmoji",(e,t)=>{VS.init(e,t),dt.init(e,t)}),SM=V("ZodNanoID",(e,t)=>{BS.init(e,t),dt.init(e,t)}),jM=V("ZodCUID",(e,t)=>{ZS.init(e,t),dt.init(e,t)}),EM=V("ZodCUID2",(e,t)=>{WS.init(e,t),dt.init(e,t)}),MM=V("ZodULID",(e,t)=>{US.init(e,t),dt.init(e,t)}),IM=V("ZodXID",(e,t)=>{qS.init(e,t),dt.init(e,t)}),OM=V("ZodKSUID",(e,t)=>{GS.init(e,t),dt.init(e,t)}),LM=V("ZodIPv4",(e,t)=>{XS.init(e,t),dt.init(e,t)}),TM=V("ZodIPv6",(e,t)=>{ej.init(e,t),dt.init(e,t)}),zM=V("ZodCIDRv4",(e,t)=>{tj.init(e,t),dt.init(e,t)}),PM=V("ZodCIDRv6",(e,t)=>{nj.init(e,t),dt.init(e,t)}),NM=V("ZodBase64",(e,t)=>{rj.init(e,t),dt.init(e,t)}),RM=V("ZodBase64URL",(e,t)=>{ij.init(e,t),dt.init(e,t)}),AM=V("ZodE164",(e,t)=>{sj.init(e,t),dt.init(e,t)}),FM=V("ZodJWT",(e,t)=>{lj.init(e,t),dt.init(e,t)}),D7=V("ZodNumber",(e,t)=>{k7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(o,s,l)=>TE(e,o,s),Bs(e,"ZodNumber",{gt(o,s){return this.check(w5(o,s))},gte(o,s){return this.check(Lu(o,s))},min(o,s){return this.check(Lu(o,s))},lt(o,s){return this.check(v5(o,s))},lte(o,s){return this.check(Ou(o,s))},max(o,s){return this.check(Ou(o,s))},int(o){return this.check(C5(o))},safe(o){return this.check(C5(o))},positive(o){return this.check(w5(0,o))},nonnegative(o){return this.check(Lu(0,o))},negative(o){return this.check(v5(0,o))},nonpositive(o){return this.check(Ou(0,o))},multipleOf(o,s){return this.check(y5(o,s))},step(o,s){return this.check(y5(o,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 Se(e){return aE(D7,e)}const DM=V("ZodNumberFormat",(e,t)=>{cj.init(e,t),D7.init(e,t)});function C5(e){return lE(DM,e)}const $M=V("ZodBoolean",(e,t)=>{uj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>zE(e,n,o)});function ye(e){return cE($M,e)}const HM=V("ZodNull",(e,t)=>{dj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>PE(e,n,o)});function VM(e){return uE(HM,e)}const BM=V("ZodUnknown",(e,t)=>{fj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>RE()});function za(){return dE(BM)}const ZM=V("ZodNever",(e,t)=>{hj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>NE(e,n,o)});function X0(e){return fE(ZM,e)}const WM=V("ZodArray",(e,t)=>{pj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>HE(e,n,o,s),e.element=t.element,Bs(e,"ZodArray",{min(n,o){return this.check(La(n,o))},nonempty(n){return this.check(La(1,n))},max(n,o){return this.check(O7(n,o))},length(n,o){return this.check(L7(n,o))},unwrap(){return this.element}})});function re(e,t){return kE(WM,e,t)}const $7=V("ZodObject",(e,t)=>{gj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>VE(e,n,o,s),Ze(e,"shape",()=>t.shape),Bs(e,"ZodObject",{keyof(){return Fe(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:za()})},loose(){return this.clone({...this._zod.def,catchall:za()})},strict(){return this.clone({...this._zod.def,catchall:X0()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return zk(this,n)},safeExtend(n){return Pk(this,n)},merge(n){return Nk(this,n)},pick(n){return Lk(this,n)},omit(n){return Tk(this,n)},partial(...n){return Rk(V7,this,n[0])},required(...n){return Ak(B7,this,n[0])}})});function j(e,t){const n={type:"object",shape:e??{},...be(t)};return new $7(n)}function fe(e,t){return new $7({type:"object",shape:e,catchall:X0(),...be(t)})}const H7=V("ZodUnion",(e,t)=>{E7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>BE(e,n,o,s),e.options=t.options});function Pn(e,t){return new H7({type:"union",options:e,...be(t)})}const UM=V("ZodDiscriminatedUnion",(e,t)=>{H7.init(e,t),vj.init(e,t)});function Qt(e,t,n){return new UM({type:"union",options:t,discriminator:e,...be(n)})}const qM=V("ZodIntersection",(e,t)=>{wj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ZE(e,n,o,s)});function GM(e,t){return new qM({type:"intersection",left:e,right:t})}const KM=V("ZodTuple",(e,t)=>{yj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>WE(e,n,o,s),e.rest=n=>e.clone({...e._zod.def,rest:n})});function YM(e,t,n){const o=t instanceof et,s=o?n:t,l=o?t:null;return new KM({type:"tuple",items:e,rest:l,...be(s)})}const b5=V("ZodRecord",(e,t)=>{xj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>UE(e,n,o,s),e.keyType=t.keyType,e.valueType=t.valueType});function qn(e,t,n){return!t||!t._zod?new b5({type:"record",keyType:b(),valueType:e,...be(t)}):new b5({type:"record",keyType:e,valueType:t,...be(n)})}const l0=V("ZodEnum",(e,t)=>{_j.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(o,s,l)=>AE(e,o,s),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(o,s)=>{const l={};for(const u of o)if(n.has(u))l[u]=t.entries[u];else throw new Error(`Key ${u} not found in enum`);return new l0({...t,checks:[],...be(s),entries:l})},e.exclude=(o,s)=>{const l={...t.entries};for(const u of o)if(n.has(u))delete l[u];else throw new Error(`Key ${u} not found in enum`);return new l0({...t,checks:[],...be(s),entries:l})}});function Fe(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new l0({type:"enum",entries:n,...be(t)})}const JM=V("ZodLiteral",(e,t)=>{Cj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>FE(e,n,o),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 oe(e,t){return new JM({type:"literal",values:Array.isArray(e)?e:[e],...be(t)})}const QM=V("ZodTransform",(e,t)=>{bj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>$E(e,n),e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new c7(e.constructor.name);n.addIssue=l=>{if(typeof l=="string")n.issues.push(Ns(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(Ns(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 XM(e){return new QM({type:"transform",transform:e})}const V7=V("ZodOptional",(e,t)=>{M7.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>N7(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function k5(e){return new V7({type:"optional",innerType:e})}const eI=V("ZodExactOptional",(e,t)=>{kj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>N7(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function tI(e){return new eI({type:"optional",innerType:e})}const nI=V("ZodNullable",(e,t)=>{Sj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>qE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function S5(e){return new nI({type:"nullable",innerType:e})}const rI=V("ZodDefault",(e,t)=>{jj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>KE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function oI(e,t){return new rI({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():f7(t)}})}const iI=V("ZodPrefault",(e,t)=>{Ej.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>YE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function sI(e,t){return new iI({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():f7(t)}})}const B7=V("ZodNonOptional",(e,t)=>{Mj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>GE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function aI(e,t){return new B7({type:"nonoptional",innerType:e,...be(t)})}const lI=V("ZodCatch",(e,t)=>{Ij.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>JE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function cI(e,t){return new lI({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const uI=V("ZodPipe",(e,t)=>{Oj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>QE(e,n,o,s),e.in=t.in,e.out=t.out});function j5(e,t){return new uI({type:"pipe",in:e,out:t})}const dI=V("ZodReadonly",(e,t)=>{Lj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>XE(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function fI(e){return new dI({type:"readonly",innerType:e})}const hI=V("ZodLazy",(e,t)=>{Tj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>eM(e,n,o,s),e.unwrap=()=>e._zod.def.getter()});function pI(e){return new hI({type:"lazy",getter:e})}const Z7=V("ZodCustom",(e,t)=>{zj.init(e,t),rt.init(e,t),e._zod.processJSONSchema=(n,o,s)=>DE(e,n)});function mI(e,t){return SE(Z7,e??(()=>!0),t)}function gI(e,t={}){return jE(Z7,e,t)}function vI(e,t){return EE(e,t)}function Br(e){return(t,n)=>{for(const o of e)Object.hasOwn(t,o)&&t[o]===void 0&&n.addIssue({code:"custom",path:[o],message:"Explicit undefined is not valid JSON"})}}const wI=Pn([b(),Se(),ye(),VM()]);function yI(e){const t=new WeakSet,n=[{value:e,leaving:!1}];try{for(;n.length>0;){const o=n.pop();if(!o)break;if(o.leaving){t.delete(o.value);continue}if(!(typeof o.value!="object"||o.value===null)){if(t.has(o.value))return!1;t.add(o.value),n.push({value:o.value,leaving:!0});for(const s of Object.values(o.value))n.push({value:s,leaving:!1})}}}catch{return!1}return!0}const e2=mI(yI,{message:"JSON value must not contain circular references"}),Rs=pI(()=>Pn([wI,re(Rs),qn(b(),Rs)])),yn=e2.pipe(Rs);e2.pipe(re(Rs));const W7=e2.pipe(qn(b(),Rs)),xI=fe({code:b().min(1),message:b().min(1),retryable:ye(),diagnostic:b().min(1).optional(),stage:b().min(1).optional(),durationMs:Se().int().nonnegative().optional(),stderrTail:b().min(1).optional()}).superRefine(Br(["diagnostic","stage","durationMs","stderrTail"])),U7=b().max(64).regex(/^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$/u),c0=e=>b().min(1).max(e).refine(t=>t.trim().length>0),Zs=qn(U7,j({label:c0(256).optional(),description:c0(1024).optional()}).strict()).refine(e=>Object.keys(e).length<=16,"Too many locales"),q7=qn(U7,c0(4096)).refine(e=>typeof e.en=="string","English fallback is required").refine(e=>Object.keys(e).length<=16,"Too many locales"),Ws=b().refine(e=>e.trim().length>0,{message:"Identifier must not be empty or whitespace"}),Ot=Ws.brand(),_t=Ws.brand(),Us=Ws.brand();Ws.brand();Ws.brand();const _I=128,CI=256,bI=1024,kI=32,u0=b().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),mr=u0.max(_I).regex(/^[A-Za-z0-9._~:-]+$/u,"Permission Mode ID must use transport-safe characters").brand(),SI=j({id:mr,label:u0.max(CI),description:u0.max(bI).optional(),dangerous:ye().optional(),localizations:Zs.optional()}).strict(),jI=j({modes:re(SI).min(1).max(kI),defaultModeId:mr}).strict().superRefine((e,t)=>{const n=new Set;for(const[o,s]of e.modes.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Permission Mode IDs must be unique",path:["modes",o,"id"]}),n.add(s.id);n.has(e.defaultModeId)||t.addIssue({code:"custom",message:"Default Permission Mode must exist in the catalog",path:["defaultModeId"]})});j({threadId:_t,permissionModeId:mr}).strict();const Yt=Se().int().safe().nonnegative(),Jo=Se().finite().nonnegative(),ua=Se().finite().min(0).max(100),E5=j({value:Jo,turnId:b().min(1).max(1024),at:Yt}).strict();j({outputTokensPerSecond:E5.optional(),timeToFirstOutputMs:E5.extend({value:Yt}).optional()}).strict();const M5=e=>q7.refine(t=>Object.values(t).every(n=>n.length<=e)),EI=re(j({kind:oe("countdown"),id:b().min(1).max(64),expiresAtUnix:Yt,label:M5(256).optional(),tooltip:M5(1024).optional()}).strict()).max(2).refine(e=>new Set(e.map(({id:t})=>t)).size===e.length,{message:"Composer indicator IDs must be unique"}),t2=j({composerIndicators:EI.optional(),inputTokens:Yt.optional(),cachedInputTokens:Yt.optional(),cacheWriteInputTokens:Yt.optional(),outputTokens:Yt.optional(),outputTokensPerSecond:Jo.optional(),apiOutputTokensPerSecond:Jo.optional(),reasoningOutputTokens:Yt.optional(),totalTokens:Yt.optional(),totalCostUsd:Jo.optional(),totalCredits:Jo.optional(),contextUsagePercent:Jo.optional(),cacheHitRatePercent:ua.optional(),contextWindowTokens:Yt.optional(),contextUsedTokens:Yt.optional(),planFiveHourUsedPercent:ua.optional(),planFiveHourResetsAtUnix:Yt.optional(),planSevenDayUsedPercent:ua.optional(),planSevenDayResetsAtUnix:Yt.optional(),sessionCacheHitRatePercent:ua.optional(),timeToFirstOutputMs:Yt.optional(),costSource:Fe(["publicPrice","native"]).optional(),unpricedModels:re(b().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,o=e.contextWindowTokens!==void 0;n!==o&&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"]})}),G7=Se().finite().min(0).max(100),K7=Fe(["weekly","monthly","five_hour","seven_day","unknown"]),Y7=j({id:b().min(1).max(256),label:b().min(1).max(256),localizations:Zs.optional()}).strict(),MI=j({product:b().min(1),periodType:K7.optional(),scope:Y7.optional(),localizations:Zs.optional(),used:Se().finite().nonnegative().optional(),limit:Se().finite().nonnegative().optional(),unit:b().min(1).max(32).optional(),usagePercent:G7,resetsAt:b().min(1).optional()}).strict(),II=j({availableCount:Se().int().safe().positive(),nextExpiresAt:b().min(1).optional(),expiresAt:re(b().min(1)).min(1).max(32).optional()}).strict(),n2=j({used:Se().finite().nonnegative().optional(),limit:Se().finite().nonnegative().optional(),unit:b().min(1).max(32).optional(),label:b().min(1).optional(),scope:Y7.optional(),localizations:Zs.optional(),usedPercent:G7,resetsAt:b().min(1).optional(),periodType:K7,productUsage:re(MI).min(1).optional(),resetCredits:II.optional()}).strict();j({threadId:_t,refresh:oe("exact").optional()}).strict();j({threadId:_t,usage:t2.nullable(),accountCredits:n2.optional(),accountCreditsSupported:ye().optional()}).strict();const OI=512,r2=256,LI=128,J7=100,Dr=b().refine(e=>e.trim().length>0,{message:"Value must not be empty or whitespace"}),TI=Dr.max(OI).regex(/^[A-Za-z0-9._~-]+$/u,"Model Ref must use transport-safe opaque characters").brand(),Un=j({id:TI}).strict(),Gn=Dr.max(LI).regex(/^[A-Za-z0-9._~-]+$/u,"Thinking option ID must use transport-safe characters").brand(),al=Dr.max(r2),zI=j({id:Gn,label:Dr.max(r2)}).strict(),PI=j({ref:Un,label:Dr.max(r2),resolvedModelLabel:al.optional(),fastModel:Un.optional(),supportedThinkingOptionIds:re(Gn).optional()}).strict(),o2=re(zI).superRefine((e,t)=>{const n=new Set;for(const[o,s]of e.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Thinking option IDs must be unique",path:[o,"id"]}),n.add(s.id)}),NI=j({models:re(PI),defaultModel:Un.optional(),thinkingOptions:o2,defaultThinkingOptionId:Gn.optional()}).strict().superRefine((e,t)=>{const n=new Set,o=new Set(e.thinkingOptions.map(({id:s})=>s));for(const[s,l]of e.models.entries()){n.has(l.ref.id)&&t.addIssue({code:"custom",message:"Model Catalog refs must be unique",path:["models",s,"ref","id"]}),n.add(l.ref.id),l.fastModel&&((n.has(l.fastModel.id)||e.models.some(f=>f.ref.id===l.fastModel?.id))&&t.addIssue({code:"custom",message:"Fast Model refs must be distinct and unique",path:["models",s,"fastModel"]}),n.add(l.fastModel.id));const u=new Set;for(const[f,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",f]}),u.add(p),o.has(p)||t.addIssue({code:"custom",message:"Supported Thinking option must exist in the catalog",path:["models",s,"supportedThinkingOptionIds",f]})}e.defaultModel&&!n.has(e.defaultModel.id)&&t.addIssue({code:"custom",message:"Default Model must exist in the Model Catalog",path:["defaultModel","id"]}),e.defaultThinkingOptionId&&!o.has(e.defaultThinkingOptionId)&&t.addIssue({code:"custom",message:"Default Thinking option must exist in the catalog",path:["defaultThinkingOptionId"]})}),i2=j({fork:ye(),forkAcrossCwd:ye(),rollbackLastTurn:ye()}).strict().refine(e=>e.fork||!e.forkAcrossCwd,{path:["forkAcrossCwd"],message:"Cross-cwd Fork requires exact history Fork support"}),RI=Fe(["live","atCreate"]),AI=j({configuration:j({selectModel:ye(),selectThinkingOption:ye(),selectPermissionMode:ye(),permissionModeScope:RI.default("live")}).strict(),history:i2,subagents:j({observe:ye(),readTranscript:ye()}).strict().optional(),autonomousTurns:j({observe:ye()}).strict().optional(),steer:ye().optional()}).strict();j({effectiveModel:Un.optional(),resolvedModelLabel:al.optional(),effectiveThinkingOptionId:Gn.optional(),availableThinkingOptions:o2.optional(),effectivePermissionModeId:mr.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 FI=j({open:oe(!0)}).strict(),DI=j({status:oe("ready"),catalog:NI,permissionModes:jI.optional(),capabilities:AI,webUi:FI.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"]})}),$I=j({status:Fe(["notInstalled","unavailable","error"]),error:xI}).strict();Pn([DI,$I]);j({harnessId:Ot,cwd:Dr.max(16384).optional(),refresh:ye().optional(),purpose:oe("availability").optional()}).strict();j({harnessId:Ot}).strict();j({}).strict();j({threadId:_t,model:Un}).strict();j({threadId:_t,thinkingOptionId:Gn}).strict();j({threadId:_t,includeReferenceCapability:ye().optional()}).strict();const HI=j({owner:oe("codex"),locked:ye(),effectiveModel:Un.optional(),resolvedModelLabel:al.optional(),effectiveThinkingOptionId:Gn.optional(),effectivePermissionModeId:mr.optional(),history:i2.optional(),supportsThreadReferences:oe(!0).optional()}).strict(),VI=j({owner:oe("external"),harnessId:Dr.max(256),transportModelId:Dr.max(1024),effectiveModel:Un.optional(),resolvedModelLabel:al.optional(),effectiveThinkingOptionId:Gn.optional(),availableThinkingOptions:o2.optional(),effectivePermissionModeId:mr.optional(),history:i2,usage:t2.optional(),locked:oe(!0)}).strict();Qt("owner",[HI,VI]);j({threadIds:re(_t).min(1).max(J7)}).strict().superRefine(({threadIds:e},t)=>{const n=new Set;for(const[o,s]of e.entries())n.has(s)&&t.addIssue({code:"custom",message:"Thread ownership-list IDs must be unique",path:["threadIds",o]}),n.add(s)});const BI=j({threadId:_t,owner:oe("codex")}).strict(),ZI=j({threadId:_t,owner:oe("external"),harnessId:b().max(256).pipe(Ot)}).strict(),Q7=Qt("owner",[BI,ZI]);j({threads:re(Q7).min(1).max(J7)}).strict().superRefine(({threads:e},t)=>{const n=new Set;for(const[o,s]of e.entries())n.has(s.threadId)&&t.addIssue({code:"custom",message:"Thread ownership-list results must be unique",path:["threads",o,"threadId"]}),n.add(s.threadId)});j({threadId:_t,text:b().optional()}).strict();j({kind:oe("application"),value:b().transform((e,t)=>{try{return JSON.parse(e)}catch{return t.addIssue({code:"custom",message:"Invalid steering context JSON"}),kk}}).pipe(j({expectedTurnId:Us,clientUserMessageId:b().min(1),delivery:Fe(["newTurn","activeTurn"])}).strict())}).strict().transform(e=>e.value);Fe(["activeTurn","newTurn"]);j({delivery:Fe(["official","activeTurn","newTurn"])}).strict();const WI=1;j({threadIds:re(b().min(1))}).strict();j({threadId:b().min(1).max(1024),pinned:ye()}).strict();j({prompt:b().max(16384).optional()}).strict();j({projects:re(j({id:b(),name:b(),rootPaths:re(b())})),assignments:qn(b(),b()),projectless:re(b()),pinned:re(b())});const Pa=qn(b(),za()),ys=j({epoch:b().uuid(),sequence:Se().int().nonnegative()});Qt("type",[j({type:oe("display-settings-changed"),cursor:ys}),j({type:oe("preferences-changed"),cursor:ys,revision:Se().int().nonnegative()}),j({type:oe("hello"),version:oe(1),cursor:ys,reset:ye()}),j({type:oe("changed"),cursor:ys,threadId:b().min(1),method:b().min(1)})]);const UI=Qt("type",[j({type:oe("text"),id:b(),prompt:b(),secret:ye().optional(),optional:ye().optional()}),j({type:oe("choice"),id:b(),prompt:b(),multiple:ye(),allowOther:ye(),optional:ye().optional(),options:re(j({value:b(),label:b(),description:b().optional()}))})]),qI=Qt("type",[j({type:oe("approval"),title:b(),description:b().optional(),subject:za().optional(),actions:re(j({id:b(),label:b(),effect:b()}))}),j({type:oe("question"),title:b().optional(),questions:re(UI)})]),GI=j({requestId:Pn([b(),Se().int()]),threadId:b(),kind:Fe(["approval","question"]),interaction:qI,request:Pa}),KI=j({id:b().min(1),clientUserMessageId:b().min(1),input:re(Pa),presentationInput:re(Pa).nullable().optional()}).passthrough(),YI=re(Pn([b(),Se().int().nonnegative()]));j({fields:re(j({path:YI,originalLength:Se().int().nonnegative()}))});const Tu=j({id:b().min(1),status:b().min(1),items:re(j({id:b().min(1),type:b().min(1)}).passthrough()),codexhostFileOperations:re(j({beforeItemId:b().nullable(),item:j({id:b().min(1),type:b().min(1)}).passthrough()})).optional(),error:j({message:b().optional()}).passthrough().nullable().optional(),fingerprint:b().min(1).optional(),unchanged:oe(!0).optional()}).passthrough(),JI=j({id:b().min(1).max(512),fingerprint:b().min(1).max(128)});j({threadId:b().min(1),knownTurns:re(JI).max(64).optional(),truncateToolOutput:ye().optional()});const QI=j({harnessId:b().min(1),nativeSessionId:b().min(1)});j({cursor:ys,activeTurnId:b().min(1).nullable().optional(),command:j({name:b().min(1),turn:Tu}).optional(),thread:j({id:b().min(1),cwd:b(),modelProvider:b().min(1),createdAt:Se(),updatedAt:Se(),status:j({type:b()}).passthrough(),name:b().nullable().optional(),preview:b().optional(),codexhostImportSource:QI.optional(),turns:re(Tu).length(0)}).passthrough(),turnsPage:j({data:re(Tu).max(5),nextCursor:b().nullable()}),configuration:j({native:j({model:b().min(1).max(1024).optional(),reasoningEffort:b().min(1).max(128).optional()}).optional(),effectiveModel:Un.optional(),effectiveThinkingOptionId:Gn.optional(),effectivePermissionModeId:mr.optional()}),queue:j({items:re(KI),pausedReason:Fe(["interrupted","outcome-unknown","failed"]).nullable()}).optional(),interactions:re(GI)});j({version:oe(WI),owner:oe("service").optional(),pid:Se().int().positive(),port:Se().int().min(1).max(65535),token:b().regex(/^[0-9a-f]{64}$/u),startedAt:Se(),epoch:b().uuid()});j({epoch:b().uuid(),threadId:b().min(1),requestId:Pn([b(),Se().int()]),result:Pa});j({includeArchived:ye().optional(),officialCursor:j({live:b().nullable(),archived:b().nullable().optional()}).strict().optional()}).strict();j({threads:re(W7),ownership:re(Q7),archivedThreadIds:re(_t),officialCursor:j({live:b().nullable(),archived:b().nullable().optional()}).strict().optional()}).strict();const XI=b().regex(/^audio\/[a-z0-9.+-]+(?:\s*;[^\r\n]*)?$/i);j({available:ye()}).strict();j({path:b().min(1),mimeType:XI}).strict();const eO=Fe(["credentials-unavailable","login-expired","rate-limited","service-rejected","host-incompatible","network","timeout","audio-empty","audio-too-large","audio-format","audio-invalid"]);Qt("ok",[j({ok:oe(!0),text:b()}).strict(),j({ok:oe(!1),error:j({code:eO}).strict()}).strict()]);const I5=j({kind:Fe(["public","relay","tailscale-funnel","tailscale-https","tailscale","lan","virtual"]),url:b().min(1)}).strict(),X7=Qt("status",[j({status:oe("not-installed")}),j({status:oe("not-running")}),j({status:oe("not-logged-in")}),j({status:oe("https-disabled")}),j({status:oe("not-serving"),command:b()}),j({status:oe("occupied"),target:b()}),j({status:oe("serving"),url:b(),funnel:ye()}),j({status:oe("error"),message:b()})]);j({state:X7,error:b().optional()}).strict();const tO=Qt("status",[j({status:oe("on")}),j({status:oe("off")}),j({status:oe("invalid"),reason:b()})]),nO=j({lan:ye(),autostart:tO}).strict(),O5=j({expiresAt:b().optional(),issuing:ye(),failure:j({detail:b().optional(),retryAt:b(),paused:ye()}).optional()}),rO=Qt("status",[j({status:oe("off"),reason:Fe(["invite","name-taken","banned"]).optional()}),j({status:oe("connecting"),reason:Fe(["full","unreachable"]).optional()}),j({status:oe("connected"),url:b(),certificate:O5}),j({status:oe("missing-certificate"),url:b(),certificate:O5}),j({status:oe("stopped"),reason:Fe(["replaced","rejected","unsupported-version"])})]);b().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());b().regex(/^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)?$/);const oO=Fe(["official","self-hosted"]);j({secret:b().min(1),lastUsedAt:Se().nullable(),networkUrls:re(I5),directCandidates:re(I5).optional(),tailscale:X7,background:nO.optional(),relay:j({state:rO,enabled:ye(),kind:oO,officialHost:b(),customHost:b().optional(),officialHostname:b().optional(),customHostname:b().optional(),quotaUntil:b().optional()}).strict().optional()}).strict();j({url:b()}).strict();const iO=fe({threadId:b().min(1).max(1024),view:Fe(["result","messages"]),cursor:b().min(1).max(8192).optional(),limit:Se().int().min(1).max(100).optional()}),eh=j({id:b().min(1).max(256),harnessId:b().min(1),label:b().min(1).max(512),provider:Fe(["openai-codex","xai"])}).strict(),va=b().regex(/^[a-z][a-z0-9-]{0,47}$/),sO=j({name:va,source:eh,importedAt:b()}).strict(),aO=Qt("action",[j({action:oe("list")}).strict(),j({action:oe("import"),sourceId:b().min(1).max(256),name:va,confirmed:oe(!0)}).strict(),j({action:oe("reimport"),sourceId:b().min(1).max(256),name:va,confirmed:oe(!0)}).strict(),j({action:oe("remove"),name:va,confirmed:oe(!0)}).strict()]),lO=j({provider:b().min(1).max(128),type:Fe(["oauth","api_key","unknown"]),label:b().min(1).max(512).optional(),vendor:Fe(["openai-codex","xai"]).optional()}).strict();j({sources:re(eh),targets:re(j({harnessId:b(),providers:re(Fe(["openai-codex","xai"])),imports:re(sO),others:re(lO).default([])}).strict())}).strict();j({targetHarnessId:b().min(1).max(128).optional(),request:aO}).strict();j({events:ye()});const th=re(fe({agent:b().min(1).max(128),section:Fe(["main","more","auto"])})).max(256).refine(e=>new Set(e.map(t=>t.agent)).size===e.length,"Duplicate Harness IDs");fe({entries:th.nullable()});fe({});fe({entries:th,initializeOnly:ye().optional()});const cO=5,uO=1440,nh=fe({enabled:ye(),timeoutMinutes:Se().int().min(cO).max(uO)}),ll=b().regex(/^external$/u),rh=Ot.transform(e=>String(e)),oh=fe({model:Un.optional(),thinkingOptionId:Gn.optional(),permissionModeId:mr.optional()}).refine(e=>!!(e.model||e.thinkingOptionId||e.permissionModeId),"A default configuration must contain a preference"),dO=fe({lastHarness:Ot.optional(),byHarness:qn(rh,oh)}),d0=b().min(1).max(1024),ih=fe({idleRelease:nh.optional(),favorites:qn(rh,re(d0).max(2048)).default({}),newThread:dO.optional()});fe({scope:ll,revision:Se().int().nonnegative(),values:ih});fe({scope:ll.default("external")});const fO=Qt("kind",[fe({kind:oe("idleRelease"),value:nh}),fe({kind:oe("favorite"),harnessId:Ot,modelId:d0,enabled:ye()}),fe({kind:oe("favorites"),harnessId:Ot,modelIds:re(d0).max(2048)}),fe({kind:oe("newThread"),lastHarness:Ot.optional(),harnessId:Ot.optional(),configuration:oh.optional()})]);fe({scope:ll.default("external"),operations:re(fO).min(1).max(256),initializeOnly:ye().optional(),expectedRevision:Se().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"})});fe({version:oe(1),revision:Se().int().nonnegative(),scopes:qn(ll,ih)});const fs=Se().finite().nonnegative(),cl=fe({input:fs,output:fs,cacheRead:fs.optional(),cacheWrite:fs.optional(),cacheWrite1h:fs.optional()}),f0=b().max(512).refine(e=>e.trim()===e&&e.length>0,"Model ID is required");fe({path:b(),entries:re(fe({key:b(),price:cl})),error:b().nullable()});fe({});fe({key:f0,price:cl.nullable(),previousKey:f0.optional()});fe({model:f0});const hO=fe({official:ye().optional(),canonicalModelId:b().min(1).optional(),provider:b().min(1).max(512),model:b().min(1).max(512),price:cl});fe({price:cl.nullable(),suggestions:re(hO).max(6).optional()});const sh=["today","7d","30d","90d","all"],jt=Se().int().min(0).max(Number.MAX_SAFE_INTEGER),xs=b().regex(/^\d{4}-\d{2}-\d{2}$/u),cr=b().min(1).max(128),Nr=b().min(1).max(512),Cs=b().min(1).max(4096);fe({range:Fe(sh),timeZone:b().min(1).max(128).refine(e=>{try{return new Intl.DateTimeFormat("en",{timeZone:e}),!0}catch{return!1}},"Unsupported usage statistics timezone").optional(),harness:cr.optional(),model:Nr.nullable().optional(),project:Cs.nullable().optional(),date:xs.optional()});const ah=fe({requests:jt,inputTokens:jt,cachedInputTokens:jt,cacheWriteInputTokens:jt,cacheKnownInputTokens:jt,cacheHitCachedInputTokens:jt,cacheHitInputTokens:jt,outputTokens:jt,reasoningOutputTokens:jt,costUsd:Se().finite().min(0),unpricedRequests:jt,unmeteredRequests:jt}),Qo=ah.shape,L5=fe({harness:cr,sessionId:b().min(1).max(512),project:Cs.nullable(),title:b().min(1).max(200).optional(),models:re(Nr).max(16),firstAtMs:jt,lastAtMs:jt,...Qo});fe({range:Fe(sh),from:xs.nullable(),to:xs,filters:fe({harness:cr.nullable(),model:Nr.nullable(),unknownModel:ye(),project:Cs.nullable(),unknownProject:ye(),date:xs.nullable()}),reading:fe({complete:ye(),sources:jt,read:jt}),failures:re(fe({harness:cr,message:b().max(2048)})).max(256),options:fe({harnesses:re(cr).max(256),models:re(Nr.nullable()).max(4096),projects:re(Cs.nullable()).max(4096)}),modelLabels:re(fe({harness:cr,model:Nr,label:Nr})).max(4096).optional(),credits:re(fe({harness:cr,model:Nr.nullable(),credits:Se().finite().min(0),reportedRequests:jt,requests:jt})).max(4096).optional(),totals:ah,daily:re(fe({date:xs,harness:cr,...Qo})).max(2e5),hourly:re(fe({weekday:Se().int().min(0).max(6),hour:Se().int().min(0).max(23),...Qo})).max(168),byHarness:re(fe({harness:cr,...Qo})).max(256),byModel:re(fe({model:Nr.nullable(),...Qo,harnessPricedRequests:jt})).max(4096),byProject:re(fe({project:Cs.nullable(),...Qo})).max(4096),sessions:re(L5).max(100),recentSessions:re(L5).max(100).optional()});j({threadId:_t});j({discarded:ye()});const pO=Qt("type",[j({id:b().min(1),type:oe("choice"),prompt:b(),options:re(j({value:b().min(1),label:b(),description:b().optional()})).min(1),multiple:ye(),allowOther:ye(),optional:ye()}),j({id:b().min(1),type:oe("text"),prompt:b(),multiline:ye(),secret:oe(!1),optional:ye(),placeholder:b().optional(),prefill:b().optional()})]),mO=j({interactionId:b().min(1),turnId:b().min(1),title:b().optional(),questions:re(pO).min(1)}).refine(({questions:e})=>e.some(t=>t.type==="choice"&&t.multiple),{message:"Shared cards require at least one multi-select question"});fe({threadId:b().min(1)});j({questions:re(mO)});fe({threadId:b().min(1),turnId:b().min(1),interactionId:b().min(1),answers:qn(b(),re(b())),cancelled:ye().default(!1)});j({accepted:oe(!0)});const gO=j({path:b(),oldText:b().nullable(),newText:b()});j({sessionId:b().min(1),turn:Se().int().nonnegative(),path:b().min(1).optional()});j({diffs:re(gO)});fe({});fe({});const vO=j({sessionId:b().min(1),epoch:b().min(1),turn:Se().int().nonnegative(),seq:Se().int().nonnegative(),callId:b().min(1),part:Se().int().nonnegative(),version:b().min(1)});j({reference:vO,length:Se().int().nonnegative(),bytes:Se().int().nonnegative()});fe({title:b().trim().min(1).max(200),type:Fe(["info","warning","danger"]),body:b().trim().min(1).max(16*1024)});fe({});fe({url:b().max(2048).regex(/^http:\/\/(?:127\.0\.0\.1|localhost):\d{1,5}\/(?:\?.*)?$/u)});const wO=1,yO=Fe(["idle","running","busy","closing","failed","blocked"]),xO=Fe(["none","disabled","timeout","operation","background","identity","persistence","closeFailed"]);re(fe({threadId:b(),title:b(),harnessId:b(),state:yO,reason:xO,inactiveMs:Se().nonnegative()}));fe({threadId:_t,turnId:Us});const _O=j({amount:Se().finite().nonnegative(),currency:b().trim().min(1).max(8),label:b().trim().min(1).max(128).optional()}).strict(),lh=j({email:b().trim().min(1).max(320).optional(),label:b().trim().min(1).max(256).optional(),plan:b().trim().min(1).max(128).optional(),credits:n2.optional(),balance:_O.optional()}).strict();function ch(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 T5=ch(lh),s2={harnessId:Ot,harnessName:b().trim().min(1).max(128)},CO=j(s2).strict();j({}).strict();j({sources:re(CO).max(128)}).strict();j({harnessId:Ot,refresh:ye().optional()}).strict();j({...s2,account:T5.nullable(),accounts:re(T5).max(8).optional()}).strict();j({refresh:ye().optional()}).strict();j({accounts:re(ch(lh.extend(s2))).max(128)}).strict();const bO=128*1024,uh=128,a2=b().min(1).max(128).regex(/^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$/u).pipe(Ot),wi=a2.refine(e=>e!=="codex","The official Codex identity is reserved"),z5=b().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"),wa=F7().refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Plugin documentation links must be credential-free HTTPS URLs"),h0=j({en:b().max(4096),"zh-CN":b().max(4096).optional()}).strict(),kO=j({commands:re(j({terminal:b().max(256),command:b().max(4096)}).strict()).max(8),before:h0.optional(),after:h0.optional(),downloads:re(j({label:b().max(128),url:wa}).strict()).max(8).optional()}).strict(),dh={id:a2,name:b().trim().min(1).max(128),version:b().min(1).max(128),kind:oe("usage").optional(),iconStyle:j({vector:j({viewBox:b().max(128).regex(/^-?\d+(?:\.\d+)?(?: +-?\d+(?:\.\d+)?){3}$/u),color:b().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu),paths:re(j({d:b().min(1).max(32768).regex(/^[MmLlHhVvCcSsQqTtAaZz\d.,+eE\s-]+$/u),fillRule:Fe(["evenodd","nonzero"]).optional(),fill:b().regex(/^(?:currentColor|#[a-f0-9]{6})$/iu).optional()}).strict()).min(1).max(32)}).strict().optional(),background:b().regex(/^#[a-f0-9]{6}$/iu).optional(),borderRadius:Se().min(0).max(50).optional(),paddingRatio:Se().min(0).max(.25).optional()}).strict().optional(),installation:kO.optional(),notice:h0.optional(),launchCommand:oe(!0).optional(),links:j({website:wa.optional(),documentation:wa.optional(),installation:wa.optional()}).strict().optional()};j({manifestVersion:oe(1),...dh,adapterApiVersion:Se().int().positive(),entry:z5,icon:z5.optional()}).strict();const SO=b().max(Math.ceil(bO/3)*4+64).regex(/^data:image\/(?:png|jpeg|webp|svg\+xml);base64,[A-Za-z0-9+/]+={0,2}$/u),jO=j({...dh,icon:SO.optional()}).strict();j({}).strict();j({plugins:re(jO.extend({id:wi})).max(uh)}).strict();j({version:oe(1),enabled:re(a2).max(uh)}).strict().refine(e=>new Set(e.enabled).size===e.enabled.length,{message:"Enabled plugin IDs must be unique",path:["enabled"]});j({harnessId:wi,model:Un.optional(),thinkingOptionId:Gn.optional(),permissionModeId:mr.optional(),prewarm:oe(!0).optional()}).strict();const fh=b().trim().min(1).max(4096).refine(e=>!/[\u0000\r\n]/u.test(e),"Invalid entrypoint path"),EO=j({harnessId:wi}).strict();EO.extend({path:fh.nullable()});j({path:fh.nullable(),restartRequired:ye()}).strict();j({harnessId:Ot,action:Fe(["check","update","install"])}).strict();const MO=j({currentVersion:b().min(1).max(128),latestVersion:b().min(1).max(128),updateAvailable:ye(),canUpdate:ye(),versionKind:Fe(["cli","application"]).optional(),manualUpdateUrl:F7().max(2048).refine(e=>/^https:\/\/[^/?#@]+(?:[/?#]|$)/iu.test(e),"Manual updates require a credential-free HTTPS URL").optional(),message:b().max(2048).optional(),messageCode:b().min(1).max(128).optional(),notice:q7.optional(),latestVersionKind:Fe(["unknown","tracking-branch"]).optional()}).strict();j({taskId:b().uuid()}).strict();Qt("status",[j({taskId:b().uuid(),status:oe("running")}).strict(),j({taskId:b().uuid(),status:oe("succeeded"),result:MO}).strict(),j({taskId:b().uuid(),status:oe("failed"),error:j({code:Se().int(),message:b().min(1).max(2048)}).strict()}).strict()]);const ul=b().min(1).max(256).regex(/^[A-Za-z0-9._~-]+$/u),hh=b().trim().min(1),IO=Fe(["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"]),OO=j({accountId:ul,label:hh.max(256),email:b().email().max(320).optional(),planType:IO.optional()}).strict(),LO=Fe(["ready","unavailable"]);j({version:oe(2),currentAccountId:ul.nullable(),phase:LO,revision:Se().int().nonnegative(),instanceId:hh.max(1024).optional(),accounts:re(OO).max(1)}).strict();j({accountId:ul,refresh:ye().optional()}).strict();j({accountId:ul,usage:t2.nullable(),accountCredits:n2.optional(),freshness:Fe(["live","cached"]),observedAt:b().datetime().nullable()}).strict();const TO=1024,zO=16384,PO=4096,l2=1e3,NO=864e13,As=b().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),c2=As.max(TO),ph=j({nativeSessionId:c2,title:As.max(PO).nullable(),updatedAt:Se().int().nonnegative().max(NO),cwd:As.max(zO),running:ye().nullable()}).strict();j({}).strict();j({harnesses:re(j({harnessId:wi,name:As.max(128)}).strict()).max(128)}).strict();j({harnessId:wi,query:b().trim().max(4096).refine(e=>!e.includes("\0")).optional(),offset:Se().int().nonnegative().safe().optional(),limit:Se().int().min(1).max(l2).optional()}).strict();j({candidates:re(ph).max(l2),total:Se().int().nonnegative().safe()}).strict();j({harnessId:wi,nativeSessionId:c2}).strict();j({threadId:As.max(1024).pipe(_t)}).strict();const RO=l2,AO=1024,FO=b().refine(e=>e.trim().length>0,"Value must not be empty or whitespace").refine(e=>!e.includes("\0"),"Value must not contain NUL"),DO=c2,$O=ph;j({}).strict();j({candidates:re($O).max(RO)}).strict();j({nativeSessionId:DO}).strict();j({threadId:FO.max(AO).pipe(_t)}).strict();j({threadId:_t,lastTurnId:Us}).strict();j({threadId:_t}).strict();const mh=b().trim().min(1).max(128).regex(/^[A-Za-z0-9._:-]+$/u).brand(),HO=b().min(1).max(128),VO=b().trim().min(1).max(128),BO=b().trim().min(1).max(512),ZO=j({id:mh,invocation:HO,label:VO,description:BO.optional(),localizations:Zs.optional(),argumentMode:Fe(["none","text"]),kind:Fe(["command","skill"]).optional()}).strict();j({commands:re(ZO),warnings:re(b().min(1)).optional(),source:Fe(["live","static"]).optional()}).strict().superRefine((e,t)=>{const n=new Set;for(const[o,s]of e.commands.entries())n.has(s.id)&&t.addIssue({code:"custom",message:"Harness command IDs must be unique",path:["commands",o,"id"]}),n.add(s.id)});j({harnessId:Ot,cwd:b().min(1).optional()}).strict();j({threadId:_t}).strict();j({threadId:_t,commandId:mh,turnId:Us.optional(),arguments:W7.optional()}).strict();j({accepted:oe(!0),turnId:Us.optional()}).strict();const dl=oe("2.0").optional(),Ln=X0().optional(),gh=b().min(1),u2=Pn([b(),Se().int()]),WO=j({code:Se().int(),message:b(),data:yn.optional()}).catchall(yn).superRefine(Br(["data"])),UO=j({jsonrpc:dl,id:u2,method:gh,params:yn.optional(),result:Ln,error:Ln}).catchall(yn).superRefine(Br(["jsonrpc","params","result","error"])),qO=j({jsonrpc:dl,id:Ln,method:gh,params:yn.optional(),result:Ln,error:Ln}).catchall(yn).superRefine(Br(["jsonrpc","id","params","result","error"])),GO=j({jsonrpc:dl,id:u2,method:Ln,params:Ln,result:yn,error:Ln}).catchall(yn).superRefine(Br(["jsonrpc","method","params","error"])),KO=j({jsonrpc:dl,id:u2,method:Ln,params:Ln,result:Ln,error:WO}).catchall(yn).superRefine(Br(["jsonrpc","method","params","result"]));Pn([UO,qO,GO,KO]);const Fs=b().refine(e=>e.trim().length>0,{message:"Native identifier must not be empty or whitespace"});fe({harnessId:Ot,nativeSessionId:Fs,locator:yn.optional(),formatVersion:oe(1)}).superRefine(Br(["locator"]));fe({harnessId:Ot,nativeSessionId:Fs,nativeTurnKey:Fs,formatVersion:oe(1)});fe({harnessId:Ot,nativeSessionId:Fs,checkpointId:Fs,locator:yn.optional(),formatVersion:oe(1)}).superRefine(Br(["locator"]));const vh=500,YO=/^\d+\.\d+\.\d+(?:-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/u,p0=b().regex(YO),wh=Fe(["npm","windows-installer","macos-dmg"]),JO=Fe(["prepared","downloading","waiting-for-exit","installing","restarting","succeeded","failed"]),d2=fe({version:p0,installation:wh,phase:JO,updatedAt:Se().int().nonnegative(),downloadedBytes:Se().int().nonnegative().optional(),totalBytes:Se().int().positive().optional(),error:b().min(1).max(vh).nullable(),serviceStopOutput:b().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"})});fe({});const QO=b().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");fe({currentVersion:p0,installation:wh.nullable(),latestVersion:p0.nullable(),updateAvailable:ye(),installationAvailable:ye(),releaseNotes:b().min(1).max(2e4).nullable(),releaseNotesUrl:QO.nullable(),status:d2.nullable(),error:b().min(1).max(vh).nullable()});fe({status:d2});fe({status:d2.nullable()});const XO=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu;function eL(e){const t=[],n=new Set;return{text:e.replace(XO,(s,l,u)=>{const f=l.trim();return n.has(u)||(n.add(u),t.push({harnessId:u,label:f})),`@${f}`}),mentions:t}}const tL=Fe(["idle","installing","restarting","succeeded","failed"]);j({runningVersion:b().nullable(),installedVersion:b().nullable(),restartRequired:ye(),remote:ye(),updateSupported:ye(),update:j({phase:tL,targetVersion:b().nullable(),error:b().nullable()})});const nL=j({version:b().regex(/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/u)}).strict();j({hostname:b().min(1).max(1024).refine(e=>!e.startsWith("-")&&!/\s/u.test(e)),port:Se().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable(),action:Fe(["inspect","install","update","repair","uninstall"]),uninstallPackage:ye().optional(),version:b().regex(/^\d+\.\d+\.\d+$/u).nullable()}).strict();j({state:Fe(["installed","not-installed"])}).strict();const Xo=b().min(1).max(1024),P5=j({hostId:Xo,displayName:b().min(1).max(1024),source:Fe(["codex-managed","discovered"]),sshAlias:b().max(1024).nullable(),sshHost:b().min(1).max(1024),sshPort:Se().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable(),autoConnect:ye(),connectionAnalyticsId:b().max(1024).optional()}),rL=fe({displayName:b().min(1).max(1024),hostname:b().min(1).max(1024),sshPort:Se().int().min(1).max(65535).nullable(),identity:b().max(4096).nullable()});Qt("action",[fe({action:oe("list")}),fe({action:oe("read-thread"),hostId:Xo.refine(e=>e!=="local"),input:iO}),fe({action:oe("save"),draft:rL,previous:P5.nullable()}),fe({action:oe("remove"),previous:P5}),fe({action:oe("connect"),hostId:Xo,enabled:ye()}),fe({action:oe("state"),hostId:Xo}),fe({action:oe("runtime"),hostId:Xo}),fe({action:oe("update"),hostId:Xo.refine(e=>e!=="local"),version:nL.shape.version})]);Pn([fe({result:yn}),fe({error:fe({code:Se().int(),message:b()})})]);const fl=b().max(214).regex(/^(?:@[a-z0-9][a-z0-9._-]*\/)?[a-z0-9][a-z0-9._-]*$/u),N5=Pn([b(),j({en:b()}).catchall(b())]),oL=j({title:N5.optional(),description:N5.optional(),icon:b().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:b().optional()}),iL=j({id:fl,name:b().min(1).max(214),version:b().min(1).max(128),format:oe("dsh"),supportedTargets:YM([oe("web")]),enabledTargets:re(oe("web")).max(1),source:b().min(1).max(4096),projectUrl:b().max(4096).url({protocol:/^https?$/u}).optional(),installedAt:b(),meta:oL.optional(),loadError:b().optional()});j({extensions:re(iL),loadedIds:re(fl),safeMode:ye(),storeError:b().optional()});const sL=b().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}/`);j({spec:b().trim().min(1).max(4096),registry:sL.optional()}).strict();j({id:fl,enabled:ye()}).strict();j({id:fl}).strict();oe(wO);function yh({kind:e,size:t=16,className:n,strokeWidth:o,reference:s}){if(e==="session"&&s!==void 0){const{text:l,mentions:u}=eL(s),f=u[0];if(f&&u.length===1&&l===`@${f.label}`)return c.jsx(q8,{id:f.harnessId,src:`/harness-icons/${encodeURIComponent(f.harnessId)}`,presentationUrl:"/harness-icons/presentation.json",size:t,className:n,fallback:c.jsx(l8,{size:t,className:n})})}switch(e){case"session":return c.jsx(G6,{size:t,className:n,strokeWidth:o});case"file":return c.jsx(A0,{size:t,className:n,strokeWidth:o});case"folder":return c.jsx(el,{size:t,className:n,strokeWidth:o})}}function xh(e){return c.jsx(yh,{...e,strokeWidth:Y})}function aL(e){return c.jsx(yh,{...e,strokeWidth:J})}const lL="__DSH_CODE_ICON_INSTANCE__",cL=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">
132
+ <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"/>
133
+ <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"/>
134
+ <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"/>
135
+ <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"/>
136
+ </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 uL({type:e,size:t=20,className:n}){const o=`dsh-code-icon-${S.useId().replaceAll(":","")}`,s=cL[e].replaceAll(lL,o);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 dL=["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"],fL=new Set(dL),hL={".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"},pL=[["dockerfile.","docker"],[".env.","env"]],mL=[[".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"]],gL={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"},vL=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 wL(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function _h(e){return fL.has(e)}function yL(e){return vL.has(e.toLowerCase())}function xL(e,t,n){const o=hL[e];if(o!==void 0)return o;for(const[s,l]of pL)if(e.startsWith(s))return l;for(const[s,l]of mL)if(e.endsWith(s))return l;return t==="dart"&&n!==void 0&&Object.entries(n.files).find(([l])=>wL(l).toLowerCase()==="pubspec.yaml")?.[1]?.includes("flutter:")===!0?"flutter":gL[t]??null}const _L="_icon_1wejo_1",CL="_code_1wejo_8",bL="_excel_1wejo_12",kL="_folder_1wejo_16",SL="_html_1wejo_20",jL="_image_1wejo_24",EL="_markdown_1wejo_28",ML="_other_1wejo_32",IL="_pdf_1wejo_36",OL="_ppt_1wejo_40",LL="_video_1wejo_44",TL="_word_1wejo_48",R5={icon:_L,code:CL,excel:bL,folder:kL,html:SL,image:jL,markdown:EL,other:ML,pdf:IL,ppt:OL,video:LL,word:TL},zL={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"},PL={changelog:"markdown",contributing:"markdown",readme:"markdown"};function Ch(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function f2(e){const t=Ch(e),n=t.lastIndexOf(".");return n<0?"":t.slice(n+1)}function hl(e,t){const n=Ch(e).toLowerCase(),o=f2(n).toLowerCase();return xL(n,o,t)??PL[n]??zL[o]??"other"}const NL="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",A5="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",zu="translate(14 16) scale(1.12) translate(-14 -16)",da="translate(14 16) scale(1.22) translate(-14 -16)",RL="translate(14 13.0693) scale(1.12) translate(-14 -13.0693)";function Vn({size:e,className:t,children:n,markTransform:o,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:NL,fill:"currentColor"}),s?c.jsx("path",{d:A5,fill:"var(--dsw-static-neutral-400)"}):c.jsx("path",{d:A5,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:o,children:n})]})}function AL({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:RL,children:c.jsx("path",{d:"M6.31445 13.0693H21.6893",stroke:"currentColor",strokeWidth:"2.38"})})]})}function FL({size:e,className:t}){return c.jsx(Vn,{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 DL(e,t,n){switch(e){case"code":return c.jsxs(Vn,{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(FL,{size:t,className:n});case"folder":return c.jsx(AL,{size:t,className:n});case"html":return c.jsx(Vn,{size:t,className:n,markTransform:zu,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(Vn,{size:t,className:n,markTransform:zu,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(Vn,{size:t,className:n,markTransform:da,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(Vn,{size:t,className:n,muted:!0});case"pdf":return c.jsx(Vn,{size:t,className:n,markTransform:da,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(Vn,{size:t,className:n,markTransform:da,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(Vn,{size:t,className:n,markTransform:zu,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(Vn,{size:t,className:n,markTransform:da,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 $L(e)}}function $L(e){throw new Error(`unreachable traditional file type: ${String(e)}`)}function HL(e){const{size:t=28,className:n}=e,o="path"in e?hl(e.path,e.context):e.kind;return _h(o)?c.jsx(uL,{type:o,size:t,className:n}):DL(o,t,pe(R5.icon,R5[o],n))}const We='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',Ue='</title><path d="',qe='"/></svg>',VL={title:"AliExpress",slug:"aliexpress",get svg(){return We+"AliExpress"+Ue+this.path+qe},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"},BL={title:"Apple",slug:"apple",get svg(){return We+"Apple"+Ue+this.path+qe},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"},ZL={title:"Baidu",slug:"baidu",get svg(){return We+"Baidu"+Ue+this.path+qe},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"},WL={title:"Bilibili",slug:"bilibili",get svg(){return We+"Bilibili"+Ue+this.path+qe},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"},UL={title:"CSDN",slug:"csdn",get svg(){return We+"CSDN"+Ue+this.path+qe},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"},qL={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return We+"DuckDuckGo"+Ue+this.path+qe},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"},GL={title:"eBay",slug:"ebay",get svg(){return We+"eBay"+Ue+this.path+qe},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"},KL={title:"Facebook",slug:"facebook",get svg(){return We+"Facebook"+Ue+this.path+qe},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"},Pu={title:"GitHub",slug:"github",get svg(){return We+"GitHub"+Ue+this.path+qe},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"},YL={title:"GitLab",slug:"gitlab",get svg(){return We+"GitLab"+Ue+this.path+qe},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/"},JL={title:"Google",slug:"google",get svg(){return We+"Google"+Ue+this.path+qe},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/"},QL={title:"Instagram",slug:"instagram",get svg(){return We+"Instagram"+Ue+this.path+qe},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"},XL={title:"Juejin",slug:"juejin",get svg(){return We+"Juejin"+Ue+this.path+qe},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"},eT={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return We+"MDN Web Docs"+Ue+this.path+qe},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"},tT={title:"Netflix",slug:"netflix",get svg(){return We+"Netflix"+Ue+this.path+qe},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"},nT={title:"npm",slug:"npm",get svg(){return We+"npm"+Ue+this.path+qe},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"},rT={title:"PyPI",slug:"pypi",get svg(){return We+"PyPI"+Ue+this.path+qe},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"},oT={title:"QQ",slug:"qq",get svg(){return We+"QQ"+Ue+this.path+qe},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"},iT={title:"Quora",slug:"quora",get svg(){return We+"Quora"+Ue+this.path+qe},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"},sT={title:"Reddit",slug:"reddit",get svg(){return We+"Reddit"+Ue+this.path+qe},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"},aT={title:"Sina Weibo",slug:"sinaweibo",get svg(){return We+"Sina Weibo"+Ue+this.path+qe},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"},lT={title:"Spotify",slug:"spotify",get svg(){return We+"Spotify"+Ue+this.path+qe},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"},cT={title:"Stack Overflow",slug:"stackoverflow",get svg(){return We+"Stack Overflow"+Ue+this.path+qe},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"},uT={title:"Taobao",slug:"taobao",get svg(){return We+"Taobao"+Ue+this.path+qe},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"},F5={title:"Telegram",slug:"telegram",get svg(){return We+"Telegram"+Ue+this.path+qe},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"},dT={title:"TikTok",slug:"tiktok",get svg(){return We+"TikTok"+Ue+this.path+qe},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"},fT={title:"V2EX",slug:"v2ex",get svg(){return We+"V2EX"+Ue+this.path+qe},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"},hT={title:"WeChat",slug:"wechat",get svg(){return We+"WeChat"+Ue+this.path+qe},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"},D5={title:"WhatsApp",slug:"whatsapp",get svg(){return We+"WhatsApp"+Ue+this.path+qe},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"},pT={title:"Wikipedia",slug:"wikipedia",get svg(){return We+"Wikipedia"+Ue+this.path+qe},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"},$5={title:"X",slug:"x",get svg(){return We+"X"+Ue+this.path+qe},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"},mT={title:"Y Combinator",slug:"ycombinator",get svg(){return We+"Y Combinator"+Ue+this.path+qe},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"},H5={title:"YouTube",slug:"youtube",get svg(){return We+"YouTube"+Ue+this.path+qe},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"},gT={title:"Zhihu",slug:"zhihu",get svg(){return We+"Zhihu"+Ue+this.path+qe},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"},vT={"github.com":Pu,"github.io":Pu,"raw.githubusercontent.com":Pu,"gitlab.com":YL,"npmjs.com":nT,"pypi.org":rT,"stackoverflow.com":cT,"developer.mozilla.org":eT,"wikipedia.org":pT,"news.ycombinator.com":mT,"youtube.com":H5,"youtu.be":H5,"x.com":$5,"twitter.com":$5,"bilibili.com":WL,"zhihu.com":gT,"juejin.cn":XL,"csdn.net":UL,"google.com":JL,"baidu.com":ZL,"duckduckgo.com":qL,"tiktok.com":dT,"netflix.com":tT,"spotify.com":lT,"facebook.com":KL,"instagram.com":QL,"reddit.com":sT,"telegram.org":F5,"t.me":F5,"weixin.qq.com":hT,"qq.com":oT,"whatsapp.com":D5,"wa.me":D5,"weibo.com":aT,"taobao.com":uT,"aliexpress.com":VL,"ebay.com":GL,"quora.com":iT,"v2ex.com":fT,"apple.com":BL};function wT(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,o=0;for(const[s,l]of Object.entries(vT))(t===s||t.endsWith(`.${s}`))&&s.length>o&&(n=l,o=s.length);return n}function yT({href:e,size:t,className:n}){const o=e===void 0?void 0:wT(e);if(o!==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:o.path,fill:"currentColor"})})}function Na(e){const t=hl(e),n=f2(e);if(_h(t))return yL(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 bh(t)}}const xT=({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"})]}),_T=({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"})]}),CT=({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 bh(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function kh({kind:e,href:t,size:n=14,className:o,strokeWidth:s}){switch(e){case"url":return yT({href:t,size:n,className:o})??c.jsx(N0,{size:n,className:o,strokeWidth:s});case"folder":return c.jsx(el,{size:n,className:o,strokeWidth:s});case"code":return c.jsx(R0,{size:n,className:o,strokeWidth:s});case"image":return c.jsx(xT,{size:n,className:o,strokeWidth:s});case"document":return c.jsx(_T,{size:n,className:o,strokeWidth:s});case"other":return c.jsx(CT,{size:n,className:o,strokeWidth:s});default:return bh(e)}}function bT(e){return c.jsx(kh,{...e,strokeWidth:Y})}function qs(e){return c.jsx(kh,{...e,strokeWidth:J})}const kT="_plainRun_1e1vv_6",ST="_refChip_1e1vv_11",jT="_slashChip_1e1vv_30",ET="_refIcon_1e1vv_39",hs={plainRun:kT,refChip:ST,slashChip:jT,refIcon:ET},MT="_markdown_146sv_5",IT="_fileLink_146sv_59",OT="_fileMention_146sv_85",LT="_linkIcon_146sv_94",TT="_tableScroll_146sv_192",zT="_tableFill_146sv_247",PT="_imageAlt_146sv_295",NT="_image_146sv_295",RT="_compact_146sv_339",AT="_imageButton_146sv_454",FT="_previewName_146sv_473",At={markdown:MT,fileLink:IT,fileMention:OT,linkIcon:LT,tableScroll:TT,tableFill:zT,imageAlt:PT,image:NT,compact:RT,imageButton:AT,previewName:FT},V5=/@\[([^\]\n]+)\]\(dsh-session:[^)\s]+\)/gu,DT=/\[@((?:\\.|[^\\\]\r\n])+)\]\((thread:\/\/[^/?#()\s<>]+\?hostId=[^&#()\s<>]+)\)/gu,$T=/\[@([^\]\n]+)\]\(<?subagent:\/\/codexhost\.([a-z0-9][a-z0-9-]*)>?\)/gu,HT=/[.,;:!?,。;:!?]+$/u;function VT(e,t,n=[],o="skill",s){const l=[];for(const _ of e.matchAll($T))l.push({start:_.index,end:_.index+_[0].length,label:_[0],kind:"harness",display:_[1].trim()});for(const _ of e.matchAll(DT))l.push({start:_.index,end:_.index+_[0].length,label:_[0],kind:"session",display:_[1].replace(/\\([\\`*{}[\]()#+.!_<>|~-])/gu,"$1")});V5.lastIndex=0;let u;for(;(u=V5.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 f=/(^|\s)(\/[\w-]+(?=\s|$)|@"[^"\n]+"|@[^\s]+)/gu;let p;for(;(p=f.exec(e))!==null;){const _=p.index+p[1].length,C=p[2],I=C.startsWith('@"')?C:C.replace(HT,"");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 v=[];let w=0;const y=(_,C)=>{v.push(c.jsx("span",{className:hs.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&&y(w,C);const L=N==="harness"?"harness":N==="session"?"session":M.startsWith("@")?M.replace(/^@"|"$/gu,"").endsWith("/")?"folder":"file":void 0,$=_.display??(L===void 0?M:L==="session"?M.slice(1):M.slice(1).replace(/^"|"$/gu,"").split(/[\\/]/u).filter(Boolean).at(-1)??M.slice(1)),A=c.jsxs(c.Fragment,{children:[L!==void 0&&c.jsx(xh,{kind:L==="harness"?"session":L,reference:M,size:16,className:hs.refIcon}),$]}),W=s===void 0?void 0:L==="file"?()=>{s.openFile(M.slice(1).replace(/^"|"$/gu,""))}:L===void 0&&o==="skill"?()=>{s.openSkill(M.slice(1))}:void 0,B=pe(hs.refChip,L===void 0&&hs.slashChip);v.push(W===void 0?c.jsx("span",{className:B,"data-ref-chip":L??o,title:M,children:A},C):c.jsx("button",{type:"button",className:pe(B,At.fileMention),"data-ref-chip":L??o,title:M,onClick:K=>{K.detail>1||K.detail!==0&&K.currentTarget.ownerDocument.getSelection()?.isCollapsed===!1||W()},children:A},C)),w=I}return v.length===0?c.jsx("span",{className:hs.plainRun,children:e}):(w<e.length&&y(w,e.length),c.jsx(c.Fragment,{children:v}))}const BT="_toast_l6cvn_6",ZT="_icon_l6cvn_40",WT="_success_l6cvn_47",UT="_text_l6cvn_51",qT="_action_l6cvn_55",Ko={toast:BT,icon:ZT,success:WT,text:UT,action:qT},GT=3e3,KT=1e3;function YT({text:e,icon:t,tone:n,anchor:o,holdMs:s=GT,actions:l,onDone:u}){const f=S.useRef(u);S.useLayoutEffect(()=>{f.current=u},[u]),S.useEffect(()=>{const v=setTimeout(()=>{f.current()},s+KT);return()=>{clearTimeout(v)}},[s]);const[p,m]=S.useState(null);return S.useLayoutEffect(()=>{if(o==null)return;const v=()=>{const w=o.getBoundingClientRect();m(w.left+w.width/2)};return v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[o]),zn.createPortal(c.jsxs("div",{className:Ko.toast,role:"alert",style:{...p===null?{}:{left:p},"--dsh-toast-hold":`${String(s)}ms`},children:[n==="success"?c.jsx("span",{className:`${Ko.icon} ${Ko.success}`,"aria-hidden":!0,children:c.jsx(N8,{})}):t!==void 0&&c.jsx("span",{className:Ko.icon,"aria-hidden":!0,children:t}),c.jsxs("span",{className:Ko.text,children:[e,l?.map(v=>c.jsxs(S.Fragment,{children:[v.prefix,c.jsx("button",{type:"button",className:Ko.action,onClick:v.onClick,children:v.label})]},v.label))]})]}),document.body)}const JT=1e3;function QT(e){const[t,n]=S.useState(!1);return S.useEffect(()=>{if(!e)return;const o=setTimeout(()=>n(!0),JT);return()=>{clearTimeout(o),n(!1)}},[e]),e&&t}function XT(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 o=n/1024;return`${o<10?o.toFixed(1):Math.round(o)}GB`}const ez="_form_1lxj9_3",tz="_readOnly_1lxj9_8",nz="_unavailable_1lxj9_9",rz="_footer_1lxj9_16",oz="_failed_1lxj9_23",iz="_save_1lxj9_32",Yo={form:ez,readOnly:tz,unavailable:nz,footer:rz,failed:oz,save:iz};function sz(e){const{state:t,labels:n}=e,o=S.useRef(e.onDiscard);if(o.current=e.onDiscard,S.useEffect(()=>()=>{o.current()},[]),!t.available)return c.jsx("p",{className:Yo.unavailable,role:"status",children:n.unavailable});const s=!t.dirty||t.invalid||t.saving;return c.jsxs("div",{className:Yo.form,children:[t.writable?null:c.jsx("p",{className:Yo.readOnly,role:"status",children:n.readOnly}),e.children,c.jsxs("div",{className:Yo.footer,children:[t.failed?c.jsx("p",{className:Yo.failed,role:"status",children:n.saveFailed}):null,c.jsx("button",{type:"button",className:Yo.save,disabled:s,onClick:e.onSave,children:t.saving?n.saving:n.save})]})]})}const az="_field_gjqax_3",lz="_head_gjqax_14",cz="_label_gjqax_20",uz="_labelGroup_gjqax_29",dz="_helpButton_gjqax_41",fz="_help_gjqax_41",hz="_badges_gjqax_83",pz="_reset_gjqax_89",mz="_input_gjqax_108",gz="_invalid_gjqax_134",vz="_hint_gjqax_141",It={field:az,head:lz,label:cz,labelGroup:uz,helpButton:dz,help:fz,badges:hz,reset:pz,input:mz,invalid:gz,hint:vz};function wz(e){const[t,n]=S.useState(!1),o=`${e.id}-help`,s=`${e.id}-message`,l=e.invalid||!!e.hint,u=[l?s:"",t?o:""].filter(Boolean).join(" ");return c.jsxs("div",{className:It.field,children:[c.jsxs("div",{className:It.head,children:[c.jsxs("div",{className:It.labelGroup,children:[c.jsx("label",{className:It.label,htmlFor:e.id,children:e.label}),e.help!==void 0?c.jsx("button",{type:"button",className:It.helpButton,"aria-label":e.help.label,"aria-expanded":t,"aria-controls":o,onClick:()=>{n(!t)},children:c.jsx(x8,{size:12})}):null]}),e.overridden?c.jsxs("span",{className:It.badges,children:[c.jsx(V0,{tone:"neutral",children:e.overriddenLabel}),c.jsx("button",{type:"button",className:It.reset,disabled:e.disabled,onClick:e.onReset,children:e.resetLabel})]}):null]}),c.jsx("input",{id:e.id,className:It.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:f=>{e.onEdit(f.target.value)}}),l?c.jsx("p",{id:s,className:e.invalid?It.invalid:It.hint,children:e.invalid?e.invalidLabel:e.hint}):null,e.help!==void 0&&t?c.jsx("div",{id:o,className:It.help,role:"region","aria-label":e.help.label,children:e.help.content}):null]})}function yz(e){return c.jsxs("div",{className:It.field,children:[c.jsxs("div",{className:It.head,children:[c.jsx("label",{className:It.label,htmlFor:e.id,children:e.label}),c.jsx("span",{className:It.badges,children:c.jsx(V0,{tone:e.configured?"neutral":"quiet",children:e.stateLabel})})]}),c.jsx("input",{id:e.id,className:It.input,type:"password",autoComplete:"new-password",value:e.text,disabled:e.disabled,onChange:t=>{e.onEdit(t.target.value)}}),c.jsx("p",{className:It.hint,children:e.hint})]})}function xz(e){return{field:e,format:t=>typeof t=="number"?String(t):"",parse:t=>{const n=t.trim();if(n==="")return{kind:"clear"};const o=Number(n);return Number.isFinite(o)?{kind:"set",value:o}:void 0}}}function _z(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 Cz{constructor(t,n,o=[]){this.scope=t,this.specs=new Map(n.map(s=>[s.field,s])),this.secretSpecs=new Map(o.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=Qa(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(o=>o.run===void 0&&o.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 o=this.spec(t);if(n===void 0)return{text:o.format(this.sectionValue(t)),overridden:this.stored(t),invalid:!1};const s=n.clear?{kind:"clear"}:o.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 o=!n.length||await this.scope.mutate(n,this.baseline?.revision);if(!o){this.failed=!0;return}for(const s of t)s.run&&(o=await s.run()&&o);o&&(this.staged.clear(),this.baseline=void 0),this.failed=!o}catch{this.failed=!0}finally{this.saving=!1,this.publish()}}}dispose(){this.unsubscribe(),this.listeners.clear()}plan(){const t=[];for(const[n,o]of this.staged){const s=this.secretSpecs.get(n);if(s!==void 0){const f=o.text.trim();f!==""&&t.push({field:n,run:()=>s.write(f)});continue}const l=this.spec(n);if(o.clear){this.stored(n)&&t.push({field:n,op:{op:"unset",path:[n]}});continue}if(o.text===l.format(this.sectionValue(n)))continue;const u=l.parse(o.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 bz="modulepreload",kz=function(e,t){return new URL(e,t).href},B5={},je=function(t,n,o){let s=Promise.resolve();if(n&&n.length>0){let u=function(v){return Promise.all(v.map(w=>Promise.resolve(w).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const f=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");s=u(n.map(v=>{if(v=kz(v,o),v in B5)return;B5[v]=!0;const w=v.endsWith(".css"),y=w?'[rel="stylesheet"]':"";if(!!o)for(let I=f.length-1;I>=0;I--){const M=f[I];if(M.href===v&&(!w||M.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${v}"]${y}`))return;const C=document.createElement("link");if(C.rel=w?"stylesheet":bz,w||(C.as="script"),C.crossOrigin="",C.href=v,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 ${v}`)))})}))}function l(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return s.then(u=>{for(const f of u||[])f.status==="rejected"&&l(f.reason);return t().catch(l)})},Sz=[dg,fg,hg],jz=new Map([["python",()=>je(()=>import("./langs/python-B6aJPvgy.js"),[],import.meta.url)],["ruby",()=>je(()=>import("./langs/ruby-VKVsnS0H.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-DJ5ovfAM.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-DmoDEjMt.js"),__vite__mapDeps([16,8,9,4,5,7,2]),import.meta.url)],["rst",()=>je(()=>import("./langs/rst-U5-R5x3p.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-B8vkg11W.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-z6Y-lzP-.js"),__vite__mapDeps([29,3,2,8,9,1,18]),import.meta.url)],["svelte",()=>je(()=>import("./langs/svelte-C20lOv9V.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)]]),Ez=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 pl(e){return e===void 0?void 0:Ez.get(e.toLowerCase())}function Sh(e){return pl(e)!==void 0}const Mz=ag({name:"css-variables",variablePrefix:"--shiki-",fontStyle:!0}),Iz=lg({forgiving:!0,regexConstructor:e=>ug(e,{lazyCompileLength:Number.POSITIVE_INFINITY})});let Z5;const Oz=[{lang:"typescript",code:"const answer: number = 42"},{lang:"shellscript",code:`printf '%s\\n' "$HOME"`},{lang:"json",code:'{"ready":true}'}];function Lz(){const e=cg({themes:[Mz],langs:Sz,engine:Iz});for(const t of Oz)e.codeToTokens(t.code,{lang:t.lang,theme:"css-variables",tokenizeTimeLimit:0});return e}function vo(){return Z5??=Lz(),Z5}const W5=new Set,m0=new Set;let jh=0;function h2(e){return m0.add(e),()=>{m0.delete(e)}}function pi(){return jh}function p2(e){const t=jz.get(e);return t===void 0||vo().getLoadedLanguages().includes(e)?!0:(W5.has(e)||(W5.add(e),t().then(n=>{vo().loadLanguageSync(n.default),jh+=1;for(const o of m0)o()})),!1)}const Tz=setTimeout(()=>{vo()},0);Tz.unref?.();function zz(e,t){const n=pl(t);if(n!==void 0&&p2(n))return vo().codeToHtml(e,{lang:n,theme:"css-variables"})}const Pz=[[4,"underline"],[8,"line-through"]];function Nz(e){const t={color:e.color},n=e.fontStyle??0;(n&1)!==0&&(t.fontStyle="italic"),(n&2)!==0&&(t.fontWeight="bold");const o=Pz.filter(([s])=>(n&s)!==0);return o.length>0&&(t.textDecoration=o.map(([,s])=>s).join(" ")),t}function U5(e){const t=[];let n="";for(const[o,s]of e.entries()){if(/^\s+$/.test(s.content)&&o+1<e.length){n+=s.content;continue}t.push({text:n+s.content,style:Nz(s)}),n=""}return t}class Rz{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 vo().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 o=pl(n);if(o===void 0||!p2(o)){this.reset(void 0);return}(o!==this.resolved||!t.startsWith(this.prefix))&&this.reset(o);const s=this.spans.length,l=t.slice(this.prefix.length),u=l.lastIndexOf(`
137
+ `);if(u>=0){const f=l[u-1]==="\r"?u-1:u,p=this.tokenize(o,l.slice(0,f));for(const m of p)this.spans.push(U5(m));this.state=vo().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(o,l.slice(u+1)).map(U5)},this.lastFrame}update(t,n){if(t===this.lastCode&&n===this.lastLang&&this.lastResult!==void 0)return this.lastResult;const o=this.updateFrame(t,n);if(o!==void 0)return this.lastResult=[...this.spans,...o.tail],this.lastResult}}function Eh(e,t){const n=pl(t);if(n===void 0||!p2(n))return;const{tokens:o}=vo().codeToTokens(e,{lang:n,theme:"css-variables"}),s=o[o.length-1];return(o.length>1&&s!==void 0&&s.length===0?o.slice(0,-1):o).map(u=>u.map(f=>({text:f.content,style:{color:f.color}})))}const Az={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"]},Mh=new Map(Object.entries(Az).flatMap(([e,t])=>t.map(n=>[n,e]))),Fz=[...Mh.keys()];function Dz(e){const t=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),n=e.slice(t+1),o=n.lastIndexOf(".");return o<0?void 0:n.slice(o+1).toLowerCase()}function g0(e){const t=Dz(e);return t===void 0?void 0:Mh.get(t)}function $z(e){const t=S.useSyncExternalStore(h2,pi,pi);return S.useCallback(n=>Eh(n,e),[e,t])}function Hz(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 q5(e,t){return t===0||e.charAt(t-1)==="-"||e.charAt(t-1)==="_"?8:0}function Vz(e,t){if(t.length>e.length)return;const n=Number.NEGATIVE_INFINITY;let o=Array(e.length).fill(n);for(let l=0;l<e.length;l++)e.charAt(l)===t.charAt(0)&&(o[l]=1+q5(e,l)-l);for(let l=1;l<t.length;l++){const u=Array(e.length).fill(n);let f=n,p=n,m=n;for(const[v,w]of o.entries()){if(p!==n&&(m=Math.max(m,p+v-2)),e.charAt(v)===t.charAt(l)){const y=1+q5(e,v);let _=n;f!==n&&(_=f+y+4),m!==n&&(_=Math.max(_,m+y+1-v)),u[v]=_}p=f,f=w}o=u}let s=n;for(const l of o)s=Math.max(s,l);return s===n?void 0:s}function Bz(e,t){const n=t.toLowerCase();if(n==="")return e;const o=[];return e.forEach((s,l)=>{const u=s.label===void 0?[s.name]:[s.name,s.label];let f=!1,p;for(const m of u){const v=m.toLowerCase(),w=Vz(v,n);w!==void 0&&(f||=v.startsWith(n),p=p===void 0?w:Math.max(p,w))}p!==void 0&&o.push({item:s,index:l,prefix:f,score:p})}),o.sort((s,l)=>Number(l.prefix)-Number(s.prefix)||l.score-s.score||s.index-l.index),o.map(s=>s.item)}function Zz(){return document.documentElement.dataset.platform==="darwin"}const Wz="_root_m1m7t_1",Uz="_container_m1m7t_30",qz="_expandedTopLevel_m1m7t_39",Gz="_topLevelBracket_m1m7t_46",Kz="_expandedTopLevelContainer_m1m7t_51",Yz="_row_m1m7t_55",Jz="_children_m1m7t_60",Qz="_expander_m1m7t_80",Xz="_copySlot_m1m7t_92",eP="_label_m1m7t_97",tP="_clickableLabel_m1m7t_103",nP="_stringValue_m1m7t_107",rP="_stringField_m1m7t_111",oP="_stringText_m1m7t_117",iP="_stringRaw_m1m7t_126",sP="_stringActions_m1m7t_136",aP="_stringToggleSlot_m1m7t_159",lP="_stringToggle_m1m7t_159",cP="_summary_m1m7t_198",uP="_numberValue_m1m7t_205",dP="_keywordValue_m1m7t_209",fP="_otherValue_m1m7t_213",hP="_punctuation_m1m7t_217",pP="_preview_m1m7t_221",mP="_previewProperty_m1m7t_225",gP="_previewEllipsis_m1m7t_229",vP="_actionButton_m1m7t_264",wP="_collapseIcon_m1m7t_325",we={root:Wz,container:Uz,expandedTopLevel:qz,topLevelBracket:Gz,expandedTopLevelContainer:Kz,row:Yz,children:Jz,expander:Qz,copySlot:Xz,label:eP,clickableLabel:tP,stringValue:nP,stringField:rP,stringText:oP,stringRaw:iP,stringActions:sP,stringToggleSlot:aP,stringToggle:lP,summary:cP,numberValue:uP,keywordValue:dP,otherValue:fP,punctuation:hP,preview:pP,previewProperty:mP,previewEllipsis:gP,actionButton:vP,collapseIcon:wP},yP=4,xP=5,G5=2;function _P(e){return[{id:"value",label:e.copyValue},{id:"json",label:e.copyJson},{id:"path",label:e.copyPath}]}function CP(e){return[{id:"prettyJson",label:e.copyPrettyJson},{id:"json",label:e.copyCompactJson},{id:"path",label:e.copyPath}]}function bP(){let e;const t=new Map;return{get:()=>e,set(n){const o=e?.id;e=n;for(const s of new Set([o,n?.id]))if(s!==void 0)for(const l of t.get(s)??[])l()},subscribe(n,o){let s=t.get(n);return s===void 0&&t.set(n,s=new Set),s.add(o),()=>{s.delete(o),s.size===0&&t.delete(n)}}}}function kP({store:e,target:t,persistent:n,labels:o,onCopy:s,onClose:l}){const u=ri(t.path),f=S.useCallback(C=>e.subscribe(u,C),[u,e]),p=()=>{const C=e.get();return C?.id===u?C:void 0},m=S.useSyncExternalStore(f,p,p),v=S.useRef(null),w=m?.state??"idle",y=typeof t.value=="object"&&t.value!==null,_=w==="copied"?o.copied:w==="failed"?o.copyFailed:y?o.copyPrettyJson:o.copyValue;return c.jsx("span",{className:we.copySlot,children:(n||m!==void 0)&&c.jsx(e7,{open:m?.menuOpen===!0,compact:!0,portal:!0,align:"end",anchor:c.jsx("button",{ref:v,type:"button",className:we.actionButton,"data-json-copy-button":!0,"data-state":w,"aria-label":_,title:o.copyButtonTitle(_),onClick:()=>void s(t,y?"prettyJson":"value"),onContextMenu:C=>{C.preventDefault(),C.stopPropagation(),e.set({id:u,target:t,state:w,menuOpen:!0})},children:w==="copied"?c.jsx(mi,{size:12}):c.jsx(F0,{size:12})}),items:y?CP(o):_P(o),onSelect:C=>{s(t,C)},onClose:l,getAnchorRect:()=>v.current.getBoundingClientRect()})})}function Ra(e){return typeof e=="object"&&e!==null&&!(e instanceof Date)}function Aa(e){return Array.isArray(e)?e.map((t,n)=>[String(n),t]):Object.keys(e).map(t=>[t,e[t]])}function m2(e){return Array.isArray(e)?["[","]"]:["{","}"]}function SP(e){return e===null?c.jsx("span",{className:we.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:we.stringValue,children:JSON.stringify(e)}):typeof e=="number"?c.jsx("span",{className:we.numberValue,children:String(e)}):typeof e=="boolean"?c.jsx("span",{className:we.keywordValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:we.otherValue,children:e.toString()}):typeof e>"u"?c.jsx("span",{className:we.otherValue,children:"undefined"}):typeof e=="symbol"?c.jsx("span",{className:we.otherValue,children:e.description??"Symbol"}):typeof e=="function"?c.jsx("span",{className:we.otherValue,children:e.name||"Function"}):null}function Ih(e,t){if(!Ra(e))return SP(e);const n=Array.isArray(e),o=Aa(e),s=n?xP:yP,l=o.slice(0,s),[u,f]=m2(e);return c.jsxs(c.Fragment,{children:[c.jsx("span",{className:we.punctuation,children:u}),t>=G5?c.jsx("span",{className:we.previewEllipsis,children:"…"}):l.map(([p,m],v)=>c.jsxs("span",{children:[v>0&&c.jsx("span",{className:we.punctuation,children:", "}),!n&&c.jsxs(c.Fragment,{children:[c.jsx("span",{className:we.previewProperty,children:p}),c.jsx("span",{className:we.punctuation,children:": "})]}),Ih(m,t+1)]},p)),t<G5&&o.length>s&&c.jsx("span",{className:we.previewEllipsis,children:", …"}),c.jsx("span",{className:we.punctuation,children:f})]})}function Oh(e){return e===null?c.jsx("span",{className:we.keywordValue,children:"null"}):typeof e=="string"?c.jsx("span",{className:we.stringValue,children:JSON.stringify(e)}):typeof e=="boolean"?c.jsx("span",{className:we.keywordValue,children:String(e)}):typeof e=="number"?c.jsx("span",{className:we.numberValue,children:String(e)}):typeof e=="bigint"?c.jsx("span",{className:we.numberValue,children:`${e.toString()}n`}):e instanceof Date?c.jsx("span",{className:we.otherValue,children:e.toISOString()}):typeof e=="function"?c.jsxs("span",{className:we.otherValue,children:["function() ","{ }"]}):typeof e>"u"?c.jsx("span",{className:we.otherValue,children:"undefined"}):c.jsx("span",{className:we.otherValue,children:e.toString()})}function v0(e){return e===""?'""':e}function ri(e){return e.map(t=>typeof t=="number"?`n${String(t)}`:`s${String(t.length)}:${t}`).join("/")}function Lh(e){e.focus()}function jP(e,t){const n=e.closest('[role="tree"]');if(n===null)return;const o=Array.from(n.querySelectorAll("[data-json-expander]")),s=o.indexOf(e);if(s<0||o.length===0)return;const l=(s+t+o.length)%o.length,u=o[l];u!==void 0&&Lh(u)}function Nu({field:e,expandable:t,onToggle:n}){return e===void 0?null:c.jsxs("span",{className:pe(we.label,t&&we.clickableLabel),onClick:t?n:void 0,children:[v0(e),":"]})}function EP({collapsedStringLines:e,stringWrapping:t,field:n,labels:o,lastElement:s,renderCopy:l,value:u}){const f=S.useId(),p=S.useRef(null),m=S.useRef(null),[v,w]=S.useState(!1),[y,_]=S.useState(!1),[C,I]=S.useState(!1);if(S.useLayoutEffect(()=>{if(v)return;const M=p.current,N=()=>{const $=Number.parseFloat(getComputedStyle(M).lineHeight);I(M.scrollHeight>$*e)};if(N(),typeof ResizeObserver>"u")return;const L=new ResizeObserver(N);return L.observe(M),()=>{L.disconnect()}},[e,v,n,s,u]),S.useLayoutEffect(()=>{if(!v)return;const M=m.current,N=[],L=M.closest(`.${we.root}`);for(let W=L.parentElement;W!==null;W=W.parentElement)/auto|scroll|hidden|clip/.test(getComputedStyle(W).overflowY)&&N.push(W);const $=()=>{let W=0,B=window.innerHeight;for(const H of N){const ee=H.getBoundingClientRect(),Z=getComputedStyle(H);W=Math.max(W,ee.top+H.clientTop),B=Math.min(B,ee.top+H.clientTop+H.clientHeight-Number.parseFloat(Z.paddingBottom))}const K=B-Math.max(W,M.getBoundingClientRect().top);M.style.maxHeight=`${Math.max(16,K-4)}px`};$();const A=typeof ResizeObserver>"u"?void 0:new ResizeObserver($);A?.observe(M);for(const W of N)A?.observe(W);return window.addEventListener("resize",$),window.addEventListener("scroll",$,!0),()=>{A?.disconnect(),window.removeEventListener("resize",$),window.removeEventListener("scroll",$,!0)}},[v,u]),v){const M=`${f}-field`;return c.jsxs("div",{className:we.stringField,"data-expanded":!0,children:[n!==void 0&&c.jsxs("span",{id:M,className:we.label,children:[v0(n),":"]}),c.jsx("pre",{ref:m,id:f,className:we.stringRaw,"data-wrap":y,tabIndex:0,"aria-labelledby":n===void 0?void 0:M,children:u}),!s&&c.jsx("span",{className:we.punctuation,children:","}),c.jsxs("div",{className:we.stringActions,children:[t!==void 0&&c.jsx("button",{type:"button",className:we.actionButton,"aria-label":t.label,title:t.label,"aria-pressed":y,"aria-controls":f,onClick:()=>{const N=!y;_(N),t.setDefault(N)},children:c.jsx(S8,{size:12})}),c.jsx("button",{type:"button",className:we.actionButton,"aria-label":o.collapseNode,title:o.collapseNode,"aria-expanded":!0,"aria-controls":f,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:we.stringField,"data-expanded":v,children:c.jsxs("span",{ref:p,id:f,className:we.stringText,children:[C&&c.jsx("span",{className:we.stringToggleSlot,children:c.jsxs("button",{type:"button",className:we.stringToggle,"aria-label":o.expandNode,"aria-expanded":!1,"aria-controls":f,onClick:()=>{_(t?.getDefault()??!1),w(!0)},children:[c.jsx("span",{"aria-hidden":"true",children:"…"}),o.expandNode]})}),n!==void 0&&c.jsxs("span",{className:we.label,children:[v0(n),":"]}),Oh(u),!s&&c.jsx("span",{className:we.punctuation,children:","})]})})]})}function w0({collapsedStringLines:e,stringWrapping:t,field:n,initialExpanded:o,labels:s,lastElement:l,onClaimTabStop:u,onRowHover:f,path:p,renderCopy:m,tabStopId:v,value:w}){const y=S.useId(),_=S.useRef(null),[C,I]=S.useState(o),M=ri(p),N=Ra(w),L=N?Aa(w):[],$=L.length>0,A=()=>{I(ee=>!ee),Lh(_.current)},W=ee=>{if(ee.key==="ArrowRight"||ee.key==="ArrowLeft"){ee.preventDefault(),I(ee.key==="ArrowRight");return}(ee.key==="ArrowUp"||ee.key==="ArrowDown")&&(ee.preventDefault(),jP(ee.currentTarget,ee.key==="ArrowUp"?-1:1))},B=(ee,Z)=>c.jsxs("div",{className:we.row,role:"treeitem","aria-expanded":Z,onMouseOver:he=>{he.stopPropagation(),f(he.currentTarget,{path:p,value:w})},children:[typeof w!="string"&&m?.({path:p,value:w}),ee]});if(typeof w=="string")return B(c.jsx(EP,{collapsedStringLines:e,stringWrapping:t,field:n,value:w,labels:s,lastElement:l,renderCopy:m===void 0?void 0:ee=>m({path:p,value:w},ee)}));if(!N)return B(c.jsxs(c.Fragment,{children:[c.jsx(Nu,{field:n,expandable:!1,onToggle:A}),Oh(w),!l&&c.jsx("span",{className:we.punctuation,children:","})]}));const[K,H]=m2(w);return $?B(c.jsxs(c.Fragment,{children:[c.jsx("span",{ref:_,className:pe(we.expander,C?we.collapseIcon:we.expandIcon),"data-json-expander":!0,role:"button","aria-label":C?s.collapseNode:s.expandNode,"aria-expanded":C,"aria-controls":C?y:void 0,tabIndex:v===M?0:-1,onFocus:()=>{u(M)},onClick:A,onKeyDown:W}),c.jsxs("span",{className:we.summary,children:[c.jsx(Nu,{field:n,expandable:!0,onToggle:A}),c.jsx("span",{className:we.preview,children:Ih(w,0)}),!l&&c.jsx("span",{className:we.punctuation,children:","})]}),C&&c.jsx("ul",{id:y,role:"group",className:we.children,children:L.map(([ee,Z],he)=>c.jsx(w0,{collapsedStringLines:e,stringWrapping:t,field:ee,value:Z,path:[...p,Array.isArray(w)?he:ee],labels:s,lastElement:he===L.length-1,initialExpanded:!1,tabStopId:v,onClaimTabStop:u,onRowHover:f,renderCopy:m},ee))})]}),C):B(c.jsxs(c.Fragment,{children:[c.jsx(Nu,{field:n,expandable:!1,onToggle:A}),c.jsx("span",{className:we.punctuation,children:K}),c.jsx("span",{className:we.punctuation,children:H}),!l&&c.jsx("span",{className:we.punctuation,children:","})]}))}function MP(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 IP(e,t){return t==="path"?MP(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 OP({data:e,label:t,className:n,collapsedStringLines:o=3,stringWrapping:s,copyable:l=!0,expandTopLevel:u=!0,labels:f}){const p=Aa(e),m=p.findIndex(([,Z])=>Ra(Z)&&Aa(Z).length>0),v=p[m],w=u?v===void 0?null:ri([Array.isArray(e)?m:v[0]]):Ra(e)&&p.length>0?ri([]):null,y=S.useRef(),_=S.useRef(),C=S.useRef(0),[I]=S.useState(bP),[M,N]=S.useState(w),L=Z=>{y.current?.removeAttribute("data-json-copy-active"),y.current=Z,Z?.setAttribute("data-json-copy-active","")},$=()=>{C.current+=1,_.current!==void 0&&clearTimeout(_.current),L(void 0),I.set(void 0)};S.useEffect(()=>()=>{C.current+=1,_.current!==void 0&&clearTimeout(_.current),y.current?.removeAttribute("data-json-copy-active")},[]),S.useEffect(()=>{$(),N(w)},[e,u,w]);const A=(Z,he)=>{!l||I.get()?.menuOpen||y.current!==Z&&(L(Z),I.set({id:ri(he.path),target:he,state:"idle",menuOpen:!1}))},W=Z=>{!l||I.get()?.menuOpen||Z.target instanceof Element&&Z.target.closest("[data-json-copy-button]")===null&&$()},B=async(Z,he)=>{const me=++C.current,ne={id:ri(Z.path),target:Z,state:"idle",menuOpen:!1};I.set(ne);let se;try{await navigator.clipboard.writeText(IP(Z,he)),se="copied"}catch{se="failed"}const Ie=I.get();me!==C.current||Ie?.target!==Z||(I.set({...Ie,state:se}),_.current!==void 0&&clearTimeout(_.current),_.current=setTimeout(()=>{const xe=I.get();xe?.target===Z&&I.set({...xe,state:"idle"})},1500))},[K,H]=m2(e),ee=l?(Z,he=!1)=>c.jsx(kP,{store:I,target:Z,persistent:he,labels:f,onCopy:B,onClose:$}):void 0;return c.jsx("div",{className:pe(we.root,n),style:{"--json-tree-collapsed-lines":o},onMouseOver:W,onMouseLeave:()=>{I.get()?.menuOpen||$()},children:u?c.jsxs("div",{className:we.expandedTopLevel,children:[c.jsxs("div",{className:pe(we.row,we.topLevelBracket),"data-json-root-row":!0,onMouseOver:Z=>{Z.stopPropagation(),A(Z.currentTarget,{path:[],value:e})},children:[ee?.({path:[],value:e}),c.jsx("span",{className:we.punctuation,children:K})]}),c.jsx("div",{"aria-label":t,className:pe(we.container,we.expandedTopLevelContainer),role:"tree",children:p.map(([Z,he],me)=>c.jsx(w0,{collapsedStringLines:o,stringWrapping:s,field:Z,value:he,path:[Array.isArray(e)?me:Z],labels:f,lastElement:me===p.length-1,initialExpanded:!1,tabStopId:M,onClaimTabStop:N,onRowHover:A,renderCopy:ee},Z))}),c.jsx("div",{className:pe(we.row,we.topLevelBracket),children:c.jsx("span",{className:we.punctuation,children:H})})]}):c.jsx("div",{"aria-label":t,className:we.container,role:"tree",children:c.jsx(w0,{collapsedStringLines:o,stringWrapping:s,value:e,path:[],labels:f,lastElement:!0,initialExpanded:!0,tabStopId:M,onClaimTabStop:N,onRowHover:A,renderCopy:ee})})})}var Ru,K5;function LP(){if(K5)return Ru;K5=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#;/?:@=+$',_.!~*()[\]-]|&amp;|%[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 f=0;f<2;++f)for(let p=0;p<8;++p)this.PALETTE_COLORS.push(e[f][p].color);let s=[0,95,135,175,215,255],l=(f,p,m)=>s[f]+", "+s[p]+", "+s[m];for(let f=0;f<6;++f)for(let p=0;p<6;++p)for(let m=0;m<6;++m)this.PALETTE_COLORS.push(l(f,p,m));let u=8;for(let f=0;f<24;++f,u+=10)this.PALETTE_COLORS.push(u+", "+u+", "+u)}escapeForHtml(s){return s.replace(/[&<>\"]/gm,l=>l=="&"?"&amp;":l=='"'?"&quot;":l=="<"?"&lt;":l==">"?"&gt;":"")}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 f=this,p=s.split(/\033\[/),m=p.shift();l==null&&(l={}),l.clearLine=/\r/.test(s);let v=p.map(w=>this.processChunk(w,l,u));if(l&&l.json){let w=f.processChunkJson("");return w.content=m,w.clearLine=l.clearLine,v.unshift(w),l.remove_empty&&(v=v.filter(y=>!y.isEmpty())),v}else v.unshift(m);return v.join("")}processChunkJson(s,l,u){l=typeof l>"u"?{}:l;let f=l.use_classes=typeof l.use_classes<"u"&&l.use_classes,p=l.key=f?"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},v=s.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!v)return m;m.content=v[4];let w=v[2].split(";");if(v[1]!==""||v[3]!=="m"||!u)return m;let y=this;for(;w.length>0;){let _=w.shift(),C=parseInt(_);if(isNaN(C)||C===0)y.fg=y.bg=null,y.decorations=[];else if(C===1)y.decorations.push("bold");else if(C===2)y.decorations.push("dim");else if(C===3)y.decorations.push("italic");else if(C===4)y.decorations.push("underline");else if(C===5)y.decorations.push("blink");else if(C===7)y.decorations.push("reverse");else if(C===8)y.decorations.push("hidden");else if(C===9)y.decorations.push("strikethrough");else if(C===21)y.removeDecoration("bold");else if(C===22)y.removeDecoration("bold"),y.removeDecoration("dim");else if(C===23)y.removeDecoration("italic");else if(C===24)y.removeDecoration("underline");else if(C===25)y.removeDecoration("blink");else if(C===27)y.removeDecoration("reverse");else if(C===28)y.removeDecoration("hidden");else if(C===29)y.removeDecoration("strikethrough");else if(C===39)y.fg=null;else if(C===49)y.bg=null;else if(C>=30&&C<38)y.fg=e[0][C%10][p];else if(C>=90&&C<98)y.fg=e[1][C%10][p];else if(C>=40&&C<48)y.bg=e[0][C%10][p];else if(C>=100&&C<108)y.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(!f)this.PALETTE_COLORS||y.setupPalette(),I?y.fg=this.PALETTE_COLORS[N]:y.bg=this.PALETTE_COLORS[N];else{let L=N>=16?"ansi-palette-"+N:e[N>7?1:0][N%8].class;I?y.fg=L:y.bg=L}}else if(M==="2"&&w.length>=3){let N=parseInt(w.shift()),L=parseInt(w.shift()),$=parseInt(w.shift());if(N>=0&&N<=255&&L>=0&&L<=255&&$>=0&&$<=255){let A=N+", "+L+", "+$;f?I?(y.fg="ansi-truecolor",y.fg_truecolor=A):(y.bg="ansi-truecolor",y.bg_truecolor=A):I?y.fg=A:y.bg=A}}}}}return y.fg===null&&y.bg===null&&y.decorations.length===0||(m.fg=y.fg,m.bg=y.bg,m.fg_truecolor=y.fg_truecolor,m.bg_truecolor=y.bg_truecolor,m.decorations=y.decorations,m.decoration=y.decorations.slice(-1).pop()||null,m.was_processed=!0),m}processChunk(s,l,u){l=l||{};let f=this.processChunkJson(s,l,u),p=l.use_classes;if(f.decorations=f.decorations.filter(C=>{if(C==="reverse"){f.fg||(f.fg=e[0][7][p?"class":"color"]),f.bg||(f.bg=e[0][0][p?"class":"color"]);let I=f.fg;f.fg=f.bg,f.bg=I;let M=f.fg_truecolor;return f.fg_truecolor=f.bg_truecolor,f.bg_truecolor=M,f.isInverted=!0,!1}return!0}),l.json)return f;if(f.isEmpty())return"";if(!f.was_processed)return f.content;let m=[],v=[],w=[],y={},_=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 f.isInverted&&(y["ansi-is-inverted"]="true"),f.fg&&(p?(m.push(f.fg+"-fg"),f.fg_truecolor!==null&&(y["ansi-truecolor-fg"]=f.fg_truecolor,f.fg_truecolor=null)):m.push("color:rgb("+f.fg+")")),f.bg&&(p?(m.push(f.bg+"-bg"),f.bg_truecolor!==null&&(y["ansi-truecolor-bg"]=f.bg_truecolor,f.bg_truecolor=null)):m.push("background-color:rgb("+f.bg+")")),f.decorations.forEach(C=>{if(p){v.push("ansi-"+C);return}C==="bold"?v.push("font-weight:bold"):C==="dim"?v.push("opacity:0.5"):C==="italic"?v.push("font-style:italic"):C==="hidden"?v.push("visibility:hidden"):C==="strikethrough"?w.push("line-through"):w.push(C)}),w.length&&v.push("text-decoration:"+w.join(" ")),p?'<span class="'+m.concat(v).join(" ")+'"'+_(y)+">"+f.content+"</span>":'<span style="'+m.concat(v).join(";")+'"'+_(y)+">"+f.content+"</span>"}removeDecoration(s){const l=this.decorations.indexOf(s);l>=0&&this.decorations.splice(l,1)}}return Ru=n,Ru}var TP=LP();const zP=Hs(TP),PP={"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)"},NP={bold:{fontWeight:700},dim:{opacity:.7},italic:{fontStyle:"italic"},underline:{textDecoration:"underline"},strikethrough:{textDecoration:"line-through"},hidden:{visibility:"hidden"}},RP=/\u001b\][^\u0007\u001b]*(?:\u0007|\u001b\\)?/g,AP=/\u001b(?!\[)[\u0020-\u002f]*[\u0030-\u007e]?/g,FP=/[\u0000-\u0007\u000b-\u001a\u001c-\u001f\u007f]/g,DP=/\r|\u0008|\u001b\[[\u0030-\u003f]*[\u0020-\u002f]*K/,$P=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*m/g,Y5=8,HP=/^[\p{Mn}\p{Me}\p{Cf}\u200b-\u200f\u2060]$/u,VP=new RegExp("\\p{Script=Han}|\\p{Script=Hiragana}|\\p{Script=Katakana}|\\p{Script=Hangul}|\\p{Emoji_Presentation}|[\\uff01-\\uff60\\u3000-\\u303e]","u");function Au(e){const t=e.codePointAt(0);return t===void 0||t<4352?!1:VP.test(e)}const bs={fg:"",bg:"",attrs:[]},BP={22:["1","2"],23:["3"],24:["4"],25:["5","6"],27:["7"],28:["8"],29:["9"]};function Th(e,t){const n=t===""?["0"]:t.split(";");let o=e;for(let s=0;s<n.length;s++){const l=String(n[s]);if(l===""||l==="0"){o=bs;continue}if(l==="38"||l==="48"){const p=n[s+1]??"",m=p==="2"?4:p==="5"?2:0,v=n.slice(s,s+m+1).join(";");o=l==="38"?{...o,fg:v}:{...o,bg:v},s+=m;continue}const u=BP[l];if(u!==void 0){o={...o,attrs:o.attrs.filter(p=>!u.includes(p))};continue}const f=Number(l);if(l==="39"){o={...o,fg:""};continue}if(l==="49"){o={...o,bg:""};continue}if(f>=30&&f<=37||f>=90&&f<=97){o={...o,fg:l};continue}if(f>=40&&f<=47||f>=100&&f<=107){o={...o,bg:l};continue}o.attrs.includes(l)||(o={...o,attrs:[...o.attrs,l]})}return o}function J5(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 fa(e,t){return e.fg===t.fg&&e.bg===t.bg&&e.attrs.length===t.attrs.length&&e.attrs.every((n,o)=>n===t.attrs[o])}function ZP(e,t){const n=/\u001b\[([\u0030-\u003f]*)[\u0020-\u002f]*([\u0040-\u007e])/g,o=[];let s=0,l=t,u=0;const f=(w,y)=>{const _=o[w];_?.spacer===!0&&w>0?o[w-1]={sgr:l,char:y}:_!==void 0&&Au(_.char)&&o[w+1]?.spacer===!0&&(o[w+1]={sgr:l,char:y}),o[w]={sgr:l,char:y}},p=w=>{for(const y of w){if(y==="\r"){s=0;continue}if(y==="\b"){s=Math.max(0,s-1);continue}if(y===" "){const _=s+Y5-s%Y5;for(;s<_;s++)o[s]??={sgr:l,char:" "};continue}if(HP.test(y)){const _=s>0?o[s-1]:void 0;_!==void 0&&(o[s-1]={sgr:_.sgr,char:_.char+y});continue}f(s," "),o[s]={sgr:l,char:y},s++,Au(y)&&(o[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 y=String(w[1]),_=String(w[2]);if(_==="K"){const C=String(y.split(";")[0]);if(C==="1")for(let I=0;I<=s;I++)f(I," ");else o.length=C==="2"?0:s;continue}_==="m"&&(l=Th(l,y))}p(e.slice(u));let m="",v=t;for(let w=0;w<o.length;w++){const y=o[w]??{sgr:bs,char:" "};fa(y.sgr,v)||(fa(v,bs)||(m+="\x1B[0m"),m+=J5(y.sgr),v=y.sgr);const _=w>0&&Au(o[w-1]?.char??"");m+=y.spacer===!0&&!_?" ":y.char}return fa(v,l)||(fa(v,bs)||(m+="\x1B[0m"),m+=J5(l)),{text:m,sgr:l}}function WP(e){const t=[];let n=bs;for(const o of e.split(`
138
+ `)){const s=o.replace(/\r+$/,"");if(DP.test(s)){const l=ZP(s,n);t.push(l.text),n=l.sgr;continue}t.push(s);for(const l of s.matchAll($P))n=Th(n,String(l[1]))}return t.join(`
139
+ `)}function UP(e){const t=e.replace(RP,"").replace(AP,"");return WP(t).replace(FP,"")}function qP(e){const t={},n=e.bg===null?void 0:`rgb(${e.bg})`;if(n!==void 0&&(t.backgroundColor=n),e.fg!==null){const o=`rgb(${e.fg})`;t.color=n===void 0?PP[e.fg.replace(/\s+/g,"")]??o:o}for(const o of e.decorations)Object.assign(t,NP[o]);return Object.keys(t).length===0?void 0:t}function GP(e){let t=[];const n=[t];for(const o of zP.ansiToJson(UP(e),{json:!0,remove_empty:!0})){const s=qP(o);for(const[l,u]of o.content.split(`
140
+ `).entries())l>0&&(t=[],n.push(t)),u!==""&&t.push({text:u,style:s})}return n}function zh(e,t,n){const o=e-t,s=Math.ceil(t/2);return{hidden:o,capped:o>0&&!n,headLines:s,tailLines:t-s}}const KP="_block_1fs6g_1",YP="_header_1fs6g_32",JP="_prompt_1fs6g_70",QP="_promptLine_1fs6g_78",XP="_runState_1fs6g_91",eN="_runStateLabel_1fs6g_99",tN="_cwd_1fs6g_108",nN="_command_1fs6g_118",rN="_status_1fs6g_131",oN="_copyButton_1fs6g_139",iN="_output_1fs6g_159",sN="_line_1fs6g_186",aN="_expand_1fs6g_192",lN="_empty_1fs6g_208",$t={block:KP,header:YP,prompt:JP,promptLine:QP,runState:XP,runStateLabel:eN,cwd:tN,command:nN,status:rN,copyButton:oN,output:iN,line:sN,expand:aN,empty:lN},Ph=16;function cN(e,t){const n=e.replace(/[/\\]+$/,"");if(t!==void 0&&n===t.replace(/[/\\]+$/,""))return"~";const o=n.split(/[/\\]/).pop();return o===void 0||o===""?e:o}function Nh(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 uN(e,t,n,o){return e?{state:"ongoing",label:o.running}:Nh(t,n,o)!==void 0?{state:"error",label:o.failed}:{state:"done",label:o.done}}function Q5(e){return e.map((t,n)=>t.style===void 0?t.text:c.jsx("span",{style:t.style,children:t.text},n))}function dN({command:e,cwd:t,home:n,output:o,exitCode:s,signal:l,running:u=!1,maxLines:f=Ph,copyText:p,runStateDot:m=!0,className:v,labels:w}){const y=w,_=o??"",C=S.useMemo(()=>{const ne=GP(_),se=ne[ne.length-1];return ne.length>1&&se!==void 0&&se.every(xe=>xe.text==="")?ne.slice(0,-1):ne},[_]),[I,M]=S.useState(!1),{copied:N,onCopy:L}=Vs(p??_),$=S.useCallback(()=>{M(ne=>!ne)},[]),A=Nh(s,l,y),W=uN(u,s,l,y),B=S.useMemo(()=>(e.endsWith(`
141
+ `)?e.slice(0,-1):e).split(`
142
+ `),[e]),K=C.every(ne=>ne.every(se=>se.text.trim()==="")),{hidden:H,capped:ee,headLines:Z,tailLines:he}=zh(C.length,f,I),me=!u||!K;return c.jsxs("div",{className:pe($t.block,v),"data-terminal":"","data-running":u?"":void 0,"data-body":me?"":void 0,children:[c.jsxs("div",{className:$t.header,children:[c.jsxs("div",{className:$t.prompt,children:[m&&c.jsx("span",{className:$t.runStateLabel,children:W.label}),B.map((ne,se)=>c.jsxs("div",{className:$t.promptLine,children:[se===0&&m&&c.jsx($0,{state:W.state,className:$t.runState}),c.jsx("span",{className:$t.cwd,children:se>0||t===void 0?"$":cN(t,n)}),c.jsx("span",{className:$t.command,children:ne})]},se))]}),A!==void 0&&c.jsx(H0,{className:$t.status,children:A}),(p!==void 0||!u&&!K)&&c.jsx("button",{type:"button",className:$t.copyButton,onClick:L,children:N?y.copied:y.copy})]}),me&&(K?c.jsx("div",{className:$t.empty,children:y.noOutput}):c.jsxs("div",{className:$t.output,children:[(ee?C.slice(0,Z):C).map((ne,se)=>c.jsx("div",{className:$t.line,children:Q5(ne)},se)),H>0&&c.jsx("button",{type:"button",className:$t.expand,"aria-expanded":I,"aria-label":I?y.collapseAria:y.expandAria(H),onClick:$,children:I?y.collapse:y.expand(H)}),ee&&C.slice(C.length-he).map((ne,se)=>c.jsx("div",{className:$t.line,children:Q5(ne)},se))]}))]})}function Rh({className:e,expanded:t,hidden:n,labels:o,onToggle:s}){return c.jsx("button",{type:"button",className:e,"aria-expanded":t,"aria-label":t?o.collapseAria:o.expandAria(n),onClick:s,children:t?o.collapse:o.expand(n)})}const fN="_card_1pq26_1",hN="_header_1pq26_10",pN="_heading_1pq26_23",mN="_language_1pq26_30",gN="_title_1pq26_36",vN="_actions_1pq26_43",wN="_status_1pq26_50",yN="_action_1pq26_43",xN="_body_1pq26_79",Mn={card:fN,header:hN,heading:pN,language:mN,title:gN,actions:vN,status:wN,action:yN,body:xN};function g2({lang:e,title:t,status:n,labels:o,copyLabel:s,copiedLabel:l,copied:u,wrapped:f,onCopy:p,onWrap:m}){const v=f?o.unwrapLabel:o.wrapLabel,w=u?l:s;return c.jsxs("div",{className:Mn.header,"data-code-block-banner":!0,children:[c.jsxs("div",{className:Mn.heading,children:[c.jsx("span",{className:Mn.language,children:Sh(e)?e:o.codeLabel}),t!==void 0&&c.jsx("span",{className:Mn.title,title:t,children:t})]}),c.jsxs("div",{className:Mn.actions,children:[n!==void 0&&c.jsx("span",{className:Mn.status,children:n}),m!==void 0&&c.jsx(Fr,{label:v,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:Mn.action,"aria-label":o.wrapLabel,"aria-pressed":f,onClick:m,children:f?c.jsx(E8,{size:14}):c.jsx(I8,{size:14})})}),p!==void 0&&c.jsx(Fr,{label:w,side:"top",portal:!0,children:c.jsx("button",{type:"button",className:Mn.action,"aria-label":w,onClick:p,children:u?c.jsx(mi,{size:14}):c.jsx(F0,{size:14})})})]})]})}const _N=()=>{};class CN{observer;activators=new Map;observe(t,n){return typeof IntersectionObserver>"u"?(n(),_N):(this.observer??=new IntersectionObserver(o=>{for(const s of o){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 bN=new CN;function Ah(e,t){const n=Sh(t),[o,s]=S.useState(!1),l=S.useCallback(()=>{s(!0)},[]);return S.useEffect(()=>{if(o||!n)return;const u=e.current;if(u!==null)return bN.observe(u,l)},[l,o,n,e]),o&&n}const kN="_line_cjydv_1",SN="_gutter_cjydv_7",jN="_content_cjydv_16",EN="_block_cjydv_21",MN="_expand_cjydv_29",ps={line:kN,gutter:SN,content:jN,block:EN,expand:MN},Fh=16;function IN(e){return e.map((t,n)=>c.jsx("span",{style:t.style,children:t.text},n))}function ON({label:e,labels:t,lines:n,totalLines:o,copyText:s,lang:l,maxLines:u=Fh,className:f}){const p=S.useRef(null),m=Ah(p,l),v=S.useMemo(()=>n.map(ne=>ne.text).join(`
143
+ `),[n]),w=S.useSyncExternalStore(h2,pi,pi),y=S.useMemo(()=>m?Eh(v,l):void 0,[m,v,l,w]),[_,C]=S.useState(!1),{copied:I,onCopy:M}=Vs(s??v),[N,L]=S.useState(!1),$=S.useCallback(()=>{C(ne=>!ne)},[]),A=n.length-u,W=A>0&&!_,B=Math.ceil(u/2),K=u-B,H=n.length<o,ee=ne=>ne.map(([se,Ie])=>c.jsxs("div",{className:ps.line,children:[c.jsx("span",{className:ps.gutter,"aria-hidden":!0,children:se.number}),c.jsx("span",{className:ps.content,children:Ie===void 0?se.text:IN(Ie)})]},se.number)),he={"--dsl-read-gutter":`${n.reduce((ne,se)=>Math.max(ne,String(se.number).length),3)}ch`},me=n.map((ne,se)=>[ne,y?.[se]]);return c.jsxs("div",{ref:p,className:pe(Mn.card,ps.block,f),"data-read":"","data-code-wrap":N,style:he,children:[c.jsx(g2,{lang:l,title:e,status:H?t.window(n.length,o):void 0,labels:t,copyLabel:t.copy,copiedLabel:t.copied,copied:I,wrapped:N,onCopy:n.length>0?M:void 0,onWrap:()=>{L(ne=>!ne)}}),c.jsxs("div",{className:Mn.body,children:[ee(W?me.slice(0,B):me),A>0&&c.jsx(Rh,{className:ps.expand,expanded:_,hidden:A,labels:t,onToggle:$}),W&&ee(me.slice(me.length-K))]})]})}class LN{diff(t,n,o={}){let s;typeof o=="function"?(s=o,o={}):"callback"in o&&(s=o.callback);const l=this.castInput(t,o),u=this.castInput(n,o),f=this.removeEmpty(this.tokenize(l,o)),p=this.removeEmpty(this.tokenize(u,o));return this.diffWithOptionsObj(f,p,o,s)}diffWithOptionsObj(t,n,o,s){var l;const u=L=>{if(L=this.postProcess(L,o),s){setTimeout(function(){s(L)},0);return}else return L},f=n.length,p=t.length;let m=1,v=f+p;o.maxEditLength!=null&&(v=Math.min(v,o.maxEditLength));const w=(l=o.timeout)!==null&&l!==void 0?l:1/0,y=Date.now()+w,_=[{oldPos:-1,lastComponent:void 0}];let C=this.extractCommon(_[0],n,t,0,o);if(_[0].oldPos+1>=p&&C+1>=f)return u(this.buildValues(_[0].lastComponent,n,t));let I=-1/0,M=1/0;const N=()=>{for(let L=Math.max(I,-m);L<=Math.min(M,m);L+=2){let $;const A=_[L-1],W=_[L+1];A&&(_[L-1]=void 0);let B=!1;if(W){const H=W.oldPos-L;B=W&&0<=H&&H<f}const K=A&&A.oldPos+1<p;if(!B&&!K){_[L]=void 0;continue}if(!K||B&&A.oldPos<W.oldPos?$=this.addToPath(W,!0,!1,0,o):$=this.addToPath(A,!1,!0,1,o),C=this.extractCommon($,n,t,L,o),$.oldPos+1>=p&&C+1>=f)return u(this.buildValues($.lastComponent,n,t))||!0;_[L]=$,$.oldPos+1>=p&&(M=Math.min(M,L-1)),C+1>=f&&(I=Math.max(I,L+1))}m++};if(s)(function L(){setTimeout(function(){if(m>v||Date.now()>y)return s(void 0);N()||L()},0)})();else for(;m<=v&&Date.now()<=y;){const L=N();if(L)return L}}addToPath(t,n,o,s,l){const u=t.lastComponent;return u&&!l.oneChangePerToken&&u.added===n&&u.removed===o?{oldPos:t.oldPos+s,lastComponent:{count:u.count+1,added:n,removed:o,previousComponent:u.previousComponent}}:{oldPos:t.oldPos+s,lastComponent:{count:1,added:n,removed:o,previousComponent:u}}}extractCommon(t,n,o,s,l){const u=n.length,f=o.length;let p=t.oldPos,m=p-s,v=0;for(;m+1<u&&p+1<f&&this.equals(o[p+1],n[m+1],l);)m++,p++,v++,l.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return v&&!l.oneChangePerToken&&(t.lastComponent={count:v,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=p,m}equals(t,n,o){return o.comparator?o.comparator(t,n):t===n||!!o.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let o=0;o<t.length;o++)t[o]&&n.push(t[o]);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,o){const s=[];let l;for(;t;)s.push(t),l=t.previousComponent,delete t.previousComponent,t=l;s.reverse();const u=s.length;let f=0,p=0,m=0;for(;f<u;f++){const v=s[f];if(v.removed)v.value=this.join(o.slice(m,m+v.count)),m+=v.count;else{if(!v.added&&this.useLongestToken){let w=n.slice(p,p+v.count);w=w.map(function(y,_){const C=o[m+_];return C.length>y.length?C:y}),v.value=this.join(w)}else v.value=this.join(n.slice(p,p+v.count));p+=v.count,v.added||(m+=v.count)}}return s}}class TN extends LN{constructor(){super(...arguments),this.tokenize=PN}equals(t,n,o){return o.ignoreWhitespace?((!o.newlineIsToken||!t.includes(`
144
+ `))&&(t=t.trim()),(!o.newlineIsToken||!n.includes(`
145
+ `))&&(n=n.trim())):o.ignoreNewlineAtEof&&!o.newlineIsToken&&(t.endsWith(`
146
+ `)&&(t=t.slice(0,-1)),n.endsWith(`
147
+ `)&&(n=n.slice(0,-1))),super.equals(t,n,o)}}const zN=new TN;function X5(e,t,n){return zN.diff(e,t,n)}function PN(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
148
+ `));const n=[],o=e.split(/(\n|\r\n)/);o[o.length-1]||o.pop();for(let s=0;s<o.length;s++){const l=o[s];s%2&&!t.newlineIsToken?n[n.length-1]+=l:n.push(l)}return n}function NN(e,t,n,o,s,l,u){let f;u?typeof u=="function"?f={callback:u}:f=u:f={},typeof f.context>"u"&&(f.context=4);const p=f.context;if(f.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(f.callback){const{callback:v}=f;X5(n,o,Object.assign(Object.assign({},f),{callback:w=>{const y=m(w);v(y)}}))}else return m(X5(n,o,f));function m(v){if(!v)return;v.push({value:"",lines:[]});function w(L){return L.map(function($){return" "+$})}const y=[];let _=0,C=0,I=[],M=1,N=1;for(let L=0;L<v.length;L++){const $=v[L],A=$.lines||RN($.value);if($.lines=A,$.added||$.removed){if(!_){const W=v[L-1];_=M,C=N,W&&(I=p>0?w(W.lines.slice(-p)):[],_-=I.length,C-=I.length)}for(const W of A)I.push(($.added?"+":"-")+W);$.added?N+=A.length:M+=A.length}else{if(_)if(A.length<=p*2&&L<v.length-2)for(const W of w(A))I.push(W);else{const W=Math.min(A.length,p);for(const K of w(A.slice(0,W)))I.push(K);const B={oldStart:_,oldLines:M-_+W,newStart:C,newLines:N-C+W,lines:I};y.push(B),_=0,C=0,I=[]}M+=A.length,N+=A.length}}for(const L of y)for(let $=0;$<L.lines.length;$++)L.lines[$].endsWith(`
149
+ `)?L.lines[$]=L.lines[$].slice(0,-1):(L.lines.splice($+1,0,"\"),$++);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:l,hunks:y}}}function RN(e){const t=e.endsWith(`
150
+ `),n=e.split(`
151
+ `).map(o=>o+`
152
+ `);return t?n.pop():n.push(n.pop().slice(0,-1)),n}const AN="_block_1a1p3_1",FN="_body_1a1p3_5",DN="_line_1a1p3_13",$N="_path_1a1p3_29",HN="_gap_1a1p3_34",VN="_del_1a1p3_38",BN="_add_1a1p3_48",ZN="_context_1a1p3_58",WN="_expand_1a1p3_66",Bn={block:AN,body:FN,line:DN,path:$N,gap:HN,del:VN,add:BN,context:ZN,expand:WN},Dh=16;function UN(e){throw new Error(`unreachable diff row kind: ${String(e)}`)}const e6={path:Bn.path,del:Bn.del,add:Bn.add,context:Bn.context,gap:Bn.gap},qN=256;function $h(e){const t=t6(e.oldText??""),n=t6(e.newText),o=s=>s.map(l=>`${l}
153
+ `).join("");return NN("","",o(t),o(n),void 0,void 0,{context:3,maxEditLength:qN})?.hunks??[{lines:[...t.map(s=>`-${s}`),...n.map(s=>`+${s}`)]}]}function GN(e){let t=0,n=0;for(const o of e)for(const s of $h(o))for(const l of s.lines)l.startsWith("+")&&t++,l.startsWith("-")&&n++;return{added:t,removed:n}}function KN(e){const t=[];let n;for(const o of e){o.path!==n?t.push({kind:"path",text:o.path}):t.push({kind:"gap",text:"⋯"}),n=o.path;for(const[s,l]of $h(o).entries()){s>0&&t.push({kind:"gap",text:"⋯"});for(const u of l.lines){const f=u.startsWith("-")?"del":u.startsWith("+")?"add":"context";t.push({kind:f,text:u.slice(1)})}}}return t}function t6(e){return e===""?[]:(e.endsWith(`
154
+ `)?e.slice(0,-1):e).split(`
155
+ `)}function YN(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 UN(t.kind)}}).join(`
156
+ `)}function JN({diffs:e,copyText:t,labels:n,maxLines:o=Dh,className:s}){const l=S.useMemo(()=>KN(e),[e]),[u,f]=S.useState(!1),p=S.useCallback(async()=>YN(l),[l]),{copied:m,onCopy:v}=Vs(t??p),[w,y]=S.useState(!1),_=e[0]===void 0?void 0:g0(e[0].path),C=e.every(B=>g0(B.path)===_)?_:void 0,I=S.useCallback(()=>{f(B=>!B)},[]);if(l.length===0)return null;const M=l.length-o,N=M>0&&!u,L=Math.ceil(o/2),$=o-L,A=N?l.slice(0,L):l,W=N?l.slice(l.length-$):[];return c.jsxs("div",{className:pe(Mn.card,Bn.block,s),"data-diff":"","data-code-wrap":w,children:[c.jsx(g2,{lang:C,labels:n,copyLabel:n.copy,copiedLabel:n.copied,copied:m,wrapped:w,onCopy:v,onWrap:()=>{y(B=>!B)}}),c.jsxs("div",{className:Bn.body,"data-diff-body":!0,children:[A.map((B,K)=>c.jsx("div",{className:pe(Bn.line,e6[B.kind]),"data-diff-row":B.kind,children:B.text},K)),M>0&&c.jsx(Rh,{className:Bn.expand,expanded:u,hidden:M,labels:n,onToggle:I}),W.map((B,K)=>c.jsx("div",{className:pe(Bn.line,e6[B.kind]),"data-diff-row":B.kind,children:B.text},K))]})]})}const QN="_block_1u3n2_1",XN="_header_1u3n2_12",eR="_summary_1u3n2_22",tR="_copyButton_1u3n2_32",nR="_body_1u3n2_43",rR="_line_1u3n2_52",oR="_lineNumber_1u3n2_60",iR="_fileHeader_1u3n2_66",sR="_filePath_1u3n2_80",aR="_fileCount_1u3n2_87",lR="_expand_1u3n2_92",cR="_empty_1u3n2_108",on={block:QN,header:XN,summary:eR,copyButton:tR,body:nR,line:rR,lineNumber:oR,fileHeader:iR,filePath:sR,fileCount:aR,expand:lR,empty:cR},Hh=16;function uR(e){return e.kind==="paths"?e.paths.join(`
157
+ `):e.files.map(t=>[t.path,...t.matches.map(n=>`${n.lineNumber}: ${n.line}`)].join(`
158
+ `)).join(`
159
+
160
+ `)}function dR(e){return e.kind==="paths"?e.paths.length:e.files.reduce((t,n)=>t+n.matches.length,0)}function fR(e,t,n,o){return e.kind==="paths"?e.labels.pathsSummary(t,o,n):e.labels.matchesSummary(t,o,e.files.length,n)}function hR(e,t){if(e.kind==="paths")return e.paths.map(o=>({type:"path",path:o}));const n=[];return e.files.forEach((o,s)=>{const l=t.has(s);if(n.push({type:"file",path:o.path,count:o.matches.length,index:s,collapsed:l}),!l)for(const u of o.matches)n.push({type:"match",lineNumber:u.lineNumber,line:u.line,key:`${s}:${u.lineNumber}`,fileIndex:s})}),n}function Fu(e){switch(e.type){case"match":return`match:${e.key}`;case"file":return`file:${e.index}`;case"path":return`path:${e.path}`}}function pR(e){const{truncated:t,total:n,maxLines:o=Hh,className:s}=e,[l,u]=S.useState(!1),[f,p]=S.useState(()=>new Set),m=hR(e,f),v=dR(e),w=m.length===0,{copied:y,onCopy:_}=Vs(e.copyText??uR(e)),C=S.useCallback(()=>{u(Z=>!Z)},[]),I=S.useCallback(Z=>{p(he=>{const me=new Set(he);return me.has(Z)?me.delete(Z):me.add(Z),me})},[]),{hidden:M,capped:N,headLines:L,tailLines:$}=zh(m.length,o,l),A=N?m.slice(0,L):m,W=N?m.slice(m.length-$):[],B=W[0],K=B?.type==="match"&&!A.some(Z=>Z.type==="file"&&Z.index===B.fileIndex)?m.find(Z=>Z.type==="file"&&Z.index===B.fileIndex):void 0,H=K===void 0?W:W.slice(1),ee=Z=>Z.type==="path"?c.jsx("div",{className:on.line,children:Z.path}):Z.type==="match"?c.jsxs("div",{className:on.line,children:[c.jsxs("span",{className:on.lineNumber,children:[Z.lineNumber,": "]}),Z.line]}):c.jsxs("button",{type:"button",className:on.fileHeader,"aria-expanded":!Z.collapsed,onClick:()=>{I(Z.index)},children:[c.jsx("span",{className:on.filePath,children:Z.path}),c.jsx("span",{className:on.fileCount,children:Z.count})]});return c.jsxs("div",{className:pe(on.block,s),"data-search":e.kind,children:[c.jsxs("div",{className:on.header,children:[c.jsx("span",{className:on.summary,children:fR(e,v,t,n)}),!w&&c.jsx("button",{type:"button",className:on.copyButton,onClick:_,children:y?e.labels.copied:e.labels.copy})]}),w?c.jsx("div",{className:on.empty,children:e.labels.noResults}):c.jsxs("div",{className:on.body,children:[A.map(Z=>c.jsx("div",{children:ee(Z)},Fu(Z))),M>0&&c.jsx("button",{type:"button",className:on.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)}),K!==void 0&&c.jsx("div",{children:ee(K)},`tailHeader:${Fu(K)}`),H.map(Z=>c.jsx("div",{children:ee(Z)},Fu(Z)))]})]})}const mR=2;function n6(e,t,n){const o=e.position?.start.offset;return o===void 0?-(n+1):t+o}function gR(e,t){for(let n=t;n<e.length;n+=1){const o=e[n];if(o===`
161
+ `)return n+1;if(o==="\r")return e[n+1]===`
162
+ `?n+2:n+1}}function r6(e){let t=0,n=0;for(let o=0;o<e.length;o+=1){const s=e[o];if(s===`
163
+ `){t=n,n=o+1;continue}s!=="\r"||o+1>=e.length||(e[o+1]===`
164
+ `&&(o+=1),t=n,n=o+1)}return t}function o6(e){return e.endsWith(`\r
165
+ `)?`\r
166
+ `:e.endsWith("\r")?"\r":`
167
+ `}function i6(e,t,n){let o=0;for(;o<=e.length;){let s=o;for(;s<e.length&&e[s]!==`
168
+ `&&e[s]!=="\r";)s+=1;const l=e.slice(o,s);let u=0;for(;u<3&&l[u]===" ";)u+=1;let f=u;for(;l[f]===t;)f+=1;if(f-u>=n&&/^[ \t]*$/.test(l.slice(f)))return!0;if(s===e.length)return!1;o=e[s]==="\r"&&e[s+1]===`
169
+ `?s+2:s+1}return!1}function vR(e,t,n){let o=e.line,s=e.column,l=n;for(const u of t){if(u===`
170
+ `){l||(o+=1),s=1,l=!1;continue}if(u==="\r"){o+=1,s=1,l=!0;continue}s+=1,l=!1}return{line:o,column:s,offset:e.offset+t.length}}class wR{constructor(t){this.parse=t}prevText="";tailStart=0;frozen=[];generation=0;cached=null;openFence=null;fenceValue(t,n){const o=this.parse(`${t.syntheticPrefix}${n}`);if(o.children.length!==1)return;const s=o.children[0];return s.type==="code"?s.value:void 0}openFenceState(t,n,o,s){const l=o.length-1,u=o[l];if(u?.node.type!=="code")return null;const f=u.node,p=f.position?.start.offset,m=f.position?.end;if(p===void 0||m?.offset===void 0||n+m.offset!==t.length)return null;const v=t.slice(n),w=v.lastIndexOf(`
171
+ `,p-1),y=v.lastIndexOf("\r",p-1),_=Math.max(w,y)+1,C=gR(v,p);if(C===void 0||C===v.length&&v.endsWith("\r"))return null;const I=v.slice(_,C).replace(/[\r\n]+$/,""),M=/^( {0,3})(`{3,}|~{3,})/.exec(I);if(M===null)return null;const N=M[1],L=M[2];if(_+N.length!==p)return null;const $=L[0],A=n+C,W=t.slice(A);if(i6(W,$,L.length))return null;const B=`${N}${L}
172
+ `,K=r6(W),H=K===0?"":this.fenceValue({syntheticPrefix:B},W.slice(0,K));if(H===void 0)return null;const ee=A+K,Z=W.slice(0,K),he=K===0?"":`${H}${o6(Z)}`,me=this.fenceValue({syntheticPrefix:B},t.slice(ee));return me===void 0||`${he}${me}`!==f.value?null:{marker:$,markerLength:L.length,syntheticPrefix:B,codeIndex:l,frozen:s,tail:o,pendingStart:ee,valuePrefix:he,end:{line:m.line,column:m.column,offset:m.offset},endedWithCarriageReturn:t.endsWith("\r")}}updateOpenFence(t,n,o){const s=n.slice(t.pendingStart);if(i6(s,t.marker,t.markerLength))return;const l=this.fenceValue(t,s);if(l===void 0)return;const u=r6(s),f=u===0?"":this.fenceValue(t,s.slice(0,u));if(f===void 0)return;const m=t.tail[t.codeIndex].node,v=vR(t.end,n.slice(o.length),t.endedWithCarriageReturn),w={...m,value:`${t.valuePrefix}${l}`,position:{start:m.position.start,end:v}},y=t.tail.map((C,I)=>I===t.codeIndex?{...C,node:w}:C),_={frozen:t.frozen,tail:y,generation:this.generation};return this.openFence={...t,tail:y,pendingStart:t.pendingStart+u,valuePrefix:u===0?t.valuePrefix:`${t.valuePrefix}${f}${o6(s.slice(0,u))}`,end:v,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 f=this.updateOpenFence(this.openFence,t,n);if(f!==void 0)return this.prevText=t,this.cached=f,f;this.openFence=null}this.prevText=t;const o=this.tailStart,s=this.parse(t.slice(o)).children;let l=Math.max(0,s.length-mR);if(l>0){const f=s[l-1]?.position?.end.offset;if(f===void 0)l=0;else{for(const p of s.slice(0,l))this.frozen.push({node:p,key:n6(p,o,this.frozen.length)});this.tailStart=o+f}}const u=s.slice(l).map((f,p)=>({node:f,key:n6(f,o,p)}));return this.cached={frozen:[...this.frozen],tail:u,generation:this.generation},this.openFence=this.openFenceState(t,o,u,this.cached.frozen),this.cached}}function Vh(e,t){const n=o=>{if(o.type==="paragraph"&&o.children.length===1){const[s]=o.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(" ")&&hl(u[2])==="image"&&(o.children=[{type:"image",alt:u[1],url:u[2],position:s.position}])}}else if("children"in o)for(const s of o.children)n(s)};return n(e),e}const yR=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 xR(e){return e!==null&&e>=0&&yR.test(String.fromCodePoint(e))}const _R=function(e,t,n){const o=this.parser.constructs.attentionMarkers.null;if(o===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const s=o,l=this.previous,u=y4(l);let f=Ve.eof;return p;function p(v){return v!==Ve.asterisk?n(v):(f=v,e.enter("attentionSequence"),m(v))}function m(v){if(v===f)return e.consume(v),m;const w=e.exit("attentionSequence"),y=y4(v),_=!y||y===Bu.characterGroupPunctuation&&!!u||s.includes(v),C=!u||u===Bu.characterGroupPunctuation&&!!y||s.includes(l),M=w.end.offset-w.start.offset>=2&&mg(l)&&xR(v),N=C||M;return w._open=_,w._close=N,t(v)}},CR={name:"cjkFriendlyAttention",resolveAll:pg.resolveAll,tokenize:_R},bR={text:{[Ve.asterisk]:CR}};function Bh(){return bR}const kR=function(e){if(e!==Ve.backslash)return!0;const t=this.events.at(-1);return t===void 0?!1:t[1].type===sn.characterEscape},SR=function(e,t,n){return o;function o(_){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},v,u)(_):oi(_)?(e.enter(sn.lineEnding),e.consume(_),e.exit(sn.lineEnding),l):f(_)}function u(_){return e.check({partial:!0,tokenize:y},n,f)(_)}function f(_){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||oi(_)?(e.exit("mathTextData"),l(_)):(e.consume(_),m)}function v(_){return e.exit("mathText"),t(_)}function w(_,C,I){return M;function M(L){return L!==Ve.backslash?I(L):(_.enter("mathTextSequence"),_.consume(L),N)}function N(L){return L!==Ve.rightParenthesis?I(L):(_.consume(L),_.exit("mathTextSequence"),C)}}function y(_,C,I){return M;function M(L){return L!==Ve.backslash?I(L):(_.enter(sn.chunkString),_.consume(L),N)}function N(L){return L!==Ve.leftParenthesis?I(L):(_.consume(L),_.exit(sn.chunkString),C)}}};function Zh(e,t,n){const o=function(s,l,u){const f=this;let p=!1;const m=f.events.at(-1),v=m?.[1].type===sn.linePrefix?m[2].sliceSerialize(m[1],!0).length:0;return w;function w(H){return H!==e?u(H):(s.enter("mathFlow"),s.enter("mathFlowFence"),s.enter("mathFlowFenceSequence"),s.consume(H),y)}function y(H){return H!==t?u(H):(s.consume(H),s.exit("mathFlowFenceSequence"),s.exit("mathFlowFence"),e===Ve.dollarSign?_:C)}function _(H){return H===Ve.dollarSign?u(H):C(H)}function C(H){return H===Ve.eof?u(H):H===e&&(e!==Ve.dollarSign||!p)?s.attempt({partial:!0,tokenize:B},W,I)(H):oi(H)?f.interrupt&&e===Ve.dollarSign?l(H):s.attempt(ER,M,u)(H):N(H)}function I(H){return e===Ve.backslash?s.check({partial:!0,tokenize:K},u,L)(H):u(H)}function M(H){return s.attempt({partial:!0,tokenize:B},W,v?uu(s,C,sn.linePrefix,v+1):C)(H)}function N(H){return s.enter("mathFlowValue"),p=H===Ve.backslash,s.consume(H),A}function L(H){return s.enter("mathFlowValue"),p=!1,s.consume(H),$}function $(H){return H===e?(s.consume(H),A):A(H)}function A(H){return H===Ve.eof||H===e||oi(H)?(s.exit("mathFlowValue"),C(H)):(p=H===Ve.backslash?!p:!1,s.consume(H),A)}function W(H){return s.exit("mathFlow"),l(H)}function B(H,ee,Z){return uu(H,he,sn.linePrefix,Bu.tabSize);function he(se){return se!==e?Z(se):(H.enter("mathFlowFence"),H.enter("mathFlowFenceSequence"),H.consume(se),me)}function me(se){return se!==n?Z(se):(H.consume(se),H.exit("mathFlowFenceSequence"),uu(H,ne,sn.whitespace))}function ne(se){return se!==Ve.eof&&!oi(se)?Z(se):(H.exit("mathFlowFence"),ee(se))}}function K(H,ee,Z){return he;function he(ne){return ne!==e?Z(ne):(H.enter(sn.chunkString),H.consume(ne),me)}function me(ne){return ne!==t?Z(ne):(H.consume(ne),H.exit(sn.chunkString),ee)}}};return{concrete:!0,name:e===Ve.dollarSign?"dollarMathFlow":"backslashMathFlow",tokenize:o}}const jR=function(e,t,n){const o=this;return s;function s(u){return u===Ve.eof?t(u):oi(u)?(e.enter(sn.lineEnding),e.consume(u),e.exit(sn.lineEnding),l):n(u)}function l(u){return o.parser.lazy[o.now().line]?n(u):t(u)}},ER={partial:!0,tokenize:jR},MR={name:"backslashMathText",previous:kR,tokenize:SR},IR=Zh(Ve.backslash,Ve.leftSquareBracket,Ve.rightSquareBracket),OR=Zh(Ve.dollarSign,Ve.dollarSign,Ve.dollarSign),LR={flow:{[Ve.backslash]:IR,[Ve.dollarSign]:OR},text:{[Ve.backslash]:MR}};function TR(){return LR}function zR(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function s6(e){const t=this.resume(),n=this.sliceSerialize(e),o=this.stack.at(-1);o.url=zR(n)?gg(n.replaceAll("\\","\\\\")):t}function Wh(){return{exit:{resourceDestinationString:s6,definitionDestinationString:s6}}}const Uh={singleTilde:!1};function qh(e){return Vh(_6(e,{extensions:[C6(Uh),Bh()],mdastExtensions:[b6(),Wh()]}),e)}function PR(e){return Vh(_6(e,{extensions:[C6(Uh),Bh(),vg(),TR()],mdastExtensions:[b6(),wg(),Wh()]}),e)}const NR="_block_19vyo_4",RR="_bannerWrap_19vyo_24",AR="_banner_19vyo_24",FR="_infostring_19vyo_45",DR="_action_19vyo_56",$R="_copyButton_19vyo_62",HR="_content_19vyo_74",VR="_plain_19vyo_103",BR="_card_19vyo_107",ZR="_numbered_19vyo_122",Hn={block:NR,bannerWrap:RR,banner:AR,infostring:FR,action:DR,copyButton:$R,content:HR,plain:VR,card:BR,numbered:ZR},WR={className:"shiki css-variables",style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:0},UR=32;function a6(e,t){return c.jsxs(S.Fragment,{children:[t>0&&`
173
+ `,c.jsx("span",{className:"line",children:e.map((n,o)=>c.jsx("span",{style:n.style,children:n.text},o))})]},t)}function Gh({code:e,lang:t,streaming:n,className:o,contentRef:s,lineNumbers:l=!1,showHeader:u=!0,copyLabel:f,copiedLabel:p,toolbarLabels:m,wrap:v}){const w=e.endsWith(`
174
+ `)?e.slice(0,-1):e,y=l?w.split(`
175
+ `):void 0,_=S.useRef(null),C=Ah(_,t),I=S.useSyncExternalStore(h2,pi,pi),M=S.useRef(null),N=S.useRef(null),L=S.useRef(!1),$=S.useMemo(()=>{if(!C){M.current=null,N.current=null,L.current=!1;return}if(n!==!0){const T=N.current;if(T!==null&&T.code===w&&T.lang===t)return L.current=!0,T.body;M.current=null,N.current=null,L.current=!0;return}L.current&&(M.current=null,N.current=null,L.current=!1),M.current??=new Rz;const me=M.current.updateFrame(w,t);if(me===void 0){N.current=null;return}const ne=N.current;if(ne?.frame===me&&ne.code===w&&ne.lang===t)return ne.body;const se=ne?.generation===me.generation,Ie=se?[...ne.groups]:[];let xe=se?[...ne.pending]:[],Ne=se?ne.nextLine:0;for(const T of me.appended){if(xe.push(a6(T,Ne)),Ne+=1,xe.length!==UR)continue;const D=Ne-xe.length;Ie.push(c.jsx(S.Fragment,{children:xe},D)),xe=[]}const ie=me.tail.map((T,D)=>a6(T,Ne+D)),le=c.jsx(S.Fragment,{children:[...xe,...ie]},Ne-xe.length),ae=c.jsx("pre",{...WR,children:c.jsxs("code",{children:[Ie,le]})});return N.current={code:w,lang:t,generation:me.generation,frame:me,groups:Ie,pending:xe,nextLine:Ne,body:ae},ae},[n,C,w,t,I]),A=S.useMemo(()=>C&&n!==!0&&$===void 0?zz(w,t):void 0,[n,C,$,w,t,I]),[W,B]=S.useState(!1),[K,H]=S.useState(!0),ee=v??K,Z=S.useCallback(()=>{if(W)return;const me=_.current?.querySelector("pre")?.textContent??w;Xa(me).then(ne=>{ne&&(B(!0),window.setTimeout(()=>{B(!1)},1e3))})},[W,w]),he=$!==void 0?$:A===void 0?c.jsx("pre",{className:Hn.plain,children:c.jsx("code",{children:y===void 0?w:y.map((me,ne)=>c.jsxs(S.Fragment,{children:[ne>0&&`
176
+ `,c.jsx("span",{className:"line",children:me})]},ne))})}):c.jsx("div",{dangerouslySetInnerHTML:{__html:A}});return c.jsxs("div",{ref:_,className:pe(Hn.block,"md-code-block",l&&Hn.numbered,m!==void 0&&Hn.card,o),"data-line-numbers":l||void 0,"data-code-wrap":m===void 0?void 0:ee,style:y===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(y.length).length)}ch`},children:[u&&c.jsx("div",{className:Hn.bannerWrap,children:m!==void 0?c.jsx(g2,{lang:t,labels:m,copyLabel:f,copiedLabel:p,copied:W,wrapped:ee,onCopy:Z,onWrap:v===void 0?()=>{H(me=>!me)}:void 0}):c.jsxs("div",{className:Hn.banner,"data-code-block-banner":!0,children:[c.jsx("div",{className:Hn.infostring,children:t??""}),c.jsx("div",{className:Hn.action,children:c.jsx("button",{type:"button",className:Hn.copyButton,onClick:Z,children:W?p:f})})]})}),c.jsx("div",{ref:s,className:Hn.content,"data-code-block-content":!0,children:he})]})}function Kh(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 o;try{o=decodeURIComponent(n)}catch{return}if(o.length===0||/[\u0000-\u001f\u007f]/.test(o)||/^[\\/]{2}/.test(o)||/^[a-z][a-z\d+.-]*:/i.test(o)&&!/^[a-z]:[\\/]/i.test(o))return;const s=t<0?/:(\d+)(?::\d+|-(\d+))?$/.exec(n):null;if(s!==null&&(o=o.slice(0,-s[0].length)),o.length===0)return;const l=s??(t<0?null:/^L(\d+)(?:-L(\d+))?$/.exec(e.slice(t+1)));if(l===null)return{path:o};const u=Number(l[1]),f=l[2]===void 0?u:Number(l[2]);return!Number.isSafeInteger(u)||!Number.isSafeInteger(f)||u<1||f<u?{path:o}:{path:o,line:u}}let qR=0;const Yh=()=>++qR;function v2(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 GR(e){const t={};for(const n of e.split(";")){const o=n.indexOf(":");if(o===-1)continue;const l=n.slice(0,o).trim().replace(/-([a-z])/g,(u,f)=>f.toUpperCase());t[l]=n.slice(o+1).trim()}return t}function Jh(e,t){if(e.nodeType===Node.TEXT_NODE)return e.textContent;if(e.nodeType!==Node.ELEMENT_NODE)return null;const n=e,o={key:t};for(const l of n.attributes)l.name==="class"?o.className=l.value:l.name==="style"?o.style=GR(l.value):o[l.name]=l.value;const s=[...n.childNodes].map(Jh);return s.length===0?S.createElement(n.localName,o):S.createElement(n.localName,o,...s)}function y0(e,t){let n;try{n=x4.renderToString(e,{displayMode:t,throwOnError:!0})}catch(s){try{n=x4.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(Jh)}const Qh=S.createContext({});function KR({children:e,openExternalLink:t,openFile:n,fileImages:o,resolveLink:s}){const l=S.useMemo(()=>({openExternalLink:t,openFile:n,fileImages:o,resolveLink:s}),[t,n,o,s]);return c.jsx(Qh.Provider,{value:l,children:e})}function ml(){return S.useContext(Qh)}function Xh(e){try{switch(new URL(e).protocol){case"http:":case"https:":case"mailto:":return e;default:return""}}catch{return""}}const YR=()=>()=>{};function e9({href:e,glyph:t,children:n}){const{openExternalLink:o,resolveLink:s}=ml(),l=()=>s?.(e)?.href,u=S.useSyncExternalStore(s?.subscribe??YR,l,l),f=Xh(u??e);if(f==="")return c.jsx(c.Fragment,{children:n});const p=u===void 0&&["http:","https:"].includes(new URL(f).protocol),m=u!==void 0?()=>s?.(e)?.open():p&&o!==void 0?()=>o(f):void 0;return c.jsxs("a",{href:f,...p?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:m===void 0?void 0:v=>{v.button!==0||v.metaKey||v.ctrlKey||v.shiftKey||v.altKey||(v.preventDefault(),m())},children:[t&&c.jsx(qs,{kind:"url",href:f,className:At.linkIcon}),n]})}function JR({value:e}){const{resolveLink:t}=ml(),n=t?.autoLinkPattern;if(n===void 0)return e;const o=[];let s=0;for(const l of e.matchAll(n)){const u=l[0];u&&(o.push(e.slice(s,l.index)),o.push(c.jsx(e9,{href:u,glyph:!1,children:[u]},l.index)),s=l.index+u.length)}return s===0?e:(o.push(e.slice(s)),c.jsx(S.Fragment,{children:o}))}const QR="_backdrop_1d1a9_1",XR="_mask_1d1a9_11",eA="_image_1d1a9_18",tA="_close_1d1a9_29",ha={backdrop:QR,mask:XR,image:eA,close:tA};function t9({src:e,alt:t,labels:n,onClose:o}){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=f=>{f.key==="Escape"&&(f.stopPropagation(),o()),f.key==="Tab"&&(f.preventDefault(),s.current?.focus())};return window.addEventListener("keydown",u,!0),()=>{window.removeEventListener("keydown",u,!0),l.current?.focus()}},[o]),zn.createPortal(c.jsxs("div",{className:ha.backdrop,role:"dialog","aria-modal":"true","aria-label":n.dialog,children:[c.jsx("div",{className:ha.mask,"aria-hidden":"true",onMouseDown:o}),c.jsx("img",{className:ha.image,src:e,alt:t}),c.jsx("button",{ref:s,type:"button",className:ha.close,"aria-label":n.close,onClick:o,children:c.jsx(tl,{size:16})})]}),document.body)}const nA="_frame_8lv00_1",rA="_image_8lv00_11",oA="_status_8lv00_21",Du={frame:nA,image:rA,status:oA};function iA({src:e,alt:t,loadingLabel:n,failedLabel:o}){return c.jsx(sA,{src:e,alt:t,loadingLabel:n,failedLabel:o},e)}function sA({src:e,alt:t,loadingLabel:n,failedLabel:o}){const[s,l]=S.useState("loading");return c.jsxs("span",{className:Du.frame,children:[s!=="failed"&&c.jsx("img",{src:e,alt:t,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:Du.image,"data-ready":s==="ready"||void 0,onLoad:()=>{l("ready")},onError:()=>{l("failed")}}),s!=="ready"&&c.jsxs("span",{className:Du.status,role:"status",children:[s==="loading"&&c.jsx(Wf,{size:16}),c.jsx("span",{children:s==="loading"?n:o})]})]})}function aA(e){try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function lA(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 cA(e,t,n){const o=aA(Xh(S0(e)));if(o!==void 0)return o;const s=t?.resolve(e),l=s===void 0?void 0:lA(s);return l===void 0?void 0:v2(l,n)}function x0(){return{definitions:new Map,footnotes:new Map}}function Fa(e,t){for(const n of e){if(n.type==="definition"){const o=n.identifier.toUpperCase();t.definitions.has(o)||t.definitions.set(o,n)}else if(n.type==="footnoteDefinition"){const o=n.identifier.toUpperCase();t.footnotes.has(o)||t.footnotes.set(o,n)}"children"in n&&Fa(n.children,t)}}function _0(e,t){return e.map(n=>y2(n.node,n.key,t)).filter(n=>n!==null)}function w2(e,t){const n=[];for(const o of e)(t||n.length>0)&&n.push(`
177
+ `),n.push(o);return t&&e.length>0&&n.push(`
178
+ `),n}function n9(e,t){const n=[];for(const[o,s]of e.entries())if(s.type==="paragraph")n.push({paragraph:In(s.children,t)});else{const l=y2(s,o,t);l!==null&&n.push({element:l})}return n}function In(e,t){return e.map((n,o)=>y2(n,o,t))}function y2(e,t,n){switch(e.type){case"text":return n.inLink?e.value:c.jsx(JR,{value:e.value},t);case"paragraph":return c.jsx("p",{children:In(e.children,n)},t);case"heading":return S.createElement(`h${e.depth}`,{key:t},...In(e.children,n));case"blockquote":return c.jsx("blockquote",{children:w2(In(e.children,{...n,inBlockquote:!0}).filter(o=>o!==null),!0)},t);case"thematicBreak":return c.jsx("hr",{},t);case"break":return c.jsxs(S.Fragment,{children:[c.jsx("br",{}),`
179
+ `]},t);case"strong":return c.jsx("strong",{children:In(e.children,n)},t);case"emphasis":return c.jsx("em",{children:In(e.children,n)},t);case"delete":return c.jsx("del",{children:In(e.children,n)},t);case"inlineCode":{const o=e.value.replace(/\r?\n|\r/g," "),s=mA(o);if(s!==void 0)return c.jsx("code",{children:s9(s,[o],"link")},t);const l=n.inLink===!0?void 0:n.fileMentions?.resolve(o);return l!==void 0?c.jsx("code",{children:c.jsxs("button",{type:"button",className:At.fileMention,title:l.title,"aria-label":l.label,onClick:l.open,children:[c.jsx(qs,{kind:Na(o),className:At.linkIcon}),o]})},t):c.jsx("code",{children:o},t)}case"html":return e.value;case"code":return uA(e,t,n);case"math":return c.jsx(S.Fragment,{children:y0(e.value,!0)},t);case"inlineMath":return c.jsx(S.Fragment,{children:y0(e.value,!1)},t);case"list":return fA(e,t,n);case"listItem":return o9(e,r9(e),t,n);case"table":return hA(e,t,n);case"link":return a9(e.url,In(e.children,{...n,inLink:!0}),t,!i9(e.children),n.streaming);case"linkReference":return wA(e,t,n);case"image":return l9(e.url,e.alt??"",t,n);case"imageReference":return yA(e,t,n);case"footnoteReference":return xA(e,t,n);case"definition":case"footnoteDefinition":return null;default:return null}}function uA(e,t,n){const o=e.lang??void 0;if(e.value==="")return c.jsx("pre",{children:c.jsx("code",{className:o===void 0?void 0:`language-${o}`})},t);const s=o===void 0?void 0:/^[\w-]+/.exec(o)?.[0];return!n.streaming&&s==="math"?c.jsx(S.Fragment,{children:y0(`${e.value}
180
+ `,!0)},t):c.jsx(Gh,{code:`${e.value}
181
+ `,lang:s,streaming:n.streaming,copyLabel:n.labels.code.copyLabel,copiedLabel:n.labels.code.copiedLabel,toolbarLabels:n.labels.code.toolbarLabels},t)}function dA(e){return(e.spread??!1)||e.children.some(r9)}function r9(e){return e.spread??e.children.length>1}function fA(e,t,n){const o=dA(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)=>o9(l,o,u,n)))}function o9(e,t,n,o){const s=n9(e.children,o),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 v="paragraph"in m;(t||p!==0||!v)&&u.push(`
182
+ `),v?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 f=s[s.length-1];return f!==void 0&&(t||!("paragraph"in f))&&u.push(`
183
+ `),c.jsx("li",{className:l?"task-list-item":void 0,children:u},n)}function hA(e,t,n){const o=e.align??null,[s,...l]=e.children,f=(o===null?s?.children.length??0:o.length)>=4&&n.inBlockquote!==!0;return c.jsx("div",{className:pe(At.tableScroll,f?"md-table-wide":At.tableFill),tabIndex:f?0:void 0,children:c.jsxs("table",{children:[s!==void 0&&c.jsx("thead",{children:l6(s,"th",o,0,n)}),l.length>0&&c.jsx("tbody",{children:l.map((p,m)=>l6(p,"td",o,m+1,n))})]})},t)}function l6(e,t,n,o,s){const l=n===null?e.children.length:n.length,u=[];for(let f=0;f<l;f++){const p=e.children[f],m=n?.[f];u.push(S.createElement(t,{key:f,style:m==null?void 0:{textAlign:m}},...p===void 0?[]:In(p.children,s)))}return c.jsx("tr",{children:u},o)}function i9(e){return e.length>0&&e.every(t=>t.type==="image"||t.type==="imageReference")}function s9(e,t,n,o=!0){return c.jsx(e9,{href:e,glyph:o,children:t},n)}function a9(e,t,n,o=!0,s=!1){const l=s?void 0:Kh(e);return l!==void 0?c.jsx(pA,{file:l,glyph:o,children:t},n):s9(S0(e),t,n,o)}function pA({file:e,glyph:t,children:n}){const{openFile:o,fileImages:s}=ml(),[l]=S.useState(Yh);if(o===void 0)return c.jsx(c.Fragment,{children:n});const u=t&&Na(e.path)==="image"?s:void 0,f=u?.resolve(e.path),p=f===void 0?void 0:v2(f,l),m=c.jsxs("button",{type:"button",className:pe(At.fileMention,At.fileLink),title:p===void 0?e.path:void 0,onClick:()=>{o(e.path,e.line===void 0?void 0:{line:e.line})},children:[t&&c.jsx(qs,{kind:Na(e.path),className:At.linkIcon}),n]});return p===void 0||u===void 0?m:c.jsx(r7,{inline:!0,anchor:m,content:c.jsxs(c.Fragment,{children:[c.jsx(iA,{src:p,alt:e.path,loadingLabel:u.labels.loading,failedLabel:u.labels.failed}),c.jsx("span",{className:At.previewName,children:e.path.split(/[\\/]/u).pop()})]})})}function mA(e){if(e.trim()===e)try{const t=new URL(e).protocol;return t==="http:"||t==="https:"?e:void 0}catch{return}}function l9(e,t,n,o){return c.jsx(gA,{destination:e,alt:t,pathImages:o.pathImages,streaming:o.streaming,inLink:o.inLink===!0},`${n}:${e}`)}function gA({destination:e,alt:t,pathImages:n,streaming:o,inLink:s}){const{fileImages:l}=ml(),[u]=S.useState(Yh),f=o?void 0:Kh(e),p=f===void 0?void 0:l?.resolve(f.path),m=p===void 0?cA(e,n,u):v2(p,u);return m===void 0?c.jsx("span",{className:At.imageAlt,children:t}):c.jsx(vA,{src:m,alt:t,destination:e,preview:s?void 0:l},m)}function vA({src:e,alt:t,destination:n,preview:o}){const[s,l]=S.useState(!1),[u,f]=S.useState(!1),p=S.useCallback(()=>{f(!1)},[]);if(s)return c.jsxs("span",{className:At.imageAlt,children:[o===void 0?"":`${o.labels.failed} · `,t||n]});const m=c.jsx("img",{className:At.image,src:e,alt:t,onError:()=>{l(!0)},loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"});return o===void 0?m:c.jsxs(c.Fragment,{children:[c.jsx("button",{type:"button",className:At.imageButton,title:o.labels.open,"aria-label":t?`${o.labels.open}: ${t}`:o.labels.open,onClick:()=>{f(!0)},children:m}),u&&c.jsx(t9,{src:e,alt:t,labels:o.labels,onClose:p})]})}function c9(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function wA(e,t,n){const o=n.targets.definitions.get(e.identifier.toUpperCase());if(o===void 0)return c.jsxs(S.Fragment,{children:["[",In(e.children,n),c9(e)]},t);const s=In(e.children,{...n,inLink:!0});return a9(o.url,s,t,!i9(e.children),n.streaming)}function yA(e,t,n){const o=n.targets.definitions.get(e.identifier.toUpperCase());return o===void 0?`![${e.alt??""}${c9(e)}`:l9(o.url,e.alt??"",t,n)}function xA(e,t,n){const o=e.identifier.toUpperCase(),s=n.footnoteCounts.get(o);return s===void 0&&n.footnoteOrder.push(o),n.footnoteCounts.set(o,(s??0)+1),c.jsx("sup",{children:String(n.footnoteOrder.indexOf(o)+1)},t)}function u9(e){const t=[];for(const n of e.footnoteOrder){const o=e.targets.footnotes.get(n);if(o===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=n9(o.children,e),f=u[u.length-1],p=u.map((m,v)=>"paragraph"in m?c.jsxs("p",{children:[m.paragraph,m===f&&c.jsxs(c.Fragment,{children:[" ",l]})]},`p-${v}`):m.element);(f===void 0||!("paragraph"in f))&&p.push(...l),t.push(c.jsx("li",{id:`user-content-fn-${S0(n.toLowerCase())}`,children:w2(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 _A(e,t,n,o){const s=PR(e),l=x0();Fa(s.children,l);const u={streaming:!1,labels:t,fileMentions:n,pathImages:o,targets:l,footnoteOrder:[],footnoteCounts:new Map},f=w2(_0(s.children.map((m,v)=>({node:m,key:m.position?.start.offset??-(v+1)})),u),!1),p=u9(u);return p===null?f:[...f,`
184
+ `,p]}class CA{constructor(t){this.labels=t}parser=new wR(qh);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=x0();frozenFootnoteOrder=[];frozenFootnoteCounts=new Map;lastText=null;lastRendered=[];render(t){if(t===this.lastText)return this.lastRendered;const{frozen:n,tail:o,generation:s}=this.parser.update(t);s!==this.generation&&(this.generation=s,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=x0(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const l=n.slice(this.frozenCount);Fa(l.map(v=>v.node),this.frozenTargets);const u={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(Fa(o.map(v=>v.node),u),l.length>0){const v={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,targets:u,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},w=[...this.frozenElements];for(const y of _0(l,v))w.length>0&&w.push(`
185
+ `),w.push(y);this.frozenElements=w,this.frozenCount=n.length}const f={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,targets:u,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},p=[...this.frozenElements];for(const v of _0(o,f))p.length>0&&p.push(`
186
+ `),p.push(v);const m=u9(f);return m!==null&&p.push(`
187
+ `,m),this.lastText=t,this.lastRendered=p,this.lastRendered}}const d9=S.memo(function({text:t,streaming:n=!1,labels:o,fileMentions:s,pathImages:l,variant:u="body"}){const f=S.useRef(null),p=S.useRef(o),m=S.useMemo(()=>n?((f.current===null||p.current!==o)&&(f.current=new CA(o),p.current=o),f.current.render(t)):(f.current=null,_A(t,o,s,l)),[t,n,o,s,l]);return c.jsx("div",{className:pe(At.markdown,u==="compact"&&At.compact),"data-markdown-variant":u==="compact"?u:void 0,children:m})}),bA="_block_ca4yc_1",kA="_answer_ca4yc_13",SA="_sources_ca4yc_40",jA="_source_ca4yc_40",EA="_sourceLink_ca4yc_54",MA="_linkIcon_ca4yc_65",IA="_snippet_ca4yc_78",OA="_published_ca4yc_86",LA="_truncated_ca4yc_92",TA="_empty_ca4yc_98",zA="_fetch_ca4yc_104",PA="_fetchUrl_ca4yc_110",NA="_fetchMeta_ca4yc_126",RA="_status_ca4yc_132",Rt={block:bA,answer:kA,sources:SA,source:jA,sourceLink:EA,linkIcon:MA,snippet:IA,published:OA,truncated:LA,empty:TA,fetch:zA,fetchUrl:PA,fetchMeta:NA,status:RA};function AA(e){try{const{protocol:t}=new URL(e);return t==="http:"||t==="https:"?e:void 0}catch{return}}function FA(e,t){if(t!==void 0&&t!=="")return t;try{const{hostname:n}=new URL(e);return n===""?e:n}catch{return e}}function f9({url:e,label:t,className:n}){const o=AA(e);return o===void 0?c.jsx("span",{className:n,children:t}):c.jsxs("a",{className:n,href:o,target:"_blank",rel:"noopener noreferrer",children:[c.jsx(qs,{kind:"url",href:o,className:Rt.linkIcon}),t]})}function DA({source:e,ordinal:t}){return c.jsxs("li",{className:Rt.source,value:t,children:[c.jsx(f9,{url:e.url,label:FA(e.url,e.title),className:Rt.sourceLink}),e.snippet!==void 0&&e.snippet!==""&&c.jsx("div",{className:Rt.snippet,children:e.snippet}),e.publishedAt!==void 0&&e.publishedAt!==""&&c.jsx("div",{className:Rt.published,children:e.publishedAt})]})}function $A({answer:e,sources:t,truncated:n,labels:o,className:s}){const l=(e===void 0||e==="")&&t.length===0;return c.jsxs("div",{className:pe(Rt.block,s),"data-web":"search",children:[e!==void 0&&e!==""&&c.jsx("div",{className:Rt.answer,children:c.jsx(d9,{text:e,labels:o.markdown})}),l?c.jsx("div",{className:Rt.empty,children:o.noResults}):c.jsx("ol",{className:Rt.sources,children:t.map((u,f)=>c.jsx(DA,{source:u,ordinal:f+1},f))}),n&&c.jsx("div",{className:Rt.truncated,children:o.sourcesTruncated})]})}function HA({url:e,statusCode:t,truncated:n,labels:o,className:s}){return c.jsxs("div",{className:pe(Rt.block,Rt.fetch,s),"data-web":"fetch",children:[c.jsx(f9,{url:e,label:e,className:Rt.fetchUrl}),c.jsxs("div",{className:Rt.fetchMeta,children:[c.jsxs("span",{className:Rt.status,children:[o.http," ",t]}),n&&c.jsx("span",{className:Rt.truncated,children:o.contentTruncated})]})]})}function VA(e){return e.kind==="search"?c.jsx($A,{...e}):c.jsx(HA,{...e})}const BA="_root_74oxc_1",ZA="_toggle_74oxc_5",WA="_body_74oxc_20",$u={root:BA,toggle:ZA,body:WA},c6=2e4;function UA({label:e,payload:t,defaultOpen:n=!1,truncatedLabel:o}){const[s,l]=S.useState(n),u=S.useMemo(()=>{if(!s)return"";let f;try{f=JSON.stringify(t,null,2)??String(t)}catch{f=String(t)}return f.length>c6?`${f.slice(0,c6)}
188
+ ${o(f.length)}`:f},[s,t,o]);return c.jsxs("div",{className:$u.root,children:[c.jsxs("button",{type:"button",className:$u.toggle,onClick:()=>{l(f=>!f)},children:[s?"▾":"▸"," ",e]}),s&&c.jsx("pre",{className:$u.body,children:u})]})}function ks(e){switch(e.type){case"text":case"inlineCode":case"code":return e.value??"";case"image":case"imageReference":return e.alt??"";case"break":return`
189
+ `;case"html":return e.value??"";default:return e.children?.map(ks).join("")??""}}function ya(e){return e.replace(/\s+/g," ").trim()}function ei(e){switch(e.type){case"root":case"blockquote":return e.children?.map(ei).filter(Boolean).join(`
190
+
191
+ `)??"";case"paragraph":case"heading":return ya(ks(e));case"code":return e.value?.trim()??"";case"list":return e.children?.map(ei).filter(Boolean).join(`
192
+ `)??"";case"listItem":return e.children?.map(ei).filter(Boolean).join(" ")??"";case"table":return e.children?.map(ei).filter(Boolean).join(`
193
+ `)??"";case"tableRow":return e.children?.map(ei).join(" ")??"";case"tableCell":return ya(ks(e));case"html":return e.value??"";case"thematicBreak":case"definition":return"";default:return ya(ks(e))}}function h9(e){if(e.type==="paragraph"){const t=ya(ks(e));if(t!=="")return t}for(const t of e.children??[]){const n=h9(t);if(n!==void 0)return n}}function qA(e){return ei(e).split(`
194
+ `).map(t=>t.trim()).join(`
195
+ `).replace(/\n{3,}/g,`
196
+
197
+ `).trim()}function GA(e,t={}){const{mode:n="all"}=t,o=qh(e),s=qA(o);switch(n){case"all":return s;case"first-line":return s.split(`
198
+ `).find(l=>l!=="")??"";case"first-paragraph":return h9(o)??s.split(`
199
+ `).find(l=>l!=="")??""}}const gl=()=>`dsh_plugin_art_${S.useId().replaceAll(":","")}`,KA=({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"})]}),YA=({size:e=36,className:t})=>{const n=gl();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"})]})})]})},JA=({size:e=36,className:t})=>{const n=gl();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"})]})]})]})},QA=({size:e=36,className:t})=>{const n=gl();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"})})})]})},XA=({size:e=36,className:t})=>{const n=gl();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 eF({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 tF({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 nF=Object.freeze(Object.defineProperty({__proto__:null,BrandWordmark:vk,Button:r0,CODE_HIGHLIGHT_EXTENSIONS:Fz,Checkbox:cC,CodeBlock:Gh,ConnectionIndicator:mk,DEFAULT_DIFF_MAX_LINES:Dh,DEFAULT_READ_MAX_LINES:Fh,DEFAULT_SEARCH_MAX_LINES:Hh,DEFAULT_TERMINAL_MAX_LINES:Ph,DiffBlock:JN,DisclosureRow:I_,FISH_LOGO_PATH:i7,FISH_LOGO_VIEWBOX:vs,FileTypeIcon:HL,FishLogo:gk,GuideArtworkBrowser:eF,GuideArtworkFiles:tF,HoverCard:r7,ICON_MEDIUM_STROKE:J,ICON_REGULAR_STROKE:Y,IconAgentPresetOutlineMedium:Yw,IconAgentPresetOutlineRegular:Kw,IconAlarmClockOutlineMedium:Tx,IconAlarmClockOutlineRegular:Lx,IconApiOutlineMedium:Fy,IconApiOutlineRegular:Ay,IconArchiveCheckOutlineMedium:l_,IconArchiveCheckOutlineRegular:a_,IconArchiveOffOutlineMedium:s_,IconArchiveOffOutlineRegular:i_,IconArchiveOutlineMedium:Px,IconArchiveOutlineRegular:zx,IconBranchOutlineMedium:yw,IconBranchOutlineRegular:ww,IconBrowseOutlineMedium:Qw,IconBrowseOutlineRegular:Jw,IconCheckCircleFillMedium:dy,IconCheckCircleFillRegular:uy,IconCheckCircleOutlineMedium:Ux,IconCheckCircleOutlineRegular:N8,IconCheckOutlineMedium:vw,IconCheckOutlineRegular:mi,IconChecklistOutlineMedium:mx,IconChecklistOutlineRegular:px,IconChevronDownOutlineMedium:xw,IconChevronDownOutlineRegular:af,IconChevronLeftOutlineMedium:_w,IconChevronLeftOutlineRegular:cf,IconChevronRightOutlineMedium:bw,IconChevronRightOutlineRegular:Cw,IconChevronUpOutlineMedium:jw,IconChevronUpOutlineRegular:hf,IconChevronsUpDownOutlineMedium:o_,IconChevronsUpDownOutlineRegular:r_,IconClockOutlineMedium:ax,IconClockOutlineRegular:sx,IconCloseCircleFillMedium:Ow,IconCloseCircleFillRegular:Iw,IconCloseFillMedium:Mw,IconCloseFillRegular:gf,IconCloseOutlineMedium:Ew,IconCloseOutlineRegular:tl,IconCodeOutlineMedium:Py,IconCodeOutlineRegular:zy,IconCompactOutlineMedium:Bx,IconCompactOutlineRegular:Vx,IconCompareSplitOutlineMedium:Dx,IconCompareSplitOutlineRegular:Fx,IconContextInjectionOutlineMedium:ey,IconContextInjectionOutlineRegular:Xw,IconCopyOutlineMedium:Lw,IconCopyOutlineRegular:F0,IconCordisPluginOutlineMedium:Ry,IconCordisPluginOutlineRegular:Ny,IconDarkOutlineMedium:ex,IconDarkOutlineRegular:Xy,IconDataOutlineMedium:rx,IconDataOutlineRegular:l8,IconDatabaseOutlineMedium:ix,IconDatabaseOutlineRegular:ox,IconDeliverDocMedium:Zw,IconDeliverDocRegular:Bw,IconDislikeFillMedium:$w,IconDislikeFillRegular:Dw,IconDislikeOutlineMedium:Fw,IconDislikeOutlineRegular:Aw,IconDownloadOutlineMedium:jy,IconDownloadOutlineRegular:Sy,IconEditOutlineMedium:Uw,IconEditOutlineRegular:Ww,IconEllipsisOutlineMedium:mw,IconEllipsisOutlineRegular:pw,IconEnhanceOutlineMedium:sy,IconEnhanceOutlineRegular:iy,IconFileDiffOutlineRegular:g_,IconFlatListOutlineMedium:e_,IconFlatListOutlineRegular:Xx,IconFolderCloseMedium:Gy,IconFolderCloseRegular:qy,IconFolderOpenMedium:Uy,IconFolderOpenOutlineMedium:Zy,IconFolderOpenOutlineRegular:By,IconFolderOpenRegular:Wy,IconFollowsystemOutlineMedium:nx,IconFollowsystemOutlineRegular:tx,IconFullscreenOutlineMedium:Ty,IconFullscreenOutlineRegular:Ly,IconGaugeOutlineMedium:cx,IconGaugeOutlineRegular:lx,IconGlobeOutlineMedium:uw,IconGlobeOutlineRegular:cw,IconGoalOutlineMedium:yx,IconGoalOutlineRegular:wx,IconInfoOutlineMedium:Mx,IconInfoOutlineRegular:x8,IconInspectOutlineMedium:bx,IconInspectOutlineRegular:Cx,IconLightOutlineMedium:Qy,IconLightOutlineRegular:Jy,IconLikeFillMedium:Rw,IconLikeFillRegular:Nw,IconLikeOutlineMedium:Pw,IconLikeOutlineRegular:zw,IconLinkOutlineMedium:ny,IconLinkOutlineRegular:ty,IconListPenOutlineMedium:vx,IconListPenOutlineRegular:gx,IconLoadingOutlineMedium:ky,IconLoadingOutlineRegular:Wf,IconMicrophoneOutlineMedium:f_,IconMicrophoneOutlineRegular:d_,IconNewChatOutlineMedium:sw,IconNewChatOutlineRegular:iw,IconNowrapFillMedium:Rx,IconNowrapFillRegular:E8,IconPanelLeftOutlineMedium:hw,IconPanelLeftOutlineRegular:X6,IconPaperPlaneOutlineMedium:yy,IconPaperPlaneOutlineRegular:wy,IconPaperclipOutlineMedium:by,IconPaperclipOutlineRegular:Cy,IconPauseOutlineMedium:Oy,IconPauseOutlineRegular:Iy,IconPersonalizationOutlineMedium:$y,IconPersonalizationOutlineRegular:Dy,IconPinFillMedium:Qx,IconPinFillRegular:Jx,IconPinOutlineMedium:Yx,IconPinOutlineRegular:Kx,IconPlanOutlineMedium:Hx,IconPlanOutlineRegular:$x,IconPlayOutlineMedium:My,IconPlayOutlineRegular:Ey,IconPluginPinwheelOutlineMedium:Ox,IconPluginPinwheelOutlineRegular:Ix,IconPlusOutlineMedium:gw,IconPlusOutlineRegular:nf,IconProjectAddOutlineMedium:Vy,IconProjectAddOutlineRegular:Hy,IconQuestionOutlineMedium:Ex,IconQuestionOutlineRegular:jx,IconQueueOutlineMedium:hx,IconQueueOutlineRegular:fx,IconRefreshOutlineMedium:Tw,IconRefreshOutlineRegular:xf,IconRightUpOutlineMedium:oy,IconRightUpOutlineRegular:ry,IconSearchOutlineMedium:lw,IconSearchOutlineRegular:aw,IconSendOutlineMedium:dx,IconSendOutlineRegular:ux,IconSettingsOutlineMedium:fw,IconSettingsOutlineRegular:dw,IconShareOutlineMedium:Vw,IconShareOutlineRegular:Hw,IconShieldOutlineMedium:Wx,IconShieldOutlineRegular:Zx,IconSkillOutlineMedium:Sx,IconSkillOutlineRegular:kx,IconSlidersTwoOutlineMedium:u_,IconSlidersTwoOutlineRegular:c_,IconSparkleMedium:_x,IconSparkleRegular:xx,IconStopFillMedium:_y,IconStopFillRegular:xy,IconThinkOutlineMedium:Gw,IconThinkOutlineRegular:qw,IconTrashOutlineMedium:ly,IconTrashOutlineRegular:ay,IconTreeCornerMedium:Yy,IconTreeCornerRegular:Ky,IconTriangleRightFillMedium:Sw,IconTriangleRightFillRegular:kw,IconUnarchiveOutlineMedium:Gx,IconUnarchiveOutlineRegular:qx,IconUserOutlineMedium:my,IconUserOutlineRegular:py,IconUsersOutlineMedium:vy,IconUsersOutlineRegular:gy,IconWarningOutlineMedium:cy,IconWarningOutlineRegular:Rf,IconWarningTriangleOutlineMedium:hy,IconWarningTriangleOutlineRegular:fy,IconWorkspaceTreeOutlineMedium:n_,IconWorkspaceTreeOutlineRegular:t_,IconWrapFillMedium:Ax,IconWrapFillRegular:I8,IconWrapLinesOutlineMedium:Nx,IconWrapLinesOutlineRegular:S8,ImageLightbox:t9,InlineEditor:gC,Input:hC,JsonBlock:UA,JsonTree:OP,LinkIconMedium:qs,LinkIconRegular:bT,MarkdownDelegateProvider:KR,MarkdownText:d9,Menu:e7,MenuGroup:Cb,MenuItemButton:vb,MenuSurface:Ia,Modal:o7,PathLabel:Q_,PermissionIconFullAccessMedium:bk,PermissionIconFullAccessRegular:Ck,PermissionIconReadOnlyMedium:yk,PermissionIconReadOnlyRegular:wk,PermissionIconWorkspaceWriteMedium:_k,PermissionIconWorkspaceWriteRegular:xk,PhoneSidebarProvider:VC,Pill:H0,PluginArtworkDefault:XA,PluginArtworkLoop:YA,PluginArtworkSearch:QA,PluginArtworkSubagent:JA,PluginArtworkTerminal:KA,ReadBlock:ON,ReferenceIconMedium:aL,ReferenceIconRegular:xh,RemotePluginIcon:q8,RiskConfirmation:ok,SHIELD_OUTLINE_PATH:K6,SearchBlock:pR,SegmentedControl:sC,SegmentedTabs:Z_,SettingsForm:sz,SettingsFormModel:Cz,SettingsSecretField:yz,SettingsValueField:wz,ShortcutKeys:zs,StateDot:$0,Switch:eC,Tag:V0,TerminalBlock:dN,TextShimmer:n0,Toast:YT,Tooltip:Fr,WebBlock:VA,classifyFileType:hl,classifyLinkPath:Na,closeTopModal:IC,diffTotals:GN,extractMarkdownPlainText:GA,fileExtension:f2,fileSizeText:XT,focusWithoutRing:di,isBehindModal:J8,isDarwinDesktop:Zz,isMobileDevice:Y8,languageForPath:g0,modalSelector:Z0,observeComposition:nl,observeStickyMenuGroups:bb,pointerModality:n7,projectUserText:VT,rankByName:Bz,relativeTime:Hz,settingsNumberField:xz,settingsTextField:_z,shouldAutoFocusTextInput:MC,useAnchoredMaxHeight:Sb,useAnchoredPosition:jb,useCodeHighlighter:$z,useCopyFeedback:Vs,useDismissOnOutsidePointer:t7,useModalLayer:W0,usePhoneSidebar:gi,useSustainedRecovery:QT,writeClipboard:Xa},Symbol.toStringTag,{value:"Module"}));function x2(e,t){throw new Error(`${t}: unhandled ${JSON.stringify(e)}`)}function pr(e,t){const n=e.nodes[t];if(n===void 0)throw new Error(`layout: unknown node ${t}`);return n}function Xe(e,t){const n=pr(e,t);if(n.kind!=="pane")throw new Error(`layout: ${t} is not a pane`);return n}function vl(e,t){const n=pr(e,t);if(n.kind!=="split")throw new Error(`layout: ${t} is not a split`);return n}function _o(e,t){const n=e.tabs[t];if(n===void 0)throw new Error(`layout: unknown tab ${t}`);return n}function yi(e){if(e.host!=="float"||e.rect===void 0)throw new Error(`layout: ${e.id} is not floating`);return e.rect}function _2(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 p9(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 wl(e,t){for(const n of Object.values(e.nodes))if(n.kind==="split"&&n.children.includes(t))return n}function Tn(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 yl(e){const t=[],n=o=>{const s=pr(e,o);if(s.kind==="pane"){t.push(s.id);return}for(const l of s.children)n(l)};return n(e.rootId),t}function m9(e){const t=e.reduce((n,o)=>n+o,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 Ds(e){return Object.entries(e)}function rF(e){return Object.keys(e)}function mt(e,t){const n={};for(const[o,s]of Ds(e.nodes))o in t||(n[o]=s);for(const[o,s]of Ds(t))s!==null&&(n[o]=s);return{...e,nodes:n}}function ho(e,t){const n={};for(const[o,s]of Ds(e.tabs))o in t||(n[o]=s);for(const[o,s]of Ds(t))s!==null&&(n[o]=s);return{...e,tabs:n}}function $r(e,t,n){const o=Math.max(0,Math.min(t,e.length));return[...e.slice(0,o),n,...e.slice(o)]}function Zn(e,t){return[...e.slice(0,t),...e.slice(t+1)]}function C2(e,t){const n=Zn(e,t);if(n.length!==0)return n[Math.max(0,t-1)]}function wo(e,t,n){return{...e,tabs:t,activeTabId:n}}function b2(e,t,n){const o=wl(e,t);if(o===void 0){if(e.rootId!==t)throw new Error(`layout: ${t} is neither rooted nor parented`);return{...e,rootId:n}}const s=o.children.map(l=>l===t?n:l);return mt(e,{[o.id]:{...o,children:s}})}function g9(e,t){let n=pr(e,e.rootId);for(;n.kind==="split";){const o=t(n);if(o===void 0)throw new Error(`layout: split ${n.id} has no children`);n=pr(e,o)}return n.id}function v9(e){return g9(e,t=>t.children[0])}function w9(e){return g9(e,t=>t.axis==="row"?t.children.at(-1):t.children[0])}function ln(e,t){const n={};for(const o of t)n[o]=Xe(e,o).activeTabId;return{type:"restoreFocus",activePaneId:e.activePaneId,floats:e.floats,paneActiveTabs:n}}function k2(e,t){return[...e.filter(n=>n!==t),t]}function xa(e,t){return e.activePaneId!==t?e:{...e,activePaneId:v9(e)}}function oF(e){return{kind:"pane",id:e,host:"dock",tabs:[],activeTabId:void 0,rect:void 0}}function Da(e,t){if(e.nodes[t]!==void 0)throw new Error(`layout: node ${t} already exists`)}function S2(e,t){if(e.tabs[t]!==void 0)throw new Error(`layout: tab ${t} already exists`)}function iF(e,t){if(Xe(e,t.paneId).host!=="dock")throw new Error("layout: split requires a docked pane");Da(e,t.newPaneId);const o=oF(t.newPaneId),s=wl(e,t.paneId);if(s!==void 0&&s.axis===t.axis){const f=s.children.indexOf(t.paneId),p=t.direction==="after"?f+1:f,m=$r(s.children,p,t.newPaneId),v=s.sizes.flatMap((w,y)=>y===f?[w/2,w/2]:[w]);return{state:mt(e,{[t.newPaneId]:o,[s.id]:{...s,children:m,sizes:v}}),inverse:[{type:"merge",paneId:t.newPaneId},{type:"resize",splitId:s.id,sizes:s.sizes}]}}Da(e,t.newSplitId);const l=b2(e,t.paneId,t.newSplitId),u=t.direction==="after"?[t.paneId,t.newPaneId]:[t.newPaneId,t.paneId];return{state:mt(l,{[t.newPaneId]:o,[t.newSplitId]:{kind:"split",id:t.newSplitId,axis:t.axis,children:u,sizes:[.5,.5]}}),inverse:[{type:"merge",paneId:t.newPaneId}]}}function sF(e,t){const n=Xe(e,t.paneId);if(n.tabs.length>0)throw new Error("layout: merge requires an empty pane");const o=ln(e,[]);if(n.host==="float"){const p=_2(e,t.paneId),m=mt({...e,floats:Zn(e.floats,p)},{[t.paneId]:null});return{state:xa(m,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"float",index:p}},o]}}const s=wl(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=Zn(s.children,l),m=m9(Zn(s.sizes,l)),v=mt(e,{[t.paneId]:null,[s.id]:{...s,children:p,sizes:m}});return{state:xa(v,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"child",parentId:s.id,index:l,sizes:s.sizes}},o]}}const u=s.children[1-l];if(u===void 0)throw new Error("layout: merge found a split without a sibling");const f=mt(b2(e,s.id,u),{[t.paneId]:null,[s.id]:null});return{state:xa(f,t.paneId),inverse:[{type:"insertPane",pane:n,tabs:[],attach:{mode:"wrap",targetId:u,split:s}},o]}}function aF(e,t){const n=Xe(e,t.paneId);if(n.host!=="dock")throw new Error("layout: openTab requires a docked pane");S2(e,t.tab.id);const o=ln(e,[n.id]);return{state:{...mt(ho(e,{[t.tab.id]:t.tab}),{[n.id]:wo(n,$r(n.tabs,t.index,t.tab.id),t.tab.id)}),activePaneId:n.id},inverse:[{type:"closeTab",tabId:t.tab.id},o]}}function lF(e,t){const n=Xe(e,t.paneId);if(n.host!=="dock")throw new Error("layout: insertTab requires a docked pane");S2(e,t.tab.id);const o=ln(e,[n.id]),s=$r(n.tabs,t.index,t.tab.id);return{state:mt(ho(e,{[t.tab.id]:t.tab}),{[n.id]:wo(n,s,n.activeTabId??t.tab.id)}),inverse:[{type:"closeTab",tabId:t.tab.id},o]}}function cF(e,t){const n=_o(e,t.tabId),o=Tn(e,t.tabId),s=o.tabs.indexOf(t.tabId),l=ln(e,[o.id]);if(o.host==="float"){const f=_2(e,o.id),p=ho(mt({...e,floats:Zn(e.floats,f)},{[o.id]:null}),{[t.tabId]:null});return{state:xa(p,o.id),inverse:[{type:"insertPane",pane:o,tabs:[n],attach:{mode:"float",index:f}},l]}}const u=o.activeTabId===t.tabId?C2(o.tabs,s):o.activeTabId;return{state:ho(mt(e,{[o.id]:wo(o,Zn(o.tabs,s),u)}),{[t.tabId]:null}),inverse:[{type:"insertTab",paneId:o.id,tab:n,index:s},l]}}function uF(e,t){if(Da(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)S2(e,u.id),n[u.id]=u;const o=t.tabs[0],s=o===void 0?[{type:"merge",paneId:t.pane.id}]:[{type:"closeTab",tabId:o.id},ln(e,[])],l=t.attach;switch(l.mode){case"child":{const u=vl(e,l.parentId),f=$r(u.children,l.index,t.pane.id);if(l.sizes.length!==f.length)throw new Error("layout: insertPane sizes do not match the split");return s.push({type:"resize",splitId:u.id,sizes:u.sizes}),{state:mt(ho(e,n),{[t.pane.id]:t.pane,[u.id]:{...u,children:f,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=b2(e,l.targetId,l.split.id);return{state:mt(ho(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=$r(e.floats,l.index,t.pane.id);return{state:mt(ho({...e,floats:u},n),{[t.pane.id]:t.pane}),inverse:s}}default:return x2(l,"layout: insertPane attachment")}}function dF(e,t){const n=Tn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: moveTab source must be docked; use unfloat");const o=Xe(e,t.toPaneId);if(o.host!=="dock")throw new Error("layout: moveTab target must be docked");if(o.id===n.id)throw new Error("layout: moveTab across one pane; use reorderTab");const s=n.tabs.indexOf(t.tabId),l=ln(e,[n.id,o.id]),u=n.activeTabId===t.tabId?C2(n.tabs,s):n.activeTabId;return{state:{...mt(e,{[n.id]:wo(n,Zn(n.tabs,s),u),[o.id]:wo(o,$r(o.tabs,t.index,t.tabId),t.tabId)}),activePaneId:o.id},inverse:[{type:"moveTab",tabId:t.tabId,toPaneId:n.id,index:s},l]}}function fF(e,t){const n=Tn(e,t.tabId),o=n.tabs.indexOf(t.tabId),s=$r(Zn(n.tabs,o),t.index,t.tabId);return{state:mt(e,{[n.id]:{...n,tabs:s}}),inverse:[{type:"reorderTab",tabId:t.tabId,index:o}]}}function hF(e,t){const n=Tn(e,t.tabId),o=ln(e,[n.id]),s=mt(e,{[n.id]:{...n,activeTabId:t.tabId}}),l=n.host==="float"?k2(s.floats,n.id):s.floats;return{state:{...s,activePaneId:n.id,floats:l},inverse:[o]}}function pF(e,t){const n=Xe(e,t.paneId),o=ln(e,[]),s=n.host==="float"?k2(e.floats,n.id):e.floats;return{state:{...e,activePaneId:n.id,floats:s},inverse:[o]}}function mF(e,t){const n=vl(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(o=>!(o>0)))throw new Error("layout: resize sizes must all be above zero");return{state:mt(e,{[n.id]:{...n,sizes:m9(t.sizes)}}),inverse:[{type:"resize",splitId:n.id,sizes:n.sizes}]}}function gF(e,t){_o(e,t.tabId);const n=Tn(e,t.tabId);if(n.host!=="dock")throw new Error("layout: float requires a docked tab");Da(e,t.newPaneId);const o=n.tabs.indexOf(t.tabId),s=ln(e,[n.id]),l=n.activeTabId===t.tabId?C2(n.tabs,o):n.activeTabId,u=mt(e,{[n.id]:wo(n,Zn(n.tabs,o),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:o},s]}}function vF(e,t){const n=Xe(e,t.paneId),o=yi(n),s=p9(n),l=Xe(e,t.toPaneId);if(l.host!=="dock")throw new Error("layout: unfloat target must be docked");const u=ln(e,[l.id]);return{state:{...mt({...e,floats:Zn(e.floats,_2(e,t.paneId))},{[t.paneId]:null,[l.id]:wo(l,$r(l.tabs,t.index,s),s)}),activePaneId:l.id},inverse:[{type:"float",tabId:s,newPaneId:t.paneId,rect:o},u]}}function y9(e,t,n){const o=mt(e,{[t.id]:{...t,rect:n}});return{...o,activePaneId:t.id,floats:k2(o.floats,t.id)}}function wF(e,t){const n=Xe(e,t.paneId),o=yi(n);return{state:y9(e,n,{...o,x:t.x,y:t.y}),inverse:[{type:"moveFloat",paneId:t.paneId,x:o.x,y:o.y},ln(e,[])]}}function yF(e,t){const n=Xe(e,t.paneId),o=yi(n);if(!(t.rect.width>0)||!(t.rect.height>0))throw new Error("layout: float size must be above zero");return{state:y9(e,n,t.rect),inverse:[{type:"resizeFloat",paneId:t.paneId,rect:o},ln(e,[])]}}function xF(e,t){const n=ln(e,rF(t.paneActiveTabs));for(const s of t.floats)if(Xe(e,s).host!=="float")throw new Error(`layout: restoreFocus lists docked pane ${s} as floating`);let o=e;for(const[s,l]of Ds(t.paneActiveTabs)){const u=Xe(o,s);o=mt(o,{[s]:{...u,activeTabId:l}})}return Xe(o,t.activePaneId),{state:{...o,activePaneId:t.activePaneId,floats:t.floats},inverse:[n]}}function xi(e,t){switch(t.type){case"split":return iF(e,t);case"merge":return sF(e,t);case"openTab":return aF(e,t);case"insertTab":return lF(e,t);case"closeTab":return cF(e,t);case"insertPane":return uF(e,t);case"moveTab":return dF(e,t);case"reorderTab":return fF(e,t);case"focusTab":return hF(e,t);case"focusPane":return pF(e,t);case"resize":return mF(e,t);case"float":return gF(e,t);case"unfloat":return vF(e,t);case"moveFloat":return wF(e,t);case"resizeFloat":return yF(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 xF(e,t);default:return x2(t,"layout: operation")}}function _F(e,t){return t.reduce((n,o)=>xi(n,o).state,e)}const x9={entries:[],cursor:0},CF=new Set(["focusTab","focusPane","restoreFocus"]);function _9(e){return CF.has(e.type)}function $a(e,t){const n=e.entries[t];return n!==void 0&&n.ops.every(_9)}function j2(e){return e.cursor>0}function E2(e){return e.cursor<e.entries.length}function C9(e){return e.entries.flatMap(t=>t.ops)}function b9(e,t,n){if(n.length===0)return{history:e,state:t};let o=t;const s=[];for(const u of n){const f=xi(o,u);o=f.state,s.unshift(...f.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:o}}function k9(e,t){if(!j2(e))return;let n=1;if($a(e,e.cursor-1))for(;$a(e,e.cursor-1-n);)n+=1;let o=t;for(const s of e.entries.slice(e.cursor-n,e.cursor).reverse())for(const l of s.inverse)o=xi(o,l).state;return{history:{entries:e.entries,cursor:e.cursor-n},state:o}}function S9(e,t){if(!E2(e))return;let n=1;if($a(e,e.cursor))for(;$a(e,e.cursor+n);)n+=1;let o=t;for(const s of e.entries.slice(e.cursor,e.cursor+n))for(const l of s.ops)o=xi(o,l).state;return{history:{entries:e.entries,cursor:e.cursor+n},state:o}}class j9{current;recorded=x9;constructor(t){this.current=t}get state(){return this.current}get history(){return this.recorded}get ops(){return C9(this.recorded)}get cursor(){return this.recorded.cursor}get canUndo(){return j2(this.recorded)}get canRedo(){return E2(this.recorded)}dispatch(t){return this.dispatchAll([t])}dispatchAll(t){const n=b9(this.recorded,this.current,t);return this.recorded=n.history,this.current=n.state,this.current}undo(){const t=k9(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}redo(){const t=S9(this.recorded,this.current);return t===void 0?!1:(this.recorded=t.history,this.current=t.state,!0)}}const E9=4,M2=.12,Ha={width:380,height:300},M9={width:220,height:140},I2=.25;function I9(e){return yl(e).length}function xl(e){return I9(e)<E9}const bF=["center","top","right","bottom","left"];function O9(e,t,n=I2){let o="left",s=e;return 1-e<s&&(o="right",s=1-e),t<s&&(o="top",s=t),1-t<s&&(o="bottom",s=1-t),s<n?o:"center"}function L9(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 x2(e,"layout: dock zone")}}function O2(e,t=M2){if(e.length===0)return[];const n=Math.min(t,1/e.length),o=e.map(f=>f>0?f:0),s=o.reduce((f,p)=>f+p,0);let l=s>0?o.map(f=>f/s):o.map(()=>1/e.length);const u=new Set;for(;;){const f=l.flatMap((v,w)=>!u.has(w)&&v<n?[w]:[]);if(f.length===0)return l;for(const v of f)u.add(v);const p=1-u.size*n,m=l.reduce((v,w,y)=>u.has(y)?v:v+w,0);l=l.map((v,w)=>u.has(w)?n:v/m*p)}}function Va(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function T9(e,t,n,o=I2){return!(e.width>0)||!(e.height>0)?"center":O9((t-e.x)/e.width,(n-e.y)/e.height,o)}function z9(e,t){let n=0;for(const o of e){if(t<o.x+o.width/2)break;n+=1}return n}const yo={divider:0,chip:100,body:48};function P9(e,t=yo){const{pane:n,strip:o}=e;if(!(n.width>0)||!(n.height>0)||!(o.width>0))return{row:!0,column:!0};const s=Math.max(0,n.width-o.width),l=Math.max(0,o.width-e.chipsWidth-e.fillWidth-(e.splitControlWidth??0)),u=(n.width-t.divider)/2-s,f=(n.height-t.divider)/2-s;return{row:u>=l+t.chip,column:f>=o.height+t.body}}const C0=4;function N9(e,t,n,o){return Math.abs(n-e)>=C0||Math.abs(o-t)>=C0}function R9(e,t,n){const o=e[t],s=e[t+1];if(o===void 0||s===void 0)return[...e];const l=[...e];return l[t]=o+n,l[t+1]=s-n,l}function A9(e,t,n){return{...e,x:e.x+t,y:e.y+n}}function F9(e,t,n,o){return{...e,width:Math.max(o.width,e.width+t),height:Math.max(o.height,e.height+n)}}function D9(e,t,n){return{x:Math.max(0,e-u6.x),y:Math.max(0,t-u6.y),...n}}const u6={x:60,y:14},kF=24,d6={x:160,y:120},wn=[];function $9(e,t,n,o){for(const s of Xe(e,t).tabs){const l=e.tabs[s];if(l?.contentId===n&&(o===void 0||l.kind===o))return s}}function H9(e,t,n){for(const o of[...yl(e),...e.floats]){const s=$9(e,o,t,n);if(s!==void 0)return s}}function _i(e){const t=Xe(e,e.activePaneId);return t.host==="dock"?t.id:v9(e)}function b0(e,t,n,o){return e.host==="float"?{type:"unfloat",paneId:e.id,toPaneId:n,index:o}:{type:"moveTab",tabId:t,toPaneId:n,index:o}}function V9(e,t){return e.expanded===t?wn:[{type:"setExpanded",expanded:t}]}function B9(e,t){return e.mode===t?wn:[{type:"setMode",mode:t}]}function Z9(e,t,n,o){if(!xl(e))return wn;const s=n??_i(e);if(Xe(e,s).host!=="dock")return wn;const l=t("pane"),u=[{type:"split",paneId:s,axis:"row",direction:"after",newPaneId:l,newSplitId:t("split")}],f=o?.(t("tab"));return f!==void 0&&u.push({type:"openTab",paneId:l,tab:f,index:0}),u}function W9(e,t,n,o){if(o===void 0)return wn;const s=Xe(e,n);return s.host!=="dock"?wn:[{type:"openTab",paneId:n,tab:o(t("tab")),index:s.tabs.length}]}function U9(e,t,n){const o=n.revealIfOpened===!1?void 0:H9(e,n.contentId,n.kind);if(o!==void 0)return{ops:[{type:"focusTab",tabId:o}],tabId:o};const s=n.paneId??_i(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??Xe(e,s).tabs.length}],tabId:l.id}}function q9(e,t,n){const o=_o(e,n),s=Tn(e,n),l=s.host==="dock"?s.id:_i(e),u=s.host==="dock"?s.tabs.indexOf(n)+1:Xe(e,l).tabs.length,f={...o,id:t("tab")};return{ops:[{type:"openTab",paneId:l,tab:f,index:u}],tabId:f.id}}function G9(e,t,n,o){const s=Tn(e,t);if(Xe(e,n).host!=="dock")return wn;if(s.id===n){const l=s.tabs.indexOf(t),u=o>l?o-1:o;return u===l?wn:[{type:"reorderTab",tabId:t,index:u}]}return[b0(s,t,n,o)]}function K9(e,t,n,o,s,l){const u=Tn(e,n),f=Xe(e,o);if(f.host!=="dock")return wn;const p=L9(s);if(p===void 0)return u.id===o?wn:[b0(u,n,o,f.tabs.length)];const m=u.id===o&&u.tabs.length===1;if(m&&l===void 0||!xl(e))return wn;const v=t("pane"),w=[{type:"split",paneId:o,axis:p.axis,direction:p.direction,newPaneId:v,newSplitId:t("split")}];return m&&l!==void 0&&w.push({type:"openTab",paneId:o,tab:l(t("tab")),index:u.tabs.length}),w.push(b0(u,n,v,0)),w}function Y9(e,t,n,o){const s=e.floats.length*kF,l=t("float");return{ops:[{type:"float",tabId:n,newPaneId:l,rect:o??{x:d6.x+s,y:d6.y+s,width:Ha.width,height:Ha.height}}],paneId:l}}function J9(e,t,n){const o=n??_i(e);return[{type:"unfloat",paneId:t,toPaneId:o,index:Xe(e,o).tabs.length}]}function Q9(e,t,n){return[{type:"resize",splitId:e,sizes:O2(t,n)}]}function SF(e,t,n){const o=[];let s=e;for(;;){const u=yl(s).find(p=>p!==s.rootId&&Xe(s,p).tabs.length===0);if(u===void 0)break;const f={type:"merge",paneId:u};o.push(f),s=xi(s,f).state}const l=pr(s,s.rootId);return l.kind==="pane"&&l.tabs.length===0&&n!==void 0&&o.push({type:"openTab",paneId:l.id,tab:n(t("tab")),index:0}),o}function X9(e=0){let t=e;return{next:(o=>(t+=1,`${o}${t}`))}}function ep(e,t,n="push"){const o=e.next("pane"),s=t?.(e.next("tab"));return{nodes:{[o]:{kind:"pane",id:o,host:"dock",tabs:s===void 0?[]:[s.id],activeTabId:s?.id,rect:void 0}},tabs:s===void 0?{}:{[s.id]:s},rootId:o,floats:[],activePaneId:o,expanded:!1,mode:n}}class jF{minter;sequencer;listeners=new Set;makePaneTab;snapshot;constructor(t={}){this.minter=X9(),this.makePaneTab=t.makePaneTab,this.sequencer=new j9(ep(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:xl(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(V9(this.state,t))}toggleExpanded(){this.setExpanded(!this.state.expanded)}setMode(t){this.run(B9(this.state,t))}splitPane(t){return this.run(Z9(this.state,this.mint,t,this.makePaneTab))}addTab(t){return this.run(W9(this.state,this.mint,t,this.makePaneTab))}openContent(t){const n=U9(this.state,this.mint,t);return this.run(n.ops),n.tabId}duplicateTab(t){const n=q9(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,o){return this.run(G9(this.state,t,n,o))}dropTab(t,n,o){return this.run(K9(this.state,this.mint,t,n,o))}floatTab(t,n){const o=Y9(this.state,this.mint,t,n);return this.run(o.ops),o.paneId}unfloatPane(t,n){this.run(J9(this.state,t,n))}moveFloat(t,n,o){this.run([{type:"moveFloat",paneId:t,x:n,y:o}])}resizeFloat(t,n){this.run([{type:"resizeFloat",paneId:t,rect:n}])}resizeSplit(t,n){this.run(Q9(t,n))}undo(){return this.sequencer.undo()?(this.commit(),!0):!1}redo(){return this.sequencer.redo()?(this.commit(),!0):!1}activeDockPaneId(){return _i(this.state)}}const EF={x:0,y:0,width:0,height:0},MF={row:!0,column:!0};function pa(e){return e===null?EF:e.getBoundingClientRect()}function ti(e){const t=Number.parseFloat(e);return Number.isFinite(t)?t:0}function tp(e){const t=[];for(const n of e.querySelectorAll("[data-dockkit-pane]")){const o=n.dataset.dockkitPane;o!==void 0&&t.push([o,n])}return t}function IF(e){const t=e.querySelector("[data-dockkit-tab]");if(t===null)return yo.chip;const n=getComputedStyle(t),o=ti(n.minWidth);return o<=0?yo.chip:n.boxSizing==="border-box"?o:o+ti(n.paddingLeft)+ti(n.paddingRight)+ti(n.borderLeftWidth)+ti(n.borderRightWidth)}function OF(e){const t=e.querySelector("[data-dockkit-divider]");if(t===null)return yo.divider;const{width:n,height:o}=t.getBoundingClientRect(),s=Math.min(n,o);return s>0?s:yo.divider}function LF(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 o=e.querySelector("[data-dockkit-strip]");return n+(o===null?0:ti(getComputedStyle(o).columnGap))}function TF(e,t=!1){const n={divider:OF(e),chip:IF(e),body:yo.body},o=new Map;for(const[s,l]of tp(e))o.set(s,P9({pane:pa(l),strip:pa(l.querySelector("[data-dockkit-strip]")),chipsWidth:pa(l.querySelector("[data-dockkit-strip-tabs]")).width,fillWidth:pa(l.querySelector("[data-dockkit-strip-fill]")).width,splitControlWidth:t?LF(l):0},n));return o}function k0(e,t){return e.get(t)??MF}function zF(e,t){if(e.size!==t.size)return!1;for(const[n,o]of e){const s=t.get(n);if(s===void 0||s.row!==o.row||s.column!==o.column)return!1}return!0}function PF(e,t){typeof e.setPointerCapture=="function"&&e.setPointerCapture(t)}function NF(e,t,n){PF(e,t);const o=new AbortController,{signal:s}=o;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)&&(o.abort(),n.up(u))},{signal:s}),window.addEventListener("pointercancel",u=>{l(u)&&(o.abort(),n.cancel())},{signal:s}),()=>{o.abort()}}function np(e){const t=S.useRef(void 0);return S.useEffect(()=>()=>{t.current?.stop()},[]),(n,o,s)=>{t.current?.end();const l=()=>{t.current=void 0,e()},u=NF(n,o,{move:s.move,up:f=>{l(),s.up(f)},cancel:l});t.current={stop:u,end:()=>{u(),l()}}}}const RF="_split_83tlc_17",AF="_splitRow_83tlc_24",FF="_splitColumn_83tlc_28",DF="_splitCell_83tlc_32",$F="_divider_83tlc_39",HF="_surface_83tlc_137",VF="_tabLayout_83tlc_146",BF="_tabCell_83tlc_154",ZF="_emptyTabHost_83tlc_155",WF="_floatingCell_83tlc_168",UF="_tabHost_83tlc_174",qF="_float_83tlc_168",GF="_tabHostHeader_83tlc_189",KF="_tabHostBody_83tlc_193",YF="_tabLayoutDivider_83tlc_198",JF="_pane_83tlc_227",QF="_tabStrip_83tlc_255",XF="_stripTabs_83tlc_275",eD="_stripFill_83tlc_312",tD="_stripChrome_83tlc_320",nD="_paneBody_83tlc_342",rD="_slot_83tlc_351",oD="_tabActive_83tlc_370",iD="_slotCaret_83tlc_370",sD="_tab_83tlc_146",aD="_tabTitle_83tlc_413",lD="_floatTitle_83tlc_433",cD="_tabClose_83tlc_441",uD="_addTab_83tlc_473",dD="_tabQuiet_83tlc_512",fD="_tabDragging_83tlc_529",hD="_iconButton_83tlc_535",pD="_menu_83tlc_571",mD="_menuItem_83tlc_585",gD="_empty_83tlc_155",vD="_dockScrim_83tlc_623",wD="_dockHint_83tlc_625",yD="_dockHintCard_83tlc_630",xD="_dockHintLabel_83tlc_725",_D="_floatHeader_83tlc_804",CD="_dockGlyph_83tlc_821",bD="_floatBody_83tlc_826",kD="_floatResize_83tlc_836",Ee={split:RF,splitRow:AF,splitColumn:FF,splitCell:DF,divider:$F,surface:HF,tabLayout:VF,tabCell:BF,emptyTabHost:ZF,floatingCell:WF,tabHost:UF,float:qF,tabHostHeader:GF,tabHostBody:KF,tabLayoutDivider:YF,pane:JF,tabStrip:QF,stripTabs:XF,stripFill:eD,stripChrome:tD,paneBody:nD,slot:rD,tabActive:oD,slotCaret:iD,tab:sD,tabTitle:aD,floatTitle:lD,tabClose:cD,addTab:uD,tabQuiet:dD,tabDragging:fD,iconButton:hD,menu:pD,menuItem:mD,empty:gD,dockScrim:vD,dockHint:wD,dockHintCard:yD,dockHintLabel:xD,floatHeader:_D,dockGlyph:CD,floatBody:bD,floatResize:kD},Hu=4;function SD(e,t){const n=e.getBoundingClientRect(),o=t.offsetWidth,s=n.left+o+Hu>window.innerWidth?Math.max(Hu,n.right-o):n.left;return{top:n.bottom+Hu,left:s}}function jD({labels:e,anchor:t,onClose:n,onDismiss:o,extras:s}){const l=S.useRef(null),[u,f]=S.useState(void 0),p=n!==void 0||S.Children.toArray(s).some(m=>m!=="");return S.useLayoutEffect(()=>{l.current!==null&&f(SD(t,l.current))},[t,p]),S.useEffect(()=>{const m=l.current;if(m===null)return;const v=m.ownerDocument,w=nl(v),y=C=>{if(w.guards(C)||C.defaultPrevented||C.key!=="Escape"||C.ctrlKey||C.altKey||C.metaKey||C.shiftKey||[...v.querySelectorAll(Z0)].at(-1)!==m||(C.preventDefault(),C.repeat))return;const M=m.contains(v.activeElement);o(),M&&di(t)};v.addEventListener("keydown",y,!0);const _=C=>{C.target instanceof Node&&m.contains(C.target)||o()};return window.addEventListener("pointerdown",_,!0),()=>{w.dispose(),v.removeEventListener("keydown",y,!0),window.removeEventListener("pointerdown",_,!0)}},[t,o,p]),p?zn.createPortal(c.jsxs(Ia,{className:Ee.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:Ee.menuItem,"data-dockkit-menu-close":!0,onClick:n,children:e.closeTab}),s]}),document.body):null}function f6(e){e.scrollWidth>e.clientWidth+1?e.dataset.dockkitTabClipped="":delete e.dataset.dockkitTabClipped}function rp({children:e}){const t=S.useRef(null);return S.useLayoutEffect(()=>{t.current!==null&&f6(t.current)}),S.useLayoutEffect(()=>{const n=t.current;if(n===null||typeof ResizeObserver>"u")return;const o=new ResizeObserver(()=>{f6(n)});return o.observe(n),()=>{o.disconnect()}},[]),c.jsx("span",{ref:t,className:Ee.tabTitle,"data-dockkit-tab-title":!0,children:e})}const ED="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 MD(){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 ID={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 OD({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:ED,fill:"currentColor"}),c.jsx("path",{d:ID[e],fill:"currentColor"})]})}function Vu({zone:e,active:t,labels:n}){return c.jsx("div",{className:Ee.dockHint,"data-dockkit-dock-zone":e,"data-dockkit-drop-active":t||void 0,children:c.jsxs("div",{className:Ee.dockHintCard,children:[c.jsx(OD,{zone:e}),c.jsx("span",{className:Ee.dockHintLabel,children:n.dropZone[e]})]})})}function LD(e,t,n){const o=t.length,s=t.indexOf(n);switch(e){case"ArrowLeft":return t[(s-1+o)%o];case"ArrowRight":return t[(s+1)%o];case"Home":return t[0];case"End":return t.at(-1);default:return}}function TD(e){return e==="Enter"||e===" "}function zD(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 PD(e,t){S.useLayoutEffect(()=>{const n=e.current;if(n===null)return;const o=()=>{const l=zD(n);l===void 0?delete n.dataset.dockkitStripScroll:n.dataset.dockkitStripScroll=l};o(),n.addEventListener("scroll",o,{passive:!0});const s=typeof ResizeObserver>"u"?void 0:new ResizeObserver(o);return s?.observe(n),()=>{n.removeEventListener("scroll",o),s?.disconnect()}},[e,t])}function ND(e,t,n,o){S.useLayoutEffect(()=>{const s=e.current,l=o===void 0?void 0:t.get(o);if(s===null||l===void 0)return;const u=s.getBoundingClientRect(),f=l.getBoundingClientRect();f.left<u.left?s.scrollLeft+=f.left-u.left-h6:f.right>u.right&&(s.scrollLeft+=f.right-u.right+h6)},[e,t,n,o])}const h6=24;function p6(e,t){switch(t){case"budget":return e.splitPaneDisabled;case"width":return e.splitPaneNarrow}}function op({state:e,pane:t,callbacks:n}){const[o,s]=S.useState(void 0),[l]=S.useState(()=>new Map),u=S.useRef(null);PD(u,t.tabs),ND(u,l,t.tabs,t.activeTabId);const f=n.splitBlock(t.id),p=n.dropTarget,m=p!==void 0&&p.kind==="strip"&&p.paneId===t.id?p.index:void 0,v=y=>{e.activePaneId===t.id&&t.activeTabId===y||n.onFocusTab(y)},w=y=>{const _=l.get(y);_!==void 0&&_.focus()};return c.jsxs("div",{className:Ee.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:Ee.stripTabs,role:"presentation","data-dockkit-strip-tabs":t.id,children:[t.tabs.map((y,_)=>{const C=_o(e,y),I=y===t.activeTabId,M=n.canCloseTab(y),N=!M&&t.tabs.length===1;return c.jsxs(S.Fragment,{children:[(_>0||m===_)&&c.jsx("div",{className:pe(Ee.slot,m===_&&Ee.slotCaret),"data-dockkit-caret":m===_?_:void 0}),c.jsxs("div",{role:"tab","aria-selected":I,tabIndex:I?0:-1,className:pe(Ee.tab,I&&Ee.tabActive,N&&Ee.tabQuiet,n.draggingTabId===y&&Ee.tabDragging),"data-dockkit-tab":y,"data-dockkit-tab-quiet":N||void 0,ref:L=>{L===null?l.delete(y):l.set(y,L)},onPointerDown:L=>{L.button!==2&&n.onTabPressed(y,L)},onClick:L=>{L.stopPropagation(),v(y)},onKeyDown:L=>{if(L.target!==L.currentTarget||L.altKey||L.ctrlKey||L.metaKey||L.shiftKey||L.nativeEvent.isComposing)return;const $=LD(L.key,t.tabs,y);if($!==void 0){L.preventDefault(),w($);return}TD(L.key)&&(L.preventDefault(),v(y))},onContextMenu:L=>{L.preventDefault();const $=L.currentTarget;s(A=>A?.tabId===y?void 0:{tabId:y,anchor:$})},children:[c.jsx(rp,{children:n.renderTabTitle?.(C)??C.title}),M&&c.jsx(Fr,{disabled:o!==void 0,label:n.labels.closeTab,shortcutKeys:n.labels.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.tabClose,"aria-label":n.labels.closeTab,"aria-keyshortcuts":n.labels.closeTabShortcut,"data-dockkit-tab-close":y,onPointerDown:L=>{L.stopPropagation()},onClick:L=>{L.stopPropagation(),n.onCloseTab(y)},children:c.jsx(gf,{size:14})})}),o?.tabId===y&&c.jsx(jD,{labels:n.labels,anchor:o.anchor,onClose:M?()=>{s(void 0),n.onCloseTab(y)}:void 0,onDismiss:()=>{s(void 0)},extras:n.renderTabMenuItems?.(C,()=>{s(void 0)})})]})]},y)}),m===t.tabs.length&&c.jsx("div",{className:pe(Ee.slot,Ee.slotCaret),"data-dockkit-caret":m})]}),n.canAddTab(t.id)&&c.jsx(Fr,{label:n.labels.addTab,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.addTab,"aria-label":n.labels.addTab,"data-dockkit-add-tab":t.id,onClick:y=>{y.stopPropagation(),n.onAddTab(t.id)},children:c.jsx(nf,{size:14})})}),c.jsx("div",{className:Ee.stripFill,"data-dockkit-strip-fill":!0}),!(n.hideSplitWhenBlocked&&f!==void 0)&&c.jsx(Fr,{label:f===void 0?n.labels.splitPane:p6(n.labels,f),shortcutKeys:n.labels.splitPaneKeys,side:"bottom",delayMs:500,children:c.jsx("span",{"data-dockkit-split-control":!0,tabIndex:f===void 0?void 0:0,"aria-label":f===void 0?void 0:p6(n.labels,f),children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.labels.splitPane,"aria-keyshortcuts":n.labels.splitPaneShortcut,disabled:f!==void 0,"data-dockkit-split-button":t.id,"data-dockkit-split-blocked":f,onClick:y=>{y.stopPropagation(),n.onSplitPane(t.id)},children:c.jsx(MD,{})})})}),t.id===n.chromePaneId&&n.chrome!==void 0&&c.jsx("div",{className:Ee.stripChrome,"data-dockkit-strip-chrome":!0,onClick:y=>{y.stopPropagation()},children:n.chrome})]})}function ip({pane:e,callbacks:t}){const n=t.dropTarget,o=n?.kind==="zone"&&n.paneId===e.id?n.zone:void 0;return o===void 0?null:c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Ee.dockScrim,"data-dockkit-dock-scrim":!0}),t.horizontalDrops&&o!=="center"?c.jsxs(c.Fragment,{children:[c.jsx(Vu,{zone:"left",active:o==="left",labels:t.labels}),c.jsx(Vu,{zone:"right",active:o==="right",labels:t.labels})]}):c.jsx(Vu,{zone:o,active:!0,labels:t.labels})]})}function sp({state:e,pane:t,callbacks:n}){const o=t.activeTabId===void 0?void 0:_o(e,t.activeTabId);return c.jsxs("section",{className:Ee.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(op,{state:e,pane:t,callbacks:n}),c.jsxs("div",{className:Ee.paneBody,children:[o===void 0?c.jsx("p",{className:Ee.empty,children:n.labels.emptyPane}):n.renderTab(o),c.jsx(ip,{pane:t,callbacks:n})]})]})}function ap({state:e,nodeId:t,callbacks:n,preview:o}){const s=pr(e,t);if(s.kind==="pane")return c.jsx(sp,{state:e,pane:s,callbacks:n});const l=o!==void 0&&o.splitId===s.id?o.sizes:s.sizes;return c.jsx("div",{className:pe(Ee.split,s.axis==="row"?Ee.splitRow:Ee.splitColumn),"data-dockkit-split":s.id,children:s.children.map((u,f)=>c.jsxs(S.Fragment,{children:[f>0&&c.jsx("div",{className:Ee.divider,"data-dockkit-divider":`${s.id}:${f-1}`,onPointerDown:p=>{n.onDividerPressed(s.id,f-1,p)}}),c.jsx("div",{className:Ee.splitCell,"data-dockkit-cell":`${s.id}:${f}`,style:{flexGrow:l[f]},children:c.jsx(ap,{state:e,nodeId:u,callbacks:n,preview:o})})]},u))})}function m6(e,t,n){const o=t-e.originX,s=n-e.originY;return e.mode==="move"?A9(e.rect,o,s):F9(e.rect,o,s,M9)}function RD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function AD(e,t){return e.activePaneId===t&&e.floats.at(-1)===t}function lp(e,t){const[n,o]=S.useState(void 0),s=np(()=>{o(void 0)}),l=f=>{AD(e,f)||t.focusPane(f)};return{preview:n,raise:l,drag:(f,p,m)=>{m.stopPropagation();const v=document.documentElement,w=v.hasAttribute("data-windows-titlebar"),y=w&&!v.hasAttribute("data-fullscreen")?Number.parseFloat(v.style.getPropertyValue("--dsh-windows-titlebar-height")):0,_=yi(Xe(e,p)),C={..._,y:Math.max(_.y,w?y+20:0)},I={mode:f,originX:m.clientX,originY:m.clientY,rect:C};s(m.currentTarget,m.pointerId,{move:M=>{o({paneId:p,rect:m6(I,M.clientX,M.clientY)})},up:M=>{const N=m6(I,M.clientX,M.clientY);RD(N,I.rect)?l(p):f==="move"?t.moveFloat(p,N.x,N.y):t.resizeFloat(p,N)}})}}}function cp({paneId:e,tab:t,labels:n,intents:o,renderTabTitle:s,canCloseTab:l,drag:u}){return c.jsxs("header",{className:pe(Ee.tabStrip,Ee.floatHeader),"data-dockkit-float-grip":e,onPointerDown:f=>{u("move",e,f)},children:[c.jsx("div",{className:pe(Ee.tab,Ee.floatTitle),"data-dockkit-float-title":!0,children:c.jsx(rp,{children:s?.(t)??t.title})}),c.jsx("div",{className:Ee.stripFill}),c.jsx(Fr,{label:n.dockFloat,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.dockFloat,"data-dockkit-float-dock":e,onPointerDown:f=>{f.stopPropagation()},onClick:()=>{o.unfloatPane(e)},children:c.jsx(X6,{className:Ee.dockGlyph})})}),(l?.(t.id)??!0)&&c.jsx(Fr,{label:n.closeTab,shortcutKeys:n.closeTabKeys,side:"bottom",delayMs:500,children:c.jsx("button",{type:"button",className:Ee.iconButton,"aria-label":n.closeTab,"data-dockkit-float-close":e,onPointerDown:f=>{f.stopPropagation()},onClick:()=>{o.closeTab(t.id)},children:c.jsx(tl,{})})})]})}function FD({state:e,intents:t,labels:n,renderTab:o,renderTabTitle:s,canCloseTab:l}){const{preview:u,raise:f,drag:p}=lp(e,t);return c.jsx(c.Fragment,{children:e.floats.map((m,v)=>{const w=Xe(e,m),y=_o(e,p9(w)),_=u?.paneId===m?u.rect:void 0,C=_??yi(w);return c.jsxs("div",{className:Ee.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?v+1:e.floats.length+1},onPointerDown:()=>{f(m)},children:[c.jsx(cp,{paneId:m,tab:y,labels:n,intents:t,renderTabTitle:s,canCloseTab:l,drag:p}),c.jsx("div",{className:Ee.floatBody,children:o(y)}),c.jsx("div",{className:Ee.floatResize,"data-dockkit-float-resize":m,onPointerDown:I=>{p("resize",m,I)}})]},m)})})}function DD({state:e,callbacks:t,intents:n,tab:o,pane:s,column:l,floats:u,focusRequest:f,keepMounted:p,active:m=!0}){const v=s.host==="float",w=v||s.activeTabId===o.id,y=m&&w&&(v||e.expanded),_=p?.(o)??!1,[C,I]=S.useState(y);y&&!C&&I(!0);const M=S.useRef(null),N=S.useRef(null);S.useLayoutEffect(()=>{const W=M.current;W.inert=!y;const B=document.activeElement;!y&&B instanceof HTMLElement&&W.contains(B)&&B.blur();const K=f.current;if(!y||K?.tabId!==o.id||(f.current=void 0,B!==null&&B!==document.body&&B!==document.documentElement&&B!==K.origin))return;[...W.querySelector("[data-dockkit-strip]")?.querySelectorAll("[data-dockkit-tab]")??[]].find(Z=>Z.dataset.dockkitTab===o.id)?.focus({preventScroll:!0})},[y,o.id,f]),S.useEffect(()=>{const W=N.current,B=()=>{y&&(v?u.raise(s.id):e.activePaneId!==s.id&&t.onFocusPane(s.id))};return W.addEventListener("focus",B,!0),()=>{W.removeEventListener("focus",B,!0)}},[y,v,u,s.id,e.activePaneId,t]);const L=v&&u.preview?.paneId===s.id?u.preview.rect:void 0,$=v?L??yi(s):void 0,A=L===void 0?e.floats.indexOf(s.id)+1:e.floats.length+1;return c.jsx("div",{className:pe(Ee.tabCell,v&&Ee.floatingCell),hidden:!w,"data-dockkit-host":v?"float":"dock","data-dockkit-column":v?void 0:l,style:{gridColumn:v?1:l*2+1,gridRow:1,order:v?A:0},children:c.jsxs("section",{ref:M,tabIndex:-1,className:pe(Ee.tabHost,v?Ee.float:Ee.pane),"aria-hidden":!y||void 0,"data-dockkit-content":o.id,"data-dockkit-pane":!v&&w?s.id:void 0,"data-dockkit-pane-active":!v&&e.activePaneId===s.id||void 0,"data-dockkit-float":v?s.id:void 0,"data-dockkit-float-active":v&&e.activePaneId===s.id||void 0,"data-dockkit-column":v?void 0:l,style:$===void 0?void 0:{left:$.x,top:`max(var(--dsh-dockkit-float-top, 0px), ${$.y}px)`,width:$.width,height:$.height},onPointerDown:()=>{v&&u.raise(s.id)},onClick:()=>{!v&&e.activePaneId!==s.id&&t.onFocusPane(s.id)},children:[c.jsx("div",{className:Ee.tabHostHeader,children:w&&(v?c.jsx(cp,{paneId:s.id,tab:o,labels:t.labels,intents:n,renderTabTitle:t.renderTabTitle,canCloseTab:t.canCloseTab,drag:u.drag}):c.jsx(op,{state:e,pane:s,callbacks:t}))}),c.jsxs("div",{ref:N,className:pe(Ee.tabHostBody,v?Ee.floatBody:Ee.paneBody),children:[C&&(_||m&&w)?t.renderTab(o):null,!v&&c.jsx(ip,{pane:s,callbacks:t})]}),v&&c.jsx("div",{className:Ee.floatResize,"data-dockkit-float-resize":s.id,onPointerDown:W=>{u.drag("resize",s.id,W)}})]})})}function $D(e){const{state:t,callbacks:n,preview:o}=e,s=S.useRef(),l={...n,onFocusTab:w=>{s.current=Tn(t,w).activeTabId===w?void 0:{tabId:w,origin:document.activeElement},n.onFocusTab(w)}},u=pr(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 f=u.kind==="pane"?[u]:u.children.map(w=>Xe(t,w)),p=u.kind==="split"?o?.splitId===u.id?o.sizes:u.sizes:[1],m=lp(t,e.intents),v=p.map(w=>`minmax(0, ${w}fr)`).join(" 0px ");return c.jsxs("div",{className:Ee.tabLayout,"data-dockkit-split":u.kind==="split"?u.id:void 0,style:{gridTemplateColumns:v},children:[Object.values(t.tabs).sort((w,y)=>w.id.localeCompare(y.id)).map(w=>{const y=Tn(t,w.id);return c.jsx(DD,{...e,callbacks:l,tab:w,pane:y,column:f.findIndex(_=>_.id===y.id),floats:m,focusRequest:s},w.id)}),f.filter(w=>w.tabs.length===0).map(w=>c.jsx("div",{className:Ee.emptyTabHost,"data-dockkit-empty":!0,style:{gridColumn:f.indexOf(w)*2+1,gridRow:1},children:c.jsx(sp,{state:t,pane:w,callbacks:n})},w.id)),u.kind==="split"&&c.jsx("div",{className:pe(Ee.divider,Ee.tabLayoutDivider),"data-dockkit-divider":`${u.id}:0`,style:{gridColumn:2,gridRow:1},onPointerDown:w=>{n.onDividerPressed(u.id,0,w)}})]})}const ma={draggingTabId:void 0,dropTarget:void 0,sizes:void 0},HD=new Map,g6=()=>!0;function v6(e,t,n,o,s,l){for(const[u,f]of tp(e)){const p=f.getBoundingClientRect();if(!Va(p,t,n))continue;const m=f.querySelector("[data-dockkit-strip]");if(m!==null&&Va(m.getBoundingClientRect(),t,n)){const w=[...m.querySelectorAll("[data-dockkit-tab]")];return{kind:"strip",paneId:u,index:z9(w.map(y=>y.getBoundingClientRect()),t)}}const v=l==="horizontal"?o&&k0(s,u).row?t<p.x+p.width/2?"left":"right":"center":T9(p,t,n);if(v!=="center"){const w=k0(s,u),y=v==="left"||v==="right"?w.row:w.column;if(!o||!y)return}return{kind:"zone",paneId:u,zone:v}}}function w6(e,t,n,o){const s=(e.axis==="row"?t:n)-e.origin,l=e.extent>0?s/e.extent:0;return O2(R9(e.sizes,e.index,l),o)}const VD=1e-9;function BD(e,t){return e.length===t.length&&e.every((n,o)=>{const s=t[o];return s!==void 0&&Math.abs(n-s)<VD})}function up({state:e,canSplit:t,canAddTab:n,canCloseTab:o,intents:s,labels:l,renderTab:u,renderTabTitle:f,renderTabMenuItems:p,chrome:m,onRoom:v,draw:w,dropZones:y="edges",minPaneFraction:_=M2,hideSplitWhenBlocked:C=!1}){const I=S.useRef(null),[M,N]=S.useState(ma),[L,$]=S.useState(HD),A=np(()=>{N(ma)}),W=S.useCallback(ee=>{const Z=I.current;Z!==null&&ee(Z)},[]),B=S.useCallback(()=>{W(ee=>{const Z=TF(ee,C);$(he=>zF(he,Z)?he:Z)})},[W,C]);S.useLayoutEffect(()=>{B()}),S.useEffect(()=>{v?.(L)},[L,v]),S.useEffect(()=>{const ee=I.current;if(ee===null||typeof ResizeObserver>"u")return;const Z=new ResizeObserver(()=>{B()});return Z.observe(ee),()=>{Z.disconnect()}},[B]);const K=ee=>t?k0(L,ee).row?void 0:"width":"budget",H={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:(ee,Z)=>{W(he=>{const me=Z.clientX,ne=Z.clientY;let se=!1;A(Z.currentTarget,Z.pointerId,{move:Ie=>{if(!se){if(!N9(me,ne,Ie.clientX,Ie.clientY))return;se=!0}N({...ma,draggingTabId:ee,dropTarget:v6(he,Ie.clientX,Ie.clientY,t,L,y)})},up:Ie=>{if(!se)return;const xe=v6(he,Ie.clientX,Ie.clientY,t,L,y);if(xe===void 0){if(Va(he.getBoundingClientRect(),Ie.clientX,Ie.clientY))return;s.floatTab(ee,D9(Ie.clientX,Ie.clientY,Ha));return}xe.kind==="strip"?s.placeTab(ee,xe.paneId,xe.index):s.dropTab(ee,xe.paneId,xe.zone)}})})},onDividerPressed:(ee,Z,he)=>{const me=he.currentTarget.parentElement;if(me===null)return;const ne=vl(e,ee),se=me.getBoundingClientRect(),Ie={index:Z,axis:ne.axis,origin:ne.axis==="row"?he.clientX:he.clientY,extent:ne.axis==="row"?se.width:se.height,sizes:ne.sizes};A(he.currentTarget,he.pointerId,{move:xe=>{N({...ma,sizes:{splitId:ee,sizes:w6(Ie,xe.clientX,xe.clientY,_)}})},up:xe=>{const Ne=w6(Ie,xe.clientX,xe.clientY,_);BD(Ne,Ie.sizes)||s.resizeSplit(ee,Ne)}})},splitBlock:K,hideSplitWhenBlocked:C,canAddTab:n??g6,canCloseTab:o??g6,dropTarget:M.dropTarget,horizontalDrops:y==="horizontal",draggingTabId:M.draggingTabId,labels:l,renderTab:u,renderTabTitle:f,renderTabMenuItems:p,chromePaneId:w9(e),chrome:m};return c.jsx("div",{className:Ee.surface,ref:I,"data-dockkit-surface":!0,"data-dockkit-drop-zones":y,children:w(H,M.sizes)})}function ZD(e){return c.jsx(up,{...e,draw:(t,n)=>c.jsx(ap,{state:e.state,nodeId:e.state.rootId,callbacks:t,preview:n})})}function WD(e){return c.jsx(up,{...e,draw:(t,n)=>c.jsx($D,{...e,callbacks:t,preview:n})})}const UD=Object.freeze(Object.defineProperty({__proto__:null,DOCK_EDGE_FRACTION:I2,DOCK_ZONES:bF,DRAG_THRESHOLD:C0,DockController:jF,DockLayout:WD,DockSurface:ZD,EMPTY_HISTORY:x9,FLOAT_DEFAULT_SIZE:Ha,FLOAT_MIN_SIZE:M9,FloatLayer:FD,MAX_DOCK_PANES:E9,MIN_PANE_FRACTION:M2,SPLIT_MINIMUMS:yo,Sequencer:j9,activeDockPaneId:_i,applyOp:xi,canSplit:xl,canStepBack:j2,canStepForward:E2,clampSizes:O2,containsPoint:Va,createIdMinter:X9,createInitialState:ep,dividerSizes:R9,dockPaneCount:I9,dockPaneIds:yl,findContentTab:H9,findPaneContentTab:$9,findParent:wl,findTabPane:Tn,floatRectAt:D9,getNode:pr,getPane:Xe,getSplit:vl,getTab:_o,halvesFit:P9,insertionIndex:z9,isFocusOp:_9,movedRect:A9,passedThreshold:N9,planAddTab:W9,planDropTab:K9,planDuplicateTab:q9,planFloatTab:Y9,planOpenContent:U9,planPlaceTab:G9,planResizeSplit:Q9,planSetExpanded:V9,planSetMode:B9,planSettle:SF,planSplitPane:Z9,planUnfloatPane:J9,record:b9,recordedOps:C9,replay:_F,resizedRect:F9,stepBack:k9,stepForward:S9,topRightPaneId:w9,zoneAt:O9,zoneInRect:T9,zoneSplit:L9},Symbol.toStringTag,{value:"Module"}));function qD(){return{react:zv,"react/jsx-runtime":Av,"react-dom":Vv,"react-dom/client":Wv,"@deepseek-ai/cordis":Pg,"@deepseek-ai/dsh-client-store":bv,"@deepseek-ai/dsh-client-ui-slots":Jv,"@deepseek-ai/dsh-client-ui-primitives":nF,"@deepseek-ai/dsh-client-ui-dockkit":UD}}const GD="data-window-drag",_a="data-window-drag-recall",fo=`[${GD}]`,KD=2,y6=["transitionstart","transitionend","animationstart","animationend"];function YD(e){const t=e.document;if(t.documentElement.dataset.platform!=="darwin")return()=>{};const n=e.scheduleFrame??XD,o=e.watchBox??e$;let s=new Map;const l=new Map;let u=!1,f=!1,p,m=0;const v=()=>{t.body.removeAttribute(_a);const N=Array.from(t.querySelectorAll(fo));_(N);const L=new Map(N.map(A=>[A,JD(A)])),$=N.length!==s.size||N.some(A=>s.get(A)!==L.get(A));if(s=L,$){t.body.setAttribute(_a,""),m=0,y();return}m!==0&&(m-=1,y())},w=()=>{m=KD,y()},y=()=>{u||(u=!0,p=n(()=>{u=!1,p=void 0,!f&&v()}))},_=N=>{for(const[L,$]of l)N.includes(L)||($(),l.delete(L));for(const L of N)l.has(L)||l.set(L,o(L,w))},C=N=>N instanceof Element?N.closest(fo)!==null||N.querySelector(fo)!==null:!1,I=N=>{C(N.target)&&w()},M=new MutationObserver(N=>{N.some(L=>QD(L,s.keys()))&&w()});M.observe(t.body,{subtree:!0,childList:!0,attributes:!0,characterData:!0});for(const N of y6)t.addEventListener(N,I,!0);return w(),()=>{f=!0,M.disconnect();for(const N of y6)t.removeEventListener(N,I,!0);p!==void 0&&p();for(const N of l.values())N();l.clear(),s.clear(),t.body.removeAttribute(_a)}}function JD(e){const t=e.getBoundingClientRect();return`${t.x},${t.y},${t.width},${t.height}`}function QD(e,t){if(e.attributeName===_a)return!1;for(const o of[...e.addedNodes,...e.removedNodes])if(o instanceof Element&&(o.matches(fo)||o.querySelector(fo)!==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 o of t)if(n.contains(o))return!0;return!1}return n.closest(fo)!==null||n.querySelector(fo)!==null}function XD(e){const t=requestAnimationFrame(e);return()=>{cancelAnimationFrame(t)}}function e$(e,t){if(typeof ResizeObserver!="function")return()=>{};const n=new ResizeObserver(t);return n.observe(e),()=>{n.disconnect()}}class t${container;seams;page;pwaInstall;ctx;stopDragRecall;modules;manifest;constructor(t,n){this.container=t,this.seams=n;const o=t.ownerDocument.defaultView;o!==null&&!("dshDesktop"in o)&&!("dshDesktopBoot"in o)&&/^https?:$/u.test(o.location.protocol)&&(this.pwaInstall=new Sv(o)),Ev(),Iv(),this.page=new ev(t)}async run(t){try{await globalThis.__DSH_BOOT_READY__?.promise;const n=globalThis,o=n.__ModuleLoader__;if(o===void 0)throw new Error("web boot: window.__ModuleLoader__ bootstrap facade is missing");const s=globalThis.__DSH_TRANSPORT__;this.modules=o.create({boot:n.__DSH_BOOT__,staticModules:qD(),...s?.loadBundle===void 0?{}:{loadBundle:s.loadBundle},...this.seams}),this.manifest=this.modules.manifest;const l=this.prefetchImmediateTier(),u=new nt;this.ctx=u,this.pwaInstall!==void 0&&u.provide("pwaInstall",this.pwaInstall),this.page.setTotal(this.manifest.plugins.length),await l,await Zg({ctx:u,modules:this.modules,manifest:this.manifest,onEntryState:(f,p)=>{(t===void 0||p!=="failed")&&this.page.setState(f,p)}}),this.stopDragRecall=YD({document:this.container.ownerDocument}),await Ov(u,this.container)}catch(n){console.error(n),t!==void 0?t(n):this.page.fail(n instanceof Error?n.message:String(n))}}async dispose(){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(){await Promise.all(this.manifest.plugins.filter(t=>t.immediately).map(t=>this.modules.prefetch(t.id).catch(n=>{})))}}function n$(e){throw new Error(`web boot: unknown index injection row ${JSON.stringify(e)}`)}async function r$(e,t){for(const n of e)switch(n.kind){case"global":globalThis[n.name]=n.value;break;case"script":{const o=document.createElement("script");o.textContent=n.text,(n.placement==="head"?document.head:document.body).append(o);break}case"script-src":await t(n.src);break;case"script-preload":break;case"style":{const o=document.createElement("style");o.textContent=n.text,document.head.append(o);break}case"html":(n.placement==="head"?document.head:document.body).insertAdjacentHTML("beforeend",n.html);break;default:n$(n)}}const Ss=globalThis.dshDesktopBoot,x6=e=>{if(Ss===void 0)throw e;Ss.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 t$(e);if(Ss!==void 0){const n=globalThis.__DSH_BOOT_READY__;if(n===void 0)throw new Error("desktop web: boot readiness is missing");Ss.ready().then(async({injections:o,streamBaseUrl:s})=>{const l=globalThis;l.__DSH_TRANSPORT__={ownsHost:!0,streamBaseUrl:s},await r$(o,u=>new Promise((f,p)=>{const m=document.createElement("script");m.src=u,m.onload=()=>{f()},m.onerror=()=>{p(new Error(`desktop web: failed to load ${u}`))},document.head.append(m)})),n.resolve()}).catch(o=>{n.reject(o)})}t.run(Ss===void 0?void 0:x6)}catch(e){x6(e)}