zen-gitsync 2.19.3 → 2.19.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/aiCommit.js +1 -28
- package/src/cli/ai/tools.js +35 -2
- package/src/cli/ai/tools.test.js +30 -0
- package/src/config.js +35 -3
- package/src/peer/store.js +17 -2
- package/src/ui/public/assets/AgentView-B4p1C7vE.js +15 -0
- package/src/ui/public/assets/{AgentView-DzYcmZ80.css → AgentView-BIehoDwa.css} +1 -1
- package/src/ui/public/assets/{AppVersionBadge-Clw0AO_V.js → AppVersionBadge-B-6BT87B.js} +2 -2
- package/src/ui/public/assets/{BranchSelector-WG_dzJ1z.js → BranchSelector-C1Kct7NG.js} +1 -1
- package/src/ui/public/assets/{CommitForm-Bai-xBwV.js → CommitForm-DoC-6rft.js} +2 -2
- package/src/ui/public/assets/{CommonDialog-DTWEVQih.js → CommonDialog-D8XaOcNX.js} +1 -1
- package/src/ui/public/assets/{EditorView-6KTavOcm.css → EditorView-B666I1pz.css} +1 -1
- package/src/ui/public/assets/EditorView-DrhO2YSI.js +1 -0
- package/src/ui/public/assets/{FlowExecutionViewer-D_rQjstg.js → FlowExecutionViewer-CKMH34Br.js} +1 -1
- package/src/ui/public/assets/{FlowOrchestrationWorkspace-B982yExF.js → FlowOrchestrationWorkspace-CAFDGDim.js} +1 -1
- package/src/ui/public/assets/{LogList-BG9RlR5V.js → LogList-DB6A2R6o.js} +3 -3
- package/src/ui/public/assets/{MindmapView-CfF3dnO9.js → MindmapView-C4L5u3S9.js} +1 -1
- package/src/ui/public/assets/{MonitorView-C6NkhaTu.js → MonitorView-BjUS__Ze.js} +1 -1
- package/src/ui/public/assets/ProjectManagerView-CWX1sSgn.js +1 -0
- package/src/ui/public/assets/{ProjectStartupButton-PZDHhzaY.js → ProjectStartupButton-DdMFVPYI.js} +1 -1
- package/src/ui/public/assets/{RemoteManagerDialog-CGbTl8Nf.js → RemoteManagerDialog-fSp9IiCs.js} +1 -1
- package/src/ui/public/assets/{RemoteRepoCard-DIbrkSSq.js → RemoteRepoCard-Bs01mtmx.js} +1 -1
- package/src/ui/public/assets/{SourceMapView-dmFzB7XF.js → SourceMapView-tdQu2qjL.js} +2 -2
- package/src/ui/public/assets/{SvgIcon-DqzYKNo_.js → SvgIcon-D5bT7QEj.js} +1 -1
- package/src/ui/public/assets/{UserInputNode-DzWmUMwd.js → UserInputNode-DbP3PjQX.js} +1 -1
- package/src/ui/public/assets/WorkbenchView-Ahoq6RyI.js +6 -0
- package/src/ui/public/assets/{WorkbenchView-sHes69m3.css → WorkbenchView-BcG-GrWp.css} +1 -1
- package/src/ui/public/assets/{_plugin-vue_export-helper-DlU9e1mk.js → _plugin-vue_export-helper-BRUY9DoQ.js} +3 -3
- package/src/ui/public/assets/clipboard-DTy2aO_N.js +1 -0
- package/src/ui/public/assets/{configStore-BNFH8Gjg.js → configStore-1qv5tdrb.js} +1 -1
- package/src/ui/public/assets/{dagre-DYyfV0Dg.js → dagre-DcqvOjeb.js} +3 -3
- package/src/ui/public/assets/{element-plus-CkMnLwcU.js → element-plus-D8LubGQe.js} +1 -1
- package/src/ui/public/assets/{flow-mindmap-DCYEzp78.js → flow-mindmap-DwG2RDXe.js} +1 -1
- package/src/ui/public/assets/index-C4masR7z.js +58 -0
- package/src/ui/public/assets/index-D9Bza0ac.css +1 -0
- package/src/ui/public/assets/{monaco-DpvA3Mh0.js → monaco-CuYd4DgX.js} +1 -1
- package/src/ui/public/assets/{office-docx-DoXwhA36.js → office-docx-C4TeE_9M.js} +1 -1
- package/src/ui/public/assets/{office-excel-B7HFZyu_.js → office-excel-C7zhprUF.js} +1 -1
- package/src/ui/public/assets/{office-pptx-3hKSBbWe.js → office-pptx-DYLwEk0L.js} +1 -1
- package/src/ui/public/assets/{relativeTime-DVKGdz_G.js → relativeTime-nh6F0rop.js} +1 -1
- package/src/ui/public/assets/taskExecutionExport-PEcuZQo1.js +15 -0
- package/src/ui/public/assets/useWorkbenchProjects-CDT0eWCI.js +1 -0
- package/src/ui/public/assets/{vendor-2SbNafIY.css → vendor-CHUY5AXG.css} +1 -1
- package/src/ui/public/assets/{vendor-LCbsk86d.js → vendor-CUQALT_x.js} +5 -5
- package/src/ui/public/assets/{vue-flow-D7nVv56X.js → vue-flow-BEVz6_7M.js} +1 -1
- package/src/ui/public/index.html +13 -13
- package/src/ui/server/routes/codeAnalysis.js +4 -2
- package/src/ui/server/routes/config.js +20 -27
- package/src/ui/server/routes/git/aiDiffSummary.js +3 -1
- package/src/ui/server/routes/npm.js +4 -44
- package/src/ui/server/routes/peerSettings.js +21 -2
- package/src/ui/server/routes/projectStartupAi.js +3 -1
- package/src/ui/server/routes/projectStartupAi.test.js +7 -4
- package/src/ui/server/routes/recentDirectoriesAiSummary.js +3 -1
- package/src/ui/server/routes/recentDirectoriesAiSummary.test.js +4 -2
- package/src/ui/server/routes/workbench/agentRoutes.js +6 -1
- package/src/ui/server/routes/workbench/agentRoutes.test.js +57 -0
- package/src/ui/server/routes/workbench/dispatchInstruction.js +4 -2
- package/src/ui/server/routes/workbench/imageDescribe.js +4 -2
- package/src/ui/server/routes/workbench/index.js +3 -1
- package/src/ui/server/routes/workbench/scheduler.js +3 -1
- package/src/utils/skipPatterns.js +74 -0
- package/src/ui/public/assets/AgentView-DdZB5M3K.js +0 -15
- package/src/ui/public/assets/EditorView-DYznT1et.js +0 -1
- package/src/ui/public/assets/ProjectManagerView-DfFtI8I9.js +0 -1
- package/src/ui/public/assets/WorkbenchView-oGjBJIT6.js +0 -6
- package/src/ui/public/assets/index-BVe9erMn.css +0 -1
- package/src/ui/public/assets/index-Bz3MwUuu.js +0 -58
- package/src/ui/public/assets/taskExecutionExport-0qwbiZRh.js +0 -15
- package/src/ui/public/assets/useWorkbenchProjects-flU0ll2K.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-
|
|
2
|
-
import{a as e,n as t,o as n,r,t as i}from"./rolldown-runtime-C0FnF6B9.js";import{An as a,Ar as o,Bn as s,Cn as l,Fn as u,Gn as d,Gr as f,Hn as p,In as m,Jr as h,Kn as g,Ln as _,Mn as v,Nn as y,O as b,On as x,Pn as S,Qn as C,R as w,Sn as T,Sr as E,Tn as D,Un as O,Ur as k,Yn as A,_n as j,_r as M,ar as N,bn as P,br as F,cr as I,dr as L,fr as R,gn as z,gr as B,hn as ee,in as te,ir as ne,kn as re,lr as ie,mn as ae,mr as oe,nr as V,on as se,pn as ce,pr as le,qn as H,sr as ue,un as de,ur as fe,vr as pe,wn as me,xn as U,xr as he,yn as ge,yr as _e,zn as ve}from"./element-plus-CkMnLwcU.js";import{$ as ye,$n as be,$t as xe,A as Se,An as Ce,At as we,B as Te,Bn as Ee,Bt as De,C as Oe,Cn as ke,Ct as Ae,D as je,Dn as Me,Dt as Ne,E as Pe,En as Fe,Et as Ie,F as Le,Fn as Re,Ft as ze,G as Be,Gn as Ve,Gt as He,H as Ue,Hn as We,Ht as Ge,I as Ke,In as qe,It as Je,J as Ye,Jn as Xe,Jt as Ze,K as Qe,Kn as $e,Kt as et,L as tt,Ln as nt,Lt as rt,M as it,Mn as at,Mt as ot,N as st,Nn as ct,Nt as lt,O as ut,On as dt,Ot as ft,P as pt,Pn as mt,Pt as ht,Q as eee,Qn as tee,Qt as nee,R as ree,Rn as gt,Rt as iee,S as _t,Sn as vt,St as aee,T as oee,Tn as yt,Tt as see,U as cee,Un as lee,Ut as uee,V as bt,Vn as xt,Vt as dee,W as fee,Wn as St,Wt as Ct,X as pee,Xn as wt,Xt as Tt,Y as mee,Yn as hee,Yt as Et,Z as gee,Zn as Dt,Zt as _ee,_ as vee,_n as Ot,_t as kt,a as yee,an as bee,ar as xee,at as See,b as Cee,bn as wee,bt as Tee,c as Eee,cn as At,ct as Dee,d as jt,dn as Oee,dt as kee,en as Mt,er as W,et as Aee,f as Nt,fn as jee,ft as Mee,g as Pt,gn as Ft,gt as Nee,h as It,hn as Lt,ht as Rt,i as Pee,in as zt,ir as G,it as Fee,j as Iee,jn as Bt,jt as Lee,k as Vt,kn as Ht,l as Ut,ln as Wt,lt as Ree,m as Gt,mn as Kt,mt as zee,nn as Bee,nr as qt,nt as Vee,o as Hee,on as Jt,ot as Uee,p as Yt,pn as Xt,pt as Wee,q as Gee,qn as Zt,qt as Kee,r as qee,rn as Qt,rr as K,rt as Jee,s as Yee,sn as $t,st as Xee,tn as en,tr as tn,tt as Zee,u as nn,un as rn,ut as Qee,v as $ee,vn as ete,vt as an,w as on,wn as sn,wt as cn,x as tte,xn as ln,xt as un,y as nte,yn as dn,yt as rte,z as ite,zn as fn,zt as pn}from"./dagre-DYyfV0Dg.js";m(),ie();var ate=typeof window<`u`,mn,hn=e=>mn=e,ote=Symbol();function gn(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var _n;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(_n||={});var vn=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function ste(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function yn(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){lte(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function bn(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function xn(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var Sn=typeof navigator==`object`?navigator:{userAgent:``},cte=/Macintosh/.test(Sn.userAgent)&&/AppleWebKit/.test(Sn.userAgent)&&!/Safari/.test(Sn.userAgent),lte=ate?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!cte?ute:`msSaveOrOpenBlob`in Sn?dte:fte:()=>{};function ute(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?xn(r):bn(r.href)?yn(e,t,n):(r.target=`_blank`,xn(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){xn(r)},0))}function dte(e,t=`download`,n){if(typeof e==`string`){if(bn(e))yn(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){xn(t)})}}else navigator.msSaveOrOpenBlob(ste(e,n),t)}function fte(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return yn(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(vn.HTMLElement))||`safari`in vn,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||cte)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:pte}=Object;function mte(){let e=ue(!0),t=e.run(()=>B({})),n=[],r=[],i=R({install(e){hn(i),i._a=e,e.provide(ote,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var hte=()=>{};function gte(e,t,n,r=hte){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&I()&&le(i),i}function Cn(e,...t){e.forEach(e=>{e(...t)})}var _te=e=>e(),vte=Symbol(),wn=Symbol();function Tn(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];e[n]=gn(i)&&gn(r)&&e.hasOwnProperty(n)&&!L(r)&&!fe(r)?Tn(i,r):r}return e}var yte=Symbol();function bte(e){return!gn(e)||!Object.prototype.hasOwnProperty.call(e,yte)}var{assign:En}=Object;function xte(e){return!!(L(e)&&e.effect)}function Ste(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],l;function u(){return s||(n.state.value[e]=i?i():{}),En(F(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=R(U(()=>{hn(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return l=Cte(e,u,t,n,r,!0),l}function Cte(e,t,n={},r,i,a){let o,l=En({actions:{}},n),u={deep:!0},d,f,p=new Set,m=new Set,h,g=r.state.value[e];!a&&!g&&(r.state.value[e]={}),B({});let _;function v(t){let n;d=f=!1,typeof t==`function`?(t(r.state.value[e]),n={type:_n.patchFunction,storeId:e,events:h}):(Tn(r.state.value[e],t),n={type:_n.patchObject,payload:t,storeId:e,events:h});let i=_=Symbol();s().then(()=>{_===i&&(d=!0)}),f=!0,Cn(p,n,r.state.value[e])}let y=a?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{En(e,t)})}:hte;function b(){o.stop(),p.clear(),m.clear(),r._s.delete(e)}let x=(t,n=``)=>{if(vte in t)return t[wn]=n,t;let i=function(){hn(r);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function l(e){o.add(e)}Cn(m,{args:n,name:i[wn],store:C,after:s,onError:l});let u;try{u=t.apply(this&&this.$id===e?this:C,n)}catch(e){throw Cn(o,e),e}return u instanceof Promise?u.then(e=>(Cn(a,e),e)).catch(e=>(Cn(o,e),Promise.reject(e))):(Cn(a,u),u)};return i[vte]=!0,i[wn]=n,i},S={_p:r,$id:e,$onAction:gte.bind(null,m),$patch:v,$reset:y,$subscribe(t,n={}){let i=gte(p,t,n.detached,()=>a()),a=o.run(()=>V(()=>r.state.value[e],r=>{(n.flush===`sync`?f:d)&&t({storeId:e,type:_n.direct,events:h},r)},En({},u,n)));return i},$dispose:b},C=oe(S);r._s.set(e,C);let w=(r._a&&r._a.runWithContext||_te)(()=>r._e.run(()=>(o=ue()).run(()=>t({action:x}))));for(let t in w){let n=w[t];L(n)&&!xte(n)||fe(n)?a||(g&&bte(n)&&(L(n)?n.value=g[t]:Tn(n,g[t])),r.state.value[e][t]=n):typeof n==`function`&&(w[t]=x(n,t),l.actions[t]=n)}return En(C,w),En(pe(C),w),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:e=>{v(t=>{En(t,e)})}}),r._p.forEach(e=>{En(C,o.run(()=>e({store:C,app:r._a,pinia:r,options:l})))}),g&&a&&n.hydrate&&n.hydrate(C.$state,g),d=!0,f=!0,C}function wte(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=u();return n||=o?_(ote,null):null,n&&hn(n),n=mn,n._s.has(e)||(i?Cte(e,t,r,n):Ste(e,r,n)),n._s.get(e)}return a.$id=e,a}function Tte(e){let t=pe(e),n={};for(let r in t){let i=t[r];i.effect?n[r]=U({get:()=>e[r],set(t){e[r]=t}}):(L(i)||fe(i))&&(n[r]=_e(e,r))}return n}function Ete(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var Dn=typeof window<`u`,On=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Dte=(e,t,n)=>Ote({l:e,k:t,s:n}),Ote=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),kn=e=>typeof e==`number`&&isFinite(e),kte=e=>Wn(e)===`[object Date]`,An=e=>Wn(e)===`[object RegExp]`,jn=e=>Gn(e)&&Object.keys(e).length===0,Mn=Object.assign,Ate=Object.create,Nn=(e=null)=>Ate(e),jte,Pn=()=>jte||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:Nn();function Fn(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function In(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function Mte(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${In(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${In(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript:`)}),e}var Nte=Object.prototype.hasOwnProperty;function Ln(e,t){return Nte.call(e,t)}var Rn=Array.isArray,zn=e=>typeof e==`function`,Bn=e=>typeof e==`string`,Vn=e=>typeof e==`boolean`,Hn=e=>typeof e==`object`&&!!e,Pte=e=>Hn(e)&&zn(e.then)&&zn(e.catch),Un=Object.prototype.toString,Wn=e=>Un.call(e),Gn=e=>{if(!Hn(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fte=e=>e==null?``:Rn(e)||Gn(e)&&e.toString===Un?JSON.stringify(e,null,2):String(e);function Ite(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}function Kn(e){let t=e;return()=>++t}var qn=e=>!Hn(e)||Rn(e);function Jn(e,t){if(qn(e)||qn(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(Hn(e[r])&&!Hn(t[r])&&(t[r]=Array.isArray(e[r])?[]:Nn()),qn(t[r])||qn(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function Lte(e,t,n){return{line:e,column:t,offset:n}}function Yn(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var Rte=/\{([0-9a-zA-Z]+)\}/g;function Xn(e,...t){return t.length===1&&zte(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rte,(e,n)=>t.hasOwnProperty(n)?t[n]:``)}var Zn=Object.assign,Qn=e=>typeof e==`string`,zte=e=>typeof e==`object`&&!!e;function $n(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var er={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Bte={[er.USE_MODULO_SYNTAX]:`Use modulo before '{{0}}'.`};function Vte(e,t,...n){let r=Xn(Bte[e]||``,...n||[]),i={message:String(r),code:e};return t&&(i.location=t),i}var tr={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Hte={[tr.EXPECTED_TOKEN]:`Expected token: '{0}'`,[tr.INVALID_TOKEN_IN_PLACEHOLDER]:`Invalid token in placeholder: '{0}'`,[tr.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:`Unterminated single quote in placeholder`,[tr.UNKNOWN_ESCAPE_SEQUENCE]:`Unknown escape sequence: \\{0}`,[tr.INVALID_UNICODE_ESCAPE_SEQUENCE]:`Invalid unicode escape sequence: {0}`,[tr.UNBALANCED_CLOSING_BRACE]:`Unbalanced closing brace`,[tr.UNTERMINATED_CLOSING_BRACE]:`Unterminated closing brace`,[tr.EMPTY_PLACEHOLDER]:`Empty placeholder`,[tr.NOT_ALLOW_NEST_PLACEHOLDER]:`Not allowed nest placeholder`,[tr.INVALID_LINKED_FORMAT]:`Invalid linked format`,[tr.MUST_HAVE_MESSAGES_IN_PLURAL]:`Plural must have messages`,[tr.UNEXPECTED_EMPTY_LINKED_MODIFIER]:`Unexpected empty linked modifier`,[tr.UNEXPECTED_EMPTY_LINKED_KEY]:`Unexpected empty linked key`,[tr.UNEXPECTED_LEXICAL_ANALYSIS]:`Unexpected lexical analysis in token: '{0}'`,[tr.UNHANDLED_CODEGEN_NODE_TYPE]:`unhandled codegen node type: '{0}'`,[tr.UNHANDLED_MINIFIER_NODE_TYPE]:`unhandled mimifier node type: '{0}'`};function nr(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=Xn((i||Hte)[e]||``,...a||[]),s=SyntaxError(String(o));return s.code=e,t&&(s.location=t),s.domain=r,s}function Ute(e){throw e}var rr=` `,Wte=`\r`,ir=`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-DcqvOjeb.js","assets/rolldown-runtime-C0FnF6B9.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a as e,n as t,o as n,r,t as i}from"./rolldown-runtime-C0FnF6B9.js";import{An as a,Ar as o,Bn as s,Cn as l,Fn as u,Gn as d,Gr as f,Hn as p,In as m,Jr as h,Kn as g,Ln as _,Mn as v,Nn as y,O as b,On as x,Pn as S,Qn as C,R as w,Sn as T,Sr as E,Tn as D,Un as O,Ur as k,Yn as A,_n as j,_r as M,ar as N,bn as P,br as F,cr as I,dr as L,fr as R,gn as z,gr as B,hn as ee,in as te,ir as ne,kn as re,lr as ie,mn as ae,mr as oe,nr as V,on as se,pn as ce,pr as le,qn as H,sr as ue,un as de,ur as fe,vr as pe,wn as me,xn as U,xr as he,yn as ge,yr as _e,zn as ve}from"./element-plus-D8LubGQe.js";import{$ as ye,$n as be,$t as xe,A as Se,An as Ce,At as we,B as Te,Bn as Ee,Bt as De,C as Oe,Cn as ke,Ct as Ae,D as je,Dn as Me,Dt as Ne,E as Pe,En as Fe,Et as Ie,F as Le,Fn as Re,Ft as ze,G as Be,Gn as Ve,Gt as He,H as Ue,Hn as We,Ht as Ge,I as Ke,In as qe,It as Je,J as Ye,Jn as Xe,Jt as Ze,K as Qe,Kn as $e,Kt as et,L as tt,Ln as nt,Lt as rt,M as it,Mn as at,Mt as ot,N as st,Nn as ct,Nt as lt,O as ut,On as dt,Ot as ft,P as pt,Pn as mt,Pt as ht,Q as eee,Qn as tee,Qt as nee,R as ree,Rn as gt,Rt as iee,S as _t,Sn as vt,St as aee,T as oee,Tn as yt,Tt as see,U as cee,Un as lee,Ut as uee,V as bt,Vn as xt,Vt as dee,W as fee,Wn as St,Wt as Ct,X as pee,Xn as wt,Xt as Tt,Y as mee,Yn as hee,Yt as Et,Z as gee,Zn as Dt,Zt as _ee,_ as vee,_n as Ot,_t as kt,a as yee,an as bee,ar as xee,at as See,b as Cee,bn as wee,bt as Tee,c as Eee,cn as At,ct as Dee,d as jt,dn as Oee,dt as kee,en as Mt,er as W,et as Aee,f as Nt,fn as jee,ft as Mee,g as Pt,gn as Ft,gt as Nee,h as It,hn as Lt,ht as Rt,i as Pee,in as zt,ir as G,it as Fee,j as Iee,jn as Bt,jt as Lee,k as Vt,kn as Ht,l as Ut,ln as Wt,lt as Ree,m as Gt,mn as Kt,mt as zee,nn as Bee,nr as qt,nt as Vee,o as Hee,on as Jt,ot as Uee,p as Yt,pn as Xt,pt as Wee,q as Gee,qn as Zt,qt as Kee,r as qee,rn as Qt,rr as K,rt as Jee,s as Yee,sn as $t,st as Xee,tn as en,tr as tn,tt as Zee,u as nn,un as rn,ut as Qee,v as $ee,vn as ete,vt as an,w as on,wn as sn,wt as cn,x as tte,xn as ln,xt as un,y as nte,yn as dn,yt as rte,z as ite,zn as fn,zt as pn}from"./dagre-DcqvOjeb.js";m(),ie();var ate=typeof window<`u`,mn,hn=e=>mn=e,ote=Symbol();function gn(e){return e&&typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`&&typeof e.toJSON!=`function`}var _n;(function(e){e.direct=`direct`,e.patchObject=`patch object`,e.patchFunction=`patch function`})(_n||={});var vn=typeof window==`object`&&window.window===window?window:typeof self==`object`&&self.self===self?self:typeof global==`object`&&global.global===global?global:typeof globalThis==`object`?globalThis:{HTMLElement:null};function ste(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([``,e],{type:e.type}):e}function yn(e,t,n){let r=new XMLHttpRequest;r.open(`GET`,e),r.responseType=`blob`,r.onload=function(){lte(r.response,t,n)},r.onerror=function(){console.error(`could not download file`)},r.send()}function bn(e){let t=new XMLHttpRequest;t.open(`HEAD`,e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function xn(e){try{e.dispatchEvent(new MouseEvent(`click`))}catch{let t=new MouseEvent(`click`,{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(t)}}var Sn=typeof navigator==`object`?navigator:{userAgent:``},cte=/Macintosh/.test(Sn.userAgent)&&/AppleWebKit/.test(Sn.userAgent)&&!/Safari/.test(Sn.userAgent),lte=ate?typeof HTMLAnchorElement<`u`&&`download`in HTMLAnchorElement.prototype&&!cte?ute:`msSaveOrOpenBlob`in Sn?dte:fte:()=>{};function ute(e,t=`download`,n){let r=document.createElement(`a`);r.download=t,r.rel=`noopener`,typeof e==`string`?(r.href=e,r.origin===location.origin?xn(r):bn(r.href)?yn(e,t,n):(r.target=`_blank`,xn(r))):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){xn(r)},0))}function dte(e,t=`download`,n){if(typeof e==`string`){if(bn(e))yn(e,t,n);else{let t=document.createElement(`a`);t.href=e,t.target=`_blank`,setTimeout(function(){xn(t)})}}else navigator.msSaveOrOpenBlob(ste(e,n),t)}function fte(e,t,n,r){if(r||=open(``,`_blank`),r&&(r.document.title=r.document.body.innerText=`downloading...`),typeof e==`string`)return yn(e,t,n);let i=e.type===`application/octet-stream`,a=/constructor/i.test(String(vn.HTMLElement))||`safari`in vn,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&a||cte)&&typeof FileReader<`u`){let t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=`string`)throw r=null,Error(`Wrong reader.result type`);e=o?e:e.replace(/^data:[^;]*;/,`data:attachment/file;`),r?r.location.href=e:location.assign(e),r=null},t.readAsDataURL(e)}else{let t=URL.createObjectURL(e);r?r.location.assign(t):location.href=t,r=null,setTimeout(function(){URL.revokeObjectURL(t)},4e4)}}var{assign:pte}=Object;function mte(){let e=ue(!0),t=e.run(()=>B({})),n=[],r=[],i=R({install(e){hn(i),i._a=e,e.provide(ote,i),e.config.globalProperties.$pinia=i,r.forEach(e=>n.push(e)),r=[]},use(e){return this._a?n.push(e):r.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}var hte=()=>{};function gte(e,t,n,r=hte){e.add(t);let i=()=>{e.delete(t)&&r()};return!n&&I()&&le(i),i}function Cn(e,...t){e.forEach(e=>{e(...t)})}var _te=e=>e(),vte=Symbol(),wn=Symbol();function Tn(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(let n in t){if(!t.hasOwnProperty(n))continue;let r=t[n],i=e[n];e[n]=gn(i)&&gn(r)&&e.hasOwnProperty(n)&&!L(r)&&!fe(r)?Tn(i,r):r}return e}var yte=Symbol();function bte(e){return!gn(e)||!Object.prototype.hasOwnProperty.call(e,yte)}var{assign:En}=Object;function xte(e){return!!(L(e)&&e.effect)}function Ste(e,t,n,r){let{state:i,actions:a,getters:o}=t,s=n.state.value[e],l;function u(){return s||(n.state.value[e]=i?i():{}),En(F(n.state.value[e]),a,Object.keys(o||{}).reduce((t,r)=>(t[r]=R(U(()=>{hn(n);let t=n._s.get(e);return o[r].call(t,t)})),t),{}))}return l=Cte(e,u,t,n,r,!0),l}function Cte(e,t,n={},r,i,a){let o,l=En({actions:{}},n),u={deep:!0},d,f,p=new Set,m=new Set,h,g=r.state.value[e];!a&&!g&&(r.state.value[e]={}),B({});let _;function v(t){let n;d=f=!1,typeof t==`function`?(t(r.state.value[e]),n={type:_n.patchFunction,storeId:e,events:h}):(Tn(r.state.value[e],t),n={type:_n.patchObject,payload:t,storeId:e,events:h});let i=_=Symbol();s().then(()=>{_===i&&(d=!0)}),f=!0,Cn(p,n,r.state.value[e])}let y=a?function(){let{state:e}=n,t=e?e():{};this.$patch(e=>{En(e,t)})}:hte;function b(){o.stop(),p.clear(),m.clear(),r._s.delete(e)}let x=(t,n=``)=>{if(vte in t)return t[wn]=n,t;let i=function(){hn(r);let n=Array.from(arguments),a=new Set,o=new Set;function s(e){a.add(e)}function l(e){o.add(e)}Cn(m,{args:n,name:i[wn],store:C,after:s,onError:l});let u;try{u=t.apply(this&&this.$id===e?this:C,n)}catch(e){throw Cn(o,e),e}return u instanceof Promise?u.then(e=>(Cn(a,e),e)).catch(e=>(Cn(o,e),Promise.reject(e))):(Cn(a,u),u)};return i[vte]=!0,i[wn]=n,i},S={_p:r,$id:e,$onAction:gte.bind(null,m),$patch:v,$reset:y,$subscribe(t,n={}){let i=gte(p,t,n.detached,()=>a()),a=o.run(()=>V(()=>r.state.value[e],r=>{(n.flush===`sync`?f:d)&&t({storeId:e,type:_n.direct,events:h},r)},En({},u,n)));return i},$dispose:b},C=oe(S);r._s.set(e,C);let w=(r._a&&r._a.runWithContext||_te)(()=>r._e.run(()=>(o=ue()).run(()=>t({action:x}))));for(let t in w){let n=w[t];L(n)&&!xte(n)||fe(n)?a||(g&&bte(n)&&(L(n)?n.value=g[t]:Tn(n,g[t])),r.state.value[e][t]=n):typeof n==`function`&&(w[t]=x(n,t),l.actions[t]=n)}return En(C,w),En(pe(C),w),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:e=>{v(t=>{En(t,e)})}}),r._p.forEach(e=>{En(C,o.run(()=>e({store:C,app:r._a,pinia:r,options:l})))}),g&&a&&n.hydrate&&n.hydrate(C.$state,g),d=!0,f=!0,C}function wte(e,t,n){let r,i=typeof t==`function`;r=i?n:t;function a(n,a){let o=u();return n||=o?_(ote,null):null,n&&hn(n),n=mn,n._s.has(e)||(i?Cte(e,t,r,n):Ste(e,r,n)),n._s.get(e)}return a.$id=e,a}function Tte(e){let t=pe(e),n={};for(let r in t){let i=t[r];i.effect?n[r]=U({get:()=>e[r],set(t){e[r]=t}}):(L(i)||fe(i))&&(n[r]=_e(e,r))}return n}function Ete(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var Dn=typeof window<`u`,On=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Dte=(e,t,n)=>Ote({l:e,k:t,s:n}),Ote=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),kn=e=>typeof e==`number`&&isFinite(e),kte=e=>Wn(e)===`[object Date]`,An=e=>Wn(e)===`[object RegExp]`,jn=e=>Gn(e)&&Object.keys(e).length===0,Mn=Object.assign,Ate=Object.create,Nn=(e=null)=>Ate(e),jte,Pn=()=>jte||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:Nn();function Fn(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function In(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}function Mte(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${In(n)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${In(n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(t=>{e=e.replace(t,`$1javascript:`)}),e}var Nte=Object.prototype.hasOwnProperty;function Ln(e,t){return Nte.call(e,t)}var Rn=Array.isArray,zn=e=>typeof e==`function`,Bn=e=>typeof e==`string`,Vn=e=>typeof e==`boolean`,Hn=e=>typeof e==`object`&&!!e,Pte=e=>Hn(e)&&zn(e.then)&&zn(e.catch),Un=Object.prototype.toString,Wn=e=>Un.call(e),Gn=e=>{if(!Hn(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Fte=e=>e==null?``:Rn(e)||Gn(e)&&e.toString===Un?JSON.stringify(e,null,2):String(e);function Ite(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}function Kn(e){let t=e;return()=>++t}var qn=e=>!Hn(e)||Rn(e);function Jn(e,t){if(qn(e)||qn(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(Hn(e[r])&&!Hn(t[r])&&(t[r]=Array.isArray(e[r])?[]:Nn()),qn(t[r])||qn(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function Lte(e,t,n){return{line:e,column:t,offset:n}}function Yn(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var Rte=/\{([0-9a-zA-Z]+)\}/g;function Xn(e,...t){return t.length===1&&zte(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Rte,(e,n)=>t.hasOwnProperty(n)?t[n]:``)}var Zn=Object.assign,Qn=e=>typeof e==`string`,zte=e=>typeof e==`object`&&!!e;function $n(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var er={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Bte={[er.USE_MODULO_SYNTAX]:`Use modulo before '{{0}}'.`};function Vte(e,t,...n){let r=Xn(Bte[e]||``,...n||[]),i={message:String(r),code:e};return t&&(i.location=t),i}var tr={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Hte={[tr.EXPECTED_TOKEN]:`Expected token: '{0}'`,[tr.INVALID_TOKEN_IN_PLACEHOLDER]:`Invalid token in placeholder: '{0}'`,[tr.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:`Unterminated single quote in placeholder`,[tr.UNKNOWN_ESCAPE_SEQUENCE]:`Unknown escape sequence: \\{0}`,[tr.INVALID_UNICODE_ESCAPE_SEQUENCE]:`Invalid unicode escape sequence: {0}`,[tr.UNBALANCED_CLOSING_BRACE]:`Unbalanced closing brace`,[tr.UNTERMINATED_CLOSING_BRACE]:`Unterminated closing brace`,[tr.EMPTY_PLACEHOLDER]:`Empty placeholder`,[tr.NOT_ALLOW_NEST_PLACEHOLDER]:`Not allowed nest placeholder`,[tr.INVALID_LINKED_FORMAT]:`Invalid linked format`,[tr.MUST_HAVE_MESSAGES_IN_PLURAL]:`Plural must have messages`,[tr.UNEXPECTED_EMPTY_LINKED_MODIFIER]:`Unexpected empty linked modifier`,[tr.UNEXPECTED_EMPTY_LINKED_KEY]:`Unexpected empty linked key`,[tr.UNEXPECTED_LEXICAL_ANALYSIS]:`Unexpected lexical analysis in token: '{0}'`,[tr.UNHANDLED_CODEGEN_NODE_TYPE]:`unhandled codegen node type: '{0}'`,[tr.UNHANDLED_MINIFIER_NODE_TYPE]:`unhandled mimifier node type: '{0}'`};function nr(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=Xn((i||Hte)[e]||``,...a||[]),s=SyntaxError(String(o));return s.code=e,t&&(s.location=t),s.domain=r,s}function Ute(e){throw e}var rr=` `,Wte=`\r`,ir=`
|
|
3
3
|
`,Gte=`\u2028`,Kte=`\u2029`;function qte(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===Wte&&t[e+1]===ir,s=e=>t[e]===ir,l=e=>t[e]===Kte,u=e=>t[e]===Gte,d=e=>o(e)||s(e)||l(e)||u(e),f=()=>n,p=()=>r,m=()=>i,h=()=>a,g=e=>o(e)||l(e)||u(e)?ir:t[e],_=()=>g(n),v=()=>g(n+a);function y(){return a=0,d(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function b(){return o(n+a)&&a++,a++,t[n+a]}function x(){n=0,r=1,i=1,a=0}function S(e=0){a=e}function C(){let e=n+a;for(;e!==n;)y();a=0}return{index:f,line:p,column:m,peekOffset:h,charAt:g,currentChar:_,currentPeek:v,next:y,peek:b,reset:x,resetPeek:S,skipToPeek:C}}var ar=void 0,or=`'`,Jte=`tokenizer`;function Yte(e,t={}){let n=t.location!==!1,r=qte(e),i=()=>r.index(),a=()=>Lte(r.line(),r.column(),r.index()),o=a(),s=i(),l={currentType:14,offset:s,startLoc:o,endLoc:o,lastType:14,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},u=()=>l,{onError:d}=t;function f(e,t,r,...i){let a=u();if(t.column+=r,t.offset+=r,d){let r=nr(e,n?Yn(a.startLoc,t):null,{domain:Jte,args:i});d(r)}}function p(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=Yn(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let m=e=>p(e,14);function h(e,t){return e.currentChar()===t?(e.next(),t):(f(tr.EXPECTED_TOKEN,a(),0,t),``)}function g(e){let t=``;for(;e.currentPeek()===rr||e.currentPeek()===ir;)t+=e.currentPeek(),e.peek();return t}function _(e){let t=g(e);return e.skipToPeek(),t}function v(e){if(e===ar)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function y(e){if(e===ar)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;g(e);let r=v(e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;g(e);let r=y(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==2)return!1;g(e);let r=e.currentPeek()===or;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;g(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(n!==9)return!1;g(e);let r=v(e.currentPeek());return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==8&&n!==12)return!1;g(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function E(e,t){let{currentType:n}=t;if(n!==10)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?v(e.peek()):t===`@`||t===`%`||t===`|`||t===`:`||t===`.`||t===rr||!t?!1:t===ir?(e.peek(),r()):k(e,!1)},i=r();return e.resetPeek(),i}function D(e){g(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function O(e){let t=g(e),n=e.currentPeek()===`%`&&e.peek()===`{`;return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}function k(e,t=!0){let n=(t=!1,r=``,i=!1)=>{let a=e.currentPeek();return a===`{`?r!==`%`&&t:a===`@`||!a?r===`%`||t:a===`%`?(e.peek(),n(t,`%`,!0)):a===`|`?r===`%`||i?!0:r!==rr&&r!==ir:a===rr?(e.peek(),n(!0,rr,i)):a!==ir||(e.peek(),n(!0,ir,i))},r=n();return t&&e.resetPeek(),r}function A(e,t){let n=e.currentChar();if(n!==ar)return t(n)?(e.next(),n):null}function j(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function M(e){return A(e,j)}function N(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function P(e){return A(e,N)}function F(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function I(e){return A(e,F)}function L(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function R(e){return A(e,L)}function z(e){let t=``,n=``;for(;t=I(e);)n+=t;return n}function B(e){_(e);let t=e.currentChar();return t!==`%`&&f(tr.EXPECTED_TOKEN,a(),0,t),e.next(),`%`}function ee(e){let t=``;for(;;){let n=e.currentChar();if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;if(n===`%`){if(k(e))t+=n,e.next();else break}else if(n===rr||n===ir){if(k(e))t+=n,e.next();else if(D(e))break;else t+=n,e.next()}else t+=n,e.next()}return t}function te(e){_(e);let t=``,n=``;for(;t=P(e);)n+=t;return e.currentChar()===ar&&f(tr.UNTERMINATED_CLOSING_BRACE,a(),0),n}function ne(e){_(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${z(e)}`):t+=z(e),e.currentChar()===ar&&f(tr.UNTERMINATED_CLOSING_BRACE,a(),0),t}function re(e){return e!==or&&e!==ir}function ie(e){_(e),h(e,`'`);let t=``,n=``;for(;t=A(e,re);)n+=t===`\\`?ae(e):t;let r=e.currentChar();return r===ir||r===ar?(f(tr.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===ir&&(e.next(),h(e,`'`)),n):(h(e,`'`),n)}function ae(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return oe(e,t,4);case`U`:return oe(e,t,6);default:return f(tr.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function oe(e,t,n){h(e,t);let r=``;for(let i=0;i<n;i++){let n=R(e);if(!n){f(tr.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function V(e){return e!==`{`&&e!==`}`&&e!==rr&&e!==ir}function se(e){_(e);let t=``,n=``;for(;t=A(e,V);)n+=t;return n}function ce(e){let t=``,n=``;for(;t=M(e);)n+=t;return n}function le(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`%`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===rr?n:(n+=r,e.next(),t(n))};return t(``)}function H(e){_(e);let t=h(e,`|`);return _(e),t}function ue(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&f(tr.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=p(t,2,`{`),_(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&f(tr.EMPTY_PLACEHOLDER,a(),0),e.next(),n=p(t,3,`}`),t.braceNest--,t.braceNest>0&&_(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&f(tr.UNTERMINATED_CLOSING_BRACE,a(),0),n=de(e,t)||m(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(D(e))return t.braceNest>0&&f(tr.UNTERMINATED_CLOSING_BRACE,a(),0),n=p(t,1,H(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===5||t.currentType===6||t.currentType===7))return f(tr.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,fe(e,t);if(r=b(e,t))return n=p(t,5,te(e)),_(e),n;if(i=x(e,t))return n=p(t,6,ne(e)),_(e),n;if(o=S(e,t))return n=p(t,7,ie(e)),_(e),n;if(!r&&!i&&!o)return n=p(t,13,se(e)),f(tr.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),_(e),n;break}}return n}function de(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===8||n===9||n===12||n===10)&&(i===ir||i===rr)&&f(tr.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=p(t,8,`@`),t.inLinked=!0,r;case`.`:return _(e),e.next(),p(t,9,`.`);case`:`:return _(e),e.next(),p(t,10,`:`);default:return D(e)?(r=p(t,1,H(e)),t.braceNest=0,t.inLinked=!1,r):C(e,t)||T(e,t)?(_(e),de(e,t)):w(e,t)?(_(e),p(t,12,ce(e))):E(e,t)?(_(e),i===`{`?ue(e,t)||r:p(t,11,le(e))):(n===8&&f(tr.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,fe(e,t))}}function fe(e,t){let n={type:14};if(t.braceNest>0)return ue(e,t)||m(t);if(t.inLinked)return de(e,t)||m(t);switch(e.currentChar()){case`{`:return ue(e,t)||m(t);case`}`:return f(tr.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),p(t,3,`}`);case`@`:return de(e,t)||m(t);default:{if(D(e))return n=p(t,1,H(e)),t.braceNest=0,t.inLinked=!1,n;let{isModulo:r,hasSpace:i}=O(e);if(r)return i?p(t,0,ee(e)):p(t,4,B(e));if(k(e))return p(t,0,ee(e));break}}return n}function pe(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=l;return l.lastType=e,l.lastOffset=t,l.lastStartLoc=n,l.lastEndLoc=o,l.offset=i(),l.startLoc=a(),r.currentChar()===ar?p(l,14):fe(r,l)}return{nextToken:pe,currentOffset:i,currentPosition:a,context:u}}var Xte=`parser`,Zte=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Qte(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function $te(e={}){let t=e.location!==!1,{onError:n,onWarn:r}=e;function i(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=nr(r,t?Yn(i,s):null,{domain:Xte,args:o});n(e)}}function a(e,n,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,r){let e=t?Yn(i,s):null;r(Vte(n,e,o))}}function o(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function s(e,n,r,i){i&&(e.type=i),t&&(e.end=n,e.loc&&(e.loc.end=r))}function l(e,t){let n=e.context(),r=o(3,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}function u(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),i=o(5,n,r);return i.index=parseInt(t,10),e.nextToken(),s(i,e.currentOffset(),e.currentPosition()),i}function d(e,t,n){let{lastOffset:r,lastStartLoc:i}=e.context(),a=o(4,r,i);return a.key=t,n===!0&&(a.modulo=!0),e.nextToken(),s(a,e.currentOffset(),e.currentPosition()),a}function f(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),i=o(9,n,r);return i.value=t.replace(Zte,Qte),e.nextToken(),s(i,e.currentOffset(),e.currentPosition()),i}function p(e){let t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:a}=n,l=o(8,r,a);return t.type===12?(t.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,sr(t)),l.value=t.value||``,s(l,e.currentOffset(),e.currentPosition()),{node:l}):(i(e,tr.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),l.value=``,s(l,r,a),{nextConsumeToken:t,node:l})}function m(e,t){let n=e.context(),r=o(7,n.offset,n.startLoc);return r.value=t,s(r,e.currentOffset(),e.currentPosition()),r}function h(e){let t=e.context(),n=o(6,t.offset,t.startLoc),r=e.nextToken();if(r.type===9){let t=p(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(r.type!==10&&i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(r)),r=e.nextToken(),r.type===2&&(r=e.nextToken()),r.type){case 11:r.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(r)),n.key=m(e,r.value||``);break;case 5:r.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(r)),n.key=d(e,r.value||``);break;case 6:r.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(r)),n.key=u(e,r.value||``);break;case 7:r.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(r)),n.key=f(e,r.value||``);break;default:{i(e,tr.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let a=e.context(),l=o(7,a.offset,a.startLoc);return l.value=``,s(l,a.offset,a.startLoc),n.key=l,s(n,a.offset,a.startLoc),{nextConsumeToken:r,node:n}}}return s(n,e.currentOffset(),e.currentPosition()),{node:n}}function g(e){let t=e.context(),n=o(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let r=null,p=null;do{let o=r||e.nextToken();switch(r=null,o.type){case 0:o.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(o)),n.items.push(l(e,o.value||``));break;case 6:o.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(o)),n.items.push(u(e,o.value||``));break;case 4:p=!0;break;case 5:o.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(o)),n.items.push(d(e,o.value||``,!!p)),p&&=(a(e,er.USE_MODULO_SYNTAX,t.lastStartLoc,0,sr(o)),null);break;case 7:o.value??i(e,tr.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,sr(o)),n.items.push(f(e,o.value||``));break;case 8:{let t=h(e);n.items.push(t.node),r=t.nextConsumeToken||null;break}}}while(t.currentType!==14&&t.currentType!==1);return s(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function _(e,t,n,r){let a=e.context(),l=r.items.length===0,u=o(1,t,n);u.cases=[],u.cases.push(r);do{let t=g(e);l||=t.items.length===0,u.cases.push(t)}while(a.currentType!==14);return l&&i(e,tr.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),s(u,e.currentOffset(),e.currentPosition()),u}function v(e){let t=e.context(),{offset:n,startLoc:r}=t,i=g(e);return t.currentType===14?i:_(e,n,r,i)}function y(n){let r=Yte(n,Zn({},e)),a=r.context(),l=o(0,a.offset,a.startLoc);return t&&l.loc&&(l.loc.source=n),l.body=v(r),e.onCacheKey&&(l.cacheKey=e.onCacheKey(n)),a.currentType!==14&&i(r,tr.UNEXPECTED_LEXICAL_ANALYSIS,a.lastStartLoc,0,n[a.offset]||``),s(l,r.currentOffset(),r.currentPosition()),l}return{parse:y}}function sr(e){if(e.type===14)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function ene(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function cr(e,t){for(let n=0;n<e.length;n++)lr(e[n],t)}function lr(e,t){switch(e.type){case 1:cr(e.cases,t),t.helper(`plural`);break;case 2:cr(e.items,t);break;case 6:lr(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`)}}function tne(e,t={}){let n=ene(e);n.helper(`normalize`),e.body&&lr(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function nne(e){let t=e.body;return t.type===2?ur(t):t.cases.forEach(e=>ur(e)),e}function ur(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(r.type!==3&&r.type!==9||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=$n(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}var rne=`minifier`;function dr(e){switch(e.t=e.type,e.type){case 0:{let t=e;dr(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)dr(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)dr(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;dr(t.key),t.k=t.key,delete t.key,t.modifier&&(dr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}default:throw nr(tr.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:rne,args:[e.type]})}delete e.type}var ine=`parser`;function ane(e,t){let{sourceMap:n,filename:r,breakLineCode:i,needIndent:a}=t,o=t.location!==!1,s={filename:r,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};o&&e.loc&&(s.source=e.loc.source);let l=()=>s;function u(e,t){s.code+=e}function d(e,t=!0){let n=t?i:``;u(a?n+` `.repeat(e):n)}function f(e=!0){let t=++s.indentLevel;e&&d(t)}function p(e=!0){let t=--s.indentLevel;e&&d(t)}function m(){d(s.indentLevel)}return{context:l,push:u,indent:f,deindent:p,newline:m,helper:e=>`_${e}`,needIndent:()=>s.needIndent}}function one(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),fr(e,t.key),t.modifier?(e.push(`, `),fr(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function sne(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(fr(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function cne(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(fr(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function lne(e,t){t.body?fr(e,t.body):e.push(`null`)}function fr(e,t){let{helper:n}=e;switch(t.type){case 0:lne(e,t);break;case 1:cne(e,t);break;case 2:sne(e,t);break;case 6:one(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw nr(tr.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:ine,args:[t.type]})}}var une=(e,t={})=>{let n=Qn(t.mode)?t.mode:`normal`,r=Qn(t.filename)?t.filename:`message.intl`,i=!!t.sourceMap,a=t.breakLineCode==null?n===`arrow`?`;`:`
|
|
4
4
|
`:t.breakLineCode,o=t.needIndent?t.needIndent:n!==`arrow`,s=e.helpers||[],l=ane(e,{mode:n,filename:r,sourceMap:i,breakLineCode:a,needIndent:o});l.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),l.indent(o),s.length>0&&(l.push(`const { ${$n(s.map(e=>`${e}: _${e}`),`, `)} } = ctx`),l.newline()),l.push(`return `),fr(l,e),l.deindent(o),l.push(`}`),delete e.helpers;let{code:u,map:d}=l.context();return{ast:e,code:u,map:d?d.toJSON():void 0}};function dne(e,t={}){let n=Zn({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null||n.optimize,o=$te(n).parse(e);return r?(a&&nne(o),i&&dr(o),{ast:o,code:``}):(tne(o,n),une(o,n))}function fne(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Pn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!=`boolean`&&(Pn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Pn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function pr(e){return Hn(e)&&yr(e)===0&&(Ln(e,`b`)||Ln(e,`body`))}var mr=[`b`,`body`];function pne(e){return Cr(e,mr)}var hr=[`c`,`cases`];function mne(e){return Cr(e,hr,[])}var gr=[`s`,`static`];function hne(e){return Cr(e,gr)}var _r=[`i`,`items`];function gne(e){return Cr(e,_r,[])}var vr=[`t`,`type`];function yr(e){return Cr(e,vr)}var _ne=[`v`,`value`];function br(e,t){let n=Cr(e,_ne);if(n!=null)return n;throw Tr(t)}var xr=[`m`,`modifier`];function vne(e){return Cr(e,xr)}var Sr=[`k`,`key`];function yne(e){let t=Cr(e,Sr);if(t)return t;throw Tr(6)}function Cr(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(Ln(e,r)&&e[r]!=null)return e[r]}return n}var wr=[...mr,...hr,...gr,..._r,...Sr,...xr,..._ne,...vr];function Tr(e){return Error(`unhandled node type: ${e}`)}var Er=[];Er[0]={w:[0],i:[3,0],"[":[4],o:[7]},Er[1]={w:[1],".":[2],"[":[4],o:[7]},Er[2]={w:[2],i:[3,0],0:[3,0]},Er[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Er[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Er[5]={"'":[4,0],o:8,l:[5,0]},Er[6]={'"':[4,0],o:8,l:[6,0]};var bne=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function xne(e){return bne.test(e)}function Sne(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Cne(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function wne(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:xne(t)?Sne(t):`*`+t}function Tne(e){let t=[],n=-1,r=0,i=0,a,o,s,l,u,d,f,p=[];p[0]=()=>{o===void 0?o=s:o+=s},p[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},p[2]=()=>{p[0](),i++},p[3]=()=>{if(i>0)i--,r=4,p[0]();else{if(i=0,o===void 0||(o=wne(o),o===!1))return!1;p[1]()}};function m(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,p[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&m())){if(l=Cne(a),f=Er[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(d=p[u[1]],d&&(s=a,d()===!1))))return;if(r===7)return t}}var Dr=new Map;function Ene(e,t){return Hn(e)?e[t]:null}function Dne(e,t){if(!Hn(e))return null;let n=Dr.get(t);if(n||(n=Tne(t),n&&Dr.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(wr.includes(e)&&pr(i))return null;let t=i[e];if(t===void 0||zn(i))return null;i=t,a++}return i}var One=e=>e,kne=e=>``,Ane=`text`,jne=e=>e.length===0?``:Ite(e),Mne=Fte;function Or(e,t){return e=Math.abs(e),t===2?e?+(e>1):1:e?Math.min(e,2):0}function Nne(e){let t=kn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(kn(e.named.count)||kn(e.named.n))?kn(e.named.count)?e.named.count:kn(e.named.n)?e.named.n:t:t}function Pne(e,t){t.count||=e,t.n||=e}function Fne(e={}){let t=e.locale,n=Nne(e),r=Hn(e.pluralRules)&&Bn(t)&&zn(e.pluralRules[t])?e.pluralRules[t]:Or,i=Hn(e.pluralRules)&&Bn(t)&&zn(e.pluralRules[t])?Or:void 0,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],l=e.named||Nn();kn(e.pluralIndex)&&Pne(n,l);let u=e=>l[e];function d(t){return(zn(e.messages)?e.messages(t):Hn(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):kne)}let f=t=>e.modifiers?e.modifiers[t]:One,p=Gn(e.processor)&&zn(e.processor.normalize)?e.processor.normalize:jne,m=Gn(e.processor)&&zn(e.processor.interpolate)?e.processor.interpolate:Mne,h={list:s,named:u,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?Hn(n)?(a=n.modifier||a,i=n.type||i):Bn(n)&&(a=n||a):t.length===2&&(Bn(n)&&(a=n||a),Bn(r)&&(i=r||i));let o=d(e)(h),s=i===`vnode`&&Rn(o)&&a?o[0]:o;return a?f(a)(s,i):s},message:d,type:Gn(e.processor)&&Bn(e.processor.type)?e.processor.type:Ane,interpolate:m,normalize:p,values:Mn(Nn(),o,l)};return h}var kr=null;function Ine(e){kr=e}function Lne(e,t,n){kr&&kr.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Rne=zne(`function:translate`);function zne(e){return t=>kr&&kr.emit(e,t)}var Ar=er.__EXTEND_POINT__,jr=Kn(Ar),Mr={NOT_FOUND_KEY:Ar,FALLBACK_TO_TRANSLATE:jr(),CANNOT_FORMAT_NUMBER:jr(),FALLBACK_TO_NUMBER_FORMAT:jr(),CANNOT_FORMAT_DATE:jr(),FALLBACK_TO_DATE_FORMAT:jr(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:jr(),__EXTEND_POINT__:jr()};Mr.NOT_FOUND_KEY,Mr.FALLBACK_TO_TRANSLATE,Mr.CANNOT_FORMAT_NUMBER,Mr.FALLBACK_TO_NUMBER_FORMAT,Mr.CANNOT_FORMAT_DATE,Mr.FALLBACK_TO_DATE_FORMAT,Mr.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER;var Bne=tr.__EXTEND_POINT__,Nr=Kn(Bne),Pr={INVALID_ARGUMENT:Bne,INVALID_DATE_ARGUMENT:Nr(),INVALID_ISO_DATE_ARGUMENT:Nr(),NOT_SUPPORT_NON_STRING_MESSAGE:Nr(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Nr(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Nr(),NOT_SUPPORT_LOCALE_TYPE:Nr(),__EXTEND_POINT__:Nr()};function Fr(e){return nr(e,null,void 0)}Pr.INVALID_ARGUMENT,Pr.INVALID_DATE_ARGUMENT,Pr.INVALID_ISO_DATE_ARGUMENT,Pr.NOT_SUPPORT_NON_STRING_MESSAGE,Pr.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Pr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Pr.NOT_SUPPORT_LOCALE_TYPE;function Ir(e,t){return t.locale==null?Vne(e.locale):Vne(t.locale)}var Lr;function Vne(e){if(Bn(e))return e;if(zn(e)){if(e.resolvedOnce&&Lr!=null)return Lr;if(e.constructor.name===`Function`){let t=e();if(Pte(t))throw Fr(Pr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Lr=t}throw Fr(Pr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Fr(Pr.NOT_SUPPORT_LOCALE_TYPE)}function Hne(e,t,n){return[...new Set([n,...Rn(t)?t:Hn(t)?Object.keys(t):Bn(t)?[t]:[n]])]}function Une(e,t,n){let r=Bn(n)?n:Rr,i=e;i.__localeChainCache||=new Map;let a=i.__localeChainCache.get(r);if(!a){a=[];let e=[n];for(;Rn(e);)e=Wne(a,e,t);let o=Rn(t)||!Gn(t)?t:t.default?t.default:null;e=Bn(o)?[o]:o,Rn(e)&&Wne(a,e,!1),i.__localeChainCache.set(r,a)}return a}function Wne(e,t,n){let r=!0;for(let i=0;i<t.length&&Vn(r);i++){let a=t[i];Bn(a)&&(r=Gne(e,t[i],n))}return r}function Gne(e,t,n){let r,i=t.split(`-`);do r=Kne(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function Kne(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(Rn(n)||Gn(n))&&n[i]&&(r=n[i])}return r}var qne=`9.14.5`,Rr=`en-US`,Jne=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Yne(){return{upper:(e,t)=>t===`text`&&Bn(e)?e.toUpperCase():t===`vnode`&&Hn(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&Bn(e)?e.toLowerCase():t===`vnode`&&Hn(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&Bn(e)?Jne(e):t===`vnode`&&Hn(e)&&`__v_isVNode`in e?Jne(e.children):e}}var Xne;function Zne(e){Xne=e}var Qne;function $ne(e){Qne=e}var ere;function tre(e){ere=e}var nre=null,rre=()=>nre,ire=null,are=e=>{ire=e},ore=()=>ire,sre=0;function cre(e={}){let t=zn(e.onWarn)?e.onWarn:Ete,n=Bn(e.version)?e.version:qne,r=Bn(e.locale)||zn(e.locale)?e.locale:Rr,i=zn(r)?Rr:r,a=Rn(e.fallbackLocale)||Gn(e.fallbackLocale)||Bn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=Gn(e.messages)?e.messages:zr(i),s=Gn(e.datetimeFormats)?e.datetimeFormats:zr(i),l=Gn(e.numberFormats)?e.numberFormats:zr(i),u=Mn(Nn(),e.modifiers,Yne()),d=e.pluralRules||Nn(),f=zn(e.missing)?e.missing:null,p=Vn(e.missingWarn)||An(e.missingWarn)?e.missingWarn:!0,m=Vn(e.fallbackWarn)||An(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,_=zn(e.postTranslation)?e.postTranslation:null,v=Gn(e.processor)?e.processor:null,y=!Vn(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,x=zn(e.messageCompiler)?e.messageCompiler:Xne,S=zn(e.messageResolver)?e.messageResolver:Qne||Ene,C=zn(e.localeFallbacker)?e.localeFallbacker:ere||Hne,w=Hn(e.fallbackContext)?e.fallbackContext:void 0,T=e,E=Hn(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,D=Hn(T.__numberFormatters)?T.__numberFormatters:new Map,O=Hn(T.__meta)?T.__meta:{};sre++;let k={version:n,cid:sre,locale:r,fallbackLocale:a,messages:o,modifiers:u,pluralRules:d,missing:f,missingWarn:p,fallbackWarn:m,fallbackFormat:h,unresolving:g,postTranslation:_,processor:v,warnHtmlMessage:y,escapeParameter:b,messageCompiler:x,messageResolver:S,localeFallbacker:C,fallbackContext:w,onWarn:t,__meta:O};return k.datetimeFormats=s,k.numberFormats=l,k.__datetimeFormatters=E,k.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&Lne(k,n,O),k}var zr=e=>({[e]:Nn()});function Br(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return Bn(r)?r:t}return t}function Vr(e,t,n){let r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function lre(e,t){return e!==t&&e.split(`-`)[0]===t.split(`-`)[0]}function ure(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(lre(e,t[r]))return!0;return!1}function Hr(e){return t=>dre(t,e)}function dre(e,t){let n=pne(t);if(n==null)throw Tr(0);if(yr(n)===1){let t=mne(n);return e.plural(t.reduce((t,n)=>[...t,fre(e,n)],[]))}return fre(e,n)}function fre(e,t){let n=hne(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=gne(t).reduce((t,n)=>[...t,Ur(e,n)],[]);return e.normalize(n)}}function Ur(e,t){let n=yr(t);switch(n){case 3:return br(t,n);case 9:return br(t,n);case 4:{let r=t;if(Ln(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(Ln(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw Tr(n)}case 5:{let r=t;if(Ln(r,`i`)&&kn(r.i))return e.interpolate(e.list(r.i));if(Ln(r,`index`)&&kn(r.index))return e.interpolate(e.list(r.index));throw Tr(n)}case 6:{let n=t,r=vne(n),i=yne(n);return e.linked(Ur(e,i),r?Ur(e,r):void 0,e.type)}case 7:return br(t,n);case 8:return br(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var pre=e=>e,Wr=Nn();function mre(e,t={}){let n=!1,r=t.onError||Ute;return t.onError=e=>{n=!0,r(e)},{...dne(e,t),detectError:n}}var hre=(e,t)=>{if(!Bn(e))throw Fr(Pr.NOT_SUPPORT_NON_STRING_MESSAGE);{Vn(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||pre)(e),r=Wr[n];if(r)return r;let{code:i,detectError:a}=mre(e,t),o=Function(`return ${i}`)();return a?o:Wr[n]=o}};function gre(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Bn(e)){Vn(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||pre)(e),r=Wr[n];if(r)return r;let{ast:i,detectError:a}=mre(e,{...t,location:!1,jit:!0}),o=Hr(i);return a?o:Wr[n]=o}{let t=e.cacheKey;return t?Wr[t]||(Wr[t]=Hr(e)):Hr(e)}}var _re=()=>``,Gr=e=>zn(e);function vre(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[l,u]=Kr(...t),d=Vn(u.missingWarn)?u.missingWarn:e.missingWarn,f=Vn(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,p=Vn(u.escapeParameter)?u.escapeParameter:e.escapeParameter,m=!!u.resolvedMessage,h=Bn(u.default)||Vn(u.default)?Vn(u.default)?a?l:()=>l:u.default:n?a?l:()=>l:``,g=n||h!==``,_=Ir(e,u);p&&yre(u);let[v,y,b]=m?[l,_,s[_]||Nn()]:bre(e,l,_,o,f,d),x=v,S=l;if(!m&&!(Bn(x)||pr(x)||Gr(x))&&g&&(x=h,S=x),!m&&(!(Bn(x)||pr(x)||Gr(x))||!Bn(y)))return i?-1:l;let C=!1,w=Gr(x)?x:xre(e,l,y,x,S,()=>{C=!0});if(C)return x;let T=Sre(e,w,Fne(wre(e,y,b,u))),E=r?r(T,l):T;if(p&&Bn(E)&&(E=Mte(E)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:Bn(l)?l:Gr(x)?x.key:``,locale:y||(Gr(x)?x.locale:``),format:Bn(x)?x:Gr(x)?x.source:``,message:E};t.meta=Mn({},e.__meta,rre()||{}),Rne(t)}return E}function yre(e){Rn(e.list)?e.list=e.list.map(e=>Bn(e)?Fn(e):e):Hn(e.named)&&Object.keys(e.named).forEach(t=>{Bn(e.named[t])&&(e.named[t]=Fn(e.named[t]))})}function bre(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:l,localeFallbacker:u}=e,d=u(e,r,n),f=Nn(),p,m=null;for(let n=0;n<d.length&&(p=d[n],f=o[p]||Nn(),(m=l(f,t))===null&&(m=f[t]),!(Bn(m)||pr(m)||Gr(m)));n++)if(!ure(p,d)){let n=Br(e,t,p,a,`translate`);n!==t&&(m=n)}return[m,p,f]}function xre(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(Gr(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let l=o(r,Cre(e,n,i,r,s,a));return l.locale=n,l.key=t,l.source=r,l}function Sre(e,t,n){return t(n)}function Kr(...e){let[t,n,r]=e,i=Nn();if(!Bn(t)&&!kn(t)&&!Gr(t)&&!pr(t))throw Fr(Pr.INVALID_ARGUMENT);let a=kn(t)?String(t):(Gr(t),t);return kn(n)?i.plural=n:Bn(n)?i.default=n:Gn(n)&&!jn(n)?i.named=n:Rn(n)&&(i.list=n),kn(r)?i.plural=r:Bn(r)?i.default=r:Gn(r)&&Mn(i,r),[a,i]}function Cre(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>Dte(t,n,e)}}function wre(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:l,missingWarn:u,fallbackContext:d}=e,f={locale:t,modifiers:i,pluralRules:a,messages:r=>{let i=o(n,r);if(i==null&&d){let[,,e]=bre(d,r,t,s,l,u);i=o(e,r)}if(Bn(i)||pr(i)){let n=!1,a=xre(e,r,t,i,r,()=>{n=!0});return n?_re:a}return Gr(i)?i:_re}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),kn(r.plural)&&(f.pluralIndex=r.plural),f}var Tre=typeof Intl<`u`;Tre&&Intl.DateTimeFormat,Tre&&Intl.NumberFormat;function Ere(e,...t){let{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__datetimeFormatters:s}=e,[l,u,d,f]=qr(...t),p=Vn(d.missingWarn)?d.missingWarn:e.missingWarn;Vn(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let m=!!d.part,h=Ir(e,d),g=o(e,i,h);if(!Bn(l)||l===``)return new Intl.DateTimeFormat(h,f).format(u);let _={},v,y=null;for(let t=0;t<g.length&&(v=g[t],_=n[v]||{},y=_[l],!Gn(y));t++)Br(e,l,v,p,`datetime format`);if(!Gn(y)||!Bn(v))return r?-1:l;let b=`${v}__${l}`;jn(f)||(b=`${b}__${JSON.stringify(f)}`);let x=s.get(b);return x||(x=new Intl.DateTimeFormat(v,Mn({},y,f)),s.set(b,x)),m?x.formatToParts(u):x.format(u)}var Dre=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function qr(...e){let[t,n,r,i]=e,a=Nn(),o=Nn(),s;if(Bn(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Fr(Pr.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch{throw Fr(Pr.INVALID_ISO_DATE_ARGUMENT)}}else if(kte(t)){if(isNaN(t.getTime()))throw Fr(Pr.INVALID_DATE_ARGUMENT);s=t}else if(kn(t))s=t;else throw Fr(Pr.INVALID_ARGUMENT);return Bn(n)?a.key=n:Gn(n)&&Object.keys(n).forEach(e=>{Dre.includes(e)?o[e]=n[e]:a[e]=n[e]}),Bn(r)?a.locale=r:Gn(r)&&(o=r),Gn(i)&&(o=i),[a.key||``,s,a,o]}function Ore(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}}function kre(e,...t){let{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:a,localeFallbacker:o}=e,{__numberFormatters:s}=e,[l,u,d,f]=Jr(...t),p=Vn(d.missingWarn)?d.missingWarn:e.missingWarn;Vn(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;let m=!!d.part,h=Ir(e,d),g=o(e,i,h);if(!Bn(l)||l===``)return new Intl.NumberFormat(h,f).format(u);let _={},v,y=null;for(let t=0;t<g.length&&(v=g[t],_=n[v]||{},y=_[l],!Gn(y));t++)Br(e,l,v,p,`number format`);if(!Gn(y)||!Bn(v))return r?-1:l;let b=`${v}__${l}`;jn(f)||(b=`${b}__${JSON.stringify(f)}`);let x=s.get(b);return x||(x=new Intl.NumberFormat(v,Mn({},y,f)),s.set(b,x)),m?x.formatToParts(u):x.format(u)}var Are=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function Jr(...e){let[t,n,r,i]=e,a=Nn(),o=Nn();if(!kn(t))throw Fr(Pr.INVALID_ARGUMENT);let s=t;return Bn(n)?a.key=n:Gn(n)&&Object.keys(n).forEach(e=>{Are.includes(e)?o[e]=n[e]:a[e]=n[e]}),Bn(r)?a.locale=r:Gn(r)&&(o=r),Gn(i)&&(o=i),[a.key||``,s,a,o]}function jre(e,t,n){let r=e;for(let e in n){let n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}}fne(),m(),ie();var Mre=`9.14.5`;function Nre(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(Pn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(Pn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!=`boolean`&&(Pn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Pn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Pn().__INTLIFY_PROD_DEVTOOLS__=!1)}var Pre=Mr.__EXTEND_POINT__,Yr=Kn(Pre),Xr={FALLBACK_TO_ROOT:Pre,NOT_SUPPORTED_PRESERVE:Yr(),NOT_SUPPORTED_FORMATTER:Yr(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Yr(),NOT_SUPPORTED_GET_CHOICE_INDEX:Yr(),COMPONENT_NAME_LEGACY_COMPATIBLE:Yr(),NOT_FOUND_PARENT_SCOPE:Yr(),IGNORE_OBJ_FLATTEN:Yr(),NOTICE_DROP_ALLOW_COMPOSITION:Yr(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Yr()};Xr.FALLBACK_TO_ROOT,Xr.NOT_SUPPORTED_PRESERVE,Xr.NOT_SUPPORTED_FORMATTER,Xr.NOT_SUPPORTED_PRESERVE_DIRECTIVE,Xr.NOT_SUPPORTED_GET_CHOICE_INDEX,Xr.COMPONENT_NAME_LEGACY_COMPATIBLE,Xr.NOT_FOUND_PARENT_SCOPE,Xr.IGNORE_OBJ_FLATTEN,Xr.NOTICE_DROP_ALLOW_COMPOSITION,Xr.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG;var Fre=Pr.__EXTEND_POINT__,Zr=Kn(Fre),Qr={UNEXPECTED_RETURN_TYPE:Fre,INVALID_ARGUMENT:Zr(),MUST_BE_CALL_SETUP_TOP:Zr(),NOT_INSTALLED:Zr(),NOT_AVAILABLE_IN_LEGACY_MODE:Zr(),REQUIRED_VALUE:Zr(),INVALID_VALUE:Zr(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Zr(),NOT_INSTALLED_WITH_PROVIDE:Zr(),UNEXPECTED_ERROR:Zr(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Zr(),BRIDGE_SUPPORT_VUE_2_ONLY:Zr(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Zr(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Zr(),__EXTEND_POINT__:Zr()};function $r(e,...t){return nr(e,null,void 0)}Qr.UNEXPECTED_RETURN_TYPE,Qr.INVALID_ARGUMENT,Qr.MUST_BE_CALL_SETUP_TOP,Qr.NOT_INSTALLED,Qr.UNEXPECTED_ERROR,Qr.NOT_AVAILABLE_IN_LEGACY_MODE,Qr.REQUIRED_VALUE,Qr.INVALID_VALUE,Qr.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,Qr.NOT_INSTALLED_WITH_PROVIDE,Qr.NOT_COMPATIBLE_LEGACY_VUE_I18N,Qr.BRIDGE_SUPPORT_VUE_2_ONLY,Qr.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,Qr.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var ei=On(`__translateVNode`),ti=On(`__datetimeParts`),ni=On(`__numberParts`),ri=On(`__setPluralRules`);On(`__intlifyMeta`);var ii=On(`__injectWithOption`),ai=On(`__dispose`);function oi(e){if(!Hn(e)||pr(e))return e;for(let t in e)if(Ln(e,t)){if(!t.includes(`.`))Hn(e[t])&&oi(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=Nn()),!Hn(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(pr(i)?wr.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!pr(i)){let e=i[n[r]];Hn(e)&&oi(e)}}}return e}function si(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=Gn(n)?n:Rn(r)?Nn():{[e]:Nn()};if(Rn(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;t?(o[t]=o[t]||Nn(),Jn(n,o[t])):Jn(n,o)}else Bn(e)&&Jn(JSON.parse(e),o)}),i==null&&a)for(let e in o)Ln(o,e)&&oi(o[e]);return o}function Ire(e){return e.type}function ci(e,t,n){let r=Hn(t.messages)?t.messages:Nn();`__i18nGlobal`in n&&(r=si(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),Hn(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(Hn(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function li(e){return a(P,null,e,0)}var ui=()=>[],Lre=()=>!1,di=0;function fi(e){return((t,n,r,i)=>e(n,r,y()||void 0,i))}function pi(e={},t){let{__root:n,__injectWithOption:r}=e,i=n===void 0,a=e.flatJson,o=Dn?B:M,s=!!e.translateExistCompatible,l=!Vn(e.inheritLocale)||e.inheritLocale,u=o(n&&l?n.locale.value:Bn(e.locale)?e.locale:Rr),d=o(n&&l?n.fallbackLocale.value:Bn(e.fallbackLocale)||Rn(e.fallbackLocale)||Gn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),f=o(si(u.value,e)),p=o(Gn(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),m=o(Gn(e.numberFormats)?e.numberFormats:{[u.value]:{}}),h=n?n.missingWarn:Vn(e.missingWarn)||An(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Vn(e.fallbackWarn)||An(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:!Vn(e.fallbackRoot)||e.fallbackRoot,v=!!e.fallbackFormat,y=zn(e.missing)?e.missing:null,b=zn(e.missing)?fi(e.missing):null,x=zn(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:!Vn(e.warnHtmlMessage)||e.warnHtmlMessage,C=!!e.escapeParameter,w=n?n.modifiers:Gn(e.modifiers)?e.modifiers:{},T=e.pluralRules||n&&n.pluralRules,E;E=(()=>{i&&are(null);let t={version:Mre,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:w,pluralRules:T,missing:b===null?void 0:b,missingWarn:h,fallbackWarn:g,fallbackFormat:v,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=p.value,t.numberFormats=m.value,t.__datetimeFormatters=Gn(E)?E.__datetimeFormatters:void 0,t.__numberFormatters=Gn(E)?E.__numberFormatters:void 0;let n=cre(t);return i&&are(n),n})(),Vr(E,u.value,d.value);function D(){return[u.value,d.value,f.value,p.value,m.value]}let O=U({get:()=>u.value,set:e=>{u.value=e,E.locale=u.value}}),k=U({get:()=>d.value,set:e=>{d.value=e,E.fallbackLocale=d.value,Vr(E,u.value,e)}}),A=U(()=>f.value),j=U(()=>p.value),N=U(()=>m.value);function P(){return zn(x)?x:null}function F(e){x=e,E.postTranslation=e}function I(){return y}function L(e){e!==null&&(b=fi(e)),y=e,E.missing=b}let R=(e,t,r,a,o,s)=>{D();let l;try{__INTLIFY_PROD_DEVTOOLS__,i||(E.fallbackContext=n?ore():void 0),l=e(E)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(E.fallbackContext=void 0)}if(r!==`translate exists`&&kn(l)&&l===-1||r===`translate exists`&&!l){let[e,r]=t();return n&&_?a(n):o(e)}if(s(l))return l;throw $r(Qr.UNEXPECTED_RETURN_TYPE)};function z(...e){return R(t=>Reflect.apply(vre,null,[t,...e]),()=>Kr(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>Bn(e))}function ee(...e){let[t,n,r]=e;if(r&&!Hn(r))throw $r(Qr.INVALID_ARGUMENT);return z(t,n,Mn({resolvedMessage:!0},r||{}))}function te(...e){return R(t=>Reflect.apply(Ere,null,[t,...e]),()=>qr(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>Bn(e))}function ne(...e){return R(t=>Reflect.apply(kre,null,[t,...e]),()=>Jr(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>Bn(e))}function re(e){return e.map(e=>Bn(e)||kn(e)||Vn(e)?li(String(e)):e)}let ie={normalize:re,interpolate:e=>e,type:`vnode`};function ae(...e){return R(t=>{let n,r=t;try{r.processor=ie,n=Reflect.apply(vre,null,[r,...e])}finally{r.processor=null}return n},()=>Kr(...e),`translate`,t=>t[ei](...e),e=>[li(e)],e=>Rn(e))}function oe(...e){return R(t=>Reflect.apply(kre,null,[t,...e]),()=>Jr(...e),`number format`,t=>t[ni](...e),ui,e=>Bn(e)||Rn(e))}function se(...e){return R(t=>Reflect.apply(Ere,null,[t,...e]),()=>qr(...e),`datetime format`,t=>t[ti](...e),ui,e=>Bn(e)||Rn(e))}function ce(e){T=e,E.pluralRules=T}function le(e,t){return R(()=>{if(!e)return!1;let n=de(Bn(t)?t:u.value),r=E.messageResolver(n,e);return s?r!=null:pr(r)||Gr(r)||Bn(r)},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Lre,e=>Vn(e))}function H(e){let t=null,n=Une(E,d.value,u.value);for(let r=0;r<n.length;r++){let i=f.value[n[r]]||{},a=E.messageResolver(i,e);if(a!=null){t=a;break}}return t}function ue(e){return H(e)??(n&&n.tm(e)||{})}function de(e){return f.value[e]||{}}function fe(e,t){if(a){let n={[e]:t};for(let e in n)Ln(n,e)&&oi(n[e]);t=n[e]}f.value[e]=t,E.messages=f.value}function pe(e,t){f.value[e]=f.value[e]||{};let n={[e]:t};if(a)for(let e in n)Ln(n,e)&&oi(n[e]);t=n[e],Jn(t,f.value[e]),E.messages=f.value}function me(e){return p.value[e]||{}}function he(e,t){p.value[e]=t,E.datetimeFormats=p.value,Ore(E,e,t)}function ge(e,t){p.value[e]=Mn(p.value[e]||{},t),E.datetimeFormats=p.value,Ore(E,e,t)}function _e(e){return m.value[e]||{}}function ve(e,t){m.value[e]=t,E.numberFormats=m.value,jre(E,e,t)}function ye(e,t){m.value[e]=Mn(m.value[e]||{},t),E.numberFormats=m.value,jre(E,e,t)}di++,n&&Dn&&(V(n.locale,e=>{l&&(u.value=e,E.locale=e,Vr(E,u.value,d.value))}),V(n.fallbackLocale,e=>{l&&(d.value=e,E.fallbackLocale=e,Vr(E,u.value,d.value))}));let be={id:di,locale:O,fallbackLocale:k,get inheritLocale(){return l},set inheritLocale(e){l=e,e&&n&&(u.value=n.locale.value,d.value=n.fallbackLocale.value,Vr(E,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:A,get modifiers(){return w},get pluralRules(){return T||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(e){h=e,E.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(e){g=e,E.fallbackWarn=g},get fallbackRoot(){return _},set fallbackRoot(e){_=e},get fallbackFormat(){return v},set fallbackFormat(e){v=e,E.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(e){S=e,E.warnHtmlMessage=e},get escapeParameter(){return C},set escapeParameter(e){C=e,E.escapeParameter=e},t:z,getLocaleMessage:de,setLocaleMessage:fe,mergeLocaleMessage:pe,getPostTranslationHandler:P,setPostTranslationHandler:F,getMissingHandler:I,setMissingHandler:L,[ri]:ce};return be.datetimeFormats=j,be.numberFormats=N,be.rt=ee,be.te=le,be.tm=ue,be.d=te,be.n=ne,be.getDateTimeFormat=me,be.setDateTimeFormat=he,be.mergeDateTimeFormat=ge,be.getNumberFormat=_e,be.setNumberFormat=ve,be.mergeNumberFormat=ye,be[ii]=r,be[ei]=ae,be[ti]=se,be[ni]=oe,be}function Rre(e){let t=Bn(e.locale)?e.locale:Rr,n=Bn(e.fallbackLocale)||Rn(e.fallbackLocale)||Gn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=zn(e.missing)?e.missing:void 0,i=Vn(e.silentTranslationWarn)||An(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=Vn(e.silentFallbackWarn)||An(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=!Vn(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,l=Gn(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,d=zn(e.postTranslation)?e.postTranslation:void 0,f=!Bn(e.warnHtmlInMessage)||e.warnHtmlInMessage!==`off`,p=!!e.escapeParameterHtml,m=!Vn(e.sync)||e.sync,h=e.messages;if(Gn(e.sharedMessages)){let t=e.sharedMessages;h=Object.keys(t).reduce((e,n)=>(Mn(e[n]||(e[n]={}),t[n]),e),h||{})}let{__i18n:g,__root:_,__injectWithOption:v}=e,y=e.datetimeFormats,b=e.numberFormats,x=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:h,flatJson:x,datetimeFormats:y,numberFormats:b,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:l,pluralRules:u,postTranslation:d,warnHtmlMessage:f,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:m,translateExistCompatible:S,__i18n:g,__root:_,__injectWithOption:v}}function mi(e={},t){{let t=pi(Rre(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return Vn(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=Vn(e)?!e:e},get silentFallbackWarn(){return Vn(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=Vn(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){let[n,r,i]=e,a={},o=null,s=null;if(!Bn(n))throw $r(Qr.INVALID_ARGUMENT);let l=n;return Bn(r)?a.locale=r:Rn(r)?o=r:Gn(r)&&(s=r),Rn(i)?o=i:Gn(i)&&(s=i),Reflect.apply(t.t,t,[l,o||s||{},a])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){let[n,r,i]=e,a={plural:1},o=null,s=null;if(!Bn(n))throw $r(Qr.INVALID_ARGUMENT);let l=n;return Bn(r)?a.locale=r:kn(r)?a.plural=r:Rn(r)?o=r:Gn(r)&&(s=r),Bn(i)?a.locale=i:Rn(i)?o=i:Gn(i)&&(s=i),Reflect.apply(t.t,t,[l,o||s||{},a])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex(e,t){return-1}};return r.__extender=n,r}}var hi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function zre({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===j?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},Nn())}function gi(e){return j}var _i=v({name:`i18n-t`,props:Mn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>kn(e)||!isNaN(e)}},hi),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||wi({useScope:e.scope,__useComponent:!0});return()=>{let a=Object.keys(n).filter(e=>e!==`_`),o=Nn();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Bn(e.plural)?+e.plural:e.plural);let s=zre(t,a),l=i[ei](e.keypath,s,o),u=Mn(Nn(),r),d=Bn(e.tag)||Hn(e.tag)?e.tag:gi();return S(d,u,l)}}});function Bre(e){return Rn(e)&&!Bn(e[0])}function vi(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t={part:!0},o=Nn();e.locale&&(t.locale=e.locale),Bn(e.format)?t.key=e.format:Hn(e.format)&&(Bn(e.format.key)&&(t.key=e.format.key),o=Object.keys(e.format).reduce((t,r)=>n.includes(r)?Mn(Nn(),t,{[r]:e.format[r]}):t,Nn()));let s=r(e.value,t,o),l=[t.key];Rn(s)?l=s.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:s}):[e.value];return Bre(r)&&(r[0].key=`${e.type}-${t}`),r}):Bn(s)&&(l=[s]);let u=Mn(Nn(),a),d=Bn(e.tag)||Hn(e.tag)?e.tag:gi();return S(d,u,l)}}var yi=v({name:`i18n-n`,props:Mn({value:{type:Number,required:!0},format:{type:[String,Object]}},hi),setup(e,t){let n=e.i18n||wi({useScope:e.scope,__useComponent:!0});return vi(e,t,Are,(...e)=>n[ni](...e))}}),bi=v({name:`i18n-d`,props:Mn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},hi),setup(e,t){let n=e.i18n||wi({useScope:e.scope,__useComponent:!0});return vi(e,t,Dre,(...e)=>n[ti](...e))}});function Vre(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Hre(e){let t=t=>{let{instance:n,modifiers:r,value:i}=t;if(!n||!n.$)throw $r(Qr.UNEXPECTED_ERROR);let a=Vre(e,n.$),o=xi(i);return[Reflect.apply(a.t,a,[...Si(o)]),a]};return{created:(n,r)=>{let[i,a]=t(r);Dn&&e.global===a&&(n.__i18nWatcher=V(a.locale,()=>{r.instance&&r.instance.$forceUpdate()})),n.__composer=a,n.textContent=i},unmounted:e=>{Dn&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=xi(t);e.textContent=Reflect.apply(n.t,n,[...Si(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function xi(e){if(Bn(e))return{path:e};if(Gn(e)){if(!(`path`in e))throw $r(Qr.REQUIRED_VALUE,`path`);return e}throw $r(Qr.INVALID_VALUE)}function Si(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return Bn(n)&&(o.locale=n),kn(i)&&(o.plural=i),kn(a)&&(o.plural=a),[t,s,o]}function Ure(e,t,...n){let r=Gn(n[0])?n[0]:{},i=!!r.useI18nComponentName;(!Vn(r.globalInstall)||r.globalInstall)&&([i?`i18n`:_i.name,`I18nT`].forEach(t=>e.component(t,_i)),[yi.name,`I18nN`].forEach(t=>e.component(t,yi)),[bi.name,`I18nD`].forEach(t=>e.component(t,bi))),e.directive(`t`,Hre(t))}function Wre(e,t,n){return{beforeCreate(){let r=y();if(!r)throw $r(Qr.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=Ci(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=mi(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n){if(this===this.$root)this.$i18n=Ci(e,i);else{this.$i18n=mi({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else this.$i18n=e;i.__i18nGlobal&&ci(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=y();if(!e)throw $r(Qr.UNEXPECTED_ERROR);let t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function Ci(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ri](t.pluralizationRules||e.pluralizationRules);let n=si(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Gre=On(`global-vue-i18n`);function Kre(e={},t){let n=__VUE_I18N_LEGACY_API__&&Vn(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=!Vn(e.globalInjection)||e.globalInjection,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,a=new Map,[o,s]=qre(e,n),l=On(``);function u(e){return a.get(e)||null}function d(e,t){a.set(e,t)}function f(e){a.delete(e)}{let e={get mode(){return __VUE_I18N_LEGACY_API__&&n?`legacy`:`composition`},get allowComposition(){return i},async install(t,...i){if(t.__VUE_I18N_SYMBOL__=l,t.provide(t.__VUE_I18N_SYMBOL__,e),Gn(i[0])){let t=i[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let a=null;!n&&r&&(a=nie(t,e.global)),__VUE_I18N_FULL_INSTALL__&&Ure(t,e,...i),__VUE_I18N_LEGACY_API__&&n&&t.mixin(Wre(s,s.__composer,e));let o=t.unmount;t.unmount=()=>{a&&a(),e.dispose(),o()}},get global(){return s},dispose(){o.stop()},__instances:a,__getInstance:u,__setInstance:d,__deleteInstance:f};return e}}function wi(e={}){let t=y();if(t==null)throw $r(Qr.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $r(Qr.NOT_INSTALLED);let n=Jre(t),r=Xre(n),i=Ire(t),a=Yre(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode===`legacy`&&!e.__useComponent){if(!n.allowComposition)throw $r(Qr.NOT_AVAILABLE_IN_LEGACY_MODE);return eie(t,a,r,e)}if(a===`global`)return ci(r,e,i),r;if(a===`parent`){let i=Zre(n,t,e.__useComponent);return i??=r,i}let o=n,s=o.__getInstance(t);if(s==null){let n=Mn({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=pi(n),o.__composerExtend&&(s[ai]=o.__composerExtend(s)),$re(o,t,s),o.__setInstance(t,s)}return s}function qre(e,t,n){let r=ue();{let n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>mi(e)):r.run(()=>pi(e));if(n==null)throw $r(Qr.UNEXPECTED_ERROR);return[r,n]}}function Jre(e){{let t=_(e.isCE?Gre:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $r(e.isCE?Qr.NOT_INSTALLED_WITH_PROVIDE:Qr.UNEXPECTED_ERROR);return t}}function Yre(e,t){return jn(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function Xre(e){return e.mode===`composition`?e.global:e.global.__composer}function Zre(e,t,n=!1){let r=null,i=t.root,a=Qre(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[ii]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function Qre(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function $re(e,t,n){d(()=>{},t),g(()=>{let r=n;e.__deleteInstance(t);let i=r[ai];i&&(i(),delete r[ai])},t)}function eie(e,t,n,r={}){let i=t===`local`,a=M(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw $r(Qr.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);let o=Vn(r.inheritLocale)?r.inheritLocale:!Bn(r.locale),s=B(!i||o?n.locale.value:Bn(r.locale)?r.locale:Rr),l=B(!i||o?n.fallbackLocale.value:Bn(r.fallbackLocale)||Rn(r.fallbackLocale)||Gn(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:s.value),u=B(si(s.value,r)),d=B(Gn(r.datetimeFormats)?r.datetimeFormats:{[s.value]:{}}),f=B(Gn(r.numberFormats)?r.numberFormats:{[s.value]:{}}),m=i?n.missingWarn:Vn(r.missingWarn)||An(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:Vn(r.fallbackWarn)||An(r.fallbackWarn)?r.fallbackWarn:!0,g=i?n.fallbackRoot:!Vn(r.fallbackRoot)||r.fallbackRoot,_=!!r.fallbackFormat,v=zn(r.missing)?r.missing:null,y=zn(r.postTranslation)?r.postTranslation:null,b=i?n.warnHtmlMessage:!Vn(r.warnHtmlMessage)||r.warnHtmlMessage,x=!!r.escapeParameter,S=i?n.modifiers:Gn(r.modifiers)?r.modifiers:{},C=r.pluralRules||i&&n.pluralRules;function w(){return[s.value,l.value,u.value,d.value,f.value]}let T=U({get:()=>a.value?a.value.locale.value:s.value,set:e=>{a.value&&(a.value.locale.value=e),s.value=e}}),E=U({get:()=>a.value?a.value.fallbackLocale.value:l.value,set:e=>{a.value&&(a.value.fallbackLocale.value=e),l.value=e}}),D=U(()=>a.value?a.value.messages.value:u.value),O=U(()=>d.value),k=U(()=>f.value);function A(){return a.value?a.value.getPostTranslationHandler():y}function j(e){a.value&&a.value.setPostTranslationHandler(e)}function N(){return a.value?a.value.getMissingHandler():v}function P(e){a.value&&a.value.setMissingHandler(e)}function F(e){return w(),e()}function I(...e){return a.value?F(()=>Reflect.apply(a.value.t,null,[...e])):F(()=>``)}function L(...e){return a.value?Reflect.apply(a.value.rt,null,[...e]):``}function R(...e){return a.value?F(()=>Reflect.apply(a.value.d,null,[...e])):F(()=>``)}function z(...e){return a.value?F(()=>Reflect.apply(a.value.n,null,[...e])):F(()=>``)}function ee(e){return a.value?a.value.tm(e):{}}function te(e,t){return a.value?a.value.te(e,t):!1}function ne(e){return a.value?a.value.getLocaleMessage(e):{}}function re(e,t){a.value&&(a.value.setLocaleMessage(e,t),u.value[e]=t)}function ie(e,t){a.value&&a.value.mergeLocaleMessage(e,t)}function ae(e){return a.value?a.value.getDateTimeFormat(e):{}}function oe(e,t){a.value&&(a.value.setDateTimeFormat(e,t),d.value[e]=t)}function V(e,t){a.value&&a.value.mergeDateTimeFormat(e,t)}function se(e){return a.value?a.value.getNumberFormat(e):{}}function ce(e,t){a.value&&(a.value.setNumberFormat(e,t),f.value[e]=t)}function le(e,t){a.value&&a.value.mergeNumberFormat(e,t)}let H={get id(){return a.value?a.value.id:-1},locale:T,fallbackLocale:E,messages:D,datetimeFormats:O,numberFormats:k,get inheritLocale(){return a.value?a.value.inheritLocale:o},set inheritLocale(e){a.value&&(a.value.inheritLocale=e)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(u.value)},get modifiers(){return a.value?a.value.modifiers:S},get pluralRules(){return a.value?a.value.pluralRules:C},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:m},set missingWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackWarn(){return a.value?a.value.fallbackWarn:h},set fallbackWarn(e){a.value&&(a.value.missingWarn=e)},get fallbackRoot(){return a.value?a.value.fallbackRoot:g},set fallbackRoot(e){a.value&&(a.value.fallbackRoot=e)},get fallbackFormat(){return a.value?a.value.fallbackFormat:_},set fallbackFormat(e){a.value&&(a.value.fallbackFormat=e)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:b},set warnHtmlMessage(e){a.value&&(a.value.warnHtmlMessage=e)},get escapeParameter(){return a.value?a.value.escapeParameter:x},set escapeParameter(e){a.value&&(a.value.escapeParameter=e)},t:I,getPostTranslationHandler:A,setPostTranslationHandler:j,getMissingHandler:N,setMissingHandler:P,rt:L,d:R,n:z,tm:ee,te,getLocaleMessage:ne,setLocaleMessage:re,mergeLocaleMessage:ie,getDateTimeFormat:ae,setDateTimeFormat:oe,mergeDateTimeFormat:V,getNumberFormat:se,setNumberFormat:ce,mergeNumberFormat:le};function ue(e){e.locale.value=s.value,e.fallbackLocale.value=l.value,Object.keys(u.value).forEach(t=>{e.mergeLocaleMessage(t,u.value[t])}),Object.keys(d.value).forEach(t=>{e.mergeDateTimeFormat(t,d.value[t])}),Object.keys(f.value).forEach(t=>{e.mergeNumberFormat(t,f.value[t])}),e.escapeParameter=x,e.fallbackFormat=_,e.fallbackRoot=g,e.fallbackWarn=h,e.missingWarn=m,e.warnHtmlMessage=b}return p(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw $r(Qr.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);let n=a.value=e.proxy.$i18n.__composer;t===`global`?(s.value=n.locale.value,l.value=n.fallbackLocale.value,u.value=n.messages.value,d.value=n.datetimeFormats.value,f.value=n.numberFormats.value):i&&ue(n)}),H}var tie=[`locale`,`fallbackLocale`,`availableLocales`],Ti=[`t`,`rt`,`d`,`n`,`tm`,`te`];function nie(e,t){let n=Object.create(null);return tie.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw $r(Qr.UNEXPECTED_ERROR);let i=L(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,Ti.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw $r(Qr.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ti.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}if(Nre(),__INTLIFY_JIT_COMPILATION__?Zne(gre):Zne(hre),$ne(Dne),tre(Une),__INTLIFY_PROD_DEVTOOLS__){let e=Pn();e.__INTLIFY__=!0,Ine(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var Ei={};function rie(e){let t=Ei[e];if(t)return t;t=Ei[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function Di(e,t){typeof t!=`string`&&(t=Di.defaultChars);let n=rie(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}Di.defaultChars=`;/?:@&=+$,#`,Di.componentChars=``;var Oi={};function iie(e){let t=Oi[e];if(t)return t;t=Oi[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function ki(e,t,n){typeof t!=`string`&&(n=t,t=ki.defaultChars),n===void 0&&(n=!0);let r=iie(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}ki.defaultChars=`;/?:@&=+$,-_.!~*'()#`,ki.componentChars=`-_.!~*'()`;function Ai(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function ji(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var aie=/^([a-z0-9.+-]+:)/i,oie=/:[0-9]*$/,sie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Mi=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
5
5
|
`,` `],Ni=[`/`,`?`,`#`],cie=255,Pi=/^[+a-z0-9A-Z_-]{0,63}$/,lie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Fi={javascript:!0,"javascript:":!0},Ii={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Li(e,t){if(e&&e instanceof ji)return e;let n=new ji;return n.parse(e,t),n}ji.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=sie.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=aie.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&Fi[o])&&(a=a.substr(2),this.slashes=!0)),!Fi[o]&&(i||o&&!Ii[o])){let e=-1;for(let t=0;t<Ni.length;t++)r=a.indexOf(Ni[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<Mi.length;t++)r=a.indexOf(Mi[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(Pi)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(Pi)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(lie);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>cie&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let l=a.indexOf(`?`);return l!==-1&&(this.search=a.substr(l),a=a.slice(0,l)),a&&(this.pathname=a),Ii[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},ji.prototype.parseHost=function(e){let t=oie.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var uie=r({decode:()=>Di,encode:()=>ki,format:()=>Ai,parse:()=>Li}),Ri=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,zi=/[\0-\x1F\x7F-\x9F]/,die=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Bi=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Vi=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Hi=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,fie=r({Any:()=>Ri,Cc:()=>zi,Cf:()=>die,P:()=>Bi,S:()=>Vi,Z:()=>Hi}),pie=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),mie=new Uint16Array(`Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢`.split(``).map(e=>e.charCodeAt(0))),hie=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),gie=String.fromCodePoint??function(e){let t=``;return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function _ie(e){return e>=55296&&e<=57343||e>1114111?65533:hie.get(e)??e}var Ui;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(Ui||={});var vie=32,Wi;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(Wi||={});function Gi(e){return e>=Ui.ZERO&&e<=Ui.NINE}function yie(e){return e>=Ui.UPPER_A&&e<=Ui.UPPER_F||e>=Ui.LOWER_A&&e<=Ui.LOWER_F}function bie(e){return e>=Ui.UPPER_A&&e<=Ui.UPPER_Z||e>=Ui.LOWER_A&&e<=Ui.LOWER_Z||Gi(e)}function xie(e){return e===Ui.EQUALS||bie(e)}var Ki;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Ki||={});var qi;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(qi||={});var Sie=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Ki.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=qi.Strict}startEntity(e){this.decodeMode=e,this.state=Ki.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Ki.EntityStart:return e.charCodeAt(t)===Ui.NUM?(this.state=Ki.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Ki.NamedEntity,this.stateNamedEntity(e,t));case Ki.NumericStart:return this.stateNumericStart(e,t);case Ki.NumericDecimal:return this.stateNumericDecimal(e,t);case Ki.NumericHex:return this.stateNumericHex(e,t);case Ki.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|vie)===Ui.LOWER_X?(this.state=Ki.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Ki.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Gi(r)||yie(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(Gi(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ui.SEMI)this.consumed+=1;else if(this.decodeMode===qi.Strict)return 0;return this.emitCodePoint(_ie(this.result),this.consumed),this.errors&&(e!==Ui.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&Wi.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=Cie(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===qi.Attribute&&(i===0||xie(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&Wi.VALUE_LENGTH)>>14,i!==0){if(a===Ui.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==qi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&Wi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~Wi.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Ki.NamedEntity:return this.result!==0&&(this.decodeMode!==qi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ki.NumericDecimal:return this.emitNumericEntity(0,2);case Ki.NumericHex:return this.emitNumericEntity(0,3);case Ki.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ki.EntityStart:return 0}}};function Ji(e){let t=``,n=new Sie(e,e=>t+=gie(e));return function(e,r){let i=0,a=0;for(;(a=e.indexOf(`&`,a))>=0;){t+=e.slice(i,a),n.startEntity(r);let o=n.write(e,a+1);if(o<0){i=a+n.end();break}i=a+o,a=o===0?i+1:i}let o=t+e.slice(i);return t=``,o}}function Cie(e,t,n,r){let i=(t&Wi.BRANCH_LENGTH)>>7,a=t&Wi.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var Yi=Ji(pie);Ji(mie);function wie(e,t=qi.Legacy){return Yi(e,t)}function Tie(e){return Yi(e,qi.Strict)}var Eie=r({arrayReplaceAt:()=>Aie,asciiTrim:()=>ua,assign:()=>Zi,escapeHtml:()=>na,escapeRE:()=>Bie,fromCodePoint:()=>$i,has:()=>kie,isMdAsciiPunct:()=>sa,isPunctChar:()=>aa,isPunctCharCode:()=>oa,isSpace:()=>ra,isString:()=>Xi,isValidEntityCode:()=>Qi,isWhiteSpace:()=>ia,lib:()=>Vie,normalizeReference:()=>ca,unescapeAll:()=>ta,unescapeMd:()=>Pie});function Die(e){return Object.prototype.toString.call(e)}function Xi(e){return Die(e)===`[object String]`}var Oie=Object.prototype.hasOwnProperty;function kie(e,t){return Oie.call(e,t)}function Zi(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!=`object`)throw TypeError(t+`must be object`);Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function Aie(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Qi(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function $i(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var ea=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,jie=RegExp(ea.source+`|&([a-z#][a-z0-9]{1,31});`,`gi`),Mie=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Nie(e,t){if(t.charCodeAt(0)===35&&Mie.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Qi(n)?$i(n):e}let n=wie(e);return n===e?e:n}function Pie(e){return e.indexOf(`\\`)<0?e:e.replace(ea,`$1`)}function ta(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(jie,function(e,t,n){return t||Nie(e,n)})}var Fie=/[&<>"]/,Iie=/[&<>"]/g,Lie={"&":`&`,"<":`<`,">":`>`,'"':`"`};function Rie(e){return Lie[e]}function na(e){return Fie.test(e)?e.replace(Iie,Rie):e}var zie=/[.?*+^$[\]\\(){}|-]/g;function Bie(e){return e.replace(zie,`\\$&`)}function ra(e){switch(e){case 9:case 32:return!0}return!1}function ia(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function aa(e){return Bi.test(e)||Vi.test(e)}function oa(e){return aa($i(e))}function sa(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ca(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function la(e){return e===32||e===9||e===10||e===13}function ua(e){let t=0;for(;t<e.length&&la(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&la(e.charCodeAt(n));n--);return e.slice(t,n+1)}var Vie={mdurl:uie,ucmicro:fie};function Hie(e,t,n){let r,i,a,o,s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=l,-1}}let u=-1;return i&&(u=e.pos),e.pos=l,u}function Uie(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=ta(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=ta(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function Wie(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=ta(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=ta(e.slice(t,a)),o}var Gie=r({parseLinkDestination:()=>Uie,parseLinkLabel:()=>Hie,parseLinkTitle:()=>Wie}),da={};da.code_inline=function(e,t,n,r,i){let a=e[t];return`<code`+i.renderAttrs(a)+`>`+na(a.content)+`</code>`},da.code_block=function(e,t,n,r,i){let a=e[t];return`<pre`+i.renderAttrs(a)+`><code>`+na(e[t].content)+`</code></pre>
|
|
@@ -1273,7 +1273,7 @@ ${P1e()}
|
|
|
1273
1273
|
.c4-shape line {
|
|
1274
1274
|
stroke-width: 2px;
|
|
1275
1275
|
}
|
|
1276
|
-
`,`getStyles`),init:K(({c4:e,wrap:t})=>{WZ.setConf(e),CZ.setWrap(t)},`init`)},GZ=K((e,t)=>{let n;return t===`sandbox`&&(n=Tt(`#i`+e)),Tt(t===`sandbox`?n.nodes()[0].contentDocument.body:`body`).select(`[id="${e}"]`)},`getDiagramElement`),KZ=K((e,t,n,r)=>{e.attr(`class`,n);let{width:i,height:a,x:o,y:s}=I1e(e,t);zt(e,a,i,r);let l=L1e(o,s,i,a,t);e.attr(`viewBox`,l),W.debug(`viewBox configured: ${l} with padding: ${t}`)},`setupViewPortForSVG`),I1e=K((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),L1e=K((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`),R1e={common:Qt,getConfig:Lt,insertCluster:Eee,insertEdge:nn,insertEdgeLabel:jt,insertMarkers:Yt,insertNode:It,interpolateToCurve:Le,labelHelper:$ee,log:W,positionEdgeLabel:Gt},qZ={},JZ=K(e=>{for(let t of e)qZ[t.name]=t},`registerLayoutLoaders`);K(()=>{JZ([{name:`dagre`,loader:K(async()=>await G(()=>import(`./dagre-DYyfV0Dg.js`).then(e=>e.n),__vite__mapDeps([0,1])),`loader`)},{name:`swimlane`,loader:K(async()=>await G(()=>Promise.resolve().then(()=>Det),void 0),`loader`)},{name:`cose-bilkent`,loader:K(async()=>await G(()=>Promise.resolve().then(()=>W1e),void 0),`loader`)}])},`registerDefaultLayoutLoaders`)();var YZ=K(async(e,t)=>{if(!(e.layoutAlgorithm in qZ))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=qZ[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:l}=a,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return r.render(e,t,R1e,{algorithm:n.algorithm})},`render`),XZ=K((e=``,{fallback:t=`dagre`}={})=>{if(e in qZ)return e;if(t in qZ)return W.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`),ZZ=(function(){var e=K(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,18],n=[1,19],r=[1,20],i=[1,41],a=[1,26],o=[1,42],s=[1,24],l=[1,25],u=[1,32],d=[1,33],f=[1,34],p=[1,45],m=[1,35],h=[1,36],g=[1,37],_=[1,38],v=[1,27],y=[1,28],b=[1,29],x=[1,30],S=[1,31],C=[1,44],w=[1,46],T=[1,43],E=[1,47],D=[1,9],O=[1,8,9],k=[1,58],A=[1,59],j=[1,60],M=[1,61],N=[1,62],P=[1,63],F=[1,64],I=[1,8,9,41],L=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],z=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],B=[13,60,86,100,102,103],ee=[13,60,73,74,86,100,102,103],te=[13,60,68,69,70,71,72,86,100,102,103],ne=[1,103],re=[1,121],ie=[1,117],ae=[1,113],oe=[1,119],V=[1,114],se=[1,115],ce=[1,116],le=[1,118],H=[1,120],ue=[22,50,60,61,82,86,87,88,89,90],de=[1,128],fe=[12,39],pe=[1,8,9,39,41,44,46],me=[1,8,9,22],U=[1,153],he=[1,8,9,61],ge=[1,8,9,22,50,60,61,82,86,87,88,89,90],_e={trace:K(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:`error`,7:`CLASS_DIAGRAM`,8:`NEWLINE`,9:`EOF`,12:`SQS`,13:`STR`,14:`SQE`,18:`DOT`,20:`GENERICTYPE`,22:`LABEL`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,39:`STRUCT_START`,41:`STRUCT_STOP`,42:`NAMESPACE`,44:`STYLE_SEPARATOR`,46:`ANNOTATION_START`,47:`ANNOTATION_END`,48:`CLASS`,50:`SPACE`,51:`MEMBER`,52:`SEPARATOR`,54:`NOTE_FOR`,56:`NOTE`,57:`CLASSDEF`,60:`ALPHA`,61:`COMMA`,62:`direction_tb`,63:`direction_bt`,64:`direction_rl`,65:`direction_lr`,68:`AGGREGATION`,69:`EXTENSION`,70:`COMPOSITION`,71:`DEPENDENCY`,72:`LOLLIPOP`,73:`LINE`,74:`DOTTED_LINE`,75:`CALLBACK`,76:`LINK`,77:`LINK_TARGET`,78:`CLICK`,79:`CALLBACK_NAME`,80:`CALLBACK_ARGS`,81:`HREF`,82:`STYLE`,83:`CSSCLASS`,86:`NUM`,87:`COLON`,88:`UNIT`,89:`BRKT`,90:`PCT`,93:`graphCodeTokens`,95:`TAGSTART`,96:`TAGEND`,97:`==`,98:`--`,99:`DEFAULT`,100:`MINUS`,101:`keywords`,102:`UNICODE_TEXT`,103:`BQUOTE_STR`},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:K(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 8:this.$=a[s-1];break;case 9:case 10:case 13:case 15:this.$=a[s];break;case 11:case 14:this.$=a[s-2]+`.`+a[s];break;case 12:case 16:this.$=a[s-1]+a[s];break;case 17:case 18:this.$=a[s-1]+`~`+a[s]+`~`;break;case 19:r.addRelation(a[s]);break;case 20:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:r.addClassesToNamespace(a[s-3],a[s-1][0],a[s-1][1]),r.popNamespace();break;case 35:r.addClassesToNamespace(a[s-4],a[s-1][0],a[s-1][1]),r.popNamespace();break;case 36:this.$=r.addNamespace(a[s]);break;case 37:this.$=r.addNamespace(a[s-1],a[s]);break;case 38:this.$=[[a[s]],[]];break;case 39:this.$=[[a[s-1]],[]];break;case 40:a[s][0].unshift(a[s-2]),this.$=a[s];break;case 41:this.$=[[],[a[s]]];break;case 42:this.$=[[],[a[s-1]]];break;case 43:a[s][1].unshift(a[s-2]),this.$=a[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=a[s];break;case 48:r.setCssClass(a[s-2],a[s]);break;case 49:r.addMembers(a[s-3],a[s-1]);break;case 51:r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 52:r.addAnnotation(a[s-3],a[s-1]);break;case 53:r.addAnnotation(a[s-6],a[s-4]),r.addMembers(a[s-6],a[s-1]);break;case 54:r.addAnnotation(a[s-5],a[s-3]);break;case 55:this.$=a[s],r.addClass(a[s]);break;case 56:this.$=a[s-1],r.addClass(a[s-1]),r.setClassLabel(a[s-1],a[s]);break;case 60:r.addAnnotation(a[s],a[s-2]);break;case 61:case 74:this.$=[a[s]];break;case 62:a[s].push(a[s-1]),this.$=a[s];break;case 63:break;case 64:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 65:break;case 66:break;case 67:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:`none`,relationTitle2:`none`};break;case 68:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:`none`};break;case 69:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:`none`,relationTitle2:a[s-1]};break;case 70:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 71:this.$=r.addNote(a[s],a[s-1]);break;case 72:this.$=r.addNote(a[s]);break;case 73:this.$=a[s-2],r.defineClass(a[s-1],a[s]);break;case 75:this.$=a[s-2].concat([a[s]]);break;case 76:r.setDirection(`TB`);break;case 77:r.setDirection(`BT`);break;case 78:r.setDirection(`RL`);break;case 79:r.setDirection(`LR`);break;case 80:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 81:this.$={type1:`none`,type2:a[s],lineType:a[s-1]};break;case 82:this.$={type1:a[s-1],type2:`none`,lineType:a[s]};break;case 83:this.$={type1:`none`,type2:`none`,lineType:a[s]};break;case 84:this.$=r.relationType.AGGREGATION;break;case 85:this.$=r.relationType.EXTENSION;break;case 86:this.$=r.relationType.COMPOSITION;break;case 87:this.$=r.relationType.DEPENDENCY;break;case 88:this.$=r.relationType.LOLLIPOP;break;case 89:this.$=r.lineType.LINE;break;case 90:this.$=r.lineType.DOTTED_LINE;break;case 91:case 97:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 92:case 98:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 93:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 94:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 95:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 96:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 99:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 100:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 101:this.$=a[s-3],r.setLink(a[s-2],a[s]);break;case 102:this.$=a[s-4],r.setLink(a[s-3],a[s-1],a[s]);break;case 103:this.$=a[s-4],r.setLink(a[s-3],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 104:this.$=a[s-5],r.setLink(a[s-4],a[s-2],a[s]),r.setTooltip(a[s-4],a[s-1]);break;case 105:this.$=a[s-2],r.setCssStyle(a[s-1],a[s]);break;case 106:r.setCssClass(a[s-1],a[s]);break;case 107:this.$=[a[s]];break;case 108:a[s-2].push(a[s]),this.$=a[s-2];break;case 110:this.$=a[s-1]+a[s]}},`anonymous`),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(D,[2,5],{8:[1,48]}),{8:[1,49]},e(O,[2,19],{22:[1,50]}),e(O,[2,21]),e(O,[2,22]),e(O,[2,23]),e(O,[2,24]),e(O,[2,25]),e(O,[2,26]),e(O,[2,27]),e(O,[2,28]),e(O,[2,29]),e(O,[2,30]),{34:[1,51]},{36:[1,52]},e(O,[2,33]),e(O,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:k,69:A,70:j,71:M,72:N,73:P,74:F}),{39:[1,65]},e(I,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),e(O,[2,65]),e(O,[2,66]),{16:69,60:p,86:C,100:w,102:T},{16:39,17:40,19:70,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:71,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:72,60:p,86:C,100:w,102:T,103:E},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:p,86:C,100:w,102:T,103:E},{13:L,55:76},{58:78,60:[1,79]},e(O,[2,76]),e(O,[2,77]),e(O,[2,78]),e(O,[2,79]),e(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:p,86:C,100:w,102:T,103:E}),e(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:87,60:p,86:C,100:w,102:T,103:E},e(z,[2,133]),e(z,[2,134]),e(z,[2,135]),e(z,[2,136]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),e(D,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:t,35:n,37:r,42:i,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},e(O,[2,20]),e(O,[2,31]),e(O,[2,32]),{13:[1,91],16:39,17:40,19:90,60:p,86:C,100:w,102:T,103:E},{53:92,66:56,67:57,68:k,69:A,70:j,71:M,72:N,73:P,74:F},e(O,[2,64]),{67:93,73:P,74:F},e(B,[2,83],{66:94,68:k,69:A,70:j,71:M,72:N}),e(ee,[2,84]),e(ee,[2,85]),e(ee,[2,86]),e(ee,[2,87]),e(ee,[2,88]),e(te,[2,89]),e(te,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:i,43:23,48:o,54:u,56:d},{16:100,60:p,86:C,100:w,102:T},{41:[1,102],45:101,51:ne},{16:104,60:p,86:C,100:w,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:re,50:ie,59:110,60:ae,82:oe,84:111,85:112,86:V,87:se,88:ce,89:le,90:H},{60:[1,122]},{13:L,55:123},e(I,[2,72]),e(I,[2,138]),{22:re,50:ie,59:124,60:ae,61:[1,125],82:oe,84:111,85:112,86:V,87:se,88:ce,89:le,90:H},e(ue,[2,74]),{16:39,17:40,19:126,60:p,86:C,100:w,102:T,103:E},e(R,[2,16]),e(R,[2,17]),e(R,[2,18]),{11:127,12:de,39:[2,36]},e(fe,[2,9],{16:85,17:86,15:130,18:[1,129],60:p,86:C,100:w,102:T,103:E}),e(fe,[2,10]),e(pe,[2,55],{11:131,12:de}),e(D,[2,7]),{9:[1,132]},e(me,[2,67]),{16:39,17:40,19:133,60:p,86:C,100:w,102:T,103:E},{13:[1,135],16:39,17:40,19:134,60:p,86:C,100:w,102:T,103:E},e(B,[2,82],{66:136,68:k,69:A,70:j,71:M,72:N}),e(B,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:i,43:23,48:o,54:u,56:d},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},e(I,[2,48],{39:[1,142]}),{41:[1,143]},e(I,[2,50]),{41:[2,61],45:144,51:ne},{47:[1,145]},{16:39,17:40,19:146,60:p,86:C,100:w,102:T,103:E},e(O,[2,91],{13:[1,147]}),e(O,[2,93],{13:[1,149],77:[1,148]}),e(O,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},e(O,[2,105],{61:U}),e(he,[2,107],{85:154,22:re,50:ie,60:ae,82:oe,86:V,87:se,88:ce,89:le,90:H}),e(ge,[2,109]),e(ge,[2,111]),e(ge,[2,112]),e(ge,[2,113]),e(ge,[2,114]),e(ge,[2,115]),e(ge,[2,116]),e(ge,[2,117]),e(ge,[2,118]),e(ge,[2,119]),e(O,[2,106]),e(I,[2,71]),e(O,[2,73],{61:U}),{60:[1,155]},e(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:p,86:C,100:w,102:T,103:E},e(fe,[2,12]),e(pe,[2,56]),{1:[2,4]},e(me,[2,69]),e(me,[2,68]),{16:39,17:40,19:158,60:p,86:C,100:w,102:T,103:E},e(B,[2,80]),e(I,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:i,43:23,48:o,54:u,56:d},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:i,43:23,48:o,54:u,56:d},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:i,43:23,48:o,54:u,56:d},{45:163,51:ne},e(I,[2,49]),{41:[2,62]},e(I,[2,52],{39:[1,164]}),e(O,[2,60]),e(O,[2,92]),e(O,[2,94]),e(O,[2,95],{77:[1,165]}),e(O,[2,98]),e(O,[2,99],{13:[1,166]}),e(O,[2,101],{13:[1,168],77:[1,167]}),{22:re,50:ie,60:ae,82:oe,84:169,85:112,86:V,87:se,88:ce,89:le,90:H},e(ge,[2,110]),e(ue,[2,75]),{14:[1,170]},e(fe,[2,11]),e(me,[2,70]),e(I,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ne},e(O,[2,96]),e(O,[2,100]),e(O,[2,102]),e(O,[2,103],{77:[1,174]}),e(he,[2,108],{85:154,22:re,50:ie,60:ae,82:oe,86:V,87:se,88:ce,89:le,90:H}),e(pe,[2,8]),e(I,[2,51]),{41:[1,175]},e(I,[2,54]),e(O,[2,104]),e(I,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:K(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:K(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,l=0,u=0,d=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}K(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}K(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
1276
|
+
`,`getStyles`),init:K(({c4:e,wrap:t})=>{WZ.setConf(e),CZ.setWrap(t)},`init`)},GZ=K((e,t)=>{let n;return t===`sandbox`&&(n=Tt(`#i`+e)),Tt(t===`sandbox`?n.nodes()[0].contentDocument.body:`body`).select(`[id="${e}"]`)},`getDiagramElement`),KZ=K((e,t,n,r)=>{e.attr(`class`,n);let{width:i,height:a,x:o,y:s}=I1e(e,t);zt(e,a,i,r);let l=L1e(o,s,i,a,t);e.attr(`viewBox`,l),W.debug(`viewBox configured: ${l} with padding: ${t}`)},`setupViewPortForSVG`),I1e=K((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),L1e=K((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`),R1e={common:Qt,getConfig:Lt,insertCluster:Eee,insertEdge:nn,insertEdgeLabel:jt,insertMarkers:Yt,insertNode:It,interpolateToCurve:Le,labelHelper:$ee,log:W,positionEdgeLabel:Gt},qZ={},JZ=K(e=>{for(let t of e)qZ[t.name]=t},`registerLayoutLoaders`);K(()=>{JZ([{name:`dagre`,loader:K(async()=>await G(()=>import(`./dagre-DcqvOjeb.js`).then(e=>e.n),__vite__mapDeps([0,1])),`loader`)},{name:`swimlane`,loader:K(async()=>await G(()=>Promise.resolve().then(()=>Det),void 0),`loader`)},{name:`cose-bilkent`,loader:K(async()=>await G(()=>Promise.resolve().then(()=>W1e),void 0),`loader`)}])},`registerDefaultLayoutLoaders`)();var YZ=K(async(e,t)=>{if(!(e.layoutAlgorithm in qZ))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=qZ[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:o,gradientStart:s,gradientStop:l}=a,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${i?.includes(`dark`)?`#FFFFFF`:`#000000`}`),o){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,s).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return r.render(e,t,R1e,{algorithm:n.algorithm})},`render`),XZ=K((e=``,{fallback:t=`dagre`}={})=>{if(e in qZ)return e;if(t in qZ)return W.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`),ZZ=(function(){var e=K(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,18],n=[1,19],r=[1,20],i=[1,41],a=[1,26],o=[1,42],s=[1,24],l=[1,25],u=[1,32],d=[1,33],f=[1,34],p=[1,45],m=[1,35],h=[1,36],g=[1,37],_=[1,38],v=[1,27],y=[1,28],b=[1,29],x=[1,30],S=[1,31],C=[1,44],w=[1,46],T=[1,43],E=[1,47],D=[1,9],O=[1,8,9],k=[1,58],A=[1,59],j=[1,60],M=[1,61],N=[1,62],P=[1,63],F=[1,64],I=[1,8,9,41],L=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],z=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],B=[13,60,86,100,102,103],ee=[13,60,73,74,86,100,102,103],te=[13,60,68,69,70,71,72,86,100,102,103],ne=[1,103],re=[1,121],ie=[1,117],ae=[1,113],oe=[1,119],V=[1,114],se=[1,115],ce=[1,116],le=[1,118],H=[1,120],ue=[22,50,60,61,82,86,87,88,89,90],de=[1,128],fe=[12,39],pe=[1,8,9,39,41,44,46],me=[1,8,9,22],U=[1,153],he=[1,8,9,61],ge=[1,8,9,22,50,60,61,82,86,87,88,89,90],_e={trace:K(function(){},`trace`),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:`error`,7:`CLASS_DIAGRAM`,8:`NEWLINE`,9:`EOF`,12:`SQS`,13:`STR`,14:`SQE`,18:`DOT`,20:`GENERICTYPE`,22:`LABEL`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,39:`STRUCT_START`,41:`STRUCT_STOP`,42:`NAMESPACE`,44:`STYLE_SEPARATOR`,46:`ANNOTATION_START`,47:`ANNOTATION_END`,48:`CLASS`,50:`SPACE`,51:`MEMBER`,52:`SEPARATOR`,54:`NOTE_FOR`,56:`NOTE`,57:`CLASSDEF`,60:`ALPHA`,61:`COMMA`,62:`direction_tb`,63:`direction_bt`,64:`direction_rl`,65:`direction_lr`,68:`AGGREGATION`,69:`EXTENSION`,70:`COMPOSITION`,71:`DEPENDENCY`,72:`LOLLIPOP`,73:`LINE`,74:`DOTTED_LINE`,75:`CALLBACK`,76:`LINK`,77:`LINK_TARGET`,78:`CLICK`,79:`CALLBACK_NAME`,80:`CALLBACK_ARGS`,81:`HREF`,82:`STYLE`,83:`CSSCLASS`,86:`NUM`,87:`COLON`,88:`UNIT`,89:`BRKT`,90:`PCT`,93:`graphCodeTokens`,95:`TAGSTART`,96:`TAGEND`,97:`==`,98:`--`,99:`DEFAULT`,100:`MINUS`,101:`keywords`,102:`UNICODE_TEXT`,103:`BQUOTE_STR`},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:K(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 8:this.$=a[s-1];break;case 9:case 10:case 13:case 15:this.$=a[s];break;case 11:case 14:this.$=a[s-2]+`.`+a[s];break;case 12:case 16:this.$=a[s-1]+a[s];break;case 17:case 18:this.$=a[s-1]+`~`+a[s]+`~`;break;case 19:r.addRelation(a[s]);break;case 20:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:r.addClassesToNamespace(a[s-3],a[s-1][0],a[s-1][1]),r.popNamespace();break;case 35:r.addClassesToNamespace(a[s-4],a[s-1][0],a[s-1][1]),r.popNamespace();break;case 36:this.$=r.addNamespace(a[s]);break;case 37:this.$=r.addNamespace(a[s-1],a[s]);break;case 38:this.$=[[a[s]],[]];break;case 39:this.$=[[a[s-1]],[]];break;case 40:a[s][0].unshift(a[s-2]),this.$=a[s];break;case 41:this.$=[[],[a[s]]];break;case 42:this.$=[[],[a[s-1]]];break;case 43:a[s][1].unshift(a[s-2]),this.$=a[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=a[s];break;case 48:r.setCssClass(a[s-2],a[s]);break;case 49:r.addMembers(a[s-3],a[s-1]);break;case 51:r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 52:r.addAnnotation(a[s-3],a[s-1]);break;case 53:r.addAnnotation(a[s-6],a[s-4]),r.addMembers(a[s-6],a[s-1]);break;case 54:r.addAnnotation(a[s-5],a[s-3]);break;case 55:this.$=a[s],r.addClass(a[s]);break;case 56:this.$=a[s-1],r.addClass(a[s-1]),r.setClassLabel(a[s-1],a[s]);break;case 60:r.addAnnotation(a[s],a[s-2]);break;case 61:case 74:this.$=[a[s]];break;case 62:a[s].push(a[s-1]),this.$=a[s];break;case 63:break;case 64:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 65:break;case 66:break;case 67:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:`none`,relationTitle2:`none`};break;case 68:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:`none`};break;case 69:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:`none`,relationTitle2:a[s-1]};break;case 70:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 71:this.$=r.addNote(a[s],a[s-1]);break;case 72:this.$=r.addNote(a[s]);break;case 73:this.$=a[s-2],r.defineClass(a[s-1],a[s]);break;case 75:this.$=a[s-2].concat([a[s]]);break;case 76:r.setDirection(`TB`);break;case 77:r.setDirection(`BT`);break;case 78:r.setDirection(`RL`);break;case 79:r.setDirection(`LR`);break;case 80:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 81:this.$={type1:`none`,type2:a[s],lineType:a[s-1]};break;case 82:this.$={type1:a[s-1],type2:`none`,lineType:a[s]};break;case 83:this.$={type1:`none`,type2:`none`,lineType:a[s]};break;case 84:this.$=r.relationType.AGGREGATION;break;case 85:this.$=r.relationType.EXTENSION;break;case 86:this.$=r.relationType.COMPOSITION;break;case 87:this.$=r.relationType.DEPENDENCY;break;case 88:this.$=r.relationType.LOLLIPOP;break;case 89:this.$=r.lineType.LINE;break;case 90:this.$=r.lineType.DOTTED_LINE;break;case 91:case 97:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 92:case 98:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 93:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 94:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 95:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 96:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 99:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 100:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 101:this.$=a[s-3],r.setLink(a[s-2],a[s]);break;case 102:this.$=a[s-4],r.setLink(a[s-3],a[s-1],a[s]);break;case 103:this.$=a[s-4],r.setLink(a[s-3],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 104:this.$=a[s-5],r.setLink(a[s-4],a[s-2],a[s]),r.setTooltip(a[s-4],a[s-1]);break;case 105:this.$=a[s-2],r.setCssStyle(a[s-1],a[s]);break;case 106:r.setCssClass(a[s-1],a[s]);break;case 107:this.$=[a[s]];break;case 108:a[s-2].push(a[s]),this.$=a[s-2];break;case 110:this.$=a[s-1]+a[s]}},`anonymous`),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(D,[2,5],{8:[1,48]}),{8:[1,49]},e(O,[2,19],{22:[1,50]}),e(O,[2,21]),e(O,[2,22]),e(O,[2,23]),e(O,[2,24]),e(O,[2,25]),e(O,[2,26]),e(O,[2,27]),e(O,[2,28]),e(O,[2,29]),e(O,[2,30]),{34:[1,51]},{36:[1,52]},e(O,[2,33]),e(O,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:k,69:A,70:j,71:M,72:N,73:P,74:F}),{39:[1,65]},e(I,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),e(O,[2,65]),e(O,[2,66]),{16:69,60:p,86:C,100:w,102:T},{16:39,17:40,19:70,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:71,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:72,60:p,86:C,100:w,102:T,103:E},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:p,86:C,100:w,102:T,103:E},{13:L,55:76},{58:78,60:[1,79]},e(O,[2,76]),e(O,[2,77]),e(O,[2,78]),e(O,[2,79]),e(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:p,86:C,100:w,102:T,103:E}),e(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:p,86:C,100:w,102:T,103:E},{16:39,17:40,19:87,60:p,86:C,100:w,102:T,103:E},e(z,[2,133]),e(z,[2,134]),e(z,[2,135]),e(z,[2,136]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),e(D,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:t,35:n,37:r,42:i,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:l,54:u,56:d,57:f,60:p,62:m,63:h,64:g,65:_,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},e(O,[2,20]),e(O,[2,31]),e(O,[2,32]),{13:[1,91],16:39,17:40,19:90,60:p,86:C,100:w,102:T,103:E},{53:92,66:56,67:57,68:k,69:A,70:j,71:M,72:N,73:P,74:F},e(O,[2,64]),{67:93,73:P,74:F},e(B,[2,83],{66:94,68:k,69:A,70:j,71:M,72:N}),e(ee,[2,84]),e(ee,[2,85]),e(ee,[2,86]),e(ee,[2,87]),e(ee,[2,88]),e(te,[2,89]),e(te,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:i,43:23,48:o,54:u,56:d},{16:100,60:p,86:C,100:w,102:T},{41:[1,102],45:101,51:ne},{16:104,60:p,86:C,100:w,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:re,50:ie,59:110,60:ae,82:oe,84:111,85:112,86:V,87:se,88:ce,89:le,90:H},{60:[1,122]},{13:L,55:123},e(I,[2,72]),e(I,[2,138]),{22:re,50:ie,59:124,60:ae,61:[1,125],82:oe,84:111,85:112,86:V,87:se,88:ce,89:le,90:H},e(ue,[2,74]),{16:39,17:40,19:126,60:p,86:C,100:w,102:T,103:E},e(R,[2,16]),e(R,[2,17]),e(R,[2,18]),{11:127,12:de,39:[2,36]},e(fe,[2,9],{16:85,17:86,15:130,18:[1,129],60:p,86:C,100:w,102:T,103:E}),e(fe,[2,10]),e(pe,[2,55],{11:131,12:de}),e(D,[2,7]),{9:[1,132]},e(me,[2,67]),{16:39,17:40,19:133,60:p,86:C,100:w,102:T,103:E},{13:[1,135],16:39,17:40,19:134,60:p,86:C,100:w,102:T,103:E},e(B,[2,82],{66:136,68:k,69:A,70:j,71:M,72:N}),e(B,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:i,43:23,48:o,54:u,56:d},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},e(I,[2,48],{39:[1,142]}),{41:[1,143]},e(I,[2,50]),{41:[2,61],45:144,51:ne},{47:[1,145]},{16:39,17:40,19:146,60:p,86:C,100:w,102:T,103:E},e(O,[2,91],{13:[1,147]}),e(O,[2,93],{13:[1,149],77:[1,148]}),e(O,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},e(O,[2,105],{61:U}),e(he,[2,107],{85:154,22:re,50:ie,60:ae,82:oe,86:V,87:se,88:ce,89:le,90:H}),e(ge,[2,109]),e(ge,[2,111]),e(ge,[2,112]),e(ge,[2,113]),e(ge,[2,114]),e(ge,[2,115]),e(ge,[2,116]),e(ge,[2,117]),e(ge,[2,118]),e(ge,[2,119]),e(O,[2,106]),e(I,[2,71]),e(O,[2,73],{61:U}),{60:[1,155]},e(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:p,86:C,100:w,102:T,103:E},e(fe,[2,12]),e(pe,[2,56]),{1:[2,4]},e(me,[2,69]),e(me,[2,68]),{16:39,17:40,19:158,60:p,86:C,100:w,102:T,103:E},e(B,[2,80]),e(I,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:i,43:23,48:o,54:u,56:d},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:i,43:23,48:o,54:u,56:d},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:i,43:23,48:o,54:u,56:d},{45:163,51:ne},e(I,[2,49]),{41:[2,62]},e(I,[2,52],{39:[1,164]}),e(O,[2,60]),e(O,[2,92]),e(O,[2,94]),e(O,[2,95],{77:[1,165]}),e(O,[2,98]),e(O,[2,99],{13:[1,166]}),e(O,[2,101],{13:[1,168],77:[1,167]}),{22:re,50:ie,60:ae,82:oe,84:169,85:112,86:V,87:se,88:ce,89:le,90:H},e(ge,[2,110]),e(ue,[2,75]),{14:[1,170]},e(fe,[2,11]),e(me,[2,70]),e(I,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ne},e(O,[2,96]),e(O,[2,100]),e(O,[2,102]),e(O,[2,103],{77:[1,174]}),e(he,[2,108],{85:154,22:re,50:ie,60:ae,82:oe,86:V,87:se,88:ce,89:le,90:H}),e(pe,[2,8]),e(I,[2,51]),{41:[1,175]},e(I,[2,54]),e(O,[2,104]),e(I,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:K(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:K(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,l=0,u=0,d=0,f=2,p=1,m=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;a.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}K(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}K(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
1277
1277
|
`+h.showPosition()+`
|
|
1278
1278
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(h.yytext),a.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,s=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,u,l,g.yy,T[1],i,a].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};_e.lexer=(function(){return{EOF:1,parseError:K(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:K(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:K(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:K(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:K(function(){return this._more=!0,this},`more`),reject:K(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
1279
1279
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:K(function(e){this.unput(this.match.slice(e))},`less`),pastInput:K(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:K(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:K(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -3572,5 +3572,5 @@ ${e.patch}`:e.patch)}return Array.from(t.values())}var gpt=[`mermaid`,`mmd`],_pt
|
|
|
3572
3572
|
`),content:e.replace(/<think>[\s\S]*?<\/think>/g,``).trim()}}W9.block.ruler.before(`paragraph`,`think_block`,(e,t,n,r)=>{let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.src.slice(i,a);G9.lastIndex=i;let s=G9.exec(o);if(!s)return!1;let l=s.index;if(r)return!0;let u=-1,d=``,f=-1;for(let r=t;r<n;r++){let n=e.bMarks[r]+e.tShift[r],a=e.eMarks[r],o=e.src.slice(n,a),s=r===t?i+l+7:0;for(let e of pmt){let t=o.indexOf(e,s);t!==-1&&(f===-1||t<f)&&(f=t,d=e,u=r)}if(u!==-1)break}if(u<0)return!1;let p=[];for(let n=t;n<=u;n++){let r=e.bMarks[n]+e.tShift[n],i=e.eMarks[n],a=e.src.slice(r,i);n===t&&(a=a.slice(l+7)),n===u&&(a=a.slice(0,a.indexOf(d))),p.push(a)}let m=p.join(`
|
|
3573
3573
|
`).trim(),h=e.push(`think_block`,``,0);return h.content=m,h.map=[t,u+1],h.markup=`<think>`,h.block=!0,e.line=u+1,!0});var hmt=W9.renderer.rules.think_block||((e,t,n,r)=>{let i=e[t],a=r!=null&&r.streaming?{streaming:!0,totalLines:gmt(i.content)}:{};return`<div class="acu-thinking acu-thinking-md"><button type="button" class="acu-thinking-header"><span class="acu-thinking-icon"><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9.5 2A4.5 4.5 0 0 0 5 6.5c0 .5.08.98.22 1.43A4 4 0 0 0 6 16a3.5 3.5 0 0 0 5 3.05"/><path d="M14.5 2A4.5 4.5 0 0 1 19 6.5c0 .5-.08.98-.22 1.43A4 4 0 0 1 18 16a3.5 3.5 0 0 1-5 3.05"/><path d="M12 4v16"/></svg></span><span class="acu-thinking-title">思考</span></button><div class="acu-thinking-body is-scrollable is-scrollbar-hover">${i.content.trim()?W9.render(i.content,a):``}</div></div>`});W9.renderer.rules.think_block=hmt;function gmt(e){return e.replace(/\r\n?/g,`
|
|
3574
3574
|
`).split(`
|
|
3575
|
-
`).length}function _mt(){return{render(e,t){let n=e||``,r=t!=null&&t.streaming?{streaming:!0,totalLines:gmt(n)}:{};return W9.render(n,r)},renderInline(e){return W9.renderInline(e||``)},ensureHighlighter:smt}}var vmt=[`aria-label`],ymt=[`data-theme`,`data-scale`,`innerHTML`],bmt=[`aria-label`,`title`],xmt={class:`acu-mz-bar`},Smt=[`aria-label`,`title`],Cmt=[`title`],wmt={class:`acu-mz-pct`},Tmt=[`aria-label`,`title`],Emt={class:`acu-mz-hint`},Dmt=.2,Omt=6,kmt=v({__name:`MermaidPreview`,props:{visible:{type:Boolean,default:!1},svg:{},theme:{default:`light`},labels:{default:()=>({})}},emits:[`update:visible`],setup(e,{emit:t}){let n=e,r=t,i=B(null),a=B(null),o=B(1),u=oe({x:0,y:0}),d=B(!1),p={x:0,y:0,px:0,py:0},m=!1,g=U(()=>Math.round(o.value*100)),_=U(()=>({transform:`translate(-50%, -50%) translate(${u.x}px, ${u.y}px) scale(${o.value})`}));function v(e){return Math.min(Omt,Math.max(Dmt,e))}function y(){let e=a.value,t=i.value;if(!e||!t)return 1;let n=e.offsetWidth,r=e.offsetHeight;if(!n||!r)return 1;let o=Math.min((t.clientWidth-48)/n,(t.clientHeight-96)/r);return v(Math.min(1,o))}function b(){o.value=1,u.x=0,u.y=0;let e=y();e<1&&(o.value=e)}function x(e){o.value=v(o.value*e)}function S(e){let t=i.value;if(!t)return;let n=o.value,r=v(n*(e.deltaY<0?1.12:1/1.12));if(r===n)return;let a=t.getBoundingClientRect(),s=e.clientX-(a.left+a.width/2),l=e.clientY-(a.top+a.height/2),d=r/n;u.x=s-d*(s-u.x),u.y=l-d*(l-u.y),o.value=r}function C(e){e.button===0&&(d.value=!0,m=!1,p={x:e.clientX,y:e.clientY,px:u.x,py:u.y},window.addEventListener(`pointermove`,w),window.addEventListener(`pointerup`,D),window.addEventListener(`pointercancel`,D))}function w(e){if(!d.value)return;let t=e.clientX-p.x,n=e.clientY-p.y;(Math.abs(t)>3||Math.abs(n)>3)&&(m=!0),u.x=p.px+t,u.y=p.py+n}function E(e){if(m){m=!1;return}e.target===e.currentTarget&&A()}function D(){d.value=!1,window.removeEventListener(`pointermove`,w),window.removeEventListener(`pointerup`,D),window.removeEventListener(`pointercancel`,D)}function A(){r(`update:visible`,!1)}function j(e){e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),A())}return V(()=>n.visible,e=>{e?(window.addEventListener(`keydown`,j,!0),s(()=>b())):(window.removeEventListener(`keydown`,j,!0),D(),d.value=!1,u.x=0,u.y=0,o.value=1)},{immediate:!0}),O(()=>window.removeEventListener(`keydown`,j,!0)),(t,n)=>e.visible?(H(),l(ge,{key:0,to:`body`},[T(`div`,{class:`acu-mz`,role:`dialog`,"aria-modal":`true`,"aria-label":e.labels.zoom||`图表预览`,onClick:z(A,[`self`])},[T(`div`,{ref_key:`viewportRef`,ref:i,class:k([`acu-mz-viewport`,{"is-dragging":d.value}]),onWheel:z(S,[`prevent`]),onPointerdown:C,onDblclick:b,onClick:E},[T(`div`,{ref_key:`stageRef`,ref:a,class:`acu-mz-stage`,"data-theme":e.theme,"data-scale":o.value.toFixed(3),style:f(_.value),innerHTML:e.svg},null,12,ymt)],34),T(`button`,{type:`button`,class:`acu-mz-btn is-close`,"aria-label":e.labels.close,title:e.labels.close,onClick:A},[...n[2]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,bmt),T(`div`,xmt,[T(`button`,{type:`button`,class:`acu-mz-btn is-step`,"aria-label":e.labels.zoomOut,title:e.labels.zoomOut,onClick:n[0]||=e=>x(1/1.3)},[...n[3]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`},[T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1)]],8,Smt),T(`button`,{type:`button`,class:`acu-mz-btn is-fit`,title:e.labels.zoomReset,onClick:b},[re(h(e.labels.zoomReset),1),T(`span`,wmt,h(g.value)+`%`,1)],8,Cmt),T(`button`,{type:`button`,class:`acu-mz-btn is-step`,"aria-label":e.labels.zoomIn,title:e.labels.zoomIn,onClick:n[1]||=e=>x(1.3)},[...n[4]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`},[T(`line`,{x1:`12`,y1:`5`,x2:`12`,y2:`19`}),T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1)]],8,Tmt)]),T(`p`,Emt,h(e.labels.zoomHint),1)],8,vmt)])):me(``,!0)}}),K9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Amt=K9(kmt,[[`__scopeId`,`data-v-57821160`]]),jmt=[`innerHTML`],Mmt=120,q9=v({inheritAttrs:!1,__name:`MarkdownRenderer`,props:{source:{},streaming:{type:Boolean,default:!1}},setup(e){let t=e,{render:n}=_mt(),r=B(``),i=B(null),o=0,l=0;function u(){nmt(i.value,{streaming:t.streaming})}function f(e=Mmt){window.clearTimeout(l),l=window.setTimeout(()=>{l=0,u()},e)}function p(){cancelAnimationFrame(o),o=requestAnimationFrame(()=>{r.value=n(t.source,{streaming:t.streaming}),s(()=>f())})}V(()=>t.source,p,{immediate:!0}),V(omt,e=>{e&&p()}),V(()=>t.streaming,()=>p());let m=null;d(()=>{m=Vpt(i.value,()=>{f(0)})}),O(()=>{cancelAnimationFrame(o),window.clearTimeout(l),m?.()});function h(e){let t=e.target;return t instanceof Element?t.closest(`.acu-thinking-body.is-scrollbar-hover`):null}function g(e){var t;(t=h(e))==null||t.classList.add(`is-scrollbar-visible`)}function _(e){let t=h(e);if(!t)return;let n=e.relatedTarget;n instanceof Node&&t.contains(n)||t.classList.remove(`is-scrollbar-visible`)}function v(e){let t=e.target;if(!t)return;let n=t.closest(`.acu-mermaid-toggle`);if(n){rmt(n.closest(`.acu-mermaid`));return}let r=t.closest(`.acu-mermaid-zoom`);if(r){C(r.closest(`.acu-mermaid`));return}let i=t.closest(`.acu-mermaid-canvas`);if(i&&!t.closest(`a`)){let e=window.getSelection?.call(window);if(e&&!e.isCollapsed)return;let t=i.closest(`.acu-mermaid`);if(t?.dataset.state===`done`){C(t);return}}w(t)}let y=B(!1),b=B(``),x=B(`light`),S=U(()=>jpt());function C(e){if(!e)return;let t=emt(e.querySelector(`.acu-mermaid-canvas`));t&&(b.value=t,x.value=e.dataset.mermaidTheme===`dark`?`dark`:`light`,y.value=!0)}function w(e){let t=e.closest(`.acu-code-copy`);if(!t)return;let n=t.getAttribute(`data-code`)||``,r=decodeURIComponent(n),i=t.querySelector(`.acu-code-copy-label`);(navigator.clipboard?.writeText(r)??Promise.reject(Error(`clipboard unavailable`))).then(()=>{t.classList.add(`is-copied`),i&&(i.textContent=`已复制`),setTimeout(()=>{t.classList.remove(`is-copied`),i&&(i.textContent=`复制`)},1500)}).catch(()=>{t.classList.add(`is-error`),i&&(i.textContent=`失败`),setTimeout(()=>{t.classList.remove(`is-error`),i&&(i.textContent=`复制`)},1500)})}return(e,t)=>(H(),D(j,null,[T(`div`,ve({ref_key:`root`,ref:i,class:`acu-md`},e.$attrs,{innerHTML:r.value,onClick:v,onMouseover:g,onMouseout:_}),null,16,jmt),a(Amt,{visible:y.value,"onUpdate:visible":t[0]||=e=>y.value=e,svg:b.value,theme:x.value,labels:S.value},null,8,[`visible`,`svg`,`theme`,`labels`])],64))}}),Nmt=[`aria-expanded`],Pmt={class:`acu-thinking-title`},Fmt=[`title`],Imt={key:1,class:`acu-typing-dots`,"aria-hidden":`true`},Lmt={key:0,class:`acu-cursor`,"aria-hidden":`true`},Rmt=24,zmt=K9(v({__name:`ThinkingBlock`,props:{content:{default:``},streaming:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:void 0},config:{default:void 0},durationMs:{default:void 0},startedAt:{default:void 0},endedAt:{default:void 0}},setup(e){let t=e,n=U(()=>t.config?.scrollable!==!1),r=U(()=>t.config?.followStream!==!1),i=U(()=>t.config?.scrollbar??`hover`),o=B(!1),l=U(()=>n.value&&i.value===`hover`&&o.value);function u(){o.value=!0}function p(){o.value=!1}let m=U(()=>{var e;return(e=t.config)!=null&&e.maxHeight?{"--acu-thinking-max-height":`${t.config.maxHeight}px`}:void 0}),g=U(()=>t.config?.showDuration!==!1),_=B(Date.now()),v=null;function y(){v&&=(clearInterval(v),null)}let b=U(()=>g.value&&t.streaming&&typeof t.durationMs!=`number`&&typeof t.startedAt==`number`);V(b,e=>{y(),e&&(_.value=Date.now(),v=setInterval(()=>{_.value=Date.now()},100))},{immediate:!0}),O(y);let S=U(()=>{if(!g.value)return null;if(typeof t.durationMs==`number`)return t.durationMs;let e=t.startedAt;if(typeof e!=`number`)return null;if(t.streaming)return _.value-e;let n=t.endedAt;return typeof n==`number`&&n>e?n-e:null}),C=U(()=>{let e=S.value;return e===null||e<=0?``:O9(e)}),w=U(()=>t.streaming?`已思考时长`:`思考耗时(第一个思考分片 → 最后一个分片)`),E=B(t.defaultExpanded??t.config?.defaultExpanded??t.streaming),A=B(null),j=B(!0);function M(){let e=A.value;e&&(j.value=e.scrollHeight-e.scrollTop-e.clientHeight<=Rmt)}async function P(){if(!n.value||!r.value||!j.value)return;await s();let e=A.value;e&&(e.scrollTop=e.scrollHeight)}V(()=>t.streaming,e=>{e&&(E.value=!0,j.value=!0)}),V(()=>t.content,()=>{t.streaming&&P()}),V(E,e=>{e&&P()}),d(()=>{t.streaming&&P()});function F(){E.value=!E.value}return(t,r)=>(H(),D(`div`,{class:k([`acu-thinking`,{"is-streaming":e.streaming}])},[T(`button`,{type:`button`,class:`acu-thinking-header`,"aria-expanded":E.value,onClick:F},[r[2]||=x(`<span class="acu-thinking-icon" data-v-42f4658c><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-42f4658c><path d="M9.5 2A4.5 4.5 0 0 0 5 6.5c0 .5.08.98.22 1.43A4 4 0 0 0 6 16a3.5 3.5 0 0 0 5 3.05" data-v-42f4658c></path><path d="M14.5 2A4.5 4.5 0 0 1 19 6.5c0 .5-.08.98-.22 1.43A4 4 0 0 1 18 16a3.5 3.5 0 0 1-5 3.05" data-v-42f4658c></path><path d="M12 4v16" data-v-42f4658c></path></svg></span>`,1),T(`span`,Pmt,h(e.streaming?`思考中`:`思考`),1),C.value?(H(),D(`span`,{key:0,class:`acu-thinking-duration`,title:w.value},h(C.value),9,Fmt)):me(``,!0),e.streaming?(H(),D(`span`,Imt,[...r[0]||=[T(`span`,null,null,-1),T(`span`,null,null,-1),T(`span`,null,null,-1)]])):(H(),D(`svg`,{key:2,class:k([`acu-thinking-chevron`,{"is-open":E.value}]),viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...r[1]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,Nmt),a(te,{name:`acu-collapse`},{default:ne(()=>[N(T(`div`,{ref_key:`bodyRef`,ref:A,class:k([`acu-thinking-body`,[{"is-scrollable":n.value},n.value?`is-scrollbar-${i.value}`:``,{"is-scrollbar-visible":l.value}]]),style:f(m.value),onScrollPassive:M,onMouseenter:u,onMouseleave:p},[a(q9,{source:e.content,streaming:!!e.streaming},null,8,[`source`,`streaming`]),e.streaming&&e.content?(H(),D(`span`,Lmt)):me(``,!0)],38),[[ae,E.value]])]),_:1})],2))}}),[[`__scopeId`,`data-v-42f4658c`]]),Bmt=200,Vmt=300,Hmt=600,Umt=new Set([`updateplan`,`writetodos`,`todowrite`,`todotrite`,`todorewrite`,`updateplanlist`,`createplan`,`setplan`,`plan`]);function Wmt(e){return String(e||``).toLowerCase().replace(/[^a-z]/g,``)}function J9(e){return Umt.has(Wmt(String(e||``)))}function Gmt(e){let t=String(e??``).toLowerCase().replace(/[^a-z]/g,``);return[`completed`,`complete`,`done`,`finished`,`checked`].includes(t)?`completed`:[`inprogress`,`active`,`doing`,`running`,`current`,`started`].includes(t)?`in_progress`:`pending`}function Y9(e,t){let n=String(e??``).replace(/\s+/g,` `).trim();return n.length>t?n.slice(0,t)+`…`:n}function X9(e){if(typeof e==`string`){let t=Y9(e,Bmt);return t?{content:t,status:`pending`}:null}if(!e||typeof e!=`object`)return null;let t=e,n=Y9(t.content??t.text??t.title??t.task??t.step??t.name,Bmt);if(!n)return null;let r={content:n,status:Gmt(t.status??t.state)},i=Y9(t.note??t.detail??t.details??(r.status===`in_progress`?t.activeForm:``),Vmt);return i&&(r.note=i),r}function Kmt(e){if(Array.isArray(e))return e;if(!e||typeof e!=`object`)return null;let t=e;for(let e of[`steps`,`todos`,`plan`,`items`,`task_list`,`taskList`])if(Array.isArray(t[e]))return t[e];return null}function qmt(e){if(!e||typeof e!=`object`||Array.isArray(e))return;let t=e;return Y9(t.explanation??t.summary??t.note??t.reason,Hmt)||void 0}function Z9(e,t){if(!e)return null;if(typeof e==`object`&&!Array.isArray(e)&&(`name`in e||`arguments`in e||`plan`in e)){let n=e,r=n.name??t??``;return r&&!J9(r)&&!n.plan?null:Array.isArray(n.plan)&&n.plan.length?n.plan.map(e=>X9(e)).filter(e=>!!e).slice(0,20):Z9(n.arguments,r)}if(typeof e==`string`){if(t&&!J9(t))return null;let n=e.trim();if(!n)return null;let r;try{r=JSON.parse(n)}catch{return null}let i=Kmt(r);if(!i)return null;let a=i.map(X9).filter(e=>!!e).slice(0,20);return a.length?a:null}if(t&&!J9(t))return null;let n=Kmt(e);if(!n)return null;let r=n.map(X9).filter(e=>!!e).slice(0,20);return r.length?r:null}function Jmt(e){if(!e)return;if(typeof e==`object`)return e.planNote?e.planNote:Jmt(e.arguments);let t=e.trim();if(t)try{return qmt(JSON.parse(t))}catch{return}}function Ymt(e){if(!e)return null;let t=Z9(e);if(!t)return null;let n=Jmt(e);return n?{steps:t,note:n}:{steps:t}}function Xmt(e){let t=e||[],n=0,r=0,i=0;for(let e of t)e.status===`completed`?n++:e.status===`in_progress`?r++:i++;return{total:t.length,done:n,active:r,pending:i}}var Zmt=20,Qmt=500,$mt=new Set([`askuser`,`askquestion`,`asktheuser`]);function eht(e){return String(e||``).toLowerCase().replace(/[^a-z]/g,``)}function tht(e){return $mt.has(eht(String(e||``)))}function nht(e){if(!e)return null;let t;try{t=JSON.parse(String(e))}catch{return null}if(!t||typeof t!=`object`||Array.isArray(t))return null;let n=String(t.question??t.prompt??``).trim();if(!n)return null;let r=Array.isArray(t.options)?t.options.map(e=>String(e??``).trim()).filter(Boolean).slice(0,Zmt):[];return{question:n,options:r,allowFreeText:r.length===0||t.allow_free_text!==!1,multiple:t.multiple===!0&&r.length>0}}function rht(e){let t=String(e??``).trim();if(!t)return[];if(t.startsWith(`[`))try{let e=JSON.parse(t);if(Array.isArray(e))return e.map(e=>String(e??``).trim()).filter(Boolean).slice(0,Zmt)}catch{}return[t.length>Qmt?`${t.slice(0,Qmt)}…`:t]}function Q9(e){if(!e||!tht(e.name)||e.status&&e.status!==`done`)return null;let t=nht(e.arguments);if(!t)return null;let n=rht(e.result);return n.length?{...t,answers:n}:null}var iht={class:`acu-plan-icon`},aht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},oht={key:1,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.9`,"stroke-linecap":`round`,"stroke-linejoin":`round`},sht={class:`acu-plan-title`},cht={key:0,class:`acu-plan-count`},lht={key:0,class:`acu-plan-bar`,role:`presentation`},uht={class:`acu-plan-detail`},dht={key:0,class:`acu-plan-note`},fht={class:`acu-plan-steps`},pht={class:`acu-plan-marker`,"aria-hidden":`true`},mht={key:0,viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`3.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},hht={key:1,class:`acu-plan-dot`},ght={class:`acu-plan-body`},_ht={class:`acu-plan-content`},vht={key:0,class:`acu-plan-step-note`},yht=K9(v({__name:`PlanBlock`,props:{steps:{},note:{default:void 0},status:{default:`done`},config:{default:void 0}},setup(e){let t=e,n=U(()=>t.config?.title||t.config?.labels?.title||`计划`),r=U(()=>t.config?.progress!==!1&&m.value.total>0),i=U(()=>(t.config?.labels?.progress||`{done}/{total}`).replace(`{done}`,String(m.value.done)).replace(`{total}`,String(m.value.total))),o=U(()=>t.config?.progressBar!==!1&&m.value.total>0),s=U(()=>t.config?.collapsible!==!1),u=B(t.config?.defaultCollapsed!==!0);function d(){s.value&&(u.value=!u.value)}let p=U(()=>{let{done:e,total:t}=m.value;return t?`${Math.round(e/t*100)}%`:`0%`}),m=U(()=>Xmt(t.steps));function g(e){return e.status||`pending`}return(t,m)=>(H(),D(`div`,{class:k([`acu-plan`,{"is-running":e.status===`running`,"is-collapsed":s.value&&!u.value}])},[(H(),l(C(s.value?`button`:`div`),{class:`acu-plan-header`,type:s.value?`button`:void 0,"aria-expanded":s.value?u.value:void 0,onClick:d},{default:ne(()=>[T(`span`,iht,[e.status===`running`?(H(),D(`svg`,aht,[...m[0]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):(H(),D(`svg`,oht,[...m[1]||=[T(`path`,{d:`M9 11l3 3L22 4`},null,-1),T(`path`,{d:`M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11`},null,-1)]]))]),T(`span`,sht,h(n.value),1),r.value?(H(),D(`span`,cht,h(i.value),1)):me(``,!0),s.value?(H(),D(`svg`,{key:1,class:k([`acu-plan-chevron`,{"is-open":u.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[...m[2]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2)):me(``,!0)]),_:1},8,[`type`,`aria-expanded`])),o.value?(H(),D(`div`,lht,[T(`span`,{class:`acu-plan-bar-fill`,style:f({width:p.value})},null,4)])):me(``,!0),a(te,{name:`acu-collapse`},{default:ne(()=>[N(T(`div`,uht,[e.note?(H(),D(`p`,dht,h(e.note),1)):me(``,!0),T(`ul`,fht,[(H(!0),D(j,null,A(e.steps,(e,t)=>(H(),D(`li`,{key:`${t}-${e.content}`,class:k([`acu-plan-step`,`is-${g(e)}`])},[T(`span`,pht,[g(e)===`completed`?(H(),D(`svg`,mht,[...m[3]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):g(e)===`in_progress`?(H(),D(`span`,hht)):me(``,!0)]),T(`span`,ght,[T(`span`,_ht,h(e.content),1),e.note?(H(),D(`span`,vht,h(e.note),1)):me(``,!0)])],2))),128))])],512),[[ae,!s.value||u.value]])]),_:1})],2))}}),[[`__scopeId`,`data-v-2161ee3f`]]),bht=[`aria-labelledby`,`aria-busy`],xht=[`id`,`aria-expanded`,`aria-label`],Sht={class:`acu-ask-user-title-text`},Cht={class:`acu-ask-user-title-answer`},wht=[`id`],Tht={class:`acu-ask-user-question`},Eht={key:0,class:`acu-ask-user-options`},Dht=[`checked`,`disabled`,`onChange`],Oht=[`disabled`,`onClick`],kht={key:0,class:`acu-ask-user-check`,"aria-hidden":`true`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.6`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Aht={key:1,class:`acu-ask-user-extras`},jht=[`placeholder`,`aria-label`,`disabled`],Mht=[`disabled`],Nht=[`disabled`],Pht=K9(v({__name:`AskUserPanel`,props:{question:{},options:{default:()=>[]},multiple:{type:Boolean,default:!1},allowFreeText:{type:Boolean,default:!0},submitting:{type:Boolean,default:!1},answers:{default:()=>[]},defaultAnsweredExpanded:{type:Boolean,default:!1},labels:{default:void 0}},emits:[`answer`],setup(e,{emit:t}){let n=e,r=t,i=D9(`acu-ask-user-title`),a=B(``),o=B(n.defaultAnsweredExpanded),s=B([]),l=B(!1),u=U(()=>n.answers.length>0),d=U(()=>u.value||l.value),f=U(()=>u.value?n.answers:s.value),p=U(()=>n.multiple||d.value?f.value:[]),m=U(()=>n.submitting||l.value||u.value),g=U(()=>!u.value&&(n.allowFreeText||n.options.length===0)),_=U(()=>n.labels?.placeholder??`输入回答`),v=U(()=>n.labels?.title??`等待你的回答`),y=U(()=>n.labels?.answered??`已回答`),b=U(()=>n.labels?.expand??`展开完整问答`),x=U(()=>n.labels?.collapse??`收起完整问答`),S=U(()=>u.value?f.value.filter(e=>!n.options.includes(e)):[]),C=U(()=>m.value?!0:n.multiple?s.value.length===0&&!a.value.trim():!a.value.trim());function w(e){return d.value&&!f.value.includes(e)}V(()=>n.question,()=>{s.value=[],a.value=``,l.value=!1}),V(u,e=>{e&&(o.value=n.defaultAnsweredExpanded)}),V(()=>n.submitting,(e,t)=>{!t||e||(l.value=!1,n.multiple||(s.value=[]))});function O(e){if(m.value)return;let t=s.value.indexOf(e);t>=0?s.value.splice(t,1):s.value.push(e)}function M(e){m.value||(s.value=[e],l.value=!0,r(`answer`,[e]))}function P(){if(C.value)return;let e=n.multiple?[...s.value]:[],t=a.value.trim();t&&e.push(t),e.length&&(l.value=!0,r(`answer`,e))}return(t,n)=>(H(),D(`section`,{class:k([`acu-ask-user`,{"is-answered":d.value,"is-collapsed":u.value&&!o.value}]),role:`group`,"aria-live":`polite`,"aria-labelledby":E(i),"aria-busy":e.submitting},[u.value?(H(),D(`button`,{key:0,id:E(i),type:`button`,class:`acu-ask-user-title is-toggle`,"aria-expanded":o.value,"aria-label":o.value?x.value:b.value,onClick:n[0]||=e=>o.value=!o.value},[n[3]||=T(`span`,{class:`acu-ask-user-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})])],-1),T(`span`,Sht,h(y.value),1),T(`span`,Cht,h(f.value.join(` / `)),1),(H(),D(`svg`,{class:k([`acu-ask-user-chevron`,{"is-expanded":o.value}]),"aria-hidden":`true`,viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...n[2]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,xht)):(H(),D(`div`,{key:1,id:E(i),class:`acu-ask-user-title`},[n[4]||=T(`span`,{class:`acu-ask-user-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z`})])],-1),T(`span`,null,h(v.value),1)],8,wht)),!u.value||o.value?(H(),D(j,{key:2},[T(`div`,Tht,h(e.question),1),e.options.length?(H(),D(`div`,Eht,[e.multiple?(H(!0),D(j,{key:0},A(e.options,e=>(H(),D(`label`,{key:e,class:k([`acu-ask-user-option is-checkbox`,{"is-selected":f.value.includes(e),"is-dimmed":w(e)}])},[T(`input`,{type:`checkbox`,checked:f.value.includes(e),disabled:m.value,onChange:t=>O(e)},null,40,Dht),T(`span`,null,h(e),1)],2))),128)):(H(!0),D(j,{key:1},A(e.options,e=>(H(),D(`button`,{key:e,type:`button`,class:k([`acu-ask-user-option`,{"is-selected":p.value.includes(e),"is-dimmed":w(e)}]),disabled:m.value,onClick:t=>M(e)},[p.value.includes(e)?(H(),D(`svg`,kht,[...n[5]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):me(``,!0),T(`span`,null,h(e),1)],10,Oht))),128))])):me(``,!0),S.value.length?(H(),D(`div`,Aht,[(H(!0),D(j,null,A(S.value,e=>(H(),D(`span`,{key:e,class:`acu-ask-user-extra`},h(e),1))),128))])):me(``,!0)],64)):me(``,!0),g.value?(H(),D(`form`,{key:3,class:`acu-ask-user-form`,onSubmit:z(P,[`prevent`])},[N(T(`input`,{"onUpdate:modelValue":n[1]||=e=>a.value=e,type:`text`,class:`acu-ask-user-input`,placeholder:_.value,"aria-label":_.value,disabled:m.value},null,8,jht),[[ce,a.value]]),T(`button`,{type:`submit`,class:`acu-ask-user-submit`,disabled:C.value},[n[6]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})],-1),T(`span`,null,h(e.labels?.submit??`提交回答`),1)],8,Mht)],32)):e.multiple&&!u.value?(H(),D(`button`,{key:4,type:`button`,class:`acu-ask-user-submit is-standalone`,disabled:C.value,onClick:P},[n[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})],-1),T(`span`,null,h(e.labels?.submit??`提交回答`),1)],8,Nht)):me(``,!0)],10,bht))}}),[[`__scopeId`,`data-v-acd35a50`]]),Fht={key:1,class:`acu-plan-wrap`},Iht={key:0,class:`acu-plan-raw`},Lht={key:2,class:`acu-toolcall`},Rht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},zht={key:1,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Bht={key:2,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Vht={key:3,class:`acu-toolcall-bgdot`,"aria-hidden":`true`},Hht={key:4,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Uht={class:`acu-toolcall-name`},Wht={key:0,class:`acu-toolcall-args`},Ght={key:0,class:`acu-toolcall-body`},Kht={key:0,class:`acu-toolcall-section`},qht={class:`acu-toolcall-pre`},Jht={key:1,class:`acu-toolcall-section`},$9=K9(v({__name:`ToolCallBlock`,props:{toolCall:{},planConfig:{default:void 0},askUserLabels:{default:void 0}},setup(e){let t=e,n=U(()=>t.toolCall.status||`pending`),r=B(n.value===`background`);V(n,e=>{e===`background`&&(r.value=!0)});let i=U(()=>Ymt(t.toolCall)),o=U(()=>Q9(t.toolCall)),s=U(()=>t.planConfig?.labels?.raw||`原始参数`);function u(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}return(t,d)=>o.value?(H(),l(Pht,{key:0,class:`acu-toolcall-askuser`,question:o.value.question,options:o.value.options,multiple:o.value.multiple,"allow-free-text":o.value.allowFreeText,answers:o.value.answers,labels:e.askUserLabels},null,8,[`question`,`options`,`multiple`,`allow-free-text`,`answers`,`labels`])):i.value?(H(),D(`div`,Fht,[a(yht,{steps:i.value.steps,note:i.value.note,status:n.value,config:e.planConfig},null,8,[`steps`,`note`,`status`,`config`]),e.toolCall.arguments?(H(),D(`details`,Iht,[T(`summary`,null,h(s.value),1),T(`pre`,null,h(u(e.toolCall.arguments)),1)])):me(``,!0)])):(H(),D(`div`,Lht,[T(`button`,{type:`button`,class:k([`acu-toolcall-header`,{expanded:r.value}]),onClick:d[0]||=e=>r.value=!r.value},[T(`span`,{class:k([`acu-toolcall-status`,`is-${n.value}`])},[n.value===`running`?(H(),D(`svg`,Rht,[...d[1]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):n.value===`done`?(H(),D(`svg`,zht,[...d[2]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):n.value===`error`?(H(),D(`svg`,Bht,[...d[3]||=[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)]])):n.value===`background`?(H(),D(`span`,Vht,[...d[4]||=[T(`span`,{class:`acu-toolcall-bgdot-core`},null,-1)]])):(H(),D(`svg`,Hht,[...d[5]||=[T(`circle`,{cx:`12`,cy:`12`,r:`10`},null,-1),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`},null,-1),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`},null,-1)]]))],2),d[7]||=T(`span`,{class:`acu-toolcall-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z`})])],-1),T(`span`,Uht,h(e.toolCall.name),1),e.toolCall.argsPreview?(H(),D(`span`,Wht,h(e.toolCall.argsPreview),1)):me(``,!0),(H(),D(`svg`,{class:k([`acu-toolcall-chevron`,{expanded:r.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...d[6]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],2),a(te,{name:`acu-toolcall-slide`},{default:ne(()=>[r.value?(H(),D(`div`,Ght,[e.toolCall.arguments?(H(),D(`div`,Kht,[d[8]||=T(`div`,{class:`acu-toolcall-section-label`},`参数`,-1),T(`pre`,qht,h(u(e.toolCall.arguments)),1)])):me(``,!0),e.toolCall.result===void 0?me(``,!0):(H(),D(`div`,Jht,[d[9]||=T(`div`,{class:`acu-toolcall-section-label`},`结果`,-1),T(`pre`,{class:k([`acu-toolcall-pre acu-toolcall-result`,`is-${n.value}`])},h(e.toolCall.result),3)]))])):me(``,!0)]),_:1})]))}}),[[`__scopeId`,`data-v-247ebf5b`]]),Yht={class:`acu-toolgroup`},Xht=[`aria-expanded`],Zht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},Qht={key:1,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},$ht={key:2,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},egt={key:3,class:`acu-toolgroup-bgdot`,"aria-hidden":`true`},tgt={key:4,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},ngt={class:`acu-toolgroup-label`},rgt={class:`acu-toolgroup-hint`},igt={key:1,class:`acu-toolgroup-background`},agt={class:`acu-toolgroup-list`},ogt={key:2,class:`acu-toolgroup-plan`},sgt={key:3,class:`acu-toolgroup-askuser`},cgt=K9(v({__name:`ToolCallGroup`,props:{toolCalls:{},config:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0}},setup(e){let t=e,n=U(()=>Math.max(2,t.config?.collapseThreshold??2)),r=U(()=>t.config?.group!==!1&&t.toolCalls.length>=n.value),i=B(t.config?.defaultExpanded??!1);V(()=>t.config?.defaultExpanded,e=>{i.value=e??!1});function o(){i.value=!i.value}let s=U(()=>{if(!r.value||i.value)return null;for(let e=t.toolCalls.length-1;e>=0;e--)if(Ymt(t.toolCalls[e]))return t.toolCalls[e];return null}),u=U(()=>!r.value||i.value?[]:t.toolCalls.filter(e=>Q9(e))),d=U(()=>!r.value||i.value?[]:t.toolCalls.filter(e=>e.status===`background`)),f=U(()=>{if(!r.value||i.value)return t.toolCalls;let e=t.toolCalls[t.toolCalls.length-1];if(!e)return[];let n=s.value;return n&&e.id===n.id||Q9(e)||e.status===`background`?[]:[e]}),p=U(()=>{let e=0,n=0,r=0,i=0;for(let a of t.toolCalls){let t=a.status||`pending`;t===`running`?e++:t===`error`?n++:t===`done`?r++:t===`background`&&i++}return{total:t.toolCalls.length,running:e,error:n,done:r,background:i}}),m=U(()=>{let e=p.value;return e.running>0?`running`:e.background>0?`background`:e.error>0?`error`:e.done>0?`done`:`pending`}),g=U(()=>{let e=p.value;return e.running>0?`正在调用工具 ${e.done}/${e.total}`:e.background>0?`后台运行中 · 共 ${e.total} 个工具`:e.error>0?`已调用 ${e.total} 个工具 · ${e.error} 个失败`:`已调用 ${e.total} 个工具`});return(t,n)=>(H(),D(`div`,Yht,[r.value?(H(),D(`button`,{key:0,type:`button`,class:k([`acu-toolgroup-header`,{"is-expanded":i.value}]),"aria-expanded":i.value,onClick:o},[T(`span`,{class:k([`acu-toolgroup-status`,`is-${m.value}`])},[m.value===`running`?(H(),D(`svg`,Zht,[...n[0]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):m.value===`done`?(H(),D(`svg`,Qht,[...n[1]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):m.value===`error`?(H(),D(`svg`,$ht,[...n[2]||=[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)]])):m.value===`background`?(H(),D(`span`,egt,[...n[3]||=[T(`span`,{class:`acu-toolgroup-bgdot-core`},null,-1)]])):(H(),D(`svg`,tgt,[...n[4]||=[T(`circle`,{cx:`12`,cy:`12`,r:`10`},null,-1),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`},null,-1),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`},null,-1)]]))],2),n[6]||=x(`<span class="acu-toolgroup-icon" data-v-d70c01a1><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-d70c01a1><path d="M12 2 2 7l10 5 10-5-10-5z" data-v-d70c01a1></path><path d="m2 12 10 5 10-5" data-v-d70c01a1></path><path d="m2 17 10 5 10-5" data-v-d70c01a1></path></svg></span>`,1),T(`span`,ngt,h(g.value),1),T(`span`,rgt,h(i.value?`收起`:`全部`),1),(H(),D(`svg`,{class:k([`acu-toolgroup-chevron`,{expanded:i.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...n[5]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],10,Xht)):me(``,!0),d.value.length?(H(),D(`div`,igt,[(H(!0),D(j,null,A(d.value,t=>(H(),l($9,{key:t.id,"tool-call":t,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels},null,8,[`tool-call`,`plan-config`,`ask-user-labels`]))),128))])):me(``,!0),T(`div`,agt,[(H(!0),D(j,null,A(f.value,t=>(H(),l($9,{key:t.id,"tool-call":t,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels},null,8,[`tool-call`,`plan-config`,`ask-user-labels`]))),128))]),s.value?(H(),D(`div`,ogt,[a($9,{"tool-call":s.value,"plan-config":e.planConfig},null,8,[`tool-call`,`plan-config`])])):me(``,!0),u.value.length?(H(),D(`div`,sgt,[(H(!0),D(j,null,A(u.value,t=>(H(),l($9,{key:t.id,"tool-call":t,"ask-user-labels":e.askUserLabels},null,8,[`tool-call`,`ask-user-labels`]))),128))])):me(``,!0)]))}}),[[`__scopeId`,`data-v-d70c01a1`]]),lgt={key:0,class:`acu-filechanges`},ugt={class:`acu-filechanges-head`},dgt={class:`acu-filechanges-title`},fgt={class:`acu-filechanges-count`},pgt={key:0,class:`acu-filechanges-total`},mgt=[`title`],hgt=[`title`],ggt={class:`acu-filechanges-list`},_gt=[`aria-expanded`,`title`,`onClick`],vgt=[`title`],ygt={key:0,class:`acu-filechanges-dir`},bgt={class:`acu-filechanges-name`},xgt={key:0,class:`acu-filechanges-kind`},Sgt={class:`acu-filechanges-delta`},Cgt=[`title`],wgt=[`title`],Tgt={key:0,class:`acu-filechanges-patch`},Egt=K9(v({__name:`FileChangeList`,props:{changes:{},labels:{default:void 0}},setup(e){let t=e,n=U(()=>({title:t.labels?.title??`文件改动`,files:t.labels?.files??`个文件`,added:t.labels?.added??`新增`,removed:t.labels?.removed??`删除`,expand:t.labels?.expand??`查看改动`,collapse:t.labels?.collapse??`收起改动`,writeHint:t.labels?.writeHint??`整体写入`,empty:t.labels?.empty??`无可预览的差异`})),r=U(()=>t.changes.reduce((e,t)=>e+(Number(t.added)||0),0)),i=U(()=>t.changes.reduce((e,t)=>e+(Number(t.removed)||0),0)),a=B(new Set);function o(e,t){return`${e.path}#${t}`}function s(e,t){return a.value.has(o(e,t))}function l(e,t){let n=o(e,t),r=new Set(a.value);r.has(n)?r.delete(n):r.add(n),a.value=r}function u(e){let t=String(e||``).replace(/\\/g,`/`),n=t.lastIndexOf(`/`);return n<0?{dir:``,base:t}:{dir:t.slice(0,n+1),base:t.slice(n+1)}}function d(e){return e.kind===`write`||e.kind===`create`}function f(e){let t=String(e.patch||``);return t?t.split(`
|
|
3576
|
-
`):[n.value.empty]}function p(e){return e.startsWith(`+`)?`is-add`:e.startsWith(`-`)?`is-del`:e.startsWith(`@@`)?`is-hunk`:``}return(t,a)=>e.changes.length?(H(),D(`div`,lgt,[T(`div`,ugt,[a[0]||=T(`span`,{class:`acu-filechanges-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})])],-1),T(`span`,dgt,h(n.value.title),1),T(`span`,fgt,h(e.changes.length)+` `+h(n.value.files),1),e.changes.length>1?(H(),D(`span`,pgt,[T(`span`,{class:`acu-filechanges-added`,title:n.value.added},`+`+h(r.value),9,mgt),i.value?(H(),D(`span`,{key:0,class:`acu-filechanges-removed`,title:n.value.removed},`−`+h(i.value),9,hgt)):me(``,!0)])):me(``,!0)]),T(`div`,ggt,[(H(!0),D(j,null,A(e.changes,(e,t)=>(H(),D(`div`,{key:`${e.path}-${t}`,class:`acu-filechanges-item`},[T(`button`,{type:`button`,class:`acu-filechanges-row`,"aria-expanded":s(e,t),title:s(e,t)?n.value.collapse:n.value.expand,onClick:n=>l(e,t)},[a[2]||=T(`svg`,{class:`acu-filechanges-file-icon`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z`}),T(`polyline`,{points:`13 2 13 9 20 9`})],-1),T(`span`,{class:`acu-filechanges-path`,title:e.path},[u(e.path).dir?(H(),D(`span`,ygt,h(u(e.path).dir),1)):me(``,!0),T(`span`,bgt,h(u(e.path).base),1)],8,vgt),d(e)?(H(),D(`span`,xgt,h(n.value.writeHint),1)):me(``,!0),T(`span`,Sgt,[e.added?(H(),D(`span`,{key:0,class:`acu-filechanges-added`,title:n.value.added},`+`+h(e.added),9,Cgt)):me(``,!0),e.removed?(H(),D(`span`,{key:1,class:`acu-filechanges-removed`,title:n.value.removed},`−`+h(e.removed),9,wgt)):me(``,!0)]),(H(),D(`svg`,{class:k([`acu-filechanges-chevron`,{"is-open":s(e,t)}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...a[1]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,_gt),s(e,t)?(H(),D(`pre`,Tgt,[(H(!0),D(j,null,A(f(e),(e,t)=>(H(),D(`span`,{key:t,class:k([`acu-filechanges-patch-line`,p(e)])},h(e||` `),3))),128))])):me(``,!0)]))),128))])])):me(``,!0)}}),[[`__scopeId`,`data-v-592ff034`]]),Dgt=[`aria-label`,`title`],Ogt={key:0,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},kgt={key:1,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Agt={key:0,class:`acu-action-tip`},jgt=K9(v({__name:`MessageActions`,props:{role:{},copyText:{},showCopy:{type:Boolean,default:!0},showRetry:{type:Boolean,default:!1},copiedDuration:{default:1600}},emits:[`retry`],setup(e){let t=e,n=B(!1),r=null;function i(){r&&=(clearTimeout(r),null)}O(i),V(()=>t.copyText,()=>{n.value&&(n.value=!1,i())});async function o(e){try{if(typeof navigator<`u`&&navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}try{let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.top=`-9999px`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),t.setSelectionRange(0,t.value.length);let n=document.execCommand(`copy`);return document.body.removeChild(t),n}catch{return!1}}async function s(){let e=t.copyText||``;!e||!await o(e)||(n.value=!0,i(),r=setTimeout(()=>{n.value=!1,r=null},t.copiedDuration))}return(t,r)=>(H(),D(`div`,{class:k([`acu-message-actions`,`is-${e.role}`])},[e.showCopy?(H(),D(`button`,{key:0,type:`button`,class:k([`acu-action-btn`,{"is-done":n.value}]),"aria-label":n.value?`已复制`:`复制`,title:n.value?`已复制`:`复制`,onClick:s},[n.value?(H(),D(`svg`,Ogt,[...r[1]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):(H(),D(`svg`,kgt,[...r[2]||=[T(`rect`,{x:`9`,y:`9`,width:`13`,height:`13`,rx:`2`,ry:`2`},null,-1),T(`path`,{d:`M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1`},null,-1)]])),a(te,{name:`acu-tip`},{default:ne(()=>[n.value?(H(),D(`span`,Agt,`已复制`)):me(``,!0)]),_:1})],10,Dgt)):me(``,!0),e.showRetry?(H(),D(`button`,{key:1,type:`button`,class:`acu-action-btn`,"aria-label":`重新生成`,title:`重新生成`,onClick:r[0]||=e=>t.$emit(`retry`)},[...r[3]||=[x(`<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-f8edafef><path d="M21 2v6h-6" data-v-f8edafef></path><path d="M3 12a9 9 0 0 1 15-6.7L21 8" data-v-f8edafef></path><path d="M3 22v-6h6" data-v-f8edafef></path><path d="M21 12a9 9 0 0 1-15 6.7L3 16" data-v-f8edafef></path></svg>`,1)]])):me(``,!0)],2))}}),[[`__scopeId`,`data-v-f8edafef`]]),Mgt=[`title`],Ngt=K9(v({__name:`MessageMeta`,props:{message:{},config:{default:()=>({})}},setup(e){let t=e,n=U(()=>t.config.items??[`duration`,`tokens`]),r=U(()=>t.message.createdAt??0),i=U(()=>t.message.status===`streaming`||t.message.status===`pending`),a=B(Date.now()),o=null;function s(){o&&=(clearInterval(o),null)}V([i,()=>n.value.includes(`duration`),r],([e,t,n])=>{s(),e&&t&&n&&(a.value=Date.now(),o=setInterval(()=>{a.value=Date.now()},100))},{immediate:!0}),O(s);let l=U(()=>{let e=t.message.meta?.durationMs;if(typeof e==`number`)return O9(e);let n=r.value;if(!n)return``;let o=t.message.finishedAt;return typeof o==`number`&&o>n?O9(o-n):i.value?O9(a.value-n):``}),u=U(()=>{let e=t.message.meta?.firstTokenMs;if(typeof e==`number`&&e>=0)return O9(e);let n=r.value,i=t.message.firstTokenAt;return n&&typeof i==`number`&&i>=n?O9(i-n):``}),d=U(()=>{let e=t.message.meta?.usage;if(!e)return``;if(typeof e.prompt==`number`&&typeof e.completion==`number`)return`↑${k9(e.prompt)} ↓${k9(e.completion)}`;let n=typeof e.total==`number`?e.total:e.prompt??e.completion;return typeof n==`number`?`${k9(n)} tokens`:``}),f=U(()=>{let e=t.message.meta?.usage;if(!e)return``;let n=e.total??(e.prompt??0)+(e.completion??0),r=[];return n&&r.push(`共 ${n.toLocaleString(`en-US`)} tokens`),typeof e.prompt==`number`&&r.push(`输入 ${e.prompt.toLocaleString(`en-US`)}`),typeof e.completion==`number`&&r.push(`输出 ${e.completion.toLocaleString(`en-US`)}`),typeof e.reasoning==`number`&&r.push(`思考 ${e.reasoning.toLocaleString(`en-US`)}`),typeof e.cached==`number`&&r.push(`缓存命中 ${e.cached.toLocaleString(`en-US`)}`),r.join(` · `)}),p=U(()=>r.value?ept(r.value):``);function m(e){switch(e){case`duration`:return l.value?{key:e,value:l.value,title:`回答耗时`}:null;case`firstToken`:return u.value?{key:e,value:u.value,title:`首字延迟(从发送到第一个字到达)`}:null;case`tokens`:return d.value?{key:e,value:d.value,title:f.value}:null;case`time`:return p.value?{key:e,value:p.value,title:`发送时间`}:null;default:return null}}let g=U(()=>{let e=[];for(let t of n.value){let n=m(t);n&&e.push(n)}for(let n of t.message.meta?.extra??[])n!=null&&n.value&&e.push({key:`extra`,value:n.label?`${n.label} ${n.value}`:n.value,title:n.title});return e});return(t,n)=>g.value.length?(H(),D(`div`,{key:0,class:k([`acu-message-meta`,`is-${e.message.role}`])},[(H(!0),D(j,null,A(g.value,(e,t)=>(H(),D(`span`,{key:t,class:k([`acu-meta-item`,`is-${e.key}`]),title:e.title||void 0},h(e.value),11,Mgt))),128))],2)):me(``,!0)}}),[[`__scopeId`,`data-v-80210f5c`]]),Pgt=[`src`,`alt`],Fgt={class:`acu-ip-counter`},Igt=[`title`],Lgt=K9(v({__name:`ImagePreview`,props:{visible:{type:Boolean},images:{},index:{default:0}},emits:[`update:visible`,`update:index`],setup(e,{emit:t}){let n=e,r=t,i=B(0),a=U(()=>n.images[i.value]);V([()=>n.visible,()=>n.index,()=>n.images.length],([e,t,n])=>{e&&(i.value=n?Math.min(Math.max(t,0),n-1):0)},{immediate:!0});function o(e){let t=n.images.length;t<2||(i.value=(i.value+e+t)%t,r(`update:index`,i.value))}function s(){r(`update:visible`,!1)}function u(e){n.visible&&(e.key===`Escape`?(e.preventDefault(),s()):e.key===`ArrowLeft`?(e.preventDefault(),o(-1)):e.key===`ArrowRight`&&(e.preventDefault(),o(1)))}return V(()=>n.visible,e=>{typeof window>`u`||(e?window.addEventListener(`keydown`,u):window.removeEventListener(`keydown`,u))},{immediate:!0}),O(()=>{typeof window<`u`&&window.removeEventListener(`keydown`,u)}),(t,n)=>{var r;return e.visible?(H(),l(ge,{key:0,to:`body`},[T(`div`,{class:`acu-image-preview`,role:`dialog`,"aria-modal":`true`,"aria-label":`图片预览`,onClick:z(s,[`self`]),onWheel:n[3]||=z(()=>{},[`prevent`])},[a.value?(H(),D(`img`,{key:0,class:`acu-image-preview-img`,src:a.value.src,alt:a.value.name||``,onClick:n[0]||=z(()=>{},[`stop`])},null,8,Pgt)):me(``,!0),T(`button`,{type:`button`,class:`acu-ip-btn is-close`,"aria-label":`关闭预览(Esc)`,onClick:s},[...n[4]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]]),e.images.length>1?(H(),D(j,{key:1},[T(`button`,{type:`button`,class:`acu-ip-btn is-prev`,"aria-label":`上一张`,onClick:n[1]||=z(e=>o(-1),[`stop`])},[...n[5]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`15 18 9 12 15 6`})],-1)]]),T(`button`,{type:`button`,class:`acu-ip-btn is-next`,"aria-label":`下一张`,onClick:n[2]||=z(e=>o(1),[`stop`])},[...n[6]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`9 18 15 12 9 6`})],-1)]]),T(`div`,Fgt,h(i.value+1)+` / `+h(e.images.length),1)],64)):me(``,!0),(r=a.value)!=null&&r.name?(H(),D(`div`,{key:2,class:`acu-ip-name`,title:a.value.name},h(a.value.name),9,Igt)):me(``,!0)],32)])):me(``,!0)}}}),[[`__scopeId`,`data-v-4cc2d641`]]),Rgt=[`data-msg-id`],zgt={key:0,class:`acu-avatar acu-avatar--left`},Bgt=[`src`],Vgt={key:1,viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Hgt={class:`acu-bubble-main`},Ugt={key:0,class:`acu-bubble-name`},Wgt=[`aria-label`,`title`,`onClick`,`onKeydown`],Ggt=[`src`,`alt`],Kgt={key:1,class:`acu-att-file`},qgt={class:`acu-att-file-info`},Jgt=[`title`],Ygt={class:`acu-att-file-size`},Xgt={key:2,class:`acu-bubble-toolcalls`},Zgt={key:3,class:`acu-bubble-content`},Qgt={key:0,class:`acu-cursor`,"aria-hidden":`true`},$gt={key:4,class:`acu-pending`},e_t={key:5,class:`acu-bubble-error`},t_t={key:1,class:`acu-avatar acu-avatar--right`},n_t=[`src`],r_t={key:1,viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},i_t=K9(v({__name:`MessageBubble`,props:{message:{},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},isLastAssistant:{type:Boolean,default:!1}},emits:[`retry`],setup(e){let t=e,n=U(()=>t.message.avatar||t.assistantAvatar),r=U(()=>t.message.avatar||t.userAvatar),i=U(()=>{var e;return!!((e=t.message.attachments)!=null&&e.length)}),o=U(()=>{var e;return!!((e=t.message.toolCalls)!=null&&e.length)}),s=U(()=>t.message.role===`assistant`?hpt(t.message.toolCalls):[]),u=U(()=>{let e=t.message.content||``;return e?t.message.reasoningStatus===`streaming`?{reasoning:``,content:e.replace(/<think>[\s\S]*?<\/think>/g,``).trim()}:mmt(e):{reasoning:``,content:``}}),d=U(()=>u.value.reasoning),f=U(()=>u.value.content),p=U(()=>t.message.reasoning||d.value),m=U(()=>t.message.role===`assistant`&&t.message.status===`streaming`&&!!f.value),g=U(()=>t.message.role!==`system`&&t.actionsConfig?.enable!==!1),_=U(()=>!(t.messageMetaConfig?.enable!==!0||t.message.role===`system`||t.message.role===`user`&&t.messageMetaConfig?.showForUser!==!0)),v=U(()=>t.messageMetaConfig?.position??`inline`),y=U(()=>g.value||_.value),b=U(()=>_.value&&(t.messageMetaConfig?.visibility??`hover`)===`hover`),x=B(!1),S=B(0),C=U(()=>(t.message.attachments??[]).filter(e=>E9(e.type)&&!!e.preview).map(e=>({src:e.preview,name:e.name})));function w(e){let t=C.value.findIndex(t=>t.src===e.preview);t<0||(S.value=t,x.value=!0)}let O=U(()=>t.message.role===`assistant`?f.value:t.message.content||``),M=U(()=>t.actionsConfig?.copy!==!1&&!!O.value),N=U(()=>!(t.message.role!==`assistant`||t.actionsConfig?.retry===!1||t.message.status!==`done`||(t.actionsConfig?.retryOnlyLast??!0)&&!t.isLastAssistant));return(t,u)=>(H(),D(`div`,{class:k([`acu-bubble-row`,[`is-${e.message.role}`,{"is-meta-hover":b.value}]]),"data-msg-id":e.message.id},[e.message.role===`assistant`&&e.showAvatar?(H(),D(`div`,zgt,[n.value?(H(),D(`img`,{key:0,src:n.value,alt:``},null,8,Bgt)):(H(),D(`svg`,Vgt,[...u[4]||=[T(`path`,{d:`M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z`},null,-1),T(`path`,{d:`M19 14l.8 1.9L21.7 17l-1.9.8L19 19.7l-.8-1.9L16.3 17l1.9-.8L19 14z`},null,-1)]]))])):me(``,!0),T(`div`,Hgt,[e.message.role===`assistant`?(H(),D(`div`,Ugt,h(e.assistantName),1)):me(``,!0),i.value?(H(),D(`div`,{key:1,class:k([`acu-attachments`,`is-${e.message.role}`])},[(H(!0),D(j,null,A(e.message.attachments,e=>(H(),D(j,{key:e.id},[E(E9)(e.type)&&e.preview?(H(),D(`div`,{key:0,class:`acu-att-thumb`,role:`button`,tabindex:`0`,"aria-label":`预览 ${e.name}`,title:`点击预览 ${e.name}`,onClick:t=>w(e),onKeydown:[ee(z(t=>w(e),[`prevent`]),[`enter`]),ee(z(t=>w(e),[`prevent`]),[`space`])]},[T(`img`,{src:e.preview,alt:e.name,loading:`lazy`},null,8,Ggt)],40,Wgt)):(H(),D(`div`,Kgt,[u[5]||=T(`span`,{class:`acu-att-file-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})])],-1),T(`span`,qgt,[T(`span`,{class:`cu-att-file-name`,title:e.name},h(e.name),9,Jgt),T(`span`,Ygt,h(E($ft)(e.size)),1)])]))],64))),128))],2)):me(``,!0),T(`div`,{class:k([`acu-bubble`,`is-${e.message.role}`])},[e.message.role===`assistant`&&p.value?(H(),l(zmt,{key:0,content:p.value,streaming:e.message.reasoningStatus===`streaming`,config:e.thinkingConfig,"duration-ms":e.message.meta?.reasoningMs,"started-at":e.message.reasoningStartedAt,"ended-at":e.message.reasoningEndedAt},null,8,[`content`,`streaming`,`config`,`duration-ms`,`started-at`,`ended-at`])):me(``,!0),s.value.length?(H(),l(Egt,{key:1,class:`acu-bubble-filechanges`,changes:s.value,labels:e.fileChangesLabels},null,8,[`changes`,`labels`])):me(``,!0),o.value?(H(),D(`div`,Xgt,[a(cgt,{"tool-calls":e.message.toolCalls||[],config:e.toolCallsConfig,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels},null,8,[`tool-calls`,`config`,`plan-config`,`ask-user-labels`])])):me(``,!0),f.value?(H(),D(`div`,Zgt,[a(q9,{source:f.value,streaming:m.value},null,8,[`source`,`streaming`]),m.value?(H(),D(`span`,Qgt)):me(``,!0)])):e.message.role===`assistant`&&e.message.status===`pending`?(H(),D(`div`,$gt,[...u[6]||=[T(`span`,{class:`acu-typing-dots`,"aria-label":`正在思考`},[T(`span`),T(`span`),T(`span`)],-1)]])):me(``,!0),e.message.status===`error`?(H(),D(`div`,e_t,[u[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`circle`,{cx:`12`,cy:`12`,r:`10`}),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})],-1),T(`span`,null,h(e.message.error||`生成失败,请重试`),1),T(`button`,{type:`button`,class:`acu-retry-btn`,onClick:u[0]||=n=>t.$emit(`retry`,e.message)},`重试`)])):me(``,!0)],2),y.value?(H(),D(`div`,{key:2,class:k([`acu-bubble-footer`,[`is-${e.message.role}`,`is-meta-${v.value}`]])},[g.value?(H(),l(jgt,{key:0,role:e.message.role,"copy-text":O.value,"show-copy":M.value,"show-retry":N.value,"copied-duration":e.actionsConfig?.copiedDuration??1600,onRetry:u[1]||=n=>t.$emit(`retry`,e.message)},null,8,[`role`,`copy-text`,`show-copy`,`show-retry`,`copied-duration`])):me(``,!0),_.value?(H(),l(Ngt,{key:1,message:e.message,config:e.messageMetaConfig},null,8,[`message`,`config`])):me(``,!0)],2)):me(``,!0)]),e.message.role===`user`&&e.showAvatar?(H(),D(`div`,t_t,[r.value?(H(),D(`img`,{key:0,src:r.value,alt:``},null,8,n_t)):(H(),D(`svg`,r_t,[...u[8]||=[T(`path`,{d:`M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2`},null,-1),T(`circle`,{cx:`12`,cy:`7`,r:`4`},null,-1)]]))])):me(``,!0),a(Lgt,{visible:x.value,"onUpdate:visible":u[2]||=e=>x.value=e,index:S.value,"onUpdate:index":u[3]||=e=>S.value=e,images:C.value},null,8,[`visible`,`index`,`images`])],10,Rgt))}}),[[`__scopeId`,`data-v-eb66466e`]]),a_t={key:0,class:`acu-followup-title`},o_t={key:0},s_t={key:1,class:`acu-followup-loading`},c_t={class:`acu-followup-list`},l_t=[`onClick`],u_t={class:`acu-followup-item-label`},d_t=K9(v({__name:`FollowupSuggestions`,props:{items:{default:()=>[]},title:{default:`继续追问`},loading:{type:Boolean,default:!1}},emits:[`select`],setup(e){let t=e,n=U(()=>t.loading||t.items&&t.items.length>0);return(t,r)=>n.value?(H(),D(`div`,{key:0,class:k([`acu-followup`,{"is-loading":e.loading}])},[e.title||e.loading?(H(),D(`div`,a_t,[e.loading?(H(),D(`span`,s_t,[...r[0]||=[T(`span`,{class:`acu-followup-dot`},null,-1),T(`span`,{class:`acu-followup-dot`},null,-1),T(`span`,{class:`acu-followup-dot`},null,-1),re(` 正在生成追问… `,-1)]])):(H(),D(`span`,o_t,h(e.title),1))])):me(``,!0),T(`div`,c_t,[(H(!0),D(j,null,A(e.items,e=>(H(),D(`button`,{key:e.id,type:`button`,class:`acu-followup-item`,onClick:n=>t.$emit(`select`,e)},[T(`span`,u_t,h(e.label),1),r[1]||=T(`svg`,{class:`acu-followup-item-arrow`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`line`,{x1:`7`,y1:`17`,x2:`17`,y2:`7`}),T(`polyline`,{points:`7 7 17 7 17 17`})],-1)],8,l_t))),128))])],2)):me(``,!0)}}),[[`__scopeId`,`data-v-3a8d51cc`]]),f_t=[`data-turn-id`,`aria-label`,`aria-current`,`onClick`,`onMouseenter`,`onFocus`],p_t={key:0,class:`acu-rail-tip-q`},m_t={class:`acu-rail-tip-a`},h_t=K9(v({__name:`MessageRail`,props:{messages:{},activeId:{default:null},config:{default:void 0},assistantName:{default:`AI`}},emits:[`select`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=U(()=>{let e=r.config??{};return{widthBy:e.widthBy??`length`,minWidth:e.minWidth??8,maxWidth:e.maxWidth??26,barHeight:e.barHeight??3,maxGap:e.maxGap??10,maxHeight:e.maxHeight??320,idleOpacity:e.idleOpacity??.3,showTooltip:e.showTooltip??!0,clickToScroll:e.clickToScroll??!0}}),o=U(()=>a.value.barHeight),s=U(()=>a.value.maxHeight),l=U(()=>a.value.idleOpacity),u=U(()=>a.value.showTooltip);function d(e){return(e.content||e.reasoning||``).replace(/\s+/g,` `).trim()}function p(e,t){return e.length>t?`${e.slice(0,t)}…`:e}let m=U(()=>{let e=[];for(let t of r.messages){let n=e[e.length-1];(t.role===`user`||!n)&&(n={anchor:t,question:``,answer:``,msgIds:[],chars:0,streaming:!1},e.push(n)),n.msgIds.push(t.id),n.chars+=(t.content?.length??0)+(t.reasoning?.length??0)*.5,(t.status===`streaming`||t.status===`pending`)&&(n.streaming=!0);let r=d(t);t.role===`user`?n.question||(n.question=r):r&&(n.answer=r)}return e}),g=U(()=>{let e=m.value,{widthBy:t,minWidth:n,maxWidth:r}=a.value;if(!e.length)return[];if(t===`even`)return e.map(()=>r);let i=e.map(e=>Math.max(4,e.chars)),o=Math.min(...i),s=Math.max(...i);if(s-o<1)return e.map(()=>r);let l=Math.log10(o),u=Math.log10(s)-l;return i.map(e=>{let t=Math.min(1,Math.max(0,(Math.log10(e)-l)/u));return Math.round(n+t*(r-n))})}),_=U(()=>m.value.map((e,t)=>{let n=e.answer?p(e.answer,72):e.streaming?`正在生成…`:`(暂无回答)`,r=p(e.question,40);return{id:e.anchor.id,question:r,answer:n,title:`${r||`对话`} — ${n}`,width:g.value[t]??a.value.minWidth,streaming:e.streaming}})),v=U(()=>{let e=r.activeId;return e?m.value.find(t=>t.msgIds.includes(e))?.anchor.id??null:null}),y=U(()=>{let e=_.value.length;if(e<=1)return a.value.maxGap;let{maxGap:t,maxHeight:n,barHeight:r}=a.value,i=(n-r)/(e-1);return Math.round(Math.min(t,Math.max(4,i-r)))}),b=B(!1),x=B(-1),S=B(null),C=B(0),w=U(()=>x.value>=0?_.value[x.value]??null:null),E=U(()=>{let e=o.value+y.value;return x.value*e+o.value/2-C.value});function O(){C.value=S.value?.scrollTop??0}function M(){b.value=!1,x.value=-1}function N(e){if(!a.value.clickToScroll)return;let t=m.value[e];t&&i(`select`,t.anchor,e)}return V(v,()=>{let e=_.value.findIndex(e=>e.id===v.value),t=S.value;if(e<0||!t)return;let n=o.value+y.value,r=e*n;r<t.scrollTop?t.scrollTop=r:r+n>t.scrollTop+t.clientHeight&&(t.scrollTop=r+n-t.clientHeight)}),t({hovering:b}),(e,t)=>_.value.length>1?(H(),D(`div`,{key:0,class:`acu-rail`,style:f({"--acu-rail-idle":l.value}),role:`navigation`,"aria-label":`对话轮次导航`,onMouseenter:t[0]||=e=>b.value=!0,onMouseleave:M},[T(`div`,{ref_key:`stackRef`,ref:S,class:`acu-rail-stack`,style:f({gap:`${y.value}px`,maxHeight:`${s.value}px`}),onScroll:O},[(H(!0),D(j,null,A(_.value,(e,t)=>(H(),D(`button`,{key:e.id,type:`button`,class:k([`acu-rail-bar`,{"is-active":e.id===v.value,"is-streaming":e.streaming,"is-hot":t===x.value}]),style:f({width:`${e.width}px`,height:`${o.value}px`}),"data-turn-id":e.id,"aria-label":e.title,"aria-current":e.id===v.value?`true`:void 0,onClick:e=>N(t),onMouseenter:e=>x.value=t,onFocus:e=>x.value=t},null,46,f_t))),128))],36),u.value&&w.value?(H(),D(`div`,{key:0,class:`acu-rail-tip`,style:f({top:`${E.value}px`})},[w.value.question?(H(),D(`div`,p_t,h(w.value.question),1)):me(``,!0),T(`div`,m_t,h(w.value.answer),1)],4)):me(``,!0)],36)):me(``,!0)}}),[[`__scopeId`,`data-v-b92af984`]]),g_t={class:`acu-message-list-inner`},__t=80,v_t=40,y_t=6,b_t=8,x_t=K9(v({__name:`MessageList`,props:{messages:{},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},followup:{default:void 0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},messageRailConfig:{default:void 0}},emits:[`retry`,`followup-select`],setup(e,{expose:t,emit:n}){let r=e,i=U(()=>{if(r.followup)return Array.isArray(r.followup)?{items:r.followup,mode:`latest`,autoSend:!0}:r.followup}),o=U(()=>i.value?.title??`继续追问`),u=U(()=>i.value?.mode??`latest`),p=U(()=>i.value?.showDuringStreaming??!1),m=oe({}),h=U(()=>{for(let e=r.messages.length-1;e>=0;e--){let t=r.messages[e];if(t.role===`assistant`&&t.status===`done`)return t.id}return null}),g=U(()=>{for(let e=r.messages.length-1;e>=0;e--)if(r.messages[e].role===`assistant`)return r.messages[e].id;return null});function _(e){return e.role!==`assistant`||e.status===`error`?!1:e.status===`streaming`||e.status===`pending`?p.value:u.value===`latest`?e.id===h.value:e.status===`done`}let v=0;async function y(e){let t=i.value;if(!t||typeof t.provider!=`function`)return;if(t.items&&t.items.length){m[e.id]={items:t.items,loading:!1};return}let n=++v;m[e.id]={items:[],loading:!0};try{let i=await t.provider(e,r.messages);if(n!==v)return;let a=Array.isArray(i)?i:[];m[e.id]={items:a,loading:!1}}catch(t){if(n!==v)return;m[e.id]={items:[],loading:!1},console.warn(`[ai-chat-ui] followup provider error:`,t)}}V(()=>r.messages.map(e=>`${e.id}:${e.status}:${e.content.length}`).join(`|`),()=>{x()},{immediate:!0});function b(){let e=new Set;for(let t of r.messages)_(t)&&e.add(t.id);for(let t of Object.keys(m))e.has(t)||delete m[t]}function x(){let e=i.value;if(!e){for(let e of Object.keys(m))delete m[e];return}if(e.items&&e.items.length){for(let t of r.messages)_(t)&&(m[t.id]={items:e.items,loading:!1});b();return}if(typeof e.provider==`function`){for(let e of r.messages)_(e)&&!m[e.id]&&y(e);b()}}V(()=>r.followup,()=>{for(let e of Object.keys(m))delete m[e];v++,x()});let S=B(null),C=B(!0),w=U(()=>r.messageRailConfig?.enable===!0),E=B(null),k=B(null),M=B(null),P=B(0),F=B(null),I=null,L=U(()=>F.value===null?void 0:{left:`${F.value}px`});function R(e){(k.value?.closest(`.acu-chat`)||k.value)?.style.setProperty(`--acu-rail-lane`,`${e}px`)}function z(){let e=k.value;if(!e)return;let t=M.value?.$el,n=e.querySelector(`.acu-message-list-inner`);if(!w.value||!t||!n){F.value=null,P.value!==0&&(P.value=0,R(0));return}let r=e.getBoundingClientRect().left,i=n.getBoundingClientRect().left-r-P.value,a=t.getBoundingClientRect().width||38,o=Math.max(y_t,i-v_t);F.value=o;let s=o+a-i,l=s>0?Math.ceil(s+b_t):0;l!==P.value&&(P.value=l,R(l))}V(w,e=>{e&&s(()=>z())}),V(()=>r.messages.length,()=>{s(()=>z())}),d(()=>{w.value&&typeof ResizeObserver<`u`&&k.value&&(I=new ResizeObserver(()=>z()),I.observe(k.value)),s(()=>z())}),O(()=>{I?.disconnect(),I=null,R(0)});function ee(){let e=S.value;if(!e)return;let t=e.getBoundingClientRect(),n=t.top+t.height/2,i=null;for(let t of e.querySelectorAll(`[data-msg-id]`))if(t.getBoundingClientRect().top<=n)i=t.dataset.msgId??null;else break;E.value=i??r.messages[0]?.id??null}function re(e){let t=S.value;if(!t)return;let n=typeof CSS<`u`&&CSS.escape?CSS.escape(e.id):e.id,r=t.querySelector(`[data-msg-id="${n}"]`);r&&t.scrollTo({top:Math.max(0,r.offsetTop-16),behavior:`smooth`})}function ie(){let e=S.value;if(!e)return;let t=e.scrollHeight-e.scrollTop-e.clientHeight;C.value=t<__t,w.value&&ee()}function se(e=!1){let t=S.value;t&&(t.scrollTo({top:t.scrollHeight,behavior:e?`smooth`:`auto`}),C.value=!0)}function ce(){let e=r.messages[r.messages.length-1];return e?`${r.messages.length}:${e.id}:${e.content.length}:${e.reasoning?.length??0}`:``}return V(ce,()=>{C.value&&s(()=>se(!1))}),V(()=>r.messages.length,()=>{s(()=>{se(!1),w.value&&ee()})}),V(w,e=>{e&&s(()=>{ee(),z()})}),d(()=>{se(!1),s(()=>ee())}),t({scrollToBottom:se}),(t,n)=>(H(),D(`div`,{ref_key:`wrapRef`,ref:k,class:`acu-message-list-wrap`},[T(`div`,{ref_key:`scrollRef`,ref:S,class:`acu-message-list`,onScroll:ie},[T(`div`,g_t,[(H(!0),D(j,null,A(e.messages,r=>(H(),D(j,{key:r.id},[a(i_t,{message:r,"assistant-name":e.assistantName,"assistant-avatar":e.assistantAvatar,"user-avatar":e.userAvatar,"show-avatar":e.showAvatar,"tool-calls-config":e.toolCallsConfig,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels,"file-changes-labels":e.fileChangesLabels,"thinking-config":e.thinkingConfig,"actions-config":e.actionsConfig,"message-meta-config":e.messageMetaConfig,"is-last-assistant":r.id===g.value,onRetry:n[0]||=e=>t.$emit(`retry`,e)},null,8,[`message`,`assistant-name`,`assistant-avatar`,`user-avatar`,`show-avatar`,`tool-calls-config`,`plan-config`,`ask-user-labels`,`file-changes-labels`,`thinking-config`,`actions-config`,`message-meta-config`,`is-last-assistant`]),_(r)?(H(),l(d_t,{key:0,items:m[r.id]?.items??[],title:o.value,loading:m[r.id]?.loading??!1,onSelect:e=>t.$emit(`followup-select`,e,r)},null,8,[`items`,`title`,`loading`,`onSelect`])):me(``,!0)],64))),128))]),a(te,{name:`acu-fade`},{default:ne(()=>[N(T(`button`,{type:`button`,class:`acu-scroll-btn`,"aria-label":`回到底部`,onClick:n[1]||=e=>se(!0)},[...n[2]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`6 9 12 15 18 9`})],-1)]],512),[[ae,!C.value&&e.messages.length>0]])]),_:1})],544),w.value?(H(),l(h_t,{key:0,ref_key:`railRef`,ref:M,messages:e.messages,"active-id":E.value,config:e.messageRailConfig,"assistant-name":e.assistantName,style:f(L.value),onSelect:re},null,8,[`messages`,`active-id`,`config`,`assistant-name`,`style`])):me(``,!0)],512))}}),[[`__scopeId`,`data-v-79f71474`]]),S_t={class:`acu-welcome`},C_t={class:`acu-welcome-title`},w_t={key:0,class:`acu-welcome-desc`},T_t={key:1,class:`acu-welcome-grid`},E_t=[`onClick`],D_t={class:`acu-preset-q-index`,"aria-hidden":`true`},O_t={class:`acu-preset-q-body`},k_t={class:`acu-preset-q-label`},A_t={key:0,class:`acu-preset-q-prompt`},j_t=K9(v({__name:`WelcomeScreen`,props:{title:{default:`你好,有什么可以帮你?`},description:{default:`试着问我任何问题,或选择下方的话题开始对话。`},questions:{default:()=>[]},maxWidth:{default:`var(--acu-max-width)`}},emits:[`select`],setup(e){let t=e,n=U(()=>typeof t.maxWidth==`number`?`${t.maxWidth}px`:t.maxWidth);return(t,r)=>(H(),D(`div`,S_t,[T(`div`,{class:`acu-welcome-inner`,style:f({maxWidth:n.value})},[r[1]||=x(`<div class="acu-welcome-logo" data-v-24c4a280><svg viewBox="0 0 24 24" width="26" height="26" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" data-v-24c4a280><path d="M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z" data-v-24c4a280></path><path d="M19 14l.8 1.9L21.7 17l-1.9.8L19 19.7l-.8-1.9L16.3 17l1.9-.8L19 14z" data-v-24c4a280></path><path d="M5 15l.6 1.5L7.1 17l-1.5.6L5 19.1l-.6-1.5L2.9 17l1.5-.6L5 15z" data-v-24c4a280></path></svg></div>`,1),T(`h2`,C_t,h(e.title),1),e.description?(H(),D(`p`,w_t,h(e.description),1)):me(``,!0),e.questions.length?(H(),D(`div`,T_t,[(H(!0),D(j,null,A(e.questions,(e,n)=>(H(),D(`button`,{key:e.id,type:`button`,class:`acu-preset-q`,onClick:n=>t.$emit(`select`,e)},[T(`span`,D_t,h(String(n+1).padStart(2,`0`)),1),T(`span`,O_t,[T(`span`,k_t,h(e.label),1),e.prompt?(H(),D(`span`,A_t,h(e.prompt),1)):me(``,!0)]),r[0]||=T(`svg`,{class:`acu-preset-q-arrow`,viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`7`,y1:`17`,x2:`17`,y2:`7`}),T(`polyline`,{points:`7 7 17 7 17 17`})],-1)],8,E_t))),128))])):me(``,!0)],4)]))}}),[[`__scopeId`,`data-v-24c4a280`]]),M_t={key:0,class:`acu-input-drop-hint`},N_t={key:1,class:`acu-input-queue`},P_t={class:`acu-input-queue-head`},F_t={class:`acu-input-queue-title`},I_t={class:`acu-input-queue-count`},L_t={class:`acu-input-queue-hint`},R_t={class:`acu-input-queue-index`},z_t=[`title`],B_t=[`title`],V_t={class:`acu-input-queue-att-name`},H_t=[`title`,`aria-label`,`onClick`],U_t={key:2,class:`acu-input-attachments`},W_t=[`aria-label`,`title`,`onClick`,`onKeydown`],G_t=[`src`,`alt`],K_t={key:1,class:`acu-input-att-file`},q_t=[`title`],J_t=[`onClick`],Y_t={class:`acu-input-row`},X_t=[`placeholder`,`disabled`],Z_t={class:`acu-input-toolbar`},Q_t=[`disabled`],$_t=[`accept`,`multiple`],evt=[`title`],tvt={class:`acu-input-chip-label`},nvt=[`aria-label`],rvt={class:`acu-input-usage-text`,role:`tooltip`},ivt={class:`acu-input-usage-ring`,viewBox:`0 0 36 36`,"aria-hidden":`true`},avt=[`stroke-dasharray`],ovt=[`title`],svt={class:`acu-input-chip-label`},cvt=[`disabled`,`aria-label`,`title`],lvt=K9(v({__name:`ChatInput`,props:{placeholder:{default:`输入消息,Enter 发送,Shift+Enter 换行`},disabled:{type:Boolean,default:!1},generating:{type:Boolean,default:!1},allowQueue:{type:Boolean,default:!1},queued:{default:()=>[]},queuePaused:{type:Boolean,default:!1},queueLabels:{default:()=>({})},uploadConfig:{default:()=>({})},maxLength:{default:4e3},gitBranch:{default:``},model:{default:``},contextUsage:{default:null}},emits:[`send`,`stop`,`unqueue`,`flush-queued`],setup(e,{expose:t,emit:n}){let r=e,i=n,o=B(``),l=B([]),u=B(null),f=B(null),p=B(!1),m=B(!1),g=0,_=B(!1),v=B(0),y=U(()=>l.value.filter(e=>!!e.preview).map(e=>({src:e.preview,name:e.file.name})));function b(e){let t=y.value.findIndex(t=>t.src===e.preview);t<0||(v.value=t,_.value=!0)}let S=U(()=>({enabled:!0,multiple:!0,accept:``,maxCount:10,maxSize:20971520,...r.uploadConfig}));function C(e){if(!Number.isFinite(e))return`—`;let t=/^K/i.test(r.contextUsage?.unit||``),n=t?e/1e3:e;return t?n.toFixed(1):String(Math.round(n))}let w=U(()=>{let e=r.contextUsage;if(!e)return null;let t=Number.isFinite(e.ratio)?e.ratio:0,n=e.unit||``,i=t*100,a=e.level||(t>=1?`full`:t>=.8?`warn`:`normal`),o=`${i.toFixed(1)}% · ${C(e.current)}${n} / ${C(e.total)}${n}`+(e.suffix?` ${e.suffix}`:``),s=2*Math.PI*15,l=Math.min(Math.max(t,0),1);return{level:a,summary:o,detail:e.detail||o,dashArray:`${(s*l).toFixed(2)} ${s.toFixed(2)}`}}),E=U(()=>S.value.enabled),O=U(()=>({title:r.queueLabels.title||`排队中`,hint:r.queueLabels.hint||`等本轮跑完依次发送`,pausedHint:r.queueLabels.pausedHint||`已暂停,点「立即发送」继续`,send:r.queueLabels.send||`加入队列`,flush:r.queueLabels.flush||`立即发送`,remove:r.queueLabels.remove||`移出队列`})),M=U(()=>o.value.trim().length>0||l.value.length>0);function P(e){e.key===`Enter`&&!e.shiftKey&&!m.value&&!e.isComposing&&(e.preventDefault(),R())}function F(){m.value=!0}function I(){m.value=!1}function L(){let e=u.value;if(!e)return;e.style.height=`auto`;let t=e.scrollHeight;e.style.height=Math.min(t,200)+`px`;let n=t>200?`auto`:`hidden`;e.style.overflowY!==n&&(e.style.overflowY=n)}function R(){if(r.generating&&!r.allowQueue||!M.value||r.disabled)return;let e=o.value.trim();!e&&l.value.length===0||(i(`send`,{text:e,files:[...l.value]}),o.value=``,l.value=[],s(()=>{var e;L(),(e=u.value)==null||e.focus()}))}function te(){var e;(e=f.value)==null||e.click()}function ne(e){let t=e.target;t.files&&re(Array.from(t.files)),t.value=``}function re(e){let t=S.value;for(let n of e){if(t.maxCount&&l.value.length>=t.maxCount)break;if(t.maxSize&&n.size>t.maxSize)continue;let e={file:n,id:D9(`file`)};E9(n.type)&&(e.preview=URL.createObjectURL(n)),l.value.push(e)}}function ie(e){let t=l.value.findIndex(t=>t.id===e);if(t>=0){let e=l.value[t];e.preview&&URL.revokeObjectURL(e.preview),l.value.splice(t,1)}}function ae(e){if(r.disabled||!E.value)return;let t=e.clipboardData?.items;if(!t||t.length===0)return;let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.kind===`file`){let e=r.getAsFile();e&&n.push(e)}}n.length!==0&&(e.preventDefault(),re(n))}function oe(e){var t;r.disabled||!E.value||(t=e.dataTransfer)!=null&&t.types.includes(`Files`)&&(g++,p.value=!0)}function V(){g=Math.max(0,g-1),g===0&&(p.value=!1)}function se(e){var t;if(g=0,p.value=!1,r.disabled||!E.value)return;let n=(t=e.dataTransfer)!=null&&t.files?Array.from(e.dataTransfer.files):[];n.length&&re(n)}return d(()=>L()),t({focus:()=>u.value?.focus(),clear:()=>{o.value=``,l.value=[],s(L)}}),(t,n)=>(H(),D(`div`,{class:k([`acu-input-wrap`,{"is-dragging":p.value,"is-disabled":e.disabled}]),onDragenter:oe,onDragover:n[5]||=z(()=>{},[`prevent`]),onDragleave:V,onDrop:z(se,[`prevent`])},[p.value?(H(),D(`div`,M_t,[...n[6]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}),T(`polyline`,{points:`17 8 12 3 7 8`}),T(`line`,{x1:`12`,y1:`3`,x2:`12`,y2:`15`})],-1),T(`span`,null,`松开以添加文件`,-1)]])):me(``,!0),e.queued.length?(H(),D(`div`,N_t,[T(`div`,P_t,[T(`span`,F_t,h(O.value.title),1),T(`span`,I_t,h(e.queued.length),1),T(`span`,L_t,h(e.queuePaused?O.value.pausedHint:O.value.hint),1)]),(H(!0),D(j,null,A(e.queued,(t,r)=>(H(),D(`div`,{key:t.id,class:`acu-input-queue-item`},[T(`span`,R_t,h(r+1),1),T(`span`,{class:`acu-input-queue-text`,title:t.text},h(t.text),9,z_t),t.attachmentNames&&t.attachmentNames.length?(H(),D(`span`,{key:0,class:`acu-input-queue-atts`,title:t.attachmentNames.join(`、`)},[n[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48`})],-1),T(`span`,V_t,h(t.attachmentNames.join(`、`)),1)],8,B_t)):me(``,!0),r===0&&e.queuePaused?(H(),D(`button`,{key:1,type:`button`,class:`acu-input-queue-btn`,onClick:n[0]||=e=>i(`flush-queued`)},h(O.value.flush),1)):me(``,!0),T(`button`,{type:`button`,class:`acu-input-queue-remove`,title:O.value.remove,"aria-label":O.value.remove,onClick:e=>i(`unqueue`,t.id)},[...n[8]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.4`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,H_t)]))),128))])):me(``,!0),l.value.length?(H(),D(`div`,U_t,[(H(!0),D(j,null,A(l.value,e=>(H(),D(`div`,{key:e.id,class:`acu-input-att`},[e.preview?(H(),D(`div`,{key:0,class:`acu-input-att-thumb`,role:`button`,tabindex:`0`,"aria-label":`预览 ${e.file.name}`,title:`点击预览 ${e.file.name}`,onClick:t=>b(e),onKeydown:[ee(z(t=>b(e),[`prevent`]),[`enter`]),ee(z(t=>b(e),[`prevent`]),[`space`])]},[T(`img`,{src:e.preview,alt:e.file.name},null,8,G_t)],40,W_t)):(H(),D(`div`,K_t,[n[9]||=T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.7`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})],-1),T(`span`,{class:`acu-input-att-name`,title:e.file.name},h(e.file.name),9,q_t)])),T(`button`,{type:`button`,class:`acu-input-att-remove`,"aria-label":`移除`,onClick:t=>ie(e.id)},[...n[10]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.4`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,J_t)]))),128))])):me(``,!0),a(Lgt,{visible:_.value,"onUpdate:visible":n[1]||=e=>_.value=e,index:v.value,"onUpdate:index":n[2]||=e=>v.value=e,images:y.value},null,8,[`visible`,`index`,`images`]),T(`div`,Y_t,[N(T(`textarea`,{ref_key:`textareaRef`,ref:u,"onUpdate:modelValue":n[3]||=e=>o.value=e,class:`acu-input-textarea`,placeholder:e.placeholder,rows:1,disabled:e.disabled,onKeydown:P,onInput:L,onCompositionstart:F,onCompositionend:I,onPaste:ae},null,40,X_t),[[ce,o.value]])]),T(`div`,Z_t,[E.value?(H(),D(`button`,{key:0,type:`button`,class:`acu-input-icon-btn`,disabled:e.disabled,"aria-label":`添加附件`,onClick:te},[...n[11]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48`})],-1)]],8,Q_t)):me(``,!0),T(`input`,{ref_key:`fileInputRef`,ref:f,type:`file`,class:`acu-input-file`,accept:S.value.accept,multiple:S.value.multiple,onChange:ne},null,40,$_t),e.gitBranch?(H(),D(`span`,{key:1,class:`acu-input-chip is-git`,title:e.gitBranch},[n[12]||=x(`<span class="acu-input-chip-icon" aria-hidden="true" data-v-7df93c1b><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-7df93c1b><line x1="6" y1="3" x2="6" y2="15" data-v-7df93c1b></line><circle cx="18" cy="6" r="3" data-v-7df93c1b></circle><circle cx="6" cy="18" r="3" data-v-7df93c1b></circle><path d="M18 9a9 9 0 0 1-9 9" data-v-7df93c1b></path></svg></span>`,1),T(`span`,tvt,h(e.gitBranch),1)],8,evt)):me(``,!0),n[17]||=T(`div`,{class:`acu-input-toolbar-spacer`},null,-1),w.value?(H(),D(`div`,{key:2,class:k([`acu-input-usage`,`is-${w.value.level}`]),role:`img`,"aria-label":w.value.summary,tabindex:`0`},[T(`span`,rvt,h(w.value.summary),1),(H(),D(`svg`,ivt,[n[13]||=T(`circle`,{class:`acu-input-usage-track`,cx:`18`,cy:`18`,r:`15`},null,-1),T(`circle`,{class:`acu-input-usage-arc`,cx:`18`,cy:`18`,r:`15`,"stroke-dasharray":w.value.dashArray},null,8,avt)]))],10,nvt)):me(``,!0),e.model?(H(),D(`span`,{key:3,class:`acu-input-chip is-model`,title:e.model},[n[14]||=T(`span`,{class:`acu-input-chip-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z`})])],-1),T(`span`,svt,h(e.model),1)],8,ovt)):me(``,!0),!e.generating||e.allowQueue?(H(),D(`button`,{key:4,type:`button`,class:`acu-input-send`,disabled:!M.value||e.disabled,"aria-label":e.generating?O.value.send:`发送`,title:e.generating?O.value.send:`发送`,onClick:R},[...n[15]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`5`}),T(`polyline`,{points:`5 12 12 5 19 12`})],-1)]],8,cvt)):me(``,!0),e.generating?(H(),D(`button`,{key:5,type:`button`,class:`acu-input-send is-stop`,"aria-label":`停止生成`,title:`停止生成`,onClick:n[4]||=e=>i(`stop`)},[...n[16]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2.5`})],-1)]])):me(``,!0)])],34))}}),[[`__scopeId`,`data-v-7df93c1b`]]);function uvt(e){let t=B(!1),n=null;function r(e){t.value=e.matches}return d(()=>{typeof window>`u`||!window.matchMedia||(n=window.matchMedia(`(prefers-color-scheme: dark)`),r(n),n.addEventListener(`change`,r))}),O(()=>{n?.removeEventListener(`change`,r),n=null}),U(()=>{let n=he(e);return n===`auto`?t.value?`dark`:`light`:n})}var dvt=[`data-theme`],fvt={class:`acu-chat-body`},pvt={key:0,class:`acu-chat-question`},mvt={key:0,class:`acu-chat-footer`},hvt=K9(v({__name:`ChatContainer`,props:{messages:{},presetQuestions:{default:()=>[]},welcomeTitle:{default:`你好,有什么可以帮你?`},welcomeDescription:{default:`试着问我任何问题,或选择下方的话题开始对话。`},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},theme:{default:`light`},placeholder:{default:`输入消息,Enter 发送,Shift+Enter 换行`},disabled:{type:Boolean,default:!1},generating:{type:Boolean,default:!1},allowQueue:{type:Boolean,default:!1},queued:{default:()=>[]},queuePaused:{type:Boolean,default:!1},queueLabels:{default:void 0},showInput:{type:Boolean,default:!0},question:{default:null},questionAnswers:{default:()=>[]},questionSubmitting:{type:Boolean,default:!1},questionLabels:{default:void 0},uploadConfig:{default:()=>({})},contextUsage:{default:null},gitBranch:{default:``},model:{default:``},followup:{default:void 0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},messageRailConfig:{default:void 0},maxWidth:{default:void 0}},emits:[`send`,`retry`,`select`,`followup-select`,`stop`,`unqueue`,`flush-queued`,`answer`],setup(e,{expose:t,emit:n}){let r=e,i=U(()=>r.maxWidth===void 0?void 0:typeof r.maxWidth==`number`?`${r.maxWidth}px`:r.maxWidth),o=n,s=B(null),u=uvt(()=>r.theme);function d(e){o(`send`,e)}function p(e){o(`select`,e)}function m(e,t){o(`followup-select`,e,t);let n=r.followup;(Array.isArray(n)||n?.autoSend!==!1)&&o(`send`,{text:e.prompt,files:[]})}return t({scrollToBottom:e=>s.value?.scrollToBottom(e)}),(t,n)=>(H(),D(`div`,{class:`acu-root acu-chat`,"data-theme":E(u),style:f({"--acu-max-width":i.value})},[T(`div`,fvt,[e.messages.length?(H(),l(x_t,{key:1,ref_key:`listRef`,ref:s,messages:e.messages,"assistant-name":e.assistantName,"assistant-avatar":e.assistantAvatar,"user-avatar":e.userAvatar,"show-avatar":e.showAvatar,followup:e.followup,"tool-calls-config":e.toolCallsConfig,"plan-config":e.planConfig,"thinking-config":e.thinkingConfig,"actions-config":e.actionsConfig,"message-meta-config":e.messageMetaConfig,"message-rail-config":e.messageRailConfig,"ask-user-labels":e.questionLabels,"file-changes-labels":e.fileChangesLabels,onRetry:n[0]||=e=>t.$emit(`retry`,e),onFollowupSelect:m},null,8,[`messages`,`assistant-name`,`assistant-avatar`,`user-avatar`,`show-avatar`,`followup`,`tool-calls-config`,`plan-config`,`thinking-config`,`actions-config`,`message-meta-config`,`message-rail-config`,`ask-user-labels`,`file-changes-labels`])):(H(),l(j_t,{key:0,title:e.welcomeTitle,description:e.welcomeDescription,questions:e.presetQuestions,"max-width":i.value,onSelect:p},null,8,[`title`,`description`,`questions`,`max-width`]))]),a(te,{name:`acu-collapse`},{default:ne(()=>[e.question?(H(),D(`div`,pvt,[a(Pht,{question:e.question.question,options:e.question.options,multiple:e.question.multiple,"allow-free-text":e.question.allowFreeText,submitting:e.questionSubmitting,answers:e.questionAnswers,labels:e.questionLabels,onAnswer:n[1]||=e=>t.$emit(`answer`,e)},null,8,[`question`,`options`,`multiple`,`allow-free-text`,`submitting`,`answers`,`labels`])])):me(``,!0)]),_:1}),e.showInput?(H(),D(`div`,mvt,[a(lvt,{placeholder:e.placeholder,disabled:e.disabled,generating:e.generating,"allow-queue":e.allowQueue,queued:e.queued,"queue-paused":e.queuePaused,"queue-labels":e.queueLabels,"upload-config":e.uploadConfig,"context-usage":e.contextUsage,"git-branch":e.gitBranch,model:e.model,onSend:d,onStop:n[2]||=e=>t.$emit(`stop`),onUnqueue:n[3]||=e=>t.$emit(`unqueue`,e),onFlushQueued:n[4]||=e=>t.$emit(`flush-queued`)},null,8,[`placeholder`,`disabled`,`generating`,`allow-queue`,`queued`,`queue-paused`,`queue-labels`,`upload-config`,`context-usage`,`git-branch`,`model`])])):me(``,!0)],12,dvt))}}),[[`__scopeId`,`data-v-e683bc6e`]]),gvt=[`title`,`aria-label`],_vt={class:`acu-conv-rail-text`},vvt={class:`acu-conv-toolbar`},yvt={class:`acu-conv-toolbar-row`},bvt=[`title`,`aria-label`],xvt={key:0,class:`acu-conv-search`},Svt=[`placeholder`,`aria-label`],Cvt=[`data-id`],wvt=[`aria-label`,`onKeydown`],Tvt=[`aria-current`,`onClick`,`onDblclick`],Evt={class:`acu-conv-title`},Dvt={key:0,class:`acu-conv-meta is-generating`},Ovt={key:1,class:`acu-conv-meta`},kvt={key:0,class:`acu-conv-badge`},Avt={key:1,class:`acu-conv-meta-text`},jvt={class:`acu-conv-actions`},Mvt=[`title`,`aria-label`,`onClick`],Nvt=[`title`,`aria-label`,`onClick`],Pvt={key:1,class:`acu-conv-empty`},Fvt={key:0,class:`acu-conv-empty-hint`},Ivt=K9(v({__name:`ConversationList`,props:{items:{},activeId:{default:null},loading:{type:Boolean,default:!1},showSearch:{type:Boolean,default:!0},showNew:{type:Boolean,default:!0},compact:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!1},collapsed:{type:Boolean,default:void 0},labels:{default:void 0}},emits:[`select`,`new`,`rename`,`delete`,`update:collapsed`],setup(e,{emit:t}){let n=e,r=t,i=B(!1),a=U(()=>n.collapsed??i.value);function o(e){a.value!==e&&(i.value=e,r(`update:collapsed`,e))}let l={newConversation:`新建会话`,searchPlaceholder:`搜索会话...`,empty:`暂无会话`,emptyHint:`点击上方按钮开始对话`,noResult:`未找到匹配的会话`,loading:`加载会话中...`,rename:`重命名`,delete:`删除`,untitled:`无标题`,collapse:`收起会话列表`,expand:`展开会话列表`},u=U(()=>({...l,...n.labels})),d=B(``),f=U(()=>{let e=d.value.trim().toLowerCase();return e?n.items.filter(t=>`${t.title||``} ${t.searchText||``}`.toLowerCase().includes(e)):n.items}),p=B(null),m=B(``),g=B(null);function _(e){g.value=e||null}function v(e,t){p.value=e,m.value=t||``,s(()=>{var e,t;(e=g.value)==null||e.focus(),(t=g.value)==null||t.select()})}function y(){let e=p.value;if(!e)return;let t=m.value.trim();p.value=null;let i=n.items.find(t=>t.id===e)?.title||``;t&&t!==i&&r(`rename`,e,t)}function b(){p.value=null}let S=B(null);V(()=>n.activeId,async e=>{var t;e&&(await s(),(t=S.value?.querySelector(`[data-id="${CSS.escape(e)}"]`))==null||t.scrollIntoView({block:`nearest`}))});let C=U(()=>f.value.length?``:n.items.length?u.value.noResult:n.loading?u.value.loading:u.value.empty),w=U(()=>!n.items.length&&!n.loading);return(t,n)=>(H(),D(`div`,{class:k([`acu-conv`,{"is-compact":e.compact,"is-collapsed":e.collapsible&&a.value}])},[e.collapsible&&a.value?(H(),D(`button`,{key:0,type:`button`,class:`acu-conv-rail`,title:u.value.expand,"aria-label":u.value.expand,"aria-expanded":!1,onClick:n[0]||=e=>o(!1)},[n[5]||=T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`2`}),T(`line`,{x1:`9`,y1:`4`,x2:`9`,y2:`20`}),T(`polyline`,{points:`13.5 9.5 16 12 13.5 14.5`})],-1),T(`span`,_vt,h(u.value.expand),1)],8,gvt)):me(``,!0),N(T(`div`,vvt,[T(`div`,yvt,[e.showNew?(H(),D(`button`,{key:0,type:`button`,class:`acu-conv-new`,onClick:n[1]||=e=>r(`new`)},[n[6]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`12`,y1:`5`,x2:`12`,y2:`19`}),T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1),T(`span`,null,h(u.value.newConversation),1)])):me(``,!0),e.collapsible?(H(),D(`button`,{key:1,type:`button`,class:`acu-conv-collapse`,title:u.value.collapse,"aria-label":u.value.collapse,"aria-expanded":!0,onClick:n[2]||=e=>o(!0)},[...n[7]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`2`}),T(`line`,{x1:`9`,y1:`4`,x2:`9`,y2:`20`}),T(`polyline`,{points:`16 9.5 13.5 12 16 14.5`})],-1)]],8,bvt)):me(``,!0)]),e.showSearch?(H(),D(`div`,xvt,[n[8]||=T(`svg`,{viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`circle`,{cx:`11`,cy:`11`,r:`7`}),T(`line`,{x1:`20`,y1:`20`,x2:`16.2`,y2:`16.2`})],-1),N(T(`input`,{"onUpdate:modelValue":n[3]||=e=>d.value=e,type:`search`,class:`acu-conv-search-input`,placeholder:u.value.searchPlaceholder,"aria-label":u.value.searchPlaceholder},null,8,Svt),[[ce,d.value]])])):me(``,!0)],512),[[ae,!a.value]]),N(T(`ul`,{ref_key:`listRef`,ref:S,class:`acu-conv-list`},[(H(!0),D(j,null,A(f.value,t=>(H(),D(`li`,{key:t.id,class:k([`acu-conv-item`,{"is-active":t.id===e.activeId,"is-editing":p.value===t.id}]),"data-id":t.id},[p.value===t.id?N((H(),D(`input`,{key:0,ref_for:!0,ref:_,"onUpdate:modelValue":n[4]||=e=>m.value=e,type:`text`,class:`acu-conv-rename`,"aria-label":u.value.rename,onKeydown:[ee(z(y,[`prevent`]),[`enter`]),ee(z(b,[`prevent`]),[`esc`])],onBlur:y},null,40,wvt)),[[ce,m.value]]):(H(),D(j,{key:1},[T(`button`,{type:`button`,class:`acu-conv-main`,"aria-current":t.id===e.activeId?`true`:void 0,onClick:e=>r(`select`,t.id,t),onDblclick:e=>v(t.id,t.title)},[T(`span`,Evt,h(t.title||u.value.untitled),1),t.generatingText?(H(),D(`span`,Dvt,[n[9]||=T(`span`,{class:`acu-conv-dot`,"aria-hidden":`true`},null,-1),T(`span`,null,h(t.generatingText),1)])):t.meta||t.badge?(H(),D(`span`,Ovt,[t.badge?(H(),D(`span`,kvt,h(t.badge),1)):me(``,!0),t.meta?(H(),D(`span`,Avt,h(t.meta),1)):me(``,!0)])):me(``,!0)],40,Tvt),T(`span`,jvt,[T(`button`,{type:`button`,class:`acu-conv-action`,title:u.value.rename,"aria-label":u.value.rename,onClick:e=>v(t.id,t.title)},[...n[10]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M12 20h9`}),T(`path`,{d:`M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z`})],-1)]],8,Mvt),T(`button`,{type:`button`,class:`acu-conv-action`,title:u.value.delete,"aria-label":u.value.delete,onClick:e=>r(`delete`,t.id,t)},[...n[11]||=[x(`<svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-fd2d5322><polyline points="3 6 5 6 21 6" data-v-fd2d5322></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" data-v-fd2d5322></path><path d="M10 11v6M14 11v6" data-v-fd2d5322></path><path d="M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" data-v-fd2d5322></path></svg>`,1)]],8,Nvt)])],64))],10,Cvt))),128))],512),[[ae,!a.value]]),C.value&&!a.value?(H(),D(`p`,Pvt,[T(`span`,null,h(C.value),1),w.value?(H(),D(`span`,Fvt,h(u.value.emptyHint),1)):me(``,!0)])):me(``,!0)],2))}}),[[`__scopeId`,`data-v-fd2d5322`]]),Lvt={claude:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(5.43687 4.33024) scale(0.05188)' fill='%23D97757'%3E%3Cpath d='M895.914667 467.157333H1024v132.352h-128v129.194667h-63.445333V853.333333H768v-124.629333h-63.445333V853.333333H640v-124.629333H384V853.333333H319.488v-124.629333H256V853.333333H191.445333v-124.629333H128V599.466667H0v-132.266667h128V213.333333h767.914667v253.824zM256 467.157333h63.488V345.685333H256v121.472z m448.426667 0H768V345.685333h-63.573333v121.472z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,codex:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(10.86293 10.85412) scale(1.76216)' fill='%23000000'%3E%3Cpath d='M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997z'/%3E%3C/g%3E%3C/svg%3E`,kimi:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(11 11) scale(0.04102)'%3E%3Cpath d='M0 0m204.8 0l614.4 0q204.8 0 204.8 204.8l0 614.4q0 204.8-204.8 204.8l-614.4 0q-204.8 0-204.8-204.8l0-614.4q0-204.8 204.8-204.8Z' fill='%23000000'%3E%3C/path%3E%3Cpath d='M827.093333 128a61.525333 61.525333 0 1 1 0 123.072h-54.293333a7.210667 7.210667 0 0 1-7.253333-7.232V189.525333A61.546667 61.546667 0 0 1 827.072 128z' fill='%231783FF'%3E%3C/path%3E%3Cpath d='M482.090667 486.4L714.304 256c4.394667-4.352 1.92-13.12-3.712-13.12H585.6a5.226667 5.226667 0 0 0-3.733333 1.621333l-250.24 248.192c-3.925333 3.84-9.685333 0.426667-9.685334-5.717333V250.24c0-4.053333-2.645333-7.36-5.909333-7.36h-86.08c-3.306667 0-5.952 3.306667-5.952 7.36v510.4c0 4.096 2.645333 7.36 5.952 7.36h86.08c3.306667 0 5.952-3.264 5.952-7.36v-104c0-2.197333 0.789333-4.309333 2.218667-5.696l77.568-76.992a5.056 5.056 0 0 1 6.549333-0.725333l207.488 152.704a245.696 245.696 0 0 0 110.506667 41.045333c3.456 0.384 6.4-3.029333 6.4-7.36v-97.92c0-3.733333-2.24-6.784-5.248-7.253333a160.917333 160.917333 0 0 1-64.874667-25.813334l-179.626667-130.069333c-3.733333-2.496-4.202667-8.917333-0.874666-12.181333z' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,opencode:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(8.52129 8.52129) scale(0.04586)'%3E%3Cpath d='M716.8 819.2H307.2V409.6h409.6v409.6z' fill='%23CFCECD'%3E%3C/path%3E%3Cpath d='M716.8 204.8H307.2v614.4h409.6V204.8z m204.8 819.2H102.4V0h819.2v1024z' fill='%23211E1E'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,zcode:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(8.68048 8.68825) scale(1.55412)'%3E%3Cpath d='M24.51,28.51H5.49c-2.21,0-4-1.79-4-4V5.49c0-2.21,1.79-4,4-4h19.03c2.21,0,4,1.79,4,4v19.03C28.51,26.72,26.72,28.51,24.51,28.51z' fill='%232D2D2D' stroke='%23FFFFFF' stroke-width='0.6' stroke-miterlimit='10'/%3E %3Cpath d='M15.47,7.1l-1.3,1.85c-0.2,0.29-0.54,0.47-0.9,0.47h-7.1V7.09C6.16,7.1,15.47,7.1,15.47,7.1z' fill='%23FFFFFF'/%3E %3Cpolygon points='24.3,7.1 13.14,22.91 5.7,22.91 16.86,7.1' fill='%23FFFFFF'/%3E %3Cpath d='M14.53,22.91l1.31-1.86c0.2-0.29,0.54-0.47,0.9-0.47h7.09v2.33H14.53z' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E`,openai:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(10.86293 10.85412) scale(1.76216)' fill='%23000000'%3E%3Ctitle%3EOpenAI%3C/title%3E%3Cpath d='M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z'/%3E%3C/g%3E%3C/svg%3E`,gemini:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(11 11) scale(1.75)' fill='%234285F4'%3E%3Ctitle%3EGoogle Gemini%3C/title%3E%3Cpath d='M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81'/%3E%3C/g%3E%3C/svg%3E`,mistral:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(7.15039 7.15039) scale(2.0708)' fill='%23FA520F'%3E%3Ctitle%3EMistral AI%3C/title%3E%3Cpath d='M17.143 3.429v3.428h-3.429v3.429h-3.428V6.857H6.857V3.43H3.43v13.714H0v3.428h10.286v-3.428H6.857v-3.429h3.429v3.429h3.429v-3.429h3.428v3.429h-3.428v3.428H24v-3.428h-3.43V3.429z'/%3E%3C/g%3E%3C/svg%3E`,copilot:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.01862 9.01862) scale(1.91511)' fill='%23000000'%3E%3Ctitle%3EGitHub Copilot%3C/title%3E%3Cpath d='M23.922 16.997C23.061 18.492 18.063 22.02 12 22.02 5.937 22.02.939 18.492.078 16.997A.641.641 0 0 1 0 16.741v-2.869a.883.883 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.098 10.098 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952C7.255 2.937 9.248 1.98 11.978 1.98c2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.841.841 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256Zm-11.75-5.992h-.344a4.359 4.359 0 0 1-.355.508c-.77.947-1.918 1.492-3.508 1.492-1.725 0-2.989-.359-3.782-1.259a2.137 2.137 0 0 1-.085-.104L4 11.746v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.359 4.359 0 0 1-.355-.508Zm2.328 3.25c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm-5 0c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm3.313-6.185c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z'/%3E%3C/g%3E%3C/svg%3E`,cursor:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.58206 9.58206) scale(1.86816)' fill='%23000000'%3E%3Ctitle%3ECursor%3C/title%3E%3Cpath d='M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23'/%3E%3C/g%3E%3C/svg%3E`,perplexity:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.44238 9.44238) scale(1.8798)' fill='%231FB8CC'%3E%3Ctitle%3EPerplexity%3C/title%3E%3Cpath d='M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z'/%3E%3C/g%3E%3C/svg%3E`,ollama:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(7.85835 7.85835) scale(2.0118)' fill='%23000000'%3E%3Ctitle%3EOllama%3C/title%3E%3Cpath d='M16.361 10.26a.894.894 0 0 0-.558.47l-.072.148.001.207c0 .193.004.217.059.353.076.193.152.312.291.448.24.238.51.3.872.205a.86.86 0 0 0 .517-.436.752.752 0 0 0 .08-.498c-.064-.453-.33-.782-.724-.897a1.06 1.06 0 0 0-.466 0zm-9.203.005c-.305.096-.533.32-.65.639a1.187 1.187 0 0 0-.06.52c.057.309.31.59.598.667.362.095.632.033.872-.205.14-.136.215-.255.291-.448.055-.136.059-.16.059-.353l.001-.207-.072-.148a.894.894 0 0 0-.565-.472 1.02 1.02 0 0 0-.474.007Zm4.184 2c-.131.071-.223.25-.195.383.031.143.157.288.353.407.105.063.112.072.117.136.004.038-.01.146-.029.243-.02.094-.036.194-.036.222.002.074.07.195.143.253.064.052.076.054.255.059.164.005.198.001.264-.03.169-.082.212-.234.15-.525-.052-.243-.042-.28.087-.355.137-.08.281-.219.324-.314a.365.365 0 0 0-.175-.48.394.394 0 0 0-.181-.033c-.126 0-.207.03-.355.124l-.085.053-.053-.032c-.219-.13-.259-.145-.391-.143a.396.396 0 0 0-.193.032zm.39-2.195c-.373.036-.475.05-.654.086-.291.06-.68.195-.951.328-.94.46-1.589 1.226-1.787 2.114-.04.176-.045.234-.045.53 0 .294.005.357.043.524.264 1.16 1.332 2.017 2.714 2.173.3.033 1.596.033 1.896 0 1.11-.125 2.064-.727 2.493-1.571.114-.226.169-.372.22-.602.039-.167.044-.23.044-.523 0-.297-.005-.355-.045-.531-.288-1.29-1.539-2.304-3.072-2.497a6.873 6.873 0 0 0-.855-.031zm.645.937a3.283 3.283 0 0 1 1.44.514c.223.148.537.458.671.662.166.251.26.508.303.82.02.143.01.251-.043.482-.08.345-.332.705-.672.957a3.115 3.115 0 0 1-.689.348c-.382.122-.632.144-1.525.138-.582-.006-.686-.01-.853-.042-.57-.107-1.022-.334-1.35-.68-.264-.28-.385-.535-.45-.946-.03-.192.025-.509.137-.776.136-.326.488-.73.836-.963.403-.269.934-.46 1.422-.512.187-.02.586-.02.773-.002zm-5.503-11a1.653 1.653 0 0 0-.683.298C5.617.74 5.173 1.666 4.985 2.819c-.07.436-.119 1.04-.119 1.503 0 .544.064 1.24.155 1.721.02.107.031.202.023.208a8.12 8.12 0 0 1-.187.152 5.324 5.324 0 0 0-.949 1.02 5.49 5.49 0 0 0-.94 2.339 6.625 6.625 0 0 0-.023 1.357c.091.78.325 1.438.727 2.04l.13.195-.037.064c-.269.452-.498 1.105-.605 1.732-.084.496-.095.629-.095 1.294 0 .67.009.803.088 1.266.095.555.288 1.143.503 1.534.071.128.243.393.264.407.007.003-.014.067-.046.141a7.405 7.405 0 0 0-.548 1.873c-.062.417-.071.552-.071.991 0 .56.031.832.148 1.279L3.42 24h1.478l-.05-.091c-.297-.552-.325-1.575-.068-2.597.117-.472.25-.819.498-1.296l.148-.29v-.177c0-.165-.003-.184-.057-.293a.915.915 0 0 0-.194-.25 1.74 1.74 0 0 1-.385-.543c-.424-.92-.506-2.286-.208-3.451.124-.486.329-.918.544-1.154a.787.787 0 0 0 .223-.531c0-.195-.07-.355-.224-.522a3.136 3.136 0 0 1-.817-1.729c-.14-.96.114-2.005.69-2.834.563-.814 1.353-1.336 2.237-1.475.199-.033.57-.028.776.01.226.04.367.028.512-.041.179-.085.268-.19.374-.431.093-.215.165-.333.36-.576.234-.29.46-.489.822-.729.413-.27.884-.467 1.352-.561.17-.035.25-.04.569-.04.319 0 .398.005.569.04a4.07 4.07 0 0 1 1.914.997c.117.109.398.457.488.602.034.057.095.177.132.267.105.241.195.346.374.43.14.068.286.082.503.045.343-.058.607-.053.943.016 1.144.23 2.14 1.173 2.581 2.437.385 1.108.276 2.267-.296 3.153-.097.15-.193.27-.333.419-.301.322-.301.722-.001 1.053.493.539.801 1.866.708 3.036-.062.772-.26 1.463-.533 1.854a2.096 2.096 0 0 1-.224.258.916.916 0 0 0-.194.25c-.054.109-.057.128-.057.293v.178l.148.29c.248.476.38.823.498 1.295.253 1.008.231 2.01-.059 2.581a.845.845 0 0 0-.044.098c0 .006.329.009.732.009h.73l.02-.074.036-.134c.019-.076.057-.3.088-.516.029-.217.029-1.016 0-1.258-.11-.875-.295-1.57-.597-2.226-.032-.074-.053-.138-.046-.141.008-.005.057-.074.108-.152.376-.569.607-1.284.724-2.228.031-.26.031-1.378 0-1.628-.083-.645-.182-1.082-.348-1.525a6.083 6.083 0 0 0-.329-.7l-.038-.064.131-.194c.402-.604.636-1.262.727-2.04a6.625 6.625 0 0 0-.024-1.358 5.512 5.512 0 0 0-.939-2.339 5.325 5.325 0 0 0-.95-1.02 8.097 8.097 0 0 1-.186-.152.692.692 0 0 1 .023-.208c.208-1.087.201-2.443-.017-3.503-.19-.924-.535-1.658-.98-2.082-.354-.338-.716-.482-1.15-.455-.996.059-1.8 1.205-2.116 3.01a6.805 6.805 0 0 0-.097.726c0 .036-.007.066-.015.066a.96.96 0 0 1-.149-.078A4.857 4.857 0 0 0 12 3.03c-.832 0-1.687.243-2.456.698a.958.958 0 0 1-.148.078c-.008 0-.015-.03-.015-.066a6.71 6.71 0 0 0-.097-.725C8.997 1.392 8.337.319 7.46.048a2.096 2.096 0 0 0-.585-.041Zm.293 1.402c.248.197.523.759.682 1.388.03.113.06.244.069.292.007.047.026.152.041.233.067.365.098.76.102 1.24l.002.475-.12.175-.118.178h-.278c-.324 0-.646.041-.954.124l-.238.06c-.033.007-.038-.003-.057-.144a8.438 8.438 0 0 1 .016-2.323c.124-.788.413-1.501.696-1.711.067-.05.079-.049.157.013zm9.825-.012c.17.126.358.46.498.888.28.854.36 2.028.212 3.145-.019.14-.024.151-.057.144l-.238-.06a3.693 3.693 0 0 0-.954-.124h-.278l-.119-.178-.119-.175.002-.474c.004-.669.066-1.19.214-1.772.157-.623.434-1.185.68-1.382.078-.062.09-.063.159-.012z'/%3E%3C/g%3E%3C/svg%3E`,huggingface:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.93545 9.93545) scale(1.83871)' fill='%23FFD21E'%3E%3Ctitle%3EHugging Face%3C/title%3E%3Cpath d='M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378 0 1.112.178 2.181.503 3.185.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284.278.173.48.408.71.694.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542.01.026.653 1.552 1.657 2.54.616.605 1.01 1.223 1.082 1.912.055.537-.096 1.059-.38 1.572.637.121 1.294.187 1.967.187.657 0 1.298-.063 1.921-.178-.287-.517-.44-1.041-.384-1.581.07-.69.465-1.307 1.081-1.913 1.004-.987 1.647-2.513 1.657-2.539.021-.074.083-.285.233-.542.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952.23-.286.432-.52.71-.694.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174 1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013 1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164 1.607-.007 2.984-1.155 3.572-1.164.196-.003.305.12.305.454 0 .886-.424 2.328-1.563 3.202-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026-.01.008-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116 1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243 1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444-.034-.016-.104-.008-.2.022q-.094.03-.216.087-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096 3 3 0 0 0-.26.219 2 2 0 0 0-.12.121 2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203 0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647 2.822 2.813 2.562 3.244-1.176-.506-1.176-.506-2.866-2.567-3.49-1.898.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405-.238.839-2.71-1.587-3.216-.642-.506.946 3.49 2.056 3.522 2.064 1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194 1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647-2.822 2.813-2.562 3.244 1.176-.506 1.176-.506 2.866-2.567 3.49-1.898-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405.238.839 2.71-1.587 3.216-.642.506.946-3.49 2.056-3.522 2.064-1.29.33-4.568 1.028-5.713-.624'/%3E%3C/g%3E%3C/svg%3E`};function Rvt(e){return e&&(Lvt[e]??e)}export{Tte as C,wte as S,Ao as _,mmt as a,wi as b,Ivt as c,SBe as d,eue as f,zse as g,Ose as h,Rvt as i,q9 as l,ele as m,hvt as n,Xmt as o,Kle as p,lvt as r,D9 as s,Z9 as t,d9e as u,Oo as v,mte as x,Kre as y};
|
|
3575
|
+
`).length}function _mt(){return{render(e,t){let n=e||``,r=t!=null&&t.streaming?{streaming:!0,totalLines:gmt(n)}:{};return W9.render(n,r)},renderInline(e){return W9.renderInline(e||``)},ensureHighlighter:smt}}var vmt=[`aria-label`],ymt=[`data-theme`,`data-scale`,`innerHTML`],bmt=[`aria-label`,`title`],xmt={class:`acu-mz-bar`},Smt=[`aria-label`,`title`],Cmt=[`title`],wmt={class:`acu-mz-pct`},Tmt=[`aria-label`,`title`],Emt={class:`acu-mz-hint`},Dmt=.2,Omt=6,kmt=v({__name:`MermaidPreview`,props:{visible:{type:Boolean,default:!1},svg:{},theme:{default:`light`},labels:{default:()=>({})}},emits:[`update:visible`],setup(e,{emit:t}){let n=e,r=t,i=B(null),a=B(null),o=B(1),u=oe({x:0,y:0}),d=B(!1),p={x:0,y:0,px:0,py:0},m=!1,g=U(()=>Math.round(o.value*100)),_=U(()=>({transform:`translate(-50%, -50%) translate(${u.x}px, ${u.y}px) scale(${o.value})`}));function v(e){return Math.min(Omt,Math.max(Dmt,e))}function y(){let e=a.value,t=i.value;if(!e||!t)return 1;let n=e.offsetWidth,r=e.offsetHeight;if(!n||!r)return 1;let o=Math.min((t.clientWidth-48)/n,(t.clientHeight-96)/r);return v(Math.min(1,o))}function b(){o.value=1,u.x=0,u.y=0;let e=y();e<1&&(o.value=e)}function x(e){o.value=v(o.value*e)}function S(e){let t=i.value;if(!t)return;let n=o.value,r=v(n*(e.deltaY<0?1.12:1/1.12));if(r===n)return;let a=t.getBoundingClientRect(),s=e.clientX-(a.left+a.width/2),l=e.clientY-(a.top+a.height/2),d=r/n;u.x=s-d*(s-u.x),u.y=l-d*(l-u.y),o.value=r}function C(e){e.button===0&&(d.value=!0,m=!1,p={x:e.clientX,y:e.clientY,px:u.x,py:u.y},window.addEventListener(`pointermove`,w),window.addEventListener(`pointerup`,D),window.addEventListener(`pointercancel`,D))}function w(e){if(!d.value)return;let t=e.clientX-p.x,n=e.clientY-p.y;(Math.abs(t)>3||Math.abs(n)>3)&&(m=!0),u.x=p.px+t,u.y=p.py+n}function E(e){if(m){m=!1;return}e.target===e.currentTarget&&A()}function D(){d.value=!1,window.removeEventListener(`pointermove`,w),window.removeEventListener(`pointerup`,D),window.removeEventListener(`pointercancel`,D)}function A(){r(`update:visible`,!1)}function j(e){e.key===`Escape`&&(e.preventDefault(),e.stopPropagation(),A())}return V(()=>n.visible,e=>{e?(window.addEventListener(`keydown`,j,!0),s(()=>b())):(window.removeEventListener(`keydown`,j,!0),D(),d.value=!1,u.x=0,u.y=0,o.value=1)},{immediate:!0}),O(()=>window.removeEventListener(`keydown`,j,!0)),(t,n)=>e.visible?(H(),l(ge,{key:0,to:`body`},[T(`div`,{class:`acu-mz`,role:`dialog`,"aria-modal":`true`,"aria-label":e.labels.zoom||`图表预览`,onClick:z(A,[`self`])},[T(`div`,{ref_key:`viewportRef`,ref:i,class:k([`acu-mz-viewport`,{"is-dragging":d.value}]),onWheel:z(S,[`prevent`]),onPointerdown:C,onDblclick:b,onClick:E},[T(`div`,{ref_key:`stageRef`,ref:a,class:`acu-mz-stage`,"data-theme":e.theme,"data-scale":o.value.toFixed(3),style:f(_.value),innerHTML:e.svg},null,12,ymt)],34),T(`button`,{type:`button`,class:`acu-mz-btn is-close`,"aria-label":e.labels.close,title:e.labels.close,onClick:A},[...n[2]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,bmt),T(`div`,xmt,[T(`button`,{type:`button`,class:`acu-mz-btn is-step`,"aria-label":e.labels.zoomOut,title:e.labels.zoomOut,onClick:n[0]||=e=>x(1/1.3)},[...n[3]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`},[T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1)]],8,Smt),T(`button`,{type:`button`,class:`acu-mz-btn is-fit`,title:e.labels.zoomReset,onClick:b},[re(h(e.labels.zoomReset),1),T(`span`,wmt,h(g.value)+`%`,1)],8,Cmt),T(`button`,{type:`button`,class:`acu-mz-btn is-step`,"aria-label":e.labels.zoomIn,title:e.labels.zoomIn,onClick:n[1]||=e=>x(1.3)},[...n[4]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`},[T(`line`,{x1:`12`,y1:`5`,x2:`12`,y2:`19`}),T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1)]],8,Tmt)]),T(`p`,Emt,h(e.labels.zoomHint),1)],8,vmt)])):me(``,!0)}}),K9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Amt=K9(kmt,[[`__scopeId`,`data-v-57821160`]]),jmt=[`innerHTML`],Mmt=120,q9=v({inheritAttrs:!1,__name:`MarkdownRenderer`,props:{source:{},streaming:{type:Boolean,default:!1}},setup(e){let t=e,{render:n}=_mt(),r=B(``),i=B(null),o=0,l=0;function u(){nmt(i.value,{streaming:t.streaming})}function f(e=Mmt){window.clearTimeout(l),l=window.setTimeout(()=>{l=0,u()},e)}function p(){cancelAnimationFrame(o),o=requestAnimationFrame(()=>{r.value=n(t.source,{streaming:t.streaming}),s(()=>f())})}V(()=>t.source,p,{immediate:!0}),V(omt,e=>{e&&p()}),V(()=>t.streaming,()=>p());let m=null;d(()=>{m=Vpt(i.value,()=>{f(0)})}),O(()=>{cancelAnimationFrame(o),window.clearTimeout(l),m?.()});function h(e){let t=e.target;return t instanceof Element?t.closest(`.acu-thinking-body.is-scrollbar-hover`):null}function g(e){var t;(t=h(e))==null||t.classList.add(`is-scrollbar-visible`)}function _(e){let t=h(e);if(!t)return;let n=e.relatedTarget;n instanceof Node&&t.contains(n)||t.classList.remove(`is-scrollbar-visible`)}function v(e){let t=e.target;if(!t)return;let n=t.closest(`.acu-mermaid-toggle`);if(n){rmt(n.closest(`.acu-mermaid`));return}let r=t.closest(`.acu-mermaid-zoom`);if(r){C(r.closest(`.acu-mermaid`));return}let i=t.closest(`.acu-mermaid-canvas`);if(i&&!t.closest(`a`)){let e=window.getSelection?.call(window);if(e&&!e.isCollapsed)return;let t=i.closest(`.acu-mermaid`);if(t?.dataset.state===`done`){C(t);return}}w(t)}let y=B(!1),b=B(``),x=B(`light`),S=U(()=>jpt());function C(e){if(!e)return;let t=emt(e.querySelector(`.acu-mermaid-canvas`));t&&(b.value=t,x.value=e.dataset.mermaidTheme===`dark`?`dark`:`light`,y.value=!0)}function w(e){let t=e.closest(`.acu-code-copy`);if(!t)return;let n=t.getAttribute(`data-code`)||``,r=decodeURIComponent(n),i=t.querySelector(`.acu-code-copy-label`);(navigator.clipboard?.writeText(r)??Promise.reject(Error(`clipboard unavailable`))).then(()=>{t.classList.add(`is-copied`),i&&(i.textContent=`已复制`),setTimeout(()=>{t.classList.remove(`is-copied`),i&&(i.textContent=`复制`)},1500)}).catch(()=>{t.classList.add(`is-error`),i&&(i.textContent=`失败`),setTimeout(()=>{t.classList.remove(`is-error`),i&&(i.textContent=`复制`)},1500)})}return(e,t)=>(H(),D(j,null,[T(`div`,ve({ref_key:`root`,ref:i,class:`acu-md`},e.$attrs,{innerHTML:r.value,onClick:v,onMouseover:g,onMouseout:_}),null,16,jmt),a(Amt,{visible:y.value,"onUpdate:visible":t[0]||=e=>y.value=e,svg:b.value,theme:x.value,labels:S.value},null,8,[`visible`,`svg`,`theme`,`labels`])],64))}}),Nmt=[`aria-expanded`],Pmt={class:`acu-thinking-title`},Fmt=[`title`],Imt={key:1,class:`acu-typing-dots`,"aria-hidden":`true`},Lmt={key:0,class:`acu-cursor`,"aria-hidden":`true`},Rmt=24,zmt=K9(v({__name:`ThinkingBlock`,props:{content:{default:``},streaming:{type:Boolean,default:!1},defaultExpanded:{type:Boolean,default:void 0},config:{default:void 0},durationMs:{default:void 0},startedAt:{default:void 0},endedAt:{default:void 0}},setup(e){let t=e,n=U(()=>t.config?.scrollable!==!1),r=U(()=>t.config?.followStream!==!1),i=U(()=>t.config?.scrollbar??`hover`),o=B(!1),l=U(()=>n.value&&i.value===`hover`&&o.value);function u(){o.value=!0}function p(){o.value=!1}let m=U(()=>{var e;return(e=t.config)!=null&&e.maxHeight?{"--acu-thinking-max-height":`${t.config.maxHeight}px`}:void 0}),g=U(()=>t.config?.showDuration!==!1),_=B(Date.now()),v=null;function y(){v&&=(clearInterval(v),null)}let b=U(()=>g.value&&t.streaming&&typeof t.durationMs!=`number`&&typeof t.startedAt==`number`);V(b,e=>{y(),e&&(_.value=Date.now(),v=setInterval(()=>{_.value=Date.now()},100))},{immediate:!0}),O(y);let S=U(()=>{if(!g.value)return null;if(typeof t.durationMs==`number`)return t.durationMs;let e=t.startedAt;if(typeof e!=`number`)return null;if(t.streaming)return _.value-e;let n=t.endedAt;return typeof n==`number`&&n>e?n-e:null}),C=U(()=>{let e=S.value;return e===null||e<=0?``:O9(e)}),w=U(()=>t.streaming?`已思考时长`:`思考耗时(第一个思考分片 → 最后一个分片)`),E=B(t.defaultExpanded??t.config?.defaultExpanded??t.streaming),A=B(null),j=B(!0);function M(){let e=A.value;e&&(j.value=e.scrollHeight-e.scrollTop-e.clientHeight<=Rmt)}async function P(){if(!n.value||!r.value||!j.value)return;await s();let e=A.value;e&&(e.scrollTop=e.scrollHeight)}V(()=>t.streaming,e=>{e&&(E.value=!0,j.value=!0)}),V(()=>t.content,()=>{t.streaming&&P()}),V(E,e=>{e&&P()}),d(()=>{t.streaming&&P()});function F(){E.value=!E.value}return(t,r)=>(H(),D(`div`,{class:k([`acu-thinking`,{"is-streaming":e.streaming}])},[T(`button`,{type:`button`,class:`acu-thinking-header`,"aria-expanded":E.value,onClick:F},[r[2]||=x(`<span class="acu-thinking-icon" data-v-42f4658c><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-42f4658c><path d="M9.5 2A4.5 4.5 0 0 0 5 6.5c0 .5.08.98.22 1.43A4 4 0 0 0 6 16a3.5 3.5 0 0 0 5 3.05" data-v-42f4658c></path><path d="M14.5 2A4.5 4.5 0 0 1 19 6.5c0 .5-.08.98-.22 1.43A4 4 0 0 1 18 16a3.5 3.5 0 0 1-5 3.05" data-v-42f4658c></path><path d="M12 4v16" data-v-42f4658c></path></svg></span>`,1),T(`span`,Pmt,h(e.streaming?`思考中`:`思考`),1),C.value?(H(),D(`span`,{key:0,class:`acu-thinking-duration`,title:w.value},h(C.value),9,Fmt)):me(``,!0),e.streaming?(H(),D(`span`,Imt,[...r[0]||=[T(`span`,null,null,-1),T(`span`,null,null,-1),T(`span`,null,null,-1)]])):(H(),D(`svg`,{key:2,class:k([`acu-thinking-chevron`,{"is-open":E.value}]),viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...r[1]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,Nmt),a(te,{name:`acu-collapse`},{default:ne(()=>[N(T(`div`,{ref_key:`bodyRef`,ref:A,class:k([`acu-thinking-body`,[{"is-scrollable":n.value},n.value?`is-scrollbar-${i.value}`:``,{"is-scrollbar-visible":l.value}]]),style:f(m.value),onScrollPassive:M,onMouseenter:u,onMouseleave:p},[a(q9,{source:e.content,streaming:!!e.streaming},null,8,[`source`,`streaming`]),e.streaming&&e.content?(H(),D(`span`,Lmt)):me(``,!0)],38),[[ae,E.value]])]),_:1})],2))}}),[[`__scopeId`,`data-v-42f4658c`]]),Bmt=200,Vmt=300,Hmt=600,Umt=new Set([`updateplan`,`writetodos`,`todowrite`,`todotrite`,`todorewrite`,`updateplanlist`,`createplan`,`setplan`,`plan`]);function Wmt(e){return String(e||``).toLowerCase().replace(/[^a-z]/g,``)}function J9(e){return Umt.has(Wmt(String(e||``)))}function Gmt(e){let t=String(e??``).toLowerCase().replace(/[^a-z]/g,``);return[`completed`,`complete`,`done`,`finished`,`checked`].includes(t)?`completed`:[`inprogress`,`active`,`doing`,`running`,`current`,`started`].includes(t)?`in_progress`:`pending`}function Y9(e,t){let n=String(e??``).replace(/\s+/g,` `).trim();return n.length>t?n.slice(0,t)+`…`:n}function X9(e){if(typeof e==`string`){let t=Y9(e,Bmt);return t?{content:t,status:`pending`}:null}if(!e||typeof e!=`object`)return null;let t=e,n=Y9(t.content??t.text??t.title??t.task??t.step??t.name,Bmt);if(!n)return null;let r={content:n,status:Gmt(t.status??t.state)},i=Y9(t.note??t.detail??t.details??(r.status===`in_progress`?t.activeForm:``),Vmt);return i&&(r.note=i),r}function Kmt(e){if(Array.isArray(e))return e;if(!e||typeof e!=`object`)return null;let t=e;for(let e of[`steps`,`todos`,`plan`,`items`,`task_list`,`taskList`])if(Array.isArray(t[e]))return t[e];return null}function qmt(e){if(!e||typeof e!=`object`||Array.isArray(e))return;let t=e;return Y9(t.explanation??t.summary??t.note??t.reason,Hmt)||void 0}function Z9(e,t){if(!e)return null;if(typeof e==`object`&&!Array.isArray(e)&&(`name`in e||`arguments`in e||`plan`in e)){let n=e,r=n.name??t??``;return r&&!J9(r)&&!n.plan?null:Array.isArray(n.plan)&&n.plan.length?n.plan.map(e=>X9(e)).filter(e=>!!e).slice(0,20):Z9(n.arguments,r)}if(typeof e==`string`){if(t&&!J9(t))return null;let n=e.trim();if(!n)return null;let r;try{r=JSON.parse(n)}catch{return null}let i=Kmt(r);if(!i)return null;let a=i.map(X9).filter(e=>!!e).slice(0,20);return a.length?a:null}if(t&&!J9(t))return null;let n=Kmt(e);if(!n)return null;let r=n.map(X9).filter(e=>!!e).slice(0,20);return r.length?r:null}function Jmt(e){if(!e)return;if(typeof e==`object`)return e.planNote?e.planNote:Jmt(e.arguments);let t=e.trim();if(t)try{return qmt(JSON.parse(t))}catch{return}}function Ymt(e){if(!e)return null;let t=Z9(e);if(!t)return null;let n=Jmt(e);return n?{steps:t,note:n}:{steps:t}}function Xmt(e){let t=e||[],n=0,r=0,i=0;for(let e of t)e.status===`completed`?n++:e.status===`in_progress`?r++:i++;return{total:t.length,done:n,active:r,pending:i}}var Zmt=20,Qmt=500,$mt=new Set([`askuser`,`askquestion`,`asktheuser`]);function eht(e){return String(e||``).toLowerCase().replace(/[^a-z]/g,``)}function tht(e){return $mt.has(eht(String(e||``)))}function nht(e){if(!e)return null;let t;try{t=JSON.parse(String(e))}catch{return null}if(!t||typeof t!=`object`||Array.isArray(t))return null;let n=String(t.question??t.prompt??``).trim();if(!n)return null;let r=Array.isArray(t.options)?t.options.map(e=>String(e??``).trim()).filter(Boolean).slice(0,Zmt):[];return{question:n,options:r,allowFreeText:r.length===0||t.allow_free_text!==!1,multiple:t.multiple===!0&&r.length>0}}function rht(e){let t=String(e??``).trim();if(!t)return[];if(t.startsWith(`[`))try{let e=JSON.parse(t);if(Array.isArray(e))return e.map(e=>String(e??``).trim()).filter(Boolean).slice(0,Zmt)}catch{}return[t.length>Qmt?`${t.slice(0,Qmt)}…`:t]}function Q9(e){if(!e||!tht(e.name)||e.status&&e.status!==`done`)return null;let t=nht(e.arguments);if(!t)return null;let n=rht(e.result);return n.length?{...t,answers:n}:null}var iht={class:`acu-plan-icon`},aht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},oht={key:1,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.9`,"stroke-linecap":`round`,"stroke-linejoin":`round`},sht={class:`acu-plan-title`},cht={key:0,class:`acu-plan-count`},lht={key:0,class:`acu-plan-bar`,role:`presentation`},uht={class:`acu-plan-detail`},dht={key:0,class:`acu-plan-note`},fht={class:`acu-plan-steps`},pht={class:`acu-plan-marker`,"aria-hidden":`true`},mht={key:0,viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`3.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},hht={key:1,class:`acu-plan-dot`},ght={class:`acu-plan-body`},_ht={class:`acu-plan-content`},vht={key:0,class:`acu-plan-step-note`},yht=K9(v({__name:`PlanBlock`,props:{steps:{},note:{default:void 0},status:{default:`done`},config:{default:void 0}},setup(e){let t=e,n=U(()=>t.config?.title||t.config?.labels?.title||`计划`),r=U(()=>t.config?.progress!==!1&&m.value.total>0),i=U(()=>(t.config?.labels?.progress||`{done}/{total}`).replace(`{done}`,String(m.value.done)).replace(`{total}`,String(m.value.total))),o=U(()=>t.config?.progressBar!==!1&&m.value.total>0),s=U(()=>t.config?.collapsible!==!1),u=B(t.config?.defaultCollapsed!==!0);function d(){s.value&&(u.value=!u.value)}let p=U(()=>{let{done:e,total:t}=m.value;return t?`${Math.round(e/t*100)}%`:`0%`}),m=U(()=>Xmt(t.steps));function g(e){return e.status||`pending`}return(t,m)=>(H(),D(`div`,{class:k([`acu-plan`,{"is-running":e.status===`running`,"is-collapsed":s.value&&!u.value}])},[(H(),l(C(s.value?`button`:`div`),{class:`acu-plan-header`,type:s.value?`button`:void 0,"aria-expanded":s.value?u.value:void 0,onClick:d},{default:ne(()=>[T(`span`,iht,[e.status===`running`?(H(),D(`svg`,aht,[...m[0]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):(H(),D(`svg`,oht,[...m[1]||=[T(`path`,{d:`M9 11l3 3L22 4`},null,-1),T(`path`,{d:`M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11`},null,-1)]]))]),T(`span`,sht,h(n.value),1),r.value?(H(),D(`span`,cht,h(i.value),1)):me(``,!0),s.value?(H(),D(`svg`,{key:1,class:k([`acu-plan-chevron`,{"is-open":u.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[...m[2]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2)):me(``,!0)]),_:1},8,[`type`,`aria-expanded`])),o.value?(H(),D(`div`,lht,[T(`span`,{class:`acu-plan-bar-fill`,style:f({width:p.value})},null,4)])):me(``,!0),a(te,{name:`acu-collapse`},{default:ne(()=>[N(T(`div`,uht,[e.note?(H(),D(`p`,dht,h(e.note),1)):me(``,!0),T(`ul`,fht,[(H(!0),D(j,null,A(e.steps,(e,t)=>(H(),D(`li`,{key:`${t}-${e.content}`,class:k([`acu-plan-step`,`is-${g(e)}`])},[T(`span`,pht,[g(e)===`completed`?(H(),D(`svg`,mht,[...m[3]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):g(e)===`in_progress`?(H(),D(`span`,hht)):me(``,!0)]),T(`span`,ght,[T(`span`,_ht,h(e.content),1),e.note?(H(),D(`span`,vht,h(e.note),1)):me(``,!0)])],2))),128))])],512),[[ae,!s.value||u.value]])]),_:1})],2))}}),[[`__scopeId`,`data-v-2161ee3f`]]),bht=[`aria-labelledby`,`aria-busy`],xht=[`id`,`aria-expanded`,`aria-label`],Sht={class:`acu-ask-user-title-text`},Cht={class:`acu-ask-user-title-answer`},wht=[`id`],Tht={class:`acu-ask-user-question`},Eht={key:0,class:`acu-ask-user-options`},Dht=[`checked`,`disabled`,`onChange`],Oht=[`disabled`,`onClick`],kht={key:0,class:`acu-ask-user-check`,"aria-hidden":`true`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.6`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Aht={key:1,class:`acu-ask-user-extras`},jht=[`placeholder`,`aria-label`,`disabled`],Mht=[`disabled`],Nht=[`disabled`],Pht=K9(v({__name:`AskUserPanel`,props:{question:{},options:{default:()=>[]},multiple:{type:Boolean,default:!1},allowFreeText:{type:Boolean,default:!0},submitting:{type:Boolean,default:!1},answers:{default:()=>[]},defaultAnsweredExpanded:{type:Boolean,default:!1},labels:{default:void 0}},emits:[`answer`],setup(e,{emit:t}){let n=e,r=t,i=D9(`acu-ask-user-title`),a=B(``),o=B(n.defaultAnsweredExpanded),s=B([]),l=B(!1),u=U(()=>n.answers.length>0),d=U(()=>u.value||l.value),f=U(()=>u.value?n.answers:s.value),p=U(()=>n.multiple||d.value?f.value:[]),m=U(()=>n.submitting||l.value||u.value),g=U(()=>!u.value&&(n.allowFreeText||n.options.length===0)),_=U(()=>n.labels?.placeholder??`输入回答`),v=U(()=>n.labels?.title??`等待你的回答`),y=U(()=>n.labels?.answered??`已回答`),b=U(()=>n.labels?.expand??`展开完整问答`),x=U(()=>n.labels?.collapse??`收起完整问答`),S=U(()=>u.value?f.value.filter(e=>!n.options.includes(e)):[]),C=U(()=>m.value?!0:n.multiple?s.value.length===0&&!a.value.trim():!a.value.trim());function w(e){return d.value&&!f.value.includes(e)}V(()=>n.question,()=>{s.value=[],a.value=``,l.value=!1}),V(u,e=>{e&&(o.value=n.defaultAnsweredExpanded)}),V(()=>n.submitting,(e,t)=>{!t||e||(l.value=!1,n.multiple||(s.value=[]))});function O(e){if(m.value)return;let t=s.value.indexOf(e);t>=0?s.value.splice(t,1):s.value.push(e)}function M(e){m.value||(s.value=[e],l.value=!0,r(`answer`,[e]))}function P(){if(C.value)return;let e=n.multiple?[...s.value]:[],t=a.value.trim();t&&e.push(t),e.length&&(l.value=!0,r(`answer`,e))}return(t,n)=>(H(),D(`section`,{class:k([`acu-ask-user`,{"is-answered":d.value,"is-collapsed":u.value&&!o.value}]),role:`group`,"aria-live":`polite`,"aria-labelledby":E(i),"aria-busy":e.submitting},[u.value?(H(),D(`button`,{key:0,id:E(i),type:`button`,class:`acu-ask-user-title is-toggle`,"aria-expanded":o.value,"aria-label":o.value?x.value:b.value,onClick:n[0]||=e=>o.value=!o.value},[n[3]||=T(`span`,{class:`acu-ask-user-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})])],-1),T(`span`,Sht,h(y.value),1),T(`span`,Cht,h(f.value.join(` / `)),1),(H(),D(`svg`,{class:k([`acu-ask-user-chevron`,{"is-expanded":o.value}]),"aria-hidden":`true`,viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...n[2]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,xht)):(H(),D(`div`,{key:1,id:E(i),class:`acu-ask-user-title`},[n[4]||=T(`span`,{class:`acu-ask-user-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z`})])],-1),T(`span`,null,h(v.value),1)],8,wht)),!u.value||o.value?(H(),D(j,{key:2},[T(`div`,Tht,h(e.question),1),e.options.length?(H(),D(`div`,Eht,[e.multiple?(H(!0),D(j,{key:0},A(e.options,e=>(H(),D(`label`,{key:e,class:k([`acu-ask-user-option is-checkbox`,{"is-selected":f.value.includes(e),"is-dimmed":w(e)}])},[T(`input`,{type:`checkbox`,checked:f.value.includes(e),disabled:m.value,onChange:t=>O(e)},null,40,Dht),T(`span`,null,h(e),1)],2))),128)):(H(!0),D(j,{key:1},A(e.options,e=>(H(),D(`button`,{key:e,type:`button`,class:k([`acu-ask-user-option`,{"is-selected":p.value.includes(e),"is-dimmed":w(e)}]),disabled:m.value,onClick:t=>M(e)},[p.value.includes(e)?(H(),D(`svg`,kht,[...n[5]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):me(``,!0),T(`span`,null,h(e),1)],10,Oht))),128))])):me(``,!0),S.value.length?(H(),D(`div`,Aht,[(H(!0),D(j,null,A(S.value,e=>(H(),D(`span`,{key:e,class:`acu-ask-user-extra`},h(e),1))),128))])):me(``,!0)],64)):me(``,!0),g.value?(H(),D(`form`,{key:3,class:`acu-ask-user-form`,onSubmit:z(P,[`prevent`])},[N(T(`input`,{"onUpdate:modelValue":n[1]||=e=>a.value=e,type:`text`,class:`acu-ask-user-input`,placeholder:_.value,"aria-label":_.value,disabled:m.value},null,8,jht),[[ce,a.value]]),T(`button`,{type:`submit`,class:`acu-ask-user-submit`,disabled:C.value},[n[6]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})],-1),T(`span`,null,h(e.labels?.submit??`提交回答`),1)],8,Mht)],32)):e.multiple&&!u.value?(H(),D(`button`,{key:4,type:`button`,class:`acu-ask-user-submit is-standalone`,disabled:C.value,onClick:P},[n[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`20 6 9 17 4 12`})],-1),T(`span`,null,h(e.labels?.submit??`提交回答`),1)],8,Nht)):me(``,!0)],10,bht))}}),[[`__scopeId`,`data-v-acd35a50`]]),Fht={key:1,class:`acu-plan-wrap`},Iht={key:0,class:`acu-plan-raw`},Lht={key:2,class:`acu-toolcall`},Rht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},zht={key:1,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Bht={key:2,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Vht={key:3,class:`acu-toolcall-bgdot`,"aria-hidden":`true`},Hht={key:4,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Uht={class:`acu-toolcall-name`},Wht={key:0,class:`acu-toolcall-args`},Ght={key:0,class:`acu-toolcall-body`},Kht={key:0,class:`acu-toolcall-section`},qht={class:`acu-toolcall-pre`},Jht={key:1,class:`acu-toolcall-section`},$9=K9(v({__name:`ToolCallBlock`,props:{toolCall:{},planConfig:{default:void 0},askUserLabels:{default:void 0},expandBackground:{type:Boolean,default:!0}},setup(e){let t=e,n=U(()=>t.toolCall.status||`pending`),r=B(n.value===`background`&&t.expandBackground);V(n,e=>{e===`background`&&t.expandBackground&&(r.value=!0)});let i=U(()=>Ymt(t.toolCall)),o=U(()=>Q9(t.toolCall)),s=U(()=>t.planConfig?.labels?.raw||`原始参数`);function u(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}return(t,d)=>o.value?(H(),l(Pht,{key:0,class:`acu-toolcall-askuser`,question:o.value.question,options:o.value.options,multiple:o.value.multiple,"allow-free-text":o.value.allowFreeText,answers:o.value.answers,labels:e.askUserLabels},null,8,[`question`,`options`,`multiple`,`allow-free-text`,`answers`,`labels`])):i.value?(H(),D(`div`,Fht,[a(yht,{steps:i.value.steps,note:i.value.note,status:n.value,config:e.planConfig},null,8,[`steps`,`note`,`status`,`config`]),e.toolCall.arguments?(H(),D(`details`,Iht,[T(`summary`,null,h(s.value),1),T(`pre`,null,h(u(e.toolCall.arguments)),1)])):me(``,!0)])):(H(),D(`div`,Lht,[T(`button`,{type:`button`,class:k([`acu-toolcall-header`,{expanded:r.value}]),onClick:d[0]||=e=>r.value=!r.value},[T(`span`,{class:k([`acu-toolcall-status`,`is-${n.value}`])},[n.value===`running`?(H(),D(`svg`,Rht,[...d[1]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):n.value===`done`?(H(),D(`svg`,zht,[...d[2]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):n.value===`error`?(H(),D(`svg`,Bht,[...d[3]||=[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)]])):n.value===`background`?(H(),D(`span`,Vht,[...d[4]||=[T(`span`,{class:`acu-toolcall-bgdot-core`},null,-1)]])):(H(),D(`svg`,Hht,[...d[5]||=[T(`circle`,{cx:`12`,cy:`12`,r:`10`},null,-1),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`},null,-1),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`},null,-1)]]))],2),d[7]||=T(`span`,{class:`acu-toolcall-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z`})])],-1),T(`span`,Uht,h(e.toolCall.name),1),e.toolCall.argsPreview?(H(),D(`span`,Wht,h(e.toolCall.argsPreview),1)):me(``,!0),(H(),D(`svg`,{class:k([`acu-toolcall-chevron`,{expanded:r.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...d[6]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],2),a(te,{name:`acu-toolcall-slide`},{default:ne(()=>[r.value?(H(),D(`div`,Ght,[e.toolCall.arguments?(H(),D(`div`,Kht,[d[8]||=T(`div`,{class:`acu-toolcall-section-label`},`参数`,-1),T(`pre`,qht,h(u(e.toolCall.arguments)),1)])):me(``,!0),e.toolCall.result===void 0?me(``,!0):(H(),D(`div`,Jht,[d[9]||=T(`div`,{class:`acu-toolcall-section-label`},`结果`,-1),T(`pre`,{class:k([`acu-toolcall-pre acu-toolcall-result`,`is-${n.value}`])},h(e.toolCall.result),3)]))])):me(``,!0)]),_:1})]))}}),[[`__scopeId`,`data-v-d8bb2115`]]),Yht={class:`acu-toolgroup`},Xht=[`aria-expanded`],Zht={key:0,class:`acu-spin`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`},Qht={key:1,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},$ht={key:2,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},egt={key:3,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},tgt={class:`acu-toolgroup-label`},ngt={class:`acu-toolgroup-hint`},rgt={class:`acu-toolgroup-list`},igt={key:1,class:`acu-toolgroup-plan`},agt={key:2,class:`acu-toolgroup-askuser`},ogt=K9(v({__name:`ToolCallGroup`,props:{toolCalls:{},config:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0}},setup(e){let t=e,n=U(()=>t.toolCalls.filter(e=>e.status!==`background`)),r=U(()=>Math.max(2,t.config?.collapseThreshold??2)),i=U(()=>t.config?.group!==!1&&n.value.length>=r.value),o=B(t.config?.defaultExpanded??!1);V(()=>t.config?.defaultExpanded,e=>{o.value=e??!1});function s(){o.value=!o.value}let u=U(()=>{if(!i.value||o.value)return null;for(let e=n.value.length-1;e>=0;e--)if(Ymt(n.value[e]))return n.value[e];return null}),d=U(()=>!i.value||o.value?[]:n.value.filter(e=>Q9(e))),f=U(()=>{if(!i.value||o.value)return n.value;let e=n.value[n.value.length-1];if(!e)return[];let t=u.value;return t&&e.id===t.id||Q9(e)?[]:[e]}),p=U(()=>{let e=0,t=0,r=0;for(let i of n.value){let n=i.status||`pending`;n===`running`?e++:n===`error`?t++:n===`done`&&r++}return{total:n.value.length,running:e,error:t,done:r}}),m=U(()=>{let e=p.value;return e.running>0?`running`:e.error>0?`error`:e.done>0?`done`:`pending`}),g=U(()=>{let e=p.value;return e.running>0?`正在调用工具 ${e.done}/${e.total}`:e.error>0?`已调用 ${e.total} 个工具 · ${e.error} 个失败`:`已调用 ${e.total} 个工具`});return(t,n)=>(H(),D(`div`,Yht,[i.value?(H(),D(`button`,{key:0,type:`button`,class:k([`acu-toolgroup-header`,{"is-expanded":o.value}]),"aria-expanded":o.value,onClick:s},[T(`span`,{class:k([`acu-toolgroup-status`,`is-${m.value}`])},[m.value===`running`?(H(),D(`svg`,Zht,[...n[0]||=[T(`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`},null,-1)]])):m.value===`done`?(H(),D(`svg`,Qht,[...n[1]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):m.value===`error`?(H(),D(`svg`,$ht,[...n[2]||=[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)]])):(H(),D(`svg`,egt,[...n[3]||=[T(`circle`,{cx:`12`,cy:`12`,r:`10`},null,-1),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`},null,-1),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`},null,-1)]]))],2),n[5]||=x(`<span class="acu-toolgroup-icon" data-v-9119e425><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-9119e425><path d="M12 2 2 7l10 5 10-5-10-5z" data-v-9119e425></path><path d="m2 12 10 5 10-5" data-v-9119e425></path><path d="m2 17 10 5 10-5" data-v-9119e425></path></svg></span>`,1),T(`span`,tgt,h(g.value),1),T(`span`,ngt,h(o.value?`收起`:`全部`),1),(H(),D(`svg`,{class:k([`acu-toolgroup-chevron`,{expanded:o.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...n[4]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],10,Xht)):me(``,!0),T(`div`,rgt,[(H(!0),D(j,null,A(f.value,t=>(H(),l($9,{key:t.id,"tool-call":t,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels},null,8,[`tool-call`,`plan-config`,`ask-user-labels`]))),128))]),u.value?(H(),D(`div`,igt,[a($9,{"tool-call":u.value,"plan-config":e.planConfig},null,8,[`tool-call`,`plan-config`])])):me(``,!0),d.value.length?(H(),D(`div`,agt,[(H(!0),D(j,null,A(d.value,t=>(H(),l($9,{key:t.id,"tool-call":t,"ask-user-labels":e.askUserLabels},null,8,[`tool-call`,`ask-user-labels`]))),128))])):me(``,!0)]))}}),[[`__scopeId`,`data-v-9119e425`]]),sgt={key:0,class:`acu-filechanges`},cgt={class:`acu-filechanges-head`},lgt={class:`acu-filechanges-title`},ugt={class:`acu-filechanges-count`},dgt={key:0,class:`acu-filechanges-total`},fgt=[`title`],pgt=[`title`],mgt={class:`acu-filechanges-list`},hgt=[`aria-expanded`,`title`,`onClick`],ggt=[`title`],_gt={key:0,class:`acu-filechanges-dir`},vgt={class:`acu-filechanges-name`},ygt={key:0,class:`acu-filechanges-kind`},bgt={class:`acu-filechanges-delta`},xgt=[`title`],Sgt=[`title`],Cgt={key:0,class:`acu-filechanges-patch`},wgt=K9(v({__name:`FileChangeList`,props:{changes:{},labels:{default:void 0}},setup(e){let t=e,n=U(()=>({title:t.labels?.title??`文件改动`,files:t.labels?.files??`个文件`,added:t.labels?.added??`新增`,removed:t.labels?.removed??`删除`,expand:t.labels?.expand??`查看改动`,collapse:t.labels?.collapse??`收起改动`,writeHint:t.labels?.writeHint??`整体写入`,empty:t.labels?.empty??`无可预览的差异`})),r=U(()=>t.changes.reduce((e,t)=>e+(Number(t.added)||0),0)),i=U(()=>t.changes.reduce((e,t)=>e+(Number(t.removed)||0),0)),a=B(new Set);function o(e,t){return`${e.path}#${t}`}function s(e,t){return a.value.has(o(e,t))}function l(e,t){let n=o(e,t),r=new Set(a.value);r.has(n)?r.delete(n):r.add(n),a.value=r}function u(e){let t=String(e||``).replace(/\\/g,`/`),n=t.lastIndexOf(`/`);return n<0?{dir:``,base:t}:{dir:t.slice(0,n+1),base:t.slice(n+1)}}function d(e){return e.kind===`write`||e.kind===`create`}function f(e){let t=String(e.patch||``);return t?t.split(`
|
|
3576
|
+
`):[n.value.empty]}function p(e){return e.startsWith(`+`)?`is-add`:e.startsWith(`-`)?`is-del`:e.startsWith(`@@`)?`is-hunk`:``}return(t,a)=>e.changes.length?(H(),D(`div`,sgt,[T(`div`,cgt,[a[0]||=T(`span`,{class:`acu-filechanges-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})])],-1),T(`span`,lgt,h(n.value.title),1),T(`span`,ugt,h(e.changes.length)+` `+h(n.value.files),1),e.changes.length>1?(H(),D(`span`,dgt,[T(`span`,{class:`acu-filechanges-added`,title:n.value.added},`+`+h(r.value),9,fgt),i.value?(H(),D(`span`,{key:0,class:`acu-filechanges-removed`,title:n.value.removed},`−`+h(i.value),9,pgt)):me(``,!0)])):me(``,!0)]),T(`div`,mgt,[(H(!0),D(j,null,A(e.changes,(e,t)=>(H(),D(`div`,{key:`${e.path}-${t}`,class:`acu-filechanges-item`},[T(`button`,{type:`button`,class:`acu-filechanges-row`,"aria-expanded":s(e,t),title:s(e,t)?n.value.collapse:n.value.expand,onClick:n=>l(e,t)},[a[2]||=T(`svg`,{class:`acu-filechanges-file-icon`,viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z`}),T(`polyline`,{points:`13 2 13 9 20 9`})],-1),T(`span`,{class:`acu-filechanges-path`,title:e.path},[u(e.path).dir?(H(),D(`span`,_gt,h(u(e.path).dir),1)):me(``,!0),T(`span`,vgt,h(u(e.path).base),1)],8,ggt),d(e)?(H(),D(`span`,ygt,h(n.value.writeHint),1)):me(``,!0),T(`span`,bgt,[e.added?(H(),D(`span`,{key:0,class:`acu-filechanges-added`,title:n.value.added},`+`+h(e.added),9,xgt)):me(``,!0),e.removed?(H(),D(`span`,{key:1,class:`acu-filechanges-removed`,title:n.value.removed},`−`+h(e.removed),9,Sgt)):me(``,!0)]),(H(),D(`svg`,{class:k([`acu-filechanges-chevron`,{"is-open":s(e,t)}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[...a[1]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,hgt),s(e,t)?(H(),D(`pre`,Cgt,[(H(!0),D(j,null,A(f(e),(e,t)=>(H(),D(`span`,{key:t,class:k([`acu-filechanges-patch-line`,p(e)])},h(e||` `),3))),128))])):me(``,!0)]))),128))])])):me(``,!0)}}),[[`__scopeId`,`data-v-592ff034`]]),Tgt=[`aria-label`,`title`],Egt={key:0,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Dgt={key:1,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Ogt={key:0,class:`acu-action-tip`},kgt=K9(v({__name:`MessageActions`,props:{role:{},copyText:{},showCopy:{type:Boolean,default:!0},showRetry:{type:Boolean,default:!1},copiedDuration:{default:1600}},emits:[`retry`],setup(e){let t=e,n=B(!1),r=null;function i(){r&&=(clearTimeout(r),null)}O(i),V(()=>t.copyText,()=>{n.value&&(n.value=!1,i())});async function o(e){try{if(typeof navigator<`u`&&navigator.clipboard&&window.isSecureContext)return await navigator.clipboard.writeText(e),!0}catch{}try{let t=document.createElement(`textarea`);t.value=e,t.setAttribute(`readonly`,``),t.style.position=`fixed`,t.style.top=`-9999px`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),t.setSelectionRange(0,t.value.length);let n=document.execCommand(`copy`);return document.body.removeChild(t),n}catch{return!1}}async function s(){let e=t.copyText||``;!e||!await o(e)||(n.value=!0,i(),r=setTimeout(()=>{n.value=!1,r=null},t.copiedDuration))}return(t,r)=>(H(),D(`div`,{class:k([`acu-message-actions`,`is-${e.role}`])},[e.showCopy?(H(),D(`button`,{key:0,type:`button`,class:k([`acu-action-btn`,{"is-done":n.value}]),"aria-label":n.value?`已复制`:`复制`,title:n.value?`已复制`:`复制`,onClick:s},[n.value?(H(),D(`svg`,Egt,[...r[1]||=[T(`polyline`,{points:`20 6 9 17 4 12`},null,-1)]])):(H(),D(`svg`,Dgt,[...r[2]||=[T(`rect`,{x:`9`,y:`9`,width:`13`,height:`13`,rx:`2`,ry:`2`},null,-1),T(`path`,{d:`M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1`},null,-1)]])),a(te,{name:`acu-tip`},{default:ne(()=>[n.value?(H(),D(`span`,Ogt,`已复制`)):me(``,!0)]),_:1})],10,Tgt)):me(``,!0),e.showRetry?(H(),D(`button`,{key:1,type:`button`,class:`acu-action-btn`,"aria-label":`重新生成`,title:`重新生成`,onClick:r[0]||=e=>t.$emit(`retry`)},[...r[3]||=[x(`<svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-f8edafef><path d="M21 2v6h-6" data-v-f8edafef></path><path d="M3 12a9 9 0 0 1 15-6.7L21 8" data-v-f8edafef></path><path d="M3 22v-6h6" data-v-f8edafef></path><path d="M21 12a9 9 0 0 1-15 6.7L3 16" data-v-f8edafef></path></svg>`,1)]])):me(``,!0)],2))}}),[[`__scopeId`,`data-v-f8edafef`]]),Agt=[`title`],jgt=K9(v({__name:`MessageMeta`,props:{message:{},config:{default:()=>({})}},setup(e){let t=e,n=U(()=>t.config.items??[`duration`,`tokens`]),r=U(()=>t.message.createdAt??0),i=U(()=>t.message.status===`streaming`||t.message.status===`pending`),a=B(Date.now()),o=null;function s(){o&&=(clearInterval(o),null)}V([i,()=>n.value.includes(`duration`),r],([e,t,n])=>{s(),e&&t&&n&&(a.value=Date.now(),o=setInterval(()=>{a.value=Date.now()},100))},{immediate:!0}),O(s);let l=U(()=>{let e=t.message.meta?.durationMs;if(typeof e==`number`)return O9(e);let n=r.value;if(!n)return``;let o=t.message.finishedAt;return typeof o==`number`&&o>n?O9(o-n):i.value?O9(a.value-n):``}),u=U(()=>{let e=t.message.meta?.firstTokenMs;if(typeof e==`number`&&e>=0)return O9(e);let n=r.value,i=t.message.firstTokenAt;return n&&typeof i==`number`&&i>=n?O9(i-n):``}),d=U(()=>{let e=t.message.meta?.usage;if(!e)return``;if(typeof e.prompt==`number`&&typeof e.completion==`number`)return`↑${k9(e.prompt)} ↓${k9(e.completion)}`;let n=typeof e.total==`number`?e.total:e.prompt??e.completion;return typeof n==`number`?`${k9(n)} tokens`:``}),f=U(()=>{let e=t.message.meta?.usage;if(!e)return``;let n=e.total??(e.prompt??0)+(e.completion??0),r=[];return n&&r.push(`共 ${n.toLocaleString(`en-US`)} tokens`),typeof e.prompt==`number`&&r.push(`输入 ${e.prompt.toLocaleString(`en-US`)}`),typeof e.completion==`number`&&r.push(`输出 ${e.completion.toLocaleString(`en-US`)}`),typeof e.reasoning==`number`&&r.push(`思考 ${e.reasoning.toLocaleString(`en-US`)}`),typeof e.cached==`number`&&r.push(`缓存命中 ${e.cached.toLocaleString(`en-US`)}`),r.join(` · `)}),p=U(()=>r.value?ept(r.value):``);function m(e){switch(e){case`duration`:return l.value?{key:e,value:l.value,title:`回答耗时`}:null;case`firstToken`:return u.value?{key:e,value:u.value,title:`首字延迟(从发送到第一个字到达)`}:null;case`tokens`:return d.value?{key:e,value:d.value,title:f.value}:null;case`time`:return p.value?{key:e,value:p.value,title:`发送时间`}:null;default:return null}}let g=U(()=>{let e=[];for(let t of n.value){let n=m(t);n&&e.push(n)}for(let n of t.message.meta?.extra??[])n!=null&&n.value&&e.push({key:`extra`,value:n.label?`${n.label} ${n.value}`:n.value,title:n.title});return e});return(t,n)=>g.value.length?(H(),D(`div`,{key:0,class:k([`acu-message-meta`,`is-${e.message.role}`])},[(H(!0),D(j,null,A(g.value,(e,t)=>(H(),D(`span`,{key:t,class:k([`acu-meta-item`,`is-${e.key}`]),title:e.title||void 0},h(e.value),11,Agt))),128))],2)):me(``,!0)}}),[[`__scopeId`,`data-v-80210f5c`]]),Mgt=[`src`,`alt`],Ngt={class:`acu-ip-counter`},Pgt=[`title`],Fgt=K9(v({__name:`ImagePreview`,props:{visible:{type:Boolean},images:{},index:{default:0}},emits:[`update:visible`,`update:index`],setup(e,{emit:t}){let n=e,r=t,i=B(0),a=U(()=>n.images[i.value]);V([()=>n.visible,()=>n.index,()=>n.images.length],([e,t,n])=>{e&&(i.value=n?Math.min(Math.max(t,0),n-1):0)},{immediate:!0});function o(e){let t=n.images.length;t<2||(i.value=(i.value+e+t)%t,r(`update:index`,i.value))}function s(){r(`update:visible`,!1)}function u(e){n.visible&&(e.key===`Escape`?(e.preventDefault(),s()):e.key===`ArrowLeft`?(e.preventDefault(),o(-1)):e.key===`ArrowRight`&&(e.preventDefault(),o(1)))}return V(()=>n.visible,e=>{typeof window>`u`||(e?window.addEventListener(`keydown`,u):window.removeEventListener(`keydown`,u))},{immediate:!0}),O(()=>{typeof window<`u`&&window.removeEventListener(`keydown`,u)}),(t,n)=>{var r;return e.visible?(H(),l(ge,{key:0,to:`body`},[T(`div`,{class:`acu-image-preview`,role:`dialog`,"aria-modal":`true`,"aria-label":`图片预览`,onClick:z(s,[`self`]),onWheel:n[3]||=z(()=>{},[`prevent`])},[a.value?(H(),D(`img`,{key:0,class:`acu-image-preview-img`,src:a.value.src,alt:a.value.name||``,onClick:n[0]||=z(()=>{},[`stop`])},null,8,Mgt)):me(``,!0),T(`button`,{type:`button`,class:`acu-ip-btn is-close`,"aria-label":`关闭预览(Esc)`,onClick:s},[...n[4]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]]),e.images.length>1?(H(),D(j,{key:1},[T(`button`,{type:`button`,class:`acu-ip-btn is-prev`,"aria-label":`上一张`,onClick:n[1]||=z(e=>o(-1),[`stop`])},[...n[5]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`15 18 9 12 15 6`})],-1)]]),T(`button`,{type:`button`,class:`acu-ip-btn is-next`,"aria-label":`下一张`,onClick:n[2]||=z(e=>o(1),[`stop`])},[...n[6]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`9 18 15 12 9 6`})],-1)]]),T(`div`,Ngt,h(i.value+1)+` / `+h(e.images.length),1)],64)):me(``,!0),(r=a.value)!=null&&r.name?(H(),D(`div`,{key:2,class:`acu-ip-name`,title:a.value.name},h(a.value.name),9,Pgt)):me(``,!0)],32)])):me(``,!0)}}}),[[`__scopeId`,`data-v-4cc2d641`]]),Igt=[`data-msg-id`],Lgt={key:0,class:`acu-avatar acu-avatar--left`},Rgt=[`src`],zgt={key:1,viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},Bgt={class:`acu-bubble-main`},Vgt={key:0,class:`acu-bubble-name`},Hgt=[`aria-label`,`title`,`onClick`,`onKeydown`],Ugt=[`src`,`alt`],Wgt={key:1,class:`acu-att-file`},Ggt={class:`acu-att-file-info`},Kgt=[`title`],qgt={class:`acu-att-file-size`},Jgt={key:2,class:`acu-bubble-toolcalls`},Ygt={key:3,class:`acu-bubble-content`},Xgt={key:0,class:`acu-cursor`,"aria-hidden":`true`},Zgt={key:4,class:`acu-pending`},Qgt={key:5,class:`acu-bubble-error`},$gt={key:1,class:`acu-avatar acu-avatar--right`},e_t=[`src`],t_t={key:1,viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},n_t=K9(v({__name:`MessageBubble`,props:{message:{},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},isLastAssistant:{type:Boolean,default:!1}},emits:[`retry`],setup(e){let t=e,n=U(()=>t.message.avatar||t.assistantAvatar),r=U(()=>t.message.avatar||t.userAvatar),i=U(()=>{var e;return!!((e=t.message.attachments)!=null&&e.length)}),o=U(()=>{var e;return!!((e=t.message.toolCalls)!=null&&e.length)}),s=U(()=>t.message.role===`assistant`?hpt(t.message.toolCalls):[]),u=U(()=>{let e=t.message.content||``;return e?t.message.reasoningStatus===`streaming`?{reasoning:``,content:e.replace(/<think>[\s\S]*?<\/think>/g,``).trim()}:mmt(e):{reasoning:``,content:``}}),d=U(()=>u.value.reasoning),f=U(()=>u.value.content),p=U(()=>t.message.reasoning||d.value),m=U(()=>t.message.role===`assistant`&&t.message.status===`streaming`&&!!f.value),g=U(()=>t.message.role!==`system`&&t.actionsConfig?.enable!==!1),_=U(()=>!(t.messageMetaConfig?.enable!==!0||t.message.role===`system`||t.message.role===`user`&&t.messageMetaConfig?.showForUser!==!0)),v=U(()=>t.messageMetaConfig?.position??`inline`),y=U(()=>g.value||_.value),b=U(()=>_.value&&(t.messageMetaConfig?.visibility??`hover`)===`hover`),x=B(!1),S=B(0),C=U(()=>(t.message.attachments??[]).filter(e=>E9(e.type)&&!!e.preview).map(e=>({src:e.preview,name:e.name})));function w(e){let t=C.value.findIndex(t=>t.src===e.preview);t<0||(S.value=t,x.value=!0)}let O=U(()=>t.message.role===`assistant`?f.value:t.message.content||``),M=U(()=>t.actionsConfig?.copy!==!1&&!!O.value),N=U(()=>!(t.message.role!==`assistant`||t.actionsConfig?.retry===!1||t.message.status!==`done`||(t.actionsConfig?.retryOnlyLast??!0)&&!t.isLastAssistant));return(t,u)=>(H(),D(`div`,{class:k([`acu-bubble-row`,[`is-${e.message.role}`,{"is-meta-hover":b.value}]]),"data-msg-id":e.message.id},[e.message.role===`assistant`&&e.showAvatar?(H(),D(`div`,Lgt,[n.value?(H(),D(`img`,{key:0,src:n.value,alt:``},null,8,Rgt)):(H(),D(`svg`,zgt,[...u[4]||=[T(`path`,{d:`M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z`},null,-1),T(`path`,{d:`M19 14l.8 1.9L21.7 17l-1.9.8L19 19.7l-.8-1.9L16.3 17l1.9-.8L19 14z`},null,-1)]]))])):me(``,!0),T(`div`,Bgt,[e.message.role===`assistant`?(H(),D(`div`,Vgt,h(e.assistantName),1)):me(``,!0),i.value?(H(),D(`div`,{key:1,class:k([`acu-attachments`,`is-${e.message.role}`])},[(H(!0),D(j,null,A(e.message.attachments,e=>(H(),D(j,{key:e.id},[E(E9)(e.type)&&e.preview?(H(),D(`div`,{key:0,class:`acu-att-thumb`,role:`button`,tabindex:`0`,"aria-label":`预览 ${e.name}`,title:`点击预览 ${e.name}`,onClick:t=>w(e),onKeydown:[ee(z(t=>w(e),[`prevent`]),[`enter`]),ee(z(t=>w(e),[`prevent`]),[`space`])]},[T(`img`,{src:e.preview,alt:e.name,loading:`lazy`},null,8,Ugt)],40,Hgt)):(H(),D(`div`,Wgt,[u[5]||=T(`span`,{class:`acu-att-file-icon`},[T(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})])],-1),T(`span`,Ggt,[T(`span`,{class:`cu-att-file-name`,title:e.name},h(e.name),9,Kgt),T(`span`,qgt,h(E($ft)(e.size)),1)])]))],64))),128))],2)):me(``,!0),T(`div`,{class:k([`acu-bubble`,`is-${e.message.role}`])},[e.message.role===`assistant`&&p.value?(H(),l(zmt,{key:0,content:p.value,streaming:e.message.reasoningStatus===`streaming`,config:e.thinkingConfig,"duration-ms":e.message.meta?.reasoningMs,"started-at":e.message.reasoningStartedAt,"ended-at":e.message.reasoningEndedAt},null,8,[`content`,`streaming`,`config`,`duration-ms`,`started-at`,`ended-at`])):me(``,!0),s.value.length?(H(),l(wgt,{key:1,class:`acu-bubble-filechanges`,changes:s.value,labels:e.fileChangesLabels},null,8,[`changes`,`labels`])):me(``,!0),o.value?(H(),D(`div`,Jgt,[a(ogt,{"tool-calls":e.message.toolCalls||[],config:e.toolCallsConfig,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels},null,8,[`tool-calls`,`config`,`plan-config`,`ask-user-labels`])])):me(``,!0),f.value?(H(),D(`div`,Ygt,[a(q9,{source:f.value,streaming:m.value},null,8,[`source`,`streaming`]),m.value?(H(),D(`span`,Xgt)):me(``,!0)])):e.message.role===`assistant`&&e.message.status===`pending`?(H(),D(`div`,Zgt,[...u[6]||=[T(`span`,{class:`acu-typing-dots`,"aria-label":`正在思考`},[T(`span`),T(`span`),T(`span`)],-1)]])):me(``,!0),e.message.status===`error`?(H(),D(`div`,Qgt,[u[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`circle`,{cx:`12`,cy:`12`,r:`10`}),T(`line`,{x1:`12`,y1:`8`,x2:`12`,y2:`12`}),T(`line`,{x1:`12`,y1:`16`,x2:`12.01`,y2:`16`})],-1),T(`span`,null,h(e.message.error||`生成失败,请重试`),1),T(`button`,{type:`button`,class:`acu-retry-btn`,onClick:u[0]||=n=>t.$emit(`retry`,e.message)},`重试`)])):me(``,!0)],2),y.value?(H(),D(`div`,{key:2,class:k([`acu-bubble-footer`,[`is-${e.message.role}`,`is-meta-${v.value}`]])},[g.value?(H(),l(kgt,{key:0,role:e.message.role,"copy-text":O.value,"show-copy":M.value,"show-retry":N.value,"copied-duration":e.actionsConfig?.copiedDuration??1600,onRetry:u[1]||=n=>t.$emit(`retry`,e.message)},null,8,[`role`,`copy-text`,`show-copy`,`show-retry`,`copied-duration`])):me(``,!0),_.value?(H(),l(jgt,{key:1,message:e.message,config:e.messageMetaConfig},null,8,[`message`,`config`])):me(``,!0)],2)):me(``,!0)]),e.message.role===`user`&&e.showAvatar?(H(),D(`div`,$gt,[r.value?(H(),D(`img`,{key:0,src:r.value,alt:``},null,8,e_t)):(H(),D(`svg`,t_t,[...u[8]||=[T(`path`,{d:`M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2`},null,-1),T(`circle`,{cx:`12`,cy:`7`,r:`4`},null,-1)]]))])):me(``,!0),a(Fgt,{visible:x.value,"onUpdate:visible":u[2]||=e=>x.value=e,index:S.value,"onUpdate:index":u[3]||=e=>S.value=e,images:C.value},null,8,[`visible`,`index`,`images`])],10,Igt))}}),[[`__scopeId`,`data-v-eb66466e`]]),r_t={key:0,class:`acu-followup-title`},i_t={key:0},a_t={key:1,class:`acu-followup-loading`},o_t={class:`acu-followup-list`},s_t=[`onClick`],c_t={class:`acu-followup-item-label`},l_t=K9(v({__name:`FollowupSuggestions`,props:{items:{default:()=>[]},title:{default:`继续追问`},loading:{type:Boolean,default:!1}},emits:[`select`],setup(e){let t=e,n=U(()=>t.loading||t.items&&t.items.length>0);return(t,r)=>n.value?(H(),D(`div`,{key:0,class:k([`acu-followup`,{"is-loading":e.loading}])},[e.title||e.loading?(H(),D(`div`,r_t,[e.loading?(H(),D(`span`,a_t,[...r[0]||=[T(`span`,{class:`acu-followup-dot`},null,-1),T(`span`,{class:`acu-followup-dot`},null,-1),T(`span`,{class:`acu-followup-dot`},null,-1),re(` 正在生成追问… `,-1)]])):(H(),D(`span`,i_t,h(e.title),1))])):me(``,!0),T(`div`,o_t,[(H(!0),D(j,null,A(e.items,e=>(H(),D(`button`,{key:e.id,type:`button`,class:`acu-followup-item`,onClick:n=>t.$emit(`select`,e)},[T(`span`,c_t,h(e.label),1),r[1]||=T(`svg`,{class:`acu-followup-item-arrow`,viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`line`,{x1:`7`,y1:`17`,x2:`17`,y2:`7`}),T(`polyline`,{points:`7 7 17 7 17 17`})],-1)],8,s_t))),128))])],2)):me(``,!0)}}),[[`__scopeId`,`data-v-3a8d51cc`]]),u_t=[`data-turn-id`,`aria-label`,`aria-current`,`onClick`,`onMouseenter`,`onFocus`],d_t={key:0,class:`acu-rail-tip-q`},f_t={class:`acu-rail-tip-a`},p_t=K9(v({__name:`MessageRail`,props:{messages:{},activeId:{default:null},config:{default:void 0},assistantName:{default:`AI`}},emits:[`select`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=U(()=>{let e=r.config??{};return{align:e.align??`edge`,widthBy:e.widthBy??`length`,minWidth:e.minWidth??8,maxWidth:e.maxWidth??26,barHeight:e.barHeight??3,maxGap:e.maxGap??10,maxHeight:e.maxHeight??320,idleOpacity:e.idleOpacity??.3,showTooltip:e.showTooltip??!0,clickToScroll:e.clickToScroll??!0}}),o=U(()=>a.value.barHeight),s=U(()=>o.value+b.value),l=U(()=>a.value.maxHeight),u=U(()=>a.value.idleOpacity),d=U(()=>a.value.showTooltip);function p(e){return(e.content||e.reasoning||``).replace(/\s+/g,` `).trim()}function m(e,t){return e.length>t?`${e.slice(0,t)}…`:e}let g=U(()=>{let e=[];for(let t of r.messages){let n=e[e.length-1];(t.role===`user`||!n)&&(n={anchor:t,question:``,answer:``,msgIds:[],chars:0,streaming:!1},e.push(n)),n.msgIds.push(t.id),n.chars+=(t.content?.length??0)+(t.reasoning?.length??0)*.5,(t.status===`streaming`||t.status===`pending`)&&(n.streaming=!0);let r=p(t);t.role===`user`?n.question||(n.question=r):r&&(n.answer=r)}return e}),_=U(()=>{let e=g.value,{widthBy:t,minWidth:n,maxWidth:r}=a.value;if(!e.length)return[];if(t===`even`)return e.map(()=>r);let i=e.map(e=>Math.max(4,e.chars)),o=Math.min(...i),s=Math.max(...i);if(s-o<1)return e.map(()=>r);let l=Math.log10(o),u=Math.log10(s)-l;return i.map(e=>{let t=Math.min(1,Math.max(0,(Math.log10(e)-l)/u));return Math.round(n+t*(r-n))})}),v=U(()=>g.value.map((e,t)=>{let n=e.answer?m(e.answer,72):e.streaming?`正在生成…`:`(暂无回答)`,r=m(e.question,40);return{id:e.anchor.id,question:r,answer:n,title:`${r||`对话`} — ${n}`,width:_.value[t]??a.value.minWidth,streaming:e.streaming}})),y=U(()=>{let e=r.activeId;return e?g.value.find(t=>t.msgIds.includes(e))?.anchor.id??null:null}),b=U(()=>{let e=v.value.length;if(e<=1)return a.value.maxGap;let{maxGap:t,maxHeight:n,barHeight:r}=a.value,i=(n-r)/(e-1);return Math.round(Math.min(t,Math.max(4,i-r)))}),x=B(!1),S=B(-1),C=B(null),w=B(0),E=U(()=>S.value>=0?v.value[S.value]??null:null),M=U(()=>S.value*s.value+s.value/2-w.value);function N(){w.value=C.value?.scrollTop??0}let P=null;function F(){P&&=(clearTimeout(P),null),x.value=!0}function I(){P&&clearTimeout(P),P=setTimeout(()=>{x.value=!1,S.value=-1,P=null},200)}O(()=>{P&&clearTimeout(P)});function L(e){if(!a.value.clickToScroll)return;let t=g.value[e];t&&i(`select`,t.anchor,e)}return V(y,()=>{let e=v.value.findIndex(e=>e.id===y.value),t=C.value;if(e<0||!t)return;let n=o.value+b.value,r=e*n;r<t.scrollTop?t.scrollTop=r:r+n>t.scrollTop+t.clientHeight&&(t.scrollTop=r+n-t.clientHeight)}),t({hovering:x}),(e,t)=>v.value.length>1?(H(),D(`div`,{key:0,class:k([`acu-rail`,{"is-hovering":x.value}]),style:f({"--acu-rail-idle":u.value}),role:`navigation`,"aria-label":`对话轮次导航`,onMouseenter:F,onMouseleave:I},[T(`div`,{ref_key:`stackRef`,ref:C,class:`acu-rail-stack`,style:f({maxHeight:`${l.value}px`}),onScroll:N},[(H(!0),D(j,null,A(v.value,(e,t)=>(H(),D(`button`,{key:e.id,type:`button`,class:k([`acu-rail-bar`,{"is-active":e.id===y.value,"is-streaming":e.streaming,"is-hot":t===S.value}]),style:f({height:`${s.value}px`}),"data-turn-id":e.id,"aria-label":e.title,"aria-current":e.id===y.value?`true`:void 0,onClick:e=>L(t),onMouseenter:e=>S.value=t,onFocus:e=>S.value=t},[T(`span`,{class:`acu-rail-mark`,style:f({width:`${e.width}px`,height:`${o.value}px`})},null,4)],46,u_t))),128))],36),d.value&&E.value?(H(),D(`div`,{key:0,class:`acu-rail-tip`,style:f({top:`${M.value}px`})},[E.value.question?(H(),D(`div`,d_t,h(E.value.question),1)):me(``,!0),T(`div`,f_t,h(E.value.answer),1)],4)):me(``,!0)],38)):me(``,!0)}}),[[`__scopeId`,`data-v-e559dcf9`]]),m_t={class:`acu-message-list-inner`},h_t=80,g_t=40,__t=6,v_t=10,y_t=8,b_t=K9(v({__name:`MessageList`,props:{messages:{},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},followup:{default:void 0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},askUserLabels:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},messageRailConfig:{default:void 0}},emits:[`retry`,`followup-select`],setup(e,{expose:t,emit:n}){let r=e,i=U(()=>{if(r.followup)return Array.isArray(r.followup)?{items:r.followup,mode:`latest`,autoSend:!0}:r.followup}),o=U(()=>i.value?.title??`继续追问`),u=U(()=>i.value?.mode??`latest`),p=U(()=>i.value?.showDuringStreaming??!1),m=oe({}),h=U(()=>{for(let e=r.messages.length-1;e>=0;e--){let t=r.messages[e];if(t.role===`assistant`&&t.status===`done`)return t.id}return null}),g=U(()=>{for(let e=r.messages.length-1;e>=0;e--)if(r.messages[e].role===`assistant`)return r.messages[e].id;return null});function _(e){return e.role!==`assistant`||e.status===`error`?!1:e.status===`streaming`||e.status===`pending`?p.value:u.value===`latest`?e.id===h.value:e.status===`done`}let v=0;async function y(e){let t=i.value;if(!t||typeof t.provider!=`function`)return;if(t.items&&t.items.length){m[e.id]={items:t.items,loading:!1};return}let n=++v;m[e.id]={items:[],loading:!0};try{let i=await t.provider(e,r.messages);if(n!==v)return;let a=Array.isArray(i)?i:[];m[e.id]={items:a,loading:!1}}catch(t){if(n!==v)return;m[e.id]={items:[],loading:!1},console.warn(`[ai-chat-ui] followup provider error:`,t)}}V(()=>r.messages.map(e=>`${e.id}:${e.status}:${e.content.length}`).join(`|`),()=>{x()},{immediate:!0});function b(){let e=new Set;for(let t of r.messages)_(t)&&e.add(t.id);for(let t of Object.keys(m))e.has(t)||delete m[t]}function x(){let e=i.value;if(!e){for(let e of Object.keys(m))delete m[e];return}if(e.items&&e.items.length){for(let t of r.messages)_(t)&&(m[t.id]={items:e.items,loading:!1});b();return}if(typeof e.provider==`function`){for(let e of r.messages)_(e)&&!m[e.id]&&y(e);b()}}V(()=>r.followup,()=>{for(let e of Object.keys(m))delete m[e];v++,x()});let S=B(null),C=B(!0),w=U(()=>r.messageRailConfig?.enable===!0),E=B(null),k=B(null),M=B(0),P=B(null),F=null,I=U(()=>P.value===null?void 0:{left:`${P.value}px`});function L(e){(k.value?.closest(`.acu-chat`)||k.value)?.style.setProperty(`--acu-rail-lane`,`${e}px`)}function R(){let e=k.value;if(!e)return;let t=e.querySelector(`.acu-rail`),n=e.querySelector(`.acu-message-list-inner`);if(!w.value||!t||!n){P.value=null,M.value!==0&&(M.value=0,L(0));return}let i=e.getBoundingClientRect().left,a=n.getBoundingClientRect().left-i-M.value,o=t.getBoundingClientRect().width||38,s=r.messageRailConfig?.align===`gutter`?Math.max(__t,a-g_t):v_t;P.value=s;let l=s+o-a,u=l>0?Math.ceil(l+y_t):0;u!==M.value&&(M.value=u,L(u))}V(w,e=>{e&&s(()=>R())}),V(()=>r.messageRailConfig?.align,()=>s(()=>R())),V(()=>r.messages.length,()=>{s(()=>R())}),d(()=>{w.value&&typeof ResizeObserver<`u`&&k.value&&(F=new ResizeObserver(()=>R()),F.observe(k.value)),s(()=>R())}),O(()=>{F?.disconnect(),F=null,L(0)});function z(){let e=S.value;if(!e)return;let t=e.getBoundingClientRect(),n=t.top+t.height/2,i=null;for(let t of e.querySelectorAll(`[data-msg-id]`))if(t.getBoundingClientRect().top<=n)i=t.dataset.msgId??null;else break;E.value=i??r.messages[0]?.id??null}function ee(e){let t=S.value;if(!t)return;let n=typeof CSS<`u`&&CSS.escape?CSS.escape(e.id):e.id,r=t.querySelector(`[data-msg-id="${n}"]`);r&&t.scrollTo({top:Math.max(0,r.offsetTop-16),behavior:`smooth`})}function re(){let e=S.value;if(!e)return;let t=e.scrollHeight-e.scrollTop-e.clientHeight;C.value=t<h_t,w.value&&z()}function ie(e=!1){let t=S.value;t&&(t.scrollTo({top:t.scrollHeight,behavior:e?`smooth`:`auto`}),C.value=!0)}function se(){let e=r.messages[r.messages.length-1];return e?`${r.messages.length}:${e.id}:${e.content.length}:${e.reasoning?.length??0}`:``}return V(se,()=>{C.value&&s(()=>ie(!1))}),V(()=>r.messages.length,()=>{s(()=>{ie(!1),w.value&&z()})}),V(w,e=>{e&&s(()=>{z(),R()})}),d(()=>{ie(!1),s(()=>z())}),t({scrollToBottom:ie}),(t,n)=>(H(),D(`div`,{ref_key:`wrapRef`,ref:k,class:`acu-message-list-wrap`},[T(`div`,{ref_key:`scrollRef`,ref:S,class:`acu-message-list`,onScroll:re},[T(`div`,m_t,[(H(!0),D(j,null,A(e.messages,r=>(H(),D(j,{key:r.id},[a(n_t,{message:r,"assistant-name":e.assistantName,"assistant-avatar":e.assistantAvatar,"user-avatar":e.userAvatar,"show-avatar":e.showAvatar,"tool-calls-config":e.toolCallsConfig,"plan-config":e.planConfig,"ask-user-labels":e.askUserLabels,"file-changes-labels":e.fileChangesLabels,"thinking-config":e.thinkingConfig,"actions-config":e.actionsConfig,"message-meta-config":e.messageMetaConfig,"is-last-assistant":r.id===g.value,onRetry:n[0]||=e=>t.$emit(`retry`,e)},null,8,[`message`,`assistant-name`,`assistant-avatar`,`user-avatar`,`show-avatar`,`tool-calls-config`,`plan-config`,`ask-user-labels`,`file-changes-labels`,`thinking-config`,`actions-config`,`message-meta-config`,`is-last-assistant`]),_(r)?(H(),l(l_t,{key:0,items:m[r.id]?.items??[],title:o.value,loading:m[r.id]?.loading??!1,onSelect:e=>t.$emit(`followup-select`,e,r)},null,8,[`items`,`title`,`loading`,`onSelect`])):me(``,!0)],64))),128))]),a(te,{name:`acu-fade`},{default:ne(()=>[N(T(`button`,{type:`button`,class:`acu-scroll-btn`,"aria-label":`回到底部`,onClick:n[1]||=e=>ie(!0)},[...n[2]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`polyline`,{points:`6 9 12 15 18 9`})],-1)]],512),[[ae,!C.value&&e.messages.length>0]])]),_:1})],544),w.value?(H(),l(p_t,{key:0,messages:e.messages,"active-id":E.value,config:e.messageRailConfig,"assistant-name":e.assistantName,style:f(I.value),onSelect:ee},null,8,[`messages`,`active-id`,`config`,`assistant-name`,`style`])):me(``,!0)],512))}}),[[`__scopeId`,`data-v-ccc4ad1e`]]),x_t={class:`acu-welcome`},S_t={class:`acu-welcome-title`},C_t={key:0,class:`acu-welcome-desc`},w_t={key:1,class:`acu-welcome-grid`},T_t=[`onClick`],E_t={class:`acu-preset-q-index`,"aria-hidden":`true`},D_t={class:`acu-preset-q-body`},O_t={class:`acu-preset-q-label`},k_t={key:0,class:`acu-preset-q-prompt`},A_t=K9(v({__name:`WelcomeScreen`,props:{title:{default:`你好,有什么可以帮你?`},description:{default:`试着问我任何问题,或选择下方的话题开始对话。`},questions:{default:()=>[]},maxWidth:{default:`var(--acu-max-width)`}},emits:[`select`],setup(e){let t=e,n=U(()=>typeof t.maxWidth==`number`?`${t.maxWidth}px`:t.maxWidth);return(t,r)=>(H(),D(`div`,x_t,[T(`div`,{class:`acu-welcome-inner`,style:f({maxWidth:n.value})},[r[1]||=x(`<div class="acu-welcome-logo" data-v-f085b71b><svg viewBox="0 0 24 24" width="26" height="26" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" data-v-f085b71b><path d="M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z" data-v-f085b71b></path><path d="M19 14l.8 1.9L21.7 17l-1.9.8L19 19.7l-.8-1.9L16.3 17l1.9-.8L19 14z" data-v-f085b71b></path><path d="M5 15l.6 1.5L7.1 17l-1.5.6L5 19.1l-.6-1.5L2.9 17l1.5-.6L5 15z" data-v-f085b71b></path></svg></div>`,1),T(`h2`,S_t,h(e.title),1),e.description?(H(),D(`p`,C_t,h(e.description),1)):me(``,!0),e.questions.length?(H(),D(`div`,w_t,[(H(!0),D(j,null,A(e.questions,(e,n)=>(H(),D(`button`,{key:e.id,type:`button`,class:`acu-preset-q`,onClick:n=>t.$emit(`select`,e)},[T(`span`,E_t,h(String(n+1).padStart(2,`0`)),1),T(`span`,D_t,[T(`span`,O_t,h(e.label),1),e.prompt?(H(),D(`span`,k_t,h(e.prompt),1)):me(``,!0)]),r[0]||=T(`svg`,{class:`acu-preset-q-arrow`,viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`7`,y1:`17`,x2:`17`,y2:`7`}),T(`polyline`,{points:`7 7 17 7 17 17`})],-1)],8,T_t))),128))])):me(``,!0)],4)]))}}),[[`__scopeId`,`data-v-f085b71b`]]),j_t={key:0,class:`acu-input-drop-hint`},M_t={key:1,class:`acu-input-queue`},N_t={class:`acu-input-queue-head`},P_t={class:`acu-input-queue-title`},F_t={class:`acu-input-queue-count`},I_t={class:`acu-input-queue-hint`},L_t={class:`acu-input-queue-index`},R_t=[`title`],z_t=[`title`],B_t={class:`acu-input-queue-att-name`},V_t=[`title`,`aria-label`,`onClick`],H_t={key:2,class:`acu-input-attachments`},U_t=[`aria-label`,`title`,`onClick`,`onKeydown`],W_t=[`src`,`alt`],G_t={key:1,class:`acu-input-att-file`},K_t=[`title`],q_t=[`onClick`],J_t={class:`acu-input-row`},Y_t=[`placeholder`,`disabled`],X_t={class:`acu-input-toolbar`},Z_t=[`disabled`],Q_t=[`accept`,`multiple`],$_t=[`title`],evt={class:`acu-input-chip-label`},tvt=[`aria-label`],nvt={class:`acu-input-usage-text`,role:`tooltip`},rvt={class:`acu-input-usage-ring`,viewBox:`0 0 36 36`,"aria-hidden":`true`},ivt=[`stroke-dasharray`],avt=[`title`],ovt={class:`acu-input-chip-label`},svt=[`disabled`,`aria-label`,`title`],cvt=K9(v({__name:`ChatInput`,props:{placeholder:{default:`输入消息,Enter 发送,Shift+Enter 换行`},disabled:{type:Boolean,default:!1},generating:{type:Boolean,default:!1},allowQueue:{type:Boolean,default:!1},queued:{default:()=>[]},queuePaused:{type:Boolean,default:!1},queueLabels:{default:()=>({})},uploadConfig:{default:()=>({})},maxLength:{default:4e3},gitBranch:{default:``},model:{default:``},contextUsage:{default:null}},emits:[`send`,`stop`,`unqueue`,`flush-queued`],setup(e,{expose:t,emit:n}){let r=e,i=n,o=B(``),l=B([]),u=B(null),f=B(null),p=B(!1),m=B(!1),g=0,_=B(!1),v=B(0),y=U(()=>l.value.filter(e=>!!e.preview).map(e=>({src:e.preview,name:e.file.name})));function b(e){let t=y.value.findIndex(t=>t.src===e.preview);t<0||(v.value=t,_.value=!0)}let S=U(()=>({enabled:!0,multiple:!0,accept:``,maxCount:10,maxSize:20971520,...r.uploadConfig}));function C(e){if(!Number.isFinite(e))return`—`;let t=/^K/i.test(r.contextUsage?.unit||``),n=t?e/1e3:e;return t?n.toFixed(1):String(Math.round(n))}let w=U(()=>{let e=r.contextUsage;if(!e)return null;let t=Number.isFinite(e.ratio)?e.ratio:0,n=e.unit||``,i=t*100,a=e.level||(t>=1?`full`:t>=.8?`warn`:`normal`),o=`${i.toFixed(1)}% · ${C(e.current)}${n} / ${C(e.total)}${n}`+(e.suffix?` ${e.suffix}`:``),s=2*Math.PI*15,l=Math.min(Math.max(t,0),1);return{level:a,summary:o,detail:e.detail||o,dashArray:`${(s*l).toFixed(2)} ${s.toFixed(2)}`}}),E=U(()=>S.value.enabled),O=U(()=>({title:r.queueLabels.title||`排队中`,hint:r.queueLabels.hint||`等本轮跑完依次发送`,pausedHint:r.queueLabels.pausedHint||`已暂停,点「立即发送」继续`,send:r.queueLabels.send||`加入队列`,flush:r.queueLabels.flush||`立即发送`,remove:r.queueLabels.remove||`移出队列`})),M=U(()=>o.value.trim().length>0||l.value.length>0);function P(e){e.key===`Enter`&&!e.shiftKey&&!m.value&&!e.isComposing&&(e.preventDefault(),R())}function F(){m.value=!0}function I(){m.value=!1}function L(){let e=u.value;if(!e)return;e.style.height=`auto`;let t=e.scrollHeight;e.style.height=Math.min(t,200)+`px`;let n=t>200?`auto`:`hidden`;e.style.overflowY!==n&&(e.style.overflowY=n)}function R(){if(r.generating&&!r.allowQueue||!M.value||r.disabled)return;let e=o.value.trim();!e&&l.value.length===0||(i(`send`,{text:e,files:[...l.value]}),o.value=``,l.value=[],s(()=>{var e;L(),(e=u.value)==null||e.focus()}))}function te(){var e;(e=f.value)==null||e.click()}function ne(e){let t=e.target;t.files&&re(Array.from(t.files)),t.value=``}function re(e){let t=S.value;for(let n of e){if(t.maxCount&&l.value.length>=t.maxCount)break;if(t.maxSize&&n.size>t.maxSize)continue;let e={file:n,id:D9(`file`)};E9(n.type)&&(e.preview=URL.createObjectURL(n)),l.value.push(e)}}function ie(e){let t=l.value.findIndex(t=>t.id===e);if(t>=0){let e=l.value[t];e.preview&&URL.revokeObjectURL(e.preview),l.value.splice(t,1)}}function ae(e){if(r.disabled||!E.value)return;let t=e.clipboardData?.items;if(!t||t.length===0)return;let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.kind===`file`){let e=r.getAsFile();e&&n.push(e)}}n.length!==0&&(e.preventDefault(),re(n))}function oe(e){var t;r.disabled||!E.value||(t=e.dataTransfer)!=null&&t.types.includes(`Files`)&&(g++,p.value=!0)}function V(){g=Math.max(0,g-1),g===0&&(p.value=!1)}function se(e){var t;if(g=0,p.value=!1,r.disabled||!E.value)return;let n=(t=e.dataTransfer)!=null&&t.files?Array.from(e.dataTransfer.files):[];n.length&&re(n)}return d(()=>L()),t({focus:()=>u.value?.focus(),clear:()=>{o.value=``,l.value=[],s(L)}}),(t,n)=>(H(),D(`div`,{class:k([`acu-input-wrap`,{"is-dragging":p.value,"is-disabled":e.disabled}]),onDragenter:oe,onDragover:n[5]||=z(()=>{},[`prevent`]),onDragleave:V,onDrop:z(se,[`prevent`])},[p.value?(H(),D(`div`,j_t,[...n[6]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`22`,height:`22`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`}),T(`polyline`,{points:`17 8 12 3 7 8`}),T(`line`,{x1:`12`,y1:`3`,x2:`12`,y2:`15`})],-1),T(`span`,null,`松开以添加文件`,-1)]])):me(``,!0),e.queued.length?(H(),D(`div`,M_t,[T(`div`,N_t,[T(`span`,P_t,h(O.value.title),1),T(`span`,F_t,h(e.queued.length),1),T(`span`,I_t,h(e.queuePaused?O.value.pausedHint:O.value.hint),1)]),(H(!0),D(j,null,A(e.queued,(t,r)=>(H(),D(`div`,{key:t.id,class:`acu-input-queue-item`},[T(`span`,L_t,h(r+1),1),T(`span`,{class:`acu-input-queue-text`,title:t.text},h(t.text),9,R_t),t.attachmentNames&&t.attachmentNames.length?(H(),D(`span`,{key:0,class:`acu-input-queue-atts`,title:t.attachmentNames.join(`、`)},[n[7]||=T(`svg`,{viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48`})],-1),T(`span`,B_t,h(t.attachmentNames.join(`、`)),1)],8,z_t)):me(``,!0),r===0&&e.queuePaused?(H(),D(`button`,{key:1,type:`button`,class:`acu-input-queue-btn`,onClick:n[0]||=e=>i(`flush-queued`)},h(O.value.flush),1)):me(``,!0),T(`button`,{type:`button`,class:`acu-input-queue-remove`,title:O.value.remove,"aria-label":O.value.remove,onClick:e=>i(`unqueue`,t.id)},[...n[8]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`11`,height:`11`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.4`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,V_t)]))),128))])):me(``,!0),l.value.length?(H(),D(`div`,H_t,[(H(!0),D(j,null,A(l.value,e=>(H(),D(`div`,{key:e.id,class:`acu-input-att`},[e.preview?(H(),D(`div`,{key:0,class:`acu-input-att-thumb`,role:`button`,tabindex:`0`,"aria-label":`预览 ${e.file.name}`,title:`点击预览 ${e.file.name}`,onClick:t=>b(e),onKeydown:[ee(z(t=>b(e),[`prevent`]),[`enter`]),ee(z(t=>b(e),[`prevent`]),[`space`])]},[T(`img`,{src:e.preview,alt:e.file.name},null,8,W_t)],40,U_t)):(H(),D(`div`,G_t,[n[9]||=T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.7`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z`}),T(`polyline`,{points:`14 2 14 8 20 8`})],-1),T(`span`,{class:`acu-input-att-name`,title:e.file.name},h(e.file.name),9,K_t)])),T(`button`,{type:`button`,class:`acu-input-att-remove`,"aria-label":`移除`,onClick:t=>ie(e.id)},[...n[10]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.4`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`}),T(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`})],-1)]],8,q_t)]))),128))])):me(``,!0),a(Fgt,{visible:_.value,"onUpdate:visible":n[1]||=e=>_.value=e,index:v.value,"onUpdate:index":n[2]||=e=>v.value=e,images:y.value},null,8,[`visible`,`index`,`images`]),T(`div`,J_t,[N(T(`textarea`,{ref_key:`textareaRef`,ref:u,"onUpdate:modelValue":n[3]||=e=>o.value=e,class:`acu-input-textarea`,placeholder:e.placeholder,rows:1,disabled:e.disabled,onKeydown:P,onInput:L,onCompositionstart:F,onCompositionend:I,onPaste:ae},null,40,Y_t),[[ce,o.value]])]),T(`div`,X_t,[E.value?(H(),D(`button`,{key:0,type:`button`,class:`acu-input-icon-btn`,disabled:e.disabled,"aria-label":`添加附件`,onClick:te},[...n[11]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48`})],-1)]],8,Z_t)):me(``,!0),T(`input`,{ref_key:`fileInputRef`,ref:f,type:`file`,class:`acu-input-file`,accept:S.value.accept,multiple:S.value.multiple,onChange:ne},null,40,Q_t),e.gitBranch?(H(),D(`span`,{key:1,class:`acu-input-chip is-git`,title:e.gitBranch},[n[12]||=x(`<span class="acu-input-chip-icon" aria-hidden="true" data-v-7df93c1b><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-v-7df93c1b><line x1="6" y1="3" x2="6" y2="15" data-v-7df93c1b></line><circle cx="18" cy="6" r="3" data-v-7df93c1b></circle><circle cx="6" cy="18" r="3" data-v-7df93c1b></circle><path d="M18 9a9 9 0 0 1-9 9" data-v-7df93c1b></path></svg></span>`,1),T(`span`,evt,h(e.gitBranch),1)],8,$_t)):me(``,!0),n[17]||=T(`div`,{class:`acu-input-toolbar-spacer`},null,-1),w.value?(H(),D(`div`,{key:2,class:k([`acu-input-usage`,`is-${w.value.level}`]),role:`img`,"aria-label":w.value.summary,tabindex:`0`},[T(`span`,nvt,h(w.value.summary),1),(H(),D(`svg`,rvt,[n[13]||=T(`circle`,{class:`acu-input-usage-track`,cx:`18`,cy:`18`,r:`15`},null,-1),T(`circle`,{class:`acu-input-usage-arc`,cx:`18`,cy:`18`,r:`15`,"stroke-dasharray":w.value.dashArray},null,8,ivt)]))],10,tvt)):me(``,!0),e.model?(H(),D(`span`,{key:3,class:`acu-input-chip is-model`,title:e.model},[n[14]||=T(`span`,{class:`acu-input-chip-icon`,"aria-hidden":`true`},[T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3z`})])],-1),T(`span`,ovt,h(e.model),1)],8,avt)):me(``,!0),!e.generating||e.allowQueue?(H(),D(`button`,{key:4,type:`button`,class:`acu-input-send`,disabled:!M.value||e.disabled,"aria-label":e.generating?O.value.send:`发送`,title:e.generating?O.value.send:`发送`,onClick:R},[...n[15]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`20`,height:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`12`,y1:`19`,x2:`12`,y2:`5`}),T(`polyline`,{points:`5 12 12 5 19 12`})],-1)]],8,svt)):me(``,!0),e.generating?(H(),D(`button`,{key:5,type:`button`,class:`acu-input-send is-stop`,"aria-label":`停止生成`,title:`停止生成`,onClick:n[4]||=e=>i(`stop`)},[...n[16]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`18`,height:`18`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`rect`,{x:`6`,y:`6`,width:`12`,height:`12`,rx:`2.5`})],-1)]])):me(``,!0)])],34))}}),[[`__scopeId`,`data-v-7df93c1b`]]),lvt={class:`acu-bgtasks`},uvt=[`aria-expanded`,`title`],dvt={class:`acu-bgtasks-title`},fvt={class:`acu-bgtasks-count`},pvt={class:`acu-bgtasks-hint`},mvt={key:0,class:`acu-bgtasks-list`},hvt=K9(v({__name:`BackgroundTasks`,props:{toolCalls:{},defaultCollapsed:{type:Boolean,default:!0},labels:{default:void 0}},setup(e){let t=e,n={title:`后台任务`,unit:`项`,expand:`展开`,collapse:`收起`},r=U(()=>({...n,...t.labels})),i=B(!t.defaultCollapsed);return(t,n)=>(H(),D(`div`,lvt,[T(`button`,{type:`button`,class:`acu-bgtasks-head`,"aria-expanded":i.value,title:i.value?r.value.collapse:r.value.expand,onClick:n[0]||=e=>i.value=!i.value},[n[2]||=T(`span`,{class:`acu-bgtasks-dot`,"aria-hidden":`true`},[T(`span`,{class:`acu-bgtasks-dot-core`})],-1),T(`span`,dvt,h(r.value.title),1),T(`span`,fvt,h(e.toolCalls.length)+` `+h(r.value.unit),1),n[3]||=T(`span`,{class:`acu-bgtasks-spacer`},null,-1),T(`span`,pvt,h(i.value?r.value.collapse:r.value.expand),1),(H(),D(`svg`,{class:k([`acu-bgtasks-chevron`,{expanded:i.value}]),viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[...n[1]||=[T(`polyline`,{points:`6 9 12 15 18 9`},null,-1)]],2))],8,uvt),i.value?(H(),D(`div`,mvt,[(H(!0),D(j,null,A(e.toolCalls,e=>(H(),l($9,{key:e.id,"tool-call":e,"expand-background":!1},null,8,[`tool-call`]))),128))])):me(``,!0)]))}}),[[`__scopeId`,`data-v-89b19cf4`]]);function gvt(e){let t=B(!1),n=null;function r(e){t.value=e.matches}return d(()=>{typeof window>`u`||!window.matchMedia||(n=window.matchMedia(`(prefers-color-scheme: dark)`),r(n),n.addEventListener(`change`,r))}),O(()=>{n?.removeEventListener(`change`,r),n=null}),U(()=>{let n=he(e);return n===`auto`?t.value?`dark`:`light`:n})}var _vt=[`data-theme`],vvt={class:`acu-chat-body`},yvt={key:0,class:`acu-chat-question`},bvt={key:0,class:`acu-chat-bgtasks`},xvt={key:1,class:`acu-chat-footer`},Svt=K9(v({__name:`ChatContainer`,props:{messages:{},presetQuestions:{default:()=>[]},welcomeTitle:{default:`你好,有什么可以帮你?`},welcomeDescription:{default:`试着问我任何问题,或选择下方的话题开始对话。`},assistantName:{default:`AI 助手`},assistantAvatar:{default:``},userAvatar:{default:``},showAvatar:{type:Boolean,default:!0},theme:{default:`light`},placeholder:{default:`输入消息,Enter 发送,Shift+Enter 换行`},disabled:{type:Boolean,default:!1},generating:{type:Boolean,default:!1},allowQueue:{type:Boolean,default:!1},queued:{default:()=>[]},queuePaused:{type:Boolean,default:!1},queueLabels:{default:void 0},showInput:{type:Boolean,default:!0},question:{default:null},questionAnswers:{default:()=>[]},questionSubmitting:{type:Boolean,default:!1},questionLabels:{default:void 0},uploadConfig:{default:()=>({})},contextUsage:{default:null},gitBranch:{default:``},model:{default:``},followup:{default:void 0},toolCallsConfig:{default:void 0},planConfig:{default:void 0},backgroundTasks:{type:Boolean,default:!0},backgroundTasksLabels:{default:void 0},fileChangesLabels:{default:void 0},thinkingConfig:{default:void 0},actionsConfig:{default:void 0},messageMetaConfig:{default:void 0},messageRailConfig:{default:void 0},maxWidth:{default:void 0}},emits:[`send`,`retry`,`select`,`followup-select`,`stop`,`unqueue`,`flush-queued`,`answer`],setup(e,{expose:t,emit:n}){let r=e,i=U(()=>r.maxWidth===void 0?void 0:typeof r.maxWidth==`number`?`${r.maxWidth}px`:r.maxWidth),o=U(()=>{let e=new Set,t=[];for(let n of r.messages)for(let r of n.toolCalls||[])r.status!==`background`||e.has(r.id)||(e.add(r.id),t.push(r));return t}),s=n,u=B(null),d=gvt(()=>r.theme);function p(e){s(`send`,e)}function m(e){s(`select`,e)}function h(e,t){s(`followup-select`,e,t);let n=r.followup;(Array.isArray(n)||n?.autoSend!==!1)&&s(`send`,{text:e.prompt,files:[]})}return t({scrollToBottom:e=>u.value?.scrollToBottom(e)}),(t,n)=>(H(),D(`div`,{class:`acu-root acu-chat`,"data-theme":E(d),style:f({"--acu-max-width":i.value})},[T(`div`,vvt,[e.messages.length?(H(),l(b_t,{key:1,ref_key:`listRef`,ref:u,messages:e.messages,"assistant-name":e.assistantName,"assistant-avatar":e.assistantAvatar,"user-avatar":e.userAvatar,"show-avatar":e.showAvatar,followup:e.followup,"tool-calls-config":e.toolCallsConfig,"plan-config":e.planConfig,"thinking-config":e.thinkingConfig,"actions-config":e.actionsConfig,"message-meta-config":e.messageMetaConfig,"message-rail-config":e.messageRailConfig,"ask-user-labels":e.questionLabels,"file-changes-labels":e.fileChangesLabels,onRetry:n[0]||=e=>t.$emit(`retry`,e),onFollowupSelect:h},null,8,[`messages`,`assistant-name`,`assistant-avatar`,`user-avatar`,`show-avatar`,`followup`,`tool-calls-config`,`plan-config`,`thinking-config`,`actions-config`,`message-meta-config`,`message-rail-config`,`ask-user-labels`,`file-changes-labels`])):(H(),l(A_t,{key:0,title:e.welcomeTitle,description:e.welcomeDescription,questions:e.presetQuestions,"max-width":i.value,onSelect:m},null,8,[`title`,`description`,`questions`,`max-width`]))]),a(te,{name:`acu-collapse`},{default:ne(()=>[e.question?(H(),D(`div`,yvt,[a(Pht,{question:e.question.question,options:e.question.options,multiple:e.question.multiple,"allow-free-text":e.question.allowFreeText,submitting:e.questionSubmitting,answers:e.questionAnswers,labels:e.questionLabels,onAnswer:n[1]||=e=>t.$emit(`answer`,e)},null,8,[`question`,`options`,`multiple`,`allow-free-text`,`submitting`,`answers`,`labels`])])):me(``,!0)]),_:1}),e.backgroundTasks&&o.value.length?(H(),D(`div`,bvt,[a(hvt,{"tool-calls":o.value,labels:e.backgroundTasksLabels},null,8,[`tool-calls`,`labels`])])):me(``,!0),e.showInput?(H(),D(`div`,xvt,[a(cvt,{placeholder:e.placeholder,disabled:e.disabled,generating:e.generating,"allow-queue":e.allowQueue,queued:e.queued,"queue-paused":e.queuePaused,"queue-labels":e.queueLabels,"upload-config":e.uploadConfig,"context-usage":e.contextUsage,"git-branch":e.gitBranch,model:e.model,onSend:p,onStop:n[2]||=e=>t.$emit(`stop`),onUnqueue:n[3]||=e=>t.$emit(`unqueue`,e),onFlushQueued:n[4]||=e=>t.$emit(`flush-queued`)},null,8,[`placeholder`,`disabled`,`generating`,`allow-queue`,`queued`,`queue-paused`,`queue-labels`,`upload-config`,`context-usage`,`git-branch`,`model`])])):me(``,!0)],12,_vt))}}),[[`__scopeId`,`data-v-d393753f`]]),Cvt=[`title`,`aria-label`],wvt={class:`acu-conv-rail-text`},Tvt={class:`acu-conv-toolbar`},Evt={class:`acu-conv-toolbar-row`},Dvt=[`title`,`aria-label`],Ovt={key:0,class:`acu-conv-search`},kvt=[`placeholder`,`aria-label`],Avt=[`data-id`],jvt=[`aria-label`,`onKeydown`],Mvt=[`aria-current`,`onClick`,`onDblclick`],Nvt={class:`acu-conv-title`},Pvt={key:0,class:`acu-conv-meta is-generating`},Fvt={key:1,class:`acu-conv-meta`},Ivt={key:0,class:`acu-conv-badge`},Lvt={key:1,class:`acu-conv-meta-text`},Rvt={class:`acu-conv-actions`},zvt=[`title`,`aria-label`,`onClick`],Bvt=[`title`,`aria-label`,`onClick`],Vvt={key:1,class:`acu-conv-empty`},Hvt={key:0,class:`acu-conv-empty-hint`},Uvt=K9(v({__name:`ConversationList`,props:{items:{},activeId:{default:null},loading:{type:Boolean,default:!1},showSearch:{type:Boolean,default:!0},showNew:{type:Boolean,default:!0},compact:{type:Boolean,default:!1},collapsible:{type:Boolean,default:!0},collapsed:{type:Boolean,default:void 0},labels:{default:void 0}},emits:[`select`,`new`,`rename`,`delete`,`update:collapsed`],setup(e,{emit:t}){let n=e,r=t,i=B(!1),a=U(()=>n.collapsed??i.value);function o(e){a.value!==e&&(i.value=e,r(`update:collapsed`,e))}let l={newConversation:`新建会话`,searchPlaceholder:`搜索会话...`,empty:`暂无会话`,emptyHint:`点击上方按钮开始对话`,noResult:`未找到匹配的会话`,loading:`加载会话中...`,rename:`重命名`,delete:`删除`,untitled:`无标题`,collapse:`收起会话列表`,expand:`展开会话列表`},u=U(()=>({...l,...n.labels})),d=B(``),f=U(()=>{let e=d.value.trim().toLowerCase();return e?n.items.filter(t=>`${t.title||``} ${t.searchText||``}`.toLowerCase().includes(e)):n.items}),p=B(null),m=B(``),g=B(null);function _(e){g.value=e||null}function v(e,t){p.value=e,m.value=t||``,s(()=>{var e,t;(e=g.value)==null||e.focus(),(t=g.value)==null||t.select()})}function y(){let e=p.value;if(!e)return;let t=m.value.trim();p.value=null;let i=n.items.find(t=>t.id===e)?.title||``;t&&t!==i&&r(`rename`,e,t)}function b(){p.value=null}let S=B(null);V(()=>n.activeId,async e=>{var t;e&&(await s(),(t=S.value?.querySelector(`[data-id="${CSS.escape(e)}"]`))==null||t.scrollIntoView({block:`nearest`}))});let C=U(()=>f.value.length?``:n.items.length?u.value.noResult:n.loading?u.value.loading:u.value.empty),w=U(()=>!n.items.length&&!n.loading);return(t,n)=>(H(),D(`div`,{class:k([`acu-conv`,{"is-compact":e.compact,"is-collapsed":e.collapsible&&a.value}])},[e.collapsible&&a.value?(H(),D(`button`,{key:0,type:`button`,class:`acu-conv-rail`,title:u.value.expand,"aria-label":u.value.expand,"aria-expanded":!1,onClick:n[0]||=e=>o(!1)},[n[5]||=T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`2`}),T(`line`,{x1:`9`,y1:`4`,x2:`9`,y2:`20`}),T(`polyline`,{points:`13.5 9.5 16 12 13.5 14.5`})],-1),T(`span`,wvt,h(u.value.expand),1)],8,Cvt)):me(``,!0),N(T(`div`,Tvt,[T(`div`,Evt,[e.showNew?(H(),D(`button`,{key:0,type:`button`,class:`acu-conv-new`,onClick:n[1]||=e=>r(`new`)},[n[6]||=T(`svg`,{viewBox:`0 0 24 24`,width:`14`,height:`14`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`line`,{x1:`12`,y1:`5`,x2:`12`,y2:`19`}),T(`line`,{x1:`5`,y1:`12`,x2:`19`,y2:`12`})],-1),T(`span`,null,h(u.value.newConversation),1)])):me(``,!0),e.collapsible?(H(),D(`button`,{key:1,type:`button`,class:`acu-conv-collapse`,title:u.value.collapse,"aria-label":u.value.collapse,"aria-expanded":!0,onClick:n[2]||=e=>o(!0)},[...n[7]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`rect`,{x:`3`,y:`4`,width:`18`,height:`16`,rx:`2`}),T(`line`,{x1:`9`,y1:`4`,x2:`9`,y2:`20`}),T(`polyline`,{points:`16 9.5 13.5 12 16 14.5`})],-1)]],8,Dvt)):me(``,!0)]),e.showSearch?(H(),D(`div`,Ovt,[n[8]||=T(`svg`,{viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[T(`circle`,{cx:`11`,cy:`11`,r:`7`}),T(`line`,{x1:`20`,y1:`20`,x2:`16.2`,y2:`16.2`})],-1),N(T(`input`,{"onUpdate:modelValue":n[3]||=e=>d.value=e,type:`search`,class:`acu-conv-search-input`,placeholder:u.value.searchPlaceholder,"aria-label":u.value.searchPlaceholder},null,8,kvt),[[ce,d.value]])])):me(``,!0)],512),[[ae,!a.value]]),N(T(`ul`,{ref_key:`listRef`,ref:S,class:`acu-conv-list`},[(H(!0),D(j,null,A(f.value,t=>(H(),D(`li`,{key:t.id,class:k([`acu-conv-item`,{"is-active":t.id===e.activeId,"is-editing":p.value===t.id}]),"data-id":t.id},[p.value===t.id?N((H(),D(`input`,{key:0,ref_for:!0,ref:_,"onUpdate:modelValue":n[4]||=e=>m.value=e,type:`text`,class:`acu-conv-rename`,"aria-label":u.value.rename,onKeydown:[ee(z(y,[`prevent`]),[`enter`]),ee(z(b,[`prevent`]),[`esc`])],onBlur:y},null,40,jvt)),[[ce,m.value]]):(H(),D(j,{key:1},[T(`button`,{type:`button`,class:`acu-conv-main`,"aria-current":t.id===e.activeId?`true`:void 0,onClick:e=>r(`select`,t.id,t),onDblclick:e=>v(t.id,t.title)},[T(`span`,Nvt,h(t.title||u.value.untitled),1),t.generatingText?(H(),D(`span`,Pvt,[n[9]||=T(`span`,{class:`acu-conv-dot`,"aria-hidden":`true`},null,-1),T(`span`,null,h(t.generatingText),1)])):t.meta||t.badge?(H(),D(`span`,Fvt,[t.badge?(H(),D(`span`,Ivt,h(t.badge),1)):me(``,!0),t.meta?(H(),D(`span`,Lvt,h(t.meta),1)):me(``,!0)])):me(``,!0)],40,Mvt),T(`span`,Rvt,[T(`button`,{type:`button`,class:`acu-conv-action`,title:u.value.rename,"aria-label":u.value.rename,onClick:e=>v(t.id,t.title)},[...n[10]||=[T(`svg`,{viewBox:`0 0 24 24`,width:`13`,height:`13`,fill:`none`,stroke:`currentColor`,"stroke-width":`1.8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},[T(`path`,{d:`M12 20h9`}),T(`path`,{d:`M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z`})],-1)]],8,zvt),T(`button`,{type:`button`,class:`acu-conv-action`,title:u.value.delete,"aria-label":u.value.delete,onClick:e=>r(`delete`,t.id,t)},[...n[11]||=[x(`<svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" data-v-a2e8f404><polyline points="3 6 5 6 21 6" data-v-a2e8f404></polyline><path d="M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" data-v-a2e8f404></path><path d="M10 11v6M14 11v6" data-v-a2e8f404></path><path d="M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" data-v-a2e8f404></path></svg>`,1)]],8,Bvt)])],64))],10,Avt))),128))],512),[[ae,!a.value]]),C.value&&!a.value?(H(),D(`p`,Vvt,[T(`span`,null,h(C.value),1),w.value?(H(),D(`span`,Hvt,h(u.value.emptyHint),1)):me(``,!0)])):me(``,!0)],2))}}),[[`__scopeId`,`data-v-a2e8f404`]]),Wvt={claude:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(5.43687 4.33024) scale(0.05188)' fill='%23D97757'%3E%3Cpath d='M895.914667 467.157333H1024v132.352h-128v129.194667h-63.445333V853.333333H768v-124.629333h-63.445333V853.333333H640v-124.629333H384V853.333333H319.488v-124.629333H256V853.333333H191.445333v-124.629333H128V599.466667H0v-132.266667h128V213.333333h767.914667v253.824zM256 467.157333h63.488V345.685333H256v121.472z m448.426667 0H768V345.685333h-63.573333v121.472z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,codex:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(10.86293 10.85412) scale(1.76216)' fill='%23000000'%3E%3Cpath d='M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997z'/%3E%3C/g%3E%3C/svg%3E`,kimi:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(11 11) scale(0.04102)'%3E%3Cpath d='M0 0m204.8 0l614.4 0q204.8 0 204.8 204.8l0 614.4q0 204.8-204.8 204.8l-614.4 0q-204.8 0-204.8-204.8l0-614.4q0-204.8 204.8-204.8Z' fill='%23000000'%3E%3C/path%3E%3Cpath d='M827.093333 128a61.525333 61.525333 0 1 1 0 123.072h-54.293333a7.210667 7.210667 0 0 1-7.253333-7.232V189.525333A61.546667 61.546667 0 0 1 827.072 128z' fill='%231783FF'%3E%3C/path%3E%3Cpath d='M482.090667 486.4L714.304 256c4.394667-4.352 1.92-13.12-3.712-13.12H585.6a5.226667 5.226667 0 0 0-3.733333 1.621333l-250.24 248.192c-3.925333 3.84-9.685333 0.426667-9.685334-5.717333V250.24c0-4.053333-2.645333-7.36-5.909333-7.36h-86.08c-3.306667 0-5.952 3.306667-5.952 7.36v510.4c0 4.096 2.645333 7.36 5.952 7.36h86.08c3.306667 0 5.952-3.264 5.952-7.36v-104c0-2.197333 0.789333-4.309333 2.218667-5.696l77.568-76.992a5.056 5.056 0 0 1 6.549333-0.725333l207.488 152.704a245.696 245.696 0 0 0 110.506667 41.045333c3.456 0.384 6.4-3.029333 6.4-7.36v-97.92c0-3.733333-2.24-6.784-5.248-7.253333a160.917333 160.917333 0 0 1-64.874667-25.813334l-179.626667-130.069333c-3.733333-2.496-4.202667-8.917333-0.874666-12.181333z' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,opencode:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(8.52129 8.52129) scale(0.04586)'%3E%3Cpath d='M716.8 819.2H307.2V409.6h409.6v409.6z' fill='%23CFCECD'%3E%3C/path%3E%3Cpath d='M716.8 204.8H307.2v614.4h409.6V204.8z m204.8 819.2H102.4V0h819.2v1024z' fill='%23211E1E'%3E%3C/path%3E%3C/g%3E%3C/svg%3E`,zcode:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(8.68048 8.68825) scale(1.55412)'%3E%3Cpath d='M24.51,28.51H5.49c-2.21,0-4-1.79-4-4V5.49c0-2.21,1.79-4,4-4h19.03c2.21,0,4,1.79,4,4v19.03C28.51,26.72,26.72,28.51,24.51,28.51z' fill='%232D2D2D' stroke='%23FFFFFF' stroke-width='0.6' stroke-miterlimit='10'/%3E %3Cpath d='M15.47,7.1l-1.3,1.85c-0.2,0.29-0.54,0.47-0.9,0.47h-7.1V7.09C6.16,7.1,15.47,7.1,15.47,7.1z' fill='%23FFFFFF'/%3E %3Cpolygon points='24.3,7.1 13.14,22.91 5.7,22.91 16.86,7.1' fill='%23FFFFFF'/%3E %3Cpath d='M14.53,22.91l1.31-1.86c0.2-0.29,0.54-0.47,0.9-0.47h7.09v2.33H14.53z' fill='%23FFFFFF'/%3E%3C/g%3E%3C/svg%3E`,openai:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(10.86293 10.85412) scale(1.76216)' fill='%23000000'%3E%3Ctitle%3EOpenAI%3C/title%3E%3Cpath d='M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z'/%3E%3C/g%3E%3C/svg%3E`,gemini:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(11 11) scale(1.75)' fill='%234285F4'%3E%3Ctitle%3EGoogle Gemini%3C/title%3E%3Cpath d='M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81'/%3E%3C/g%3E%3C/svg%3E`,mistral:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(7.15039 7.15039) scale(2.0708)' fill='%23FA520F'%3E%3Ctitle%3EMistral AI%3C/title%3E%3Cpath d='M17.143 3.429v3.428h-3.429v3.429h-3.428V6.857H6.857V3.43H3.43v13.714H0v3.428h10.286v-3.428H6.857v-3.429h3.429v3.429h3.429v-3.429h3.428v3.429h-3.428v3.428H24v-3.428h-3.43V3.429z'/%3E%3C/g%3E%3C/svg%3E`,copilot:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.01862 9.01862) scale(1.91511)' fill='%23000000'%3E%3Ctitle%3EGitHub Copilot%3C/title%3E%3Cpath d='M23.922 16.997C23.061 18.492 18.063 22.02 12 22.02 5.937 22.02.939 18.492.078 16.997A.641.641 0 0 1 0 16.741v-2.869a.883.883 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.098 10.098 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952C7.255 2.937 9.248 1.98 11.978 1.98c2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.841.841 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256Zm-11.75-5.992h-.344a4.359 4.359 0 0 1-.355.508c-.77.947-1.918 1.492-3.508 1.492-1.725 0-2.989-.359-3.782-1.259a2.137 2.137 0 0 1-.085-.104L4 11.746v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.359 4.359 0 0 1-.355-.508Zm2.328 3.25c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm-5 0c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm3.313-6.185c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z'/%3E%3C/g%3E%3C/svg%3E`,cursor:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.58206 9.58206) scale(1.86816)' fill='%23000000'%3E%3Ctitle%3ECursor%3C/title%3E%3Cpath d='M11.503.131 1.891 5.678a.84.84 0 0 0-.42.726v11.188c0 .3.162.575.42.724l9.609 5.55a1 1 0 0 0 .998 0l9.61-5.55a.84.84 0 0 0 .42-.724V6.404a.84.84 0 0 0-.42-.726L12.497.131a1.01 1.01 0 0 0-.996 0M2.657 6.338h18.55c.263 0 .43.287.297.515L12.23 22.918c-.062.107-.229.064-.229-.06V12.335a.59.59 0 0 0-.295-.51l-9.11-5.257c-.109-.063-.064-.23.061-.23'/%3E%3C/g%3E%3C/svg%3E`,perplexity:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.44238 9.44238) scale(1.8798)' fill='%231FB8CC'%3E%3Ctitle%3EPerplexity%3C/title%3E%3Cpath d='M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z'/%3E%3C/g%3E%3C/svg%3E`,ollama:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(7.85835 7.85835) scale(2.0118)' fill='%23000000'%3E%3Ctitle%3EOllama%3C/title%3E%3Cpath d='M16.361 10.26a.894.894 0 0 0-.558.47l-.072.148.001.207c0 .193.004.217.059.353.076.193.152.312.291.448.24.238.51.3.872.205a.86.86 0 0 0 .517-.436.752.752 0 0 0 .08-.498c-.064-.453-.33-.782-.724-.897a1.06 1.06 0 0 0-.466 0zm-9.203.005c-.305.096-.533.32-.65.639a1.187 1.187 0 0 0-.06.52c.057.309.31.59.598.667.362.095.632.033.872-.205.14-.136.215-.255.291-.448.055-.136.059-.16.059-.353l.001-.207-.072-.148a.894.894 0 0 0-.565-.472 1.02 1.02 0 0 0-.474.007Zm4.184 2c-.131.071-.223.25-.195.383.031.143.157.288.353.407.105.063.112.072.117.136.004.038-.01.146-.029.243-.02.094-.036.194-.036.222.002.074.07.195.143.253.064.052.076.054.255.059.164.005.198.001.264-.03.169-.082.212-.234.15-.525-.052-.243-.042-.28.087-.355.137-.08.281-.219.324-.314a.365.365 0 0 0-.175-.48.394.394 0 0 0-.181-.033c-.126 0-.207.03-.355.124l-.085.053-.053-.032c-.219-.13-.259-.145-.391-.143a.396.396 0 0 0-.193.032zm.39-2.195c-.373.036-.475.05-.654.086-.291.06-.68.195-.951.328-.94.46-1.589 1.226-1.787 2.114-.04.176-.045.234-.045.53 0 .294.005.357.043.524.264 1.16 1.332 2.017 2.714 2.173.3.033 1.596.033 1.896 0 1.11-.125 2.064-.727 2.493-1.571.114-.226.169-.372.22-.602.039-.167.044-.23.044-.523 0-.297-.005-.355-.045-.531-.288-1.29-1.539-2.304-3.072-2.497a6.873 6.873 0 0 0-.855-.031zm.645.937a3.283 3.283 0 0 1 1.44.514c.223.148.537.458.671.662.166.251.26.508.303.82.02.143.01.251-.043.482-.08.345-.332.705-.672.957a3.115 3.115 0 0 1-.689.348c-.382.122-.632.144-1.525.138-.582-.006-.686-.01-.853-.042-.57-.107-1.022-.334-1.35-.68-.264-.28-.385-.535-.45-.946-.03-.192.025-.509.137-.776.136-.326.488-.73.836-.963.403-.269.934-.46 1.422-.512.187-.02.586-.02.773-.002zm-5.503-11a1.653 1.653 0 0 0-.683.298C5.617.74 5.173 1.666 4.985 2.819c-.07.436-.119 1.04-.119 1.503 0 .544.064 1.24.155 1.721.02.107.031.202.023.208a8.12 8.12 0 0 1-.187.152 5.324 5.324 0 0 0-.949 1.02 5.49 5.49 0 0 0-.94 2.339 6.625 6.625 0 0 0-.023 1.357c.091.78.325 1.438.727 2.04l.13.195-.037.064c-.269.452-.498 1.105-.605 1.732-.084.496-.095.629-.095 1.294 0 .67.009.803.088 1.266.095.555.288 1.143.503 1.534.071.128.243.393.264.407.007.003-.014.067-.046.141a7.405 7.405 0 0 0-.548 1.873c-.062.417-.071.552-.071.991 0 .56.031.832.148 1.279L3.42 24h1.478l-.05-.091c-.297-.552-.325-1.575-.068-2.597.117-.472.25-.819.498-1.296l.148-.29v-.177c0-.165-.003-.184-.057-.293a.915.915 0 0 0-.194-.25 1.74 1.74 0 0 1-.385-.543c-.424-.92-.506-2.286-.208-3.451.124-.486.329-.918.544-1.154a.787.787 0 0 0 .223-.531c0-.195-.07-.355-.224-.522a3.136 3.136 0 0 1-.817-1.729c-.14-.96.114-2.005.69-2.834.563-.814 1.353-1.336 2.237-1.475.199-.033.57-.028.776.01.226.04.367.028.512-.041.179-.085.268-.19.374-.431.093-.215.165-.333.36-.576.234-.29.46-.489.822-.729.413-.27.884-.467 1.352-.561.17-.035.25-.04.569-.04.319 0 .398.005.569.04a4.07 4.07 0 0 1 1.914.997c.117.109.398.457.488.602.034.057.095.177.132.267.105.241.195.346.374.43.14.068.286.082.503.045.343-.058.607-.053.943.016 1.144.23 2.14 1.173 2.581 2.437.385 1.108.276 2.267-.296 3.153-.097.15-.193.27-.333.419-.301.322-.301.722-.001 1.053.493.539.801 1.866.708 3.036-.062.772-.26 1.463-.533 1.854a2.096 2.096 0 0 1-.224.258.916.916 0 0 0-.194.25c-.054.109-.057.128-.057.293v.178l.148.29c.248.476.38.823.498 1.295.253 1.008.231 2.01-.059 2.581a.845.845 0 0 0-.044.098c0 .006.329.009.732.009h.73l.02-.074.036-.134c.019-.076.057-.3.088-.516.029-.217.029-1.016 0-1.258-.11-.875-.295-1.57-.597-2.226-.032-.074-.053-.138-.046-.141.008-.005.057-.074.108-.152.376-.569.607-1.284.724-2.228.031-.26.031-1.378 0-1.628-.083-.645-.182-1.082-.348-1.525a6.083 6.083 0 0 0-.329-.7l-.038-.064.131-.194c.402-.604.636-1.262.727-2.04a6.625 6.625 0 0 0-.024-1.358 5.512 5.512 0 0 0-.939-2.339 5.325 5.325 0 0 0-.95-1.02 8.097 8.097 0 0 1-.186-.152.692.692 0 0 1 .023-.208c.208-1.087.201-2.443-.017-3.503-.19-.924-.535-1.658-.98-2.082-.354-.338-.716-.482-1.15-.455-.996.059-1.8 1.205-2.116 3.01a6.805 6.805 0 0 0-.097.726c0 .036-.007.066-.015.066a.96.96 0 0 1-.149-.078A4.857 4.857 0 0 0 12 3.03c-.832 0-1.687.243-2.456.698a.958.958 0 0 1-.148.078c-.008 0-.015-.03-.015-.066a6.71 6.71 0 0 0-.097-.725C8.997 1.392 8.337.319 7.46.048a2.096 2.096 0 0 0-.585-.041Zm.293 1.402c.248.197.523.759.682 1.388.03.113.06.244.069.292.007.047.026.152.041.233.067.365.098.76.102 1.24l.002.475-.12.175-.118.178h-.278c-.324 0-.646.041-.954.124l-.238.06c-.033.007-.038-.003-.057-.144a8.438 8.438 0 0 1 .016-2.323c.124-.788.413-1.501.696-1.711.067-.05.079-.049.157.013zm9.825-.012c.17.126.358.46.498.888.28.854.36 2.028.212 3.145-.019.14-.024.151-.057.144l-.238-.06a3.693 3.693 0 0 0-.954-.124h-.278l-.119-.178-.119-.175.002-.474c.004-.669.066-1.19.214-1.772.157-.623.434-1.185.68-1.382.078-.062.09-.063.159-.012z'/%3E%3C/g%3E%3C/svg%3E`,huggingface:`data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' width='64' height='64'%3E%3Crect width='64' height='64' fill='%23ffffff'/%3E%3Cg transform='translate(9.93545 9.93545) scale(1.83871)' fill='%23FFD21E'%3E%3Ctitle%3EHugging Face%3C/title%3E%3Cpath d='M12.025 1.13c-5.77 0-10.449 4.647-10.449 10.378 0 1.112.178 2.181.503 3.185.064-.222.203-.444.416-.577a.96.96 0 0 1 .524-.15c.293 0 .584.124.84.284.278.173.48.408.71.694.226.282.458.611.684.951v-.014c.017-.324.106-.622.264-.874s.403-.487.762-.543c.3-.047.596.06.787.203s.31.313.4.467c.15.257.212.468.233.542.01.026.653 1.552 1.657 2.54.616.605 1.01 1.223 1.082 1.912.055.537-.096 1.059-.38 1.572.637.121 1.294.187 1.967.187.657 0 1.298-.063 1.921-.178-.287-.517-.44-1.041-.384-1.581.07-.69.465-1.307 1.081-1.913 1.004-.987 1.647-2.513 1.657-2.539.021-.074.083-.285.233-.542.09-.154.208-.323.4-.467a1.08 1.08 0 0 1 .787-.203c.359.056.604.29.762.543s.247.55.265.874v.015c.225-.34.457-.67.683-.952.23-.286.432-.52.71-.694.257-.16.547-.284.84-.285a.97.97 0 0 1 .524.151c.228.143.373.388.43.625l.006.04a10.3 10.3 0 0 0 .534-3.273c0-5.731-4.678-10.378-10.449-10.378M8.327 6.583a1.5 1.5 0 0 1 .713.174 1.487 1.487 0 0 1 .617 2.013c-.183.343-.762-.214-1.102-.094-.38.134-.532.914-.917.71a1.487 1.487 0 0 1 .69-2.803m7.486 0a1.487 1.487 0 0 1 .689 2.803c-.385.204-.536-.576-.916-.71-.34-.12-.92.437-1.103.094a1.487 1.487 0 0 1 .617-2.013 1.5 1.5 0 0 1 .713-.174m-10.68 1.55a.96.96 0 1 1 0 1.921.96.96 0 0 1 0-1.92m13.838 0a.96.96 0 1 1 0 1.92.96.96 0 0 1 0-1.92M8.489 11.458c.588.01 1.965 1.157 3.572 1.164 1.607-.007 2.984-1.155 3.572-1.164.196-.003.305.12.305.454 0 .886-.424 2.328-1.563 3.202-.22-.756-1.396-1.366-1.63-1.32q-.011.001-.02.006l-.044.026-.01.008-.03.024q-.018.017-.035.036l-.032.04a1 1 0 0 0-.058.09l-.014.025q-.049.088-.11.19a1 1 0 0 1-.083.116 1.2 1.2 0 0 1-.173.18q-.035.029-.075.058a1.3 1.3 0 0 1-.251-.243 1 1 0 0 1-.076-.107c-.124-.193-.177-.363-.337-.444-.034-.016-.104-.008-.2.022q-.094.03-.216.087-.06.028-.125.063l-.13.074q-.067.04-.136.086a3 3 0 0 0-.135.096 3 3 0 0 0-.26.219 2 2 0 0 0-.12.121 2 2 0 0 0-.106.128l-.002.002a2 2 0 0 0-.09.132l-.001.001a1.2 1.2 0 0 0-.105.212q-.013.036-.024.073c-1.139-.875-1.563-2.317-1.563-3.203 0-.334.109-.457.305-.454m.836 10.354c.824-1.19.766-2.082-.365-3.194-1.13-1.112-1.789-2.738-1.789-2.738s-.246-.945-.806-.858-.97 1.499.202 2.362c1.173.864-.233 1.45-.685.64-.45-.812-1.683-2.896-2.322-3.295s-1.089-.175-.938.647 2.822 2.813 2.562 3.244-1.176-.506-1.176-.506-2.866-2.567-3.49-1.898.473 1.23 2.037 2.16c1.564.932 1.686 1.178 1.464 1.53s-3.675-2.511-4-1.297c-.323 1.214 3.524 1.567 3.287 2.405-.238.839-2.71-1.587-3.216-.642-.506.946 3.49 2.056 3.522 2.064 1.29.33 4.568 1.028 5.713-.624m5.349 0c-.824-1.19-.766-2.082.365-3.194 1.13-1.112 1.789-2.738 1.789-2.738s.246-.945.806-.858.97 1.499-.202 2.362c-1.173.864.233 1.45.685.64.451-.812 1.683-2.896 2.322-3.295s1.089-.175.938.647-2.822 2.813-2.562 3.244 1.176-.506 1.176-.506 2.866-2.567 3.49-1.898-.473 1.23-2.037 2.16c-1.564.932-1.686 1.178-1.464 1.53s3.675-2.511 4-1.297c.323 1.214-3.524 1.567-3.287 2.405.238.839 2.71-1.587 3.216-.642.506.946-3.49 2.056-3.522 2.064-1.29.33-4.568 1.028-5.713-.624'/%3E%3C/g%3E%3C/svg%3E`};function Gvt(e){return e&&(Wvt[e]??e)}export{Tte as C,wte as S,Ao as _,D9 as a,wi as b,Svt as c,SBe as d,eue as f,zse as g,Ose as h,q9 as i,Z9 as l,ele as m,Gvt as n,mmt as o,Kle as p,Uvt as r,Xmt as s,cvt as t,d9e as u,Oo as v,mte as x,Kre as y};
|