@atlasharness/atlasweb 0.0.0-stage → 0.1.0

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.
@@ -0,0 +1,104 @@
1
+ (function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerPolicy&&(a.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?a.credentials="include":l.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(l){if(l.ep)return;l.ep=!0;const a=r(l);fetch(l.href,a)}})();function wt(e){return e==null}function d1(e){return e&&typeof e=="object"&&!Array.isArray(e)}function o4(e,n){return Object.fromEntries(Object.entries(e).filter(([r,o])=>n(r,o)))}function hr(e,n){return Object.fromEntries(Object.entries(e).map(([r,o])=>[r,n(o,r)]))}function s4(e,n,r){if(!n)return{...e};const o={};for(const l of n)e[l]!==void 0&&(o[l]=e[l]);return o}function Dn(e,n,r){return Object.defineProperty(e,n,{writable:!0,value:r,enumerable:!1})}const S2=Symbol.for("cosmokit.volatile.write");function Au(e,n=new Set){if(typeof e=="function")throw new TypeError("volatile config cannot contain functions");if(e===null||typeof e!="object")return e;if(n.has(e))throw new TypeError("volatile config cannot contain cycles");n.add(e);try{if(Array.isArray(e))return Object.freeze(e.map(r=>Au(r,n)));if(Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new TypeError("volatile config objects must be plain objects or arrays");return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,o])=>[r,Au(o,n)])))}finally{n.delete(e)}}function _2(e){let n=Au(e);return Object.freeze({get:()=>n,[S2]:r=>{n=r}})}function go(e){return typeof e=="object"&&e!==null&&S2 in e}function pr(e,n){return arguments.length===1?r=>pr(e,r):e in globalThis&&n instanceof globalThis[e]||Object.prototype.toString.call(n).slice(8,-1)===e}function cl(e){return pr("ArrayBuffer",e)||pr("SharedArrayBuffer",e)}function l4(e){return cl(e)||ArrayBuffer.isView(e)}var Sn;(e=>{e.is=cl,e.isSource=l4;function n(u){return ArrayBuffer.isView(u)?u.buffer.slice(u.byteOffset,u.byteOffset+u.byteLength):u}e.fromSource=n;function r(u){if(u=n(u),typeof Buffer<"u")return Buffer.from(u).toString("base64");let d="";const p=new Uint8Array(u);for(let h=0;h<p.byteLength;h++)d+=String.fromCharCode(p[h]);return btoa(d)}e.toBase64=r;function o(u){return typeof Buffer<"u"?n(Buffer.from(u,"base64")):Uint8Array.from(atob(u),d=>d.charCodeAt(0))}e.fromBase64=o;function l(u){return u=n(u),typeof Buffer<"u"?Buffer.from(u).toString("hex"):Array.from(new Uint8Array(u),d=>d.toString(16).padStart(2,"0")).join("")}e.toHex=l;function a(u){if(typeof Buffer<"u")return n(Buffer.from(u,"hex"));const d=u.length%2===0?u:u.slice(0,u.length-1),p=[];for(let h=0;h<d.length;h+=2)p.push(parseInt(`${d[h]}${d[h+1]}`,16));return Uint8Array.from(p).buffer}e.fromHex=a})(Sn||(Sn={}));Sn.fromBase64;Sn.toBase64;Sn.fromHex;Sn.toHex;function Du(e,n=new Map){if(!e||typeof e!="object")return e;if(pr("Date",e))return new Date(e.valueOf());if(pr("RegExp",e))return new RegExp(e.source,e.flags);if(cl(e))return e.slice(0);if(ArrayBuffer.isView(e))return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);const r=n.get(e);if(r)return r;if(Array.isArray(e)){const l=[];return n.set(e,l),e.forEach((a,u)=>{l[u]=Reflect.apply(Du,null,[a,n])}),l}const o=Object.create(Object.getPrototypeOf(e));n.set(e,o);for(const l of Reflect.ownKeys(e)){const a={...Reflect.getOwnPropertyDescriptor(e,l)};"value"in a&&(a.value=Reflect.apply(Du,null,[a.value,n])),Reflect.defineProperty(o,l,a)}return o}function Hu(e,n,r){const o=new Set;function l(a,u){if(a===u)return!0;if(go(a)||go(u))return go(a)&&go(u);if(!r&&wt(a)&&wt(u))return!0;if(typeof a!=typeof u||typeof a!="object"||!a||!u||o.has(a))return!1;function d(p,h){return p(a)?p(u)?h(a,u):!1:p(u)?!1:void 0}o.add(a);try{return d(Array.isArray,(p,h)=>{if(p.length!==h.length)return!1;for(let g=0;g<p.length;g++)if(!l(p[g],h[g]))return!1;return!0})??d(pr("Date"),(p,h)=>p.valueOf()===h.valueOf())??d(pr("URL"),(p,h)=>p.href===h.href)??d(pr("RegExp"),(p,h)=>p.source===h.source&&p.flags===h.flags)??d(cl,(p,h)=>{if(p.byteLength!==h.byteLength)return!1;const g=new Uint8Array(p),w=new Uint8Array(h);for(let k=0;k<g.length;k++)if(g[k]!==w[k])return!1;return!0})??((!r||[a,u].every(p=>Object.getPrototypeOf(p)===Object.prototype||Object.getPrototypeOf(p)===null))&&Object.keys({...a,...u}).every(p=>l(a[p],u[p])))}finally{o.delete(a)}}return l(e,n)}function a4(e,n,r){const o=[];let l=0;for(let a=0;a<e.length;a++){const u=e.charCodeAt(a);if(u>=65&&u<=90){if(l===1){const d=e.charCodeAt(a+1);d>=97&&d<=122&&o.push(r),o.push(u+32)}else l!==0&&o.push(r),o.push(u+32);l=1}else u>=97&&u<=122?(o.push(u),l=2):n.includes(u)?(l!==0&&o.push(r),l=0):o.push(u)}return String.fromCharCode(...o)}function u4(e){return a4(e,[45,95],45)}const c4=u4;var zd;(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 n=new Date().getTimezoneOffset();function r(v){n=v}e.setTimezoneOffset=r;function o(){return n}e.getTimezoneOffset=o;function l(v=new Date,_){return typeof v=="number"&&(v=new Date(v)),_===void 0&&(_=n),Math.floor((v.valueOf()/e.minute-_)/1440)}e.getDateNumber=l;function a(v,_){const E=new Date(v*e.day);return _===void 0&&(_=n),new Date(+E+_*e.minute)}e.fromDateNumber=a;const u=/\d+(?:\.\d+)?/.source,d=new RegExp(`^${["w(?:eek(?:s)?)?","d(?:ay(?:s)?)?","h(?:our(?:s)?)?","m(?:in(?:ute)?(?:s)?)?","s(?:ec(?:ond)?(?:s)?)?"].map(v=>`(${u}${v})?`).join("")}$`);function p(v){const _=d.exec(v);return _?(parseFloat(_[1])*e.week||0)+(parseFloat(_[2])*e.day||0)+(parseFloat(_[3])*e.hour||0)+(parseFloat(_[4])*e.minute||0)+(parseFloat(_[5])*e.second||0):0}e.parseTime=p;function h(v){const _=p(v);return _?v=Date.now()+_:/^\d{1,2}(:\d{1,2}){1,2}$/.test(v)?v=`${new Date().toLocaleDateString()}-${v}`:/^\d{1,2}-\d{1,2}-\d{1,2}(:\d{1,2}){1,2}$/.test(v)&&(v=`${new Date().getFullYear()}-${v}`),v?new Date(v):new Date}e.parseDate=h;function g(v){const _=Math.abs(v);return _>=e.day-e.hour/2?Math.round(v/e.day)+"d":_>=e.hour-e.minute/2?Math.round(v/e.hour)+"h":_>=e.minute-e.second/2?Math.round(v/e.minute)+"m":_>=e.second?Math.round(v/e.second)+"s":v+"ms"}e.format=g;function w(v,_=2){return v.toString().padStart(_,"0")}e.toDigits=w;function k(v,_=new Date){return v.replace("yyyy",_.getFullYear().toString()).replace("yy",_.getFullYear().toString().slice(2)).replace("MM",w(_.getMonth()+1)).replace("dd",w(_.getDate())).replace("hh",w(_.getHours())).replace("mm",w(_.getMinutes())).replace("ss",w(_.getSeconds())).replace("SSS",w(_.getMilliseconds(),3))}e.template=k})(zd||(zd={}));class f1{sn=0;map=new Map;weak=new WeakMap;get length(){return this.map.size}push(n){const r=++this.sn;return this.map.set(r,n),this.weak.set(n,r),()=>this.map.delete(r)}delete(n){const r=this.weak.get(n);return r?this.map.delete(r):!1}clear(){const n=[...this.map.values()];return this.map.clear(),n.reverse()}[Symbol.iterator](){return this.map.values()}[Symbol.for("nodejs.util.inspect.custom")](){return[...this]}}const re={shadow:Symbol.for("cordis.shadow"),caller:Symbol.for("cordis.caller"),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")},d4=function*(){}.constructor,Ld=async function*(){}.constructor;function f4(e){return!(!e.prototype||e instanceof d4||Ld!==Function&&e instanceof Ld)}function h1(e,n){if(e===Object.prototype)return n;const r=Object.create(h1(Object.getPrototypeOf(e),n));for(const o of Reflect.ownKeys(e))Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(e,o));return r}function mi(e){return e&&(typeof e=="object"||typeof e=="function")}function E2(e,n){let r=e;for(;r;){const o=Reflect.getOwnPropertyDescriptor(r,n);if(o)return o;r=Object.getPrototypeOf(r)}}function $r(e,n){if(!mi(n))return n;if(Object.hasOwn(n,re.shadow))return Object.getPrototypeOf(n);const r=n[re.tracker];return r?p1(e,n,r):n}function Ys(e,n){return n?new Proxy(e,{get:(r,o,l)=>o in n&&o!=="constructor"?Reflect.get(n,o,l):Reflect.get(r,o,l),set:(r,o,l,a)=>o in n&&o!=="constructor"?Reflect.set(n,o,l,a):Reflect.set(r,o,l,a)}):e}function Bu(e,n,r){return Ys(e,Object.defineProperty(Object.create(null),n,{value:r,writable:!1}))}function Hs(e,n,r,o){if(!r)return o;const l=E2(n,r)?.value;if(!l)return o;const a=l[re.shadow]??l;return Bu(o,r,e.extend({[re.shadow]:a}))}function h4(e,n,r,o){return new Proxy(n,{apply:(l,a,u)=>(a===r&&(a=o),$r(e,Reflect.apply(l,a,u)))})}function p1(e,n,r){const o=e[re.shadow]??e,l=e[re.shadow]?Object.getPrototypeOf(e):e,a=new Proxy(n,{get:(u,d,p)=>{if(d===re.original)return u;if(d===re.caller)return o;if(d===r.property)return l;if(typeof d=="symbol")return Reflect.get(u,d,p);if(r.associate&&l.reflect.props[`${r.associate}.${d}`])return Reflect.get(e,`${r.associate}.${d}`,Bu(e,re.receiver,p));let h,g;const w=E2(u,d);w&&"value"in w?g=w.value:(h=Hs(l,u,r.property,p),g=Reflect.get(u,d,h));const k=g?.[re.tracker];return k?p1(l,g,k):!r.noShadow&&typeof g=="function"?(h??=Hs(l,u,r.property,p),h4(l,g,p,h)):g},set:(u,d,p,h)=>{if(d===re.original||d===re.caller||d===r.property)return!1;if(typeof d=="symbol")return Reflect.set(u,d,p,h);if(r.associate&&l.reflect.props[`${r.associate}.${d}`])return Reflect.set(e,`${r.associate}.${d}`,p,Bu(e,re.receiver,h));const g=Hs(l,u,r.property,h);return Reflect.set(u,d,p,g)},apply:(u,d,p)=>{const h=r.noShadow?a:Hs(l,u,r.property,a);return p4(h,u,d,p)}});return a}function p4(e,n,r,o){return n[re.invoke]?n[re.invoke].apply(e,o):Reflect.apply(n,r,o)}function Vu(e,n,r){const o=function(...l){const a=p1(o.ctx,o,r);return Reflect.apply(a,this,l)};return Dn(o,"name",e),Object.setPrototypeOf(o,n)}function jd(e,n,r){const o=e.error.stack.split(`
2
+ `);if(typeof n?.stack!="string"){const u=new Error(n),d=u.stack.split(`
3
+ `);throw d.splice(1,1/0,...r()),u.stack=d.join(`
4
+ `),u}const l=n.stack.split(`
5
+ `);let a=l.indexOf(o[2]);if(a===-1)throw n;for(a-=e.offset;a>0&&l[a-1].endsWith(" (<anonymous>)");)a-=1;throw l.splice(a,1/0,...r()),n.stack=l.join(`
6
+ `),n}function Id(e,n=m1()){const r={offset:1,error:new Error};try{const o=e(r);return mi(o)&&"then"in o?o.then(void 0,l=>jd(r,l,n)):o}catch(o){jd(r,o,n)}}function m1(e=0){const n=new Error;return()=>n.stack.split(`
7
+ `).slice(3+e)}const m4=Symbol.for("ValidationError");let M2=class extends TypeError{name="ValidationError";constructor(n){super(`invalid config:
8
+ `+n.map(r=>r.path?` - ${r.message} (at ${r.path.join(".")})`:` - ${r.message}`).join(`
9
+ `))}};Object.defineProperty(M2.prototype,m4,{value:!0});function g4(e,n){if(!e.Config)return n;const r=e.Config["~standard"].validate(n);if("then"in r)throw new TypeError("Async config validation is not supported");if(r.issues)throw new M2(r.issues);return r.value}const z2=new WeakMap;function ou(e){const n=e();return z2.get(e)?.()??n}function w4(e,n){const r=["internal/plugin",n];let o;try{o=e.events.dispatch("emit",r)}catch(l){e.logger.error(l);return}for(const l of o)try{const a=l(...r);Promise.resolve(a).catch(u=>e.logger.error(u))}catch(a){e.logger.error(a)}}var Wu=(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))(Wu||{});class ki extends Error{constructor(n,r){super(r??ki.Code[n]),this.code=n}}(e=>{e.Code={INACTIVE_EFFECT:"cannot create effect on inactive context"}})(ki||(ki={}));const Nn="__INACTIVE__";class L2{constructor(n,r,o,l,a){this.parent=n,this.inject=o,this.runtime=l,this.config=r;const u=d=>{this._disposables.push(d)};if(l){this.uid=n.registry.counter,this.ctx=this.context=n.extend({fiber:this});const d=Object.entries(this.inject);if(d.length){this.ctx[mn.intercept]=Object.create(n[mn.intercept]);for(const[p,h]of d)wt(h)||(this.ctx[mn.intercept][p]=h)}this._runner={epoch:Nn,getOuterStack:a,execute:function(){const p=this.resolveConfig(this.config);if(this._effectiveConfig=p,f4(l.callback)){const h=new l.callback(this.ctx,p);for(const g of h?.[re.initHooks]??[])g();return h?.[re.init]?.()}else return l.callback(this.ctx,p)},collect:u},this.dispose=n.fiber.effect(()=>{const p=l.fibers.push(this);return async()=>{for(this.uid=null,w4(this.context,this),this.ctx.registry.has(l.callback)&&(p(),l.fibers.length||this.ctx.registry.delete(l.callback)),this._setEpoch(Nn),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(h=>this.ctx.logger.error(h)),p}if(this.uid!==null&&n.fiber.state!==5){for(const p of Object.keys(this.inject))this._checkImpl(p);this._refresh()}}else this.uid=0,this.ctx=this.context=n,this.state=2,this.committed=Object.create(null),this._runner={epoch:"0",getOuterStack:a,execute:()=>{},collect:u},this.dispose=()=>this.restart()}uid;ctx;config;state=0;dispose;committed;provisions=new Set;inertia;_hooks=Object.create(null);_disposables=new f1;context;_error;_revision=0;_configRevision=0;_effectiveConfig;_runner;_store=Object.create(null);_release;get name(){let n=this;do{if(n.runtime?.name)return n.runtime.name;n=n.parent.fiber}while(n!==n.parent.fiber);return"root"}assertActive(){if(this.uid===null)throw new ki("INACTIVE_EFFECT")}_execute(n){const r=n.epoch;return Id(o=>{const l=u=>{if(typeof u=="function")n.collect(u);else if(!wt(u))throw new TypeError("Invalid effect")},a=n.execute.call(this);if(typeof a=="function")return n.collect(a);if(!wt(a))if(mi(a)){if("then"in a)return a.then(l);if(Symbol.iterator in a){o.error=new Error;const u=a[Symbol.iterator]();for(;;){const d=u.next();if(l(d.value),d.done)return}}else if(Symbol.asyncIterator in a){const u=a[Symbol.asyncIterator]();return(async()=>{for(await Promise.resolve(),o.error=new Error;;){if(n.epoch!==r)return;const d=await u.next();if(l(d.value),d.done)return}})()}else throw new TypeError("Invalid effect")}else throw new TypeError("Invalid effect")},n.getOuterStack)}effect(n,r="anonymous"){if(this.assertActive(),this.state===5)throw new ki("INACTIVE_EFFECT");const o=[];let l=!1,a;const u=()=>{if(l)return a;l=!0;let j;for(const H of o.splice(0).reverse())if(j)j=j.then(()=>ou(H));else{const G=ou(H);mi(G)&&"then"in G&&(j=G)}return a=j},d={label:r,children:[]},p={execute:n,epoch:!0,collect:j=>{o.push(j),this._disposables.delete(j),j[re.effect]&&d.children.push(j[re.effect])},getOuterStack:m1()};let h,g=!0,w,k,v,_=!1,E,O=()=>!1;const F=()=>(v??=new Promise((j,H)=>{w=j,k=H}),v),Z=j=>Promise.resolve(j).then(()=>u(),async H=>{throw await u(),H}),D=j=>{let H;try{H=j()}catch(G){throw O(),G}if(mi(H)&&"then"in H){const G=Promise.resolve(H).finally(()=>{O(),E===G&&(E=void 0)});return E=G}return O(),H},B=Dn(()=>p.epoch?(p.epoch=!1,D(()=>g?Z(F()):h?Z(h):u())):_?E:void 0,re.effect,d);z2.set(B,()=>E),O=this._disposables.push(B);try{h=this._execute(p)}catch(j){g=!1,_=!0,p.epoch=!1;let H;try{H=D(u)}finally{k?.(j)}throw mi(H)&&"then"in H&&H.catch(G=>this.ctx.logger.error(G)),j}g=!1,v&&Promise.resolve(h).then(w,k),h?.catch(()=>p.epoch?D(u):u()).catch(j=>this.ctx.logger.error(j));const ee=()=>{if(p.epoch)return p.epoch=!1,D(u)};return B.then=async(j,H)=>Promise.resolve(h).then(()=>ee).then(j,H),B}getEffects(){return[...this._disposables].map(n=>n[re.effect]).filter(Boolean)}_getState(){return this.uid===null?4:this._error?3:this._runner.epoch!==Nn?2:0}_updateState(n){const r=this.state;if(this.state=n()??this._getState(),r!==this.state&&(this.context.emit("internal/status",this,r),!(r!==2&&this.state!==2)))for(const o of Reflect.ownKeys(this.ctx.reflect.store)){const l=this.ctx.reflect.store[o];l.ctx.fiber===this&&this.ctx.isolate(l.name,l.isolate).reflect.notify([l.name])}}_checkImpl(n){const r=this.ctx.reflect._getImpl(n,!0);if(!r)return delete this._store[n];try{if(r.check&&!r.check.call($r(this.ctx,r.value)))return delete this._store[n]}catch(o){return r.ctx.logger.error(o),delete this._store[n]}this._store[n]=r}_refresh(){let n=`${this._revision}`;for(const r of Object.keys(this.inject)){const o=this._store[r];if(!o){n=Nn;break}n+=":"+o.uid}this._setEpoch(n)}_setEpoch(n){const r=this._runner.epoch;n!==r&&(this._error||(this._runner.epoch=n,!this.inertia&&this._updateState(()=>n!==Nn&&r===Nn?(this.inertia=this._reload(),1):(this.inertia=this._unload(),5))))}get rawConfig(){return this.ctx.fiber.config}set rawConfig(n){this.ctx.fiber.config=n,this.ctx.fiber._configRevision++}get effectiveConfig(){return this.ctx.fiber._effectiveConfig}resolveConfig(n){const r=this.ctx.fiber;return r.context.waterfall("internal/config",r,()=>n)}async _reload(){this.committed={...this._store};for(const r of Object.values(this.committed))r.ctx.fiber!==this&&r.dependents.add(this);const n=this._runner.epoch;try{await Promise.resolve(),this._runner.epoch===n&&await this._execute(this._runner)}catch(r){this.ctx.logger.error(r),this._runner.epoch===n&&(this._error=r,this._runner.epoch=Nn)}this._updateState(()=>{if(this._runner.epoch===n)this.inertia=void 0;else return this.inertia=this._unload(),5})}async _unload(){for(;[...this.provisions].some(n=>n.dependents.size);)await new Promise(n=>this._release=n);this._release=void 0,await Promise.all(this._disposables.clear().map(async n=>{try{await Id(async r=>{await Promise.resolve(),r.error=new Error,await ou(n)},this._runner.getOuterStack)}catch(r){this.ctx.logger.error(r)}}));for(const n of Object.values(this.committed??{}))!n.dependents.delete(this)||n.dependents.size||(n.release?.(),n.ctx.fiber._release?.());this.committed=void 0,this._updateState(()=>{if(this._runner.epoch===Nn)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(){const n=this.ctx.fiber;n.assertActive(),n._revision++,n._refresh(),await n.await()}update(n,r=!1){const o=this.ctx.fiber;o.assertActive();const l=o._runner.epoch!==Nn,a=l?o.resolveConfig(n):void 0;r||o.context.emit("internal/commit",o,n),o.config=n,o._error=void 0;const u=++o._configRevision,d=o._runner.epoch,p=o.committed;let h=!1;const g=()=>(h=!0,o.restart()),w=()=>{!h&&o.uid!==null&&o._configRevision===u&&o._runner.epoch===d&&o.committed===p&&(o._effectiveConfig=a)},k=l?o.context.waterfall(o,"internal/update",a,g):g();if(k===void 0){w();return}const v=Promise.resolve(k).then(w);return v.catch(()=>{}),v}}function Fd(e){return e!==null&&e!==!1&&e!==void 0}class v4{constructor(n){this.ctx=n,Dn(this,re.tracker,{property:"ctx",noShadow:!0}),this.on("internal/listener",function(r,o,l){if(r==="internal/update"&&!l.global){const a=this.fiber._hooks["internal/update"]??=new f1,u=l.prepend?"unshift":"push";return this.fiber.effect(()=>a[u](o),'ctx.on("internal/update")')}}),this.on("internal/update",function(r,o){const l=[...this._hooks["internal/update"]||[]],a=()=>(l.shift()??o).call(this,r,a);return a()},{global:!0,prepend:!0}),this.on("internal/config",(r,o)=>{const l=o();return r.runtime?g4(r.runtime,l):l})}_hooks=Object.create(null);_resolve(n,r){const o=typeof r[0]=="object"||typeof r[0]=="function"?r.shift():null,l=r.shift();(typeof l!="string"||!l.startsWith("internal/"))&&this._hooks["internal/dispatch"]?.length&&this.emit("internal/dispatch",n,l,r,o);const a=o?.[mn.filter];return[o,(this._hooks[l]||[]).filter(u=>u.global||!a||a.call(o,u.ctx)).map(u=>u.callback)]}dispatch(n,r){const[o,l]=this._resolve(n,r);return l.map(a=>a.bind(o))}async parallel(...n){const[r,o]=this._resolve("parallel",n),a=(await Promise.allSettled(o.map(async u=>Reflect.apply(u,r,n)))).filter(u=>u.status==="rejected");if(a.length)throw new AggregateError(a.map(u=>u.reason))}emit(...n){const[r,o]=this._resolve("emit",n);for(const l of o)Reflect.apply(l,r,n)}async serial(...n){const[r,o]=this._resolve("serial",n);for(const l of o){const a=await Reflect.apply(l,r,n);if(Fd(a))return a}}bail(...n){const[r,o]=this._resolve("bail",n);for(const l of o){const a=Reflect.apply(l,r,n);if(Fd(a))return a}}waterfall(...n){const[r,o]=this._resolve("waterfall",n),l=n.pop(),a=()=>{const u=o.shift();if(!u)return l();let d=!1;const p=()=>{if(d)throw new Error("next() called multiple times");return d=!0,a()};return Reflect.apply(u,r,[...n,p])};return a()}register(n,r,o,l){const a=l.prepend?"unshift":"push";return this.ctx.fiber.effect(()=>((this._hooks[r]??=[])[a]({ctx:this.ctx,callback:o,...l}),()=>this.unregister(r,o)),n)}unregister(n,r){const o=this._hooks[n];if(!o)return;const l=o.findIndex(a=>a.callback===r);if(l>=0)return o.splice(l,1),o.length||delete this._hooks[n],!0}on(n,r,o){typeof o!="object"&&(o={prepend:o}),this.ctx.fiber.assertActive(),r=this.ctx.reflect.bind(r);const l=this.bail(this.ctx,"internal/listener",n,r,o);if(l)return l;const a=`ctx.on(${typeof n=="string"?JSON.stringify(n):n.toString()})`;return this.register(a,n,r,o)}once(n,r,o){const l=this.on(n,function(...a){return l(),r.apply(this,a)},o);return l}}const Od={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,n,r)=>Uu.color(n,Uu.code(r.name,n.colors),e)};function y4(e){return e instanceof Error&&Array.isArray(e.errors)}class Uu{constructor(n,r){this.service=r,Object.assign(this,n),this.error=this._method("error",0),this.info=this._method("info",2),this.warn=this._method("warn",1),this.debug=this._method("debug",3)}static color(n,r,o,l=""){return n.colors?`\x1B[3${r<8?r:"8;5;"+r}${n.colors>=2?l:""}m${o}\x1B[0m`:""+o}static code(n,r){let o=0;for(let a=0;a<n.length;a++)o=(o<<3)-o+n.charCodeAt(a)+13,o|=0;const l=r?r>=2?b4:k4:[];return l[Math.abs(o)%l.length]}static format(n,r){const o=r.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 l=o.shift();l=l.replace(/%([a-zA-Z%])/g,(d,p)=>{if(d==="%%")return"%";const h=n.formatters?.[p]??Od[p];if(typeof h=="function"){const g=o.shift();return h(g,n,r)}return d});const a=n.formatters?.o??Od.o;for(let d of o)typeof d=="object"&&d&&(d=a(d,n,r)),l+=" "+d;const{maxLength:u=10240}=n;return l.split(/\r?\n/g).map(d=>d.slice(0,u)+(d.length>u?"...":"")).join(`
10
+ `)}_method(n,r){return(...o)=>{if(o.length===1&&o[0]instanceof Error){if(o[0].cause)this[n](o[0].cause);else if(y4(o[0])){o[0].errors.forEach(u=>this[n](u));return}}const l=++this.service._snMessage,a=Date.now();for(const u of this.service.exporters.values()){if((u.levels?.[this.name]??u.levels?.default??this.level??2)<r)continue;const p={sn:l,ts:a,type:n,level:r,name:this.name,...this.meta,args:o};u.export(p)}}}}const k4=[6,2,3,4,5,1],b4=[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 g1{bufferSize=1e3;buffer=[];ctx;_snMessage=0;_snExporter=0;exporters=new Map;constructor(n){const r={property:"ctx",noShadow:!0},o=Vu("logger",h1(Object.getPrototypeOf(this),Function.prototype),r);return Object.assign(o,this),o.ctx=n,Dn(o,re.tracker,r),o.exporter({colors:3,export:l=>{o.buffer.push(l);const a=o.buffer.length-o.bufferSize;a===1?o.buffer.shift():a>1&&o.buffer.splice(0,a)}}),o}exporter(n){return this.ctx.effect(()=>{const r=++this._snExporter;return this.exporters.set(r,n),()=>this.exporters.delete(r)},"ctx.logger.exporter()")}_resolveConfig(){let n=this.ctx[re.intercept];const r=[];for(;"logger"in n;)Object.hasOwn(n,"logger")&&r.unshift(n.logger),n=Object.getPrototypeOf(n);return Object.assign({},...r)}[re.invoke](n){const r=this._resolveConfig(),l=(this[re.caller]??this.ctx).fiber;return n??=r.name,n??=c4(l.name),new Uu({name:n,level:r.level,meta:{fiber:new WeakRef(l)}},this)}static{for(const n of["error","info","warn","debug"])g1.prototype[n]=function(...r){return this()[n](...r)}}}function su(e){const n=e.stack.split(`
11
+ `);return n.splice(0,2,`Error: ${e.message}`),e.stack=n.join(`
12
+ `),e}const x4=["prototype","then"];function lu(e){return typeof e=="symbol"||x4.includes(e)||parseInt(e).toString()===e||e.startsWith("_")}class Pd{constructor(n){this.ctx=n,Dn(this,re.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:(n,r,o)=>{if(lu(r))return Reflect.get(n,r,o);if(Reflect.has(n,r))return $r(o,Reflect.get(n,r,o));const l=new Error(`cannot get property "${r}" without inject`);try{const a=n.reflect.props[r];if(a?.type==="accessor")return a.get.call(o,o[re.receiver],l);const u=o[re.shadow]??o;return u.fiber.runtime?o.events.waterfall("internal/get",o,r,l,()=>{const d=u[re.isolate][r];let p=u.fiber;for(;;){let h=p.committed?.[r];for(const g of p.provisions)g.name===r&&g.ctx[re.isolate][r]===d&&(h=g);if(h)return $r(o,h.value);if(r in p.inject)throw l.message=`cannot get required service "${r}" in inactive context`,l;if(!p.runtime||p.parent[re.isolate][r]!==d)throw l;p=p.parent.fiber}}):o.reflect.get(r,!1)}catch(a){throw a===l?su(a):a}},set:(n,r,o,l)=>{if(lu(r))return Reflect.set(n,r,o,l);const a=new Error(`cannot set property "${r}" without provide`),u=n.reflect.props[r];if(!u){if(!l.fiber.runtime)return Reflect.set(n,r,o,l);throw su(a)}try{return u.type==="accessor"?u.set?u.set.call(l,o,l[re.receiver],a):!1:l.events.waterfall("internal/set",l,r,o,a,()=>l.reflect.set(r,o,a))}catch(d){throw d===a?su(d):d}},has:(n,r)=>lu(r)?Reflect.has(n,r):Reflect.has(n,r)?!0:!!n.reflect.props[r]};store=Object.create(null);props=Object.create(null);_implCounter=0;get(n,r=!0){return $r(this.ctx,this._getImpl(n,r)?.value)}_getImpl(n,r=!0){const o=this.ctx[re.isolate][n],l=o&&this.store[o];if(l&&!(r&&l.ctx.fiber.state!==Wu.ACTIVE))return l}set(n,r,o){const l=this.ctx[re.isolate][n],a=this.store[l];if(!a)throw new Error(`cannot set property "${n}" without provide`);if(a.ctx.fiber!==this.ctx.fiber)throw new Error(`cannot set property "${n}" in multiple fibers`);return a.value=r,!0}provide(n,r,o){return this.ctx.fiber.effect(()=>{if(!this.props[n])this.props[n]??={type:"service"};else if(this.props[n].type!=="service")throw new Error(`property "${n}" is already declared as ${this.props[n].type}`);this.props[n]={type:"service"},this.ctx.root[re.isolate][n]??=Symbol(n);const l=this.ctx[re.isolate][n],a={uid:++this._implCounter,name:n,value:r,ctx:this.ctx,check:o,isolate:l,dependents:new Set};if(this.store[l])throw new Error(`service "${n}" has been registered at <${this.store[l].ctx.fiber.name}>`);return this.store[l]=a,this.ctx.fiber.provisions.add(a),this.ctx.fiber.state===Wu.ACTIVE&&this.notify([n]),async()=>{this.store[a.isolate]===a&&delete this.store[a.isolate],this.ctx.isolate(n,a.isolate).reflect.notify([n]),await new Promise(u=>{a.release=u,a.dependents.size||u()}),a.release=void 0,this.ctx.fiber.provisions.delete(a)}},`ctx.provide(${JSON.stringify(n)})`)}notify(n,r=(o,l)=>o[re.isolate][l]===this.ctx[re.isolate][l]){for(const o of this.ctx.registry.values())for(const l of o.fibers){let a=!1;for(const u of n)u in l.inject&&r(l.ctx,u)&&(a=!0,l._checkImpl(u));a&&l._refresh()}for(const o of n){const l=Object.create(this.ctx);l[re.filter]=a=>r(a,o),this.ctx.events.emit(l,"internal/service",o,this._getImpl(o,!1)?.value)}}accessor(n,r){return this.ctx.fiber.effect(()=>{if(n in this.props)throw new Error(`property "${n}" is already declared as ${this.props[n].type}`);return this.props[n]={type:"accessor",...r},()=>delete this.props[n]},`ctx.accessor(${JSON.stringify(n)})`)}mixin(n,r){const o=this;return this.ctx.fiber.effect(function*(){const l=Array.isArray(r)?r.map(u=>[u,u]):Object.entries(r),a=(u,d)=>u[n];for(const[u,d]of l)yield o.accessor(d,{get(p,h){const g=a(this);if(wt(g))return g;const w=p?Ys(p,g):g,k=Reflect.get(g,u,w);return typeof k!="function"?k:k.bind(w??g)},set(p,h,g){const w=a(this),k=h?Ys(h,w):w;return Reflect.set(w,u,p,k)}})},`ctx.mixin(${JSON.stringify(n)})`)}trace(n){return $r(this.ctx,n)}bind(n){return new Proxy(n,{apply:(r,o,l)=>Reflect.apply(r,this.trace(o),l.map(a=>this.trace(a))),construct:(r,o,l)=>Reflect.construct(r,o.map(a=>this.trace(a)),l)})}}function C4(e){return e&&typeof e=="object"&&typeof e.apply=="function"}function qu(e,n){return function(r,o){if(o.kind==="class")Object.hasOwn(r,"inject")||(Dn(r,"inject",Object.create(Object.getPrototypeOf(r).inject??null)),Dn(r.inject,re.checkProto,!0)),r.inject[e]=n;else if(o.kind==="method"){const l=(r[re.metadata]??={}).inject??=Object.create(null);l[e]=n,o.addInitializer(function(){const a=this[re.tracker]?.property;(this[re.initHooks]??=[]).push(()=>{this.ctx.inject(l,u=>r.call(a?Ys(this,{[a]:u}):this))})})}else throw new Error("@Inject() can only be used on class or class methods")}}(e=>{function n(r,o=Object.create(null)){if(!r)return o;if(Array.isArray(r))for(const l of r)o[l]=null;else if(Reflect.has(r,re.checkProto)){Object.assign(o,n(Object.getPrototypeOf(r)));for(const l of Object.keys(r))o[l]=r[l]??null}else for(const l of Object.keys(r))o[l]=r[l]??null;return o}e.resolve=n})(qu||(qu={}));class S4{constructor(n){this.ctx=n,Dn(this,re.tracker,{property:"ctx",noShadow:!0})}_counter=0;_internal=new Map;get counter(){return++this._counter}get size(){return this._internal.size}resolve(n){try{if(typeof n=="function")return n;if(C4(n))return n.apply}catch{}}get(n){const r=this.resolve(n);return r&&this._internal.get(r)}has(n){const r=this.resolve(n);return!!r&&this._internal.has(r)}delete(n){const r=this.resolve(n),o=r&&this._internal.get(r);if(o){this._internal.delete(r);for(const l of o.fibers)l.dispose();return o}}keys(){return this._internal.keys()}values(){return this._internal.values()}entries(){return this._internal.entries()}forEach(n){return this._internal.forEach(n)}inject(n,r){return this.plugin({inject:n,apply:r,name:r.name})}plugin(n,r,o=m1()){const l=this.resolve(n);if(!l)throw new Error('invalid plugin, expect function or object with an "apply" method, received '+typeof n);this.ctx.fiber.assertActive();let a=this._internal.get(l);if(!a){let p=n.name;p==="apply"&&(p=void 0),a={name:p,callback:l,fibers:new f1,Config:n.Config},this._internal.set(l,a)}const u=new L2(this.ctx,r,qu.resolve(n.inject),a,o),d=Object.create(u);return d.then=(p,h)=>u.await().then(p,h),d}}class mn{static effect=re.effect;static filter=re.filter;static isolate=re.isolate;static intercept=re.intercept;static is(n){return!!n?.[mn.is]}static{mn.is[Symbol.toPrimitive]=()=>Symbol.for("cordis.is"),mn.prototype[mn.is]=!0}constructor(){this[re.isolate]=Object.create(null),this[re.intercept]=Object.create(null);const n=new Proxy(this,Pd.handler);return this.root=n,this.baseUrl=void 0,this.fiber=new L2(n,{},Object.create(null),null,()=>[]),this.reflect=new Pd(n),this.registry=new S4(n),this.events=new v4(n),this.logger=new g1(n),this.fiber._disposables.clear(),n}[Symbol.for("nodejs.util.inspect.custom")](){return`Context <${this.fiber.name}>`}extend(n={}){const r=Reflect.getOwnPropertyDescriptor(this,re.shadow)?.value,o=Object.create($r(this,this));for(const l of Reflect.ownKeys(n))Object.defineProperty(o,l,Reflect.getOwnPropertyDescriptor(n,l));return r?Object.assign(Object.create(o),{[re.shadow]:r}):o}isolate(n,r){const o=Object.create(this[re.isolate]);return o[n]=r??Symbol(n),this.extend({[re.isolate]:o})}intercept(n,r){const o=Object.create(this[re.intercept]);return o[n]=r,this.extend({[re.intercept]:o})}}class w1{constructor(n,r){this.ctx=n,r??=this.constructor.provide;let o=this;const l={associate:r,property:"ctx"};return o[re.invoke]&&(o=Vu(r,h1(Object.getPrototypeOf(this),Function.prototype),l)),o.ctx=n,o.name=r,Dn(o,re.tracker,l),o.ctx.reflect.provide(r,o,this[re.check]),o}static init=re.init;static check=re.check;static config=re.config;static invoke=re.invoke;static extend=re.extend;static tracker=re.tracker;static resolveConfig=re.resolveConfig;name;[re.filter](n){return n[re.isolate][this.name]===this.ctx[re.isolate][this.name]}[re.extend](n){let r;return this[w1.invoke]?r=Vu(this.name,this,this[re.tracker]):r=Object.create(this),Object.assign(r,n)}[re.resolveConfig](n,r){let o=this.ctx[mn.intercept];const l=[];for(;this.name in o;)Object.hasOwn(o,this.name)&&l.unshift(o[this.name]),o=Object.getPrototypeOf(o);return n&&l.unshift(n),r&&l.push(r),this.Config?.merge?this.Config.merge(...l):Object.assign({},...l)}static[Symbol.hasInstance](n){if(!n)return!1;let r=n.constructor;for(;r;){if(r=r.prototype?.constructor,r===this)return!0;r&&=Object.getPrototypeOf(r)}return!1}}var au={exports:{}},Me={};/**
13
+ * @license React
14
+ * react.production.min.js
15
+ *
16
+ * Copyright (c) Facebook, Inc. and its affiliates.
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */var Td;function _4(){if(Td)return Me;Td=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.iterator;function k(M){return M===null||typeof M!="object"?null:(M=w&&M[w]||M["@@iterator"],typeof M=="function"?M:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,E={};function O(M,A,C){this.props=M,this.context=A,this.refs=E,this.updater=C||v}O.prototype.isReactComponent={},O.prototype.setState=function(M,A){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,A,"setState")},O.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function F(){}F.prototype=O.prototype;function Z(M,A,C){this.props=M,this.context=A,this.refs=E,this.updater=C||v}var D=Z.prototype=new F;D.constructor=Z,_(D,O.prototype),D.isPureReactComponent=!0;var B=Array.isArray,ee=Object.prototype.hasOwnProperty,j={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function G(M,A,C){var pe,we={},ae=null,be=null;if(A!=null)for(pe in A.ref!==void 0&&(be=A.ref),A.key!==void 0&&(ae=""+A.key),A)ee.call(A,pe)&&!H.hasOwnProperty(pe)&&(we[pe]=A[pe]);var te=arguments.length-2;if(te===1)we.children=C;else if(1<te){for(var xe=Array(te),Ie=0;Ie<te;Ie++)xe[Ie]=arguments[Ie+2];we.children=xe}if(M&&M.defaultProps)for(pe in te=M.defaultProps,te)we[pe]===void 0&&(we[pe]=te[pe]);return{$$typeof:e,type:M,key:ae,ref:be,props:we,_owner:j.current}}function le(M,A){return{$$typeof:e,type:M.type,key:A,ref:M.ref,props:M.props,_owner:M._owner}}function P(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function K(M){var A={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(C){return A[C]})}var X=/\/+/g;function ie(M,A){return typeof M=="object"&&M!==null&&M.key!=null?K(""+M.key):A.toString(36)}function me(M,A,C,pe,we){var ae=typeof M;(ae==="undefined"||ae==="boolean")&&(M=null);var be=!1;if(M===null)be=!0;else switch(ae){case"string":case"number":be=!0;break;case"object":switch(M.$$typeof){case e:case n:be=!0}}if(be)return be=M,we=we(be),M=pe===""?"."+ie(be,0):pe,B(we)?(C="",M!=null&&(C=M.replace(X,"$&/")+"/"),me(we,A,C,"",function(Ie){return Ie})):we!=null&&(P(we)&&(we=le(we,C+(!we.key||be&&be.key===we.key?"":(""+we.key).replace(X,"$&/")+"/")+M)),A.push(we)),1;if(be=0,pe=pe===""?".":pe+":",B(M))for(var te=0;te<M.length;te++){ae=M[te];var xe=pe+ie(ae,te);be+=me(ae,A,C,xe,we)}else if(xe=k(M),typeof xe=="function")for(M=xe.call(M),te=0;!(ae=M.next()).done;)ae=ae.value,xe=pe+ie(ae,te++),be+=me(ae,A,C,xe,we);else if(ae==="object")throw A=String(M),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.");return be}function oe(M,A,C){if(M==null)return M;var pe=[],we=0;return me(M,pe,"","",function(ae){return A.call(C,ae,we++)}),pe}function ge(M){if(M._status===-1){var A=M._result;A=A(),A.then(function(C){(M._status===0||M._status===-1)&&(M._status=1,M._result=C)},function(C){(M._status===0||M._status===-1)&&(M._status=2,M._result=C)}),M._status===-1&&(M._status=0,M._result=A)}if(M._status===1)return M._result.default;throw M._result}var de={current:null},V={transition:null},ne={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:V,ReactCurrentOwner:j};function x(){throw Error("act(...) is not supported in production builds of React.")}return Me.Children={map:oe,forEach:function(M,A,C){oe(M,function(){A.apply(this,arguments)},C)},count:function(M){var A=0;return oe(M,function(){A++}),A},toArray:function(M){return oe(M,function(A){return A})||[]},only:function(M){if(!P(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},Me.Component=O,Me.Fragment=r,Me.Profiler=l,Me.PureComponent=Z,Me.StrictMode=o,Me.Suspense=p,Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ne,Me.act=x,Me.cloneElement=function(M,A,C){if(M==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var pe=_({},M.props),we=M.key,ae=M.ref,be=M._owner;if(A!=null){if(A.ref!==void 0&&(ae=A.ref,be=j.current),A.key!==void 0&&(we=""+A.key),M.type&&M.type.defaultProps)var te=M.type.defaultProps;for(xe in A)ee.call(A,xe)&&!H.hasOwnProperty(xe)&&(pe[xe]=A[xe]===void 0&&te!==void 0?te[xe]:A[xe])}var xe=arguments.length-2;if(xe===1)pe.children=C;else if(1<xe){te=Array(xe);for(var Ie=0;Ie<xe;Ie++)te[Ie]=arguments[Ie+2];pe.children=te}return{$$typeof:e,type:M.type,key:we,ref:ae,props:pe,_owner:be}},Me.createContext=function(M){return M={$$typeof:u,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},M.Provider={$$typeof:a,_context:M},M.Consumer=M},Me.createElement=G,Me.createFactory=function(M){var A=G.bind(null,M);return A.type=M,A},Me.createRef=function(){return{current:null}},Me.forwardRef=function(M){return{$$typeof:d,render:M}},Me.isValidElement=P,Me.lazy=function(M){return{$$typeof:g,_payload:{_status:-1,_result:M},_init:ge}},Me.memo=function(M,A){return{$$typeof:h,type:M,compare:A===void 0?null:A}},Me.startTransition=function(M){var A=V.transition;V.transition={};try{M()}finally{V.transition=A}},Me.unstable_act=x,Me.useCallback=function(M,A){return de.current.useCallback(M,A)},Me.useContext=function(M){return de.current.useContext(M)},Me.useDebugValue=function(){},Me.useDeferredValue=function(M){return de.current.useDeferredValue(M)},Me.useEffect=function(M,A){return de.current.useEffect(M,A)},Me.useId=function(){return de.current.useId()},Me.useImperativeHandle=function(M,A,C){return de.current.useImperativeHandle(M,A,C)},Me.useInsertionEffect=function(M,A){return de.current.useInsertionEffect(M,A)},Me.useLayoutEffect=function(M,A){return de.current.useLayoutEffect(M,A)},Me.useMemo=function(M,A){return de.current.useMemo(M,A)},Me.useReducer=function(M,A,C){return de.current.useReducer(M,A,C)},Me.useRef=function(M){return de.current.useRef(M)},Me.useState=function(M){return de.current.useState(M)},Me.useSyncExternalStore=function(M,A,C){return de.current.useSyncExternalStore(M,A,C)},Me.useTransition=function(){return de.current.useTransition()},Me.version="18.3.1",Me}var Rd;function zo(){return Rd||(Rd=1,au.exports=_4()),au.exports}var I=zo(),uu={exports:{}},Nt={},cu={exports:{}},du={};/**
21
+ * @license React
22
+ * scheduler.production.min.js
23
+ *
24
+ * Copyright (c) Facebook, Inc. and its affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var Nd;function E4(){return Nd||(Nd=1,(function(e){function n(V,ne){var x=V.length;V.push(ne);e:for(;0<x;){var M=x-1>>>1,A=V[M];if(0<l(A,ne))V[M]=ne,V[x]=A,x=M;else break e}}function r(V){return V.length===0?null:V[0]}function o(V){if(V.length===0)return null;var ne=V[0],x=V.pop();if(x!==ne){V[0]=x;e:for(var M=0,A=V.length,C=A>>>1;M<C;){var pe=2*(M+1)-1,we=V[pe],ae=pe+1,be=V[ae];if(0>l(we,x))ae<A&&0>l(be,we)?(V[M]=be,V[ae]=x,M=ae):(V[M]=we,V[pe]=x,M=pe);else if(ae<A&&0>l(be,x))V[M]=be,V[ae]=x,M=ae;else break e}}return ne}function l(V,ne){var x=V.sortIndex-ne.sortIndex;return x!==0?x:V.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],h=[],g=1,w=null,k=3,v=!1,_=!1,E=!1,O=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function D(V){for(var ne=r(h);ne!==null;){if(ne.callback===null)o(h);else if(ne.startTime<=V)o(h),ne.sortIndex=ne.expirationTime,n(p,ne);else break;ne=r(h)}}function B(V){if(E=!1,D(V),!_)if(r(p)!==null)_=!0,ge(ee);else{var ne=r(h);ne!==null&&de(B,ne.startTime-V)}}function ee(V,ne){_=!1,E&&(E=!1,F(G),G=-1),v=!0;var x=k;try{for(D(ne),w=r(p);w!==null&&(!(w.expirationTime>ne)||V&&!K());){var M=w.callback;if(typeof M=="function"){w.callback=null,k=w.priorityLevel;var A=M(w.expirationTime<=ne);ne=e.unstable_now(),typeof A=="function"?w.callback=A:w===r(p)&&o(p),D(ne)}else o(p);w=r(p)}if(w!==null)var C=!0;else{var pe=r(h);pe!==null&&de(B,pe.startTime-ne),C=!1}return C}finally{w=null,k=x,v=!1}}var j=!1,H=null,G=-1,le=5,P=-1;function K(){return!(e.unstable_now()-P<le)}function X(){if(H!==null){var V=e.unstable_now();P=V;var ne=!0;try{ne=H(!0,V)}finally{ne?ie():(j=!1,H=null)}}else j=!1}var ie;if(typeof Z=="function")ie=function(){Z(X)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,oe=me.port2;me.port1.onmessage=X,ie=function(){oe.postMessage(null)}}else ie=function(){O(X,0)};function ge(V){H=V,j||(j=!0,ie())}function de(V,ne){G=O(function(){V(e.unstable_now())},ne)}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(V){V.callback=null},e.unstable_continueExecution=function(){_||v||(_=!0,ge(ee))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return k},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(V){switch(k){case 1:case 2:case 3:var ne=3;break;default:ne=k}var x=k;k=ne;try{return V()}finally{k=x}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,ne){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var x=k;k=V;try{return ne()}finally{k=x}},e.unstable_scheduleCallback=function(V,ne,x){var M=e.unstable_now();switch(typeof x=="object"&&x!==null?(x=x.delay,x=typeof x=="number"&&0<x?M+x:M):x=M,V){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=x+A,V={id:g++,callback:ne,priorityLevel:V,startTime:x,expirationTime:A,sortIndex:-1},x>M?(V.sortIndex=x,n(h,V),r(p)===null&&V===r(h)&&(E?(F(G),G=-1):E=!0,de(B,x-M))):(V.sortIndex=A,n(p,V),_||v||(_=!0,ge(ee))),V},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(V){var ne=k;return function(){var x=k;k=ne;try{return V.apply(this,arguments)}finally{k=x}}}})(du)),du}var $d;function M4(){return $d||($d=1,cu.exports=E4()),cu.exports}/**
29
+ * @license React
30
+ * react-dom.production.min.js
31
+ *
32
+ * Copyright (c) Facebook, Inc. and its affiliates.
33
+ *
34
+ * This source code is licensed under the MIT license found in the
35
+ * LICENSE file in the root directory of this source tree.
36
+ */var Ad;function z4(){if(Ad)return Nt;Ad=1;var e=zo(),n=M4();function r(t){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+t,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+t+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function a(t,i){u(t,i),u(t+"Capture",i)}function u(t,i){for(l[t]=i,t=0;t<i.length;t++)o.add(i[t])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},w={};function k(t){return p.call(w,t)?!0:p.call(g,t)?!1:h.test(t)?w[t]=!0:(g[t]=!0,!1)}function v(t,i,s,c){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return c?!1:s!==null?!s.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function _(t,i,s,c){if(i===null||typeof i>"u"||v(t,i,s,c))return!0;if(c)return!1;if(s!==null)switch(s.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 E(t,i,s,c,f,m,y){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=c,this.attributeNamespace=f,this.mustUseProperty=s,this.propertyName=t,this.type=i,this.sanitizeURL=m,this.removeEmptyString=y}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){O[t]=new E(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var i=t[0];O[i]=new E(i,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){O[t]=new E(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){O[t]=new E(t,2,!1,t,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(t){O[t]=new E(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){O[t]=new E(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){O[t]=new E(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){O[t]=new E(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){O[t]=new E(t,5,!1,t.toLowerCase(),null,!1,!1)});var F=/[\-:]([a-z])/g;function Z(t){return t[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(t){var i=t.replace(F,Z);O[i]=new E(i,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var i=t.replace(F,Z);O[i]=new E(i,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var i=t.replace(F,Z);O[i]=new E(i,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){O[t]=new E(t,1,!1,t.toLowerCase(),null,!1,!1)}),O.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){O[t]=new E(t,1,!1,t.toLowerCase(),null,!0,!0)});function D(t,i,s,c){var f=O.hasOwnProperty(i)?O[i]:null;(f!==null?f.type!==0:c||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(_(i,s,f,c)&&(s=null),c||f===null?k(i)&&(s===null?t.removeAttribute(i):t.setAttribute(i,""+s)):f.mustUseProperty?t[f.propertyName]=s===null?f.type===3?!1:"":s:(i=f.attributeName,c=f.attributeNamespace,s===null?t.removeAttribute(i):(f=f.type,s=f===3||f===4&&s===!0?"":""+s,c?t.setAttributeNS(c,i,s):t.setAttribute(i,s))))}var B=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ee=Symbol.for("react.element"),j=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),K=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),me=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),V=Symbol.iterator;function ne(t){return t===null||typeof t!="object"?null:(t=V&&t[V]||t["@@iterator"],typeof t=="function"?t:null)}var x=Object.assign,M;function A(t){if(M===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);M=i&&i[1]||""}return`
37
+ `+M+t}var C=!1;function pe(t,i){if(!t||C)return"";C=!0;var s=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(N){var c=N}Reflect.construct(t,[],i)}else{try{i.call()}catch(N){c=N}t.call(i.prototype)}else{try{throw Error()}catch(N){c=N}t()}}catch(N){if(N&&c&&typeof N.stack=="string"){for(var f=N.stack.split(`
38
+ `),m=c.stack.split(`
39
+ `),y=f.length-1,S=m.length-1;1<=y&&0<=S&&f[y]!==m[S];)S--;for(;1<=y&&0<=S;y--,S--)if(f[y]!==m[S]){if(y!==1||S!==1)do if(y--,S--,0>S||f[y]!==m[S]){var z=`
40
+ `+f[y].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=y&&0<=S);break}}}finally{C=!1,Error.prepareStackTrace=s}return(t=t?t.displayName||t.name:"")?A(t):""}function we(t){switch(t.tag){case 5:return A(t.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return t=pe(t.type,!1),t;case 11:return t=pe(t.type.render,!1),t;case 1:return t=pe(t.type,!0),t;default:return""}}function ae(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case H:return"Fragment";case j:return"Portal";case le:return"Profiler";case G:return"StrictMode";case ie:return"Suspense";case me:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case K:return(t.displayName||"Context")+".Consumer";case P:return(t._context.displayName||"Context")+".Provider";case X:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case oe:return i=t.displayName||null,i!==null?i:ae(t.type)||"Memo";case ge:i=t._payload,t=t._init;try{return ae(t(i))}catch{}}return null}function be(t){var i=t.type;switch(t.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 t=i.render,t=t.displayName||t.name||"",i.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(i);case 8:return i===G?"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 te(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xe(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ie(t){var i=xe(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,i),c=""+t[i];if(!t.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,m=s.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return f.call(this)},set:function(y){c=""+y,m.call(this,y)}}),Object.defineProperty(t,i,{enumerable:s.enumerable}),{getValue:function(){return c},setValue:function(y){c=""+y},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function He(t){t._valueTracker||(t._valueTracker=Ie(t))}function $e(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var s=i.getValue(),c="";return t&&(c=xe(t)?t.checked?"true":"false":t.value),t=c,t!==s?(i.setValue(t),!0):!1}function Dt(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Be(t,i){var s=i.checked;return x({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??t._wrapperState.initialChecked})}function Xe(t,i){var s=i.defaultValue==null?"":i.defaultValue,c=i.checked!=null?i.checked:i.defaultChecked;s=te(i.value!=null?i.value:s),t._wrapperState={initialChecked:c,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function it(t,i){i=i.checked,i!=null&&D(t,"checked",i,!1)}function ot(t,i){it(t,i);var s=te(i.value),c=i.type;if(s!=null)c==="number"?(s===0&&t.value===""||t.value!=s)&&(t.value=""+s):t.value!==""+s&&(t.value=""+s);else if(c==="submit"||c==="reset"){t.removeAttribute("value");return}i.hasOwnProperty("value")?jt(t,i.type,s):i.hasOwnProperty("defaultValue")&&jt(t,i.type,te(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(t.defaultChecked=!!i.defaultChecked)}function ft(t,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var c=i.type;if(!(c!=="submit"&&c!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+t._wrapperState.initialValue,s||i===t.value||(t.value=i),t.defaultValue=i}s=t.name,s!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,s!==""&&(t.name=s)}function jt(t,i,s){(i!=="number"||Dt(t.ownerDocument)!==t)&&(s==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+s&&(t.defaultValue=""+s))}var It=Array.isArray;function vt(t,i,s,c){if(t=t.options,i){i={};for(var f=0;f<s.length;f++)i["$"+s[f]]=!0;for(s=0;s<t.length;s++)f=i.hasOwnProperty("$"+t[s].value),t[s].selected!==f&&(t[s].selected=f),f&&c&&(t[s].defaultSelected=!0)}else{for(s=""+te(s),i=null,f=0;f<t.length;f++){if(t[f].value===s){t[f].selected=!0,c&&(t[f].defaultSelected=!0);return}i!==null||t[f].disabled||(i=t[f])}i!==null&&(i.selected=!0)}}function Ht(t,i){if(i.dangerouslySetInnerHTML!=null)throw Error(r(91));return x({},i,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Bn(t,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(r(92));if(It(s)){if(1<s.length)throw Error(r(93));s=s[0]}i=s}i==null&&(i=""),s=i}t._wrapperState={initialValue:te(s)}}function Vn(t,i){var s=te(i.value),c=te(i.defaultValue);s!=null&&(s=""+s,s!==t.value&&(t.value=s),i.defaultValue==null&&t.defaultValue!==s&&(t.defaultValue=s)),c!=null&&(t.defaultValue=""+c)}function Wn(t){var i=t.textContent;i===t._wrapperState.initialValue&&i!==""&&i!==null&&(t.value=i)}function vr(t){switch(t){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 $(t,i){return t==null||t==="http://www.w3.org/1999/xhtml"?vr(i):t==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var J,Ce=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,c,f){MSApp.execUnsafeLocalFunction(function(){return t(i,s,c,f)})}:t})(function(t,i){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=i;else{for(J=J||document.createElement("div"),J.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=J.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;i.firstChild;)t.appendChild(i.firstChild)}});function _e(t,i){if(i){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=i;return}}t.textContent=i}var tt={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},Ae=["Webkit","ms","Moz","O"];Object.keys(tt).forEach(function(t){Ae.forEach(function(i){i=i+t.charAt(0).toUpperCase()+t.substring(1),tt[i]=tt[t]})});function ht(t,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||tt.hasOwnProperty(t)&&tt[t]?(""+i).trim():i+"px"}function Bt(t,i){t=t.style;for(var s in i)if(i.hasOwnProperty(s)){var c=s.indexOf("--")===0,f=ht(s,i[s],c);s==="float"&&(s="cssFloat"),c?t.setProperty(s,f):t[s]=f}}var yr=x({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Mn(t,i){if(i){if(yr[t]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(r(137,t));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(r(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(r(61))}if(i.style!=null&&typeof i.style!="object")throw Error(r(62))}}function zn(t,i){if(t.indexOf("-")===-1)return typeof i.is=="string";switch(t){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 Wr=null;function kr(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var pt=null,Vt=null,yt=null;function U1(t){if(t=qi(t)){if(typeof pt!="function")throw Error(r(280));var i=t.stateNode;i&&(i=ns(i),pt(t.stateNode,t.type,i))}}function q1(t){Vt?yt?yt.push(t):yt=[t]:Vt=t}function Z1(){if(Vt){var t=Vt,i=yt;if(yt=Vt=null,U1(t),i)for(t=0;t<i.length;t++)U1(i[t])}}function Q1(t,i){return t(i)}function G1(){}var xl=!1;function K1(t,i,s){if(xl)return t(i,s);xl=!0;try{return Q1(t,i,s)}finally{xl=!1,(Vt!==null||yt!==null)&&(G1(),Z1())}}function _i(t,i){var s=t.stateNode;if(s===null)return null;var c=ns(s);if(c===null)return null;s=c[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":(c=!c.disabled)||(t=t.type,c=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!c;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,i,typeof s));return s}var Cl=!1;if(d)try{var Ei={};Object.defineProperty(Ei,"passive",{get:function(){Cl=!0}}),window.addEventListener("test",Ei,Ei),window.removeEventListener("test",Ei,Ei)}catch{Cl=!1}function d3(t,i,s,c,f,m,y,S,z){var N=Array.prototype.slice.call(arguments,3);try{i.apply(s,N)}catch(q){this.onError(q)}}var Mi=!1,Po=null,To=!1,Sl=null,f3={onError:function(t){Mi=!0,Po=t}};function h3(t,i,s,c,f,m,y,S,z){Mi=!1,Po=null,d3.apply(f3,arguments)}function p3(t,i,s,c,f,m,y,S,z){if(h3.apply(this,arguments),Mi){if(Mi){var N=Po;Mi=!1,Po=null}else throw Error(r(198));To||(To=!0,Sl=N)}}function br(t){var i=t,s=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,(i.flags&4098)!==0&&(s=i.return),t=i.return;while(t)}return i.tag===3?s:null}function Y1(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function X1(t){if(br(t)!==t)throw Error(r(188))}function m3(t){var i=t.alternate;if(!i){if(i=br(t),i===null)throw Error(r(188));return i!==t?null:t}for(var s=t,c=i;;){var f=s.return;if(f===null)break;var m=f.alternate;if(m===null){if(c=f.return,c!==null){s=c;continue}break}if(f.child===m.child){for(m=f.child;m;){if(m===s)return X1(f),t;if(m===c)return X1(f),i;m=m.sibling}throw Error(r(188))}if(s.return!==c.return)s=f,c=m;else{for(var y=!1,S=f.child;S;){if(S===s){y=!0,s=f,c=m;break}if(S===c){y=!0,c=f,s=m;break}S=S.sibling}if(!y){for(S=m.child;S;){if(S===s){y=!0,s=m,c=f;break}if(S===c){y=!0,c=m,s=f;break}S=S.sibling}if(!y)throw Error(r(189))}}if(s.alternate!==c)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:i}function J1(t){return t=m3(t),t!==null?ec(t):null}function ec(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var i=ec(t);if(i!==null)return i;t=t.sibling}return null}var tc=n.unstable_scheduleCallback,nc=n.unstable_cancelCallback,g3=n.unstable_shouldYield,w3=n.unstable_requestPaint,Je=n.unstable_now,v3=n.unstable_getCurrentPriorityLevel,_l=n.unstable_ImmediatePriority,rc=n.unstable_UserBlockingPriority,Ro=n.unstable_NormalPriority,y3=n.unstable_LowPriority,ic=n.unstable_IdlePriority,No=null,vn=null;function k3(t){if(vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(No,t,void 0,(t.current.flags&128)===128)}catch{}}var sn=Math.clz32?Math.clz32:C3,b3=Math.log,x3=Math.LN2;function C3(t){return t>>>=0,t===0?32:31-(b3(t)/x3|0)|0}var $o=64,Ao=4194304;function zi(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Do(t,i){var s=t.pendingLanes;if(s===0)return 0;var c=0,f=t.suspendedLanes,m=t.pingedLanes,y=s&268435455;if(y!==0){var S=y&~f;S!==0?c=zi(S):(m&=y,m!==0&&(c=zi(m)))}else y=s&~f,y!==0?c=zi(y):m!==0&&(c=zi(m));if(c===0)return 0;if(i!==0&&i!==c&&(i&f)===0&&(f=c&-c,m=i&-i,f>=m||f===16&&(m&4194240)!==0))return i;if((c&4)!==0&&(c|=s&16),i=t.entangledLanes,i!==0)for(t=t.entanglements,i&=c;0<i;)s=31-sn(i),f=1<<s,c|=t[s],i&=~f;return c}function S3(t,i){switch(t){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 _3(t,i){for(var s=t.suspendedLanes,c=t.pingedLanes,f=t.expirationTimes,m=t.pendingLanes;0<m;){var y=31-sn(m),S=1<<y,z=f[y];z===-1?((S&s)===0||(S&c)!==0)&&(f[y]=S3(S,i)):z<=i&&(t.expiredLanes|=S),m&=~S}}function El(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function oc(){var t=$o;return $o<<=1,($o&4194240)===0&&($o=64),t}function Ml(t){for(var i=[],s=0;31>s;s++)i.push(t);return i}function Li(t,i,s){t.pendingLanes|=i,i!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,i=31-sn(i),t[i]=s}function E3(t,i){var s=t.pendingLanes&~i;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=i,t.mutableReadLanes&=i,t.entangledLanes&=i,i=t.entanglements;var c=t.eventTimes;for(t=t.expirationTimes;0<s;){var f=31-sn(s),m=1<<f;i[f]=0,c[f]=-1,t[f]=-1,s&=~m}}function zl(t,i){var s=t.entangledLanes|=i;for(t=t.entanglements;s;){var c=31-sn(s),f=1<<c;f&i|t[c]&i&&(t[c]|=i),s&=~f}}var Ne=0;function sc(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var lc,Ll,ac,uc,cc,jl=!1,Ho=[],Un=null,qn=null,Zn=null,ji=new Map,Ii=new Map,Qn=[],M3="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 dc(t,i){switch(t){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":qn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":ji.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ii.delete(i.pointerId)}}function Fi(t,i,s,c,f,m){return t===null||t.nativeEvent!==m?(t={blockedOn:i,domEventName:s,eventSystemFlags:c,nativeEvent:m,targetContainers:[f]},i!==null&&(i=qi(i),i!==null&&Ll(i)),t):(t.eventSystemFlags|=c,i=t.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),t)}function z3(t,i,s,c,f){switch(i){case"focusin":return Un=Fi(Un,t,i,s,c,f),!0;case"dragenter":return qn=Fi(qn,t,i,s,c,f),!0;case"mouseover":return Zn=Fi(Zn,t,i,s,c,f),!0;case"pointerover":var m=f.pointerId;return ji.set(m,Fi(ji.get(m)||null,t,i,s,c,f)),!0;case"gotpointercapture":return m=f.pointerId,Ii.set(m,Fi(Ii.get(m)||null,t,i,s,c,f)),!0}return!1}function fc(t){var i=xr(t.target);if(i!==null){var s=br(i);if(s!==null){if(i=s.tag,i===13){if(i=Y1(s),i!==null){t.blockedOn=i,cc(t.priority,function(){ac(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Bo(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var s=Fl(t.domEventName,t.eventSystemFlags,i[0],t.nativeEvent);if(s===null){s=t.nativeEvent;var c=new s.constructor(s.type,s);Wr=c,s.target.dispatchEvent(c),Wr=null}else return i=qi(s),i!==null&&Ll(i),t.blockedOn=s,!1;i.shift()}return!0}function hc(t,i,s){Bo(t)&&s.delete(i)}function L3(){jl=!1,Un!==null&&Bo(Un)&&(Un=null),qn!==null&&Bo(qn)&&(qn=null),Zn!==null&&Bo(Zn)&&(Zn=null),ji.forEach(hc),Ii.forEach(hc)}function Oi(t,i){t.blockedOn===i&&(t.blockedOn=null,jl||(jl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,L3)))}function Pi(t){function i(f){return Oi(f,t)}if(0<Ho.length){Oi(Ho[0],t);for(var s=1;s<Ho.length;s++){var c=Ho[s];c.blockedOn===t&&(c.blockedOn=null)}}for(Un!==null&&Oi(Un,t),qn!==null&&Oi(qn,t),Zn!==null&&Oi(Zn,t),ji.forEach(i),Ii.forEach(i),s=0;s<Qn.length;s++)c=Qn[s],c.blockedOn===t&&(c.blockedOn=null);for(;0<Qn.length&&(s=Qn[0],s.blockedOn===null);)fc(s),s.blockedOn===null&&Qn.shift()}var Ur=B.ReactCurrentBatchConfig,Vo=!0;function j3(t,i,s,c){var f=Ne,m=Ur.transition;Ur.transition=null;try{Ne=1,Il(t,i,s,c)}finally{Ne=f,Ur.transition=m}}function I3(t,i,s,c){var f=Ne,m=Ur.transition;Ur.transition=null;try{Ne=4,Il(t,i,s,c)}finally{Ne=f,Ur.transition=m}}function Il(t,i,s,c){if(Vo){var f=Fl(t,i,s,c);if(f===null)Gl(t,i,c,Wo,s),dc(t,c);else if(z3(f,t,i,s,c))c.stopPropagation();else if(dc(t,c),i&4&&-1<M3.indexOf(t)){for(;f!==null;){var m=qi(f);if(m!==null&&lc(m),m=Fl(t,i,s,c),m===null&&Gl(t,i,c,Wo,s),m===f)break;f=m}f!==null&&c.stopPropagation()}else Gl(t,i,c,null,s)}}var Wo=null;function Fl(t,i,s,c){if(Wo=null,t=kr(c),t=xr(t),t!==null)if(i=br(t),i===null)t=null;else if(s=i.tag,s===13){if(t=Y1(i),t!==null)return t;t=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null);return Wo=t,null}function pc(t){switch(t){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(v3()){case _l:return 1;case rc:return 4;case Ro:case y3:return 16;case ic:return 536870912;default:return 16}default:return 16}}var Gn=null,Ol=null,Uo=null;function mc(){if(Uo)return Uo;var t,i=Ol,s=i.length,c,f="value"in Gn?Gn.value:Gn.textContent,m=f.length;for(t=0;t<s&&i[t]===f[t];t++);var y=s-t;for(c=1;c<=y&&i[s-c]===f[m-c];c++);return Uo=f.slice(t,1<c?1-c:void 0)}function qo(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}function Zo(){return!0}function gc(){return!1}function Wt(t){function i(s,c,f,m,y){this._reactName=s,this._targetInst=f,this.type=c,this.nativeEvent=m,this.target=y,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(s=t[S],this[S]=s?s(m):m[S]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Zo:gc,this.isPropagationStopped=gc,this}return x(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Zo)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Zo)},persist:function(){},isPersistent:Zo}),i}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pl=Wt(qr),Ti=x({},qr,{view:0,detail:0}),F3=Wt(Ti),Tl,Rl,Ri,Qo=x({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$l,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ri&&(Ri&&t.type==="mousemove"?(Tl=t.screenX-Ri.screenX,Rl=t.screenY-Ri.screenY):Rl=Tl=0,Ri=t),Tl)},movementY:function(t){return"movementY"in t?t.movementY:Rl}}),wc=Wt(Qo),O3=x({},Qo,{dataTransfer:0}),P3=Wt(O3),T3=x({},Ti,{relatedTarget:0}),Nl=Wt(T3),R3=x({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),N3=Wt(R3),$3=x({},qr,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),A3=Wt($3),D3=x({},qr,{data:0}),vc=Wt(D3),H3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},B3={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"},V3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W3(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=V3[t])?!!i[t]:!1}function $l(){return W3}var U3=x({},Ti,{key:function(t){if(t.key){var i=H3[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=qo(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?B3[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$l,charCode:function(t){return t.type==="keypress"?qo(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?qo(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),q3=Wt(U3),Z3=x({},Qo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yc=Wt(Z3),Q3=x({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$l}),G3=Wt(Q3),K3=x({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Y3=Wt(K3),X3=x({},Qo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),J3=Wt(X3),ep=[9,13,27,32],Al=d&&"CompositionEvent"in window,Ni=null;d&&"documentMode"in document&&(Ni=document.documentMode);var tp=d&&"TextEvent"in window&&!Ni,kc=d&&(!Al||Ni&&8<Ni&&11>=Ni),bc=" ",xc=!1;function Cc(t,i){switch(t){case"keyup":return ep.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sc(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Zr=!1;function np(t,i){switch(t){case"compositionend":return Sc(i);case"keypress":return i.which!==32?null:(xc=!0,bc);case"textInput":return t=i.data,t===bc&&xc?null:t;default:return null}}function rp(t,i){if(Zr)return t==="compositionend"||!Al&&Cc(t,i)?(t=mc(),Uo=Ol=Gn=null,Zr=!1,t):null;switch(t){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 kc&&i.locale!=="ko"?null:i.data;default:return null}}var ip={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 _c(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!ip[t.type]:i==="textarea"}function Ec(t,i,s,c){q1(c),i=Jo(i,"onChange"),0<i.length&&(s=new Pl("onChange","change",null,s,c),t.push({event:s,listeners:i}))}var $i=null,Ai=null;function op(t){Wc(t,0)}function Go(t){var i=Xr(t);if($e(i))return t}function sp(t,i){if(t==="change")return i}var Mc=!1;if(d){var Dl;if(d){var Hl="oninput"in document;if(!Hl){var zc=document.createElement("div");zc.setAttribute("oninput","return;"),Hl=typeof zc.oninput=="function"}Dl=Hl}else Dl=!1;Mc=Dl&&(!document.documentMode||9<document.documentMode)}function Lc(){$i&&($i.detachEvent("onpropertychange",jc),Ai=$i=null)}function jc(t){if(t.propertyName==="value"&&Go(Ai)){var i=[];Ec(i,Ai,t,kr(t)),K1(op,i)}}function lp(t,i,s){t==="focusin"?(Lc(),$i=i,Ai=s,$i.attachEvent("onpropertychange",jc)):t==="focusout"&&Lc()}function ap(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Go(Ai)}function up(t,i){if(t==="click")return Go(i)}function cp(t,i){if(t==="input"||t==="change")return Go(i)}function dp(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}var ln=typeof Object.is=="function"?Object.is:dp;function Di(t,i){if(ln(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var s=Object.keys(t),c=Object.keys(i);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var f=s[c];if(!p.call(i,f)||!ln(t[f],i[f]))return!1}return!0}function Ic(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Fc(t,i){var s=Ic(t);t=0;for(var c;s;){if(s.nodeType===3){if(c=t+s.textContent.length,t<=i&&c>=i)return{node:s,offset:i-t};t=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Ic(s)}}function Oc(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Oc(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function Pc(){for(var t=window,i=Dt();i instanceof t.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)t=i.contentWindow;else break;i=Dt(t.document)}return i}function Bl(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}function fp(t){var i=Pc(),s=t.focusedElem,c=t.selectionRange;if(i!==s&&s&&s.ownerDocument&&Oc(s.ownerDocument.documentElement,s)){if(c!==null&&Bl(s)){if(i=c.start,t=c.end,t===void 0&&(t=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(t,s.value.length);else if(t=(i=s.ownerDocument||document)&&i.defaultView||window,t.getSelection){t=t.getSelection();var f=s.textContent.length,m=Math.min(c.start,f);c=c.end===void 0?m:Math.min(c.end,f),!t.extend&&m>c&&(f=c,c=m,m=f),f=Fc(s,m);var y=Fc(s,c);f&&y&&(t.rangeCount!==1||t.anchorNode!==f.node||t.anchorOffset!==f.offset||t.focusNode!==y.node||t.focusOffset!==y.offset)&&(i=i.createRange(),i.setStart(f.node,f.offset),t.removeAllRanges(),m>c?(t.addRange(i),t.extend(y.node,y.offset)):(i.setEnd(y.node,y.offset),t.addRange(i)))}}for(i=[],t=s;t=t.parentNode;)t.nodeType===1&&i.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)t=i[s],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var hp=d&&"documentMode"in document&&11>=document.documentMode,Qr=null,Vl=null,Hi=null,Wl=!1;function Tc(t,i,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Wl||Qr==null||Qr!==Dt(c)||(c=Qr,"selectionStart"in c&&Bl(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Hi&&Di(Hi,c)||(Hi=c,c=Jo(Vl,"onSelect"),0<c.length&&(i=new Pl("onSelect","select",null,i,s),t.push({event:i,listeners:c}),i.target=Qr)))}function Ko(t,i){var s={};return s[t.toLowerCase()]=i.toLowerCase(),s["Webkit"+t]="webkit"+i,s["Moz"+t]="moz"+i,s}var Gr={animationend:Ko("Animation","AnimationEnd"),animationiteration:Ko("Animation","AnimationIteration"),animationstart:Ko("Animation","AnimationStart"),transitionend:Ko("Transition","TransitionEnd")},Ul={},Rc={};d&&(Rc=document.createElement("div").style,"AnimationEvent"in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),"TransitionEvent"in window||delete Gr.transitionend.transition);function Yo(t){if(Ul[t])return Ul[t];if(!Gr[t])return t;var i=Gr[t],s;for(s in i)if(i.hasOwnProperty(s)&&s in Rc)return Ul[t]=i[s];return t}var Nc=Yo("animationend"),$c=Yo("animationiteration"),Ac=Yo("animationstart"),Dc=Yo("transitionend"),Hc=new Map,Bc="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 Kn(t,i){Hc.set(t,i),a(i,[t])}for(var ql=0;ql<Bc.length;ql++){var Zl=Bc[ql],pp=Zl.toLowerCase(),mp=Zl[0].toUpperCase()+Zl.slice(1);Kn(pp,"on"+mp)}Kn(Nc,"onAnimationEnd"),Kn($c,"onAnimationIteration"),Kn(Ac,"onAnimationStart"),Kn("dblclick","onDoubleClick"),Kn("focusin","onFocus"),Kn("focusout","onBlur"),Kn(Dc,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("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(" "),gp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bi));function Vc(t,i,s){var c=t.type||"unknown-event";t.currentTarget=s,p3(c,i,void 0,t),t.currentTarget=null}function Wc(t,i){i=(i&4)!==0;for(var s=0;s<t.length;s++){var c=t[s],f=c.event;c=c.listeners;e:{var m=void 0;if(i)for(var y=c.length-1;0<=y;y--){var S=c[y],z=S.instance,N=S.currentTarget;if(S=S.listener,z!==m&&f.isPropagationStopped())break e;Vc(f,S,N),m=z}else for(y=0;y<c.length;y++){if(S=c[y],z=S.instance,N=S.currentTarget,S=S.listener,z!==m&&f.isPropagationStopped())break e;Vc(f,S,N),m=z}}}if(To)throw t=Sl,To=!1,Sl=null,t}function We(t,i){var s=i[ta];s===void 0&&(s=i[ta]=new Set);var c=t+"__bubble";s.has(c)||(Uc(i,t,2,!1),s.add(c))}function Ql(t,i,s){var c=0;i&&(c|=4),Uc(s,t,c,i)}var Xo="_reactListening"+Math.random().toString(36).slice(2);function Vi(t){if(!t[Xo]){t[Xo]=!0,o.forEach(function(s){s!=="selectionchange"&&(gp.has(s)||Ql(s,!1,t),Ql(s,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[Xo]||(i[Xo]=!0,Ql("selectionchange",!1,i))}}function Uc(t,i,s,c){switch(pc(i)){case 1:var f=j3;break;case 4:f=I3;break;default:f=Il}s=f.bind(null,i,s,t),f=void 0,!Cl||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),c?f!==void 0?t.addEventListener(i,s,{capture:!0,passive:f}):t.addEventListener(i,s,!0):f!==void 0?t.addEventListener(i,s,{passive:f}):t.addEventListener(i,s,!1)}function Gl(t,i,s,c,f){var m=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var y=c.tag;if(y===3||y===4){var S=c.stateNode.containerInfo;if(S===f||S.nodeType===8&&S.parentNode===f)break;if(y===4)for(y=c.return;y!==null;){var z=y.tag;if((z===3||z===4)&&(z=y.stateNode.containerInfo,z===f||z.nodeType===8&&z.parentNode===f))return;y=y.return}for(;S!==null;){if(y=xr(S),y===null)return;if(z=y.tag,z===5||z===6){c=m=y;continue e}S=S.parentNode}}c=c.return}K1(function(){var N=m,q=kr(s),Q=[];e:{var W=Hc.get(t);if(W!==void 0){var se=Pl,ce=t;switch(t){case"keypress":if(qo(s)===0)break e;case"keydown":case"keyup":se=q3;break;case"focusin":ce="focus",se=Nl;break;case"focusout":ce="blur",se=Nl;break;case"beforeblur":case"afterblur":se=Nl;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":se=wc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=P3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=G3;break;case Nc:case $c:case Ac:se=N3;break;case Dc:se=Y3;break;case"scroll":se=F3;break;case"wheel":se=J3;break;case"copy":case"cut":case"paste":se=A3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=yc}var fe=(i&4)!==0,et=!fe&&t==="scroll",T=fe?W!==null?W+"Capture":null:W;fe=[];for(var L=N,R;L!==null;){R=L;var Y=R.stateNode;if(R.tag===5&&Y!==null&&(R=Y,T!==null&&(Y=_i(L,T),Y!=null&&fe.push(Wi(L,Y,R)))),et)break;L=L.return}0<fe.length&&(W=new se(W,ce,null,s,q),Q.push({event:W,listeners:fe}))}}if((i&7)===0){e:{if(W=t==="mouseover"||t==="pointerover",se=t==="mouseout"||t==="pointerout",W&&s!==Wr&&(ce=s.relatedTarget||s.fromElement)&&(xr(ce)||ce[Ln]))break e;if((se||W)&&(W=q.window===q?q:(W=q.ownerDocument)?W.defaultView||W.parentWindow:window,se?(ce=s.relatedTarget||s.toElement,se=N,ce=ce?xr(ce):null,ce!==null&&(et=br(ce),ce!==et||ce.tag!==5&&ce.tag!==6)&&(ce=null)):(se=null,ce=N),se!==ce)){if(fe=wc,Y="onMouseLeave",T="onMouseEnter",L="mouse",(t==="pointerout"||t==="pointerover")&&(fe=yc,Y="onPointerLeave",T="onPointerEnter",L="pointer"),et=se==null?W:Xr(se),R=ce==null?W:Xr(ce),W=new fe(Y,L+"leave",se,s,q),W.target=et,W.relatedTarget=R,Y=null,xr(q)===N&&(fe=new fe(T,L+"enter",ce,s,q),fe.target=R,fe.relatedTarget=et,Y=fe),et=Y,se&&ce)t:{for(fe=se,T=ce,L=0,R=fe;R;R=Kr(R))L++;for(R=0,Y=T;Y;Y=Kr(Y))R++;for(;0<L-R;)fe=Kr(fe),L--;for(;0<R-L;)T=Kr(T),R--;for(;L--;){if(fe===T||T!==null&&fe===T.alternate)break t;fe=Kr(fe),T=Kr(T)}fe=null}else fe=null;se!==null&&qc(Q,W,se,fe,!1),ce!==null&&et!==null&&qc(Q,et,ce,fe,!0)}}e:{if(W=N?Xr(N):window,se=W.nodeName&&W.nodeName.toLowerCase(),se==="select"||se==="input"&&W.type==="file")var he=sp;else if(_c(W))if(Mc)he=cp;else{he=ap;var ve=lp}else(se=W.nodeName)&&se.toLowerCase()==="input"&&(W.type==="checkbox"||W.type==="radio")&&(he=up);if(he&&(he=he(t,N))){Ec(Q,he,s,q);break e}ve&&ve(t,W,N),t==="focusout"&&(ve=W._wrapperState)&&ve.controlled&&W.type==="number"&&jt(W,"number",W.value)}switch(ve=N?Xr(N):window,t){case"focusin":(_c(ve)||ve.contentEditable==="true")&&(Qr=ve,Vl=N,Hi=null);break;case"focusout":Hi=Vl=Qr=null;break;case"mousedown":Wl=!0;break;case"contextmenu":case"mouseup":case"dragend":Wl=!1,Tc(Q,s,q);break;case"selectionchange":if(hp)break;case"keydown":case"keyup":Tc(Q,s,q)}var ye;if(Al)e:{switch(t){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else Zr?Cc(t,s)&&(Se="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(Se="onCompositionStart");Se&&(kc&&s.locale!=="ko"&&(Zr||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&Zr&&(ye=mc()):(Gn=q,Ol="value"in Gn?Gn.value:Gn.textContent,Zr=!0)),ve=Jo(N,Se),0<ve.length&&(Se=new vc(Se,t,null,s,q),Q.push({event:Se,listeners:ve}),ye?Se.data=ye:(ye=Sc(s),ye!==null&&(Se.data=ye)))),(ye=tp?np(t,s):rp(t,s))&&(N=Jo(N,"onBeforeInput"),0<N.length&&(q=new vc("onBeforeInput","beforeinput",null,s,q),Q.push({event:q,listeners:N}),q.data=ye))}Wc(Q,i)})}function Wi(t,i,s){return{instance:t,listener:i,currentTarget:s}}function Jo(t,i){for(var s=i+"Capture",c=[];t!==null;){var f=t,m=f.stateNode;f.tag===5&&m!==null&&(f=m,m=_i(t,s),m!=null&&c.unshift(Wi(t,m,f)),m=_i(t,i),m!=null&&c.push(Wi(t,m,f))),t=t.return}return c}function Kr(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function qc(t,i,s,c,f){for(var m=i._reactName,y=[];s!==null&&s!==c;){var S=s,z=S.alternate,N=S.stateNode;if(z!==null&&z===c)break;S.tag===5&&N!==null&&(S=N,f?(z=_i(s,m),z!=null&&y.unshift(Wi(s,z,S))):f||(z=_i(s,m),z!=null&&y.push(Wi(s,z,S)))),s=s.return}y.length!==0&&t.push({event:i,listeners:y})}var wp=/\r\n?/g,vp=/\u0000|\uFFFD/g;function Zc(t){return(typeof t=="string"?t:""+t).replace(wp,`
41
+ `).replace(vp,"")}function es(t,i,s){if(i=Zc(i),Zc(t)!==i&&s)throw Error(r(425))}function ts(){}var Kl=null,Yl=null;function Xl(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Jl=typeof setTimeout=="function"?setTimeout:void 0,yp=typeof clearTimeout=="function"?clearTimeout:void 0,Qc=typeof Promise=="function"?Promise:void 0,kp=typeof queueMicrotask=="function"?queueMicrotask:typeof Qc<"u"?function(t){return Qc.resolve(null).then(t).catch(bp)}:Jl;function bp(t){setTimeout(function(){throw t})}function ea(t,i){var s=i,c=0;do{var f=s.nextSibling;if(t.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(c===0){t.removeChild(f),Pi(i);return}c--}else s!=="$"&&s!=="$?"&&s!=="$!"||c++;s=f}while(s);Pi(i)}function Yn(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return t}function Gc(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return t;i--}else s==="/$"&&i++}t=t.previousSibling}return null}var Yr=Math.random().toString(36).slice(2),yn="__reactFiber$"+Yr,Ui="__reactProps$"+Yr,Ln="__reactContainer$"+Yr,ta="__reactEvents$"+Yr,xp="__reactListeners$"+Yr,Cp="__reactHandles$"+Yr;function xr(t){var i=t[yn];if(i)return i;for(var s=t.parentNode;s;){if(i=s[Ln]||s[yn]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(t=Gc(t);t!==null;){if(s=t[yn])return s;t=Gc(t)}return i}t=s,s=t.parentNode}return null}function qi(t){return t=t[yn]||t[Ln],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function Xr(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(r(33))}function ns(t){return t[Ui]||null}var na=[],Jr=-1;function Xn(t){return{current:t}}function Ue(t){0>Jr||(t.current=na[Jr],na[Jr]=null,Jr--)}function Ve(t,i){Jr++,na[Jr]=t.current,t.current=i}var Jn={},kt=Xn(Jn),Ft=Xn(!1),Cr=Jn;function ei(t,i){var s=t.type.contextTypes;if(!s)return Jn;var c=t.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===i)return c.__reactInternalMemoizedMaskedChildContext;var f={},m;for(m in s)f[m]=i[m];return c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=f),f}function Ot(t){return t=t.childContextTypes,t!=null}function rs(){Ue(Ft),Ue(kt)}function Kc(t,i,s){if(kt.current!==Jn)throw Error(r(168));Ve(kt,i),Ve(Ft,s)}function Yc(t,i,s){var c=t.stateNode;if(i=i.childContextTypes,typeof c.getChildContext!="function")return s;c=c.getChildContext();for(var f in c)if(!(f in i))throw Error(r(108,be(t)||"Unknown",f));return x({},s,c)}function is(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Jn,Cr=kt.current,Ve(kt,t),Ve(Ft,Ft.current),!0}function Xc(t,i,s){var c=t.stateNode;if(!c)throw Error(r(169));s?(t=Yc(t,i,Cr),c.__reactInternalMemoizedMergedChildContext=t,Ue(Ft),Ue(kt),Ve(kt,t)):Ue(Ft),Ve(Ft,s)}var jn=null,os=!1,ra=!1;function Jc(t){jn===null?jn=[t]:jn.push(t)}function Sp(t){os=!0,Jc(t)}function er(){if(!ra&&jn!==null){ra=!0;var t=0,i=Ne;try{var s=jn;for(Ne=1;t<s.length;t++){var c=s[t];do c=c(!0);while(c!==null)}jn=null,os=!1}catch(f){throw jn!==null&&(jn=jn.slice(t+1)),tc(_l,er),f}finally{Ne=i,ra=!1}}return null}var ti=[],ni=0,ss=null,ls=0,Gt=[],Kt=0,Sr=null,In=1,Fn="";function _r(t,i){ti[ni++]=ls,ti[ni++]=ss,ss=t,ls=i}function e0(t,i,s){Gt[Kt++]=In,Gt[Kt++]=Fn,Gt[Kt++]=Sr,Sr=t;var c=In;t=Fn;var f=32-sn(c)-1;c&=~(1<<f),s+=1;var m=32-sn(i)+f;if(30<m){var y=f-f%5;m=(c&(1<<y)-1).toString(32),c>>=y,f-=y,In=1<<32-sn(i)+f|s<<f|c,Fn=m+t}else In=1<<m|s<<f|c,Fn=t}function ia(t){t.return!==null&&(_r(t,1),e0(t,1,0))}function oa(t){for(;t===ss;)ss=ti[--ni],ti[ni]=null,ls=ti[--ni],ti[ni]=null;for(;t===Sr;)Sr=Gt[--Kt],Gt[Kt]=null,Fn=Gt[--Kt],Gt[Kt]=null,In=Gt[--Kt],Gt[Kt]=null}var Ut=null,qt=null,qe=!1,an=null;function t0(t,i){var s=en(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=t,i=t.deletions,i===null?(t.deletions=[s],t.flags|=16):i.push(s)}function n0(t,i){switch(t.tag){case 5:var s=t.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(t.stateNode=i,Ut=t,qt=Yn(i.firstChild),!0):!1;case 6:return i=t.pendingProps===""||i.nodeType!==3?null:i,i!==null?(t.stateNode=i,Ut=t,qt=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=Sr!==null?{id:In,overflow:Fn}:null,t.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=en(18,null,null,0),s.stateNode=i,s.return=t,t.child=s,Ut=t,qt=null,!0):!1;default:return!1}}function sa(t){return(t.mode&1)!==0&&(t.flags&128)===0}function la(t){if(qe){var i=qt;if(i){var s=i;if(!n0(t,i)){if(sa(t))throw Error(r(418));i=Yn(s.nextSibling);var c=Ut;i&&n0(t,i)?t0(c,s):(t.flags=t.flags&-4097|2,qe=!1,Ut=t)}}else{if(sa(t))throw Error(r(418));t.flags=t.flags&-4097|2,qe=!1,Ut=t}}}function r0(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Ut=t}function as(t){if(t!==Ut)return!1;if(!qe)return r0(t),qe=!0,!1;var i;if((i=t.tag!==3)&&!(i=t.tag!==5)&&(i=t.type,i=i!=="head"&&i!=="body"&&!Xl(t.type,t.memoizedProps)),i&&(i=qt)){if(sa(t))throw i0(),Error(r(418));for(;i;)t0(t,i),i=Yn(i.nextSibling)}if(r0(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,i=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"){if(i===0){qt=Yn(t.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}t=t.nextSibling}qt=null}}else qt=Ut?Yn(t.stateNode.nextSibling):null;return!0}function i0(){for(var t=qt;t;)t=Yn(t.nextSibling)}function ri(){qt=Ut=null,qe=!1}function aa(t){an===null?an=[t]:an.push(t)}var _p=B.ReactCurrentBatchConfig;function Zi(t,i,s){if(t=s.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(r(309));var c=s.stateNode}if(!c)throw Error(r(147,t));var f=c,m=""+t;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===m?i.ref:(i=function(y){var S=f.refs;y===null?delete S[m]:S[m]=y},i._stringRef=m,i)}if(typeof t!="string")throw Error(r(284));if(!s._owner)throw Error(r(290,t))}return t}function us(t,i){throw t=Object.prototype.toString.call(i),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t))}function o0(t){var i=t._init;return i(t._payload)}function s0(t){function i(T,L){if(t){var R=T.deletions;R===null?(T.deletions=[L],T.flags|=16):R.push(L)}}function s(T,L){if(!t)return null;for(;L!==null;)i(T,L),L=L.sibling;return null}function c(T,L){for(T=new Map;L!==null;)L.key!==null?T.set(L.key,L):T.set(L.index,L),L=L.sibling;return T}function f(T,L){return T=ar(T,L),T.index=0,T.sibling=null,T}function m(T,L,R){return T.index=R,t?(R=T.alternate,R!==null?(R=R.index,R<L?(T.flags|=2,L):R):(T.flags|=2,L)):(T.flags|=1048576,L)}function y(T){return t&&T.alternate===null&&(T.flags|=2),T}function S(T,L,R,Y){return L===null||L.tag!==6?(L=Ja(R,T.mode,Y),L.return=T,L):(L=f(L,R),L.return=T,L)}function z(T,L,R,Y){var he=R.type;return he===H?q(T,L,R.props.children,Y,R.key):L!==null&&(L.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===ge&&o0(he)===L.type)?(Y=f(L,R.props),Y.ref=Zi(T,L,R),Y.return=T,Y):(Y=Os(R.type,R.key,R.props,null,T.mode,Y),Y.ref=Zi(T,L,R),Y.return=T,Y)}function N(T,L,R,Y){return L===null||L.tag!==4||L.stateNode.containerInfo!==R.containerInfo||L.stateNode.implementation!==R.implementation?(L=eu(R,T.mode,Y),L.return=T,L):(L=f(L,R.children||[]),L.return=T,L)}function q(T,L,R,Y,he){return L===null||L.tag!==7?(L=Or(R,T.mode,Y,he),L.return=T,L):(L=f(L,R),L.return=T,L)}function Q(T,L,R){if(typeof L=="string"&&L!==""||typeof L=="number")return L=Ja(""+L,T.mode,R),L.return=T,L;if(typeof L=="object"&&L!==null){switch(L.$$typeof){case ee:return R=Os(L.type,L.key,L.props,null,T.mode,R),R.ref=Zi(T,null,L),R.return=T,R;case j:return L=eu(L,T.mode,R),L.return=T,L;case ge:var Y=L._init;return Q(T,Y(L._payload),R)}if(It(L)||ne(L))return L=Or(L,T.mode,R,null),L.return=T,L;us(T,L)}return null}function W(T,L,R,Y){var he=L!==null?L.key:null;if(typeof R=="string"&&R!==""||typeof R=="number")return he!==null?null:S(T,L,""+R,Y);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case ee:return R.key===he?z(T,L,R,Y):null;case j:return R.key===he?N(T,L,R,Y):null;case ge:return he=R._init,W(T,L,he(R._payload),Y)}if(It(R)||ne(R))return he!==null?null:q(T,L,R,Y,null);us(T,R)}return null}function se(T,L,R,Y,he){if(typeof Y=="string"&&Y!==""||typeof Y=="number")return T=T.get(R)||null,S(L,T,""+Y,he);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case ee:return T=T.get(Y.key===null?R:Y.key)||null,z(L,T,Y,he);case j:return T=T.get(Y.key===null?R:Y.key)||null,N(L,T,Y,he);case ge:var ve=Y._init;return se(T,L,R,ve(Y._payload),he)}if(It(Y)||ne(Y))return T=T.get(R)||null,q(L,T,Y,he,null);us(L,Y)}return null}function ce(T,L,R,Y){for(var he=null,ve=null,ye=L,Se=L=0,dt=null;ye!==null&&Se<R.length;Se++){ye.index>Se?(dt=ye,ye=null):dt=ye.sibling;var Pe=W(T,ye,R[Se],Y);if(Pe===null){ye===null&&(ye=dt);break}t&&ye&&Pe.alternate===null&&i(T,ye),L=m(Pe,L,Se),ve===null?he=Pe:ve.sibling=Pe,ve=Pe,ye=dt}if(Se===R.length)return s(T,ye),qe&&_r(T,Se),he;if(ye===null){for(;Se<R.length;Se++)ye=Q(T,R[Se],Y),ye!==null&&(L=m(ye,L,Se),ve===null?he=ye:ve.sibling=ye,ve=ye);return qe&&_r(T,Se),he}for(ye=c(T,ye);Se<R.length;Se++)dt=se(ye,T,Se,R[Se],Y),dt!==null&&(t&&dt.alternate!==null&&ye.delete(dt.key===null?Se:dt.key),L=m(dt,L,Se),ve===null?he=dt:ve.sibling=dt,ve=dt);return t&&ye.forEach(function(ur){return i(T,ur)}),qe&&_r(T,Se),he}function fe(T,L,R,Y){var he=ne(R);if(typeof he!="function")throw Error(r(150));if(R=he.call(R),R==null)throw Error(r(151));for(var ve=he=null,ye=L,Se=L=0,dt=null,Pe=R.next();ye!==null&&!Pe.done;Se++,Pe=R.next()){ye.index>Se?(dt=ye,ye=null):dt=ye.sibling;var ur=W(T,ye,Pe.value,Y);if(ur===null){ye===null&&(ye=dt);break}t&&ye&&ur.alternate===null&&i(T,ye),L=m(ur,L,Se),ve===null?he=ur:ve.sibling=ur,ve=ur,ye=dt}if(Pe.done)return s(T,ye),qe&&_r(T,Se),he;if(ye===null){for(;!Pe.done;Se++,Pe=R.next())Pe=Q(T,Pe.value,Y),Pe!==null&&(L=m(Pe,L,Se),ve===null?he=Pe:ve.sibling=Pe,ve=Pe);return qe&&_r(T,Se),he}for(ye=c(T,ye);!Pe.done;Se++,Pe=R.next())Pe=se(ye,T,Se,Pe.value,Y),Pe!==null&&(t&&Pe.alternate!==null&&ye.delete(Pe.key===null?Se:Pe.key),L=m(Pe,L,Se),ve===null?he=Pe:ve.sibling=Pe,ve=Pe);return t&&ye.forEach(function(i4){return i(T,i4)}),qe&&_r(T,Se),he}function et(T,L,R,Y){if(typeof R=="object"&&R!==null&&R.type===H&&R.key===null&&(R=R.props.children),typeof R=="object"&&R!==null){switch(R.$$typeof){case ee:e:{for(var he=R.key,ve=L;ve!==null;){if(ve.key===he){if(he=R.type,he===H){if(ve.tag===7){s(T,ve.sibling),L=f(ve,R.props.children),L.return=T,T=L;break e}}else if(ve.elementType===he||typeof he=="object"&&he!==null&&he.$$typeof===ge&&o0(he)===ve.type){s(T,ve.sibling),L=f(ve,R.props),L.ref=Zi(T,ve,R),L.return=T,T=L;break e}s(T,ve);break}else i(T,ve);ve=ve.sibling}R.type===H?(L=Or(R.props.children,T.mode,Y,R.key),L.return=T,T=L):(Y=Os(R.type,R.key,R.props,null,T.mode,Y),Y.ref=Zi(T,L,R),Y.return=T,T=Y)}return y(T);case j:e:{for(ve=R.key;L!==null;){if(L.key===ve)if(L.tag===4&&L.stateNode.containerInfo===R.containerInfo&&L.stateNode.implementation===R.implementation){s(T,L.sibling),L=f(L,R.children||[]),L.return=T,T=L;break e}else{s(T,L);break}else i(T,L);L=L.sibling}L=eu(R,T.mode,Y),L.return=T,T=L}return y(T);case ge:return ve=R._init,et(T,L,ve(R._payload),Y)}if(It(R))return ce(T,L,R,Y);if(ne(R))return fe(T,L,R,Y);us(T,R)}return typeof R=="string"&&R!==""||typeof R=="number"?(R=""+R,L!==null&&L.tag===6?(s(T,L.sibling),L=f(L,R),L.return=T,T=L):(s(T,L),L=Ja(R,T.mode,Y),L.return=T,T=L),y(T)):s(T,L)}return et}var ii=s0(!0),l0=s0(!1),cs=Xn(null),ds=null,oi=null,ua=null;function ca(){ua=oi=ds=null}function da(t){var i=cs.current;Ue(cs),t._currentValue=i}function fa(t,i,s){for(;t!==null;){var c=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),t===s)break;t=t.return}}function si(t,i){ds=t,ua=oi=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&i)!==0&&(Pt=!0),t.firstContext=null)}function Yt(t){var i=t._currentValue;if(ua!==t)if(t={context:t,memoizedValue:i,next:null},oi===null){if(ds===null)throw Error(r(308));oi=t,ds.dependencies={lanes:0,firstContext:t}}else oi=oi.next=t;return i}var Er=null;function ha(t){Er===null?Er=[t]:Er.push(t)}function a0(t,i,s,c){var f=i.interleaved;return f===null?(s.next=s,ha(i)):(s.next=f.next,f.next=s),i.interleaved=s,On(t,c)}function On(t,i){t.lanes|=i;var s=t.alternate;for(s!==null&&(s.lanes|=i),s=t,t=t.return;t!==null;)t.childLanes|=i,s=t.alternate,s!==null&&(s.childLanes|=i),s=t,t=t.return;return s.tag===3?s.stateNode:null}var tr=!1;function pa(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function u0(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Pn(t,i){return{eventTime:t,lane:i,tag:0,payload:null,callback:null,next:null}}function nr(t,i,s){var c=t.updateQueue;if(c===null)return null;if(c=c.shared,(Fe&2)!==0){var f=c.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),c.pending=i,On(t,s)}return f=c.interleaved,f===null?(i.next=i,ha(c)):(i.next=f.next,f.next=i),c.interleaved=i,On(t,s)}function fs(t,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var c=i.lanes;c&=t.pendingLanes,s|=c,i.lanes=s,zl(t,s)}}function c0(t,i){var s=t.updateQueue,c=t.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var f=null,m=null;if(s=s.firstBaseUpdate,s!==null){do{var y={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};m===null?f=m=y:m=m.next=y,s=s.next}while(s!==null);m===null?f=m=i:m=m.next=i}else f=m=i;s={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:c.shared,effects:c.effects},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=i:t.next=i,s.lastBaseUpdate=i}function hs(t,i,s,c){var f=t.updateQueue;tr=!1;var m=f.firstBaseUpdate,y=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var z=S,N=z.next;z.next=null,y===null?m=N:y.next=N,y=z;var q=t.alternate;q!==null&&(q=q.updateQueue,S=q.lastBaseUpdate,S!==y&&(S===null?q.firstBaseUpdate=N:S.next=N,q.lastBaseUpdate=z))}if(m!==null){var Q=f.baseState;y=0,q=N=z=null,S=m;do{var W=S.lane,se=S.eventTime;if((c&W)===W){q!==null&&(q=q.next={eventTime:se,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var ce=t,fe=S;switch(W=i,se=s,fe.tag){case 1:if(ce=fe.payload,typeof ce=="function"){Q=ce.call(se,Q,W);break e}Q=ce;break e;case 3:ce.flags=ce.flags&-65537|128;case 0:if(ce=fe.payload,W=typeof ce=="function"?ce.call(se,Q,W):ce,W==null)break e;Q=x({},Q,W);break e;case 2:tr=!0}}S.callback!==null&&S.lane!==0&&(t.flags|=64,W=f.effects,W===null?f.effects=[S]:W.push(S))}else se={eventTime:se,lane:W,tag:S.tag,payload:S.payload,callback:S.callback,next:null},q===null?(N=q=se,z=Q):q=q.next=se,y|=W;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;W=S,S=W.next,W.next=null,f.lastBaseUpdate=W,f.shared.pending=null}}while(!0);if(q===null&&(z=Q),f.baseState=z,f.firstBaseUpdate=N,f.lastBaseUpdate=q,i=f.shared.interleaved,i!==null){f=i;do y|=f.lane,f=f.next;while(f!==i)}else m===null&&(f.shared.lanes=0);Lr|=y,t.lanes=y,t.memoizedState=Q}}function d0(t,i,s){if(t=i.effects,i.effects=null,t!==null)for(i=0;i<t.length;i++){var c=t[i],f=c.callback;if(f!==null){if(c.callback=null,c=s,typeof f!="function")throw Error(r(191,f));f.call(c)}}}var Qi={},kn=Xn(Qi),Gi=Xn(Qi),Ki=Xn(Qi);function Mr(t){if(t===Qi)throw Error(r(174));return t}function ma(t,i){switch(Ve(Ki,i),Ve(Gi,t),Ve(kn,Qi),t=i.nodeType,t){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:$(null,"");break;default:t=t===8?i.parentNode:i,i=t.namespaceURI||null,t=t.tagName,i=$(i,t)}Ue(kn),Ve(kn,i)}function li(){Ue(kn),Ue(Gi),Ue(Ki)}function f0(t){Mr(Ki.current);var i=Mr(kn.current),s=$(i,t.type);i!==s&&(Ve(Gi,t),Ve(kn,s))}function ga(t){Gi.current===t&&(Ue(kn),Ue(Gi))}var Qe=Xn(0);function ps(t){for(var i=t;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.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===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var wa=[];function va(){for(var t=0;t<wa.length;t++)wa[t]._workInProgressVersionPrimary=null;wa.length=0}var ms=B.ReactCurrentDispatcher,ya=B.ReactCurrentBatchConfig,zr=0,Ge=null,st=null,ut=null,gs=!1,Yi=!1,Xi=0,Ep=0;function bt(){throw Error(r(321))}function ka(t,i){if(i===null)return!1;for(var s=0;s<i.length&&s<t.length;s++)if(!ln(t[s],i[s]))return!1;return!0}function ba(t,i,s,c,f,m){if(zr=m,Ge=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,ms.current=t===null||t.memoizedState===null?jp:Ip,t=s(c,f),Yi){m=0;do{if(Yi=!1,Xi=0,25<=m)throw Error(r(301));m+=1,ut=st=null,i.updateQueue=null,ms.current=Fp,t=s(c,f)}while(Yi)}if(ms.current=ys,i=st!==null&&st.next!==null,zr=0,ut=st=Ge=null,gs=!1,i)throw Error(r(300));return t}function xa(){var t=Xi!==0;return Xi=0,t}function bn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ut===null?Ge.memoizedState=ut=t:ut=ut.next=t,ut}function Xt(){if(st===null){var t=Ge.alternate;t=t!==null?t.memoizedState:null}else t=st.next;var i=ut===null?Ge.memoizedState:ut.next;if(i!==null)ut=i,st=t;else{if(t===null)throw Error(r(310));st=t,t={memoizedState:st.memoizedState,baseState:st.baseState,baseQueue:st.baseQueue,queue:st.queue,next:null},ut===null?Ge.memoizedState=ut=t:ut=ut.next=t}return ut}function Ji(t,i){return typeof i=="function"?i(t):i}function Ca(t){var i=Xt(),s=i.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var c=st,f=c.baseQueue,m=s.pending;if(m!==null){if(f!==null){var y=f.next;f.next=m.next,m.next=y}c.baseQueue=f=m,s.pending=null}if(f!==null){m=f.next,c=c.baseState;var S=y=null,z=null,N=m;do{var q=N.lane;if((zr&q)===q)z!==null&&(z=z.next={lane:0,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),c=N.hasEagerState?N.eagerState:t(c,N.action);else{var Q={lane:q,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null};z===null?(S=z=Q,y=c):z=z.next=Q,Ge.lanes|=q,Lr|=q}N=N.next}while(N!==null&&N!==m);z===null?y=c:z.next=S,ln(c,i.memoizedState)||(Pt=!0),i.memoizedState=c,i.baseState=y,i.baseQueue=z,s.lastRenderedState=c}if(t=s.interleaved,t!==null){f=t;do m=f.lane,Ge.lanes|=m,Lr|=m,f=f.next;while(f!==t)}else f===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function Sa(t){var i=Xt(),s=i.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var c=s.dispatch,f=s.pending,m=i.memoizedState;if(f!==null){s.pending=null;var y=f=f.next;do m=t(m,y.action),y=y.next;while(y!==f);ln(m,i.memoizedState)||(Pt=!0),i.memoizedState=m,i.baseQueue===null&&(i.baseState=m),s.lastRenderedState=m}return[m,c]}function h0(){}function p0(t,i){var s=Ge,c=Xt(),f=i(),m=!ln(c.memoizedState,f);if(m&&(c.memoizedState=f,Pt=!0),c=c.queue,_a(w0.bind(null,s,c,t),[t]),c.getSnapshot!==i||m||ut!==null&&ut.memoizedState.tag&1){if(s.flags|=2048,eo(9,g0.bind(null,s,c,f,i),void 0,null),ct===null)throw Error(r(349));(zr&30)!==0||m0(s,i,f)}return f}function m0(t,i,s){t.flags|=16384,t={getSnapshot:i,value:s},i=Ge.updateQueue,i===null?(i={lastEffect:null,stores:null},Ge.updateQueue=i,i.stores=[t]):(s=i.stores,s===null?i.stores=[t]:s.push(t))}function g0(t,i,s,c){i.value=s,i.getSnapshot=c,v0(i)&&y0(t)}function w0(t,i,s){return s(function(){v0(i)&&y0(t)})}function v0(t){var i=t.getSnapshot;t=t.value;try{var s=i();return!ln(t,s)}catch{return!0}}function y0(t){var i=On(t,1);i!==null&&fn(i,t,1,-1)}function k0(t){var i=bn();return typeof t=="function"&&(t=t()),i.memoizedState=i.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ji,lastRenderedState:t},i.queue=t,t=t.dispatch=Lp.bind(null,Ge,t),[i.memoizedState,t]}function eo(t,i,s,c){return t={tag:t,create:i,destroy:s,deps:c,next:null},i=Ge.updateQueue,i===null?(i={lastEffect:null,stores:null},Ge.updateQueue=i,i.lastEffect=t.next=t):(s=i.lastEffect,s===null?i.lastEffect=t.next=t:(c=s.next,s.next=t,t.next=c,i.lastEffect=t)),t}function b0(){return Xt().memoizedState}function ws(t,i,s,c){var f=bn();Ge.flags|=t,f.memoizedState=eo(1|i,s,void 0,c===void 0?null:c)}function vs(t,i,s,c){var f=Xt();c=c===void 0?null:c;var m=void 0;if(st!==null){var y=st.memoizedState;if(m=y.destroy,c!==null&&ka(c,y.deps)){f.memoizedState=eo(i,s,m,c);return}}Ge.flags|=t,f.memoizedState=eo(1|i,s,m,c)}function x0(t,i){return ws(8390656,8,t,i)}function _a(t,i){return vs(2048,8,t,i)}function C0(t,i){return vs(4,2,t,i)}function S0(t,i){return vs(4,4,t,i)}function _0(t,i){if(typeof i=="function")return t=t(),i(t),function(){i(null)};if(i!=null)return t=t(),i.current=t,function(){i.current=null}}function E0(t,i,s){return s=s!=null?s.concat([t]):null,vs(4,4,_0.bind(null,i,t),s)}function Ea(){}function M0(t,i){var s=Xt();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&ka(i,c[1])?c[0]:(s.memoizedState=[t,i],t)}function z0(t,i){var s=Xt();i=i===void 0?null:i;var c=s.memoizedState;return c!==null&&i!==null&&ka(i,c[1])?c[0]:(t=t(),s.memoizedState=[t,i],t)}function L0(t,i,s){return(zr&21)===0?(t.baseState&&(t.baseState=!1,Pt=!0),t.memoizedState=s):(ln(s,i)||(s=oc(),Ge.lanes|=s,Lr|=s,t.baseState=!0),i)}function Mp(t,i){var s=Ne;Ne=s!==0&&4>s?s:4,t(!0);var c=ya.transition;ya.transition={};try{t(!1),i()}finally{Ne=s,ya.transition=c}}function j0(){return Xt().memoizedState}function zp(t,i,s){var c=sr(t);if(s={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null},I0(t))F0(i,s);else if(s=a0(t,i,s,c),s!==null){var f=zt();fn(s,t,c,f),O0(s,i,c)}}function Lp(t,i,s){var c=sr(t),f={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(I0(t))F0(i,f);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=i.lastRenderedReducer,m!==null))try{var y=i.lastRenderedState,S=m(y,s);if(f.hasEagerState=!0,f.eagerState=S,ln(S,y)){var z=i.interleaved;z===null?(f.next=f,ha(i)):(f.next=z.next,z.next=f),i.interleaved=f;return}}catch{}finally{}s=a0(t,i,f,c),s!==null&&(f=zt(),fn(s,t,c,f),O0(s,i,c))}}function I0(t){var i=t.alternate;return t===Ge||i!==null&&i===Ge}function F0(t,i){Yi=gs=!0;var s=t.pending;s===null?i.next=i:(i.next=s.next,s.next=i),t.pending=i}function O0(t,i,s){if((s&4194240)!==0){var c=i.lanes;c&=t.pendingLanes,s|=c,i.lanes=s,zl(t,s)}}var ys={readContext:Yt,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},jp={readContext:Yt,useCallback:function(t,i){return bn().memoizedState=[t,i===void 0?null:i],t},useContext:Yt,useEffect:x0,useImperativeHandle:function(t,i,s){return s=s!=null?s.concat([t]):null,ws(4194308,4,_0.bind(null,i,t),s)},useLayoutEffect:function(t,i){return ws(4194308,4,t,i)},useInsertionEffect:function(t,i){return ws(4,2,t,i)},useMemo:function(t,i){var s=bn();return i=i===void 0?null:i,t=t(),s.memoizedState=[t,i],t},useReducer:function(t,i,s){var c=bn();return i=s!==void 0?s(i):i,c.memoizedState=c.baseState=i,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},c.queue=t,t=t.dispatch=zp.bind(null,Ge,t),[c.memoizedState,t]},useRef:function(t){var i=bn();return t={current:t},i.memoizedState=t},useState:k0,useDebugValue:Ea,useDeferredValue:function(t){return bn().memoizedState=t},useTransition:function(){var t=k0(!1),i=t[0];return t=Mp.bind(null,t[1]),bn().memoizedState=t,[i,t]},useMutableSource:function(){},useSyncExternalStore:function(t,i,s){var c=Ge,f=bn();if(qe){if(s===void 0)throw Error(r(407));s=s()}else{if(s=i(),ct===null)throw Error(r(349));(zr&30)!==0||m0(c,i,s)}f.memoizedState=s;var m={value:s,getSnapshot:i};return f.queue=m,x0(w0.bind(null,c,m,t),[t]),c.flags|=2048,eo(9,g0.bind(null,c,m,s,i),void 0,null),s},useId:function(){var t=bn(),i=ct.identifierPrefix;if(qe){var s=Fn,c=In;s=(c&~(1<<32-sn(c)-1)).toString(32)+s,i=":"+i+"R"+s,s=Xi++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=Ep++,i=":"+i+"r"+s.toString(32)+":";return t.memoizedState=i},unstable_isNewReconciler:!1},Ip={readContext:Yt,useCallback:M0,useContext:Yt,useEffect:_a,useImperativeHandle:E0,useInsertionEffect:C0,useLayoutEffect:S0,useMemo:z0,useReducer:Ca,useRef:b0,useState:function(){return Ca(Ji)},useDebugValue:Ea,useDeferredValue:function(t){var i=Xt();return L0(i,st.memoizedState,t)},useTransition:function(){var t=Ca(Ji)[0],i=Xt().memoizedState;return[t,i]},useMutableSource:h0,useSyncExternalStore:p0,useId:j0,unstable_isNewReconciler:!1},Fp={readContext:Yt,useCallback:M0,useContext:Yt,useEffect:_a,useImperativeHandle:E0,useInsertionEffect:C0,useLayoutEffect:S0,useMemo:z0,useReducer:Sa,useRef:b0,useState:function(){return Sa(Ji)},useDebugValue:Ea,useDeferredValue:function(t){var i=Xt();return st===null?i.memoizedState=t:L0(i,st.memoizedState,t)},useTransition:function(){var t=Sa(Ji)[0],i=Xt().memoizedState;return[t,i]},useMutableSource:h0,useSyncExternalStore:p0,useId:j0,unstable_isNewReconciler:!1};function un(t,i){if(t&&t.defaultProps){i=x({},i),t=t.defaultProps;for(var s in t)i[s]===void 0&&(i[s]=t[s]);return i}return i}function Ma(t,i,s,c){i=t.memoizedState,s=s(c,i),s=s==null?i:x({},i,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var ks={isMounted:function(t){return(t=t._reactInternals)?br(t)===t:!1},enqueueSetState:function(t,i,s){t=t._reactInternals;var c=zt(),f=sr(t),m=Pn(c,f);m.payload=i,s!=null&&(m.callback=s),i=nr(t,m,f),i!==null&&(fn(i,t,f,c),fs(i,t,f))},enqueueReplaceState:function(t,i,s){t=t._reactInternals;var c=zt(),f=sr(t),m=Pn(c,f);m.tag=1,m.payload=i,s!=null&&(m.callback=s),i=nr(t,m,f),i!==null&&(fn(i,t,f,c),fs(i,t,f))},enqueueForceUpdate:function(t,i){t=t._reactInternals;var s=zt(),c=sr(t),f=Pn(s,c);f.tag=2,i!=null&&(f.callback=i),i=nr(t,f,c),i!==null&&(fn(i,t,c,s),fs(i,t,c))}};function P0(t,i,s,c,f,m,y){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(c,m,y):i.prototype&&i.prototype.isPureReactComponent?!Di(s,c)||!Di(f,m):!0}function T0(t,i,s){var c=!1,f=Jn,m=i.contextType;return typeof m=="object"&&m!==null?m=Yt(m):(f=Ot(i)?Cr:kt.current,c=i.contextTypes,m=(c=c!=null)?ei(t,f):Jn),i=new i(s,m),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=ks,t.stateNode=i,i._reactInternals=t,c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=f,t.__reactInternalMemoizedMaskedChildContext=m),i}function R0(t,i,s,c){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,c),i.state!==t&&ks.enqueueReplaceState(i,i.state,null)}function za(t,i,s,c){var f=t.stateNode;f.props=s,f.state=t.memoizedState,f.refs={},pa(t);var m=i.contextType;typeof m=="object"&&m!==null?f.context=Yt(m):(m=Ot(i)?Cr:kt.current,f.context=ei(t,m)),f.state=t.memoizedState,m=i.getDerivedStateFromProps,typeof m=="function"&&(Ma(t,i,m,s),f.state=t.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(i=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),i!==f.state&&ks.enqueueReplaceState(f,f.state,null),hs(t,s,f,c),f.state=t.memoizedState),typeof f.componentDidMount=="function"&&(t.flags|=4194308)}function ai(t,i){try{var s="",c=i;do s+=we(c),c=c.return;while(c);var f=s}catch(m){f=`
42
+ Error generating stack: `+m.message+`
43
+ `+m.stack}return{value:t,source:i,stack:f,digest:null}}function La(t,i,s){return{value:t,source:null,stack:s??null,digest:i??null}}function ja(t,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var Op=typeof WeakMap=="function"?WeakMap:Map;function N0(t,i,s){s=Pn(-1,s),s.tag=3,s.payload={element:null};var c=i.value;return s.callback=function(){Ms||(Ms=!0,Ua=c),ja(t,i)},s}function $0(t,i,s){s=Pn(-1,s),s.tag=3;var c=t.type.getDerivedStateFromError;if(typeof c=="function"){var f=i.value;s.payload=function(){return c(f)},s.callback=function(){ja(t,i)}}var m=t.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(s.callback=function(){ja(t,i),typeof c!="function"&&(ir===null?ir=new Set([this]):ir.add(this));var y=i.stack;this.componentDidCatch(i.value,{componentStack:y!==null?y:""})}),s}function A0(t,i,s){var c=t.pingCache;if(c===null){c=t.pingCache=new Op;var f=new Set;c.set(i,f)}else f=c.get(i),f===void 0&&(f=new Set,c.set(i,f));f.has(s)||(f.add(s),t=Zp.bind(null,t,i,s),i.then(t,t))}function D0(t){do{var i;if((i=t.tag===13)&&(i=t.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return t;t=t.return}while(t!==null);return null}function H0(t,i,s,c,f){return(t.mode&1)===0?(t===i?t.flags|=65536:(t.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=Pn(-1,1),i.tag=2,nr(s,i,1))),s.lanes|=1),t):(t.flags|=65536,t.lanes=f,t)}var Pp=B.ReactCurrentOwner,Pt=!1;function Mt(t,i,s,c){i.child=t===null?l0(i,null,s,c):ii(i,t.child,s,c)}function B0(t,i,s,c,f){s=s.render;var m=i.ref;return si(i,f),c=ba(t,i,s,c,m,f),s=xa(),t!==null&&!Pt?(i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~f,Tn(t,i,f)):(qe&&s&&ia(i),i.flags|=1,Mt(t,i,c,f),i.child)}function V0(t,i,s,c,f){if(t===null){var m=s.type;return typeof m=="function"&&!Xa(m)&&m.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=m,W0(t,i,m,c,f)):(t=Os(s.type,null,c,i,i.mode,f),t.ref=i.ref,t.return=i,i.child=t)}if(m=t.child,(t.lanes&f)===0){var y=m.memoizedProps;if(s=s.compare,s=s!==null?s:Di,s(y,c)&&t.ref===i.ref)return Tn(t,i,f)}return i.flags|=1,t=ar(m,c),t.ref=i.ref,t.return=i,i.child=t}function W0(t,i,s,c,f){if(t!==null){var m=t.memoizedProps;if(Di(m,c)&&t.ref===i.ref)if(Pt=!1,i.pendingProps=c=m,(t.lanes&f)!==0)(t.flags&131072)!==0&&(Pt=!0);else return i.lanes=t.lanes,Tn(t,i,f)}return Ia(t,i,s,c,f)}function U0(t,i,s){var c=i.pendingProps,f=c.children,m=t!==null?t.memoizedState:null;if(c.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ve(ci,Zt),Zt|=s;else{if((s&1073741824)===0)return t=m!==null?m.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:t,cachePool:null,transitions:null},i.updateQueue=null,Ve(ci,Zt),Zt|=t,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=m!==null?m.baseLanes:s,Ve(ci,Zt),Zt|=c}else m!==null?(c=m.baseLanes|s,i.memoizedState=null):c=s,Ve(ci,Zt),Zt|=c;return Mt(t,i,f,s),i.child}function q0(t,i){var s=i.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(i.flags|=512,i.flags|=2097152)}function Ia(t,i,s,c,f){var m=Ot(s)?Cr:kt.current;return m=ei(i,m),si(i,f),s=ba(t,i,s,c,m,f),c=xa(),t!==null&&!Pt?(i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~f,Tn(t,i,f)):(qe&&c&&ia(i),i.flags|=1,Mt(t,i,s,f),i.child)}function Z0(t,i,s,c,f){if(Ot(s)){var m=!0;is(i)}else m=!1;if(si(i,f),i.stateNode===null)xs(t,i),T0(i,s,c),za(i,s,c,f),c=!0;else if(t===null){var y=i.stateNode,S=i.memoizedProps;y.props=S;var z=y.context,N=s.contextType;typeof N=="object"&&N!==null?N=Yt(N):(N=Ot(s)?Cr:kt.current,N=ei(i,N));var q=s.getDerivedStateFromProps,Q=typeof q=="function"||typeof y.getSnapshotBeforeUpdate=="function";Q||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(S!==c||z!==N)&&R0(i,y,c,N),tr=!1;var W=i.memoizedState;y.state=W,hs(i,c,y,f),z=i.memoizedState,S!==c||W!==z||Ft.current||tr?(typeof q=="function"&&(Ma(i,s,q,c),z=i.memoizedState),(S=tr||P0(i,s,S,c,W,z,N))?(Q||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(i.flags|=4194308)):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=z),y.props=c,y.state=z,y.context=N,c=S):(typeof y.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{y=i.stateNode,u0(t,i),S=i.memoizedProps,N=i.type===i.elementType?S:un(i.type,S),y.props=N,Q=i.pendingProps,W=y.context,z=s.contextType,typeof z=="object"&&z!==null?z=Yt(z):(z=Ot(s)?Cr:kt.current,z=ei(i,z));var se=s.getDerivedStateFromProps;(q=typeof se=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(S!==Q||W!==z)&&R0(i,y,c,z),tr=!1,W=i.memoizedState,y.state=W,hs(i,c,y,f);var ce=i.memoizedState;S!==Q||W!==ce||Ft.current||tr?(typeof se=="function"&&(Ma(i,s,se,c),ce=i.memoizedState),(N=tr||P0(i,s,N,c,W,ce,z)||!1)?(q||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(c,ce,z),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(c,ce,z)),typeof y.componentDidUpdate=="function"&&(i.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof y.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=ce),y.props=c,y.state=ce,y.context=z,c=N):(typeof y.componentDidUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(i.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||S===t.memoizedProps&&W===t.memoizedState||(i.flags|=1024),c=!1)}return Fa(t,i,s,c,m,f)}function Fa(t,i,s,c,f,m){q0(t,i);var y=(i.flags&128)!==0;if(!c&&!y)return f&&Xc(i,s,!1),Tn(t,i,m);c=i.stateNode,Pp.current=i;var S=y&&typeof s.getDerivedStateFromError!="function"?null:c.render();return i.flags|=1,t!==null&&y?(i.child=ii(i,t.child,null,m),i.child=ii(i,null,S,m)):Mt(t,i,S,m),i.memoizedState=c.state,f&&Xc(i,s,!0),i.child}function Q0(t){var i=t.stateNode;i.pendingContext?Kc(t,i.pendingContext,i.pendingContext!==i.context):i.context&&Kc(t,i.context,!1),ma(t,i.containerInfo)}function G0(t,i,s,c,f){return ri(),aa(f),i.flags|=256,Mt(t,i,s,c),i.child}var Oa={dehydrated:null,treeContext:null,retryLane:0};function Pa(t){return{baseLanes:t,cachePool:null,transitions:null}}function K0(t,i,s){var c=i.pendingProps,f=Qe.current,m=!1,y=(i.flags&128)!==0,S;if((S=y)||(S=t!==null&&t.memoizedState===null?!1:(f&2)!==0),S?(m=!0,i.flags&=-129):(t===null||t.memoizedState!==null)&&(f|=1),Ve(Qe,f&1),t===null)return la(i),t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((i.mode&1)===0?i.lanes=1:t.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(y=c.children,t=c.fallback,m?(c=i.mode,m=i.child,y={mode:"hidden",children:y},(c&1)===0&&m!==null?(m.childLanes=0,m.pendingProps=y):m=Ps(y,c,0,null),t=Or(t,c,s,null),m.return=i,t.return=i,m.sibling=t,i.child=m,i.child.memoizedState=Pa(s),i.memoizedState=Oa,t):Ta(i,y));if(f=t.memoizedState,f!==null&&(S=f.dehydrated,S!==null))return Tp(t,i,y,c,S,f,s);if(m){m=c.fallback,y=i.mode,f=t.child,S=f.sibling;var z={mode:"hidden",children:c.children};return(y&1)===0&&i.child!==f?(c=i.child,c.childLanes=0,c.pendingProps=z,i.deletions=null):(c=ar(f,z),c.subtreeFlags=f.subtreeFlags&14680064),S!==null?m=ar(S,m):(m=Or(m,y,s,null),m.flags|=2),m.return=i,c.return=i,c.sibling=m,i.child=c,c=m,m=i.child,y=t.child.memoizedState,y=y===null?Pa(s):{baseLanes:y.baseLanes|s,cachePool:null,transitions:y.transitions},m.memoizedState=y,m.childLanes=t.childLanes&~s,i.memoizedState=Oa,c}return m=t.child,t=m.sibling,c=ar(m,{mode:"visible",children:c.children}),(i.mode&1)===0&&(c.lanes=s),c.return=i,c.sibling=null,t!==null&&(s=i.deletions,s===null?(i.deletions=[t],i.flags|=16):s.push(t)),i.child=c,i.memoizedState=null,c}function Ta(t,i){return i=Ps({mode:"visible",children:i},t.mode,0,null),i.return=t,t.child=i}function bs(t,i,s,c){return c!==null&&aa(c),ii(i,t.child,null,s),t=Ta(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}function Tp(t,i,s,c,f,m,y){if(s)return i.flags&256?(i.flags&=-257,c=La(Error(r(422))),bs(t,i,y,c)):i.memoizedState!==null?(i.child=t.child,i.flags|=128,null):(m=c.fallback,f=i.mode,c=Ps({mode:"visible",children:c.children},f,0,null),m=Or(m,f,y,null),m.flags|=2,c.return=i,m.return=i,c.sibling=m,i.child=c,(i.mode&1)!==0&&ii(i,t.child,null,y),i.child.memoizedState=Pa(y),i.memoizedState=Oa,m);if((i.mode&1)===0)return bs(t,i,y,null);if(f.data==="$!"){if(c=f.nextSibling&&f.nextSibling.dataset,c)var S=c.dgst;return c=S,m=Error(r(419)),c=La(m,c,void 0),bs(t,i,y,c)}if(S=(y&t.childLanes)!==0,Pt||S){if(c=ct,c!==null){switch(y&-y){case 4:f=2;break;case 16:f=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:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(c.suspendedLanes|y))!==0?0:f,f!==0&&f!==m.retryLane&&(m.retryLane=f,On(t,f),fn(c,t,f,-1))}return Ya(),c=La(Error(r(421))),bs(t,i,y,c)}return f.data==="$?"?(i.flags|=128,i.child=t.child,i=Qp.bind(null,t),f._reactRetry=i,null):(t=m.treeContext,qt=Yn(f.nextSibling),Ut=i,qe=!0,an=null,t!==null&&(Gt[Kt++]=In,Gt[Kt++]=Fn,Gt[Kt++]=Sr,In=t.id,Fn=t.overflow,Sr=i),i=Ta(i,c.children),i.flags|=4096,i)}function Y0(t,i,s){t.lanes|=i;var c=t.alternate;c!==null&&(c.lanes|=i),fa(t.return,i,s)}function Ra(t,i,s,c,f){var m=t.memoizedState;m===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:f}:(m.isBackwards=i,m.rendering=null,m.renderingStartTime=0,m.last=c,m.tail=s,m.tailMode=f)}function X0(t,i,s){var c=i.pendingProps,f=c.revealOrder,m=c.tail;if(Mt(t,i,c.children,s),c=Qe.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Y0(t,s,i);else if(t.tag===19)Y0(t,s,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}c&=1}if(Ve(Qe,c),(i.mode&1)===0)i.memoizedState=null;else switch(f){case"forwards":for(s=i.child,f=null;s!==null;)t=s.alternate,t!==null&&ps(t)===null&&(f=s),s=s.sibling;s=f,s===null?(f=i.child,i.child=null):(f=s.sibling,s.sibling=null),Ra(i,!1,f,s,m);break;case"backwards":for(s=null,f=i.child,i.child=null;f!==null;){if(t=f.alternate,t!==null&&ps(t)===null){i.child=f;break}t=f.sibling,f.sibling=s,s=f,f=t}Ra(i,!0,s,null,m);break;case"together":Ra(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function xs(t,i){(i.mode&1)===0&&t!==null&&(t.alternate=null,i.alternate=null,i.flags|=2)}function Tn(t,i,s){if(t!==null&&(i.dependencies=t.dependencies),Lr|=i.lanes,(s&i.childLanes)===0)return null;if(t!==null&&i.child!==t.child)throw Error(r(153));if(i.child!==null){for(t=i.child,s=ar(t,t.pendingProps),i.child=s,s.return=i;t.sibling!==null;)t=t.sibling,s=s.sibling=ar(t,t.pendingProps),s.return=i;s.sibling=null}return i.child}function Rp(t,i,s){switch(i.tag){case 3:Q0(i),ri();break;case 5:f0(i);break;case 1:Ot(i.type)&&is(i);break;case 4:ma(i,i.stateNode.containerInfo);break;case 10:var c=i.type._context,f=i.memoizedProps.value;Ve(cs,c._currentValue),c._currentValue=f;break;case 13:if(c=i.memoizedState,c!==null)return c.dehydrated!==null?(Ve(Qe,Qe.current&1),i.flags|=128,null):(s&i.child.childLanes)!==0?K0(t,i,s):(Ve(Qe,Qe.current&1),t=Tn(t,i,s),t!==null?t.sibling:null);Ve(Qe,Qe.current&1);break;case 19:if(c=(s&i.childLanes)!==0,(t.flags&128)!==0){if(c)return X0(t,i,s);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ve(Qe,Qe.current),c)break;return null;case 22:case 23:return i.lanes=0,U0(t,i,s)}return Tn(t,i,s)}var J0,Na,ed,td;J0=function(t,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},Na=function(){},ed=function(t,i,s,c){var f=t.memoizedProps;if(f!==c){t=i.stateNode,Mr(kn.current);var m=null;switch(s){case"input":f=Be(t,f),c=Be(t,c),m=[];break;case"select":f=x({},f,{value:void 0}),c=x({},c,{value:void 0}),m=[];break;case"textarea":f=Ht(t,f),c=Ht(t,c),m=[];break;default:typeof f.onClick!="function"&&typeof c.onClick=="function"&&(t.onclick=ts)}Mn(s,c);var y;s=null;for(N in f)if(!c.hasOwnProperty(N)&&f.hasOwnProperty(N)&&f[N]!=null)if(N==="style"){var S=f[N];for(y in S)S.hasOwnProperty(y)&&(s||(s={}),s[y]="")}else N!=="dangerouslySetInnerHTML"&&N!=="children"&&N!=="suppressContentEditableWarning"&&N!=="suppressHydrationWarning"&&N!=="autoFocus"&&(l.hasOwnProperty(N)?m||(m=[]):(m=m||[]).push(N,null));for(N in c){var z=c[N];if(S=f?.[N],c.hasOwnProperty(N)&&z!==S&&(z!=null||S!=null))if(N==="style")if(S){for(y in S)!S.hasOwnProperty(y)||z&&z.hasOwnProperty(y)||(s||(s={}),s[y]="");for(y in z)z.hasOwnProperty(y)&&S[y]!==z[y]&&(s||(s={}),s[y]=z[y])}else s||(m||(m=[]),m.push(N,s)),s=z;else N==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,S=S?S.__html:void 0,z!=null&&S!==z&&(m=m||[]).push(N,z)):N==="children"?typeof z!="string"&&typeof z!="number"||(m=m||[]).push(N,""+z):N!=="suppressContentEditableWarning"&&N!=="suppressHydrationWarning"&&(l.hasOwnProperty(N)?(z!=null&&N==="onScroll"&&We("scroll",t),m||S===z||(m=[])):(m=m||[]).push(N,z))}s&&(m=m||[]).push("style",s);var N=m;(i.updateQueue=N)&&(i.flags|=4)}},td=function(t,i,s,c){s!==c&&(i.flags|=4)};function to(t,i){if(!qe)switch(t.tailMode){case"hidden":i=t.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?i||t.tail===null?t.tail=null:t.tail.sibling=null:c.sibling=null}}function xt(t){var i=t.alternate!==null&&t.alternate.child===t.child,s=0,c=0;if(i)for(var f=t.child;f!==null;)s|=f.lanes|f.childLanes,c|=f.subtreeFlags&14680064,c|=f.flags&14680064,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)s|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=c,t.childLanes=s,i}function Np(t,i,s){var c=i.pendingProps;switch(oa(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return xt(i),null;case 1:return Ot(i.type)&&rs(),xt(i),null;case 3:return c=i.stateNode,li(),Ue(Ft),Ue(kt),va(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(t===null||t.child===null)&&(as(i)?i.flags|=4:t===null||t.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,an!==null&&(Qa(an),an=null))),Na(t,i),xt(i),null;case 5:ga(i);var f=Mr(Ki.current);if(s=i.type,t!==null&&i.stateNode!=null)ed(t,i,s,c,f),t.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!c){if(i.stateNode===null)throw Error(r(166));return xt(i),null}if(t=Mr(kn.current),as(i)){c=i.stateNode,s=i.type;var m=i.memoizedProps;switch(c[yn]=i,c[Ui]=m,t=(i.mode&1)!==0,s){case"dialog":We("cancel",c),We("close",c);break;case"iframe":case"object":case"embed":We("load",c);break;case"video":case"audio":for(f=0;f<Bi.length;f++)We(Bi[f],c);break;case"source":We("error",c);break;case"img":case"image":case"link":We("error",c),We("load",c);break;case"details":We("toggle",c);break;case"input":Xe(c,m),We("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!m.multiple},We("invalid",c);break;case"textarea":Bn(c,m),We("invalid",c)}Mn(s,m),f=null;for(var y in m)if(m.hasOwnProperty(y)){var S=m[y];y==="children"?typeof S=="string"?c.textContent!==S&&(m.suppressHydrationWarning!==!0&&es(c.textContent,S,t),f=["children",S]):typeof S=="number"&&c.textContent!==""+S&&(m.suppressHydrationWarning!==!0&&es(c.textContent,S,t),f=["children",""+S]):l.hasOwnProperty(y)&&S!=null&&y==="onScroll"&&We("scroll",c)}switch(s){case"input":He(c),ft(c,m,!0);break;case"textarea":He(c),Wn(c);break;case"select":case"option":break;default:typeof m.onClick=="function"&&(c.onclick=ts)}c=f,i.updateQueue=c,c!==null&&(i.flags|=4)}else{y=f.nodeType===9?f:f.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=vr(s)),t==="http://www.w3.org/1999/xhtml"?s==="script"?(t=y.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof c.is=="string"?t=y.createElement(s,{is:c.is}):(t=y.createElement(s),s==="select"&&(y=t,c.multiple?y.multiple=!0:c.size&&(y.size=c.size))):t=y.createElementNS(t,s),t[yn]=i,t[Ui]=c,J0(t,i,!1,!1),i.stateNode=t;e:{switch(y=zn(s,c),s){case"dialog":We("cancel",t),We("close",t),f=c;break;case"iframe":case"object":case"embed":We("load",t),f=c;break;case"video":case"audio":for(f=0;f<Bi.length;f++)We(Bi[f],t);f=c;break;case"source":We("error",t),f=c;break;case"img":case"image":case"link":We("error",t),We("load",t),f=c;break;case"details":We("toggle",t),f=c;break;case"input":Xe(t,c),f=Be(t,c),We("invalid",t);break;case"option":f=c;break;case"select":t._wrapperState={wasMultiple:!!c.multiple},f=x({},c,{value:void 0}),We("invalid",t);break;case"textarea":Bn(t,c),f=Ht(t,c),We("invalid",t);break;default:f=c}Mn(s,f),S=f;for(m in S)if(S.hasOwnProperty(m)){var z=S[m];m==="style"?Bt(t,z):m==="dangerouslySetInnerHTML"?(z=z?z.__html:void 0,z!=null&&Ce(t,z)):m==="children"?typeof z=="string"?(s!=="textarea"||z!=="")&&_e(t,z):typeof z=="number"&&_e(t,""+z):m!=="suppressContentEditableWarning"&&m!=="suppressHydrationWarning"&&m!=="autoFocus"&&(l.hasOwnProperty(m)?z!=null&&m==="onScroll"&&We("scroll",t):z!=null&&D(t,m,z,y))}switch(s){case"input":He(t),ft(t,c,!1);break;case"textarea":He(t),Wn(t);break;case"option":c.value!=null&&t.setAttribute("value",""+te(c.value));break;case"select":t.multiple=!!c.multiple,m=c.value,m!=null?vt(t,!!c.multiple,m,!1):c.defaultValue!=null&&vt(t,!!c.multiple,c.defaultValue,!0);break;default:typeof f.onClick=="function"&&(t.onclick=ts)}switch(s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return xt(i),null;case 6:if(t&&i.stateNode!=null)td(t,i,t.memoizedProps,c);else{if(typeof c!="string"&&i.stateNode===null)throw Error(r(166));if(s=Mr(Ki.current),Mr(kn.current),as(i)){if(c=i.stateNode,s=i.memoizedProps,c[yn]=i,(m=c.nodeValue!==s)&&(t=Ut,t!==null))switch(t.tag){case 3:es(c.nodeValue,s,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&es(c.nodeValue,s,(t.mode&1)!==0)}m&&(i.flags|=4)}else c=(s.nodeType===9?s:s.ownerDocument).createTextNode(c),c[yn]=i,i.stateNode=c}return xt(i),null;case 13:if(Ue(Qe),c=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(qe&&qt!==null&&(i.mode&1)!==0&&(i.flags&128)===0)i0(),ri(),i.flags|=98560,m=!1;else if(m=as(i),c!==null&&c.dehydrated!==null){if(t===null){if(!m)throw Error(r(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[yn]=i}else ri(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;xt(i),m=!1}else an!==null&&(Qa(an),an=null),m=!0;if(!m)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=s,i):(c=c!==null,c!==(t!==null&&t.memoizedState!==null)&&c&&(i.child.flags|=8192,(i.mode&1)!==0&&(t===null||(Qe.current&1)!==0?lt===0&&(lt=3):Ya())),i.updateQueue!==null&&(i.flags|=4),xt(i),null);case 4:return li(),Na(t,i),t===null&&Vi(i.stateNode.containerInfo),xt(i),null;case 10:return da(i.type._context),xt(i),null;case 17:return Ot(i.type)&&rs(),xt(i),null;case 19:if(Ue(Qe),m=i.memoizedState,m===null)return xt(i),null;if(c=(i.flags&128)!==0,y=m.rendering,y===null)if(c)to(m,!1);else{if(lt!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(y=ps(t),y!==null){for(i.flags|=128,to(m,!1),c=y.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),i.subtreeFlags=0,c=s,s=i.child;s!==null;)m=s,t=c,m.flags&=14680066,y=m.alternate,y===null?(m.childLanes=0,m.lanes=t,m.child=null,m.subtreeFlags=0,m.memoizedProps=null,m.memoizedState=null,m.updateQueue=null,m.dependencies=null,m.stateNode=null):(m.childLanes=y.childLanes,m.lanes=y.lanes,m.child=y.child,m.subtreeFlags=0,m.deletions=null,m.memoizedProps=y.memoizedProps,m.memoizedState=y.memoizedState,m.updateQueue=y.updateQueue,m.type=y.type,t=y.dependencies,m.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),s=s.sibling;return Ve(Qe,Qe.current&1|2),i.child}t=t.sibling}m.tail!==null&&Je()>di&&(i.flags|=128,c=!0,to(m,!1),i.lanes=4194304)}else{if(!c)if(t=ps(y),t!==null){if(i.flags|=128,c=!0,s=t.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),to(m,!0),m.tail===null&&m.tailMode==="hidden"&&!y.alternate&&!qe)return xt(i),null}else 2*Je()-m.renderingStartTime>di&&s!==1073741824&&(i.flags|=128,c=!0,to(m,!1),i.lanes=4194304);m.isBackwards?(y.sibling=i.child,i.child=y):(s=m.last,s!==null?s.sibling=y:i.child=y,m.last=y)}return m.tail!==null?(i=m.tail,m.rendering=i,m.tail=i.sibling,m.renderingStartTime=Je(),i.sibling=null,s=Qe.current,Ve(Qe,c?s&1|2:s&1),i):(xt(i),null);case 22:case 23:return Ka(),c=i.memoizedState!==null,t!==null&&t.memoizedState!==null!==c&&(i.flags|=8192),c&&(i.mode&1)!==0?(Zt&1073741824)!==0&&(xt(i),i.subtreeFlags&6&&(i.flags|=8192)):xt(i),null;case 24:return null;case 25:return null}throw Error(r(156,i.tag))}function $p(t,i){switch(oa(i),i.tag){case 1:return Ot(i.type)&&rs(),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return li(),Ue(Ft),Ue(kt),va(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 5:return ga(i),null;case 13:if(Ue(Qe),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(r(340));ri()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return Ue(Qe),null;case 4:return li(),null;case 10:return da(i.type._context),null;case 22:case 23:return Ka(),null;case 24:return null;default:return null}}var Cs=!1,Ct=!1,Ap=typeof WeakSet=="function"?WeakSet:Set,ue=null;function ui(t,i){var s=t.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(c){Ye(t,i,c)}else s.current=null}function $a(t,i,s){try{s()}catch(c){Ye(t,i,c)}}var nd=!1;function Dp(t,i){if(Kl=Vo,t=Pc(),Bl(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var f=c.anchorOffset,m=c.focusNode;c=c.focusOffset;try{s.nodeType,m.nodeType}catch{s=null;break e}var y=0,S=-1,z=-1,N=0,q=0,Q=t,W=null;t:for(;;){for(var se;Q!==s||f!==0&&Q.nodeType!==3||(S=y+f),Q!==m||c!==0&&Q.nodeType!==3||(z=y+c),Q.nodeType===3&&(y+=Q.nodeValue.length),(se=Q.firstChild)!==null;)W=Q,Q=se;for(;;){if(Q===t)break t;if(W===s&&++N===f&&(S=y),W===m&&++q===c&&(z=y),(se=Q.nextSibling)!==null)break;Q=W,W=Q.parentNode}Q=se}s=S===-1||z===-1?null:{start:S,end:z}}else s=null}s=s||{start:0,end:0}}else s=null;for(Yl={focusedElem:t,selectionRange:s},Vo=!1,ue=i;ue!==null;)if(i=ue,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,ue=t;else for(;ue!==null;){i=ue;try{var ce=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(ce!==null){var fe=ce.memoizedProps,et=ce.memoizedState,T=i.stateNode,L=T.getSnapshotBeforeUpdate(i.elementType===i.type?fe:un(i.type,fe),et);T.__reactInternalSnapshotBeforeUpdate=L}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(r(163))}}catch(Y){Ye(i,i.return,Y)}if(t=i.sibling,t!==null){t.return=i.return,ue=t;break}ue=i.return}return ce=nd,nd=!1,ce}function no(t,i,s){var c=i.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var f=c=c.next;do{if((f.tag&t)===t){var m=f.destroy;f.destroy=void 0,m!==void 0&&$a(i,s,m)}f=f.next}while(f!==c)}}function Ss(t,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&t)===t){var c=s.create;s.destroy=c()}s=s.next}while(s!==i)}}function Aa(t){var i=t.ref;if(i!==null){var s=t.stateNode;switch(t.tag){case 5:t=s;break;default:t=s}typeof i=="function"?i(t):i.current=t}}function rd(t){var i=t.alternate;i!==null&&(t.alternate=null,rd(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&(delete i[yn],delete i[Ui],delete i[ta],delete i[xp],delete i[Cp])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function id(t){return t.tag===5||t.tag===3||t.tag===4}function od(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||id(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Da(t,i,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(t,i):s.insertBefore(t,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(t,s)):(i=s,i.appendChild(t)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=ts));else if(c!==4&&(t=t.child,t!==null))for(Da(t,i,s),t=t.sibling;t!==null;)Da(t,i,s),t=t.sibling}function Ha(t,i,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,i?s.insertBefore(t,i):s.appendChild(t);else if(c!==4&&(t=t.child,t!==null))for(Ha(t,i,s),t=t.sibling;t!==null;)Ha(t,i,s),t=t.sibling}var mt=null,cn=!1;function rr(t,i,s){for(s=s.child;s!==null;)sd(t,i,s),s=s.sibling}function sd(t,i,s){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(No,s)}catch{}switch(s.tag){case 5:Ct||ui(s,i);case 6:var c=mt,f=cn;mt=null,rr(t,i,s),mt=c,cn=f,mt!==null&&(cn?(t=mt,s=s.stateNode,t.nodeType===8?t.parentNode.removeChild(s):t.removeChild(s)):mt.removeChild(s.stateNode));break;case 18:mt!==null&&(cn?(t=mt,s=s.stateNode,t.nodeType===8?ea(t.parentNode,s):t.nodeType===1&&ea(t,s),Pi(t)):ea(mt,s.stateNode));break;case 4:c=mt,f=cn,mt=s.stateNode.containerInfo,cn=!0,rr(t,i,s),mt=c,cn=f;break;case 0:case 11:case 14:case 15:if(!Ct&&(c=s.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){f=c=c.next;do{var m=f,y=m.destroy;m=m.tag,y!==void 0&&((m&2)!==0||(m&4)!==0)&&$a(s,i,y),f=f.next}while(f!==c)}rr(t,i,s);break;case 1:if(!Ct&&(ui(s,i),c=s.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=s.memoizedProps,c.state=s.memoizedState,c.componentWillUnmount()}catch(S){Ye(s,i,S)}rr(t,i,s);break;case 21:rr(t,i,s);break;case 22:s.mode&1?(Ct=(c=Ct)||s.memoizedState!==null,rr(t,i,s),Ct=c):rr(t,i,s);break;default:rr(t,i,s)}}function ld(t){var i=t.updateQueue;if(i!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new Ap),i.forEach(function(c){var f=Gp.bind(null,t,c);s.has(c)||(s.add(c),c.then(f,f))})}}function dn(t,i){var s=i.deletions;if(s!==null)for(var c=0;c<s.length;c++){var f=s[c];try{var m=t,y=i,S=y;e:for(;S!==null;){switch(S.tag){case 5:mt=S.stateNode,cn=!1;break e;case 3:mt=S.stateNode.containerInfo,cn=!0;break e;case 4:mt=S.stateNode.containerInfo,cn=!0;break e}S=S.return}if(mt===null)throw Error(r(160));sd(m,y,f),mt=null,cn=!1;var z=f.alternate;z!==null&&(z.return=null),f.return=null}catch(N){Ye(f,i,N)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)ad(i,t),i=i.sibling}function ad(t,i){var s=t.alternate,c=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(dn(i,t),xn(t),c&4){try{no(3,t,t.return),Ss(3,t)}catch(fe){Ye(t,t.return,fe)}try{no(5,t,t.return)}catch(fe){Ye(t,t.return,fe)}}break;case 1:dn(i,t),xn(t),c&512&&s!==null&&ui(s,s.return);break;case 5:if(dn(i,t),xn(t),c&512&&s!==null&&ui(s,s.return),t.flags&32){var f=t.stateNode;try{_e(f,"")}catch(fe){Ye(t,t.return,fe)}}if(c&4&&(f=t.stateNode,f!=null)){var m=t.memoizedProps,y=s!==null?s.memoizedProps:m,S=t.type,z=t.updateQueue;if(t.updateQueue=null,z!==null)try{S==="input"&&m.type==="radio"&&m.name!=null&&it(f,m),zn(S,y);var N=zn(S,m);for(y=0;y<z.length;y+=2){var q=z[y],Q=z[y+1];q==="style"?Bt(f,Q):q==="dangerouslySetInnerHTML"?Ce(f,Q):q==="children"?_e(f,Q):D(f,q,Q,N)}switch(S){case"input":ot(f,m);break;case"textarea":Vn(f,m);break;case"select":var W=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!m.multiple;var se=m.value;se!=null?vt(f,!!m.multiple,se,!1):W!==!!m.multiple&&(m.defaultValue!=null?vt(f,!!m.multiple,m.defaultValue,!0):vt(f,!!m.multiple,m.multiple?[]:"",!1))}f[Ui]=m}catch(fe){Ye(t,t.return,fe)}}break;case 6:if(dn(i,t),xn(t),c&4){if(t.stateNode===null)throw Error(r(162));f=t.stateNode,m=t.memoizedProps;try{f.nodeValue=m}catch(fe){Ye(t,t.return,fe)}}break;case 3:if(dn(i,t),xn(t),c&4&&s!==null&&s.memoizedState.isDehydrated)try{Pi(i.containerInfo)}catch(fe){Ye(t,t.return,fe)}break;case 4:dn(i,t),xn(t);break;case 13:dn(i,t),xn(t),f=t.child,f.flags&8192&&(m=f.memoizedState!==null,f.stateNode.isHidden=m,!m||f.alternate!==null&&f.alternate.memoizedState!==null||(Wa=Je())),c&4&&ld(t);break;case 22:if(q=s!==null&&s.memoizedState!==null,t.mode&1?(Ct=(N=Ct)||q,dn(i,t),Ct=N):dn(i,t),xn(t),c&8192){if(N=t.memoizedState!==null,(t.stateNode.isHidden=N)&&!q&&(t.mode&1)!==0)for(ue=t,q=t.child;q!==null;){for(Q=ue=q;ue!==null;){switch(W=ue,se=W.child,W.tag){case 0:case 11:case 14:case 15:no(4,W,W.return);break;case 1:ui(W,W.return);var ce=W.stateNode;if(typeof ce.componentWillUnmount=="function"){c=W,s=W.return;try{i=c,ce.props=i.memoizedProps,ce.state=i.memoizedState,ce.componentWillUnmount()}catch(fe){Ye(c,s,fe)}}break;case 5:ui(W,W.return);break;case 22:if(W.memoizedState!==null){dd(Q);continue}}se!==null?(se.return=W,ue=se):dd(Q)}q=q.sibling}e:for(q=null,Q=t;;){if(Q.tag===5){if(q===null){q=Q;try{f=Q.stateNode,N?(m=f.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none"):(S=Q.stateNode,z=Q.memoizedProps.style,y=z!=null&&z.hasOwnProperty("display")?z.display:null,S.style.display=ht("display",y))}catch(fe){Ye(t,t.return,fe)}}}else if(Q.tag===6){if(q===null)try{Q.stateNode.nodeValue=N?"":Q.memoizedProps}catch(fe){Ye(t,t.return,fe)}}else if((Q.tag!==22&&Q.tag!==23||Q.memoizedState===null||Q===t)&&Q.child!==null){Q.child.return=Q,Q=Q.child;continue}if(Q===t)break e;for(;Q.sibling===null;){if(Q.return===null||Q.return===t)break e;q===Q&&(q=null),Q=Q.return}q===Q&&(q=null),Q.sibling.return=Q.return,Q=Q.sibling}}break;case 19:dn(i,t),xn(t),c&4&&ld(t);break;case 21:break;default:dn(i,t),xn(t)}}function xn(t){var i=t.flags;if(i&2){try{e:{for(var s=t.return;s!==null;){if(id(s)){var c=s;break e}s=s.return}throw Error(r(160))}switch(c.tag){case 5:var f=c.stateNode;c.flags&32&&(_e(f,""),c.flags&=-33);var m=od(t);Ha(t,m,f);break;case 3:case 4:var y=c.stateNode.containerInfo,S=od(t);Da(t,S,y);break;default:throw Error(r(161))}}catch(z){Ye(t,t.return,z)}t.flags&=-3}i&4096&&(t.flags&=-4097)}function Hp(t,i,s){ue=t,ud(t)}function ud(t,i,s){for(var c=(t.mode&1)!==0;ue!==null;){var f=ue,m=f.child;if(f.tag===22&&c){var y=f.memoizedState!==null||Cs;if(!y){var S=f.alternate,z=S!==null&&S.memoizedState!==null||Ct;S=Cs;var N=Ct;if(Cs=y,(Ct=z)&&!N)for(ue=f;ue!==null;)y=ue,z=y.child,y.tag===22&&y.memoizedState!==null?fd(f):z!==null?(z.return=y,ue=z):fd(f);for(;m!==null;)ue=m,ud(m),m=m.sibling;ue=f,Cs=S,Ct=N}cd(t)}else(f.subtreeFlags&8772)!==0&&m!==null?(m.return=f,ue=m):cd(t)}}function cd(t){for(;ue!==null;){var i=ue;if((i.flags&8772)!==0){var s=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Ct||Ss(5,i);break;case 1:var c=i.stateNode;if(i.flags&4&&!Ct)if(s===null)c.componentDidMount();else{var f=i.elementType===i.type?s.memoizedProps:un(i.type,s.memoizedProps);c.componentDidUpdate(f,s.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var m=i.updateQueue;m!==null&&d0(i,m,c);break;case 3:var y=i.updateQueue;if(y!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}d0(i,y,s)}break;case 5:var S=i.stateNode;if(s===null&&i.flags&4){s=S;var z=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":z.autoFocus&&s.focus();break;case"img":z.src&&(s.src=z.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var N=i.alternate;if(N!==null){var q=N.memoizedState;if(q!==null){var Q=q.dehydrated;Q!==null&&Pi(Q)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Ct||i.flags&512&&Aa(i)}catch(W){Ye(i,i.return,W)}}if(i===t){ue=null;break}if(s=i.sibling,s!==null){s.return=i.return,ue=s;break}ue=i.return}}function dd(t){for(;ue!==null;){var i=ue;if(i===t){ue=null;break}var s=i.sibling;if(s!==null){s.return=i.return,ue=s;break}ue=i.return}}function fd(t){for(;ue!==null;){var i=ue;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{Ss(4,i)}catch(z){Ye(i,s,z)}break;case 1:var c=i.stateNode;if(typeof c.componentDidMount=="function"){var f=i.return;try{c.componentDidMount()}catch(z){Ye(i,f,z)}}var m=i.return;try{Aa(i)}catch(z){Ye(i,m,z)}break;case 5:var y=i.return;try{Aa(i)}catch(z){Ye(i,y,z)}}}catch(z){Ye(i,i.return,z)}if(i===t){ue=null;break}var S=i.sibling;if(S!==null){S.return=i.return,ue=S;break}ue=i.return}}var Bp=Math.ceil,_s=B.ReactCurrentDispatcher,Ba=B.ReactCurrentOwner,Jt=B.ReactCurrentBatchConfig,Fe=0,ct=null,nt=null,gt=0,Zt=0,ci=Xn(0),lt=0,ro=null,Lr=0,Es=0,Va=0,io=null,Tt=null,Wa=0,di=1/0,Rn=null,Ms=!1,Ua=null,ir=null,zs=!1,or=null,Ls=0,oo=0,qa=null,js=-1,Is=0;function zt(){return(Fe&6)!==0?Je():js!==-1?js:js=Je()}function sr(t){return(t.mode&1)===0?1:(Fe&2)!==0&&gt!==0?gt&-gt:_p.transition!==null?(Is===0&&(Is=oc()),Is):(t=Ne,t!==0||(t=window.event,t=t===void 0?16:pc(t.type)),t)}function fn(t,i,s,c){if(50<oo)throw oo=0,qa=null,Error(r(185));Li(t,s,c),((Fe&2)===0||t!==ct)&&(t===ct&&((Fe&2)===0&&(Es|=s),lt===4&&lr(t,gt)),Rt(t,c),s===1&&Fe===0&&(i.mode&1)===0&&(di=Je()+500,os&&er()))}function Rt(t,i){var s=t.callbackNode;_3(t,i);var c=Do(t,t===ct?gt:0);if(c===0)s!==null&&nc(s),t.callbackNode=null,t.callbackPriority=0;else if(i=c&-c,t.callbackPriority!==i){if(s!=null&&nc(s),i===1)t.tag===0?Sp(pd.bind(null,t)):Jc(pd.bind(null,t)),kp(function(){(Fe&6)===0&&er()}),s=null;else{switch(sc(c)){case 1:s=_l;break;case 4:s=rc;break;case 16:s=Ro;break;case 536870912:s=ic;break;default:s=Ro}s=xd(s,hd.bind(null,t))}t.callbackPriority=i,t.callbackNode=s}}function hd(t,i){if(js=-1,Is=0,(Fe&6)!==0)throw Error(r(327));var s=t.callbackNode;if(fi()&&t.callbackNode!==s)return null;var c=Do(t,t===ct?gt:0);if(c===0)return null;if((c&30)!==0||(c&t.expiredLanes)!==0||i)i=Fs(t,c);else{i=c;var f=Fe;Fe|=2;var m=gd();(ct!==t||gt!==i)&&(Rn=null,di=Je()+500,Ir(t,i));do try{Up();break}catch(S){md(t,S)}while(!0);ca(),_s.current=m,Fe=f,nt!==null?i=0:(ct=null,gt=0,i=lt)}if(i!==0){if(i===2&&(f=El(t),f!==0&&(c=f,i=Za(t,f))),i===1)throw s=ro,Ir(t,0),lr(t,c),Rt(t,Je()),s;if(i===6)lr(t,c);else{if(f=t.current.alternate,(c&30)===0&&!Vp(f)&&(i=Fs(t,c),i===2&&(m=El(t),m!==0&&(c=m,i=Za(t,m))),i===1))throw s=ro,Ir(t,0),lr(t,c),Rt(t,Je()),s;switch(t.finishedWork=f,t.finishedLanes=c,i){case 0:case 1:throw Error(r(345));case 2:Fr(t,Tt,Rn);break;case 3:if(lr(t,c),(c&130023424)===c&&(i=Wa+500-Je(),10<i)){if(Do(t,0)!==0)break;if(f=t.suspendedLanes,(f&c)!==c){zt(),t.pingedLanes|=t.suspendedLanes&f;break}t.timeoutHandle=Jl(Fr.bind(null,t,Tt,Rn),i);break}Fr(t,Tt,Rn);break;case 4:if(lr(t,c),(c&4194240)===c)break;for(i=t.eventTimes,f=-1;0<c;){var y=31-sn(c);m=1<<y,y=i[y],y>f&&(f=y),c&=~m}if(c=f,c=Je()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*Bp(c/1960))-c,10<c){t.timeoutHandle=Jl(Fr.bind(null,t,Tt,Rn),c);break}Fr(t,Tt,Rn);break;case 5:Fr(t,Tt,Rn);break;default:throw Error(r(329))}}}return Rt(t,Je()),t.callbackNode===s?hd.bind(null,t):null}function Za(t,i){var s=io;return t.current.memoizedState.isDehydrated&&(Ir(t,i).flags|=256),t=Fs(t,i),t!==2&&(i=Tt,Tt=s,i!==null&&Qa(i)),t}function Qa(t){Tt===null?Tt=t:Tt.push.apply(Tt,t)}function Vp(t){for(var i=t;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var c=0;c<s.length;c++){var f=s[c],m=f.getSnapshot;f=f.value;try{if(!ln(m(),f))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function lr(t,i){for(i&=~Va,i&=~Es,t.suspendedLanes|=i,t.pingedLanes&=~i,t=t.expirationTimes;0<i;){var s=31-sn(i),c=1<<s;t[s]=-1,i&=~c}}function pd(t){if((Fe&6)!==0)throw Error(r(327));fi();var i=Do(t,0);if((i&1)===0)return Rt(t,Je()),null;var s=Fs(t,i);if(t.tag!==0&&s===2){var c=El(t);c!==0&&(i=c,s=Za(t,c))}if(s===1)throw s=ro,Ir(t,0),lr(t,i),Rt(t,Je()),s;if(s===6)throw Error(r(345));return t.finishedWork=t.current.alternate,t.finishedLanes=i,Fr(t,Tt,Rn),Rt(t,Je()),null}function Ga(t,i){var s=Fe;Fe|=1;try{return t(i)}finally{Fe=s,Fe===0&&(di=Je()+500,os&&er())}}function jr(t){or!==null&&or.tag===0&&(Fe&6)===0&&fi();var i=Fe;Fe|=1;var s=Jt.transition,c=Ne;try{if(Jt.transition=null,Ne=1,t)return t()}finally{Ne=c,Jt.transition=s,Fe=i,(Fe&6)===0&&er()}}function Ka(){Zt=ci.current,Ue(ci)}function Ir(t,i){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;if(s!==-1&&(t.timeoutHandle=-1,yp(s)),nt!==null)for(s=nt.return;s!==null;){var c=s;switch(oa(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&rs();break;case 3:li(),Ue(Ft),Ue(kt),va();break;case 5:ga(c);break;case 4:li();break;case 13:Ue(Qe);break;case 19:Ue(Qe);break;case 10:da(c.type._context);break;case 22:case 23:Ka()}s=s.return}if(ct=t,nt=t=ar(t.current,null),gt=Zt=i,lt=0,ro=null,Va=Es=Lr=0,Tt=io=null,Er!==null){for(i=0;i<Er.length;i++)if(s=Er[i],c=s.interleaved,c!==null){s.interleaved=null;var f=c.next,m=s.pending;if(m!==null){var y=m.next;m.next=f,c.next=y}s.pending=c}Er=null}return t}function md(t,i){do{var s=nt;try{if(ca(),ms.current=ys,gs){for(var c=Ge.memoizedState;c!==null;){var f=c.queue;f!==null&&(f.pending=null),c=c.next}gs=!1}if(zr=0,ut=st=Ge=null,Yi=!1,Xi=0,Ba.current=null,s===null||s.return===null){lt=1,ro=i,nt=null;break}e:{var m=t,y=s.return,S=s,z=i;if(i=gt,S.flags|=32768,z!==null&&typeof z=="object"&&typeof z.then=="function"){var N=z,q=S,Q=q.tag;if((q.mode&1)===0&&(Q===0||Q===11||Q===15)){var W=q.alternate;W?(q.updateQueue=W.updateQueue,q.memoizedState=W.memoizedState,q.lanes=W.lanes):(q.updateQueue=null,q.memoizedState=null)}var se=D0(y);if(se!==null){se.flags&=-257,H0(se,y,S,m,i),se.mode&1&&A0(m,N,i),i=se,z=N;var ce=i.updateQueue;if(ce===null){var fe=new Set;fe.add(z),i.updateQueue=fe}else ce.add(z);break e}else{if((i&1)===0){A0(m,N,i),Ya();break e}z=Error(r(426))}}else if(qe&&S.mode&1){var et=D0(y);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),H0(et,y,S,m,i),aa(ai(z,S));break e}}m=z=ai(z,S),lt!==4&&(lt=2),io===null?io=[m]:io.push(m),m=y;do{switch(m.tag){case 3:m.flags|=65536,i&=-i,m.lanes|=i;var T=N0(m,z,i);c0(m,T);break e;case 1:S=z;var L=m.type,R=m.stateNode;if((m.flags&128)===0&&(typeof L.getDerivedStateFromError=="function"||R!==null&&typeof R.componentDidCatch=="function"&&(ir===null||!ir.has(R)))){m.flags|=65536,i&=-i,m.lanes|=i;var Y=$0(m,S,i);c0(m,Y);break e}}m=m.return}while(m!==null)}vd(s)}catch(he){i=he,nt===s&&s!==null&&(nt=s=s.return);continue}break}while(!0)}function gd(){var t=_s.current;return _s.current=ys,t===null?ys:t}function Ya(){(lt===0||lt===3||lt===2)&&(lt=4),ct===null||(Lr&268435455)===0&&(Es&268435455)===0||lr(ct,gt)}function Fs(t,i){var s=Fe;Fe|=2;var c=gd();(ct!==t||gt!==i)&&(Rn=null,Ir(t,i));do try{Wp();break}catch(f){md(t,f)}while(!0);if(ca(),Fe=s,_s.current=c,nt!==null)throw Error(r(261));return ct=null,gt=0,lt}function Wp(){for(;nt!==null;)wd(nt)}function Up(){for(;nt!==null&&!g3();)wd(nt)}function wd(t){var i=bd(t.alternate,t,Zt);t.memoizedProps=t.pendingProps,i===null?vd(t):nt=i,Ba.current=null}function vd(t){var i=t;do{var s=i.alternate;if(t=i.return,(i.flags&32768)===0){if(s=Np(s,i,Zt),s!==null){nt=s;return}}else{if(s=$p(s,i),s!==null){s.flags&=32767,nt=s;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{lt=6,nt=null;return}}if(i=i.sibling,i!==null){nt=i;return}nt=i=t}while(i!==null);lt===0&&(lt=5)}function Fr(t,i,s){var c=Ne,f=Jt.transition;try{Jt.transition=null,Ne=1,qp(t,i,s,c)}finally{Jt.transition=f,Ne=c}return null}function qp(t,i,s,c){do fi();while(or!==null);if((Fe&6)!==0)throw Error(r(327));s=t.finishedWork;var f=t.finishedLanes;if(s===null)return null;if(t.finishedWork=null,t.finishedLanes=0,s===t.current)throw Error(r(177));t.callbackNode=null,t.callbackPriority=0;var m=s.lanes|s.childLanes;if(E3(t,m),t===ct&&(nt=ct=null,gt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||zs||(zs=!0,xd(Ro,function(){return fi(),null})),m=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||m){m=Jt.transition,Jt.transition=null;var y=Ne;Ne=1;var S=Fe;Fe|=4,Ba.current=null,Dp(t,s),ad(s,t),fp(Yl),Vo=!!Kl,Yl=Kl=null,t.current=s,Hp(s),w3(),Fe=S,Ne=y,Jt.transition=m}else t.current=s;if(zs&&(zs=!1,or=t,Ls=f),m=t.pendingLanes,m===0&&(ir=null),k3(s.stateNode),Rt(t,Je()),i!==null)for(c=t.onRecoverableError,s=0;s<i.length;s++)f=i[s],c(f.value,{componentStack:f.stack,digest:f.digest});if(Ms)throw Ms=!1,t=Ua,Ua=null,t;return(Ls&1)!==0&&t.tag!==0&&fi(),m=t.pendingLanes,(m&1)!==0?t===qa?oo++:(oo=0,qa=t):oo=0,er(),null}function fi(){if(or!==null){var t=sc(Ls),i=Jt.transition,s=Ne;try{if(Jt.transition=null,Ne=16>t?16:t,or===null)var c=!1;else{if(t=or,or=null,Ls=0,(Fe&6)!==0)throw Error(r(331));var f=Fe;for(Fe|=4,ue=t.current;ue!==null;){var m=ue,y=m.child;if((ue.flags&16)!==0){var S=m.deletions;if(S!==null){for(var z=0;z<S.length;z++){var N=S[z];for(ue=N;ue!==null;){var q=ue;switch(q.tag){case 0:case 11:case 15:no(8,q,m)}var Q=q.child;if(Q!==null)Q.return=q,ue=Q;else for(;ue!==null;){q=ue;var W=q.sibling,se=q.return;if(rd(q),q===N){ue=null;break}if(W!==null){W.return=se,ue=W;break}ue=se}}}var ce=m.alternate;if(ce!==null){var fe=ce.child;if(fe!==null){ce.child=null;do{var et=fe.sibling;fe.sibling=null,fe=et}while(fe!==null)}}ue=m}}if((m.subtreeFlags&2064)!==0&&y!==null)y.return=m,ue=y;else e:for(;ue!==null;){if(m=ue,(m.flags&2048)!==0)switch(m.tag){case 0:case 11:case 15:no(9,m,m.return)}var T=m.sibling;if(T!==null){T.return=m.return,ue=T;break e}ue=m.return}}var L=t.current;for(ue=L;ue!==null;){y=ue;var R=y.child;if((y.subtreeFlags&2064)!==0&&R!==null)R.return=y,ue=R;else e:for(y=L;ue!==null;){if(S=ue,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:Ss(9,S)}}catch(he){Ye(S,S.return,he)}if(S===y){ue=null;break e}var Y=S.sibling;if(Y!==null){Y.return=S.return,ue=Y;break e}ue=S.return}}if(Fe=f,er(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(No,t)}catch{}c=!0}return c}finally{Ne=s,Jt.transition=i}}return!1}function yd(t,i,s){i=ai(s,i),i=N0(t,i,1),t=nr(t,i,1),i=zt(),t!==null&&(Li(t,1,i),Rt(t,i))}function Ye(t,i,s){if(t.tag===3)yd(t,t,s);else for(;i!==null;){if(i.tag===3){yd(i,t,s);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(ir===null||!ir.has(c))){t=ai(s,t),t=$0(i,t,1),i=nr(i,t,1),t=zt(),i!==null&&(Li(i,1,t),Rt(i,t));break}}i=i.return}}function Zp(t,i,s){var c=t.pingCache;c!==null&&c.delete(i),i=zt(),t.pingedLanes|=t.suspendedLanes&s,ct===t&&(gt&s)===s&&(lt===4||lt===3&&(gt&130023424)===gt&&500>Je()-Wa?Ir(t,0):Va|=s),Rt(t,i)}function kd(t,i){i===0&&((t.mode&1)===0?i=1:(i=Ao,Ao<<=1,(Ao&130023424)===0&&(Ao=4194304)));var s=zt();t=On(t,i),t!==null&&(Li(t,i,s),Rt(t,s))}function Qp(t){var i=t.memoizedState,s=0;i!==null&&(s=i.retryLane),kd(t,s)}function Gp(t,i){var s=0;switch(t.tag){case 13:var c=t.stateNode,f=t.memoizedState;f!==null&&(s=f.retryLane);break;case 19:c=t.stateNode;break;default:throw Error(r(314))}c!==null&&c.delete(i),kd(t,s)}var bd;bd=function(t,i,s){if(t!==null)if(t.memoizedProps!==i.pendingProps||Ft.current)Pt=!0;else{if((t.lanes&s)===0&&(i.flags&128)===0)return Pt=!1,Rp(t,i,s);Pt=(t.flags&131072)!==0}else Pt=!1,qe&&(i.flags&1048576)!==0&&e0(i,ls,i.index);switch(i.lanes=0,i.tag){case 2:var c=i.type;xs(t,i),t=i.pendingProps;var f=ei(i,kt.current);si(i,s),f=ba(null,i,c,t,f,s);var m=xa();return i.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Ot(c)?(m=!0,is(i)):m=!1,i.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,pa(i),f.updater=ks,i.stateNode=f,f._reactInternals=i,za(i,c,t,s),i=Fa(null,i,c,!0,m,s)):(i.tag=0,qe&&m&&ia(i),Mt(null,i,f,s),i=i.child),i;case 16:c=i.elementType;e:{switch(xs(t,i),t=i.pendingProps,f=c._init,c=f(c._payload),i.type=c,f=i.tag=Yp(c),t=un(c,t),f){case 0:i=Ia(null,i,c,t,s);break e;case 1:i=Z0(null,i,c,t,s);break e;case 11:i=B0(null,i,c,t,s);break e;case 14:i=V0(null,i,c,un(c.type,t),s);break e}throw Error(r(306,c,""))}return i;case 0:return c=i.type,f=i.pendingProps,f=i.elementType===c?f:un(c,f),Ia(t,i,c,f,s);case 1:return c=i.type,f=i.pendingProps,f=i.elementType===c?f:un(c,f),Z0(t,i,c,f,s);case 3:e:{if(Q0(i),t===null)throw Error(r(387));c=i.pendingProps,m=i.memoizedState,f=m.element,u0(t,i),hs(i,c,null,s);var y=i.memoizedState;if(c=y.element,m.isDehydrated)if(m={element:c,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},i.updateQueue.baseState=m,i.memoizedState=m,i.flags&256){f=ai(Error(r(423)),i),i=G0(t,i,c,s,f);break e}else if(c!==f){f=ai(Error(r(424)),i),i=G0(t,i,c,s,f);break e}else for(qt=Yn(i.stateNode.containerInfo.firstChild),Ut=i,qe=!0,an=null,s=l0(i,null,c,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(ri(),c===f){i=Tn(t,i,s);break e}Mt(t,i,c,s)}i=i.child}return i;case 5:return f0(i),t===null&&la(i),c=i.type,f=i.pendingProps,m=t!==null?t.memoizedProps:null,y=f.children,Xl(c,f)?y=null:m!==null&&Xl(c,m)&&(i.flags|=32),q0(t,i),Mt(t,i,y,s),i.child;case 6:return t===null&&la(i),null;case 13:return K0(t,i,s);case 4:return ma(i,i.stateNode.containerInfo),c=i.pendingProps,t===null?i.child=ii(i,null,c,s):Mt(t,i,c,s),i.child;case 11:return c=i.type,f=i.pendingProps,f=i.elementType===c?f:un(c,f),B0(t,i,c,f,s);case 7:return Mt(t,i,i.pendingProps,s),i.child;case 8:return Mt(t,i,i.pendingProps.children,s),i.child;case 12:return Mt(t,i,i.pendingProps.children,s),i.child;case 10:e:{if(c=i.type._context,f=i.pendingProps,m=i.memoizedProps,y=f.value,Ve(cs,c._currentValue),c._currentValue=y,m!==null)if(ln(m.value,y)){if(m.children===f.children&&!Ft.current){i=Tn(t,i,s);break e}}else for(m=i.child,m!==null&&(m.return=i);m!==null;){var S=m.dependencies;if(S!==null){y=m.child;for(var z=S.firstContext;z!==null;){if(z.context===c){if(m.tag===1){z=Pn(-1,s&-s),z.tag=2;var N=m.updateQueue;if(N!==null){N=N.shared;var q=N.pending;q===null?z.next=z:(z.next=q.next,q.next=z),N.pending=z}}m.lanes|=s,z=m.alternate,z!==null&&(z.lanes|=s),fa(m.return,s,i),S.lanes|=s;break}z=z.next}}else if(m.tag===10)y=m.type===i.type?null:m.child;else if(m.tag===18){if(y=m.return,y===null)throw Error(r(341));y.lanes|=s,S=y.alternate,S!==null&&(S.lanes|=s),fa(y,s,i),y=m.sibling}else y=m.child;if(y!==null)y.return=m;else for(y=m;y!==null;){if(y===i){y=null;break}if(m=y.sibling,m!==null){m.return=y.return,y=m;break}y=y.return}m=y}Mt(t,i,f.children,s),i=i.child}return i;case 9:return f=i.type,c=i.pendingProps.children,si(i,s),f=Yt(f),c=c(f),i.flags|=1,Mt(t,i,c,s),i.child;case 14:return c=i.type,f=un(c,i.pendingProps),f=un(c.type,f),V0(t,i,c,f,s);case 15:return W0(t,i,i.type,i.pendingProps,s);case 17:return c=i.type,f=i.pendingProps,f=i.elementType===c?f:un(c,f),xs(t,i),i.tag=1,Ot(c)?(t=!0,is(i)):t=!1,si(i,s),T0(i,c,f),za(i,c,f,s),Fa(null,i,c,!0,t,s);case 19:return X0(t,i,s);case 22:return U0(t,i,s)}throw Error(r(156,i.tag))};function xd(t,i){return tc(t,i)}function Kp(t,i,s,c){this.tag=t,this.key=s,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=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function en(t,i,s,c){return new Kp(t,i,s,c)}function Xa(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Yp(t){if(typeof t=="function")return Xa(t)?1:0;if(t!=null){if(t=t.$$typeof,t===X)return 11;if(t===oe)return 14}return 2}function ar(t,i){var s=t.alternate;return s===null?(s=en(t.tag,i,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=i,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&14680064,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,i=t.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s}function Os(t,i,s,c,f,m){var y=2;if(c=t,typeof t=="function")Xa(t)&&(y=1);else if(typeof t=="string")y=5;else e:switch(t){case H:return Or(s.children,f,m,i);case G:y=8,f|=8;break;case le:return t=en(12,s,i,f|2),t.elementType=le,t.lanes=m,t;case ie:return t=en(13,s,i,f),t.elementType=ie,t.lanes=m,t;case me:return t=en(19,s,i,f),t.elementType=me,t.lanes=m,t;case de:return Ps(s,f,m,i);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case P:y=10;break e;case K:y=9;break e;case X:y=11;break e;case oe:y=14;break e;case ge:y=16,c=null;break e}throw Error(r(130,t==null?t:typeof t,""))}return i=en(y,s,i,f),i.elementType=t,i.type=c,i.lanes=m,i}function Or(t,i,s,c){return t=en(7,t,c,i),t.lanes=s,t}function Ps(t,i,s,c){return t=en(22,t,c,i),t.elementType=de,t.lanes=s,t.stateNode={isHidden:!1},t}function Ja(t,i,s){return t=en(6,t,null,i),t.lanes=s,t}function eu(t,i,s){return i=en(4,t.children!==null?t.children:[],t.key,i),i.lanes=s,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}function Xp(t,i,s,c,f){this.tag=i,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ml(0),this.expirationTimes=Ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ml(0),this.identifierPrefix=c,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function tu(t,i,s,c,f,m,y,S,z){return t=new Xp(t,i,s,S,z),i===1?(i=1,m===!0&&(i|=8)):i=0,m=en(3,null,null,i),t.current=m,m.stateNode=t,m.memoizedState={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},pa(m),t}function Jp(t,i,s){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:c==null?null:""+c,children:t,containerInfo:i,implementation:s}}function Cd(t){if(!t)return Jn;t=t._reactInternals;e:{if(br(t)!==t||t.tag!==1)throw Error(r(170));var i=t;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Ot(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(r(171))}if(t.tag===1){var s=t.type;if(Ot(s))return Yc(t,s,i)}return i}function Sd(t,i,s,c,f,m,y,S,z){return t=tu(s,c,!0,t,f,m,y,S,z),t.context=Cd(null),s=t.current,c=zt(),f=sr(s),m=Pn(c,f),m.callback=i??null,nr(s,m,f),t.current.lanes=f,Li(t,f,c),Rt(t,c),t}function Ts(t,i,s,c){var f=i.current,m=zt(),y=sr(f);return s=Cd(s),i.context===null?i.context=s:i.pendingContext=s,i=Pn(m,y),i.payload={element:t},c=c===void 0?null:c,c!==null&&(i.callback=c),t=nr(f,i,y),t!==null&&(fn(t,f,y,m),fs(t,f,y)),y}function Rs(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function _d(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<i?s:i}}function nu(t,i){_d(t,i),(t=t.alternate)&&_d(t,i)}function e4(){return null}var Ed=typeof reportError=="function"?reportError:function(t){console.error(t)};function ru(t){this._internalRoot=t}Ns.prototype.render=ru.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(r(409));Ts(t,i,null,null)},Ns.prototype.unmount=ru.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;jr(function(){Ts(null,t,null,null)}),i[Ln]=null}};function Ns(t){this._internalRoot=t}Ns.prototype.unstable_scheduleHydration=function(t){if(t){var i=uc();t={blockedOn:null,target:t,priority:i};for(var s=0;s<Qn.length&&i!==0&&i<Qn[s].priority;s++);Qn.splice(s,0,t),s===0&&fc(t)}};function iu(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function $s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function Md(){}function t4(t,i,s,c,f){if(f){if(typeof c=="function"){var m=c;c=function(){var N=Rs(y);m.call(N)}}var y=Sd(i,c,t,0,null,!1,!1,"",Md);return t._reactRootContainer=y,t[Ln]=y.current,Vi(t.nodeType===8?t.parentNode:t),jr(),y}for(;f=t.lastChild;)t.removeChild(f);if(typeof c=="function"){var S=c;c=function(){var N=Rs(z);S.call(N)}}var z=tu(t,0,!1,null,null,!1,!1,"",Md);return t._reactRootContainer=z,t[Ln]=z.current,Vi(t.nodeType===8?t.parentNode:t),jr(function(){Ts(i,z,s,c)}),z}function As(t,i,s,c,f){var m=s._reactRootContainer;if(m){var y=m;if(typeof f=="function"){var S=f;f=function(){var z=Rs(y);S.call(z)}}Ts(i,y,t,f)}else y=t4(s,i,t,f,c);return Rs(y)}lc=function(t){switch(t.tag){case 3:var i=t.stateNode;if(i.current.memoizedState.isDehydrated){var s=zi(i.pendingLanes);s!==0&&(zl(i,s|1),Rt(i,Je()),(Fe&6)===0&&(di=Je()+500,er()))}break;case 13:jr(function(){var c=On(t,1);if(c!==null){var f=zt();fn(c,t,1,f)}}),nu(t,1)}},Ll=function(t){if(t.tag===13){var i=On(t,134217728);if(i!==null){var s=zt();fn(i,t,134217728,s)}nu(t,134217728)}},ac=function(t){if(t.tag===13){var i=sr(t),s=On(t,i);if(s!==null){var c=zt();fn(s,t,i,c)}nu(t,i)}},uc=function(){return Ne},cc=function(t,i){var s=Ne;try{return Ne=t,i()}finally{Ne=s}},pt=function(t,i,s){switch(i){case"input":if(ot(t,s),i=s.name,s.type==="radio"&&i!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var c=s[i];if(c!==t&&c.form===t.form){var f=ns(c);if(!f)throw Error(r(90));$e(c),ot(c,f)}}}break;case"textarea":Vn(t,s);break;case"select":i=s.value,i!=null&&vt(t,!!s.multiple,i,!1)}},Q1=Ga,G1=jr;var n4={usingClientEntryPoint:!1,Events:[qi,Xr,ns,q1,Z1,Ga]},so={findFiberByHostInstance:xr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},r4={bundleType:so.bundleType,version:so.version,rendererPackageName:so.rendererPackageName,rendererConfig:so.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:B.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=J1(t),t===null?null:t.stateNode},findFiberByHostInstance:so.findFiberByHostInstance||e4,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 Ds=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ds.isDisabled&&Ds.supportsFiber)try{No=Ds.inject(r4),vn=Ds}catch{}}return Nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=n4,Nt.createPortal=function(t,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!iu(i))throw Error(r(200));return Jp(t,i,null,s)},Nt.createRoot=function(t,i){if(!iu(t))throw Error(r(299));var s=!1,c="",f=Ed;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onRecoverableError!==void 0&&(f=i.onRecoverableError)),i=tu(t,1,!1,null,null,s,!1,c,f),t[Ln]=i.current,Vi(t.nodeType===8?t.parentNode:t),new ru(i)},Nt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=J1(i),t=t===null?null:t.stateNode,t},Nt.flushSync=function(t){return jr(t)},Nt.hydrate=function(t,i,s){if(!$s(i))throw Error(r(200));return As(null,t,i,!0,s)},Nt.hydrateRoot=function(t,i,s){if(!iu(t))throw Error(r(405));var c=s!=null&&s.hydratedSources||null,f=!1,m="",y=Ed;if(s!=null&&(s.unstable_strictMode===!0&&(f=!0),s.identifierPrefix!==void 0&&(m=s.identifierPrefix),s.onRecoverableError!==void 0&&(y=s.onRecoverableError)),i=Sd(i,null,t,1,s??null,f,!1,m,y),t[Ln]=i.current,Vi(t),c)for(t=0;t<c.length;t++)s=c[t],f=s._getVersion,f=f(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,f]:i.mutableSourceEagerHydrationData.push(s,f);return new Ns(i)},Nt.render=function(t,i,s){if(!$s(i))throw Error(r(200));return As(null,t,i,!1,s)},Nt.unmountComponentAtNode=function(t){if(!$s(t))throw Error(r(40));return t._reactRootContainer?(jr(function(){As(null,null,t,!1,function(){t._reactRootContainer=null,t[Ln]=null})}),!0):!1},Nt.unstable_batchedUpdates=Ga,Nt.unstable_renderSubtreeIntoContainer=function(t,i,s,c){if(!$s(s))throw Error(r(200));if(t==null||t._reactInternals===void 0)throw Error(r(38));return As(t,i,s,!1,c)},Nt.version="18.3.1-next-f1338f8080-20240426",Nt}var Dd;function j2(){if(Dd)return uu.exports;Dd=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(n){console.error(n)}}return e(),uu.exports=z4(),uu.exports}var Lo=j2(),Bs={},Hd;function L4(){if(Hd)return Bs;Hd=1;var e=j2();return Bs.createRoot=e.createRoot,Bs.hydrateRoot=e.hydrateRoot,Bs}var Bd=L4(),fu={exports:{}},lo={};/**
44
+ * @license React
45
+ * react-jsx-runtime.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 Vd;function j4(){if(Vd)return lo;Vd=1;var e=zo(),n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,h){var g,w={},k=null,v=null;h!==void 0&&(k=""+h),p.key!==void 0&&(k=""+p.key),p.ref!==void 0&&(v=p.ref);for(g in p)o.call(p,g)&&!a.hasOwnProperty(g)&&(w[g]=p[g]);if(d&&d.defaultProps)for(g in p=d.defaultProps,p)w[g]===void 0&&(w[g]=p[g]);return{$$typeof:n,type:d,key:k,ref:v,props:w,_owner:l.current}}return lo.Fragment=r,lo.jsx=u,lo.jsxs=u,lo}var Wd;function I4(){return Wd||(Wd=1,fu.exports=j4()),fu.exports}var b=I4();function gr(e){return`use${e[0]?.toUpperCase()??""}${e.slice(1)}`}class Dr extends Error{}class rn extends Error{}const Vs=Object.freeze([]);function F4(e){return JSON.stringify([e.options.key,e.options.id])}class O4{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 n=this.record("root");n.spec={kind:"single",scope:"root"},n.declaredBy="(built-in)",n.declarationEpoch=1}registerFactory=((n,r)=>{const o=n,l=this.factoryRecord(o.name);if(l.definition!==void 0)throw new Error(`slot factory "${o.name}" already has a definition`);for(const d of Object.keys(o.children??{})){const p=this.records.get(d);if(p?.spec!==void 0)throw new Error(`slot "${d}" is already declared (by ${p.declaredBy??"an unknown entry"})`)}if(o.store!==void 0&&typeof o.store!="function"){const d=this.handleScopes.get(o.store);if(d!==void 0&&d.scope!==o.scope)throw new Error(`store handle mounted under factory "${o.name}" (scope "${o.scope}") is already mounted under scope "${d.scope}" — one handle, one scope`);d!==void 0?d.count+=1:this.handleScopes.set(o.store,{scope:o.scope,count:1})}const a={name:o.name,component:r,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}};l.definition=a,this.markFactoryDirty(l);const u=[];for(const[d,p]of Object.entries(o.children??{})){const h=this.record(d);h.spec=p,h.declaredBy=`factory "${o.name}"${o.registrant?` (${o.registrant})`:""}`,h.parent=`factory:${o.name}`,h.declarationEpoch+=1,u.push([d,h])}for(const[d,p]of u)this.markDirty(d,p);for(const[,d]of u)this.notifyDeclaration(d);return()=>{if(l.definition===a){if(l.definition=void 0,this.markFactoryDirty(l),a.store!==void 0&&typeof a.store!="function"){const d=this.handleScopes.get(a.store);d!==void 0&&--d.count===0&&this.handleScopes.delete(a.store)}this.releaseChildren(a.children)}}});factory(n){return this.factories.get(n)?.definition}factoryVersion(n){return this.factories.get(n)?.version??0}subscribeFactory(n,r){const o=this.factoryRecord(n);return o.listeners.add(r),()=>{o.listeners.delete(r)}}isFactoryLive(n){return this.factories.get(n.name)?.definition===n}register(n,r){const o=this.records.get(n.name);if(!o?.spec)throw new Error(`slot "${n.name}" is not declared (a parent entry's children table must declare it)`);const l=o.spec,a=n.priority??0,u=h=>`at priority ${a}${h.registrant!==void 0?` (registered by ${h.registrant})`:""} — register at a different priority to shadow it (lowest renders)`;switch(l.kind){case"single":{const h=o.entries.find(g=>(g.options.priority??0)===a);if(h)throw new Error(`single slot "${n.name}" already has a registration ${u(h)}`);break}case"keyed":{if(n.key===void 0)throw new Error(`keyed slot "${n.name}" requires options.key`);const h=o.entries.find(g=>g.options.key===n.key&&(g.options.priority??0)===a);if(h)throw new Error(`keyed slot "${n.name}" already has an entry for key "${n.key}" ${u(h)}`);break}case"list":{if(n.id===void 0)throw new Error(`list slot "${n.name}" requires options.id`);const h=o.entries.find(g=>g.options.id===n.id&&(g.options.priority??0)===a);if(h)throw new Error(`list slot "${n.name}" already has an entry with id "${n.id}" ${u(h)}`);break}case"hoc":{if(n.id===void 0)throw new Error(`hoc slot "${n.name}" requires options.id`);const h=o.entries.find(g=>g.options.id===n.id&&g.options.key===n.key&&(g.options.priority??0)===a);if(h){const g=n.key===void 0?`id "${n.id}"`:`id "${n.id}" for key "${n.key}"`;throw new Error(`hoc slot "${n.name}" already has an entry with ${g} ${u(h)}`)}break}case"chain":if(n.select===void 0)throw new Error(`chain slot "${n.name}" requires options.select`);break}if(n.children)for(const h of Object.keys(n.children)){const g=this.records.get(h);if(g?.spec)throw new Error(`slot "${h}" is already declared (by ${g.declaredBy??"an unknown entry"})`)}if(n.store!==void 0&&typeof n.store!="function"){const h=this.handleScopes.get(n.store);if(h&&h.scope!==l.scope)throw new Error(`store handle mounted under "${n.name}" (scope "${l.scope}") is already mounted under scope "${h.scope}" — one handle, one scope`);h?h.count+=1:this.handleScopes.set(n.store,{scope:l.scope,count:1})}const d={component:r,options:{...n.key!==void 0?{key:n.key}:{},...n.id!==void 0?{id:n.id}:{},...n.order!==void 0?{order:n.order}:{},...n.label!==void 0?{label:n.label}:{},...n.priority!==void 0?{priority:n.priority}:{}},...n.select!==void 0?{select:n.select}:{},...n.inject!==void 0?{inject:n.inject}:{},...n.children!==void 0?{children:n.children}:{},...n.store!==void 0?{store:n.store}:{},...n.locale!==void 0?{locale:n.locale}:{},...n.registrant!==void 0?{registrant:n.registrant}:{}},p=[...o.entries,d];if(p.sort(l.kind==="list"||l.kind==="hoc"?(h,g)=>(h.options.priority??0)-(g.options.priority??0)||(h.options.order??0)-(g.options.order??0):(h,g)=>(h.options.priority??0)-(g.options.priority??0)),o.entries=p,this.markDirty(n.name,o),n.children){const h=[];for(const[g,w]of Object.entries(n.children)){const k=this.record(g);k.spec=w,k.declaredBy=`an entry in "${n.name}"${n.registrant?` (${n.registrant})`:""}`,k.parent=n.name,k.declarationEpoch+=1,h.push([g,k])}for(const[g,w]of h)this.markDirty(g,w);for(const[,g]of h)this.notifyDeclaration(g)}return()=>{o.entries.includes(d)&&(o.entries=o.entries.filter(h=>h!==d),this.markDirty(n.name,o),this.releaseEntry(d))}}isLive(n){for(const r of this.records.values())if(r.entries.includes(n))return!0;return!1}entries(n){return this.records.get(n)?.entries??Vs}entriesOfSlot(n){const r=this.records.get(n);if(!r?.spec)return Vs;const o=r.spec.kind;if(o==="chain")return r.entries;const l=[],a=new Set;for(const u of r.entries){if(this.abdicated.has(u))continue;const d=o==="keyed"?u.options.key:o==="list"?u.options.id:o==="hoc"?F4(u):void 0;a.has(d)||(a.add(d),l.push(u))}return l}spec(n){return this.records.get(n)?.spec}specDynamic(n){return this.records.get(n)?.spec}snapshot(n){const r=(u,d)=>{const p=this.records.get(u);if(p?.spec===void 0||d.has(u))return;const h=new Set(d);h.add(u);const g=new Set(this.entriesOfSlot(u)),w=[...this.records.entries()].filter(([,k])=>k.spec!==void 0&&k.parent===u).flatMap(([k])=>{const v=r(k,h);return v===void 0?[]:[v]});return{type:"slot",name:u,kind:p.spec.kind,scope:p.spec.scope,...p.declaredBy===void 0?{}:{declaredBy:p.declaredBy},occupants:p.entries.map(k=>({...k.registrant===void 0?{}:{registrant:k.registrant},...k.options.key===void 0?{}:{key:k.options.key},...k.options.id===void 0?{}:{id:k.options.id},...k.options.order===void 0?{}:{order:k.options.order},priority:k.options.priority??0,active:g.has(k)})),children:w}},o=u=>{const d=this.factories.get(u)?.definition;if(d===void 0)return;const p=`factory:${u}`,h=[...this.records.entries()].filter(([,g])=>g.spec!==void 0&&g.parent===p).flatMap(([g])=>{const w=r(g,new Set([p]));return w===void 0?[]:[w]});return{type:"factory",name:u,scope:d.scope,...d.registrant===void 0?{}:{registrant:d.registrant},children:h}};if(n!==void 0){const u=n.startsWith("factory:")?o(n.slice(8)):r(n,new Set);return u===void 0?[]:[u]}const l=[...this.records.entries()].filter(([,u])=>u.spec!==void 0&&u.parent===void 0).flatMap(([u])=>{const d=r(u,new Set);return d===void 0?[]:[d]}),a=[...this.factories.keys()].flatMap(u=>{const d=o(u);return d===void 0?[]:[d]});return[...l,...a]}declarationEpoch(n){return this.records.get(n)?.declarationEpoch??0}subscribe(n,r){const o=this.record(n);return o.listeners.add(r),()=>{o.listeners.delete(r)}}subscribeDeclaration(n,r){const o=this.record(n);return o.declarationListeners.add(r),()=>{o.declarationListeners.delete(r)}}getVersion(n){return this.records.get(n)?.version??0}onMutate(n){return this.mutateListeners.add(n),()=>{this.mutateListeners.delete(n)}}reportEntryError(n,r,o,l){if(l.abdicate){if(this.abdicated.has(r))return;this.abdicated.add(r);const a=this.records.get(n);a!==void 0&&this.markDirty(n,a)}for(const a of[...this.entryErrorListeners])a(n,r,o,{abdicated:l.abdicate})}reportFactoryError(n,r,o){for(const l of[...this.entryErrorListeners])l(`factory:${n}`,r,o,{abdicated:!1})}onEntryError(n){return this.entryErrorListeners.add(n),()=>{this.entryErrorListeners.delete(n)}}releaseEntry(n){if(n.store!==void 0&&typeof n.store!="function"){const r=this.handleScopes.get(n.store);r&&--r.count===0&&this.handleScopes.delete(n.store)}this.releaseChildren(n.children)}releaseChildren(n){if(n!==void 0)for(const r of Object.keys(n)){const o=this.records.get(r);if(!o)continue;const l=o.entries;o.spec=void 0,o.declaredBy=void 0,o.parent=void 0,o.declarationEpoch+=1,o.entries=Vs,this.markDirty(r,o),this.notifyDeclaration(o);for(const a of l)this.releaseEntry(a)}}record(n){let r=this.records.get(n);return r||(r={spec:void 0,declaredBy:void 0,parent:void 0,declarationEpoch:0,entries:Vs,version:0,listeners:new Set,declarationListeners:new Set},this.records.set(n,r)),r}factoryRecord(n){let r=this.factories.get(n);return r===void 0&&(r={definition:void 0,version:0,listeners:new Set},this.factories.set(n,r)),r}markFactoryDirty(n){n.version+=1,queueMicrotask(()=>{for(const r of[...n.listeners])r()})}markDirty(n,r){r.version+=1;for(const o of[...this.mutateListeners])o(n);this.dirty.add(r),this.flushScheduled||(this.flushScheduled=!0,queueMicrotask(()=>{this.flush()}))}notifyDeclaration(n){for(const r of[...n.declarationListeners])r()}flush(){this.flushScheduled=!1;const n=[...this.dirty];this.dirty.clear();for(const r of n)for(const o of[...r.listeners])o()}}var hu={exports:{}},pu={},mu={exports:{}},gu={};/**
52
+ * @license React
53
+ * use-sync-external-store-shim.production.js
54
+ *
55
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
56
+ *
57
+ * This source code is licensed under the MIT license found in the
58
+ * LICENSE file in the root directory of this source tree.
59
+ */var Ud;function P4(){if(Ud)return gu;Ud=1;var e=zo();function n(w,k){return w===k&&(w!==0||1/w===1/k)||w!==w&&k!==k}var r=typeof Object.is=="function"?Object.is:n,o=e.useState,l=e.useEffect,a=e.useLayoutEffect,u=e.useDebugValue;function d(w,k){var v=k(),_=o({inst:{value:v,getSnapshot:k}}),E=_[0].inst,O=_[1];return a(function(){E.value=v,E.getSnapshot=k,p(E)&&O({inst:E})},[w,v,k]),l(function(){return p(E)&&O({inst:E}),w(function(){p(E)&&O({inst:E})})},[w]),u(v),v}function p(w){var k=w.getSnapshot;w=w.value;try{var v=k();return!r(w,v)}catch{return!0}}function h(w,k){return k()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return gu.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,gu}var qd;function T4(){return qd||(qd=1,mu.exports=P4()),mu.exports}/**
60
+ * @license React
61
+ * use-sync-external-store-shim/with-selector.production.js
62
+ *
63
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var Zd;function R4(){if(Zd)return pu;Zd=1;var e=zo(),n=T4();function r(h,g){return h===g&&(h!==0||1/h===1/g)||h!==h&&g!==g}var o=typeof Object.is=="function"?Object.is:r,l=n.useSyncExternalStore,a=e.useRef,u=e.useEffect,d=e.useMemo,p=e.useDebugValue;return pu.useSyncExternalStoreWithSelector=function(h,g,w,k,v){var _=a(null);if(_.current===null){var E={hasValue:!1,value:null};_.current=E}else E=_.current;_=d(function(){function F(j){if(!Z){if(Z=!0,D=j,j=k(j),v!==void 0&&E.hasValue){var H=E.value;if(v(H,j))return B=H}return B=j}if(H=B,o(D,j))return H;var G=k(j);return v!==void 0&&v(H,G)?(D=j,H):(D=j,B=G)}var Z=!1,D,B,ee=w===void 0?null:w;return[function(){return F(g())},ee===null?void 0:function(){return F(ee())}]},[g,w,k,v]);var O=l(h,_[0],_[1]);return u(function(){E.hasValue=!0,E.value=O},[O]),p(O),O},pu}var Qd;function N4(){return Qd||(Qd=1,hu.exports=R4()),hu.exports}var $4=N4();function A4(e){const n=o=>e.subscribe(o),r=()=>e.getSnapshot();return function(l,a){return $4.useSyncExternalStoreWithSelector(n,r,void 0,l,a)}}class Ke extends Error{}const I2=I.createContext(null);function _n(){const e=I.useContext(I2);if(e===null)throw new Ke("slot machinery rendered outside the installed renderer tree");return e}const F2=I.createContext(null),v1=I.createContext(null);function dl(){const e=I.useContext(F2);if(e===null)throw new Ke("slot rendered outside the root standard-source provider");return e}function Ci(){const e=I.useContext(v1);if(e===null)throw new Ke("scoped slot rendered outside its scope provider");return e}function D4({binding:e,children:n}){return b.jsx(v1.Provider,{value:e,children:n})}function on(e){let n=Gd.get(e);return n===void 0&&(n=A4(e),Gd.set(e,n)),n}const Gd=new WeakMap,y1={getSnapshot:()=>{},subscribe:()=>()=>{}};function H4(e){return e!==void 0?on(e):B4}function B4(e,n){on(y1)(()=>{})}function O2(e,n,r,o){return typeof n!="string"?{key:e,member:void 0,selector:n,equal:r}:typeof r=="string"?{key:n,member:r,selector:void 0,equal:void 0}:{key:n,member:void 0,selector:r,equal:o}}function P2(e,n){if(e===void 0)return W4;let r=Kd.get(e);r===void 0&&(r=new Map,Kd.set(e,r));const o=n??V4;let l=r.get(o);return l===void 0&&(l=(a,u,d)=>{const p=O2(n,a,u,d),h=p.key===void 0?void 0:p.member===void 0?e(p.key):e(p.key,p.member);return on(h??y1)(p.selector??T2,p.equal)},r.set(o,l)),l}const V4=Symbol("no default key"),Kd=new WeakMap,T2=e=>e,W4=(e,n,r)=>{const o=O2(void 0,e,n,r);return on(y1)(o.selector??T2,o.equal)};function U4({children:e}){const n=_n(),r=on(n.root)(o=>o);return b.jsx(F2.Provider,{value:r,children:e})}function q4({scope:e,children:n}){const r=_n();on(r.scopeRevision)(a=>a);const o=r.scope(e);if(o===void 0)throw new Ke(`scope '${e}' rendered without an installed adapter`);const l=on(o.current)(a=>a);return b.jsx(v1.Provider,{value:l,children:n})}const Yd=new WeakMap;function k1(e){let n=Yd.get(e);return n!==void 0||(n=((r,o,l)=>b.jsx(v5,{name:r,inputProps:o,slots:l?.slots,fallback:l?.fallback,caller:e})),Yd.set(e,n)),n}const Xd=new WeakMap;function Z4(e,n){let r=Xd.get(n);return r||(r=(o,l,a)=>{if(!e.isLive(n))throw new Dr(`renderSlot('${o}') from a disposed registration`);const u=n.children?.[o];if(u===void 0)throw new rn(`slot '${o}' is not declared by this entry's children`);if(u.kind==="chain")throw new rn(`slot '${o}' is declared 'chain' — use renderSlotChain`);return b.jsx(pl,{slotKey:o,ownerProps:l,opts:a,declaredInline:u.inline===!0})},Xd.set(n,r)),r}const Jd=new WeakMap;function Q4(e,n){let r=Jd.get(n);return r||(r=(o,l,a)=>{if(!e.isLive(n))throw new Dr(`renderSlotChain('${o}') from a disposed registration`);const u=n.children?.[o];if(u===void 0)throw new rn(`slot '${o}' is not declared by this entry's children`);if(u.kind!=="chain")throw new rn(`slot '${o}' is declared '${u.kind}', not 'chain' — use renderSlot`);return b.jsx(pl,{slotKey:o,ownerProps:l,opts:a,declaredInline:u.inline===!0})},Jd.set(n,r)),r}const ef=new WeakMap,tf=new WeakMap;function G4(e,n){let r=ef.get(n);return r!==void 0||(r=(o,l,a)=>{if(!e.isFactoryLive(n))throw new Dr(`renderSlot('${o}') from a disposed Factory`);const u=n.children?.[o];if(u===void 0)throw new rn(`slot '${o}' is not declared by this Factory`);if(u.kind==="chain")throw new rn(`slot '${o}' is declared 'chain' — use renderSlotChain`);return b.jsx(pl,{slotKey:o,ownerProps:l,opts:a,declaredInline:u.inline===!0})},ef.set(n,r)),r}function K4(e,n){let r=tf.get(n);return r!==void 0||(r=(o,l,a)=>{if(!e.isFactoryLive(n))throw new Dr(`renderSlotChain('${o}') from a disposed Factory`);const u=n.children?.[o];if(u===void 0)throw new rn(`slot '${o}' is not declared by this Factory`);if(u.kind!=="chain")throw new rn(`slot '${o}' is declared '${u.kind}', not 'chain' — use renderSlot`);return b.jsx(pl,{slotKey:o,ownerProps:l,opts:a,declaredInline:u.inline===!0})},tf.set(n,r)),r}const nf=new WeakMap,rf=new WeakMap,of=new WeakMap,R2={};function fl(e,n,r){const o=e.inject;if(!o)return R2;const l=[];return n!==void 0&&l.push(n.key),r!==void 0&&l.push(r),Y4(o(...l))}function Y4(e){const n=e.hooks,r=e.keyedHooks;if(n===void 0&&r===void 0)return e;const{hooks:o,keyedHooks:l,...a}=e,u=a;for(const[d,p]of Object.entries(n??{})){const h=gr(d);u[h]=on(p)}for(const[d,p]of Object.entries(r??{})){const h=gr(d);u[h]=P2(p)}return u}const wu=new WeakMap,N2={props:R2};function $2(e){if(e===void 0)return N2;let n=wu.get(e);if(n!==void 0)return n;const r=e.hooks;if(r===void 0)return n={props:e},wu.set(e,n),n;const{hooks:o,...l}=e,a=l;let u;for(const[d,p]of Object.entries(r)){const h=gr(d);typeof p=="function"?(u??={},u[d]=p):a[h]=on(p)}return n=u===void 0?{props:a}:{props:a,slotHookFactories:u},wu.set(e,n),n}function X4(e,n,r){const o={};for(const[l,a]of Object.entries(e)){const u=gr(l);o[u]=a(n,r)}return o}function J4(e,n){let r=nf.get(e);return r||(r=fl(e,void 0,n),nf.set(e,r)),r}function e5(e,n,r){let o=rf.get(e);o||(o=new WeakMap,rf.set(e,o));let l=o.get(n);return l||(l=fl(e,n,r),o.set(n,l)),l}function t5(e,n,r){let o=of.get(e);o||(o=new WeakMap,of.set(e,o));let l=o.get(n);return l||(l=fl(e,n,r),o.set(n,l)),l}const sf=new WeakMap;function A2(e,n){let r=sf.get(e);r||(r=new Map,sf.set(e,r));const o=e.getSnapshot().revision,l=r.get(n);if(l&&l.revision===o)return l.t;const a=e.bind(n),u=(d,p)=>a(d,p);return r.set(n,{revision:o,t:u}),u}const n5=()=>()=>{},r5=()=>0,lf=new WeakMap;function i5(e){let n=lf.get(e);return n||(n={subscribe:r=>e.subscribe(r),getRevision:()=>e.getSnapshot().revision},lf.set(e,n)),n}function b1(e){const n=e!==void 0?i5(e):void 0;return I.useSyncExternalStore(n?.subscribe??n5,n?.getRevision??r5)}let o5=0;const af=new WeakMap;function wo(e){let n=af.get(e);return n===void 0&&(n=o5++,af.set(e,n)),n}let s5=0;const uf=new WeakMap;function hl(e){let n=uf.get(e.ctx);return n===void 0&&(n=s5++,uf.set(e.ctx,n)),n}class Xs extends Error{original;constructor(n){super("hoc slot content failed",{cause:n}),this.original=n}}class vu extends I.Component{static getDerivedStateFromError(n){throw n instanceof Xs?n:new Xs(n)}render(){return this.props.children}}class l5 extends I.Component{static getDerivedStateFromError(n){throw n instanceof Xs?n.original:n}render(){return this.props.children}}class Co extends I.Component{state={failed:!1};static getDerivedStateFromError(n){if(n instanceof Ke||n instanceof Xs)throw n;return{failed:!0}}componentDidCatch(n){console.error(`slot entry crashed in '${this.props.slotKey}':`,n),this.props.onEntryError(n)}render(){const n=this.props.anchor??"div";return this.state.failed?this.props.crashed===void 0?b.jsx(n,{"data-slot-error":this.props.slotKey}):this.props.crashed:this.props.children}}class D2 extends I.Component{state={failed:!1};static getDerivedStateFromError(n){if(n instanceof Ke)throw n;return{failed:!0}}componentDidCatch(n){console.error(`slot factory occurrence crashed in '${this.props.name}':`,n),this.props.onEntryError(n)}render(){return this.state.failed?b.jsx("div",{"data-factory-error":this.props.name}):this.props.children}}const cf=new WeakMap,a5=new WeakMap,u5=new WeakMap;function yu(e,n,r){const o={...e.props};for(const[l,a]of Object.entries(e.hooks)){if(a===void 0&&!n)throw new Ke(`strict standard hook '${l}' has no source`);o[gr(l)]=n?H4(a):on(a)}for(const[l,a]of Object.entries(e.keyedHooks)){if(a===void 0&&!n)throw new Ke(`strict keyed standard hook '${l}' has no source resolver`);o[gr(l)]=P2(a,r)}return o}function x1(e,n,r){let o=cf.get(n);if(o===void 0&&(o=yu(n,!1),cf.set(n,o)),e==="root")return o;if(r===void 0)throw new Ke(`scope '${e}' rendered without a standard-source binding`);const l=e==="session"?a5:u5;let a=l.get(n);a===void 0&&(a=new WeakMap,l.set(n,a));let u=a.get(r);return u!==void 0||(u={...yu(n,!1,r.key),...yu(r,e==="session-maybe")},a.set(r,u)),u}const df=new WeakMap;function H2(e){let n=df.get(e);if(n!==void 0)return n;if(e.renderArea===void 0)throw new Ke("scope 'session' adapter does not provide its area renderer");const r=e.renderArea.bind(e);return n=function(l){const a=Ci(),u=Object.hasOwn(l,"session"),d=e.bindingSource(l.session),p=I.useSyncExternalStore(g=>d.subscribe(g),()=>d.getSnapshot(),()=>d.getSnapshot()),h=u?p:a;return b.jsx(D4,{binding:h,children:r(h,l)})},df.set(e,n),n}function C1(e,n,r,o,l){const a=x1(r,o,l),u={...a,renderFactorySlot:k1(n)};if(n.locale!==void 0){const h=e.locale;if(h===void 0)throw new Ke(`entry declares locale namespace '${n.locale}' but no locale face is installed (locale plugin missing from the composition?)`);u.t=A2(h,n.locale)}const d=l?.key===void 0?void 0:l,p=e.storeOf(n,d);if(p!==void 0&&(u.useStore=on(p),u.actions=p.actions),n.children!==void 0&&(u.renderSlot=Z4(e,n),Object.values(n.children).some(h=>h.kind==="chain")&&(u.renderSlotChain=Q4(e,n)),Object.values(n.children).some(h=>h.scope!=="root"))){const h=e.scope("session");if(h===void 0)throw new Ke("entry declares a session child without an installed 'session' scope adapter");u.SessionProvider=H2(h)}return{kit:u,standard:a,actions:p?.actions}}function c5({slotKey:e,Comp:n,kit:r,standard:o,injected:l,slotInjected:a,ownerProps:u,hookContext:d,hasHookContext:p,children:h}){const g=I.useMemo(()=>{if(!p)throw new Ke(`slot '${e}' has contextual injected Hooks but no hookContext`);return X4(a.slotHookFactories,o,d)},[p,d,a.slotHookFactories,e,o]);return b.jsx(n,{...r,...l,...a.props,...g,...u,children:h})}function S1(e,n,r,o,l,a,u,d,p,h){return a.slotHookFactories===void 0?b.jsx(n,{...r,...l,...a.props,...u,children:h}):b.jsx(c5,{slotKey:e,Comp:n,kit:r,standard:o,injected:l,slotInjected:a,ownerProps:u,hookContext:d,hasHookContext:p,children:h})}function d5({entry:e,ownerProps:n,binding:r,slotKey:o,slotInjected:l,hookContext:a,hasHookContext:u,children:d}){const p=_n(),h=dl(),g=e.component,{kit:w,standard:k,actions:v}=C1(p,e,"session",h,r),_=e5(e,r,v);return S1(o,g,w,k,_,l,n,a,u,d)}function f5({entry:e,ownerProps:n,binding:r,slotKey:o,slotInjected:l,hookContext:a,hasHookContext:u,children:d}){const p=_n(),h=dl(),g=e.component,{kit:w,standard:k,actions:v}=C1(p,e,"session-maybe",h,r),_=t5(e,r,v);return S1(o,g,w,k,_,l,n,a,u,d)}function B2({entry:e,ownerProps:n,slotKey:r,slotInjected:o,hookContext:l,hasHookContext:a,children:u}){const d=Ci(),p=_1(d);return b.jsx(f5,{entry:e,ownerProps:n,binding:d,slotKey:r,slotInjected:o,hookContext:l,hasHookContext:a,children:u},p)}const h5={adopted:void 0,epoch:0};function _1(e){const n=e.key===void 0?void 0:e.ctx,[r,o]=I.useState(h5);let{adopted:l,epoch:a}=r;return n!==void 0&&l===void 0?(l=n,o({adopted:l,epoch:a})):l!==void 0&&n!==void 0&&n!==l?(l=n,a+=1,o({adopted:l,epoch:a})):l!==void 0&&n===void 0&&(l=void 0,a+=1,o({adopted:l,epoch:a})),a}function E1({entry:e,ownerProps:n,slotKey:r,slotInjected:o,hookContext:l,hasHookContext:a,children:u}){const d=_n(),p=dl(),h=e.component,{kit:g,standard:w,actions:k}=C1(d,e,"root",p,void 0),v=J4(e,k);return S1(r,h,g,w,v,o,n,l,a,u)}const Zu=I.createContext(null),ff=I.createContext(new Set),p5={};function m5(e,n){const r=I.useContext(Zu);if(r===null)throw new Ke("useFactorySlot() called outside a Factory occurrence");if(!r.host.isFactoryLive(r.definition))throw new Dr(`useFactorySlot('${e}') from a disposed Factory`);const o=r.definition.slots?.[e];if(o===void 0)throw new rn(`local slot '${e}' is not declared by factory '${r.definition.name}'`);const l=r.selected[e],a=l??n,u=l===void 0,{definition:d,host:p}=r;return I.useMemo(function(){return function(w){const k=I.useContext(Zu),v=Ci(),_=_1(v);if(!p.isFactoryLive(d))throw new Dr(`local slot '${e}' from a disposed Factory`);if(k===null||k.definition!==d)throw new rn(`local slot '${e}' rendered outside factory '${d.name}'`);if(o.scope==="session"&&v.key===void 0)throw new Ke(`strict session local slot '${e}' from factory '${d.name}' rendered without a scope binding`);const E=u?d:k.caller,O=o.scope==="root"?"root":o.scope==="session"?`session:${hl(v)}`:`session-maybe:${_}`,F=x1(o.scope,k.rootBinding,v),Z={...k.registrationKit,renderFactorySlot:k1(E)};Js(`factory '${d.name}' local slot '${e}'`,Z,F);const D={...Z,...F};return Js(`factory '${d.name}' local slot '${e}'`,D,w),b.jsx(D2,{name:`${d.name}:${e}`,onEntryError:B=>{p.reportFactoryError(d.name,E,B)},children:b.jsx(a,{...D,...w})},`${d.name}:${e}:${O}`)}},[a,o.scope,d,p,e,u])}function Js(e,n,r){for(const o of Object.keys(r))if(Object.hasOwn(n,o))throw new Ke(`${e} received duplicate prop '${o}'`)}function g5(e,n,r,o,l){const a=x1(n.scope,r,o),u={renderFactorySlot:k1(n)};if(n.locale!==void 0){const h=e.locale;if(h===void 0)throw new Ke(`factory declares locale namespace '${n.locale}' but no locale face is installed`);u.t=A2(h,n.locale)}const d=o?.key===void 0?void 0:o,p=e.factoryStoreOf(n,d,l);if(p!==void 0&&(u.useStore=on(p),u.actions=p.actions),n.children!==void 0&&(u.renderSlot=G4(e,n),Object.values(n.children).some(h=>h.kind==="chain")&&(u.renderSlotChain=K4(e,n)),Object.values(n.children).some(h=>h.scope!=="root"))){const h=e.scope("session");if(h===void 0)throw new Ke("factory declares a session child without an installed 'session' scope adapter");u.SessionProvider=H2(h)}return{kit:{...a,...u},registrationKit:u,actions:p?.actions}}function w5({definition:e,inputProps:n,selected:r,caller:o,binding:l,maybeEpoch:a}){if(e.scope==="root")return b.jsx(ku,{definition:e,inputProps:n,selected:r,caller:o});if(e.scope==="session"){if(l.key===void 0)throw new Ke(`strict session factory '${e.name}' rendered without a scope binding`);return b.jsx(ku,{definition:e,inputProps:n,selected:r,caller:o,scopeBinding:l},hl(l))}return b.jsx(ku,{definition:e,inputProps:n,selected:r,caller:o,scopeBinding:l},a)}function ku({definition:e,inputProps:n,selected:r,caller:o,scopeBinding:l}){const a=_n(),u=dl(),d=I.useRef({}).current,p=b1(a.locale);I.useEffect(()=>a.retainFactoryOccurrence(e,d),[e,a,d]);const{kit:h,registrationKit:g,actions:w}=I.useMemo(()=>g5(a,e,u,l,d),[e,a,p,d,u,l]),k=I.useMemo(()=>fl(e,l,w),[w,e,l]);Js(`factory '${e.name}' inject`,h,k);const v={...h,...k,useFactorySlot:m5};Js(`factory '${e.name}' occurrence`,v,n);const _=I.useMemo(()=>({host:a,definition:e,selected:r,registrationKit:{...g,...k},rootBinding:u,caller:o}),[o,e,a,k,g,u,r]),E=e.component;return b.jsx(Zu.Provider,{value:_,children:b.jsx(E,{...v,...n})})}function v5({name:e,inputProps:n,slots:r=p5,fallback:o,caller:l}){const a=_n(),u=I.useContext(ff),d=Ci(),p=_1(d),h=I.useSyncExternalStore(v=>a.subscribeFactory(e,v),()=>a.getFactoryVersion(e)),g=a.factoryOf(e),w=I.useMemo(()=>new Set(u).add(e),[u,e]);if(g===void 0)return b.jsx(b.Fragment,{children:o??null});if(u.has(e))throw new rn(`recursive render of factory '${e}'`);for(const v of Object.keys(r))if(g.slots?.[v]===void 0)throw new rn(`local slot '${v}' is not declared by factory '${e}'`);const k=g.scope==="root"?"root":g.scope==="session"?d.key===void 0?"session:absent":`session:${hl(d)}`:`session-maybe:${p}`;return b.jsx(D2,{name:e,onEntryError:v=>{a.reportFactoryError(e,g,v)},children:b.jsx(ff.Provider,{value:w,children:b.jsx(w5,{definition:g,inputProps:n,selected:r,caller:l,binding:d,maybeEpoch:p})})},`${e}:${h}:${k}`)}function V2({slotKey:e,anchor:n,crashed:r,entry:o,ownerProps:l,slotInjected:a,hookContext:u,hasHookContext:d,onEntryError:p,children:h}){const g=Ci();if(g.key===void 0)throw new Ke(`strict session slot '${e}' rendered without a scope binding`);const w=g;return b.jsx(Co,{slotKey:e,anchor:n,crashed:r,onEntryError:p,children:b.jsx(d5,{entry:o,ownerProps:l,binding:w,slotKey:e,slotInjected:a,hookContext:u,hasHookContext:d,children:h})},hl(w))}const M1=(e,n)=>n;function y5(e,n,r,o,l){const a=r.inline===!0?"span":"div",u=$2(r.inject),d=h=>{e.reportEntryError(n,o,h,{abdicate:!1})};let p;switch(r.scope){case"session":p=({owner:h,children:g})=>{const w=b.jsx(vu,{children:l(h,g)});return b.jsx(V2,{slotKey:n,anchor:a,crashed:w,onEntryError:d,entry:o,ownerProps:h,slotInjected:u,hookContext:void 0,hasHookContext:!1,children:w})};break;case"session-maybe":p=({owner:h,children:g})=>{const w=b.jsx(vu,{children:l(h,g)});return b.jsx(Co,{slotKey:n,anchor:a,crashed:w,onEntryError:d,children:b.jsx(B2,{entry:o,ownerProps:h,slotKey:n,slotInjected:u,hookContext:void 0,hasHookContext:!1,children:w})})};break;case"root":p=({owner:h,children:g})=>{const w=b.jsx(vu,{children:l(h,g)});return b.jsx(Co,{slotKey:n,anchor:a,crashed:w,onEntryError:d,children:b.jsx(E1,{entry:o,ownerProps:h,slotKey:n,slotInjected:u,hookContext:void 0,hasHookContext:!1,children:w})})};break}return p}function k5(e,n){const r=new Set;if(n!==void 0)for(const o of e)o.options.key===n&&r.add(o.options.id);return e.filter(o=>o.options.key===void 0?!r.has(o.options.id):o.options.key===n).sort((o,l)=>(o.options.order??0)-(l.options.order??0))}function b5(e,n,r,o){return o.reduceRight((l,a)=>{const u=y5(e,n,r,a,l);return(d,p)=>b.jsx(u,{owner:d,children:p})},M1)}const hf=new WeakMap;function x5(e,n){return e.length===n.length&&e.every((r,o)=>r===n[o])}function C5(e,n,r,o){let l=hf.get(e);l===void 0&&(l=new WeakMap,hf.set(e,l));let a=l.get(r);a===void 0&&(a=new Map,l.set(r,a));const u=o===void 0?"":`=${o}`,d=e.getVersion(n),p=a.get(u);if(p!==void 0&&p.version===d)return p.render;const h=k5(e.entriesOfSlot(n),o);if(p!==void 0&&x5(p.layers,h))return p.version=d,p.render;const g=h.length===0?M1:b5(e,n,r,h);return a.set(u,{version:d,layers:h,render:g}),g}function S5({slotKey:e,spec:n,ownerProps:r,entryKey:o,children:l}){const a=_n(),u=C5(a,e,n,o);return u===M1?l:b.jsx(l5,{children:u(r,l)})}const W2={display:"contents"};function pl({slotKey:e,ownerProps:n,opts:r,declaredInline:o}){const l=_n();I.useSyncExternalStore(p=>l.subscribe(e,p),()=>l.getVersion(e)),b1(l.locale);const a=Ci(),u=l.specOf(e),d=(u===void 0?o:u.inline===!0)?"span":"div";return b.jsx(d,{"data-slot":e,style:W2,children:u===void 0?null:_5(l,e,n,r,a,u)})}function _5(e,n,r,o,l,a){const u=a.inline===!0?"span":"div";if(a.kind==="chain"&&o?.fallbackOnly===!0)return pf(n,null,o,u);if(a.scope==="session"&&l.key===void 0)throw new Ke(`strict session slot '${n}' rendered without a scope binding`);if(a.kind==="hoc")return b.jsx(S5,{slotKey:n,spec:a,ownerProps:r,entryKey:o?.entryKey,children:o?.children??null});const d=e.entriesOf(n),p=$2(a.inject),h=(E,O,F=r)=>{const Z=o!==void 0&&Object.hasOwn(o,"hookContext"),D=o?.hookContext,B=ee=>{e.reportEntryError(n,E,ee,{abdicate:a.kind!=="chain"})};return a.scope==="session"?b.jsx(V2,{slotKey:n,anchor:u,entry:E,ownerProps:F,slotInjected:p,hookContext:D,hasHookContext:Z,onEntryError:B},O):b.jsx(Co,{slotKey:n,anchor:u,onEntryError:B,children:a.scope==="session-maybe"?b.jsx(B2,{entry:E,ownerProps:F,slotKey:n,slotInjected:p,hookContext:D,hasHookContext:Z}):b.jsx(E1,{entry:E,ownerProps:F,slotKey:n,slotInjected:p,hookContext:D,hasHookContext:Z})},O)},g=()=>b.jsx(u,{"data-slot-error":n});if(a.kind==="single"){const E=e.entriesOfSlot(n)[0];return E?h(E,wo(E)):d.length>0?g():b.jsx(b.Fragment,{children:o?.fallback??null})}if(a.kind==="keyed"){const E=e.entriesOfSlot(n).find(O=>O.options.key===o?.entryKey);return E?h(E,wo(E)):d.some(F=>F.options.key===o?.entryKey)?g():b.jsx(b.Fragment,{children:o?.fallback??null})}if(a.kind==="chain"){let E=null;for(const O of d){let F;try{F=O.select(r)}catch(Z){console.error(`chain selector crashed in '${n}' (${O.registrant??"unknown registrant"}), treating as declined:`,Z);continue}if(F!==null){E=h(O,wo(O),{...r,matched:F});break}}return pf(n,E,o,u)}const k=e.entriesOfSlot(n).map(E=>({entry:E,id:E.options.id,order:E.options.order??0})),v=new Set(k.map(E=>E.id));for(const E of d)v.has(E.options.id)||(v.add(E.options.id),k.push({entry:void 0,id:E.options.id,order:E.options.order??0}));let _=[...k].sort((E,O)=>E.order-O.order);return o?.only!==void 0&&(_=_.filter(E=>E.id===o.only)),_.length===0?b.jsx(b.Fragment,{children:o?.fallback??null}):b.jsx(b.Fragment,{children:_.map((E,O)=>E.entry!==void 0?h(E.entry,`e${wo(E.entry)}`):b.jsx(u,{"data-slot-error":n},`x${E.id??O}`))})}function pf(e,n,r,o){return r?.overlay?b.jsxs(b.Fragment,{children:[b.jsx(o,{"data-chain-overlay-fallback":e,style:{display:n===null?"contents":"none"},children:r.fallback??null}),n]}):n??b.jsx(b.Fragment,{children:r?.fallback??null})}function E5({ownerProps:e}){const n=_n();I.useSyncExternalStore(o=>n.subscribe("root",o),()=>n.getVersion("root")),b1(n.locale);const r=n.entriesOfSlot("root")[0];if(!r){if(n.entriesOf("root").length>0)return b.jsx("div",{"data-slot-error":"root"});throw new Ke("renderSlot('root') before any 'root' registration (boot order)")}return b.jsx("div",{"data-slot":"root",style:W2,children:b.jsx(Co,{slotKey:"root",onEntryError:o=>{n.reportEntryError("root",r,o,{abdicate:!0})},children:b.jsx(E1,{entry:r,ownerProps:e,slotKey:"root",slotInjected:N2,hookContext:void 0,hasHookContext:!1})},wo(r))})}function M5(){return{renderRoot(e,n){return b.jsx(I2.Provider,{value:e,children:b.jsx(U4,{children:b.jsx(q4,{scope:"session-maybe",children:b.jsx(E5,{ownerProps:n})})})})}}}function z5(e){const{ctx:n}=e;return()=>n.slots.renderSlot("root",{})}const mf="root";class z1 extends w1{_core=new O4;_stores=new Map;_factoryStores=new Map;_storeScopeOwners=new Map;_renderer;_locale;_host;_rootContributions=[];_rootListeners=new Set;_rootBinding={key:void 0,hooks:{},keyedHooks:{},props:{}};_rootSource={getSnapshot:()=>this._rootBinding,subscribe:n=>(this._rootListeners.add(n),()=>{this._rootListeners.delete(n)})};_scopes=new Map;_scopeRevision=0;_scopeListeners=new Set;_scopeRevisionSource={getSnapshot:()=>this._scopeRevision,subscribe:n=>(this._scopeListeners.add(n),()=>{this._scopeListeners.delete(n)})};constructor(n){super(n,"slots"),this._core.onMutate(r=>{n.emit("slots/changed",r)})}inject(n,r){const o=this.ctx,l=o.effect(()=>{let a,u,d=!1,p=()=>{};const h=()=>{if(d)return;d=!0,p();const k=a;a=void 0,u=void 0,k?.()},g=()=>{if(d)return;const k=this._core.specDynamic(n),v=this._core.declarationEpoch(n);if(a!==void 0&&u===v)return;const _=a;if(a=void 0,u=void 0,_?.(),k===void 0)return;const E=o.effect(r,`slots.inject(${JSON.stringify(n)}): declaration`);a=()=>{E()},u=v},w=()=>{try{g()}catch(k){if(k?.code==="INACTIVE_EFFECT"){h();return}h();const v=k instanceof Error?k:new Error(String(k));queueMicrotask(()=>{throw v})}};p=this._core.subscribeDeclaration(n,w);try{g()}catch(k){throw h(),k}return h},`slots.inject(${JSON.stringify(n)})`);return()=>{l()}}install(n){if(this._renderer!==void 0)throw new Error("slot renderer already installed (install() is boot-once)");this.ctx.effect(()=>(this._renderer=n,()=>{this._renderer===n&&(this._renderer=void 0)}),"slots.install()")}installLocale(n){if(this._locale!==void 0)throw new Error("locale face already installed (installLocale() is boot-once)");this.ctx.effect(()=>(this._locale=n,()=>{this._locale===n&&(this._locale=void 0)}),"slots.installLocale()")}provideRoot(n){const r=this.ctx.effect(()=>{this._rootContributions.push(n);try{this.rebuildRootBinding()}catch(o){throw this._rootContributions.pop(),o}return()=>{const o=this._rootContributions.indexOf(n);o!==-1&&(this._rootContributions.splice(o,1),this.rebuildRootBinding())}},"slots.provideRoot()");return()=>{r()}}installScope(n,r){if(this._scopes.has(n))throw new Error(`slot scope '${n}' already has an adapter`);this.ctx.effect(()=>(this._scopes.set(n,r),this.publishScopeRevision(),()=>{this._scopes.get(n)===r&&(this._scopes.delete(n),this.publishScopeRevision())}),`slots.installScope(${JSON.stringify(n)})`)}bindStoreScope(n){const r=this._storeScopeOwners.get(n.key);r!==n.ctx&&(r!==void 0&&this.releaseStoreScope(n.key),this._storeScopeOwners.set(n.key,n.ctx),n.ctx.effect(()=>()=>{this._storeScopeOwners.get(n.key)===n.ctx&&(this._storeScopeOwners.delete(n.key),this.releaseStoreScope(n.key))},`slots: store scope ${n.key}`))}renderSlot(n,r){if(n!=="root")throw new Error(`ctx-level renderSlot only renders 'root' (got "${n}"); child slots render through the component props face`);if(this._renderer===void 0)throw new Error("slot renderer not installed — boot must call ctx.slots.install(createSlotRenderer()) before rendering 'root'");if(this._core.entries("root").length===0)throw new Error("'root' has no registration — a layout entry must register into 'root' before the shell renders it");return this._renderer.renderRoot(this.hostFace(),r)}entries(n){return this._core.entries(n)}entriesOfSlot(n){return this._core.entriesOfSlot(n)}snapshot(n){return this._core.snapshot(n)}onEntryError(n){return this._core.onEntryError(n)}spec(n){return this._core.spec(n)}subscribe(n,r){return this._core.subscribe(n,r)}getVersion(n){return this._core.getVersion(n)}_register(n,r){const o=typeof n.store=="function"?n.store():n.store,l=n.registrant??this.ctx.fiber?.name,a={...n,...o!==void 0?{store:o}:{},...l!==void 0?{registrant:l}:{}},u=this._core.register(a,r);if(o!==void 0){const p=this._core.specDynamic(n.name).scope;this._acquire(o,p)}let d=!1;return()=>{d||(d=!0,u(),o!==void 0&&this._release(o))}}_registerFactory(n,r){const o=this.ctx.fiber?.name,l={...n,...o===void 0?{}:{registrant:o}},a=this._core.registerFactory(l,r),u=this._core.factory(n.name);if(u===void 0)throw new Error(`slot factory "${n.name}" disappeared during registration`);u.store!==void 0&&typeof u.store!="function"?this._acquire(u.store,u.scope):typeof u.store=="function"&&this._factoryStores.set(u,{occurrences:new WeakMap,mounted:new Map});let d=!1;return()=>{d||(d=!0,a(),this._factoryStores.delete(u),u.store!==void 0&&typeof u.store!="function"&&this._release(u.store))}}hostFace(){if(this._host!==void 0)return this._host;const n=this;return this._host={subscribe:(r,o)=>this._core.subscribe(r,o),getVersion:r=>this._core.getVersion(r),entriesOf:r=>this._core.entries(r),entriesOfSlot:r=>this._core.entriesOfSlot(r),reportEntryError:(r,o,l,a)=>{this._core.reportEntryError(r,o,l,a)},reportFactoryError:(r,o,l)=>{this._core.reportFactoryError(r,o,l)},specOf:r=>this._core.specDynamic(r),isLive:r=>this._core.isLive(r),storeOf:(r,o)=>r.store===void 0?void 0:this.resolveStore(r.store,o),factoryStoreOf:(r,o,l)=>this.resolveFactoryStore(r,o,l),retainFactoryOccurrence:(r,o)=>this.retainFactoryOccurrence(r,o),subscribeFactory:(r,o)=>this._core.subscribeFactory(r,o),getFactoryVersion:r=>this._core.factoryVersion(r),factoryOf:r=>this._core.factory(r),isFactoryLive:r=>this._core.isFactoryLive(r),root:this._rootSource,scopeRevision:this._scopeRevisionSource,scope:r=>n._scopes.get(r==="session-maybe"?"session":r),get locale(){return n._locale}},this._host}rebuildRootBinding(){const n={},r={},o={},l=new Set;for(const a of this._rootContributions)bu("hook",n,a.hooks,l,gr),bu("keyed hook",r,a.keyedHooks,l,gr),bu("prop",o,a.props,l,u=>u);this._rootBinding={key:void 0,hooks:n,keyedHooks:r,props:o};for(const a of[...this._rootListeners])try{a()}catch(u){console.error("root standard-source subscriber failed:",u)}}publishScopeRevision(){this._scopeRevision+=1;for(const n of[...this._scopeListeners])try{n()}catch(r){console.error("scope-adapter subscriber failed:",r)}}resolveStore(n,r){const o=this._stores.get(n);if(o===void 0)throw new Error("store handle is not registered (entry unloaded, or the handle never went through register)");let l;if(o.scope==="root")l=mf;else{if(r===void 0)throw new Error(`${o.scope} store resolution requires a session id`);l=r.key,this.bindStoreScope(r)}let a=o.instances.get(l);return a===void 0&&(a=o.scope==="root"?n.create():n.create(l),o.instances.set(l,a)),a}resolveFactoryStore(n,r,o){if(!this._core.isFactoryLive(n))throw new Dr(`slot factory "${n.name}" is not registered`);const l=n.store;if(l===void 0)return;if(typeof l!="function")return this.resolveStore(l,r);const a=this._factoryStores.get(n),u=n.scope==="root"?mf:L5(n,r);r!==void 0&&n.scope!=="root"&&this.bindStoreScope(r);let d=a.occurrences.get(o);if(d===void 0){const g=l();if(g.spec.persist!==void 0)throw new Ke(`exclusive store for factory "${n.name}" cannot declare persistence`);d={handle:g,instances:new Map,retainers:0},a.occurrences.set(o,d)}const p=d.instances.get(u);if(p!==void 0)return p;const h=n.scope==="root"||r===void 0?d.handle.create():d.handle.create(r.key);return d.instances.set(u,h),h}retainFactoryOccurrence(n,r){if(!this._core.isFactoryLive(n))return()=>{};if(typeof n.store!="function")return()=>{};const o=this._factoryStores.get(n),l=o.occurrences.get(r);l.retainers+=1,o.mounted.set(r,l);let a=!1;return()=>{a||(a=!0,l.retainers-=1,l.retainers===0&&o.mounted.delete(r))}}releaseStoreScope(n){for(const r of this._stores.values())r.scope!=="root"&&r.instances.delete(n);for(const r of this._factoryStores.values())for(const o of r.mounted.values())o.instances.delete(n)}_acquire(n,r){const o=this._stores.get(n);if(o===void 0){this._stores.set(n,{scope:r,refs:1,instances:new Map});return}o.refs+=1}_release(n){const r=this._stores.get(n);r!==void 0&&(r.refs-=1,r.refs===0&&this._stores.delete(n))}}function bu(e,n,r,o,l){if(r!==void 0)for(const[a,u]of Object.entries(r)){const d=l(a);if(o.has(d))throw new Error(`duplicate root standard ${e} '${a}' at prop '${d}'`);o.add(d),n[a]=u}}z1.prototype.register=function(n,r){const o=n;return this.ctx.effect(()=>this._register(o,r),"slots.register()")};z1.prototype.registerFactory=function(n,r){const o=n;return this.ctx.effect(()=>this._registerFactory(o,r),"slots.registerFactory()")};function L5(e,n){if(n===void 0)throw new Error(`${e.scope} factory store resolution requires a session id`);return n.key}function j5(e){const[n,r]=I.useState(!1);return I.useLayoutEffect(()=>{r(!0)},[]),n?e.app():I.createElement("div",{className:e.boot.className,"data-dsh-boot":"",dangerouslySetInnerHTML:{__html:e.boot.html}})}function I5(e,n){const r=e.querySelector(":scope > [data-dsh-boot]");if(r!==null)return Bd.hydrateRoot(e,I.createElement(j5,{app:n,boot:{className:r.className,html:r.innerHTML}}));const o=Bd.createRoot(e);return Lo.flushSync(()=>{o.render(n())}),o}function F5(e){new z1(e).install(M5()),e.reflect.provide("uiRenderer",{mount:r=>{const o=I5(r,z5({ctx:e}));return()=>{o.unmount()}}})}function U2(e){var n,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(n=0;n<l;n++)e[n]&&(r=U2(e[n]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ze(){for(var e,n,r=0,o="",l=arguments.length;r<l;r++)(e=arguments[r])&&(n=U2(e))&&(o&&(o+=" "),o+=n);return o}const O5="_button_6u5co_3",P5="_md_6u5co_24",T5="_sm_6u5co_29",R5="_primary_6u5co_37",N5="_ghost_6u5co_47",$5="_outline_6u5co_57",A5="_toolbar_6u5co_69",D5="_icon_6u5co_79",Ws={button:O5,md:P5,sm:T5,primary:R5,ghost:N5,outline:$5,toolbar:A5,icon:D5};I.forwardRef(function({variant:n="ghost",size:r="md",icon:o,className:l,children:a,...u},d){return b.jsxs("button",{ref:d,type:"button",className:Ze(Ws.button,Ws[n],Ws[r],l),...u,children:[o!=null&&b.jsx("span",{className:Ws.icon,children:o}),a]})});const H5=1,el=1.3,q2={"layers-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}" stroke-linecap="round" stroke-linejoin="round"><path d="M8.481371 2.304371 a1.159971 1.159971 0 0 0-.962742 0 L2.547971 4.566371 a.580029 .580029 0 0 0 0 1.0614 l4.9764 2.267829 a1.159971 1.159971 0 0 0 .962829 0 l4.9764-2.262 a.580029 .580029 0 0 0 0-1.0614Z" stroke="currentColor"></path><path d="M2.199971 8 a.580029 .580029 0 0 0 .336429 .527829 l4.987971 2.267742 a1.159971 1.159971 0 0 0 .957 0 l4.9764-2.262 A.580029 .580029 0 0 0 13.800029 8" stroke="currentColor"></path><path d="M2.199971 10.899971 a.580029 .580029 0 0 0 .336429 .527829 l4.987971 2.267829 a1.159971 1.159971 0 0 0 .957 0 l4.9764-2.262 A.580029 .580029 0 0 0 13.800029 10.899971" stroke="currentColor"></path></svg>`},"save-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}" stroke-linejoin="round"><path d="M2.5 1.5h8l3 3v9a1 1 0 0 1-1 1h-10a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1Z"></path><path d="M4.5 1.5v4h6v-4M4 14.5v-6h7v6"></path></svg>`},"new-chat-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.37091 11.2501C1.58745 9.89288 1.32067 8.29835 1.61969 6.76006C1.91872 5.22177 2.76342 3.8433 3.99826 2.87846C5.2331 1.91362 6.77494 1.42737 8.33988 1.50925C9.90482 1.59113 11.3875 2.23562 12.5149 3.32406C13.6425 4.41269 14.3387 5.87206 14.4754 7.4334C14.612 8.99474 14.18 10.5529 13.2587 11.8209C12.3375 13.0888 10.9891 13.9813 9.46194 14.3337C8.18691 14.628 6.85895 14.5294 5.64989 14.0605C5.1712 13.8748 4.76962 13.4932 4.26534 13.3967C3.67413 13.2835 2.95257 13.5598 2.03794 14.3337" stroke="currentColor"></path><path d="M8 5V11" stroke="currentColor"></path><path d="M5 8H11" stroke="currentColor"></path></svg>`},"search-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M10.2991 10.3933L14.7783 14.8725" stroke="currentColor"></path></svg>`},"eye-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.5 8C3.36 4.41 5.52 2.63 8 2.63C10.48 2.63 12.64 4.41 14.5 8C12.64 11.59 10.48 13.37 8 13.37C5.52 13.37 3.36 11.59 1.5 8Z" stroke="currentColor"></path><circle cx="8" cy="8" r="2.25" stroke="currentColor"></circle></svg>`},"eye-off-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.25 2.25L13.75 13.75" stroke="currentColor"></path><path d="M6.35 3.03C6.88 2.76 7.42 2.63 8 2.63C10.48 2.63 12.64 4.41 14.5 8C13.75 9.48 12.95 10.6 12.08 11.36" stroke="currentColor"></path><path d="M10.28 12.81C9.54 13.19 8.78 13.37 8 13.37C5.52 13.37 3.36 11.59 1.5 8C2.26 6.49 3.08 5.36 3.97 4.6" stroke="currentColor"></path><path d="M6.55 6.55A2.05 2.05 0 0 0 9.45 9.45" stroke="currentColor"></path></svg>`},"globe-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M2.34619 8H13.6538" stroke="currentColor" stroke-linecap="square"></path><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"></path><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"></path></svg>`},"settings-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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" stroke-miterlimit="10"></path></svg>`},"panel-left-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M5.5 1.5V14.5" stroke="currentColor"></path></svg>`},"ellipsis-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path></svg>`},"plus-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 2V14" stroke="currentColor"></path><path d="M2 8H14" stroke="currentColor"></path></svg>`},"check-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.25 8.5L5.49732 11.7473C5.90519 12.1552 6.57263 12.1344 6.95426 11.7018L13.75 4" stroke="currentColor"></path></svg>`},"branch-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><circle cx="12.4502" cy="3.3079" r="1.56962" stroke="currentColor"></circle><circle cx="12.4502" cy="12.6921" r="1.56962" stroke="currentColor"></circle></svg>`},"chevron-down-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4 6L7.29289 9.29289C7.68342 9.68342 8.31658 9.68342 8.70711 9.29289L12 6" stroke="currentColor"></path></svg>`},"chevron-left-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M10 4L6.70711 7.29289C6.31658 7.68342 6.31658 8.31658 6.70711 8.70711L10 12" stroke="currentColor"></path></svg>`},"chevron-right-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6 12L9.29289 8.70711C9.68342 8.31658 9.68342 7.68342 9.29289 7.29289L6 4" stroke="currentColor"></path></svg>`},"triangle-right-fill":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"chevron-up-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M12 10L8.70711 6.70711C8.31658 6.31658 7.68342 6.31658 7.29289 6.70711L4 10" stroke="currentColor"></path></svg>`},"close-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.5 2.5L13.5 13.5" stroke="currentColor"></path><path d="M13.5 2.5L2.5 13.5" stroke="currentColor"></path></svg>`},"close-fill":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3.5 3.5L12.5 12.5" stroke="currentColor"></path><path d="M12.5 3.5L3.5 12.5" stroke="currentColor"></path></svg>`},"close-circle-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path fill-rule="evenodd" clip-rule="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"></path></svg>`},"copy-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><rect x="1.52075" y="4.07373" width="10.3932" height="10.3932" rx="2" stroke="currentColor"></rect><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"></path></svg>`},"refresh-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M14.4999 1.5V5.1H10.8999" stroke="currentColor"></path></svg>`},"like-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"like-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"dislike-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"dislike-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"share-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"deliver-doc":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.15479 4.91687H9.84543" stroke="currentColor"></path><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"></path><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"></path><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"></path><path d="M6.15479 7.2395H9.05644" stroke="currentColor"></path></svg>`},"edit-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M7.7849 8.23878L13.888 2.13574" stroke="currentColor"></path></svg>`},"think-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path></svg>`},"agent-preset-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path><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"></path></svg>`},"browse-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><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"></path></svg>`},"context-injection-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M8 0.5V7.5" stroke="currentColor"></path><path d="M5.5 5L8 7.5L10.5 5" stroke="currentColor"></path><path d="M5.5 11H10.5" stroke="currentColor"></path></svg>`},"link-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"right-up-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M2.77441 13.2255L12.3756 3.62427" stroke="currentColor"></path></svg>`},"enhance-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.98486 2.95374H14.0151" stroke="currentColor"></path><path d="M1.98486 6.31787H14.0151" stroke="currentColor"></path><path d="M1.98486 9.68213H14.0151" stroke="currentColor"></path><path d="M1.98486 13.0463H8.4627" stroke="currentColor"></path></svg>`},"trash-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M1.28149 3.88831H14.7187" stroke="currentColor"></path><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"></path><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"></path><path d="M6.44946 6.98926V11.1238" stroke="currentColor"></path><path d="M9.55054 6.98926V11.1238" stroke="currentColor"></path></svg>`},"warning-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M8 4.29199V9.79199" stroke="currentColor"></path><path d="M8 10.708V11.708" stroke="currentColor"></path></svg>`},"check-circle-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"warning-triangle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><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"></path><path d="M8 6v3m0 2.33h.01" stroke="currentColor"></path></svg>`},"user-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"users-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.18 8.2275C7.5620898 8.2275 8.6825 7.1070898 8.6825 5.725C8.6825 4.3429102 7.5620898 3.2225 6.18 3.2225C4.7979102 3.2225 3.6775 4.3429102 3.6775 5.725C3.6775 7.1070898 4.7979102 8.2275 6.18 8.2275Z" stroke="currentColor"></path><path d="M1.63 13.915C1.63 11.185 3.905 10.0475 6.18 10.0475C8.455 10.0475 10.73 11.185 10.73 13.915" stroke="currentColor"></path><path d="M10.275 3.359C11.3215 3.7685 12.0495 4.6785 12.0495 5.725C12.0495 6.7715 11.3215 7.6815 10.275 8.091" stroke="currentColor"></path><path d="M12.004 10.366C13.369 11.003 14.37 12.186 14.37 13.915" stroke="currentColor"></path></svg>`},"paper-plane-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"stop-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"paperclip-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"loading-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"download-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M8 1.95317V10.0469" stroke="currentColor"></path><path d="M4.25 6.29688L8 10.0469L11.75 6.29688" stroke="currentColor"></path><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"></path></svg>`},"play-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"pause-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M6.5 5V11" stroke="currentColor"></path><path d="M9.5 5V11" stroke="currentColor"></path></svg>`},"fullscreen-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M9.4292 6.57077L13.914 2.08594" stroke="currentColor"></path><path d="M6.57077 9.4292L2.08594 13.914" stroke="currentColor"></path></svg>`},"code-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M6.27612 1.5L4.52612 14.5" stroke="currentColor"></path><path d="M11.4739 1.5L9.72388 14.5" stroke="currentColor"></path><path d="M2.39868 5.5H14.0681" stroke="currentColor"></path><path d="M1.93188 10.5H13.6013" stroke="currentColor"></path></svg>`},"cordis-plugin-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><circle cx="8" cy="8" r="1.76221" stroke="currentColor"></circle></svg>`},"api-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M3 4L7 8L3 12" stroke="currentColor"></path><path d="M9 12H13" stroke="currentColor"></path></svg>`},"personalization-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path><circle cx="4.97065" cy="7.66401" r="1.35151" stroke="currentColor"></circle><circle cx="10.6596" cy="12.4091" r="1.35151" stroke="currentColor"></circle><circle cx="10.6596" cy="3.59101" r="1.35151" stroke="currentColor"></circle></svg>`},"project-add-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M9.75977 4.50208H14.5509" stroke="currentColor"></path><path d="M12.1492 6.89758L12.1492 2.10642" stroke="currentColor"></path></svg>`},"folder-open-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"folder-open":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path></svg>`},"folder-close":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M3.63501 7.66614H12.3647" stroke="currentColor"></path></svg>`},"tree-corner":{size:10,aspect:[8,10],svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 11" fill="none" stroke-width="${e}"><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"></path></svg>`},"light-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M13.3899 8H15.1499" stroke="currentColor"></path><path d="M11.8115 11.8115L13.0556 13.0556" stroke="currentColor"></path><path d="M8 13.3901V15.1501" stroke="currentColor"></path><path d="M4.18868 11.8115L2.94458 13.0556" stroke="currentColor"></path><path d="M2.6101 8H0.850098" stroke="currentColor"></path><path d="M4.18868 4.18856L2.94458 2.94446" stroke="currentColor"></path><path d="M8 2.6101V0.850098" stroke="currentColor"></path><path d="M11.8115 4.18856L13.0556 2.94446" stroke="currentColor"></path></svg>`},"dark-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path></svg>`},"followsystem-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M5 14.5H11" stroke="currentColor"></path></svg>`},"data-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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" stroke-miterlimit="10"></path></svg>`},"database-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M2 3.80371V11.7848" stroke="currentColor"></path><path d="M14 3.80371V11.7848" stroke="currentColor"></path><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"></path><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"></path></svg>`},"clock-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M8 4.31V8.46L11 10.08" stroke="currentColor"></path></svg>`},"gauge-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M8 8.49994L11.6114 4.88855" stroke="currentColor"></path><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"></path></svg>`},"send-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M7.97571 14.5732L8.02421 2.34139" stroke="currentColor"></path></svg>`},"queue-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M5 6.75H11" stroke="currentColor"></path><path d="M5 9H8" stroke="currentColor"></path><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"></path></svg>`},"checklist-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><path d="M7.5 4.5H13.5" stroke="currentColor"></path><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"></path><path d="M7.5 11.5H13.5" stroke="currentColor"></path></svg>`},"list-pen-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><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"></path><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"></path><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"></path></svg>`},"goal-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><path d="M8.00024 7.99976L11.2 4.80005" stroke="currentColor"></path><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"></path></svg>`},sparkle:{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path></svg>`},"inspect-outline":{size:12,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><path d="M9.56222 3.62573L6.43774 12.3743" stroke="currentColor"></path></svg>`},"skill-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" fill="none" stroke-width="${e}"><path d="M4.57788 5.77124H10.7029" stroke="currentColor"></path><path d="M4.57788 8.89819H7.91879" stroke="currentColor"></path><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"></path><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"></path></svg>`},"question-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><path d="M8 10.7416V11.7416" stroke="currentColor"></path></svg>`},"info-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke-width="${e}"><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"></path><path d="M7.6127 3.18921V4.55986H6.38735V3.18921H7.6127Z" fill="currentColor"></path><path d="M7.6127 5.68921V10.8109H6.38735V5.68921H7.6127Z" fill="currentColor"></path></svg>`},"plugin-pinwheel-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><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"></path><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"></path></svg>`},"alarm-clock-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" fill="none" stroke-width="${e}"><path d="M4.09372 11.9895L3.11865 14.0387" stroke="currentColor"></path><path d="M12.1392 11.9895L13.1143 14.0387" stroke="currentColor"></path><path d="M8.11646 4.78442V8.03442L10.6165 9.53442" stroke="currentColor"></path><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"></path><path d="M1.75952 4.74323C2.30657 3.65639 3.12646 2.73047 4.12926 2.05542" stroke="currentColor"></path><path d="M14.3345 4.74323C13.7874 3.65639 12.9675 2.73047 11.9647 2.05542" stroke="currentColor"></path></svg>`},"archive-outline":{size:20,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path><path d="M6.5 9.5H9.5" stroke="currentColor"></path></svg>`},"wrap-lines-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M2.3457 3.19299H13.6541" stroke="currentColor"></path><path d="M2.3457 7.46497H9.19332" stroke="currentColor"></path><path d="M2.3457 11.7369H6.4849" stroke="currentColor"></path><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"></path><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"></path></svg>`},"nowrap-fill":{size:16,svg:()=>'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M2 15H1V1H2V15Z" fill="currentColor"></path><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"></path><path d="M15 15H14V1H15V15Z" fill="currentColor"></path></svg>'},"wrap-fill":{size:16,svg:()=>'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><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"></path><path d="M2 15H1V1H2V15Z" fill="currentColor"></path><path d="M15 15H14V1H15V15Z" fill="currentColor"></path></svg>'},"compare-split-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"plan-outline":{size:14,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="M4.9375 5.90295H11.0625" stroke="currentColor"></path><path d="M4.9375 9.02991H8.27841" stroke="currentColor"></path><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"></path><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"></path><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"></path></svg>`},"compact-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"shield-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><path d="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" stroke="currentColor" stroke-linejoin="round"></path></svg>`},"check-circle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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"></path><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"></path></svg>`},"unarchive-outline":{size:20,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke-width="${e}"><path fill-rule="evenodd" clip-rule="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"></path><path d="M10 14.1V10.1M7.85 12.05L10 9.9L12.15 12.05" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path></svg>`},"pin-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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" stroke-linejoin="round"></path><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"></path></svg>`},"pin-fill":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke-width="${e}"><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" stroke-linejoin="round"></path><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"></path></svg>`},"flat-list-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M6 3.5h7.5M6 8h7.5M6 12.5h7.5"></path><path d="M2.6 3.5h.01M2.6 8h.01M2.6 12.5h.01"></path></svg>`},"workspace-tree-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><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"></path><path d="M8.7 8.1v3M11.2 8.1v3"></path></svg>`},"chevrons-up-down-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><path d="m5.1 6 2.9-2.9L10.9 6"></path><path d="m5.1 10 2.9 2.9 2.9-2.9"></path></svg>`},"drag-handle-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M4 5h8M4 8h8M4 11h8"></path></svg>`},"archive-off-outline":{size:16,svg:e=>e===el?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><mask id="dsw-icon-archive-off-outline-medium-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><rect x="0" y="0" width="16" height="16" fill="white" stroke="none"></rect><path d="m2.2 1.3 11.6 12.8" stroke="black" stroke-width="4.3"></path></mask><g mask="url(#dsw-icon-archive-off-outline-medium-mask)"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><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"></path></g><path d="m2.2 1.3 11.6 12.8"></path></svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><mask id="dsw-icon-archive-off-outline-regular-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="16" height="16"><rect x="0" y="0" width="16" height="16" fill="white" stroke="none"></rect><path d="m2.2 1.3 11.6 12.8" stroke="black" stroke-width="4"></path></mask><g mask="url(#dsw-icon-archive-off-outline-regular-mask)"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><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"></path></g><path d="m2.2 1.3 11.6 12.8"></path></svg>`},"archive-check-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="${e}"><rect x="1.9" y="2.1" width="12.2" height="3.4" rx="1.1"></rect><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"></path><path d="m6 9.35 1.4 1.4 2.6-2.6"></path></svg>`},"sliders-two-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="${e}"><path d="M2.3 5h5.85M12.05 5h1.65"></path><circle cx="9.95" cy="5" r="1.45"></circle><path d="M2.3 11h1.65M7.85 11h5.85"></path><circle cx="5.75" cy="11" r="1.45"></circle></svg>`},"microphone-outline":{size:16,svg:e=>e===el?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="5.15" y="1.65" width="5.7" height="8.7" rx="2.85"></rect><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"></path></svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="5" y="1.5" width="6" height="9" rx="3"></rect><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"></path></svg>`},"apps-add-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="2.25" y="2.25" width="4" height="4" rx="1"></rect><rect x="2.25" y="9.75" width="4" height="4" rx="1"></rect><rect x="9.75" y="9.75" width="4" height="4" rx="1"></rect><path d="M11.75 1.75v5M9.25 4.25h5"></path></svg>`},"apps-add-compact-outline":{size:16,svg:e=>`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="${e}"><rect x="2.75" y="2.75" width="4" height="4" rx="1"></rect><rect x="2.75" y="9.25" width="4" height="4" rx="1"></rect><rect x="9.25" y="9.25" width="4" height="4" rx="1"></rect><path d="M11.25 2.25v5M8.75 4.75h5"></path></svg>`}},gf={regular:H5,medium:el};function Z2(e,n){return`dsw-icon-${e}-${n}`}const Q2=Object.freeze(Object.fromEntries(Object.entries(q2).flatMap(([e,n])=>Object.keys(gf).map(r=>[Z2(e,r),n.svg(gf[r])]))));function Re(e,n){const{size:r,aspect:[o,l]=[1,1]}=q2[e],a=Z2(e,n);return({size:u=r,className:d})=>b.jsx("svg",{width:u*o/l,height:u,className:d,"data-icon":a,"aria-hidden":"true",children:b.jsx("use",{href:`#${a}`})})}Re("search-outline","regular");Re("globe-outline","regular");Re("ellipsis-outline","regular");const B5=Re("check-outline","regular"),V5=Re("chevron-down-outline","regular");Re("chevron-left-outline","regular");Re("chevron-right-outline","regular");const W5=Re("chevron-up-outline","regular"),U5=Re("close-outline","regular"),q5=Re("copy-outline","regular");Re("refresh-outline","regular");Re("edit-outline","regular");Re("think-outline","regular");Re("browse-outline","regular");Re("context-injection-outline","regular");Re("warning-outline","regular");const Z5=Re("loading-outline","regular");Re("api-outline","regular");Re("database-outline","regular");Re("clock-outline","regular");Re("gauge-outline","regular");Re("checklist-outline","regular");Re("inspect-outline","regular");Re("question-outline","regular");Re("wrap-lines-outline","regular");const Q5=Re("nowrap-fill","regular"),G5=Re("wrap-fill","regular");Re("check-circle-outline","regular");function G2(e){const n=Re("apps-add-outline",e),r=Re("apps-add-compact-outline",e);return({compact:o=!1,...l})=>o?b.jsx(r,{...l}):b.jsx(n,{...l})}G2("regular");G2("medium");const K5="_pill_186am_2",Y5="_interactive_186am_17",X5="_active_186am_27",ao={pill:K5,interactive:Y5,active:X5};function L1({active:e=!1,className:n,children:r,onClick:o,...l}){return o?b.jsx("button",{type:"button",className:Ze(ao.pill,ao.interactive,e&&ao.active,n),onClick:o,...l,children:r}):b.jsx("span",{className:Ze(ao.pill,e&&ao.active,n),children:r})}const J5="_wrap_8qpd5_2",e6="_icon_8qpd5_17",t6="_input_8qpd5_26",xu={wrap:J5,icon:e6,input:t6},n6=I.forwardRef(function({icon:n,className:r,...o},l){return b.jsxs("span",{className:Ze(xu.wrap,r),children:[n!=null&&b.jsx("span",{className:xu.icon,children:n}),b.jsx("input",{ref:l,className:xu.input,...o})]})}),r6="_keys_1vfyv_2",i6="_key_1vfyv_2",o6="_tooltip_1vfyv_21",s6="_separator_1vfyv_31",l6="_joined_1vfyv_33",uo={keys:r6,key:i6,tooltip:o6,separator:s6,joined:l6};function a6({keys:e,variant:n="plain",className:r}){return b.jsx("span",{className:Ze(uo.keys,n==="tooltip"&&uo.tooltip,n==="tooltip"&&e.includes("+")&&uo.joined,r),children:e.map((o,l)=>b.jsx("kbd",{className:o==="+"?uo.separator:uo.key,children:o},l))})}const u6={right:"left",left:"right",top:"bottom",bottom:"top"};function c6(e){const{anchor:n,viewportWidth:r,viewportHeight:o,side:l,align:a,gap:u}=e;let{width:d,height:p}=e;const h=12,g=Math.max(0,r-h*2),w=Math.max(0,o-h*2);d=Math.min(d,g),p=Math.min(p,w);const k=Z=>Math.max(h,Math.min(Z,r-h-d)),v=Z=>Math.max(h,Math.min(Z,o-h-p)),_=l==="right"||l==="left",E=[l,u6[l],..._?["bottom","top"]:["right","left"]],O={right:{left:n.right+10,top:v((n.top+n.bottom-p)/2)},left:{left:n.left-10-d,top:v((n.top+n.bottom-p)/2)},bottom:{left:k(a==="end"?n.right-d:(n.left+n.right-d)/2),top:n.bottom+u},top:{left:k(a==="end"?n.right-d:(n.left+n.right-d)/2),top:n.top-u-p}};for(const Z of E){const D=O[Z];if(D.left>=h&&D.top>=h&&D.left+d<=r-h&&D.top+p<=o-h)return{...D,side:Z,width:d,height:p,overflow:!1}}const F=O[l];return{left:k(F.left),top:v(F.top),side:l,width:d,height:p,overflow:!0}}function d6(e,n,r,o){I.useEffect(()=>{if(!n)return;const l=a=>{a.target instanceof Node&&e.current?.contains(a.target)!==!0&&o?.current?.contains(a.target)!==!0&&r(!1)};return document.addEventListener("pointerdown",l),()=>{document.removeEventListener("pointerdown",l)}},[e,n,r,o])}const f6="_bubble_1mtbi_2",h6="_label_1mtbi_32",wf={bubble:f6,label:h6},vf={pointer:"pointer",keyboard:"keyboard"},p6="data-input-modality",m6=new Set(["Tab","Home","End","PageUp","PageDown"]);let Qu=!1,vo=!1,Pr;function Cu(){document.documentElement.setAttribute(p6,vo?vf.pointer:vf.keyboard)}function g6(){return Qu}typeof window<"u"&&(window.addEventListener("pointerdown",()=>{Qu=!0,vo=!0,Pr=void 0,Cu()},!0),window.addEventListener("keydown",e=>{if(Qu=!1,e.isComposing){Pr=void 0;return}Pr=e.composedPath()[0],!(!m6.has(e.key)&&!e.key.startsWith("Arrow"))&&(vo=!1,Cu())},!0),window.addEventListener("focusin",e=>{Pr===void 0||e.composedPath()[0]===Pr||(Pr=void 0,vo&&(vo=!1,Cu()))},!0),window.addEventListener("blur",()=>{Pr=void 0}));const yf=I.createContext(null);function w6(e){return[e,...e.querySelectorAll("*")].some(n=>n instanceof HTMLElement&&n.scrollWidth>n.clientWidth)}function kf({label:e,shortcutKeys:n,side:r="right",align:o="center",delayMs:l=0,focusDelayMs:a=0,gap:u=8,disabled:d=!1,portal:p=!1,maxWidth:h,openOnClick:g=!1,onlyWhenClipped:w=!1,children:k}){const v=I.useId(),[_,E]=I.useState(!1),O=I.useRef(null),F=k.ref,Z=I.useCallback(M=>{O.current=M,typeof F=="function"?F(M):F!=null&&(F.current=M)},[F]),[D,B]=I.useState(null),ee=I.useRef(null),j=D===null?null:typeof e=="function"?e():e,H=I.useRef(null),G=I.useRef({hover:!1,focus:!1}),le=I.useContext(yf),[P,K]=I.useState(!1),X=I.useCallback(M=>{le?.(M)},[le]),ie=D!==null&&!d;I.useEffect(()=>{const M=ee.current;if(D===null||!ie||P||M===null)return;let A,C=D;const pe=()=>{if(A===void 0)return;const be=c6({anchor:C,width:A.inlineSize,height:A.blockSize,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight,side:r,align:o,gap:u}),te=be.side==="right"||be.side==="left",xe=te?0:o==="end"?be.width:be.width/2,Ie=te?be.height/2:be.side==="top"?be.height:0;M.style.left=`${be.left+xe}px`,M.style.top=`${be.top+Ie}px`,M.dataset.side=be.side,M.style.visibility="visible"},we=()=>{O.current!==null&&(C=O.current.getBoundingClientRect()),pe()},ae=new ResizeObserver(be=>{A=be[0]?.borderBoxSize[0],pe()});return ae.observe(M,{box:"border-box"}),window.addEventListener("resize",we),()=>{ae.disconnect(),window.removeEventListener("resize",we)}},[o,u,D,r,P,ie]),I.useEffect(()=>(X(ie),()=>{X(!1)}),[X,ie]);const me=I.useCallback(()=>{H.current!==null&&(clearTimeout(H.current),H.current=null)},[]);I.useEffect(()=>(_&&(d||!g)&&E(!1),d&&(me(),G.current={hover:!1,focus:!1},B(null)),me),[me,d,g,_]);const oe=()=>{if(d)return;const M=O.current;M!==null&&(w&&!w6(M)||(B(M.getBoundingClientRect()),X(!0)))},ge=M=>{if(me(),M<=0){oe();return}H.current=setTimeout(()=>{H.current=null,oe()},M)},de=I.useCallback(()=>{E(!1),B(null),X(!1)},[X]),V=()=>{me(),!G.current.hover&&!G.current.focus&&!_&&de()},ne=I.useCallback(()=>{me(),G.current={hover:!1,focus:!1},de()},[me,de]);d6(O,g&&ie,ne,ee),I.useEffect(()=>{if(!g||!ie)return;const M=A=>{A.key!=="Escape"&&A.key!=="Tab"||(A.key==="Escape"&&(A.preventDefault(),A.stopPropagation()),ne())};return document.addEventListener("keydown",M,!0),()=>{document.removeEventListener("keydown",M,!0)}},[ne,g,ie]);const x=ie&&!P&&b.jsxs("span",{ref:ee,id:g?v:void 0,className:wf.bubble,"data-side":r,"data-portal":p||void 0,"data-pinned":_||void 0,"data-align":o,"data-has-shortcut":n?.length?!0:void 0,style:{left:D.left,top:D.top,visibility:"hidden",...h===void 0?{}:{maxWidth:`min(${h}px, calc(100vw - 24px))`}},role:"tooltip","aria-label":n?.length?[j,n.join(" ")].filter(Boolean).join(" "):void 0,children:[j&&b.jsx("span",{className:wf.label,children:j}),n!==void 0&&n.length>0&&b.jsx(a6,{keys:n,variant:"tooltip"})]});return b.jsxs(yf.Provider,{value:K,children:[I.cloneElement(k,{ref:Z,"aria-describedby":g&&ie?[k.props["aria-describedby"],v].filter(Boolean).join(" "):k.props["aria-describedby"],onPointerEnter:M=>{k.props.onPointerEnter?.(M),M.pointerType!=="touch"&&(M.pointerType==="mouse"&&!window.matchMedia("(any-hover: hover)").matches||(G.current.hover=!0,ge(l)))},onPointerLeave:M=>{k.props.onPointerLeave?.(M),G.current.hover=!1,me(),_||de()},onPointerDown:M=>{k.props.onPointerDown?.(M),M.pointerType==="touch"&&!_&&ne()},onClick:M=>{k.props.onClick?.(M),G.current.focus=!1,me(),g&&!d&&!_?(E(!0),oe()):de()},onFocus:M=>{k.props.onFocus?.(M),!g6()&&(G.current.focus=!0,ge(a))},onBlur:M=>{k.props.onBlur?.(M),G.current.focus=!1,V()}}),p?x!==!1&&Lo.createPortal(x,document.body):x]})}const v6="_root_1yu33_2",y6="_content_1yu33_12",k6="_text_1yu33_18",b6="_decoration_1yu33_26",x6="_sweep_1yu33_35",C6="_highlight_1yu33_55",Rr={root:v6,content:y6,text:k6,decoration:b6,sweep:x6,highlight:C6},Qs=I.createContext(void 0);function bf({children:e,className:n}){const o=I.useContext(Qs)===!0&&typeof e=="string";return b.jsx("span",{className:Ze(Rr.text,n),"data-shimmer-text":o?e:void 0,children:o?null:e})}const xf=I.memo(function({children:n,active:r=!1,className:o,contentClassName:l}){if(I.useContext(Qs)!==void 0)return b.jsx(bf,{className:o,children:n});const u=typeof n=="string"?b.jsx(bf,{children:n}):n;return b.jsxs("span",{className:Ze(Rr.root,o),"data-shimmer":r||void 0,children:[b.jsx(Qs.Provider,{value:!1,children:b.jsx("span",{className:Ze(Rr.content,l),children:u})}),r&&b.jsx("span",{className:Rr.decoration,"aria-hidden":"true",inert:"",children:b.jsx("span",{className:Rr.sweep,children:b.jsx(Qs.Provider,{value:!0,children:b.jsx("span",{className:Ze(Rr.content,Rr.highlight,l),children:u})})})})]})}),S6="_root_1d179_10",_6="_header_1d179_17",E6="_row_1d179_27",M6="_leading_1d179_53",z6="_iconIdle_1d179_81",L6="_chevronHover_1d179_87",j6="_title_1d179_105",cr={root:S6,header:_6,row:E6,leading:M6,iconIdle:z6,chevronHover:L6,title:j6};I.memo(function({icon:n,title:r,open:o,expandable:l,onToggle:a,running:u=!1,expandOnRowClick:d=!1,previewChevron:p=l,keepContentWhenOpen:h=!1,collapsedContent:g,headerAccessory:w,children:k,className:v,rowClassName:_,contentClassName:E,contentLayoutClassName:O,leadingClassName:F,chevronClassName:Z,titleClassName:D}){const B=l&&d,ee=le=>{le.stopPropagation(),a()},j=le=>{!B||le.key!=="Enter"&&le.key!==" "||(le.preventDefault(),a())},H=p?b.jsxs(b.Fragment,{children:[b.jsx("span",{className:cr.iconIdle,children:n}),b.jsx(V5,{className:Ze(Z,cr.chevronHover)})]}):n,G=o?b.jsx(W5,{className:Z}):H;return b.jsxs("div",{className:Ze(cr.root,v),"data-open":o||void 0,children:[b.jsxs("div",{className:cr.header,"data-disclosure-header":!0,"data-has-accessory":!!w||void 0,children:[b.jsxs("div",{className:Ze(cr.row,_),"data-disclosure-row":!0,"data-expandable":B||void 0,role:B?"button":void 0,tabIndex:B?0:void 0,"aria-expanded":B?o:void 0,onClick:B?a:void 0,onKeyDown:B?j:void 0,children:[l&&!B?b.jsx("button",{type:"button",className:Ze(cr.leading,F),"aria-label":r,"aria-expanded":o,onClick:ee,children:G}):b.jsx("span",{className:Ze(cr.leading,F),children:G}),b.jsxs(xf,{active:u,className:E,contentClassName:O,children:[b.jsx(xf,{className:Ze(cr.title,D),children:r}),(h||!o)&&g]})]}),w]}),o&&k]})});function I6(e){return()=>{}}function Cf(){return 0}const F6="_header_12mcc_11",O6="_heading_12mcc_24",P6="_language_12mcc_31",T6="_title_12mcc_37",R6="_actions_12mcc_44",N6="_status_12mcc_51",$6="_action_12mcc_44",dr={header:F6,heading:O6,language:P6,title:T6,actions:R6,status:N6,action:$6};function A6({lang:e,title:n,status:r,labels:o,copyLabel:l,copiedLabel:a,copied:u,wrapped:d,onCopy:p,onWrap:h}){const g=d?o.unwrapLabel:o.wrapLabel,w=u?a:l;return b.jsxs("div",{className:dr.header,"data-code-block-banner":!0,children:[b.jsxs("div",{className:dr.heading,children:[b.jsx("span",{className:dr.language,children:o.codeLabel}),n!==void 0&&b.jsx("span",{className:dr.title,title:n,children:n})]}),b.jsxs("div",{className:dr.actions,children:[r!==void 0&&b.jsx("span",{className:dr.status,children:r}),h!==void 0&&b.jsx(kf,{label:g,side:"top",portal:!0,children:b.jsx("button",{type:"button",className:dr.action,"aria-label":o.wrapLabel,"aria-pressed":d,onClick:h,children:d?b.jsx(Q5,{size:14}):b.jsx(G5,{size:14})})}),p!==void 0&&b.jsx(kf,{label:w,side:"top",portal:!0,children:b.jsx("button",{type:"button",className:dr.action,"aria-label":w,onClick:p,children:u?b.jsx(B5,{size:14}):b.jsx(q5,{size:14})})})]})]})}const D6=({size:e=14,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.jsx("path",{d:"M2.34619 8H13.6538",stroke:"currentColor",strokeLinecap:"square"}),b.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"}),b.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"})]}),H6=({size:e=14,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.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"}),b.jsx("path",{d:"M9.56222 3.62573L6.43774 12.3743",stroke:"currentColor"})]}),B6=({size:e=16,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.jsx("path",{d:"M3.63501 7.66614H12.3647",stroke:"currentColor"})]}),V6="_markdown_pqaox_6",W6="_fileLink_pqaox_60",U6="_fileMention_pqaox_93",q6="_linkIcon_pqaox_102",Z6="_fenceSeat_pqaox_147",Q6="_tableScroll_pqaox_200",G6="_tableFill_pqaox_253",K6="_imageAlt_pqaox_301",Y6="_image_pqaox_301",X6="_compact_pqaox_352",J6="_imageButton_pqaox_472",e9="_previewName_pqaox_484",St={markdown:V6,fileLink:W6,fileMention:U6,linkIcon:q6,fenceSeat:Z6,tableScroll:Q6,tableFill:G6,imageAlt:K6,image:Y6,compact:X6,imageButton:J6,previewName:e9},t9=200;function n9(e){const n=I.useRef(null),r=I.useRef(e);r.current=e;const o=I.useCallback(()=>{n.current!==null&&(clearTimeout(n.current),n.current=null)},[]),l=I.useCallback(()=>{o(),n.current=setTimeout(()=>{n.current=null,r.current()},t9)},[o]);return I.useEffect(()=>o,[o]),{arm:l,cancel:o}}const r9="_surface_1rvpi_2",i9="_backing_1rvpi_3",o9="_compact_1rvpi_7",s9="_material_1rvpi_22",co={surface:r9,backing:i9,compact:o9,material:s9},Su=Object.freeze({enter:40,dismiss:80,replace:10,prepare:20});I.forwardRef(function({compact:n=!1,phase:r,className:o,style:l,children:a,...u},d){const p=I.useId(),h=I.useRef(null);I.useLayoutEffect(()=>{document.body.appendChild(h.current)},[]);const g={"--dsh-menu-anchor":`--dsh-menu-${p.replaceAll(":","")}`,"--dsh-menu-enter":`${Su.enter}ms`,"--dsh-menu-dismiss":`${Su.dismiss}ms`,"--dsh-menu-replace":`${Su.replace}ms`};return b.jsxs(b.Fragment,{children:[b.jsxs("div",{...u,ref:d,"data-menu-material":"translucent","data-menu-phase":r,className:Ze(co.surface,n&&co.compact,o),style:{...l,...g},children:[b.jsx("div",{"aria-hidden":"true",className:co.material}),a]}),Lo.createPortal(b.jsx("div",{ref:h,"aria-hidden":"true","data-menu-backing":"","data-menu-phase":r,className:Ze(co.backing,n&&co.compact),style:{...g,visibility:l?.visibility}}),document.body)]})});async function K2(e){if(navigator.clipboard?.writeText)try{return await navigator.clipboard.writeText(e),!0}catch{return!1}const n=typeof document.execCommand=="function"?document.execCommand.bind(document):void 0;if(n===void 0)return!1;const r=document.createElement("textarea");r.value=e,r.setAttribute("readonly",""),r.style.position="fixed",r.style.left="-9999px",document.body.appendChild(r),r.select();try{return n("copy")}catch{return!1}finally{r.remove()}}const l9={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"]},Y2=new Map(Object.entries(l9).flatMap(([e,n])=>n.map(r=>[r,e])));[...Y2.keys()];function a9(e){const n=Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\")),r=e.slice(n+1),o=r.lastIndexOf(".");return o<0?void 0:r.slice(o+1).toLowerCase()}function u9(e){const n=a9(e);return n===void 0?void 0:Y2.get(n)}const c9=2;function Sf(e,n,r){const o=e.position?.start.offset;return o===void 0?-(r+1):n+o}function d9(e,n){for(let r=n;r<e.length;r+=1){const o=e[r];if(o===`
68
+ `)return r+1;if(o==="\r")return e[r+1]===`
69
+ `?r+2:r+1}}function _f(e){let n=0,r=0;for(let o=0;o<e.length;o+=1){const l=e[o];if(l===`
70
+ `){n=r,r=o+1;continue}l!=="\r"||o+1>=e.length||(e[o+1]===`
71
+ `&&(o+=1),n=r,r=o+1)}return n}function Ef(e){return e.endsWith(`\r
72
+ `)?`\r
73
+ `:e.endsWith("\r")?"\r":`
74
+ `}function Mf(e,n,r){let o=0;for(;o<=e.length;){let l=o;for(;l<e.length&&e[l]!==`
75
+ `&&e[l]!=="\r";)l+=1;const a=e.slice(o,l);let u=0;for(;u<3&&a[u]===" ";)u+=1;let d=u;for(;a[d]===n;)d+=1;if(d-u>=r&&/^[ \t]*$/.test(a.slice(d)))return!0;if(l===e.length)return!1;o=e[l]==="\r"&&e[l+1]===`
76
+ `?l+2:l+1}return!1}function f9(e,n,r){let o=e.line,l=e.column,a=r;for(const u of n){if(u===`
77
+ `){a||(o+=1),l=1,a=!1;continue}if(u==="\r"){o+=1,l=1,a=!0;continue}l+=1,a=!1}return{line:o,column:l,offset:e.offset+n.length}}class h9{constructor(n){this.parse=n}prevText="";tailStart=0;frozen=[];generation=0;cached=null;openFence=null;fenceValue(n,r){const o=this.parse(`${n.syntheticPrefix}${r}`);if(o.children.length!==1)return;const l=o.children[0];return l.type==="code"?l.value:void 0}openFenceState(n,r,o,l){const a=o.length-1,u=o[a];if(u?.node.type!=="code")return null;const d=u.node,p=d.position?.start.offset,h=d.position?.end;if(p===void 0||h?.offset===void 0||r+h.offset!==n.length)return null;const g=n.slice(r),w=g.lastIndexOf(`
78
+ `,p-1),k=g.lastIndexOf("\r",p-1),v=Math.max(w,k)+1,_=d9(g,p);if(_===void 0||_===g.length&&g.endsWith("\r"))return null;const E=g.slice(v,_).replace(/[\r\n]+$/,""),O=/^( {0,3})(`{3,}|~{3,})/.exec(E);if(O===null)return null;const F=O[1],Z=O[2];if(v+F.length!==p)return null;const D=Z[0],B=r+_,ee=n.slice(B);if(Mf(ee,D,Z.length))return null;const j=`${F}${Z}
79
+ `,H=_f(ee),G=H===0?"":this.fenceValue({syntheticPrefix:j},ee.slice(0,H));if(G===void 0)return null;const le=B+H,P=ee.slice(0,H),K=H===0?"":`${G}${Ef(P)}`,X=this.fenceValue({syntheticPrefix:j},n.slice(le));return X===void 0||`${K}${X}`!==d.value?null:{marker:D,markerLength:Z.length,syntheticPrefix:j,codeIndex:a,frozen:l,tail:o,pendingStart:le,valuePrefix:K,end:{line:h.line,column:h.column,offset:h.offset},endedWithCarriageReturn:n.endsWith("\r")}}updateOpenFence(n,r,o){const l=r.slice(n.pendingStart);if(Mf(l,n.marker,n.markerLength))return;const a=this.fenceValue(n,l);if(a===void 0)return;const u=_f(l),d=u===0?"":this.fenceValue(n,l.slice(0,u));if(d===void 0)return;const h=n.tail[n.codeIndex].node,g=f9(n.end,r.slice(o.length),n.endedWithCarriageReturn),w={...h,value:`${n.valuePrefix}${a}`,position:{start:h.position.start,end:g}},k=n.tail.map((_,E)=>E===n.codeIndex?{..._,node:w}:_),v={frozen:n.frozen,tail:k,generation:this.generation};return this.openFence={...n,tail:k,pendingStart:n.pendingStart+u,valuePrefix:u===0?n.valuePrefix:`${n.valuePrefix}${d}${Ef(l.slice(0,u))}`,end:g,endedWithCarriageReturn:r.endsWith("\r")},v}update(n){if(this.cached!==null&&n===this.prevText)return this.cached;n.startsWith(this.prevText)||(this.prevText="",this.tailStart=0,this.frozen=[],this.openFence=null,this.generation+=1);const r=this.prevText;if(r!==""&&this.openFence!==null){const d=this.updateOpenFence(this.openFence,n,r);if(d!==void 0)return this.prevText=n,this.cached=d,d;this.openFence=null}this.prevText=n;const o=this.tailStart,l=this.parse(n.slice(o)).children;let a=Math.max(0,l.length-c9);if(a>0){const d=l[a-1]?.position?.end.offset;if(d===void 0)a=0;else{for(const p of l.slice(0,a))this.frozen.push({node:p,key:Sf(p,o,this.frozen.length)});this.tailStart=o+d}}const u=l.slice(a).map((d,p)=>({node:d,key:Sf(d,o,p)}));return this.cached={frozen:[...this.frozen],tail:u,generation:this.generation},this.openFence=this.openFenceState(n,o,u,this.cached.frozen),this.cached}}const p9=["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"],m9=new Set(p9),g9=new Map(Object.entries({".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"})),w9=[["dockerfile.","docker"],[".env.","env"]],v9=[[".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"]],y9=new Map(Object.entries({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"})),k9=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 b9(e){return m9.has(e)}function x9(e){return k9.has(e.toLowerCase())}function C9(e,n,r){const o=g9.get(e);if(o!==void 0)return o;for(const[l,a]of w9)if(e.startsWith(l))return a;for(const[l,a]of v9)if(e.endsWith(l))return a;return y9.get(n)??null}const S9=new Map(Object.entries({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"})),_9=new Map(Object.entries({changelog:"markdown",contributing:"markdown",readme:"markdown"}));function X2(e){return e.slice(Math.max(e.lastIndexOf("/"),e.lastIndexOf("\\"))+1)}function J2(e){const n=X2(e),r=n.lastIndexOf(".");return r<0?"":n.slice(r+1)}function eh(e,n){const r=X2(e).toLowerCase(),o=J2(r).toLowerCase();return C9(r,o)??_9.get(r)??S9.get(o)??"other"}function th(e,n){const r=o=>{if(o.type==="paragraph"&&o.children.length===1){const[l]=o.children;if(l.type==="text"&&l.position!==void 0&&n.slice(l.position.start.offset,l.position.end.offset)===l.value){const u=/^!\[([^\]\n]*)\]\(((?:\/(?!\/)|\.{1,2}\/|[a-z]:[\\/])[^\n<>()[\]"']+\.[a-z\d]+)\)$/iu.exec(l.value);u!==null&&u[2].includes(" ")&&eh(u[2])==="image"&&(o.children=[{type:"image",alt:u[1],url:u[2],position:l.position}])}}else if("children"in o)for(const l of o.children)r(l)};return r(e),e}const E9={};function M9(e,n){const r=E9,o=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,l=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return nh(e,o,l)}function nh(e,n,r){if(z9(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return zf(e.children,n,r)}return Array.isArray(e)?zf(e,n,r):""}function zf(e,n,r){const o=[];let l=-1;for(;++l<e.length;)o[l]=nh(e[l],n,r);return o.join("")}function z9(e){return!!(e&&typeof e=="object")}const Lf=document.createElement("i");function j1(e){const n="&"+e+";";Lf.innerHTML=n;const r=Lf.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===n?!1:r}function gn(e,n,r,o){const l=e.length;let a=0,u;if(n<0?n=-n>l?0:l+n:n=n>l?l:n,r=r>0?r:0,o.length<1e4)u=Array.from(o),u.unshift(n,r),e.splice(...u);else for(r&&e.splice(n,r);a<o.length;)u=o.slice(a,a+1e4),u.unshift(n,0),e.splice(...u),a+=1e4,n+=1e4}function nn(e,n){return e.length>0?(gn(e,e.length,0,n),e):n}const jf={}.hasOwnProperty;function rh(e){const n={};let r=-1;for(;++r<e.length;)L9(n,e[r]);return n}function L9(e,n){let r;for(r in n){const l=(jf.call(e,r)?e[r]:void 0)||(e[r]={}),a=n[r];let u;if(a)for(u in a){jf.call(l,u)||(l[u]=[]);const d=a[u];j9(l[u],Array.isArray(d)?d:d?[d]:[])}}}function j9(e,n){let r=-1;const o=[];for(;++r<n.length;)(n[r].add==="after"?e:o).push(n[r]);gn(e,0,0,o)}function ih(e,n){const r=Number.parseInt(e,n);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function wn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lt=wr(/[A-Za-z]/),_t=wr(/[\dA-Za-z]/),I9=wr(/[#-'*+\--9=?A-Z^-~]/);function tl(e){return e!==null&&(e<32||e===127)}const Gu=wr(/\d/),F9=wr(/[\dA-Fa-f]/),O9=wr(/[!-/:-@[-`{-~]/);function ke(e){return e!==null&&e<-2}function De(e){return e!==null&&(e<0||e===32)}function Ee(e){return e===-2||e===-1||e===32}const Si=wr(/\p{P}|\p{S}/u),Hr=wr(/\s/);function wr(e){return n;function n(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function I1(e){const n=[];let r=-1,o=0,l=0;for(;++r<e.length;){const a=e.charCodeAt(r);let u="";if(a===37&&_t(e.charCodeAt(r+1))&&_t(e.charCodeAt(r+2)))l=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const d=e.charCodeAt(r+1);a<56320&&d>56319&&d<57344?(u=String.fromCharCode(a,d),l=1):u="�"}else u=String.fromCharCode(a);u&&(n.push(e.slice(o,r),encodeURIComponent(u)),o=r+l+1,u=""),l&&(r+=l,l=0)}return n.join("")+e.slice(o)}function Te(e,n,r,o){const l=o?o-1:1/0;let a=0;return u;function u(p){return Ee(p)?(e.enter(r),d(p)):n(p)}function d(p){return Ee(p)&&a++<l?(e.consume(p),d):(e.exit(r),n(p))}}function oh(e,n,r,o,l,a){let u=0;return d;function d(g){return Ee(g)?(e.enter(o),p(g)):h(g)}function p(g){return Ee(g)&&u<a?(e.consume(g),u++,p):(e.exit(o),h(g))}function h(g){return u>=l?n(g):r(g)}}const P9={tokenize:T9};function T9(e){const n=e.attempt(this.parser.constructs.contentInitial,o,l);let r;return n;function o(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Te(e,n,"linePrefix")}function l(d){return e.enter("paragraph"),a(d)}function a(d){const p=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=p),r=p,u(d)}function u(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return ke(d)?(e.consume(d),e.exit("chunkText"),a):(e.consume(d),u)}}let nl=class{constructor(){this.index=new Map,this.map=[]}add(n,r,o){If(this,n,r,o,!1)}addBefore(n,r,o){If(this,n,r,o,!0)}consume(n){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const o=[];for(;r>0;)r-=1,o.push(n.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),n.length=this.map[r][0];o.push(n.slice()),n.length=0;let l=o.pop();for(;l;){for(const a of l)n.push(a);l=o.pop()}this.map.length=0,this.index.clear()}};function If(e,n,r,o,l){if(r===0&&o.length===0)return;const a=e.index.get(n);if(a){a[1]+=r,l?(o.push(...a[2]),a[2]=o):a[2].push(...o);return}const u=[n,r,o];e.map.push(u),e.index.set(n,u)}const R9={tokenize:N9},Ff={tokenize:$9};function N9(e){const n=this,r=[];let o=0,l,a,u;return d;function d(D){if(o<r.length){const B=r[o];return n.containerState=B[1],e.attempt(B[0].continuation,p,h)(D)}return h(D)}function p(D){if(o++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,l&&Z();const B=n.events.length;let ee=B,j;for(;ee--;)if(n.events[ee][0]==="exit"&&n.events[ee][1].type==="chunkFlow"){j=n.events[ee][1].end;break}F(o);let H=B;for(;H<n.events.length;)n.events[H][1].end={...j},H++;const G=new nl;return G.add(ee+1,0,n.events.slice(B)),G.add(B,H-B,[]),G.consume(n.events),h(D)}return d(D)}function h(D){if(o===r.length){if(!l)return k(D);if(l.currentConstruct&&l.currentConstruct.concrete)return _(D);n.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Ff,g,w)(D)}function g(D){return l&&Z(),F(o),k(D)}function w(D){return n.parser.lazy[n.now().line]=o!==r.length,u=n.now().offset,_(D)}function k(D){return n.containerState={},e.attempt(Ff,v,_)(D)}function v(D){return o++,r.push([n.currentConstruct,n.containerState]),k(D)}function _(D){if(D===null){l&&Z(),F(0),e.consume(D);return}return l=l||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:a}),E(D)}function E(D){if(D===null){O(e.exit("chunkFlow"),!0),F(0),e.consume(D);return}return ke(D)?(e.consume(D),O(e.exit("chunkFlow")),o=0,n.interrupt=void 0,d):(e.consume(D),E)}function O(D,B){const ee=n.sliceStream(D);if(B&&ee.push(null),D.previous=a,a&&(a.next=D),a=D,l.defineSkip(D.start),l.write(ee),n.parser.lazy[D.start.line]){let j=l.events.length;for(;j--;)if(l.events[j][1].start.offset<u&&(!l.events[j][1].end||l.events[j][1].end.offset>u))return;const H=n.events.length;let G=H,le,P;for(;G--;)if(n.events[G][0]==="exit"&&n.events[G][1].type==="chunkFlow"){if(le){P=n.events[G][1].end;break}le=!0}for(F(o),j=H;j<n.events.length;)n.events[j][1].end={...P},j++;const K=new nl;K.add(G+1,0,n.events.slice(H)),K.add(H,j-H,[]),K.consume(n.events)}}function F(D){let B=r.length;for(;B-- >D;){const ee=r[B];n.containerState=ee[1],ee[0].exit.call(n,e)}r.length=D}function Z(){l.write([null]),a=void 0,l=void 0,n.containerState._closeFlow=void 0}}function $9(e,n,r){return Te(e,e.attempt(this.parser.constructs.document,n,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function bi(e){if(e===null||De(e)||Hr(e))return 1;if(Si(e))return 2}function ml(e,n,r){const o=[];let l=-1;for(;++l<e.length;){const a=e[l].resolveAll;a&&!o.includes(a)&&(n=a(n,r),o.push(a))}return n}const rl={name:"attention",resolveAll:A9,tokenize:D9};function A9(e,n){let r=-1,o;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){let l=r;for(;l--;)if(e[l][0]==="exit"&&e[l][1].type==="attentionSequence"&&e[l][1]._open&&n.sliceSerialize(e[l][1]).charCodeAt(0)===n.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[l][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[l][1].end.offset-e[l][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;const a=e[l][1].end.offset-e[l][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,u={...e[l][1].end},d={...e[r][1].start};Of(u,-a),Of(d,a);const p={type:a>1?"strongSequence":"emphasisSequence",start:u,end:{...e[l][1].end}},h={type:a>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},g={type:a>1?"strongText":"emphasisText",start:{...e[l][1].end},end:{...e[r][1].start}},w={type:a>1?"strong":"emphasis",start:{...p.start},end:{...h.end}};e[l][1].end={...p.start},e[r][1].start={...h.end},o=[],e[l][1].end.offset-e[l][1].start.offset&&(o=nn(o,[["enter",e[l][1],n],["exit",e[l][1],n]])),o=nn(o,[["enter",w,n],["enter",p,n],["exit",p,n],["enter",g,n]]),o=nn(o,ml(n.parser.constructs.insideSpan.null,e.slice(l+1,r),n)),o=nn(o,[["exit",g,n],["enter",h,n],["exit",h,n],["exit",w,n]]);let k=0;e[r][1].end.offset-e[r][1].start.offset&&(k=2,o=nn(o,[["enter",e[r][1],n],["exit",e[r][1],n]])),gn(e,l-1,r-l+3,o),r=l+o.length-k-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function D9(e,n){const r=this.parser.constructs.attentionMarkers.null,o=this.previous,l=bi(o);let a;return u;function u(p){return a=p,e.enter("attentionSequence"),d(p)}function d(p){if(p===a)return e.consume(p),d;const h=e.exit("attentionSequence"),g=bi(p),w=!g||g===2&&l||r.includes(p)&&p!==42&&p!==95,k=!l||l===2&&g||r.includes(o)&&o!==42&&o!==95;return h._open=!!(a===42?w:w&&(l||!k)),h._close=!!(a===42?k:k&&(g||!w)),n(p)}}function Of(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const H9={name:"autolink",tokenize:B9};function B9(e,n,r){let o=0;return l;function l(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(v){return Lt(v)?(e.consume(v),u):v===64?r(v):h(v)}function u(v){return v===43||v===45||v===46||_t(v)?(o=1,d(v)):h(v)}function d(v){return v===58?(e.consume(v),o=0,p):(v===43||v===45||v===46||_t(v))&&o++<32?(e.consume(v),d):(o=0,h(v))}function p(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),n):v===null||v===32||v===60||tl(v)?r(v):(e.consume(v),p)}function h(v){return v===64?(e.consume(v),g):I9(v)?(e.consume(v),h):r(v)}function g(v){return _t(v)?w(v):r(v)}function w(v){return v===46?(e.consume(v),o=0,g):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),n):k(v)}function k(v){if((v===45||_t(v))&&o++<63){const _=v===45?k:w;return e.consume(v),_}return r(v)}}const jo={partial:!0,tokenize:V9};function V9(e,n,r){return o;function o(a){return Ee(a)?Te(e,l,"linePrefix")(a):l(a)}function l(a){return a===null||ke(a)?n(a):r(a)}}const sh={continuation:{tokenize:U9},exit:q9,name:"blockQuote",tokenize:W9};function W9(e,n,r){const o=this;return l;function l(u){if(u===62){const d=o.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return r(u)}function a(u){return Ee(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(u))}}function U9(e,n,r){const o=this;return l;function l(u){return Ee(u)?Te(e,a,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(sh,n,r)(u)}}function q9(e){e.exit("blockQuote")}const lh={name:"characterEscape",tokenize:Z9};function Z9(e,n,r){return o;function o(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),l}function l(a){return O9(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):r(a)}}const ah={name:"characterReference",tokenize:Q9};function Q9(e,n,r){const o=this;let l=0,a,u;return d;function d(w){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),p}function p(w){return w===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(w),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,u=_t,g(w))}function h(w){return w===88||w===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(w),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=F9,g):(e.enter("characterReferenceValue"),a=7,u=Gu,g(w))}function g(w){if(w===59&&l){const k=e.exit("characterReferenceValue");return u===_t&&!j1(o.sliceSerialize(k))?r(w):(e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return u(w)&&l++<a?(e.consume(w),g):r(w)}}const Ku={partial:!0,tokenize:G9};function G9(e,n,r){const o=this;return l;function l(u){return u===null?r(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return o.parser.lazy[o.now().line]?r(u):n(u)}}const Pf={concrete:!0,name:"codeFenced",tokenize:K9};function K9(e,n,r){const o=this,l={partial:!0,tokenize:ee};let a=0,u=0,d;return p;function p(j){return h(j)}function h(j){const H=o.events[o.events.length-1];return a=H&&H[1].type==="linePrefix"?H[2].sliceSerialize(H[1],!0).length:0,d=j,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(j)}function g(j){return j===d?(u++,e.consume(j),g):u<3?r(j):(e.exit("codeFencedFenceSequence"),Ee(j)?Te(e,w,"whitespace")(j):w(j))}function w(j){return j===null||ke(j)?(e.exit("codeFencedFence"),o.interrupt?n(j):e.check(Ku,E,B)(j)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),k(j))}function k(j){return j===null||ke(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),w(j)):Ee(j)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Te(e,v,"whitespace")(j)):j===96&&j===d?r(j):(e.consume(j),k)}function v(j){return j===null||ke(j)?w(j):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(j))}function _(j){return j===null||ke(j)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),w(j)):j===96&&j===d?r(j):(e.consume(j),_)}function E(j){return e.attempt(l,B,O)(j)}function O(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),F}function F(j){return a>0&&Ee(j)?Te(e,Z,"linePrefix",a+1)(j):Z(j)}function Z(j){return j===null||ke(j)?e.check(Ku,E,B)(j):(e.enter("codeFlowValue"),D(j))}function D(j){return j===null||ke(j)?(e.exit("codeFlowValue"),Z(j)):(e.consume(j),D)}function B(j){return e.exit("codeFenced"),n(j)}function ee(j,H,G){let le=0;return P;function P(oe){return j.enter("lineEnding"),j.consume(oe),j.exit("lineEnding"),K}function K(oe){return j.enter("codeFencedFence"),Ee(oe)?Te(j,X,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(oe):X(oe)}function X(oe){return oe===d?(j.enter("codeFencedFenceSequence"),ie(oe)):G(oe)}function ie(oe){return oe===d?(le++,j.consume(oe),ie):le>=u?(j.exit("codeFencedFenceSequence"),Ee(oe)?Te(j,me,"whitespace")(oe):me(oe)):G(oe)}function me(oe){return oe===null||ke(oe)?(j.exit("codeFencedFence"),H(oe)):G(oe)}}}const _u={name:"codeIndented",tokenize:X9},Y9={partial:!0,tokenize:J9};function X9(e,n,r){return o;function o(d){return e.enter("codeIndented"),oh(e,l,r,"linePrefix",4,4)(d)}function l(d){return d===null?u(d):ke(d)?e.attempt(Y9,l,u)(d):(e.enter("codeFlowValue"),a(d))}function a(d){return d===null||ke(d)?(e.exit("codeFlowValue"),l(d)):(e.consume(d),a)}function u(d){return e.exit("codeIndented"),n(d)}}function J9(e,n,r){const o=this;return l;function l(u){return o.parser.lazy[o.now().line]?r(u):ke(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):oh(e,n,a,"linePrefix",4,4)(u)}function a(u){return ke(u)?l(u):r(u)}}const e7={name:"codeText",previous:n7,resolve:t7,tokenize:r7};function t7(e){let n=e.length-4,r=3,o,l;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(o=r;++o<n;)if(e[o][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[n][1].type="codeTextPadding",r+=2,n-=2;break}}for(o=r-1,n++;++o<=n;)l===void 0?o!==n&&e[o][1].type!=="lineEnding"&&(l=o):(o===n||e[o][1].type==="lineEnding")&&(e[l][1].type="codeTextData",o!==l+2&&(e[l][1].end=e[o-1][1].end,e.splice(l+2,o-l-2),n-=o-l-2,o=l+2),l=void 0);return e}function n7(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function r7(e,n,r){let o=0,l,a;return u;function u(w){return e.enter("codeText"),e.enter("codeTextSequence"),d(w)}function d(w){return w===96?(e.consume(w),o++,d):(e.exit("codeTextSequence"),p(w))}function p(w){return w===null?r(w):w===32?(e.enter("space"),e.consume(w),e.exit("space"),p):w===96?(a=e.enter("codeTextSequence"),l=0,g(w)):ke(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),p):(e.enter("codeTextData"),h(w))}function h(w){return w===null||w===32||w===96||ke(w)?(e.exit("codeTextData"),p(w)):(e.consume(w),h)}function g(w){return w===96?(e.consume(w),l++,g):l===o?(e.exit("codeTextSequence"),e.exit("codeText"),n(w)):(a.type="codeTextData",h(w))}}class i7{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,r){const o=r??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(n,o):n>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(n,r,o){const l=r||0;this.setCursor(Math.trunc(n));const a=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return o&&fo(this.left,o),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),fo(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),fo(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const r=this.left.splice(n,Number.POSITIVE_INFINITY);fo(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);fo(this.left,r.reverse())}}}function fo(e,n){let r=0;if(n.length<1e4)e.push(...n);else for(;r<n.length;)e.push(...n.slice(r,r+1e4)),r+=1e4}function uh(e){const n={};let r=-1,o,l,a,u,d,p,h;const g=new i7(e);for(;++r<g.length;){for(;r in n;)r=n[r];if(o=g.get(r),r&&o[1].type==="chunkFlow"&&g.get(r-1)[1].type==="listItemPrefix"&&(p=o[1]._tokenizer.events,a=0,a<p.length&&p[a][1].type==="lineEndingBlank"&&(a+=2),a<p.length&&p[a][1].type==="content"))for(;++a<p.length&&p[a][1].type!=="content";)p[a][1].type==="chunkText"&&(p[a][1]._isInFirstContentOfListItem=!0,a++);if(o[0]==="enter")o[1].contentType&&(Object.assign(n,o7(g,r)),r=n[r],h=!0);else if(o[1]._container){for(a=r,l=void 0;a--;)if(u=g.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(l&&(g.get(l)[1].type="lineEndingBlank"),u[1].type="lineEnding",l=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;l&&(o[1].end={...g.get(l)[1].start},d=g.slice(l,r),d.unshift(o),g.splice(l,r-l+1,d))}}return gn(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function o7(e,n){const r=e.get(n)[1],o=e.get(n)[2];let l=n-1;const a=[];let u=r._tokenizer;u||(u=o.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const d=u.events,p=[],h={};let g,w,k=-1,v=r,_=0,E=0;const O=[E];for(;v;){for(;e.get(++l)[1]!==v;);a.push(l),v._tokenizer||(g=o.sliceStream(v),v.next||g.push(null),w&&u.defineSkip(v.start),v._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(g),v._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),w=v,v=v.next}for(v=r;++k<d.length;)d[k][0]==="exit"&&d[k-1][0]==="enter"&&d[k][1].type===d[k-1][1].type&&d[k][1].start.line!==d[k][1].end.line&&(E=k+1,O.push(E),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(u.events=[],v?(v._tokenizer=void 0,v.previous=void 0):O.pop(),k=O.length;k--;){const F=d.slice(O[k],O[k+1]),Z=a.pop();p.push([Z,Z+F.length-1]),e.splice(Z,2,F)}for(p.reverse(),k=-1;++k<p.length;)h[_+p[k][0]]=_+p[k][1],_+=p[k][1]-p[k][0]-1;return h}const s7={resolve:a7,tokenize:u7},l7={partial:!0,tokenize:c7};function a7(e){return uh(e),e}function u7(e,n){let r;return o;function o(d){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),l(d)}function l(d){return d===null?a(d):ke(d)?e.check(l7,u,a)(d):(e.consume(d),l)}function a(d){return e.exit("chunkContent"),e.exit("content"),n(d)}function u(d){return e.consume(d),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,l}}function c7(e,n,r){const o=this;return l;function l(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),Te(e,a,"linePrefix")}function a(u){if(u===null||ke(u))return r(u);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?n(u):e.interrupt(o.parser.constructs.flow,r,n)(u)}}function ch(e,n,r,o,l,a,u,d,p){const h=p||Number.POSITIVE_INFINITY;let g=0;return w;function w(F){return F===60?(e.enter(o),e.enter(l),e.enter(a),e.consume(F),e.exit(a),k):F===null||F===32||F===41||tl(F)?r(F):(e.enter(o),e.enter(u),e.enter(d),e.enter("chunkString",{contentType:"string"}),E(F))}function k(F){return F===62?(e.enter(a),e.consume(F),e.exit(a),e.exit(l),e.exit(o),n):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(F))}function v(F){return F===62?(e.exit("chunkString"),e.exit(d),k(F)):F===null||F===60||ke(F)?r(F):(e.consume(F),F===92?_:v)}function _(F){return F===60||F===62||F===92?(e.consume(F),v):v(F)}function E(F){return!g&&(F===null||F===41||De(F))?(e.exit("chunkString"),e.exit(d),e.exit(u),e.exit(o),n(F)):g<h&&F===40?(e.consume(F),g++,E):F===41?(e.consume(F),g--,E):F===null||F===32||F===40||tl(F)?r(F):(e.consume(F),F===92?O:E)}function O(F){return F===40||F===41||F===92?(e.consume(F),E):E(F)}}function dh(e,n,r,o,l,a){const u=this;let d=0,p;return h;function h(v){return e.enter(o),e.enter(l),e.consume(v),e.exit(l),e.enter(a),g}function g(v){return d>999||v===null||v===91||v===93&&!p||v===94&&!d&&"_hiddenFootnoteSupport"in u.parser.constructs?r(v):v===93?(e.exit(a),e.enter(l),e.consume(v),e.exit(l),e.exit(o),n):ke(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),w(v))}function w(v){return v===null||v===91||v===93||ke(v)||d++>999?(e.exit("chunkString"),g(v)):(e.consume(v),p||(p=!Ee(v)),v===92?k:w)}function k(v){return v===91||v===92||v===93?(e.consume(v),d++,w):w(v)}}function fh(e,n,r,o,l,a){let u;return d;function d(k){return k===34||k===39||k===40?(e.enter(o),e.enter(l),e.consume(k),e.exit(l),u=k===40?41:k,p):r(k)}function p(k){return k===u?(e.enter(l),e.consume(k),e.exit(l),e.exit(o),n):(e.enter(a),h(k))}function h(k){return k===u?(e.exit(a),p(u)):k===null?r(k):ke(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),Te(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===u||k===null||ke(k)?(e.exit("chunkString"),h(k)):(e.consume(k),k===92?w:g)}function w(k){return k===u||k===92?(e.consume(k),g):g(k)}}function ko(e,n){let r;return o;function o(l){return ke(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),r=!0,o):Ee(l)?Te(e,o,r?"linePrefix":"lineSuffix")(l):n(l)}}const d7={name:"definition",tokenize:h7},f7={partial:!0,tokenize:p7};function h7(e,n,r){const o=this;let l;return a;function a(v){return e.enter("definition"),u(v)}function u(v){return dh.call(o,e,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return l=wn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),p):r(v)}function p(v){return De(v)?ko(e,h)(v):h(v)}function h(v){return ch(e,g,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function g(v){return e.attempt(f7,w,w)(v)}function w(v){return Ee(v)?Te(e,k,"whitespace")(v):k(v)}function k(v){return v===null||ke(v)?(e.exit("definition"),o.parser.defined.push(l),n(v)):r(v)}}function p7(e,n,r){return o;function o(d){return De(d)?ko(e,l)(d):r(d)}function l(d){return fh(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function a(d){return Ee(d)?Te(e,u,"whitespace")(d):u(d)}function u(d){return d===null||ke(d)?n(d):r(d)}}const m7={name:"hardBreakEscape",tokenize:g7};function g7(e,n,r){return o;function o(a){return e.enter("hardBreakEscape"),e.consume(a),l}function l(a){return ke(a)?(e.exit("hardBreakEscape"),n(a)):r(a)}}const w7={name:"headingAtx",resolve:v7,tokenize:y7};function v7(e,n){let r=e.length-2,o=3;if(e[o][1].type==="whitespace"&&(o+=2),r-2>o&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(o===r-1||r-4>o&&e[r-2][1].type==="whitespace")&&(r-=o+1===r?2:4),r>o){const l={type:"atxHeadingText",start:e[o][1].start,end:e[r][1].end},a={type:"chunkText",start:e[o][1].start,end:e[r][1].end,contentType:"text"};gn(e,o,r-o+1,[["enter",l,n],["enter",a,n],["exit",a,n],["exit",l,n]])}return e}function y7(e,n,r){let o=0;return l;function l(g){return e.enter("atxHeading"),a(g)}function a(g){return e.enter("atxHeadingSequence"),u(g)}function u(g){return g===35&&o++<6?(e.consume(g),u):g===null||De(g)?(e.exit("atxHeadingSequence"),d(g)):r(g)}function d(g){return g===35?(e.enter("atxHeadingSequence"),p(g)):g===null||ke(g)?(e.exit("atxHeading"),n(g)):Ee(g)?Te(e,d,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function p(g){return g===35?(e.consume(g),p):(e.exit("atxHeadingSequence"),d(g))}function h(g){return g===null||g===35||De(g)?(e.exit("atxHeadingText"),d(g)):(e.consume(g),h)}}const k7=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Tf=["pre","script","style","textarea"],b7={concrete:!0,name:"htmlFlow",resolveTo:C7,tokenize:S7},x7={partial:!0,tokenize:_7};function C7(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function S7(e,n,r){const o=this;let l,a,u,d,p;return h;function h(C){return g(C)}function g(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),w}function w(C){return C===33?(e.consume(C),k):C===47?(e.consume(C),a=!0,E):C===63?(e.consume(C),l=3,o.interrupt?n:x):Lt(C)?(e.consume(C),u=String.fromCharCode(C),O):r(C)}function k(C){return C===45?(e.consume(C),l=2,v):C===91?(e.consume(C),l=5,d=0,_):Lt(C)?(e.consume(C),l=4,o.interrupt?n:x):r(C)}function v(C){return C===45?(e.consume(C),o.interrupt?n:x):r(C)}function _(C){const pe="CDATA[";return C===pe.charCodeAt(d++)?(e.consume(C),d===pe.length?o.interrupt?n:X:_):r(C)}function E(C){return Lt(C)?(e.consume(C),u=String.fromCharCode(C),O):r(C)}function O(C){if(C===null||C===47||C===62||De(C)){const pe=C===47,we=u.toLowerCase();return!pe&&!a&&Tf.includes(we)?(l=1,o.interrupt?n(C):X(C)):k7.includes(u.toLowerCase())?(l=6,pe?(e.consume(C),F):o.interrupt?n(C):X(C)):(l=7,o.interrupt&&!o.parser.lazy[o.now().line]?r(C):a?Z(C):D(C))}return C===45||_t(C)?(e.consume(C),u+=String.fromCharCode(C),O):r(C)}function F(C){return C===62?(e.consume(C),o.interrupt?n:X):r(C)}function Z(C){return Ee(C)?(e.consume(C),Z):P(C)}function D(C){return C===47?(e.consume(C),P):C===58||C===95||Lt(C)?(e.consume(C),B):Ee(C)?(e.consume(C),D):P(C)}function B(C){return C===45||C===46||C===58||C===95||_t(C)?(e.consume(C),B):ee(C)}function ee(C){return C===61?(e.consume(C),j):Ee(C)?(e.consume(C),ee):D(C)}function j(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(e.consume(C),p=C,H):Ee(C)?(e.consume(C),j):G(C)}function H(C){return C===p?(e.consume(C),p=null,le):C===null||ke(C)?r(C):(e.consume(C),H)}function G(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||De(C)?ee(C):(e.consume(C),G)}function le(C){return C===47||C===62||Ee(C)?D(C):r(C)}function P(C){return C===62?(e.consume(C),K):r(C)}function K(C){return C===null||ke(C)?X(C):Ee(C)?(e.consume(C),K):r(C)}function X(C){return C===45&&l===2?(e.consume(C),ge):C===60&&l===1?(e.consume(C),de):C===62&&l===4?(e.consume(C),M):C===63&&l===3?(e.consume(C),x):C===93&&l===5?(e.consume(C),ne):ke(C)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(x7,A,ie)(C)):C===null||ke(C)?(e.exit("htmlFlowData"),ie(C)):(e.consume(C),X)}function ie(C){return e.check(Ku,me,A)(C)}function me(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),oe}function oe(C){return C===null||ke(C)?ie(C):(e.enter("htmlFlowData"),X(C))}function ge(C){return C===45?(e.consume(C),x):X(C)}function de(C){return C===47?(e.consume(C),u="",V):X(C)}function V(C){if(C===62){const pe=u.toLowerCase();return Tf.includes(pe)?(e.consume(C),M):X(C)}return Lt(C)&&u.length<8?(e.consume(C),u+=String.fromCharCode(C),V):X(C)}function ne(C){return C===93?(e.consume(C),x):X(C)}function x(C){return C===62?(e.consume(C),M):C===45&&l===2?(e.consume(C),x):X(C)}function M(C){return C===null||ke(C)?(e.exit("htmlFlowData"),A(C)):(e.consume(C),M)}function A(C){return e.exit("htmlFlow"),n(C)}}function _7(e,n,r){return o;function o(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(jo,n,r)}}const E7={name:"htmlText",tokenize:M7};function M7(e,n,r){const o=this;let l,a,u;return d;function d(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),p}function p(x){return x===33?(e.consume(x),h):x===47?(e.consume(x),ee):x===63?(e.consume(x),D):Lt(x)?(e.consume(x),G):r(x)}function h(x){return x===45?(e.consume(x),g):x===91?(e.consume(x),a=0,_):Lt(x)?(e.consume(x),Z):r(x)}function g(x){return x===45?(e.consume(x),v):r(x)}function w(x){return x===null?r(x):x===45?(e.consume(x),k):ke(x)?(u=w,de(x)):(e.consume(x),w)}function k(x){return x===45?(e.consume(x),v):w(x)}function v(x){return x===62?ge(x):x===45?k(x):w(x)}function _(x){const M="CDATA[";return x===M.charCodeAt(a++)?(e.consume(x),a===M.length?E:_):r(x)}function E(x){return x===null?r(x):x===93?(e.consume(x),O):ke(x)?(u=E,de(x)):(e.consume(x),E)}function O(x){return x===93?(e.consume(x),F):E(x)}function F(x){return x===62?ge(x):x===93?(e.consume(x),F):E(x)}function Z(x){return x===null||x===62?ge(x):ke(x)?(u=Z,de(x)):(e.consume(x),Z)}function D(x){return x===null?r(x):x===63?(e.consume(x),B):ke(x)?(u=D,de(x)):(e.consume(x),D)}function B(x){return x===62?ge(x):D(x)}function ee(x){return Lt(x)?(e.consume(x),j):r(x)}function j(x){return x===45||_t(x)?(e.consume(x),j):H(x)}function H(x){return ke(x)?(u=H,de(x)):Ee(x)?(e.consume(x),H):ge(x)}function G(x){return x===45||_t(x)?(e.consume(x),G):x===47||x===62||De(x)?le(x):r(x)}function le(x){return x===47?(e.consume(x),ge):x===58||x===95||Lt(x)?(e.consume(x),P):ke(x)?(u=le,de(x)):Ee(x)?(e.consume(x),le):ge(x)}function P(x){return x===45||x===46||x===58||x===95||_t(x)?(e.consume(x),P):K(x)}function K(x){return x===61?(e.consume(x),X):ke(x)?(u=K,de(x)):Ee(x)?(e.consume(x),K):le(x)}function X(x){return x===null||x===60||x===61||x===62||x===96?r(x):x===34||x===39?(e.consume(x),l=x,ie):ke(x)?(u=X,de(x)):Ee(x)?(e.consume(x),X):(e.consume(x),me)}function ie(x){return x===l?(e.consume(x),l=void 0,oe):x===null?r(x):ke(x)?(u=ie,de(x)):(e.consume(x),ie)}function me(x){return x===null||x===34||x===39||x===60||x===61||x===96?r(x):x===47||x===62||De(x)?le(x):(e.consume(x),me)}function oe(x){return x===47||x===62||De(x)?le(x):r(x)}function ge(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),n):r(x)}function de(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),V}function V(x){return Ee(x)?Te(e,ne,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):ne(x)}function ne(x){return e.enter("htmlTextData"),u(x)}}const F1={name:"labelEnd",resolveAll:I7,resolveTo:F7,tokenize:O7},z7={tokenize:P7},L7={tokenize:T7},j7={tokenize:R7};function I7(e){let n=-1;const r=[];for(;++n<e.length;){const o=e[n][1];if(r.push(e[n]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const l=o.type==="labelImage"?4:2;o.type="data",n+=l}}return e.length!==r.length&&gn(e,0,e.length,r),e}function F7(e,n){let r=e.length,o=0,l,a,u;for(;r--;){const g=e[r][1];if(l){if(g.type==="link"||g.type==="labelLink"&&g._inactive)break;e[r][0]==="enter"&&g.type==="labelLink"&&(g._inactive=!0)}else if(a){if(e[r][0]==="enter"&&(g.type==="labelImage"||g.type==="labelLink")&&!g._balanced&&(l=r,g.type!=="labelLink")){o=2;break}}else g.type==="labelEnd"&&(a=r)}const d={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},p={type:"label",start:{...e[l][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[l+o+2][1].end},end:{...e[a-2][1].start}};return u=[["enter",d,n],["enter",p,n]],u=nn(u,e.slice(l+1,l+o+3)),u=nn(u,[["enter",h,n]]),u=nn(u,ml(n.parser.constructs.insideSpan.null,e.slice(l+o+4,a-3),n)),u=nn(u,[["exit",h,n],e[a-2],e[a-1],["exit",p,n]]),u=nn(u,e.slice(a+1)),u=nn(u,[["exit",d,n]]),gn(e,l,e.length,u),e}function O7(e,n,r){const o=this,l=o._labelStarts;let a,u;if(l){for(;l.length>0&&l[l.length-1]._balanced;)l.pop();a=l[l.length-1]}return d;function d(k){return a?a._inactive?w(k):(u=o.parser.defined.includes(wn(o.sliceSerialize({start:a.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(k),e.exit("labelMarker"),e.exit("labelEnd"),p):r(k)}function p(k){return k===40?e.attempt(z7,g,u?g:w)(k):k===91?e.attempt(L7,g,u?h:w)(k):u?g(k):w(k)}function h(k){return e.attempt(j7,g,w)(k)}function g(k){return l.pop(),n(k)}function w(k){return a._balanced=!0,r(k)}}function P7(e,n,r){return o;function o(w){return e.enter("resource"),e.enter("resourceMarker"),e.consume(w),e.exit("resourceMarker"),l}function l(w){return De(w)?ko(e,a)(w):a(w)}function a(w){return w===41?g(w):ch(e,u,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(w)}function u(w){return De(w)?ko(e,p)(w):g(w)}function d(w){return r(w)}function p(w){return w===34||w===39||w===40?fh(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(w):g(w)}function h(w){return De(w)?ko(e,g)(w):g(w)}function g(w){return w===41?(e.enter("resourceMarker"),e.consume(w),e.exit("resourceMarker"),e.exit("resource"),n):r(w)}}function T7(e,n,r){const o=this;return l;function l(d){return dh.call(o,e,a,u,"reference","referenceMarker","referenceString")(d)}function a(d){return o.parser.defined.includes(wn(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?n(d):r(d)}function u(d){return r(d)}}function R7(e,n,r){return o;function o(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),l}function l(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),n):r(a)}}const N7={name:"labelStartImage",resolveAll:F1.resolveAll,tokenize:$7};function $7(e,n,r){const o=this;let l;return a;function a(p){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(p),e.exit("labelImageMarker"),u}function u(p){return p===91?(e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),l=e.exit("labelImage"),d):r(p)}function d(p){return p===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(p):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(l),n(p))}}const A7={name:"labelStartLink",resolveAll:F1.resolveAll,tokenize:D7};function D7(e,n,r){const o=this;let l;return a;function a(d){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),l=e.exit("labelLink"),u}function u(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(d):(o._labelStarts=o._labelStarts||[],o._labelStarts.push(l),n(d))}}const Eu={name:"lineEnding",tokenize:H7};function H7(e,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Te(e,n,"linePrefix")}}const Gs={name:"thematicBreak",tokenize:B7};function B7(e,n,r){let o=0,l;return a;function a(h){return e.enter("thematicBreak"),u(h)}function u(h){return l=h,d(h)}function d(h){return h===l?(e.enter("thematicBreakSequence"),p(h)):o>=3&&(h===null||ke(h))?(e.exit("thematicBreak"),n(h)):r(h)}function p(h){return h===l?(e.consume(h),o++,p):(e.exit("thematicBreakSequence"),Ee(h)?Te(e,d,"whitespace")(h):d(h))}}const At={continuation:{tokenize:q7},exit:Q7,name:"list",tokenize:U7},V7={partial:!0,tokenize:G7},W7={partial:!0,tokenize:Z7};function U7(e,n,r){const o=this,l=o.events[o.events.length-1];let a=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0;return d;function d(v){const _=o.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!o.containerState.marker||v===o.containerState.marker:Gu(v)){if(o.containerState.type||(o.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(Gs,r,h)(v):h(v);if(!o.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),p(v)}return r(v)}function p(v){return Gu(v)&&++u<10?(e.consume(v),p):(!o.interrupt||u<2)&&(o.containerState.marker?v===o.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),h(v)):r(v)}function h(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||v,e.check(jo,o.interrupt?r:g,e.attempt(V7,k,w))}function g(v){return o.containerState.initialBlankLine=!0,a++,k(v)}function w(v){return Ee(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),k):r(v)}function k(v){return o.containerState.size=a+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(v)}}function q7(e,n,r){const o=this;return o.containerState._closeFlow=void 0,e.check(jo,l,a);function l(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,Te(e,n,"listItemIndent",o.containerState.size+1)(d)}function a(d){return o.containerState.furtherBlankLines||!Ee(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,u(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(W7,n,u)(d))}function u(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,Te(e,e.attempt(At,n,r),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function Z7(e,n,r){const o=this;return Te(e,l,"listItemIndent",o.containerState.size+1);function l(a){const u=o.events[o.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===o.containerState.size?n(a):r(a)}}function Q7(e){e.exit(this.containerState.type)}function G7(e,n,r){const o=this;return Te(e,l,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(a){const u=o.events[o.events.length-1];return!Ee(a)&&u&&u[1].type==="listItemPrefixWhitespace"?n(a):r(a)}}const Rf={name:"setextUnderline",resolveTo:K7,tokenize:Y7};function K7(e,n){const r=new nl;let o=e.length,l,a,u;for(;o--;)if(e[o][0]==="enter"){if(e[o][1].type==="content"){l=o;break}e[o][1].type==="paragraph"&&(a=o)}else e[o][1].type==="content"&&r.add(o,1,[]),!u&&e[o][1].type==="definition"&&(u=o);const d={type:"setextHeading",start:{...e[l][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",u?(r.add(a,0,[["enter",d,n]]),r.add(u+1,0,[["exit",e[l][1],n]]),e[l][1].end={...e[u][1].end}):e[l][1]=d,r.add(e.length,0,[["exit",d,n]]),r.consume(e),e}function Y7(e,n,r){const o=this;let l;return a;function a(h){let g=o.events.length,w;for(;g--;)if(o.events[g][1].type!=="lineEnding"&&o.events[g][1].type!=="linePrefix"&&o.events[g][1].type!=="content"){w=o.events[g][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||w)?(e.enter("setextHeadingLine"),l=h,u(h)):r(h)}function u(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===l?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),Ee(h)?Te(e,p,"lineSuffix")(h):p(h))}function p(h){return h===null||ke(h)?(e.exit("setextHeadingLine"),n(h)):r(h)}}const X7={tokenize:J7};function J7(e){const n=this,r=e.attempt(jo,o,e.attempt(this.parser.constructs.flowInitial,l,Te(e,e.attempt(this.parser.constructs.flow,l,e.attempt(s7,l)),"linePrefix")));return r;function o(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),n.currentConstruct=void 0,r}function l(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n.currentConstruct=void 0,r}}const e8={resolveAll:ph()},t8=hh("string"),n8=hh("text");function hh(e){return{resolveAll:ph(e==="text"?r8:void 0),tokenize:n};function n(r){const o=this,l=this.parser.constructs[e],a=r.attempt(l,u,d);return u;function u(g){return h(g)?a(g):d(g)}function d(g){if(g===null){r.consume(g);return}return r.enter("data"),r.consume(g),p}function p(g){return h(g)?(r.exit("data"),a(g)):(r.consume(g),p)}function h(g){if(g===null)return!0;const w=l[g];let k=-1;if(w)for(;++k<w.length;){const v=w[k];if(!v.previous||v.previous.call(o,o.previous))return!0}return!1}}}function ph(e){return n;function n(r,o){let l=-1,a;for(;++l<=r.length;)a===void 0?r[l]&&r[l][1].type==="data"&&(a=l,l++):(!r[l]||r[l][1].type!=="data")&&(l!==a+2&&(r[a][1].end=r[l-1][1].end,r.splice(a+2,l-a-2),l=a+2),a=void 0);return e?e(r,o):r}}function r8(e,n){const r=new nl;let o=0;for(;++o<=e.length;)if((o===e.length||e[o][1].type==="lineEnding")&&e[o-1][1].type==="data"){const l=e[o-1][1],a=n.sliceStream(l);let u=a.length,d=-1,p=0,h;for(;u--;){const g=a[u];if(typeof g=="string"){for(d=g.length;g.charCodeAt(d-1)===32;)p++,d--;if(d)break;d=-1}else if(g===-2)h=!0,p++;else if(g!==-1){u++;break}}if(n._contentTypeTextTrailing&&o===e.length&&(p=0),p){const g={type:o===e.length||h||p<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?d:l.start._bufferIndex+d,_index:l.start._index+u,line:l.end.line,column:l.end.column-p,offset:l.end.offset-p},end:{...l.end}};l.end={...g.start},l.start.offset===l.end.offset?Object.assign(l,g):r.add(o,0,[["enter",g,n],["exit",g,n]])}o++}return r.consume(e),e}const i8={42:At,43:At,45:At,48:At,49:At,50:At,51:At,52:At,53:At,54:At,55:At,56:At,57:At,62:sh},o8={91:d7},s8={[-2]:_u,[-1]:_u,32:_u},l8={35:w7,42:Gs,45:[Rf,Gs],60:b7,61:Rf,95:Gs,96:Pf,126:Pf},a8={38:ah,92:lh},u8={[-5]:Eu,[-4]:Eu,[-3]:Eu,33:N7,38:ah,42:rl,60:[H9,E7],91:A7,92:[m7,lh],93:F1,95:rl,96:e7},c8={null:[rl,e8]},d8={null:[42,95]},f8={null:[]},h8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:d8,contentInitial:o8,disable:f8,document:i8,flow:l8,flowInitial:s8,insideSpan:c8,string:a8,text:u8},Symbol.toStringTag,{value:"Module"}));function p8(e,n,r){let o={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const l={},a=[];let u=[],d=[];const p={attempt:H(ee),check:H(j),consume:Z,enter:D,exit:B,interrupt:H(j,{interrupt:!0})},h={code:null,containerState:{},defineSkip:E,events:[],now:_,parser:e,previous:null,sliceSerialize:k,sliceStream:v,write:w};let g=n.tokenize.call(h,p);return n.resolveAll&&a.push(n),h;function w(K){return u=nn(u,K),O(),u[u.length-1]!==null?[]:(G(n,0),h.events=ml(a,h.events,h),h.events)}function k(K,X){return g8(v(K),X)}function v(K){return m8(u,K)}function _(){const{_bufferIndex:K,_index:X,line:ie,column:me,offset:oe}=o;return{_bufferIndex:K,_index:X,line:ie,column:me,offset:oe}}function E(K){l[K.line]=K.column,P()}function O(){for(;o._index<u.length;){const K=u[o._index];if(typeof K=="string"){const X=o._index;for(o._bufferIndex<0&&(o._bufferIndex=0);o._index===X&&o._bufferIndex<K.length;)F(K.charCodeAt(o._bufferIndex))}else F(K)}}function F(K){g=g(K)}function Z(K){ke(K)?(o.line++,o.column=1,o.offset+=K===-3?2:1,P()):K!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===u[o._index].length&&(o._bufferIndex=-1,o._index++)),h.previous=K}function D(K,X){const ie=X||{};return ie.type=K,ie.start=_(),h.events.push(["enter",ie,h]),d.push(ie),ie}function B(K){const X=d.pop();return X.end=_(),h.events.push(["exit",X,h]),X}function ee(K,X){G(K,X.from)}function j(K,X){X.restore()}function H(K,X){return ie;function ie(me,oe,ge){let de,V,ne,x;return Array.isArray(me)?A(me):"tokenize"in me?A([me]):M(me);function M(ae){return be;function be(te){const xe=te!==null&&ae[te],Ie=te!==null&&ae.null,He=[...Array.isArray(xe)?xe:xe?[xe]:[],...Array.isArray(Ie)?Ie:Ie?[Ie]:[]];return A(He)(te)}}function A(ae){return de=ae,V=0,ae.length===0?ge:C(ae[V])}function C(ae){return be;function be(te){return x=le(),ne=ae,ae.partial||(h.currentConstruct=ae),ae.name&&h.parser.constructs.disable.null.includes(ae.name)?we():ae.tokenize.call(X?Object.assign(Object.create(h),X):h,p,pe,we)(te)}}function pe(ae){return K(ne,x),oe}function we(ae){return x.restore(),++V<de.length?C(de[V]):ge}}}function G(K,X){K.resolveAll&&!a.includes(K)&&a.push(K),K.resolve&&gn(h.events,X,h.events.length-X,K.resolve(h.events.slice(X),h)),K.resolveTo&&(h.events=K.resolveTo(h.events,h))}function le(){const K=_(),X=h.previous,ie=h.currentConstruct,me=h.events.length,oe=Array.from(d);return{from:me,restore:ge};function ge(){o=K,h.previous=X,h.currentConstruct=ie,h.events.length=me,d=oe,P()}}function P(){o.line in l&&o.column<2&&(o.column=l[o.line],o.offset+=l[o.line]-1)}}function m8(e,n){const r=n.start._index,o=n.start._bufferIndex,l=n.end._index,a=n.end._bufferIndex;let u;if(r===l)u=[e[r].slice(o,a)];else{if(u=e.slice(r,l),o>-1){const d=u[0];typeof d=="string"?u[0]=d.slice(o):u.shift()}a>0&&u.push(e[l].slice(0,a))}return u}function g8(e,n){let r=-1;const o=[];let l;for(;++r<e.length;){const a=e[r];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
80
+ `;break}case-3:{u=`\r
81
+ `;break}case-2:{u=n?" ":" ";break}case-1:{if(!n&&l)continue;u=" ";break}default:u=String.fromCharCode(a)}l=a===-2,o.push(u)}return o.join("")}function w8(e){const o={constructs:rh([h8,...(e||{}).extensions||[]]),content:l(P9),defined:[],document:l(R9),flow:l(X7),lazy:{},string:l(t8),text:l(n8)};return o;function l(a){return u;function u(d){return p8(o,a,d)}}}function v8(e){for(;!uh(e););return e}const Nf=/[\0\t\n\r]/g;function y8(){let e=1,n="",r=!0,o;return l;function l(a,u,d){a=n+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a));const p=[];let h=0;for(n="",r&&(a.charCodeAt(0)===65279&&h++,r=void 0);h<a.length;){Nf.lastIndex=h;const g=Nf.exec(a),w=g&&g.index!==void 0?g.index:a.length,k=a.charCodeAt(w);if(!g){n=a.slice(h);break}if(k===10&&h===w&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),h<w&&(p.push(a.slice(h,w)),e+=w-h),k){case 0:{p.push(65533),e++;break}case 9:{const v=Math.ceil(e/4)*4;for(p.push(-2);e++<v;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:o=!0,e=1}h=w+1}return d&&(o&&p.push(-5),n&&p.push(n),p.push(null)),p}}const k8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function mh(e){return e.replace(k8,b8)}function b8(e,n,r){if(n)return n;if(r.charCodeAt(0)===35){const l=r.charCodeAt(1),a=l===120||l===88;return ih(r.slice(a?2:1),a?16:10)}return j1(r)||e}function Ks(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$f(e.position):"start"in e||"end"in e?$f(e):"line"in e||"column"in e?Yu(e):""}function Yu(e){return Af(e&&e.line)+":"+Af(e&&e.column)}function $f(e){return Yu(e&&e.start)+"-"+Yu(e&&e.end)}function Af(e){return e&&typeof e=="number"?e:1}const gh={}.hasOwnProperty;function wh(e,n,r){return n&&typeof n=="object"&&(r=n,n=void 0),x8(r)(v8(w8(r).document().write(y8()(e,n,!0))))}function x8(e){const n={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(It),autolinkProtocol:P,autolinkEmail:P,atxHeading:u(it),blockQuote:u(He),characterEscape:P,characterReference:P,codeFenced:u($e),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:u($e,d),codeText:u(Dt,d),codeTextData:P,data:P,codeFlowValue:P,definition:u(Be),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:u(Xe),hardBreakEscape:u(ot),hardBreakTrailing:u(ot),htmlFlow:u(ft,d),htmlFlowData:P,htmlText:u(ft,d),htmlTextData:P,image:u(jt),label:d,link:u(It),listItem:u(Ht),listItemValue:v,listOrdered:u(vt,k),listUnordered:u(vt),paragraph:u(Bn),reference:pe,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:u(it),strong:u(Vn),thematicBreak:u(vr)},exit:{atxHeading:h(),atxHeadingSequence:j,autolink:h(),autolinkEmail:Ie,autolinkProtocol:xe,blockQuote:h(),characterEscapeValue:K,characterReferenceMarkerHexadecimal:ae,characterReferenceMarkerNumeric:ae,characterReferenceValue:be,characterReference:te,codeFenced:h(F),codeFencedFence:O,codeFencedFenceInfo:_,codeFencedFenceMeta:E,codeFlowValue:K,codeIndented:h(Z),codeText:h(ge),codeTextData:K,data:K,definition:h(),definitionDestinationString:ee,definitionLabelString:D,definitionTitleString:B,emphasis:h(),hardBreakEscape:h(ie),hardBreakTrailing:h(ie),htmlFlow:h(me),htmlFlowData:K,htmlText:h(oe),htmlTextData:K,image:h(V),label:x,labelText:ne,lineEnding:X,link:h(de),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:we,resourceDestinationString:M,resourceTitleString:A,resource:C,setextHeading:h(le),setextHeadingLineSequence:G,setextHeadingText:H,strong:h(),thematicBreak:h()}};vh(n,(e||{}).mdastExtensions||[]);const r={};return o;function o($){let J={type:"root",children:[],position:void 0};const Ce={stack:[J],tokenStack:[],config:n,enter:p,exit:g,buffer:d,resume:w,data:r},_e=[],tt=[];let Ae=-1;for(;++Ae<$.length;)if(tt.push($[Ae]),$[Ae][1].type==="listOrdered"||$[Ae][1].type==="listUnordered")if($[Ae][0]==="enter")_e.push(tt.length-1);else{const ht=_e.pop();a(tt,ht)}for($=tt,Ae=-1;++Ae<$.length;){const ht=n[$[Ae][0]];$[Ae][0]==="enter"&&n.beforeEnter.length>0&&l(n.beforeEnter,{...Ce,sliceSerialize:$[Ae][2].sliceSerialize},$[Ae][1]),gh.call(ht,$[Ae][1].type)&&ht[$[Ae][1].type].call({...Ce,sliceSerialize:$[Ae][2].sliceSerialize},$[Ae][1]),$[Ae][0]==="exit"&&n.afterExit.length>0&&l(n.afterExit,{...Ce,sliceSerialize:$[Ae][2].sliceSerialize},$[Ae][1])}if(Ce.tokenStack.length>0){const ht=Ce.tokenStack[Ce.tokenStack.length-1];(ht[1]||Df).call(Ce,void 0,ht[0])}for(J.position={start:fr($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:fr($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},Ae=-1;++Ae<n.transforms.length;)J=n.transforms[Ae](J)||J;return J}function l($,J,Ce){let _e=-1;for(;++_e<$.length;)$[_e].call(J,Ce)}function a($,J){const Ce=$.length-1;let _e=J-1,tt=-1,Ae=!1,ht,Bt,yr,Mn;const zn=[];for(;++_e<=Ce;){const pt=$[_e];switch(pt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{pt[0]==="enter"?tt++:tt--,Mn=void 0;break}case"lineEndingBlank":{pt[0]==="enter"&&(ht&&!Mn&&!tt&&!yr&&(yr=_e),Mn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Mn=void 0}if(!tt&&pt[0]==="enter"&&pt[1].type==="listItemPrefix"||tt===-1&&pt[0]==="exit"&&(pt[1].type==="listUnordered"||pt[1].type==="listOrdered")){if(ht){let Vt=_e;for(Bt=void 0;Vt--;){const yt=$[Vt];if(yt[1].type==="lineEnding"||yt[1].type==="lineEndingBlank"){if(yt[0]==="exit")continue;Bt&&($[Bt][1].type="lineEndingBlank",Ae=!0),yt[1].type="lineEnding",Bt=Vt}else if(!(yt[1].type==="linePrefix"||yt[1].type==="blockQuotePrefix"||yt[1].type==="blockQuotePrefixWhitespace"||yt[1].type==="blockQuoteMarker"||yt[1].type==="listItemIndent"))break}yr&&(!Bt||yr<Bt)&&(ht._spread=!0),ht.end=Object.assign({},Bt?$[Bt][1].start:pt[1].end),zn.push({at:Bt||_e,event:["exit",ht,pt[2]]})}if(pt[1].type==="listItemPrefix"){const Vt={type:"listItem",_spread:!1,start:Object.assign({},pt[1].start),end:void 0};ht=Vt,zn.push({at:_e,event:["enter",Vt,pt[2]]}),yr=void 0,Mn=!0}}}const Wr=$.splice(J);let kr=0;for(_e=-1;++_e<Wr.length;){for(;kr<zn.length&&zn[kr].at===J+_e;)$.push(zn[kr++].event);$.push(Wr[_e])}$[J][1]._spread=Ae}function u($,J){return Ce;function Ce(_e){p.call(this,$(_e),_e),J&&J.call(this,_e)}}function d(){this.stack.push({type:"fragment",children:[]})}function p($,J,Ce){this.stack[this.stack.length-1].children.push($),this.stack.push($),this.tokenStack.push([J,Ce||void 0]),$.position={start:fr(J.start),end:void 0}}function h($){return J;function J(Ce){$&&$.call(this,Ce),g.call(this,Ce)}}function g($,J){const Ce=this.stack.pop(),_e=this.tokenStack.pop();if(!_e)throw new Error("Cannot close `"+$.type+"` ("+Ks({start:$.start,end:$.end})+"): it’s not open");_e[0].type!==$.type&&(J?J.call(this,$,_e[0]):(_e[1]||Df).call(this,$,_e[0])),Ce.position.end=fr($.end)}function w(){return M9(this.stack.pop())}function k(){this.data.expectingFirstListItemValue=!0}function v($){if(this.data.expectingFirstListItemValue){const J=this.stack[this.stack.length-2];J.start=Number.parseInt(this.sliceSerialize($),10),this.data.expectingFirstListItemValue=void 0}}function _(){const $=this.resume(),J=this.stack[this.stack.length-1];J.lang=$}function E(){const $=this.resume(),J=this.stack[this.stack.length-1];J.meta=$}function O(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const $=this.resume(),J=this.stack[this.stack.length-1];J.value=$.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function Z(){const $=this.resume(),J=this.stack[this.stack.length-1];J.value=$.replace(/(\r?\n|\r)$/g,"")}function D($){const J=this.resume(),Ce=this.stack[this.stack.length-1];Ce.label=J,Ce.identifier=wn(this.sliceSerialize($)).toLowerCase()}function B(){const $=this.resume(),J=this.stack[this.stack.length-1];J.title=$}function ee(){const $=this.resume(),J=this.stack[this.stack.length-1];J.url=$}function j($){const J=this.stack[this.stack.length-1];if(!J.depth){const Ce=this.sliceSerialize($).length;J.depth=Ce}}function H(){this.data.setextHeadingSlurpLineEnding=!0}function G($){const J=this.stack[this.stack.length-1];J.depth=this.sliceSerialize($).codePointAt(0)===61?1:2}function le(){this.data.setextHeadingSlurpLineEnding=void 0}function P($){const Ce=this.stack[this.stack.length-1].children;let _e=Ce[Ce.length-1];(!_e||_e.type!=="text")&&(_e=Wn(),_e.position={start:fr($.start),end:void 0},Ce.push(_e)),this.stack.push(_e)}function K($){const J=this.stack.pop();J.value+=this.sliceSerialize($),J.position.end=fr($.end)}function X($){const J=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ce=J.children[J.children.length-1];Ce.position.end=fr($.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(J.type)&&(P.call(this,$),K.call(this,$))}function ie(){this.data.atHardBreak=!0}function me(){const $=this.resume(),J=this.stack[this.stack.length-1];J.value=$}function oe(){const $=this.resume(),J=this.stack[this.stack.length-1];J.value=$}function ge(){const $=this.resume(),J=this.stack[this.stack.length-1];J.value=$}function de(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const J=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=J,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function V(){const $=this.stack[this.stack.length-1];if(this.data.inReference){const J=this.data.referenceType||"shortcut";$.type+="Reference",$.referenceType=J,delete $.url,delete $.title}else delete $.identifier,delete $.label;this.data.referenceType=void 0}function ne($){const J=this.sliceSerialize($),Ce=this.stack[this.stack.length-2];Ce.label=mh(J),Ce.identifier=wn(J).toLowerCase()}function x(){const $=this.stack[this.stack.length-1],J=this.resume(),Ce=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ce.type==="link"){const _e=$.children;Ce.children=_e}else Ce.alt=J}function M(){const $=this.resume(),J=this.stack[this.stack.length-1];J.url=$}function A(){const $=this.resume(),J=this.stack[this.stack.length-1];J.title=$}function C(){this.data.inReference=void 0}function pe(){this.data.referenceType="collapsed"}function we($){const J=this.resume(),Ce=this.stack[this.stack.length-1];Ce.label=J,Ce.identifier=wn(this.sliceSerialize($)).toLowerCase(),this.data.referenceType="full"}function ae($){this.data.characterReferenceType=$.type}function be($){const J=this.sliceSerialize($),Ce=this.data.characterReferenceType;let _e;Ce?(_e=ih(J,Ce==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_e=j1(J);const tt=this.stack[this.stack.length-1];tt.value+=_e}function te($){const J=this.stack.pop();J.position.end=fr($.end)}function xe($){K.call(this,$);const J=this.stack[this.stack.length-1];J.url=this.sliceSerialize($)}function Ie($){K.call(this,$);const J=this.stack[this.stack.length-1];J.url="mailto:"+this.sliceSerialize($)}function He(){return{type:"blockquote",children:[],position:void 0}}function $e(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function Dt(){return{type:"inlineCode",value:"",position:void 0}}function Be(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function Xe(){return{type:"emphasis",children:[],position:void 0}}function it(){return{type:"heading",depth:0,children:[],position:void 0}}function ot(){return{type:"break",position:void 0}}function ft(){return{type:"html",value:"",position:void 0}}function jt(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function It(){return{type:"link",title:null,url:"",children:[],position:void 0}}function vt($){return{type:"list",ordered:$.type==="listOrdered",start:null,spread:$._spread,children:[],position:void 0}}function Ht($){return{type:"listItem",spread:$._spread,checked:null,children:[],position:void 0}}function Bn(){return{type:"paragraph",children:[],position:void 0}}function Vn(){return{type:"strong",children:[],position:void 0}}function Wn(){return{type:"text",value:"",position:void 0}}function vr(){return{type:"thematicBreak",position:void 0}}}function fr(e){return{line:e.line,column:e.column,offset:e.offset}}function vh(e,n){let r=-1;for(;++r<n.length;){const o=n[r];Array.isArray(o)?vh(e,o):C8(e,o)}}function C8(e,n){let r;for(r in n)if(gh.call(n,r))switch(r){case"canContainEols":{const o=n[r];o&&e[r].push(...o);break}case"transforms":{const o=n[r];o&&e[r].push(...o);break}case"afterExit":case"beforeEnter":{const o=n[r];o&&e[r].push(o);break}case"enter":case"exit":{const o=n[r];o&&Object.assign(e[r],o);break}}}function Df(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Ks({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Ks({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Ks({start:n.start,end:n.end})+") is still open")}function Hf(e,n){const r=String(e);if(typeof n!="string")throw new TypeError("Expected character");let o=0,l=r.indexOf(n);for(;l!==-1;)o++,l=r.indexOf(n,l+n.length);return o}function S8(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const O1=(function(e){if(e==null)return z8;if(typeof e=="function")return gl(e);if(typeof e=="object")return Array.isArray(e)?_8(e):E8(e);if(typeof e=="string")return M8(e);throw new Error("Expected function, string, or object as test")});function _8(e){const n=[];let r=-1;for(;++r<e.length;)n[r]=O1(e[r]);return gl(o);function o(...l){let a=-1;for(;++a<n.length;)if(n[a].apply(this,l))return!0;return!1}}function E8(e){const n=e;return gl(r);function r(o){const l=o;let a;for(a in e)if(l[a]!==n[a])return!1;return!0}}function M8(e){return gl(n);function n(r){return r&&r.type===e}}function gl(e){return n;function n(r,o,l){return!!(L8(r)&&e.call(this,r,typeof o=="number"?o:void 0,l||void 0))}}function z8(){return!0}function L8(e){return e!==null&&typeof e=="object"&&"type"in e}const yh=[],j8=!0,Mu=!1,Xu="skip";function I8(e,n,r,o){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let l,a,u,d;if(a=n,typeof a=="function")u=a;else if(a&&typeof a=="object"){if(!(a.enter===null||a.enter===void 0))if(typeof a.enter=="function")u=a.enter;else throw new Error("Unexpected value `"+a.enter+"` for `visitors.enter`, expected optional visitor");if(typeof a.exit=="function")d=a.exit;else throw new Error("Unexpected value `"+a.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+a+"` for `enter` or `visitors`, expected visitor or object with visitors");O1(l);const p=1;h(e,void 0,[])();function h(g,w,k){const v=g&&typeof g=="object"?g:{};if(typeof v.type=="string"){const E=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(_,"name",{value:"node ("+(g.type+(E?"<"+E+">":""))+")"})}return _;function _(){const E=!l;let O=yh;if(u&&E&&(O=Bf(u(g,k,w)),O[0]===Mu))return O;if("children"in g&&g.children){const F=g;if(F.children&&O[0]!==Xu){let Z=-1+p;const D=[...k,F];for(;Z>-1&&Z<F.children.length;){const B=F.children[Z],ee=h(B,Z,D)();if(ee[0]===Mu)return ee;Z=typeof ee[1]=="number"?ee[1]:Z+p}}}if(d&&E){const F=Bf(d(g,k,w));if(F[0]===Xu)throw new Error("Unexpected value `"+F[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(F[0]===Mu||typeof F[1]=="number")return F}return O}}}function Bf(e){return Array.isArray(e)?e:typeof e=="number"?[j8,e]:e==null?yh:[e]}function F8(e,n,r){const l=O1((r||{}).ignore||[]),a=O8(n);let u=-1;for(;++u<a.length;)I8(e,d);function d(h,g,w){if(h.type==="text"&&typeof w=="number")return p(h,g,w);if(l(h,w,g[g.length-1]))return Xu}function p(h,g,w){const k=g[g.length-1],v=a[u][0],_=a[u][1];let E=0,O=!1,F=[];v.lastIndex=0;let Z=v.exec(h.value);for(;Z;){const B=Z.index,ee={index:Z.index,input:Z.input,stack:[...g,h]};let j=_(...Z,ee);if(typeof j=="string"&&(j=j.length>0?{type:"text",value:j}:void 0),j===!1)v.lastIndex=B+1;else{if(E!==B&&D({type:"text",value:h.value.slice(E,B)}),Array.isArray(j))for(const H of j)D(H);else j&&D(j);E=B+Z[0].length,O=!0}if(!v.global)break;Z=v.exec(h.value)}return O?(E<h.value.length&&D({type:"text",value:h.value.slice(E)}),k.children.splice(w,1,...F)):F=[h],w+F.length;function D(B){const ee=F[F.length-1];ee&&ee.type==="text"&&B.type==="text"?ee.value+=B.value:F.push(B)}}}function O8(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=[],r=!e[0]||Array.isArray(e[0])?e:[e];let o=-1;for(;++o<r.length;){const l=r[o];n.push([P8(l[0]),T8(l[1])])}return n}function P8(e){return typeof e=="string"?new RegExp(S8(e),"g"):e}function T8(e){return typeof e=="function"?e:function(){return e}}function R8(){return{transforms:[B8],enter:{literalAutolink:N8,literalAutolinkEmail:zu,literalAutolinkHttp:zu,literalAutolinkWww:zu},exit:{literalAutolink:H8,literalAutolinkEmail:D8,literalAutolinkHttp:$8,literalAutolinkWww:A8}}}function N8(e){this.enter({type:"link",title:null,url:"",children:[],position:void 0},e)}function zu(e){this.config.enter.autolinkProtocol.call(this,e)}function $8(e){this.config.exit.autolinkProtocol.call(this,e)}function A8(e){this.config.exit.data.call(this,e);const n=this.stack[this.stack.length-1];n.type,n.url="http://"+this.sliceSerialize(e)}function D8(e){this.config.exit.autolinkEmail.call(this,e)}function H8(e){this.exit(e)}function B8(e){F8(e,[[/(?<![\da-z])(https?:\/\/|www(?=\.))([\w-]*\.[\w\-.]*)([^\t\n\r ]*)/gi,V8],[/(?<![\w+\-.@])xmpp:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)(\/(?:[\w\-/]|\.(?=[\dA-Za-z]))*)?/g,q8],[/(?<![\w+\-.@])mailto:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,U8],[/(?<![\w+\-.]|(?:^|[^\d@A-Za-z])(?:mailto|xmpp):)([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,W8]],{ignore:["link","linkReference"]})}function V8(e,n,r,o,l){if(!G8(l))return!1;let a="";if(/^w/i.test(n)&&(r=n+r,n="",a="http://"),Si(r.charCodeAt(0))||!Z8(r))return!1;const u=Q8(r+o),d={type:"link",title:null,url:a+n+u[0],children:[{type:"text",value:n+u[0],position:void 0}],position:void 0};return u[1]?[d,{type:"text",value:u[1],position:void 0}]:d}function W8(e,n,r){return/[\d\-_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+r,children:[{type:"text",value:n+"@"+r,position:void 0}],position:void 0}}function U8(e,n,r){if(/[\d\-_]$/.test(r))return!1;const o="mailto:"+n+"@"+r;return{type:"link",title:null,url:o,children:[{type:"text",value:o,position:void 0}],position:void 0}}function q8(e,n,r,o,l){if(/[\d\-_]$/.test(r)||o&&(!/[A-Za-z]$/.test(o)||l.input.charAt(l.index+e.length)==="@"))return!1;const a="xmpp:"+n+"@"+r+(o||"");return{type:"link",title:null,url:a,children:[{type:"text",value:a,position:void 0}],position:void 0}}function Z8(e){const n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[\dA-Za-z]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[\dA-Za-z]/.test(n[n.length-2])))}function Q8(e){let n=e.length;for(;n>0;){const u=e.charCodeAt(n-1);if(u===33||u===34||u===38||u===39||u===41||u===44||u===46||u===58||u===59||u===60||u===62||u===63||u===93||u===125)n--;else break}if(n===e.length)return[e,void 0];let r=e.slice(n);e=e.slice(0,n);let o=r.indexOf(")");const l=Hf(e,"(");let a=Hf(e,")");for(;o!==-1&&l>a;)e+=r.slice(0,o+1),r=r.slice(o+1),o=r.indexOf(")"),a++;return[e,r]}function G8(e){const n=e.input.charCodeAt(e.index-1);return e.index===0||Hr(n)||Si(n)}function K8(){this.buffer()}function Y8(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function X8(){this.buffer()}function J8(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function em(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wn(this.sliceSerialize(e)).toLowerCase(),r.label=n}function tm(e){this.exit(e)}function nm(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wn(this.sliceSerialize(e)).toLowerCase(),r.label=n}function rm(e){this.exit(e)}function im(){return{enter:{gfmFootnoteCallString:K8,gfmFootnoteCall:Y8,gfmFootnoteDefinitionLabelString:X8,gfmFootnoteDefinition:J8},exit:{gfmFootnoteCallString:em,gfmFootnoteCall:tm,gfmFootnoteDefinitionLabelString:nm,gfmFootnoteDefinition:rm}}}function om(){return{canContainEols:["delete"],enter:{strikethrough:sm},exit:{strikethrough:lm}}}function sm(e){this.enter({type:"delete",children:[],position:void 0},e)}function lm(e){this.exit(e)}function am(){return{enter:{table:um,tableData:Vf,tableHeader:Vf,tableRow:dm},exit:{codeText:fm,table:cm,tableData:Lu,tableHeader:Lu,tableRow:Lu}}}function um(e){const n=e._align;this.enter({type:"table",align:n.map(function(r){return r==="none"?null:r}),children:[],position:void 0},e),this.data.inTable=!0}function cm(e){this.exit(e),this.data.inTable=void 0}function dm(e){this.enter({type:"tableRow",children:[],position:void 0},e)}function Lu(e){this.exit(e)}function Vf(e){this.enter({type:"tableCell",children:[],position:void 0},e)}function fm(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,hm));const r=this.stack[this.stack.length-1];r.type,r.value=n,this.exit(e)}function hm(e,n){return n==="|"?n:e}function pm(){return{exit:{taskListCheckValueChecked:Wf,taskListCheckValueUnchecked:Wf,paragraph:mm}}}function Wf(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function mm(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const o=r.children[0];if(o&&o.type==="text"){const l=n.children;let a=-1,u;for(;++a<l.length;){const d=l[a];if(d.type==="paragraph"){u=d;break}}u===r&&(o.value=o.value.slice(1),o.value.length===0?r.children.shift():r.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,r.position.start={...o.position.start}))}}this.exit(e)}function kh(){return[R8(),im(),om(),am(),pm()]}const gm={tokenize:xm,partial:!0},bh={tokenize:Cm,partial:!0},xh={tokenize:Sm,partial:!0},Ch={tokenize:_m,partial:!0},wm={tokenize:Em,partial:!0},Sh={name:"wwwAutolink",tokenize:km,previous:Eh},_h={name:"protocolAutolink",tokenize:bm,previous:Mh},Hn={name:"emailAutolink",tokenize:ym,previous:zh},En={};function vm(){return{text:En}}let Tr=48;for(;Tr<123;)En[Tr]=Hn,Tr++,Tr===58?Tr=65:Tr===91&&(Tr=97);En[43]=Hn;En[45]=Hn;En[46]=Hn;En[95]=Hn;En[72]=[Hn,_h];En[104]=[Hn,_h];En[87]=[Hn,Sh];En[119]=[Hn,Sh];function ym(e,n,r){const o=this;let l,a;return u;function u(w){return!Ju(w)||!zh.call(o,o.previous)||P1(o.events)?r(w):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(w))}function d(w){return Ju(w)?(e.consume(w),d):w===64?(e.consume(w),p):r(w)}function p(w){return w===46?e.check(wm,g,h)(w):w===45||w===95||_t(w)?(a=!0,e.consume(w),p):g(w)}function h(w){return e.consume(w),l=!0,p}function g(w){return a&&l&&Lt(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(w)):r(w)}}function km(e,n,r){const o=this;return l;function l(u){return u!==87&&u!==119||!Eh.call(o,o.previous)||P1(o.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gm,e.attempt(bh,e.attempt(xh,a),r),r)(u))}function a(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(u)}}function bm(e,n,r){const o=this;let l="",a=!1;return u;function u(w){return(w===72||w===104)&&Mh.call(o,o.previous)&&!P1(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),l+=String.fromCodePoint(w),e.consume(w),d):r(w)}function d(w){if(Lt(w)&&l.length<5)return l+=String.fromCodePoint(w),e.consume(w),d;if(w===58){const k=l.toLowerCase();if(k==="http"||k==="https")return e.consume(w),p}return r(w)}function p(w){return w===47?(e.consume(w),a?h:(a=!0,p)):r(w)}function h(w){return w===null||tl(w)||De(w)||Hr(w)||Si(w)?r(w):e.attempt(bh,e.attempt(xh,g),r)(w)}function g(w){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(w)}}function xm(e,n,r){let o=0;return l;function l(u){return(u===87||u===119)&&o<3?(o++,e.consume(u),l):u===46&&o===3?(e.consume(u),a):r(u)}function a(u){return u===null?r(u):n(u)}}function Cm(e,n,r){let o,l,a;return u;function u(h){return h===46||h===95?e.check(Ch,p,d)(h):h===null||De(h)||Hr(h)||h!==45&&Si(h)?p(h):(a=!0,e.consume(h),u)}function d(h){return h===95?o=!0:(l=o,o=void 0),e.consume(h),u}function p(h){return l||o||!a?r(h):n(h)}}function Sm(e,n){let r=0,o=0;return l;function l(u){return u===40?(r++,e.consume(u),l):u===41&&o<r?a(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(Ch,n,a)(u):u===null||De(u)||Hr(u)?n(u):(e.consume(u),l)}function a(u){return u===41&&o++,e.consume(u),l}}function _m(e,n,r){return o;function o(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),o):d===38?(e.consume(d),a):d===93?(e.consume(d),l):d===60||d===null||De(d)||Hr(d)?n(d):r(d)}function l(d){return d===null||d===40||d===91||De(d)||Hr(d)?n(d):o(d)}function a(d){return Lt(d)?u(d):r(d)}function u(d){return d===59?(e.consume(d),o):Lt(d)?(e.consume(d),u):r(d)}}function Em(e,n,r){return o;function o(a){return e.consume(a),l}function l(a){return _t(a)?r(a):n(a)}}function Eh(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||De(e)}function Mh(e){return!Lt(e)}function zh(e){return!(e===47||Ju(e))}function Ju(e){return e===43||e===45||e===46||e===95||_t(e)}function P1(e){let n=e.length,r=!1;for(;n--;){const o=e[n][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){r=!0;break}if(o._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const Mm={tokenize:Tm,partial:!0};function zm(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Fm,continuation:{tokenize:Om},exit:Pm}},text:{91:{name:"gfmFootnoteCall",tokenize:Im},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Lm,resolveTo:jm}}}}function Lm(e,n,r){const o=this;let l=o.events.length;const a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let u;for(;l--;){const p=o.events[l][1];if(p.type==="labelImage"){u=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return d;function d(p){if(!u||!u._balanced)return r(p);const h=wn(o.sliceSerialize({start:u.end,end:o.now()}));return h.codePointAt(0)!==94||!a.includes(h.slice(1))?r(p):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),n(p))}}function jm(e,n){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},d=[e[r+1],e[r+2],["enter",o,n],e[r+3],e[r+4],["enter",l,n],["exit",l,n],["enter",a,n],["enter",u,n],["exit",u,n],["exit",a,n],e[e.length-2],e[e.length-1],["exit",o,n]];return e.splice(r,e.length-r+1,...d),e}function Im(e,n,r){const o=this,l=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a=0,u;return d;function d(w){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(w),e.exit("gfmFootnoteCallLabelMarker"),p}function p(w){return w!==94?r(w):(e.enter("gfmFootnoteCallMarker"),e.consume(w),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(w){if(a>999||w===93&&!u||w===null||w===91||De(w))return r(w);if(w===93){e.exit("chunkString");const k=e.exit("gfmFootnoteCallString");return l.includes(wn(o.sliceSerialize(k)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(w),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):r(w)}return De(w)||(u=!0),a++,e.consume(w),w===92?g:h}function g(w){return w===91||w===92||w===93?(e.consume(w),a++,h):h(w)}}function Fm(e,n,r){const o=this,l=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let a,u=0,d;return p;function p(_){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(_){return _===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):r(_)}function g(_){if(u>999||_===93&&!d||_===null||_===91||De(_))return r(_);if(_===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return a=wn(o.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),k}return De(_)||(d=!0),u++,e.consume(_),_===92?w:g}function w(_){return _===91||_===92||_===93?(e.consume(_),u++,g):g(_)}function k(_){return _===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),l.includes(a)||l.push(a),Te(e,v,"gfmFootnoteDefinitionWhitespace")):r(_)}function v(_){return n(_)}}function Om(e,n,r){return e.check(jo,n,e.attempt(Mm,n,r))}function Pm(e){e.exit("gfmFootnoteDefinition")}function Tm(e,n,r){const o=this;return Te(e,l,"gfmFootnoteDefinitionIndent",5);function l(a){const u=o.events[o.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?n(a):r(a)}}function Rm(e){let r=(e||{}).singleTilde;const o={name:"strikethrough",tokenize:a,resolveAll:l};return r==null&&(r=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function l(u,d){let p=-1;for(;++p<u.length;)if(u[p][0]==="enter"&&u[p][1].type==="strikethroughSequenceTemporary"&&u[p][1]._close){let h=p;for(;h--;)if(u[h][0]==="exit"&&u[h][1].type==="strikethroughSequenceTemporary"&&u[h][1]._open&&u[p][1].end.offset-u[p][1].start.offset===u[h][1].end.offset-u[h][1].start.offset){u[p][1].type="strikethroughSequence",u[h][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},u[h][1].start),end:Object.assign({},u[p][1].end)},w={type:"strikethroughText",start:Object.assign({},u[h][1].end),end:Object.assign({},u[p][1].start)},k=[["enter",g,d],["enter",u[h][1],d],["exit",u[h][1],d],["enter",w,d]],v=d.parser.constructs.insideSpan.null;v&&gn(k,k.length,0,ml(v,u.slice(h+1,p),d)),gn(k,k.length,0,[["exit",w,d],["enter",u[p][1],d],["exit",u[p][1],d],["exit",g,d]]),gn(u,h-1,p-h+3,k),p=h+k.length-2;break}}for(p=-1;++p<u.length;)u[p][1].type==="strikethroughSequenceTemporary"&&(u[p][1].type="data");return u}function a(u,d,p){const h=this.previous,g=this.events;let w=0;return k;function k(_){return h===126&&g[g.length-1][1].type!=="characterEscape"?p(_):(u.enter("strikethroughSequenceTemporary"),v(_))}function v(_){const E=bi(h);if(_===126)return w>1?p(_):(u.consume(_),w++,v);if(w<2&&!r)return p(_);const O=u.exit("strikethroughSequenceTemporary"),F=bi(_);return O._open=!F||F===2&&!!E,O._close=!E||E===2&&!!F,d(_)}}}class Nm{constructor(){this.map=[],this.index=new Map}add(n,r,o){$m(this,n,r,o)}consume(n){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const o=[];for(;r>0;)r-=1,o.push(n.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),n.length=this.map[r][0];o.push(n.slice()),n.length=0;let l=o.pop();for(;l;){for(const a of l)n.push(a);l=o.pop()}this.map.length=0,this.index.clear()}}function $m(e,n,r,o){if(r===0&&o.length===0)return;const l=e.index.get(n);if(l){l[1]+=r,l[2].push(...o);return}const a=[n,r,o];e.map.push(a),e.index.set(n,a)}function Am(e,n){let r=!1;const o=[];for(;n<e.length;){const l=e[n];if(r){if(l[0]==="enter")l[1].type==="tableContent"&&o.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(l[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const a=o.length-1;o[a]=o[a]==="left"?"center":"right"}}else if(l[1].type==="tableDelimiterRow")break}else l[0]==="enter"&&l[1].type==="tableDelimiterRow"&&(r=!0);n+=1}return o}function Dm(){return{flow:{null:{name:"table",tokenize:Hm,resolveAll:Bm}}}}function Hm(e,n,r){const o=this;let l=0,a=0,u;return d;function d(P){let K=o.events.length-1;for(;K>-1;){const{type:me}=o.events[K][1];if(me==="lineEnding"||me==="linePrefix")K--;else break}const X=K>-1?o.events[K][1].type:null,ie=X==="tableHead"||X==="tableRow"?j:p;return ie===j&&o.parser.lazy[o.now().line]?r(P):ie(P)}function p(P){return e.enter("tableHead"),e.enter("tableRow"),h(P)}function h(P){return P===124||(u=!0,a+=1),g(P)}function g(P){return P===null?r(P):ke(P)?a>1?(a=0,o.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),v):r(P):Ee(P)?Te(e,g,"whitespace")(P):(a+=1,u&&(u=!1,l+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),u=!0,g):(e.enter("data"),w(P)))}function w(P){return P===null||P===124||De(P)?(e.exit("data"),g(P)):(e.consume(P),P===92?k:w)}function k(P){return P===92||P===124?(e.consume(P),w):w(P)}function v(P){return o.interrupt=!1,o.parser.lazy[o.now().line]?r(P):(e.enter("tableDelimiterRow"),u=!1,Ee(P)?Te(e,_,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):_(P))}function _(P){return P===45||P===58?O(P):P===124?(u=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),E):ee(P)}function E(P){return Ee(P)?Te(e,O,"whitespace")(P):O(P)}function O(P){return P===58?(a+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),F):P===45?(a+=1,F(P)):P===null||ke(P)?B(P):ee(P)}function F(P){return P===45?(e.enter("tableDelimiterFiller"),Z(P)):ee(P)}function Z(P){return P===45?(e.consume(P),Z):P===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(P))}function D(P){return Ee(P)?Te(e,B,"whitespace")(P):B(P)}function B(P){return P===124?_(P):P===null||ke(P)?!u||l!==a?ee(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(P)):ee(P)}function ee(P){return r(P)}function j(P){return e.enter("tableRow"),H(P)}function H(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),H):P===null||ke(P)?(e.exit("tableRow"),n(P)):Ee(P)?Te(e,H,"whitespace")(P):(e.enter("data"),G(P))}function G(P){return P===null||P===124||De(P)?(e.exit("data"),H(P)):(e.consume(P),P===92?le:G)}function le(P){return P===92||P===124?(e.consume(P),G):G(P)}}function Bm(e,n){let r=-1,o=!0,l=0,a=[0,0,0,0],u=[0,0,0,0],d=!1,p=0,h,g,w;const k=new Nm;for(;++r<e.length;){const v=e[r],_=v[1];v[0]==="enter"?_.type==="tableHead"?(d=!1,p!==0&&(Uf(k,n,p,h,g),g=void 0,p=0),h={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},k.add(r,0,[["enter",h,n]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(o=!0,w=void 0,a=[0,0,0,0],u=[0,r+1,0,0],d&&(d=!1,g={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},k.add(r,0,[["enter",g,n]])),l=_.type==="tableDelimiterRow"?2:g?3:1):l&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(o=!1,u[2]===0&&(a[1]!==0&&(u[0]=u[1],w=Us(k,n,a,l,void 0,w),a=[0,0,0,0]),u[2]=r)):_.type==="tableCellDivider"&&(o?o=!1:(a[1]!==0&&(u[0]=u[1],w=Us(k,n,a,l,void 0,w)),a=u,u=[a[1],r,0,0])):_.type==="tableHead"?(d=!0,p=r):_.type==="tableRow"||_.type==="tableDelimiterRow"?(p=r,a[1]!==0?(u[0]=u[1],w=Us(k,n,a,l,r,w)):u[1]!==0&&(w=Us(k,n,u,l,r,w)),l=0):l&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(u[3]=r)}for(p!==0&&Uf(k,n,p,h,g),k.consume(n.events),r=-1;++r<n.events.length;){const v=n.events[r];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=Am(n.events,r))}return e}function Us(e,n,r,o,l,a){const u=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",d="tableContent";r[0]!==0&&(a.end=Object.assign({},pi(n.events,r[0])),e.add(r[0],0,[["exit",a,n]]));const p=pi(n.events,r[1]);if(a={type:u,start:Object.assign({},p),end:Object.assign({},p)},e.add(r[1],0,[["enter",a,n]]),r[2]!==0){const h=pi(n.events,r[2]),g=pi(n.events,r[3]),w={type:d,start:Object.assign({},h),end:Object.assign({},g)};if(e.add(r[2],0,[["enter",w,n]]),o!==2){const k=n.events[r[2]],v=n.events[r[3]];if(k[1].end=Object.assign({},v[1].end),k[1].type="chunkText",k[1].contentType="text",r[3]>r[2]+1){const _=r[2]+1,E=r[3]-r[2]-1;e.add(_,E,[])}}e.add(r[3]+1,0,[["exit",w,n]])}return l!==void 0&&(a.end=Object.assign({},pi(n.events,l)),e.add(l,0,[["exit",a,n]]),a=void 0),a}function Uf(e,n,r,o,l){const a=[],u=pi(n.events,r);l&&(l.end=Object.assign({},u),a.push(["exit",l,n])),o.end=Object.assign({},u),a.push(["exit",o,n]),e.add(r+1,0,a)}function pi(e,n){const r=e[n],o=r[0]==="enter"?"start":"end";return r[1][o]}const Vm={name:"tasklistCheck",tokenize:Um};function Wm(){return{text:{91:Vm}}}function Um(e,n,r){const o=this;return l;function l(p){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?r(p):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(p),e.exit("taskListCheckMarker"),a)}function a(p){return De(p)?(e.enter("taskListCheckValueUnchecked"),e.consume(p),e.exit("taskListCheckValueUnchecked"),u):p===88||p===120?(e.enter("taskListCheckValueChecked"),e.consume(p),e.exit("taskListCheckValueChecked"),u):r(p)}function u(p){return p===93?(e.enter("taskListCheckMarker"),e.consume(p),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):r(p)}function d(p){return ke(p)?n(p):Ee(p)?e.check({tokenize:qm},n,r)(p):r(p)}}function qm(e,n,r){return Te(e,o,"whitespace");function o(l){return l===null?r(l):n(l)}}function Lh(e){return rh([vm(),zm(),Rm(e),Dm(),Wm()])}const e1={eof:null,asterisk:42},qf={characterGroupPunctuation:2},Zm=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 Qm(e){return e!==null&&e>=0&&Zm.test(String.fromCodePoint(e))}const Gm=function(e,n,r){const o=this.parser.constructs.attentionMarkers.null;if(o===void 0)throw new Error("micromark CommonMark attention markers are unavailable");const l=o,a=this.previous,u=bi(a);let d=e1.eof;return p;function p(g){return g!==e1.asterisk?r(g):(d=g,e.enter("attentionSequence"),h(g))}function h(g){if(g===d)return e.consume(g),h;const w=e.exit("attentionSequence"),k=bi(g),v=!k||k===qf.characterGroupPunctuation&&!!u||l.includes(g),_=!u||u===qf.characterGroupPunctuation&&!!k||l.includes(a),O=w.end.offset-w.start.offset>=2&&Si(a)&&Qm(g),F=_||O;return w._open=v,w._close=F,n(g)}},Km={name:"cjkFriendlyAttention",resolveAll:rl.resolveAll,tokenize:Gm},Ym={text:{[e1.asterisk]:Km}};function jh(){return Ym}function Xm(e){return e.includes("\\")&&!/^[a-z][a-z\d+.-]+:/iu.test(e)&&(!e.includes("/")||/\\[\p{L}\p{N}]/u.test(e))}function Zf(e){const n=this.resume(),r=this.sliceSerialize(e),o=this.stack.at(-1);o.url=Xm(r)?mh(r.replaceAll("\\","\\\\")):n}function Ih(){return{exit:{resourceDestinationString:Zf,definitionDestinationString:Zf}}}const Fh={singleTilde:!1};function Jm(e){return th(wh(e,{extensions:[Lh(Fh),jh()],mdastExtensions:[kh(),Ih()]}),e)}function eg(e){return th(wh(e,{extensions:[Lh(Fh),jh()],mdastExtensions:[kh(),Ih()]}),e)}const tg=new Set(["diff","patch"]);function ng(e){return e!==void 0&&tg.has(e.toLowerCase())}const rg=["diff --git ","index ","old mode ","new mode ","new file mode ","deleted file mode ","similarity index ","dissimilarity index ","rename from ","rename to ","copy from ","copy to ","Binary files ","GIT binary patch","\\ No newline"],ig=/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/u;function og(e){const n=ig.exec(e);if(n!==null)return{old:n[2]===void 0?1:Number(n[2]),new:n[4]===void 0?1:Number(n[4])}}function sg(e){return rg.some(n=>e.startsWith(n))}function lg(e){const n=e.slice(4).replace(/\t.*$/u,"").trim(),r=n.startsWith('"')&&n.endsWith('"')?n.slice(1,-1).replace(/\\(["\\])/gu,"$1"):n;if(!(r===""||r==="/dev/null"))return u9(r.replace(/^[ab]\//u,""))}function ag(e){const n=[],r=new Map;let o=!1,l,a=-1;const u=d=>{n.push({...d,file:a})};for(const d of e.split(`
82
+ `)){if(d.startsWith("diff --git ")){o=!1,l=void 0,u({kind:"meta",marker:"",body:"",raw:d});continue}if(d.startsWith("@@")){o=!0,l=og(d),u({kind:"hunk",marker:"",body:"",raw:d});continue}if(!o&&(d.startsWith("--- ")||d.startsWith("+++ "))){d.startsWith("--- ")&&(a+=1);const p=lg(d);p!==void 0&&r.set(a,p),u({kind:"meta",marker:"",body:"",raw:d});continue}if(sg(d)){u({kind:"meta",marker:"",body:"",raw:d});continue}d.startsWith("+")?(l!==void 0&&(l.new-=1),u({kind:"add",marker:"+",body:d.slice(1),raw:d})):d.startsWith("-")?(l!==void 0&&(l.old-=1),u({kind:"del",marker:"-",body:d.slice(1),raw:d})):d.startsWith(" ")?(l!==void 0&&(l.old-=1,l.new-=1),u({kind:"context",marker:" ",body:d.slice(1),raw:d})):u({kind:"context",marker:"",body:d,raw:d}),o&&l!==void 0&&l.old<=0&&l.new<=0&&(o=!1)}return{rows:n,languages:r}}function ug(e){return e.kind==="add"||e.kind==="del"||e.kind==="context"}const cg="_block_1xlbq_5",dg="_bannerWrap_1xlbq_25",fg="_banner_1xlbq_25",hg="_infostring_1xlbq_46",pg="_action_1xlbq_57",mg="_copyButton_1xlbq_63",gg="_content_1xlbq_75",wg="_plain_1xlbq_104",vg="_card_1xlbq_108",yg="_numbered_1xlbq_123",kg="_diffFence_1xlbq_150",bg="_diffLine_1xlbq_154",xg="_diffAdd_1xlbq_178",Cg="_diffDel_1xlbq_183",Sg="_diffMarker_1xlbq_188",_g="_diffContext_1xlbq_200",Eg="_diffHunk_1xlbq_204",Mg="_diffMeta_1xlbq_208",at={block:cg,bannerWrap:dg,banner:fg,infostring:hg,action:pg,copyButton:mg,content:gg,plain:wg,card:vg,numbered:yg,diffFence:kg,diffLine:bg,diffAdd:xg,diffDel:Cg,diffMarker:Sg,diffContext:_g,diffHunk:Eg,diffMeta:Mg},zg={add:at.diffAdd,del:at.diffDel,hunk:at.diffHunk,meta:at.diffMeta,context:at.diffContext};function Lg(e,n,r){const o=zg[e.kind];return b.jsxs(I.Fragment,{children:[n>0&&`
83
+ `,b.jsx("span",{className:Ze("line",at.diffLine,o),children:ug(e)?b.jsxs(I.Fragment,{children:[b.jsx("span",{className:at.diffMarker,children:e.marker}),r===void 0?e.body:r.map((l,a)=>b.jsx("span",{style:l.style,children:l.text},a))]}):e.raw})]},n)}function jg({code:e,lang:n,diff:r,streaming:o,className:l,contentRef:a,lineNumbers:u=!1,showHeader:d=!0,copyLabel:p,copiedLabel:h,toolbarLabels:g,wrap:w}){const k=e.endsWith(`
84
+ `)?e.slice(0,-1):e,v=I.useMemo(()=>r??ng(n)?ag(k):void 0,[k,n,r]),_=u?k.split(`
85
+ `):void 0,E=I.useRef(null),O=!1,F=I.useSyncExternalStore(I6,Cf,Cf),Z=I.useMemo(()=>{},[v,O,F]),D=I.useRef(null),B=I.useRef(null),ee=I.useRef(!1),j=I.useMemo(()=>{{D.current=null,B.current=null,ee.current=!1;return}},[o,O,v,k,n,F]),H=I.useMemo(()=>{},[v,o,O,j,k,n,F]),[G,le]=I.useState(!1),[P,K]=I.useState(!0),X=w??P,ie=I.useCallback(()=>{if(G)return;const oe=E.current?.querySelector("pre")?.textContent??k;K2(oe).then(ge=>{ge&&(le(!0),window.setTimeout(()=>{le(!1)},1e3))})},[G,k]),me=v!==void 0?b.jsx("pre",{className:at.plain,children:b.jsx("code",{children:v.rows.map((oe,ge)=>Lg(oe,ge,Z?.get(ge)))})}):j!==void 0?j:H===void 0?b.jsx("pre",{className:at.plain,children:b.jsx("code",{children:_===void 0?k:_.map((oe,ge)=>b.jsxs(I.Fragment,{children:[ge>0&&`
86
+ `,b.jsx("span",{className:"line",children:oe})]},ge))})}):b.jsx("div",{dangerouslySetInnerHTML:{__html:H}});return b.jsxs("div",{ref:E,className:Ze(at.block,"md-code-block",u&&at.numbered,v!==void 0&&!u&&at.diffFence,g!==void 0&&at.card,l),"data-line-numbers":u||void 0,"data-code-wrap":g===void 0?void 0:X,style:_===void 0?void 0:{"--dsl-code-block-line-number-width":`${Math.max(2,String(_.length).length)}ch`},children:[d&&b.jsx("div",{className:at.bannerWrap,children:g!==void 0?b.jsx(A6,{lang:n,labels:g,copyLabel:p,copiedLabel:h,copied:G,wrapped:X,onCopy:ie,onWrap:w===void 0?()=>{K(oe=>!oe)}:void 0}):b.jsxs("div",{className:at.banner,"data-code-block-banner":!0,children:[b.jsx("div",{className:at.infostring,"data-text-interaction-exclude":"",children:n??""}),b.jsx("div",{className:at.action,children:b.jsx("button",{type:"button",className:at.copyButton,onClick:ie,children:G?h:p})})]})}),b.jsx("div",{ref:a,className:at.content,"data-code-block-content":!0,children:me})]})}function Oh({lang:e,code:n,streaming:r,labels:o,diff:l}){return b.jsx(jg,{code:`${n}
87
+ `,lang:e,streaming:r,diff:l,copyLabel:o.copyLabel,copiedLabel:o.copiedLabel,toolbarLabels:o.toolbarLabels})}function Ph(e){return/^(?:[\\/]|\.{1,2}[\\/]|[a-z]:[\\/])/i.test(e)}function T1(e){const n=e.indexOf("#"),r=n<0?e:e.slice(0,n);if(r.includes("?"))return;let o;try{o=decodeURIComponent(r)}catch{return}if(o.length===0||/[\u0000-\u001f\u007f]/.test(o)||!Ph(o)&&URL.canParse(o))return;const l=n<0?/:(\d+)(?::\d+|-(\d+))?$/.exec(r):null;if(l!==null&&(o=o.slice(0,-l[0].length)),o.length===0)return;const a=l??(n<0?null:/^L(\d+)(?:-L(\d+))?$/.exec(e.slice(n+1)));if(a===null)return{path:o};const u=Number(a[1]),d=a[2]===void 0?u:Number(a[2]);return!Number.isSafeInteger(u)||!Number.isSafeInteger(d)||u<1||d<u?{path:o}:{path:o,line:u}}const ze='<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>',Le='</title><path d="',je='"/></svg>',Ig={title:"AliExpress",slug:"aliexpress",get svg(){return ze+"AliExpress"+Le+this.path+je},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"},Fg={title:"Apple",slug:"apple",get svg(){return ze+"Apple"+Le+this.path+je},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"},Og={title:"Baidu",slug:"baidu",get svg(){return ze+"Baidu"+Le+this.path+je},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"},Pg={title:"Bilibili",slug:"bilibili",get svg(){return ze+"Bilibili"+Le+this.path+je},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"},Tg={title:"CSDN",slug:"csdn",get svg(){return ze+"CSDN"+Le+this.path+je},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"},Rg={title:"DuckDuckGo",slug:"duckduckgo",get svg(){return ze+"DuckDuckGo"+Le+this.path+je},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"},Ng={title:"eBay",slug:"ebay",get svg(){return ze+"eBay"+Le+this.path+je},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"},$g={title:"Facebook",slug:"facebook",get svg(){return ze+"Facebook"+Le+this.path+je},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"},ju={title:"GitHub",slug:"github",get svg(){return ze+"GitHub"+Le+this.path+je},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"},Ag={title:"GitLab",slug:"gitlab",get svg(){return ze+"GitLab"+Le+this.path+je},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/"},Dg={title:"Google",slug:"google",get svg(){return ze+"Google"+Le+this.path+je},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/"},Hg={title:"Instagram",slug:"instagram",get svg(){return ze+"Instagram"+Le+this.path+je},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"},Bg={title:"Juejin",slug:"juejin",get svg(){return ze+"Juejin"+Le+this.path+je},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"},Vg={title:"MDN Web Docs",slug:"mdnwebdocs",get svg(){return ze+"MDN Web Docs"+Le+this.path+je},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"},Wg={title:"Netflix",slug:"netflix",get svg(){return ze+"Netflix"+Le+this.path+je},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"},Ug={title:"npm",slug:"npm",get svg(){return ze+"npm"+Le+this.path+je},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"},qg={title:"PyPI",slug:"pypi",get svg(){return ze+"PyPI"+Le+this.path+je},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"},Zg={title:"QQ",slug:"qq",get svg(){return ze+"QQ"+Le+this.path+je},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"},Qg={title:"Quora",slug:"quora",get svg(){return ze+"Quora"+Le+this.path+je},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"},Gg={title:"Reddit",slug:"reddit",get svg(){return ze+"Reddit"+Le+this.path+je},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"},Kg={title:"Sina Weibo",slug:"sinaweibo",get svg(){return ze+"Sina Weibo"+Le+this.path+je},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"},Yg={title:"Spotify",slug:"spotify",get svg(){return ze+"Spotify"+Le+this.path+je},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"},Xg={title:"Stack Overflow",slug:"stackoverflow",get svg(){return ze+"Stack Overflow"+Le+this.path+je},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"},Jg={title:"Taobao",slug:"taobao",get svg(){return ze+"Taobao"+Le+this.path+je},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"},Qf={title:"Telegram",slug:"telegram",get svg(){return ze+"Telegram"+Le+this.path+je},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"},ew={title:"TikTok",slug:"tiktok",get svg(){return ze+"TikTok"+Le+this.path+je},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"},tw={title:"V2EX",slug:"v2ex",get svg(){return ze+"V2EX"+Le+this.path+je},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"},nw={title:"WeChat",slug:"wechat",get svg(){return ze+"WeChat"+Le+this.path+je},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"},Gf={title:"WhatsApp",slug:"whatsapp",get svg(){return ze+"WhatsApp"+Le+this.path+je},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"},rw={title:"Wikipedia",slug:"wikipedia",get svg(){return ze+"Wikipedia"+Le+this.path+je},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"},Kf={title:"X",slug:"x",get svg(){return ze+"X"+Le+this.path+je},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"},iw={title:"Y Combinator",slug:"ycombinator",get svg(){return ze+"Y Combinator"+Le+this.path+je},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"},Yf={title:"YouTube",slug:"youtube",get svg(){return ze+"YouTube"+Le+this.path+je},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"},ow={title:"Zhihu",slug:"zhihu",get svg(){return ze+"Zhihu"+Le+this.path+je},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"},sw={"github.com":ju,"github.io":ju,"raw.githubusercontent.com":ju,"gitlab.com":Ag,"npmjs.com":Ug,"pypi.org":qg,"stackoverflow.com":Xg,"developer.mozilla.org":Vg,"wikipedia.org":rw,"news.ycombinator.com":iw,"youtube.com":Yf,"youtu.be":Yf,"x.com":Kf,"twitter.com":Kf,"bilibili.com":Pg,"zhihu.com":ow,"juejin.cn":Bg,"csdn.net":Tg,"google.com":Dg,"baidu.com":Og,"duckduckgo.com":Rg,"tiktok.com":ew,"netflix.com":Wg,"spotify.com":Yg,"facebook.com":$g,"instagram.com":Hg,"reddit.com":Gg,"telegram.org":Qf,"t.me":Qf,"weixin.qq.com":nw,"qq.com":Zg,"whatsapp.com":Gf,"wa.me":Gf,"weibo.com":Kg,"taobao.com":Jg,"aliexpress.com":Ig,"ebay.com":Ng,"quora.com":Qg,"v2ex.com":tw,"apple.com":Fg};function lw(e){let n;try{const l=new URL(e);if(l.protocol!=="http:"&&l.protocol!=="https:")return;n=l.hostname.toLowerCase()}catch{return}let r,o=0;for(const[l,a]of Object.entries(sw))(n===l||n.endsWith(`.${l}`))&&l.length>o&&(r=a,o=l.length);return r}function aw({href:e,size:n,className:r}){const o=e===void 0?void 0:lw(e);if(o!==void 0)return b.jsx("svg",{width:n,height:n,className:r,viewBox:"-2 -2 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:b.jsx("path",{d:o.path,fill:"currentColor"})})}function t1(e){const n=eh(e),r=J2(e);if(b9(n))return x9(r)?"code":"other";if(r==="")return"other";switch(n){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 Th(n)}}const uw=({size:e,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.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"}),b.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"})]}),cw=({size:e,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.jsx("path",{d:"M8.90454 1.6095V4.87091C8.90454 5.45806 9.38051 5.93405 9.96768 5.93405H13.4953",stroke:"currentColor"}),b.jsx("path",{d:"M4.31152 8.7561H7.83046",stroke:"currentColor"}),b.jsx("path",{d:"M4.31152 11.3651H9.36598",stroke:"currentColor"})]}),dw=({size:e,className:n,strokeWidth:r})=>b.jsxs("svg",{width:e,height:e,className:n,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",strokeWidth:r,children:[b.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"}),b.jsx("path",{d:"M8.84888 1.83838V4.94133C8.84888 5.46896 9.2766 5.89671 9.80426 5.89671H13.157",stroke:"currentColor"})]});function Th(e){throw new Error(`unreachable link icon kind: ${String(e)}`)}function fw({kind:e,href:n,size:r=14,className:o,strokeWidth:l}){switch(e){case"url":return aw({href:n,size:r,className:o})??b.jsx(D6,{size:r,className:o,strokeWidth:l});case"folder":return b.jsx(B6,{size:r,className:o,strokeWidth:l});case"code":return b.jsx(H6,{size:r,className:o,strokeWidth:l});case"image":return b.jsx(uw,{size:r,className:o,strokeWidth:l});case"document":return b.jsx(cw,{size:r,className:o,strokeWidth:l});case"other":return b.jsx(dw,{size:r,className:o,strokeWidth:l});default:return Th(e)}}function R1(e){return b.jsx(fw,{...e,strokeWidth:el})}const hw=I.createContext({});function Io(){return I.useContext(hw)}function Xf(e,n,r=0){const o=document.documentElement,l=Number.parseFloat(getComputedStyle(o).getPropertyValue("--dsh-frame-top-clearance"));if(Number.isNaN(l))return e;const a=n!==void 0&&n.top>=0?n.bottom+r:Number.POSITIVE_INFINITY;return Math.max(e,Math.min((o.hasAttribute("data-fullscreen")?0:l)+20,a))}const pw=I.createContext(null),mw="_root_f2kr0_4",gw="_card_f2kr0_10",ww="_copyable_f2kr0_21",vw="_feedback_f2kr0_30",yw="_copied_f2kr0_36",kw="_status_f2kr0_43",bw="_preview_f2kr0_52",xw="_inline_f2kr0_79",Cw="_media_f2kr0_80",Sw="_fitContent_f2kr0_92",_w="_portal_f2kr0_96",Ew="_bridge_f2kr0_100",tn={root:mw,card:gw,copyable:ww,feedback:vw,copied:yw,status:kw,preview:bw,inline:xw,media:Cw,fitContent:Sw,portal:_w,bridge:Ew},Jf=100,e2=420,t2=24,Mw=300,$n=8,$t=8;function zw({anchor:e,content:n,openDelayMs:r=500,disabled:o=!1,grouped:l=!1,copyText:a,copyLabel:u,copiedLabel:d,variant:p="compact",widthAnchorRef:h,inline:g=!1,fitContent:w=!1}){const k=I.useRef(null),v=I.useRef(null),_=I.useRef(null),E=I.useRef(null),O=I.useRef(null),F=I.useRef(null),Z=I.useRef(0),D=I.useRef(!1),B=I.useRef(!0),[ee,j]=I.useState("closed"),H=ee!=="closed",G=ee==="closing",[le,P]=I.useState(null),K=le!==null,[X,ie]=I.useState(!1),me=I.useContext(pw),oe=l?me:null,[ge]=I.useState(()=>Symbol("hover-card")),de=I.useCallback(()=>{O.current!==null&&(clearTimeout(O.current),O.current=null),F.current=null,ie(!1)},[]),V=I.useCallback(()=>{Z.current+=1,de(),j(te=>p==="preview"&&te!=="closed"?"closing":"closed")},[de,p]),{arm:ne,cancel:x}=n9(V),M=I.useCallback(()=>{E.current!==null&&(clearTimeout(E.current),E.current=null)},[]),A=I.useCallback(()=>{M(),x(),Z.current+=1,de(),j("closed")},[M,x,de]),C=H&&K;I.useLayoutEffect(()=>{if(!(!C||oe===null))return oe.shown(ge,A,_.current),()=>{oe.release(ge)}},[oe,ge,C,A]),I.useEffect(()=>{if(!G)return;const te=setTimeout(()=>{j("closed")},Jf);return()=>{clearTimeout(te)}},[G]),I.useEffect(()=>{o&&(M(),x(),V())},[o,x,V]),I.useEffect(()=>(B.current=!0,()=>{B.current=!1,Z.current+=1,M(),O.current!==null&&(clearTimeout(O.current),O.current=null)}),[]),I.useEffect(()=>{if(!H||p!=="preview"&&!g)return;const te=xe=>{xe.key==="Escape"&&(g&&xe.stopPropagation(),M(),x(),V())};return window.addEventListener("keydown",te,g),()=>{window.removeEventListener("keydown",te,g)}},[H,p,g,x,V]),I.useLayoutEffect(()=>{if(!H){P(null);return}const te=()=>{const He=k.current;if(He===null)return;if(He.closest("[inert], [hidden]")!==null){A();return}const $e=He.getBoundingClientRect(),Dt=v.current?.offsetHeight??0;if(p==="preview"){const Xe=h?.current?.getBoundingClientRect()??$e,it=Math.max(0,Math.min(Xe.width-t2*2,window.innerWidth-$t*2)),ot=Xf($t,$e,$n),ft=Math.max(ot,$e.bottom+$n),jt=Math.max(0,$e.top-$n-ot),It=Math.max(0,window.innerHeight-ft-$t),vt=jt>=Math.min(e2,It),Ht=Math.min(e2,vt?jt:It);P({left:Math.max($t,Math.min(Xe.left+t2,window.innerWidth-it-$t)),top:vt?Math.max(ot,$e.top-Math.min(Dt,Ht)-$n):ft,width:it,maxHeight:Ht});return}if(g){const Xe=Math.max(Dt,v.current?.scrollHeight??0),it=Math.max(0,Math.min(Mw,window.innerWidth-$t*2)),ot=w?Math.min(v.current?.offsetWidth??it,it):it,ft=Xf($t,$e,$n),jt=Math.max(ft,$e.bottom+$n),It=Math.max(0,$e.top-$n-ft),vt=Math.max(0,window.innerHeight-jt-$t),Ht=Xe>vt&&It>vt,Bn=Ht?It:vt,Vn=Math.max($t,Math.min($e.left,window.innerWidth-ot-$t)),Wn=Ht?$e.top-$n-Math.min(Xe,Bn):jt,vr=Ht?Wn+Math.min(Xe,Bn):$e.bottom,$=Math.min($e.left,Vn);P({left:Vn,top:Wn,...w?{}:{width:ot},maxWidth:it,maxHeight:Bn,bridge:{left:$,top:vr,width:Math.max($e.right,Vn+ot)-$,height:Math.max(0,(Ht?$e.top:Wn)-vr)}});return}const Be=$e.top+Dt>window.innerHeight-$t?window.innerHeight-Dt-$t:$e.top;P({left:$e.right+$n,top:Be})};te();const xe=new MutationObserver(te);for(let He=k.current?.parentElement;He!=null;He=He.parentElement)xe.observe(He,{attributes:!0,attributeFilter:["inert","hidden"]});const Ie=(p==="preview"||g)&&typeof ResizeObserver<"u"?new ResizeObserver(te):null;for(const He of[v.current,k.current,h?.current])He!=null&&Ie?.observe(He);return window.addEventListener("scroll",te,!0),window.addEventListener("resize",te),()=>{Ie?.disconnect(),xe.disconnect(),window.removeEventListener("scroll",te,!0),window.removeEventListener("resize",te)}},[H,p,h,K,g,w,A]),I.useLayoutEffect(()=>{if(!H||le===null||p==="preview"||g)return;const te=v.current?.offsetHeight??0;le.top+te>window.innerHeight-$t&&P({left:le.left,top:window.innerHeight-te-$t})},[H,le,p,g]);const pe=async te=>{if(X||D.current)return;D.current=!0;const xe=Z.current,Ie=await K2(te);D.current=!1;const He=v.current;if(!Ie||!B.current||xe!==Z.current||He===null)return;const $e=He.offsetHeight;F.current=$e>0?$e:null,ie(!0),O.current=setTimeout(de,1e3)},we=a!==void 0,ae=te=>{_.current?.contains(te.target)||(M(),x(),V())},be=H&&le!==null&&b.jsx("div",{ref:v,className:Ze(tn.card,p==="preview"&&tn.preview,g&&tn.media,g&&w&&tn.fitContent,we&&tn.copyable,X&&tn.feedback),"data-closing":G||void 0,style:{left:le.left,top:le.top,width:le.width,maxWidth:le.maxWidth,maxHeight:le.maxHeight,minHeight:X&&F.current!==null?F.current:void 0,"--dsh-hover-preview-fade":`${Jf}ms`},role:we?"button":void 0,tabIndex:we?0:void 0,"aria-label":we?`${u}: ${a}`:void 0,onClick:we?te=>{const xe=window.getSelection();if(xe!==null&&!xe.isCollapsed){for(let Ie=0;Ie<xe.rangeCount;Ie+=1)if(xe.getRangeAt(Ie).intersectsNode(te.currentTarget))return}pe(a)}:void 0,onKeyDown:we?te=>{te.key!=="Enter"&&te.key!==" "||(te.preventDefault(),pe(a))}:void 0,children:X?b.jsx("span",{className:tn.copied,"aria-hidden":"true",children:d}):n});return b.jsxs("span",{ref:k,className:Ze(tn.root,g&&tn.inline),onFocus:g?te=>{!o&&te.target.matches(":focus-visible")&&(x(),j("open"))}:void 0,onBlur:g?te=>{te.currentTarget.contains(te.relatedTarget)||(M(),x(),V())}:void 0,onPointerEnter:te=>{if(!(o||te.pointerType==="touch")&&!(te.pointerType==="mouse"&&!window.matchMedia("(any-hover: hover)").matches)){if(x(),H){j("open");return}M(),oe?.isWarm()?j("open"):E.current=setTimeout(()=>{j("open")},r)}},onPointerLeave:()=>{M(),H&&ne()},onPointerDownCapture:ae,onClickCapture:ae,children:[e,H&&we&&b.jsx("span",{className:tn.status,role:"status",children:X?d:""}),be!==!1&&Lo.createPortal(b.jsxs("span",{ref:_,className:tn.portal,children:[le.bridge!==void 0&&b.jsx("span",{className:tn.bridge,style:le.bridge,"data-hovercard-bridge":"","aria-hidden":!0}),be]}),document.body)]})}function Lw(e,n,r,o,l){const a=I.useMemo(()=>o===void 0?{kind:"url",url:n,name:r,mediaType:"",resourceAddress:l}:{kind:"blob",blob:o,name:r,mediaType:o.type,resourceAddress:l},[n,r,o,l]),u=I.useRef(),d=I.useRef(!1),p=I.useCallback(()=>{const E=u.current;u.current=void 0,E?.abort.abort(),E?.prepared?.release()},[]);I.useEffect(()=>p,[p,a,e]);const h=I.useCallback(E=>{if(n===""||u.current!==void 0)return;const O={abort:new AbortController,failed:!1};u.current=O,window.addEventListener("pointerup",F=>{F.target!==E&&p()},{signal:O.abort.signal}),window.addEventListener("blur",p,{once:!0,signal:O.abort.signal}),e.prepare(a,O.abort.signal).then(F=>{O.abort.signal.aborted?F.release():O.prepared=F},F=>{O.failed=!0})},[n,e,a,p]),g=I.useCallback(E=>{!E.defaultPrevented&&E.currentTarget.draggable&&(l===void 0||E.type==="pointerdown")&&h(E.currentTarget)},[h,l]),w=I.useCallback(E=>{if(E.defaultPrevented||n==="")return;d.current=!0;const O=u.current;if(O?.prepared!==void 0){O.prepared.start(E.dataTransfer,E.currentTarget)||(E.preventDefault(),p());return}const F=new URL(n,location.href);o===void 0&&(F.protocol==="https:"||F.protocol==="http:")&&F.origin!==location.origin||(E.preventDefault(),O?.failed===!0&&(e.reportFailure(),p()),h(E.currentTarget))},[n,o,e,h,p]),k=I.useCallback(E=>{d.current=!1,E.button===0&&g(E)},[g]),v=I.useCallback(E=>{E.buttons!==1&&p()},[p]),_=I.useCallback(E=>{if(E.detail===0){d.current=!1;return}d.current&&(E.preventDefault(),E.stopPropagation(),d.current=!1)},[]);return{onPointerEnter:g,onPointerDown:k,onPointerLeave:v,onDragStart:w,onDragEnd:p,onClickCapture:_}}const jw=I.forwardRef(function({fileDrag:n,src:r,name:o,original:l,resourceAddress:a,...u},d){const p=Lw(n,r,o,l,a);return b.jsx("img",{...u,...p,src:r,ref:d,draggable:!0})}),Iw="_backdrop_1xjri_3",Fw="_stage_1xjri_10",Ow="_mask_1xjri_20",Pw="_image_1xjri_27",Tw="_close_1xjri_38",ho={backdrop:Iw,stage:Fw,mask:Ow,image:Pw,close:Tw};function Rw({src:e,alt:n,labels:r,onClose:o,contextMenuProps:l}){const a=I.useRef(null),u=I.useRef(null);return I.useEffect(()=>{u.current=document.activeElement instanceof HTMLElement?document.activeElement:null,a.current?.focus();const d=p=>{p.defaultPrevented||document.activeElement?.closest('[role="menu"]')||(p.key==="Escape"&&(p.stopPropagation(),o()),p.key==="Tab"&&(p.preventDefault(),a.current?.focus()))};return window.addEventListener("keydown",d,!0),()=>{window.removeEventListener("keydown",d,!0),u.current?.focus()}},[o]),Lo.createPortal(b.jsx("div",{className:ho.backdrop,role:"dialog","aria-modal":"true","aria-label":r.dialog,children:b.jsxs("div",{className:ho.stage,children:[b.jsx("div",{className:ho.mask,"aria-hidden":"true",onMouseDown:o}),b.jsx("img",{className:ho.image,src:e,alt:n,...l}),b.jsx("button",{ref:a,type:"button",className:ho.close,"aria-label":r.close,onClick:o,children:b.jsx(U5,{size:16})})]})}),document.body)}const Nw="_frame_uabhg_2",$w="_image_uabhg_12",Aw="_status_uabhg_14",Iu={frame:Nw,image:$w,status:Aw};function Dw({src:e,alt:n,loadingLabel:r,failedLabel:o}){return b.jsx(Hw,{src:e,alt:n,loadingLabel:r,failedLabel:o},e)}function Hw({src:e,alt:n,loadingLabel:r,failedLabel:o}){const[l,a]=I.useState("loading");return b.jsxs("span",{className:Iu.frame,children:[l!=="failed"&&b.jsx("img",{src:e,alt:n,loading:"lazy",decoding:"async",referrerPolicy:"no-referrer",className:Iu.image,"data-ready":l==="ready"||void 0,onLoad:()=>{a("ready")},onError:()=>{a("failed")}}),l!=="ready"&&b.jsxs("span",{className:Iu.status,role:"status",children:[l==="loading"&&b.jsx(Z5,{size:16}),b.jsx("span",{children:l==="loading"?r:o})]})]})}function Rh(e){if(Ph(e))return"";try{switch(new URL(e).protocol){case"javascript:":case"vbscript:":case"data:":case"blob:":return"";default:return e}}catch{return""}}function Bw(e){try{const n=new URL(e).protocol;return n==="http:"||n==="https:"?e:void 0}catch{return}}const Vw=["dsh-app://app/api/file?","dsh-app://app/api/plugin-market/detail-file?","dsh-app://app/api/plugin-manager/detail-file?"];function Ww(e){try{const n=new URL(e).protocol;return n==="http:"||n==="https:"||n==="blob:"||n==="data:"||Vw.some(r=>e.startsWith(r))?e:void 0}catch{return}}function Uw(e,n,r){const o=Bw(Rh(I1(e)));if(o!==void 0)return o;const l=n?.resolve(e),a=l===void 0?void 0:Ww(l);return a===void 0?void 0:N1(a,r)}let qw=0;const Nh=()=>++qw;function N1(e,n){let r;try{r=new URL(e)}catch{return e}return r.pathname.endsWith("/api/file")?(r.search=`${r.search===""?"?":`${r.search}&`}load=${n}`,r.href):e}function n1(){return{definitions:new Map,footnotes:new Map}}function il(e,n){for(const r of e){if(r.type==="definition"){const o=r.identifier.toUpperCase();n.definitions.has(o)||n.definitions.set(o,r)}else if(r.type==="footnoteDefinition"){const o=r.identifier.toUpperCase();n.footnotes.has(o)||n.footnotes.set(o,r)}"children"in r&&il(r.children,n)}}function r1(e,n){return e.map(r=>A1(r.node,r.key,n)).filter(r=>r!==null)}function $1(e,n){const r=[];for(const o of e)(n||r.length>0)&&r.push(`
88
+ `),r.push(o);return n&&e.length>0&&r.push(`
89
+ `),r}function $h(e,n){const r=[];for(const[o,l]of e.entries())if(l.type==="paragraph")r.push({paragraph:hn(l.children,n)});else{const a=A1(l,o,n);a!==null&&r.push({element:a})}return r}function hn(e,n){return e.map((r,o)=>A1(r,o,n))}function A1(e,n,r){switch(e.type){case"text":return e.value;case"paragraph":return b.jsx("p",{children:hn(e.children,r)},n);case"heading":return I.createElement(`h${e.depth}`,{key:n},...hn(e.children,r));case"blockquote":return b.jsx("blockquote",{children:$1(hn(e.children,{...r,inBlockquote:!0}).filter(o=>o!==null),!0)},n);case"thematicBreak":return b.jsx("hr",{},n);case"break":return b.jsxs(I.Fragment,{children:[b.jsx("br",{}),`
90
+ `]},n);case"strong":return b.jsx("strong",{children:hn(e.children,r)},n);case"emphasis":return b.jsx("em",{children:hn(e.children,r)},n);case"delete":return b.jsx("del",{children:hn(e.children,r)},n);case"inlineCode":{const o=e.value.replace(/\r?\n|\r/g," "),l=ev(o);if(l!==void 0)return b.jsx("code",{children:Bh(l,[o],"link")},n);const a=r.inLink===!0?void 0:r.fileMentions?.resolve(o);return a!==void 0?b.jsx("code",{children:b.jsxs("button",{type:"button",className:St.fileMention,title:a.title,"aria-label":a.label,onClick:a.open,...a.contextMenuProps,children:[b.jsx(R1,{kind:t1(o),className:St.linkIcon}),o]})},n):b.jsx("code",{children:o},n)}case"html":return r.omitHtml?null:e.value;case"code":return Zw(e,n,r);case"list":return Kw(e,n,r);case"listItem":return Dh(e,Ah(e),n,r);case"table":return Yw(e,n,r);case"link":return Vh(e.url,hn(e.children,{...r,inLink:!0}),n,!Hh(e.children),r.streaming);case"linkReference":return rv(e,n,r);case"image":return Wh(e.url,e.alt??"",n,r);case"imageReference":return iv(e,n,r);case"footnoteReference":return ov(e,n,r);case"definition":case"footnoteDefinition":return null;default:return null}}function Zw(e,n,r){const o=e.lang??void 0;if(e.value==="")return b.jsx("pre",{children:b.jsx("code",{className:o===void 0?void 0:`language-${o}`})},n);const l=o===void 0?void 0:/^[\w-]+/.exec(o)?.[0];return l===void 0?b.jsx(Oh,{code:e.value,streaming:r.streaming,labels:r.labels.code},n):b.jsx(Qw,{lang:l,meta:e.meta??void 0,code:e.value,streaming:r.streaming,labels:r.labels.code},n)}function Qw({lang:e,meta:n,code:r,streaming:o,labels:l}){const{renderCode:a}=Io();return a!==void 0?b.jsx("div",{className:St.fenceSeat,children:a({lang:e.toLowerCase(),code:r,streaming:o,meta:n})}):b.jsx(Oh,{lang:e,code:r,streaming:o,labels:l})}function Gw(e){return(e.spread??!1)||e.children.some(Ah)}function Ah(e){return e.spread??e.children.length>1}function Kw(e,n,r){const o=Gw(e),l={};return typeof e.start=="number"&&e.start!==1&&(l.start=e.start),e.children.some(a=>typeof a.checked=="boolean")&&(l.className="contains-task-list"),I.createElement(e.ordered===!0?"ol":"ul",{key:n,...l},...e.children.map((a,u)=>Dh(a,o,u,r)))}function Dh(e,n,r,o){const l=$h(e.children,o),a=typeof e.checked=="boolean";if(a){const p=b.jsx("input",{type:"checkbox",checked:e.checked===!0,disabled:!0},"task-checkbox"),h=l[0];h!==void 0&&"paragraph"in h?h.paragraph=h.paragraph.length>0?[p," ",...h.paragraph]:[p]:l.unshift({paragraph:[p]})}const u=[];for(const[p,h]of l.entries()){const g="paragraph"in h;(n||p!==0||!g)&&u.push(`
91
+ `),g?n?u.push(b.jsx("p",{children:h.paragraph},`p-${p}`)):u.push(b.jsx(I.Fragment,{children:h.paragraph},`p-${p}`)):u.push(h.element)}const d=l[l.length-1];return d!==void 0&&(n||!("paragraph"in d))&&u.push(`
92
+ `),b.jsx("li",{className:a?"task-list-item":void 0,children:u},r)}function Yw(e,n,r){const o=e.align??null,[l,...a]=e.children,d=(o===null?l?.children.length??0:o.length)>=4&&r.inBlockquote!==!0;return b.jsx("div",{className:Ze(St.tableScroll,d?"md-table-wide":St.tableFill),tabIndex:d?0:void 0,children:b.jsxs("table",{children:[l!==void 0&&b.jsx("thead",{children:n2(l,"th",o,0,r)}),a.length>0&&b.jsx("tbody",{children:a.map((p,h)=>n2(p,"td",o,h+1,r))})]})},n)}function n2(e,n,r,o,l){const a=r===null?e.children.length:r.length,u=[];for(let d=0;d<a;d++){const p=e.children[d],h=r?.[d];u.push(I.createElement(n,{key:d,style:h==null?void 0:{textAlign:h}},...p===void 0?[]:hn(p.children,l)))}return b.jsx("tr",{children:u},o)}function Hh(e){return e.length>0&&e.every(n=>n.type==="image"||n.type==="imageReference")}function Bh(e,n,r,o=!0){const l=Rh(e);return l===""?b.jsx(I.Fragment,{children:n},r):b.jsx(Xw,{href:l,glyph:o,children:n},r)}function Xw({href:e,glyph:n,children:r}){const{openExternalLink:o,getTriggerProps:l}=Io(),a=["http:","https:"].includes(new URL(e).protocol),u=a?o:void 0;return b.jsxs("a",{href:e,...a?l?.({kind:"url",url:e}):{},...a?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:u===void 0?void 0:d=>{d.button!==0||d.metaKey||d.ctrlKey||d.shiftKey||d.altKey||(d.preventDefault(),u(e))},children:[n&&b.jsx(R1,{kind:"url",href:e,className:St.linkIcon}),r]})}function Vh(e,n,r,o=!0,l=!1){const a=T1(e);return a!==void 0?l?b.jsx(I.Fragment,{children:n},r):b.jsx(Jw,{file:a,glyph:o,children:n},r):Bh(I1(e),n,r,o)}function Jw({file:e,glyph:n,children:r}){const{openFile:o,fileImages:l,getTriggerProps:a}=Io(),[u]=I.useState(Nh);if(o===void 0)return b.jsx(b.Fragment,{children:r});const d=n&&t1(e.path)==="image"?l:void 0,p=d?.resolve(e.path),h=p===void 0?void 0:N1(p,u),g=b.jsxs("button",{type:"button",className:Ze(St.fileMention,St.fileLink),title:h===void 0?e.path:void 0,...a?.({kind:"file",...e}),onClick:()=>{o(e.path,e.line===void 0?void 0:{line:e.line})},children:[n&&b.jsx(R1,{kind:t1(e.path),className:St.linkIcon}),r]});return h===void 0||d===void 0?g:b.jsx(zw,{inline:!0,anchor:g,content:b.jsxs(b.Fragment,{children:[b.jsx(Dw,{src:h,alt:e.path,loadingLabel:d.labels.loading,failedLabel:d.labels.failed}),b.jsx("span",{className:St.previewName,children:e.path.split(/[\\/]/u).pop()})]})})}function ev(e){if(e.trim()===e)try{const n=new URL(e).protocol;return n==="http:"||n==="https:"?e:void 0}catch{return}}function Wh(e,n,r,o){return b.jsx(tv,{destination:e,alt:n,pathImages:o.pathImages,streaming:o.streaming,inLink:o.inLink===!0},`${r}:${e}`)}function tv({destination:e,alt:n,pathImages:r,streaming:o,inLink:l}){const{fileImages:a}=Io(),[u]=I.useState(Nh),d=o?void 0:T1(e),p=d===void 0?void 0:a?.resolve(d.path),h=p===void 0?Uw(e,r,u):N1(p,u);return h===void 0?b.jsx("span",{className:St.imageAlt,children:n}):b.jsx(nv,{src:h,alt:n,destination:e,preview:l?void 0:a},h)}function nv({src:e,alt:n,destination:r,preview:o}){const{getTriggerProps:l}=Io(),[a,u]=I.useState(!1),[d,p]=I.useState(!1),h=I.useCallback(()=>{p(!1)},[]);if(a)return b.jsxs("span",{className:St.imageAlt,children:[o===void 0?"":`${o.labels.failed} · `,n||r]});const g=T1(r),w=l?.({kind:"image",url:e,...g===void 0?{}:{path:g.path}}),k={className:St.image,src:e,alt:n,onError:()=>{u(!0)},loading:"lazy",decoding:"async",referrerPolicy:"no-referrer"};if(o===void 0)return b.jsx("img",{...k,...w});const v=g?.path.split(/[\\/]/u).at(-1),_=r.split("/").at(-1)?.split(/[?#]/u)[0],E=v||_||"image",O=b.jsx(jw,{fileDrag:o.fileDrag,...k,resourceAddress:g===void 0?void 0:o.resourceAddress?.(g.path),name:E});return b.jsxs(b.Fragment,{children:[b.jsx("button",{type:"button",className:St.imageButton,title:o.labels.open,...w,"aria-label":n?`${o.labels.open}: ${n}`:o.labels.open,onClick:()=>{p(!0)},children:O}),d&&b.jsx(Rw,{src:e,alt:n,labels:o.labels,onClose:h,contextMenuProps:w})]})}function Uh(e){return e.referenceType==="collapsed"?"][]":e.referenceType==="full"?`][${e.label??e.identifier}]`:"]"}function rv(e,n,r){const o=r.targets.definitions.get(e.identifier.toUpperCase());if(o===void 0)return b.jsxs(I.Fragment,{children:["[",hn(e.children,r),Uh(e)]},n);const l=hn(e.children,{...r,inLink:!0});return Vh(o.url,l,n,!Hh(e.children),r.streaming)}function iv(e,n,r){const o=r.targets.definitions.get(e.identifier.toUpperCase());return o===void 0?`![${e.alt??""}${Uh(e)}`:Wh(o.url,e.alt??"",n,r)}function ov(e,n,r){const o=e.identifier.toUpperCase(),l=r.footnoteCounts.get(o);return l===void 0&&r.footnoteOrder.push(o),r.footnoteCounts.set(o,(l??0)+1),b.jsx("sup",{children:String(r.footnoteOrder.indexOf(o)+1)},n)}function qh(e){const n=[];for(const r of e.footnoteOrder){const o=e.targets.footnotes.get(r);if(o===void 0)continue;const l=e.footnoteCounts.get(r)??0,a=[];for(let h=1;h<=l;h++)a.length>0&&a.push(" "),a.push("↩"),h>1&&a.push(b.jsx("sup",{children:String(h)},`re-${h}`));const u=$h(o.children,e),d=u[u.length-1],p=u.map((h,g)=>"paragraph"in h?b.jsxs("p",{children:[h.paragraph,h===d&&b.jsxs(b.Fragment,{children:[" ",a]})]},`p-${g}`):h.element);(d===void 0||!("paragraph"in d))&&p.push(...a),n.push(b.jsx("li",{id:`user-content-fn-${I1(r.toLowerCase())}`,children:$1(p,!0)},r))}return n.length===0?null:b.jsxs("section",{"data-footnotes":!0,className:"footnotes",children:[b.jsx("h2",{id:"footnote-label",className:"sr-only",children:e.labels.footnotes}),b.jsx("ol",{children:n})]},"footnotes")}function sv(e,n,r,o,l){const a=eg(e),u=n1();il(a.children,u);const d={streaming:!1,labels:n,fileMentions:r,pathImages:o,omitHtml:l,targets:u,footnoteOrder:[],footnoteCounts:new Map},p=$1(r1(a.children.map((g,w)=>({node:g,key:g.position?.start.offset??-(w+1)})),d),!1),h=qh(d);return h===null?p:[...p,`
93
+ `,h]}class lv{constructor(n,r){this.labels=n,this.omitHtml=r}parser=new h9(Jm);generation=-1;frozenCount=0;frozenElements=[];frozenTargets=n1();frozenFootnoteOrder=[];frozenFootnoteCounts=new Map;lastText=null;lastRendered=[];render(n){if(n===this.lastText)return this.lastRendered;const{frozen:r,tail:o,generation:l}=this.parser.update(n);l!==this.generation&&(this.generation=l,this.frozenCount=0,this.frozenElements=[],this.frozenTargets=n1(),this.frozenFootnoteOrder=[],this.frozenFootnoteCounts=new Map);const a=r.slice(this.frozenCount);il(a.map(g=>g.node),this.frozenTargets);const u={definitions:new Map(this.frozenTargets.definitions),footnotes:new Map(this.frozenTargets.footnotes)};if(il(o.map(g=>g.node),u),a.length>0){const g={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,omitHtml:this.omitHtml,targets:u,footnoteOrder:this.frozenFootnoteOrder,footnoteCounts:this.frozenFootnoteCounts},w=[...this.frozenElements];for(const k of r1(a,g))w.length>0&&w.push(`
94
+ `),w.push(k);this.frozenElements=w,this.frozenCount=r.length}const d={streaming:!0,labels:this.labels,fileMentions:void 0,pathImages:void 0,omitHtml:this.omitHtml,targets:u,footnoteOrder:[...this.frozenFootnoteOrder],footnoteCounts:new Map(this.frozenFootnoteCounts)},p=[...this.frozenElements];for(const g of r1(o,d))p.length>0&&p.push(`
95
+ `),p.push(g);const h=qh(d);return h!==null&&p.push(`
96
+ `,h),this.lastText=n,this.lastRendered=p,this.lastRendered}}const av=I.memo(function({text:n,streaming:r=!1,labels:o,fileMentions:l,pathImages:a,variant:u="body",omitHtml:d=!1,textInteractionSource:p=!1}){const h=I.useRef(null),g=I.useRef(o),w=I.useMemo(()=>r?((h.current===null||g.current!==o||h.current.omitHtml!==d)&&(h.current=new lv(o,d),g.current=o),h.current.render(n)):(h.current=null,sv(n,o,l,a,d)),[n,r,o,l,a,d]);return b.jsx("div",{className:Ze(St.markdown,u==="compact"&&St.compact),"data-text-interaction-source":p?"":void 0,"data-markdown-variant":u==="compact"?u:void 0,children:w})}),Zh="http://www.w3.org/2000/svg",uv=new Set(["width","height","xmlns","class","aria-hidden"]);function cv(e,n){const r=new DOMParser().parseFromString(n,"image/svg+xml").documentElement,o=document.createElementNS(Zh,"symbol");for(const{name:l,value:a}of r.attributes)uv.has(l)||o.setAttribute(l,a);return o.id=e,o.append(...[...r.childNodes].map(l=>document.importNode(l,!0))),o}function dv(e,n){if(typeof document>"u")return;const r=document.createElementNS(Zh,"svg");r.setAttribute("aria-hidden","true"),r.setAttribute("data-dsh-icon-sprite",""),r.style.cssText="position: absolute; width: 0; height: 0; overflow: hidden";const o=new Map,l=new Map,a=(u={})=>{for(const[d,p]of Object.entries(Q2)){const h=u[d]??p;if(l.get(d)===h)continue;const g=cv(d,h),w=o.get(d);w===void 0?r.append(g):w.replaceWith(g),o.set(d,g),l.set(d,h)}};a(n),e.effect(()=>(document.body.prepend(r),()=>{r.remove()}),"ui-theme: icon sprite"),e.on("theme/change",u=>{a(u.active.icons)})}const Fo=Symbol.for("schemastery"),Qh=Symbol.for("ValidationError");globalThis.__schemastery_index__??=0;globalThis.__schemastery_refs__=void 0;class Oe extends TypeError{constructor(n,r){let o="$";for(const l of r.path||[])typeof l=="string"?o+="."+l:typeof l=="number"?o+="["+l+"]":typeof l=="symbol"&&(o+=`[Symbol(${l.toString()})]`);o.startsWith(".")&&(o=o.slice(1)),super((o==="$"?"":`${o} `)+n),this.options=r}name="ValidationError";static is(n){return!!n?.[Qh]}}Object.defineProperty(Oe.prototype,Qh,{value:!0});const U=function(e){const n=function(r,o={}){return U.resolve(r,n,o)[0]};if(e.refs){const r=hr(e.refs,l=>new U(l)),o=l=>r[l];for(const l in r){const a=r[l];a.sKey=o(a.sKey),a.inner=o(a.inner),a.list=a.list&&a.list.map(o),a.dict=a.dict&&hr(a.dict,o)}return r[e.uid]}if(Object.assign(n,e),typeof n.callback=="string")try{n.callback=new Function("return "+n.callback)()}catch{}return Object.defineProperty(n,"uid",{value:globalThis.__schemastery_index__++}),Object.setPrototypeOf(n,U.prototype),n.meta||={},n.toString=n.toString.bind(n),n};U.prototype=Object.create(Function.prototype);U.prototype[Fo]=!0;Object.defineProperty(U.prototype,"~standard",{get(){return{version:1,vendor:"schemastery",validate:e=>{try{return{value:U.resolve(e,this,{})[0]}}catch(n){if(Oe.is(n))return{issues:[{message:n.message,path:n.options.path}]};throw n}}}}});U.ValidationError=Oe;U.prototype.toJSON=function(){if(globalThis.__schemastery_refs__)return globalThis.__schemastery_refs__[this.uid]??=JSON.parse(JSON.stringify({...this})),this.uid;globalThis.__schemastery_refs__={[this.uid]:{...this}},globalThis.__schemastery_refs__[this.uid]=JSON.parse(JSON.stringify({...this}));const n={uid:this.uid,refs:globalThis.__schemastery_refs__};return globalThis.__schemastery_refs__=void 0,n};U.prototype.set=function(n,r){return this.dict[n]=r,this};U.prototype.push=function(n){return this.list.push(n),this};function fv(e,n){const r=typeof e=="string"?{"":e}:{...e};for(const o in n){const l=n[o];l?.$description||l?.$desc?r[o]=l.$description||l.$desc:typeof l=="string"&&(r[o]=l)}return r}function po(e){return e?.$value??e?.$inner}function r2(e){return o4(e??{},n=>!n.startsWith("$"))}U.prototype.i18n=function(n){const r=U(this),o=fv(r.meta.description,n);return Object.keys(o).length&&(r.meta.description=o),r.dict&&(r.dict=hr(r.dict,(l,a)=>l.i18n(hr(n,u=>po(u)?.[a]??u?.[a])))),r.list&&(r.list=r.list.map((l,a)=>l.i18n(hr(n,(u={})=>Array.isArray(po(u))?po(u)[a]:Array.isArray(u)?u[a]:r2(u))))),r.inner&&(r.inner=r.inner.i18n(hr(n,l=>po(l)?po(l):r2(l)))),r.sKey&&(r.sKey=r.sKey.i18n(hr(n,l=>l?.$key))),r};U.prototype.extra=function(n,r){const o=U(this);return o.meta={...o.meta,[n]:r},o};for(const e of["required","disabled","collapse","hidden","loose"])Object.assign(U.prototype,{[e](n=!0){const r=U(this);return r.meta={...r.meta,[e]:n},r}});U.prototype.deprecated=function(){const n=U(this);return n.meta.badges||=[],n.meta.badges.push({text:"deprecated",type:"danger"}),n};U.prototype.experimental=function(){const n=U(this);return n.meta.badges||=[],n.meta.badges.push({text:"experimental",type:"warning"}),n};U.prototype.pattern=function(n){const r=U(this),o=s4(n,["source","flags"]);return r.meta={...r.meta,pattern:o},r};U.prototype.simplify=function(n){if(go(n)&&(n=n.get()),Hu(n,this.meta.default,this.type==="dict"))return null;if(wt(n))return n;if(this.type==="object"||this.type==="dict"){const r={};for(const o in n){const a=(this.type==="object"?this.dict[o]:this.inner)?.simplify(n[o]);(this.type==="dict"||!wt(a))&&(r[o]=a)}return Hu(r,this.meta.default,this.type==="dict")?null:r}else if(this.type==="array"||this.type==="tuple"){const r=[];return n.forEach((o,l)=>{const a=this.type==="array"?this.inner:this.list[l],u=a?a.simplify(o):o;r.push(u)}),r}else if(this.type==="intersect"){const r={};for(const o of this.list)Object.assign(r,o.simplify(n));return r}else if(this.type==="union")for(const r of this.list)try{return U.resolve(n,r,{}),r.simplify(n)}catch{}return n};U.prototype.toString=function(n){return Kh[this.type]?.(this,n)??`Schema<${this.type}>`};U.prototype.role=function(e,n){const r=U(this);return r.meta={...r.meta,role:e,extra:n},r};for(const e of["default","link","comment","description","max","min","step"])Object.assign(U.prototype,{[e](n){const r=U(this);return r.meta={...r.meta,[e]:n},r}});U.prototype.volatile=function(){if(this.meta.volatile)throw new TypeError("volatile schema is already wrapped");return this.extra("volatile",!0)};const Gh={},i2=Symbol("checked-volatile-schema");function gi(e,n=[],r=!1,o=new Map){const l=o.get(e)??new Set;if(l.has(r))return;if(l.add(r),o.set(e,l),e.meta?.volatile&&r)throw new Oe("volatile fields require a fixed object path without an enclosing volatile field",{path:n});const a=r||!!e.meta?.volatile;if(e.dict)for(const[u,d]of Object.entries(e.dict))gi(d,[...n,u],a,o);if(e.sKey&&gi(e.sKey,[...n,"<key>"],!0,o),e.inner&&(e.type!=="lazy"||e.inner[Fo])&&gi(e.inner,[...n,"*"],!0,o),e.list)for(let u=0;u<e.list.length;u++)gi(e.list[u],[...n,String(u)],!0,o)}U.extend=function(n,r){Gh[n]=r};U.resolve=function(n,r,o={},l=!1){if(!r)return[n];if(o[i2]||(gi(r,o.path),o={...o,[i2]:!0}),r.meta?.volatile){const u=U(r);u.meta={...r.meta,volatile:!1};const[d,p]=U.resolve(n,u,o,l);try{return[_2(d),p]}catch(h){throw new Oe(h instanceof Error?h.message:String(h),o)}}if(o.ignore?.(n,r))return[n];if(wt(n)&&r.type!=="lazy"){if(r.meta.required)throw new Oe("missing required value",o);let u=r,d=r.meta.default;for(;u?.type==="intersect"&&wt(d);)u=u.list[0],d=u?.meta.default;if(wt(d))return[n];n=Du(d)}const a=Gh[r.type];if(!a)throw new Oe(`unsupported type "${r.type}"`,o);try{return a(n,r,o,l)}catch(u){if(!r.meta.loose)throw u;return[r.meta.default]}};U.from=function(n){if(wt(n))return U.any();if(["string","number","boolean"].includes(typeof n))return U.const(n).required();if(n[Fo])return n;if(typeof n=="function")switch(n){case String:return U.string().required();case Number:return U.number().required();case Boolean:return U.boolean().required();case Function:return U.function().required();default:return U.is(n).required()}else throw new TypeError(`cannot infer schema from ${n}`)};U.lazy=function(n){const r=()=>(o.inner[Fo]||(o.inner=o.builder(),o.inner.meta={...o.meta,...o.inner.meta}),o.inner.toJSON()),o=new U({type:"lazy",builder:n,inner:{toJSON:r}});return o};U.natural=function(){return U.number().step(1).min(0)};U.percent=function(){return U.number().step(.01).min(0).max(1).role("slider")};U.date=function(){return U.union([U.is(Date),U.transform(U.string().role("datetime"),(n,r)=>{const o=new Date(n);if(isNaN(+o))throw new Oe(`invalid date "${n}"`,r);return o},!0)])};U.regExp=function(n=""){return U.union([U.is(RegExp),U.transform(U.string().role("regexp",{flag:n}),(r,o)=>{try{return new RegExp(r,n)}catch(l){throw new Oe(l.message,o)}},!0)])};U.arrayBuffer=function(n){return U.union([U.is(ArrayBuffer),U.is(SharedArrayBuffer),U.transform(U.any(),(r,o)=>{if(Sn.isSource(r))return Sn.fromSource(r);throw new Oe(`expected ArrayBufferSource but got ${r}`,o)},!0),...n?[U.transform(U.string(),(r,o)=>{try{return n==="base64"?Sn.fromBase64(r):Sn.fromHex(r)}catch(l){throw new Oe(l.message,o)}},!0)]:[]])};U.extend("lazy",(e,n,r,o)=>(n.inner[Fo]||(n.inner=n.builder(),n.inner.meta={...n.meta,...n.inner.meta},gi(n.inner,r.path,!0)),U.resolve(e,n.inner,r,o)));U.extend("any",e=>[e]);U.extend("never",(e,n,r)=>{throw new Oe(`expected nullable but got ${e}`,r)});U.extend("const",(e,{value:n},r)=>{if(Hu(e,n))return[n];throw new Oe(`expected ${n} but got ${e}`,r)});function D1(e,n,r,o,l=!1){const{max:a=1/0,min:u=-1/0}=n;if(e>a)throw new Oe(`expected ${r} <= ${a} but got ${e}`,o);if(e<u&&!l)throw new Oe(`expected ${r} >= ${u} but got ${e}`,o)}U.extend("string",(e,{meta:n},r)=>{if(typeof e!="string")throw new Oe(`expected string but got ${e}`,r);if(n.pattern){const o=new RegExp(n.pattern.source,n.pattern.flags);if(!o.test(e))throw new Oe(`expect string to match regexp ${o}`,r)}return D1(e.length,n,"string length",r),[e]});function Fu(e,n){const r=e.toString();if(r.includes("e"))return e*Math.pow(10,n);const o=r.indexOf(".");if(o===-1)return e*Math.pow(10,n);const l=r.slice(o+1),a=r.slice(0,o);return l.length<=n?+(a+l.padEnd(n,"0")):+(a+l.slice(0,n)+"."+l.slice(n))}function hv(e,n,r){if(r=Math.abs(r),!/^\d+\.\d+$/.test(r.toString()))return(e-n)%r===0;const o=r.toString().indexOf("."),l=r.toString().slice(o+1).length;return Math.abs(Fu(e,l)-Fu(n,l))%Fu(r,l)===0}U.extend("number",(e,{meta:n},r)=>{if(typeof e!="number")throw new Oe(`expected number but got ${e}`,r);D1(e,n,"number",r);const{step:o}=n;if(o&&!hv(e,n.min??0,o))throw new Oe(`expected number multiple of ${o} but got ${e}`,r);return[e]});U.extend("boolean",(e,n,r)=>{if(typeof e=="boolean")return[e];throw new Oe(`expected boolean but got ${e}`,r)});U.extend("bitset",(e,{bits:n,meta:r},o)=>{let l=0,a=[];if(typeof e=="number"){l=e;for(const u in n)e&n[u]&&a.push(u)}else if(Array.isArray(e)){a=e;for(const u of a){if(typeof u!="string")throw new Oe(`expected string but got ${u}`,o);u in n&&(l|=n[u])}}else throw new Oe(`expected number or array but got ${e}`,o);return l===r.default?[l]:[l,a]});U.extend("function",(e,n,r)=>{if(typeof e=="function")return[e];throw new Oe(`expected function but got ${e}`,r)});U.extend("is",(e,{constructor:n},r)=>{if(typeof n=="function"){if(e instanceof n)return[e];throw new Oe(`expected ${n.name} but got ${e}`,r)}else{if(wt(e))throw new Oe(`expected ${n} but got ${e}`,r);let o=Object.getPrototypeOf(e);for(;o;){if(o.constructor?.name===n)return[e];o=Object.getPrototypeOf(o)}throw new Oe(`expected ${n} but got ${e}`,r)}});function wl(e,n,r,o){try{const[l,a]=U.resolve(e[n],r,{...o,path:[...o.path||[],n]});return a!==void 0&&(e[n]=a),l}catch(l){if(!o?.autofix)throw l;return delete e[n],r.meta.volatile?_2(r.meta.default):r.meta.default}}U.extend("array",(e,{inner:n,meta:r},o)=>{if(!Array.isArray(e))throw new Oe(`expected array but got ${e}`,o);return D1(e.length,r,"array length",o,!wt(n.meta.default)),[e.map((l,a)=>wl(e,a,n,o))]});U.extend("dict",(e,{inner:n,sKey:r},o,l)=>{if(!d1(e))throw new Oe(`expected object but got ${e}`,o);const a={};for(const u in e){let d;try{d=U.resolve(u,r,o)[0]}catch(p){if(l)continue;throw p}a[d]=wl(e,u,n,o),e[d]=e[u],u!==d&&delete e[u]}return[a]});U.extend("tuple",(e,{list:n},r,o)=>{if(!Array.isArray(e))throw new Oe(`expected array but got ${e}`,r);const l=n.map((a,u)=>wl(e,u,a,r));return o?[l]:(l.push(...e.slice(n.length)),[l])});function i1(e,n){for(const r in n)r in e||(e[r]=n[r])}U.extend("object",(e,{dict:n},r,o)=>{if(!d1(e))throw new Oe(`expected object but got ${e}`,r);const l={};for(const a in n){const u=wl(e,a,n[a],r);(!wt(u)||a in e)&&(l[a]=u)}return o||i1(l,e),[l]});U.extend("union",(e,{list:n,toString:r},o,l)=>{for(const a of n)try{return U.resolve(e,a,o,l)}catch{}throw new Oe(`expected ${r()} but got ${JSON.stringify(e)}`,o)});U.extend("intersect",(e,{list:n,toString:r},o,l)=>{if(!n.length)return[e];let a;for(const u of n){const d=U.resolve(e,u,o,!0)[0];if(!wt(d))if(wt(a))a=d;else{if(typeof a!=typeof d)throw new Oe(`expected ${r()} but got ${JSON.stringify(e)}`,o);if(typeof d=="object")i1(a??={},d);else if(a!==d)throw new Oe(`expected ${r()} but got ${JSON.stringify(e)}`,o)}}return!l&&d1(e)&&i1(a,e),[a]});U.extend("transform",(e,{inner:n,callback:r,preserve:o},l)=>{const[a,u=e]=U.resolve(e,n,l,!0);return o?[r(a)]:[r(a),r(u)]});const Kh={};function Et(e,n,r){Kh[e]=r,Object.assign(U,{[e](...o){const l=new U({type:e});return n.forEach((a,u)=>{switch(a){case"sKey":l.sKey=o[u]??U.string();break;case"inner":l.inner=U.from(o[u]);break;case"list":l.list=o[u].map(U.from);break;case"dict":l.dict=hr(o[u],U.from);break;case"bits":{l.bits={};for(const d in o[u])typeof o[u][d]=="number"&&(l.bits[d]=o[u][d]);break}case"callback":{const d=l.callback=o[u];d.toJSON||=()=>d.toString();break}case"constructor":{const d=l.constructor=o[u];typeof d=="function"&&(d.toJSON||=()=>d.name);break}default:l[a]=o[u]}}),e==="object"||e==="dict"?l.meta.default={}:e==="array"||e==="tuple"?l.meta.default=[]:e==="bitset"&&(l.meta.default=0),l}})}Et("is",["constructor"],({constructor:e})=>typeof e=="function"?e.name:e);Et("any",[],()=>"any");Et("never",[],()=>"never");Et("const",["value"],({value:e})=>typeof e=="string"?JSON.stringify(e):e);Et("string",[],()=>"string");Et("number",[],()=>"number");Et("boolean",[],()=>"boolean");Et("bitset",["bits"],()=>"bitset");Et("function",[],()=>"function");Et("array",["inner"],({inner:e})=>`${e.toString(!0)}[]`);Et("dict",["inner","sKey"],({inner:e,sKey:n})=>`{ [key: ${n.toString()}]: ${e.toString()} }`);Et("tuple",["list"],({list:e})=>`[${e.map(n=>n.toString()).join(", ")}]`);Et("object",["dict"],({dict:e})=>Object.keys(e).length===0?"{}":`{ ${Object.entries(e).map(([n,r])=>`${n}${r.meta.required?"":"?"}: ${r.toString()}`).join(", ")} }`);Et("union",["list"],({list:e},n)=>{const r=e.map(({toString:o})=>o()).join(" | ");return n?`(${r})`:r});Et("intersect",["list"],({list:e})=>`${e.map(n=>n.toString(!0)).join(" & ")}`);Et("transform",["inner","callback","preserve"],({inner:e},n)=>e.toString(n));const Yh=["light","dark","system"],H1="preference",Xh="fontSize",ol="system",pv=10,mv=22,gv=14,wv=["text","code","terminal"],rt={text:{field:Xh,variable:"--dsh-content-font-size",min:pv,max:mv,default:gv},code:{field:"codeFontSize",variable:"--dsh-code-font-size",min:10,max:16,default:11},terminal:{field:"terminalFontSize",variable:"--dsh-terminal-font-size",min:10,max:20,default:13}},vv=Object.freeze({text:rt.text.default,code:rt.code.default,terminal:rt.terminal.default}),Ar={text:"textFontFamily",code:"codeFontFamily",terminal:"terminalFontFamily"};function Ou(e){return`--dsh-font-family-${e}`}function Pu(e){return U.number().step(1).min(e.min).max(e.max).default(e.default)}function yv(e){return Object.freeze({text:e.fontSize,code:e.codeFontSize,terminal:e.terminalFontSize})}function wi(e,n){const r=rt[e];return Number.isInteger(n)&&n>=r.min&&n<=r.max}U.object({[H1]:U.union([...Yh]).default(ol),[Xh]:Pu(rt.text),[rt.code.field]:Pu(rt.code),[rt.terminal.field]:Pu(rt.terminal),[Ar.text]:U.string().default(""),[Ar.code]:U.string().default(""),[Ar.terminal]:U.string().default("")});const kv=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong","-apple-system","blinkmacsystemfont"]);function mr(e){return e.split(",").map(n=>n.replace(/["'\\<>\u0000-\u001f\u007f]/gu,"").replace(/\s+/gu," ").trim()).filter(n=>n!=="").map(n=>kv.has(n.toLowerCase())?n:`"${n}"`).join(", ")}function vl(e){return Yh.some(n=>n===e)}const bv=Object.freeze([Object.freeze({id:"light",colorScheme:"light",tokens:Object.freeze({})}),Object.freeze({id:"dark",colorScheme:"dark",tokens:Object.freeze({})})]),xv=Object.freeze([{name:"--dsw-alias-bg-base",description:"Application base background.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-bg-base"},{name:"--dsw-alias-bg-layer-1",description:"Primary raised surface background.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-bg-layer-1"},{name:"--dsw-alias-bg-layer-2",description:"Secondary nested surface background.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-bg-layer-2"},{name:"--dsw-alias-bg-overlay",description:"Overlay and popover background.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-bg-overlay"},{name:"--dsw-alias-border-l1",description:"Primary subtle border.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-border-l1"},{name:"--dsw-alias-border-l2",description:"Secondary stronger border.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-border-l2"},{name:"--dsw-alias-brand-primary",description:"Primary brand accent.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-brand-primary"},{name:"--dsw-alias-label-primary",description:"Primary text color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-label-primary"},{name:"--dsw-alias-label-secondary",description:"Secondary text color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-label-secondary"},{name:"--dsw-alias-state-error-primary",description:"Primary error state color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-state-error-primary"},{name:"--dsw-alias-state-idle-primary",description:"Primary inactive state color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-state-idle-primary"},{name:"--dsw-alias-state-success-primary",description:"Primary success state color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-state-success-primary"},{name:"--dsw-alias-state-warn-primary",description:"Primary warning state color.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-alias-state-warn-primary"},{name:"--dsw-specific-sidebar-fill",description:"Sidebar column and title-row background.",valueType:"CSS color",requiresLightAndDark:!0,cssVariable:"--dsw-specific-sidebar-fill"}]);class Cv{ctx;host;themes=[...bv];preference;fontSizes=_v();fontFamilies=Ev();revision=0;pendingWrites=0;snapshot;media;overrides=new Map;overrideSeq=0;constructor(n,r){if(this.ctx=n,this.host=r,this.preference=Sv(),this.media=typeof matchMedia>"u"?void 0:matchMedia("(prefers-color-scheme: dark)"),this.snapshot=this.buildSnapshot(),this.media!==void 0){const o=this.media,l=()=>{this.preference==="system"&&this.publish()};n.effect(()=>(o.addEventListener("change",l),()=>{o.removeEventListener("change",l)}),"ui-theme: prefers-color-scheme listener")}n.effect(()=>r.subscribe(()=>{this.adopt()}),"ui-theme: settings scope adoption"),this.adopt()}getTheme(){return this.snapshot}exportInspectTokens(){const n=new Map(xv.map(r=>[r.name,r]));for(const r of this.themes)for(const o of Object.keys(r.tokens))n.has(o)||n.set(o,o2(o));for(const r of this.overrides.values())for(const o of Object.keys(r.tokens))n.has(o)||n.set(o,o2(o));return[...n.values()].map(r=>({...r})).sort((r,o)=>r.name.localeCompare(o.name))}setTheme(n){if(n!=="system"&&!this.themes.some(r=>r.id===n))throw new Error(`theme "${n}" is not registered`);this.preference!==n&&(this.preference=n,vl(n)&&this.write(()=>this.host.set(H1,n)),this.publish())}setFontSize(n,r){const o=rt[n];if(!wi(n,r))throw new Error(`${n} font size ${r} is outside ${o.min}..${o.max}`);this.fontSizes[n]!==r&&(this.fontSizes=Object.freeze({...this.fontSizes,[n]:r}),this.write(()=>this.host.set(o.field,r)),this.publish())}setFontFamily(n,r){const o=mr(r);this.fontFamilies[n]!==o&&(this.fontFamilies=Object.freeze({...this.fontFamilies,[n]:o}),this.write(()=>this.host.set(Ar[n],o)),this.publish())}write(n){this.pendingWrites+=1,n().finally(()=>{this.pendingWrites-=1,this.adopt()})}adopt(){if(this.pendingWrites>0)return;const n=this.host.getSnapshot().value;if(n===void 0)return;const r=Mv(n),o=yv(n);this.preference===n.preference&&wv.every(l=>this.fontSizes[l]===o[l]&&this.fontFamilies[l]===r[l])||(this.preference=n.preference,this.fontSizes=o,this.fontFamilies=r,this.publish())}register(n){if(n.id==="system")throw new Error('"system" is a preference, not a registrable theme id');if(this.themes.some(o=>o.id===n.id))throw new Error(`theme "${n.id}" is already registered`);const r=jv(n);return this.themes=[...this.themes,Object.freeze({...n,icons:r})],this.publish(),()=>{this.themes.some(o=>o.id===n.id)&&(this.themes=this.themes.filter(o=>o.id!==n.id),this.preference===n.id&&(this.preference=ol),this.publish())}}overrideTokens(n,r){const o={seq:this.overrideSeq++,tokens:zv(n,r)};return this.overrides.set(n,o),this.publish(),()=>{this.overrides.get(n)===o&&(this.overrides.delete(n),this.publish())}}buildSnapshot(){const n=this.preference==="system"?this.media?.matches===!0?"dark":"light":this.preference,r=this.themes.find(o=>o.id===n);if(r===void 0)throw new Error(`theme registry lost "${n}"`);return Object.freeze({preference:this.preference,fontSizes:this.fontSizes,fontFamilies:this.fontFamilies,active:this.composeActive(r),themes:Object.freeze([...this.themes]),revision:this.revision})}composeActive(n){if(this.overrides.size===0)return n;const r={...n.tokens};for(const o of[...this.overrides.values()].sort((l,a)=>l.seq-a.seq))for(const[l,a]of Object.entries(o.tokens))r[l]=a[n.colorScheme];return Object.freeze({...n,tokens:Object.freeze(r)})}publish(){this.revision+=1,this.snapshot=this.buildSnapshot(),this.ctx.emit("theme/change",this.snapshot)}}function Sv(){if(typeof document>"u")return ol;const e=document.documentElement.dataset.dsThemeSource;return vl(e)?e:ol}function _v(){if(typeof document>"u")return vv;const e=n=>{const r=Number.parseInt(document.body.style.getPropertyValue(rt[n].variable),10);return wi(n,r)?r:rt[n].default};return Object.freeze({text:e("text"),code:e("code"),terminal:e("terminal")})}function Ev(){if(typeof document>"u")return Object.freeze({text:"",code:"",terminal:""});const e=document.body.style;return Object.freeze({text:mr(e.getPropertyValue(Ou("text"))),code:mr(e.getPropertyValue(Ou("code"))),terminal:mr(e.getPropertyValue(Ou("terminal")))})}function Mv(e){return Object.freeze({text:mr(e.textFontFamily),code:mr(e.codeFontFamily),terminal:mr(e.terminalFontFamily)})}function zv(e,n){const r={};for(const[o,l]of Object.entries(n)){if(typeof l=="string")throw new TypeError(`theme override "${o}" from "${e}" is a bare string — pass { light: ${JSON.stringify(l)}, dark: ${JSON.stringify(l)} } (repeat the value when it is the same in both palettes); a single value goes illegible when the user switches color scheme`);if(typeof l!="object"||l===null||typeof l.light!="string"||typeof l.dark!="string")throw new TypeError(`theme override "${o}" from "${e}" must map to a { light, dark } pair of strings — one value per color scheme`);const a=l;r[o]={light:a.light,dark:a.dark}}return r}const Lv="http://www.w3.org/2000/svg";function jv({id:e,icons:n}){if(n==null)return;const r={};for(const[o,l]of Object.entries(n)){const a=d=>{throw new TypeError(`theme "${e}" icon "${o}" ${d}`)};if(Object.hasOwn(Q2,o)||a("is not an ICON_SYMBOLS id"),typeof l!="string"&&a("must be an SVG document string"),r[o]=l,typeof DOMParser>"u")continue;const u=new DOMParser().parseFromString(l,"image/svg+xml").documentElement;(u.namespaceURI!==Lv||u.localName!=="svg"||u.querySelector("parsererror")!==null)&&a("is not a well-formed SVG-namespace <svg> document"),u.hasAttribute("viewBox")||a("needs a viewBox"),u.querySelector("style, script")!==null&&a("must not contain <style> or <script>");for(const d of u.querySelectorAll("[id]"))d.id.startsWith(`${o}-`)||a(`element id "${d.id}" must start with "${o}-"`)}return Object.freeze(r)}function o2(e){return{name:e,description:"Theme token registered by the current Client composition.",valueType:"CSS value",requiresLightAndDark:!0,...e.startsWith("--")?{cssVariable:e}:{}}}const Iv=':root{--dsh-font-family-text-default: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;--dsw-font-family: var(--dsh-font-family-text-default);--dsw-font-family-brand: "Montserrat", var(--dsh-font-family-text-default);--dsh-font-family-code-default: "SF Mono", "JetBrains Mono", "Fira Code", Consolas, "Liberation Mono", Menlo, Courier, "PingFang SC", "Microsoft YaHei";--ds-font-family-code: var(--dsh-font-family-code-default);--ds-ease-in-out: cubic-bezier(.4, 0, .2, 1);--ds-transition-duration: .2s;--ds-transition-duration-fast: .1s;--ds-transition-duration-slow: .3s;--dsw-radius-xs: 4px;--dsw-radius-sm: 8px;--dsw-radius-md: 12px;--dsw-radius-lg: 16px;--dsw-radius-xl: 20px;--dsw-radius-panel: 28px}body{--dsw-font-family: var(--dsh-font-family-text, var(--dsh-font-family-text-default)), var(--dsh-font-family-text-default);--ds-font-family-code: var(--dsh-font-family-code, var(--dsh-font-family-code-default)), var(--dsh-font-family-code-default);--dsw-alias-settings-card-fill: var(--dsw-alias-bg-layer-2);--dsw-alias-settings-card-stroke: var(--dsw-alias-border-l4)}[data-dsh-automatic-focus]:focus,[data-dsh-automatic-focus]:focus:focus-visible{outline:none}',Fv="@supports (corner-shape: superellipse(1.5)){:root{--dsw-corner-shape: superellipse(1.5)}*,*:before,*:after{corner-shape:var(--dsw-corner-shape)}}",Ov="body{--dsw-static-amber-100: rgb(254, 245, 231);--dsw-static-amber-400: rgb(247, 173, 49);--dsw-static-amber-500: rgb(245, 158, 11);--dsw-static-amber-600: rgb(221, 134, 41);--dsw-static-amber-900: rgb(39, 36, 31);--dsw-static-blue-100: rgb(219, 234, 254);--dsw-static-blue-300: rgb(147, 197, 253);--dsw-static-blue-400: rgb(96, 165, 250);--dsw-static-blue-450: rgb(77, 147, 248);--dsw-static-blue-500: rgb(59, 130, 246);--dsw-static-blue-50: rgb(239, 246, 255);--dsw-static-blue-50p: rgb(234, 243, 255);--dsw-static-blue-600: rgb(37, 99, 235);--dsw-static-blue-75: rgb(229, 240, 255);--dsw-static-blue-800: rgb(30, 64, 175);--dsw-static-blue-900: rgb(14, 48, 116);--dsw-static-blue-950: rgb(23, 37, 84);--dsw-static-deepseek-100: rgb(228, 237, 253);--dsw-static-deepseek-200: rgb(211, 226, 255);--dsw-static-deepseek-300: rgb(183, 200, 254);--dsw-static-deepseek-400: rgb(122, 170, 255);--dsw-static-deepseek-450: rgb(86, 134, 254);--dsw-static-deepseek-500: rgb(65, 118, 230);--dsw-static-deepseek-50: rgb(237, 243, 254);--dsw-static-deepseek-600: rgb(72, 104, 178);--dsw-static-deepseek-700-delete: rgb(47, 76, 143);--dsw-static-deepseek-800: rgb(52, 65, 91);--dsw-static-deepseek-900: rgb(40, 49, 66);--dsw-static-green-100: rgb(230, 250, 237);--dsw-static-green-400: rgb(78, 209, 126);--dsw-static-green-500: rgb(34, 197, 94);--dsw-static-green-500-a08: rgb(34 197 94 / 8%);--dsw-static-green-500-a12: rgb(34 197 94 / 12%);--dsw-static-green-900: rgb(35, 60, 44);--dsw-static-neutral-00: rgb(255, 255, 255);--dsw-static-neutral-1000: rgb(0, 0, 0);--dsw-static-neutral-100: rgb(245, 245, 245);--dsw-static-neutral-150: rgb(237, 237, 237);--dsw-static-neutral-200: rgb(229, 229, 229);--dsw-static-neutral-250: rgb(220, 220, 220);--dsw-static-neutral-300: rgb(212, 212, 212);--dsw-static-neutral-400: rgb(162, 164, 166);--dsw-static-neutral-500: rgb(127, 130, 135);--dsw-static-neutral-50: rgb(250, 250, 250);--dsw-static-neutral-550: rgb(101, 103, 107);--dsw-static-neutral-600: rgb(84, 85, 87);--dsw-static-neutral-700: rgb(60, 60, 61);--dsw-static-neutral-800: rgb(41, 41, 41);--dsw-static-neutral-850: rgb(33, 33, 35);--dsw-static-neutral-900: rgb(15, 15, 15);--dsw-static-neutral-bluish-00: rgb(255, 255, 255);--dsw-static-neutral-bluish-1000: rgb(15, 17, 21);--dsw-static-neutral-bluish-100: rgb(235, 238, 242);--dsw-static-neutral-bluish-150: rgb(233, 236, 242);--dsw-static-neutral-bluish-200: rgb(225, 229, 238);--dsw-static-neutral-bluish-300: rgb(207, 211, 214);--dsw-static-neutral-bluish-310: rgb(202, 210, 219);--dsw-static-neutral-bluish-400: rgb(173, 178, 184);--dsw-static-neutral-bluish-500: rgb(151, 157, 166);--dsw-static-neutral-bluish-50: rgb(249, 250, 251);--dsw-static-neutral-bluish-55: rgb(245, 247, 250);--dsw-static-neutral-bluish-600: rgb(129, 133, 140);--dsw-static-neutral-bluish-60: rgb(245, 246, 247);--dsw-static-neutral-bluish-700: rgb(97, 102, 107);--dsw-static-neutral-bluish-750: rgb(67, 69, 74);--dsw-static-neutral-bluish-75: rgb(241, 243, 245);--dsw-static-neutral-bluish-800: rgb(53, 54, 56);--dsw-static-neutral-bluish-850: rgb(44, 44, 46);--dsw-static-neutral-bluish-875: rgb(35, 35, 36);--dsw-static-neutral-bluish-900: rgb(27, 27, 28);--dsw-static-neutral-bluish-90: rgb(237, 240, 244);--dsw-static-neutral-bluish-950: rgb(21, 21, 23);--dsw-static-red-100: rgb(254, 226, 226);--dsw-static-red-400: rgb(242, 90, 90);--dsw-static-red-400-a12: rgb(242 90 90 / 12%);--dsw-static-red-500: rgb(239, 68, 68);--dsw-static-red-50: rgb(254, 242, 242);--dsw-static-red-600: rgb(236, 19, 19);--dsw-static-red-600-a08: rgb(236 19 19 / 8%);--dsw-static-red-900: rgb(87, 12, 12);--dsw-static-violet-400: rgb(167, 139, 250);--dsw-static-violet-600: rgb(124, 58, 237)}body[data-ds-dark-theme]{--dsw-static-amber-100: rgb(254, 245, 231);--dsw-static-amber-400: rgb(247, 173, 49);--dsw-static-amber-500: rgb(245, 158, 11);--dsw-static-amber-600: rgb(221, 134, 41);--dsw-static-amber-900: rgb(39, 36, 31);--dsw-static-blue-100: rgb(219, 234, 254);--dsw-static-blue-300: rgb(147, 197, 253);--dsw-static-blue-400: rgb(96, 165, 250);--dsw-static-blue-450: rgb(77, 147, 248);--dsw-static-blue-500: rgb(59, 130, 246);--dsw-static-blue-50: rgb(239, 246, 255);--dsw-static-blue-50p: rgb(234, 243, 255);--dsw-static-blue-600: rgb(37, 99, 235);--dsw-static-blue-75: rgb(229, 240, 255);--dsw-static-blue-800: rgb(30, 64, 175);--dsw-static-blue-900: rgb(14, 48, 116);--dsw-static-blue-950: rgb(23, 37, 84);--dsw-static-deepseek-100: rgb(228, 237, 253);--dsw-static-deepseek-200: rgb(211, 226, 255);--dsw-static-deepseek-300: rgb(183, 200, 254);--dsw-static-deepseek-400: rgb(122, 170, 255);--dsw-static-deepseek-450: rgb(86, 134, 254);--dsw-static-deepseek-500: rgb(65, 118, 230);--dsw-static-deepseek-50: rgb(237, 243, 254);--dsw-static-deepseek-600: rgb(72, 104, 178);--dsw-static-deepseek-700-delete: rgb(47, 76, 143);--dsw-static-deepseek-800: rgb(52, 65, 91);--dsw-static-deepseek-900: rgb(40, 49, 66);--dsw-static-green-100: rgb(230, 250, 237);--dsw-static-green-400: rgb(78, 209, 126);--dsw-static-green-500: rgb(34, 197, 94);--dsw-static-green-500-a08: rgb(34 197 94 / 8%);--dsw-static-green-500-a12: rgb(34 197 94 / 12%);--dsw-static-green-900: rgb(35, 60, 44);--dsw-static-neutral-00: rgb(255, 255, 255);--dsw-static-neutral-1000: rgb(0, 0, 0);--dsw-static-neutral-100: rgb(245, 245, 245);--dsw-static-neutral-150: rgb(237, 237, 237);--dsw-static-neutral-200: rgb(229, 229, 229);--dsw-static-neutral-250: rgb(220, 220, 220);--dsw-static-neutral-300: rgb(212, 212, 212);--dsw-static-neutral-400: rgb(162, 164, 166);--dsw-static-neutral-500: rgb(127, 130, 135);--dsw-static-neutral-50: rgb(250, 250, 250);--dsw-static-neutral-550: rgb(101, 103, 107);--dsw-static-neutral-600: rgb(84, 85, 87);--dsw-static-neutral-700: rgb(60, 60, 61);--dsw-static-neutral-800: rgb(41, 41, 41);--dsw-static-neutral-850: rgb(33, 33, 35);--dsw-static-neutral-900: rgb(15, 15, 15);--dsw-static-neutral-bluish-00: rgb(255, 255, 255);--dsw-static-neutral-bluish-1000: rgb(15, 17, 21);--dsw-static-neutral-bluish-100: rgb(235, 238, 242);--dsw-static-neutral-bluish-150: rgb(233, 236, 242);--dsw-static-neutral-bluish-200: rgb(225, 229, 238);--dsw-static-neutral-bluish-300: rgb(207, 211, 214);--dsw-static-neutral-bluish-310: rgb(202, 210, 219);--dsw-static-neutral-bluish-400: rgb(173, 178, 184);--dsw-static-neutral-bluish-500: rgb(151, 157, 166);--dsw-static-neutral-bluish-50: rgb(249, 250, 251);--dsw-static-neutral-bluish-55: rgb(245, 247, 250);--dsw-static-neutral-bluish-600: rgb(129, 133, 140);--dsw-static-neutral-bluish-60: rgb(249, 250, 251);--dsw-static-neutral-bluish-700: rgb(97, 102, 107);--dsw-static-neutral-bluish-750: rgb(67, 69, 74);--dsw-static-neutral-bluish-75: rgb(241, 243, 245);--dsw-static-neutral-bluish-800: rgb(53, 54, 56);--dsw-static-neutral-bluish-850: rgb(44, 44, 46);--dsw-static-neutral-bluish-875: rgb(35, 35, 36);--dsw-static-neutral-bluish-900: rgb(27, 27, 28);--dsw-static-neutral-bluish-90: rgb(237, 240, 244);--dsw-static-neutral-bluish-950: rgb(21, 21, 23);--dsw-static-red-100: rgb(254, 226, 226);--dsw-static-red-400: rgb(242, 90, 90);--dsw-static-red-400-a12: rgb(242 90 90 / 12%);--dsw-static-red-500: rgb(239, 68, 68);--dsw-static-red-50: rgb(254, 242, 242);--dsw-static-red-600: rgb(236, 19, 19);--dsw-static-red-600-a08: rgb(236 19 19 / 8%);--dsw-static-red-900: rgb(87, 12, 12);--dsw-static-violet-400: rgb(167, 139, 250);--dsw-static-violet-600: rgb(124, 58, 237)}body{--dsw-alias-bg-base: var(--dsw-static-neutral-bluish-00);--dsw-alias-bg-document-preview: var(--dsw-static-neutral-bluish-100);--dsw-alias-bg-document-selection: color-mix(in srgb, var(--dsw-static-blue-500) 40%, transparent);--dsw-alias-label-document-preview: var(--dsw-static-neutral-bluish-700);--dsw-alias-bg-layer-1: var(--dsw-static-neutral-bluish-00);--dsw-alias-bg-layer-2: var(--dsw-static-neutral-bluish-00);--dsw-alias-bg-layer-3: var(--dsw-static-neutral-bluish-00);--dsw-alias-bg-mask-1: rgba(0, 0, 0, .24);--dsw-alias-bg-mask-2: rgba(0, 0, 0, .12);--dsw-alias-bg-mask-3: rgba(0, 0, 0, .48);--dsw-alias-bg-mask-photo: rgba(0, 0, 0, .88);--dsw-alias-bg-mask-drop: rgba(255, 255, 255, .7);--dsw-alias-bg-module-platform: var(--dsw-static-neutral-bluish-60);--dsw-alias-bg-multi-select: var(--dsw-static-neutral-bluish-60);--dsw-alias-bg-overlay: var(--dsw-static-neutral-bluish-150);--dsw-alias-bg-skeleton: rgba(0, 0, 0, .04);--dsw-alias-border-inverted2: rgba(0, 0, 0, 0);--dsw-alias-border-inverted: rgba(0, 0, 0, 0);--dsw-alias-border-l1: rgba(0, 0, 0, .04);--dsw-alias-border-l2-darkmode-thin: rgba(0, 0, 0, .1);--dsw-alias-border-l2: rgba(0, 0, 0, .1);--dsw-alias-border-l3: rgba(0, 0, 0, .12);--dsw-alias-border-l4: rgba(0, 0, 0, .16);--dsw-alias-border-selected: var(--dsw-static-neutral-bluish-400);--dsw-alias-brand-primary-invert: var(--dsw-static-neutral-bluish-1000);--dsw-alias-brand-primary-new-colorprimary-new-color: rgb(65, 118, 230);--dsw-alias-brand-primary: var(--dsw-static-neutral-bluish-1000);--dsw-alias-brand-text: var(--dsw-static-neutral-bluish-1000);--dsw-alias-button-contrast-fill: var(--dsw-static-neutral-bluish-700);--dsw-alias-button-elevated-fill: var(--dsw-static-neutral-bluish-00);--dsw-alias-button-floating-fill: var(--dsw-static-neutral-bluish-00);--dsw-alias-button-floating-hover: var(--dsw-static-neutral-bluish-75);--dsw-alias-button-ghost-active-border: var(--dsw-static-neutral-bluish-500);--dsw-alias-button-ghost-active-fill: var(--dsw-static-neutral-bluish-100);--dsw-alias-button-ghost-active-hover: var(--dsw-static-neutral-bluish-150);--dsw-alias-button-info-fill: var(--dsw-static-deepseek-500);--dsw-alias-button-info-hover: var(--dsw-static-deepseek-400);--dsw-alias-button-primary-dimmed: var(--dsw-static-neutral-bluish-100);--dsw-alias-button-primary-fill: var(--dsw-alias-brand-primary);--dsw-alias-button-primary-hover: var(--dsw-static-neutral-bluish-750);--dsw-alias-button-tool-bar-fill-invisible: rgba(31, 31, 31, .36);--dsw-alias-button-tool-bar-fill: rgba(84, 85, 87, .5);--dsw-alias-button-tool-bar-hover: rgba(84, 85, 87, .6);--dsw-alias-card-fill: var(--dsw-static-neutral-50);--dsw-alias-card-fill-hover: var(--dsw-static-neutral-100);--dsw-alias-card-tile-fill: color-mix(in srgb, var(--dsw-static-neutral-00) 50%, transparent);--dsw-alias-chart-messages: var(--dsw-static-blue-450);--dsw-alias-chart-system: var(--dsw-static-neutral-bluish-400);--dsw-alias-chart-tools: var(--dsw-static-violet-400);--dsw-alias-hovercard-bg: var(--dsw-static-neutral-bluish-850);--dsw-alias-hovercard-label-primary: var(--dsw-static-neutral-bluish-00);--dsw-alias-hovercard-label-secondary: var(--dsw-static-neutral-bluish-300);--dsw-alias-hovercard-label-tertiary: var(--dsw-static-neutral-bluish-400);--dsw-alias-hovercard-state-done: var(--dsw-static-violet-400);--dsw-alias-hovercard-state-error: var(--dsw-static-red-400);--dsw-alias-illustration-background: var(--dsw-static-neutral-bluish-55);--dsw-alias-illustration-backing: var(--dsw-static-neutral-bluish-310);--dsw-alias-illustration-detail: var(--dsw-static-neutral-bluish-310);--dsw-alias-illustration-inset: var(--dsw-alias-illustration-surface);--dsw-alias-illustration-shadow: var(--dsw-alias-illustration-surface);--dsw-alias-illustration-surface: var(--dsw-static-neutral-bluish-90);--dsw-alias-interactive-bg-active: rgba(38, 49, 72, .1);--dsw-alias-interactive-bg-hover-accent: rgba(38, 49, 72, .14);--dsw-alias-interactive-bg-hover-danger: rgba(236, 19, 19, .05);--dsw-alias-interactive-bg-hover-solid: var(--dsw-static-neutral-bluish-75);--dsw-alias-interactive-bg-hover: rgba(38, 49, 72, .06);--dsw-alias-json-tree-hover: rgb(60 64 67 / 4%);--dsw-alias-json-tree-icon: #5f6368;--dsw-alias-json-tree-keyword: #1c00cf;--dsw-alias-json-tree-number: #1c00cf;--dsw-alias-json-tree-property: #881391;--dsw-alias-json-tree-punctuation: #202124;--dsw-alias-json-tree-string: #c41a16;--dsw-alias-label-caption: var(--dsw-static-neutral-bluish-400);--dsw-alias-label-deep-diving: color-mix(in srgb, var(--dsw-static-deepseek-500) 70%, var(--dsw-static-blue-950));--dsw-alias-label-deep-diving-shimmer: color-mix(in srgb, var(--dsw-static-deepseek-500) 30%, var(--dsw-static-blue-950));--dsw-alias-label-dimmed: var(--dsw-static-neutral-bluish-200);--dsw-alias-label-on-color: var(--dsw-static-neutral-bluish-00);--dsw-alias-label-primary-bluish: var(--dsw-static-blue-900);--dsw-alias-label-primary-dimmed: var(--dsw-static-neutral-bluish-950);--dsw-alias-label-primary-foreground: var(--dsw-static-neutral-bluish-00);--dsw-alias-label-primary-inverted: var(--dsw-static-neutral-bluish-00);--dsw-alias-label-primary: var(--dsw-static-neutral-bluish-1000);--dsw-alias-label-secondary: var(--dsw-static-neutral-bluish-700);--dsw-alias-label-shimmer: color-mix(in srgb, var(--dsw-static-neutral-1000) 30%, transparent);--dsw-alias-label-tertiary: var(--dsw-static-neutral-bluish-600);--dsw-alias-menu-icon: var(--dsw-static-neutral-bluish-800);--dsw-alias-link: var(--dsw-static-deepseek-500);--dsw-alias-markdown-citation: var(--dsw-static-neutral-bluish-100);--dsw-alias-markdown-code-block-banner: var(--dsw-static-neutral-bluish-50);--dsw-alias-markdown-code-block: var(--dsw-static-neutral-bluish-50);--dsw-alias-markdown-code-segment-selected: var(--dsw-static-neutral-bluish-00);--dsw-alias-markdown-code-segment-unselected: var(--dsw-static-neutral-bluish-75);--dsw-alias-markdown-inline-code: var(--dsw-static-neutral-50);--dsw-alias-markdown-placeholder: var(--dsw-static-neutral-bluish-60);--dsw-alias-markdown-tag: var(--dsw-static-neutral-bluish-75);--dsw-alias-scrollbar-bg-l1: var(--dsw-static-neutral-200);--dsw-alias-scrollbar-bg-l2: var(--dsw-static-neutral-200);--dsw-alias-scrollbar-hover-l1: var(--dsw-static-neutral-300);--dsw-alias-scrollbar-hover-l2: var(--dsw-static-neutral-300);--dsw-alias-state-business-primary: var(--dsw-static-deepseek-500);--dsw-alias-state-business-tertiary: var(--dsw-static-deepseek-100);--dsw-alias-code-diff-added: var(--dsw-static-green-500-a08);--dsw-alias-code-diff-deleted: var(--dsw-static-red-600-a08);--dsw-alias-file-diff-added-bg: rgb(230, 244, 231);--dsw-alias-file-diff-added-gutter: rgb(237, 247, 237);--dsw-alias-file-diff-added-marker: rgb(1, 162, 65);--dsw-alias-file-diff-deleted-bg: rgb(252, 230, 226);--dsw-alias-file-diff-deleted-gutter: rgb(253, 236, 233);--dsw-alias-file-diff-deleted-marker: rgb(186, 39, 35);--dsw-alias-state-done-primary: var(--dsw-static-violet-600);--dsw-alias-state-error-primary: var(--dsw-static-red-600);--dsw-alias-state-error-secondary: var(--dsw-static-red-400);--dsw-alias-state-idle-primary: var(--dsw-static-neutral-300);--dsw-alias-state-success-primary: var(--dsw-static-green-500);--dsw-alias-state-success-secondary: var(--dsw-static-green-400);--dsw-alias-state-success-tertiary: var(--dsw-static-green-100);--dsw-alias-state-warn-label: var(--dsw-static-amber-600);--dsw-alias-state-warn-primary: var(--dsw-static-amber-500);--dsw-alias-state-warn-secondary: var(--dsw-static-amber-400);--dsw-alias-state-warn-tertiary: var(--dsw-static-amber-100);--dsw-alias-switch-thumb: var(--dsw-static-neutral-bluish-00);--dsw-alias-toast-action: var(--dsw-static-deepseek-400);--dsw-alias-toast-bg: var(--dsw-static-neutral-bluish-800);--dsw-alias-toast-label: var(--dsw-static-neutral-bluish-00);--dsw-alias-tooltip-bg: var(--dsw-static-neutral-bluish-850);--dsw-alias-tooltip-key-bg: color-mix(in srgb, var(--dsw-alias-tooltip-bg), white 18%);--dsw-alias-tooltip-label: var(--dsw-static-neutral-bluish-00);--dsw-alias-trajectory-accent: var(--dsw-static-blue-500);--dsw-alias-turn-trigger-bg: var(--dsw-alias-markdown-code-block);--dsw-alias-turn-trigger-bg-hover: var(--dsw-alias-interactive-bg-hover);--dsw-specific-bubble-highlight: var(--dsw-static-deepseek-200);--dsw-specific-bubble: var(--dsw-static-deepseek-50);--dsw-specific-file-upload-track: rgba(0, 0, 0, .08);--dsw-specific-guide-hero: var(--dsw-static-neutral-200);--dsw-specific-sidebar-right-flash: var(--dsw-alias-brand-primary-new-colorprimary-new-color);--dsw-specific-input-major: var(--dsw-static-neutral-bluish-00);--dsw-specific-login-input: var(--dsw-static-neutral-bluish-50);--dsw-menu-surface-fill: rgba(252, 253, 254, .7);--dsw-alias-menu-group-header-fill: rgba(248, 249, 250, .94);--dsw-specific-menu: var(--dsw-menu-surface-fill);--dsw-specific-selector: var(--dsw-static-neutral-bluish-60);--dsw-specific-sidebar-fill: var(--dsw-static-neutral-bluish-50);--dsw-specific-sidebar-nav-item-active-accent: var(--dsw-static-deepseek-100);--dsw-specific-sidebar-nav-item-active: var(--dsw-static-neutral-bluish-100);--dsw-specific-tip: var(--dsw-static-neutral-bluish-60);background-color:var(--dsw-alias-bg-base)}body[data-ds-dark-theme]{--dsw-alias-bg-base: var(--dsw-static-neutral-bluish-950);--dsw-alias-bg-document-preview: var(--dsw-static-neutral-bluish-950);--dsw-alias-bg-document-selection: color-mix(in srgb, var(--dsw-static-blue-500) 40%, transparent);--dsw-alias-label-document-preview: var(--dsw-static-neutral-bluish-300);--dsw-alias-bg-layer-1: var(--dsw-static-neutral-bluish-875);--dsw-alias-bg-layer-2: var(--dsw-static-neutral-bluish-850);--dsw-alias-bg-layer-3: var(--dsw-static-neutral-bluish-800);--dsw-alias-bg-mask-1: rgba(0, 0, 0, .5);--dsw-alias-bg-mask-2: rgba(0, 0, 0, .2);--dsw-alias-bg-mask-3: rgba(0, 0, 0, .48);--dsw-alias-bg-mask-photo: rgba(0, 0, 0, .88);--dsw-alias-bg-mask-drop: rgba(39, 39, 48, .7);--dsw-alias-bg-module-platform: var(--dsw-static-neutral-bluish-800);--dsw-alias-bg-multi-select: var(--dsw-static-neutral-850);--dsw-alias-bg-overlay: var(--dsw-static-neutral-bluish-700);--dsw-alias-bg-skeleton: rgba(255, 255, 255, .08);--dsw-alias-border-inverted2: rgba(255, 255, 255, .08);--dsw-alias-border-inverted: rgba(255, 255, 255, .06);--dsw-alias-border-l1: rgba(255, 255, 255, .06);--dsw-alias-border-l2-darkmode-thin: rgba(255, 255, 255, .06);--dsw-alias-border-l2: rgba(255, 255, 255, .12);--dsw-alias-border-l3: rgba(255, 255, 255, .16);--dsw-alias-border-l4: rgba(255, 255, 255, .2);--dsw-alias-border-selected: var(--dsw-static-neutral-bluish-400);--dsw-alias-brand-primary-invert: var(--dsw-static-neutral-bluish-50);--dsw-alias-brand-primary-new-colorprimary-new-color: var(--dsw-static-deepseek-450);--dsw-alias-brand-primary: var(--dsw-static-neutral-bluish-50);--dsw-alias-brand-text: var(--dsw-static-neutral-bluish-50);--dsw-alias-button-contrast-fill: var(--dsw-static-neutral-bluish-50);--dsw-alias-button-elevated-fill: var(--dsw-static-neutral-bluish-750);--dsw-alias-button-floating-fill: var(--dsw-static-neutral-bluish-850);--dsw-alias-button-floating-hover: var(--dsw-static-neutral-bluish-800);--dsw-alias-button-ghost-active-border: var(--dsw-static-neutral-bluish-600);--dsw-alias-button-ghost-active-fill: var(--dsw-static-neutral-bluish-750);--dsw-alias-button-ghost-active-hover: var(--dsw-static-neutral-bluish-700);--dsw-alias-button-info-fill: var(--dsw-static-deepseek-400);--dsw-alias-button-info-hover: var(--dsw-static-deepseek-500);--dsw-alias-button-primary-dimmed: var(--dsw-static-neutral-bluish-750);--dsw-alias-button-primary-fill: var(--dsw-alias-brand-primary);--dsw-alias-button-primary-hover: var(--dsw-static-neutral-bluish-100);--dsw-alias-button-tool-bar-fill-invisible: rgba(31, 31, 31, .36);--dsw-alias-button-tool-bar-fill: rgba(84, 85, 87, .5);--dsw-alias-button-tool-bar-hover: rgba(84, 85, 87, .6);--dsw-alias-card-fill: var(--dsw-static-neutral-850);--dsw-alias-card-fill-hover: var(--dsw-static-neutral-800);--dsw-alias-card-tile-fill: color-mix(in srgb, var(--dsw-static-neutral-00) 5%, transparent);--dsw-alias-chart-messages: var(--dsw-static-blue-450);--dsw-alias-chart-system: var(--dsw-static-neutral-bluish-400);--dsw-alias-chart-tools: var(--dsw-static-violet-400);--dsw-alias-hovercard-bg: var(--dsw-static-neutral-bluish-850);--dsw-alias-hovercard-label-primary: var(--dsw-static-neutral-bluish-00);--dsw-alias-hovercard-label-secondary: var(--dsw-static-neutral-bluish-300);--dsw-alias-hovercard-label-tertiary: var(--dsw-static-neutral-bluish-400);--dsw-alias-hovercard-state-done: var(--dsw-static-violet-400);--dsw-alias-hovercard-state-error: var(--dsw-static-red-400);--dsw-alias-illustration-background: var(--dsw-static-neutral-bluish-850);--dsw-alias-illustration-backing: var(--dsw-static-neutral-bluish-750);--dsw-alias-illustration-detail: var(--dsw-static-neutral-bluish-600);--dsw-alias-illustration-inset: var(--dsw-alias-illustration-backing);--dsw-alias-illustration-shadow: var(--dsw-alias-illustration-backing);--dsw-alias-illustration-surface: var(--dsw-static-neutral-bluish-700);--dsw-alias-interactive-bg-active: rgba(255, 255, 255, .14);--dsw-alias-interactive-bg-hover-accent: rgba(255, 255, 255, .24);--dsw-alias-interactive-bg-hover-danger: rgba(242, 90, 90, .15);--dsw-alias-interactive-bg-hover-solid: var(--dsw-static-neutral-bluish-800);--dsw-alias-interactive-bg-hover: rgba(255, 255, 255, .08);--dsw-alias-json-tree-hover: rgb(232 234 237 / 5%);--dsw-alias-json-tree-icon: #9aa0a6;--dsw-alias-json-tree-keyword: #99c8ff;--dsw-alias-json-tree-number: #99c8ff;--dsw-alias-json-tree-property: #5db0d7;--dsw-alias-json-tree-punctuation: #e8eaed;--dsw-alias-json-tree-string: #f28b82;--dsw-alias-label-caption: var(--dsw-static-neutral-bluish-600);--dsw-alias-label-deep-diving: color-mix(in srgb, var(--dsw-static-deepseek-450) 55%, var(--dsw-static-neutral-bluish-400));--dsw-alias-label-deep-diving-shimmer: color-mix(in srgb, var(--dsw-static-blue-300) 65%, var(--dsw-static-deepseek-400));--dsw-alias-label-dimmed: var(--dsw-static-neutral-bluish-750);--dsw-alias-label-on-color: var(--dsw-static-neutral-bluish-00);--dsw-alias-label-primary-bluish: var(--dsw-static-neutral-bluish-50);--dsw-alias-label-primary-dimmed: var(--dsw-static-neutral-bluish-100);--dsw-alias-label-primary-foreground: var(--dsw-static-neutral-bluish-1000);--dsw-alias-label-primary-inverted: var(--dsw-static-neutral-bluish-800);--dsw-alias-label-primary: var(--dsw-static-neutral-bluish-50);--dsw-alias-label-secondary: var(--dsw-static-neutral-bluish-300);--dsw-alias-label-shimmer: color-mix(in srgb, var(--dsw-static-neutral-00) 45%, transparent);--dsw-alias-label-tertiary: var(--dsw-static-neutral-bluish-400);--dsw-alias-menu-icon: var(--dsw-alias-label-primary-dimmed);--dsw-alias-link: var(--dsw-static-deepseek-400);--dsw-alias-markdown-citation: var(--dsw-static-neutral-bluish-800);--dsw-alias-markdown-code-block-banner: var(--dsw-static-neutral-bluish-850);--dsw-alias-markdown-code-block: var(--dsw-static-neutral-bluish-900);--dsw-alias-markdown-code-segment-selected: var(--dsw-static-neutral-bluish-800);--dsw-alias-markdown-code-segment-unselected: var(--dsw-static-neutral-bluish-900);--dsw-alias-markdown-inline-code: var(--dsw-static-neutral-800);--dsw-alias-markdown-placeholder: var(--dsw-static-neutral-bluish-850);--dsw-alias-markdown-tag: var(--dsw-static-neutral-bluish-850);--dsw-alias-scrollbar-bg-l1: var(--dsw-static-neutral-700);--dsw-alias-scrollbar-bg-l2: var(--dsw-static-neutral-600);--dsw-alias-scrollbar-hover-l1: var(--dsw-static-neutral-600);--dsw-alias-scrollbar-hover-l2: var(--dsw-static-neutral-550);--dsw-alias-state-business-primary: var(--dsw-static-deepseek-400);--dsw-alias-state-business-tertiary: var(--dsw-static-deepseek-800);--dsw-alias-code-diff-added: var(--dsw-static-green-500-a12);--dsw-alias-code-diff-deleted: var(--dsw-static-red-400-a12);--dsw-alias-file-diff-added-bg: rgb(31, 49, 36);--dsw-alias-file-diff-added-gutter: rgb(19, 32, 22);--dsw-alias-file-diff-added-marker: rgb(65, 201, 119);--dsw-alias-file-diff-deleted-bg: rgb(60, 31, 27);--dsw-alias-file-diff-deleted-gutter: rgb(40, 19, 14);--dsw-alias-file-diff-deleted-marker: rgb(250, 66, 62);--dsw-alias-state-done-primary: var(--dsw-static-violet-400);--dsw-alias-state-error-primary: var(--dsw-static-red-400);--dsw-alias-state-error-secondary: var(--dsw-static-red-400);--dsw-alias-state-idle-primary: var(--dsw-static-neutral-600);--dsw-alias-state-success-primary: var(--dsw-static-green-500);--dsw-alias-state-success-secondary: var(--dsw-static-green-400);--dsw-alias-state-success-tertiary: var(--dsw-static-green-900);--dsw-alias-state-warn-label: var(--dsw-static-amber-600);--dsw-alias-state-warn-primary: var(--dsw-static-amber-500);--dsw-alias-state-warn-secondary: var(--dsw-static-amber-400);--dsw-alias-state-warn-tertiary: var(--dsw-static-amber-900);--dsw-alias-switch-thumb: var(--dsw-static-neutral-bluish-400);--dsw-alias-toast-action: var(--dsw-static-deepseek-400);--dsw-alias-toast-bg: var(--dsw-static-neutral-bluish-750);--dsw-alias-toast-label: var(--dsw-static-neutral-bluish-00);--dsw-alias-turn-trigger-bg: var(--dsw-alias-interactive-bg-hover);--dsw-alias-turn-trigger-bg-hover: var(--dsw-alias-interactive-bg-active);--dsw-alias-tooltip-bg: var(--dsw-static-neutral-bluish-750);--dsw-alias-tooltip-key-bg: color-mix(in srgb, var(--dsw-alias-tooltip-bg), white 18%);--dsw-alias-tooltip-label: var(--dsw-static-neutral-bluish-00);--dsw-alias-trajectory-accent: var(--dsw-static-blue-500);--dsw-specific-bubble-highlight: var(--dsw-static-neutral-bluish-750);--dsw-specific-bubble: var(--dsw-static-neutral-bluish-850);--dsw-specific-file-upload-track: rgba(0, 0, 0, .08);--dsw-specific-guide-hero: var(--dsw-static-neutral-700);--dsw-specific-sidebar-right-flash: var(--dsw-static-neutral-00);--dsw-specific-input-major: var(--dsw-static-neutral-bluish-850);--dsw-specific-login-input: var(--dsw-static-neutral-bluish-900);--dsw-menu-surface-fill: rgba(48, 49, 54, .64);--dsw-alias-menu-group-header-fill: rgba(48, 49, 54, .94);--dsw-specific-menu: var(--dsw-menu-surface-fill);--dsw-specific-selector: var(--dsw-static-neutral-bluish-800);--dsw-specific-sidebar-fill: var(--dsw-static-neutral-bluish-900);--dsw-specific-sidebar-nav-item-active-accent: var(--dsw-static-neutral-bluish-800);--dsw-specific-sidebar-nav-item-active: var(--dsw-static-neutral-bluish-750);--dsw-specific-tip: var(--dsw-static-neutral-bluish-800)}html[data-platform=darwin] body{--dsw-specific-menu: rgba(248, 249, 250, .94)}html[data-platform=darwin] body[data-ds-dark-theme]{--dsw-specific-menu: rgba(48, 49, 54, .94)}html[data-platform=darwin] body{--dsw-specific-sidebar-glass-collapsed-fill: transparent;--dsw-specific-sidebar-glass-collapsed-hover: var(--dsw-alias-interactive-bg-hover);--dsw-specific-sidebar-glass-fill: rgb(255 255 255 / .55);--dsw-specific-sidebar-glass-hover: rgb(255 255 255 / .3);--dsw-specific-sidebar-tint: color-mix(in srgb, color-mix(in srgb, var(--dsw-specific-sidebar-fill) 97%, rgb(122 155 240)) 40%, transparent);--dsw-specific-sidebar-wash-bottom: rgb(143 137 184 / .09);--dsw-specific-sidebar-wash-bottom-clear: rgb(143 137 184 / 0);--dsw-specific-sidebar-wash-top: rgb(122 155 240 / .1);--dsw-specific-sidebar-wash-top-clear: rgb(122 155 240 / 0)}html[data-platform=darwin] body[data-ds-dark-theme]{--dsw-specific-sidebar-glass-collapsed-fill: var(--dsw-specific-sidebar-glass-fill);--dsw-specific-sidebar-glass-collapsed-hover: var(--dsw-specific-sidebar-glass-hover);--dsw-specific-sidebar-glass-fill: rgb(255 255 255 / .15);--dsw-specific-sidebar-glass-hover: rgb(255 255 255 / .2);--dsw-specific-sidebar-tint: color-mix(in srgb, var(--dsw-specific-sidebar-fill) 50%, transparent);--dsw-specific-sidebar-wash-bottom: rgb(143 137 184 / .07);--dsw-specific-sidebar-wash-top: rgb(122 155 240 / .08)}",Pv=":root{--dsw-focus-ring-width: 2px}:focus-visible{outline-color:var(--dsw-focus-ring-color, var(--dsw-alias-state-business-primary));outline-width:var(--dsw-focus-ring-width)}html[data-input-modality=pointer] body :focus-visible:not(:read-write){--dsw-focus-ring-color: transparent;outline-color:transparent}",Tv="body{--dsw-alias-onboarding-accent: rgb(57, 100, 254);--dsw-gradient-onboarding-violet-stops: #2a2fb6 33.102%, #8b76f6 50.954%, #c5c0ff 85.326%, #2a2fb6;--dsw-gradient-onboarding-blue-stops: #3964fe 18.75%, #398efe 51.78%, #6dccff 86.252%, #3964fe;--dsw-gradient-onboarding-cyan-stops: #0293b4 21.154%, #2dc8eb 50.954%, #aff0ff 85.326%, #0293b4;--dsw-alias-onboarding-card-fill: color-mix(in srgb, var(--dsw-static-neutral-bluish-00) 80%, transparent);--dsw-alias-onboarding-secondary-fill: var(--dsw-static-neutral-bluish-00);--dsw-alias-onboarding-checkbox-border: color-mix(in srgb, var(--dsw-static-neutral-bluish-1000) 20%, transparent)}body[data-ds-dark-theme]{--dsw-alias-onboarding-card-fill: color-mix(in srgb, var(--dsw-static-neutral-bluish-850) 80%, transparent);--dsw-alias-onboarding-secondary-fill: rgb(72, 73, 76);--dsw-alias-onboarding-checkbox-border: var(--dsw-alias-border-l2)}",Rv="body{--dsh-scrollbar-thumb: var(--dsw-alias-scrollbar-bg-l1);--dsh-scrollbar-thumb-hover: var(--dsw-alias-scrollbar-hover-l1);--dsh-scrollbar-thumb-border: 0px;--dsh-scrollbar-track-margin: 0px;--dsh-scrollbar-width: 5px}@supports not selector(::-webkit-scrollbar){body,body *{scrollbar-width:thin;scrollbar-color:var(--dsh-scrollbar-thumb) transparent}}::-webkit-scrollbar{width:var(--dsh-scrollbar-width);height:var(--dsh-scrollbar-width)}::-webkit-scrollbar-track{margin-block:var(--dsh-scrollbar-track-margin);background:transparent}::-webkit-scrollbar-thumb{border:var(--dsh-scrollbar-thumb-border) solid transparent;border-radius:999px;corner-shape:round;background:var(--dsh-scrollbar-thumb);background-clip:content-box}@media(hover:hover){::-webkit-scrollbar-thumb:hover{background-color:var(--dsh-scrollbar-thumb-hover)}}::-webkit-scrollbar-corner{background:transparent}",Nv="body{--dsw-linear-gradient-think: linear-gradient(180deg, #fff 20.19%, rgba(255, 255, 255, 0) 100%);--dsw-linear-think-select: linear-gradient(180deg, #f5f6f7 20.19%, rgba(245, 246, 247, 0) 100%);--dsw-shadow-lv1: 0 2px 4px 0 rgba(0, 0, 0, .05);--dsw-shadow-lv1-blur: 0 4px 12px 0 rgba(0, 0, 0, .02);--dsw-shadow-lv2: 0 4px 12px 0 rgba(0, 0, 0, .02), 0 2px 8px 0 rgba(0, 0, 0, .04);--dsw-shadow-lv3: 0 0 1px 0 rgba(0, 0, 0, .2), 0 0 4px 0 rgba(0, 0, 0, .02), 0 12px 32px 0 rgba(0, 0, 0, .08);--dsw-elevation-stroke-color: var(--dsw-alias-border-l4);--dsw-mask-blur: none;--dsw-menu-backdrop-filter: blur(40px) saturate(150%)}body[data-ds-dark-theme] [data-menu-material]{--dsw-elevation-stroke-color: var(--dsw-alias-border-l3)}body,body *{--dsw-elevation-stroke: 0 0 0 .5px var(--dsw-elevation-stroke-color);--dsw-elevation-panel: var(--dsw-elevation-stroke), 0 3px 8px 0 rgba(0, 0, 0, .03), 0 0 16px 0 rgba(0, 0, 0, .02);--dsw-elevation-prominent: var(--dsw-elevation-stroke), 0 3px 8px 0 rgba(0, 0, 0, .04), 0 0 20px 0 rgba(0, 0, 0, .05);--dsw-elevation-soft: var(--dsw-elevation-stroke), 0 4px 16px 0 rgba(0, 0, 0, .03), 0 0 24px 0 rgba(0, 0, 0, .03)}body[data-ds-dark-theme]{--dsw-linear-gradient-think: linear-gradient(180deg, #151517 20.19%, rgba(21, 21, 23, 0) 100%);--dsw-linear-think-select: linear-gradient(180deg, #232325 20.19%, rgba(35, 35, 37, 0) 100%)}body{--dsh-content-font-delta: calc(var(--dsh-content-font-size, 14px) - 14px);--dsh-content-font-size-secondary: min(calc(var(--dsh-content-font-size, 14px) - 1px), max(13px, calc(var(--dsh-content-font-size, 14px) - 2px)));--dsh-content-font-delta-secondary: calc(var(--dsh-content-font-size-secondary) - 13px);--dsh-code-font-delta: calc(var(--dsh-code-font-size, 11px) - 11px);--dsw-font-markdown-h1: 700 calc(21px + var(--dsh-content-font-delta)) / calc(30px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-h1-font-family: var(--dsw-font-family);--dsw-font-markdown-h1-font-weight: 700;--dsw-font-markdown-h1-line-height: calc(30px + var(--dsh-content-font-delta));--dsw-font-markdown-h1-font-size: calc(21px + var(--dsh-content-font-delta));--dsw-font-markdown-h1-font-style: normal;--dsw-font-markdown-h2: 700 calc(19px + var(--dsh-content-font-delta)) / calc(28px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-h2-font-family: var(--dsw-font-family);--dsw-font-markdown-h2-font-weight: 700;--dsw-font-markdown-h2-line-height: calc(28px + var(--dsh-content-font-delta));--dsw-font-markdown-h2-font-size: calc(19px + var(--dsh-content-font-delta));--dsw-font-markdown-h2-font-style: normal;--dsw-font-markdown-h3: 700 calc(18px + var(--dsh-content-font-delta)) / calc(26px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-h3-font-family: var(--dsw-font-family);--dsw-font-markdown-h3-font-weight: 700;--dsw-font-markdown-h3-line-height: calc(26px + var(--dsh-content-font-delta));--dsw-font-markdown-h3-font-size: calc(18px + var(--dsh-content-font-delta));--dsw-font-markdown-h3-font-style: normal;--dsw-font-markdown-h4: 600 var(--dsh-content-font-size, 14px) / calc(24px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-h4-font-family: var(--dsw-font-family);--dsw-font-markdown-h4-font-weight: 600;--dsw-font-markdown-h4-line-height: calc(24px + var(--dsh-content-font-delta));--dsw-font-markdown-h4-font-size: var(--dsh-content-font-size, 14px);--dsw-font-markdown-h4-font-style: normal;--dsw-font-markdown-base: var(--dsh-content-font-size, 14px) / calc(24px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-base-font-family: var(--dsw-font-family);--dsw-font-markdown-base-font-weight: 400;--dsw-font-markdown-base-line-height: calc(24px + var(--dsh-content-font-delta));--dsw-font-markdown-base-font-size: var(--dsh-content-font-size, 14px);--dsw-font-markdown-base-font-style: normal;--dsw-font-markdown-base-strong: 600 var(--dsh-content-font-size, 14px) / calc(24px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-base-strong-font-family: var(--dsw-font-family);--dsw-font-markdown-base-strong-font-weight: 600;--dsw-font-markdown-base-strong-line-height: calc(24px + var(--dsh-content-font-delta));--dsw-font-markdown-base-strong-font-size: var(--dsh-content-font-size, 14px);--dsw-font-markdown-base-strong-font-style: normal;--dsw-font-markdown-base-italic: italic var(--dsh-content-font-size, 14px) / calc(24px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-base-italic-font-family: var(--dsw-font-family);--dsw-font-markdown-base-italic-font-weight: 400;--dsw-font-markdown-base-italic-line-height: calc(24px + var(--dsh-content-font-delta));--dsw-font-markdown-base-italic-font-size: var(--dsh-content-font-size, 14px);--dsw-font-markdown-base-italic-font-style: italic;--dsw-font-markdown-base-strong-italic: italic 600 var(--dsh-content-font-size, 14px) / calc(24px + var(--dsh-content-font-delta)) var(--dsw-font-family);--dsw-font-markdown-base-strong-italic-font-family: var(--dsw-font-family);--dsw-font-markdown-base-strong-italic-font-weight: 600;--dsw-font-markdown-base-strong-italic-line-height: calc(24px + var(--dsh-content-font-delta));--dsw-font-markdown-base-strong-italic-font-size: var(--dsh-content-font-size, 14px);--dsw-font-markdown-base-strong-italic-font-style: italic;--dsw-font-markdown-table: var(--dsh-content-font-size-secondary, 13px)/calc(22px + var(--dsh-content-font-delta-secondary, 0px)) var(--dsw-font-family);--dsw-font-markdown-table-font-family: var(--dsw-font-family);--dsw-font-markdown-table-font-weight: 400;--dsw-font-markdown-table-line-height: calc(22px + var(--dsh-content-font-delta-secondary, 0px));--dsw-font-markdown-table-font-size: var(--dsh-content-font-size-secondary, 13px);--dsw-font-markdown-table-font-style: normal;--dsw-font-markdown-table-head: 500 var(--dsh-content-font-size-secondary, 13px)/calc(22px + var(--dsh-content-font-delta-secondary, 0px)) var(--dsw-font-family);--dsw-font-markdown-table-head-font-family: var(--dsw-font-family);--dsw-font-markdown-table-head-font-weight: 500;--dsw-font-markdown-table-head-line-height: calc(22px + var(--dsh-content-font-delta-secondary, 0px));--dsw-font-markdown-table-head-font-size: var(--dsh-content-font-size-secondary, 13px);--dsw-font-markdown-table-head-font-style: normal;--dsw-font-markdown-small: 12px/20px var(--dsw-font-family);--dsw-font-markdown-small-font-family: var(--dsw-font-family);--dsw-font-markdown-small-font-weight: 400;--dsw-font-markdown-small-line-height: 20px;--dsw-font-markdown-small-font-size: 12px;--dsw-font-markdown-small-font-style: normal;--dsw-font-markdown-small-strong: 600 12px/20px var(--dsw-font-family);--dsw-font-markdown-small-strong-font-family: var(--dsw-font-family);--dsw-font-markdown-small-strong-font-weight: 600;--dsw-font-markdown-small-strong-line-height: 20px;--dsw-font-markdown-small-strong-font-size: 12px;--dsw-font-markdown-small-strong-font-style: normal;--dsw-font-markdown-small-italic: italic 12px/20px var(--dsw-font-family);--dsw-font-markdown-small-italic-font-family: var(--dsw-font-family);--dsw-font-markdown-small-italic-font-weight: 400;--dsw-font-markdown-small-italic-line-height: 20px;--dsw-font-markdown-small-italic-font-size: 12px;--dsw-font-markdown-small-italic-font-style: italic;--dsw-font-markdown-small-strong-italic: italic 600 12px/20px var(--dsw-font-family);--dsw-font-markdown-small-strong-italic-font-family: var(--dsw-font-family);--dsw-font-markdown-small-strong-italic-font-weight: 600;--dsw-font-markdown-small-strong-italic-line-height: 20px;--dsw-font-markdown-small-strong-italic-font-size: 12px;--dsw-font-markdown-small-strong-italic-font-style: italic;--dsw-font-markdown-code: calc(12px + var(--dsh-code-font-delta)) / calc(19px + var(--dsh-code-font-delta)) var(--ds-font-family-code);--dsw-font-markdown-code-font-family: var(--ds-font-family-code);--dsw-font-markdown-code-font-weight: 400;--dsw-font-markdown-code-line-height: calc(19px + var(--dsh-code-font-delta));--dsw-font-markdown-code-font-size: calc(12px + var(--dsh-code-font-delta));--dsw-font-markdown-code-font-style: normal;--dsw-font-markdown-code-block: var(--dsh-code-font-size, 11px) / calc(19px + var(--dsh-code-font-delta)) var(--ds-font-family-code);--dsw-font-markdown-code-block-font-family: var(--ds-font-family-code);--dsw-font-markdown-code-block-font-weight: 400;--dsw-font-markdown-code-block-line-height: calc(19px + var(--dsh-code-font-delta));--dsw-font-markdown-code-block-font-size: var(--dsh-code-font-size, 11px);--dsw-font-markdown-code-block-font-style: normal;--dsw-font-markdown-code-block-small: var(--dsh-code-font-size, 11px) / calc(16px + var(--dsh-code-font-delta)) var(--ds-font-family-code);--dsw-font-markdown-code-block-small-font-family: var(--ds-font-family-code);--dsw-font-markdown-code-block-small-font-weight: 400;--dsw-font-markdown-code-block-small-line-height: calc(16px + var(--dsh-code-font-delta));--dsw-font-markdown-code-block-small-font-size: var(--dsh-code-font-size, 11px);--dsw-font-markdown-code-block-small-font-style: normal;--dsw-font-xl-24: 600 24px/32px var(--dsw-font-family);--dsw-font-xl-24-font-family: var(--dsw-font-family);--dsw-font-xl-24-font-weight: 600;--dsw-font-xl-24-line-height: 32px;--dsw-font-xl-24-font-size: 24px;--dsw-font-xl-24-font-style: normal;--dsw-font-l-20: 500 20px/28px var(--dsw-font-family);--dsw-font-l-20-font-family: var(--dsw-font-family);--dsw-font-l-20-font-weight: 500;--dsw-font-l-20-line-height: 28px;--dsw-font-l-20-font-size: 20px;--dsw-font-l-20-font-style: normal;--dsw-font-m-18: 500 16px/28px var(--dsw-font-family);--dsw-font-m-18-font-family: var(--dsw-font-family);--dsw-font-m-18-font-weight: 500;--dsw-font-m-18-line-height: 28px;--dsw-font-m-18-font-size: 16px;--dsw-font-m-18-font-style: normal;--dsw-font-base-16: 16px/24px var(--dsw-font-family);--dsw-font-base-16-font-family: var(--dsw-font-family);--dsw-font-base-16-font-weight: 400;--dsw-font-base-16-line-height: 24px;--dsw-font-base-16-font-size: 16px;--dsw-font-base-16-font-style: normal;--dsw-font-base-strong-16: 500 16px/24px var(--dsw-font-family);--dsw-font-base-strong-16-font-family: var(--dsw-font-family);--dsw-font-base-strong-16-font-weight: 500;--dsw-font-base-strong-16-line-height: 24px;--dsw-font-base-strong-16-font-size: 16px;--dsw-font-base-strong-16-font-style: normal;--dsw-font-s-14: 14px/22px var(--dsw-font-family);--dsw-font-s-14-font-family: var(--dsw-font-family);--dsw-font-s-14-font-weight: 400;--dsw-font-s-14-line-height: 22px;--dsw-font-s-14-font-size: 14px;--dsw-font-s-14-font-style: normal;--dsw-font-s-strong-14: 500 14px/22px var(--dsw-font-family);--dsw-font-s-strong-14-font-family: var(--dsw-font-family);--dsw-font-s-strong-14-font-weight: 500;--dsw-font-s-strong-14-line-height: 22px;--dsw-font-s-strong-14-font-size: 14px;--dsw-font-s-strong-14-font-style: normal;--dsw-font-xs-13: 13px/20px var(--dsw-font-family);--dsw-font-xs-13-font-family: var(--dsw-font-family);--dsw-font-xs-13-font-weight: 400;--dsw-font-xs-13-line-height: 20px;--dsw-font-xs-13-font-size: 13px;--dsw-font-xs-13-font-style: normal;--dsw-font-xs-strong-13: 500 13px/20px var(--dsw-font-family);--dsw-font-xs-strong-13-font-family: var(--dsw-font-family);--dsw-font-xs-strong-13-font-weight: 500;--dsw-font-xs-strong-13-line-height: 20px;--dsw-font-xs-strong-13-font-size: 13px;--dsw-font-xs-strong-13-font-style: normal;--dsw-font-xxs-12: 12px/18px var(--dsw-font-family);--dsw-font-xxs-12-font-family: var(--dsw-font-family);--dsw-font-xxs-12-font-weight: 400;--dsw-font-xxs-12-line-height: 18px;--dsw-font-xxs-12-font-size: 12px;--dsw-font-xxs-12-font-style: normal;--dsw-font-xxs-strong-12: 500 12px/18px var(--dsw-font-family);--dsw-font-xxs-strong-12-font-family: var(--dsw-font-family);--dsw-font-xxs-strong-12-font-weight: 500;--dsw-font-xxs-strong-12-line-height: 18px;--dsw-font-xxs-strong-12-font-size: 12px;--dsw-font-xxs-strong-12-font-style: normal;--dsw-font-xxxs-11: 11px/14px var(--dsw-font-family);--dsw-font-xxxs-11-font-family: var(--dsw-font-family);--dsw-font-xxxs-11-font-weight: 400;--dsw-font-xxxs-11-line-height: 14px;--dsw-font-xxxs-11-font-size: 11px;--dsw-font-xxxs-11-font-style: normal;--dsw-font-xxxs-strong-11: 500 11px/14px var(--dsw-font-family);--dsw-font-xxxs-strong-11-font-family: var(--dsw-font-family);--dsw-font-xxxs-strong-11-font-weight: 500;--dsw-font-xxxs-strong-11-line-height: 14px;--dsw-font-xxxs-strong-11-font-size: 11px;--dsw-font-xxxs-strong-11-font-style: normal}",$v=":root{--shiki-foreground: var(--dsw-alias-label-primary);--shiki-background: var(--dsw-alias-markdown-code-block);--shiki-token-constant: #1c7ed6;--shiki-token-string: #2f9e44;--shiki-token-comment: #868e96;--shiki-token-keyword: #d6336c;--shiki-token-parameter: #e8590c;--shiki-token-function: #6741d9;--shiki-token-string-expression: #2b8a3e;--shiki-token-punctuation: #495057;--shiki-token-link: #1971c2}body[data-ds-dark-theme]{--shiki-token-constant: #4dabf7;--shiki-token-string: #69db7c;--shiki-token-comment: #adb5bd;--shiki-token-keyword: #faa2c1;--shiki-token-parameter: #ffa94d;--shiki-token-function: #b197fc;--shiki-token-string-expression: #8ce99a;--shiki-token-punctuation: #ced4da;--shiki-token-link: #74c0fc}",s2="@deepseek-ai/dsh-client-ui-theme",mo="--dsh-hairline-width",Av=[["base.css",Iv],["corner-shape.css",Fv],["design-platform.css",Ov],["focus.css",Pv],["onboarding.css",Tv],["scrollbar.css",Rv],["gradient-shadow-text.css",Nv],["shiki.css",$v]];function Dv(e){if(typeof document>"u")return;const n=document.defaultView;n!==null&&e.effect(()=>{const r=document.documentElement,o=r.style.getPropertyValue(mo),l=r.style.getPropertyPriority(mo),a=typeof n.matchMedia=="function"?n.matchMedia.bind(n):void 0;let u;const d=()=>{const p=n.devicePixelRatio,h=Math.max(1,Math.floor(.5*p))/p;r.style.setProperty(mo,`${h}px`),u?.removeEventListener("change",d),u=a?.(`(resolution: ${p}dppx)`),u?.addEventListener("change",d)};return d(),()=>{u?.removeEventListener("change",d),o===""?r.style.removeProperty(mo):r.style.setProperty(mo,o,l)}},"ui-theme: DPR-aware hairline width");for(const[r,o]of Av)e.effect(()=>{const l=document.createElement("style");return l.dataset.plugin=s2,l.dataset.pluginCss=`${s2}/${r}`,l.textContent=o,document.head.appendChild(l),()=>{l.remove()}},`ui-theme: ${r} stylesheet`)}function Hv(e,n){const r=new Cv(e,n);return e.provide("theme",r),dv(e,r.getTheme().active.icons),r}function Bv(e){return Object.freeze({productTitle:"Atlas"})}function Vv(e,n){const r=Bv();return e.provide("brand",r),r}const l2="atlasweb:ui-theme";function a2(){return{preference:"system",fontSize:rt.text.default,codeFontSize:rt.code.default,terminalFontSize:rt.terminal.default,textFontFamily:"",codeFontFamily:"",terminalFontFamily:""}}function u2(e,n){switch(e){case H1:return vl(n)?n:void 0;case rt.text.field:case rt.code.field:case rt.terminal.field:{const r=e===rt.text.field?"text":e===rt.code.field?"code":"terminal";return typeof n=="number"&&wi(r,n)?n:void 0}case Ar.text:case Ar.code:case Ar.terminal:return typeof n=="string"?mr(n):void 0;default:return}}function Wv(e){const n=e?.storage??Uv(),r=new Set,o=()=>{for(const h of r)h()};let l,a=!1;const u=()=>{if(!a){a=!0;try{const h=n.getItem(l2);if(h===null)return;const g=JSON.parse(h);if(g===null||typeof g!="object")return;const w=a2();l={preference:vl(g.preference)?g.preference:w.preference,fontSize:typeof g.fontSize=="number"&&wi("text",g.fontSize)?g.fontSize:w.fontSize,codeFontSize:typeof g.codeFontSize=="number"&&wi("code",g.codeFontSize)?g.codeFontSize:w.codeFontSize,terminalFontSize:typeof g.terminalFontSize=="number"&&wi("terminal",g.terminalFontSize)?g.terminalFontSize:w.terminalFontSize,textFontFamily:typeof g.textFontFamily=="string"?g.textFontFamily:"",codeFontFamily:typeof g.codeFontFamily=="string"?g.codeFontFamily:"",terminalFontFamily:typeof g.terminalFontFamily=="string"?g.terminalFontFamily:""}}catch{l=void 0}}},d=()=>{l!==void 0&&n.setItem(l2,JSON.stringify(l))},p=(h,g)=>{l={...l??a2(),[h]:g}};return{subscribe(h){return r.add(h),()=>{r.delete(h)}},getSnapshot(){return u(),{value:l}},async set(h,g){u();const w=u2(h,g);return w===void 0?!1:(p(h,w),d(),o(),!0)},async mutate(h){u();const g=[];for(const w of h){if(w.op!=="set"||w.path.length!==1||typeof w.path[0]!="string")return!1;const k=u2(w.path[0],w.value);if(k===void 0)return!1;g.push([w.path[0],k])}for(const[w,k]of g)p(w,k);return d(),o(),!0},refresh(){const h=l;a=!1,u(),h!==l&&o()}}}function Uv(){const e=new Map;return{getItem:n=>e.get(n)??null,setItem:(n,r)=>{e.set(n,r)}}}const Jh=400,e3=264,t3=420,sl=280,n3=56,bo=768,yo=1024,vi=300,B1=.7,r3=.45;function So(e,n,r){return Math.min(r,Math.max(n,Math.round(e)))}function c2(e,n,r,o=n3,l=!1){const a=n===0?o:l?e/2:So(n,e3,t3),u=e-a-Jh,d=r===0||u<vi?0:Math.min(u,So(r,vi,e*B1));return{sidebar:a,center:Math.max(0,e-a-d),rightbar:d}}function qv({useSessions:e,usePanelInfo:n,productTitle:r}){const o=n(a=>a.activePanelId===null),l=e(a=>{const u=Object.values(a.byId).find(d=>(d.retainedBy.mainView??0)>0)?.id;return!o||u===void 0?void 0:a.byId[u]?.title});return I.useEffect(()=>(document.title=l===void 0?r:`${l} — ${r}`,()=>{document.title=r}),[r,l]),null}const Zv="_frame_12wr1_1",Qv="_centerCol_12wr1_34",Gv="_sidebarCol_12wr1_49",Kv="_mainPanel_12wr1_77",Yv="_rightbarCol_12wr1_159",Xv="_leadingSeat_12wr1_188",Jv="_handle_12wr1_220",ey="_drawerMask_12wr1_310",ty="_bottomRow_12wr1_355",ny="_overlayLayer_12wr1_363",Cn={frame:Zv,centerCol:Qv,sidebarCol:Gv,mainPanel:Kv,rightbarCol:Yv,leadingSeat:Xv,handle:Jv,drawerMask:ey,bottomRow:ty,overlayLayer:ny};function ry(e){return b.jsx("div",{className:Cn.centerCol,inert:e.inert?"":void 0,children:e.children})}function iy({usePanelInfo:e,renderSlot:n}){const r=e(o=>o.activePanelId);return b.jsx("div",{className:Cn.mainPanel,"data-global-panel":r!==null||void 0,children:n("main",{},{entryKey:r??"conversation"})})}function oy(e){return b.jsx("div",{className:Cn.rightbarCol,"data-rightbar-col":!0,inert:e.inert?"":void 0,children:e.children})}function d2(e){const[n,r]=I.useState(!1),o=I.useRef(0),l=I.useRef(0),a=I.useRef(null),u=I.useRef(null),d=I.useRef({onStart:e.onStart,onDrag:e.onDrag,onEnd:e.onEnd});d.current={onStart:e.onStart,onDrag:e.onDrag,onEnd:e.onEnd};const p=I.useCallback(()=>{const v=u.current;v!==null&&(u.current=null,a.current!==null&&(cancelAnimationFrame(a.current),a.current=null),v.element.hasPointerCapture(v.id)&&v.element.releasePointerCapture(v.id),r(!1),d.current.onEnd())},[]);I.useEffect(()=>p,[p]);const h=I.useCallback(v=>{v.button!==0||u.current!==null||(v.preventDefault(),v.currentTarget.setPointerCapture(v.pointerId),u.current={element:v.currentTarget,id:v.pointerId},o.current=v.clientX,l.current=v.clientX,d.current.onStart(),r(!0))},[]),g=I.useCallback(v=>{u.current?.id===v.pointerId&&(l.current=v.clientX,a.current??=requestAnimationFrame(()=>{a.current=null,d.current.onDrag(l.current-o.current)}))},[]),w=I.useCallback(v=>{u.current?.id===v.pointerId&&(d.current.onDrag(v.clientX-o.current),p())},[p]),k=I.useCallback(v=>{u.current?.id===v.pointerId&&p()},[p]);return b.jsx("div",{className:Cn.handle,style:{left:e.left},"data-side":e.side,"data-dragging":n||void 0,onPointerDown:h,onPointerMove:g,onPointerUp:w,onPointerCancel:k,onLostPointerCapture:k})}function sy({useStore:e,useSessions:n,usePanelInfo:r,useFoldedLandscape:o,actions:l,renderSlot:a,brand:u}){const d=e(Be=>Be.layoutInfo),p=I.useRef(null),h=d.viewportWidth,g=o(Be=>Be);I.useLayoutEffect(()=>{const Be=p.current;if(Be===null)return;let Xe=null,it=!1;const ot=()=>{const jt=Be.getBoundingClientRect().width;jt>0&&l.setViewportWidth(jt)};ot();const ft=new ResizeObserver(()=>{it||(Xe??=requestAnimationFrame(()=>{Xe=null,ot()}))});return ft.observe(Be),()=>{it=!0,ft.disconnect(),Xe!==null&&cancelAnimationFrame(Xe)}},[l]);const w=h<yo,k=document.documentElement.hasAttribute("data-windows-titlebar"),v=h<bo&&!k,_=g&&h>=bo,E=w?!d.narrowExpanded:d.sidebar===0,O=v&&!E,[F,Z]=I.useState({drawer:v,collapsed:E,instant:!0});(F.drawer!==v||F.collapsed!==E)&&Z({drawer:v,collapsed:E,instant:v&&E&&F.collapsed});const D=E?0:d.sidebar===0?sl:d.sidebar,B=d.rightbar??h*r3,ee=document.documentElement.dataset.platform==="darwin",j=v||ee||k?0:n3,H=c2(h,!d.rightbarShown&&w?0:D,B,j,_),G=c2(h,v?0:D,d.rightbarTrack?B:0,j,_),le=I.useRef(G);le.current=G;const P=I.useRef(H.rightbar);P.current=H.rightbar;const K=I.useRef(0),X=I.useRef(0),[ie,me]=I.useState(!1),[oe,ge]=I.useState(0),de=`${E}:${d.rightbarTrack}:${_}`,V=I.useRef(de),ne=I.useRef(h),x=ne.current===h&&(oe>0||V.current!==de);I.useLayoutEffect(()=>{const Be=ne.current!==h;if(ne.current=h,Be){V.current=de,ge(0);return}V.current!==de&&(V.current=de,ge(Xe=>Xe+1))},[de,h]),I.useEffect(()=>{if(oe===0)return;const Be=p.current;if(Be===null)return;const Xe=()=>{ge(0)},it=ft=>{ft.target===Be&&ft.propertyName==="grid-template-columns"&&Xe()};Be.addEventListener("transitionend",it);const ot=setTimeout(Xe,600);return()=>{Be.removeEventListener("transitionend",it),clearTimeout(ot)}},[oe]);const M=I.useCallback(()=>{me(!1)},[]),A=I.useCallback(()=>{K.current=le.current.sidebar,me(!0)},[]),C=I.useCallback(Be=>{l.setSidebar(K.current+Be)},[l]),pe=I.useCallback(()=>{X.current=P.current,me(!0)},[]),we=I.useCallback(Be=>{l.setRightbar(X.current-Be)},[l]),ae=u.productTitle,be=G.rightbar===0?0:So(B,vi,h*B1),te=v?Math.min(d.sidebar||sl,Math.max(0,h-48)):G.sidebar,xe=I.useMemo(()=>a("sidebar",{collapsed:E,width:te,drawer:v}),[a,E,te,v]),Ie=I.useMemo(()=>b.jsx(iy,{usePanelInfo:r,renderSlot:a}),[r,a]),He=I.useMemo(()=>a("shell.overlay",{}),[a]),$e=I.useMemo(()=>a("shell.leading",{}),[a]),Dt=v||ee&&E;return b.jsxs("div",{ref:p,className:Cn.frame,style:{...k?{"--dsh-windows-sidebar-width":`${G.sidebar}px`}:{},gridTemplateColumns:`${G.sidebar}px minmax(${G.rightbar===0?0:Jh}px, 1fr) minmax(0px, ${be}px)`},"data-sidebar-collapsed":E||void 0,"data-sidebar-drawer":v||void 0,"data-sidebar-instant":v&&E&&F.instant||void 0,"data-rightbar-collapsed":G.rightbar===0||void 0,"data-rightbar-fullscreen":d.rightbarFullscreen||void 0,"data-rightbar-instant":d.rightbarInstant||void 0,"data-dragging":ie||void 0,"data-animating":x||void 0,children:[b.jsx(qv,{productTitle:ae,useSessions:n,usePanelInfo:r}),v&&b.jsx("div",{className:Cn.drawerMask,"data-sidebar-mask":!0,"aria-hidden":"true",onClick:O?()=>{l.toggleSidebar()}:void 0}),b.jsx("div",{className:Cn.sidebarCol,style:v?{width:te}:void 0,inert:v&&E?"":void 0,children:xe}),b.jsxs(b.Fragment,{children:[b.jsx(ry,{inert:O,children:Ie}),b.jsx(oy,{inert:O,children:a("rightbar",{width:H.rightbar,viewportWidth:h,canShow:H.rightbar>0})})]}),b.jsx("div",{className:Cn.bottomRow,"data-shell-bottom":!0,inert:O?"":void 0,children:a("shell.bottom",{})}),b.jsx("div",{className:Cn.overlayLayer,"data-shell-overlay":!0,children:He}),Dt&&b.jsx("div",{className:Cn.leadingSeat,"data-shell-leading":!0,inert:O?"":void 0,children:$e}),!v&&!_&&!E&&b.jsx(d2,{side:"sidebar",left:G.sidebar,onStart:A,onDrag:C,onEnd:M}),d.rightbarShown&&!d.rightbarFullscreen&&H.rightbar>0&&b.jsx(d2,{side:"rightbar",left:h-H.rightbar,onStart:pe,onDrag:we,onEnd:M})]})}const ly={},ay=e=>{let n;const r=new Set,o=(g,w)=>{const k=typeof g=="function"?g(n):g;if(!Object.is(k,n)){const v=n;n=w??(typeof k!="object"||k===null)?k:Object.assign({},n,k),r.forEach(_=>_(n,v))}},l=()=>n,p={setState:o,getState:l,getInitialState:()=>h,subscribe:g=>(r.add(g),()=>r.delete(g)),destroy:()=>{(ly?"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."),r.clear()}},h=n=e(o,l,p);return p},uy=e=>ay,cy=e=>(n,r,o)=>{const l=o.subscribe;return o.subscribe=(u,d,p)=>{let h=u;if(d){const g=p?.equalityFn||Object.is;let w=u(o.getState());h=k=>{const v=u(k);if(!g(w,v)){const _=w;d(w=v,_)}},p?.fireImmediately&&d(w,w)}return l(h)},e(n,r,o)},dy=cy;var i3=Symbol.for("immer-nothing"),f2=Symbol.for("immer-draftable"),Qt=Symbol.for("immer-state");function pn(e,...n){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var _o=Object.getPrototypeOf;function xi(e){return!!e&&!!e[Qt]}function Br(e){return e?o3(e)||Array.isArray(e)||!!e[f2]||!!e.constructor?.[f2]||Oo(e)||kl(e):!1}var fy=Object.prototype.constructor.toString(),h2=new WeakMap;function o3(e){if(!e||typeof e!="object")return!1;const n=Object.getPrototypeOf(e);if(n===null||n===Object.prototype)return!0;const r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;if(r===Object)return!0;if(typeof r!="function")return!1;let o=h2.get(r);return o===void 0&&(o=Function.toString.call(r),h2.set(r,o)),o===fy}function ll(e,n,r=!0){yl(e)===0?(r?Reflect.ownKeys(e):Object.keys(e)).forEach(l=>{n(l,e[l],e)}):e.forEach((o,l)=>n(l,o,e))}function yl(e){const n=e[Qt];return n?n.type_:Array.isArray(e)?1:Oo(e)?2:kl(e)?3:0}function o1(e,n){return yl(e)===2?e.has(n):Object.prototype.hasOwnProperty.call(e,n)}function s3(e,n,r){const o=yl(e);o===2?e.set(n,r):o===3?e.add(r):e[n]=r}function hy(e,n){return e===n?e!==0||1/e===1/n:e!==e&&n!==n}function Oo(e){return e instanceof Map}function kl(e){return e instanceof Set}function Nr(e){return e.copy_||e.base_}function s1(e,n){if(Oo(e))return new Map(e);if(kl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const r=o3(e);if(n===!0||n==="class_only"&&!r){const o=Object.getOwnPropertyDescriptors(e);delete o[Qt];let l=Reflect.ownKeys(o);for(let a=0;a<l.length;a++){const u=l[a],d=o[u];d.writable===!1&&(d.writable=!0,d.configurable=!0),(d.get||d.set)&&(o[u]={configurable:!0,writable:!0,enumerable:d.enumerable,value:e[u]})}return Object.create(_o(e),o)}else{const o=_o(e);if(o!==null&&r)return{...e};const l=Object.create(o);return Object.assign(l,e)}}function V1(e,n=!1){return bl(e)||xi(e)||!Br(e)||(yl(e)>1&&Object.defineProperties(e,{set:qs,add:qs,clear:qs,delete:qs}),Object.freeze(e),n&&Object.values(e).forEach(r=>V1(r,!0))),e}function py(){pn(2)}var qs={value:py};function bl(e){return e===null||typeof e!="object"?!0:Object.isFrozen(e)}var my={};function Vr(e){const n=my[e];return n||pn(0,e),n}var Eo;function l3(){return Eo}function gy(e,n){return{drafts_:[],parent_:e,immer_:n,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function p2(e,n){n&&(Vr("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=n)}function l1(e){a1(e),e.drafts_.forEach(wy),e.drafts_=null}function a1(e){e===Eo&&(Eo=e.parent_)}function m2(e){return Eo=gy(Eo,e)}function wy(e){const n=e[Qt];n.type_===0||n.type_===1?n.revoke_():n.revoked_=!0}function g2(e,n){n.unfinalizedDrafts_=n.drafts_.length;const r=n.drafts_[0];return e!==void 0&&e!==r?(r[Qt].modified_&&(l1(n),pn(4)),Br(e)&&(e=al(n,e),n.parent_||ul(n,e)),n.patches_&&Vr("Patches").generateReplacementPatches_(r[Qt].base_,e,n.patches_,n.inversePatches_)):e=al(n,r,[]),l1(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),e!==i3?e:void 0}function al(e,n,r){if(bl(n))return n;const o=e.immer_.shouldUseStrictIteration(),l=n[Qt];if(!l)return ll(n,(a,u)=>w2(e,l,n,a,u,r),o),n;if(l.scope_!==e)return n;if(!l.modified_)return ul(e,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const a=l.copy_;let u=a,d=!1;l.type_===3&&(u=new Set(a),a.clear(),d=!0),ll(u,(p,h)=>w2(e,l,a,p,h,r,d),o),ul(e,a,!1),r&&e.patches_&&Vr("Patches").generatePatches_(l,r,e.patches_,e.inversePatches_)}return l.copy_}function w2(e,n,r,o,l,a,u){if(l==null||typeof l!="object"&&!u)return;const d=bl(l);if(!(d&&!u)){if(xi(l)){const p=a&&n&&n.type_!==3&&!o1(n.assigned_,o)?a.concat(o):void 0,h=al(e,l,p);if(s3(r,o,h),xi(h))e.canAutoFreeze_=!1;else return}else u&&r.add(l);if(Br(l)&&!d){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||n&&n.base_&&n.base_[o]===l&&d)return;al(e,l),(!n||!n.scope_.parent_)&&typeof o!="symbol"&&(Oo(r)?r.has(o):Object.prototype.propertyIsEnumerable.call(r,o))&&ul(e,l)}}}function ul(e,n,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&V1(n,r)}function vy(e,n){const r=Array.isArray(e),o={type_:r?1:0,scope_:n?n.scope_:l3(),modified_:!1,finalized_:!1,assigned_:{},parent_:n,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=o,a=W1;r&&(l=[o],a=Mo);const{revoke:u,proxy:d}=Proxy.revocable(l,a);return o.draft_=d,o.revoke_=u,d}var W1={get(e,n){if(n===Qt)return e;const r=Nr(e);if(!o1(r,n))return yy(e,r,n);const o=r[n];return e.finalized_||!Br(o)?o:o===Tu(e.base_,n)?(Ru(e),e.copy_[n]=c1(o,e)):o},has(e,n){return n in Nr(e)},ownKeys(e){return Reflect.ownKeys(Nr(e))},set(e,n,r){const o=a3(Nr(e),n);if(o?.set)return o.set.call(e.draft_,r),!0;if(!e.modified_){const l=Tu(Nr(e),n),a=l?.[Qt];if(a&&a.base_===r)return e.copy_[n]=r,e.assigned_[n]=!1,!0;if(hy(r,l)&&(r!==void 0||o1(e.base_,n)))return!0;Ru(e),u1(e)}return e.copy_[n]===r&&(r!==void 0||n in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[n])||(e.copy_[n]=r,e.assigned_[n]=!0),!0},deleteProperty(e,n){return Tu(e.base_,n)!==void 0||n in e.base_?(e.assigned_[n]=!1,Ru(e),u1(e)):delete e.assigned_[n],e.copy_&&delete e.copy_[n],!0},getOwnPropertyDescriptor(e,n){const r=Nr(e),o=Reflect.getOwnPropertyDescriptor(r,n);return o&&{writable:!0,configurable:e.type_!==1||n!=="length",enumerable:o.enumerable,value:r[n]}},defineProperty(){pn(11)},getPrototypeOf(e){return _o(e.base_)},setPrototypeOf(){pn(12)}},Mo={};ll(W1,(e,n)=>{Mo[e]=function(){return arguments[0]=arguments[0][0],n.apply(this,arguments)}});Mo.deleteProperty=function(e,n){return Mo.set.call(this,e,n,void 0)};Mo.set=function(e,n,r){return W1.set.call(this,e[0],n,r,e[0])};function Tu(e,n){const r=e[Qt];return(r?Nr(r):e)[n]}function yy(e,n,r){const o=a3(n,r);return o?"value"in o?o.value:o.get?.call(e.draft_):void 0}function a3(e,n){if(!(n in e))return;let r=_o(e);for(;r;){const o=Object.getOwnPropertyDescriptor(r,n);if(o)return o;r=_o(r)}}function u1(e){e.modified_||(e.modified_=!0,e.parent_&&u1(e.parent_))}function Ru(e){e.copy_||(e.copy_=s1(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ky=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(n,r,o)=>{if(typeof n=="function"&&typeof r!="function"){const a=r;r=n;const u=this;return function(p=a,...h){return u.produce(p,g=>r.call(this,g,...h))}}typeof r!="function"&&pn(6),o!==void 0&&typeof o!="function"&&pn(7);let l;if(Br(n)){const a=m2(this),u=c1(n,void 0);let d=!0;try{l=r(u),d=!1}finally{d?l1(a):a1(a)}return p2(a,o),g2(l,a)}else if(!n||typeof n!="object"){if(l=r(n),l===void 0&&(l=n),l===i3&&(l=void 0),this.autoFreeze_&&V1(l,!0),o){const a=[],u=[];Vr("Patches").generateReplacementPatches_(n,l,a,u),o(a,u)}return l}else pn(1,n)},this.produceWithPatches=(n,r)=>{if(typeof n=="function")return(u,...d)=>this.produceWithPatches(u,p=>n(p,...d));let o,l;return[this.produce(n,r,(u,d)=>{o=u,l=d}),o,l]},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){Br(e)||pn(8),xi(e)&&(e=by(e));const n=m2(this),r=c1(e,void 0);return r[Qt].isManual_=!0,a1(n),r}finishDraft(e,n){const r=e&&e[Qt];(!r||!r.isManual_)&&pn(9);const{scope_:o}=r;return p2(o,n),g2(void 0,o)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,n){let r;for(r=n.length-1;r>=0;r--){const l=n[r];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}r>-1&&(n=n.slice(r+1));const o=Vr("Patches").applyPatches_;return xi(e)?o(e,n):this.produce(e,l=>o(l,n))}};function c1(e,n){const r=Oo(e)?Vr("MapSet").proxyMap_(e,n):kl(e)?Vr("MapSet").proxySet_(e,n):vy(e,n);return(n?n.scope_:l3()).drafts_.push(r),r}function by(e){return xi(e)||pn(10,e),u3(e)}function u3(e){if(!Br(e)||bl(e))return e;const n=e[Qt];let r,o=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=s1(e,n.scope_.immer_.useStrictShallowCopy_),o=n.scope_.immer_.shouldUseStrictIteration()}else r=s1(e,!0);return ll(r,(l,a)=>{s3(r,l,u3(a))},o),n&&(n.finalized_=!1),r}var xy=new ky,Cy=xy.produce;function v2(e,n,...r){for(const o of[...e])try{o(...r)}catch(l){console.error(`${n} subscriber failed:`,l)}}function Sy(e){const n=typeof requestAnimationFrame=="function"?o=>{requestAnimationFrame(()=>{o()})}:o=>{queueMicrotask(o)};let r=!1;return()=>{r||(r=!0,n(()=>{r=!1,e()}))}}function _y(e,n){const r=dy(()=>e),o=uy()(r);n?.persist&&Ey(o,n.persist.name);let l=a=>o.subscribe(()=>{v2([a],"[client-store]")});if(n?.flush==="raf"){const a=new Set,u=Sy(()=>{v2(a,"[client-store]")});o.subscribe(u),l=d=>(a.add(d),()=>{a.delete(d)})}return{getSnapshot:()=>o.getState(),subscribe:a=>l(a),update:a=>{o.setState(Cy(o.getState(),u=>{a(u)}),!0)},set:a=>{o.setState(a,!0)}}}function Ey(e,n){if(!(typeof localStorage>"u")){try{const r=localStorage.getItem(n);r!==null&&e.setState(JSON.parse(r),!0)}catch(r){console.error(`snapshot store '${n}' rehydration failed:`,r)}e.subscribe(r=>{try{localStorage.setItem(n,JSON.stringify(r))}catch(o){console.error(`snapshot store '${n}' persistence failed:`,o)}})}}function My(e){return{spec:e,create(n){const r=e.persist===void 0?void 0:n===void 0?e.persist:`${e.persist}.${n}`,o=_y(e.init(),r!==void 0?{persist:{name:r}}:void 0),l={};for(const a of Object.keys(e.actions)){const u=e.actions[a];l[a]=(...d)=>{o.update(p=>{u(p,...d)})}}return{actions:l,getSnapshot:()=>o.getSnapshot(),subscribe:a=>o.subscribe(a),store:o,clearPersisted:()=>{if(!(r===void 0||typeof localStorage>"u"))try{localStorage.removeItem(r)}catch{}}}}}}function zy(){return My({init:()=>({panelInfo:{activePanelId:null},layoutInfo:{sidebar:sl,viewportWidth:typeof window>"u"?0:window.innerWidth,narrowExpanded:!1,rightbar:null,rightbarShown:!1,rightbarTrack:!1,rightbarFullscreen:!1,rightbarInstant:!1}}),actions:{selectPanel:(n,r)=>{n.panelInfo.activePanelId=r,n.layoutInfo.viewportWidth<bo&&(n.layoutInfo.narrowExpanded=!1)},retainMainPanels:(n,r)=>{n.panelInfo.activePanelId!==null&&!r.includes(n.panelInfo.activePanelId)&&(n.panelInfo.activePanelId=null)},setSidebar:(n,r)=>{n.layoutInfo.rightbarInstant=!1,n.layoutInfo.sidebar=So(r,e3,t3)},toggleSidebar:n=>{n.layoutInfo.rightbarInstant=!1,n.layoutInfo.viewportWidth<yo?n.layoutInfo.narrowExpanded=!n.layoutInfo.narrowExpanded:n.layoutInfo.sidebar=n.layoutInfo.sidebar===0?sl:0},setViewportWidth:(n,r)=>{n.layoutInfo.viewportWidth!==r&&(n.layoutInfo.rightbarInstant=!1,(n.layoutInfo.viewportWidth<yo!=r<yo||n.layoutInfo.viewportWidth<bo!=r<bo)&&(n.layoutInfo.narrowExpanded=!1),n.layoutInfo.viewportWidth=r)},setRightbar:(n,r)=>{n.layoutInfo.rightbarInstant=!1,n.layoutInfo.rightbar=So(r,vi,Math.max(vi,n.layoutInfo.viewportWidth*B1))},openRightbar:(n,r,o)=>{(!n.layoutInfo.rightbarShown||n.layoutInfo.rightbarTrack!==r||n.layoutInfo.rightbarFullscreen!==o)&&(n.layoutInfo.rightbarInstant=n.layoutInfo.rightbarFullscreen&&!o),!n.layoutInfo.rightbarShown&&n.layoutInfo.viewportWidth<yo&&(n.layoutInfo.narrowExpanded=!1),n.layoutInfo.rightbar??=Math.max(vi,Math.round(n.layoutInfo.viewportWidth*r3)),n.layoutInfo.rightbarShown=!0,n.layoutInfo.rightbarTrack=r,n.layoutInfo.rightbarFullscreen=o},closeRightbar:n=>{n.layoutInfo.rightbarShown&&(n.layoutInfo.rightbarInstant=n.layoutInfo.rightbarFullscreen),n.layoutInfo.rightbarShown=!1,n.layoutInfo.rightbarTrack=!1,n.layoutInfo.rightbarFullscreen=!1}}})}class Ly{constructor(n,r,o){this.panels=n,this.hasMainPanel=r,this.panelInfo=o}navigation=new AbortController;selectPanel(n){if(n!==null&&!this.hasMainPanel(n))throw new Error(`layout.selectPanel: main panel "${n}" is not registered`);this.navigation.abort(),this.panels.selectPanel(n)}beginNavigation(){return this.navigation.abort(),this.navigation=new AbortController,this.navigation.signal}dispose(){this.navigation.abort()}toggleSidebar(){this.panels.toggleSidebar()}openRightbar(n,r){this.panels.openRightbar(n,r)}closeRightbar(){this.panels.closeRightbar()}}const Nu="data-ds-dark-theme",y2="data-ds-theme-source",jy="--dsh-content-font-size",k2={text:jy,code:"--dsh-code-font-size",terminal:"--dsh-terminal-font-size"},b2={text:"--dsh-font-family-text",code:"--dsh-font-family-code",terminal:"--dsh-font-family-terminal"};class Iy{appliedTokens=[];themeColorMeta;constructor(){this.themeColorMeta=document.createElement("meta"),this.themeColorMeta.name="theme-color"}apply(n){const r=n.active.colorScheme;document.documentElement.style.colorScheme=r,document.documentElement.setAttribute(y2,n.preference==="system"?"system":r);const o=document.body;r==="dark"?o.setAttribute(Nu,""):o.removeAttribute(Nu);for(const[l,a]of Object.entries(k2))o.style.setProperty(a,`${n.fontSizes[l]}px`);for(const[l,a]of Object.entries(b2)){const u=n.fontFamilies[l];u===""?o.style.removeProperty(a):o.style.setProperty(a,u)}for(const l of this.appliedTokens)o.style.removeProperty(l);this.appliedTokens=[];for(const[l,a]of Object.entries(n.active.tokens))o.style.setProperty(l,a),this.appliedTokens.push(l);this.themeColorMeta.content=getComputedStyle(o).backgroundColor,this.themeColorMeta.isConnected||document.head.append(this.themeColorMeta)}dispose(){document.documentElement.style.removeProperty("color-scheme"),document.documentElement.removeAttribute(y2);const n=document.body;n.removeAttribute(Nu);for(const r of Object.values(k2))n.style.removeProperty(r);for(const r of Object.values(b2))n.style.removeProperty(r);for(const r of this.appliedTokens)n.style.removeProperty(r);this.appliedTokens=[],this.themeColorMeta.remove()}}function Fy(e){e.effect(()=>{const n=typeof matchMedia=="function"?matchMedia("(device-posture: folded) and (orientation: landscape)"):void 0,r={getSnapshot:()=>n?.matches??!1,subscribe:v=>(n?.addEventListener("change",v),()=>{n?.removeEventListener("change",v)})},o=zy(),l=o.create(),a={...o,create:()=>l},u=()=>{l.actions.retainMainPanels(e.slots.entries("main").flatMap(v=>v.options.key===void 0?[]:[v.options.key]))},d={getSnapshot:()=>l.getSnapshot().panelInfo,subscribe:v=>l.subscribe(v)},p=new Ly(l.actions,v=>e.slots.entries("main").some(_=>_.options.key===v),d),h=e.slots.provideRoot({hooks:{panelInfo:p.panelInfo}}),g=e.reflect.provide("layout",p),w=e.slots.register({name:"root",children:{sidebar:{kind:"single",scope:"root"},main:{kind:"keyed",scope:"root"},rightbar:{kind:"single",scope:"root"},"shell.bottom":{kind:"single",scope:"root"},"shell.overlay":{kind:"list",scope:"root"},"shell.leading":{kind:"single",scope:"root"}},store:a,inject:()=>({hooks:{foldedLandscape:r},brand:e.brand})},sy),k=e.slots.subscribe("main",u);return u(),()=>{p.dispose(),k(),w(),h(),g()}},"ui-layout: service + root registration"),e.effect(()=>{const n=new Iy;n.apply(e.theme.getTheme());const r=e.on("theme/change",o=>{n.apply(o)});return()=>{r(),n.dispose()}},"ui-layout: theme presenter")}class hi extends Error{code;status;constructor(n,r,o){super(n),this.name="AtlasConnectionError",this.code=r,this.status=o}}const x2="atlas_session=";async function Oy(e){const n=e.fetch??fetch,r=e.backoffMs??250,o=e.maxReconnects??3,l=e.baseUrl.replace(/\/+$/,"");let a=e.credential;if(a===void 0){if(e.launchToken===void 0)throw new hi("connect requires a launchToken or a pre-shared credential","invalidRequest");a=await u(e.launchToken)}async function u(_){const E=await n(`${l}/auth/redeem?token=${encodeURIComponent(_)}`);if(!E.ok)throw new hi(`redeem failed: HTTP ${E.status}`,"invalidRequest",E.status);const O=typeof E.headers.getSetCookie=="function"?E.headers.getSetCookie():[],F=O.length>0?O.join(`
97
+ `):E.headers.get("set-cookie")??"";for(const Z of F.split(`
98
+ `)){const D=Z.indexOf(x2);if(D>=0){const B=Z.slice(D+x2.length).split(";")[0].trim();if(B.length>0)return decodeURIComponent(B)}}throw new hi("redeem response carried no session cookie","invalidRequest",E.status)}function d(){return{authorization:`Bearer ${a}`}}async function p(_){const E=await n(`${l}/${_.replace(/^\/+/,"")}`,{headers:d()});let O;try{O=await E.json()}catch{throw new hi(`non-JSON response: HTTP ${E.status}`,"httpError",E.status)}if(O.kind==="error"){const G=O.error;throw new hi(G?.message??`request failed: HTTP ${E.status}`,G?.code??"httpError",E.status)}if(O.kind!=="response")throw new hi(`unexpected envelope kind: HTTP ${E.status}`,"httpError",E.status);const{of:F,schemaVersion:Z,requestId:D,productId:B,scopeId:ee,kind:j,...H}=O;return H}function h(_){return _?.scopeId??e.defaultScopeId??"main"}const g=new Set;function w(_,E){let O=!1,F=!1,Z;const D=new Promise(le=>{Z=le});let B;const ee=()=>{F||(F=!0,Z())},j=le=>[{kind:"error",code:"connectionLost",message:le},{kind:"closed"}];async function*H(){const le=new TextDecoder;try{let P=0,K=0,X=E?.resumeCursor;for(;;){if(O)return;const ie=new AbortController;B=ie,g.add(ie);const me=new URLSearchParams({scopeId:h(E)});X!==void 0&&me.set("cursor",X);let oe;try{oe=await n(`${l}/sessions/${encodeURIComponent(_)}/follow?${me}`,{headers:d(),signal:ie.signal})}catch(V){if(g.delete(ie),O||ie.signal.aborted)return;if(P>=o){yield*j(`follow connect failed: ${String(V)}`);return}P+=1,await k(r,ie.signal);continue}if(!oe.ok||!oe.body){if(g.delete(ie),P>=o){yield*j(`follow HTTP ${oe.status}`);return}P+=1,await k(r,ie.signal);continue}let ge="abnormal",de;try{const V=oe.body.getReader();try{let ne="",x=!1;for(;!x;){const{done:M,value:A}=await V.read();if(M)break;ne+=le.decode(A,{stream:!0});let C=ne.indexOf(`
99
+
100
+ `);for(;C>=0;){const pe=ne.slice(0,C);ne=ne.slice(C+2),C=ne.indexOf(`
101
+
102
+ `);const we=v(pe);if(we===void 0)continue;let ae;try{ae=JSON.parse(we)}catch{continue}if(ae.kind==="closed"){yield ae,ge="closed",x=!0;break}if(ae.kind==="resetRequired"){yield ae,X=void 0,K+=1,ge=K>1?"abnormal":"reset";break}if(K=0,O)return;yield ae}}}finally{V.cancel().catch(()=>{})}}catch(V){if(O||ie.signal.aborted)return;de=V,ge="abnormal"}finally{g.delete(ie)}if(O||ge==="closed")return;if(ge!=="reset"){if(P>=o){yield*j(de!==void 0?`follow read failed: ${String(de)}`:"follow stream ended without closed");return}P+=1,X=void 0,await k(r,ie.signal)}}}finally{g.delete(B),B=void 0,ee()}}return{events:{[Symbol.asyncIterator](){return H()}},abort(){O=!0,B?.abort(),F||ee()},done:D}}function k(_,E){return new Promise(O=>{const F=setTimeout(O,_);E?.addEventListener("abort",()=>{clearTimeout(F),O()},{once:!0})})}function v(_){const E=[];for(const O of _.split(`
103
+ `))O.startsWith("data:")&&E.push(O.slice(5).replace(/^ /,""));if(E.length!==0)return E.join(`
104
+ `)}return{credential:a,listSessions:_=>p(`sessions?scopeId=${encodeURIComponent(h(_))}${_?.pageToken?`&pageToken=${encodeURIComponent(_.pageToken)}`:""}`),searchSessions:(_,E)=>p(`sessions/search?scopeId=${encodeURIComponent(h(E))}&q=${encodeURIComponent(_)}`),replaySession:(_,E)=>p(`sessions/${encodeURIComponent(_)}/replay?scopeId=${encodeURIComponent(h(E))}`),follow:w,async close(){for(const _ of g)_.abort();g.clear()}}}function xo(){return{sessionId:null,status:"idle",messages:[],annotations:[],annotationCount:0}}const Py=new Set(["user","assistant","system"]);function Ty(e){if(e===null||typeof e!="object")return;const n=e;if(typeof n.id!="string"||n.id.length===0||typeof n.role!="string"||!Py.has(n.role)||!Array.isArray(n.blocks))return;const r=[];for(const o of n.blocks){if(o!==null&&typeof o=="object"){const l=o;if(l.kind==="text"&&typeof l.text=="string"){r.push({kind:"text",text:l.text});continue}if(l.kind==="activity"&&typeof l.label=="string"){r.push(typeof l.status=="string"?{kind:"activity",label:l.label,status:l.status}:{kind:"activity",label:l.label});continue}}r.push({kind:"annotation",reason:`skipped unknown block kind: ${yi(o)}`})}return{id:n.id,role:n.role,createdAt:typeof n.createdAt=="string"?n.createdAt:null,blocks:r}}function yi(e){if(e===null)return"null";if(Array.isArray(e))return"array";const n=typeof e;if(n==="object"){const r=e.kind;return typeof r=="string"?`object(kind=${r})`:"object"}return n}function c3(e){if(e===null||typeof e!="object")return;const n=e;if(!Array.isArray(n.messages))return;const r=[],o=[];let l=0;if(n.messages.forEach((a,u)=>{const d=Ty(a);if(d===void 0){l+=1,o.push(`skipped malformed message at #${u}: ${yi(a)}`);return}r.push(d)}),l>0){const a=`skipped ${l} malformed message(s)`;o.push(a),r.push({id:`annotation-${n.messages.length}-${l}`,role:"system",createdAt:null,blocks:[{kind:"annotation",reason:a}]})}return{messages:r,skipped:o}}const An=(e,n)=>{if(n.length===0)return e;const r=[...e.annotations,...n.map(o=>({reason:o}))];return{...e,annotations:r,annotationCount:r.length}};function Ry(e){const n=e!==null&&typeof e=="object"&&Array.isArray(e.messages),r=n?e:e!==null&&typeof e=="object"?e.projection:void 0,o=c3(r);if(o===void 0){const a=xo();return An({...a,status:"replay"},[`malformed projection payload: ${yi(n?e:r)}`])}const l=r!==null&&typeof r=="object"&&typeof r.sessionId=="string"?r.sessionId:null;return An({...xo(),status:"replay",sessionId:l,messages:o.messages},o.skipped)}function C2(e,n){if(n===null||typeof n!="object")return An(e,[`skipped malformed event: ${yi(n)}`]);const r=n,o=r.kind;if(typeof o!="string")return An(e,[`skipped malformed event: ${yi(n)}`]);switch(o){case"baseline":case"replacement":{const l=c3(r.projection);if(l===void 0)return An(e,[`skipped ${o} with malformed projection: ${yi(r.projection)}`]);const a=r.projection?.sessionId,d=o==="baseline"?[]:e.annotations;return An({...e,status:"live",messages:l.messages,sessionId:typeof a=="string"?a:e.sessionId,annotations:d,annotationCount:d.length},l.skipped)}case"resetRequired":{const l=typeof r.reason=="string"?r.reason:"unspecified";return An({...e,status:"reset"},[`resetRequired: ${l}`])}case"error":{const l=r.error,a=l!==null&&typeof l=="object"&&typeof l.code=="string"?l.code:"unknown",u=l!==null&&typeof l=="object"&&typeof l.message=="string"?l.message:"unspecified error";return An({...e,status:"error",error:{code:a,message:u}},[`stream error: ${a}`])}case"closed":return{...e,status:"closed"};default:return An(e,[`skipped unknown event kind: ${o}`])}}class Zs{snapshot;listeners=new Set;constructor(n){this.snapshot=n}getSnapshot(){return this.snapshot}subscribe(n){return this.listeners.add(n),()=>{this.listeners.delete(n)}}set(n){this.snapshot=n;for(const r of this.listeners)r()}}function $u(e){const n=e;return n!==null&&typeof n=="object"?{code:typeof n.code=="string"?n.code:"unknown",message:typeof n.message=="string"?n.message:String(e)}:{code:"unknown",message:String(e)}}class Ny{constructor(n){this.connection=n,this.list=new Zs({status:"idle",rows:[]}),this.searchModel=new Zs({status:"idle",query:"",results:[]}),this.model=new Zs(xo()),this.titles=new Zs({byId:{}}),this.sessionList=this.list,this.searchState=this.searchModel,this.conversation=this.model,this.titleState=this.titles}sessionList;searchState;conversation;titleState;list;searchModel;model;titles;rows=[];currentSessionId=null;currentHandle;pumpGeneration=0;searchGeneration=0;async refreshSessions(){this.list.set({...this.list.getSnapshot(),status:"loading"});try{const{sessions:n}=await this.connection.listSessions();this.rows=n.map(r=>{const o=r;return{id:String(o.sessionId),title:typeof o.title=="string"?o.title:null,messageCount:typeof o.messageCount=="number"?o.messageCount:null,updatedAt:typeof o.updatedAt=="string"?o.updatedAt:""}}),this.list.set({status:"ready",rows:this.rows}),this.republishTitles()}catch(n){const r=n;this.list.set({status:"error",error:$u(r),rows:[]})}}async search(n){const r=++this.searchGeneration;this.searchModel.set({status:"loading",query:n,results:[]});try{const{results:o}=await this.connection.searchSessions(n);if(r!==this.searchGeneration)return;this.searchModel.set({status:"ready",query:n,results:o.map(l=>{const a=l;return{sessionId:String(a.sessionId),messageId:String(a.messageId),snippet:typeof a.snippet=="string"?a.snippet:""}})})}catch(o){if(r!==this.searchGeneration)return;this.searchModel.set({status:"error",query:n,results:[],error:$u(o)})}}async openSession(n){this.currentHandle?.abort(),this.currentHandle=void 0;const r=++this.pumpGeneration;this.currentSessionId=n,this.republishTitles(),this.model.set({...xo(),sessionId:n,status:"replay"});let o;try{const{projection:a}=await this.connection.replaySession(n);o=Ry({projection:a})}catch(a){r===this.pumpGeneration&&this.model.set({...xo(),sessionId:n,status:"error",error:$u(a),messages:[]});return}if(r!==this.pumpGeneration)return;this.model.set({...o,sessionId:n});const l=this.connection.follow(n);this.currentHandle=l,this.model.set({...this.model.getSnapshot(),status:"live"}),this.pumpFollow(l,r)}async pumpFollow(n,r){try{for await(const o of n.events){if(r!==this.pumpGeneration)return;this.model.set(C2(this.model.getSnapshot(),o))}}catch{r===this.pumpGeneration&&this.model.set(C2(this.model.getSnapshot(),{kind:"error",error:{code:"connectionLost",message:"follow pump failed"}}))}}async dispose(){this.pumpGeneration+=1,this.currentHandle?.abort(),this.currentHandle=void 0,await this.connection.close()}republishTitles(){const n={};for(const r of this.rows)n[r.id]={id:r.id,title:r.title,retainedBy:{mainView:this.currentSessionId===r.id?1:0}};this.titles.set({byId:n})}}function $y(e){const[n,r]=I.useState(e.searchQuery),o=e.searchQuery.length>0;return b.jsxs("div",{className:"web-code-nav","data-nav-column":!0,children:[b.jsx("form",{onSubmit:l=>{l.preventDefault(),e.onSearch(n)},children:b.jsx(n6,{"aria-label":"Search sessions",placeholder:"Search sessions…",value:n,onChange:l=>{r(l.currentTarget.value)}})}),o&&b.jsx("div",{className:"web-code-nav-search","data-search-results":!0,children:e.searchResults.length===0?b.jsx("div",{"data-search-empty":!0,children:"No matches."}):e.searchResults.map(l=>b.jsx("button",{type:"button",className:"web-code-nav-row","data-search-hit":!0,onClick:()=>{e.onOpenSession(l.sessionId)},children:b.jsx("span",{className:"web-code-nav-snippet",children:l.snippet})},`${l.sessionId}:${l.messageId}`))}),b.jsxs("div",{className:"web-code-nav-list","data-session-list":!0,children:[e.listStatus==="error"&&b.jsxs("div",{"data-list-error":!0,role:"alert",children:[b.jsx(L1,{className:"web-code-error-pill",children:e.listError?.code??"error"}),b.jsx("span",{children:e.listError?.message??"session list failed"})]}),e.listStatus!=="error"&&e.sessions.length===0&&b.jsx("div",{"data-empty-state":!0,children:"No sessions yet. Open Atlas to start its first conversation."}),e.sessions.map(l=>b.jsxs("button",{type:"button",className:"web-code-nav-row","data-session-id":l.id,onClick:()=>{e.onOpenSession(l.id)},children:[b.jsx("span",{className:"web-code-nav-title",children:l.title??"(untitled)"}),b.jsxs("span",{className:"web-code-nav-meta",children:[l.messageCount===null?"":`${l.messageCount} msgs`,l.updatedAt.length>0?` · ${l.updatedAt.slice(0,10)}`:""]})]},l.id))]})]})}function Ay(e,n,r,o,l){const a=l?.size,u=l?.overscan;if(e<=a+u*2)return{start:0,end:e};const d=Math.min(Math.floor(n/o),Math.max(0,e-a-u)),p=Math.max(0,d-u),h=Math.min(e,d+a+u);return{start:p,end:Math.max(p,h)}}const Dy={code:{copyLabel:"Copy",copiedLabel:"Copied"},footnotes:"Footnotes"};function Hy({message:e}){return b.jsxs("div",{className:"web-code-message","data-message-id":e.id,"data-role":e.role,children:[b.jsx("div",{className:"web-code-message-meta",children:e.createdAt!==null&&b.jsx("span",{children:e.createdAt.slice(0,19).replace("T"," ")})}),b.jsx("div",{className:"web-code-message-body",children:e.blocks.map((n,r)=>b.jsx(By,{block:n},r))})]})}function By({block:e}){return e.kind==="text"?b.jsx("div",{className:"web-code-text",children:b.jsx(av,{text:e.text,labels:Dy})}):e.kind==="activity"?b.jsxs("div",{className:"web-code-activity","data-activity":!0,children:[b.jsx(L1,{children:e.label}),e.status!==void 0&&b.jsx("span",{"data-activity-status":!0,children:e.status})]}):b.jsx("div",{className:"web-code-annotation","data-annotation":!0,role:"note",children:e.reason})}function Vy({status:e}){return b.jsx("div",{"data-empty-state":!0,children:e==="idle"?"No session open.":"This session has no messages yet."})}function Wy(e){const{conversation:n}=e,r=I.useRef(null),[o,l]=I.useState(0),a=I.useRef(!0);I.useEffect(()=>{const h=r.current;h===null||!a.current||(h.scrollTop=h.scrollHeight)},[n.messages]);const u=n.messages.length,d=e.visibleRange??Ay(u,o,600,28,{size:60,overscan:10}),p=n.messages.slice(d.start,d.end);return b.jsxs("div",{className:"web-code-conversation","data-conversation":!0,children:[b.jsxs("div",{className:"web-code-conversation-header","data-conversation-header":!0,children:[b.jsx("span",{"data-conn-status":n.status,children:b.jsx(L1,{children:n.status})}),n.error!==void 0&&b.jsxs("span",{"data-conn-error":!0,role:"alert",children:[n.error.code,": ",n.error.message]})]}),b.jsx("div",{ref:r,className:"web-code-transcript","data-transcript":!0,onScroll:h=>{const g=h.currentTarget;a.current=g.scrollHeight-g.scrollTop-g.clientHeight<40,l(g.scrollTop)},children:u===0?b.jsx(Vy,{status:n.status}):p.map(h=>b.jsx(Hy,{message:h},h.id))})]})}async function Uy(e,n){const r=await Oy({...n.connection,fetch:n.fetch??n.connection.fetch}),o=new Ny(r);await o.refreshSessions();const l=e.slots.provideRoot({hooks:{sessions:o.titleState}}),a=e.slots.register({name:"sidebar",id:"web-code.nav",label:"Sessions",inject:()=>({hooks:{sessionList:o.sessionList,search:o.searchState}})},function(p){const h=p.useSessionList(w=>w),g=p.useSearch(w=>w);return b.jsx($y,{sessions:h.rows,listStatus:h.status,listError:h.error,searchResults:g.results,searchQuery:g.query,onOpenSession:w=>{o.openSession(w)},onSearch:w=>{o.search(w)}})}),u=e.slots.register({name:"main",key:"conversation",id:"web-code.conversation",label:"Conversation",inject:()=>({hooks:{conversation:o.conversation}})},function(p){const h=p.useConversation(g=>g);return b.jsx(Wy,{conversation:h})});e.reflect.provide("conversation",{sessionList:o.sessionList,searchState:o.searchState,conversation:o.conversation,titleState:o.titleState,refreshSessions:()=>o.refreshSessions(),search:d=>o.search(d),openSession:d=>o.openSession(d),dispose:()=>(a(),u(),l(),o.dispose())})}const qy={getItem:e=>typeof localStorage>"u"?null:localStorage.getItem(e),setItem:(e,n)=>{typeof localStorage<"u"&&localStorage.setItem(e,n)}};function Zy(){if(typeof window>"u")return;const e=new URL(window.location.href),n=e.searchParams.get("token")??void 0;return n!==void 0&&(e.searchParams.delete("token"),window.history.replaceState(null,"",e.toString())),n}async function Qy(){const e=new mn;await e.plugin({apply:F5,inject:[]});const n=Wv({storage:qy});Hv(e,n),Dv(e),Vv(e),await e.plugin({apply:Fy,inject:["slots","theme","brand"]}),await e.plugin({apply:Uy,inject:["slots"]},{connection:{baseUrl:window.location.origin,launchToken:Zy()}});const r=document.getElementById("root");if(r===null)throw new Error("missing #root mount element");return e.uiRenderer.mount(r)}const Gy=await Qy();typeof window<"u"&&window.addEventListener("pagehide",()=>{Gy()});